diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 8349d412a70..fea3b6be721 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -12,7 +12,7 @@ --- # TODO(yannic): Ideally, we should also enable buildifier and all platforms should test `//...`. tasks: - ubuntu1804: + ubuntu2004: build_targets: - //:all - //src/proto/... diff --git a/.bazelversion b/.bazelversion index 91e4a9f2622..19b860c1872 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -6.3.2 +6.4.0 diff --git a/.clang-tidy b/.clang-tidy index 03f4fcd290f..32eed8a70e6 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,15 +1,24 @@ --- # Note on checks are disabled on purpose # +# - abseil-cleanup-ctad +# Requires C++17 and higher. +# # - abseil-no-namespace # https://bugs.llvm.org/show_bug.cgi?id=47947 # +# - bugprone-exception-escape +# https://github.com/llvm/llvm-project/issues/54668 (seems to be fixed in LLVM17) +# # - bugprone-reserved-identifier # Some macros need to be defined for portability purpose; e.g. _BSD_SOURCE. # # - modernize-redundant-void-arg # Some source should be strictly C99 and func(void) should be used. # +# - google-readability-casting +# https://github.com/llvm/llvm-project/issues/57959 +# # Note on checks which will be enabled in future. These are good to have but # it's not activated yet due to the existing issues with the checks. # Once those issues are clear, these checks can be enabled later. @@ -23,6 +32,7 @@ # - bugprone-not-null-terminated-result # - bugprone-signed-char-misuse # - bugprone-sizeof-expression +# - bugprone-switch-missing-default-case # - bugprone-too-small-loop-variable # - bugprone-unchecked-optional-access # - clang-diagnostic-deprecated-declarations @@ -41,21 +51,27 @@ # - modernize-use-equals-default # - modernize-use-equals-delete # - modernize-use-using +# - performance-avoid-endl # - performance-no-automatic-move # - performance-no-int-to-ptr +# - performance-noexcept-swap # - performance-unnecessary-copy-initialization # - performance-unnecessary-value-param # - readability-else-after-return # - readability-implicit-bool-conversion # - readability-redundant-declaration +# - readability-redundant-string-cstr # Checks: '-*, abseil-*, + -abseil-cleanup-ctad, -abseil-no-namespace, bugprone-*, -bugprone-assignment-in-if-condition, -bugprone-branch-clone, -bugprone-easily-swappable-parameters, + -bugprone-empty-catch, + -bugprone-exception-escape, -bugprone-implicit-widening-of-multiplication-result, -bugprone-infinite-loop, -bugprone-narrowing-conversions, @@ -63,16 +79,21 @@ Checks: '-*, -bugprone-reserved-identifier, -bugprone-signed-char-misuse, -bugprone-sizeof-expression, + -bugprone-switch-missing-default-case, -bugprone-too-small-loop-variable, -bugprone-unchecked-optional-access, google-*, + -google-readability-casting, -google-runtime-int, -google-runtime-references, performance-*, + -performance-avoid-endl, -performance-no-automatic-move, -performance-no-int-to-ptr, + -performance-noexcept-swap, -performance-unnecessary-copy-initialization, -performance-unnecessary-value-param, + clang-diagnostic-deprecated-declarations, clang-diagnostic-deprecated-register, clang-diagnostic-expansion-to-defined, clang-diagnostic-ignored-attributes, @@ -120,7 +141,7 @@ Checks: '-*, readability-redundant-control-flow, readability-redundant-function-ptr-dereference, readability-redundant-smartptr-get, - readability-redundant-string-cstr, + -readability-redundant-string-cstr, readability-redundant-string-init, readability-simplify-boolean-expr, readability-static-definition-in-anonymous-namespace, diff --git a/.gitattributes b/.gitattributes index a728caf89a0..3d72aae39fd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,5 @@ -src/core/ext/upb-generated/** linguist-generated=true -src/core/ext/upbdefs-generated/** linguist-generated=true +src/core/ext/upb-gen/** linguist-generated=true +src/core/ext/upbdefs-gen/** linguist-generated=true Makefile linguist-generated=true BUILD.gn linguist-generated=true CMakeLists.txt linguist-generated=true @@ -36,4 +36,4 @@ src/core/lib/debug/stats_data.cc linguist-generated=true src/core/lib/experiments/experiments.h linguist-generated=true src/core/lib/experiments/experiments.cc linguist-generated=true bazel/experiments.bzl linguist-generated=true -test/cpp/microbenchmarks/huffman_geometries/** linguist-generated=true \ No newline at end of file +test/cpp/microbenchmarks/huffman_geometries/** linguist-generated=true diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a4f4dbab214..14a883c7cdc 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,11 +1,11 @@ -# Auto-generated by the tools/mkowners/mkowners.py tool -# Uses OWNERS files in different modules throughout the -# repository as the source of truth for module ownership. /**/OWNERS @markdroth @a11r -/bazel/** @jtattermusch @veblush @gnossen -/cmake/** @jtattermusch @apolcyn +/bazel/** @veblush @gnossen +/bazel/experiments.yaml +/cmake/** @veblush @apolcyn /src/core/ext/filters/client_channel/** @markdroth +/src/core/ext/transport/chttp2/transport/** @ctiller /src/core/ext/xds/** @markdroth /src/core/lib/resolver/** @markdroth /src/core/lib/service_config/** @markdroth -/tools/dockerfile/** @jtattermusch @apolcyn +/tools/dockerfile/** @drfloob @apolcyn @gnossen +/tools/run_tests/xds_k8s_test_driver/** @sergiitk @XuanWang-Amos @gnossen diff --git a/.github/ISSUE_TEMPLATE/bug_report_csharp.md b/.github/ISSUE_TEMPLATE/bug_report_csharp.md index e8317fa5678..7fcf3c46d31 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_csharp.md +++ b/.github/ISSUE_TEMPLATE/bug_report_csharp.md @@ -2,7 +2,7 @@ name: Report a gRPC C# bug about: Create a report to help us improve labels: kind/bug, priority/P2, lang/C# -assignees: jtattermusch +assignees: apolcyn --- diff --git a/.github/ISSUE_TEMPLATE/feature_request_csharp.md b/.github/ISSUE_TEMPLATE/feature_request_csharp.md index e91d06eb4ca..5428d1f9658 100644 --- a/.github/ISSUE_TEMPLATE/feature_request_csharp.md +++ b/.github/ISSUE_TEMPLATE/feature_request_csharp.md @@ -2,7 +2,7 @@ name: Request a gRPC C# feature about: Suggest an idea for this project labels: kind/enhancement, priority/P2, lang/C# -assignees: jtattermusch +assignees: apolcyn --- diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000000..322a2b6ea8f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + groups: + github-actions: + patterns: + - "*" diff --git a/.github/labeler.yml b/.github/labeler.yml index 8eb57f336e1..b0070de6337 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,60 +1,65 @@ lang/core: -- src/abseil-cpp/** -- src/boringssl/** -- src/c-ares/** -- src/core/** -- src/proto/** -- src/re2/** -- src/upb/** -- src/zlib/** -- include/grpc/** -- test/core/** -- tools/codegen/core/** - + - changed-files: + - any-glob-to-any-file: + - src/abseil-cpp/** + - src/boringssl/** + - src/c-ares/** + - src/core/** + - src/proto/** + - src/re2/** + - src/upb/** + - src/zlib/** + - include/grpc/** + - test/core/** + - tools/codegen/core/** lang/c++: -- examples/cpp/** -- src/cpp/** -- include/grpc++/** -- include/grpcpp/** -- test/cpp/** - + - changed-files: + - any-glob-to-any-file: + - examples/cpp/** + - src/cpp/** + - include/grpc++/** + - include/grpcpp/** + - test/cpp/** area/infra: -- .github/** - + - changed-files: + - any-glob-to-any-file: + - .github/** lang/node: -- examples/node/** -- src/compiler/node* - + - changed-files: + - any-glob-to-any-file: + - examples/node/** + - src/compiler/node* lang/ObjC: -- examples/objective-c/** -- src/compiler/objective_c* -- src/objective-c/** - + - changed-files: + - any-glob-to-any-file: + - examples/objective-c/** + - src/compiler/objective_c* + - src/objective-c/** lang/php: -- examples/php/** -- src/compiler/php* -- src/php/** - + - changed-files: + - any-glob-to-any-file: + - examples/php/** + - src/compiler/php* + - src/php/** lang/python: -- bazel/python_rules.bzl -- examples/python/** -- requirements.bazel.txt -- src/compiler/python* -- any: - - src/python/** - - "!src/python/grpcio/grpc_core_dependencies.py" - + - changed-files: + - any-glob-to-any-file: + - bazel/python_rules.bzl + - examples/python/** + - requirements.bazel.txt + - src/compiler/python* + - all-globs-to-any-file: + - src/python/** + - '!src/python/grpcio/grpc_core_dependencies.py' + - '!src/python/grpcio_observability/observability_lib_deps.py' lang/ruby: -- examples/ruby/** -- src/compiler/ruby* -- src/ruby/** - -"lang/C#": -- src/compiler/csharp* -- src/csharp/** - -"disposition/Needs Internal Changes": -- src/core/lib/event_engine/windows/** -- src/core/lib/gpr/windows/** -- src/core/lib/gprpp/windows/** -- test/core/event_engine/windows/** + - changed-files: + - any-glob-to-any-file: + - examples/ruby/** + - src/compiler/ruby* + - src/ruby/** +'lang/C#': + - changed-files: + - any-glob-to-any-file: + - src/compiler/csharp* + - src/csharp/** diff --git a/.github/workflows/pr-auto-fix.yaml b/.github/workflows/pr-auto-fix.yaml index 573de52d9cb..13511d3c86c 100644 --- a/.github/workflows/pr-auto-fix.yaml +++ b/.github/workflows/pr-auto-fix.yaml @@ -12,17 +12,17 @@ jobs: steps: # Cache bazel build - name: Get current time - uses: srfrnk/current-time@master + uses: srfrnk/current-time@5a4163ad035ccd9a407ec9e519c3b6ba1b633d1e # v1.1.0 id: current-time with: format: YYYYWW - name: Get current time - uses: srfrnk/current-time@master + uses: srfrnk/current-time@5a4163ad035ccd9a407ec9e519c3b6ba1b633d1e # v1.1.0 id: current-time-with-day with: format: YYYYWWd - name: Cache bazel - uses: actions/cache@v3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 env: cache-name: bazel-cache with: @@ -38,18 +38,19 @@ jobs: # Cancel current runs if they're still running # (saves processing on fast pushes) - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.9.1 + uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1 with: access_token: ${{ github.token }} # Allow opt-out for some users - name: Should I Stay Or Should I Go - uses: actions/github-script@v4 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 id: check with: script: | // If you'd like not to run this code on your commits, add your github user id here: - NO_AUTOFIX_USERS = [] + NO_AUTOFIX_USERS = ["copybara-service[bot]"] const { owner, repo } = context.repo + console.log("Actor: " + context.actor); if (NO_AUTOFIX_USERS.includes(context.actor)) { console.log('Cancelling'); const run_id = "${{ github.run_id }}"; @@ -65,7 +66,7 @@ jobs: run: test "${{ steps.check.outputs.result }}" = "stay" # Setup to run sanity suite - name: Install Python Interpreter - uses: actions/setup-python@v4 + uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 with: python-version: 3.8 - name: Install Python Packages @@ -74,7 +75,7 @@ jobs: sudo apt-get update sudo apt-get install python3-dev - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: submodules: True - name: Get the upstream code @@ -89,7 +90,7 @@ jobs: run: ANDROID_NDK_HOME= ${{ github.workspace }}/tools/distrib/sanitize.sh # Report back with a PR if things are broken - name: Create Pull Request - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@b1ddad2c994a25fbc81a28b3ec0e368bb2021c50 # v6.0.0 with: delete-branch: true branch-suffix: short-commit-hash diff --git a/.github/workflows/pr-auto-tag-and-check-title.yaml b/.github/workflows/pr-auto-tag-and-check-title.yaml deleted file mode 100644 index 2bd85cf3034..00000000000 --- a/.github/workflows/pr-auto-tag-and-check-title.yaml +++ /dev/null @@ -1,32 +0,0 @@ -name: PR Title Check & Tag -on: - pull_request_target: - types: [opened, reopened, synchronize, edited] -permissions: - contents: read # to determine modified files (actions/labeler) - -jobs: - triage: - permissions: - contents: read # to determine modified files (actions/labeler) - pull-requests: write # to add labels to PRs (actions/labeler) - - runs-on: ubuntu-latest - steps: - - uses: actions/labeler@v3 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" - sync-labels: "" - - title-check: - permissions: - contents: read - pull-requests: write - - runs-on: ubuntu-latest - steps: - - uses: thehanimo/pr-title-checker@v1.3.5 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - pass_on_octokit_error: false - configuration_path: ".github/pr_title_checker_config.json" diff --git a/.github/workflows/pr-auto-tag.yaml b/.github/workflows/pr-auto-tag.yaml new file mode 100644 index 00000000000..d59ef6aabd7 --- /dev/null +++ b/.github/workflows/pr-auto-tag.yaml @@ -0,0 +1,19 @@ +name: PR Auto Tag +on: + pull_request_target: + types: [opened, reopened, synchronize, edited] +permissions: + contents: read # to determine modified files (actions/labeler) + +jobs: + triage: + permissions: + contents: read # to determine modified files (actions/labeler) + pull-requests: write # to add labels to PRs (actions/labeler) + + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: false diff --git a/.github/workflows/psm-interop.yaml b/.github/workflows/psm-interop.yaml deleted file mode 100644 index ddbce2fbcdb..00000000000 --- a/.github/workflows/psm-interop.yaml +++ /dev/null @@ -1,73 +0,0 @@ -name: PSM Interop - -on: - pull_request: - push: - branches: - - master - -permissions: - contents: read - -jobs: - unittest: - # By default, only version is printed out in parens, e.g. "unittest (3.10)" - # This changes it to "unittest (python3.10)" - name: "unittest (python${{ matrix.python_version }})" - runs-on: ubuntu-latest - strategy: - matrix: - python_version: ["3.9", "3.10", "3.11"] - fail-fast: false - permissions: - pull-requests: read # Used by paths-filter to read the diff. - defaults: - run: - working-directory: 'tools/run_tests/xds_k8s_test_driver' - - steps: - - uses: actions/checkout@v3 - - # To add this job to required GitHub checks, it's not enough to use - # the on.pull_request.paths filter. For required checks, the job needs to - # return the success status, and not be skipped. - # Using paths-filter action, we skip the setup/test steps when psm interop - # files are unchanged, and the job returns success. - - uses: dorny/paths-filter@v2 - id: paths_filter - with: - filters: | - psm_interop_src: - - 'tools/run_tests/xds_k8s_test_driver/**' - - 'src/proto/grpc/testing/empty.proto' - - 'src/proto/grpc/testing/messages.proto' - - 'src/proto/grpc/testing/test.proto' - - - uses: actions/setup-python@v4 - if: ${{ steps.paths_filter.outputs.psm_interop_src == 'true' }} - with: - python-version: "${{ matrix.python_version }}" - cache: 'pip' - cache-dependency-path: 'tools/run_tests/xds_k8s_test_driver/requirements.lock' - - - name: "Install requirements" - if: ${{ steps.paths_filter.outputs.psm_interop_src == 'true' }} - run: | - pip list - pip install --upgrade pip setuptools - pip list - pip install -r requirements.lock - pip list - - - name: "Generate protos" - if: ${{ steps.paths_filter.outputs.psm_interop_src == 'true' }} - run: > - python -m grpc_tools.protoc --proto_path=../../../ - --python_out=. --grpc_python_out=. - src/proto/grpc/testing/empty.proto - src/proto/grpc/testing/messages.proto - src/proto/grpc/testing/test.proto - - - name: "Run unit tests" - if: ${{ steps.paths_filter.outputs.psm_interop_src == 'true' }} - run: python -m tests.unit diff --git a/.gitignore b/.gitignore index bcf82223bee..cce15572a73 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ cython_debug/ dist/ htmlcov/ py3*/ -python_build/ +pyb/ python_pylint_venv/ src/python/grpcio_*/=* src/python/grpcio_*/build/ @@ -181,3 +181,6 @@ iwyu_build/ # fuzzer logs fuzz-*.log +# bazel module files (MODULE.bazel will need to be removed here) +MODULE.bazel +MODULE.bazel.lock diff --git a/.gitmodules b/.gitmodules index da7da59fdd5..99016a3d37d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -47,6 +47,3 @@ # generated file that makes Git consider the submodule dirty. This # state can be ignored for day-to-day development on gRPC. ignore = dirty -[submodule "third_party/upb"] - path = third_party/upb - url = https://github.com/protocolbuffers/upb.git diff --git a/BUILD b/BUILD index bbf5f1e92ee..af9e76174d4 100644 --- a/BUILD +++ b/BUILD @@ -30,8 +30,8 @@ licenses(["reciprocal"]) package( default_visibility = ["//visibility:public"], features = [ - "layering_check", "-parse_headers", + "layering_check", ], ) @@ -211,11 +211,11 @@ config_setting( python_config_settings() # This should be updated along with build_handwritten.yaml -g_stands_for = "generative" # @unused +g_stands_for = "giggle" # @unused -core_version = "35.0.0" # @unused +core_version = "39.0.0" # @unused -version = "1.59.0-dev" # @unused +version = "1.63.0-dev" # @unused GPR_PUBLIC_HDRS = [ "include/grpc/support/alloc.h", @@ -236,6 +236,7 @@ GPR_PUBLIC_HDRS = [ "include/grpc/support/sync_windows.h", "include/grpc/support/thd_id.h", "include/grpc/support/time.h", + "include/grpc/impl/call.h", "include/grpc/impl/codegen/atm.h", "include/grpc/impl/codegen/atm_gcc_atomic.h", "include/grpc/impl/codegen/atm_gcc_sync.h", @@ -254,6 +255,7 @@ GPR_PUBLIC_HDRS = [ GRPC_PUBLIC_HDRS = [ "include/grpc/grpc_audit_logging.h", + "include/grpc/grpc_crl_provider.h", "include/grpc/byte_buffer.h", "include/grpc/byte_buffer_reader.h", "include/grpc/compression.h", @@ -285,6 +287,7 @@ GRPC_PUBLIC_HDRS = [ GRPC_PUBLIC_EVENT_ENGINE_HDRS = [ "include/grpc/event_engine/endpoint_config.h", "include/grpc/event_engine/event_engine.h", + "include/grpc/event_engine/extensible.h", "include/grpc/event_engine/port.h", "include/grpc/event_engine/memory_allocator.h", "include/grpc/event_engine/memory_request.h", @@ -305,7 +308,6 @@ GRPCXX_SRCS = [ "src/cpp/client/create_channel_posix.cc", "src/cpp/common/alarm.cc", "src/cpp/common/channel_arguments.cc", - "src/cpp/common/channel_filter.cc", "src/cpp/common/completion_queue_cc.cc", "src/cpp/common/resource_quota_cc.cc", "src/cpp/common/rpc_method.cc", @@ -332,7 +334,6 @@ GRPCXX_SRCS = [ GRPCXX_HDRS = [ "src/cpp/client/create_channel_internal.h", "src/cpp/client/client_stats_interceptor.h", - "src/cpp/common/channel_filter.h", "src/cpp/server/dynamic_thread_pool.h", "src/cpp/server/external_connection_acceptor_impl.h", "src/cpp/server/health/default_health_check_service.h", @@ -423,6 +424,7 @@ GRPCXX_PUBLIC_HDRS = [ "include/grpcpp/impl/sync.h", "include/grpcpp/resource_quota.h", "include/grpcpp/security/audit_logging.h", + "include/grpcpp/security/tls_crl_provider.h", "include/grpcpp/security/auth_context.h", "include/grpcpp/security/auth_metadata_processor.h", "include/grpcpp/security/credentials.h", @@ -568,12 +570,15 @@ grpc_cc_library( "//src/core:channel_args", "//src/core:channel_init", "//src/core:channel_stack_type", + "//src/core:client_channel_backup_poller", "//src/core:default_event_engine", "//src/core:experiments", "//src/core:forkable", "//src/core:grpc_authorization_base", + "//src/core:http_proxy_mapper", "//src/core:init_internally", "//src/core:posix_event_engine_timer_manager", + "//src/core:service_config_channel_arg_filter", "//src/core:slice", "//src/core:tcp_connect_handshaker", ], @@ -583,7 +588,6 @@ GRPC_XDS_TARGETS = [ "//src/core:grpc_lb_policy_cds", "//src/core:grpc_lb_policy_xds_cluster_impl", "//src/core:grpc_lb_policy_xds_cluster_manager", - "//src/core:grpc_lb_policy_xds_cluster_resolver", "//src/core:grpc_lb_policy_xds_override_host", "//src/core:grpc_lb_policy_xds_wrr_locality", "//src/core:grpc_lb_policy_ring_hash", @@ -651,6 +655,7 @@ grpc_cc_library( "//src/core:channel_args", "//src/core:channel_init", "//src/core:channel_stack_type", + "//src/core:client_channel_backup_poller", "//src/core:default_event_engine", "//src/core:experiments", "//src/core:forkable", @@ -665,11 +670,13 @@ grpc_cc_library( "//src/core:grpc_ssl_credentials", "//src/core:grpc_tls_credentials", "//src/core:grpc_transport_chttp2_alpn", + "//src/core:http_proxy_mapper", "//src/core:httpcli_ssl_credentials", "//src/core:init_internally", "//src/core:json", "//src/core:posix_event_engine_timer_manager", "//src/core:ref_counted", + "//src/core:service_config_channel_arg_filter", "//src/core:slice", "//src/core:slice_refcount", "//src/core:tcp_connect_handshaker", @@ -705,7 +712,6 @@ grpc_cc_library( "//src/core:lib/gpr/windows/sync.cc", "//src/core:lib/gpr/windows/time.cc", "//src/core:lib/gpr/windows/tmpfile.cc", - "//src/core:lib/gpr/wrap_memcpy.cc", "//src/core:lib/gprpp/crash.cc", "//src/core:lib/gprpp/fork.cc", "//src/core:lib/gprpp/host_port.cc", @@ -968,6 +974,7 @@ grpc_cc_library( "//src/core:grpc_rbac_engine", "//src/core:json", "//src/core:json_reader", + "//src/core:load_file", "//src/core:slice", "//src/core:slice_refcount", "//src/core:status_helper", @@ -1009,8 +1016,9 @@ grpc_cc_library( "absl/strings", "absl/types:optional", "absl/types:span", - "upb_collections_lib", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", + "upb_message_lib", ], language = "c++", deps = [ @@ -1110,11 +1118,15 @@ grpc_cc_library( "//src/core:channel_args_preconditioning", "//src/core:channel_stack_type", "//src/core:default_event_engine", + "//src/core:error_utils", "//src/core:iomgr_fwd", "//src/core:iomgr_port", + "//src/core:metadata_batch", + "//src/core:notification", "//src/core:slice", "//src/core:slice_refcount", "//src/core:status_helper", + "//src/core:subchannel_connector", "//src/core:transport_fwd", ], ) @@ -1143,6 +1155,7 @@ grpc_cc_library( grpc_cc_library( name = "grpc++_xds_server", srcs = [ + "src/cpp/server/xds_server_builder.cc", "src/cpp/server/xds_server_credentials.cc", ], hdrs = [ @@ -1154,6 +1167,7 @@ grpc_cc_library( ], visibility = ["@grpc:xds"], deps = [ + "channel_arg_names", "gpr", "grpc", "grpc++_base", @@ -1210,8 +1224,9 @@ grpc_cc_library( "include/grpcpp/security/alts_util.h", ], external_deps = [ - "upb_collections_lib", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", + "upb_message_lib", ], language = "c++", standalone = True, @@ -1268,6 +1283,7 @@ grpc_cc_library( tags = [ "nofixdeps", ], + visibility = ["@grpc:event_engine_base_hdrs"], deps = [ "channel_arg_names", "gpr", @@ -1275,22 +1291,138 @@ grpc_cc_library( ) grpc_cc_library( - name = "grpc_base", + name = "channelz", srcs = [ - "//src/core:lib/channel/call_tracer.cc", - "//src/core:lib/channel/channel_stack.cc", - "//src/core:lib/channel/channel_stack_builder_impl.cc", "//src/core:lib/channel/channel_trace.cc", "//src/core:lib/channel/channelz.cc", "//src/core:lib/channel/channelz_registry.cc", - "//src/core:lib/channel/connected_channel.cc", - "//src/core:lib/channel/promise_based_filter.cc", - "//src/core:lib/channel/server_call_tracer_filter.cc", - "//src/core:lib/channel/status_util.cc", - "//src/core:lib/compression/compression.cc", - "//src/core:lib/compression/compression_internal.cc", - "//src/core:lib/compression/message_compress.cc", + ], + hdrs = [ + "//src/core:lib/channel/channel_trace.h", + "//src/core:lib/channel/channelz.h", + "//src/core:lib/channel/channelz_registry.h", + ], + external_deps = [ + "absl/base:core_headers", + "absl/status:statusor", + "absl/strings", + "absl/types:optional", + ], + language = "c++", + deps = [ + "exec_ctx", + "gpr", + "grpc_public_hdrs", + "parse_address", + "ref_counted_ptr", + "sockaddr_utils", + "uri_parser", + "//src/core:channel_args", + "//src/core:connectivity_state", + "//src/core:json", + "//src/core:json_writer", + "//src/core:per_cpu", + "//src/core:ref_counted", + "//src/core:resolved_address", + "//src/core:slice", + "//src/core:time", + "//src/core:useful", + ], +) + +grpc_cc_library( + name = "call_trace", + hdrs = [ + "//src/core:lib/surface/call_trace.h", + ], + language = "c++", + deps = [ + "grpc_trace", + ], +) + +grpc_cc_library( + name = "dynamic_annotations", + hdrs = [ + "//src/core:lib/iomgr/dynamic_annotations.h", + ], + language = "c++", + deps = [ + "gpr_public_hdrs", + ], +) + +grpc_cc_library( + name = "call_combiner", + srcs = [ "//src/core:lib/iomgr/call_combiner.cc", + ], + hdrs = [ + "//src/core:lib/iomgr/call_combiner.h", + ], + external_deps = [ + "absl/container:inlined_vector", + ], + language = "c++", + deps = [ + "dynamic_annotations", + "exec_ctx", + "gpr", + "ref_counted_ptr", + "stats", + "//src/core:closure", + "//src/core:gpr_atm", + "//src/core:ref_counted", + "//src/core:stats_data", + ], +) + +grpc_cc_library( + name = "resource_quota_api", + srcs = [ + "//src/core:lib/resource_quota/api.cc", + ], + hdrs = [ + "//src/core:lib/resource_quota/api.h", + ], + external_deps = [ + "absl/strings", + ], + language = "c++", + visibility = ["@grpc:alt_grpc_base_legacy"], + deps = [ + "channel_arg_names", + "config", + "event_engine_base_hdrs", + "exec_ctx", + "gpr_public_hdrs", + "grpc_public_hdrs", + "ref_counted_ptr", + "//src/core:channel_args", + "//src/core:memory_quota", + "//src/core:resource_quota", + "//src/core:thread_quota", + ], +) + +grpc_cc_library( + name = "byte_buffer", + srcs = [ + "//src/core:lib/surface/byte_buffer.cc", + "//src/core:lib/surface/byte_buffer_reader.cc", + ], + language = "c++", + deps = [ + "exec_ctx", + "gpr_public_hdrs", + "grpc_public_hdrs", + "//src/core:slice", + ], +) + +grpc_cc_library( + name = "iomgr", + srcs = [ "//src/core:lib/iomgr/cfstream_handle.cc", "//src/core:lib/iomgr/dualstack_socket_posix.cc", "//src/core:lib/iomgr/endpoint.cc", @@ -1313,7 +1445,6 @@ grpc_cc_library( "//src/core:lib/iomgr/iomgr_posix.cc", "//src/core:lib/iomgr/iomgr_posix_cfstream.cc", "//src/core:lib/iomgr/iomgr_windows.cc", - "//src/core:lib/iomgr/load_file.cc", "//src/core:lib/iomgr/lockfree_event.cc", "//src/core:lib/iomgr/polling_entity.cc", "//src/core:lib/iomgr/pollset.cc", @@ -1347,35 +1478,6 @@ grpc_cc_library( "//src/core:lib/iomgr/wakeup_fd_nospecial.cc", "//src/core:lib/iomgr/wakeup_fd_pipe.cc", "//src/core:lib/iomgr/wakeup_fd_posix.cc", - "//src/core:lib/resource_quota/api.cc", - "//src/core:lib/slice/b64.cc", - "//src/core:lib/surface/api_trace.cc", - "//src/core:lib/surface/builtins.cc", - "//src/core:lib/surface/byte_buffer.cc", - "//src/core:lib/surface/byte_buffer_reader.cc", - "//src/core:lib/surface/call.cc", - "//src/core:lib/surface/call_details.cc", - "//src/core:lib/surface/call_log_batch.cc", - "//src/core:lib/surface/call_trace.cc", - "//src/core:lib/surface/channel.cc", - "//src/core:lib/surface/channel_ping.cc", - "//src/core:lib/surface/completion_queue.cc", - "//src/core:lib/surface/completion_queue_factory.cc", - "//src/core:lib/surface/event_string.cc", - "//src/core:lib/surface/lame_client.cc", - "//src/core:lib/surface/metadata_array.cc", - "//src/core:lib/surface/server.cc", - "//src/core:lib/surface/validate_metadata.cc", - "//src/core:lib/surface/version.cc", - "//src/core:lib/transport/batch_builder.cc", - "//src/core:lib/transport/connectivity_state.cc", - "//src/core:lib/transport/error_utils.cc", - "//src/core:lib/transport/metadata_batch.cc", - "//src/core:lib/transport/parsed_metadata.cc", - "//src/core:lib/transport/status_conversion.cc", - "//src/core:lib/transport/timeout_encoding.cc", - "//src/core:lib/transport/transport.cc", - "//src/core:lib/transport/transport_op_string.cc", ] + # TODO(vigneshbabu): remove these # These headers used to be vended by this target, but they have to be @@ -1386,22 +1488,8 @@ grpc_cc_library( "//src/core:lib/iomgr/event_engine_shims/tcp_client.cc", ], hdrs = [ - "//src/core:lib/channel/call_finalization.h", - "//src/core:lib/channel/call_tracer.h", - "//src/core:lib/channel/channel_stack.h", - "//src/core:lib/channel/channel_stack_builder_impl.h", - "//src/core:lib/channel/channel_trace.h", - "//src/core:lib/channel/channelz.h", - "//src/core:lib/channel/channelz_registry.h", - "//src/core:lib/channel/connected_channel.h", - "//src/core:lib/channel/promise_based_filter.h", - "//src/core:lib/channel/status_util.h", - "//src/core:lib/compression/compression_internal.h", - "//src/core:lib/compression/message_compress.h", "//src/core:lib/iomgr/block_annotate.h", - "//src/core:lib/iomgr/call_combiner.h", "//src/core:lib/iomgr/cfstream_handle.h", - "//src/core:lib/iomgr/dynamic_annotations.h", "//src/core:lib/iomgr/endpoint.h", "//src/core:lib/iomgr/endpoint_cfstream.h", "//src/core:lib/iomgr/endpoint_pair.h", @@ -1413,7 +1501,6 @@ grpc_cc_library( "//src/core:lib/iomgr/gethostname.h", "//src/core:lib/iomgr/iocp_windows.h", "//src/core:lib/iomgr/iomgr.h", - "//src/core:lib/iomgr/load_file.h", "//src/core:lib/iomgr/lockfree_event.h", "//src/core:lib/iomgr/nameser.h", "//src/core:lib/iomgr/polling_entity.h", @@ -1442,13 +1529,165 @@ grpc_cc_library( "//src/core:lib/iomgr/vsock.h", "//src/core:lib/iomgr/wakeup_fd_pipe.h", "//src/core:lib/iomgr/wakeup_fd_posix.h", - "//src/core:lib/resource_quota/api.h", + ] + + # TODO(vigneshbabu): remove these + # These headers used to be vended by this target, but they have to be + # removed after landing EventEngine. + [ + "//src/core:lib/iomgr/event_engine_shims/closure.h", + "//src/core:lib/iomgr/event_engine_shims/endpoint.h", + "//src/core:lib/iomgr/event_engine_shims/tcp_client.h", + ], + defines = select({ + "systemd": ["HAVE_LIBSYSTEMD"], + "//conditions:default": [], + }), + external_deps = [ + "absl/base:core_headers", + "absl/cleanup", + "absl/container:flat_hash_map", + "absl/container:flat_hash_set", + "absl/container:inlined_vector", + "absl/functional:any_invocable", + "absl/functional:function_ref", + "absl/hash", + "absl/meta:type_traits", + "absl/random", + "absl/status", + "absl/status:statusor", + "absl/strings", + "absl/strings:str_format", + "absl/time", + "absl/types:optional", + "absl/utility", + "madler_zlib", + ], + language = "c++", + linkopts = select({ + "systemd": ["-lsystemd"], + "//conditions:default": [], + }), + public_hdrs = GRPC_PUBLIC_HDRS + GRPC_PUBLIC_EVENT_ENGINE_HDRS, + visibility = ["@grpc:alt_grpc_base_legacy"], + deps = [ + "byte_buffer", + "channel_arg_names", + "config_vars", + "debug_location", + "dynamic_annotations", + "exec_ctx", + "gpr", + "grpc_public_hdrs", + "grpc_trace", + "iomgr_buffer_list", + "iomgr_internal_errqueue", + "iomgr_timer", + "orphanable", + "parse_address", + "ref_counted_ptr", + "resource_quota_api", + "sockaddr_utils", + "stats", + "tcp_tracer", + "//src/core:channel_args", + "//src/core:channel_args_endpoint_config", + "//src/core:closure", + "//src/core:construct_destruct", + "//src/core:context", + "//src/core:default_event_engine", + "//src/core:error", + "//src/core:error_utils", + "//src/core:event_engine_common", + "//src/core:event_engine_extensions", + "//src/core:event_engine_memory_allocator_factory", + "//src/core:event_engine_query_extensions", + "//src/core:event_engine_shim", + "//src/core:event_engine_tcp_socket_utils", + "//src/core:event_engine_trace", + "//src/core:event_log", + "//src/core:experiments", + "//src/core:gpr_atm", + "//src/core:gpr_manual_constructor", + "//src/core:gpr_spinlock", + "//src/core:grpc_sockaddr", + "//src/core:init_internally", + "//src/core:iomgr_fwd", + "//src/core:iomgr_port", + "//src/core:memory_quota", + "//src/core:no_destruct", + "//src/core:per_cpu", + "//src/core:pollset_set", + "//src/core:posix_event_engine_base_hdrs", + "//src/core:posix_event_engine_endpoint", + "//src/core:random_early_detection", + "//src/core:ref_counted", + "//src/core:resolved_address", + "//src/core:resource_quota", + "//src/core:resource_quota_trace", + "//src/core:slice", + "//src/core:slice_buffer", + "//src/core:slice_cast", + "//src/core:slice_refcount", + "//src/core:socket_mutator", + "//src/core:stats_data", + "//src/core:status_flag", + "//src/core:status_helper", + "//src/core:strerror", + "//src/core:thread_quota", + "//src/core:time", + "//src/core:useful", + "//src/core:windows_event_engine", + "//src/core:windows_event_engine_listener", + ], +) + +grpc_cc_library( + name = "grpc_base", + srcs = [ + "//src/core:lib/channel/call_tracer.cc", + "//src/core:lib/channel/channel_stack.cc", + "//src/core:lib/channel/channel_stack_builder_impl.cc", + "//src/core:lib/channel/connected_channel.cc", + "//src/core:lib/channel/promise_based_filter.cc", + "//src/core:lib/channel/server_call_tracer_filter.cc", + "//src/core:lib/channel/status_util.cc", + "//src/core:lib/compression/compression.cc", + "//src/core:lib/compression/message_compress.cc", + "//src/core:lib/slice/b64.cc", + "//src/core:lib/surface/api_trace.cc", + "//src/core:lib/surface/builtins.cc", + "//src/core:lib/surface/call.cc", + "//src/core:lib/surface/call_details.cc", + "//src/core:lib/surface/call_log_batch.cc", + "//src/core:lib/surface/channel.cc", + "//src/core:lib/surface/channel_ping.cc", + "//src/core:lib/surface/completion_queue.cc", + "//src/core:lib/surface/completion_queue_factory.cc", + "//src/core:lib/surface/event_string.cc", + "//src/core:lib/surface/lame_client.cc", + "//src/core:lib/surface/metadata_array.cc", + "//src/core:lib/surface/server.cc", + "//src/core:lib/surface/validate_metadata.cc", + "//src/core:lib/surface/version.cc", + "//src/core:lib/surface/wait_for_cq_end_op.cc", + "//src/core:lib/transport/batch_builder.cc", + "//src/core:lib/transport/transport.cc", + "//src/core:lib/transport/transport_op_string.cc", + ], + hdrs = [ + "//src/core:lib/channel/call_finalization.h", + "//src/core:lib/channel/call_tracer.h", + "//src/core:lib/channel/channel_stack.h", + "//src/core:lib/channel/channel_stack_builder_impl.h", + "//src/core:lib/channel/connected_channel.h", + "//src/core:lib/channel/promise_based_filter.h", + "//src/core:lib/channel/status_util.h", + "//src/core:lib/compression/message_compress.h", "//src/core:lib/slice/b64.h", "//src/core:lib/surface/api_trace.h", "//src/core:lib/surface/builtins.h", "//src/core:lib/surface/call.h", "//src/core:lib/surface/call_test_only.h", - "//src/core:lib/surface/call_trace.h", "//src/core:lib/surface/channel.h", "//src/core:lib/surface/completion_queue.h", "//src/core:lib/surface/completion_queue_factory.h", @@ -1457,25 +1696,9 @@ grpc_cc_library( "//src/core:lib/surface/lame_client.h", "//src/core:lib/surface/server.h", "//src/core:lib/surface/validate_metadata.h", + "//src/core:lib/surface/wait_for_cq_end_op.h", "//src/core:lib/transport/batch_builder.h", - "//src/core:lib/transport/connectivity_state.h", - "//src/core:lib/transport/custom_metadata.h", - "//src/core:lib/transport/error_utils.h", - "//src/core:lib/transport/metadata_batch.h", - "//src/core:lib/transport/parsed_metadata.h", - "//src/core:lib/transport/simple_slice_based_metadata.h", - "//src/core:lib/transport/status_conversion.h", - "//src/core:lib/transport/timeout_encoding.h", "//src/core:lib/transport/transport.h", - "//src/core:lib/transport/transport_impl.h", - ] + - # TODO(vigneshbabu): remove these - # These headers used to be vended by this target, but they have to be - # removed after landing EventEngine. - [ - "//src/core:lib/iomgr/event_engine_shims/closure.h", - "//src/core:lib/iomgr/event_engine_shims/endpoint.h", - "//src/core:lib/iomgr/event_engine_shims/tcp_client.h", ], defines = select({ "systemd": ["HAVE_LIBSYSTEMD"], @@ -1489,14 +1712,15 @@ grpc_cc_library( "absl/container:inlined_vector", "absl/functional:any_invocable", "absl/functional:function_ref", + "absl/hash", "absl/meta:type_traits", + "absl/random", "absl/status", "absl/status:statusor", "absl/strings", "absl/strings:str_format", "absl/time", "absl/types:optional", - "absl/types:variant", "absl/utility", "madler_zlib", ], @@ -1508,16 +1732,22 @@ grpc_cc_library( public_hdrs = GRPC_PUBLIC_HDRS + GRPC_PUBLIC_EVENT_ENGINE_HDRS, visibility = ["@grpc:alt_grpc_base_legacy"], deps = [ + "byte_buffer", + "call_combiner", + "call_trace", "channel_arg_names", "channel_stack_builder", + "channelz", "config", "config_vars", "cpp_impl_of", "debug_location", + "dynamic_annotations", "exec_ctx", "gpr", "grpc_public_hdrs", "grpc_trace", + "iomgr", "iomgr_buffer_list", "iomgr_internal_errqueue", "iomgr_timer", @@ -1526,32 +1756,43 @@ grpc_cc_library( "parse_address", "promise", "ref_counted_ptr", + "resource_quota_api", "sockaddr_utils", "stats", + "tcp_tracer", "uri_parser", - "work_serializer", "//src/core:1999", "//src/core:activity", + "//src/core:all_ok", "//src/core:arena", "//src/core:arena_promise", "//src/core:atomic_utils", "//src/core:bitset", + "//src/core:call_factory", + "//src/core:call_filters", + "//src/core:call_final_info", + "//src/core:call_spine", "//src/core:cancel_callback", "//src/core:channel_args", "//src/core:channel_args_endpoint_config", "//src/core:channel_args_preconditioning", "//src/core:channel_fwd", "//src/core:channel_init", + "//src/core:channel_stack_trace", "//src/core:channel_stack_type", - "//src/core:chunked_vector", "//src/core:closure", + "//src/core:compression_internal", + "//src/core:connectivity_state", "//src/core:construct_destruct", "//src/core:context", "//src/core:default_event_engine", "//src/core:dual_ref_counted", "//src/core:error", + "//src/core:error_utils", "//src/core:event_engine_common", + "//src/core:event_engine_extensions", "//src/core:event_engine_memory_allocator_factory", + "//src/core:event_engine_query_extensions", "//src/core:event_engine_shim", "//src/core:event_engine_tcp_socket_utils", "//src/core:event_engine_trace", @@ -1562,9 +1803,7 @@ grpc_cc_library( "//src/core:gpr_manual_constructor", "//src/core:gpr_spinlock", "//src/core:grpc_sockaddr", - "//src/core:http2_errors", "//src/core:if", - "//src/core:if_list", "//src/core:init_internally", "//src/core:iomgr_fwd", "//src/core:iomgr_port", @@ -1575,18 +1814,21 @@ grpc_cc_library( "//src/core:map", "//src/core:match", "//src/core:memory_quota", - "//src/core:metadata_compression_traits", + "//src/core:message", + "//src/core:metadata", + "//src/core:metadata_batch", "//src/core:no_destruct", - "//src/core:packed_table", "//src/core:per_cpu", "//src/core:pipe", "//src/core:poll", "//src/core:pollset_set", "//src/core:posix_event_engine_base_hdrs", + "//src/core:posix_event_engine_endpoint", "//src/core:promise_status", + "//src/core:promise_trace", "//src/core:race", + "//src/core:random_early_detection", "//src/core:ref_counted", - "//src/core:ref_counted_string", "//src/core:resolved_address", "//src/core:resource_quota", "//src/core:resource_quota_trace", @@ -1597,13 +1839,14 @@ grpc_cc_library( "//src/core:slice_refcount", "//src/core:socket_mutator", "//src/core:stats_data", + "//src/core:status_flag", "//src/core:status_helper", "//src/core:strerror", "//src/core:thread_quota", "//src/core:time", "//src/core:transport_fwd", + "//src/core:try_join", "//src/core:try_seq", - "//src/core:type_list", "//src/core:useful", "//src/core:windows_event_engine", "//src/core:windows_event_engine_listener", @@ -1696,9 +1939,10 @@ grpc_cc_library( language = "c++", tags = ["nofixdeps"], deps = [ - "gpr", - "grpc++", - "lb_load_reporter", + ":gpr", + ":grpc++", + ":lb_load_reporter", + "//src/proto/grpc/lb/v1:load_reporter_proto", ], ) @@ -1754,6 +1998,7 @@ grpc_cc_library( "//src/core:lib/security/credentials/plugin/plugin_credentials.cc", "//src/core:lib/security/security_connector/security_connector.cc", "//src/core:lib/security/transport/client_auth_filter.cc", + "//src/core:lib/security/transport/legacy_server_auth_filter.cc", "//src/core:lib/security/transport/secure_endpoint.cc", "//src/core:lib/security/transport/security_handshaker.cc", "//src/core:lib/security/transport/server_auth_filter.cc", @@ -1783,7 +2028,9 @@ grpc_cc_library( public_hdrs = GRPC_PUBLIC_HDRS, visibility = ["@grpc:public"], deps = [ + "call_trace", "channel_arg_names", + "channelz", "config", "debug_location", "exec_ctx", @@ -1792,9 +2039,11 @@ grpc_cc_library( "grpc_public_hdrs", "grpc_trace", "handshaker", + "iomgr", "legacy_context", "promise", "ref_counted_ptr", + "resource_quota_api", "stats", "tsi_base", "//src/core:activity", @@ -1811,6 +2060,7 @@ grpc_cc_library( "//src/core:handshaker_registry", "//src/core:iomgr_fwd", "//src/core:memory_quota", + "//src/core:metadata_batch", "//src/core:poll", "//src/core:ref_counted", "//src/core:resource_quota", @@ -1842,6 +2092,7 @@ grpc_cc_library( visibility = ["@grpc:tsi_interface"], deps = [ "gpr", + "grpc_public_hdrs", "grpc_trace", ], ) @@ -1864,7 +2115,10 @@ grpc_cc_library( "//src/core:lib/security/credentials/alts/grpc_alts_credentials_options.h", "//src/core:tsi/alts/handshaker/transport_security_common_api.h", ], - external_deps = ["upb_lib"], + external_deps = [ + "upb_base_lib", + "upb_mem_lib", + ], language = "c++", visibility = ["@grpc:tsi"], deps = [ @@ -1880,7 +2134,8 @@ grpc_cc_library( "libssl", "libcrypto", "absl/strings", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", ], language = "c++", tags = ["nofixdeps"], @@ -1924,7 +2179,8 @@ grpc_cc_library( "absl/synchronization", "absl/memory", "absl/types:optional", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", "protobuf_headers", "absl/container:inlined_vector", ], @@ -1950,9 +2206,11 @@ grpc_cc_library( "grpcpp_backend_metric_recorder", "grpcpp_call_metric_recorder", "grpcpp_status", + "iomgr", "iomgr_timer", "legacy_context", "ref_counted_ptr", + "resource_quota_api", "//src/core:arena", "//src/core:channel_args", "//src/core:channel_fwd", @@ -1966,10 +2224,12 @@ grpc_cc_library( "//src/core:gpr_manual_constructor", "//src/core:grpc_audit_logging", "//src/core:grpc_backend_metric_provider", + "//src/core:grpc_crl_provider", "//src/core:grpc_service_config", "//src/core:grpc_transport_inproc", "//src/core:json", "//src/core:json_reader", + "//src/core:load_file", "//src/core:ref_counted", "//src/core:resource_quota", "//src/core:slice", @@ -1997,7 +2257,8 @@ grpc_cc_library( "absl/synchronization", "absl/types:optional", "absl/memory", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", "absl/strings:str_format", "protobuf_headers", ], @@ -2023,9 +2284,11 @@ grpc_cc_library( "grpcpp_backend_metric_recorder", "grpcpp_call_metric_recorder", "grpcpp_status", + "iomgr", "iomgr_timer", "legacy_context", "ref_counted_ptr", + "resource_quota_api", "//src/core:arena", "//src/core:channel_args", "//src/core:channel_init", @@ -2042,6 +2305,7 @@ grpc_cc_library( "//src/core:resource_quota", "//src/core:slice", "//src/core:socket_mutator", + "//src/core:thread_quota", "//src/core:time", "//src/core:useful", ], @@ -2108,6 +2372,7 @@ grpc_cc_library( deps = [ "grpc++", "grpc++_config_proto", + "//src/proto/grpc/reflection/v1:reflection_proto", "//src/proto/grpc/reflection/v1alpha:reflection_proto", ], alwayslink = 1, @@ -2164,7 +2429,8 @@ grpc_cc_library( "absl/strings", "absl/time", "absl/types:optional", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", ], language = "c++", public_hdrs = [ @@ -2293,28 +2559,6 @@ grpc_cc_library( ], ) -grpc_cc_library( - name = "grpc_rpc_encoding", - srcs = [ - "src/cpp/ext/filters/census/rpc_encoding.cc", - ], - hdrs = [ - "src/cpp/ext/filters/census/rpc_encoding.h", - ], - external_deps = [ - "absl/base", - "absl/base:core_headers", - "absl/meta:type_traits", - "absl/status", - "absl/strings", - "absl/time", - ], - language = "c++", - tags = ["nofixdeps"], - visibility = ["@grpc:grpc_python_observability"], - deps = ["gpr_platform"], -) - grpc_cc_library( name = "grpc_opencensus_plugin", srcs = [ @@ -2337,9 +2581,8 @@ grpc_cc_library( "src/cpp/ext/filters/census/server_call_tracer.h", ], external_deps = [ - "absl/base", "absl/base:core_headers", - "absl/meta:type_traits", + "absl/base:endian", "absl/status", "absl/status:statusor", "absl/strings", @@ -2357,13 +2600,13 @@ grpc_cc_library( language = "c++", visibility = ["@grpc:grpc_opencensus_plugin"], deps = [ - "channel_stack_builder", "config", "gpr", "grpc++_base", "grpc_base", "grpc_public_hdrs", "legacy_context", + "tcp_tracer", "//src/core:arena", "//src/core:arena_promise", "//src/core:channel_args", @@ -2371,6 +2614,8 @@ grpc_cc_library( "//src/core:channel_stack_type", "//src/core:context", "//src/core:error", + "//src/core:logging_filter", + "//src/core:metadata_batch", "//src/core:slice", "//src/core:slice_buffer", "//src/core:slice_refcount", @@ -2400,10 +2645,23 @@ grpc_cc_library( language = "c++", tags = ["nofixdeps"], deps = [ + ":grpcpp_otel_plugin", "//src/cpp/ext/csm:csm_observability", ], ) +# This is an EXPERIMENTAL target subject to change. +grpc_cc_library( + name = "grpcpp_otel_plugin", + hdrs = [ + "include/grpcpp/ext/otel_plugin.h", + ], + language = "c++", + deps = [ + "//src/cpp/ext/otel:otel_plugin", + ], +) + grpc_cc_library( name = "work_serializer", srcs = [ @@ -2516,6 +2774,7 @@ grpc_cc_library( language = "c++", public_hdrs = ["//src/core:lib/gprpp/debug_location.h"], visibility = ["@grpc:debug_location"], + deps = ["gpr_platform"], ) grpc_cc_library( @@ -2589,6 +2848,7 @@ grpc_cc_library( "grpc_base", "grpc_public_hdrs", "grpc_trace", + "iomgr", "ref_counted_ptr", "//src/core:channel_args", "//src/core:closure", @@ -2625,6 +2885,7 @@ grpc_cc_library( "grpc_base", "handshaker", "httpcli", + "iomgr", "ref_counted_ptr", "//src/core:channel_args", "//src/core:closure", @@ -2717,7 +2978,6 @@ grpc_cc_library( "absl/strings:str_format", ], tags = ["nofixdeps"], - visibility = ["@grpc:iomgr_timer"], deps = [ "event_engine_base_hdrs", "exec_ctx", @@ -2762,6 +3022,7 @@ grpc_cc_library( external_deps = [ "absl/strings", "absl/strings:str_format", + "absl/types:optional", ], tags = ["nofixdeps"], visibility = ["@grpc:iomgr_buffer_list"], @@ -2879,17 +3140,16 @@ grpc_cc_library( "//src/core:channel_args", "//src/core:channel_fwd", "//src/core:channel_stack_type", - "//src/core:transport_fwd", ], ) grpc_cc_library( name = "grpc_service_config_impl", srcs = [ - "//src/core:lib/service_config/service_config_impl.cc", + "//src/core:service_config/service_config_impl.cc", ], hdrs = [ - "//src/core:lib/service_config/service_config_impl.h", + "//src/core:service_config/service_config_impl.h", ], external_deps = [ "absl/status", @@ -2918,14 +3178,15 @@ grpc_cc_library( ) grpc_cc_library( - name = "server_address", + name = "endpoint_addresses", srcs = [ - "//src/core:lib/resolver/server_address.cc", + "//src/core:resolver/endpoint_addresses.cc", ], hdrs = [ - "//src/core:lib/resolver/server_address.h", + "//src/core:resolver/endpoint_addresses.h", ], external_deps = [ + "absl/functional:function_ref", "absl/status", "absl/status:statusor", "absl/strings", @@ -2933,6 +3194,7 @@ grpc_cc_library( language = "c++", visibility = ["@grpc:client_channel"], deps = [ + "gpr", "gpr_platform", "sockaddr_utils", "//src/core:channel_args", @@ -2941,16 +3203,29 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "server_address", + hdrs = [ + "//src/core:resolver/server_address.h", + ], + language = "c++", + visibility = ["@grpc:client_channel"], + deps = [ + "endpoint_addresses", + "gpr_public_hdrs", + ], +) + grpc_cc_library( name = "grpc_resolver", srcs = [ - "//src/core:lib/resolver/resolver.cc", - "//src/core:lib/resolver/resolver_registry.cc", + "//src/core:resolver/resolver.cc", + "//src/core:resolver/resolver_registry.cc", ], hdrs = [ - "//src/core:lib/resolver/resolver.h", - "//src/core:lib/resolver/resolver_factory.h", - "//src/core:lib/resolver/resolver_registry.h", + "//src/core:resolver/resolver.h", + "//src/core:resolver/resolver_factory.h", + "//src/core:resolver/resolver_registry.h", ], external_deps = [ "absl/status", @@ -2961,6 +3236,7 @@ grpc_cc_library( language = "c++", visibility = ["@grpc:client_channel"], deps = [ + "endpoint_addresses", "gpr", "grpc_trace", "orphanable", @@ -2973,58 +3249,108 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "oob_backend_metric", + srcs = [ + "//src/core:load_balancing/oob_backend_metric.cc", + ], + hdrs = [ + "//src/core:load_balancing/oob_backend_metric.h", + "//src/core:load_balancing/oob_backend_metric_internal.h", + ], + external_deps = [ + "absl/base:core_headers", + "absl/status", + "absl/strings", + "upb_base_lib", + "upb_mem_lib", + ], + language = "c++", + deps = [ + "channelz", + "debug_location", + "exec_ctx", + "gpr", + "grpc_client_channel", + "grpc_public_hdrs", + "grpc_trace", + "orphanable", + "protobuf_duration_upb", + "ref_counted_ptr", + "xds_orca_service_upb", + "xds_orca_upb", + "//src/core:backend_metric_parser", + "//src/core:client_channel_channelz", + "//src/core:closure", + "//src/core:error", + "//src/core:grpc_backend_metric_data", + "//src/core:iomgr_fwd", + "//src/core:pollset_set", + "//src/core:slice", + "//src/core:subchannel_interface", + "//src/core:time", + "//src/core:unique_type_name", + ], +) + +grpc_cc_library( + name = "lb_child_policy_handler", + srcs = [ + "//src/core:load_balancing/child_policy_handler.cc", + ], + hdrs = [ + "//src/core:load_balancing/child_policy_handler.h", + ], + external_deps = [ + "absl/status", + "absl/strings", + ], + language = "c++", + deps = [ + "config", + "debug_location", + "gpr_public_hdrs", + "grpc_public_hdrs", + "grpc_trace", + "orphanable", + "ref_counted_ptr", + "//src/core:channel_args", + "//src/core:connectivity_state", + "//src/core:delegating_helper", + "//src/core:lb_policy", + "//src/core:lb_policy_registry", + "//src/core:pollset_set", + "//src/core:resolved_address", + "//src/core:subchannel_interface", + ], +) + grpc_cc_library( name = "grpc_client_channel", srcs = [ - "//src/core:ext/filters/client_channel/backend_metric.cc", - "//src/core:ext/filters/client_channel/backup_poller.cc", - "//src/core:ext/filters/client_channel/channel_connectivity.cc", - "//src/core:ext/filters/client_channel/client_channel.cc", - "//src/core:ext/filters/client_channel/client_channel_channelz.cc", - "//src/core:ext/filters/client_channel/client_channel_factory.cc", - "//src/core:ext/filters/client_channel/client_channel_plugin.cc", - "//src/core:ext/filters/client_channel/client_channel_service_config.cc", - "//src/core:ext/filters/client_channel/config_selector.cc", - "//src/core:ext/filters/client_channel/dynamic_filters.cc", - "//src/core:ext/filters/client_channel/global_subchannel_pool.cc", - "//src/core:ext/filters/client_channel/http_proxy_mapper.cc", - "//src/core:ext/filters/client_channel/lb_policy/child_policy_handler.cc", - "//src/core:ext/filters/client_channel/lb_policy/oob_backend_metric.cc", - "//src/core:ext/filters/client_channel/local_subchannel_pool.cc", - "//src/core:ext/filters/client_channel/retry_filter.cc", - "//src/core:ext/filters/client_channel/retry_filter_legacy_call_data.cc", - "//src/core:ext/filters/client_channel/retry_service_config.cc", - "//src/core:ext/filters/client_channel/retry_throttle.cc", - "//src/core:ext/filters/client_channel/service_config_channel_arg_filter.cc", - "//src/core:ext/filters/client_channel/subchannel.cc", - "//src/core:ext/filters/client_channel/subchannel_pool_interface.cc", - "//src/core:ext/filters/client_channel/subchannel_stream_client.cc", + "//src/core:client_channel/channel_connectivity.cc", + "//src/core:client_channel/client_channel_factory.cc", + "//src/core:client_channel/client_channel_filter.cc", + "//src/core:client_channel/client_channel_plugin.cc", + "//src/core:client_channel/dynamic_filters.cc", + "//src/core:client_channel/global_subchannel_pool.cc", + "//src/core:client_channel/local_subchannel_pool.cc", + "//src/core:client_channel/retry_filter.cc", + "//src/core:client_channel/retry_filter_legacy_call_data.cc", + "//src/core:client_channel/subchannel.cc", + "//src/core:client_channel/subchannel_stream_client.cc", ], hdrs = [ - "//src/core:ext/filters/client_channel/backend_metric.h", - "//src/core:ext/filters/client_channel/backup_poller.h", - "//src/core:ext/filters/client_channel/client_channel.h", - "//src/core:ext/filters/client_channel/client_channel_channelz.h", - "//src/core:ext/filters/client_channel/client_channel_factory.h", - "//src/core:ext/filters/client_channel/client_channel_internal.h", - "//src/core:ext/filters/client_channel/client_channel_service_config.h", - "//src/core:ext/filters/client_channel/config_selector.h", - "//src/core:ext/filters/client_channel/connector.h", - "//src/core:ext/filters/client_channel/dynamic_filters.h", - "//src/core:ext/filters/client_channel/global_subchannel_pool.h", - "//src/core:ext/filters/client_channel/http_proxy_mapper.h", - "//src/core:ext/filters/client_channel/lb_policy/child_policy_handler.h", - "//src/core:ext/filters/client_channel/lb_policy/oob_backend_metric.h", - "//src/core:ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h", - "//src/core:ext/filters/client_channel/local_subchannel_pool.h", - "//src/core:ext/filters/client_channel/retry_filter.h", - "//src/core:ext/filters/client_channel/retry_filter_legacy_call_data.h", - "//src/core:ext/filters/client_channel/retry_service_config.h", - "//src/core:ext/filters/client_channel/retry_throttle.h", - "//src/core:ext/filters/client_channel/subchannel.h", - "//src/core:ext/filters/client_channel/subchannel_interface_internal.h", - "//src/core:ext/filters/client_channel/subchannel_pool_interface.h", - "//src/core:ext/filters/client_channel/subchannel_stream_client.h", + "//src/core:client_channel/client_channel_factory.h", + "//src/core:client_channel/client_channel_filter.h", + "//src/core:client_channel/dynamic_filters.h", + "//src/core:client_channel/global_subchannel_pool.h", + "//src/core:client_channel/local_subchannel_pool.h", + "//src/core:client_channel/retry_filter.h", + "//src/core:client_channel/retry_filter_legacy_call_data.h", + "//src/core:client_channel/subchannel.h", + "//src/core:client_channel/subchannel_interface_internal.h", + "//src/core:client_channel/subchannel_stream_client.h", ], external_deps = [ "absl/base:core_headers", @@ -3038,18 +3364,21 @@ grpc_cc_library( "absl/strings:cord", "absl/types:optional", "absl/types:variant", - "upb_collections_lib", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", + "upb_message_lib", ], language = "c++", visibility = ["@grpc:client_channel"], deps = [ "backoff", + "call_combiner", "channel_arg_names", - "channel_stack_builder", + "channelz", "config", "config_vars", "debug_location", + "endpoint_addresses", "exec_ctx", "gpr", "grpc_base", @@ -3059,14 +3388,15 @@ grpc_cc_library( "grpc_service_config_impl", "grpc_trace", "http_connect_handshaker", + "iomgr", "iomgr_timer", + "lb_child_policy_handler", "legacy_context", "orphanable", "parse_address", "promise", "protobuf_duration_upb", "ref_counted_ptr", - "server_address", "sockaddr_utils", "stats", "uri_parser", @@ -3076,23 +3406,32 @@ grpc_cc_library( "//src/core:activity", "//src/core:arena", "//src/core:arena_promise", + "//src/core:backend_metric_parser", "//src/core:cancel_callback", "//src/core:channel_args", "//src/core:channel_fwd", "//src/core:channel_init", "//src/core:channel_stack_type", + "//src/core:client_channel_backup_poller", + "//src/core:client_channel_channelz", + "//src/core:client_channel_internal_header", + "//src/core:client_channel_service_config", "//src/core:closure", + "//src/core:config_selector", + "//src/core:connectivity_state", "//src/core:construct_destruct", "//src/core:context", "//src/core:delegating_helper", "//src/core:dual_ref_counted", "//src/core:env", "//src/core:error", + "//src/core:error_utils", "//src/core:experiments", "//src/core:gpr_atm", "//src/core:gpr_manual_constructor", "//src/core:grpc_backend_metric_data", "//src/core:grpc_deadline_filter", + "//src/core:grpc_message_size_filter", "//src/core:grpc_service_config", "//src/core:init_internally", "//src/core:iomgr_fwd", @@ -3105,6 +3444,7 @@ grpc_cc_library( "//src/core:lb_policy_registry", "//src/core:map", "//src/core:memory_quota", + "//src/core:metadata_batch", "//src/core:pipe", "//src/core:poll", "//src/core:pollset_set", @@ -3113,6 +3453,8 @@ grpc_cc_library( "//src/core:ref_counted", "//src/core:resolved_address", "//src/core:resource_quota", + "//src/core:retry_service_config", + "//src/core:retry_throttle", "//src/core:seq", "//src/core:service_config_parser", "//src/core:slice", @@ -3120,9 +3462,10 @@ grpc_cc_library( "//src/core:slice_refcount", "//src/core:stats_data", "//src/core:status_helper", + "//src/core:subchannel_connector", "//src/core:subchannel_interface", + "//src/core:subchannel_pool_interface", "//src/core:time", - "//src/core:transport_fwd", "//src/core:try_seq", "//src/core:unique_type_name", "//src/core:useful", @@ -3133,21 +3476,20 @@ grpc_cc_library( grpc_cc_library( name = "grpc_resolver_dns_ares", srcs = [ - "//src/core:ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc", - "//src/core:ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc", - "//src/core:ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc", - "//src/core:ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc", - "//src/core:ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc", - "//src/core:ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc", + "//src/core:resolver/dns/c_ares/dns_resolver_ares.cc", + "//src/core:resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc", + "//src/core:resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc", + "//src/core:resolver/dns/c_ares/grpc_ares_wrapper.cc", + "//src/core:resolver/dns/c_ares/grpc_ares_wrapper_posix.cc", + "//src/core:resolver/dns/c_ares/grpc_ares_wrapper_windows.cc", ], hdrs = [ - "//src/core:ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h", - "//src/core:ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h", - "//src/core:ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h", + "//src/core:resolver/dns/c_ares/dns_resolver_ares.h", + "//src/core:resolver/dns/c_ares/grpc_ares_ev_driver.h", + "//src/core:resolver/dns/c_ares/grpc_ares_wrapper.h", ], external_deps = [ "absl/base:core_headers", - "absl/container:flat_hash_set", "absl/functional:any_invocable", "absl/status", "absl/status:statusor", @@ -3164,6 +3506,7 @@ grpc_cc_library( "config", "config_vars", "debug_location", + "endpoint_addresses", "exec_ctx", "gpr", "grpc_base", @@ -3171,16 +3514,17 @@ grpc_cc_library( "grpc_resolver", "grpc_service_config_impl", "grpc_trace", + "iomgr", "iomgr_timer", "orphanable", "parse_address", "ref_counted_ptr", - "server_address", "sockaddr_utils", "uri_parser", "//src/core:channel_args", "//src/core:closure", "//src/core:error", + "//src/core:error_utils", "//src/core:grpc_service_config", "//src/core:grpc_sockaddr", "//src/core:iomgr_fwd", @@ -3228,14 +3572,17 @@ grpc_cc_library( "grpc_security_base", "grpc_trace", "handshaker", + "iomgr", "orphanable", "ref_counted_ptr", + "resource_quota_api", "sockaddr_utils", "uri_parser", "//src/core:channel_args", "//src/core:channel_args_preconditioning", "//src/core:closure", "//src/core:error", + "//src/core:error_utils", "//src/core:handshaker_registry", "//src/core:iomgr_fwd", "//src/core:pollset_set", @@ -3276,6 +3623,7 @@ grpc_cc_library( "grpc_public_hdrs", "grpc_security_base", "handshaker", + "iomgr", "promise", "ref_counted_ptr", "tsi_alts_credentials", @@ -3344,6 +3692,7 @@ grpc_cc_library( "grpc_security_base", "grpc_trace", "httpcli", + "iomgr", "orphanable", "promise", "ref_counted_ptr", @@ -3351,12 +3700,14 @@ grpc_cc_library( "//src/core:arena_promise", "//src/core:closure", "//src/core:error", + "//src/core:experiments", "//src/core:gpr_manual_constructor", "//src/core:httpcli_ssl_credentials", "//src/core:iomgr_fwd", "//src/core:json", "//src/core:json_reader", "//src/core:json_writer", + "//src/core:metadata_batch", "//src/core:slice", "//src/core:slice_refcount", "//src/core:time", @@ -3372,6 +3723,7 @@ grpc_cc_library( "//src/core:lib/security/credentials/tls/tls_utils.cc", "//src/core:lib/security/security_connector/load_system_roots_fallback.cc", "//src/core:lib/security/security_connector/load_system_roots_supported.cc", + "//src/core:lib/security/security_connector/load_system_roots_windows.cc", "//src/core:lib/security/util/json_util.cc", ], hdrs = [ @@ -3390,6 +3742,7 @@ grpc_cc_library( "grpc_security_base", "//src/core:error", "//src/core:json", + "//src/core:load_file", "//src/core:useful", ], ) @@ -3411,7 +3764,8 @@ grpc_cc_library( ], external_deps = [ "absl/strings", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", ], language = "c++", visibility = ["@grpc:public"], @@ -3464,6 +3818,7 @@ grpc_cc_library( "//src/core:tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h", ], external_deps = [ + "absl/types:span", "libcrypto", "libssl", ], @@ -3524,6 +3879,7 @@ grpc_cc_library( external_deps = [ "absl/base:core_headers", "absl/status", + "absl/status:statusor", "absl/strings", "libcrypto", "libssl", @@ -3543,7 +3899,9 @@ grpc_cc_library( "tsi_ssl_session_cache", "//src/core:channel_args", "//src/core:error", + "//src/core:grpc_crl_provider", "//src/core:grpc_transport_chttp2_alpn", + "//src/core:load_file", "//src/core:ref_counted", "//src/core:slice", "//src/core:tsi_ssl_types", @@ -3557,16 +3915,17 @@ grpc_cc_library( "//src/core:ext/filters/http/client/http_client_filter.cc", "//src/core:ext/filters/http/http_filters_plugin.cc", "//src/core:ext/filters/http/message_compress/compression_filter.cc", + "//src/core:ext/filters/http/message_compress/legacy_compression_filter.cc", "//src/core:ext/filters/http/server/http_server_filter.cc", ], hdrs = [ "//src/core:ext/filters/http/client/http_client_filter.h", "//src/core:ext/filters/http/message_compress/compression_filter.h", + "//src/core:ext/filters/http/message_compress/legacy_compression_filter.h", "//src/core:ext/filters/http/server/http_server_filter.h", ], external_deps = [ "absl/base:core_headers", - "absl/meta:type_traits", "absl/status", "absl/status:statusor", "absl/strings", @@ -3576,8 +3935,8 @@ grpc_cc_library( language = "c++", visibility = ["@grpc:http"], deps = [ + "call_trace", "channel_arg_names", - "channel_stack_builder", "config", "gpr", "grpc_base", @@ -3590,12 +3949,14 @@ grpc_cc_library( "//src/core:arena_promise", "//src/core:channel_args", "//src/core:channel_fwd", - "//src/core:channel_init", "//src/core:channel_stack_type", + "//src/core:compression_internal", "//src/core:context", + "//src/core:experiments", "//src/core:grpc_message_size_filter", "//src/core:latch", "//src/core:map", + "//src/core:metadata_batch", "//src/core:percent_encoding", "//src/core:pipe", "//src/core:poll", @@ -3603,24 +3964,24 @@ grpc_cc_library( "//src/core:race", "//src/core:slice", "//src/core:slice_buffer", - "//src/core:transport_fwd", + "//src/core:status_conversion", ], ) grpc_cc_library( name = "grpc_grpclb_balancer_addresses", srcs = [ - "//src/core:ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc", + "//src/core:load_balancing/grpclb/grpclb_balancer_addresses.cc", ], hdrs = [ - "//src/core:ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h", + "//src/core:load_balancing/grpclb/grpclb_balancer_addresses.h", ], language = "c++", visibility = ["@grpc:grpclb"], deps = [ + "endpoint_addresses", "gpr_platform", "grpc_public_hdrs", - "server_address", "//src/core:channel_args", "//src/core:useful", ], @@ -3646,13 +4007,15 @@ grpc_cc_library( ], external_deps = [ "absl/base:core_headers", + "absl/cleanup", "absl/memory", "absl/status", "absl/status:statusor", "absl/strings", "absl/strings:str_format", "absl/types:optional", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", "upb_textformat_lib", "upb_json_lib", "upb_reflection", @@ -3663,6 +4026,7 @@ grpc_cc_library( deps = [ "backoff", "debug_location", + "endpoint_addresses", "envoy_admin_upb", "envoy_config_core_upb", "envoy_config_endpoint_upb", @@ -3722,13 +4086,13 @@ grpc_cc_library( grpc_cc_library( name = "grpc_resolver_fake", - srcs = ["//src/core:ext/filters/client_channel/resolver/fake/fake_resolver.cc"], - hdrs = ["//src/core:ext/filters/client_channel/resolver/fake/fake_resolver.h"], + srcs = ["//src/core:resolver/fake/fake_resolver.cc"], + hdrs = ["//src/core:resolver/fake/fake_resolver.h"], external_deps = [ "absl/base:core_headers", - "absl/status", - "absl/status:statusor", "absl/strings", + "absl/time", + "absl/types:optional", ], language = "c++", visibility = [ @@ -3743,11 +4107,9 @@ grpc_cc_library( "grpc_resolver", "orphanable", "ref_counted_ptr", - "server_address", "uri_parser", "work_serializer", "//src/core:channel_args", - "//src/core:grpc_service_config", "//src/core:notification", "//src/core:ref_counted", "//src/core:useful", @@ -3814,12 +4176,13 @@ grpc_cc_library( deps = [ "gpr", "gpr_platform", - "grpc_base", "grpc_trace", "hpack_parse_result", "http_trace", "//src/core:hpack_constants", + "//src/core:metadata_batch", "//src/core:no_destruct", + "//src/core:parsed_metadata", "//src/core:slice", ], ) @@ -3841,8 +4204,11 @@ grpc_cc_library( deps = [ "gpr", "grpc_base", + "ref_counted_ptr", "//src/core:error", "//src/core:hpack_constants", + "//src/core:metadata_batch", + "//src/core:ref_counted", "//src/core:slice", "//src/core:status_helper", ], @@ -3858,6 +4224,7 @@ grpc_cc_library( ], external_deps = [ "absl/base:core_headers", + "absl/random:bit_gen_ref", "absl/status", "absl/strings", "absl/types:optional", @@ -3878,6 +4245,8 @@ grpc_cc_library( "//src/core:error", "//src/core:hpack_constants", "//src/core:match", + "//src/core:metadata_batch", + "//src/core:parsed_metadata", "//src/core:random_early_detection", "//src/core:slice", "//src/core:slice_refcount", @@ -3906,10 +4275,12 @@ grpc_cc_library( "http_trace", "//src/core:hpack_constants", "//src/core:hpack_encoder_table", + "//src/core:metadata_batch", "//src/core:metadata_compression_traits", "//src/core:slice", "//src/core:slice_buffer", "//src/core:time", + "//src/core:timeout_encoding", ], ) @@ -3946,6 +4317,23 @@ grpc_cc_library( hdrs = [ "//src/core:ext/transport/chttp2/transport/context_list_entry.h", ], + deps = [ + "gpr", + "tcp_tracer", + ], +) + +grpc_cc_library( + name = "tcp_tracer", + hdrs = [ + "//src/core:lib/channel/tcp_tracer.h", + ], + external_deps = [ + "absl/time", + "absl/types:optional", + ], + language = "c++", + visibility = ["@grpc:tcp_tracer"], deps = ["gpr"], ) @@ -3980,16 +4368,21 @@ grpc_cc_library( "absl/container:flat_hash_map", "absl/hash", "absl/meta:type_traits", + "absl/random", + "absl/random:bit_gen_ref", + "absl/random:distributions", "absl/status", "absl/strings", "absl/strings:cord", "absl/strings:str_format", "absl/types:optional", + "absl/types:variant", ], language = "c++", visibility = ["@grpc:grpclb"], deps = [ "channel_arg_names", + "channelz", "chttp2_context_list_entry", "chttp2_legacy_frame", "chttp2_varint", @@ -4004,28 +4397,37 @@ grpc_cc_library( "hpack_parser_table", "http_trace", "httpcli", + "iomgr", "iomgr_buffer_list", "legacy_context", "ref_counted_ptr", "stats", + "tcp_tracer", "//src/core:arena", "//src/core:bdp_estimator", "//src/core:bitset", "//src/core:channel_args", "//src/core:chttp2_flow_control", "//src/core:closure", + "//src/core:connectivity_state", "//src/core:error", + "//src/core:error_utils", "//src/core:experiments", + "//src/core:gpr_manual_constructor", "//src/core:http2_errors", "//src/core:http2_settings", "//src/core:init_internally", "//src/core:iomgr_fwd", "//src/core:iomgr_port", "//src/core:match", + "//src/core:max_concurrent_streams_policy", "//src/core:memory_quota", + "//src/core:metadata_batch", "//src/core:ping_abuse_policy", + "//src/core:ping_callbacks", "//src/core:ping_rate_policy", "//src/core:poll", + "//src/core:random_early_detection", "//src/core:ref_counted", "//src/core:resource_quota", "//src/core:resource_quota_trace", @@ -4033,10 +4435,11 @@ grpc_cc_library( "//src/core:slice_buffer", "//src/core:slice_refcount", "//src/core:stats_data", + "//src/core:status_conversion", "//src/core:status_helper", "//src/core:time", - "//src/core:transport_fwd", "//src/core:useful", + "//src/core:write_size_policy", ], ) @@ -4059,6 +4462,24 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "grpcpp_chaotic_good", + srcs = [ + "src/cpp/ext/chaotic_good.cc", + ], + hdrs = [ + "src/cpp/ext/chaotic_good.h", + ], + visibility = ["@grpc:chaotic_good"], + deps = [ + "gpr", + "grpc++_public_hdrs", + "grpc_public_hdrs", + "//src/core:chaotic_good_connector", + "//src/core:chaotic_good_server", + ], +) + grpc_cc_library( name = "subprocess", srcs = [ @@ -4247,6 +4668,16 @@ grpc_upb_proto_reflection_library( deps = ["@envoy_api//envoy/extensions/transport_sockets/tls/v3:pkg"], ) +grpc_upb_proto_library( + name = "envoy_extensions_upstreams_http_upb", + deps = ["@envoy_api//envoy/extensions/upstreams/http/v3:pkg"], +) + +grpc_upb_proto_reflection_library( + name = "envoy_extensions_upstreams_http_upbdefs", + deps = ["@envoy_api//envoy/extensions/upstreams/http/v3:pkg"], +) + grpc_upb_proto_library( name = "envoy_service_discovery_upb", deps = ["@envoy_api//envoy/service/discovery/v3:pkg"], @@ -4289,22 +4720,22 @@ grpc_upb_proto_library( grpc_upb_proto_library( name = "xds_type_upb", - deps = ["@com_github_cncf_udpa//xds/type/v3:pkg"], + deps = ["@com_github_cncf_xds//xds/type/v3:pkg"], ) grpc_upb_proto_reflection_library( name = "xds_type_upbdefs", - deps = ["@com_github_cncf_udpa//xds/type/v3:pkg"], + deps = ["@com_github_cncf_xds//xds/type/v3:pkg"], ) grpc_upb_proto_library( name = "xds_orca_upb", - deps = ["@com_github_cncf_udpa//xds/data/orca/v3:pkg"], + deps = ["@com_github_cncf_xds//xds/data/orca/v3:pkg"], ) grpc_upb_proto_library( name = "xds_orca_service_upb", - deps = ["@com_github_cncf_udpa//xds/service/orca/v3:pkg"], + deps = ["@com_github_cncf_xds//xds/service/orca/v3:pkg"], ) grpc_upb_proto_library( diff --git a/BUILDING.md b/BUILDING.md index adfe75f381c..a293335b50e 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -112,6 +112,9 @@ $ bazel build :all $ bazel test --config=dbg //test/... ``` +NOTE: If you're using Bazel 7 or newer and working with gRPC, you'll need to turn off bzlmod. +This is because gRPC isn't fully compatible with bzlmod yet. To do this, add --enable_bzlmod=false to your Bazel commands. + NOTE: If you are a gRPC maintainer and you have access to our test cluster, you should use our [gRPC's Remote Execution environment](tools/remote_build/README.md) to get significant improvement to the build and test speed (and a bunch of other very useful features). diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e7832b8f9a..6be079f93a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,19 +22,23 @@ -cmake_minimum_required(VERSION 3.8) +cmake_minimum_required(VERSION 3.13) set(PACKAGE_NAME "grpc") -set(PACKAGE_VERSION "1.59.0-dev") -set(gRPC_CORE_VERSION "35.0.0") -set(gRPC_CORE_SOVERSION "35") -set(gRPC_CPP_VERSION "1.59.0-dev") -set(gRPC_CPP_SOVERSION "1.59") +set(PACKAGE_VERSION "1.63.0-dev") +set(gRPC_CORE_VERSION "39.0.0") +set(gRPC_CORE_SOVERSION "39") +set(gRPC_CPP_VERSION "1.63.0-dev") +set(gRPC_CPP_SOVERSION "1.63") set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") project(${PACKAGE_NAME} LANGUAGES C CXX) +if(BUILD_SHARED_LIBS AND MSVC) + set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) +endif() + set(gRPC_INSTALL_BINDIR "bin" CACHE STRING "Installation directory for executables") set(gRPC_INSTALL_LIBDIR "lib" CACHE STRING "Installation directory for libraries") set(gRPC_INSTALL_INCLUDEDIR "include" CACHE STRING "Installation directory for headers") @@ -45,7 +49,7 @@ set(gRPC_BUILD_MSVC_MP_COUNT 0 CACHE STRING "The maximum number of processes for # Options option(gRPC_BUILD_TESTS "Build tests" OFF) option(gRPC_BUILD_CODEGEN "Build codegen" ON) -option(gRPC_BACKWARDS_COMPATIBILITY_MODE "Build libraries that are binary compatible across a larger number of OS and libc versions" OFF) +option(gRPC_DOWNLOAD_ARCHIVES "Download archives for empty 3rd party directories" ON) set(gRPC_INSTALL_default ON) if(NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) @@ -103,6 +107,7 @@ set(gRPC_ABSL_USED_TARGETS absl_base_internal absl_bind_front absl_bits + absl_charset absl_city absl_civil_time absl_cleanup @@ -147,6 +152,7 @@ set(gRPC_ABSL_USED_TARGETS absl_flat_hash_set absl_function_ref absl_graphcycles_internal + absl_has_ostream_operator absl_hash absl_hash_function_defaults absl_hash_policy_traits @@ -161,11 +167,14 @@ set(gRPC_ABSL_USED_TARGETS absl_low_level_hash absl_malloc_internal absl_memory + absl_no_destructor absl_non_temporal_arm_intrinsics absl_non_temporal_memcpy + absl_nullability absl_numeric_representation absl_optional absl_prefetch + absl_random_bit_gen_ref absl_random_distributions absl_random_internal_distribution_caller absl_random_internal_fast_uniform_bits @@ -266,6 +275,8 @@ if(MSVC) set(_gRPC_C_CXX_FLAGS "${_gRPC_C_CXX_FLAGS} /wd4503") # Tell MSVC to build grpc using utf-8 set(_gRPC_C_CXX_FLAGS "${_gRPC_C_CXX_FLAGS} /utf-8") + # Inconsistent object sizes can cause stack corruption and should be treated as an error + set(_gRPC_C_CXX_FLAGS "${_gRPC_C_CXX_FLAGS} /we4789") endif() if (MINGW) add_definitions(-D_WIN32_WINNT=0x600) @@ -280,14 +291,6 @@ else() set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf") endif() -if(gRPC_BACKWARDS_COMPATIBILITY_MODE) - add_definitions(-DGPR_BACKWARDS_COMPATIBILITY_MODE) - if(_gRPC_PLATFORM_MAC) - # some C++11 constructs not supported before OS X 10.10 - set(CMAKE_OSX_DEPLOYMENT_TARGET 10.10) - endif() -endif() - if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_IOS) set(_gRPC_CORE_NOSTDCXX_FLAGS -fno-exceptions -fno-rtti) else() @@ -300,7 +303,10 @@ if(UNIX AND NOT HAIKU) find_package(Threads) set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m Threads::Threads) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - set(_gRPC_ALLTARGETS_LIBRARIES ${_gRPC_ALLTARGETS_LIBRARIES} rt) + find_library(LIBRT rt) + if(LIBRT) + set(_gRPC_ALLTARGETS_LIBRARIES ${_gRPC_ALLTARGETS_LIBRARIES} rt) + endif() endif() endif() @@ -343,26 +349,26 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) endif() # Setup external proto library at third_party/envoy-api with 2 download URLs -if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api) +if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api AND gRPC_DOWNLOAD_ARCHIVES) # Download the archive via HTTP, validate the checksum, and extract to third_party/envoy-api. download_archive( ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api - https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/e53e7bbd012f81965f2e79848ad9a58ceb67201f.tar.gz - 6fd3496c82919a433219733819a93b56699519a193126959e9c4fedc25e70663 - data-plane-api-e53e7bbd012f81965f2e79848ad9a58ceb67201f + https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/78f198cf96ecdc7120ef640406770aa01af775c4.tar.gz + ddd3beedda1178a79e0d988f76f362002aced09749452515853f106e22bd2249 + data-plane-api-78f198cf96ecdc7120ef640406770aa01af775c4 ) endif() -if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api) +if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api AND gRPC_DOWNLOAD_ARCHIVES) # Download the archive via HTTP, validate the checksum, and extract to third_party/envoy-api. download_archive( ${CMAKE_CURRENT_SOURCE_DIR}/third_party/envoy-api - https://github.com/envoyproxy/data-plane-api/archive/e53e7bbd012f81965f2e79848ad9a58ceb67201f.tar.gz - 6fd3496c82919a433219733819a93b56699519a193126959e9c4fedc25e70663 - data-plane-api-e53e7bbd012f81965f2e79848ad9a58ceb67201f + https://github.com/envoyproxy/data-plane-api/archive/78f198cf96ecdc7120ef640406770aa01af775c4.tar.gz + ddd3beedda1178a79e0d988f76f362002aced09749452515853f106e22bd2249 + data-plane-api-78f198cf96ecdc7120ef640406770aa01af775c4 ) endif() # Setup external proto library at third_party/googleapis with 2 download URLs -if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/googleapis) +if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/googleapis AND gRPC_DOWNLOAD_ARCHIVES) # Download the archive via HTTP, validate the checksum, and extract to third_party/googleapis. download_archive( ${CMAKE_CURRENT_SOURCE_DIR}/third_party/googleapis @@ -371,7 +377,7 @@ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/googleapis) googleapis-2f9af297c84c55c8b871ba4495e01ade42476c92 ) endif() -if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/googleapis) +if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/googleapis AND gRPC_DOWNLOAD_ARCHIVES) # Download the archive via HTTP, validate the checksum, and extract to third_party/googleapis. download_archive( ${CMAKE_CURRENT_SOURCE_DIR}/third_party/googleapis @@ -381,7 +387,7 @@ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/googleapis) ) endif() # Setup external proto library at third_party/opencensus-proto/src with 2 download URLs -if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/opencensus-proto/src) +if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/opencensus-proto/src AND gRPC_DOWNLOAD_ARCHIVES) # Download the archive via HTTP, validate the checksum, and extract to third_party/opencensus-proto/src. download_archive( ${CMAKE_CURRENT_SOURCE_DIR}/third_party/opencensus-proto/src @@ -390,7 +396,7 @@ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/opencensus-proto/src) opencensus-proto-0.3.0/src ) endif() -if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/opencensus-proto/src) +if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/opencensus-proto/src AND gRPC_DOWNLOAD_ARCHIVES) # Download the archive via HTTP, validate the checksum, and extract to third_party/opencensus-proto/src. download_archive( ${CMAKE_CURRENT_SOURCE_DIR}/third_party/opencensus-proto/src @@ -400,22 +406,22 @@ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/opencensus-proto/src) ) endif() # Setup external proto library at third_party/xds with 2 download URLs -if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/xds) +if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/xds AND gRPC_DOWNLOAD_ARCHIVES) # Download the archive via HTTP, validate the checksum, and extract to third_party/xds. download_archive( ${CMAKE_CURRENT_SOURCE_DIR}/third_party/xds - https://storage.googleapis.com/grpc-bazel-mirror/github.com/cncf/xds/archive/e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7.tar.gz - 0d33b83f8c6368954e72e7785539f0d272a8aba2f6e2e336ed15fd1514bc9899 - xds-e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7 + https://storage.googleapis.com/grpc-bazel-mirror/github.com/cncf/xds/archive/3a472e524827f72d1ad621c4983dd5af54c46776.tar.gz + dc305e20c9fa80822322271b50aa2ffa917bf4fd3973bcec52bfc28dc32c5927 + xds-3a472e524827f72d1ad621c4983dd5af54c46776 ) endif() -if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/xds) +if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/xds AND gRPC_DOWNLOAD_ARCHIVES) # Download the archive via HTTP, validate the checksum, and extract to third_party/xds. download_archive( ${CMAKE_CURRENT_SOURCE_DIR}/third_party/xds - https://github.com/cncf/xds/archive/e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7.tar.gz - 0d33b83f8c6368954e72e7785539f0d272a8aba2f6e2e336ed15fd1514bc9899 - xds-e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7 + https://github.com/cncf/xds/archive/3a472e524827f72d1ad621c4983dd5af54c46776.tar.gz + dc305e20c9fa80822322271b50aa2ffa917bf4fd3973bcec52bfc28dc32c5927 + xds-3a472e524827f72d1ad621c4983dd5af54c46776 ) endif() @@ -423,12 +429,12 @@ if(WIN32) set(_gRPC_ALLTARGETS_LIBRARIES ${_gRPC_ALLTARGETS_LIBRARIES} ws2_32 crypt32) set(_gRPC_STATIC_WIN32 STATIC) endif() - + if(BUILD_SHARED_LIBS AND WIN32) # Currently for shared lib on Windows (i.e. a DLL) certain bits of source code # are generated from protobuf definitions by upbc. This source code does not include -# annotations needed to export these functions from gprc.lib so we have to +# annotations needed to export these functions from grpc.lib so we have to # re-include a small subset of these. # # This is not an ideal situation because these functions will be unavailable @@ -437,13 +443,22 @@ if(BUILD_SHARED_LIBS AND WIN32) # for DLL builds - and should be completely removed when source files are # generated with the necessary __declspec annotations. set(gRPC_UPB_GEN_DUPL_SRC - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c - src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c + src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c ) + set(gRPC_ADDITIONAL_DLL_SRC src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc + src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc + src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +) + +set(gRPC_ADDITIONAL_DLL_CXX_SRC + src/cpp/common/tls_certificate_provider.cc + src/cpp/common/tls_certificate_verifier.cc + src/cpp/common/tls_credentials_options.cc ) endif() # BUILD_SHARED_LIBS AND WIN32 @@ -623,6 +638,9 @@ protobuf_generate_grpc_cpp_with_import_path_correction( protobuf_generate_grpc_cpp_with_import_path_correction( src/proto/grpc/lookup/v1/rls_config.proto src/proto/grpc/lookup/v1/rls_config.proto ) +protobuf_generate_grpc_cpp_with_import_path_correction( + src/proto/grpc/reflection/v1/reflection.proto src/proto/grpc/reflection/v1/reflection.proto +) protobuf_generate_grpc_cpp_with_import_path_correction( src/proto/grpc/reflection/v1alpha/reflection.proto src/proto/grpc/reflection/v1alpha/reflection.proto ) @@ -731,6 +749,9 @@ protobuf_generate_grpc_cpp_with_import_path_correction( protobuf_generate_grpc_cpp_with_import_path_correction( src/proto/grpc/testing/xds/v3/http_filter_rbac.proto src/proto/grpc/testing/xds/v3/http_filter_rbac.proto ) +protobuf_generate_grpc_cpp_with_import_path_correction( + src/proto/grpc/testing/xds/v3/http_protocol_options.proto src/proto/grpc/testing/xds/v3/http_protocol_options.proto +) protobuf_generate_grpc_cpp_with_import_path_correction( src/proto/grpc/testing/xds/v3/listener.proto src/proto/grpc/testing/xds/v3/listener.proto ) @@ -815,6 +836,9 @@ protobuf_generate_grpc_cpp_with_import_path_correction( protobuf_generate_grpc_cpp_with_import_path_correction( test/core/tsi/alts/fake_handshaker/transport_security_common.proto test/core/tsi/alts/fake_handshaker/transport_security_common.proto ) +protobuf_generate_grpc_cpp_with_import_path_correction( + test/core/util/fuzz_config_vars.proto test/core/util/fuzz_config_vars.proto +) if(gRPC_BUILD_TESTS) add_custom_target(buildtests_c) @@ -842,6 +866,7 @@ if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx alarm_test) endif() + add_dependencies(buildtests_cxx all_ok_test) add_dependencies(buildtests_cxx alloc_test) add_dependencies(buildtests_cxx alpn_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) @@ -869,6 +894,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx avl_test) add_dependencies(buildtests_cxx aws_request_signer_test) add_dependencies(buildtests_cxx b64_test) + add_dependencies(buildtests_cxx backend_metrics_lb_policy_test) add_dependencies(buildtests_cxx backoff_test) add_dependencies(buildtests_cxx bad_ping_test) add_dependencies(buildtests_cxx bad_server_response_test) @@ -895,6 +921,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx byte_buffer_test) add_dependencies(buildtests_cxx c_slice_buffer_test) add_dependencies(buildtests_cxx call_creds_test) + add_dependencies(buildtests_cxx call_filters_test) add_dependencies(buildtests_cxx call_finalization_test) add_dependencies(buildtests_cxx call_host_override_test) add_dependencies(buildtests_cxx call_tracer_test) @@ -920,7 +947,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx channel_args_test) add_dependencies(buildtests_cxx channel_arguments_test) add_dependencies(buildtests_cxx channel_creds_registry_test) - add_dependencies(buildtests_cxx channel_filter_test) + add_dependencies(buildtests_cxx channel_init_test) add_dependencies(buildtests_cxx channel_stack_builder_test) add_dependencies(buildtests_cxx channel_stack_test) add_dependencies(buildtests_cxx channel_trace_test) @@ -936,6 +963,9 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx client_channel_service_config_test) add_dependencies(buildtests_cxx client_channel_test) add_dependencies(buildtests_cxx client_context_test_peer_test) + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_cxx client_fork_test) + endif() add_dependencies(buildtests_cxx client_interceptors_end2end_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx client_lb_end2end_test) @@ -944,7 +974,6 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx client_ssl_test) endif() add_dependencies(buildtests_cxx client_streaming_test) - add_dependencies(buildtests_cxx client_transport_test) add_dependencies(buildtests_cxx cmdline_test) add_dependencies(buildtests_cxx codegen_test_full) add_dependencies(buildtests_cxx codegen_test_minimal) @@ -965,6 +994,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx core_configuration_test) add_dependencies(buildtests_cxx cpp_impl_of_test) add_dependencies(buildtests_cxx cpu_test) + add_dependencies(buildtests_cxx crl_provider_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx crl_ssl_transport_security_test) endif() @@ -972,9 +1002,11 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx default_host_test) add_dependencies(buildtests_cxx delegating_channel_test) add_dependencies(buildtests_cxx destroy_grpclb_channel_with_active_connect_stress_test) + add_dependencies(buildtests_cxx directory_reader_test) add_dependencies(buildtests_cxx disappearing_server_test) add_dependencies(buildtests_cxx dns_resolver_cooldown_test) add_dependencies(buildtests_cxx dns_resolver_test) + add_dependencies(buildtests_cxx down_cast_test) add_dependencies(buildtests_cxx dual_ref_counted_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx dualstack_socket_test) @@ -985,6 +1017,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx end2end_binder_transport_test) endif() add_dependencies(buildtests_cxx end2end_test) + add_dependencies(buildtests_cxx endpoint_addresses_test) add_dependencies(buildtests_cxx endpoint_binder_pool_test) add_dependencies(buildtests_cxx endpoint_config_test) add_dependencies(buildtests_cxx endpoint_pair_test) @@ -1014,7 +1047,6 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx file_watcher_certificate_provider_factory_test) add_dependencies(buildtests_cxx filter_causes_close_test) add_dependencies(buildtests_cxx filter_context_test) - add_dependencies(buildtests_cxx filter_end2end_test) add_dependencies(buildtests_cxx filter_init_fails_test) add_dependencies(buildtests_cxx filter_test_test) add_dependencies(buildtests_cxx filtered_metadata_test) @@ -1027,10 +1059,11 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx forkable_test) add_dependencies(buildtests_cxx format_request_test) add_dependencies(buildtests_cxx frame_handler_test) - add_dependencies(buildtests_cxx frame_header_test) + add_dependencies(buildtests_cxx frame_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx fuzzing_event_engine_test) endif() + add_dependencies(buildtests_cxx fuzzing_event_engine_unittest) add_dependencies(buildtests_cxx generic_end2end_test) add_dependencies(buildtests_cxx goaway_server_test) add_dependencies(buildtests_cxx google_c2p_resolver_test) @@ -1051,6 +1084,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx grpc_tls_certificate_verifier_test) add_dependencies(buildtests_cxx grpc_tls_credentials_options_comparator_test) add_dependencies(buildtests_cxx grpc_tls_credentials_options_test) + add_dependencies(buildtests_cxx grpc_tls_crl_provider_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx grpc_tool_test) endif() @@ -1076,6 +1110,8 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx hpack_parser_test) add_dependencies(buildtests_cxx hpack_size_test) add_dependencies(buildtests_cxx http2_client) + add_dependencies(buildtests_cxx http2_settings_test) + add_dependencies(buildtests_cxx http2_stats_test) add_dependencies(buildtests_cxx http_proxy_mapper_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx httpcli_test) @@ -1089,7 +1125,11 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx if_test) add_dependencies(buildtests_cxx init_test) add_dependencies(buildtests_cxx initial_settings_frame_bad_client_test) + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_cxx inproc_test) + endif() add_dependencies(buildtests_cxx insecure_security_connector_test) + add_dependencies(buildtests_cxx inter_activity_latch_test) add_dependencies(buildtests_cxx inter_activity_pipe_test) add_dependencies(buildtests_cxx interceptor_list_test) add_dependencies(buildtests_cxx interop_client) @@ -1112,6 +1152,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx lb_get_cpu_stats_test) add_dependencies(buildtests_cxx lb_load_data_store_test) add_dependencies(buildtests_cxx load_config_test) + add_dependencies(buildtests_cxx load_file_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx lock_free_event_test) endif() @@ -1123,6 +1164,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx map_pipe_test) add_dependencies(buildtests_cxx match_test) add_dependencies(buildtests_cxx matchers_test) + add_dependencies(buildtests_cxx max_concurrent_streams_policy_test) add_dependencies(buildtests_cxx max_concurrent_streams_test) add_dependencies(buildtests_cxx max_connection_age_test) add_dependencies(buildtests_cxx max_connection_idle_test) @@ -1135,6 +1177,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx message_compress_test) add_dependencies(buildtests_cxx message_size_service_config_test) add_dependencies(buildtests_cxx metadata_map_test) + add_dependencies(buildtests_cxx metrics_test) add_dependencies(buildtests_cxx minimal_stack_is_minimal_test) add_dependencies(buildtests_cxx miscompile_with_no_unique_address_test) add_dependencies(buildtests_cxx mock_stream_test) @@ -1151,6 +1194,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx nonblocking_test) add_dependencies(buildtests_cxx notification_test) add_dependencies(buildtests_cxx num_external_connectivity_watchers_test) + add_dependencies(buildtests_cxx observable_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx oracle_event_engine_posix_test) endif() @@ -1172,8 +1216,8 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx percent_encoding_test) add_dependencies(buildtests_cxx periodic_update_test) add_dependencies(buildtests_cxx pick_first_test) - add_dependencies(buildtests_cxx pid_controller_test) add_dependencies(buildtests_cxx ping_abuse_policy_test) + add_dependencies(buildtests_cxx ping_callbacks_test) add_dependencies(buildtests_cxx ping_configuration_test) add_dependencies(buildtests_cxx ping_pong_streaming_test) add_dependencies(buildtests_cxx ping_rate_policy_test) @@ -1190,6 +1234,9 @@ if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx posix_event_engine_connect_test) endif() + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_cxx posix_event_engine_native_dns_test) + endif() if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx posix_event_engine_test) endif() @@ -1198,6 +1245,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx promise_endpoint_test) add_dependencies(buildtests_cxx promise_factory_test) add_dependencies(buildtests_cxx promise_map_test) + add_dependencies(buildtests_cxx promise_mutex_test) add_dependencies(buildtests_cxx promise_test) add_dependencies(buildtests_cxx proto_buffer_reader_test) add_dependencies(buildtests_cxx proto_buffer_writer_test) @@ -1206,6 +1254,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx proxy_auth_test) add_dependencies(buildtests_cxx qps_json_driver) add_dependencies(buildtests_cxx qps_worker) + add_dependencies(buildtests_cxx query_extensions_test) add_dependencies(buildtests_cxx race_test) add_dependencies(buildtests_cxx random_early_detection_test) add_dependencies(buildtests_cxx raw_end2end_test) @@ -1266,6 +1315,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx retry_transparent_not_sent_on_wire_test) add_dependencies(buildtests_cxx retry_unref_before_finish_test) add_dependencies(buildtests_cxx retry_unref_before_recv_test) + add_dependencies(buildtests_cxx ring_hash_test) add_dependencies(buildtests_cxx rls_end2end_test) add_dependencies(buildtests_cxx rls_lb_config_parser_test) add_dependencies(buildtests_cxx round_robin_test) @@ -1332,11 +1382,9 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx static_stride_scheduler_test) add_dependencies(buildtests_cxx stats_test) add_dependencies(buildtests_cxx status_conversion_test) + add_dependencies(buildtests_cxx status_flag_test) add_dependencies(buildtests_cxx status_helper_test) add_dependencies(buildtests_cxx status_util_test) - if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) - add_dependencies(buildtests_cxx stranded_event_test) - endif() add_dependencies(buildtests_cxx stream_leak_with_queued_flow_control_update_test) add_dependencies(buildtests_cxx streaming_error_response_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) @@ -1345,6 +1393,7 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx streams_not_seen_test) add_dependencies(buildtests_cxx string_ref_test) add_dependencies(buildtests_cxx string_test) + add_dependencies(buildtests_cxx switch_test) add_dependencies(buildtests_cxx sync_test) add_dependencies(buildtests_cxx system_roots_test) add_dependencies(buildtests_cxx table_test) @@ -1367,18 +1416,18 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx test_core_event_engine_posix_timer_list_test) add_dependencies(buildtests_cxx test_core_event_engine_slice_buffer_test) add_dependencies(buildtests_cxx test_core_gpr_time_test) - add_dependencies(buildtests_cxx test_core_gprpp_load_file_test) add_dependencies(buildtests_cxx test_core_gprpp_time_test) - add_dependencies(buildtests_cxx test_core_iomgr_load_file_test) add_dependencies(buildtests_cxx test_core_iomgr_timer_heap_test) add_dependencies(buildtests_cxx test_core_security_credentials_test) add_dependencies(buildtests_cxx test_core_security_ssl_credentials_test) add_dependencies(buildtests_cxx test_core_slice_slice_buffer_test) add_dependencies(buildtests_cxx test_core_slice_slice_test) - add_dependencies(buildtests_cxx test_core_transport_chaotic_good_frame_test) - add_dependencies(buildtests_cxx test_core_transport_chttp2_frame_test) + if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + add_dependencies(buildtests_cxx test_core_transport_test_suite_chaotic_good_test) + endif() add_dependencies(buildtests_cxx test_cpp_client_credentials_test) add_dependencies(buildtests_cxx test_cpp_end2end_ssl_credentials_test) + add_dependencies(buildtests_cxx test_cpp_ext_chaotic_good_test) add_dependencies(buildtests_cxx test_cpp_server_credentials_test) add_dependencies(buildtests_cxx test_cpp_util_slice_test) add_dependencies(buildtests_cxx test_cpp_util_time_test) @@ -1396,10 +1445,12 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx time_jump_test) endif() add_dependencies(buildtests_cxx time_util_test) + add_dependencies(buildtests_cxx timeout_before_request_call_test) add_dependencies(buildtests_cxx timeout_encoding_test) add_dependencies(buildtests_cxx timer_manager_test) add_dependencies(buildtests_cxx timer_test) add_dependencies(buildtests_cxx tls_certificate_verifier_test) + add_dependencies(buildtests_cxx tls_credentials_test) add_dependencies(buildtests_cxx tls_key_export_test) add_dependencies(buildtests_cxx tls_security_connector_test) add_dependencies(buildtests_cxx too_many_pings_test) @@ -1440,6 +1491,7 @@ if(gRPC_BUILD_TESTS) endif() add_dependencies(buildtests_cxx write_buffering_at_end_test) add_dependencies(buildtests_cxx write_buffering_test) + add_dependencies(buildtests_cxx write_size_policy_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_dependencies(buildtests_cxx writes_per_rpc_test) endif() @@ -1471,9 +1523,6 @@ if(gRPC_BUILD_TESTS) add_dependencies(buildtests_cxx xds_fault_injection_end2end_test) endif() add_dependencies(buildtests_cxx xds_http_filters_test) - add_dependencies(buildtests_cxx xds_interop_client) - add_dependencies(buildtests_cxx xds_interop_server) - add_dependencies(buildtests_cxx xds_interop_server_test) add_dependencies(buildtests_cxx xds_lb_policy_registry_test) add_dependencies(buildtests_cxx xds_listener_resource_type_test) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) @@ -1593,7 +1642,6 @@ add_library(gpr src/core/lib/gpr/windows/sync.cc src/core/lib/gpr/windows/time.cc src/core/lib/gpr/windows/tmpfile.cc - src/core/lib/gpr/wrap_memcpy.cc src/core/lib/gprpp/crash.cc src/core/lib/gprpp/examine_stack.cc src/core/lib/gprpp/fork.cc @@ -1622,9 +1670,11 @@ if(WIN32 AND MSVC) set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) - set_target_properties(gpr PROPERTIES DEFINE_SYMBOL "GPR_DLL_EXPORTS") if(BUILD_SHARED_LIBS) - target_compile_definitions(gpr INTERFACE GPR_DLL_IMPORTS) + target_compile_definitions(gpr + PRIVATE + "GPR_DLL_EXPORTS" + ) endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb @@ -1672,6 +1722,7 @@ if(_gRPC_PLATFORM_ANDROID) endif() foreach(_hdr + include/grpc/impl/call.h include/grpc/impl/codegen/atm.h include/grpc/impl/codegen/atm_gcc_atomic.h include/grpc/impl/codegen/atm_gcc_sync.h @@ -1726,72 +1777,30 @@ endif() add_library(grpc + src/core/client_channel/backup_poller.cc + src/core/client_channel/channel_connectivity.cc + src/core/client_channel/client_channel_channelz.cc + src/core/client_channel/client_channel_factory.cc + src/core/client_channel/client_channel_filter.cc + src/core/client_channel/client_channel_plugin.cc + src/core/client_channel/client_channel_service_config.cc + src/core/client_channel/config_selector.cc + src/core/client_channel/dynamic_filters.cc + src/core/client_channel/global_subchannel_pool.cc + src/core/client_channel/http_proxy_mapper.cc + src/core/client_channel/local_subchannel_pool.cc + src/core/client_channel/retry_filter.cc + src/core/client_channel/retry_filter_legacy_call_data.cc + src/core/client_channel/retry_service_config.cc + src/core/client_channel/retry_throttle.cc + src/core/client_channel/subchannel.cc + src/core/client_channel/subchannel_pool_interface.cc + src/core/client_channel/subchannel_stream_client.cc src/core/ext/filters/backend_metrics/backend_metric_filter.cc src/core/ext/filters/census/grpc_context.cc src/core/ext/filters/channel_idle/channel_idle_filter.cc src/core/ext/filters/channel_idle/idle_filter_state.cc - src/core/ext/filters/client_channel/backend_metric.cc - src/core/ext/filters/client_channel/backup_poller.cc - src/core/ext/filters/client_channel/channel_connectivity.cc - src/core/ext/filters/client_channel/client_channel.cc - src/core/ext/filters/client_channel/client_channel_channelz.cc - src/core/ext/filters/client_channel/client_channel_factory.cc - src/core/ext/filters/client_channel/client_channel_plugin.cc - src/core/ext/filters/client_channel/client_channel_service_config.cc - src/core/ext/filters/client_channel/config_selector.cc - src/core/ext/filters/client_channel/dynamic_filters.cc - src/core/ext/filters/client_channel/global_subchannel_pool.cc - src/core/ext/filters/client_channel/http_proxy_mapper.cc - src/core/ext/filters/client_channel/lb_policy/address_filtering.cc - src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc - src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc - src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc - src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc - src/core/ext/filters/client_channel/lb_policy/health_check_client.cc - src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc - src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc - src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc - src/core/ext/filters/client_channel/lb_policy/priority/priority.cc - src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc - src/core/ext/filters/client_channel/lb_policy/rls/rls.cc - src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc - src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc - src/core/ext/filters/client_channel/lb_policy/xds/cds.cc - src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc - src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc - src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc - src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc - src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc - src/core/ext/filters/client_channel/local_subchannel_pool.cc - src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc - src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc - src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc - src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc - src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc - src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc - src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc - src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc - src/core/ext/filters/client_channel/resolver/polling_resolver.cc - src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc - src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc - src/core/ext/filters/client_channel/retry_filter.cc - src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc - src/core/ext/filters/client_channel/retry_service_config.cc - src/core/ext/filters/client_channel/retry_throttle.cc - src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc - src/core/ext/filters/client_channel/subchannel.cc - src/core/ext/filters/client_channel/subchannel_pool_interface.cc - src/core/ext/filters/client_channel/subchannel_stream_client.cc + src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc src/core/ext/filters/deadline/deadline_filter.cc src/core/ext/filters/fault_injection/fault_injection_filter.cc src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc @@ -1799,6 +1808,7 @@ add_library(grpc src/core/ext/filters/http/client_authority_filter.cc src/core/ext/filters/http/http_filters_plugin.cc src/core/ext/filters/http/message_compress/compression_filter.cc + src/core/ext/filters/http/message_compress/legacy_compression_filter.cc src/core/ext/filters/http/server/http_server_filter.cc src/core/ext/filters/message_size/message_size_filter.cc src/core/ext/filters/rbac/rbac_filter.cc @@ -1815,6 +1825,7 @@ add_library(grpc src/core/ext/transport/chttp2/transport/chttp2_transport.cc src/core/ext/transport/chttp2/transport/decode_huff.cc src/core/ext/transport/chttp2/transport/flow_control.cc + src/core/ext/transport/chttp2/transport/frame.cc src/core/ext/transport/chttp2/transport/frame_data.cc src/core/ext/transport/chttp2/transport/frame_goaway.cc src/core/ext/transport/chttp2/transport/frame_ping.cc @@ -1829,327 +1840,335 @@ add_library(grpc src/core/ext/transport/chttp2/transport/http2_settings.cc src/core/ext/transport/chttp2/transport/http_trace.cc src/core/ext/transport/chttp2/transport/huffsyms.cc + src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc src/core/ext/transport/chttp2/transport/parsing.cc src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc + src/core/ext/transport/chttp2/transport/ping_callbacks.cc src/core/ext/transport/chttp2/transport/ping_rate_policy.cc src/core/ext/transport/chttp2/transport/stream_lists.cc src/core/ext/transport/chttp2/transport/varint.cc + src/core/ext/transport/chttp2/transport/write_size_policy.cc src/core/ext/transport/chttp2/transport/writing.cc src/core/ext/transport/inproc/inproc_plugin.cc src/core/ext/transport/inproc/inproc_transport.cc - src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c - src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c - src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c - src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c - src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c - src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c - src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c - src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c - src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c - src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c - src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c - src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c - src/core/ext/upb-generated/envoy/annotations/resource.upb.c - src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c - src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c - src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c - src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c - src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c - src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c - src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c - src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c - src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c - src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c - src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c - src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c - src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c - src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c - src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c - src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c - src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c - src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c - src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c - src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c - src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c - src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c - src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c - src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c - src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c - src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c - src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c - src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c - src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c - src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c - src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c - src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c - src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c - src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c - src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c - src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c - src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c - src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c - src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c - src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c - src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c - src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c - src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c - src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c - src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c - src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c - src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c - src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c - src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c - src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c - src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c - src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c - src/core/ext/upb-generated/envoy/type/v3/http.upb.c - src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c - src/core/ext/upb-generated/envoy/type/v3/percent.upb.c - src/core/ext/upb-generated/envoy/type/v3/range.upb.c - src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c - src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c - src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c - src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c - src/core/ext/upb-generated/google/api/annotations.upb.c - src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c - src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c - src/core/ext/upb-generated/google/api/http.upb.c - src/core/ext/upb-generated/google/api/httpbody.upb.c - src/core/ext/upb-generated/google/protobuf/any.upb.c - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - src/core/ext/upb-generated/google/protobuf/duration.upb.c - src/core/ext/upb-generated/google/protobuf/empty.upb.c - src/core/ext/upb-generated/google/protobuf/struct.upb.c - src/core/ext/upb-generated/google/protobuf/timestamp.upb.c - src/core/ext/upb-generated/google/protobuf/wrappers.upb.c - src/core/ext/upb-generated/google/rpc/status.upb.c - src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c - src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c - src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c - src/core/ext/upb-generated/udpa/annotations/migrate.upb.c - src/core/ext/upb-generated/udpa/annotations/security.upb.c - src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c - src/core/ext/upb-generated/udpa/annotations/status.upb.c - src/core/ext/upb-generated/udpa/annotations/versioning.upb.c - src/core/ext/upb-generated/validate/validate.upb.c - src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c - src/core/ext/upb-generated/xds/annotations/v3/security.upb.c - src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c - src/core/ext/upb-generated/xds/annotations/v3/status.upb.c - src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c - src/core/ext/upb-generated/xds/core/v3/authority.upb.c - src/core/ext/upb-generated/xds/core/v3/cidr.upb.c - src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c - src/core/ext/upb-generated/xds/core/v3/context_params.upb.c - src/core/ext/upb-generated/xds/core/v3/extension.upb.c - src/core/ext/upb-generated/xds/core/v3/resource.upb.c - src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c - src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c - src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c - src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c - src/core/ext/upb-generated/xds/type/v3/cel.upb.c - src/core/ext/upb-generated/xds/type/v3/range.upb.c - src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c - src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c - src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c - src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c - src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c - src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c - src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c - src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c - src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c - src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c - src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c - src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c - src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c - src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c - src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c - src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c - src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c - src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c - src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c - src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c - src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c - src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c - src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c - src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c - src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c - src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c - src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c - src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c - src/core/ext/upbdefs-generated/google/api/http.upbdefs.c - src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c - src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c - src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c - src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c - src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c - src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c - src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c - src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c - src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c - src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c - src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c - src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c - src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c - src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c - src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c - src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c - src/core/ext/upbdefs-generated/validate/validate.upbdefs.c - src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c - src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c - src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c - src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c - src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c - src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c - src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c - src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c - src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c - src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c - src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c - src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c - src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c - src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c - src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c - src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c - src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c - src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c - src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c - src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c - src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c - src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c - src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c - src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c + src/core/ext/transport/inproc/legacy_inproc_transport.cc + src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c + src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c + src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c + src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c + src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c + src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c + src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c + src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c + src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c + src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c + src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c + src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c + src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c + src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c + src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c + src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c + src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c + src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c + src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c + src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c + src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c + src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c + src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c + src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c + src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c + src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c + src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c + src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c + src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c + src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c + src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c + src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c + src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c + src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c + src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c + src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c + src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c + src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c + src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c + src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c + src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c + src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c + src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c + src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c + src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c + src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c + src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c + src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c + src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c + src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c + src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c + src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c + src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c + src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c + src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c + src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c + src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c + src/core/ext/upb-gen/google/api/annotations.upb_minitable.c + src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c + src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c + src/core/ext/upb-gen/google/api/http.upb_minitable.c + src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c + src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c + src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c + src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c + src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c + src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c + src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c + src/core/ext/upb-gen/validate/validate.upb_minitable.c + src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c + src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c + src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c + src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c + src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c + src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c + src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c + src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c + src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c + src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c + src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c + src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c + src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c + src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c + src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c + src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c + src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c + src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c + src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c + src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c + src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c + src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c + src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c + src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c + src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c + src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c + src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c + src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c + src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c + src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c + src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c + src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c + src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c + src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c + src/core/ext/upbdefs-gen/google/api/http.upbdefs.c + src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c + src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c + src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c + src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c + src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c + src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c + src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c + src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c + src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c + src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c + src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c + src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c + src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c + src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c + src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c + src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c + src/core/ext/upbdefs-gen/validate/validate.upbdefs.c + src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c + src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c + src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c + src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c + src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c + src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c + src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c + src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c + src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c + src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c + src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c + src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c + src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c + src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c + src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c + src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c + src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c + src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c + src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c + src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c + src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c + src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c + src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c + src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c src/core/ext/xds/certificate_provider_store.cc src/core/ext/xds/file_watcher_certificate_provider_factory.cc src/core/ext/xds/xds_api.cc @@ -2186,6 +2205,7 @@ add_library(grpc src/core/lib/channel/channel_stack.cc src/core/lib/channel/channel_stack_builder.cc src/core/lib/channel/channel_stack_builder_impl.cc + src/core/lib/channel/channel_stack_trace.cc src/core/lib/channel/channel_trace.cc src/core/lib/channel/channelz.cc src/core/lib/channel/channelz_registry.cc @@ -2211,12 +2231,12 @@ add_library(grpc src/core/lib/event_engine/default_event_engine_factory.cc src/core/lib/event_engine/event_engine.cc src/core/lib/event_engine/forkable.cc - src/core/lib/event_engine/memory_allocator.cc src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc src/core/lib/event_engine/posix_engine/ev_poll_posix.cc src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc src/core/lib/event_engine/posix_engine/internal_errqueue.cc src/core/lib/event_engine/posix_engine/lockfree_event.cc + src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc src/core/lib/event_engine/posix_engine/posix_endpoint.cc src/core/lib/event_engine/posix_engine/posix_engine.cc src/core/lib/event_engine/posix_engine/posix_engine_listener.cc @@ -2241,7 +2261,9 @@ add_library(grpc src/core/lib/event_engine/time_util.cc src/core/lib/event_engine/trace.cc src/core/lib/event_engine/utils.cc + src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc src/core/lib/event_engine/windows/iocp.cc + src/core/lib/event_engine/windows/native_windows_dns_resolver.cc src/core/lib/event_engine/windows/win_socket.cc src/core/lib/event_engine/windows/windows_endpoint.cc src/core/lib/event_engine/windows/windows_engine.cc @@ -2251,11 +2273,13 @@ add_library(grpc src/core/lib/experiments/experiments.cc src/core/lib/gprpp/load_file.cc src/core/lib/gprpp/per_cpu.cc + src/core/lib/gprpp/posix/directory_reader.cc src/core/lib/gprpp/ref_counted_string.cc src/core/lib/gprpp/status_helper.cc src/core/lib/gprpp/time.cc src/core/lib/gprpp/time_averaged_stats.cc src/core/lib/gprpp/validation_errors.cc + src/core/lib/gprpp/windows/directory_reader.cc src/core/lib/gprpp/work_serializer.cc src/core/lib/handshaker/proxy_mapper_registry.cc src/core/lib/http/format_request.cc @@ -2298,7 +2322,6 @@ add_library(grpc src/core/lib/iomgr/iomgr_posix.cc src/core/lib/iomgr/iomgr_posix_cfstream.cc src/core/lib/iomgr/iomgr_windows.cc - src/core/lib/iomgr/load_file.cc src/core/lib/iomgr/lockfree_event.cc src/core/lib/iomgr/polling_entity.cc src/core/lib/iomgr/pollset.cc @@ -2344,16 +2367,11 @@ add_library(grpc src/core/lib/json/json_reader.cc src/core/lib/json/json_util.cc src/core/lib/json/json_writer.cc - src/core/lib/load_balancing/lb_policy.cc - src/core/lib/load_balancing/lb_policy_registry.cc src/core/lib/matchers/matchers.cc src/core/lib/promise/activity.cc src/core/lib/promise/party.cc src/core/lib/promise/sleep.cc src/core/lib/promise/trace.cc - src/core/lib/resolver/resolver.cc - src/core/lib/resolver/resolver_registry.cc - src/core/lib/resolver/server_address.cc src/core/lib/resource_quota/api.cc src/core/lib/resource_quota/arena.cc src/core/lib/resource_quota/memory_quota.cc @@ -2405,6 +2423,7 @@ add_library(grpc src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc + src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc src/core/lib/security/credentials/tls/tls_credentials.cc src/core/lib/security/credentials/tls/tls_utils.cc src/core/lib/security/credentials/xds/xds_credentials.cc @@ -2413,19 +2432,19 @@ add_library(grpc src/core/lib/security/security_connector/insecure/insecure_security_connector.cc src/core/lib/security/security_connector/load_system_roots_fallback.cc src/core/lib/security/security_connector/load_system_roots_supported.cc + src/core/lib/security/security_connector/load_system_roots_windows.cc src/core/lib/security/security_connector/local/local_security_connector.cc src/core/lib/security/security_connector/security_connector.cc src/core/lib/security/security_connector/ssl/ssl_security_connector.cc src/core/lib/security/security_connector/ssl_utils.cc src/core/lib/security/security_connector/tls/tls_security_connector.cc src/core/lib/security/transport/client_auth_filter.cc + src/core/lib/security/transport/legacy_server_auth_filter.cc src/core/lib/security/transport/secure_endpoint.cc src/core/lib/security/transport/security_handshaker.cc src/core/lib/security/transport/server_auth_filter.cc src/core/lib/security/transport/tsi_error.cc src/core/lib/security/util/json_util.cc - src/core/lib/service_config/service_config_impl.cc - src/core/lib/service_config/service_config_parser.cc src/core/lib/slice/b64.cc src/core/lib/slice/percent_encoding.cc src/core/lib/slice/slice.cc @@ -2439,7 +2458,6 @@ add_library(grpc src/core/lib/surface/call.cc src/core/lib/surface/call_details.cc src/core/lib/surface/call_log_batch.cc - src/core/lib/surface/call_trace.cc src/core/lib/surface/channel.cc src/core/lib/surface/channel_init.cc src/core/lib/surface/channel_ping.cc @@ -2454,24 +2472,82 @@ add_library(grpc src/core/lib/surface/server.cc src/core/lib/surface/validate_metadata.cc src/core/lib/surface/version.cc + src/core/lib/surface/wait_for_cq_end_op.cc src/core/lib/transport/batch_builder.cc src/core/lib/transport/bdp_estimator.cc + src/core/lib/transport/call_factory.cc + src/core/lib/transport/call_filters.cc + src/core/lib/transport/call_final_info.cc + src/core/lib/transport/call_size_estimator.cc + src/core/lib/transport/call_spine.cc src/core/lib/transport/connectivity_state.cc src/core/lib/transport/error_utils.cc src/core/lib/transport/handshaker.cc src/core/lib/transport/handshaker_registry.cc src/core/lib/transport/http_connect_handshaker.cc + src/core/lib/transport/message.cc + src/core/lib/transport/metadata.cc src/core/lib/transport/metadata_batch.cc src/core/lib/transport/parsed_metadata.cc - src/core/lib/transport/pid_controller.cc src/core/lib/transport/status_conversion.cc src/core/lib/transport/tcp_connect_handshaker.cc src/core/lib/transport/timeout_encoding.cc src/core/lib/transport/transport.cc src/core/lib/transport/transport_op_string.cc src/core/lib/uri/uri_parser.cc + src/core/load_balancing/address_filtering.cc + src/core/load_balancing/backend_metric_parser.cc + src/core/load_balancing/child_policy_handler.cc + src/core/load_balancing/endpoint_list.cc + src/core/load_balancing/grpclb/client_load_reporting_filter.cc + src/core/load_balancing/grpclb/grpclb.cc + src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc + src/core/load_balancing/grpclb/grpclb_client_stats.cc + src/core/load_balancing/grpclb/load_balancer_api.cc + src/core/load_balancing/health_check_client.cc + src/core/load_balancing/lb_policy.cc + src/core/load_balancing/lb_policy_registry.cc + src/core/load_balancing/oob_backend_metric.cc + src/core/load_balancing/outlier_detection/outlier_detection.cc + src/core/load_balancing/pick_first/pick_first.cc + src/core/load_balancing/priority/priority.cc + src/core/load_balancing/ring_hash/ring_hash.cc + src/core/load_balancing/rls/rls.cc + src/core/load_balancing/round_robin/round_robin.cc + src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc + src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc + src/core/load_balancing/weighted_target/weighted_target.cc + src/core/load_balancing/xds/cds.cc + src/core/load_balancing/xds/xds_cluster_impl.cc + src/core/load_balancing/xds/xds_cluster_manager.cc + src/core/load_balancing/xds/xds_override_host.cc + src/core/load_balancing/xds/xds_wrr_locality.cc src/core/plugin_registry/grpc_plugin_registry.cc src/core/plugin_registry/grpc_plugin_registry_extra.cc + src/core/resolver/binder/binder_resolver.cc + src/core/resolver/dns/c_ares/dns_resolver_ares.cc + src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc + src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc + src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc + src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc + src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc + src/core/resolver/dns/dns_resolver_plugin.cc + src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc + src/core/resolver/dns/event_engine/service_config_helper.cc + src/core/resolver/dns/native/dns_resolver.cc + src/core/resolver/endpoint_addresses.cc + src/core/resolver/fake/fake_resolver.cc + src/core/resolver/google_c2p/google_c2p_resolver.cc + src/core/resolver/polling_resolver.cc + src/core/resolver/resolver.cc + src/core/resolver/resolver_registry.cc + src/core/resolver/sockaddr/sockaddr_resolver.cc + src/core/resolver/xds/xds_dependency_manager.cc + src/core/resolver/xds/xds_resolver.cc + src/core/resolver/xds/xds_resolver_trace.cc + src/core/service_config/service_config_channel_arg_filter.cc + src/core/service_config/service_config_impl.cc + src/core/service_config/service_config_parser.cc src/core/tsi/alts/crypt/aes_gcm.cc src/core/tsi/alts/crypt/gsec.cc src/core/tsi/alts/frame_protector/alts_counter.cc @@ -2514,9 +2590,12 @@ if(WIN32 AND MSVC) set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) - set_target_properties(grpc PROPERTIES DEFINE_SYMBOL "GRPC_DLL_EXPORTS") if(BUILD_SHARED_LIBS) - target_compile_definitions(grpc INTERFACE GRPC_DLL_IMPORTS) + target_compile_definitions(grpc + PRIVATE + "GRPC_DLL_EXPORTS" + "GPR_DLL_IMPORTS" + ) endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb @@ -2540,11 +2619,12 @@ target_include_directories(grpc ) target_link_libraries(grpc ${_gRPC_ALLTARGETS_LIBRARIES} - ${_gRPC_RE2_LIBRARIES} upb_json_lib upb_textformat_lib + ${_gRPC_RE2_LIBRARIES} ${_gRPC_ZLIB_LIBRARIES} absl::algorithm_container + absl::config absl::cleanup absl::flat_hash_map absl::flat_hash_set @@ -2553,6 +2633,8 @@ target_link_libraries(grpc absl::function_ref absl::hash absl::type_traits + absl::random_bit_gen_ref + absl::random_distributions absl::statusor absl::span absl::utility @@ -2572,6 +2654,7 @@ foreach(_hdr include/grpc/compression.h include/grpc/event_engine/endpoint_config.h include/grpc/event_engine/event_engine.h + include/grpc/event_engine/extensible.h include/grpc/event_engine/internal/memory_allocator_impl.h include/grpc/event_engine/internal/slice_cast.h include/grpc/event_engine/memory_allocator.h @@ -2582,9 +2665,11 @@ foreach(_hdr include/grpc/fork.h include/grpc/grpc.h include/grpc/grpc_audit_logging.h + include/grpc/grpc_crl_provider.h include/grpc/grpc_posix.h include/grpc/grpc_security.h include/grpc/grpc_security_constants.h + include/grpc/impl/call.h include/grpc/impl/channel_arg_names.h include/grpc/impl/codegen/atm.h include/grpc/impl/codegen/atm_gcc_atomic.h @@ -2681,6 +2766,13 @@ if(WIN32 AND MSVC) set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_test_util + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL @@ -2740,6 +2832,13 @@ if(WIN32 AND MSVC) set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_test_util_unsecure + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL @@ -2776,63 +2875,30 @@ endif() add_library(grpc_unsecure + src/core/client_channel/backup_poller.cc + src/core/client_channel/channel_connectivity.cc + src/core/client_channel/client_channel_channelz.cc + src/core/client_channel/client_channel_factory.cc + src/core/client_channel/client_channel_filter.cc + src/core/client_channel/client_channel_plugin.cc + src/core/client_channel/client_channel_service_config.cc + src/core/client_channel/config_selector.cc + src/core/client_channel/dynamic_filters.cc + src/core/client_channel/global_subchannel_pool.cc + src/core/client_channel/http_proxy_mapper.cc + src/core/client_channel/local_subchannel_pool.cc + src/core/client_channel/retry_filter.cc + src/core/client_channel/retry_filter_legacy_call_data.cc + src/core/client_channel/retry_service_config.cc + src/core/client_channel/retry_throttle.cc + src/core/client_channel/subchannel.cc + src/core/client_channel/subchannel_pool_interface.cc + src/core/client_channel/subchannel_stream_client.cc src/core/ext/filters/backend_metrics/backend_metric_filter.cc src/core/ext/filters/census/grpc_context.cc src/core/ext/filters/channel_idle/channel_idle_filter.cc src/core/ext/filters/channel_idle/idle_filter_state.cc - src/core/ext/filters/client_channel/backend_metric.cc - src/core/ext/filters/client_channel/backup_poller.cc - src/core/ext/filters/client_channel/channel_connectivity.cc - src/core/ext/filters/client_channel/client_channel.cc - src/core/ext/filters/client_channel/client_channel_channelz.cc - src/core/ext/filters/client_channel/client_channel_factory.cc - src/core/ext/filters/client_channel/client_channel_plugin.cc - src/core/ext/filters/client_channel/client_channel_service_config.cc - src/core/ext/filters/client_channel/config_selector.cc - src/core/ext/filters/client_channel/dynamic_filters.cc - src/core/ext/filters/client_channel/global_subchannel_pool.cc - src/core/ext/filters/client_channel/http_proxy_mapper.cc - src/core/ext/filters/client_channel/lb_policy/address_filtering.cc - src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc - src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc - src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc - src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc - src/core/ext/filters/client_channel/lb_policy/health_check_client.cc - src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc - src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc - src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc - src/core/ext/filters/client_channel/lb_policy/priority/priority.cc - src/core/ext/filters/client_channel/lb_policy/rls/rls.cc - src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc - src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc - src/core/ext/filters/client_channel/local_subchannel_pool.cc - src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc - src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc - src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc - src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc - src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc - src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc - src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc - src/core/ext/filters/client_channel/resolver/polling_resolver.cc - src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc - src/core/ext/filters/client_channel/retry_filter.cc - src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc - src/core/ext/filters/client_channel/retry_service_config.cc - src/core/ext/filters/client_channel/retry_throttle.cc - src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc - src/core/ext/filters/client_channel/subchannel.cc - src/core/ext/filters/client_channel/subchannel_pool_interface.cc - src/core/ext/filters/client_channel/subchannel_stream_client.cc + src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc src/core/ext/filters/deadline/deadline_filter.cc src/core/ext/filters/fault_injection/fault_injection_filter.cc src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc @@ -2840,6 +2906,7 @@ add_library(grpc_unsecure src/core/ext/filters/http/client_authority_filter.cc src/core/ext/filters/http/http_filters_plugin.cc src/core/ext/filters/http/message_compress/compression_filter.cc + src/core/ext/filters/http/message_compress/legacy_compression_filter.cc src/core/ext/filters/http/server/http_server_filter.cc src/core/ext/filters/message_size/message_size_filter.cc src/core/ext/transport/chttp2/client/chttp2_connector.cc @@ -2849,6 +2916,7 @@ add_library(grpc_unsecure src/core/ext/transport/chttp2/transport/chttp2_transport.cc src/core/ext/transport/chttp2/transport/decode_huff.cc src/core/ext/transport/chttp2/transport/flow_control.cc + src/core/ext/transport/chttp2/transport/frame.cc src/core/ext/transport/chttp2/transport/frame_data.cc src/core/ext/transport/chttp2/transport/frame_goaway.cc src/core/ext/transport/chttp2/transport/frame_ping.cc @@ -2863,33 +2931,37 @@ add_library(grpc_unsecure src/core/ext/transport/chttp2/transport/http2_settings.cc src/core/ext/transport/chttp2/transport/http_trace.cc src/core/ext/transport/chttp2/transport/huffsyms.cc + src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc src/core/ext/transport/chttp2/transport/parsing.cc src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc + src/core/ext/transport/chttp2/transport/ping_callbacks.cc src/core/ext/transport/chttp2/transport/ping_rate_policy.cc src/core/ext/transport/chttp2/transport/stream_lists.cc src/core/ext/transport/chttp2/transport/varint.cc + src/core/ext/transport/chttp2/transport/write_size_policy.cc src/core/ext/transport/chttp2/transport/writing.cc src/core/ext/transport/inproc/inproc_plugin.cc src/core/ext/transport/inproc/inproc_transport.cc - src/core/ext/upb-generated/google/api/annotations.upb.c - src/core/ext/upb-generated/google/api/http.upb.c - src/core/ext/upb-generated/google/protobuf/any.upb.c - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - src/core/ext/upb-generated/google/protobuf/duration.upb.c - src/core/ext/upb-generated/google/protobuf/empty.upb.c - src/core/ext/upb-generated/google/protobuf/struct.upb.c - src/core/ext/upb-generated/google/protobuf/timestamp.upb.c - src/core/ext/upb-generated/google/protobuf/wrappers.upb.c - src/core/ext/upb-generated/google/rpc/status.upb.c - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c - src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c - src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c - src/core/ext/upb-generated/validate/validate.upb.c - src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c - src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c + src/core/ext/transport/inproc/legacy_inproc_transport.cc + src/core/ext/upb-gen/google/api/annotations.upb_minitable.c + src/core/ext/upb-gen/google/api/http.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c + src/core/ext/upb-gen/validate/validate.upb_minitable.c + src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c + src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c src/core/lib/address_utils/parse_address.cc src/core/lib/address_utils/sockaddr_utils.cc src/core/lib/backoff/backoff.cc @@ -2900,6 +2972,7 @@ add_library(grpc_unsecure src/core/lib/channel/channel_stack.cc src/core/lib/channel/channel_stack_builder.cc src/core/lib/channel/channel_stack_builder_impl.cc + src/core/lib/channel/channel_stack_trace.cc src/core/lib/channel/channel_trace.cc src/core/lib/channel/channelz.cc src/core/lib/channel/channelz_registry.cc @@ -2925,12 +2998,12 @@ add_library(grpc_unsecure src/core/lib/event_engine/default_event_engine_factory.cc src/core/lib/event_engine/event_engine.cc src/core/lib/event_engine/forkable.cc - src/core/lib/event_engine/memory_allocator.cc src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc src/core/lib/event_engine/posix_engine/ev_poll_posix.cc src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc src/core/lib/event_engine/posix_engine/internal_errqueue.cc src/core/lib/event_engine/posix_engine/lockfree_event.cc + src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc src/core/lib/event_engine/posix_engine/posix_endpoint.cc src/core/lib/event_engine/posix_engine/posix_engine.cc src/core/lib/event_engine/posix_engine/posix_engine_listener.cc @@ -2955,7 +3028,9 @@ add_library(grpc_unsecure src/core/lib/event_engine/time_util.cc src/core/lib/event_engine/trace.cc src/core/lib/event_engine/utils.cc + src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc src/core/lib/event_engine/windows/iocp.cc + src/core/lib/event_engine/windows/native_windows_dns_resolver.cc src/core/lib/event_engine/windows/win_socket.cc src/core/lib/event_engine/windows/windows_endpoint.cc src/core/lib/event_engine/windows/windows_engine.cc @@ -3011,7 +3086,6 @@ add_library(grpc_unsecure src/core/lib/iomgr/iomgr_posix.cc src/core/lib/iomgr/iomgr_posix_cfstream.cc src/core/lib/iomgr/iomgr_windows.cc - src/core/lib/iomgr/load_file.cc src/core/lib/iomgr/lockfree_event.cc src/core/lib/iomgr/polling_entity.cc src/core/lib/iomgr/pollset.cc @@ -3056,15 +3130,10 @@ add_library(grpc_unsecure src/core/lib/json/json_object_loader.cc src/core/lib/json/json_reader.cc src/core/lib/json/json_writer.cc - src/core/lib/load_balancing/lb_policy.cc - src/core/lib/load_balancing/lb_policy_registry.cc src/core/lib/promise/activity.cc src/core/lib/promise/party.cc src/core/lib/promise/sleep.cc src/core/lib/promise/trace.cc - src/core/lib/resolver/resolver.cc - src/core/lib/resolver/resolver_registry.cc - src/core/lib/resolver/server_address.cc src/core/lib/resource_quota/api.cc src/core/lib/resource_quota/arena.cc src/core/lib/resource_quota/memory_quota.cc @@ -3095,15 +3164,15 @@ add_library(grpc_unsecure src/core/lib/security/security_connector/insecure/insecure_security_connector.cc src/core/lib/security/security_connector/load_system_roots_fallback.cc src/core/lib/security/security_connector/load_system_roots_supported.cc + src/core/lib/security/security_connector/load_system_roots_windows.cc src/core/lib/security/security_connector/security_connector.cc src/core/lib/security/transport/client_auth_filter.cc + src/core/lib/security/transport/legacy_server_auth_filter.cc src/core/lib/security/transport/secure_endpoint.cc src/core/lib/security/transport/security_handshaker.cc src/core/lib/security/transport/server_auth_filter.cc src/core/lib/security/transport/tsi_error.cc src/core/lib/security/util/json_util.cc - src/core/lib/service_config/service_config_impl.cc - src/core/lib/service_config/service_config_parser.cc src/core/lib/slice/b64.cc src/core/lib/slice/percent_encoding.cc src/core/lib/slice/slice.cc @@ -3117,7 +3186,6 @@ add_library(grpc_unsecure src/core/lib/surface/call.cc src/core/lib/surface/call_details.cc src/core/lib/surface/call_log_batch.cc - src/core/lib/surface/call_trace.cc src/core/lib/surface/channel.cc src/core/lib/surface/channel_init.cc src/core/lib/surface/channel_ping.cc @@ -3132,24 +3200,72 @@ add_library(grpc_unsecure src/core/lib/surface/server.cc src/core/lib/surface/validate_metadata.cc src/core/lib/surface/version.cc + src/core/lib/surface/wait_for_cq_end_op.cc src/core/lib/transport/batch_builder.cc src/core/lib/transport/bdp_estimator.cc + src/core/lib/transport/call_factory.cc + src/core/lib/transport/call_filters.cc + src/core/lib/transport/call_final_info.cc + src/core/lib/transport/call_size_estimator.cc + src/core/lib/transport/call_spine.cc src/core/lib/transport/connectivity_state.cc src/core/lib/transport/error_utils.cc src/core/lib/transport/handshaker.cc src/core/lib/transport/handshaker_registry.cc src/core/lib/transport/http_connect_handshaker.cc + src/core/lib/transport/message.cc + src/core/lib/transport/metadata.cc src/core/lib/transport/metadata_batch.cc src/core/lib/transport/parsed_metadata.cc - src/core/lib/transport/pid_controller.cc src/core/lib/transport/status_conversion.cc src/core/lib/transport/tcp_connect_handshaker.cc src/core/lib/transport/timeout_encoding.cc src/core/lib/transport/transport.cc src/core/lib/transport/transport_op_string.cc src/core/lib/uri/uri_parser.cc + src/core/load_balancing/address_filtering.cc + src/core/load_balancing/backend_metric_parser.cc + src/core/load_balancing/child_policy_handler.cc + src/core/load_balancing/endpoint_list.cc + src/core/load_balancing/grpclb/client_load_reporting_filter.cc + src/core/load_balancing/grpclb/grpclb.cc + src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc + src/core/load_balancing/grpclb/grpclb_client_stats.cc + src/core/load_balancing/grpclb/load_balancer_api.cc + src/core/load_balancing/health_check_client.cc + src/core/load_balancing/lb_policy.cc + src/core/load_balancing/lb_policy_registry.cc + src/core/load_balancing/oob_backend_metric.cc + src/core/load_balancing/outlier_detection/outlier_detection.cc + src/core/load_balancing/pick_first/pick_first.cc + src/core/load_balancing/priority/priority.cc + src/core/load_balancing/rls/rls.cc + src/core/load_balancing/round_robin/round_robin.cc + src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc + src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc + src/core/load_balancing/weighted_target/weighted_target.cc src/core/plugin_registry/grpc_plugin_registry.cc src/core/plugin_registry/grpc_plugin_registry_noextra.cc + src/core/resolver/binder/binder_resolver.cc + src/core/resolver/dns/c_ares/dns_resolver_ares.cc + src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc + src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc + src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc + src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc + src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc + src/core/resolver/dns/dns_resolver_plugin.cc + src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc + src/core/resolver/dns/event_engine/service_config_helper.cc + src/core/resolver/dns/native/dns_resolver.cc + src/core/resolver/endpoint_addresses.cc + src/core/resolver/fake/fake_resolver.cc + src/core/resolver/polling_resolver.cc + src/core/resolver/resolver.cc + src/core/resolver/resolver_registry.cc + src/core/resolver/sockaddr/sockaddr_resolver.cc + src/core/service_config/service_config_channel_arg_filter.cc + src/core/service_config/service_config_impl.cc + src/core/service_config/service_config_parser.cc src/core/tsi/alts/handshaker/transport_security_common_api.cc src/core/tsi/fake_transport_security.cc src/core/tsi/local_transport_security.cc @@ -3159,7 +3275,13 @@ add_library(grpc_unsecure third_party/upb/upb/mini_descriptor/build_enum.c third_party/upb/upb/mini_descriptor/decode.c third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/decode_fast.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/eps_copy_input_stream.c + third_party/upb/upb/wire/reader.c ${gRPC_ADDITIONAL_DLL_SRC} ) @@ -3174,9 +3296,12 @@ if(WIN32 AND MSVC) set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) - set_target_properties(grpc_unsecure PROPERTIES DEFINE_SYMBOL "GRPC_DLL_EXPORTS") if(BUILD_SHARED_LIBS) - target_compile_definitions(grpc_unsecure INTERFACE GRPC_DLL_IMPORTS) + target_compile_definitions(grpc_unsecure + PRIVATE + "GRPC_DLL_EXPORTS" + "GPR_DLL_IMPORTS" + ) endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb @@ -3200,10 +3325,11 @@ target_include_directories(grpc_unsecure ) target_link_libraries(grpc_unsecure ${_gRPC_ALLTARGETS_LIBRARIES} - upb_collections_lib - upb + upb_message_lib + utf8_range_lib ${_gRPC_ZLIB_LIBRARIES} absl::algorithm_container + absl::config absl::cleanup absl::flat_hash_map absl::flat_hash_set @@ -3212,6 +3338,8 @@ target_link_libraries(grpc_unsecure absl::function_ref absl::hash absl::type_traits + absl::random_bit_gen_ref + absl::random_distributions absl::statusor absl::span absl::utility @@ -3230,6 +3358,7 @@ foreach(_hdr include/grpc/compression.h include/grpc/event_engine/endpoint_config.h include/grpc/event_engine/event_engine.h + include/grpc/event_engine/extensible.h include/grpc/event_engine/internal/memory_allocator_impl.h include/grpc/event_engine/internal/slice_cast.h include/grpc/event_engine/memory_allocator.h @@ -3240,9 +3369,11 @@ foreach(_hdr include/grpc/fork.h include/grpc/grpc.h include/grpc/grpc_audit_logging.h + include/grpc/grpc_crl_provider.h include/grpc/grpc_posix.h include/grpc/grpc_security.h include/grpc/grpc_security_constants.h + include/grpc/impl/call.h include/grpc/impl/channel_arg_names.h include/grpc/impl/codegen/atm.h include/grpc/impl/codegen/atm_gcc_atomic.h @@ -3369,9 +3500,15 @@ target_include_directories(gtest ) target_link_libraries(gtest ${_gRPC_ALLTARGETS_LIBRARIES} + ${_gRPC_RE2_LIBRARIES} + absl::flat_hash_set absl::failure_signal_handler absl::stacktrace absl::symbolize + absl::flags + absl::flags_parse + absl::flags_reflection + absl::flags_usage absl::strings absl::any absl::optional @@ -3382,22 +3519,89 @@ target_link_libraries(gtest endif() -add_library(upb ${_gRPC_STATIC_WIN32} +add_library(upb_base_lib third_party/upb/upb/base/status.c - third_party/upb/upb/collections/array.c - third_party/upb/upb/collections/map.c - third_party/upb/upb/collections/map_sorter.c - third_party/upb/upb/hash/common.c +) + +target_compile_features(upb_base_lib PUBLIC cxx_std_14) + +set_target_properties(upb_base_lib PROPERTIES + VERSION ${gRPC_CORE_VERSION} + SOVERSION ${gRPC_CORE_SOVERSION} +) + +if(WIN32 AND MSVC) + set_target_properties(upb_base_lib PROPERTIES COMPILE_PDB_NAME "upb_base_lib" + COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" + ) + if(gRPC_INSTALL) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/upb_base_lib.pdb + DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL + ) + endif() +endif() + +target_include_directories(upb_base_lib + PUBLIC $ $ + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} +) +target_link_libraries(upb_base_lib + ${_gRPC_ALLTARGETS_LIBRARIES} +) + + + +if(gRPC_INSTALL) + install(TARGETS upb_base_lib EXPORT gRPCTargets + RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} + BUNDLE DESTINATION ${gRPC_INSTALL_BINDIR} + LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} + ) +endif() + + + +add_library(upb_json_lib ${_gRPC_STATIC_WIN32} + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + third_party/upb/upb/json/decode.c + third_party/upb/upb/json/encode.c third_party/upb/upb/lex/atoi.c third_party/upb/upb/lex/round_trip.c third_party/upb/upb/lex/strtod.c third_party/upb/upb/lex/unicode.c - third_party/upb/upb/mem/alloc.c - third_party/upb/upb/mem/arena.c - third_party/upb/upb/message/message.c - third_party/upb/upb/mini_table/extension_registry.c - third_party/upb/upb/mini_table/internal/message.c - third_party/upb/upb/mini_table/message.c + third_party/upb/upb/message/accessors.c + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/reflection/def_pool.c + third_party/upb/upb/reflection/def_type.c + third_party/upb/upb/reflection/desc_state.c + third_party/upb/upb/reflection/enum_def.c + third_party/upb/upb/reflection/enum_reserved_range.c + third_party/upb/upb/reflection/enum_value_def.c + third_party/upb/upb/reflection/extension_range.c + third_party/upb/upb/reflection/field_def.c + third_party/upb/upb/reflection/file_def.c + third_party/upb/upb/reflection/internal/def_builder.c + third_party/upb/upb/reflection/internal/strdup2.c + third_party/upb/upb/reflection/message.c + third_party/upb/upb/reflection/message_def.c + third_party/upb/upb/reflection/message_reserved_range.c + third_party/upb/upb/reflection/method_def.c + third_party/upb/upb/reflection/oneof_def.c + third_party/upb/upb/reflection/service_def.c third_party/upb/upb/wire/decode.c third_party/upb/upb/wire/decode_fast.c third_party/upb/upb/wire/encode.c @@ -3405,25 +3609,25 @@ add_library(upb ${_gRPC_STATIC_WIN32} third_party/upb/upb/wire/reader.c ) -target_compile_features(upb PUBLIC cxx_std_14) +target_compile_features(upb_json_lib PUBLIC cxx_std_14) -set_target_properties(upb PROPERTIES +set_target_properties(upb_json_lib PROPERTIES VERSION ${gRPC_CORE_VERSION} SOVERSION ${gRPC_CORE_SOVERSION} ) if(WIN32 AND MSVC) - set_target_properties(upb PROPERTIES COMPILE_PDB_NAME "upb" + set_target_properties(upb_json_lib PROPERTIES COMPILE_PDB_NAME "upb_json_lib" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) if(gRPC_INSTALL) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/upb.pdb + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/upb_json_lib.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL ) endif() endif() -target_include_directories(upb +target_include_directories(upb_json_lib PUBLIC $ $ PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} @@ -3436,15 +3640,16 @@ target_include_directories(upb ${_gRPC_XXHASH_INCLUDE_DIR} ${_gRPC_ZLIB_INCLUDE_DIR} ) -target_link_libraries(upb +target_link_libraries(upb_json_lib ${_gRPC_ALLTARGETS_LIBRARIES} + upb_message_lib utf8_range_lib ) if(gRPC_INSTALL) - install(TARGETS upb EXPORT gRPCTargets + install(TARGETS upb_json_lib EXPORT gRPCTargets RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} BUNDLE DESTINATION ${gRPC_INSTALL_BINDIR} LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} @@ -3454,39 +3659,30 @@ endif() -add_library(upb_collections_lib ${_gRPC_STATIC_WIN32} - third_party/upb/upb/base/status.c - third_party/upb/upb/collections/array.c - third_party/upb/upb/collections/map.c - third_party/upb/upb/collections/map_sorter.c - third_party/upb/upb/hash/common.c +add_library(upb_mem_lib third_party/upb/upb/mem/alloc.c third_party/upb/upb/mem/arena.c - third_party/upb/upb/message/message.c - third_party/upb/upb/mini_table/extension_registry.c - third_party/upb/upb/mini_table/internal/message.c - third_party/upb/upb/mini_table/message.c ) -target_compile_features(upb_collections_lib PUBLIC cxx_std_14) +target_compile_features(upb_mem_lib PUBLIC cxx_std_14) -set_target_properties(upb_collections_lib PROPERTIES +set_target_properties(upb_mem_lib PROPERTIES VERSION ${gRPC_CORE_VERSION} SOVERSION ${gRPC_CORE_SOVERSION} ) if(WIN32 AND MSVC) - set_target_properties(upb_collections_lib PROPERTIES COMPILE_PDB_NAME "upb_collections_lib" + set_target_properties(upb_mem_lib PROPERTIES COMPILE_PDB_NAME "upb_mem_lib" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) if(gRPC_INSTALL) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/upb_collections_lib.pdb + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/upb_mem_lib.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL ) endif() endif() -target_include_directories(upb_collections_lib +target_include_directories(upb_mem_lib PUBLIC $ $ PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} @@ -3499,14 +3695,14 @@ target_include_directories(upb_collections_lib ${_gRPC_XXHASH_INCLUDE_DIR} ${_gRPC_ZLIB_INCLUDE_DIR} ) -target_link_libraries(upb_collections_lib +target_link_libraries(upb_mem_lib ${_gRPC_ALLTARGETS_LIBRARIES} ) if(gRPC_INSTALL) - install(TARGETS upb_collections_lib EXPORT gRPCTargets + install(TARGETS upb_mem_lib EXPORT gRPCTargets RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} BUNDLE DESTINATION ${gRPC_INSTALL_BINDIR} LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} @@ -3516,53 +3712,36 @@ endif() -add_library(upb_json_lib ${_gRPC_STATIC_WIN32} - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - third_party/upb/upb/json/decode.c - third_party/upb/upb/json/encode.c - third_party/upb/upb/message/accessors.c - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/reflection/def_builder.c - third_party/upb/upb/reflection/def_pool.c - third_party/upb/upb/reflection/def_type.c - third_party/upb/upb/reflection/desc_state.c - third_party/upb/upb/reflection/enum_def.c - third_party/upb/upb/reflection/enum_reserved_range.c - third_party/upb/upb/reflection/enum_value_def.c - third_party/upb/upb/reflection/extension_range.c - third_party/upb/upb/reflection/field_def.c - third_party/upb/upb/reflection/file_def.c - third_party/upb/upb/reflection/message.c - third_party/upb/upb/reflection/message_def.c - third_party/upb/upb/reflection/message_reserved_range.c - third_party/upb/upb/reflection/method_def.c - third_party/upb/upb/reflection/oneof_def.c - third_party/upb/upb/reflection/service_def.c +add_library(upb_message_lib + third_party/upb/upb/hash/common.c + third_party/upb/upb/message/array.c + third_party/upb/upb/message/map.c + third_party/upb/upb/message/map_sorter.c + third_party/upb/upb/message/message.c + third_party/upb/upb/mini_table/extension_registry.c + third_party/upb/upb/mini_table/internal/message.c + third_party/upb/upb/mini_table/message.c ) -target_compile_features(upb_json_lib PUBLIC cxx_std_14) +target_compile_features(upb_message_lib PUBLIC cxx_std_14) -set_target_properties(upb_json_lib PROPERTIES +set_target_properties(upb_message_lib PROPERTIES VERSION ${gRPC_CORE_VERSION} SOVERSION ${gRPC_CORE_SOVERSION} ) if(WIN32 AND MSVC) - set_target_properties(upb_json_lib PROPERTIES COMPILE_PDB_NAME "upb_json_lib" + set_target_properties(upb_message_lib PROPERTIES COMPILE_PDB_NAME "upb_message_lib" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) if(gRPC_INSTALL) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/upb_json_lib.pdb + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/upb_message_lib.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL ) endif() endif() -target_include_directories(upb_json_lib +target_include_directories(upb_message_lib PUBLIC $ $ PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} @@ -3575,16 +3754,16 @@ target_include_directories(upb_json_lib ${_gRPC_XXHASH_INCLUDE_DIR} ${_gRPC_ZLIB_INCLUDE_DIR} ) -target_link_libraries(upb_json_lib +target_link_libraries(upb_message_lib ${_gRPC_ALLTARGETS_LIBRARIES} - upb_collections_lib - upb + upb_base_lib + upb_mem_lib ) if(gRPC_INSTALL) - install(TARGETS upb_json_lib EXPORT gRPCTargets + install(TARGETS upb_message_lib EXPORT gRPCTargets RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} BUNDLE DESTINATION ${gRPC_INSTALL_BINDIR} LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} @@ -3595,14 +3774,17 @@ endif() add_library(upb_textformat_lib ${_gRPC_STATIC_WIN32} - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + third_party/upb/upb/lex/atoi.c + third_party/upb/upb/lex/round_trip.c + third_party/upb/upb/lex/strtod.c + third_party/upb/upb/lex/unicode.c third_party/upb/upb/message/accessors.c third_party/upb/upb/mini_descriptor/build_enum.c third_party/upb/upb/mini_descriptor/decode.c third_party/upb/upb/mini_descriptor/internal/base92.c third_party/upb/upb/mini_descriptor/internal/encode.c third_party/upb/upb/mini_descriptor/link.c - third_party/upb/upb/reflection/def_builder.c third_party/upb/upb/reflection/def_pool.c third_party/upb/upb/reflection/def_type.c third_party/upb/upb/reflection/desc_state.c @@ -3612,6 +3794,8 @@ add_library(upb_textformat_lib ${_gRPC_STATIC_WIN32} third_party/upb/upb/reflection/extension_range.c third_party/upb/upb/reflection/field_def.c third_party/upb/upb/reflection/file_def.c + third_party/upb/upb/reflection/internal/def_builder.c + third_party/upb/upb/reflection/internal/strdup2.c third_party/upb/upb/reflection/message.c third_party/upb/upb/reflection/message_def.c third_party/upb/upb/reflection/message_reserved_range.c @@ -3619,6 +3803,11 @@ add_library(upb_textformat_lib ${_gRPC_STATIC_WIN32} third_party/upb/upb/reflection/oneof_def.c third_party/upb/upb/reflection/service_def.c third_party/upb/upb/text/encode.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/decode_fast.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/eps_copy_input_stream.c + third_party/upb/upb/wire/reader.c ) target_compile_features(upb_textformat_lib PUBLIC cxx_std_14) @@ -3654,8 +3843,8 @@ target_include_directories(upb_textformat_lib ) target_link_libraries(upb_textformat_lib ${_gRPC_ALLTARGETS_LIBRARIES} - upb_collections_lib - upb + upb_message_lib + utf8_range_lib ) @@ -3727,7 +3916,7 @@ if(gRPC_BUILD_TESTS) if(gRPC_BUILD_CODEGEN) -add_library(benchmark_helpers +add_library(benchmark_helpers ${_gRPC_STATIC_WIN32} ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h @@ -3751,7 +3940,6 @@ add_library(benchmark_helpers test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc @@ -3769,6 +3957,14 @@ if(WIN32 AND MSVC) set_target_properties(benchmark_helpers PROPERTIES COMPILE_PDB_NAME "benchmark_helpers" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) + if(BUILD_SHARED_LIBS) + target_compile_definitions(benchmark_helpers + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/benchmark_helpers.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL @@ -3836,7 +4032,6 @@ add_library(grpc++ src/cpp/common/alarm.cc src/cpp/common/auth_property_iterator.cc src/cpp/common/channel_arguments.cc - src/cpp/common/channel_filter.cc src/cpp/common/completion_queue_cc.cc src/cpp/common/resource_quota_cc.cc src/cpp/common/rpc_method.cc @@ -3863,6 +4058,7 @@ add_library(grpc++ src/cpp/server/server_cc.cc src/cpp/server/server_context.cc src/cpp/server/server_posix.cc + src/cpp/server/xds_server_builder.cc src/cpp/server/xds_server_credentials.cc src/cpp/thread_manager/thread_manager.cc src/cpp/util/byte_buffer_cc.cc @@ -3883,9 +4079,13 @@ if(WIN32 AND MSVC) set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) - set_target_properties(grpc++ PROPERTIES DEFINE_SYMBOL "GRPCXX_DLL_EXPORTS") if(BUILD_SHARED_LIBS) - target_compile_definitions(grpc++ INTERFACE GRPCXX_DLL_IMPORTS) + target_compile_definitions(grpc++ + PRIVATE + "GRPCXX_DLL_EXPORTS" + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb @@ -4089,6 +4289,7 @@ foreach(_hdr include/grpcpp/security/tls_certificate_provider.h include/grpcpp/security/tls_certificate_verifier.h include/grpcpp/security/tls_credentials_options.h + include/grpcpp/security/tls_crl_provider.h include/grpcpp/server.h include/grpcpp/server_builder.h include/grpcpp/server_context.h @@ -4156,6 +4357,14 @@ if(WIN32 AND MSVC) set_target_properties(grpc++_alts PROPERTIES COMPILE_PDB_NAME "grpc++_alts" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc++_alts + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_alts.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL @@ -4220,6 +4429,14 @@ if(WIN32 AND MSVC) set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc++_error_details + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL @@ -4270,7 +4487,11 @@ endif() if(gRPC_BUILD_CODEGEN) -add_library(grpc++_reflection +add_library(grpc++_reflection ${_gRPC_STATIC_WIN32} + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1/reflection.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1/reflection.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1/reflection.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1/reflection.grpc.pb.h ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h @@ -4290,6 +4511,14 @@ if(WIN32 AND MSVC) set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc++_reflection + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL @@ -4358,6 +4587,14 @@ if(WIN32 AND MSVC) set_target_properties(grpc++_test PROPERTIES COMPILE_PDB_NAME "grpc++_test" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc++_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL @@ -4424,6 +4661,12 @@ if(WIN32 AND MSVC) set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc++_test_config + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL @@ -4469,7 +4712,6 @@ add_library(grpc++_test_util test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc @@ -4491,6 +4733,14 @@ if(WIN32 AND MSVC) set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc++_test_util + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL @@ -4534,7 +4784,6 @@ add_library(grpc++_unsecure src/cpp/client/insecure_credentials.cc src/cpp/common/alarm.cc src/cpp/common/channel_arguments.cc - src/cpp/common/channel_filter.cc src/cpp/common/completion_queue_cc.cc src/cpp/common/insecure_create_auth_context.cc src/cpp/common/resource_quota_cc.cc @@ -4561,6 +4810,7 @@ add_library(grpc++_unsecure src/cpp/util/string_ref.cc src/cpp/util/time_cc.cc ${gRPC_UPB_GEN_DUPL_SRC} + ${gRPC_ADDITIONAL_DLL_CXX_SRC} ) target_compile_features(grpc++_unsecure PUBLIC cxx_std_14) @@ -4574,9 +4824,13 @@ if(WIN32 AND MSVC) set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) - set_target_properties(grpc++_unsecure PROPERTIES DEFINE_SYMBOL "GRPCXX_DLL_EXPORTS") if(BUILD_SHARED_LIBS) - target_compile_definitions(grpc++_unsecure INTERFACE GRPCXX_DLL_IMPORTS) + target_compile_definitions(grpc++_unsecure + PRIVATE + "GRPCXX_DLL_EXPORTS" + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb @@ -4777,6 +5031,7 @@ foreach(_hdr include/grpcpp/security/tls_certificate_provider.h include/grpcpp/security/tls_certificate_verifier.h include/grpcpp/security/tls_credentials_options.h + include/grpcpp/security/tls_crl_provider.h include/grpcpp/server.h include/grpcpp/server_builder.h include/grpcpp/server_context.h @@ -4827,21 +5082,23 @@ endif() add_library(grpc_authorization_provider - src/core/ext/upb-generated/google/protobuf/any.upb.c - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - src/core/ext/upb-generated/google/rpc/status.upb.c - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c + src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c src/core/lib/address_utils/parse_address.cc src/core/lib/address_utils/sockaddr_utils.cc src/core/lib/backoff/backoff.cc + src/core/lib/backoff/random_early_detection.cc src/core/lib/channel/call_tracer.cc src/core/lib/channel/channel_args.cc src/core/lib/channel/channel_args_preconditioning.cc src/core/lib/channel/channel_stack.cc src/core/lib/channel/channel_stack_builder.cc src/core/lib/channel/channel_stack_builder_impl.cc + src/core/lib/channel/channel_stack_trace.cc src/core/lib/channel/channel_trace.cc src/core/lib/channel/channelz.cc src/core/lib/channel/channelz_registry.cc @@ -4867,12 +5124,12 @@ add_library(grpc_authorization_provider src/core/lib/event_engine/default_event_engine_factory.cc src/core/lib/event_engine/event_engine.cc src/core/lib/event_engine/forkable.cc - src/core/lib/event_engine/memory_allocator.cc src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc src/core/lib/event_engine/posix_engine/ev_poll_posix.cc src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc src/core/lib/event_engine/posix_engine/internal_errqueue.cc src/core/lib/event_engine/posix_engine/lockfree_event.cc + src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc src/core/lib/event_engine/posix_engine/posix_endpoint.cc src/core/lib/event_engine/posix_engine/posix_engine.cc src/core/lib/event_engine/posix_engine/posix_engine_listener.cc @@ -4897,7 +5154,9 @@ add_library(grpc_authorization_provider src/core/lib/event_engine/time_util.cc src/core/lib/event_engine/trace.cc src/core/lib/event_engine/utils.cc + src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc src/core/lib/event_engine/windows/iocp.cc + src/core/lib/event_engine/windows/native_windows_dns_resolver.cc src/core/lib/event_engine/windows/win_socket.cc src/core/lib/event_engine/windows/windows_endpoint.cc src/core/lib/event_engine/windows/windows_engine.cc @@ -4950,7 +5209,6 @@ add_library(grpc_authorization_provider src/core/lib/iomgr/iomgr_posix.cc src/core/lib/iomgr/iomgr_posix_cfstream.cc src/core/lib/iomgr/iomgr_windows.cc - src/core/lib/iomgr/load_file.cc src/core/lib/iomgr/lockfree_event.cc src/core/lib/iomgr/polling_entity.cc src/core/lib/iomgr/pollset.cc @@ -4994,15 +5252,10 @@ add_library(grpc_authorization_provider src/core/lib/iomgr/wakeup_fd_posix.cc src/core/lib/json/json_reader.cc src/core/lib/json/json_writer.cc - src/core/lib/load_balancing/lb_policy.cc - src/core/lib/load_balancing/lb_policy_registry.cc src/core/lib/matchers/matchers.cc src/core/lib/promise/activity.cc src/core/lib/promise/party.cc src/core/lib/promise/trace.cc - src/core/lib/resolver/resolver.cc - src/core/lib/resolver/resolver_registry.cc - src/core/lib/resolver/server_address.cc src/core/lib/resource_quota/api.cc src/core/lib/resource_quota/arena.cc src/core/lib/resource_quota/memory_quota.cc @@ -5036,14 +5289,15 @@ add_library(grpc_authorization_provider src/core/lib/security/credentials/tls/tls_utils.cc src/core/lib/security/security_connector/load_system_roots_fallback.cc src/core/lib/security/security_connector/load_system_roots_supported.cc + src/core/lib/security/security_connector/load_system_roots_windows.cc src/core/lib/security/security_connector/security_connector.cc src/core/lib/security/transport/client_auth_filter.cc + src/core/lib/security/transport/legacy_server_auth_filter.cc src/core/lib/security/transport/secure_endpoint.cc src/core/lib/security/transport/security_handshaker.cc src/core/lib/security/transport/server_auth_filter.cc src/core/lib/security/transport/tsi_error.cc src/core/lib/security/util/json_util.cc - src/core/lib/service_config/service_config_parser.cc src/core/lib/slice/b64.cc src/core/lib/slice/percent_encoding.cc src/core/lib/slice/slice.cc @@ -5057,7 +5311,6 @@ add_library(grpc_authorization_provider src/core/lib/surface/call.cc src/core/lib/surface/call_details.cc src/core/lib/surface/call_log_batch.cc - src/core/lib/surface/call_trace.cc src/core/lib/surface/channel.cc src/core/lib/surface/channel_init.cc src/core/lib/surface/channel_ping.cc @@ -5071,11 +5324,19 @@ add_library(grpc_authorization_provider src/core/lib/surface/server.cc src/core/lib/surface/validate_metadata.cc src/core/lib/surface/version.cc + src/core/lib/surface/wait_for_cq_end_op.cc src/core/lib/transport/batch_builder.cc + src/core/lib/transport/call_factory.cc + src/core/lib/transport/call_filters.cc + src/core/lib/transport/call_final_info.cc + src/core/lib/transport/call_size_estimator.cc + src/core/lib/transport/call_spine.cc src/core/lib/transport/connectivity_state.cc src/core/lib/transport/error_utils.cc src/core/lib/transport/handshaker.cc src/core/lib/transport/handshaker_registry.cc + src/core/lib/transport/message.cc + src/core/lib/transport/metadata.cc src/core/lib/transport/metadata_batch.cc src/core/lib/transport/parsed_metadata.cc src/core/lib/transport/status_conversion.cc @@ -5083,6 +5344,12 @@ add_library(grpc_authorization_provider src/core/lib/transport/transport.cc src/core/lib/transport/transport_op_string.cc src/core/lib/uri/uri_parser.cc + src/core/load_balancing/lb_policy.cc + src/core/load_balancing/lb_policy_registry.cc + src/core/resolver/endpoint_addresses.cc + src/core/resolver/resolver.cc + src/core/resolver/resolver_registry.cc + src/core/service_config/service_config_parser.cc src/core/tsi/alts/handshaker/transport_security_common_api.cc src/core/tsi/transport_security.cc src/core/tsi/transport_security_grpc.cc @@ -5090,7 +5357,13 @@ add_library(grpc_authorization_provider third_party/upb/upb/mini_descriptor/build_enum.c third_party/upb/upb/mini_descriptor/decode.c third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/decode_fast.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/eps_copy_input_stream.c + third_party/upb/upb/wire/reader.c ) target_compile_features(grpc_authorization_provider PUBLIC cxx_std_14) @@ -5104,6 +5377,12 @@ if(WIN32 AND MSVC) set_target_properties(grpc_authorization_provider PROPERTIES COMPILE_PDB_NAME "grpc_authorization_provider" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_authorization_provider + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_authorization_provider.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL @@ -5127,9 +5406,11 @@ target_include_directories(grpc_authorization_provider ) target_link_libraries(grpc_authorization_provider ${_gRPC_ALLTARGETS_LIBRARIES} + upb_message_lib ${_gRPC_RE2_LIBRARIES} - upb + utf8_range_lib ${_gRPC_ZLIB_LIBRARIES} + absl::config absl::cleanup absl::flat_hash_map absl::flat_hash_set @@ -5137,11 +5418,14 @@ target_link_libraries(grpc_authorization_provider absl::function_ref absl::hash absl::type_traits + absl::random_bit_gen_ref + absl::random_distributions absl::statusor absl::span absl::utility ${_gRPC_CARES_LIBRARIES} gpr + ${_gRPC_ADDRESS_SORTING_LIBRARIES} ) foreach(_hdr @@ -5150,6 +5434,7 @@ foreach(_hdr include/grpc/compression.h include/grpc/event_engine/endpoint_config.h include/grpc/event_engine/event_engine.h + include/grpc/event_engine/extensible.h include/grpc/event_engine/internal/memory_allocator_impl.h include/grpc/event_engine/internal/slice_cast.h include/grpc/event_engine/memory_allocator.h @@ -5160,9 +5445,11 @@ foreach(_hdr include/grpc/fork.h include/grpc/grpc.h include/grpc/grpc_audit_logging.h + include/grpc/grpc_crl_provider.h include/grpc/grpc_posix.h include/grpc/grpc_security.h include/grpc/grpc_security_constants.h + include/grpc/impl/call.h include/grpc/impl/channel_arg_names.h include/grpc/impl/codegen/atm.h include/grpc/impl/codegen/atm_gcc_atomic.h @@ -5309,7 +5596,7 @@ endif() # See https://github.com/grpc/grpc/issues/19473 if(gRPC_BUILD_CODEGEN AND NOT gRPC_USE_PROTO_LITE) -add_library(grpcpp_channelz +add_library(grpcpp_channelz ${_gRPC_STATIC_WIN32} ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h @@ -5329,6 +5616,14 @@ if(WIN32 AND MSVC) set_target_properties(grpcpp_channelz PROPERTIES COMPILE_PDB_NAME "grpcpp_channelz" COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" ) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpcpp_channelz + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() if(gRPC_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpcpp_channelz.pdb DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL @@ -5392,11 +5687,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(fd_conservation_posix_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(fd_conservation_posix_test PUBLIC cxx_std_14) target_include_directories(fd_conservation_posix_test PRIVATE @@ -5425,6 +5728,15 @@ if(gRPC_BUILD_TESTS) add_executable(multiple_server_queues_test test/core/end2end/multiple_server_queues_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(multiple_server_queues_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(multiple_server_queues_test PUBLIC cxx_std_14) target_include_directories(multiple_server_queues_test PRIVATE @@ -5453,6 +5765,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX OR _gRPC_PLATFORM_WINDOWS) add_executable(pollset_windows_starvation_test test/core/iomgr/pollset_windows_starvation_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(pollset_windows_starvation_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(pollset_windows_starvation_test PUBLIC cxx_std_14) target_include_directories(pollset_windows_starvation_test PRIVATE @@ -5480,9 +5801,17 @@ if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) add_executable(static_stride_scheduler_benchmark - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc + src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc test/core/client_channel/lb_policy/static_stride_scheduler_benchmark.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(static_stride_scheduler_benchmark + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(static_stride_scheduler_benchmark PUBLIC cxx_std_14) target_include_directories(static_stride_scheduler_benchmark PRIVATE @@ -5519,11 +5848,19 @@ add_executable(test_core_iomgr_timer_list_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_iomgr_timer_list_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_core_iomgr_timer_list_test PUBLIC cxx_std_14) target_include_directories(test_core_iomgr_timer_list_test PRIVATE @@ -5554,6 +5891,14 @@ add_executable(activity_test src/core/lib/promise/trace.cc test/core/promise/activity_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(activity_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(activity_test PUBLIC cxx_std_14) target_include_directories(activity_test PRIVATE @@ -5577,7 +5922,7 @@ target_include_directories(activity_test target_link_libraries(activity_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - absl::flat_hash_set + absl::config absl::hash absl::type_traits absl::statusor @@ -5592,6 +5937,16 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(address_sorting_test test/cpp/naming/address_sorting_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(address_sorting_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(address_sorting_test PUBLIC cxx_std_14) target_include_directories(address_sorting_test PRIVATE @@ -5634,7 +5989,6 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc @@ -5643,6 +5997,16 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/util/string_ref_helper.cc test/cpp/util/subprocess.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(address_sorting_test_unsecure + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(address_sorting_test_unsecure PUBLIC cxx_std_14) target_include_directories(address_sorting_test_unsecure PRIVATE @@ -5697,6 +6061,16 @@ add_executable(admin_services_end2end_test src/cpp/server/csds/csds.cc test/cpp/end2end/admin_services_end2end_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(admin_services_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(admin_services_end2end_test PUBLIC cxx_std_14) target_include_directories(admin_services_end2end_test PRIVATE @@ -5737,12 +6111,21 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc test/cpp/common/alarm_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alarm_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(alarm_test PUBLIC cxx_std_14) target_include_directories(alarm_test PRIVATE @@ -5775,9 +6158,64 @@ endif() endif() if(gRPC_BUILD_TESTS) +add_executable(all_ok_test + src/core/lib/debug/trace.cc + src/core/lib/promise/trace.cc + test/core/promise/all_ok_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(all_ok_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(all_ok_test PUBLIC cxx_std_14) +target_include_directories(all_ok_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(all_ok_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + absl::type_traits + absl::statusor + absl::utility + gpr +) + + +endif() +if(gRPC_BUILD_TESTS) + add_executable(alloc_test test/core/gpr/alloc_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alloc_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alloc_test PUBLIC cxx_std_14) target_include_directories(alloc_test PRIVATE @@ -5811,6 +6249,15 @@ if(gRPC_BUILD_TESTS) add_executable(alpn_test test/core/transport/chttp2/alpn_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alpn_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alpn_test PUBLIC cxx_std_14) target_include_directories(alpn_test PRIVATE @@ -5856,6 +6303,16 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) test/core/tsi/alts/handshaker/alts_concurrent_connectivity_test.cc test/core/util/fake_udp_and_tcp_server.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alts_concurrent_connectivity_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(alts_concurrent_connectivity_test PUBLIC cxx_std_14) target_include_directories(alts_concurrent_connectivity_test PRIVATE @@ -5892,6 +6349,15 @@ add_executable(alts_counter_test test/core/tsi/alts/crypt/gsec_test_util.cc test/core/tsi/alts/frame_protector/alts_counter_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alts_counter_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alts_counter_test PUBLIC cxx_std_14) target_include_directories(alts_counter_test PRIVATE @@ -5926,6 +6392,15 @@ add_executable(alts_crypt_test test/core/tsi/alts/crypt/aes_gcm_test.cc test/core/tsi/alts/crypt/gsec_test_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alts_crypt_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alts_crypt_test PUBLIC cxx_std_14) target_include_directories(alts_crypt_test PRIVATE @@ -5960,6 +6435,15 @@ add_executable(alts_crypter_test test/core/tsi/alts/crypt/gsec_test_util.cc test/core/tsi/alts/frame_protector/alts_crypter_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alts_crypter_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alts_crypter_test PUBLIC cxx_std_14) target_include_directories(alts_crypter_test PRIVATE @@ -5995,6 +6479,15 @@ add_executable(alts_frame_protector_test test/core/tsi/alts/frame_protector/alts_frame_protector_test.cc test/core/tsi/transport_security_test_lib.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alts_frame_protector_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alts_frame_protector_test PUBLIC cxx_std_14) target_include_directories(alts_frame_protector_test PRIVATE @@ -6029,6 +6522,15 @@ add_executable(alts_grpc_record_protocol_test test/core/tsi/alts/crypt/gsec_test_util.cc test/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alts_grpc_record_protocol_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alts_grpc_record_protocol_test PUBLIC cxx_std_14) target_include_directories(alts_grpc_record_protocol_test PRIVATE @@ -6063,6 +6565,15 @@ add_executable(alts_handshaker_client_test test/core/tsi/alts/handshaker/alts_handshaker_client_test.cc test/core/tsi/alts/handshaker/alts_handshaker_service_api_test_lib.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alts_handshaker_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alts_handshaker_client_test PUBLIC cxx_std_14) target_include_directories(alts_handshaker_client_test PRIVATE @@ -6097,6 +6608,15 @@ add_executable(alts_iovec_record_protocol_test test/core/tsi/alts/crypt/gsec_test_util.cc test/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alts_iovec_record_protocol_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alts_iovec_record_protocol_test PUBLIC cxx_std_14) target_include_directories(alts_iovec_record_protocol_test PRIVATE @@ -6135,11 +6655,19 @@ add_executable(alts_security_connector_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alts_security_connector_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alts_security_connector_test PUBLIC cxx_std_14) target_include_directories(alts_security_connector_test PRIVATE @@ -6174,6 +6702,15 @@ add_executable(alts_tsi_handshaker_test test/core/tsi/alts/handshaker/alts_handshaker_service_api_test_lib.cc test/core/tsi/alts/handshaker/alts_tsi_handshaker_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alts_tsi_handshaker_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alts_tsi_handshaker_test PUBLIC cxx_std_14) target_include_directories(alts_tsi_handshaker_test PRIVATE @@ -6208,6 +6745,15 @@ add_executable(alts_tsi_utils_test test/core/tsi/alts/handshaker/alts_handshaker_service_api_test_lib.cc test/core/tsi/alts/handshaker/alts_tsi_utils_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alts_tsi_utils_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alts_tsi_utils_test PUBLIC cxx_std_14) target_include_directories(alts_tsi_utils_test PRIVATE @@ -6241,6 +6787,16 @@ if(gRPC_BUILD_TESTS) add_executable(alts_util_test test/cpp/common/alts_util_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alts_util_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alts_util_test PUBLIC cxx_std_14) target_include_directories(alts_util_test PRIVATE @@ -6276,6 +6832,15 @@ add_executable(alts_zero_copy_grpc_protector_test test/core/tsi/alts/crypt/gsec_test_util.cc test/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(alts_zero_copy_grpc_protector_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(alts_zero_copy_grpc_protector_test PUBLIC cxx_std_14) target_include_directories(alts_zero_copy_grpc_protector_test PRIVATE @@ -6309,6 +6874,15 @@ if(gRPC_BUILD_TESTS) add_executable(arena_promise_test test/core/promise/arena_promise_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(arena_promise_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(arena_promise_test PUBLIC cxx_std_14) target_include_directories(arena_promise_test PRIVATE @@ -6342,6 +6916,15 @@ if(gRPC_BUILD_TESTS) add_executable(arena_test test/core/resource_quota/arena_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(arena_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(arena_test PUBLIC cxx_std_14) target_include_directories(arena_test PRIVATE @@ -6399,6 +6982,16 @@ add_executable(async_end2end_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h test/cpp/end2end/async_end2end_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(async_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(async_end2end_test PUBLIC cxx_std_14) target_include_directories(async_end2end_test PRIVATE @@ -6437,11 +7030,19 @@ add_executable(auth_context_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(auth_context_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(auth_context_test PUBLIC cxx_std_14) target_include_directories(auth_context_test PRIVATE @@ -6475,6 +7076,16 @@ if(gRPC_BUILD_TESTS) add_executable(auth_property_iterator_test test/cpp/common/auth_property_iterator_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(auth_property_iterator_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(auth_property_iterator_test PUBLIC cxx_std_14) target_include_directories(auth_property_iterator_test PRIVATE @@ -6513,11 +7124,19 @@ add_executable(authorization_matchers_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(authorization_matchers_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(authorization_matchers_test PUBLIC cxx_std_14) target_include_directories(authorization_matchers_test PRIVATE @@ -6552,6 +7171,16 @@ add_executable(authorization_policy_provider_test src/cpp/server/authorization_policy_provider.cc test/cpp/server/authorization_policy_provider_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(authorization_policy_provider_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(authorization_policy_provider_test PUBLIC cxx_std_14) target_include_directories(authorization_policy_provider_test PRIVATE @@ -6587,6 +7216,14 @@ if(gRPC_BUILD_TESTS) add_executable(avl_test test/core/avl/avl_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(avl_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(avl_test PUBLIC cxx_std_14) target_include_directories(avl_test PRIVATE @@ -6626,11 +7263,19 @@ add_executable(aws_request_signer_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(aws_request_signer_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(aws_request_signer_test PUBLIC cxx_std_14) target_include_directories(aws_request_signer_test PRIVATE @@ -6664,6 +7309,15 @@ if(gRPC_BUILD_TESTS) add_executable(b64_test test/core/slice/b64_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(b64_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(b64_test PUBLIC cxx_std_14) target_include_directories(b64_test PRIVATE @@ -6694,11 +7348,35 @@ target_link_libraries(b64_test endif() if(gRPC_BUILD_TESTS) -add_executable(backoff_test - test/core/backoff/backoff_test.cc +add_executable(backend_metrics_lb_policy_test + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h + src/cpp/server/orca/orca_service.cc + test/cpp/interop/backend_metrics_lb_policy.cc + test/cpp/interop/backend_metrics_lb_policy_test.cc ) -target_compile_features(backoff_test PUBLIC cxx_std_14) -target_include_directories(backoff_test +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(backend_metrics_lb_policy_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(backend_metrics_lb_policy_test PUBLIC cxx_std_14) +target_include_directories(backend_metrics_lb_policy_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -6717,30 +7395,32 @@ target_include_directories(backoff_test ${_gRPC_PROTO_GENS_DIR} ) -target_link_libraries(backoff_test +target_link_libraries(backend_metrics_lb_policy_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest + grpc++ grpc_test_util + grpc++_test_config ) endif() if(gRPC_BUILD_TESTS) -add_executable(bad_ping_test - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc - test/core/end2end/end2end_tests.cc - test/core/end2end/fixtures/http_proxy_fixture.cc - test/core/end2end/fixtures/local_util.cc - test/core/end2end/fixtures/proxy.cc - test/core/end2end/tests/bad_ping.cc - test/core/event_engine/event_engine_test_utils.cc - test/core/util/test_lb_policies.cc +add_executable(backoff_test + test/core/backoff/backoff_test.cc ) -target_compile_features(bad_ping_test PUBLIC cxx_std_14) -target_include_directories(bad_ping_test +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(backoff_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(backoff_test PUBLIC cxx_std_14) +target_include_directories(backoff_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -6759,11 +7439,9 @@ target_include_directories(bad_ping_test ${_gRPC_PROTO_GENS_DIR} ) -target_link_libraries(bad_ping_test +target_link_libraries(backoff_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - grpc_authorization_provider - grpc_unsecure grpc_test_util ) @@ -6771,10 +7449,81 @@ target_link_libraries(bad_ping_test endif() if(gRPC_BUILD_TESTS) -add_executable(bad_server_response_test - test/core/end2end/bad_server_response_test.cc +add_executable(bad_ping_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc + test/core/end2end/cq_verifier.cc + test/core/end2end/end2end_test_main.cc + test/core/end2end/end2end_test_suites.cc + test/core/end2end/end2end_tests.cc + test/core/end2end/fixtures/http_proxy_fixture.cc + test/core/end2end/fixtures/local_util.cc + test/core/end2end/fixtures/proxy.cc + test/core/end2end/tests/bad_ping.cc + test/core/event_engine/event_engine_test_utils.cc + test/core/util/test_lb_policies.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bad_ping_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(bad_ping_test PUBLIC cxx_std_14) +target_include_directories(bad_ping_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(bad_ping_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc_authorization_provider + grpc_unsecure + grpc_test_util +) + + +endif() +if(gRPC_BUILD_TESTS) + +add_executable(bad_server_response_test + test/core/end2end/bad_server_response_test.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bad_server_response_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(bad_server_response_test PUBLIC cxx_std_14) target_include_directories(bad_server_response_test PRIVATE @@ -6817,11 +7566,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bad_ssl_alpn_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(bad_ssl_alpn_test PUBLIC cxx_std_14) target_include_directories(bad_ssl_alpn_test PRIVATE @@ -6865,11 +7622,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bad_ssl_cert_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(bad_ssl_cert_test PUBLIC cxx_std_14) target_include_directories(bad_ssl_cert_test PRIVATE @@ -6906,6 +7671,15 @@ add_executable(bad_streaming_id_bad_client_test test/core/bad_client/tests/bad_streaming_id.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bad_streaming_id_bad_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(bad_streaming_id_bad_client_test PUBLIC cxx_std_14) target_include_directories(bad_streaming_id_bad_client_test PRIVATE @@ -6941,6 +7715,15 @@ add_executable(badreq_bad_client_test test/core/bad_client/tests/badreq.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(badreq_bad_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(badreq_bad_client_test PUBLIC cxx_std_14) target_include_directories(badreq_bad_client_test PRIVATE @@ -6974,6 +7757,15 @@ if(gRPC_BUILD_TESTS) add_executable(basic_work_queue_test test/core/event_engine/work_queue/basic_work_queue_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(basic_work_queue_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(basic_work_queue_test PUBLIC cxx_std_14) target_include_directories(basic_work_queue_test PRIVATE @@ -7008,6 +7800,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(bdp_estimator_test test/core/transport/bdp_estimator_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bdp_estimator_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(bdp_estimator_test PUBLIC cxx_std_14) target_include_directories(bdp_estimator_test PRIVATE @@ -7042,6 +7843,15 @@ if(gRPC_BUILD_TESTS) add_executable(bin_decoder_test test/core/transport/chttp2/bin_decoder_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bin_decoder_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(bin_decoder_test PUBLIC cxx_std_14) target_include_directories(bin_decoder_test PRIVATE @@ -7075,6 +7885,15 @@ if(gRPC_BUILD_TESTS) add_executable(bin_encoder_test test/core/transport/chttp2/bin_encoder_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(bin_encoder_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(bin_encoder_test PUBLIC cxx_std_14) target_include_directories(bin_encoder_test PRIVATE @@ -7106,6 +7925,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(binary_metadata_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -7117,6 +7945,15 @@ add_executable(binary_metadata_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(binary_metadata_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(binary_metadata_test PUBLIC cxx_std_14) target_include_directories(binary_metadata_test PRIVATE @@ -7152,6 +7989,15 @@ if(gRPC_BUILD_TESTS) add_executable(binder_resolver_test test/core/client_channel/resolvers/binder_resolver_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(binder_resolver_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(binder_resolver_test PUBLIC cxx_std_14) target_include_directories(binder_resolver_test PRIVATE @@ -7203,6 +8049,16 @@ add_executable(binder_server_test test/core/transport/binder/end2end/fake_binder.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(binder_server_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(binder_server_test PUBLIC cxx_std_14) target_include_directories(binder_server_test PRIVATE @@ -7265,7 +8121,6 @@ add_executable(binder_transport_test src/cpp/common/alarm.cc src/cpp/common/auth_property_iterator.cc src/cpp/common/channel_arguments.cc - src/cpp/common/channel_filter.cc src/cpp/common/completion_queue_cc.cc src/cpp/common/resource_quota_cc.cc src/cpp/common/rpc_method.cc @@ -7300,6 +8155,15 @@ add_executable(binder_transport_test test/core/transport/binder/binder_transport_test.cc test/core/transport/binder/mock_objects.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(binder_transport_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(binder_transport_test PUBLIC cxx_std_14) target_include_directories(binder_transport_test PRIVATE @@ -7371,11 +8235,19 @@ add_executable(buffer_list_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(buffer_list_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(buffer_list_test PUBLIC cxx_std_14) target_include_directories(buffer_list_test PRIVATE @@ -7409,6 +8281,16 @@ if(gRPC_BUILD_TESTS) add_executable(byte_buffer_test test/cpp/util/byte_buffer_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(byte_buffer_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(byte_buffer_test PUBLIC cxx_std_14) target_include_directories(byte_buffer_test PRIVATE @@ -7442,6 +8324,15 @@ if(gRPC_BUILD_TESTS) add_executable(c_slice_buffer_test test/core/slice/c_slice_buffer_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(c_slice_buffer_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(c_slice_buffer_test PUBLIC cxx_std_14) target_include_directories(c_slice_buffer_test PRIVATE @@ -7473,6 +8364,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(call_creds_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -7484,6 +8384,15 @@ add_executable(call_creds_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(call_creds_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(call_creds_test PUBLIC cxx_std_14) target_include_directories(call_creds_test PRIVATE @@ -7513,12 +8422,120 @@ target_link_libraries(call_creds_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(call_filters_test + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c + src/core/lib/channel/channel_args.cc + src/core/lib/compression/compression_internal.cc + src/core/lib/debug/trace.cc + src/core/lib/experiments/config.cc + src/core/lib/experiments/experiments.cc + src/core/lib/gprpp/ref_counted_string.cc + src/core/lib/gprpp/status_helper.cc + src/core/lib/gprpp/time.cc + src/core/lib/iomgr/closure.cc + src/core/lib/iomgr/combiner.cc + src/core/lib/iomgr/error.cc + src/core/lib/iomgr/exec_ctx.cc + src/core/lib/iomgr/executor.cc + src/core/lib/iomgr/iomgr_internal.cc + src/core/lib/promise/activity.cc + src/core/lib/promise/trace.cc + src/core/lib/resource_quota/arena.cc + src/core/lib/resource_quota/memory_quota.cc + src/core/lib/resource_quota/periodic_update.cc + src/core/lib/resource_quota/trace.cc + src/core/lib/slice/percent_encoding.cc + src/core/lib/slice/slice.cc + src/core/lib/slice/slice_buffer.cc + src/core/lib/slice/slice_refcount.cc + src/core/lib/slice/slice_string_helpers.cc + src/core/lib/surface/channel_stack_type.cc + src/core/lib/transport/call_filters.cc + src/core/lib/transport/call_final_info.cc + src/core/lib/transport/error_utils.cc + src/core/lib/transport/message.cc + src/core/lib/transport/metadata.cc + src/core/lib/transport/metadata_batch.cc + src/core/lib/transport/parsed_metadata.cc + src/core/lib/transport/status_conversion.cc + src/core/lib/transport/timeout_encoding.cc + test/core/transport/call_filters_test.cc + third_party/upb/upb/message/accessors.c + third_party/upb/upb/mini_descriptor/build_enum.c + third_party/upb/upb/mini_descriptor/decode.c + third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c + third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/decode_fast.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/eps_copy_input_stream.c + third_party/upb/upb/wire/reader.c +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(call_filters_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(call_filters_test PUBLIC cxx_std_14) +target_include_directories(call_filters_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(call_filters_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + upb_message_lib + utf8_range_lib + absl::config + absl::inlined_vector + absl::function_ref + absl::hash + absl::type_traits + absl::statusor + absl::utility + gpr +) + + endif() if(gRPC_BUILD_TESTS) add_executable(call_finalization_test test/core/channel/call_finalization_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(call_finalization_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(call_finalization_test PUBLIC cxx_std_14) target_include_directories(call_finalization_test PRIVATE @@ -7550,6 +8567,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(call_host_override_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -7561,6 +8587,15 @@ add_executable(call_host_override_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(call_host_override_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(call_host_override_test PUBLIC cxx_std_14) target_include_directories(call_host_override_test PRIVATE @@ -7595,7 +8630,17 @@ if(gRPC_BUILD_TESTS) add_executable(call_tracer_test test/core/channel/call_tracer_test.cc + test/core/util/fake_stats_plugin.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(call_tracer_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(call_tracer_test PUBLIC cxx_std_14) target_include_directories(call_tracer_test PRIVATE @@ -7627,6 +8672,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(cancel_after_accept_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -7638,6 +8692,15 @@ add_executable(cancel_after_accept_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cancel_after_accept_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cancel_after_accept_test PUBLIC cxx_std_14) target_include_directories(cancel_after_accept_test PRIVATE @@ -7671,6 +8734,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(cancel_after_client_done_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -7682,6 +8754,15 @@ add_executable(cancel_after_client_done_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cancel_after_client_done_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cancel_after_client_done_test PUBLIC cxx_std_14) target_include_directories(cancel_after_client_done_test PRIVATE @@ -7715,6 +8796,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(cancel_after_invoke_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -7726,6 +8816,15 @@ add_executable(cancel_after_invoke_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cancel_after_invoke_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cancel_after_invoke_test PUBLIC cxx_std_14) target_include_directories(cancel_after_invoke_test PRIVATE @@ -7759,6 +8858,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(cancel_after_round_trip_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -7770,6 +8878,15 @@ add_executable(cancel_after_round_trip_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cancel_after_round_trip_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cancel_after_round_trip_test PUBLIC cxx_std_14) target_include_directories(cancel_after_round_trip_test PRIVATE @@ -7808,6 +8925,16 @@ add_executable(cancel_ares_query_test test/core/util/socket_use_after_close_detector.cc test/cpp/naming/cancel_ares_query_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cancel_ares_query_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cancel_ares_query_test PUBLIC cxx_std_14) target_include_directories(cancel_ares_query_test PRIVATE @@ -7840,6 +8967,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(cancel_before_invoke_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -7851,6 +8987,15 @@ add_executable(cancel_before_invoke_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cancel_before_invoke_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cancel_before_invoke_test PUBLIC cxx_std_14) target_include_directories(cancel_before_invoke_test PRIVATE @@ -7886,6 +9031,14 @@ if(gRPC_BUILD_TESTS) add_executable(cancel_callback_test test/core/promise/cancel_callback_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cancel_callback_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cancel_callback_test PUBLIC cxx_std_14) target_include_directories(cancel_callback_test PRIVATE @@ -7918,6 +9071,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(cancel_in_a_vacuum_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -7929,6 +9091,15 @@ add_executable(cancel_in_a_vacuum_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cancel_in_a_vacuum_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cancel_in_a_vacuum_test PUBLIC cxx_std_14) target_include_directories(cancel_in_a_vacuum_test PRIVATE @@ -7962,6 +9133,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(cancel_with_status_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -7973,6 +9153,15 @@ add_executable(cancel_with_status_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cancel_with_status_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cancel_with_status_test PUBLIC cxx_std_14) target_include_directories(cancel_with_status_test PRIVATE @@ -8006,93 +9195,94 @@ endif() if(gRPC_BUILD_TESTS) add_executable(cel_authorization_engine_test - src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c - src/core/ext/upb-generated/envoy/annotations/resource.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c - src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c - src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c - src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c - src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c - src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c - src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c - src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c - src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c - src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c - src/core/ext/upb-generated/envoy/type/v3/http.upb.c - src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c - src/core/ext/upb-generated/envoy/type/v3/percent.upb.c - src/core/ext/upb-generated/envoy/type/v3/range.upb.c - src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c - src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c - src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c - src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c - src/core/ext/upb-generated/google/api/annotations.upb.c - src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c - src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c - src/core/ext/upb-generated/google/api/http.upb.c - src/core/ext/upb-generated/google/api/httpbody.upb.c - src/core/ext/upb-generated/google/protobuf/any.upb.c - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - src/core/ext/upb-generated/google/protobuf/duration.upb.c - src/core/ext/upb-generated/google/protobuf/empty.upb.c - src/core/ext/upb-generated/google/protobuf/struct.upb.c - src/core/ext/upb-generated/google/protobuf/timestamp.upb.c - src/core/ext/upb-generated/google/protobuf/wrappers.upb.c - src/core/ext/upb-generated/google/rpc/status.upb.c - src/core/ext/upb-generated/udpa/annotations/migrate.upb.c - src/core/ext/upb-generated/udpa/annotations/security.upb.c - src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c - src/core/ext/upb-generated/udpa/annotations/status.upb.c - src/core/ext/upb-generated/udpa/annotations/versioning.upb.c - src/core/ext/upb-generated/validate/validate.upb.c - src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c - src/core/ext/upb-generated/xds/annotations/v3/security.upb.c - src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c - src/core/ext/upb-generated/xds/annotations/v3/status.upb.c - src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c - src/core/ext/upb-generated/xds/core/v3/authority.upb.c - src/core/ext/upb-generated/xds/core/v3/cidr.upb.c - src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c - src/core/ext/upb-generated/xds/core/v3/context_params.upb.c - src/core/ext/upb-generated/xds/core/v3/extension.upb.c - src/core/ext/upb-generated/xds/core/v3/resource.upb.c - src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c - src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c - src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c - src/core/ext/upb-generated/xds/type/v3/cel.upb.c - src/core/ext/upb-generated/xds/type/v3/range.upb.c - src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c + src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c + src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c + src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c + src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c + src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c + src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c + src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c + src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c + src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c + src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c + src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c + src/core/ext/upb-gen/google/api/annotations.upb_minitable.c + src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c + src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c + src/core/ext/upb-gen/google/api/http.upb_minitable.c + src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c + src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c + src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c + src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c + src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c + src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c + src/core/ext/upb-gen/validate/validate.upb_minitable.c + src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c + src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c + src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c + src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c + src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c + src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c + src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c + src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c + src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c + src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c src/core/lib/security/authorization/cel_authorization_engine.cc test/core/security/cel_authorization_engine_test.cc test/core/util/cmdline.cc @@ -8101,11 +9291,19 @@ add_executable(cel_authorization_engine_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cel_authorization_engine_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cel_authorization_engine_test PUBLIC cxx_std_14) target_include_directories(cel_authorization_engine_test PRIVATE @@ -8139,6 +9337,15 @@ if(gRPC_BUILD_TESTS) add_executable(certificate_provider_registry_test test/core/security/certificate_provider_registry_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(certificate_provider_registry_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(certificate_provider_registry_test PUBLIC cxx_std_14) target_include_directories(certificate_provider_registry_test PRIVATE @@ -8172,6 +9379,15 @@ if(gRPC_BUILD_TESTS) add_executable(certificate_provider_store_test test/core/xds/certificate_provider_store_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(certificate_provider_store_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(certificate_provider_store_test PUBLIC cxx_std_14) target_include_directories(certificate_provider_store_test PRIVATE @@ -8206,6 +9422,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(cf_engine_test test/core/event_engine/cf/cf_engine_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cf_engine_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(cf_engine_test PUBLIC cxx_std_14) target_include_directories(cf_engine_test PRIVATE @@ -8246,6 +9471,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/event_engine/test_suite/tests/client_test.cc test/core/event_engine/test_suite/tests/timer_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cf_event_engine_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(cf_event_engine_test PUBLIC cxx_std_14) target_include_directories(cf_event_engine_test PRIVATE @@ -8297,6 +9531,16 @@ add_executable(cfstream_test test/cpp/end2end/cfstream_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cfstream_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cfstream_test PUBLIC cxx_std_14) target_include_directories(cfstream_test PRIVATE @@ -8330,6 +9574,15 @@ if(gRPC_BUILD_TESTS) add_executable(channel_args_test test/core/channel/channel_args_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(channel_args_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(channel_args_test PUBLIC cxx_std_14) target_include_directories(channel_args_test PRIVATE @@ -8363,6 +9616,16 @@ if(gRPC_BUILD_TESTS) add_executable(channel_arguments_test test/cpp/common/channel_arguments_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(channel_arguments_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(channel_arguments_test PUBLIC cxx_std_14) target_include_directories(channel_arguments_test PRIVATE @@ -8402,11 +9665,19 @@ add_executable(channel_creds_registry_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(channel_creds_registry_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(channel_creds_registry_test PUBLIC cxx_std_14) target_include_directories(channel_creds_registry_test PRIVATE @@ -8437,11 +9708,20 @@ target_link_libraries(channel_creds_registry_test endif() if(gRPC_BUILD_TESTS) -add_executable(channel_filter_test - test/cpp/common/channel_filter_test.cc +add_executable(channel_init_test + test/core/surface/channel_init_test.cc ) -target_compile_features(channel_filter_test PUBLIC cxx_std_14) -target_include_directories(channel_filter_test +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(channel_init_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(channel_init_test PUBLIC cxx_std_14) +target_include_directories(channel_init_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -8460,10 +9740,9 @@ target_include_directories(channel_filter_test ${_gRPC_PROTO_GENS_DIR} ) -target_link_libraries(channel_filter_test +target_link_libraries(channel_init_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - grpc++ grpc_test_util ) @@ -8474,6 +9753,15 @@ if(gRPC_BUILD_TESTS) add_executable(channel_stack_builder_test test/core/channel/channel_stack_builder_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(channel_stack_builder_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(channel_stack_builder_test PUBLIC cxx_std_14) target_include_directories(channel_stack_builder_test PRIVATE @@ -8507,6 +9795,15 @@ if(gRPC_BUILD_TESTS) add_executable(channel_stack_test test/core/channel/channel_stack_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(channel_stack_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(channel_stack_test PUBLIC cxx_std_14) target_include_directories(channel_stack_test PRIVATE @@ -8545,6 +9842,16 @@ add_executable(channel_trace_test test/core/channel/channel_trace_test.cc test/cpp/util/channel_trace_proto_helper.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(channel_trace_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(channel_trace_test PUBLIC cxx_std_14) target_include_directories(channel_trace_test PRIVATE @@ -8579,6 +9886,16 @@ if(gRPC_BUILD_TESTS) add_executable(channelz_registry_test test/core/channel/channelz_registry_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(channelz_registry_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(channelz_registry_test PUBLIC cxx_std_14) target_include_directories(channelz_registry_test PRIVATE @@ -8627,9 +9944,20 @@ add_executable(channelz_service_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.h ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h + test/core/event_engine/event_engine_test_utils.cc test/cpp/end2end/channelz_service_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(channelz_service_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(channelz_service_test PUBLIC cxx_std_14) target_include_directories(channelz_service_test PRIVATE @@ -8669,11 +9997,19 @@ add_executable(check_gcp_environment_linux_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(check_gcp_environment_linux_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(check_gcp_environment_linux_test PUBLIC cxx_std_14) target_include_directories(check_gcp_environment_linux_test PRIVATE @@ -8712,11 +10048,19 @@ add_executable(check_gcp_environment_windows_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(check_gcp_environment_windows_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(check_gcp_environment_windows_test PUBLIC cxx_std_14) target_include_directories(check_gcp_environment_windows_test PRIVATE @@ -8748,11 +10092,10 @@ endif() if(gRPC_BUILD_TESTS) add_executable(chunked_vector_test - src/core/ext/upb-generated/google/protobuf/any.upb.c - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - src/core/ext/upb-generated/google/rpc/status.upb.c + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c src/core/lib/debug/trace.cc - src/core/lib/event_engine/memory_allocator.cc src/core/lib/experiments/config.cc src/core/lib/experiments/experiments.cc src/core/lib/gprpp/status_helper.cc @@ -8780,8 +10123,22 @@ add_executable(chunked_vector_test third_party/upb/upb/mini_descriptor/build_enum.c third_party/upb/upb/mini_descriptor/decode.c third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/decode_fast.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/eps_copy_input_stream.c + third_party/upb/upb/wire/reader.c ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(chunked_vector_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(chunked_vector_test PUBLIC cxx_std_14) target_include_directories(chunked_vector_test PRIVATE @@ -8805,8 +10162,9 @@ target_include_directories(chunked_vector_test target_link_libraries(chunked_vector_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb - absl::flat_hash_set + upb_message_lib + utf8_range_lib + absl::config absl::function_ref absl::hash absl::type_traits @@ -8847,6 +10205,16 @@ add_executable(cli_call_test test/cpp/util/proto_reflection_descriptor_database.cc test/cpp/util/service_describer.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cli_call_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cli_call_test PUBLIC cxx_std_14) target_include_directories(cli_call_test PRIVATE @@ -8887,6 +10255,15 @@ add_executable(client_auth_filter_test test/core/filters/client_auth_filter_test.cc test/core/filters/filter_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(client_auth_filter_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(client_auth_filter_test PUBLIC cxx_std_14) target_include_directories(client_auth_filter_test PRIVATE @@ -8927,6 +10304,15 @@ add_executable(client_authority_filter_test test/core/filters/client_authority_filter_test.cc test/core/filters/filter_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(client_authority_filter_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(client_authority_filter_test PUBLIC cxx_std_14) target_include_directories(client_authority_filter_test PRIVATE @@ -8979,6 +10365,16 @@ add_executable(client_callback_end2end_test test/cpp/end2end/interceptors_util.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(client_callback_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(client_callback_end2end_test PUBLIC cxx_std_14) target_include_directories(client_callback_end2end_test PRIVATE @@ -9012,6 +10408,15 @@ if(gRPC_BUILD_TESTS) add_executable(client_channel_service_config_test test/core/client_channel/client_channel_service_config_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(client_channel_service_config_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(client_channel_service_config_test PUBLIC cxx_std_14) target_include_directories(client_channel_service_config_test PRIVATE @@ -9045,6 +10450,15 @@ if(gRPC_BUILD_TESTS) add_executable(client_channel_test test/core/client_channel/client_channel_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(client_channel_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(client_channel_test PUBLIC cxx_std_14) target_include_directories(client_channel_test PRIVATE @@ -9078,6 +10492,16 @@ if(gRPC_BUILD_TESTS) add_executable(client_context_test_peer_test test/cpp/test/client_context_test_peer_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(client_context_test_peer_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(client_context_test_peer_test PUBLIC cxx_std_14) target_include_directories(client_context_test_peer_test PRIVATE @@ -9107,30 +10531,107 @@ target_link_libraries(client_context_test_peer_test endif() if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) -add_executable(client_interceptors_end2end_test - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h - test/cpp/end2end/client_interceptors_end2end_test.cc - test/cpp/end2end/interceptors_util.cc - test/cpp/end2end/test_service_impl.cc -) -target_compile_features(client_interceptors_end2end_test PUBLIC cxx_std_14) -target_include_directories(client_interceptors_end2end_test + add_executable(client_fork_test + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h + test/cpp/end2end/client_fork_test.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(client_fork_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(client_fork_test PUBLIC cxx_std_14) + target_include_directories(client_fork_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} + ) + + target_link_libraries(client_fork_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc++ + grpc_test_util + grpc++_test_config + ) + + +endif() +endif() +if(gRPC_BUILD_TESTS) + +add_executable(client_interceptors_end2end_test + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h + test/cpp/end2end/client_interceptors_end2end_test.cc + test/cpp/end2end/interceptors_util.cc + test/cpp/end2end/test_service_impl.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(client_interceptors_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(client_interceptors_end2end_test PUBLIC cxx_std_14) +target_include_directories(client_interceptors_end2end_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -9191,6 +10692,16 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/connection_attempt_injector.cc test/cpp/end2end/test_service_impl.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(client_lb_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(client_lb_end2end_test PUBLIC cxx_std_14) target_include_directories(client_lb_end2end_test PRIVATE @@ -9226,6 +10737,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(client_ssl_test test/core/handshake/client_ssl.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(client_ssl_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(client_ssl_test PUBLIC cxx_std_14) target_include_directories(client_ssl_test PRIVATE @@ -9258,6 +10778,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(client_streaming_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -9269,6 +10798,15 @@ add_executable(client_streaming_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(client_streaming_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(client_streaming_test PUBLIC cxx_std_14) target_include_directories(client_streaming_test PRIVATE @@ -9298,49 +10836,6 @@ target_link_libraries(client_streaming_test ) -endif() -if(gRPC_BUILD_TESTS) - -add_executable(client_transport_test - ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.cc - ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.h - ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.h - src/core/ext/transport/chaotic_good/client_transport.cc - src/core/ext/transport/chaotic_good/frame.cc - src/core/ext/transport/chaotic_good/frame_header.cc - src/core/lib/transport/promise_endpoint.cc - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc - test/core/transport/chaotic_good/client_transport_test.cc -) -target_compile_features(client_transport_test PUBLIC cxx_std_14) -target_include_directories(client_transport_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} -) - -target_link_libraries(client_transport_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest - ${_gRPC_PROTOBUF_LIBRARIES} - grpc_test_util -) - - endif() if(gRPC_BUILD_TESTS) @@ -9352,11 +10847,19 @@ add_executable(cmdline_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cmdline_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cmdline_test PUBLIC cxx_std_14) target_include_directories(cmdline_test PRIVATE @@ -9390,6 +10893,16 @@ if(gRPC_BUILD_TESTS) add_executable(codegen_test_full test/cpp/codegen/codegen_test_full.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(codegen_test_full + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(codegen_test_full PUBLIC cxx_std_14) target_include_directories(codegen_test_full PRIVATE @@ -9424,6 +10937,16 @@ if(gRPC_BUILD_TESTS) add_executable(codegen_test_minimal test/cpp/codegen/codegen_test_minimal.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(codegen_test_minimal + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(codegen_test_minimal PUBLIC cxx_std_14) target_include_directories(codegen_test_minimal PRIVATE @@ -9464,11 +10987,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(combiner_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(combiner_test PUBLIC cxx_std_14) target_include_directories(combiner_test PRIVATE @@ -9503,6 +11034,14 @@ if(gRPC_BUILD_TESTS) add_executable(common_closures_test test/core/event_engine/common_closures_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(common_closures_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(common_closures_test PUBLIC cxx_std_14) target_include_directories(common_closures_test PRIVATE @@ -9537,6 +11076,15 @@ if(gRPC_BUILD_TESTS) add_executable(completion_queue_threading_test test/core/surface/completion_queue_threading_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(completion_queue_threading_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(completion_queue_threading_test PUBLIC cxx_std_14) target_include_directories(completion_queue_threading_test PRIVATE @@ -9568,6 +11116,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(compressed_payload_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -9579,6 +11136,15 @@ add_executable(compressed_payload_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(compressed_payload_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(compressed_payload_test PUBLIC cxx_std_14) target_include_directories(compressed_payload_test PRIVATE @@ -9614,6 +11180,15 @@ if(gRPC_BUILD_TESTS) add_executable(compression_test test/core/compression/compression_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(compression_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(compression_test PUBLIC cxx_std_14) target_include_directories(compression_test PRIVATE @@ -9647,6 +11222,15 @@ if(gRPC_BUILD_TESTS) add_executable(concurrent_connectivity_test test/core/surface/concurrent_connectivity_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(concurrent_connectivity_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(concurrent_connectivity_test PUBLIC cxx_std_14) target_include_directories(concurrent_connectivity_test PRIVATE @@ -9682,6 +11266,15 @@ add_executable(connection_prefix_bad_client_test test/core/bad_client/tests/connection_prefix.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(connection_prefix_bad_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(connection_prefix_bad_client_test PUBLIC cxx_std_14) target_include_directories(connection_prefix_bad_client_test PRIVATE @@ -9716,6 +11309,15 @@ add_executable(connection_refused_test test/core/end2end/connection_refused_test.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(connection_refused_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(connection_refused_test PUBLIC cxx_std_14) target_include_directories(connection_refused_test PRIVATE @@ -9754,11 +11356,19 @@ add_executable(connectivity_state_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(connectivity_state_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(connectivity_state_test PUBLIC cxx_std_14) target_include_directories(connectivity_state_test PRIVATE @@ -9790,6 +11400,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(connectivity_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -9801,6 +11420,15 @@ add_executable(connectivity_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(connectivity_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(connectivity_test PUBLIC cxx_std_14) target_include_directories(connectivity_test PRIVATE @@ -9853,6 +11481,16 @@ add_executable(context_allocator_end2end_test test/cpp/end2end/context_allocator_end2end_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(context_allocator_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(context_allocator_end2end_test PUBLIC cxx_std_14) target_include_directories(context_allocator_end2end_test PRIVATE @@ -9886,6 +11524,14 @@ if(gRPC_BUILD_TESTS) add_executable(context_test test/core/promise/context_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(context_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(context_test PUBLIC cxx_std_14) target_include_directories(context_test PRIVATE @@ -9909,6 +11555,8 @@ target_include_directories(context_test target_link_libraries(context_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest + absl::config + absl::type_traits gpr ) @@ -9919,6 +11567,15 @@ if(gRPC_BUILD_TESTS) add_executable(core_configuration_test test/core/config/core_configuration_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(core_configuration_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(core_configuration_test PUBLIC cxx_std_14) target_include_directories(core_configuration_test PRIVATE @@ -9984,6 +11641,15 @@ if(gRPC_BUILD_TESTS) add_executable(cpu_test test/core/gpr/cpu_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(cpu_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(cpu_test PUBLIC cxx_std_14) target_include_directories(cpu_test PRIVATE @@ -10013,27 +11679,96 @@ target_link_libraries(cpu_test endif() if(gRPC_BUILD_TESTS) -if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) - add_executable(crl_ssl_transport_security_test - test/core/tsi/crl_ssl_transport_security_test.cc - test/core/tsi/transport_security_test_lib.cc - ) - target_compile_features(crl_ssl_transport_security_test PUBLIC cxx_std_14) - target_include_directories(crl_ssl_transport_security_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest +add_executable(crl_provider_test + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h + test/cpp/end2end/crl_provider_test.cc + test/cpp/end2end/test_service_impl.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(crl_provider_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(crl_provider_test PUBLIC cxx_std_14) +target_include_directories(crl_provider_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(crl_provider_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc++_test_util +) + + +endif() +if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) + + add_executable(crl_ssl_transport_security_test + test/core/tsi/crl_ssl_transport_security_test.cc + test/core/tsi/transport_security_test_lib.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(crl_ssl_transport_security_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(crl_ssl_transport_security_test PUBLIC cxx_std_14) + target_include_directories(crl_ssl_transport_security_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest third_party/googletest/googlemock/include third_party/googletest/googlemock ${_gRPC_PROTO_GENS_DIR} @@ -10053,6 +11788,15 @@ if(gRPC_BUILD_TESTS) add_executable(default_engine_methods_test test/core/event_engine/default_engine_methods_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(default_engine_methods_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(default_engine_methods_test PUBLIC cxx_std_14) target_include_directories(default_engine_methods_test PRIVATE @@ -10084,6 +11828,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(default_host_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -10095,6 +11848,15 @@ add_executable(default_host_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(default_host_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(default_host_test PUBLIC cxx_std_14) target_include_directories(default_host_test PRIVATE @@ -10147,6 +11909,16 @@ add_executable(delegating_channel_test test/cpp/end2end/delegating_channel_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(delegating_channel_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(delegating_channel_test PUBLIC cxx_std_14) target_include_directories(delegating_channel_test PRIVATE @@ -10180,6 +11952,16 @@ if(gRPC_BUILD_TESTS) add_executable(destroy_grpclb_channel_with_active_connect_stress_test test/cpp/client/destroy_grpclb_channel_with_active_connect_stress_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(destroy_grpclb_channel_with_active_connect_stress_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(destroy_grpclb_channel_with_active_connect_stress_test PUBLIC cxx_std_14) target_include_directories(destroy_grpclb_channel_with_active_connect_stress_test PRIVATE @@ -10207,10 +11989,61 @@ target_link_libraries(destroy_grpclb_channel_with_active_connect_stress_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(directory_reader_test + test/core/gprpp/directory_reader_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(directory_reader_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(directory_reader_test PUBLIC cxx_std_14) +target_include_directories(directory_reader_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(directory_reader_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc_test_util +) + + endif() if(gRPC_BUILD_TESTS) add_executable(disappearing_server_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -10222,6 +12055,15 @@ add_executable(disappearing_server_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(disappearing_server_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(disappearing_server_test PUBLIC cxx_std_14) target_include_directories(disappearing_server_test PRIVATE @@ -10257,6 +12099,15 @@ if(gRPC_BUILD_TESTS) add_executable(dns_resolver_cooldown_test test/core/client_channel/resolvers/dns_resolver_cooldown_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(dns_resolver_cooldown_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(dns_resolver_cooldown_test PUBLIC cxx_std_14) target_include_directories(dns_resolver_cooldown_test PRIVATE @@ -10290,6 +12141,15 @@ if(gRPC_BUILD_TESTS) add_executable(dns_resolver_test test/core/client_channel/resolvers/dns_resolver_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(dns_resolver_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(dns_resolver_test PUBLIC cxx_std_14) target_include_directories(dns_resolver_test PRIVATE @@ -10317,12 +12177,63 @@ target_link_libraries(dns_resolver_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(down_cast_test + test/core/gprpp/down_cast_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(down_cast_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(down_cast_test PUBLIC cxx_std_14) +target_include_directories(down_cast_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(down_cast_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + absl::config + gpr +) + + endif() if(gRPC_BUILD_TESTS) add_executable(dual_ref_counted_test test/core/gprpp/dual_ref_counted_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(dual_ref_counted_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(dual_ref_counted_test PUBLIC cxx_std_14) target_include_directories(dual_ref_counted_test PRIVATE @@ -10358,6 +12269,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/end2end/cq_verifier.cc test/core/end2end/dualstack_socket_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(dualstack_socket_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(dualstack_socket_test PUBLIC cxx_std_14) target_include_directories(dualstack_socket_test PRIVATE @@ -10394,6 +12314,15 @@ add_executable(duplicate_header_bad_client_test test/core/bad_client/tests/duplicate_header.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(duplicate_header_bad_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(duplicate_header_bad_client_test PUBLIC cxx_std_14) target_include_directories(duplicate_header_bad_client_test PRIVATE @@ -10425,6 +12354,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(empty_batch_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -10436,6 +12374,15 @@ add_executable(empty_batch_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(empty_batch_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(empty_batch_test PUBLIC cxx_std_14) target_include_directories(empty_batch_test PRIVATE @@ -10491,6 +12438,16 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) test/core/transport/binder/end2end/testing_channel_create.cc test/cpp/end2end/test_service_impl.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(end2end_binder_transport_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(end2end_binder_transport_test PUBLIC cxx_std_14) target_include_directories(end2end_binder_transport_test PRIVATE @@ -10547,6 +12504,16 @@ add_executable(end2end_test test/cpp/end2end/interceptors_util.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(end2end_test PUBLIC cxx_std_14) target_include_directories(end2end_test PRIVATE @@ -10574,6 +12541,48 @@ target_link_libraries(end2end_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(endpoint_addresses_test + test/core/resolver/endpoint_addresses_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(endpoint_addresses_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(endpoint_addresses_test PUBLIC cxx_std_14) +target_include_directories(endpoint_addresses_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(endpoint_addresses_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc_test_util +) + + endif() if(gRPC_BUILD_TESTS) @@ -10609,7 +12618,6 @@ add_executable(endpoint_binder_pool_test src/cpp/common/alarm.cc src/cpp/common/auth_property_iterator.cc src/cpp/common/channel_arguments.cc - src/cpp/common/channel_filter.cc src/cpp/common/completion_queue_cc.cc src/cpp/common/resource_quota_cc.cc src/cpp/common/rpc_method.cc @@ -10644,8 +12652,17 @@ add_executable(endpoint_binder_pool_test test/core/transport/binder/endpoint_binder_pool_test.cc test/core/transport/binder/mock_objects.cc ) -target_compile_features(endpoint_binder_pool_test PUBLIC cxx_std_14) -target_include_directories(endpoint_binder_pool_test +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(endpoint_binder_pool_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(endpoint_binder_pool_test PUBLIC cxx_std_14) +target_include_directories(endpoint_binder_pool_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -10683,6 +12700,14 @@ add_executable(endpoint_config_test src/core/lib/surface/channel_stack_type.cc test/core/event_engine/endpoint_config_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(endpoint_config_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(endpoint_config_test PUBLIC cxx_std_14) target_include_directories(endpoint_config_test PRIVATE @@ -10725,11 +12750,19 @@ add_executable(endpoint_pair_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(endpoint_pair_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(endpoint_pair_test PUBLIC cxx_std_14) target_include_directories(endpoint_pair_test PRIVATE @@ -10763,6 +12796,15 @@ if(gRPC_BUILD_TESTS) add_executable(env_test test/core/gpr/env_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(env_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(env_test PUBLIC cxx_std_14) target_include_directories(env_test PRIVATE @@ -10808,6 +12850,16 @@ add_executable(error_details_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h test/cpp/util/error_details_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(error_details_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(error_details_test PUBLIC cxx_std_14) target_include_directories(error_details_test PRIVATE @@ -10848,11 +12900,19 @@ add_executable(error_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(error_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(error_test PUBLIC cxx_std_14) target_include_directories(error_test PRIVATE @@ -10891,11 +12951,19 @@ add_executable(error_utils_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(error_utils_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(error_utils_test PUBLIC cxx_std_14) target_include_directories(error_utils_test PRIVATE @@ -10934,11 +13002,19 @@ add_executable(evaluate_args_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(evaluate_args_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(evaluate_args_test PUBLIC cxx_std_14) target_include_directories(evaluate_args_test PRIVATE @@ -10972,6 +13048,15 @@ if(gRPC_BUILD_TESTS) add_executable(event_engine_wakeup_scheduler_test test/core/promise/event_engine_wakeup_scheduler_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(event_engine_wakeup_scheduler_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(event_engine_wakeup_scheduler_test PUBLIC cxx_std_14) target_include_directories(event_engine_wakeup_scheduler_test PRIVATE @@ -11007,6 +13092,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/event_engine/posix/event_poller_posix_test.cc test/core/event_engine/posix/posix_engine_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(event_poller_posix_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(event_poller_posix_test PUBLIC cxx_std_14) target_include_directories(event_poller_posix_test PRIVATE @@ -11042,6 +13136,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(examine_stack_test test/core/gprpp/examine_stack_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(examine_stack_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(examine_stack_test PUBLIC cxx_std_14) target_include_directories(examine_stack_test PRIVATE @@ -11092,6 +13195,16 @@ add_executable(exception_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h test/cpp/end2end/exception_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(exception_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(exception_test PUBLIC cxx_std_14) target_include_directories(exception_test PRIVATE @@ -11123,9 +13236,9 @@ endif() if(gRPC_BUILD_TESTS) add_executable(exec_ctx_wakeup_scheduler_test - src/core/ext/upb-generated/google/protobuf/any.upb.c - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - src/core/ext/upb-generated/google/rpc/status.upb.c + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c src/core/lib/debug/trace.cc src/core/lib/experiments/config.cc src/core/lib/experiments/experiments.cc @@ -11147,8 +13260,22 @@ add_executable(exec_ctx_wakeup_scheduler_test third_party/upb/upb/mini_descriptor/build_enum.c third_party/upb/upb/mini_descriptor/decode.c third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/decode_fast.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/eps_copy_input_stream.c + third_party/upb/upb/wire/reader.c ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(exec_ctx_wakeup_scheduler_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(exec_ctx_wakeup_scheduler_test PUBLIC cxx_std_14) target_include_directories(exec_ctx_wakeup_scheduler_test PRIVATE @@ -11172,7 +13299,9 @@ target_include_directories(exec_ctx_wakeup_scheduler_test target_link_libraries(exec_ctx_wakeup_scheduler_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb + upb_message_lib + utf8_range_lib + absl::config absl::hash absl::type_traits absl::statusor @@ -11189,6 +13318,14 @@ add_executable(experiments_tag_test test/core/experiments/experiments_tag_test.cc test/core/experiments/fixtures/experiments.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(experiments_tag_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(experiments_tag_test PUBLIC cxx_std_14) target_include_directories(experiments_tag_test PRIVATE @@ -11226,6 +13363,14 @@ add_executable(experiments_test test/core/experiments/experiments_test.cc test/core/experiments/fixtures/experiments.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(experiments_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(experiments_test PUBLIC cxx_std_14) target_include_directories(experiments_test PRIVATE @@ -11259,6 +13404,15 @@ if(gRPC_BUILD_TESTS) add_executable(factory_test test/core/event_engine/factory_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(factory_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(factory_test PUBLIC cxx_std_14) target_include_directories(factory_test PRIVATE @@ -11321,7 +13475,6 @@ add_executable(fake_binder_test src/cpp/common/alarm.cc src/cpp/common/auth_property_iterator.cc src/cpp/common/channel_arguments.cc - src/cpp/common/channel_filter.cc src/cpp/common/completion_queue_cc.cc src/cpp/common/resource_quota_cc.cc src/cpp/common/rpc_method.cc @@ -11356,6 +13509,15 @@ add_executable(fake_binder_test test/core/transport/binder/end2end/fake_binder.cc test/core/transport/binder/end2end/fake_binder_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(fake_binder_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(fake_binder_test PUBLIC cxx_std_14) target_include_directories(fake_binder_test PRIVATE @@ -11390,6 +13552,15 @@ if(gRPC_BUILD_TESTS) add_executable(fake_resolver_test test/core/client_channel/resolvers/fake_resolver_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(fake_resolver_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(fake_resolver_test PUBLIC cxx_std_14) target_include_directories(fake_resolver_test PRIVATE @@ -11424,6 +13595,15 @@ add_executable(fake_transport_security_test test/core/tsi/fake_transport_security_test.cc test/core/tsi/transport_security_test_lib.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(fake_transport_security_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(fake_transport_security_test PUBLIC cxx_std_14) target_include_directories(fake_transport_security_test PRIVATE @@ -11463,11 +13643,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(fd_posix_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(fd_posix_test PUBLIC cxx_std_14) target_include_directories(fd_posix_test PRIVATE @@ -11502,6 +13690,15 @@ if(gRPC_BUILD_TESTS) add_executable(file_watcher_certificate_provider_factory_test test/core/xds/file_watcher_certificate_provider_factory_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(file_watcher_certificate_provider_factory_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(file_watcher_certificate_provider_factory_test PUBLIC cxx_std_14) target_include_directories(file_watcher_certificate_provider_factory_test PRIVATE @@ -11533,6 +13730,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(filter_causes_close_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -11544,6 +13750,15 @@ add_executable(filter_causes_close_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(filter_causes_close_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(filter_causes_close_test PUBLIC cxx_std_14) target_include_directories(filter_causes_close_test PRIVATE @@ -11577,6 +13792,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(filter_context_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -11588,6 +13812,15 @@ add_executable(filter_context_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(filter_context_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(filter_context_test PUBLIC cxx_std_14) target_include_directories(filter_context_test PRIVATE @@ -11617,63 +13850,19 @@ target_link_libraries(filter_context_test ) -endif() -if(gRPC_BUILD_TESTS) - -add_executable(filter_end2end_test - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h - test/cpp/end2end/filter_end2end_test.cc -) -target_compile_features(filter_end2end_test PUBLIC cxx_std_14) -target_include_directories(filter_end2end_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} -) - -target_link_libraries(filter_end2end_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest - grpc++_test_util -) - - endif() if(gRPC_BUILD_TESTS) add_executable(filter_init_fails_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -11685,6 +13874,15 @@ add_executable(filter_init_fails_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(filter_init_fails_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(filter_init_fails_test PUBLIC cxx_std_14) target_include_directories(filter_init_fails_test PRIVATE @@ -11726,6 +13924,15 @@ add_executable(filter_test_test test/core/filters/filter_test.cc test/core/filters/filter_test_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(filter_test_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(filter_test_test PUBLIC cxx_std_14) target_include_directories(filter_test_test PRIVATE @@ -11759,6 +13966,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(filtered_metadata_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -11770,6 +13986,15 @@ add_executable(filtered_metadata_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(filtered_metadata_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(filtered_metadata_test PUBLIC cxx_std_14) target_include_directories(filtered_metadata_test PRIVATE @@ -11822,6 +14047,16 @@ add_executable(flaky_network_test test/cpp/end2end/flaky_network_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(flaky_network_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(flaky_network_test PUBLIC cxx_std_14) target_include_directories(flaky_network_test PRIVATE @@ -11854,12 +14089,12 @@ if(gRPC_BUILD_TESTS) add_executable(flow_control_test src/core/ext/transport/chttp2/transport/flow_control.cc + src/core/ext/transport/chttp2/transport/frame.cc src/core/ext/transport/chttp2/transport/http2_settings.cc - src/core/ext/upb-generated/google/protobuf/any.upb.c - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - src/core/ext/upb-generated/google/rpc/status.upb.c + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c src/core/lib/debug/trace.cc - src/core/lib/event_engine/memory_allocator.cc src/core/lib/experiments/config.cc src/core/lib/experiments/experiments.cc src/core/lib/gprpp/status_helper.cc @@ -11879,17 +14114,31 @@ add_executable(flow_control_test src/core/lib/resource_quota/trace.cc src/core/lib/slice/percent_encoding.cc src/core/lib/slice/slice.cc + src/core/lib/slice/slice_buffer.cc src/core/lib/slice/slice_refcount.cc src/core/lib/slice/slice_string_helpers.cc src/core/lib/transport/bdp_estimator.cc - src/core/lib/transport/pid_controller.cc test/core/transport/chttp2/flow_control_test.cc third_party/upb/upb/message/accessors.c third_party/upb/upb/mini_descriptor/build_enum.c third_party/upb/upb/mini_descriptor/decode.c third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/decode_fast.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/eps_copy_input_stream.c + third_party/upb/upb/wire/reader.c ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(flow_control_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(flow_control_test PUBLIC cxx_std_14) target_include_directories(flow_control_test PRIVATE @@ -11913,12 +14162,14 @@ target_include_directories(flow_control_test target_link_libraries(flow_control_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb - absl::flat_hash_set + upb_message_lib + utf8_range_lib + absl::config absl::function_ref absl::hash absl::type_traits absl::statusor + absl::span gpr ) @@ -11927,11 +14178,10 @@ endif() if(gRPC_BUILD_TESTS) add_executable(for_each_test - src/core/ext/upb-generated/google/protobuf/any.upb.c - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - src/core/ext/upb-generated/google/rpc/status.upb.c + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c src/core/lib/debug/trace.cc - src/core/lib/event_engine/memory_allocator.cc src/core/lib/experiments/config.cc src/core/lib/experiments/experiments.cc src/core/lib/gprpp/status_helper.cc @@ -11959,8 +14209,22 @@ add_executable(for_each_test third_party/upb/upb/mini_descriptor/build_enum.c third_party/upb/upb/mini_descriptor/decode.c third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/decode_fast.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/eps_copy_input_stream.c + third_party/upb/upb/wire/reader.c ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(for_each_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(for_each_test PUBLIC cxx_std_14) target_include_directories(for_each_test PRIVATE @@ -11984,8 +14248,9 @@ target_include_directories(for_each_test target_link_libraries(for_each_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb - absl::flat_hash_set + upb_message_lib + utf8_range_lib + absl::config absl::function_ref absl::hash absl::type_traits @@ -12001,6 +14266,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(fork_test test/core/gprpp/fork_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(fork_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(fork_test PUBLIC cxx_std_14) target_include_directories(fork_test PRIVATE @@ -12037,10 +14311,18 @@ add_executable(forkable_test src/core/lib/event_engine/forkable.cc test/core/event_engine/forkable_test.cc ) -target_compile_features(forkable_test PUBLIC cxx_std_14) -target_include_directories(forkable_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(forkable_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(forkable_test PUBLIC cxx_std_14) +target_include_directories(forkable_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} ${_gRPC_RE2_INCLUDE_DIR} @@ -12080,11 +14362,19 @@ add_executable(format_request_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(format_request_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(format_request_test PUBLIC cxx_std_14) target_include_directories(format_request_test PRIVATE @@ -12119,6 +14409,15 @@ add_executable(frame_handler_test test/core/tsi/alts/crypt/gsec_test_util.cc test/core/tsi/alts/frame_protector/frame_handler_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(frame_handler_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(frame_handler_test PUBLIC cxx_std_14) target_include_directories(frame_handler_test PRIVATE @@ -12149,12 +14448,25 @@ target_link_libraries(frame_handler_test endif() if(gRPC_BUILD_TESTS) -add_executable(frame_header_test - src/core/ext/transport/chaotic_good/frame_header.cc - test/core/transport/chaotic_good/frame_header_test.cc +add_executable(frame_test + src/core/ext/transport/chttp2/transport/frame.cc + src/core/lib/debug/trace.cc + src/core/lib/slice/slice.cc + src/core/lib/slice/slice_buffer.cc + src/core/lib/slice/slice_refcount.cc + src/core/lib/slice/slice_string_helpers.cc + test/core/transport/chttp2/frame_test.cc ) -target_compile_features(frame_header_test PUBLIC cxx_std_14) -target_include_directories(frame_header_test +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(frame_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(frame_test PUBLIC cxx_std_14) +target_include_directories(frame_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -12173,11 +14485,13 @@ target_include_directories(frame_header_test ${_gRPC_PROTO_GENS_DIR} ) -target_link_libraries(frame_header_test +target_link_libraries(frame_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - absl::status + absl::hash absl::statusor + absl::span + gpr ) @@ -12198,6 +14512,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) test/core/event_engine/test_suite/tests/server_test.cc test/core/event_engine/test_suite/tests/timer_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(fuzzing_event_engine_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(fuzzing_event_engine_test PUBLIC cxx_std_14) target_include_directories(fuzzing_event_engine_test PRIVATE @@ -12230,6 +14553,54 @@ endif() endif() if(gRPC_BUILD_TESTS) +add_executable(fuzzing_event_engine_unittest + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.h + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.h + test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc + test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine_unittest.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(fuzzing_event_engine_unittest + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(fuzzing_event_engine_unittest PUBLIC cxx_std_14) +target_include_directories(fuzzing_event_engine_unittest + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(fuzzing_event_engine_unittest + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + ${_gRPC_PROTOBUF_LIBRARIES} + grpc_test_util +) + + +endif() +if(gRPC_BUILD_TESTS) + add_executable(generic_end2end_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc @@ -12253,6 +14624,16 @@ add_executable(generic_end2end_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h test/cpp/end2end/generic_end2end_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(generic_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(generic_end2end_test PUBLIC cxx_std_14) target_include_directories(generic_end2end_test PRIVATE @@ -12287,6 +14668,15 @@ add_executable(goaway_server_test test/core/end2end/cq_verifier.cc test/core/end2end/goaway_server_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(goaway_server_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(goaway_server_test PUBLIC cxx_std_14) target_include_directories(goaway_server_test PRIVATE @@ -12321,6 +14711,16 @@ add_executable(google_c2p_resolver_test test/core/client_channel/resolvers/google_c2p_resolver_test.cc test/core/util/fake_udp_and_tcp_server.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(google_c2p_resolver_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(google_c2p_resolver_test PUBLIC cxx_std_14) target_include_directories(google_c2p_resolver_test PRIVATE @@ -12352,6 +14752,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(graceful_server_shutdown_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -12363,6 +14772,15 @@ add_executable(graceful_server_shutdown_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(graceful_server_shutdown_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(graceful_server_shutdown_test PUBLIC cxx_std_14) target_include_directories(graceful_server_shutdown_test PRIVATE @@ -12399,6 +14817,15 @@ add_executable(graceful_shutdown_test test/core/end2end/cq_verifier.cc test/core/transport/chttp2/graceful_shutdown_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(graceful_shutdown_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(graceful_shutdown_test PUBLIC cxx_std_14) target_include_directories(graceful_shutdown_test PRIVATE @@ -12437,11 +14864,19 @@ add_executable(grpc_alts_credentials_options_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_alts_credentials_options_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_alts_credentials_options_test PUBLIC cxx_std_14) target_include_directories(grpc_alts_credentials_options_test PRIVATE @@ -12475,6 +14910,15 @@ if(gRPC_BUILD_TESTS) add_executable(grpc_audit_logging_test test/core/security/grpc_audit_logging_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_audit_logging_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_audit_logging_test PUBLIC cxx_std_14) target_include_directories(grpc_audit_logging_test PRIVATE @@ -12514,11 +14958,19 @@ add_executable(grpc_authorization_engine_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_authorization_engine_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_authorization_engine_test PUBLIC cxx_std_14) target_include_directories(grpc_authorization_engine_test PRIVATE @@ -12557,11 +15009,19 @@ add_executable(grpc_authorization_policy_provider_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_authorization_policy_provider_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_authorization_policy_provider_test PUBLIC cxx_std_14) target_include_directories(grpc_authorization_policy_provider_test PRIVATE @@ -12615,6 +15075,16 @@ add_executable(grpc_authz_end2end_test test/cpp/end2end/grpc_authz_end2end_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_authz_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_authz_end2end_test PUBLIC cxx_std_14) target_include_directories(grpc_authz_end2end_test PRIVATE @@ -12647,6 +15117,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(grpc_authz_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -12658,6 +15137,15 @@ add_executable(grpc_authz_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_authz_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_authz_test PUBLIC cxx_std_14) target_include_directories(grpc_authz_test PRIVATE @@ -12693,6 +15181,15 @@ if(gRPC_BUILD_TESTS) add_executable(grpc_byte_buffer_reader_test test/core/surface/byte_buffer_reader_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_byte_buffer_reader_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_byte_buffer_reader_test PUBLIC cxx_std_14) target_include_directories(grpc_byte_buffer_reader_test PRIVATE @@ -12736,6 +15233,16 @@ add_executable(grpc_cli test/cpp/util/proto_reflection_descriptor_database.cc test/cpp/util/service_describer.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_cli + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_cli PUBLIC cxx_std_14) target_include_directories(grpc_cli PRIVATE @@ -12766,6 +15273,15 @@ if(gRPC_BUILD_TESTS) add_executable(grpc_completion_queue_test test/core/surface/completion_queue_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_completion_queue_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_completion_queue_test PUBLIC cxx_std_14) target_include_directories(grpc_completion_queue_test PRIVATE @@ -12880,11 +15396,19 @@ add_executable(grpc_ipv6_loopback_available_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_ipv6_loopback_available_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_ipv6_loopback_available_test PUBLIC cxx_std_14) target_include_directories(grpc_ipv6_loopback_available_test PRIVATE @@ -13113,11 +15637,19 @@ add_executable(grpc_tls_certificate_distributor_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_tls_certificate_distributor_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_tls_certificate_distributor_test PUBLIC cxx_std_14) target_include_directories(grpc_tls_certificate_distributor_test PRIVATE @@ -13156,11 +15688,19 @@ add_executable(grpc_tls_certificate_provider_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_tls_certificate_provider_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_tls_certificate_provider_test PUBLIC cxx_std_14) target_include_directories(grpc_tls_certificate_provider_test PRIVATE @@ -13199,11 +15739,19 @@ add_executable(grpc_tls_certificate_verifier_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_tls_certificate_verifier_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_tls_certificate_verifier_test PUBLIC cxx_std_14) target_include_directories(grpc_tls_certificate_verifier_test PRIVATE @@ -13242,11 +15790,19 @@ add_executable(grpc_tls_credentials_options_comparator_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_tls_credentials_options_comparator_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_tls_credentials_options_comparator_test PUBLIC cxx_std_14) target_include_directories(grpc_tls_credentials_options_comparator_test PRIVATE @@ -13285,11 +15841,19 @@ add_executable(grpc_tls_credentials_options_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_tls_credentials_options_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(grpc_tls_credentials_options_test PUBLIC cxx_std_14) target_include_directories(grpc_tls_credentials_options_test PRIVATE @@ -13317,6 +15881,60 @@ target_link_libraries(grpc_tls_credentials_options_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(grpc_tls_crl_provider_test + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.h + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/test/core/util/fuzz_config_vars.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/util/fuzz_config_vars.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/util/fuzz_config_vars.pb.h + ${_gRPC_PROTO_GENS_DIR}/test/core/util/fuzz_config_vars.grpc.pb.h + test/core/event_engine/event_engine_test_utils.cc + test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc + test/core/security/grpc_tls_crl_provider_test.cc + test/core/tsi/transport_security_test_lib.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_tls_crl_provider_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(grpc_tls_crl_provider_test PUBLIC cxx_std_14) +target_include_directories(grpc_tls_crl_provider_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(grpc_tls_crl_provider_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + ${_gRPC_PROTOBUF_LIBRARIES} + grpc_test_util +) + + endif() if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) @@ -13346,6 +15964,16 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) test/cpp/util/proto_reflection_descriptor_database.cc test/cpp/util/service_describer.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpc_tool_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(grpc_tool_test PUBLIC cxx_std_14) target_include_directories(grpc_tool_test PRIVATE @@ -13387,10 +16015,20 @@ add_executable(grpclb_api_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h test/cpp/grpclb/grpclb_api_test.cc ) -target_compile_features(grpclb_api_test PUBLIC cxx_std_14) -target_include_directories(grpclb_api_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpclb_api_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(grpclb_api_test PUBLIC cxx_std_14) +target_include_directories(grpclb_api_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} ${_gRPC_RE2_INCLUDE_DIR} @@ -13446,6 +16084,16 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/grpclb_end2end_test.cc test/cpp/end2end/test_service_impl.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(grpclb_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(grpclb_end2end_test PUBLIC cxx_std_14) target_include_directories(grpclb_end2end_test PRIVATE @@ -13489,6 +16137,15 @@ add_executable(h2_ssl_cert_test test/core/end2end/h2_ssl_cert_test.cc test/core/event_engine/event_engine_test_utils.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(h2_ssl_cert_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(h2_ssl_cert_test PUBLIC cxx_std_14) target_include_directories(h2_ssl_cert_test PRIVATE @@ -13523,6 +16180,15 @@ add_executable(h2_ssl_session_reuse_test test/core/end2end/cq_verifier.cc test/core/end2end/h2_ssl_session_reuse_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(h2_ssl_session_reuse_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(h2_ssl_session_reuse_test PUBLIC cxx_std_14) target_include_directories(h2_ssl_session_reuse_test PRIVATE @@ -13557,6 +16223,15 @@ add_executable(h2_tls_peer_property_external_verifier_test test/core/end2end/cq_verifier.cc test/core/end2end/h2_tls_peer_property_external_verifier_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(h2_tls_peer_property_external_verifier_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(h2_tls_peer_property_external_verifier_test PUBLIC cxx_std_14) target_include_directories(h2_tls_peer_property_external_verifier_test PRIVATE @@ -13590,6 +16265,15 @@ if(gRPC_BUILD_TESTS) add_executable(handle_tests test/core/event_engine/handle_tests.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(handle_tests + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(handle_tests PUBLIC cxx_std_14) target_include_directories(handle_tests PRIVATE @@ -13625,6 +16309,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/handshake/readahead_handshaker_server_ssl.cc test/core/handshake/server_ssl_common.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(handshake_server_with_readahead_handshaker_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(handshake_server_with_readahead_handshaker_test PUBLIC cxx_std_14) target_include_directories(handshake_server_with_readahead_handshaker_test PRIVATE @@ -13661,6 +16354,15 @@ add_executable(head_of_line_blocking_bad_client_test test/core/bad_client/tests/head_of_line_blocking.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(head_of_line_blocking_bad_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(head_of_line_blocking_bad_client_test PUBLIC cxx_std_14) target_include_directories(head_of_line_blocking_bad_client_test PRIVATE @@ -13696,6 +16398,15 @@ add_executable(headers_bad_client_test test/core/bad_client/tests/headers.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(headers_bad_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(headers_bad_client_test PUBLIC cxx_std_14) target_include_directories(headers_bad_client_test PRIVATE @@ -13755,6 +16466,16 @@ add_executable(health_service_end2end_test test/cpp/end2end/test_health_check_service_impl.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(health_service_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(health_service_end2end_test PUBLIC cxx_std_14) target_include_directories(health_service_end2end_test PRIVATE @@ -13786,6 +16507,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(high_initial_seqno_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -13797,6 +16527,15 @@ add_executable(high_initial_seqno_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(high_initial_seqno_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(high_initial_seqno_test PUBLIC cxx_std_14) target_include_directories(high_initial_seqno_test PRIVATE @@ -13837,11 +16576,19 @@ add_executable(histogram_test test/core/util/histogram_test.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(histogram_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(histogram_test PUBLIC cxx_std_14) target_include_directories(histogram_test PRIVATE @@ -13875,6 +16622,15 @@ if(gRPC_BUILD_TESTS) add_executable(host_port_test test/core/gprpp/host_port_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(host_port_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(host_port_test PUBLIC cxx_std_14) target_include_directories(host_port_test PRIVATE @@ -13913,11 +16669,19 @@ add_executable(hpack_encoder_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(hpack_encoder_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(hpack_encoder_test PUBLIC cxx_std_14) target_include_directories(hpack_encoder_test PRIVATE @@ -13956,11 +16720,19 @@ add_executable(hpack_parser_table_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(hpack_parser_table_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(hpack_parser_table_test PUBLIC cxx_std_14) target_include_directories(hpack_parser_table_test PRIVATE @@ -13999,11 +16771,19 @@ add_executable(hpack_parser_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(hpack_parser_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(hpack_parser_test PUBLIC cxx_std_14) target_include_directories(hpack_parser_test PRIVATE @@ -14035,6 +16815,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(hpack_size_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -14046,6 +16835,15 @@ add_executable(hpack_size_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(hpack_size_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(hpack_size_test PUBLIC cxx_std_14) target_include_directories(hpack_size_test PRIVATE @@ -14093,6 +16891,16 @@ add_executable(http2_client ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h test/cpp/interop/http2_client.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(http2_client + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(http2_client PUBLIC cxx_std_14) target_include_directories(http2_client PRIVATE @@ -14116,12 +16924,125 @@ target_link_libraries(http2_client ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(http2_settings_test + test/core/transport/chttp2/http2_settings_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(http2_settings_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(http2_settings_test PUBLIC cxx_std_14) +target_include_directories(http2_settings_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(http2_settings_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc_test_util +) + + +endif() +if(gRPC_BUILD_TESTS) + +add_executable(http2_stats_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc + test/core/end2end/cq_verifier.cc + test/core/end2end/end2end_test_main.cc + test/core/end2end/end2end_test_suites.cc + test/core/end2end/end2end_tests.cc + test/core/end2end/fixtures/http_proxy_fixture.cc + test/core/end2end/fixtures/local_util.cc + test/core/end2end/fixtures/proxy.cc + test/core/end2end/tests/http2_stats.cc + test/core/event_engine/event_engine_test_utils.cc + test/core/util/test_lb_policies.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(http2_stats_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(http2_stats_test PUBLIC cxx_std_14) +target_include_directories(http2_stats_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(http2_stats_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc_authorization_provider + grpc_unsecure + grpc_test_util +) + + endif() if(gRPC_BUILD_TESTS) add_executable(http_proxy_mapper_test test/core/client_channel/http_proxy_mapper_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(http_proxy_mapper_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(http_proxy_mapper_test PUBLIC cxx_std_14) target_include_directories(http_proxy_mapper_test PRIVATE @@ -14158,6 +17079,16 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/http/httpcli_test_util.cc test/core/util/fake_udp_and_tcp_server.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(httpcli_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(httpcli_test PUBLIC cxx_std_14) target_include_directories(httpcli_test PRIVATE @@ -14195,6 +17126,16 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/http/httpscli_test.cc test/core/util/fake_udp_and_tcp_server.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(httpscli_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(httpscli_test PUBLIC cxx_std_14) target_include_directories(httpscli_test PRIVATE @@ -14250,6 +17191,16 @@ add_executable(hybrid_end2end_test test/cpp/end2end/hybrid_end2end_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(hybrid_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(hybrid_end2end_test PUBLIC cxx_std_14) target_include_directories(hybrid_end2end_test PRIVATE @@ -14348,6 +17299,14 @@ if(gRPC_BUILD_TESTS) add_executable(if_test test/core/promise/if_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(if_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(if_test PUBLIC cxx_std_14) target_include_directories(if_test PRIVATE @@ -14383,6 +17342,15 @@ if(gRPC_BUILD_TESTS) add_executable(init_test test/core/surface/init_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(init_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(init_test PUBLIC cxx_std_14) target_include_directories(init_test PRIVATE @@ -14418,6 +17386,15 @@ add_executable(initial_settings_frame_bad_client_test test/core/bad_client/tests/initial_settings_frame.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(initial_settings_frame_bad_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(initial_settings_frame_bad_client_test PUBLIC cxx_std_14) target_include_directories(initial_settings_frame_bad_client_test PRIVATE @@ -14447,38 +17424,103 @@ target_link_libraries(initial_settings_frame_bad_client_test endif() if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) -add_executable(insecure_security_connector_test - test/core/security/insecure_security_connector_test.cc - test/core/util/cmdline.cc - test/core/util/fuzzer_util.cc - test/core/util/grpc_profiler.cc - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc -) -target_compile_features(insecure_security_connector_test PUBLIC cxx_std_14) -target_include_directories(insecure_security_connector_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} + add_executable(inproc_test + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.h + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.h + test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc + test/core/transport/test_suite/call_content.cc + test/core/transport/test_suite/call_shapes.cc + test/core/transport/test_suite/fixture.cc + test/core/transport/test_suite/inproc_fixture.cc + test/core/transport/test_suite/no_op.cc + test/core/transport/test_suite/stress.cc + test/core/transport/test_suite/test.cc + test/core/transport/test_suite/test_main.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(inproc_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(inproc_test PUBLIC cxx_std_14) + target_include_directories(inproc_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} + ) + + target_link_libraries(inproc_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + ${_gRPC_PROTOBUF_LIBRARIES} + grpc_test_util + ) + + +endif() +endif() +if(gRPC_BUILD_TESTS) + +add_executable(insecure_security_connector_test + test/core/security/insecure_security_connector_test.cc + test/core/util/cmdline.cc + test/core/util/fuzzer_util.cc + test/core/util/grpc_profiler.cc + test/core/util/histogram.cc + test/core/util/mock_endpoint.cc + test/core/util/parse_hexstring.cc + test/core/util/resolve_localhost_ip46.cc + test/core/util/slice_splitter.cc + test/core/util/tracer_util.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(insecure_security_connector_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(insecure_security_connector_test PUBLIC cxx_std_14) +target_include_directories(insecure_security_connector_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} ) target_link_libraries(insecure_security_connector_test @@ -14488,6 +17530,48 @@ target_link_libraries(insecure_security_connector_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(inter_activity_latch_test + test/core/promise/inter_activity_latch_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(inter_activity_latch_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(inter_activity_latch_test PUBLIC cxx_std_14) +target_include_directories(inter_activity_latch_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(inter_activity_latch_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc +) + + endif() if(gRPC_BUILD_TESTS) @@ -14497,6 +17581,14 @@ add_executable(inter_activity_pipe_test src/core/lib/promise/trace.cc test/core/promise/inter_activity_pipe_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(inter_activity_pipe_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(inter_activity_pipe_test PUBLIC cxx_std_14) target_include_directories(inter_activity_pipe_test PRIVATE @@ -14520,6 +17612,7 @@ target_include_directories(inter_activity_pipe_test target_link_libraries(inter_activity_pipe_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest + absl::config absl::hash absl::type_traits absl::statusor @@ -14531,11 +17624,10 @@ endif() if(gRPC_BUILD_TESTS) add_executable(interceptor_list_test - src/core/ext/upb-generated/google/protobuf/any.upb.c - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - src/core/ext/upb-generated/google/rpc/status.upb.c + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c src/core/lib/debug/trace.cc - src/core/lib/event_engine/memory_allocator.cc src/core/lib/experiments/config.cc src/core/lib/experiments/experiments.cc src/core/lib/gprpp/status_helper.cc @@ -14563,8 +17655,22 @@ add_executable(interceptor_list_test third_party/upb/upb/mini_descriptor/build_enum.c third_party/upb/upb/mini_descriptor/decode.c third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/decode_fast.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/eps_copy_input_stream.c + third_party/upb/upb/wire/reader.c ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(interceptor_list_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(interceptor_list_test PUBLIC cxx_std_14) target_include_directories(interceptor_list_test PRIVATE @@ -14588,8 +17694,9 @@ target_include_directories(interceptor_list_test target_link_libraries(interceptor_list_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb - absl::flat_hash_set + upb_message_lib + utf8_range_lib + absl::config absl::function_ref absl::hash absl::type_traits @@ -14620,6 +17727,16 @@ add_executable(interop_client test/cpp/interop/client_helper.cc test/cpp/interop/interop_client.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(interop_client + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(interop_client PUBLIC cxx_std_14) target_include_directories(interop_client PRIVATE @@ -14664,6 +17781,16 @@ add_executable(interop_server test/cpp/interop/interop_server_bootstrap.cc test/cpp/interop/server_helper.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(interop_server + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(interop_server PUBLIC cxx_std_14) target_include_directories(interop_server PRIVATE @@ -14694,6 +17821,15 @@ add_executable(invalid_call_argument_test test/core/end2end/cq_verifier.cc test/core/end2end/invalid_call_argument_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(invalid_call_argument_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(invalid_call_argument_test PUBLIC cxx_std_14) target_include_directories(invalid_call_argument_test PRIVATE @@ -14725,6 +17861,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(invoke_large_request_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -14736,6 +17881,15 @@ add_executable(invoke_large_request_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(invoke_large_request_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(invoke_large_request_test PUBLIC cxx_std_14) target_include_directories(invoke_large_request_test PRIVATE @@ -14773,6 +17927,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX OR _gRPC_PLATFORM_WINDOWS) test/core/event_engine/windows/create_sockpair.cc test/core/event_engine/windows/iocp_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(iocp_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(iocp_test PUBLIC cxx_std_14) target_include_directories(iocp_test PRIVATE @@ -14812,6 +17975,16 @@ add_executable(istio_echo_server_test test/cpp/interop/istio_echo_server_lib.cc test/cpp/interop/istio_echo_server_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(istio_echo_server_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(istio_echo_server_test PUBLIC cxx_std_14) target_include_directories(istio_echo_server_test PRIVATE @@ -14849,6 +18022,14 @@ add_executable(join_test src/core/lib/promise/trace.cc test/core/promise/join_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(join_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(join_test PUBLIC cxx_std_14) target_include_directories(join_test PRIVATE @@ -14884,6 +18065,15 @@ if(gRPC_BUILD_TESTS) add_executable(json_object_loader_test test/core/json/json_object_loader_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(json_object_loader_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(json_object_loader_test PUBLIC cxx_std_14) target_include_directories(json_object_loader_test PRIVATE @@ -14917,6 +18107,15 @@ if(gRPC_BUILD_TESTS) add_executable(json_test test/core/json/json_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(json_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(json_test PUBLIC cxx_std_14) target_include_directories(json_test PRIVATE @@ -14955,11 +18154,19 @@ add_executable(json_token_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(json_token_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(json_token_test PUBLIC cxx_std_14) target_include_directories(json_token_test PRIVATE @@ -14998,11 +18205,19 @@ add_executable(jwt_verifier_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(jwt_verifier_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(jwt_verifier_test PUBLIC cxx_std_14) target_include_directories(jwt_verifier_test PRIVATE @@ -15034,6 +18249,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(keepalive_timeout_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -15045,6 +18269,15 @@ add_executable(keepalive_timeout_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(keepalive_timeout_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(keepalive_timeout_test PUBLIC cxx_std_14) target_include_directories(keepalive_timeout_test PRIVATE @@ -15081,6 +18314,15 @@ add_executable(lame_client_test test/core/end2end/cq_verifier.cc test/core/surface/lame_client_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(lame_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(lame_client_test PUBLIC cxx_std_14) target_include_directories(lame_client_test PRIVATE @@ -15112,6 +18354,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(large_metadata_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -15123,6 +18374,15 @@ add_executable(large_metadata_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(large_metadata_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(large_metadata_test PUBLIC cxx_std_14) target_include_directories(large_metadata_test PRIVATE @@ -15161,6 +18421,14 @@ add_executable(latch_test src/core/lib/promise/trace.cc test/core/promise/latch_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(latch_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(latch_test PUBLIC cxx_std_14) target_include_directories(latch_test PRIVATE @@ -15184,6 +18452,7 @@ target_include_directories(latch_test target_link_libraries(latch_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest + absl::config absl::hash absl::type_traits absl::statusor @@ -15201,6 +18470,15 @@ add_executable(lb_get_cpu_stats_test src/cpp/server/load_reporter/get_cpu_stats_windows.cc test/cpp/server/load_reporter/get_cpu_stats_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(lb_get_cpu_stats_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(lb_get_cpu_stats_test PUBLIC cxx_std_14) target_include_directories(lb_get_cpu_stats_test PRIVATE @@ -15235,6 +18513,16 @@ add_executable(lb_load_data_store_test src/cpp/server/load_reporter/load_data_store.cc test/cpp/server/load_reporter/load_data_store_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(lb_load_data_store_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(lb_load_data_store_test PUBLIC cxx_std_14) target_include_directories(lb_load_data_store_test PRIVATE @@ -15269,6 +18557,15 @@ if(gRPC_BUILD_TESTS) add_executable(load_config_test test/core/config/load_config_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(load_config_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(load_config_test PUBLIC cxx_std_14) target_include_directories(load_config_test PRIVATE @@ -15298,20 +18595,71 @@ target_link_libraries(load_config_test endif() if(gRPC_BUILD_TESTS) -if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - add_executable(lock_free_event_test - test/core/event_engine/posix/lock_free_event_test.cc - ) - target_compile_features(lock_free_event_test PUBLIC cxx_std_14) - target_include_directories(lock_free_event_test +add_executable(load_file_test + test/core/gprpp/load_file_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(load_file_test PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(load_file_test PUBLIC cxx_std_14) +target_include_directories(load_file_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(load_file_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc_test_util +) + + +endif() +if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + + add_executable(lock_free_event_test + test/core/event_engine/posix/lock_free_event_test.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(lock_free_event_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(lock_free_event_test PUBLIC cxx_std_14) + target_include_directories(lock_free_event_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} ${_gRPC_UPB_GRPC_GENERATED_DIR} ${_gRPC_UPB_INCLUDE_DIR} ${_gRPC_XXHASH_INCLUDE_DIR} @@ -15338,6 +18686,15 @@ if(gRPC_BUILD_TESTS) add_executable(log_test test/core/gpr/log_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(log_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(log_test PUBLIC cxx_std_14) target_include_directories(log_test PRIVATE @@ -15372,6 +18729,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(log_too_many_open_files_test test/core/event_engine/posix/log_too_many_open_files_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(log_too_many_open_files_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(log_too_many_open_files_test PUBLIC cxx_std_14) target_include_directories(log_too_many_open_files_test PRIVATE @@ -15408,6 +18774,14 @@ add_executable(loop_test src/core/lib/promise/trace.cc test/core/promise/loop_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(loop_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(loop_test PUBLIC cxx_std_14) target_include_directories(loop_test PRIVATE @@ -15441,11 +18815,10 @@ endif() if(gRPC_BUILD_TESTS) add_executable(map_pipe_test - src/core/ext/upb-generated/google/protobuf/any.upb.c - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - src/core/ext/upb-generated/google/rpc/status.upb.c + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c src/core/lib/debug/trace.cc - src/core/lib/event_engine/memory_allocator.cc src/core/lib/experiments/config.cc src/core/lib/experiments/experiments.cc src/core/lib/gprpp/status_helper.cc @@ -15473,8 +18846,22 @@ add_executable(map_pipe_test third_party/upb/upb/mini_descriptor/build_enum.c third_party/upb/upb/mini_descriptor/decode.c third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/decode_fast.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/eps_copy_input_stream.c + third_party/upb/upb/wire/reader.c ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(map_pipe_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(map_pipe_test PUBLIC cxx_std_14) target_include_directories(map_pipe_test PRIVATE @@ -15498,8 +18885,9 @@ target_include_directories(map_pipe_test target_link_libraries(map_pipe_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb - absl::flat_hash_set + upb_message_lib + utf8_range_lib + absl::config absl::function_ref absl::hash absl::type_traits @@ -15551,11 +18939,19 @@ add_executable(matchers_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(matchers_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(matchers_test PUBLIC cxx_std_14) target_include_directories(matchers_test PRIVATE @@ -15583,10 +18979,61 @@ target_link_libraries(matchers_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(max_concurrent_streams_policy_test + src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc + test/core/transport/chttp2/max_concurrent_streams_policy_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(max_concurrent_streams_policy_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(max_concurrent_streams_policy_test PUBLIC cxx_std_14) +target_include_directories(max_concurrent_streams_policy_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(max_concurrent_streams_policy_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + gpr +) + + endif() if(gRPC_BUILD_TESTS) add_executable(max_concurrent_streams_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -15598,6 +19045,15 @@ add_executable(max_concurrent_streams_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(max_concurrent_streams_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(max_concurrent_streams_test PUBLIC cxx_std_14) target_include_directories(max_concurrent_streams_test PRIVATE @@ -15631,6 +19087,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(max_connection_age_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -15642,6 +19107,15 @@ add_executable(max_connection_age_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(max_connection_age_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(max_connection_age_test PUBLIC cxx_std_14) target_include_directories(max_connection_age_test PRIVATE @@ -15675,6 +19149,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(max_connection_idle_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -15686,6 +19169,15 @@ add_executable(max_connection_idle_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(max_connection_idle_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(max_connection_idle_test PUBLIC cxx_std_14) target_include_directories(max_connection_idle_test PRIVATE @@ -15719,6 +19211,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(max_message_length_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -15730,6 +19231,15 @@ add_executable(max_message_length_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(max_message_length_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(max_message_length_test PUBLIC cxx_std_14) target_include_directories(max_message_length_test PRIVATE @@ -15766,6 +19276,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) add_executable(memory_quota_stress_test test/core/resource_quota/memory_quota_stress_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(memory_quota_stress_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(memory_quota_stress_test PUBLIC cxx_std_14) target_include_directories(memory_quota_stress_test PRIVATE @@ -15800,6 +19319,15 @@ if(gRPC_BUILD_TESTS) add_executable(memory_quota_test test/core/resource_quota/memory_quota_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(memory_quota_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(memory_quota_test PUBLIC cxx_std_14) target_include_directories(memory_quota_test PRIVATE @@ -15850,6 +19378,16 @@ add_executable(message_allocator_end2end_test test/cpp/end2end/message_allocator_end2end_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(message_allocator_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(message_allocator_end2end_test PUBLIC cxx_std_14) target_include_directories(message_allocator_end2end_test PRIVATE @@ -15888,11 +19426,19 @@ add_executable(message_compress_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(message_compress_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(message_compress_test PUBLIC cxx_std_14) target_include_directories(message_compress_test PRIVATE @@ -15926,6 +19472,15 @@ if(gRPC_BUILD_TESTS) add_executable(message_size_service_config_test test/core/message_size/message_size_service_config_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(message_size_service_config_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(message_size_service_config_test PUBLIC cxx_std_14) target_include_directories(message_size_service_config_test PRIVATE @@ -15964,11 +19519,19 @@ add_executable(metadata_map_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(metadata_map_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(metadata_map_test PUBLIC cxx_std_14) target_include_directories(metadata_map_test PRIVATE @@ -15996,12 +19559,64 @@ target_link_libraries(metadata_map_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(metrics_test + src/core/lib/channel/metrics.cc + test/core/channel/metrics_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(metrics_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(metrics_test PUBLIC cxx_std_14) +target_include_directories(metrics_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(metrics_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc_test_util +) + + endif() if(gRPC_BUILD_TESTS) add_executable(minimal_stack_is_minimal_test test/core/channel/minimal_stack_is_minimal_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(minimal_stack_is_minimal_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(minimal_stack_is_minimal_test PUBLIC cxx_std_14) target_include_directories(minimal_stack_is_minimal_test PRIVATE @@ -16083,6 +19698,16 @@ add_executable(mock_stream_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h test/cpp/test/mock_stream_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(mock_stream_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(mock_stream_test PUBLIC cxx_std_14) target_include_directories(mock_stream_test PRIVATE @@ -16136,6 +19761,16 @@ add_executable(mock_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h test/cpp/end2end/mock_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(mock_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(mock_test PUBLIC cxx_std_14) target_include_directories(mock_test PRIVATE @@ -16170,6 +19805,14 @@ add_executable(mpsc_test src/core/lib/promise/activity.cc test/core/promise/mpsc_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(mpsc_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(mpsc_test PUBLIC cxx_std_14) target_include_directories(mpsc_test PRIVATE @@ -16193,7 +19836,7 @@ target_include_directories(mpsc_test target_link_libraries(mpsc_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - absl::flat_hash_set + absl::config absl::hash absl::type_traits absl::statusor @@ -16208,6 +19851,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(mpscq_test test/core/gprpp/mpscq_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(mpscq_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(mpscq_test PUBLIC cxx_std_14) target_include_directories(mpscq_test PRIVATE @@ -16240,6 +19892,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(negative_deadline_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -16251,6 +19912,15 @@ add_executable(negative_deadline_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(negative_deadline_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(negative_deadline_test PUBLIC cxx_std_14) target_include_directories(negative_deadline_test PRIVATE @@ -16316,6 +19986,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(no_logging_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -16327,6 +20006,15 @@ add_executable(no_logging_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(no_logging_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(no_logging_test PUBLIC cxx_std_14) target_include_directories(no_logging_test PRIVATE @@ -16360,6 +20048,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(no_op_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -16371,6 +20068,15 @@ add_executable(no_op_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(no_op_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(no_op_test PUBLIC cxx_std_14) target_include_directories(no_op_test PRIVATE @@ -16407,6 +20113,15 @@ add_executable(no_server_test test/core/end2end/cq_verifier.cc test/core/end2end/no_server_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(no_server_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(no_server_test PUBLIC cxx_std_14) target_include_directories(no_server_test PRIVATE @@ -16456,6 +20171,16 @@ add_executable(nonblocking_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h test/cpp/end2end/nonblocking_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(nonblocking_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(nonblocking_test PUBLIC cxx_std_14) target_include_directories(nonblocking_test PRIVATE @@ -16489,6 +20214,14 @@ if(gRPC_BUILD_TESTS) add_executable(notification_test test/core/gprpp/notification_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(notification_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(notification_test PUBLIC cxx_std_14) target_include_directories(notification_test PRIVATE @@ -16522,6 +20255,15 @@ if(gRPC_BUILD_TESTS) add_executable(num_external_connectivity_watchers_test test/core/surface/num_external_connectivity_watchers_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(num_external_connectivity_watchers_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(num_external_connectivity_watchers_test PUBLIC cxx_std_14) target_include_directories(num_external_connectivity_watchers_test PRIVATE @@ -16549,6 +20291,52 @@ target_link_libraries(num_external_connectivity_watchers_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(observable_test + src/core/lib/promise/activity.cc + test/core/promise/observable_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(observable_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(observable_test PUBLIC cxx_std_14) +target_include_directories(observable_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(observable_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + absl::config + absl::hash + absl::type_traits + absl::statusor + gpr +) + + endif() if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) @@ -16561,6 +20349,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/event_engine/test_suite/tests/client_test.cc test/core/event_engine/test_suite/tests/server_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(oracle_event_engine_posix_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(oracle_event_engine_posix_test PUBLIC cxx_std_14) target_include_directories(oracle_event_engine_posix_test PRIVATE @@ -16604,6 +20401,16 @@ add_executable(orca_service_end2end_test src/cpp/server/orca/orca_service.cc test/cpp/end2end/orca_service_end2end_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(orca_service_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(orca_service_end2end_test PUBLIC cxx_std_14) target_include_directories(orca_service_end2end_test PRIVATE @@ -16637,6 +20444,15 @@ if(gRPC_BUILD_TESTS) add_executable(orphanable_test test/core/gprpp/orphanable_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(orphanable_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(orphanable_test PUBLIC cxx_std_14) target_include_directories(orphanable_test PRIVATE @@ -16705,6 +20521,15 @@ add_executable(out_of_bounds_bad_client_test test/core/bad_client/tests/out_of_bounds.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(out_of_bounds_bad_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(out_of_bounds_bad_client_test PUBLIC cxx_std_14) target_include_directories(out_of_bounds_bad_client_test PRIVATE @@ -16738,6 +20563,15 @@ if(gRPC_BUILD_TESTS) add_executable(outlier_detection_lb_config_parser_test test/core/client_channel/lb_policy/outlier_detection_lb_config_parser_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(outlier_detection_lb_config_parser_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(outlier_detection_lb_config_parser_test PUBLIC cxx_std_14) target_include_directories(outlier_detection_lb_config_parser_test PRIVATE @@ -16777,6 +20611,15 @@ add_executable(outlier_detection_test test/core/event_engine/event_engine_test_utils.cc test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(outlier_detection_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(outlier_detection_test PUBLIC cxx_std_14) target_include_directories(outlier_detection_test PRIVATE @@ -16843,6 +20686,15 @@ if(gRPC_BUILD_TESTS) add_executable(parse_address_test test/core/address_utils/parse_address_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(parse_address_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(parse_address_test PUBLIC cxx_std_14) target_include_directories(parse_address_test PRIVATE @@ -16877,6 +20729,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(parse_address_with_named_scope_id_test test/core/address_utils/parse_address_with_named_scope_id_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(parse_address_with_named_scope_id_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(parse_address_with_named_scope_id_test PUBLIC cxx_std_14) target_include_directories(parse_address_with_named_scope_id_test PRIVATE @@ -16911,6 +20772,15 @@ if(gRPC_BUILD_TESTS) add_executable(parsed_metadata_test test/core/transport/parsed_metadata_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(parsed_metadata_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(parsed_metadata_test PUBLIC cxx_std_14) target_include_directories(parsed_metadata_test PRIVATE @@ -16953,11 +20823,19 @@ add_executable(parser_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(parser_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(parser_test PUBLIC cxx_std_14) target_include_directories(parser_test PRIVATE @@ -16991,6 +20869,15 @@ if(gRPC_BUILD_TESTS) add_executable(party_test test/core/promise/party_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(party_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(party_test PUBLIC cxx_std_14) target_include_directories(party_test PRIVATE @@ -17022,6 +20909,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(payload_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -17033,6 +20929,15 @@ add_executable(payload_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(payload_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(payload_test PUBLIC cxx_std_14) target_include_directories(payload_test PRIVATE @@ -17068,6 +20973,15 @@ if(gRPC_BUILD_TESTS) add_executable(percent_encoding_test test/core/slice/percent_encoding_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(percent_encoding_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(percent_encoding_test PUBLIC cxx_std_14) target_include_directories(percent_encoding_test PRIVATE @@ -17099,9 +21013,9 @@ endif() if(gRPC_BUILD_TESTS) add_executable(periodic_update_test - src/core/ext/upb-generated/google/protobuf/any.upb.c - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - src/core/ext/upb-generated/google/rpc/status.upb.c + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c src/core/lib/debug/trace.cc src/core/lib/experiments/config.cc src/core/lib/experiments/experiments.cc @@ -17123,8 +21037,22 @@ add_executable(periodic_update_test third_party/upb/upb/mini_descriptor/build_enum.c third_party/upb/upb/mini_descriptor/decode.c third_party/upb/upb/mini_descriptor/internal/base92.c + third_party/upb/upb/mini_descriptor/internal/encode.c third_party/upb/upb/mini_descriptor/link.c + third_party/upb/upb/wire/decode.c + third_party/upb/upb/wire/decode_fast.c + third_party/upb/upb/wire/encode.c + third_party/upb/upb/wire/eps_copy_input_stream.c + third_party/upb/upb/wire/reader.c ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(periodic_update_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(periodic_update_test PUBLIC cxx_std_14) target_include_directories(periodic_update_test PRIVATE @@ -17148,7 +21076,8 @@ target_include_directories(periodic_update_test target_link_libraries(periodic_update_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - upb + upb_message_lib + utf8_range_lib absl::function_ref absl::hash absl::statusor @@ -17168,6 +21097,15 @@ add_executable(pick_first_test test/core/event_engine/event_engine_test_utils.cc test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(pick_first_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(pick_first_test PUBLIC cxx_std_14) target_include_directories(pick_first_test PRIVATE @@ -17199,21 +21137,29 @@ target_link_libraries(pick_first_test endif() if(gRPC_BUILD_TESTS) -add_executable(pid_controller_test - test/core/transport/pid_controller_test.cc +add_executable(ping_abuse_policy_test + test/core/transport/chttp2/ping_abuse_policy_test.cc test/core/util/cmdline.cc test/core/util/fuzzer_util.cc test/core/util/grpc_profiler.cc test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) -target_compile_features(pid_controller_test PUBLIC cxx_std_14) -target_include_directories(pid_controller_test +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(ping_abuse_policy_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(ping_abuse_policy_test PUBLIC cxx_std_14) +target_include_directories(ping_abuse_policy_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -17232,7 +21178,7 @@ target_include_directories(pid_controller_test ${_gRPC_PROTO_GENS_DIR} ) -target_link_libraries(pid_controller_test +target_link_libraries(ping_abuse_policy_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest grpc_test_util @@ -17242,21 +21188,20 @@ target_link_libraries(pid_controller_test endif() if(gRPC_BUILD_TESTS) -add_executable(ping_abuse_policy_test - test/core/transport/chttp2/ping_abuse_policy_test.cc - test/core/util/cmdline.cc - test/core/util/fuzzer_util.cc - test/core/util/grpc_profiler.cc - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc +add_executable(ping_callbacks_test + test/core/transport/chttp2/ping_callbacks_test.cc ) -target_compile_features(ping_abuse_policy_test PUBLIC cxx_std_14) -target_include_directories(ping_abuse_policy_test +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(ping_callbacks_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(ping_callbacks_test PUBLIC cxx_std_14) +target_include_directories(ping_callbacks_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -17275,10 +21220,10 @@ target_include_directories(ping_abuse_policy_test ${_gRPC_PROTO_GENS_DIR} ) -target_link_libraries(ping_abuse_policy_test +target_link_libraries(ping_callbacks_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - grpc_test_util + grpc ) @@ -17293,11 +21238,19 @@ add_executable(ping_configuration_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(ping_configuration_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(ping_configuration_test PUBLIC cxx_std_14) target_include_directories(ping_configuration_test PRIVATE @@ -17329,6 +21282,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(ping_pong_streaming_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -17340,6 +21302,15 @@ add_executable(ping_pong_streaming_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(ping_pong_streaming_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(ping_pong_streaming_test PUBLIC cxx_std_14) target_include_directories(ping_pong_streaming_test PRIVATE @@ -17380,11 +21351,19 @@ add_executable(ping_rate_policy_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(ping_rate_policy_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(ping_rate_policy_test PUBLIC cxx_std_14) target_include_directories(ping_rate_policy_test PRIVATE @@ -17416,6 +21395,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(ping_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -17427,6 +21415,15 @@ add_executable(ping_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(ping_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(ping_test PUBLIC cxx_std_14) target_include_directories(ping_test PRIVATE @@ -17462,6 +21459,15 @@ if(gRPC_BUILD_TESTS) add_executable(pipe_test test/core/promise/pipe_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(pipe_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(pipe_test PUBLIC cxx_std_14) target_include_directories(pipe_test PRIVATE @@ -17495,6 +21501,14 @@ if(gRPC_BUILD_TESTS) add_executable(poll_test test/core/promise/poll_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(poll_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(poll_test PUBLIC cxx_std_14) target_include_directories(poll_test PRIVATE @@ -17545,6 +21559,16 @@ add_executable(port_sharing_end2end_test test/cpp/end2end/port_sharing_end2end_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(port_sharing_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(port_sharing_end2end_test PUBLIC cxx_std_14) target_include_directories(port_sharing_end2end_test PRIVATE @@ -17583,6 +21607,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/event_engine/test_suite/event_engine_test_framework.cc test/core/event_engine/test_suite/posix/oracle_event_engine_posix.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(posix_endpoint_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(posix_endpoint_test PUBLIC cxx_std_14) target_include_directories(posix_endpoint_test PRIVATE @@ -17618,6 +21651,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(posix_engine_listener_utils_test test/core/event_engine/posix/posix_engine_listener_utils_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(posix_engine_listener_utils_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(posix_engine_listener_utils_test PUBLIC cxx_std_14) target_include_directories(posix_engine_listener_utils_test PRIVATE @@ -17656,6 +21698,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) test/core/event_engine/test_suite/event_engine_test_framework.cc test/core/event_engine/test_suite/posix/oracle_event_engine_posix.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(posix_event_engine_connect_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(posix_event_engine_connect_test PUBLIC cxx_std_14) target_include_directories(posix_event_engine_connect_test PRIVATE @@ -17688,7 +21739,59 @@ endif() if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) - add_executable(posix_event_engine_test + add_executable(posix_event_engine_native_dns_test + test/core/event_engine/event_engine_test_utils.cc + test/core/event_engine/test_suite/event_engine_test_framework.cc + test/core/event_engine/test_suite/posix/oracle_event_engine_posix.cc + test/core/event_engine/test_suite/posix_event_engine_native_dns_test.cc + test/core/event_engine/test_suite/tests/dns_test.cc + test/core/util/fake_udp_and_tcp_server.cc + test/cpp/util/get_grpc_test_runfile_dir.cc + test/cpp/util/windows/manifest_file.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(posix_event_engine_native_dns_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(posix_event_engine_native_dns_test PUBLIC cxx_std_14) + target_include_directories(posix_event_engine_native_dns_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} + ) + + target_link_libraries(posix_event_engine_native_dns_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc++_test_util + ) + + +endif() +endif() +if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) + + add_executable(posix_event_engine_test test/core/event_engine/event_engine_test_utils.cc test/core/event_engine/test_suite/event_engine_test_framework.cc test/core/event_engine/test_suite/posix/oracle_event_engine_posix.cc @@ -17699,7 +21802,18 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) test/core/event_engine/test_suite/tests/timer_test.cc test/core/util/fake_udp_and_tcp_server.cc test/cpp/util/get_grpc_test_runfile_dir.cc - ) + test/cpp/util/windows/manifest_file.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(posix_event_engine_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(posix_event_engine_test PUBLIC cxx_std_14) target_include_directories(posix_event_engine_test PRIVATE @@ -17775,6 +21889,16 @@ add_executable(pre_stop_hook_server_test test/cpp/interop/pre_stop_hook_server_test.cc test/cpp/interop/xds_interop_server_lib.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(pre_stop_hook_server_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(pre_stop_hook_server_test PUBLIC cxx_std_14) target_include_directories(pre_stop_hook_server_test PRIVATE @@ -17811,6 +21935,14 @@ if(gRPC_BUILD_TESTS) add_executable(prioritized_race_test test/core/promise/prioritized_race_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(prioritized_race_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(prioritized_race_test PUBLIC cxx_std_14) target_include_directories(prioritized_race_test PRIVATE @@ -17845,6 +21977,15 @@ add_executable(promise_endpoint_test src/core/lib/transport/promise_endpoint.cc test/core/transport/promise_endpoint_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(promise_endpoint_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(promise_endpoint_test PUBLIC cxx_std_14) target_include_directories(promise_endpoint_test PRIVATE @@ -17878,6 +22019,14 @@ if(gRPC_BUILD_TESTS) add_executable(promise_factory_test test/core/promise/promise_factory_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(promise_factory_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(promise_factory_test PUBLIC cxx_std_14) target_include_directories(promise_factory_test PRIVATE @@ -17913,6 +22062,14 @@ if(gRPC_BUILD_TESTS) add_executable(promise_map_test test/core/promise/map_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(promise_map_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(promise_map_test PUBLIC cxx_std_14) target_include_directories(promise_map_test PRIVATE @@ -17941,12 +22098,68 @@ target_link_libraries(promise_map_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(promise_mutex_test + src/core/lib/debug/trace.cc + src/core/lib/promise/activity.cc + src/core/lib/promise/trace.cc + test/core/promise/promise_mutex_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(promise_mutex_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(promise_mutex_test PUBLIC cxx_std_14) +target_include_directories(promise_mutex_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(promise_mutex_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + absl::config + absl::hash + absl::type_traits + absl::statusor + gpr +) + + endif() if(gRPC_BUILD_TESTS) add_executable(promise_test test/core/promise/promise_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(promise_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(promise_test PUBLIC cxx_std_14) target_include_directories(promise_test PRIVATE @@ -17981,6 +22194,16 @@ if(gRPC_BUILD_TESTS) add_executable(proto_buffer_reader_test test/cpp/util/proto_buffer_reader_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(proto_buffer_reader_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(proto_buffer_reader_test PUBLIC cxx_std_14) target_include_directories(proto_buffer_reader_test PRIVATE @@ -18014,6 +22237,16 @@ if(gRPC_BUILD_TESTS) add_executable(proto_buffer_writer_test test/cpp/util/proto_buffer_writer_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(proto_buffer_writer_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(proto_buffer_writer_test PUBLIC cxx_std_14) target_include_directories(proto_buffer_writer_test PRIVATE @@ -18069,6 +22302,16 @@ add_executable(proto_server_reflection_test test/cpp/end2end/test_service_impl.cc test/cpp/util/proto_reflection_descriptor_database.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(proto_server_reflection_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(proto_server_reflection_test PUBLIC cxx_std_14) target_include_directories(proto_server_reflection_test PRIVATE @@ -18103,6 +22346,16 @@ if(gRPC_BUILD_TESTS) add_executable(proto_utils_test test/cpp/codegen/proto_utils_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(proto_utils_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(proto_utils_test PUBLIC cxx_std_14) target_include_directories(proto_utils_test PRIVATE @@ -18135,6 +22388,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(proxy_auth_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -18146,6 +22408,15 @@ add_executable(proxy_auth_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(proxy_auth_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(proxy_auth_test PUBLIC cxx_std_14) target_include_directories(proxy_auth_test PRIVATE @@ -18222,6 +22493,16 @@ add_executable(qps_json_driver test/cpp/qps/server_sync.cc test/cpp/qps/usage_timer.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(qps_json_driver + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(qps_json_driver PUBLIC cxx_std_14) target_include_directories(qps_json_driver PRIVATE @@ -18284,6 +22565,16 @@ add_executable(qps_worker test/cpp/qps/usage_timer.cc test/cpp/qps/worker.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(qps_worker + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(qps_worker PUBLIC cxx_std_14) target_include_directories(qps_worker PRIVATE @@ -18307,12 +22598,62 @@ target_link_libraries(qps_worker ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(query_extensions_test + test/core/event_engine/query_extensions_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(query_extensions_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(query_extensions_test PUBLIC cxx_std_14) +target_include_directories(query_extensions_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(query_extensions_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + absl::statusor + gpr +) + + endif() if(gRPC_BUILD_TESTS) add_executable(race_test test/core/promise/race_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(race_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(race_test PUBLIC cxx_std_14) target_include_directories(race_test PRIVATE @@ -18370,6 +22711,8 @@ target_include_directories(random_early_detection_test target_link_libraries(random_early_detection_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest + absl::random_bit_gen_ref + absl::random_distributions absl::random_random ) @@ -18401,6 +22744,16 @@ add_executable(raw_end2end_test test/cpp/end2end/raw_end2end_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(raw_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(raw_end2end_test PUBLIC cxx_std_14) target_include_directories(raw_end2end_test PRIVATE @@ -18434,6 +22787,15 @@ if(gRPC_BUILD_TESTS) add_executable(rbac_service_config_parser_test test/core/ext/filters/rbac/rbac_service_config_parser_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(rbac_service_config_parser_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(rbac_service_config_parser_test PUBLIC cxx_std_14) target_include_directories(rbac_service_config_parser_test PRIVATE @@ -18472,11 +22834,19 @@ add_executable(rbac_translator_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(rbac_translator_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(rbac_translator_test PUBLIC cxx_std_14) target_include_directories(rbac_translator_test PRIVATE @@ -18511,6 +22881,15 @@ if(gRPC_BUILD_TESTS) add_executable(ref_counted_ptr_test test/core/gprpp/ref_counted_ptr_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(ref_counted_ptr_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(ref_counted_ptr_test PUBLIC cxx_std_14) target_include_directories(ref_counted_ptr_test PRIVATE @@ -18544,6 +22923,15 @@ if(gRPC_BUILD_TESTS) add_executable(ref_counted_test test/core/gprpp/ref_counted_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(ref_counted_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(ref_counted_test PUBLIC cxx_std_14) target_include_directories(ref_counted_test PRIVATE @@ -18575,6 +22963,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(registered_call_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -18586,6 +22983,15 @@ add_executable(registered_call_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(registered_call_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(registered_call_test PUBLIC cxx_std_14) target_include_directories(registered_call_test PRIVATE @@ -18622,6 +23028,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(remove_stream_from_stalled_lists_test test/core/transport/chttp2/remove_stream_from_stalled_lists_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(remove_stream_from_stalled_lists_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(remove_stream_from_stalled_lists_test PUBLIC cxx_std_14) target_include_directories(remove_stream_from_stalled_lists_test PRIVATE @@ -18654,6 +23069,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(request_with_flags_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -18665,6 +23089,15 @@ add_executable(request_with_flags_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(request_with_flags_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(request_with_flags_test PUBLIC cxx_std_14) target_include_directories(request_with_flags_test PRIVATE @@ -18698,9 +23131,18 @@ endif() if(gRPC_BUILD_TESTS) add_executable(request_with_payload_test - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc + test/core/end2end/cq_verifier.cc + test/core/end2end/end2end_test_main.cc + test/core/end2end/end2end_test_suites.cc test/core/end2end/end2end_tests.cc test/core/end2end/fixtures/http_proxy_fixture.cc test/core/end2end/fixtures/local_util.cc @@ -18709,6 +23151,15 @@ add_executable(request_with_payload_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(request_with_payload_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(request_with_payload_test PUBLIC cxx_std_14) target_include_directories(request_with_payload_test PRIVATE @@ -18750,11 +23201,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(resolve_address_using_ares_resolver_posix_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(resolve_address_using_ares_resolver_posix_test PUBLIC cxx_std_14) target_include_directories(resolve_address_using_ares_resolver_posix_test PRIVATE @@ -18778,7 +23237,6 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) target_link_libraries(resolve_address_using_ares_resolver_posix_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - absl::flags_parse grpc_test_util ) @@ -18796,11 +23254,19 @@ add_executable(resolve_address_using_ares_resolver_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(resolve_address_using_ares_resolver_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(resolve_address_using_ares_resolver_test PUBLIC cxx_std_14) target_include_directories(resolve_address_using_ares_resolver_test PRIVATE @@ -18841,11 +23307,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(resolve_address_using_native_resolver_posix_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(resolve_address_using_native_resolver_posix_test PUBLIC cxx_std_14) target_include_directories(resolve_address_using_native_resolver_posix_test PRIVATE @@ -18869,7 +23343,6 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) target_link_libraries(resolve_address_using_native_resolver_posix_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - absl::flags_parse grpc_test_util ) @@ -18887,11 +23360,19 @@ add_executable(resolve_address_using_native_resolver_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(resolve_address_using_native_resolver_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(resolve_address_using_native_resolver_test PUBLIC cxx_std_14) target_include_directories(resolve_address_using_native_resolver_test PRIVATE @@ -18942,6 +23423,16 @@ add_executable(resource_quota_end2end_stress_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h test/cpp/end2end/resource_quota_end2end_stress_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(resource_quota_end2end_stress_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(resource_quota_end2end_stress_test PUBLIC cxx_std_14) target_include_directories(resource_quota_end2end_stress_test PRIVATE @@ -18973,6 +23464,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(resource_quota_server_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -18984,6 +23484,15 @@ add_executable(resource_quota_server_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(resource_quota_server_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(resource_quota_server_test PUBLIC cxx_std_14) target_include_directories(resource_quota_server_test PRIVATE @@ -19019,6 +23528,15 @@ if(gRPC_BUILD_TESTS) add_executable(resource_quota_test test/core/resource_quota/resource_quota_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(resource_quota_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(resource_quota_test PUBLIC cxx_std_14) target_include_directories(resource_quota_test PRIVATE @@ -19050,6 +23568,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_cancel_after_first_attempt_starts_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19061,6 +23588,15 @@ add_executable(retry_cancel_after_first_attempt_starts_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_cancel_after_first_attempt_starts_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_cancel_after_first_attempt_starts_test PUBLIC cxx_std_14) target_include_directories(retry_cancel_after_first_attempt_starts_test PRIVATE @@ -19094,6 +23630,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_cancel_during_delay_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19105,6 +23650,15 @@ add_executable(retry_cancel_during_delay_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_cancel_during_delay_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_cancel_during_delay_test PUBLIC cxx_std_14) target_include_directories(retry_cancel_during_delay_test PRIVATE @@ -19138,6 +23692,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_cancel_with_multiple_send_batches_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19149,6 +23712,15 @@ add_executable(retry_cancel_with_multiple_send_batches_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_cancel_with_multiple_send_batches_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_cancel_with_multiple_send_batches_test PUBLIC cxx_std_14) target_include_directories(retry_cancel_with_multiple_send_batches_test PRIVATE @@ -19182,6 +23754,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_cancellation_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19193,6 +23774,15 @@ add_executable(retry_cancellation_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_cancellation_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_cancellation_test PUBLIC cxx_std_14) target_include_directories(retry_cancellation_test PRIVATE @@ -19226,6 +23816,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_disabled_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19237,6 +23836,15 @@ add_executable(retry_disabled_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_disabled_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_disabled_test PUBLIC cxx_std_14) target_include_directories(retry_disabled_test PRIVATE @@ -19270,6 +23878,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_exceeds_buffer_size_in_delay_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19281,6 +23898,15 @@ add_executable(retry_exceeds_buffer_size_in_delay_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_exceeds_buffer_size_in_delay_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_exceeds_buffer_size_in_delay_test PUBLIC cxx_std_14) target_include_directories(retry_exceeds_buffer_size_in_delay_test PRIVATE @@ -19314,6 +23940,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_exceeds_buffer_size_in_initial_batch_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19325,6 +23960,15 @@ add_executable(retry_exceeds_buffer_size_in_initial_batch_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_exceeds_buffer_size_in_initial_batch_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_exceeds_buffer_size_in_initial_batch_test PUBLIC cxx_std_14) target_include_directories(retry_exceeds_buffer_size_in_initial_batch_test PRIVATE @@ -19358,6 +24002,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_exceeds_buffer_size_in_subsequent_batch_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19369,6 +24022,15 @@ add_executable(retry_exceeds_buffer_size_in_subsequent_batch_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_exceeds_buffer_size_in_subsequent_batch_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_exceeds_buffer_size_in_subsequent_batch_test PUBLIC cxx_std_14) target_include_directories(retry_exceeds_buffer_size_in_subsequent_batch_test PRIVATE @@ -19402,6 +24064,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_lb_drop_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19413,6 +24084,15 @@ add_executable(retry_lb_drop_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_lb_drop_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_lb_drop_test PUBLIC cxx_std_14) target_include_directories(retry_lb_drop_test PRIVATE @@ -19446,6 +24126,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_lb_fail_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19457,6 +24146,15 @@ add_executable(retry_lb_fail_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_lb_fail_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_lb_fail_test PUBLIC cxx_std_14) target_include_directories(retry_lb_fail_test PRIVATE @@ -19490,6 +24188,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_non_retriable_status_before_trailers_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19501,6 +24208,15 @@ add_executable(retry_non_retriable_status_before_trailers_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_non_retriable_status_before_trailers_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_non_retriable_status_before_trailers_test PUBLIC cxx_std_14) target_include_directories(retry_non_retriable_status_before_trailers_test PRIVATE @@ -19534,6 +24250,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_non_retriable_status_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19545,6 +24270,15 @@ add_executable(retry_non_retriable_status_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_non_retriable_status_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_non_retriable_status_test PUBLIC cxx_std_14) target_include_directories(retry_non_retriable_status_test PRIVATE @@ -19578,6 +24312,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_per_attempt_recv_timeout_on_last_attempt_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19589,6 +24332,15 @@ add_executable(retry_per_attempt_recv_timeout_on_last_attempt_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_per_attempt_recv_timeout_on_last_attempt_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_per_attempt_recv_timeout_on_last_attempt_test PUBLIC cxx_std_14) target_include_directories(retry_per_attempt_recv_timeout_on_last_attempt_test PRIVATE @@ -19622,6 +24374,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_per_attempt_recv_timeout_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19633,6 +24394,15 @@ add_executable(retry_per_attempt_recv_timeout_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_per_attempt_recv_timeout_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_per_attempt_recv_timeout_test PUBLIC cxx_std_14) target_include_directories(retry_per_attempt_recv_timeout_test PRIVATE @@ -19666,6 +24436,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_recv_initial_metadata_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19677,6 +24456,15 @@ add_executable(retry_recv_initial_metadata_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_recv_initial_metadata_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_recv_initial_metadata_test PUBLIC cxx_std_14) target_include_directories(retry_recv_initial_metadata_test PRIVATE @@ -19710,6 +24498,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_recv_message_replay_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19721,6 +24518,15 @@ add_executable(retry_recv_message_replay_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_recv_message_replay_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_recv_message_replay_test PUBLIC cxx_std_14) target_include_directories(retry_recv_message_replay_test PRIVATE @@ -19754,6 +24560,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_recv_message_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19765,6 +24580,15 @@ add_executable(retry_recv_message_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_recv_message_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_recv_message_test PUBLIC cxx_std_14) target_include_directories(retry_recv_message_test PRIVATE @@ -19798,6 +24622,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_recv_trailing_metadata_error_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19809,6 +24642,15 @@ add_executable(retry_recv_trailing_metadata_error_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_recv_trailing_metadata_error_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_recv_trailing_metadata_error_test PUBLIC cxx_std_14) target_include_directories(retry_recv_trailing_metadata_error_test PRIVATE @@ -19842,6 +24684,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_send_initial_metadata_refs_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19853,6 +24704,15 @@ add_executable(retry_send_initial_metadata_refs_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_send_initial_metadata_refs_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_send_initial_metadata_refs_test PUBLIC cxx_std_14) target_include_directories(retry_send_initial_metadata_refs_test PRIVATE @@ -19886,6 +24746,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_send_op_fails_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19897,6 +24766,15 @@ add_executable(retry_send_op_fails_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_send_op_fails_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_send_op_fails_test PUBLIC cxx_std_14) target_include_directories(retry_send_op_fails_test PRIVATE @@ -19930,6 +24808,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_send_recv_batch_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19941,9 +24828,18 @@ add_executable(retry_send_recv_batch_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) -target_compile_features(retry_send_recv_batch_test PUBLIC cxx_std_14) -target_include_directories(retry_send_recv_batch_test - PRIVATE +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_send_recv_batch_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(retry_send_recv_batch_test PUBLIC cxx_std_14) +target_include_directories(retry_send_recv_batch_test + PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} @@ -19974,6 +24870,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_server_pushback_delay_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -19985,6 +24890,15 @@ add_executable(retry_server_pushback_delay_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_server_pushback_delay_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_server_pushback_delay_test PUBLIC cxx_std_14) target_include_directories(retry_server_pushback_delay_test PRIVATE @@ -20018,6 +24932,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_server_pushback_disabled_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -20029,6 +24952,15 @@ add_executable(retry_server_pushback_disabled_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_server_pushback_disabled_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_server_pushback_disabled_test PUBLIC cxx_std_14) target_include_directories(retry_server_pushback_disabled_test PRIVATE @@ -20064,6 +24996,15 @@ if(gRPC_BUILD_TESTS) add_executable(retry_service_config_test test/core/client_channel/retry_service_config_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_service_config_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_service_config_test PUBLIC cxx_std_14) target_include_directories(retry_service_config_test PRIVATE @@ -20095,6 +25036,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_streaming_after_commit_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -20106,6 +25056,15 @@ add_executable(retry_streaming_after_commit_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_streaming_after_commit_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_streaming_after_commit_test PUBLIC cxx_std_14) target_include_directories(retry_streaming_after_commit_test PRIVATE @@ -20139,6 +25098,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_streaming_succeeds_before_replay_finished_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -20150,6 +25118,15 @@ add_executable(retry_streaming_succeeds_before_replay_finished_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_streaming_succeeds_before_replay_finished_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_streaming_succeeds_before_replay_finished_test PUBLIC cxx_std_14) target_include_directories(retry_streaming_succeeds_before_replay_finished_test PRIVATE @@ -20183,6 +25160,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_streaming_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -20194,6 +25180,15 @@ add_executable(retry_streaming_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_streaming_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_streaming_test PUBLIC cxx_std_14) target_include_directories(retry_streaming_test PRIVATE @@ -20227,6 +25222,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -20238,6 +25242,15 @@ add_executable(retry_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_test PUBLIC cxx_std_14) target_include_directories(retry_test PRIVATE @@ -20273,6 +25286,15 @@ if(gRPC_BUILD_TESTS) add_executable(retry_throttle_test test/core/client_channel/retry_throttle_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_throttle_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_throttle_test PUBLIC cxx_std_14) target_include_directories(retry_throttle_test PRIVATE @@ -20304,6 +25326,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_throttled_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -20315,6 +25346,15 @@ add_executable(retry_throttled_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_throttled_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_throttled_test PUBLIC cxx_std_14) target_include_directories(retry_throttled_test PRIVATE @@ -20348,6 +25388,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_too_many_attempts_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -20359,6 +25408,15 @@ add_executable(retry_too_many_attempts_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_too_many_attempts_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_too_many_attempts_test PUBLIC cxx_std_14) target_include_directories(retry_too_many_attempts_test PRIVATE @@ -20392,6 +25450,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_transparent_goaway_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -20403,6 +25470,15 @@ add_executable(retry_transparent_goaway_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_transparent_goaway_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_transparent_goaway_test PUBLIC cxx_std_14) target_include_directories(retry_transparent_goaway_test PRIVATE @@ -20436,6 +25512,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_transparent_max_concurrent_streams_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -20447,6 +25532,15 @@ add_executable(retry_transparent_max_concurrent_streams_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_transparent_max_concurrent_streams_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_transparent_max_concurrent_streams_test PUBLIC cxx_std_14) target_include_directories(retry_transparent_max_concurrent_streams_test PRIVATE @@ -20480,6 +25574,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_transparent_not_sent_on_wire_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -20491,6 +25594,15 @@ add_executable(retry_transparent_not_sent_on_wire_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_transparent_not_sent_on_wire_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_transparent_not_sent_on_wire_test PUBLIC cxx_std_14) target_include_directories(retry_transparent_not_sent_on_wire_test PRIVATE @@ -20524,6 +25636,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_unref_before_finish_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -20535,6 +25656,15 @@ add_executable(retry_unref_before_finish_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_unref_before_finish_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_unref_before_finish_test PUBLIC cxx_std_14) target_include_directories(retry_unref_before_finish_test PRIVATE @@ -20568,6 +25698,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(retry_unref_before_recv_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -20579,6 +25718,15 @@ add_executable(retry_unref_before_recv_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(retry_unref_before_recv_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(retry_unref_before_recv_test PUBLIC cxx_std_14) target_include_directories(retry_unref_before_recv_test PRIVATE @@ -20608,6 +25756,55 @@ target_link_libraries(retry_unref_before_recv_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(ring_hash_test + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.h + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.h + test/core/client_channel/lb_policy/ring_hash_test.cc + test/core/event_engine/event_engine_test_utils.cc + test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(ring_hash_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(ring_hash_test PUBLIC cxx_std_14) +target_include_directories(ring_hash_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(ring_hash_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + ${_gRPC_PROTOBUF_LIBRARIES} + grpc_test_util +) + + endif() if(gRPC_BUILD_TESTS) @@ -20641,6 +25838,16 @@ add_executable(rls_end2end_test test/cpp/end2end/rls_server.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(rls_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(rls_end2end_test PUBLIC cxx_std_14) target_include_directories(rls_end2end_test PRIVATE @@ -20675,6 +25882,15 @@ if(gRPC_BUILD_TESTS) add_executable(rls_lb_config_parser_test test/core/client_channel/lb_policy/rls_lb_config_parser_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(rls_lb_config_parser_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(rls_lb_config_parser_test PUBLIC cxx_std_14) target_include_directories(rls_lb_config_parser_test PRIVATE @@ -20714,6 +25930,15 @@ add_executable(round_robin_test test/core/event_engine/event_engine_test_utils.cc test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(round_robin_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(round_robin_test PUBLIC cxx_std_14) target_include_directories(round_robin_test PRIVATE @@ -20748,6 +25973,16 @@ if(gRPC_BUILD_TESTS) add_executable(secure_auth_context_test test/cpp/common/secure_auth_context_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(secure_auth_context_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(secure_auth_context_test PUBLIC cxx_std_14) target_include_directories(secure_auth_context_test PRIVATE @@ -20781,6 +26016,15 @@ if(gRPC_BUILD_TESTS) add_executable(secure_channel_create_test test/core/surface/secure_channel_create_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(secure_channel_create_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(secure_channel_create_test PUBLIC cxx_std_14) target_include_directories(secure_channel_create_test PRIVATE @@ -20820,11 +26064,19 @@ add_executable(secure_endpoint_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(secure_endpoint_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(secure_endpoint_test PUBLIC cxx_std_14) target_include_directories(secure_endpoint_test PRIVATE @@ -20863,11 +26115,19 @@ add_executable(security_connector_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(security_connector_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(security_connector_test PUBLIC cxx_std_14) target_include_directories(security_connector_test PRIVATE @@ -20903,6 +26163,14 @@ add_executable(seq_test src/core/lib/promise/trace.cc test/core/promise/seq_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(seq_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(seq_test PUBLIC cxx_std_14) target_include_directories(seq_test PRIVATE @@ -20938,6 +26206,15 @@ if(gRPC_BUILD_TESTS) add_executable(sequential_connectivity_test test/core/surface/sequential_connectivity_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(sequential_connectivity_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(sequential_connectivity_test PUBLIC cxx_std_14) target_include_directories(sequential_connectivity_test PRIVATE @@ -20992,6 +26269,16 @@ add_executable(server_builder_plugin_test test/cpp/end2end/server_builder_plugin_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_builder_plugin_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(server_builder_plugin_test PUBLIC cxx_std_14) target_include_directories(server_builder_plugin_test PRIVATE @@ -21046,12 +26333,21 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc test/cpp/server/server_builder_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_builder_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(server_builder_test PUBLIC cxx_std_14) target_include_directories(server_builder_test PRIVATE @@ -21108,12 +26404,21 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc test/cpp/server/server_builder_with_socket_mutator_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_builder_with_socket_mutator_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(server_builder_with_socket_mutator_test PUBLIC cxx_std_14) target_include_directories(server_builder_with_socket_mutator_test PRIVATE @@ -21149,8 +26454,17 @@ if(gRPC_BUILD_TESTS) add_executable(server_call_tracer_factory_test test/core/channel/server_call_tracer_factory_test.cc ) -target_compile_features(server_call_tracer_factory_test PUBLIC cxx_std_14) -target_include_directories(server_call_tracer_factory_test +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_call_tracer_factory_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(server_call_tracer_factory_test PUBLIC cxx_std_14) +target_include_directories(server_call_tracer_factory_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -21182,6 +26496,15 @@ if(gRPC_BUILD_TESTS) add_executable(server_chttp2_test test/core/surface/server_chttp2_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_chttp2_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(server_chttp2_test PUBLIC cxx_std_14) target_include_directories(server_chttp2_test PRIVATE @@ -21215,6 +26538,15 @@ if(gRPC_BUILD_TESTS) add_executable(server_config_selector_test test/core/server_config_selector/server_config_selector_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_config_selector_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(server_config_selector_test PUBLIC cxx_std_14) target_include_directories(server_config_selector_test PRIVATE @@ -21248,6 +26580,16 @@ if(gRPC_BUILD_TESTS) add_executable(server_context_test_spouse_test test/cpp/test/server_context_test_spouse_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_context_test_spouse_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(server_context_test_spouse_test PUBLIC cxx_std_14) target_include_directories(server_context_test_spouse_test PRIVATE @@ -21297,6 +26639,16 @@ add_executable(server_early_return_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h test/cpp/end2end/server_early_return_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_early_return_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(server_early_return_test PUBLIC cxx_std_14) target_include_directories(server_early_return_test PRIVATE @@ -21328,6 +26680,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(server_finishes_request_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -21339,6 +26700,15 @@ add_executable(server_finishes_request_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_finishes_request_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(server_finishes_request_test PUBLIC cxx_std_14) target_include_directories(server_finishes_request_test PRIVATE @@ -21392,6 +26762,16 @@ add_executable(server_interceptors_end2end_test test/cpp/end2end/server_interceptors_end2end_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_interceptors_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(server_interceptors_end2end_test PUBLIC cxx_std_14) target_include_directories(server_interceptors_end2end_test PRIVATE @@ -21427,6 +26807,15 @@ add_executable(server_registered_method_bad_client_test test/core/bad_client/tests/server_registered_method.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_registered_method_bad_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(server_registered_method_bad_client_test PUBLIC cxx_std_14) target_include_directories(server_registered_method_bad_client_test PRIVATE @@ -21481,12 +26870,21 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc test/cpp/server/server_request_call_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_request_call_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(server_request_call_test PUBLIC cxx_std_14) target_include_directories(server_request_call_test PRIVATE @@ -21524,6 +26922,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/handshake/server_ssl.cc test/core/handshake/server_ssl_common.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_ssl_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(server_ssl_test PUBLIC cxx_std_14) target_include_directories(server_ssl_test PRIVATE @@ -21556,6 +26963,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(server_streaming_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -21567,6 +26983,15 @@ add_executable(server_streaming_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_streaming_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(server_streaming_test PUBLIC cxx_std_14) target_include_directories(server_streaming_test PRIVATE @@ -21602,6 +27027,15 @@ if(gRPC_BUILD_TESTS) add_executable(server_test test/core/surface/server_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(server_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(server_test PUBLIC cxx_std_14) target_include_directories(server_test PRIVATE @@ -21656,6 +27090,16 @@ add_executable(service_config_end2end_test test/cpp/end2end/service_config_end2end_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(service_config_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(service_config_end2end_test PUBLIC cxx_std_14) target_include_directories(service_config_end2end_test PRIVATE @@ -21689,6 +27133,15 @@ if(gRPC_BUILD_TESTS) add_executable(service_config_test test/core/service_config/service_config_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(service_config_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(service_config_test PUBLIC cxx_std_14) target_include_directories(service_config_test PRIVATE @@ -21727,11 +27180,19 @@ add_executable(settings_timeout_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(settings_timeout_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(settings_timeout_test PUBLIC cxx_std_14) target_include_directories(settings_timeout_test PRIVATE @@ -21763,6 +27224,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(shutdown_finishes_calls_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -21774,6 +27244,15 @@ add_executable(shutdown_finishes_calls_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(shutdown_finishes_calls_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(shutdown_finishes_calls_test PUBLIC cxx_std_14) target_include_directories(shutdown_finishes_calls_test PRIVATE @@ -21807,6 +27286,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(shutdown_finishes_tags_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -21818,6 +27306,15 @@ add_executable(shutdown_finishes_tags_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(shutdown_finishes_tags_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(shutdown_finishes_tags_test PUBLIC cxx_std_14) target_include_directories(shutdown_finishes_tags_test PRIVATE @@ -21873,6 +27370,16 @@ add_executable(shutdown_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h test/cpp/end2end/shutdown_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(shutdown_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(shutdown_test PUBLIC cxx_std_14) target_include_directories(shutdown_test PRIVATE @@ -21904,6 +27411,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(simple_delayed_request_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -21915,6 +27431,15 @@ add_executable(simple_delayed_request_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(simple_delayed_request_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(simple_delayed_request_test PUBLIC cxx_std_14) target_include_directories(simple_delayed_request_test PRIVATE @@ -21948,6 +27473,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(simple_metadata_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -21959,6 +27493,15 @@ add_executable(simple_metadata_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(simple_metadata_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(simple_metadata_test PUBLIC cxx_std_14) target_include_directories(simple_metadata_test PRIVATE @@ -21996,6 +27539,15 @@ add_executable(simple_request_bad_client_test test/core/bad_client/tests/simple_request.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(simple_request_bad_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(simple_request_bad_client_test PUBLIC cxx_std_14) target_include_directories(simple_request_bad_client_test PRIVATE @@ -22027,6 +27579,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(simple_request_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -22038,6 +27599,15 @@ add_executable(simple_request_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(simple_request_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(simple_request_test PUBLIC cxx_std_14) target_include_directories(simple_request_test PRIVATE @@ -22073,6 +27643,14 @@ if(gRPC_BUILD_TESTS) add_executable(single_set_ptr_test test/core/gprpp/single_set_ptr_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(single_set_ptr_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(single_set_ptr_test PUBLIC cxx_std_14) target_include_directories(single_set_ptr_test PRIVATE @@ -22106,6 +27684,15 @@ if(gRPC_BUILD_TESTS) add_executable(sleep_test test/core/promise/sleep_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(sleep_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(sleep_test PUBLIC cxx_std_14) target_include_directories(sleep_test PRIVATE @@ -22143,6 +27730,14 @@ add_executable(slice_string_helpers_test src/core/lib/slice/slice_string_helpers.cc test/core/slice/slice_string_helpers_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(slice_string_helpers_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(slice_string_helpers_test PUBLIC cxx_std_14) target_include_directories(slice_string_helpers_test PRIVATE @@ -22178,6 +27773,15 @@ if(gRPC_BUILD_TESTS) add_executable(smoke_test test/core/event_engine/smoke_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(smoke_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(smoke_test PUBLIC cxx_std_14) target_include_directories(smoke_test PRIVATE @@ -22211,6 +27815,15 @@ if(gRPC_BUILD_TESTS) add_executable(sockaddr_resolver_test test/core/client_channel/resolvers/sockaddr_resolver_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(sockaddr_resolver_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(sockaddr_resolver_test PUBLIC cxx_std_14) target_include_directories(sockaddr_resolver_test PRIVATE @@ -22244,6 +27857,15 @@ if(gRPC_BUILD_TESTS) add_executable(sockaddr_utils_test test/core/address_utils/sockaddr_utils_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(sockaddr_utils_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(sockaddr_utils_test PUBLIC cxx_std_14) target_include_directories(sockaddr_utils_test PRIVATE @@ -22283,11 +27905,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(socket_utils_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(socket_utils_test PUBLIC cxx_std_14) target_include_directories(socket_utils_test PRIVATE @@ -22354,6 +27984,15 @@ if(gRPC_BUILD_TESTS) add_executable(spinlock_test test/core/gpr/spinlock_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(spinlock_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(spinlock_test PUBLIC cxx_std_14) target_include_directories(spinlock_test PRIVATE @@ -22389,6 +28028,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/tsi/ssl_transport_security_test.cc test/core/tsi/transport_security_test_lib.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(ssl_transport_security_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(ssl_transport_security_test PUBLIC cxx_std_14) target_include_directories(ssl_transport_security_test PRIVATE @@ -22423,7 +28071,17 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(ssl_transport_security_utils_test test/core/tsi/ssl_transport_security_utils_test.cc + test/core/tsi/transport_security_test_lib.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(ssl_transport_security_utils_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(ssl_transport_security_utils_test PUBLIC cxx_std_14) target_include_directories(ssl_transport_security_utils_test PRIVATE @@ -22459,6 +28117,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(stack_tracer_test test/core/util/stack_tracer_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(stack_tracer_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(stack_tracer_test PUBLIC cxx_std_14) target_include_directories(stack_tracer_test PRIVATE @@ -22493,6 +28160,15 @@ if(gRPC_BUILD_TESTS) add_executable(stat_test test/core/gprpp/stat_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(stat_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(stat_test PUBLIC cxx_std_14) target_include_directories(stat_test PRIVATE @@ -22524,9 +28200,17 @@ endif() if(gRPC_BUILD_TESTS) add_executable(static_stride_scheduler_test - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc + src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc test/core/client_channel/lb_policy/static_stride_scheduler_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(static_stride_scheduler_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(static_stride_scheduler_test PUBLIC cxx_std_14) target_include_directories(static_stride_scheduler_test PRIVATE @@ -22561,6 +28245,15 @@ if(gRPC_BUILD_TESTS) add_executable(stats_test test/core/debug/stats_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(stats_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(stats_test PUBLIC cxx_std_14) target_include_directories(stats_test PRIVATE @@ -22599,11 +28292,19 @@ add_executable(status_conversion_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(status_conversion_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(status_conversion_test PUBLIC cxx_std_14) target_include_directories(status_conversion_test PRIVATE @@ -22634,11 +28335,19 @@ target_link_libraries(status_conversion_test endif() if(gRPC_BUILD_TESTS) -add_executable(status_helper_test - test/core/gprpp/status_helper_test.cc +add_executable(status_flag_test + test/core/promise/status_flag_test.cc ) -target_compile_features(status_helper_test PUBLIC cxx_std_14) -target_include_directories(status_helper_test +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(status_flag_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(status_flag_test PUBLIC cxx_std_14) +target_include_directories(status_flag_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -22657,21 +28366,31 @@ target_include_directories(status_helper_test ${_gRPC_PROTO_GENS_DIR} ) -target_link_libraries(status_helper_test +target_link_libraries(status_flag_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - grpc_test_util + absl::statusor + gpr ) endif() if(gRPC_BUILD_TESTS) -add_executable(status_util_test - test/core/channel/status_util_test.cc +add_executable(status_helper_test + test/core/gprpp/status_helper_test.cc ) -target_compile_features(status_util_test PUBLIC cxx_std_14) -target_include_directories(status_util_test +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(status_helper_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(status_helper_test PUBLIC cxx_std_14) +target_include_directories(status_helper_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -22690,7 +28409,7 @@ target_include_directories(status_util_test ${_gRPC_PROTO_GENS_DIR} ) -target_link_libraries(status_util_test +target_link_libraries(status_helper_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest grpc_test_util @@ -22699,56 +28418,61 @@ target_link_libraries(status_util_test endif() if(gRPC_BUILD_TESTS) -if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) - add_executable(stranded_event_test - test/core/end2end/cq_verifier.cc - test/core/iomgr/stranded_event_test.cc - test/core/util/cmdline.cc - test/core/util/fuzzer_util.cc - test/core/util/grpc_profiler.cc - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc - ) - target_compile_features(stranded_event_test PUBLIC cxx_std_14) - target_include_directories(stranded_event_test +add_executable(status_util_test + test/core/channel/status_util_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(status_util_test PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} - ) + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(status_util_test PUBLIC cxx_std_14) +target_include_directories(status_util_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) - target_link_libraries(stranded_event_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest - grpc_test_util - ) +target_link_libraries(status_util_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc_test_util +) -endif() endif() if(gRPC_BUILD_TESTS) add_executable(stream_leak_with_queued_flow_control_update_test test/core/transport/chttp2/stream_leak_with_queued_flow_control_update_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(stream_leak_with_queued_flow_control_update_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(stream_leak_with_queued_flow_control_update_test PUBLIC cxx_std_14) target_include_directories(stream_leak_with_queued_flow_control_update_test PRIVATE @@ -22780,6 +28504,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(streaming_error_response_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -22791,6 +28524,15 @@ add_executable(streaming_error_response_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(streaming_error_response_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(streaming_error_response_test PUBLIC cxx_std_14) target_include_directories(streaming_error_response_test PRIVATE @@ -22847,6 +28589,16 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h test/cpp/end2end/streaming_throughput_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(streaming_throughput_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(streaming_throughput_test PUBLIC cxx_std_14) target_include_directories(streaming_throughput_test PRIVATE @@ -22887,11 +28639,19 @@ add_executable(streams_not_seen_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(streams_not_seen_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(streams_not_seen_test PUBLIC cxx_std_14) target_include_directories(streams_not_seen_test PRIVATE @@ -22925,6 +28685,16 @@ if(gRPC_BUILD_TESTS) add_executable(string_ref_test test/cpp/util/string_ref_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(string_ref_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(string_ref_test PUBLIC cxx_std_14) target_include_directories(string_ref_test PRIVATE @@ -22959,6 +28729,15 @@ if(gRPC_BUILD_TESTS) add_executable(string_test test/core/gpr/string_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(string_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(string_test PUBLIC cxx_std_14) target_include_directories(string_test PRIVATE @@ -22986,12 +28765,64 @@ target_link_libraries(string_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(switch_test + test/core/promise/switch_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(switch_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(switch_test PUBLIC cxx_std_14) +target_include_directories(switch_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(switch_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + absl::type_traits + absl::statusor + gpr +) + + endif() if(gRPC_BUILD_TESTS) add_executable(sync_test test/core/gpr/sync_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(sync_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(sync_test PUBLIC cxx_std_14) target_include_directories(sync_test PRIVATE @@ -23030,11 +28861,19 @@ add_executable(system_roots_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(system_roots_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(system_roots_test PUBLIC cxx_std_14) target_include_directories(system_roots_test PRIVATE @@ -23108,11 +28947,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(tcp_client_posix_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(tcp_client_posix_test PUBLIC cxx_std_14) target_include_directories(tcp_client_posix_test PRIVATE @@ -23148,6 +28995,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(tcp_posix_socket_utils_test test/core/event_engine/posix/tcp_posix_socket_utils_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(tcp_posix_socket_utils_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(tcp_posix_socket_utils_test PUBLIC cxx_std_14) target_include_directories(tcp_posix_socket_utils_test PRIVATE @@ -23189,11 +29045,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(tcp_posix_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(tcp_posix_test PUBLIC cxx_std_14) target_include_directories(tcp_posix_test PRIVATE @@ -23234,11 +29098,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(tcp_server_posix_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(tcp_server_posix_test PUBLIC cxx_std_14) target_include_directories(tcp_server_posix_test PRIVATE @@ -23273,6 +29145,15 @@ if(gRPC_BUILD_TESTS) add_executable(tcp_socket_utils_test test/core/event_engine/tcp_socket_utils_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(tcp_socket_utils_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(tcp_socket_utils_test PUBLIC cxx_std_14) target_include_directories(tcp_socket_utils_test PRIVATE @@ -23312,6 +29193,16 @@ add_executable(test_core_channel_channelz_test test/core/event_engine/event_engine_test_utils.cc test/cpp/util/channel_trace_proto_helper.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_channel_channelz_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_core_channel_channelz_test PUBLIC cxx_std_14) target_include_directories(test_core_channel_channelz_test PRIVATE @@ -23344,6 +29235,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(test_core_end2end_channelz_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -23355,6 +29255,15 @@ add_executable(test_core_end2end_channelz_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_end2end_channelz_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_core_end2end_channelz_test PUBLIC cxx_std_14) target_include_directories(test_core_end2end_channelz_test PRIVATE @@ -23394,6 +29303,14 @@ add_executable(test_core_event_engine_posix_timer_heap_test src/core/lib/gprpp/time_averaged_stats.cc test/core/event_engine/posix/timer_heap_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_event_engine_posix_timer_heap_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_core_event_engine_posix_timer_heap_test PUBLIC cxx_std_14) target_include_directories(test_core_event_engine_posix_timer_heap_test PRIVATE @@ -23432,6 +29349,14 @@ add_executable(test_core_event_engine_posix_timer_list_test src/core/lib/gprpp/time_averaged_stats.cc test/core/event_engine/posix/timer_list_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_event_engine_posix_timer_list_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_core_event_engine_posix_timer_list_test PUBLIC cxx_std_14) target_include_directories(test_core_event_engine_posix_timer_list_test PRIVATE @@ -23475,6 +29400,14 @@ add_executable(test_core_event_engine_slice_buffer_test src/core/lib/slice/slice_string_helpers.cc test/core/event_engine/slice_buffer_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_event_engine_slice_buffer_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_core_event_engine_slice_buffer_test PUBLIC cxx_std_14) target_include_directories(test_core_event_engine_slice_buffer_test PRIVATE @@ -23498,7 +29431,6 @@ target_include_directories(test_core_event_engine_slice_buffer_test target_link_libraries(test_core_event_engine_slice_buffer_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - absl::flat_hash_set absl::hash absl::statusor absl::utility @@ -23512,6 +29444,15 @@ if(gRPC_BUILD_TESTS) add_executable(test_core_gpr_time_test test/core/gpr/time_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_gpr_time_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_core_gpr_time_test PUBLIC cxx_std_14) target_include_directories(test_core_gpr_time_test PRIVATE @@ -23542,11 +29483,20 @@ target_link_libraries(test_core_gpr_time_test endif() if(gRPC_BUILD_TESTS) -add_executable(test_core_gprpp_load_file_test - test/core/gprpp/load_file_test.cc +add_executable(test_core_gprpp_time_test + src/core/lib/gprpp/time.cc + test/core/gprpp/time_test.cc ) -target_compile_features(test_core_gprpp_load_file_test PUBLIC cxx_std_14) -target_include_directories(test_core_gprpp_load_file_test +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_gprpp_time_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(test_core_gprpp_time_test PUBLIC cxx_std_14) +target_include_directories(test_core_gprpp_time_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -23565,22 +29515,40 @@ target_include_directories(test_core_gprpp_load_file_test ${_gRPC_PROTO_GENS_DIR} ) -target_link_libraries(test_core_gprpp_load_file_test +target_link_libraries(test_core_gprpp_time_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - grpc_test_util + absl::statusor + gpr ) endif() if(gRPC_BUILD_TESTS) -add_executable(test_core_gprpp_time_test - src/core/lib/gprpp/time.cc - test/core/gprpp/time_test.cc +add_executable(test_core_iomgr_timer_heap_test + test/core/iomgr/timer_heap_test.cc + test/core/util/cmdline.cc + test/core/util/fuzzer_util.cc + test/core/util/grpc_profiler.cc + test/core/util/histogram.cc + test/core/util/mock_endpoint.cc + test/core/util/parse_hexstring.cc + test/core/util/resolve_localhost_ip46.cc + test/core/util/slice_splitter.cc + test/core/util/tracer_util.cc ) -target_compile_features(test_core_gprpp_time_test PUBLIC cxx_std_14) -target_include_directories(test_core_gprpp_time_test +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_iomgr_timer_heap_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(test_core_iomgr_timer_heap_test PUBLIC cxx_std_14) +target_include_directories(test_core_iomgr_timer_heap_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -23599,32 +29567,39 @@ target_include_directories(test_core_gprpp_time_test ${_gRPC_PROTO_GENS_DIR} ) -target_link_libraries(test_core_gprpp_time_test +target_link_libraries(test_core_iomgr_timer_heap_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - absl::statusor - gpr + grpc_test_util ) endif() if(gRPC_BUILD_TESTS) -add_executable(test_core_iomgr_load_file_test - test/core/iomgr/load_file_test.cc +add_executable(test_core_security_credentials_test + test/core/security/credentials_test.cc test/core/util/cmdline.cc test/core/util/fuzzer_util.cc test/core/util/grpc_profiler.cc test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) -target_compile_features(test_core_iomgr_load_file_test PUBLIC cxx_std_14) -target_include_directories(test_core_iomgr_load_file_test +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_security_credentials_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(test_core_security_credentials_test PUBLIC cxx_std_14) +target_include_directories(test_core_security_credentials_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include @@ -23643,7 +29618,7 @@ target_include_directories(test_core_iomgr_load_file_test ${_gRPC_PROTO_GENS_DIR} ) -target_link_libraries(test_core_iomgr_load_file_test +target_link_libraries(test_core_security_credentials_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest grpc_test_util @@ -23653,105 +29628,27 @@ target_link_libraries(test_core_iomgr_load_file_test endif() if(gRPC_BUILD_TESTS) -add_executable(test_core_iomgr_timer_heap_test - test/core/iomgr/timer_heap_test.cc +add_executable(test_core_security_ssl_credentials_test + test/core/security/ssl_credentials_test.cc test/core/util/cmdline.cc test/core/util/fuzzer_util.cc test/core/util/grpc_profiler.cc test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) -target_compile_features(test_core_iomgr_timer_heap_test PUBLIC cxx_std_14) -target_include_directories(test_core_iomgr_timer_heap_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} -) - -target_link_libraries(test_core_iomgr_timer_heap_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest - grpc_test_util -) - - -endif() -if(gRPC_BUILD_TESTS) - -add_executable(test_core_security_credentials_test - test/core/security/credentials_test.cc - test/core/util/cmdline.cc - test/core/util/fuzzer_util.cc - test/core/util/grpc_profiler.cc - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc -) -target_compile_features(test_core_security_credentials_test PUBLIC cxx_std_14) -target_include_directories(test_core_security_credentials_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} -) - -target_link_libraries(test_core_security_credentials_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest - grpc_test_util -) - - +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_security_ssl_credentials_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() endif() -if(gRPC_BUILD_TESTS) - -add_executable(test_core_security_ssl_credentials_test - test/core/security/ssl_credentials_test.cc - test/core/util/cmdline.cc - test/core/util/fuzzer_util.cc - test/core/util/grpc_profiler.cc - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc -) target_compile_features(test_core_security_ssl_credentials_test PUBLIC cxx_std_14) target_include_directories(test_core_security_ssl_credentials_test PRIVATE @@ -23785,6 +29682,15 @@ if(gRPC_BUILD_TESTS) add_executable(test_core_slice_slice_buffer_test test/core/slice/slice_buffer_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_slice_slice_buffer_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_core_slice_slice_buffer_test PUBLIC cxx_std_14) target_include_directories(test_core_slice_slice_buffer_test PRIVATE @@ -23819,6 +29725,15 @@ add_executable(test_core_slice_slice_test test/core/slice/slice_test.cc test/core/util/build.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_slice_slice_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_core_slice_slice_test PUBLIC cxx_std_14) target_include_directories(test_core_slice_slice_test PRIVATE @@ -23848,339 +29763,67 @@ target_link_libraries(test_core_slice_slice_test endif() if(gRPC_BUILD_TESTS) +if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX) -add_executable(test_core_transport_chaotic_good_frame_test - src/core/ext/transport/chaotic_good/frame.cc - src/core/ext/transport/chaotic_good/frame_header.cc - src/core/ext/transport/chttp2/transport/bin_encoder.cc - src/core/ext/transport/chttp2/transport/decode_huff.cc - src/core/ext/transport/chttp2/transport/hpack_encoder.cc - src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc - src/core/ext/transport/chttp2/transport/hpack_parse_result.cc - src/core/ext/transport/chttp2/transport/hpack_parser.cc - src/core/ext/transport/chttp2/transport/hpack_parser_table.cc - src/core/ext/transport/chttp2/transport/http_trace.cc - src/core/ext/transport/chttp2/transport/huffsyms.cc - src/core/ext/transport/chttp2/transport/varint.cc - src/core/ext/upb-generated/google/protobuf/any.upb.c - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - src/core/ext/upb-generated/google/rpc/status.upb.c - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c - src/core/lib/address_utils/parse_address.cc - src/core/lib/address_utils/sockaddr_utils.cc - src/core/lib/backoff/backoff.cc - src/core/lib/backoff/random_early_detection.cc - src/core/lib/channel/call_tracer.cc - src/core/lib/channel/channel_args.cc - src/core/lib/channel/channel_args_preconditioning.cc - src/core/lib/channel/channel_stack.cc - src/core/lib/channel/channel_stack_builder.cc - src/core/lib/channel/channel_stack_builder_impl.cc - src/core/lib/channel/channel_trace.cc - src/core/lib/channel/channelz.cc - src/core/lib/channel/channelz_registry.cc - src/core/lib/channel/connected_channel.cc - src/core/lib/channel/promise_based_filter.cc - src/core/lib/channel/server_call_tracer_filter.cc - src/core/lib/channel/status_util.cc - src/core/lib/compression/compression.cc - src/core/lib/compression/compression_internal.cc - src/core/lib/compression/message_compress.cc - src/core/lib/config/core_configuration.cc - src/core/lib/debug/event_log.cc - src/core/lib/debug/histogram_view.cc - src/core/lib/debug/stats.cc - src/core/lib/debug/stats_data.cc - src/core/lib/debug/trace.cc - src/core/lib/event_engine/ares_resolver.cc - src/core/lib/event_engine/cf_engine/cf_engine.cc - src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc - src/core/lib/event_engine/cf_engine/dns_service_resolver.cc - src/core/lib/event_engine/channel_args_endpoint_config.cc - src/core/lib/event_engine/default_event_engine.cc - src/core/lib/event_engine/default_event_engine_factory.cc - src/core/lib/event_engine/event_engine.cc - src/core/lib/event_engine/forkable.cc - src/core/lib/event_engine/memory_allocator.cc - src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc - src/core/lib/event_engine/posix_engine/ev_poll_posix.cc - src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc - src/core/lib/event_engine/posix_engine/internal_errqueue.cc - src/core/lib/event_engine/posix_engine/lockfree_event.cc - src/core/lib/event_engine/posix_engine/posix_endpoint.cc - src/core/lib/event_engine/posix_engine/posix_engine.cc - src/core/lib/event_engine/posix_engine/posix_engine_listener.cc - src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc - src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc - src/core/lib/event_engine/posix_engine/timer.cc - src/core/lib/event_engine/posix_engine/timer_heap.cc - src/core/lib/event_engine/posix_engine/timer_manager.cc - src/core/lib/event_engine/posix_engine/traced_buffer_list.cc - src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc - src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc - src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc - src/core/lib/event_engine/resolved_address.cc - src/core/lib/event_engine/shim.cc - src/core/lib/event_engine/slice.cc - src/core/lib/event_engine/slice_buffer.cc - src/core/lib/event_engine/tcp_socket_utils.cc - src/core/lib/event_engine/thread_pool/thread_count.cc - src/core/lib/event_engine/thread_pool/thread_pool_factory.cc - src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc - src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc - src/core/lib/event_engine/time_util.cc - src/core/lib/event_engine/trace.cc - src/core/lib/event_engine/utils.cc - src/core/lib/event_engine/windows/iocp.cc - src/core/lib/event_engine/windows/win_socket.cc - src/core/lib/event_engine/windows/windows_endpoint.cc - src/core/lib/event_engine/windows/windows_engine.cc - src/core/lib/event_engine/windows/windows_listener.cc - src/core/lib/event_engine/work_queue/basic_work_queue.cc - src/core/lib/experiments/config.cc - src/core/lib/experiments/experiments.cc - src/core/lib/gprpp/load_file.cc - src/core/lib/gprpp/per_cpu.cc - src/core/lib/gprpp/ref_counted_string.cc - src/core/lib/gprpp/status_helper.cc - src/core/lib/gprpp/time.cc - src/core/lib/gprpp/time_averaged_stats.cc - src/core/lib/gprpp/validation_errors.cc - src/core/lib/gprpp/work_serializer.cc - src/core/lib/handshaker/proxy_mapper_registry.cc - src/core/lib/iomgr/buffer_list.cc - src/core/lib/iomgr/call_combiner.cc - src/core/lib/iomgr/cfstream_handle.cc - src/core/lib/iomgr/closure.cc - src/core/lib/iomgr/combiner.cc - src/core/lib/iomgr/dualstack_socket_posix.cc - src/core/lib/iomgr/endpoint.cc - src/core/lib/iomgr/endpoint_cfstream.cc - src/core/lib/iomgr/endpoint_pair_posix.cc - src/core/lib/iomgr/endpoint_pair_windows.cc - src/core/lib/iomgr/error.cc - src/core/lib/iomgr/error_cfstream.cc - src/core/lib/iomgr/ev_apple.cc - src/core/lib/iomgr/ev_epoll1_linux.cc - src/core/lib/iomgr/ev_poll_posix.cc - src/core/lib/iomgr/ev_posix.cc - src/core/lib/iomgr/ev_windows.cc - src/core/lib/iomgr/event_engine_shims/closure.cc - src/core/lib/iomgr/event_engine_shims/endpoint.cc - src/core/lib/iomgr/event_engine_shims/tcp_client.cc - src/core/lib/iomgr/exec_ctx.cc - src/core/lib/iomgr/executor.cc - src/core/lib/iomgr/fork_posix.cc - src/core/lib/iomgr/fork_windows.cc - src/core/lib/iomgr/gethostname_fallback.cc - src/core/lib/iomgr/gethostname_host_name_max.cc - src/core/lib/iomgr/gethostname_sysconf.cc - src/core/lib/iomgr/grpc_if_nametoindex_posix.cc - src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc - src/core/lib/iomgr/internal_errqueue.cc - src/core/lib/iomgr/iocp_windows.cc - src/core/lib/iomgr/iomgr.cc - src/core/lib/iomgr/iomgr_internal.cc - src/core/lib/iomgr/iomgr_posix.cc - src/core/lib/iomgr/iomgr_posix_cfstream.cc - src/core/lib/iomgr/iomgr_windows.cc - src/core/lib/iomgr/load_file.cc - src/core/lib/iomgr/lockfree_event.cc - src/core/lib/iomgr/polling_entity.cc - src/core/lib/iomgr/pollset.cc - src/core/lib/iomgr/pollset_set.cc - src/core/lib/iomgr/pollset_set_windows.cc - src/core/lib/iomgr/pollset_windows.cc - src/core/lib/iomgr/resolve_address.cc - src/core/lib/iomgr/resolve_address_posix.cc - src/core/lib/iomgr/resolve_address_windows.cc - src/core/lib/iomgr/sockaddr_utils_posix.cc - src/core/lib/iomgr/socket_factory_posix.cc - src/core/lib/iomgr/socket_mutator.cc - src/core/lib/iomgr/socket_utils_common_posix.cc - src/core/lib/iomgr/socket_utils_linux.cc - src/core/lib/iomgr/socket_utils_posix.cc - src/core/lib/iomgr/socket_utils_windows.cc - src/core/lib/iomgr/socket_windows.cc - src/core/lib/iomgr/systemd_utils.cc - src/core/lib/iomgr/tcp_client.cc - src/core/lib/iomgr/tcp_client_cfstream.cc - src/core/lib/iomgr/tcp_client_posix.cc - src/core/lib/iomgr/tcp_client_windows.cc - src/core/lib/iomgr/tcp_posix.cc - src/core/lib/iomgr/tcp_server.cc - src/core/lib/iomgr/tcp_server_posix.cc - src/core/lib/iomgr/tcp_server_utils_posix_common.cc - src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc - src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc - src/core/lib/iomgr/tcp_server_windows.cc - src/core/lib/iomgr/tcp_windows.cc - src/core/lib/iomgr/timer.cc - src/core/lib/iomgr/timer_generic.cc - src/core/lib/iomgr/timer_heap.cc - src/core/lib/iomgr/timer_manager.cc - src/core/lib/iomgr/unix_sockets_posix.cc - src/core/lib/iomgr/unix_sockets_posix_noop.cc - src/core/lib/iomgr/vsock.cc - src/core/lib/iomgr/wakeup_fd_eventfd.cc - src/core/lib/iomgr/wakeup_fd_nospecial.cc - src/core/lib/iomgr/wakeup_fd_pipe.cc - src/core/lib/iomgr/wakeup_fd_posix.cc - src/core/lib/json/json_writer.cc - src/core/lib/load_balancing/lb_policy.cc - src/core/lib/load_balancing/lb_policy_registry.cc - src/core/lib/promise/activity.cc - src/core/lib/promise/party.cc - src/core/lib/promise/trace.cc - src/core/lib/resolver/resolver.cc - src/core/lib/resolver/resolver_registry.cc - src/core/lib/resolver/server_address.cc - src/core/lib/resource_quota/api.cc - src/core/lib/resource_quota/arena.cc - src/core/lib/resource_quota/memory_quota.cc - src/core/lib/resource_quota/periodic_update.cc - src/core/lib/resource_quota/resource_quota.cc - src/core/lib/resource_quota/thread_quota.cc - src/core/lib/resource_quota/trace.cc - src/core/lib/security/certificate_provider/certificate_provider_registry.cc - src/core/lib/security/credentials/alts/check_gcp_environment.cc - src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc - src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc - src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc - src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc - src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc - src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc - src/core/lib/service_config/service_config_parser.cc - src/core/lib/slice/b64.cc - src/core/lib/slice/percent_encoding.cc - src/core/lib/slice/slice.cc - src/core/lib/slice/slice_buffer.cc - src/core/lib/slice/slice_refcount.cc - src/core/lib/slice/slice_string_helpers.cc - src/core/lib/surface/api_trace.cc - src/core/lib/surface/builtins.cc - src/core/lib/surface/byte_buffer.cc - src/core/lib/surface/byte_buffer_reader.cc - src/core/lib/surface/call.cc - src/core/lib/surface/call_details.cc - src/core/lib/surface/call_log_batch.cc - src/core/lib/surface/call_trace.cc - src/core/lib/surface/channel.cc - src/core/lib/surface/channel_init.cc - src/core/lib/surface/channel_ping.cc - src/core/lib/surface/channel_stack_type.cc - src/core/lib/surface/completion_queue.cc - src/core/lib/surface/completion_queue_factory.cc - src/core/lib/surface/event_string.cc - src/core/lib/surface/init_internally.cc - src/core/lib/surface/lame_client.cc - src/core/lib/surface/metadata_array.cc - src/core/lib/surface/server.cc - src/core/lib/surface/validate_metadata.cc - src/core/lib/surface/version.cc - src/core/lib/transport/batch_builder.cc - src/core/lib/transport/connectivity_state.cc - src/core/lib/transport/error_utils.cc - src/core/lib/transport/handshaker_registry.cc - src/core/lib/transport/metadata_batch.cc - src/core/lib/transport/parsed_metadata.cc - src/core/lib/transport/status_conversion.cc - src/core/lib/transport/timeout_encoding.cc - src/core/lib/transport/transport.cc - src/core/lib/transport/transport_op_string.cc - src/core/lib/uri/uri_parser.cc - src/core/tsi/alts/handshaker/transport_security_common_api.cc - test/core/transport/chaotic_good/frame_test.cc - third_party/upb/upb/message/accessors.c - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/link.c -) -target_compile_features(test_core_transport_chaotic_good_frame_test PUBLIC cxx_std_14) -target_include_directories(test_core_transport_chaotic_good_frame_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} -) - -target_link_libraries(test_core_transport_chaotic_good_frame_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest - upb - ${_gRPC_ZLIB_LIBRARIES} - absl::cleanup - absl::flat_hash_map - absl::flat_hash_set - absl::inlined_vector - absl::function_ref - absl::hash - absl::type_traits - absl::statusor - absl::span - absl::utility - ${_gRPC_CARES_LIBRARIES} - gpr -) - - -endif() -if(gRPC_BUILD_TESTS) - -add_executable(test_core_transport_chttp2_frame_test - src/core/ext/transport/chttp2/transport/frame.cc - src/core/lib/debug/trace.cc - src/core/lib/slice/slice.cc - src/core/lib/slice/slice_buffer.cc - src/core/lib/slice/slice_refcount.cc - src/core/lib/slice/slice_string_helpers.cc - test/core/transport/chttp2/frame_test.cc -) -target_compile_features(test_core_transport_chttp2_frame_test PUBLIC cxx_std_14) -target_include_directories(test_core_transport_chttp2_frame_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} -) + add_executable(test_core_transport_test_suite_chaotic_good_test + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.h + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.h + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/lib/transport/promise_endpoint.cc + test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc + test/core/transport/test_suite/call_content.cc + test/core/transport/test_suite/call_shapes.cc + test/core/transport/test_suite/chaotic_good_fixture.cc + test/core/transport/test_suite/fixture.cc + test/core/transport/test_suite/no_op.cc + test/core/transport/test_suite/stress.cc + test/core/transport/test_suite/test.cc + test/core/transport/test_suite/test_main.cc + ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_core_transport_test_suite_chaotic_good_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() + target_compile_features(test_core_transport_test_suite_chaotic_good_test PUBLIC cxx_std_14) + target_include_directories(test_core_transport_test_suite_chaotic_good_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} + ) -target_link_libraries(test_core_transport_chttp2_frame_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest - absl::hash - absl::statusor - absl::span - gpr -) + target_link_libraries(test_core_transport_test_suite_chaotic_good_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + ${_gRPC_PROTOBUF_LIBRARIES} + grpc_test_util + ) +endif() endif() if(gRPC_BUILD_TESTS) @@ -24188,6 +29831,16 @@ add_executable(test_cpp_client_credentials_test test/cpp/client/credentials_test.cc test/cpp/util/tls_test_utils.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_cpp_client_credentials_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_cpp_client_credentials_test PUBLIC cxx_std_14) target_include_directories(test_cpp_client_credentials_test PRIVATE @@ -24239,6 +29892,16 @@ add_executable(test_cpp_end2end_ssl_credentials_test test/cpp/end2end/ssl_credentials_test.cc test/cpp/end2end/test_service_impl.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_cpp_end2end_ssl_credentials_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_cpp_end2end_ssl_credentials_test PUBLIC cxx_std_14) target_include_directories(test_cpp_end2end_ssl_credentials_test PRIVATE @@ -24266,6 +29929,60 @@ target_link_libraries(test_cpp_end2end_ssl_credentials_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(test_cpp_ext_chaotic_good_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc + src/cpp/ext/chaotic_good.cc + test/cpp/ext/chaotic_good_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_cpp_ext_chaotic_good_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(test_cpp_ext_chaotic_good_test PUBLIC cxx_std_14) +target_include_directories(test_cpp_ext_chaotic_good_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(test_cpp_ext_chaotic_good_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc++ + grpc_test_util +) + + endif() if(gRPC_BUILD_TESTS) @@ -24273,6 +29990,16 @@ add_executable(test_cpp_server_credentials_test test/cpp/server/credentials_test.cc test/cpp/util/tls_test_utils.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_cpp_server_credentials_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_cpp_server_credentials_test PUBLIC cxx_std_14) target_include_directories(test_cpp_server_credentials_test PRIVATE @@ -24307,6 +30034,16 @@ if(gRPC_BUILD_TESTS) add_executable(test_cpp_util_slice_test test/cpp/util/slice_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_cpp_util_slice_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_cpp_util_slice_test PUBLIC cxx_std_14) target_include_directories(test_cpp_util_slice_test PRIVATE @@ -24340,6 +30077,16 @@ if(gRPC_BUILD_TESTS) add_executable(test_cpp_util_time_test test/cpp/util/time_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(test_cpp_util_time_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(test_cpp_util_time_test PUBLIC cxx_std_14) target_include_directories(test_cpp_util_time_test PRIVATE @@ -24373,6 +30120,15 @@ if(gRPC_BUILD_TESTS) add_executable(thd_test test/core/gprpp/thd_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(thd_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(thd_test PUBLIC cxx_std_14) target_include_directories(thd_test PRIVATE @@ -24406,6 +30162,16 @@ if(gRPC_BUILD_TESTS) add_executable(thread_manager_test test/cpp/thread_manager/thread_manager_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(thread_manager_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(thread_manager_test PUBLIC cxx_std_14) target_include_directories(thread_manager_test PRIVATE @@ -24440,6 +30206,15 @@ if(gRPC_BUILD_TESTS) add_executable(thread_pool_test test/core/event_engine/thread_pool_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(thread_pool_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(thread_pool_test PUBLIC cxx_std_14) target_include_directories(thread_pool_test PRIVATE @@ -24475,6 +30250,14 @@ add_executable(thread_quota_test src/core/lib/resource_quota/thread_quota.cc test/core/resource_quota/thread_quota_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(thread_quota_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(thread_quota_test PUBLIC cxx_std_14) target_include_directories(thread_quota_test PRIVATE @@ -24530,6 +30313,16 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h test/cpp/end2end/thread_stress_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(thread_stress_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(thread_stress_test PUBLIC cxx_std_14) target_include_directories(thread_stress_test PRIVATE @@ -24571,6 +30364,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/event_engine/test_suite/tests/timer_test.cc test/core/event_engine/test_suite/thready_posix_event_engine_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(thready_posix_event_engine_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(thready_posix_event_engine_test PUBLIC cxx_std_14) target_include_directories(thready_posix_event_engine_test PRIVATE @@ -24606,6 +30408,16 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(time_jump_test test/cpp/common/time_jump_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(time_jump_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(time_jump_test PUBLIC cxx_std_14) target_include_directories(time_jump_test PRIVATE @@ -24641,6 +30453,15 @@ if(gRPC_BUILD_TESTS) add_executable(time_util_test test/core/gprpp/time_util_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(time_util_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(time_util_test PUBLIC cxx_std_14) target_include_directories(time_util_test PRIVATE @@ -24668,6 +30489,68 @@ target_link_libraries(time_util_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(timeout_before_request_call_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc + test/core/end2end/cq_verifier.cc + test/core/end2end/end2end_test_main.cc + test/core/end2end/end2end_test_suites.cc + test/core/end2end/end2end_tests.cc + test/core/end2end/fixtures/http_proxy_fixture.cc + test/core/end2end/fixtures/local_util.cc + test/core/end2end/fixtures/proxy.cc + test/core/end2end/tests/timeout_before_request_call.cc + test/core/event_engine/event_engine_test_utils.cc + test/core/util/test_lb_policies.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(timeout_before_request_call_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(timeout_before_request_call_test PUBLIC cxx_std_14) +target_include_directories(timeout_before_request_call_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(timeout_before_request_call_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc_authorization_provider + grpc_unsecure + grpc_test_util +) + + endif() if(gRPC_BUILD_TESTS) @@ -24679,11 +30562,19 @@ add_executable(timeout_encoding_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(timeout_encoding_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(timeout_encoding_test PUBLIC cxx_std_14) target_include_directories(timeout_encoding_test PRIVATE @@ -24717,6 +30608,15 @@ if(gRPC_BUILD_TESTS) add_executable(timer_manager_test test/core/event_engine/posix/timer_manager_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(timer_manager_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(timer_manager_test PUBLIC cxx_std_14) target_include_directories(timer_manager_test PRIVATE @@ -24750,6 +30650,16 @@ if(gRPC_BUILD_TESTS) add_executable(timer_test test/cpp/common/timer_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(timer_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(timer_test PUBLIC cxx_std_14) target_include_directories(timer_test PRIVATE @@ -24785,6 +30695,16 @@ add_executable(tls_certificate_verifier_test test/cpp/security/tls_certificate_verifier_test.cc test/cpp/util/tls_test_utils.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(tls_certificate_verifier_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(tls_certificate_verifier_test PUBLIC cxx_std_14) target_include_directories(tls_certificate_verifier_test PRIVATE @@ -24805,11 +30725,71 @@ target_include_directories(tls_certificate_verifier_test ${_gRPC_PROTO_GENS_DIR} ) -target_link_libraries(tls_certificate_verifier_test +target_link_libraries(tls_certificate_verifier_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + grpc++ + grpc_test_util +) + + +endif() +if(gRPC_BUILD_TESTS) + +add_executable(tls_credentials_test + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/simple_messages.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h + test/cpp/end2end/test_service_impl.cc + test/cpp/end2end/tls_credentials_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(tls_credentials_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(tls_credentials_test PUBLIC cxx_std_14) +target_include_directories(tls_credentials_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(tls_credentials_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest - grpc++ - grpc_test_util + grpc++_test_util ) @@ -24835,6 +30815,16 @@ add_executable(tls_key_export_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h test/cpp/end2end/tls_key_export_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(tls_key_export_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(tls_key_export_test PUBLIC cxx_std_14) target_include_directories(tls_key_export_test PRIVATE @@ -24873,11 +30863,19 @@ add_executable(tls_security_connector_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(tls_security_connector_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(tls_security_connector_test PUBLIC cxx_std_14) target_include_directories(tls_security_connector_test PRIVATE @@ -24912,6 +30910,16 @@ add_executable(too_many_pings_test test/core/end2end/cq_verifier.cc test/core/transport/chttp2/too_many_pings_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(too_many_pings_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(too_many_pings_test PUBLIC cxx_std_14) target_include_directories(too_many_pings_test PRIVATE @@ -24947,6 +30955,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(traced_buffer_list_test test/core/event_engine/posix/traced_buffer_list_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(traced_buffer_list_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(traced_buffer_list_test PUBLIC cxx_std_14) target_include_directories(traced_buffer_list_test PRIVATE @@ -24979,6 +30996,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(trailing_metadata_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -24990,6 +31016,15 @@ add_executable(trailing_metadata_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(trailing_metadata_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(trailing_metadata_test PUBLIC cxx_std_14) target_include_directories(trailing_metadata_test PRIVATE @@ -25025,6 +31060,15 @@ if(gRPC_BUILD_TESTS) add_executable(transport_security_common_api_test test/core/tsi/alts/handshaker/transport_security_common_api_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(transport_security_common_api_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(transport_security_common_api_test PUBLIC cxx_std_14) target_include_directories(transport_security_common_api_test PRIVATE @@ -25058,6 +31102,15 @@ if(gRPC_BUILD_TESTS) add_executable(transport_security_test test/core/tsi/transport_security_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(transport_security_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(transport_security_test PUBLIC cxx_std_14) target_include_directories(transport_security_test PRIVATE @@ -25120,7 +31173,6 @@ add_executable(transport_stream_receiver_test src/cpp/common/alarm.cc src/cpp/common/auth_property_iterator.cc src/cpp/common/channel_arguments.cc - src/cpp/common/channel_filter.cc src/cpp/common/completion_queue_cc.cc src/cpp/common/resource_quota_cc.cc src/cpp/common/rpc_method.cc @@ -25154,6 +31206,15 @@ add_executable(transport_stream_receiver_test src/cpp/util/time_cc.cc test/core/transport/binder/transport_stream_receiver_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(transport_stream_receiver_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(transport_stream_receiver_test PUBLIC cxx_std_14) target_include_directories(transport_stream_receiver_test PRIVATE @@ -25190,6 +31251,14 @@ add_executable(try_join_test src/core/lib/promise/trace.cc test/core/promise/try_join_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(try_join_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(try_join_test PUBLIC cxx_std_14) target_include_directories(try_join_test PRIVATE @@ -25226,6 +31295,15 @@ if(gRPC_BUILD_TESTS) add_executable(try_seq_metadata_test test/core/promise/try_seq_metadata_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(try_seq_metadata_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(try_seq_metadata_test PUBLIC cxx_std_14) target_include_directories(try_seq_metadata_test PRIVATE @@ -25261,6 +31339,14 @@ add_executable(try_seq_test src/core/lib/promise/trace.cc test/core/promise/try_seq_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(try_seq_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(try_seq_test PUBLIC cxx_std_14) target_include_directories(try_seq_test PRIVATE @@ -25331,6 +31417,15 @@ add_executable(unknown_frame_bad_client_test test/core/bad_client/tests/unknown_frame.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(unknown_frame_bad_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(unknown_frame_bad_client_test PUBLIC cxx_std_14) target_include_directories(unknown_frame_bad_client_test PRIVATE @@ -25364,6 +31459,15 @@ if(gRPC_BUILD_TESTS) add_executable(uri_parser_test test/core/uri/uri_parser_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(uri_parser_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(uri_parser_test PUBLIC cxx_std_14) target_include_directories(uri_parser_test PRIVATE @@ -25430,6 +31534,15 @@ add_executable(uuid_v4_test src/core/lib/gprpp/uuid_v4.cc test/core/gprpp/uuid_v4_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(uuid_v4_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(uuid_v4_test PUBLIC cxx_std_14) target_include_directories(uuid_v4_test PRIVATE @@ -25463,6 +31576,15 @@ if(gRPC_BUILD_TESTS) add_executable(validation_errors_test test/core/gprpp/validation_errors_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(validation_errors_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(validation_errors_test PUBLIC cxx_std_14) target_include_directories(validation_errors_test PRIVATE @@ -25496,6 +31618,15 @@ if(gRPC_BUILD_TESTS) add_executable(varint_test test/core/transport/chttp2/varint_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(varint_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(varint_test PUBLIC cxx_std_14) target_include_directories(varint_test PRIVATE @@ -25530,6 +31661,14 @@ add_executable(wait_for_callback_test src/core/lib/promise/activity.cc test/core/promise/wait_for_callback_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(wait_for_callback_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(wait_for_callback_test PUBLIC cxx_std_14) target_include_directories(wait_for_callback_test PRIVATE @@ -25553,6 +31692,7 @@ target_include_directories(wait_for_callback_test target_link_libraries(wait_for_callback_test ${_gRPC_ALLTARGETS_LIBRARIES} gtest + absl::config absl::hash absl::type_traits absl::statusor @@ -25567,6 +31707,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) add_executable(wakeup_fd_posix_test test/core/event_engine/posix/wakeup_fd_posix_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(wakeup_fd_posix_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(wakeup_fd_posix_test PUBLIC cxx_std_14) target_include_directories(wakeup_fd_posix_test PRIVATE @@ -25601,6 +31750,15 @@ if(gRPC_BUILD_TESTS) add_executable(weighted_round_robin_config_test test/core/client_channel/lb_policy/weighted_round_robin_config_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(weighted_round_robin_config_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(weighted_round_robin_config_test PUBLIC cxx_std_14) target_include_directories(weighted_round_robin_config_test PRIVATE @@ -25640,6 +31798,15 @@ add_executable(weighted_round_robin_test test/core/event_engine/event_engine_test_utils.cc test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(weighted_round_robin_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(weighted_round_robin_test PUBLIC cxx_std_14) target_include_directories(weighted_round_robin_test PRIVATE @@ -25676,6 +31843,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX OR _gRPC_PLATFORM_WINDOWS) test/core/event_engine/windows/create_sockpair.cc test/core/event_engine/windows/win_socket_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(win_socket_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(win_socket_test PUBLIC cxx_std_14) target_include_directories(win_socket_test PRIVATE @@ -25712,6 +31888,15 @@ add_executable(window_overflow_bad_client_test test/core/bad_client/tests/window_overflow.cc test/core/end2end/cq_verifier.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(window_overflow_bad_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(window_overflow_bad_client_test PUBLIC cxx_std_14) target_include_directories(window_overflow_bad_client_test PRIVATE @@ -25747,6 +31932,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX OR _gRPC_PLATFORM_WINDOWS) test/core/event_engine/windows/create_sockpair.cc test/core/event_engine/windows/windows_endpoint_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(windows_endpoint_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(windows_endpoint_test PUBLIC cxx_std_14) target_include_directories(windows_endpoint_test PRIVATE @@ -25810,7 +32004,6 @@ add_executable(wire_reader_test src/cpp/common/alarm.cc src/cpp/common/auth_property_iterator.cc src/cpp/common/channel_arguments.cc - src/cpp/common/channel_filter.cc src/cpp/common/completion_queue_cc.cc src/cpp/common/resource_quota_cc.cc src/cpp/common/rpc_method.cc @@ -25845,6 +32038,15 @@ add_executable(wire_reader_test test/core/transport/binder/mock_objects.cc test/core/transport/binder/wire_reader_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(wire_reader_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(wire_reader_test PUBLIC cxx_std_14) target_include_directories(wire_reader_test PRIVATE @@ -25908,7 +32110,6 @@ add_executable(wire_writer_test src/cpp/common/alarm.cc src/cpp/common/auth_property_iterator.cc src/cpp/common/channel_arguments.cc - src/cpp/common/channel_filter.cc src/cpp/common/completion_queue_cc.cc src/cpp/common/resource_quota_cc.cc src/cpp/common/rpc_method.cc @@ -25943,6 +32144,15 @@ add_executable(wire_writer_test test/core/transport/binder/mock_objects.cc test/core/transport/binder/wire_writer_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(wire_writer_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(wire_writer_test PUBLIC cxx_std_14) target_include_directories(wire_writer_test PRIVATE @@ -25979,6 +32189,15 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/core/event_engine/event_engine_test_utils.cc test/core/gprpp/work_serializer_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(work_serializer_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(work_serializer_test PUBLIC cxx_std_14) target_include_directories(work_serializer_test PRIVATE @@ -26011,6 +32230,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(write_buffering_at_end_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -26022,6 +32250,15 @@ add_executable(write_buffering_at_end_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(write_buffering_at_end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(write_buffering_at_end_test PUBLIC cxx_std_14) target_include_directories(write_buffering_at_end_test PRIVATE @@ -26055,6 +32292,15 @@ endif() if(gRPC_BUILD_TESTS) add_executable(write_buffering_test + src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + src/core/ext/transport/chaotic_good/client_transport.cc + src/core/ext/transport/chaotic_good/frame.cc + src/core/ext/transport/chaotic_good/frame_header.cc + src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + src/core/ext/transport/chaotic_good/server_transport.cc + src/core/ext/transport/chaotic_good/settings_metadata.cc + src/core/lib/transport/promise_endpoint.cc test/core/end2end/cq_verifier.cc test/core/end2end/end2end_test_main.cc test/core/end2end/end2end_test_suites.cc @@ -26066,6 +32312,15 @@ add_executable(write_buffering_test test/core/event_engine/event_engine_test_utils.cc test/core/util/test_lb_policies.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(write_buffering_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(write_buffering_test PUBLIC cxx_std_14) target_include_directories(write_buffering_test PRIVATE @@ -26095,6 +32350,50 @@ target_link_libraries(write_buffering_test ) +endif() +if(gRPC_BUILD_TESTS) + +add_executable(write_size_policy_test + src/core/ext/transport/chttp2/transport/write_size_policy.cc + src/core/lib/gprpp/time.cc + test/core/transport/chttp2/write_size_policy_test.cc +) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(write_size_policy_test + PRIVATE + "GPR_DLL_IMPORTS" + ) + endif() +endif() +target_compile_features(write_size_policy_test PUBLIC cxx_std_14) +target_include_directories(write_size_policy_test + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + ${_gRPC_RE2_INCLUDE_DIR} + ${_gRPC_SSL_INCLUDE_DIR} + ${_gRPC_UPB_GENERATED_DIR} + ${_gRPC_UPB_GRPC_GENERATED_DIR} + ${_gRPC_UPB_INCLUDE_DIR} + ${_gRPC_XXHASH_INCLUDE_DIR} + ${_gRPC_ZLIB_INCLUDE_DIR} + third_party/googletest/googletest/include + third_party/googletest/googletest + third_party/googletest/googlemock/include + third_party/googletest/googlemock + ${_gRPC_PROTO_GENS_DIR} +) + +target_link_libraries(write_size_policy_test + ${_gRPC_ALLTARGETS_LIBRARIES} + gtest + absl::statusor + gpr +) + + endif() if(gRPC_BUILD_TESTS) if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) @@ -26116,18 +32415,33 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.pb.h ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/orca_load_report.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.pb.h + ${_gRPC_PROTO_GENS_DIR}/test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.grpc.pb.h + test/core/event_engine/event_engine_test_utils.cc + test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc test/core/util/cmdline.cc test/core/util/fuzzer_util.cc test/core/util/grpc_profiler.cc test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc test/cpp/performance/writes_per_rpc_test.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(writes_per_rpc_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(writes_per_rpc_test PUBLIC cxx_std_14) target_include_directories(writes_per_rpc_test PRIVATE @@ -26228,6 +32542,16 @@ add_executable(xds_audit_logger_registry_test test/cpp/util/proto_reflection_descriptor_database.cc test/cpp/util/service_describer.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_audit_logger_registry_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_audit_logger_registry_test PUBLIC cxx_std_14) target_include_directories(xds_audit_logger_registry_test PRIVATE @@ -26263,6 +32587,15 @@ if(gRPC_BUILD_TESTS) add_executable(xds_bootstrap_test test/core/xds/xds_bootstrap_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_bootstrap_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_bootstrap_test PUBLIC cxx_std_14) target_include_directories(xds_bootstrap_test PRIVATE @@ -26296,6 +32629,15 @@ if(gRPC_BUILD_TESTS) add_executable(xds_certificate_provider_test test/core/xds/xds_certificate_provider_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_certificate_provider_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_certificate_provider_test PUBLIC cxx_std_14) target_include_directories(xds_certificate_provider_test PRIVATE @@ -26343,6 +32685,15 @@ add_executable(xds_client_test test/core/xds/xds_client_test.cc test/core/xds/xds_transport_fake.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_client_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_client_test PUBLIC cxx_std_14) target_include_directories(xds_client_test PRIVATE @@ -26500,13 +32851,25 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/string.grpc.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/string.pb.h ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/string.grpc.pb.h + test/core/util/fake_stats_plugin.cc test/cpp/end2end/connection_attempt_injector.cc test/cpp/end2end/test_service_impl.cc test/cpp/end2end/xds/xds_cluster_end2end_test.cc test/cpp/end2end/xds/xds_end2end_test_lib.cc test/cpp/end2end/xds/xds_server.cc + test/cpp/end2end/xds/xds_utils.cc test/cpp/util/tls_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_cluster_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(xds_cluster_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_cluster_end2end_test PRIVATE @@ -26571,6 +32934,10 @@ add_executable(xds_cluster_resource_type_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/health_check.grpc.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/health_check.pb.h ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/health_check.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/http_protocol_options.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/http_protocol_options.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/http_protocol_options.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/http_protocol_options.grpc.pb.h ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/outlier_detection.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/outlier_detection.grpc.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/outlier_detection.pb.h @@ -26579,6 +32946,10 @@ add_executable(xds_cluster_resource_type_test ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.grpc.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.pb.h ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.grpc.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/protocol.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/protocol.grpc.pb.cc + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/protocol.pb.h + ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/protocol.grpc.pb.h ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/regex.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/regex.grpc.pb.cc ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/regex.pb.h @@ -26606,6 +32977,15 @@ add_executable(xds_cluster_resource_type_test src/cpp/util/status.cc test/core/xds/xds_cluster_resource_type_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_cluster_resource_type_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_cluster_resource_type_test PUBLIC cxx_std_14) target_include_directories(xds_cluster_resource_type_test PRIVATE @@ -26772,8 +33152,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/xds/xds_cluster_type_end2end_test.cc test/cpp/end2end/xds/xds_end2end_test_lib.cc test/cpp/end2end/xds/xds_server.cc + test/cpp/end2end/xds/xds_utils.cc test/cpp/util/tls_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_cluster_type_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(xds_cluster_type_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_cluster_type_end2end_test PRIVATE @@ -26849,6 +33240,16 @@ add_executable(xds_common_types_test test/cpp/util/proto_reflection_descriptor_database.cc test/cpp/util/service_describer.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_common_types_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_common_types_test PUBLIC cxx_std_14) target_include_directories(xds_common_types_test PRIVATE @@ -27011,8 +33412,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/xds/xds_core_end2end_test.cc test/cpp/end2end/xds/xds_end2end_test_lib.cc test/cpp/end2end/xds/xds_server.cc + test/cpp/end2end/xds/xds_utils.cc test/cpp/util/tls_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_core_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(xds_core_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_core_end2end_test PRIVATE @@ -27064,6 +33476,16 @@ add_executable(xds_credentials_end2end_test test/cpp/end2end/test_service_impl.cc test/cpp/end2end/xds/xds_credentials_end2end_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_credentials_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_credentials_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_credentials_end2end_test PRIVATE @@ -27102,11 +33524,19 @@ add_executable(xds_credentials_test test/core/util/histogram.cc test/core/util/mock_endpoint.cc test/core/util/parse_hexstring.cc - test/core/util/passthru_endpoint.cc test/core/util/resolve_localhost_ip46.cc test/core/util/slice_splitter.cc test/core/util/tracer_util.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_credentials_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_credentials_test PUBLIC cxx_std_14) target_include_directories(xds_credentials_test PRIVATE @@ -27276,8 +33706,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/xds/xds_csds_end2end_test.cc test/cpp/end2end/xds/xds_end2end_test_lib.cc test/cpp/end2end/xds/xds_server.cc + test/cpp/end2end/xds/xds_utils.cc test/cpp/util/tls_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_csds_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(xds_csds_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_csds_end2end_test PRIVATE @@ -27460,8 +33901,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/xds/xds_end2end_test.cc test/cpp/end2end/xds/xds_end2end_test_lib.cc test/cpp/end2end/xds/xds_server.cc + test/cpp/end2end/xds/xds_utils.cc test/cpp/util/tls_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(xds_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_end2end_test PRIVATE @@ -27518,6 +33970,15 @@ add_executable(xds_endpoint_resource_type_test src/cpp/util/status.cc test/core/xds/xds_endpoint_resource_type_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_endpoint_resource_type_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_endpoint_resource_type_test PUBLIC cxx_std_14) target_include_directories(xds_endpoint_resource_type_test PRIVATE @@ -27687,8 +34148,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/xds/xds_end2end_test_lib.cc test/cpp/end2end/xds/xds_fault_injection_end2end_test.cc test/cpp/end2end/xds/xds_server.cc + test/cpp/end2end/xds/xds_utils.cc test/cpp/util/tls_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_fault_injection_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(xds_fault_injection_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_fault_injection_end2end_test PRIVATE @@ -27812,6 +34284,16 @@ add_executable(xds_http_filters_test test/cpp/util/proto_reflection_descriptor_database.cc test/cpp/util/service_describer.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_http_filters_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_http_filters_test PUBLIC cxx_std_14) target_include_directories(xds_http_filters_test PRIVATE @@ -27841,214 +34323,6 @@ target_link_libraries(xds_http_filters_test ) -endif() -if(gRPC_BUILD_TESTS) - -add_executable(xds_interop_client - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/base.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/base.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/base.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/base.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/config_dump.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/config_dump.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/config_dump.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/config_dump.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/csds.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/csds.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/csds.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/csds.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.grpc.pb.h - src/cpp/server/admin/admin_services.cc - src/cpp/server/csds/csds.cc - test/cpp/interop/rpc_behavior_lb_policy.cc - test/cpp/interop/xds_interop_client.cc - test/cpp/interop/xds_stats_watcher.cc -) -target_compile_features(xds_interop_client PUBLIC cxx_std_14) -target_include_directories(xds_interop_client - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - ${_gRPC_PROTO_GENS_DIR} -) - -target_link_libraries(xds_interop_client - ${_gRPC_ALLTARGETS_LIBRARIES} - grpc++_reflection - grpcpp_channelz - grpc_test_util - grpc++_test_config -) - - -endif() -if(gRPC_BUILD_TESTS) - -add_executable(xds_interop_server - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/base.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/base.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/base.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/base.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/config_dump.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/config_dump.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/config_dump.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/config_dump.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/csds.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/csds.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/csds.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/csds.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.grpc.pb.h - src/cpp/server/admin/admin_services.cc - src/cpp/server/csds/csds.cc - test/cpp/end2end/test_health_check_service_impl.cc - test/cpp/interop/pre_stop_hook_server.cc - test/cpp/interop/xds_interop_server.cc - test/cpp/interop/xds_interop_server_lib.cc -) -target_compile_features(xds_interop_server PUBLIC cxx_std_14) -target_include_directories(xds_interop_server - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - ${_gRPC_PROTO_GENS_DIR} -) - -target_link_libraries(xds_interop_server - ${_gRPC_ALLTARGETS_LIBRARIES} - grpc++_reflection - grpcpp_channelz - grpc_test_util - grpc++_test_config -) - - -endif() -if(gRPC_BUILD_TESTS) - -add_executable(xds_interop_server_test - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/istio_echo.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/istio_echo.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/istio_echo.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/istio_echo.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/base.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/base.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/base.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/base.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/config_dump.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/config_dump.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/config_dump.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/config_dump.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/csds.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/csds.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/csds.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/csds.grpc.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.grpc.pb.cc - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.pb.h - ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/xds/v3/percent.grpc.pb.h - src/cpp/server/admin/admin_services.cc - src/cpp/server/csds/csds.cc - test/cpp/end2end/test_health_check_service_impl.cc - test/cpp/interop/pre_stop_hook_server.cc - test/cpp/interop/xds_interop_server_lib.cc - test/cpp/interop/xds_interop_server_test.cc -) -target_compile_features(xds_interop_server_test PUBLIC cxx_std_14) -target_include_directories(xds_interop_server_test - PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include - ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} - ${_gRPC_RE2_INCLUDE_DIR} - ${_gRPC_SSL_INCLUDE_DIR} - ${_gRPC_UPB_GENERATED_DIR} - ${_gRPC_UPB_GRPC_GENERATED_DIR} - ${_gRPC_UPB_INCLUDE_DIR} - ${_gRPC_XXHASH_INCLUDE_DIR} - ${_gRPC_ZLIB_INCLUDE_DIR} - third_party/googletest/googletest/include - third_party/googletest/googletest - third_party/googletest/googlemock/include - third_party/googletest/googlemock - ${_gRPC_PROTO_GENS_DIR} -) - -target_link_libraries(xds_interop_server_test - ${_gRPC_ALLTARGETS_LIBRARIES} - gtest - grpc++_reflection - grpcpp_channelz - grpc_test_util - grpc++_test_config -) - - endif() if(gRPC_BUILD_TESTS) @@ -28128,6 +34402,16 @@ add_executable(xds_lb_policy_registry_test test/cpp/util/proto_reflection_descriptor_database.cc test/cpp/util/service_describer.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_lb_policy_registry_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_lb_policy_registry_test PUBLIC cxx_std_14) target_include_directories(xds_lb_policy_registry_test PRIVATE @@ -28260,6 +34544,16 @@ add_executable(xds_listener_resource_type_test test/cpp/util/proto_reflection_descriptor_database.cc test/cpp/util/service_describer.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_listener_resource_type_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_listener_resource_type_test PUBLIC cxx_std_14) target_include_directories(xds_listener_resource_type_test PRIVATE @@ -28430,8 +34724,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/xds/xds_end2end_test_lib.cc test/cpp/end2end/xds/xds_outlier_detection_end2end_test.cc test/cpp/end2end/xds/xds_server.cc + test/cpp/end2end/xds/xds_utils.cc test/cpp/util/tls_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_outlier_detection_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(xds_outlier_detection_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_outlier_detection_end2end_test PRIVATE @@ -28605,8 +34910,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/xds/xds_end2end_test_lib.cc test/cpp/end2end/xds/xds_override_host_end2end_test.cc test/cpp/end2end/xds/xds_server.cc + test/cpp/end2end/xds/xds_utils.cc test/cpp/util/tls_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_override_host_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(xds_override_host_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_override_host_end2end_test PRIVATE @@ -28641,6 +34957,15 @@ if(gRPC_BUILD_TESTS) add_executable(xds_override_host_lb_config_parser_test test/core/client_channel/lb_policy/xds_override_host_lb_config_parser_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_override_host_lb_config_parser_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_override_host_lb_config_parser_test PUBLIC cxx_std_14) target_include_directories(xds_override_host_lb_config_parser_test PRIVATE @@ -28680,6 +35005,15 @@ add_executable(xds_override_host_test test/core/event_engine/event_engine_test_utils.cc test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_override_host_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_override_host_test PUBLIC cxx_std_14) target_include_directories(xds_override_host_test PRIVATE @@ -28850,8 +35184,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/xds/xds_end2end_test_lib.cc test/cpp/end2end/xds/xds_pick_first_end2end_test.cc test/cpp/end2end/xds/xds_server.cc + test/cpp/end2end/xds/xds_utils.cc test/cpp/util/tls_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_pick_first_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(xds_pick_first_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_pick_first_end2end_test PRIVATE @@ -29018,8 +35363,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/xds/xds_end2end_test_lib.cc test/cpp/end2end/xds/xds_ring_hash_end2end_test.cc test/cpp/end2end/xds/xds_server.cc + test/cpp/end2end/xds/xds_utils.cc test/cpp/util/tls_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_ring_hash_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(xds_ring_hash_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_ring_hash_end2end_test PRIVATE @@ -29190,8 +35546,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/xds/xds_end2end_test_lib.cc test/cpp/end2end/xds/xds_rls_end2end_test.cc test/cpp/end2end/xds/xds_server.cc + test/cpp/end2end/xds/xds_utils.cc test/cpp/util/tls_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_rls_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(xds_rls_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_rls_end2end_test PRIVATE @@ -29303,6 +35670,16 @@ add_executable(xds_route_config_resource_type_test test/cpp/util/proto_reflection_descriptor_database.cc test/cpp/util/service_describer.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_route_config_resource_type_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_route_config_resource_type_test PUBLIC cxx_std_14) target_include_directories(xds_route_config_resource_type_test PRIVATE @@ -29473,8 +35850,19 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/xds/xds_end2end_test_lib.cc test/cpp/end2end/xds/xds_routing_end2end_test.cc test/cpp/end2end/xds/xds_server.cc + test/cpp/end2end/xds/xds_utils.cc test/cpp/util/tls_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_routing_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(xds_routing_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_routing_end2end_test PRIVATE @@ -29541,6 +35929,16 @@ add_executable(xds_stats_watcher_test test/cpp/interop/xds_stats_watcher.cc test/cpp/interop/xds_stats_watcher_test.cc ) +if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_stats_watcher_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() +endif() target_compile_features(xds_stats_watcher_test PUBLIC cxx_std_14) target_include_directories(xds_stats_watcher_test PRIVATE @@ -29711,9 +36109,20 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) test/cpp/end2end/test_service_impl.cc test/cpp/end2end/xds/xds_end2end_test_lib.cc test/cpp/end2end/xds/xds_server.cc + test/cpp/end2end/xds/xds_utils.cc test/cpp/end2end/xds/xds_wrr_end2end_test.cc test/cpp/util/tls_test_utils.cc ) + if(WIN32 AND MSVC) + if(BUILD_SHARED_LIBS) + target_compile_definitions(xds_wrr_end2end_test + PRIVATE + "GPR_DLL_IMPORTS" + "GRPC_DLL_IMPORTS" + "GRPCXX_DLL_IMPORTS" + ) + endif() + endif() target_compile_features(xds_wrr_end2end_test PUBLIC cxx_std_14) target_include_directories(xds_wrr_end2end_test PRIVATE @@ -29820,10 +36229,10 @@ generate_pkgconfig( "gRPC" "high performance general RPC framework" "${gRPC_CORE_VERSION}" - "absl_algorithm_container absl_any_invocable absl_base absl_bind_front absl_cleanup absl_cord absl_core_headers absl_flags absl_flags_marshalling absl_flat_hash_map absl_flat_hash_set absl_function_ref absl_hash absl_inlined_vector absl_memory absl_optional absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr" + "absl_algorithm_container absl_any_invocable absl_base absl_bind_front absl_cleanup absl_config absl_cord absl_core_headers absl_flags absl_flags_marshalling absl_flat_hash_map absl_flat_hash_set absl_function_ref absl_hash absl_inlined_vector absl_memory absl_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr" "libcares openssl re2 zlib" "-lgrpc" - "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb -lutf8_range_lib -lupb_collections_lib" + "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lutf8_range_lib -lupb_message_lib -lupb_mem_lib -lupb_base_lib" "grpc.pc") # grpc_unsecure .pc file @@ -29831,10 +36240,10 @@ generate_pkgconfig( "gRPC unsecure" "high performance general RPC framework without SSL" "${gRPC_CORE_VERSION}" - "absl_algorithm_container absl_any_invocable absl_base absl_bind_front absl_cleanup absl_cord absl_core_headers absl_flags absl_flags_marshalling absl_flat_hash_map absl_flat_hash_set absl_function_ref absl_hash absl_inlined_vector absl_memory absl_optional absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr" + "absl_algorithm_container absl_any_invocable absl_base absl_bind_front absl_cleanup absl_config absl_cord absl_core_headers absl_flags absl_flags_marshalling absl_flat_hash_map absl_flat_hash_set absl_function_ref absl_hash absl_inlined_vector absl_memory absl_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr" "libcares zlib" "-lgrpc_unsecure" - "-laddress_sorting -lupb -lutf8_range_lib -lupb_collections_lib" + "-laddress_sorting -lutf8_range_lib -lupb_message_lib -lupb_mem_lib -lupb_base_lib" "grpc_unsecure.pc") # grpc++ .pc file @@ -29842,10 +36251,10 @@ generate_pkgconfig( "gRPC++" "C++ wrapper for gRPC" "${gRPC_CPP_VERSION}" - "absl_algorithm_container absl_any_invocable absl_base absl_bind_front absl_cleanup absl_cord absl_core_headers absl_flags absl_flags_marshalling absl_flat_hash_map absl_flat_hash_set absl_function_ref absl_hash absl_inlined_vector absl_memory absl_optional absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr grpc" + "absl_algorithm_container absl_any_invocable absl_base absl_bind_front absl_cleanup absl_config absl_cord absl_core_headers absl_flags absl_flags_marshalling absl_flat_hash_map absl_flat_hash_set absl_function_ref absl_hash absl_inlined_vector absl_memory absl_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr grpc" "libcares openssl re2 zlib" "-lgrpc++" - "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lupb -lutf8_range_lib -lupb_collections_lib" + "-laddress_sorting -lupb_textformat_lib -lupb_json_lib -lutf8_range_lib -lupb_message_lib -lupb_mem_lib -lupb_base_lib" "grpc++.pc") # grpc++_unsecure .pc file @@ -29853,8 +36262,8 @@ generate_pkgconfig( "gRPC++ unsecure" "C++ wrapper for gRPC without SSL" "${gRPC_CPP_VERSION}" - "absl_algorithm_container absl_any_invocable absl_base absl_bind_front absl_cleanup absl_cord absl_core_headers absl_flags absl_flags_marshalling absl_flat_hash_map absl_flat_hash_set absl_function_ref absl_hash absl_inlined_vector absl_memory absl_optional absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr grpc_unsecure" + "absl_algorithm_container absl_any_invocable absl_base absl_bind_front absl_cleanup absl_config absl_cord absl_core_headers absl_flags absl_flags_marshalling absl_flat_hash_map absl_flat_hash_set absl_function_ref absl_hash absl_inlined_vector absl_memory absl_optional absl_random_bit_gen_ref absl_random_distributions absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant gpr grpc_unsecure" "libcares zlib" "-lgrpc++_unsecure" - "-laddress_sorting -lupb -lutf8_range_lib -lupb_collections_lib" + "-laddress_sorting -lutf8_range_lib -lupb_message_lib -lupb_mem_lib -lupb_base_lib" "grpc++_unsecure.pc") diff --git a/CONTRIBUTING_STEPS.md b/CONTRIBUTING_STEPS.md new file mode 100644 index 00000000000..6318c2672b4 --- /dev/null +++ b/CONTRIBUTING_STEPS.md @@ -0,0 +1,137 @@ +# Contributing to gRPC: A Step-By-Step Guide + +Note: This document is not meant for Google employees. + +## Prerequisites + +To contribute to the gRPC codebase, you need the following: + +1. An + [active GitHub account](https://docs.github.com/en/get-started/quickstart/creating-an-account-on-github) +1. [An understanding of Git and GitHub](https://docs.github.com/en/get-started/using-git/about-git) +1. [Knowledge of how to fork a repository, clone a repository, merge, rebase, + resolve, push, pull, fetch + etc.](https://docs.github.com/en/get-started/using-git/about-git) +1. [git installed and working on your machine](https://github.com/git-guides/install-git) +1. Knowledge of the language being used, which can be C++, Python, Ruby, + Objective-C, PHP, or C#. + +## Steps to Contribute gRPC C++ Code + +The GitHub repository for the C-based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) +is at https://github.com/grpc/grpc. + +### Fork and Clone the Repository + +If you want to contribute to the gRPC code base, you need to make a fork of the +repository. + +1. Create your +[own fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) +from https://github.com/grpc/grpc. + + ![Screenshot of creating fork using a non-google account.](doc/images/img/grpc-create-fork.png) + +1. [Clone your fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo#cloning-your-forked-repository) +on your local machine. + +### Prepare and Push Your Commit + +1. In your cloned repository, create a new branch from `master`. +1. Then prepare a commit for the files that you want to contribute. +1. Commit to this branch. +1. Push the commit to your fork on GitHub. + +Take care that your commits are aligned with these +[guidelines](https://github.com/grpc/grpc/blob/master/CONTRIBUTING.md#guidelines-for-pull-requests). + +### Prepare a Pull Request + +After pushing your commit, visit https://github.com/grpc/grpc . If the +forking, branch creation, commit and push have been successful, you will see +the following message: + +![Screenshot of Github UI to help to create a pull request.](doc/images/img/grpc-compare-and-pull-request.png) + +Take care to allow edits by maintainers. If there is a specific issue +with your pull request, the maintainer can help if needed. This access to help will reduce +the turnaround time for your submission. + +![Screenshot of Github UI to help to create a Pull Request.](doc/images/img/grpc-pull-request-details.png) + +Create a pull request. + +### Pull Request Status - Safe Review + +Once the pull request is ready, you must wait for a reviewer to be +assigned to your pull request. + +If you see *Not Covered* in the EasyCLA screen, as shown in the following image, +click on the mentioned link to start the authorization process. + +![Screenshot of waiting for safe review](doc/images/img/grpc-tests.png) + +You will see a series of screens: + +1. Select *Authorize LF-Engineering: + +![Screenshot of EasyCLA Step 1](doc/images/img/grpc-easycla-authorize.png) + +1. Select your contributor type: + +![Screenshot of EasyCLA Step 2](doc/images/img/grpc-contributor-type.png) + +1. Select *SIGN CLA*: + +![Screenshot of EasyCLA Step 3](doc/images/img/grpc-sign-cla.png) + +Some time after you've digitally signed the document, the EasyCLA will appear as +*Covered*. + +![Screenshot of EasyCLA Step 5](doc/images/img/grpc-easycla-covered.png) + + After a few hours, you will notice a new "assignee" assigned to the pull request. + +![Screenshot after an assignee is added](doc/images/img/grpc-assignee.png) + +After a reviewer is assigned to you, they will help with the next +steps, which are as follows: + +1. You complete the code review and address the comments. +1. Your reviewer may add a few labels as needed. + +### Pull Request Status - Green + +Once you have approval from the reviewer, check if the tests are running. After +the tests are complete, look at the status of all the tests. If +everything is green, everything is good. But usually some failures exist. If +there are failures, select each failure. The selection will take you to a page +that has error details. Try to fix the issue. + +### Pull Request Approval + +For pull requests that are non-trivial, there is a thorough code review process. +You can read more about the process and requirements +[here](https://github.com/grpc/grpc/blob/master/CONTRIBUTING.md#guidelines-for-pull-requests). + +After you fix the code review, you will finally get an approval. After getting +approval, you can submit the pull request. + +![Pull request approved and labelled](doc/images/img/grpc-review-complete.png) + +### Submission + +You **cannot** do submission or merge of a pull request through Github. + +![Pull request approved and labelled](doc/images/img/grpc-wait-for-merge.png) + +After you have approval from a reviewer, a Google employee will trigger +the submission process. When the submission happens: + +1. A commit with your changes, along with a few additional formatting changes, will + be committed to the `grpc/master` branch. +![Copybara commit](doc/images/img/grpc-copybara-commit.png) + +1. The pull request you originally created will be closed. +![Pull request closed by copybara](doc/images/img/grpc-pr-closed-by-copybara.png) + diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 620c614b9e9..6d868d6bc27 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -8,6 +8,7 @@ See [CONTRIBUTING.md](https://github.com/grpc/grpc-community/blob/master/CONTRIB for general contribution guidelines. ## Maintainers (in alphabetical order) + - [a11r](https://github.com/a11r), Google LLC - [apolcyn](https://github.com/apolcyn), Google LLC - [arjunroy](https://github.com/arjunroy), Google LLC @@ -21,6 +22,7 @@ for general contribution guidelines. - [guantaol](https://github.com/guantaol), Google LLC - [hcaseyal](https://github.com/hcaseyal), Google LLC - [jtattermusch](https://github.com/jtattermusch), Google LLC +- [kevinnilson](https://github.com/kevinnilson), Google LLC - [LittleCVR](https://github.com/littlecvr), Google LLC - [markdroth](https://github.com/markdroth), Google LLC - [matthewstevenson88](https://github.com/matthewstevenson88), Google LLC @@ -33,13 +35,16 @@ for general contribution guidelines. - [soheilhy](https://github.com/soheilhy), Google LLC - [stanley-cheung](https://github.com/stanley-cheung), Google LLC - [thisisnotapril](https://github.com/thisisnotapril), Google LLC +- [tjagtap](https://github.com/tjagtap), Google LLC - [veblush](https://github.com/veblush), Google LLC - [vishalpowar](https://github.com/vishalpowar), Google LLC - [wenbozhu](https://github.com/wenbozhu), Google LLC - [yashykt](https://github.com/yashykt), Google LLC - [ZhouyihaiDing](https://github.com/ZhouyihaiDing), Google LLC + ## Emeritus Maintainers (in alphabetical order) + - [adelez](https://github.com/adelez), Google LLC - [AspirinSJL](https://github.com/AspirinSJL), Google LLC - [billfeng327](https://github.com/billfeng327), Google LLC @@ -86,3 +91,4 @@ for general contribution guidelines. - [yihuazhang](https://github.com/yihuazhang), Google LLC - [zpencer](https://github.com/zpencer), Google LLC - [ZhenLian](https://github.com/ZhenLian), Google LLC + diff --git a/Makefile b/Makefile index bea7a4683f4..b4dbdfea859 100644 --- a/Makefile +++ b/Makefile @@ -328,7 +328,7 @@ CXXFLAGS += -stdlib=libc++ LDFLAGS += -framework CoreFoundation endif CFLAGS += -g -CPPFLAGS += -g -Wall -Wextra -DOSATOMIC_USE_INLINED=1 -Ithird_party/abseil-cpp -Ithird_party/re2 -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -Ithird_party/utf8_range -Ithird_party/xxhash +CPPFLAGS += -g -Wall -Wextra -DOSATOMIC_USE_INLINED=1 -Ithird_party/abseil-cpp -Ithird_party/re2 -Ithird_party/upb -Isrc/core/ext/upb-gen -Isrc/core/ext/upbdefs-gen -Ithird_party/utf8_range -Ithird_party/xxhash COREFLAGS += -fno-exceptions LDFLAGS += -g @@ -375,7 +375,7 @@ LDFLAGS += -pthread endif ifeq ($(SYSTEM),MINGW32) -LIBS = m pthread ws2_32 iphlpapi dbghelp bcrypt +LIBS = m pthread ws2_32 crypt32 iphlpapi dbghelp bcrypt LDFLAGS += -pthread endif @@ -410,8 +410,8 @@ E = @echo Q = @ endif -CORE_VERSION = 35.0.0 -CPP_VERSION = 1.59.0-dev +CORE_VERSION = 39.0.0 +CPP_VERSION = 1.63.0-dev CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES)) CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS) @@ -447,7 +447,7 @@ SHARED_EXT_CORE = dll SHARED_EXT_CPP = dll SHARED_PREFIX = -SHARED_VERSION_CORE = -35 +SHARED_VERSION_CORE = -39 SHARED_VERSION_CPP = -1 else ifeq ($(SYSTEM),Darwin) EXECUTABLE_SUFFIX = @@ -640,13 +640,13 @@ run_dep_checks: static: static_c static_cxx -static_c: cache.mk $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a +static_c: cache.mk $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a static_cxx: cache.mk shared: shared_c shared_cxx -shared_c: cache.mk $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_collections_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) +shared_c: cache.mk $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) shared_cxx: cache.mk privatelibs: privatelibs_c privatelibs_cxx @@ -677,12 +677,14 @@ ifeq ($(CONFIG),opt) $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(E) "[STRIP] Stripping libre2.a" $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libre2.a - $(E) "[STRIP] Stripping libupb.a" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libupb.a - $(E) "[STRIP] Stripping libupb_collections_lib.a" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a + $(E) "[STRIP] Stripping libupb_base_lib.a" + $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(E) "[STRIP] Stripping libupb_json_lib.a" $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libupb_json_lib.a + $(E) "[STRIP] Stripping libupb_mem_lib.a" + $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a + $(E) "[STRIP] Stripping libupb_message_lib.a" + $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(E) "[STRIP] Stripping libupb_textformat_lib.a" $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(E) "[STRIP] Stripping libutf8_range_lib.a" @@ -705,12 +707,14 @@ ifeq ($(CONFIG),opt) $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(E) "[STRIP] Stripping $(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) - $(E) "[STRIP] Stripping $(SHARED_PREFIX)upb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) - $(E) "[STRIP] Stripping $(SHARED_PREFIX)upb_collections_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" - $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_collections_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) + $(E) "[STRIP] Stripping $(SHARED_PREFIX)upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" + $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(E) "[STRIP] Stripping $(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) + $(E) "[STRIP] Stripping $(SHARED_PREFIX)upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" + $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) + $(E) "[STRIP] Stripping $(SHARED_PREFIX)upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" + $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(E) "[STRIP] Stripping $(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(E) "[STRIP] Stripping $(SHARED_PREFIX)utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)" @@ -814,8 +818,8 @@ $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): ifeq ($(SYSTEM),Darwin) $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBADDRESS_SORTING_OBJS) $(LDLIBS) else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libaddress_sorting.so.35 -o $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBADDRESS_SORTING_OBJS) $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).so.35 + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libaddress_sorting.so.39 -o $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBADDRESS_SORTING_OBJS) $(LDLIBS) + $(Q) ln -sf $(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).so.39 $(Q) ln -sf $(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).so endif endif @@ -860,7 +864,6 @@ LIBGPR_SRC = \ src/core/lib/gpr/windows/sync.cc \ src/core/lib/gpr/windows/time.cc \ src/core/lib/gpr/windows/tmpfile.cc \ - src/core/lib/gpr/wrap_memcpy.cc \ src/core/lib/gprpp/crash.cc \ src/core/lib/gprpp/examine_stack.cc \ src/core/lib/gprpp/fork.cc \ @@ -878,6 +881,7 @@ LIBGPR_SRC = \ src/core/lib/gprpp/windows/thd.cc \ PUBLIC_HEADERS_C += \ + include/grpc/impl/call.h \ include/grpc/impl/codegen/atm.h \ include/grpc/impl/codegen/atm_gcc_atomic.h \ include/grpc/impl/codegen/atm_gcc_sync.h \ @@ -938,8 +942,8 @@ $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGPR_OB ifeq ($(SYSTEM),Darwin) $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGPR_OBJS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS) else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgpr.so.35 -o $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGPR_OBJS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).so.35 + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgpr.so.39 -o $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGPR_OBJS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS) + $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).so.39 $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).so endif endif @@ -951,75 +955,33 @@ endif # start of build recipe for library "grpc" (generated by makelib(lib) template function) -# deps: ['re2', 'upb_json_lib', 'upb_textformat_lib', 'z', 'grpc_abseil', 'cares', 'gpr', 'libssl', 'address_sorting'] -# transitive_deps: ['address_sorting', 'gpr', 'grpc_abseil', 'cares', 'z', 'upb_textformat_lib', 'upb_json_lib', 'upb', 'utf8_range_lib', 'upb_collections_lib', 're2', 'libssl'] +# deps: ['upb_json_lib', 'upb_textformat_lib', 're2', 'z', 'grpc_abseil', 'cares', 'gpr', 'libssl', 'address_sorting'] +# transitive_deps: ['address_sorting', 'gpr', 'grpc_abseil', 'cares', 'z', 're2', 'upb_textformat_lib', 'upb_json_lib', 'utf8_range_lib', 'upb_message_lib', 'upb_mem_lib', 'upb_base_lib', 'libssl'] LIBGRPC_SRC = \ + src/core/client_channel/backup_poller.cc \ + src/core/client_channel/channel_connectivity.cc \ + src/core/client_channel/client_channel_channelz.cc \ + src/core/client_channel/client_channel_factory.cc \ + src/core/client_channel/client_channel_filter.cc \ + src/core/client_channel/client_channel_plugin.cc \ + src/core/client_channel/client_channel_service_config.cc \ + src/core/client_channel/config_selector.cc \ + src/core/client_channel/dynamic_filters.cc \ + src/core/client_channel/global_subchannel_pool.cc \ + src/core/client_channel/http_proxy_mapper.cc \ + src/core/client_channel/local_subchannel_pool.cc \ + src/core/client_channel/retry_filter.cc \ + src/core/client_channel/retry_filter_legacy_call_data.cc \ + src/core/client_channel/retry_service_config.cc \ + src/core/client_channel/retry_throttle.cc \ + src/core/client_channel/subchannel.cc \ + src/core/client_channel/subchannel_pool_interface.cc \ + src/core/client_channel/subchannel_stream_client.cc \ src/core/ext/filters/backend_metrics/backend_metric_filter.cc \ src/core/ext/filters/census/grpc_context.cc \ src/core/ext/filters/channel_idle/channel_idle_filter.cc \ src/core/ext/filters/channel_idle/idle_filter_state.cc \ - src/core/ext/filters/client_channel/backend_metric.cc \ - src/core/ext/filters/client_channel/backup_poller.cc \ - src/core/ext/filters/client_channel/channel_connectivity.cc \ - src/core/ext/filters/client_channel/client_channel.cc \ - src/core/ext/filters/client_channel/client_channel_channelz.cc \ - src/core/ext/filters/client_channel/client_channel_factory.cc \ - src/core/ext/filters/client_channel/client_channel_plugin.cc \ - src/core/ext/filters/client_channel/client_channel_service_config.cc \ - src/core/ext/filters/client_channel/config_selector.cc \ - src/core/ext/filters/client_channel/dynamic_filters.cc \ - src/core/ext/filters/client_channel/global_subchannel_pool.cc \ - src/core/ext/filters/client_channel/http_proxy_mapper.cc \ - src/core/ext/filters/client_channel/lb_policy/address_filtering.cc \ - src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc \ - src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc \ - src/core/ext/filters/client_channel/lb_policy/health_check_client.cc \ - src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc \ - src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc \ - src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc \ - src/core/ext/filters/client_channel/lb_policy/priority/priority.cc \ - src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc \ - src/core/ext/filters/client_channel/lb_policy/rls/rls.cc \ - src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc \ - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc \ - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc \ - src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc \ - src/core/ext/filters/client_channel/lb_policy/xds/cds.cc \ - src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc \ - src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc \ - src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc \ - src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc \ - src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc \ - src/core/ext/filters/client_channel/local_subchannel_pool.cc \ - src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc \ - src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc \ - src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc \ - src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc \ - src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc \ - src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc \ - src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc \ - src/core/ext/filters/client_channel/resolver/polling_resolver.cc \ - src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc \ - src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc \ - src/core/ext/filters/client_channel/retry_filter.cc \ - src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc \ - src/core/ext/filters/client_channel/retry_service_config.cc \ - src/core/ext/filters/client_channel/retry_throttle.cc \ - src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc \ - src/core/ext/filters/client_channel/subchannel.cc \ - src/core/ext/filters/client_channel/subchannel_pool_interface.cc \ - src/core/ext/filters/client_channel/subchannel_stream_client.cc \ + src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc \ src/core/ext/filters/deadline/deadline_filter.cc \ src/core/ext/filters/fault_injection/fault_injection_filter.cc \ src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc \ @@ -1027,6 +989,7 @@ LIBGRPC_SRC = \ src/core/ext/filters/http/client_authority_filter.cc \ src/core/ext/filters/http/http_filters_plugin.cc \ src/core/ext/filters/http/message_compress/compression_filter.cc \ + src/core/ext/filters/http/message_compress/legacy_compression_filter.cc \ src/core/ext/filters/http/server/http_server_filter.cc \ src/core/ext/filters/message_size/message_size_filter.cc \ src/core/ext/filters/rbac/rbac_filter.cc \ @@ -1043,6 +1006,7 @@ LIBGRPC_SRC = \ src/core/ext/transport/chttp2/transport/chttp2_transport.cc \ src/core/ext/transport/chttp2/transport/decode_huff.cc \ src/core/ext/transport/chttp2/transport/flow_control.cc \ + src/core/ext/transport/chttp2/transport/frame.cc \ src/core/ext/transport/chttp2/transport/frame_data.cc \ src/core/ext/transport/chttp2/transport/frame_goaway.cc \ src/core/ext/transport/chttp2/transport/frame_ping.cc \ @@ -1057,327 +1021,335 @@ LIBGRPC_SRC = \ src/core/ext/transport/chttp2/transport/http2_settings.cc \ src/core/ext/transport/chttp2/transport/http_trace.cc \ src/core/ext/transport/chttp2/transport/huffsyms.cc \ + src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc \ src/core/ext/transport/chttp2/transport/parsing.cc \ src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc \ + src/core/ext/transport/chttp2/transport/ping_callbacks.cc \ src/core/ext/transport/chttp2/transport/ping_rate_policy.cc \ src/core/ext/transport/chttp2/transport/stream_lists.cc \ src/core/ext/transport/chttp2/transport/varint.cc \ + src/core/ext/transport/chttp2/transport/write_size_policy.cc \ src/core/ext/transport/chttp2/transport/writing.cc \ src/core/ext/transport/inproc/inproc_plugin.cc \ src/core/ext/transport/inproc/inproc_transport.cc \ - src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c \ - src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c \ - src/core/ext/upb-generated/envoy/annotations/resource.upb.c \ - src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c \ - src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c \ - src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c \ - src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c \ - src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c \ - src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c \ - src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c \ - src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c \ - src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c \ - src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c \ - src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c \ - src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c \ - src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c \ - src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c \ - src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c \ - src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c \ - src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c \ - src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c \ - src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c \ - src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c \ - src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c \ - src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c \ - src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c \ - src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c \ - src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c \ - src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c \ - src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c \ - src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c \ - src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c \ - src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c \ - src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c \ - src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c \ - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c \ - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c \ - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c \ - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c \ - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c \ - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c \ - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c \ - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c \ - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c \ - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c \ - src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c \ - src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c \ - src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c \ - src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c \ - src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c \ - src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c \ - src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c \ - src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/http.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/percent.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/range.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c \ - src/core/ext/upb-generated/google/api/annotations.upb.c \ - src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c \ - src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c \ - src/core/ext/upb-generated/google/api/http.upb.c \ - src/core/ext/upb-generated/google/api/httpbody.upb.c \ - src/core/ext/upb-generated/google/protobuf/any.upb.c \ - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c \ - src/core/ext/upb-generated/google/protobuf/duration.upb.c \ - src/core/ext/upb-generated/google/protobuf/empty.upb.c \ - src/core/ext/upb-generated/google/protobuf/struct.upb.c \ - src/core/ext/upb-generated/google/protobuf/timestamp.upb.c \ - src/core/ext/upb-generated/google/protobuf/wrappers.upb.c \ - src/core/ext/upb-generated/google/rpc/status.upb.c \ - src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c \ - src/core/ext/upb-generated/udpa/annotations/migrate.upb.c \ - src/core/ext/upb-generated/udpa/annotations/security.upb.c \ - src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c \ - src/core/ext/upb-generated/udpa/annotations/status.upb.c \ - src/core/ext/upb-generated/udpa/annotations/versioning.upb.c \ - src/core/ext/upb-generated/validate/validate.upb.c \ - src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c \ - src/core/ext/upb-generated/xds/annotations/v3/security.upb.c \ - src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c \ - src/core/ext/upb-generated/xds/annotations/v3/status.upb.c \ - src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c \ - src/core/ext/upb-generated/xds/core/v3/authority.upb.c \ - src/core/ext/upb-generated/xds/core/v3/cidr.upb.c \ - src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c \ - src/core/ext/upb-generated/xds/core/v3/context_params.upb.c \ - src/core/ext/upb-generated/xds/core/v3/extension.upb.c \ - src/core/ext/upb-generated/xds/core/v3/resource.upb.c \ - src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c \ - src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c \ - src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c \ - src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c \ - src/core/ext/upb-generated/xds/type/v3/cel.upb.c \ - src/core/ext/upb-generated/xds/type/v3/range.upb.c \ - src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c \ - src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c \ - src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c \ - src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c \ - src/core/ext/upbdefs-generated/google/api/http.upbdefs.c \ - src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c \ - src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c \ - src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c \ - src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c \ - src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c \ - src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c \ - src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c \ - src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c \ - src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c \ - src/core/ext/upbdefs-generated/validate/validate.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c \ + src/core/ext/transport/inproc/legacy_inproc_transport.cc \ + src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c \ + src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c \ + src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c \ + src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c \ + src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c \ + src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c \ + src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c \ + src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c \ + src/core/ext/upb-gen/google/api/annotations.upb_minitable.c \ + src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c \ + src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c \ + src/core/ext/upb-gen/google/api/http.upb_minitable.c \ + src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c \ + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c \ + src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c \ + src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c \ + src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c \ + src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c \ + src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c \ + src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c \ + src/core/ext/upb-gen/validate/validate.upb_minitable.c \ + src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c \ + src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c \ + src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c \ + src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c \ + src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c \ + src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c \ + src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c \ + src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c \ + src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c \ + src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c \ + src/core/ext/upbdefs-gen/google/api/http.upbdefs.c \ + src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c \ + src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c \ + src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c \ + src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c \ + src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c \ + src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c \ + src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c \ + src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c \ + src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c \ + src/core/ext/upbdefs-gen/validate/validate.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c \ src/core/ext/xds/certificate_provider_store.cc \ src/core/ext/xds/file_watcher_certificate_provider_factory.cc \ src/core/ext/xds/xds_api.cc \ @@ -1414,6 +1386,7 @@ LIBGRPC_SRC = \ src/core/lib/channel/channel_stack.cc \ src/core/lib/channel/channel_stack_builder.cc \ src/core/lib/channel/channel_stack_builder_impl.cc \ + src/core/lib/channel/channel_stack_trace.cc \ src/core/lib/channel/channel_trace.cc \ src/core/lib/channel/channelz.cc \ src/core/lib/channel/channelz_registry.cc \ @@ -1439,12 +1412,12 @@ LIBGRPC_SRC = \ src/core/lib/event_engine/default_event_engine_factory.cc \ src/core/lib/event_engine/event_engine.cc \ src/core/lib/event_engine/forkable.cc \ - src/core/lib/event_engine/memory_allocator.cc \ src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc \ src/core/lib/event_engine/posix_engine/ev_poll_posix.cc \ src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc \ src/core/lib/event_engine/posix_engine/internal_errqueue.cc \ src/core/lib/event_engine/posix_engine/lockfree_event.cc \ + src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc \ src/core/lib/event_engine/posix_engine/posix_endpoint.cc \ src/core/lib/event_engine/posix_engine/posix_engine.cc \ src/core/lib/event_engine/posix_engine/posix_engine_listener.cc \ @@ -1469,7 +1442,9 @@ LIBGRPC_SRC = \ src/core/lib/event_engine/time_util.cc \ src/core/lib/event_engine/trace.cc \ src/core/lib/event_engine/utils.cc \ + src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc \ src/core/lib/event_engine/windows/iocp.cc \ + src/core/lib/event_engine/windows/native_windows_dns_resolver.cc \ src/core/lib/event_engine/windows/win_socket.cc \ src/core/lib/event_engine/windows/windows_endpoint.cc \ src/core/lib/event_engine/windows/windows_engine.cc \ @@ -1479,11 +1454,13 @@ LIBGRPC_SRC = \ src/core/lib/experiments/experiments.cc \ src/core/lib/gprpp/load_file.cc \ src/core/lib/gprpp/per_cpu.cc \ + src/core/lib/gprpp/posix/directory_reader.cc \ src/core/lib/gprpp/ref_counted_string.cc \ src/core/lib/gprpp/status_helper.cc \ src/core/lib/gprpp/time.cc \ src/core/lib/gprpp/time_averaged_stats.cc \ src/core/lib/gprpp/validation_errors.cc \ + src/core/lib/gprpp/windows/directory_reader.cc \ src/core/lib/gprpp/work_serializer.cc \ src/core/lib/handshaker/proxy_mapper_registry.cc \ src/core/lib/http/format_request.cc \ @@ -1526,7 +1503,6 @@ LIBGRPC_SRC = \ src/core/lib/iomgr/iomgr_posix.cc \ src/core/lib/iomgr/iomgr_posix_cfstream.cc \ src/core/lib/iomgr/iomgr_windows.cc \ - src/core/lib/iomgr/load_file.cc \ src/core/lib/iomgr/lockfree_event.cc \ src/core/lib/iomgr/polling_entity.cc \ src/core/lib/iomgr/pollset.cc \ @@ -1572,16 +1548,11 @@ LIBGRPC_SRC = \ src/core/lib/json/json_reader.cc \ src/core/lib/json/json_util.cc \ src/core/lib/json/json_writer.cc \ - src/core/lib/load_balancing/lb_policy.cc \ - src/core/lib/load_balancing/lb_policy_registry.cc \ src/core/lib/matchers/matchers.cc \ src/core/lib/promise/activity.cc \ src/core/lib/promise/party.cc \ src/core/lib/promise/sleep.cc \ src/core/lib/promise/trace.cc \ - src/core/lib/resolver/resolver.cc \ - src/core/lib/resolver/resolver_registry.cc \ - src/core/lib/resolver/server_address.cc \ src/core/lib/resource_quota/api.cc \ src/core/lib/resource_quota/arena.cc \ src/core/lib/resource_quota/memory_quota.cc \ @@ -1633,6 +1604,7 @@ LIBGRPC_SRC = \ src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc \ src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc \ src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc \ + src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc \ src/core/lib/security/credentials/tls/tls_credentials.cc \ src/core/lib/security/credentials/tls/tls_utils.cc \ src/core/lib/security/credentials/xds/xds_credentials.cc \ @@ -1641,19 +1613,19 @@ LIBGRPC_SRC = \ src/core/lib/security/security_connector/insecure/insecure_security_connector.cc \ src/core/lib/security/security_connector/load_system_roots_fallback.cc \ src/core/lib/security/security_connector/load_system_roots_supported.cc \ + src/core/lib/security/security_connector/load_system_roots_windows.cc \ src/core/lib/security/security_connector/local/local_security_connector.cc \ src/core/lib/security/security_connector/security_connector.cc \ src/core/lib/security/security_connector/ssl/ssl_security_connector.cc \ src/core/lib/security/security_connector/ssl_utils.cc \ src/core/lib/security/security_connector/tls/tls_security_connector.cc \ src/core/lib/security/transport/client_auth_filter.cc \ + src/core/lib/security/transport/legacy_server_auth_filter.cc \ src/core/lib/security/transport/secure_endpoint.cc \ src/core/lib/security/transport/security_handshaker.cc \ src/core/lib/security/transport/server_auth_filter.cc \ src/core/lib/security/transport/tsi_error.cc \ src/core/lib/security/util/json_util.cc \ - src/core/lib/service_config/service_config_impl.cc \ - src/core/lib/service_config/service_config_parser.cc \ src/core/lib/slice/b64.cc \ src/core/lib/slice/percent_encoding.cc \ src/core/lib/slice/slice.cc \ @@ -1667,7 +1639,6 @@ LIBGRPC_SRC = \ src/core/lib/surface/call.cc \ src/core/lib/surface/call_details.cc \ src/core/lib/surface/call_log_batch.cc \ - src/core/lib/surface/call_trace.cc \ src/core/lib/surface/channel.cc \ src/core/lib/surface/channel_init.cc \ src/core/lib/surface/channel_ping.cc \ @@ -1682,24 +1653,82 @@ LIBGRPC_SRC = \ src/core/lib/surface/server.cc \ src/core/lib/surface/validate_metadata.cc \ src/core/lib/surface/version.cc \ + src/core/lib/surface/wait_for_cq_end_op.cc \ src/core/lib/transport/batch_builder.cc \ src/core/lib/transport/bdp_estimator.cc \ + src/core/lib/transport/call_factory.cc \ + src/core/lib/transport/call_filters.cc \ + src/core/lib/transport/call_final_info.cc \ + src/core/lib/transport/call_size_estimator.cc \ + src/core/lib/transport/call_spine.cc \ src/core/lib/transport/connectivity_state.cc \ src/core/lib/transport/error_utils.cc \ src/core/lib/transport/handshaker.cc \ src/core/lib/transport/handshaker_registry.cc \ src/core/lib/transport/http_connect_handshaker.cc \ + src/core/lib/transport/message.cc \ + src/core/lib/transport/metadata.cc \ src/core/lib/transport/metadata_batch.cc \ src/core/lib/transport/parsed_metadata.cc \ - src/core/lib/transport/pid_controller.cc \ src/core/lib/transport/status_conversion.cc \ src/core/lib/transport/tcp_connect_handshaker.cc \ src/core/lib/transport/timeout_encoding.cc \ src/core/lib/transport/transport.cc \ src/core/lib/transport/transport_op_string.cc \ src/core/lib/uri/uri_parser.cc \ + src/core/load_balancing/address_filtering.cc \ + src/core/load_balancing/backend_metric_parser.cc \ + src/core/load_balancing/child_policy_handler.cc \ + src/core/load_balancing/endpoint_list.cc \ + src/core/load_balancing/grpclb/client_load_reporting_filter.cc \ + src/core/load_balancing/grpclb/grpclb.cc \ + src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc \ + src/core/load_balancing/grpclb/grpclb_client_stats.cc \ + src/core/load_balancing/grpclb/load_balancer_api.cc \ + src/core/load_balancing/health_check_client.cc \ + src/core/load_balancing/lb_policy.cc \ + src/core/load_balancing/lb_policy_registry.cc \ + src/core/load_balancing/oob_backend_metric.cc \ + src/core/load_balancing/outlier_detection/outlier_detection.cc \ + src/core/load_balancing/pick_first/pick_first.cc \ + src/core/load_balancing/priority/priority.cc \ + src/core/load_balancing/ring_hash/ring_hash.cc \ + src/core/load_balancing/rls/rls.cc \ + src/core/load_balancing/round_robin/round_robin.cc \ + src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc \ + src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc \ + src/core/load_balancing/weighted_target/weighted_target.cc \ + src/core/load_balancing/xds/cds.cc \ + src/core/load_balancing/xds/xds_cluster_impl.cc \ + src/core/load_balancing/xds/xds_cluster_manager.cc \ + src/core/load_balancing/xds/xds_override_host.cc \ + src/core/load_balancing/xds/xds_wrr_locality.cc \ src/core/plugin_registry/grpc_plugin_registry.cc \ src/core/plugin_registry/grpc_plugin_registry_extra.cc \ + src/core/resolver/binder/binder_resolver.cc \ + src/core/resolver/dns/c_ares/dns_resolver_ares.cc \ + src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc \ + src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc \ + src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc \ + src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc \ + src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc \ + src/core/resolver/dns/dns_resolver_plugin.cc \ + src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc \ + src/core/resolver/dns/event_engine/service_config_helper.cc \ + src/core/resolver/dns/native/dns_resolver.cc \ + src/core/resolver/endpoint_addresses.cc \ + src/core/resolver/fake/fake_resolver.cc \ + src/core/resolver/google_c2p/google_c2p_resolver.cc \ + src/core/resolver/polling_resolver.cc \ + src/core/resolver/resolver.cc \ + src/core/resolver/resolver_registry.cc \ + src/core/resolver/sockaddr/sockaddr_resolver.cc \ + src/core/resolver/xds/xds_dependency_manager.cc \ + src/core/resolver/xds/xds_resolver.cc \ + src/core/resolver/xds/xds_resolver_trace.cc \ + src/core/service_config/service_config_channel_arg_filter.cc \ + src/core/service_config/service_config_impl.cc \ + src/core/service_config/service_config_parser.cc \ src/core/tsi/alts/crypt/aes_gcm.cc \ src/core/tsi/alts/crypt/gsec.cc \ src/core/tsi/alts/frame_protector/alts_counter.cc \ @@ -1737,6 +1766,7 @@ PUBLIC_HEADERS_C += \ include/grpc/compression.h \ include/grpc/event_engine/endpoint_config.h \ include/grpc/event_engine/event_engine.h \ + include/grpc/event_engine/extensible.h \ include/grpc/event_engine/internal/memory_allocator_impl.h \ include/grpc/event_engine/internal/slice_cast.h \ include/grpc/event_engine/memory_allocator.h \ @@ -1747,9 +1777,11 @@ PUBLIC_HEADERS_C += \ include/grpc/fork.h \ include/grpc/grpc.h \ include/grpc/grpc_audit_logging.h \ + include/grpc/grpc_crl_provider.h \ include/grpc/grpc_posix.h \ include/grpc/grpc_security.h \ include/grpc/grpc_security_constants.h \ + include/grpc/impl/call.h \ include/grpc/impl/channel_arg_names.h \ include/grpc/impl/codegen/atm.h \ include/grpc/impl/codegen/atm_gcc_atomic.h \ @@ -1816,30 +1848,30 @@ $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE else # static library for "grpc" -$(LIBDIR)/$(CONFIG)/libgrpc.a: $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LIBDIR)/$(CONFIG)/libre2.a $(OPENSSL_DEP) $(LIBGRPC_OBJS) $(LIBADDRESS_SORTING_OBJS) $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) $(LIBCARES_OBJS) $(ZLIB_MERGE_OBJS) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBUPB_JSON_LIB_OBJS) $(LIBUPB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_COLLECTIONS_LIB_OBJS) $(LIBRE2_OBJS) $(OPENSSL_MERGE_OBJS) +$(LIBDIR)/$(CONFIG)/libgrpc.a: $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(OPENSSL_DEP) $(LIBGRPC_OBJS) $(LIBADDRESS_SORTING_OBJS) $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) $(LIBCARES_OBJS) $(ZLIB_MERGE_OBJS) $(LIBRE2_OBJS) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBUPB_JSON_LIB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) $(OPENSSL_MERGE_OBJS) $(E) "[AR] Creating $@" $(Q) mkdir -p `dirname $@` $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBGRPC_OBJS) $(LIBADDRESS_SORTING_OBJS) $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) $(LIBCARES_OBJS) $(ZLIB_MERGE_OBJS) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBUPB_JSON_LIB_OBJS) $(LIBUPB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_COLLECTIONS_LIB_OBJS) $(LIBRE2_OBJS) $(OPENSSL_MERGE_OBJS) + $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBGRPC_OBJS) $(LIBADDRESS_SORTING_OBJS) $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) $(LIBCARES_OBJS) $(ZLIB_MERGE_OBJS) $(LIBRE2_OBJS) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBUPB_JSON_LIB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) $(OPENSSL_MERGE_OBJS) ifeq ($(SYSTEM),Darwin) $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libgrpc.a endif # shared library for "grpc" ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LIBDIR)/$(CONFIG)/libre2.a $(OPENSSL_DEP) +$(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(OPENSSL_DEP) $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LIBDIR)/$(CONFIG)/libre2.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(LDLIBS) else -$(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LIBDIR)/$(CONFIG)/libre2.a $(OPENSSL_DEP) +$(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(OPENSSL_DEP) $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LIBDIR)/$(CONFIG)/libre2.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(LDLIBS) else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.35 -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LIBDIR)/$(CONFIG)/libre2.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so.35 + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.39 -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libre2.a $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(LDLIBS) + $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so.39 $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so endif endif @@ -1855,66 +1887,33 @@ endif # start of build recipe for library "grpc_unsecure" (generated by makelib(lib) template function) -# deps: ['upb_collections_lib', 'upb', 'z', 'grpc_abseil', 'cares', 'gpr', 'address_sorting'] -# transitive_deps: ['address_sorting', 'gpr', 'grpc_abseil', 'cares', 'z', 'upb', 'utf8_range_lib', 'upb_collections_lib'] +# deps: ['upb_message_lib', 'utf8_range_lib', 'z', 'grpc_abseil', 'cares', 'gpr', 'address_sorting'] +# transitive_deps: ['address_sorting', 'gpr', 'grpc_abseil', 'cares', 'z', 'utf8_range_lib', 'upb_message_lib', 'upb_mem_lib', 'upb_base_lib'] LIBGRPC_UNSECURE_SRC = \ + src/core/client_channel/backup_poller.cc \ + src/core/client_channel/channel_connectivity.cc \ + src/core/client_channel/client_channel_channelz.cc \ + src/core/client_channel/client_channel_factory.cc \ + src/core/client_channel/client_channel_filter.cc \ + src/core/client_channel/client_channel_plugin.cc \ + src/core/client_channel/client_channel_service_config.cc \ + src/core/client_channel/config_selector.cc \ + src/core/client_channel/dynamic_filters.cc \ + src/core/client_channel/global_subchannel_pool.cc \ + src/core/client_channel/http_proxy_mapper.cc \ + src/core/client_channel/local_subchannel_pool.cc \ + src/core/client_channel/retry_filter.cc \ + src/core/client_channel/retry_filter_legacy_call_data.cc \ + src/core/client_channel/retry_service_config.cc \ + src/core/client_channel/retry_throttle.cc \ + src/core/client_channel/subchannel.cc \ + src/core/client_channel/subchannel_pool_interface.cc \ + src/core/client_channel/subchannel_stream_client.cc \ src/core/ext/filters/backend_metrics/backend_metric_filter.cc \ src/core/ext/filters/census/grpc_context.cc \ src/core/ext/filters/channel_idle/channel_idle_filter.cc \ src/core/ext/filters/channel_idle/idle_filter_state.cc \ - src/core/ext/filters/client_channel/backend_metric.cc \ - src/core/ext/filters/client_channel/backup_poller.cc \ - src/core/ext/filters/client_channel/channel_connectivity.cc \ - src/core/ext/filters/client_channel/client_channel.cc \ - src/core/ext/filters/client_channel/client_channel_channelz.cc \ - src/core/ext/filters/client_channel/client_channel_factory.cc \ - src/core/ext/filters/client_channel/client_channel_plugin.cc \ - src/core/ext/filters/client_channel/client_channel_service_config.cc \ - src/core/ext/filters/client_channel/config_selector.cc \ - src/core/ext/filters/client_channel/dynamic_filters.cc \ - src/core/ext/filters/client_channel/global_subchannel_pool.cc \ - src/core/ext/filters/client_channel/http_proxy_mapper.cc \ - src/core/ext/filters/client_channel/lb_policy/address_filtering.cc \ - src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc \ - src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc \ - src/core/ext/filters/client_channel/lb_policy/health_check_client.cc \ - src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc \ - src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc \ - src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc \ - src/core/ext/filters/client_channel/lb_policy/priority/priority.cc \ - src/core/ext/filters/client_channel/lb_policy/rls/rls.cc \ - src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc \ - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc \ - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc \ - src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc \ - src/core/ext/filters/client_channel/local_subchannel_pool.cc \ - src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc \ - src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc \ - src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc \ - src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc \ - src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc \ - src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc \ - src/core/ext/filters/client_channel/resolver/polling_resolver.cc \ - src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc \ - src/core/ext/filters/client_channel/retry_filter.cc \ - src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc \ - src/core/ext/filters/client_channel/retry_service_config.cc \ - src/core/ext/filters/client_channel/retry_throttle.cc \ - src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc \ - src/core/ext/filters/client_channel/subchannel.cc \ - src/core/ext/filters/client_channel/subchannel_pool_interface.cc \ - src/core/ext/filters/client_channel/subchannel_stream_client.cc \ + src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc \ src/core/ext/filters/deadline/deadline_filter.cc \ src/core/ext/filters/fault_injection/fault_injection_filter.cc \ src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc \ @@ -1922,6 +1921,7 @@ LIBGRPC_UNSECURE_SRC = \ src/core/ext/filters/http/client_authority_filter.cc \ src/core/ext/filters/http/http_filters_plugin.cc \ src/core/ext/filters/http/message_compress/compression_filter.cc \ + src/core/ext/filters/http/message_compress/legacy_compression_filter.cc \ src/core/ext/filters/http/server/http_server_filter.cc \ src/core/ext/filters/message_size/message_size_filter.cc \ src/core/ext/transport/chttp2/client/chttp2_connector.cc \ @@ -1931,6 +1931,7 @@ LIBGRPC_UNSECURE_SRC = \ src/core/ext/transport/chttp2/transport/chttp2_transport.cc \ src/core/ext/transport/chttp2/transport/decode_huff.cc \ src/core/ext/transport/chttp2/transport/flow_control.cc \ + src/core/ext/transport/chttp2/transport/frame.cc \ src/core/ext/transport/chttp2/transport/frame_data.cc \ src/core/ext/transport/chttp2/transport/frame_goaway.cc \ src/core/ext/transport/chttp2/transport/frame_ping.cc \ @@ -1945,33 +1946,37 @@ LIBGRPC_UNSECURE_SRC = \ src/core/ext/transport/chttp2/transport/http2_settings.cc \ src/core/ext/transport/chttp2/transport/http_trace.cc \ src/core/ext/transport/chttp2/transport/huffsyms.cc \ + src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc \ src/core/ext/transport/chttp2/transport/parsing.cc \ src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc \ + src/core/ext/transport/chttp2/transport/ping_callbacks.cc \ src/core/ext/transport/chttp2/transport/ping_rate_policy.cc \ src/core/ext/transport/chttp2/transport/stream_lists.cc \ src/core/ext/transport/chttp2/transport/varint.cc \ + src/core/ext/transport/chttp2/transport/write_size_policy.cc \ src/core/ext/transport/chttp2/transport/writing.cc \ src/core/ext/transport/inproc/inproc_plugin.cc \ src/core/ext/transport/inproc/inproc_transport.cc \ - src/core/ext/upb-generated/google/api/annotations.upb.c \ - src/core/ext/upb-generated/google/api/http.upb.c \ - src/core/ext/upb-generated/google/protobuf/any.upb.c \ - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c \ - src/core/ext/upb-generated/google/protobuf/duration.upb.c \ - src/core/ext/upb-generated/google/protobuf/empty.upb.c \ - src/core/ext/upb-generated/google/protobuf/struct.upb.c \ - src/core/ext/upb-generated/google/protobuf/timestamp.upb.c \ - src/core/ext/upb-generated/google/protobuf/wrappers.upb.c \ - src/core/ext/upb-generated/google/rpc/status.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c \ - src/core/ext/upb-generated/validate/validate.upb.c \ - src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c \ - src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c \ + src/core/ext/transport/inproc/legacy_inproc_transport.cc \ + src/core/ext/upb-gen/google/api/annotations.upb_minitable.c \ + src/core/ext/upb-gen/google/api/http.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c \ + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c \ + src/core/ext/upb-gen/validate/validate.upb_minitable.c \ + src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c \ + src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c \ src/core/lib/address_utils/parse_address.cc \ src/core/lib/address_utils/sockaddr_utils.cc \ src/core/lib/backoff/backoff.cc \ @@ -1982,6 +1987,7 @@ LIBGRPC_UNSECURE_SRC = \ src/core/lib/channel/channel_stack.cc \ src/core/lib/channel/channel_stack_builder.cc \ src/core/lib/channel/channel_stack_builder_impl.cc \ + src/core/lib/channel/channel_stack_trace.cc \ src/core/lib/channel/channel_trace.cc \ src/core/lib/channel/channelz.cc \ src/core/lib/channel/channelz_registry.cc \ @@ -2007,12 +2013,12 @@ LIBGRPC_UNSECURE_SRC = \ src/core/lib/event_engine/default_event_engine_factory.cc \ src/core/lib/event_engine/event_engine.cc \ src/core/lib/event_engine/forkable.cc \ - src/core/lib/event_engine/memory_allocator.cc \ src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc \ src/core/lib/event_engine/posix_engine/ev_poll_posix.cc \ src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc \ src/core/lib/event_engine/posix_engine/internal_errqueue.cc \ src/core/lib/event_engine/posix_engine/lockfree_event.cc \ + src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc \ src/core/lib/event_engine/posix_engine/posix_endpoint.cc \ src/core/lib/event_engine/posix_engine/posix_engine.cc \ src/core/lib/event_engine/posix_engine/posix_engine_listener.cc \ @@ -2037,7 +2043,9 @@ LIBGRPC_UNSECURE_SRC = \ src/core/lib/event_engine/time_util.cc \ src/core/lib/event_engine/trace.cc \ src/core/lib/event_engine/utils.cc \ + src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc \ src/core/lib/event_engine/windows/iocp.cc \ + src/core/lib/event_engine/windows/native_windows_dns_resolver.cc \ src/core/lib/event_engine/windows/win_socket.cc \ src/core/lib/event_engine/windows/windows_endpoint.cc \ src/core/lib/event_engine/windows/windows_engine.cc \ @@ -2093,7 +2101,6 @@ LIBGRPC_UNSECURE_SRC = \ src/core/lib/iomgr/iomgr_posix.cc \ src/core/lib/iomgr/iomgr_posix_cfstream.cc \ src/core/lib/iomgr/iomgr_windows.cc \ - src/core/lib/iomgr/load_file.cc \ src/core/lib/iomgr/lockfree_event.cc \ src/core/lib/iomgr/polling_entity.cc \ src/core/lib/iomgr/pollset.cc \ @@ -2138,15 +2145,10 @@ LIBGRPC_UNSECURE_SRC = \ src/core/lib/json/json_object_loader.cc \ src/core/lib/json/json_reader.cc \ src/core/lib/json/json_writer.cc \ - src/core/lib/load_balancing/lb_policy.cc \ - src/core/lib/load_balancing/lb_policy_registry.cc \ src/core/lib/promise/activity.cc \ src/core/lib/promise/party.cc \ src/core/lib/promise/sleep.cc \ src/core/lib/promise/trace.cc \ - src/core/lib/resolver/resolver.cc \ - src/core/lib/resolver/resolver_registry.cc \ - src/core/lib/resolver/server_address.cc \ src/core/lib/resource_quota/api.cc \ src/core/lib/resource_quota/arena.cc \ src/core/lib/resource_quota/memory_quota.cc \ @@ -2177,15 +2179,15 @@ LIBGRPC_UNSECURE_SRC = \ src/core/lib/security/security_connector/insecure/insecure_security_connector.cc \ src/core/lib/security/security_connector/load_system_roots_fallback.cc \ src/core/lib/security/security_connector/load_system_roots_supported.cc \ + src/core/lib/security/security_connector/load_system_roots_windows.cc \ src/core/lib/security/security_connector/security_connector.cc \ src/core/lib/security/transport/client_auth_filter.cc \ + src/core/lib/security/transport/legacy_server_auth_filter.cc \ src/core/lib/security/transport/secure_endpoint.cc \ src/core/lib/security/transport/security_handshaker.cc \ src/core/lib/security/transport/server_auth_filter.cc \ src/core/lib/security/transport/tsi_error.cc \ src/core/lib/security/util/json_util.cc \ - src/core/lib/service_config/service_config_impl.cc \ - src/core/lib/service_config/service_config_parser.cc \ src/core/lib/slice/b64.cc \ src/core/lib/slice/percent_encoding.cc \ src/core/lib/slice/slice.cc \ @@ -2199,7 +2201,6 @@ LIBGRPC_UNSECURE_SRC = \ src/core/lib/surface/call.cc \ src/core/lib/surface/call_details.cc \ src/core/lib/surface/call_log_batch.cc \ - src/core/lib/surface/call_trace.cc \ src/core/lib/surface/channel.cc \ src/core/lib/surface/channel_init.cc \ src/core/lib/surface/channel_ping.cc \ @@ -2214,24 +2215,72 @@ LIBGRPC_UNSECURE_SRC = \ src/core/lib/surface/server.cc \ src/core/lib/surface/validate_metadata.cc \ src/core/lib/surface/version.cc \ + src/core/lib/surface/wait_for_cq_end_op.cc \ src/core/lib/transport/batch_builder.cc \ src/core/lib/transport/bdp_estimator.cc \ + src/core/lib/transport/call_factory.cc \ + src/core/lib/transport/call_filters.cc \ + src/core/lib/transport/call_final_info.cc \ + src/core/lib/transport/call_size_estimator.cc \ + src/core/lib/transport/call_spine.cc \ src/core/lib/transport/connectivity_state.cc \ src/core/lib/transport/error_utils.cc \ src/core/lib/transport/handshaker.cc \ src/core/lib/transport/handshaker_registry.cc \ src/core/lib/transport/http_connect_handshaker.cc \ + src/core/lib/transport/message.cc \ + src/core/lib/transport/metadata.cc \ src/core/lib/transport/metadata_batch.cc \ src/core/lib/transport/parsed_metadata.cc \ - src/core/lib/transport/pid_controller.cc \ src/core/lib/transport/status_conversion.cc \ src/core/lib/transport/tcp_connect_handshaker.cc \ src/core/lib/transport/timeout_encoding.cc \ src/core/lib/transport/transport.cc \ src/core/lib/transport/transport_op_string.cc \ src/core/lib/uri/uri_parser.cc \ + src/core/load_balancing/address_filtering.cc \ + src/core/load_balancing/backend_metric_parser.cc \ + src/core/load_balancing/child_policy_handler.cc \ + src/core/load_balancing/endpoint_list.cc \ + src/core/load_balancing/grpclb/client_load_reporting_filter.cc \ + src/core/load_balancing/grpclb/grpclb.cc \ + src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc \ + src/core/load_balancing/grpclb/grpclb_client_stats.cc \ + src/core/load_balancing/grpclb/load_balancer_api.cc \ + src/core/load_balancing/health_check_client.cc \ + src/core/load_balancing/lb_policy.cc \ + src/core/load_balancing/lb_policy_registry.cc \ + src/core/load_balancing/oob_backend_metric.cc \ + src/core/load_balancing/outlier_detection/outlier_detection.cc \ + src/core/load_balancing/pick_first/pick_first.cc \ + src/core/load_balancing/priority/priority.cc \ + src/core/load_balancing/rls/rls.cc \ + src/core/load_balancing/round_robin/round_robin.cc \ + src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc \ + src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc \ + src/core/load_balancing/weighted_target/weighted_target.cc \ src/core/plugin_registry/grpc_plugin_registry.cc \ src/core/plugin_registry/grpc_plugin_registry_noextra.cc \ + src/core/resolver/binder/binder_resolver.cc \ + src/core/resolver/dns/c_ares/dns_resolver_ares.cc \ + src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc \ + src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc \ + src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc \ + src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc \ + src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc \ + src/core/resolver/dns/dns_resolver_plugin.cc \ + src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc \ + src/core/resolver/dns/event_engine/service_config_helper.cc \ + src/core/resolver/dns/native/dns_resolver.cc \ + src/core/resolver/endpoint_addresses.cc \ + src/core/resolver/fake/fake_resolver.cc \ + src/core/resolver/polling_resolver.cc \ + src/core/resolver/resolver.cc \ + src/core/resolver/resolver_registry.cc \ + src/core/resolver/sockaddr/sockaddr_resolver.cc \ + src/core/service_config/service_config_channel_arg_filter.cc \ + src/core/service_config/service_config_impl.cc \ + src/core/service_config/service_config_parser.cc \ src/core/tsi/alts/handshaker/transport_security_common_api.cc \ src/core/tsi/fake_transport_security.cc \ src/core/tsi/local_transport_security.cc \ @@ -2241,7 +2290,13 @@ LIBGRPC_UNSECURE_SRC = \ third_party/upb/upb/mini_descriptor/build_enum.c \ third_party/upb/upb/mini_descriptor/decode.c \ third_party/upb/upb/mini_descriptor/internal/base92.c \ + third_party/upb/upb/mini_descriptor/internal/encode.c \ third_party/upb/upb/mini_descriptor/link.c \ + third_party/upb/upb/wire/decode.c \ + third_party/upb/upb/wire/decode_fast.c \ + third_party/upb/upb/wire/encode.c \ + third_party/upb/upb/wire/eps_copy_input_stream.c \ + third_party/upb/upb/wire/reader.c \ PUBLIC_HEADERS_C += \ include/grpc/byte_buffer.h \ @@ -2250,6 +2305,7 @@ PUBLIC_HEADERS_C += \ include/grpc/compression.h \ include/grpc/event_engine/endpoint_config.h \ include/grpc/event_engine/event_engine.h \ + include/grpc/event_engine/extensible.h \ include/grpc/event_engine/internal/memory_allocator_impl.h \ include/grpc/event_engine/internal/slice_cast.h \ include/grpc/event_engine/memory_allocator.h \ @@ -2260,9 +2316,11 @@ PUBLIC_HEADERS_C += \ include/grpc/fork.h \ include/grpc/grpc.h \ include/grpc/grpc_audit_logging.h \ + include/grpc/grpc_crl_provider.h \ include/grpc/grpc_posix.h \ include/grpc/grpc_security.h \ include/grpc/grpc_security_constants.h \ + include/grpc/impl/call.h \ include/grpc/impl/channel_arg_names.h \ include/grpc/impl/codegen/atm.h \ include/grpc/impl/codegen/atm_gcc_atomic.h \ @@ -2319,30 +2377,30 @@ LIBGRPC_UNSECURE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(base # static library for "grpc_unsecure" -$(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a: $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LIBGRPC_UNSECURE_OBJS) $(LIBADDRESS_SORTING_OBJS) $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) $(LIBCARES_OBJS) $(ZLIB_MERGE_OBJS) $(LIBUPB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_COLLECTIONS_LIB_OBJS) +$(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a: $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LIBGRPC_UNSECURE_OBJS) $(LIBADDRESS_SORTING_OBJS) $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) $(LIBCARES_OBJS) $(ZLIB_MERGE_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) $(E) "[AR] Creating $@" $(Q) mkdir -p `dirname $@` $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBGRPC_UNSECURE_OBJS) $(LIBADDRESS_SORTING_OBJS) $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) $(LIBCARES_OBJS) $(ZLIB_MERGE_OBJS) $(LIBUPB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_COLLECTIONS_LIB_OBJS) + $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBGRPC_UNSECURE_OBJS) $(LIBADDRESS_SORTING_OBJS) $(LIBGPR_OBJS) $(LIBGRPC_ABSEIL_OBJS) $(LIBCARES_OBJS) $(ZLIB_MERGE_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) ifeq ($(SYSTEM),Darwin) $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a endif # shared library for "grpc_unsecure" ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a +$(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) else -$(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a +$(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.35 -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).so.35 + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.39 -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(GRPC_ABSEIL_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libcares.a $(ZLIB_MERGE_LIBS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) + $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).so.39 $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).so endif endif @@ -2408,8 +2466,8 @@ $(LIBDIR)/$(CONFIG)/libre2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBRE2_OB ifeq ($(SYSTEM),Darwin) $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libre2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBRE2_OBJS) $(LDLIBS) else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libre2.so.35 -o $(LIBDIR)/$(CONFIG)/libre2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBRE2_OBJS) $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libre2$(SHARED_VERSION_CORE).so.35 + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libre2.so.39 -o $(LIBDIR)/$(CONFIG)/libre2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBRE2_OBJS) $(LDLIBS) + $(Q) ln -sf $(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libre2$(SHARED_VERSION_CORE).so.39 $(Q) ln -sf $(SHARED_PREFIX)re2$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libre2$(SHARED_VERSION_CORE).so endif endif @@ -2420,25 +2478,86 @@ endif # end of build recipe for library "re2" -# start of build recipe for library "upb" (generated by makelib(lib) template function) -# deps: ['utf8_range_lib'] -# transitive_deps: ['utf8_range_lib'] -LIBUPB_SRC = \ +# start of build recipe for library "upb_base_lib" (generated by makelib(lib) template function) +# deps: [] +# transitive_deps: [] +LIBUPB_BASE_LIB_SRC = \ third_party/upb/upb/base/status.c \ - third_party/upb/upb/collections/array.c \ - third_party/upb/upb/collections/map.c \ - third_party/upb/upb/collections/map_sorter.c \ - third_party/upb/upb/hash/common.c \ + +PUBLIC_HEADERS_C += \ + +LIBUPB_BASE_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUPB_BASE_LIB_SRC)))) + + +# static library for "upb_base_lib" +$(LIBDIR)/$(CONFIG)/libupb_base_lib.a: $(LIBUPB_BASE_LIB_OBJS) + $(E) "[AR] Creating $@" + $(Q) mkdir -p `dirname $@` + $(Q) rm -f $(LIBDIR)/$(CONFIG)/libupb_base_lib.a + $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LIBUPB_BASE_LIB_OBJS) +ifeq ($(SYSTEM),Darwin) + $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libupb_base_lib.a +endif + +# shared library for "upb_base_lib" +ifeq ($(SYSTEM),MINGW32) +$(LIBDIR)/$(CONFIG)/upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_BASE_LIB_OBJS) + $(E) "[LD] Linking $@" + $(Q) mkdir -p `dirname $@` + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb_base_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb_base_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_BASE_LIB_OBJS) $(LDLIBS) +else +$(LIBDIR)/$(CONFIG)/libupb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_BASE_LIB_OBJS) + $(E) "[LD] Linking $@" + $(Q) mkdir -p `dirname $@` +ifeq ($(SYSTEM),Darwin) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_BASE_LIB_OBJS) $(LDLIBS) +else + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb_base_lib.so.39 -o $(LIBDIR)/$(CONFIG)/libupb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_BASE_LIB_OBJS) $(LDLIBS) + $(Q) ln -sf $(SHARED_PREFIX)upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_base_lib$(SHARED_VERSION_CORE).so.39 + $(Q) ln -sf $(SHARED_PREFIX)upb_base_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_base_lib$(SHARED_VERSION_CORE).so +endif +endif + +ifneq ($(NO_DEPS),true) +-include $(LIBUPB_BASE_LIB_OBJS:.o=.dep) +endif +# end of build recipe for library "upb_base_lib" + + +# start of build recipe for library "upb_json_lib" (generated by makelib(lib) template function) +# deps: ['upb_message_lib', 'utf8_range_lib'] +# transitive_deps: ['utf8_range_lib', 'upb_message_lib', 'upb_mem_lib', 'upb_base_lib'] +LIBUPB_JSON_LIB_SRC = \ + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c \ + third_party/upb/upb/json/decode.c \ + third_party/upb/upb/json/encode.c \ third_party/upb/upb/lex/atoi.c \ third_party/upb/upb/lex/round_trip.c \ third_party/upb/upb/lex/strtod.c \ third_party/upb/upb/lex/unicode.c \ - third_party/upb/upb/mem/alloc.c \ - third_party/upb/upb/mem/arena.c \ - third_party/upb/upb/message/message.c \ - third_party/upb/upb/mini_table/extension_registry.c \ - third_party/upb/upb/mini_table/internal/message.c \ - third_party/upb/upb/mini_table/message.c \ + third_party/upb/upb/message/accessors.c \ + third_party/upb/upb/mini_descriptor/build_enum.c \ + third_party/upb/upb/mini_descriptor/decode.c \ + third_party/upb/upb/mini_descriptor/internal/base92.c \ + third_party/upb/upb/mini_descriptor/internal/encode.c \ + third_party/upb/upb/mini_descriptor/link.c \ + third_party/upb/upb/reflection/def_pool.c \ + third_party/upb/upb/reflection/def_type.c \ + third_party/upb/upb/reflection/desc_state.c \ + third_party/upb/upb/reflection/enum_def.c \ + third_party/upb/upb/reflection/enum_reserved_range.c \ + third_party/upb/upb/reflection/enum_value_def.c \ + third_party/upb/upb/reflection/extension_range.c \ + third_party/upb/upb/reflection/field_def.c \ + third_party/upb/upb/reflection/file_def.c \ + third_party/upb/upb/reflection/internal/def_builder.c \ + third_party/upb/upb/reflection/internal/strdup2.c \ + third_party/upb/upb/reflection/message.c \ + third_party/upb/upb/reflection/message_def.c \ + third_party/upb/upb/reflection/message_reserved_range.c \ + third_party/upb/upb/reflection/method_def.c \ + third_party/upb/upb/reflection/oneof_def.c \ + third_party/upb/upb/reflection/service_def.c \ third_party/upb/upb/wire/decode.c \ third_party/upb/upb/wire/decode_fast.c \ third_party/upb/upb/wire/encode.c \ @@ -2447,182 +2566,159 @@ LIBUPB_SRC = \ PUBLIC_HEADERS_C += \ -LIBUPB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUPB_SRC)))) +LIBUPB_JSON_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUPB_JSON_LIB_SRC)))) -# static library for "upb" -$(LIBDIR)/$(CONFIG)/libupb.a: $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBUPB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) +# static library for "upb_json_lib" +$(LIBDIR)/$(CONFIG)/libupb_json_lib.a: $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LIBUPB_JSON_LIB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) $(E) "[AR] Creating $@" $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libupb.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBUPB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) + $(Q) rm -f $(LIBDIR)/$(CONFIG)/libupb_json_lib.a + $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBUPB_JSON_LIB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libupb.a + $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libupb_json_lib.a endif -# shared library for "upb" +# shared library for "upb_json_lib" ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/upb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a +$(LIBDIR)/$(CONFIG)/upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb_json_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) else -$(LIBDIR)/$(CONFIG)/libupb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a +$(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb.so.35 -o $(LIBDIR)/$(CONFIG)/libupb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)upb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb$(SHARED_VERSION_CORE).so.35 - $(Q) ln -sf $(SHARED_PREFIX)upb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb$(SHARED_VERSION_CORE).so + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb_json_lib.so.39 -o $(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) + $(Q) ln -sf $(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).so.39 + $(Q) ln -sf $(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).so endif endif ifneq ($(NO_DEPS),true) --include $(LIBUPB_OBJS:.o=.dep) +-include $(LIBUPB_JSON_LIB_OBJS:.o=.dep) endif -# end of build recipe for library "upb" +# end of build recipe for library "upb_json_lib" -# start of build recipe for library "upb_collections_lib" (generated by makelib(lib) template function) +# start of build recipe for library "upb_mem_lib" (generated by makelib(lib) template function) # deps: [] # transitive_deps: [] -LIBUPB_COLLECTIONS_LIB_SRC = \ - third_party/upb/upb/base/status.c \ - third_party/upb/upb/collections/array.c \ - third_party/upb/upb/collections/map.c \ - third_party/upb/upb/collections/map_sorter.c \ - third_party/upb/upb/hash/common.c \ +LIBUPB_MEM_LIB_SRC = \ third_party/upb/upb/mem/alloc.c \ third_party/upb/upb/mem/arena.c \ - third_party/upb/upb/message/message.c \ - third_party/upb/upb/mini_table/extension_registry.c \ - third_party/upb/upb/mini_table/internal/message.c \ - third_party/upb/upb/mini_table/message.c \ PUBLIC_HEADERS_C += \ -LIBUPB_COLLECTIONS_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUPB_COLLECTIONS_LIB_SRC)))) +LIBUPB_MEM_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUPB_MEM_LIB_SRC)))) -# static library for "upb_collections_lib" -$(LIBDIR)/$(CONFIG)/libupb_collections_lib.a: $(LIBUPB_COLLECTIONS_LIB_OBJS) +# static library for "upb_mem_lib" +$(LIBDIR)/$(CONFIG)/libupb_mem_lib.a: $(LIBUPB_MEM_LIB_OBJS) $(E) "[AR] Creating $@" $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LIBUPB_COLLECTIONS_LIB_OBJS) + $(Q) rm -f $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a + $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBUPB_MEM_LIB_OBJS) ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a + $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a endif -# shared library for "upb_collections_lib" +# shared library for "upb_mem_lib" ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/upb_collections_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_COLLECTIONS_LIB_OBJS) +$(LIBDIR)/$(CONFIG)/upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_MEM_LIB_OBJS) $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb_collections_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb_collections_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb_collections_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_COLLECTIONS_LIB_OBJS) $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb_mem_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb_mem_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_MEM_LIB_OBJS) $(LDLIBS) else -$(LIBDIR)/$(CONFIG)/libupb_collections_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_COLLECTIONS_LIB_OBJS) +$(LIBDIR)/$(CONFIG)/libupb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_MEM_LIB_OBJS) $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb_collections_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb_collections_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_COLLECTIONS_LIB_OBJS) $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_MEM_LIB_OBJS) $(LDLIBS) else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb_collections_lib.so.35 -o $(LIBDIR)/$(CONFIG)/libupb_collections_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_COLLECTIONS_LIB_OBJS) $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)upb_collections_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_collections_lib$(SHARED_VERSION_CORE).so.35 - $(Q) ln -sf $(SHARED_PREFIX)upb_collections_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_collections_lib$(SHARED_VERSION_CORE).so + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb_mem_lib.so.39 -o $(LIBDIR)/$(CONFIG)/libupb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_MEM_LIB_OBJS) $(LDLIBS) + $(Q) ln -sf $(SHARED_PREFIX)upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_mem_lib$(SHARED_VERSION_CORE).so.39 + $(Q) ln -sf $(SHARED_PREFIX)upb_mem_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_mem_lib$(SHARED_VERSION_CORE).so endif endif ifneq ($(NO_DEPS),true) --include $(LIBUPB_COLLECTIONS_LIB_OBJS:.o=.dep) +-include $(LIBUPB_MEM_LIB_OBJS:.o=.dep) endif -# end of build recipe for library "upb_collections_lib" +# end of build recipe for library "upb_mem_lib" -# start of build recipe for library "upb_json_lib" (generated by makelib(lib) template function) -# deps: ['upb_collections_lib', 'upb'] -# transitive_deps: ['upb', 'utf8_range_lib', 'upb_collections_lib'] -LIBUPB_JSON_LIB_SRC = \ - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c \ - third_party/upb/upb/json/decode.c \ - third_party/upb/upb/json/encode.c \ - third_party/upb/upb/message/accessors.c \ - third_party/upb/upb/mini_descriptor/build_enum.c \ - third_party/upb/upb/mini_descriptor/decode.c \ - third_party/upb/upb/mini_descriptor/internal/base92.c \ - third_party/upb/upb/mini_descriptor/internal/encode.c \ - third_party/upb/upb/mini_descriptor/link.c \ - third_party/upb/upb/reflection/def_builder.c \ - third_party/upb/upb/reflection/def_pool.c \ - third_party/upb/upb/reflection/def_type.c \ - third_party/upb/upb/reflection/desc_state.c \ - third_party/upb/upb/reflection/enum_def.c \ - third_party/upb/upb/reflection/enum_reserved_range.c \ - third_party/upb/upb/reflection/enum_value_def.c \ - third_party/upb/upb/reflection/extension_range.c \ - third_party/upb/upb/reflection/field_def.c \ - third_party/upb/upb/reflection/file_def.c \ - third_party/upb/upb/reflection/message.c \ - third_party/upb/upb/reflection/message_def.c \ - third_party/upb/upb/reflection/message_reserved_range.c \ - third_party/upb/upb/reflection/method_def.c \ - third_party/upb/upb/reflection/oneof_def.c \ - third_party/upb/upb/reflection/service_def.c \ +# start of build recipe for library "upb_message_lib" (generated by makelib(lib) template function) +# deps: ['upb_base_lib', 'upb_mem_lib'] +# transitive_deps: ['upb_mem_lib', 'upb_base_lib'] +LIBUPB_MESSAGE_LIB_SRC = \ + third_party/upb/upb/hash/common.c \ + third_party/upb/upb/message/array.c \ + third_party/upb/upb/message/map.c \ + third_party/upb/upb/message/map_sorter.c \ + third_party/upb/upb/message/message.c \ + third_party/upb/upb/mini_table/extension_registry.c \ + third_party/upb/upb/mini_table/internal/message.c \ + third_party/upb/upb/mini_table/message.c \ PUBLIC_HEADERS_C += \ -LIBUPB_JSON_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUPB_JSON_LIB_SRC)))) +LIBUPB_MESSAGE_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBUPB_MESSAGE_LIB_SRC)))) -# static library for "upb_json_lib" -$(LIBDIR)/$(CONFIG)/libupb_json_lib.a: $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LIBUPB_JSON_LIB_OBJS) $(LIBUPB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_COLLECTIONS_LIB_OBJS) +# static library for "upb_message_lib" +$(LIBDIR)/$(CONFIG)/libupb_message_lib.a: $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) $(E) "[AR] Creating $@" $(Q) mkdir -p `dirname $@` - $(Q) rm -f $(LIBDIR)/$(CONFIG)/libupb_json_lib.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb_json_lib.a $(LIBUPB_JSON_LIB_OBJS) $(LIBUPB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_COLLECTIONS_LIB_OBJS) + $(Q) rm -f $(LIBDIR)/$(CONFIG)/libupb_message_lib.a + $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) ifeq ($(SYSTEM),Darwin) - $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libupb_json_lib.a + $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libupb_message_lib.a endif -# shared library for "upb_json_lib" +# shared library for "upb_message_lib" ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a +$(LIBDIR)/$(CONFIG)/upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb_json_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb_message_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb_message_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) else -$(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a +$(LIBDIR)/$(CONFIG)/libupb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb_json_lib.so.35 -o $(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_JSON_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).so.35 - $(Q) ln -sf $(SHARED_PREFIX)upb_json_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_json_lib$(SHARED_VERSION_CORE).so + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb_message_lib.so.39 -o $(LIBDIR)/$(CONFIG)/libupb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) + $(Q) ln -sf $(SHARED_PREFIX)upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_message_lib$(SHARED_VERSION_CORE).so.39 + $(Q) ln -sf $(SHARED_PREFIX)upb_message_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_message_lib$(SHARED_VERSION_CORE).so endif endif ifneq ($(NO_DEPS),true) --include $(LIBUPB_JSON_LIB_OBJS:.o=.dep) +-include $(LIBUPB_MESSAGE_LIB_OBJS:.o=.dep) endif -# end of build recipe for library "upb_json_lib" +# end of build recipe for library "upb_message_lib" # start of build recipe for library "upb_textformat_lib" (generated by makelib(lib) template function) -# deps: ['upb_collections_lib', 'upb'] -# transitive_deps: ['upb', 'utf8_range_lib', 'upb_collections_lib'] +# deps: ['upb_message_lib', 'utf8_range_lib'] +# transitive_deps: ['utf8_range_lib', 'upb_message_lib', 'upb_mem_lib', 'upb_base_lib'] LIBUPB_TEXTFORMAT_LIB_SRC = \ - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c \ + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c \ + third_party/upb/upb/lex/atoi.c \ + third_party/upb/upb/lex/round_trip.c \ + third_party/upb/upb/lex/strtod.c \ + third_party/upb/upb/lex/unicode.c \ third_party/upb/upb/message/accessors.c \ third_party/upb/upb/mini_descriptor/build_enum.c \ third_party/upb/upb/mini_descriptor/decode.c \ third_party/upb/upb/mini_descriptor/internal/base92.c \ third_party/upb/upb/mini_descriptor/internal/encode.c \ third_party/upb/upb/mini_descriptor/link.c \ - third_party/upb/upb/reflection/def_builder.c \ third_party/upb/upb/reflection/def_pool.c \ third_party/upb/upb/reflection/def_type.c \ third_party/upb/upb/reflection/desc_state.c \ @@ -2632,6 +2728,8 @@ LIBUPB_TEXTFORMAT_LIB_SRC = \ third_party/upb/upb/reflection/extension_range.c \ third_party/upb/upb/reflection/field_def.c \ third_party/upb/upb/reflection/file_def.c \ + third_party/upb/upb/reflection/internal/def_builder.c \ + third_party/upb/upb/reflection/internal/strdup2.c \ third_party/upb/upb/reflection/message.c \ third_party/upb/upb/reflection/message_def.c \ third_party/upb/upb/reflection/message_reserved_range.c \ @@ -2639,6 +2737,11 @@ LIBUPB_TEXTFORMAT_LIB_SRC = \ third_party/upb/upb/reflection/oneof_def.c \ third_party/upb/upb/reflection/service_def.c \ third_party/upb/upb/text/encode.c \ + third_party/upb/upb/wire/decode.c \ + third_party/upb/upb/wire/decode_fast.c \ + third_party/upb/upb/wire/encode.c \ + third_party/upb/upb/wire/eps_copy_input_stream.c \ + third_party/upb/upb/wire/reader.c \ PUBLIC_HEADERS_C += \ @@ -2646,30 +2749,30 @@ LIBUPB_TEXTFORMAT_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $ # static library for "upb_textformat_lib" -$(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a: $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBUPB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_COLLECTIONS_LIB_OBJS) +$(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a: $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) $(E) "[AR] Creating $@" $(Q) mkdir -p `dirname $@` $(Q) rm -f $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a - $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBUPB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_COLLECTIONS_LIB_OBJS) + $(Q) $(AR) $(ARFLAGS) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBUTF8_RANGE_LIB_OBJS) $(LIBUPB_MESSAGE_LIB_OBJS) $(LIBUPB_MEM_LIB_OBJS) $(LIBUPB_BASE_LIB_OBJS) ifeq ($(SYSTEM),Darwin) $(Q) $(RANLIB) $(RANLIBFLAGS) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib.a endif # shared library for "upb_textformat_lib" ifeq ($(SYSTEM),MINGW32) -$(LIBDIR)/$(CONFIG)/upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a +$(LIBDIR)/$(CONFIG)/upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb_textformat_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/upb_textformat_lib$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) else -$(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a +$(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(E) "[LD] Linking $@" $(Q) mkdir -p `dirname $@` ifeq ($(SYSTEM),Darwin) - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LDLIBS) + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb_textformat_lib.so.35 -o $(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libupb.a $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_collections_lib.a $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).so.35 + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb_textformat_lib.so.39 -o $(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_TEXTFORMAT_LIB_OBJS) $(LIBDIR)/$(CONFIG)/libutf8_range_lib.a $(LIBDIR)/$(CONFIG)/libupb_message_lib.a $(LIBDIR)/$(CONFIG)/libupb_mem_lib.a $(LIBDIR)/$(CONFIG)/libupb_base_lib.a $(LDLIBS) + $(Q) ln -sf $(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).so.39 $(Q) ln -sf $(SHARED_PREFIX)upb_textformat_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb_textformat_lib$(SHARED_VERSION_CORE).so endif endif @@ -2716,8 +2819,8 @@ $(LIBDIR)/$(CONFIG)/libutf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): ifeq ($(SYSTEM),Darwin) $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libutf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUTF8_RANGE_LIB_OBJS) $(LDLIBS) else - $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libutf8_range_lib.so.35 -o $(LIBDIR)/$(CONFIG)/libutf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUTF8_RANGE_LIB_OBJS) $(LDLIBS) - $(Q) ln -sf $(SHARED_PREFIX)utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libutf8_range_lib$(SHARED_VERSION_CORE).so.35 + $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libutf8_range_lib.so.39 -o $(LIBDIR)/$(CONFIG)/libutf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUTF8_RANGE_LIB_OBJS) $(LDLIBS) + $(Q) ln -sf $(SHARED_PREFIX)utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libutf8_range_lib$(SHARED_VERSION_CORE).so.39 $(Q) ln -sf $(SHARED_PREFIX)utf8_range_lib$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libutf8_range_lib$(SHARED_VERSION_CORE).so endif endif @@ -2883,7 +2986,7 @@ LIBBORINGSSL_SRC = \ third_party/boringssl-with-bazel/src/crypto/fipsmodule/fips_shared_support.c \ third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c \ third_party/boringssl-with-bazel/src/crypto/hrss/hrss.c \ - third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c \ + third_party/boringssl-with-bazel/src/crypto/keccak/keccak.c \ third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c \ third_party/boringssl-with-bazel/src/crypto/lhash/lhash.c \ third_party/boringssl-with-bazel/src/crypto/mem.c \ @@ -2920,6 +3023,13 @@ LIBBORINGSSL_SRC = \ third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c \ third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_print.c \ third_party/boringssl-with-bazel/src/crypto/siphash/siphash.c \ + third_party/boringssl-with-bazel/src/crypto/spx/address.c \ + third_party/boringssl-with-bazel/src/crypto/spx/fors.c \ + third_party/boringssl-with-bazel/src/crypto/spx/merkle.c \ + third_party/boringssl-with-bazel/src/crypto/spx/spx.c \ + third_party/boringssl-with-bazel/src/crypto/spx/spx_util.c \ + third_party/boringssl-with-bazel/src/crypto/spx/thash.c \ + third_party/boringssl-with-bazel/src/crypto/spx/wots.c \ third_party/boringssl-with-bazel/src/crypto/stack/stack.c \ third_party/boringssl-with-bazel/src/crypto/thread.c \ third_party/boringssl-with-bazel/src/crypto/thread_none.c \ @@ -2943,6 +3053,29 @@ LIBBORINGSSL_SRC = \ third_party/boringssl-with-bazel/src/crypto/x509/t_req.c \ third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c \ third_party/boringssl-with-bazel/src/crypto/x509/t_x509a.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_akey.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_akeya.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_alt.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_bcons.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_bitst.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_conf.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_enum.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_extku.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_genn.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_ia5.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_int.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_ncons.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_ocsp.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_pcons.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_pmaps.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_prn.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_skey.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_utl.c \ third_party/boringssl-with-bazel/src/crypto/x509/x509.c \ third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c \ third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c \ @@ -2967,9 +3100,7 @@ LIBBORINGSSL_SRC = \ third_party/boringssl-with-bazel/src/crypto/x509/x_attrib.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_exten.c \ - third_party/boringssl-with-bazel/src/crypto/x509/x_info.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_name.c \ - third_party/boringssl-with-bazel/src/crypto/x509/x_pkey.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_req.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_sig.c \ @@ -2977,29 +3108,6 @@ LIBBORINGSSL_SRC = \ third_party/boringssl-with-bazel/src/crypto/x509/x_val.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akey.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akeya.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bcons.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bitst.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_crld.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_extku.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ia5.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_int.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ncons.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ocsp.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcons.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pmaps.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c \ third_party/boringssl-with-bazel/src/ssl/bio_ssl.cc \ third_party/boringssl-with-bazel/src/ssl/d1_both.cc \ third_party/boringssl-with-bazel/src/ssl/d1_lib.cc \ @@ -3178,7 +3286,7 @@ LIBGRPC_ABSEIL_SRC = \ third_party/abseil-cpp/absl/crc/internal/crc.cc \ third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc \ third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc \ - third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc \ + third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc \ third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc \ third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc \ third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc \ @@ -3188,7 +3296,6 @@ LIBGRPC_ABSEIL_SRC = \ third_party/abseil-cpp/absl/debugging/stacktrace.cc \ third_party/abseil-cpp/absl/debugging/symbolize.cc \ third_party/abseil-cpp/absl/flags/commandlineflag.cc \ - third_party/abseil-cpp/absl/flags/flag.cc \ third_party/abseil-cpp/absl/flags/internal/commandlineflag.cc \ third_party/abseil-cpp/absl/flags/internal/flag.cc \ third_party/abseil-cpp/absl/flags/internal/private_handle_accessor.cc \ @@ -3212,6 +3319,7 @@ LIBGRPC_ABSEIL_SRC = \ third_party/abseil-cpp/absl/random/internal/seed_material.cc \ third_party/abseil-cpp/absl/random/seed_gen_exception.cc \ third_party/abseil-cpp/absl/random/seed_sequences.cc \ + third_party/abseil-cpp/absl/status/internal/status_internal.cc \ third_party/abseil-cpp/absl/status/status.cc \ third_party/abseil-cpp/absl/status/status_payload_printer.cc \ third_party/abseil-cpp/absl/status/statusor.cc \ @@ -3229,7 +3337,6 @@ LIBGRPC_ABSEIL_SRC = \ third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc \ third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc \ third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc \ - third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc \ third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc \ third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc \ third_party/abseil-cpp/absl/strings/internal/cordz_info.cc \ @@ -3314,15 +3421,6 @@ ifneq ($(OPENSSL_DEP),) # This is to ensure the embedded OpenSSL is built beforehand, properly # installing headers to their final destination on the drive. We need this # otherwise parallel compilation will fail if a source is compiled first. -src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc: $(OPENSSL_DEP) -src/core/ext/filters/client_channel/lb_policy/xds/cds.cc: $(OPENSSL_DEP) -src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc: $(OPENSSL_DEP) -src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc: $(OPENSSL_DEP) -src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc: $(OPENSSL_DEP) -src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc: $(OPENSSL_DEP) -src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc: $(OPENSSL_DEP) -src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc: $(OPENSSL_DEP) -src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc: $(OPENSSL_DEP) src/core/ext/filters/rbac/rbac_filter.cc: $(OPENSSL_DEP) src/core/ext/filters/rbac/rbac_service_config_parser.cc: $(OPENSSL_DEP) src/core/ext/filters/server_config_selector/server_config_selector_filter.cc: $(OPENSSL_DEP) @@ -3330,300 +3428,304 @@ src/core/ext/filters/stateful_session/stateful_session_filter.cc: $(OPENSSL_DEP) src/core/ext/filters/stateful_session/stateful_session_service_config_parser.cc: $(OPENSSL_DEP) src/core/ext/gcp/metadata_query.cc: $(OPENSSL_DEP) src/core/ext/transport/chttp2/alpn/alpn.cc: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/annotations/resource.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/v3/http.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/v3/percent.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/v3/range.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/google/api/httpbody.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/udpa/annotations/migrate.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/udpa/annotations/security.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/udpa/annotations/status.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/udpa/annotations/versioning.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/annotations/v3/security.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/annotations/v3/status.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/core/v3/authority.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/core/v3/cidr.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/core/v3/context_params.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/core/v3/extension.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/core/v3/resource.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/type/v3/cel.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/type/v3/range.upb.c: $(OPENSSL_DEP) -src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/google/api/http.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/validate/validate.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c: $(OPENSSL_DEP) -src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/google/api/http.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/validate/validate.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c: $(OPENSSL_DEP) +src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c: $(OPENSSL_DEP) src/core/ext/xds/certificate_provider_store.cc: $(OPENSSL_DEP) src/core/ext/xds/file_watcher_certificate_provider_factory.cc: $(OPENSSL_DEP) src/core/ext/xds/xds_api.cc: $(OPENSSL_DEP) @@ -3650,6 +3752,8 @@ src/core/ext/xds/xds_route_config.cc: $(OPENSSL_DEP) src/core/ext/xds/xds_routing.cc: $(OPENSSL_DEP) src/core/ext/xds/xds_server_config_fetcher.cc: $(OPENSSL_DEP) src/core/ext/xds/xds_transport_grpc.cc: $(OPENSSL_DEP) +src/core/lib/gprpp/posix/directory_reader.cc: $(OPENSSL_DEP) +src/core/lib/gprpp/windows/directory_reader.cc: $(OPENSSL_DEP) src/core/lib/http/httpcli_security_connector.cc: $(OPENSSL_DEP) src/core/lib/json/json_util.cc: $(OPENSSL_DEP) src/core/lib/matchers/matchers.cc: $(OPENSSL_DEP) @@ -3679,6 +3783,7 @@ src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc: $(OPENSSL_D src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc: $(OPENSSL_DEP) src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc: $(OPENSSL_DEP) src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc: $(OPENSSL_DEP) +src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc: $(OPENSSL_DEP) src/core/lib/security/credentials/tls/tls_credentials.cc: $(OPENSSL_DEP) src/core/lib/security/credentials/xds/xds_credentials.cc: $(OPENSSL_DEP) src/core/lib/security/security_connector/alts/alts_security_connector.cc: $(OPENSSL_DEP) @@ -3686,7 +3791,17 @@ src/core/lib/security/security_connector/local/local_security_connector.cc: $(OP src/core/lib/security/security_connector/ssl/ssl_security_connector.cc: $(OPENSSL_DEP) src/core/lib/security/security_connector/ssl_utils.cc: $(OPENSSL_DEP) src/core/lib/security/security_connector/tls/tls_security_connector.cc: $(OPENSSL_DEP) +src/core/load_balancing/ring_hash/ring_hash.cc: $(OPENSSL_DEP) +src/core/load_balancing/xds/cds.cc: $(OPENSSL_DEP) +src/core/load_balancing/xds/xds_cluster_impl.cc: $(OPENSSL_DEP) +src/core/load_balancing/xds/xds_cluster_manager.cc: $(OPENSSL_DEP) +src/core/load_balancing/xds/xds_override_host.cc: $(OPENSSL_DEP) +src/core/load_balancing/xds/xds_wrr_locality.cc: $(OPENSSL_DEP) src/core/plugin_registry/grpc_plugin_registry_extra.cc: $(OPENSSL_DEP) +src/core/resolver/google_c2p/google_c2p_resolver.cc: $(OPENSSL_DEP) +src/core/resolver/xds/xds_dependency_manager.cc: $(OPENSSL_DEP) +src/core/resolver/xds/xds_resolver.cc: $(OPENSSL_DEP) +src/core/resolver/xds/xds_resolver_trace.cc: $(OPENSSL_DEP) src/core/tsi/alts/crypt/aes_gcm.cc: $(OPENSSL_DEP) src/core/tsi/alts/crypt/gsec.cc: $(OPENSSL_DEP) src/core/tsi/alts/frame_protector/alts_counter.cc: $(OPENSSL_DEP) diff --git a/OWNERS b/OWNERS deleted file mode 100644 index cdbc4bec0ed..00000000000 --- a/OWNERS +++ /dev/null @@ -1,3 +0,0 @@ -# Top level ownership -@markdroth **/OWNERS -@a11r **/OWNERS diff --git a/Package.swift b/Package.swift index 70d7105c703..6156daefbb9 100644 --- a/Package.swift +++ b/Package.swift @@ -23,7 +23,7 @@ let package = Package( ], dependencies: [ - .package(url: "https://github.com/firebase/abseil-cpp-SwiftPM.git", "0.20220623.0"..<"0.20220624.0"), + .package(url: "https://github.com/firebase/abseil-cpp-SwiftPM.git", "0.20230802.0"..<"0.20230803.0"), .package(url: "https://github.com/firebase/boringssl-SwiftPM.git", "0.9.0"..<"0.10.0"), ], @@ -47,6 +47,7 @@ let package = Package( "include/grpc/compression.h", "include/grpc/event_engine/endpoint_config.h", "include/grpc/event_engine/event_engine.h", + "include/grpc/event_engine/extensible.h", "include/grpc/event_engine/internal/memory_allocator_impl.h", "include/grpc/event_engine/internal/slice_cast.h", "include/grpc/event_engine/memory_allocator.h", @@ -57,9 +58,11 @@ let package = Package( "include/grpc/fork.h", "include/grpc/grpc.h", "include/grpc/grpc_audit_logging.h", + "include/grpc/grpc_crl_provider.h", "include/grpc/grpc_posix.h", "include/grpc/grpc_security.h", "include/grpc/grpc_security_constants.h", + "include/grpc/impl/call.h", "include/grpc/impl/channel_arg_names.h", "include/grpc/impl/codegen/atm.h", "include/grpc/impl/codegen/atm_gcc_atomic.h", @@ -112,6 +115,45 @@ let package = Package( "include/grpc/support/thd_id.h", "include/grpc/support/time.h", "include/grpc/support/workaround_list.h", + "src/core/client_channel/backup_poller.cc", + "src/core/client_channel/backup_poller.h", + "src/core/client_channel/channel_connectivity.cc", + "src/core/client_channel/client_channel_channelz.cc", + "src/core/client_channel/client_channel_channelz.h", + "src/core/client_channel/client_channel_factory.cc", + "src/core/client_channel/client_channel_factory.h", + "src/core/client_channel/client_channel_filter.cc", + "src/core/client_channel/client_channel_filter.h", + "src/core/client_channel/client_channel_internal.h", + "src/core/client_channel/client_channel_plugin.cc", + "src/core/client_channel/client_channel_service_config.cc", + "src/core/client_channel/client_channel_service_config.h", + "src/core/client_channel/config_selector.cc", + "src/core/client_channel/config_selector.h", + "src/core/client_channel/connector.h", + "src/core/client_channel/dynamic_filters.cc", + "src/core/client_channel/dynamic_filters.h", + "src/core/client_channel/global_subchannel_pool.cc", + "src/core/client_channel/global_subchannel_pool.h", + "src/core/client_channel/http_proxy_mapper.cc", + "src/core/client_channel/http_proxy_mapper.h", + "src/core/client_channel/local_subchannel_pool.cc", + "src/core/client_channel/local_subchannel_pool.h", + "src/core/client_channel/retry_filter.cc", + "src/core/client_channel/retry_filter.h", + "src/core/client_channel/retry_filter_legacy_call_data.cc", + "src/core/client_channel/retry_filter_legacy_call_data.h", + "src/core/client_channel/retry_service_config.cc", + "src/core/client_channel/retry_service_config.h", + "src/core/client_channel/retry_throttle.cc", + "src/core/client_channel/retry_throttle.h", + "src/core/client_channel/subchannel.cc", + "src/core/client_channel/subchannel.h", + "src/core/client_channel/subchannel_interface_internal.h", + "src/core/client_channel/subchannel_pool_interface.cc", + "src/core/client_channel/subchannel_pool_interface.h", + "src/core/client_channel/subchannel_stream_client.cc", + "src/core/client_channel/subchannel_stream_client.h", "src/core/ext/filters/backend_metrics/backend_metric_filter.cc", "src/core/ext/filters/backend_metrics/backend_metric_filter.h", "src/core/ext/filters/backend_metrics/backend_metric_provider.h", @@ -120,119 +162,8 @@ let package = Package( "src/core/ext/filters/channel_idle/channel_idle_filter.h", "src/core/ext/filters/channel_idle/idle_filter_state.cc", "src/core/ext/filters/channel_idle/idle_filter_state.h", - "src/core/ext/filters/client_channel/backend_metric.cc", - "src/core/ext/filters/client_channel/backend_metric.h", - "src/core/ext/filters/client_channel/backup_poller.cc", - "src/core/ext/filters/client_channel/backup_poller.h", - "src/core/ext/filters/client_channel/channel_connectivity.cc", - "src/core/ext/filters/client_channel/client_channel.cc", - "src/core/ext/filters/client_channel/client_channel.h", - "src/core/ext/filters/client_channel/client_channel_channelz.cc", - "src/core/ext/filters/client_channel/client_channel_channelz.h", - "src/core/ext/filters/client_channel/client_channel_factory.cc", - "src/core/ext/filters/client_channel/client_channel_factory.h", - "src/core/ext/filters/client_channel/client_channel_internal.h", - "src/core/ext/filters/client_channel/client_channel_plugin.cc", - "src/core/ext/filters/client_channel/client_channel_service_config.cc", - "src/core/ext/filters/client_channel/client_channel_service_config.h", - "src/core/ext/filters/client_channel/config_selector.cc", - "src/core/ext/filters/client_channel/config_selector.h", - "src/core/ext/filters/client_channel/connector.h", - "src/core/ext/filters/client_channel/dynamic_filters.cc", - "src/core/ext/filters/client_channel/dynamic_filters.h", - "src/core/ext/filters/client_channel/global_subchannel_pool.cc", - "src/core/ext/filters/client_channel/global_subchannel_pool.h", - "src/core/ext/filters/client_channel/http_proxy_mapper.cc", - "src/core/ext/filters/client_channel/http_proxy_mapper.h", - "src/core/ext/filters/client_channel/lb_policy/address_filtering.cc", - "src/core/ext/filters/client_channel/lb_policy/address_filtering.h", - "src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h", - "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc", - "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h", - "src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc", - "src/core/ext/filters/client_channel/lb_policy/endpoint_list.h", - "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc", - "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h", - "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc", - "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h", - "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc", - "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h", - "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc", - "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h", - "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc", - "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h", - "src/core/ext/filters/client_channel/lb_policy/health_check_client.cc", - "src/core/ext/filters/client_channel/lb_policy/health_check_client.h", - "src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h", - "src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc", - "src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h", - "src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h", - "src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc", - "src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h", - "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc", - "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h", - "src/core/ext/filters/client_channel/lb_policy/priority/priority.cc", - "src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc", - "src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h", - "src/core/ext/filters/client_channel/lb_policy/rls/rls.cc", - "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc", - "src/core/ext/filters/client_channel/lb_policy/subchannel_list.h", - "src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc", - "src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h", - "src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc", - "src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc", - "src/core/ext/filters/client_channel/lb_policy/xds/cds.cc", - "src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h", - "src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc", - "src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc", - "src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc", - "src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc", - "src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h", - "src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc", - "src/core/ext/filters/client_channel/local_subchannel_pool.cc", - "src/core/ext/filters/client_channel/local_subchannel_pool.h", - "src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc", - "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc", - "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h", - "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h", - "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc", - "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc", - "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc", - "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h", - "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc", - "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc", - "src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc", - "src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h", - "src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc", - "src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h", - "src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc", - "src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h", - "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc", - "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h", - "src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc", - "src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h", - "src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc", - "src/core/ext/filters/client_channel/resolver/polling_resolver.cc", - "src/core/ext/filters/client_channel/resolver/polling_resolver.h", - "src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc", - "src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc", - "src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h", - "src/core/ext/filters/client_channel/retry_filter.cc", - "src/core/ext/filters/client_channel/retry_filter.h", - "src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc", - "src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h", - "src/core/ext/filters/client_channel/retry_service_config.cc", - "src/core/ext/filters/client_channel/retry_service_config.h", - "src/core/ext/filters/client_channel/retry_throttle.cc", - "src/core/ext/filters/client_channel/retry_throttle.h", - "src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc", - "src/core/ext/filters/client_channel/subchannel.cc", - "src/core/ext/filters/client_channel/subchannel.h", - "src/core/ext/filters/client_channel/subchannel_interface_internal.h", - "src/core/ext/filters/client_channel/subchannel_pool_interface.cc", - "src/core/ext/filters/client_channel/subchannel_pool_interface.h", - "src/core/ext/filters/client_channel/subchannel_stream_client.cc", - "src/core/ext/filters/client_channel/subchannel_stream_client.h", + "src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc", + "src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h", "src/core/ext/filters/deadline/deadline_filter.cc", "src/core/ext/filters/deadline/deadline_filter.h", "src/core/ext/filters/fault_injection/fault_injection_filter.cc", @@ -246,6 +177,8 @@ let package = Package( "src/core/ext/filters/http/http_filters_plugin.cc", "src/core/ext/filters/http/message_compress/compression_filter.cc", "src/core/ext/filters/http/message_compress/compression_filter.h", + "src/core/ext/filters/http/message_compress/legacy_compression_filter.cc", + "src/core/ext/filters/http/message_compress/legacy_compression_filter.h", "src/core/ext/filters/http/server/http_server_filter.cc", "src/core/ext/filters/http/server/http_server_filter.h", "src/core/ext/filters/message_size/message_size_filter.cc", @@ -280,6 +213,8 @@ let package = Package( "src/core/ext/transport/chttp2/transport/decode_huff.h", "src/core/ext/transport/chttp2/transport/flow_control.cc", "src/core/ext/transport/chttp2/transport/flow_control.h", + "src/core/ext/transport/chttp2/transport/frame.cc", + "src/core/ext/transport/chttp2/transport/frame.h", "src/core/ext/transport/chttp2/transport/frame_data.cc", "src/core/ext/transport/chttp2/transport/frame_data.h", "src/core/ext/transport/chttp2/transport/frame_goaway.cc", @@ -311,644 +246,825 @@ let package = Package( "src/core/ext/transport/chttp2/transport/huffsyms.h", "src/core/ext/transport/chttp2/transport/internal.h", "src/core/ext/transport/chttp2/transport/legacy_frame.h", + "src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc", + "src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h", "src/core/ext/transport/chttp2/transport/parsing.cc", "src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc", "src/core/ext/transport/chttp2/transport/ping_abuse_policy.h", + "src/core/ext/transport/chttp2/transport/ping_callbacks.cc", + "src/core/ext/transport/chttp2/transport/ping_callbacks.h", "src/core/ext/transport/chttp2/transport/ping_rate_policy.cc", "src/core/ext/transport/chttp2/transport/ping_rate_policy.h", "src/core/ext/transport/chttp2/transport/stream_lists.cc", "src/core/ext/transport/chttp2/transport/varint.cc", "src/core/ext/transport/chttp2/transport/varint.h", + "src/core/ext/transport/chttp2/transport/write_size_policy.cc", + "src/core/ext/transport/chttp2/transport/write_size_policy.h", "src/core/ext/transport/chttp2/transport/writing.cc", "src/core/ext/transport/inproc/inproc_plugin.cc", "src/core/ext/transport/inproc/inproc_transport.cc", "src/core/ext/transport/inproc/inproc_transport.h", - "src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c", - "src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h", - "src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c", - "src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h", - "src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c", - "src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h", - "src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c", - "src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h", - "src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c", - "src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h", - "src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c", - "src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h", - "src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c", - "src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h", - "src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c", - "src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h", - "src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c", - "src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h", - "src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c", - "src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h", - "src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c", - "src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h", - "src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c", - "src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h", - "src/core/ext/upb-generated/envoy/annotations/resource.upb.c", - "src/core/ext/upb-generated/envoy/annotations/resource.upb.h", - "src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c", - "src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h", - "src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c", - "src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h", - "src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c", - "src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h", - "src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c", - "src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h", - "src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c", - "src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h", - "src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c", - "src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h", - "src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c", - "src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h", - "src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c", - "src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h", - "src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c", - "src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h", - "src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c", - "src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h", - "src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c", - "src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h", - "src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c", - "src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h", - "src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c", - "src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h", - "src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c", - "src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h", - "src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c", - "src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h", - "src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c", - "src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h", - "src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c", - "src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h", - "src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c", - "src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h", - "src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c", - "src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h", - "src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c", - "src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h", - "src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c", - "src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h", - "src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c", - "src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h", - "src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c", - "src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h", - "src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c", - "src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h", - "src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c", - "src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h", - "src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c", - "src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h", - "src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c", - "src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h", - "src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c", - "src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h", - "src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c", - "src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h", - "src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c", - "src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h", - "src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c", - "src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h", - "src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c", - "src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h", - "src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c", - "src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h", - "src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c", - "src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h", - "src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c", - "src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h", - "src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c", - "src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h", - "src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c", - "src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h", - "src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c", - "src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h", - "src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c", - "src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h", - "src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c", - "src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h", - "src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c", - "src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h", - "src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c", - "src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h", - "src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c", - "src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h", - "src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c", - "src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h", - "src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c", - "src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h", - "src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c", - "src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h", - "src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c", - "src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h", - "src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c", - "src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h", - "src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c", - "src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h", - "src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c", - "src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h", - "src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c", - "src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h", - "src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c", - "src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h", - "src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c", - "src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h", - "src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c", - "src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h", - "src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c", - "src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h", - "src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c", - "src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h", - "src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c", - "src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h", - "src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c", - "src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h", - "src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c", - "src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h", - "src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c", - "src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h", - "src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c", - "src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h", - "src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c", - "src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h", - "src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c", - "src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h", - "src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c", - "src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h", - "src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c", - "src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h", - "src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c", - "src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h", - "src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c", - "src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h", - "src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c", - "src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h", - "src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c", - "src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h", - "src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c", - "src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h", - "src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c", - "src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h", - "src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c", - "src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h", - "src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c", - "src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h", - "src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c", - "src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h", - "src/core/ext/upb-generated/envoy/type/v3/http.upb.c", - "src/core/ext/upb-generated/envoy/type/v3/http.upb.h", - "src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c", - "src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h", - "src/core/ext/upb-generated/envoy/type/v3/percent.upb.c", - "src/core/ext/upb-generated/envoy/type/v3/percent.upb.h", - "src/core/ext/upb-generated/envoy/type/v3/range.upb.c", - "src/core/ext/upb-generated/envoy/type/v3/range.upb.h", - "src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c", - "src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h", - "src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c", - "src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h", - "src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c", - "src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h", - "src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c", - "src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h", - "src/core/ext/upb-generated/google/api/annotations.upb.c", - "src/core/ext/upb-generated/google/api/annotations.upb.h", - "src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c", - "src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h", - "src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c", - "src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h", - "src/core/ext/upb-generated/google/api/http.upb.c", - "src/core/ext/upb-generated/google/api/http.upb.h", - "src/core/ext/upb-generated/google/api/httpbody.upb.c", - "src/core/ext/upb-generated/google/api/httpbody.upb.h", - "src/core/ext/upb-generated/google/protobuf/any.upb.c", - "src/core/ext/upb-generated/google/protobuf/any.upb.h", - "src/core/ext/upb-generated/google/protobuf/descriptor.upb.c", - "src/core/ext/upb-generated/google/protobuf/descriptor.upb.h", - "src/core/ext/upb-generated/google/protobuf/duration.upb.c", - "src/core/ext/upb-generated/google/protobuf/duration.upb.h", - "src/core/ext/upb-generated/google/protobuf/empty.upb.c", - "src/core/ext/upb-generated/google/protobuf/empty.upb.h", - "src/core/ext/upb-generated/google/protobuf/struct.upb.c", - "src/core/ext/upb-generated/google/protobuf/struct.upb.h", - "src/core/ext/upb-generated/google/protobuf/timestamp.upb.c", - "src/core/ext/upb-generated/google/protobuf/timestamp.upb.h", - "src/core/ext/upb-generated/google/protobuf/wrappers.upb.c", - "src/core/ext/upb-generated/google/protobuf/wrappers.upb.h", - "src/core/ext/upb-generated/google/rpc/status.upb.c", - "src/core/ext/upb-generated/google/rpc/status.upb.h", - "src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c", - "src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h", - "src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c", - "src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h", - "src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c", - "src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h", - "src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c", - "src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h", - "src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c", - "src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h", - "src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c", - "src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h", - "src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c", - "src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h", - "src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c", - "src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h", - "src/core/ext/upb-generated/udpa/annotations/migrate.upb.c", - "src/core/ext/upb-generated/udpa/annotations/migrate.upb.h", - "src/core/ext/upb-generated/udpa/annotations/security.upb.c", - "src/core/ext/upb-generated/udpa/annotations/security.upb.h", - "src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c", - "src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h", - "src/core/ext/upb-generated/udpa/annotations/status.upb.c", - "src/core/ext/upb-generated/udpa/annotations/status.upb.h", - "src/core/ext/upb-generated/udpa/annotations/versioning.upb.c", - "src/core/ext/upb-generated/udpa/annotations/versioning.upb.h", - "src/core/ext/upb-generated/validate/validate.upb.c", - "src/core/ext/upb-generated/validate/validate.upb.h", - "src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c", - "src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h", - "src/core/ext/upb-generated/xds/annotations/v3/security.upb.c", - "src/core/ext/upb-generated/xds/annotations/v3/security.upb.h", - "src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c", - "src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h", - "src/core/ext/upb-generated/xds/annotations/v3/status.upb.c", - "src/core/ext/upb-generated/xds/annotations/v3/status.upb.h", - "src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c", - "src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h", - "src/core/ext/upb-generated/xds/core/v3/authority.upb.c", - "src/core/ext/upb-generated/xds/core/v3/authority.upb.h", - "src/core/ext/upb-generated/xds/core/v3/cidr.upb.c", - "src/core/ext/upb-generated/xds/core/v3/cidr.upb.h", - "src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c", - "src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h", - "src/core/ext/upb-generated/xds/core/v3/context_params.upb.c", - "src/core/ext/upb-generated/xds/core/v3/context_params.upb.h", - "src/core/ext/upb-generated/xds/core/v3/extension.upb.c", - "src/core/ext/upb-generated/xds/core/v3/extension.upb.h", - "src/core/ext/upb-generated/xds/core/v3/resource.upb.c", - "src/core/ext/upb-generated/xds/core/v3/resource.upb.h", - "src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c", - "src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h", - "src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c", - "src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h", - "src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c", - "src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h", - "src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c", - "src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h", - "src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c", - "src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h", - "src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c", - "src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h", - "src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c", - "src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h", - "src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c", - "src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h", - "src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c", - "src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h", - "src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c", - "src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h", - "src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c", - "src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h", - "src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c", - "src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h", - "src/core/ext/upb-generated/xds/type/v3/cel.upb.c", - "src/core/ext/upb-generated/xds/type/v3/cel.upb.h", - "src/core/ext/upb-generated/xds/type/v3/range.upb.c", - "src/core/ext/upb-generated/xds/type/v3/range.upb.h", - "src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c", - "src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h", - "src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h", - "src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c", - "src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h", - "src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c", - "src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h", - "src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c", - "src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h", - "src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c", - "src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h", - "src/core/ext/upbdefs-generated/google/api/http.upbdefs.c", - "src/core/ext/upbdefs-generated/google/api/http.upbdefs.h", - "src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c", - "src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h", - "src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c", - "src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h", - "src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c", - "src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h", - "src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c", - "src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h", - "src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c", - "src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h", - "src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c", - "src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h", - "src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c", - "src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h", - "src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c", - "src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h", - "src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c", - "src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h", - "src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c", - "src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h", - "src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c", - "src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h", - "src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c", - "src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h", - "src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c", - "src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h", - "src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c", - "src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h", - "src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c", - "src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h", - "src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c", - "src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h", - "src/core/ext/upbdefs-generated/validate/validate.upbdefs.c", - "src/core/ext/upbdefs-generated/validate/validate.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h", - "src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c", - "src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h", + "src/core/ext/transport/inproc/legacy_inproc_transport.cc", + "src/core/ext/transport/inproc/legacy_inproc_transport.h", + "src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h", + "src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c", + "src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h", + "src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h", + "src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c", + "src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h", + "src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h", + "src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c", + "src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h", + "src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h", + "src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c", + "src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h", + "src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h", + "src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c", + "src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h", + "src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h", + "src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c", + "src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h", + "src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h", + "src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c", + "src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h", + "src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h", + "src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c", + "src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h", + "src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h", + "src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c", + "src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h", + "src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h", + "src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c", + "src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h", + "src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h", + "src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c", + "src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h", + "src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h", + "src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c", + "src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h", + "src/core/ext/upb-gen/envoy/annotations/resource.upb.h", + "src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c", + "src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h", + "src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h", + "src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h", + "src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h", + "src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h", + "src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h", + "src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h", + "src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h", + "src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h", + "src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h", + "src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h", + "src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h", + "src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h", + "src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h", + "src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h", + "src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h", + "src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h", + "src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h", + "src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h", + "src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h", + "src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h", + "src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h", + "src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h", + "src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h", + "src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h", + "src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c", + "src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h", + "src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h", + "src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c", + "src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h", + "src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h", + "src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h", + "src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h", + "src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h", + "src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h", + "src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h", + "src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h", + "src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h", + "src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h", + "src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c", + "src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h", + "src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h", + "src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c", + "src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h", + "src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h", + "src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c", + "src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h", + "src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h", + "src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c", + "src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h", + "src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h", + "src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c", + "src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h", + "src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h", + "src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h", + "src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h", + "src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h", + "src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h", + "src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/v3/http.upb.h", + "src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h", + "src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/v3/percent.upb.h", + "src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/v3/range.upb.h", + "src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h", + "src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h", + "src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h", + "src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h", + "src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h", + "src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c", + "src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h", + "src/core/ext/upb-gen/google/api/annotations.upb.h", + "src/core/ext/upb-gen/google/api/annotations.upb_minitable.c", + "src/core/ext/upb-gen/google/api/annotations.upb_minitable.h", + "src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h", + "src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c", + "src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h", + "src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h", + "src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c", + "src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h", + "src/core/ext/upb-gen/google/api/http.upb.h", + "src/core/ext/upb-gen/google/api/http.upb_minitable.c", + "src/core/ext/upb-gen/google/api/http.upb_minitable.h", + "src/core/ext/upb-gen/google/api/httpbody.upb.h", + "src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c", + "src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h", + "src/core/ext/upb-gen/google/protobuf/any.upb.h", + "src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c", + "src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h", + "src/core/ext/upb-gen/google/protobuf/descriptor.upb.h", + "src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c", + "src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h", + "src/core/ext/upb-gen/google/protobuf/duration.upb.h", + "src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c", + "src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h", + "src/core/ext/upb-gen/google/protobuf/empty.upb.h", + "src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c", + "src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h", + "src/core/ext/upb-gen/google/protobuf/struct.upb.h", + "src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c", + "src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h", + "src/core/ext/upb-gen/google/protobuf/timestamp.upb.h", + "src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c", + "src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h", + "src/core/ext/upb-gen/google/protobuf/wrappers.upb.h", + "src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c", + "src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h", + "src/core/ext/upb-gen/google/rpc/status.upb.h", + "src/core/ext/upb-gen/google/rpc/status.upb_minitable.c", + "src/core/ext/upb-gen/google/rpc/status.upb_minitable.h", + "src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h", + "src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c", + "src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h", + "src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h", + "src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c", + "src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h", + "src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h", + "src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c", + "src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h", + "src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h", + "src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c", + "src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h", + "src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h", + "src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c", + "src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h", + "src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h", + "src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c", + "src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h", + "src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h", + "src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c", + "src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h", + "src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h", + "src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c", + "src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h", + "src/core/ext/upb-gen/udpa/annotations/migrate.upb.h", + "src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c", + "src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h", + "src/core/ext/upb-gen/udpa/annotations/security.upb.h", + "src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c", + "src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h", + "src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h", + "src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c", + "src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h", + "src/core/ext/upb-gen/udpa/annotations/status.upb.h", + "src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c", + "src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h", + "src/core/ext/upb-gen/udpa/annotations/versioning.upb.h", + "src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c", + "src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h", + "src/core/ext/upb-gen/validate/validate.upb.h", + "src/core/ext/upb-gen/validate/validate.upb_minitable.c", + "src/core/ext/upb-gen/validate/validate.upb_minitable.h", + "src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h", + "src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c", + "src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h", + "src/core/ext/upb-gen/xds/annotations/v3/security.upb.h", + "src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c", + "src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h", + "src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h", + "src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c", + "src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h", + "src/core/ext/upb-gen/xds/annotations/v3/status.upb.h", + "src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c", + "src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h", + "src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h", + "src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c", + "src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h", + "src/core/ext/upb-gen/xds/core/v3/authority.upb.h", + "src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c", + "src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h", + "src/core/ext/upb-gen/xds/core/v3/cidr.upb.h", + "src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c", + "src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h", + "src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h", + "src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c", + "src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h", + "src/core/ext/upb-gen/xds/core/v3/context_params.upb.h", + "src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c", + "src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h", + "src/core/ext/upb-gen/xds/core/v3/extension.upb.h", + "src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c", + "src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h", + "src/core/ext/upb-gen/xds/core/v3/resource.upb.h", + "src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c", + "src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h", + "src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h", + "src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c", + "src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h", + "src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h", + "src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c", + "src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h", + "src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h", + "src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c", + "src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h", + "src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h", + "src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c", + "src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c", + "src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c", + "src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c", + "src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c", + "src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c", + "src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c", + "src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c", + "src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h", + "src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c", + "src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h", + "src/core/ext/upb-gen/xds/type/v3/cel.upb.h", + "src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c", + "src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h", + "src/core/ext/upb-gen/xds/type/v3/range.upb.h", + "src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c", + "src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h", + "src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h", + "src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c", + "src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h", + "src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h", + "src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c", + "src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h", + "src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c", + "src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h", + "src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c", + "src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h", + "src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c", + "src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h", + "src/core/ext/upbdefs-gen/google/api/http.upbdefs.c", + "src/core/ext/upbdefs-gen/google/api/http.upbdefs.h", + "src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c", + "src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h", + "src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c", + "src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h", + "src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c", + "src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h", + "src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c", + "src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h", + "src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c", + "src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h", + "src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c", + "src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h", + "src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c", + "src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h", + "src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c", + "src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h", + "src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c", + "src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h", + "src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c", + "src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h", + "src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c", + "src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h", + "src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c", + "src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h", + "src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c", + "src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h", + "src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c", + "src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h", + "src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c", + "src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h", + "src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c", + "src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h", + "src/core/ext/upbdefs-gen/validate/validate.upbdefs.c", + "src/core/ext/upbdefs-gen/validate/validate.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h", + "src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c", + "src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h", "src/core/ext/xds/certificate_provider_store.cc", "src/core/ext/xds/certificate_provider_store.h", "src/core/ext/xds/file_watcher_certificate_provider_factory.cc", @@ -1028,6 +1144,8 @@ let package = Package( "src/core/lib/channel/channel_stack_builder.h", "src/core/lib/channel/channel_stack_builder_impl.cc", "src/core/lib/channel/channel_stack_builder_impl.h", + "src/core/lib/channel/channel_stack_trace.cc", + "src/core/lib/channel/channel_stack_trace.h", "src/core/lib/channel/channel_trace.cc", "src/core/lib/channel/channel_trace.h", "src/core/lib/channel/channelz.cc", @@ -1042,6 +1160,7 @@ let package = Package( "src/core/lib/channel/server_call_tracer_filter.cc", "src/core/lib/channel/status_util.cc", "src/core/lib/channel/status_util.h", + "src/core/lib/channel/tcp_tracer.h", "src/core/lib/compression/compression.cc", "src/core/lib/compression/compression_internal.cc", "src/core/lib/compression/compression_internal.h", @@ -1081,11 +1200,12 @@ let package = Package( "src/core/lib/event_engine/default_event_engine_factory.cc", "src/core/lib/event_engine/default_event_engine_factory.h", "src/core/lib/event_engine/event_engine.cc", + "src/core/lib/event_engine/extensions/can_track_errors.h", + "src/core/lib/event_engine/extensions/supports_fd.h", "src/core/lib/event_engine/forkable.cc", "src/core/lib/event_engine/forkable.h", "src/core/lib/event_engine/grpc_polled_fd.h", "src/core/lib/event_engine/handle_containers.h", - "src/core/lib/event_engine/memory_allocator.cc", "src/core/lib/event_engine/memory_allocator_factory.h", "src/core/lib/event_engine/nameser.h", "src/core/lib/event_engine/poller.h", @@ -1102,6 +1222,8 @@ let package = Package( "src/core/lib/event_engine/posix_engine/internal_errqueue.h", "src/core/lib/event_engine/posix_engine/lockfree_event.cc", "src/core/lib/event_engine/posix_engine/lockfree_event.h", + "src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc", + "src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h", "src/core/lib/event_engine/posix_engine/posix_endpoint.cc", "src/core/lib/event_engine/posix_engine/posix_endpoint.h", "src/core/lib/event_engine/posix_engine/posix_engine.cc", @@ -1128,6 +1250,8 @@ let package = Package( "src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h", "src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc", "src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h", + "src/core/lib/event_engine/query_extensions.h", + "src/core/lib/event_engine/ref_counted_dns_resolver_interface.h", "src/core/lib/event_engine/resolved_address.cc", "src/core/lib/event_engine/resolved_address_internal.h", "src/core/lib/event_engine/shim.cc", @@ -1152,8 +1276,12 @@ let package = Package( "src/core/lib/event_engine/trace.h", "src/core/lib/event_engine/utils.cc", "src/core/lib/event_engine/utils.h", + "src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc", + "src/core/lib/event_engine/windows/grpc_polled_fd_windows.h", "src/core/lib/event_engine/windows/iocp.cc", "src/core/lib/event_engine/windows/iocp.h", + "src/core/lib/event_engine/windows/native_windows_dns_resolver.cc", + "src/core/lib/event_engine/windows/native_windows_dns_resolver.h", "src/core/lib/event_engine/windows/win_socket.cc", "src/core/lib/event_engine/windows/win_socket.h", "src/core/lib/event_engine/windows/windows_endpoint.cc", @@ -1202,7 +1330,6 @@ let package = Package( "src/core/lib/gpr/windows/sync.cc", "src/core/lib/gpr/windows/time.cc", "src/core/lib/gpr/windows/tmpfile.cc", - "src/core/lib/gpr/wrap_memcpy.cc", "src/core/lib/gprpp/atomic_utils.h", "src/core/lib/gprpp/bitset.h", "src/core/lib/gprpp/chunked_vector.h", @@ -1211,6 +1338,8 @@ let package = Package( "src/core/lib/gprpp/crash.cc", "src/core/lib/gprpp/crash.h", "src/core/lib/gprpp/debug_location.h", + "src/core/lib/gprpp/directory_reader.h", + "src/core/lib/gprpp/down_cast.h", "src/core/lib/gprpp/dual_ref_counted.h", "src/core/lib/gprpp/env.h", "src/core/lib/gprpp/examine_stack.cc", @@ -1235,6 +1364,7 @@ let package = Package( "src/core/lib/gprpp/packed_table.h", "src/core/lib/gprpp/per_cpu.cc", "src/core/lib/gprpp/per_cpu.h", + "src/core/lib/gprpp/posix/directory_reader.cc", "src/core/lib/gprpp/posix/env.cc", "src/core/lib/gprpp/posix/stat.cc", "src/core/lib/gprpp/posix/thd.cc", @@ -1264,11 +1394,13 @@ let package = Package( "src/core/lib/gprpp/unique_type_name.h", "src/core/lib/gprpp/validation_errors.cc", "src/core/lib/gprpp/validation_errors.h", + "src/core/lib/gprpp/windows/directory_reader.cc", "src/core/lib/gprpp/windows/env.cc", "src/core/lib/gprpp/windows/stat.cc", "src/core/lib/gprpp/windows/thd.cc", "src/core/lib/gprpp/work_serializer.cc", "src/core/lib/gprpp/work_serializer.h", + "src/core/lib/gprpp/xxhash_inline.h", "src/core/lib/handshaker/proxy_mapper.h", "src/core/lib/handshaker/proxy_mapper_registry.cc", "src/core/lib/handshaker/proxy_mapper_registry.h", @@ -1344,8 +1476,6 @@ let package = Package( "src/core/lib/iomgr/iomgr_posix.cc", "src/core/lib/iomgr/iomgr_posix_cfstream.cc", "src/core/lib/iomgr/iomgr_windows.cc", - "src/core/lib/iomgr/load_file.cc", - "src/core/lib/iomgr/load_file.h", "src/core/lib/iomgr/lockfree_event.cc", "src/core/lib/iomgr/lockfree_event.h", "src/core/lib/iomgr/nameser.h", @@ -1435,21 +1565,16 @@ let package = Package( "src/core/lib/json/json_util.h", "src/core/lib/json/json_writer.cc", "src/core/lib/json/json_writer.h", - "src/core/lib/load_balancing/delegating_helper.h", - "src/core/lib/load_balancing/lb_policy.cc", - "src/core/lib/load_balancing/lb_policy.h", - "src/core/lib/load_balancing/lb_policy_factory.h", - "src/core/lib/load_balancing/lb_policy_registry.cc", - "src/core/lib/load_balancing/lb_policy_registry.h", - "src/core/lib/load_balancing/subchannel_interface.h", "src/core/lib/matchers/matchers.cc", "src/core/lib/matchers/matchers.h", "src/core/lib/promise/activity.cc", "src/core/lib/promise/activity.h", + "src/core/lib/promise/all_ok.h", "src/core/lib/promise/arena_promise.h", "src/core/lib/promise/cancel_callback.h", "src/core/lib/promise/context.h", "src/core/lib/promise/detail/basic_seq.h", + "src/core/lib/promise/detail/join_state.h", "src/core/lib/promise/detail/promise_factory.h", "src/core/lib/promise/detail/promise_like.h", "src/core/lib/promise/detail/seq_state.h", @@ -1471,16 +1596,11 @@ let package = Package( "src/core/lib/promise/seq.h", "src/core/lib/promise/sleep.cc", "src/core/lib/promise/sleep.h", + "src/core/lib/promise/status_flag.h", "src/core/lib/promise/trace.cc", "src/core/lib/promise/trace.h", + "src/core/lib/promise/try_join.h", "src/core/lib/promise/try_seq.h", - "src/core/lib/resolver/resolver.cc", - "src/core/lib/resolver/resolver.h", - "src/core/lib/resolver/resolver_factory.h", - "src/core/lib/resolver/resolver_registry.cc", - "src/core/lib/resolver/resolver_registry.h", - "src/core/lib/resolver/server_address.cc", - "src/core/lib/resolver/server_address.h", "src/core/lib/resource_quota/api.cc", "src/core/lib/resource_quota/api.h", "src/core/lib/resource_quota/arena.cc", @@ -1582,6 +1702,8 @@ let package = Package( "src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h", "src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc", "src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h", + "src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc", + "src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h", "src/core/lib/security/credentials/tls/tls_credentials.cc", "src/core/lib/security/credentials/tls/tls_credentials.h", "src/core/lib/security/credentials/tls/tls_utils.cc", @@ -1598,6 +1720,7 @@ let package = Package( "src/core/lib/security/security_connector/load_system_roots_fallback.cc", "src/core/lib/security/security_connector/load_system_roots_supported.cc", "src/core/lib/security/security_connector/load_system_roots_supported.h", + "src/core/lib/security/security_connector/load_system_roots_windows.cc", "src/core/lib/security/security_connector/local/local_security_connector.cc", "src/core/lib/security/security_connector/local/local_security_connector.h", "src/core/lib/security/security_connector/security_connector.cc", @@ -1610,6 +1733,7 @@ let package = Package( "src/core/lib/security/security_connector/tls/tls_security_connector.h", "src/core/lib/security/transport/auth_filters.h", "src/core/lib/security/transport/client_auth_filter.cc", + "src/core/lib/security/transport/legacy_server_auth_filter.cc", "src/core/lib/security/transport/secure_endpoint.cc", "src/core/lib/security/transport/secure_endpoint.h", "src/core/lib/security/transport/security_handshaker.cc", @@ -1619,12 +1743,6 @@ let package = Package( "src/core/lib/security/transport/tsi_error.h", "src/core/lib/security/util/json_util.cc", "src/core/lib/security/util/json_util.h", - "src/core/lib/service_config/service_config.h", - "src/core/lib/service_config/service_config_call_data.h", - "src/core/lib/service_config/service_config_impl.cc", - "src/core/lib/service_config/service_config_impl.h", - "src/core/lib/service_config/service_config_parser.cc", - "src/core/lib/service_config/service_config_parser.h", "src/core/lib/slice/b64.cc", "src/core/lib/slice/b64.h", "src/core/lib/slice/percent_encoding.cc", @@ -1649,7 +1767,6 @@ let package = Package( "src/core/lib/surface/call_details.cc", "src/core/lib/surface/call_log_batch.cc", "src/core/lib/surface/call_test_only.h", - "src/core/lib/surface/call_trace.cc", "src/core/lib/surface/call_trace.h", "src/core/lib/surface/channel.cc", "src/core/lib/surface/channel.h", @@ -1676,10 +1793,22 @@ let package = Package( "src/core/lib/surface/validate_metadata.cc", "src/core/lib/surface/validate_metadata.h", "src/core/lib/surface/version.cc", + "src/core/lib/surface/wait_for_cq_end_op.cc", + "src/core/lib/surface/wait_for_cq_end_op.h", "src/core/lib/transport/batch_builder.cc", "src/core/lib/transport/batch_builder.h", "src/core/lib/transport/bdp_estimator.cc", "src/core/lib/transport/bdp_estimator.h", + "src/core/lib/transport/call_factory.cc", + "src/core/lib/transport/call_factory.h", + "src/core/lib/transport/call_filters.cc", + "src/core/lib/transport/call_filters.h", + "src/core/lib/transport/call_final_info.cc", + "src/core/lib/transport/call_final_info.h", + "src/core/lib/transport/call_size_estimator.cc", + "src/core/lib/transport/call_size_estimator.h", + "src/core/lib/transport/call_spine.cc", + "src/core/lib/transport/call_spine.h", "src/core/lib/transport/connectivity_state.cc", "src/core/lib/transport/connectivity_state.h", "src/core/lib/transport/custom_metadata.h", @@ -1693,13 +1822,15 @@ let package = Package( "src/core/lib/transport/http2_errors.h", "src/core/lib/transport/http_connect_handshaker.cc", "src/core/lib/transport/http_connect_handshaker.h", + "src/core/lib/transport/message.cc", + "src/core/lib/transport/message.h", + "src/core/lib/transport/metadata.cc", + "src/core/lib/transport/metadata.h", "src/core/lib/transport/metadata_batch.cc", "src/core/lib/transport/metadata_batch.h", "src/core/lib/transport/metadata_compression_traits.h", "src/core/lib/transport/parsed_metadata.cc", "src/core/lib/transport/parsed_metadata.h", - "src/core/lib/transport/pid_controller.cc", - "src/core/lib/transport/pid_controller.h", "src/core/lib/transport/simple_slice_based_metadata.h", "src/core/lib/transport/status_conversion.cc", "src/core/lib/transport/status_conversion.h", @@ -1710,12 +1841,109 @@ let package = Package( "src/core/lib/transport/transport.cc", "src/core/lib/transport/transport.h", "src/core/lib/transport/transport_fwd.h", - "src/core/lib/transport/transport_impl.h", "src/core/lib/transport/transport_op_string.cc", "src/core/lib/uri/uri_parser.cc", "src/core/lib/uri/uri_parser.h", + "src/core/load_balancing/address_filtering.cc", + "src/core/load_balancing/address_filtering.h", + "src/core/load_balancing/backend_metric_data.h", + "src/core/load_balancing/backend_metric_parser.cc", + "src/core/load_balancing/backend_metric_parser.h", + "src/core/load_balancing/child_policy_handler.cc", + "src/core/load_balancing/child_policy_handler.h", + "src/core/load_balancing/delegating_helper.h", + "src/core/load_balancing/endpoint_list.cc", + "src/core/load_balancing/endpoint_list.h", + "src/core/load_balancing/grpclb/client_load_reporting_filter.cc", + "src/core/load_balancing/grpclb/client_load_reporting_filter.h", + "src/core/load_balancing/grpclb/grpclb.cc", + "src/core/load_balancing/grpclb/grpclb.h", + "src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc", + "src/core/load_balancing/grpclb/grpclb_balancer_addresses.h", + "src/core/load_balancing/grpclb/grpclb_client_stats.cc", + "src/core/load_balancing/grpclb/grpclb_client_stats.h", + "src/core/load_balancing/grpclb/load_balancer_api.cc", + "src/core/load_balancing/grpclb/load_balancer_api.h", + "src/core/load_balancing/health_check_client.cc", + "src/core/load_balancing/health_check_client.h", + "src/core/load_balancing/health_check_client_internal.h", + "src/core/load_balancing/lb_policy.cc", + "src/core/load_balancing/lb_policy.h", + "src/core/load_balancing/lb_policy_factory.h", + "src/core/load_balancing/lb_policy_registry.cc", + "src/core/load_balancing/lb_policy_registry.h", + "src/core/load_balancing/oob_backend_metric.cc", + "src/core/load_balancing/oob_backend_metric.h", + "src/core/load_balancing/oob_backend_metric_internal.h", + "src/core/load_balancing/outlier_detection/outlier_detection.cc", + "src/core/load_balancing/outlier_detection/outlier_detection.h", + "src/core/load_balancing/pick_first/pick_first.cc", + "src/core/load_balancing/pick_first/pick_first.h", + "src/core/load_balancing/priority/priority.cc", + "src/core/load_balancing/ring_hash/ring_hash.cc", + "src/core/load_balancing/ring_hash/ring_hash.h", + "src/core/load_balancing/rls/rls.cc", + "src/core/load_balancing/round_robin/round_robin.cc", + "src/core/load_balancing/subchannel_interface.h", + "src/core/load_balancing/subchannel_list.h", + "src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc", + "src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h", + "src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc", + "src/core/load_balancing/weighted_target/weighted_target.cc", + "src/core/load_balancing/xds/cds.cc", + "src/core/load_balancing/xds/xds_channel_args.h", + "src/core/load_balancing/xds/xds_cluster_impl.cc", + "src/core/load_balancing/xds/xds_cluster_manager.cc", + "src/core/load_balancing/xds/xds_override_host.cc", + "src/core/load_balancing/xds/xds_override_host.h", + "src/core/load_balancing/xds/xds_wrr_locality.cc", "src/core/plugin_registry/grpc_plugin_registry.cc", "src/core/plugin_registry/grpc_plugin_registry_extra.cc", + "src/core/resolver/binder/binder_resolver.cc", + "src/core/resolver/dns/c_ares/dns_resolver_ares.cc", + "src/core/resolver/dns/c_ares/dns_resolver_ares.h", + "src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h", + "src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc", + "src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc", + "src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc", + "src/core/resolver/dns/c_ares/grpc_ares_wrapper.h", + "src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc", + "src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc", + "src/core/resolver/dns/dns_resolver_plugin.cc", + "src/core/resolver/dns/dns_resolver_plugin.h", + "src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc", + "src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h", + "src/core/resolver/dns/event_engine/service_config_helper.cc", + "src/core/resolver/dns/event_engine/service_config_helper.h", + "src/core/resolver/dns/native/dns_resolver.cc", + "src/core/resolver/dns/native/dns_resolver.h", + "src/core/resolver/endpoint_addresses.cc", + "src/core/resolver/endpoint_addresses.h", + "src/core/resolver/fake/fake_resolver.cc", + "src/core/resolver/fake/fake_resolver.h", + "src/core/resolver/google_c2p/google_c2p_resolver.cc", + "src/core/resolver/polling_resolver.cc", + "src/core/resolver/polling_resolver.h", + "src/core/resolver/resolver.cc", + "src/core/resolver/resolver.h", + "src/core/resolver/resolver_factory.h", + "src/core/resolver/resolver_registry.cc", + "src/core/resolver/resolver_registry.h", + "src/core/resolver/server_address.h", + "src/core/resolver/sockaddr/sockaddr_resolver.cc", + "src/core/resolver/xds/xds_dependency_manager.cc", + "src/core/resolver/xds/xds_dependency_manager.h", + "src/core/resolver/xds/xds_resolver.cc", + "src/core/resolver/xds/xds_resolver_attributes.h", + "src/core/resolver/xds/xds_resolver_trace.cc", + "src/core/resolver/xds/xds_resolver_trace.h", + "src/core/service_config/service_config.h", + "src/core/service_config/service_config_call_data.h", + "src/core/service_config/service_config_channel_arg_filter.cc", + "src/core/service_config/service_config_impl.cc", + "src/core/service_config/service_config_impl.h", + "src/core/service_config/service_config_parser.cc", + "src/core/service_config/service_config_parser.h", "src/core/tsi/alts/crypt/aes_gcm.cc", "src/core/tsi/alts/crypt/gsec.cc", "src/core/tsi/alts/crypt/gsec.h", @@ -1817,29 +2045,12 @@ let package = Package( "third_party/re2/util/strutil.h", "third_party/re2/util/utf.h", "third_party/re2/util/util.h", - "third_party/upb/upb/alloc.h", - "third_party/upb/upb/arena.h", - "third_party/upb/upb/array.h", "third_party/upb/upb/base/descriptor_constants.h", - "third_party/upb/upb/base/log2.h", + "third_party/upb/upb/base/internal/log2.h", "third_party/upb/upb/base/status.c", "third_party/upb/upb/base/status.h", + "third_party/upb/upb/base/status.hpp", "third_party/upb/upb/base/string_view.h", - "third_party/upb/upb/collections/array.c", - "third_party/upb/upb/collections/array.h", - "third_party/upb/upb/collections/array_internal.h", - "third_party/upb/upb/collections/map.c", - "third_party/upb/upb/collections/map.h", - "third_party/upb/upb/collections/map_gencode_util.h", - "third_party/upb/upb/collections/map_internal.h", - "third_party/upb/upb/collections/map_sorter.c", - "third_party/upb/upb/collections/map_sorter_internal.h", - "third_party/upb/upb/collections/message_value.h", - "third_party/upb/upb/decode.h", - "third_party/upb/upb/def.h", - "third_party/upb/upb/def.hpp", - "third_party/upb/upb/encode.h", - "third_party/upb/upb/extension_registry.h", "third_party/upb/upb/generated_code_support.h", "third_party/upb/upb/hash/common.c", "third_party/upb/upb/hash/common.h", @@ -1857,21 +2068,33 @@ let package = Package( "third_party/upb/upb/lex/strtod.h", "third_party/upb/upb/lex/unicode.c", "third_party/upb/upb/lex/unicode.h", - "third_party/upb/upb/map.h", "third_party/upb/upb/mem/alloc.c", "third_party/upb/upb/mem/alloc.h", "third_party/upb/upb/mem/arena.c", "third_party/upb/upb/mem/arena.h", - "third_party/upb/upb/mem/arena_internal.h", + "third_party/upb/upb/mem/arena.hpp", + "third_party/upb/upb/mem/internal/arena.h", "third_party/upb/upb/message/accessors.c", "third_party/upb/upb/message/accessors.h", - "third_party/upb/upb/message/accessors_internal.h", - "third_party/upb/upb/message/extension_internal.h", - "third_party/upb/upb/message/internal.h", + "third_party/upb/upb/message/array.c", + "third_party/upb/upb/message/array.h", + "third_party/upb/upb/message/internal/accessors.h", + "third_party/upb/upb/message/internal/array.h", + "third_party/upb/upb/message/internal/extension.h", + "third_party/upb/upb/message/internal/map.h", "third_party/upb/upb/message/internal/map_entry.h", + "third_party/upb/upb/message/internal/map_sorter.h", + "third_party/upb/upb/message/internal/message.h", + "third_party/upb/upb/message/internal/types.h", + "third_party/upb/upb/message/map.c", + "third_party/upb/upb/message/map.h", + "third_party/upb/upb/message/map_gencode_util.h", + "third_party/upb/upb/message/map_sorter.c", "third_party/upb/upb/message/message.c", "third_party/upb/upb/message/message.h", "third_party/upb/upb/message/tagged_ptr.h", + "third_party/upb/upb/message/types.h", + "third_party/upb/upb/message/value.h", "third_party/upb/upb/mini_descriptor/build_enum.c", "third_party/upb/upb/mini_descriptor/build_enum.h", "third_party/upb/upb/mini_descriptor/decode.c", @@ -1902,82 +2125,75 @@ let package = Package( "third_party/upb/upb/mini_table/message.c", "third_party/upb/upb/mini_table/message.h", "third_party/upb/upb/mini_table/sub.h", - "third_party/upb/upb/msg.h", "third_party/upb/upb/port/atomic.h", "third_party/upb/upb/port/def.inc", "third_party/upb/upb/port/undef.inc", "third_party/upb/upb/port/vsnprintf_compat.h", - "third_party/upb/upb/reflection.h", - "third_party/upb/upb/reflection.hpp", "third_party/upb/upb/reflection/common.h", "third_party/upb/upb/reflection/def.h", "third_party/upb/upb/reflection/def.hpp", - "third_party/upb/upb/reflection/def_builder.c", - "third_party/upb/upb/reflection/def_builder_internal.h", "third_party/upb/upb/reflection/def_pool.c", "third_party/upb/upb/reflection/def_pool.h", - "third_party/upb/upb/reflection/def_pool_internal.h", "third_party/upb/upb/reflection/def_type.c", "third_party/upb/upb/reflection/def_type.h", "third_party/upb/upb/reflection/desc_state.c", - "third_party/upb/upb/reflection/desc_state_internal.h", "third_party/upb/upb/reflection/enum_def.c", "third_party/upb/upb/reflection/enum_def.h", - "third_party/upb/upb/reflection/enum_def_internal.h", "third_party/upb/upb/reflection/enum_reserved_range.c", "third_party/upb/upb/reflection/enum_reserved_range.h", - "third_party/upb/upb/reflection/enum_reserved_range_internal.h", "third_party/upb/upb/reflection/enum_value_def.c", "third_party/upb/upb/reflection/enum_value_def.h", - "third_party/upb/upb/reflection/enum_value_def_internal.h", "third_party/upb/upb/reflection/extension_range.c", "third_party/upb/upb/reflection/extension_range.h", - "third_party/upb/upb/reflection/extension_range_internal.h", "third_party/upb/upb/reflection/field_def.c", "third_party/upb/upb/reflection/field_def.h", - "third_party/upb/upb/reflection/field_def_internal.h", "third_party/upb/upb/reflection/file_def.c", "third_party/upb/upb/reflection/file_def.h", - "third_party/upb/upb/reflection/file_def_internal.h", + "third_party/upb/upb/reflection/internal/def_builder.c", + "third_party/upb/upb/reflection/internal/def_builder.h", + "third_party/upb/upb/reflection/internal/def_pool.h", + "third_party/upb/upb/reflection/internal/desc_state.h", + "third_party/upb/upb/reflection/internal/enum_def.h", + "third_party/upb/upb/reflection/internal/enum_reserved_range.h", + "third_party/upb/upb/reflection/internal/enum_value_def.h", + "third_party/upb/upb/reflection/internal/extension_range.h", + "third_party/upb/upb/reflection/internal/field_def.h", + "third_party/upb/upb/reflection/internal/file_def.h", + "third_party/upb/upb/reflection/internal/message_def.h", + "third_party/upb/upb/reflection/internal/message_reserved_range.h", + "third_party/upb/upb/reflection/internal/method_def.h", + "third_party/upb/upb/reflection/internal/oneof_def.h", + "third_party/upb/upb/reflection/internal/service_def.h", + "third_party/upb/upb/reflection/internal/strdup2.c", + "third_party/upb/upb/reflection/internal/strdup2.h", "third_party/upb/upb/reflection/message.c", "third_party/upb/upb/reflection/message.h", "third_party/upb/upb/reflection/message.hpp", "third_party/upb/upb/reflection/message_def.c", "third_party/upb/upb/reflection/message_def.h", - "third_party/upb/upb/reflection/message_def_internal.h", "third_party/upb/upb/reflection/message_reserved_range.c", "third_party/upb/upb/reflection/message_reserved_range.h", - "third_party/upb/upb/reflection/message_reserved_range_internal.h", "third_party/upb/upb/reflection/method_def.c", "third_party/upb/upb/reflection/method_def.h", - "third_party/upb/upb/reflection/method_def_internal.h", "third_party/upb/upb/reflection/oneof_def.c", "third_party/upb/upb/reflection/oneof_def.h", - "third_party/upb/upb/reflection/oneof_def_internal.h", "third_party/upb/upb/reflection/service_def.c", "third_party/upb/upb/reflection/service_def.h", - "third_party/upb/upb/reflection/service_def_internal.h", - "third_party/upb/upb/status.h", - "third_party/upb/upb/string_view.h", "third_party/upb/upb/text/encode.c", "third_party/upb/upb/text/encode.h", - "third_party/upb/upb/text_encode.h", - "third_party/upb/upb/upb.h", - "third_party/upb/upb/upb.hpp", - "third_party/upb/upb/wire/common.h", - "third_party/upb/upb/wire/common_internal.h", "third_party/upb/upb/wire/decode.c", "third_party/upb/upb/wire/decode.h", "third_party/upb/upb/wire/decode_fast.c", "third_party/upb/upb/wire/decode_fast.h", - "third_party/upb/upb/wire/decode_internal.h", "third_party/upb/upb/wire/encode.c", "third_party/upb/upb/wire/encode.h", "third_party/upb/upb/wire/eps_copy_input_stream.c", "third_party/upb/upb/wire/eps_copy_input_stream.h", + "third_party/upb/upb/wire/internal/constants.h", + "third_party/upb/upb/wire/internal/decode.h", + "third_party/upb/upb/wire/internal/swap.h", "third_party/upb/upb/wire/reader.c", "third_party/upb/upb/wire/reader.h", - "third_party/upb/upb/wire/swap_internal.h", "third_party/upb/upb/wire/types.h", "third_party/utf8_range/naive.c", "third_party/utf8_range/range2-neon.c", @@ -1985,6 +2201,9 @@ let package = Package( "third_party/utf8_range/utf8_range.h", "third_party/xxhash/xxhash.h", ], + resources: [ + .copy("src/objective-c/PrivacyInfo.xcprivacy"), + ], publicHeadersPath: "spm-core-include", cSettings: [ .headerSearchPath("./"), @@ -1993,8 +2212,8 @@ let package = Package( .headerSearchPath("third_party/upb/"), .headerSearchPath("third_party/utf8_range/"), .headerSearchPath("third_party/xxhash/"), - .headerSearchPath("src/core/ext/upb-generated/"), - .headerSearchPath("src/core/ext/upbdefs-generated/"), + .headerSearchPath("src/core/ext/upb-gen/"), + .headerSearchPath("src/core/ext/upbdefs-gen/"), .define("GRPC_ARES", to: "0"), ], linkerSettings: [ @@ -2031,12 +2250,15 @@ let package = Package( sources: [ "src/cpp/", ], + resources: [ + .copy("src/objective-c/PrivacyInfo.xcprivacy"), + ], publicHeadersPath: "spm-cpp-include", cSettings: [ .headerSearchPath("./"), .headerSearchPath("include/"), .headerSearchPath("third_party/upb/"), - .headerSearchPath("src/core/ext/upb-generated"), + .headerSearchPath("src/core/ext/upb-gen"), ] ), .testTarget( diff --git a/README.md b/README.md index 827158adf3e..159d8fc39a4 100644 --- a/README.md +++ b/README.md @@ -26,20 +26,21 @@ runtime comes as a package available in a user's language package manager. For instructions on how to use the language-specific gRPC runtime for a project, please refer to these documents -- [C++](src/cpp): follow the instructions under the `src/cpp` directory -- [C#/.NET](https://github.com/grpc/grpc-dotnet): NuGet packages `Grpc.Net.Client`, `Grpc.AspNetCore.Server` -- [Dart](https://github.com/grpc/grpc-dart): pub package `grpc` -- [Go](https://github.com/grpc/grpc-go): `go get google.golang.org/grpc` -- [Java](https://github.com/grpc/grpc-java): Use JARs from Maven Central - Repository -- [Kotlin](https://github.com/grpc/grpc-kotlin): Use JARs from Maven Central - Repository -- [Node](https://github.com/grpc/grpc-node): `npm install @grpc/grpc-js` -- [Objective-C](src/objective-c): Add `gRPC-ProtoRPC` dependency to podspec -- [PHP](src/php): `pecl install grpc` -- [Python](src/python/grpcio): `pip install grpcio` -- [Ruby](src/ruby): `gem install grpc` -- [WebJS](https://github.com/grpc/grpc-web): follow the grpc-web instructions +- [C++](src/cpp): follow the instructions under the `src/cpp` directory +- [C#/.NET](https://github.com/grpc/grpc-dotnet): NuGet packages + `Grpc.Net.Client`, `Grpc.AspNetCore.Server` +- [Dart](https://github.com/grpc/grpc-dart): pub package `grpc` +- [Go](https://github.com/grpc/grpc-go): `go get google.golang.org/grpc` +- [Java](https://github.com/grpc/grpc-java): Use JARs from Maven Central + Repository +- [Kotlin](https://github.com/grpc/grpc-kotlin): Use JARs from Maven Central + Repository +- [Node](https://github.com/grpc/grpc-node): `npm install @grpc/grpc-js` +- [Objective-C](src/objective-c): Add `gRPC-ProtoRPC` dependency to podspec +- [PHP](src/php): `pecl install grpc` +- [Python](src/python/grpcio): `pip install grpcio` +- [Ruby](src/ruby): `gem install grpc` +- [WebJS](https://github.com/grpc/grpc-web): follow the grpc-web instructions Per-language quickstart guides and tutorials can be found in the [documentation section on the grpc.io website](https://grpc.io/docs/). Code @@ -66,8 +67,7 @@ gRPC. ## Performance -See the -[Performance dashboard](https://grafana-dot-grpc-testing.appspot.com/) +See the [Performance dashboard](https://grafana-dot-grpc-testing.appspot.com/) for performance numbers of master branch daily builds. ## Concepts @@ -77,28 +77,28 @@ See [gRPC Concepts](CONCEPTS.md) ## About This Repository This repository contains source code for gRPC libraries implemented in multiple -languages written on top of a shared C core library [src/core](src/core). +languages written on top of a shared C++ core library [src/core](src/core). Libraries in different languages may be in various states of development. We are seeking contributions for all of these libraries: -| Language | Source | -| ----------------------- | ---------------------------------- | -| Shared C [core library] | [src/core](src/core) | -| C++ | [src/cpp](src/cpp) | -| Ruby | [src/ruby](src/ruby) | -| Python | [src/python](src/python) | -| PHP | [src/php](src/php) | -| C# (core library based) | [src/csharp](src/csharp) | -| Objective-C | [src/objective-c](src/objective-c) | - -| Language | Source repo | -| -------------------- | -------------------------------------------------- | -| Java | [grpc-java](https://github.com/grpc/grpc-java) | -| Kotlin | [grpc-kotlin](https://github.com/grpc/grpc-kotlin) | -| Go | [grpc-go](https://github.com/grpc/grpc-go) | -| NodeJS | [grpc-node](https://github.com/grpc/grpc-node) | -| WebJS | [grpc-web](https://github.com/grpc/grpc-web) | -| Dart | [grpc-dart](https://github.com/grpc/grpc-dart) | -| .NET (pure C# impl.) | [grpc-dotnet](https://github.com/grpc/grpc-dotnet) | -| Swift | [grpc-swift](https://github.com/grpc/grpc-swift) | +Language | Source +------------------------- | ---------------------------------- +Shared C++ [core library] | [src/core](src/core) +C++ | [src/cpp](src/cpp) +Ruby | [src/ruby](src/ruby) +Python | [src/python](src/python) +PHP | [src/php](src/php) +C# (core library based) | [src/csharp](src/csharp) +Objective-C | [src/objective-c](src/objective-c) + +Language | Source repo +-------------------- | -------------------------------------------------- +Java | [grpc-java](https://github.com/grpc/grpc-java) +Kotlin | [grpc-kotlin](https://github.com/grpc/grpc-kotlin) +Go | [grpc-go](https://github.com/grpc/grpc-go) +NodeJS | [grpc-node](https://github.com/grpc/grpc-node) +WebJS | [grpc-web](https://github.com/grpc/grpc-web) +Dart | [grpc-dart](https://github.com/grpc/grpc-dart) +.NET (pure C# impl.) | [grpc-dotnet](https://github.com/grpc/grpc-dotnet) +Swift | [grpc-swift](https://github.com/grpc/grpc-swift) diff --git a/Rakefile b/Rakefile index fd1aa257508..b3b67b1a39e 100755 --- a/Rakefile +++ b/Rakefile @@ -4,6 +4,7 @@ require 'rspec/core/rake_task' require 'rubocop/rake_task' require 'bundler/gem_tasks' require 'fileutils' +require 'tmpdir' require_relative 'build_config.rb' @@ -29,9 +30,8 @@ Rake::ExtensionTask.new('grpc_c', spec) do |ext| ext.cross_compile = true ext.cross_platform = [ 'x86-mingw32', 'x64-mingw32', 'x64-mingw-ucrt', - 'x86_64-linux', 'x86-linux', 'aarch64-linux', + 'x86_64-linux', 'x86-linux', 'aarch64-linux', 'x86_64-darwin', 'arm64-darwin', - 'universal-darwin' ] ext.cross_compiling do |spec| spec.files = spec.files.select { @@ -144,7 +144,7 @@ task 'gem:native', [:plat] do |t, args| verbose = ENV['V'] || '0' grpc_config = ENV['GRPC_CONFIG'] || 'opt' - ruby_cc_versions = ['3.2.0', '3.1.0', '3.0.0', '2.7.0'].join(':') + ruby_cc_versions = ['3.3.0', '3.2.0', '3.1.0', '3.0.0', '2.7.0'].join(':') selected_plat = "#{args[:plat]}" # use env variable to set artifact build paralellism @@ -201,12 +201,25 @@ task 'gem:native', [:plat] do |t, args| File.truncate('grpc_c.64-msvcrt.ruby', 0) File.truncate('grpc_c.64-ucrt.ruby', 0) + `mkdir -p src/ruby/nativedebug/symbols` + # TODO(apolcyn): make debug symbols work on apple platforms. + # Currently we hit "objcopy: grpc_c.bundle: file format not recognized" + # TODO(apolcyn): make debug symbols work on aarch64 linux. + # Currently we hit "objcopy: Unable to recognise the format of the input file `grpc_c.so'" + unix_platforms_without_debug_symbols = ['x86_64-darwin', 'arm64-darwin', 'aarch64-linux'] + unix_platforms.each do |plat| + if unix_platforms_without_debug_symbols.include?(plat) + debug_symbols_dir = '' + else + debug_symbols_dir = File.join(Dir.pwd, 'src/ruby/nativedebug/symbols') + end run_rake_compiler(plat, <<~EOT) #{prepare_ccache_cmd} && \ gem update --system --no-document && \ bundle && \ bundle exec rake clean && \ + export GRPC_RUBY_DEBUG_SYMBOLS_OUTPUT_DIR=#{debug_symbols_dir} && \ bundle exec rake native:#{plat} pkg/#{spec.full_name}-#{plat}.gem pkg/#{spec.full_name}.gem \ RUBY_CC_VERSION=#{ruby_cc_versions} \ V=#{verbose} \ @@ -214,6 +227,13 @@ task 'gem:native', [:plat] do |t, args| GRPC_RUBY_BUILD_PROCS=#{nproc_override} EOT end + # Generate debug symbol packages to complement the native libraries we just built + unix_platforms.each do |plat| + unless unix_platforms_without_debug_symbols.include?(plat) + `bash src/ruby/nativedebug/build_package.sh #{plat}` + `cp src/ruby/nativedebug/pkg/*.gem pkg/` + end + end end # Define dependencies between the suites. diff --git a/WORKSPACE b/WORKSPACE index 118bae2aab5..162e9a4e73b 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -48,7 +48,7 @@ android_workspace() # be invoked by binder transport implementation through JNI. local_repository( name = "binder_transport_android_helper", - path = "./src/core/ext/transport/binder/java", + path = "src/core/ext/transport/binder/java", ) # Prevents bazel's '...' expansion from including the following folder. @@ -59,27 +59,31 @@ local_repository( path = "third_party/utf8_range", ) -load("@io_bazel_rules_python//python:pip.bzl", "pip_install") +load("@rules_python//python:pip.bzl", "pip_parse") -pip_install( +pip_parse( name = "grpc_python_dependencies", - requirements = "@com_github_grpc_grpc//:requirements.bazel.txt", + requirements_lock = "@com_github_grpc_grpc//:requirements.bazel.txt", ) -load("@upb//bazel:system_python.bzl", "system_python") +load("@grpc_python_dependencies//:requirements.bzl", "install_deps") + +install_deps() + +load("@com_google_protobuf//bazel:system_python.bzl", "system_python") system_python( name = "system_python", minimum_python_version = "3.7", ) -load("@system_python//:pip.bzl", "pip_parse") +load("@system_python//:pip.bzl", system_pip_parse = "pip_parse") -pip_parse( +system_pip_parse( name = "pip_deps", - requirements = "@upb//python:requirements.txt", + requirements = "@com_google_protobuf//python:requirements.txt", requirements_overrides = { - "3.11": "@upb//python:requirements_311.txt", + "3.11": "@com_google_protobuf//python:requirements_311.txt", }, ) @@ -89,6 +93,13 @@ http_archive( url = "https://github.com/bazelbuild/rules_swift/releases/download/1.7.1/rules_swift.1.7.1.tar.gz", ) +load( + "@build_bazel_apple_support//lib:repositories.bzl", + "apple_support_dependencies", +) + +apple_support_dependencies() + load( "@build_bazel_rules_swift//swift:repositories.bzl", "swift_rules_dependencies", diff --git a/_metadata.py b/_metadata.py index 568f191cbe9..d03cbf8858a 100644 --- a/_metadata.py +++ b/_metadata.py @@ -14,4 +14,4 @@ # AUTO-GENERATED FROM `$REPO_ROOT/templates/_metadata.py.template`!!! -__version__ = """1.59.0.dev0""" +__version__ = """1.63.0.dev0""" diff --git a/bazel/OWNERS b/bazel/OWNERS deleted file mode 100644 index cf079bfa6fe..00000000000 --- a/bazel/OWNERS +++ /dev/null @@ -1,5 +0,0 @@ -set noparent -@jtattermusch -@veblush -@gnossen - diff --git a/bazel/experiments.bzl b/bazel/experiments.bzl index ee6544cbfaf..36ab8d6eb23 100644 --- a/bazel/experiments.bzl +++ b/bazel/experiments.bzl @@ -16,60 +16,106 @@ """Dictionary of tags to experiments so we know when to test different experiments.""" +EXPERIMENT_ENABLES = { + "absl_base64": "absl_base64", + "call_status_override_on_cancellation": "call_status_override_on_cancellation", + "call_v3": "call_v3", + "canary_client_privacy": "canary_client_privacy", + "client_idleness": "client_idleness", + "client_privacy": "client_privacy", + "event_engine_client": "event_engine_client", + "event_engine_dns": "event_engine_dns", + "event_engine_listener": "event_engine_listener", + "free_large_allocator": "free_large_allocator", + "http2_stats_fix": "http2_stats_fix", + "keepalive_fix": "keepalive_fix", + "keepalive_server_fix": "keepalive_server_fix", + "monitoring_experiment": "monitoring_experiment", + "multiping": "multiping", + "peer_state_based_framing": "peer_state_based_framing", + "pending_queue_cap": "pending_queue_cap", + "pick_first_happy_eyeballs": "pick_first_happy_eyeballs", + "promise_based_client_call": "event_engine_client,event_engine_listener,promise_based_client_call", + "promise_based_server_call": "promise_based_server_call", + "chaotic_good": "chaotic_good,event_engine_client,event_engine_listener,promise_based_client_call,promise_based_server_call", + "registered_method_lookup_in_transport": "registered_method_lookup_in_transport", + "promise_based_inproc_transport": "event_engine_client,event_engine_listener,promise_based_client_call,promise_based_inproc_transport,promise_based_server_call,registered_method_lookup_in_transport", + "round_robin_delegate_to_pick_first": "round_robin_delegate_to_pick_first", + "rstpit": "rstpit", + "schedule_cancellation_over_write": "schedule_cancellation_over_write", + "server_privacy": "server_privacy", + "tcp_frame_size_tuning": "tcp_frame_size_tuning", + "tcp_rcv_lowat": "tcp_rcv_lowat", + "trace_record_callops": "trace_record_callops", + "unconstrained_max_quota_buffer_size": "unconstrained_max_quota_buffer_size", + "v3_backend_metric_filter": "v3_backend_metric_filter", + "v3_channel_idle_filters": "v3_channel_idle_filters", + "v3_compression_filter": "v3_compression_filter", + "v3_server_auth_filter": "v3_server_auth_filter", + "work_serializer_clears_time_cache": "work_serializer_clears_time_cache", + "work_serializer_dispatch": "event_engine_client,work_serializer_dispatch", + "wrr_delegate_to_pick_first": "wrr_delegate_to_pick_first", +} + +EXPERIMENT_POLLERS = [ + "event_engine_client", + "event_engine_dns", + "event_engine_listener", +] + EXPERIMENTS = { "windows": { "dbg": { }, "off": { + "compression_test": [ + "v3_compression_filter", + ], "core_end2end_test": [ - "event_engine_listener", "promise_based_server_call", - "work_serializer_dispatch", ], "cpp_end2end_test": [ "promise_based_server_call", - "work_serializer_dispatch", ], "endpoint_test": [ "tcp_frame_size_tuning", "tcp_rcv_lowat", ], - "event_engine_listener_test": [ - "event_engine_listener", - ], "flow_control_test": [ + "multiping", "peer_state_based_framing", + "rstpit", "tcp_frame_size_tuning", "tcp_rcv_lowat", ], - "lb_unit_test": [ - "work_serializer_dispatch", - ], "logging_test": [ "promise_based_server_call", ], "resource_quota_test": [ "free_large_allocator", - "memory_pressure_controller", "unconstrained_max_quota_buffer_size", ], "xds_end2end_test": [ "promise_based_server_call", - "work_serializer_dispatch", ], }, "on": { "core_end2end_test": [ - "work_stealing", + "event_engine_listener", ], "cpp_lb_end2end_test": [ + "pick_first_happy_eyeballs", "round_robin_delegate_to_pick_first", "wrr_delegate_to_pick_first", ], - "flow_control_test": [ - "lazier_stream_updates", + "credential_token_tests": [ + "absl_base64", + ], + "event_engine_listener_test": [ + "event_engine_listener", ], "lb_unit_test": [ + "pick_first_happy_eyeballs", "round_robin_delegate_to_pick_first", "wrr_delegate_to_pick_first", ], @@ -77,6 +123,7 @@ EXPERIMENTS = { "registered_method_lookup_in_transport", ], "xds_end2end_test": [ + "pick_first_happy_eyeballs", "round_robin_delegate_to_pick_first", "wrr_delegate_to_pick_first", ], @@ -86,55 +133,48 @@ EXPERIMENTS = { "dbg": { }, "off": { + "compression_test": [ + "v3_compression_filter", + ], "core_end2end_test": [ - "event_engine_listener", "promise_based_server_call", - "work_serializer_dispatch", ], "cpp_end2end_test": [ "promise_based_server_call", - "work_serializer_dispatch", ], "endpoint_test": [ "tcp_frame_size_tuning", "tcp_rcv_lowat", ], - "event_engine_listener_test": [ - "event_engine_listener", - ], "flow_control_test": [ + "multiping", "peer_state_based_framing", + "rstpit", "tcp_frame_size_tuning", "tcp_rcv_lowat", ], - "lb_unit_test": [ - "work_serializer_dispatch", - ], "logging_test": [ "promise_based_server_call", ], "resource_quota_test": [ "free_large_allocator", - "memory_pressure_controller", "unconstrained_max_quota_buffer_size", ], "xds_end2end_test": [ "promise_based_server_call", - "work_serializer_dispatch", ], }, "on": { - "core_end2end_test": [ - "work_stealing", - ], "cpp_lb_end2end_test": [ + "pick_first_happy_eyeballs", "round_robin_delegate_to_pick_first", "wrr_delegate_to_pick_first", ], - "flow_control_test": [ - "lazier_stream_updates", + "credential_token_tests": [ + "absl_base64", ], "lb_unit_test": [ + "pick_first_happy_eyeballs", "round_robin_delegate_to_pick_first", "wrr_delegate_to_pick_first", ], @@ -142,6 +182,7 @@ EXPERIMENTS = { "registered_method_lookup_in_transport", ], "xds_end2end_test": [ + "pick_first_happy_eyeballs", "round_robin_delegate_to_pick_first", "wrr_delegate_to_pick_first", ], @@ -151,18 +192,17 @@ EXPERIMENTS = { "dbg": { }, "off": { - "cancel_ares_query_test": [ - "event_engine_dns", + "compression_test": [ + "v3_compression_filter", ], "core_end2end_test": [ + "chaotic_good", "event_engine_client", - "event_engine_listener", + "promise_based_client_call", "promise_based_server_call", - "work_serializer_dispatch", ], "cpp_end2end_test": [ "promise_based_server_call", - "work_serializer_dispatch", ], "endpoint_test": [ "tcp_frame_size_tuning", @@ -171,53 +211,65 @@ EXPERIMENTS = { "event_engine_client_test": [ "event_engine_client", ], - "event_engine_listener_test": [ - "event_engine_listener", - ], "flow_control_test": [ + "multiping", "peer_state_based_framing", + "rstpit", "tcp_frame_size_tuning", "tcp_rcv_lowat", ], - "lb_unit_test": [ - "work_serializer_dispatch", + "lame_client_test": [ + "promise_based_client_call", ], "logging_test": [ "promise_based_server_call", ], - "resolver_component_tests_runner_invoker": [ - "event_engine_dns", - ], "resource_quota_test": [ "free_large_allocator", - "memory_pressure_controller", "unconstrained_max_quota_buffer_size", ], "xds_end2end_test": [ "promise_based_server_call", - "work_serializer_dispatch", ], }, "on": { + "cancel_ares_query_test": [ + "event_engine_dns", + ], "core_end2end_test": [ - "work_stealing", + "event_engine_listener", + "work_serializer_dispatch", + ], + "cpp_end2end_test": [ + "work_serializer_dispatch", ], "cpp_lb_end2end_test": [ + "pick_first_happy_eyeballs", "round_robin_delegate_to_pick_first", "wrr_delegate_to_pick_first", ], - "flow_control_test": [ - "lazier_stream_updates", + "credential_token_tests": [ + "absl_base64", + ], + "event_engine_listener_test": [ + "event_engine_listener", ], "lb_unit_test": [ + "pick_first_happy_eyeballs", "round_robin_delegate_to_pick_first", + "work_serializer_dispatch", "wrr_delegate_to_pick_first", ], + "resolver_component_tests_runner_invoker": [ + "event_engine_dns", + ], "surface_registered_method_lookup": [ "registered_method_lookup_in_transport", ], "xds_end2end_test": [ + "pick_first_happy_eyeballs", "round_robin_delegate_to_pick_first", + "work_serializer_dispatch", "wrr_delegate_to_pick_first", ], }, diff --git a/bazel/generate_cc.bzl b/bazel/generate_cc.bzl index 2d90414b41e..c0eb9401ee4 100644 --- a/bazel/generate_cc.bzl +++ b/bazel/generate_cc.bzl @@ -175,7 +175,7 @@ _generate_cc = rule( "plugin": attr.label( executable = True, providers = ["files_to_run"], - cfg = "host", + cfg = "exec", ), "flags": attr.string_list( mandatory = False, @@ -189,7 +189,7 @@ _generate_cc = rule( "_protoc": attr.label( default = Label("//external:protocol_compiler"), executable = True, - cfg = "host", + cfg = "exec", ), }, # We generate .h files, so we need to output to genfiles. diff --git a/bazel/generate_objc.bzl b/bazel/generate_objc.bzl index 25314ae1bd0..d9518af7d88 100644 --- a/bazel/generate_objc.bzl +++ b/bazel/generate_objc.bzl @@ -166,7 +166,7 @@ generate_objc = rule( default = "@com_github_grpc_grpc//src/compiler:grpc_objective_c_plugin", executable = True, providers = ["files_to_run"], - cfg = "host", + cfg = "exec", ), "srcs": attr.string_list( mandatory = False, @@ -182,7 +182,7 @@ generate_objc = rule( "_protoc": attr.label( default = Label("//external:protocol_compiler"), executable = True, - cfg = "host", + cfg = "exec", ), }, output_to_genfiles = True, diff --git a/bazel/googleapis.BUILD b/bazel/googleapis.BUILD index dc7e05f7424..ee9473b1526 100644 --- a/bazel/googleapis.BUILD +++ b/bazel/googleapis.BUILD @@ -15,7 +15,7 @@ licenses(["notice"]) package( - default_visibility = ["//visibility:public"] + default_visibility = ["//visibility:public"], ) # This is needed for the dependency on google_cloud_cpp to work. diff --git a/bazel/grpc_build_system.bzl b/bazel/grpc_build_system.bzl index 49fd039b51f..6e09896b4ed 100644 --- a/bazel/grpc_build_system.bzl +++ b/bazel/grpc_build_system.bzl @@ -29,11 +29,11 @@ Contains macros used throughout the repo. load("//bazel:cc_grpc_library.bzl", "cc_grpc_library") load("//bazel:copts.bzl", "GRPC_DEFAULT_COPTS") -load("//bazel:experiments.bzl", "EXPERIMENTS") -load("//bazel:test_experiments.bzl", "TEST_EXPERIMENTS") -load("@upb//bazel:upb_proto_library.bzl", "upb_proto_library", "upb_proto_reflection_library") +load("//bazel:experiments.bzl", "EXPERIMENTS", "EXPERIMENT_ENABLES", "EXPERIMENT_POLLERS") +load("//bazel:test_experiments.bzl", "TEST_EXPERIMENTS", "TEST_EXPERIMENT_ENABLES", "TEST_EXPERIMENT_POLLERS") load("@build_bazel_rules_apple//apple:ios.bzl", "ios_unit_test") load("@build_bazel_rules_apple//apple/testing/default_runner:ios_test_runner.bzl", "ios_test_runner") +load("@com_google_protobuf//bazel:upb_proto_library.bzl", "upb_proto_library", "upb_proto_reflection_library") # The set of pollers to test against if a test exercises polling POLLERS = ["epoll1", "poll"] @@ -95,6 +95,7 @@ def _update_visibility(visibility): "alt_grpc++_base_unsecure_legacy": PRIVATE, "alts_frame_protector": PRIVATE, "channelz": PRIVATE, + "chaotic_good": PRIVATE, "client_channel": PRIVATE, "cli": PRIVATE, "debug_location": PRIVATE, @@ -108,18 +109,20 @@ def _update_visibility(visibility): "grpc++_test": PRIVATE, "http": PRIVATE, "httpcli": PRIVATE, - "iomgr_timer": PRIVATE, "iomgr_internal_errqueue": PRIVATE, "iomgr_buffer_list": PRIVATE, "json_reader_legacy": PRIVATE, "public": PUBLIC, "ref_counted_ptr": PRIVATE, + "tcp_tracer": PRIVATE, "trace": PRIVATE, "tsi_interface": PRIVATE, "tsi": PRIVATE, "xds": PRIVATE, "xds_client_core": PRIVATE, "grpc_python_observability": PRIVATE, + "event_engine_base_hdrs": PRIVATE, + "useful": PRIVATE, } final_visibility = [] for rule in visibility: @@ -203,8 +206,8 @@ def grpc_cc_library( includes = [ "api/include", "include", - "src/core/ext/upb-generated", # Once upb code-gen issue is resolved, remove this. - "src/core/ext/upbdefs-generated", # Once upb code-gen issue is resolved, remove this. + "src/core/ext/upb-gen", # Once upb code-gen issue is resolved, remove this. + "src/core/ext/upbdefs-gen", # Once upb code-gen issue is resolved, remove this. ], alwayslink = alwayslink, data = data, @@ -277,8 +280,10 @@ def ios_cc_test( deps = ios_test_deps, ) -def expand_tests(name, srcs, deps, tags, args, exclude_pollers, uses_polling, uses_event_engine, flaky): - """Common logic used to parameterize tests for every poller and EventEngine and experiment. +def expand_poller_config(name, srcs, deps, tags, args, exclude_pollers, uses_polling, uses_event_engine, flaky): + """Common logic used to parameterize tests for every poller and EventEngine. + + Used by expand_tests (repeatedly) to form base lists of pollers for each experiment. Args: name: base name of the test @@ -295,8 +300,12 @@ def expand_tests(name, srcs, deps, tags, args, exclude_pollers, uses_polling, us Returns: A list of dictionaries containing modified values of name, srcs, deps, tags, and args. """ + poller_config = [] + # See work_stealing_thread_pool.cc for details. + default_env = {"GRPC_THREAD_POOL_VERBOSE_FAILURES": "true"} + if not uses_polling: tags = tags + ["no_uses_polling"] @@ -307,7 +316,7 @@ def expand_tests(name, srcs, deps, tags, args, exclude_pollers, uses_polling, us "tags": tags, "args": args, "flaky": flaky, - "env": {}, + "env": default_env, }) else: # On linux we run the same test with the default EventEngine, once for each @@ -327,7 +336,7 @@ def expand_tests(name, srcs, deps, tags, args, exclude_pollers, uses_polling, us "args": args, "env": { "GRPC_POLL_STRATEGY": poller, - }, + } | default_env, "flaky": flaky, }) @@ -344,7 +353,7 @@ def expand_tests(name, srcs, deps, tags, args, exclude_pollers, uses_polling, us "deps": deps, "tags": tags + ["no_linux"], "args": args, - "env": {}, + "env": default_env, "flaky": flaky, }) else: @@ -364,10 +373,31 @@ def expand_tests(name, srcs, deps, tags, args, exclude_pollers, uses_polling, us "deps": deps, "tags": test_tags, "args": test_args, - "env": {}, + "env": default_env, "flaky": flaky, }) + return poller_config + +def expand_tests(name, srcs, deps, tags, args, exclude_pollers, uses_polling, uses_event_engine, flaky): + """Common logic used to parameterize tests for every poller and EventEngine and experiment. + + Args: + name: base name of the test + srcs: source files + deps: base deps + tags: base tags + args: base args + flaky: base flaky + exclude_pollers: list of poller names to exclude for this set of tests. + uses_polling: set to False if the test is not sensitive to polling methodology. + uses_event_engine: set to False if the test is not sensitive to + EventEngine implementation differences + + Returns: + A list of dictionaries containing modified values of name, srcs, deps, tags, and args. + """ + experiments = {} # buildifier: disable=uninitialized @@ -416,19 +446,35 @@ def expand_tests(name, srcs, deps, tags, args, exclude_pollers, uses_polling, us tags.append("no_test_ios") return tags - experiment_config = list(poller_config) + base_params = { + "name": name, + "srcs": srcs, + "deps": deps, + "tags": tags, + "args": args, + "exclude_pollers": exclude_pollers, + "uses_polling": uses_polling, + "uses_event_engine": uses_event_engine, + "flaky": flaky, + } + + experiment_config = expand_poller_config(**base_params) + experiment_enables = {k: v for k, v in EXPERIMENT_ENABLES.items() + TEST_EXPERIMENT_ENABLES.items()} + experiment_pollers = EXPERIMENT_POLLERS + TEST_EXPERIMENT_POLLERS for mode, config in mode_config.items(): enabled_tags, disabled_tags = config if enabled_tags != None: for experiment in experiments[mode].keys(): - for config in poller_config: + experiment_params = dict(base_params) + experiment_params["uses_polling"] = uses_polling and (experiment in experiment_pollers) + for config in expand_poller_config(**experiment_params): config = dict(config) config["name"] = config["name"] + "@experiment=" + experiment env = dict(config["env"]) - env["GRPC_EXPERIMENTS"] = experiment + env["GRPC_EXPERIMENTS"] = experiment_enables[experiment] env["GRPC_CI_EXPERIMENTS"] = "1" config["env"] = env - tags = config["tags"] + tags = config["tags"] + ["experiment_variation"] for tag in must_have_tags + enabled_tags: if tag not in tags: tags = tags + [tag] @@ -437,14 +483,16 @@ def expand_tests(name, srcs, deps, tags, args, exclude_pollers, uses_polling, us experiment_config.append(config) if disabled_tags != None: for experiment in experiments[mode].keys(): - for config in poller_config: + experiment_params = dict(base_params) + experiment_params["uses_polling"] = uses_polling and (experiment in experiment_pollers) + for config in expand_poller_config(**experiment_params): config = dict(config) config["name"] = config["name"] + "@experiment=no_" + experiment env = dict(config["env"]) env["GRPC_EXPERIMENTS"] = "-" + experiment env["GRPC_CI_EXPERIMENTS"] = "1" config["env"] = env - tags = config["tags"] + tags = config["tags"] + ["experiment_variation"] for tag in must_have_tags + disabled_tags: if tag not in tags: tags = tags + [tag] diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl index 35fc4fe1757..6334e144d5f 100644 --- a/bazel/grpc_deps.bzl +++ b/bazel/grpc_deps.bzl @@ -21,43 +21,53 @@ def grpc_deps(): """Loads dependencies need to compile and test the grpc library.""" native.bind( - name = "upb_lib", - actual = "@upb//:upb", + name = "upb_amalgamation_lib", + actual = "@com_google_protobuf//upb:amalgamation", ) native.bind( - name = "upb_collections_lib", - actual = "@upb//:collections", + name = "upb_base_lib", + actual = "@com_google_protobuf//upb/base", + ) + + native.bind( + name = "upb_message_lib", + actual = "@com_google_protobuf//upb:message", + ) + + native.bind( + name = "upb_mem_lib", + actual = "@com_google_protobuf//upb/mem", ) native.bind( name = "upb_reflection", - actual = "@upb//:reflection", + actual = "@com_google_protobuf//upb:reflection", ) native.bind( name = "upb_lib_descriptor", - actual = "@upb//:descriptor_upb_proto", + actual = "@com_google_protobuf//upb:descriptor_upb_proto", ) native.bind( name = "upb_lib_descriptor_reflection", - actual = "@upb//:descriptor_upb_proto_reflection", + actual = "@com_google_protobuf//upb:descriptor_upb_proto_reflection", ) native.bind( name = "upb_textformat_lib", - actual = "@upb//:textformat", + actual = "@com_google_protobuf//upb/text", ) native.bind( name = "upb_json_lib", - actual = "@upb//:json", + actual = "@com_google_protobuf//upb/json", ) native.bind( name = "upb_generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me", - actual = "@upb//:generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me", + actual = "@com_google_protobuf//upb:generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me", ) native.bind( @@ -215,16 +225,26 @@ def grpc_deps(): actual = "@com_google_googleapis//google/logging/v2:logging_cc_proto", ) + if "platforms" not in native.existing_rules(): + http_archive( + name = "platforms", + sha256 = "8150406605389ececb6da07cbcb509d5637a3ab9a24bc69b1101531367d89d74", + urls = [ + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/platforms/releases/download/0.0.8/platforms-0.0.8.tar.gz", + "https://github.com/bazelbuild/platforms/releases/download/0.0.8/platforms-0.0.8.tar.gz", + ], + ) + if "boringssl" not in native.existing_rules(): http_archive( name = "boringssl", # Use github mirror instead of https://boringssl.googlesource.com/boringssl # to obtain a boringssl archive with consistent sha256 - sha256 = "b21994a857a7aa6d5256ffe355c735ad4c286de44c6c81dfc04edc41a8feaeef", - strip_prefix = "boringssl-2ff4b968a7e0cfee66d9f151cb95635b43dc1d5b", + sha256 = "057f662b0e85931a84945b2e89ba201fd44b0583da827c948fe443593690fb83", + strip_prefix = "boringssl-ae72a4514c7afd150596b0a80947f3ca9b8363b5", urls = [ - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/boringssl/archive/2ff4b968a7e0cfee66d9f151cb95635b43dc1d5b.tar.gz", - "https://github.com/google/boringssl/archive/2ff4b968a7e0cfee66d9f151cb95635b43dc1d5b.tar.gz", + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/boringssl/archive/ae72a4514c7afd150596b0a80947f3ca9b8363b5.tar.gz", + "https://github.com/google/boringssl/archive/ae72a4514c7afd150596b0a80947f3ca9b8363b5.tar.gz", ], ) @@ -232,23 +252,23 @@ def grpc_deps(): http_archive( name = "zlib", build_file = "@com_github_grpc_grpc//third_party:zlib.BUILD", - sha256 = "90f43a9c998740e8a0db24b0af0147033db2aaaa99423129abbd76640757cac9", - strip_prefix = "zlib-04f42ceca40f73e2978b50e93806c2a18c1281fc", + sha256 = "18337cdb32562003c39d9f7322b9a166ad4abfb2b909566428e11f96d2385586", + strip_prefix = "zlib-09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851", urls = [ - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/madler/zlib/archive/04f42ceca40f73e2978b50e93806c2a18c1281fc.tar.gz", - "https://github.com/madler/zlib/archive/04f42ceca40f73e2978b50e93806c2a18c1281fc.tar.gz", + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/madler/zlib/archive/09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851.tar.gz", + "https://github.com/madler/zlib/archive/09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851.tar.gz", ], ) if "com_google_protobuf" not in native.existing_rules(): http_archive( name = "com_google_protobuf", - sha256 = "660ce016f987550bc1ccec4a6ee4199afb871799b696227098e3641476a7d566", - strip_prefix = "protobuf-b2b7a51158418f41cff0520894836c15b1738721", + sha256 = "70f480fe9cb0c6829dbf6be3c388103313aacb65de667b86d981bbc9eaedb905", + strip_prefix = "protobuf-7f94235e552599141950d7a4a3eaf93bc87d1b22", urls = [ - # https://github.com/protocolbuffers/protobuf/commits/v24.3 - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/protocolbuffers/protobuf/archive/b2b7a51158418f41cff0520894836c15b1738721.tar.gz", - "https://github.com/protocolbuffers/protobuf/archive/b2b7a51158418f41cff0520894836c15b1738721.tar.gz", + # https://github.com/protocolbuffers/protobuf/commits/v25.0 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/protocolbuffers/protobuf/archive/7f94235e552599141950d7a4a3eaf93bc87d1b22.tar.gz", + "https://github.com/protocolbuffers/protobuf/archive/7f94235e552599141950d7a4a3eaf93bc87d1b22.tar.gz", ], patches = [ "@com_github_grpc_grpc//third_party:protobuf.patch", @@ -259,11 +279,11 @@ def grpc_deps(): if "com_google_googletest" not in native.existing_rules(): http_archive( name = "com_google_googletest", - sha256 = "c8de6c60e12ad014a28225c5247ee735861d85cf906df617f6a29954ca05f547", - strip_prefix = "googletest-0e402173c97aea7a00749e825b194bfede4f2e45", + sha256 = "31bf78bd91b96dd5e24fab3bb1d7f3f7453ccbaceec9afb86d6e4816a15ab109", + strip_prefix = "googletest-2dd1c131950043a8ad5ab0d2dda0e0970596586a", urls = [ - # 2022-02-09 - "https://github.com/google/googletest/archive/0e402173c97aea7a00749e825b194bfede4f2e45.tar.gz", + # 2023-10-09 + "https://github.com/google/googletest/archive/2dd1c131950043a8ad5ab0d2dda0e0970596586a.tar.gz", ], ) @@ -283,22 +303,22 @@ def grpc_deps(): if "rules_cc" not in native.existing_rules(): http_archive( name = "rules_cc", - sha256 = "3d9e271e2876ba42e114c9b9bc51454e379cbf0ec9ef9d40e2ae4cec61a31b40", - strip_prefix = "rules_cc-0.0.6", + sha256 = "2037875b9a4456dce4a79d112a8ae885bbc4aad968e6587dca6e64f3a0900cdf", + strip_prefix = "rules_cc-0.0.9", urls = [ - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/rules_cc/releases/download/0.0.6/rules_cc-0.0.6.tar.gz", - "https://github.com/bazelbuild/rules_cc/releases/download/0.0.6/rules_cc-0.0.6.tar.gz", + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz", + "https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz", ], ) if "com_github_google_benchmark" not in native.existing_rules(): http_archive( name = "com_github_google_benchmark", - sha256 = "4e47ca279d5ae967c506c136bd8afb42eedcaf010aebb48a0e87790cae4b488a", - strip_prefix = "benchmark-015d1a091af6937488242b70121858bce8fd40e9", + sha256 = "8e7b955f04bc6984e4f14074d0d191474f76a6c8e849e04a9dced49bc975f2d4", + strip_prefix = "benchmark-344117638c8ff7e239044fd0fa7085839fc03021", urls = [ - # v1.8.2 - "https://github.com/google/benchmark/archive/015d1a091af6937488242b70121858bce8fd40e9.tar.gz", + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/benchmark/archive/344117638c8ff7e239044fd0fa7085839fc03021.tar.gz", + "https://github.com/google/benchmark/archive/344117638c8ff7e239044fd0fa7085839fc03021.tar.gz", ], ) @@ -328,11 +348,11 @@ def grpc_deps(): if "com_google_absl" not in native.existing_rules(): http_archive( name = "com_google_absl", - sha256 = "59d2976af9d6ecf001a81a35749a6e551a335b949d34918cfade07737b9d93c5", - strip_prefix = "abseil-cpp-20230802.0", + sha256 = "338420448b140f0dfd1a1ea3c3ce71b3bc172071f24f4d9a57d59b45037da440", + strip_prefix = "abseil-cpp-20240116.0", urls = [ - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/abseil/abseil-cpp/archive/20230802.0.tar.gz", - "https://github.com/abseil/abseil-cpp/archive/20230802.0.tar.gz", + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/abseil/abseil-cpp/archive/20240116.0.tar.gz", + "https://github.com/abseil/abseil-cpp/archive/20240116.0.tar.gz", ], ) @@ -380,26 +400,14 @@ def grpc_deps(): ], ) - if "upb" not in native.existing_rules(): - http_archive( - name = "upb", - sha256 = "5147e0ab6a28421d1e49004f4a205d84f06b924585e15eaa884cfe13289165b7", - strip_prefix = "upb-42cd08932e364a4cde35033b73f15c30250d7c2e", - urls = [ - # https://github.com/protocolbuffers/upb/commits/24.x - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/protocolbuffers/upb/archive/42cd08932e364a4cde35033b73f15c30250d7c2e.tar.gz", - "https://github.com/protocolbuffers/upb/archive/42cd08932e364a4cde35033b73f15c30250d7c2e.tar.gz", - ], - ) - if "envoy_api" not in native.existing_rules(): http_archive( name = "envoy_api", - sha256 = "6fd3496c82919a433219733819a93b56699519a193126959e9c4fedc25e70663", - strip_prefix = "data-plane-api-e53e7bbd012f81965f2e79848ad9a58ceb67201f", + sha256 = "ddd3beedda1178a79e0d988f76f362002aced09749452515853f106e22bd2249", + strip_prefix = "data-plane-api-78f198cf96ecdc7120ef640406770aa01af775c4", urls = [ - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/e53e7bbd012f81965f2e79848ad9a58ceb67201f.tar.gz", - "https://github.com/envoyproxy/data-plane-api/archive/e53e7bbd012f81965f2e79848ad9a58ceb67201f.tar.gz", + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/78f198cf96ecdc7120ef640406770aa01af775c4.tar.gz", + "https://github.com/envoyproxy/data-plane-api/archive/78f198cf96ecdc7120ef640406770aa01af775c4.tar.gz", ], ) @@ -416,20 +424,20 @@ def grpc_deps(): if "build_bazel_rules_apple" not in native.existing_rules(): http_archive( name = "build_bazel_rules_apple", - sha256 = "f94e6dddf74739ef5cb30f000e13a2a613f6ebfa5e63588305a71fce8a8a9911", + sha256 = "34c41bfb59cdaea29ac2df5a2fa79e5add609c71bb303b2ebb10985f93fa20e7", urls = [ - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/rules_apple/releases/download/1.1.3/rules_apple.1.1.3.tar.gz", - "https://github.com/bazelbuild/rules_apple/releases/download/1.1.3/rules_apple.1.1.3.tar.gz", + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/rules_apple/releases/download/3.1.1/rules_apple.3.1.1.tar.gz", + "https://github.com/bazelbuild/rules_apple/releases/download/3.1.1/rules_apple.3.1.1.tar.gz", ], ) if "build_bazel_apple_support" not in native.existing_rules(): http_archive( name = "build_bazel_apple_support", - sha256 = "f4fdf5c9b42b92ea12f229b265d74bb8cedb8208ca7a445b383c9f866cf53392", + sha256 = "cf4d63f39c7ba9059f70e995bf5fe1019267d3f77379c2028561a5d7645ef67c", urls = [ - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/apple_support/releases/download/1.3.1/apple_support.1.3.1.tar.gz", - "https://github.com/bazelbuild/apple_support/releases/download/1.3.1/apple_support.1.3.1.tar.gz", + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/apple_support/releases/download/1.11.1/apple_support.1.11.1.tar.gz", + "https://github.com/bazelbuild/apple_support/releases/download/1.11.1/apple_support.1.11.1.tar.gz", ], ) @@ -478,14 +486,14 @@ def grpc_deps(): patch_args = ["-p1"], ) - if "com_github_cncf_udpa" not in native.existing_rules(): + if "com_github_cncf_xds" not in native.existing_rules(): http_archive( - name = "com_github_cncf_udpa", - sha256 = "0d33b83f8c6368954e72e7785539f0d272a8aba2f6e2e336ed15fd1514bc9899", - strip_prefix = "xds-e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7", + name = "com_github_cncf_xds", + sha256 = "dc305e20c9fa80822322271b50aa2ffa917bf4fd3973bcec52bfc28dc32c5927", + strip_prefix = "xds-3a472e524827f72d1ad621c4983dd5af54c46776", urls = [ - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/cncf/xds/archive/e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7.tar.gz", - "https://github.com/cncf/xds/archive/e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7.tar.gz", + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/cncf/xds/archive/3a472e524827f72d1ad621c4983dd5af54c46776.tar.gz", + "https://github.com/cncf/xds/archive/3a472e524827f72d1ad621c4983dd5af54c46776.tar.gz", ], ) @@ -509,22 +517,22 @@ def grpc_deps(): if "io_opentelemetry_cpp" not in native.existing_rules(): http_archive( name = "io_opentelemetry_cpp", - sha256 = "f30cd88bf898a5726d245eba882b8e81012021eb00df34109f4dfb203f005cea", - strip_prefix = "opentelemetry-cpp-1.11.0", + sha256 = "7735cc56507149686e6019e06f588317099d4522480be5f38a2a09ec69af1706", + strip_prefix = "opentelemetry-cpp-1.13.0", urls = [ - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.11.0.tar.gz", - "https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.11.0.tar.gz", + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.13.0.tar.gz", + "https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.13.0.tar.gz", ], ) if "google_cloud_cpp" not in native.existing_rules(): http_archive( name = "google_cloud_cpp", - sha256 = "371d01b03c7e2604d671b8fa1c86710abe3b524a78bc2705a6bb4de715696755", - strip_prefix = "google-cloud-cpp-2.14.0", + sha256 = "7ca7f583b60d2aa1274411fed3b9fb3887119b2e84244bb3fc69ea1db819e4e5", + strip_prefix = "google-cloud-cpp-2.16.0", urls = [ - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/googleapis/google-cloud-cpp/archive/refs/tags/v2.14.0.tar.gz", - "https://github.com/googleapis/google-cloud-cpp/archive/refs/tags/v2.14.0.tar.gz", + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/googleapis/google-cloud-cpp/archive/refs/tags/v2.16.0.tar.gz", + "https://github.com/googleapis/google-cloud-cpp/archive/refs/tags/v2.16.0.tar.gz", ], ) @@ -610,11 +618,11 @@ def grpc_test_only_deps(): if "com_google_libprotobuf_mutator" not in native.existing_rules(): http_archive( name = "com_google_libprotobuf_mutator", - sha256 = "11ab4c57b4051977d8fedb86dba5c9092e578bc293c47be146e0b0596b6a0bdc", + sha256 = "9c8f800aed088cdf89adc3eaaa66b56b4da7da041f26338aa71a2ab43d860d46", urls = [ - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/libprotobuf-mutator/archive/c390388561be36f94a559a4aed7e2fe60470f60b.tar.gz", - "https://github.com/google/libprotobuf-mutator/archive/c390388561be36f94a559a4aed7e2fe60470f60b.tar.gz", + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/libprotobuf-mutator/archive/1f95f8083066f5b38fd2db172e7e7f9aa7c49d2d.tar.gz", + "https://github.com/google/libprotobuf-mutator/archive/1f95f8083066f5b38fd2db172e7e7f9aa7c49d2d.tar.gz", ], - strip_prefix = "libprotobuf-mutator-c390388561be36f94a559a4aed7e2fe60470f60b", + strip_prefix = "libprotobuf-mutator-1f95f8083066f5b38fd2db172e7e7f9aa7c49d2d", build_file = "@com_github_grpc_grpc//third_party:libprotobuf_mutator.BUILD", ) diff --git a/bazel/grpc_extra_deps.bzl b/bazel/grpc_extra_deps.bzl index e57aa968eaf..eb3c3fc29c5 100644 --- a/bazel/grpc_extra_deps.bzl +++ b/bazel/grpc_extra_deps.bzl @@ -22,7 +22,7 @@ load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") load("@envoy_api//bazel:repositories.bzl", "api_dependencies") load("@google_cloud_cpp//bazel:google_cloud_cpp_deps.bzl", "google_cloud_cpp_deps") load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") -load("@upb//bazel:workspace_deps.bzl", "upb_deps") +load("@rules_python//python:repositories.bzl", "py_repositories") def grpc_extra_deps(ignore_version_differences = False): """Loads the extra dependencies. @@ -49,8 +49,6 @@ def grpc_extra_deps(ignore_version_differences = False): """ protobuf_deps() - upb_deps() - api_dependencies() go_rules_dependencies() @@ -74,3 +72,5 @@ def grpc_extra_deps(ignore_version_differences = False): ) google_cloud_cpp_deps() + + py_repositories() diff --git a/bazel/grpc_python_deps.bzl b/bazel/grpc_python_deps.bzl index 39893eef6eb..dbfff526a11 100644 --- a/bazel/grpc_python_deps.bzl +++ b/bazel/grpc_python_deps.bzl @@ -19,13 +19,12 @@ load("@com_github_grpc_grpc//third_party/py:python_configure.bzl", "python_confi # buildifier: disable=unnamed-macro def grpc_python_deps(): """Loads dependencies for gRPC Python.""" - if "io_bazel_rules_python" not in native.existing_rules(): + if "rules_python" not in native.existing_rules(): http_archive( - name = "io_bazel_rules_python", - url = "https://github.com/bazelbuild/rules_python/releases/download/0.4.0/rules_python-0.4.0.tar.gz", - sha256 = "954aa89b491be4a083304a2cb838019c8b8c3720a7abb9c4cb81ac7a24230cea", - patches = ["@com_github_grpc_grpc//third_party:rules_python.patch"], - patch_args = ["-p1"], + name = "rules_python", + sha256 = "9d04041ac92a0985e344235f5d946f71ac543f1b1565f2cdbc9a2aaee8adf55b", + strip_prefix = "rules_python-0.26.0", + url = "https://github.com/bazelbuild/rules_python/releases/download/0.26.0/rules_python-0.26.0.tar.gz", ) python_configure(name = "local_config_python") diff --git a/bazel/python_rules.bzl b/bazel/python_rules.bzl index 88af99757eb..9c19d7ac2f2 100644 --- a/bazel/python_rules.bzl +++ b/bazel/python_rules.bzl @@ -113,7 +113,7 @@ _gen_py_aspect = aspect( default = Label("//external:protocol_compiler"), providers = ["files_to_run"], executable = True, - cfg = "host", + cfg = "exec", ), "_protobuf_library": attr.label( default = Label("@com_google_protobuf//:protobuf_python"), @@ -169,7 +169,7 @@ py_proto_library = rule( default = Label("//external:protocol_compiler"), providers = ["files_to_run"], executable = True, - cfg = "host", + cfg = "exec", ), "_protobuf_library": attr.label( default = Label("@com_google_protobuf//:protobuf_python"), @@ -222,11 +222,11 @@ def _generate_pb2_grpc_src_impl(context): py_info = _merge_pyinfos( [ p, - context.attr._grpc_library[PyInfo], + context.attr.grpc_library[PyInfo], ] + [dep[PyInfo] for dep in context.attr.py_deps], ) - runfiles = context.runfiles(files = out_files, transitive_files = py_info.transitive_sources).merge(context.attr._grpc_library[DefaultInfo].data_runfiles) + runfiles = context.runfiles(files = out_files, transitive_files = py_info.transitive_sources).merge(context.attr.grpc_library[DefaultInfo].data_runfiles) return [ DefaultInfo( @@ -252,16 +252,16 @@ _generate_pb2_grpc_src = rule( "_grpc_plugin": attr.label( executable = True, providers = ["files_to_run"], - cfg = "host", + cfg = "exec", default = Label("//src/compiler:grpc_python_plugin"), ), "_protoc": attr.label( executable = True, providers = ["files_to_run"], - cfg = "host", + cfg = "exec", default = Label("//external:protocol_compiler"), ), - "_grpc_library": attr.label( + "grpc_library": attr.label( default = Label("//src/python/grpcio/grpc:grpcio"), providers = [PyInfo], ), @@ -274,6 +274,7 @@ def py_grpc_library( srcs, deps, strip_prefixes = [], + grpc_library = Label("//src/python/grpcio/grpc:grpcio"), **kwargs): """Generate python code for gRPC services defined in a protobuf. @@ -287,6 +288,9 @@ def py_grpc_library( stripped from the beginning of foo_pb2 modules imported by the generated stubs. This is useful in combination with the `imports` attribute of the `py_library` rule. + grpc_library: (`label`) a single `py_library` target representing the + python gRPC library target to be depended upon. This can be used to + generate code that depends on `grpcio` from the Python Package Index. **kwargs: Additional arguments to be supplied to the invocation of py_library. """ @@ -301,5 +305,6 @@ def py_grpc_library( deps = srcs, py_deps = deps, strip_prefixes = strip_prefixes, + grpc_library = grpc_library, **kwargs ) diff --git a/bazel/supported_versions.txt b/bazel/supported_versions.txt index b35d8c6ca5d..1197e4958b6 100644 --- a/bazel/supported_versions.txt +++ b/bazel/supported_versions.txt @@ -1,2 +1,2 @@ -6.3.2 -5.4.1 +6.4.0 +7.0.0 diff --git a/bazel/test_experiments.bzl b/bazel/test_experiments.bzl index 21c52e747ad..7d4e037b2dc 100644 --- a/bazel/test_experiments.bzl +++ b/bazel/test_experiments.bzl @@ -16,6 +16,16 @@ """Dictionary of tags to experiments so we know when to test different experiments.""" +TEST_EXPERIMENT_ENABLES = { + "test_experiment_1": "test_experiment_1", + "test_experiment_2": "test_experiment_2", + "test_experiment_3": "test_experiment_3", + "test_experiment_4": "test_experiment_4", +} + +TEST_EXPERIMENT_POLLERS = [ +] + TEST_EXPERIMENTS = { "windows": { "dbg": { diff --git a/bazel/update_mirror.sh b/bazel/update_mirror.sh index 0764874612a..c5f6c84b487 100755 --- a/bazel/update_mirror.sh +++ b/bazel/update_mirror.sh @@ -57,17 +57,12 @@ function upload { # upload "github.com/google/boringssl/archive/1c2769383f027befac5b75b6cedd25daf3bf4dcf.tar.gz" # bazel binaries used by the tools/bazel wrapper script -upload github.com/bazelbuild/bazel/releases/download/5.4.1/bazel-5.4.1-linux-x86_64 -upload github.com/bazelbuild/bazel/releases/download/5.4.1/bazel-5.4.1-darwin-x86_64 -upload github.com/bazelbuild/bazel/releases/download/5.4.1/bazel-5.4.1-windows-x86_64.exe - -upload github.com/bazelbuild/bazel/releases/download/6.1.2/bazel-6.1.2-linux-x86_64 -upload github.com/bazelbuild/bazel/releases/download/6.1.2/bazel-6.1.2-darwin-x86_64 -upload github.com/bazelbuild/bazel/releases/download/6.1.2/bazel-6.1.2-windows-x86_64.exe - -upload github.com/bazelbuild/bazel/releases/download/6.3.2/bazel-6.3.2-linux-x86_64 -upload github.com/bazelbuild/bazel/releases/download/6.3.2/bazel-6.3.2-darwin-x86_64 -upload github.com/bazelbuild/bazel/releases/download/6.3.2/bazel-6.3.2-windows-x86_64.exe +upload github.com/bazelbuild/bazel/releases/download/6.4.0/bazel-6.4.0-linux-x86_64 +upload github.com/bazelbuild/bazel/releases/download/6.4.0/bazel-6.4.0-darwin-x86_64 +upload github.com/bazelbuild/bazel/releases/download/6.4.0/bazel-6.4.0-windows-x86_64.exe +upload github.com/bazelbuild/bazel/releases/download/7.0.0/bazel-7.0.0-linux-x86_64 +upload github.com/bazelbuild/bazel/releases/download/7.0.0/bazel-7.0.0-darwin-x86_64 +upload github.com/bazelbuild/bazel/releases/download/7.0.0/bazel-7.0.0-windows-x86_64.exe # Collect the github archives to mirror from grpc_deps.bzl grep -o '"https://github.com/[^"]*"' bazel/grpc_deps.bzl | sed 's/^"https:\/\///' | sed 's/"$//' | while read -r line ; do diff --git a/black.toml b/black.toml index 55087061282..e655f7f8e7e 100644 --- a/black.toml +++ b/black.toml @@ -19,8 +19,12 @@ extend-exclude = ''' | src/python/grpcio/grpc/_grpcio_metadata.py # AUTO-GENERATED BY make_grpcio_tools.py | tools/distrib/python/grpcio_tools/protoc_lib_deps.py + # AUTO-GENERATED BY make_grpcio_observability.py + | src/python/grpcio_observability/observability_lib_deps.py | .*_pb2.py # autogenerated Protocol Buffer files | .*_pb2_grpc.py # autogenerated Protocol Buffer gRPC files + # AUTO-GENERATED By tools/distrib/python/xds_protos/build.py + | tools/distrib/python/xds_protos/.* ) ''' @@ -30,7 +34,6 @@ line_length = 80 src_paths = [ "examples/python/data_transmission", "examples/python/async_streaming", - "tools/run_tests/xds_k8s_test_driver", "src/python/grpcio_tests", "tools/run_tests", ] @@ -40,11 +43,12 @@ known_first_party = [ ] known_third_party = ["grpc"] skip_glob = [ - "third_party/*", + "*/third_party/*", "*/env/*", "*pb2*.py", "*pb2*.pyi", "**/site-packages/**/*", + "tools/distrib/python/xds_protos/*", ] single_line_exclusions = ["typing"] force_single_line = true diff --git a/build_autogenerated.yaml b/build_autogenerated.yaml index 543ab4b9148..cd50e12b948 100644 --- a/build_autogenerated.yaml +++ b/build_autogenerated.yaml @@ -16,6 +16,7 @@ libs: build: all language: c public_headers: + - include/grpc/impl/call.h - include/grpc/impl/codegen/atm.h - include/grpc/impl/codegen/atm_gcc_atomic.h - include/grpc/impl/codegen/atm_gcc_sync.h @@ -106,7 +107,6 @@ libs: - src/core/lib/gpr/windows/sync.cc - src/core/lib/gpr/windows/time.cc - src/core/lib/gpr/windows/tmpfile.cc - - src/core/lib/gpr/wrap_memcpy.cc - src/core/lib/gprpp/crash.cc - src/core/lib/gprpp/examine_stack.cc - src/core/lib/gprpp/fork.cc @@ -148,6 +148,7 @@ libs: - include/grpc/compression.h - include/grpc/event_engine/endpoint_config.h - include/grpc/event_engine/event_engine.h + - include/grpc/event_engine/extensible.h - include/grpc/event_engine/internal/memory_allocator_impl.h - include/grpc/event_engine/internal/slice_cast.h - include/grpc/event_engine/memory_allocator.h @@ -158,9 +159,11 @@ libs: - include/grpc/fork.h - include/grpc/grpc.h - include/grpc/grpc_audit_logging.h + - include/grpc/grpc_crl_provider.h - include/grpc/grpc_posix.h - include/grpc/grpc_security.h - include/grpc/grpc_security_constants.h + - include/grpc/impl/call.h - include/grpc/impl/channel_arg_names.h - include/grpc/impl/codegen/atm.h - include/grpc/impl/codegen/atm_gcc_atomic.h @@ -213,67 +216,38 @@ libs: - include/grpc/support/time.h - include/grpc/support/workaround_list.h headers: + - src/core/client_channel/backup_poller.h + - src/core/client_channel/client_channel_channelz.h + - src/core/client_channel/client_channel_factory.h + - src/core/client_channel/client_channel_filter.h + - src/core/client_channel/client_channel_internal.h + - src/core/client_channel/client_channel_service_config.h + - src/core/client_channel/config_selector.h + - src/core/client_channel/connector.h + - src/core/client_channel/dynamic_filters.h + - src/core/client_channel/global_subchannel_pool.h + - src/core/client_channel/http_proxy_mapper.h + - src/core/client_channel/local_subchannel_pool.h + - src/core/client_channel/retry_filter.h + - src/core/client_channel/retry_filter_legacy_call_data.h + - src/core/client_channel/retry_service_config.h + - src/core/client_channel/retry_throttle.h + - src/core/client_channel/subchannel.h + - src/core/client_channel/subchannel_interface_internal.h + - src/core/client_channel/subchannel_pool_interface.h + - src/core/client_channel/subchannel_stream_client.h - src/core/ext/filters/backend_metrics/backend_metric_filter.h - src/core/ext/filters/backend_metrics/backend_metric_provider.h - src/core/ext/filters/channel_idle/channel_idle_filter.h - src/core/ext/filters/channel_idle/idle_filter_state.h - - src/core/ext/filters/client_channel/backend_metric.h - - src/core/ext/filters/client_channel/backup_poller.h - - src/core/ext/filters/client_channel/client_channel.h - - src/core/ext/filters/client_channel/client_channel_channelz.h - - src/core/ext/filters/client_channel/client_channel_factory.h - - src/core/ext/filters/client_channel/client_channel_internal.h - - src/core/ext/filters/client_channel/client_channel_service_config.h - - src/core/ext/filters/client_channel/config_selector.h - - src/core/ext/filters/client_channel/connector.h - - src/core/ext/filters/client_channel/dynamic_filters.h - - src/core/ext/filters/client_channel/global_subchannel_pool.h - - src/core/ext/filters/client_channel/http_proxy_mapper.h - - src/core/ext/filters/client_channel/lb_policy/address_filtering.h - - src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h - - src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h - - src/core/ext/filters/client_channel/lb_policy/endpoint_list.h - - src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h - - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h - - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h - - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h - - src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h - - src/core/ext/filters/client_channel/lb_policy/health_check_client.h - - src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h - - src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h - - src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h - - src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h - - src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h - - src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h - - src/core/ext/filters/client_channel/lb_policy/subchannel_list.h - - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h - - src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h - - src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h - - src/core/ext/filters/client_channel/local_subchannel_pool.h - - src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h - - src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h - - src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h - - src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h - - src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h - - src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h - - src/core/ext/filters/client_channel/resolver/polling_resolver.h - - src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h - - src/core/ext/filters/client_channel/retry_filter.h - - src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h - - src/core/ext/filters/client_channel/retry_service_config.h - - src/core/ext/filters/client_channel/retry_throttle.h - - src/core/ext/filters/client_channel/subchannel.h - - src/core/ext/filters/client_channel/subchannel_interface_internal.h - - src/core/ext/filters/client_channel/subchannel_pool_interface.h - - src/core/ext/filters/client_channel/subchannel_stream_client.h + - src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h - src/core/ext/filters/deadline/deadline_filter.h - src/core/ext/filters/fault_injection/fault_injection_filter.h - src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h - src/core/ext/filters/http/client/http_client_filter.h - src/core/ext/filters/http/client_authority_filter.h - src/core/ext/filters/http/message_compress/compression_filter.h + - src/core/ext/filters/http/message_compress/legacy_compression_filter.h - src/core/ext/filters/http/server/http_server_filter.h - src/core/ext/filters/message_size/message_size_filter.h - src/core/ext/filters/rbac/rbac_filter.h @@ -292,6 +266,7 @@ libs: - src/core/ext/transport/chttp2/transport/context_list_entry.h - src/core/ext/transport/chttp2/transport/decode_huff.h - src/core/ext/transport/chttp2/transport/flow_control.h + - src/core/ext/transport/chttp2/transport/frame.h - src/core/ext/transport/chttp2/transport/frame_data.h - src/core/ext/transport/chttp2/transport/frame_goaway.h - src/core/ext/transport/chttp2/transport/frame_ping.h @@ -309,323 +284,496 @@ libs: - src/core/ext/transport/chttp2/transport/huffsyms.h - src/core/ext/transport/chttp2/transport/internal.h - src/core/ext/transport/chttp2/transport/legacy_frame.h + - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h - src/core/ext/transport/chttp2/transport/ping_abuse_policy.h + - src/core/ext/transport/chttp2/transport/ping_callbacks.h - src/core/ext/transport/chttp2/transport/ping_rate_policy.h - src/core/ext/transport/chttp2/transport/varint.h + - src/core/ext/transport/chttp2/transport/write_size_policy.h - src/core/ext/transport/inproc/inproc_transport.h - - src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h - - src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h - - src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h - - src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h - - src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h - - src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h - - src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h - - src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h - - src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h - - src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h - - src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h - - src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h - - src/core/ext/upb-generated/envoy/annotations/resource.upb.h - - src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h - - src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h - - src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h - - src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h - - src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h - - src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h - - src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h - - src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h - - src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h - - src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h - - src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h - - src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h - - src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h - - src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h - - src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h - - src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h - - src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h - - src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h - - src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h - - src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h - - src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h - - src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h - - src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h - - src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h - - src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h - - src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h - - src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h - - src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h - - src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h - - src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h - - src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h - - src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h - - src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h - - src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h - - src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h - - src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h - - src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h - - src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h - - src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h - - src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h - - src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h - - src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h - - src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h - - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h - - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h - - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h - - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h - - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h - - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h - - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h - - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h - - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h - - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h - - src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h - - src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h - - src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h - - src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h - - src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h - - src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h - - src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h - - src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h - - src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h - - src/core/ext/upb-generated/envoy/type/v3/http.upb.h - - src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h - - src/core/ext/upb-generated/envoy/type/v3/percent.upb.h - - src/core/ext/upb-generated/envoy/type/v3/range.upb.h - - src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h - - src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h - - src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h - - src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h - - src/core/ext/upb-generated/google/api/annotations.upb.h - - src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h - - src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h - - src/core/ext/upb-generated/google/api/http.upb.h - - src/core/ext/upb-generated/google/api/httpbody.upb.h - - src/core/ext/upb-generated/google/protobuf/any.upb.h - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - src/core/ext/upb-generated/google/protobuf/duration.upb.h - - src/core/ext/upb-generated/google/protobuf/empty.upb.h - - src/core/ext/upb-generated/google/protobuf/struct.upb.h - - src/core/ext/upb-generated/google/protobuf/timestamp.upb.h - - src/core/ext/upb-generated/google/protobuf/wrappers.upb.h - - src/core/ext/upb-generated/google/rpc/status.upb.h - - src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h - - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h - - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h - - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h - - src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h - - src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h - - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h - - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h - - src/core/ext/upb-generated/udpa/annotations/migrate.upb.h - - src/core/ext/upb-generated/udpa/annotations/security.upb.h - - src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h - - src/core/ext/upb-generated/udpa/annotations/status.upb.h - - src/core/ext/upb-generated/udpa/annotations/versioning.upb.h - - src/core/ext/upb-generated/validate/validate.upb.h - - src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h - - src/core/ext/upb-generated/xds/annotations/v3/security.upb.h - - src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h - - src/core/ext/upb-generated/xds/annotations/v3/status.upb.h - - src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h - - src/core/ext/upb-generated/xds/core/v3/authority.upb.h - - src/core/ext/upb-generated/xds/core/v3/cidr.upb.h - - src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h - - src/core/ext/upb-generated/xds/core/v3/context_params.upb.h - - src/core/ext/upb-generated/xds/core/v3/extension.upb.h - - src/core/ext/upb-generated/xds/core/v3/resource.upb.h - - src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h - - src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h - - src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h - - src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h - - src/core/ext/upb-generated/xds/type/v3/cel.upb.h - - src/core/ext/upb-generated/xds/type/v3/range.upb.h - - src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h - - src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h - - src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h - - src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h - - src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h - - src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h - - src/core/ext/upbdefs-generated/google/api/http.upbdefs.h - - src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h - - src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h - - src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h - - src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h - - src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h - - src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h - - src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h - - src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h - - src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h - - src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h - - src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h - - src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h - - src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h - - src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h - - src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h - - src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h - - src/core/ext/upbdefs-generated/validate/validate.upbdefs.h - - src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h - - src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h - - src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h - - src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h - - src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h - - src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h - - src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h - - src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h - - src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h - - src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h - - src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h - - src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h - - src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h - - src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h - - src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h - - src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h + - src/core/ext/transport/inproc/legacy_inproc_transport.h + - src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h + - src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h + - src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h + - src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h + - src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h + - src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h + - src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h + - src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h + - src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h + - src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h + - src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h + - src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h + - src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h + - src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h + - src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h + - src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h + - src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h + - src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h + - src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h + - src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h + - src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h + - src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h + - src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h + - src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h + - src/core/ext/upb-gen/envoy/annotations/resource.upb.h + - src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h + - src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h + - src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h + - src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h + - src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h + - src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h + - src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h + - src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h + - src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h + - src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h + - src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h + - src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h + - src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h + - src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h + - src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h + - src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h + - src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h + - src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h + - src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h + - src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h + - src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h + - src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h + - src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h + - src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h + - src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h + - src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h + - src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h + - src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h + - src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h + - src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h + - src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h + - src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h + - src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h + - src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h + - src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h + - src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h + - src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h + - src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h + - src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h + - src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h + - src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h + - src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h + - src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h + - src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h + - src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h + - src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h + - src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h + - src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h + - src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h + - src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h + - src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h + - src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h + - src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h + - src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h + - src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h + - src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h + - src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h + - src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h + - src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h + - src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/http.upb.h + - src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h + - src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/percent.upb.h + - src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/range.upb.h + - src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h + - src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h + - src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h + - src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h + - src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h + - src/core/ext/upb-gen/google/api/annotations.upb.h + - src/core/ext/upb-gen/google/api/annotations.upb_minitable.h + - src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h + - src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h + - src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h + - src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h + - src/core/ext/upb-gen/google/api/http.upb.h + - src/core/ext/upb-gen/google/api/http.upb_minitable.h + - src/core/ext/upb-gen/google/api/httpbody.upb.h + - src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/any.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/duration.upb.h + - src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/empty.upb.h + - src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/struct.upb.h + - src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/timestamp.upb.h + - src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/wrappers.upb.h + - src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h + - src/core/ext/upb-gen/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.h + - src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h + - src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h + - src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h + - src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h + - src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h + - src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h + - src/core/ext/upb-gen/udpa/annotations/migrate.upb.h + - src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h + - src/core/ext/upb-gen/udpa/annotations/security.upb.h + - src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h + - src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h + - src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h + - src/core/ext/upb-gen/udpa/annotations/status.upb.h + - src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h + - src/core/ext/upb-gen/udpa/annotations/versioning.upb.h + - src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h + - src/core/ext/upb-gen/validate/validate.upb.h + - src/core/ext/upb-gen/validate/validate.upb_minitable.h + - src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h + - src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h + - src/core/ext/upb-gen/xds/annotations/v3/security.upb.h + - src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h + - src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h + - src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h + - src/core/ext/upb-gen/xds/annotations/v3/status.upb.h + - src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h + - src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h + - src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/authority.upb.h + - src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/cidr.upb.h + - src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h + - src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/context_params.upb.h + - src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/extension.upb.h + - src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/resource.upb.h + - src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h + - src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h + - src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h + - src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h + - src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h + - src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h + - src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h + - src/core/ext/upb-gen/xds/type/v3/cel.upb.h + - src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h + - src/core/ext/upb-gen/xds/type/v3/range.upb.h + - src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h + - src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h + - src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h + - src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h + - src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h + - src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h + - src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h + - src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h + - src/core/ext/upbdefs-gen/google/api/http.upbdefs.h + - src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h + - src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h + - src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h + - src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h + - src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h + - src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h + - src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h + - src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h + - src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h + - src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h + - src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h + - src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h + - src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h + - src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h + - src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h + - src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h + - src/core/ext/upbdefs-gen/validate/validate.upbdefs.h + - src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h + - src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h + - src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h + - src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h + - src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h + - src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h + - src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h + - src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h + - src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h + - src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h + - src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h + - src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h + - src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h + - src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h + - src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h + - src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h - src/core/ext/xds/certificate_provider_store.h - src/core/ext/xds/file_watcher_certificate_provider_factory.h - src/core/ext/xds/upb_utils.h @@ -669,6 +817,7 @@ libs: - src/core/lib/channel/channel_stack.h - src/core/lib/channel/channel_stack_builder.h - src/core/lib/channel/channel_stack_builder_impl.h + - src/core/lib/channel/channel_stack_trace.h - src/core/lib/channel/channel_trace.h - src/core/lib/channel/channelz.h - src/core/lib/channel/channelz_registry.h @@ -676,6 +825,7 @@ libs: - src/core/lib/channel/context.h - src/core/lib/channel/promise_based_filter.h - src/core/lib/channel/status_util.h + - src/core/lib/channel/tcp_tracer.h - src/core/lib/compression/compression_internal.h - src/core/lib/compression/message_compress.h - src/core/lib/config/core_configuration.h @@ -693,6 +843,8 @@ libs: - src/core/lib/event_engine/common_closures.h - src/core/lib/event_engine/default_event_engine.h - src/core/lib/event_engine/default_event_engine_factory.h + - src/core/lib/event_engine/extensions/can_track_errors.h + - src/core/lib/event_engine/extensions/supports_fd.h - src/core/lib/event_engine/forkable.h - src/core/lib/event_engine/grpc_polled_fd.h - src/core/lib/event_engine/handle_containers.h @@ -707,6 +859,7 @@ libs: - src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h - src/core/lib/event_engine/posix_engine/internal_errqueue.h - src/core/lib/event_engine/posix_engine/lockfree_event.h + - src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h - src/core/lib/event_engine/posix_engine/posix_endpoint.h - src/core/lib/event_engine/posix_engine/posix_engine.h - src/core/lib/event_engine/posix_engine/posix_engine_closure.h @@ -721,6 +874,8 @@ libs: - src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h - src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h - src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h + - src/core/lib/event_engine/query_extensions.h + - src/core/lib/event_engine/ref_counted_dns_resolver_interface.h - src/core/lib/event_engine/resolved_address_internal.h - src/core/lib/event_engine/shim.h - src/core/lib/event_engine/tcp_socket_utils.h @@ -731,7 +886,9 @@ libs: - src/core/lib/event_engine/time_util.h - src/core/lib/event_engine/trace.h - src/core/lib/event_engine/utils.h + - src/core/lib/event_engine/windows/grpc_polled_fd_windows.h - src/core/lib/event_engine/windows/iocp.h + - src/core/lib/event_engine/windows/native_windows_dns_resolver.h - src/core/lib/event_engine/windows/win_socket.h - src/core/lib/event_engine/windows/windows_endpoint.h - src/core/lib/event_engine/windows/windows_engine.h @@ -745,6 +902,8 @@ libs: - src/core/lib/gprpp/bitset.h - src/core/lib/gprpp/chunked_vector.h - src/core/lib/gprpp/cpp_impl_of.h + - src/core/lib/gprpp/directory_reader.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/dual_ref_counted.h - src/core/lib/gprpp/if_list.h - src/core/lib/gprpp/load_file.h @@ -768,6 +927,7 @@ libs: - src/core/lib/gprpp/unique_type_name.h - src/core/lib/gprpp/validation_errors.h - src/core/lib/gprpp/work_serializer.h + - src/core/lib/gprpp/xxhash_inline.h - src/core/lib/handshaker/proxy_mapper.h - src/core/lib/handshaker/proxy_mapper_registry.h - src/core/lib/http/format_request.h @@ -802,7 +962,6 @@ libs: - src/core/lib/iomgr/iomgr.h - src/core/lib/iomgr/iomgr_fwd.h - src/core/lib/iomgr/iomgr_internal.h - - src/core/lib/iomgr/load_file.h - src/core/lib/iomgr/lockfree_event.h - src/core/lib/iomgr/nameser.h - src/core/lib/iomgr/polling_entity.h @@ -847,17 +1006,14 @@ libs: - src/core/lib/json/json_reader.h - src/core/lib/json/json_util.h - src/core/lib/json/json_writer.h - - src/core/lib/load_balancing/delegating_helper.h - - src/core/lib/load_balancing/lb_policy.h - - src/core/lib/load_balancing/lb_policy_factory.h - - src/core/lib/load_balancing/lb_policy_registry.h - - src/core/lib/load_balancing/subchannel_interface.h - src/core/lib/matchers/matchers.h - src/core/lib/promise/activity.h + - src/core/lib/promise/all_ok.h - src/core/lib/promise/arena_promise.h - src/core/lib/promise/cancel_callback.h - src/core/lib/promise/context.h - src/core/lib/promise/detail/basic_seq.h + - src/core/lib/promise/detail/join_state.h - src/core/lib/promise/detail/promise_factory.h - src/core/lib/promise/detail/promise_like.h - src/core/lib/promise/detail/seq_state.h @@ -877,12 +1033,10 @@ libs: - src/core/lib/promise/race.h - src/core/lib/promise/seq.h - src/core/lib/promise/sleep.h + - src/core/lib/promise/status_flag.h - src/core/lib/promise/trace.h + - src/core/lib/promise/try_join.h - src/core/lib/promise/try_seq.h - - src/core/lib/resolver/resolver.h - - src/core/lib/resolver/resolver_factory.h - - src/core/lib/resolver/resolver_registry.h - - src/core/lib/resolver/server_address.h - src/core/lib/resource_quota/api.h - src/core/lib/resource_quota/arena.h - src/core/lib/resource_quota/memory_quota.h @@ -929,6 +1083,7 @@ libs: - src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h - src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h - src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h + - src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h - src/core/lib/security/credentials/tls/tls_credentials.h - src/core/lib/security/credentials/tls/tls_utils.h - src/core/lib/security/credentials/xds/xds_credentials.h @@ -947,10 +1102,6 @@ libs: - src/core/lib/security/transport/security_handshaker.h - src/core/lib/security/transport/tsi_error.h - src/core/lib/security/util/json_util.h - - src/core/lib/service_config/service_config.h - - src/core/lib/service_config/service_config_call_data.h - - src/core/lib/service_config/service_config_impl.h - - src/core/lib/service_config/service_config_parser.h - src/core/lib/slice/b64.h - src/core/lib/slice/percent_encoding.h - src/core/lib/slice/slice.h @@ -974,8 +1125,14 @@ libs: - src/core/lib/surface/lame_client.h - src/core/lib/surface/server.h - src/core/lib/surface/validate_metadata.h + - src/core/lib/surface/wait_for_cq_end_op.h - src/core/lib/transport/batch_builder.h - src/core/lib/transport/bdp_estimator.h + - src/core/lib/transport/call_factory.h + - src/core/lib/transport/call_filters.h + - src/core/lib/transport/call_final_info.h + - src/core/lib/transport/call_size_estimator.h + - src/core/lib/transport/call_spine.h - src/core/lib/transport/connectivity_state.h - src/core/lib/transport/custom_metadata.h - src/core/lib/transport/error_utils.h @@ -984,18 +1141,65 @@ libs: - src/core/lib/transport/handshaker_registry.h - src/core/lib/transport/http2_errors.h - src/core/lib/transport/http_connect_handshaker.h + - src/core/lib/transport/message.h + - src/core/lib/transport/metadata.h - src/core/lib/transport/metadata_batch.h - src/core/lib/transport/metadata_compression_traits.h - src/core/lib/transport/parsed_metadata.h - - src/core/lib/transport/pid_controller.h - src/core/lib/transport/simple_slice_based_metadata.h - src/core/lib/transport/status_conversion.h - src/core/lib/transport/tcp_connect_handshaker.h - src/core/lib/transport/timeout_encoding.h - src/core/lib/transport/transport.h - src/core/lib/transport/transport_fwd.h - - src/core/lib/transport/transport_impl.h - src/core/lib/uri/uri_parser.h + - src/core/load_balancing/address_filtering.h + - src/core/load_balancing/backend_metric_data.h + - src/core/load_balancing/backend_metric_parser.h + - src/core/load_balancing/child_policy_handler.h + - src/core/load_balancing/delegating_helper.h + - src/core/load_balancing/endpoint_list.h + - src/core/load_balancing/grpclb/client_load_reporting_filter.h + - src/core/load_balancing/grpclb/grpclb.h + - src/core/load_balancing/grpclb/grpclb_balancer_addresses.h + - src/core/load_balancing/grpclb/grpclb_client_stats.h + - src/core/load_balancing/grpclb/load_balancer_api.h + - src/core/load_balancing/health_check_client.h + - src/core/load_balancing/health_check_client_internal.h + - src/core/load_balancing/lb_policy.h + - src/core/load_balancing/lb_policy_factory.h + - src/core/load_balancing/lb_policy_registry.h + - src/core/load_balancing/oob_backend_metric.h + - src/core/load_balancing/oob_backend_metric_internal.h + - src/core/load_balancing/outlier_detection/outlier_detection.h + - src/core/load_balancing/pick_first/pick_first.h + - src/core/load_balancing/ring_hash/ring_hash.h + - src/core/load_balancing/subchannel_interface.h + - src/core/load_balancing/subchannel_list.h + - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h + - src/core/load_balancing/xds/xds_channel_args.h + - src/core/load_balancing/xds/xds_override_host.h + - src/core/resolver/dns/c_ares/dns_resolver_ares.h + - src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h + - src/core/resolver/dns/c_ares/grpc_ares_wrapper.h + - src/core/resolver/dns/dns_resolver_plugin.h + - src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h + - src/core/resolver/dns/event_engine/service_config_helper.h + - src/core/resolver/dns/native/dns_resolver.h + - src/core/resolver/endpoint_addresses.h + - src/core/resolver/fake/fake_resolver.h + - src/core/resolver/polling_resolver.h + - src/core/resolver/resolver.h + - src/core/resolver/resolver_factory.h + - src/core/resolver/resolver_registry.h + - src/core/resolver/server_address.h + - src/core/resolver/xds/xds_dependency_manager.h + - src/core/resolver/xds/xds_resolver_attributes.h + - src/core/resolver/xds/xds_resolver_trace.h + - src/core/service_config/service_config.h + - src/core/service_config/service_config_call_data.h + - src/core/service_config/service_config_impl.h + - src/core/service_config/service_config_parser.h - src/core/tsi/alts/crypt/gsec.h - src/core/tsi/alts/frame_protector/alts_counter.h - src/core/tsi/alts/frame_protector/alts_crypter.h @@ -1026,76 +1230,32 @@ libs: - src/core/tsi/transport_security_grpc.h - src/core/tsi/transport_security_interface.h - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/port/def.inc - - third_party/upb/upb/port/undef.inc - third_party/xxhash/xxhash.h src: + - src/core/client_channel/backup_poller.cc + - src/core/client_channel/channel_connectivity.cc + - src/core/client_channel/client_channel_channelz.cc + - src/core/client_channel/client_channel_factory.cc + - src/core/client_channel/client_channel_filter.cc + - src/core/client_channel/client_channel_plugin.cc + - src/core/client_channel/client_channel_service_config.cc + - src/core/client_channel/config_selector.cc + - src/core/client_channel/dynamic_filters.cc + - src/core/client_channel/global_subchannel_pool.cc + - src/core/client_channel/http_proxy_mapper.cc + - src/core/client_channel/local_subchannel_pool.cc + - src/core/client_channel/retry_filter.cc + - src/core/client_channel/retry_filter_legacy_call_data.cc + - src/core/client_channel/retry_service_config.cc + - src/core/client_channel/retry_throttle.cc + - src/core/client_channel/subchannel.cc + - src/core/client_channel/subchannel_pool_interface.cc + - src/core/client_channel/subchannel_stream_client.cc - src/core/ext/filters/backend_metrics/backend_metric_filter.cc - src/core/ext/filters/census/grpc_context.cc - src/core/ext/filters/channel_idle/channel_idle_filter.cc - src/core/ext/filters/channel_idle/idle_filter_state.cc - - src/core/ext/filters/client_channel/backend_metric.cc - - src/core/ext/filters/client_channel/backup_poller.cc - - src/core/ext/filters/client_channel/channel_connectivity.cc - - src/core/ext/filters/client_channel/client_channel.cc - - src/core/ext/filters/client_channel/client_channel_channelz.cc - - src/core/ext/filters/client_channel/client_channel_factory.cc - - src/core/ext/filters/client_channel/client_channel_plugin.cc - - src/core/ext/filters/client_channel/client_channel_service_config.cc - - src/core/ext/filters/client_channel/config_selector.cc - - src/core/ext/filters/client_channel/dynamic_filters.cc - - src/core/ext/filters/client_channel/global_subchannel_pool.cc - - src/core/ext/filters/client_channel/http_proxy_mapper.cc - - src/core/ext/filters/client_channel/lb_policy/address_filtering.cc - - src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc - - src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc - - src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc - - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc - - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc - - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc - - src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc - - src/core/ext/filters/client_channel/lb_policy/health_check_client.cc - - src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc - - src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc - - src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc - - src/core/ext/filters/client_channel/lb_policy/priority/priority.cc - - src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc - - src/core/ext/filters/client_channel/lb_policy/rls/rls.cc - - src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc - - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc - - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc - - src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc - - src/core/ext/filters/client_channel/lb_policy/xds/cds.cc - - src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc - - src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc - - src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc - - src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc - - src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc - - src/core/ext/filters/client_channel/local_subchannel_pool.cc - - src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc - - src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc - - src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc - - src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc - - src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc - - src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc - - src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc - - src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc - - src/core/ext/filters/client_channel/resolver/polling_resolver.cc - - src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc - - src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc - - src/core/ext/filters/client_channel/retry_filter.cc - - src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc - - src/core/ext/filters/client_channel/retry_service_config.cc - - src/core/ext/filters/client_channel/retry_throttle.cc - - src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc - - src/core/ext/filters/client_channel/subchannel.cc - - src/core/ext/filters/client_channel/subchannel_pool_interface.cc - - src/core/ext/filters/client_channel/subchannel_stream_client.cc + - src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc - src/core/ext/filters/deadline/deadline_filter.cc - src/core/ext/filters/fault_injection/fault_injection_filter.cc - src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc @@ -1103,6 +1263,7 @@ libs: - src/core/ext/filters/http/client_authority_filter.cc - src/core/ext/filters/http/http_filters_plugin.cc - src/core/ext/filters/http/message_compress/compression_filter.cc + - src/core/ext/filters/http/message_compress/legacy_compression_filter.cc - src/core/ext/filters/http/server/http_server_filter.cc - src/core/ext/filters/message_size/message_size_filter.cc - src/core/ext/filters/rbac/rbac_filter.cc @@ -1119,6 +1280,7 @@ libs: - src/core/ext/transport/chttp2/transport/chttp2_transport.cc - src/core/ext/transport/chttp2/transport/decode_huff.cc - src/core/ext/transport/chttp2/transport/flow_control.cc + - src/core/ext/transport/chttp2/transport/frame.cc - src/core/ext/transport/chttp2/transport/frame_data.cc - src/core/ext/transport/chttp2/transport/frame_goaway.cc - src/core/ext/transport/chttp2/transport/frame_ping.cc @@ -1133,327 +1295,335 @@ libs: - src/core/ext/transport/chttp2/transport/http2_settings.cc - src/core/ext/transport/chttp2/transport/http_trace.cc - src/core/ext/transport/chttp2/transport/huffsyms.cc + - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc - src/core/ext/transport/chttp2/transport/parsing.cc - src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc + - src/core/ext/transport/chttp2/transport/ping_callbacks.cc - src/core/ext/transport/chttp2/transport/ping_rate_policy.cc - src/core/ext/transport/chttp2/transport/stream_lists.cc - src/core/ext/transport/chttp2/transport/varint.cc + - src/core/ext/transport/chttp2/transport/write_size_policy.cc - src/core/ext/transport/chttp2/transport/writing.cc - src/core/ext/transport/inproc/inproc_plugin.cc - src/core/ext/transport/inproc/inproc_transport.cc - - src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c - - src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c - - src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c - - src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c - - src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c - - src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c - - src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c - - src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c - - src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c - - src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c - - src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c - - src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c - - src/core/ext/upb-generated/envoy/annotations/resource.upb.c - - src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c - - src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c - - src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c - - src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c - - src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c - - src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c - - src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c - - src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c - - src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c - - src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c - - src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c - - src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c - - src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c - - src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c - - src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c - - src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c - - src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c - - src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c - - src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c - - src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c - - src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c - - src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c - - src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c - - src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c - - src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c - - src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c - - src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c - - src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c - - src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c - - src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c - - src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c - - src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c - - src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c - - src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c - - src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c - - src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c - - src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c - - src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c - - src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c - - src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c - - src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c - - src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c - - src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c - - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c - - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c - - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c - - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c - - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c - - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c - - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c - - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c - - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c - - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c - - src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c - - src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c - - src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c - - src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c - - src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c - - src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c - - src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c - - src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c - - src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c - - src/core/ext/upb-generated/envoy/type/v3/http.upb.c - - src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c - - src/core/ext/upb-generated/envoy/type/v3/percent.upb.c - - src/core/ext/upb-generated/envoy/type/v3/range.upb.c - - src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c - - src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c - - src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c - - src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c - - src/core/ext/upb-generated/google/api/annotations.upb.c - - src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c - - src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c - - src/core/ext/upb-generated/google/api/http.upb.c - - src/core/ext/upb-generated/google/api/httpbody.upb.c - - src/core/ext/upb-generated/google/protobuf/any.upb.c - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - - src/core/ext/upb-generated/google/protobuf/duration.upb.c - - src/core/ext/upb-generated/google/protobuf/empty.upb.c - - src/core/ext/upb-generated/google/protobuf/struct.upb.c - - src/core/ext/upb-generated/google/protobuf/timestamp.upb.c - - src/core/ext/upb-generated/google/protobuf/wrappers.upb.c - - src/core/ext/upb-generated/google/rpc/status.upb.c - - src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c - - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c - - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c - - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c - - src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c - - src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c - - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c - - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c - - src/core/ext/upb-generated/udpa/annotations/migrate.upb.c - - src/core/ext/upb-generated/udpa/annotations/security.upb.c - - src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c - - src/core/ext/upb-generated/udpa/annotations/status.upb.c - - src/core/ext/upb-generated/udpa/annotations/versioning.upb.c - - src/core/ext/upb-generated/validate/validate.upb.c - - src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c - - src/core/ext/upb-generated/xds/annotations/v3/security.upb.c - - src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c - - src/core/ext/upb-generated/xds/annotations/v3/status.upb.c - - src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c - - src/core/ext/upb-generated/xds/core/v3/authority.upb.c - - src/core/ext/upb-generated/xds/core/v3/cidr.upb.c - - src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c - - src/core/ext/upb-generated/xds/core/v3/context_params.upb.c - - src/core/ext/upb-generated/xds/core/v3/extension.upb.c - - src/core/ext/upb-generated/xds/core/v3/resource.upb.c - - src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c - - src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c - - src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c - - src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c - - src/core/ext/upb-generated/xds/type/v3/cel.upb.c - - src/core/ext/upb-generated/xds/type/v3/range.upb.c - - src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c - - src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c - - src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c - - src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c - - src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c - - src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c - - src/core/ext/upbdefs-generated/google/api/http.upbdefs.c - - src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c - - src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c - - src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c - - src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c - - src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c - - src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c - - src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c - - src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c - - src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c - - src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c - - src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c - - src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c - - src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c - - src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c - - src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c - - src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c - - src/core/ext/upbdefs-generated/validate/validate.upbdefs.c - - src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c - - src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c - - src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c - - src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c - - src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c - - src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c - - src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c - - src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c - - src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c - - src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c - - src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c - - src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c - - src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c - - src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c - - src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c - - src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c - - src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c + - src/core/ext/transport/inproc/legacy_inproc_transport.cc + - src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c + - src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c + - src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c + - src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c + - src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c + - src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c + - src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c + - src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c + - src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c + - src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c + - src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c + - src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c + - src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c + - src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c + - src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c + - src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c + - src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c + - src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c + - src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c + - src/core/ext/upb-gen/google/api/annotations.upb_minitable.c + - src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c + - src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c + - src/core/ext/upb-gen/google/api/http.upb_minitable.c + - src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c + - src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c + - src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c + - src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c + - src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c + - src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c + - src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c + - src/core/ext/upb-gen/validate/validate.upb_minitable.c + - src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c + - src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c + - src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c + - src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c + - src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c + - src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c + - src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c + - src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c + - src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c + - src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c + - src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c + - src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c + - src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c + - src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c + - src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c + - src/core/ext/upbdefs-gen/google/api/http.upbdefs.c + - src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c + - src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c + - src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c + - src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c + - src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c + - src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c + - src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c + - src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c + - src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c + - src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c + - src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c + - src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c + - src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c + - src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c + - src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c + - src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c + - src/core/ext/upbdefs-gen/validate/validate.upbdefs.c + - src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c + - src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c + - src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c + - src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c + - src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c + - src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c + - src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c + - src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c + - src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c + - src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c + - src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c + - src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c + - src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c + - src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c + - src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c + - src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c + - src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c - src/core/ext/xds/certificate_provider_store.cc - src/core/ext/xds/file_watcher_certificate_provider_factory.cc - src/core/ext/xds/xds_api.cc @@ -1490,6 +1660,7 @@ libs: - src/core/lib/channel/channel_stack.cc - src/core/lib/channel/channel_stack_builder.cc - src/core/lib/channel/channel_stack_builder_impl.cc + - src/core/lib/channel/channel_stack_trace.cc - src/core/lib/channel/channel_trace.cc - src/core/lib/channel/channelz.cc - src/core/lib/channel/channelz_registry.cc @@ -1515,12 +1686,12 @@ libs: - src/core/lib/event_engine/default_event_engine_factory.cc - src/core/lib/event_engine/event_engine.cc - src/core/lib/event_engine/forkable.cc - - src/core/lib/event_engine/memory_allocator.cc - src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc - src/core/lib/event_engine/posix_engine/ev_poll_posix.cc - src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc - src/core/lib/event_engine/posix_engine/internal_errqueue.cc - src/core/lib/event_engine/posix_engine/lockfree_event.cc + - src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc - src/core/lib/event_engine/posix_engine/posix_endpoint.cc - src/core/lib/event_engine/posix_engine/posix_engine.cc - src/core/lib/event_engine/posix_engine/posix_engine_listener.cc @@ -1545,7 +1716,9 @@ libs: - src/core/lib/event_engine/time_util.cc - src/core/lib/event_engine/trace.cc - src/core/lib/event_engine/utils.cc + - src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc - src/core/lib/event_engine/windows/iocp.cc + - src/core/lib/event_engine/windows/native_windows_dns_resolver.cc - src/core/lib/event_engine/windows/win_socket.cc - src/core/lib/event_engine/windows/windows_endpoint.cc - src/core/lib/event_engine/windows/windows_engine.cc @@ -1555,11 +1728,13 @@ libs: - src/core/lib/experiments/experiments.cc - src/core/lib/gprpp/load_file.cc - src/core/lib/gprpp/per_cpu.cc + - src/core/lib/gprpp/posix/directory_reader.cc - src/core/lib/gprpp/ref_counted_string.cc - src/core/lib/gprpp/status_helper.cc - src/core/lib/gprpp/time.cc - src/core/lib/gprpp/time_averaged_stats.cc - src/core/lib/gprpp/validation_errors.cc + - src/core/lib/gprpp/windows/directory_reader.cc - src/core/lib/gprpp/work_serializer.cc - src/core/lib/handshaker/proxy_mapper_registry.cc - src/core/lib/http/format_request.cc @@ -1602,7 +1777,6 @@ libs: - src/core/lib/iomgr/iomgr_posix.cc - src/core/lib/iomgr/iomgr_posix_cfstream.cc - src/core/lib/iomgr/iomgr_windows.cc - - src/core/lib/iomgr/load_file.cc - src/core/lib/iomgr/lockfree_event.cc - src/core/lib/iomgr/polling_entity.cc - src/core/lib/iomgr/pollset.cc @@ -1648,16 +1822,11 @@ libs: - src/core/lib/json/json_reader.cc - src/core/lib/json/json_util.cc - src/core/lib/json/json_writer.cc - - src/core/lib/load_balancing/lb_policy.cc - - src/core/lib/load_balancing/lb_policy_registry.cc - src/core/lib/matchers/matchers.cc - src/core/lib/promise/activity.cc - src/core/lib/promise/party.cc - src/core/lib/promise/sleep.cc - src/core/lib/promise/trace.cc - - src/core/lib/resolver/resolver.cc - - src/core/lib/resolver/resolver_registry.cc - - src/core/lib/resolver/server_address.cc - src/core/lib/resource_quota/api.cc - src/core/lib/resource_quota/arena.cc - src/core/lib/resource_quota/memory_quota.cc @@ -1709,6 +1878,7 @@ libs: - src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc - src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc - src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc + - src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc - src/core/lib/security/credentials/tls/tls_credentials.cc - src/core/lib/security/credentials/tls/tls_utils.cc - src/core/lib/security/credentials/xds/xds_credentials.cc @@ -1717,19 +1887,19 @@ libs: - src/core/lib/security/security_connector/insecure/insecure_security_connector.cc - src/core/lib/security/security_connector/load_system_roots_fallback.cc - src/core/lib/security/security_connector/load_system_roots_supported.cc + - src/core/lib/security/security_connector/load_system_roots_windows.cc - src/core/lib/security/security_connector/local/local_security_connector.cc - src/core/lib/security/security_connector/security_connector.cc - src/core/lib/security/security_connector/ssl/ssl_security_connector.cc - src/core/lib/security/security_connector/ssl_utils.cc - src/core/lib/security/security_connector/tls/tls_security_connector.cc - src/core/lib/security/transport/client_auth_filter.cc + - src/core/lib/security/transport/legacy_server_auth_filter.cc - src/core/lib/security/transport/secure_endpoint.cc - src/core/lib/security/transport/security_handshaker.cc - src/core/lib/security/transport/server_auth_filter.cc - src/core/lib/security/transport/tsi_error.cc - src/core/lib/security/util/json_util.cc - - src/core/lib/service_config/service_config_impl.cc - - src/core/lib/service_config/service_config_parser.cc - src/core/lib/slice/b64.cc - src/core/lib/slice/percent_encoding.cc - src/core/lib/slice/slice.cc @@ -1743,7 +1913,6 @@ libs: - src/core/lib/surface/call.cc - src/core/lib/surface/call_details.cc - src/core/lib/surface/call_log_batch.cc - - src/core/lib/surface/call_trace.cc - src/core/lib/surface/channel.cc - src/core/lib/surface/channel_init.cc - src/core/lib/surface/channel_ping.cc @@ -1758,24 +1927,82 @@ libs: - src/core/lib/surface/server.cc - src/core/lib/surface/validate_metadata.cc - src/core/lib/surface/version.cc + - src/core/lib/surface/wait_for_cq_end_op.cc - src/core/lib/transport/batch_builder.cc - src/core/lib/transport/bdp_estimator.cc + - src/core/lib/transport/call_factory.cc + - src/core/lib/transport/call_filters.cc + - src/core/lib/transport/call_final_info.cc + - src/core/lib/transport/call_size_estimator.cc + - src/core/lib/transport/call_spine.cc - src/core/lib/transport/connectivity_state.cc - src/core/lib/transport/error_utils.cc - src/core/lib/transport/handshaker.cc - src/core/lib/transport/handshaker_registry.cc - src/core/lib/transport/http_connect_handshaker.cc + - src/core/lib/transport/message.cc + - src/core/lib/transport/metadata.cc - src/core/lib/transport/metadata_batch.cc - src/core/lib/transport/parsed_metadata.cc - - src/core/lib/transport/pid_controller.cc - src/core/lib/transport/status_conversion.cc - src/core/lib/transport/tcp_connect_handshaker.cc - src/core/lib/transport/timeout_encoding.cc - src/core/lib/transport/transport.cc - src/core/lib/transport/transport_op_string.cc - src/core/lib/uri/uri_parser.cc + - src/core/load_balancing/address_filtering.cc + - src/core/load_balancing/backend_metric_parser.cc + - src/core/load_balancing/child_policy_handler.cc + - src/core/load_balancing/endpoint_list.cc + - src/core/load_balancing/grpclb/client_load_reporting_filter.cc + - src/core/load_balancing/grpclb/grpclb.cc + - src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc + - src/core/load_balancing/grpclb/grpclb_client_stats.cc + - src/core/load_balancing/grpclb/load_balancer_api.cc + - src/core/load_balancing/health_check_client.cc + - src/core/load_balancing/lb_policy.cc + - src/core/load_balancing/lb_policy_registry.cc + - src/core/load_balancing/oob_backend_metric.cc + - src/core/load_balancing/outlier_detection/outlier_detection.cc + - src/core/load_balancing/pick_first/pick_first.cc + - src/core/load_balancing/priority/priority.cc + - src/core/load_balancing/ring_hash/ring_hash.cc + - src/core/load_balancing/rls/rls.cc + - src/core/load_balancing/round_robin/round_robin.cc + - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc + - src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc + - src/core/load_balancing/weighted_target/weighted_target.cc + - src/core/load_balancing/xds/cds.cc + - src/core/load_balancing/xds/xds_cluster_impl.cc + - src/core/load_balancing/xds/xds_cluster_manager.cc + - src/core/load_balancing/xds/xds_override_host.cc + - src/core/load_balancing/xds/xds_wrr_locality.cc - src/core/plugin_registry/grpc_plugin_registry.cc - src/core/plugin_registry/grpc_plugin_registry_extra.cc + - src/core/resolver/binder/binder_resolver.cc + - src/core/resolver/dns/c_ares/dns_resolver_ares.cc + - src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc + - src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc + - src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc + - src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc + - src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc + - src/core/resolver/dns/dns_resolver_plugin.cc + - src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc + - src/core/resolver/dns/event_engine/service_config_helper.cc + - src/core/resolver/dns/native/dns_resolver.cc + - src/core/resolver/endpoint_addresses.cc + - src/core/resolver/fake/fake_resolver.cc + - src/core/resolver/google_c2p/google_c2p_resolver.cc + - src/core/resolver/polling_resolver.cc + - src/core/resolver/resolver.cc + - src/core/resolver/resolver_registry.cc + - src/core/resolver/sockaddr/sockaddr_resolver.cc + - src/core/resolver/xds/xds_dependency_manager.cc + - src/core/resolver/xds/xds_resolver.cc + - src/core/resolver/xds/xds_resolver_trace.cc + - src/core/service_config/service_config_channel_arg_filter.cc + - src/core/service_config/service_config_impl.cc + - src/core/service_config/service_config_parser.cc - src/core/tsi/alts/crypt/aes_gcm.cc - src/core/tsi/alts/crypt/gsec.cc - src/core/tsi/alts/frame_protector/alts_counter.cc @@ -1806,11 +2033,12 @@ libs: - src/core/tsi/transport_security.cc - src/core/tsi/transport_security_grpc.cc deps: - - re2 - upb_json_lib - upb_textformat_lib + - re2 - z - absl/algorithm:container + - absl/base:config - absl/cleanup:cleanup - absl/container:flat_hash_map - absl/container:flat_hash_set @@ -1819,6 +2047,8 @@ libs: - absl/functional:function_ref - absl/hash:hash - absl/meta:type_traits + - absl/random:bit_gen_ref + - absl/random:distributions - absl/status:statusor - absl/types:span - absl/utility:utility @@ -1896,6 +2126,7 @@ libs: - include/grpc/compression.h - include/grpc/event_engine/endpoint_config.h - include/grpc/event_engine/event_engine.h + - include/grpc/event_engine/extensible.h - include/grpc/event_engine/internal/memory_allocator_impl.h - include/grpc/event_engine/internal/slice_cast.h - include/grpc/event_engine/memory_allocator.h @@ -1906,9 +2137,11 @@ libs: - include/grpc/fork.h - include/grpc/grpc.h - include/grpc/grpc_audit_logging.h + - include/grpc/grpc_crl_provider.h - include/grpc/grpc_posix.h - include/grpc/grpc_security.h - include/grpc/grpc_security_constants.h + - include/grpc/impl/call.h - include/grpc/impl/channel_arg_names.h - include/grpc/impl/codegen/atm.h - include/grpc/impl/codegen/atm_gcc_atomic.h @@ -1961,63 +2194,38 @@ libs: - include/grpc/support/time.h - include/grpc/support/workaround_list.h headers: + - src/core/client_channel/backup_poller.h + - src/core/client_channel/client_channel_channelz.h + - src/core/client_channel/client_channel_factory.h + - src/core/client_channel/client_channel_filter.h + - src/core/client_channel/client_channel_internal.h + - src/core/client_channel/client_channel_service_config.h + - src/core/client_channel/config_selector.h + - src/core/client_channel/connector.h + - src/core/client_channel/dynamic_filters.h + - src/core/client_channel/global_subchannel_pool.h + - src/core/client_channel/http_proxy_mapper.h + - src/core/client_channel/local_subchannel_pool.h + - src/core/client_channel/retry_filter.h + - src/core/client_channel/retry_filter_legacy_call_data.h + - src/core/client_channel/retry_service_config.h + - src/core/client_channel/retry_throttle.h + - src/core/client_channel/subchannel.h + - src/core/client_channel/subchannel_interface_internal.h + - src/core/client_channel/subchannel_pool_interface.h + - src/core/client_channel/subchannel_stream_client.h - src/core/ext/filters/backend_metrics/backend_metric_filter.h - src/core/ext/filters/backend_metrics/backend_metric_provider.h - src/core/ext/filters/channel_idle/channel_idle_filter.h - src/core/ext/filters/channel_idle/idle_filter_state.h - - src/core/ext/filters/client_channel/backend_metric.h - - src/core/ext/filters/client_channel/backup_poller.h - - src/core/ext/filters/client_channel/client_channel.h - - src/core/ext/filters/client_channel/client_channel_channelz.h - - src/core/ext/filters/client_channel/client_channel_factory.h - - src/core/ext/filters/client_channel/client_channel_internal.h - - src/core/ext/filters/client_channel/client_channel_service_config.h - - src/core/ext/filters/client_channel/config_selector.h - - src/core/ext/filters/client_channel/connector.h - - src/core/ext/filters/client_channel/dynamic_filters.h - - src/core/ext/filters/client_channel/global_subchannel_pool.h - - src/core/ext/filters/client_channel/http_proxy_mapper.h - - src/core/ext/filters/client_channel/lb_policy/address_filtering.h - - src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h - - src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h - - src/core/ext/filters/client_channel/lb_policy/endpoint_list.h - - src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h - - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h - - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h - - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h - - src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h - - src/core/ext/filters/client_channel/lb_policy/health_check_client.h - - src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h - - src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h - - src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h - - src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h - - src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h - - src/core/ext/filters/client_channel/lb_policy/subchannel_list.h - - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h - - src/core/ext/filters/client_channel/local_subchannel_pool.h - - src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h - - src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h - - src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h - - src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h - - src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h - - src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h - - src/core/ext/filters/client_channel/resolver/polling_resolver.h - - src/core/ext/filters/client_channel/retry_filter.h - - src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h - - src/core/ext/filters/client_channel/retry_service_config.h - - src/core/ext/filters/client_channel/retry_throttle.h - - src/core/ext/filters/client_channel/subchannel.h - - src/core/ext/filters/client_channel/subchannel_interface_internal.h - - src/core/ext/filters/client_channel/subchannel_pool_interface.h - - src/core/ext/filters/client_channel/subchannel_stream_client.h + - src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h - src/core/ext/filters/deadline/deadline_filter.h - src/core/ext/filters/fault_injection/fault_injection_filter.h - src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h - src/core/ext/filters/http/client/http_client_filter.h - src/core/ext/filters/http/client_authority_filter.h - src/core/ext/filters/http/message_compress/compression_filter.h + - src/core/ext/filters/http/message_compress/legacy_compression_filter.h - src/core/ext/filters/http/server/http_server_filter.h - src/core/ext/filters/message_size/message_size_filter.h - src/core/ext/transport/chttp2/client/chttp2_connector.h @@ -2028,6 +2236,7 @@ libs: - src/core/ext/transport/chttp2/transport/context_list_entry.h - src/core/ext/transport/chttp2/transport/decode_huff.h - src/core/ext/transport/chttp2/transport/flow_control.h + - src/core/ext/transport/chttp2/transport/frame.h - src/core/ext/transport/chttp2/transport/frame_data.h - src/core/ext/transport/chttp2/transport/frame_goaway.h - src/core/ext/transport/chttp2/transport/frame_ping.h @@ -2045,29 +2254,52 @@ libs: - src/core/ext/transport/chttp2/transport/huffsyms.h - src/core/ext/transport/chttp2/transport/internal.h - src/core/ext/transport/chttp2/transport/legacy_frame.h + - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h - src/core/ext/transport/chttp2/transport/ping_abuse_policy.h + - src/core/ext/transport/chttp2/transport/ping_callbacks.h - src/core/ext/transport/chttp2/transport/ping_rate_policy.h - src/core/ext/transport/chttp2/transport/varint.h + - src/core/ext/transport/chttp2/transport/write_size_policy.h - src/core/ext/transport/inproc/inproc_transport.h - - src/core/ext/upb-generated/google/api/annotations.upb.h - - src/core/ext/upb-generated/google/api/http.upb.h - - src/core/ext/upb-generated/google/protobuf/any.upb.h - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - src/core/ext/upb-generated/google/protobuf/duration.upb.h - - src/core/ext/upb-generated/google/protobuf/empty.upb.h - - src/core/ext/upb-generated/google/protobuf/struct.upb.h - - src/core/ext/upb-generated/google/protobuf/timestamp.upb.h - - src/core/ext/upb-generated/google/protobuf/wrappers.upb.h - - src/core/ext/upb-generated/google/rpc/status.upb.h - - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h - - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h - - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h - - src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h - - src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h - - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h - - src/core/ext/upb-generated/validate/validate.upb.h - - src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h - - src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h + - src/core/ext/transport/inproc/legacy_inproc_transport.h + - src/core/ext/upb-gen/google/api/annotations.upb.h + - src/core/ext/upb-gen/google/api/annotations.upb_minitable.h + - src/core/ext/upb-gen/google/api/http.upb.h + - src/core/ext/upb-gen/google/api/http.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/any.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/duration.upb.h + - src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/empty.upb.h + - src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/struct.upb.h + - src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/timestamp.upb.h + - src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/wrappers.upb.h + - src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h + - src/core/ext/upb-gen/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h + - src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h + - src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h + - src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h + - src/core/ext/upb-gen/validate/validate.upb.h + - src/core/ext/upb-gen/validate/validate.upb_minitable.h + - src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h + - src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h + - src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h + - src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h - src/core/lib/address_utils/parse_address.h - src/core/lib/address_utils/sockaddr_utils.h - src/core/lib/avl/avl.h @@ -2081,6 +2313,7 @@ libs: - src/core/lib/channel/channel_stack.h - src/core/lib/channel/channel_stack_builder.h - src/core/lib/channel/channel_stack_builder_impl.h + - src/core/lib/channel/channel_stack_trace.h - src/core/lib/channel/channel_trace.h - src/core/lib/channel/channelz.h - src/core/lib/channel/channelz_registry.h @@ -2088,6 +2321,7 @@ libs: - src/core/lib/channel/context.h - src/core/lib/channel/promise_based_filter.h - src/core/lib/channel/status_util.h + - src/core/lib/channel/tcp_tracer.h - src/core/lib/compression/compression_internal.h - src/core/lib/compression/message_compress.h - src/core/lib/config/core_configuration.h @@ -2105,6 +2339,8 @@ libs: - src/core/lib/event_engine/common_closures.h - src/core/lib/event_engine/default_event_engine.h - src/core/lib/event_engine/default_event_engine_factory.h + - src/core/lib/event_engine/extensions/can_track_errors.h + - src/core/lib/event_engine/extensions/supports_fd.h - src/core/lib/event_engine/forkable.h - src/core/lib/event_engine/grpc_polled_fd.h - src/core/lib/event_engine/handle_containers.h @@ -2119,6 +2355,7 @@ libs: - src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h - src/core/lib/event_engine/posix_engine/internal_errqueue.h - src/core/lib/event_engine/posix_engine/lockfree_event.h + - src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h - src/core/lib/event_engine/posix_engine/posix_endpoint.h - src/core/lib/event_engine/posix_engine/posix_engine.h - src/core/lib/event_engine/posix_engine/posix_engine_closure.h @@ -2133,6 +2370,8 @@ libs: - src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h - src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h - src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h + - src/core/lib/event_engine/query_extensions.h + - src/core/lib/event_engine/ref_counted_dns_resolver_interface.h - src/core/lib/event_engine/resolved_address_internal.h - src/core/lib/event_engine/shim.h - src/core/lib/event_engine/tcp_socket_utils.h @@ -2143,7 +2382,9 @@ libs: - src/core/lib/event_engine/time_util.h - src/core/lib/event_engine/trace.h - src/core/lib/event_engine/utils.h + - src/core/lib/event_engine/windows/grpc_polled_fd_windows.h - src/core/lib/event_engine/windows/iocp.h + - src/core/lib/event_engine/windows/native_windows_dns_resolver.h - src/core/lib/event_engine/windows/win_socket.h - src/core/lib/event_engine/windows/windows_endpoint.h - src/core/lib/event_engine/windows/windows_engine.h @@ -2157,6 +2398,7 @@ libs: - src/core/lib/gprpp/bitset.h - src/core/lib/gprpp/chunked_vector.h - src/core/lib/gprpp/cpp_impl_of.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/dual_ref_counted.h - src/core/lib/gprpp/if_list.h - src/core/lib/gprpp/load_file.h @@ -2213,7 +2455,6 @@ libs: - src/core/lib/iomgr/iomgr.h - src/core/lib/iomgr/iomgr_fwd.h - src/core/lib/iomgr/iomgr_internal.h - - src/core/lib/iomgr/load_file.h - src/core/lib/iomgr/lockfree_event.h - src/core/lib/iomgr/nameser.h - src/core/lib/iomgr/polling_entity.h @@ -2257,16 +2498,13 @@ libs: - src/core/lib/json/json_object_loader.h - src/core/lib/json/json_reader.h - src/core/lib/json/json_writer.h - - src/core/lib/load_balancing/delegating_helper.h - - src/core/lib/load_balancing/lb_policy.h - - src/core/lib/load_balancing/lb_policy_factory.h - - src/core/lib/load_balancing/lb_policy_registry.h - - src/core/lib/load_balancing/subchannel_interface.h - src/core/lib/promise/activity.h + - src/core/lib/promise/all_ok.h - src/core/lib/promise/arena_promise.h - src/core/lib/promise/cancel_callback.h - src/core/lib/promise/context.h - src/core/lib/promise/detail/basic_seq.h + - src/core/lib/promise/detail/join_state.h - src/core/lib/promise/detail/promise_factory.h - src/core/lib/promise/detail/promise_like.h - src/core/lib/promise/detail/seq_state.h @@ -2286,12 +2524,10 @@ libs: - src/core/lib/promise/race.h - src/core/lib/promise/seq.h - src/core/lib/promise/sleep.h + - src/core/lib/promise/status_flag.h - src/core/lib/promise/trace.h + - src/core/lib/promise/try_join.h - src/core/lib/promise/try_seq.h - - src/core/lib/resolver/resolver.h - - src/core/lib/resolver/resolver_factory.h - - src/core/lib/resolver/resolver_registry.h - - src/core/lib/resolver/server_address.h - src/core/lib/resource_quota/api.h - src/core/lib/resource_quota/arena.h - src/core/lib/resource_quota/memory_quota.h @@ -2326,10 +2562,6 @@ libs: - src/core/lib/security/transport/security_handshaker.h - src/core/lib/security/transport/tsi_error.h - src/core/lib/security/util/json_util.h - - src/core/lib/service_config/service_config.h - - src/core/lib/service_config/service_config_call_data.h - - src/core/lib/service_config/service_config_impl.h - - src/core/lib/service_config/service_config_parser.h - src/core/lib/slice/b64.h - src/core/lib/slice/percent_encoding.h - src/core/lib/slice/slice.h @@ -2353,8 +2585,14 @@ libs: - src/core/lib/surface/lame_client.h - src/core/lib/surface/server.h - src/core/lib/surface/validate_metadata.h + - src/core/lib/surface/wait_for_cq_end_op.h - src/core/lib/transport/batch_builder.h - src/core/lib/transport/bdp_estimator.h + - src/core/lib/transport/call_factory.h + - src/core/lib/transport/call_filters.h + - src/core/lib/transport/call_final_info.h + - src/core/lib/transport/call_size_estimator.h + - src/core/lib/transport/call_spine.h - src/core/lib/transport/connectivity_state.h - src/core/lib/transport/custom_metadata.h - src/core/lib/transport/error_utils.h @@ -2363,18 +2601,59 @@ libs: - src/core/lib/transport/handshaker_registry.h - src/core/lib/transport/http2_errors.h - src/core/lib/transport/http_connect_handshaker.h + - src/core/lib/transport/message.h + - src/core/lib/transport/metadata.h - src/core/lib/transport/metadata_batch.h - src/core/lib/transport/metadata_compression_traits.h - src/core/lib/transport/parsed_metadata.h - - src/core/lib/transport/pid_controller.h - src/core/lib/transport/simple_slice_based_metadata.h - src/core/lib/transport/status_conversion.h - src/core/lib/transport/tcp_connect_handshaker.h - src/core/lib/transport/timeout_encoding.h - src/core/lib/transport/transport.h - src/core/lib/transport/transport_fwd.h - - src/core/lib/transport/transport_impl.h - src/core/lib/uri/uri_parser.h + - src/core/load_balancing/address_filtering.h + - src/core/load_balancing/backend_metric_data.h + - src/core/load_balancing/backend_metric_parser.h + - src/core/load_balancing/child_policy_handler.h + - src/core/load_balancing/delegating_helper.h + - src/core/load_balancing/endpoint_list.h + - src/core/load_balancing/grpclb/client_load_reporting_filter.h + - src/core/load_balancing/grpclb/grpclb.h + - src/core/load_balancing/grpclb/grpclb_balancer_addresses.h + - src/core/load_balancing/grpclb/grpclb_client_stats.h + - src/core/load_balancing/grpclb/load_balancer_api.h + - src/core/load_balancing/health_check_client.h + - src/core/load_balancing/health_check_client_internal.h + - src/core/load_balancing/lb_policy.h + - src/core/load_balancing/lb_policy_factory.h + - src/core/load_balancing/lb_policy_registry.h + - src/core/load_balancing/oob_backend_metric.h + - src/core/load_balancing/oob_backend_metric_internal.h + - src/core/load_balancing/outlier_detection/outlier_detection.h + - src/core/load_balancing/pick_first/pick_first.h + - src/core/load_balancing/subchannel_interface.h + - src/core/load_balancing/subchannel_list.h + - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h + - src/core/resolver/dns/c_ares/dns_resolver_ares.h + - src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h + - src/core/resolver/dns/c_ares/grpc_ares_wrapper.h + - src/core/resolver/dns/dns_resolver_plugin.h + - src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h + - src/core/resolver/dns/event_engine/service_config_helper.h + - src/core/resolver/dns/native/dns_resolver.h + - src/core/resolver/endpoint_addresses.h + - src/core/resolver/fake/fake_resolver.h + - src/core/resolver/polling_resolver.h + - src/core/resolver/resolver.h + - src/core/resolver/resolver_factory.h + - src/core/resolver/resolver_registry.h + - src/core/resolver/server_address.h + - src/core/service_config/service_config.h + - src/core/service_config/service_config_call_data.h + - src/core/service_config/service_config_impl.h + - src/core/service_config/service_config_parser.h - src/core/tsi/alts/handshaker/transport_security_common_api.h - src/core/tsi/fake_transport_security.h - src/core/tsi/local_transport_security.h @@ -2383,74 +2662,50 @@ libs: - src/core/tsi/transport_security_interface.h - third_party/upb/upb/generated_code_support.h - third_party/upb/upb/message/accessors.h - - third_party/upb/upb/message/accessors_internal.h + - third_party/upb/upb/message/internal/accessors.h - third_party/upb/upb/mini_descriptor/build_enum.h - third_party/upb/upb/mini_descriptor/decode.h - third_party/upb/upb/mini_descriptor/internal/base92.h - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp - third_party/upb/upb/mini_descriptor/internal/modifiers.h - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/port/def.inc - - third_party/upb/upb/port/undef.inc + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/decode_fast.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/eps_copy_input_stream.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode.h + - third_party/upb/upb/wire/internal/swap.h + - third_party/upb/upb/wire/reader.h + - third_party/upb/upb/wire/types.h src: + - src/core/client_channel/backup_poller.cc + - src/core/client_channel/channel_connectivity.cc + - src/core/client_channel/client_channel_channelz.cc + - src/core/client_channel/client_channel_factory.cc + - src/core/client_channel/client_channel_filter.cc + - src/core/client_channel/client_channel_plugin.cc + - src/core/client_channel/client_channel_service_config.cc + - src/core/client_channel/config_selector.cc + - src/core/client_channel/dynamic_filters.cc + - src/core/client_channel/global_subchannel_pool.cc + - src/core/client_channel/http_proxy_mapper.cc + - src/core/client_channel/local_subchannel_pool.cc + - src/core/client_channel/retry_filter.cc + - src/core/client_channel/retry_filter_legacy_call_data.cc + - src/core/client_channel/retry_service_config.cc + - src/core/client_channel/retry_throttle.cc + - src/core/client_channel/subchannel.cc + - src/core/client_channel/subchannel_pool_interface.cc + - src/core/client_channel/subchannel_stream_client.cc - src/core/ext/filters/backend_metrics/backend_metric_filter.cc - src/core/ext/filters/census/grpc_context.cc - src/core/ext/filters/channel_idle/channel_idle_filter.cc - src/core/ext/filters/channel_idle/idle_filter_state.cc - - src/core/ext/filters/client_channel/backend_metric.cc - - src/core/ext/filters/client_channel/backup_poller.cc - - src/core/ext/filters/client_channel/channel_connectivity.cc - - src/core/ext/filters/client_channel/client_channel.cc - - src/core/ext/filters/client_channel/client_channel_channelz.cc - - src/core/ext/filters/client_channel/client_channel_factory.cc - - src/core/ext/filters/client_channel/client_channel_plugin.cc - - src/core/ext/filters/client_channel/client_channel_service_config.cc - - src/core/ext/filters/client_channel/config_selector.cc - - src/core/ext/filters/client_channel/dynamic_filters.cc - - src/core/ext/filters/client_channel/global_subchannel_pool.cc - - src/core/ext/filters/client_channel/http_proxy_mapper.cc - - src/core/ext/filters/client_channel/lb_policy/address_filtering.cc - - src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc - - src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc - - src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc - - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc - - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc - - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc - - src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc - - src/core/ext/filters/client_channel/lb_policy/health_check_client.cc - - src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc - - src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc - - src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc - - src/core/ext/filters/client_channel/lb_policy/priority/priority.cc - - src/core/ext/filters/client_channel/lb_policy/rls/rls.cc - - src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc - - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc - - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc - - src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc - - src/core/ext/filters/client_channel/local_subchannel_pool.cc - - src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc - - src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc - - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc - - src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc - - src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc - - src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc - - src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc - - src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc - - src/core/ext/filters/client_channel/resolver/polling_resolver.cc - - src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc - - src/core/ext/filters/client_channel/retry_filter.cc - - src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc - - src/core/ext/filters/client_channel/retry_service_config.cc - - src/core/ext/filters/client_channel/retry_throttle.cc - - src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc - - src/core/ext/filters/client_channel/subchannel.cc - - src/core/ext/filters/client_channel/subchannel_pool_interface.cc - - src/core/ext/filters/client_channel/subchannel_stream_client.cc + - src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc - src/core/ext/filters/deadline/deadline_filter.cc - src/core/ext/filters/fault_injection/fault_injection_filter.cc - src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc @@ -2458,6 +2713,7 @@ libs: - src/core/ext/filters/http/client_authority_filter.cc - src/core/ext/filters/http/http_filters_plugin.cc - src/core/ext/filters/http/message_compress/compression_filter.cc + - src/core/ext/filters/http/message_compress/legacy_compression_filter.cc - src/core/ext/filters/http/server/http_server_filter.cc - src/core/ext/filters/message_size/message_size_filter.cc - src/core/ext/transport/chttp2/client/chttp2_connector.cc @@ -2467,6 +2723,7 @@ libs: - src/core/ext/transport/chttp2/transport/chttp2_transport.cc - src/core/ext/transport/chttp2/transport/decode_huff.cc - src/core/ext/transport/chttp2/transport/flow_control.cc + - src/core/ext/transport/chttp2/transport/frame.cc - src/core/ext/transport/chttp2/transport/frame_data.cc - src/core/ext/transport/chttp2/transport/frame_goaway.cc - src/core/ext/transport/chttp2/transport/frame_ping.cc @@ -2481,33 +2738,37 @@ libs: - src/core/ext/transport/chttp2/transport/http2_settings.cc - src/core/ext/transport/chttp2/transport/http_trace.cc - src/core/ext/transport/chttp2/transport/huffsyms.cc + - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc - src/core/ext/transport/chttp2/transport/parsing.cc - src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc + - src/core/ext/transport/chttp2/transport/ping_callbacks.cc - src/core/ext/transport/chttp2/transport/ping_rate_policy.cc - src/core/ext/transport/chttp2/transport/stream_lists.cc - src/core/ext/transport/chttp2/transport/varint.cc + - src/core/ext/transport/chttp2/transport/write_size_policy.cc - src/core/ext/transport/chttp2/transport/writing.cc - src/core/ext/transport/inproc/inproc_plugin.cc - src/core/ext/transport/inproc/inproc_transport.cc - - src/core/ext/upb-generated/google/api/annotations.upb.c - - src/core/ext/upb-generated/google/api/http.upb.c - - src/core/ext/upb-generated/google/protobuf/any.upb.c - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - - src/core/ext/upb-generated/google/protobuf/duration.upb.c - - src/core/ext/upb-generated/google/protobuf/empty.upb.c - - src/core/ext/upb-generated/google/protobuf/struct.upb.c - - src/core/ext/upb-generated/google/protobuf/timestamp.upb.c - - src/core/ext/upb-generated/google/protobuf/wrappers.upb.c - - src/core/ext/upb-generated/google/rpc/status.upb.c - - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c - - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c - - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c - - src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c - - src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c - - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c - - src/core/ext/upb-generated/validate/validate.upb.c - - src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c - - src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c + - src/core/ext/transport/inproc/legacy_inproc_transport.cc + - src/core/ext/upb-gen/google/api/annotations.upb_minitable.c + - src/core/ext/upb-gen/google/api/http.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c + - src/core/ext/upb-gen/validate/validate.upb_minitable.c + - src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c + - src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c - src/core/lib/address_utils/parse_address.cc - src/core/lib/address_utils/sockaddr_utils.cc - src/core/lib/backoff/backoff.cc @@ -2518,6 +2779,7 @@ libs: - src/core/lib/channel/channel_stack.cc - src/core/lib/channel/channel_stack_builder.cc - src/core/lib/channel/channel_stack_builder_impl.cc + - src/core/lib/channel/channel_stack_trace.cc - src/core/lib/channel/channel_trace.cc - src/core/lib/channel/channelz.cc - src/core/lib/channel/channelz_registry.cc @@ -2543,12 +2805,12 @@ libs: - src/core/lib/event_engine/default_event_engine_factory.cc - src/core/lib/event_engine/event_engine.cc - src/core/lib/event_engine/forkable.cc - - src/core/lib/event_engine/memory_allocator.cc - src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc - src/core/lib/event_engine/posix_engine/ev_poll_posix.cc - src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc - src/core/lib/event_engine/posix_engine/internal_errqueue.cc - src/core/lib/event_engine/posix_engine/lockfree_event.cc + - src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc - src/core/lib/event_engine/posix_engine/posix_endpoint.cc - src/core/lib/event_engine/posix_engine/posix_engine.cc - src/core/lib/event_engine/posix_engine/posix_engine_listener.cc @@ -2573,7 +2835,9 @@ libs: - src/core/lib/event_engine/time_util.cc - src/core/lib/event_engine/trace.cc - src/core/lib/event_engine/utils.cc + - src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc - src/core/lib/event_engine/windows/iocp.cc + - src/core/lib/event_engine/windows/native_windows_dns_resolver.cc - src/core/lib/event_engine/windows/win_socket.cc - src/core/lib/event_engine/windows/windows_endpoint.cc - src/core/lib/event_engine/windows/windows_engine.cc @@ -2629,7 +2893,6 @@ libs: - src/core/lib/iomgr/iomgr_posix.cc - src/core/lib/iomgr/iomgr_posix_cfstream.cc - src/core/lib/iomgr/iomgr_windows.cc - - src/core/lib/iomgr/load_file.cc - src/core/lib/iomgr/lockfree_event.cc - src/core/lib/iomgr/polling_entity.cc - src/core/lib/iomgr/pollset.cc @@ -2674,15 +2937,10 @@ libs: - src/core/lib/json/json_object_loader.cc - src/core/lib/json/json_reader.cc - src/core/lib/json/json_writer.cc - - src/core/lib/load_balancing/lb_policy.cc - - src/core/lib/load_balancing/lb_policy_registry.cc - src/core/lib/promise/activity.cc - src/core/lib/promise/party.cc - src/core/lib/promise/sleep.cc - src/core/lib/promise/trace.cc - - src/core/lib/resolver/resolver.cc - - src/core/lib/resolver/resolver_registry.cc - - src/core/lib/resolver/server_address.cc - src/core/lib/resource_quota/api.cc - src/core/lib/resource_quota/arena.cc - src/core/lib/resource_quota/memory_quota.cc @@ -2713,15 +2971,15 @@ libs: - src/core/lib/security/security_connector/insecure/insecure_security_connector.cc - src/core/lib/security/security_connector/load_system_roots_fallback.cc - src/core/lib/security/security_connector/load_system_roots_supported.cc + - src/core/lib/security/security_connector/load_system_roots_windows.cc - src/core/lib/security/security_connector/security_connector.cc - src/core/lib/security/transport/client_auth_filter.cc + - src/core/lib/security/transport/legacy_server_auth_filter.cc - src/core/lib/security/transport/secure_endpoint.cc - src/core/lib/security/transport/security_handshaker.cc - src/core/lib/security/transport/server_auth_filter.cc - src/core/lib/security/transport/tsi_error.cc - src/core/lib/security/util/json_util.cc - - src/core/lib/service_config/service_config_impl.cc - - src/core/lib/service_config/service_config_parser.cc - src/core/lib/slice/b64.cc - src/core/lib/slice/percent_encoding.cc - src/core/lib/slice/slice.cc @@ -2735,7 +2993,6 @@ libs: - src/core/lib/surface/call.cc - src/core/lib/surface/call_details.cc - src/core/lib/surface/call_log_batch.cc - - src/core/lib/surface/call_trace.cc - src/core/lib/surface/channel.cc - src/core/lib/surface/channel_init.cc - src/core/lib/surface/channel_ping.cc @@ -2750,24 +3007,72 @@ libs: - src/core/lib/surface/server.cc - src/core/lib/surface/validate_metadata.cc - src/core/lib/surface/version.cc + - src/core/lib/surface/wait_for_cq_end_op.cc - src/core/lib/transport/batch_builder.cc - src/core/lib/transport/bdp_estimator.cc + - src/core/lib/transport/call_factory.cc + - src/core/lib/transport/call_filters.cc + - src/core/lib/transport/call_final_info.cc + - src/core/lib/transport/call_size_estimator.cc + - src/core/lib/transport/call_spine.cc - src/core/lib/transport/connectivity_state.cc - src/core/lib/transport/error_utils.cc - src/core/lib/transport/handshaker.cc - src/core/lib/transport/handshaker_registry.cc - src/core/lib/transport/http_connect_handshaker.cc + - src/core/lib/transport/message.cc + - src/core/lib/transport/metadata.cc - src/core/lib/transport/metadata_batch.cc - src/core/lib/transport/parsed_metadata.cc - - src/core/lib/transport/pid_controller.cc - src/core/lib/transport/status_conversion.cc - src/core/lib/transport/tcp_connect_handshaker.cc - src/core/lib/transport/timeout_encoding.cc - src/core/lib/transport/transport.cc - src/core/lib/transport/transport_op_string.cc - src/core/lib/uri/uri_parser.cc + - src/core/load_balancing/address_filtering.cc + - src/core/load_balancing/backend_metric_parser.cc + - src/core/load_balancing/child_policy_handler.cc + - src/core/load_balancing/endpoint_list.cc + - src/core/load_balancing/grpclb/client_load_reporting_filter.cc + - src/core/load_balancing/grpclb/grpclb.cc + - src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc + - src/core/load_balancing/grpclb/grpclb_client_stats.cc + - src/core/load_balancing/grpclb/load_balancer_api.cc + - src/core/load_balancing/health_check_client.cc + - src/core/load_balancing/lb_policy.cc + - src/core/load_balancing/lb_policy_registry.cc + - src/core/load_balancing/oob_backend_metric.cc + - src/core/load_balancing/outlier_detection/outlier_detection.cc + - src/core/load_balancing/pick_first/pick_first.cc + - src/core/load_balancing/priority/priority.cc + - src/core/load_balancing/rls/rls.cc + - src/core/load_balancing/round_robin/round_robin.cc + - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc + - src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc + - src/core/load_balancing/weighted_target/weighted_target.cc - src/core/plugin_registry/grpc_plugin_registry.cc - src/core/plugin_registry/grpc_plugin_registry_noextra.cc + - src/core/resolver/binder/binder_resolver.cc + - src/core/resolver/dns/c_ares/dns_resolver_ares.cc + - src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc + - src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc + - src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc + - src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc + - src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc + - src/core/resolver/dns/dns_resolver_plugin.cc + - src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc + - src/core/resolver/dns/event_engine/service_config_helper.cc + - src/core/resolver/dns/native/dns_resolver.cc + - src/core/resolver/endpoint_addresses.cc + - src/core/resolver/fake/fake_resolver.cc + - src/core/resolver/polling_resolver.cc + - src/core/resolver/resolver.cc + - src/core/resolver/resolver_registry.cc + - src/core/resolver/sockaddr/sockaddr_resolver.cc + - src/core/service_config/service_config_channel_arg_filter.cc + - src/core/service_config/service_config_impl.cc + - src/core/service_config/service_config_parser.cc - src/core/tsi/alts/handshaker/transport_security_common_api.cc - src/core/tsi/fake_transport_security.cc - src/core/tsi/local_transport_security.cc @@ -2777,12 +3082,19 @@ libs: - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/decode_fast.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/eps_copy_input_stream.c + - third_party/upb/upb/wire/reader.c deps: - - upb_collections_lib - - upb + - upb_message_lib + - utf8_range_lib - z - absl/algorithm:container + - absl/base:config - absl/cleanup:cleanup - absl/container:flat_hash_map - absl/container:flat_hash_set @@ -2791,6 +3103,8 @@ libs: - absl/functional:function_ref - absl/hash:hash - absl/meta:type_traits + - absl/random:bit_gen_ref + - absl/random:distributions - absl/status:statusor - absl/types:span - absl/utility:utility @@ -2859,9 +3173,15 @@ libs: - third_party/googletest/googletest/src/gtest-typed-test.cc - third_party/googletest/googletest/src/gtest.cc deps: + - re2 + - absl/container:flat_hash_set - absl/debugging:failure_signal_handler - absl/debugging:stacktrace - absl/debugging:symbolize + - absl/flags:flag + - absl/flags:parse + - absl/flags:reflection + - absl/flags:usage - absl/strings:strings - absl/types:any - absl/types:optional @@ -2916,169 +3236,36 @@ libs: - third_party/re2/util/rune.cc - third_party/re2/util/strutil.cc deps: [] -- name: upb - build: all - language: c - public_headers: [] - headers: - - third_party/upb/upb/alloc.h - - third_party/upb/upb/arena.h - - third_party/upb/upb/array.h - - third_party/upb/upb/base/descriptor_constants.h - - third_party/upb/upb/base/log2.h - - third_party/upb/upb/base/status.h - - third_party/upb/upb/base/string_view.h - - third_party/upb/upb/collections/array.h - - third_party/upb/upb/collections/array_internal.h - - third_party/upb/upb/collections/map.h - - third_party/upb/upb/collections/map_gencode_util.h - - third_party/upb/upb/collections/map_internal.h - - third_party/upb/upb/collections/map_sorter_internal.h - - third_party/upb/upb/collections/message_value.h - - third_party/upb/upb/decode.h - - third_party/upb/upb/encode.h - - third_party/upb/upb/extension_registry.h - - third_party/upb/upb/hash/common.h - - third_party/upb/upb/hash/int_table.h - - third_party/upb/upb/hash/str_table.h - - third_party/upb/upb/lex/atoi.h - - third_party/upb/upb/lex/round_trip.h - - third_party/upb/upb/lex/strtod.h - - third_party/upb/upb/lex/unicode.h - - third_party/upb/upb/map.h - - third_party/upb/upb/mem/alloc.h - - third_party/upb/upb/mem/arena.h - - third_party/upb/upb/mem/arena_internal.h - - third_party/upb/upb/message/accessors_internal.h - - third_party/upb/upb/message/extension_internal.h - - third_party/upb/upb/message/internal.h - - third_party/upb/upb/message/internal/map_entry.h - - third_party/upb/upb/message/message.h - - third_party/upb/upb/message/tagged_ptr.h - - third_party/upb/upb/mini_table/enum.h - - third_party/upb/upb/mini_table/extension.h - - third_party/upb/upb/mini_table/extension_registry.h - - third_party/upb/upb/mini_table/field.h - - third_party/upb/upb/mini_table/file.h - - third_party/upb/upb/mini_table/internal/enum.h - - third_party/upb/upb/mini_table/internal/extension.h - - third_party/upb/upb/mini_table/internal/field.h - - third_party/upb/upb/mini_table/internal/file.h - - third_party/upb/upb/mini_table/internal/message.h - - third_party/upb/upb/mini_table/internal/sub.h - - third_party/upb/upb/mini_table/message.h - - third_party/upb/upb/mini_table/sub.h - - third_party/upb/upb/msg.h - - third_party/upb/upb/port/atomic.h - - third_party/upb/upb/port/def.inc - - third_party/upb/upb/port/undef.inc - - third_party/upb/upb/port/vsnprintf_compat.h - - third_party/upb/upb/status.h - - third_party/upb/upb/string_view.h - - third_party/upb/upb/upb.h - - third_party/upb/upb/upb.hpp - - third_party/upb/upb/wire/common.h - - third_party/upb/upb/wire/common_internal.h - - third_party/upb/upb/wire/decode.h - - third_party/upb/upb/wire/decode_fast.h - - third_party/upb/upb/wire/decode_internal.h - - third_party/upb/upb/wire/encode.h - - third_party/upb/upb/wire/eps_copy_input_stream.h - - third_party/upb/upb/wire/reader.h - - third_party/upb/upb/wire/swap_internal.h - - third_party/upb/upb/wire/types.h - src: - - third_party/upb/upb/base/status.c - - third_party/upb/upb/collections/array.c - - third_party/upb/upb/collections/map.c - - third_party/upb/upb/collections/map_sorter.c - - third_party/upb/upb/hash/common.c - - third_party/upb/upb/lex/atoi.c - - third_party/upb/upb/lex/round_trip.c - - third_party/upb/upb/lex/strtod.c - - third_party/upb/upb/lex/unicode.c - - third_party/upb/upb/mem/alloc.c - - third_party/upb/upb/mem/arena.c - - third_party/upb/upb/message/message.c - - third_party/upb/upb/mini_table/extension_registry.c - - third_party/upb/upb/mini_table/internal/message.c - - third_party/upb/upb/mini_table/message.c - - third_party/upb/upb/wire/decode.c - - third_party/upb/upb/wire/decode_fast.c - - third_party/upb/upb/wire/encode.c - - third_party/upb/upb/wire/eps_copy_input_stream.c - - third_party/upb/upb/wire/reader.c - deps: - - utf8_range_lib -- name: upb_collections_lib +- name: upb_base_lib build: all language: c public_headers: [] headers: - third_party/upb/upb/base/descriptor_constants.h - - third_party/upb/upb/base/log2.h - third_party/upb/upb/base/status.h + - third_party/upb/upb/base/status.hpp - third_party/upb/upb/base/string_view.h - - third_party/upb/upb/collections/array.h - - third_party/upb/upb/collections/array_internal.h - - third_party/upb/upb/collections/map.h - - third_party/upb/upb/collections/map_gencode_util.h - - third_party/upb/upb/collections/map_internal.h - - third_party/upb/upb/collections/map_sorter_internal.h - - third_party/upb/upb/collections/message_value.h - - third_party/upb/upb/hash/common.h - - third_party/upb/upb/hash/int_table.h - - third_party/upb/upb/hash/str_table.h - - third_party/upb/upb/mem/alloc.h - - third_party/upb/upb/mem/arena.h - - third_party/upb/upb/mem/arena_internal.h - - third_party/upb/upb/message/extension_internal.h - - third_party/upb/upb/message/internal.h - - third_party/upb/upb/message/internal/map_entry.h - - third_party/upb/upb/message/message.h - - third_party/upb/upb/message/tagged_ptr.h - - third_party/upb/upb/mini_table/enum.h - - third_party/upb/upb/mini_table/extension.h - - third_party/upb/upb/mini_table/extension_registry.h - - third_party/upb/upb/mini_table/field.h - - third_party/upb/upb/mini_table/file.h - - third_party/upb/upb/mini_table/internal/enum.h - - third_party/upb/upb/mini_table/internal/extension.h - - third_party/upb/upb/mini_table/internal/field.h - - third_party/upb/upb/mini_table/internal/file.h - - third_party/upb/upb/mini_table/internal/message.h - - third_party/upb/upb/mini_table/internal/sub.h - - third_party/upb/upb/mini_table/message.h - - third_party/upb/upb/mini_table/sub.h - third_party/upb/upb/port/atomic.h - third_party/upb/upb/port/def.inc - third_party/upb/upb/port/undef.inc - third_party/upb/upb/port/vsnprintf_compat.h src: - third_party/upb/upb/base/status.c - - third_party/upb/upb/collections/array.c - - third_party/upb/upb/collections/map.c - - third_party/upb/upb/collections/map_sorter.c - - third_party/upb/upb/hash/common.c - - third_party/upb/upb/mem/alloc.c - - third_party/upb/upb/mem/arena.c - - third_party/upb/upb/message/message.c - - third_party/upb/upb/mini_table/extension_registry.c - - third_party/upb/upb/mini_table/internal/message.c - - third_party/upb/upb/mini_table/message.c deps: [] - name: upb_json_lib build: all language: c public_headers: [] headers: - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - third_party/upb/upb/def.h - - third_party/upb/upb/def.hpp + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h - third_party/upb/upb/json/decode.h - third_party/upb/upb/json/encode.h + - third_party/upb/upb/lex/atoi.h + - third_party/upb/upb/lex/round_trip.h + - third_party/upb/upb/lex/strtod.h + - third_party/upb/upb/lex/unicode.h - third_party/upb/upb/message/accessors.h - - third_party/upb/upb/message/accessors_internal.h + - third_party/upb/upb/message/internal/accessors.h - third_party/upb/upb/mini_descriptor/build_enum.h - third_party/upb/upb/mini_descriptor/decode.h - third_party/upb/upb/mini_descriptor/internal/base92.h @@ -3088,51 +3275,62 @@ libs: - third_party/upb/upb/mini_descriptor/internal/modifiers.h - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/reflection.h - - third_party/upb/upb/reflection.hpp - third_party/upb/upb/reflection/common.h - third_party/upb/upb/reflection/def.h - third_party/upb/upb/reflection/def.hpp - - third_party/upb/upb/reflection/def_builder_internal.h - third_party/upb/upb/reflection/def_pool.h - - third_party/upb/upb/reflection/def_pool_internal.h - third_party/upb/upb/reflection/def_type.h - - third_party/upb/upb/reflection/desc_state_internal.h - third_party/upb/upb/reflection/enum_def.h - - third_party/upb/upb/reflection/enum_def_internal.h - third_party/upb/upb/reflection/enum_reserved_range.h - - third_party/upb/upb/reflection/enum_reserved_range_internal.h - third_party/upb/upb/reflection/enum_value_def.h - - third_party/upb/upb/reflection/enum_value_def_internal.h - third_party/upb/upb/reflection/extension_range.h - - third_party/upb/upb/reflection/extension_range_internal.h - third_party/upb/upb/reflection/field_def.h - - third_party/upb/upb/reflection/field_def_internal.h - third_party/upb/upb/reflection/file_def.h - - third_party/upb/upb/reflection/file_def_internal.h + - third_party/upb/upb/reflection/internal/def_builder.h + - third_party/upb/upb/reflection/internal/def_pool.h + - third_party/upb/upb/reflection/internal/desc_state.h + - third_party/upb/upb/reflection/internal/enum_def.h + - third_party/upb/upb/reflection/internal/enum_reserved_range.h + - third_party/upb/upb/reflection/internal/enum_value_def.h + - third_party/upb/upb/reflection/internal/extension_range.h + - third_party/upb/upb/reflection/internal/field_def.h + - third_party/upb/upb/reflection/internal/file_def.h + - third_party/upb/upb/reflection/internal/message_def.h + - third_party/upb/upb/reflection/internal/message_reserved_range.h + - third_party/upb/upb/reflection/internal/method_def.h + - third_party/upb/upb/reflection/internal/oneof_def.h + - third_party/upb/upb/reflection/internal/service_def.h + - third_party/upb/upb/reflection/internal/strdup2.h - third_party/upb/upb/reflection/message.h - third_party/upb/upb/reflection/message.hpp - third_party/upb/upb/reflection/message_def.h - - third_party/upb/upb/reflection/message_def_internal.h - third_party/upb/upb/reflection/message_reserved_range.h - - third_party/upb/upb/reflection/message_reserved_range_internal.h - third_party/upb/upb/reflection/method_def.h - - third_party/upb/upb/reflection/method_def_internal.h - third_party/upb/upb/reflection/oneof_def.h - - third_party/upb/upb/reflection/oneof_def_internal.h - third_party/upb/upb/reflection/service_def.h - - third_party/upb/upb/reflection/service_def_internal.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/decode_fast.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/eps_copy_input_stream.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode.h + - third_party/upb/upb/wire/internal/swap.h + - third_party/upb/upb/wire/reader.h + - third_party/upb/upb/wire/types.h src: - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c - third_party/upb/upb/json/decode.c - third_party/upb/upb/json/encode.c + - third_party/upb/upb/lex/atoi.c + - third_party/upb/upb/lex/round_trip.c + - third_party/upb/upb/lex/strtod.c + - third_party/upb/upb/lex/unicode.c - third_party/upb/upb/message/accessors.c - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/reflection/def_builder.c - third_party/upb/upb/reflection/def_pool.c - third_party/upb/upb/reflection/def_type.c - third_party/upb/upb/reflection/desc_state.c @@ -3142,25 +3340,99 @@ libs: - third_party/upb/upb/reflection/extension_range.c - third_party/upb/upb/reflection/field_def.c - third_party/upb/upb/reflection/file_def.c + - third_party/upb/upb/reflection/internal/def_builder.c + - third_party/upb/upb/reflection/internal/strdup2.c - third_party/upb/upb/reflection/message.c - third_party/upb/upb/reflection/message_def.c - third_party/upb/upb/reflection/message_reserved_range.c - third_party/upb/upb/reflection/method_def.c - third_party/upb/upb/reflection/oneof_def.c - third_party/upb/upb/reflection/service_def.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/decode_fast.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/eps_copy_input_stream.c + - third_party/upb/upb/wire/reader.c + deps: + - upb_message_lib + - utf8_range_lib +- name: upb_mem_lib + build: all + language: c + public_headers: [] + headers: + - third_party/upb/upb/mem/alloc.h + - third_party/upb/upb/mem/arena.h + - third_party/upb/upb/mem/arena.hpp + - third_party/upb/upb/mem/internal/arena.h + - third_party/upb/upb/port/atomic.h + - third_party/upb/upb/port/def.inc + - third_party/upb/upb/port/undef.inc + - third_party/upb/upb/port/vsnprintf_compat.h + src: + - third_party/upb/upb/mem/alloc.c + - third_party/upb/upb/mem/arena.c + deps: [] +- name: upb_message_lib + build: all + language: c + public_headers: [] + headers: + - third_party/upb/upb/base/internal/log2.h + - third_party/upb/upb/hash/common.h + - third_party/upb/upb/hash/int_table.h + - third_party/upb/upb/hash/str_table.h + - third_party/upb/upb/message/array.h + - third_party/upb/upb/message/internal/array.h + - third_party/upb/upb/message/internal/extension.h + - third_party/upb/upb/message/internal/map.h + - third_party/upb/upb/message/internal/map_entry.h + - third_party/upb/upb/message/internal/map_sorter.h + - third_party/upb/upb/message/internal/message.h + - third_party/upb/upb/message/internal/types.h + - third_party/upb/upb/message/map.h + - third_party/upb/upb/message/map_gencode_util.h + - third_party/upb/upb/message/message.h + - third_party/upb/upb/message/tagged_ptr.h + - third_party/upb/upb/message/types.h + - third_party/upb/upb/message/value.h + - third_party/upb/upb/mini_table/enum.h + - third_party/upb/upb/mini_table/extension.h + - third_party/upb/upb/mini_table/extension_registry.h + - third_party/upb/upb/mini_table/field.h + - third_party/upb/upb/mini_table/file.h + - third_party/upb/upb/mini_table/internal/enum.h + - third_party/upb/upb/mini_table/internal/extension.h + - third_party/upb/upb/mini_table/internal/field.h + - third_party/upb/upb/mini_table/internal/file.h + - third_party/upb/upb/mini_table/internal/message.h + - third_party/upb/upb/mini_table/internal/sub.h + - third_party/upb/upb/mini_table/message.h + - third_party/upb/upb/mini_table/sub.h + src: + - third_party/upb/upb/hash/common.c + - third_party/upb/upb/message/array.c + - third_party/upb/upb/message/map.c + - third_party/upb/upb/message/map_sorter.c + - third_party/upb/upb/message/message.c + - third_party/upb/upb/mini_table/extension_registry.c + - third_party/upb/upb/mini_table/internal/message.c + - third_party/upb/upb/mini_table/message.c deps: - - upb_collections_lib - - upb + - upb_base_lib + - upb_mem_lib - name: upb_textformat_lib build: all language: c public_headers: [] headers: - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - third_party/upb/upb/def.h - - third_party/upb/upb/def.hpp + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h + - third_party/upb/upb/lex/atoi.h + - third_party/upb/upb/lex/round_trip.h + - third_party/upb/upb/lex/strtod.h + - third_party/upb/upb/lex/unicode.h - third_party/upb/upb/message/accessors.h - - third_party/upb/upb/message/accessors_internal.h + - third_party/upb/upb/message/internal/accessors.h - third_party/upb/upb/mini_descriptor/build_enum.h - third_party/upb/upb/mini_descriptor/decode.h - third_party/upb/upb/mini_descriptor/internal/base92.h @@ -3170,51 +3442,61 @@ libs: - third_party/upb/upb/mini_descriptor/internal/modifiers.h - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/reflection.h - - third_party/upb/upb/reflection.hpp - third_party/upb/upb/reflection/common.h - third_party/upb/upb/reflection/def.h - third_party/upb/upb/reflection/def.hpp - - third_party/upb/upb/reflection/def_builder_internal.h - third_party/upb/upb/reflection/def_pool.h - - third_party/upb/upb/reflection/def_pool_internal.h - third_party/upb/upb/reflection/def_type.h - - third_party/upb/upb/reflection/desc_state_internal.h - third_party/upb/upb/reflection/enum_def.h - - third_party/upb/upb/reflection/enum_def_internal.h - third_party/upb/upb/reflection/enum_reserved_range.h - - third_party/upb/upb/reflection/enum_reserved_range_internal.h - third_party/upb/upb/reflection/enum_value_def.h - - third_party/upb/upb/reflection/enum_value_def_internal.h - third_party/upb/upb/reflection/extension_range.h - - third_party/upb/upb/reflection/extension_range_internal.h - third_party/upb/upb/reflection/field_def.h - - third_party/upb/upb/reflection/field_def_internal.h - third_party/upb/upb/reflection/file_def.h - - third_party/upb/upb/reflection/file_def_internal.h + - third_party/upb/upb/reflection/internal/def_builder.h + - third_party/upb/upb/reflection/internal/def_pool.h + - third_party/upb/upb/reflection/internal/desc_state.h + - third_party/upb/upb/reflection/internal/enum_def.h + - third_party/upb/upb/reflection/internal/enum_reserved_range.h + - third_party/upb/upb/reflection/internal/enum_value_def.h + - third_party/upb/upb/reflection/internal/extension_range.h + - third_party/upb/upb/reflection/internal/field_def.h + - third_party/upb/upb/reflection/internal/file_def.h + - third_party/upb/upb/reflection/internal/message_def.h + - third_party/upb/upb/reflection/internal/message_reserved_range.h + - third_party/upb/upb/reflection/internal/method_def.h + - third_party/upb/upb/reflection/internal/oneof_def.h + - third_party/upb/upb/reflection/internal/service_def.h + - third_party/upb/upb/reflection/internal/strdup2.h - third_party/upb/upb/reflection/message.h - third_party/upb/upb/reflection/message.hpp - third_party/upb/upb/reflection/message_def.h - - third_party/upb/upb/reflection/message_def_internal.h - third_party/upb/upb/reflection/message_reserved_range.h - - third_party/upb/upb/reflection/message_reserved_range_internal.h - third_party/upb/upb/reflection/method_def.h - - third_party/upb/upb/reflection/method_def_internal.h - third_party/upb/upb/reflection/oneof_def.h - - third_party/upb/upb/reflection/oneof_def_internal.h - third_party/upb/upb/reflection/service_def.h - - third_party/upb/upb/reflection/service_def_internal.h - third_party/upb/upb/text/encode.h - - third_party/upb/upb/text_encode.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/decode_fast.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/eps_copy_input_stream.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode.h + - third_party/upb/upb/wire/internal/swap.h + - third_party/upb/upb/wire/reader.h + - third_party/upb/upb/wire/types.h src: - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + - third_party/upb/upb/lex/atoi.c + - third_party/upb/upb/lex/round_trip.c + - third_party/upb/upb/lex/strtod.c + - third_party/upb/upb/lex/unicode.c - third_party/upb/upb/message/accessors.c - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - - third_party/upb/upb/reflection/def_builder.c - third_party/upb/upb/reflection/def_pool.c - third_party/upb/upb/reflection/def_type.c - third_party/upb/upb/reflection/desc_state.c @@ -3224,6 +3506,8 @@ libs: - third_party/upb/upb/reflection/extension_range.c - third_party/upb/upb/reflection/field_def.c - third_party/upb/upb/reflection/file_def.c + - third_party/upb/upb/reflection/internal/def_builder.c + - third_party/upb/upb/reflection/internal/strdup2.c - third_party/upb/upb/reflection/message.c - third_party/upb/upb/reflection/message_def.c - third_party/upb/upb/reflection/message_reserved_range.c @@ -3231,9 +3515,14 @@ libs: - third_party/upb/upb/reflection/oneof_def.c - third_party/upb/upb/reflection/service_def.c - third_party/upb/upb/text/encode.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/decode_fast.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/eps_copy_input_stream.c + - third_party/upb/upb/wire/reader.c deps: - - upb_collections_lib - - upb + - upb_message_lib + - utf8_range_lib - name: utf8_range_lib build: all language: c @@ -3289,7 +3578,6 @@ libs: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -3307,7 +3595,6 @@ libs: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -3496,6 +3783,7 @@ libs: - include/grpcpp/security/tls_certificate_provider.h - include/grpcpp/security/tls_certificate_verifier.h - include/grpcpp/security/tls_credentials_options.h + - include/grpcpp/security/tls_crl_provider.h - include/grpcpp/server.h - include/grpcpp/server_builder.h - include/grpcpp/server_context.h @@ -3551,7 +3839,6 @@ libs: - src/cpp/client/client_stats_interceptor.h - src/cpp/client/create_channel_internal.h - src/cpp/client/secure_credentials.h - - src/cpp/common/channel_filter.h - src/cpp/common/secure_auth_context.h - src/cpp/server/backend_metric_recorder.h - src/cpp/server/dynamic_thread_pool.h @@ -3593,7 +3880,6 @@ libs: - src/cpp/common/alarm.cc - src/cpp/common/auth_property_iterator.cc - src/cpp/common/channel_arguments.cc - - src/cpp/common/channel_filter.cc - src/cpp/common/completion_queue_cc.cc - src/cpp/common/resource_quota_cc.cc - src/cpp/common/rpc_method.cc @@ -3620,6 +3906,7 @@ libs: - src/cpp/server/server_cc.cc - src/cpp/server/server_context.cc - src/cpp/server/server_posix.cc + - src/cpp/server/xds_server_builder.cc - src/cpp/server/xds_server_credentials.cc - src/cpp/thread_manager/thread_manager.cc - src/cpp/util/byte_buffer_cc.cc @@ -3663,6 +3950,7 @@ libs: headers: - src/cpp/ext/proto_server_reflection.h src: + - src/proto/grpc/reflection/v1/reflection.proto - src/proto/grpc/reflection/v1alpha/reflection.proto - src/cpp/ext/proto_server_reflection.cc - src/cpp/ext/proto_server_reflection_plugin.cc @@ -3711,7 +3999,6 @@ libs: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -3733,7 +4020,6 @@ libs: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -3920,6 +4206,7 @@ libs: - include/grpcpp/security/tls_certificate_provider.h - include/grpcpp/security/tls_certificate_verifier.h - include/grpcpp/security/tls_credentials_options.h + - include/grpcpp/security/tls_crl_provider.h - include/grpcpp/server.h - include/grpcpp/server_builder.h - include/grpcpp/server_context.h @@ -3952,7 +4239,6 @@ libs: headers: - src/cpp/client/client_stats_interceptor.h - src/cpp/client/create_channel_internal.h - - src/cpp/common/channel_filter.h - src/cpp/server/backend_metric_recorder.h - src/cpp/server/dynamic_thread_pool.h - src/cpp/server/external_connection_acceptor_impl.h @@ -3971,7 +4257,6 @@ libs: - src/cpp/client/insecure_credentials.cc - src/cpp/common/alarm.cc - src/cpp/common/channel_arguments.cc - - src/cpp/common/channel_filter.cc - src/cpp/common/completion_queue_cc.cc - src/cpp/common/insecure_create_auth_context.cc - src/cpp/common/resource_quota_cc.cc @@ -4010,6 +4295,7 @@ libs: - include/grpc/compression.h - include/grpc/event_engine/endpoint_config.h - include/grpc/event_engine/event_engine.h + - include/grpc/event_engine/extensible.h - include/grpc/event_engine/internal/memory_allocator_impl.h - include/grpc/event_engine/internal/slice_cast.h - include/grpc/event_engine/memory_allocator.h @@ -4020,9 +4306,11 @@ libs: - include/grpc/fork.h - include/grpc/grpc.h - include/grpc/grpc_audit_logging.h + - include/grpc/grpc_crl_provider.h - include/grpc/grpc_posix.h - include/grpc/grpc_security.h - include/grpc/grpc_security_constants.h + - include/grpc/impl/call.h - include/grpc/impl/channel_arg_names.h - include/grpc/impl/codegen/atm.h - include/grpc/impl/codegen/atm_gcc_atomic.h @@ -4075,17 +4363,22 @@ libs: - include/grpc/support/time.h - include/grpc/support/workaround_list.h headers: - - src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h - - src/core/ext/upb-generated/google/protobuf/any.upb.h - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - src/core/ext/upb-generated/google/rpc/status.upb.h - - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h - - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h - - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h + - src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h - src/core/lib/address_utils/parse_address.h - src/core/lib/address_utils/sockaddr_utils.h - src/core/lib/avl/avl.h - src/core/lib/backoff/backoff.h + - src/core/lib/backoff/random_early_detection.h - src/core/lib/channel/call_finalization.h - src/core/lib/channel/call_tracer.h - src/core/lib/channel/channel_args.h @@ -4094,6 +4387,7 @@ libs: - src/core/lib/channel/channel_stack.h - src/core/lib/channel/channel_stack_builder.h - src/core/lib/channel/channel_stack_builder_impl.h + - src/core/lib/channel/channel_stack_trace.h - src/core/lib/channel/channel_trace.h - src/core/lib/channel/channelz.h - src/core/lib/channel/channelz_registry.h @@ -4101,6 +4395,7 @@ libs: - src/core/lib/channel/context.h - src/core/lib/channel/promise_based_filter.h - src/core/lib/channel/status_util.h + - src/core/lib/channel/tcp_tracer.h - src/core/lib/compression/compression_internal.h - src/core/lib/compression/message_compress.h - src/core/lib/config/core_configuration.h @@ -4118,6 +4413,8 @@ libs: - src/core/lib/event_engine/common_closures.h - src/core/lib/event_engine/default_event_engine.h - src/core/lib/event_engine/default_event_engine_factory.h + - src/core/lib/event_engine/extensions/can_track_errors.h + - src/core/lib/event_engine/extensions/supports_fd.h - src/core/lib/event_engine/forkable.h - src/core/lib/event_engine/grpc_polled_fd.h - src/core/lib/event_engine/handle_containers.h @@ -4132,6 +4429,7 @@ libs: - src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h - src/core/lib/event_engine/posix_engine/internal_errqueue.h - src/core/lib/event_engine/posix_engine/lockfree_event.h + - src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h - src/core/lib/event_engine/posix_engine/posix_endpoint.h - src/core/lib/event_engine/posix_engine/posix_engine.h - src/core/lib/event_engine/posix_engine/posix_engine_closure.h @@ -4146,6 +4444,8 @@ libs: - src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h - src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h - src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h + - src/core/lib/event_engine/query_extensions.h + - src/core/lib/event_engine/ref_counted_dns_resolver_interface.h - src/core/lib/event_engine/resolved_address_internal.h - src/core/lib/event_engine/shim.h - src/core/lib/event_engine/tcp_socket_utils.h @@ -4156,7 +4456,9 @@ libs: - src/core/lib/event_engine/time_util.h - src/core/lib/event_engine/trace.h - src/core/lib/event_engine/utils.h + - src/core/lib/event_engine/windows/grpc_polled_fd_windows.h - src/core/lib/event_engine/windows/iocp.h + - src/core/lib/event_engine/windows/native_windows_dns_resolver.h - src/core/lib/event_engine/windows/win_socket.h - src/core/lib/event_engine/windows/windows_endpoint.h - src/core/lib/event_engine/windows/windows_engine.h @@ -4170,6 +4472,7 @@ libs: - src/core/lib/gprpp/bitset.h - src/core/lib/gprpp/chunked_vector.h - src/core/lib/gprpp/cpp_impl_of.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/dual_ref_counted.h - src/core/lib/gprpp/if_list.h - src/core/lib/gprpp/load_file.h @@ -4222,7 +4525,6 @@ libs: - src/core/lib/iomgr/iomgr.h - src/core/lib/iomgr/iomgr_fwd.h - src/core/lib/iomgr/iomgr_internal.h - - src/core/lib/iomgr/load_file.h - src/core/lib/iomgr/lockfree_event.h - src/core/lib/iomgr/nameser.h - src/core/lib/iomgr/polling_entity.h @@ -4264,16 +4566,14 @@ libs: - src/core/lib/json/json_args.h - src/core/lib/json/json_reader.h - src/core/lib/json/json_writer.h - - src/core/lib/load_balancing/lb_policy.h - - src/core/lib/load_balancing/lb_policy_factory.h - - src/core/lib/load_balancing/lb_policy_registry.h - - src/core/lib/load_balancing/subchannel_interface.h - src/core/lib/matchers/matchers.h - src/core/lib/promise/activity.h + - src/core/lib/promise/all_ok.h - src/core/lib/promise/arena_promise.h - src/core/lib/promise/cancel_callback.h - src/core/lib/promise/context.h - src/core/lib/promise/detail/basic_seq.h + - src/core/lib/promise/detail/join_state.h - src/core/lib/promise/detail/promise_factory.h - src/core/lib/promise/detail/promise_like.h - src/core/lib/promise/detail/seq_state.h @@ -4288,15 +4588,14 @@ libs: - src/core/lib/promise/party.h - src/core/lib/promise/pipe.h - src/core/lib/promise/poll.h + - src/core/lib/promise/prioritized_race.h - src/core/lib/promise/promise.h - src/core/lib/promise/race.h - src/core/lib/promise/seq.h + - src/core/lib/promise/status_flag.h - src/core/lib/promise/trace.h + - src/core/lib/promise/try_join.h - src/core/lib/promise/try_seq.h - - src/core/lib/resolver/resolver.h - - src/core/lib/resolver/resolver_factory.h - - src/core/lib/resolver/resolver_registry.h - - src/core/lib/resolver/server_address.h - src/core/lib/resource_quota/api.h - src/core/lib/resource_quota/arena.h - src/core/lib/resource_quota/memory_quota.h @@ -4334,9 +4633,6 @@ libs: - src/core/lib/security/transport/security_handshaker.h - src/core/lib/security/transport/tsi_error.h - src/core/lib/security/util/json_util.h - - src/core/lib/service_config/service_config.h - - src/core/lib/service_config/service_config_call_data.h - - src/core/lib/service_config/service_config_parser.h - src/core/lib/slice/b64.h - src/core/lib/slice/percent_encoding.h - src/core/lib/slice/slice.h @@ -4360,7 +4656,13 @@ libs: - src/core/lib/surface/lame_client.h - src/core/lib/surface/server.h - src/core/lib/surface/validate_metadata.h + - src/core/lib/surface/wait_for_cq_end_op.h - src/core/lib/transport/batch_builder.h + - src/core/lib/transport/call_factory.h + - src/core/lib/transport/call_filters.h + - src/core/lib/transport/call_final_info.h + - src/core/lib/transport/call_size_estimator.h + - src/core/lib/transport/call_spine.h - src/core/lib/transport/connectivity_state.h - src/core/lib/transport/custom_metadata.h - src/core/lib/transport/error_utils.h @@ -4368,6 +4670,8 @@ libs: - src/core/lib/transport/handshaker_factory.h - src/core/lib/transport/handshaker_registry.h - src/core/lib/transport/http2_errors.h + - src/core/lib/transport/message.h + - src/core/lib/transport/metadata.h - src/core/lib/transport/metadata_batch.h - src/core/lib/transport/metadata_compression_traits.h - src/core/lib/transport/parsed_metadata.h @@ -4376,40 +4680,63 @@ libs: - src/core/lib/transport/timeout_encoding.h - src/core/lib/transport/transport.h - src/core/lib/transport/transport_fwd.h - - src/core/lib/transport/transport_impl.h - src/core/lib/uri/uri_parser.h + - src/core/load_balancing/backend_metric_data.h + - src/core/load_balancing/lb_policy.h + - src/core/load_balancing/lb_policy_factory.h + - src/core/load_balancing/lb_policy_registry.h + - src/core/load_balancing/subchannel_interface.h + - src/core/resolver/endpoint_addresses.h + - src/core/resolver/resolver.h + - src/core/resolver/resolver_factory.h + - src/core/resolver/resolver_registry.h + - src/core/resolver/server_address.h + - src/core/service_config/service_config.h + - src/core/service_config/service_config_call_data.h + - src/core/service_config/service_config_parser.h - src/core/tsi/alts/handshaker/transport_security_common_api.h - src/core/tsi/transport_security.h - src/core/tsi/transport_security_grpc.h - src/core/tsi/transport_security_interface.h - third_party/upb/upb/generated_code_support.h - third_party/upb/upb/message/accessors.h - - third_party/upb/upb/message/accessors_internal.h + - third_party/upb/upb/message/internal/accessors.h - third_party/upb/upb/mini_descriptor/build_enum.h - third_party/upb/upb/mini_descriptor/decode.h - third_party/upb/upb/mini_descriptor/internal/base92.h - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp - third_party/upb/upb/mini_descriptor/internal/modifiers.h - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/port/def.inc - - third_party/upb/upb/port/undef.inc + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/decode_fast.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/eps_copy_input_stream.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode.h + - third_party/upb/upb/wire/internal/swap.h + - third_party/upb/upb/wire/reader.h + - third_party/upb/upb/wire/types.h src: - - src/core/ext/upb-generated/google/protobuf/any.upb.c - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - - src/core/ext/upb-generated/google/rpc/status.upb.c - - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c - - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c - - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c + - src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c - src/core/lib/address_utils/parse_address.cc - src/core/lib/address_utils/sockaddr_utils.cc - src/core/lib/backoff/backoff.cc + - src/core/lib/backoff/random_early_detection.cc - src/core/lib/channel/call_tracer.cc - src/core/lib/channel/channel_args.cc - src/core/lib/channel/channel_args_preconditioning.cc - src/core/lib/channel/channel_stack.cc - src/core/lib/channel/channel_stack_builder.cc - src/core/lib/channel/channel_stack_builder_impl.cc + - src/core/lib/channel/channel_stack_trace.cc - src/core/lib/channel/channel_trace.cc - src/core/lib/channel/channelz.cc - src/core/lib/channel/channelz_registry.cc @@ -4435,12 +4762,12 @@ libs: - src/core/lib/event_engine/default_event_engine_factory.cc - src/core/lib/event_engine/event_engine.cc - src/core/lib/event_engine/forkable.cc - - src/core/lib/event_engine/memory_allocator.cc - src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc - src/core/lib/event_engine/posix_engine/ev_poll_posix.cc - src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc - src/core/lib/event_engine/posix_engine/internal_errqueue.cc - src/core/lib/event_engine/posix_engine/lockfree_event.cc + - src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc - src/core/lib/event_engine/posix_engine/posix_endpoint.cc - src/core/lib/event_engine/posix_engine/posix_engine.cc - src/core/lib/event_engine/posix_engine/posix_engine_listener.cc @@ -4465,7 +4792,9 @@ libs: - src/core/lib/event_engine/time_util.cc - src/core/lib/event_engine/trace.cc - src/core/lib/event_engine/utils.cc + - src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc - src/core/lib/event_engine/windows/iocp.cc + - src/core/lib/event_engine/windows/native_windows_dns_resolver.cc - src/core/lib/event_engine/windows/win_socket.cc - src/core/lib/event_engine/windows/windows_endpoint.cc - src/core/lib/event_engine/windows/windows_engine.cc @@ -4518,7 +4847,6 @@ libs: - src/core/lib/iomgr/iomgr_posix.cc - src/core/lib/iomgr/iomgr_posix_cfstream.cc - src/core/lib/iomgr/iomgr_windows.cc - - src/core/lib/iomgr/load_file.cc - src/core/lib/iomgr/lockfree_event.cc - src/core/lib/iomgr/polling_entity.cc - src/core/lib/iomgr/pollset.cc @@ -4562,15 +4890,10 @@ libs: - src/core/lib/iomgr/wakeup_fd_posix.cc - src/core/lib/json/json_reader.cc - src/core/lib/json/json_writer.cc - - src/core/lib/load_balancing/lb_policy.cc - - src/core/lib/load_balancing/lb_policy_registry.cc - src/core/lib/matchers/matchers.cc - src/core/lib/promise/activity.cc - src/core/lib/promise/party.cc - src/core/lib/promise/trace.cc - - src/core/lib/resolver/resolver.cc - - src/core/lib/resolver/resolver_registry.cc - - src/core/lib/resolver/server_address.cc - src/core/lib/resource_quota/api.cc - src/core/lib/resource_quota/arena.cc - src/core/lib/resource_quota/memory_quota.cc @@ -4604,14 +4927,15 @@ libs: - src/core/lib/security/credentials/tls/tls_utils.cc - src/core/lib/security/security_connector/load_system_roots_fallback.cc - src/core/lib/security/security_connector/load_system_roots_supported.cc + - src/core/lib/security/security_connector/load_system_roots_windows.cc - src/core/lib/security/security_connector/security_connector.cc - src/core/lib/security/transport/client_auth_filter.cc + - src/core/lib/security/transport/legacy_server_auth_filter.cc - src/core/lib/security/transport/secure_endpoint.cc - src/core/lib/security/transport/security_handshaker.cc - src/core/lib/security/transport/server_auth_filter.cc - src/core/lib/security/transport/tsi_error.cc - src/core/lib/security/util/json_util.cc - - src/core/lib/service_config/service_config_parser.cc - src/core/lib/slice/b64.cc - src/core/lib/slice/percent_encoding.cc - src/core/lib/slice/slice.cc @@ -4625,7 +4949,6 @@ libs: - src/core/lib/surface/call.cc - src/core/lib/surface/call_details.cc - src/core/lib/surface/call_log_batch.cc - - src/core/lib/surface/call_trace.cc - src/core/lib/surface/channel.cc - src/core/lib/surface/channel_init.cc - src/core/lib/surface/channel_ping.cc @@ -4639,11 +4962,19 @@ libs: - src/core/lib/surface/server.cc - src/core/lib/surface/validate_metadata.cc - src/core/lib/surface/version.cc + - src/core/lib/surface/wait_for_cq_end_op.cc - src/core/lib/transport/batch_builder.cc + - src/core/lib/transport/call_factory.cc + - src/core/lib/transport/call_filters.cc + - src/core/lib/transport/call_final_info.cc + - src/core/lib/transport/call_size_estimator.cc + - src/core/lib/transport/call_spine.cc - src/core/lib/transport/connectivity_state.cc - src/core/lib/transport/error_utils.cc - src/core/lib/transport/handshaker.cc - src/core/lib/transport/handshaker_registry.cc + - src/core/lib/transport/message.cc + - src/core/lib/transport/metadata.cc - src/core/lib/transport/metadata_batch.cc - src/core/lib/transport/parsed_metadata.cc - src/core/lib/transport/status_conversion.cc @@ -4651,6 +4982,12 @@ libs: - src/core/lib/transport/transport.cc - src/core/lib/transport/transport_op_string.cc - src/core/lib/uri/uri_parser.cc + - src/core/load_balancing/lb_policy.cc + - src/core/load_balancing/lb_policy_registry.cc + - src/core/resolver/endpoint_addresses.cc + - src/core/resolver/resolver.cc + - src/core/resolver/resolver_registry.cc + - src/core/service_config/service_config_parser.cc - src/core/tsi/alts/handshaker/transport_security_common_api.cc - src/core/tsi/transport_security.cc - src/core/tsi/transport_security_grpc.cc @@ -4658,11 +4995,19 @@ libs: - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/decode_fast.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/eps_copy_input_stream.c + - third_party/upb/upb/wire/reader.c deps: + - upb_message_lib - re2 - - upb + - utf8_range_lib - z + - absl/base:config - absl/cleanup:cleanup - absl/container:flat_hash_map - absl/container:flat_hash_set @@ -4670,11 +5015,14 @@ libs: - absl/functional:function_ref - absl/hash:hash - absl/meta:type_traits + - absl/random:bit_gen_ref + - absl/random:distributions - absl/status:statusor - absl/types:span - absl/utility:utility - cares - gpr + - address_sorting - name: grpc_plugin_support build: protoc language: c++ @@ -4744,7 +5092,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -4756,7 +5103,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -4790,9 +5136,9 @@ targets: build: test language: c headers: - - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h + - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h src: - - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc + - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc - test/core/client_channel/lb_policy/static_stride_scheduler_benchmark.cc deps: - absl/algorithm:container @@ -4817,7 +5163,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -4829,7 +5174,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -4845,6 +5189,7 @@ targets: - src/core/lib/debug/trace.h - src/core/lib/gprpp/atomic_utils.h - src/core/lib/gprpp/bitset.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/orphanable.h - src/core/lib/gprpp/ref_counted.h - src/core/lib/gprpp/ref_counted_ptr.h @@ -4871,7 +5216,7 @@ targets: - test/core/promise/activity_test.cc deps: - gtest - - absl/container:flat_hash_set + - absl/base:config - absl/hash:hash - absl/meta:type_traits - absl/status:statusor @@ -4906,7 +5251,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -4922,7 +5266,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -4971,7 +5314,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -4982,7 +5324,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -4995,6 +5336,32 @@ targets: - linux - posix - mac +- name: all_ok_test + gtest: true + build: test + language: c++ + headers: + - src/core/lib/debug/trace.h + - src/core/lib/gprpp/bitset.h + - src/core/lib/promise/all_ok.h + - src/core/lib/promise/detail/join_state.h + - src/core/lib/promise/detail/promise_like.h + - src/core/lib/promise/detail/status.h + - src/core/lib/promise/map.h + - src/core/lib/promise/poll.h + - src/core/lib/promise/status_flag.h + - src/core/lib/promise/trace.h + src: + - src/core/lib/debug/trace.cc + - src/core/lib/promise/trace.cc + - test/core/promise/all_ok_test.cc + deps: + - gtest + - absl/meta:type_traits + - absl/status:statusor + - absl/utility:utility + - gpr + uses_polling: false - name: alloc_test gtest: true build: test @@ -5138,7 +5505,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -5150,7 +5516,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -5256,7 +5621,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -5268,7 +5632,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -5300,7 +5663,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -5312,7 +5674,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -5361,7 +5722,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -5373,7 +5733,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -5391,12 +5750,30 @@ targets: - gtest - grpc_test_util uses_polling: false -- name: backoff_test +- name: backend_metrics_lb_policy_test gtest: true build: test language: c++ - headers: [] - src: + headers: + - test/cpp/interop/backend_metrics_lb_policy.h + src: + - src/proto/grpc/testing/empty.proto + - src/proto/grpc/testing/messages.proto + - src/proto/grpc/testing/test.proto + - src/cpp/server/orca/orca_service.cc + - test/cpp/interop/backend_metrics_lb_policy.cc + - test/cpp/interop/backend_metrics_lb_policy_test.cc + deps: + - gtest + - grpc++ + - grpc_test_util + - grpc++_test_config +- name: backoff_test + gtest: true + build: test + language: c++ + headers: [] + src: - test/core/backoff/backoff_test.cc deps: - gtest @@ -5407,6 +5784,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -5423,6 +5816,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -5465,7 +5867,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -5480,7 +5881,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -5506,7 +5906,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -5521,7 +5920,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -5612,6 +6010,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -5628,6 +6042,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -5699,7 +6122,6 @@ targets: - src/cpp/client/client_stats_interceptor.h - src/cpp/client/create_channel_internal.h - src/cpp/client/secure_credentials.h - - src/cpp/common/channel_filter.h - src/cpp/common/secure_auth_context.h - src/cpp/server/backend_metric_recorder.h - src/cpp/server/dynamic_thread_pool.h @@ -5741,7 +6163,6 @@ targets: - src/cpp/common/alarm.cc - src/cpp/common/auth_property_iterator.cc - src/cpp/common/channel_arguments.cc - - src/cpp/common/channel_filter.cc - src/cpp/common/completion_queue_cc.cc - src/cpp/common/resource_quota_cc.cc - src/cpp/common/rpc_method.cc @@ -5805,7 +6226,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -5817,7 +6237,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -5851,6 +6270,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -5867,6 +6302,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -5882,6 +6326,171 @@ targets: - grpc_authorization_provider - grpc_unsecure - grpc_test_util +- name: call_filters_test + gtest: true + build: test + language: c++ + headers: + - src/core/ext/upb-gen/google/protobuf/any.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.h + - src/core/lib/avl/avl.h + - src/core/lib/channel/channel_args.h + - src/core/lib/compression/compression_internal.h + - src/core/lib/debug/trace.h + - src/core/lib/experiments/config.h + - src/core/lib/experiments/experiments.h + - src/core/lib/gpr/spinlock.h + - src/core/lib/gprpp/atomic_utils.h + - src/core/lib/gprpp/bitset.h + - src/core/lib/gprpp/chunked_vector.h + - src/core/lib/gprpp/down_cast.h + - src/core/lib/gprpp/dual_ref_counted.h + - src/core/lib/gprpp/if_list.h + - src/core/lib/gprpp/manual_constructor.h + - src/core/lib/gprpp/orphanable.h + - src/core/lib/gprpp/packed_table.h + - src/core/lib/gprpp/ref_counted.h + - src/core/lib/gprpp/ref_counted_ptr.h + - src/core/lib/gprpp/ref_counted_string.h + - src/core/lib/gprpp/sorted_pack.h + - src/core/lib/gprpp/status_helper.h + - src/core/lib/gprpp/table.h + - src/core/lib/gprpp/time.h + - src/core/lib/gprpp/type_list.h + - src/core/lib/iomgr/closure.h + - src/core/lib/iomgr/combiner.h + - src/core/lib/iomgr/error.h + - src/core/lib/iomgr/exec_ctx.h + - src/core/lib/iomgr/executor.h + - src/core/lib/iomgr/iomgr_internal.h + - src/core/lib/promise/activity.h + - src/core/lib/promise/context.h + - src/core/lib/promise/detail/basic_seq.h + - src/core/lib/promise/detail/promise_factory.h + - src/core/lib/promise/detail/promise_like.h + - src/core/lib/promise/detail/seq_state.h + - src/core/lib/promise/detail/status.h + - src/core/lib/promise/exec_ctx_wakeup_scheduler.h + - src/core/lib/promise/loop.h + - src/core/lib/promise/map.h + - src/core/lib/promise/poll.h + - src/core/lib/promise/promise.h + - src/core/lib/promise/race.h + - src/core/lib/promise/seq.h + - src/core/lib/promise/status_flag.h + - src/core/lib/promise/trace.h + - src/core/lib/resource_quota/arena.h + - src/core/lib/resource_quota/memory_quota.h + - src/core/lib/resource_quota/periodic_update.h + - src/core/lib/resource_quota/trace.h + - src/core/lib/slice/percent_encoding.h + - src/core/lib/slice/slice.h + - src/core/lib/slice/slice_buffer.h + - src/core/lib/slice/slice_internal.h + - src/core/lib/slice/slice_refcount.h + - src/core/lib/slice/slice_string_helpers.h + - src/core/lib/surface/channel_stack_type.h + - src/core/lib/transport/call_filters.h + - src/core/lib/transport/call_final_info.h + - src/core/lib/transport/custom_metadata.h + - src/core/lib/transport/error_utils.h + - src/core/lib/transport/http2_errors.h + - src/core/lib/transport/message.h + - src/core/lib/transport/metadata.h + - src/core/lib/transport/metadata_batch.h + - src/core/lib/transport/metadata_compression_traits.h + - src/core/lib/transport/parsed_metadata.h + - src/core/lib/transport/simple_slice_based_metadata.h + - src/core/lib/transport/status_conversion.h + - src/core/lib/transport/timeout_encoding.h + - third_party/upb/upb/generated_code_support.h + - third_party/upb/upb/message/accessors.h + - third_party/upb/upb/message/internal/accessors.h + - third_party/upb/upb/mini_descriptor/build_enum.h + - third_party/upb/upb/mini_descriptor/decode.h + - third_party/upb/upb/mini_descriptor/internal/base92.h + - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp + - third_party/upb/upb/mini_descriptor/internal/modifiers.h + - third_party/upb/upb/mini_descriptor/internal/wire_constants.h + - third_party/upb/upb/mini_descriptor/link.h + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/decode_fast.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/eps_copy_input_stream.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode.h + - third_party/upb/upb/wire/internal/swap.h + - third_party/upb/upb/wire/reader.h + - third_party/upb/upb/wire/types.h + src: + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c + - src/core/lib/channel/channel_args.cc + - src/core/lib/compression/compression_internal.cc + - src/core/lib/debug/trace.cc + - src/core/lib/experiments/config.cc + - src/core/lib/experiments/experiments.cc + - src/core/lib/gprpp/ref_counted_string.cc + - src/core/lib/gprpp/status_helper.cc + - src/core/lib/gprpp/time.cc + - src/core/lib/iomgr/closure.cc + - src/core/lib/iomgr/combiner.cc + - src/core/lib/iomgr/error.cc + - src/core/lib/iomgr/exec_ctx.cc + - src/core/lib/iomgr/executor.cc + - src/core/lib/iomgr/iomgr_internal.cc + - src/core/lib/promise/activity.cc + - src/core/lib/promise/trace.cc + - src/core/lib/resource_quota/arena.cc + - src/core/lib/resource_quota/memory_quota.cc + - src/core/lib/resource_quota/periodic_update.cc + - src/core/lib/resource_quota/trace.cc + - src/core/lib/slice/percent_encoding.cc + - src/core/lib/slice/slice.cc + - src/core/lib/slice/slice_buffer.cc + - src/core/lib/slice/slice_refcount.cc + - src/core/lib/slice/slice_string_helpers.cc + - src/core/lib/surface/channel_stack_type.cc + - src/core/lib/transport/call_filters.cc + - src/core/lib/transport/call_final_info.cc + - src/core/lib/transport/error_utils.cc + - src/core/lib/transport/message.cc + - src/core/lib/transport/metadata.cc + - src/core/lib/transport/metadata_batch.cc + - src/core/lib/transport/parsed_metadata.cc + - src/core/lib/transport/status_conversion.cc + - src/core/lib/transport/timeout_encoding.cc + - test/core/transport/call_filters_test.cc + - third_party/upb/upb/message/accessors.c + - third_party/upb/upb/mini_descriptor/build_enum.c + - third_party/upb/upb/mini_descriptor/decode.c + - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c + - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/decode_fast.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/eps_copy_input_stream.c + - third_party/upb/upb/wire/reader.c + deps: + - gtest + - upb_message_lib + - utf8_range_lib + - absl/base:config + - absl/container:inlined_vector + - absl/functional:function_ref + - absl/hash:hash + - absl/meta:type_traits + - absl/status:statusor + - absl/utility:utility + - gpr + uses_polling: false - name: call_finalization_test gtest: true build: test @@ -5898,6 +6507,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -5914,6 +6539,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -5933,9 +6567,11 @@ targets: gtest: true build: test language: c++ - headers: [] + headers: + - test/core/util/fake_stats_plugin.h src: - test/core/channel/call_tracer_test.cc + - test/core/util/fake_stats_plugin.cc deps: - gtest - grpc_test_util @@ -5945,6 +6581,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -5961,6 +6613,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -5981,6 +6642,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -5997,6 +6674,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -6017,6 +6703,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -6033,6 +6735,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -6053,11 +6764,27 @@ targets: build: test language: c++ headers: - - test/core/end2end/cq_verifier.h - - test/core/end2end/end2end_tests.h - - test/core/end2end/fixtures/h2_oauth2_common.h - - test/core/end2end/fixtures/h2_ssl_cred_reload_fixture.h - - test/core/end2end/fixtures/h2_ssl_tls_common.h + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h + - test/core/end2end/cq_verifier.h + - test/core/end2end/end2end_tests.h + - test/core/end2end/fixtures/h2_oauth2_common.h + - test/core/end2end/fixtures/h2_ssl_cred_reload_fixture.h + - test/core/end2end/fixtures/h2_ssl_tls_common.h - test/core/end2end/fixtures/h2_tls_common.h - test/core/end2end/fixtures/http_proxy_fixture.h - test/core/end2end/fixtures/inproc_fixture.h @@ -6069,6 +6796,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -6106,6 +6842,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -6122,6 +6874,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -6157,6 +6918,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -6173,6 +6950,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -6193,6 +6979,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -6209,6 +7011,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -6229,93 +7040,182 @@ targets: build: test language: c++ headers: - - src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h - - src/core/ext/upb-generated/envoy/annotations/resource.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h - - src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h - - src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h - - src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h - - src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h - - src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h - - src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h - - src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h - - src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h - - src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h - - src/core/ext/upb-generated/envoy/type/v3/http.upb.h - - src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h - - src/core/ext/upb-generated/envoy/type/v3/percent.upb.h - - src/core/ext/upb-generated/envoy/type/v3/range.upb.h - - src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h - - src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h - - src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h - - src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h - - src/core/ext/upb-generated/google/api/annotations.upb.h - - src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h - - src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h - - src/core/ext/upb-generated/google/api/http.upb.h - - src/core/ext/upb-generated/google/api/httpbody.upb.h - - src/core/ext/upb-generated/google/protobuf/any.upb.h - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - src/core/ext/upb-generated/google/protobuf/duration.upb.h - - src/core/ext/upb-generated/google/protobuf/empty.upb.h - - src/core/ext/upb-generated/google/protobuf/struct.upb.h - - src/core/ext/upb-generated/google/protobuf/timestamp.upb.h - - src/core/ext/upb-generated/google/protobuf/wrappers.upb.h - - src/core/ext/upb-generated/google/rpc/status.upb.h - - src/core/ext/upb-generated/udpa/annotations/migrate.upb.h - - src/core/ext/upb-generated/udpa/annotations/security.upb.h - - src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h - - src/core/ext/upb-generated/udpa/annotations/status.upb.h - - src/core/ext/upb-generated/udpa/annotations/versioning.upb.h - - src/core/ext/upb-generated/validate/validate.upb.h - - src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h - - src/core/ext/upb-generated/xds/annotations/v3/security.upb.h - - src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h - - src/core/ext/upb-generated/xds/annotations/v3/status.upb.h - - src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h - - src/core/ext/upb-generated/xds/core/v3/authority.upb.h - - src/core/ext/upb-generated/xds/core/v3/cidr.upb.h - - src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h - - src/core/ext/upb-generated/xds/core/v3/context_params.upb.h - - src/core/ext/upb-generated/xds/core/v3/extension.upb.h - - src/core/ext/upb-generated/xds/core/v3/resource.upb.h - - src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h - - src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h - - src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h - - src/core/ext/upb-generated/xds/type/v3/cel.upb.h - - src/core/ext/upb-generated/xds/type/v3/range.upb.h - - src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h + - src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h + - src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h + - src/core/ext/upb-gen/envoy/annotations/resource.upb.h + - src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h + - src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h + - src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h + - src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h + - src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h + - src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h + - src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h + - src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h + - src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h + - src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h + - src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/http.upb.h + - src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h + - src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/percent.upb.h + - src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/range.upb.h + - src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h + - src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h + - src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h + - src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h + - src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h + - src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h + - src/core/ext/upb-gen/google/api/annotations.upb.h + - src/core/ext/upb-gen/google/api/annotations.upb_minitable.h + - src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h + - src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h + - src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h + - src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h + - src/core/ext/upb-gen/google/api/http.upb.h + - src/core/ext/upb-gen/google/api/http.upb_minitable.h + - src/core/ext/upb-gen/google/api/httpbody.upb.h + - src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/any.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/duration.upb.h + - src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/empty.upb.h + - src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/struct.upb.h + - src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/timestamp.upb.h + - src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/wrappers.upb.h + - src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h + - src/core/ext/upb-gen/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.h + - src/core/ext/upb-gen/udpa/annotations/migrate.upb.h + - src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h + - src/core/ext/upb-gen/udpa/annotations/security.upb.h + - src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h + - src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h + - src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h + - src/core/ext/upb-gen/udpa/annotations/status.upb.h + - src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h + - src/core/ext/upb-gen/udpa/annotations/versioning.upb.h + - src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h + - src/core/ext/upb-gen/validate/validate.upb.h + - src/core/ext/upb-gen/validate/validate.upb_minitable.h + - src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h + - src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h + - src/core/ext/upb-gen/xds/annotations/v3/security.upb.h + - src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h + - src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h + - src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h + - src/core/ext/upb-gen/xds/annotations/v3/status.upb.h + - src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h + - src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h + - src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/authority.upb.h + - src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/cidr.upb.h + - src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h + - src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/context_params.upb.h + - src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/extension.upb.h + - src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/resource.upb.h + - src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h + - src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h + - src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h + - src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h + - src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h + - src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h + - src/core/ext/upb-gen/xds/type/v3/cel.upb.h + - src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h + - src/core/ext/upb-gen/xds/type/v3/range.upb.h + - src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h + - src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h + - src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h - src/core/lib/security/authorization/cel_authorization_engine.h - src/core/lib/security/authorization/mock_cel/activation.h - src/core/lib/security/authorization/mock_cel/cel_expr_builder_factory.h @@ -6331,98 +7231,98 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h src: - - src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c - - src/core/ext/upb-generated/envoy/annotations/resource.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c - - src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c - - src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c - - src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c - - src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c - - src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c - - src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c - - src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c - - src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c - - src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c - - src/core/ext/upb-generated/envoy/type/v3/http.upb.c - - src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c - - src/core/ext/upb-generated/envoy/type/v3/percent.upb.c - - src/core/ext/upb-generated/envoy/type/v3/range.upb.c - - src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c - - src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c - - src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c - - src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c - - src/core/ext/upb-generated/google/api/annotations.upb.c - - src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c - - src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c - - src/core/ext/upb-generated/google/api/http.upb.c - - src/core/ext/upb-generated/google/api/httpbody.upb.c - - src/core/ext/upb-generated/google/protobuf/any.upb.c - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - - src/core/ext/upb-generated/google/protobuf/duration.upb.c - - src/core/ext/upb-generated/google/protobuf/empty.upb.c - - src/core/ext/upb-generated/google/protobuf/struct.upb.c - - src/core/ext/upb-generated/google/protobuf/timestamp.upb.c - - src/core/ext/upb-generated/google/protobuf/wrappers.upb.c - - src/core/ext/upb-generated/google/rpc/status.upb.c - - src/core/ext/upb-generated/udpa/annotations/migrate.upb.c - - src/core/ext/upb-generated/udpa/annotations/security.upb.c - - src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c - - src/core/ext/upb-generated/udpa/annotations/status.upb.c - - src/core/ext/upb-generated/udpa/annotations/versioning.upb.c - - src/core/ext/upb-generated/validate/validate.upb.c - - src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c - - src/core/ext/upb-generated/xds/annotations/v3/security.upb.c - - src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c - - src/core/ext/upb-generated/xds/annotations/v3/status.upb.c - - src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c - - src/core/ext/upb-generated/xds/core/v3/authority.upb.c - - src/core/ext/upb-generated/xds/core/v3/cidr.upb.c - - src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c - - src/core/ext/upb-generated/xds/core/v3/context_params.upb.c - - src/core/ext/upb-generated/xds/core/v3/extension.upb.c - - src/core/ext/upb-generated/xds/core/v3/resource.upb.c - - src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c - - src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c - - src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c - - src/core/ext/upb-generated/xds/type/v3/cel.upb.c - - src/core/ext/upb-generated/xds/type/v3/range.upb.c - - src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c + - src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c + - src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c + - src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c + - src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c + - src/core/ext/upb-gen/google/api/annotations.upb_minitable.c + - src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c + - src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c + - src/core/ext/upb-gen/google/api/http.upb_minitable.c + - src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c + - src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c + - src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c + - src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c + - src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c + - src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c + - src/core/ext/upb-gen/validate/validate.upb_minitable.c + - src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c + - src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c + - src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c + - src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c + - src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c + - src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c + - src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c + - src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c + - src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c + - src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c - src/core/lib/security/authorization/cel_authorization_engine.cc - test/core/security/cel_authorization_engine_test.cc - test/core/util/cmdline.cc @@ -6431,7 +7331,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -6550,7 +7449,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -6562,23 +7460,21 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc deps: - gtest - grpc_test_util -- name: channel_filter_test +- name: channel_init_test gtest: true build: test language: c++ headers: [] src: - - test/cpp/common/channel_filter_test.cc + - test/core/surface/channel_init_test.cc deps: - gtest - - grpc++ - grpc_test_util uses_polling: false - name: channel_stack_builder_test @@ -6633,12 +7529,14 @@ targets: build: test language: c++ headers: + - test/core/event_engine/event_engine_test_utils.h - test/cpp/end2end/test_service_impl.h src: - src/proto/grpc/testing/echo.proto - src/proto/grpc/testing/echo_messages.proto - src/proto/grpc/testing/simple_messages.proto - src/proto/grpc/testing/xds/v3/orca_load_report.proto + - test/core/event_engine/event_engine_test_utils.cc - test/cpp/end2end/channelz_service_test.cc - test/cpp/end2end/test_service_impl.cc deps: @@ -6658,7 +7556,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -6670,7 +7567,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -6690,7 +7586,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -6702,7 +7597,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -6714,9 +7608,11 @@ targets: build: test language: c++ headers: - - src/core/ext/upb-generated/google/protobuf/any.upb.h - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - src/core/ext/upb-generated/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.h - src/core/lib/debug/trace.h - src/core/lib/experiments/config.h - src/core/lib/experiments/experiments.h @@ -6725,6 +7621,7 @@ targets: - src/core/lib/gprpp/bitset.h - src/core/lib/gprpp/chunked_vector.h - src/core/lib/gprpp/cpp_impl_of.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/manual_constructor.h - src/core/lib/gprpp/orphanable.h - src/core/lib/gprpp/ref_counted.h @@ -6764,22 +7661,30 @@ targets: - src/core/lib/slice/slice_string_helpers.h - third_party/upb/upb/generated_code_support.h - third_party/upb/upb/message/accessors.h - - third_party/upb/upb/message/accessors_internal.h + - third_party/upb/upb/message/internal/accessors.h - third_party/upb/upb/mini_descriptor/build_enum.h - third_party/upb/upb/mini_descriptor/decode.h - third_party/upb/upb/mini_descriptor/internal/base92.h - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp - third_party/upb/upb/mini_descriptor/internal/modifiers.h - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/port/def.inc - - third_party/upb/upb/port/undef.inc + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/decode_fast.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/eps_copy_input_stream.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode.h + - third_party/upb/upb/wire/internal/swap.h + - third_party/upb/upb/wire/reader.h + - third_party/upb/upb/wire/types.h src: - - src/core/ext/upb-generated/google/protobuf/any.upb.c - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - - src/core/ext/upb-generated/google/rpc/status.upb.c + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c - src/core/lib/debug/trace.cc - - src/core/lib/event_engine/memory_allocator.cc - src/core/lib/experiments/config.cc - src/core/lib/experiments/experiments.cc - src/core/lib/gprpp/status_helper.cc @@ -6807,11 +7712,18 @@ targets: - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/decode_fast.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/eps_copy_input_stream.c + - third_party/upb/upb/wire/reader.c deps: - gtest - - upb - - absl/container:flat_hash_set + - upb_message_lib + - utf8_range_lib + - absl/base:config - absl/functional:function_ref - absl/hash:hash - absl/meta:type_traits @@ -6931,6 +7843,27 @@ targets: deps: - grpc++_test - grpc++_test_util +- name: client_fork_test + gtest: true + build: test + language: c++ + headers: [] + src: + - src/proto/grpc/testing/duplicate/echo_duplicate.proto + - src/proto/grpc/testing/echo.proto + - src/proto/grpc/testing/echo_messages.proto + - src/proto/grpc/testing/simple_messages.proto + - src/proto/grpc/testing/xds/v3/orca_load_report.proto + - test/cpp/end2end/client_fork_test.cc + deps: + - gtest + - grpc++ + - grpc_test_util + - grpc++_test_config + platforms: + - linux + - posix + - mac - name: client_interceptors_end2end_test gtest: true build: test @@ -6996,6 +7929,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -7012,6 +7961,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -7027,35 +7985,6 @@ targets: - grpc_authorization_provider - grpc_unsecure - grpc_test_util -- name: client_transport_test - gtest: true - build: test - language: c++ - headers: - - src/core/ext/transport/chaotic_good/client_transport.h - - src/core/ext/transport/chaotic_good/frame.h - - src/core/ext/transport/chaotic_good/frame_header.h - - src/core/lib/promise/detail/join_state.h - - src/core/lib/promise/event_engine_wakeup_scheduler.h - - src/core/lib/promise/join.h - - src/core/lib/promise/mpsc.h - - src/core/lib/promise/wait_set.h - - src/core/lib/transport/promise_endpoint.h - - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.h - - test/core/promise/test_wakeup_schedulers.h - src: - - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.proto - - src/core/ext/transport/chaotic_good/client_transport.cc - - src/core/ext/transport/chaotic_good/frame.cc - - src/core/ext/transport/chaotic_good/frame_header.cc - - src/core/lib/transport/promise_endpoint.cc - - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc - - test/core/transport/chaotic_good/client_transport_test.cc - deps: - - gtest - - protobuf - - grpc_test_util - uses_polling: false - name: cmdline_test gtest: true build: test @@ -7069,7 +7998,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -7081,7 +8009,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -7127,7 +8054,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -7139,7 +8065,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -7178,6 +8103,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -7194,6 +8135,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -7269,7 +8219,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -7281,7 +8230,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -7293,6 +8241,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -7309,6 +8273,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -7345,11 +8318,14 @@ targets: build: test language: c++ headers: + - src/core/lib/gprpp/down_cast.h - src/core/lib/promise/context.h src: - test/core/promise/context_test.cc deps: - gtest + - absl/base:config + - absl/meta:type_traits - gpr uses_polling: false - name: core_configuration_test @@ -7385,6 +8361,22 @@ targets: - gtest - grpc_test_util uses_polling: false +- name: crl_provider_test + gtest: true + build: test + language: c++ + headers: + - test/cpp/end2end/test_service_impl.h + src: + - src/proto/grpc/testing/echo.proto + - src/proto/grpc/testing/echo_messages.proto + - src/proto/grpc/testing/simple_messages.proto + - src/proto/grpc/testing/xds/v3/orca_load_report.proto + - test/cpp/end2end/crl_provider_test.cc + - test/cpp/end2end/test_service_impl.cc + deps: + - gtest + - grpc++_test_util - name: crl_ssl_transport_security_test gtest: true build: test @@ -7416,6 +8408,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -7432,6 +8440,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -7473,11 +8490,38 @@ targets: deps: - gtest - grpc++_test_util +- name: directory_reader_test + gtest: true + build: test + language: c++ + headers: [] + src: + - test/core/gprpp/directory_reader_test.cc + deps: + - gtest + - grpc_test_util + uses_polling: false - name: disappearing_server_test gtest: true build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -7494,6 +8538,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -7529,6 +8582,19 @@ targets: deps: - gtest - grpc_test_util +- name: down_cast_test + gtest: true + build: test + language: c++ + headers: + - src/core/lib/gprpp/down_cast.h + src: + - test/core/gprpp/down_cast_test.cc + deps: + - gtest + - absl/base:config + - gpr + uses_polling: false - name: dual_ref_counted_test gtest: true build: test @@ -7574,6 +8640,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -7590,6 +8672,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -7649,6 +8740,17 @@ targets: deps: - grpc++_test - grpc++_test_util +- name: endpoint_addresses_test + gtest: true + build: test + language: c++ + headers: [] + src: + - test/core/resolver/endpoint_addresses_test.cc + deps: + - gtest + - grpc_test_util + uses_polling: false - name: endpoint_binder_pool_test gtest: true build: test @@ -7677,7 +8779,6 @@ targets: - src/cpp/client/client_stats_interceptor.h - src/cpp/client/create_channel_internal.h - src/cpp/client/secure_credentials.h - - src/cpp/common/channel_filter.h - src/cpp/common/secure_auth_context.h - src/cpp/server/backend_metric_recorder.h - src/cpp/server/dynamic_thread_pool.h @@ -7719,7 +8820,6 @@ targets: - src/cpp/common/alarm.cc - src/cpp/common/auth_property_iterator.cc - src/cpp/common/channel_arguments.cc - - src/cpp/common/channel_filter.cc - src/cpp/common/completion_queue_cc.cc - src/cpp/common/resource_quota_cc.cc - src/cpp/common/rpc_method.cc @@ -7802,7 +8902,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -7815,7 +8914,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -7861,7 +8959,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -7874,7 +8971,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -7895,7 +8991,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -7907,7 +9002,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -7927,7 +9021,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -7939,7 +9032,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -8008,15 +9100,18 @@ targets: build: test language: c++ headers: - - src/core/ext/upb-generated/google/protobuf/any.upb.h - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - src/core/ext/upb-generated/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.h - src/core/lib/debug/trace.h - src/core/lib/experiments/config.h - src/core/lib/experiments/experiments.h - src/core/lib/gpr/spinlock.h - src/core/lib/gprpp/atomic_utils.h - src/core/lib/gprpp/bitset.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/manual_constructor.h - src/core/lib/gprpp/orphanable.h - src/core/lib/gprpp/ref_counted.h @@ -8043,20 +9138,29 @@ targets: - src/core/lib/slice/slice_string_helpers.h - third_party/upb/upb/generated_code_support.h - third_party/upb/upb/message/accessors.h - - third_party/upb/upb/message/accessors_internal.h + - third_party/upb/upb/message/internal/accessors.h - third_party/upb/upb/mini_descriptor/build_enum.h - third_party/upb/upb/mini_descriptor/decode.h - third_party/upb/upb/mini_descriptor/internal/base92.h - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp - third_party/upb/upb/mini_descriptor/internal/modifiers.h - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/port/def.inc - - third_party/upb/upb/port/undef.inc + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/decode_fast.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/eps_copy_input_stream.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode.h + - third_party/upb/upb/wire/internal/swap.h + - third_party/upb/upb/wire/reader.h + - third_party/upb/upb/wire/types.h src: - - src/core/ext/upb-generated/google/protobuf/any.upb.c - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - - src/core/ext/upb-generated/google/rpc/status.upb.c + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c - src/core/lib/debug/trace.cc - src/core/lib/experiments/config.cc - src/core/lib/experiments/experiments.cc @@ -8078,10 +9182,18 @@ targets: - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c - deps: + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/decode_fast.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/eps_copy_input_stream.c + - third_party/upb/upb/wire/reader.c + deps: - gtest - - upb + - upb_message_lib + - utf8_range_lib + - absl/base:config - absl/hash:hash - absl/meta:type_traits - absl/status:statusor @@ -8161,7 +9273,6 @@ targets: - src/cpp/client/client_stats_interceptor.h - src/cpp/client/create_channel_internal.h - src/cpp/client/secure_credentials.h - - src/cpp/common/channel_filter.h - src/cpp/common/secure_auth_context.h - src/cpp/server/backend_metric_recorder.h - src/cpp/server/dynamic_thread_pool.h @@ -8203,7 +9314,6 @@ targets: - src/cpp/common/alarm.cc - src/cpp/common/auth_property_iterator.cc - src/cpp/common/channel_arguments.cc - - src/cpp/common/channel_filter.cc - src/cpp/common/completion_queue_cc.cc - src/cpp/common/resource_quota_cc.cc - src/cpp/common/rpc_method.cc @@ -8277,7 +9387,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -8289,7 +9398,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -8316,6 +9424,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -8332,6 +9456,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -8352,6 +9485,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -8368,6 +9517,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -8383,26 +9541,27 @@ targets: - grpc_authorization_provider - grpc_unsecure - grpc_test_util -- name: filter_end2end_test - gtest: true - build: test - language: c++ - headers: [] - src: - - src/proto/grpc/testing/duplicate/echo_duplicate.proto - - src/proto/grpc/testing/echo.proto - - src/proto/grpc/testing/echo_messages.proto - - src/proto/grpc/testing/simple_messages.proto - - src/proto/grpc/testing/xds/v3/orca_load_report.proto - - test/cpp/end2end/filter_end2end_test.cc - deps: - - gtest - - grpc++_test_util - name: filter_init_fails_test gtest: true build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -8419,6 +9578,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -8457,6 +9625,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -8473,6 +9657,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -8511,10 +9704,13 @@ targets: language: c++ headers: - src/core/ext/transport/chttp2/transport/flow_control.h + - src/core/ext/transport/chttp2/transport/frame.h - src/core/ext/transport/chttp2/transport/http2_settings.h - - src/core/ext/upb-generated/google/protobuf/any.upb.h - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - src/core/ext/upb-generated/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.h - src/core/lib/debug/trace.h - src/core/lib/experiments/config.h - src/core/lib/experiments/experiments.h @@ -8522,6 +9718,7 @@ targets: - src/core/lib/gprpp/atomic_utils.h - src/core/lib/gprpp/bitset.h - src/core/lib/gprpp/cpp_impl_of.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/manual_constructor.h - src/core/lib/gprpp/orphanable.h - src/core/lib/gprpp/ref_counted.h @@ -8555,32 +9752,41 @@ targets: - src/core/lib/resource_quota/trace.h - src/core/lib/slice/percent_encoding.h - src/core/lib/slice/slice.h + - src/core/lib/slice/slice_buffer.h - src/core/lib/slice/slice_internal.h - src/core/lib/slice/slice_refcount.h - src/core/lib/slice/slice_string_helpers.h - src/core/lib/transport/bdp_estimator.h - src/core/lib/transport/http2_errors.h - - src/core/lib/transport/pid_controller.h - third_party/upb/upb/generated_code_support.h - third_party/upb/upb/message/accessors.h - - third_party/upb/upb/message/accessors_internal.h + - third_party/upb/upb/message/internal/accessors.h - third_party/upb/upb/mini_descriptor/build_enum.h - third_party/upb/upb/mini_descriptor/decode.h - third_party/upb/upb/mini_descriptor/internal/base92.h - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp - third_party/upb/upb/mini_descriptor/internal/modifiers.h - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/port/def.inc - - third_party/upb/upb/port/undef.inc + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/decode_fast.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/eps_copy_input_stream.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode.h + - third_party/upb/upb/wire/internal/swap.h + - third_party/upb/upb/wire/reader.h + - third_party/upb/upb/wire/types.h src: - src/core/ext/transport/chttp2/transport/flow_control.cc + - src/core/ext/transport/chttp2/transport/frame.cc - src/core/ext/transport/chttp2/transport/http2_settings.cc - - src/core/ext/upb-generated/google/protobuf/any.upb.c - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - - src/core/ext/upb-generated/google/rpc/status.upb.c + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c - src/core/lib/debug/trace.cc - - src/core/lib/event_engine/memory_allocator.cc - src/core/lib/experiments/config.cc - src/core/lib/experiments/experiments.cc - src/core/lib/gprpp/status_helper.cc @@ -8600,24 +9806,32 @@ targets: - src/core/lib/resource_quota/trace.cc - src/core/lib/slice/percent_encoding.cc - src/core/lib/slice/slice.cc + - src/core/lib/slice/slice_buffer.cc - src/core/lib/slice/slice_refcount.cc - src/core/lib/slice/slice_string_helpers.cc - src/core/lib/transport/bdp_estimator.cc - - src/core/lib/transport/pid_controller.cc - test/core/transport/chttp2/flow_control_test.cc - third_party/upb/upb/message/accessors.c - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/decode_fast.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/eps_copy_input_stream.c + - third_party/upb/upb/wire/reader.c deps: - gtest - - upb - - absl/container:flat_hash_set + - upb_message_lib + - utf8_range_lib + - absl/base:config - absl/functional:function_ref - absl/hash:hash - absl/meta:type_traits - absl/status:statusor + - absl/types:span - gpr uses_polling: false - name: for_each_test @@ -8625,9 +9839,11 @@ targets: build: test language: c++ headers: - - src/core/ext/upb-generated/google/protobuf/any.upb.h - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - src/core/ext/upb-generated/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.h - src/core/lib/debug/trace.h - src/core/lib/experiments/config.h - src/core/lib/experiments/experiments.h @@ -8635,6 +9851,7 @@ targets: - src/core/lib/gprpp/atomic_utils.h - src/core/lib/gprpp/bitset.h - src/core/lib/gprpp/cpp_impl_of.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/manual_constructor.h - src/core/lib/gprpp/orphanable.h - src/core/lib/gprpp/ref_counted.h @@ -8667,6 +9884,7 @@ targets: - src/core/lib/promise/poll.h - src/core/lib/promise/race.h - src/core/lib/promise/seq.h + - src/core/lib/promise/status_flag.h - src/core/lib/promise/trace.h - src/core/lib/promise/try_seq.h - src/core/lib/resource_quota/arena.h @@ -8683,22 +9901,30 @@ targets: - test/core/promise/test_wakeup_schedulers.h - third_party/upb/upb/generated_code_support.h - third_party/upb/upb/message/accessors.h - - third_party/upb/upb/message/accessors_internal.h + - third_party/upb/upb/message/internal/accessors.h - third_party/upb/upb/mini_descriptor/build_enum.h - third_party/upb/upb/mini_descriptor/decode.h - third_party/upb/upb/mini_descriptor/internal/base92.h - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp - third_party/upb/upb/mini_descriptor/internal/modifiers.h - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/port/def.inc - - third_party/upb/upb/port/undef.inc + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/decode_fast.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/eps_copy_input_stream.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode.h + - third_party/upb/upb/wire/internal/swap.h + - third_party/upb/upb/wire/reader.h + - third_party/upb/upb/wire/types.h src: - - src/core/ext/upb-generated/google/protobuf/any.upb.c - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - - src/core/ext/upb-generated/google/rpc/status.upb.c + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c - src/core/lib/debug/trace.cc - - src/core/lib/event_engine/memory_allocator.cc - src/core/lib/experiments/config.cc - src/core/lib/experiments/experiments.cc - src/core/lib/gprpp/status_helper.cc @@ -8726,11 +9952,18 @@ targets: - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/decode_fast.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/eps_copy_input_stream.c + - third_party/upb/upb/wire/reader.c deps: - gtest - - upb - - absl/container:flat_hash_set + - upb_message_lib + - utf8_range_lib + - absl/base:config - absl/functional:function_ref - absl/hash:hash - absl/meta:type_traits @@ -8781,7 +10014,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -8797,7 +10029,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -8816,21 +10047,34 @@ targets: deps: - gtest - grpc_test_util -- name: frame_header_test +- name: frame_test gtest: true build: test language: c++ headers: - - src/core/ext/transport/chaotic_good/frame_header.h - - src/core/lib/gpr/useful.h - - src/core/lib/gprpp/bitset.h + - src/core/ext/transport/chttp2/transport/frame.h + - src/core/lib/debug/trace.h + - src/core/lib/slice/slice.h + - src/core/lib/slice/slice_buffer.h + - src/core/lib/slice/slice_internal.h + - src/core/lib/slice/slice_refcount.h + - src/core/lib/slice/slice_string_helpers.h + - src/core/lib/transport/http2_errors.h src: - - src/core/ext/transport/chaotic_good/frame_header.cc - - test/core/transport/chaotic_good/frame_header_test.cc + - src/core/ext/transport/chttp2/transport/frame.cc + - src/core/lib/debug/trace.cc + - src/core/lib/slice/slice.cc + - src/core/lib/slice/slice_buffer.cc + - src/core/lib/slice/slice_refcount.cc + - src/core/lib/slice/slice_string_helpers.cc + - test/core/transport/chttp2/frame_test.cc deps: - gtest - - absl/status:status + - absl/hash:hash - absl/status:statusor + - absl/types:span + - gpr + uses_polling: false - name: fuzzing_event_engine_test gtest: true build: test @@ -8859,6 +10103,20 @@ targets: - linux - posix uses_polling: false +- name: fuzzing_event_engine_unittest + gtest: true + build: test + language: c++ + headers: + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.h + src: + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.proto + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine_unittest.cc + deps: + - gtest + - protobuf + - grpc_test_util - name: generic_end2end_test gtest: true build: test @@ -8903,6 +10161,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -8919,6 +10193,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -8959,7 +10242,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -8971,7 +10253,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -9002,7 +10283,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -9015,7 +10295,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -9035,7 +10314,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -9047,7 +10325,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -9080,6 +10357,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -9096,6 +10389,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -9186,7 +10488,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -9198,7 +10499,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -9258,7 +10558,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -9270,7 +10569,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -9290,7 +10588,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -9302,7 +10599,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -9322,7 +10618,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -9334,7 +10629,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -9354,7 +10648,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -9366,7 +10659,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -9386,7 +10678,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -9398,13 +10689,31 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc deps: - gtest - grpc_test_util +- name: grpc_tls_crl_provider_test + gtest: true + build: test + language: c++ + headers: + - test/core/event_engine/event_engine_test_utils.h + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.h + - test/core/tsi/transport_security_test_lib.h + src: + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.proto + - test/core/util/fuzz_config_vars.proto + - test/core/event_engine/event_engine_test_utils.cc + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc + - test/core/security/grpc_tls_crl_provider_test.cc + - test/core/tsi/transport_security_test_lib.cc + deps: + - gtest + - protobuf + - grpc_test_util - name: grpc_tool_test gtest: true build: test @@ -9609,6 +10918,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -9625,6 +10950,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -9653,7 +10987,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -9665,7 +10998,6 @@ targets: - test/core/util/histogram_test.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -9697,7 +11029,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -9709,7 +11040,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -9730,7 +11060,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -9742,7 +11071,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -9763,7 +11091,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -9775,7 +11102,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -9788,6 +11114,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -9804,6 +11146,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -9833,34 +11184,106 @@ targets: deps: - grpc++_test_config - grpc++_test_util -- name: http_proxy_mapper_test +- name: http2_settings_test gtest: true build: test language: c++ headers: [] src: - - test/core/client_channel/http_proxy_mapper_test.cc + - test/core/transport/chttp2/http2_settings_test.cc deps: - gtest - grpc_test_util - uses_polling: false -- name: httpcli_test +- name: http2_stats_test gtest: true build: test language: c++ headers: - - test/core/http/httpcli_test_util.h - - test/core/util/fake_udp_and_tcp_server.h + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h + - test/core/end2end/cq_verifier.h + - test/core/end2end/end2end_tests.h + - test/core/end2end/fixtures/h2_oauth2_common.h + - test/core/end2end/fixtures/h2_ssl_cred_reload_fixture.h + - test/core/end2end/fixtures/h2_ssl_tls_common.h + - test/core/end2end/fixtures/h2_tls_common.h + - test/core/end2end/fixtures/http_proxy_fixture.h + - test/core/end2end/fixtures/inproc_fixture.h + - test/core/end2end/fixtures/local_util.h + - test/core/end2end/fixtures/proxy.h + - test/core/end2end/fixtures/secure_fixture.h + - test/core/end2end/fixtures/sockpair_fixture.h + - test/core/end2end/tests/cancel_test_helpers.h + - test/core/event_engine/event_engine_test_utils.h + - test/core/util/test_lb_policies.h src: - - test/core/http/httpcli_test.cc - - test/core/http/httpcli_test_util.cc - - test/core/util/fake_udp_and_tcp_server.cc - deps: - - gtest - - grpc++_test_util - platforms: - - linux - - posix + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc + - test/core/end2end/cq_verifier.cc + - test/core/end2end/end2end_test_main.cc + - test/core/end2end/end2end_test_suites.cc + - test/core/end2end/end2end_tests.cc + - test/core/end2end/fixtures/http_proxy_fixture.cc + - test/core/end2end/fixtures/local_util.cc + - test/core/end2end/fixtures/proxy.cc + - test/core/end2end/tests/http2_stats.cc + - test/core/event_engine/event_engine_test_utils.cc + - test/core/util/test_lb_policies.cc + deps: + - gtest + - grpc_authorization_provider + - grpc_unsecure + - grpc_test_util +- name: http_proxy_mapper_test + gtest: true + build: test + language: c++ + headers: + - test/core/util/scoped_env_var.h + src: + - test/core/client_channel/http_proxy_mapper_test.cc + deps: + - gtest + - grpc_test_util + uses_polling: false +- name: httpcli_test + gtest: true + build: test + language: c++ + headers: + - test/core/http/httpcli_test_util.h + - test/core/util/fake_udp_and_tcp_server.h + src: + - test/core/http/httpcli_test.cc + - test/core/http/httpcli_test_util.cc + - test/core/util/fake_udp_and_tcp_server.cc + deps: + - gtest + - grpc++_test_util + platforms: + - linux + - posix - mac - name: httpscli_test gtest: true @@ -9962,6 +11385,33 @@ targets: deps: - gtest - grpc_test_util +- name: inproc_test + gtest: true + build: test + language: c++ + headers: + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.h + - test/core/transport/test_suite/fixture.h + - test/core/transport/test_suite/test.h + src: + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.proto + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc + - test/core/transport/test_suite/call_content.cc + - test/core/transport/test_suite/call_shapes.cc + - test/core/transport/test_suite/fixture.cc + - test/core/transport/test_suite/inproc_fixture.cc + - test/core/transport/test_suite/no_op.cc + - test/core/transport/test_suite/stress.cc + - test/core/transport/test_suite/test.cc + - test/core/transport/test_suite/test_main.cc + deps: + - gtest + - protobuf + - grpc_test_util + platforms: + - linux + - posix + uses_polling: false - name: insecure_security_connector_test gtest: true build: test @@ -9975,7 +11425,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -9987,13 +11436,26 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc deps: - gtest - grpc_test_util +- name: inter_activity_latch_test + gtest: true + build: test + language: c++ + headers: + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/wait_set.h + src: + - test/core/promise/inter_activity_latch_test.cc + deps: + - gtest + - grpc + uses_polling: false - name: inter_activity_pipe_test gtest: true build: test @@ -10001,6 +11463,7 @@ targets: headers: - src/core/lib/debug/trace.h - src/core/lib/gprpp/atomic_utils.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/orphanable.h - src/core/lib/gprpp/ref_counted.h - src/core/lib/gprpp/ref_counted_ptr.h @@ -10023,6 +11486,7 @@ targets: - test/core/promise/inter_activity_pipe_test.cc deps: - gtest + - absl/base:config - absl/hash:hash - absl/meta:type_traits - absl/status:statusor @@ -10033,9 +11497,11 @@ targets: build: test language: c++ headers: - - src/core/ext/upb-generated/google/protobuf/any.upb.h - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - src/core/ext/upb-generated/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.h - src/core/lib/debug/trace.h - src/core/lib/experiments/config.h - src/core/lib/experiments/experiments.h @@ -10043,6 +11509,7 @@ targets: - src/core/lib/gprpp/atomic_utils.h - src/core/lib/gprpp/bitset.h - src/core/lib/gprpp/cpp_impl_of.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/manual_constructor.h - src/core/lib/gprpp/orphanable.h - src/core/lib/gprpp/ref_counted.h @@ -10084,22 +11551,30 @@ targets: - test/core/promise/test_context.h - third_party/upb/upb/generated_code_support.h - third_party/upb/upb/message/accessors.h - - third_party/upb/upb/message/accessors_internal.h + - third_party/upb/upb/message/internal/accessors.h - third_party/upb/upb/mini_descriptor/build_enum.h - third_party/upb/upb/mini_descriptor/decode.h - third_party/upb/upb/mini_descriptor/internal/base92.h - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp - third_party/upb/upb/mini_descriptor/internal/modifiers.h - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/port/def.inc - - third_party/upb/upb/port/undef.inc + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/decode_fast.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/eps_copy_input_stream.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode.h + - third_party/upb/upb/wire/internal/swap.h + - third_party/upb/upb/wire/reader.h + - third_party/upb/upb/wire/types.h src: - - src/core/ext/upb-generated/google/protobuf/any.upb.c - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - - src/core/ext/upb-generated/google/rpc/status.upb.c + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c - src/core/lib/debug/trace.cc - - src/core/lib/event_engine/memory_allocator.cc - src/core/lib/experiments/config.cc - src/core/lib/experiments/experiments.cc - src/core/lib/gprpp/status_helper.cc @@ -10127,11 +11602,18 @@ targets: - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/decode_fast.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/eps_copy_input_stream.c + - third_party/upb/upb/wire/reader.c deps: - gtest - - upb - - absl/container:flat_hash_set + - upb_message_lib + - utf8_range_lib + - absl/base:config - absl/functional:function_ref - absl/hash:hash - absl/meta:type_traits @@ -10193,6 +11675,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -10209,6 +11707,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -10314,7 +11821,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -10326,7 +11832,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -10347,7 +11852,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -10359,7 +11863,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -10372,6 +11875,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -10388,6 +11907,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -10420,6 +11948,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -10436,6 +11980,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -10459,6 +12012,7 @@ targets: - src/core/lib/debug/trace.h - src/core/lib/gprpp/atomic_utils.h - src/core/lib/gprpp/bitset.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/orphanable.h - src/core/lib/gprpp/ref_counted.h - src/core/lib/gprpp/ref_counted_ptr.h @@ -10484,6 +12038,7 @@ targets: - test/core/promise/latch_test.cc deps: - gtest + - absl/base:config - absl/hash:hash - absl/meta:type_traits - absl/status:statusor @@ -10529,6 +12084,17 @@ targets: - gtest - grpc uses_polling: false +- name: load_file_test + gtest: true + build: test + language: c++ + headers: [] + src: + - test/core/gprpp/load_file_test.cc + deps: + - gtest + - grpc_test_util + uses_polling: false - name: lock_free_event_test gtest: true build: test @@ -10601,9 +12167,11 @@ targets: build: test language: c++ headers: - - src/core/ext/upb-generated/google/protobuf/any.upb.h - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - src/core/ext/upb-generated/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.h - src/core/lib/debug/trace.h - src/core/lib/experiments/config.h - src/core/lib/experiments/experiments.h @@ -10611,6 +12179,7 @@ targets: - src/core/lib/gprpp/atomic_utils.h - src/core/lib/gprpp/bitset.h - src/core/lib/gprpp/cpp_impl_of.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/manual_constructor.h - src/core/lib/gprpp/orphanable.h - src/core/lib/gprpp/ref_counted.h @@ -10643,6 +12212,7 @@ targets: - src/core/lib/promise/poll.h - src/core/lib/promise/race.h - src/core/lib/promise/seq.h + - src/core/lib/promise/status_flag.h - src/core/lib/promise/trace.h - src/core/lib/promise/try_seq.h - src/core/lib/resource_quota/arena.h @@ -10659,22 +12229,30 @@ targets: - test/core/promise/test_wakeup_schedulers.h - third_party/upb/upb/generated_code_support.h - third_party/upb/upb/message/accessors.h - - third_party/upb/upb/message/accessors_internal.h + - third_party/upb/upb/message/internal/accessors.h - third_party/upb/upb/mini_descriptor/build_enum.h - third_party/upb/upb/mini_descriptor/decode.h - third_party/upb/upb/mini_descriptor/internal/base92.h - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp - third_party/upb/upb/mini_descriptor/internal/modifiers.h - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/port/def.inc - - third_party/upb/upb/port/undef.inc + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/decode_fast.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/eps_copy_input_stream.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode.h + - third_party/upb/upb/wire/internal/swap.h + - third_party/upb/upb/wire/reader.h + - third_party/upb/upb/wire/types.h src: - - src/core/ext/upb-generated/google/protobuf/any.upb.c - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - - src/core/ext/upb-generated/google/rpc/status.upb.c + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c - src/core/lib/debug/trace.cc - - src/core/lib/event_engine/memory_allocator.cc - src/core/lib/experiments/config.cc - src/core/lib/experiments/experiments.cc - src/core/lib/gprpp/status_helper.cc @@ -10702,11 +12280,18 @@ targets: - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/decode_fast.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/eps_copy_input_stream.c + - third_party/upb/upb/wire/reader.c deps: - gtest - - upb - - absl/container:flat_hash_set + - upb_message_lib + - utf8_range_lib + - absl/base:config - absl/functional:function_ref - absl/hash:hash - absl/meta:type_traits @@ -10738,7 +12323,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -10750,18 +12334,45 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc deps: - gtest - grpc_test_util +- name: max_concurrent_streams_policy_test + gtest: true + build: test + language: c++ + headers: + - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h + src: + - src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc + - test/core/transport/chttp2/max_concurrent_streams_policy_test.cc + deps: + - gtest + - gpr - name: max_concurrent_streams_test gtest: true build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -10778,6 +12389,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -10798,6 +12418,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -10814,6 +12450,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -10834,6 +12479,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -10850,6 +12511,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -10870,6 +12540,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -10886,6 +12572,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -10956,7 +12651,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -10968,7 +12662,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -10999,7 +12692,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -11011,13 +12703,25 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc deps: - gtest - grpc_test_util +- name: metrics_test + gtest: true + build: test + language: c++ + headers: + - src/core/lib/channel/metrics.h + src: + - src/core/lib/channel/metrics.cc + - test/core/channel/metrics_test.cc + deps: + - gtest + - grpc_test_util + uses_polling: false - name: minimal_stack_is_minimal_test gtest: true build: test @@ -11074,6 +12778,7 @@ targets: language: c++ headers: - src/core/lib/gprpp/atomic_utils.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/orphanable.h - src/core/lib/gprpp/ref_counted.h - src/core/lib/gprpp/ref_counted_ptr.h @@ -11091,7 +12796,7 @@ targets: - test/core/promise/mpsc_test.cc deps: - gtest - - absl/container:flat_hash_set + - absl/base:config - absl/hash:hash - absl/meta:type_traits - absl/status:statusor @@ -11117,6 +12822,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -11133,6 +12854,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -11165,6 +12895,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -11181,6 +12927,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -11201,7 +12956,23 @@ targets: build: test language: c++ headers: - - test/core/end2end/cq_verifier.h + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h + - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h - test/core/end2end/fixtures/h2_ssl_cred_reload_fixture.h @@ -11217,6 +12988,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -11280,6 +13060,37 @@ targets: deps: - gtest - grpc_test_util +- name: observable_test + gtest: true + build: test + language: c++ + headers: + - src/core/lib/gprpp/atomic_utils.h + - src/core/lib/gprpp/down_cast.h + - src/core/lib/gprpp/notification.h + - src/core/lib/gprpp/orphanable.h + - src/core/lib/gprpp/ref_counted.h + - src/core/lib/gprpp/ref_counted_ptr.h + - src/core/lib/promise/activity.h + - src/core/lib/promise/context.h + - src/core/lib/promise/detail/promise_factory.h + - src/core/lib/promise/detail/promise_like.h + - src/core/lib/promise/detail/status.h + - src/core/lib/promise/loop.h + - src/core/lib/promise/map.h + - src/core/lib/promise/observable.h + - src/core/lib/promise/poll.h + src: + - src/core/lib/promise/activity.cc + - test/core/promise/observable_test.cc + deps: + - gtest + - absl/base:config + - absl/hash:hash + - absl/meta:type_traits + - absl/status:statusor + - gpr + uses_polling: false - name: oracle_event_engine_posix_test gtest: true build: test @@ -11442,7 +13253,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -11458,7 +13268,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -11470,7 +13279,9 @@ targets: gtest: true build: test language: c++ - headers: [] + headers: + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/wait_set.h src: - test/core/promise/party_test.cc deps: @@ -11482,6 +13293,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -11498,6 +13325,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -11530,9 +13366,11 @@ targets: run: false language: c++ headers: - - src/core/ext/upb-generated/google/protobuf/any.upb.h - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - src/core/ext/upb-generated/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb.h + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h + - src/core/ext/upb-gen/google/protobuf/descriptor.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb.h + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.h - src/core/lib/debug/trace.h - src/core/lib/experiments/config.h - src/core/lib/experiments/experiments.h @@ -11555,20 +13393,29 @@ targets: - src/core/lib/slice/slice_string_helpers.h - third_party/upb/upb/generated_code_support.h - third_party/upb/upb/message/accessors.h - - third_party/upb/upb/message/accessors_internal.h + - third_party/upb/upb/message/internal/accessors.h - third_party/upb/upb/mini_descriptor/build_enum.h - third_party/upb/upb/mini_descriptor/decode.h - third_party/upb/upb/mini_descriptor/internal/base92.h - third_party/upb/upb/mini_descriptor/internal/decoder.h + - third_party/upb/upb/mini_descriptor/internal/encode.h + - third_party/upb/upb/mini_descriptor/internal/encode.hpp - third_party/upb/upb/mini_descriptor/internal/modifiers.h - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/port/def.inc - - third_party/upb/upb/port/undef.inc + - third_party/upb/upb/wire/decode.h + - third_party/upb/upb/wire/decode_fast.h + - third_party/upb/upb/wire/encode.h + - third_party/upb/upb/wire/eps_copy_input_stream.h + - third_party/upb/upb/wire/internal/constants.h + - third_party/upb/upb/wire/internal/decode.h + - third_party/upb/upb/wire/internal/swap.h + - third_party/upb/upb/wire/reader.h + - third_party/upb/upb/wire/types.h src: - - src/core/ext/upb-generated/google/protobuf/any.upb.c - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - - src/core/ext/upb-generated/google/rpc/status.upb.c + - src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c + - src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c + - src/core/ext/upb-gen/google/rpc/status.upb_minitable.c - src/core/lib/debug/trace.cc - src/core/lib/experiments/config.cc - src/core/lib/experiments/experiments.cc @@ -11590,10 +13437,17 @@ targets: - third_party/upb/upb/mini_descriptor/build_enum.c - third_party/upb/upb/mini_descriptor/decode.c - third_party/upb/upb/mini_descriptor/internal/base92.c + - third_party/upb/upb/mini_descriptor/internal/encode.c - third_party/upb/upb/mini_descriptor/link.c + - third_party/upb/upb/wire/decode.c + - third_party/upb/upb/wire/decode_fast.c + - third_party/upb/upb/wire/encode.c + - third_party/upb/upb/wire/eps_copy_input_stream.c + - third_party/upb/upb/wire/reader.c deps: - gtest - - upb + - upb_message_lib + - utf8_range_lib - absl/functional:function_ref - absl/hash:hash - absl/status:statusor @@ -11618,7 +13472,7 @@ targets: - protobuf - grpc_test_util uses_polling: false -- name: pid_controller_test +- name: ping_abuse_policy_test gtest: true build: test language: c++ @@ -11631,57 +13485,35 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h src: - - test/core/transport/pid_controller_test.cc + - test/core/transport/chttp2/ping_abuse_policy_test.cc - test/core/util/cmdline.cc - test/core/util/fuzzer_util.cc - test/core/util/grpc_profiler.cc - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc deps: - gtest - grpc_test_util -- name: ping_abuse_policy_test + uses_polling: false +- name: ping_callbacks_test gtest: true build: test language: c++ headers: - - test/core/util/cmdline.h - - test/core/util/evaluate_args_test_util.h - - test/core/util/fuzzer_util.h - - test/core/util/grpc_profiler.h - - test/core/util/histogram.h - - test/core/util/mock_authorization_endpoint.h - - test/core/util/mock_endpoint.h - - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - - test/core/util/resolve_localhost_ip46.h - - test/core/util/slice_splitter.h - - test/core/util/tracer_util.h + - test/core/event_engine/mock_event_engine.h src: - - test/core/transport/chttp2/ping_abuse_policy_test.cc - - test/core/util/cmdline.cc - - test/core/util/fuzzer_util.cc - - test/core/util/grpc_profiler.cc - - test/core/util/histogram.cc - - test/core/util/mock_endpoint.cc - - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - - test/core/util/resolve_localhost_ip46.cc - - test/core/util/slice_splitter.cc - - test/core/util/tracer_util.cc + - test/core/transport/chttp2/ping_callbacks_test.cc deps: - gtest - - grpc_test_util + - grpc uses_polling: false - name: ping_configuration_test gtest: true @@ -11696,7 +13528,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -11708,7 +13539,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -11721,6 +13551,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -11737,6 +13583,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -11765,7 +13620,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -11777,7 +13631,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -11790,6 +13643,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -11806,6 +13675,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -11826,7 +13704,6 @@ targets: build: test language: c++ headers: - - src/core/lib/promise/detail/join_state.h - src/core/lib/promise/join.h - test/core/promise/test_wakeup_schedulers.h src: @@ -11918,6 +13795,33 @@ targets: platforms: - linux - posix +- name: posix_event_engine_native_dns_test + gtest: true + build: test + language: c++ + headers: + - test/core/event_engine/event_engine_test_utils.h + - test/core/event_engine/test_suite/event_engine_test_framework.h + - test/core/event_engine/test_suite/posix/oracle_event_engine_posix.h + - test/core/event_engine/test_suite/tests/dns_test.h + - test/core/util/fake_udp_and_tcp_server.h + - test/cpp/util/get_grpc_test_runfile_dir.h + - test/cpp/util/windows/manifest_file.h + src: + - test/core/event_engine/event_engine_test_utils.cc + - test/core/event_engine/test_suite/event_engine_test_framework.cc + - test/core/event_engine/test_suite/posix/oracle_event_engine_posix.cc + - test/core/event_engine/test_suite/posix_event_engine_native_dns_test.cc + - test/core/event_engine/test_suite/tests/dns_test.cc + - test/core/util/fake_udp_and_tcp_server.cc + - test/cpp/util/get_grpc_test_runfile_dir.cc + - test/cpp/util/windows/manifest_file.cc + deps: + - gtest + - grpc++_test_util + platforms: + - linux + - posix - name: posix_event_engine_test gtest: true build: test @@ -11932,6 +13836,7 @@ targets: - test/core/event_engine/test_suite/tests/timer_test.h - test/core/util/fake_udp_and_tcp_server.h - test/cpp/util/get_grpc_test_runfile_dir.h + - test/cpp/util/windows/manifest_file.h src: - test/core/event_engine/event_engine_test_utils.cc - test/core/event_engine/test_suite/event_engine_test_framework.cc @@ -11943,6 +13848,7 @@ targets: - test/core/event_engine/test_suite/tests/timer_test.cc - test/core/util/fake_udp_and_tcp_server.cc - test/cpp/util/get_grpc_test_runfile_dir.cc + - test/cpp/util/windows/manifest_file.cc deps: - gtest - grpc++_test_util @@ -11998,7 +13904,6 @@ targets: build: test language: c++ headers: - - src/core/lib/promise/detail/join_state.h - src/core/lib/promise/join.h - src/core/lib/transport/promise_endpoint.h - test/core/promise/test_wakeup_schedulers.h @@ -12040,6 +13945,46 @@ targets: - absl/meta:type_traits - gpr uses_polling: false +- name: promise_mutex_test + gtest: true + build: test + language: c++ + headers: + - src/core/lib/debug/trace.h + - src/core/lib/gprpp/atomic_utils.h + - src/core/lib/gprpp/bitset.h + - src/core/lib/gprpp/down_cast.h + - src/core/lib/gprpp/orphanable.h + - src/core/lib/gprpp/ref_counted.h + - src/core/lib/gprpp/ref_counted_ptr.h + - src/core/lib/promise/activity.h + - src/core/lib/promise/context.h + - src/core/lib/promise/detail/basic_seq.h + - src/core/lib/promise/detail/join_state.h + - src/core/lib/promise/detail/promise_factory.h + - src/core/lib/promise/detail/promise_like.h + - src/core/lib/promise/detail/seq_state.h + - src/core/lib/promise/detail/status.h + - src/core/lib/promise/join.h + - src/core/lib/promise/map.h + - src/core/lib/promise/poll.h + - src/core/lib/promise/promise.h + - src/core/lib/promise/promise_mutex.h + - src/core/lib/promise/seq.h + - src/core/lib/promise/trace.h + - test/core/promise/test_wakeup_schedulers.h + src: + - src/core/lib/debug/trace.cc + - src/core/lib/promise/activity.cc + - src/core/lib/promise/trace.cc + - test/core/promise/promise_mutex_test.cc + deps: + - gtest + - absl/base:config + - absl/hash:hash + - absl/meta:type_traits + - absl/status:statusor + - gpr - name: promise_test gtest: true build: test @@ -12114,6 +14059,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -12130,6 +14091,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12220,6 +14190,19 @@ targets: deps: - grpc++_test_config - grpc++_test_util +- name: query_extensions_test + gtest: true + build: test + language: c++ + headers: + - src/core/lib/event_engine/query_extensions.h + src: + - test/core/event_engine/query_extensions_test.cc + deps: + - gtest + - absl/status:statusor + - gpr + uses_polling: false - name: race_test gtest: true build: test @@ -12244,6 +14227,8 @@ targets: - test/core/backoff/random_early_detection_test.cc deps: - gtest + - absl/random:bit_gen_ref + - absl/random:distributions - absl/random:random uses_polling: false - name: raw_end2end_test @@ -12287,7 +14272,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -12299,7 +14283,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -12332,6 +14315,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -12348,6 +14347,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12382,6 +14390,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -12398,6 +14422,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12418,6 +14451,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -12434,6 +14483,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12462,7 +14520,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -12474,13 +14531,11 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc deps: - gtest - - absl/flags:parse - grpc_test_util args: - --resolver=ares @@ -12502,7 +14557,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -12515,7 +14569,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -12536,7 +14589,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -12548,13 +14600,11 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc deps: - gtest - - absl/flags:parse - grpc_test_util args: - --resolver=native @@ -12576,7 +14626,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -12589,7 +14638,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -12616,11 +14664,27 @@ targets: build: test language: c++ headers: - - test/core/end2end/cq_verifier.h - - test/core/end2end/end2end_tests.h - - test/core/end2end/fixtures/h2_oauth2_common.h - - test/core/end2end/fixtures/h2_ssl_cred_reload_fixture.h - - test/core/end2end/fixtures/h2_ssl_tls_common.h + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h + - test/core/end2end/cq_verifier.h + - test/core/end2end/end2end_tests.h + - test/core/end2end/fixtures/h2_oauth2_common.h + - test/core/end2end/fixtures/h2_ssl_cred_reload_fixture.h + - test/core/end2end/fixtures/h2_ssl_tls_common.h - test/core/end2end/fixtures/h2_tls_common.h - test/core/end2end/fixtures/http_proxy_fixture.h - test/core/end2end/fixtures/inproc_fixture.h @@ -12632,6 +14696,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12663,6 +14736,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -12679,6 +14768,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12699,6 +14797,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -12715,6 +14829,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12735,6 +14858,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -12751,6 +14890,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12771,6 +14919,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -12787,6 +14951,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12807,6 +14980,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -12823,6 +15012,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12843,6 +15041,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -12859,6 +15073,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12879,6 +15102,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -12895,6 +15134,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12915,6 +15163,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -12931,6 +15195,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12951,6 +15224,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -12967,6 +15256,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -12987,6 +15285,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13003,6 +15317,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13023,6 +15346,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13039,6 +15378,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13059,6 +15407,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13075,6 +15439,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13095,6 +15468,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13111,6 +15500,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13131,6 +15529,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13147,6 +15561,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13167,6 +15590,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13183,6 +15622,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13203,6 +15651,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13219,6 +15683,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13239,6 +15712,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13255,6 +15744,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13275,6 +15773,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13291,6 +15805,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13311,10 +15834,26 @@ targets: build: test language: c++ headers: - - test/core/end2end/cq_verifier.h - - test/core/end2end/end2end_tests.h - - test/core/end2end/fixtures/h2_oauth2_common.h - - test/core/end2end/fixtures/h2_ssl_cred_reload_fixture.h + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h + - test/core/end2end/cq_verifier.h + - test/core/end2end/end2end_tests.h + - test/core/end2end/fixtures/h2_oauth2_common.h + - test/core/end2end/fixtures/h2_ssl_cred_reload_fixture.h - test/core/end2end/fixtures/h2_ssl_tls_common.h - test/core/end2end/fixtures/h2_tls_common.h - test/core/end2end/fixtures/http_proxy_fixture.h @@ -13327,6 +15866,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13347,6 +15895,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13363,6 +15927,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13383,6 +15956,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13399,6 +15988,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13419,6 +16017,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13435,6 +16049,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13455,6 +16078,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13471,6 +16110,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13502,6 +16150,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13518,6 +16182,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13538,6 +16211,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13554,6 +16243,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13574,6 +16272,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13590,6 +16304,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13610,6 +16333,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13626,6 +16365,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13657,6 +16405,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13673,6 +16437,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13693,6 +16466,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13709,6 +16498,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13729,6 +16527,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13745,6 +16559,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13765,6 +16588,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13781,6 +16620,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13801,6 +16649,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13817,6 +16681,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13837,6 +16710,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13853,6 +16742,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13873,6 +16771,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -13889,6 +16803,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -13904,6 +16827,24 @@ targets: - grpc_authorization_provider - grpc_unsecure - grpc_test_util +- name: ring_hash_test + gtest: true + build: test + language: c++ + headers: + - test/core/client_channel/lb_policy/lb_policy_test_lib.h + - test/core/event_engine/event_engine_test_utils.h + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.h + src: + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.proto + - test/core/client_channel/lb_policy/ring_hash_test.cc + - test/core/event_engine/event_engine_test_utils.cc + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc + deps: + - gtest + - protobuf + - grpc_test_util + uses_polling: false - name: rls_end2end_test gtest: true build: test @@ -13993,7 +16934,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -14006,7 +16946,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -14026,7 +16965,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -14038,7 +16976,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -14108,7 +17045,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -14123,7 +17059,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -14149,7 +17084,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -14164,7 +17098,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -14238,6 +17171,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -14254,6 +17203,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -14314,7 +17272,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -14329,7 +17286,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -14363,6 +17319,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -14379,6 +17351,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -14444,7 +17425,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -14456,7 +17436,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -14468,8 +17447,24 @@ targets: build: test language: c++ headers: - - test/core/end2end/cq_verifier.h - - test/core/end2end/end2end_tests.h + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h + - test/core/end2end/cq_verifier.h + - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h - test/core/end2end/fixtures/h2_ssl_cred_reload_fixture.h - test/core/end2end/fixtures/h2_ssl_tls_common.h @@ -14484,6 +17479,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -14504,6 +17508,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -14520,6 +17540,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -14555,6 +17584,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -14571,6 +17616,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -14591,6 +17645,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -14607,6 +17677,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -14641,6 +17720,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -14657,6 +17752,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -14762,7 +17866,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -14774,7 +17877,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -14828,9 +17930,11 @@ targets: gtest: true build: test language: c++ - headers: [] + headers: + - test/core/tsi/transport_security_test_lib.h src: - test/core/tsi/ssl_transport_security_utils_test.cc + - test/core/tsi/transport_security_test_lib.cc deps: - gtest - grpc_test_util @@ -14869,9 +17973,9 @@ targets: build: test language: c++ headers: - - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h + - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h src: - - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc + - src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc - test/core/client_channel/lb_policy/static_stride_scheduler_test.cc deps: - gtest @@ -14902,7 +18006,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -14914,7 +18017,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -14922,66 +18024,42 @@ targets: - gtest - grpc_test_util uses_polling: false -- name: status_helper_test +- name: status_flag_test gtest: true build: test language: c++ - headers: [] + headers: + - src/core/lib/promise/detail/status.h + - src/core/lib/promise/status_flag.h src: - - test/core/gprpp/status_helper_test.cc + - test/core/promise/status_flag_test.cc deps: - gtest - - grpc_test_util + - absl/status:statusor + - gpr uses_polling: false -- name: status_util_test +- name: status_helper_test gtest: true build: test language: c++ headers: [] src: - - test/core/channel/status_util_test.cc + - test/core/gprpp/status_helper_test.cc deps: - gtest - grpc_test_util uses_polling: false -- name: stranded_event_test +- name: status_util_test gtest: true build: test language: c++ - headers: - - test/core/end2end/cq_verifier.h - - test/core/util/cmdline.h - - test/core/util/evaluate_args_test_util.h - - test/core/util/fuzzer_util.h - - test/core/util/grpc_profiler.h - - test/core/util/histogram.h - - test/core/util/mock_authorization_endpoint.h - - test/core/util/mock_endpoint.h - - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - - test/core/util/resolve_localhost_ip46.h - - test/core/util/slice_splitter.h - - test/core/util/tracer_util.h + headers: [] src: - - test/core/end2end/cq_verifier.cc - - test/core/iomgr/stranded_event_test.cc - - test/core/util/cmdline.cc - - test/core/util/fuzzer_util.cc - - test/core/util/grpc_profiler.cc - - test/core/util/histogram.cc - - test/core/util/mock_endpoint.cc - - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - - test/core/util/resolve_localhost_ip46.cc - - test/core/util/slice_splitter.cc - - test/core/util/tracer_util.cc + - test/core/channel/status_util_test.cc deps: - gtest - grpc_test_util - platforms: - - linux - - posix - - mac + uses_polling: false - name: stream_leak_with_queued_flow_control_update_test gtest: true build: test @@ -14997,6 +18075,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -15013,6 +18107,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -15061,7 +18164,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -15074,7 +18176,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -15104,6 +18205,24 @@ targets: - gtest - grpc_test_util uses_polling: false +- name: switch_test + gtest: true + build: test + language: c++ + headers: + - src/core/lib/promise/detail/promise_factory.h + - src/core/lib/promise/detail/promise_like.h + - src/core/lib/promise/if.h + - src/core/lib/promise/poll.h + - src/core/lib/promise/switch.h + src: + - test/core/promise/switch_test.cc + deps: + - gtest + - absl/meta:type_traits + - absl/status:statusor + - gpr + uses_polling: false - name: sync_test gtest: true build: test @@ -15128,7 +18247,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -15140,7 +18258,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -15175,7 +18292,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -15187,7 +18303,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -15227,7 +18342,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -15240,7 +18354,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -15263,7 +18376,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -15275,7 +18387,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -15318,6 +18429,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -15334,6 +18461,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -15396,6 +18532,7 @@ targets: language: c++ headers: - src/core/lib/debug/trace.h + - src/core/lib/event_engine/extensions/can_track_errors.h - src/core/lib/event_engine/handle_containers.h - src/core/lib/event_engine/resolved_address_internal.h - src/core/lib/iomgr/port.h @@ -15418,7 +18555,6 @@ targets: - test/core/event_engine/slice_buffer_test.cc deps: - gtest - - absl/container:flat_hash_set - absl/hash:hash - absl/status:statusor - absl/utility:utility @@ -15434,17 +18570,6 @@ targets: - gtest - grpc_test_util uses_polling: false -- name: test_core_gprpp_load_file_test - gtest: true - build: test - language: c++ - headers: [] - src: - - test/core/gprpp/load_file_test.cc - deps: - - gtest - - grpc_test_util - uses_polling: false - name: test_core_gprpp_time_test gtest: true build: test @@ -15459,39 +18584,6 @@ targets: - absl/status:statusor - gpr uses_polling: false -- name: test_core_iomgr_load_file_test - gtest: true - build: test - language: c++ - headers: - - test/core/util/cmdline.h - - test/core/util/evaluate_args_test_util.h - - test/core/util/fuzzer_util.h - - test/core/util/grpc_profiler.h - - test/core/util/histogram.h - - test/core/util/mock_authorization_endpoint.h - - test/core/util/mock_endpoint.h - - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - - test/core/util/resolve_localhost_ip46.h - - test/core/util/slice_splitter.h - - test/core/util/tracer_util.h - src: - - test/core/iomgr/load_file_test.cc - - test/core/util/cmdline.cc - - test/core/util/fuzzer_util.cc - - test/core/util/grpc_profiler.cc - - test/core/util/histogram.cc - - test/core/util/mock_endpoint.cc - - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - - test/core/util/resolve_localhost_ip46.cc - - test/core/util/slice_splitter.cc - - test/core/util/tracer_util.cc - deps: - - gtest - - grpc_test_util - uses_polling: false - name: test_core_iomgr_timer_heap_test gtest: true build: test @@ -15505,7 +18597,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -15517,7 +18608,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -15538,7 +18628,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -15550,7 +18639,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -15570,7 +18658,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -15582,7 +18669,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -15613,606 +18699,50 @@ targets: - gtest - grpc uses_polling: false -- name: test_core_transport_chaotic_good_frame_test +- name: test_core_transport_test_suite_chaotic_good_test gtest: true build: test language: c++ headers: - - src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client_transport.h - src/core/ext/transport/chaotic_good/frame.h - - src/core/ext/transport/chaotic_good/frame_header.h - - src/core/ext/transport/chttp2/transport/bin_encoder.h - - src/core/ext/transport/chttp2/transport/decode_huff.h - - src/core/ext/transport/chttp2/transport/hpack_constants.h - - src/core/ext/transport/chttp2/transport/hpack_encoder.h - - src/core/ext/transport/chttp2/transport/hpack_encoder_table.h - - src/core/ext/transport/chttp2/transport/hpack_parse_result.h - - src/core/ext/transport/chttp2/transport/hpack_parser.h - - src/core/ext/transport/chttp2/transport/hpack_parser_table.h - - src/core/ext/transport/chttp2/transport/http_trace.h - - src/core/ext/transport/chttp2/transport/huffsyms.h - - src/core/ext/transport/chttp2/transport/legacy_frame.h - - src/core/ext/transport/chttp2/transport/varint.h - - src/core/ext/upb-generated/google/protobuf/any.upb.h - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.h - - src/core/ext/upb-generated/google/rpc/status.upb.h - - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h - - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h - - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h - - src/core/lib/address_utils/parse_address.h - - src/core/lib/address_utils/sockaddr_utils.h - - src/core/lib/avl/avl.h - - src/core/lib/backoff/backoff.h - - src/core/lib/backoff/random_early_detection.h - - src/core/lib/channel/call_finalization.h - - src/core/lib/channel/call_tracer.h - - src/core/lib/channel/channel_args.h - - src/core/lib/channel/channel_args_preconditioning.h - - src/core/lib/channel/channel_fwd.h - - src/core/lib/channel/channel_stack.h - - src/core/lib/channel/channel_stack_builder.h - - src/core/lib/channel/channel_stack_builder_impl.h - - src/core/lib/channel/channel_trace.h - - src/core/lib/channel/channelz.h - - src/core/lib/channel/channelz_registry.h - - src/core/lib/channel/connected_channel.h - - src/core/lib/channel/context.h - - src/core/lib/channel/promise_based_filter.h - - src/core/lib/channel/status_util.h - - src/core/lib/compression/compression_internal.h - - src/core/lib/compression/message_compress.h - - src/core/lib/config/core_configuration.h - - src/core/lib/debug/event_log.h - - src/core/lib/debug/histogram_view.h - - src/core/lib/debug/stats.h - - src/core/lib/debug/stats_data.h - - src/core/lib/debug/trace.h - - src/core/lib/event_engine/ares_resolver.h - - src/core/lib/event_engine/cf_engine/cf_engine.h - - src/core/lib/event_engine/cf_engine/cfstream_endpoint.h - - src/core/lib/event_engine/cf_engine/cftype_unique_ref.h - - src/core/lib/event_engine/cf_engine/dns_service_resolver.h - - src/core/lib/event_engine/channel_args_endpoint_config.h - - src/core/lib/event_engine/common_closures.h - - src/core/lib/event_engine/default_event_engine.h - - src/core/lib/event_engine/default_event_engine_factory.h - - src/core/lib/event_engine/forkable.h - - src/core/lib/event_engine/grpc_polled_fd.h - - src/core/lib/event_engine/handle_containers.h - - src/core/lib/event_engine/memory_allocator_factory.h - - src/core/lib/event_engine/nameser.h - - src/core/lib/event_engine/poller.h - - src/core/lib/event_engine/posix.h - - src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h - - src/core/lib/event_engine/posix_engine/ev_poll_posix.h - - src/core/lib/event_engine/posix_engine/event_poller.h - - src/core/lib/event_engine/posix_engine/event_poller_posix_default.h - - src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h - - src/core/lib/event_engine/posix_engine/internal_errqueue.h - - src/core/lib/event_engine/posix_engine/lockfree_event.h - - src/core/lib/event_engine/posix_engine/posix_endpoint.h - - src/core/lib/event_engine/posix_engine/posix_engine.h - - src/core/lib/event_engine/posix_engine/posix_engine_closure.h - - src/core/lib/event_engine/posix_engine/posix_engine_listener.h - - src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.h - - src/core/lib/event_engine/posix_engine/tcp_socket_utils.h - - src/core/lib/event_engine/posix_engine/timer.h - - src/core/lib/event_engine/posix_engine/timer_heap.h - - src/core/lib/event_engine/posix_engine/timer_manager.h - - src/core/lib/event_engine/posix_engine/traced_buffer_list.h - - src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.h - - src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h - - src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h - - src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h - - src/core/lib/event_engine/resolved_address_internal.h - - src/core/lib/event_engine/shim.h - - src/core/lib/event_engine/tcp_socket_utils.h - - src/core/lib/event_engine/thread_pool/thread_count.h - - src/core/lib/event_engine/thread_pool/thread_pool.h - - src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h - - src/core/lib/event_engine/thready_event_engine/thready_event_engine.h - - src/core/lib/event_engine/time_util.h - - src/core/lib/event_engine/trace.h - - src/core/lib/event_engine/utils.h - - src/core/lib/event_engine/windows/iocp.h - - src/core/lib/event_engine/windows/win_socket.h - - src/core/lib/event_engine/windows/windows_endpoint.h - - src/core/lib/event_engine/windows/windows_engine.h - - src/core/lib/event_engine/windows/windows_listener.h - - src/core/lib/event_engine/work_queue/basic_work_queue.h - - src/core/lib/event_engine/work_queue/work_queue.h - - src/core/lib/experiments/config.h - - src/core/lib/experiments/experiments.h - - src/core/lib/gpr/spinlock.h - - src/core/lib/gprpp/atomic_utils.h - - src/core/lib/gprpp/bitset.h - - src/core/lib/gprpp/chunked_vector.h - - src/core/lib/gprpp/cpp_impl_of.h - - src/core/lib/gprpp/dual_ref_counted.h - - src/core/lib/gprpp/if_list.h - - src/core/lib/gprpp/load_file.h - - src/core/lib/gprpp/manual_constructor.h - - src/core/lib/gprpp/match.h - - src/core/lib/gprpp/notification.h - - src/core/lib/gprpp/orphanable.h - - src/core/lib/gprpp/overload.h - - src/core/lib/gprpp/packed_table.h - - src/core/lib/gprpp/per_cpu.h - - src/core/lib/gprpp/ref_counted.h - - src/core/lib/gprpp/ref_counted_ptr.h - - src/core/lib/gprpp/ref_counted_string.h - - src/core/lib/gprpp/sorted_pack.h - - src/core/lib/gprpp/status_helper.h - - src/core/lib/gprpp/table.h - - src/core/lib/gprpp/time.h - - src/core/lib/gprpp/time_averaged_stats.h - - src/core/lib/gprpp/type_list.h - - src/core/lib/gprpp/unique_type_name.h - - src/core/lib/gprpp/validation_errors.h - - src/core/lib/gprpp/work_serializer.h - - src/core/lib/handshaker/proxy_mapper.h - - src/core/lib/handshaker/proxy_mapper_registry.h - - src/core/lib/iomgr/block_annotate.h - - src/core/lib/iomgr/buffer_list.h - - src/core/lib/iomgr/call_combiner.h - - src/core/lib/iomgr/cfstream_handle.h - - src/core/lib/iomgr/closure.h - - src/core/lib/iomgr/combiner.h - - src/core/lib/iomgr/dynamic_annotations.h - - src/core/lib/iomgr/endpoint.h - - src/core/lib/iomgr/endpoint_cfstream.h - - src/core/lib/iomgr/endpoint_pair.h - - src/core/lib/iomgr/error.h - - src/core/lib/iomgr/error_cfstream.h - - src/core/lib/iomgr/ev_apple.h - - src/core/lib/iomgr/ev_epoll1_linux.h - - src/core/lib/iomgr/ev_poll_posix.h - - src/core/lib/iomgr/ev_posix.h - - src/core/lib/iomgr/event_engine_shims/closure.h - - src/core/lib/iomgr/event_engine_shims/endpoint.h - - src/core/lib/iomgr/event_engine_shims/tcp_client.h - - src/core/lib/iomgr/exec_ctx.h - - src/core/lib/iomgr/executor.h - - src/core/lib/iomgr/gethostname.h - - src/core/lib/iomgr/grpc_if_nametoindex.h - - src/core/lib/iomgr/internal_errqueue.h - - src/core/lib/iomgr/iocp_windows.h - - src/core/lib/iomgr/iomgr.h - - src/core/lib/iomgr/iomgr_fwd.h - - src/core/lib/iomgr/iomgr_internal.h - - src/core/lib/iomgr/load_file.h - - src/core/lib/iomgr/lockfree_event.h - - src/core/lib/iomgr/nameser.h - - src/core/lib/iomgr/polling_entity.h - - src/core/lib/iomgr/pollset.h - - src/core/lib/iomgr/pollset_set.h - - src/core/lib/iomgr/pollset_set_windows.h - - src/core/lib/iomgr/pollset_windows.h - - src/core/lib/iomgr/port.h - - src/core/lib/iomgr/python_util.h - - src/core/lib/iomgr/resolve_address.h - - src/core/lib/iomgr/resolve_address_impl.h - - src/core/lib/iomgr/resolve_address_posix.h - - src/core/lib/iomgr/resolve_address_windows.h - - src/core/lib/iomgr/resolved_address.h - - src/core/lib/iomgr/sockaddr.h - - src/core/lib/iomgr/sockaddr_posix.h - - src/core/lib/iomgr/sockaddr_windows.h - - src/core/lib/iomgr/socket_factory_posix.h - - src/core/lib/iomgr/socket_mutator.h - - src/core/lib/iomgr/socket_utils.h - - src/core/lib/iomgr/socket_utils_posix.h - - src/core/lib/iomgr/socket_windows.h - - src/core/lib/iomgr/systemd_utils.h - - src/core/lib/iomgr/tcp_client.h - - src/core/lib/iomgr/tcp_client_posix.h - - src/core/lib/iomgr/tcp_posix.h - - src/core/lib/iomgr/tcp_server.h - - src/core/lib/iomgr/tcp_server_utils_posix.h - - src/core/lib/iomgr/tcp_windows.h - - src/core/lib/iomgr/timer.h - - src/core/lib/iomgr/timer_generic.h - - src/core/lib/iomgr/timer_heap.h - - src/core/lib/iomgr/timer_manager.h - - src/core/lib/iomgr/unix_sockets_posix.h - - src/core/lib/iomgr/vsock.h - - src/core/lib/iomgr/wakeup_fd_pipe.h - - src/core/lib/iomgr/wakeup_fd_posix.h - - src/core/lib/json/json.h - - src/core/lib/json/json_args.h - - src/core/lib/json/json_writer.h - - src/core/lib/load_balancing/lb_policy.h - - src/core/lib/load_balancing/lb_policy_factory.h - - src/core/lib/load_balancing/lb_policy_registry.h - - src/core/lib/load_balancing/subchannel_interface.h - - src/core/lib/promise/activity.h - - src/core/lib/promise/arena_promise.h - - src/core/lib/promise/cancel_callback.h - - src/core/lib/promise/context.h - - src/core/lib/promise/detail/basic_seq.h - - src/core/lib/promise/detail/promise_factory.h - - src/core/lib/promise/detail/promise_like.h - - src/core/lib/promise/detail/seq_state.h - - src/core/lib/promise/detail/status.h - - src/core/lib/promise/exec_ctx_wakeup_scheduler.h - - src/core/lib/promise/for_each.h - - src/core/lib/promise/if.h - - src/core/lib/promise/interceptor_list.h - - src/core/lib/promise/latch.h - - src/core/lib/promise/loop.h - - src/core/lib/promise/map.h - - src/core/lib/promise/party.h - - src/core/lib/promise/pipe.h - - src/core/lib/promise/poll.h - - src/core/lib/promise/promise.h - - src/core/lib/promise/race.h - - src/core/lib/promise/seq.h - - src/core/lib/promise/trace.h - - src/core/lib/promise/try_seq.h - - src/core/lib/resolver/resolver.h - - src/core/lib/resolver/resolver_factory.h - - src/core/lib/resolver/resolver_registry.h - - src/core/lib/resolver/server_address.h - - src/core/lib/resource_quota/api.h - - src/core/lib/resource_quota/arena.h - - src/core/lib/resource_quota/memory_quota.h - - src/core/lib/resource_quota/periodic_update.h - - src/core/lib/resource_quota/resource_quota.h - - src/core/lib/resource_quota/thread_quota.h - - src/core/lib/resource_quota/trace.h - - src/core/lib/security/certificate_provider/certificate_provider_factory.h - - src/core/lib/security/certificate_provider/certificate_provider_registry.h - - src/core/lib/security/credentials/alts/check_gcp_environment.h - - src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h - - src/core/lib/security/credentials/channel_creds_registry.h - - src/core/lib/service_config/service_config.h - - src/core/lib/service_config/service_config_call_data.h - - src/core/lib/service_config/service_config_parser.h - - src/core/lib/slice/b64.h - - src/core/lib/slice/percent_encoding.h - - src/core/lib/slice/slice.h - - src/core/lib/slice/slice_buffer.h - - src/core/lib/slice/slice_internal.h - - src/core/lib/slice/slice_refcount.h - - src/core/lib/slice/slice_string_helpers.h - - src/core/lib/surface/api_trace.h - - src/core/lib/surface/builtins.h - - src/core/lib/surface/call.h - - src/core/lib/surface/call_test_only.h - - src/core/lib/surface/call_trace.h - - src/core/lib/surface/channel.h - - src/core/lib/surface/channel_init.h - - src/core/lib/surface/channel_stack_type.h - - src/core/lib/surface/completion_queue.h - - src/core/lib/surface/completion_queue_factory.h - - src/core/lib/surface/event_string.h - - src/core/lib/surface/init.h - - src/core/lib/surface/init_internally.h - - src/core/lib/surface/lame_client.h - - src/core/lib/surface/server.h - - src/core/lib/surface/validate_metadata.h - - src/core/lib/transport/batch_builder.h - - src/core/lib/transport/connectivity_state.h - - src/core/lib/transport/custom_metadata.h - - src/core/lib/transport/error_utils.h - - src/core/lib/transport/handshaker_factory.h - - src/core/lib/transport/handshaker_registry.h - - src/core/lib/transport/http2_errors.h - - src/core/lib/transport/metadata_batch.h - - src/core/lib/transport/metadata_compression_traits.h - - src/core/lib/transport/parsed_metadata.h - - src/core/lib/transport/simple_slice_based_metadata.h - - src/core/lib/transport/status_conversion.h - - src/core/lib/transport/timeout_encoding.h - - src/core/lib/transport/transport.h - - src/core/lib/transport/transport_fwd.h - - src/core/lib/transport/transport_impl.h - - src/core/lib/uri/uri_parser.h - - src/core/tsi/alts/handshaker/transport_security_common_api.h - - third_party/upb/upb/generated_code_support.h - - third_party/upb/upb/message/accessors.h - - third_party/upb/upb/message/accessors_internal.h - - third_party/upb/upb/mini_descriptor/build_enum.h - - third_party/upb/upb/mini_descriptor/decode.h - - third_party/upb/upb/mini_descriptor/internal/base92.h - - third_party/upb/upb/mini_descriptor/internal/decoder.h - - third_party/upb/upb/mini_descriptor/internal/modifiers.h - - third_party/upb/upb/mini_descriptor/internal/wire_constants.h - - third_party/upb/upb/mini_descriptor/link.h - - third_party/upb/upb/port/def.inc - - third_party/upb/upb/port/undef.inc - src: - - src/core/ext/transport/chaotic_good/frame.cc - - src/core/ext/transport/chaotic_good/frame_header.cc - - src/core/ext/transport/chttp2/transport/bin_encoder.cc - - src/core/ext/transport/chttp2/transport/decode_huff.cc - - src/core/ext/transport/chttp2/transport/hpack_encoder.cc - - src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc - - src/core/ext/transport/chttp2/transport/hpack_parse_result.cc - - src/core/ext/transport/chttp2/transport/hpack_parser.cc - - src/core/ext/transport/chttp2/transport/hpack_parser_table.cc - - src/core/ext/transport/chttp2/transport/http_trace.cc - - src/core/ext/transport/chttp2/transport/huffsyms.cc - - src/core/ext/transport/chttp2/transport/varint.cc - - src/core/ext/upb-generated/google/protobuf/any.upb.c - - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c - - src/core/ext/upb-generated/google/rpc/status.upb.c - - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c - - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c - - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c - - src/core/lib/address_utils/parse_address.cc - - src/core/lib/address_utils/sockaddr_utils.cc - - src/core/lib/backoff/backoff.cc - - src/core/lib/backoff/random_early_detection.cc - - src/core/lib/channel/call_tracer.cc - - src/core/lib/channel/channel_args.cc - - src/core/lib/channel/channel_args_preconditioning.cc - - src/core/lib/channel/channel_stack.cc - - src/core/lib/channel/channel_stack_builder.cc - - src/core/lib/channel/channel_stack_builder_impl.cc - - src/core/lib/channel/channel_trace.cc - - src/core/lib/channel/channelz.cc - - src/core/lib/channel/channelz_registry.cc - - src/core/lib/channel/connected_channel.cc - - src/core/lib/channel/promise_based_filter.cc - - src/core/lib/channel/server_call_tracer_filter.cc - - src/core/lib/channel/status_util.cc - - src/core/lib/compression/compression.cc - - src/core/lib/compression/compression_internal.cc - - src/core/lib/compression/message_compress.cc - - src/core/lib/config/core_configuration.cc - - src/core/lib/debug/event_log.cc - - src/core/lib/debug/histogram_view.cc - - src/core/lib/debug/stats.cc - - src/core/lib/debug/stats_data.cc - - src/core/lib/debug/trace.cc - - src/core/lib/event_engine/ares_resolver.cc - - src/core/lib/event_engine/cf_engine/cf_engine.cc - - src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc - - src/core/lib/event_engine/cf_engine/dns_service_resolver.cc - - src/core/lib/event_engine/channel_args_endpoint_config.cc - - src/core/lib/event_engine/default_event_engine.cc - - src/core/lib/event_engine/default_event_engine_factory.cc - - src/core/lib/event_engine/event_engine.cc - - src/core/lib/event_engine/forkable.cc - - src/core/lib/event_engine/memory_allocator.cc - - src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc - - src/core/lib/event_engine/posix_engine/ev_poll_posix.cc - - src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc - - src/core/lib/event_engine/posix_engine/internal_errqueue.cc - - src/core/lib/event_engine/posix_engine/lockfree_event.cc - - src/core/lib/event_engine/posix_engine/posix_endpoint.cc - - src/core/lib/event_engine/posix_engine/posix_engine.cc - - src/core/lib/event_engine/posix_engine/posix_engine_listener.cc - - src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc - - src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc - - src/core/lib/event_engine/posix_engine/timer.cc - - src/core/lib/event_engine/posix_engine/timer_heap.cc - - src/core/lib/event_engine/posix_engine/timer_manager.cc - - src/core/lib/event_engine/posix_engine/traced_buffer_list.cc - - src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc - - src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc - - src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc - - src/core/lib/event_engine/resolved_address.cc - - src/core/lib/event_engine/shim.cc - - src/core/lib/event_engine/slice.cc - - src/core/lib/event_engine/slice_buffer.cc - - src/core/lib/event_engine/tcp_socket_utils.cc - - src/core/lib/event_engine/thread_pool/thread_count.cc - - src/core/lib/event_engine/thread_pool/thread_pool_factory.cc - - src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc - - src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc - - src/core/lib/event_engine/time_util.cc - - src/core/lib/event_engine/trace.cc - - src/core/lib/event_engine/utils.cc - - src/core/lib/event_engine/windows/iocp.cc - - src/core/lib/event_engine/windows/win_socket.cc - - src/core/lib/event_engine/windows/windows_endpoint.cc - - src/core/lib/event_engine/windows/windows_engine.cc - - src/core/lib/event_engine/windows/windows_listener.cc - - src/core/lib/event_engine/work_queue/basic_work_queue.cc - - src/core/lib/experiments/config.cc - - src/core/lib/experiments/experiments.cc - - src/core/lib/gprpp/load_file.cc - - src/core/lib/gprpp/per_cpu.cc - - src/core/lib/gprpp/ref_counted_string.cc - - src/core/lib/gprpp/status_helper.cc - - src/core/lib/gprpp/time.cc - - src/core/lib/gprpp/time_averaged_stats.cc - - src/core/lib/gprpp/validation_errors.cc - - src/core/lib/gprpp/work_serializer.cc - - src/core/lib/handshaker/proxy_mapper_registry.cc - - src/core/lib/iomgr/buffer_list.cc - - src/core/lib/iomgr/call_combiner.cc - - src/core/lib/iomgr/cfstream_handle.cc - - src/core/lib/iomgr/closure.cc - - src/core/lib/iomgr/combiner.cc - - src/core/lib/iomgr/dualstack_socket_posix.cc - - src/core/lib/iomgr/endpoint.cc - - src/core/lib/iomgr/endpoint_cfstream.cc - - src/core/lib/iomgr/endpoint_pair_posix.cc - - src/core/lib/iomgr/endpoint_pair_windows.cc - - src/core/lib/iomgr/error.cc - - src/core/lib/iomgr/error_cfstream.cc - - src/core/lib/iomgr/ev_apple.cc - - src/core/lib/iomgr/ev_epoll1_linux.cc - - src/core/lib/iomgr/ev_poll_posix.cc - - src/core/lib/iomgr/ev_posix.cc - - src/core/lib/iomgr/ev_windows.cc - - src/core/lib/iomgr/event_engine_shims/closure.cc - - src/core/lib/iomgr/event_engine_shims/endpoint.cc - - src/core/lib/iomgr/event_engine_shims/tcp_client.cc - - src/core/lib/iomgr/exec_ctx.cc - - src/core/lib/iomgr/executor.cc - - src/core/lib/iomgr/fork_posix.cc - - src/core/lib/iomgr/fork_windows.cc - - src/core/lib/iomgr/gethostname_fallback.cc - - src/core/lib/iomgr/gethostname_host_name_max.cc - - src/core/lib/iomgr/gethostname_sysconf.cc - - src/core/lib/iomgr/grpc_if_nametoindex_posix.cc - - src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc - - src/core/lib/iomgr/internal_errqueue.cc - - src/core/lib/iomgr/iocp_windows.cc - - src/core/lib/iomgr/iomgr.cc - - src/core/lib/iomgr/iomgr_internal.cc - - src/core/lib/iomgr/iomgr_posix.cc - - src/core/lib/iomgr/iomgr_posix_cfstream.cc - - src/core/lib/iomgr/iomgr_windows.cc - - src/core/lib/iomgr/load_file.cc - - src/core/lib/iomgr/lockfree_event.cc - - src/core/lib/iomgr/polling_entity.cc - - src/core/lib/iomgr/pollset.cc - - src/core/lib/iomgr/pollset_set.cc - - src/core/lib/iomgr/pollset_set_windows.cc - - src/core/lib/iomgr/pollset_windows.cc - - src/core/lib/iomgr/resolve_address.cc - - src/core/lib/iomgr/resolve_address_posix.cc - - src/core/lib/iomgr/resolve_address_windows.cc - - src/core/lib/iomgr/sockaddr_utils_posix.cc - - src/core/lib/iomgr/socket_factory_posix.cc - - src/core/lib/iomgr/socket_mutator.cc - - src/core/lib/iomgr/socket_utils_common_posix.cc - - src/core/lib/iomgr/socket_utils_linux.cc - - src/core/lib/iomgr/socket_utils_posix.cc - - src/core/lib/iomgr/socket_utils_windows.cc - - src/core/lib/iomgr/socket_windows.cc - - src/core/lib/iomgr/systemd_utils.cc - - src/core/lib/iomgr/tcp_client.cc - - src/core/lib/iomgr/tcp_client_cfstream.cc - - src/core/lib/iomgr/tcp_client_posix.cc - - src/core/lib/iomgr/tcp_client_windows.cc - - src/core/lib/iomgr/tcp_posix.cc - - src/core/lib/iomgr/tcp_server.cc - - src/core/lib/iomgr/tcp_server_posix.cc - - src/core/lib/iomgr/tcp_server_utils_posix_common.cc - - src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc - - src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc - - src/core/lib/iomgr/tcp_server_windows.cc - - src/core/lib/iomgr/tcp_windows.cc - - src/core/lib/iomgr/timer.cc - - src/core/lib/iomgr/timer_generic.cc - - src/core/lib/iomgr/timer_heap.cc - - src/core/lib/iomgr/timer_manager.cc - - src/core/lib/iomgr/unix_sockets_posix.cc - - src/core/lib/iomgr/unix_sockets_posix_noop.cc - - src/core/lib/iomgr/vsock.cc - - src/core/lib/iomgr/wakeup_fd_eventfd.cc - - src/core/lib/iomgr/wakeup_fd_nospecial.cc - - src/core/lib/iomgr/wakeup_fd_pipe.cc - - src/core/lib/iomgr/wakeup_fd_posix.cc - - src/core/lib/json/json_writer.cc - - src/core/lib/load_balancing/lb_policy.cc - - src/core/lib/load_balancing/lb_policy_registry.cc - - src/core/lib/promise/activity.cc - - src/core/lib/promise/party.cc - - src/core/lib/promise/trace.cc - - src/core/lib/resolver/resolver.cc - - src/core/lib/resolver/resolver_registry.cc - - src/core/lib/resolver/server_address.cc - - src/core/lib/resource_quota/api.cc - - src/core/lib/resource_quota/arena.cc - - src/core/lib/resource_quota/memory_quota.cc - - src/core/lib/resource_quota/periodic_update.cc - - src/core/lib/resource_quota/resource_quota.cc - - src/core/lib/resource_quota/thread_quota.cc - - src/core/lib/resource_quota/trace.cc - - src/core/lib/security/certificate_provider/certificate_provider_registry.cc - - src/core/lib/security/credentials/alts/check_gcp_environment.cc - - src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc - - src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc - - src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc - - src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc - - src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc - - src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc - - src/core/lib/service_config/service_config_parser.cc - - src/core/lib/slice/b64.cc - - src/core/lib/slice/percent_encoding.cc - - src/core/lib/slice/slice.cc - - src/core/lib/slice/slice_buffer.cc - - src/core/lib/slice/slice_refcount.cc - - src/core/lib/slice/slice_string_helpers.cc - - src/core/lib/surface/api_trace.cc - - src/core/lib/surface/builtins.cc - - src/core/lib/surface/byte_buffer.cc - - src/core/lib/surface/byte_buffer_reader.cc - - src/core/lib/surface/call.cc - - src/core/lib/surface/call_details.cc - - src/core/lib/surface/call_log_batch.cc - - src/core/lib/surface/call_trace.cc - - src/core/lib/surface/channel.cc - - src/core/lib/surface/channel_init.cc - - src/core/lib/surface/channel_ping.cc - - src/core/lib/surface/channel_stack_type.cc - - src/core/lib/surface/completion_queue.cc - - src/core/lib/surface/completion_queue_factory.cc - - src/core/lib/surface/event_string.cc - - src/core/lib/surface/init_internally.cc - - src/core/lib/surface/lame_client.cc - - src/core/lib/surface/metadata_array.cc - - src/core/lib/surface/server.cc - - src/core/lib/surface/validate_metadata.cc - - src/core/lib/surface/version.cc - - src/core/lib/transport/batch_builder.cc - - src/core/lib/transport/connectivity_state.cc - - src/core/lib/transport/error_utils.cc - - src/core/lib/transport/handshaker_registry.cc - - src/core/lib/transport/metadata_batch.cc - - src/core/lib/transport/parsed_metadata.cc - - src/core/lib/transport/status_conversion.cc - - src/core/lib/transport/timeout_encoding.cc - - src/core/lib/transport/transport.cc - - src/core/lib/transport/transport_op_string.cc - - src/core/lib/uri/uri_parser.cc - - src/core/tsi/alts/handshaker/transport_security_common_api.cc - - test/core/transport/chaotic_good/frame_test.cc - - third_party/upb/upb/message/accessors.c - - third_party/upb/upb/mini_descriptor/build_enum.c - - third_party/upb/upb/mini_descriptor/decode.c - - third_party/upb/upb/mini_descriptor/internal/base92.c - - third_party/upb/upb/mini_descriptor/link.c - deps: - - gtest - - upb - - z - - absl/cleanup:cleanup - - absl/container:flat_hash_map - - absl/container:flat_hash_set - - absl/container:inlined_vector - - absl/functional:function_ref - - absl/hash:hash - - absl/meta:type_traits - - absl/status:statusor - - absl/types:span - - absl/utility:utility - - cares - - gpr -- name: test_core_transport_chttp2_frame_test - gtest: true - build: test - language: c++ - headers: - - src/core/ext/transport/chttp2/transport/frame.h - - src/core/lib/debug/trace.h - - src/core/lib/slice/slice.h - - src/core/lib/slice/slice_buffer.h - - src/core/lib/slice/slice_internal.h - - src/core/lib/slice/slice_refcount.h - - src/core/lib/slice/slice_string_helpers.h - - src/core/lib/transport/http2_errors.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.h + - test/core/transport/test_suite/fixture.h + - test/core/transport/test_suite/test.h src: - - src/core/ext/transport/chttp2/transport/frame.cc - - src/core/lib/debug/trace.cc - - src/core/lib/slice/slice.cc - - src/core/lib/slice/slice_buffer.cc - - src/core/lib/slice/slice_refcount.cc - - src/core/lib/slice/slice_string_helpers.cc - - test/core/transport/chttp2/frame_test.cc + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.proto + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/lib/transport/promise_endpoint.cc + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc + - test/core/transport/test_suite/call_content.cc + - test/core/transport/test_suite/call_shapes.cc + - test/core/transport/test_suite/chaotic_good_fixture.cc + - test/core/transport/test_suite/fixture.cc + - test/core/transport/test_suite/no_op.cc + - test/core/transport/test_suite/stress.cc + - test/core/transport/test_suite/test.cc + - test/core/transport/test_suite/test_main.cc deps: - gtest - - absl/hash:hash - - absl/status:statusor - - absl/types:span - - gpr + - protobuf + - grpc_test_util + platforms: + - linux + - posix uses_polling: false - name: test_cpp_client_credentials_test gtest: true @@ -16243,6 +18773,44 @@ targets: deps: - gtest - grpc++_test_util +- name: test_cpp_ext_chaotic_good_test + gtest: true + build: test + language: c++ + headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h + - src/cpp/ext/chaotic_good.h + src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc + - src/cpp/ext/chaotic_good.cc + - test/cpp/ext/chaotic_good_test.cc + deps: + - gtest + - grpc++ + - grpc_test_util - name: test_cpp_server_credentials_test gtest: true build: test @@ -16400,6 +18968,67 @@ targets: - gtest - grpc_test_util uses_polling: false +- name: timeout_before_request_call_test + gtest: true + build: test + language: c++ + headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h + - test/core/end2end/cq_verifier.h + - test/core/end2end/end2end_tests.h + - test/core/end2end/fixtures/h2_oauth2_common.h + - test/core/end2end/fixtures/h2_ssl_cred_reload_fixture.h + - test/core/end2end/fixtures/h2_ssl_tls_common.h + - test/core/end2end/fixtures/h2_tls_common.h + - test/core/end2end/fixtures/http_proxy_fixture.h + - test/core/end2end/fixtures/inproc_fixture.h + - test/core/end2end/fixtures/local_util.h + - test/core/end2end/fixtures/proxy.h + - test/core/end2end/fixtures/secure_fixture.h + - test/core/end2end/fixtures/sockpair_fixture.h + - test/core/end2end/tests/cancel_test_helpers.h + - test/core/event_engine/event_engine_test_utils.h + - test/core/util/test_lb_policies.h + src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc + - test/core/end2end/cq_verifier.cc + - test/core/end2end/end2end_test_main.cc + - test/core/end2end/end2end_test_suites.cc + - test/core/end2end/end2end_tests.cc + - test/core/end2end/fixtures/http_proxy_fixture.cc + - test/core/end2end/fixtures/local_util.cc + - test/core/end2end/fixtures/proxy.cc + - test/core/end2end/tests/timeout_before_request_call.cc + - test/core/event_engine/event_engine_test_utils.cc + - test/core/util/test_lb_policies.cc + deps: + - gtest + - grpc_authorization_provider + - grpc_unsecure + - grpc_test_util - name: timeout_encoding_test gtest: true build: test @@ -16413,7 +19042,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -16425,7 +19053,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -16469,6 +19096,22 @@ targets: - gtest - grpc++ - grpc_test_util +- name: tls_credentials_test + gtest: true + build: test + language: c++ + headers: + - test/cpp/end2end/test_service_impl.h + src: + - src/proto/grpc/testing/echo.proto + - src/proto/grpc/testing/echo_messages.proto + - src/proto/grpc/testing/simple_messages.proto + - src/proto/grpc/testing/xds/v3/orca_load_report.proto + - test/cpp/end2end/test_service_impl.cc + - test/cpp/end2end/tls_credentials_test.cc + deps: + - gtest + - grpc++_test_util - name: tls_key_export_test gtest: true build: test @@ -16496,7 +19139,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -16508,7 +19150,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -16549,6 +19190,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -16565,6 +19222,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -16628,7 +19294,6 @@ targets: - src/cpp/client/client_stats_interceptor.h - src/cpp/client/create_channel_internal.h - src/cpp/client/secure_credentials.h - - src/cpp/common/channel_filter.h - src/cpp/common/secure_auth_context.h - src/cpp/server/backend_metric_recorder.h - src/cpp/server/dynamic_thread_pool.h @@ -16669,7 +19334,6 @@ targets: - src/cpp/common/alarm.cc - src/cpp/common/auth_property_iterator.cc - src/cpp/common/channel_arguments.cc - - src/cpp/common/channel_filter.cc - src/cpp/common/completion_queue_cc.cc - src/cpp/common/resource_quota_cc.cc - src/cpp/common/rpc_method.cc @@ -16716,8 +19380,10 @@ targets: - src/core/lib/gprpp/bitset.h - src/core/lib/promise/detail/join_state.h - src/core/lib/promise/detail/promise_like.h + - src/core/lib/promise/detail/status.h - src/core/lib/promise/map.h - src/core/lib/promise/poll.h + - src/core/lib/promise/status_flag.h - src/core/lib/promise/trace.h - src/core/lib/promise/try_join.h src: @@ -16754,6 +19420,7 @@ targets: - src/core/lib/promise/detail/seq_state.h - src/core/lib/promise/detail/status.h - src/core/lib/promise/poll.h + - src/core/lib/promise/status_flag.h - src/core/lib/promise/trace.h - src/core/lib/promise/try_seq.h src: @@ -16854,6 +19521,7 @@ targets: language: c++ headers: - src/core/lib/gprpp/atomic_utils.h + - src/core/lib/gprpp/down_cast.h - src/core/lib/gprpp/notification.h - src/core/lib/gprpp/orphanable.h - src/core/lib/gprpp/ref_counted.h @@ -16872,6 +19540,7 @@ targets: - test/core/promise/wait_for_callback_test.cc deps: - gtest + - absl/base:config - absl/hash:hash - absl/meta:type_traits - absl/status:statusor @@ -16996,7 +19665,6 @@ targets: - src/cpp/client/client_stats_interceptor.h - src/cpp/client/create_channel_internal.h - src/cpp/client/secure_credentials.h - - src/cpp/common/channel_filter.h - src/cpp/common/secure_auth_context.h - src/cpp/server/backend_metric_recorder.h - src/cpp/server/dynamic_thread_pool.h @@ -17038,7 +19706,6 @@ targets: - src/cpp/common/alarm.cc - src/cpp/common/auth_property_iterator.cc - src/cpp/common/channel_arguments.cc - - src/cpp/common/channel_filter.cc - src/cpp/common/completion_queue_cc.cc - src/cpp/common/resource_quota_cc.cc - src/cpp/common/rpc_method.cc @@ -17105,7 +19772,6 @@ targets: - src/cpp/client/client_stats_interceptor.h - src/cpp/client/create_channel_internal.h - src/cpp/client/secure_credentials.h - - src/cpp/common/channel_filter.h - src/cpp/common/secure_auth_context.h - src/cpp/server/backend_metric_recorder.h - src/cpp/server/dynamic_thread_pool.h @@ -17147,7 +19813,6 @@ targets: - src/cpp/common/alarm.cc - src/cpp/common/auth_property_iterator.cc - src/cpp/common/channel_arguments.cc - - src/cpp/common/channel_filter.cc - src/cpp/common/completion_queue_cc.cc - src/cpp/common/resource_quota_cc.cc - src/cpp/common/rpc_method.cc @@ -17208,6 +19873,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -17224,6 +19905,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -17244,6 +19934,22 @@ targets: build: test language: c++ headers: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.h + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h + - src/core/ext/transport/chaotic_good/client_transport.h + - src/core/ext/transport/chaotic_good/frame.h + - src/core/ext/transport/chaotic_good/frame_header.h + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.h + - src/core/ext/transport/chaotic_good/server_transport.h + - src/core/ext/transport/chaotic_good/settings_metadata.h + - src/core/lib/promise/event_engine_wakeup_scheduler.h + - src/core/lib/promise/inter_activity_latch.h + - src/core/lib/promise/inter_activity_pipe.h + - src/core/lib/promise/mpsc.h + - src/core/lib/promise/switch.h + - src/core/lib/promise/wait_for_callback.h + - src/core/lib/promise/wait_set.h + - src/core/lib/transport/promise_endpoint.h - test/core/end2end/cq_verifier.h - test/core/end2end/end2end_tests.h - test/core/end2end/fixtures/h2_oauth2_common.h @@ -17260,6 +19966,15 @@ targets: - test/core/event_engine/event_engine_test_utils.h - test/core/util/test_lb_policies.h src: + - src/core/ext/transport/chaotic_good/chaotic_good_transport.cc + - src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc + - src/core/ext/transport/chaotic_good/client_transport.cc + - src/core/ext/transport/chaotic_good/frame.cc + - src/core/ext/transport/chaotic_good/frame_header.cc + - src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc + - src/core/ext/transport/chaotic_good/server_transport.cc + - src/core/ext/transport/chaotic_good/settings_metadata.cc + - src/core/lib/transport/promise_endpoint.cc - test/core/end2end/cq_verifier.cc - test/core/end2end/end2end_test_main.cc - test/core/end2end/end2end_test_suites.cc @@ -17275,11 +19990,29 @@ targets: - grpc_authorization_provider - grpc_unsecure - grpc_test_util +- name: write_size_policy_test + gtest: true + build: test + language: c++ + headers: + - src/core/ext/transport/chttp2/transport/write_size_policy.h + - src/core/lib/gprpp/time.h + src: + - src/core/ext/transport/chttp2/transport/write_size_policy.cc + - src/core/lib/gprpp/time.cc + - test/core/transport/chttp2/write_size_policy_test.cc + deps: + - gtest + - absl/status:statusor + - gpr + uses_polling: false - name: writes_per_rpc_test gtest: true build: test language: c++ headers: + - test/core/event_engine/event_engine_test_utils.h + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.h - test/core/util/cmdline.h - test/core/util/evaluate_args_test_util.h - test/core/util/fuzzer_util.h @@ -17288,7 +20021,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -17297,13 +20029,15 @@ targets: - src/proto/grpc/testing/echo_messages.proto - src/proto/grpc/testing/simple_messages.proto - src/proto/grpc/testing/xds/v3/orca_load_report.proto + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.proto + - test/core/event_engine/event_engine_test_utils.cc + - test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc - test/core/util/cmdline.cc - test/core/util/fuzzer_util.cc - test/core/util/grpc_profiler.cc - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -17402,11 +20136,14 @@ targets: run: false language: c++ headers: + - test/core/util/fake_stats_plugin.h + - test/core/util/scoped_env_var.h - test/cpp/end2end/connection_attempt_injector.h - test/cpp/end2end/counted_service.h - test/cpp/end2end/test_service_impl.h - test/cpp/end2end/xds/xds_end2end_test_lib.h - test/cpp/end2end/xds/xds_server.h + - test/cpp/end2end/xds/xds_utils.h - test/cpp/util/tls_test_utils.h src: - src/proto/grpc/testing/duplicate/echo_duplicate.proto @@ -17440,11 +20177,13 @@ targets: - src/proto/grpc/testing/xds/v3/route.proto - src/proto/grpc/testing/xds/v3/router.proto - src/proto/grpc/testing/xds/v3/string.proto + - test/core/util/fake_stats_plugin.cc - test/cpp/end2end/connection_attempt_injector.cc - test/cpp/end2end/test_service_impl.cc - test/cpp/end2end/xds/xds_cluster_end2end_test.cc - test/cpp/end2end/xds/xds_end2end_test_lib.cc - test/cpp/end2end/xds/xds_server.cc + - test/cpp/end2end/xds/xds_utils.cc - test/cpp/util/tls_test_utils.cc deps: - gtest @@ -17467,8 +20206,10 @@ targets: - src/proto/grpc/testing/xds/v3/endpoint.proto - src/proto/grpc/testing/xds/v3/extension.proto - src/proto/grpc/testing/xds/v3/health_check.proto + - src/proto/grpc/testing/xds/v3/http_protocol_options.proto - src/proto/grpc/testing/xds/v3/outlier_detection.proto - src/proto/grpc/testing/xds/v3/percent.proto + - src/proto/grpc/testing/xds/v3/protocol.proto - src/proto/grpc/testing/xds/v3/regex.proto - src/proto/grpc/testing/xds/v3/round_robin.proto - src/proto/grpc/testing/xds/v3/string.proto @@ -17488,11 +20229,13 @@ targets: run: false language: c++ headers: + - test/core/util/scoped_env_var.h - test/cpp/end2end/connection_attempt_injector.h - test/cpp/end2end/counted_service.h - test/cpp/end2end/test_service_impl.h - test/cpp/end2end/xds/xds_end2end_test_lib.h - test/cpp/end2end/xds/xds_server.h + - test/cpp/end2end/xds/xds_utils.h - test/cpp/util/tls_test_utils.h src: - src/proto/grpc/testing/duplicate/echo_duplicate.proto @@ -17532,6 +20275,7 @@ targets: - test/cpp/end2end/xds/xds_cluster_type_end2end_test.cc - test/cpp/end2end/xds/xds_end2end_test_lib.cc - test/cpp/end2end/xds/xds_server.cc + - test/cpp/end2end/xds/xds_utils.cc - test/cpp/util/tls_test_utils.cc deps: - gtest @@ -17584,6 +20328,7 @@ targets: - test/cpp/end2end/test_service_impl.h - test/cpp/end2end/xds/xds_end2end_test_lib.h - test/cpp/end2end/xds/xds_server.h + - test/cpp/end2end/xds/xds_utils.h - test/cpp/util/tls_test_utils.h src: - src/proto/grpc/testing/duplicate/echo_duplicate.proto @@ -17621,6 +20366,7 @@ targets: - test/cpp/end2end/xds/xds_core_end2end_test.cc - test/cpp/end2end/xds/xds_end2end_test_lib.cc - test/cpp/end2end/xds/xds_server.cc + - test/cpp/end2end/xds/xds_utils.cc - test/cpp/util/tls_test_utils.cc deps: - gtest @@ -17658,7 +20404,6 @@ targets: - test/core/util/mock_authorization_endpoint.h - test/core/util/mock_endpoint.h - test/core/util/parse_hexstring.h - - test/core/util/passthru_endpoint.h - test/core/util/resolve_localhost_ip46.h - test/core/util/slice_splitter.h - test/core/util/tracer_util.h @@ -17670,7 +20415,6 @@ targets: - test/core/util/histogram.cc - test/core/util/mock_endpoint.cc - test/core/util/parse_hexstring.cc - - test/core/util/passthru_endpoint.cc - test/core/util/resolve_localhost_ip46.cc - test/core/util/slice_splitter.cc - test/core/util/tracer_util.cc @@ -17687,6 +20431,7 @@ targets: - test/cpp/end2end/test_service_impl.h - test/cpp/end2end/xds/xds_end2end_test_lib.h - test/cpp/end2end/xds/xds_server.h + - test/cpp/end2end/xds/xds_utils.h - test/cpp/util/tls_test_utils.h src: - src/proto/grpc/testing/duplicate/echo_duplicate.proto @@ -17727,6 +20472,7 @@ targets: - test/cpp/end2end/xds/xds_csds_end2end_test.cc - test/cpp/end2end/xds/xds_end2end_test_lib.cc - test/cpp/end2end/xds/xds_server.cc + - test/cpp/end2end/xds/xds_utils.cc - test/cpp/util/tls_test_utils.cc deps: - gtest @@ -17747,6 +20493,7 @@ targets: - test/cpp/end2end/test_service_impl.h - test/cpp/end2end/xds/xds_end2end_test_lib.h - test/cpp/end2end/xds/xds_server.h + - test/cpp/end2end/xds/xds_utils.h - test/cpp/util/tls_test_utils.h src: - src/proto/grpc/testing/duplicate/echo_duplicate.proto @@ -17790,6 +20537,7 @@ targets: - test/cpp/end2end/xds/xds_end2end_test.cc - test/cpp/end2end/xds/xds_end2end_test_lib.cc - test/cpp/end2end/xds/xds_server.cc + - test/cpp/end2end/xds/xds_utils.cc - test/cpp/util/tls_test_utils.cc deps: - gtest @@ -17803,7 +20551,8 @@ targets: gtest: true build: test language: c++ - headers: [] + headers: + - test/core/util/scoped_env_var.h src: - src/proto/grpc/testing/xds/v3/address.proto - src/proto/grpc/testing/xds/v3/base.proto @@ -17827,6 +20576,7 @@ targets: - test/cpp/end2end/test_service_impl.h - test/cpp/end2end/xds/xds_end2end_test_lib.h - test/cpp/end2end/xds/xds_server.h + - test/cpp/end2end/xds/xds_utils.h - test/cpp/util/tls_test_utils.h src: - src/proto/grpc/testing/duplicate/echo_duplicate.proto @@ -17866,6 +20616,7 @@ targets: - test/cpp/end2end/xds/xds_end2end_test_lib.cc - test/cpp/end2end/xds/xds_fault_injection_end2end_test.cc - test/cpp/end2end/xds/xds_server.cc + - test/cpp/end2end/xds/xds_utils.cc - test/cpp/util/tls_test_utils.cc deps: - gtest @@ -17920,92 +20671,6 @@ targets: - protoc - grpc_test_util uses_polling: false -- name: xds_interop_client - build: test - run: false - language: c++ - headers: - - src/cpp/server/csds/csds.h - - test/cpp/interop/rpc_behavior_lb_policy.h - - test/cpp/interop/xds_stats_watcher.h - src: - - src/proto/grpc/testing/empty.proto - - src/proto/grpc/testing/messages.proto - - src/proto/grpc/testing/test.proto - - src/proto/grpc/testing/xds/v3/base.proto - - src/proto/grpc/testing/xds/v3/config_dump.proto - - src/proto/grpc/testing/xds/v3/csds.proto - - src/proto/grpc/testing/xds/v3/percent.proto - - src/cpp/server/admin/admin_services.cc - - src/cpp/server/csds/csds.cc - - test/cpp/interop/rpc_behavior_lb_policy.cc - - test/cpp/interop/xds_interop_client.cc - - test/cpp/interop/xds_stats_watcher.cc - deps: - - grpc++_reflection - - grpcpp_channelz - - grpc_test_util - - grpc++_test_config -- name: xds_interop_server - build: test - run: false - language: c++ - headers: - - src/cpp/server/csds/csds.h - - test/cpp/end2end/test_health_check_service_impl.h - - test/cpp/interop/pre_stop_hook_server.h - - test/cpp/interop/xds_interop_server_lib.h - src: - - src/proto/grpc/health/v1/health.proto - - src/proto/grpc/testing/empty.proto - - src/proto/grpc/testing/messages.proto - - src/proto/grpc/testing/test.proto - - src/proto/grpc/testing/xds/v3/base.proto - - src/proto/grpc/testing/xds/v3/config_dump.proto - - src/proto/grpc/testing/xds/v3/csds.proto - - src/proto/grpc/testing/xds/v3/percent.proto - - src/cpp/server/admin/admin_services.cc - - src/cpp/server/csds/csds.cc - - test/cpp/end2end/test_health_check_service_impl.cc - - test/cpp/interop/pre_stop_hook_server.cc - - test/cpp/interop/xds_interop_server.cc - - test/cpp/interop/xds_interop_server_lib.cc - deps: - - grpc++_reflection - - grpcpp_channelz - - grpc_test_util - - grpc++_test_config -- name: xds_interop_server_test - gtest: true - build: test - language: c++ - headers: - - src/cpp/server/csds/csds.h - - test/cpp/end2end/test_health_check_service_impl.h - - test/cpp/interop/pre_stop_hook_server.h - - test/cpp/interop/xds_interop_server_lib.h - src: - - src/proto/grpc/health/v1/health.proto - - src/proto/grpc/testing/empty.proto - - src/proto/grpc/testing/istio_echo.proto - - src/proto/grpc/testing/messages.proto - - src/proto/grpc/testing/test.proto - - src/proto/grpc/testing/xds/v3/base.proto - - src/proto/grpc/testing/xds/v3/config_dump.proto - - src/proto/grpc/testing/xds/v3/csds.proto - - src/proto/grpc/testing/xds/v3/percent.proto - - src/cpp/server/admin/admin_services.cc - - src/cpp/server/csds/csds.cc - - test/cpp/end2end/test_health_check_service_impl.cc - - test/cpp/interop/pre_stop_hook_server.cc - - test/cpp/interop/xds_interop_server_lib.cc - - test/cpp/interop/xds_interop_server_test.cc - deps: - - gtest - - grpc++_reflection - - grpcpp_channelz - - grpc_test_util - - grpc++_test_config - name: xds_lb_policy_registry_test gtest: true build: test @@ -18105,6 +20770,7 @@ targets: - test/cpp/end2end/test_service_impl.h - test/cpp/end2end/xds/xds_end2end_test_lib.h - test/cpp/end2end/xds/xds_server.h + - test/cpp/end2end/xds/xds_utils.h - test/cpp/util/tls_test_utils.h src: - src/proto/grpc/testing/duplicate/echo_duplicate.proto @@ -18144,6 +20810,7 @@ targets: - test/cpp/end2end/xds/xds_end2end_test_lib.cc - test/cpp/end2end/xds/xds_outlier_detection_end2end_test.cc - test/cpp/end2end/xds/xds_server.cc + - test/cpp/end2end/xds/xds_utils.cc - test/cpp/util/tls_test_utils.cc deps: - gtest @@ -18157,10 +20824,12 @@ targets: build: test language: c++ headers: + - test/core/util/scoped_env_var.h - test/cpp/end2end/counted_service.h - test/cpp/end2end/test_service_impl.h - test/cpp/end2end/xds/xds_end2end_test_lib.h - test/cpp/end2end/xds/xds_server.h + - test/cpp/end2end/xds/xds_utils.h - test/cpp/util/tls_test_utils.h src: - src/proto/grpc/testing/duplicate/echo_duplicate.proto @@ -18201,6 +20870,7 @@ targets: - test/cpp/end2end/xds/xds_end2end_test_lib.cc - test/cpp/end2end/xds/xds_override_host_end2end_test.cc - test/cpp/end2end/xds/xds_server.cc + - test/cpp/end2end/xds/xds_utils.cc - test/cpp/util/tls_test_utils.cc deps: - gtest @@ -18249,6 +20919,7 @@ targets: - test/cpp/end2end/test_service_impl.h - test/cpp/end2end/xds/xds_end2end_test_lib.h - test/cpp/end2end/xds/xds_server.h + - test/cpp/end2end/xds/xds_utils.h - test/cpp/util/tls_test_utils.h src: - src/proto/grpc/testing/duplicate/echo_duplicate.proto @@ -18289,6 +20960,7 @@ targets: - test/cpp/end2end/xds/xds_end2end_test_lib.cc - test/cpp/end2end/xds/xds_pick_first_end2end_test.cc - test/cpp/end2end/xds/xds_server.cc + - test/cpp/end2end/xds/xds_utils.cc - test/cpp/util/tls_test_utils.cc deps: - gtest @@ -18308,6 +20980,7 @@ targets: - test/cpp/end2end/test_service_impl.h - test/cpp/end2end/xds/xds_end2end_test_lib.h - test/cpp/end2end/xds/xds_server.h + - test/cpp/end2end/xds/xds_utils.h - test/cpp/util/tls_test_utils.h src: - src/proto/grpc/testing/duplicate/echo_duplicate.proto @@ -18347,6 +21020,7 @@ targets: - test/cpp/end2end/xds/xds_end2end_test_lib.cc - test/cpp/end2end/xds/xds_ring_hash_end2end_test.cc - test/cpp/end2end/xds/xds_server.cc + - test/cpp/end2end/xds/xds_utils.cc - test/cpp/util/tls_test_utils.cc deps: - gtest @@ -18366,6 +21040,7 @@ targets: - test/cpp/end2end/test_service_impl.h - test/cpp/end2end/xds/xds_end2end_test_lib.h - test/cpp/end2end/xds/xds_server.h + - test/cpp/end2end/xds/xds_utils.h - test/cpp/util/tls_test_utils.h src: - src/proto/grpc/lookup/v1/rls.proto @@ -18406,6 +21081,7 @@ targets: - test/cpp/end2end/xds/xds_end2end_test_lib.cc - test/cpp/end2end/xds/xds_rls_end2end_test.cc - test/cpp/end2end/xds/xds_server.cc + - test/cpp/end2end/xds/xds_utils.cc - test/cpp/util/tls_test_utils.cc deps: - gtest @@ -18467,6 +21143,7 @@ targets: - test/cpp/end2end/test_service_impl.h - test/cpp/end2end/xds/xds_end2end_test_lib.h - test/cpp/end2end/xds/xds_server.h + - test/cpp/end2end/xds/xds_utils.h - test/cpp/util/tls_test_utils.h src: - src/proto/grpc/testing/duplicate/echo_duplicate.proto @@ -18506,6 +21183,7 @@ targets: - test/cpp/end2end/xds/xds_end2end_test_lib.cc - test/cpp/end2end/xds/xds_routing_end2end_test.cc - test/cpp/end2end/xds/xds_server.cc + - test/cpp/end2end/xds/xds_utils.cc - test/cpp/util/tls_test_utils.cc deps: - gtest @@ -18551,6 +21229,7 @@ targets: - test/cpp/end2end/test_service_impl.h - test/cpp/end2end/xds/xds_end2end_test_lib.h - test/cpp/end2end/xds/xds_server.h + - test/cpp/end2end/xds/xds_utils.h - test/cpp/util/tls_test_utils.h src: - src/proto/grpc/testing/duplicate/echo_duplicate.proto @@ -18589,6 +21268,7 @@ targets: - test/cpp/end2end/test_service_impl.cc - test/cpp/end2end/xds/xds_end2end_test_lib.cc - test/cpp/end2end/xds/xds_server.cc + - test/cpp/end2end/xds/xds_utils.cc - test/cpp/end2end/xds/xds_wrr_end2end_test.cc - test/cpp/util/tls_test_utils.cc deps: @@ -18600,12 +21280,12 @@ targets: - mac external_proto_libraries: - destination: third_party/envoy-api - hash: 6fd3496c82919a433219733819a93b56699519a193126959e9c4fedc25e70663 + hash: ddd3beedda1178a79e0d988f76f362002aced09749452515853f106e22bd2249 proto_prefix: third_party/envoy-api/ - strip_prefix: data-plane-api-e53e7bbd012f81965f2e79848ad9a58ceb67201f + strip_prefix: data-plane-api-78f198cf96ecdc7120ef640406770aa01af775c4 urls: - - https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/e53e7bbd012f81965f2e79848ad9a58ceb67201f.tar.gz - - https://github.com/envoyproxy/data-plane-api/archive/e53e7bbd012f81965f2e79848ad9a58ceb67201f.tar.gz + - https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/78f198cf96ecdc7120ef640406770aa01af775c4.tar.gz + - https://github.com/envoyproxy/data-plane-api/archive/78f198cf96ecdc7120ef640406770aa01af775c4.tar.gz - destination: third_party/googleapis hash: 5bb6b0253ccf64b53d6c7249625a7e3f6c3bc6402abd52d3778bfa48258703a0 proto_prefix: third_party/googleapis/ @@ -18621,10 +21301,10 @@ external_proto_libraries: - https://storage.googleapis.com/grpc-bazel-mirror/github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz - https://github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz - destination: third_party/xds - hash: 0d33b83f8c6368954e72e7785539f0d272a8aba2f6e2e336ed15fd1514bc9899 + hash: dc305e20c9fa80822322271b50aa2ffa917bf4fd3973bcec52bfc28dc32c5927 proto_prefix: third_party/xds/ - strip_prefix: xds-e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7 + strip_prefix: xds-3a472e524827f72d1ad621c4983dd5af54c46776 urls: - - https://storage.googleapis.com/grpc-bazel-mirror/github.com/cncf/xds/archive/e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7.tar.gz - - https://github.com/cncf/xds/archive/e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7.tar.gz + - https://storage.googleapis.com/grpc-bazel-mirror/github.com/cncf/xds/archive/3a472e524827f72d1ad621c4983dd5af54c46776.tar.gz + - https://github.com/cncf/xds/archive/3a472e524827f72d1ad621c4983dd5af54c46776.tar.gz tests: [] diff --git a/build_config.rb b/build_config.rb index 6d7460a8671..c8e590fdd15 100644 --- a/build_config.rb +++ b/build_config.rb @@ -13,5 +13,5 @@ # limitations under the License. module GrpcBuildConfig - CORE_WINDOWS_DLL = '/tmp/libs/opt/grpc-35.dll' + CORE_WINDOWS_DLL = '/tmp/libs/opt/grpc-39.dll' end diff --git a/build_handwritten.yaml b/build_handwritten.yaml index 3d05d40fe1a..6282f4993dc 100644 --- a/build_handwritten.yaml +++ b/build_handwritten.yaml @@ -12,11 +12,11 @@ settings: '#08': Use "-preN" suffixes to identify pre-release versions '#09': Per-language overrides are possible with (eg) ruby_version tag here '#10': See the expand_version.py for all the quirks here - core_version: 35.0.0 + core_version: 39.0.0 csharp_major_version: 2 - g_stands_for: generative - protobuf_version: 3.24.3 - version: 1.59.0-dev + g_stands_for: giggle + protobuf_version: 3.25.1 + version: 1.63.0-dev configs: asan: CC: clang @@ -149,8 +149,8 @@ defaults: CFLAGS: -g COREFLAGS: -fno-exceptions CPPFLAGS: -g -Wall -Wextra -DOSATOMIC_USE_INLINED=1 -Ithird_party/abseil-cpp -Ithird_party/re2 - -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated - -Ithird_party/utf8_range -Ithird_party/xxhash + -Ithird_party/upb -Isrc/core/ext/upb-gen -Isrc/core/ext/upbdefs-gen -Ithird_party/utf8_range + -Ithird_party/xxhash LDFLAGS: -g zlib: CFLAGS: -fvisibility=hidden @@ -207,7 +207,9 @@ swift_package: - grpc - grpc_authorization_provider - gpr - - upb + - upb_base_lib + - upb_mem_lib + - upb_message_lib - upb_json_lib - upb_textformat_lib - utf8_range_lib diff --git a/cmake/OWNERS b/cmake/OWNERS deleted file mode 100644 index 47d3b37a168..00000000000 --- a/cmake/OWNERS +++ /dev/null @@ -1,3 +0,0 @@ -set noparent -@jtattermusch -@apolcyn diff --git a/cmake/upb.cmake b/cmake/upb.cmake index 72630fee212..9156e5f48f9 100644 --- a/cmake/upb.cmake +++ b/cmake/upb.cmake @@ -15,6 +15,6 @@ set(UPB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/upb) set(_gRPC_UPB_INCLUDE_DIR "${UPB_ROOT_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/third_party/utf8_range") -set(_gRPC_UPB_GRPC_GENERATED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src/core/ext/upb-generated" "${CMAKE_CURRENT_SOURCE_DIR}/src/core/ext/upbdefs-generated") +set(_gRPC_UPB_GRPC_GENERATED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src/core/ext/upb-gen" "${CMAKE_CURRENT_SOURCE_DIR}/src/core/ext/upbdefs-gen") set(_gRPC_UPB_LIBRARIES upb) diff --git a/config.m4 b/config.m4 index 069ee442890..c823a980b8f 100644 --- a/config.m4 +++ b/config.m4 @@ -6,8 +6,8 @@ if test "$PHP_GRPC" != "no"; then dnl # --with-grpc -> add include path PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/include) - PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/src/core/ext/upb-generated) - PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/src/core/ext/upbdefs-generated) + PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/src/core/ext/upb-gen) + PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/src/core/ext/upbdefs-gen) PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/src/php/ext/grpc) PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/third_party/abseil-cpp) PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/third_party/address_sorting/include) @@ -41,72 +41,30 @@ if test "$PHP_GRPC" != "no"; then PHP_SUBST(GRPC_SHARED_LIBADD) PHP_NEW_EXTENSION(grpc, + src/core/client_channel/backup_poller.cc \ + src/core/client_channel/channel_connectivity.cc \ + src/core/client_channel/client_channel_channelz.cc \ + src/core/client_channel/client_channel_factory.cc \ + src/core/client_channel/client_channel_filter.cc \ + src/core/client_channel/client_channel_plugin.cc \ + src/core/client_channel/client_channel_service_config.cc \ + src/core/client_channel/config_selector.cc \ + src/core/client_channel/dynamic_filters.cc \ + src/core/client_channel/global_subchannel_pool.cc \ + src/core/client_channel/http_proxy_mapper.cc \ + src/core/client_channel/local_subchannel_pool.cc \ + src/core/client_channel/retry_filter.cc \ + src/core/client_channel/retry_filter_legacy_call_data.cc \ + src/core/client_channel/retry_service_config.cc \ + src/core/client_channel/retry_throttle.cc \ + src/core/client_channel/subchannel.cc \ + src/core/client_channel/subchannel_pool_interface.cc \ + src/core/client_channel/subchannel_stream_client.cc \ src/core/ext/filters/backend_metrics/backend_metric_filter.cc \ src/core/ext/filters/census/grpc_context.cc \ src/core/ext/filters/channel_idle/channel_idle_filter.cc \ src/core/ext/filters/channel_idle/idle_filter_state.cc \ - src/core/ext/filters/client_channel/backend_metric.cc \ - src/core/ext/filters/client_channel/backup_poller.cc \ - src/core/ext/filters/client_channel/channel_connectivity.cc \ - src/core/ext/filters/client_channel/client_channel.cc \ - src/core/ext/filters/client_channel/client_channel_channelz.cc \ - src/core/ext/filters/client_channel/client_channel_factory.cc \ - src/core/ext/filters/client_channel/client_channel_plugin.cc \ - src/core/ext/filters/client_channel/client_channel_service_config.cc \ - src/core/ext/filters/client_channel/config_selector.cc \ - src/core/ext/filters/client_channel/dynamic_filters.cc \ - src/core/ext/filters/client_channel/global_subchannel_pool.cc \ - src/core/ext/filters/client_channel/http_proxy_mapper.cc \ - src/core/ext/filters/client_channel/lb_policy/address_filtering.cc \ - src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc \ - src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc \ - src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc \ - src/core/ext/filters/client_channel/lb_policy/health_check_client.cc \ - src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc \ - src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc \ - src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc \ - src/core/ext/filters/client_channel/lb_policy/priority/priority.cc \ - src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc \ - src/core/ext/filters/client_channel/lb_policy/rls/rls.cc \ - src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc \ - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc \ - src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc \ - src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc \ - src/core/ext/filters/client_channel/lb_policy/xds/cds.cc \ - src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc \ - src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc \ - src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc \ - src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc \ - src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc \ - src/core/ext/filters/client_channel/local_subchannel_pool.cc \ - src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc \ - src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc \ - src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc \ - src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc \ - src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc \ - src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc \ - src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc \ - src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc \ - src/core/ext/filters/client_channel/resolver/polling_resolver.cc \ - src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc \ - src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc \ - src/core/ext/filters/client_channel/retry_filter.cc \ - src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc \ - src/core/ext/filters/client_channel/retry_service_config.cc \ - src/core/ext/filters/client_channel/retry_throttle.cc \ - src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc \ - src/core/ext/filters/client_channel/subchannel.cc \ - src/core/ext/filters/client_channel/subchannel_pool_interface.cc \ - src/core/ext/filters/client_channel/subchannel_stream_client.cc \ + src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc \ src/core/ext/filters/deadline/deadline_filter.cc \ src/core/ext/filters/fault_injection/fault_injection_filter.cc \ src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc \ @@ -114,6 +72,7 @@ if test "$PHP_GRPC" != "no"; then src/core/ext/filters/http/client_authority_filter.cc \ src/core/ext/filters/http/http_filters_plugin.cc \ src/core/ext/filters/http/message_compress/compression_filter.cc \ + src/core/ext/filters/http/message_compress/legacy_compression_filter.cc \ src/core/ext/filters/http/server/http_server_filter.cc \ src/core/ext/filters/message_size/message_size_filter.cc \ src/core/ext/filters/rbac/rbac_filter.cc \ @@ -130,6 +89,7 @@ if test "$PHP_GRPC" != "no"; then src/core/ext/transport/chttp2/transport/chttp2_transport.cc \ src/core/ext/transport/chttp2/transport/decode_huff.cc \ src/core/ext/transport/chttp2/transport/flow_control.cc \ + src/core/ext/transport/chttp2/transport/frame.cc \ src/core/ext/transport/chttp2/transport/frame_data.cc \ src/core/ext/transport/chttp2/transport/frame_goaway.cc \ src/core/ext/transport/chttp2/transport/frame_ping.cc \ @@ -144,327 +104,335 @@ if test "$PHP_GRPC" != "no"; then src/core/ext/transport/chttp2/transport/http2_settings.cc \ src/core/ext/transport/chttp2/transport/http_trace.cc \ src/core/ext/transport/chttp2/transport/huffsyms.cc \ + src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc \ src/core/ext/transport/chttp2/transport/parsing.cc \ src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc \ + src/core/ext/transport/chttp2/transport/ping_callbacks.cc \ src/core/ext/transport/chttp2/transport/ping_rate_policy.cc \ src/core/ext/transport/chttp2/transport/stream_lists.cc \ src/core/ext/transport/chttp2/transport/varint.cc \ + src/core/ext/transport/chttp2/transport/write_size_policy.cc \ src/core/ext/transport/chttp2/transport/writing.cc \ src/core/ext/transport/inproc/inproc_plugin.cc \ src/core/ext/transport/inproc/inproc_transport.cc \ - src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c \ - src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c \ - src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c \ - src/core/ext/upb-generated/envoy/annotations/resource.upb.c \ - src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c \ - src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c \ - src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c \ - src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c \ - src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c \ - src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c \ - src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c \ - src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c \ - src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c \ - src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c \ - src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c \ - src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c \ - src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c \ - src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c \ - src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c \ - src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c \ - src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c \ - src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c \ - src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c \ - src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c \ - src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c \ - src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c \ - src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c \ - src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c \ - src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c \ - src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c \ - src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c \ - src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c \ - src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c \ - src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c \ - src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c \ - src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c \ - src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c \ - src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c \ - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c \ - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c \ - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c \ - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c \ - src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c \ - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c \ - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c \ - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c \ - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c \ - src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c \ - src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c \ - src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c \ - src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c \ - src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c \ - src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c \ - src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c \ - src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c \ - src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c \ - src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/http.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/percent.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/range.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c \ - src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c \ - src/core/ext/upb-generated/google/api/annotations.upb.c \ - src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c \ - src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c \ - src/core/ext/upb-generated/google/api/http.upb.c \ - src/core/ext/upb-generated/google/api/httpbody.upb.c \ - src/core/ext/upb-generated/google/protobuf/any.upb.c \ - src/core/ext/upb-generated/google/protobuf/descriptor.upb.c \ - src/core/ext/upb-generated/google/protobuf/duration.upb.c \ - src/core/ext/upb-generated/google/protobuf/empty.upb.c \ - src/core/ext/upb-generated/google/protobuf/struct.upb.c \ - src/core/ext/upb-generated/google/protobuf/timestamp.upb.c \ - src/core/ext/upb-generated/google/protobuf/wrappers.upb.c \ - src/core/ext/upb-generated/google/rpc/status.upb.c \ - src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c \ - src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c \ - src/core/ext/upb-generated/udpa/annotations/migrate.upb.c \ - src/core/ext/upb-generated/udpa/annotations/security.upb.c \ - src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c \ - src/core/ext/upb-generated/udpa/annotations/status.upb.c \ - src/core/ext/upb-generated/udpa/annotations/versioning.upb.c \ - src/core/ext/upb-generated/validate/validate.upb.c \ - src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c \ - src/core/ext/upb-generated/xds/annotations/v3/security.upb.c \ - src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c \ - src/core/ext/upb-generated/xds/annotations/v3/status.upb.c \ - src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c \ - src/core/ext/upb-generated/xds/core/v3/authority.upb.c \ - src/core/ext/upb-generated/xds/core/v3/cidr.upb.c \ - src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c \ - src/core/ext/upb-generated/xds/core/v3/context_params.upb.c \ - src/core/ext/upb-generated/xds/core/v3/extension.upb.c \ - src/core/ext/upb-generated/xds/core/v3/resource.upb.c \ - src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c \ - src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c \ - src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c \ - src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c \ - src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c \ - src/core/ext/upb-generated/xds/type/v3/cel.upb.c \ - src/core/ext/upb-generated/xds/type/v3/range.upb.c \ - src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c \ - src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c \ - src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c \ - src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c \ - src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c \ - src/core/ext/upbdefs-generated/google/api/http.upbdefs.c \ - src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c \ - src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c \ - src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c \ - src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c \ - src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c \ - src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c \ - src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c \ - src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c \ - src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c \ - src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c \ - src/core/ext/upbdefs-generated/validate/validate.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c \ - src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c \ + src/core/ext/transport/inproc/legacy_inproc_transport.cc \ + src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c \ + src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c \ + src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c \ + src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c \ + src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c \ + src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c \ + src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c \ + src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c \ + src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c \ + src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c \ + src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c \ + src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c \ + src/core/ext/upb-gen/google/api/annotations.upb_minitable.c \ + src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c \ + src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c \ + src/core/ext/upb-gen/google/api/http.upb_minitable.c \ + src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c \ + src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c \ + src/core/ext/upb-gen/google/rpc/status.upb_minitable.c \ + src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c \ + src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c \ + src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c \ + src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c \ + src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c \ + src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c \ + src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c \ + src/core/ext/upb-gen/validate/validate.upb_minitable.c \ + src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c \ + src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c \ + src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c \ + src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c \ + src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c \ + src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c \ + src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c \ + src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c \ + src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c \ + src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c \ + src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c \ + src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c \ + src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c \ + src/core/ext/upbdefs-gen/google/api/http.upbdefs.c \ + src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c \ + src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c \ + src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c \ + src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c \ + src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c \ + src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c \ + src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c \ + src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c \ + src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c \ + src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c \ + src/core/ext/upbdefs-gen/validate/validate.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c \ + src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c \ src/core/ext/xds/certificate_provider_store.cc \ src/core/ext/xds/file_watcher_certificate_provider_factory.cc \ src/core/ext/xds/xds_api.cc \ @@ -501,6 +469,7 @@ if test "$PHP_GRPC" != "no"; then src/core/lib/channel/channel_stack.cc \ src/core/lib/channel/channel_stack_builder.cc \ src/core/lib/channel/channel_stack_builder_impl.cc \ + src/core/lib/channel/channel_stack_trace.cc \ src/core/lib/channel/channel_trace.cc \ src/core/lib/channel/channelz.cc \ src/core/lib/channel/channelz_registry.cc \ @@ -529,12 +498,12 @@ if test "$PHP_GRPC" != "no"; then src/core/lib/event_engine/default_event_engine_factory.cc \ src/core/lib/event_engine/event_engine.cc \ src/core/lib/event_engine/forkable.cc \ - src/core/lib/event_engine/memory_allocator.cc \ src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc \ src/core/lib/event_engine/posix_engine/ev_poll_posix.cc \ src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc \ src/core/lib/event_engine/posix_engine/internal_errqueue.cc \ src/core/lib/event_engine/posix_engine/lockfree_event.cc \ + src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc \ src/core/lib/event_engine/posix_engine/posix_endpoint.cc \ src/core/lib/event_engine/posix_engine/posix_engine.cc \ src/core/lib/event_engine/posix_engine/posix_engine_listener.cc \ @@ -560,7 +529,9 @@ if test "$PHP_GRPC" != "no"; then src/core/lib/event_engine/time_util.cc \ src/core/lib/event_engine/trace.cc \ src/core/lib/event_engine/utils.cc \ + src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc \ src/core/lib/event_engine/windows/iocp.cc \ + src/core/lib/event_engine/windows/native_windows_dns_resolver.cc \ src/core/lib/event_engine/windows/win_socket.cc \ src/core/lib/event_engine/windows/windows_endpoint.cc \ src/core/lib/event_engine/windows/windows_engine.cc \ @@ -594,7 +565,6 @@ if test "$PHP_GRPC" != "no"; then src/core/lib/gpr/windows/sync.cc \ src/core/lib/gpr/windows/time.cc \ src/core/lib/gpr/windows/tmpfile.cc \ - src/core/lib/gpr/wrap_memcpy.cc \ src/core/lib/gprpp/crash.cc \ src/core/lib/gprpp/examine_stack.cc \ src/core/lib/gprpp/fork.cc \ @@ -603,6 +573,7 @@ if test "$PHP_GRPC" != "no"; then src/core/lib/gprpp/load_file.cc \ src/core/lib/gprpp/mpscq.cc \ src/core/lib/gprpp/per_cpu.cc \ + src/core/lib/gprpp/posix/directory_reader.cc \ src/core/lib/gprpp/posix/env.cc \ src/core/lib/gprpp/posix/stat.cc \ src/core/lib/gprpp/posix/thd.cc \ @@ -614,6 +585,7 @@ if test "$PHP_GRPC" != "no"; then src/core/lib/gprpp/time_averaged_stats.cc \ src/core/lib/gprpp/time_util.cc \ src/core/lib/gprpp/validation_errors.cc \ + src/core/lib/gprpp/windows/directory_reader.cc \ src/core/lib/gprpp/windows/env.cc \ src/core/lib/gprpp/windows/stat.cc \ src/core/lib/gprpp/windows/thd.cc \ @@ -659,7 +631,6 @@ if test "$PHP_GRPC" != "no"; then src/core/lib/iomgr/iomgr_posix.cc \ src/core/lib/iomgr/iomgr_posix_cfstream.cc \ src/core/lib/iomgr/iomgr_windows.cc \ - src/core/lib/iomgr/load_file.cc \ src/core/lib/iomgr/lockfree_event.cc \ src/core/lib/iomgr/polling_entity.cc \ src/core/lib/iomgr/pollset.cc \ @@ -705,16 +676,11 @@ if test "$PHP_GRPC" != "no"; then src/core/lib/json/json_reader.cc \ src/core/lib/json/json_util.cc \ src/core/lib/json/json_writer.cc \ - src/core/lib/load_balancing/lb_policy.cc \ - src/core/lib/load_balancing/lb_policy_registry.cc \ src/core/lib/matchers/matchers.cc \ src/core/lib/promise/activity.cc \ src/core/lib/promise/party.cc \ src/core/lib/promise/sleep.cc \ src/core/lib/promise/trace.cc \ - src/core/lib/resolver/resolver.cc \ - src/core/lib/resolver/resolver_registry.cc \ - src/core/lib/resolver/server_address.cc \ src/core/lib/resource_quota/api.cc \ src/core/lib/resource_quota/arena.cc \ src/core/lib/resource_quota/memory_quota.cc \ @@ -766,6 +732,7 @@ if test "$PHP_GRPC" != "no"; then src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc \ src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc \ src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc \ + src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc \ src/core/lib/security/credentials/tls/tls_credentials.cc \ src/core/lib/security/credentials/tls/tls_utils.cc \ src/core/lib/security/credentials/xds/xds_credentials.cc \ @@ -774,19 +741,19 @@ if test "$PHP_GRPC" != "no"; then src/core/lib/security/security_connector/insecure/insecure_security_connector.cc \ src/core/lib/security/security_connector/load_system_roots_fallback.cc \ src/core/lib/security/security_connector/load_system_roots_supported.cc \ + src/core/lib/security/security_connector/load_system_roots_windows.cc \ src/core/lib/security/security_connector/local/local_security_connector.cc \ src/core/lib/security/security_connector/security_connector.cc \ src/core/lib/security/security_connector/ssl/ssl_security_connector.cc \ src/core/lib/security/security_connector/ssl_utils.cc \ src/core/lib/security/security_connector/tls/tls_security_connector.cc \ src/core/lib/security/transport/client_auth_filter.cc \ + src/core/lib/security/transport/legacy_server_auth_filter.cc \ src/core/lib/security/transport/secure_endpoint.cc \ src/core/lib/security/transport/security_handshaker.cc \ src/core/lib/security/transport/server_auth_filter.cc \ src/core/lib/security/transport/tsi_error.cc \ src/core/lib/security/util/json_util.cc \ - src/core/lib/service_config/service_config_impl.cc \ - src/core/lib/service_config/service_config_parser.cc \ src/core/lib/slice/b64.cc \ src/core/lib/slice/percent_encoding.cc \ src/core/lib/slice/slice.cc \ @@ -800,7 +767,6 @@ if test "$PHP_GRPC" != "no"; then src/core/lib/surface/call.cc \ src/core/lib/surface/call_details.cc \ src/core/lib/surface/call_log_batch.cc \ - src/core/lib/surface/call_trace.cc \ src/core/lib/surface/channel.cc \ src/core/lib/surface/channel_init.cc \ src/core/lib/surface/channel_ping.cc \ @@ -815,24 +781,82 @@ if test "$PHP_GRPC" != "no"; then src/core/lib/surface/server.cc \ src/core/lib/surface/validate_metadata.cc \ src/core/lib/surface/version.cc \ + src/core/lib/surface/wait_for_cq_end_op.cc \ src/core/lib/transport/batch_builder.cc \ src/core/lib/transport/bdp_estimator.cc \ + src/core/lib/transport/call_factory.cc \ + src/core/lib/transport/call_filters.cc \ + src/core/lib/transport/call_final_info.cc \ + src/core/lib/transport/call_size_estimator.cc \ + src/core/lib/transport/call_spine.cc \ src/core/lib/transport/connectivity_state.cc \ src/core/lib/transport/error_utils.cc \ src/core/lib/transport/handshaker.cc \ src/core/lib/transport/handshaker_registry.cc \ src/core/lib/transport/http_connect_handshaker.cc \ + src/core/lib/transport/message.cc \ + src/core/lib/transport/metadata.cc \ src/core/lib/transport/metadata_batch.cc \ src/core/lib/transport/parsed_metadata.cc \ - src/core/lib/transport/pid_controller.cc \ src/core/lib/transport/status_conversion.cc \ src/core/lib/transport/tcp_connect_handshaker.cc \ src/core/lib/transport/timeout_encoding.cc \ src/core/lib/transport/transport.cc \ src/core/lib/transport/transport_op_string.cc \ src/core/lib/uri/uri_parser.cc \ + src/core/load_balancing/address_filtering.cc \ + src/core/load_balancing/backend_metric_parser.cc \ + src/core/load_balancing/child_policy_handler.cc \ + src/core/load_balancing/endpoint_list.cc \ + src/core/load_balancing/grpclb/client_load_reporting_filter.cc \ + src/core/load_balancing/grpclb/grpclb.cc \ + src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc \ + src/core/load_balancing/grpclb/grpclb_client_stats.cc \ + src/core/load_balancing/grpclb/load_balancer_api.cc \ + src/core/load_balancing/health_check_client.cc \ + src/core/load_balancing/lb_policy.cc \ + src/core/load_balancing/lb_policy_registry.cc \ + src/core/load_balancing/oob_backend_metric.cc \ + src/core/load_balancing/outlier_detection/outlier_detection.cc \ + src/core/load_balancing/pick_first/pick_first.cc \ + src/core/load_balancing/priority/priority.cc \ + src/core/load_balancing/ring_hash/ring_hash.cc \ + src/core/load_balancing/rls/rls.cc \ + src/core/load_balancing/round_robin/round_robin.cc \ + src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc \ + src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc \ + src/core/load_balancing/weighted_target/weighted_target.cc \ + src/core/load_balancing/xds/cds.cc \ + src/core/load_balancing/xds/xds_cluster_impl.cc \ + src/core/load_balancing/xds/xds_cluster_manager.cc \ + src/core/load_balancing/xds/xds_override_host.cc \ + src/core/load_balancing/xds/xds_wrr_locality.cc \ src/core/plugin_registry/grpc_plugin_registry.cc \ src/core/plugin_registry/grpc_plugin_registry_extra.cc \ + src/core/resolver/binder/binder_resolver.cc \ + src/core/resolver/dns/c_ares/dns_resolver_ares.cc \ + src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc \ + src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc \ + src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc \ + src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc \ + src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc \ + src/core/resolver/dns/dns_resolver_plugin.cc \ + src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc \ + src/core/resolver/dns/event_engine/service_config_helper.cc \ + src/core/resolver/dns/native/dns_resolver.cc \ + src/core/resolver/endpoint_addresses.cc \ + src/core/resolver/fake/fake_resolver.cc \ + src/core/resolver/google_c2p/google_c2p_resolver.cc \ + src/core/resolver/polling_resolver.cc \ + src/core/resolver/resolver.cc \ + src/core/resolver/resolver_registry.cc \ + src/core/resolver/sockaddr/sockaddr_resolver.cc \ + src/core/resolver/xds/xds_dependency_manager.cc \ + src/core/resolver/xds/xds_resolver.cc \ + src/core/resolver/xds/xds_resolver_trace.cc \ + src/core/service_config/service_config_channel_arg_filter.cc \ + src/core/service_config/service_config_impl.cc \ + src/core/service_config/service_config_parser.cc \ src/core/tsi/alts/crypt/aes_gcm.cc \ src/core/tsi/alts/crypt/gsec.cc \ src/core/tsi/alts/frame_protector/alts_counter.cc \ @@ -891,7 +915,7 @@ if test "$PHP_GRPC" != "no"; then third_party/abseil-cpp/absl/crc/internal/crc.cc \ third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc \ third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc \ - third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc \ + third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc \ third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc \ third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc \ third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc \ @@ -901,7 +925,6 @@ if test "$PHP_GRPC" != "no"; then third_party/abseil-cpp/absl/debugging/stacktrace.cc \ third_party/abseil-cpp/absl/debugging/symbolize.cc \ third_party/abseil-cpp/absl/flags/commandlineflag.cc \ - third_party/abseil-cpp/absl/flags/flag.cc \ third_party/abseil-cpp/absl/flags/internal/commandlineflag.cc \ third_party/abseil-cpp/absl/flags/internal/flag.cc \ third_party/abseil-cpp/absl/flags/internal/private_handle_accessor.cc \ @@ -925,6 +948,7 @@ if test "$PHP_GRPC" != "no"; then third_party/abseil-cpp/absl/random/internal/seed_material.cc \ third_party/abseil-cpp/absl/random/seed_gen_exception.cc \ third_party/abseil-cpp/absl/random/seed_sequences.cc \ + third_party/abseil-cpp/absl/status/internal/status_internal.cc \ third_party/abseil-cpp/absl/status/status.cc \ third_party/abseil-cpp/absl/status/status_payload_printer.cc \ third_party/abseil-cpp/absl/status/statusor.cc \ @@ -942,7 +966,6 @@ if test "$PHP_GRPC" != "no"; then third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc \ third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc \ third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc \ - third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc \ third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc \ third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc \ third_party/abseil-cpp/absl/strings/internal/cordz_info.cc \ @@ -1109,7 +1132,7 @@ if test "$PHP_GRPC" != "no"; then third_party/boringssl-with-bazel/src/crypto/fipsmodule/fips_shared_support.c \ third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c \ third_party/boringssl-with-bazel/src/crypto/hrss/hrss.c \ - third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c \ + third_party/boringssl-with-bazel/src/crypto/keccak/keccak.c \ third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c \ third_party/boringssl-with-bazel/src/crypto/lhash/lhash.c \ third_party/boringssl-with-bazel/src/crypto/mem.c \ @@ -1146,6 +1169,13 @@ if test "$PHP_GRPC" != "no"; then third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c \ third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_print.c \ third_party/boringssl-with-bazel/src/crypto/siphash/siphash.c \ + third_party/boringssl-with-bazel/src/crypto/spx/address.c \ + third_party/boringssl-with-bazel/src/crypto/spx/fors.c \ + third_party/boringssl-with-bazel/src/crypto/spx/merkle.c \ + third_party/boringssl-with-bazel/src/crypto/spx/spx.c \ + third_party/boringssl-with-bazel/src/crypto/spx/spx_util.c \ + third_party/boringssl-with-bazel/src/crypto/spx/thash.c \ + third_party/boringssl-with-bazel/src/crypto/spx/wots.c \ third_party/boringssl-with-bazel/src/crypto/stack/stack.c \ third_party/boringssl-with-bazel/src/crypto/thread.c \ third_party/boringssl-with-bazel/src/crypto/thread_none.c \ @@ -1169,6 +1199,29 @@ if test "$PHP_GRPC" != "no"; then third_party/boringssl-with-bazel/src/crypto/x509/t_req.c \ third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c \ third_party/boringssl-with-bazel/src/crypto/x509/t_x509a.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_akey.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_akeya.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_alt.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_bcons.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_bitst.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_conf.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_enum.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_extku.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_genn.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_ia5.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_int.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_ncons.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_ocsp.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_pcons.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_pmaps.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_prn.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_skey.c \ + third_party/boringssl-with-bazel/src/crypto/x509/v3_utl.c \ third_party/boringssl-with-bazel/src/crypto/x509/x509.c \ third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c \ third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c \ @@ -1193,9 +1246,7 @@ if test "$PHP_GRPC" != "no"; then third_party/boringssl-with-bazel/src/crypto/x509/x_attrib.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_exten.c \ - third_party/boringssl-with-bazel/src/crypto/x509/x_info.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_name.c \ - third_party/boringssl-with-bazel/src/crypto/x509/x_pkey.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_req.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_sig.c \ @@ -1203,29 +1254,6 @@ if test "$PHP_GRPC" != "no"; then third_party/boringssl-with-bazel/src/crypto/x509/x_val.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c \ third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akey.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akeya.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bcons.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bitst.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_crld.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_extku.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ia5.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_int.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ncons.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ocsp.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcons.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pmaps.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c \ - third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c \ third_party/boringssl-with-bazel/src/ssl/bio_ssl.cc \ third_party/boringssl-with-bazel/src/ssl/d1_both.cc \ third_party/boringssl-with-bazel/src/ssl/d1_lib.cc \ @@ -1286,9 +1314,6 @@ if test "$PHP_GRPC" != "no"; then third_party/re2/util/rune.cc \ third_party/re2/util/strutil.cc \ third_party/upb/upb/base/status.c \ - third_party/upb/upb/collections/array.c \ - third_party/upb/upb/collections/map.c \ - third_party/upb/upb/collections/map_sorter.c \ third_party/upb/upb/hash/common.c \ third_party/upb/upb/json/decode.c \ third_party/upb/upb/json/encode.c \ @@ -1299,6 +1324,9 @@ if test "$PHP_GRPC" != "no"; then third_party/upb/upb/mem/alloc.c \ third_party/upb/upb/mem/arena.c \ third_party/upb/upb/message/accessors.c \ + third_party/upb/upb/message/array.c \ + third_party/upb/upb/message/map.c \ + third_party/upb/upb/message/map_sorter.c \ third_party/upb/upb/message/message.c \ third_party/upb/upb/mini_descriptor/build_enum.c \ third_party/upb/upb/mini_descriptor/decode.c \ @@ -1308,7 +1336,6 @@ if test "$PHP_GRPC" != "no"; then third_party/upb/upb/mini_table/extension_registry.c \ third_party/upb/upb/mini_table/internal/message.c \ third_party/upb/upb/mini_table/message.c \ - third_party/upb/upb/reflection/def_builder.c \ third_party/upb/upb/reflection/def_pool.c \ third_party/upb/upb/reflection/def_type.c \ third_party/upb/upb/reflection/desc_state.c \ @@ -1318,6 +1345,8 @@ if test "$PHP_GRPC" != "no"; then third_party/upb/upb/reflection/extension_range.c \ third_party/upb/upb/reflection/field_def.c \ third_party/upb/upb/reflection/file_def.c \ + third_party/upb/upb/reflection/internal/def_builder.c \ + third_party/upb/upb/reflection/internal/strdup2.c \ third_party/upb/upb/reflection/message.c \ third_party/upb/upb/reflection/message_def.c \ third_party/upb/upb/reflection/message_reserved_range.c \ @@ -1338,33 +1367,12 @@ if test "$PHP_GRPC" != "no"; then -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DGRPC_ARES=0 \ -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 \ -DGRPC_XDS_USER_AGENT_NAME_SUFFIX='"\"PHP\""' \ - -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX='"\"1.59.0dev\""') + -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX='"\"1.63.0dev\""') + PHP_ADD_BUILD_DIR($ext_builddir/src/core/client_channel) PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/backend_metrics) PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/census) PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/channel_idle) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/lb_policy) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/lb_policy/grpclb) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/lb_policy/outlier_detection) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/lb_policy/pick_first) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/lb_policy/priority) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/lb_policy/ring_hash) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/lb_policy/rls) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/lb_policy/round_robin) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/lb_policy/weighted_target) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/lb_policy/xds) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/resolver) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/resolver/binder) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/resolver/dns) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/resolver/dns/c_ares) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/resolver/dns/event_engine) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/resolver/dns/native) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/resolver/fake) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/resolver/google_c2p) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/resolver/sockaddr) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel/resolver/xds) PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/deadline) PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/fault_injection) PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/http) @@ -1381,106 +1389,108 @@ if test "$PHP_GRPC" != "no"; then PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/server) PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/transport) PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/inproc) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/admin/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/annotations) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/config/accesslog/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/config/bootstrap/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/config/cluster/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/config/common/matcher/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/config/core/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/config/endpoint/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/config/listener/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/config/metrics/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/config/overload/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/config/rbac/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/config/route/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/config/tap/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/config/trace/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/data/accesslog/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/service/discovery/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/service/load_stats/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/service/status/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/type/http/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/type/matcher/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/type/metadata/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/type/tracing/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/envoy/type/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/google/api) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/google/api/expr/v1alpha1) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/google/protobuf) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/google/rpc) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/opencensus/proto/trace/v1) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/src/proto/grpc/gcp) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/src/proto/grpc/health/v1) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/src/proto/grpc/lb/v1) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/src/proto/grpc/lookup/v1) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/udpa/annotations) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/validate) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/xds/annotations/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/xds/core/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/xds/data/orca/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/xds/service/orca/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/xds/type/matcher/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-generated/xds/type/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/admin/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/annotations) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/config/cluster/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/config/core/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/config/listener/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/config/metrics/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/config/overload/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/config/rbac/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/config/route/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/config/tap/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/config/trace/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/service/discovery/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/service/status/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/type/http/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/type/matcher/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/type/metadata/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/type/tracing/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/envoy/type/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/google/api) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/google/protobuf) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/google/rpc) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/udpa/annotations) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/validate) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/xds/annotations/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/xds/core/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/xds/type/matcher/v3) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-generated/xds/type/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/admin/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/annotations) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/config/accesslog/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/config/bootstrap/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/config/cluster/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/config/common/matcher/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/config/core/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/config/endpoint/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/config/listener/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/config/metrics/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/config/overload/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/config/rbac/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/config/route/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/config/tap/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/config/trace/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/data/accesslog/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/service/discovery/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/service/load_stats/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/service/status/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/type/http/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/type/matcher/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/type/metadata/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/type/tracing/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/envoy/type/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/google/api) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/google/api/expr/v1alpha1) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/google/protobuf) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/google/rpc) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/opencensus/proto/trace/v1) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/src/proto/grpc/gcp) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/src/proto/grpc/health/v1) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/src/proto/grpc/lb/v1) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/src/proto/grpc/lookup/v1) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/udpa/annotations) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/validate) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/xds/annotations/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/xds/core/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/xds/data/orca/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/xds/service/orca/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/xds/type/matcher/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upb-gen/xds/type/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/admin/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/annotations) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/config/cluster/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/config/core/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/config/listener/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/config/metrics/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/config/overload/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/config/rbac/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/config/route/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/config/tap/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/config/trace/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/service/discovery/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/service/status/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/type/http/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/type/matcher/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/type/metadata/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/type/tracing/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/envoy/type/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/google/api) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/google/protobuf) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/google/rpc) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/udpa/annotations) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/validate) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/xds/annotations/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/xds/core/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/xds/type/matcher/v3) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/upbdefs-gen/xds/type/v3) PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/xds) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/address_utils) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/backoff) @@ -1512,10 +1522,8 @@ if test "$PHP_GRPC" != "no"; then PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/iomgr) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/iomgr/event_engine_shims) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/json) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/load_balancing) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/matchers) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/promise) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/resolver) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/resource_quota) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/authorization) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/certificate_provider) @@ -1544,12 +1552,33 @@ if test "$PHP_GRPC" != "no"; then PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/security_connector/tls) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/transport) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/util) - PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/service_config) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/slice) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/surface) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/transport) PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/uri) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing/grpclb) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing/outlier_detection) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing/pick_first) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing/priority) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing/ring_hash) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing/rls) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing/round_robin) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing/weighted_round_robin) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing/weighted_target) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/load_balancing/xds) PHP_ADD_BUILD_DIR($ext_builddir/src/core/plugin_registry) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/resolver) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/resolver/binder) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/resolver/dns) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/resolver/dns/c_ares) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/resolver/dns/event_engine) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/resolver/dns/native) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/resolver/fake) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/resolver/google_c2p) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/resolver/sockaddr) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/resolver/xds) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/service_config) PHP_ADD_BUILD_DIR($ext_builddir/src/core/tsi) PHP_ADD_BUILD_DIR($ext_builddir/src/core/tsi/alts/crypt) PHP_ADD_BUILD_DIR($ext_builddir/src/core/tsi/alts/frame_protector) @@ -1573,6 +1602,7 @@ if test "$PHP_GRPC" != "no"; then PHP_ADD_BUILD_DIR($ext_builddir/third_party/abseil-cpp/absl/random) PHP_ADD_BUILD_DIR($ext_builddir/third_party/abseil-cpp/absl/random/internal) PHP_ADD_BUILD_DIR($ext_builddir/third_party/abseil-cpp/absl/status) + PHP_ADD_BUILD_DIR($ext_builddir/third_party/abseil-cpp/absl/status/internal) PHP_ADD_BUILD_DIR($ext_builddir/third_party/abseil-cpp/absl/strings) PHP_ADD_BUILD_DIR($ext_builddir/third_party/abseil-cpp/absl/strings/internal) PHP_ADD_BUILD_DIR($ext_builddir/third_party/abseil-cpp/absl/strings/internal/str_format) @@ -1608,6 +1638,7 @@ if test "$PHP_GRPC" != "no"; then PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/fipsmodule) PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/hpke) PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/hrss) + PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/keccak) PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/kyber) PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/lhash) PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/obj) @@ -1620,15 +1651,14 @@ if test "$PHP_GRPC" != "no"; then PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/rc4) PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/rsa_extra) PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/siphash) + PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/spx) PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/stack) PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/trust_token) PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/x509) - PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/crypto/x509v3) PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl-with-bazel/src/ssl) PHP_ADD_BUILD_DIR($ext_builddir/third_party/re2/re2) PHP_ADD_BUILD_DIR($ext_builddir/third_party/re2/util) PHP_ADD_BUILD_DIR($ext_builddir/third_party/upb/upb/base) - PHP_ADD_BUILD_DIR($ext_builddir/third_party/upb/upb/collections) PHP_ADD_BUILD_DIR($ext_builddir/third_party/upb/upb/hash) PHP_ADD_BUILD_DIR($ext_builddir/third_party/upb/upb/json) PHP_ADD_BUILD_DIR($ext_builddir/third_party/upb/upb/lex) @@ -1639,6 +1669,7 @@ if test "$PHP_GRPC" != "no"; then PHP_ADD_BUILD_DIR($ext_builddir/third_party/upb/upb/mini_table) PHP_ADD_BUILD_DIR($ext_builddir/third_party/upb/upb/mini_table/internal) PHP_ADD_BUILD_DIR($ext_builddir/third_party/upb/upb/reflection) + PHP_ADD_BUILD_DIR($ext_builddir/third_party/upb/upb/reflection/internal) PHP_ADD_BUILD_DIR($ext_builddir/third_party/upb/upb/text) PHP_ADD_BUILD_DIR($ext_builddir/third_party/upb/upb/wire) PHP_ADD_BUILD_DIR($ext_builddir/third_party/utf8_range) diff --git a/config.w32 b/config.w32 index 25e49a76910..2275f0669b5 100644 --- a/config.w32 +++ b/config.w32 @@ -6,72 +6,30 @@ ARG_WITH("grpc", "grpc support", "no"); if (PHP_GRPC != "no") { EXTENSION("grpc", + "src\\core\\client_channel\\backup_poller.cc " + + "src\\core\\client_channel\\channel_connectivity.cc " + + "src\\core\\client_channel\\client_channel_channelz.cc " + + "src\\core\\client_channel\\client_channel_factory.cc " + + "src\\core\\client_channel\\client_channel_filter.cc " + + "src\\core\\client_channel\\client_channel_plugin.cc " + + "src\\core\\client_channel\\client_channel_service_config.cc " + + "src\\core\\client_channel\\config_selector.cc " + + "src\\core\\client_channel\\dynamic_filters.cc " + + "src\\core\\client_channel\\global_subchannel_pool.cc " + + "src\\core\\client_channel\\http_proxy_mapper.cc " + + "src\\core\\client_channel\\local_subchannel_pool.cc " + + "src\\core\\client_channel\\retry_filter.cc " + + "src\\core\\client_channel\\retry_filter_legacy_call_data.cc " + + "src\\core\\client_channel\\retry_service_config.cc " + + "src\\core\\client_channel\\retry_throttle.cc " + + "src\\core\\client_channel\\subchannel.cc " + + "src\\core\\client_channel\\subchannel_pool_interface.cc " + + "src\\core\\client_channel\\subchannel_stream_client.cc " + "src\\core\\ext\\filters\\backend_metrics\\backend_metric_filter.cc " + "src\\core\\ext\\filters\\census\\grpc_context.cc " + "src\\core\\ext\\filters\\channel_idle\\channel_idle_filter.cc " + "src\\core\\ext\\filters\\channel_idle\\idle_filter_state.cc " + - "src\\core\\ext\\filters\\client_channel\\backend_metric.cc " + - "src\\core\\ext\\filters\\client_channel\\backup_poller.cc " + - "src\\core\\ext\\filters\\client_channel\\channel_connectivity.cc " + - "src\\core\\ext\\filters\\client_channel\\client_channel.cc " + - "src\\core\\ext\\filters\\client_channel\\client_channel_channelz.cc " + - "src\\core\\ext\\filters\\client_channel\\client_channel_factory.cc " + - "src\\core\\ext\\filters\\client_channel\\client_channel_plugin.cc " + - "src\\core\\ext\\filters\\client_channel\\client_channel_service_config.cc " + - "src\\core\\ext\\filters\\client_channel\\config_selector.cc " + - "src\\core\\ext\\filters\\client_channel\\dynamic_filters.cc " + - "src\\core\\ext\\filters\\client_channel\\global_subchannel_pool.cc " + - "src\\core\\ext\\filters\\client_channel\\http_proxy_mapper.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\address_filtering.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\child_policy_handler.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\endpoint_list.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\client_load_reporting_filter.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\grpclb.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\grpclb_balancer_addresses.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\grpclb_client_stats.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\load_balancer_api.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\health_check_client.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\oob_backend_metric.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\outlier_detection\\outlier_detection.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\pick_first\\pick_first.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\priority\\priority.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\ring_hash\\ring_hash.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\rls\\rls.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\round_robin\\round_robin.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\weighted_round_robin\\static_stride_scheduler.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\weighted_round_robin\\weighted_round_robin.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\weighted_target\\weighted_target.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\xds\\cds.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\xds\\xds_cluster_impl.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\xds\\xds_cluster_manager.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\xds\\xds_cluster_resolver.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\xds\\xds_override_host.cc " + - "src\\core\\ext\\filters\\client_channel\\lb_policy\\xds\\xds_wrr_locality.cc " + - "src\\core\\ext\\filters\\client_channel\\local_subchannel_pool.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\binder\\binder_resolver.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\dns\\c_ares\\dns_resolver_ares.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\dns\\c_ares\\grpc_ares_ev_driver_posix.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\dns\\c_ares\\grpc_ares_ev_driver_windows.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\dns\\c_ares\\grpc_ares_wrapper.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\dns\\c_ares\\grpc_ares_wrapper_posix.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\dns\\c_ares\\grpc_ares_wrapper_windows.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\dns\\dns_resolver_plugin.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\dns\\event_engine\\event_engine_client_channel_resolver.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\dns\\event_engine\\service_config_helper.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\dns\\native\\dns_resolver.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\fake\\fake_resolver.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\google_c2p\\google_c2p_resolver.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\polling_resolver.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\sockaddr\\sockaddr_resolver.cc " + - "src\\core\\ext\\filters\\client_channel\\resolver\\xds\\xds_resolver.cc " + - "src\\core\\ext\\filters\\client_channel\\retry_filter.cc " + - "src\\core\\ext\\filters\\client_channel\\retry_filter_legacy_call_data.cc " + - "src\\core\\ext\\filters\\client_channel\\retry_service_config.cc " + - "src\\core\\ext\\filters\\client_channel\\retry_throttle.cc " + - "src\\core\\ext\\filters\\client_channel\\service_config_channel_arg_filter.cc " + - "src\\core\\ext\\filters\\client_channel\\subchannel.cc " + - "src\\core\\ext\\filters\\client_channel\\subchannel_pool_interface.cc " + - "src\\core\\ext\\filters\\client_channel\\subchannel_stream_client.cc " + + "src\\core\\ext\\filters\\channel_idle\\legacy_channel_idle_filter.cc " + "src\\core\\ext\\filters\\deadline\\deadline_filter.cc " + "src\\core\\ext\\filters\\fault_injection\\fault_injection_filter.cc " + "src\\core\\ext\\filters\\fault_injection\\fault_injection_service_config_parser.cc " + @@ -79,6 +37,7 @@ if (PHP_GRPC != "no") { "src\\core\\ext\\filters\\http\\client_authority_filter.cc " + "src\\core\\ext\\filters\\http\\http_filters_plugin.cc " + "src\\core\\ext\\filters\\http\\message_compress\\compression_filter.cc " + + "src\\core\\ext\\filters\\http\\message_compress\\legacy_compression_filter.cc " + "src\\core\\ext\\filters\\http\\server\\http_server_filter.cc " + "src\\core\\ext\\filters\\message_size\\message_size_filter.cc " + "src\\core\\ext\\filters\\rbac\\rbac_filter.cc " + @@ -95,6 +54,7 @@ if (PHP_GRPC != "no") { "src\\core\\ext\\transport\\chttp2\\transport\\chttp2_transport.cc " + "src\\core\\ext\\transport\\chttp2\\transport\\decode_huff.cc " + "src\\core\\ext\\transport\\chttp2\\transport\\flow_control.cc " + + "src\\core\\ext\\transport\\chttp2\\transport\\frame.cc " + "src\\core\\ext\\transport\\chttp2\\transport\\frame_data.cc " + "src\\core\\ext\\transport\\chttp2\\transport\\frame_goaway.cc " + "src\\core\\ext\\transport\\chttp2\\transport\\frame_ping.cc " + @@ -109,327 +69,335 @@ if (PHP_GRPC != "no") { "src\\core\\ext\\transport\\chttp2\\transport\\http2_settings.cc " + "src\\core\\ext\\transport\\chttp2\\transport\\http_trace.cc " + "src\\core\\ext\\transport\\chttp2\\transport\\huffsyms.cc " + + "src\\core\\ext\\transport\\chttp2\\transport\\max_concurrent_streams_policy.cc " + "src\\core\\ext\\transport\\chttp2\\transport\\parsing.cc " + "src\\core\\ext\\transport\\chttp2\\transport\\ping_abuse_policy.cc " + + "src\\core\\ext\\transport\\chttp2\\transport\\ping_callbacks.cc " + "src\\core\\ext\\transport\\chttp2\\transport\\ping_rate_policy.cc " + "src\\core\\ext\\transport\\chttp2\\transport\\stream_lists.cc " + "src\\core\\ext\\transport\\chttp2\\transport\\varint.cc " + + "src\\core\\ext\\transport\\chttp2\\transport\\write_size_policy.cc " + "src\\core\\ext\\transport\\chttp2\\transport\\writing.cc " + "src\\core\\ext\\transport\\inproc\\inproc_plugin.cc " + "src\\core\\ext\\transport\\inproc\\inproc_transport.cc " + - "src\\core\\ext\\upb-generated\\envoy\\admin\\v3\\certs.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\admin\\v3\\clusters.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\admin\\v3\\config_dump.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\admin\\v3\\config_dump_shared.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\admin\\v3\\init_dump.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\admin\\v3\\listeners.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\admin\\v3\\memory.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\admin\\v3\\metrics.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\admin\\v3\\mutex_stats.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\admin\\v3\\server_info.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\admin\\v3\\tap.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\annotations\\deprecation.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\annotations\\resource.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\accesslog\\v3\\accesslog.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\bootstrap\\v3\\bootstrap.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\cluster\\v3\\circuit_breaker.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\cluster\\v3\\cluster.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\cluster\\v3\\filter.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\cluster\\v3\\outlier_detection.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\common\\matcher\\v3\\matcher.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\address.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\backoff.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\base.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\config_source.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\event_service_config.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\extension.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\grpc_method_list.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\grpc_service.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\health_check.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\http_uri.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\protocol.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\proxy_protocol.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\resolver.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\socket_option.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\substitution_format_string.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3\\udp_socket_config.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\endpoint\\v3\\endpoint.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\endpoint\\v3\\endpoint_components.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\endpoint\\v3\\load_report.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\listener\\v3\\api_listener.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\listener\\v3\\listener.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\listener\\v3\\listener_components.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\listener\\v3\\quic_config.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\listener\\v3\\udp_listener_config.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\metrics\\v3\\metrics_service.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\metrics\\v3\\stats.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\overload\\v3\\overload.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\rbac\\v3\\rbac.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\route\\v3\\route.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\route\\v3\\route_components.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\route\\v3\\scoped_route.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\tap\\v3\\common.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\trace\\v3\\datadog.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\trace\\v3\\dynamic_ot.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\trace\\v3\\http_tracer.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\trace\\v3\\lightstep.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\trace\\v3\\opencensus.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\trace\\v3\\opentelemetry.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\trace\\v3\\service.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\trace\\v3\\skywalking.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\trace\\v3\\trace.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\trace\\v3\\xray.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\config\\trace\\v3\\zipkin.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\data\\accesslog\\v3\\accesslog.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\clusters\\aggregate\\v3\\cluster.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\common\\fault\\v3\\fault.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\http\\fault\\v3\\fault.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\http\\rbac\\v3\\rbac.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\http\\router\\v3\\router.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\http\\stateful_session\\v3\\stateful_session.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\network\\http_connection_manager\\v3\\http_connection_manager.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\http\\stateful_session\\cookie\\v3\\cookie.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\client_side_weighted_round_robin\\v3\\client_side_weighted_round_robin.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\common\\v3\\common.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\pick_first\\v3\\pick_first.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\ring_hash\\v3\\ring_hash.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\wrr_locality\\v3\\wrr_locality.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\transport_sockets\\tls\\v3\\cert.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\transport_sockets\\tls\\v3\\common.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\transport_sockets\\tls\\v3\\secret.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\transport_sockets\\tls\\v3\\tls.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\extensions\\transport_sockets\\tls\\v3\\tls_spiffe_validator_config.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\service\\discovery\\v3\\ads.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\service\\discovery\\v3\\discovery.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\service\\load_stats\\v3\\lrs.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\service\\status\\v3\\csds.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\http\\v3\\cookie.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\http\\v3\\path_transformation.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\matcher\\v3\\filter_state.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\matcher\\v3\\http_inputs.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\matcher\\v3\\metadata.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\matcher\\v3\\node.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\matcher\\v3\\number.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\matcher\\v3\\path.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\matcher\\v3\\regex.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\matcher\\v3\\status_code_input.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\matcher\\v3\\string.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\matcher\\v3\\struct.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\matcher\\v3\\value.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\metadata\\v3\\metadata.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\tracing\\v3\\custom_tag.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\v3\\hash_policy.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\v3\\http.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\v3\\http_status.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\v3\\percent.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\v3\\range.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\v3\\ratelimit_strategy.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\v3\\ratelimit_unit.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\v3\\semantic_version.upb.c " + - "src\\core\\ext\\upb-generated\\envoy\\type\\v3\\token_bucket.upb.c " + - "src\\core\\ext\\upb-generated\\google\\api\\annotations.upb.c " + - "src\\core\\ext\\upb-generated\\google\\api\\expr\\v1alpha1\\checked.upb.c " + - "src\\core\\ext\\upb-generated\\google\\api\\expr\\v1alpha1\\syntax.upb.c " + - "src\\core\\ext\\upb-generated\\google\\api\\http.upb.c " + - "src\\core\\ext\\upb-generated\\google\\api\\httpbody.upb.c " + - "src\\core\\ext\\upb-generated\\google\\protobuf\\any.upb.c " + - "src\\core\\ext\\upb-generated\\google\\protobuf\\descriptor.upb.c " + - "src\\core\\ext\\upb-generated\\google\\protobuf\\duration.upb.c " + - "src\\core\\ext\\upb-generated\\google\\protobuf\\empty.upb.c " + - "src\\core\\ext\\upb-generated\\google\\protobuf\\struct.upb.c " + - "src\\core\\ext\\upb-generated\\google\\protobuf\\timestamp.upb.c " + - "src\\core\\ext\\upb-generated\\google\\protobuf\\wrappers.upb.c " + - "src\\core\\ext\\upb-generated\\google\\rpc\\status.upb.c " + - "src\\core\\ext\\upb-generated\\opencensus\\proto\\trace\\v1\\trace_config.upb.c " + - "src\\core\\ext\\upb-generated\\src\\proto\\grpc\\gcp\\altscontext.upb.c " + - "src\\core\\ext\\upb-generated\\src\\proto\\grpc\\gcp\\handshaker.upb.c " + - "src\\core\\ext\\upb-generated\\src\\proto\\grpc\\gcp\\transport_security_common.upb.c " + - "src\\core\\ext\\upb-generated\\src\\proto\\grpc\\health\\v1\\health.upb.c " + - "src\\core\\ext\\upb-generated\\src\\proto\\grpc\\lb\\v1\\load_balancer.upb.c " + - "src\\core\\ext\\upb-generated\\src\\proto\\grpc\\lookup\\v1\\rls.upb.c " + - "src\\core\\ext\\upb-generated\\src\\proto\\grpc\\lookup\\v1\\rls_config.upb.c " + - "src\\core\\ext\\upb-generated\\udpa\\annotations\\migrate.upb.c " + - "src\\core\\ext\\upb-generated\\udpa\\annotations\\security.upb.c " + - "src\\core\\ext\\upb-generated\\udpa\\annotations\\sensitive.upb.c " + - "src\\core\\ext\\upb-generated\\udpa\\annotations\\status.upb.c " + - "src\\core\\ext\\upb-generated\\udpa\\annotations\\versioning.upb.c " + - "src\\core\\ext\\upb-generated\\validate\\validate.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\annotations\\v3\\migrate.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\annotations\\v3\\security.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\annotations\\v3\\sensitive.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\annotations\\v3\\status.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\annotations\\v3\\versioning.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\core\\v3\\authority.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\core\\v3\\cidr.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\core\\v3\\collection_entry.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\core\\v3\\context_params.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\core\\v3\\extension.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\core\\v3\\resource.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\core\\v3\\resource_locator.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\core\\v3\\resource_name.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\data\\orca\\v3\\orca_load_report.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\service\\orca\\v3\\orca.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\type\\matcher\\v3\\cel.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\type\\matcher\\v3\\domain.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\type\\matcher\\v3\\http_inputs.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\type\\matcher\\v3\\ip.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\type\\matcher\\v3\\matcher.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\type\\matcher\\v3\\range.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\type\\matcher\\v3\\regex.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\type\\matcher\\v3\\string.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\type\\v3\\cel.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\type\\v3\\range.upb.c " + - "src\\core\\ext\\upb-generated\\xds\\type\\v3\\typed_struct.upb.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\admin\\v3\\certs.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\admin\\v3\\clusters.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\admin\\v3\\config_dump.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\admin\\v3\\config_dump_shared.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\admin\\v3\\init_dump.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\admin\\v3\\listeners.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\admin\\v3\\memory.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\admin\\v3\\metrics.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\admin\\v3\\mutex_stats.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\admin\\v3\\server_info.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\admin\\v3\\tap.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\annotations\\deprecation.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\annotations\\resource.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\accesslog\\v3\\accesslog.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\bootstrap\\v3\\bootstrap.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\cluster\\v3\\circuit_breaker.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\cluster\\v3\\cluster.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\cluster\\v3\\filter.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\cluster\\v3\\outlier_detection.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\common\\matcher\\v3\\matcher.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\address.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\backoff.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\base.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\config_source.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\event_service_config.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\extension.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\grpc_method_list.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\grpc_service.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\health_check.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\http_uri.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\protocol.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\proxy_protocol.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\resolver.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\socket_option.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\substitution_format_string.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3\\udp_socket_config.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\endpoint\\v3\\endpoint.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\endpoint\\v3\\endpoint_components.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\endpoint\\v3\\load_report.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\listener\\v3\\api_listener.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\listener\\v3\\listener.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\listener\\v3\\listener_components.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\listener\\v3\\quic_config.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\listener\\v3\\udp_listener_config.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\metrics\\v3\\metrics_service.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\metrics\\v3\\stats.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\overload\\v3\\overload.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\rbac\\v3\\rbac.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\route\\v3\\route.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\route\\v3\\route_components.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\route\\v3\\scoped_route.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\tap\\v3\\common.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\trace\\v3\\datadog.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\trace\\v3\\dynamic_ot.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\trace\\v3\\http_tracer.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\trace\\v3\\lightstep.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\trace\\v3\\opencensus.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\trace\\v3\\opentelemetry.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\trace\\v3\\service.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\trace\\v3\\skywalking.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\trace\\v3\\trace.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\trace\\v3\\xray.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\config\\trace\\v3\\zipkin.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\data\\accesslog\\v3\\accesslog.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\clusters\\aggregate\\v3\\cluster.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\common\\fault\\v3\\fault.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\http\\fault\\v3\\fault.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\http\\rbac\\v3\\rbac.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\http\\router\\v3\\router.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\http\\stateful_session\\v3\\stateful_session.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\network\\http_connection_manager\\v3\\http_connection_manager.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\http\\stateful_session\\cookie\\v3\\cookie.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\transport_sockets\\tls\\v3\\cert.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\transport_sockets\\tls\\v3\\common.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\transport_sockets\\tls\\v3\\secret.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\transport_sockets\\tls\\v3\\tls.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\transport_sockets\\tls\\v3\\tls_spiffe_validator_config.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\service\\discovery\\v3\\ads.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\service\\discovery\\v3\\discovery.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\service\\load_stats\\v3\\lrs.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\service\\status\\v3\\csds.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\http\\v3\\cookie.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\http\\v3\\path_transformation.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\matcher\\v3\\filter_state.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\matcher\\v3\\http_inputs.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\matcher\\v3\\metadata.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\matcher\\v3\\node.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\matcher\\v3\\number.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\matcher\\v3\\path.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\matcher\\v3\\regex.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\matcher\\v3\\status_code_input.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\matcher\\v3\\string.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\matcher\\v3\\struct.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\matcher\\v3\\value.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\metadata\\v3\\metadata.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\tracing\\v3\\custom_tag.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\v3\\hash_policy.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\v3\\http.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\v3\\http_status.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\v3\\percent.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\v3\\range.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\v3\\ratelimit_strategy.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\v3\\ratelimit_unit.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\v3\\semantic_version.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\envoy\\type\\v3\\token_bucket.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\google\\api\\annotations.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\google\\api\\expr\\v1alpha1\\checked.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\google\\api\\expr\\v1alpha1\\syntax.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\google\\api\\http.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\google\\api\\httpbody.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\google\\protobuf\\any.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\google\\protobuf\\descriptor.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\google\\protobuf\\duration.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\google\\protobuf\\empty.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\google\\protobuf\\struct.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\google\\protobuf\\timestamp.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\google\\protobuf\\wrappers.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\google\\rpc\\status.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\opencensus\\proto\\trace\\v1\\trace_config.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\src\\proto\\grpc\\lookup\\v1\\rls_config.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\udpa\\annotations\\migrate.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\udpa\\annotations\\security.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\udpa\\annotations\\sensitive.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\udpa\\annotations\\status.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\udpa\\annotations\\versioning.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\validate\\validate.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\annotations\\v3\\migrate.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\annotations\\v3\\security.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\annotations\\v3\\sensitive.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\annotations\\v3\\status.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\annotations\\v3\\versioning.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\core\\v3\\authority.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\core\\v3\\cidr.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\core\\v3\\collection_entry.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\core\\v3\\context_params.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\core\\v3\\extension.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\core\\v3\\resource.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\core\\v3\\resource_locator.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\core\\v3\\resource_name.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\type\\matcher\\v3\\cel.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\type\\matcher\\v3\\domain.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\type\\matcher\\v3\\http_inputs.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\type\\matcher\\v3\\ip.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\type\\matcher\\v3\\matcher.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\type\\matcher\\v3\\range.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\type\\matcher\\v3\\regex.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\type\\matcher\\v3\\string.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\type\\v3\\cel.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\type\\v3\\range.upbdefs.c " + - "src\\core\\ext\\upbdefs-generated\\xds\\type\\v3\\typed_struct.upbdefs.c " + + "src\\core\\ext\\transport\\inproc\\legacy_inproc_transport.cc " + + "src\\core\\ext\\upb-gen\\envoy\\admin\\v3\\certs.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\admin\\v3\\clusters.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\admin\\v3\\config_dump.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\admin\\v3\\config_dump_shared.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\admin\\v3\\init_dump.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\admin\\v3\\listeners.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\admin\\v3\\memory.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\admin\\v3\\metrics.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\admin\\v3\\mutex_stats.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\admin\\v3\\server_info.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\admin\\v3\\tap.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\annotations\\deprecation.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\annotations\\resource.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\accesslog\\v3\\accesslog.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\bootstrap\\v3\\bootstrap.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\cluster\\v3\\circuit_breaker.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\cluster\\v3\\cluster.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\cluster\\v3\\filter.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\cluster\\v3\\outlier_detection.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\common\\matcher\\v3\\matcher.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\address.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\backoff.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\base.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\config_source.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\event_service_config.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\extension.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\grpc_method_list.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\grpc_service.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\health_check.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\http_service.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\http_uri.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\protocol.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\proxy_protocol.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\resolver.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\socket_option.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\substitution_format_string.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3\\udp_socket_config.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\endpoint\\v3\\endpoint.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\endpoint\\v3\\endpoint_components.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\endpoint\\v3\\load_report.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\listener\\v3\\api_listener.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\listener\\v3\\listener.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\listener\\v3\\listener_components.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\listener\\v3\\quic_config.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\listener\\v3\\udp_listener_config.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\metrics\\v3\\metrics_service.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\metrics\\v3\\stats.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\overload\\v3\\overload.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\rbac\\v3\\rbac.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\route\\v3\\route.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\route\\v3\\route_components.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\route\\v3\\scoped_route.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\tap\\v3\\common.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\trace\\v3\\datadog.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\trace\\v3\\dynamic_ot.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\trace\\v3\\http_tracer.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\trace\\v3\\lightstep.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\trace\\v3\\opencensus.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\trace\\v3\\opentelemetry.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\trace\\v3\\service.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\trace\\v3\\skywalking.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\trace\\v3\\trace.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\trace\\v3\\xray.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\config\\trace\\v3\\zipkin.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\data\\accesslog\\v3\\accesslog.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\clusters\\aggregate\\v3\\cluster.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\common\\fault\\v3\\fault.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\http\\fault\\v3\\fault.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\http\\rbac\\v3\\rbac.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\http\\router\\v3\\router.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\http\\stateful_session\\v3\\stateful_session.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\network\\http_connection_manager\\v3\\http_connection_manager.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\http\\stateful_session\\cookie\\v3\\cookie.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\client_side_weighted_round_robin\\v3\\client_side_weighted_round_robin.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\common\\v3\\common.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\pick_first\\v3\\pick_first.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\ring_hash\\v3\\ring_hash.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\wrr_locality\\v3\\wrr_locality.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\transport_sockets\\tls\\v3\\cert.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\transport_sockets\\tls\\v3\\common.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\transport_sockets\\tls\\v3\\secret.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\transport_sockets\\tls\\v3\\tls.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\transport_sockets\\tls\\v3\\tls_spiffe_validator_config.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\extensions\\upstreams\\http\\v3\\http_protocol_options.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\service\\discovery\\v3\\ads.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\service\\discovery\\v3\\discovery.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\service\\load_stats\\v3\\lrs.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\service\\status\\v3\\csds.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\http\\v3\\cookie.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\http\\v3\\path_transformation.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\matcher\\v3\\filter_state.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\matcher\\v3\\http_inputs.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\matcher\\v3\\metadata.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\matcher\\v3\\node.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\matcher\\v3\\number.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\matcher\\v3\\path.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\matcher\\v3\\regex.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\matcher\\v3\\status_code_input.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\matcher\\v3\\string.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\matcher\\v3\\struct.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\matcher\\v3\\value.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\metadata\\v3\\metadata.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\tracing\\v3\\custom_tag.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\v3\\hash_policy.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\v3\\http.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\v3\\http_status.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\v3\\percent.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\v3\\range.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\v3\\ratelimit_strategy.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\v3\\ratelimit_unit.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\v3\\semantic_version.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\envoy\\type\\v3\\token_bucket.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\google\\api\\annotations.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\google\\api\\expr\\v1alpha1\\checked.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\google\\api\\expr\\v1alpha1\\syntax.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\google\\api\\http.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\google\\api\\httpbody.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\google\\protobuf\\any.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\google\\protobuf\\descriptor.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\google\\protobuf\\duration.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\google\\protobuf\\empty.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\google\\protobuf\\struct.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\google\\protobuf\\timestamp.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\google\\protobuf\\wrappers.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\google\\rpc\\status.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\opencensus\\proto\\trace\\v1\\trace_config.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\src\\proto\\grpc\\gcp\\altscontext.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\src\\proto\\grpc\\gcp\\handshaker.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\src\\proto\\grpc\\gcp\\transport_security_common.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\src\\proto\\grpc\\health\\v1\\health.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\src\\proto\\grpc\\lb\\v1\\load_balancer.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\src\\proto\\grpc\\lookup\\v1\\rls.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\src\\proto\\grpc\\lookup\\v1\\rls_config.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\udpa\\annotations\\migrate.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\udpa\\annotations\\security.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\udpa\\annotations\\sensitive.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\udpa\\annotations\\status.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\udpa\\annotations\\versioning.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\validate\\validate.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\annotations\\v3\\migrate.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\annotations\\v3\\security.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\annotations\\v3\\sensitive.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\annotations\\v3\\status.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\annotations\\v3\\versioning.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\core\\v3\\authority.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\core\\v3\\cidr.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\core\\v3\\collection_entry.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\core\\v3\\context_params.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\core\\v3\\extension.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\core\\v3\\resource.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\core\\v3\\resource_locator.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\core\\v3\\resource_name.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\data\\orca\\v3\\orca_load_report.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\service\\orca\\v3\\orca.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\type\\matcher\\v3\\cel.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\type\\matcher\\v3\\domain.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\type\\matcher\\v3\\http_inputs.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\type\\matcher\\v3\\ip.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\type\\matcher\\v3\\matcher.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\type\\matcher\\v3\\range.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\type\\matcher\\v3\\regex.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\type\\matcher\\v3\\string.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\type\\v3\\cel.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\type\\v3\\range.upb_minitable.c " + + "src\\core\\ext\\upb-gen\\xds\\type\\v3\\typed_struct.upb_minitable.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\admin\\v3\\certs.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\admin\\v3\\clusters.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\admin\\v3\\config_dump.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\admin\\v3\\config_dump_shared.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\admin\\v3\\init_dump.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\admin\\v3\\listeners.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\admin\\v3\\memory.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\admin\\v3\\metrics.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\admin\\v3\\mutex_stats.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\admin\\v3\\server_info.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\admin\\v3\\tap.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\annotations\\deprecation.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\annotations\\resource.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\accesslog\\v3\\accesslog.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\bootstrap\\v3\\bootstrap.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\cluster\\v3\\circuit_breaker.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\cluster\\v3\\cluster.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\cluster\\v3\\filter.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\cluster\\v3\\outlier_detection.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\common\\matcher\\v3\\matcher.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\address.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\backoff.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\base.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\config_source.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\event_service_config.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\extension.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\grpc_method_list.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\grpc_service.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\health_check.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\http_service.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\http_uri.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\protocol.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\proxy_protocol.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\resolver.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\socket_option.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\substitution_format_string.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3\\udp_socket_config.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\endpoint\\v3\\endpoint.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\endpoint\\v3\\endpoint_components.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\endpoint\\v3\\load_report.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\listener\\v3\\api_listener.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\listener\\v3\\listener.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\listener\\v3\\listener_components.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\listener\\v3\\quic_config.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\listener\\v3\\udp_listener_config.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\metrics\\v3\\metrics_service.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\metrics\\v3\\stats.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\overload\\v3\\overload.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\rbac\\v3\\rbac.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\route\\v3\\route.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\route\\v3\\route_components.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\route\\v3\\scoped_route.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\tap\\v3\\common.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\trace\\v3\\datadog.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\trace\\v3\\dynamic_ot.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\trace\\v3\\http_tracer.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\trace\\v3\\lightstep.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\trace\\v3\\opencensus.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\trace\\v3\\opentelemetry.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\trace\\v3\\service.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\trace\\v3\\skywalking.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\trace\\v3\\trace.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\trace\\v3\\xray.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\config\\trace\\v3\\zipkin.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\data\\accesslog\\v3\\accesslog.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\clusters\\aggregate\\v3\\cluster.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\common\\fault\\v3\\fault.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\http\\fault\\v3\\fault.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\http\\rbac\\v3\\rbac.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\http\\router\\v3\\router.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\http\\stateful_session\\v3\\stateful_session.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\network\\http_connection_manager\\v3\\http_connection_manager.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\http\\stateful_session\\cookie\\v3\\cookie.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\transport_sockets\\tls\\v3\\cert.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\transport_sockets\\tls\\v3\\common.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\transport_sockets\\tls\\v3\\secret.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\transport_sockets\\tls\\v3\\tls.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\transport_sockets\\tls\\v3\\tls_spiffe_validator_config.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\upstreams\\http\\v3\\http_protocol_options.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\service\\discovery\\v3\\ads.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\service\\discovery\\v3\\discovery.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\service\\load_stats\\v3\\lrs.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\service\\status\\v3\\csds.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\http\\v3\\cookie.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\http\\v3\\path_transformation.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\matcher\\v3\\filter_state.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\matcher\\v3\\http_inputs.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\matcher\\v3\\metadata.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\matcher\\v3\\node.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\matcher\\v3\\number.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\matcher\\v3\\path.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\matcher\\v3\\regex.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\matcher\\v3\\status_code_input.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\matcher\\v3\\string.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\matcher\\v3\\struct.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\matcher\\v3\\value.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\metadata\\v3\\metadata.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\tracing\\v3\\custom_tag.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\v3\\hash_policy.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\v3\\http.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\v3\\http_status.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\v3\\percent.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\v3\\range.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\v3\\ratelimit_strategy.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\v3\\ratelimit_unit.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\v3\\semantic_version.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\envoy\\type\\v3\\token_bucket.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\google\\api\\annotations.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\google\\api\\expr\\v1alpha1\\checked.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\google\\api\\expr\\v1alpha1\\syntax.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\google\\api\\http.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\google\\api\\httpbody.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\google\\protobuf\\any.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\google\\protobuf\\descriptor.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\google\\protobuf\\duration.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\google\\protobuf\\empty.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\google\\protobuf\\struct.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\google\\protobuf\\timestamp.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\google\\protobuf\\wrappers.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\google\\rpc\\status.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\opencensus\\proto\\trace\\v1\\trace_config.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\src\\proto\\grpc\\lookup\\v1\\rls_config.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\udpa\\annotations\\migrate.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\udpa\\annotations\\security.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\udpa\\annotations\\sensitive.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\udpa\\annotations\\status.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\udpa\\annotations\\versioning.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\validate\\validate.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\annotations\\v3\\migrate.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\annotations\\v3\\security.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\annotations\\v3\\sensitive.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\annotations\\v3\\status.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\annotations\\v3\\versioning.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\core\\v3\\authority.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\core\\v3\\cidr.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\core\\v3\\collection_entry.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\core\\v3\\context_params.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\core\\v3\\extension.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\core\\v3\\resource.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\core\\v3\\resource_locator.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\core\\v3\\resource_name.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\type\\matcher\\v3\\cel.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\type\\matcher\\v3\\domain.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\type\\matcher\\v3\\http_inputs.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\type\\matcher\\v3\\ip.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\type\\matcher\\v3\\matcher.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\type\\matcher\\v3\\range.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\type\\matcher\\v3\\regex.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\type\\matcher\\v3\\string.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\type\\v3\\cel.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\type\\v3\\range.upbdefs.c " + + "src\\core\\ext\\upbdefs-gen\\xds\\type\\v3\\typed_struct.upbdefs.c " + "src\\core\\ext\\xds\\certificate_provider_store.cc " + "src\\core\\ext\\xds\\file_watcher_certificate_provider_factory.cc " + "src\\core\\ext\\xds\\xds_api.cc " + @@ -466,6 +434,7 @@ if (PHP_GRPC != "no") { "src\\core\\lib\\channel\\channel_stack.cc " + "src\\core\\lib\\channel\\channel_stack_builder.cc " + "src\\core\\lib\\channel\\channel_stack_builder_impl.cc " + + "src\\core\\lib\\channel\\channel_stack_trace.cc " + "src\\core\\lib\\channel\\channel_trace.cc " + "src\\core\\lib\\channel\\channelz.cc " + "src\\core\\lib\\channel\\channelz_registry.cc " + @@ -494,12 +463,12 @@ if (PHP_GRPC != "no") { "src\\core\\lib\\event_engine\\default_event_engine_factory.cc " + "src\\core\\lib\\event_engine\\event_engine.cc " + "src\\core\\lib\\event_engine\\forkable.cc " + - "src\\core\\lib\\event_engine\\memory_allocator.cc " + "src\\core\\lib\\event_engine\\posix_engine\\ev_epoll1_linux.cc " + "src\\core\\lib\\event_engine\\posix_engine\\ev_poll_posix.cc " + "src\\core\\lib\\event_engine\\posix_engine\\event_poller_posix_default.cc " + "src\\core\\lib\\event_engine\\posix_engine\\internal_errqueue.cc " + "src\\core\\lib\\event_engine\\posix_engine\\lockfree_event.cc " + + "src\\core\\lib\\event_engine\\posix_engine\\native_posix_dns_resolver.cc " + "src\\core\\lib\\event_engine\\posix_engine\\posix_endpoint.cc " + "src\\core\\lib\\event_engine\\posix_engine\\posix_engine.cc " + "src\\core\\lib\\event_engine\\posix_engine\\posix_engine_listener.cc " + @@ -525,7 +494,9 @@ if (PHP_GRPC != "no") { "src\\core\\lib\\event_engine\\time_util.cc " + "src\\core\\lib\\event_engine\\trace.cc " + "src\\core\\lib\\event_engine\\utils.cc " + + "src\\core\\lib\\event_engine\\windows\\grpc_polled_fd_windows.cc " + "src\\core\\lib\\event_engine\\windows\\iocp.cc " + + "src\\core\\lib\\event_engine\\windows\\native_windows_dns_resolver.cc " + "src\\core\\lib\\event_engine\\windows\\win_socket.cc " + "src\\core\\lib\\event_engine\\windows\\windows_endpoint.cc " + "src\\core\\lib\\event_engine\\windows\\windows_engine.cc " + @@ -559,7 +530,6 @@ if (PHP_GRPC != "no") { "src\\core\\lib\\gpr\\windows\\sync.cc " + "src\\core\\lib\\gpr\\windows\\time.cc " + "src\\core\\lib\\gpr\\windows\\tmpfile.cc " + - "src\\core\\lib\\gpr\\wrap_memcpy.cc " + "src\\core\\lib\\gprpp\\crash.cc " + "src\\core\\lib\\gprpp\\examine_stack.cc " + "src\\core\\lib\\gprpp\\fork.cc " + @@ -568,6 +538,7 @@ if (PHP_GRPC != "no") { "src\\core\\lib\\gprpp\\load_file.cc " + "src\\core\\lib\\gprpp\\mpscq.cc " + "src\\core\\lib\\gprpp\\per_cpu.cc " + + "src\\core\\lib\\gprpp\\posix\\directory_reader.cc " + "src\\core\\lib\\gprpp\\posix\\env.cc " + "src\\core\\lib\\gprpp\\posix\\stat.cc " + "src\\core\\lib\\gprpp\\posix\\thd.cc " + @@ -579,6 +550,7 @@ if (PHP_GRPC != "no") { "src\\core\\lib\\gprpp\\time_averaged_stats.cc " + "src\\core\\lib\\gprpp\\time_util.cc " + "src\\core\\lib\\gprpp\\validation_errors.cc " + + "src\\core\\lib\\gprpp\\windows\\directory_reader.cc " + "src\\core\\lib\\gprpp\\windows\\env.cc " + "src\\core\\lib\\gprpp\\windows\\stat.cc " + "src\\core\\lib\\gprpp\\windows\\thd.cc " + @@ -624,7 +596,6 @@ if (PHP_GRPC != "no") { "src\\core\\lib\\iomgr\\iomgr_posix.cc " + "src\\core\\lib\\iomgr\\iomgr_posix_cfstream.cc " + "src\\core\\lib\\iomgr\\iomgr_windows.cc " + - "src\\core\\lib\\iomgr\\load_file.cc " + "src\\core\\lib\\iomgr\\lockfree_event.cc " + "src\\core\\lib\\iomgr\\polling_entity.cc " + "src\\core\\lib\\iomgr\\pollset.cc " + @@ -670,16 +641,11 @@ if (PHP_GRPC != "no") { "src\\core\\lib\\json\\json_reader.cc " + "src\\core\\lib\\json\\json_util.cc " + "src\\core\\lib\\json\\json_writer.cc " + - "src\\core\\lib\\load_balancing\\lb_policy.cc " + - "src\\core\\lib\\load_balancing\\lb_policy_registry.cc " + "src\\core\\lib\\matchers\\matchers.cc " + "src\\core\\lib\\promise\\activity.cc " + "src\\core\\lib\\promise\\party.cc " + "src\\core\\lib\\promise\\sleep.cc " + "src\\core\\lib\\promise\\trace.cc " + - "src\\core\\lib\\resolver\\resolver.cc " + - "src\\core\\lib\\resolver\\resolver_registry.cc " + - "src\\core\\lib\\resolver\\server_address.cc " + "src\\core\\lib\\resource_quota\\api.cc " + "src\\core\\lib\\resource_quota\\arena.cc " + "src\\core\\lib\\resource_quota\\memory_quota.cc " + @@ -731,6 +697,7 @@ if (PHP_GRPC != "no") { "src\\core\\lib\\security\\credentials\\tls\\grpc_tls_certificate_provider.cc " + "src\\core\\lib\\security\\credentials\\tls\\grpc_tls_certificate_verifier.cc " + "src\\core\\lib\\security\\credentials\\tls\\grpc_tls_credentials_options.cc " + + "src\\core\\lib\\security\\credentials\\tls\\grpc_tls_crl_provider.cc " + "src\\core\\lib\\security\\credentials\\tls\\tls_credentials.cc " + "src\\core\\lib\\security\\credentials\\tls\\tls_utils.cc " + "src\\core\\lib\\security\\credentials\\xds\\xds_credentials.cc " + @@ -739,19 +706,19 @@ if (PHP_GRPC != "no") { "src\\core\\lib\\security\\security_connector\\insecure\\insecure_security_connector.cc " + "src\\core\\lib\\security\\security_connector\\load_system_roots_fallback.cc " + "src\\core\\lib\\security\\security_connector\\load_system_roots_supported.cc " + + "src\\core\\lib\\security\\security_connector\\load_system_roots_windows.cc " + "src\\core\\lib\\security\\security_connector\\local\\local_security_connector.cc " + "src\\core\\lib\\security\\security_connector\\security_connector.cc " + "src\\core\\lib\\security\\security_connector\\ssl\\ssl_security_connector.cc " + "src\\core\\lib\\security\\security_connector\\ssl_utils.cc " + "src\\core\\lib\\security\\security_connector\\tls\\tls_security_connector.cc " + "src\\core\\lib\\security\\transport\\client_auth_filter.cc " + + "src\\core\\lib\\security\\transport\\legacy_server_auth_filter.cc " + "src\\core\\lib\\security\\transport\\secure_endpoint.cc " + "src\\core\\lib\\security\\transport\\security_handshaker.cc " + "src\\core\\lib\\security\\transport\\server_auth_filter.cc " + "src\\core\\lib\\security\\transport\\tsi_error.cc " + "src\\core\\lib\\security\\util\\json_util.cc " + - "src\\core\\lib\\service_config\\service_config_impl.cc " + - "src\\core\\lib\\service_config\\service_config_parser.cc " + "src\\core\\lib\\slice\\b64.cc " + "src\\core\\lib\\slice\\percent_encoding.cc " + "src\\core\\lib\\slice\\slice.cc " + @@ -765,7 +732,6 @@ if (PHP_GRPC != "no") { "src\\core\\lib\\surface\\call.cc " + "src\\core\\lib\\surface\\call_details.cc " + "src\\core\\lib\\surface\\call_log_batch.cc " + - "src\\core\\lib\\surface\\call_trace.cc " + "src\\core\\lib\\surface\\channel.cc " + "src\\core\\lib\\surface\\channel_init.cc " + "src\\core\\lib\\surface\\channel_ping.cc " + @@ -780,24 +746,82 @@ if (PHP_GRPC != "no") { "src\\core\\lib\\surface\\server.cc " + "src\\core\\lib\\surface\\validate_metadata.cc " + "src\\core\\lib\\surface\\version.cc " + + "src\\core\\lib\\surface\\wait_for_cq_end_op.cc " + "src\\core\\lib\\transport\\batch_builder.cc " + "src\\core\\lib\\transport\\bdp_estimator.cc " + + "src\\core\\lib\\transport\\call_factory.cc " + + "src\\core\\lib\\transport\\call_filters.cc " + + "src\\core\\lib\\transport\\call_final_info.cc " + + "src\\core\\lib\\transport\\call_size_estimator.cc " + + "src\\core\\lib\\transport\\call_spine.cc " + "src\\core\\lib\\transport\\connectivity_state.cc " + "src\\core\\lib\\transport\\error_utils.cc " + "src\\core\\lib\\transport\\handshaker.cc " + "src\\core\\lib\\transport\\handshaker_registry.cc " + "src\\core\\lib\\transport\\http_connect_handshaker.cc " + + "src\\core\\lib\\transport\\message.cc " + + "src\\core\\lib\\transport\\metadata.cc " + "src\\core\\lib\\transport\\metadata_batch.cc " + "src\\core\\lib\\transport\\parsed_metadata.cc " + - "src\\core\\lib\\transport\\pid_controller.cc " + "src\\core\\lib\\transport\\status_conversion.cc " + "src\\core\\lib\\transport\\tcp_connect_handshaker.cc " + "src\\core\\lib\\transport\\timeout_encoding.cc " + "src\\core\\lib\\transport\\transport.cc " + "src\\core\\lib\\transport\\transport_op_string.cc " + "src\\core\\lib\\uri\\uri_parser.cc " + + "src\\core\\load_balancing\\address_filtering.cc " + + "src\\core\\load_balancing\\backend_metric_parser.cc " + + "src\\core\\load_balancing\\child_policy_handler.cc " + + "src\\core\\load_balancing\\endpoint_list.cc " + + "src\\core\\load_balancing\\grpclb\\client_load_reporting_filter.cc " + + "src\\core\\load_balancing\\grpclb\\grpclb.cc " + + "src\\core\\load_balancing\\grpclb\\grpclb_balancer_addresses.cc " + + "src\\core\\load_balancing\\grpclb\\grpclb_client_stats.cc " + + "src\\core\\load_balancing\\grpclb\\load_balancer_api.cc " + + "src\\core\\load_balancing\\health_check_client.cc " + + "src\\core\\load_balancing\\lb_policy.cc " + + "src\\core\\load_balancing\\lb_policy_registry.cc " + + "src\\core\\load_balancing\\oob_backend_metric.cc " + + "src\\core\\load_balancing\\outlier_detection\\outlier_detection.cc " + + "src\\core\\load_balancing\\pick_first\\pick_first.cc " + + "src\\core\\load_balancing\\priority\\priority.cc " + + "src\\core\\load_balancing\\ring_hash\\ring_hash.cc " + + "src\\core\\load_balancing\\rls\\rls.cc " + + "src\\core\\load_balancing\\round_robin\\round_robin.cc " + + "src\\core\\load_balancing\\weighted_round_robin\\static_stride_scheduler.cc " + + "src\\core\\load_balancing\\weighted_round_robin\\weighted_round_robin.cc " + + "src\\core\\load_balancing\\weighted_target\\weighted_target.cc " + + "src\\core\\load_balancing\\xds\\cds.cc " + + "src\\core\\load_balancing\\xds\\xds_cluster_impl.cc " + + "src\\core\\load_balancing\\xds\\xds_cluster_manager.cc " + + "src\\core\\load_balancing\\xds\\xds_override_host.cc " + + "src\\core\\load_balancing\\xds\\xds_wrr_locality.cc " + "src\\core\\plugin_registry\\grpc_plugin_registry.cc " + "src\\core\\plugin_registry\\grpc_plugin_registry_extra.cc " + + "src\\core\\resolver\\binder\\binder_resolver.cc " + + "src\\core\\resolver\\dns\\c_ares\\dns_resolver_ares.cc " + + "src\\core\\resolver\\dns\\c_ares\\grpc_ares_ev_driver_posix.cc " + + "src\\core\\resolver\\dns\\c_ares\\grpc_ares_ev_driver_windows.cc " + + "src\\core\\resolver\\dns\\c_ares\\grpc_ares_wrapper.cc " + + "src\\core\\resolver\\dns\\c_ares\\grpc_ares_wrapper_posix.cc " + + "src\\core\\resolver\\dns\\c_ares\\grpc_ares_wrapper_windows.cc " + + "src\\core\\resolver\\dns\\dns_resolver_plugin.cc " + + "src\\core\\resolver\\dns\\event_engine\\event_engine_client_channel_resolver.cc " + + "src\\core\\resolver\\dns\\event_engine\\service_config_helper.cc " + + "src\\core\\resolver\\dns\\native\\dns_resolver.cc " + + "src\\core\\resolver\\endpoint_addresses.cc " + + "src\\core\\resolver\\fake\\fake_resolver.cc " + + "src\\core\\resolver\\google_c2p\\google_c2p_resolver.cc " + + "src\\core\\resolver\\polling_resolver.cc " + + "src\\core\\resolver\\resolver.cc " + + "src\\core\\resolver\\resolver_registry.cc " + + "src\\core\\resolver\\sockaddr\\sockaddr_resolver.cc " + + "src\\core\\resolver\\xds\\xds_dependency_manager.cc " + + "src\\core\\resolver\\xds\\xds_resolver.cc " + + "src\\core\\resolver\\xds\\xds_resolver_trace.cc " + + "src\\core\\service_config\\service_config_channel_arg_filter.cc " + + "src\\core\\service_config\\service_config_impl.cc " + + "src\\core\\service_config\\service_config_parser.cc " + "src\\core\\tsi\\alts\\crypt\\aes_gcm.cc " + "src\\core\\tsi\\alts\\crypt\\gsec.cc " + "src\\core\\tsi\\alts\\frame_protector\\alts_counter.cc " + @@ -856,7 +880,7 @@ if (PHP_GRPC != "no") { "third_party\\abseil-cpp\\absl\\crc\\internal\\crc.cc " + "third_party\\abseil-cpp\\absl\\crc\\internal\\crc_cord_state.cc " + "third_party\\abseil-cpp\\absl\\crc\\internal\\crc_memcpy_fallback.cc " + - "third_party\\abseil-cpp\\absl\\crc\\internal\\crc_memcpy_x86_64.cc " + + "third_party\\abseil-cpp\\absl\\crc\\internal\\crc_memcpy_x86_arm_combined.cc " + "third_party\\abseil-cpp\\absl\\crc\\internal\\crc_non_temporal_memcpy.cc " + "third_party\\abseil-cpp\\absl\\crc\\internal\\crc_x86_arm_combined.cc " + "third_party\\abseil-cpp\\absl\\debugging\\internal\\address_is_readable.cc " + @@ -866,7 +890,6 @@ if (PHP_GRPC != "no") { "third_party\\abseil-cpp\\absl\\debugging\\stacktrace.cc " + "third_party\\abseil-cpp\\absl\\debugging\\symbolize.cc " + "third_party\\abseil-cpp\\absl\\flags\\commandlineflag.cc " + - "third_party\\abseil-cpp\\absl\\flags\\flag.cc " + "third_party\\abseil-cpp\\absl\\flags\\internal\\commandlineflag.cc " + "third_party\\abseil-cpp\\absl\\flags\\internal\\flag.cc " + "third_party\\abseil-cpp\\absl\\flags\\internal\\private_handle_accessor.cc " + @@ -890,6 +913,7 @@ if (PHP_GRPC != "no") { "third_party\\abseil-cpp\\absl\\random\\internal\\seed_material.cc " + "third_party\\abseil-cpp\\absl\\random\\seed_gen_exception.cc " + "third_party\\abseil-cpp\\absl\\random\\seed_sequences.cc " + + "third_party\\abseil-cpp\\absl\\status\\internal\\status_internal.cc " + "third_party\\abseil-cpp\\absl\\status\\status.cc " + "third_party\\abseil-cpp\\absl\\status\\status_payload_printer.cc " + "third_party\\abseil-cpp\\absl\\status\\statusor.cc " + @@ -907,7 +931,6 @@ if (PHP_GRPC != "no") { "third_party\\abseil-cpp\\absl\\strings\\internal\\cord_rep_btree_reader.cc " + "third_party\\abseil-cpp\\absl\\strings\\internal\\cord_rep_consume.cc " + "third_party\\abseil-cpp\\absl\\strings\\internal\\cord_rep_crc.cc " + - "third_party\\abseil-cpp\\absl\\strings\\internal\\cord_rep_ring.cc " + "third_party\\abseil-cpp\\absl\\strings\\internal\\cordz_functions.cc " + "third_party\\abseil-cpp\\absl\\strings\\internal\\cordz_handle.cc " + "third_party\\abseil-cpp\\absl\\strings\\internal\\cordz_info.cc " + @@ -1074,7 +1097,7 @@ if (PHP_GRPC != "no") { "third_party\\boringssl-with-bazel\\src\\crypto\\fipsmodule\\fips_shared_support.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\hpke\\hpke.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\hrss\\hrss.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\kyber\\keccak.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\keccak\\keccak.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\kyber\\kyber.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\lhash\\lhash.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\mem.c " + @@ -1111,6 +1134,13 @@ if (PHP_GRPC != "no") { "third_party\\boringssl-with-bazel\\src\\crypto\\rsa_extra\\rsa_crypt.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\rsa_extra\\rsa_print.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\siphash\\siphash.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\spx\\address.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\spx\\fors.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\spx\\merkle.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\spx\\spx.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\spx\\spx_util.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\spx\\thash.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\spx\\wots.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\stack\\stack.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\thread.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\thread_none.c " + @@ -1134,6 +1164,29 @@ if (PHP_GRPC != "no") { "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\t_req.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\t_x509.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\t_x509a.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_akey.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_akeya.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_alt.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_bcons.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_bitst.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_conf.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_cpols.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_crld.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_enum.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_extku.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_genn.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_ia5.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_info.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_int.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_lib.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_ncons.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_ocsp.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_pcons.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_pmaps.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_prn.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_purp.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_skey.c " + + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\v3_utl.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x509.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x509_att.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x509_cmp.c " + @@ -1158,9 +1211,7 @@ if (PHP_GRPC != "no") { "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x_attrib.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x_crl.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x_exten.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x_info.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x_name.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x_pkey.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x_pubkey.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x_req.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x_sig.c " + @@ -1168,29 +1219,6 @@ if (PHP_GRPC != "no") { "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x_val.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x_x509.c " + "third_party\\boringssl-with-bazel\\src\\crypto\\x509\\x_x509a.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_akey.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_akeya.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_alt.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_bcons.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_bitst.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_conf.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_cpols.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_crld.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_enum.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_extku.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_genn.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_ia5.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_info.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_int.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_lib.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_ncons.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_ocsp.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_pcons.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_pmaps.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_prn.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_purp.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_skey.c " + - "third_party\\boringssl-with-bazel\\src\\crypto\\x509v3\\v3_utl.c " + "third_party\\boringssl-with-bazel\\src\\ssl\\bio_ssl.cc " + "third_party\\boringssl-with-bazel\\src\\ssl\\d1_both.cc " + "third_party\\boringssl-with-bazel\\src\\ssl\\d1_lib.cc " + @@ -1251,9 +1279,6 @@ if (PHP_GRPC != "no") { "third_party\\re2\\util\\rune.cc " + "third_party\\re2\\util\\strutil.cc " + "third_party\\upb\\upb\\base\\status.c " + - "third_party\\upb\\upb\\collections\\array.c " + - "third_party\\upb\\upb\\collections\\map.c " + - "third_party\\upb\\upb\\collections\\map_sorter.c " + "third_party\\upb\\upb\\hash\\common.c " + "third_party\\upb\\upb\\json\\decode.c " + "third_party\\upb\\upb\\json\\encode.c " + @@ -1264,6 +1289,9 @@ if (PHP_GRPC != "no") { "third_party\\upb\\upb\\mem\\alloc.c " + "third_party\\upb\\upb\\mem\\arena.c " + "third_party\\upb\\upb\\message\\accessors.c " + + "third_party\\upb\\upb\\message\\array.c " + + "third_party\\upb\\upb\\message\\map.c " + + "third_party\\upb\\upb\\message\\map_sorter.c " + "third_party\\upb\\upb\\message\\message.c " + "third_party\\upb\\upb\\mini_descriptor\\build_enum.c " + "third_party\\upb\\upb\\mini_descriptor\\decode.c " + @@ -1273,7 +1301,6 @@ if (PHP_GRPC != "no") { "third_party\\upb\\upb\\mini_table\\extension_registry.c " + "third_party\\upb\\upb\\mini_table\\internal\\message.c " + "third_party\\upb\\upb\\mini_table\\message.c " + - "third_party\\upb\\upb\\reflection\\def_builder.c " + "third_party\\upb\\upb\\reflection\\def_pool.c " + "third_party\\upb\\upb\\reflection\\def_type.c " + "third_party\\upb\\upb\\reflection\\desc_state.c " + @@ -1283,6 +1310,8 @@ if (PHP_GRPC != "no") { "third_party\\upb\\upb\\reflection\\extension_range.c " + "third_party\\upb\\upb\\reflection\\field_def.c " + "third_party\\upb\\upb\\reflection\\file_def.c " + + "third_party\\upb\\upb\\reflection\\internal\\def_builder.c " + + "third_party\\upb\\upb\\reflection\\internal\\strdup2.c " + "third_party\\upb\\upb\\reflection\\message.c " + "third_party\\upb\\upb\\reflection\\message_def.c " + "third_party\\upb\\upb\\reflection\\message_reserved_range.c " + @@ -1315,8 +1344,8 @@ if (PHP_GRPC != "no") { "/D_HAS_EXCEPTIONS=0 /DNOMINMAX /DGRPC_ARES=0 /D_WIN32_WINNT=0x600 "+ "/I"+configure_module_dirname+" "+ "/I"+configure_module_dirname+"\\include "+ - "/I"+configure_module_dirname+"\\src\\core\\ext\\upb-generated "+ - "/I"+configure_module_dirname+"\\src\\core\\ext\\upbdefs-generated "+ + "/I"+configure_module_dirname+"\\src\\core\\ext\\upb-gen "+ + "/I"+configure_module_dirname+"\\src\\core\\ext\\upbdefs-gen "+ "/I"+configure_module_dirname+"\\src\\php\\ext\\grpc "+ "/I"+configure_module_dirname+"\\third_party\\abseil-cpp "+ "/I"+configure_module_dirname+"\\third_party\\address_sorting\\include "+ @@ -1332,33 +1361,12 @@ if (PHP_GRPC != "no") { FSO.CreateFolder(base_dir+"\\ext\\grpc"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\client_channel"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\backend_metrics"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\census"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\channel_idle"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\lb_policy"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\lb_policy\\outlier_detection"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\lb_policy\\pick_first"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\lb_policy\\priority"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\lb_policy\\ring_hash"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\lb_policy\\rls"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\lb_policy\\round_robin"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\lb_policy\\weighted_round_robin"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\lb_policy\\weighted_target"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\lb_policy\\xds"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\resolver"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\resolver\\binder"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\resolver\\dns"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\resolver\\dns\\c_ares"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\resolver\\dns\\event_engine"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\resolver\\dns\\native"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\resolver\\fake"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\resolver\\google_c2p"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\resolver\\sockaddr"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\resolver\\xds"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\deadline"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\fault_injection"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\http"); @@ -1377,242 +1385,248 @@ if (PHP_GRPC != "no") { FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\transport\\chttp2\\server"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\transport\\chttp2\\transport"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\transport\\inproc"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\admin"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\admin\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\annotations"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\accesslog"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\accesslog\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\bootstrap"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\bootstrap\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\cluster"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\cluster\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\common"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\common\\matcher"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\common\\matcher\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\core"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\core\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\endpoint"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\endpoint\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\listener"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\listener\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\metrics"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\metrics\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\overload"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\overload\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\rbac"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\rbac\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\route"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\route\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\tap"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\tap\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\trace"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\config\\trace\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\data"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\data\\accesslog"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\data\\accesslog\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\clusters"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\clusters\\aggregate"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\clusters\\aggregate\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\common"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\common\\fault"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\common\\fault\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\http"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\http\\fault"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\http\\fault\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\http\\rbac"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\http\\rbac\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\http\\router"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\http\\router\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\http\\stateful_session"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\http\\stateful_session\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\network"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\network\\http_connection_manager"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\filters\\network\\http_connection_manager\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\http"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\http\\stateful_session"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\http\\stateful_session\\cookie"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\http\\stateful_session\\cookie\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\client_side_weighted_round_robin"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\client_side_weighted_round_robin\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\common"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\common\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\pick_first"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\pick_first\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\ring_hash"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\ring_hash\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\wrr_locality"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\load_balancing_policies\\wrr_locality\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\transport_sockets"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\transport_sockets\\tls"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\extensions\\transport_sockets\\tls\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\service"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\service\\discovery"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\service\\discovery\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\service\\load_stats"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\service\\load_stats\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\service\\status"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\service\\status\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\type"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\type\\http"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\type\\http\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\type\\matcher"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\type\\matcher\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\type\\metadata"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\type\\metadata\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\type\\tracing"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\type\\tracing\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\envoy\\type\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\google"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\google\\api"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\google\\api\\expr"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\google\\api\\expr\\v1alpha1"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\google\\protobuf"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\google\\rpc"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\opencensus"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\opencensus\\proto"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\opencensus\\proto\\trace"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\opencensus\\proto\\trace\\v1"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\src"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\src\\proto"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\src\\proto\\grpc"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\src\\proto\\grpc\\gcp"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\src\\proto\\grpc\\health"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\src\\proto\\grpc\\health\\v1"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\src\\proto\\grpc\\lb"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\src\\proto\\grpc\\lb\\v1"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\src\\proto\\grpc\\lookup"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\src\\proto\\grpc\\lookup\\v1"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\udpa"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\udpa\\annotations"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\validate"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\annotations"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\annotations\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\core"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\core\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\data"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\data\\orca"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\data\\orca\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\service"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\service\\orca"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\service\\orca\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\type"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\type\\matcher"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\type\\matcher\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-generated\\xds\\type\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\admin"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\admin\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\annotations"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\accesslog"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\accesslog\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\bootstrap"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\bootstrap\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\cluster"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\cluster\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\common"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\common\\matcher"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\common\\matcher\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\core"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\core\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\endpoint"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\endpoint\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\listener"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\listener\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\metrics"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\metrics\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\overload"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\overload\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\rbac"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\rbac\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\route"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\route\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\tap"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\tap\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\trace"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\config\\trace\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\data"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\data\\accesslog"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\data\\accesslog\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\clusters"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\clusters\\aggregate"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\clusters\\aggregate\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\common"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\common\\fault"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\common\\fault\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\http"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\http\\fault"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\http\\fault\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\http\\rbac"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\http\\rbac\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\http\\router"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\http\\router\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\http\\stateful_session"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\http\\stateful_session\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\network"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\network\\http_connection_manager"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\filters\\network\\http_connection_manager\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\http"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\http\\stateful_session"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\http\\stateful_session\\cookie"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\http\\stateful_session\\cookie\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\transport_sockets"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\transport_sockets\\tls"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\extensions\\transport_sockets\\tls\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\service"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\service\\discovery"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\service\\discovery\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\service\\load_stats"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\service\\load_stats\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\service\\status"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\service\\status\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\type"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\type\\http"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\type\\http\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\type\\matcher"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\type\\matcher\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\type\\metadata"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\type\\metadata\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\type\\tracing"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\type\\tracing\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\envoy\\type\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\google"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\google\\api"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\google\\api\\expr"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\google\\api\\expr\\v1alpha1"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\google\\protobuf"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\google\\rpc"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\opencensus"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\opencensus\\proto"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\opencensus\\proto\\trace"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\opencensus\\proto\\trace\\v1"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\src"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\src\\proto"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\src\\proto\\grpc"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\src\\proto\\grpc\\lookup"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\src\\proto\\grpc\\lookup\\v1"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\udpa"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\udpa\\annotations"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\validate"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\xds"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\xds\\annotations"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\xds\\annotations\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\xds\\core"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\xds\\core\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\xds\\type"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\xds\\type\\matcher"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\xds\\type\\matcher\\v3"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-generated\\xds\\type\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\admin"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\admin\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\annotations"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\accesslog"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\accesslog\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\bootstrap"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\bootstrap\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\cluster"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\cluster\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\common"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\common\\matcher"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\common\\matcher\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\core"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\core\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\endpoint"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\endpoint\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\listener"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\listener\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\metrics"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\metrics\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\overload"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\overload\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\rbac"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\rbac\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\route"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\route\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\tap"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\tap\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\trace"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\config\\trace\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\data"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\data\\accesslog"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\data\\accesslog\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\clusters"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\clusters\\aggregate"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\clusters\\aggregate\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\common"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\common\\fault"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\common\\fault\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\http"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\http\\fault"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\http\\fault\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\http\\rbac"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\http\\rbac\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\http\\router"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\http\\router\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\http\\stateful_session"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\http\\stateful_session\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\network"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\network\\http_connection_manager"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\filters\\network\\http_connection_manager\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\http"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\http\\stateful_session"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\http\\stateful_session\\cookie"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\http\\stateful_session\\cookie\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\client_side_weighted_round_robin"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\client_side_weighted_round_robin\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\common"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\common\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\pick_first"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\pick_first\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\ring_hash"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\ring_hash\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\wrr_locality"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\load_balancing_policies\\wrr_locality\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\transport_sockets"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\transport_sockets\\tls"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\transport_sockets\\tls\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\upstreams"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\upstreams\\http"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\extensions\\upstreams\\http\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\service"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\service\\discovery"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\service\\discovery\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\service\\load_stats"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\service\\load_stats\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\service\\status"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\service\\status\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\type"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\type\\http"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\type\\http\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\type\\matcher"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\type\\matcher\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\type\\metadata"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\type\\metadata\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\type\\tracing"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\type\\tracing\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\envoy\\type\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\google"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\google\\api"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\google\\api\\expr"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\google\\api\\expr\\v1alpha1"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\google\\protobuf"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\google\\rpc"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\opencensus"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\opencensus\\proto"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\opencensus\\proto\\trace"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\opencensus\\proto\\trace\\v1"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\src"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\src\\proto"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\src\\proto\\grpc"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\src\\proto\\grpc\\gcp"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\src\\proto\\grpc\\health"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\src\\proto\\grpc\\health\\v1"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\src\\proto\\grpc\\lb"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\src\\proto\\grpc\\lb\\v1"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\src\\proto\\grpc\\lookup"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\src\\proto\\grpc\\lookup\\v1"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\udpa"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\udpa\\annotations"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\validate"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\annotations"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\annotations\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\core"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\core\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\data"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\data\\orca"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\data\\orca\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\service"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\service\\orca"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\service\\orca\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\type"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\type\\matcher"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\type\\matcher\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upb-gen\\xds\\type\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\admin"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\admin\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\annotations"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\accesslog"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\accesslog\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\bootstrap"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\bootstrap\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\cluster"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\cluster\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\common"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\common\\matcher"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\common\\matcher\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\core"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\core\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\endpoint"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\endpoint\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\listener"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\listener\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\metrics"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\metrics\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\overload"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\overload\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\rbac"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\rbac\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\route"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\route\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\tap"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\tap\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\trace"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\config\\trace\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\data"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\data\\accesslog"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\data\\accesslog\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\clusters"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\clusters\\aggregate"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\clusters\\aggregate\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\common"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\common\\fault"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\common\\fault\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\http"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\http\\fault"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\http\\fault\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\http\\rbac"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\http\\rbac\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\http\\router"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\http\\router\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\http\\stateful_session"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\http\\stateful_session\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\network"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\network\\http_connection_manager"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\filters\\network\\http_connection_manager\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\http"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\http\\stateful_session"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\http\\stateful_session\\cookie"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\http\\stateful_session\\cookie\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\transport_sockets"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\transport_sockets\\tls"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\transport_sockets\\tls\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\upstreams"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\upstreams\\http"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\extensions\\upstreams\\http\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\service"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\service\\discovery"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\service\\discovery\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\service\\load_stats"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\service\\load_stats\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\service\\status"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\service\\status\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\type"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\type\\http"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\type\\http\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\type\\matcher"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\type\\matcher\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\type\\metadata"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\type\\metadata\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\type\\tracing"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\type\\tracing\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\envoy\\type\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\google"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\google\\api"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\google\\api\\expr"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\google\\api\\expr\\v1alpha1"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\google\\protobuf"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\google\\rpc"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\opencensus"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\opencensus\\proto"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\opencensus\\proto\\trace"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\opencensus\\proto\\trace\\v1"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\src"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\src\\proto"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\src\\proto\\grpc"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\src\\proto\\grpc\\lookup"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\src\\proto\\grpc\\lookup\\v1"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\udpa"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\udpa\\annotations"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\validate"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\xds"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\xds\\annotations"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\xds\\annotations\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\xds\\core"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\xds\\core\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\xds\\type"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\xds\\type\\matcher"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\xds\\type\\matcher\\v3"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\upbdefs-gen\\xds\\type\\v3"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\xds"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\address_utils"); @@ -1645,10 +1659,8 @@ if (PHP_GRPC != "no") { FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\iomgr"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\iomgr\\event_engine_shims"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\json"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\load_balancing"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\matchers"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\promise"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\resolver"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\resource_quota"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\security"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\security\\authorization"); @@ -1678,12 +1690,33 @@ if (PHP_GRPC != "no") { FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\security\\security_connector\\tls"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\security\\transport"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\security\\util"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\service_config"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\slice"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\surface"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\transport"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\lib\\uri"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing\\grpclb"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing\\outlier_detection"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing\\pick_first"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing\\priority"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing\\ring_hash"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing\\rls"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing\\round_robin"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing\\weighted_round_robin"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing\\weighted_target"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\load_balancing\\xds"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\plugin_registry"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\resolver"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\resolver\\binder"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\resolver\\dns"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\resolver\\dns\\c_ares"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\resolver\\dns\\event_engine"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\resolver\\dns\\native"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\resolver\\fake"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\resolver\\google_c2p"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\resolver\\sockaddr"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\resolver\\xds"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\service_config"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\tsi"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\tsi\\alts"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\tsi\\alts\\crypt"); @@ -1717,6 +1750,7 @@ if (PHP_GRPC != "no") { FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\abseil-cpp\\absl\\random"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\abseil-cpp\\absl\\random\\internal"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\abseil-cpp\\absl\\status"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\abseil-cpp\\absl\\status\\internal"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\abseil-cpp\\absl\\strings"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\abseil-cpp\\absl\\strings\\internal"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\abseil-cpp\\absl\\strings\\internal\\str_format"); @@ -1755,6 +1789,7 @@ if (PHP_GRPC != "no") { FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\fipsmodule"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\hpke"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\hrss"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\keccak"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\kyber"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\lhash"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\obj"); @@ -1767,10 +1802,10 @@ if (PHP_GRPC != "no") { FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\rc4"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\rsa_extra"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\siphash"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\spx"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\stack"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\trust_token"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\x509"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\crypto\\x509v3"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl-with-bazel\\src\\ssl"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\re2"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\re2\\re2"); @@ -1778,7 +1813,6 @@ if (PHP_GRPC != "no") { FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\upb"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\upb\\upb"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\upb\\upb\\base"); - FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\upb\\upb\\collections"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\upb\\upb\\hash"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\upb\\upb\\json"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\upb\\upb\\lex"); @@ -1789,6 +1823,7 @@ if (PHP_GRPC != "no") { FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\upb\\upb\\mini_table"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\upb\\upb\\mini_table\\internal"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\upb\\upb\\reflection"); + FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\upb\\upb\\reflection\\internal"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\upb\\upb\\text"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\upb\\upb\\wire"); FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\utf8_range"); diff --git a/doc/PROTOCOL-HTTP2.md b/doc/PROTOCOL-HTTP2.md index 40ec2c10331..e5d9696575a 100644 --- a/doc/PROTOCOL-HTTP2.md +++ b/doc/PROTOCOL-HTTP2.md @@ -75,7 +75,7 @@ Base64-encoded values. **ASCII-Value** should not have leading or trailing whitespace. If it contains leading or trailing whitespace, it may be stripped. The **ASCII-Value** -character range defined is more strict than HTTP. Implementations must not error +character range defined is stricter than HTTP. Implementations must not error due to receiving an invalid **ASCII-Value** that's a valid **field-value** in HTTP, but the precise behavior is not strictly defined: they may throw the value away or accept the value. If accepted, care must be taken to make sure that the diff --git a/doc/bazel_support.md b/doc/bazel_support.md index 36029942c2b..0fbc3c22a5f 100644 --- a/doc/bazel_support.md +++ b/doc/bazel_support.md @@ -34,10 +34,16 @@ grpc_extra_deps() ## Supported Versions -In general, gRPC supports building with the latest patch release of the two most -recent LTS versions of Bazel. However individual releases may have a broader +gRPC supports building with the latest stable release of Bazel, +as well as the previous major version release for at least 6 months +after it transitions into maintenance mode. +This is consistent with the supported build systems of +[the Google Foundational C++ Support Policy](https://opensource.google/documentation/policies/cplusplus-support). +However individual releases may have a broader compatibility range. The currently supported versions are captured by the following list: -- [`6.3.2`](https://github.com/bazelbuild/bazel/releases/tag/6.3.2) -- [`5.4.1`](https://github.com/bazelbuild/bazel/releases/tag/5.4.1) +- [`6.4.0`](https://github.com/bazelbuild/bazel/releases/tag/6.4.0) +- [`7.0.0`](https://github.com/bazelbuild/bazel/releases/tag/7.0.0) + +NOTE: gRPC doesn't support bzlmod yet. \ No newline at end of file diff --git a/doc/command_line_tool.md b/doc/command_line_tool.md index e303b0853d4..7510e51bb41 100644 --- a/doc/command_line_tool.md +++ b/doc/command_line_tool.md @@ -2,37 +2,44 @@ ## Overview -This document describes the command line tool that comes with gRPC repository. It is desirable to have command line -tools written in other languages roughly follow the same syntax and flags. +This document describes the command line tool that comes with gRPC repository. +It is desirable to have command line tools written in other languages roughly +follow the same syntax and flags. -At this point, the tool needs to be built from source, and it should be moved out to grpc-tools repository as a stand -alone application once it is mature enough. +> [!NOTE] +> At present, the tool needs to be built from source, and it should be moved out +> to grpc-tools repository as a stand alone application once it is mature +> enough. This tool in its current state though is not up to par in its +> user-friendliness. Other tools in the ecosystem, for example, +> [grpcurl](https://github.com/fullstorydev/grpcurl) are better maintained. ## Core functionality The command line tool can do the following things: -- Send unary rpc. -- Attach metadata and display received metadata. -- Handle common authentication to server. -- Infer request/response types from server reflection result. -- Find the request/response types from a given proto file. -- Read proto request in text form. -- Read request in wire form (for protobuf messages, this means serialized binary form). -- Display proto response in text form. -- Write response in wire form to a file. +- Send unary rpc. +- Attach metadata and display received metadata. +- Handle common authentication to server. +- Infer request/response types from server reflection result. +- Find the request/response types from a given proto file. +- Read proto request in text form. +- Read request in wire form (for protobuf messages, this means serialized + binary form). +- Display proto response in text form. +- Write response in wire form to a file. The command line tool should support the following things: -- List server services and methods through server reflection. -- Fine-grained auth control (such as, use this oauth token to talk to the server). -- Send streaming rpc. +- List server services and methods through server reflection. +- Fine-grained auth control (such as, use this oauth token to talk to the + server). +- Send streaming rpc. ## Code location To use the tool, you need to get the grpc repository and make sure your system -has the prerequisites for building grpc from source, given in the [installation -instructions](../BUILDING.md). +has the prerequisites for building grpc from source, given in the +[installation instructions](../BUILDING.md). In order to build the grpc command line tool from a fresh clone of the grpc repository, you need to run the following command to update submodules: @@ -58,10 +65,13 @@ https://github.com/grpc/grpc/blob/master/test/cpp/util/grpc_cli.cc Most `grpc_cli` commands need the server to support server reflection. See guides for [Java](https://github.com/grpc/grpc-java/blob/master/documentation/server-reflection-tutorial.md#enable-server-reflection) -, [C++](https://github.com/grpc/grpc/blob/master/doc/server_reflection_tutorial.md) -and [Go](https://github.com/grpc/grpc-go/blob/master/Documentation/server-reflection-tutorial.md) +, +[C++](https://github.com/grpc/grpc/blob/master/doc/server_reflection_tutorial.md) +and +[Go](https://github.com/grpc/grpc-go/blob/master/Documentation/server-reflection-tutorial.md) -Local proto files can be used as an alternative. See instructions [below](#Call-a-remote-method). +Local proto files can be used as an alternative. See instructions +[below](#Call-a-remote-method). ## Usage @@ -176,8 +186,8 @@ We can send RPCs to a server and get responses using `grpc_cli call` command. ``` If the proto file is not under the current directory, you can use - `--proto_path` to specify new search roots - (separated by colon on Mac/Linux/Cygwin or semicolon on Windows). + `--proto_path` to specify new search roots (separated by colon on + Mac/Linux/Cygwin or semicolon on Windows). Note that the tool will always attempt to use the reflection service first, falling back to local proto files if the service is not found. Use diff --git a/doc/core/default_http_proxy_mapper.md b/doc/core/default_http_proxy_mapper.md index 4b0777b5ca3..baafaaef09c 100644 --- a/doc/core/default_http_proxy_mapper.md +++ b/doc/core/default_http_proxy_mapper.md @@ -4,6 +4,10 @@ proposed how gRPC supports TCP-level proxies via the HTTP CONNECT request, defined in [RFC-2817](https://www.rfc-editor.org/rfc/rfc2817). +This guide documents gRPC C-Core's default proxy mapper implementation. + +## HTTP Proxy + **Case 1** in the proposal documents a use-case where all outbound traffic from an environment must go through a proxy. Configurations for such environments are usually performed using environment variables such as `http_proxy`. gRPC @@ -11,11 +15,7 @@ supports this by providing a default proxy mapper implementation that allows for overriding the server name (provided in the channel creation hostname) to resolve based on such configurations. -This guide documents gRPC C-Core's default proxy mapper implementation. - -## Working - -### Enabling HTTP Proxy +### Enabling the HTTP Proxy C-Core checks the following places to determine the HTTP proxy to use, stopping at the first one that is set: @@ -65,3 +65,24 @@ addresses as the host between the range `10.10.0.0` to `10.10.0.255`. The lookup and subsequent usage of an HTTP proxy for a specific channel can also be disabled by setting the channel arg `GRPC_ARG_ENABLE_HTTP_PROXY` to 0. + +## Address Proxy + +**Case 2** in the proposal documents a partially protected environment, where +access to certain addresses must go through a proxy. Name resolution +of protected servers works normally, and the proxy allows the CONNECT request +to use an IP address instead of a hostname. + +Only requests for certain hosts must go through the proxy. Requests to other +servers work without the proxy. Custom logic is used to determine which hosts +the proxy will be used for. + +To use the address proxy, both of the following parameters need to be specified: +1. Address of the proxy can be specified using `GRPC_ARG_ADDRESS_HTTP_PROXY` +channel argument or `GRPC_ADDRESS_HTTP_PROXY` environment variable. Value of +the channel argument is preferred if both values are specified. +1. Comma-separated list of IP addresses and/or CIDR blocks that should be +accessed through the proxy. This can be specified using +the `GRPC_ARG_ADDRESS_HTTP_PROXY_ENABLED_ADDRESSES` channel argument +or `GRPC_ADDRESS_HTTP_PROXY_ENABLED_ADDRESSES` environment variable. Value of +the channel argument is preferred if both values are specified. \ No newline at end of file diff --git a/doc/environment_variables.md b/doc/environment_variables.md index f5f10a285f3..86db138e512 100644 --- a/doc/environment_variables.md +++ b/doc/environment_variables.md @@ -69,6 +69,7 @@ some configuration as environment variables that can be set. - health_check_client - traces health checking client code - http - traces state in the http2 transport engine - http2_stream_state - traces all http2 stream state mutations. + - http2_ping - traces pings/ping acks/antagonist writes in http2 stack. - http1 - traces HTTP/1.x operations performed by gRPC - inproc - traces the in-process transport - http_keepalive - traces gRPC keepalive pings @@ -101,7 +102,6 @@ some configuration as environment variables that can be set. - xds_client - traces xds client - xds_cluster_manager_lb - traces cluster manager LB policy - xds_cluster_impl_lb - traces cluster impl LB policy - - xds_cluster_resolver_lb - traces xds cluster resolver LB policy - xds_resolver - traces xds resolver The following tracers will only run in binaries built in DEBUG mode. This is diff --git a/doc/g_stands_for.md b/doc/g_stands_for.md index 5612b1fbf20..a10dc1c0c95 100644 --- a/doc/g_stands_for.md +++ b/doc/g_stands_for.md @@ -58,4 +58,8 @@ - 1.56 'g' stands for ['galvanized'](https://github.com/grpc/grpc/tree/v1.56.x) - 1.57 'g' stands for ['grounded'](https://github.com/grpc/grpc/tree/v1.57.x) - 1.58 'g' stands for ['goku'](https://github.com/grpc/grpc/tree/v1.58.x) -- 1.59 'g' stands for ['generative'](https://github.com/grpc/grpc/tree/master) +- 1.59 'g' stands for ['generative'](https://github.com/grpc/grpc/tree/v1.59.x) +- 1.60 'g' stands for ['gjallarhorn'](https://github.com/grpc/grpc/tree/v1.60.x) +- 1.61 'g' stands for ['grand'](https://github.com/grpc/grpc/tree/v1.61.x) +- 1.62 'g' stands for ['guardian'](https://github.com/grpc/grpc/tree/v1.62.x) +- 1.63 'g' stands for ['giggle'](https://github.com/grpc/grpc/tree/master) diff --git a/doc/grpc_xds_features.md b/doc/grpc_xds_features.md index f74288ca41a..5cc115b540a 100644 --- a/doc/grpc_xds_features.md +++ b/doc/grpc_xds_features.md @@ -58,18 +58,20 @@ Features | gRFCs | [C++, Python,
Ruby, PHP](https://github.com/grpc/grpc/re Request matching based on:
  • [Path](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#config-route-v3-routematch) (prefix, full path and safe regex)
    • [case_sensitive](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-msg-config-route-v3-routematch) must be true else config is NACKed
  • [Headers](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-msg-config-route-v3-headermatcher)
Request routing to multiple clusters based on [weights](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#config-route-v3-weightedcluster) | [A28](https://github.com/grpc/proposal/blob/master/A28-xds-traffic-splitting-and-routing.md) | v1.31.0 | v1.31.0 | v1.31.0 | v1.3.0 | Case insensitive prefix/full path matching:
  • [case_sensitive](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-msg-config-route-v3-routematch) can be true or false
| | v1.34.0 | v1.34.0 | v1.34.0 | v1.3.0 | Support for [xDS v3 APIs](https://www.envoyproxy.io/docs/envoy/latest/api-v3/api) | [A30](https://github.com/grpc/proposal/blob/master/A30-xds-v3.md) | v1.36.0 | v1.36.0 | v1.36.0 | v1.4.0 | -Support for [xDS v2 APIs](https://www.envoyproxy.io/docs/envoy/latest/api/api_supported_versions) | [A27](https://github.com/grpc/proposal/blob/master/A30-xds-v3.md#details-of-the-v2-to-v3-transition) | < v1.51.0 | < v1.53.0 | TBA | < v1.8.0 | +Support for [xDS v2 APIs](https://www.envoyproxy.io/docs/envoy/latest/api/api_supported_versions) | [A27](https://github.com/grpc/proposal/blob/master/A30-xds-v3.md#details-of-the-v2-to-v3-transition) | < v1.51.0 | < v1.53.0 | < v1.54.0 | < v1.8.0 | [Maximum Stream Duration](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#config-route-v3-routeaction-maxstreamduration):
  • Only max_stream_duration is supported.
| [A31](https://github.com/grpc/proposal/blob/master/A31-xds-timeout-support-and-config-selector.md) | v1.37.1 | v1.37.1 | v1.37.0 | v1.4.0 | [Circuit Breaking](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/circuit_breaker.proto):
  • Only max_requests is supported.
| [A32](https://github.com/grpc/proposal/blob/master/A32-xds-circuit-breaking.md) | v1.37.1 (N/A for PHP) | v1.37.1 | v1.37.0 | v1.4.0 | [Fault Injection](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/fault/v3/fault.proto):
Only the following fields are supported:
  • delay
  • abort
  • max_active_faults
  • headers
| [A33](https://github.com/grpc/proposal/blob/master/A33-Fault-Injection.md) | v1.37.1 | v1.37.1 | v1.37.0 | v1.4.0 | [Client Status Discovery Service](https://github.com/envoyproxy/envoy/blob/main/api/envoy/service/status/v3/csds.proto) | [A40](https://github.com/grpc/proposal/blob/master/A40-csds-support.md) | v1.37.1 (C++)
v1.38.0 (Python) | v1.37.1 | v1.37.0 | v1.5.0 | +[Aggregate Clusters](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/aggregate_cluster.html) and [Logical DNS Clusters](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/service_discovery.html#logical-dns) | [A37](https://github.com/grpc/proposal/blob/master/A37-xds-aggregate-and-logical-dns-clusters.md) | v1.47.0 | v1.39.0 | v1.52.2 | v1.9.0 | [Ring hash](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/load_balancers#ring-hash) load balancing policy:
Only the following [policy specifiers](https://github.com/envoyproxy/envoy/blob/2443032526cf6e50d63d35770df9473dd0460fc0/api/envoy/config/route/v3/route_components.proto#L706) are supported:
  • header
  • filter_state with key `io.grpc.channel_id`
Only [`XX_HASH`](https://github.com/envoyproxy/envoy/blob/2443032526cf6e50d63d35770df9473dd0460fc0/api/envoy/config/cluster/v3/cluster.proto#L383) function is supported. | [A42](https://github.com/grpc/proposal/blob/master/A42-xds-ring-hash-lb-policy.md) | v1.40.0
(C++ and Python) | v1.40.1 | 1.41.0 | | -[Retry](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-msg-config-route-v3-retrypolicy):
Only the following fields are supported:
  • retry_on for the following conditions: cancelled, deadline-exceeded, internal, resource-exhausted, and unavailable.
  • num_retries
  • retry_back_off
| [A44](https://github.com/grpc/proposal/blob/master/A44-xds-retry.md) | v1.40.0
(C++ and Python) | v1.40.1 | 1.41.0 | | +[Retry](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-msg-config-route-v3-retrypolicy):
Only the following fields are supported:
  • retry_on for the following conditions: cancelled, deadline-exceeded, internal, resource-exhausted, and unavailable.
  • num_retries
  • retry_back_off
| [A44](https://github.com/grpc/proposal/blob/master/A44-xds-retry.md) | v1.40.0
(C++ and Python) | v1.40.1 | 1.41.0 | v1.8.0 | [Security](https://www.envoyproxy.io/docs/envoy/latest/configuration/security/security):
Uses [certificate providers](https://github.com/grpc/proposal/blob/master/A29-xds-tls-security.md#certificate-provider-plugin-framework) instead of SDS | [A29](https://github.com/grpc/proposal/blob/master/A29-xds-tls-security.md) | v1.41.0
(C++ and Python) | v1.41.0 | 1.41.0 | | [Authorization (RBAC)](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/rbac/v3/rbac.proto):
  • `LOG` action has no effect
  • CEL unsupported and rejected
| [A41](https://github.com/grpc/proposal/blob/master/A41-xds-rbac.md) | v1.51.0
(C++ and Python) | v1.42.0 | 1.42.0 | | -[Outlier Detection](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/outlier):
Only the following detection types are supported:
  • Success Rate
  • Failure Percentage
| [A50](https://github.com/grpc/proposal/blob/master/A50-xds-outlier-detection.md) | v1.51.0 | v1.49.0 | v1.50.0 | v1.7.0 | | -[Custom Load Balancer Configuration](https://github.com/envoyproxy/envoy/blob/57be3189ffa3372b34e9480d1f02b2d165e49077/api/envoy/config/cluster/v3/cluster.proto#L1208) | [A52](https://github.com/grpc/proposal/blob/master/A52-xds-custom-lb-policies.md) | v1.55.0 | v1.47.0 | | | -[xDS Federation](https://github.com/cncf/xds/blob/main/proposals/TP1-xds-transport-next.md) | [A47](https://github.com/grpc/proposal/blob/master/A47-xds-federation.md) | v1.55.0 | | | | -[Client-Side Weighted Round Robin LB Policy](https://github.com/envoyproxy/envoy/blob/a6d46b6ac4750720eec9a49abe701f0df9bf8e0a/api/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.proto#L36) | [A58](https://github.com/grpc/proposal/blob/master/A58-client-side-weighted-round-robin-lb-policy.md) | v1.55.0 | | | | -[StringMatcher for Header Matching](https://github.com/envoyproxy/envoy/blob/3fe4b8d335fa339ef6f17325c8d31f87ade7bb1a/api/envoy/config/route/v3/route_components.proto#L2280) | [A63](https://github.com/grpc/proposal/blob/master/A63-xds-string-matcher-in-header-matching.md) | v1.56.0 | | | | +[Least Request LB Policy](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/load_balancers.html#weighted-least-request) | [A48](https://github.com/grpc/proposal/blob/master/A48-xds-least-request-lb-policy.md) | | v1.48.0 | | | +[Outlier Detection](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/outlier):
Only the following detection types are supported:
  • Success Rate
  • Failure Percentage
| [A50](https://github.com/grpc/proposal/blob/master/A50-xds-outlier-detection.md) | v1.51.0 | v1.49.0 | v1.50.0 | v1.7.0 | +[Custom Load Balancer Configuration](https://github.com/envoyproxy/envoy/blob/57be3189ffa3372b34e9480d1f02b2d165e49077/api/envoy/config/cluster/v3/cluster.proto#L1208) | [A52](https://github.com/grpc/proposal/blob/master/A52-xds-custom-lb-policies.md) | v1.55.0 | v1.47.0 | v1.56.0 | | +[xDS Federation](https://github.com/cncf/xds/blob/main/proposals/TP1-xds-transport-next.md) | [A47](https://github.com/grpc/proposal/blob/master/A47-xds-federation.md) | v1.55.0 | v1.55.0 | v1.55.0 | | +[Client-Side Weighted Round Robin LB Policy](https://github.com/envoyproxy/envoy/blob/a6d46b6ac4750720eec9a49abe701f0df9bf8e0a/api/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.proto#L36) | [A58](https://github.com/grpc/proposal/blob/master/A58-client-side-weighted-round-robin-lb-policy.md) | v1.55.0 | v1.54.0 | v1.56.0 | | +[StringMatcher for Header Matching](https://github.com/envoyproxy/envoy/blob/3fe4b8d335fa339ef6f17325c8d31f87ade7bb1a/api/envoy/config/route/v3/route_components.proto#L2280) | [A63](https://github.com/grpc/proposal/blob/master/A63-xds-string-matcher-in-header-matching.md) | v1.56.0 | v1.53.0 | v1.56.0 | v1.9.0 | mTLS Credentials in xDS Bootstrap File | [A65](https://github.com/grpc/proposal/blob/master/A65-xds-mtls-creds-in-bootstrap.md) | v1.57.0 | | | | diff --git a/doc/images/img/grpc-assignee.png b/doc/images/img/grpc-assignee.png new file mode 100644 index 00000000000..87776c03dda Binary files /dev/null and b/doc/images/img/grpc-assignee.png differ diff --git a/doc/images/img/grpc-compare-and-pull-request.png b/doc/images/img/grpc-compare-and-pull-request.png new file mode 100644 index 00000000000..3f5fb373b9e Binary files /dev/null and b/doc/images/img/grpc-compare-and-pull-request.png differ diff --git a/doc/images/img/grpc-contributor-type.png b/doc/images/img/grpc-contributor-type.png new file mode 100644 index 00000000000..00fc8b38e7e Binary files /dev/null and b/doc/images/img/grpc-contributor-type.png differ diff --git a/doc/images/img/grpc-copybara-commit.png b/doc/images/img/grpc-copybara-commit.png new file mode 100644 index 00000000000..5aa258810dd Binary files /dev/null and b/doc/images/img/grpc-copybara-commit.png differ diff --git a/doc/images/img/grpc-create-fork.png b/doc/images/img/grpc-create-fork.png new file mode 100644 index 00000000000..8f528787a0b Binary files /dev/null and b/doc/images/img/grpc-create-fork.png differ diff --git a/doc/images/img/grpc-easycla-authorize.png b/doc/images/img/grpc-easycla-authorize.png new file mode 100644 index 00000000000..dc0ab26e67f Binary files /dev/null and b/doc/images/img/grpc-easycla-authorize.png differ diff --git a/doc/images/img/grpc-easycla-covered.png b/doc/images/img/grpc-easycla-covered.png new file mode 100644 index 00000000000..aec1b7dc396 Binary files /dev/null and b/doc/images/img/grpc-easycla-covered.png differ diff --git a/doc/images/img/grpc-pr-closed-by-copybara.png b/doc/images/img/grpc-pr-closed-by-copybara.png new file mode 100644 index 00000000000..2a8874dbd5d Binary files /dev/null and b/doc/images/img/grpc-pr-closed-by-copybara.png differ diff --git a/doc/images/img/grpc-pull-request-details.png b/doc/images/img/grpc-pull-request-details.png new file mode 100644 index 00000000000..0d12891982f Binary files /dev/null and b/doc/images/img/grpc-pull-request-details.png differ diff --git a/doc/images/img/grpc-review-complete.png b/doc/images/img/grpc-review-complete.png new file mode 100644 index 00000000000..166c2e85523 Binary files /dev/null and b/doc/images/img/grpc-review-complete.png differ diff --git a/doc/images/img/grpc-sign-cla.png b/doc/images/img/grpc-sign-cla.png new file mode 100644 index 00000000000..4a5c497188b Binary files /dev/null and b/doc/images/img/grpc-sign-cla.png differ diff --git a/doc/images/img/grpc-tests.png b/doc/images/img/grpc-tests.png new file mode 100644 index 00000000000..f1bfc648179 Binary files /dev/null and b/doc/images/img/grpc-tests.png differ diff --git a/doc/images/img/grpc-wait-for-merge.png b/doc/images/img/grpc-wait-for-merge.png new file mode 100644 index 00000000000..94c3dff68ca Binary files /dev/null and b/doc/images/img/grpc-wait-for-merge.png differ diff --git a/doc/python/server_reflection.md b/doc/python/server_reflection.md index b82f304ff5e..3e7fea6522a 100644 --- a/doc/python/server_reflection.md +++ b/doc/python/server_reflection.md @@ -54,7 +54,7 @@ is working properly by using the [`grpc_cli` command line tool]: Server Reflection can be used by clients to get information about gRPC services at runtime. We've provided a descriptor database called -[ProtoReflectionDescriptorDatabase](../../src/python/grpcio_reflection/v1alpha/proto_reflection_descriptor_database.h) +[ProtoReflectionDescriptorDatabase](../../src/python/grpcio_reflection/grpc_reflection/v1alpha/proto_reflection_descriptor_database.py) which implements the [DescriptorDatabase](https://googleapis.dev/python/protobuf/latest/google/protobuf/descriptor_database.html#google.protobuf.descriptor_database.DescriptorDatabase) interface. It manages the communication between clients and reflection services diff --git a/doc/python/sphinx/conf.py b/doc/python/sphinx/conf.py index 6dcd2643edc..d0f6fa81506 100644 --- a/doc/python/sphinx/conf.py +++ b/doc/python/sphinx/conf.py @@ -107,4 +107,4 @@ todo_include_todos = True # -- Options for substitutions ----------------------------------------------- -rst_epilog = '.. |grpc_types_link| replace:: https://github.com/grpc/grpc/blob/%s/include/grpc/impl/codegen/grpc_types.h' % branch +rst_epilog = '.. |channel_arg_names_link| replace:: https://github.com/grpc/grpc/blob/%s/include/grpc/impl/channel_arg_names.h' % branch diff --git a/doc/python/sphinx/glossary.rst b/doc/python/sphinx/glossary.rst index a4daa31d180..49911ae0fa7 100644 --- a/doc/python/sphinx/glossary.rst +++ b/doc/python/sphinx/glossary.rst @@ -45,6 +45,7 @@ Glossary server object. Channel arguments are meant for advanced usages and contain experimental API (some may not labeled as experimental). Full list of available channel arguments and documentation can be found under the - "grpc_arg_keys" section of "grpc_types.h" header file (|grpc_types_link|). - For example, if you want to disable TCP port reuse, you may construct - channel arguments like: ``options = (('grpc.so_reuseport', 0),)``. + "grpc_arg_keys" section of "channel_arg_names.h" header file + (|channel_arg_names_link|). For example, if you want to disable TCP port + reuse, you may construct channel arguments like: + ``options = (('grpc.so_reuseport', 0),)``. diff --git a/doc/python/sphinx/grpc_observability.rst b/doc/python/sphinx/grpc_observability.rst new file mode 100644 index 00000000000..b79746d8fad --- /dev/null +++ b/doc/python/sphinx/grpc_observability.rst @@ -0,0 +1,7 @@ +gRPC Python Observability +========================= + +Module Contents +--------------- + +.. automodule:: grpc_observability diff --git a/doc/python/sphinx/index.rst b/doc/python/sphinx/index.rst index 2bdd60b826d..04f190f1116 100644 --- a/doc/python/sphinx/index.rst +++ b/doc/python/sphinx/index.rst @@ -18,6 +18,7 @@ API Reference grpc_reflection grpc_status grpc_testing + grpc_observability glossary diff --git a/doc/server-reflection.md b/doc/server-reflection.md index 4efd1de7b3f..63a58f9c8d0 100644 --- a/doc/server-reflection.md +++ b/doc/server-reflection.md @@ -23,8 +23,8 @@ We want to be able to answer the following queries: Specifically, what are the names of the methods, are those methods unary or streaming, and what are the types of the argument and result? -The first proposed version of the protocol is here: -https://github.com/grpc/grpc/blob/master/src/proto/grpc/reflection/v1alpha/reflection.proto +The first version of the protocol is here: +https://github.com/grpc/grpc/blob/master/src/proto/grpc/reflection/v1/reflection.proto Note that a server is under no obligation to return a complete list of all methods it supports. For example, a reverse proxy may support server reflection diff --git a/doc/service_config.md b/doc/service_config.md index 57f5e1989e8..6312cda7f62 100644 --- a/doc/service_config.md +++ b/doc/service_config.md @@ -62,12 +62,12 @@ DNS](https://github.com/grpc/proposal/blob/master/A2-service-configs-in-dns.md). Here is an example service config in protobuf form: -``` +```textproto { - // Use round_robin LB policy. + # Use round_robin LB policy. load_balancing_config: { round_robin: {} } - // This method config applies to method "foo/bar" and to all methods - // of service "baz". + # This method config applies to method "foo/bar" and to all methods + # of service "baz". method_config: { name: { service: "foo" @@ -76,7 +76,7 @@ Here is an example service config in protobuf form: name: { service: "baz" } - // Default timeout for matching methods. + # Default timeout for matching methods. timeout: { seconds: 1 nanos: 1 @@ -87,7 +87,7 @@ Here is an example service config in protobuf form: Here is the same example service config in JSON form: -``` +```json { "loadBalancingConfig": [ { "round_robin": {} } ], "methodConfig": [ diff --git a/doc/statuscodes.md b/doc/statuscodes.md index af2774d6ffe..e45f825176e 100644 --- a/doc/statuscodes.md +++ b/doc/statuscodes.md @@ -24,8 +24,10 @@ statuses are defined as such: | UNAUTHENTICATED | 16 | The request does not have valid authentication credentials for the operation. | All RPCs started at a client return a `status` object composed of an integer -`code` and a string `message`. The server-side can choose the status it -returns for a given RPC. +`code` and a string `message`. The server-side can choose the status it returns +for a given RPC. Applications should only use values defined above. gRPC libraries +that encounter values outside this range must either propagate them directly or +convert them to UNKNOWN. The gRPC client and server-side implementations may also generate and return `status` on their own when errors happen. Only a subset of diff --git a/doc/xds-test-descriptions.md b/doc/xds-test-descriptions.md index 6a2cee354f9..8bd482ab01a 100644 --- a/doc/xds-test-descriptions.md +++ b/doc/xds-test-descriptions.md @@ -22,7 +22,7 @@ In addition, when handling requests, if the initial request metadata contains th - If the value matches `sleep-`, the server should wait the specified number of seconds before resuming behavior matching and RPC processing. - If the value matches `keep-open`, the server should never respond to the request and behavior matching ends. - If the value matches `error-code-`, the server should respond with the specified status code and behavior matching ends. - - If the value matches `success-on-retry-attempt-`, and the value of the `grpc-previous-rpc-attempts` metadata field is equal to the specified number, the normal RPC processing should resume and behavior matching ends. + - If the value matches `succeed-on-retry-attempt-`, and the value of the `grpc-previous-rpc-attempts` metadata field is equal to the specified number, the normal RPC processing should resume and behavior matching ends. - A value can have a prefix `hostname=` followed by a space. In that case, the rest of the value should only be applied if the specified hostname matches the server's hostname. The `rpc-behavior` header value can have multiple options separated by commas. In that case, the value should be split by commas and the options should be applied in the order specified. If a request has multiple `rpc-behavior` metadata values, each one should be processed that way in order. diff --git a/examples/android/helloworld/app/build.gradle b/examples/android/helloworld/app/build.gradle index 0127b24d700..b2d546cf6c0 100644 --- a/examples/android/helloworld/app/build.gradle +++ b/examples/android/helloworld/app/build.gradle @@ -31,6 +31,7 @@ android { arguments '-Dhelloworld_GRPC_CPP_PLUGIN_EXECUTABLE=' + grpc_cpp_plugin arguments '-Dprotobuf_INSTALL=OFF' arguments '-Dutf8_range_ENABLE_INSTALL=OFF' + version "3.22.1" } } ndk.abiFilters 'x86' @@ -47,6 +48,7 @@ android { externalNativeBuild { cmake { path "CMakeLists.txt" + version "3.22.1" } } } diff --git a/examples/cpp/cmake/common.cmake b/examples/cpp/cmake/common.cmake index 5c3d1053182..df9bc4db0f8 100644 --- a/examples/cpp/cmake/common.cmake +++ b/examples/cpp/cmake/common.cmake @@ -51,6 +51,7 @@ if(GRPC_AS_SUBMODULE) # this build. set(_PROTOBUF_LIBPROTOBUF libprotobuf) set(_REFLECTION grpc++_reflection) + set(_ORCA_SERVICE grpcpp_orca_service) if(CMAKE_CROSSCOMPILING) find_program(_PROTOBUF_PROTOC protoc) else() diff --git a/examples/cpp/csm/Dockerfile.client b/examples/cpp/csm/Dockerfile.client index 8773240b916..69f01f5248a 100644 --- a/examples/cpp/csm/Dockerfile.client +++ b/examples/cpp/csm/Dockerfile.client @@ -22,7 +22,7 @@ RUN ln -s /usr/bin/python3 /usr/bin/python RUN mkdir /artifacts COPY . . -RUN OVERRIDE_BAZEL_VERSION=5.4.0 tools/bazel build //examples/cpp/csm:csm_greeter_client +RUN tools/bazel build //examples/cpp/csm:csm_greeter_client RUN cp -rL /workdir/bazel-bin/examples/cpp/csm/csm_greeter_client /artifacts/ FROM python:3.9-slim-bookworm diff --git a/examples/cpp/csm/README.md b/examples/cpp/csm/README.md index 5774d2b33b8..db766e42f1a 100644 --- a/examples/cpp/csm/README.md +++ b/examples/cpp/csm/README.md @@ -6,6 +6,30 @@ This CSM example builds on the [Hello World Example](https://github.com/grpc/grp The client takes the following command-line arguments - * target - By default, the client tries to connect to the xDS "xds:///helloworld:50051" and gRPC would use xDS to resolve this target and connect to the server backend. This can be overriden to change the target. +* cookie_name - session affinity cookie name. Defaults to "GSSA" +* delay_s - delay (in seconds) between the RPCs. Default value is 5 + The server takes the following command-line arguments - * port - Port on which the Hello World service is run. Defaults to 50051. + +## Building + +From the gRPC workspace folder: + +Client: +``` +docker build -f examples/cpp/csm/Dockerfile.client +``` +Server: +``` +docker build -f examples/cpp/csm/Dockerfile.server +``` + +To push to a registry, add a tag to the image either by adding a `-t` flag to `docker build` command above or run: + +``` +docker image tag ${sha from build command above} ${tag} +``` + +And then push the tagged image using `docker push` \ No newline at end of file diff --git a/examples/cpp/csm/csm_greeter_client.cc b/examples/cpp/csm/csm_greeter_client.cc index f780928c683..a689fdfa0d2 100644 --- a/examples/cpp/csm/csm_greeter_client.cc +++ b/examples/cpp/csm/csm_greeter_client.cc @@ -16,15 +16,20 @@ * */ +#include + +#include #include #include #include -#include +#include #include #include "absl/flags/flag.h" #include "absl/flags/parse.h" +#include "absl/strings/str_join.h" #include "absl/strings/str_split.h" +#include "absl/types/optional.h" #include "opentelemetry/exporters/prometheus/exporter_factory.h" #include "opentelemetry/exporters/prometheus/exporter_options.h" #include "opentelemetry/sdk/metrics/meter_provider.h" @@ -40,6 +45,8 @@ #endif ABSL_FLAG(std::string, target, "xds:///helloworld:50051", "Target string"); +ABSL_FLAG(std::string, cookie_name, "GSSA", "Cookie name"); +ABSL_FLAG(uint, delay_s, 5, "Delay between requests"); using grpc::Channel; using grpc::ClientContext; @@ -48,15 +55,13 @@ using helloworld::Greeter; using helloworld::HelloReply; using helloworld::HelloRequest; +namespace { + struct Cookie { std::string name; std::string value; std::set attributes; - std::pair Header() const { - return std::make_pair("cookie", absl::StrFormat("%s=%s", name, value)); - } - template friend void AbslStringify(Sink& sink, const Cookie& cookie) { absl::Format(&sink, "(Cookie: %s, value: %s, attributes: {%s})", @@ -65,49 +70,45 @@ struct Cookie { } }; -class GreeterClient { - protected: - static Cookie ParseCookie(absl::string_view header) { - Cookie cookie; - std::pair name_value = - absl::StrSplit(header, absl::MaxSplits('=', 1)); - cookie.name = std::string(name_value.first); - std::pair value_attrs = - absl::StrSplit(name_value.second, absl::MaxSplits(';', 1)); - cookie.value = std::string(value_attrs.first); - for (absl::string_view segment : absl::StrSplit(value_attrs.second, ';')) { - cookie.attributes.emplace(absl::StripAsciiWhitespace(segment)); - } - return cookie; +Cookie ParseCookie(absl::string_view header) { + Cookie cookie; + std::pair name_value = + absl::StrSplit(header, absl::MaxSplits('=', 1)); + cookie.name = std::string(name_value.first); + std::pair value_attrs = + absl::StrSplit(name_value.second, absl::MaxSplits(';', 1)); + cookie.value = std::string(value_attrs.first); + for (absl::string_view segment : absl::StrSplit(value_attrs.second, ';')) { + cookie.attributes.emplace(absl::StripAsciiWhitespace(segment)); } + return cookie; +} - static std::vector GetCookies( - const std::multimap& - server_initial_metadata, - absl::string_view cookie_name) { - std::vector values; - auto pair = server_initial_metadata.equal_range("set-cookie"); - for (auto it = pair.first; it != pair.second; ++it) { - gpr_log(GPR_INFO, "set-cookie header: %s", it->second.data()); - const auto cookie = ParseCookie(it->second.data()); - if (cookie.name == cookie_name) { - values.emplace_back(cookie); - } +std::vector GetCookies( + const std::multimap& initial_metadata, + absl::string_view cookie_name) { + std::vector values; + auto pair = initial_metadata.equal_range("set-cookie"); + for (auto it = pair.first; it != pair.second; ++it) { + const auto cookie = ParseCookie(it->second.data()); + if (cookie.name == cookie_name) { + values.emplace_back(std::move(cookie)); } - return values; } + return values; +} +class GreeterClient { public: - GreeterClient(std::shared_ptr channel) - : stub_(Greeter::NewStub(channel)) {} + GreeterClient(std::shared_ptr channel, absl::string_view cookie_name) + : stub_(Greeter::NewStub(channel)), cookie_name_(cookie_name) {} // Assembles the client's payload, sends it and presents the response back // from the server. - std::string SayHello(const std::string& user, Cookie* cookieFromServer, - const Cookie* cookieToServer) { + void SayHello() { // Data we are sending to the server. HelloRequest request; - request.set_name(user); + request.set_name("world"); // Container for the data we expect from the server. HelloReply reply; @@ -119,59 +120,45 @@ class GreeterClient { // The actual RPC. std::mutex mu; std::condition_variable cv; - bool done = false; - Status status; - if (cookieToServer != NULL) { - std::pair cookieHeader = - cookieToServer->Header(); - context.AddMetadata(cookieHeader.first, cookieHeader.second); + absl::optional status; + // Set the cookie header if we already got a cookie from the server + if (cookie_from_server_.has_value()) { + context.AddMetadata("cookie", + absl::StrFormat("%s=%s", cookie_from_server_->name, + cookie_from_server_->value)); } - stub_->async()->SayHello(&context, &request, &reply, - [&mu, &cv, &done, &status](Status s) { - status = std::move(s); - std::lock_guard lock(mu); - done = true; - cv.notify_one(); - }); - std::unique_lock lock(mu); - while (!done) { + stub_->async()->SayHello(&context, &request, &reply, [&](Status s) { + std::lock_guard lock(mu); + status = std::move(s); + cv.notify_one(); + }); + while (!status.has_value()) { cv.wait(lock); } - - // Act upon its status. - if (status.ok()) { - if (cookieFromServer != NULL) { - const std::multimap& - server_initial_metadata = context.GetServerInitialMetadata(); - std::vector cookies = - GetCookies(server_initial_metadata, "GSSA"); - if (!cookies.empty()) { - *cookieFromServer = cookies.front(); - } - } - return reply.message(); - } else { - std::cout << status.error_code() << ": " << status.error_message() - << std::endl; - return "RPC failed"; + if (!status->ok()) { + std::cout << "RPC failed" << status->error_code() << ": " + << status->error_message() << std::endl; + return; } + const std::multimap& + server_initial_metadata = context.GetServerInitialMetadata(); + // Update a cookie after a successful request + std::vector cookies = + GetCookies(server_initial_metadata, cookie_name_); + if (!cookies.empty()) { + cookie_from_server_.emplace(std::move(cookies.front())); + } + std::cout << "Greeter received: " << reply.message() << std::endl; } private: std::unique_ptr stub_; + std::string cookie_name_; + absl::optional cookie_from_server_; }; -static void sayHello(GreeterClient& greeter, Cookie* cookieFromServer, - const Cookie* cookieToServer) { - std::string user("world"); - std::string reply = greeter.SayHello(user, cookieFromServer, cookieToServer); - std::cout << "Greeter received: " << reply << std::endl; - std::this_thread::sleep_for(std::chrono::seconds(5)); -} - -int main(int argc, char** argv) { - absl::ParseCommandLine(argc, argv); +absl::StatusOr InitializeObservability() { opentelemetry::exporter::metrics::PrometheusExporterOptions opts; // default was "localhost:9464" which causes connection issue across GKE pods opts.url = "0.0.0.0:9464"; @@ -180,21 +167,29 @@ int main(int argc, char** argv) { auto meter_provider = std::make_shared(); meter_provider->AddMetricReader(std::move(prometheus_exporter)); - auto observability = grpc::experimental::CsmObservabilityBuilder() - .SetMeterProvider(std::move(meter_provider)) - .BuildAndRegister(); + return grpc::CsmObservabilityBuilder() + .SetMeterProvider(std::move(meter_provider)) + .BuildAndRegister(); +} + +} // namespace + +int main(int argc, char** argv) { + absl::ParseCommandLine(argc, argv); + // Setup the observability + auto observability = InitializeObservability(); if (!observability.ok()) { std::cerr << "CsmObservability::Init() failed: " << observability.status().ToString() << std::endl; return static_cast(observability.status().code()); } - GreeterClient greeter(grpc::CreateChannel( - absl::GetFlag(FLAGS_target), grpc::InsecureChannelCredentials())); - - Cookie session_cookie; - sayHello(greeter, &session_cookie, NULL); + GreeterClient greeter(grpc::CreateChannel(absl::GetFlag(FLAGS_target), + grpc::InsecureChannelCredentials()), + absl::GetFlag(FLAGS_cookie_name)); while (true) { - sayHello(greeter, NULL, &session_cookie); + greeter.SayHello(); + std::this_thread::sleep_for( + std::chrono::seconds(absl::GetFlag(FLAGS_delay_s))); } return 0; } diff --git a/examples/cpp/csm/csm_greeter_server.cc b/examples/cpp/csm/csm_greeter_server.cc index 0e6d24bfd15..c5d7857e7fa 100644 --- a/examples/cpp/csm/csm_greeter_server.cc +++ b/examples/cpp/csm/csm_greeter_server.cc @@ -108,7 +108,7 @@ int main(int argc, char** argv) { auto meter_provider = std::make_shared(); meter_provider->AddMetricReader(std::move(prometheus_exporter)); - auto observability = grpc::experimental::CsmObservabilityBuilder() + auto observability = grpc::CsmObservabilityBuilder() .SetMeterProvider(std::move(meter_provider)) .BuildAndRegister(); if (!observability.ok()) { diff --git a/examples/cpp/deadline/BUILD b/examples/cpp/deadline/BUILD new file mode 100644 index 00000000000..03ef7700eed --- /dev/null +++ b/examples/cpp/deadline/BUILD @@ -0,0 +1,39 @@ +# Copyright 2023 the gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +licenses(["notice"]) + +cc_binary( + name = "client", + srcs = ["client.cc"], + defines = ["BAZEL_BUILD"], + deps = [ + "//:grpc++", + "//examples/protos:helloworld_cc_grpc", + "@com_google_absl//absl/flags:flag", + "@com_google_absl//absl/flags:parse", + ], +) + +cc_binary( + name = "server", + srcs = ["server.cc"], + defines = ["BAZEL_BUILD"], + deps = [ + "//:grpc++", + "//examples/protos:helloworld_cc_grpc", + "@com_google_absl//absl/flags:flag", + "@com_google_absl//absl/flags:parse", + ], +) diff --git a/examples/cpp/deadline/CMakeLists.txt b/examples/cpp/deadline/CMakeLists.txt new file mode 100644 index 00000000000..1cf3462e31c --- /dev/null +++ b/examples/cpp/deadline/CMakeLists.txt @@ -0,0 +1,70 @@ +# Copyright 2023 the gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Assumes protobuf and gRPC have been installed using cmake. +# See cmake_externalproject/CMakeLists.txt for all-in-one cmake build +# that automatically builds all the dependencies before building this example. + +cmake_minimum_required(VERSION 3.8) + +project(Deadline C CXX) + +include(../cmake/common.cmake) + +# Proto files +get_filename_component(hw_proto "../../protos/helloworld.proto" ABSOLUTE) +get_filename_component(hw_proto_path "${hw_proto}" PATH) + +# Generated sources +set(hw_proto_srcs "${CMAKE_CURRENT_BINARY_DIR}/helloworld.pb.cc") +set(hw_proto_hdrs "${CMAKE_CURRENT_BINARY_DIR}/helloworld.pb.h") +set(hw_grpc_srcs "${CMAKE_CURRENT_BINARY_DIR}/helloworld.grpc.pb.cc") +set(hw_grpc_hdrs "${CMAKE_CURRENT_BINARY_DIR}/helloworld.grpc.pb.h") +add_custom_command( + OUTPUT "${hw_proto_srcs}" "${hw_proto_hdrs}" "${hw_grpc_srcs}" "${hw_grpc_hdrs}" + COMMAND ${_PROTOBUF_PROTOC} + ARGS --grpc_out "${CMAKE_CURRENT_BINARY_DIR}" + --cpp_out "${CMAKE_CURRENT_BINARY_DIR}" + -I "${hw_proto_path}" + --plugin=protoc-gen-grpc="${_GRPC_CPP_PLUGIN_EXECUTABLE}" + "${hw_proto}" + DEPENDS "${hw_proto}") + +# Include generated *.pb.h files +include_directories("${CMAKE_CURRENT_BINARY_DIR}") + +# hw_grpc_proto +add_library(hw_grpc_proto + ${hw_grpc_srcs} + ${hw_grpc_hdrs} + ${hw_proto_srcs} + ${hw_proto_hdrs}) +target_link_libraries(hw_grpc_proto + ${_REFLECTION} + ${_GRPC_GRPCPP} + ${_PROTOBUF_LIBPROTOBUF}) + +# Targets greeter_(client|server) +foreach(_target + client server) + add_executable(${_target} "${_target}.cc") + target_link_libraries(${_target} + hw_grpc_proto + absl::flags + absl::flags_parse + absl::strings + ${_REFLECTION} + ${_GRPC_GRPCPP} + ${_PROTOBUF_LIBPROTOBUF}) +endforeach() diff --git a/examples/cpp/deadline/README.md b/examples/cpp/deadline/README.md new file mode 100644 index 00000000000..cfa8ee9b720 --- /dev/null +++ b/examples/cpp/deadline/README.md @@ -0,0 +1,35 @@ +# Deadline Example + +## Overview + +This example shows you how to use deadline when calling calls. + +### Try it! + +Once you have working gRPC, you can build this example using either bazel or cmake. + +Run the server, which will listen on port 50051: + +```sh +$ ./server +``` + +Run the client (in a different terminal): + +```sh +$ ./client +``` + +To simulate the test scenario, the test server implements following functionalities: +- Response Delay: The server intentionally delays its response for `delay` request messages to induce timeout conditions. +- Deadline Propagation: Upon receiving a request with the `[propagate me]` prefix, the server forwards it back to itselt. + This simulates the propagation of deadlines within the system. + +If things go smoothly, you will see the client output: + +``` +[Successful request] wanted = 0, got = 0 +[Exceeds deadline] wanted = 4, got = 4 +[Successful request with propagated deadline] wanted = 0, got = 0 +[Exceeds propagated deadline] wanted = 4, got = 4 +``` diff --git a/examples/cpp/deadline/client.cc b/examples/cpp/deadline/client.cc new file mode 100644 index 00000000000..398be745733 --- /dev/null +++ b/examples/cpp/deadline/client.cc @@ -0,0 +1,106 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include +#include +#include +#include +#include +#include + +#include "absl/flags/flag.h" +#include "absl/flags/parse.h" +#include "absl/strings/str_cat.h" + +#include + +#ifdef BAZEL_BUILD +#include "examples/protos/helloworld.grpc.pb.h" +#else +#include "helloworld.grpc.pb.h" +#endif + +ABSL_FLAG(std::string, target, "localhost:50051", "Server address"); + +using grpc::Channel; +using grpc::ClientContext; +using grpc::Status; +using grpc::StatusCode; +using helloworld::Greeter; +using helloworld::HelloReply; +using helloworld::HelloRequest; + +void unaryCall(std::shared_ptr channel, std::string label, + std::string message, grpc::StatusCode expected_code) { + std::unique_ptr stub = Greeter::NewStub(channel); + + // Data we are sending to the server. + HelloRequest request; + request.set_name(message); + + // Container for the data we expect from the server. + HelloReply reply; + + // Context for the client. It could be used to convey extra information to + // the server and/or tweak certain RPC behaviors. + ClientContext context; + + // Set 1 second timeout + context.set_deadline(std::chrono::system_clock::now() + + std::chrono::seconds(1)); + + // The actual RPC. + std::mutex mu; + std::condition_variable cv; + bool done = false; + Status status; + stub->async()->SayHello(&context, &request, &reply, + [&mu, &cv, &done, &status](Status s) { + status = std::move(s); + std::lock_guard lock(mu); + done = true; + cv.notify_one(); + }); + + std::unique_lock lock(mu); + while (!done) { + cv.wait(lock); + } + + // Act upon its status. + std::cout << "[" << label << "] wanted = " << expected_code + << ", got = " << status.error_code() << std::endl; +} + +int main(int argc, char** argv) { + absl::ParseCommandLine(argc, argv); + // Instantiate the client. It requires a channel, out of which the actual RPCs + // are created. This channel models a connection to an endpoint specified by + // the argument "--target=" which is the only expected argument. + std::string target_str = absl::GetFlag(FLAGS_target); + // We indicate that the channel isn't authenticated (use of + // InsecureChannelCredentials()). + std::shared_ptr channel = + grpc::CreateChannel(target_str, grpc::InsecureChannelCredentials()); + // Making test calls + unaryCall(channel, "Successful request", "world", grpc::StatusCode::OK); + unaryCall(channel, "Exceeds deadline", "delay", + grpc::StatusCode::DEADLINE_EXCEEDED); + unaryCall(channel, "Successful request with propagated deadline", + "[propagate me]world", grpc::StatusCode::OK); + unaryCall(channel, "Exceeds propagated deadline", + "[propagate me][propagate me]world", + grpc::StatusCode::DEADLINE_EXCEEDED); + return 0; +} diff --git a/examples/cpp/deadline/server.cc b/examples/cpp/deadline/server.cc new file mode 100644 index 00000000000..eae5c0e1d08 --- /dev/null +++ b/examples/cpp/deadline/server.cc @@ -0,0 +1,130 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include +#include +#include +#include +#include +#include +#include + +#include "absl/flags/flag.h" +#include "absl/flags/parse.h" +#include "absl/strings/match.h" +#include "absl/strings/str_format.h" + +#include + +#ifdef BAZEL_BUILD +#include "examples/protos/helloworld.grpc.pb.h" +#else +#include "helloworld.grpc.pb.h" +#endif + +ABSL_FLAG(uint16_t, port, 50051, "Server port for the service"); + +using grpc::CallbackServerContext; +using grpc::Channel; +using grpc::ClientContext; + +using grpc::Server; +using grpc::ServerBidiReactor; +using grpc::ServerBuilder; +using grpc::ServerUnaryReactor; +using grpc::Status; +using helloworld::Greeter; +using helloworld::HelloReply; +using helloworld::HelloRequest; + +// Logic behind the server's behavior. +class GreeterServiceImpl final : public Greeter::CallbackService { + public: + GreeterServiceImpl(const std::string& self_address) { + self_channel_ = + grpc::CreateChannel(self_address, grpc::InsecureChannelCredentials()); + } + + private: + ServerUnaryReactor* SayHello(CallbackServerContext* context, + const HelloRequest* request, + HelloReply* reply) override { + if (absl::StartsWith(request->name(), "[propagate me]")) { + std::unique_ptr stub = Greeter::NewStub(self_channel_); + std::this_thread::sleep_for(std::chrono::milliseconds(800)); + // Forwarding this call to the self as a different call + HelloRequest new_request; + new_request.set_name(request->name().substr(14)); + std::unique_ptr new_context = + ClientContext::FromCallbackServerContext(*context); + std::mutex mu; + std::condition_variable cv; + bool done = false; + Status status; + stub->async()->SayHello(new_context.get(), &new_request, reply, + [&mu, &cv, &done, &status](Status s) { + status = std::move(s); + std::lock_guard lock(mu); + done = true; + cv.notify_one(); + }); + std::unique_lock lock(mu); + while (!done) { + cv.wait(lock); + } + ServerUnaryReactor* reactor = context->DefaultReactor(); + reactor->Finish(status); + return reactor; + } + + if (request->name() == "delay") { + // Intentionally delay for 1.5 seconds so that + // the client will see deadline_exceeded. + std::this_thread::sleep_for(std::chrono::milliseconds(1500)); + } + + reply->set_message(request->name()); + + ServerUnaryReactor* reactor = context->DefaultReactor(); + reactor->Finish(Status::OK); + return reactor; + } + + std::shared_ptr self_channel_; +}; + +void RunServer(uint16_t port) { + std::string server_address = absl::StrFormat("0.0.0.0:%d", port); + GreeterServiceImpl service(server_address); + + ServerBuilder builder; + // Listen on the given address without any authentication mechanism. + builder.AddListeningPort(server_address, grpc::InsecureServerCredentials()); + // Register "service" as the instance through which we'll communicate with + // clients. In this case it corresponds to an *synchronous* service. + builder.RegisterService(&service); + // Finally assemble the server. + std::unique_ptr server(builder.BuildAndStart()); + std::cout << "Server listening on " << server_address << std::endl; + + // Wait for the server to shutdown. Note that some other thread must be + // responsible for shutting down the server for this call to ever return. + server->Wait(); +} + +int main(int argc, char** argv) { + absl::ParseCommandLine(argc, argv); + RunServer(absl::GetFlag(FLAGS_port)); + return 0; +} diff --git a/examples/cpp/debugging/BUILD b/examples/cpp/debugging/BUILD new file mode 100644 index 00000000000..c75995395d1 --- /dev/null +++ b/examples/cpp/debugging/BUILD @@ -0,0 +1,42 @@ +# Copyright 2023 the gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +licenses(["notice"]) + +cc_binary( + name = "crashing_greeter_client", + srcs = ["crashing_greeter_client.cc"], + defines = ["BAZEL_BUILD"], + deps = [ + "//:grpc++", + "//examples/protos:helloworld_cc_grpc", + "@com_google_absl//absl/flags:flag", + "@com_google_absl//absl/flags:parse", + ], +) + +cc_binary( + name = "greeter_callback_server_admin", + srcs = ["greeter_callback_server_admin.cc"], + defines = ["BAZEL_BUILD"], + deps = [ + "//:grpc++", + "//:grpc++_reflection", + "//:grpcpp_admin", + "//examples/protos:helloworld_cc_grpc", + "@com_google_absl//absl/flags:flag", + "@com_google_absl//absl/flags:parse", + "@com_google_absl//absl/strings:str_format", + ], +) diff --git a/examples/cpp/debugging/README.md b/examples/cpp/debugging/README.md new file mode 100644 index 00000000000..09a75146d46 --- /dev/null +++ b/examples/cpp/debugging/README.md @@ -0,0 +1,132 @@ +# gRPC C++ Debugging Example + +This example demonstrates a handful of ways you can debug your gRPC C++ applications. + +## Enabling Trace Logs + +gRPC allows you to configure more detailed log output for various aspects of gRPC behavior. The tracing log generation might have a large overhead and result in significantly larger log file sizes, especially when you try to trace transport or timer_check. But it is a powerful tool in your debugging toolkit. + +### The Most Verbose Logging + +Specify environment variables, then run your application: + +``` +GRPC_VERBOSITY=debug +GRPC_TRACE=all +``` + +For more granularity, please see +[environment_variables](https://github.com/grpc/grpc/blob/master/doc/environment_variables.md). + +### Debug Transport Protocol + +``` +GRPC_VERBOSITY=debug +GRPC_TRACE=tcp,http,secure_endpoint,transport_security +``` + +### Debug Connection Behavior + +``` +GRPC_VERBOSITY=debug +GRPC_TRACE=call_error,connectivity_state,pick_first,round_robin,glb +``` + +## GDB and other debuggers + +`gdb` (and the like) are tools that lets you inspect your application while it is running, view stack traces on exceptions, pause and step through code at specified points or under certain conditions, etc. See https://www.sourceware.org/gdb/ + +### Inspecting errors + +``` +bazel build --config=dbg examples/cpp/debugging:crashing_greeter_client +gdb -ex run \ + --args ./bazel-bin/examples/cpp/debugging/crashing_greeter_client \ + --crash_on_errors=true \ + --target=localhork:50051 +``` + +Once the exception is thrown, you can use `bt` to see the stack trace and examine the crash, `info threads` to get the set of threads, etc. See the [GDB documentation](https://sourceware.org/gdb/current/onlinedocs/gdb.html/) for a more complete list of available features and commands. + +### Breaking inside a function + +After building the application above, this will break inside gRPC generated stub code: + +``` +gdb -ex 'b helloworld::Greeter::Stub::SayHello' \ + -ex run \ + --args ./bazel-bin/examples/cpp/debugging/crashing_greeter_client \ + --crash_on_errors=true \ + --target=localhork:50051 +``` + +## gRPC Admin Interface: Live Channel Tracing + +The [gRPC Admin Service](https://github.com/grpc/proposal/blob/master/A38-admin-interface-api.md) +provides a convenient API in each gRPC language to improve the usability of +creating a gRPC server with admin services to expose states in the gRPC library. +This includes channelz, which is a channel tracing feature; it tracks statistics +like how many messages have been sent, how many of them failed, what are the +connected sockets. See the [Channelz design doc](https://github.com/grpc/proposal/blob/master/A14-channelz.md). + +### Integrating the gRPC Admin Service Into Your Server + +As seen in the `greeter_callback_admin_server` target, you canenable admin services by using the `AddAdminServices` method. + +``` +grpc::ServerBuilder builder; +grpc::AddAdminServices(&builder); +builder.AddListeningPort(":50051", grpc::ServerCredentials(...)); +std::unique_ptr server(builder.BuildAndStart()); +``` + +### Using grpcdebug + +grpcdebug is a tool created to access the metrics from channelz and health services. + +#### Installing the grpcdebug tool + +The source code is located in a github project +[grpc-ecosystem/grpcdebug](https://github.com/grpc-ecosystem/grpcdebug). You +can either download [the latest built version] +(https://github.com/grpc-ecosystem/grpcdebug/releases/latest) (recommended) or +follow the README.md to build it yourself. + +#### Running the grpcdebug tool +##### Usage +`grpcdebug [flags] channelz [argument]` + + +| Command | Argument | Description | +| :--------- | :------------------: | :------------------------------------------------ | +| channel | \ | Display channel states in a human readable way. | +| channels | | Lists client channels for the target application. | +| server | \ | Displays server state in a human readable way. | +| servers | | Lists servers in a human readable way. | +| socket | \ | Displays socket states in a human readable way. | +| subchannel | \ | Display subchannel states in human readable way. | + +Generally, you will start with either `servers` or `channels` and then work down +to the details + +##### Getting overall server info + +To begin with, build and run the server binary in the background + +``` +bazel build --config=dbg examples/cpp/debugging:all +./bazel-bin/examples/cpp/debugging/greeter_callback_server_admin& +``` + +You can then inspect the server +```bash +grpcdebug localhost:50051 channelz servers +``` + +This will show you the server ids with their activity +```text +Server ID Listen Addresses Calls(Started/Succeeded/Failed) Last Call Started +1 [[::]:50051] 38/34/3 now +``` + +For more information about `grpcdebug` features, please see [the grpcdebug documentation](https://github.com/grpc-ecosystem/grpcdebug) diff --git a/examples/cpp/debugging/crashing_greeter_client.cc b/examples/cpp/debugging/crashing_greeter_client.cc new file mode 100644 index 00000000000..732535539f1 --- /dev/null +++ b/examples/cpp/debugging/crashing_greeter_client.cc @@ -0,0 +1,92 @@ +// Copyright 2023 The gRPC Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include +#include +#include + +#include "absl/flags/flag.h" +#include "absl/flags/parse.h" + +#include + +#ifdef BAZEL_BUILD +#include "examples/protos/helloworld.grpc.pb.h" +#else +#include "helloworld.grpc.pb.h" +#endif + +ABSL_FLAG(bool, crash_on_errors, false, + "Crash the application on client errors"); +ABSL_FLAG(std::string, target, "localhost:50051", "Server address"); + +using grpc::Channel; +using grpc::ClientContext; +using grpc::Status; +using helloworld::Greeter; +using helloworld::HelloReply; +using helloworld::HelloRequest; + +class GreeterClient { + public: + GreeterClient(std::shared_ptr channel) + : stub_(Greeter::NewStub(channel)) {} + + // Assembles the client's payload, sends it and presents the response back + // from the server. + std::string SayHello(const std::string& user) { + // Data we are sending to the server. + HelloRequest request; + request.set_name(user); + + // Container for the data we expect from the server. + HelloReply reply; + + // Context for the client. It could be used to convey extra information to + // the server and/or tweak certain RPC behaviors. + ClientContext context; + + // The actual RPC. + Status status = stub_->SayHello(&context, request, &reply); + + // Act upon the status of the actual RPC. + if (absl::GetFlag(FLAGS_crash_on_errors)) { + assert(status.ok()); + } + if (status.ok()) { + return reply.message(); + } else { + return "RPC failed"; + } + } + + private: + std::unique_ptr stub_; +}; + +int main(int argc, char** argv) { + absl::ParseCommandLine(argc, argv); + // Instantiate the client. It requires a channel, out of which the actual RPCs + // are created. This channel models a connection to an endpoint specified by + // the argument "--target=" which is the only expected argument. + // We indicate that the channel isn't authenticated (use of + // InsecureChannelCredentials()). + GreeterClient greeter(grpc::CreateChannel( + absl::GetFlag(FLAGS_target), grpc::InsecureChannelCredentials())); + std::string user("world"); + std::string reply = greeter.SayHello(user); + std::cout << "Greeter received: " << reply << std::endl; + + return 0; +} diff --git a/examples/cpp/debugging/greeter_callback_server_admin.cc b/examples/cpp/debugging/greeter_callback_server_admin.cc new file mode 100644 index 00000000000..397503f4e6d --- /dev/null +++ b/examples/cpp/debugging/greeter_callback_server_admin.cc @@ -0,0 +1,86 @@ +// Copyright 2023 The gRPC Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include +#include +#include + +#include "absl/flags/flag.h" +#include "absl/flags/parse.h" +#include "absl/strings/str_format.h" + +#include +#include +#include +#include + +#ifdef BAZEL_BUILD +#include "examples/protos/helloworld.grpc.pb.h" +#else +#include "helloworld.grpc.pb.h" +#endif + +ABSL_FLAG(uint16_t, port, 50051, "Server port for the service"); + +using grpc::CallbackServerContext; +using grpc::Server; +using grpc::ServerBuilder; +using grpc::ServerUnaryReactor; +using grpc::Status; +using helloworld::Greeter; +using helloworld::HelloReply; +using helloworld::HelloRequest; + +// Logic and data behind the server's behavior. +class GreeterServiceImpl final : public Greeter::CallbackService { + ServerUnaryReactor* SayHello(CallbackServerContext* context, + const HelloRequest* request, + HelloReply* reply) override { + std::string prefix("Hello "); + reply->set_message(prefix + request->name()); + + ServerUnaryReactor* reactor = context->DefaultReactor(); + reactor->Finish(Status::OK); + return reactor; + } +}; + +void RunServer(uint16_t port) { + std::string server_address = absl::StrFormat("0.0.0.0:%d", port); + GreeterServiceImpl service; + + grpc::EnableDefaultHealthCheckService(true); + grpc::reflection::InitProtoReflectionServerBuilderPlugin(); + ServerBuilder builder; + // Enable gRPC Admin Services + grpc::AddAdminServices(&builder); + // Listen on the given address without any authentication mechanism. + builder.AddListeningPort(server_address, grpc::InsecureServerCredentials()); + // Register "service" as the instance through which we'll communicate with + // clients. In this case it corresponds to an *synchronous* service. + builder.RegisterService(&service); + // Finally assemble the server. + std::unique_ptr server(builder.BuildAndStart()); + std::cout << "Server listening on " << server_address << std::endl; + + // Wait for the server to shutdown. Note that some other thread must be + // responsible for shutting down the server for this call to ever return. + server->Wait(); +} + +int main(int argc, char** argv) { + absl::ParseCommandLine(argc, argv); + RunServer(absl::GetFlag(FLAGS_port)); + return 0; +} diff --git a/examples/cpp/generic_api/BUILD b/examples/cpp/generic_api/BUILD new file mode 100644 index 00000000000..ed1507d1fec --- /dev/null +++ b/examples/cpp/generic_api/BUILD @@ -0,0 +1,40 @@ +# Copyright 2023 the gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +licenses(["notice"]) + +cc_binary( + name = "greeter_client", + srcs = ["greeter_client.cc"], + defines = ["BAZEL_BUILD"], + deps = [ + "//:grpc++", + "//examples/protos:helloworld_cc_grpc", + "@com_google_absl//absl/flags:flag", + "@com_google_absl//absl/flags:parse", + ], +) + +cc_binary( + name = "greeter_server", + srcs = ["greeter_server.cc"], + defines = ["BAZEL_BUILD"], + deps = [ + "//:grpc++", + "//examples/protos:helloworld_cc_grpc", + "@com_google_absl//absl/flags:flag", + "@com_google_absl//absl/flags:parse", + "@com_google_absl//absl/strings:str_format", + ], +) diff --git a/examples/cpp/generic_api/CMakeLists.txt b/examples/cpp/generic_api/CMakeLists.txt new file mode 100644 index 00000000000..44e3820f0ab --- /dev/null +++ b/examples/cpp/generic_api/CMakeLists.txt @@ -0,0 +1,70 @@ +# Copyright 2023 the gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# cmake build file for C++ helloworld example. +# Assumes protobuf and gRPC have been installed using cmake. +# See cmake_externalproject/CMakeLists.txt for all-in-one cmake build +# that automatically builds all the dependencies before building helloworld. + +cmake_minimum_required(VERSION 3.8) + +project(GenericAPI C CXX) + +include(../cmake/common.cmake) + +# Proto files +get_filename_component(hw_proto "../../protos/helloworld.proto" ABSOLUTE) +get_filename_component(hw_proto_path "${hw_proto}" PATH) + +# Generated sources +set(hw_proto_srcs "${CMAKE_CURRENT_BINARY_DIR}/helloworld.pb.cc") +set(hw_proto_hdrs "${CMAKE_CURRENT_BINARY_DIR}/helloworld.pb.h") +set(hw_grpc_srcs "${CMAKE_CURRENT_BINARY_DIR}/helloworld.grpc.pb.cc") +set(hw_grpc_hdrs "${CMAKE_CURRENT_BINARY_DIR}/helloworld.grpc.pb.h") +add_custom_command( + OUTPUT "${hw_proto_srcs}" "${hw_proto_hdrs}" "${hw_grpc_srcs}" "${hw_grpc_hdrs}" + COMMAND ${_PROTOBUF_PROTOC} + ARGS --grpc_out "${CMAKE_CURRENT_BINARY_DIR}" + --cpp_out "${CMAKE_CURRENT_BINARY_DIR}" + -I "${hw_proto_path}" + --plugin=protoc-gen-grpc="${_GRPC_CPP_PLUGIN_EXECUTABLE}" + "${hw_proto}" + DEPENDS "${hw_proto}") + +# Include generated *.pb.h files +include_directories("${CMAKE_CURRENT_BINARY_DIR}") + +# hw_grpc_proto +add_library(hw_grpc_proto + ${hw_grpc_srcs} + ${hw_grpc_hdrs} + ${hw_proto_srcs} + ${hw_proto_hdrs}) +target_link_libraries(hw_grpc_proto + ${_REFLECTION} + ${_GRPC_GRPCPP} + ${_PROTOBUF_LIBPROTOBUF}) + +# Targets greeter_(client|server) +foreach(_target + greeter_client greeter_server) + add_executable(${_target} "${_target}.cc") + target_link_libraries(${_target} + hw_grpc_proto + absl::flags + absl::flags_parse + ${_REFLECTION} + ${_GRPC_GRPCPP} + ${_PROTOBUF_LIBPROTOBUF}) +endforeach() diff --git a/examples/cpp/generic_api/README.md b/examples/cpp/generic_api/README.md new file mode 100644 index 00000000000..bdb725f8ede --- /dev/null +++ b/examples/cpp/generic_api/README.md @@ -0,0 +1,36 @@ +# Generic API Example + +## Overview + +While generated stub code is often the simpler and best choice for sending and handling API calls, +generic APIs offer unique advantages in specific scenarios, such as proxy implementation. +Their ability to manage multiple message types with a single function makes them particularly handy +in these cases. This example demonstrates how to use generic APIs to achieve this flexibility. + +This example implements `greeter_callback_client` and `greeter_callback_server` using the generic APIs. +Therefore, looking at the difference would be helpful to understand how to use generic APIs. + +### Try it! + +Once you have working gRPC, you can build this example using either bazel or cmake. + +Run the server, which will listen on port 50051: + +```sh +$ ./greeter_server +``` + +Run the client (in a different terminal): + +```sh +$ ./greeter_client +``` + +If things go smoothly, you will see the client output: + +``` +### Send: SayHello(name=World) +Ok. ReplyMessage=Hello World +### Send: SayHello(name=gRPC) +Ok. ReplyMessage=Hello gRPC +``` diff --git a/examples/cpp/generic_api/greeter_client.cc b/examples/cpp/generic_api/greeter_client.cc new file mode 100644 index 00000000000..8435ad6c2e3 --- /dev/null +++ b/examples/cpp/generic_api/greeter_client.cc @@ -0,0 +1,112 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include +#include +#include +#include +#include + +#include "absl/flags/flag.h" +#include "absl/flags/parse.h" +#include "absl/strings/str_format.h" + +#include +#include + +#ifdef BAZEL_BUILD +#include "examples/protos/helloworld.grpc.pb.h" +#else +#include "helloworld.grpc.pb.h" +#endif + +ABSL_FLAG(std::string, target, "localhost:50051", "Server address"); + +using grpc::Channel; +using grpc::ClientContext; +using grpc::Status; +using helloworld::Greeter; +using helloworld::HelloReply; +using helloworld::HelloRequest; + +using ProtoGenericStub = + ::grpc::TemplatedGenericStub<::google::protobuf::Message, + ::google::protobuf::Message>; + +class GreeterClient { + public: + GreeterClient(std::shared_ptr channel) + : stub_(new ProtoGenericStub(channel)) {} + + // Assembles the client's payload, sends it and prints the response back + // from the server. + void SayHello(const std::string& user) { + // Data we are sending to the server. + HelloRequest request; + request.set_name(user); + // Container for the data we expect from the server. + HelloReply reply; + // Context for the client. It could be used to convey extra information to + // the server and/or tweak certain RPC behaviors. + ClientContext context; + // The actual RPC. + std::mutex mu; + std::condition_variable cv; + bool done = false; + Status status; + std::cout << absl::StrFormat("### Send: SayHello(name=%s)", user) + << std::endl; + // Send a unary call using a generic stub. Unlike generated subs, + // this requires to specify the name of call. + stub_->UnaryCall(&context, "/helloworld.Greeter/SayHello", + grpc::StubOptions(), &request, &reply, [&](Status s) { + status = std::move(s); + std::lock_guard lock(mu); + done = true; + cv.notify_one(); + }); + std::unique_lock lock(mu); + while (!done) { + cv.wait(lock); + } + // Handles the reply + if (status.ok()) { + std::cout << absl::StrFormat("Ok. ReplyMessage=%s", reply.message()) + << std::endl; + } else { + std::cout << absl::StrFormat("Failed. Code=%d Message=%s", + status.error_code(), status.error_message()) + << std::endl; + } + } + + private: + // Instead of `Greeter::Stub`, it uses `ProtoGenericStub` to send any calls. + std::unique_ptr stub_; +}; + +int main(int argc, char** argv) { + absl::ParseCommandLine(argc, argv); + // Instantiate the client. It requires a channel, out of which the actual RPCs + // are created. This channel models a connection to an endpoint specified by + // the argument "--target=" which is the only expected argument. + std::string target_str = absl::GetFlag(FLAGS_target); + // We indicate that the channel isn't authenticated (use of + // InsecureChannelCredentials()). + GreeterClient greeter( + grpc::CreateChannel(target_str, grpc::InsecureChannelCredentials())); + greeter.SayHello("World"); + greeter.SayHello("gRPC"); + return 0; +} diff --git a/examples/cpp/generic_api/greeter_server.cc b/examples/cpp/generic_api/greeter_server.cc new file mode 100644 index 00000000000..76d4e39a2ba --- /dev/null +++ b/examples/cpp/generic_api/greeter_server.cc @@ -0,0 +1,143 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include +#include +#include +#include + +#include "absl/flags/flag.h" +#include "absl/flags/parse.h" +#include "absl/strings/str_format.h" +#include "absl/synchronization/mutex.h" + +#include +#include + +#ifdef BAZEL_BUILD +#include "examples/protos/helloworld.grpc.pb.h" +#else +#include "helloworld.grpc.pb.h" +#endif + +ABSL_FLAG(uint16_t, port, 50051, "Server port for the service"); + +using grpc::ByteBuffer; +using grpc::CallbackGenericService; +using grpc::CallbackServerContext; +using grpc::GenericCallbackServerContext; +using grpc::ProtoBufferReader; +using grpc::ProtoBufferWriter; +using grpc::Server; +using grpc::ServerBuilder; +using grpc::ServerGenericBidiReactor; +using grpc::Status; +using grpc::StatusCode; +using helloworld::HelloReply; +using helloworld::HelloRequest; + +// Logic and data behind the server's behavior. +class GreeterServiceImpl final : public CallbackGenericService { + ServerGenericBidiReactor* CreateReactor( + GenericCallbackServerContext* context) override { + if (context->method() == "/helloworld.Greeter/SayHello") { + // Let the SayHello reactor handle this now on. + return new SayHelloReactor(); + } else { + // Forward this to the implementation of the base calss returning + // UNIMPLEMENTED. + return CallbackGenericService::CreateReactor(context); + } + } + + class SayHelloReactor : public ServerGenericBidiReactor { + public: + SayHelloReactor() { StartRead(&request_); } + + private: + Status OnSayHello(const HelloRequest& request, HelloReply* reply) { + if (request.name() == "") { + return Status(StatusCode::INVALID_ARGUMENT, "name is not specified"); + } + reply->set_message(absl::StrFormat("Hello %s", request.name())); + return Status::OK; + } + + void OnDone() override { delete this; } + void OnReadDone(bool ok) override { + if (!ok) { + return; + } + Status result; + // Deserialize a request message + HelloRequest request; + result = grpc::GenericDeserialize( + &request_, &request); + if (!result.ok()) { + Finish(result); + return; + } + // Call the SayHello handler + HelloReply reply; + result = OnSayHello(request, &reply); + if (!result.ok()) { + Finish(result); + return; + } + // Serialize a reply message + bool own_buffer; + result = grpc::GenericSerialize( + reply, &response_, &own_buffer); + if (!result.ok()) { + Finish(result); + return; + } + StartWrite(&response_); + } + void OnWriteDone(bool ok) override { + Finish(ok ? Status::OK + : Status(StatusCode::UNKNOWN, "Unexpected failure")); + } + ByteBuffer request_; + ByteBuffer response_; + }; + + private: + absl::Mutex mu_; +}; + +void RunServer(uint16_t port) { + std::string server_address = absl::StrFormat("0.0.0.0:%d", port); + GreeterServiceImpl service; + grpc::EnableDefaultHealthCheckService(true); + ServerBuilder builder; + // Listen on the given address without any authentication mechanism. + builder.AddListeningPort(server_address, grpc::InsecureServerCredentials()); + // Register "service" as the instance through which we'll communicate with + // clients. In this case it corresponds to an *synchronous* service. + builder.RegisterCallbackGenericService(&service); + // Finally assemble the server. + std::unique_ptr server(builder.BuildAndStart()); + std::cout << "Server listening on " << server_address << std::endl; + + // Wait for the server to shutdown. Note that some other thread must be + // responsible for shutting down the server for this call to ever return. + server->Wait(); +} + +int main(int argc, char** argv) { + absl::ParseCommandLine(argc, argv); + RunServer(absl::GetFlag(FLAGS_port)); + return 0; +} diff --git a/examples/cpp/orca/BUILD b/examples/cpp/orca/BUILD new file mode 100644 index 00000000000..f6641932a91 --- /dev/null +++ b/examples/cpp/orca/BUILD @@ -0,0 +1,29 @@ +# Copyright 2023 the gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +licenses(["notice"]) + +cc_binary( + name = "orca_server", + srcs = ["orca_server.cc"], + defines = ["BAZEL_BUILD"], + deps = [ + "//:grpc++", + "//:grpcpp_orca_service", + "//examples/protos:helloworld_cc_grpc", + "@com_google_absl//absl/flags:flag", + "@com_google_absl//absl/flags:parse", + "@com_google_absl//absl/strings:str_format", + ], +) diff --git a/examples/cpp/orca/README.md b/examples/cpp/orca/README.md new file mode 100644 index 00000000000..680a4970e59 --- /dev/null +++ b/examples/cpp/orca/README.md @@ -0,0 +1,46 @@ +# gRPC Custom Metrics Example + +You can find a complete set of instructions for building gRPC and running the +examples in the [C++ Quick Start][]. + +This example shows how to implement a server that provides custom metrics usable +by custom load balancing policies. + +Server needs to be setup with metrics recorder and Orca service for sending +these metrics to a client: + +```c++ +GreeterServiceImpl service; +// Setup custom metrics recording +auto server_metric_recorder = + grpc::experimental::ServerMetricRecorder::Create(); +grpc::experimental::OrcaService orca_service( + server_metric_recorder.get(), + grpc::experimental::OrcaService::Options().set_min_report_duration( + absl::Seconds(0.1))); +builder.RegisterService(&orca_service); +grpc::ServerBuilder::experimental_type(&builder).EnableCallMetricRecording( + nullptr); +``` + +Afterwards per-request metrics can be reported from the gRPC service +implementation using the metric recorder from the request context: + +```c++ +auto recorder = context->ExperimentalGetCallMetricRecorder(); +if (recorder == nullptr) { + return Status(grpc::StatusCode::INTERNAL, + "Unable to access metrics recorder. Make sure " + "EnableCallMetricRecording had been called."); +} +recorder->RecordCpuUtilizationMetric(0.5); +``` + +Out of band metrics can be reported using the `server_metric_recorder` +directly: + +```c++ +server_metric_recorder->SetCpuUtilization(0.75); +``` + +[C++ Quick Start]: https://grpc.io/docs/languages/cpp/quickstart diff --git a/examples/cpp/orca/orca_server.cc b/examples/cpp/orca/orca_server.cc new file mode 100644 index 00000000000..d05d763a6a5 --- /dev/null +++ b/examples/cpp/orca/orca_server.cc @@ -0,0 +1,101 @@ +/* + * + * Copyright 2023 gRPC authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ +#include +#include +#include +#include + +#include "absl/flags/flag.h" +#include "absl/flags/parse.h" +#include "absl/strings/str_format.h" +#include "examples/protos/helloworld.grpc.pb.h" + +#include +#include +#include +#include +#include + +using grpc::CallbackServerContext; +using grpc::Server; +using grpc::ServerBuilder; +using grpc::ServerUnaryReactor; +using grpc::Status; +using helloworld::Greeter; +using helloworld::HelloReply; +using helloworld::HelloRequest; + +ABSL_FLAG(uint16_t, port, 50051, "Server port for the service"); + +// Logic and data behind the server's behavior. +class GreeterServiceImpl final : public Greeter::CallbackService { + ServerUnaryReactor* SayHello(CallbackServerContext* context, + const HelloRequest* request, + HelloReply* reply) override { + ServerUnaryReactor* reactor = context->DefaultReactor(); + // Obtain the call metric recorder and use it to report the number of + // DB queries (custom cost metric) and CPU utilization. + auto recorder = context->ExperimentalGetCallMetricRecorder(); + if (recorder == nullptr) { + reactor->Finish({grpc::StatusCode::INTERNAL, + "Unable to access metrics recorder. Make sure " + "EnableCallMetricRecording had been called."}); + return reactor; + } + recorder->RecordRequestCostMetric("db_queries", 10); + recorder->RecordCpuUtilizationMetric(0.5); + std::string prefix("Hello "); + reply->set_message(prefix + request->name()); + reactor->Finish(Status::OK); + return reactor; + } +}; + +void RunServer(uint16_t port) { + std::string server_address = absl::StrFormat("0.0.0.0:%d", port); + ServerBuilder builder; + GreeterServiceImpl service; + // Setup custom metrics recording. Note that this recorder may be use to send + // the out-of-band metrics to the client. + auto server_metric_recorder = + grpc::experimental::ServerMetricRecorder::Create(); + grpc::experimental::OrcaService orca_service( + server_metric_recorder.get(), + grpc::experimental::OrcaService::Options().set_min_report_duration( + absl::Seconds(0.1))); + builder.RegisterService(&orca_service); + grpc::ServerBuilder::experimental_type(&builder).EnableCallMetricRecording( + server_metric_recorder.get()); + // Resume setting up gRPC server as usual + grpc::EnableDefaultHealthCheckService(true); + // Listen on the given address without any authentication mechanism. + builder.AddListeningPort(server_address, grpc::InsecureServerCredentials()); + // Register "service" as the instance through which we'll communicate with + // clients. In this case it corresponds to an *synchronous* service. + builder.RegisterService(&service); + // Finally assemble the server. + std::unique_ptr server(builder.BuildAndStart()); + std::cout << "Server listening on " << server_address << std::endl; + server->Wait(); +} + +int main(int argc, char** argv) { + absl::ParseCommandLine(argc, argv); + RunServer(absl::GetFlag(FLAGS_port)); + return 0; +} diff --git a/examples/cpp/otel/BUILD b/examples/cpp/otel/BUILD new file mode 100644 index 00000000000..0a9b75c5464 --- /dev/null +++ b/examples/cpp/otel/BUILD @@ -0,0 +1,47 @@ +# Copyright 2023 the gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +licenses(["notice"]) + +cc_binary( + name = "greeter_callback_client", + srcs = ["greeter_callback_client.cc"], + defines = ["BAZEL_BUILD"], + deps = [ + "//:grpc++", + "//:grpcpp_otel_plugin", + "//examples/protos:helloworld_cc_grpc", + "@com_google_absl//absl/flags:flag", + "@com_google_absl//absl/flags:parse", + "@io_opentelemetry_cpp//exporters/prometheus:prometheus_exporter", + "@io_opentelemetry_cpp//sdk/src/metrics", + ], +) + +cc_binary( + name = "greeter_callback_server", + srcs = ["greeter_callback_server.cc"], + defines = ["BAZEL_BUILD"], + deps = [ + "//:grpc++", + "//:grpc++_reflection", + "//:grpcpp_otel_plugin", + "//examples/protos:helloworld_cc_grpc", + "@com_google_absl//absl/flags:flag", + "@com_google_absl//absl/flags:parse", + "@com_google_absl//absl/strings:str_format", + "@io_opentelemetry_cpp//exporters/prometheus:prometheus_exporter", + "@io_opentelemetry_cpp//sdk/src/metrics", + ], +) diff --git a/examples/cpp/otel/README.md b/examples/cpp/otel/README.md new file mode 100644 index 00000000000..7720fd64819 --- /dev/null +++ b/examples/cpp/otel/README.md @@ -0,0 +1,45 @@ +# gRPC C++ OpenTelemetry Example + +The opentelemetry example builds on the +[Hello World Example](https://github.com/grpc/grpc/tree/master/examples/cpp/helloworld) +and changes the gRPC client and server to show a sample way of configuring the +gRPC OpenTelemetry plugin with a prometheus exporter. + +For more information on the gRPC OpenTelemetry plugin, please refer to - * +[A66: OpenTelemetry Metrics](https://github.com/grpc/proposal/blob/master/A66-otel-stats.md) +* [https://opentelemetry.io/]() + +## Running the example + +To run the server - + +``` +$ tools/bazel run examples/cpp/otel:greeter_callback_server +``` + +To run the client - + +``` +$ tools/bazel run examples/cpp/otel:greeter_callback_client +``` + +The client continuously sends an RPC to the server every second. + +To make sure that the server and client metrics are being exported properly, in +a separate terminal, run the following - + +``` +$ curl localhost:9464/metrics +``` + +``` +$ curl localhost:9465/metrics +``` + +> ***NOTE:*** If the prometheus endpoint configured is overridden, please update +> the target in the above curl command. + +You can find a complete set of instructions for building gRPC and running the +Hello World app in the [C++ Quick Start][]. + +[C++ Quick Start]: https://grpc.io/docs/languages/cpp/quickstart diff --git a/examples/cpp/otel/greeter_callback_client.cc b/examples/cpp/otel/greeter_callback_client.cc new file mode 100644 index 00000000000..653d68971c8 --- /dev/null +++ b/examples/cpp/otel/greeter_callback_client.cc @@ -0,0 +1,138 @@ +/* + * + * Copyright 2021 gRPC authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include +#include +#include +#include +#include +#include + +#include "absl/flags/flag.h" +#include "absl/flags/parse.h" +#include "opentelemetry/exporters/prometheus/exporter_factory.h" +#include "opentelemetry/exporters/prometheus/exporter_options.h" +#include "opentelemetry/sdk/metrics/meter_provider.h" + +#include +#include + +#ifdef BAZEL_BUILD +#include "examples/protos/helloworld.grpc.pb.h" +#else +#include "helloworld.grpc.pb.h" +#endif + +ABSL_FLAG(std::string, target, "localhost:50051", "Server address"); +ABSL_FLAG(std::string, prometheus_endpoint, "localhost:9465", + "Prometheus exporter endpoint"); + +using grpc::Channel; +using grpc::ClientContext; +using grpc::Status; +using helloworld::Greeter; +using helloworld::HelloReply; +using helloworld::HelloRequest; + +class GreeterClient { + public: + GreeterClient(std::shared_ptr channel) + : stub_(Greeter::NewStub(channel)) {} + + // Assembles the client's payload, sends it and presents the response back + // from the server. + std::string SayHello(const std::string& user) { + // Data we are sending to the server. + HelloRequest request; + request.set_name(user); + + // Container for the data we expect from the server. + HelloReply reply; + + // Context for the client. It could be used to convey extra information to + // the server and/or tweak certain RPC behaviors. + ClientContext context; + + // The actual RPC. + std::mutex mu; + std::condition_variable cv; + bool done = false; + Status status; + stub_->async()->SayHello(&context, &request, &reply, + [&mu, &cv, &done, &status](Status s) { + status = std::move(s); + std::lock_guard lock(mu); + done = true; + cv.notify_one(); + }); + + std::unique_lock lock(mu); + while (!done) { + cv.wait(lock); + } + + // Act upon its status. + if (status.ok()) { + return reply.message(); + } else { + std::cout << status.error_code() << ": " << status.error_message() + << std::endl; + return "RPC failed"; + } + } + + private: + std::unique_ptr stub_; +}; + +int main(int argc, char** argv) { + absl::ParseCommandLine(argc, argv); + // Register a global gRPC OpenTelemetry plugin configured with a prometheus + // exporter. + opentelemetry::exporter::metrics::PrometheusExporterOptions opts; + opts.url = absl::GetFlag(FLAGS_prometheus_endpoint); + auto prometheus_exporter = + opentelemetry::exporter::metrics::PrometheusExporterFactory::Create(opts); + auto meter_provider = + std::make_shared(); + meter_provider->AddMetricReader(std::move(prometheus_exporter)); + auto status = grpc::OpenTelemetryPluginBuilder() + .SetMeterProvider(std::move(meter_provider)) + .BuildAndRegisterGlobal(); + if (!status.ok()) { + std::cerr << "Failed to register gRPC OpenTelemetry Plugin: " + << status.ToString() << std::endl; + return static_cast(status.code()); + } + // Instantiate the client. It requires a channel, out of which the actual RPCs + // are created. This channel models a connection to an endpoint specified by + // the argument "--target=" which is the only expected argument. + std::string target_str = absl::GetFlag(FLAGS_target); + grpc::ChannelArguments args; + // Continuously send RPCs every second. + while (true) { + GreeterClient greeter(grpc::CreateCustomChannel( + target_str, grpc::InsecureChannelCredentials(), args)); + std::string user("world"); + std::string reply = greeter.SayHello(user); + std::cout << "Greeter received: " << reply << std::endl; + std::this_thread::sleep_for(std::chrono::seconds(1)); + } + + return 0; +} diff --git a/examples/cpp/otel/greeter_callback_server.cc b/examples/cpp/otel/greeter_callback_server.cc new file mode 100644 index 00000000000..0e5f1a1b9e4 --- /dev/null +++ b/examples/cpp/otel/greeter_callback_server.cc @@ -0,0 +1,110 @@ +/* + * + * Copyright 2021 gRPC authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include +#include +#include + +#include "absl/flags/flag.h" +#include "absl/flags/parse.h" +#include "absl/strings/str_format.h" +#include "opentelemetry/exporters/prometheus/exporter_factory.h" +#include "opentelemetry/exporters/prometheus/exporter_options.h" +#include "opentelemetry/sdk/metrics/meter_provider.h" + +#include +#include +#include +#include + +#ifdef BAZEL_BUILD +#include "examples/protos/helloworld.grpc.pb.h" +#else +#include "helloworld.grpc.pb.h" +#endif + +ABSL_FLAG(uint16_t, port, 50051, "Server port for the service"); +ABSL_FLAG(std::string, prometheus_endpoint, "localhost:9464", + "Prometheus exporter endpoint"); + +using grpc::CallbackServerContext; +using grpc::Server; +using grpc::ServerBuilder; +using grpc::ServerUnaryReactor; +using grpc::Status; +using helloworld::Greeter; +using helloworld::HelloReply; +using helloworld::HelloRequest; + +// Logic and data behind the server's behavior. +class GreeterServiceImpl final : public Greeter::CallbackService { + ServerUnaryReactor* SayHello(CallbackServerContext* context, + const HelloRequest* request, + HelloReply* reply) override { + std::string prefix("Hello "); + reply->set_message(prefix + request->name()); + + ServerUnaryReactor* reactor = context->DefaultReactor(); + reactor->Finish(Status::OK); + return reactor; + } +}; + +void RunServer(uint16_t port) { + std::string server_address = absl::StrFormat("0.0.0.0:%d", port); + GreeterServiceImpl service; + + grpc::EnableDefaultHealthCheckService(true); + grpc::reflection::InitProtoReflectionServerBuilderPlugin(); + ServerBuilder builder; + // Listen on the given address without any authentication mechanism. + builder.AddListeningPort(server_address, grpc::InsecureServerCredentials()); + // Register "service" as the instance through which we'll communicate with + // clients. In this case it corresponds to an *synchronous* service. + builder.RegisterService(&service); + // Finally assemble the server. + std::unique_ptr server(builder.BuildAndStart()); + std::cout << "Server listening on " << server_address << std::endl; + + // Wait for the server to shutdown. Note that some other thread must be + // responsible for shutting down the server for this call to ever return. + server->Wait(); +} + +int main(int argc, char** argv) { + absl::ParseCommandLine(argc, argv); + // Register a global gRPC OpenTelemetry plugin configured with a prometheus + // exporter. + opentelemetry::exporter::metrics::PrometheusExporterOptions opts; + opts.url = absl::GetFlag(FLAGS_prometheus_endpoint); + auto prometheus_exporter = + opentelemetry::exporter::metrics::PrometheusExporterFactory::Create(opts); + auto meter_provider = + std::make_shared(); + meter_provider->AddMetricReader(std::move(prometheus_exporter)); + auto status = grpc::OpenTelemetryPluginBuilder() + .SetMeterProvider(std::move(meter_provider)) + .BuildAndRegisterGlobal(); + if (!status.ok()) { + std::cerr << "Failed to register gRPC OpenTelemetry Plugin: " + << status.ToString() << std::endl; + return static_cast(status.code()); + } + RunServer(absl::GetFlag(FLAGS_port)); + return 0; +} diff --git a/examples/cpp/wait_for_ready/BUILD b/examples/cpp/wait_for_ready/BUILD new file mode 100644 index 00000000000..00047fa2f9b --- /dev/null +++ b/examples/cpp/wait_for_ready/BUILD @@ -0,0 +1,27 @@ +# Copyright 2023 the gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +licenses(["notice"]) + +cc_binary( + name = "greeter_callback_client", + srcs = ["greeter_callback_client.cc"], + defines = ["BAZEL_BUILD"], + deps = [ + "//:grpc++", + "//examples/protos:helloworld_cc_grpc", + "@com_google_absl//absl/flags:flag", + "@com_google_absl//absl/flags:parse", + ], +) diff --git a/examples/cpp/wait_for_ready/CMakeLists.txt b/examples/cpp/wait_for_ready/CMakeLists.txt new file mode 100644 index 00000000000..06024dfbc9b --- /dev/null +++ b/examples/cpp/wait_for_ready/CMakeLists.txt @@ -0,0 +1,70 @@ +# Copyright 2018 gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# cmake build file for C++ helloworld example. +# Assumes protobuf and gRPC have been installed using cmake. +# See cmake_externalproject/CMakeLists.txt for all-in-one cmake build +# that automatically builds all the dependencies before building helloworld. + +cmake_minimum_required(VERSION 3.8) + +project(HelloWorld C CXX) + +include(../cmake/common.cmake) + +# Proto file +get_filename_component(hw_proto "../../protos/helloworld.proto" ABSOLUTE) +get_filename_component(hw_proto_path "${hw_proto}" PATH) + +# Generated sources +set(hw_proto_srcs "${CMAKE_CURRENT_BINARY_DIR}/helloworld.pb.cc") +set(hw_proto_hdrs "${CMAKE_CURRENT_BINARY_DIR}/helloworld.pb.h") +set(hw_grpc_srcs "${CMAKE_CURRENT_BINARY_DIR}/helloworld.grpc.pb.cc") +set(hw_grpc_hdrs "${CMAKE_CURRENT_BINARY_DIR}/helloworld.grpc.pb.h") +add_custom_command( + OUTPUT "${hw_proto_srcs}" "${hw_proto_hdrs}" "${hw_grpc_srcs}" "${hw_grpc_hdrs}" + COMMAND ${_PROTOBUF_PROTOC} + ARGS --grpc_out "${CMAKE_CURRENT_BINARY_DIR}" + --cpp_out "${CMAKE_CURRENT_BINARY_DIR}" + -I "${hw_proto_path}" + --plugin=protoc-gen-grpc="${_GRPC_CPP_PLUGIN_EXECUTABLE}" + "${hw_proto}" + DEPENDS "${hw_proto}") + +# Include generated *.pb.h files +include_directories("${CMAKE_CURRENT_BINARY_DIR}") + +# hw_grpc_proto +add_library(hw_grpc_proto + ${hw_grpc_srcs} + ${hw_grpc_hdrs} + ${hw_proto_srcs} + ${hw_proto_hdrs}) +target_link_libraries(hw_grpc_proto + ${_REFLECTION} + ${_GRPC_GRPCPP} + ${_PROTOBUF_LIBPROTOBUF}) + +# Targets greeter_[async_](client|server) +foreach(_target + greeter_callback_client greeter_callback_server + add_executable(${_target} "${_target}.cc") + target_link_libraries(${_target} + hw_grpc_proto + absl::flags + absl::flags_parse + ${_REFLECTION} + ${_GRPC_GRPCPP} + ${_PROTOBUF_LIBPROTOBUF}) +endforeach() diff --git a/examples/cpp/wait_for_ready/README.md b/examples/cpp/wait_for_ready/README.md new file mode 100644 index 00000000000..1de220b99a3 --- /dev/null +++ b/examples/cpp/wait_for_ready/README.md @@ -0,0 +1,32 @@ +# gRPC C++ Wait-For-Ready Example + +The Wait-For-Ready example builds on the +[Hello World Example](https://github.com/grpc/grpc/tree/master/examples/cpp/helloworld) +and changes the gRPC client and server to show how to set wait-for-ready. + +For more information on wait-for-ready in gRPC, please refer to +[gRPC Wait For Ready Semantics](https://github.com/grpc/grpc/blob/master/doc/wait-for-ready.md). + +## Running the example + +First run the client - + +``` +$ tools/bazel run examples/cpp/wait_for_ready:greeter_callback_client +``` + +On running this, we'll see 10 RPCs failed due to "Connection refused" errors. +These RPCs did not have WAIT_FOR_READY set, resulting in the RPCs not waiting +for the channel to be connected. + +The next 10 RPCs have WAIT_FOR_READY set, so the client will be waiting for the +channel to be ready before progressing. + +Now, on a separate terminal, run the server - + +``` +$ tools/bazel run examples/cpp/helloworld:greeter_callback_server +``` + +The client channel should now be able to connect to the server, and the RPCs +should succeed. diff --git a/examples/cpp/wait_for_ready/greeter_callback_client.cc b/examples/cpp/wait_for_ready/greeter_callback_client.cc new file mode 100644 index 00000000000..1c7865ed2bf --- /dev/null +++ b/examples/cpp/wait_for_ready/greeter_callback_client.cc @@ -0,0 +1,107 @@ +// +// +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// + +#include +#include +#include +#include +#include +#include + +#include "absl/flags/flag.h" +#include "absl/flags/parse.h" + +#include + +#ifdef BAZEL_BUILD +#include "examples/protos/helloworld.grpc.pb.h" +#else +#include "helloworld.grpc.pb.h" +#endif + +ABSL_FLAG(std::string, target, "localhost:50051", "Server address"); + +using grpc::Channel; +using grpc::ClientContext; +using grpc::Status; +using helloworld::Greeter; +using helloworld::HelloReply; +using helloworld::HelloRequest; + +class GreeterClient { + public: + GreeterClient(std::shared_ptr channel) + : stub_(Greeter::NewStub(channel)) {} + + // Assembles the client's payload, sends it and presents the response back + // from the server. + std::string SayHello(const std::string& user, bool wait_for_ready) { + HelloRequest request; + request.set_name(user); + HelloReply reply; + ClientContext context; + context.set_wait_for_ready(wait_for_ready); + std::mutex mu; + std::condition_variable cv; + bool done = false; + Status status; + stub_->async()->SayHello(&context, &request, &reply, + [&mu, &cv, &done, &status](Status s) { + status = std::move(s); + std::lock_guard lock(mu); + done = true; + cv.notify_one(); + }); + + std::unique_lock lock(mu); + while (!done) { + cv.wait(lock); + } + if (status.ok()) { + return reply.message(); + } else { + std::cout << status.error_code() << ": " << status.error_message() + << "\n"; + return "RPC failed"; + } + } + + private: + std::unique_ptr stub_; +}; + +int main(int argc, char** argv) { + absl::ParseCommandLine(argc, argv); + std::string target_str = absl::GetFlag(FLAGS_target); + GreeterClient greeter( + grpc::CreateChannel(target_str, grpc::InsecureChannelCredentials())); + std::string user("world"); + // First send an RPC without wait_for_ready. If the server is not running, + // this RPC will fail immediately. + std::cout << "Greeter received: " + << greeter.SayHello(user, /*wait_for_ready=*/false) << "\n"; + std::cout << "\nWe will now send RPCs with wait_for_ready set. If the " + "server is not running already, please start it now.\n"; + // Now send RPC with wait_for_ready for set. Even if the server is not + // running, the RPC will still wait for the deadline to expire before + // failing. + std::cout << "Greeter received: " + << greeter.SayHello(user, /*wait_for_ready=*/true) << "\n"; + + return 0; +} diff --git a/examples/php/echo/apache.Dockerfile b/examples/php/echo/apache.Dockerfile index a9c20d9439e..3a670f1c699 100644 --- a/examples/php/echo/apache.Dockerfile +++ b/examples/php/echo/apache.Dockerfile @@ -18,7 +18,7 @@ FROM composer:1.8.6 as composer FROM grpc-php/base as grpc-base -FROM php:7.4-apache-buster +FROM php:8.1-apache-buster RUN apt-get -qq update && apt-get -qq install -y git diff --git a/examples/php/echo/base.Dockerfile b/examples/php/echo/base.Dockerfile index 33c0422897b..c1709c2de6d 100644 --- a/examples/php/echo/base.Dockerfile +++ b/examples/php/echo/base.Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM php:7.4-buster +FROM php:8.1-buster RUN apt-get -qq update && apt-get -qq install -y \ autoconf automake cmake curl git libtool \ diff --git a/examples/php/echo/cli.Dockerfile b/examples/php/echo/cli.Dockerfile index 7b067744471..80eb168083c 100644 --- a/examples/php/echo/cli.Dockerfile +++ b/examples/php/echo/cli.Dockerfile @@ -18,7 +18,7 @@ FROM composer:1.8.6 as composer FROM grpc-php/base as grpc-base -FROM php:7.4-buster +FROM php:8.1-buster RUN apt-get -qq update && apt-get -qq install -y git diff --git a/examples/php/echo/fpm.Dockerfile b/examples/php/echo/fpm.Dockerfile index be2aad50346..7ace7bb39b8 100644 --- a/examples/php/echo/fpm.Dockerfile +++ b/examples/php/echo/fpm.Dockerfile @@ -18,7 +18,7 @@ FROM composer:1.8.6 as composer FROM grpc-php/base as grpc-base -FROM php:7.4-fpm-buster +FROM php:8.1-fpm-buster RUN apt-get -qq update && apt-get -qq install -y git diff --git a/examples/python/Makefile b/examples/python/Makefile index 323e6b6bfb3..87447c152a5 100644 --- a/examples/python/Makefile +++ b/examples/python/Makefile @@ -80,6 +80,14 @@ ARTIFACTS += lb_policies/helloworld_pb2.py ARTIFACTS += lb_policies/helloworld_pb2_grpc.py ARTIFACTS += lb_policies/helloworld_pb2.pyi +ARTIFACTS += compression/helloworld_pb2.py +ARTIFACTS += compression/helloworld_pb2_grpc.py +ARTIFACTS += compression/helloworld_pb2.pyi + +ARTIFACTS += observability/helloworld_pb2.py +ARTIFACTS += observability/helloworld_pb2_grpc.py +ARTIFACTS += observability/helloworld_pb2.pyi + .PHONY: all all: ${ARTIFACTS} @@ -132,6 +140,9 @@ data_transmission/demo_pb2.py data_transmission/demo_pb2_grpc.py data_transmissi lb_policies/helloworld_pb2.py lb_policies/helloworld_pb2_grpc.py lb_policies/helloworld_pb2.pyi: ../protos/helloworld.proto python3 -m grpc_tools.protoc --python_out=lb_policies --grpc_python_out=lb_policies --pyi_out=lb_policies -I ../protos ../protos/helloworld.proto +compression/helloworld_pb2.py compression/helloworld_pb2_grpc.py compression/helloworld_pb2.pyi: ../protos/helloworld.proto + python3 -m grpc_tools.protoc --python_out=compression --grpc_python_out=compression --pyi_out=compression -I ../protos ../protos/helloworld.proto + .PHONY: clean clean: rm -f ${ARTIFACTS} diff --git a/examples/python/auth/README.md b/examples/python/auth/README.md index 2fd044b8a30..fc66bb335e5 100644 --- a/examples/python/auth/README.md +++ b/examples/python/auth/README.md @@ -110,3 +110,19 @@ call_credentials = grpc.composite_call_credentials( call_credentials_bar) stub.FooRpc(request, credentials=call_credentials) ``` + +## Token-based authentication + +Instead of `AuthMetadataPlugin`, you can also use token-based authentication +mechanisms using OAuth2 tokens or other customized tokens. + +OAuth2 tokens can be obtained using libraries like [google-auth](https://google-auth.readthedocs.io/en/master/user-guide.html): + +```Python +import google.auth + +google_credentials, unused_project_id = google.auth.default() +call_credentials = grpc.access_token_call_credentials(google_credentials.token) +``` + +After obtaining the token, the rest of the flow is documented in [token_based_auth_client.py](https://github.com/grpc/grpc/tree/master/examples/python/auth/token_based_auth_client.py) and [token_based_auth_server.py](https://github.com/grpc/grpc/tree/master/examples/python/auth/token_based_auth_server.py). diff --git a/examples/python/auth/token_based_auth_client.py b/examples/python/auth/token_based_auth_client.py new file mode 100644 index 00000000000..521d55df4cc --- /dev/null +++ b/examples/python/auth/token_based_auth_client.py @@ -0,0 +1,82 @@ +# Copyright 2024 The gRPC Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +"""Client of the Python example of token based authentication mechanism.""" + +import argparse +import contextlib +import logging + +import _credentials +import grpc + +helloworld_pb2, helloworld_pb2_grpc = grpc.protos_and_services( + "helloworld.proto" +) + +_LOGGER = logging.getLogger(__name__) +_LOGGER.setLevel(logging.INFO) + +_SERVER_ADDR_TEMPLATE = "localhost:%d" + + +@contextlib.contextmanager +def create_client_channel(addr): + # Call credential object will be invoked for every single RPC + call_credentials = grpc.access_token_call_credentials( + "example_oauth2_token" + ) + # Channel credential will be valid for the entire channel + channel_credential = grpc.ssl_channel_credentials( + _credentials.ROOT_CERTIFICATE + ) + # Combining channel credentials and call credentials together + composite_credentials = grpc.composite_channel_credentials( + channel_credential, + call_credentials, + ) + channel = grpc.secure_channel(addr, composite_credentials) + yield channel + + +def send_rpc(channel): + stub = helloworld_pb2_grpc.GreeterStub(channel) + request = helloworld_pb2.HelloRequest(name="you") + try: + response = stub.SayHello(request) + except grpc.RpcError as rpc_error: + _LOGGER.error("Received error: %s", rpc_error) + return rpc_error + else: + _LOGGER.info("Received message: %s", response) + return response + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument( + "--port", + nargs="?", + type=int, + default=50051, + help="the address of server", + ) + args = parser.parse_args() + + with create_client_channel(_SERVER_ADDR_TEMPLATE % args.port) as channel: + send_rpc(channel) + + +if __name__ == "__main__": + logging.basicConfig(level=logging.INFO) + main() diff --git a/examples/python/auth/token_based_auth_server.py b/examples/python/auth/token_based_auth_server.py new file mode 100644 index 00000000000..e6b9c00ef2c --- /dev/null +++ b/examples/python/auth/token_based_auth_server.py @@ -0,0 +1,105 @@ +# Copyright 2024 The gRPC Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +"""Server of the Python example of token based authentication mechanism.""" + +import argparse +from concurrent import futures +import contextlib +import logging + +import _credentials +import grpc + +helloworld_pb2, helloworld_pb2_grpc = grpc.protos_and_services( + "helloworld.proto" +) + +_LOGGER = logging.getLogger(__name__) +_LOGGER.setLevel(logging.INFO) + +_LISTEN_ADDRESS_TEMPLATE = "localhost:%d" +_AUTH_HEADER_KEY = "authorization" +_AUTH_HEADER_VALUE = "Bearer example_oauth2_token" + + +class SignatureValidationInterceptor(grpc.ServerInterceptor): + def __init__(self): + def abort(ignored_request, context): + context.abort(grpc.StatusCode.UNAUTHENTICATED, "Invalid signature") + + self._abort_handler = grpc.unary_unary_rpc_method_handler(abort) + + def intercept_service(self, continuation, handler_call_details): + # Example HandlerCallDetails object: + # _HandlerCallDetails( + # method=u'/helloworld.Greeter/SayHello', + # invocation_metadata=...) + expected_metadata = (_AUTH_HEADER_KEY, _AUTH_HEADER_VALUE) + if expected_metadata in handler_call_details.invocation_metadata: + return continuation(handler_call_details) + else: + return self._abort_handler + + +class SimpleGreeter(helloworld_pb2_grpc.GreeterServicer): + def SayHello(self, request, unused_context): + return helloworld_pb2.HelloReply(message="Hello, %s!" % request.name) + + +@contextlib.contextmanager +def run_server(port): + # Bind interceptor to server + server = grpc.server( + futures.ThreadPoolExecutor(), + interceptors=(SignatureValidationInterceptor(),), + ) + helloworld_pb2_grpc.add_GreeterServicer_to_server(SimpleGreeter(), server) + + # Loading credentials + server_credentials = grpc.ssl_server_credentials( + ( + ( + _credentials.SERVER_CERTIFICATE_KEY, + _credentials.SERVER_CERTIFICATE, + ), + ) + ) + + # Pass down credentials + port = server.add_secure_port( + _LISTEN_ADDRESS_TEMPLATE % port, server_credentials + ) + + server.start() + try: + yield server, port + finally: + server.stop(0) + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument( + "--port", nargs="?", type=int, default=50051, help="the listening port" + ) + args = parser.parse_args() + + with run_server(args.port) as (server, port): + logging.info("Server is listening at port :%d", port) + server.wait_for_termination() + + +if __name__ == "__main__": + logging.basicConfig(level=logging.INFO) + main() diff --git a/examples/python/compression/README.md b/examples/python/compression/README.md index c719bba07f8..1aa5107039a 100644 --- a/examples/python/compression/README.md +++ b/examples/python/compression/README.md @@ -50,7 +50,7 @@ server = grpc.server(futures.ThreadPoolExecutor(), ```python def SayHello(self, request, context): - context.set_response_compression(grpc.Compression.NoCompression) + context.set_compression(grpc.Compression.NoCompression) return helloworld_pb2.HelloReply(message='Hello, %s!' % request.name) ``` diff --git a/examples/python/compression/client.py b/examples/python/compression/client.py index 89ea855bdc0..166739f7e10 100644 --- a/examples/python/compression/client.py +++ b/examples/python/compression/client.py @@ -21,9 +21,8 @@ import argparse import logging import grpc - -from examples.protos import helloworld_pb2 -from examples.protos import helloworld_pb2_grpc +import helloworld_pb2 +import helloworld_pb2_grpc _DESCRIPTION = "A client capable of compression." _COMPRESSION_OPTIONS = { @@ -33,6 +32,7 @@ _COMPRESSION_OPTIONS = { } _LOGGER = logging.getLogger(__name__) +_RPC_COUNT = 10 def run_client(channel_compression, call_compression, target): @@ -40,12 +40,13 @@ def run_client(channel_compression, call_compression, target): target, compression=channel_compression ) as channel: stub = helloworld_pb2_grpc.GreeterStub(channel) - response = stub.SayHello( - helloworld_pb2.HelloRequest(name="you"), - compression=call_compression, - wait_for_ready=True, - ) - print("Response: {}".format(response)) + for _ in range(_RPC_COUNT): + response = stub.SayHello( + helloworld_pb2.HelloRequest(name="you"), + compression=call_compression, + wait_for_ready=True, + ) + print("Response: {}".format(response)) def main(): diff --git a/examples/python/compression/helloworld_pb2.py b/examples/python/compression/helloworld_pb2.py new file mode 100644 index 00000000000..f5b4f2d27dc --- /dev/null +++ b/examples/python/compression/helloworld_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: helloworld.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10helloworld.proto\x12\nhelloworld\"\x1c\n\x0cHelloRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1d\n\nHelloReply\x12\x0f\n\x07message\x18\x01 \x01(\t2I\n\x07Greeter\x12>\n\x08SayHello\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00\x42\x36\n\x1bio.grpc.examples.helloworldB\x0fHelloWorldProtoP\x01\xa2\x02\x03HLWb\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'helloworld_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\033io.grpc.examples.helloworldB\017HelloWorldProtoP\001\242\002\003HLW' + _HELLOREQUEST._serialized_start=32 + _HELLOREQUEST._serialized_end=60 + _HELLOREPLY._serialized_start=62 + _HELLOREPLY._serialized_end=91 + _GREETER._serialized_start=93 + _GREETER._serialized_end=166 +# @@protoc_insertion_point(module_scope) diff --git a/examples/python/compression/helloworld_pb2.pyi b/examples/python/compression/helloworld_pb2.pyi new file mode 100644 index 00000000000..8c4b5b22805 --- /dev/null +++ b/examples/python/compression/helloworld_pb2.pyi @@ -0,0 +1,17 @@ +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Optional as _Optional + +DESCRIPTOR: _descriptor.FileDescriptor + +class HelloReply(_message.Message): + __slots__ = ["message"] + MESSAGE_FIELD_NUMBER: _ClassVar[int] + message: str + def __init__(self, message: _Optional[str] = ...) -> None: ... + +class HelloRequest(_message.Message): + __slots__ = ["name"] + NAME_FIELD_NUMBER: _ClassVar[int] + name: str + def __init__(self, name: _Optional[str] = ...) -> None: ... diff --git a/examples/python/compression/helloworld_pb2_grpc.py b/examples/python/compression/helloworld_pb2_grpc.py new file mode 100644 index 00000000000..47c186976e1 --- /dev/null +++ b/examples/python/compression/helloworld_pb2_grpc.py @@ -0,0 +1,70 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +import helloworld_pb2 as helloworld__pb2 + + +class GreeterStub(object): + """The greeting service definition. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.SayHello = channel.unary_unary( + '/helloworld.Greeter/SayHello', + request_serializer=helloworld__pb2.HelloRequest.SerializeToString, + response_deserializer=helloworld__pb2.HelloReply.FromString, + ) + + +class GreeterServicer(object): + """The greeting service definition. + """ + + def SayHello(self, request, context): + """Sends a greeting + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_GreeterServicer_to_server(servicer, server): + rpc_method_handlers = { + 'SayHello': grpc.unary_unary_rpc_method_handler( + servicer.SayHello, + request_deserializer=helloworld__pb2.HelloRequest.FromString, + response_serializer=helloworld__pb2.HelloReply.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'helloworld.Greeter', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class Greeter(object): + """The greeting service definition. + """ + + @staticmethod + def SayHello(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/helloworld.Greeter/SayHello', + helloworld__pb2.HelloRequest.SerializeToString, + helloworld__pb2.HelloReply.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/examples/python/compression/server.py b/examples/python/compression/server.py index d7da982e2a0..2661481475b 100644 --- a/examples/python/compression/server.py +++ b/examples/python/compression/server.py @@ -23,9 +23,8 @@ import logging import threading import grpc - -from examples.protos import helloworld_pb2 -from examples.protos import helloworld_pb2_grpc +import helloworld_pb2 +import helloworld_pb2_grpc _DESCRIPTION = "A server capable of compression." _COMPRESSION_OPTIONS = { @@ -41,7 +40,7 @@ _SERVER_HOST = "localhost" class Greeter(helloworld_pb2_grpc.GreeterServicer): def __init__(self, no_compress_every_n): super(Greeter, self).__init__() - self._no_compress_every_n = 0 + self._no_compress_every_n = no_compress_every_n self._request_counter = 0 self._counter_lock = threading.RLock() @@ -58,7 +57,7 @@ class Greeter(helloworld_pb2_grpc.GreeterServicer): def SayHello(self, request, context): if self._should_suppress_compression(): - context.set_response_compression(grpc.Compression.NoCompression) + context.set_compression(grpc.Compression.NoCompression) return helloworld_pb2.HelloReply(message="Hello, %s!" % request.name) diff --git a/examples/python/compression/test/compression_example_test.py b/examples/python/compression/test/compression_example_test.py index 27af6ef9293..7ddfa6d1ca9 100644 --- a/examples/python/compression/test/compression_example_test.py +++ b/examples/python/compression/test/compression_example_test.py @@ -49,6 +49,8 @@ class CompressionExampleTest(unittest.TestCase): str(test_port), "--server_compression", "gzip", + "--no_compress_every_n", + "3", ) ) try: diff --git a/examples/python/helloworld/helloworld_pb2.py b/examples/python/helloworld/helloworld_pb2.py index f5b4f2d27dc..6ee31ad94a2 100644 --- a/examples/python/helloworld/helloworld_pb2.py +++ b/examples/python/helloworld/helloworld_pb2.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: helloworld.proto +# Protobuf Python Version: 4.25.0 """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,18 +14,18 @@ _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10helloworld.proto\x12\nhelloworld\"\x1c\n\x0cHelloRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1d\n\nHelloReply\x12\x0f\n\x07message\x18\x01 \x01(\t2I\n\x07Greeter\x12>\n\x08SayHello\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00\x42\x36\n\x1bio.grpc.examples.helloworldB\x0fHelloWorldProtoP\x01\xa2\x02\x03HLWb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10helloworld.proto\x12\nhelloworld\"\x1c\n\x0cHelloRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1d\n\nHelloReply\x12\x0f\n\x07message\x18\x01 \x01(\t2\xe4\x01\n\x07Greeter\x12>\n\x08SayHello\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00\x12K\n\x13SayHelloStreamReply\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00\x30\x01\x12L\n\x12SayHelloBidiStream\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00(\x01\x30\x01\x42\x36\n\x1bio.grpc.examples.helloworldB\x0fHelloWorldProtoP\x01\xa2\x02\x03HLWb\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'helloworld_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'helloworld_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\033io.grpc.examples.helloworldB\017HelloWorldProtoP\001\242\002\003HLW' - _HELLOREQUEST._serialized_start=32 - _HELLOREQUEST._serialized_end=60 - _HELLOREPLY._serialized_start=62 - _HELLOREPLY._serialized_end=91 - _GREETER._serialized_start=93 - _GREETER._serialized_end=166 + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033io.grpc.examples.helloworldB\017HelloWorldProtoP\001\242\002\003HLW' + _globals['_HELLOREQUEST']._serialized_start=32 + _globals['_HELLOREQUEST']._serialized_end=60 + _globals['_HELLOREPLY']._serialized_start=62 + _globals['_HELLOREPLY']._serialized_end=91 + _globals['_GREETER']._serialized_start=94 + _globals['_GREETER']._serialized_end=322 # @@protoc_insertion_point(module_scope) diff --git a/examples/python/helloworld/helloworld_pb2.pyi b/examples/python/helloworld/helloworld_pb2.pyi index 8c4b5b22805..bf0bd395ad5 100644 --- a/examples/python/helloworld/helloworld_pb2.pyi +++ b/examples/python/helloworld/helloworld_pb2.pyi @@ -4,14 +4,14 @@ from typing import ClassVar as _ClassVar, Optional as _Optional DESCRIPTOR: _descriptor.FileDescriptor -class HelloReply(_message.Message): - __slots__ = ["message"] - MESSAGE_FIELD_NUMBER: _ClassVar[int] - message: str - def __init__(self, message: _Optional[str] = ...) -> None: ... - class HelloRequest(_message.Message): - __slots__ = ["name"] + __slots__ = ("name",) NAME_FIELD_NUMBER: _ClassVar[int] name: str def __init__(self, name: _Optional[str] = ...) -> None: ... + +class HelloReply(_message.Message): + __slots__ = ("message",) + MESSAGE_FIELD_NUMBER: _ClassVar[int] + message: str + def __init__(self, message: _Optional[str] = ...) -> None: ... diff --git a/examples/python/helloworld/helloworld_pb2_grpc.py b/examples/python/helloworld/helloworld_pb2_grpc.py index 47c186976e1..68bcfef1756 100644 --- a/examples/python/helloworld/helloworld_pb2_grpc.py +++ b/examples/python/helloworld/helloworld_pb2_grpc.py @@ -19,7 +19,17 @@ class GreeterStub(object): '/helloworld.Greeter/SayHello', request_serializer=helloworld__pb2.HelloRequest.SerializeToString, response_deserializer=helloworld__pb2.HelloReply.FromString, - ) + _registered_method=True) + self.SayHelloStreamReply = channel.unary_stream( + '/helloworld.Greeter/SayHelloStreamReply', + request_serializer=helloworld__pb2.HelloRequest.SerializeToString, + response_deserializer=helloworld__pb2.HelloReply.FromString, + _registered_method=True) + self.SayHelloBidiStream = channel.stream_stream( + '/helloworld.Greeter/SayHelloBidiStream', + request_serializer=helloworld__pb2.HelloRequest.SerializeToString, + response_deserializer=helloworld__pb2.HelloReply.FromString, + _registered_method=True) class GreeterServicer(object): @@ -33,6 +43,18 @@ class GreeterServicer(object): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def SayHelloStreamReply(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SayHelloBidiStream(self, request_iterator, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_GreeterServicer_to_server(servicer, server): rpc_method_handlers = { @@ -41,6 +63,16 @@ def add_GreeterServicer_to_server(servicer, server): request_deserializer=helloworld__pb2.HelloRequest.FromString, response_serializer=helloworld__pb2.HelloReply.SerializeToString, ), + 'SayHelloStreamReply': grpc.unary_stream_rpc_method_handler( + servicer.SayHelloStreamReply, + request_deserializer=helloworld__pb2.HelloRequest.FromString, + response_serializer=helloworld__pb2.HelloReply.SerializeToString, + ), + 'SayHelloBidiStream': grpc.stream_stream_rpc_method_handler( + servicer.SayHelloBidiStream, + request_deserializer=helloworld__pb2.HelloRequest.FromString, + response_serializer=helloworld__pb2.HelloReply.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'helloworld.Greeter', rpc_method_handlers) @@ -63,8 +95,72 @@ class Greeter(object): wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/helloworld.Greeter/SayHello', + return grpc.experimental.unary_unary( + request, + target, + '/helloworld.Greeter/SayHello', + helloworld__pb2.HelloRequest.SerializeToString, + helloworld__pb2.HelloReply.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SayHelloStreamReply(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream( + request, + target, + '/helloworld.Greeter/SayHelloStreamReply', + helloworld__pb2.HelloRequest.SerializeToString, + helloworld__pb2.HelloReply.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SayHelloBidiStream(request_iterator, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.stream_stream( + request_iterator, + target, + '/helloworld.Greeter/SayHelloBidiStream', helloworld__pb2.HelloRequest.SerializeToString, helloworld__pb2.HelloReply.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/examples/python/observability/README.md b/examples/python/observability/README.md new file mode 100644 index 00000000000..09c9f27e525 --- /dev/null +++ b/examples/python/observability/README.md @@ -0,0 +1,63 @@ +gRPC Observability Example +===================== + +The examples here demonstrate how to setup gRPC Python Observability with Opentelemetry. + +More details about how to use gRPC Python Observability APIs can be found in [OpenTelemetry Metrics gRFC](https://github.com/grpc/proposal/blob/master/A66-otel-stats.md#opentelemetry-metrics). + +### Install Requirements + +1. Navigate to this directory: + +```sh +cd examples/python/observability +``` + +2. Install requirements: + +```sh +python -m pip install -r requirements.txt +``` + +### Run the Server + +Start the server: + +```sh +python -m observability_greeter_server +``` + +### Run the Client + +Note that client should start within 10 seconds of the server becoming active. + +```sh +python -m observability_greeter_client +``` + +### Verifying Metrics + +The example will print a list of metric names collected. + +Server Side: + +``` +Server started, listening on 50051 +Metrics exported on Server side: +grpc.server.call.started +grpc.server.call.sent_total_compressed_message_size +grpc.server.call.rcvd_total_compressed_message_size +grpc.server.call.duration +``` + +Client Side: + +``` +Greeter client received: Hello You +Metrics exported on client side: +grpc.client.call.duration +grpc.client.attempt.started +grpc.client.attempt.sent_total_compressed_message_size +grpc.client.attempt.rcvd_total_compressed_message_size +grpc.client.attempt.duration +``` diff --git a/examples/python/observability/helloworld_pb2.py b/examples/python/observability/helloworld_pb2.py new file mode 100644 index 00000000000..f5b4f2d27dc --- /dev/null +++ b/examples/python/observability/helloworld_pb2.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: helloworld.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10helloworld.proto\x12\nhelloworld\"\x1c\n\x0cHelloRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1d\n\nHelloReply\x12\x0f\n\x07message\x18\x01 \x01(\t2I\n\x07Greeter\x12>\n\x08SayHello\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00\x42\x36\n\x1bio.grpc.examples.helloworldB\x0fHelloWorldProtoP\x01\xa2\x02\x03HLWb\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'helloworld_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\033io.grpc.examples.helloworldB\017HelloWorldProtoP\001\242\002\003HLW' + _HELLOREQUEST._serialized_start=32 + _HELLOREQUEST._serialized_end=60 + _HELLOREPLY._serialized_start=62 + _HELLOREPLY._serialized_end=91 + _GREETER._serialized_start=93 + _GREETER._serialized_end=166 +# @@protoc_insertion_point(module_scope) diff --git a/examples/python/observability/helloworld_pb2.pyi b/examples/python/observability/helloworld_pb2.pyi new file mode 100644 index 00000000000..8c4b5b22805 --- /dev/null +++ b/examples/python/observability/helloworld_pb2.pyi @@ -0,0 +1,17 @@ +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Optional as _Optional + +DESCRIPTOR: _descriptor.FileDescriptor + +class HelloReply(_message.Message): + __slots__ = ["message"] + MESSAGE_FIELD_NUMBER: _ClassVar[int] + message: str + def __init__(self, message: _Optional[str] = ...) -> None: ... + +class HelloRequest(_message.Message): + __slots__ = ["name"] + NAME_FIELD_NUMBER: _ClassVar[int] + name: str + def __init__(self, name: _Optional[str] = ...) -> None: ... diff --git a/examples/python/observability/helloworld_pb2_grpc.py b/examples/python/observability/helloworld_pb2_grpc.py new file mode 100644 index 00000000000..47c186976e1 --- /dev/null +++ b/examples/python/observability/helloworld_pb2_grpc.py @@ -0,0 +1,70 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +import helloworld_pb2 as helloworld__pb2 + + +class GreeterStub(object): + """The greeting service definition. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.SayHello = channel.unary_unary( + '/helloworld.Greeter/SayHello', + request_serializer=helloworld__pb2.HelloRequest.SerializeToString, + response_deserializer=helloworld__pb2.HelloReply.FromString, + ) + + +class GreeterServicer(object): + """The greeting service definition. + """ + + def SayHello(self, request, context): + """Sends a greeting + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_GreeterServicer_to_server(servicer, server): + rpc_method_handlers = { + 'SayHello': grpc.unary_unary_rpc_method_handler( + servicer.SayHello, + request_deserializer=helloworld__pb2.HelloRequest.FromString, + response_serializer=helloworld__pb2.HelloReply.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'helloworld.Greeter', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class Greeter(object): + """The greeting service definition. + """ + + @staticmethod + def SayHello(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/helloworld.Greeter/SayHello', + helloworld__pb2.HelloRequest.SerializeToString, + helloworld__pb2.HelloReply.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/examples/python/observability/observability_greeter_client.py b/examples/python/observability/observability_greeter_client.py new file mode 100644 index 00000000000..25f7d68a4c8 --- /dev/null +++ b/examples/python/observability/observability_greeter_client.py @@ -0,0 +1,71 @@ +# Copyright 2024 gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +"""gRPC Python helloworld.Greeter client with observability enabled.""" + +from collections import defaultdict +import logging +import time +from typing import Optional + +import grpc +import grpc_observability +import helloworld_pb2 +import helloworld_pb2_grpc +import open_telemetry_exporter +from opentelemetry.sdk.metrics import MeterProvider +from opentelemetry.sdk.metrics.export import PeriodicExportingMetricReader + +OTEL_EXPORT_INTERVAL_S = 0.5 + + +class BaseOpenTelemetryPlugin(grpc_observability.OpenTelemetryPlugin): + def __init__(self, provider: MeterProvider): + self.provider = provider + + def get_meter_provider(self) -> Optional[MeterProvider]: + return self.provider + + +def run(): + all_metrics = defaultdict(list) + otel_exporter = open_telemetry_exporter.OTelMetricExporter(all_metrics) + reader = PeriodicExportingMetricReader( + exporter=otel_exporter, + export_interval_millis=OTEL_EXPORT_INTERVAL_S * 1000, + ) + provider = MeterProvider(metric_readers=[reader]) + otel_plugin = BaseOpenTelemetryPlugin(provider) + + with grpc_observability.OpenTelemetryObservability(plugins=[otel_plugin]): + with grpc.insecure_channel(target="localhost:50051") as channel: + stub = helloworld_pb2_grpc.GreeterStub(channel) + try: + response = stub.SayHello( + helloworld_pb2.HelloRequest(name="You") + ) + print(f"Greeter client received: {response.message}") + except grpc.RpcError as rpc_error: + print("Call failed with code: ", rpc_error.code()) + + # Sleep to make sure all metrics are exported. + time.sleep(5) + + print("Metrics exported on client side:") + for metric in all_metrics: + print(metric) + + +if __name__ == "__main__": + logging.basicConfig() + run() diff --git a/examples/python/observability/observability_greeter_server.py b/examples/python/observability/observability_greeter_server.py new file mode 100644 index 00000000000..1f5a9689be6 --- /dev/null +++ b/examples/python/observability/observability_greeter_server.py @@ -0,0 +1,80 @@ +# Copyright 2024 gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +"""The Python implementation of the GRPC helloworld.Greeter server with observability enabled.""" + +from collections import defaultdict +from concurrent import futures +import logging +import time +from typing import Optional + +import grpc +import grpc_observability +import helloworld_pb2 +import helloworld_pb2_grpc +import open_telemetry_exporter +from opentelemetry.sdk.metrics import MeterProvider +from opentelemetry.sdk.metrics.export import PeriodicExportingMetricReader + +_OTEL_EXPORT_INTERVAL_S = 0.5 +_SERVER_PORT = "50051" + + +class BaseOpenTelemetryPlugin(grpc_observability.OpenTelemetryPlugin): + def __init__(self, provider: MeterProvider): + self.provider = provider + + def get_meter_provider(self) -> Optional[MeterProvider]: + return self.provider + + +class Greeter(helloworld_pb2_grpc.GreeterServicer): + def SayHello(self, request, context): + message = request.name + return helloworld_pb2.HelloReply(message=f"Hello {message}") + + +def serve(): + all_metrics = defaultdict(list) + otel_exporter = open_telemetry_exporter.OTelMetricExporter( + all_metrics, print_live=False + ) + reader = PeriodicExportingMetricReader( + exporter=otel_exporter, + export_interval_millis=_OTEL_EXPORT_INTERVAL_S * 1000, + ) + provider = MeterProvider(metric_readers=[reader]) + otel_plugin = BaseOpenTelemetryPlugin(provider) + + with grpc_observability.OpenTelemetryObservability(plugins=[otel_plugin]): + server = grpc.server( + thread_pool=futures.ThreadPoolExecutor(max_workers=10), + ) + helloworld_pb2_grpc.add_GreeterServicer_to_server(Greeter(), server) + server.add_insecure_port("[::]:" + _SERVER_PORT) + server.start() + print("Server started, listening on " + _SERVER_PORT) + + # Sleep to make sure client made RPC call and all metrics are exported. + time.sleep(10) + print("Metrics exported on Server side:") + for metric in all_metrics: + print(metric) + + server.stop(0) + + +if __name__ == "__main__": + logging.basicConfig() + serve() diff --git a/examples/python/observability/open_telemetry_exporter.py b/examples/python/observability/open_telemetry_exporter.py new file mode 100644 index 00000000000..51260577bfe --- /dev/null +++ b/examples/python/observability/open_telemetry_exporter.py @@ -0,0 +1,75 @@ +# Copyright 2024 gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +from typing import Dict, List + +from opentelemetry.sdk.metrics.export import AggregationTemporality +from opentelemetry.sdk.metrics.export import MetricExportResult +from opentelemetry.sdk.metrics.export import MetricExporter +from opentelemetry.sdk.metrics.export import MetricsData + + +class OTelMetricExporter(MetricExporter): + """Implementation of :class:`MetricExporter` that export metrics to the + provided metric_list. + + all_metrics: A dict whose keys are grpc_observability._opentelemetry_measures.Metric.name, + value is a list of labels recorded for that metric. + An example item of this dict: + {"grpc.client.attempt.started": + [{'grpc.method': 'test/UnaryUnary', 'grpc.target': 'localhost:42517'}, + {'grpc.method': 'other', 'grpc.target': 'localhost:42517'}]} + """ + + def __init__( + self, + all_metrics: Dict[str, List], + preferred_temporality: Dict[type, AggregationTemporality] = None, + preferred_aggregation: Dict[ + type, "opentelemetry.sdk.metrics.view.Aggregation" + ] = None, + print_live: bool = False, + ): + super().__init__( + preferred_temporality=preferred_temporality, + preferred_aggregation=preferred_aggregation, + ) + self._all_metrics = all_metrics + self._print_live = print_live + + def export( + self, + metrics_data: MetricsData, + timeout_millis: float = 10_000, + **kwargs, + ) -> MetricExportResult: + self.record_metric(metrics_data) + return MetricExportResult.SUCCESS + + def shutdown(self, timeout_millis: float = 30_000, **kwargs) -> None: + pass + + def force_flush(self, timeout_millis: float = 10_000) -> bool: + return True + + def record_metric(self, metrics_data: MetricsData) -> None: + for resource_metric in metrics_data.resource_metrics: + for scope_metric in resource_metric.scope_metrics: + for metric in scope_metric.metrics: + for data_point in metric.data.data_points: + self._all_metrics[metric.name].append( + data_point.attributes + ) + if self._print_live: + print(f"Metric exporter received: {metric.name}") diff --git a/examples/python/observability/requirements.txt b/examples/python/observability/requirements.txt new file mode 100644 index 00000000000..f7997817571 --- /dev/null +++ b/examples/python/observability/requirements.txt @@ -0,0 +1,3 @@ +grpcio>=1.62.0 +grpcio-observability>=1.62.0 +opentelemetry-sdk==1.21.0 diff --git a/fuzztest/core/channel/BUILD b/fuzztest/core/channel/BUILD index fcc1948a276..e724bb743af 100644 --- a/fuzztest/core/channel/BUILD +++ b/fuzztest/core/channel/BUILD @@ -18,6 +18,7 @@ grpc_fuzz_test( name = "union_with_test", srcs = ["union_with_test.cc"], external_deps = [ + "absl/types:variant", "fuzztest", "fuzztest_main", "gtest", diff --git a/fuzztest/core/channel/union_with_test.cc b/fuzztest/core/channel/union_with_test.cc index 6e3d0a06d19..8174a3a4eb3 100644 --- a/fuzztest/core/channel/union_with_test.cc +++ b/fuzztest/core/channel/union_with_test.cc @@ -14,11 +14,14 @@ // Test to verify Fuzztest integration -#include "fuzztest/fuzztest.h" +#include +#include +#include +#include "fuzztest/fuzztest.h" #include "gtest/gtest.h" - #include "src/core/lib/channel/channel_args.h" +#include "absl/types/variant.h" namespace grpc_core { diff --git a/fuzztest/core/transport/chttp2/BUILD b/fuzztest/core/transport/chttp2/BUILD new file mode 100644 index 00000000000..26f224cd1f5 --- /dev/null +++ b/fuzztest/core/transport/chttp2/BUILD @@ -0,0 +1,49 @@ +# Copyright 2023 gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +load("//fuzztest:grpc_fuzz_test.bzl", "grpc_fuzz_test") + +grpc_fuzz_test( + name = "write_size_policy_test", + srcs = ["write_size_policy_test.cc"], + external_deps = [ + "fuzztest", + "fuzztest_main", + "gtest", + ], + deps = ["//src/core:write_size_policy"], +) + +grpc_fuzz_test( + name = "hpack_encoder_timeout_test", + srcs = ["hpack_encoder_timeout_test.cc"], + external_deps = [ + "absl/random", + "fuzztest", + "fuzztest_main", + "gtest", + ], + deps = [ + "//:grpc_base", + "//:hpack_encoder", + "//:hpack_parser", + "//:ref_counted_ptr", + "//src/core:arena", + "//src/core:memory_quota", + "//src/core:metadata_batch", + "//src/core:resource_quota", + "//src/core:slice_buffer", + "//src/core:time", + ], +) diff --git a/fuzztest/core/transport/chttp2/hpack_encoder_timeout_test.cc b/fuzztest/core/transport/chttp2/hpack_encoder_timeout_test.cc new file mode 100644 index 00000000000..37a686c8b7b --- /dev/null +++ b/fuzztest/core/transport/chttp2/hpack_encoder_timeout_test.cc @@ -0,0 +1,79 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Test to verify Fuzztest integration + +#include +#include +#include +#include +#include +#include + +#include "absl/random/random.h" +#include "fuzztest/fuzztest.h" +#include "gtest/gtest.h" +#include "src/core/ext/transport/chttp2/transport/hpack_encoder.h" +#include "src/core/ext/transport/chttp2/transport/hpack_parser.h" +#include "src/core/lib/resource_quota/memory_quota.h" +#include "src/core/lib/resource_quota/resource_quota.h" +#include "src/core/lib/gprpp/ref_counted_ptr.h" +#include "src/core/lib/gprpp/time.h" +#include "src/core/lib/resource_quota/arena.h" +#include "src/core/lib/slice/slice_buffer.h" +#include "src/core/lib/transport/metadata_batch.h" + +namespace grpc_core { + +void EncodeTimeouts(std::vector timeouts) { + absl::BitGen bitgen; + ScopedTimeCache time_cache; + time_cache.TestOnlySetNow(Timestamp::ProcessEpoch()); + hpack_encoder_detail::TimeoutCompressorImpl timeout_compressor; + HPackCompressor compressor; + HPackParser parser; + MemoryAllocator memory_allocator = MemoryAllocator( + ResourceQuota::Default()->memory_quota()->CreateMemoryAllocator("test")); + auto arena = MakeScopedArena(1024, &memory_allocator); + for (size_t i = 0; i < timeouts.size(); i++) { + SliceBuffer encoded; + hpack_encoder_detail::Encoder encoder(&compressor, false, encoded); + timeout_compressor.EncodeWith( + "grpc-timeout", + Timestamp::ProcessEpoch() + Duration::Milliseconds(timeouts[i]), + &encoder); + grpc_metadata_batch b(arena.get()); + const uint32_t kMetadataSizeLimit = 3u * 1024 * 1024 * 1024; + parser.BeginFrame( + &b, kMetadataSizeLimit, kMetadataSizeLimit, HPackParser::Boundary::None, + HPackParser::Priority::None, + HPackParser::LogInfo{1, HPackParser::LogInfo::kHeaders, false}); + for (size_t j = 0; j < encoded.Count(); j++) { + EXPECT_TRUE(parser + .Parse(encoded.c_slice_at(j), j == encoded.Count() - 1, + bitgen, nullptr) + .ok()); + } + auto parsed = b.get(GrpcTimeoutMetadata()); + ASSERT_TRUE(parsed.has_value()); + EXPECT_GE(*parsed, + Timestamp::ProcessEpoch() + Duration::Milliseconds(timeouts[i])); + EXPECT_LE(*parsed, Timestamp::ProcessEpoch() + + Duration::Milliseconds(timeouts[i]) * 1.05 + + Duration::Milliseconds(1)); + } +} +FUZZ_TEST(MyTestSuite, EncodeTimeouts); + +} // namespace grpc_core diff --git a/fuzztest/core/transport/chttp2/write_size_policy_test.cc b/fuzztest/core/transport/chttp2/write_size_policy_test.cc new file mode 100644 index 00000000000..cf97ce44cd5 --- /dev/null +++ b/fuzztest/core/transport/chttp2/write_size_policy_test.cc @@ -0,0 +1,64 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Test to verify Fuzztest integration + +#include "src/core/ext/transport/chttp2/transport/write_size_policy.h" + +#include + +#include "fuzztest/fuzztest.h" +#include "gtest/gtest.h" + +namespace grpc_core { + +struct OneWrite { + uint16_t delay_start; + uint32_t size; + uint16_t write_time; + bool success; +}; + +void WriteSizePolicyStaysWithinBounds(std::vector ops) { + ScopedTimeCache time_cache; + uint32_t now = 100; + Chttp2WriteSizePolicy policy; + for (const OneWrite op : ops) { + const auto start_target = policy.WriteTargetSize(); + now += op.delay_start; + time_cache.TestOnlySetNow(Timestamp::ProcessEpoch() + + Duration::Milliseconds(now)); + policy.BeginWrite(op.size); + now += op.write_time; + time_cache.TestOnlySetNow(Timestamp::ProcessEpoch() + + Duration::Milliseconds(now)); + policy.EndWrite(op.success); + if (op.size >= start_target * 7 / 10) { + if (op.write_time < Chttp2WriteSizePolicy::FastWrite().millis()) { + EXPECT_GE(policy.WriteTargetSize(), start_target); + EXPECT_LE(policy.WriteTargetSize(), start_target * 3 / 2); + } else if (op.write_time > Chttp2WriteSizePolicy::SlowWrite().millis()) { + EXPECT_LE(policy.WriteTargetSize(), start_target); + EXPECT_GE(policy.WriteTargetSize(), start_target / 3); + } + } else { + EXPECT_EQ(policy.WriteTargetSize(), start_target); + } + EXPECT_GE(policy.WriteTargetSize(), Chttp2WriteSizePolicy::MinTarget()); + EXPECT_LE(policy.WriteTargetSize(), Chttp2WriteSizePolicy::MaxTarget()); + } +} +FUZZ_TEST(MyTestSuite, WriteSizePolicyStaysWithinBounds); + +} // namespace grpc_core diff --git a/gRPC-C++.podspec b/gRPC-C++.podspec index 316a1e5d74e..939670687e5 100644 --- a/gRPC-C++.podspec +++ b/gRPC-C++.podspec @@ -22,7 +22,7 @@ Pod::Spec.new do |s| s.name = 'gRPC-C++' # TODO (mxyan): use version that match gRPC version when pod is stabilized - version = '1.59.0-dev' + version = '1.63.0-dev' s.version = version s.summary = 'gRPC C++ library' s.homepage = 'https://grpc.io' @@ -53,8 +53,8 @@ Pod::Spec.new do |s| s.pod_target_xcconfig = { 'HEADER_SEARCH_PATHS' => '"$(inherited)" "$(PODS_TARGET_SRCROOT)/include"', 'USER_HEADER_SEARCH_PATHS' => '"$(PODS_TARGET_SRCROOT)"'\ - ' "$(PODS_TARGET_SRCROOT)/src/core/ext/upb-generated"'\ - ' "$(PODS_TARGET_SRCROOT)/src/core/ext/upbdefs-generated"'\ + ' "$(PODS_TARGET_SRCROOT)/src/core/ext/upb-gen"'\ + ' "$(PODS_TARGET_SRCROOT)/src/core/ext/upbdefs-gen"'\ ' "$(PODS_TARGET_SRCROOT)/third_party/re2"'\ ' "$(PODS_TARGET_SRCROOT)/third_party/upb"'\ ' "$(PODS_TARGET_SRCROOT)/third_party/xxhash"', @@ -80,6 +80,14 @@ Pod::Spec.new do |s| s.header_mappings_dir = 'include/grpcpp' + # Exposes the privacy manifest. Depended on by any subspecs containing + # non-interface files. + s.subspec 'Privacy' do |ss| + ss.resource_bundles = { + s.module_name => 'src/objective-c/PrivacyInfo.xcprivacy' + } + end + s.subspec 'Interface' do |ss| ss.header_mappings_dir = 'include/grpcpp' @@ -179,6 +187,7 @@ Pod::Spec.new do |s| 'include/grpcpp/security/tls_certificate_provider.h', 'include/grpcpp/security/tls_certificate_verifier.h', 'include/grpcpp/security/tls_credentials_options.h', + 'include/grpcpp/security/tls_crl_provider.h', 'include/grpcpp/server.h', 'include/grpcpp/server_builder.h', 'include/grpcpp/server_context.h', @@ -213,11 +222,13 @@ Pod::Spec.new do |s| s.subspec 'Implementation' do |ss| ss.header_mappings_dir = '.' + ss.dependency "#{s.name}/Privacy", version ss.dependency "#{s.name}/Interface", version ss.dependency 'gRPC-Core', version - abseil_version = '1.20230802.0' + abseil_version = '1.20240116.1' ss.dependency 'abseil/algorithm/container', abseil_version ss.dependency 'abseil/base/base', abseil_version + ss.dependency 'abseil/base/config', abseil_version ss.dependency 'abseil/base/core_headers', abseil_version ss.dependency 'abseil/cleanup/cleanup', abseil_version ss.dependency 'abseil/container/flat_hash_map', abseil_version @@ -231,6 +242,8 @@ Pod::Spec.new do |s| ss.dependency 'abseil/hash/hash', abseil_version ss.dependency 'abseil/memory/memory', abseil_version ss.dependency 'abseil/meta/type_traits', abseil_version + ss.dependency 'abseil/random/bit_gen_ref', abseil_version + ss.dependency 'abseil/random/distributions', abseil_version ss.dependency 'abseil/random/random', abseil_version ss.dependency 'abseil/status/status', abseil_version ss.dependency 'abseil/status/statusor', abseil_version @@ -244,67 +257,38 @@ Pod::Spec.new do |s| ss.dependency 'abseil/types/variant', abseil_version ss.dependency 'abseil/utility/utility', abseil_version - ss.source_files = 'src/core/ext/filters/backend_metrics/backend_metric_filter.h', + ss.source_files = 'src/core/client_channel/backup_poller.h', + 'src/core/client_channel/client_channel_channelz.h', + 'src/core/client_channel/client_channel_factory.h', + 'src/core/client_channel/client_channel_filter.h', + 'src/core/client_channel/client_channel_internal.h', + 'src/core/client_channel/client_channel_service_config.h', + 'src/core/client_channel/config_selector.h', + 'src/core/client_channel/connector.h', + 'src/core/client_channel/dynamic_filters.h', + 'src/core/client_channel/global_subchannel_pool.h', + 'src/core/client_channel/http_proxy_mapper.h', + 'src/core/client_channel/local_subchannel_pool.h', + 'src/core/client_channel/retry_filter.h', + 'src/core/client_channel/retry_filter_legacy_call_data.h', + 'src/core/client_channel/retry_service_config.h', + 'src/core/client_channel/retry_throttle.h', + 'src/core/client_channel/subchannel.h', + 'src/core/client_channel/subchannel_interface_internal.h', + 'src/core/client_channel/subchannel_pool_interface.h', + 'src/core/client_channel/subchannel_stream_client.h', + 'src/core/ext/filters/backend_metrics/backend_metric_filter.h', 'src/core/ext/filters/backend_metrics/backend_metric_provider.h', 'src/core/ext/filters/channel_idle/channel_idle_filter.h', 'src/core/ext/filters/channel_idle/idle_filter_state.h', - 'src/core/ext/filters/client_channel/backend_metric.h', - 'src/core/ext/filters/client_channel/backup_poller.h', - 'src/core/ext/filters/client_channel/client_channel.h', - 'src/core/ext/filters/client_channel/client_channel_channelz.h', - 'src/core/ext/filters/client_channel/client_channel_factory.h', - 'src/core/ext/filters/client_channel/client_channel_internal.h', - 'src/core/ext/filters/client_channel/client_channel_service_config.h', - 'src/core/ext/filters/client_channel/config_selector.h', - 'src/core/ext/filters/client_channel/connector.h', - 'src/core/ext/filters/client_channel/dynamic_filters.h', - 'src/core/ext/filters/client_channel/global_subchannel_pool.h', - 'src/core/ext/filters/client_channel/http_proxy_mapper.h', - 'src/core/ext/filters/client_channel/lb_policy/address_filtering.h', - 'src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h', - 'src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h', - 'src/core/ext/filters/client_channel/lb_policy/endpoint_list.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h', - 'src/core/ext/filters/client_channel/lb_policy/health_check_client.h', - 'src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h', - 'src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h', - 'src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h', - 'src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h', - 'src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h', - 'src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h', - 'src/core/ext/filters/client_channel/lb_policy/subchannel_list.h', - 'src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h', - 'src/core/ext/filters/client_channel/local_subchannel_pool.h', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h', - 'src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h', - 'src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h', - 'src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h', - 'src/core/ext/filters/client_channel/resolver/polling_resolver.h', - 'src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h', - 'src/core/ext/filters/client_channel/retry_filter.h', - 'src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h', - 'src/core/ext/filters/client_channel/retry_service_config.h', - 'src/core/ext/filters/client_channel/retry_throttle.h', - 'src/core/ext/filters/client_channel/subchannel.h', - 'src/core/ext/filters/client_channel/subchannel_interface_internal.h', - 'src/core/ext/filters/client_channel/subchannel_pool_interface.h', - 'src/core/ext/filters/client_channel/subchannel_stream_client.h', + 'src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h', 'src/core/ext/filters/deadline/deadline_filter.h', 'src/core/ext/filters/fault_injection/fault_injection_filter.h', 'src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h', 'src/core/ext/filters/http/client/http_client_filter.h', 'src/core/ext/filters/http/client_authority_filter.h', 'src/core/ext/filters/http/message_compress/compression_filter.h', + 'src/core/ext/filters/http/message_compress/legacy_compression_filter.h', 'src/core/ext/filters/http/server/http_server_filter.h', 'src/core/ext/filters/message_size/message_size_filter.h', 'src/core/ext/filters/rbac/rbac_filter.h', @@ -361,6 +345,7 @@ Pod::Spec.new do |s| 'src/core/ext/transport/chttp2/transport/context_list_entry.h', 'src/core/ext/transport/chttp2/transport/decode_huff.h', 'src/core/ext/transport/chttp2/transport/flow_control.h', + 'src/core/ext/transport/chttp2/transport/frame.h', 'src/core/ext/transport/chttp2/transport/frame_data.h', 'src/core/ext/transport/chttp2/transport/frame_goaway.h', 'src/core/ext/transport/chttp2/transport/frame_ping.h', @@ -378,323 +363,496 @@ Pod::Spec.new do |s| 'src/core/ext/transport/chttp2/transport/huffsyms.h', 'src/core/ext/transport/chttp2/transport/internal.h', 'src/core/ext/transport/chttp2/transport/legacy_frame.h', + 'src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h', 'src/core/ext/transport/chttp2/transport/ping_abuse_policy.h', + 'src/core/ext/transport/chttp2/transport/ping_callbacks.h', 'src/core/ext/transport/chttp2/transport/ping_rate_policy.h', 'src/core/ext/transport/chttp2/transport/varint.h', + 'src/core/ext/transport/chttp2/transport/write_size_policy.h', 'src/core/ext/transport/inproc/inproc_transport.h', - 'src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h', - 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h', - 'src/core/ext/upb-generated/envoy/annotations/resource.upb.h', - 'src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h', - 'src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h', - 'src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h', - 'src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h', - 'src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h', - 'src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h', - 'src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h', - 'src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h', - 'src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h', - 'src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h', - 'src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h', - 'src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h', - 'src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h', - 'src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h', - 'src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h', - 'src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h', - 'src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h', - 'src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h', - 'src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/http.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/percent.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/range.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h', - 'src/core/ext/upb-generated/google/api/annotations.upb.h', - 'src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h', - 'src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h', - 'src/core/ext/upb-generated/google/api/http.upb.h', - 'src/core/ext/upb-generated/google/api/httpbody.upb.h', - 'src/core/ext/upb-generated/google/protobuf/any.upb.h', - 'src/core/ext/upb-generated/google/protobuf/descriptor.upb.h', - 'src/core/ext/upb-generated/google/protobuf/duration.upb.h', - 'src/core/ext/upb-generated/google/protobuf/empty.upb.h', - 'src/core/ext/upb-generated/google/protobuf/struct.upb.h', - 'src/core/ext/upb-generated/google/protobuf/timestamp.upb.h', - 'src/core/ext/upb-generated/google/protobuf/wrappers.upb.h', - 'src/core/ext/upb-generated/google/rpc/status.upb.h', - 'src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/migrate.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/security.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/status.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/versioning.upb.h', - 'src/core/ext/upb-generated/validate/validate.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/security.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/status.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/authority.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/cidr.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/context_params.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/extension.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/resource.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h', - 'src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h', - 'src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h', - 'src/core/ext/upb-generated/xds/type/v3/cel.upb.h', - 'src/core/ext/upb-generated/xds/type/v3/range.upb.h', - 'src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/http.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h', - 'src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h', - 'src/core/ext/upbdefs-generated/validate/validate.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h', + 'src/core/ext/transport/inproc/legacy_inproc_transport.h', + 'src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h', + 'src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/annotations/resource.upb.h', + 'src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h', + 'src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h', + 'src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h', + 'src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h', + 'src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h', + 'src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h', + 'src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h', + 'src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h', + 'src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h', + 'src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h', + 'src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h', + 'src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/http.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/percent.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/range.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/annotations.upb.h', + 'src/core/ext/upb-gen/google/api/annotations.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/http.upb.h', + 'src/core/ext/upb-gen/google/api/http.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/httpbody.upb.h', + 'src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/any.upb.h', + 'src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb.h', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/duration.upb.h', + 'src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/empty.upb.h', + 'src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/struct.upb.h', + 'src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/timestamp.upb.h', + 'src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/wrappers.upb.h', + 'src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h', + 'src/core/ext/upb-gen/google/rpc/status.upb.h', + 'src/core/ext/upb-gen/google/rpc/status.upb_minitable.h', + 'src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h', + 'src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/migrate.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/security.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/status.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/versioning.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h', + 'src/core/ext/upb-gen/validate/validate.upb.h', + 'src/core/ext/upb-gen/validate/validate.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/security.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/status.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/authority.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/cidr.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/context_params.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/extension.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/resource.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h', + 'src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h', + 'src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h', + 'src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h', + 'src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/v3/cel.upb.h', + 'src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/v3/range.upb.h', + 'src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h', + 'src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/http.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h', + 'src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h', + 'src/core/ext/upbdefs-gen/validate/validate.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h', 'src/core/ext/xds/certificate_provider_store.h', 'src/core/ext/xds/file_watcher_certificate_provider_factory.h', 'src/core/ext/xds/upb_utils.h', @@ -739,6 +897,7 @@ Pod::Spec.new do |s| 'src/core/lib/channel/channel_stack.h', 'src/core/lib/channel/channel_stack_builder.h', 'src/core/lib/channel/channel_stack_builder_impl.h', + 'src/core/lib/channel/channel_stack_trace.h', 'src/core/lib/channel/channel_trace.h', 'src/core/lib/channel/channelz.h', 'src/core/lib/channel/channelz_registry.h', @@ -746,6 +905,7 @@ Pod::Spec.new do |s| 'src/core/lib/channel/context.h', 'src/core/lib/channel/promise_based_filter.h', 'src/core/lib/channel/status_util.h', + 'src/core/lib/channel/tcp_tracer.h', 'src/core/lib/compression/compression_internal.h', 'src/core/lib/compression/message_compress.h', 'src/core/lib/config/config_vars.h', @@ -765,6 +925,8 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/common_closures.h', 'src/core/lib/event_engine/default_event_engine.h', 'src/core/lib/event_engine/default_event_engine_factory.h', + 'src/core/lib/event_engine/extensions/can_track_errors.h', + 'src/core/lib/event_engine/extensions/supports_fd.h', 'src/core/lib/event_engine/forkable.h', 'src/core/lib/event_engine/grpc_polled_fd.h', 'src/core/lib/event_engine/handle_containers.h', @@ -779,6 +941,7 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h', 'src/core/lib/event_engine/posix_engine/internal_errqueue.h', 'src/core/lib/event_engine/posix_engine/lockfree_event.h', + 'src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h', 'src/core/lib/event_engine/posix_engine/posix_endpoint.h', 'src/core/lib/event_engine/posix_engine/posix_engine.h', 'src/core/lib/event_engine/posix_engine/posix_engine_closure.h', @@ -793,6 +956,8 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h', 'src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h', 'src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h', + 'src/core/lib/event_engine/query_extensions.h', + 'src/core/lib/event_engine/ref_counted_dns_resolver_interface.h', 'src/core/lib/event_engine/resolved_address_internal.h', 'src/core/lib/event_engine/shim.h', 'src/core/lib/event_engine/tcp_socket_utils.h', @@ -804,7 +969,9 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/time_util.h', 'src/core/lib/event_engine/trace.h', 'src/core/lib/event_engine/utils.h', + 'src/core/lib/event_engine/windows/grpc_polled_fd_windows.h', 'src/core/lib/event_engine/windows/iocp.h', + 'src/core/lib/event_engine/windows/native_windows_dns_resolver.h', 'src/core/lib/event_engine/windows/win_socket.h', 'src/core/lib/event_engine/windows/windows_endpoint.h', 'src/core/lib/event_engine/windows/windows_engine.h', @@ -827,6 +994,8 @@ Pod::Spec.new do |s| 'src/core/lib/gprpp/cpp_impl_of.h', 'src/core/lib/gprpp/crash.h', 'src/core/lib/gprpp/debug_location.h', + 'src/core/lib/gprpp/directory_reader.h', + 'src/core/lib/gprpp/down_cast.h', 'src/core/lib/gprpp/dual_ref_counted.h', 'src/core/lib/gprpp/env.h', 'src/core/lib/gprpp/examine_stack.h', @@ -863,6 +1032,7 @@ Pod::Spec.new do |s| 'src/core/lib/gprpp/unique_type_name.h', 'src/core/lib/gprpp/validation_errors.h', 'src/core/lib/gprpp/work_serializer.h', + 'src/core/lib/gprpp/xxhash_inline.h', 'src/core/lib/handshaker/proxy_mapper.h', 'src/core/lib/handshaker/proxy_mapper_registry.h', 'src/core/lib/http/format_request.h', @@ -897,7 +1067,6 @@ Pod::Spec.new do |s| 'src/core/lib/iomgr/iomgr.h', 'src/core/lib/iomgr/iomgr_fwd.h', 'src/core/lib/iomgr/iomgr_internal.h', - 'src/core/lib/iomgr/load_file.h', 'src/core/lib/iomgr/lockfree_event.h', 'src/core/lib/iomgr/nameser.h', 'src/core/lib/iomgr/polling_entity.h', @@ -942,17 +1111,14 @@ Pod::Spec.new do |s| 'src/core/lib/json/json_reader.h', 'src/core/lib/json/json_util.h', 'src/core/lib/json/json_writer.h', - 'src/core/lib/load_balancing/delegating_helper.h', - 'src/core/lib/load_balancing/lb_policy.h', - 'src/core/lib/load_balancing/lb_policy_factory.h', - 'src/core/lib/load_balancing/lb_policy_registry.h', - 'src/core/lib/load_balancing/subchannel_interface.h', 'src/core/lib/matchers/matchers.h', 'src/core/lib/promise/activity.h', + 'src/core/lib/promise/all_ok.h', 'src/core/lib/promise/arena_promise.h', 'src/core/lib/promise/cancel_callback.h', 'src/core/lib/promise/context.h', 'src/core/lib/promise/detail/basic_seq.h', + 'src/core/lib/promise/detail/join_state.h', 'src/core/lib/promise/detail/promise_factory.h', 'src/core/lib/promise/detail/promise_like.h', 'src/core/lib/promise/detail/seq_state.h', @@ -972,12 +1138,10 @@ Pod::Spec.new do |s| 'src/core/lib/promise/race.h', 'src/core/lib/promise/seq.h', 'src/core/lib/promise/sleep.h', + 'src/core/lib/promise/status_flag.h', 'src/core/lib/promise/trace.h', + 'src/core/lib/promise/try_join.h', 'src/core/lib/promise/try_seq.h', - 'src/core/lib/resolver/resolver.h', - 'src/core/lib/resolver/resolver_factory.h', - 'src/core/lib/resolver/resolver_registry.h', - 'src/core/lib/resolver/server_address.h', 'src/core/lib/resource_quota/api.h', 'src/core/lib/resource_quota/arena.h', 'src/core/lib/resource_quota/memory_quota.h', @@ -1024,6 +1188,7 @@ Pod::Spec.new do |s| 'src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h', 'src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h', 'src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h', + 'src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h', 'src/core/lib/security/credentials/tls/tls_credentials.h', 'src/core/lib/security/credentials/tls/tls_utils.h', 'src/core/lib/security/credentials/xds/xds_credentials.h', @@ -1042,10 +1207,6 @@ Pod::Spec.new do |s| 'src/core/lib/security/transport/security_handshaker.h', 'src/core/lib/security/transport/tsi_error.h', 'src/core/lib/security/util/json_util.h', - 'src/core/lib/service_config/service_config.h', - 'src/core/lib/service_config/service_config_call_data.h', - 'src/core/lib/service_config/service_config_impl.h', - 'src/core/lib/service_config/service_config_parser.h', 'src/core/lib/slice/b64.h', 'src/core/lib/slice/percent_encoding.h', 'src/core/lib/slice/slice.h', @@ -1069,8 +1230,14 @@ Pod::Spec.new do |s| 'src/core/lib/surface/lame_client.h', 'src/core/lib/surface/server.h', 'src/core/lib/surface/validate_metadata.h', + 'src/core/lib/surface/wait_for_cq_end_op.h', 'src/core/lib/transport/batch_builder.h', 'src/core/lib/transport/bdp_estimator.h', + 'src/core/lib/transport/call_factory.h', + 'src/core/lib/transport/call_filters.h', + 'src/core/lib/transport/call_final_info.h', + 'src/core/lib/transport/call_size_estimator.h', + 'src/core/lib/transport/call_spine.h', 'src/core/lib/transport/connectivity_state.h', 'src/core/lib/transport/custom_metadata.h', 'src/core/lib/transport/error_utils.h', @@ -1079,18 +1246,65 @@ Pod::Spec.new do |s| 'src/core/lib/transport/handshaker_registry.h', 'src/core/lib/transport/http2_errors.h', 'src/core/lib/transport/http_connect_handshaker.h', + 'src/core/lib/transport/message.h', + 'src/core/lib/transport/metadata.h', 'src/core/lib/transport/metadata_batch.h', 'src/core/lib/transport/metadata_compression_traits.h', 'src/core/lib/transport/parsed_metadata.h', - 'src/core/lib/transport/pid_controller.h', 'src/core/lib/transport/simple_slice_based_metadata.h', 'src/core/lib/transport/status_conversion.h', 'src/core/lib/transport/tcp_connect_handshaker.h', 'src/core/lib/transport/timeout_encoding.h', 'src/core/lib/transport/transport.h', 'src/core/lib/transport/transport_fwd.h', - 'src/core/lib/transport/transport_impl.h', 'src/core/lib/uri/uri_parser.h', + 'src/core/load_balancing/address_filtering.h', + 'src/core/load_balancing/backend_metric_data.h', + 'src/core/load_balancing/backend_metric_parser.h', + 'src/core/load_balancing/child_policy_handler.h', + 'src/core/load_balancing/delegating_helper.h', + 'src/core/load_balancing/endpoint_list.h', + 'src/core/load_balancing/grpclb/client_load_reporting_filter.h', + 'src/core/load_balancing/grpclb/grpclb.h', + 'src/core/load_balancing/grpclb/grpclb_balancer_addresses.h', + 'src/core/load_balancing/grpclb/grpclb_client_stats.h', + 'src/core/load_balancing/grpclb/load_balancer_api.h', + 'src/core/load_balancing/health_check_client.h', + 'src/core/load_balancing/health_check_client_internal.h', + 'src/core/load_balancing/lb_policy.h', + 'src/core/load_balancing/lb_policy_factory.h', + 'src/core/load_balancing/lb_policy_registry.h', + 'src/core/load_balancing/oob_backend_metric.h', + 'src/core/load_balancing/oob_backend_metric_internal.h', + 'src/core/load_balancing/outlier_detection/outlier_detection.h', + 'src/core/load_balancing/pick_first/pick_first.h', + 'src/core/load_balancing/ring_hash/ring_hash.h', + 'src/core/load_balancing/subchannel_interface.h', + 'src/core/load_balancing/subchannel_list.h', + 'src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h', + 'src/core/load_balancing/xds/xds_channel_args.h', + 'src/core/load_balancing/xds/xds_override_host.h', + 'src/core/resolver/dns/c_ares/dns_resolver_ares.h', + 'src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h', + 'src/core/resolver/dns/c_ares/grpc_ares_wrapper.h', + 'src/core/resolver/dns/dns_resolver_plugin.h', + 'src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h', + 'src/core/resolver/dns/event_engine/service_config_helper.h', + 'src/core/resolver/dns/native/dns_resolver.h', + 'src/core/resolver/endpoint_addresses.h', + 'src/core/resolver/fake/fake_resolver.h', + 'src/core/resolver/polling_resolver.h', + 'src/core/resolver/resolver.h', + 'src/core/resolver/resolver_factory.h', + 'src/core/resolver/resolver_registry.h', + 'src/core/resolver/server_address.h', + 'src/core/resolver/xds/xds_dependency_manager.h', + 'src/core/resolver/xds/xds_resolver_attributes.h', + 'src/core/resolver/xds/xds_resolver_trace.h', + 'src/core/service_config/service_config.h', + 'src/core/service_config/service_config_call_data.h', + 'src/core/service_config/service_config_impl.h', + 'src/core/service_config/service_config_parser.h', 'src/core/tsi/alts/crypt/gsec.h', 'src/core/tsi/alts/frame_protector/alts_counter.h', 'src/core/tsi/alts/frame_protector/alts_crypter.h', @@ -1137,8 +1351,6 @@ Pod::Spec.new do |s| 'src/cpp/common/alarm.cc', 'src/cpp/common/auth_property_iterator.cc', 'src/cpp/common/channel_arguments.cc', - 'src/cpp/common/channel_filter.cc', - 'src/cpp/common/channel_filter.h', 'src/cpp/common/completion_queue_cc.cc', 'src/cpp/common/resource_quota_cc.cc', 'src/cpp/common/rpc_method.cc', @@ -1172,6 +1384,7 @@ Pod::Spec.new do |s| 'src/cpp/server/server_context.cc', 'src/cpp/server/server_posix.cc', 'src/cpp/server/thread_pool_interface.h', + 'src/cpp/server/xds_server_builder.cc', 'src/cpp/server/xds_server_credentials.cc', 'src/cpp/thread_manager/thread_manager.cc', 'src/cpp/thread_manager/thread_manager.h', @@ -1200,25 +1413,11 @@ Pod::Spec.new do |s| 'third_party/re2/util/strutil.h', 'third_party/re2/util/utf.h', 'third_party/re2/util/util.h', - 'third_party/upb/upb/alloc.h', - 'third_party/upb/upb/arena.h', - 'third_party/upb/upb/array.h', 'third_party/upb/upb/base/descriptor_constants.h', - 'third_party/upb/upb/base/log2.h', + 'third_party/upb/upb/base/internal/log2.h', 'third_party/upb/upb/base/status.h', + 'third_party/upb/upb/base/status.hpp', 'third_party/upb/upb/base/string_view.h', - 'third_party/upb/upb/collections/array.h', - 'third_party/upb/upb/collections/array_internal.h', - 'third_party/upb/upb/collections/map.h', - 'third_party/upb/upb/collections/map_gencode_util.h', - 'third_party/upb/upb/collections/map_internal.h', - 'third_party/upb/upb/collections/map_sorter_internal.h', - 'third_party/upb/upb/collections/message_value.h', - 'third_party/upb/upb/decode.h', - 'third_party/upb/upb/def.h', - 'third_party/upb/upb/def.hpp', - 'third_party/upb/upb/encode.h', - 'third_party/upb/upb/extension_registry.h', 'third_party/upb/upb/generated_code_support.h', 'third_party/upb/upb/hash/common.h', 'third_party/upb/upb/hash/int_table.h', @@ -1229,17 +1428,26 @@ Pod::Spec.new do |s| 'third_party/upb/upb/lex/round_trip.h', 'third_party/upb/upb/lex/strtod.h', 'third_party/upb/upb/lex/unicode.h', - 'third_party/upb/upb/map.h', 'third_party/upb/upb/mem/alloc.h', 'third_party/upb/upb/mem/arena.h', - 'third_party/upb/upb/mem/arena_internal.h', + 'third_party/upb/upb/mem/arena.hpp', + 'third_party/upb/upb/mem/internal/arena.h', 'third_party/upb/upb/message/accessors.h', - 'third_party/upb/upb/message/accessors_internal.h', - 'third_party/upb/upb/message/extension_internal.h', - 'third_party/upb/upb/message/internal.h', + 'third_party/upb/upb/message/array.h', + 'third_party/upb/upb/message/internal/accessors.h', + 'third_party/upb/upb/message/internal/array.h', + 'third_party/upb/upb/message/internal/extension.h', + 'third_party/upb/upb/message/internal/map.h', 'third_party/upb/upb/message/internal/map_entry.h', + 'third_party/upb/upb/message/internal/map_sorter.h', + 'third_party/upb/upb/message/internal/message.h', + 'third_party/upb/upb/message/internal/types.h', + 'third_party/upb/upb/message/map.h', + 'third_party/upb/upb/message/map_gencode_util.h', 'third_party/upb/upb/message/message.h', 'third_party/upb/upb/message/tagged_ptr.h', + 'third_party/upb/upb/message/types.h', + 'third_party/upb/upb/message/value.h', 'third_party/upb/upb/mini_descriptor/build_enum.h', 'third_party/upb/upb/mini_descriptor/decode.h', 'third_party/upb/upb/mini_descriptor/internal/base92.h', @@ -1262,60 +1470,52 @@ Pod::Spec.new do |s| 'third_party/upb/upb/mini_table/internal/sub.h', 'third_party/upb/upb/mini_table/message.h', 'third_party/upb/upb/mini_table/sub.h', - 'third_party/upb/upb/msg.h', 'third_party/upb/upb/port/atomic.h', 'third_party/upb/upb/port/def.inc', 'third_party/upb/upb/port/undef.inc', 'third_party/upb/upb/port/vsnprintf_compat.h', - 'third_party/upb/upb/reflection.h', - 'third_party/upb/upb/reflection.hpp', 'third_party/upb/upb/reflection/common.h', 'third_party/upb/upb/reflection/def.h', 'third_party/upb/upb/reflection/def.hpp', - 'third_party/upb/upb/reflection/def_builder_internal.h', 'third_party/upb/upb/reflection/def_pool.h', - 'third_party/upb/upb/reflection/def_pool_internal.h', 'third_party/upb/upb/reflection/def_type.h', - 'third_party/upb/upb/reflection/desc_state_internal.h', 'third_party/upb/upb/reflection/enum_def.h', - 'third_party/upb/upb/reflection/enum_def_internal.h', 'third_party/upb/upb/reflection/enum_reserved_range.h', - 'third_party/upb/upb/reflection/enum_reserved_range_internal.h', 'third_party/upb/upb/reflection/enum_value_def.h', - 'third_party/upb/upb/reflection/enum_value_def_internal.h', 'third_party/upb/upb/reflection/extension_range.h', - 'third_party/upb/upb/reflection/extension_range_internal.h', 'third_party/upb/upb/reflection/field_def.h', - 'third_party/upb/upb/reflection/field_def_internal.h', 'third_party/upb/upb/reflection/file_def.h', - 'third_party/upb/upb/reflection/file_def_internal.h', + 'third_party/upb/upb/reflection/internal/def_builder.h', + 'third_party/upb/upb/reflection/internal/def_pool.h', + 'third_party/upb/upb/reflection/internal/desc_state.h', + 'third_party/upb/upb/reflection/internal/enum_def.h', + 'third_party/upb/upb/reflection/internal/enum_reserved_range.h', + 'third_party/upb/upb/reflection/internal/enum_value_def.h', + 'third_party/upb/upb/reflection/internal/extension_range.h', + 'third_party/upb/upb/reflection/internal/field_def.h', + 'third_party/upb/upb/reflection/internal/file_def.h', + 'third_party/upb/upb/reflection/internal/message_def.h', + 'third_party/upb/upb/reflection/internal/message_reserved_range.h', + 'third_party/upb/upb/reflection/internal/method_def.h', + 'third_party/upb/upb/reflection/internal/oneof_def.h', + 'third_party/upb/upb/reflection/internal/service_def.h', + 'third_party/upb/upb/reflection/internal/strdup2.h', 'third_party/upb/upb/reflection/message.h', 'third_party/upb/upb/reflection/message.hpp', 'third_party/upb/upb/reflection/message_def.h', - 'third_party/upb/upb/reflection/message_def_internal.h', 'third_party/upb/upb/reflection/message_reserved_range.h', - 'third_party/upb/upb/reflection/message_reserved_range_internal.h', 'third_party/upb/upb/reflection/method_def.h', - 'third_party/upb/upb/reflection/method_def_internal.h', 'third_party/upb/upb/reflection/oneof_def.h', - 'third_party/upb/upb/reflection/oneof_def_internal.h', 'third_party/upb/upb/reflection/service_def.h', - 'third_party/upb/upb/reflection/service_def_internal.h', - 'third_party/upb/upb/status.h', - 'third_party/upb/upb/string_view.h', 'third_party/upb/upb/text/encode.h', - 'third_party/upb/upb/text_encode.h', - 'third_party/upb/upb/upb.h', - 'third_party/upb/upb/upb.hpp', - 'third_party/upb/upb/wire/common.h', - 'third_party/upb/upb/wire/common_internal.h', 'third_party/upb/upb/wire/decode.h', 'third_party/upb/upb/wire/decode_fast.h', - 'third_party/upb/upb/wire/decode_internal.h', 'third_party/upb/upb/wire/encode.h', 'third_party/upb/upb/wire/eps_copy_input_stream.h', + 'third_party/upb/upb/wire/internal/constants.h', + 'third_party/upb/upb/wire/internal/decode.h', + 'third_party/upb/upb/wire/internal/swap.h', 'third_party/upb/upb/wire/reader.h', - 'third_party/upb/upb/wire/swap_internal.h', 'third_party/upb/upb/wire/types.h', 'third_party/utf8_range/utf8_range.h', 'third_party/xxhash/xxhash.h', @@ -1331,67 +1531,38 @@ Pod::Spec.new do |s| 'third_party/zlib/zlib.h', 'third_party/zlib/zutil.h' - ss.private_header_files = 'src/core/ext/filters/backend_metrics/backend_metric_filter.h', + ss.private_header_files = 'src/core/client_channel/backup_poller.h', + 'src/core/client_channel/client_channel_channelz.h', + 'src/core/client_channel/client_channel_factory.h', + 'src/core/client_channel/client_channel_filter.h', + 'src/core/client_channel/client_channel_internal.h', + 'src/core/client_channel/client_channel_service_config.h', + 'src/core/client_channel/config_selector.h', + 'src/core/client_channel/connector.h', + 'src/core/client_channel/dynamic_filters.h', + 'src/core/client_channel/global_subchannel_pool.h', + 'src/core/client_channel/http_proxy_mapper.h', + 'src/core/client_channel/local_subchannel_pool.h', + 'src/core/client_channel/retry_filter.h', + 'src/core/client_channel/retry_filter_legacy_call_data.h', + 'src/core/client_channel/retry_service_config.h', + 'src/core/client_channel/retry_throttle.h', + 'src/core/client_channel/subchannel.h', + 'src/core/client_channel/subchannel_interface_internal.h', + 'src/core/client_channel/subchannel_pool_interface.h', + 'src/core/client_channel/subchannel_stream_client.h', + 'src/core/ext/filters/backend_metrics/backend_metric_filter.h', 'src/core/ext/filters/backend_metrics/backend_metric_provider.h', 'src/core/ext/filters/channel_idle/channel_idle_filter.h', 'src/core/ext/filters/channel_idle/idle_filter_state.h', - 'src/core/ext/filters/client_channel/backend_metric.h', - 'src/core/ext/filters/client_channel/backup_poller.h', - 'src/core/ext/filters/client_channel/client_channel.h', - 'src/core/ext/filters/client_channel/client_channel_channelz.h', - 'src/core/ext/filters/client_channel/client_channel_factory.h', - 'src/core/ext/filters/client_channel/client_channel_internal.h', - 'src/core/ext/filters/client_channel/client_channel_service_config.h', - 'src/core/ext/filters/client_channel/config_selector.h', - 'src/core/ext/filters/client_channel/connector.h', - 'src/core/ext/filters/client_channel/dynamic_filters.h', - 'src/core/ext/filters/client_channel/global_subchannel_pool.h', - 'src/core/ext/filters/client_channel/http_proxy_mapper.h', - 'src/core/ext/filters/client_channel/lb_policy/address_filtering.h', - 'src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h', - 'src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h', - 'src/core/ext/filters/client_channel/lb_policy/endpoint_list.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h', - 'src/core/ext/filters/client_channel/lb_policy/health_check_client.h', - 'src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h', - 'src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h', - 'src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h', - 'src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h', - 'src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h', - 'src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h', - 'src/core/ext/filters/client_channel/lb_policy/subchannel_list.h', - 'src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h', - 'src/core/ext/filters/client_channel/local_subchannel_pool.h', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h', - 'src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h', - 'src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h', - 'src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h', - 'src/core/ext/filters/client_channel/resolver/polling_resolver.h', - 'src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h', - 'src/core/ext/filters/client_channel/retry_filter.h', - 'src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h', - 'src/core/ext/filters/client_channel/retry_service_config.h', - 'src/core/ext/filters/client_channel/retry_throttle.h', - 'src/core/ext/filters/client_channel/subchannel.h', - 'src/core/ext/filters/client_channel/subchannel_interface_internal.h', - 'src/core/ext/filters/client_channel/subchannel_pool_interface.h', - 'src/core/ext/filters/client_channel/subchannel_stream_client.h', + 'src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h', 'src/core/ext/filters/deadline/deadline_filter.h', 'src/core/ext/filters/fault_injection/fault_injection_filter.h', 'src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h', 'src/core/ext/filters/http/client/http_client_filter.h', 'src/core/ext/filters/http/client_authority_filter.h', 'src/core/ext/filters/http/message_compress/compression_filter.h', + 'src/core/ext/filters/http/message_compress/legacy_compression_filter.h', 'src/core/ext/filters/http/server/http_server_filter.h', 'src/core/ext/filters/message_size/message_size_filter.h', 'src/core/ext/filters/rbac/rbac_filter.h', @@ -1430,6 +1601,7 @@ Pod::Spec.new do |s| 'src/core/ext/transport/chttp2/transport/context_list_entry.h', 'src/core/ext/transport/chttp2/transport/decode_huff.h', 'src/core/ext/transport/chttp2/transport/flow_control.h', + 'src/core/ext/transport/chttp2/transport/frame.h', 'src/core/ext/transport/chttp2/transport/frame_data.h', 'src/core/ext/transport/chttp2/transport/frame_goaway.h', 'src/core/ext/transport/chttp2/transport/frame_ping.h', @@ -1447,323 +1619,496 @@ Pod::Spec.new do |s| 'src/core/ext/transport/chttp2/transport/huffsyms.h', 'src/core/ext/transport/chttp2/transport/internal.h', 'src/core/ext/transport/chttp2/transport/legacy_frame.h', + 'src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h', 'src/core/ext/transport/chttp2/transport/ping_abuse_policy.h', + 'src/core/ext/transport/chttp2/transport/ping_callbacks.h', 'src/core/ext/transport/chttp2/transport/ping_rate_policy.h', 'src/core/ext/transport/chttp2/transport/varint.h', + 'src/core/ext/transport/chttp2/transport/write_size_policy.h', 'src/core/ext/transport/inproc/inproc_transport.h', - 'src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h', - 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h', - 'src/core/ext/upb-generated/envoy/annotations/resource.upb.h', - 'src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h', - 'src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h', - 'src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h', - 'src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h', - 'src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h', - 'src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h', - 'src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h', - 'src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h', - 'src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h', - 'src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h', - 'src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h', - 'src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h', - 'src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h', - 'src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h', - 'src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h', - 'src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h', - 'src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h', - 'src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h', - 'src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/http.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/percent.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/range.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h', - 'src/core/ext/upb-generated/google/api/annotations.upb.h', - 'src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h', - 'src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h', - 'src/core/ext/upb-generated/google/api/http.upb.h', - 'src/core/ext/upb-generated/google/api/httpbody.upb.h', - 'src/core/ext/upb-generated/google/protobuf/any.upb.h', - 'src/core/ext/upb-generated/google/protobuf/descriptor.upb.h', - 'src/core/ext/upb-generated/google/protobuf/duration.upb.h', - 'src/core/ext/upb-generated/google/protobuf/empty.upb.h', - 'src/core/ext/upb-generated/google/protobuf/struct.upb.h', - 'src/core/ext/upb-generated/google/protobuf/timestamp.upb.h', - 'src/core/ext/upb-generated/google/protobuf/wrappers.upb.h', - 'src/core/ext/upb-generated/google/rpc/status.upb.h', - 'src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/migrate.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/security.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/status.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/versioning.upb.h', - 'src/core/ext/upb-generated/validate/validate.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/security.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/status.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/authority.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/cidr.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/context_params.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/extension.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/resource.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h', - 'src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h', - 'src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h', - 'src/core/ext/upb-generated/xds/type/v3/cel.upb.h', - 'src/core/ext/upb-generated/xds/type/v3/range.upb.h', - 'src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/http.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h', - 'src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h', - 'src/core/ext/upbdefs-generated/validate/validate.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h', + 'src/core/ext/transport/inproc/legacy_inproc_transport.h', + 'src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h', + 'src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/annotations/resource.upb.h', + 'src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h', + 'src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h', + 'src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h', + 'src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h', + 'src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h', + 'src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h', + 'src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h', + 'src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h', + 'src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h', + 'src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h', + 'src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h', + 'src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/http.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/percent.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/range.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/annotations.upb.h', + 'src/core/ext/upb-gen/google/api/annotations.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/http.upb.h', + 'src/core/ext/upb-gen/google/api/http.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/httpbody.upb.h', + 'src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/any.upb.h', + 'src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb.h', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/duration.upb.h', + 'src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/empty.upb.h', + 'src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/struct.upb.h', + 'src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/timestamp.upb.h', + 'src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/wrappers.upb.h', + 'src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h', + 'src/core/ext/upb-gen/google/rpc/status.upb.h', + 'src/core/ext/upb-gen/google/rpc/status.upb_minitable.h', + 'src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h', + 'src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/migrate.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/security.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/status.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/versioning.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h', + 'src/core/ext/upb-gen/validate/validate.upb.h', + 'src/core/ext/upb-gen/validate/validate.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/security.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/status.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/authority.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/cidr.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/context_params.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/extension.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/resource.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h', + 'src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h', + 'src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h', + 'src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h', + 'src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/v3/cel.upb.h', + 'src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/v3/range.upb.h', + 'src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h', + 'src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/http.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h', + 'src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h', + 'src/core/ext/upbdefs-gen/validate/validate.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h', 'src/core/ext/xds/certificate_provider_store.h', 'src/core/ext/xds/file_watcher_certificate_provider_factory.h', 'src/core/ext/xds/upb_utils.h', @@ -1808,6 +2153,7 @@ Pod::Spec.new do |s| 'src/core/lib/channel/channel_stack.h', 'src/core/lib/channel/channel_stack_builder.h', 'src/core/lib/channel/channel_stack_builder_impl.h', + 'src/core/lib/channel/channel_stack_trace.h', 'src/core/lib/channel/channel_trace.h', 'src/core/lib/channel/channelz.h', 'src/core/lib/channel/channelz_registry.h', @@ -1815,6 +2161,7 @@ Pod::Spec.new do |s| 'src/core/lib/channel/context.h', 'src/core/lib/channel/promise_based_filter.h', 'src/core/lib/channel/status_util.h', + 'src/core/lib/channel/tcp_tracer.h', 'src/core/lib/compression/compression_internal.h', 'src/core/lib/compression/message_compress.h', 'src/core/lib/config/config_vars.h', @@ -1834,6 +2181,8 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/common_closures.h', 'src/core/lib/event_engine/default_event_engine.h', 'src/core/lib/event_engine/default_event_engine_factory.h', + 'src/core/lib/event_engine/extensions/can_track_errors.h', + 'src/core/lib/event_engine/extensions/supports_fd.h', 'src/core/lib/event_engine/forkable.h', 'src/core/lib/event_engine/grpc_polled_fd.h', 'src/core/lib/event_engine/handle_containers.h', @@ -1848,6 +2197,7 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h', 'src/core/lib/event_engine/posix_engine/internal_errqueue.h', 'src/core/lib/event_engine/posix_engine/lockfree_event.h', + 'src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h', 'src/core/lib/event_engine/posix_engine/posix_endpoint.h', 'src/core/lib/event_engine/posix_engine/posix_engine.h', 'src/core/lib/event_engine/posix_engine/posix_engine_closure.h', @@ -1862,6 +2212,8 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h', 'src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h', 'src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h', + 'src/core/lib/event_engine/query_extensions.h', + 'src/core/lib/event_engine/ref_counted_dns_resolver_interface.h', 'src/core/lib/event_engine/resolved_address_internal.h', 'src/core/lib/event_engine/shim.h', 'src/core/lib/event_engine/tcp_socket_utils.h', @@ -1873,7 +2225,9 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/time_util.h', 'src/core/lib/event_engine/trace.h', 'src/core/lib/event_engine/utils.h', + 'src/core/lib/event_engine/windows/grpc_polled_fd_windows.h', 'src/core/lib/event_engine/windows/iocp.h', + 'src/core/lib/event_engine/windows/native_windows_dns_resolver.h', 'src/core/lib/event_engine/windows/win_socket.h', 'src/core/lib/event_engine/windows/windows_endpoint.h', 'src/core/lib/event_engine/windows/windows_engine.h', @@ -1896,6 +2250,8 @@ Pod::Spec.new do |s| 'src/core/lib/gprpp/cpp_impl_of.h', 'src/core/lib/gprpp/crash.h', 'src/core/lib/gprpp/debug_location.h', + 'src/core/lib/gprpp/directory_reader.h', + 'src/core/lib/gprpp/down_cast.h', 'src/core/lib/gprpp/dual_ref_counted.h', 'src/core/lib/gprpp/env.h', 'src/core/lib/gprpp/examine_stack.h', @@ -1932,6 +2288,7 @@ Pod::Spec.new do |s| 'src/core/lib/gprpp/unique_type_name.h', 'src/core/lib/gprpp/validation_errors.h', 'src/core/lib/gprpp/work_serializer.h', + 'src/core/lib/gprpp/xxhash_inline.h', 'src/core/lib/handshaker/proxy_mapper.h', 'src/core/lib/handshaker/proxy_mapper_registry.h', 'src/core/lib/http/format_request.h', @@ -1966,7 +2323,6 @@ Pod::Spec.new do |s| 'src/core/lib/iomgr/iomgr.h', 'src/core/lib/iomgr/iomgr_fwd.h', 'src/core/lib/iomgr/iomgr_internal.h', - 'src/core/lib/iomgr/load_file.h', 'src/core/lib/iomgr/lockfree_event.h', 'src/core/lib/iomgr/nameser.h', 'src/core/lib/iomgr/polling_entity.h', @@ -2011,17 +2367,14 @@ Pod::Spec.new do |s| 'src/core/lib/json/json_reader.h', 'src/core/lib/json/json_util.h', 'src/core/lib/json/json_writer.h', - 'src/core/lib/load_balancing/delegating_helper.h', - 'src/core/lib/load_balancing/lb_policy.h', - 'src/core/lib/load_balancing/lb_policy_factory.h', - 'src/core/lib/load_balancing/lb_policy_registry.h', - 'src/core/lib/load_balancing/subchannel_interface.h', 'src/core/lib/matchers/matchers.h', 'src/core/lib/promise/activity.h', + 'src/core/lib/promise/all_ok.h', 'src/core/lib/promise/arena_promise.h', 'src/core/lib/promise/cancel_callback.h', 'src/core/lib/promise/context.h', 'src/core/lib/promise/detail/basic_seq.h', + 'src/core/lib/promise/detail/join_state.h', 'src/core/lib/promise/detail/promise_factory.h', 'src/core/lib/promise/detail/promise_like.h', 'src/core/lib/promise/detail/seq_state.h', @@ -2041,12 +2394,10 @@ Pod::Spec.new do |s| 'src/core/lib/promise/race.h', 'src/core/lib/promise/seq.h', 'src/core/lib/promise/sleep.h', + 'src/core/lib/promise/status_flag.h', 'src/core/lib/promise/trace.h', + 'src/core/lib/promise/try_join.h', 'src/core/lib/promise/try_seq.h', - 'src/core/lib/resolver/resolver.h', - 'src/core/lib/resolver/resolver_factory.h', - 'src/core/lib/resolver/resolver_registry.h', - 'src/core/lib/resolver/server_address.h', 'src/core/lib/resource_quota/api.h', 'src/core/lib/resource_quota/arena.h', 'src/core/lib/resource_quota/memory_quota.h', @@ -2093,6 +2444,7 @@ Pod::Spec.new do |s| 'src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h', 'src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h', 'src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h', + 'src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h', 'src/core/lib/security/credentials/tls/tls_credentials.h', 'src/core/lib/security/credentials/tls/tls_utils.h', 'src/core/lib/security/credentials/xds/xds_credentials.h', @@ -2111,10 +2463,6 @@ Pod::Spec.new do |s| 'src/core/lib/security/transport/security_handshaker.h', 'src/core/lib/security/transport/tsi_error.h', 'src/core/lib/security/util/json_util.h', - 'src/core/lib/service_config/service_config.h', - 'src/core/lib/service_config/service_config_call_data.h', - 'src/core/lib/service_config/service_config_impl.h', - 'src/core/lib/service_config/service_config_parser.h', 'src/core/lib/slice/b64.h', 'src/core/lib/slice/percent_encoding.h', 'src/core/lib/slice/slice.h', @@ -2138,8 +2486,14 @@ Pod::Spec.new do |s| 'src/core/lib/surface/lame_client.h', 'src/core/lib/surface/server.h', 'src/core/lib/surface/validate_metadata.h', + 'src/core/lib/surface/wait_for_cq_end_op.h', 'src/core/lib/transport/batch_builder.h', 'src/core/lib/transport/bdp_estimator.h', + 'src/core/lib/transport/call_factory.h', + 'src/core/lib/transport/call_filters.h', + 'src/core/lib/transport/call_final_info.h', + 'src/core/lib/transport/call_size_estimator.h', + 'src/core/lib/transport/call_spine.h', 'src/core/lib/transport/connectivity_state.h', 'src/core/lib/transport/custom_metadata.h', 'src/core/lib/transport/error_utils.h', @@ -2148,18 +2502,65 @@ Pod::Spec.new do |s| 'src/core/lib/transport/handshaker_registry.h', 'src/core/lib/transport/http2_errors.h', 'src/core/lib/transport/http_connect_handshaker.h', + 'src/core/lib/transport/message.h', + 'src/core/lib/transport/metadata.h', 'src/core/lib/transport/metadata_batch.h', 'src/core/lib/transport/metadata_compression_traits.h', 'src/core/lib/transport/parsed_metadata.h', - 'src/core/lib/transport/pid_controller.h', 'src/core/lib/transport/simple_slice_based_metadata.h', 'src/core/lib/transport/status_conversion.h', 'src/core/lib/transport/tcp_connect_handshaker.h', 'src/core/lib/transport/timeout_encoding.h', 'src/core/lib/transport/transport.h', 'src/core/lib/transport/transport_fwd.h', - 'src/core/lib/transport/transport_impl.h', 'src/core/lib/uri/uri_parser.h', + 'src/core/load_balancing/address_filtering.h', + 'src/core/load_balancing/backend_metric_data.h', + 'src/core/load_balancing/backend_metric_parser.h', + 'src/core/load_balancing/child_policy_handler.h', + 'src/core/load_balancing/delegating_helper.h', + 'src/core/load_balancing/endpoint_list.h', + 'src/core/load_balancing/grpclb/client_load_reporting_filter.h', + 'src/core/load_balancing/grpclb/grpclb.h', + 'src/core/load_balancing/grpclb/grpclb_balancer_addresses.h', + 'src/core/load_balancing/grpclb/grpclb_client_stats.h', + 'src/core/load_balancing/grpclb/load_balancer_api.h', + 'src/core/load_balancing/health_check_client.h', + 'src/core/load_balancing/health_check_client_internal.h', + 'src/core/load_balancing/lb_policy.h', + 'src/core/load_balancing/lb_policy_factory.h', + 'src/core/load_balancing/lb_policy_registry.h', + 'src/core/load_balancing/oob_backend_metric.h', + 'src/core/load_balancing/oob_backend_metric_internal.h', + 'src/core/load_balancing/outlier_detection/outlier_detection.h', + 'src/core/load_balancing/pick_first/pick_first.h', + 'src/core/load_balancing/ring_hash/ring_hash.h', + 'src/core/load_balancing/subchannel_interface.h', + 'src/core/load_balancing/subchannel_list.h', + 'src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h', + 'src/core/load_balancing/xds/xds_channel_args.h', + 'src/core/load_balancing/xds/xds_override_host.h', + 'src/core/resolver/dns/c_ares/dns_resolver_ares.h', + 'src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h', + 'src/core/resolver/dns/c_ares/grpc_ares_wrapper.h', + 'src/core/resolver/dns/dns_resolver_plugin.h', + 'src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h', + 'src/core/resolver/dns/event_engine/service_config_helper.h', + 'src/core/resolver/dns/native/dns_resolver.h', + 'src/core/resolver/endpoint_addresses.h', + 'src/core/resolver/fake/fake_resolver.h', + 'src/core/resolver/polling_resolver.h', + 'src/core/resolver/resolver.h', + 'src/core/resolver/resolver_factory.h', + 'src/core/resolver/resolver_registry.h', + 'src/core/resolver/server_address.h', + 'src/core/resolver/xds/xds_dependency_manager.h', + 'src/core/resolver/xds/xds_resolver_attributes.h', + 'src/core/resolver/xds/xds_resolver_trace.h', + 'src/core/service_config/service_config.h', + 'src/core/service_config/service_config_call_data.h', + 'src/core/service_config/service_config_impl.h', + 'src/core/service_config/service_config_parser.h', 'src/core/tsi/alts/crypt/gsec.h', 'src/core/tsi/alts/frame_protector/alts_counter.h', 'src/core/tsi/alts/frame_protector/alts_crypter.h', @@ -2192,7 +2593,6 @@ Pod::Spec.new do |s| 'src/cpp/client/client_stats_interceptor.h', 'src/cpp/client/create_channel_internal.h', 'src/cpp/client/secure_credentials.h', - 'src/cpp/common/channel_filter.h', 'src/cpp/common/secure_auth_context.h', 'src/cpp/server/backend_metric_recorder.h', 'src/cpp/server/dynamic_thread_pool.h', @@ -2222,25 +2622,11 @@ Pod::Spec.new do |s| 'third_party/re2/util/strutil.h', 'third_party/re2/util/utf.h', 'third_party/re2/util/util.h', - 'third_party/upb/upb/alloc.h', - 'third_party/upb/upb/arena.h', - 'third_party/upb/upb/array.h', 'third_party/upb/upb/base/descriptor_constants.h', - 'third_party/upb/upb/base/log2.h', + 'third_party/upb/upb/base/internal/log2.h', 'third_party/upb/upb/base/status.h', + 'third_party/upb/upb/base/status.hpp', 'third_party/upb/upb/base/string_view.h', - 'third_party/upb/upb/collections/array.h', - 'third_party/upb/upb/collections/array_internal.h', - 'third_party/upb/upb/collections/map.h', - 'third_party/upb/upb/collections/map_gencode_util.h', - 'third_party/upb/upb/collections/map_internal.h', - 'third_party/upb/upb/collections/map_sorter_internal.h', - 'third_party/upb/upb/collections/message_value.h', - 'third_party/upb/upb/decode.h', - 'third_party/upb/upb/def.h', - 'third_party/upb/upb/def.hpp', - 'third_party/upb/upb/encode.h', - 'third_party/upb/upb/extension_registry.h', 'third_party/upb/upb/generated_code_support.h', 'third_party/upb/upb/hash/common.h', 'third_party/upb/upb/hash/int_table.h', @@ -2251,17 +2637,26 @@ Pod::Spec.new do |s| 'third_party/upb/upb/lex/round_trip.h', 'third_party/upb/upb/lex/strtod.h', 'third_party/upb/upb/lex/unicode.h', - 'third_party/upb/upb/map.h', 'third_party/upb/upb/mem/alloc.h', 'third_party/upb/upb/mem/arena.h', - 'third_party/upb/upb/mem/arena_internal.h', + 'third_party/upb/upb/mem/arena.hpp', + 'third_party/upb/upb/mem/internal/arena.h', 'third_party/upb/upb/message/accessors.h', - 'third_party/upb/upb/message/accessors_internal.h', - 'third_party/upb/upb/message/extension_internal.h', - 'third_party/upb/upb/message/internal.h', + 'third_party/upb/upb/message/array.h', + 'third_party/upb/upb/message/internal/accessors.h', + 'third_party/upb/upb/message/internal/array.h', + 'third_party/upb/upb/message/internal/extension.h', + 'third_party/upb/upb/message/internal/map.h', 'third_party/upb/upb/message/internal/map_entry.h', + 'third_party/upb/upb/message/internal/map_sorter.h', + 'third_party/upb/upb/message/internal/message.h', + 'third_party/upb/upb/message/internal/types.h', + 'third_party/upb/upb/message/map.h', + 'third_party/upb/upb/message/map_gencode_util.h', 'third_party/upb/upb/message/message.h', 'third_party/upb/upb/message/tagged_ptr.h', + 'third_party/upb/upb/message/types.h', + 'third_party/upb/upb/message/value.h', 'third_party/upb/upb/mini_descriptor/build_enum.h', 'third_party/upb/upb/mini_descriptor/decode.h', 'third_party/upb/upb/mini_descriptor/internal/base92.h', @@ -2284,60 +2679,52 @@ Pod::Spec.new do |s| 'third_party/upb/upb/mini_table/internal/sub.h', 'third_party/upb/upb/mini_table/message.h', 'third_party/upb/upb/mini_table/sub.h', - 'third_party/upb/upb/msg.h', 'third_party/upb/upb/port/atomic.h', 'third_party/upb/upb/port/def.inc', 'third_party/upb/upb/port/undef.inc', 'third_party/upb/upb/port/vsnprintf_compat.h', - 'third_party/upb/upb/reflection.h', - 'third_party/upb/upb/reflection.hpp', 'third_party/upb/upb/reflection/common.h', 'third_party/upb/upb/reflection/def.h', 'third_party/upb/upb/reflection/def.hpp', - 'third_party/upb/upb/reflection/def_builder_internal.h', 'third_party/upb/upb/reflection/def_pool.h', - 'third_party/upb/upb/reflection/def_pool_internal.h', 'third_party/upb/upb/reflection/def_type.h', - 'third_party/upb/upb/reflection/desc_state_internal.h', 'third_party/upb/upb/reflection/enum_def.h', - 'third_party/upb/upb/reflection/enum_def_internal.h', 'third_party/upb/upb/reflection/enum_reserved_range.h', - 'third_party/upb/upb/reflection/enum_reserved_range_internal.h', 'third_party/upb/upb/reflection/enum_value_def.h', - 'third_party/upb/upb/reflection/enum_value_def_internal.h', 'third_party/upb/upb/reflection/extension_range.h', - 'third_party/upb/upb/reflection/extension_range_internal.h', 'third_party/upb/upb/reflection/field_def.h', - 'third_party/upb/upb/reflection/field_def_internal.h', 'third_party/upb/upb/reflection/file_def.h', - 'third_party/upb/upb/reflection/file_def_internal.h', + 'third_party/upb/upb/reflection/internal/def_builder.h', + 'third_party/upb/upb/reflection/internal/def_pool.h', + 'third_party/upb/upb/reflection/internal/desc_state.h', + 'third_party/upb/upb/reflection/internal/enum_def.h', + 'third_party/upb/upb/reflection/internal/enum_reserved_range.h', + 'third_party/upb/upb/reflection/internal/enum_value_def.h', + 'third_party/upb/upb/reflection/internal/extension_range.h', + 'third_party/upb/upb/reflection/internal/field_def.h', + 'third_party/upb/upb/reflection/internal/file_def.h', + 'third_party/upb/upb/reflection/internal/message_def.h', + 'third_party/upb/upb/reflection/internal/message_reserved_range.h', + 'third_party/upb/upb/reflection/internal/method_def.h', + 'third_party/upb/upb/reflection/internal/oneof_def.h', + 'third_party/upb/upb/reflection/internal/service_def.h', + 'third_party/upb/upb/reflection/internal/strdup2.h', 'third_party/upb/upb/reflection/message.h', 'third_party/upb/upb/reflection/message.hpp', 'third_party/upb/upb/reflection/message_def.h', - 'third_party/upb/upb/reflection/message_def_internal.h', 'third_party/upb/upb/reflection/message_reserved_range.h', - 'third_party/upb/upb/reflection/message_reserved_range_internal.h', 'third_party/upb/upb/reflection/method_def.h', - 'third_party/upb/upb/reflection/method_def_internal.h', 'third_party/upb/upb/reflection/oneof_def.h', - 'third_party/upb/upb/reflection/oneof_def_internal.h', 'third_party/upb/upb/reflection/service_def.h', - 'third_party/upb/upb/reflection/service_def_internal.h', - 'third_party/upb/upb/status.h', - 'third_party/upb/upb/string_view.h', 'third_party/upb/upb/text/encode.h', - 'third_party/upb/upb/text_encode.h', - 'third_party/upb/upb/upb.h', - 'third_party/upb/upb/upb.hpp', - 'third_party/upb/upb/wire/common.h', - 'third_party/upb/upb/wire/common_internal.h', 'third_party/upb/upb/wire/decode.h', 'third_party/upb/upb/wire/decode_fast.h', - 'third_party/upb/upb/wire/decode_internal.h', 'third_party/upb/upb/wire/encode.h', 'third_party/upb/upb/wire/eps_copy_input_stream.h', + 'third_party/upb/upb/wire/internal/constants.h', + 'third_party/upb/upb/wire/internal/decode.h', + 'third_party/upb/upb/wire/internal/swap.h', 'third_party/upb/upb/wire/reader.h', - 'third_party/upb/upb/wire/swap_internal.h', 'third_party/upb/upb/wire/types.h', 'third_party/utf8_range/utf8_range.h', 'third_party/xxhash/xxhash.h', @@ -2376,6 +2763,7 @@ Pod::Spec.new do |s| ss.header_mappings_dir = '.' ss.dependency "#{s.name}/Cronet-Interface", version ss.dependency "#{s.name}/Implementation", version + ss.dependency "#{s.name}/Privacy", version ss.dependency 'gRPC-Core/Cronet-Implementation', version diff --git a/gRPC-Core.podspec b/gRPC-Core.podspec index 167607b950a..eba3b22cdbf 100644 --- a/gRPC-Core.podspec +++ b/gRPC-Core.podspec @@ -21,7 +21,7 @@ Pod::Spec.new do |s| s.name = 'gRPC-Core' - version = '1.59.0-dev' + version = '1.63.0-dev' s.version = version s.summary = 'Core cross-platform gRPC library, written in C' s.homepage = 'https://grpc.io' @@ -46,7 +46,7 @@ Pod::Spec.new do |s| s.requires_arc = false name = 'grpc' - abseil_version = '1.20230802.0' + abseil_version = '1.20240116.1' # When creating a dynamic framework, name it grpc.framework instead of gRPC-Core.framework. # This lets users write their includes like `#include ` as opposed to `#include @@ -74,8 +74,8 @@ Pod::Spec.new do |s| s.pod_target_xcconfig = { 'HEADER_SEARCH_PATHS' => '"$(inherited)" "$(PODS_TARGET_SRCROOT)/include"', 'USER_HEADER_SEARCH_PATHS' => '"$(PODS_TARGET_SRCROOT)"'\ - ' "$(PODS_TARGET_SRCROOT)/src/core/ext/upb-generated"'\ - ' "$(PODS_TARGET_SRCROOT)/src/core/ext/upbdefs-generated"'\ + ' "$(PODS_TARGET_SRCROOT)/src/core/ext/upb-gen"'\ + ' "$(PODS_TARGET_SRCROOT)/src/core/ext/upbdefs-gen"'\ ' "$(PODS_TARGET_SRCROOT)/third_party/re2"'\ ' "$(PODS_TARGET_SRCROOT)/third_party/upb"'\ ' "$(PODS_TARGET_SRCROOT)/third_party/utf8_range"'\ @@ -94,6 +94,14 @@ Pod::Spec.new do |s| s.compiler_flags = '-DGRPC_ARES=0 -Wno-comma' s.libraries = 'c++' + # Exposes the privacy manifest. Depended on by any subspecs containing + # non-interface files. + s.subspec 'Privacy' do |ss| + ss.resource_bundles = { + s.module_name => 'src/objective-c/PrivacyInfo.xcprivacy' + } + end + # Like many other C libraries, gRPC-Core has its public headers under `include//` and its # sources and private headers in other directories outside `include/`. Cocoapods' linter doesn't # allow any header to be listed outside the `header_mappings_dir` (even though doing so works in @@ -113,6 +121,7 @@ Pod::Spec.new do |s| 'include/grpc/compression.h', 'include/grpc/event_engine/endpoint_config.h', 'include/grpc/event_engine/event_engine.h', + 'include/grpc/event_engine/extensible.h', 'include/grpc/event_engine/internal/memory_allocator_impl.h', 'include/grpc/event_engine/internal/slice_cast.h', 'include/grpc/event_engine/memory_allocator.h', @@ -123,9 +132,11 @@ Pod::Spec.new do |s| 'include/grpc/fork.h', 'include/grpc/grpc.h', 'include/grpc/grpc_audit_logging.h', + 'include/grpc/grpc_crl_provider.h', 'include/grpc/grpc_posix.h', 'include/grpc/grpc_security.h', 'include/grpc/grpc_security_constants.h', + 'include/grpc/impl/call.h', 'include/grpc/impl/channel_arg_names.h', 'include/grpc/impl/codegen/atm.h', 'include/grpc/impl/codegen/atm_gcc_atomic.h', @@ -183,9 +194,11 @@ Pod::Spec.new do |s| ss.header_mappings_dir = '.' ss.libraries = 'z' ss.dependency "#{s.name}/Interface", version - ss.dependency 'BoringSSL-GRPC', '0.0.31' + ss.dependency "#{s.name}/Privacy", version + ss.dependency 'BoringSSL-GRPC', '0.0.32' ss.dependency 'abseil/algorithm/container', abseil_version ss.dependency 'abseil/base/base', abseil_version + ss.dependency 'abseil/base/config', abseil_version ss.dependency 'abseil/base/core_headers', abseil_version ss.dependency 'abseil/cleanup/cleanup', abseil_version ss.dependency 'abseil/container/flat_hash_map', abseil_version @@ -199,6 +212,8 @@ Pod::Spec.new do |s| ss.dependency 'abseil/hash/hash', abseil_version ss.dependency 'abseil/memory/memory', abseil_version ss.dependency 'abseil/meta/type_traits', abseil_version + ss.dependency 'abseil/random/bit_gen_ref', abseil_version + ss.dependency 'abseil/random/distributions', abseil_version ss.dependency 'abseil/random/random', abseil_version ss.dependency 'abseil/status/status', abseil_version ss.dependency 'abseil/status/statusor', abseil_version @@ -213,7 +228,46 @@ Pod::Spec.new do |s| ss.dependency 'abseil/utility/utility', abseil_version ss.compiler_flags = '-DBORINGSSL_PREFIX=GRPC -Wno-unreachable-code -Wno-shorten-64-to-32' - ss.source_files = 'src/core/ext/filters/backend_metrics/backend_metric_filter.cc', + ss.source_files = 'src/core/client_channel/backup_poller.cc', + 'src/core/client_channel/backup_poller.h', + 'src/core/client_channel/channel_connectivity.cc', + 'src/core/client_channel/client_channel_channelz.cc', + 'src/core/client_channel/client_channel_channelz.h', + 'src/core/client_channel/client_channel_factory.cc', + 'src/core/client_channel/client_channel_factory.h', + 'src/core/client_channel/client_channel_filter.cc', + 'src/core/client_channel/client_channel_filter.h', + 'src/core/client_channel/client_channel_internal.h', + 'src/core/client_channel/client_channel_plugin.cc', + 'src/core/client_channel/client_channel_service_config.cc', + 'src/core/client_channel/client_channel_service_config.h', + 'src/core/client_channel/config_selector.cc', + 'src/core/client_channel/config_selector.h', + 'src/core/client_channel/connector.h', + 'src/core/client_channel/dynamic_filters.cc', + 'src/core/client_channel/dynamic_filters.h', + 'src/core/client_channel/global_subchannel_pool.cc', + 'src/core/client_channel/global_subchannel_pool.h', + 'src/core/client_channel/http_proxy_mapper.cc', + 'src/core/client_channel/http_proxy_mapper.h', + 'src/core/client_channel/local_subchannel_pool.cc', + 'src/core/client_channel/local_subchannel_pool.h', + 'src/core/client_channel/retry_filter.cc', + 'src/core/client_channel/retry_filter.h', + 'src/core/client_channel/retry_filter_legacy_call_data.cc', + 'src/core/client_channel/retry_filter_legacy_call_data.h', + 'src/core/client_channel/retry_service_config.cc', + 'src/core/client_channel/retry_service_config.h', + 'src/core/client_channel/retry_throttle.cc', + 'src/core/client_channel/retry_throttle.h', + 'src/core/client_channel/subchannel.cc', + 'src/core/client_channel/subchannel.h', + 'src/core/client_channel/subchannel_interface_internal.h', + 'src/core/client_channel/subchannel_pool_interface.cc', + 'src/core/client_channel/subchannel_pool_interface.h', + 'src/core/client_channel/subchannel_stream_client.cc', + 'src/core/client_channel/subchannel_stream_client.h', + 'src/core/ext/filters/backend_metrics/backend_metric_filter.cc', 'src/core/ext/filters/backend_metrics/backend_metric_filter.h', 'src/core/ext/filters/backend_metrics/backend_metric_provider.h', 'src/core/ext/filters/census/grpc_context.cc', @@ -221,119 +275,8 @@ Pod::Spec.new do |s| 'src/core/ext/filters/channel_idle/channel_idle_filter.h', 'src/core/ext/filters/channel_idle/idle_filter_state.cc', 'src/core/ext/filters/channel_idle/idle_filter_state.h', - 'src/core/ext/filters/client_channel/backend_metric.cc', - 'src/core/ext/filters/client_channel/backend_metric.h', - 'src/core/ext/filters/client_channel/backup_poller.cc', - 'src/core/ext/filters/client_channel/backup_poller.h', - 'src/core/ext/filters/client_channel/channel_connectivity.cc', - 'src/core/ext/filters/client_channel/client_channel.cc', - 'src/core/ext/filters/client_channel/client_channel.h', - 'src/core/ext/filters/client_channel/client_channel_channelz.cc', - 'src/core/ext/filters/client_channel/client_channel_channelz.h', - 'src/core/ext/filters/client_channel/client_channel_factory.cc', - 'src/core/ext/filters/client_channel/client_channel_factory.h', - 'src/core/ext/filters/client_channel/client_channel_internal.h', - 'src/core/ext/filters/client_channel/client_channel_plugin.cc', - 'src/core/ext/filters/client_channel/client_channel_service_config.cc', - 'src/core/ext/filters/client_channel/client_channel_service_config.h', - 'src/core/ext/filters/client_channel/config_selector.cc', - 'src/core/ext/filters/client_channel/config_selector.h', - 'src/core/ext/filters/client_channel/connector.h', - 'src/core/ext/filters/client_channel/dynamic_filters.cc', - 'src/core/ext/filters/client_channel/dynamic_filters.h', - 'src/core/ext/filters/client_channel/global_subchannel_pool.cc', - 'src/core/ext/filters/client_channel/global_subchannel_pool.h', - 'src/core/ext/filters/client_channel/http_proxy_mapper.cc', - 'src/core/ext/filters/client_channel/http_proxy_mapper.h', - 'src/core/ext/filters/client_channel/lb_policy/address_filtering.cc', - 'src/core/ext/filters/client_channel/lb_policy/address_filtering.h', - 'src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h', - 'src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc', - 'src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h', - 'src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc', - 'src/core/ext/filters/client_channel/lb_policy/endpoint_list.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h', - 'src/core/ext/filters/client_channel/lb_policy/health_check_client.cc', - 'src/core/ext/filters/client_channel/lb_policy/health_check_client.h', - 'src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h', - 'src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc', - 'src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h', - 'src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h', - 'src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc', - 'src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h', - 'src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc', - 'src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h', - 'src/core/ext/filters/client_channel/lb_policy/priority/priority.cc', - 'src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc', - 'src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h', - 'src/core/ext/filters/client_channel/lb_policy/rls/rls.cc', - 'src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc', - 'src/core/ext/filters/client_channel/lb_policy/subchannel_list.h', - 'src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc', - 'src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h', - 'src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc', - 'src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc', - 'src/core/ext/filters/client_channel/lb_policy/xds/cds.cc', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc', - 'src/core/ext/filters/client_channel/local_subchannel_pool.cc', - 'src/core/ext/filters/client_channel/local_subchannel_pool.h', - 'src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc', - 'src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc', - 'src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h', - 'src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h', - 'src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h', - 'src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/polling_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/polling_resolver.h', - 'src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h', - 'src/core/ext/filters/client_channel/retry_filter.cc', - 'src/core/ext/filters/client_channel/retry_filter.h', - 'src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc', - 'src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h', - 'src/core/ext/filters/client_channel/retry_service_config.cc', - 'src/core/ext/filters/client_channel/retry_service_config.h', - 'src/core/ext/filters/client_channel/retry_throttle.cc', - 'src/core/ext/filters/client_channel/retry_throttle.h', - 'src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc', - 'src/core/ext/filters/client_channel/subchannel.cc', - 'src/core/ext/filters/client_channel/subchannel.h', - 'src/core/ext/filters/client_channel/subchannel_interface_internal.h', - 'src/core/ext/filters/client_channel/subchannel_pool_interface.cc', - 'src/core/ext/filters/client_channel/subchannel_pool_interface.h', - 'src/core/ext/filters/client_channel/subchannel_stream_client.cc', - 'src/core/ext/filters/client_channel/subchannel_stream_client.h', + 'src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc', + 'src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h', 'src/core/ext/filters/deadline/deadline_filter.cc', 'src/core/ext/filters/deadline/deadline_filter.h', 'src/core/ext/filters/fault_injection/fault_injection_filter.cc', @@ -347,6 +290,8 @@ Pod::Spec.new do |s| 'src/core/ext/filters/http/http_filters_plugin.cc', 'src/core/ext/filters/http/message_compress/compression_filter.cc', 'src/core/ext/filters/http/message_compress/compression_filter.h', + 'src/core/ext/filters/http/message_compress/legacy_compression_filter.cc', + 'src/core/ext/filters/http/message_compress/legacy_compression_filter.h', 'src/core/ext/filters/http/server/http_server_filter.cc', 'src/core/ext/filters/http/server/http_server_filter.h', 'src/core/ext/filters/message_size/message_size_filter.cc', @@ -381,6 +326,8 @@ Pod::Spec.new do |s| 'src/core/ext/transport/chttp2/transport/decode_huff.h', 'src/core/ext/transport/chttp2/transport/flow_control.cc', 'src/core/ext/transport/chttp2/transport/flow_control.h', + 'src/core/ext/transport/chttp2/transport/frame.cc', + 'src/core/ext/transport/chttp2/transport/frame.h', 'src/core/ext/transport/chttp2/transport/frame_data.cc', 'src/core/ext/transport/chttp2/transport/frame_data.h', 'src/core/ext/transport/chttp2/transport/frame_goaway.cc', @@ -412,644 +359,825 @@ Pod::Spec.new do |s| 'src/core/ext/transport/chttp2/transport/huffsyms.h', 'src/core/ext/transport/chttp2/transport/internal.h', 'src/core/ext/transport/chttp2/transport/legacy_frame.h', + 'src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc', + 'src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h', 'src/core/ext/transport/chttp2/transport/parsing.cc', 'src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc', 'src/core/ext/transport/chttp2/transport/ping_abuse_policy.h', + 'src/core/ext/transport/chttp2/transport/ping_callbacks.cc', + 'src/core/ext/transport/chttp2/transport/ping_callbacks.h', 'src/core/ext/transport/chttp2/transport/ping_rate_policy.cc', 'src/core/ext/transport/chttp2/transport/ping_rate_policy.h', 'src/core/ext/transport/chttp2/transport/stream_lists.cc', 'src/core/ext/transport/chttp2/transport/varint.cc', 'src/core/ext/transport/chttp2/transport/varint.h', + 'src/core/ext/transport/chttp2/transport/write_size_policy.cc', + 'src/core/ext/transport/chttp2/transport/write_size_policy.h', 'src/core/ext/transport/chttp2/transport/writing.cc', 'src/core/ext/transport/inproc/inproc_plugin.cc', 'src/core/ext/transport/inproc/inproc_transport.cc', 'src/core/ext/transport/inproc/inproc_transport.h', - 'src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h', - 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c', - 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h', - 'src/core/ext/upb-generated/envoy/annotations/resource.upb.c', - 'src/core/ext/upb-generated/envoy/annotations/resource.upb.h', - 'src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c', - 'src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h', - 'src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c', - 'src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h', - 'src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c', - 'src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c', - 'src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c', - 'src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c', - 'src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c', - 'src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c', - 'src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c', - 'src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h', - 'src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c', - 'src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h', - 'src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c', - 'src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h', - 'src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c', - 'src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h', - 'src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c', - 'src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h', - 'src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c', - 'src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h', - 'src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c', - 'src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h', - 'src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c', - 'src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h', - 'src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c', - 'src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h', - 'src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c', - 'src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h', - 'src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c', - 'src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h', - 'src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c', - 'src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h', - 'src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c', - 'src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h', - 'src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c', - 'src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h', - 'src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c', - 'src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h', - 'src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c', - 'src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h', - 'src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c', - 'src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/http.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/http.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/percent.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/percent.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/range.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/range.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h', - 'src/core/ext/upb-generated/google/api/annotations.upb.c', - 'src/core/ext/upb-generated/google/api/annotations.upb.h', - 'src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c', - 'src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h', - 'src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c', - 'src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h', - 'src/core/ext/upb-generated/google/api/http.upb.c', - 'src/core/ext/upb-generated/google/api/http.upb.h', - 'src/core/ext/upb-generated/google/api/httpbody.upb.c', - 'src/core/ext/upb-generated/google/api/httpbody.upb.h', - 'src/core/ext/upb-generated/google/protobuf/any.upb.c', - 'src/core/ext/upb-generated/google/protobuf/any.upb.h', - 'src/core/ext/upb-generated/google/protobuf/descriptor.upb.c', - 'src/core/ext/upb-generated/google/protobuf/descriptor.upb.h', - 'src/core/ext/upb-generated/google/protobuf/duration.upb.c', - 'src/core/ext/upb-generated/google/protobuf/duration.upb.h', - 'src/core/ext/upb-generated/google/protobuf/empty.upb.c', - 'src/core/ext/upb-generated/google/protobuf/empty.upb.h', - 'src/core/ext/upb-generated/google/protobuf/struct.upb.c', - 'src/core/ext/upb-generated/google/protobuf/struct.upb.h', - 'src/core/ext/upb-generated/google/protobuf/timestamp.upb.c', - 'src/core/ext/upb-generated/google/protobuf/timestamp.upb.h', - 'src/core/ext/upb-generated/google/protobuf/wrappers.upb.c', - 'src/core/ext/upb-generated/google/protobuf/wrappers.upb.h', - 'src/core/ext/upb-generated/google/rpc/status.upb.c', - 'src/core/ext/upb-generated/google/rpc/status.upb.h', - 'src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c', - 'src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/migrate.upb.c', - 'src/core/ext/upb-generated/udpa/annotations/migrate.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/security.upb.c', - 'src/core/ext/upb-generated/udpa/annotations/security.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c', - 'src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/status.upb.c', - 'src/core/ext/upb-generated/udpa/annotations/status.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/versioning.upb.c', - 'src/core/ext/upb-generated/udpa/annotations/versioning.upb.h', - 'src/core/ext/upb-generated/validate/validate.upb.c', - 'src/core/ext/upb-generated/validate/validate.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c', - 'src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/security.upb.c', - 'src/core/ext/upb-generated/xds/annotations/v3/security.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c', - 'src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/status.upb.c', - 'src/core/ext/upb-generated/xds/annotations/v3/status.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c', - 'src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/authority.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/authority.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/cidr.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/cidr.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/context_params.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/context_params.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/extension.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/extension.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/resource.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/resource.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h', - 'src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c', - 'src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h', - 'src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c', - 'src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h', - 'src/core/ext/upb-generated/xds/type/v3/cel.upb.c', - 'src/core/ext/upb-generated/xds/type/v3/cel.upb.h', - 'src/core/ext/upb-generated/xds/type/v3/range.upb.c', - 'src/core/ext/upb-generated/xds/type/v3/range.upb.h', - 'src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c', - 'src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/http.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/api/http.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h', - 'src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c', - 'src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c', - 'src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c', - 'src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c', - 'src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c', - 'src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h', - 'src/core/ext/upbdefs-generated/validate/validate.upbdefs.c', - 'src/core/ext/upbdefs-generated/validate/validate.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h', + 'src/core/ext/transport/inproc/legacy_inproc_transport.cc', + 'src/core/ext/transport/inproc/legacy_inproc_transport.h', + 'src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h', + 'src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/annotations/resource.upb.h', + 'src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h', + 'src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h', + 'src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h', + 'src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h', + 'src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h', + 'src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h', + 'src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h', + 'src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h', + 'src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h', + 'src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h', + 'src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h', + 'src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/http.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/percent.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/range.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/annotations.upb.h', + 'src/core/ext/upb-gen/google/api/annotations.upb_minitable.c', + 'src/core/ext/upb-gen/google/api/annotations.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/http.upb.h', + 'src/core/ext/upb-gen/google/api/http.upb_minitable.c', + 'src/core/ext/upb-gen/google/api/http.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/httpbody.upb.h', + 'src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c', + 'src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/any.upb.h', + 'src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb.h', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/duration.upb.h', + 'src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/empty.upb.h', + 'src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/struct.upb.h', + 'src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/timestamp.upb.h', + 'src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/wrappers.upb.h', + 'src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h', + 'src/core/ext/upb-gen/google/rpc/status.upb.h', + 'src/core/ext/upb-gen/google/rpc/status.upb_minitable.c', + 'src/core/ext/upb-gen/google/rpc/status.upb_minitable.h', + 'src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h', + 'src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c', + 'src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/migrate.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c', + 'src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/security.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c', + 'src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c', + 'src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/status.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c', + 'src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/versioning.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c', + 'src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h', + 'src/core/ext/upb-gen/validate/validate.upb.h', + 'src/core/ext/upb-gen/validate/validate.upb_minitable.c', + 'src/core/ext/upb-gen/validate/validate.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c', + 'src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/security.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c', + 'src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c', + 'src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/status.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c', + 'src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c', + 'src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/authority.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/cidr.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/context_params.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/extension.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/resource.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h', + 'src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h', + 'src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c', + 'src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h', + 'src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h', + 'src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c', + 'src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/v3/cel.upb.h', + 'src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/v3/range.upb.h', + 'src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h', + 'src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/http.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/api/http.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h', + 'src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c', + 'src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c', + 'src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c', + 'src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c', + 'src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c', + 'src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h', + 'src/core/ext/upbdefs-gen/validate/validate.upbdefs.c', + 'src/core/ext/upbdefs-gen/validate/validate.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h', 'src/core/ext/xds/certificate_provider_store.cc', 'src/core/ext/xds/certificate_provider_store.h', 'src/core/ext/xds/file_watcher_certificate_provider_factory.cc', @@ -1129,6 +1257,8 @@ Pod::Spec.new do |s| 'src/core/lib/channel/channel_stack_builder.h', 'src/core/lib/channel/channel_stack_builder_impl.cc', 'src/core/lib/channel/channel_stack_builder_impl.h', + 'src/core/lib/channel/channel_stack_trace.cc', + 'src/core/lib/channel/channel_stack_trace.h', 'src/core/lib/channel/channel_trace.cc', 'src/core/lib/channel/channel_trace.h', 'src/core/lib/channel/channelz.cc', @@ -1143,6 +1273,7 @@ Pod::Spec.new do |s| 'src/core/lib/channel/server_call_tracer_filter.cc', 'src/core/lib/channel/status_util.cc', 'src/core/lib/channel/status_util.h', + 'src/core/lib/channel/tcp_tracer.h', 'src/core/lib/compression/compression.cc', 'src/core/lib/compression/compression_internal.cc', 'src/core/lib/compression/compression_internal.h', @@ -1182,11 +1313,12 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/default_event_engine_factory.cc', 'src/core/lib/event_engine/default_event_engine_factory.h', 'src/core/lib/event_engine/event_engine.cc', + 'src/core/lib/event_engine/extensions/can_track_errors.h', + 'src/core/lib/event_engine/extensions/supports_fd.h', 'src/core/lib/event_engine/forkable.cc', 'src/core/lib/event_engine/forkable.h', 'src/core/lib/event_engine/grpc_polled_fd.h', 'src/core/lib/event_engine/handle_containers.h', - 'src/core/lib/event_engine/memory_allocator.cc', 'src/core/lib/event_engine/memory_allocator_factory.h', 'src/core/lib/event_engine/nameser.h', 'src/core/lib/event_engine/poller.h', @@ -1203,6 +1335,8 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/posix_engine/internal_errqueue.h', 'src/core/lib/event_engine/posix_engine/lockfree_event.cc', 'src/core/lib/event_engine/posix_engine/lockfree_event.h', + 'src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc', + 'src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h', 'src/core/lib/event_engine/posix_engine/posix_endpoint.cc', 'src/core/lib/event_engine/posix_engine/posix_endpoint.h', 'src/core/lib/event_engine/posix_engine/posix_engine.cc', @@ -1229,6 +1363,8 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h', 'src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc', 'src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h', + 'src/core/lib/event_engine/query_extensions.h', + 'src/core/lib/event_engine/ref_counted_dns_resolver_interface.h', 'src/core/lib/event_engine/resolved_address.cc', 'src/core/lib/event_engine/resolved_address_internal.h', 'src/core/lib/event_engine/shim.cc', @@ -1253,8 +1389,12 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/trace.h', 'src/core/lib/event_engine/utils.cc', 'src/core/lib/event_engine/utils.h', + 'src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc', + 'src/core/lib/event_engine/windows/grpc_polled_fd_windows.h', 'src/core/lib/event_engine/windows/iocp.cc', 'src/core/lib/event_engine/windows/iocp.h', + 'src/core/lib/event_engine/windows/native_windows_dns_resolver.cc', + 'src/core/lib/event_engine/windows/native_windows_dns_resolver.h', 'src/core/lib/event_engine/windows/win_socket.cc', 'src/core/lib/event_engine/windows/win_socket.h', 'src/core/lib/event_engine/windows/windows_endpoint.cc', @@ -1303,7 +1443,6 @@ Pod::Spec.new do |s| 'src/core/lib/gpr/windows/sync.cc', 'src/core/lib/gpr/windows/time.cc', 'src/core/lib/gpr/windows/tmpfile.cc', - 'src/core/lib/gpr/wrap_memcpy.cc', 'src/core/lib/gprpp/atomic_utils.h', 'src/core/lib/gprpp/bitset.h', 'src/core/lib/gprpp/chunked_vector.h', @@ -1312,6 +1451,8 @@ Pod::Spec.new do |s| 'src/core/lib/gprpp/crash.cc', 'src/core/lib/gprpp/crash.h', 'src/core/lib/gprpp/debug_location.h', + 'src/core/lib/gprpp/directory_reader.h', + 'src/core/lib/gprpp/down_cast.h', 'src/core/lib/gprpp/dual_ref_counted.h', 'src/core/lib/gprpp/env.h', 'src/core/lib/gprpp/examine_stack.cc', @@ -1336,6 +1477,7 @@ Pod::Spec.new do |s| 'src/core/lib/gprpp/packed_table.h', 'src/core/lib/gprpp/per_cpu.cc', 'src/core/lib/gprpp/per_cpu.h', + 'src/core/lib/gprpp/posix/directory_reader.cc', 'src/core/lib/gprpp/posix/env.cc', 'src/core/lib/gprpp/posix/stat.cc', 'src/core/lib/gprpp/posix/thd.cc', @@ -1365,11 +1507,13 @@ Pod::Spec.new do |s| 'src/core/lib/gprpp/unique_type_name.h', 'src/core/lib/gprpp/validation_errors.cc', 'src/core/lib/gprpp/validation_errors.h', + 'src/core/lib/gprpp/windows/directory_reader.cc', 'src/core/lib/gprpp/windows/env.cc', 'src/core/lib/gprpp/windows/stat.cc', 'src/core/lib/gprpp/windows/thd.cc', 'src/core/lib/gprpp/work_serializer.cc', 'src/core/lib/gprpp/work_serializer.h', + 'src/core/lib/gprpp/xxhash_inline.h', 'src/core/lib/handshaker/proxy_mapper.h', 'src/core/lib/handshaker/proxy_mapper_registry.cc', 'src/core/lib/handshaker/proxy_mapper_registry.h', @@ -1445,8 +1589,6 @@ Pod::Spec.new do |s| 'src/core/lib/iomgr/iomgr_posix.cc', 'src/core/lib/iomgr/iomgr_posix_cfstream.cc', 'src/core/lib/iomgr/iomgr_windows.cc', - 'src/core/lib/iomgr/load_file.cc', - 'src/core/lib/iomgr/load_file.h', 'src/core/lib/iomgr/lockfree_event.cc', 'src/core/lib/iomgr/lockfree_event.h', 'src/core/lib/iomgr/nameser.h', @@ -1536,21 +1678,16 @@ Pod::Spec.new do |s| 'src/core/lib/json/json_util.h', 'src/core/lib/json/json_writer.cc', 'src/core/lib/json/json_writer.h', - 'src/core/lib/load_balancing/delegating_helper.h', - 'src/core/lib/load_balancing/lb_policy.cc', - 'src/core/lib/load_balancing/lb_policy.h', - 'src/core/lib/load_balancing/lb_policy_factory.h', - 'src/core/lib/load_balancing/lb_policy_registry.cc', - 'src/core/lib/load_balancing/lb_policy_registry.h', - 'src/core/lib/load_balancing/subchannel_interface.h', 'src/core/lib/matchers/matchers.cc', 'src/core/lib/matchers/matchers.h', 'src/core/lib/promise/activity.cc', 'src/core/lib/promise/activity.h', + 'src/core/lib/promise/all_ok.h', 'src/core/lib/promise/arena_promise.h', 'src/core/lib/promise/cancel_callback.h', 'src/core/lib/promise/context.h', 'src/core/lib/promise/detail/basic_seq.h', + 'src/core/lib/promise/detail/join_state.h', 'src/core/lib/promise/detail/promise_factory.h', 'src/core/lib/promise/detail/promise_like.h', 'src/core/lib/promise/detail/seq_state.h', @@ -1572,16 +1709,11 @@ Pod::Spec.new do |s| 'src/core/lib/promise/seq.h', 'src/core/lib/promise/sleep.cc', 'src/core/lib/promise/sleep.h', + 'src/core/lib/promise/status_flag.h', 'src/core/lib/promise/trace.cc', 'src/core/lib/promise/trace.h', + 'src/core/lib/promise/try_join.h', 'src/core/lib/promise/try_seq.h', - 'src/core/lib/resolver/resolver.cc', - 'src/core/lib/resolver/resolver.h', - 'src/core/lib/resolver/resolver_factory.h', - 'src/core/lib/resolver/resolver_registry.cc', - 'src/core/lib/resolver/resolver_registry.h', - 'src/core/lib/resolver/server_address.cc', - 'src/core/lib/resolver/server_address.h', 'src/core/lib/resource_quota/api.cc', 'src/core/lib/resource_quota/api.h', 'src/core/lib/resource_quota/arena.cc', @@ -1679,6 +1811,8 @@ Pod::Spec.new do |s| 'src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h', 'src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc', 'src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h', + 'src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc', + 'src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h', 'src/core/lib/security/credentials/tls/tls_credentials.cc', 'src/core/lib/security/credentials/tls/tls_credentials.h', 'src/core/lib/security/credentials/tls/tls_utils.cc', @@ -1695,6 +1829,7 @@ Pod::Spec.new do |s| 'src/core/lib/security/security_connector/load_system_roots_fallback.cc', 'src/core/lib/security/security_connector/load_system_roots_supported.cc', 'src/core/lib/security/security_connector/load_system_roots_supported.h', + 'src/core/lib/security/security_connector/load_system_roots_windows.cc', 'src/core/lib/security/security_connector/local/local_security_connector.cc', 'src/core/lib/security/security_connector/local/local_security_connector.h', 'src/core/lib/security/security_connector/security_connector.cc', @@ -1707,6 +1842,7 @@ Pod::Spec.new do |s| 'src/core/lib/security/security_connector/tls/tls_security_connector.h', 'src/core/lib/security/transport/auth_filters.h', 'src/core/lib/security/transport/client_auth_filter.cc', + 'src/core/lib/security/transport/legacy_server_auth_filter.cc', 'src/core/lib/security/transport/secure_endpoint.cc', 'src/core/lib/security/transport/secure_endpoint.h', 'src/core/lib/security/transport/security_handshaker.cc', @@ -1716,12 +1852,6 @@ Pod::Spec.new do |s| 'src/core/lib/security/transport/tsi_error.h', 'src/core/lib/security/util/json_util.cc', 'src/core/lib/security/util/json_util.h', - 'src/core/lib/service_config/service_config.h', - 'src/core/lib/service_config/service_config_call_data.h', - 'src/core/lib/service_config/service_config_impl.cc', - 'src/core/lib/service_config/service_config_impl.h', - 'src/core/lib/service_config/service_config_parser.cc', - 'src/core/lib/service_config/service_config_parser.h', 'src/core/lib/slice/b64.cc', 'src/core/lib/slice/b64.h', 'src/core/lib/slice/percent_encoding.cc', @@ -1746,7 +1876,6 @@ Pod::Spec.new do |s| 'src/core/lib/surface/call_details.cc', 'src/core/lib/surface/call_log_batch.cc', 'src/core/lib/surface/call_test_only.h', - 'src/core/lib/surface/call_trace.cc', 'src/core/lib/surface/call_trace.h', 'src/core/lib/surface/channel.cc', 'src/core/lib/surface/channel.h', @@ -1773,10 +1902,22 @@ Pod::Spec.new do |s| 'src/core/lib/surface/validate_metadata.cc', 'src/core/lib/surface/validate_metadata.h', 'src/core/lib/surface/version.cc', + 'src/core/lib/surface/wait_for_cq_end_op.cc', + 'src/core/lib/surface/wait_for_cq_end_op.h', 'src/core/lib/transport/batch_builder.cc', 'src/core/lib/transport/batch_builder.h', 'src/core/lib/transport/bdp_estimator.cc', 'src/core/lib/transport/bdp_estimator.h', + 'src/core/lib/transport/call_factory.cc', + 'src/core/lib/transport/call_factory.h', + 'src/core/lib/transport/call_filters.cc', + 'src/core/lib/transport/call_filters.h', + 'src/core/lib/transport/call_final_info.cc', + 'src/core/lib/transport/call_final_info.h', + 'src/core/lib/transport/call_size_estimator.cc', + 'src/core/lib/transport/call_size_estimator.h', + 'src/core/lib/transport/call_spine.cc', + 'src/core/lib/transport/call_spine.h', 'src/core/lib/transport/connectivity_state.cc', 'src/core/lib/transport/connectivity_state.h', 'src/core/lib/transport/custom_metadata.h', @@ -1790,13 +1931,15 @@ Pod::Spec.new do |s| 'src/core/lib/transport/http2_errors.h', 'src/core/lib/transport/http_connect_handshaker.cc', 'src/core/lib/transport/http_connect_handshaker.h', + 'src/core/lib/transport/message.cc', + 'src/core/lib/transport/message.h', + 'src/core/lib/transport/metadata.cc', + 'src/core/lib/transport/metadata.h', 'src/core/lib/transport/metadata_batch.cc', 'src/core/lib/transport/metadata_batch.h', 'src/core/lib/transport/metadata_compression_traits.h', 'src/core/lib/transport/parsed_metadata.cc', 'src/core/lib/transport/parsed_metadata.h', - 'src/core/lib/transport/pid_controller.cc', - 'src/core/lib/transport/pid_controller.h', 'src/core/lib/transport/simple_slice_based_metadata.h', 'src/core/lib/transport/status_conversion.cc', 'src/core/lib/transport/status_conversion.h', @@ -1807,12 +1950,109 @@ Pod::Spec.new do |s| 'src/core/lib/transport/transport.cc', 'src/core/lib/transport/transport.h', 'src/core/lib/transport/transport_fwd.h', - 'src/core/lib/transport/transport_impl.h', 'src/core/lib/transport/transport_op_string.cc', 'src/core/lib/uri/uri_parser.cc', 'src/core/lib/uri/uri_parser.h', + 'src/core/load_balancing/address_filtering.cc', + 'src/core/load_balancing/address_filtering.h', + 'src/core/load_balancing/backend_metric_data.h', + 'src/core/load_balancing/backend_metric_parser.cc', + 'src/core/load_balancing/backend_metric_parser.h', + 'src/core/load_balancing/child_policy_handler.cc', + 'src/core/load_balancing/child_policy_handler.h', + 'src/core/load_balancing/delegating_helper.h', + 'src/core/load_balancing/endpoint_list.cc', + 'src/core/load_balancing/endpoint_list.h', + 'src/core/load_balancing/grpclb/client_load_reporting_filter.cc', + 'src/core/load_balancing/grpclb/client_load_reporting_filter.h', + 'src/core/load_balancing/grpclb/grpclb.cc', + 'src/core/load_balancing/grpclb/grpclb.h', + 'src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc', + 'src/core/load_balancing/grpclb/grpclb_balancer_addresses.h', + 'src/core/load_balancing/grpclb/grpclb_client_stats.cc', + 'src/core/load_balancing/grpclb/grpclb_client_stats.h', + 'src/core/load_balancing/grpclb/load_balancer_api.cc', + 'src/core/load_balancing/grpclb/load_balancer_api.h', + 'src/core/load_balancing/health_check_client.cc', + 'src/core/load_balancing/health_check_client.h', + 'src/core/load_balancing/health_check_client_internal.h', + 'src/core/load_balancing/lb_policy.cc', + 'src/core/load_balancing/lb_policy.h', + 'src/core/load_balancing/lb_policy_factory.h', + 'src/core/load_balancing/lb_policy_registry.cc', + 'src/core/load_balancing/lb_policy_registry.h', + 'src/core/load_balancing/oob_backend_metric.cc', + 'src/core/load_balancing/oob_backend_metric.h', + 'src/core/load_balancing/oob_backend_metric_internal.h', + 'src/core/load_balancing/outlier_detection/outlier_detection.cc', + 'src/core/load_balancing/outlier_detection/outlier_detection.h', + 'src/core/load_balancing/pick_first/pick_first.cc', + 'src/core/load_balancing/pick_first/pick_first.h', + 'src/core/load_balancing/priority/priority.cc', + 'src/core/load_balancing/ring_hash/ring_hash.cc', + 'src/core/load_balancing/ring_hash/ring_hash.h', + 'src/core/load_balancing/rls/rls.cc', + 'src/core/load_balancing/round_robin/round_robin.cc', + 'src/core/load_balancing/subchannel_interface.h', + 'src/core/load_balancing/subchannel_list.h', + 'src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc', + 'src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h', + 'src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc', + 'src/core/load_balancing/weighted_target/weighted_target.cc', + 'src/core/load_balancing/xds/cds.cc', + 'src/core/load_balancing/xds/xds_channel_args.h', + 'src/core/load_balancing/xds/xds_cluster_impl.cc', + 'src/core/load_balancing/xds/xds_cluster_manager.cc', + 'src/core/load_balancing/xds/xds_override_host.cc', + 'src/core/load_balancing/xds/xds_override_host.h', + 'src/core/load_balancing/xds/xds_wrr_locality.cc', 'src/core/plugin_registry/grpc_plugin_registry.cc', 'src/core/plugin_registry/grpc_plugin_registry_extra.cc', + 'src/core/resolver/binder/binder_resolver.cc', + 'src/core/resolver/dns/c_ares/dns_resolver_ares.cc', + 'src/core/resolver/dns/c_ares/dns_resolver_ares.h', + 'src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h', + 'src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_wrapper.h', + 'src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc', + 'src/core/resolver/dns/dns_resolver_plugin.cc', + 'src/core/resolver/dns/dns_resolver_plugin.h', + 'src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc', + 'src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h', + 'src/core/resolver/dns/event_engine/service_config_helper.cc', + 'src/core/resolver/dns/event_engine/service_config_helper.h', + 'src/core/resolver/dns/native/dns_resolver.cc', + 'src/core/resolver/dns/native/dns_resolver.h', + 'src/core/resolver/endpoint_addresses.cc', + 'src/core/resolver/endpoint_addresses.h', + 'src/core/resolver/fake/fake_resolver.cc', + 'src/core/resolver/fake/fake_resolver.h', + 'src/core/resolver/google_c2p/google_c2p_resolver.cc', + 'src/core/resolver/polling_resolver.cc', + 'src/core/resolver/polling_resolver.h', + 'src/core/resolver/resolver.cc', + 'src/core/resolver/resolver.h', + 'src/core/resolver/resolver_factory.h', + 'src/core/resolver/resolver_registry.cc', + 'src/core/resolver/resolver_registry.h', + 'src/core/resolver/server_address.h', + 'src/core/resolver/sockaddr/sockaddr_resolver.cc', + 'src/core/resolver/xds/xds_dependency_manager.cc', + 'src/core/resolver/xds/xds_dependency_manager.h', + 'src/core/resolver/xds/xds_resolver.cc', + 'src/core/resolver/xds/xds_resolver_attributes.h', + 'src/core/resolver/xds/xds_resolver_trace.cc', + 'src/core/resolver/xds/xds_resolver_trace.h', + 'src/core/service_config/service_config.h', + 'src/core/service_config/service_config_call_data.h', + 'src/core/service_config/service_config_channel_arg_filter.cc', + 'src/core/service_config/service_config_impl.cc', + 'src/core/service_config/service_config_impl.h', + 'src/core/service_config/service_config_parser.cc', + 'src/core/service_config/service_config_parser.h', 'src/core/tsi/alts/crypt/aes_gcm.cc', 'src/core/tsi/alts/crypt/gsec.cc', 'src/core/tsi/alts/crypt/gsec.h', @@ -1914,29 +2154,12 @@ Pod::Spec.new do |s| 'third_party/re2/util/strutil.h', 'third_party/re2/util/utf.h', 'third_party/re2/util/util.h', - 'third_party/upb/upb/alloc.h', - 'third_party/upb/upb/arena.h', - 'third_party/upb/upb/array.h', 'third_party/upb/upb/base/descriptor_constants.h', - 'third_party/upb/upb/base/log2.h', + 'third_party/upb/upb/base/internal/log2.h', 'third_party/upb/upb/base/status.c', 'third_party/upb/upb/base/status.h', + 'third_party/upb/upb/base/status.hpp', 'third_party/upb/upb/base/string_view.h', - 'third_party/upb/upb/collections/array.c', - 'third_party/upb/upb/collections/array.h', - 'third_party/upb/upb/collections/array_internal.h', - 'third_party/upb/upb/collections/map.c', - 'third_party/upb/upb/collections/map.h', - 'third_party/upb/upb/collections/map_gencode_util.h', - 'third_party/upb/upb/collections/map_internal.h', - 'third_party/upb/upb/collections/map_sorter.c', - 'third_party/upb/upb/collections/map_sorter_internal.h', - 'third_party/upb/upb/collections/message_value.h', - 'third_party/upb/upb/decode.h', - 'third_party/upb/upb/def.h', - 'third_party/upb/upb/def.hpp', - 'third_party/upb/upb/encode.h', - 'third_party/upb/upb/extension_registry.h', 'third_party/upb/upb/generated_code_support.h', 'third_party/upb/upb/hash/common.c', 'third_party/upb/upb/hash/common.h', @@ -1954,21 +2177,33 @@ Pod::Spec.new do |s| 'third_party/upb/upb/lex/strtod.h', 'third_party/upb/upb/lex/unicode.c', 'third_party/upb/upb/lex/unicode.h', - 'third_party/upb/upb/map.h', 'third_party/upb/upb/mem/alloc.c', 'third_party/upb/upb/mem/alloc.h', 'third_party/upb/upb/mem/arena.c', 'third_party/upb/upb/mem/arena.h', - 'third_party/upb/upb/mem/arena_internal.h', + 'third_party/upb/upb/mem/arena.hpp', + 'third_party/upb/upb/mem/internal/arena.h', 'third_party/upb/upb/message/accessors.c', 'third_party/upb/upb/message/accessors.h', - 'third_party/upb/upb/message/accessors_internal.h', - 'third_party/upb/upb/message/extension_internal.h', - 'third_party/upb/upb/message/internal.h', + 'third_party/upb/upb/message/array.c', + 'third_party/upb/upb/message/array.h', + 'third_party/upb/upb/message/internal/accessors.h', + 'third_party/upb/upb/message/internal/array.h', + 'third_party/upb/upb/message/internal/extension.h', + 'third_party/upb/upb/message/internal/map.h', 'third_party/upb/upb/message/internal/map_entry.h', + 'third_party/upb/upb/message/internal/map_sorter.h', + 'third_party/upb/upb/message/internal/message.h', + 'third_party/upb/upb/message/internal/types.h', + 'third_party/upb/upb/message/map.c', + 'third_party/upb/upb/message/map.h', + 'third_party/upb/upb/message/map_gencode_util.h', + 'third_party/upb/upb/message/map_sorter.c', 'third_party/upb/upb/message/message.c', 'third_party/upb/upb/message/message.h', 'third_party/upb/upb/message/tagged_ptr.h', + 'third_party/upb/upb/message/types.h', + 'third_party/upb/upb/message/value.h', 'third_party/upb/upb/mini_descriptor/build_enum.c', 'third_party/upb/upb/mini_descriptor/build_enum.h', 'third_party/upb/upb/mini_descriptor/decode.c', @@ -1999,82 +2234,75 @@ Pod::Spec.new do |s| 'third_party/upb/upb/mini_table/message.c', 'third_party/upb/upb/mini_table/message.h', 'third_party/upb/upb/mini_table/sub.h', - 'third_party/upb/upb/msg.h', 'third_party/upb/upb/port/atomic.h', 'third_party/upb/upb/port/def.inc', 'third_party/upb/upb/port/undef.inc', 'third_party/upb/upb/port/vsnprintf_compat.h', - 'third_party/upb/upb/reflection.h', - 'third_party/upb/upb/reflection.hpp', 'third_party/upb/upb/reflection/common.h', 'third_party/upb/upb/reflection/def.h', 'third_party/upb/upb/reflection/def.hpp', - 'third_party/upb/upb/reflection/def_builder.c', - 'third_party/upb/upb/reflection/def_builder_internal.h', 'third_party/upb/upb/reflection/def_pool.c', 'third_party/upb/upb/reflection/def_pool.h', - 'third_party/upb/upb/reflection/def_pool_internal.h', 'third_party/upb/upb/reflection/def_type.c', 'third_party/upb/upb/reflection/def_type.h', 'third_party/upb/upb/reflection/desc_state.c', - 'third_party/upb/upb/reflection/desc_state_internal.h', 'third_party/upb/upb/reflection/enum_def.c', 'third_party/upb/upb/reflection/enum_def.h', - 'third_party/upb/upb/reflection/enum_def_internal.h', 'third_party/upb/upb/reflection/enum_reserved_range.c', 'third_party/upb/upb/reflection/enum_reserved_range.h', - 'third_party/upb/upb/reflection/enum_reserved_range_internal.h', 'third_party/upb/upb/reflection/enum_value_def.c', 'third_party/upb/upb/reflection/enum_value_def.h', - 'third_party/upb/upb/reflection/enum_value_def_internal.h', 'third_party/upb/upb/reflection/extension_range.c', 'third_party/upb/upb/reflection/extension_range.h', - 'third_party/upb/upb/reflection/extension_range_internal.h', 'third_party/upb/upb/reflection/field_def.c', 'third_party/upb/upb/reflection/field_def.h', - 'third_party/upb/upb/reflection/field_def_internal.h', 'third_party/upb/upb/reflection/file_def.c', 'third_party/upb/upb/reflection/file_def.h', - 'third_party/upb/upb/reflection/file_def_internal.h', + 'third_party/upb/upb/reflection/internal/def_builder.c', + 'third_party/upb/upb/reflection/internal/def_builder.h', + 'third_party/upb/upb/reflection/internal/def_pool.h', + 'third_party/upb/upb/reflection/internal/desc_state.h', + 'third_party/upb/upb/reflection/internal/enum_def.h', + 'third_party/upb/upb/reflection/internal/enum_reserved_range.h', + 'third_party/upb/upb/reflection/internal/enum_value_def.h', + 'third_party/upb/upb/reflection/internal/extension_range.h', + 'third_party/upb/upb/reflection/internal/field_def.h', + 'third_party/upb/upb/reflection/internal/file_def.h', + 'third_party/upb/upb/reflection/internal/message_def.h', + 'third_party/upb/upb/reflection/internal/message_reserved_range.h', + 'third_party/upb/upb/reflection/internal/method_def.h', + 'third_party/upb/upb/reflection/internal/oneof_def.h', + 'third_party/upb/upb/reflection/internal/service_def.h', + 'third_party/upb/upb/reflection/internal/strdup2.c', + 'third_party/upb/upb/reflection/internal/strdup2.h', 'third_party/upb/upb/reflection/message.c', 'third_party/upb/upb/reflection/message.h', 'third_party/upb/upb/reflection/message.hpp', 'third_party/upb/upb/reflection/message_def.c', 'third_party/upb/upb/reflection/message_def.h', - 'third_party/upb/upb/reflection/message_def_internal.h', 'third_party/upb/upb/reflection/message_reserved_range.c', 'third_party/upb/upb/reflection/message_reserved_range.h', - 'third_party/upb/upb/reflection/message_reserved_range_internal.h', 'third_party/upb/upb/reflection/method_def.c', 'third_party/upb/upb/reflection/method_def.h', - 'third_party/upb/upb/reflection/method_def_internal.h', 'third_party/upb/upb/reflection/oneof_def.c', 'third_party/upb/upb/reflection/oneof_def.h', - 'third_party/upb/upb/reflection/oneof_def_internal.h', 'third_party/upb/upb/reflection/service_def.c', 'third_party/upb/upb/reflection/service_def.h', - 'third_party/upb/upb/reflection/service_def_internal.h', - 'third_party/upb/upb/status.h', - 'third_party/upb/upb/string_view.h', 'third_party/upb/upb/text/encode.c', 'third_party/upb/upb/text/encode.h', - 'third_party/upb/upb/text_encode.h', - 'third_party/upb/upb/upb.h', - 'third_party/upb/upb/upb.hpp', - 'third_party/upb/upb/wire/common.h', - 'third_party/upb/upb/wire/common_internal.h', 'third_party/upb/upb/wire/decode.c', 'third_party/upb/upb/wire/decode.h', 'third_party/upb/upb/wire/decode_fast.c', 'third_party/upb/upb/wire/decode_fast.h', - 'third_party/upb/upb/wire/decode_internal.h', 'third_party/upb/upb/wire/encode.c', 'third_party/upb/upb/wire/encode.h', 'third_party/upb/upb/wire/eps_copy_input_stream.c', 'third_party/upb/upb/wire/eps_copy_input_stream.h', + 'third_party/upb/upb/wire/internal/constants.h', + 'third_party/upb/upb/wire/internal/decode.h', + 'third_party/upb/upb/wire/internal/swap.h', 'third_party/upb/upb/wire/reader.c', 'third_party/upb/upb/wire/reader.h', - 'third_party/upb/upb/wire/swap_internal.h', 'third_party/upb/upb/wire/types.h', 'third_party/utf8_range/naive.c', 'third_party/utf8_range/range2-neon.c', @@ -2103,67 +2331,38 @@ Pod::Spec.new do |s| 'third_party/zlib/zlib.h', 'third_party/zlib/zutil.c', 'third_party/zlib/zutil.h' - ss.private_header_files = 'src/core/ext/filters/backend_metrics/backend_metric_filter.h', + ss.private_header_files = 'src/core/client_channel/backup_poller.h', + 'src/core/client_channel/client_channel_channelz.h', + 'src/core/client_channel/client_channel_factory.h', + 'src/core/client_channel/client_channel_filter.h', + 'src/core/client_channel/client_channel_internal.h', + 'src/core/client_channel/client_channel_service_config.h', + 'src/core/client_channel/config_selector.h', + 'src/core/client_channel/connector.h', + 'src/core/client_channel/dynamic_filters.h', + 'src/core/client_channel/global_subchannel_pool.h', + 'src/core/client_channel/http_proxy_mapper.h', + 'src/core/client_channel/local_subchannel_pool.h', + 'src/core/client_channel/retry_filter.h', + 'src/core/client_channel/retry_filter_legacy_call_data.h', + 'src/core/client_channel/retry_service_config.h', + 'src/core/client_channel/retry_throttle.h', + 'src/core/client_channel/subchannel.h', + 'src/core/client_channel/subchannel_interface_internal.h', + 'src/core/client_channel/subchannel_pool_interface.h', + 'src/core/client_channel/subchannel_stream_client.h', + 'src/core/ext/filters/backend_metrics/backend_metric_filter.h', 'src/core/ext/filters/backend_metrics/backend_metric_provider.h', 'src/core/ext/filters/channel_idle/channel_idle_filter.h', 'src/core/ext/filters/channel_idle/idle_filter_state.h', - 'src/core/ext/filters/client_channel/backend_metric.h', - 'src/core/ext/filters/client_channel/backup_poller.h', - 'src/core/ext/filters/client_channel/client_channel.h', - 'src/core/ext/filters/client_channel/client_channel_channelz.h', - 'src/core/ext/filters/client_channel/client_channel_factory.h', - 'src/core/ext/filters/client_channel/client_channel_internal.h', - 'src/core/ext/filters/client_channel/client_channel_service_config.h', - 'src/core/ext/filters/client_channel/config_selector.h', - 'src/core/ext/filters/client_channel/connector.h', - 'src/core/ext/filters/client_channel/dynamic_filters.h', - 'src/core/ext/filters/client_channel/global_subchannel_pool.h', - 'src/core/ext/filters/client_channel/http_proxy_mapper.h', - 'src/core/ext/filters/client_channel/lb_policy/address_filtering.h', - 'src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h', - 'src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h', - 'src/core/ext/filters/client_channel/lb_policy/endpoint_list.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h', - 'src/core/ext/filters/client_channel/lb_policy/health_check_client.h', - 'src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h', - 'src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h', - 'src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h', - 'src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h', - 'src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h', - 'src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h', - 'src/core/ext/filters/client_channel/lb_policy/subchannel_list.h', - 'src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h', - 'src/core/ext/filters/client_channel/local_subchannel_pool.h', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h', - 'src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h', - 'src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h', - 'src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h', - 'src/core/ext/filters/client_channel/resolver/polling_resolver.h', - 'src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h', - 'src/core/ext/filters/client_channel/retry_filter.h', - 'src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h', - 'src/core/ext/filters/client_channel/retry_service_config.h', - 'src/core/ext/filters/client_channel/retry_throttle.h', - 'src/core/ext/filters/client_channel/subchannel.h', - 'src/core/ext/filters/client_channel/subchannel_interface_internal.h', - 'src/core/ext/filters/client_channel/subchannel_pool_interface.h', - 'src/core/ext/filters/client_channel/subchannel_stream_client.h', + 'src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h', 'src/core/ext/filters/deadline/deadline_filter.h', 'src/core/ext/filters/fault_injection/fault_injection_filter.h', 'src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h', 'src/core/ext/filters/http/client/http_client_filter.h', 'src/core/ext/filters/http/client_authority_filter.h', 'src/core/ext/filters/http/message_compress/compression_filter.h', + 'src/core/ext/filters/http/message_compress/legacy_compression_filter.h', 'src/core/ext/filters/http/server/http_server_filter.h', 'src/core/ext/filters/message_size/message_size_filter.h', 'src/core/ext/filters/rbac/rbac_filter.h', @@ -2182,6 +2381,7 @@ Pod::Spec.new do |s| 'src/core/ext/transport/chttp2/transport/context_list_entry.h', 'src/core/ext/transport/chttp2/transport/decode_huff.h', 'src/core/ext/transport/chttp2/transport/flow_control.h', + 'src/core/ext/transport/chttp2/transport/frame.h', 'src/core/ext/transport/chttp2/transport/frame_data.h', 'src/core/ext/transport/chttp2/transport/frame_goaway.h', 'src/core/ext/transport/chttp2/transport/frame_ping.h', @@ -2199,323 +2399,496 @@ Pod::Spec.new do |s| 'src/core/ext/transport/chttp2/transport/huffsyms.h', 'src/core/ext/transport/chttp2/transport/internal.h', 'src/core/ext/transport/chttp2/transport/legacy_frame.h', + 'src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h', 'src/core/ext/transport/chttp2/transport/ping_abuse_policy.h', + 'src/core/ext/transport/chttp2/transport/ping_callbacks.h', 'src/core/ext/transport/chttp2/transport/ping_rate_policy.h', 'src/core/ext/transport/chttp2/transport/varint.h', + 'src/core/ext/transport/chttp2/transport/write_size_policy.h', 'src/core/ext/transport/inproc/inproc_transport.h', - 'src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h', - 'src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h', - 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h', - 'src/core/ext/upb-generated/envoy/annotations/resource.upb.h', - 'src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h', - 'src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h', - 'src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h', - 'src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h', - 'src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h', - 'src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h', - 'src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h', - 'src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h', - 'src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h', - 'src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h', - 'src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h', - 'src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h', - 'src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h', - 'src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h', - 'src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h', - 'src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h', - 'src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h', - 'src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h', - 'src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h', - 'src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h', - 'src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h', - 'src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/http.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/percent.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/range.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h', - 'src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h', - 'src/core/ext/upb-generated/google/api/annotations.upb.h', - 'src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h', - 'src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h', - 'src/core/ext/upb-generated/google/api/http.upb.h', - 'src/core/ext/upb-generated/google/api/httpbody.upb.h', - 'src/core/ext/upb-generated/google/protobuf/any.upb.h', - 'src/core/ext/upb-generated/google/protobuf/descriptor.upb.h', - 'src/core/ext/upb-generated/google/protobuf/duration.upb.h', - 'src/core/ext/upb-generated/google/protobuf/empty.upb.h', - 'src/core/ext/upb-generated/google/protobuf/struct.upb.h', - 'src/core/ext/upb-generated/google/protobuf/timestamp.upb.h', - 'src/core/ext/upb-generated/google/protobuf/wrappers.upb.h', - 'src/core/ext/upb-generated/google/rpc/status.upb.h', - 'src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h', - 'src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/migrate.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/security.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/status.upb.h', - 'src/core/ext/upb-generated/udpa/annotations/versioning.upb.h', - 'src/core/ext/upb-generated/validate/validate.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/security.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/status.upb.h', - 'src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/authority.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/cidr.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/context_params.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/extension.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/resource.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h', - 'src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h', - 'src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h', - 'src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h', - 'src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h', - 'src/core/ext/upb-generated/xds/type/v3/cel.upb.h', - 'src/core/ext/upb-generated/xds/type/v3/range.upb.h', - 'src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h', - 'src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/http.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h', - 'src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h', - 'src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h', - 'src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h', - 'src/core/ext/upbdefs-generated/validate/validate.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h', - 'src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h', + 'src/core/ext/transport/inproc/legacy_inproc_transport.h', + 'src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h', + 'src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h', + 'src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/annotations/resource.upb.h', + 'src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h', + 'src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h', + 'src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h', + 'src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h', + 'src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h', + 'src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h', + 'src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h', + 'src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h', + 'src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h', + 'src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h', + 'src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h', + 'src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h', + 'src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h', + 'src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h', + 'src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h', + 'src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h', + 'src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/http.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/percent.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/range.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h', + 'src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h', + 'src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/annotations.upb.h', + 'src/core/ext/upb-gen/google/api/annotations.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/http.upb.h', + 'src/core/ext/upb-gen/google/api/http.upb_minitable.h', + 'src/core/ext/upb-gen/google/api/httpbody.upb.h', + 'src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/any.upb.h', + 'src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb.h', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/duration.upb.h', + 'src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/empty.upb.h', + 'src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/struct.upb.h', + 'src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/timestamp.upb.h', + 'src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h', + 'src/core/ext/upb-gen/google/protobuf/wrappers.upb.h', + 'src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h', + 'src/core/ext/upb-gen/google/rpc/status.upb.h', + 'src/core/ext/upb-gen/google/rpc/status.upb_minitable.h', + 'src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h', + 'src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/migrate.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/security.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/status.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h', + 'src/core/ext/upb-gen/udpa/annotations/versioning.upb.h', + 'src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h', + 'src/core/ext/upb-gen/validate/validate.upb.h', + 'src/core/ext/upb-gen/validate/validate.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/security.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/status.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h', + 'src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h', + 'src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/authority.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/cidr.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/context_params.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/extension.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/resource.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h', + 'src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h', + 'src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h', + 'src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h', + 'src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h', + 'src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h', + 'src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/v3/cel.upb.h', + 'src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/v3/range.upb.h', + 'src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h', + 'src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h', + 'src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h', + 'src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/http.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h', + 'src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h', + 'src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h', + 'src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h', + 'src/core/ext/upbdefs-gen/validate/validate.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h', + 'src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h', 'src/core/ext/xds/certificate_provider_store.h', 'src/core/ext/xds/file_watcher_certificate_provider_factory.h', 'src/core/ext/xds/upb_utils.h', @@ -2559,6 +2932,7 @@ Pod::Spec.new do |s| 'src/core/lib/channel/channel_stack.h', 'src/core/lib/channel/channel_stack_builder.h', 'src/core/lib/channel/channel_stack_builder_impl.h', + 'src/core/lib/channel/channel_stack_trace.h', 'src/core/lib/channel/channel_trace.h', 'src/core/lib/channel/channelz.h', 'src/core/lib/channel/channelz_registry.h', @@ -2566,6 +2940,7 @@ Pod::Spec.new do |s| 'src/core/lib/channel/context.h', 'src/core/lib/channel/promise_based_filter.h', 'src/core/lib/channel/status_util.h', + 'src/core/lib/channel/tcp_tracer.h', 'src/core/lib/compression/compression_internal.h', 'src/core/lib/compression/message_compress.h', 'src/core/lib/config/config_vars.h', @@ -2585,6 +2960,8 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/common_closures.h', 'src/core/lib/event_engine/default_event_engine.h', 'src/core/lib/event_engine/default_event_engine_factory.h', + 'src/core/lib/event_engine/extensions/can_track_errors.h', + 'src/core/lib/event_engine/extensions/supports_fd.h', 'src/core/lib/event_engine/forkable.h', 'src/core/lib/event_engine/grpc_polled_fd.h', 'src/core/lib/event_engine/handle_containers.h', @@ -2599,6 +2976,7 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h', 'src/core/lib/event_engine/posix_engine/internal_errqueue.h', 'src/core/lib/event_engine/posix_engine/lockfree_event.h', + 'src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h', 'src/core/lib/event_engine/posix_engine/posix_endpoint.h', 'src/core/lib/event_engine/posix_engine/posix_engine.h', 'src/core/lib/event_engine/posix_engine/posix_engine_closure.h', @@ -2613,6 +2991,8 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h', 'src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h', 'src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h', + 'src/core/lib/event_engine/query_extensions.h', + 'src/core/lib/event_engine/ref_counted_dns_resolver_interface.h', 'src/core/lib/event_engine/resolved_address_internal.h', 'src/core/lib/event_engine/shim.h', 'src/core/lib/event_engine/tcp_socket_utils.h', @@ -2624,7 +3004,9 @@ Pod::Spec.new do |s| 'src/core/lib/event_engine/time_util.h', 'src/core/lib/event_engine/trace.h', 'src/core/lib/event_engine/utils.h', + 'src/core/lib/event_engine/windows/grpc_polled_fd_windows.h', 'src/core/lib/event_engine/windows/iocp.h', + 'src/core/lib/event_engine/windows/native_windows_dns_resolver.h', 'src/core/lib/event_engine/windows/win_socket.h', 'src/core/lib/event_engine/windows/windows_endpoint.h', 'src/core/lib/event_engine/windows/windows_engine.h', @@ -2647,6 +3029,8 @@ Pod::Spec.new do |s| 'src/core/lib/gprpp/cpp_impl_of.h', 'src/core/lib/gprpp/crash.h', 'src/core/lib/gprpp/debug_location.h', + 'src/core/lib/gprpp/directory_reader.h', + 'src/core/lib/gprpp/down_cast.h', 'src/core/lib/gprpp/dual_ref_counted.h', 'src/core/lib/gprpp/env.h', 'src/core/lib/gprpp/examine_stack.h', @@ -2683,6 +3067,7 @@ Pod::Spec.new do |s| 'src/core/lib/gprpp/unique_type_name.h', 'src/core/lib/gprpp/validation_errors.h', 'src/core/lib/gprpp/work_serializer.h', + 'src/core/lib/gprpp/xxhash_inline.h', 'src/core/lib/handshaker/proxy_mapper.h', 'src/core/lib/handshaker/proxy_mapper_registry.h', 'src/core/lib/http/format_request.h', @@ -2717,7 +3102,6 @@ Pod::Spec.new do |s| 'src/core/lib/iomgr/iomgr.h', 'src/core/lib/iomgr/iomgr_fwd.h', 'src/core/lib/iomgr/iomgr_internal.h', - 'src/core/lib/iomgr/load_file.h', 'src/core/lib/iomgr/lockfree_event.h', 'src/core/lib/iomgr/nameser.h', 'src/core/lib/iomgr/polling_entity.h', @@ -2762,17 +3146,14 @@ Pod::Spec.new do |s| 'src/core/lib/json/json_reader.h', 'src/core/lib/json/json_util.h', 'src/core/lib/json/json_writer.h', - 'src/core/lib/load_balancing/delegating_helper.h', - 'src/core/lib/load_balancing/lb_policy.h', - 'src/core/lib/load_balancing/lb_policy_factory.h', - 'src/core/lib/load_balancing/lb_policy_registry.h', - 'src/core/lib/load_balancing/subchannel_interface.h', 'src/core/lib/matchers/matchers.h', 'src/core/lib/promise/activity.h', + 'src/core/lib/promise/all_ok.h', 'src/core/lib/promise/arena_promise.h', 'src/core/lib/promise/cancel_callback.h', 'src/core/lib/promise/context.h', 'src/core/lib/promise/detail/basic_seq.h', + 'src/core/lib/promise/detail/join_state.h', 'src/core/lib/promise/detail/promise_factory.h', 'src/core/lib/promise/detail/promise_like.h', 'src/core/lib/promise/detail/seq_state.h', @@ -2792,12 +3173,10 @@ Pod::Spec.new do |s| 'src/core/lib/promise/race.h', 'src/core/lib/promise/seq.h', 'src/core/lib/promise/sleep.h', + 'src/core/lib/promise/status_flag.h', 'src/core/lib/promise/trace.h', + 'src/core/lib/promise/try_join.h', 'src/core/lib/promise/try_seq.h', - 'src/core/lib/resolver/resolver.h', - 'src/core/lib/resolver/resolver_factory.h', - 'src/core/lib/resolver/resolver_registry.h', - 'src/core/lib/resolver/server_address.h', 'src/core/lib/resource_quota/api.h', 'src/core/lib/resource_quota/arena.h', 'src/core/lib/resource_quota/memory_quota.h', @@ -2844,6 +3223,7 @@ Pod::Spec.new do |s| 'src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h', 'src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h', 'src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h', + 'src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h', 'src/core/lib/security/credentials/tls/tls_credentials.h', 'src/core/lib/security/credentials/tls/tls_utils.h', 'src/core/lib/security/credentials/xds/xds_credentials.h', @@ -2862,10 +3242,6 @@ Pod::Spec.new do |s| 'src/core/lib/security/transport/security_handshaker.h', 'src/core/lib/security/transport/tsi_error.h', 'src/core/lib/security/util/json_util.h', - 'src/core/lib/service_config/service_config.h', - 'src/core/lib/service_config/service_config_call_data.h', - 'src/core/lib/service_config/service_config_impl.h', - 'src/core/lib/service_config/service_config_parser.h', 'src/core/lib/slice/b64.h', 'src/core/lib/slice/percent_encoding.h', 'src/core/lib/slice/slice.h', @@ -2889,8 +3265,14 @@ Pod::Spec.new do |s| 'src/core/lib/surface/lame_client.h', 'src/core/lib/surface/server.h', 'src/core/lib/surface/validate_metadata.h', + 'src/core/lib/surface/wait_for_cq_end_op.h', 'src/core/lib/transport/batch_builder.h', 'src/core/lib/transport/bdp_estimator.h', + 'src/core/lib/transport/call_factory.h', + 'src/core/lib/transport/call_filters.h', + 'src/core/lib/transport/call_final_info.h', + 'src/core/lib/transport/call_size_estimator.h', + 'src/core/lib/transport/call_spine.h', 'src/core/lib/transport/connectivity_state.h', 'src/core/lib/transport/custom_metadata.h', 'src/core/lib/transport/error_utils.h', @@ -2899,18 +3281,65 @@ Pod::Spec.new do |s| 'src/core/lib/transport/handshaker_registry.h', 'src/core/lib/transport/http2_errors.h', 'src/core/lib/transport/http_connect_handshaker.h', + 'src/core/lib/transport/message.h', + 'src/core/lib/transport/metadata.h', 'src/core/lib/transport/metadata_batch.h', 'src/core/lib/transport/metadata_compression_traits.h', 'src/core/lib/transport/parsed_metadata.h', - 'src/core/lib/transport/pid_controller.h', 'src/core/lib/transport/simple_slice_based_metadata.h', 'src/core/lib/transport/status_conversion.h', 'src/core/lib/transport/tcp_connect_handshaker.h', 'src/core/lib/transport/timeout_encoding.h', 'src/core/lib/transport/transport.h', 'src/core/lib/transport/transport_fwd.h', - 'src/core/lib/transport/transport_impl.h', 'src/core/lib/uri/uri_parser.h', + 'src/core/load_balancing/address_filtering.h', + 'src/core/load_balancing/backend_metric_data.h', + 'src/core/load_balancing/backend_metric_parser.h', + 'src/core/load_balancing/child_policy_handler.h', + 'src/core/load_balancing/delegating_helper.h', + 'src/core/load_balancing/endpoint_list.h', + 'src/core/load_balancing/grpclb/client_load_reporting_filter.h', + 'src/core/load_balancing/grpclb/grpclb.h', + 'src/core/load_balancing/grpclb/grpclb_balancer_addresses.h', + 'src/core/load_balancing/grpclb/grpclb_client_stats.h', + 'src/core/load_balancing/grpclb/load_balancer_api.h', + 'src/core/load_balancing/health_check_client.h', + 'src/core/load_balancing/health_check_client_internal.h', + 'src/core/load_balancing/lb_policy.h', + 'src/core/load_balancing/lb_policy_factory.h', + 'src/core/load_balancing/lb_policy_registry.h', + 'src/core/load_balancing/oob_backend_metric.h', + 'src/core/load_balancing/oob_backend_metric_internal.h', + 'src/core/load_balancing/outlier_detection/outlier_detection.h', + 'src/core/load_balancing/pick_first/pick_first.h', + 'src/core/load_balancing/ring_hash/ring_hash.h', + 'src/core/load_balancing/subchannel_interface.h', + 'src/core/load_balancing/subchannel_list.h', + 'src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h', + 'src/core/load_balancing/xds/xds_channel_args.h', + 'src/core/load_balancing/xds/xds_override_host.h', + 'src/core/resolver/dns/c_ares/dns_resolver_ares.h', + 'src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h', + 'src/core/resolver/dns/c_ares/grpc_ares_wrapper.h', + 'src/core/resolver/dns/dns_resolver_plugin.h', + 'src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h', + 'src/core/resolver/dns/event_engine/service_config_helper.h', + 'src/core/resolver/dns/native/dns_resolver.h', + 'src/core/resolver/endpoint_addresses.h', + 'src/core/resolver/fake/fake_resolver.h', + 'src/core/resolver/polling_resolver.h', + 'src/core/resolver/resolver.h', + 'src/core/resolver/resolver_factory.h', + 'src/core/resolver/resolver_registry.h', + 'src/core/resolver/server_address.h', + 'src/core/resolver/xds/xds_dependency_manager.h', + 'src/core/resolver/xds/xds_resolver_attributes.h', + 'src/core/resolver/xds/xds_resolver_trace.h', + 'src/core/service_config/service_config.h', + 'src/core/service_config/service_config_call_data.h', + 'src/core/service_config/service_config_impl.h', + 'src/core/service_config/service_config_parser.h', 'src/core/tsi/alts/crypt/gsec.h', 'src/core/tsi/alts/frame_protector/alts_counter.h', 'src/core/tsi/alts/frame_protector/alts_crypter.h', @@ -2961,25 +3390,11 @@ Pod::Spec.new do |s| 'third_party/re2/util/strutil.h', 'third_party/re2/util/utf.h', 'third_party/re2/util/util.h', - 'third_party/upb/upb/alloc.h', - 'third_party/upb/upb/arena.h', - 'third_party/upb/upb/array.h', 'third_party/upb/upb/base/descriptor_constants.h', - 'third_party/upb/upb/base/log2.h', + 'third_party/upb/upb/base/internal/log2.h', 'third_party/upb/upb/base/status.h', + 'third_party/upb/upb/base/status.hpp', 'third_party/upb/upb/base/string_view.h', - 'third_party/upb/upb/collections/array.h', - 'third_party/upb/upb/collections/array_internal.h', - 'third_party/upb/upb/collections/map.h', - 'third_party/upb/upb/collections/map_gencode_util.h', - 'third_party/upb/upb/collections/map_internal.h', - 'third_party/upb/upb/collections/map_sorter_internal.h', - 'third_party/upb/upb/collections/message_value.h', - 'third_party/upb/upb/decode.h', - 'third_party/upb/upb/def.h', - 'third_party/upb/upb/def.hpp', - 'third_party/upb/upb/encode.h', - 'third_party/upb/upb/extension_registry.h', 'third_party/upb/upb/generated_code_support.h', 'third_party/upb/upb/hash/common.h', 'third_party/upb/upb/hash/int_table.h', @@ -2990,17 +3405,26 @@ Pod::Spec.new do |s| 'third_party/upb/upb/lex/round_trip.h', 'third_party/upb/upb/lex/strtod.h', 'third_party/upb/upb/lex/unicode.h', - 'third_party/upb/upb/map.h', 'third_party/upb/upb/mem/alloc.h', 'third_party/upb/upb/mem/arena.h', - 'third_party/upb/upb/mem/arena_internal.h', + 'third_party/upb/upb/mem/arena.hpp', + 'third_party/upb/upb/mem/internal/arena.h', 'third_party/upb/upb/message/accessors.h', - 'third_party/upb/upb/message/accessors_internal.h', - 'third_party/upb/upb/message/extension_internal.h', - 'third_party/upb/upb/message/internal.h', + 'third_party/upb/upb/message/array.h', + 'third_party/upb/upb/message/internal/accessors.h', + 'third_party/upb/upb/message/internal/array.h', + 'third_party/upb/upb/message/internal/extension.h', + 'third_party/upb/upb/message/internal/map.h', 'third_party/upb/upb/message/internal/map_entry.h', + 'third_party/upb/upb/message/internal/map_sorter.h', + 'third_party/upb/upb/message/internal/message.h', + 'third_party/upb/upb/message/internal/types.h', + 'third_party/upb/upb/message/map.h', + 'third_party/upb/upb/message/map_gencode_util.h', 'third_party/upb/upb/message/message.h', 'third_party/upb/upb/message/tagged_ptr.h', + 'third_party/upb/upb/message/types.h', + 'third_party/upb/upb/message/value.h', 'third_party/upb/upb/mini_descriptor/build_enum.h', 'third_party/upb/upb/mini_descriptor/decode.h', 'third_party/upb/upb/mini_descriptor/internal/base92.h', @@ -3023,60 +3447,52 @@ Pod::Spec.new do |s| 'third_party/upb/upb/mini_table/internal/sub.h', 'third_party/upb/upb/mini_table/message.h', 'third_party/upb/upb/mini_table/sub.h', - 'third_party/upb/upb/msg.h', 'third_party/upb/upb/port/atomic.h', 'third_party/upb/upb/port/def.inc', 'third_party/upb/upb/port/undef.inc', 'third_party/upb/upb/port/vsnprintf_compat.h', - 'third_party/upb/upb/reflection.h', - 'third_party/upb/upb/reflection.hpp', 'third_party/upb/upb/reflection/common.h', 'third_party/upb/upb/reflection/def.h', 'third_party/upb/upb/reflection/def.hpp', - 'third_party/upb/upb/reflection/def_builder_internal.h', 'third_party/upb/upb/reflection/def_pool.h', - 'third_party/upb/upb/reflection/def_pool_internal.h', 'third_party/upb/upb/reflection/def_type.h', - 'third_party/upb/upb/reflection/desc_state_internal.h', 'third_party/upb/upb/reflection/enum_def.h', - 'third_party/upb/upb/reflection/enum_def_internal.h', 'third_party/upb/upb/reflection/enum_reserved_range.h', - 'third_party/upb/upb/reflection/enum_reserved_range_internal.h', 'third_party/upb/upb/reflection/enum_value_def.h', - 'third_party/upb/upb/reflection/enum_value_def_internal.h', 'third_party/upb/upb/reflection/extension_range.h', - 'third_party/upb/upb/reflection/extension_range_internal.h', 'third_party/upb/upb/reflection/field_def.h', - 'third_party/upb/upb/reflection/field_def_internal.h', 'third_party/upb/upb/reflection/file_def.h', - 'third_party/upb/upb/reflection/file_def_internal.h', + 'third_party/upb/upb/reflection/internal/def_builder.h', + 'third_party/upb/upb/reflection/internal/def_pool.h', + 'third_party/upb/upb/reflection/internal/desc_state.h', + 'third_party/upb/upb/reflection/internal/enum_def.h', + 'third_party/upb/upb/reflection/internal/enum_reserved_range.h', + 'third_party/upb/upb/reflection/internal/enum_value_def.h', + 'third_party/upb/upb/reflection/internal/extension_range.h', + 'third_party/upb/upb/reflection/internal/field_def.h', + 'third_party/upb/upb/reflection/internal/file_def.h', + 'third_party/upb/upb/reflection/internal/message_def.h', + 'third_party/upb/upb/reflection/internal/message_reserved_range.h', + 'third_party/upb/upb/reflection/internal/method_def.h', + 'third_party/upb/upb/reflection/internal/oneof_def.h', + 'third_party/upb/upb/reflection/internal/service_def.h', + 'third_party/upb/upb/reflection/internal/strdup2.h', 'third_party/upb/upb/reflection/message.h', 'third_party/upb/upb/reflection/message.hpp', 'third_party/upb/upb/reflection/message_def.h', - 'third_party/upb/upb/reflection/message_def_internal.h', 'third_party/upb/upb/reflection/message_reserved_range.h', - 'third_party/upb/upb/reflection/message_reserved_range_internal.h', 'third_party/upb/upb/reflection/method_def.h', - 'third_party/upb/upb/reflection/method_def_internal.h', 'third_party/upb/upb/reflection/oneof_def.h', - 'third_party/upb/upb/reflection/oneof_def_internal.h', 'third_party/upb/upb/reflection/service_def.h', - 'third_party/upb/upb/reflection/service_def_internal.h', - 'third_party/upb/upb/status.h', - 'third_party/upb/upb/string_view.h', 'third_party/upb/upb/text/encode.h', - 'third_party/upb/upb/text_encode.h', - 'third_party/upb/upb/upb.h', - 'third_party/upb/upb/upb.hpp', - 'third_party/upb/upb/wire/common.h', - 'third_party/upb/upb/wire/common_internal.h', 'third_party/upb/upb/wire/decode.h', 'third_party/upb/upb/wire/decode_fast.h', - 'third_party/upb/upb/wire/decode_internal.h', 'third_party/upb/upb/wire/encode.h', 'third_party/upb/upb/wire/eps_copy_input_stream.h', + 'third_party/upb/upb/wire/internal/constants.h', + 'third_party/upb/upb/wire/internal/decode.h', + 'third_party/upb/upb/wire/internal/swap.h', 'third_party/upb/upb/wire/reader.h', - 'third_party/upb/upb/wire/swap_internal.h', 'third_party/upb/upb/wire/types.h', 'third_party/utf8_range/utf8_range.h', 'third_party/xxhash/xxhash.h', @@ -3108,6 +3524,7 @@ Pod::Spec.new do |s| ss.dependency "#{s.name}/Interface", version ss.dependency "#{s.name}/Implementation", version + ss.dependency "#{s.name}/Privacy", version ss.dependency "#{s.name}/Cronet-Interface", version ss.source_files = 'src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc', diff --git a/gRPC-ProtoRPC.podspec b/gRPC-ProtoRPC.podspec index 564bb79d314..c5dba8b3efd 100644 --- a/gRPC-ProtoRPC.podspec +++ b/gRPC-ProtoRPC.podspec @@ -21,7 +21,7 @@ Pod::Spec.new do |s| s.name = 'gRPC-ProtoRPC' - version = '1.59.0-dev' + version = '1.63.0-dev' s.version = version s.summary = 'RPC library for Protocol Buffers, based on gRPC' s.homepage = 'https://grpc.io' diff --git a/gRPC-RxLibrary.podspec b/gRPC-RxLibrary.podspec index 67c3b5f0a7c..558dcda0278 100644 --- a/gRPC-RxLibrary.podspec +++ b/gRPC-RxLibrary.podspec @@ -21,7 +21,7 @@ Pod::Spec.new do |s| s.name = 'gRPC-RxLibrary' - version = '1.59.0-dev' + version = '1.63.0-dev' s.version = version s.summary = 'Reactive Extensions library for iOS/OSX.' s.homepage = 'https://grpc.io' diff --git a/gRPC.podspec b/gRPC.podspec index 5861046af8b..f60642522d2 100644 --- a/gRPC.podspec +++ b/gRPC.podspec @@ -20,7 +20,7 @@ Pod::Spec.new do |s| s.name = 'gRPC' - version = '1.59.0-dev' + version = '1.63.0-dev' s.version = version s.summary = 'gRPC client library for iOS/OSX' s.homepage = 'https://grpc.io' @@ -50,6 +50,14 @@ Pod::Spec.new do |s| s.tvos.deployment_target = '12.0' s.watchos.deployment_target = '6.0' + # Exposes the privacy manifest. Depended on by any subspecs containing + # non-interface files. + s.subspec 'Privacy' do |ss| + ss.resource_bundles = { + s.module_name => 'src/objective-c/PrivacyInfo.xcprivacy' + } + end + s.subspec 'Interface-Legacy' do |ss| ss.header_mappings_dir = 'src/objective-c/GRPCClient' @@ -68,9 +76,9 @@ Pod::Spec.new do |s| "src/objective-c/GRPCClient/GRPCCall+Tests.h", "src/objective-c/GRPCClient/GRPCCallLegacy.h", "src/objective-c/GRPCClient/GRPCTypes.h", - "src/objective-c/GRPCClient/GRPCTypes.m" + "src/objective-c/GRPCClient/GRPCTypes.mm" ss.dependency "gRPC-RxLibrary/Interface", version - + ss.dependency "#{s.name}/Privacy", version s.ios.deployment_target = '10.0' s.osx.deployment_target = '10.12' s.tvos.deployment_target = '12.0' @@ -89,23 +97,23 @@ Pod::Spec.new do |s| 'src/objective-c/GRPCClient/version.h' ss.source_files = 'src/objective-c/GRPCClient/GRPCCall.h', - 'src/objective-c/GRPCClient/GRPCCall.m', + 'src/objective-c/GRPCClient/GRPCCall.mm', 'src/objective-c/GRPCClient/GRPCCall+Interceptor.h', - 'src/objective-c/GRPCClient/GRPCCall+Interceptor.m', + 'src/objective-c/GRPCClient/GRPCCall+Interceptor.mm', 'src/objective-c/GRPCClient/GRPCCallOptions.h', - 'src/objective-c/GRPCClient/GRPCCallOptions.m', + 'src/objective-c/GRPCClient/GRPCCallOptions.mm', 'src/objective-c/GRPCClient/GRPCDispatchable.h', 'src/objective-c/GRPCClient/GRPCInterceptor.h', - 'src/objective-c/GRPCClient/GRPCInterceptor.m', + 'src/objective-c/GRPCClient/GRPCInterceptor.mm', 'src/objective-c/GRPCClient/GRPCTransport.h', - 'src/objective-c/GRPCClient/GRPCTransport.m', + 'src/objective-c/GRPCClient/GRPCTransport.mm', 'src/objective-c/GRPCClient/internal/*.h', 'src/objective-c/GRPCClient/private/GRPCTransport+Private.h', - 'src/objective-c/GRPCClient/private/GRPCTransport+Private.m', + 'src/objective-c/GRPCClient/private/GRPCTransport+Private.mm', 'src/objective-c/GRPCClient/version.h' ss.dependency "#{s.name}/Interface-Legacy", version - + ss.dependency "#{s.name}/Privacy", version s.ios.deployment_target = '10.0' s.osx.deployment_target = '10.12' s.tvos.deployment_target = '12.0' @@ -121,24 +129,25 @@ Pod::Spec.new do |s| 'src/objective-c/GRPCClient/GRPCCall+Tests.h', 'src/objective-c/GRPCClient/GRPCCall+ChannelArg.h' ss.private_header_files = 'src/objective-c/GRPCClient/private/GRPCCore/*.h' - ss.source_files = 'src/objective-c/GRPCClient/private/GRPCCore/*.{h,m}', + ss.source_files = 'src/objective-c/GRPCClient/private/GRPCCore/*.{h,mm}', 'src/objective-c/GRPCClient/GRPCCall+ChannelArg.h', - 'src/objective-c/GRPCClient/GRPCCall+ChannelArg.m', + 'src/objective-c/GRPCClient/GRPCCall+ChannelArg.mm', 'src/objective-c/GRPCClient/GRPCCall+ChannelCredentials.h', - 'src/objective-c/GRPCClient/GRPCCall+ChannelCredentials.m', + 'src/objective-c/GRPCClient/GRPCCall+ChannelCredentials.mm', 'src/objective-c/GRPCClient/GRPCCall+Cronet.h', - 'src/objective-c/GRPCClient/GRPCCall+Cronet.m', + 'src/objective-c/GRPCClient/GRPCCall+Cronet.mm', 'src/objective-c/GRPCClient/GRPCCall+OAuth2.h', - 'src/objective-c/GRPCClient/GRPCCall+OAuth2.m', + 'src/objective-c/GRPCClient/GRPCCall+OAuth2.mm', 'src/objective-c/GRPCClient/GRPCCall+Tests.h', - 'src/objective-c/GRPCClient/GRPCCall+Tests.m', - 'src/objective-c/GRPCClient/GRPCCallLegacy.m' + 'src/objective-c/GRPCClient/GRPCCall+Tests.mm', + 'src/objective-c/GRPCClient/GRPCCallLegacy.mm' # Certificates, to be able to establish TLS connections: ss.resource_bundles = { 'gRPCCertificates' => ['etc/roots.pem'] } ss.dependency "#{s.name}/Interface-Legacy", version ss.dependency "#{s.name}/Interface", version + ss.dependency "#{s.name}/Privacy", version ss.dependency 'gRPC-Core', version ss.dependency 'gRPC-RxLibrary', version @@ -152,9 +161,10 @@ Pod::Spec.new do |s| ss.header_mappings_dir = 'src/objective-c/GRPCClient' ss.source_files = 'src/objective-c/GRPCClient/GRPCCall+Cronet.h', - 'src/objective-c/GRPCClient/GRPCCall+Cronet.m', - 'src/objective-c/GRPCClient/private/GRPCCore/GRPCCoreCronet/*.{h,m}' + 'src/objective-c/GRPCClient/GRPCCall+Cronet.mm', + 'src/objective-c/GRPCClient/private/GRPCCore/GRPCCoreCronet/*.{h,mm}' ss.dependency "#{s.name}/GRPCCore", version + ss.dependency "#{s.name}/Privacy", version ss.dependency 'gRPC-Core/Cronet-Implementation', version ss.dependency 'CronetFramework' @@ -174,7 +184,7 @@ Pod::Spec.new do |s| s.subspec 'InternalTesting' do |ss| ss.dependency "#{s.name}/GRPCCore", version ss.public_header_files = 'src/objective-c/GRPCClient/internal_testing/*.h' - ss.source_files = 'src/objective-c/GRPCClient/internal_testing/*.{h,m}' + ss.source_files = 'src/objective-c/GRPCClient/internal_testing/*.{h,mm}' ss.header_mappings_dir = 'src/objective-c/GRPCClient' s.ios.deployment_target = '10.0' diff --git a/grpc.def b/grpc.def index 1a82b377c68..41ad2dd61df 100644 --- a/grpc.def +++ b/grpc.def @@ -41,7 +41,6 @@ EXPORTS grpc_completion_queue_thread_local_cache_init grpc_completion_queue_thread_local_cache_flush grpc_channel_check_connectivity_state - grpc_channel_num_external_connectivity_watchers grpc_channel_watch_connectivity_state grpc_channel_support_connectivity_watcher grpc_channel_create_call @@ -157,6 +156,10 @@ EXPORTS grpc_tls_certificate_provider_file_watcher_create grpc_tls_certificate_provider_release grpc_tls_credentials_options_create + grpc_tls_credentials_options_set_min_tls_version + grpc_tls_credentials_options_set_max_tls_version + grpc_tls_credentials_options_copy + grpc_tls_credentials_options_destroy grpc_tls_credentials_options_set_certificate_provider grpc_tls_credentials_options_watch_root_certs grpc_tls_credentials_options_set_root_cert_name diff --git a/grpc.gemspec b/grpc.gemspec index 643d80bd006..c46ae2adcca 100644 --- a/grpc.gemspec +++ b/grpc.gemspec @@ -30,7 +30,7 @@ Gem::Specification.new do |s| s.require_paths = %w( src/ruby/lib src/ruby/bin src/ruby/pb ) s.platform = Gem::Platform::RUBY - s.add_dependency 'google-protobuf', '~> 3.24' + s.add_dependency 'google-protobuf', '~> 3.25' s.add_dependency 'googleapis-common-protos-types', '~> 1.0' s.add_development_dependency 'bundler', '>= 1.9' @@ -39,7 +39,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'simplecov', '~> 0.22' s.add_development_dependency 'rake', '~> 13.0' s.add_development_dependency 'rake-compiler', '~> 1.2.1' - s.add_development_dependency 'rake-compiler-dock', '~> 1.3' + s.add_development_dependency 'rake-compiler-dock', '~> 1.4' s.add_development_dependency 'rspec', '~> 3.6' s.add_development_dependency 'rubocop', '~> 1.41.0' s.add_development_dependency 'signet', '~> 0.7' @@ -53,6 +53,7 @@ Gem::Specification.new do |s| s.files += %w( include/grpc/compression.h ) s.files += %w( include/grpc/event_engine/endpoint_config.h ) s.files += %w( include/grpc/event_engine/event_engine.h ) + s.files += %w( include/grpc/event_engine/extensible.h ) s.files += %w( include/grpc/event_engine/internal/memory_allocator_impl.h ) s.files += %w( include/grpc/event_engine/internal/slice_cast.h ) s.files += %w( include/grpc/event_engine/memory_allocator.h ) @@ -63,9 +64,11 @@ Gem::Specification.new do |s| s.files += %w( include/grpc/fork.h ) s.files += %w( include/grpc/grpc.h ) s.files += %w( include/grpc/grpc_audit_logging.h ) + s.files += %w( include/grpc/grpc_crl_provider.h ) s.files += %w( include/grpc/grpc_posix.h ) s.files += %w( include/grpc/grpc_security.h ) s.files += %w( include/grpc/grpc_security_constants.h ) + s.files += %w( include/grpc/impl/call.h ) s.files += %w( include/grpc/impl/channel_arg_names.h ) s.files += %w( include/grpc/impl/codegen/atm.h ) s.files += %w( include/grpc/impl/codegen/atm_gcc_atomic.h ) @@ -118,6 +121,45 @@ Gem::Specification.new do |s| s.files += %w( include/grpc/support/thd_id.h ) s.files += %w( include/grpc/support/time.h ) s.files += %w( include/grpc/support/workaround_list.h ) + s.files += %w( src/core/client_channel/backup_poller.cc ) + s.files += %w( src/core/client_channel/backup_poller.h ) + s.files += %w( src/core/client_channel/channel_connectivity.cc ) + s.files += %w( src/core/client_channel/client_channel_channelz.cc ) + s.files += %w( src/core/client_channel/client_channel_channelz.h ) + s.files += %w( src/core/client_channel/client_channel_factory.cc ) + s.files += %w( src/core/client_channel/client_channel_factory.h ) + s.files += %w( src/core/client_channel/client_channel_filter.cc ) + s.files += %w( src/core/client_channel/client_channel_filter.h ) + s.files += %w( src/core/client_channel/client_channel_internal.h ) + s.files += %w( src/core/client_channel/client_channel_plugin.cc ) + s.files += %w( src/core/client_channel/client_channel_service_config.cc ) + s.files += %w( src/core/client_channel/client_channel_service_config.h ) + s.files += %w( src/core/client_channel/config_selector.cc ) + s.files += %w( src/core/client_channel/config_selector.h ) + s.files += %w( src/core/client_channel/connector.h ) + s.files += %w( src/core/client_channel/dynamic_filters.cc ) + s.files += %w( src/core/client_channel/dynamic_filters.h ) + s.files += %w( src/core/client_channel/global_subchannel_pool.cc ) + s.files += %w( src/core/client_channel/global_subchannel_pool.h ) + s.files += %w( src/core/client_channel/http_proxy_mapper.cc ) + s.files += %w( src/core/client_channel/http_proxy_mapper.h ) + s.files += %w( src/core/client_channel/local_subchannel_pool.cc ) + s.files += %w( src/core/client_channel/local_subchannel_pool.h ) + s.files += %w( src/core/client_channel/retry_filter.cc ) + s.files += %w( src/core/client_channel/retry_filter.h ) + s.files += %w( src/core/client_channel/retry_filter_legacy_call_data.cc ) + s.files += %w( src/core/client_channel/retry_filter_legacy_call_data.h ) + s.files += %w( src/core/client_channel/retry_service_config.cc ) + s.files += %w( src/core/client_channel/retry_service_config.h ) + s.files += %w( src/core/client_channel/retry_throttle.cc ) + s.files += %w( src/core/client_channel/retry_throttle.h ) + s.files += %w( src/core/client_channel/subchannel.cc ) + s.files += %w( src/core/client_channel/subchannel.h ) + s.files += %w( src/core/client_channel/subchannel_interface_internal.h ) + s.files += %w( src/core/client_channel/subchannel_pool_interface.cc ) + s.files += %w( src/core/client_channel/subchannel_pool_interface.h ) + s.files += %w( src/core/client_channel/subchannel_stream_client.cc ) + s.files += %w( src/core/client_channel/subchannel_stream_client.h ) s.files += %w( src/core/ext/filters/backend_metrics/backend_metric_filter.cc ) s.files += %w( src/core/ext/filters/backend_metrics/backend_metric_filter.h ) s.files += %w( src/core/ext/filters/backend_metrics/backend_metric_provider.h ) @@ -126,119 +168,8 @@ Gem::Specification.new do |s| s.files += %w( src/core/ext/filters/channel_idle/channel_idle_filter.h ) s.files += %w( src/core/ext/filters/channel_idle/idle_filter_state.cc ) s.files += %w( src/core/ext/filters/channel_idle/idle_filter_state.h ) - s.files += %w( src/core/ext/filters/client_channel/backend_metric.cc ) - s.files += %w( src/core/ext/filters/client_channel/backend_metric.h ) - s.files += %w( src/core/ext/filters/client_channel/backup_poller.cc ) - s.files += %w( src/core/ext/filters/client_channel/backup_poller.h ) - s.files += %w( src/core/ext/filters/client_channel/channel_connectivity.cc ) - s.files += %w( src/core/ext/filters/client_channel/client_channel.cc ) - s.files += %w( src/core/ext/filters/client_channel/client_channel.h ) - s.files += %w( src/core/ext/filters/client_channel/client_channel_channelz.cc ) - s.files += %w( src/core/ext/filters/client_channel/client_channel_channelz.h ) - s.files += %w( src/core/ext/filters/client_channel/client_channel_factory.cc ) - s.files += %w( src/core/ext/filters/client_channel/client_channel_factory.h ) - s.files += %w( src/core/ext/filters/client_channel/client_channel_internal.h ) - s.files += %w( src/core/ext/filters/client_channel/client_channel_plugin.cc ) - s.files += %w( src/core/ext/filters/client_channel/client_channel_service_config.cc ) - s.files += %w( src/core/ext/filters/client_channel/client_channel_service_config.h ) - s.files += %w( src/core/ext/filters/client_channel/config_selector.cc ) - s.files += %w( src/core/ext/filters/client_channel/config_selector.h ) - s.files += %w( src/core/ext/filters/client_channel/connector.h ) - s.files += %w( src/core/ext/filters/client_channel/dynamic_filters.cc ) - s.files += %w( src/core/ext/filters/client_channel/dynamic_filters.h ) - s.files += %w( src/core/ext/filters/client_channel/global_subchannel_pool.cc ) - s.files += %w( src/core/ext/filters/client_channel/global_subchannel_pool.h ) - s.files += %w( src/core/ext/filters/client_channel/http_proxy_mapper.cc ) - s.files += %w( src/core/ext/filters/client_channel/http_proxy_mapper.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/address_filtering.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/address_filtering.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/endpoint_list.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/health_check_client.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/health_check_client.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/priority/priority.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/rls/rls.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/subchannel_list.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/xds/cds.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h ) - s.files += %w( src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc ) - s.files += %w( src/core/ext/filters/client_channel/local_subchannel_pool.cc ) - s.files += %w( src/core/ext/filters/client_channel/local_subchannel_pool.h ) - s.files += %w( src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h ) - s.files += %w( src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h ) - s.files += %w( src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/polling_resolver.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/polling_resolver.h ) - s.files += %w( src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc ) - s.files += %w( src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h ) - s.files += %w( src/core/ext/filters/client_channel/retry_filter.cc ) - s.files += %w( src/core/ext/filters/client_channel/retry_filter.h ) - s.files += %w( src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc ) - s.files += %w( src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h ) - s.files += %w( src/core/ext/filters/client_channel/retry_service_config.cc ) - s.files += %w( src/core/ext/filters/client_channel/retry_service_config.h ) - s.files += %w( src/core/ext/filters/client_channel/retry_throttle.cc ) - s.files += %w( src/core/ext/filters/client_channel/retry_throttle.h ) - s.files += %w( src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc ) - s.files += %w( src/core/ext/filters/client_channel/subchannel.cc ) - s.files += %w( src/core/ext/filters/client_channel/subchannel.h ) - s.files += %w( src/core/ext/filters/client_channel/subchannel_interface_internal.h ) - s.files += %w( src/core/ext/filters/client_channel/subchannel_pool_interface.cc ) - s.files += %w( src/core/ext/filters/client_channel/subchannel_pool_interface.h ) - s.files += %w( src/core/ext/filters/client_channel/subchannel_stream_client.cc ) - s.files += %w( src/core/ext/filters/client_channel/subchannel_stream_client.h ) + s.files += %w( src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc ) + s.files += %w( src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h ) s.files += %w( src/core/ext/filters/deadline/deadline_filter.cc ) s.files += %w( src/core/ext/filters/deadline/deadline_filter.h ) s.files += %w( src/core/ext/filters/fault_injection/fault_injection_filter.cc ) @@ -252,6 +183,8 @@ Gem::Specification.new do |s| s.files += %w( src/core/ext/filters/http/http_filters_plugin.cc ) s.files += %w( src/core/ext/filters/http/message_compress/compression_filter.cc ) s.files += %w( src/core/ext/filters/http/message_compress/compression_filter.h ) + s.files += %w( src/core/ext/filters/http/message_compress/legacy_compression_filter.cc ) + s.files += %w( src/core/ext/filters/http/message_compress/legacy_compression_filter.h ) s.files += %w( src/core/ext/filters/http/server/http_server_filter.cc ) s.files += %w( src/core/ext/filters/http/server/http_server_filter.h ) s.files += %w( src/core/ext/filters/message_size/message_size_filter.cc ) @@ -286,6 +219,8 @@ Gem::Specification.new do |s| s.files += %w( src/core/ext/transport/chttp2/transport/decode_huff.h ) s.files += %w( src/core/ext/transport/chttp2/transport/flow_control.cc ) s.files += %w( src/core/ext/transport/chttp2/transport/flow_control.h ) + s.files += %w( src/core/ext/transport/chttp2/transport/frame.cc ) + s.files += %w( src/core/ext/transport/chttp2/transport/frame.h ) s.files += %w( src/core/ext/transport/chttp2/transport/frame_data.cc ) s.files += %w( src/core/ext/transport/chttp2/transport/frame_data.h ) s.files += %w( src/core/ext/transport/chttp2/transport/frame_goaway.cc ) @@ -317,644 +252,825 @@ Gem::Specification.new do |s| s.files += %w( src/core/ext/transport/chttp2/transport/huffsyms.h ) s.files += %w( src/core/ext/transport/chttp2/transport/internal.h ) s.files += %w( src/core/ext/transport/chttp2/transport/legacy_frame.h ) + s.files += %w( src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc ) + s.files += %w( src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h ) s.files += %w( src/core/ext/transport/chttp2/transport/parsing.cc ) s.files += %w( src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc ) s.files += %w( src/core/ext/transport/chttp2/transport/ping_abuse_policy.h ) + s.files += %w( src/core/ext/transport/chttp2/transport/ping_callbacks.cc ) + s.files += %w( src/core/ext/transport/chttp2/transport/ping_callbacks.h ) s.files += %w( src/core/ext/transport/chttp2/transport/ping_rate_policy.cc ) s.files += %w( src/core/ext/transport/chttp2/transport/ping_rate_policy.h ) s.files += %w( src/core/ext/transport/chttp2/transport/stream_lists.cc ) s.files += %w( src/core/ext/transport/chttp2/transport/varint.cc ) s.files += %w( src/core/ext/transport/chttp2/transport/varint.h ) + s.files += %w( src/core/ext/transport/chttp2/transport/write_size_policy.cc ) + s.files += %w( src/core/ext/transport/chttp2/transport/write_size_policy.h ) s.files += %w( src/core/ext/transport/chttp2/transport/writing.cc ) s.files += %w( src/core/ext/transport/inproc/inproc_plugin.cc ) s.files += %w( src/core/ext/transport/inproc/inproc_transport.cc ) s.files += %w( src/core/ext/transport/inproc/inproc_transport.h ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/annotations/resource.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/annotations/resource.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/http.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/http.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/percent.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/percent.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/range.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/range.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c ) - s.files += %w( src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h ) - s.files += %w( src/core/ext/upb-generated/google/api/annotations.upb.c ) - s.files += %w( src/core/ext/upb-generated/google/api/annotations.upb.h ) - s.files += %w( src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c ) - s.files += %w( src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h ) - s.files += %w( src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c ) - s.files += %w( src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h ) - s.files += %w( src/core/ext/upb-generated/google/api/http.upb.c ) - s.files += %w( src/core/ext/upb-generated/google/api/http.upb.h ) - s.files += %w( src/core/ext/upb-generated/google/api/httpbody.upb.c ) - s.files += %w( src/core/ext/upb-generated/google/api/httpbody.upb.h ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/any.upb.c ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/any.upb.h ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/descriptor.upb.c ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/descriptor.upb.h ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/duration.upb.c ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/duration.upb.h ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/empty.upb.c ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/empty.upb.h ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/struct.upb.c ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/struct.upb.h ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/timestamp.upb.c ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/timestamp.upb.h ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/wrappers.upb.c ) - s.files += %w( src/core/ext/upb-generated/google/protobuf/wrappers.upb.h ) - s.files += %w( src/core/ext/upb-generated/google/rpc/status.upb.c ) - s.files += %w( src/core/ext/upb-generated/google/rpc/status.upb.h ) - s.files += %w( src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c ) - s.files += %w( src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c ) - s.files += %w( src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h ) - s.files += %w( src/core/ext/upb-generated/udpa/annotations/migrate.upb.c ) - s.files += %w( src/core/ext/upb-generated/udpa/annotations/migrate.upb.h ) - s.files += %w( src/core/ext/upb-generated/udpa/annotations/security.upb.c ) - s.files += %w( src/core/ext/upb-generated/udpa/annotations/security.upb.h ) - s.files += %w( src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c ) - s.files += %w( src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h ) - s.files += %w( src/core/ext/upb-generated/udpa/annotations/status.upb.c ) - s.files += %w( src/core/ext/upb-generated/udpa/annotations/status.upb.h ) - s.files += %w( src/core/ext/upb-generated/udpa/annotations/versioning.upb.c ) - s.files += %w( src/core/ext/upb-generated/udpa/annotations/versioning.upb.h ) - s.files += %w( src/core/ext/upb-generated/validate/validate.upb.c ) - s.files += %w( src/core/ext/upb-generated/validate/validate.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/annotations/v3/security.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/annotations/v3/security.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/annotations/v3/status.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/annotations/v3/status.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/authority.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/authority.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/cidr.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/cidr.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/context_params.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/context_params.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/extension.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/extension.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/resource.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/resource.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/type/v3/cel.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/type/v3/cel.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/type/v3/range.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/type/v3/range.upb.h ) - s.files += %w( src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c ) - s.files += %w( src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/google/api/http.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/google/api/http.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/validate/validate.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/validate/validate.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c ) - s.files += %w( src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h ) + s.files += %w( src/core/ext/transport/inproc/legacy_inproc_transport.cc ) + s.files += %w( src/core/ext/transport/inproc/legacy_inproc_transport.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/annotations/resource.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/http.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/percent.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/range.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/google/api/annotations.upb.h ) + s.files += %w( src/core/ext/upb-gen/google/api/annotations.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/google/api/annotations.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h ) + s.files += %w( src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h ) + s.files += %w( src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/google/api/http.upb.h ) + s.files += %w( src/core/ext/upb-gen/google/api/http.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/google/api/http.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/google/api/httpbody.upb.h ) + s.files += %w( src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/any.upb.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/descriptor.upb.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/duration.upb.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/empty.upb.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/struct.upb.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/timestamp.upb.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/wrappers.upb.h ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/google/rpc/status.upb.h ) + s.files += %w( src/core/ext/upb-gen/google/rpc/status.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/google/rpc/status.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h ) + s.files += %w( src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/migrate.upb.h ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/security.upb.h ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/status.upb.h ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/versioning.upb.h ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/validate/validate.upb.h ) + s.files += %w( src/core/ext/upb-gen/validate/validate.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/validate/validate.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/security.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/status.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/authority.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/cidr.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/context_params.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/extension.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/resource.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/v3/cel.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/v3/range.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h ) + s.files += %w( src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c ) + s.files += %w( src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/google/api/http.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/google/api/http.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/validate/validate.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/validate/validate.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c ) + s.files += %w( src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h ) s.files += %w( src/core/ext/xds/certificate_provider_store.cc ) s.files += %w( src/core/ext/xds/certificate_provider_store.h ) s.files += %w( src/core/ext/xds/file_watcher_certificate_provider_factory.cc ) @@ -1034,6 +1150,8 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/channel/channel_stack_builder.h ) s.files += %w( src/core/lib/channel/channel_stack_builder_impl.cc ) s.files += %w( src/core/lib/channel/channel_stack_builder_impl.h ) + s.files += %w( src/core/lib/channel/channel_stack_trace.cc ) + s.files += %w( src/core/lib/channel/channel_stack_trace.h ) s.files += %w( src/core/lib/channel/channel_trace.cc ) s.files += %w( src/core/lib/channel/channel_trace.h ) s.files += %w( src/core/lib/channel/channelz.cc ) @@ -1048,6 +1166,7 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/channel/server_call_tracer_filter.cc ) s.files += %w( src/core/lib/channel/status_util.cc ) s.files += %w( src/core/lib/channel/status_util.h ) + s.files += %w( src/core/lib/channel/tcp_tracer.h ) s.files += %w( src/core/lib/compression/compression.cc ) s.files += %w( src/core/lib/compression/compression_internal.cc ) s.files += %w( src/core/lib/compression/compression_internal.h ) @@ -1087,11 +1206,12 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/event_engine/default_event_engine_factory.cc ) s.files += %w( src/core/lib/event_engine/default_event_engine_factory.h ) s.files += %w( src/core/lib/event_engine/event_engine.cc ) + s.files += %w( src/core/lib/event_engine/extensions/can_track_errors.h ) + s.files += %w( src/core/lib/event_engine/extensions/supports_fd.h ) s.files += %w( src/core/lib/event_engine/forkable.cc ) s.files += %w( src/core/lib/event_engine/forkable.h ) s.files += %w( src/core/lib/event_engine/grpc_polled_fd.h ) s.files += %w( src/core/lib/event_engine/handle_containers.h ) - s.files += %w( src/core/lib/event_engine/memory_allocator.cc ) s.files += %w( src/core/lib/event_engine/memory_allocator_factory.h ) s.files += %w( src/core/lib/event_engine/nameser.h ) s.files += %w( src/core/lib/event_engine/poller.h ) @@ -1108,6 +1228,8 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/event_engine/posix_engine/internal_errqueue.h ) s.files += %w( src/core/lib/event_engine/posix_engine/lockfree_event.cc ) s.files += %w( src/core/lib/event_engine/posix_engine/lockfree_event.h ) + s.files += %w( src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc ) + s.files += %w( src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h ) s.files += %w( src/core/lib/event_engine/posix_engine/posix_endpoint.cc ) s.files += %w( src/core/lib/event_engine/posix_engine/posix_endpoint.h ) s.files += %w( src/core/lib/event_engine/posix_engine/posix_engine.cc ) @@ -1134,6 +1256,8 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h ) s.files += %w( src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc ) s.files += %w( src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h ) + s.files += %w( src/core/lib/event_engine/query_extensions.h ) + s.files += %w( src/core/lib/event_engine/ref_counted_dns_resolver_interface.h ) s.files += %w( src/core/lib/event_engine/resolved_address.cc ) s.files += %w( src/core/lib/event_engine/resolved_address_internal.h ) s.files += %w( src/core/lib/event_engine/shim.cc ) @@ -1158,8 +1282,12 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/event_engine/trace.h ) s.files += %w( src/core/lib/event_engine/utils.cc ) s.files += %w( src/core/lib/event_engine/utils.h ) + s.files += %w( src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc ) + s.files += %w( src/core/lib/event_engine/windows/grpc_polled_fd_windows.h ) s.files += %w( src/core/lib/event_engine/windows/iocp.cc ) s.files += %w( src/core/lib/event_engine/windows/iocp.h ) + s.files += %w( src/core/lib/event_engine/windows/native_windows_dns_resolver.cc ) + s.files += %w( src/core/lib/event_engine/windows/native_windows_dns_resolver.h ) s.files += %w( src/core/lib/event_engine/windows/win_socket.cc ) s.files += %w( src/core/lib/event_engine/windows/win_socket.h ) s.files += %w( src/core/lib/event_engine/windows/windows_endpoint.cc ) @@ -1208,7 +1336,6 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/gpr/windows/sync.cc ) s.files += %w( src/core/lib/gpr/windows/time.cc ) s.files += %w( src/core/lib/gpr/windows/tmpfile.cc ) - s.files += %w( src/core/lib/gpr/wrap_memcpy.cc ) s.files += %w( src/core/lib/gprpp/atomic_utils.h ) s.files += %w( src/core/lib/gprpp/bitset.h ) s.files += %w( src/core/lib/gprpp/chunked_vector.h ) @@ -1217,6 +1344,8 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/gprpp/crash.cc ) s.files += %w( src/core/lib/gprpp/crash.h ) s.files += %w( src/core/lib/gprpp/debug_location.h ) + s.files += %w( src/core/lib/gprpp/directory_reader.h ) + s.files += %w( src/core/lib/gprpp/down_cast.h ) s.files += %w( src/core/lib/gprpp/dual_ref_counted.h ) s.files += %w( src/core/lib/gprpp/env.h ) s.files += %w( src/core/lib/gprpp/examine_stack.cc ) @@ -1241,6 +1370,7 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/gprpp/packed_table.h ) s.files += %w( src/core/lib/gprpp/per_cpu.cc ) s.files += %w( src/core/lib/gprpp/per_cpu.h ) + s.files += %w( src/core/lib/gprpp/posix/directory_reader.cc ) s.files += %w( src/core/lib/gprpp/posix/env.cc ) s.files += %w( src/core/lib/gprpp/posix/stat.cc ) s.files += %w( src/core/lib/gprpp/posix/thd.cc ) @@ -1270,11 +1400,13 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/gprpp/unique_type_name.h ) s.files += %w( src/core/lib/gprpp/validation_errors.cc ) s.files += %w( src/core/lib/gprpp/validation_errors.h ) + s.files += %w( src/core/lib/gprpp/windows/directory_reader.cc ) s.files += %w( src/core/lib/gprpp/windows/env.cc ) s.files += %w( src/core/lib/gprpp/windows/stat.cc ) s.files += %w( src/core/lib/gprpp/windows/thd.cc ) s.files += %w( src/core/lib/gprpp/work_serializer.cc ) s.files += %w( src/core/lib/gprpp/work_serializer.h ) + s.files += %w( src/core/lib/gprpp/xxhash_inline.h ) s.files += %w( src/core/lib/handshaker/proxy_mapper.h ) s.files += %w( src/core/lib/handshaker/proxy_mapper_registry.cc ) s.files += %w( src/core/lib/handshaker/proxy_mapper_registry.h ) @@ -1350,8 +1482,6 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/iomgr/iomgr_posix.cc ) s.files += %w( src/core/lib/iomgr/iomgr_posix_cfstream.cc ) s.files += %w( src/core/lib/iomgr/iomgr_windows.cc ) - s.files += %w( src/core/lib/iomgr/load_file.cc ) - s.files += %w( src/core/lib/iomgr/load_file.h ) s.files += %w( src/core/lib/iomgr/lockfree_event.cc ) s.files += %w( src/core/lib/iomgr/lockfree_event.h ) s.files += %w( src/core/lib/iomgr/nameser.h ) @@ -1441,21 +1571,16 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/json/json_util.h ) s.files += %w( src/core/lib/json/json_writer.cc ) s.files += %w( src/core/lib/json/json_writer.h ) - s.files += %w( src/core/lib/load_balancing/delegating_helper.h ) - s.files += %w( src/core/lib/load_balancing/lb_policy.cc ) - s.files += %w( src/core/lib/load_balancing/lb_policy.h ) - s.files += %w( src/core/lib/load_balancing/lb_policy_factory.h ) - s.files += %w( src/core/lib/load_balancing/lb_policy_registry.cc ) - s.files += %w( src/core/lib/load_balancing/lb_policy_registry.h ) - s.files += %w( src/core/lib/load_balancing/subchannel_interface.h ) s.files += %w( src/core/lib/matchers/matchers.cc ) s.files += %w( src/core/lib/matchers/matchers.h ) s.files += %w( src/core/lib/promise/activity.cc ) s.files += %w( src/core/lib/promise/activity.h ) + s.files += %w( src/core/lib/promise/all_ok.h ) s.files += %w( src/core/lib/promise/arena_promise.h ) s.files += %w( src/core/lib/promise/cancel_callback.h ) s.files += %w( src/core/lib/promise/context.h ) s.files += %w( src/core/lib/promise/detail/basic_seq.h ) + s.files += %w( src/core/lib/promise/detail/join_state.h ) s.files += %w( src/core/lib/promise/detail/promise_factory.h ) s.files += %w( src/core/lib/promise/detail/promise_like.h ) s.files += %w( src/core/lib/promise/detail/seq_state.h ) @@ -1477,16 +1602,11 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/promise/seq.h ) s.files += %w( src/core/lib/promise/sleep.cc ) s.files += %w( src/core/lib/promise/sleep.h ) + s.files += %w( src/core/lib/promise/status_flag.h ) s.files += %w( src/core/lib/promise/trace.cc ) s.files += %w( src/core/lib/promise/trace.h ) + s.files += %w( src/core/lib/promise/try_join.h ) s.files += %w( src/core/lib/promise/try_seq.h ) - s.files += %w( src/core/lib/resolver/resolver.cc ) - s.files += %w( src/core/lib/resolver/resolver.h ) - s.files += %w( src/core/lib/resolver/resolver_factory.h ) - s.files += %w( src/core/lib/resolver/resolver_registry.cc ) - s.files += %w( src/core/lib/resolver/resolver_registry.h ) - s.files += %w( src/core/lib/resolver/server_address.cc ) - s.files += %w( src/core/lib/resolver/server_address.h ) s.files += %w( src/core/lib/resource_quota/api.cc ) s.files += %w( src/core/lib/resource_quota/api.h ) s.files += %w( src/core/lib/resource_quota/arena.cc ) @@ -1584,6 +1704,8 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h ) s.files += %w( src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc ) s.files += %w( src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h ) + s.files += %w( src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc ) + s.files += %w( src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h ) s.files += %w( src/core/lib/security/credentials/tls/tls_credentials.cc ) s.files += %w( src/core/lib/security/credentials/tls/tls_credentials.h ) s.files += %w( src/core/lib/security/credentials/tls/tls_utils.cc ) @@ -1600,6 +1722,7 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/security/security_connector/load_system_roots_fallback.cc ) s.files += %w( src/core/lib/security/security_connector/load_system_roots_supported.cc ) s.files += %w( src/core/lib/security/security_connector/load_system_roots_supported.h ) + s.files += %w( src/core/lib/security/security_connector/load_system_roots_windows.cc ) s.files += %w( src/core/lib/security/security_connector/local/local_security_connector.cc ) s.files += %w( src/core/lib/security/security_connector/local/local_security_connector.h ) s.files += %w( src/core/lib/security/security_connector/security_connector.cc ) @@ -1612,6 +1735,7 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/security/security_connector/tls/tls_security_connector.h ) s.files += %w( src/core/lib/security/transport/auth_filters.h ) s.files += %w( src/core/lib/security/transport/client_auth_filter.cc ) + s.files += %w( src/core/lib/security/transport/legacy_server_auth_filter.cc ) s.files += %w( src/core/lib/security/transport/secure_endpoint.cc ) s.files += %w( src/core/lib/security/transport/secure_endpoint.h ) s.files += %w( src/core/lib/security/transport/security_handshaker.cc ) @@ -1621,12 +1745,6 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/security/transport/tsi_error.h ) s.files += %w( src/core/lib/security/util/json_util.cc ) s.files += %w( src/core/lib/security/util/json_util.h ) - s.files += %w( src/core/lib/service_config/service_config.h ) - s.files += %w( src/core/lib/service_config/service_config_call_data.h ) - s.files += %w( src/core/lib/service_config/service_config_impl.cc ) - s.files += %w( src/core/lib/service_config/service_config_impl.h ) - s.files += %w( src/core/lib/service_config/service_config_parser.cc ) - s.files += %w( src/core/lib/service_config/service_config_parser.h ) s.files += %w( src/core/lib/slice/b64.cc ) s.files += %w( src/core/lib/slice/b64.h ) s.files += %w( src/core/lib/slice/percent_encoding.cc ) @@ -1651,7 +1769,6 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/surface/call_details.cc ) s.files += %w( src/core/lib/surface/call_log_batch.cc ) s.files += %w( src/core/lib/surface/call_test_only.h ) - s.files += %w( src/core/lib/surface/call_trace.cc ) s.files += %w( src/core/lib/surface/call_trace.h ) s.files += %w( src/core/lib/surface/channel.cc ) s.files += %w( src/core/lib/surface/channel.h ) @@ -1678,10 +1795,22 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/surface/validate_metadata.cc ) s.files += %w( src/core/lib/surface/validate_metadata.h ) s.files += %w( src/core/lib/surface/version.cc ) + s.files += %w( src/core/lib/surface/wait_for_cq_end_op.cc ) + s.files += %w( src/core/lib/surface/wait_for_cq_end_op.h ) s.files += %w( src/core/lib/transport/batch_builder.cc ) s.files += %w( src/core/lib/transport/batch_builder.h ) s.files += %w( src/core/lib/transport/bdp_estimator.cc ) s.files += %w( src/core/lib/transport/bdp_estimator.h ) + s.files += %w( src/core/lib/transport/call_factory.cc ) + s.files += %w( src/core/lib/transport/call_factory.h ) + s.files += %w( src/core/lib/transport/call_filters.cc ) + s.files += %w( src/core/lib/transport/call_filters.h ) + s.files += %w( src/core/lib/transport/call_final_info.cc ) + s.files += %w( src/core/lib/transport/call_final_info.h ) + s.files += %w( src/core/lib/transport/call_size_estimator.cc ) + s.files += %w( src/core/lib/transport/call_size_estimator.h ) + s.files += %w( src/core/lib/transport/call_spine.cc ) + s.files += %w( src/core/lib/transport/call_spine.h ) s.files += %w( src/core/lib/transport/connectivity_state.cc ) s.files += %w( src/core/lib/transport/connectivity_state.h ) s.files += %w( src/core/lib/transport/custom_metadata.h ) @@ -1695,13 +1824,15 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/transport/http2_errors.h ) s.files += %w( src/core/lib/transport/http_connect_handshaker.cc ) s.files += %w( src/core/lib/transport/http_connect_handshaker.h ) + s.files += %w( src/core/lib/transport/message.cc ) + s.files += %w( src/core/lib/transport/message.h ) + s.files += %w( src/core/lib/transport/metadata.cc ) + s.files += %w( src/core/lib/transport/metadata.h ) s.files += %w( src/core/lib/transport/metadata_batch.cc ) s.files += %w( src/core/lib/transport/metadata_batch.h ) s.files += %w( src/core/lib/transport/metadata_compression_traits.h ) s.files += %w( src/core/lib/transport/parsed_metadata.cc ) s.files += %w( src/core/lib/transport/parsed_metadata.h ) - s.files += %w( src/core/lib/transport/pid_controller.cc ) - s.files += %w( src/core/lib/transport/pid_controller.h ) s.files += %w( src/core/lib/transport/simple_slice_based_metadata.h ) s.files += %w( src/core/lib/transport/status_conversion.cc ) s.files += %w( src/core/lib/transport/status_conversion.h ) @@ -1712,12 +1843,109 @@ Gem::Specification.new do |s| s.files += %w( src/core/lib/transport/transport.cc ) s.files += %w( src/core/lib/transport/transport.h ) s.files += %w( src/core/lib/transport/transport_fwd.h ) - s.files += %w( src/core/lib/transport/transport_impl.h ) s.files += %w( src/core/lib/transport/transport_op_string.cc ) s.files += %w( src/core/lib/uri/uri_parser.cc ) s.files += %w( src/core/lib/uri/uri_parser.h ) + s.files += %w( src/core/load_balancing/address_filtering.cc ) + s.files += %w( src/core/load_balancing/address_filtering.h ) + s.files += %w( src/core/load_balancing/backend_metric_data.h ) + s.files += %w( src/core/load_balancing/backend_metric_parser.cc ) + s.files += %w( src/core/load_balancing/backend_metric_parser.h ) + s.files += %w( src/core/load_balancing/child_policy_handler.cc ) + s.files += %w( src/core/load_balancing/child_policy_handler.h ) + s.files += %w( src/core/load_balancing/delegating_helper.h ) + s.files += %w( src/core/load_balancing/endpoint_list.cc ) + s.files += %w( src/core/load_balancing/endpoint_list.h ) + s.files += %w( src/core/load_balancing/grpclb/client_load_reporting_filter.cc ) + s.files += %w( src/core/load_balancing/grpclb/client_load_reporting_filter.h ) + s.files += %w( src/core/load_balancing/grpclb/grpclb.cc ) + s.files += %w( src/core/load_balancing/grpclb/grpclb.h ) + s.files += %w( src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc ) + s.files += %w( src/core/load_balancing/grpclb/grpclb_balancer_addresses.h ) + s.files += %w( src/core/load_balancing/grpclb/grpclb_client_stats.cc ) + s.files += %w( src/core/load_balancing/grpclb/grpclb_client_stats.h ) + s.files += %w( src/core/load_balancing/grpclb/load_balancer_api.cc ) + s.files += %w( src/core/load_balancing/grpclb/load_balancer_api.h ) + s.files += %w( src/core/load_balancing/health_check_client.cc ) + s.files += %w( src/core/load_balancing/health_check_client.h ) + s.files += %w( src/core/load_balancing/health_check_client_internal.h ) + s.files += %w( src/core/load_balancing/lb_policy.cc ) + s.files += %w( src/core/load_balancing/lb_policy.h ) + s.files += %w( src/core/load_balancing/lb_policy_factory.h ) + s.files += %w( src/core/load_balancing/lb_policy_registry.cc ) + s.files += %w( src/core/load_balancing/lb_policy_registry.h ) + s.files += %w( src/core/load_balancing/oob_backend_metric.cc ) + s.files += %w( src/core/load_balancing/oob_backend_metric.h ) + s.files += %w( src/core/load_balancing/oob_backend_metric_internal.h ) + s.files += %w( src/core/load_balancing/outlier_detection/outlier_detection.cc ) + s.files += %w( src/core/load_balancing/outlier_detection/outlier_detection.h ) + s.files += %w( src/core/load_balancing/pick_first/pick_first.cc ) + s.files += %w( src/core/load_balancing/pick_first/pick_first.h ) + s.files += %w( src/core/load_balancing/priority/priority.cc ) + s.files += %w( src/core/load_balancing/ring_hash/ring_hash.cc ) + s.files += %w( src/core/load_balancing/ring_hash/ring_hash.h ) + s.files += %w( src/core/load_balancing/rls/rls.cc ) + s.files += %w( src/core/load_balancing/round_robin/round_robin.cc ) + s.files += %w( src/core/load_balancing/subchannel_interface.h ) + s.files += %w( src/core/load_balancing/subchannel_list.h ) + s.files += %w( src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc ) + s.files += %w( src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h ) + s.files += %w( src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc ) + s.files += %w( src/core/load_balancing/weighted_target/weighted_target.cc ) + s.files += %w( src/core/load_balancing/xds/cds.cc ) + s.files += %w( src/core/load_balancing/xds/xds_channel_args.h ) + s.files += %w( src/core/load_balancing/xds/xds_cluster_impl.cc ) + s.files += %w( src/core/load_balancing/xds/xds_cluster_manager.cc ) + s.files += %w( src/core/load_balancing/xds/xds_override_host.cc ) + s.files += %w( src/core/load_balancing/xds/xds_override_host.h ) + s.files += %w( src/core/load_balancing/xds/xds_wrr_locality.cc ) s.files += %w( src/core/plugin_registry/grpc_plugin_registry.cc ) s.files += %w( src/core/plugin_registry/grpc_plugin_registry_extra.cc ) + s.files += %w( src/core/resolver/binder/binder_resolver.cc ) + s.files += %w( src/core/resolver/dns/c_ares/dns_resolver_ares.cc ) + s.files += %w( src/core/resolver/dns/c_ares/dns_resolver_ares.h ) + s.files += %w( src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h ) + s.files += %w( src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc ) + s.files += %w( src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc ) + s.files += %w( src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc ) + s.files += %w( src/core/resolver/dns/c_ares/grpc_ares_wrapper.h ) + s.files += %w( src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc ) + s.files += %w( src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc ) + s.files += %w( src/core/resolver/dns/dns_resolver_plugin.cc ) + s.files += %w( src/core/resolver/dns/dns_resolver_plugin.h ) + s.files += %w( src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc ) + s.files += %w( src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h ) + s.files += %w( src/core/resolver/dns/event_engine/service_config_helper.cc ) + s.files += %w( src/core/resolver/dns/event_engine/service_config_helper.h ) + s.files += %w( src/core/resolver/dns/native/dns_resolver.cc ) + s.files += %w( src/core/resolver/dns/native/dns_resolver.h ) + s.files += %w( src/core/resolver/endpoint_addresses.cc ) + s.files += %w( src/core/resolver/endpoint_addresses.h ) + s.files += %w( src/core/resolver/fake/fake_resolver.cc ) + s.files += %w( src/core/resolver/fake/fake_resolver.h ) + s.files += %w( src/core/resolver/google_c2p/google_c2p_resolver.cc ) + s.files += %w( src/core/resolver/polling_resolver.cc ) + s.files += %w( src/core/resolver/polling_resolver.h ) + s.files += %w( src/core/resolver/resolver.cc ) + s.files += %w( src/core/resolver/resolver.h ) + s.files += %w( src/core/resolver/resolver_factory.h ) + s.files += %w( src/core/resolver/resolver_registry.cc ) + s.files += %w( src/core/resolver/resolver_registry.h ) + s.files += %w( src/core/resolver/server_address.h ) + s.files += %w( src/core/resolver/sockaddr/sockaddr_resolver.cc ) + s.files += %w( src/core/resolver/xds/xds_dependency_manager.cc ) + s.files += %w( src/core/resolver/xds/xds_dependency_manager.h ) + s.files += %w( src/core/resolver/xds/xds_resolver.cc ) + s.files += %w( src/core/resolver/xds/xds_resolver_attributes.h ) + s.files += %w( src/core/resolver/xds/xds_resolver_trace.cc ) + s.files += %w( src/core/resolver/xds/xds_resolver_trace.h ) + s.files += %w( src/core/service_config/service_config.h ) + s.files += %w( src/core/service_config/service_config_call_data.h ) + s.files += %w( src/core/service_config/service_config_channel_arg_filter.cc ) + s.files += %w( src/core/service_config/service_config_impl.cc ) + s.files += %w( src/core/service_config/service_config_impl.h ) + s.files += %w( src/core/service_config/service_config_parser.cc ) + s.files += %w( src/core/service_config/service_config_parser.h ) s.files += %w( src/core/tsi/alts/crypt/aes_gcm.cc ) s.files += %w( src/core/tsi/alts/crypt/gsec.cc ) s.files += %w( src/core/tsi/alts/crypt/gsec.h ) @@ -1800,8 +2028,8 @@ Gem::Specification.new do |s| s.files += %w( third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc ) s.files += %w( third_party/abseil-cpp/absl/base/internal/low_level_alloc.h ) s.files += %w( third_party/abseil-cpp/absl/base/internal/low_level_scheduling.h ) + s.files += %w( third_party/abseil-cpp/absl/base/internal/nullability_impl.h ) s.files += %w( third_party/abseil-cpp/absl/base/internal/per_thread_tls.h ) - s.files += %w( third_party/abseil-cpp/absl/base/internal/prefetch.h ) s.files += %w( third_party/abseil-cpp/absl/base/internal/raw_logging.cc ) s.files += %w( third_party/abseil-cpp/absl/base/internal/raw_logging.h ) s.files += %w( third_party/abseil-cpp/absl/base/internal/scheduling_mode.h ) @@ -1817,7 +2045,6 @@ Gem::Specification.new do |s| s.files += %w( third_party/abseil-cpp/absl/base/internal/strerror.h ) s.files += %w( third_party/abseil-cpp/absl/base/internal/sysinfo.cc ) s.files += %w( third_party/abseil-cpp/absl/base/internal/sysinfo.h ) - s.files += %w( third_party/abseil-cpp/absl/base/internal/thread_annotations.h ) s.files += %w( third_party/abseil-cpp/absl/base/internal/thread_identity.cc ) s.files += %w( third_party/abseil-cpp/absl/base/internal/thread_identity.h ) s.files += %w( third_party/abseil-cpp/absl/base/internal/throw_delegate.cc ) @@ -1830,6 +2057,8 @@ Gem::Specification.new do |s| s.files += %w( third_party/abseil-cpp/absl/base/log_severity.cc ) s.files += %w( third_party/abseil-cpp/absl/base/log_severity.h ) s.files += %w( third_party/abseil-cpp/absl/base/macros.h ) + s.files += %w( third_party/abseil-cpp/absl/base/no_destructor.h ) + s.files += %w( third_party/abseil-cpp/absl/base/nullability.h ) s.files += %w( third_party/abseil-cpp/absl/base/optimization.h ) s.files += %w( third_party/abseil-cpp/absl/base/options.h ) s.files += %w( third_party/abseil-cpp/absl/base/policy_checks.h ) @@ -1871,7 +2100,7 @@ Gem::Specification.new do |s| s.files += %w( third_party/abseil-cpp/absl/crc/internal/crc_internal.h ) s.files += %w( third_party/abseil-cpp/absl/crc/internal/crc_memcpy.h ) s.files += %w( third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc ) - s.files += %w( third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc ) + s.files += %w( third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc ) s.files += %w( third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc ) s.files += %w( third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc ) s.files += %w( third_party/abseil-cpp/absl/crc/internal/non_temporal_arm_intrinsics.h ) @@ -1908,13 +2137,11 @@ Gem::Specification.new do |s| s.files += %w( third_party/abseil-cpp/absl/flags/commandlineflag.h ) s.files += %w( third_party/abseil-cpp/absl/flags/config.h ) s.files += %w( third_party/abseil-cpp/absl/flags/declare.h ) - s.files += %w( third_party/abseil-cpp/absl/flags/flag.cc ) s.files += %w( third_party/abseil-cpp/absl/flags/flag.h ) s.files += %w( third_party/abseil-cpp/absl/flags/internal/commandlineflag.cc ) s.files += %w( third_party/abseil-cpp/absl/flags/internal/commandlineflag.h ) s.files += %w( third_party/abseil-cpp/absl/flags/internal/flag.cc ) s.files += %w( third_party/abseil-cpp/absl/flags/internal/flag.h ) - s.files += %w( third_party/abseil-cpp/absl/flags/internal/flag_msvc.inc ) s.files += %w( third_party/abseil-cpp/absl/flags/internal/path_util.h ) s.files += %w( third_party/abseil-cpp/absl/flags/internal/private_handle_accessor.cc ) s.files += %w( third_party/abseil-cpp/absl/flags/internal/private_handle_accessor.h ) @@ -1955,6 +2182,7 @@ Gem::Specification.new do |s| s.files += %w( third_party/abseil-cpp/absl/profiling/internal/sample_recorder.h ) s.files += %w( third_party/abseil-cpp/absl/random/bernoulli_distribution.h ) s.files += %w( third_party/abseil-cpp/absl/random/beta_distribution.h ) + s.files += %w( third_party/abseil-cpp/absl/random/bit_gen_ref.h ) s.files += %w( third_party/abseil-cpp/absl/random/discrete_distribution.cc ) s.files += %w( third_party/abseil-cpp/absl/random/discrete_distribution.h ) s.files += %w( third_party/abseil-cpp/absl/random/distributions.h ) @@ -1998,6 +2226,7 @@ Gem::Specification.new do |s| s.files += %w( third_party/abseil-cpp/absl/random/uniform_int_distribution.h ) s.files += %w( third_party/abseil-cpp/absl/random/uniform_real_distribution.h ) s.files += %w( third_party/abseil-cpp/absl/random/zipf_distribution.h ) + s.files += %w( third_party/abseil-cpp/absl/status/internal/status_internal.cc ) s.files += %w( third_party/abseil-cpp/absl/status/internal/status_internal.h ) s.files += %w( third_party/abseil-cpp/absl/status/internal/statusor_internal.h ) s.files += %w( third_party/abseil-cpp/absl/status/status.cc ) @@ -2010,6 +2239,7 @@ Gem::Specification.new do |s| s.files += %w( third_party/abseil-cpp/absl/strings/ascii.h ) s.files += %w( third_party/abseil-cpp/absl/strings/charconv.cc ) s.files += %w( third_party/abseil-cpp/absl/strings/charconv.h ) + s.files += %w( third_party/abseil-cpp/absl/strings/charset.h ) s.files += %w( third_party/abseil-cpp/absl/strings/cord.cc ) s.files += %w( third_party/abseil-cpp/absl/strings/cord.h ) s.files += %w( third_party/abseil-cpp/absl/strings/cord_analysis.cc ) @@ -2018,7 +2248,8 @@ Gem::Specification.new do |s| s.files += %w( third_party/abseil-cpp/absl/strings/cord_buffer.h ) s.files += %w( third_party/abseil-cpp/absl/strings/escaping.cc ) s.files += %w( third_party/abseil-cpp/absl/strings/escaping.h ) - s.files += %w( third_party/abseil-cpp/absl/strings/internal/char_map.h ) + s.files += %w( third_party/abseil-cpp/absl/strings/has_absl_stringify.h ) + s.files += %w( third_party/abseil-cpp/absl/strings/has_ostream_operator.h ) s.files += %w( third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc ) s.files += %w( third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h ) s.files += %w( third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc ) @@ -2037,9 +2268,6 @@ Gem::Specification.new do |s| s.files += %w( third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc ) s.files += %w( third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.h ) s.files += %w( third_party/abseil-cpp/absl/strings/internal/cord_rep_flat.h ) - s.files += %w( third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc ) - s.files += %w( third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h ) - s.files += %w( third_party/abseil-cpp/absl/strings/internal/cord_rep_ring_reader.h ) s.files += %w( third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc ) s.files += %w( third_party/abseil-cpp/absl/strings/internal/cordz_functions.h ) s.files += %w( third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc ) @@ -2401,8 +2629,9 @@ Gem::Specification.new do |s| s.files += %w( third_party/boringssl-with-bazel/src/crypto/hrss/hrss.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/hrss/internal.h ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/internal.h ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/keccak/internal.h ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/keccak/keccak.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/kyber/internal.h ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/lhash/internal.h ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/lhash/lhash.c ) @@ -2446,6 +2675,21 @@ Gem::Specification.new do |s| s.files += %w( third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_print.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/siphash/siphash.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/address.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/address.h ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/fors.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/fors.h ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/internal.h ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/merkle.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/merkle.h ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/params.h ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/spx.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/spx_util.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/spx_util.h ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/thash.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/thash.h ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/wots.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/spx/wots.h ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/stack/stack.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/thread.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/thread_none.c ) @@ -2462,6 +2706,7 @@ Gem::Specification.new do |s| s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/by_file.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/ext_dat.h ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/i2d_pr.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/internal.h ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/name_print.c ) @@ -2471,6 +2716,29 @@ Gem::Specification.new do |s| s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/t_req.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/t_x509a.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_akey.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_akeya.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_alt.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_bcons.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_bitst.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_conf.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_enum.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_extku.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_genn.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_ia5.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_int.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_ncons.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_ocsp.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_pcons.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_pmaps.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_prn.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_skey.c ) + s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/v3_utl.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x509.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c ) @@ -2495,9 +2763,7 @@ Gem::Specification.new do |s| s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x_attrib.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x_exten.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x_info.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x_name.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x_pkey.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x_req.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x_sig.c ) @@ -2505,31 +2771,6 @@ Gem::Specification.new do |s| s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x_val.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c ) s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/ext_dat.h ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/internal.h ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akey.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akeya.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bcons.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bitst.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_crld.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_extku.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ia5.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_int.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ncons.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ocsp.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcons.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pmaps.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c ) - s.files += %w( third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c ) s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/aead.h ) s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/aes.h ) s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h ) @@ -2594,6 +2835,7 @@ Gem::Specification.new do |s| s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/pkcs8.h ) s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/poly1305.h ) s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/pool.h ) + s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/posix_time.h ) s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/rand.h ) s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/rc4.h ) s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/ripemd.h ) @@ -2616,6 +2858,7 @@ Gem::Specification.new do |s| s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/x509.h ) s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/x509_vfy.h ) s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/x509v3.h ) + s.files += %w( third_party/boringssl-with-bazel/src/include/openssl/x509v3_errors.h ) s.files += %w( third_party/boringssl-with-bazel/src/ssl/bio_ssl.cc ) s.files += %w( third_party/boringssl-with-bazel/src/ssl/d1_both.cc ) s.files += %w( third_party/boringssl-with-bazel/src/ssl/d1_lib.cc ) @@ -2794,29 +3037,12 @@ Gem::Specification.new do |s| s.files += %w( third_party/re2/util/strutil.h ) s.files += %w( third_party/re2/util/utf.h ) s.files += %w( third_party/re2/util/util.h ) - s.files += %w( third_party/upb/upb/alloc.h ) - s.files += %w( third_party/upb/upb/arena.h ) - s.files += %w( third_party/upb/upb/array.h ) s.files += %w( third_party/upb/upb/base/descriptor_constants.h ) - s.files += %w( third_party/upb/upb/base/log2.h ) + s.files += %w( third_party/upb/upb/base/internal/log2.h ) s.files += %w( third_party/upb/upb/base/status.c ) s.files += %w( third_party/upb/upb/base/status.h ) + s.files += %w( third_party/upb/upb/base/status.hpp ) s.files += %w( third_party/upb/upb/base/string_view.h ) - s.files += %w( third_party/upb/upb/collections/array.c ) - s.files += %w( third_party/upb/upb/collections/array.h ) - s.files += %w( third_party/upb/upb/collections/array_internal.h ) - s.files += %w( third_party/upb/upb/collections/map.c ) - s.files += %w( third_party/upb/upb/collections/map.h ) - s.files += %w( third_party/upb/upb/collections/map_gencode_util.h ) - s.files += %w( third_party/upb/upb/collections/map_internal.h ) - s.files += %w( third_party/upb/upb/collections/map_sorter.c ) - s.files += %w( third_party/upb/upb/collections/map_sorter_internal.h ) - s.files += %w( third_party/upb/upb/collections/message_value.h ) - s.files += %w( third_party/upb/upb/decode.h ) - s.files += %w( third_party/upb/upb/def.h ) - s.files += %w( third_party/upb/upb/def.hpp ) - s.files += %w( third_party/upb/upb/encode.h ) - s.files += %w( third_party/upb/upb/extension_registry.h ) s.files += %w( third_party/upb/upb/generated_code_support.h ) s.files += %w( third_party/upb/upb/hash/common.c ) s.files += %w( third_party/upb/upb/hash/common.h ) @@ -2834,21 +3060,33 @@ Gem::Specification.new do |s| s.files += %w( third_party/upb/upb/lex/strtod.h ) s.files += %w( third_party/upb/upb/lex/unicode.c ) s.files += %w( third_party/upb/upb/lex/unicode.h ) - s.files += %w( third_party/upb/upb/map.h ) s.files += %w( third_party/upb/upb/mem/alloc.c ) s.files += %w( third_party/upb/upb/mem/alloc.h ) s.files += %w( third_party/upb/upb/mem/arena.c ) s.files += %w( third_party/upb/upb/mem/arena.h ) - s.files += %w( third_party/upb/upb/mem/arena_internal.h ) + s.files += %w( third_party/upb/upb/mem/arena.hpp ) + s.files += %w( third_party/upb/upb/mem/internal/arena.h ) s.files += %w( third_party/upb/upb/message/accessors.c ) s.files += %w( third_party/upb/upb/message/accessors.h ) - s.files += %w( third_party/upb/upb/message/accessors_internal.h ) - s.files += %w( third_party/upb/upb/message/extension_internal.h ) - s.files += %w( third_party/upb/upb/message/internal.h ) + s.files += %w( third_party/upb/upb/message/array.c ) + s.files += %w( third_party/upb/upb/message/array.h ) + s.files += %w( third_party/upb/upb/message/internal/accessors.h ) + s.files += %w( third_party/upb/upb/message/internal/array.h ) + s.files += %w( third_party/upb/upb/message/internal/extension.h ) + s.files += %w( third_party/upb/upb/message/internal/map.h ) s.files += %w( third_party/upb/upb/message/internal/map_entry.h ) + s.files += %w( third_party/upb/upb/message/internal/map_sorter.h ) + s.files += %w( third_party/upb/upb/message/internal/message.h ) + s.files += %w( third_party/upb/upb/message/internal/types.h ) + s.files += %w( third_party/upb/upb/message/map.c ) + s.files += %w( third_party/upb/upb/message/map.h ) + s.files += %w( third_party/upb/upb/message/map_gencode_util.h ) + s.files += %w( third_party/upb/upb/message/map_sorter.c ) s.files += %w( third_party/upb/upb/message/message.c ) s.files += %w( third_party/upb/upb/message/message.h ) s.files += %w( third_party/upb/upb/message/tagged_ptr.h ) + s.files += %w( third_party/upb/upb/message/types.h ) + s.files += %w( third_party/upb/upb/message/value.h ) s.files += %w( third_party/upb/upb/mini_descriptor/build_enum.c ) s.files += %w( third_party/upb/upb/mini_descriptor/build_enum.h ) s.files += %w( third_party/upb/upb/mini_descriptor/decode.c ) @@ -2879,82 +3117,75 @@ Gem::Specification.new do |s| s.files += %w( third_party/upb/upb/mini_table/message.c ) s.files += %w( third_party/upb/upb/mini_table/message.h ) s.files += %w( third_party/upb/upb/mini_table/sub.h ) - s.files += %w( third_party/upb/upb/msg.h ) s.files += %w( third_party/upb/upb/port/atomic.h ) s.files += %w( third_party/upb/upb/port/def.inc ) s.files += %w( third_party/upb/upb/port/undef.inc ) s.files += %w( third_party/upb/upb/port/vsnprintf_compat.h ) - s.files += %w( third_party/upb/upb/reflection.h ) - s.files += %w( third_party/upb/upb/reflection.hpp ) s.files += %w( third_party/upb/upb/reflection/common.h ) s.files += %w( third_party/upb/upb/reflection/def.h ) s.files += %w( third_party/upb/upb/reflection/def.hpp ) - s.files += %w( third_party/upb/upb/reflection/def_builder.c ) - s.files += %w( third_party/upb/upb/reflection/def_builder_internal.h ) s.files += %w( third_party/upb/upb/reflection/def_pool.c ) s.files += %w( third_party/upb/upb/reflection/def_pool.h ) - s.files += %w( third_party/upb/upb/reflection/def_pool_internal.h ) s.files += %w( third_party/upb/upb/reflection/def_type.c ) s.files += %w( third_party/upb/upb/reflection/def_type.h ) s.files += %w( third_party/upb/upb/reflection/desc_state.c ) - s.files += %w( third_party/upb/upb/reflection/desc_state_internal.h ) s.files += %w( third_party/upb/upb/reflection/enum_def.c ) s.files += %w( third_party/upb/upb/reflection/enum_def.h ) - s.files += %w( third_party/upb/upb/reflection/enum_def_internal.h ) s.files += %w( third_party/upb/upb/reflection/enum_reserved_range.c ) s.files += %w( third_party/upb/upb/reflection/enum_reserved_range.h ) - s.files += %w( third_party/upb/upb/reflection/enum_reserved_range_internal.h ) s.files += %w( third_party/upb/upb/reflection/enum_value_def.c ) s.files += %w( third_party/upb/upb/reflection/enum_value_def.h ) - s.files += %w( third_party/upb/upb/reflection/enum_value_def_internal.h ) s.files += %w( third_party/upb/upb/reflection/extension_range.c ) s.files += %w( third_party/upb/upb/reflection/extension_range.h ) - s.files += %w( third_party/upb/upb/reflection/extension_range_internal.h ) s.files += %w( third_party/upb/upb/reflection/field_def.c ) s.files += %w( third_party/upb/upb/reflection/field_def.h ) - s.files += %w( third_party/upb/upb/reflection/field_def_internal.h ) s.files += %w( third_party/upb/upb/reflection/file_def.c ) s.files += %w( third_party/upb/upb/reflection/file_def.h ) - s.files += %w( third_party/upb/upb/reflection/file_def_internal.h ) + s.files += %w( third_party/upb/upb/reflection/internal/def_builder.c ) + s.files += %w( third_party/upb/upb/reflection/internal/def_builder.h ) + s.files += %w( third_party/upb/upb/reflection/internal/def_pool.h ) + s.files += %w( third_party/upb/upb/reflection/internal/desc_state.h ) + s.files += %w( third_party/upb/upb/reflection/internal/enum_def.h ) + s.files += %w( third_party/upb/upb/reflection/internal/enum_reserved_range.h ) + s.files += %w( third_party/upb/upb/reflection/internal/enum_value_def.h ) + s.files += %w( third_party/upb/upb/reflection/internal/extension_range.h ) + s.files += %w( third_party/upb/upb/reflection/internal/field_def.h ) + s.files += %w( third_party/upb/upb/reflection/internal/file_def.h ) + s.files += %w( third_party/upb/upb/reflection/internal/message_def.h ) + s.files += %w( third_party/upb/upb/reflection/internal/message_reserved_range.h ) + s.files += %w( third_party/upb/upb/reflection/internal/method_def.h ) + s.files += %w( third_party/upb/upb/reflection/internal/oneof_def.h ) + s.files += %w( third_party/upb/upb/reflection/internal/service_def.h ) + s.files += %w( third_party/upb/upb/reflection/internal/strdup2.c ) + s.files += %w( third_party/upb/upb/reflection/internal/strdup2.h ) s.files += %w( third_party/upb/upb/reflection/message.c ) s.files += %w( third_party/upb/upb/reflection/message.h ) s.files += %w( third_party/upb/upb/reflection/message.hpp ) s.files += %w( third_party/upb/upb/reflection/message_def.c ) s.files += %w( third_party/upb/upb/reflection/message_def.h ) - s.files += %w( third_party/upb/upb/reflection/message_def_internal.h ) s.files += %w( third_party/upb/upb/reflection/message_reserved_range.c ) s.files += %w( third_party/upb/upb/reflection/message_reserved_range.h ) - s.files += %w( third_party/upb/upb/reflection/message_reserved_range_internal.h ) s.files += %w( third_party/upb/upb/reflection/method_def.c ) s.files += %w( third_party/upb/upb/reflection/method_def.h ) - s.files += %w( third_party/upb/upb/reflection/method_def_internal.h ) s.files += %w( third_party/upb/upb/reflection/oneof_def.c ) s.files += %w( third_party/upb/upb/reflection/oneof_def.h ) - s.files += %w( third_party/upb/upb/reflection/oneof_def_internal.h ) s.files += %w( third_party/upb/upb/reflection/service_def.c ) s.files += %w( third_party/upb/upb/reflection/service_def.h ) - s.files += %w( third_party/upb/upb/reflection/service_def_internal.h ) - s.files += %w( third_party/upb/upb/status.h ) - s.files += %w( third_party/upb/upb/string_view.h ) s.files += %w( third_party/upb/upb/text/encode.c ) s.files += %w( third_party/upb/upb/text/encode.h ) - s.files += %w( third_party/upb/upb/text_encode.h ) - s.files += %w( third_party/upb/upb/upb.h ) - s.files += %w( third_party/upb/upb/upb.hpp ) - s.files += %w( third_party/upb/upb/wire/common.h ) - s.files += %w( third_party/upb/upb/wire/common_internal.h ) s.files += %w( third_party/upb/upb/wire/decode.c ) s.files += %w( third_party/upb/upb/wire/decode.h ) s.files += %w( third_party/upb/upb/wire/decode_fast.c ) s.files += %w( third_party/upb/upb/wire/decode_fast.h ) - s.files += %w( third_party/upb/upb/wire/decode_internal.h ) s.files += %w( third_party/upb/upb/wire/encode.c ) s.files += %w( third_party/upb/upb/wire/encode.h ) s.files += %w( third_party/upb/upb/wire/eps_copy_input_stream.c ) s.files += %w( third_party/upb/upb/wire/eps_copy_input_stream.h ) + s.files += %w( third_party/upb/upb/wire/internal/constants.h ) + s.files += %w( third_party/upb/upb/wire/internal/decode.h ) + s.files += %w( third_party/upb/upb/wire/internal/swap.h ) s.files += %w( third_party/upb/upb/wire/reader.c ) s.files += %w( third_party/upb/upb/wire/reader.h ) - s.files += %w( third_party/upb/upb/wire/swap_internal.h ) s.files += %w( third_party/upb/upb/wire/types.h ) s.files += %w( third_party/utf8_range/naive.c ) s.files += %w( third_party/utf8_range/range2-neon.c ) diff --git a/grpc.gyp b/grpc.gyp index 48849be61d9..0e655558818 100644 --- a/grpc.gyp +++ b/grpc.gyp @@ -58,8 +58,8 @@ '-Ithird_party/abseil-cpp', '-Ithird_party/re2', '-Ithird_party/upb', - '-Isrc/core/ext/upb-generated', - '-Isrc/core/ext/upbdefs-generated', + '-Isrc/core/ext/upb-gen', + '-Isrc/core/ext/upbdefs-gen', '-Ithird_party/utf8_range', '-Ithird_party/xxhash', ], @@ -139,8 +139,8 @@ '-Ithird_party/abseil-cpp', '-Ithird_party/re2', '-Ithird_party/upb', - '-Isrc/core/ext/upb-generated', - '-Isrc/core/ext/upbdefs-generated', + '-Isrc/core/ext/upb-gen', + '-Isrc/core/ext/upbdefs-gen', '-Ithird_party/utf8_range', '-Ithird_party/xxhash', ], @@ -152,8 +152,8 @@ '-Ithird_party/abseil-cpp', '-Ithird_party/re2', '-Ithird_party/upb', - '-Isrc/core/ext/upb-generated', - '-Isrc/core/ext/upbdefs-generated', + '-Isrc/core/ext/upb-gen', + '-Isrc/core/ext/upbdefs-gen', '-Ithird_party/utf8_range', '-Ithird_party/xxhash', '-stdlib=libc++', @@ -227,7 +227,6 @@ 'src/core/lib/gpr/windows/sync.cc', 'src/core/lib/gpr/windows/time.cc', 'src/core/lib/gpr/windows/tmpfile.cc', - 'src/core/lib/gpr/wrap_memcpy.cc', 'src/core/lib/gprpp/crash.cc', 'src/core/lib/gprpp/examine_stack.cc', 'src/core/lib/gprpp/fork.cc', @@ -249,11 +248,12 @@ 'target_name': 'grpc', 'type': 'static_library', 'dependencies': [ - 're2', 'upb_json_lib', 'upb_textformat_lib', + 're2', 'z', 'absl/algorithm:container', + 'absl/base:config', 'absl/cleanup:cleanup', 'absl/container:flat_hash_map', 'absl/container:flat_hash_set', @@ -262,6 +262,8 @@ 'absl/functional:function_ref', 'absl/hash:hash', 'absl/meta:type_traits', + 'absl/random:bit_gen_ref', + 'absl/random:distributions', 'absl/status:statusor', 'absl/types:span', 'absl/utility:utility', @@ -270,72 +272,30 @@ 'address_sorting', ], 'sources': [ + 'src/core/client_channel/backup_poller.cc', + 'src/core/client_channel/channel_connectivity.cc', + 'src/core/client_channel/client_channel_channelz.cc', + 'src/core/client_channel/client_channel_factory.cc', + 'src/core/client_channel/client_channel_filter.cc', + 'src/core/client_channel/client_channel_plugin.cc', + 'src/core/client_channel/client_channel_service_config.cc', + 'src/core/client_channel/config_selector.cc', + 'src/core/client_channel/dynamic_filters.cc', + 'src/core/client_channel/global_subchannel_pool.cc', + 'src/core/client_channel/http_proxy_mapper.cc', + 'src/core/client_channel/local_subchannel_pool.cc', + 'src/core/client_channel/retry_filter.cc', + 'src/core/client_channel/retry_filter_legacy_call_data.cc', + 'src/core/client_channel/retry_service_config.cc', + 'src/core/client_channel/retry_throttle.cc', + 'src/core/client_channel/subchannel.cc', + 'src/core/client_channel/subchannel_pool_interface.cc', + 'src/core/client_channel/subchannel_stream_client.cc', 'src/core/ext/filters/backend_metrics/backend_metric_filter.cc', 'src/core/ext/filters/census/grpc_context.cc', 'src/core/ext/filters/channel_idle/channel_idle_filter.cc', 'src/core/ext/filters/channel_idle/idle_filter_state.cc', - 'src/core/ext/filters/client_channel/backend_metric.cc', - 'src/core/ext/filters/client_channel/backup_poller.cc', - 'src/core/ext/filters/client_channel/channel_connectivity.cc', - 'src/core/ext/filters/client_channel/client_channel.cc', - 'src/core/ext/filters/client_channel/client_channel_channelz.cc', - 'src/core/ext/filters/client_channel/client_channel_factory.cc', - 'src/core/ext/filters/client_channel/client_channel_plugin.cc', - 'src/core/ext/filters/client_channel/client_channel_service_config.cc', - 'src/core/ext/filters/client_channel/config_selector.cc', - 'src/core/ext/filters/client_channel/dynamic_filters.cc', - 'src/core/ext/filters/client_channel/global_subchannel_pool.cc', - 'src/core/ext/filters/client_channel/http_proxy_mapper.cc', - 'src/core/ext/filters/client_channel/lb_policy/address_filtering.cc', - 'src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc', - 'src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc', - 'src/core/ext/filters/client_channel/lb_policy/health_check_client.cc', - 'src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc', - 'src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc', - 'src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc', - 'src/core/ext/filters/client_channel/lb_policy/priority/priority.cc', - 'src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc', - 'src/core/ext/filters/client_channel/lb_policy/rls/rls.cc', - 'src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc', - 'src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc', - 'src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc', - 'src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc', - 'src/core/ext/filters/client_channel/lb_policy/xds/cds.cc', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc', - 'src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc', - 'src/core/ext/filters/client_channel/local_subchannel_pool.cc', - 'src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc', - 'src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc', - 'src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/polling_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc', - 'src/core/ext/filters/client_channel/retry_filter.cc', - 'src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc', - 'src/core/ext/filters/client_channel/retry_service_config.cc', - 'src/core/ext/filters/client_channel/retry_throttle.cc', - 'src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc', - 'src/core/ext/filters/client_channel/subchannel.cc', - 'src/core/ext/filters/client_channel/subchannel_pool_interface.cc', - 'src/core/ext/filters/client_channel/subchannel_stream_client.cc', + 'src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc', 'src/core/ext/filters/deadline/deadline_filter.cc', 'src/core/ext/filters/fault_injection/fault_injection_filter.cc', 'src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc', @@ -343,6 +303,7 @@ 'src/core/ext/filters/http/client_authority_filter.cc', 'src/core/ext/filters/http/http_filters_plugin.cc', 'src/core/ext/filters/http/message_compress/compression_filter.cc', + 'src/core/ext/filters/http/message_compress/legacy_compression_filter.cc', 'src/core/ext/filters/http/server/http_server_filter.cc', 'src/core/ext/filters/message_size/message_size_filter.cc', 'src/core/ext/filters/rbac/rbac_filter.cc', @@ -359,6 +320,7 @@ 'src/core/ext/transport/chttp2/transport/chttp2_transport.cc', 'src/core/ext/transport/chttp2/transport/decode_huff.cc', 'src/core/ext/transport/chttp2/transport/flow_control.cc', + 'src/core/ext/transport/chttp2/transport/frame.cc', 'src/core/ext/transport/chttp2/transport/frame_data.cc', 'src/core/ext/transport/chttp2/transport/frame_goaway.cc', 'src/core/ext/transport/chttp2/transport/frame_ping.cc', @@ -373,327 +335,335 @@ 'src/core/ext/transport/chttp2/transport/http2_settings.cc', 'src/core/ext/transport/chttp2/transport/http_trace.cc', 'src/core/ext/transport/chttp2/transport/huffsyms.cc', + 'src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc', 'src/core/ext/transport/chttp2/transport/parsing.cc', 'src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc', + 'src/core/ext/transport/chttp2/transport/ping_callbacks.cc', 'src/core/ext/transport/chttp2/transport/ping_rate_policy.cc', 'src/core/ext/transport/chttp2/transport/stream_lists.cc', 'src/core/ext/transport/chttp2/transport/varint.cc', + 'src/core/ext/transport/chttp2/transport/write_size_policy.cc', 'src/core/ext/transport/chttp2/transport/writing.cc', 'src/core/ext/transport/inproc/inproc_plugin.cc', 'src/core/ext/transport/inproc/inproc_transport.cc', - 'src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c', - 'src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c', - 'src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c', - 'src/core/ext/upb-generated/envoy/annotations/resource.upb.c', - 'src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c', - 'src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c', - 'src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c', - 'src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c', - 'src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c', - 'src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c', - 'src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c', - 'src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c', - 'src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c', - 'src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c', - 'src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c', - 'src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c', - 'src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c', - 'src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c', - 'src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c', - 'src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c', - 'src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c', - 'src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c', - 'src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c', - 'src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c', - 'src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c', - 'src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c', - 'src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c', - 'src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c', - 'src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c', - 'src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c', - 'src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c', - 'src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c', - 'src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c', - 'src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c', - 'src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/http.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/percent.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/range.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c', - 'src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c', - 'src/core/ext/upb-generated/google/api/annotations.upb.c', - 'src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c', - 'src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c', - 'src/core/ext/upb-generated/google/api/http.upb.c', - 'src/core/ext/upb-generated/google/api/httpbody.upb.c', - 'src/core/ext/upb-generated/google/protobuf/any.upb.c', - 'src/core/ext/upb-generated/google/protobuf/descriptor.upb.c', - 'src/core/ext/upb-generated/google/protobuf/duration.upb.c', - 'src/core/ext/upb-generated/google/protobuf/empty.upb.c', - 'src/core/ext/upb-generated/google/protobuf/struct.upb.c', - 'src/core/ext/upb-generated/google/protobuf/timestamp.upb.c', - 'src/core/ext/upb-generated/google/protobuf/wrappers.upb.c', - 'src/core/ext/upb-generated/google/rpc/status.upb.c', - 'src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c', - 'src/core/ext/upb-generated/udpa/annotations/migrate.upb.c', - 'src/core/ext/upb-generated/udpa/annotations/security.upb.c', - 'src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c', - 'src/core/ext/upb-generated/udpa/annotations/status.upb.c', - 'src/core/ext/upb-generated/udpa/annotations/versioning.upb.c', - 'src/core/ext/upb-generated/validate/validate.upb.c', - 'src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c', - 'src/core/ext/upb-generated/xds/annotations/v3/security.upb.c', - 'src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c', - 'src/core/ext/upb-generated/xds/annotations/v3/status.upb.c', - 'src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/authority.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/cidr.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/context_params.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/extension.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/resource.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c', - 'src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c', - 'src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c', - 'src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c', - 'src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c', - 'src/core/ext/upb-generated/xds/type/v3/cel.upb.c', - 'src/core/ext/upb-generated/xds/type/v3/range.upb.c', - 'src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c', - 'src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/api/http.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c', - 'src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c', - 'src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c', - 'src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c', - 'src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c', - 'src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c', - 'src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c', - 'src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c', - 'src/core/ext/upbdefs-generated/validate/validate.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c', - 'src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c', + 'src/core/ext/transport/inproc/legacy_inproc_transport.cc', + 'src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c', + 'src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c', + 'src/core/ext/upb-gen/google/api/annotations.upb_minitable.c', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c', + 'src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c', + 'src/core/ext/upb-gen/google/api/http.upb_minitable.c', + 'src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c', + 'src/core/ext/upb-gen/google/rpc/status.upb_minitable.c', + 'src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c', + 'src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c', + 'src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c', + 'src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c', + 'src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c', + 'src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c', + 'src/core/ext/upb-gen/validate/validate.upb_minitable.c', + 'src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c', + 'src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c', + 'src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c', + 'src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c', + 'src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c', + 'src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c', + 'src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c', + 'src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c', + 'src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c', + 'src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/api/http.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c', + 'src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c', + 'src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c', + 'src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c', + 'src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c', + 'src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c', + 'src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c', + 'src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c', + 'src/core/ext/upbdefs-gen/validate/validate.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c', + 'src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c', 'src/core/ext/xds/certificate_provider_store.cc', 'src/core/ext/xds/file_watcher_certificate_provider_factory.cc', 'src/core/ext/xds/xds_api.cc', @@ -730,6 +700,7 @@ 'src/core/lib/channel/channel_stack.cc', 'src/core/lib/channel/channel_stack_builder.cc', 'src/core/lib/channel/channel_stack_builder_impl.cc', + 'src/core/lib/channel/channel_stack_trace.cc', 'src/core/lib/channel/channel_trace.cc', 'src/core/lib/channel/channelz.cc', 'src/core/lib/channel/channelz_registry.cc', @@ -755,12 +726,12 @@ 'src/core/lib/event_engine/default_event_engine_factory.cc', 'src/core/lib/event_engine/event_engine.cc', 'src/core/lib/event_engine/forkable.cc', - 'src/core/lib/event_engine/memory_allocator.cc', 'src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc', 'src/core/lib/event_engine/posix_engine/ev_poll_posix.cc', 'src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc', 'src/core/lib/event_engine/posix_engine/internal_errqueue.cc', 'src/core/lib/event_engine/posix_engine/lockfree_event.cc', + 'src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc', 'src/core/lib/event_engine/posix_engine/posix_endpoint.cc', 'src/core/lib/event_engine/posix_engine/posix_engine.cc', 'src/core/lib/event_engine/posix_engine/posix_engine_listener.cc', @@ -785,7 +756,9 @@ 'src/core/lib/event_engine/time_util.cc', 'src/core/lib/event_engine/trace.cc', 'src/core/lib/event_engine/utils.cc', + 'src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc', 'src/core/lib/event_engine/windows/iocp.cc', + 'src/core/lib/event_engine/windows/native_windows_dns_resolver.cc', 'src/core/lib/event_engine/windows/win_socket.cc', 'src/core/lib/event_engine/windows/windows_endpoint.cc', 'src/core/lib/event_engine/windows/windows_engine.cc', @@ -795,11 +768,13 @@ 'src/core/lib/experiments/experiments.cc', 'src/core/lib/gprpp/load_file.cc', 'src/core/lib/gprpp/per_cpu.cc', + 'src/core/lib/gprpp/posix/directory_reader.cc', 'src/core/lib/gprpp/ref_counted_string.cc', 'src/core/lib/gprpp/status_helper.cc', 'src/core/lib/gprpp/time.cc', 'src/core/lib/gprpp/time_averaged_stats.cc', 'src/core/lib/gprpp/validation_errors.cc', + 'src/core/lib/gprpp/windows/directory_reader.cc', 'src/core/lib/gprpp/work_serializer.cc', 'src/core/lib/handshaker/proxy_mapper_registry.cc', 'src/core/lib/http/format_request.cc', @@ -842,7 +817,6 @@ 'src/core/lib/iomgr/iomgr_posix.cc', 'src/core/lib/iomgr/iomgr_posix_cfstream.cc', 'src/core/lib/iomgr/iomgr_windows.cc', - 'src/core/lib/iomgr/load_file.cc', 'src/core/lib/iomgr/lockfree_event.cc', 'src/core/lib/iomgr/polling_entity.cc', 'src/core/lib/iomgr/pollset.cc', @@ -888,16 +862,11 @@ 'src/core/lib/json/json_reader.cc', 'src/core/lib/json/json_util.cc', 'src/core/lib/json/json_writer.cc', - 'src/core/lib/load_balancing/lb_policy.cc', - 'src/core/lib/load_balancing/lb_policy_registry.cc', 'src/core/lib/matchers/matchers.cc', 'src/core/lib/promise/activity.cc', 'src/core/lib/promise/party.cc', 'src/core/lib/promise/sleep.cc', 'src/core/lib/promise/trace.cc', - 'src/core/lib/resolver/resolver.cc', - 'src/core/lib/resolver/resolver_registry.cc', - 'src/core/lib/resolver/server_address.cc', 'src/core/lib/resource_quota/api.cc', 'src/core/lib/resource_quota/arena.cc', 'src/core/lib/resource_quota/memory_quota.cc', @@ -949,6 +918,7 @@ 'src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc', 'src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc', 'src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc', + 'src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc', 'src/core/lib/security/credentials/tls/tls_credentials.cc', 'src/core/lib/security/credentials/tls/tls_utils.cc', 'src/core/lib/security/credentials/xds/xds_credentials.cc', @@ -957,19 +927,19 @@ 'src/core/lib/security/security_connector/insecure/insecure_security_connector.cc', 'src/core/lib/security/security_connector/load_system_roots_fallback.cc', 'src/core/lib/security/security_connector/load_system_roots_supported.cc', + 'src/core/lib/security/security_connector/load_system_roots_windows.cc', 'src/core/lib/security/security_connector/local/local_security_connector.cc', 'src/core/lib/security/security_connector/security_connector.cc', 'src/core/lib/security/security_connector/ssl/ssl_security_connector.cc', 'src/core/lib/security/security_connector/ssl_utils.cc', 'src/core/lib/security/security_connector/tls/tls_security_connector.cc', 'src/core/lib/security/transport/client_auth_filter.cc', + 'src/core/lib/security/transport/legacy_server_auth_filter.cc', 'src/core/lib/security/transport/secure_endpoint.cc', 'src/core/lib/security/transport/security_handshaker.cc', 'src/core/lib/security/transport/server_auth_filter.cc', 'src/core/lib/security/transport/tsi_error.cc', 'src/core/lib/security/util/json_util.cc', - 'src/core/lib/service_config/service_config_impl.cc', - 'src/core/lib/service_config/service_config_parser.cc', 'src/core/lib/slice/b64.cc', 'src/core/lib/slice/percent_encoding.cc', 'src/core/lib/slice/slice.cc', @@ -983,7 +953,6 @@ 'src/core/lib/surface/call.cc', 'src/core/lib/surface/call_details.cc', 'src/core/lib/surface/call_log_batch.cc', - 'src/core/lib/surface/call_trace.cc', 'src/core/lib/surface/channel.cc', 'src/core/lib/surface/channel_init.cc', 'src/core/lib/surface/channel_ping.cc', @@ -998,24 +967,82 @@ 'src/core/lib/surface/server.cc', 'src/core/lib/surface/validate_metadata.cc', 'src/core/lib/surface/version.cc', + 'src/core/lib/surface/wait_for_cq_end_op.cc', 'src/core/lib/transport/batch_builder.cc', 'src/core/lib/transport/bdp_estimator.cc', + 'src/core/lib/transport/call_factory.cc', + 'src/core/lib/transport/call_filters.cc', + 'src/core/lib/transport/call_final_info.cc', + 'src/core/lib/transport/call_size_estimator.cc', + 'src/core/lib/transport/call_spine.cc', 'src/core/lib/transport/connectivity_state.cc', 'src/core/lib/transport/error_utils.cc', 'src/core/lib/transport/handshaker.cc', 'src/core/lib/transport/handshaker_registry.cc', 'src/core/lib/transport/http_connect_handshaker.cc', + 'src/core/lib/transport/message.cc', + 'src/core/lib/transport/metadata.cc', 'src/core/lib/transport/metadata_batch.cc', 'src/core/lib/transport/parsed_metadata.cc', - 'src/core/lib/transport/pid_controller.cc', 'src/core/lib/transport/status_conversion.cc', 'src/core/lib/transport/tcp_connect_handshaker.cc', 'src/core/lib/transport/timeout_encoding.cc', 'src/core/lib/transport/transport.cc', 'src/core/lib/transport/transport_op_string.cc', 'src/core/lib/uri/uri_parser.cc', + 'src/core/load_balancing/address_filtering.cc', + 'src/core/load_balancing/backend_metric_parser.cc', + 'src/core/load_balancing/child_policy_handler.cc', + 'src/core/load_balancing/endpoint_list.cc', + 'src/core/load_balancing/grpclb/client_load_reporting_filter.cc', + 'src/core/load_balancing/grpclb/grpclb.cc', + 'src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc', + 'src/core/load_balancing/grpclb/grpclb_client_stats.cc', + 'src/core/load_balancing/grpclb/load_balancer_api.cc', + 'src/core/load_balancing/health_check_client.cc', + 'src/core/load_balancing/lb_policy.cc', + 'src/core/load_balancing/lb_policy_registry.cc', + 'src/core/load_balancing/oob_backend_metric.cc', + 'src/core/load_balancing/outlier_detection/outlier_detection.cc', + 'src/core/load_balancing/pick_first/pick_first.cc', + 'src/core/load_balancing/priority/priority.cc', + 'src/core/load_balancing/ring_hash/ring_hash.cc', + 'src/core/load_balancing/rls/rls.cc', + 'src/core/load_balancing/round_robin/round_robin.cc', + 'src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc', + 'src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc', + 'src/core/load_balancing/weighted_target/weighted_target.cc', + 'src/core/load_balancing/xds/cds.cc', + 'src/core/load_balancing/xds/xds_cluster_impl.cc', + 'src/core/load_balancing/xds/xds_cluster_manager.cc', + 'src/core/load_balancing/xds/xds_override_host.cc', + 'src/core/load_balancing/xds/xds_wrr_locality.cc', 'src/core/plugin_registry/grpc_plugin_registry.cc', 'src/core/plugin_registry/grpc_plugin_registry_extra.cc', + 'src/core/resolver/binder/binder_resolver.cc', + 'src/core/resolver/dns/c_ares/dns_resolver_ares.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc', + 'src/core/resolver/dns/dns_resolver_plugin.cc', + 'src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc', + 'src/core/resolver/dns/event_engine/service_config_helper.cc', + 'src/core/resolver/dns/native/dns_resolver.cc', + 'src/core/resolver/endpoint_addresses.cc', + 'src/core/resolver/fake/fake_resolver.cc', + 'src/core/resolver/google_c2p/google_c2p_resolver.cc', + 'src/core/resolver/polling_resolver.cc', + 'src/core/resolver/resolver.cc', + 'src/core/resolver/resolver_registry.cc', + 'src/core/resolver/sockaddr/sockaddr_resolver.cc', + 'src/core/resolver/xds/xds_dependency_manager.cc', + 'src/core/resolver/xds/xds_resolver.cc', + 'src/core/resolver/xds/xds_resolver_trace.cc', + 'src/core/service_config/service_config_channel_arg_filter.cc', + 'src/core/service_config/service_config_impl.cc', + 'src/core/service_config/service_config_parser.cc', 'src/core/tsi/alts/crypt/aes_gcm.cc', 'src/core/tsi/alts/crypt/gsec.cc', 'src/core/tsi/alts/frame_protector/alts_counter.cc', @@ -1094,10 +1121,11 @@ 'target_name': 'grpc_unsecure', 'type': 'static_library', 'dependencies': [ - 'upb_collections_lib', - 'upb', + 'upb_message_lib', + 'utf8_range_lib', 'z', 'absl/algorithm:container', + 'absl/base:config', 'absl/cleanup:cleanup', 'absl/container:flat_hash_map', 'absl/container:flat_hash_set', @@ -1106,6 +1134,8 @@ 'absl/functional:function_ref', 'absl/hash:hash', 'absl/meta:type_traits', + 'absl/random:bit_gen_ref', + 'absl/random:distributions', 'absl/status:statusor', 'absl/types:span', 'absl/utility:utility', @@ -1114,63 +1144,30 @@ 'address_sorting', ], 'sources': [ + 'src/core/client_channel/backup_poller.cc', + 'src/core/client_channel/channel_connectivity.cc', + 'src/core/client_channel/client_channel_channelz.cc', + 'src/core/client_channel/client_channel_factory.cc', + 'src/core/client_channel/client_channel_filter.cc', + 'src/core/client_channel/client_channel_plugin.cc', + 'src/core/client_channel/client_channel_service_config.cc', + 'src/core/client_channel/config_selector.cc', + 'src/core/client_channel/dynamic_filters.cc', + 'src/core/client_channel/global_subchannel_pool.cc', + 'src/core/client_channel/http_proxy_mapper.cc', + 'src/core/client_channel/local_subchannel_pool.cc', + 'src/core/client_channel/retry_filter.cc', + 'src/core/client_channel/retry_filter_legacy_call_data.cc', + 'src/core/client_channel/retry_service_config.cc', + 'src/core/client_channel/retry_throttle.cc', + 'src/core/client_channel/subchannel.cc', + 'src/core/client_channel/subchannel_pool_interface.cc', + 'src/core/client_channel/subchannel_stream_client.cc', 'src/core/ext/filters/backend_metrics/backend_metric_filter.cc', 'src/core/ext/filters/census/grpc_context.cc', 'src/core/ext/filters/channel_idle/channel_idle_filter.cc', 'src/core/ext/filters/channel_idle/idle_filter_state.cc', - 'src/core/ext/filters/client_channel/backend_metric.cc', - 'src/core/ext/filters/client_channel/backup_poller.cc', - 'src/core/ext/filters/client_channel/channel_connectivity.cc', - 'src/core/ext/filters/client_channel/client_channel.cc', - 'src/core/ext/filters/client_channel/client_channel_channelz.cc', - 'src/core/ext/filters/client_channel/client_channel_factory.cc', - 'src/core/ext/filters/client_channel/client_channel_plugin.cc', - 'src/core/ext/filters/client_channel/client_channel_service_config.cc', - 'src/core/ext/filters/client_channel/config_selector.cc', - 'src/core/ext/filters/client_channel/dynamic_filters.cc', - 'src/core/ext/filters/client_channel/global_subchannel_pool.cc', - 'src/core/ext/filters/client_channel/http_proxy_mapper.cc', - 'src/core/ext/filters/client_channel/lb_policy/address_filtering.cc', - 'src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc', - 'src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc', - 'src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc', - 'src/core/ext/filters/client_channel/lb_policy/health_check_client.cc', - 'src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc', - 'src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc', - 'src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc', - 'src/core/ext/filters/client_channel/lb_policy/priority/priority.cc', - 'src/core/ext/filters/client_channel/lb_policy/rls/rls.cc', - 'src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc', - 'src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc', - 'src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc', - 'src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc', - 'src/core/ext/filters/client_channel/local_subchannel_pool.cc', - 'src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc', - 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc', - 'src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc', - 'src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/polling_resolver.cc', - 'src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc', - 'src/core/ext/filters/client_channel/retry_filter.cc', - 'src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc', - 'src/core/ext/filters/client_channel/retry_service_config.cc', - 'src/core/ext/filters/client_channel/retry_throttle.cc', - 'src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc', - 'src/core/ext/filters/client_channel/subchannel.cc', - 'src/core/ext/filters/client_channel/subchannel_pool_interface.cc', - 'src/core/ext/filters/client_channel/subchannel_stream_client.cc', + 'src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc', 'src/core/ext/filters/deadline/deadline_filter.cc', 'src/core/ext/filters/fault_injection/fault_injection_filter.cc', 'src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc', @@ -1178,6 +1175,7 @@ 'src/core/ext/filters/http/client_authority_filter.cc', 'src/core/ext/filters/http/http_filters_plugin.cc', 'src/core/ext/filters/http/message_compress/compression_filter.cc', + 'src/core/ext/filters/http/message_compress/legacy_compression_filter.cc', 'src/core/ext/filters/http/server/http_server_filter.cc', 'src/core/ext/filters/message_size/message_size_filter.cc', 'src/core/ext/transport/chttp2/client/chttp2_connector.cc', @@ -1187,6 +1185,7 @@ 'src/core/ext/transport/chttp2/transport/chttp2_transport.cc', 'src/core/ext/transport/chttp2/transport/decode_huff.cc', 'src/core/ext/transport/chttp2/transport/flow_control.cc', + 'src/core/ext/transport/chttp2/transport/frame.cc', 'src/core/ext/transport/chttp2/transport/frame_data.cc', 'src/core/ext/transport/chttp2/transport/frame_goaway.cc', 'src/core/ext/transport/chttp2/transport/frame_ping.cc', @@ -1201,33 +1200,37 @@ 'src/core/ext/transport/chttp2/transport/http2_settings.cc', 'src/core/ext/transport/chttp2/transport/http_trace.cc', 'src/core/ext/transport/chttp2/transport/huffsyms.cc', + 'src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc', 'src/core/ext/transport/chttp2/transport/parsing.cc', 'src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc', + 'src/core/ext/transport/chttp2/transport/ping_callbacks.cc', 'src/core/ext/transport/chttp2/transport/ping_rate_policy.cc', 'src/core/ext/transport/chttp2/transport/stream_lists.cc', 'src/core/ext/transport/chttp2/transport/varint.cc', + 'src/core/ext/transport/chttp2/transport/write_size_policy.cc', 'src/core/ext/transport/chttp2/transport/writing.cc', 'src/core/ext/transport/inproc/inproc_plugin.cc', 'src/core/ext/transport/inproc/inproc_transport.cc', - 'src/core/ext/upb-generated/google/api/annotations.upb.c', - 'src/core/ext/upb-generated/google/api/http.upb.c', - 'src/core/ext/upb-generated/google/protobuf/any.upb.c', - 'src/core/ext/upb-generated/google/protobuf/descriptor.upb.c', - 'src/core/ext/upb-generated/google/protobuf/duration.upb.c', - 'src/core/ext/upb-generated/google/protobuf/empty.upb.c', - 'src/core/ext/upb-generated/google/protobuf/struct.upb.c', - 'src/core/ext/upb-generated/google/protobuf/timestamp.upb.c', - 'src/core/ext/upb-generated/google/protobuf/wrappers.upb.c', - 'src/core/ext/upb-generated/google/rpc/status.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c', - 'src/core/ext/upb-generated/validate/validate.upb.c', - 'src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c', - 'src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c', + 'src/core/ext/transport/inproc/legacy_inproc_transport.cc', + 'src/core/ext/upb-gen/google/api/annotations.upb_minitable.c', + 'src/core/ext/upb-gen/google/api/http.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c', + 'src/core/ext/upb-gen/google/rpc/status.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c', + 'src/core/ext/upb-gen/validate/validate.upb_minitable.c', + 'src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c', + 'src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c', 'src/core/lib/address_utils/parse_address.cc', 'src/core/lib/address_utils/sockaddr_utils.cc', 'src/core/lib/backoff/backoff.cc', @@ -1238,6 +1241,7 @@ 'src/core/lib/channel/channel_stack.cc', 'src/core/lib/channel/channel_stack_builder.cc', 'src/core/lib/channel/channel_stack_builder_impl.cc', + 'src/core/lib/channel/channel_stack_trace.cc', 'src/core/lib/channel/channel_trace.cc', 'src/core/lib/channel/channelz.cc', 'src/core/lib/channel/channelz_registry.cc', @@ -1263,12 +1267,12 @@ 'src/core/lib/event_engine/default_event_engine_factory.cc', 'src/core/lib/event_engine/event_engine.cc', 'src/core/lib/event_engine/forkable.cc', - 'src/core/lib/event_engine/memory_allocator.cc', 'src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc', 'src/core/lib/event_engine/posix_engine/ev_poll_posix.cc', 'src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc', 'src/core/lib/event_engine/posix_engine/internal_errqueue.cc', 'src/core/lib/event_engine/posix_engine/lockfree_event.cc', + 'src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc', 'src/core/lib/event_engine/posix_engine/posix_endpoint.cc', 'src/core/lib/event_engine/posix_engine/posix_engine.cc', 'src/core/lib/event_engine/posix_engine/posix_engine_listener.cc', @@ -1293,7 +1297,9 @@ 'src/core/lib/event_engine/time_util.cc', 'src/core/lib/event_engine/trace.cc', 'src/core/lib/event_engine/utils.cc', + 'src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc', 'src/core/lib/event_engine/windows/iocp.cc', + 'src/core/lib/event_engine/windows/native_windows_dns_resolver.cc', 'src/core/lib/event_engine/windows/win_socket.cc', 'src/core/lib/event_engine/windows/windows_endpoint.cc', 'src/core/lib/event_engine/windows/windows_engine.cc', @@ -1349,7 +1355,6 @@ 'src/core/lib/iomgr/iomgr_posix.cc', 'src/core/lib/iomgr/iomgr_posix_cfstream.cc', 'src/core/lib/iomgr/iomgr_windows.cc', - 'src/core/lib/iomgr/load_file.cc', 'src/core/lib/iomgr/lockfree_event.cc', 'src/core/lib/iomgr/polling_entity.cc', 'src/core/lib/iomgr/pollset.cc', @@ -1394,15 +1399,10 @@ 'src/core/lib/json/json_object_loader.cc', 'src/core/lib/json/json_reader.cc', 'src/core/lib/json/json_writer.cc', - 'src/core/lib/load_balancing/lb_policy.cc', - 'src/core/lib/load_balancing/lb_policy_registry.cc', 'src/core/lib/promise/activity.cc', 'src/core/lib/promise/party.cc', 'src/core/lib/promise/sleep.cc', 'src/core/lib/promise/trace.cc', - 'src/core/lib/resolver/resolver.cc', - 'src/core/lib/resolver/resolver_registry.cc', - 'src/core/lib/resolver/server_address.cc', 'src/core/lib/resource_quota/api.cc', 'src/core/lib/resource_quota/arena.cc', 'src/core/lib/resource_quota/memory_quota.cc', @@ -1433,15 +1433,15 @@ 'src/core/lib/security/security_connector/insecure/insecure_security_connector.cc', 'src/core/lib/security/security_connector/load_system_roots_fallback.cc', 'src/core/lib/security/security_connector/load_system_roots_supported.cc', + 'src/core/lib/security/security_connector/load_system_roots_windows.cc', 'src/core/lib/security/security_connector/security_connector.cc', 'src/core/lib/security/transport/client_auth_filter.cc', + 'src/core/lib/security/transport/legacy_server_auth_filter.cc', 'src/core/lib/security/transport/secure_endpoint.cc', 'src/core/lib/security/transport/security_handshaker.cc', 'src/core/lib/security/transport/server_auth_filter.cc', 'src/core/lib/security/transport/tsi_error.cc', 'src/core/lib/security/util/json_util.cc', - 'src/core/lib/service_config/service_config_impl.cc', - 'src/core/lib/service_config/service_config_parser.cc', 'src/core/lib/slice/b64.cc', 'src/core/lib/slice/percent_encoding.cc', 'src/core/lib/slice/slice.cc', @@ -1455,7 +1455,6 @@ 'src/core/lib/surface/call.cc', 'src/core/lib/surface/call_details.cc', 'src/core/lib/surface/call_log_batch.cc', - 'src/core/lib/surface/call_trace.cc', 'src/core/lib/surface/channel.cc', 'src/core/lib/surface/channel_init.cc', 'src/core/lib/surface/channel_ping.cc', @@ -1470,24 +1469,72 @@ 'src/core/lib/surface/server.cc', 'src/core/lib/surface/validate_metadata.cc', 'src/core/lib/surface/version.cc', + 'src/core/lib/surface/wait_for_cq_end_op.cc', 'src/core/lib/transport/batch_builder.cc', 'src/core/lib/transport/bdp_estimator.cc', + 'src/core/lib/transport/call_factory.cc', + 'src/core/lib/transport/call_filters.cc', + 'src/core/lib/transport/call_final_info.cc', + 'src/core/lib/transport/call_size_estimator.cc', + 'src/core/lib/transport/call_spine.cc', 'src/core/lib/transport/connectivity_state.cc', 'src/core/lib/transport/error_utils.cc', 'src/core/lib/transport/handshaker.cc', 'src/core/lib/transport/handshaker_registry.cc', 'src/core/lib/transport/http_connect_handshaker.cc', + 'src/core/lib/transport/message.cc', + 'src/core/lib/transport/metadata.cc', 'src/core/lib/transport/metadata_batch.cc', 'src/core/lib/transport/parsed_metadata.cc', - 'src/core/lib/transport/pid_controller.cc', 'src/core/lib/transport/status_conversion.cc', 'src/core/lib/transport/tcp_connect_handshaker.cc', 'src/core/lib/transport/timeout_encoding.cc', 'src/core/lib/transport/transport.cc', 'src/core/lib/transport/transport_op_string.cc', 'src/core/lib/uri/uri_parser.cc', + 'src/core/load_balancing/address_filtering.cc', + 'src/core/load_balancing/backend_metric_parser.cc', + 'src/core/load_balancing/child_policy_handler.cc', + 'src/core/load_balancing/endpoint_list.cc', + 'src/core/load_balancing/grpclb/client_load_reporting_filter.cc', + 'src/core/load_balancing/grpclb/grpclb.cc', + 'src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc', + 'src/core/load_balancing/grpclb/grpclb_client_stats.cc', + 'src/core/load_balancing/grpclb/load_balancer_api.cc', + 'src/core/load_balancing/health_check_client.cc', + 'src/core/load_balancing/lb_policy.cc', + 'src/core/load_balancing/lb_policy_registry.cc', + 'src/core/load_balancing/oob_backend_metric.cc', + 'src/core/load_balancing/outlier_detection/outlier_detection.cc', + 'src/core/load_balancing/pick_first/pick_first.cc', + 'src/core/load_balancing/priority/priority.cc', + 'src/core/load_balancing/rls/rls.cc', + 'src/core/load_balancing/round_robin/round_robin.cc', + 'src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc', + 'src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc', + 'src/core/load_balancing/weighted_target/weighted_target.cc', 'src/core/plugin_registry/grpc_plugin_registry.cc', 'src/core/plugin_registry/grpc_plugin_registry_noextra.cc', + 'src/core/resolver/binder/binder_resolver.cc', + 'src/core/resolver/dns/c_ares/dns_resolver_ares.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc', + 'src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc', + 'src/core/resolver/dns/dns_resolver_plugin.cc', + 'src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc', + 'src/core/resolver/dns/event_engine/service_config_helper.cc', + 'src/core/resolver/dns/native/dns_resolver.cc', + 'src/core/resolver/endpoint_addresses.cc', + 'src/core/resolver/fake/fake_resolver.cc', + 'src/core/resolver/polling_resolver.cc', + 'src/core/resolver/resolver.cc', + 'src/core/resolver/resolver_registry.cc', + 'src/core/resolver/sockaddr/sockaddr_resolver.cc', + 'src/core/service_config/service_config_channel_arg_filter.cc', + 'src/core/service_config/service_config_impl.cc', + 'src/core/service_config/service_config_parser.cc', 'src/core/tsi/alts/handshaker/transport_security_common_api.cc', 'src/core/tsi/fake_transport_security.cc', 'src/core/tsi/local_transport_security.cc', @@ -1497,16 +1544,28 @@ 'third_party/upb/upb/mini_descriptor/build_enum.c', 'third_party/upb/upb/mini_descriptor/decode.c', 'third_party/upb/upb/mini_descriptor/internal/base92.c', + 'third_party/upb/upb/mini_descriptor/internal/encode.c', 'third_party/upb/upb/mini_descriptor/link.c', + 'third_party/upb/upb/wire/decode.c', + 'third_party/upb/upb/wire/decode_fast.c', + 'third_party/upb/upb/wire/encode.c', + 'third_party/upb/upb/wire/eps_copy_input_stream.c', + 'third_party/upb/upb/wire/reader.c', ], }, { 'target_name': 'gtest', 'type': 'static_library', 'dependencies': [ + 're2', + 'absl/container:flat_hash_set', 'absl/debugging:failure_signal_handler', 'absl/debugging:stacktrace', 'absl/debugging:symbolize', + 'absl/flags:flag', + 'absl/flags:parse', + 'absl/flags:reflection', + 'absl/flags:usage', 'absl/strings:strings', 'absl/types:any', 'absl/types:optional', @@ -1560,71 +1619,35 @@ ], }, { - 'target_name': 'upb', - 'type': 'static_library', - 'dependencies': [ - 'utf8_range_lib', - ], - 'sources': [ - 'third_party/upb/upb/base/status.c', - 'third_party/upb/upb/collections/array.c', - 'third_party/upb/upb/collections/map.c', - 'third_party/upb/upb/collections/map_sorter.c', - 'third_party/upb/upb/hash/common.c', - 'third_party/upb/upb/lex/atoi.c', - 'third_party/upb/upb/lex/round_trip.c', - 'third_party/upb/upb/lex/strtod.c', - 'third_party/upb/upb/lex/unicode.c', - 'third_party/upb/upb/mem/alloc.c', - 'third_party/upb/upb/mem/arena.c', - 'third_party/upb/upb/message/message.c', - 'third_party/upb/upb/mini_table/extension_registry.c', - 'third_party/upb/upb/mini_table/internal/message.c', - 'third_party/upb/upb/mini_table/message.c', - 'third_party/upb/upb/wire/decode.c', - 'third_party/upb/upb/wire/decode_fast.c', - 'third_party/upb/upb/wire/encode.c', - 'third_party/upb/upb/wire/eps_copy_input_stream.c', - 'third_party/upb/upb/wire/reader.c', - ], - }, - { - 'target_name': 'upb_collections_lib', + 'target_name': 'upb_base_lib', 'type': 'static_library', 'dependencies': [ ], 'sources': [ 'third_party/upb/upb/base/status.c', - 'third_party/upb/upb/collections/array.c', - 'third_party/upb/upb/collections/map.c', - 'third_party/upb/upb/collections/map_sorter.c', - 'third_party/upb/upb/hash/common.c', - 'third_party/upb/upb/mem/alloc.c', - 'third_party/upb/upb/mem/arena.c', - 'third_party/upb/upb/message/message.c', - 'third_party/upb/upb/mini_table/extension_registry.c', - 'third_party/upb/upb/mini_table/internal/message.c', - 'third_party/upb/upb/mini_table/message.c', ], }, { 'target_name': 'upb_json_lib', 'type': 'static_library', 'dependencies': [ - 'upb_collections_lib', - 'upb', + 'upb_message_lib', + 'utf8_range_lib', ], 'sources': [ - 'src/core/ext/upb-generated/google/protobuf/descriptor.upb.c', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c', 'third_party/upb/upb/json/decode.c', 'third_party/upb/upb/json/encode.c', + 'third_party/upb/upb/lex/atoi.c', + 'third_party/upb/upb/lex/round_trip.c', + 'third_party/upb/upb/lex/strtod.c', + 'third_party/upb/upb/lex/unicode.c', 'third_party/upb/upb/message/accessors.c', 'third_party/upb/upb/mini_descriptor/build_enum.c', 'third_party/upb/upb/mini_descriptor/decode.c', 'third_party/upb/upb/mini_descriptor/internal/base92.c', 'third_party/upb/upb/mini_descriptor/internal/encode.c', 'third_party/upb/upb/mini_descriptor/link.c', - 'third_party/upb/upb/reflection/def_builder.c', 'third_party/upb/upb/reflection/def_pool.c', 'third_party/upb/upb/reflection/def_type.c', 'third_party/upb/upb/reflection/desc_state.c', @@ -1634,30 +1657,68 @@ 'third_party/upb/upb/reflection/extension_range.c', 'third_party/upb/upb/reflection/field_def.c', 'third_party/upb/upb/reflection/file_def.c', + 'third_party/upb/upb/reflection/internal/def_builder.c', + 'third_party/upb/upb/reflection/internal/strdup2.c', 'third_party/upb/upb/reflection/message.c', 'third_party/upb/upb/reflection/message_def.c', 'third_party/upb/upb/reflection/message_reserved_range.c', 'third_party/upb/upb/reflection/method_def.c', 'third_party/upb/upb/reflection/oneof_def.c', 'third_party/upb/upb/reflection/service_def.c', + 'third_party/upb/upb/wire/decode.c', + 'third_party/upb/upb/wire/decode_fast.c', + 'third_party/upb/upb/wire/encode.c', + 'third_party/upb/upb/wire/eps_copy_input_stream.c', + 'third_party/upb/upb/wire/reader.c', + ], + }, + { + 'target_name': 'upb_mem_lib', + 'type': 'static_library', + 'dependencies': [ + ], + 'sources': [ + 'third_party/upb/upb/mem/alloc.c', + 'third_party/upb/upb/mem/arena.c', + ], + }, + { + 'target_name': 'upb_message_lib', + 'type': 'static_library', + 'dependencies': [ + 'upb_base_lib', + 'upb_mem_lib', + ], + 'sources': [ + 'third_party/upb/upb/hash/common.c', + 'third_party/upb/upb/message/array.c', + 'third_party/upb/upb/message/map.c', + 'third_party/upb/upb/message/map_sorter.c', + 'third_party/upb/upb/message/message.c', + 'third_party/upb/upb/mini_table/extension_registry.c', + 'third_party/upb/upb/mini_table/internal/message.c', + 'third_party/upb/upb/mini_table/message.c', ], }, { 'target_name': 'upb_textformat_lib', 'type': 'static_library', 'dependencies': [ - 'upb_collections_lib', - 'upb', + 'upb_message_lib', + 'utf8_range_lib', ], 'sources': [ - 'src/core/ext/upb-generated/google/protobuf/descriptor.upb.c', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c', + 'third_party/upb/upb/lex/atoi.c', + 'third_party/upb/upb/lex/round_trip.c', + 'third_party/upb/upb/lex/strtod.c', + 'third_party/upb/upb/lex/unicode.c', 'third_party/upb/upb/message/accessors.c', 'third_party/upb/upb/mini_descriptor/build_enum.c', 'third_party/upb/upb/mini_descriptor/decode.c', 'third_party/upb/upb/mini_descriptor/internal/base92.c', 'third_party/upb/upb/mini_descriptor/internal/encode.c', 'third_party/upb/upb/mini_descriptor/link.c', - 'third_party/upb/upb/reflection/def_builder.c', 'third_party/upb/upb/reflection/def_pool.c', 'third_party/upb/upb/reflection/def_type.c', 'third_party/upb/upb/reflection/desc_state.c', @@ -1667,6 +1728,8 @@ 'third_party/upb/upb/reflection/extension_range.c', 'third_party/upb/upb/reflection/field_def.c', 'third_party/upb/upb/reflection/file_def.c', + 'third_party/upb/upb/reflection/internal/def_builder.c', + 'third_party/upb/upb/reflection/internal/strdup2.c', 'third_party/upb/upb/reflection/message.c', 'third_party/upb/upb/reflection/message_def.c', 'third_party/upb/upb/reflection/message_reserved_range.c', @@ -1674,6 +1737,11 @@ 'third_party/upb/upb/reflection/oneof_def.c', 'third_party/upb/upb/reflection/service_def.c', 'third_party/upb/upb/text/encode.c', + 'third_party/upb/upb/wire/decode.c', + 'third_party/upb/upb/wire/decode_fast.c', + 'third_party/upb/upb/wire/encode.c', + 'third_party/upb/upb/wire/eps_copy_input_stream.c', + 'third_party/upb/upb/wire/reader.c', ], }, { @@ -1726,7 +1794,6 @@ 'test/core/util/histogram.cc', 'test/core/util/mock_endpoint.cc', 'test/core/util/parse_hexstring.cc', - 'test/core/util/passthru_endpoint.cc', 'test/core/util/resolve_localhost_ip46.cc', 'test/core/util/slice_splitter.cc', 'test/core/util/tracer_util.cc', @@ -1773,7 +1840,6 @@ 'src/cpp/common/alarm.cc', 'src/cpp/common/auth_property_iterator.cc', 'src/cpp/common/channel_arguments.cc', - 'src/cpp/common/channel_filter.cc', 'src/cpp/common/completion_queue_cc.cc', 'src/cpp/common/resource_quota_cc.cc', 'src/cpp/common/rpc_method.cc', @@ -1800,6 +1866,7 @@ 'src/cpp/server/server_cc.cc', 'src/cpp/server/server_context.cc', 'src/cpp/server/server_posix.cc', + 'src/cpp/server/xds_server_builder.cc', 'src/cpp/server/xds_server_credentials.cc', 'src/cpp/thread_manager/thread_manager.cc', 'src/cpp/util/byte_buffer_cc.cc', @@ -1836,6 +1903,7 @@ 'grpc++', ], 'sources': [ + 'src/proto/grpc/reflection/v1/reflection.proto', 'src/proto/grpc/reflection/v1alpha/reflection.proto', 'src/cpp/ext/proto_server_reflection.cc', 'src/cpp/ext/proto_server_reflection_plugin.cc', @@ -1883,7 +1951,6 @@ 'test/core/util/histogram.cc', 'test/core/util/mock_endpoint.cc', 'test/core/util/parse_hexstring.cc', - 'test/core/util/passthru_endpoint.cc', 'test/core/util/resolve_localhost_ip46.cc', 'test/core/util/slice_splitter.cc', 'test/core/util/tracer_util.cc', @@ -1913,7 +1980,6 @@ 'src/cpp/client/insecure_credentials.cc', 'src/cpp/common/alarm.cc', 'src/cpp/common/channel_arguments.cc', - 'src/cpp/common/channel_filter.cc', 'src/cpp/common/completion_queue_cc.cc', 'src/cpp/common/insecure_create_auth_context.cc', 'src/cpp/common/resource_quota_cc.cc', @@ -1945,9 +2011,11 @@ 'target_name': 'grpc_authorization_provider', 'type': 'static_library', 'dependencies': [ + 'upb_message_lib', 're2', - 'upb', + 'utf8_range_lib', 'z', + 'absl/base:config', 'absl/cleanup:cleanup', 'absl/container:flat_hash_map', 'absl/container:flat_hash_set', @@ -1955,28 +2023,33 @@ 'absl/functional:function_ref', 'absl/hash:hash', 'absl/meta:type_traits', + 'absl/random:bit_gen_ref', + 'absl/random:distributions', 'absl/status:statusor', 'absl/types:span', 'absl/utility:utility', 'cares', 'gpr', + 'address_sorting', ], 'sources': [ - 'src/core/ext/upb-generated/google/protobuf/any.upb.c', - 'src/core/ext/upb-generated/google/protobuf/descriptor.upb.c', - 'src/core/ext/upb-generated/google/rpc/status.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c', - 'src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c', + 'src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c', + 'src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c', + 'src/core/ext/upb-gen/google/rpc/status.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c', + 'src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c', 'src/core/lib/address_utils/parse_address.cc', 'src/core/lib/address_utils/sockaddr_utils.cc', 'src/core/lib/backoff/backoff.cc', + 'src/core/lib/backoff/random_early_detection.cc', 'src/core/lib/channel/call_tracer.cc', 'src/core/lib/channel/channel_args.cc', 'src/core/lib/channel/channel_args_preconditioning.cc', 'src/core/lib/channel/channel_stack.cc', 'src/core/lib/channel/channel_stack_builder.cc', 'src/core/lib/channel/channel_stack_builder_impl.cc', + 'src/core/lib/channel/channel_stack_trace.cc', 'src/core/lib/channel/channel_trace.cc', 'src/core/lib/channel/channelz.cc', 'src/core/lib/channel/channelz_registry.cc', @@ -2002,12 +2075,12 @@ 'src/core/lib/event_engine/default_event_engine_factory.cc', 'src/core/lib/event_engine/event_engine.cc', 'src/core/lib/event_engine/forkable.cc', - 'src/core/lib/event_engine/memory_allocator.cc', 'src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc', 'src/core/lib/event_engine/posix_engine/ev_poll_posix.cc', 'src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc', 'src/core/lib/event_engine/posix_engine/internal_errqueue.cc', 'src/core/lib/event_engine/posix_engine/lockfree_event.cc', + 'src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc', 'src/core/lib/event_engine/posix_engine/posix_endpoint.cc', 'src/core/lib/event_engine/posix_engine/posix_engine.cc', 'src/core/lib/event_engine/posix_engine/posix_engine_listener.cc', @@ -2032,7 +2105,9 @@ 'src/core/lib/event_engine/time_util.cc', 'src/core/lib/event_engine/trace.cc', 'src/core/lib/event_engine/utils.cc', + 'src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc', 'src/core/lib/event_engine/windows/iocp.cc', + 'src/core/lib/event_engine/windows/native_windows_dns_resolver.cc', 'src/core/lib/event_engine/windows/win_socket.cc', 'src/core/lib/event_engine/windows/windows_endpoint.cc', 'src/core/lib/event_engine/windows/windows_engine.cc', @@ -2085,7 +2160,6 @@ 'src/core/lib/iomgr/iomgr_posix.cc', 'src/core/lib/iomgr/iomgr_posix_cfstream.cc', 'src/core/lib/iomgr/iomgr_windows.cc', - 'src/core/lib/iomgr/load_file.cc', 'src/core/lib/iomgr/lockfree_event.cc', 'src/core/lib/iomgr/polling_entity.cc', 'src/core/lib/iomgr/pollset.cc', @@ -2129,15 +2203,10 @@ 'src/core/lib/iomgr/wakeup_fd_posix.cc', 'src/core/lib/json/json_reader.cc', 'src/core/lib/json/json_writer.cc', - 'src/core/lib/load_balancing/lb_policy.cc', - 'src/core/lib/load_balancing/lb_policy_registry.cc', 'src/core/lib/matchers/matchers.cc', 'src/core/lib/promise/activity.cc', 'src/core/lib/promise/party.cc', 'src/core/lib/promise/trace.cc', - 'src/core/lib/resolver/resolver.cc', - 'src/core/lib/resolver/resolver_registry.cc', - 'src/core/lib/resolver/server_address.cc', 'src/core/lib/resource_quota/api.cc', 'src/core/lib/resource_quota/arena.cc', 'src/core/lib/resource_quota/memory_quota.cc', @@ -2171,14 +2240,15 @@ 'src/core/lib/security/credentials/tls/tls_utils.cc', 'src/core/lib/security/security_connector/load_system_roots_fallback.cc', 'src/core/lib/security/security_connector/load_system_roots_supported.cc', + 'src/core/lib/security/security_connector/load_system_roots_windows.cc', 'src/core/lib/security/security_connector/security_connector.cc', 'src/core/lib/security/transport/client_auth_filter.cc', + 'src/core/lib/security/transport/legacy_server_auth_filter.cc', 'src/core/lib/security/transport/secure_endpoint.cc', 'src/core/lib/security/transport/security_handshaker.cc', 'src/core/lib/security/transport/server_auth_filter.cc', 'src/core/lib/security/transport/tsi_error.cc', 'src/core/lib/security/util/json_util.cc', - 'src/core/lib/service_config/service_config_parser.cc', 'src/core/lib/slice/b64.cc', 'src/core/lib/slice/percent_encoding.cc', 'src/core/lib/slice/slice.cc', @@ -2192,7 +2262,6 @@ 'src/core/lib/surface/call.cc', 'src/core/lib/surface/call_details.cc', 'src/core/lib/surface/call_log_batch.cc', - 'src/core/lib/surface/call_trace.cc', 'src/core/lib/surface/channel.cc', 'src/core/lib/surface/channel_init.cc', 'src/core/lib/surface/channel_ping.cc', @@ -2206,11 +2275,19 @@ 'src/core/lib/surface/server.cc', 'src/core/lib/surface/validate_metadata.cc', 'src/core/lib/surface/version.cc', + 'src/core/lib/surface/wait_for_cq_end_op.cc', 'src/core/lib/transport/batch_builder.cc', + 'src/core/lib/transport/call_factory.cc', + 'src/core/lib/transport/call_filters.cc', + 'src/core/lib/transport/call_final_info.cc', + 'src/core/lib/transport/call_size_estimator.cc', + 'src/core/lib/transport/call_spine.cc', 'src/core/lib/transport/connectivity_state.cc', 'src/core/lib/transport/error_utils.cc', 'src/core/lib/transport/handshaker.cc', 'src/core/lib/transport/handshaker_registry.cc', + 'src/core/lib/transport/message.cc', + 'src/core/lib/transport/metadata.cc', 'src/core/lib/transport/metadata_batch.cc', 'src/core/lib/transport/parsed_metadata.cc', 'src/core/lib/transport/status_conversion.cc', @@ -2218,6 +2295,12 @@ 'src/core/lib/transport/transport.cc', 'src/core/lib/transport/transport_op_string.cc', 'src/core/lib/uri/uri_parser.cc', + 'src/core/load_balancing/lb_policy.cc', + 'src/core/load_balancing/lb_policy_registry.cc', + 'src/core/resolver/endpoint_addresses.cc', + 'src/core/resolver/resolver.cc', + 'src/core/resolver/resolver_registry.cc', + 'src/core/service_config/service_config_parser.cc', 'src/core/tsi/alts/handshaker/transport_security_common_api.cc', 'src/core/tsi/transport_security.cc', 'src/core/tsi/transport_security_grpc.cc', @@ -2225,7 +2308,13 @@ 'third_party/upb/upb/mini_descriptor/build_enum.c', 'third_party/upb/upb/mini_descriptor/decode.c', 'third_party/upb/upb/mini_descriptor/internal/base92.c', + 'third_party/upb/upb/mini_descriptor/internal/encode.c', 'third_party/upb/upb/mini_descriptor/link.c', + 'third_party/upb/upb/wire/decode.c', + 'third_party/upb/upb/wire/decode_fast.c', + 'third_party/upb/upb/wire/encode.c', + 'third_party/upb/upb/wire/eps_copy_input_stream.c', + 'third_party/upb/upb/wire/reader.c', ], }, { @@ -2374,7 +2463,7 @@ 'third_party/boringssl-with-bazel/src/crypto/fipsmodule/fips_shared_support.c', 'third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c', 'third_party/boringssl-with-bazel/src/crypto/hrss/hrss.c', - 'third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c', + 'third_party/boringssl-with-bazel/src/crypto/keccak/keccak.c', 'third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c', 'third_party/boringssl-with-bazel/src/crypto/lhash/lhash.c', 'third_party/boringssl-with-bazel/src/crypto/mem.c', @@ -2411,6 +2500,13 @@ 'third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c', 'third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_print.c', 'third_party/boringssl-with-bazel/src/crypto/siphash/siphash.c', + 'third_party/boringssl-with-bazel/src/crypto/spx/address.c', + 'third_party/boringssl-with-bazel/src/crypto/spx/fors.c', + 'third_party/boringssl-with-bazel/src/crypto/spx/merkle.c', + 'third_party/boringssl-with-bazel/src/crypto/spx/spx.c', + 'third_party/boringssl-with-bazel/src/crypto/spx/spx_util.c', + 'third_party/boringssl-with-bazel/src/crypto/spx/thash.c', + 'third_party/boringssl-with-bazel/src/crypto/spx/wots.c', 'third_party/boringssl-with-bazel/src/crypto/stack/stack.c', 'third_party/boringssl-with-bazel/src/crypto/thread.c', 'third_party/boringssl-with-bazel/src/crypto/thread_none.c', @@ -2434,6 +2530,29 @@ 'third_party/boringssl-with-bazel/src/crypto/x509/t_req.c', 'third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c', 'third_party/boringssl-with-bazel/src/crypto/x509/t_x509a.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_akey.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_akeya.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_alt.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_bcons.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_bitst.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_conf.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_enum.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_extku.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_genn.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_ia5.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_int.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_ncons.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_ocsp.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_pcons.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_pmaps.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_prn.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_skey.c', + 'third_party/boringssl-with-bazel/src/crypto/x509/v3_utl.c', 'third_party/boringssl-with-bazel/src/crypto/x509/x509.c', 'third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c', 'third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c', @@ -2458,9 +2577,7 @@ 'third_party/boringssl-with-bazel/src/crypto/x509/x_attrib.c', 'third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c', 'third_party/boringssl-with-bazel/src/crypto/x509/x_exten.c', - 'third_party/boringssl-with-bazel/src/crypto/x509/x_info.c', 'third_party/boringssl-with-bazel/src/crypto/x509/x_name.c', - 'third_party/boringssl-with-bazel/src/crypto/x509/x_pkey.c', 'third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c', 'third_party/boringssl-with-bazel/src/crypto/x509/x_req.c', 'third_party/boringssl-with-bazel/src/crypto/x509/x_sig.c', @@ -2468,29 +2585,6 @@ 'third_party/boringssl-with-bazel/src/crypto/x509/x_val.c', 'third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c', 'third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akey.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akeya.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bcons.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bitst.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_crld.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_extku.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ia5.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_int.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ncons.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ocsp.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcons.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pmaps.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c', - 'third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c', 'third_party/boringssl-with-bazel/src/ssl/bio_ssl.cc', 'third_party/boringssl-with-bazel/src/ssl/d1_both.cc', 'third_party/boringssl-with-bazel/src/ssl/d1_lib.cc', diff --git a/include/grpc++/impl/.clang-format b/include/grpc++/impl/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/include/grpc++/impl/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/include/grpc/.clang-format b/include/grpc/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/include/grpc/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/include/grpc/event_engine/event_engine.h b/include/grpc/event_engine/event_engine.h index 2130f7feb1a..727fb6ddfee 100644 --- a/include/grpc/event_engine/event_engine.h +++ b/include/grpc/event_engine/event_engine.h @@ -16,7 +16,6 @@ #include -#include #include #include "absl/functional/any_invocable.h" @@ -24,6 +23,7 @@ #include "absl/status/statusor.h" #include +#include #include #include #include @@ -79,7 +79,7 @@ namespace experimental { /// /// /// Blocking EventEngine Callbacks -/// ----------------------------- +/// ------------------------------ /// /// Doing blocking work in EventEngine callbacks is generally not advisable. /// While gRPC's default EventEngine implementations have some capacity to scale @@ -90,8 +90,18 @@ namespace experimental { /// *Best Practice* : Occasional blocking work may be fine, but we do not /// recommend running a mostly blocking workload in EventEngine threads. /// +/// +/// Thread-safety guarantees +/// ------------------------ +/// +/// All EventEngine methods are guaranteed to be thread-safe, no external +/// synchronization is required to call any EventEngine method. Please note that +/// this does not apply to application callbacks, which may be run concurrently; +/// application state synchronization must be managed by the application. +/// //////////////////////////////////////////////////////////////////////////////// -class EventEngine : public std::enable_shared_from_this { +class EventEngine : public std::enable_shared_from_this, + public Extensible { public: /// A duration between two events. /// @@ -167,7 +177,7 @@ class EventEngine : public std::enable_shared_from_this { /// allocations. gRPC allows applications to set memory constraints per /// Channel or Server, and the implementation depends on all dynamic memory /// allocation being handled by the quota system. - class Endpoint { + class Endpoint : public Extensible { public: /// Shuts down all connections and invokes all pending read or write /// callbacks with an error status. @@ -259,7 +269,7 @@ class EventEngine : public std::enable_shared_from_this { /// Listens for incoming connection requests from gRPC clients and initiates /// request processing once connections are established. - class Listener { + class Listener : public Extensible { public: /// Called when the listener has accepted a new client connection. using AcceptCallback = absl::AnyInvocable { /// Asynchronously executes a task as soon as possible. /// - /// \a Closures scheduled with \a Run cannot be cancelled. The \a closure will - /// not be deleted after it has been run, ownership remains with the caller. + /// \a Closures passed to \a Run cannot be cancelled. The \a closure will not + /// be deleted after it has been run, ownership remains with the caller. /// /// Implementations must not execute the closure in the calling thread before /// \a Run returns. For example, if the caller must release a lock before the @@ -415,9 +425,9 @@ class EventEngine : public std::enable_shared_from_this { virtual void Run(Closure* closure) = 0; /// Asynchronously executes a task as soon as possible. /// - /// \a Closures scheduled with \a Run cannot be cancelled. Unlike the - /// overloaded \a Closure alternative, the absl::AnyInvocable version's \a - /// closure will be deleted by the EventEngine after the closure has been run. + /// \a Closures passed to \a Run cannot be cancelled. Unlike the overloaded \a + /// Closure alternative, the absl::AnyInvocable version's \a closure will be + /// deleted by the EventEngine after the closure has been run. /// /// This version of \a Run may be less performant than the \a Closure version /// in some scenarios. This overload is useful in situations where performance @@ -453,13 +463,12 @@ class EventEngine : public std::enable_shared_from_this { absl::AnyInvocable closure) = 0; /// Request cancellation of a task. /// - /// If the associated closure has already been scheduled to run, it will not - /// be cancelled, and this function will return false. + /// If the associated closure cannot be cancelled for any reason, this + /// function will return false. /// - /// If the associated closure has not been scheduled to run, it will be - /// cancelled, and this method will return true. The associated - /// absl::AnyInvocable or \a Closure* will not be called. If the closure type - /// was an absl::AnyInvocable, it will be destroyed before the method returns. + /// If the associated closure can be cancelled, the associated callback will + /// never be run, and this method will return true. If the callback type was + /// an absl::AnyInvocable, it will be destroyed before the method returns. virtual bool Cancel(TaskHandle handle) = 0; }; diff --git a/include/grpc/event_engine/extensible.h b/include/grpc/event_engine/extensible.h new file mode 100644 index 00000000000..77483c82ab1 --- /dev/null +++ b/include/grpc/event_engine/extensible.h @@ -0,0 +1,68 @@ +// Copyright 2024 The gRPC Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_EVENT_ENGINE_EXTENSIBLE_H +#define GRPC_EVENT_ENGINE_EXTENSIBLE_H + +#include + +#include "absl/strings/string_view.h" + +namespace grpc_event_engine { +namespace experimental { + +class Extensible { + public: + /// A method which allows users to query whether an implementation supports a + /// specified extension. The name of the extension is provided as an input. + /// + /// An extension could be any type with a unique string id. Each extension may + /// support additional capabilities and if the implementation supports the + /// queried extension, it should return a valid pointer to the extension type. + /// + /// E.g., use case of an EventEngine::Endpoint supporting a custom extension. + /// + /// class CustomEndpointExtension { + /// public: + /// static std::string EndpointExtensionName() { + /// return "my.namespace.extension_name"; + /// } + /// virtual void Process() = 0; + /// } + /// + /// class CustomEndpoint : + /// public EventEngine::Endpoint, public CustomEndpointExtension { + /// public: + /// void* QueryExtension(absl::string_view id) override { + /// if (id == CustomEndpointExtension::EndpointExtensionName()) { + /// return static_cast(this); + /// } + /// return nullptr; + /// } + /// void Process() override { ... } + /// ... + /// } + /// + /// auto endpoint = + /// static_cast(endpoint->QueryExtension( + /// CustomEndpointExtension::EndpointExtensionName())); + /// if (endpoint != nullptr) endpoint->Process(); + /// + virtual void* QueryExtension(absl::string_view /*id*/) { return nullptr; } +}; + +} // namespace experimental +} // namespace grpc_event_engine + +#endif // GRPC_EVENT_ENGINE_EXTENSIBLE_H diff --git a/include/grpc/event_engine/internal/memory_allocator_impl.h b/include/grpc/event_engine/internal/memory_allocator_impl.h index 8397b3d9706..e34ffc7f9c2 100644 --- a/include/grpc/event_engine/internal/memory_allocator_impl.h +++ b/include/grpc/event_engine/internal/memory_allocator_impl.h @@ -50,6 +50,12 @@ class MemoryAllocatorImpl /// request.max() inclusively. virtual size_t Reserve(MemoryRequest request) = 0; + /// Allocate a slice, using MemoryRequest to size the number of returned + /// bytes. For a variable length request, check the returned slice length to + /// verify how much memory was allocated. Takes care of reserving memory for + /// any relevant control structures also. + virtual grpc_slice MakeSlice(MemoryRequest request) = 0; + /// Release some bytes that were previously reserved. /// If more bytes are released than were reserved, we will have undefined /// behavior. diff --git a/include/grpc/event_engine/internal/slice_cast.h b/include/grpc/event_engine/internal/slice_cast.h index 8bcca60a24a..3f9593464cf 100644 --- a/include/grpc/event_engine/internal/slice_cast.h +++ b/include/grpc/event_engine/internal/slice_cast.h @@ -60,6 +60,18 @@ Result& SliceCast(T& value, SliceCastable = {}) { return reinterpret_cast(value); } +// Cast to `Result&&` from `T&&` without any runtime checks. +// This is only valid if `sizeof(Result) == sizeof(T)`, and if `Result`, `T` are +// opted in as compatible via `SliceCastable`. +template +Result&& SliceCast(T&& value, SliceCastable = {}) { + // Insist upon sizes being equal to catch mismatches. + // We assume if sizes are opted in and sizes are equal then yes, these two + // types are expected to be layout compatible and actually appear to be. + static_assert(sizeof(Result) == sizeof(T), "size mismatch"); + return reinterpret_cast(value); +} + } // namespace internal } // namespace experimental } // namespace grpc_event_engine diff --git a/include/grpc/event_engine/memory_allocator.h b/include/grpc/event_engine/memory_allocator.h index b3143d8dd6a..cd14e3a9337 100644 --- a/include/grpc/event_engine/memory_allocator.h +++ b/include/grpc/event_engine/memory_allocator.h @@ -134,7 +134,9 @@ class MemoryAllocator { /// bytes. For a variable length request, check the returned slice length to /// verify how much memory was allocated. Takes care of reserving memory for /// any relevant control structures also. - grpc_slice MakeSlice(MemoryRequest request); + grpc_slice MakeSlice(MemoryRequest request) { + return allocator_->MakeSlice(request); + } /// A C++ allocator for containers of T. template diff --git a/include/grpc/event_engine/slice.h b/include/grpc/event_engine/slice.h index 8d49f391600..ce7693f6489 100644 --- a/include/grpc/event_engine/slice.h +++ b/include/grpc/event_engine/slice.h @@ -169,6 +169,11 @@ struct CopyConstructors { return Out(grpc_slice_from_copied_buffer(p, len)); } + static Out FromCopiedBuffer(const uint8_t* p, size_t len) { + return Out( + grpc_slice_from_copied_buffer(reinterpret_cast(p), len)); + } + template static Out FromCopiedBuffer(const Buffer& buffer) { return FromCopiedBuffer(reinterpret_cast(buffer.data()), diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h index d03f8a7df0c..ad475897b17 100644 --- a/include/grpc/grpc.h +++ b/include/grpc/grpc.h @@ -177,12 +177,6 @@ GRPCAPI int grpc_completion_queue_thread_local_cache_flush( GRPCAPI grpc_connectivity_state grpc_channel_check_connectivity_state( grpc_channel* channel, int try_to_connect); -/** Number of active "external connectivity state watchers" attached to a - * channel. - * Useful for testing. **/ -GRPCAPI int grpc_channel_num_external_connectivity_watchers( - grpc_channel* channel); - /** Watch for a change in connectivity state. Once the channel connectivity state is different from last_observed_state, tag will be enqueued on cq with success=1. diff --git a/include/grpc/grpc_crl_provider.h b/include/grpc/grpc_crl_provider.h new file mode 100644 index 00000000000..43f0310b2aa --- /dev/null +++ b/include/grpc/grpc_crl_provider.h @@ -0,0 +1,94 @@ +// +// +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// + +#ifndef GRPC_GRPC_CRL_PROVIDER_H +#define GRPC_GRPC_CRL_PROVIDER_H + +#include + +#include +#include + +#include "absl/status/statusor.h" +#include "absl/strings/string_view.h" + +#include + +namespace grpc_core { +namespace experimental { + +// Opaque representation of a CRL. Must be thread safe. +class Crl { + public: + static absl::StatusOr> Parse( + absl::string_view crl_string); + virtual ~Crl() = default; + virtual absl::string_view Issuer() = 0; +}; + +// Information about a certificate to be used to fetch its associated CRL. Must +// be thread safe. +class CertificateInfo { + public: + virtual ~CertificateInfo() = default; + virtual absl::string_view Issuer() const = 0; +}; + +// The base class for CRL Provider implementations. +// CrlProviders can be passed in as a way to supply CRLs during handshakes. +// CrlProviders must be thread safe. They are on the critical path of gRPC +// creating a connection and doing a handshake, so the implementation of +// `GetCrl` should be very fast. It is suggested to have an in-memory map of +// CRLs for quick lookup and return, and doing expensive updates to this map +// asynchronously. +class CrlProvider { + public: + virtual ~CrlProvider() = default; + // Get the CRL associated with a certificate. Read-only. + virtual std::shared_ptr GetCrl( + const CertificateInfo& certificate_info) = 0; +}; + +absl::StatusOr> CreateStaticCrlProvider( + absl::Span crls); + +// Creates a CRL Provider that periodically and asynchronously reloads a +// directory. The refresh_duration minimum is 60 seconds. The +// reload_error_callback provides a way for the user to specifically log or +// otherwise notify of errors during reloading. Since reloading is asynchronous +// and not on the main codepath, the grpc process will continue to run through +// reloading errors, so this mechanism is an important way to provide signals to +// your monitoring and alerting setup. +absl::StatusOr> CreateDirectoryReloaderCrlProvider( + absl::string_view directory, std::chrono::seconds refresh_duration, + std::function reload_error_callback); + +} // namespace experimental +} // namespace grpc_core + +// TODO(gtcooke94) - Mark with api macro when all wrapped langauges support C++ +// in core APIs +/** + * EXPERIMENTAL API - Subject to change + * + * Sets the crl provider in the options. + */ +void grpc_tls_credentials_options_set_crl_provider( + grpc_tls_credentials_options* options, + std::shared_ptr provider); +#endif /* GRPC_GRPC_CRL_PROVIDER_H */ diff --git a/include/grpc/grpc_security.h b/include/grpc/grpc_security.h index 986683d4051..c81b81a207b 100644 --- a/include/grpc/grpc_security.h +++ b/include/grpc/grpc_security.h @@ -815,6 +815,40 @@ GRPCAPI void grpc_tls_certificate_provider_release( */ GRPCAPI grpc_tls_credentials_options* grpc_tls_credentials_options_create(void); +/** + * EXPERIMENTAL API - Subject to change + * + * Sets the minimum TLS version that will be negotiated during the TLS + * handshake. If not set, the underlying SSL library will set it to TLS v1.2. + */ +GRPCAPI void grpc_tls_credentials_options_set_min_tls_version( + grpc_tls_credentials_options* options, grpc_tls_version min_tls_version); + +/** + * EXPERIMENTAL API - Subject to change + * + * Sets the maximum TLS version that will be negotiated during the TLS + * handshake. If not set, the underlying SSL library will set it to TLS v1.3. + */ +GRPCAPI void grpc_tls_credentials_options_set_max_tls_version( + grpc_tls_credentials_options* options, grpc_tls_version max_tls_version); + +/** + * EXPERIMENTAL API - Subject to change + * + * Copies a grpc_tls_credentials_options. + */ +GRPCAPI grpc_tls_credentials_options* grpc_tls_credentials_options_copy( + grpc_tls_credentials_options* options); + +/** + * EXPERIMENTAL API - Subject to change + * + * Destroys a grpc_tls_credentials_options. + */ +GRPCAPI void grpc_tls_credentials_options_destroy( + grpc_tls_credentials_options* options); + /** * EXPERIMENTAL API - Subject to change * @@ -878,7 +912,10 @@ GRPCAPI void grpc_tls_credentials_options_set_identity_cert_name( GRPCAPI void grpc_tls_credentials_options_set_cert_request_type( grpc_tls_credentials_options* options, grpc_ssl_client_certificate_request_type type); -/** + +/** Deprecated in favor of grpc_tls_credentials_options_set_crl_provider. The + * crl provider interface provides a significantly more flexible approach to + * using CRLs. See gRFC A69 for details. * EXPERIMENTAL API - Subject to change * * If set, gRPC will read all hashed x.509 CRL files in the directory and diff --git a/include/grpc/impl/call.h b/include/grpc/impl/call.h new file mode 100644 index 00000000000..d1f7c2642b0 --- /dev/null +++ b/include/grpc/impl/call.h @@ -0,0 +1,29 @@ +// Copyright 2023 The gRPC Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_IMPL_CALL_H +#define GRPC_IMPL_CALL_H + +#include + +#include "absl/functional/any_invocable.h" + +#include + +// Run a callback in the call's EventEngine. +// Internal-only +void grpc_call_run_in_event_engine(const grpc_call* call, + absl::AnyInvocable cb); + +#endif /* GRPC_IMPL_CALL_H */ diff --git a/include/grpc/impl/channel_arg_names.h b/include/grpc/impl/channel_arg_names.h index 669529baa87..b42bf7026ef 100644 --- a/include/grpc/impl/channel_arg_names.h +++ b/include/grpc/impl/channel_arg_names.h @@ -15,7 +15,7 @@ #ifndef GRPC_IMPL_CHANNEL_ARG_NAMES_H #define GRPC_IMPL_CHANNEL_ARG_NAMES_H -// IWYU pragma: private, include "third_party/grpc/include/grpc/grpc.h" +// IWYU pragma: private, include // IWYU pragma: friend "src/.*" // IWYU pragma: friend "test/.*" @@ -106,6 +106,12 @@ */ #define GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS \ "grpc.http2.min_ping_interval_without_data_ms" +/** Maximum time to allow a request to be: + (1) received by the server, but + (2) not requested by a RequestCall (in the completion queue based API) + before the request is cancelled */ +#define GRPC_ARG_SERVER_MAX_UNREQUESTED_TIME_IN_SERVER_SECONDS \ + "grpc.server_max_unrequested_time_in_server" /** Channel arg to override the http2 :scheme header */ #define GRPC_ARG_HTTP2_SCHEME "grpc.http2_scheme" /** How many pings can the client send before needing to send a @@ -328,6 +334,16 @@ /** Channel arg to set http proxy per channel. If set, the channel arg * value will be preferred over the environment variable settings. */ #define GRPC_ARG_HTTP_PROXY "grpc.http_proxy" +/** Specifies an HTTP proxy to use for individual addresses. + * The proxy must be specified as an IP address, not a DNS name. + * If set, the channel arg value will be preferred over the environment + * variable settings. */ +#define GRPC_ARG_ADDRESS_HTTP_PROXY "grpc.address_http_proxy" +/** Comma separated list of addresses or address ranges that are behind the + * address HTTP proxy. + */ +#define GRPC_ARG_ADDRESS_HTTP_PROXY_ENABLED_ADDRESSES \ + "grpc.address_http_proxy_enabled_addresses" /** If set to non zero, surfaces the user agent string to the server. User agent is surfaced by default. */ #define GRPC_ARG_SURFACE_USER_AGENT "grpc.surface_user_agent" @@ -370,6 +386,15 @@ /** Configure the Differentiated Services Code Point used on outgoing packets. * Integer value ranging from 0 to 63. */ #define GRPC_ARG_DSCP "grpc.dscp" +/** Connection Attempt Delay for use in Happy Eyeballs, in milliseconds. + * Defaults to 250ms. */ +#define GRPC_ARG_HAPPY_EYEBALLS_CONNECTION_ATTEMPT_DELAY_MS \ + "grpc.happy_eyeballs_connection_attempt_delay_ms" +/** It accepts a MemoryAllocatorFactory as input and If specified, it forces + * the default event engine to use memory allocators created using the provided + * factory. */ +#define GRPC_ARG_EVENT_ENGINE_USE_MEMORY_ALLOCATOR_FACTORY \ + "grpc.event_engine_use_memory_allocator_factory" /** \} */ #endif /* GRPC_IMPL_CHANNEL_ARG_NAMES_H */ diff --git a/include/grpc/impl/slice_type.h b/include/grpc/impl/slice_type.h index 5d618740553..4776f4b6c4d 100644 --- a/include/grpc/impl/slice_type.h +++ b/include/grpc/impl/slice_type.h @@ -74,7 +74,7 @@ struct grpc_slice { } data; }; -#define GRPC_SLICE_BUFFER_INLINE_ELEMENTS 8 +#define GRPC_SLICE_BUFFER_INLINE_ELEMENTS 6 /** Represents an expandable array of slices, to be interpreted as a single item. */ diff --git a/include/grpc/module.modulemap b/include/grpc/module.modulemap index a37f5dcaafc..3335f7c83cb 100644 --- a/include/grpc/module.modulemap +++ b/include/grpc/module.modulemap @@ -9,9 +9,11 @@ header "byte_buffer.h" header "fork.h" header "grpc.h" header "grpc_audit_logging.h" + header "grpc_crl_provider.h" header "grpc_posix.h" header "grpc_security.h" header "grpc_security_constants.h" + header "impl/call.h" header "impl/channel_arg_names.h" header "impl/codegen/atm.h" header "impl/codegen/byte_buffer.h" diff --git a/include/grpc/support/port_platform.h b/include/grpc/support/port_platform.h index f72c1b5a2cc..d2ef98e41ba 100644 --- a/include/grpc/support/port_platform.h +++ b/include/grpc/support/port_platform.h @@ -19,14 +19,6 @@ #ifndef GRPC_SUPPORT_PORT_PLATFORM_H #define GRPC_SUPPORT_PORT_PLATFORM_H -/* - * Define GPR_BACKWARDS_COMPATIBILITY_MODE to try harder to be ABI - * compatible with older platforms (currently only on Linux) - * Causes: - * - some libc calls to be gotten via dlsym - * - some syscalls to be made directly - */ - // [[deprecated]] attribute is only available since C++14 #if __cplusplus >= 201402L #define GRPC_DEPRECATED(reason) [[deprecated(reason)]] @@ -525,18 +517,6 @@ #endif #endif /* GPR_NO_AUTODETECT_PLATFORM */ -#if defined(GPR_BACKWARDS_COMPATIBILITY_MODE) -/* - * For backward compatibility mode, reset _FORTIFY_SOURCE to prevent - * a library from having non-standard symbols such as __asprintf_chk. - * This helps non-glibc systems such as alpine using musl to find symbols. - */ -#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 -#undef _FORTIFY_SOURCE -#define _FORTIFY_SOURCE 0 -#endif -#endif - #if defined(__has_include) #if __has_include() #define GRPC_HAS_CXX11_ATOMIC @@ -690,6 +670,18 @@ typedef unsigned __int64 uint64_t; #endif #endif +#ifndef GRPC_REINITIALIZES +#if defined(__clang__) +#if GPR_HAS_CPP_ATTRIBUTE(clang::reinitializes) +#define GRPC_REINITIALIZES [[clang::reinitializes]] +#else +#define GRPC_REINITIALIZES +#endif +#else +#define GRPC_REINITIALIZES +#endif +#endif + #ifndef GPR_HAS_ATTRIBUTE #ifdef __has_attribute #define GPR_HAS_ATTRIBUTE(a) __has_attribute(a) diff --git a/include/grpcpp/.clang-format b/include/grpcpp/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/include/grpcpp/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/include/grpcpp/ext/csm_observability.h b/include/grpcpp/ext/csm_observability.h index c06783391bc..dcb7bd8c29c 100644 --- a/include/grpcpp/ext/csm_observability.h +++ b/include/grpcpp/ext/csm_observability.h @@ -26,24 +26,41 @@ #include "absl/functional/any_invocable.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" -#include "opentelemetry/sdk/metrics/meter_provider.h" +#include "opentelemetry/metrics/meter_provider.h" -#include "src/cpp/ext/otel/otel_plugin.h" +#include namespace grpc { -namespace experimental { -// This is a no-op at present, but in the future, this object would be useful -// for performing cleanup. -class CsmObservability {}; +namespace internal { +class OpenTelemetryPluginBuilderImpl; +} // namespace internal + +// This object maintains state around the registered CsmObservability plugin. +// The application is responsible for retaining this object until it has closed +// all channels and servers that are recording metrics. +class CsmObservability { + public: + CsmObservability() = default; + ~CsmObservability(); + // Disable copy constructor and copy-assignment operator. + CsmObservability(const CsmObservability&) = delete; + CsmObservability& operator=(const CsmObservability&) = delete; + CsmObservability(CsmObservability&&) noexcept; + CsmObservability& operator=(CsmObservability&&) noexcept; + + private: + bool valid_ = true; +}; // CsmObservabilityBuilder configures observability for all service mesh traffic // for a binary running on CSM. class CsmObservabilityBuilder { public: + CsmObservabilityBuilder(); + ~CsmObservabilityBuilder(); CsmObservabilityBuilder& SetMeterProvider( - std::shared_ptr - meter_provider); + std::shared_ptr meter_provider); // If set, \a target_attribute_filter is called per channel to decide whether // to record the target attribute on client or to replace it with "other". // This helps reduce the cardinality on metrics in cases where many channels @@ -80,10 +97,18 @@ class CsmObservabilityBuilder { absl::StatusOr BuildAndRegister(); private: - internal::OpenTelemetryPluginBuilder builder_; + std::unique_ptr builder_; }; +namespace experimental { +// TODO(yashykt): Remove this once no longer needed. +using CsmObservability GRPC_DEPRECATED("Use grpc::CsmObservability instead.") = + grpc::CsmObservability; +using CsmObservabilityBuilder GRPC_DEPRECATED( + "Use grpc::CsmObservabilityBuilder instead.") = + grpc::CsmObservabilityBuilder; } // namespace experimental + } // namespace grpc #endif // GRPCPP_EXT_CSM_OBSERVABILITY_H diff --git a/include/grpcpp/ext/otel_plugin.h b/include/grpcpp/ext/otel_plugin.h new file mode 100644 index 00000000000..51afdaa83dd --- /dev/null +++ b/include/grpcpp/ext/otel_plugin.h @@ -0,0 +1,127 @@ +// +// +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// + +#ifndef GRPCPP_EXT_OTEL_PLUGIN_H +#define GRPCPP_EXT_OTEL_PLUGIN_H + +#include + +#include +#include + +#include + +#include "absl/functional/any_invocable.h" +#include "absl/status/status.h" +#include "absl/strings/string_view.h" +#include "opentelemetry/metrics/meter_provider.h" + +namespace grpc { + +namespace internal { +class OpenTelemetryPluginBuilderImpl; +} // namespace internal + +class OpenTelemetryPluginOption { + public: + virtual ~OpenTelemetryPluginOption() = default; +}; + +/// The most common way to use this API is - +/// +/// OpenTelemetryPluginBuilder().SetMeterProvider(provider).BuildAndRegister(); +/// +/// The set of instruments available are - +/// grpc.client.attempt.started +/// grpc.client.attempt.duration +/// grpc.client.attempt.sent_total_compressed_message_size +/// grpc.client.attempt.rcvd_total_compressed_message_size +/// grpc.server.call.started +/// grpc.server.call.duration +/// grpc.server.call.sent_total_compressed_message_size +/// grpc.server.call.rcvd_total_compressed_message_size +class OpenTelemetryPluginBuilder { + public: + /// Metrics + static constexpr absl::string_view kClientAttemptStartedInstrumentName = + "grpc.client.attempt.started"; + static constexpr absl::string_view kClientAttemptDurationInstrumentName = + "grpc.client.attempt.duration"; + static constexpr absl::string_view + kClientAttemptSentTotalCompressedMessageSizeInstrumentName = + "grpc.client.attempt.sent_total_compressed_message_size"; + static constexpr absl::string_view + kClientAttemptRcvdTotalCompressedMessageSizeInstrumentName = + "grpc.client.attempt.rcvd_total_compressed_message_size"; + static constexpr absl::string_view kServerCallStartedInstrumentName = + "grpc.server.call.started"; + static constexpr absl::string_view kServerCallDurationInstrumentName = + "grpc.server.call.duration"; + static constexpr absl::string_view + kServerCallSentTotalCompressedMessageSizeInstrumentName = + "grpc.server.call.sent_total_compressed_message_size"; + static constexpr absl::string_view + kServerCallRcvdTotalCompressedMessageSizeInstrumentName = + "grpc.server.call.rcvd_total_compressed_message_size"; + + OpenTelemetryPluginBuilder(); + ~OpenTelemetryPluginBuilder(); + /// If `SetMeterProvider()` is not called, no metrics are collected. + OpenTelemetryPluginBuilder& SetMeterProvider( + std::shared_ptr meter_provider); + /// If set, \a target_attribute_filter is called per channel to decide whether + /// to record the target attribute on client or to replace it with "other". + /// This helps reduce the cardinality on metrics in cases where many channels + /// are created with different targets in the same binary (which might happen + /// for example, if the channel target string uses IP addresses directly). + OpenTelemetryPluginBuilder& SetTargetAttributeFilter( + absl::AnyInvocable + target_attribute_filter); + /// If set, \a generic_method_attribute_filter is called per call with a + /// generic method type to decide whether to record the method name or to + /// replace it with "other". Non-generic or pre-registered methods remain + /// unaffected. If not set, by default, generic method names are replaced with + /// "other" when recording metrics. + OpenTelemetryPluginBuilder& SetGenericMethodAttributeFilter( + absl::AnyInvocable + generic_method_attribute_filter); + /// Add a plugin option to add to the opentelemetry plugin being built. At + /// present, this type is an opaque type. Ownership of \a option is + /// transferred when `AddPluginOption` is invoked. A maximum of 64 plugin + /// options can be added. + OpenTelemetryPluginBuilder& AddPluginOption( + std::unique_ptr option); + /// Registers a global plugin that acts on all channels and servers running on + /// the process. + absl::Status BuildAndRegisterGlobal(); + + private: + std::unique_ptr impl_; +}; + +namespace experimental { +// TODO(yashykt): Delete this after the 1.62 release. +GRPC_DEPRECATED( + "Use grpc::OpenTelemetryPluginBuilder instead. The experimental version " + "will be deleted after the 1.62 release.") +typedef grpc::OpenTelemetryPluginBuilder OpenTelemetryPluginBuilder; +} // namespace experimental + +} // namespace grpc + +#endif // GRPCPP_EXT_OTEL_PLUGIN_H diff --git a/include/grpcpp/ext/proto_server_reflection_plugin.h b/include/grpcpp/ext/proto_server_reflection_plugin.h index 2e3964c957f..b1cbb5a67c2 100644 --- a/include/grpcpp/ext/proto_server_reflection_plugin.h +++ b/include/grpcpp/ext/proto_server_reflection_plugin.h @@ -19,11 +19,15 @@ #ifndef GRPCPP_EXT_PROTO_SERVER_REFLECTION_PLUGIN_H #define GRPCPP_EXT_PROTO_SERVER_REFLECTION_PLUGIN_H +#include + #include #include namespace grpc { class ProtoServerReflection; +class ProtoServerReflectionBackend; +class ProtoServerReflectionV1; class ServerInitializer; namespace reflection { @@ -39,7 +43,9 @@ class ProtoServerReflectionPlugin : public grpc::ServerBuilderPlugin { bool has_sync_methods() const override; private: - std::shared_ptr reflection_service_; + std::shared_ptr backend_; + std::shared_ptr reflection_service_v1alpha_; + std::shared_ptr reflection_service_v1_; }; /// Add proto reflection plugin to \a ServerBuilder. diff --git a/include/grpcpp/impl/.clang-format b/include/grpcpp/impl/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/include/grpcpp/impl/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/include/grpcpp/impl/codegen/.clang-format b/include/grpcpp/impl/codegen/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/include/grpcpp/impl/codegen/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/include/grpcpp/security/.clang-format b/include/grpcpp/security/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/include/grpcpp/security/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/include/grpcpp/security/tls_credentials_options.h b/include/grpcpp/security/tls_credentials_options.h index da5620f8057..6adf9faac64 100644 --- a/include/grpcpp/security/tls_credentials_options.h +++ b/include/grpcpp/security/tls_credentials_options.h @@ -28,6 +28,7 @@ #include #include #include +#include #include namespace grpc { @@ -43,6 +44,13 @@ class TlsCredentialsOptions { // @param certificate_provider the provider which fetches TLS credentials that // will be used in the TLS handshake TlsCredentialsOptions(); + ~TlsCredentialsOptions(); + + // Copy constructor does a deep copy of the underlying pointer. No assignment + // permitted + TlsCredentialsOptions(const TlsCredentialsOptions& other); + TlsCredentialsOptions& operator=(const TlsCredentialsOptions& other) = delete; + // ---- Setters for member fields ---- // Sets the certificate provider used to store root certs and identity certs. void set_certificate_provider( @@ -97,16 +105,34 @@ class TlsCredentialsOptions { // verifiers other than the host name verifier is used. void set_check_call_host(bool check_call_host); - // TODO(zhenlian): This is an experimental API is likely to change in the - // future. Before de-experiementalizing, verify the API is up to date. + // Deprecated in favor of set_crl_provider. The + // crl provider interface provides a significantly more flexible approach to + // using CRLs. See gRFC A69 for details. // If set, gRPC will read all hashed x.509 CRL files in the directory and // enforce the CRL files on all TLS handshakes. Only supported for OpenSSL // version > 1.1. void set_crl_directory(const std::string& path); + void set_crl_provider(std::shared_ptr crl_provider); + + // Sets the minimum TLS version that will be negotiated during the TLS + // handshake. If not set, the underlying SSL library will use TLS v1.2. + // @param tls_version: The minimum TLS version. + void set_min_tls_version(grpc_tls_version tls_version); + // Sets the maximum TLS version that will be negotiated during the TLS + // handshake. If not set, the underlying SSL library will use TLS v1.3. + // @param tls_version: The maximum TLS version. + void set_max_tls_version(grpc_tls_version tls_version); + // ----- Getters for member fields ---- - // Get the internal c options. This function shall be used only internally. - grpc_tls_credentials_options* c_credentials_options() const { + // Returns a deep copy of the internal c options. The caller takes ownership + // of the returned pointer. This function shall be used only internally. + grpc_tls_credentials_options* c_credentials_options() const; + + protected: + // Returns the internal c options. The caller does not take ownership of the + // returned pointer. + grpc_tls_credentials_options* mutable_c_credentials_options() { return c_credentials_options_; } diff --git a/include/grpcpp/security/tls_crl_provider.h b/include/grpcpp/security/tls_crl_provider.h new file mode 100644 index 00000000000..1408327457b --- /dev/null +++ b/include/grpcpp/security/tls_crl_provider.h @@ -0,0 +1,39 @@ +// +// +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// + +#ifndef GRPCPP_SECURITY_TLS_CRL_PROVIDER_H +#define GRPCPP_SECURITY_TLS_CRL_PROVIDER_H + +#include +#include +#include + +namespace grpc { +namespace experimental { + +using grpc_core::experimental:: + CertificateInfo; // NOLINT(misc-unused-using-decls) +using grpc_core::experimental:: + CreateStaticCrlProvider; // NOLINT(misc-unused-using-decls) +using grpc_core::experimental::Crl; // NOLINT(misc-unused-using-decls) +using grpc_core::experimental::CrlProvider; // NOLINT(misc-unused-using-decls) + +} // namespace experimental +} // namespace grpc + +#endif // GRPCPP_SECURITY_TLS_CRL_PROVIDER_H diff --git a/include/grpcpp/support/.clang-format b/include/grpcpp/support/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/include/grpcpp/support/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/include/grpcpp/support/client_callback.h b/include/grpcpp/support/client_callback.h index e44764d8387..1c420815de4 100644 --- a/include/grpcpp/support/client_callback.h +++ b/include/grpcpp/support/client_callback.h @@ -23,6 +23,7 @@ #include #include +#include #include #include #include @@ -123,15 +124,6 @@ class ClientReactor { /// \param[in] s The status outcome of this RPC virtual void OnDone(const grpc::Status& /*s*/) = 0; - /// InternalScheduleOnDone is not part of the API and is not meant to be - /// overridden. It is virtual to allow successful builds for certain bazel - /// build users that only want to depend on gRPC codegen headers and not the - /// full library (although this is not a generally-supported option). Although - /// the virtual call is slower than a direct call, this function is - /// heavyweight and the cost of the virtual call is not much in comparison. - /// This function may be removed or devirtualized in the future. - virtual void InternalScheduleOnDone(grpc::Status s); - /// InternalTrailersOnly is not part of the API and is not meant to be /// overridden. It is virtual to allow successful builds for certain bazel /// build users that only want to depend on gRPC codegen headers and not the @@ -649,11 +641,13 @@ class ClientCallbackReaderWriterImpl auto* reactor = reactor_; auto* call = call_.call(); this->~ClientCallbackReaderWriterImpl(); - grpc_call_unref(call); if (GPR_LIKELY(from_reaction)) { + grpc_call_unref(call); reactor->OnDone(s); } else { - reactor->InternalScheduleOnDone(std::move(s)); + grpc_call_run_in_event_engine( + call, [reactor, s = std::move(s)]() { reactor->OnDone(s); }); + grpc_call_unref(call); } } } @@ -822,11 +816,13 @@ class ClientCallbackReaderImpl : public ClientCallbackReader { auto* reactor = reactor_; auto* call = call_.call(); this->~ClientCallbackReaderImpl(); - grpc_call_unref(call); if (GPR_LIKELY(from_reaction)) { + grpc_call_unref(call); reactor->OnDone(s); } else { - reactor->InternalScheduleOnDone(std::move(s)); + grpc_call_run_in_event_engine( + call, [reactor, s = std::move(s)]() { reactor->OnDone(s); }); + grpc_call_unref(call); } } } @@ -1040,11 +1036,13 @@ class ClientCallbackWriterImpl : public ClientCallbackWriter { auto* reactor = reactor_; auto* call = call_.call(); this->~ClientCallbackWriterImpl(); - grpc_call_unref(call); if (GPR_LIKELY(from_reaction)) { + grpc_call_unref(call); reactor->OnDone(s); } else { - reactor->InternalScheduleOnDone(std::move(s)); + grpc_call_run_in_event_engine( + call, [reactor, s = std::move(s)]() { reactor->OnDone(s); }); + grpc_call_unref(call); } } } diff --git a/include/grpcpp/support/proto_buffer_reader.h b/include/grpcpp/support/proto_buffer_reader.h index 60a8c881af5..ffec8d76416 100644 --- a/include/grpcpp/support/proto_buffer_reader.h +++ b/include/grpcpp/support/proto_buffer_reader.h @@ -126,11 +126,14 @@ class ProtoBufferReader : public grpc::protobuf::io::ZeroCopyInputStream { /// Read the next `count` bytes and append it to the given Cord. // (override is conditionally omitted here to support old Protobuf which // doesn't have ReadCord method) - // NOLINTNEXTLINE(modernize-use-override) + // NOLINTBEGIN(modernize-use-override, + // clang-diagnostic-inconsistent-missing-override) virtual bool ReadCord(absl::Cord* cord, int count) -#if PROTOBUF_VERSION >= 4022000 +#if GOOGLE_PROTOBUF_VERSION >= 4022000 override #endif + // NOLINTEND(modernize-use-override, + // clang-diagnostic-inconsistent-missing-override) { if (!status().ok()) { return false; @@ -145,9 +148,12 @@ class ProtoBufferReader : public grpc::protobuf::io::ZeroCopyInputStream { *slice(), GRPC_SLICE_LENGTH(*slice()) - backup_count(), GRPC_SLICE_LENGTH(*slice()) - backup_count() + count))); } - int64_t take = std::min(backup_count(), static_cast(count)); + int64_t take = (std::min)(backup_count(), static_cast(count)); set_backup_count(backup_count() - take); - count -= take; + // This cast is safe as the size of a serialized protobuf message + // should be smaller than 2GiB. + // (https://protobuf.dev/programming-guides/encoding/#size-limit) + count -= static_cast(take); if (count == 0) { return true; } @@ -160,7 +166,8 @@ class ProtoBufferReader : public grpc::protobuf::io::ZeroCopyInputStream { set_byte_count(ByteCount() + slice_length); if (slice_length <= static_cast(count)) { cord->Append(MakeCordFromSlice(grpc_slice_ref(*slice()))); - count -= slice_length; + // This cast is safe as above. + count -= static_cast(slice_length); } else { cord->Append(MakeCordFromSlice(grpc_slice_split_head(slice(), count))); set_backup_count(slice_length - count); @@ -189,10 +196,17 @@ class ProtoBufferReader : public grpc::protobuf::io::ZeroCopyInputStream { // This function takes ownership of slice and return a newly created Cord off // of it. static absl::Cord MakeCordFromSlice(grpc_slice slice) { + // slice_for_cord is created to keep inlined data of the given slice + grpc_slice* slice_for_cord = new grpc_slice; + *slice_for_cord = slice; return absl::MakeCordFromExternal( - absl::string_view(reinterpret_cast(GRPC_SLICE_START_PTR(slice)), - GRPC_SLICE_LENGTH(slice)), - [slice](absl::string_view /* view */) { grpc_slice_unref(slice); }); + absl::string_view( + reinterpret_cast(GRPC_SLICE_START_PTR(*slice_for_cord)), + GRPC_SLICE_LENGTH(*slice_for_cord)), + [slice_for_cord](absl::string_view /* view */) { + grpc_slice_unref(*slice_for_cord); + delete slice_for_cord; + }); } #endif // GRPC_PROTOBUF_CORD_SUPPORT_ENABLED diff --git a/include/grpcpp/support/proto_buffer_writer.h b/include/grpcpp/support/proto_buffer_writer.h index f7351ec2b76..83d81060e87 100644 --- a/include/grpcpp/support/proto_buffer_writer.h +++ b/include/grpcpp/support/proto_buffer_writer.h @@ -156,11 +156,14 @@ class ProtoBufferWriter : public grpc::protobuf::io::ZeroCopyOutputStream { /// blocks of the cord, and the slices of the byte_buffer. // (override is conditionally omitted here to support old Protobuf which // doesn't have ReadCord method) - // NOLINTNEXTLINE(modernize-use-override) + // NOLINTBEGIN(modernize-use-override, + // clang-diagnostic-inconsistent-missing-override) virtual bool WriteCord(const absl::Cord& cord) -#if PROTOBUF_VERSION >= 4022000 +#if GOOGLE_PROTOBUF_VERSION >= 4022000 override #endif + // NOLINTEND(modernize-use-override, + // clang-diagnostic-inconsistent-missing-override) { grpc_slice_buffer* buffer = slice_buffer(); size_t cur = 0; diff --git a/include/grpcpp/test/channel_test_peer.h b/include/grpcpp/test/channel_test_peer.h index b180b8feda1..f4aad2a03b5 100644 --- a/include/grpcpp/test/channel_test_peer.h +++ b/include/grpcpp/test/channel_test_peer.h @@ -32,7 +32,6 @@ class ChannelTestPeer { /// Provide the gRPC Core channel grpc_channel* channel() const { return channel_->c_channel_; } int registered_calls() const; - int registration_attempts() const; private: Channel* channel_; // not owned diff --git a/include/grpcpp/version_info.h b/include/grpcpp/version_info.h index 21e7b9a3506..d6dadc83b29 100644 --- a/include/grpcpp/version_info.h +++ b/include/grpcpp/version_info.h @@ -19,9 +19,9 @@ #define GRPCPP_VERSION_INFO_H #define GRPC_CPP_VERSION_MAJOR 1 -#define GRPC_CPP_VERSION_MINOR 59 +#define GRPC_CPP_VERSION_MINOR 63 #define GRPC_CPP_VERSION_PATCH 0 #define GRPC_CPP_VERSION_TAG "dev" -#define GRPC_CPP_VERSION_STRING "1.59.0-dev" +#define GRPC_CPP_VERSION_STRING "1.63.0-dev" #endif // GRPCPP_VERSION_INFO_H diff --git a/include/grpcpp/xds_server_builder.h b/include/grpcpp/xds_server_builder.h index ae560595df6..f51c5260788 100644 --- a/include/grpcpp/xds_server_builder.h +++ b/include/grpcpp/xds_server_builder.h @@ -23,8 +23,6 @@ #include -#include "src/core/ext/xds/xds_enabled_server.h" - namespace grpc { class XdsServerServingStatusNotifierInterface { @@ -81,19 +79,7 @@ class XdsServerBuilder : public grpc::ServerBuilder { private: // Called at the beginning of BuildAndStart(). - ChannelArguments BuildChannelArgs() override { - ChannelArguments args = ServerBuilder::BuildChannelArgs(); - if (drain_grace_time_ms_ >= 0) { - args.SetInt(GRPC_ARG_SERVER_CONFIG_CHANGE_DRAIN_GRACE_TIME_MS, - drain_grace_time_ms_); - } - args.SetInt(GRPC_ARG_XDS_ENABLED_SERVER, 1); - grpc_channel_args c_channel_args = args.c_channel_args(); - grpc_server_config_fetcher* fetcher = grpc_server_config_fetcher_xds_create( - {OnServingStatusUpdate, notifier_}, &c_channel_args); - if (fetcher != nullptr) set_fetcher(fetcher); - return args; - } + ChannelArguments BuildChannelArgs() override; static void OnServingStatusUpdate(void* user_data, const char* uri, grpc_serving_status_update update) { diff --git a/package.xml b/package.xml index 2bb4386c27a..6720e2ebe1e 100644 --- a/package.xml +++ b/package.xml @@ -13,8 +13,8 @@ 2019-09-24 - 1.59.0dev - 1.59.0dev + 1.63.0dev + 1.63.0dev beta @@ -22,7 +22,7 @@ Apache 2.0 -- gRPC Core 1.59.0 update +- gRPC Core 1.63.0 update @@ -35,6 +35,7 @@ + @@ -45,9 +46,11 @@ + + @@ -100,6 +103,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -108,119 +150,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -234,6 +165,8 @@ + + @@ -268,6 +201,8 @@ + + @@ -299,644 +234,825 @@ + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1016,6 +1132,8 @@ + + @@ -1030,6 +1148,7 @@ + @@ -1069,11 +1188,12 @@ + + - @@ -1090,6 +1210,8 @@ + + @@ -1116,6 +1238,8 @@ + + @@ -1140,8 +1264,12 @@ + + + + @@ -1190,7 +1318,6 @@ - @@ -1199,6 +1326,8 @@ + + @@ -1223,6 +1352,7 @@ + @@ -1252,11 +1382,13 @@ + + @@ -1332,8 +1464,6 @@ - - @@ -1423,21 +1553,16 @@ - - - - - - - + + @@ -1459,16 +1584,11 @@ + + - - - - - - - @@ -1566,6 +1686,8 @@ + + @@ -1582,6 +1704,7 @@ + @@ -1594,6 +1717,7 @@ + @@ -1603,12 +1727,6 @@ - - - - - - @@ -1633,7 +1751,6 @@ - @@ -1660,10 +1777,22 @@ + + + + + + + + + + + + @@ -1677,13 +1806,15 @@ + + + + - - @@ -1694,12 +1825,109 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1804,8 +2032,8 @@ + - @@ -1821,7 +2049,6 @@ - @@ -1834,6 +2061,8 @@ + + @@ -1875,7 +2104,7 @@ - + @@ -1912,13 +2141,11 @@ - - @@ -1959,6 +2186,7 @@ + @@ -2002,6 +2230,7 @@ + @@ -2014,6 +2243,7 @@ + @@ -2022,7 +2252,8 @@ - + + @@ -2041,9 +2272,6 @@ - - - @@ -2405,8 +2633,9 @@ + + - @@ -2450,6 +2679,21 @@ + + + + + + + + + + + + + + + @@ -2466,6 +2710,7 @@ + @@ -2475,6 +2720,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -2499,9 +2767,7 @@ - - @@ -2509,31 +2775,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2598,6 +2839,7 @@ + @@ -2620,6 +2862,7 @@ + @@ -2708,29 +2951,12 @@ - - - - + + - - - - - - - - - - - - - - - @@ -2748,21 +2974,33 @@ - - + + - - - + + + + + + + + + + + + + + + @@ -2793,82 +3031,75 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + - diff --git a/requirements.bazel.txt b/requirements.bazel.txt index 851dbd15a38..f46432cc888 100644 --- a/requirements.bazel.txt +++ b/requirements.bazel.txt @@ -5,14 +5,33 @@ protobuf>=3.5.0.post1, < 4.0dev wheel==0.38.1 oauth2client==4.1.0 requests==2.25.1 -urllib3==1.26.5 +urllib3==1.26.18 chardet==3.0.4 certifi==2023.7.22 idna==2.7 gevent==22.08.0 zope.event==4.5.0 setuptools==44.1.1 -xds-protos==0.0.11 -opencensus==0.10.0 -opencensus-ext-stackdriver==0.8.0 absl-py==1.4.0 +google-cloud-trace==1.11.3 +opencensus-context==0.1.3 +google-cloud-monitoring==2.16.0 +google-api-core==1.34.1 +proto-plus==1.22.3 +google-auth==2.23.4 +googleapis-common-protos==1.61.0 +cachetools==5.3.2 +charset-normalizer==3.3.2 +pyasn1==0.5.0 +rsa==4.9 +greenlet==1.1.3.post0 +zope.interface==6.1 +opentelemetry-sdk==1.21.0 +opentelemetry-api==1.21.0 +importlib-metadata==6.11.0 +Deprecated==1.2.14 +opentelemetry-semantic-conventions==0.42b0 +typing-extensions==4.9.0 +pyasn1-modules==0.3.0 +zipp==3.17.0 +wrapt==1.16.0 diff --git a/setup.cfg b/setup.cfg index 3ac6b513ae3..be9e83e43b0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,7 +4,7 @@ plugins = Cython.Coverage [build] -build_base=python_build +build_base=pyb [build_ext] inplace=1 diff --git a/setup.py b/setup.py index 94aa7793a79..2ce5fef4223 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,6 @@ import sys import sysconfig import _metadata -import pkg_resources from setuptools import Extension from setuptools.command import egg_info @@ -72,11 +71,9 @@ SSL_INCLUDE = ( os.path.join("third_party", "boringssl-with-bazel", "src", "include"), ) UPB_INCLUDE = (os.path.join("third_party", "upb"),) -UPB_GRPC_GENERATED_INCLUDE = ( - os.path.join("src", "core", "ext", "upb-generated"), -) +UPB_GRPC_GENERATED_INCLUDE = (os.path.join("src", "core", "ext", "upb-gen"),) UPBDEFS_GRPC_GENERATED_INCLUDE = ( - os.path.join("src", "core", "ext", "upbdefs-generated"), + os.path.join("src", "core", "ext", "upbdefs-gen"), ) UTF8_RANGE_INCLUDE = (os.path.join("third_party", "utf8_range"),) XXHASH_INCLUDE = (os.path.join("third_party", "xxhash"),) @@ -196,12 +193,6 @@ USE_PREBUILT_GRPC_CORE = _env_bool_value( "GRPC_PYTHON_USE_PREBUILT_GRPC_CORE", "False" ) -# If this environmental variable is set, GRPC will not try to be compatible with -# libc versions old than the one it was compiled against. -DISABLE_LIBC_COMPATIBILITY = _env_bool_value( - "GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY", "False" -) - # Environment variable to determine whether or not to enable coverage analysis # in Cython modules. ENABLE_CYTHON_TRACING = _env_bool_value( @@ -253,32 +244,22 @@ def check_linker_need_libatomic(): EXTRA_ENV_COMPILE_ARGS = os.environ.get("GRPC_PYTHON_CFLAGS", None) EXTRA_ENV_LINK_ARGS = os.environ.get("GRPC_PYTHON_LDFLAGS", None) if EXTRA_ENV_COMPILE_ARGS is None: - EXTRA_ENV_COMPILE_ARGS = " -std=c++14" + EXTRA_ENV_COMPILE_ARGS = "" if "win32" in sys.platform: - if sys.version_info < (3, 5): - EXTRA_ENV_COMPILE_ARGS += " -D_hypot=hypot" - # We use define flags here and don't directly add to DEFINE_MACROS below to - # ensure that the expert user/builder has a way of turning it off (via the - # envvars) without adding yet more GRPC-specific envvars. - # See https://sourceforge.net/p/mingw-w64/bugs/363/ - if "32" in platform.architecture()[0]: - EXTRA_ENV_COMPILE_ARGS += ( - " -D_ftime=_ftime32 -D_timeb=__timeb32" - " -D_ftime_s=_ftime32_s" - ) - else: - EXTRA_ENV_COMPILE_ARGS += ( - " -D_ftime=_ftime64 -D_timeb=__timeb64" - ) - else: - # We need to statically link the C++ Runtime, only the C runtime is - # available dynamically - EXTRA_ENV_COMPILE_ARGS += " /MT" + # MSVC by defaults uses C++14 so C11 needs to be specified. + EXTRA_ENV_COMPILE_ARGS += " /std:c11" + # We need to statically link the C++ Runtime, only the C runtime is + # available dynamically + EXTRA_ENV_COMPILE_ARGS += " /MT" elif "linux" in sys.platform: + # GCC by defaults uses C17 so only C++14 needs to be specified. + EXTRA_ENV_COMPILE_ARGS += " -std=c++14" EXTRA_ENV_COMPILE_ARGS += ( " -fvisibility=hidden -fno-wrapv -fno-exceptions" ) elif "darwin" in sys.platform: + # AppleClang by defaults uses C17 so only C++14 needs to be specified. + EXTRA_ENV_COMPILE_ARGS += " -std=c++14" EXTRA_ENV_COMPILE_ARGS += ( " -stdlib=libc++ -fvisibility=hidden -fno-wrapv -fno-exceptions" " -DHAVE_UNISTD_H" @@ -293,6 +274,11 @@ if EXTRA_ENV_LINK_ARGS is None: if "linux" in sys.platform: EXTRA_ENV_LINK_ARGS += " -static-libgcc" +# Explicitly link Core Foundation framework for MacOS to ensure no symbol is +# missing when compiled using package managers like Conda. +if "darwin" in sys.platform: + EXTRA_ENV_LINK_ARGS += " -framework CoreFoundation" + EXTRA_COMPILE_ARGS = shlex.split(EXTRA_ENV_COMPILE_ARGS) EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_LINK_ARGS) @@ -422,9 +408,6 @@ if asm_key: else: DEFINE_MACROS += (("OPENSSL_NO_ASM", 1),) -if not DISABLE_LIBC_COMPATIBILITY: - DEFINE_MACROS += (("GPR_BACKWARDS_COMPATIBILITY_MODE", 1),) - if "win32" in sys.platform: # TODO(zyc): Re-enable c-ares on x64 and x86 windows after fixing the # ares_library_init compilation issue @@ -470,22 +453,6 @@ if "linux" in sys.platform or "darwin" in sys.platform: DEFINE_MACROS += (("PyMODINIT_FUNC", pymodinit),) DEFINE_MACROS += (("GRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK", 1),) -# By default, Python3 distutils enforces compatibility of -# c plugins (.so files) with the OSX version Python was built with. -# We need OSX 10.10, the oldest which supports C++ thread_local. -# Python 3.9: Mac OS Big Sur sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') returns int (11) -if "darwin" in sys.platform: - mac_target = sysconfig.get_config_var("MACOSX_DEPLOYMENT_TARGET") - if mac_target: - mac_target = pkg_resources.parse_version(str(mac_target)) - if mac_target < pkg_resources.parse_version("10.10.0"): - os.environ["MACOSX_DEPLOYMENT_TARGET"] = "10.10" - os.environ["_PYTHON_HOST_PLATFORM"] = re.sub( - r"macosx-[0-9]+\.[0-9]+-(.+)", - r"macosx-10.10-\1", - sysconfig.get_platform(), - ) - def cython_extensions_and_necessity(): cython_module_files = [ diff --git a/src/.clang-format b/src/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/src/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/src/abseil-cpp/preprocessed_builds.yaml b/src/abseil-cpp/preprocessed_builds.yaml index d9354f889d5..6250c0fa12d 100644 --- a/src/abseil-cpp/preprocessed_builds.yaml +++ b/src/abseil-cpp/preprocessed_builds.yaml @@ -9,6 +9,7 @@ deps: - absl/algorithm:algorithm - absl/base:core_headers + - absl/base:nullability - absl/meta:type_traits headers: - third_party/abseil-cpp/absl/algorithm/container.h @@ -31,6 +32,7 @@ - absl/base:cycleclock_internal - absl/base:dynamic_annotations - absl/base:log_severity + - absl/base:nullability - absl/base:raw_logging_internal - absl/base:spinlock_wait - absl/meta:type_traits @@ -78,7 +80,6 @@ headers: - third_party/abseil-cpp/absl/base/attributes.h - third_party/abseil-cpp/absl/base/const_init.h - - third_party/abseil-cpp/absl/base/internal/thread_annotations.h - third_party/abseil-cpp/absl/base/macros.h - third_party/abseil-cpp/absl/base/optimization.h - third_party/abseil-cpp/absl/base/port.h @@ -108,6 +109,7 @@ - absl/base:base - absl/base:config - absl/base:core_headers + - absl/base:nullability headers: - third_party/abseil-cpp/absl/base/internal/endian.h - third_party/abseil-cpp/absl/base/internal/unaligned_access.h @@ -150,6 +152,13 @@ name: absl/base:malloc_internal src: - third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc +- cmake_target: absl::no_destructor + deps: + - absl/base:config + headers: + - third_party/abseil-cpp/absl/base/no_destructor.h + name: absl/base:no_destructor + src: [] - cmake_target: absl::nullability deps: - absl/base:core_headers @@ -164,7 +173,6 @@ - absl/base:config - absl/base:core_headers headers: - - third_party/abseil-cpp/absl/base/internal/prefetch.h - third_party/abseil-cpp/absl/base/prefetch.h name: absl/base:prefetch src: [] @@ -394,6 +402,7 @@ src: [] - cmake_target: absl::inlined_vector_internal deps: + - absl/base:config - absl/base:core_headers - absl/container:compressed_tuple - absl/memory:memory @@ -407,6 +416,7 @@ deps: - absl/base:config - absl/base:core_headers + - absl/debugging:demangle_internal - absl/meta:type_traits - absl/strings:strings - absl/types:span @@ -449,6 +459,8 @@ src: [] - cmake_target: absl::raw_hash_map deps: + - absl/base:config + - absl/base:core_headers - absl/base:throw_delegate - absl/container:container_memory - absl/container:raw_hash_set @@ -493,7 +505,6 @@ deps: - absl/base:config - absl/base:core_headers - - absl/base:dynamic_annotations - absl/base:endian - absl/base:prefetch - absl/crc:cpu_detect @@ -510,7 +521,7 @@ src: - third_party/abseil-cpp/absl/crc/crc32c.cc - third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc - - third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc + - third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc - third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc - cmake_target: absl::crc_cord_state deps: @@ -525,10 +536,8 @@ - third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc - cmake_target: absl::crc_internal deps: - - absl/base:base - absl/base:config - absl/base:core_headers - - absl/base:dynamic_annotations - absl/base:endian - absl/base:prefetch - absl/base:raw_logging_internal @@ -710,10 +719,8 @@ headers: - third_party/abseil-cpp/absl/flags/declare.h - third_party/abseil-cpp/absl/flags/flag.h - - third_party/abseil-cpp/absl/flags/internal/flag_msvc.inc name: absl/flags:flag - src: - - third_party/abseil-cpp/absl/flags/flag.cc + src: [] - cmake_target: absl::flags_internal deps: - absl/base:base @@ -808,6 +815,7 @@ deps: - absl/base:config - absl/base:core_headers + - absl/base:no_destructor - absl/container:flat_hash_map - absl/flags:commandlineflag - absl/flags:commandlineflag_internal @@ -838,7 +846,6 @@ deps: - absl/base:config - absl/base:core_headers - - absl/container:flat_hash_map - absl/flags:commandlineflag - absl/flags:config - absl/flags:flag @@ -848,6 +855,7 @@ - absl/flags:program_name - absl/flags:reflection - absl/strings:strings + - absl/synchronization:synchronization headers: - third_party/abseil-cpp/absl/flags/internal/usage.h name: absl/flags:usage_internal @@ -887,6 +895,14 @@ - third_party/abseil-cpp/absl/functional/internal/function_ref.h name: absl/functional:function_ref src: [] +- cmake_target: absl::overload + deps: + - absl/base:config + - absl/meta:type_traits + headers: + - third_party/abseil-cpp/absl/functional/overload.h + name: absl/functional:overload + src: [] - cmake_target: absl::city deps: - absl/base:config @@ -989,6 +1005,15 @@ - third_party/abseil-cpp/absl/log/internal/flags.h name: absl/log/internal:flags src: [] +- cmake_target: absl::log_internal_fnmatch + deps: + - absl/base:config + - absl/strings:strings + headers: + - third_party/abseil-cpp/absl/log/internal/fnmatch.h + name: absl/log/internal:fnmatch + src: + - third_party/abseil-cpp/absl/log/internal/fnmatch.cc - cmake_target: absl::log_internal_format deps: - absl/base:config @@ -1024,6 +1049,7 @@ - absl/log/internal:conditions - absl/log/internal:log_message - absl/log/internal:strip + - absl/log:absl_vlog_is_on headers: - third_party/abseil-cpp/absl/log/internal/log_impl.h name: absl/log/internal:log_impl @@ -1064,6 +1090,7 @@ - absl/base:config - absl/base:core_headers - absl/base:log_severity + - absl/base:no_destructor - absl/base:raw_logging_internal - absl/cleanup:cleanup - absl/log/internal:config @@ -1128,6 +1155,22 @@ - third_party/abseil-cpp/absl/log/internal/structured.h name: absl/log/internal:structured src: [] +- cmake_target: absl::vlog_config_internal + deps: + - absl/base:base + - absl/base:config + - absl/base:core_headers + - absl/base:no_destructor + - absl/log/internal:fnmatch + - absl/memory:memory + - absl/strings:strings + - absl/synchronization:synchronization + - absl/types:optional + headers: + - third_party/abseil-cpp/absl/log/internal/vlog_config.h + name: absl/log/internal:vlog_config + src: + - third_party/abseil-cpp/absl/log/internal/vlog_config.cc - cmake_target: absl::log_internal_voidify deps: - absl/base:config @@ -1149,6 +1192,16 @@ - third_party/abseil-cpp/absl/log/absl_log.h name: absl/log:absl_log src: [] +- cmake_target: absl::absl_vlog_is_on + deps: + - absl/base:config + - absl/base:core_headers + - absl/log/internal:vlog_config + - absl/strings:strings + headers: + - third_party/abseil-cpp/absl/log/absl_vlog_is_on.h + name: absl/log:absl_vlog_is_on + src: [] - cmake_target: absl::check deps: - absl/log/internal:check_impl @@ -1180,6 +1233,7 @@ - absl/flags:marshalling - absl/log/internal:config - absl/log/internal:flags + - absl/log/internal:vlog_config - absl/log:globals - absl/strings:strings headers: @@ -1195,6 +1249,7 @@ - absl/base:log_severity - absl/base:raw_logging_internal - absl/hash:hash + - absl/log/internal:vlog_config - absl/strings:strings headers: - third_party/abseil-cpp/absl/log/globals.h @@ -1215,6 +1270,7 @@ - cmake_target: absl::log deps: - absl/log/internal:log_impl + - absl/log:vlog_is_on headers: - third_party/abseil-cpp/absl/log/log.h name: absl/log:log @@ -1273,6 +1329,13 @@ - third_party/abseil-cpp/absl/log/structured.h name: absl/log:structured src: [] +- cmake_target: absl::vlog_is_on + deps: + - absl/log:absl_vlog_is_on + headers: + - third_party/abseil-cpp/absl/log/vlog_is_on.h + name: absl/log:vlog_is_on + src: [] - cmake_target: absl::memory deps: - absl/base:core_headers @@ -1648,32 +1711,42 @@ - cmake_target: absl::status deps: - absl/base:atomic_hook + - absl/base:config - absl/base:core_headers + - absl/base:no_destructor + - absl/base:nullability - absl/base:raw_logging_internal - absl/base:strerror - absl/container:inlined_vector - absl/debugging:stacktrace - absl/debugging:symbolize - absl/functional:function_ref + - absl/memory:memory - absl/strings:cord - absl/strings:str_format - absl/strings:strings - absl/types:optional + - absl/types:span headers: - third_party/abseil-cpp/absl/status/internal/status_internal.h - third_party/abseil-cpp/absl/status/status.h - third_party/abseil-cpp/absl/status/status_payload_printer.h name: absl/status:status src: + - third_party/abseil-cpp/absl/status/internal/status_internal.cc - third_party/abseil-cpp/absl/status/status.cc - third_party/abseil-cpp/absl/status/status_payload_printer.cc - cmake_target: absl::statusor deps: - absl/base:base + - absl/base:config - absl/base:core_headers + - absl/base:nullability - absl/base:raw_logging_internal - absl/meta:type_traits - absl/status:status + - absl/strings:has_ostream_operator + - absl/strings:str_format - absl/strings:strings - absl/types:variant - absl/utility:utility @@ -1683,15 +1756,24 @@ name: absl/status:statusor src: - third_party/abseil-cpp/absl/status/statusor.cc +- cmake_target: absl::charset + deps: + - absl/base:core_headers + - absl/strings:string_view + headers: + - third_party/abseil-cpp/absl/strings/charset.h + name: absl/strings:charset + src: [] - cmake_target: absl::cord deps: - absl/base:base - absl/base:config - absl/base:core_headers - absl/base:endian + - absl/base:nullability - absl/base:raw_logging_internal - - absl/container:fixed_array - absl/container:inlined_vector + - absl/crc:crc32c - absl/crc:crc_cord_state - absl/functional:function_ref - absl/meta:type_traits @@ -1741,8 +1823,6 @@ - third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.h - third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.h - third_party/abseil-cpp/absl/strings/internal/cord_rep_flat.h - - third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h - - third_party/abseil-cpp/absl/strings/internal/cord_rep_ring_reader.h name: absl/strings:cord_internal src: - third_party/abseil-cpp/absl/strings/internal/cord_internal.cc @@ -1751,7 +1831,6 @@ - third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc - third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc - third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc - - third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc - cmake_target: absl::cordz_functions deps: - absl/base:config @@ -1831,6 +1910,13 @@ - third_party/abseil-cpp/absl/strings/internal/cordz_update_tracker.h name: absl/strings:cordz_update_tracker src: [] +- cmake_target: absl::has_ostream_operator + deps: + - absl/base:config + headers: + - third_party/abseil-cpp/absl/strings/has_ostream_operator.h + name: absl/strings:has_ostream_operator + src: [] - cmake_target: absl::strings_internal deps: - absl/base:config @@ -1839,7 +1925,6 @@ - absl/base:raw_logging_internal - absl/meta:type_traits headers: - - third_party/abseil-cpp/absl/strings/internal/char_map.h - third_party/abseil-cpp/absl/strings/internal/escaping.h - third_party/abseil-cpp/absl/strings/internal/ostringstream.h - third_party/abseil-cpp/absl/strings/internal/resize_uninitialized.h @@ -1851,7 +1936,12 @@ - third_party/abseil-cpp/absl/strings/internal/utf8.cc - cmake_target: absl::str_format deps: + - absl/base:config + - absl/base:core_headers + - absl/base:nullability - absl/strings:str_format_internal + - absl/strings:string_view + - absl/types:span headers: - third_party/abseil-cpp/absl/strings/str_format.h name: absl/strings:str_format @@ -1860,6 +1950,7 @@ deps: - absl/base:config - absl/base:core_headers + - absl/container:fixed_array - absl/container:inlined_vector - absl/functional:function_ref - absl/meta:type_traits @@ -1892,6 +1983,7 @@ - absl/base:base - absl/base:config - absl/base:core_headers + - absl/base:nullability - absl/base:throw_delegate headers: - third_party/abseil-cpp/absl/strings/string_view.h @@ -1904,18 +1996,21 @@ - absl/base:config - absl/base:core_headers - absl/base:endian + - absl/base:nullability - absl/base:raw_logging_internal - absl/base:throw_delegate - absl/memory:memory - absl/meta:type_traits - absl/numeric:bits - absl/numeric:int128 + - absl/strings:charset - absl/strings:internal - absl/strings:string_view headers: - third_party/abseil-cpp/absl/strings/ascii.h - third_party/abseil-cpp/absl/strings/charconv.h - third_party/abseil-cpp/absl/strings/escaping.h + - third_party/abseil-cpp/absl/strings/has_absl_stringify.h - third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h - third_party/abseil-cpp/absl/strings/internal/charconv_parse.h - third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.h @@ -2128,6 +2223,7 @@ - third_party/abseil-cpp/absl/types/bad_variant_access.cc - cmake_target: absl::compare deps: + - absl/base:config - absl/base:core_headers - absl/meta:type_traits headers: @@ -2139,6 +2235,7 @@ - absl/base:base_internal - absl/base:config - absl/base:core_headers + - absl/base:nullability - absl/memory:memory - absl/meta:type_traits - absl/types:bad_optional_access @@ -2152,6 +2249,7 @@ deps: - absl/algorithm:algorithm - absl/base:core_headers + - absl/base:nullability - absl/base:throw_delegate - absl/meta:type_traits headers: diff --git a/src/android/test/interop/app/build.gradle b/src/android/test/interop/app/build.gradle index 85e1323ed3f..1ea0fdb445d 100644 --- a/src/android/test/interop/app/build.gradle +++ b/src/android/test/interop/app/build.gradle @@ -31,6 +31,7 @@ android { arguments '-DgRPC_CPP_PLUGIN_EXECUTABLE=' + grpc_cpp_plugin arguments '-Dprotobuf_INSTALL=OFF' arguments '-Dutf8_range_ENABLE_INSTALL=OFF' + version "3.22.1" } } ndk { @@ -49,6 +50,7 @@ android { externalNativeBuild { cmake { path "CMakeLists.txt" + version "3.22.1" } } } diff --git a/src/boringssl/boringssl_prefix_symbols.h b/src/boringssl/boringssl_prefix_symbols.h index 1fe2a4c0e8f..368614cbed7 100644 --- a/src/boringssl/boringssl_prefix_symbols.h +++ b/src/boringssl/boringssl_prefix_symbols.h @@ -1,4 +1,4 @@ -// generated by generate_boringssl_prefix_header.sh on BoringSSL commit: 2ff4b968a7e0cfee66d9f151cb95635b43dc1d5b +// generated by generate_boringssl_prefix_header.sh on BoringSSL commit: ae72a4514c7afd150596b0a80947f3ca9b8363b5 // Copyright (c) 2018, Google Inc. // @@ -470,6 +470,7 @@ #define SSL_set_SSL_CTX BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, SSL_set_SSL_CTX) #define SSL_set_accept_state BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, SSL_set_accept_state) #define SSL_set_alpn_protos BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, SSL_set_alpn_protos) +#define SSL_set_alps_use_new_codepoint BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, SSL_set_alps_use_new_codepoint) #define SSL_set_bio BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, SSL_set_bio) #define SSL_set_cert_cb BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, SSL_set_cert_cb) #define SSL_set_chain_and_key BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, SSL_set_chain_and_key) @@ -822,6 +823,8 @@ #define BIO_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_free) #define BIO_free_all BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_free_all) #define BIO_get_data BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_get_data) +#define BIO_get_ex_data BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_get_ex_data) +#define BIO_get_ex_new_index BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_get_ex_new_index) #define BIO_get_fd BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_get_fd) #define BIO_get_fp BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_get_fp) #define BIO_get_init BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_get_init) @@ -879,6 +882,7 @@ #define BIO_set_conn_int_port BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_set_conn_int_port) #define BIO_set_conn_port BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_set_conn_port) #define BIO_set_data BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_set_data) +#define BIO_set_ex_data BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_set_ex_data) #define BIO_set_fd BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_set_fd) #define BIO_set_flags BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_set_flags) #define BIO_set_fp BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BIO_set_fp) @@ -945,6 +949,7 @@ #define BN_bn2dec BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_bn2dec) #define BN_bn2hex BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_bn2hex) #define BN_bn2le_padded BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_bn2le_padded) +#define BN_bn2lebinpad BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_bn2lebinpad) #define BN_bn2mpi BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_bn2mpi) #define BN_clear BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_clear) #define BN_clear_bit BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_clear_bit) @@ -984,6 +989,7 @@ #define BN_is_word BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_is_word) #define BN_is_zero BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_is_zero) #define BN_le2bn BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_le2bn) +#define BN_lebin2bn BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_lebin2bn) #define BN_lshift BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_lshift) #define BN_lshift1 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_lshift1) #define BN_marshal_asn1 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_marshal_asn1) @@ -1050,6 +1056,7 @@ #define BN_zero BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_zero) #define BORINGSSL_function_hit BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BORINGSSL_function_hit) #define BORINGSSL_keccak BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BORINGSSL_keccak) +#define BORINGSSL_keccak_absorb BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BORINGSSL_keccak_absorb) #define BORINGSSL_keccak_init BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BORINGSSL_keccak_init) #define BORINGSSL_keccak_squeeze BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BORINGSSL_keccak_squeeze) #define BORINGSSL_self_test BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BORINGSSL_self_test) @@ -1074,6 +1081,7 @@ #define CBB_add_asn1_uint64 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_asn1_uint64) #define CBB_add_asn1_uint64_with_tag BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_asn1_uint64_with_tag) #define CBB_add_bytes BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_bytes) +#define CBB_add_latin1 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_latin1) #define CBB_add_space BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_space) #define CBB_add_u16 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_u16) #define CBB_add_u16_length_prefixed BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_u16_length_prefixed) @@ -1086,6 +1094,9 @@ #define CBB_add_u64le BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_u64le) #define CBB_add_u8 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_u8) #define CBB_add_u8_length_prefixed BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_u8_length_prefixed) +#define CBB_add_ucs2_be BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_ucs2_be) +#define CBB_add_utf32_be BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_utf32_be) +#define CBB_add_utf8 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_utf8) #define CBB_add_zeros BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_add_zeros) #define CBB_cleanup BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_cleanup) #define CBB_data BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_data) @@ -1095,6 +1106,7 @@ #define CBB_finish_i2d BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_finish_i2d) #define CBB_flush BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_flush) #define CBB_flush_asn1_set_of BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_flush_asn1_set_of) +#define CBB_get_utf8_len BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_get_utf8_len) #define CBB_init BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_init) #define CBB_init_fixed BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_init_fixed) #define CBB_len BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBB_len) @@ -1117,6 +1129,7 @@ #define CBS_get_asn1_uint64 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_asn1_uint64) #define CBS_get_bytes BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_bytes) #define CBS_get_last_u8 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_last_u8) +#define CBS_get_latin1 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_latin1) #define CBS_get_optional_asn1 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_optional_asn1) #define CBS_get_optional_asn1_bool BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_optional_asn1_bool) #define CBS_get_optional_asn1_octet_string BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_optional_asn1_octet_string) @@ -1133,7 +1146,10 @@ #define CBS_get_u64le BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_u64le) #define CBS_get_u8 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_u8) #define CBS_get_u8_length_prefixed BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_u8_length_prefixed) +#define CBS_get_ucs2_be BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_ucs2_be) #define CBS_get_until_first BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_until_first) +#define CBS_get_utf32_be BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_utf32_be) +#define CBS_get_utf8 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_get_utf8) #define CBS_init BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_init) #define CBS_is_unsigned_asn1_integer BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_is_unsigned_asn1_integer) #define CBS_is_valid_asn1_bitstring BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CBS_is_valid_asn1_bitstring) @@ -1197,6 +1213,7 @@ #define CRYPTO_cleanup_all_ex_data BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CRYPTO_cleanup_all_ex_data) #define CRYPTO_ctr128_encrypt BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CRYPTO_ctr128_encrypt) #define CRYPTO_ctr128_encrypt_ctr32 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CRYPTO_ctr128_encrypt_ctr32) +#define CRYPTO_fips_186_2_prf BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CRYPTO_fips_186_2_prf) #define CRYPTO_fork_detect_force_madv_wipeonfork_for_testing BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CRYPTO_fork_detect_force_madv_wipeonfork_for_testing) #define CRYPTO_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CRYPTO_free) #define CRYPTO_free_ex_data BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CRYPTO_free_ex_data) @@ -1262,7 +1279,10 @@ #define CTR_DRBG_init BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CTR_DRBG_init) #define CTR_DRBG_new BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CTR_DRBG_new) #define CTR_DRBG_reseed BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CTR_DRBG_reseed) -#define ChaCha20_ctr32 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, ChaCha20_ctr32) +#define ChaCha20_ctr32_avx2 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, ChaCha20_ctr32_avx2) +#define ChaCha20_ctr32_nohw BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, ChaCha20_ctr32_nohw) +#define ChaCha20_ctr32_ssse3 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, ChaCha20_ctr32_ssse3) +#define ChaCha20_ctr32_ssse3_4x BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, ChaCha20_ctr32_ssse3_4x) #define DES_decrypt3 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, DES_decrypt3) #define DES_ecb3_encrypt BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, DES_ecb3_encrypt) #define DES_ecb_encrypt BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, DES_ecb_encrypt) @@ -1955,6 +1975,7 @@ #define OBJ_find_sigid_algs BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OBJ_find_sigid_algs) #define OBJ_find_sigid_by_algs BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OBJ_find_sigid_by_algs) #define OBJ_get0_data BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OBJ_get0_data) +#define OBJ_get_undef BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OBJ_get_undef) #define OBJ_length BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OBJ_length) #define OBJ_ln2nid BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OBJ_ln2nid) #define OBJ_nid2cbb BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OBJ_nid2cbb) @@ -1968,6 +1989,7 @@ #define OBJ_txt2obj BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OBJ_txt2obj) #define OPENSSL_add_all_algorithms_conf BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_add_all_algorithms_conf) #define OPENSSL_asprintf BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_asprintf) +#define OPENSSL_calloc BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_calloc) #define OPENSSL_cleanse BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_cleanse) #define OPENSSL_cleanup BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_cleanup) #define OPENSSL_clear_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_clear_free) @@ -1975,6 +1997,7 @@ #define OPENSSL_cpuid_setup BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_cpuid_setup) #define OPENSSL_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_free) #define OPENSSL_fromxdigit BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_fromxdigit) +#define OPENSSL_get_ia32cap BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_get_ia32cap) #define OPENSSL_gmtime BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_gmtime) #define OPENSSL_gmtime_adj BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_gmtime_adj) #define OPENSSL_gmtime_diff BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_gmtime_diff) @@ -2037,6 +2060,7 @@ #define OPENSSL_tolower BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_tolower) #define OPENSSL_vasprintf BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_vasprintf) #define OPENSSL_vasprintf_internal BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_vasprintf_internal) +#define OPENSSL_zalloc BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OPENSSL_zalloc) #define OTHERNAME_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OTHERNAME_free) #define OTHERNAME_it BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OTHERNAME_it) #define OTHERNAME_new BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, OTHERNAME_new) @@ -2190,6 +2214,7 @@ #define RAND_bytes BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, RAND_bytes) #define RAND_bytes_with_additional_data BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, RAND_bytes_with_additional_data) #define RAND_cleanup BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, RAND_cleanup) +#define RAND_disable_fork_unsafe_buffering BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, RAND_disable_fork_unsafe_buffering) #define RAND_egd BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, RAND_egd) #define RAND_enable_fork_unsafe_buffering BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, RAND_enable_fork_unsafe_buffering) #define RAND_file_name BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, RAND_file_name) @@ -2362,7 +2387,6 @@ #define X509V3_EXT_nconf_nid BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509V3_EXT_nconf_nid) #define X509V3_EXT_print BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509V3_EXT_print) #define X509V3_EXT_print_fp BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509V3_EXT_print_fp) -#define X509V3_EXT_val_prn BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509V3_EXT_val_prn) #define X509V3_NAME_from_section BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509V3_NAME_from_section) #define X509V3_add1_i2d BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509V3_add1_i2d) #define X509V3_add_standard_extensions BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509V3_add_standard_extensions) @@ -2416,7 +2440,6 @@ #define X509_CRL_add_ext BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_CRL_add_ext) #define X509_CRL_cmp BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_CRL_cmp) #define X509_CRL_delete_ext BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_CRL_delete_ext) -#define X509_CRL_diff BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_CRL_diff) #define X509_CRL_digest BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_CRL_digest) #define X509_CRL_dup BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_CRL_dup) #define X509_CRL_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_CRL_free) @@ -2468,15 +2491,12 @@ #define X509_EXTENSION_set_data BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_EXTENSION_set_data) #define X509_EXTENSION_set_object BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_EXTENSION_set_object) #define X509_INFO_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_INFO_free) -#define X509_INFO_new BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_INFO_new) -#define X509_LOOKUP_by_subject BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_LOOKUP_by_subject) +#define X509_LOOKUP_add_dir BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_LOOKUP_add_dir) #define X509_LOOKUP_ctrl BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_LOOKUP_ctrl) #define X509_LOOKUP_file BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_LOOKUP_file) #define X509_LOOKUP_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_LOOKUP_free) #define X509_LOOKUP_hash_dir BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_LOOKUP_hash_dir) -#define X509_LOOKUP_init BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_LOOKUP_init) -#define X509_LOOKUP_new BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_LOOKUP_new) -#define X509_LOOKUP_shutdown BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_LOOKUP_shutdown) +#define X509_LOOKUP_load_file BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_LOOKUP_load_file) #define X509_NAME_ENTRIES_it BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_NAME_ENTRIES_it) #define X509_NAME_ENTRY_create_by_NID BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_NAME_ENTRY_create_by_NID) #define X509_NAME_ENTRY_create_by_OBJ BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_NAME_ENTRY_create_by_OBJ) @@ -2516,25 +2536,20 @@ #define X509_NAME_print_ex BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_NAME_print_ex) #define X509_NAME_print_ex_fp BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_NAME_print_ex_fp) #define X509_NAME_set BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_NAME_set) +#define X509_OBJECT_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_OBJECT_free) #define X509_OBJECT_free_contents BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_OBJECT_free_contents) #define X509_OBJECT_get0_X509 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_OBJECT_get0_X509) #define X509_OBJECT_get_type BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_OBJECT_get_type) -#define X509_OBJECT_idx_by_subject BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_OBJECT_idx_by_subject) -#define X509_OBJECT_retrieve_by_subject BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_OBJECT_retrieve_by_subject) -#define X509_OBJECT_retrieve_match BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_OBJECT_retrieve_match) -#define X509_OBJECT_up_ref_count BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_OBJECT_up_ref_count) -#define X509_PKEY_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PKEY_free) -#define X509_PKEY_new BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PKEY_new) +#define X509_OBJECT_new BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_OBJECT_new) #define X509_PUBKEY_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PUBKEY_free) #define X509_PUBKEY_get BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PUBKEY_get) +#define X509_PUBKEY_get0 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PUBKEY_get0) #define X509_PUBKEY_get0_param BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PUBKEY_get0_param) #define X509_PUBKEY_get0_public_key BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PUBKEY_get0_public_key) #define X509_PUBKEY_it BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PUBKEY_it) #define X509_PUBKEY_new BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PUBKEY_new) #define X509_PUBKEY_set BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PUBKEY_set) #define X509_PUBKEY_set0_param BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PUBKEY_set0_param) -#define X509_PURPOSE_add BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PURPOSE_add) -#define X509_PURPOSE_cleanup BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PURPOSE_cleanup) #define X509_PURPOSE_get0 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PURPOSE_get0) #define X509_PURPOSE_get0_name BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PURPOSE_get0_name) #define X509_PURPOSE_get0_sname BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_PURPOSE_get0_sname) @@ -2559,6 +2574,7 @@ #define X509_REQ_dup BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_REQ_dup) #define X509_REQ_extension_nid BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_REQ_extension_nid) #define X509_REQ_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_REQ_free) +#define X509_REQ_get0_pubkey BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_REQ_get0_pubkey) #define X509_REQ_get0_signature BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_REQ_get0_signature) #define X509_REQ_get1_email BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_REQ_get1_email) #define X509_REQ_get_attr BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_REQ_get_attr) @@ -2611,13 +2627,15 @@ #define X509_STORE_CTX_get0_cert BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get0_cert) #define X509_STORE_CTX_get0_chain BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get0_chain) #define X509_STORE_CTX_get0_current_crl BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get0_current_crl) -#define X509_STORE_CTX_get0_current_issuer BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get0_current_issuer) #define X509_STORE_CTX_get0_param BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get0_param) #define X509_STORE_CTX_get0_parent_ctx BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get0_parent_ctx) #define X509_STORE_CTX_get0_store BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get0_store) #define X509_STORE_CTX_get0_untrusted BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get0_untrusted) +#define X509_STORE_CTX_get1_certs BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get1_certs) #define X509_STORE_CTX_get1_chain BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get1_chain) +#define X509_STORE_CTX_get1_crls BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get1_crls) #define X509_STORE_CTX_get1_issuer BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get1_issuer) +#define X509_STORE_CTX_get_by_subject BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get_by_subject) #define X509_STORE_CTX_get_chain BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get_chain) #define X509_STORE_CTX_get_current_cert BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get_current_cert) #define X509_STORE_CTX_get_error BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get_error) @@ -2626,11 +2644,9 @@ #define X509_STORE_CTX_get_ex_new_index BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get_ex_new_index) #define X509_STORE_CTX_init BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_init) #define X509_STORE_CTX_new BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_new) -#define X509_STORE_CTX_purpose_inherit BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_purpose_inherit) #define X509_STORE_CTX_set0_crls BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_set0_crls) #define X509_STORE_CTX_set0_param BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_set0_param) #define X509_STORE_CTX_set0_trusted_stack BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_set0_trusted_stack) -#define X509_STORE_CTX_set_cert BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_set_cert) #define X509_STORE_CTX_set_chain BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_set_chain) #define X509_STORE_CTX_set_default BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_set_default) #define X509_STORE_CTX_set_depth BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_set_depth) @@ -2643,49 +2659,24 @@ #define X509_STORE_CTX_set_trust BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_set_trust) #define X509_STORE_CTX_set_verify_cb BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_set_verify_cb) #define X509_STORE_CTX_trusted_stack BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_trusted_stack) -#define X509_STORE_CTX_zero BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_zero) #define X509_STORE_add_cert BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_add_cert) #define X509_STORE_add_crl BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_add_crl) #define X509_STORE_add_lookup BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_add_lookup) #define X509_STORE_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_free) #define X509_STORE_get0_objects BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get0_objects) #define X509_STORE_get0_param BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get0_param) -#define X509_STORE_get1_certs BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get1_certs) -#define X509_STORE_get1_crls BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get1_crls) -#define X509_STORE_get_by_subject BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get_by_subject) -#define X509_STORE_get_cert_crl BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get_cert_crl) -#define X509_STORE_get_check_crl BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get_check_crl) -#define X509_STORE_get_check_issued BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get_check_issued) -#define X509_STORE_get_check_revocation BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get_check_revocation) -#define X509_STORE_get_cleanup BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get_cleanup) -#define X509_STORE_get_get_crl BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get_get_crl) -#define X509_STORE_get_get_issuer BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get_get_issuer) -#define X509_STORE_get_lookup_certs BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get_lookup_certs) -#define X509_STORE_get_lookup_crls BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get_lookup_crls) -#define X509_STORE_get_verify BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get_verify) -#define X509_STORE_get_verify_cb BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_get_verify_cb) #define X509_STORE_load_locations BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_load_locations) #define X509_STORE_new BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_new) #define X509_STORE_set1_param BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set1_param) -#define X509_STORE_set_cert_crl BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_cert_crl) #define X509_STORE_set_check_crl BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_check_crl) -#define X509_STORE_set_check_issued BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_check_issued) -#define X509_STORE_set_check_revocation BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_check_revocation) -#define X509_STORE_set_cleanup BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_cleanup) #define X509_STORE_set_default_paths BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_default_paths) #define X509_STORE_set_depth BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_depth) #define X509_STORE_set_flags BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_flags) #define X509_STORE_set_get_crl BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_get_crl) -#define X509_STORE_set_get_issuer BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_get_issuer) -#define X509_STORE_set_lookup_certs BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_lookup_certs) -#define X509_STORE_set_lookup_crls BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_lookup_crls) #define X509_STORE_set_purpose BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_purpose) #define X509_STORE_set_trust BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_trust) -#define X509_STORE_set_verify BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_verify) #define X509_STORE_set_verify_cb BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_set_verify_cb) #define X509_STORE_up_ref BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_up_ref) -#define X509_TRUST_add BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_TRUST_add) -#define X509_TRUST_cleanup BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_TRUST_cleanup) #define X509_TRUST_get0 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_TRUST_get0) #define X509_TRUST_get0_name BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_TRUST_get0_name) #define X509_TRUST_get_by_id BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_TRUST_get_by_id) @@ -2700,8 +2691,6 @@ #define X509_VERIFY_PARAM_add1_host BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_add1_host) #define X509_VERIFY_PARAM_clear_flags BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_clear_flags) #define X509_VERIFY_PARAM_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_free) -#define X509_VERIFY_PARAM_get0_name BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_get0_name) -#define X509_VERIFY_PARAM_get0_peername BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_get0_peername) #define X509_VERIFY_PARAM_get_depth BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_get_depth) #define X509_VERIFY_PARAM_get_flags BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_get_flags) #define X509_VERIFY_PARAM_inherit BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_inherit) @@ -2712,7 +2701,6 @@ #define X509_VERIFY_PARAM_set1_host BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_set1_host) #define X509_VERIFY_PARAM_set1_ip BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_set1_ip) #define X509_VERIFY_PARAM_set1_ip_asc BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_set1_ip_asc) -#define X509_VERIFY_PARAM_set1_name BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_set1_name) #define X509_VERIFY_PARAM_set1_policies BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_set1_policies) #define X509_VERIFY_PARAM_set_depth BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_set_depth) #define X509_VERIFY_PARAM_set_flags BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_VERIFY_PARAM_set_flags) @@ -2755,6 +2743,7 @@ #define X509_get0_extensions BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_get0_extensions) #define X509_get0_notAfter BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_get0_notAfter) #define X509_get0_notBefore BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_get0_notBefore) +#define X509_get0_pubkey BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_get0_pubkey) #define X509_get0_pubkey_bitstr BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_get0_pubkey_bitstr) #define X509_get0_serialNumber BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_get0_serialNumber) #define X509_get0_signature BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_get0_signature) @@ -2845,7 +2834,6 @@ #define X509v3_get_ext_by_OBJ BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509v3_get_ext_by_OBJ) #define X509v3_get_ext_by_critical BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509v3_get_ext_by_critical) #define X509v3_get_ext_count BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509v3_get_ext_count) -#define a2i_GENERAL_NAME BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, a2i_GENERAL_NAME) #define a2i_IPADDRESS BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, a2i_IPADDRESS) #define a2i_IPADDRESS_NC BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, a2i_IPADDRESS_NC) #define abi_test_bad_unwind_temporary BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, abi_test_bad_unwind_temporary) @@ -2937,6 +2925,7 @@ #define asn1_refcount_set_one BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, asn1_refcount_set_one) #define asn1_set_choice_selector BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, asn1_set_choice_selector) #define asn1_type_cleanup BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, asn1_type_cleanup) +#define asn1_type_set0_string BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, asn1_type_set0_string) #define asn1_type_value_as_pointer BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, asn1_type_value_as_pointer) #define asn1_utctime_to_tm BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, asn1_utctime_to_tm) #define beeu_mod_inverse_vartime BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, beeu_mod_inverse_vartime) @@ -2983,14 +2972,17 @@ #define bn_mont_ctx_init BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mont_ctx_init) #define bn_mont_ctx_set_RR_consttime BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mont_ctx_set_RR_consttime) #define bn_mont_n0 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mont_n0) +#define bn_mul4x_mont BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mul4x_mont) #define bn_mul_add_words BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mul_add_words) #define bn_mul_comba4 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mul_comba4) #define bn_mul_comba8 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mul_comba8) #define bn_mul_consttime BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mul_consttime) #define bn_mul_mont BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mul_mont) #define bn_mul_mont_gather5 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mul_mont_gather5) +#define bn_mul_mont_nohw BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mul_mont_nohw) #define bn_mul_small BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mul_small) #define bn_mul_words BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mul_words) +#define bn_mulx4x_mont BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_mulx4x_mont) #define bn_odd_number_is_obviously_composite BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_odd_number_is_obviously_composite) #define bn_one_to_montgomery BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_one_to_montgomery) #define bn_power5 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_power5) @@ -3008,6 +3000,7 @@ #define bn_set_static_words BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_set_static_words) #define bn_set_words BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_set_words) #define bn_sqr8x_internal BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_sqr8x_internal) +#define bn_sqr8x_mont BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_sqr8x_mont) #define bn_sqr_comba4 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_sqr_comba4) #define bn_sqr_comba8 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_sqr_comba8) #define bn_sqr_consttime BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, bn_sqr_consttime) @@ -3026,15 +3019,6 @@ #define c2i_ASN1_BIT_STRING BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, c2i_ASN1_BIT_STRING) #define c2i_ASN1_INTEGER BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, c2i_ASN1_INTEGER) #define c2i_ASN1_OBJECT BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, c2i_ASN1_OBJECT) -#define cbb_add_latin1 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, cbb_add_latin1) -#define cbb_add_ucs2_be BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, cbb_add_ucs2_be) -#define cbb_add_utf32_be BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, cbb_add_utf32_be) -#define cbb_add_utf8 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, cbb_add_utf8) -#define cbb_get_utf8_len BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, cbb_get_utf8_len) -#define cbs_get_latin1 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, cbs_get_latin1) -#define cbs_get_ucs2_be BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, cbs_get_ucs2_be) -#define cbs_get_utf32_be BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, cbs_get_utf32_be) -#define cbs_get_utf8 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, cbs_get_utf8) #define chacha20_poly1305_open BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, chacha20_poly1305_open) #define chacha20_poly1305_seal BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, chacha20_poly1305_seal) #define crypto_gcm_clmul_enabled BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, crypto_gcm_clmul_enabled) @@ -3090,7 +3074,6 @@ #define d2i_EC_PUBKEY BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_EC_PUBKEY) #define d2i_EC_PUBKEY_bio BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_EC_PUBKEY_bio) #define d2i_EC_PUBKEY_fp BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_EC_PUBKEY_fp) -#define d2i_EDIPARTYNAME BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_EDIPARTYNAME) #define d2i_EXTENDED_KEY_USAGE BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_EXTENDED_KEY_USAGE) #define d2i_GENERAL_NAME BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_GENERAL_NAME) #define d2i_GENERAL_NAMES BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_GENERAL_NAMES) @@ -3098,7 +3081,6 @@ #define d2i_NETSCAPE_SPKAC BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_NETSCAPE_SPKAC) #define d2i_NETSCAPE_SPKI BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_NETSCAPE_SPKI) #define d2i_NOTICEREF BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_NOTICEREF) -#define d2i_OTHERNAME BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_OTHERNAME) #define d2i_PKCS12 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_PKCS12) #define d2i_PKCS12_bio BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_PKCS12_bio) #define d2i_PKCS12_fp BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_PKCS12_fp) @@ -3144,7 +3126,6 @@ #define d2i_X509_EXTENSION BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_X509_EXTENSION) #define d2i_X509_EXTENSIONS BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_X509_EXTENSIONS) #define d2i_X509_NAME BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_X509_NAME) -#define d2i_X509_NAME_ENTRY BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_X509_NAME_ENTRY) #define d2i_X509_PUBKEY BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_X509_PUBKEY) #define d2i_X509_REQ BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_X509_REQ) #define d2i_X509_REQ_INFO BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, d2i_X509_REQ_INFO) @@ -3263,6 +3244,8 @@ #define ed25519_pkey_meth BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, ed25519_pkey_meth) #define fiat_curve25519_adx_mul BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, fiat_curve25519_adx_mul) #define fiat_curve25519_adx_square BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, fiat_curve25519_adx_square) +#define fiat_p256_adx_mul BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, fiat_p256_adx_mul) +#define fiat_p256_adx_sqr BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, fiat_p256_adx_sqr) #define gcm_ghash_avx BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, gcm_ghash_avx) #define gcm_ghash_clmul BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, gcm_ghash_clmul) #define gcm_ghash_nohw BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, gcm_ghash_nohw) @@ -3276,7 +3259,6 @@ #define gcm_init_nohw BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, gcm_init_nohw) #define gcm_init_ssse3 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, gcm_init_ssse3) #define hkdf_pkey_meth BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, hkdf_pkey_meth) -#define i2a_ACCESS_DESCRIPTION BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2a_ACCESS_DESCRIPTION) #define i2a_ASN1_ENUMERATED BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2a_ASN1_ENUMERATED) #define i2a_ASN1_INTEGER BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2a_ASN1_INTEGER) #define i2a_ASN1_OBJECT BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2a_ASN1_OBJECT) @@ -3334,7 +3316,6 @@ #define i2d_EC_PUBKEY BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_EC_PUBKEY) #define i2d_EC_PUBKEY_bio BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_EC_PUBKEY_bio) #define i2d_EC_PUBKEY_fp BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_EC_PUBKEY_fp) -#define i2d_EDIPARTYNAME BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_EDIPARTYNAME) #define i2d_EXTENDED_KEY_USAGE BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_EXTENDED_KEY_USAGE) #define i2d_GENERAL_NAME BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_GENERAL_NAME) #define i2d_GENERAL_NAMES BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_GENERAL_NAMES) @@ -3342,7 +3323,6 @@ #define i2d_NETSCAPE_SPKAC BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_NETSCAPE_SPKAC) #define i2d_NETSCAPE_SPKI BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_NETSCAPE_SPKI) #define i2d_NOTICEREF BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_NOTICEREF) -#define i2d_OTHERNAME BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_OTHERNAME) #define i2d_PKCS12 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_PKCS12) #define i2d_PKCS12_bio BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_PKCS12_bio) #define i2d_PKCS12_fp BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_PKCS12_fp) @@ -3393,7 +3373,6 @@ #define i2d_X509_EXTENSION BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_X509_EXTENSION) #define i2d_X509_EXTENSIONS BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_X509_EXTENSIONS) #define i2d_X509_NAME BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_X509_NAME) -#define i2d_X509_NAME_ENTRY BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_X509_NAME_ENTRY) #define i2d_X509_PUBKEY BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_X509_PUBKEY) #define i2d_X509_REQ BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_X509_REQ) #define i2d_X509_REQ_INFO BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, i2d_X509_REQ_INFO) @@ -3479,9 +3458,17 @@ #define rsaz_1024_sqr_avx2 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, rsaz_1024_sqr_avx2) #define s2i_ASN1_INTEGER BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, s2i_ASN1_INTEGER) #define s2i_ASN1_OCTET_STRING BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, s2i_ASN1_OCTET_STRING) -#define sha1_block_data_order BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha1_block_data_order) -#define sha256_block_data_order BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha256_block_data_order) -#define sha512_block_data_order BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha512_block_data_order) +#define sha1_block_data_order_avx BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha1_block_data_order_avx) +#define sha1_block_data_order_avx2 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha1_block_data_order_avx2) +#define sha1_block_data_order_hw BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha1_block_data_order_hw) +#define sha1_block_data_order_nohw BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha1_block_data_order_nohw) +#define sha1_block_data_order_ssse3 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha1_block_data_order_ssse3) +#define sha256_block_data_order_avx BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha256_block_data_order_avx) +#define sha256_block_data_order_hw BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha256_block_data_order_hw) +#define sha256_block_data_order_nohw BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha256_block_data_order_nohw) +#define sha256_block_data_order_ssse3 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha256_block_data_order_ssse3) +#define sha512_block_data_order_avx BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha512_block_data_order_avx) +#define sha512_block_data_order_nohw BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sha512_block_data_order_nohw) #define sk_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sk_free) #define sk_new_null BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sk_new_null) #define sk_num BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sk_num) @@ -3490,6 +3477,42 @@ #define sk_pop_free_ex BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sk_pop_free_ex) #define sk_push BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sk_push) #define sk_value BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, sk_value) +#define spx_base_b BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_base_b) +#define spx_copy_keypair_addr BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_copy_keypair_addr) +#define spx_fors_pk_from_sig BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_fors_pk_from_sig) +#define spx_fors_sign BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_fors_sign) +#define spx_fors_sk_gen BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_fors_sk_gen) +#define spx_fors_treehash BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_fors_treehash) +#define spx_generate_key BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_generate_key) +#define spx_generate_key_from_seed BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_generate_key_from_seed) +#define spx_get_tree_index BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_get_tree_index) +#define spx_ht_sign BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_ht_sign) +#define spx_ht_verify BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_ht_verify) +#define spx_set_chain_addr BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_set_chain_addr) +#define spx_set_hash_addr BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_set_hash_addr) +#define spx_set_keypair_addr BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_set_keypair_addr) +#define spx_set_layer_addr BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_set_layer_addr) +#define spx_set_tree_addr BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_set_tree_addr) +#define spx_set_tree_height BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_set_tree_height) +#define spx_set_tree_index BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_set_tree_index) +#define spx_set_type BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_set_type) +#define spx_sign BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_sign) +#define spx_thash_f BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_thash_f) +#define spx_thash_h BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_thash_h) +#define spx_thash_hmsg BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_thash_hmsg) +#define spx_thash_prf BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_thash_prf) +#define spx_thash_prfmsg BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_thash_prfmsg) +#define spx_thash_tk BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_thash_tk) +#define spx_thash_tl BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_thash_tl) +#define spx_to_uint64 BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_to_uint64) +#define spx_treehash BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_treehash) +#define spx_uint64_to_len_bytes BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_uint64_to_len_bytes) +#define spx_verify BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_verify) +#define spx_wots_pk_from_sig BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_wots_pk_from_sig) +#define spx_wots_pk_gen BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_wots_pk_gen) +#define spx_wots_sign BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_wots_sign) +#define spx_xmss_pk_from_sig BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_xmss_pk_from_sig) +#define spx_xmss_sign BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, spx_xmss_sign) #define v2i_GENERAL_NAME BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, v2i_GENERAL_NAME) #define v2i_GENERAL_NAMES BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, v2i_GENERAL_NAMES) #define v2i_GENERAL_NAME_ex BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, v2i_GENERAL_NAME_ex) @@ -3556,6 +3579,7 @@ #define x25519_sc_reduce BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, x25519_sc_reduce) #define x25519_scalar_mult_adx BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, x25519_scalar_mult_adx) #define x509V3_add_value_asn1_string BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, x509V3_add_value_asn1_string) +#define x509_check_issued_with_callback BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, x509_check_issued_with_callback) #define x509_digest_sign_algorithm BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, x509_digest_sign_algorithm) #define x509_digest_verify_init BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, x509_digest_verify_init) #define x509_print_rsa_pss_params BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, x509_print_rsa_pss_params) diff --git a/src/compiler/.clang-format b/src/compiler/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/src/compiler/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/src/compiler/python_generator.cc b/src/compiler/python_generator.cc index 753fe1c8887..b7a3115bce0 100644 --- a/src/compiler/python_generator.cc +++ b/src/compiler/python_generator.cc @@ -467,7 +467,7 @@ bool PrivateGenerator::PrintStub( out->Print( method_dict, "response_deserializer=$ResponseModuleAndClass$.FromString,\n"); - out->Print(")\n"); + out->Print("_registered_method=True)\n"); } } } @@ -642,22 +642,27 @@ bool PrivateGenerator::PrintServiceClass( args_dict["ArityMethodName"] = arity_method_name; args_dict["PackageQualifiedService"] = package_qualified_service_name; args_dict["Method"] = method->name(); - out->Print(args_dict, - "return " - "grpc.experimental.$ArityMethodName$($RequestParameter$, " - "target, '/$PackageQualifiedService$/$Method$',\n"); + out->Print(args_dict, "return grpc.experimental.$ArityMethodName$(\n"); { IndentScope continuation_indent(out); StringMap serializer_dict; + out->Print(args_dict, "$RequestParameter$,\n"); + out->Print("target,\n"); + out->Print(args_dict, "'/$PackageQualifiedService$/$Method$',\n"); serializer_dict["RequestModuleAndClass"] = request_module_and_class; serializer_dict["ResponseModuleAndClass"] = response_module_and_class; out->Print(serializer_dict, "$RequestModuleAndClass$.SerializeToString,\n"); out->Print(serializer_dict, "$ResponseModuleAndClass$.FromString,\n"); - out->Print("options, channel_credentials,\n"); - out->Print( - "insecure, call_credentials, compression, wait_for_ready, " - "timeout, metadata)\n"); + out->Print("options,\n"); + out->Print("channel_credentials,\n"); + out->Print("insecure,\n"); + out->Print("call_credentials,\n"); + out->Print("compression,\n"); + out->Print("wait_for_ready,\n"); + out->Print("timeout,\n"); + out->Print("metadata,\n"); + out->Print("_registered_method=True)\n"); } } } diff --git a/src/core/.clang-format b/src/core/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/src/core/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/src/core/BUILD b/src/core/BUILD index 46cb5dd68ee..deb1ccf5cab 100644 --- a/src/core/BUILD +++ b/src/core/BUILD @@ -33,7 +33,10 @@ package( # the top-level BUILD file that have not yet been moved here. Should go away # once the transition is complete. exports_files( - glob(["**"]), + glob( + ["**"], + exclude = ["ext/transport/binder/java/**"], + ), visibility = ["//:__subpackages__"], ) @@ -52,6 +55,23 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "event_engine_extensions", + hdrs = [ + "lib/event_engine/extensions/can_track_errors.h", + "lib/event_engine/extensions/supports_fd.h", + ], + external_deps = [ + "absl/status:statusor", + "absl/functional:any_invocable", + "absl/strings", + ], + deps = [ + "//:event_engine_base_hdrs", + "//:gpr_platform", + ], +) + grpc_cc_library( name = "event_engine_common", srcs = [ @@ -61,6 +81,7 @@ grpc_cc_library( "lib/event_engine/slice_buffer.cc", ], hdrs = [ + "lib/event_engine/extensions/can_track_errors.h", "lib/event_engine/handle_containers.h", "lib/event_engine/resolved_address_internal.h", "//:include/grpc/event_engine/slice.h", @@ -117,10 +138,12 @@ grpc_cc_library( "lib/experiments/config.h", "lib/experiments/experiments.h", ], - defines = select({ - "//:grpc_experiments_are_final": ["GRPC_EXPERIMENTS_ARE_FINAL"], - "//conditions:default": [], - }), + defines = select( + { + "//:grpc_experiments_are_final": ["GRPC_EXPERIMENTS_ARE_FINAL"], + "//conditions:default": [], + }, + ), external_deps = [ "absl/functional:any_invocable", "absl/strings", @@ -150,6 +173,7 @@ grpc_cc_library( "absl/types:variant", ], language = "c++", + visibility = ["@grpc:useful"], deps = ["//:gpr_platform"], ) @@ -239,6 +263,27 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "directory_reader", + srcs = [ + "lib/gprpp/posix/directory_reader.cc", + "lib/gprpp/windows/directory_reader.cc", + ], + hdrs = [ + "lib/gprpp/directory_reader.h", + ], + external_deps = [ + "absl/functional:function_ref", + "absl/status", + "absl/status:statusor", + "absl/strings", + ], + deps = [ + "//:gpr", + "//:gpr_platform", + ], +) + grpc_cc_library( name = "chunked_vector", hdrs = ["lib/gprpp/chunked_vector.h"], @@ -270,7 +315,8 @@ grpc_cc_library( "absl/strings:cord", "absl/time", "absl/types:optional", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", ], language = "c++", deps = [ @@ -397,6 +443,24 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "status_flag", + external_deps = [ + "absl/status", + "absl/status:statusor", + "absl/types:optional", + ], + language = "c++", + public_hdrs = [ + "lib/promise/status_flag.h", + ], + deps = [ + "promise_status", + "//:gpr", + "//:gpr_platform", + ], +) + grpc_cc_library( name = "map_pipe", external_deps = ["absl/status"], @@ -414,7 +478,6 @@ grpc_cc_library( "try_seq", "//:gpr", "//:gpr_platform", - "//:grpc_trace", ], ) @@ -437,24 +500,28 @@ grpc_cc_library( "arena", "construct_destruct", "context", + "poll", "promise_factory", "promise_trace", "ref_counted", "//:event_engine_base_hdrs", "//:exec_ctx", "//:gpr", - "//:grpc_trace", "//:ref_counted_ptr", ], ) grpc_cc_library( name = "context", + external_deps = ["absl/meta:type_traits"], language = "c++", public_hdrs = [ "lib/promise/context.h", ], - deps = ["//:gpr"], + deps = [ + "down_cast", + "//:gpr", + ], ) grpc_cc_library( @@ -573,6 +640,17 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "switch", + language = "c++", + public_hdrs = ["lib/promise/switch.h"], + deps = [ + "if", + "promise_factory", + "//:gpr_platform", + ], +) + grpc_cc_library( name = "promise_status", external_deps = [ @@ -633,7 +711,6 @@ grpc_cc_library( "promise_trace", "//:gpr", "//:gpr_platform", - "//:grpc_trace", ], ) @@ -666,17 +743,29 @@ grpc_cc_library( "join_state", "map", "poll", + "status_flag", "//:gpr_platform", ], ) grpc_cc_library( - name = "switch", + name = "all_ok", + external_deps = [ + "absl/meta:type_traits", + "absl/status", + "absl/status:statusor", + ], language = "c++", public_hdrs = [ - "lib/promise/detail/switch.h", + "lib/promise/all_ok.h", + ], + deps = [ + "join_state", + "map", + "poll", + "status_flag", + "//:gpr_platform", ], - deps = ["//:gpr_platform"], ) grpc_cc_library( @@ -694,7 +783,10 @@ grpc_cc_library( grpc_cc_library( name = "seq_state", - external_deps = ["absl/base:core_headers"], + external_deps = [ + "absl/base:core_headers", + "absl/strings", + ], language = "c++", public_hdrs = [ "lib/promise/detail/seq_state.h", @@ -705,8 +797,8 @@ grpc_cc_library( "promise_factory", "promise_like", "promise_trace", + "//:debug_location", "//:gpr", - "//:grpc_trace", ], ) @@ -721,6 +813,7 @@ grpc_cc_library( "poll", "promise_like", "seq_state", + "//:debug_location", "//:gpr_platform", ], ) @@ -742,6 +835,8 @@ grpc_cc_library( "promise_like", "promise_status", "seq_state", + "status_flag", + "//:debug_location", "//:gpr_platform", ], ) @@ -833,7 +928,25 @@ grpc_cc_library( "poll", "promise_trace", "//:gpr", - "//:grpc_trace", + ], +) + +grpc_cc_library( + name = "inter_activity_latch", + external_deps = [ + "absl/base:core_headers", + "absl/strings", + ], + language = "c++", + public_hdrs = [ + "lib/promise/inter_activity_latch.h", + ], + deps = [ + "activity", + "poll", + "promise_trace", + "wait_set", + "//:gpr", ], ) @@ -856,7 +969,6 @@ grpc_cc_library( "promise_trace", "//:debug_location", "//:gpr", - "//:grpc_trace", ], ) @@ -883,11 +995,23 @@ grpc_cc_library( "seq", "//:debug_location", "//:gpr", - "//:grpc_trace", "//:ref_counted_ptr", ], ) +grpc_cc_library( + name = "promise_mutex", + hdrs = [ + "lib/promise/promise_mutex.h", + ], + language = "c++", + deps = [ + "activity", + "poll", + "//:gpr", + ], +) + grpc_cc_library( name = "inter_activity_pipe", hdrs = [ @@ -939,6 +1063,23 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "observable", + hdrs = [ + "lib/promise/observable.h", + ], + external_deps = [ + "absl/container:flat_hash_set", + "absl/functional:any_invocable", + ], + language = "c++", + deps = [ + "activity", + "poll", + "//:gpr", + ], +) + grpc_cc_library( name = "for_each", external_deps = [ @@ -952,10 +1093,11 @@ grpc_cc_library( "construct_destruct", "poll", "promise_factory", + "promise_status", "promise_trace", + "status_flag", "//:gpr", "//:gpr_platform", - "//:grpc_trace", ], ) @@ -1048,7 +1190,6 @@ grpc_cc_library( "absl/base:core_headers", "absl/status", "absl/status:statusor", - "absl/strings", "absl/types:optional", ], language = "c++", @@ -1072,6 +1213,7 @@ grpc_cc_library( "//:gpr", "//:grpc_base", "//:handshaker", + "//:iomgr", "//:parse_address", "//:ref_counted_ptr", "//:uri_parser", @@ -1097,9 +1239,6 @@ grpc_cc_library( grpc_cc_library( name = "event_engine_memory_allocator", - srcs = [ - "lib/event_engine/memory_allocator.cc", - ], hdrs = [ "//:include/grpc/event_engine/internal/memory_allocator_impl.h", "//:include/grpc/event_engine/memory_allocator.h", @@ -1109,7 +1248,6 @@ grpc_cc_library( language = "c++", deps = [ "slice", - "slice_refcount", "//:gpr_platform", ], ) @@ -1155,6 +1293,7 @@ grpc_cc_library( "race", "resource_quota_trace", "seq", + "slice_refcount", "time", "useful", "//:gpr", @@ -1444,9 +1583,7 @@ grpc_cc_library( hdrs = [ "lib/event_engine/forkable.h", ], - external_deps = ["absl/base:core_headers"], deps = [ - "no_destruct", "//:config_vars", "//:gpr", "//:gpr_platform", @@ -1476,6 +1613,18 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "event_engine_query_extensions", + hdrs = [ + "lib/event_engine/query_extensions.h", + ], + external_deps = ["absl/strings"], + deps = [ + "//:event_engine_base_hdrs", + "//:gpr_platform", + ], +) + grpc_cc_library( name = "event_engine_work_queue", hdrs = [ @@ -1557,6 +1706,8 @@ grpc_cc_library( external_deps = [ "absl/base:core_headers", "absl/time", + "absl/status", + "absl/strings:str_format", ], deps = [ "time", @@ -1580,22 +1731,24 @@ grpc_cc_library( "absl/container:flat_hash_set", "absl/functional:any_invocable", "absl/time", + "absl/types:optional", ], deps = [ "common_event_engine_closures", + "env", "event_engine_basic_work_queue", "event_engine_thread_count", "event_engine_thread_local", "event_engine_trace", "event_engine_work_queue", + "examine_stack", "forkable", + "no_destruct", "notification", "time", - "useful", "//:backoff", "//:event_engine_base_hdrs", "//:gpr", - "//:grpc_trace", ], ) @@ -1611,6 +1764,8 @@ grpc_cc_library( "absl/status:statusor", ], deps = [ + "event_engine_extensions", + "event_engine_query_extensions", "//:event_engine_base_hdrs", "//:gpr", ], @@ -1652,6 +1807,7 @@ grpc_cc_library( ], deps = [ "event_engine_poller", + "forkable", "posix_event_engine_closure", "//:event_engine_base_hdrs", "//:gpr_platform", @@ -1784,7 +1940,6 @@ grpc_cc_library( deps = [ "event_engine_poller", "event_engine_time_util", - "forkable", "iomgr_port", "posix_event_engine_closure", "posix_event_engine_event_poller", @@ -1822,7 +1977,6 @@ grpc_cc_library( "common_event_engine_closures", "event_engine_poller", "event_engine_time_util", - "forkable", "iomgr_port", "posix_event_engine_closure", "posix_event_engine_event_poller", @@ -1847,7 +2001,9 @@ grpc_cc_library( ], external_deps = ["absl/strings"], deps = [ + "forkable", "iomgr_port", + "no_destruct", "posix_event_engine_event_poller", "posix_event_engine_poller_posix_epoll1", "posix_event_engine_poller_posix_poll", @@ -1904,7 +2060,6 @@ grpc_cc_library( "absl/container:flat_hash_map", "absl/functional:any_invocable", "absl/hash", - "absl/meta:type_traits", "absl/status", "absl/status:statusor", "absl/strings", @@ -1912,7 +2067,9 @@ grpc_cc_library( ], deps = [ "event_engine_common", + "event_engine_extensions", "event_engine_tcp_socket_utils", + "event_engine_trace", "experiments", "iomgr_port", "load_file", @@ -2024,6 +2181,7 @@ grpc_cc_library( ], deps = [ "event_engine_tcp_socket_utils", + "event_engine_trace", "iomgr_port", "posix_event_engine_base_hdrs", "posix_event_engine_closure", @@ -2033,6 +2191,7 @@ grpc_cc_library( "posix_event_engine_tcp_socket_utils", "socket_mutator", "status_helper", + "strerror", "time", "//:event_engine_base_hdrs", "//:exec_ctx", @@ -2050,7 +2209,6 @@ grpc_cc_library( "absl/container:flat_hash_map", "absl/functional:any_invocable", "absl/hash", - "absl/meta:type_traits", "absl/status", "absl/status:statusor", "absl/strings", @@ -2063,8 +2221,11 @@ grpc_cc_library( "event_engine_thread_pool", "event_engine_trace", "event_engine_utils", + "forkable", "init_internally", "iomgr_port", + "native_posix_dns_resolver", + "no_destruct", "posix_event_engine_base_hdrs", "posix_event_engine_closure", "posix_event_engine_endpoint", @@ -2074,7 +2235,9 @@ grpc_cc_library( "posix_event_engine_tcp_socket_utils", "posix_event_engine_timer", "posix_event_engine_timer_manager", + "ref_counted_dns_resolver_interface", "useful", + "//:config_vars", "//:event_engine_base_hdrs", "//:gpr", "//:grpc_trace", @@ -2092,6 +2255,7 @@ grpc_cc_library( "absl/strings", ], deps = [ + "ares_resolver", "channel_args_endpoint_config", "common_event_engine_closures", "error", @@ -2101,11 +2265,26 @@ grpc_cc_library( "event_engine_trace", "event_engine_utils", "init_internally", + "iomgr_port", "posix_event_engine_timer_manager", "time", "windows_endpoint", "windows_event_engine_listener", "windows_iocp", + "windows_native_resolver", + "//:event_engine_base_hdrs", + "//:gpr", + ], +) + +grpc_cc_library( + name = "windows_native_resolver", + srcs = ["lib/event_engine/windows/native_windows_dns_resolver.cc"], + hdrs = ["lib/event_engine/windows/native_windows_dns_resolver.h"], + external_deps = ["absl/strings:str_format"], + deps = [ + "error", + "status_helper", "//:event_engine_base_hdrs", "//:gpr", ], @@ -2212,6 +2391,7 @@ grpc_cc_library( ], external_deps = [ "absl/container:flat_hash_map", + "absl/strings", "absl/strings:str_format", ], deps = [ @@ -2300,27 +2480,29 @@ grpc_cc_library( srcs = ["lib/event_engine/default_event_engine_factory.cc"], hdrs = ["lib/event_engine/default_event_engine_factory.h"], external_deps = ["absl/memory"], - select_deps = [{ - "//:windows": ["windows_event_engine"], - "//:windows_msvc": ["windows_event_engine"], - "//:windows_other": ["windows_event_engine"], - "//:mac": [ - "posix_event_engine", - "cf_event_engine", - ], - "//:mac_x86_64": [ - "posix_event_engine", - "cf_event_engine", - ], - "//:mac_arm64": [ - "posix_event_engine", - "cf_event_engine", - ], - "//:ios": ["cf_event_engine"], - "//:tvos": ["cf_event_engine"], - "//:watchos": ["cf_event_engine"], - "//conditions:default": ["posix_event_engine"], - }], + select_deps = [ + { + "//:windows": ["windows_event_engine"], + "//:windows_msvc": ["windows_event_engine"], + "//:windows_other": ["windows_event_engine"], + "//:mac": [ + "posix_event_engine", + "cf_event_engine", + ], + "//:mac_x86_64": [ + "posix_event_engine", + "cf_event_engine", + ], + "//:mac_arm64": [ + "posix_event_engine", + "cf_event_engine", + ], + "//:ios": ["cf_event_engine"], + "//:tvos": ["cf_event_engine"], + "//:watchos": ["cf_event_engine"], + "//conditions:default": ["posix_event_engine"], + }, + ], deps = [ "//:event_engine_base_hdrs", "//:gpr_platform", @@ -2390,16 +2572,52 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "ref_counted_dns_resolver_interface", + hdrs = ["lib/event_engine/ref_counted_dns_resolver_interface.h"], + external_deps = ["absl/strings"], + deps = [ + "//:event_engine_base_hdrs", + "//:gpr_platform", + "//:orphanable", + ], +) + +grpc_cc_library( + name = "native_posix_dns_resolver", + srcs = [ + "lib/event_engine/posix_engine/native_posix_dns_resolver.cc", + ], + hdrs = [ + "lib/event_engine/posix_engine/native_posix_dns_resolver.h", + ], + external_deps = [ + "absl/functional:any_invocable", + "absl/status", + "absl/status:statusor", + "absl/strings", + "absl/strings:str_format", + ], + deps = [ + "iomgr_port", + "useful", + "//:event_engine_base_hdrs", + "//:gpr", + ], +) + grpc_cc_library( name = "ares_resolver", srcs = [ "lib/event_engine/ares_resolver.cc", + "lib/event_engine/windows/grpc_polled_fd_windows.cc", ], hdrs = [ "lib/event_engine/ares_resolver.h", "lib/event_engine/grpc_polled_fd.h", "lib/event_engine/nameser.h", "lib/event_engine/posix_engine/grpc_polled_fd_posix.h", + "lib/event_engine/windows/grpc_polled_fd_windows.h", ], external_deps = [ "absl/base:core_headers", @@ -2412,9 +2630,11 @@ grpc_cc_library( "absl/strings:str_format", "absl/types:optional", "absl/types:variant", + "address_sorting", "cares", ], deps = [ + "common_event_engine_closures", "error", "event_engine_time_util", "grpc_sockaddr", @@ -2422,7 +2642,10 @@ grpc_cc_library( "posix_event_engine_closure", "posix_event_engine_event_poller", "posix_event_engine_tcp_socket_utils", + "ref_counted_dns_resolver_interface", "resolved_address", + "slice", + "windows_iocp", "//:debug_location", "//:event_engine_base_hdrs", "//:gpr", @@ -2449,20 +2672,6 @@ grpc_cc_library( ], ) -grpc_cc_library( - name = "pid_controller", - srcs = [ - "lib/transport/pid_controller.cc", - ], - hdrs = [ - "lib/transport/pid_controller.h", - ], - deps = [ - "useful", - "//:gpr_platform", - ], -) - grpc_cc_library( name = "bdp_estimator", srcs = [ @@ -2623,6 +2832,21 @@ grpc_cc_library( deps = ["//:gpr_platform"], ) +grpc_cc_library( + name = "channel_stack_trace", + srcs = [ + "lib/channel/channel_stack_trace.cc", + ], + hdrs = [ + "lib/channel/channel_stack_trace.h", + ], + language = "c++", + deps = [ + "//:gpr_platform", + "//:grpc_trace", + ], +) + grpc_cc_library( name = "channel_init", srcs = [ @@ -2631,12 +2855,23 @@ grpc_cc_library( hdrs = [ "lib/surface/channel_init.h", ], - external_deps = ["absl/functional:any_invocable"], + external_deps = [ + "absl/functional:any_invocable", + "absl/strings", + "absl/types:optional", + ], language = "c++", deps = [ + "call_filters", + "channel_args", + "channel_fwd", + "channel_stack_trace", "channel_stack_type", "//:channel_stack_builder", + "//:debug_location", + "//:gpr", "//:gpr_platform", + "//:grpc_trace", ], ) @@ -2652,8 +2887,8 @@ grpc_cc_library( grpc_cc_library( name = "grpc_service_config", hdrs = [ - "lib/service_config/service_config.h", - "lib/service_config/service_config_call_data.h", + "service_config/service_config.h", + "service_config/service_config_call_data.h", ], external_deps = ["absl/strings"], language = "c++", @@ -2674,10 +2909,10 @@ grpc_cc_library( grpc_cc_library( name = "service_config_parser", srcs = [ - "lib/service_config/service_config_parser.cc", + "service_config/service_config_parser.cc", ], hdrs = [ - "lib/service_config/service_config_parser.h", + "service_config/service_config_parser.h", ], external_deps = ["absl/strings"], language = "c++", @@ -2743,9 +2978,269 @@ grpc_cc_library( ) grpc_cc_library( - name = "lb_policy", - srcs = ["lib/load_balancing/lb_policy.cc"], - hdrs = ["lib/load_balancing/lb_policy.h"], + name = "client_channel_internal_header", + hdrs = [ + "client_channel/client_channel_internal.h", + ], + external_deps = [ + "absl/functional:any_invocable", + ], + language = "c++", + deps = [ + "arena", + "grpc_service_config", + "lb_policy", + "unique_type_name", + "//:gpr_public_hdrs", + "//:grpc_base", + "//:legacy_context", + ], +) + +grpc_cc_library( + name = "subchannel_connector", + hdrs = [ + "client_channel/connector.h", + ], + language = "c++", + deps = [ + "channel_args", + "closure", + "error", + "iomgr_fwd", + "resolved_address", + "time", + "//:channelz", + "//:gpr_platform", + "//:grpc_base", + "//:iomgr", + "//:orphanable", + "//:ref_counted_ptr", + ], +) + +grpc_cc_library( + name = "subchannel_pool_interface", + srcs = [ + "client_channel/subchannel_pool_interface.cc", + ], + hdrs = [ + "client_channel/subchannel_pool_interface.h", + ], + external_deps = [ + "absl/status", + "absl/status:statusor", + "absl/strings", + ], + language = "c++", + deps = [ + "channel_args", + "ref_counted", + "resolved_address", + "useful", + "//:gpr_platform", + "//:grpc_trace", + "//:ref_counted_ptr", + "//:sockaddr_utils", + ], +) + +grpc_cc_library( + name = "config_selector", + srcs = [ + "client_channel/config_selector.cc", + ], + hdrs = [ + "client_channel/config_selector.h", + ], + external_deps = [ + "absl/status", + "absl/strings", + ], + language = "c++", + deps = [ + "arena", + "channel_args", + "channel_fwd", + "client_channel_internal_header", + "grpc_service_config", + "metadata_batch", + "ref_counted", + "slice", + "useful", + "//:gpr_public_hdrs", + "//:grpc_public_hdrs", + "//:ref_counted_ptr", + ], +) + +grpc_cc_library( + name = "client_channel_service_config", + srcs = [ + "client_channel/client_channel_service_config.cc", + ], + hdrs = [ + "client_channel/client_channel_service_config.h", + ], + external_deps = [ + "absl/status", + "absl/status:statusor", + "absl/strings", + "absl/types:optional", + ], + language = "c++", + deps = [ + "channel_args", + "json", + "json_args", + "json_object_loader", + "lb_policy", + "lb_policy_registry", + "service_config_parser", + "time", + "validation_errors", + "//:config", + "//:gpr_platform", + "//:ref_counted_ptr", + ], +) + +grpc_cc_library( + name = "retry_service_config", + srcs = [ + "client_channel/retry_service_config.cc", + ], + hdrs = [ + "client_channel/retry_service_config.h", + ], + external_deps = [ + "absl/strings", + "absl/types:optional", + ], + language = "c++", + deps = [ + "channel_args", + "json", + "json_args", + "json_channel_args", + "json_object_loader", + "service_config_parser", + "time", + "validation_errors", + "//:channel_arg_names", + "//:config", + "//:gpr_public_hdrs", + "//:grpc_base", + "//:grpc_public_hdrs", + ], +) + +grpc_cc_library( + name = "retry_throttle", + srcs = [ + "client_channel/retry_throttle.cc", + ], + hdrs = [ + "client_channel/retry_throttle.h", + ], + external_deps = [ + "absl/base:core_headers", + ], + language = "c++", + deps = [ + "gpr_atm", + "ref_counted", + "//:gpr", + "//:ref_counted_ptr", + ], +) + +grpc_cc_library( + name = "client_channel_backup_poller", + srcs = [ + "client_channel/backup_poller.cc", + ], + hdrs = [ + "client_channel/backup_poller.h", + ], + external_deps = [ + "absl/status", + ], + language = "c++", + deps = [ + "closure", + "error", + "iomgr_fwd", + "pollset_set", + "time", + "//:config_vars", + "//:gpr", + "//:gpr_platform", + "//:iomgr", + "//:iomgr_timer", + ], +) + +grpc_cc_library( + name = "client_channel_channelz", + srcs = [ + "client_channel/client_channel_channelz.cc", + ], + hdrs = [ + "client_channel/client_channel_channelz.h", + ], + external_deps = [ + "absl/base:core_headers", + "absl/strings", + ], + language = "c++", + deps = [ + "connectivity_state", + "json", + "//:channelz", + "//:gpr", + "//:grpc_public_hdrs", + "//:ref_counted_ptr", + ], +) + +grpc_cc_library( + name = "service_config_channel_arg_filter", + srcs = [ + "service_config/service_config_channel_arg_filter.cc", + ], + external_deps = [ + "absl/status", + "absl/status:statusor", + "absl/types:optional", + ], + language = "c++", + deps = [ + "arena", + "arena_promise", + "channel_args", + "channel_fwd", + "channel_stack_type", + "context", + "grpc_message_size_filter", + "grpc_service_config", + "metadata_batch", + "service_config_parser", + "//:channel_arg_names", + "//:config", + "//:gpr_platform", + "//:gpr_public_hdrs", + "//:grpc_base", + "//:grpc_service_config_impl", + "//:legacy_context", + "//:ref_counted_ptr", + ], +) + +grpc_cc_library( + name = "lb_policy", + srcs = ["load_balancing/lb_policy.cc"], + hdrs = ["load_balancing/lb_policy.h"], external_deps = [ "absl/base:core_headers", "absl/status", @@ -2763,8 +3258,10 @@ grpc_cc_library( "iomgr_fwd", "pollset_set", "ref_counted", + "resolved_address", "subchannel_interface", "//:debug_location", + "//:endpoint_addresses", "//:event_engine_base_hdrs", "//:exec_ctx", "//:gpr", @@ -2772,14 +3269,13 @@ grpc_cc_library( "//:grpc_trace", "//:orphanable", "//:ref_counted_ptr", - "//:server_address", "//:work_serializer", ], ) grpc_cc_library( name = "lb_policy_factory", - hdrs = ["lib/load_balancing/lb_policy_factory.h"], + hdrs = ["load_balancing/lb_policy_factory.h"], external_deps = [ "absl/status:statusor", "absl/strings", @@ -2795,8 +3291,8 @@ grpc_cc_library( grpc_cc_library( name = "lb_policy_registry", - srcs = ["lib/load_balancing/lb_policy_registry.cc"], - hdrs = ["lib/load_balancing/lb_policy_registry.h"], + srcs = ["load_balancing/lb_policy_registry.cc"], + hdrs = ["load_balancing/lb_policy_registry.h"], external_deps = [ "absl/status", "absl/status:statusor", @@ -2815,7 +3311,7 @@ grpc_cc_library( grpc_cc_library( name = "subchannel_interface", - hdrs = ["lib/load_balancing/subchannel_interface.h"], + hdrs = ["load_balancing/subchannel_interface.h"], external_deps = ["absl/status"], deps = [ "dual_ref_counted", @@ -2828,7 +3324,7 @@ grpc_cc_library( grpc_cc_library( name = "delegating_helper", - hdrs = ["lib/load_balancing/delegating_helper.h"], + hdrs = ["load_balancing/delegating_helper.h"], external_deps = [ "absl/status", "absl/strings", @@ -2836,13 +3332,35 @@ grpc_cc_library( deps = [ "channel_args", "lb_policy", + "resolved_address", "subchannel_interface", "//:debug_location", "//:event_engine_base_hdrs", "//:gpr_platform", "//:grpc_security_base", "//:ref_counted_ptr", - "//:server_address", + ], +) + +grpc_cc_library( + name = "backend_metric_parser", + srcs = [ + "load_balancing/backend_metric_parser.cc", + ], + hdrs = [ + "load_balancing/backend_metric_parser.h", + ], + external_deps = [ + "absl/strings", + "upb_base_lib", + "upb_mem_lib", + "upb_message_lib", + ], + language = "c++", + deps = [ + "grpc_backend_metric_data", + "xds_orca_upb", + "//:gpr_platform", ], ) @@ -2877,29 +3395,63 @@ grpc_cc_library( ) grpc_cc_library( - name = "grpc_server_config_selector", + name = "http_proxy_mapper", + srcs = [ + "client_channel/http_proxy_mapper.cc", + ], hdrs = [ - "ext/filters/server_config_selector/server_config_selector.h", + "client_channel/http_proxy_mapper.h", ], external_deps = [ + "absl/status", "absl/status:statusor", "absl/strings", + "absl/types:optional", ], language = "c++", deps = [ - "dual_ref_counted", - "grpc_service_config", - "ref_counted", - "service_config_parser", - "useful", - "//:gpr_platform", - "//:grpc_base", - "//:ref_counted_ptr", - ], -) - -grpc_cc_library( - name = "grpc_server_config_selector_filter", + "channel_args", + "env", + "experiments", + "proxy_mapper", + "resolved_address", + "//:channel_arg_names", + "//:config", + "//:gpr", + "//:grpc_base", + "//:http_connect_handshaker", + "//:iomgr", + "//:parse_address", + "//:sockaddr_utils", + "//:uri_parser", + ], +) + +grpc_cc_library( + name = "grpc_server_config_selector", + hdrs = [ + "ext/filters/server_config_selector/server_config_selector.h", + ], + external_deps = [ + "absl/status:statusor", + "absl/strings", + ], + language = "c++", + deps = [ + "dual_ref_counted", + "grpc_service_config", + "metadata_batch", + "ref_counted", + "service_config_parser", + "useful", + "//:gpr_platform", + "//:grpc_base", + "//:ref_counted_ptr", + ], +) + +grpc_cc_library( + name = "grpc_server_config_selector_filter", srcs = [ "ext/filters/server_config_selector/server_config_selector_filter.cc", ], @@ -2921,6 +3473,7 @@ grpc_cc_library( "context", "grpc_server_config_selector", "grpc_service_config", + "metadata_batch", "status_helper", "//:gpr", "//:grpc_base", @@ -3040,6 +3593,8 @@ grpc_cc_library( "channel_args", "channel_fwd", "dual_ref_counted", + "load_file", + "metadata_batch", "ref_counted", "resolved_address", "slice", @@ -3050,6 +3605,7 @@ grpc_cc_library( "//:grpc_credentials_util", "//:grpc_security_base", "//:grpc_trace", + "//:iomgr", "//:parse_address", "//:promise", "//:ref_counted_ptr", @@ -3057,6 +3613,37 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "grpc_crl_provider", + srcs = [ + "lib/security/credentials/tls/grpc_tls_crl_provider.cc", + ], + hdrs = [ + "lib/security/credentials/tls/grpc_tls_crl_provider.h", + ], + external_deps = [ + "absl/base:core_headers", + "absl/container:flat_hash_map", + "absl/status", + "absl/status:statusor", + "absl/strings", + "absl/types:optional", + "absl/types:span", + "libcrypto", + "libssl", + ], + deps = [ + "default_event_engine", + "directory_reader", + "load_file", + "slice", + "time", + "//:exec_ctx", + "//:gpr", + "//:grpc_base", + ], +) + grpc_cc_library( name = "grpc_fake_credentials", srcs = [ @@ -3064,9 +3651,9 @@ grpc_cc_library( "lib/security/security_connector/fake/fake_security_connector.cc", ], hdrs = [ - "ext/filters/client_channel/lb_policy/grpclb/grpclb.h", "lib/security/credentials/fake/fake_credentials.h", "lib/security/security_connector/fake/fake_security_connector.h", + "load_balancing/grpclb/grpclb.h", ], external_deps = [ "absl/status", @@ -3082,6 +3669,7 @@ grpc_cc_library( "closure", "error", "iomgr_fwd", + "metadata_batch", "slice", "unique_type_name", "useful", @@ -3092,8 +3680,10 @@ grpc_cc_library( "//:grpc_base", "//:grpc_security_base", "//:handshaker", + "//:iomgr", "//:promise", "//:ref_counted_ptr", + "//:resource_quota_api", "//:tsi_base", "//:tsi_fake_credentials", ], @@ -3128,6 +3718,7 @@ grpc_cc_library( "//:grpc_base", "//:grpc_security_base", "//:handshaker", + "//:iomgr", "//:promise", "//:ref_counted_ptr", "//:tsi_base", @@ -3186,6 +3777,7 @@ grpc_cc_library( "//:grpc_client_channel", "//:grpc_security_base", "//:handshaker", + "//:iomgr", "//:parse_address", "//:promise", "//:ref_counted_ptr", @@ -3228,6 +3820,7 @@ grpc_cc_library( "//:grpc_security_base", "//:grpc_trace", "//:handshaker", + "//:iomgr", "//:promise", "//:ref_counted_ptr", "//:tsi_base", @@ -3243,8 +3836,8 @@ grpc_cc_library( "lib/security/credentials/google_default/google_default_credentials.cc", ], hdrs = [ - "ext/filters/client_channel/lb_policy/grpclb/grpclb.h", "lib/security/credentials/google_default/google_default_credentials.h", + "load_balancing/grpclb/grpclb.h", ], external_deps = [ "absl/status:statusor", @@ -3258,6 +3851,7 @@ grpc_cc_library( "closure", "env", "error", + "error_utils", "grpc_external_account_credentials", "grpc_lb_xds_channel_args", "grpc_oauth2_credentials", @@ -3265,6 +3859,7 @@ grpc_cc_library( "iomgr_fwd", "json", "json_reader", + "load_file", "slice", "slice_refcount", "status_helper", @@ -3282,6 +3877,7 @@ grpc_cc_library( "//:grpc_security_base", "//:grpc_trace", "//:httpcli", + "//:iomgr", "//:orphanable", "//:ref_counted_ptr", "//:uri_parser", @@ -3337,6 +3933,7 @@ grpc_cc_library( "closure", "error", "iomgr_fwd", + "load_file", "ref_counted", "slice", "slice_refcount", @@ -3353,6 +3950,7 @@ grpc_cc_library( "//:grpc_security_base", "//:grpc_trace", "//:handshaker", + "//:iomgr", "//:promise", "//:ref_counted_ptr", "//:tsi_base", @@ -3378,6 +3976,7 @@ grpc_cc_library( language = "c++", deps = [ "arena_promise", + "metadata_batch", "slice", "unique_type_name", "useful", @@ -3413,9 +4012,12 @@ grpc_cc_library( "closure", "context", "error", + "error_utils", "httpcli_ssl_credentials", "json", "json_reader", + "load_file", + "metadata_batch", "poll", "pollset_set", "ref_counted", @@ -3431,6 +4033,7 @@ grpc_cc_library( "//:grpc_security_base", "//:grpc_trace", "//:httpcli", + "//:iomgr", "//:orphanable", "//:promise", "//:ref_counted_ptr", @@ -3468,11 +4071,13 @@ grpc_cc_library( "closure", "env", "error", + "error_utils", "grpc_oauth2_credentials", "httpcli_ssl_credentials", "json", "json_reader", "json_writer", + "load_file", "slice", "slice_refcount", "status_helper", @@ -3482,6 +4087,7 @@ grpc_cc_library( "//:grpc_credentials_util", "//:grpc_security_base", "//:httpcli", + "//:iomgr", "//:orphanable", "//:ref_counted_ptr", "//:uri_parser", @@ -3516,6 +4122,7 @@ grpc_cc_library( "//:grpc_base", "//:grpc_security_base", "//:handshaker", + "//:iomgr", "//:promise", "//:ref_counted_ptr", "//:tsi_base", @@ -3710,12 +4317,15 @@ grpc_cc_library( name = "grpc_channel_idle_filter", srcs = [ "ext/filters/channel_idle/channel_idle_filter.cc", + "ext/filters/channel_idle/legacy_channel_idle_filter.cc", ], hdrs = [ "ext/filters/channel_idle/channel_idle_filter.h", + "ext/filters/channel_idle/legacy_channel_idle_filter.h", ], external_deps = [ "absl/base:core_headers", + "absl/meta:type_traits", "absl/random", "absl/status", "absl/status:statusor", @@ -3726,15 +4336,16 @@ grpc_cc_library( "arena_promise", "channel_args", "channel_fwd", - "channel_init", "channel_stack_type", "closure", + "connectivity_state", "error", "exec_ctx_wakeup_scheduler", "experiments", "http2_errors", "idle_filter_state", "loop", + "metadata_batch", "no_destruct", "per_cpu", "poll", @@ -3744,7 +4355,6 @@ grpc_cc_library( "time", "try_seq", "//:channel_arg_names", - "//:channel_stack_builder", "//:config", "//:debug_location", "//:exec_ctx", @@ -3773,17 +4383,16 @@ grpc_cc_library( deps = [ "arena", "arena_promise", - "channel_args", "channel_fwd", - "channel_init", "channel_stack_type", "closure", "context", "error", + "metadata_batch", "status_helper", "time", + "//:call_combiner", "//:channel_arg_names", - "//:channel_stack_builder", "//:config", "//:debug_location", "//:exec_ctx", @@ -3814,12 +4423,13 @@ grpc_cc_library( "channel_args", "channel_fwd", "channel_stack_type", + "metadata_batch", "slice", "//:channel_arg_names", - "//:channel_stack_builder", "//:config", "//:gpr_platform", "//:grpc_base", + "//:grpc_security_base", ], ) @@ -3844,22 +4454,22 @@ grpc_cc_library( "arena_promise", "channel_args", "channel_fwd", - "channel_init", "channel_stack_type", "context", + "grpc_deadline_filter", "grpc_service_config", "json", "json_args", "json_object_loader", "latch", - "poll", + "metadata_batch", "race", "service_config_parser", "slice", "slice_buffer", "validation_errors", + "//:call_trace", "//:channel_arg_names", - "//:channel_stack_builder", "//:config", "//:gpr", "//:grpc_base", @@ -3881,6 +4491,7 @@ grpc_cc_library( ], external_deps = [ "absl/base:core_headers", + "absl/meta:type_traits", "absl/random", "absl/status", "absl/status:statusor", @@ -3897,6 +4508,7 @@ grpc_cc_library( "json", "json_args", "json_object_loader", + "metadata_batch", "service_config_parser", "sleep", "time", @@ -3942,8 +4554,8 @@ grpc_cc_library( "json", "json_args", "json_object_loader", + "metadata_batch", "service_config_parser", - "transport_fwd", "validation_errors", "//:config", "//:gpr", @@ -3976,14 +4588,15 @@ grpc_cc_library( "channel_args", "channel_fwd", "context", - "grpc_resolver_xds_header", + "grpc_resolver_xds_attributes", "grpc_service_config", "json", "json_args", "json_object_loader", "map", + "metadata_batch", "pipe", - "poll", + "ref_counted_string", "service_config_parser", "slice", "time", @@ -4000,28 +4613,29 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_policy_grpclb", srcs = [ - "ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc", - "ext/filters/client_channel/lb_policy/grpclb/grpclb.cc", - "ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc", - "ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc", + "load_balancing/grpclb/client_load_reporting_filter.cc", + "load_balancing/grpclb/grpclb.cc", + "load_balancing/grpclb/grpclb_client_stats.cc", + "load_balancing/grpclb/load_balancer_api.cc", ], hdrs = [ - "ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h", - "ext/filters/client_channel/lb_policy/grpclb/grpclb.h", - "ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h", - "ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h", + "load_balancing/grpclb/client_load_reporting_filter.h", + "load_balancing/grpclb/grpclb.h", + "load_balancing/grpclb/grpclb_client_stats.h", + "load_balancing/grpclb/load_balancer_api.h", ], external_deps = [ "absl/base:core_headers", "absl/container:inlined_vector", - "absl/meta:type_traits", + "absl/functional:function_ref", "absl/status", "absl/status:statusor", "absl/strings", "absl/strings:str_format", "absl/types:optional", "absl/types:variant", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", ], language = "c++", deps = [ @@ -4029,9 +4643,9 @@ grpc_cc_library( "arena_promise", "channel_args", "channel_fwd", - "channel_init", "channel_stack_type", "closure", + "connectivity_state", "context", "delegating_helper", "error", @@ -4045,8 +4659,8 @@ grpc_cc_library( "lb_policy_factory", "lb_policy_registry", "map", + "metadata_batch", "pipe", - "poll", "pollset_set", "ref_counted", "resolved_address", @@ -4059,9 +4673,10 @@ grpc_cc_library( "validation_errors", "//:backoff", "//:channel_arg_names", - "//:channel_stack_builder", + "//:channelz", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:exec_ctx", "//:gpr", "//:grpc_base", @@ -4073,11 +4688,11 @@ grpc_cc_library( "//:grpc_resolver_fake", "//:grpc_security_base", "//:grpc_trace", + "//:lb_child_policy_handler", "//:orphanable", "//:protobuf_duration_upb", "//:protobuf_timestamp_upb", "//:ref_counted_ptr", - "//:server_address", "//:sockaddr_utils", "//:work_serializer", ], @@ -4091,14 +4706,17 @@ grpc_cc_library( hdrs = [ "lib/backoff/random_early_detection.h", ], - external_deps = ["absl/random"], + external_deps = [ + "absl/random:bit_gen_ref", + "absl/random:distributions", + ], deps = ["//:gpr_platform"], ) grpc_cc_library( name = "grpc_backend_metric_data", hdrs = [ - "ext/filters/client_channel/lb_policy/backend_metric_data.h", + "load_balancing/backend_metric_data.h", ], external_deps = ["absl/strings"], language = "c++", @@ -4116,7 +4734,7 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_policy_rls", srcs = [ - "ext/filters/client_channel/lb_policy/rls/rls.cc", + "load_balancing/rls/rls.cc", ], external_deps = [ "absl/base:core_headers", @@ -4126,15 +4744,18 @@ grpc_cc_library( "absl/strings", "absl/strings:str_format", "absl/types:optional", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", ], language = "c++", deps = [ "channel_args", "closure", + "connectivity_state", "delegating_helper", "dual_ref_counted", "error", + "error_utils", "grpc_fake_credentials", "json", "json_args", @@ -4151,8 +4772,10 @@ grpc_cc_library( "validation_errors", "//:backoff", "//:channel_arg_names", + "//:channelz", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:exec_ctx", "//:gpr", "//:grpc_base", @@ -4162,10 +4785,10 @@ grpc_cc_library( "//:grpc_security_base", "//:grpc_service_config_impl", "//:grpc_trace", + "//:lb_child_policy_handler", "//:orphanable", "//:ref_counted_ptr", "//:rls_upb", - "//:server_address", "//:work_serializer", ], ) @@ -4177,7 +4800,7 @@ grpc_cc_library( ], external_deps = [ "absl/strings", - "upb_lib", + "upb_base_lib", ], language = "c++", deps = ["//:gpr_platform"], @@ -4241,6 +4864,7 @@ grpc_cc_library( ], external_deps = [ "absl/base:core_headers", + "absl/cleanup", "absl/functional:bind_front", "absl/memory", "absl/random", @@ -4252,12 +4876,13 @@ grpc_cc_library( "absl/types:optional", "absl/types:span", "absl/types:variant", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", "upb_textformat_lib", "upb_json_lib", "re2", "upb_reflection", - "upb_collections_lib", + "upb_message_lib", ], language = "c++", tags = ["nofixdeps"], @@ -4268,6 +4893,7 @@ grpc_cc_library( "channel_creds_registry", "channel_fwd", "closure", + "connectivity_state", "default_event_engine", "env", "envoy_admin_upb", @@ -4302,6 +4928,8 @@ grpc_cc_library( "envoy_extensions_load_balancing_policies_wrr_locality_upb", "envoy_extensions_transport_sockets_tls_upb", "envoy_extensions_transport_sockets_tls_upbdefs", + "envoy_extensions_upstreams_http_upb", + "envoy_extensions_upstreams_http_upbdefs", "envoy_service_discovery_upb", "envoy_service_discovery_upbdefs", "envoy_service_load_stats_upb", @@ -4312,6 +4940,7 @@ grpc_cc_library( "envoy_type_matcher_upb", "envoy_type_upb", "error", + "error_utils", "google_rpc_status_upb", "grpc_audit_logging", "grpc_fake_credentials", @@ -4334,7 +4963,9 @@ grpc_cc_library( "json_util", "json_writer", "lb_policy_registry", + "load_file", "match", + "metadata_batch", "pollset_set", "protobuf_any_upb", "protobuf_duration_upb", @@ -4348,6 +4979,7 @@ grpc_cc_library( "rls_config_upbdefs", "slice", "slice_refcount", + "status_conversion", "status_helper", "time", "unique_type_name", @@ -4359,6 +4991,7 @@ grpc_cc_library( "//:channel_arg_names", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:exec_ctx", "//:gpr", "//:grpc_base", @@ -4367,11 +5000,11 @@ grpc_cc_library( "//:grpc_public_hdrs", "//:grpc_security_base", "//:grpc_trace", + "//:iomgr", "//:iomgr_timer", "//:orphanable", "//:parse_address", "//:ref_counted_ptr", - "//:server_address", "//:sockaddr_utils", "//:tsi_ssl_credentials", "//:uri_parser", @@ -4393,6 +5026,7 @@ grpc_cc_library( deps = [ "channel_args", "channel_fwd", + "channel_init", "channel_stack_type", "ref_counted", "useful", @@ -4431,6 +5065,7 @@ grpc_cc_library( "grpc_xds_client", "iomgr_fwd", "match", + "metadata_batch", "resolved_address", "slice_refcount", "unique_type_name", @@ -4443,10 +5078,12 @@ grpc_cc_library( "//:grpc_security_base", "//:grpc_service_config_impl", "//:grpc_trace", + "//:iomgr", "//:parse_address", "//:ref_counted_ptr", "//:sockaddr_utils", "//:uri_parser", + "//:xds_client", ], ) @@ -4478,7 +5115,7 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_policy_cds", srcs = [ - "ext/filters/client_channel/lb_policy/xds/cds.cc", + "load_balancing/xds/cds.cc", ], external_deps = [ "absl/status", @@ -4491,9 +5128,10 @@ grpc_cc_library( deps = [ "channel_args", "delegating_helper", - "grpc_matchers", + "env", + "grpc_lb_address_filtering", + "grpc_lb_xds_channel_args", "grpc_outlier_detection_header", - "grpc_tls_credentials", "grpc_xds_client", "json", "json_args", @@ -4506,6 +5144,7 @@ grpc_cc_library( "pollset_set", "time", "unique_type_name", + "xds_dependency_manager", "//:config", "//:debug_location", "//:gpr", @@ -4515,71 +5154,26 @@ grpc_cc_library( "//:orphanable", "//:ref_counted_ptr", "//:work_serializer", + "//:xds_client", ], ) grpc_cc_library( name = "grpc_lb_xds_channel_args", hdrs = [ - "ext/filters/client_channel/lb_policy/xds/xds_channel_args.h", + "load_balancing/xds/xds_channel_args.h", ], language = "c++", deps = [ + "//:endpoint_addresses", "//:gpr_platform", - "//:server_address", - ], -) - -grpc_cc_library( - name = "grpc_lb_policy_xds_cluster_resolver", - srcs = [ - "ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc", - ], - external_deps = [ - "absl/status", - "absl/status:statusor", - "absl/strings", - "absl/types:optional", - ], - language = "c++", - deps = [ - "channel_args", - "delegating_helper", - "grpc_lb_address_filtering", - "grpc_lb_xds_channel_args", - "grpc_xds_client", - "json", - "json_args", - "json_object_loader", - "json_writer", - "lb_policy", - "lb_policy_factory", - "lb_policy_registry", - "no_destruct", - "pollset_set", - "ref_counted_string", - "validation_errors", - "//:channel_arg_names", - "//:config", - "//:debug_location", - "//:gpr", - "//:grpc_base", - "//:grpc_client_channel", - "//:grpc_resolver", - "//:grpc_resolver_fake", - "//:grpc_trace", - "//:orphanable", - "//:ref_counted_ptr", - "//:server_address", - "//:work_serializer", - "//:xds_client", ], ) grpc_cc_library( name = "grpc_lb_policy_xds_cluster_impl", srcs = [ - "ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc", + "load_balancing/xds/xds_cluster_impl.cc", ], external_deps = [ "absl/base:core_headers", @@ -4592,6 +5186,8 @@ grpc_cc_library( language = "c++", deps = [ "channel_args", + "client_channel_internal_header", + "connectivity_state", "delegating_helper", "grpc_backend_metric_data", "grpc_lb_xds_channel_args", @@ -4604,17 +5200,20 @@ grpc_cc_library( "lb_policy_registry", "pollset_set", "ref_counted", + "resolved_address", "subchannel_interface", "validation_errors", + "xds_dependency_manager", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:gpr", "//:grpc_base", "//:grpc_client_channel", "//:grpc_trace", + "//:lb_child_policy_handler", "//:orphanable", "//:ref_counted_ptr", - "//:server_address", "//:xds_client", ], ) @@ -4622,7 +5221,7 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_policy_xds_cluster_manager", srcs = [ - "ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc", + "load_balancing/xds/xds_cluster_manager.cc", ], external_deps = [ "absl/status", @@ -4633,8 +5232,10 @@ grpc_cc_library( language = "c++", deps = [ "channel_args", + "client_channel_internal_header", + "connectivity_state", "delegating_helper", - "grpc_resolver_xds_header", + "grpc_resolver_xds_attributes", "json", "json_args", "json_object_loader", @@ -4646,15 +5247,16 @@ grpc_cc_library( "validation_errors", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:exec_ctx", "//:gpr", "//:gpr_platform", "//:grpc_base", "//:grpc_client_channel", "//:grpc_trace", + "//:lb_child_policy_handler", "//:orphanable", "//:ref_counted_ptr", - "//:server_address", "//:work_serializer", ], ) @@ -4662,7 +5264,7 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_policy_xds_wrr_locality", srcs = [ - "ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc", + "load_balancing/xds/xds_wrr_locality.cc", ], external_deps = [ "absl/status", @@ -4686,12 +5288,12 @@ grpc_cc_library( "validation_errors", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:gpr", "//:grpc_base", "//:grpc_trace", "//:orphanable", "//:ref_counted_ptr", - "//:server_address", "//:xds_client", ], ) @@ -4699,12 +5301,13 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_address_filtering", srcs = [ - "ext/filters/client_channel/lb_policy/address_filtering.cc", + "load_balancing/address_filtering.cc", ], hdrs = [ - "ext/filters/client_channel/lb_policy/address_filtering.h", + "load_balancing/address_filtering.h", ], external_deps = [ + "absl/functional:function_ref", "absl/status:statusor", "absl/strings", ], @@ -4713,20 +5316,21 @@ grpc_cc_library( "channel_args", "ref_counted", "ref_counted_string", + "resolved_address", + "//:endpoint_addresses", "//:gpr_platform", "//:ref_counted_ptr", - "//:server_address", ], ) grpc_cc_library( name = "health_check_client", srcs = [ - "ext/filters/client_channel/lb_policy/health_check_client.cc", + "load_balancing/health_check_client.cc", ], hdrs = [ - "ext/filters/client_channel/lb_policy/health_check_client.h", - "ext/filters/client_channel/lb_policy/health_check_client_internal.h", + "load_balancing/health_check_client.h", + "load_balancing/health_check_client_internal.h", ], external_deps = [ "absl/base:core_headers", @@ -4734,12 +5338,16 @@ grpc_cc_library( "absl/status:statusor", "absl/strings", "absl/types:optional", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", ], language = "c++", deps = [ "channel_args", + "client_channel_channelz", + "client_channel_internal_header", "closure", + "connectivity_state", "error", "iomgr_fwd", "pollset_set", @@ -4747,6 +5355,7 @@ grpc_cc_library( "subchannel_interface", "unique_type_name", "//:channel_arg_names", + "//:channelz", "//:debug_location", "//:exec_ctx", "//:gpr", @@ -4765,7 +5374,7 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_subchannel_list", hdrs = [ - "ext/filters/client_channel/lb_policy/subchannel_list.h", + "load_balancing/subchannel_list.h", ], external_deps = [ "absl/status", @@ -4774,6 +5383,7 @@ grpc_cc_library( language = "c++", deps = [ "channel_args", + "connectivity_state", "dual_ref_counted", "gpr_manual_constructor", "health_check_client", @@ -4781,6 +5391,7 @@ grpc_cc_library( "lb_policy", "subchannel_interface", "//:debug_location", + "//:endpoint_addresses", "//:gpr", "//:grpc_base", "//:ref_counted_ptr", @@ -4792,13 +5403,13 @@ grpc_cc_library( grpc_cc_library( name = "lb_endpoint_list", srcs = [ - "ext/filters/client_channel/lb_policy/endpoint_list.cc", + "load_balancing/endpoint_list.cc", ], hdrs = [ - "ext/filters/client_channel/lb_policy/endpoint_list.h", + "load_balancing/endpoint_list.h", ], external_deps = [ - "absl/functional:any_invocable", + "absl/functional:function_ref", "absl/status", "absl/status:statusor", "absl/types:optional", @@ -4812,14 +5423,15 @@ grpc_cc_library( "lb_policy", "lb_policy_registry", "pollset_set", + "resolved_address", "subchannel_interface", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:gpr", "//:grpc_base", "//:orphanable", "//:ref_counted_ptr", - "//:server_address", "//:work_serializer", ], ) @@ -4827,10 +5439,10 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_policy_pick_first", srcs = [ - "ext/filters/client_channel/lb_policy/pick_first/pick_first.cc", + "load_balancing/pick_first/pick_first.cc", ], hdrs = [ - "ext/filters/client_channel/lb_policy/pick_first/pick_first.h", + "load_balancing/pick_first/pick_first.h", ], external_deps = [ "absl/algorithm:container", @@ -4843,6 +5455,8 @@ grpc_cc_library( language = "c++", deps = [ "channel_args", + "connectivity_state", + "experiments", "health_check_client", "iomgr_fwd", "json", @@ -4850,25 +5464,100 @@ grpc_cc_library( "json_object_loader", "lb_policy", "lb_policy_factory", + "resolved_address", "subchannel_interface", + "time", + "useful", + "//:channel_arg_names", "//:config", "//:debug_location", + "//:endpoint_addresses", + "//:exec_ctx", "//:gpr", "//:grpc_base", "//:grpc_trace", "//:orphanable", "//:ref_counted_ptr", - "//:server_address", + "//:sockaddr_utils", + "//:work_serializer", + ], +) + +grpc_cc_library( + name = "down_cast", + hdrs = ["lib/gprpp/down_cast.h"], + external_deps = ["absl/base:config"], + deps = ["//:gpr"], +) + +grpc_cc_library( + name = "status_conversion", + srcs = ["lib/transport/status_conversion.cc"], + hdrs = ["lib/transport/status_conversion.h"], + deps = [ + "http2_errors", + "time", + "//:gpr_platform", + "//:grpc_public_hdrs", + ], +) + +grpc_cc_library( + name = "error_utils", + srcs = ["lib/transport/error_utils.cc"], + hdrs = [ + "lib/transport/error_utils.h", + ], + external_deps = ["absl/status"], + deps = [ + "error", + "http2_errors", + "status_conversion", + "status_helper", + "time", + "//:gpr", + "//:grpc_public_hdrs", + ], +) + +grpc_cc_library( + name = "connectivity_state", + srcs = [ + "lib/transport/connectivity_state.cc", + ], + hdrs = [ + "lib/transport/connectivity_state.h", + ], + external_deps = ["absl/status"], + deps = [ + "closure", + "error", + "//:debug_location", + "//:exec_ctx", + "//:gpr", + "//:grpc_public_hdrs", + "//:grpc_trace", + "//:orphanable", + "//:ref_counted_ptr", + "//:work_serializer", ], ) +grpc_cc_library( + name = "xxhash_inline", + hdrs = ["lib/gprpp/xxhash_inline.h"], + external_deps = ["xxhash"], + language = "c++", + deps = ["//:gpr_platform"], +) + grpc_cc_library( name = "grpc_lb_policy_ring_hash", srcs = [ - "ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc", + "load_balancing/ring_hash/ring_hash.cc", ], hdrs = [ - "ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h", + "load_balancing/ring_hash/ring_hash.h", ], external_deps = [ "absl/base:core_headers", @@ -4877,12 +5566,13 @@ grpc_cc_library( "absl/status:statusor", "absl/strings", "absl/types:optional", - "xxhash", ], language = "c++", deps = [ "channel_args", + "client_channel_internal_header", "closure", + "connectivity_state", "delegating_helper", "error", "grpc_lb_policy_pick_first", @@ -4895,11 +5585,14 @@ grpc_cc_library( "lb_policy_registry", "pollset_set", "ref_counted", + "resolved_address", "unique_type_name", "validation_errors", + "xxhash_inline", "//:channel_arg_names", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:exec_ctx", "//:gpr", "//:grpc_base", @@ -4907,7 +5600,6 @@ grpc_cc_library( "//:grpc_trace", "//:orphanable", "//:ref_counted_ptr", - "//:server_address", "//:sockaddr_utils", "//:work_serializer", ], @@ -4916,9 +5608,10 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_policy_round_robin", srcs = [ - "ext/filters/client_channel/lb_policy/round_robin/round_robin.cc", + "load_balancing/round_robin/round_robin.cc", ], external_deps = [ + "absl/meta:type_traits", "absl/random", "absl/status", "absl/status:statusor", @@ -4928,6 +5621,7 @@ grpc_cc_library( language = "c++", deps = [ "channel_args", + "connectivity_state", "experiments", "grpc_lb_subchannel_list", "json", @@ -4937,6 +5631,7 @@ grpc_cc_library( "subchannel_interface", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:gpr", "//:grpc_base", "//:grpc_trace", @@ -4950,10 +5645,10 @@ grpc_cc_library( grpc_cc_library( name = "static_stride_scheduler", srcs = [ - "ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc", + "load_balancing/weighted_round_robin/static_stride_scheduler.cc", ], hdrs = [ - "ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.h", + "load_balancing/weighted_round_robin/static_stride_scheduler.h", ], external_deps = [ "absl/functional:any_invocable", @@ -4967,10 +5662,11 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_policy_weighted_round_robin", srcs = [ - "ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc", + "load_balancing/weighted_round_robin/weighted_round_robin.cc", ], external_deps = [ "absl/base:core_headers", + "absl/meta:type_traits", "absl/random", "absl/status", "absl/status:statusor", @@ -4981,6 +5677,7 @@ grpc_cc_library( language = "c++", deps = [ "channel_args", + "connectivity_state", "experiments", "grpc_backend_metric_data", "grpc_lb_subchannel_list", @@ -4999,11 +5696,13 @@ grpc_cc_library( "validation_errors", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:exec_ctx", "//:gpr", "//:grpc_base", "//:grpc_client_channel", "//:grpc_trace", + "//:oob_backend_metric", "//:orphanable", "//:ref_counted_ptr", "//:server_address", @@ -5016,7 +5715,7 @@ grpc_cc_library( grpc_cc_library( name = "grpc_outlier_detection_header", hdrs = [ - "ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h", + "load_balancing/outlier_detection/outlier_detection.h", ], external_deps = ["absl/types:optional"], language = "c++", @@ -5033,9 +5732,11 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_policy_outlier_detection", srcs = [ - "ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc", + "load_balancing/outlier_detection/outlier_detection.cc", ], external_deps = [ + "absl/base:core_headers", + "absl/meta:type_traits", "absl/random", "absl/status", "absl/status:statusor", @@ -5045,6 +5746,7 @@ grpc_cc_library( language = "c++", deps = [ "channel_args", + "connectivity_state", "delegating_helper", "experiments", "grpc_outlier_detection_header", @@ -5056,19 +5758,21 @@ grpc_cc_library( "lb_policy_registry", "pollset_set", "ref_counted", + "resolved_address", "subchannel_interface", "unique_type_name", "validation_errors", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:exec_ctx", "//:gpr", "//:grpc_base", "//:grpc_client_channel", "//:grpc_trace", + "//:lb_child_policy_handler", "//:orphanable", "//:ref_counted_ptr", - "//:server_address", "//:sockaddr_utils", "//:work_serializer", ], @@ -5077,7 +5781,7 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_policy_priority", srcs = [ - "ext/filters/client_channel/lb_policy/priority/priority.cc", + "load_balancing/priority/priority.cc", ], external_deps = [ "absl/status", @@ -5088,6 +5792,7 @@ grpc_cc_library( language = "c++", deps = [ "channel_args", + "connectivity_state", "delegating_helper", "grpc_lb_address_filtering", "json", @@ -5097,19 +5802,21 @@ grpc_cc_library( "lb_policy_factory", "lb_policy_registry", "pollset_set", + "ref_counted_string", "time", "validation_errors", "//:channel_arg_names", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:exec_ctx", "//:gpr", "//:grpc_base", "//:grpc_client_channel", "//:grpc_trace", + "//:lb_child_policy_handler", "//:orphanable", "//:ref_counted_ptr", - "//:server_address", "//:work_serializer", ], ) @@ -5117,10 +5824,11 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_policy_weighted_target", srcs = [ - "ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc", + "load_balancing/weighted_target/weighted_target.cc", ], external_deps = [ "absl/base:core_headers", + "absl/meta:type_traits", "absl/random", "absl/status", "absl/status:statusor", @@ -5130,6 +5838,7 @@ grpc_cc_library( language = "c++", deps = [ "channel_args", + "connectivity_state", "delegating_helper", "grpc_lb_address_filtering", "json", @@ -5143,14 +5852,15 @@ grpc_cc_library( "validation_errors", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:exec_ctx", "//:gpr", "//:grpc_base", "//:grpc_client_channel", "//:grpc_trace", + "//:lb_child_policy_handler", "//:orphanable", "//:ref_counted_ptr", - "//:server_address", "//:work_serializer", ], ) @@ -5158,23 +5868,27 @@ grpc_cc_library( grpc_cc_library( name = "grpc_lb_policy_xds_override_host", srcs = [ - "ext/filters/client_channel/lb_policy/xds/xds_override_host.cc", + "load_balancing/xds/xds_override_host.cc", ], hdrs = [ - "ext/filters/client_channel/lb_policy/xds/xds_override_host.h", + "load_balancing/xds/xds_override_host.h", ], external_deps = [ "absl/base:core_headers", + "absl/functional:function_ref", "absl/status", "absl/status:statusor", "absl/strings", "absl/types:optional", + "absl/types:span", "absl/types:variant", ], language = "c++", deps = [ "channel_args", + "client_channel_internal_header", "closure", + "connectivity_state", "delegating_helper", "error", "experiments", @@ -5189,18 +5903,23 @@ grpc_cc_library( "lb_policy_registry", "match", "pollset_set", + "ref_counted_string", + "resolved_address", "subchannel_interface", "validation_errors", + "xds_dependency_manager", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:exec_ctx", "//:gpr", "//:grpc_base", "//:grpc_client_channel", "//:grpc_trace", + "//:lb_child_policy_handler", "//:orphanable", + "//:parse_address", "//:ref_counted_ptr", - "//:server_address", "//:sockaddr_utils", "//:work_serializer", ], @@ -5217,7 +5936,7 @@ grpc_cc_library( "//:src/cpp/server/load_reporter/constants.h", ], external_deps = [ - "absl/meta:type_traits", + "absl/container:inlined_vector", "absl/status", "absl/status:statusor", "absl/strings", @@ -5234,11 +5953,11 @@ grpc_cc_library( "channel_stack_type", "context", "grpc_sockaddr", + "metadata_batch", "resolved_address", "seq", "slice", "//:channel_arg_names", - "//:channel_stack_builder", "//:config", "//:gpr", "//:gpr_platform", @@ -5264,7 +5983,8 @@ grpc_cc_library( "absl/status:statusor", "absl/strings", "absl/types:optional", - "upb_lib", + "upb_base_lib", + "upb_mem_lib", ], language = "c++", deps = [ @@ -5273,12 +5993,13 @@ grpc_cc_library( "channel_fwd", "channel_stack_type", "context", + "experiments", "grpc_backend_metric_data", "grpc_backend_metric_provider", "map", + "metadata_batch", "slice", "//:channel_arg_names", - "//:channel_stack_builder", "//:config", "//:gpr", "//:gpr_platform", @@ -5292,10 +6013,10 @@ grpc_cc_library( grpc_cc_library( name = "polling_resolver", srcs = [ - "ext/filters/client_channel/resolver/polling_resolver.cc", + "resolver/polling_resolver.cc", ], hdrs = [ - "ext/filters/client_channel/resolver/polling_resolver.h", + "resolver/polling_resolver.h", ], external_deps = [ "absl/status", @@ -5311,6 +6032,7 @@ grpc_cc_library( "time", "//:backoff", "//:debug_location", + "//:endpoint_addresses", "//:event_engine_base_hdrs", "//:exec_ctx", "//:gpr", @@ -5325,8 +6047,12 @@ grpc_cc_library( grpc_cc_library( name = "service_config_helper", - srcs = ["ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc"], - hdrs = ["ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h"], + srcs = [ + "resolver/dns/event_engine/service_config_helper.cc", + ], + hdrs = [ + "resolver/dns/event_engine/service_config_helper.h", + ], external_deps = [ "absl/status:statusor", "absl/strings", @@ -5341,13 +6067,18 @@ grpc_cc_library( "status_helper", "//:gpr_platform", "//:grpc_base", + "//:iomgr", ], ) grpc_cc_library( name = "grpc_resolver_dns_event_engine", - srcs = ["ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc"], - hdrs = ["ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h"], + srcs = [ + "resolver/dns/event_engine/event_engine_client_channel_resolver.cc", + ], + hdrs = [ + "resolver/dns/event_engine/event_engine_client_channel_resolver.h", + ], external_deps = [ "absl/base:core_headers", "absl/cleanup", @@ -5368,6 +6099,7 @@ grpc_cc_library( "//:backoff", "//:channel_arg_names", "//:debug_location", + "//:endpoint_addresses", "//:exec_ctx", "//:gpr", "//:gpr_platform", @@ -5376,9 +6108,9 @@ grpc_cc_library( "//:grpc_resolver", "//:grpc_service_config_impl", "//:grpc_trace", + "//:iomgr", "//:orphanable", "//:ref_counted_ptr", - "//:server_address", "//:uri_parser", ], ) @@ -5386,10 +6118,10 @@ grpc_cc_library( grpc_cc_library( name = "grpc_resolver_dns_plugin", srcs = [ - "ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc", + "resolver/dns/dns_resolver_plugin.cc", ], hdrs = [ - "ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h", + "resolver/dns/dns_resolver_plugin.h", ], external_deps = ["absl/strings"], language = "c++", @@ -5408,10 +6140,10 @@ grpc_cc_library( grpc_cc_library( name = "grpc_resolver_dns_native", srcs = [ - "ext/filters/client_channel/resolver/dns/native/dns_resolver.cc", + "resolver/dns/native/dns_resolver.cc", ], hdrs = [ - "ext/filters/client_channel/resolver/dns/native/dns_resolver.h", + "resolver/dns/native/dns_resolver.h", ], external_deps = [ "absl/functional:bind_front", @@ -5430,13 +6162,14 @@ grpc_cc_library( "//:channel_arg_names", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:gpr", "//:grpc_base", "//:grpc_resolver", "//:grpc_trace", + "//:iomgr", "//:orphanable", "//:ref_counted_ptr", - "//:server_address", "//:uri_parser", ], ) @@ -5444,7 +6177,7 @@ grpc_cc_library( grpc_cc_library( name = "grpc_resolver_sockaddr", srcs = [ - "ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc", + "resolver/sockaddr/sockaddr_resolver.cc", ], external_deps = [ "absl/status:statusor", @@ -5456,11 +6189,11 @@ grpc_cc_library( "iomgr_port", "resolved_address", "//:config", + "//:endpoint_addresses", "//:gpr", "//:grpc_resolver", "//:orphanable", "//:parse_address", - "//:server_address", "//:uri_parser", ], ) @@ -5468,7 +6201,7 @@ grpc_cc_library( grpc_cc_library( name = "grpc_resolver_binder", srcs = [ - "ext/filters/client_channel/resolver/binder/binder_resolver.cc", + "resolver/binder/binder_resolver.cc", ], external_deps = [ "absl/status", @@ -5483,18 +6216,18 @@ grpc_cc_library( "resolved_address", "status_helper", "//:config", + "//:endpoint_addresses", "//:gpr", "//:grpc_resolver", "//:orphanable", - "//:server_address", "//:uri_parser", ], ) grpc_cc_library( - name = "grpc_resolver_xds_header", + name = "grpc_resolver_xds_attributes", hdrs = [ - "ext/filters/client_channel/resolver/xds/xds_resolver.h", + "resolver/xds/xds_resolver_attributes.h", ], external_deps = ["absl/strings"], language = "c++", @@ -5505,10 +6238,52 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "grpc_resolver_xds_trace", + srcs = [ + "resolver/xds/xds_resolver_trace.cc", + ], + hdrs = [ + "resolver/xds/xds_resolver_trace.h", + ], + language = "c++", + deps = [ + "//:gpr_platform", + "//:grpc_trace", + ], +) + +grpc_cc_library( + name = "xds_dependency_manager", + srcs = [ + "resolver/xds/xds_dependency_manager.cc", + ], + hdrs = [ + "resolver/xds/xds_dependency_manager.h", + ], + external_deps = [ + "absl/container:flat_hash_map", + "absl/container:flat_hash_set", + "absl/strings", + ], + language = "c++", + deps = [ + "grpc_lb_xds_channel_args", + "grpc_resolver_xds_trace", + "grpc_xds_client", + "match", + "ref_counted", + "//:config", + "//:gpr", + "//:grpc_resolver", + "//:grpc_resolver_fake", + ], +) + grpc_cc_library( name = "grpc_resolver_xds", srcs = [ - "ext/filters/client_channel/resolver/xds/xds_resolver.cc", + "resolver/xds/xds_resolver.cc", ], external_deps = [ "absl/meta:type_traits", @@ -5520,7 +6295,6 @@ grpc_cc_library( "absl/types:optional", "absl/types:variant", "re2", - "xxhash", ], language = "c++", deps = [ @@ -5528,22 +6302,29 @@ grpc_cc_library( "arena_promise", "channel_args", "channel_fwd", + "client_channel_internal_header", + "config_selector", "context", "dual_ref_counted", "experiments", "grpc_lb_policy_ring_hash", - "grpc_resolver_xds_header", + "grpc_resolver_xds_attributes", + "grpc_resolver_xds_trace", "grpc_service_config", "grpc_xds_client", "iomgr_fwd", "match", + "metadata_batch", "pollset_set", "ref_counted", "slice", "time", + "xds_dependency_manager", + "xxhash_inline", "//:channel_arg_names", "//:config", "//:debug_location", + "//:endpoint_addresses", "//:gpr", "//:grpc_base", "//:grpc_client_channel", @@ -5554,7 +6335,6 @@ grpc_cc_library( "//:legacy_context", "//:orphanable", "//:ref_counted_ptr", - "//:server_address", "//:uri_parser", "//:work_serializer", "//:xds_client", @@ -5564,7 +6344,7 @@ grpc_cc_library( grpc_cc_library( name = "grpc_resolver_c2p", srcs = [ - "ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc", + "resolver/google_c2p/google_c2p_resolver.cc", ], external_deps = [ "absl/status:statusor", @@ -5587,6 +6367,7 @@ grpc_cc_library( "//:gpr", "//:grpc_base", "//:grpc_resolver", + "//:iomgr", "//:orphanable", "//:ref_counted_ptr", "//:uri_parser", @@ -5612,7 +6393,6 @@ grpc_cc_library( hdrs = [ "ext/transport/chttp2/transport/hpack_encoder_table.h", ], - external_deps = ["absl/container:inlined_vector"], language = "c++", deps = [ "hpack_constants", @@ -5640,7 +6420,6 @@ grpc_cc_library( "experiments", "http2_settings", "memory_quota", - "pid_controller", "time", "useful", "//:gpr", @@ -5668,6 +6447,47 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "ping_callbacks", + srcs = [ + "ext/transport/chttp2/transport/ping_callbacks.cc", + ], + hdrs = [ + "ext/transport/chttp2/transport/ping_callbacks.h", + ], + external_deps = [ + "absl/container:flat_hash_map", + "absl/functional:any_invocable", + "absl/hash", + "absl/meta:type_traits", + "absl/random:bit_gen_ref", + "absl/random:distributions", + "absl/types:optional", + ], + deps = [ + "time", + "//:event_engine_base_hdrs", + "//:gpr", + "//:gpr_platform", + "//:grpc_trace", + ], +) + +grpc_cc_library( + name = "write_size_policy", + srcs = [ + "ext/transport/chttp2/transport/write_size_policy.cc", + ], + hdrs = [ + "ext/transport/chttp2/transport/write_size_policy.h", + ], + deps = [ + "time", + "//:gpr", + "//:gpr_platform", + ], +) + grpc_cc_library( name = "ping_rate_policy", srcs = [ @@ -5683,6 +6503,7 @@ grpc_cc_library( ], deps = [ "channel_args", + "experiments", "match", "time", "//:channel_arg_names", @@ -5690,6 +6511,20 @@ grpc_cc_library( ], ) +grpc_cc_library( + name = "max_concurrent_streams_policy", + srcs = [ + "ext/transport/chttp2/transport/max_concurrent_streams_policy.cc", + ], + hdrs = [ + "ext/transport/chttp2/transport/max_concurrent_streams_policy.h", + ], + deps = [ + "//:gpr", + "//:gpr_platform", + ], +) + grpc_cc_library( name = "huffsyms", srcs = [ @@ -5720,9 +6555,15 @@ grpc_cc_library( hdrs = [ "ext/transport/chttp2/transport/http2_settings.h", ], + external_deps = [ + "absl/functional:function_ref", + "absl/strings", + "absl/types:optional", + ], deps = [ "http2_errors", "useful", + "//:chttp2_frame", "//:gpr_platform", ], ) @@ -5765,15 +6606,17 @@ grpc_cc_library( "channel_stack_type", "closure", "error", + "error_utils", "grpc_insecure_credentials", "handshaker_registry", "resolved_address", "status_helper", + "subchannel_connector", "tcp_connect_handshaker", "time", - "transport_fwd", "unique_type_name", "//:channel_arg_names", + "//:channelz", "//:config", "//:debug_location", "//:exec_ctx", @@ -5786,6 +6629,7 @@ grpc_cc_library( "//:grpc_trace", "//:grpc_transport_chttp2", "//:handshaker", + "//:iomgr", "//:orphanable", "//:ref_counted_ptr", "//:sockaddr_utils", @@ -5814,6 +6658,7 @@ grpc_cc_library( "channel_args_endpoint_config", "closure", "error", + "error_utils", "grpc_insecure_credentials", "handshaker_registry", "iomgr_fwd", @@ -5823,9 +6668,9 @@ grpc_cc_library( "resource_quota", "status_helper", "time", - "transport_fwd", "unique_type_name", "//:channel_arg_names", + "//:channelz", "//:chttp2_legacy_frame", "//:config", "//:debug_location", @@ -5836,6 +6681,7 @@ grpc_cc_library( "//:grpc_trace", "//:grpc_transport_chttp2", "//:handshaker", + "//:iomgr", "//:orphanable", "//:ref_counted_ptr", "//:sockaddr_utils", @@ -5848,9 +6694,11 @@ grpc_cc_library( srcs = [ "ext/transport/inproc/inproc_plugin.cc", "ext/transport/inproc/inproc_transport.cc", + "ext/transport/inproc/legacy_inproc_transport.cc", ], hdrs = [ "ext/transport/inproc/inproc_transport.h", + "ext/transport/inproc/legacy_inproc_transport.h", ], external_deps = [ "absl/status", @@ -5865,234 +6713,749 @@ grpc_cc_library( "channel_args_preconditioning", "channel_stack_type", "closure", + "connectivity_state", "error", + "experiments", "iomgr_fwd", + "metadata_batch", + "slice", + "slice_buffer", + "status_helper", + "time", + "try_seq", + "//:channel_arg_names", + "//:channelz", + "//:config", + "//:debug_location", + "//:exec_ctx", + "//:gpr", + "//:grpc_base", + "//:grpc_public_hdrs", + "//:grpc_trace", + "//:iomgr", + "//:promise", + "//:ref_counted_ptr", + ], +) + +grpc_cc_library( + name = "chaotic_good_frame", + srcs = [ + "ext/transport/chaotic_good/frame.cc", + ], + hdrs = [ + "ext/transport/chaotic_good/frame.h", + ], + external_deps = [ + "absl/random:bit_gen_ref", + "absl/status", + "absl/status:statusor", + "absl/types:variant", + ], + deps = [ + "arena", + "bitset", + "chaotic_good_frame_header", + "context", + "match", + "metadata_batch", + "no_destruct", + "slice", + "slice_buffer", + "status_helper", + "//:gpr", + "//:gpr_platform", + "//:grpc_base", + "//:hpack_encoder", + "//:hpack_parser", + ], +) + +grpc_cc_library( + name = "chaotic_good_settings_metadata", + srcs = [ + "ext/transport/chaotic_good/settings_metadata.cc", + ], + hdrs = [ + "ext/transport/chaotic_good/settings_metadata.h", + ], + external_deps = [ + "absl/status", + "absl/types:optional", + ], + deps = [ + "arena", + "metadata_batch", + "//:gpr", + ], +) + +grpc_cc_library( + name = "chaotic_good_frame_header", + srcs = [ + "ext/transport/chaotic_good/frame_header.cc", + ], + hdrs = [ + "ext/transport/chaotic_good/frame_header.h", + ], + external_deps = [ + "absl/status", + "absl/status:statusor", + "absl/strings", + ], + deps = [ + "bitset", + "//:gpr", + "//:gpr_platform", + ], +) + +grpc_cc_library( + name = "gcp_metadata_query", + srcs = [ + "ext/gcp/metadata_query.cc", + ], + hdrs = [ + "ext/gcp/metadata_query.h", + ], + external_deps = [ + "absl/functional:any_invocable", + "absl/status", + "absl/status:statusor", + "absl/strings", + "absl/strings:str_format", + ], + deps = [ + "closure", + "error", + "status_helper", + "time", + "//:gpr", + "//:gpr_platform", + "//:grpc_base", + "//:grpc_security_base", + "//:grpc_trace", + "//:httpcli", + "//:iomgr", + "//:orphanable", + "//:ref_counted_ptr", + "//:uri_parser", + ], +) + +grpc_cc_library( + name = "logging_sink", + hdrs = [ + "ext/filters/logging/logging_sink.h", + ], + external_deps = [ + "absl/numeric:int128", + "absl/strings", + ], + language = "c++", + visibility = [ + "//src/cpp/ext/gcp:__subpackages__", + "//test:__subpackages__", + ], + deps = [ + "time", + "//:gpr_platform", + ], +) + +grpc_cc_library( + name = "logging_filter", + srcs = [ + "ext/filters/logging/logging_filter.cc", + ], + hdrs = [ + "ext/filters/logging/logging_filter.h", + ], + external_deps = [ + "absl/numeric:int128", + "absl/random", + "absl/random:distributions", + "absl/status:statusor", + "absl/strings", + "absl/types:optional", + ], + language = "c++", + deps = [ + "arena", + "arena_promise", + "cancel_callback", + "channel_args", + "channel_fwd", + "channel_stack_type", + "context", + "logging_sink", + "map", + "metadata_batch", + "pipe", + "slice", + "slice_buffer", + "time", + "//:channel_arg_names", + "//:config", + "//:gpr", + "//:gpr_platform", + "//:grpc_base", + "//:grpc_client_channel", + "//:grpc_public_hdrs", + "//:grpc_resolver", + "//:legacy_context", + "//:uri_parser", + ], +) + +grpc_cc_library( + name = "grpc_promise_endpoint", + srcs = [ + "lib/transport/promise_endpoint.cc", + ], + external_deps = [ + "absl/base:core_headers", + "absl/status", + "absl/status:statusor", + "absl/types:optional", + ], + language = "c++", + public_hdrs = [ + "lib/transport/promise_endpoint.h", + ], + deps = [ + "activity", + "cancel_callback", + "event_engine_common", + "if", + "map", + "poll", + "slice", + "slice_buffer", + "//:event_engine_base_hdrs", + "//:exec_ctx", + "//:gpr", + ], +) + +grpc_cc_library( + name = "chaotic_good_transport", + srcs = [ + "ext/transport/chaotic_good/chaotic_good_transport.cc", + ], + hdrs = [ + "ext/transport/chaotic_good/chaotic_good_transport.h", + ], + external_deps = ["absl/random"], + language = "c++", + deps = [ + "chaotic_good_frame", + "chaotic_good_frame_header", + "event_engine_tcp_socket_utils", + "grpc_promise_endpoint", + "if", + "try_join", + "try_seq", + "//:gpr_platform", + "//:grpc_trace", + "//:hpack_encoder", + "//:promise", + ], +) + +grpc_cc_library( + name = "chaotic_good_client_transport", + srcs = [ + "ext/transport/chaotic_good/client_transport.cc", + ], + hdrs = [ + "ext/transport/chaotic_good/client_transport.h", + ], + external_deps = [ + "absl/base:core_headers", + "absl/container:flat_hash_map", + "absl/random", + "absl/random:bit_gen_ref", + "absl/status", + "absl/status:statusor", + "absl/types:optional", + "absl/types:variant", + ], + language = "c++", + deps = [ + "activity", + "all_ok", + "arena", + "chaotic_good_frame", + "chaotic_good_frame_header", + "chaotic_good_transport", + "context", + "event_engine_wakeup_scheduler", + "for_each", + "grpc_promise_endpoint", + "if", + "inter_activity_pipe", + "loop", + "map", + "match", + "memory_quota", + "metadata_batch", + "mpsc", + "pipe", + "poll", + "resource_quota", + "slice", + "slice_buffer", + "try_join", + "try_seq", + "//:exec_ctx", + "//:gpr", + "//:gpr_platform", + "//:grpc_base", + "//:hpack_encoder", + "//:hpack_parser", + "//:promise", + "//:ref_counted_ptr", + ], +) + +grpc_cc_library( + name = "chaotic_good_server_transport", + srcs = [ + "ext/transport/chaotic_good/server_transport.cc", + ], + hdrs = [ + "ext/transport/chaotic_good/server_transport.h", + ], + external_deps = [ + "absl/base:core_headers", + "absl/container:flat_hash_map", + "absl/functional:any_invocable", + "absl/random", + "absl/random:bit_gen_ref", + "absl/status", + "absl/status:statusor", + "absl/types:optional", + "absl/types:variant", + ], + language = "c++", + deps = [ + "1999", + "activity", + "arena", + "chaotic_good_frame", + "chaotic_good_frame_header", + "chaotic_good_transport", + "context", + "default_event_engine", + "event_engine_wakeup_scheduler", + "for_each", + "grpc_promise_endpoint", + "if", + "inter_activity_latch", + "inter_activity_pipe", + "loop", + "memory_quota", + "metadata_batch", + "mpsc", + "pipe", + "poll", + "resource_quota", + "seq", + "slice", + "slice_buffer", + "switch", + "try_join", + "try_seq", + "//:exec_ctx", + "//:gpr", + "//:gpr_platform", + "//:grpc_base", + "//:hpack_encoder", + "//:hpack_parser", + "//:ref_counted_ptr", + ], +) + +grpc_cc_library( + name = "call_final_info", + srcs = [ + "lib/transport/call_final_info.cc", + ], + hdrs = [ + "lib/transport/call_final_info.h", + ], + deps = [ + "//:gpr", + "//:grpc_public_hdrs", + ], +) + +grpc_cc_library( + name = "call_filters", + srcs = [ + "lib/transport/call_filters.cc", + ], + hdrs = [ + "lib/transport/call_filters.h", + ], + deps = [ + "call_final_info", + "message", + "metadata", + "ref_counted", + "status_flag", + "//:gpr", + "//:promise", + "//:ref_counted_ptr", + ], +) + +grpc_cc_library( + name = "call_factory", + srcs = [ + "lib/transport/call_factory.cc", + ], + hdrs = [ + "lib/transport/call_factory.h", + ], + deps = [ + "arena", + "call_size_estimator", + "call_spine", + "channel_args", + "ref_counted", + "resource_quota", + "//:gpr_platform", + "//:stats", + ], +) + +grpc_cc_library( + name = "call_destination", + hdrs = [ + "lib/transport/call_destination.h", + ], + deps = [ + "call_spine", + "//:gpr_platform", + "//:orphanable", + ], +) + +grpc_cc_library( + name = "parsed_metadata", + srcs = [ + "lib/transport/parsed_metadata.cc", + ], + hdrs = [ + "lib/transport/parsed_metadata.h", + ], + external_deps = [ + "absl/functional:function_ref", + "absl/meta:type_traits", + "absl/strings", + ], + deps = [ "slice", - "slice_buffer", - "status_helper", "time", - "transport_fwd", - "//:channel_arg_names", - "//:config", - "//:debug_location", - "//:exec_ctx", - "//:gpr", - "//:grpc_base", - "//:grpc_public_hdrs", - "//:grpc_trace", - "//:ref_counted_ptr", + "//:gpr_platform", ], ) grpc_cc_library( - name = "chaotic_good_frame", + name = "metadata", srcs = [ - "ext/transport/chaotic_good/frame.cc", + "lib/transport/metadata.cc", ], hdrs = [ - "ext/transport/chaotic_good/frame.h", + "lib/transport/metadata.h", + ], + deps = [ + "error_utils", + "metadata_batch", + "//:gpr_platform", + ], +) + +grpc_cc_library( + name = "message", + srcs = [ + "lib/transport/message.cc", + ], + hdrs = [ + "lib/transport/message.h", ], external_deps = [ - "absl/status", - "absl/status:statusor", - "absl/types:variant", + "absl/strings", ], deps = [ "arena", - "bitset", - "chaotic_good_frame_header", - "no_destruct", - "slice", "slice_buffer", - "status_helper", - "//:gpr", "//:gpr_platform", - "//:grpc_base", - "//:hpack_encoder", - "//:hpack_parser", + "//:grpc_public_hdrs", ], ) grpc_cc_library( - name = "chaotic_good_frame_header", + name = "call_spine", srcs = [ - "ext/transport/chaotic_good/frame_header.cc", + "lib/transport/call_spine.cc", ], hdrs = [ - "ext/transport/chaotic_good/frame_header.h", - ], - external_deps = [ - "absl/status", - "absl/status:statusor", + "lib/transport/call_spine.h", ], deps = [ - "bitset", - "//:gpr_platform", + "1999", + "call_final_info", + "for_each", + "if", + "latch", + "message", + "metadata", + "pipe", + "prioritized_race", + "promise_status", + "status_flag", + "try_seq", + "//:gpr", ], ) grpc_cc_library( - name = "gcp_metadata_query", + name = "metadata_batch", srcs = [ - "ext/gcp/metadata_query.cc", + "lib/transport/metadata_batch.cc", ], hdrs = [ - "ext/gcp/metadata_query.h", + "lib/transport/custom_metadata.h", + "lib/transport/metadata_batch.h", + "lib/transport/simple_slice_based_metadata.h", ], external_deps = [ - "absl/functional:any_invocable", - "absl/status", - "absl/status:statusor", + "absl/container:inlined_vector", + "absl/functional:function_ref", + "absl/meta:type_traits", "absl/strings", "absl/strings:str_format", + "absl/types:optional", ], deps = [ - "closure", - "error", - "status_helper", + "arena", + "chunked_vector", + "compression_internal", + "experiments", + "if_list", + "metadata_compression_traits", + "packed_table", + "parsed_metadata", + "poll", + "slice", "time", + "timeout_encoding", + "type_list", "//:gpr", - "//:gpr_platform", - "//:grpc_base", - "//:grpc_security_base", - "//:grpc_trace", - "//:httpcli", - "//:orphanable", - "//:ref_counted_ptr", - "//:uri_parser", + "//:grpc_public_hdrs", ], ) grpc_cc_library( - name = "logging_sink", + name = "timeout_encoding", + srcs = [ + "lib/transport/timeout_encoding.cc", + ], hdrs = [ - "ext/filters/logging/logging_sink.h", + "lib/transport/timeout_encoding.h", ], external_deps = [ - "absl/numeric:int128", - "absl/strings", - ], - language = "c++", - visibility = [ - "//src/cpp/ext/gcp:__subpackages__", - "//test:__subpackages__", + "absl/base:core_headers", + "absl/types:optional", ], deps = [ + "slice", "time", - "//:gpr_platform", + "//:gpr", ], ) grpc_cc_library( - name = "logging_filter", + name = "call_size_estimator", srcs = [ - "ext/filters/logging/logging_filter.cc", + "lib/transport/call_size_estimator.cc", ], hdrs = [ - "ext/filters/logging/logging_filter.h", + "lib/transport/call_size_estimator.h", + ], + deps = ["//:gpr_platform"], +) + +grpc_cc_library( + name = "compression_internal", + srcs = [ + "lib/compression/compression_internal.cc", + ], + hdrs = [ + "lib/compression/compression_internal.h", ], external_deps = [ - "absl/numeric:int128", - "absl/random", - "absl/random:distributions", - "absl/status:statusor", + "absl/container:inlined_vector", "absl/strings", + "absl/strings:str_format", "absl/types:optional", ], - language = "c++", - visibility = [ - "//src/cpp/ext/gcp:__subpackages__", - "//test:__subpackages__", - ], deps = [ - "arena", - "arena_promise", - "cancel_callback", + "bitset", "channel_args", - "channel_fwd", - "channel_stack_type", - "context", - "logging_sink", - "map", - "pipe", - "poll", + "ref_counted_string", "slice", - "slice_buffer", - "time", - "//:channel_arg_names", - "//:channel_stack_builder", - "//:config", "//:gpr", - "//:gpr_platform", - "//:grpc_base", - "//:grpc_client_channel", "//:grpc_public_hdrs", - "//:grpc_resolver", - "//:legacy_context", - "//:uri_parser", + "//:grpc_trace", + "//:ref_counted_ptr", ], ) grpc_cc_library( - name = "grpc_promise_endpoint", + name = "chaotic_good_server", srcs = [ - "lib/transport/promise_endpoint.cc", + "ext/transport/chaotic_good/server/chaotic_good_server.cc", + ], + hdrs = [ + "ext/transport/chaotic_good/server/chaotic_good_server.h", ], external_deps = [ - "absl/base:core_headers", + "absl/container:flat_hash_map", + "absl/random", + "absl/random:bit_gen_ref", "absl/status", "absl/status:statusor", - "absl/types:optional", ], language = "c++", - public_hdrs = [ - "lib/transport/promise_endpoint.h", - ], deps = [ "activity", + "arena", + "channel_args", + "channel_args_endpoint_config", + "chaotic_good_frame", + "chaotic_good_frame_header", + "chaotic_good_server_transport", + "chaotic_good_settings_metadata", + "closure", + "context", + "default_event_engine", + "error", + "error_utils", "event_engine_common", - "poll", + "event_engine_tcp_socket_utils", + "event_engine_wakeup_scheduler", + "grpc_promise_endpoint", + "if", + "inter_activity_latch", + "iomgr_fwd", + "latch", + "memory_quota", + "metadata", + "metadata_batch", + "race", + "resource_quota", + "sleep", "slice", "slice_buffer", - "//:event_engine_base_hdrs", + "status_helper", + "time", + "try_seq", + "//:channelz", "//:gpr", + "//:gpr_platform", + "//:grpc_base", + "//:handshaker", + "//:hpack_encoder", + "//:hpack_parser", + "//:iomgr", + "//:orphanable", + "//:ref_counted_ptr", ], ) grpc_cc_library( - name = "chaotic_good_client_transport", + name = "chaotic_good_connector", srcs = [ - "ext/transport/chaotic_good/client_transport.cc", + "ext/transport/chaotic_good/client/chaotic_good_connector.cc", ], hdrs = [ - "ext/transport/chaotic_good/client_transport.h", + "ext/transport/chaotic_good/client/chaotic_good_connector.h", ], external_deps = [ - "absl/base:core_headers", + "absl/random", + "absl/random:bit_gen_ref", "absl/status", "absl/status:statusor", - "absl/types:variant", ], language = "c++", deps = [ "activity", + "arena", + "channel_args", + "channel_args_endpoint_config", + "chaotic_good_client_transport", "chaotic_good_frame", "chaotic_good_frame_header", + "chaotic_good_settings_metadata", + "closure", + "context", + "default_event_engine", + "error", + "error_utils", + "event_engine_tcp_socket_utils", "event_engine_wakeup_scheduler", - "for_each", "grpc_promise_endpoint", - "join", - "loop", - "match", - "mpsc", - "pipe", - "seq", + "inter_activity_latch", + "latch", + "memory_quota", + "no_destruct", + "notification", + "race", + "resource_quota", + "sleep", "slice", "slice_buffer", + "subchannel_connector", + "time", + "try_seq", + "wait_for_callback", + "//:debug_location", + "//:exec_ctx", "//:gpr", "//:gpr_platform", "//:grpc_base", + "//:grpc_client_channel", + "//:handshaker", "//:hpack_encoder", + "//:hpack_parser", + "//:iomgr", + "//:ref_counted_ptr", + ], +) + +grpc_cc_library( + name = "metrics", + srcs = [ + "lib/channel/metrics.cc", + ], + hdrs = [ + "lib/channel/metrics.h", + ], + external_deps = [ + "absl/container:flat_hash_map", + "absl/functional:function_ref", + "absl/strings", + "absl/types:span", + ], + language = "c++", + deps = [ + "channel_args", + "no_destruct", + "//:gpr", ], ) @@ -6225,7 +7588,9 @@ grpc_upb_proto_library( grpc_upb_proto_library( name = "envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_upb", - deps = ["@envoy_api//envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3:pkg"], + deps = [ + "@envoy_api//envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3:pkg", + ], ) grpc_upb_proto_library( @@ -6245,12 +7610,16 @@ grpc_upb_proto_library( grpc_upb_proto_library( name = "envoy_extensions_filters_network_http_connection_manager_upb", - deps = ["@envoy_api//envoy/extensions/filters/network/http_connection_manager/v3:pkg"], + deps = [ + "@envoy_api//envoy/extensions/filters/network/http_connection_manager/v3:pkg", + ], ) grpc_upb_proto_reflection_library( name = "envoy_extensions_filters_network_http_connection_manager_upbdefs", - deps = ["@envoy_api//envoy/extensions/filters/network/http_connection_manager/v3:pkg"], + deps = [ + "@envoy_api//envoy/extensions/filters/network/http_connection_manager/v3:pkg", + ], ) grpc_upb_proto_library( @@ -6263,6 +7632,16 @@ grpc_upb_proto_reflection_library( deps = ["@envoy_api//envoy/extensions/transport_sockets/tls/v3:pkg"], ) +grpc_upb_proto_library( + name = "envoy_extensions_upstreams_http_upb", + deps = ["@envoy_api//envoy/extensions/upstreams/http/v3:pkg"], +) + +grpc_upb_proto_reflection_library( + name = "envoy_extensions_upstreams_http_upbdefs", + deps = ["@envoy_api//envoy/extensions/upstreams/http/v3:pkg"], +) + grpc_upb_proto_library( name = "envoy_service_discovery_upb", deps = ["@envoy_api//envoy/service/discovery/v3:pkg"], @@ -6305,22 +7684,22 @@ grpc_upb_proto_library( grpc_upb_proto_library( name = "xds_type_upb", - deps = ["@com_github_cncf_udpa//xds/type/v3:pkg"], + deps = ["@com_github_cncf_xds//xds/type/v3:pkg"], ) grpc_upb_proto_reflection_library( name = "xds_type_upbdefs", - deps = ["@com_github_cncf_udpa//xds/type/v3:pkg"], + deps = ["@com_github_cncf_xds//xds/type/v3:pkg"], ) grpc_upb_proto_library( name = "xds_orca_upb", - deps = ["@com_github_cncf_udpa//xds/data/orca/v3:pkg"], + deps = ["@com_github_cncf_xds//xds/data/orca/v3:pkg"], ) grpc_upb_proto_library( name = "xds_orca_service_upb", - deps = ["@com_github_cncf_udpa//xds/service/orca/v3:pkg"], + deps = ["@com_github_cncf_xds//xds/service/orca/v3:pkg"], ) grpc_upb_proto_library( @@ -6377,14 +7756,20 @@ WELL_KNOWN_PROTO_TARGETS = [ "wrappers", ] -[grpc_upb_proto_library( - name = "protobuf_" + target + "_upb", - deps = ["@com_google_protobuf//:" + target + "_proto"], -) for target in WELL_KNOWN_PROTO_TARGETS] +[ + grpc_upb_proto_library( + name = "protobuf_" + target + "_upb", + deps = ["@com_google_protobuf//:" + target + "_proto"], + ) + for target in WELL_KNOWN_PROTO_TARGETS +] -[grpc_upb_proto_reflection_library( - name = "protobuf_" + target + "_upbdefs", - deps = ["@com_google_protobuf//:" + target + "_proto"], -) for target in WELL_KNOWN_PROTO_TARGETS] +[ + grpc_upb_proto_reflection_library( + name = "protobuf_" + target + "_upbdefs", + deps = ["@com_google_protobuf//:" + target + "_proto"], + ) + for target in WELL_KNOWN_PROTO_TARGETS +] grpc_generate_one_off_internal_targets() diff --git a/src/core/client_channel/.clang-format b/src/core/client_channel/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/src/core/client_channel/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/src/core/ext/filters/client_channel/README.md b/src/core/client_channel/README.md similarity index 100% rename from src/core/ext/filters/client_channel/README.md rename to src/core/client_channel/README.md diff --git a/src/core/ext/filters/client_channel/backup_poller.cc b/src/core/client_channel/backup_poller.cc similarity index 98% rename from src/core/ext/filters/client_channel/backup_poller.cc rename to src/core/client_channel/backup_poller.cc index 0aab5985eaa..94adb85d44f 100644 --- a/src/core/ext/filters/client_channel/backup_poller.cc +++ b/src/core/client_channel/backup_poller.cc @@ -18,7 +18,7 @@ #include -#include "src/core/ext/filters/client_channel/backup_poller.h" +#include "src/core/client_channel/backup_poller.h" #include diff --git a/src/core/ext/filters/client_channel/backup_poller.h b/src/core/client_channel/backup_poller.h similarity index 84% rename from src/core/ext/filters/client_channel/backup_poller.h rename to src/core/client_channel/backup_poller.h index e2982bbe3cd..2667e5455c9 100644 --- a/src/core/ext/filters/client_channel/backup_poller.h +++ b/src/core/client_channel/backup_poller.h @@ -16,8 +16,8 @@ // // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_BACKUP_POLLER_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_BACKUP_POLLER_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_BACKUP_POLLER_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_BACKUP_POLLER_H #include @@ -34,4 +34,4 @@ void grpc_client_channel_start_backup_polling( void grpc_client_channel_stop_backup_polling( grpc_pollset_set* interested_parties); -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_BACKUP_POLLER_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_BACKUP_POLLER_H diff --git a/src/core/ext/filters/client_channel/channel_connectivity.cc b/src/core/client_channel/channel_connectivity.cc similarity index 89% rename from src/core/ext/filters/client_channel/channel_connectivity.cc rename to src/core/client_channel/channel_connectivity.cc index cc5068ec656..5ae94d612a5 100644 --- a/src/core/ext/filters/client_channel/channel_connectivity.cc +++ b/src/core/client_channel/channel_connectivity.cc @@ -28,7 +28,7 @@ #include #include -#include "src/core/ext/filters/client_channel/client_channel.h" +#include "src/core/client_channel/client_channel_filter.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/channel_stack.h" #include "src/core/lib/debug/trace.h" @@ -67,8 +67,8 @@ grpc_connectivity_state grpc_channel_check_connectivity_state( (c_channel, try_to_connect)); grpc_core::Channel* channel = grpc_core::Channel::FromC(c_channel); // Forward through to the underlying client channel. - grpc_core::ClientChannel* client_channel = - grpc_core::ClientChannel::GetFromChannel(channel); + grpc_core::ClientChannelFilter* client_channel = + grpc_core::ClientChannelFilter::GetFromChannel(channel); if (GPR_UNLIKELY(client_channel == nullptr)) { if (grpc_core::IsLameChannel(channel)) { return GRPC_CHANNEL_TRANSIENT_FAILURE; @@ -81,23 +81,8 @@ grpc_connectivity_state grpc_channel_check_connectivity_state( return client_channel->CheckConnectivityState(try_to_connect); } -int grpc_channel_num_external_connectivity_watchers(grpc_channel* c_channel) { - grpc_core::Channel* channel = grpc_core::Channel::FromC(c_channel); - grpc_core::ClientChannel* client_channel = - grpc_core::ClientChannel::GetFromChannel(channel); - if (client_channel == nullptr) { - if (!grpc_core::IsLameChannel(channel)) { - gpr_log(GPR_ERROR, - "grpc_channel_num_external_connectivity_watchers called on " - "something that is not a client channel"); - } - return 0; - } - return client_channel->NumExternalConnectivityWatchers(); -} - int grpc_channel_support_connectivity_watcher(grpc_channel* channel) { - return grpc_core::ClientChannel::GetFromChannel( + return grpc_core::ClientChannelFilter::GetFromChannel( grpc_core::Channel::FromC(channel)) != nullptr; } @@ -115,8 +100,8 @@ class StateWatcher : public DualRefCounted { state_(last_observed_state) { GPR_ASSERT(grpc_cq_begin_op(cq, tag)); GRPC_CLOSURE_INIT(&on_complete_, WatchComplete, this, nullptr); - ClientChannel* client_channel = - ClientChannel::GetFromChannel(channel_.get()); + ClientChannelFilter* client_channel = + ClientChannelFilter::GetFromChannel(channel_.get()); if (client_channel == nullptr) { // If the target URI used to create the channel was invalid, channel // stack initialization failed, and that caused us to create a lame @@ -145,7 +130,7 @@ class StateWatcher : public DualRefCounted { private: // A fire-and-forget object used to delay starting the timer until the - // ClientChannel actually starts the watch. + // ClientChannelFilter actually starts the watch. class WatcherTimerInitState { public: WatcherTimerInitState(StateWatcher* state_watcher, Timestamp deadline) @@ -201,8 +186,8 @@ class StateWatcher : public DualRefCounted { void TimeoutComplete() { timer_fired_ = true; // If this is a client channel (not a lame channel), cancel the watch. - ClientChannel* client_channel = - ClientChannel::GetFromChannel(channel_.get()); + ClientChannelFilter* client_channel = + ClientChannelFilter::GetFromChannel(channel_.get()); if (client_channel != nullptr) { client_channel->CancelExternalConnectivityWatcher(&on_complete_); } diff --git a/src/core/ext/filters/client_channel/client_channel_channelz.cc b/src/core/client_channel/client_channel_channelz.cc similarity index 97% rename from src/core/ext/filters/client_channel/client_channel_channelz.cc rename to src/core/client_channel/client_channel_channelz.cc index de36ab1a032..29be8b0a29b 100644 --- a/src/core/ext/filters/client_channel/client_channel_channelz.cc +++ b/src/core/client_channel/client_channel_channelz.cc @@ -18,7 +18,7 @@ #include -#include "src/core/ext/filters/client_channel/client_channel_channelz.h" +#include "src/core/client_channel/client_channel_channelz.h" #include "absl/strings/str_cat.h" diff --git a/src/core/ext/filters/client_channel/client_channel_channelz.h b/src/core/client_channel/client_channel_channelz.h similarity index 92% rename from src/core/ext/filters/client_channel/client_channel_channelz.h rename to src/core/client_channel/client_channel_channelz.h index 867e086ab1c..d9601c118ee 100644 --- a/src/core/ext/filters/client_channel/client_channel_channelz.h +++ b/src/core/client_channel/client_channel_channelz.h @@ -16,8 +16,8 @@ // // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_CHANNELZ_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_CHANNELZ_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_CHANNELZ_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_CHANNELZ_H #include @@ -82,4 +82,4 @@ class SubchannelNode : public BaseNode { } // namespace channelz } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_CHANNELZ_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_CHANNELZ_H diff --git a/src/core/ext/filters/client_channel/client_channel_factory.cc b/src/core/client_channel/client_channel_factory.cc similarity index 92% rename from src/core/ext/filters/client_channel/client_channel_factory.cc rename to src/core/client_channel/client_channel_factory.cc index 45804e7db26..39b5c20e97e 100644 --- a/src/core/ext/filters/client_channel/client_channel_factory.cc +++ b/src/core/client_channel/client_channel_factory.cc @@ -18,7 +18,7 @@ #include -#include "src/core/ext/filters/client_channel/client_channel_factory.h" +#include "src/core/client_channel/client_channel_factory.h" // Channel arg key for client channel factory. #define GRPC_ARG_CLIENT_CHANNEL_FACTORY "grpc.client_channel_factory" diff --git a/src/core/ext/filters/client_channel/client_channel_factory.h b/src/core/client_channel/client_channel_factory.h similarity index 81% rename from src/core/ext/filters/client_channel/client_channel_factory.h rename to src/core/client_channel/client_channel_factory.h index 35133f60ab4..e72f9923dd1 100644 --- a/src/core/ext/filters/client_channel/client_channel_factory.h +++ b/src/core/client_channel/client_channel_factory.h @@ -14,14 +14,14 @@ // limitations under the License. // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_FACTORY_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_FACTORY_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_FACTORY_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_FACTORY_H #include #include "absl/strings/string_view.h" -#include "src/core/ext/filters/client_channel/subchannel.h" +#include "src/core/client_channel/subchannel.h" #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/iomgr/resolved_address.h" @@ -43,4 +43,4 @@ class ClientChannelFactory { } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_FACTORY_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_FACTORY_H diff --git a/src/core/client_channel/client_channel_filter.cc b/src/core/client_channel/client_channel_filter.cc new file mode 100644 index 00000000000..42ad79f73d5 --- /dev/null +++ b/src/core/client_channel/client_channel_filter.cc @@ -0,0 +1,3654 @@ +// +// Copyright 2015 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + +#include + +#include "src/core/client_channel/client_channel_filter.h" + +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include "absl/cleanup/cleanup.h" +#include "absl/status/status.h" +#include "absl/status/statusor.h" +#include "absl/strings/cord.h" +#include "absl/strings/numbers.h" +#include "absl/strings/str_cat.h" +#include "absl/strings/str_join.h" +#include "absl/strings/string_view.h" +#include "absl/types/optional.h" +#include "absl/types/variant.h" + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "src/core/client_channel/backup_poller.h" +#include "src/core/client_channel/client_channel_channelz.h" +#include "src/core/client_channel/client_channel_internal.h" +#include "src/core/client_channel/client_channel_service_config.h" +#include "src/core/client_channel/config_selector.h" +#include "src/core/client_channel/dynamic_filters.h" +#include "src/core/client_channel/global_subchannel_pool.h" +#include "src/core/client_channel/local_subchannel_pool.h" +#include "src/core/client_channel/retry_filter.h" +#include "src/core/client_channel/subchannel.h" +#include "src/core/client_channel/subchannel_interface_internal.h" +#include "src/core/ext/filters/deadline/deadline_filter.h" +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/channel/channel_stack.h" +#include "src/core/lib/channel/channel_trace.h" +#include "src/core/lib/channel/status_util.h" +#include "src/core/lib/config/core_configuration.h" +#include "src/core/lib/debug/trace.h" +#include "src/core/lib/experiments/experiments.h" +#include "src/core/lib/gpr/useful.h" +#include "src/core/lib/gprpp/crash.h" +#include "src/core/lib/gprpp/debug_location.h" +#include "src/core/lib/gprpp/manual_constructor.h" +#include "src/core/lib/gprpp/status_helper.h" +#include "src/core/lib/gprpp/sync.h" +#include "src/core/lib/gprpp/unique_type_name.h" +#include "src/core/lib/gprpp/work_serializer.h" +#include "src/core/lib/handshaker/proxy_mapper_registry.h" +#include "src/core/lib/iomgr/exec_ctx.h" +#include "src/core/lib/iomgr/polling_entity.h" +#include "src/core/lib/iomgr/pollset_set.h" +#include "src/core/lib/iomgr/resolved_address.h" +#include "src/core/lib/json/json.h" +#include "src/core/lib/promise/cancel_callback.h" +#include "src/core/lib/promise/context.h" +#include "src/core/lib/promise/latch.h" +#include "src/core/lib/promise/map.h" +#include "src/core/lib/promise/pipe.h" +#include "src/core/lib/promise/poll.h" +#include "src/core/lib/promise/promise.h" +#include "src/core/lib/promise/try_seq.h" +#include "src/core/lib/security/credentials/credentials.h" +#include "src/core/lib/slice/slice.h" +#include "src/core/lib/slice/slice_internal.h" +#include "src/core/lib/surface/call.h" +#include "src/core/lib/surface/channel.h" +#include "src/core/lib/transport/connectivity_state.h" +#include "src/core/lib/transport/error_utils.h" +#include "src/core/lib/transport/metadata_batch.h" +#include "src/core/load_balancing/backend_metric_parser.h" +#include "src/core/load_balancing/child_policy_handler.h" +#include "src/core/load_balancing/lb_policy_registry.h" +#include "src/core/load_balancing/subchannel_interface.h" +#include "src/core/resolver/endpoint_addresses.h" +#include "src/core/resolver/resolver_registry.h" +#include "src/core/service_config/service_config_call_data.h" +#include "src/core/service_config/service_config_impl.h" + +// +// Client channel filter +// + +namespace grpc_core { + +using internal::ClientChannelMethodParsedConfig; + +TraceFlag grpc_client_channel_trace(false, "client_channel"); +TraceFlag grpc_client_channel_call_trace(false, "client_channel_call"); +TraceFlag grpc_client_channel_lb_call_trace(false, "client_channel_lb_call"); + +// +// ClientChannelFilter::CallData definition +// + +class ClientChannelFilter::CallData { + public: + // Removes the call from the channel's list of calls queued + // for name resolution. + void RemoveCallFromResolverQueuedCallsLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::resolution_mu_); + + // Called by the channel for each queued call when a new resolution + // result becomes available. + virtual void RetryCheckResolutionLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::resolution_mu_) = 0; + + RefCountedPtr dynamic_filters() const { + return dynamic_filters_; + } + + protected: + CallData() = default; + virtual ~CallData() = default; + + // Checks whether a resolver result is available. The following + // outcomes are possible: + // - No resolver result is available yet. The call will be queued and + // absl::nullopt will be returned. Later, when a resolver result + // becomes available, RetryCheckResolutionLocked() will be called. + // - The resolver has returned a transient failure. If the call is + // not wait_for_ready, a non-OK status will be returned. (If the + // call *is* wait_for_ready, it will be queued instead.) + // - There is a valid resolver result. The service config will be + // stored in the call context and an OK status will be returned. + absl::optional CheckResolution(bool was_queued); + + private: + // Accessors for data stored in the subclass. + virtual ClientChannelFilter* chand() const = 0; + virtual Arena* arena() const = 0; + virtual grpc_polling_entity* pollent() = 0; + virtual grpc_metadata_batch* send_initial_metadata() = 0; + virtual grpc_call_context_element* call_context() const = 0; + + // Helper function for CheckResolution(). Returns true if the call + // can continue (i.e., there is a valid resolution result, or there is + // an invalid resolution result but the call is not wait_for_ready). + bool CheckResolutionLocked( + absl::StatusOr>* config_selector) + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::resolution_mu_); + + // Adds the call to the channel's list of calls queued for name resolution. + void AddCallToResolverQueuedCallsLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::resolution_mu_); + + // Called when adding the call to the resolver queue. + virtual void OnAddToQueueLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::resolution_mu_) {} + + // Applies service config to the call. Must be invoked once we know + // that the resolver has returned results to the channel. + // If an error is returned, the error indicates the status with which + // the call should be failed. + grpc_error_handle ApplyServiceConfigToCallLocked( + const absl::StatusOr>& config_selector); + + // Called to reset the deadline based on the service config obtained + // from the resolver. + virtual void ResetDeadline(Duration timeout) = 0; + + RefCountedPtr dynamic_filters_; +}; + +class ClientChannelFilter::FilterBasedCallData + : public ClientChannelFilter::CallData { + public: + static grpc_error_handle Init(grpc_call_element* elem, + const grpc_call_element_args* args); + static void Destroy(grpc_call_element* elem, + const grpc_call_final_info* final_info, + grpc_closure* then_schedule_closure); + static void StartTransportStreamOpBatch( + grpc_call_element* elem, grpc_transport_stream_op_batch* batch); + static void SetPollent(grpc_call_element* elem, grpc_polling_entity* pollent); + + private: + class ResolverQueuedCallCanceller; + + FilterBasedCallData(grpc_call_element* elem, + const grpc_call_element_args& args); + ~FilterBasedCallData() override; + + grpc_call_element* elem() const { return deadline_state_.elem; } + grpc_call_stack* owning_call() const { return deadline_state_.call_stack; } + CallCombiner* call_combiner() const { return deadline_state_.call_combiner; } + + ClientChannelFilter* chand() const override { + return static_cast(elem()->channel_data); + } + Arena* arena() const override { return deadline_state_.arena; } + grpc_polling_entity* pollent() override { return pollent_; } + grpc_metadata_batch* send_initial_metadata() override { + return pending_batches_[0] + ->payload->send_initial_metadata.send_initial_metadata; + } + grpc_call_context_element* call_context() const override { + return call_context_; + } + + // Returns the index into pending_batches_ to be used for batch. + static size_t GetBatchIndex(grpc_transport_stream_op_batch* batch); + void PendingBatchesAdd(grpc_transport_stream_op_batch* batch); + static void FailPendingBatchInCallCombiner(void* arg, + grpc_error_handle error); + // A predicate type and some useful implementations for PendingBatchesFail(). + typedef bool (*YieldCallCombinerPredicate)( + const CallCombinerClosureList& closures); + static bool YieldCallCombiner(const CallCombinerClosureList& /*closures*/) { + return true; + } + static bool NoYieldCallCombiner(const CallCombinerClosureList& /*closures*/) { + return false; + } + static bool YieldCallCombinerIfPendingBatchesFound( + const CallCombinerClosureList& closures) { + return closures.size() > 0; + } + // Fails all pending batches. + // If yield_call_combiner_predicate returns true, assumes responsibility for + // yielding the call combiner. + void PendingBatchesFail( + grpc_error_handle error, + YieldCallCombinerPredicate yield_call_combiner_predicate); + static void ResumePendingBatchInCallCombiner(void* arg, + grpc_error_handle ignored); + // Resumes all pending batches on dynamic_call_. + void PendingBatchesResume(); + + // Called to check for a resolution result, both when the call is + // initially started and when it is queued and the channel gets a new + // resolution result. + void TryCheckResolution(bool was_queued); + + void OnAddToQueueLocked() override + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::resolution_mu_); + + void RetryCheckResolutionLocked() override + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::resolution_mu_); + + void ResetDeadline(Duration timeout) override { + const Timestamp per_method_deadline = + Timestamp::FromCycleCounterRoundUp(call_start_time_) + timeout; + if (per_method_deadline < deadline_) { + deadline_ = per_method_deadline; + grpc_deadline_state_reset(&deadline_state_, deadline_); + } + } + + void CreateDynamicCall(); + + static void RecvTrailingMetadataReadyForConfigSelectorCommitCallback( + void* arg, grpc_error_handle error); + + grpc_slice path_; // Request path. + grpc_call_context_element* call_context_; + gpr_cycle_counter call_start_time_; + Timestamp deadline_; + + // State for handling deadlines. + grpc_deadline_state deadline_state_; + + grpc_polling_entity* pollent_ = nullptr; + + // Accessed while holding ClientChannelFilter::resolution_mu_. + ResolverQueuedCallCanceller* resolver_call_canceller_ + ABSL_GUARDED_BY(&ClientChannelFilter::resolution_mu_) = nullptr; + + grpc_closure* original_recv_trailing_metadata_ready_ = nullptr; + grpc_closure recv_trailing_metadata_ready_; + + RefCountedPtr dynamic_call_; + + // Batches are added to this list when received from above. + // They are removed when we are done handling the batch (i.e., when + // either we have invoked all of the batch's callbacks or we have + // passed the batch down to the LB call and are not intercepting any of + // its callbacks). + grpc_transport_stream_op_batch* pending_batches_[MAX_PENDING_BATCHES] = {}; + + // Set when we get a cancel_stream op. + grpc_error_handle cancel_error_; +}; + +class ClientChannelFilter::PromiseBasedCallData + : public ClientChannelFilter::CallData { + public: + explicit PromiseBasedCallData(ClientChannelFilter* chand) : chand_(chand) {} + + ~PromiseBasedCallData() override { + if (was_queued_ && client_initial_metadata_ != nullptr) { + MutexLock lock(&chand_->resolution_mu_); + RemoveCallFromResolverQueuedCallsLocked(); + chand_->resolver_queued_calls_.erase(this); + } + } + + ArenaPromise> MakeNameResolutionPromise( + CallArgs call_args) { + pollent_ = NowOrNever(call_args.polling_entity->WaitAndCopy()).value(); + client_initial_metadata_ = std::move(call_args.client_initial_metadata); + // If we're still in IDLE, we need to start resolving. + if (GPR_UNLIKELY(chand_->CheckConnectivityState(false) == + GRPC_CHANNEL_IDLE)) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, "chand=%p calld=%p: %striggering exit idle", chand_, + this, GetContext()->DebugTag().c_str()); + } + // Bounce into the control plane work serializer to start resolving. + GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ExitIdle"); + chand_->work_serializer_->Run( + [chand = chand_]() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + chand->CheckConnectivityState(/*try_to_connect=*/true); + GRPC_CHANNEL_STACK_UNREF(chand->owning_stack_, "ExitIdle"); + }, + DEBUG_LOCATION); + } + return [this, call_args = std::move( + call_args)]() mutable -> Poll> { + auto result = CheckResolution(was_queued_); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, "chand=%p calld=%p: %sCheckResolution returns %s", + chand_, this, GetContext()->DebugTag().c_str(), + result.has_value() ? result->ToString().c_str() : "Pending"); + } + if (!result.has_value()) return Pending{}; + if (!result->ok()) return *result; + call_args.client_initial_metadata = std::move(client_initial_metadata_); + return std::move(call_args); + }; + } + + private: + ClientChannelFilter* chand() const override { return chand_; } + Arena* arena() const override { return GetContext(); } + grpc_polling_entity* pollent() override { return &pollent_; } + grpc_metadata_batch* send_initial_metadata() override { + return client_initial_metadata_.get(); + } + grpc_call_context_element* call_context() const override { + return GetContext(); + } + + void OnAddToQueueLocked() override + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::resolution_mu_) { + waker_ = GetContext()->MakeNonOwningWaker(); + was_queued_ = true; + } + + void RetryCheckResolutionLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED( + &ClientChannelFilter::resolution_mu_) override { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, "chand=%p calld=%p: RetryCheckResolutionLocked(): %s", + chand_, this, waker_.ActivityDebugTag().c_str()); + } + waker_.WakeupAsync(); + } + + void ResetDeadline(Duration timeout) override { + CallContext* call_context = GetContext(); + const Timestamp per_method_deadline = + Timestamp::FromCycleCounterRoundUp(call_context->call_start_time()) + + timeout; + call_context->UpdateDeadline(per_method_deadline); + } + + ClientChannelFilter* chand_; + grpc_polling_entity pollent_; + ClientMetadataHandle client_initial_metadata_; + bool was_queued_ = false; + Waker waker_ ABSL_GUARDED_BY(&ClientChannelFilter::resolution_mu_); +}; + +// +// Filter vtable +// + +const grpc_channel_filter ClientChannelFilter::kFilterVtableWithPromises = { + ClientChannelFilter::FilterBasedCallData::StartTransportStreamOpBatch, + ClientChannelFilter::MakeCallPromise, + /* init_call: */ nullptr, + ClientChannelFilter::StartTransportOp, + sizeof(ClientChannelFilter::FilterBasedCallData), + ClientChannelFilter::FilterBasedCallData::Init, + ClientChannelFilter::FilterBasedCallData::SetPollent, + ClientChannelFilter::FilterBasedCallData::Destroy, + sizeof(ClientChannelFilter), + ClientChannelFilter::Init, + grpc_channel_stack_no_post_init, + ClientChannelFilter::Destroy, + ClientChannelFilter::GetChannelInfo, + "client-channel", +}; + +const grpc_channel_filter ClientChannelFilter::kFilterVtableWithoutPromises = { + ClientChannelFilter::FilterBasedCallData::StartTransportStreamOpBatch, + nullptr, + /* init_call: */ nullptr, + ClientChannelFilter::StartTransportOp, + sizeof(ClientChannelFilter::FilterBasedCallData), + ClientChannelFilter::FilterBasedCallData::Init, + ClientChannelFilter::FilterBasedCallData::SetPollent, + ClientChannelFilter::FilterBasedCallData::Destroy, + sizeof(ClientChannelFilter), + ClientChannelFilter::Init, + grpc_channel_stack_no_post_init, + ClientChannelFilter::Destroy, + ClientChannelFilter::GetChannelInfo, + "client-channel", +}; + +// +// dynamic termination filter +// + +namespace { + +ClientChannelServiceConfigCallData* GetServiceConfigCallData( + grpc_call_context_element* context) { + return static_cast( + context[GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA].value); +} + +class DynamicTerminationFilter { + public: + class CallData; + + static const grpc_channel_filter kFilterVtable; + + static grpc_error_handle Init(grpc_channel_element* elem, + grpc_channel_element_args* args) { + GPR_ASSERT(args->is_last); + GPR_ASSERT(elem->filter == &kFilterVtable); + new (elem->channel_data) DynamicTerminationFilter(args->channel_args); + return absl::OkStatus(); + } + + static void Destroy(grpc_channel_element* elem) { + auto* chand = static_cast(elem->channel_data); + chand->~DynamicTerminationFilter(); + } + + // Will never be called. + static void StartTransportOp(grpc_channel_element* /*elem*/, + grpc_transport_op* /*op*/) {} + static void GetChannelInfo(grpc_channel_element* /*elem*/, + const grpc_channel_info* /*info*/) {} + + static ArenaPromise MakeCallPromise( + grpc_channel_element* elem, CallArgs call_args, NextPromiseFactory) { + auto* chand = static_cast(elem->channel_data); + return chand->chand_->CreateLoadBalancedCallPromise( + std::move(call_args), + []() { + auto* service_config_call_data = + GetServiceConfigCallData(GetContext()); + service_config_call_data->Commit(); + }, + /*is_transparent_retry=*/false); + } + + private: + explicit DynamicTerminationFilter(const ChannelArgs& args) + : chand_(args.GetObject()) {} + + ClientChannelFilter* chand_; +}; + +class DynamicTerminationFilter::CallData { + public: + static grpc_error_handle Init(grpc_call_element* elem, + const grpc_call_element_args* args) { + new (elem->call_data) CallData(*args); + return absl::OkStatus(); + } + + static void Destroy(grpc_call_element* elem, + const grpc_call_final_info* /*final_info*/, + grpc_closure* then_schedule_closure) { + auto* calld = static_cast(elem->call_data); + RefCountedPtr subchannel_call; + if (GPR_LIKELY(calld->lb_call_ != nullptr)) { + subchannel_call = calld->lb_call_->subchannel_call(); + } + calld->~CallData(); + if (GPR_LIKELY(subchannel_call != nullptr)) { + subchannel_call->SetAfterCallStackDestroy(then_schedule_closure); + } else { + // TODO(yashkt) : This can potentially be a Closure::Run + ExecCtx::Run(DEBUG_LOCATION, then_schedule_closure, absl::OkStatus()); + } + } + + static void StartTransportStreamOpBatch( + grpc_call_element* elem, grpc_transport_stream_op_batch* batch) { + auto* calld = static_cast(elem->call_data); + calld->lb_call_->StartTransportStreamOpBatch(batch); + } + + static void SetPollent(grpc_call_element* elem, + grpc_polling_entity* pollent) { + auto* calld = static_cast(elem->call_data); + auto* chand = static_cast(elem->channel_data); + ClientChannelFilter* client_channel = chand->chand_; + grpc_call_element_args args = {calld->owning_call_, nullptr, + calld->call_context_, calld->path_, + /*start_time=*/0, calld->deadline_, + calld->arena_, calld->call_combiner_}; + auto* service_config_call_data = + GetServiceConfigCallData(calld->call_context_); + calld->lb_call_ = client_channel->CreateLoadBalancedCall( + args, pollent, nullptr, + [service_config_call_data]() { service_config_call_data->Commit(); }, + /*is_transparent_retry=*/false); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p dynamic_termination_calld=%p: create lb_call=%p", chand, + client_channel, calld->lb_call_.get()); + } + } + + private: + explicit CallData(const grpc_call_element_args& args) + : path_(CSliceRef(args.path)), + deadline_(args.deadline), + arena_(args.arena), + owning_call_(args.call_stack), + call_combiner_(args.call_combiner), + call_context_(args.context) {} + + ~CallData() { CSliceUnref(path_); } + + grpc_slice path_; // Request path. + Timestamp deadline_; + Arena* arena_; + grpc_call_stack* owning_call_; + CallCombiner* call_combiner_; + grpc_call_context_element* call_context_; + + OrphanablePtr lb_call_; +}; + +const grpc_channel_filter DynamicTerminationFilter::kFilterVtable = { + DynamicTerminationFilter::CallData::StartTransportStreamOpBatch, + DynamicTerminationFilter::MakeCallPromise, + /* init_call: */ nullptr, + DynamicTerminationFilter::StartTransportOp, + sizeof(DynamicTerminationFilter::CallData), + DynamicTerminationFilter::CallData::Init, + DynamicTerminationFilter::CallData::SetPollent, + DynamicTerminationFilter::CallData::Destroy, + sizeof(DynamicTerminationFilter), + DynamicTerminationFilter::Init, + grpc_channel_stack_no_post_init, + DynamicTerminationFilter::Destroy, + DynamicTerminationFilter::GetChannelInfo, + "dynamic_filter_termination", +}; + +} // namespace + +// +// ClientChannelFilter::ResolverResultHandler +// + +class ClientChannelFilter::ResolverResultHandler + : public Resolver::ResultHandler { + public: + explicit ResolverResultHandler(ClientChannelFilter* chand) : chand_(chand) { + GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ResolverResultHandler"); + } + + ~ResolverResultHandler() override { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: resolver shutdown complete", chand_); + } + GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, "ResolverResultHandler"); + } + + void ReportResult(Resolver::Result result) override + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + chand_->OnResolverResultChangedLocked(std::move(result)); + } + + private: + ClientChannelFilter* chand_; +}; + +// +// ClientChannelFilter::SubchannelWrapper +// + +// This class is a wrapper for Subchannel that hides details of the +// channel's implementation (such as the connected subchannel) from the +// LB policy API. +// +// Note that no synchronization is needed here, because even if the +// underlying subchannel is shared between channels, this wrapper will only +// be used within one channel, so it will always be synchronized by the +// control plane work_serializer. +class ClientChannelFilter::SubchannelWrapper : public SubchannelInterface { + public: + SubchannelWrapper(ClientChannelFilter* chand, + RefCountedPtr subchannel) + : SubchannelInterface(GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace) + ? "SubchannelWrapper" + : nullptr), + chand_(chand), + subchannel_(std::move(subchannel)) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, + "chand=%p: creating subchannel wrapper %p for subchannel %p", + chand, this, subchannel_.get()); + } + GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "SubchannelWrapper"); + GPR_DEBUG_ASSERT(chand_->work_serializer_->RunningInWorkSerializer()); + if (chand_->channelz_node_ != nullptr) { + auto* subchannel_node = subchannel_->channelz_node(); + if (subchannel_node != nullptr) { + auto it = chand_->subchannel_refcount_map_.find(subchannel_.get()); + if (it == chand_->subchannel_refcount_map_.end()) { + chand_->channelz_node_->AddChildSubchannel(subchannel_node->uuid()); + it = chand_->subchannel_refcount_map_.emplace(subchannel_.get(), 0) + .first; + } + ++it->second; + } + } + chand_->subchannel_wrappers_.insert(this); + } + + ~SubchannelWrapper() override { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, + "chand=%p: destroying subchannel wrapper %p for subchannel %p", + chand_, this, subchannel_.get()); + } + if (!IsWorkSerializerDispatchEnabled()) { + chand_->subchannel_wrappers_.erase(this); + if (chand_->channelz_node_ != nullptr) { + auto* subchannel_node = subchannel_->channelz_node(); + if (subchannel_node != nullptr) { + auto it = chand_->subchannel_refcount_map_.find(subchannel_.get()); + GPR_ASSERT(it != chand_->subchannel_refcount_map_.end()); + --it->second; + if (it->second == 0) { + chand_->channelz_node_->RemoveChildSubchannel( + subchannel_node->uuid()); + chand_->subchannel_refcount_map_.erase(it); + } + } + } + } + GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, "SubchannelWrapper"); + } + + void Orphan() override { + if (!IsWorkSerializerDispatchEnabled()) return; + // Make sure we clean up the channel's subchannel maps inside the + // WorkSerializer. + // Ref held by callback. + WeakRef(DEBUG_LOCATION, "subchannel map cleanup").release(); + chand_->work_serializer_->Run( + [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + chand_->subchannel_wrappers_.erase(this); + if (chand_->channelz_node_ != nullptr) { + auto* subchannel_node = subchannel_->channelz_node(); + if (subchannel_node != nullptr) { + auto it = + chand_->subchannel_refcount_map_.find(subchannel_.get()); + GPR_ASSERT(it != chand_->subchannel_refcount_map_.end()); + --it->second; + if (it->second == 0) { + chand_->channelz_node_->RemoveChildSubchannel( + subchannel_node->uuid()); + chand_->subchannel_refcount_map_.erase(it); + } + } + } + WeakUnref(DEBUG_LOCATION, "subchannel map cleanup"); + }, + DEBUG_LOCATION); + } + + void WatchConnectivityState( + std::unique_ptr watcher) override + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + auto& watcher_wrapper = watcher_map_[watcher.get()]; + GPR_ASSERT(watcher_wrapper == nullptr); + watcher_wrapper = new WatcherWrapper( + std::move(watcher), + RefAsSubclass(DEBUG_LOCATION, "WatcherWrapper")); + subchannel_->WatchConnectivityState( + RefCountedPtr( + watcher_wrapper)); + } + + void CancelConnectivityStateWatch(ConnectivityStateWatcherInterface* watcher) + override ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + auto it = watcher_map_.find(watcher); + GPR_ASSERT(it != watcher_map_.end()); + subchannel_->CancelConnectivityStateWatch(it->second); + watcher_map_.erase(it); + } + + RefCountedPtr connected_subchannel() const { + return subchannel_->connected_subchannel(); + } + + void RequestConnection() override { subchannel_->RequestConnection(); } + + void ResetBackoff() override { subchannel_->ResetBackoff(); } + + void AddDataWatcher(std::unique_ptr watcher) override + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + static_cast(watcher.get()) + ->SetSubchannel(subchannel_.get()); + GPR_ASSERT(data_watchers_.insert(std::move(watcher)).second); + } + + void CancelDataWatcher(DataWatcherInterface* watcher) override + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + auto it = data_watchers_.find(watcher); + if (it != data_watchers_.end()) data_watchers_.erase(it); + } + + void ThrottleKeepaliveTime(int new_keepalive_time) { + subchannel_->ThrottleKeepaliveTime(new_keepalive_time); + } + + private: + // This wrapper provides a bridge between the internal Subchannel API + // and the SubchannelInterface API that we expose to LB policies. + // It implements Subchannel::ConnectivityStateWatcherInterface and wraps + // the instance of SubchannelInterface::ConnectivityStateWatcherInterface + // that was passed in by the LB policy. We pass an instance of this + // class to the underlying Subchannel, and when we get updates from + // the subchannel, we pass those on to the wrapped watcher to return + // the update to the LB policy. + // + // This class handles things like hopping into the WorkSerializer + // before passing notifications to the LB policy and propagating + // keepalive information betwen subchannels. + class WatcherWrapper : public Subchannel::ConnectivityStateWatcherInterface { + public: + WatcherWrapper( + std::unique_ptr + watcher, + RefCountedPtr parent) + : watcher_(std::move(watcher)), parent_(std::move(parent)) {} + + ~WatcherWrapper() override { + if (!IsWorkSerializerDispatchEnabled()) { + auto* parent = parent_.release(); // ref owned by lambda + parent->chand_->work_serializer_->Run( + [parent]() ABSL_EXCLUSIVE_LOCKS_REQUIRED( + *parent_->chand_->work_serializer_) { + parent->Unref(DEBUG_LOCATION, "WatcherWrapper"); + }, + DEBUG_LOCATION); + return; + } + parent_.reset(DEBUG_LOCATION, "WatcherWrapper"); + } + + void OnConnectivityStateChange( + RefCountedPtr self, + grpc_connectivity_state state, const absl::Status& status) override { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, + "chand=%p: connectivity change for subchannel wrapper %p " + "subchannel %p; hopping into work_serializer", + parent_->chand_, parent_.get(), parent_->subchannel_.get()); + } + self.release(); // Held by callback. + parent_->chand_->work_serializer_->Run( + [this, state, status]() ABSL_EXCLUSIVE_LOCKS_REQUIRED( + *parent_->chand_->work_serializer_) { + ApplyUpdateInControlPlaneWorkSerializer(state, status); + Unref(); + }, + DEBUG_LOCATION); + } + + grpc_pollset_set* interested_parties() override { + return watcher_->interested_parties(); + } + + private: + void ApplyUpdateInControlPlaneWorkSerializer(grpc_connectivity_state state, + const absl::Status& status) + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*parent_->chand_->work_serializer_) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, + "chand=%p: processing connectivity change in work serializer " + "for subchannel wrapper %p subchannel %p watcher=%p " + "state=%s status=%s", + parent_->chand_, parent_.get(), parent_->subchannel_.get(), + watcher_.get(), ConnectivityStateName(state), + status.ToString().c_str()); + } + absl::optional keepalive_throttling = + status.GetPayload(kKeepaliveThrottlingKey); + if (keepalive_throttling.has_value()) { + int new_keepalive_time = -1; + if (absl::SimpleAtoi(std::string(keepalive_throttling.value()), + &new_keepalive_time)) { + if (new_keepalive_time > parent_->chand_->keepalive_time_) { + parent_->chand_->keepalive_time_ = new_keepalive_time; + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: throttling keepalive time to %d", + parent_->chand_, parent_->chand_->keepalive_time_); + } + // Propagate the new keepalive time to all subchannels. This is so + // that new transports created by any subchannel (and not just the + // subchannel that received the GOAWAY), use the new keepalive time. + for (auto* subchannel_wrapper : + parent_->chand_->subchannel_wrappers_) { + subchannel_wrapper->ThrottleKeepaliveTime(new_keepalive_time); + } + } + } else { + gpr_log(GPR_ERROR, "chand=%p: Illegal keepalive throttling value %s", + parent_->chand_, + std::string(keepalive_throttling.value()).c_str()); + } + } + // Propagate status only in state TF. + // We specifically want to avoid propagating the status for + // state IDLE that the real subchannel gave us only for the + // purpose of keepalive propagation. + watcher_->OnConnectivityStateChange( + state, + state == GRPC_CHANNEL_TRANSIENT_FAILURE ? status : absl::OkStatus()); + } + + std::unique_ptr + watcher_; + RefCountedPtr parent_; + }; + + // A heterogenous lookup comparator for data watchers that allows + // unique_ptr keys to be looked up as raw pointers. + struct DataWatcherLessThan { + using is_transparent = void; + bool operator()(const std::unique_ptr& p1, + const std::unique_ptr& p2) const { + return p1 < p2; + } + bool operator()(const std::unique_ptr& p1, + const DataWatcherInterface* p2) const { + return p1.get() < p2; + } + bool operator()(const DataWatcherInterface* p1, + const std::unique_ptr& p2) const { + return p1 < p2.get(); + } + }; + + ClientChannelFilter* chand_; + RefCountedPtr subchannel_; + // Maps from the address of the watcher passed to us by the LB policy + // to the address of the WrapperWatcher that we passed to the underlying + // subchannel. This is needed so that when the LB policy calls + // CancelConnectivityStateWatch() with its watcher, we know the + // corresponding WrapperWatcher to cancel on the underlying subchannel. + std::map watcher_map_ + ABSL_GUARDED_BY(*chand_->work_serializer_); + std::set, DataWatcherLessThan> + data_watchers_ ABSL_GUARDED_BY(*chand_->work_serializer_); +}; + +// +// ClientChannelFilter::ExternalConnectivityWatcher +// + +ClientChannelFilter::ExternalConnectivityWatcher::ExternalConnectivityWatcher( + ClientChannelFilter* chand, grpc_polling_entity pollent, + grpc_connectivity_state* state, grpc_closure* on_complete, + grpc_closure* watcher_timer_init) + : chand_(chand), + pollent_(pollent), + initial_state_(*state), + state_(state), + on_complete_(on_complete), + watcher_timer_init_(watcher_timer_init) { + grpc_polling_entity_add_to_pollset_set(&pollent_, + chand_->interested_parties_); + GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ExternalConnectivityWatcher"); + { + MutexLock lock(&chand_->external_watchers_mu_); + // Will be deleted when the watch is complete. + GPR_ASSERT(chand->external_watchers_[on_complete] == nullptr); + // Store a ref to the watcher in the external_watchers_ map. + chand->external_watchers_[on_complete] = + RefAsSubclass( + DEBUG_LOCATION, "AddWatcherToExternalWatchersMapLocked"); + } + // Pass the ref from creating the object to Start(). + chand_->work_serializer_->Run( + [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + // The ref is passed to AddWatcherLocked(). + AddWatcherLocked(); + }, + DEBUG_LOCATION); +} + +ClientChannelFilter::ExternalConnectivityWatcher:: + ~ExternalConnectivityWatcher() { + grpc_polling_entity_del_from_pollset_set(&pollent_, + chand_->interested_parties_); + GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, + "ExternalConnectivityWatcher"); +} + +void ClientChannelFilter::ExternalConnectivityWatcher:: + RemoveWatcherFromExternalWatchersMap(ClientChannelFilter* chand, + grpc_closure* on_complete, + bool cancel) { + RefCountedPtr watcher; + { + MutexLock lock(&chand->external_watchers_mu_); + auto it = chand->external_watchers_.find(on_complete); + if (it != chand->external_watchers_.end()) { + watcher = std::move(it->second); + chand->external_watchers_.erase(it); + } + } + // watcher->Cancel() will hop into the WorkSerializer, so we have to unlock + // the mutex before calling it. + if (watcher != nullptr && cancel) watcher->Cancel(); +} + +void ClientChannelFilter::ExternalConnectivityWatcher::Notify( + grpc_connectivity_state state, const absl::Status& /* status */) { + bool done = false; + if (!done_.compare_exchange_strong(done, true, std::memory_order_relaxed, + std::memory_order_relaxed)) { + return; // Already done. + } + // Remove external watcher. + ExternalConnectivityWatcher::RemoveWatcherFromExternalWatchersMap( + chand_, on_complete_, /*cancel=*/false); + // Report new state to the user. + *state_ = state; + ExecCtx::Run(DEBUG_LOCATION, on_complete_, absl::OkStatus()); + // Hop back into the work_serializer to clean up. + // Not needed in state SHUTDOWN, because the tracker will + // automatically remove all watchers in that case. + // Note: The callback takes a ref in case the ref inside the state tracker + // gets removed before the callback runs via a SHUTDOWN notification. + if (state != GRPC_CHANNEL_SHUTDOWN) { + Ref(DEBUG_LOCATION, "RemoveWatcherLocked()").release(); + chand_->work_serializer_->Run( + [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + RemoveWatcherLocked(); + Unref(DEBUG_LOCATION, "RemoveWatcherLocked()"); + }, + DEBUG_LOCATION); + } +} + +void ClientChannelFilter::ExternalConnectivityWatcher::Cancel() { + bool done = false; + if (!done_.compare_exchange_strong(done, true, std::memory_order_relaxed, + std::memory_order_relaxed)) { + return; // Already done. + } + ExecCtx::Run(DEBUG_LOCATION, on_complete_, absl::CancelledError()); + // Hop back into the work_serializer to clean up. + // Note: The callback takes a ref in case the ref inside the state tracker + // gets removed before the callback runs via a SHUTDOWN notification. + Ref(DEBUG_LOCATION, "RemoveWatcherLocked()").release(); + chand_->work_serializer_->Run( + [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + RemoveWatcherLocked(); + Unref(DEBUG_LOCATION, "RemoveWatcherLocked()"); + }, + DEBUG_LOCATION); +} + +void ClientChannelFilter::ExternalConnectivityWatcher::AddWatcherLocked() { + Closure::Run(DEBUG_LOCATION, watcher_timer_init_, absl::OkStatus()); + // Add new watcher. Pass the ref of the object from creation to OrphanablePtr. + chand_->state_tracker_.AddWatcher( + initial_state_, OrphanablePtr(this)); +} + +void ClientChannelFilter::ExternalConnectivityWatcher::RemoveWatcherLocked() { + chand_->state_tracker_.RemoveWatcher(this); +} + +// +// ClientChannelFilter::ConnectivityWatcherAdder +// + +class ClientChannelFilter::ConnectivityWatcherAdder { + public: + ConnectivityWatcherAdder( + ClientChannelFilter* chand, grpc_connectivity_state initial_state, + OrphanablePtr watcher) + : chand_(chand), + initial_state_(initial_state), + watcher_(std::move(watcher)) { + GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ConnectivityWatcherAdder"); + chand_->work_serializer_->Run( + [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + AddWatcherLocked(); + }, + DEBUG_LOCATION); + } + + private: + void AddWatcherLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + chand_->state_tracker_.AddWatcher(initial_state_, std::move(watcher_)); + GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, "ConnectivityWatcherAdder"); + delete this; + } + + ClientChannelFilter* chand_; + grpc_connectivity_state initial_state_; + OrphanablePtr watcher_; +}; + +// +// ClientChannelFilter::ConnectivityWatcherRemover +// + +class ClientChannelFilter::ConnectivityWatcherRemover { + public: + ConnectivityWatcherRemover(ClientChannelFilter* chand, + AsyncConnectivityStateWatcherInterface* watcher) + : chand_(chand), watcher_(watcher) { + GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ConnectivityWatcherRemover"); + chand_->work_serializer_->Run( + [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + RemoveWatcherLocked(); + }, + DEBUG_LOCATION); + } + + private: + void RemoveWatcherLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + chand_->state_tracker_.RemoveWatcher(watcher_); + GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, + "ConnectivityWatcherRemover"); + delete this; + } + + ClientChannelFilter* chand_; + AsyncConnectivityStateWatcherInterface* watcher_; +}; + +// +// ClientChannelFilter::ClientChannelControlHelper +// + +class ClientChannelFilter::ClientChannelControlHelper + : public LoadBalancingPolicy::ChannelControlHelper { + public: + explicit ClientChannelControlHelper(ClientChannelFilter* chand) + : chand_(chand) { + GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ClientChannelControlHelper"); + } + + ~ClientChannelControlHelper() override { + GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, + "ClientChannelControlHelper"); + } + + RefCountedPtr CreateSubchannel( + const grpc_resolved_address& address, const ChannelArgs& per_address_args, + const ChannelArgs& args) override + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + if (chand_->resolver_ == nullptr) return nullptr; // Shutting down. + ChannelArgs subchannel_args = ClientChannelFilter::MakeSubchannelArgs( + args, per_address_args, chand_->subchannel_pool_, + chand_->default_authority_); + // Create subchannel. + RefCountedPtr subchannel = + chand_->client_channel_factory_->CreateSubchannel(address, + subchannel_args); + if (subchannel == nullptr) return nullptr; + // Make sure the subchannel has updated keepalive time. + subchannel->ThrottleKeepaliveTime(chand_->keepalive_time_); + // Create and return wrapper for the subchannel. + return MakeRefCounted(chand_, std::move(subchannel)); + } + + void UpdateState(grpc_connectivity_state state, const absl::Status& status, + RefCountedPtr picker) + override ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + if (chand_->resolver_ == nullptr) return; // Shutting down. + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + const char* extra = chand_->disconnect_error_.ok() + ? "" + : " (ignoring -- channel shutting down)"; + gpr_log(GPR_INFO, "chand=%p: update: state=%s status=(%s) picker=%p%s", + chand_, ConnectivityStateName(state), status.ToString().c_str(), + picker.get(), extra); + } + // Do update only if not shutting down. + if (chand_->disconnect_error_.ok()) { + chand_->UpdateStateAndPickerLocked(state, status, "helper", + std::move(picker)); + } + } + + void RequestReresolution() override + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + if (chand_->resolver_ == nullptr) return; // Shutting down. + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: started name re-resolving", chand_); + } + chand_->resolver_->RequestReresolutionLocked(); + } + + absl::string_view GetAuthority() override { + return chand_->default_authority_; + } + + RefCountedPtr GetChannelCredentials() override { + return chand_->channel_args_.GetObject() + ->duplicate_without_call_credentials(); + } + + RefCountedPtr GetUnsafeChannelCredentials() + override { + return chand_->channel_args_.GetObject()->Ref(); + } + + grpc_event_engine::experimental::EventEngine* GetEventEngine() override { + return chand_->owning_stack_->EventEngine(); + } + + void AddTraceEvent(TraceSeverity severity, absl::string_view message) override + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { + if (chand_->resolver_ == nullptr) return; // Shutting down. + if (chand_->channelz_node_ != nullptr) { + chand_->channelz_node_->AddTraceEvent( + ConvertSeverityEnum(severity), + grpc_slice_from_copied_buffer(message.data(), message.size())); + } + } + + private: + static channelz::ChannelTrace::Severity ConvertSeverityEnum( + TraceSeverity severity) { + if (severity == TRACE_INFO) return channelz::ChannelTrace::Info; + if (severity == TRACE_WARNING) return channelz::ChannelTrace::Warning; + return channelz::ChannelTrace::Error; + } + + ClientChannelFilter* chand_; +}; + +// +// ClientChannelFilter implementation +// + +ClientChannelFilter* ClientChannelFilter::GetFromChannel(Channel* channel) { + grpc_channel_element* elem = + grpc_channel_stack_last_element(channel->channel_stack()); + if (elem->filter != &kFilterVtableWithPromises && + elem->filter != &kFilterVtableWithoutPromises) { + return nullptr; + } + return static_cast(elem->channel_data); +} + +grpc_error_handle ClientChannelFilter::Init(grpc_channel_element* elem, + grpc_channel_element_args* args) { + GPR_ASSERT(args->is_last); + GPR_ASSERT(elem->filter == &kFilterVtableWithPromises || + elem->filter == &kFilterVtableWithoutPromises); + grpc_error_handle error; + new (elem->channel_data) ClientChannelFilter(args, &error); + return error; +} + +void ClientChannelFilter::Destroy(grpc_channel_element* elem) { + auto* chand = static_cast(elem->channel_data); + chand->~ClientChannelFilter(); +} + +namespace { + +RefCountedPtr GetSubchannelPool( + const ChannelArgs& args) { + if (args.GetBool(GRPC_ARG_USE_LOCAL_SUBCHANNEL_POOL).value_or(false)) { + return MakeRefCounted(); + } + return GlobalSubchannelPool::instance(); +} + +} // namespace + +ClientChannelFilter::ClientChannelFilter(grpc_channel_element_args* args, + grpc_error_handle* error) + : channel_args_(args->channel_args), + deadline_checking_enabled_( + channel_args_.GetBool(GRPC_ARG_ENABLE_DEADLINE_CHECKS) + .value_or(!channel_args_.WantMinimalStack())), + owning_stack_(args->channel_stack), + client_channel_factory_(channel_args_.GetObject()), + channelz_node_(channel_args_.GetObject()), + interested_parties_(grpc_pollset_set_create()), + service_config_parser_index_( + internal::ClientChannelServiceConfigParser::ParserIndex()), + work_serializer_( + std::make_shared(*args->channel_stack->event_engine)), + state_tracker_("client_channel", GRPC_CHANNEL_IDLE), + subchannel_pool_(GetSubchannelPool(channel_args_)) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: creating client_channel for channel stack %p", + this, owning_stack_); + } + // Start backup polling. + grpc_client_channel_start_backup_polling(interested_parties_); + // Check client channel factory. + if (client_channel_factory_ == nullptr) { + *error = GRPC_ERROR_CREATE( + "Missing client channel factory in args for client channel filter"); + return; + } + // Get default service config. If none is specified via the client API, + // we use an empty config. + absl::optional service_config_json = + channel_args_.GetString(GRPC_ARG_SERVICE_CONFIG); + if (!service_config_json.has_value()) service_config_json = "{}"; + *error = absl::OkStatus(); + auto service_config = + ServiceConfigImpl::Create(channel_args_, *service_config_json); + if (!service_config.ok()) { + *error = absl_status_to_grpc_error(service_config.status()); + return; + } + default_service_config_ = std::move(*service_config); + // Get URI to resolve, using proxy mapper if needed. + absl::optional server_uri = + channel_args_.GetOwnedString(GRPC_ARG_SERVER_URI); + if (!server_uri.has_value()) { + *error = GRPC_ERROR_CREATE( + "target URI channel arg missing or wrong type in client channel " + "filter"); + return; + } + uri_to_resolve_ = CoreConfiguration::Get() + .proxy_mapper_registry() + .MapName(*server_uri, &channel_args_) + .value_or(*server_uri); + // Make sure the URI to resolve is valid, so that we know that + // resolver creation will succeed later. + if (!CoreConfiguration::Get().resolver_registry().IsValidTarget( + uri_to_resolve_)) { + *error = GRPC_ERROR_CREATE( + absl::StrCat("the target uri is not valid: ", uri_to_resolve_)); + return; + } + // Strip out service config channel arg, so that it doesn't affect + // subchannel uniqueness when the args flow down to that layer. + channel_args_ = channel_args_.Remove(GRPC_ARG_SERVICE_CONFIG); + // Set initial keepalive time. + auto keepalive_arg = channel_args_.GetInt(GRPC_ARG_KEEPALIVE_TIME_MS); + if (keepalive_arg.has_value()) { + keepalive_time_ = Clamp(*keepalive_arg, 1, INT_MAX); + } else { + keepalive_time_ = -1; // unset + } + // Set default authority. + absl::optional default_authority = + channel_args_.GetOwnedString(GRPC_ARG_DEFAULT_AUTHORITY); + if (!default_authority.has_value()) { + default_authority_ = + CoreConfiguration::Get().resolver_registry().GetDefaultAuthority( + *server_uri); + } else { + default_authority_ = std::move(*default_authority); + } + // Success. + *error = absl::OkStatus(); +} + +ClientChannelFilter::~ClientChannelFilter() { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: destroying channel", this); + } + DestroyResolverAndLbPolicyLocked(); + // Stop backup polling. + grpc_client_channel_stop_backup_polling(interested_parties_); + grpc_pollset_set_destroy(interested_parties_); +} + +ArenaPromise ClientChannelFilter::MakeCallPromise( + grpc_channel_element* elem, CallArgs call_args, NextPromiseFactory) { + auto* chand = static_cast(elem->channel_data); + // TODO(roth): Is this the right lifetime story for calld? + auto* calld = GetContext()->ManagedNew(chand); + return TrySeq( + // Name resolution. + calld->MakeNameResolutionPromise(std::move(call_args)), + // Dynamic filter stack. + [calld](CallArgs call_args) mutable { + return calld->dynamic_filters()->channel_stack()->MakeClientCallPromise( + std::move(call_args)); + }); +} + +OrphanablePtr +ClientChannelFilter::CreateLoadBalancedCall( + const grpc_call_element_args& args, grpc_polling_entity* pollent, + grpc_closure* on_call_destruction_complete, + absl::AnyInvocable on_commit, bool is_transparent_retry) { + return OrphanablePtr( + args.arena->New( + this, args, pollent, on_call_destruction_complete, + std::move(on_commit), is_transparent_retry)); +} + +ArenaPromise +ClientChannelFilter::CreateLoadBalancedCallPromise( + CallArgs call_args, absl::AnyInvocable on_commit, + bool is_transparent_retry) { + OrphanablePtr lb_call( + GetContext()->New( + this, std::move(on_commit), is_transparent_retry)); + auto* call_ptr = lb_call.get(); + return call_ptr->MakeCallPromise(std::move(call_args), std::move(lb_call)); +} + +ChannelArgs ClientChannelFilter::MakeSubchannelArgs( + const ChannelArgs& channel_args, const ChannelArgs& address_args, + const RefCountedPtr& subchannel_pool, + const std::string& channel_default_authority) { + // Note that we start with the channel-level args and then apply the + // per-address args, so that if a value is present in both, the one + // in the channel-level args is used. This is particularly important + // for the GRPC_ARG_DEFAULT_AUTHORITY arg, which we want to allow + // resolvers to set on a per-address basis only if the application + // did not explicitly set it at the channel level. + return channel_args.UnionWith(address_args) + .SetObject(subchannel_pool) + // If we haven't already set the default authority arg (i.e., it + // was not explicitly set by the application nor overridden by + // the resolver), add it from the channel's default. + .SetIfUnset(GRPC_ARG_DEFAULT_AUTHORITY, channel_default_authority) + // Remove channel args that should not affect subchannel + // uniqueness. + .Remove(GRPC_ARG_HEALTH_CHECK_SERVICE_NAME) + .Remove(GRPC_ARG_INHIBIT_HEALTH_CHECKING) + .Remove(GRPC_ARG_CHANNELZ_CHANNEL_NODE) + // Remove all keys with the no-subchannel prefix. + .RemoveAllKeysWithPrefix(GRPC_ARG_NO_SUBCHANNEL_PREFIX); +} + +void ClientChannelFilter::ReprocessQueuedResolverCalls() { + for (CallData* calld : resolver_queued_calls_) { + calld->RemoveCallFromResolverQueuedCallsLocked(); + calld->RetryCheckResolutionLocked(); + } + resolver_queued_calls_.clear(); +} + +namespace { + +RefCountedPtr ChooseLbPolicy( + const Resolver::Result& resolver_result, + const internal::ClientChannelGlobalParsedConfig* parsed_service_config) { + // Prefer the LB policy config found in the service config. + if (parsed_service_config->parsed_lb_config() != nullptr) { + return parsed_service_config->parsed_lb_config(); + } + // Try the deprecated LB policy name from the service config. + // If not, try the setting from channel args. + absl::optional policy_name; + if (!parsed_service_config->parsed_deprecated_lb_policy().empty()) { + policy_name = parsed_service_config->parsed_deprecated_lb_policy(); + } else { + policy_name = resolver_result.args.GetString(GRPC_ARG_LB_POLICY_NAME); + bool requires_config = false; + if (policy_name.has_value() && + (!CoreConfiguration::Get() + .lb_policy_registry() + .LoadBalancingPolicyExists(*policy_name, &requires_config) || + requires_config)) { + if (requires_config) { + gpr_log(GPR_ERROR, + "LB policy: %s passed through channel_args must not " + "require a config. Using pick_first instead.", + std::string(*policy_name).c_str()); + } else { + gpr_log(GPR_ERROR, + "LB policy: %s passed through channel_args does not exist. " + "Using pick_first instead.", + std::string(*policy_name).c_str()); + } + policy_name = "pick_first"; + } + } + // Use pick_first if nothing was specified and we didn't select grpclb + // above. + if (!policy_name.has_value()) policy_name = "pick_first"; + // Now that we have the policy name, construct an empty config for it. + Json config_json = Json::FromArray({Json::FromObject({ + {std::string(*policy_name), Json::FromObject({})}, + })}); + auto lb_policy_config = + CoreConfiguration::Get().lb_policy_registry().ParseLoadBalancingConfig( + config_json); + // The policy name came from one of three places: + // - The deprecated loadBalancingPolicy field in the service config, + // in which case the code in ClientChannelServiceConfigParser + // already verified that the policy does not require a config. + // - One of the hard-coded values here, all of which are known to not + // require a config. + // - A channel arg, in which case we check that the specified policy exists + // and accepts an empty config. If not, we revert to using pick_first + // lb_policy + GPR_ASSERT(lb_policy_config.ok()); + return std::move(*lb_policy_config); +} + +} // namespace + +void ClientChannelFilter::OnResolverResultChangedLocked( + Resolver::Result result) { + // Handle race conditions. + if (resolver_ == nullptr) return; + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: got resolver result", this); + } + // Grab resolver result health callback. + auto resolver_callback = std::move(result.result_health_callback); + absl::Status resolver_result_status; + // We only want to trace the address resolution in the follow cases: + // (a) Address resolution resulted in service config change. + // (b) Address resolution that causes number of backends to go from + // zero to non-zero. + // (c) Address resolution that causes number of backends to go from + // non-zero to zero. + // (d) Address resolution that causes a new LB policy to be created. + // + // We track a list of strings to eventually be concatenated and traced. + std::vector trace_strings; + const bool resolution_contains_addresses = + result.addresses.ok() && !result.addresses->empty(); + if (!resolution_contains_addresses && + previous_resolution_contained_addresses_) { + trace_strings.push_back("Address list became empty"); + } else if (resolution_contains_addresses && + !previous_resolution_contained_addresses_) { + trace_strings.push_back("Address list became non-empty"); + } + previous_resolution_contained_addresses_ = resolution_contains_addresses; + std::string service_config_error_string_storage; + if (!result.service_config.ok()) { + service_config_error_string_storage = + result.service_config.status().ToString(); + trace_strings.push_back(service_config_error_string_storage.c_str()); + } + // Choose the service config. + RefCountedPtr service_config; + RefCountedPtr config_selector; + if (!result.service_config.ok()) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: resolver returned service config error: %s", + this, result.service_config.status().ToString().c_str()); + } + // If the service config was invalid, then fallback to the + // previously returned service config. + if (saved_service_config_ != nullptr) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, + "chand=%p: resolver returned invalid service config. " + "Continuing to use previous service config.", + this); + } + service_config = saved_service_config_; + config_selector = saved_config_selector_; + } else { + // We received a service config error and we don't have a + // previous service config to fall back to. Put the channel into + // TRANSIENT_FAILURE. + OnResolverErrorLocked(result.service_config.status()); + trace_strings.push_back("no valid service config"); + resolver_result_status = + absl::UnavailableError("no valid service config"); + } + } else if (*result.service_config == nullptr) { + // Resolver did not return any service config. + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, + "chand=%p: resolver returned no service config. Using default " + "service config for channel.", + this); + } + service_config = default_service_config_; + } else { + // Use ServiceConfig and ConfigSelector returned by resolver. + service_config = std::move(*result.service_config); + config_selector = result.args.GetObjectRef(); + } + // Note: The only case in which service_config is null here is if the resolver + // returned a service config error and we don't have a previous service + // config to fall back to. + if (service_config != nullptr) { + // Extract global config for client channel. + const internal::ClientChannelGlobalParsedConfig* parsed_service_config = + static_cast( + service_config->GetGlobalParsedConfig( + service_config_parser_index_)); + // Choose LB policy config. + RefCountedPtr lb_policy_config = + ChooseLbPolicy(result, parsed_service_config); + // Check if the ServiceConfig has changed. + const bool service_config_changed = + saved_service_config_ == nullptr || + service_config->json_string() != saved_service_config_->json_string(); + // Check if the ConfigSelector has changed. + const bool config_selector_changed = !ConfigSelector::Equals( + saved_config_selector_.get(), config_selector.get()); + // If either has changed, apply the global parameters now. + if (service_config_changed || config_selector_changed) { + // Update service config in control plane. + UpdateServiceConfigInControlPlaneLocked( + std::move(service_config), std::move(config_selector), + std::string(lb_policy_config->name())); + } else if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: service config not changed", this); + } + // Create or update LB policy, as needed. + resolver_result_status = CreateOrUpdateLbPolicyLocked( + std::move(lb_policy_config), + parsed_service_config->health_check_service_name(), std::move(result)); + if (service_config_changed || config_selector_changed) { + // Start using new service config for calls. + // This needs to happen after the LB policy has been updated, since + // the ConfigSelector may need the LB policy to know about new + // destinations before it can send RPCs to those destinations. + UpdateServiceConfigInDataPlaneLocked(); + // TODO(ncteisen): might be worth somehow including a snippet of the + // config in the trace, at the risk of bloating the trace logs. + trace_strings.push_back("Service config changed"); + } + } + // Invoke resolver callback if needed. + if (resolver_callback != nullptr) { + resolver_callback(std::move(resolver_result_status)); + } + // Add channel trace event. + if (!trace_strings.empty()) { + std::string message = + absl::StrCat("Resolution event: ", absl::StrJoin(trace_strings, ", ")); + if (channelz_node_ != nullptr) { + channelz_node_->AddTraceEvent(channelz::ChannelTrace::Severity::Info, + grpc_slice_from_cpp_string(message)); + } + } +} + +void ClientChannelFilter::OnResolverErrorLocked(absl::Status status) { + if (resolver_ == nullptr) return; + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: resolver transient failure: %s", this, + status.ToString().c_str()); + } + // If we already have an LB policy from a previous resolution + // result, then we continue to let it set the connectivity state. + // Otherwise, we go into TRANSIENT_FAILURE. + if (lb_policy_ == nullptr) { + // Update connectivity state. + UpdateStateLocked(GRPC_CHANNEL_TRANSIENT_FAILURE, status, + "resolver failure"); + { + MutexLock lock(&resolution_mu_); + // Update resolver transient failure. + resolver_transient_failure_error_ = + MaybeRewriteIllegalStatusCode(status, "resolver"); + ReprocessQueuedResolverCalls(); + } + } +} + +absl::Status ClientChannelFilter::CreateOrUpdateLbPolicyLocked( + RefCountedPtr lb_policy_config, + const absl::optional& health_check_service_name, + Resolver::Result result) { + // Construct update. + LoadBalancingPolicy::UpdateArgs update_args; + if (!result.addresses.ok()) { + update_args.addresses = result.addresses.status(); + } else { + update_args.addresses = std::make_shared( + std::move(*result.addresses)); + } + update_args.config = std::move(lb_policy_config); + update_args.resolution_note = std::move(result.resolution_note); + // Remove the config selector from channel args so that we're not holding + // unnecessary refs that cause it to be destroyed somewhere other than in the + // WorkSerializer. + update_args.args = result.args.Remove(GRPC_ARG_CONFIG_SELECTOR); + // Add health check service name to channel args. + if (health_check_service_name.has_value()) { + update_args.args = update_args.args.Set(GRPC_ARG_HEALTH_CHECK_SERVICE_NAME, + *health_check_service_name); + } + // Create policy if needed. + if (lb_policy_ == nullptr) { + lb_policy_ = CreateLbPolicyLocked(update_args.args); + } + // Update the policy. + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: Updating child policy %p", this, + lb_policy_.get()); + } + return lb_policy_->UpdateLocked(std::move(update_args)); +} + +// Creates a new LB policy. +OrphanablePtr ClientChannelFilter::CreateLbPolicyLocked( + const ChannelArgs& args) { + // The LB policy will start in state CONNECTING but will not + // necessarily send us an update synchronously, so set state to + // CONNECTING (in case the resolver had previously failed and put the + // channel into TRANSIENT_FAILURE) and make sure we have a queueing picker. + UpdateStateAndPickerLocked( + GRPC_CHANNEL_CONNECTING, absl::Status(), "started resolving", + MakeRefCounted(nullptr)); + // Now create the LB policy. + LoadBalancingPolicy::Args lb_policy_args; + lb_policy_args.work_serializer = work_serializer_; + lb_policy_args.channel_control_helper = + std::make_unique(this); + lb_policy_args.args = args; + OrphanablePtr lb_policy = + MakeOrphanable(std::move(lb_policy_args), + &grpc_client_channel_trace); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: created new LB policy %p", this, + lb_policy.get()); + } + grpc_pollset_set_add_pollset_set(lb_policy->interested_parties(), + interested_parties_); + return lb_policy; +} + +void ClientChannelFilter::UpdateServiceConfigInControlPlaneLocked( + RefCountedPtr service_config, + RefCountedPtr config_selector, std::string lb_policy_name) { + std::string service_config_json(service_config->json_string()); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: using service config: \"%s\"", this, + service_config_json.c_str()); + } + // Save service config. + saved_service_config_ = std::move(service_config); + // Swap out the data used by GetChannelInfo(). + { + MutexLock lock(&info_mu_); + info_lb_policy_name_ = std::move(lb_policy_name); + info_service_config_json_ = std::move(service_config_json); + } + // Save config selector. + saved_config_selector_ = std::move(config_selector); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: using ConfigSelector %p", this, + saved_config_selector_.get()); + } +} + +void ClientChannelFilter::UpdateServiceConfigInDataPlaneLocked() { + // Grab ref to service config. + RefCountedPtr service_config = saved_service_config_; + // Grab ref to config selector. Use default if resolver didn't supply one. + RefCountedPtr config_selector = saved_config_selector_; + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: switching to ConfigSelector %p", this, + saved_config_selector_.get()); + } + if (config_selector == nullptr) { + config_selector = + MakeRefCounted(saved_service_config_); + } + ChannelArgs new_args = + channel_args_.SetObject(this).SetObject(service_config); + bool enable_retries = + !new_args.WantMinimalStack() && + new_args.GetBool(GRPC_ARG_ENABLE_RETRIES).value_or(true); + // Construct dynamic filter stack. + std::vector filters = + config_selector->GetFilters(); + if (enable_retries) { + filters.push_back(&RetryFilter::kVtable); + } else { + filters.push_back(&DynamicTerminationFilter::kFilterVtable); + } + RefCountedPtr dynamic_filters = + DynamicFilters::Create(new_args, std::move(filters)); + GPR_ASSERT(dynamic_filters != nullptr); + // Grab data plane lock to update service config. + // + // We defer unreffing the old values (and deallocating memory) until + // after releasing the lock to keep the critical section small. + { + MutexLock lock(&resolution_mu_); + resolver_transient_failure_error_ = absl::OkStatus(); + // Update service config. + received_service_config_data_ = true; + // Old values will be unreffed after lock is released. + service_config_.swap(service_config); + config_selector_.swap(config_selector); + dynamic_filters_.swap(dynamic_filters); + // Re-process queued calls asynchronously. + ReprocessQueuedResolverCalls(); + } + // Old values will be unreffed after lock is released when they go out + // of scope. +} + +void ClientChannelFilter::CreateResolverLocked() { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: starting name resolution for %s", this, + uri_to_resolve_.c_str()); + } + resolver_ = CoreConfiguration::Get().resolver_registry().CreateResolver( + uri_to_resolve_, channel_args_, interested_parties_, work_serializer_, + std::make_unique(this)); + // Since the validity of the args was checked when the channel was created, + // CreateResolver() must return a non-null result. + GPR_ASSERT(resolver_ != nullptr); + UpdateStateLocked(GRPC_CHANNEL_CONNECTING, absl::Status(), + "started resolving"); + resolver_->StartLocked(); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: created resolver=%p", this, resolver_.get()); + } +} + +void ClientChannelFilter::DestroyResolverAndLbPolicyLocked() { + if (resolver_ != nullptr) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: shutting down resolver=%p", this, + resolver_.get()); + } + resolver_.reset(); + // Clear resolution state. + saved_service_config_.reset(); + saved_config_selector_.reset(); + // Acquire resolution lock to update config selector and associated state. + // To minimize lock contention, we wait to unref these objects until + // after we release the lock. + RefCountedPtr service_config_to_unref; + RefCountedPtr config_selector_to_unref; + RefCountedPtr dynamic_filters_to_unref; + { + MutexLock lock(&resolution_mu_); + received_service_config_data_ = false; + service_config_to_unref = std::move(service_config_); + config_selector_to_unref = std::move(config_selector_); + dynamic_filters_to_unref = std::move(dynamic_filters_); + } + // Clear LB policy if set. + if (lb_policy_ != nullptr) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: shutting down lb_policy=%p", this, + lb_policy_.get()); + } + grpc_pollset_set_del_pollset_set(lb_policy_->interested_parties(), + interested_parties_); + lb_policy_.reset(); + } + } +} + +void ClientChannelFilter::UpdateStateLocked(grpc_connectivity_state state, + const absl::Status& status, + const char* reason) { + if (state != GRPC_CHANNEL_SHUTDOWN && + state_tracker_.state() == GRPC_CHANNEL_SHUTDOWN) { + Crash("Illegal transition SHUTDOWN -> anything"); + } + state_tracker_.SetState(state, status, reason); + if (channelz_node_ != nullptr) { + channelz_node_->SetConnectivityState(state); + channelz_node_->AddTraceEvent( + channelz::ChannelTrace::Severity::Info, + grpc_slice_from_static_string( + channelz::ChannelNode::GetChannelConnectivityStateChangeString( + state))); + } +} + +void ClientChannelFilter::UpdateStateAndPickerLocked( + grpc_connectivity_state state, const absl::Status& status, + const char* reason, + RefCountedPtr picker) { + UpdateStateLocked(state, status, reason); + // Grab the LB lock to update the picker and trigger reprocessing of the + // queued picks. + // Old picker will be unreffed after releasing the lock. + MutexLock lock(&lb_mu_); + picker_.swap(picker); + // Reprocess queued picks. + for (auto& call : lb_queued_calls_) { + call->RemoveCallFromLbQueuedCallsLocked(); + call->RetryPickLocked(); + } + lb_queued_calls_.clear(); +} + +namespace { + +// TODO(roth): Remove this in favor of the gprpp Match() function once +// we can do that without breaking lock annotations. +template +T HandlePickResult( + LoadBalancingPolicy::PickResult* result, + std::function complete_func, + std::function queue_func, + std::function fail_func, + std::function drop_func) { + auto* complete_pick = + absl::get_if(&result->result); + if (complete_pick != nullptr) { + return complete_func(complete_pick); + } + auto* queue_pick = + absl::get_if(&result->result); + if (queue_pick != nullptr) { + return queue_func(queue_pick); + } + auto* fail_pick = + absl::get_if(&result->result); + if (fail_pick != nullptr) { + return fail_func(fail_pick); + } + auto* drop_pick = + absl::get_if(&result->result); + GPR_ASSERT(drop_pick != nullptr); + return drop_func(drop_pick); +} + +} // namespace + +grpc_error_handle ClientChannelFilter::DoPingLocked(grpc_transport_op* op) { + if (state_tracker_.state() != GRPC_CHANNEL_READY) { + return GRPC_ERROR_CREATE("channel not connected"); + } + LoadBalancingPolicy::PickResult result; + { + MutexLock lock(&lb_mu_); + result = picker_->Pick(LoadBalancingPolicy::PickArgs()); + } + return HandlePickResult( + &result, + // Complete pick. + [op](LoadBalancingPolicy::PickResult::Complete* complete_pick) + ABSL_EXCLUSIVE_LOCKS_REQUIRED( + *ClientChannelFilter::work_serializer_) { + SubchannelWrapper* subchannel = static_cast( + complete_pick->subchannel.get()); + RefCountedPtr connected_subchannel = + subchannel->connected_subchannel(); + if (connected_subchannel == nullptr) { + return GRPC_ERROR_CREATE("LB pick for ping not connected"); + } + connected_subchannel->Ping(op->send_ping.on_initiate, + op->send_ping.on_ack); + return absl::OkStatus(); + }, + // Queue pick. + [](LoadBalancingPolicy::PickResult::Queue* /*queue_pick*/) { + return GRPC_ERROR_CREATE("LB picker queued call"); + }, + // Fail pick. + [](LoadBalancingPolicy::PickResult::Fail* fail_pick) { + return absl_status_to_grpc_error(fail_pick->status); + }, + // Drop pick. + [](LoadBalancingPolicy::PickResult::Drop* drop_pick) { + return absl_status_to_grpc_error(drop_pick->status); + }); +} + +void ClientChannelFilter::StartTransportOpLocked(grpc_transport_op* op) { + // Connectivity watch. + if (op->start_connectivity_watch != nullptr) { + state_tracker_.AddWatcher(op->start_connectivity_watch_state, + std::move(op->start_connectivity_watch)); + } + if (op->stop_connectivity_watch != nullptr) { + state_tracker_.RemoveWatcher(op->stop_connectivity_watch); + } + // Ping. + if (op->send_ping.on_initiate != nullptr || op->send_ping.on_ack != nullptr) { + grpc_error_handle error = DoPingLocked(op); + if (!error.ok()) { + ExecCtx::Run(DEBUG_LOCATION, op->send_ping.on_initiate, error); + ExecCtx::Run(DEBUG_LOCATION, op->send_ping.on_ack, error); + } + op->bind_pollset = nullptr; + op->send_ping.on_initiate = nullptr; + op->send_ping.on_ack = nullptr; + } + // Reset backoff. + if (op->reset_connect_backoff) { + if (lb_policy_ != nullptr) { + lb_policy_->ResetBackoffLocked(); + } + } + // Disconnect or enter IDLE. + if (!op->disconnect_with_error.ok()) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { + gpr_log(GPR_INFO, "chand=%p: disconnect_with_error: %s", this, + StatusToString(op->disconnect_with_error).c_str()); + } + DestroyResolverAndLbPolicyLocked(); + intptr_t value; + if (grpc_error_get_int(op->disconnect_with_error, + StatusIntProperty::ChannelConnectivityState, + &value) && + static_cast(value) == GRPC_CHANNEL_IDLE) { + if (disconnect_error_.ok()) { // Ignore if we're shutting down. + // Enter IDLE state. + UpdateStateAndPickerLocked(GRPC_CHANNEL_IDLE, absl::Status(), + "channel entering IDLE", nullptr); + // TODO(roth): Do we need to check for any queued picks here, in + // case there's a race condition in the client_idle filter? + // And maybe also check for calls in the resolver queue? + } + } else { + // Disconnect. + GPR_ASSERT(disconnect_error_.ok()); + disconnect_error_ = op->disconnect_with_error; + UpdateStateAndPickerLocked( + GRPC_CHANNEL_SHUTDOWN, absl::Status(), "shutdown from API", + MakeRefCounted( + grpc_error_to_absl_status(op->disconnect_with_error))); + // TODO(roth): If this happens when we're still waiting for a + // resolver result, we need to trigger failures for all calls in + // the resolver queue here. + } + } + GRPC_CHANNEL_STACK_UNREF(owning_stack_, "start_transport_op"); + ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus()); +} + +void ClientChannelFilter::StartTransportOp(grpc_channel_element* elem, + grpc_transport_op* op) { + auto* chand = static_cast(elem->channel_data); + GPR_ASSERT(op->set_accept_stream == false); + // Handle bind_pollset. + if (op->bind_pollset != nullptr) { + grpc_pollset_set_add_pollset(chand->interested_parties_, op->bind_pollset); + } + // Pop into control plane work_serializer for remaining ops. + GRPC_CHANNEL_STACK_REF(chand->owning_stack_, "start_transport_op"); + chand->work_serializer_->Run( + [chand, op]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand->work_serializer_) { + chand->StartTransportOpLocked(op); + }, + DEBUG_LOCATION); +} + +void ClientChannelFilter::GetChannelInfo(grpc_channel_element* elem, + const grpc_channel_info* info) { + auto* chand = static_cast(elem->channel_data); + MutexLock lock(&chand->info_mu_); + if (info->lb_policy_name != nullptr) { + *info->lb_policy_name = gpr_strdup(chand->info_lb_policy_name_.c_str()); + } + if (info->service_config_json != nullptr) { + *info->service_config_json = + gpr_strdup(chand->info_service_config_json_.c_str()); + } +} + +void ClientChannelFilter::TryToConnectLocked() { + if (disconnect_error_.ok()) { + if (lb_policy_ != nullptr) { + lb_policy_->ExitIdleLocked(); + } else if (resolver_ == nullptr) { + CreateResolverLocked(); + } + } + GRPC_CHANNEL_STACK_UNREF(owning_stack_, "TryToConnect"); +} + +grpc_connectivity_state ClientChannelFilter::CheckConnectivityState( + bool try_to_connect) { + // state_tracker_ is guarded by work_serializer_, which we're not + // holding here. But the one method of state_tracker_ that *is* + // thread-safe to call without external synchronization is the state() + // method, so we can disable thread-safety analysis for this one read. + grpc_connectivity_state out = ABSL_TS_UNCHECKED_READ(state_tracker_).state(); + if (out == GRPC_CHANNEL_IDLE && try_to_connect) { + GRPC_CHANNEL_STACK_REF(owning_stack_, "TryToConnect"); + work_serializer_->Run([this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED( + *work_serializer_) { TryToConnectLocked(); }, + DEBUG_LOCATION); + } + return out; +} + +void ClientChannelFilter::AddConnectivityWatcher( + grpc_connectivity_state initial_state, + OrphanablePtr watcher) { + new ConnectivityWatcherAdder(this, initial_state, std::move(watcher)); +} + +void ClientChannelFilter::RemoveConnectivityWatcher( + AsyncConnectivityStateWatcherInterface* watcher) { + new ConnectivityWatcherRemover(this, watcher); +} + +// +// CallData implementation +// + +void ClientChannelFilter::CallData::RemoveCallFromResolverQueuedCallsLocked() { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p calld=%p: removing from resolver queued picks list", + chand(), this); + } + // Remove call's pollent from channel's interested_parties. + grpc_polling_entity_del_from_pollset_set(pollent(), + chand()->interested_parties_); + // Note: There's no need to actually remove the call from the queue + // here, because that will be done in + // ResolverQueuedCallCanceller::CancelLocked() or + // ClientChannelFilter::ReprocessQueuedResolverCalls(). +} + +void ClientChannelFilter::CallData::AddCallToResolverQueuedCallsLocked() { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log( + GPR_INFO, + "chand=%p calld=%p: adding to resolver queued picks list; pollent=%s", + chand(), this, grpc_polling_entity_string(pollent()).c_str()); + } + // Add call's pollent to channel's interested_parties, so that I/O + // can be done under the call's CQ. + grpc_polling_entity_add_to_pollset_set(pollent(), + chand()->interested_parties_); + // Add to queue. + chand()->resolver_queued_calls_.insert(this); + OnAddToQueueLocked(); +} + +grpc_error_handle ClientChannelFilter::CallData::ApplyServiceConfigToCallLocked( + const absl::StatusOr>& config_selector) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, "chand=%p calld=%p: applying service config to call", + chand(), this); + } + if (!config_selector.ok()) return config_selector.status(); + // Create a ClientChannelServiceConfigCallData for the call. This stores + // a ref to the ServiceConfig and caches the right set of parsed configs + // to use for the call. The ClientChannelServiceConfigCallData will store + // itself in the call context, so that it can be accessed by filters + // below us in the stack, and it will be cleaned up when the call ends. + auto* service_config_call_data = + arena()->New(arena(), call_context()); + // Use the ConfigSelector to determine the config for the call. + absl::Status call_config_status = + (*config_selector) + ->GetCallConfig( + {send_initial_metadata(), arena(), service_config_call_data}); + if (!call_config_status.ok()) { + return absl_status_to_grpc_error( + MaybeRewriteIllegalStatusCode(call_config_status, "ConfigSelector")); + } + // Apply our own method params to the call. + auto* method_params = static_cast( + service_config_call_data->GetMethodParsedConfig( + chand()->service_config_parser_index_)); + if (method_params != nullptr) { + // If the deadline from the service config is shorter than the one + // from the client API, reset the deadline timer. + if (chand()->deadline_checking_enabled_ && + method_params->timeout() != Duration::Zero()) { + ResetDeadline(method_params->timeout()); + } + // If the service config set wait_for_ready and the application + // did not explicitly set it, use the value from the service config. + auto* wait_for_ready = + send_initial_metadata()->GetOrCreatePointer(WaitForReady()); + if (method_params->wait_for_ready().has_value() && + !wait_for_ready->explicitly_set) { + wait_for_ready->value = method_params->wait_for_ready().value(); + } + } + return absl::OkStatus(); +} + +absl::optional ClientChannelFilter::CallData::CheckResolution( + bool was_queued) { + // Check if we have a resolver result to use. + absl::StatusOr> config_selector; + { + MutexLock lock(&chand()->resolution_mu_); + bool result_ready = CheckResolutionLocked(&config_selector); + // If no result is available, queue the call. + if (!result_ready) { + AddCallToResolverQueuedCallsLocked(); + return absl::nullopt; + } + } + // We have a result. Apply service config to call. + grpc_error_handle error = ApplyServiceConfigToCallLocked(config_selector); + // ConfigSelector must be unreffed inside the WorkSerializer. + if (!IsWorkSerializerDispatchEnabled() && config_selector.ok()) { + chand()->work_serializer_->Run( + [config_selector = std::move(*config_selector)]() mutable { + config_selector.reset(); + }, + DEBUG_LOCATION); + } + // Handle errors. + if (!error.ok()) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p calld=%p: error applying config to call: error=%s", + chand(), this, StatusToString(error).c_str()); + } + return error; + } + // If the call was queued, add trace annotation. + if (was_queued) { + auto* call_tracer = static_cast( + call_context()[GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE].value); + if (call_tracer != nullptr) { + call_tracer->RecordAnnotation("Delayed name resolution complete."); + } + } + return absl::OkStatus(); +} + +bool ClientChannelFilter::CallData::CheckResolutionLocked( + absl::StatusOr>* config_selector) { + // If we don't yet have a resolver result, we need to queue the call + // until we get one. + if (GPR_UNLIKELY(!chand()->received_service_config_data_)) { + // If the resolver returned transient failure before returning the + // first service config, fail any non-wait_for_ready calls. + absl::Status resolver_error = chand()->resolver_transient_failure_error_; + if (!resolver_error.ok() && + !send_initial_metadata()->GetOrCreatePointer(WaitForReady())->value) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, "chand=%p calld=%p: resolution failed, failing call", + chand(), this); + } + *config_selector = absl_status_to_grpc_error(resolver_error); + return true; + } + // Either the resolver has not yet returned a result, or it has + // returned transient failure but the call is wait_for_ready. In + // either case, queue the call. + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, "chand=%p calld=%p: no resolver result yet", chand(), + this); + } + return false; + } + // Result found. + *config_selector = chand()->config_selector_; + dynamic_filters_ = chand()->dynamic_filters_; + return true; +} + +// +// FilterBasedCallData implementation +// + +ClientChannelFilter::FilterBasedCallData::FilterBasedCallData( + grpc_call_element* elem, const grpc_call_element_args& args) + : path_(CSliceRef(args.path)), + call_context_(args.context), + call_start_time_(args.start_time), + deadline_(args.deadline), + deadline_state_( + elem, args, + GPR_LIKELY(static_cast(elem->channel_data) + ->deadline_checking_enabled_) + ? args.deadline + : Timestamp::InfFuture()) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, "chand=%p calld=%p: created call", chand(), this); + } +} + +ClientChannelFilter::FilterBasedCallData::~FilterBasedCallData() { + CSliceUnref(path_); + // Make sure there are no remaining pending batches. + for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { + GPR_ASSERT(pending_batches_[i] == nullptr); + } +} + +grpc_error_handle ClientChannelFilter::FilterBasedCallData::Init( + grpc_call_element* elem, const grpc_call_element_args* args) { + new (elem->call_data) FilterBasedCallData(elem, *args); + return absl::OkStatus(); +} + +void ClientChannelFilter::FilterBasedCallData::Destroy( + grpc_call_element* elem, const grpc_call_final_info* /*final_info*/, + grpc_closure* then_schedule_closure) { + auto* calld = static_cast(elem->call_data); + RefCountedPtr dynamic_call = + std::move(calld->dynamic_call_); + calld->~FilterBasedCallData(); + if (GPR_LIKELY(dynamic_call != nullptr)) { + dynamic_call->SetAfterCallStackDestroy(then_schedule_closure); + } else { + // TODO(yashkt) : This can potentially be a Closure::Run + ExecCtx::Run(DEBUG_LOCATION, then_schedule_closure, absl::OkStatus()); + } +} + +void ClientChannelFilter::FilterBasedCallData::StartTransportStreamOpBatch( + grpc_call_element* elem, grpc_transport_stream_op_batch* batch) { + auto* calld = static_cast(elem->call_data); + auto* chand = static_cast(elem->channel_data); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace) && + !GRPC_TRACE_FLAG_ENABLED(grpc_trace_channel)) { + gpr_log(GPR_INFO, "chand=%p calld=%p: batch started from above: %s", chand, + calld, grpc_transport_stream_op_batch_string(batch, false).c_str()); + } + if (GPR_LIKELY(chand->deadline_checking_enabled_)) { + grpc_deadline_state_client_start_transport_stream_op_batch( + &calld->deadline_state_, batch); + } + // Intercept recv_trailing_metadata to commit the call, in case we wind up + // failing the call before we get down to the retry or LB call layer. + if (batch->recv_trailing_metadata) { + calld->original_recv_trailing_metadata_ready_ = + batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready; + GRPC_CLOSURE_INIT(&calld->recv_trailing_metadata_ready_, + RecvTrailingMetadataReadyForConfigSelectorCommitCallback, + calld, nullptr); + batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready = + &calld->recv_trailing_metadata_ready_; + } + // If we already have a dynamic call, pass the batch down to it. + // Note that once we have done so, we do not need to acquire the channel's + // resolution mutex, which is more efficient (especially for streaming calls). + if (calld->dynamic_call_ != nullptr) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, "chand=%p calld=%p: starting batch on dynamic_call=%p", + chand, calld, calld->dynamic_call_.get()); + } + calld->dynamic_call_->StartTransportStreamOpBatch(batch); + return; + } + // We do not yet have a dynamic call. + // + // If we've previously been cancelled, immediately fail any new batches. + if (GPR_UNLIKELY(!calld->cancel_error_.ok())) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, "chand=%p calld=%p: failing batch with error: %s", + chand, calld, StatusToString(calld->cancel_error_).c_str()); + } + // Note: This will release the call combiner. + grpc_transport_stream_op_batch_finish_with_failure( + batch, calld->cancel_error_, calld->call_combiner()); + return; + } + // Handle cancellation. + if (GPR_UNLIKELY(batch->cancel_stream)) { + // Stash a copy of cancel_error in our call data, so that we can use + // it for subsequent operations. This ensures that if the call is + // cancelled before any batches are passed down (e.g., if the deadline + // is in the past when the call starts), we can return the right + // error to the caller when the first batch does get passed down. + calld->cancel_error_ = batch->payload->cancel_stream.cancel_error; + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, "chand=%p calld=%p: recording cancel_error=%s", chand, + calld, StatusToString(calld->cancel_error_).c_str()); + } + // Fail all pending batches. + calld->PendingBatchesFail(calld->cancel_error_, NoYieldCallCombiner); + // Note: This will release the call combiner. + grpc_transport_stream_op_batch_finish_with_failure( + batch, calld->cancel_error_, calld->call_combiner()); + return; + } + // Add the batch to the pending list. + calld->PendingBatchesAdd(batch); + // For batches containing a send_initial_metadata op, acquire the + // channel's resolution mutex to apply the service config to the call, + // after which we will create a dynamic call. + if (GPR_LIKELY(batch->send_initial_metadata)) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p calld=%p: grabbing resolution mutex to apply service " + "config", + chand, calld); + } + // If we're still in IDLE, we need to start resolving. + if (GPR_UNLIKELY(chand->CheckConnectivityState(false) == + GRPC_CHANNEL_IDLE)) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, "chand=%p calld=%p: triggering exit idle", chand, + calld); + } + // Bounce into the control plane work serializer to start resolving. + GRPC_CHANNEL_STACK_REF(chand->owning_stack_, "ExitIdle"); + chand->work_serializer_->Run( + [chand]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand->work_serializer_) { + chand->CheckConnectivityState(/*try_to_connect=*/true); + GRPC_CHANNEL_STACK_UNREF(chand->owning_stack_, "ExitIdle"); + }, + DEBUG_LOCATION); + } + calld->TryCheckResolution(/*was_queued=*/false); + } else { + // For all other batches, release the call combiner. + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p calld=%p: saved batch, yielding call combiner", chand, + calld); + } + GRPC_CALL_COMBINER_STOP(calld->call_combiner(), + "batch does not include send_initial_metadata"); + } +} + +void ClientChannelFilter::FilterBasedCallData::SetPollent( + grpc_call_element* elem, grpc_polling_entity* pollent) { + auto* calld = static_cast(elem->call_data); + calld->pollent_ = pollent; +} + +size_t ClientChannelFilter::FilterBasedCallData::GetBatchIndex( + grpc_transport_stream_op_batch* batch) { + // Note: It is important the send_initial_metadata be the first entry + // here, since the code in CheckResolution() assumes it will be. + if (batch->send_initial_metadata) return 0; + if (batch->send_message) return 1; + if (batch->send_trailing_metadata) return 2; + if (batch->recv_initial_metadata) return 3; + if (batch->recv_message) return 4; + if (batch->recv_trailing_metadata) return 5; + GPR_UNREACHABLE_CODE(return (size_t)-1); +} + +// This is called via the call combiner, so access to calld is synchronized. +void ClientChannelFilter::FilterBasedCallData::PendingBatchesAdd( + grpc_transport_stream_op_batch* batch) { + const size_t idx = GetBatchIndex(batch); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p calld=%p: adding pending batch at index %" PRIuPTR, + chand(), this, idx); + } + grpc_transport_stream_op_batch*& pending = pending_batches_[idx]; + GPR_ASSERT(pending == nullptr); + pending = batch; +} + +// This is called via the call combiner, so access to calld is synchronized. +void ClientChannelFilter::FilterBasedCallData::FailPendingBatchInCallCombiner( + void* arg, grpc_error_handle error) { + grpc_transport_stream_op_batch* batch = + static_cast(arg); + auto* calld = + static_cast(batch->handler_private.extra_arg); + // Note: This will release the call combiner. + grpc_transport_stream_op_batch_finish_with_failure(batch, error, + calld->call_combiner()); +} + +// This is called via the call combiner, so access to calld is synchronized. +void ClientChannelFilter::FilterBasedCallData::PendingBatchesFail( + grpc_error_handle error, + YieldCallCombinerPredicate yield_call_combiner_predicate) { + GPR_ASSERT(!error.ok()); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + size_t num_batches = 0; + for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { + if (pending_batches_[i] != nullptr) ++num_batches; + } + gpr_log(GPR_INFO, + "chand=%p calld=%p: failing %" PRIuPTR " pending batches: %s", + chand(), this, num_batches, StatusToString(error).c_str()); + } + CallCombinerClosureList closures; + for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { + grpc_transport_stream_op_batch*& batch = pending_batches_[i]; + if (batch != nullptr) { + batch->handler_private.extra_arg = this; + GRPC_CLOSURE_INIT(&batch->handler_private.closure, + FailPendingBatchInCallCombiner, batch, + grpc_schedule_on_exec_ctx); + closures.Add(&batch->handler_private.closure, error, + "PendingBatchesFail"); + batch = nullptr; + } + } + if (yield_call_combiner_predicate(closures)) { + closures.RunClosures(call_combiner()); + } else { + closures.RunClosuresWithoutYielding(call_combiner()); + } +} + +// This is called via the call combiner, so access to calld is synchronized. +void ClientChannelFilter::FilterBasedCallData::ResumePendingBatchInCallCombiner( + void* arg, grpc_error_handle /*ignored*/) { + grpc_transport_stream_op_batch* batch = + static_cast(arg); + auto* calld = + static_cast(batch->handler_private.extra_arg); + // Note: This will release the call combiner. + calld->dynamic_call_->StartTransportStreamOpBatch(batch); +} + +// This is called via the call combiner, so access to calld is synchronized. +void ClientChannelFilter::FilterBasedCallData::PendingBatchesResume() { + // Retries not enabled; send down batches as-is. + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + size_t num_batches = 0; + for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { + if (pending_batches_[i] != nullptr) ++num_batches; + } + gpr_log(GPR_INFO, + "chand=%p calld=%p: starting %" PRIuPTR + " pending batches on dynamic_call=%p", + chand(), this, num_batches, dynamic_call_.get()); + } + CallCombinerClosureList closures; + for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { + grpc_transport_stream_op_batch*& batch = pending_batches_[i]; + if (batch != nullptr) { + batch->handler_private.extra_arg = this; + GRPC_CLOSURE_INIT(&batch->handler_private.closure, + ResumePendingBatchInCallCombiner, batch, nullptr); + closures.Add(&batch->handler_private.closure, absl::OkStatus(), + "resuming pending batch from client channel call"); + batch = nullptr; + } + } + // Note: This will release the call combiner. + closures.RunClosures(call_combiner()); +} + +// A class to handle the call combiner cancellation callback for a +// queued pick. +class ClientChannelFilter::FilterBasedCallData::ResolverQueuedCallCanceller { + public: + explicit ResolverQueuedCallCanceller(FilterBasedCallData* calld) + : calld_(calld) { + GRPC_CALL_STACK_REF(calld->owning_call(), "ResolverQueuedCallCanceller"); + GRPC_CLOSURE_INIT(&closure_, &CancelLocked, this, + grpc_schedule_on_exec_ctx); + calld->call_combiner()->SetNotifyOnCancel(&closure_); + } + + private: + static void CancelLocked(void* arg, grpc_error_handle error) { + auto* self = static_cast(arg); + auto* calld = self->calld_; + auto* chand = calld->chand(); + { + MutexLock lock(&chand->resolution_mu_); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p calld=%p: cancelling resolver queued pick: " + "error=%s self=%p calld->resolver_pick_canceller=%p", + chand, calld, StatusToString(error).c_str(), self, + calld->resolver_call_canceller_); + } + if (calld->resolver_call_canceller_ == self && !error.ok()) { + // Remove pick from list of queued picks. + calld->RemoveCallFromResolverQueuedCallsLocked(); + chand->resolver_queued_calls_.erase(calld); + // Fail pending batches on the call. + calld->PendingBatchesFail(error, + YieldCallCombinerIfPendingBatchesFound); + } + } + GRPC_CALL_STACK_UNREF(calld->owning_call(), "ResolvingQueuedCallCanceller"); + delete self; + } + + FilterBasedCallData* calld_; + grpc_closure closure_; +}; + +void ClientChannelFilter::FilterBasedCallData::TryCheckResolution( + bool was_queued) { + auto result = CheckResolution(was_queued); + if (result.has_value()) { + if (!result->ok()) { + PendingBatchesFail(*result, YieldCallCombiner); + return; + } + CreateDynamicCall(); + } +} + +void ClientChannelFilter::FilterBasedCallData::OnAddToQueueLocked() { + // Register call combiner cancellation callback. + resolver_call_canceller_ = new ResolverQueuedCallCanceller(this); +} + +void ClientChannelFilter::FilterBasedCallData::RetryCheckResolutionLocked() { + // Lame the call combiner canceller. + resolver_call_canceller_ = nullptr; + // Do an async callback to resume call processing, so that we're not + // doing it while holding the channel's resolution mutex. + chand()->owning_stack_->EventEngine()->Run([this]() { + ApplicationCallbackExecCtx application_exec_ctx; + ExecCtx exec_ctx; + TryCheckResolution(/*was_queued=*/true); + }); +} + +void ClientChannelFilter::FilterBasedCallData::CreateDynamicCall() { + DynamicFilters::Call::Args args = {dynamic_filters(), pollent_, path_, + call_start_time_, deadline_, arena(), + call_context_, call_combiner()}; + grpc_error_handle error; + DynamicFilters* channel_stack = args.channel_stack.get(); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log( + GPR_INFO, + "chand=%p calld=%p: creating dynamic call stack on channel_stack=%p", + chand(), this, channel_stack); + } + dynamic_call_ = channel_stack->CreateCall(std::move(args), &error); + if (!error.ok()) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p calld=%p: failed to create dynamic call: error=%s", + chand(), this, StatusToString(error).c_str()); + } + PendingBatchesFail(error, YieldCallCombiner); + return; + } + PendingBatchesResume(); +} + +void ClientChannelFilter::FilterBasedCallData:: + RecvTrailingMetadataReadyForConfigSelectorCommitCallback( + void* arg, grpc_error_handle error) { + auto* calld = static_cast(arg); + auto* chand = calld->chand(); + auto* service_config_call_data = + GetServiceConfigCallData(calld->call_context()); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p calld=%p: got recv_trailing_metadata_ready: error=%s " + "service_config_call_data=%p", + chand, calld, StatusToString(error).c_str(), + service_config_call_data); + } + if (service_config_call_data != nullptr) { + service_config_call_data->Commit(); + } + // Chain to original callback. + Closure::Run(DEBUG_LOCATION, calld->original_recv_trailing_metadata_ready_, + error); +} + +// +// ClientChannelFilter::LoadBalancedCall::LbCallState +// + +class ClientChannelFilter::LoadBalancedCall::LbCallState + : public ClientChannelLbCallState { + public: + explicit LbCallState(LoadBalancedCall* lb_call) : lb_call_(lb_call) {} + + void* Alloc(size_t size) override { return lb_call_->arena()->Alloc(size); } + + // Internal API to allow first-party LB policies to access per-call + // attributes set by the ConfigSelector. + ServiceConfigCallData::CallAttributeInterface* GetCallAttribute( + UniqueTypeName type) const override; + + ClientCallTracer::CallAttemptTracer* GetCallAttemptTracer() const override; + + private: + LoadBalancedCall* lb_call_; +}; + +// +// ClientChannelFilter::LoadBalancedCall::Metadata +// + +class ClientChannelFilter::LoadBalancedCall::Metadata + : public LoadBalancingPolicy::MetadataInterface { + public: + explicit Metadata(grpc_metadata_batch* batch) : batch_(batch) {} + + void Add(absl::string_view key, absl::string_view value) override { + if (batch_ == nullptr) return; + // Gross, egregious hack to support legacy grpclb behavior. + // TODO(ctiller): Use a promise context for this once that plumbing is done. + if (key == GrpcLbClientStatsMetadata::key()) { + batch_->Set( + GrpcLbClientStatsMetadata(), + const_cast( + reinterpret_cast(value.data()))); + return; + } + batch_->Append(key, Slice::FromStaticString(value), + [key](absl::string_view error, const Slice& value) { + gpr_log(GPR_ERROR, "%s", + absl::StrCat(error, " key:", key, + " value:", value.as_string_view()) + .c_str()); + }); + } + + std::vector> TestOnlyCopyToVector() + override { + if (batch_ == nullptr) return {}; + Encoder encoder; + batch_->Encode(&encoder); + return encoder.Take(); + } + + absl::optional Lookup(absl::string_view key, + std::string* buffer) const override { + if (batch_ == nullptr) return absl::nullopt; + return batch_->GetStringValue(key, buffer); + } + + private: + class Encoder { + public: + void Encode(const Slice& key, const Slice& value) { + out_.emplace_back(std::string(key.as_string_view()), + std::string(value.as_string_view())); + } + + template + void Encode(Which, const typename Which::ValueType& value) { + auto value_slice = Which::Encode(value); + out_.emplace_back(std::string(Which::key()), + std::string(value_slice.as_string_view())); + } + + void Encode(GrpcTimeoutMetadata, + const typename GrpcTimeoutMetadata::ValueType&) {} + void Encode(HttpPathMetadata, const Slice&) {} + void Encode(HttpMethodMetadata, + const typename HttpMethodMetadata::ValueType&) {} + + std::vector> Take() { + return std::move(out_); + } + + private: + std::vector> out_; + }; + + grpc_metadata_batch* batch_; +}; + +// +// ClientChannelFilter::LoadBalancedCall::LbCallState +// + +ServiceConfigCallData::CallAttributeInterface* +ClientChannelFilter::LoadBalancedCall::LbCallState::GetCallAttribute( + UniqueTypeName type) const { + auto* service_config_call_data = + GetServiceConfigCallData(lb_call_->call_context_); + return service_config_call_data->GetCallAttribute(type); +} + +ClientCallTracer::CallAttemptTracer* +ClientChannelFilter::LoadBalancedCall::LbCallState::GetCallAttemptTracer() + const { + return lb_call_->call_attempt_tracer(); +} + +// +// ClientChannelFilter::LoadBalancedCall::BackendMetricAccessor +// + +class ClientChannelFilter::LoadBalancedCall::BackendMetricAccessor + : public LoadBalancingPolicy::BackendMetricAccessor { + public: + BackendMetricAccessor(LoadBalancedCall* lb_call, + grpc_metadata_batch* recv_trailing_metadata) + : lb_call_(lb_call), recv_trailing_metadata_(recv_trailing_metadata) {} + + const BackendMetricData* GetBackendMetricData() override { + if (lb_call_->backend_metric_data_ == nullptr && + recv_trailing_metadata_ != nullptr) { + if (const auto* md = recv_trailing_metadata_->get_pointer( + EndpointLoadMetricsBinMetadata())) { + BackendMetricAllocator allocator(lb_call_->arena()); + lb_call_->backend_metric_data_ = + ParseBackendMetricData(md->as_string_view(), &allocator); + } + } + return lb_call_->backend_metric_data_; + } + + private: + class BackendMetricAllocator : public BackendMetricAllocatorInterface { + public: + explicit BackendMetricAllocator(Arena* arena) : arena_(arena) {} + + BackendMetricData* AllocateBackendMetricData() override { + return arena_->New(); + } + + char* AllocateString(size_t size) override { + return static_cast(arena_->Alloc(size)); + } + + private: + Arena* arena_; + }; + + LoadBalancedCall* lb_call_; + grpc_metadata_batch* recv_trailing_metadata_; +}; + +// +// ClientChannelFilter::LoadBalancedCall +// + +namespace { + +void CreateCallAttemptTracer(grpc_call_context_element* context, + bool is_transparent_retry) { + auto* call_tracer = static_cast( + context[GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE].value); + if (call_tracer == nullptr) return; + auto* tracer = call_tracer->StartNewAttempt(is_transparent_retry); + context[GRPC_CONTEXT_CALL_TRACER].value = tracer; +} + +} // namespace + +ClientChannelFilter::LoadBalancedCall::LoadBalancedCall( + ClientChannelFilter* chand, grpc_call_context_element* call_context, + absl::AnyInvocable on_commit, bool is_transparent_retry) + : InternallyRefCounted( + GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace) + ? "LoadBalancedCall" + : nullptr), + chand_(chand), + on_commit_(std::move(on_commit)), + call_context_(call_context) { + CreateCallAttemptTracer(call_context, is_transparent_retry); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, "chand=%p lb_call=%p: created", chand_, this); + } +} + +ClientChannelFilter::LoadBalancedCall::~LoadBalancedCall() { + if (backend_metric_data_ != nullptr) { + backend_metric_data_->BackendMetricData::~BackendMetricData(); + } +} + +void ClientChannelFilter::LoadBalancedCall::RecordCallCompletion( + absl::Status status, grpc_metadata_batch* recv_trailing_metadata, + grpc_transport_stream_stats* transport_stream_stats, + absl::string_view peer_address) { + // If we have a tracer, notify it. + if (call_attempt_tracer() != nullptr) { + call_attempt_tracer()->RecordReceivedTrailingMetadata( + status, recv_trailing_metadata, transport_stream_stats); + } + // If the LB policy requested a callback for trailing metadata, invoke + // the callback. + if (lb_subchannel_call_tracker_ != nullptr) { + Metadata trailing_metadata(recv_trailing_metadata); + BackendMetricAccessor backend_metric_accessor(this, recv_trailing_metadata); + LoadBalancingPolicy::SubchannelCallTrackerInterface::FinishArgs args = { + peer_address, status, &trailing_metadata, &backend_metric_accessor}; + lb_subchannel_call_tracker_->Finish(args); + lb_subchannel_call_tracker_.reset(); + } +} + +void ClientChannelFilter::LoadBalancedCall::RecordLatency() { + // Compute latency and report it to the tracer. + if (call_attempt_tracer() != nullptr) { + gpr_timespec latency = + gpr_cycle_counter_sub(gpr_get_cycle_counter(), lb_call_start_time_); + call_attempt_tracer()->RecordEnd(latency); + } +} + +void ClientChannelFilter::LoadBalancedCall:: + RemoveCallFromLbQueuedCallsLocked() { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, "chand=%p lb_call=%p: removing from queued picks list", + chand_, this); + } + // Remove pollset_set linkage. + grpc_polling_entity_del_from_pollset_set(pollent(), + chand_->interested_parties_); + // Note: There's no need to actually remove the call from the queue + // here, beacuse that will be done in either + // LbQueuedCallCanceller::CancelLocked() or + // in ClientChannelFilter::UpdateStateAndPickerLocked(). +} + +void ClientChannelFilter::LoadBalancedCall::AddCallToLbQueuedCallsLocked() { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, "chand=%p lb_call=%p: adding to queued picks list", + chand_, this); + } + // Add call's pollent to channel's interested_parties, so that I/O + // can be done under the call's CQ. + grpc_polling_entity_add_to_pollset_set(pollent(), + chand_->interested_parties_); + // Add to queue. + chand_->lb_queued_calls_.insert(Ref()); + OnAddToQueueLocked(); +} + +absl::optional +ClientChannelFilter::LoadBalancedCall::PickSubchannel(bool was_queued) { + // We may accumulate multiple pickers here, because if a picker says + // to queue the call, we check again to see if the picker has been + // updated before we queue it. + // We need to unref pickers in the WorkSerializer. + std::vector> pickers; + auto cleanup = absl::MakeCleanup([&]() { + if (IsWorkSerializerDispatchEnabled()) return; + chand_->work_serializer_->Run( + [pickers = std::move(pickers)]() mutable { + for (auto& picker : pickers) { + picker.reset(DEBUG_LOCATION, "PickSubchannel"); + } + }, + DEBUG_LOCATION); + }); + absl::AnyInvocable)> + set_picker; + if (!IsWorkSerializerDispatchEnabled()) { + set_picker = + [&](RefCountedPtr picker) { + pickers.emplace_back(std::move(picker)); + }; + } else { + pickers.emplace_back(); + set_picker = + [&](RefCountedPtr picker) { + pickers[0] = std::move(picker); + }; + } + // Grab mutex and take a ref to the picker. + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, "chand=%p lb_call=%p: grabbing LB mutex to get picker", + chand_, this); + } + RefCountedPtr picker; + { + MutexLock lock(&chand_->lb_mu_); + set_picker(chand_->picker_); + } + while (true) { + // Do pick. + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, "chand=%p lb_call=%p: performing pick with picker=%p", + chand_, this, pickers.back().get()); + } + grpc_error_handle error; + bool pick_complete = PickSubchannelImpl(pickers.back().get(), &error); + if (!pick_complete) { + RefCountedPtr old_picker; + MutexLock lock(&chand_->lb_mu_); + // If picker has been swapped out since we grabbed it, try again. + if (pickers.back() != chand_->picker_) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: pick not complete, but picker changed", + chand_, this); + } + if (IsWorkSerializerDispatchEnabled()) { + // Don't unref until after we release the mutex. + old_picker = std::move(pickers.back()); + } + set_picker(chand_->picker_); + continue; + } + // Otherwise queue the pick to try again later when we get a new picker. + AddCallToLbQueuedCallsLocked(); + return absl::nullopt; + } + // Pick is complete. + // If it was queued, add a trace annotation. + if (was_queued && call_attempt_tracer() != nullptr) { + call_attempt_tracer()->RecordAnnotation("Delayed LB pick complete."); + } + // If the pick failed, fail the call. + if (!error.ok()) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: failed to pick subchannel: error=%s", + chand_, this, StatusToString(error).c_str()); + } + return error; + } + // Pick succeeded. + Commit(); + return absl::OkStatus(); + } +} + +bool ClientChannelFilter::LoadBalancedCall::PickSubchannelImpl( + LoadBalancingPolicy::SubchannelPicker* picker, grpc_error_handle* error) { + GPR_ASSERT(connected_subchannel_ == nullptr); + // Perform LB pick. + LoadBalancingPolicy::PickArgs pick_args; + Slice* path = send_initial_metadata()->get_pointer(HttpPathMetadata()); + GPR_ASSERT(path != nullptr); + pick_args.path = path->as_string_view(); + LbCallState lb_call_state(this); + pick_args.call_state = &lb_call_state; + Metadata initial_metadata(send_initial_metadata()); + pick_args.initial_metadata = &initial_metadata; + auto result = picker->Pick(pick_args); + return HandlePickResult( + &result, + // CompletePick + [this](LoadBalancingPolicy::PickResult::Complete* complete_pick) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: LB pick succeeded: subchannel=%p", + chand_, this, complete_pick->subchannel.get()); + } + GPR_ASSERT(complete_pick->subchannel != nullptr); + // Grab a ref to the connected subchannel while we're still + // holding the data plane mutex. + SubchannelWrapper* subchannel = + static_cast(complete_pick->subchannel.get()); + connected_subchannel_ = subchannel->connected_subchannel(); + // If the subchannel has no connected subchannel (e.g., if the + // subchannel has moved out of state READY but the LB policy hasn't + // yet seen that change and given us a new picker), then just + // queue the pick. We'll try again as soon as we get a new picker. + if (connected_subchannel_ == nullptr) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: subchannel returned by LB picker " + "has no connected subchannel; queueing pick", + chand_, this); + } + return false; + } + lb_subchannel_call_tracker_ = + std::move(complete_pick->subchannel_call_tracker); + if (lb_subchannel_call_tracker_ != nullptr) { + lb_subchannel_call_tracker_->Start(); + } + return true; + }, + // QueuePick + [this](LoadBalancingPolicy::PickResult::Queue* /*queue_pick*/) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, "chand=%p lb_call=%p: LB pick queued", chand_, + this); + } + return false; + }, + // FailPick + [this, &error](LoadBalancingPolicy::PickResult::Fail* fail_pick) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, "chand=%p lb_call=%p: LB pick failed: %s", chand_, + this, fail_pick->status.ToString().c_str()); + } + // If wait_for_ready is false, then the error indicates the RPC + // attempt's final status. + if (!send_initial_metadata() + ->GetOrCreatePointer(WaitForReady()) + ->value) { + *error = absl_status_to_grpc_error(MaybeRewriteIllegalStatusCode( + std::move(fail_pick->status), "LB pick")); + return true; + } + // If wait_for_ready is true, then queue to retry when we get a new + // picker. + return false; + }, + // DropPick + [this, &error](LoadBalancingPolicy::PickResult::Drop* drop_pick) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, "chand=%p lb_call=%p: LB pick dropped: %s", chand_, + this, drop_pick->status.ToString().c_str()); + } + *error = grpc_error_set_int( + absl_status_to_grpc_error(MaybeRewriteIllegalStatusCode( + std::move(drop_pick->status), "LB drop")), + StatusIntProperty::kLbPolicyDrop, 1); + return true; + }); +} + +// +// ClientChannelFilter::FilterBasedLoadBalancedCall +// + +ClientChannelFilter::FilterBasedLoadBalancedCall::FilterBasedLoadBalancedCall( + ClientChannelFilter* chand, const grpc_call_element_args& args, + grpc_polling_entity* pollent, grpc_closure* on_call_destruction_complete, + absl::AnyInvocable on_commit, bool is_transparent_retry) + : LoadBalancedCall(chand, args.context, std::move(on_commit), + is_transparent_retry), + deadline_(args.deadline), + arena_(args.arena), + owning_call_(args.call_stack), + call_combiner_(args.call_combiner), + pollent_(pollent), + on_call_destruction_complete_(on_call_destruction_complete) {} + +ClientChannelFilter::FilterBasedLoadBalancedCall:: + ~FilterBasedLoadBalancedCall() { + // Make sure there are no remaining pending batches. + for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { + GPR_ASSERT(pending_batches_[i] == nullptr); + } + if (on_call_destruction_complete_ != nullptr) { + ExecCtx::Run(DEBUG_LOCATION, on_call_destruction_complete_, + absl::OkStatus()); + } +} + +void ClientChannelFilter::FilterBasedLoadBalancedCall::Orphan() { + // If the recv_trailing_metadata op was never started, then notify + // about call completion here, as best we can. We assume status + // CANCELLED in this case. + if (recv_trailing_metadata_ == nullptr) { + RecordCallCompletion(absl::CancelledError("call cancelled"), nullptr, + nullptr, ""); + } + RecordLatency(); + // Delegate to parent. + LoadBalancedCall::Orphan(); +} + +size_t ClientChannelFilter::FilterBasedLoadBalancedCall::GetBatchIndex( + grpc_transport_stream_op_batch* batch) { + // Note: It is important the send_initial_metadata be the first entry + // here, since the code in PickSubchannelImpl() assumes it will be. + if (batch->send_initial_metadata) return 0; + if (batch->send_message) return 1; + if (batch->send_trailing_metadata) return 2; + if (batch->recv_initial_metadata) return 3; + if (batch->recv_message) return 4; + if (batch->recv_trailing_metadata) return 5; + GPR_UNREACHABLE_CODE(return (size_t)-1); +} + +// This is called via the call combiner, so access to calld is synchronized. +void ClientChannelFilter::FilterBasedLoadBalancedCall::PendingBatchesAdd( + grpc_transport_stream_op_batch* batch) { + const size_t idx = GetBatchIndex(batch); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: adding pending batch at index %" PRIuPTR, + chand(), this, idx); + } + GPR_ASSERT(pending_batches_[idx] == nullptr); + pending_batches_[idx] = batch; +} + +// This is called via the call combiner, so access to calld is synchronized. +void ClientChannelFilter::FilterBasedLoadBalancedCall:: + FailPendingBatchInCallCombiner(void* arg, grpc_error_handle error) { + grpc_transport_stream_op_batch* batch = + static_cast(arg); + auto* self = static_cast( + batch->handler_private.extra_arg); + // Note: This will release the call combiner. + grpc_transport_stream_op_batch_finish_with_failure(batch, error, + self->call_combiner_); +} + +// This is called via the call combiner, so access to calld is synchronized. +void ClientChannelFilter::FilterBasedLoadBalancedCall::PendingBatchesFail( + grpc_error_handle error, + YieldCallCombinerPredicate yield_call_combiner_predicate) { + GPR_ASSERT(!error.ok()); + failure_error_ = error; + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + size_t num_batches = 0; + for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { + if (pending_batches_[i] != nullptr) ++num_batches; + } + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: failing %" PRIuPTR " pending batches: %s", + chand(), this, num_batches, StatusToString(error).c_str()); + } + CallCombinerClosureList closures; + for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { + grpc_transport_stream_op_batch*& batch = pending_batches_[i]; + if (batch != nullptr) { + batch->handler_private.extra_arg = this; + GRPC_CLOSURE_INIT(&batch->handler_private.closure, + FailPendingBatchInCallCombiner, batch, + grpc_schedule_on_exec_ctx); + closures.Add(&batch->handler_private.closure, error, + "PendingBatchesFail"); + batch = nullptr; + } + } + if (yield_call_combiner_predicate(closures)) { + closures.RunClosures(call_combiner_); + } else { + closures.RunClosuresWithoutYielding(call_combiner_); + } +} + +// This is called via the call combiner, so access to calld is synchronized. +void ClientChannelFilter::FilterBasedLoadBalancedCall:: + ResumePendingBatchInCallCombiner(void* arg, grpc_error_handle /*ignored*/) { + grpc_transport_stream_op_batch* batch = + static_cast(arg); + SubchannelCall* subchannel_call = + static_cast(batch->handler_private.extra_arg); + // Note: This will release the call combiner. + subchannel_call->StartTransportStreamOpBatch(batch); +} + +// This is called via the call combiner, so access to calld is synchronized. +void ClientChannelFilter::FilterBasedLoadBalancedCall::PendingBatchesResume() { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + size_t num_batches = 0; + for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { + if (pending_batches_[i] != nullptr) ++num_batches; + } + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: starting %" PRIuPTR + " pending batches on subchannel_call=%p", + chand(), this, num_batches, subchannel_call_.get()); + } + CallCombinerClosureList closures; + for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { + grpc_transport_stream_op_batch*& batch = pending_batches_[i]; + if (batch != nullptr) { + batch->handler_private.extra_arg = subchannel_call_.get(); + GRPC_CLOSURE_INIT(&batch->handler_private.closure, + ResumePendingBatchInCallCombiner, batch, + grpc_schedule_on_exec_ctx); + closures.Add(&batch->handler_private.closure, absl::OkStatus(), + "resuming pending batch from LB call"); + batch = nullptr; + } + } + // Note: This will release the call combiner. + closures.RunClosures(call_combiner_); +} + +void ClientChannelFilter::FilterBasedLoadBalancedCall:: + StartTransportStreamOpBatch(grpc_transport_stream_op_batch* batch) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace) || + GRPC_TRACE_FLAG_ENABLED(grpc_trace_channel)) { + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: batch started from above: %s, " + "call_attempt_tracer()=%p", + chand(), this, + grpc_transport_stream_op_batch_string(batch, false).c_str(), + call_attempt_tracer()); + } + // Handle call tracing. + if (call_attempt_tracer() != nullptr) { + // Record send ops in tracer. + if (batch->cancel_stream) { + call_attempt_tracer()->RecordCancel( + batch->payload->cancel_stream.cancel_error); + } + if (batch->send_initial_metadata) { + call_attempt_tracer()->RecordSendInitialMetadata( + batch->payload->send_initial_metadata.send_initial_metadata); + } + if (batch->send_trailing_metadata) { + call_attempt_tracer()->RecordSendTrailingMetadata( + batch->payload->send_trailing_metadata.send_trailing_metadata); + } + // Intercept recv ops. + if (batch->recv_initial_metadata) { + recv_initial_metadata_ = + batch->payload->recv_initial_metadata.recv_initial_metadata; + original_recv_initial_metadata_ready_ = + batch->payload->recv_initial_metadata.recv_initial_metadata_ready; + GRPC_CLOSURE_INIT(&recv_initial_metadata_ready_, RecvInitialMetadataReady, + this, nullptr); + batch->payload->recv_initial_metadata.recv_initial_metadata_ready = + &recv_initial_metadata_ready_; + } + } + // Intercept recv_trailing_metadata even if there is no call tracer, + // since we may need to notify the LB policy about trailing metadata. + if (batch->recv_trailing_metadata) { + recv_trailing_metadata_ = + batch->payload->recv_trailing_metadata.recv_trailing_metadata; + transport_stream_stats_ = + batch->payload->recv_trailing_metadata.collect_stats; + original_recv_trailing_metadata_ready_ = + batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready; + GRPC_CLOSURE_INIT(&recv_trailing_metadata_ready_, RecvTrailingMetadataReady, + this, nullptr); + batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready = + &recv_trailing_metadata_ready_; + } + // If we've already gotten a subchannel call, pass the batch down to it. + // Note that once we have picked a subchannel, we do not need to acquire + // the channel's data plane mutex, which is more efficient (especially for + // streaming calls). + if (subchannel_call_ != nullptr) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: starting batch on subchannel_call=%p", + chand(), this, subchannel_call_.get()); + } + subchannel_call_->StartTransportStreamOpBatch(batch); + return; + } + // We do not yet have a subchannel call. + // + // If we've previously been cancelled, immediately fail any new batches. + if (GPR_UNLIKELY(!cancel_error_.ok())) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, "chand=%p lb_call=%p: failing batch with error: %s", + chand(), this, StatusToString(cancel_error_).c_str()); + } + // Note: This will release the call combiner. + grpc_transport_stream_op_batch_finish_with_failure(batch, cancel_error_, + call_combiner_); + return; + } + // Handle cancellation. + if (GPR_UNLIKELY(batch->cancel_stream)) { + // Stash a copy of cancel_error in our call data, so that we can use + // it for subsequent operations. This ensures that if the call is + // cancelled before any batches are passed down (e.g., if the deadline + // is in the past when the call starts), we can return the right + // error to the caller when the first batch does get passed down. + cancel_error_ = batch->payload->cancel_stream.cancel_error; + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, "chand=%p lb_call=%p: recording cancel_error=%s", + chand(), this, StatusToString(cancel_error_).c_str()); + } + // Fail all pending batches. + PendingBatchesFail(cancel_error_, NoYieldCallCombiner); + // Note: This will release the call combiner. + grpc_transport_stream_op_batch_finish_with_failure(batch, cancel_error_, + call_combiner_); + return; + } + // Add the batch to the pending list. + PendingBatchesAdd(batch); + // For batches containing a send_initial_metadata op, acquire the + // channel's LB mutex to pick a subchannel. + if (GPR_LIKELY(batch->send_initial_metadata)) { + TryPick(/*was_queued=*/false); + } else { + // For all other batches, release the call combiner. + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: saved batch, yielding call combiner", + chand(), this); + } + GRPC_CALL_COMBINER_STOP(call_combiner_, + "batch does not include send_initial_metadata"); + } +} + +void ClientChannelFilter::FilterBasedLoadBalancedCall::RecvInitialMetadataReady( + void* arg, grpc_error_handle error) { + auto* self = static_cast(arg); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: got recv_initial_metadata_ready: error=%s", + self->chand(), self, StatusToString(error).c_str()); + } + if (error.ok()) { + // recv_initial_metadata_flags is not populated for clients + self->call_attempt_tracer()->RecordReceivedInitialMetadata( + self->recv_initial_metadata_); + auto* peer_string = self->recv_initial_metadata_->get_pointer(PeerString()); + if (peer_string != nullptr) self->peer_string_ = peer_string->Ref(); + } + Closure::Run(DEBUG_LOCATION, self->original_recv_initial_metadata_ready_, + error); +} + +void ClientChannelFilter::FilterBasedLoadBalancedCall:: + RecvTrailingMetadataReady(void* arg, grpc_error_handle error) { + auto* self = static_cast(arg); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: got recv_trailing_metadata_ready: error=%s " + "call_attempt_tracer()=%p lb_subchannel_call_tracker_=%p " + "failure_error_=%s", + self->chand(), self, StatusToString(error).c_str(), + self->call_attempt_tracer(), self->lb_subchannel_call_tracker(), + StatusToString(self->failure_error_).c_str()); + } + // Check if we have a tracer or an LB callback to invoke. + if (self->call_attempt_tracer() != nullptr || + self->lb_subchannel_call_tracker() != nullptr) { + // Get the call's status. + absl::Status status; + if (!error.ok()) { + // Get status from error. + grpc_status_code code; + std::string message; + grpc_error_get_status(error, self->deadline_, &code, &message, + /*http_error=*/nullptr, /*error_string=*/nullptr); + status = absl::Status(static_cast(code), message); + } else { + // Get status from headers. + const auto& md = *self->recv_trailing_metadata_; + grpc_status_code code = + md.get(GrpcStatusMetadata()).value_or(GRPC_STATUS_UNKNOWN); + if (code != GRPC_STATUS_OK) { + absl::string_view message; + if (const auto* grpc_message = md.get_pointer(GrpcMessageMetadata())) { + message = grpc_message->as_string_view(); + } + status = absl::Status(static_cast(code), message); + } + } + absl::string_view peer_string; + if (self->peer_string_.has_value()) { + peer_string = self->peer_string_->as_string_view(); + } + self->RecordCallCompletion(status, self->recv_trailing_metadata_, + self->transport_stream_stats_, peer_string); + } + // Chain to original callback. + if (!self->failure_error_.ok()) { + error = self->failure_error_; + self->failure_error_ = absl::OkStatus(); + } + Closure::Run(DEBUG_LOCATION, self->original_recv_trailing_metadata_ready_, + error); +} + +// A class to handle the call combiner cancellation callback for a +// queued pick. +// TODO(roth): When we implement hedging support, we won't be able to +// register a call combiner cancellation closure for each LB pick, +// because there may be multiple LB picks happening in parallel. +// Instead, we will probably need to maintain a list in the CallData +// object of pending LB picks to be cancelled when the closure runs. +class ClientChannelFilter::FilterBasedLoadBalancedCall::LbQueuedCallCanceller { + public: + explicit LbQueuedCallCanceller( + RefCountedPtr lb_call) + : lb_call_(std::move(lb_call)) { + GRPC_CALL_STACK_REF(lb_call_->owning_call_, "LbQueuedCallCanceller"); + GRPC_CLOSURE_INIT(&closure_, &CancelLocked, this, nullptr); + lb_call_->call_combiner_->SetNotifyOnCancel(&closure_); + } + + private: + static void CancelLocked(void* arg, grpc_error_handle error) { + auto* self = static_cast(arg); + auto* lb_call = self->lb_call_.get(); + auto* chand = lb_call->chand(); + { + MutexLock lock(&chand->lb_mu_); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: cancelling queued pick: " + "error=%s self=%p calld->pick_canceller=%p", + chand, lb_call, StatusToString(error).c_str(), self, + lb_call->lb_call_canceller_); + } + if (lb_call->lb_call_canceller_ == self && !error.ok()) { + lb_call->Commit(); + // Remove pick from list of queued picks. + lb_call->RemoveCallFromLbQueuedCallsLocked(); + // Remove from queued picks list. + chand->lb_queued_calls_.erase(self->lb_call_); + // Fail pending batches on the call. + lb_call->PendingBatchesFail(error, + YieldCallCombinerIfPendingBatchesFound); + } + } + // Unref lb_call before unreffing the call stack, since unreffing + // the call stack may destroy the arena in which lb_call is allocated. + auto* owning_call = lb_call->owning_call_; + self->lb_call_.reset(); + GRPC_CALL_STACK_UNREF(owning_call, "LbQueuedCallCanceller"); + delete self; + } + + RefCountedPtr lb_call_; + grpc_closure closure_; +}; + +void ClientChannelFilter::FilterBasedLoadBalancedCall::TryPick( + bool was_queued) { + auto result = PickSubchannel(was_queued); + if (result.has_value()) { + if (!result->ok()) { + PendingBatchesFail(*result, YieldCallCombiner); + return; + } + CreateSubchannelCall(); + } +} + +void ClientChannelFilter::FilterBasedLoadBalancedCall::OnAddToQueueLocked() { + // Register call combiner cancellation callback. + lb_call_canceller_ = + new LbQueuedCallCanceller(RefAsSubclass()); +} + +void ClientChannelFilter::FilterBasedLoadBalancedCall::RetryPickLocked() { + // Lame the call combiner canceller. + lb_call_canceller_ = nullptr; + // Do an async callback to resume call processing, so that we're not + // doing it while holding the channel's LB mutex. + // TODO(roth): We should really be using EventEngine::Run() here + // instead of ExecCtx::Run(). Unfortunately, doing that seems to cause + // a flaky TSAN failure for reasons that I do not fully understand. + // However, given that we are working toward eliminating this code as + // part of the promise conversion, it doesn't seem worth further + // investigation right now. + ExecCtx::Run(DEBUG_LOCATION, NewClosure([this](grpc_error_handle) { + // If there are a lot of queued calls here, resuming them + // all may cause us to stay inside C-core for a long period + // of time. All of that work would be done using the same + // ExecCtx instance and therefore the same cached value of + // "now". The longer it takes to finish all of this work + // and exit from C-core, the more stale the cached value of + // "now" may become. This can cause problems whereby (e.g.) + // we calculate a timer deadline based on the stale value, + // which results in the timer firing too early. To avoid + // this, we invalidate the cached value for each call we + // process. + ExecCtx::Get()->InvalidateNow(); + TryPick(/*was_queued=*/true); + }), + absl::OkStatus()); +} + +void ClientChannelFilter::FilterBasedLoadBalancedCall::CreateSubchannelCall() { + Slice* path = send_initial_metadata()->get_pointer(HttpPathMetadata()); + GPR_ASSERT(path != nullptr); + SubchannelCall::Args call_args = { + connected_subchannel()->Ref(), pollent_, path->Ref(), /*start_time=*/0, + deadline_, arena_, + // TODO(roth): When we implement hedging support, we will probably + // need to use a separate call context for each subchannel call. + call_context(), call_combiner_}; + grpc_error_handle error; + subchannel_call_ = SubchannelCall::Create(std::move(call_args), &error); + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: create subchannel_call=%p: error=%s", chand(), + this, subchannel_call_.get(), StatusToString(error).c_str()); + } + if (on_call_destruction_complete_ != nullptr) { + subchannel_call_->SetAfterCallStackDestroy(on_call_destruction_complete_); + on_call_destruction_complete_ = nullptr; + } + if (GPR_UNLIKELY(!error.ok())) { + PendingBatchesFail(error, YieldCallCombiner); + } else { + PendingBatchesResume(); + } +} + +// +// ClientChannelFilter::PromiseBasedLoadBalancedCall +// + +ClientChannelFilter::PromiseBasedLoadBalancedCall::PromiseBasedLoadBalancedCall( + ClientChannelFilter* chand, absl::AnyInvocable on_commit, + bool is_transparent_retry) + : LoadBalancedCall(chand, GetContext(), + std::move(on_commit), is_transparent_retry) {} + +ArenaPromise +ClientChannelFilter::PromiseBasedLoadBalancedCall::MakeCallPromise( + CallArgs call_args, OrphanablePtr lb_call) { + pollent_ = NowOrNever(call_args.polling_entity->WaitAndCopy()).value(); + // Record ops in tracer. + if (call_attempt_tracer() != nullptr) { + call_attempt_tracer()->RecordSendInitialMetadata( + call_args.client_initial_metadata.get()); + // TODO(ctiller): Find a way to do this without registering a no-op mapper. + call_args.client_to_server_messages->InterceptAndMapWithHalfClose( + [](MessageHandle message) { return message; }, // No-op. + [this]() { + // TODO(roth): Change CallTracer API to not pass metadata + // batch to this method, since the batch is always empty. + grpc_metadata_batch metadata(GetContext()); + call_attempt_tracer()->RecordSendTrailingMetadata(&metadata); + }); + } + // Extract peer name from server initial metadata. + call_args.server_initial_metadata->InterceptAndMap( + [self = lb_call->RefAsSubclass()]( + ServerMetadataHandle metadata) { + if (self->call_attempt_tracer() != nullptr) { + self->call_attempt_tracer()->RecordReceivedInitialMetadata( + metadata.get()); + } + Slice* peer_string = metadata->get_pointer(PeerString()); + if (peer_string != nullptr) self->peer_string_ = peer_string->Ref(); + return metadata; + }); + client_initial_metadata_ = std::move(call_args.client_initial_metadata); + return OnCancel( + Map(TrySeq( + // LB pick. + [this]() -> Poll { + auto result = PickSubchannel(was_queued_); + if (GRPC_TRACE_FLAG_ENABLED( + grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, + "chand=%p lb_call=%p: %sPickSubchannel() returns %s", + chand(), this, + GetContext()->DebugTag().c_str(), + result.has_value() ? result->ToString().c_str() + : "Pending"); + } + if (result == absl::nullopt) return Pending{}; + return std::move(*result); + }, + [this, call_args = std::move(call_args)]() mutable + -> ArenaPromise { + call_args.client_initial_metadata = + std::move(client_initial_metadata_); + return connected_subchannel()->MakeCallPromise( + std::move(call_args)); + }), + // Record call completion. + [this](ServerMetadataHandle metadata) { + if (call_attempt_tracer() != nullptr || + lb_subchannel_call_tracker() != nullptr) { + absl::Status status; + grpc_status_code code = metadata->get(GrpcStatusMetadata()) + .value_or(GRPC_STATUS_UNKNOWN); + if (code != GRPC_STATUS_OK) { + absl::string_view message; + if (const auto* grpc_message = + metadata->get_pointer(GrpcMessageMetadata())) { + message = grpc_message->as_string_view(); + } + status = + absl::Status(static_cast(code), message); + } + RecordCallCompletion(status, metadata.get(), + &GetContext() + ->call_stats() + ->transport_stream_stats, + peer_string_.as_string_view()); + } + RecordLatency(); + return metadata; + }), + [lb_call = std::move(lb_call)]() { + // If the waker is pending, then we need to remove ourself from + // the list of queued LB calls. + if (!lb_call->waker_.is_unwakeable()) { + MutexLock lock(&lb_call->chand()->lb_mu_); + lb_call->Commit(); + // Remove pick from list of queued picks. + lb_call->RemoveCallFromLbQueuedCallsLocked(); + // Remove from queued picks list. + lb_call->chand()->lb_queued_calls_.erase(lb_call.get()); + } + // TODO(ctiller): We don't have access to the call's actual status + // here, so we just assume CANCELLED. We could change this to use + // CallFinalization instead of OnCancel() so that we can get the + // actual status. But we should also have access to the trailing + // metadata, which we don't have in either case. Ultimately, we + // need a better story for code that needs to run at the end of a + // call in both cancellation and non-cancellation cases that needs + // access to server trailing metadata and the call's real status. + if (lb_call->call_attempt_tracer() != nullptr) { + lb_call->call_attempt_tracer()->RecordCancel( + absl::CancelledError("call cancelled")); + } + if (lb_call->call_attempt_tracer() != nullptr || + lb_call->lb_subchannel_call_tracker() != nullptr) { + // If we were cancelled without recording call completion, then + // record call completion here, as best we can. We assume status + // CANCELLED in this case. + lb_call->RecordCallCompletion(absl::CancelledError("call cancelled"), + nullptr, nullptr, ""); + } + }); +} + +Arena* ClientChannelFilter::PromiseBasedLoadBalancedCall::arena() const { + return GetContext(); +} + +grpc_metadata_batch* +ClientChannelFilter::PromiseBasedLoadBalancedCall::send_initial_metadata() + const { + return client_initial_metadata_.get(); +} + +void ClientChannelFilter::PromiseBasedLoadBalancedCall::OnAddToQueueLocked() { + waker_ = GetContext()->MakeNonOwningWaker(); + was_queued_ = true; +} + +void ClientChannelFilter::PromiseBasedLoadBalancedCall::RetryPickLocked() { + if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { + gpr_log(GPR_INFO, "chand=%p lb_call=%p: RetryPickLocked()", chand(), this); + } + waker_.WakeupAsync(); +} + +} // namespace grpc_core diff --git a/src/core/client_channel/client_channel_filter.h b/src/core/client_channel/client_channel_filter.h new file mode 100644 index 00000000000..c904c8f23e2 --- /dev/null +++ b/src/core/client_channel/client_channel_filter.h @@ -0,0 +1,631 @@ +// +// Copyright 2015 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_FILTER_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_FILTER_H + +#include + +#include + +#include +#include +#include +#include +#include + +#include "absl/base/thread_annotations.h" +#include "absl/container/flat_hash_set.h" +#include "absl/functional/any_invocable.h" +#include "absl/status/status.h" +#include "absl/strings/string_view.h" +#include "absl/types/optional.h" + +#include +#include + +#include "src/core/client_channel/client_channel_factory.h" +#include "src/core/client_channel/config_selector.h" +#include "src/core/client_channel/dynamic_filters.h" +#include "src/core/client_channel/subchannel.h" +#include "src/core/client_channel/subchannel_pool_interface.h" +#include "src/core/lib/channel/call_tracer.h" +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/channel/channel_fwd.h" +#include "src/core/lib/channel/channel_stack.h" +#include "src/core/lib/channel/channelz.h" +#include "src/core/lib/channel/context.h" +#include "src/core/lib/gpr/time_precise.h" +#include "src/core/lib/gprpp/orphanable.h" +#include "src/core/lib/gprpp/ref_counted.h" +#include "src/core/lib/gprpp/ref_counted_ptr.h" +#include "src/core/lib/gprpp/sync.h" +#include "src/core/lib/gprpp/time.h" +#include "src/core/lib/gprpp/work_serializer.h" +#include "src/core/lib/iomgr/call_combiner.h" +#include "src/core/lib/iomgr/closure.h" +#include "src/core/lib/iomgr/error.h" +#include "src/core/lib/iomgr/iomgr_fwd.h" +#include "src/core/lib/iomgr/polling_entity.h" +#include "src/core/lib/promise/activity.h" +#include "src/core/lib/promise/arena_promise.h" +#include "src/core/lib/resource_quota/arena.h" +#include "src/core/service_config/service_config.h" +#include "src/core/lib/slice/slice.h" +#include "src/core/lib/surface/channel.h" +#include "src/core/lib/transport/connectivity_state.h" +#include "src/core/lib/transport/metadata_batch.h" +#include "src/core/lib/transport/transport.h" +#include "src/core/load_balancing/backend_metric_data.h" +#include "src/core/load_balancing/lb_policy.h" +#include "src/core/resolver/resolver.h" + +// +// Client channel filter +// + +// A client channel is a channel that begins disconnected, and can connect +// to some endpoint on demand. If that endpoint disconnects, it will be +// connected to again later. +// +// Calls on a disconnected client channel are queued until a connection is +// established. + +// Channel arg key for server URI string. +#define GRPC_ARG_SERVER_URI "grpc.server_uri" + +// Channel arg containing a pointer to the ClientChannelFilter object. +#define GRPC_ARG_CLIENT_CHANNEL "grpc.internal.client_channel_filter" + +// Max number of batches that can be pending on a call at any given +// time. This includes one batch for each of the following ops: +// recv_initial_metadata +// send_initial_metadata +// recv_message +// send_message +// recv_trailing_metadata +// send_trailing_metadata +#define MAX_PENDING_BATCHES 6 + +namespace grpc_core { + +class ClientChannelFilter { + public: + static const grpc_channel_filter kFilterVtableWithPromises; + static const grpc_channel_filter kFilterVtableWithoutPromises; + + class LoadBalancedCall; + class FilterBasedLoadBalancedCall; + class PromiseBasedLoadBalancedCall; + + // Flag that this object gets stored in channel args as a raw pointer. + struct RawPointerChannelArgTag {}; + static absl::string_view ChannelArgName() { return GRPC_ARG_CLIENT_CHANNEL; } + + // Returns the ClientChannelFilter object from channel, or null if channel + // is not a client channel. + static ClientChannelFilter* GetFromChannel(Channel* channel); + + static ArenaPromise MakeCallPromise( + grpc_channel_element* elem, CallArgs call_args, + NextPromiseFactory next_promise_factory); + + grpc_connectivity_state CheckConnectivityState(bool try_to_connect); + + // Starts a one-time connectivity state watch. When the channel's state + // becomes different from *state, sets *state to the new state and + // schedules on_complete. The watcher_timer_init callback is invoked as + // soon as the watch is actually started (i.e., after hopping into the + // client channel combiner). I/O will be serviced via pollent. + // + // This is intended to be used when starting a watch from outside of C-core + // via grpc_channel_watch_connectivity_state(). It should not be used + // by other callers. + void AddExternalConnectivityWatcher(grpc_polling_entity pollent, + grpc_connectivity_state* state, + grpc_closure* on_complete, + grpc_closure* watcher_timer_init) { + new ExternalConnectivityWatcher(this, pollent, state, on_complete, + watcher_timer_init); + } + + // Cancels a pending external watcher previously added by + // AddExternalConnectivityWatcher(). + void CancelExternalConnectivityWatcher(grpc_closure* on_complete) { + ExternalConnectivityWatcher::RemoveWatcherFromExternalWatchersMap( + this, on_complete, /*cancel=*/true); + } + + // Starts and stops a connectivity watch. The watcher will be initially + // notified as soon as the state changes from initial_state and then on + // every subsequent state change until either the watch is stopped or + // it is notified that the state has changed to SHUTDOWN. + // + // This is intended to be used when starting watches from code inside of + // C-core (e.g., for a nested control plane channel for things like xds). + void AddConnectivityWatcher( + grpc_connectivity_state initial_state, + OrphanablePtr watcher); + void RemoveConnectivityWatcher( + AsyncConnectivityStateWatcherInterface* watcher); + + OrphanablePtr CreateLoadBalancedCall( + const grpc_call_element_args& args, grpc_polling_entity* pollent, + grpc_closure* on_call_destruction_complete, + absl::AnyInvocable on_commit, bool is_transparent_retry); + + ArenaPromise CreateLoadBalancedCallPromise( + CallArgs call_args, absl::AnyInvocable on_commit, + bool is_transparent_retry); + + // Exposed for testing only. + static ChannelArgs MakeSubchannelArgs( + const ChannelArgs& channel_args, const ChannelArgs& address_args, + const RefCountedPtr& subchannel_pool, + const std::string& channel_default_authority); + + private: + class CallData; + class FilterBasedCallData; + class PromiseBasedCallData; + class ResolverResultHandler; + class SubchannelWrapper; + class ClientChannelControlHelper; + class ConnectivityWatcherAdder; + class ConnectivityWatcherRemover; + + // Represents a pending connectivity callback from an external caller + // via grpc_client_channel_watch_connectivity_state(). + class ExternalConnectivityWatcher : public ConnectivityStateWatcherInterface { + public: + ExternalConnectivityWatcher(ClientChannelFilter* chand, + grpc_polling_entity pollent, + grpc_connectivity_state* state, + grpc_closure* on_complete, + grpc_closure* watcher_timer_init); + + ~ExternalConnectivityWatcher() override; + + // Removes the watcher from the external_watchers_ map. + static void RemoveWatcherFromExternalWatchersMap(ClientChannelFilter* chand, + grpc_closure* on_complete, + bool cancel); + + void Notify(grpc_connectivity_state state, + const absl::Status& /* status */) override; + + void Cancel(); + + private: + // Adds the watcher to state_tracker_. Consumes the ref that is passed to it + // from Start(). + void AddWatcherLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_); + void RemoveWatcherLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_); + + ClientChannelFilter* chand_; + grpc_polling_entity pollent_; + grpc_connectivity_state initial_state_; + grpc_connectivity_state* state_; + grpc_closure* on_complete_; + grpc_closure* watcher_timer_init_; + std::atomic done_{false}; + }; + + ClientChannelFilter(grpc_channel_element_args* args, + grpc_error_handle* error); + ~ClientChannelFilter(); + + // Filter vtable functions. + static grpc_error_handle Init(grpc_channel_element* elem, + grpc_channel_element_args* args); + static void Destroy(grpc_channel_element* elem); + static void StartTransportOp(grpc_channel_element* elem, + grpc_transport_op* op); + static void GetChannelInfo(grpc_channel_element* elem, + const grpc_channel_info* info); + + // Note: All methods with "Locked" suffix must be invoked from within + // work_serializer_. + + void ReprocessQueuedResolverCalls() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&resolution_mu_); + + void OnResolverResultChangedLocked(Resolver::Result result) + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); + void OnResolverErrorLocked(absl::Status status) + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); + + absl::Status CreateOrUpdateLbPolicyLocked( + RefCountedPtr lb_policy_config, + const absl::optional& health_check_service_name, + Resolver::Result result) ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); + OrphanablePtr CreateLbPolicyLocked( + const ChannelArgs& args) ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); + + void UpdateStateLocked(grpc_connectivity_state state, + const absl::Status& status, const char* reason) + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); + + void UpdateStateAndPickerLocked( + grpc_connectivity_state state, const absl::Status& status, + const char* reason, + RefCountedPtr picker) + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); + + void UpdateServiceConfigInControlPlaneLocked( + RefCountedPtr service_config, + RefCountedPtr config_selector, std::string lb_policy_name) + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); + + void UpdateServiceConfigInDataPlaneLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); + + void CreateResolverLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); + void DestroyResolverAndLbPolicyLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); + + grpc_error_handle DoPingLocked(grpc_transport_op* op) + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); + + void StartTransportOpLocked(grpc_transport_op* op) + ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); + + void TryToConnectLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); + + // + // Fields set at construction and never modified. + // + ChannelArgs channel_args_; + const bool deadline_checking_enabled_; + grpc_channel_stack* owning_stack_; + ClientChannelFactory* client_channel_factory_; + RefCountedPtr default_service_config_; + std::string uri_to_resolve_; + std::string default_authority_; + channelz::ChannelNode* channelz_node_; + grpc_pollset_set* interested_parties_; + const size_t service_config_parser_index_; + + // + // Fields related to name resolution. Guarded by resolution_mu_. + // + mutable Mutex resolution_mu_; + // List of calls queued waiting for resolver result. + absl::flat_hash_set resolver_queued_calls_ + ABSL_GUARDED_BY(resolution_mu_); + // Data from service config. + absl::Status resolver_transient_failure_error_ + ABSL_GUARDED_BY(resolution_mu_); + bool received_service_config_data_ ABSL_GUARDED_BY(resolution_mu_) = false; + RefCountedPtr service_config_ ABSL_GUARDED_BY(resolution_mu_); + RefCountedPtr config_selector_ + ABSL_GUARDED_BY(resolution_mu_); + RefCountedPtr dynamic_filters_ + ABSL_GUARDED_BY(resolution_mu_); + + // + // Fields related to LB picks. Guarded by lb_mu_. + // + mutable Mutex lb_mu_; + RefCountedPtr picker_ + ABSL_GUARDED_BY(lb_mu_); + absl::flat_hash_set, + RefCountedPtrHash, + RefCountedPtrEq> + lb_queued_calls_ ABSL_GUARDED_BY(lb_mu_); + + // + // Fields used in the control plane. Guarded by work_serializer. + // + std::shared_ptr work_serializer_; + ConnectivityStateTracker state_tracker_ ABSL_GUARDED_BY(*work_serializer_); + OrphanablePtr resolver_ ABSL_GUARDED_BY(*work_serializer_); + bool previous_resolution_contained_addresses_ + ABSL_GUARDED_BY(*work_serializer_) = false; + RefCountedPtr saved_service_config_ + ABSL_GUARDED_BY(*work_serializer_); + RefCountedPtr saved_config_selector_ + ABSL_GUARDED_BY(*work_serializer_); + OrphanablePtr lb_policy_ + ABSL_GUARDED_BY(*work_serializer_); + RefCountedPtr subchannel_pool_ + ABSL_GUARDED_BY(*work_serializer_); + // The number of SubchannelWrapper instances referencing a given Subchannel. + std::map subchannel_refcount_map_ + ABSL_GUARDED_BY(*work_serializer_); + // The set of SubchannelWrappers that currently exist. + // No need to hold a ref, since the map is updated in the control-plane + // work_serializer when the SubchannelWrappers are created and destroyed. + absl::flat_hash_set subchannel_wrappers_ + ABSL_GUARDED_BY(*work_serializer_); + int keepalive_time_ ABSL_GUARDED_BY(*work_serializer_) = -1; + grpc_error_handle disconnect_error_ ABSL_GUARDED_BY(*work_serializer_); + + // + // Fields guarded by a mutex, since they need to be accessed + // synchronously via get_channel_info(). + // + Mutex info_mu_; + std::string info_lb_policy_name_ ABSL_GUARDED_BY(info_mu_); + std::string info_service_config_json_ ABSL_GUARDED_BY(info_mu_); + + // + // Fields guarded by a mutex, since they need to be accessed + // synchronously via grpc_channel_num_external_connectivity_watchers(). + // + mutable Mutex external_watchers_mu_; + std::map> + external_watchers_ ABSL_GUARDED_BY(external_watchers_mu_); +}; + +// +// ClientChannelFilter::LoadBalancedCall +// + +// TODO(roth): As part of simplifying cancellation in the filter stack, +// this should no longer need to be ref-counted. +class ClientChannelFilter::LoadBalancedCall + : public InternallyRefCounted { + public: + LoadBalancedCall(ClientChannelFilter* chand, + grpc_call_context_element* call_context, + absl::AnyInvocable on_commit, + bool is_transparent_retry); + ~LoadBalancedCall() override; + + void Orphan() override { Unref(); } + + // Called by channel when removing a call from the list of queued calls. + void RemoveCallFromLbQueuedCallsLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::lb_mu_); + + // Called by the channel for each queued call when a new picker + // becomes available. + virtual void RetryPickLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::lb_mu_) = 0; + + protected: + ClientChannelFilter* chand() const { return chand_; } + ClientCallTracer::CallAttemptTracer* call_attempt_tracer() const { + return static_cast( + call_context_[GRPC_CONTEXT_CALL_TRACER].value); + } + ConnectedSubchannel* connected_subchannel() const { + return connected_subchannel_.get(); + } + LoadBalancingPolicy::SubchannelCallTrackerInterface* + lb_subchannel_call_tracker() const { + return lb_subchannel_call_tracker_.get(); + } + + void Commit() { + auto on_commit = std::move(on_commit_); + on_commit(); + } + + // Attempts an LB pick. The following outcomes are possible: + // - No pick result is available yet. The call will be queued and + // nullopt will be returned. The channel will later call + // RetryPickLocked() when a new picker is available and the pick + // should be retried. + // - The pick failed. If the call is not wait_for_ready, a non-OK + // status will be returned. (If the call *is* wait_for_ready, + // it will be queued instead.) + // - The pick completed successfully. A connected subchannel is + // stored and an OK status will be returned. + absl::optional PickSubchannel(bool was_queued); + + void RecordCallCompletion(absl::Status status, + grpc_metadata_batch* recv_trailing_metadata, + grpc_transport_stream_stats* transport_stream_stats, + absl::string_view peer_address); + + void RecordLatency(); + + grpc_call_context_element* call_context() const { return call_context_; } + + private: + class LbCallState; + class Metadata; + class BackendMetricAccessor; + + virtual Arena* arena() const = 0; + virtual grpc_polling_entity* pollent() = 0; + virtual grpc_metadata_batch* send_initial_metadata() const = 0; + + // Helper function for performing an LB pick with a specified picker. + // Returns true if the pick is complete. + bool PickSubchannelImpl(LoadBalancingPolicy::SubchannelPicker* picker, + grpc_error_handle* error); + // Adds the call to the channel's list of queued picks if not already present. + void AddCallToLbQueuedCallsLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::lb_mu_); + + // Called when adding the call to the LB queue. + virtual void OnAddToQueueLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::lb_mu_) = 0; + + ClientChannelFilter* chand_; + + absl::AnyInvocable on_commit_; + + gpr_cycle_counter lb_call_start_time_ = gpr_get_cycle_counter(); + + RefCountedPtr connected_subchannel_; + const BackendMetricData* backend_metric_data_ = nullptr; + std::unique_ptr + lb_subchannel_call_tracker_; + grpc_call_context_element* const call_context_; +}; + +class ClientChannelFilter::FilterBasedLoadBalancedCall + : public ClientChannelFilter::LoadBalancedCall { + public: + // If on_call_destruction_complete is non-null, then it will be + // invoked once the LoadBalancedCall is completely destroyed. + // If it is null, then the caller is responsible for checking whether + // the LB call has a subchannel call and ensuring that the + // on_call_destruction_complete closure passed down from the surface + // is not invoked until after the subchannel call stack is destroyed. + FilterBasedLoadBalancedCall(ClientChannelFilter* chand, + const grpc_call_element_args& args, + grpc_polling_entity* pollent, + grpc_closure* on_call_destruction_complete, + absl::AnyInvocable on_commit, + bool is_transparent_retry); + ~FilterBasedLoadBalancedCall() override; + + void Orphan() override; + + void StartTransportStreamOpBatch(grpc_transport_stream_op_batch* batch); + + RefCountedPtr subchannel_call() const { + return subchannel_call_; + } + + private: + class LbQueuedCallCanceller; + + // Work-around for Windows compilers that don't allow nested classes + // to access protected members of the enclosing class's parent class. + using LoadBalancedCall::chand; + using LoadBalancedCall::Commit; + + Arena* arena() const override { return arena_; } + grpc_polling_entity* pollent() override { return pollent_; } + grpc_metadata_batch* send_initial_metadata() const override { + return pending_batches_[0] + ->payload->send_initial_metadata.send_initial_metadata; + } + + // Returns the index into pending_batches_ to be used for batch. + static size_t GetBatchIndex(grpc_transport_stream_op_batch* batch); + void PendingBatchesAdd(grpc_transport_stream_op_batch* batch); + static void FailPendingBatchInCallCombiner(void* arg, + grpc_error_handle error); + // A predicate type and some useful implementations for PendingBatchesFail(). + typedef bool (*YieldCallCombinerPredicate)( + const CallCombinerClosureList& closures); + static bool YieldCallCombiner(const CallCombinerClosureList& /*closures*/) { + return true; + } + static bool NoYieldCallCombiner(const CallCombinerClosureList& /*closures*/) { + return false; + } + static bool YieldCallCombinerIfPendingBatchesFound( + const CallCombinerClosureList& closures) { + return closures.size() > 0; + } + // Fails all pending batches. + // If yield_call_combiner_predicate returns true, assumes responsibility for + // yielding the call combiner. + void PendingBatchesFail( + grpc_error_handle error, + YieldCallCombinerPredicate yield_call_combiner_predicate); + static void ResumePendingBatchInCallCombiner(void* arg, + grpc_error_handle ignored); + // Resumes all pending batches on subchannel_call_. + void PendingBatchesResume(); + + static void SendInitialMetadataOnComplete(void* arg, grpc_error_handle error); + static void RecvInitialMetadataReady(void* arg, grpc_error_handle error); + static void RecvTrailingMetadataReady(void* arg, grpc_error_handle error); + + // Called to perform a pick, both when the call is initially started + // and when it is queued and the channel gets a new picker. + void TryPick(bool was_queued); + + void OnAddToQueueLocked() override + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::lb_mu_); + + void RetryPickLocked() override + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::lb_mu_); + + void CreateSubchannelCall(); + + // TODO(roth): Instead of duplicating these fields in every filter + // that uses any one of them, we should store them in the call + // context. This will save per-call memory overhead. + Timestamp deadline_; + Arena* arena_; + grpc_call_stack* owning_call_; + CallCombiner* call_combiner_; + grpc_polling_entity* pollent_; + grpc_closure* on_call_destruction_complete_; + absl::optional peer_string_; + + // Set when we get a cancel_stream op. + grpc_error_handle cancel_error_; + + // Set when we fail inside the LB call. + grpc_error_handle failure_error_; + + LbQueuedCallCanceller* lb_call_canceller_ + ABSL_GUARDED_BY(&ClientChannelFilter::lb_mu_) = nullptr; + + RefCountedPtr subchannel_call_; + + // For intercepting recv_initial_metadata_ready. + grpc_metadata_batch* recv_initial_metadata_ = nullptr; + grpc_closure recv_initial_metadata_ready_; + grpc_closure* original_recv_initial_metadata_ready_ = nullptr; + + // For intercepting recv_trailing_metadata_ready. + grpc_metadata_batch* recv_trailing_metadata_ = nullptr; + grpc_transport_stream_stats* transport_stream_stats_ = nullptr; + grpc_closure recv_trailing_metadata_ready_; + grpc_closure* original_recv_trailing_metadata_ready_ = nullptr; + + // Batches are added to this list when received from above. + // They are removed when we are done handling the batch (i.e., when + // either we have invoked all of the batch's callbacks or we have + // passed the batch down to the subchannel call and are not + // intercepting any of its callbacks). + grpc_transport_stream_op_batch* pending_batches_[MAX_PENDING_BATCHES] = {}; +}; + +class ClientChannelFilter::PromiseBasedLoadBalancedCall + : public ClientChannelFilter::LoadBalancedCall { + public: + PromiseBasedLoadBalancedCall(ClientChannelFilter* chand, + absl::AnyInvocable on_commit, + bool is_transparent_retry); + + ArenaPromise MakeCallPromise( + CallArgs call_args, OrphanablePtr lb_call); + + private: + Arena* arena() const override; + grpc_polling_entity* pollent() override { return &pollent_; } + grpc_metadata_batch* send_initial_metadata() const override; + + void RetryPickLocked() override; + + void OnAddToQueueLocked() override + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannelFilter::lb_mu_); + + grpc_polling_entity pollent_; + ClientMetadataHandle client_initial_metadata_; + Waker waker_; + bool was_queued_ = false; + Slice peer_string_; +}; + +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_FILTER_H diff --git a/src/core/ext/filters/client_channel/client_channel_internal.h b/src/core/client_channel/client_channel_internal.h similarity index 81% rename from src/core/ext/filters/client_channel/client_channel_internal.h rename to src/core/client_channel/client_channel_internal.h index c559eeec7f8..fc61b6685d9 100644 --- a/src/core/ext/filters/client_channel/client_channel_internal.h +++ b/src/core/client_channel/client_channel_internal.h @@ -14,8 +14,8 @@ // limitations under the License. // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_INTERNAL_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_INTERNAL_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_INTERNAL_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_INTERNAL_H #include @@ -25,16 +25,17 @@ #include +#include "src/core/lib/channel/call_tracer.h" #include "src/core/lib/channel/context.h" #include "src/core/lib/gprpp/unique_type_name.h" -#include "src/core/lib/load_balancing/lb_policy.h" #include "src/core/lib/resource_quota/arena.h" -#include "src/core/lib/service_config/service_config_call_data.h" +#include "src/core/service_config/service_config_call_data.h" +#include "src/core/load_balancing/lb_policy.h" // // This file contains internal interfaces used to allow various plugins // (filters, LB policies, etc) to access internal data provided by the -// ClientChannel that is not normally accessible via external APIs. +// ClientChannelFilter that is not normally accessible via external APIs. // // Channel arg key for health check service name. @@ -49,6 +50,7 @@ class ClientChannelLbCallState : public LoadBalancingPolicy::CallState { public: virtual ServiceConfigCallData::CallAttributeInterface* GetCallAttribute( UniqueTypeName type) const = 0; + virtual ClientCallTracer::CallAttemptTracer* GetCallAttemptTracer() const = 0; }; // Internal type for ServiceConfigCallData. Handles call commits. @@ -74,4 +76,4 @@ class ClientChannelServiceConfigCallData : public ServiceConfigCallData { } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_INTERNAL_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_INTERNAL_H diff --git a/src/core/client_channel/client_channel_plugin.cc b/src/core/client_channel/client_channel_plugin.cc new file mode 100644 index 00000000000..2aa115f579c --- /dev/null +++ b/src/core/client_channel/client_channel_plugin.cc @@ -0,0 +1,55 @@ +// +// +// Copyright 2015 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// + +#include + +#include "absl/types/optional.h" + +#include + +#include "src/core/client_channel/client_channel_filter.h" +#include "src/core/client_channel/client_channel_service_config.h" +#include "src/core/client_channel/retry_service_config.h" +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/config/core_configuration.h" +#include "src/core/lib/surface/channel_stack_type.h" + +namespace grpc_core { + +namespace { +bool IsEverythingBelowClientChannelPromiseSafe(const ChannelArgs& args) { + return !args.GetBool(GRPC_ARG_ENABLE_RETRIES).value_or(true); +} +} // namespace + +void BuildClientChannelConfiguration(CoreConfiguration::Builder* builder) { + internal::ClientChannelServiceConfigParser::Register(builder); + internal::RetryServiceConfigParser::Register(builder); + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_CHANNEL, + &ClientChannelFilter::kFilterVtableWithPromises) + .If(IsEverythingBelowClientChannelPromiseSafe) + .Terminal(); + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_CHANNEL, + &ClientChannelFilter::kFilterVtableWithoutPromises) + .IfNot(IsEverythingBelowClientChannelPromiseSafe) + .Terminal(); +} + +} // namespace grpc_core diff --git a/src/core/ext/filters/client_channel/client_channel_service_config.cc b/src/core/client_channel/client_channel_service_config.cc similarity index 97% rename from src/core/ext/filters/client_channel/client_channel_service_config.cc rename to src/core/client_channel/client_channel_service_config.cc index 679be210743..af08f54a956 100644 --- a/src/core/ext/filters/client_channel/client_channel_service_config.cc +++ b/src/core/client_channel/client_channel_service_config.cc @@ -16,7 +16,7 @@ #include -#include "src/core/ext/filters/client_channel/client_channel_service_config.h" +#include "src/core/client_channel/client_channel_service_config.h" #include #include @@ -27,7 +27,7 @@ #include "absl/strings/str_cat.h" #include "absl/types/optional.h" -#include "src/core/lib/load_balancing/lb_policy_registry.h" +#include "src/core/load_balancing/lb_policy_registry.h" // As per the retry design, we do not allow more than 5 retry attempts. #define MAX_MAX_RETRY_ATTEMPTS 5 diff --git a/src/core/ext/filters/client_channel/client_channel_service_config.h b/src/core/client_channel/client_channel_service_config.h similarity index 89% rename from src/core/ext/filters/client_channel/client_channel_service_config.h rename to src/core/client_channel/client_channel_service_config.h index 5ce7a4baf66..070d2bce315 100644 --- a/src/core/ext/filters/client_channel/client_channel_service_config.h +++ b/src/core/client_channel/client_channel_service_config.h @@ -14,8 +14,8 @@ // limitations under the License. // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_SERVICE_CONFIG_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_SERVICE_CONFIG_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_SERVICE_CONFIG_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_SERVICE_CONFIG_H #include @@ -35,8 +35,8 @@ #include "src/core/lib/json/json.h" #include "src/core/lib/json/json_args.h" #include "src/core/lib/json/json_object_loader.h" -#include "src/core/lib/load_balancing/lb_policy.h" -#include "src/core/lib/service_config/service_config_parser.h" +#include "src/core/service_config/service_config_parser.h" +#include "src/core/load_balancing/lb_policy.h" namespace grpc_core { namespace internal { @@ -108,4 +108,4 @@ class ClientChannelServiceConfigParser : public ServiceConfigParser::Parser { } // namespace internal } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_SERVICE_CONFIG_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_CLIENT_CHANNEL_SERVICE_CONFIG_H diff --git a/src/core/ext/filters/client_channel/config_selector.cc b/src/core/client_channel/config_selector.cc similarity index 96% rename from src/core/ext/filters/client_channel/config_selector.cc rename to src/core/client_channel/config_selector.cc index cab51937d02..2cba7a1a215 100644 --- a/src/core/ext/filters/client_channel/config_selector.cc +++ b/src/core/client_channel/config_selector.cc @@ -16,7 +16,7 @@ #include -#include "src/core/ext/filters/client_channel/config_selector.h" +#include "src/core/client_channel/config_selector.h" #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/gpr/useful.h" diff --git a/src/core/ext/filters/client_channel/config_selector.h b/src/core/client_channel/config_selector.h similarity index 92% rename from src/core/ext/filters/client_channel/config_selector.h rename to src/core/client_channel/config_selector.h index 620237a4a5d..cee71b86c06 100644 --- a/src/core/ext/filters/client_channel/config_selector.h +++ b/src/core/client_channel/config_selector.h @@ -14,8 +14,8 @@ // limitations under the License. // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CONFIG_SELECTOR_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CONFIG_SELECTOR_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_CONFIG_SELECTOR_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_CONFIG_SELECTOR_H #include @@ -30,13 +30,13 @@ #include #include -#include "src/core/ext/filters/client_channel/client_channel_internal.h" +#include "src/core/client_channel/client_channel_internal.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/gpr/useful.h" #include "src/core/lib/gprpp/ref_counted.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/resource_quota/arena.h" -#include "src/core/lib/service_config/service_config.h" +#include "src/core/service_config/service_config.h" #include "src/core/lib/slice/slice.h" #include "src/core/lib/transport/metadata_batch.h" @@ -122,4 +122,4 @@ class DefaultConfigSelector : public ConfigSelector { } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CONFIG_SELECTOR_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_CONFIG_SELECTOR_H diff --git a/src/core/ext/filters/client_channel/connector.h b/src/core/client_channel/connector.h similarity index 89% rename from src/core/ext/filters/client_channel/connector.h rename to src/core/client_channel/connector.h index e0c9fd03b37..7b1e73f63fb 100644 --- a/src/core/ext/filters/client_channel/connector.h +++ b/src/core/client_channel/connector.h @@ -14,8 +14,8 @@ // limitations under the License. // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CONNECTOR_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CONNECTOR_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_CONNECTOR_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_CONNECTOR_H #include @@ -29,7 +29,6 @@ #include "src/core/lib/iomgr/iomgr_fwd.h" #include "src/core/lib/iomgr/resolved_address.h" #include "src/core/lib/transport/transport.h" -#include "src/core/lib/transport/transport_fwd.h" namespace grpc_core { @@ -51,7 +50,7 @@ class SubchannelConnector : public InternallyRefCounted { struct Result { // The connected transport. - grpc_transport* transport = nullptr; + Transport* transport = nullptr; // Channel args to be passed to filters. ChannelArgs channel_args; // Channelz socket node of the connected transport, if any. @@ -59,7 +58,7 @@ class SubchannelConnector : public InternallyRefCounted { void Reset() { if (transport != nullptr) { - grpc_transport_destroy(transport); + transport->Orphan(); transport = nullptr; } channel_args = ChannelArgs(); @@ -85,4 +84,4 @@ class SubchannelConnector : public InternallyRefCounted { } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CONNECTOR_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_CONNECTOR_H diff --git a/src/core/ext/filters/client_channel/dynamic_filters.cc b/src/core/client_channel/dynamic_filters.cc similarity index 98% rename from src/core/ext/filters/client_channel/dynamic_filters.cc rename to src/core/client_channel/dynamic_filters.cc index a96e2bc51b0..3d035bbf20b 100644 --- a/src/core/ext/filters/client_channel/dynamic_filters.cc +++ b/src/core/client_channel/dynamic_filters.cc @@ -16,12 +16,11 @@ #include -#include "src/core/ext/filters/client_channel/dynamic_filters.h" +#include "src/core/client_channel/dynamic_filters.h" #include #include -#include #include #include "absl/status/statusor.h" diff --git a/src/core/ext/filters/client_channel/dynamic_filters.h b/src/core/client_channel/dynamic_filters.h similarity index 94% rename from src/core/ext/filters/client_channel/dynamic_filters.h rename to src/core/client_channel/dynamic_filters.h index 9944c10f0b9..641be64fc41 100644 --- a/src/core/ext/filters/client_channel/dynamic_filters.h +++ b/src/core/client_channel/dynamic_filters.h @@ -14,8 +14,8 @@ // limitations under the License. // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_DYNAMIC_FILTERS_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_DYNAMIC_FILTERS_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_DYNAMIC_FILTERS_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_DYNAMIC_FILTERS_H #include @@ -107,4 +107,4 @@ class DynamicFilters : public RefCounted { } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_DYNAMIC_FILTERS_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_DYNAMIC_FILTERS_H diff --git a/src/core/ext/filters/client_channel/global_subchannel_pool.cc b/src/core/client_channel/global_subchannel_pool.cc similarity index 92% rename from src/core/ext/filters/client_channel/global_subchannel_pool.cc rename to src/core/client_channel/global_subchannel_pool.cc index 840e84b9e61..2f3ecf9faeb 100644 --- a/src/core/ext/filters/client_channel/global_subchannel_pool.cc +++ b/src/core/client_channel/global_subchannel_pool.cc @@ -18,17 +18,17 @@ #include -#include "src/core/ext/filters/client_channel/global_subchannel_pool.h" +#include "src/core/client_channel/global_subchannel_pool.h" #include -#include "src/core/ext/filters/client_channel/subchannel.h" +#include "src/core/client_channel/subchannel.h" namespace grpc_core { RefCountedPtr GlobalSubchannelPool::instance() { static GlobalSubchannelPool* p = new GlobalSubchannelPool(); - return p->Ref(); + return p->RefAsSubclass(); } RefCountedPtr GlobalSubchannelPool::RegisterSubchannel( diff --git a/src/core/ext/filters/client_channel/global_subchannel_pool.h b/src/core/client_channel/global_subchannel_pool.h similarity index 85% rename from src/core/ext/filters/client_channel/global_subchannel_pool.h rename to src/core/client_channel/global_subchannel_pool.h index 1d80c71b712..bad648a595d 100644 --- a/src/core/ext/filters/client_channel/global_subchannel_pool.h +++ b/src/core/client_channel/global_subchannel_pool.h @@ -16,8 +16,8 @@ // // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_GLOBAL_SUBCHANNEL_POOL_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_GLOBAL_SUBCHANNEL_POOL_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_GLOBAL_SUBCHANNEL_POOL_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_GLOBAL_SUBCHANNEL_POOL_H #include @@ -25,7 +25,7 @@ #include "absl/base/thread_annotations.h" -#include "src/core/ext/filters/client_channel/subchannel_pool_interface.h" +#include "src/core/client_channel/subchannel_pool_interface.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/gprpp/sync.h" @@ -60,4 +60,4 @@ class GlobalSubchannelPool final : public SubchannelPoolInterface { } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_GLOBAL_SUBCHANNEL_POOL_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_GLOBAL_SUBCHANNEL_POOL_H diff --git a/src/core/client_channel/http_proxy_mapper.cc b/src/core/client_channel/http_proxy_mapper.cc new file mode 100644 index 00000000000..a586a75945d --- /dev/null +++ b/src/core/client_channel/http_proxy_mapper.cc @@ -0,0 +1,313 @@ +// +// +// Copyright 2016 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// + +#include + +#include "src/core/client_channel/http_proxy_mapper.h" + +#include +#include + +#include +#include +#include + +#include "absl/status/status.h" +#include "absl/status/statusor.h" +#include "absl/strings/ascii.h" +#include "absl/strings/escaping.h" +#include "absl/strings/match.h" +#include "absl/strings/numbers.h" +#include "absl/strings/str_cat.h" +#include "absl/strings/str_split.h" +#include "absl/strings/string_view.h" +#include "absl/strings/strip.h" +#include "absl/types/optional.h" + +#include +#include +#include + +#include "src/core/lib/address_utils/parse_address.h" +#include "src/core/lib/address_utils/sockaddr_utils.h" +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/experiments/experiments.h" +#include "src/core/lib/gpr/string.h" +#include "src/core/lib/gprpp/env.h" +#include "src/core/lib/gprpp/host_port.h" +#include "src/core/lib/gprpp/memory.h" +#include "src/core/lib/iomgr/resolve_address.h" +#include "src/core/lib/slice/b64.h" +#include "src/core/lib/transport/http_connect_handshaker.h" +#include "src/core/lib/uri/uri_parser.h" + +namespace grpc_core { +namespace { + +bool ServerInCIDRRange(const grpc_resolved_address& server_address, + absl::string_view cidr_range) { + std::pair possible_cidr = + absl::StrSplit(cidr_range, absl::MaxSplits('/', 1), absl::SkipEmpty()); + if (possible_cidr.first.empty() || possible_cidr.second.empty()) { + return false; + } + auto proxy_address = StringToSockaddr(possible_cidr.first, 0); + if (!proxy_address.ok()) { + return false; + } + uint32_t mask_bits = 0; + if (absl::SimpleAtoi(possible_cidr.second, &mask_bits)) { + grpc_sockaddr_mask_bits(&*proxy_address, mask_bits); + return grpc_sockaddr_match_subnet(&server_address, &*proxy_address, + mask_bits); + } + return false; +} + +bool ExactMatchOrSubdomain(absl::string_view host_name, + absl::string_view host_name_or_domain) { + return absl::EndsWithIgnoreCase(host_name, host_name_or_domain); +} + +// Parses the list of host names, addresses or subnet masks and returns true if +// the target address or host matches any value. +bool AddressIncluded( + const absl::optional& target_address, + absl::string_view host_name, absl::string_view addresses_and_subnets) { + for (absl::string_view entry : + absl::StrSplit(addresses_and_subnets, ',', absl::SkipEmpty())) { + absl::string_view sanitized_entry = absl::StripAsciiWhitespace(entry); + if (ExactMatchOrSubdomain(host_name, sanitized_entry) || + (target_address.has_value() && + ServerInCIDRRange(*target_address, sanitized_entry))) { + return true; + } + } + return false; +} + +/// +/// Parses the 'https_proxy' env var (fallback on 'http_proxy') and returns the +/// proxy hostname to resolve or nullopt on error. Also sets 'user_cred' to user +/// credentials if present in the 'http_proxy' env var, otherwise leaves it +/// unchanged. +/// +absl::optional GetHttpProxyServer( + const ChannelArgs& args, absl::optional* user_cred) { + GPR_ASSERT(user_cred != nullptr); + absl::StatusOr uri; + // We check the following places to determine the HTTP proxy to use, stopping + // at the first one that is set: + // 1. GRPC_ARG_HTTP_PROXY channel arg + // 2. grpc_proxy environment variable + // 3. https_proxy environment variable + // 4. http_proxy environment variable + // If none of the above are set, then no HTTP proxy will be used. + // + absl::optional uri_str = + args.GetOwnedString(GRPC_ARG_HTTP_PROXY); + if (!uri_str.has_value()) uri_str = GetEnv("grpc_proxy"); + if (!uri_str.has_value()) uri_str = GetEnv("https_proxy"); + if (!uri_str.has_value()) uri_str = GetEnv("http_proxy"); + if (!uri_str.has_value()) return absl::nullopt; + // an empty value means "don't use proxy" + if (uri_str->empty()) return absl::nullopt; + uri = URI::Parse(*uri_str); + if (!uri.ok() || uri->authority().empty()) { + gpr_log(GPR_ERROR, "cannot parse value of 'http_proxy' env var. Error: %s", + uri.status().ToString().c_str()); + return absl::nullopt; + } + if (uri->scheme() != "http") { + gpr_log(GPR_ERROR, "'%s' scheme not supported in proxy URI", + uri->scheme().c_str()); + return absl::nullopt; + } + // Split on '@' to separate user credentials from host + char** authority_strs = nullptr; + size_t authority_nstrs; + gpr_string_split(uri->authority().c_str(), "@", &authority_strs, + &authority_nstrs); + GPR_ASSERT(authority_nstrs != 0); // should have at least 1 string + absl::optional proxy_name; + if (authority_nstrs == 1) { + // User cred not present in authority + proxy_name = authority_strs[0]; + } else if (authority_nstrs == 2) { + // User cred found + *user_cred = authority_strs[0]; + proxy_name = authority_strs[1]; + gpr_log(GPR_DEBUG, "userinfo found in proxy URI"); + } else { + // Bad authority + proxy_name = absl::nullopt; + } + for (size_t i = 0; i < authority_nstrs; i++) { + gpr_free(authority_strs[i]); + } + gpr_free(authority_strs); + return proxy_name; +} + +// Adds the default port if target does not contain a port. +std::string MaybeAddDefaultPort(absl::string_view target) { + absl::string_view host; + absl::string_view port; + SplitHostPort(target, &host, &port); + if (port.empty()) { + return JoinHostPort(host, kDefaultSecurePortInt); + } + return std::string(target); +} + +absl::optional GetChannelArgOrEnvVarValue( + const ChannelArgs& args, absl::string_view channel_arg, + const char* env_var) { + auto arg_value = args.GetOwnedString(channel_arg); + if (arg_value.has_value()) { + return arg_value; + } + return GetEnv(env_var); +} + +absl::optional GetAddressProxyServer( + const ChannelArgs& args) { + auto address_value = GetChannelArgOrEnvVarValue( + args, GRPC_ARG_ADDRESS_HTTP_PROXY, HttpProxyMapper::kAddressProxyEnvVar); + if (!address_value.has_value()) { + return absl::nullopt; + } + auto address = StringToSockaddr(*address_value); + if (!address.ok()) { + gpr_log(GPR_ERROR, "cannot parse value of '%s' env var. Error: %s", + HttpProxyMapper::kAddressProxyEnvVar, + address.status().ToString().c_str()); + return absl::nullopt; + } + return *address; +} + +} // namespace + +absl::optional HttpProxyMapper::MapName( + absl::string_view server_uri, ChannelArgs* args) { + if (!args->GetBool(GRPC_ARG_ENABLE_HTTP_PROXY).value_or(true)) { + return absl::nullopt; + } + absl::optional user_cred; + auto name_to_resolve = GetHttpProxyServer(*args, &user_cred); + if (!name_to_resolve.has_value()) return name_to_resolve; + absl::StatusOr uri = URI::Parse(server_uri); + if (!uri.ok() || uri->path().empty()) { + gpr_log(GPR_ERROR, + "'http_proxy' environment variable set, but cannot " + "parse server URI '%s' -- not using proxy. Error: %s", + std::string(server_uri).c_str(), uri.status().ToString().c_str()); + return absl::nullopt; + } + if (uri->scheme() == "unix") { + gpr_log(GPR_INFO, "not using proxy for Unix domain socket '%s'", + std::string(server_uri).c_str()); + return absl::nullopt; + } + if (uri->scheme() == "vsock") { + gpr_log(GPR_INFO, "not using proxy for VSock '%s'", + std::string(server_uri).c_str()); + return absl::nullopt; + } + // Prefer using 'no_grpc_proxy'. Fallback on 'no_proxy' if it is not set. + auto no_proxy_str = GetEnv("no_grpc_proxy"); + if (!no_proxy_str.has_value()) { + no_proxy_str = GetEnv("no_proxy"); + } + if (no_proxy_str.has_value()) { + std::string server_host; + std::string server_port; + if (!SplitHostPort(absl::StripPrefix(uri->path(), "/"), &server_host, + &server_port)) { + gpr_log(GPR_INFO, + "unable to split host and port, not checking no_proxy list for " + "host '%s'", + std::string(server_uri).c_str()); + } else { + auto address = StringToSockaddr(server_host, 0); + if (AddressIncluded(address.ok() + ? absl::optional(*address) + : absl::nullopt, + server_host, *no_proxy_str)) { + gpr_log(GPR_INFO, "not using proxy for host in no_proxy list '%s'", + std::string(server_uri).c_str()); + return absl::nullopt; + } + } + } + *args = args->Set(GRPC_ARG_HTTP_CONNECT_SERVER, + MaybeAddDefaultPort(absl::StripPrefix(uri->path(), "/"))); + if (user_cred.has_value()) { + // Use base64 encoding for user credentials as stated in RFC 7617 + std::string encoded_user_cred; + if (IsAbslBase64Enabled()) { + encoded_user_cred = absl::Base64Escape(*user_cred); + } else { + UniquePtr tmp( + grpc_base64_encode(user_cred->data(), user_cred->length(), 0, 0)); + encoded_user_cred = tmp.get(); + } + *args = args->Set( + GRPC_ARG_HTTP_CONNECT_HEADERS, + absl::StrCat("Proxy-Authorization:Basic ", encoded_user_cred)); + } + return name_to_resolve; +} + +absl::optional HttpProxyMapper::MapAddress( + const grpc_resolved_address& address, ChannelArgs* args) { + auto proxy_address = GetAddressProxyServer(*args); + if (!proxy_address.has_value()) { + return absl::nullopt; + } + auto address_string = grpc_sockaddr_to_string(&address, true); + if (!address_string.ok()) { + gpr_log(GPR_ERROR, "Unable to convert address to string: %s", + std::string(address_string.status().message()).c_str()); + return absl::nullopt; + } + std::string host_name, port; + if (!SplitHostPort(*address_string, &host_name, &port)) { + gpr_log(GPR_ERROR, "Address %s cannot be split in host and port", + address_string->c_str()); + return absl::nullopt; + } + auto enabled_addresses = GetChannelArgOrEnvVarValue( + *args, GRPC_ARG_ADDRESS_HTTP_PROXY_ENABLED_ADDRESSES, + kAddressProxyEnabledAddressesEnvVar); + if (!enabled_addresses.has_value() || + !AddressIncluded(address, host_name, *enabled_addresses)) { + return absl::nullopt; + } + *args = args->Set(GRPC_ARG_HTTP_CONNECT_SERVER, *address_string); + return proxy_address; +} + +void RegisterHttpProxyMapper(CoreConfiguration::Builder* builder) { + builder->proxy_mapper_registry()->Register( + true /* at_start */, + std::unique_ptr(new HttpProxyMapper())); +} + +} // namespace grpc_core diff --git a/src/core/client_channel/http_proxy_mapper.h b/src/core/client_channel/http_proxy_mapper.h new file mode 100644 index 00000000000..bed8ab650e0 --- /dev/null +++ b/src/core/client_channel/http_proxy_mapper.h @@ -0,0 +1,53 @@ +// +// +// Copyright 2016 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// + +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_HTTP_PROXY_MAPPER_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_HTTP_PROXY_MAPPER_H + +#include + +#include + +#include "absl/strings/string_view.h" +#include "absl/types/optional.h" + +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/config/core_configuration.h" +#include "src/core/lib/handshaker/proxy_mapper.h" +#include "src/core/lib/iomgr/resolved_address.h" + +namespace grpc_core { + +class HttpProxyMapper : public ProxyMapperInterface { + public: + static constexpr char const* kAddressProxyEnvVar = "GRPC_ADDRESS_HTTP_PROXY"; + static constexpr char const* kAddressProxyEnabledAddressesEnvVar = + "GRPC_ADDRESS_HTTP_PROXY_ENABLED_ADDRESSES"; + + absl::optional MapName(absl::string_view server_uri, + ChannelArgs* args) override; + + absl::optional MapAddress( + const grpc_resolved_address& address, ChannelArgs* args) override; +}; + +void RegisterHttpProxyMapper(CoreConfiguration::Builder* builder); + +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_HTTP_PROXY_MAPPER_H diff --git a/src/core/ext/filters/client_channel/local_subchannel_pool.cc b/src/core/client_channel/local_subchannel_pool.cc similarity index 93% rename from src/core/ext/filters/client_channel/local_subchannel_pool.cc rename to src/core/client_channel/local_subchannel_pool.cc index 53045b187c3..2297fb365ff 100644 --- a/src/core/ext/filters/client_channel/local_subchannel_pool.cc +++ b/src/core/client_channel/local_subchannel_pool.cc @@ -18,13 +18,13 @@ #include -#include "src/core/ext/filters/client_channel/local_subchannel_pool.h" +#include "src/core/client_channel/local_subchannel_pool.h" #include #include -#include "src/core/ext/filters/client_channel/subchannel.h" +#include "src/core/client_channel/subchannel.h" namespace grpc_core { diff --git a/src/core/ext/filters/client_channel/local_subchannel_pool.h b/src/core/client_channel/local_subchannel_pool.h similarity index 86% rename from src/core/ext/filters/client_channel/local_subchannel_pool.h rename to src/core/client_channel/local_subchannel_pool.h index cf0c109d038..5e4cce51b28 100644 --- a/src/core/ext/filters/client_channel/local_subchannel_pool.h +++ b/src/core/client_channel/local_subchannel_pool.h @@ -16,14 +16,14 @@ // // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_LOCAL_SUBCHANNEL_POOL_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_LOCAL_SUBCHANNEL_POOL_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_LOCAL_SUBCHANNEL_POOL_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_LOCAL_SUBCHANNEL_POOL_H #include #include -#include "src/core/ext/filters/client_channel/subchannel_pool_interface.h" +#include "src/core/client_channel/subchannel_pool_interface.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" namespace grpc_core { @@ -56,4 +56,4 @@ class LocalSubchannelPool final : public SubchannelPoolInterface { } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_LOCAL_SUBCHANNEL_POOL_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_LOCAL_SUBCHANNEL_POOL_H diff --git a/src/core/ext/filters/client_channel/retry_filter.cc b/src/core/client_channel/retry_filter.cc similarity index 91% rename from src/core/ext/filters/client_channel/retry_filter.cc rename to src/core/client_channel/retry_filter.cc index 85c2df31667..b00899392f6 100644 --- a/src/core/ext/filters/client_channel/retry_filter.cc +++ b/src/core/client_channel/retry_filter.cc @@ -16,28 +16,27 @@ #include -#include "src/core/ext/filters/client_channel/retry_filter.h" +#include "src/core/client_channel/retry_filter.h" #include #include "absl/status/statusor.h" -#include "absl/strings/string_view.h" #include "absl/strings/strip.h" #include "absl/types/optional.h" #include -#include "src/core/ext/filters/client_channel/client_channel.h" -#include "src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h" -#include "src/core/ext/filters/client_channel/retry_service_config.h" -#include "src/core/ext/filters/client_channel/retry_throttle.h" +#include "src/core/client_channel/client_channel_filter.h" +#include "src/core/client_channel/retry_filter_legacy_call_data.h" +#include "src/core/client_channel/retry_service_config.h" +#include "src/core/client_channel/retry_throttle.h" #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_stack.h" #include "src/core/lib/debug/trace.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/iomgr/error.h" -#include "src/core/lib/service_config/service_config.h" -#include "src/core/lib/service_config/service_config_call_data.h" +#include "src/core/service_config/service_config.h" +#include "src/core/service_config/service_config_call_data.h" #include "src/core/lib/uri/uri_parser.h" // @@ -99,7 +98,7 @@ namespace grpc_core { // RetryFilter::RetryFilter(const ChannelArgs& args, grpc_error_handle* error) - : client_channel_(args.GetObject()), + : client_channel_(args.GetObject()), event_engine_(args.GetObject()), per_rpc_retry_buffer_size_(GetMaxPerRpcRetryBufferSize(args)), service_config_parser_index_( @@ -144,6 +143,7 @@ const RetryMethodConfig* RetryFilter::GetRetryPolicy( const grpc_channel_filter RetryFilter::kVtable = { RetryFilter::LegacyCallData::StartTransportStreamOpBatch, nullptr, + /* init_call: */ nullptr, RetryFilter::StartTransportOp, sizeof(RetryFilter::LegacyCallData), RetryFilter::LegacyCallData::Init, diff --git a/src/core/ext/filters/client_channel/retry_filter.h b/src/core/client_channel/retry_filter.h similarity index 87% rename from src/core/ext/filters/client_channel/retry_filter.h rename to src/core/client_channel/retry_filter.h index c5d713f5fa9..bb11badcc78 100644 --- a/src/core/ext/filters/client_channel/retry_filter.h +++ b/src/core/client_channel/retry_filter.h @@ -14,8 +14,8 @@ // limitations under the License. // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_FILTER_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_FILTER_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_RETRY_FILTER_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_RETRY_FILTER_H #include @@ -31,9 +31,9 @@ #include #include -#include "src/core/ext/filters/client_channel/client_channel.h" -#include "src/core/ext/filters/client_channel/retry_service_config.h" -#include "src/core/ext/filters/client_channel/retry_throttle.h" +#include "src/core/client_channel/client_channel_filter.h" +#include "src/core/client_channel/retry_service_config.h" +#include "src/core/client_channel/retry_throttle.h" #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/channel_stack.h" @@ -72,7 +72,7 @@ class RetryFilter { return retry_throttle_data_; } - ClientChannel* client_channel() const { return client_channel_; } + ClientChannelFilter* client_channel() const { return client_channel_; } size_t per_rpc_retry_buffer_size() const { return per_rpc_retry_buffer_size_; @@ -110,7 +110,7 @@ class RetryFilter { static void GetChannelInfo(grpc_channel_element* /*elem*/, const grpc_channel_info* /*info*/) {} - ClientChannel* client_channel_; + ClientChannelFilter* client_channel_; grpc_event_engine::experimental::EventEngine* const event_engine_; size_t per_rpc_retry_buffer_size_; RefCountedPtr retry_throttle_data_; @@ -119,4 +119,4 @@ class RetryFilter { } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_FILTER_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_RETRY_FILTER_H diff --git a/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc b/src/core/client_channel/retry_filter_legacy_call_data.cc similarity index 99% rename from src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc rename to src/core/client_channel/retry_filter_legacy_call_data.cc index f1d230d0a55..a4bb16ace9f 100644 --- a/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +++ b/src/core/client_channel/retry_filter_legacy_call_data.cc @@ -14,22 +14,21 @@ #include -#include "src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h" +#include "src/core/client_channel/retry_filter_legacy_call_data.h" #include #include #include -#include #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include -#include "src/core/ext/filters/client_channel/client_channel_internal.h" -#include "src/core/ext/filters/client_channel/retry_service_config.h" -#include "src/core/ext/filters/client_channel/retry_throttle.h" +#include "src/core/client_channel/client_channel_internal.h" +#include "src/core/client_channel/retry_service_config.h" +#include "src/core/client_channel/retry_throttle.h" #include "src/core/lib/backoff/backoff.h" #include "src/core/lib/channel/channel_stack.h" #include "src/core/lib/channel/context.h" @@ -311,8 +310,9 @@ namespace { void StartBatchInCallCombiner(void* arg, grpc_error_handle /*ignored*/) { grpc_transport_stream_op_batch* batch = static_cast(arg); - auto* lb_call = static_cast( - batch->handler_private.extra_arg); + auto* lb_call = + static_cast( + batch->handler_private.extra_arg); // Note: This will release the call combiner. lb_call->StartTransportStreamOpBatch(batch); } @@ -1711,7 +1711,7 @@ void RetryFilter::LegacyCallData::StartTransportStreamOpBatch( call_attempt_->StartRetriableBatches(); } -OrphanablePtr +OrphanablePtr RetryFilter::LegacyCallData::CreateLoadBalancedCall( absl::AnyInvocable on_commit, bool is_transparent_retry) { grpc_call_element_args args = {owning_call_, nullptr, call_context_, @@ -2021,8 +2021,10 @@ void RetryFilter::LegacyCallData::OnRetryTimer() { void RetryFilter::LegacyCallData::OnRetryTimerLocked( void* arg, grpc_error_handle /*error*/) { auto* calld = static_cast(arg); - calld->retry_timer_handle_.reset(); - calld->CreateCallAttempt(/*is_transparent_retry=*/false); + if (calld->retry_timer_handle_.has_value()) { + calld->retry_timer_handle_.reset(); + calld->CreateCallAttempt(/*is_transparent_retry=*/false); + } GRPC_CALL_STACK_UNREF(calld->owning_call_, "OnRetryTimer"); } diff --git a/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h b/src/core/client_channel/retry_filter_legacy_call_data.h similarity index 96% rename from src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h rename to src/core/client_channel/retry_filter_legacy_call_data.h index ea02f97f87c..8d45393f48b 100644 --- a/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h +++ b/src/core/client_channel/retry_filter_legacy_call_data.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_FILTER_LEGACY_CALL_DATA_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_FILTER_LEGACY_CALL_DATA_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_RETRY_FILTER_LEGACY_CALL_DATA_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_RETRY_FILTER_LEGACY_CALL_DATA_H #include @@ -30,10 +30,10 @@ #include #include -#include "src/core/ext/filters/client_channel/client_channel.h" -#include "src/core/ext/filters/client_channel/retry_filter.h" -#include "src/core/ext/filters/client_channel/retry_service_config.h" -#include "src/core/ext/filters/client_channel/retry_throttle.h" +#include "src/core/client_channel/client_channel_filter.h" +#include "src/core/client_channel/retry_filter.h" +#include "src/core/client_channel/retry_service_config.h" +#include "src/core/client_channel/retry_throttle.h" #include "src/core/lib/backoff/backoff.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/channel_stack.h" @@ -256,7 +256,7 @@ class RetryFilter::LegacyCallData { void MaybeCancelPerAttemptRecvTimer(); LegacyCallData* calld_; - OrphanablePtr lb_call_; + OrphanablePtr lb_call_; bool lb_call_committed_ = false; grpc_closure on_per_attempt_recv_timer_; @@ -363,7 +363,7 @@ class RetryFilter::LegacyCallData { void AddClosureToStartTransparentRetry(CallCombinerClosureList* closures); static void StartTransparentRetry(void* arg, grpc_error_handle error); - OrphanablePtr + OrphanablePtr CreateLoadBalancedCall(absl::AnyInvocable on_commit, bool is_transparent_retry); @@ -394,7 +394,8 @@ class RetryFilter::LegacyCallData { // LB call used when we've committed to a call attempt and the retry // state for that attempt is no longer needed. This provides a fast // path for long-running streaming calls that minimizes overhead. - OrphanablePtr committed_call_; + OrphanablePtr + committed_call_; // When are are not yet fully committed to a particular call (i.e., // either we might still retry or we have committed to the call but @@ -439,4 +440,4 @@ class RetryFilter::LegacyCallData { } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_FILTER_LEGACY_CALL_DATA_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_RETRY_FILTER_LEGACY_CALL_DATA_H diff --git a/src/core/ext/filters/client_channel/retry_service_config.cc b/src/core/client_channel/retry_service_config.cc similarity index 99% rename from src/core/ext/filters/client_channel/retry_service_config.cc rename to src/core/client_channel/retry_service_config.cc index db8ee915791..dd228d5f4f0 100644 --- a/src/core/ext/filters/client_channel/retry_service_config.cc +++ b/src/core/client_channel/retry_service_config.cc @@ -16,7 +16,7 @@ #include -#include "src/core/ext/filters/client_channel/retry_service_config.h" +#include "src/core/client_channel/retry_service_config.h" #include #include diff --git a/src/core/ext/filters/client_channel/retry_service_config.h b/src/core/client_channel/retry_service_config.h similarity index 92% rename from src/core/ext/filters/client_channel/retry_service_config.h rename to src/core/client_channel/retry_service_config.h index f5bddc56509..3039df511e1 100644 --- a/src/core/ext/filters/client_channel/retry_service_config.h +++ b/src/core/client_channel/retry_service_config.h @@ -14,8 +14,8 @@ // limitations under the License. // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_SERVICE_CONFIG_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_SERVICE_CONFIG_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_RETRY_SERVICE_CONFIG_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_RETRY_SERVICE_CONFIG_H #include @@ -35,7 +35,7 @@ #include "src/core/lib/json/json.h" #include "src/core/lib/json/json_args.h" #include "src/core/lib/json/json_object_loader.h" -#include "src/core/lib/service_config/service_config_parser.h" +#include "src/core/service_config/service_config_parser.h" namespace grpc_core { namespace internal { @@ -102,4 +102,4 @@ class RetryServiceConfigParser : public ServiceConfigParser::Parser { } // namespace internal } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_SERVICE_CONFIG_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_RETRY_SERVICE_CONFIG_H diff --git a/src/core/ext/filters/client_channel/retry_throttle.cc b/src/core/client_channel/retry_throttle.cc similarity index 98% rename from src/core/ext/filters/client_channel/retry_throttle.cc rename to src/core/client_channel/retry_throttle.cc index 91403843e41..c9671832309 100644 --- a/src/core/ext/filters/client_channel/retry_throttle.cc +++ b/src/core/client_channel/retry_throttle.cc @@ -18,7 +18,7 @@ #include -#include "src/core/ext/filters/client_channel/retry_throttle.h" +#include "src/core/client_channel/retry_throttle.h" #include #include diff --git a/src/core/ext/filters/client_channel/retry_throttle.h b/src/core/client_channel/retry_throttle.h similarity index 92% rename from src/core/ext/filters/client_channel/retry_throttle.h rename to src/core/client_channel/retry_throttle.h index 90c1e6f44e4..2c7c9f78504 100644 --- a/src/core/ext/filters/client_channel/retry_throttle.h +++ b/src/core/client_channel/retry_throttle.h @@ -16,8 +16,8 @@ // // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_THROTTLE_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_THROTTLE_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_RETRY_THROTTLE_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_RETRY_THROTTLE_H #include @@ -89,4 +89,4 @@ class ServerRetryThrottleMap { } // namespace internal } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_THROTTLE_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_RETRY_THROTTLE_H diff --git a/src/core/ext/filters/client_channel/subchannel.cc b/src/core/client_channel/subchannel.cc similarity index 98% rename from src/core/ext/filters/client_channel/subchannel.cc rename to src/core/client_channel/subchannel.cc index 2799ba8c25e..39cc7043f63 100644 --- a/src/core/ext/filters/client_channel/subchannel.cc +++ b/src/core/client_channel/subchannel.cc @@ -16,7 +16,7 @@ #include -#include "src/core/ext/filters/client_channel/subchannel.h" +#include "src/core/client_channel/subchannel.h" #include #include @@ -24,7 +24,6 @@ #include #include #include -#include #include #include "absl/status/statusor.h" @@ -38,7 +37,7 @@ #include #include -#include "src/core/ext/filters/client_channel/subchannel_pool_interface.h" +#include "src/core/client_channel/subchannel_pool_interface.h" #include "src/core/lib/address_utils/sockaddr_utils.h" #include "src/core/lib/backoff/backoff.h" #include "src/core/lib/channel/channel_args.h" @@ -67,6 +66,7 @@ #include "src/core/lib/surface/init_internally.h" #include "src/core/lib/transport/connectivity_state.h" #include "src/core/lib/transport/error_utils.h" +#include "src/core/lib/transport/transport.h" // Backoff parameters. #define GRPC_SUBCHANNEL_INITIAL_CONNECT_BACKOFF_SECONDS 1 @@ -769,10 +769,11 @@ void Subchannel::OnConnectingFinishedLocked(grpc_error_handle error) { bool Subchannel::PublishTransportLocked() { // Construct channel stack. - ChannelStackBuilderImpl builder("subchannel", GRPC_CLIENT_SUBCHANNEL, - connecting_result_.channel_args); // Builder takes ownership of transport. - builder.SetTransport(std::exchange(connecting_result_.transport, nullptr)); + ChannelStackBuilderImpl builder( + "subchannel", GRPC_CLIENT_SUBCHANNEL, + connecting_result_.channel_args.SetObject( + std::exchange(connecting_result_.transport, nullptr))); if (!CoreConfiguration::Get().channel_init().CreateStack(&builder)) { return false; } diff --git a/src/core/ext/filters/client_channel/subchannel.h b/src/core/client_channel/subchannel.h similarity index 97% rename from src/core/ext/filters/client_channel/subchannel.h rename to src/core/client_channel/subchannel.h index fe629fc3716..df52d58d65e 100644 --- a/src/core/ext/filters/client_channel/subchannel.h +++ b/src/core/client_channel/subchannel.h @@ -14,8 +14,8 @@ // limitations under the License. // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_SUBCHANNEL_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_SUBCHANNEL_H #include @@ -31,9 +31,9 @@ #include #include -#include "src/core/ext/filters/client_channel/client_channel_channelz.h" -#include "src/core/ext/filters/client_channel/connector.h" -#include "src/core/ext/filters/client_channel/subchannel_pool_interface.h" +#include "src/core/client_channel/client_channel_channelz.h" +#include "src/core/client_channel/connector.h" +#include "src/core/client_channel/subchannel_pool_interface.h" #include "src/core/lib/backoff/backoff.h" #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" @@ -384,4 +384,4 @@ class Subchannel : public DualRefCounted { } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_SUBCHANNEL_H diff --git a/src/core/ext/filters/client_channel/subchannel_interface_internal.h b/src/core/client_channel/subchannel_interface_internal.h similarity index 75% rename from src/core/ext/filters/client_channel/subchannel_interface_internal.h rename to src/core/client_channel/subchannel_interface_internal.h index b71f378de5c..fc5b9faaed5 100644 --- a/src/core/ext/filters/client_channel/subchannel_interface_internal.h +++ b/src/core/client_channel/subchannel_interface_internal.h @@ -14,14 +14,14 @@ // limitations under the License. // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_INTERFACE_INTERNAL_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_INTERFACE_INTERNAL_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_SUBCHANNEL_INTERFACE_INTERNAL_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_SUBCHANNEL_INTERFACE_INTERNAL_H #include -#include "src/core/ext/filters/client_channel/subchannel.h" +#include "src/core/client_channel/subchannel.h" #include "src/core/lib/gprpp/unique_type_name.h" -#include "src/core/lib/load_balancing/subchannel_interface.h" +#include "src/core/load_balancing/subchannel_interface.h" namespace grpc_core { @@ -38,4 +38,4 @@ class InternalSubchannelDataWatcherInterface } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_INTERFACE_INTERNAL_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_SUBCHANNEL_INTERFACE_INTERNAL_H diff --git a/src/core/ext/filters/client_channel/subchannel_pool_interface.cc b/src/core/client_channel/subchannel_pool_interface.cc similarity index 96% rename from src/core/ext/filters/client_channel/subchannel_pool_interface.cc rename to src/core/client_channel/subchannel_pool_interface.cc index ebf7e77f163..82c7841d133 100644 --- a/src/core/ext/filters/client_channel/subchannel_pool_interface.cc +++ b/src/core/client_channel/subchannel_pool_interface.cc @@ -18,7 +18,7 @@ #include -#include "src/core/ext/filters/client_channel/subchannel_pool_interface.h" +#include "src/core/client_channel/subchannel_pool_interface.h" #include diff --git a/src/core/ext/filters/client_channel/subchannel_pool_interface.h b/src/core/client_channel/subchannel_pool_interface.h similarity index 93% rename from src/core/ext/filters/client_channel/subchannel_pool_interface.h rename to src/core/client_channel/subchannel_pool_interface.h index aa6ee3ef857..235b23b1dbe 100644 --- a/src/core/ext/filters/client_channel/subchannel_pool_interface.h +++ b/src/core/client_channel/subchannel_pool_interface.h @@ -16,8 +16,8 @@ // // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_POOL_INTERFACE_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_POOL_INTERFACE_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_SUBCHANNEL_POOL_INTERFACE_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_SUBCHANNEL_POOL_INTERFACE_H #include @@ -97,4 +97,4 @@ class SubchannelPoolInterface : public RefCounted { } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_POOL_INTERFACE_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_SUBCHANNEL_POOL_INTERFACE_H diff --git a/src/core/ext/filters/client_channel/subchannel_stream_client.cc b/src/core/client_channel/subchannel_stream_client.cc similarity index 99% rename from src/core/ext/filters/client_channel/subchannel_stream_client.cc rename to src/core/client_channel/subchannel_stream_client.cc index ad51f5396f9..57b9cbbc483 100644 --- a/src/core/ext/filters/client_channel/subchannel_stream_client.cc +++ b/src/core/client_channel/subchannel_stream_client.cc @@ -16,12 +16,11 @@ #include -#include "src/core/ext/filters/client_channel/subchannel_stream_client.h" +#include "src/core/client_channel/subchannel_stream_client.h" #include #include -#include #include #include diff --git a/src/core/ext/filters/client_channel/subchannel_stream_client.h b/src/core/client_channel/subchannel_stream_client.h similarity index 96% rename from src/core/ext/filters/client_channel/subchannel_stream_client.h rename to src/core/client_channel/subchannel_stream_client.h index e9d720f4734..37230f9e33c 100644 --- a/src/core/ext/filters/client_channel/subchannel_stream_client.h +++ b/src/core/client_channel/subchannel_stream_client.h @@ -14,8 +14,8 @@ // limitations under the License. // -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_STREAM_CLIENT_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_STREAM_CLIENT_H +#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_SUBCHANNEL_STREAM_CLIENT_H +#define GRPC_SRC_CORE_CLIENT_CHANNEL_SUBCHANNEL_STREAM_CLIENT_H #include @@ -32,7 +32,7 @@ #include #include -#include "src/core/ext/filters/client_channel/subchannel.h" +#include "src/core/client_channel/subchannel.h" #include "src/core/lib/backoff/backoff.h" #include "src/core/lib/channel/context.h" #include "src/core/lib/gprpp/orphanable.h" @@ -222,4 +222,4 @@ class SubchannelStreamClient } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_STREAM_CLIENT_H +#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_SUBCHANNEL_STREAM_CLIENT_H diff --git a/src/core/ext/.clang-format b/src/core/ext/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/src/core/ext/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/src/core/ext/filters/.clang-format b/src/core/ext/filters/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/src/core/ext/filters/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/src/core/ext/filters/backend_metrics/backend_metric_filter.cc b/src/core/ext/filters/backend_metrics/backend_metric_filter.cc index 61cd59b3932..85c6d318bf6 100644 --- a/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +++ b/src/core/ext/filters/backend_metrics/backend_metric_filter.cc @@ -17,7 +17,6 @@ #include "src/core/ext/filters/backend_metrics/backend_metric_filter.h" #include -#include #include #include @@ -27,30 +26,37 @@ #include "absl/strings/string_view.h" #include "upb/base/string_view.h" -#include "upb/upb.hpp" +#include "upb/mem/arena.hpp" #include "xds/data/orca/v3/orca_load_report.upb.h" #include #include -#include "src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h" #include "src/core/lib/channel/channel_stack.h" -#include "src/core/lib/channel/channel_stack_builder.h" #include "src/core/lib/channel/context.h" #include "src/core/lib/config/core_configuration.h" #include "src/core/lib/debug/trace.h" +#include "src/core/lib/experiments/experiments.h" #include "src/core/lib/promise/context.h" #include "src/core/lib/promise/map.h" #include "src/core/lib/slice/slice.h" #include "src/core/lib/surface/channel_stack_type.h" #include "src/core/lib/transport/metadata_batch.h" +#include "src/core/load_balancing/backend_metric_data.h" namespace grpc_core { TraceFlag grpc_backend_metric_filter_trace(false, "backend_metric_filter"); -absl::optional BackendMetricFilter::MaybeSerializeBackendMetrics( - BackendMetricProvider* provider) const { +const NoInterceptor BackendMetricFilter::Call::OnClientInitialMetadata; +const NoInterceptor BackendMetricFilter::Call::OnServerInitialMetadata; +const NoInterceptor BackendMetricFilter::Call::OnClientToServerMessage; +const NoInterceptor BackendMetricFilter::Call::OnServerToClientMessage; +const NoInterceptor BackendMetricFilter::Call::OnFinalize; + +namespace { +absl::optional MaybeSerializeBackendMetrics( + BackendMetricProvider* provider) { if (provider == nullptr) return absl::nullopt; BackendMetricData data = provider->GetBackendMetricData(); upb::Arena arena; @@ -109,17 +115,27 @@ absl::optional BackendMetricFilter::MaybeSerializeBackendMetrics( xds_data_orca_v3_OrcaLoadReport_serialize(response, arena.ptr(), &len); return std::string(buf, len); } +} // namespace + +const grpc_channel_filter LegacyBackendMetricFilter::kFilter = + MakePromiseBasedFilter( + "backend_metric"); const grpc_channel_filter BackendMetricFilter::kFilter = MakePromiseBasedFilter( "backend_metric"); +absl::StatusOr LegacyBackendMetricFilter::Create( + const ChannelArgs&, ChannelFilter::Args) { + return LegacyBackendMetricFilter(); +} + absl::StatusOr BackendMetricFilter::Create( const ChannelArgs&, ChannelFilter::Args) { return BackendMetricFilter(); } -ArenaPromise BackendMetricFilter::MakeCallPromise( +ArenaPromise LegacyBackendMetricFilter::MakeCallPromise( CallArgs call_args, NextPromiseFactory next_promise_factory) { return ArenaPromise(Map( next_promise_factory(std::move(call_args)), @@ -150,15 +166,39 @@ ArenaPromise BackendMetricFilter::MakeCallPromise( })); } +void BackendMetricFilter::Call::OnServerTrailingMetadata(ServerMetadata& md) { + auto* ctx = &GetContext< + grpc_call_context_element>()[GRPC_CONTEXT_BACKEND_METRIC_PROVIDER]; + if (ctx == nullptr) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_backend_metric_filter_trace)) { + gpr_log(GPR_INFO, "[%p] No BackendMetricProvider.", this); + } + return; + } + absl::optional serialized = MaybeSerializeBackendMetrics( + reinterpret_cast(ctx->value)); + if (serialized.has_value() && !serialized->empty()) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_backend_metric_filter_trace)) { + gpr_log(GPR_INFO, "[%p] Backend metrics serialized. size: %" PRIuPTR, + this, serialized->size()); + } + md.Set(EndpointLoadMetricsBinMetadata(), + Slice::FromCopiedString(std::move(*serialized))); + } else if (GRPC_TRACE_FLAG_ENABLED(grpc_backend_metric_filter_trace)) { + gpr_log(GPR_INFO, "[%p] No backend metrics.", this); + } +} + void RegisterBackendMetricFilter(CoreConfiguration::Builder* builder) { - builder->channel_init()->RegisterStage( - GRPC_SERVER_CHANNEL, INT_MAX, [](ChannelStackBuilder* builder) { - if (builder->channel_args().Contains( - GRPC_ARG_SERVER_CALL_METRIC_RECORDING)) { - builder->PrependFilter(&BackendMetricFilter::kFilter); - } - return true; - }); + if (IsV3BackendMetricFilterEnabled()) { + builder->channel_init() + ->RegisterFilter(GRPC_SERVER_CHANNEL) + .IfHasChannelArg(GRPC_ARG_SERVER_CALL_METRIC_RECORDING); + } else { + builder->channel_init() + ->RegisterFilter(GRPC_SERVER_CHANNEL) + .IfHasChannelArg(GRPC_ARG_SERVER_CALL_METRIC_RECORDING); + } } } // namespace grpc_core diff --git a/src/core/ext/filters/backend_metrics/backend_metric_filter.h b/src/core/ext/filters/backend_metrics/backend_metric_filter.h index 403028b023a..2e6766339f9 100644 --- a/src/core/ext/filters/backend_metrics/backend_metric_filter.h +++ b/src/core/ext/filters/backend_metrics/backend_metric_filter.h @@ -31,20 +31,34 @@ namespace grpc_core { -class BackendMetricFilter : public ChannelFilter { +class LegacyBackendMetricFilter : public ChannelFilter { public: static const grpc_channel_filter kFilter; - static absl::StatusOr Create(const ChannelArgs& args, - ChannelFilter::Args); + static absl::StatusOr Create( + const ChannelArgs& args, ChannelFilter::Args); // Construct a promise for one call. ArenaPromise MakeCallPromise( CallArgs call_args, NextPromiseFactory next_promise_factory) override; +}; + +class BackendMetricFilter : public ImplementChannelFilter { + public: + static const grpc_channel_filter kFilter; + + static absl::StatusOr Create(const ChannelArgs& args, + ChannelFilter::Args); - private: - absl::optional MaybeSerializeBackendMetrics( - BackendMetricProvider* provider) const; + class Call { + public: + static const NoInterceptor OnClientInitialMetadata; + static const NoInterceptor OnServerInitialMetadata; + void OnServerTrailingMetadata(ServerMetadata& md); + static const NoInterceptor OnClientToServerMessage; + static const NoInterceptor OnServerToClientMessage; + static const NoInterceptor OnFinalize; + }; }; } // namespace grpc_core diff --git a/src/core/ext/filters/channel_idle/channel_idle_filter.cc b/src/core/ext/filters/channel_idle/channel_idle_filter.cc index 7056e3c8675..880d10ab01c 100644 --- a/src/core/ext/filters/channel_idle/channel_idle_filter.cc +++ b/src/core/ext/filters/channel_idle/channel_idle_filter.cc @@ -19,12 +19,11 @@ #include "src/core/ext/filters/channel_idle/channel_idle_filter.h" -#include - #include #include #include "absl/base/thread_annotations.h" +#include "absl/meta/type_traits.h" #include "absl/random/random.h" #include "absl/types/optional.h" @@ -32,7 +31,6 @@ #include #include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/channel/channel_stack_builder.h" #include "src/core/lib/channel/promise_based_filter.h" #include "src/core/lib/config/core_configuration.h" #include "src/core/lib/debug/trace.h" @@ -52,17 +50,27 @@ #include "src/core/lib/promise/promise.h" #include "src/core/lib/promise/sleep.h" #include "src/core/lib/promise/try_seq.h" -#include "src/core/lib/surface/channel_init.h" #include "src/core/lib/surface/channel_stack_type.h" #include "src/core/lib/transport/http2_errors.h" +#include "src/core/lib/transport/metadata_batch.h" namespace grpc_core { +const NoInterceptor ChannelIdleFilter::Call::OnClientInitialMetadata; +const NoInterceptor ChannelIdleFilter::Call::OnServerInitialMetadata; +const NoInterceptor ChannelIdleFilter::Call::OnServerTrailingMetadata; +const NoInterceptor ChannelIdleFilter::Call::OnClientToServerMessage; +const NoInterceptor ChannelIdleFilter::Call::OnServerToClientMessage; +const NoInterceptor ChannelIdleFilter::Call::OnFinalize; + namespace { -// TODO(ctiller): The idle filter was disabled in client channel by default -// due to b/143502997. Now the bug is fixed enable the filter by default. -const auto kDefaultIdleTimeout = Duration::Infinity(); +// TODO(roth): This can go back to being a constant when the experiment +// is removed. +Duration DefaultIdleTimeout() { + if (IsClientIdlenessEnabled()) return Duration::Minutes(30); + return Duration::Infinity(); +} // If these settings change, make sure that we are not sending a GOAWAY for // inproc transport, since a GOAWAY to inproc ends up destroying the transport. @@ -85,7 +93,7 @@ namespace { Duration GetClientIdleTimeout(const ChannelArgs& args) { return args.GetDurationFromIntMillis(GRPC_ARG_CLIENT_IDLE_TIMEOUT_MS) - .value_or(kDefaultIdleTimeout); + .value_or(DefaultIdleTimeout()); } } // namespace @@ -127,8 +135,7 @@ struct MaxAgeFilter::Config { 1.0 - kMaxConnectionAgeJitter, 1.0 + kMaxConnectionAgeJitter); // GRPC_MILLIS_INF_FUTURE - 0.5 converts the value to float, so that result // will not be cast to int implicitly before the comparison. - return Config{args_max_age * multiplier, - args_max_idle * (IsJitterMaxIdleEnabled() ? multiplier : 1.0), + return Config{args_max_age * multiplier, args_max_idle * multiplier, args_max_age_grace}; } }; @@ -221,17 +228,6 @@ void MaxAgeFilter::PostInit() { } } -// Construct a promise for one call. -ArenaPromise ChannelIdleFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { - using Decrementer = std::unique_ptr; - IncreaseCallCount(); - return ArenaPromise( - [decrementer = Decrementer(this), - next = next_promise_factory(std::move(call_args))]() mutable - -> Poll { return next(); }); -} - bool ChannelIdleFilter::StartTransportOp(grpc_transport_op* op) { // Catch the disconnect_with_error transport op. if (!op->disconnect_with_error.ok()) Shutdown(); @@ -298,25 +294,19 @@ const grpc_channel_filter MaxAgeFilter::kFilter = MakePromiseBasedFilter("max_age"); void RegisterChannelIdleFilters(CoreConfiguration::Builder* builder) { - builder->channel_init()->RegisterStage( - GRPC_CLIENT_CHANNEL, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, - [](ChannelStackBuilder* builder) { - auto channel_args = builder->channel_args(); - if (!channel_args.WantMinimalStack() && - GetClientIdleTimeout(channel_args) != Duration::Infinity()) { - builder->PrependFilter(&ClientIdleFilter::kFilter); - } - return true; + GPR_ASSERT(MaxAgeFilter::kFilter.init_call != nullptr); + if (!IsV3ChannelIdleFiltersEnabled()) return; + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_CHANNEL) + .ExcludeFromMinimalStack() + .If([](const ChannelArgs& channel_args) { + return GetClientIdleTimeout(channel_args) != Duration::Infinity(); }); - builder->channel_init()->RegisterStage( - GRPC_SERVER_CHANNEL, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, - [](ChannelStackBuilder* builder) { - auto channel_args = builder->channel_args(); - if (!channel_args.WantMinimalStack() && - MaxAgeFilter::Config::FromChannelArgs(channel_args).enable()) { - builder->PrependFilter(&MaxAgeFilter::kFilter); - } - return true; + builder->channel_init() + ->RegisterFilter(GRPC_SERVER_CHANNEL) + .ExcludeFromMinimalStack() + .If([](const ChannelArgs& channel_args) { + return MaxAgeFilter::Config::FromChannelArgs(channel_args).enable(); }); } diff --git a/src/core/ext/filters/channel_idle/channel_idle_filter.h b/src/core/ext/filters/channel_idle/channel_idle_filter.h index 1a2803881be..67caadfd5a7 100644 --- a/src/core/ext/filters/channel_idle/channel_idle_filter.h +++ b/src/core/ext/filters/channel_idle/channel_idle_filter.h @@ -40,7 +40,7 @@ namespace grpc_core { -class ChannelIdleFilter : public ChannelFilter { +class ChannelIdleFilter : public ImplementChannelFilter { public: ~ChannelIdleFilter() override = default; @@ -49,9 +49,23 @@ class ChannelIdleFilter : public ChannelFilter { ChannelIdleFilter(ChannelIdleFilter&&) = default; ChannelIdleFilter& operator=(ChannelIdleFilter&&) = default; - // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + explicit Call(ChannelIdleFilter* filter) : filter_(filter) { + filter_->IncreaseCallCount(); + } + ~Call() { filter_->DecreaseCallCount(); } + + static const NoInterceptor OnClientInitialMetadata; + static const NoInterceptor OnServerInitialMetadata; + static const NoInterceptor OnServerTrailingMetadata; + static const NoInterceptor OnClientToServerMessage; + static const NoInterceptor OnServerToClientMessage; + static const NoInterceptor OnFinalize; + + private: + ChannelIdleFilter* filter_; + }; bool StartTransportOp(grpc_transport_op* op) override; @@ -75,12 +89,6 @@ class ChannelIdleFilter : public ChannelFilter { private: void StartIdleTimer(); - struct CallCountDecreaser { - void operator()(ChannelIdleFilter* filter) const { - filter->DecreaseCallCount(); - } - }; - // The channel stack to which we take refs for pending callbacks. grpc_channel_stack* channel_stack_; Duration client_idle_timeout_; diff --git a/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc b/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc new file mode 100644 index 00000000000..8cb06f4b764 --- /dev/null +++ b/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc @@ -0,0 +1,326 @@ +// Copyright 2022 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// TODO(ctiller): Add a unit test suite for these filters once it's practical to +// mock transport operations. + +#include + +#include "src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h" + +#include +#include + +#include "absl/base/thread_annotations.h" +#include "absl/meta/type_traits.h" +#include "absl/random/random.h" +#include "absl/types/optional.h" + +#include +#include + +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/channel/promise_based_filter.h" +#include "src/core/lib/config/core_configuration.h" +#include "src/core/lib/debug/trace.h" +#include "src/core/lib/experiments/experiments.h" +#include "src/core/lib/gprpp/debug_location.h" +#include "src/core/lib/gprpp/no_destruct.h" +#include "src/core/lib/gprpp/orphanable.h" +#include "src/core/lib/gprpp/per_cpu.h" +#include "src/core/lib/gprpp/status_helper.h" +#include "src/core/lib/gprpp/sync.h" +#include "src/core/lib/iomgr/closure.h" +#include "src/core/lib/iomgr/error.h" +#include "src/core/lib/iomgr/exec_ctx.h" +#include "src/core/lib/promise/exec_ctx_wakeup_scheduler.h" +#include "src/core/lib/promise/loop.h" +#include "src/core/lib/promise/poll.h" +#include "src/core/lib/promise/promise.h" +#include "src/core/lib/promise/sleep.h" +#include "src/core/lib/promise/try_seq.h" +#include "src/core/lib/surface/channel_stack_type.h" +#include "src/core/lib/transport/http2_errors.h" +#include "src/core/lib/transport/metadata_batch.h" + +namespace grpc_core { + +namespace { + +// TODO(roth): This can go back to being a constant when the experiment +// is removed. +Duration DefaultIdleTimeout() { + if (IsClientIdlenessEnabled()) return Duration::Minutes(30); + return Duration::Infinity(); +} + +// If these settings change, make sure that we are not sending a GOAWAY for +// inproc transport, since a GOAWAY to inproc ends up destroying the transport. +const auto kDefaultMaxConnectionAge = Duration::Infinity(); +const auto kDefaultMaxConnectionAgeGrace = Duration::Infinity(); +const auto kDefaultMaxConnectionIdle = Duration::Infinity(); +const auto kMaxConnectionAgeJitter = 0.1; + +TraceFlag grpc_trace_client_idle_filter(false, "client_idle_filter"); +} // namespace + +#define GRPC_IDLE_FILTER_LOG(format, ...) \ + do { \ + if (GRPC_TRACE_FLAG_ENABLED(grpc_trace_client_idle_filter)) { \ + gpr_log(GPR_INFO, "(client idle filter) " format, ##__VA_ARGS__); \ + } \ + } while (0) + +namespace { + +Duration GetClientIdleTimeout(const ChannelArgs& args) { + return args.GetDurationFromIntMillis(GRPC_ARG_CLIENT_IDLE_TIMEOUT_MS) + .value_or(DefaultIdleTimeout()); +} + +} // namespace + +struct LegacyMaxAgeFilter::Config { + Duration max_connection_age; + Duration max_connection_idle; + Duration max_connection_age_grace; + + bool enable() const { + return max_connection_age != Duration::Infinity() || + max_connection_idle != Duration::Infinity(); + } + + // A random jitter of +/-10% will be added to MAX_CONNECTION_AGE and + // MAX_CONNECTION_IDLE to spread out reconnection storms. + static Config FromChannelArgs(const ChannelArgs& args) { + const Duration args_max_age = + args.GetDurationFromIntMillis(GRPC_ARG_MAX_CONNECTION_AGE_MS) + .value_or(kDefaultMaxConnectionAge); + const Duration args_max_idle = + args.GetDurationFromIntMillis(GRPC_ARG_MAX_CONNECTION_IDLE_MS) + .value_or(kDefaultMaxConnectionIdle); + const Duration args_max_age_grace = + args.GetDurationFromIntMillis(GRPC_ARG_MAX_CONNECTION_AGE_GRACE_MS) + .value_or(kDefaultMaxConnectionAgeGrace); + // generate a random number between 1 - kMaxConnectionAgeJitter and + // 1 + kMaxConnectionAgeJitter + struct BitGen { + Mutex mu; + absl::BitGen bit_gen ABSL_GUARDED_BY(mu); + double MakeUniformDouble(double min, double max) { + MutexLock lock(&mu); + return absl::Uniform(bit_gen, min, max); + } + }; + static NoDestruct> bit_gen(PerCpuOptions().SetMaxShards(8)); + const double multiplier = bit_gen->this_cpu().MakeUniformDouble( + 1.0 - kMaxConnectionAgeJitter, 1.0 + kMaxConnectionAgeJitter); + // GRPC_MILLIS_INF_FUTURE - 0.5 converts the value to float, so that result + // will not be cast to int implicitly before the comparison. + return Config{args_max_age * multiplier, args_max_idle * multiplier, + args_max_age_grace}; + } +}; + +absl::StatusOr LegacyClientIdleFilter::Create( + const ChannelArgs& args, ChannelFilter::Args filter_args) { + LegacyClientIdleFilter filter(filter_args.channel_stack(), + GetClientIdleTimeout(args)); + return absl::StatusOr(std::move(filter)); +} + +absl::StatusOr LegacyMaxAgeFilter::Create( + const ChannelArgs& args, ChannelFilter::Args filter_args) { + LegacyMaxAgeFilter filter(filter_args.channel_stack(), + Config::FromChannelArgs(args)); + return absl::StatusOr(std::move(filter)); +} + +void LegacyMaxAgeFilter::Shutdown() { + max_age_activity_.Reset(); + LegacyChannelIdleFilter::Shutdown(); +} + +void LegacyMaxAgeFilter::PostInit() { + struct StartupClosure { + RefCountedPtr channel_stack; + LegacyMaxAgeFilter* filter; + grpc_closure closure; + }; + auto run_startup = [](void* p, grpc_error_handle) { + auto* startup = static_cast(p); + // Trigger idle timer + startup->filter->IncreaseCallCount(); + startup->filter->DecreaseCallCount(); + grpc_transport_op* op = grpc_make_transport_op(nullptr); + op->start_connectivity_watch.reset( + new ConnectivityWatcher(startup->filter)); + op->start_connectivity_watch_state = GRPC_CHANNEL_IDLE; + grpc_channel_next_op( + grpc_channel_stack_element(startup->channel_stack.get(), 0), op); + delete startup; + }; + auto* startup = + new StartupClosure{this->channel_stack()->Ref(), this, grpc_closure{}}; + GRPC_CLOSURE_INIT(&startup->closure, run_startup, startup, nullptr); + ExecCtx::Run(DEBUG_LOCATION, &startup->closure, absl::OkStatus()); + + auto channel_stack = this->channel_stack()->Ref(); + + // Start the max age timer + if (max_connection_age_ != Duration::Infinity()) { + max_age_activity_.Set(MakeActivity( + TrySeq( + // First sleep until the max connection age + Sleep(Timestamp::Now() + max_connection_age_), + // Then send a goaway. + [this] { + GRPC_CHANNEL_STACK_REF(this->channel_stack(), + "max_age send_goaway"); + // Jump out of the activity to send the goaway. + auto fn = [](void* arg, grpc_error_handle) { + auto* channel_stack = static_cast(arg); + grpc_transport_op* op = grpc_make_transport_op(nullptr); + op->goaway_error = grpc_error_set_int( + GRPC_ERROR_CREATE("max_age"), + StatusIntProperty::kHttp2Error, GRPC_HTTP2_NO_ERROR); + grpc_channel_element* elem = + grpc_channel_stack_element(channel_stack, 0); + elem->filter->start_transport_op(elem, op); + GRPC_CHANNEL_STACK_UNREF(channel_stack, "max_age send_goaway"); + }; + ExecCtx::Run( + DEBUG_LOCATION, + GRPC_CLOSURE_CREATE(fn, this->channel_stack(), nullptr), + absl::OkStatus()); + return Immediate(absl::OkStatus()); + }, + // Sleep for the grace period + [this] { + return Sleep(Timestamp::Now() + max_connection_age_grace_); + }), + ExecCtxWakeupScheduler(), + [channel_stack, this](absl::Status status) { + // OnDone -- close the connection if the promise completed + // successfully. + // (if it did not, it was cancelled) + if (status.ok()) CloseChannel(); + }, + channel_stack->EventEngine())); + } +} + +// Construct a promise for one call. +ArenaPromise LegacyChannelIdleFilter::MakeCallPromise( + CallArgs call_args, NextPromiseFactory next_promise_factory) { + using Decrementer = + std::unique_ptr; + IncreaseCallCount(); + return ArenaPromise( + [decrementer = Decrementer(this), + next = next_promise_factory(std::move(call_args))]() mutable + -> Poll { return next(); }); +} + +bool LegacyChannelIdleFilter::StartTransportOp(grpc_transport_op* op) { + // Catch the disconnect_with_error transport op. + if (!op->disconnect_with_error.ok()) Shutdown(); + // Pass the op to the next filter. + return false; +} + +void LegacyChannelIdleFilter::Shutdown() { + // IncreaseCallCount() introduces a phony call and prevent the timer from + // being reset by other threads. + IncreaseCallCount(); + activity_.Reset(); +} + +void LegacyChannelIdleFilter::IncreaseCallCount() { + idle_filter_state_->IncreaseCallCount(); +} + +void LegacyChannelIdleFilter::DecreaseCallCount() { + if (idle_filter_state_->DecreaseCallCount()) { + // If there are no more calls in progress, start the idle timer. + StartIdleTimer(); + } +} + +void LegacyChannelIdleFilter::StartIdleTimer() { + GRPC_IDLE_FILTER_LOG("timer has started"); + auto idle_filter_state = idle_filter_state_; + // Hold a ref to the channel stack for the timer callback. + auto channel_stack = channel_stack_->Ref(); + auto timeout = client_idle_timeout_; + auto promise = Loop([timeout, idle_filter_state]() { + return TrySeq(Sleep(Timestamp::Now() + timeout), + [idle_filter_state]() -> Poll> { + if (idle_filter_state->CheckTimer()) { + return Continue{}; + } else { + return absl::OkStatus(); + } + }); + }); + activity_.Set(MakeActivity( + std::move(promise), ExecCtxWakeupScheduler{}, + [channel_stack, this](absl::Status status) { + if (status.ok()) CloseChannel(); + }, + channel_stack->EventEngine())); +} + +void LegacyChannelIdleFilter::CloseChannel() { + auto* op = grpc_make_transport_op(nullptr); + op->disconnect_with_error = grpc_error_set_int( + GRPC_ERROR_CREATE("enter idle"), + StatusIntProperty::ChannelConnectivityState, GRPC_CHANNEL_IDLE); + // Pass the transport op down to the channel stack. + auto* elem = grpc_channel_stack_element(channel_stack_, 0); + elem->filter->start_transport_op(elem, op); +} + +const grpc_channel_filter LegacyClientIdleFilter::kFilter = + MakePromiseBasedFilter( + "client_idle"); +const grpc_channel_filter LegacyMaxAgeFilter::kFilter = + MakePromiseBasedFilter( + "max_age"); + +void RegisterLegacyChannelIdleFilters(CoreConfiguration::Builder* builder) { + if (IsV3ChannelIdleFiltersEnabled()) return; + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_CHANNEL) + .ExcludeFromMinimalStack() + .If([](const ChannelArgs& channel_args) { + return GetClientIdleTimeout(channel_args) != Duration::Infinity(); + }); + builder->channel_init() + ->RegisterFilter(GRPC_SERVER_CHANNEL) + .ExcludeFromMinimalStack() + .If([](const ChannelArgs& channel_args) { + return LegacyMaxAgeFilter::Config::FromChannelArgs(channel_args) + .enable(); + }); +} + +LegacyMaxAgeFilter::LegacyMaxAgeFilter(grpc_channel_stack* channel_stack, + const Config& max_age_config) + : LegacyChannelIdleFilter(channel_stack, + max_age_config.max_connection_idle), + max_connection_age_(max_age_config.max_connection_age), + max_connection_age_grace_(max_age_config.max_connection_age_grace) {} + +} // namespace grpc_core diff --git a/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h b/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h new file mode 100644 index 00000000000..8e06505d732 --- /dev/null +++ b/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h @@ -0,0 +1,143 @@ +// Copyright 2022 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_EXT_FILTERS_CHANNEL_IDLE_LEGACY_CHANNEL_IDLE_FILTER_H +#define GRPC_SRC_CORE_EXT_FILTERS_CHANNEL_IDLE_LEGACY_CHANNEL_IDLE_FILTER_H + +#include + +#include + +#include "absl/status/status.h" +#include "absl/status/statusor.h" + +#include + +#include "src/core/ext/filters/channel_idle/idle_filter_state.h" +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/channel/channel_fwd.h" +#include "src/core/lib/channel/channel_stack.h" +#include "src/core/lib/channel/promise_based_filter.h" +#include "src/core/lib/gprpp/orphanable.h" +#include "src/core/lib/gprpp/ref_counted_ptr.h" +#include "src/core/lib/gprpp/single_set_ptr.h" +#include "src/core/lib/gprpp/time.h" +#include "src/core/lib/promise/activity.h" +#include "src/core/lib/promise/arena_promise.h" +#include "src/core/lib/transport/connectivity_state.h" +#include "src/core/lib/transport/transport.h" + +namespace grpc_core { + +class LegacyChannelIdleFilter : public ChannelFilter { + public: + ~LegacyChannelIdleFilter() override = default; + + LegacyChannelIdleFilter(const LegacyChannelIdleFilter&) = delete; + LegacyChannelIdleFilter& operator=(const LegacyChannelIdleFilter&) = delete; + LegacyChannelIdleFilter(LegacyChannelIdleFilter&&) = default; + LegacyChannelIdleFilter& operator=(LegacyChannelIdleFilter&&) = default; + + // Construct a promise for one call. + ArenaPromise MakeCallPromise( + CallArgs call_args, NextPromiseFactory next_promise_factory) override; + + bool StartTransportOp(grpc_transport_op* op) override; + + protected: + using SingleSetActivityPtr = + SingleSetPtr; + + LegacyChannelIdleFilter(grpc_channel_stack* channel_stack, + Duration client_idle_timeout) + : channel_stack_(channel_stack), + client_idle_timeout_(client_idle_timeout) {} + + grpc_channel_stack* channel_stack() { return channel_stack_; }; + + virtual void Shutdown(); + void CloseChannel(); + + void IncreaseCallCount(); + void DecreaseCallCount(); + + private: + void StartIdleTimer(); + + struct CallCountDecreaser { + void operator()(LegacyChannelIdleFilter* filter) const { + filter->DecreaseCallCount(); + } + }; + + // The channel stack to which we take refs for pending callbacks. + grpc_channel_stack* channel_stack_; + Duration client_idle_timeout_; + std::shared_ptr idle_filter_state_{ + std::make_shared(false)}; + + SingleSetActivityPtr activity_; +}; + +class LegacyClientIdleFilter final : public LegacyChannelIdleFilter { + public: + static const grpc_channel_filter kFilter; + + static absl::StatusOr Create( + const ChannelArgs& args, ChannelFilter::Args filter_args); + + private: + using LegacyChannelIdleFilter::LegacyChannelIdleFilter; +}; + +class LegacyMaxAgeFilter final : public LegacyChannelIdleFilter { + public: + static const grpc_channel_filter kFilter; + struct Config; + + static absl::StatusOr Create( + const ChannelArgs& args, ChannelFilter::Args filter_args); + + void PostInit() override; + + private: + class ConnectivityWatcher : public AsyncConnectivityStateWatcherInterface { + public: + explicit ConnectivityWatcher(LegacyMaxAgeFilter* filter) + : channel_stack_(filter->channel_stack()->Ref()), filter_(filter) {} + ~ConnectivityWatcher() override = default; + + void OnConnectivityStateChange(grpc_connectivity_state new_state, + const absl::Status&) override { + if (new_state == GRPC_CHANNEL_SHUTDOWN) filter_->Shutdown(); + } + + private: + RefCountedPtr channel_stack_; + LegacyMaxAgeFilter* filter_; + }; + + LegacyMaxAgeFilter(grpc_channel_stack* channel_stack, + const Config& max_age_config); + + void Shutdown() override; + + SingleSetActivityPtr max_age_activity_; + Duration max_connection_age_; + Duration max_connection_age_grace_; +}; + +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_EXT_FILTERS_CHANNEL_IDLE_LEGACY_CHANNEL_IDLE_FILTER_H diff --git a/src/core/ext/filters/client_channel/OWNERS b/src/core/ext/filters/client_channel/OWNERS deleted file mode 100644 index 14a326486e3..00000000000 --- a/src/core/ext/filters/client_channel/OWNERS +++ /dev/null @@ -1,3 +0,0 @@ -set noparent -@markdroth - diff --git a/src/core/ext/filters/client_channel/backend_metric.cc b/src/core/ext/filters/client_channel/backend_metric.cc deleted file mode 100644 index 0d8b13ff2e8..00000000000 --- a/src/core/ext/filters/client_channel/backend_metric.cc +++ /dev/null @@ -1,95 +0,0 @@ -// -// Copyright 2019 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#include - -#include "src/core/ext/filters/client_channel/backend_metric.h" - -#include - -#include - -#include "absl/strings/string_view.h" -#include "upb/base/string_view.h" -#include "upb/collections/map.h" -#include "upb/upb.hpp" -#include "xds/data/orca/v3/orca_load_report.upb.h" - -namespace grpc_core { - -namespace { - -template -std::map ParseMap( - xds_data_orca_v3_OrcaLoadReport* msg, - const EntryType* (*entry_func)(const xds_data_orca_v3_OrcaLoadReport*, - size_t*), - upb_StringView (*key_func)(const EntryType*), - double (*value_func)(const EntryType*), - BackendMetricAllocatorInterface* allocator) { - std::map result; - size_t i = kUpb_Map_Begin; - while (true) { - const auto* entry = entry_func(msg, &i); - if (entry == nullptr) break; - upb_StringView key_view = key_func(entry); - char* key = allocator->AllocateString(key_view.size); - memcpy(key, key_view.data, key_view.size); - result[absl::string_view(key, key_view.size)] = value_func(entry); - } - return result; -} - -} // namespace - -const BackendMetricData* ParseBackendMetricData( - absl::string_view serialized_load_report, - BackendMetricAllocatorInterface* allocator) { - upb::Arena upb_arena; - xds_data_orca_v3_OrcaLoadReport* msg = xds_data_orca_v3_OrcaLoadReport_parse( - serialized_load_report.data(), serialized_load_report.size(), - upb_arena.ptr()); - if (msg == nullptr) return nullptr; - BackendMetricData* backend_metric_data = - allocator->AllocateBackendMetricData(); - backend_metric_data->cpu_utilization = - xds_data_orca_v3_OrcaLoadReport_cpu_utilization(msg); - backend_metric_data->mem_utilization = - xds_data_orca_v3_OrcaLoadReport_mem_utilization(msg); - backend_metric_data->application_utilization = - xds_data_orca_v3_OrcaLoadReport_application_utilization(msg); - backend_metric_data->qps = - xds_data_orca_v3_OrcaLoadReport_rps_fractional(msg); - backend_metric_data->eps = xds_data_orca_v3_OrcaLoadReport_eps(msg); - backend_metric_data->request_cost = - ParseMap( - msg, xds_data_orca_v3_OrcaLoadReport_request_cost_next, - xds_data_orca_v3_OrcaLoadReport_RequestCostEntry_key, - xds_data_orca_v3_OrcaLoadReport_RequestCostEntry_value, allocator); - backend_metric_data->utilization = - ParseMap( - msg, xds_data_orca_v3_OrcaLoadReport_utilization_next, - xds_data_orca_v3_OrcaLoadReport_UtilizationEntry_key, - xds_data_orca_v3_OrcaLoadReport_UtilizationEntry_value, allocator); - backend_metric_data->named_metrics = - ParseMap( - msg, xds_data_orca_v3_OrcaLoadReport_named_metrics_next, - xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry_key, - xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry_value, allocator); - return backend_metric_data; -} - -} // namespace grpc_core diff --git a/src/core/ext/filters/client_channel/backend_metric.h b/src/core/ext/filters/client_channel/backend_metric.h deleted file mode 100644 index 8ad0bff053b..00000000000 --- a/src/core/ext/filters/client_channel/backend_metric.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// Copyright 2019 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_BACKEND_METRIC_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_BACKEND_METRIC_H - -#include - -#include - -#include "absl/strings/string_view.h" - -#include "src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h" - -namespace grpc_core { - -class BackendMetricAllocatorInterface { - public: - virtual ~BackendMetricAllocatorInterface() = default; - - virtual BackendMetricData* AllocateBackendMetricData() = 0; - - virtual char* AllocateString(size_t size) = 0; -}; - -// Parses the serialized load report and populates out. -// Returns false on error. -const BackendMetricData* ParseBackendMetricData( - absl::string_view serialized_load_report, - BackendMetricAllocatorInterface* allocator); - -} // namespace grpc_core - -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_BACKEND_METRIC_H diff --git a/src/core/ext/filters/client_channel/client_channel.cc b/src/core/ext/filters/client_channel/client_channel.cc deleted file mode 100644 index b315bf19050..00000000000 --- a/src/core/ext/filters/client_channel/client_channel.cc +++ /dev/null @@ -1,3612 +0,0 @@ -// -// Copyright 2015 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#include - -#include "src/core/ext/filters/client_channel/client_channel.h" - -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -#include "absl/cleanup/cleanup.h" -#include "absl/status/status.h" -#include "absl/status/statusor.h" -#include "absl/strings/cord.h" -#include "absl/strings/numbers.h" -#include "absl/strings/str_cat.h" -#include "absl/strings/str_join.h" -#include "absl/strings/string_view.h" -#include "absl/types/optional.h" -#include "absl/types/variant.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "src/core/ext/filters/client_channel/backend_metric.h" -#include "src/core/ext/filters/client_channel/backup_poller.h" -#include "src/core/ext/filters/client_channel/client_channel_channelz.h" -#include "src/core/ext/filters/client_channel/client_channel_internal.h" -#include "src/core/ext/filters/client_channel/client_channel_service_config.h" -#include "src/core/ext/filters/client_channel/config_selector.h" -#include "src/core/ext/filters/client_channel/dynamic_filters.h" -#include "src/core/ext/filters/client_channel/global_subchannel_pool.h" -#include "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h" -#include "src/core/ext/filters/client_channel/local_subchannel_pool.h" -#include "src/core/ext/filters/client_channel/retry_filter.h" -#include "src/core/ext/filters/client_channel/subchannel.h" -#include "src/core/ext/filters/client_channel/subchannel_interface_internal.h" -#include "src/core/ext/filters/deadline/deadline_filter.h" -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/channel/channel_stack.h" -#include "src/core/lib/channel/channel_trace.h" -#include "src/core/lib/channel/status_util.h" -#include "src/core/lib/config/core_configuration.h" -#include "src/core/lib/debug/trace.h" -#include "src/core/lib/experiments/experiments.h" -#include "src/core/lib/gpr/useful.h" -#include "src/core/lib/gprpp/crash.h" -#include "src/core/lib/gprpp/debug_location.h" -#include "src/core/lib/gprpp/manual_constructor.h" -#include "src/core/lib/gprpp/status_helper.h" -#include "src/core/lib/gprpp/sync.h" -#include "src/core/lib/gprpp/unique_type_name.h" -#include "src/core/lib/gprpp/work_serializer.h" -#include "src/core/lib/handshaker/proxy_mapper_registry.h" -#include "src/core/lib/iomgr/exec_ctx.h" -#include "src/core/lib/iomgr/polling_entity.h" -#include "src/core/lib/iomgr/pollset_set.h" -#include "src/core/lib/json/json.h" -#include "src/core/lib/load_balancing/lb_policy_registry.h" -#include "src/core/lib/load_balancing/subchannel_interface.h" -#include "src/core/lib/promise/cancel_callback.h" -#include "src/core/lib/promise/context.h" -#include "src/core/lib/promise/latch.h" -#include "src/core/lib/promise/map.h" -#include "src/core/lib/promise/pipe.h" -#include "src/core/lib/promise/poll.h" -#include "src/core/lib/promise/promise.h" -#include "src/core/lib/promise/try_seq.h" -#include "src/core/lib/resolver/resolver_registry.h" -#include "src/core/lib/resolver/server_address.h" -#include "src/core/lib/security/credentials/credentials.h" -#include "src/core/lib/service_config/service_config_call_data.h" -#include "src/core/lib/service_config/service_config_impl.h" -#include "src/core/lib/slice/slice.h" -#include "src/core/lib/slice/slice_internal.h" -#include "src/core/lib/surface/call.h" -#include "src/core/lib/surface/channel.h" -#include "src/core/lib/transport/connectivity_state.h" -#include "src/core/lib/transport/error_utils.h" -#include "src/core/lib/transport/metadata_batch.h" - -// -// Client channel filter -// - -namespace grpc_core { - -using internal::ClientChannelMethodParsedConfig; - -TraceFlag grpc_client_channel_trace(false, "client_channel"); -TraceFlag grpc_client_channel_call_trace(false, "client_channel_call"); -TraceFlag grpc_client_channel_lb_call_trace(false, "client_channel_lb_call"); - -// -// ClientChannel::CallData definition -// - -class ClientChannel::CallData { - public: - // Removes the call from the channel's list of calls queued - // for name resolution. - void RemoveCallFromResolverQueuedCallsLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_); - - // Called by the channel for each queued call when a new resolution - // result becomes available. - virtual void RetryCheckResolutionLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_) = 0; - - RefCountedPtr dynamic_filters() const { - return dynamic_filters_; - } - - protected: - CallData() = default; - virtual ~CallData() = default; - - // Checks whether a resolver result is available. The following - // outcomes are possible: - // - No resolver result is available yet. The call will be queued and - // absl::nullopt will be returned. Later, when a resolver result - // becomes available, RetryCheckResolutionLocked() will be called. - // - The resolver has returned a transient failure. If the call is - // not wait_for_ready, a non-OK status will be returned. (If the - // call *is* wait_for_ready, it will be queued instead.) - // - There is a valid resolver result. The service config will be - // stored in the call context and an OK status will be returned. - absl::optional CheckResolution(bool was_queued); - - private: - // Accessors for data stored in the subclass. - virtual ClientChannel* chand() const = 0; - virtual Arena* arena() const = 0; - virtual grpc_polling_entity* pollent() = 0; - virtual grpc_metadata_batch* send_initial_metadata() = 0; - virtual grpc_call_context_element* call_context() const = 0; - - // Helper function for CheckResolution(). Returns true if the call - // can continue (i.e., there is a valid resolution result, or there is - // an invalid resolution result but the call is not wait_for_ready). - bool CheckResolutionLocked( - absl::StatusOr>* config_selector) - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_); - - // Adds the call to the channel's list of calls queued for name resolution. - void AddCallToResolverQueuedCallsLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_); - - // Called when adding the call to the resolver queue. - virtual void OnAddToQueueLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_) {} - - // Applies service config to the call. Must be invoked once we know - // that the resolver has returned results to the channel. - // If an error is returned, the error indicates the status with which - // the call should be failed. - grpc_error_handle ApplyServiceConfigToCallLocked( - const absl::StatusOr>& config_selector); - - // Called to reset the deadline based on the service config obtained - // from the resolver. - virtual void ResetDeadline(Duration timeout) = 0; - - RefCountedPtr dynamic_filters_; -}; - -class ClientChannel::FilterBasedCallData : public ClientChannel::CallData { - public: - static grpc_error_handle Init(grpc_call_element* elem, - const grpc_call_element_args* args); - static void Destroy(grpc_call_element* elem, - const grpc_call_final_info* final_info, - grpc_closure* then_schedule_closure); - static void StartTransportStreamOpBatch( - grpc_call_element* elem, grpc_transport_stream_op_batch* batch); - static void SetPollent(grpc_call_element* elem, grpc_polling_entity* pollent); - - private: - class ResolverQueuedCallCanceller; - - FilterBasedCallData(grpc_call_element* elem, - const grpc_call_element_args& args); - ~FilterBasedCallData() override; - - grpc_call_element* elem() const { return deadline_state_.elem; } - grpc_call_stack* owning_call() const { return deadline_state_.call_stack; } - CallCombiner* call_combiner() const { return deadline_state_.call_combiner; } - - ClientChannel* chand() const override { - return static_cast(elem()->channel_data); - } - Arena* arena() const override { return deadline_state_.arena; } - grpc_polling_entity* pollent() override { return pollent_; } - grpc_metadata_batch* send_initial_metadata() override { - return pending_batches_[0] - ->payload->send_initial_metadata.send_initial_metadata; - } - grpc_call_context_element* call_context() const override { - return call_context_; - } - - // Returns the index into pending_batches_ to be used for batch. - static size_t GetBatchIndex(grpc_transport_stream_op_batch* batch); - void PendingBatchesAdd(grpc_transport_stream_op_batch* batch); - static void FailPendingBatchInCallCombiner(void* arg, - grpc_error_handle error); - // A predicate type and some useful implementations for PendingBatchesFail(). - typedef bool (*YieldCallCombinerPredicate)( - const CallCombinerClosureList& closures); - static bool YieldCallCombiner(const CallCombinerClosureList& /*closures*/) { - return true; - } - static bool NoYieldCallCombiner(const CallCombinerClosureList& /*closures*/) { - return false; - } - static bool YieldCallCombinerIfPendingBatchesFound( - const CallCombinerClosureList& closures) { - return closures.size() > 0; - } - // Fails all pending batches. - // If yield_call_combiner_predicate returns true, assumes responsibility for - // yielding the call combiner. - void PendingBatchesFail( - grpc_error_handle error, - YieldCallCombinerPredicate yield_call_combiner_predicate); - static void ResumePendingBatchInCallCombiner(void* arg, - grpc_error_handle ignored); - // Resumes all pending batches on dynamic_call_. - void PendingBatchesResume(); - - // Called to check for a resolution result, both when the call is - // initially started and when it is queued and the channel gets a new - // resolution result. - void TryCheckResolution(bool was_queued); - - void OnAddToQueueLocked() override - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_); - - void RetryCheckResolutionLocked() override - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_); - - void ResetDeadline(Duration timeout) override { - const Timestamp per_method_deadline = - Timestamp::FromCycleCounterRoundUp(call_start_time_) + timeout; - if (per_method_deadline < deadline_) { - deadline_ = per_method_deadline; - grpc_deadline_state_reset(&deadline_state_, deadline_); - } - } - - void CreateDynamicCall(); - - static void RecvTrailingMetadataReadyForConfigSelectorCommitCallback( - void* arg, grpc_error_handle error); - - grpc_slice path_; // Request path. - grpc_call_context_element* call_context_; - gpr_cycle_counter call_start_time_; - Timestamp deadline_; - - // State for handling deadlines. - grpc_deadline_state deadline_state_; - - grpc_polling_entity* pollent_ = nullptr; - - // Accessed while holding ClientChannel::resolution_mu_. - ResolverQueuedCallCanceller* resolver_call_canceller_ - ABSL_GUARDED_BY(&ClientChannel::resolution_mu_) = nullptr; - - grpc_closure* original_recv_trailing_metadata_ready_ = nullptr; - grpc_closure recv_trailing_metadata_ready_; - - RefCountedPtr dynamic_call_; - - // Batches are added to this list when received from above. - // They are removed when we are done handling the batch (i.e., when - // either we have invoked all of the batch's callbacks or we have - // passed the batch down to the LB call and are not intercepting any of - // its callbacks). - grpc_transport_stream_op_batch* pending_batches_[MAX_PENDING_BATCHES] = {}; - - // Set when we get a cancel_stream op. - grpc_error_handle cancel_error_; -}; - -class ClientChannel::PromiseBasedCallData : public ClientChannel::CallData { - public: - explicit PromiseBasedCallData(ClientChannel* chand) : chand_(chand) {} - - ArenaPromise> MakeNameResolutionPromise( - CallArgs call_args) { - pollent_ = NowOrNever(call_args.polling_entity->WaitAndCopy()).value(); - client_initial_metadata_ = std::move(call_args.client_initial_metadata); - // If we're still in IDLE, we need to start resolving. - if (GPR_UNLIKELY(chand_->CheckConnectivityState(false) == - GRPC_CHANNEL_IDLE)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, "chand=%p calld=%p: %striggering exit idle", chand_, - this, Activity::current()->DebugTag().c_str()); - } - // Bounce into the control plane work serializer to start resolving. - GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ExitIdle"); - chand_->work_serializer_->Run( - [chand = chand_]() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - chand->CheckConnectivityState(/*try_to_connect=*/true); - GRPC_CHANNEL_STACK_UNREF(chand->owning_stack_, "ExitIdle"); - }, - DEBUG_LOCATION); - } - return [this, call_args = std::move( - call_args)]() mutable -> Poll> { - auto result = CheckResolution(was_queued_); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, "chand=%p calld=%p: %sCheckResolution returns %s", - chand_, this, Activity::current()->DebugTag().c_str(), - result.has_value() ? result->ToString().c_str() : "Pending"); - } - if (!result.has_value()) return Pending{}; - if (!result->ok()) return *result; - call_args.client_initial_metadata = std::move(client_initial_metadata_); - return std::move(call_args); - }; - } - - private: - ClientChannel* chand() const override { return chand_; } - Arena* arena() const override { return GetContext(); } - grpc_polling_entity* pollent() override { return &pollent_; } - grpc_metadata_batch* send_initial_metadata() override { - return client_initial_metadata_.get(); - } - grpc_call_context_element* call_context() const override { - return GetContext(); - } - - void OnAddToQueueLocked() override - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_) { - waker_ = Activity::current()->MakeNonOwningWaker(); - was_queued_ = true; - } - - void RetryCheckResolutionLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::resolution_mu_) override { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, "chand=%p calld=%p: RetryCheckResolutionLocked(): %s", - chand_, this, waker_.ActivityDebugTag().c_str()); - } - waker_.WakeupAsync(); - } - - void ResetDeadline(Duration timeout) override { - CallContext* call_context = GetContext(); - const Timestamp per_method_deadline = - Timestamp::FromCycleCounterRoundUp(call_context->call_start_time()) + - timeout; - call_context->UpdateDeadline(per_method_deadline); - } - - ClientChannel* chand_; - grpc_polling_entity pollent_; - ClientMetadataHandle client_initial_metadata_; - bool was_queued_ = false; - Waker waker_ ABSL_GUARDED_BY(&ClientChannel::resolution_mu_); -}; - -// -// Filter vtable -// - -const grpc_channel_filter ClientChannel::kFilterVtableWithPromises = { - ClientChannel::FilterBasedCallData::StartTransportStreamOpBatch, - ClientChannel::MakeCallPromise, - ClientChannel::StartTransportOp, - sizeof(ClientChannel::FilterBasedCallData), - ClientChannel::FilterBasedCallData::Init, - ClientChannel::FilterBasedCallData::SetPollent, - ClientChannel::FilterBasedCallData::Destroy, - sizeof(ClientChannel), - ClientChannel::Init, - grpc_channel_stack_no_post_init, - ClientChannel::Destroy, - ClientChannel::GetChannelInfo, - "client-channel", -}; - -const grpc_channel_filter ClientChannel::kFilterVtableWithoutPromises = { - ClientChannel::FilterBasedCallData::StartTransportStreamOpBatch, - nullptr, - ClientChannel::StartTransportOp, - sizeof(ClientChannel::FilterBasedCallData), - ClientChannel::FilterBasedCallData::Init, - ClientChannel::FilterBasedCallData::SetPollent, - ClientChannel::FilterBasedCallData::Destroy, - sizeof(ClientChannel), - ClientChannel::Init, - grpc_channel_stack_no_post_init, - ClientChannel::Destroy, - ClientChannel::GetChannelInfo, - "client-channel", -}; - -// -// dynamic termination filter -// - -namespace { - -ClientChannelServiceConfigCallData* GetServiceConfigCallData( - grpc_call_context_element* context) { - return static_cast( - context[GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA].value); -} - -class DynamicTerminationFilter { - public: - class CallData; - - static const grpc_channel_filter kFilterVtable; - - static grpc_error_handle Init(grpc_channel_element* elem, - grpc_channel_element_args* args) { - GPR_ASSERT(args->is_last); - GPR_ASSERT(elem->filter == &kFilterVtable); - new (elem->channel_data) DynamicTerminationFilter(args->channel_args); - return absl::OkStatus(); - } - - static void Destroy(grpc_channel_element* elem) { - auto* chand = static_cast(elem->channel_data); - chand->~DynamicTerminationFilter(); - } - - // Will never be called. - static void StartTransportOp(grpc_channel_element* /*elem*/, - grpc_transport_op* /*op*/) {} - static void GetChannelInfo(grpc_channel_element* /*elem*/, - const grpc_channel_info* /*info*/) {} - - static ArenaPromise MakeCallPromise( - grpc_channel_element* elem, CallArgs call_args, NextPromiseFactory) { - auto* chand = static_cast(elem->channel_data); - return chand->chand_->CreateLoadBalancedCallPromise( - std::move(call_args), - []() { - auto* service_config_call_data = - GetServiceConfigCallData(GetContext()); - service_config_call_data->Commit(); - }, - /*is_transparent_retry=*/false); - } - - private: - explicit DynamicTerminationFilter(const ChannelArgs& args) - : chand_(args.GetObject()) {} - - ClientChannel* chand_; -}; - -class DynamicTerminationFilter::CallData { - public: - static grpc_error_handle Init(grpc_call_element* elem, - const grpc_call_element_args* args) { - new (elem->call_data) CallData(*args); - return absl::OkStatus(); - } - - static void Destroy(grpc_call_element* elem, - const grpc_call_final_info* /*final_info*/, - grpc_closure* then_schedule_closure) { - auto* calld = static_cast(elem->call_data); - RefCountedPtr subchannel_call; - if (GPR_LIKELY(calld->lb_call_ != nullptr)) { - subchannel_call = calld->lb_call_->subchannel_call(); - } - calld->~CallData(); - if (GPR_LIKELY(subchannel_call != nullptr)) { - subchannel_call->SetAfterCallStackDestroy(then_schedule_closure); - } else { - // TODO(yashkt) : This can potentially be a Closure::Run - ExecCtx::Run(DEBUG_LOCATION, then_schedule_closure, absl::OkStatus()); - } - } - - static void StartTransportStreamOpBatch( - grpc_call_element* elem, grpc_transport_stream_op_batch* batch) { - auto* calld = static_cast(elem->call_data); - calld->lb_call_->StartTransportStreamOpBatch(batch); - } - - static void SetPollent(grpc_call_element* elem, - grpc_polling_entity* pollent) { - auto* calld = static_cast(elem->call_data); - auto* chand = static_cast(elem->channel_data); - ClientChannel* client_channel = chand->chand_; - grpc_call_element_args args = {calld->owning_call_, nullptr, - calld->call_context_, calld->path_, - /*start_time=*/0, calld->deadline_, - calld->arena_, calld->call_combiner_}; - auto* service_config_call_data = - GetServiceConfigCallData(calld->call_context_); - calld->lb_call_ = client_channel->CreateLoadBalancedCall( - args, pollent, nullptr, - [service_config_call_data]() { service_config_call_data->Commit(); }, - /*is_transparent_retry=*/false); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p dynamic_termination_calld=%p: create lb_call=%p", chand, - client_channel, calld->lb_call_.get()); - } - } - - private: - explicit CallData(const grpc_call_element_args& args) - : path_(CSliceRef(args.path)), - deadline_(args.deadline), - arena_(args.arena), - owning_call_(args.call_stack), - call_combiner_(args.call_combiner), - call_context_(args.context) {} - - ~CallData() { CSliceUnref(path_); } - - grpc_slice path_; // Request path. - Timestamp deadline_; - Arena* arena_; - grpc_call_stack* owning_call_; - CallCombiner* call_combiner_; - grpc_call_context_element* call_context_; - - OrphanablePtr lb_call_; -}; - -const grpc_channel_filter DynamicTerminationFilter::kFilterVtable = { - DynamicTerminationFilter::CallData::StartTransportStreamOpBatch, - DynamicTerminationFilter::MakeCallPromise, - DynamicTerminationFilter::StartTransportOp, - sizeof(DynamicTerminationFilter::CallData), - DynamicTerminationFilter::CallData::Init, - DynamicTerminationFilter::CallData::SetPollent, - DynamicTerminationFilter::CallData::Destroy, - sizeof(DynamicTerminationFilter), - DynamicTerminationFilter::Init, - grpc_channel_stack_no_post_init, - DynamicTerminationFilter::Destroy, - DynamicTerminationFilter::GetChannelInfo, - "dynamic_filter_termination", -}; - -} // namespace - -// -// ClientChannel::ResolverResultHandler -// - -class ClientChannel::ResolverResultHandler : public Resolver::ResultHandler { - public: - explicit ResolverResultHandler(ClientChannel* chand) : chand_(chand) { - GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ResolverResultHandler"); - } - - ~ResolverResultHandler() override { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: resolver shutdown complete", chand_); - } - GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, "ResolverResultHandler"); - } - - void ReportResult(Resolver::Result result) override - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - chand_->OnResolverResultChangedLocked(std::move(result)); - } - - private: - ClientChannel* chand_; -}; - -// -// ClientChannel::SubchannelWrapper -// - -// This class is a wrapper for Subchannel that hides details of the -// channel's implementation (such as the connected subchannel) from the -// LB policy API. -// -// Note that no synchronization is needed here, because even if the -// underlying subchannel is shared between channels, this wrapper will only -// be used within one channel, so it will always be synchronized by the -// control plane work_serializer. -class ClientChannel::SubchannelWrapper : public SubchannelInterface { - public: - SubchannelWrapper(ClientChannel* chand, RefCountedPtr subchannel) - : SubchannelInterface(GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace) - ? "SubchannelWrapper" - : nullptr), - chand_(chand), - subchannel_(std::move(subchannel)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, - "chand=%p: creating subchannel wrapper %p for subchannel %p", - chand, this, subchannel_.get()); - } - GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "SubchannelWrapper"); - GPR_DEBUG_ASSERT(chand_->work_serializer_->RunningInWorkSerializer()); - if (chand_->channelz_node_ != nullptr) { - auto* subchannel_node = subchannel_->channelz_node(); - if (subchannel_node != nullptr) { - auto it = chand_->subchannel_refcount_map_.find(subchannel_.get()); - if (it == chand_->subchannel_refcount_map_.end()) { - chand_->channelz_node_->AddChildSubchannel(subchannel_node->uuid()); - it = chand_->subchannel_refcount_map_.emplace(subchannel_.get(), 0) - .first; - } - ++it->second; - } - } - chand_->subchannel_wrappers_.insert(this); - } - - ~SubchannelWrapper() override { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, - "chand=%p: destroying subchannel wrapper %p for subchannel %p", - chand_, this, subchannel_.get()); - } - if (!IsWorkSerializerDispatchEnabled()) { - chand_->subchannel_wrappers_.erase(this); - if (chand_->channelz_node_ != nullptr) { - auto* subchannel_node = subchannel_->channelz_node(); - if (subchannel_node != nullptr) { - auto it = chand_->subchannel_refcount_map_.find(subchannel_.get()); - GPR_ASSERT(it != chand_->subchannel_refcount_map_.end()); - --it->second; - if (it->second == 0) { - chand_->channelz_node_->RemoveChildSubchannel( - subchannel_node->uuid()); - chand_->subchannel_refcount_map_.erase(it); - } - } - } - } - GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, "SubchannelWrapper"); - } - - void Orphan() override { - if (!IsWorkSerializerDispatchEnabled()) return; - // Make sure we clean up the channel's subchannel maps inside the - // WorkSerializer. - // Ref held by callback. - WeakRef(DEBUG_LOCATION, "subchannel map cleanup").release(); - chand_->work_serializer_->Run( - [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - chand_->subchannel_wrappers_.erase(this); - if (chand_->channelz_node_ != nullptr) { - auto* subchannel_node = subchannel_->channelz_node(); - if (subchannel_node != nullptr) { - auto it = - chand_->subchannel_refcount_map_.find(subchannel_.get()); - GPR_ASSERT(it != chand_->subchannel_refcount_map_.end()); - --it->second; - if (it->second == 0) { - chand_->channelz_node_->RemoveChildSubchannel( - subchannel_node->uuid()); - chand_->subchannel_refcount_map_.erase(it); - } - } - } - WeakUnref(DEBUG_LOCATION, "subchannel map cleanup"); - }, - DEBUG_LOCATION); - } - - void WatchConnectivityState( - std::unique_ptr watcher) override - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - auto& watcher_wrapper = watcher_map_[watcher.get()]; - GPR_ASSERT(watcher_wrapper == nullptr); - watcher_wrapper = new WatcherWrapper(std::move(watcher), - Ref(DEBUG_LOCATION, "WatcherWrapper")); - subchannel_->WatchConnectivityState( - RefCountedPtr( - watcher_wrapper)); - } - - void CancelConnectivityStateWatch(ConnectivityStateWatcherInterface* watcher) - override ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - auto it = watcher_map_.find(watcher); - GPR_ASSERT(it != watcher_map_.end()); - subchannel_->CancelConnectivityStateWatch(it->second); - watcher_map_.erase(it); - } - - RefCountedPtr connected_subchannel() const { - return subchannel_->connected_subchannel(); - } - - void RequestConnection() override { subchannel_->RequestConnection(); } - - void ResetBackoff() override { subchannel_->ResetBackoff(); } - - void AddDataWatcher(std::unique_ptr watcher) override - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - static_cast(watcher.get()) - ->SetSubchannel(subchannel_.get()); - GPR_ASSERT(data_watchers_.insert(std::move(watcher)).second); - } - - void CancelDataWatcher(DataWatcherInterface* watcher) override - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - auto it = data_watchers_.find(watcher); - if (it != data_watchers_.end()) data_watchers_.erase(it); - } - - void ThrottleKeepaliveTime(int new_keepalive_time) { - subchannel_->ThrottleKeepaliveTime(new_keepalive_time); - } - - private: - // This wrapper provides a bridge between the internal Subchannel API - // and the SubchannelInterface API that we expose to LB policies. - // It implements Subchannel::ConnectivityStateWatcherInterface and wraps - // the instance of SubchannelInterface::ConnectivityStateWatcherInterface - // that was passed in by the LB policy. We pass an instance of this - // class to the underlying Subchannel, and when we get updates from - // the subchannel, we pass those on to the wrapped watcher to return - // the update to the LB policy. - // - // This class handles things like hopping into the WorkSerializer - // before passing notifications to the LB policy and propagating - // keepalive information betwen subchannels. - class WatcherWrapper : public Subchannel::ConnectivityStateWatcherInterface { - public: - WatcherWrapper( - std::unique_ptr - watcher, - RefCountedPtr parent) - : watcher_(std::move(watcher)), parent_(std::move(parent)) {} - - ~WatcherWrapper() override { - if (!IsWorkSerializerDispatchEnabled()) { - auto* parent = parent_.release(); // ref owned by lambda - parent->chand_->work_serializer_->Run( - [parent]() ABSL_EXCLUSIVE_LOCKS_REQUIRED( - *parent_->chand_->work_serializer_) { - parent->Unref(DEBUG_LOCATION, "WatcherWrapper"); - }, - DEBUG_LOCATION); - return; - } - parent_.reset(DEBUG_LOCATION, "WatcherWrapper"); - } - - void OnConnectivityStateChange( - RefCountedPtr self, - grpc_connectivity_state state, const absl::Status& status) override { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, - "chand=%p: connectivity change for subchannel wrapper %p " - "subchannel %p; hopping into work_serializer", - parent_->chand_, parent_.get(), parent_->subchannel_.get()); - } - self.release(); // Held by callback. - parent_->chand_->work_serializer_->Run( - [this, state, status]() ABSL_EXCLUSIVE_LOCKS_REQUIRED( - *parent_->chand_->work_serializer_) { - ApplyUpdateInControlPlaneWorkSerializer(state, status); - Unref(); - }, - DEBUG_LOCATION); - } - - grpc_pollset_set* interested_parties() override { - return watcher_->interested_parties(); - } - - private: - void ApplyUpdateInControlPlaneWorkSerializer(grpc_connectivity_state state, - const absl::Status& status) - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*parent_->chand_->work_serializer_) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, - "chand=%p: processing connectivity change in work serializer " - "for subchannel wrapper %p subchannel %p watcher=%p " - "state=%s status=%s", - parent_->chand_, parent_.get(), parent_->subchannel_.get(), - watcher_.get(), ConnectivityStateName(state), - status.ToString().c_str()); - } - absl::optional keepalive_throttling = - status.GetPayload(kKeepaliveThrottlingKey); - if (keepalive_throttling.has_value()) { - int new_keepalive_time = -1; - if (absl::SimpleAtoi(std::string(keepalive_throttling.value()), - &new_keepalive_time)) { - if (new_keepalive_time > parent_->chand_->keepalive_time_) { - parent_->chand_->keepalive_time_ = new_keepalive_time; - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: throttling keepalive time to %d", - parent_->chand_, parent_->chand_->keepalive_time_); - } - // Propagate the new keepalive time to all subchannels. This is so - // that new transports created by any subchannel (and not just the - // subchannel that received the GOAWAY), use the new keepalive time. - for (auto* subchannel_wrapper : - parent_->chand_->subchannel_wrappers_) { - subchannel_wrapper->ThrottleKeepaliveTime(new_keepalive_time); - } - } - } else { - gpr_log(GPR_ERROR, "chand=%p: Illegal keepalive throttling value %s", - parent_->chand_, - std::string(keepalive_throttling.value()).c_str()); - } - } - // Propagate status only in state TF. - // We specifically want to avoid propagating the status for - // state IDLE that the real subchannel gave us only for the - // purpose of keepalive propagation. - watcher_->OnConnectivityStateChange( - state, - state == GRPC_CHANNEL_TRANSIENT_FAILURE ? status : absl::OkStatus()); - } - - std::unique_ptr - watcher_; - RefCountedPtr parent_; - }; - - // A heterogenous lookup comparator for data watchers that allows - // unique_ptr keys to be looked up as raw pointers. - struct DataWatcherLessThan { - using is_transparent = void; - bool operator()(const std::unique_ptr& p1, - const std::unique_ptr& p2) const { - return p1 < p2; - } - bool operator()(const std::unique_ptr& p1, - const DataWatcherInterface* p2) const { - return p1.get() < p2; - } - bool operator()(const DataWatcherInterface* p1, - const std::unique_ptr& p2) const { - return p1 < p2.get(); - } - }; - - ClientChannel* chand_; - RefCountedPtr subchannel_; - // Maps from the address of the watcher passed to us by the LB policy - // to the address of the WrapperWatcher that we passed to the underlying - // subchannel. This is needed so that when the LB policy calls - // CancelConnectivityStateWatch() with its watcher, we know the - // corresponding WrapperWatcher to cancel on the underlying subchannel. - std::map watcher_map_ - ABSL_GUARDED_BY(*chand_->work_serializer_); - std::set, DataWatcherLessThan> - data_watchers_ ABSL_GUARDED_BY(*chand_->work_serializer_); -}; - -// -// ClientChannel::ExternalConnectivityWatcher -// - -ClientChannel::ExternalConnectivityWatcher::ExternalConnectivityWatcher( - ClientChannel* chand, grpc_polling_entity pollent, - grpc_connectivity_state* state, grpc_closure* on_complete, - grpc_closure* watcher_timer_init) - : chand_(chand), - pollent_(pollent), - initial_state_(*state), - state_(state), - on_complete_(on_complete), - watcher_timer_init_(watcher_timer_init) { - grpc_polling_entity_add_to_pollset_set(&pollent_, - chand_->interested_parties_); - GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ExternalConnectivityWatcher"); - { - MutexLock lock(&chand_->external_watchers_mu_); - // Will be deleted when the watch is complete. - GPR_ASSERT(chand->external_watchers_[on_complete] == nullptr); - // Store a ref to the watcher in the external_watchers_ map. - chand->external_watchers_[on_complete] = - Ref(DEBUG_LOCATION, "AddWatcherToExternalWatchersMapLocked"); - } - // Pass the ref from creating the object to Start(). - chand_->work_serializer_->Run( - [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - // The ref is passed to AddWatcherLocked(). - AddWatcherLocked(); - }, - DEBUG_LOCATION); -} - -ClientChannel::ExternalConnectivityWatcher::~ExternalConnectivityWatcher() { - grpc_polling_entity_del_from_pollset_set(&pollent_, - chand_->interested_parties_); - GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, - "ExternalConnectivityWatcher"); -} - -void ClientChannel::ExternalConnectivityWatcher:: - RemoveWatcherFromExternalWatchersMap(ClientChannel* chand, - grpc_closure* on_complete, - bool cancel) { - RefCountedPtr watcher; - { - MutexLock lock(&chand->external_watchers_mu_); - auto it = chand->external_watchers_.find(on_complete); - if (it != chand->external_watchers_.end()) { - watcher = std::move(it->second); - chand->external_watchers_.erase(it); - } - } - // watcher->Cancel() will hop into the WorkSerializer, so we have to unlock - // the mutex before calling it. - if (watcher != nullptr && cancel) watcher->Cancel(); -} - -void ClientChannel::ExternalConnectivityWatcher::Notify( - grpc_connectivity_state state, const absl::Status& /* status */) { - bool done = false; - if (!done_.compare_exchange_strong(done, true, std::memory_order_relaxed, - std::memory_order_relaxed)) { - return; // Already done. - } - // Remove external watcher. - ExternalConnectivityWatcher::RemoveWatcherFromExternalWatchersMap( - chand_, on_complete_, /*cancel=*/false); - // Report new state to the user. - *state_ = state; - ExecCtx::Run(DEBUG_LOCATION, on_complete_, absl::OkStatus()); - // Hop back into the work_serializer to clean up. - // Not needed in state SHUTDOWN, because the tracker will - // automatically remove all watchers in that case. - // Note: The callback takes a ref in case the ref inside the state tracker - // gets removed before the callback runs via a SHUTDOWN notification. - if (state != GRPC_CHANNEL_SHUTDOWN) { - Ref(DEBUG_LOCATION, "RemoveWatcherLocked()").release(); - chand_->work_serializer_->Run( - [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - RemoveWatcherLocked(); - Unref(DEBUG_LOCATION, "RemoveWatcherLocked()"); - }, - DEBUG_LOCATION); - } -} - -void ClientChannel::ExternalConnectivityWatcher::Cancel() { - bool done = false; - if (!done_.compare_exchange_strong(done, true, std::memory_order_relaxed, - std::memory_order_relaxed)) { - return; // Already done. - } - ExecCtx::Run(DEBUG_LOCATION, on_complete_, absl::CancelledError()); - // Hop back into the work_serializer to clean up. - // Note: The callback takes a ref in case the ref inside the state tracker - // gets removed before the callback runs via a SHUTDOWN notification. - Ref(DEBUG_LOCATION, "RemoveWatcherLocked()").release(); - chand_->work_serializer_->Run( - [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - RemoveWatcherLocked(); - Unref(DEBUG_LOCATION, "RemoveWatcherLocked()"); - }, - DEBUG_LOCATION); -} - -void ClientChannel::ExternalConnectivityWatcher::AddWatcherLocked() { - Closure::Run(DEBUG_LOCATION, watcher_timer_init_, absl::OkStatus()); - // Add new watcher. Pass the ref of the object from creation to OrphanablePtr. - chand_->state_tracker_.AddWatcher( - initial_state_, OrphanablePtr(this)); -} - -void ClientChannel::ExternalConnectivityWatcher::RemoveWatcherLocked() { - chand_->state_tracker_.RemoveWatcher(this); -} - -// -// ClientChannel::ConnectivityWatcherAdder -// - -class ClientChannel::ConnectivityWatcherAdder { - public: - ConnectivityWatcherAdder( - ClientChannel* chand, grpc_connectivity_state initial_state, - OrphanablePtr watcher) - : chand_(chand), - initial_state_(initial_state), - watcher_(std::move(watcher)) { - GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ConnectivityWatcherAdder"); - chand_->work_serializer_->Run( - [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - AddWatcherLocked(); - }, - DEBUG_LOCATION); - } - - private: - void AddWatcherLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - chand_->state_tracker_.AddWatcher(initial_state_, std::move(watcher_)); - GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, "ConnectivityWatcherAdder"); - delete this; - } - - ClientChannel* chand_; - grpc_connectivity_state initial_state_; - OrphanablePtr watcher_; -}; - -// -// ClientChannel::ConnectivityWatcherRemover -// - -class ClientChannel::ConnectivityWatcherRemover { - public: - ConnectivityWatcherRemover(ClientChannel* chand, - AsyncConnectivityStateWatcherInterface* watcher) - : chand_(chand), watcher_(watcher) { - GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ConnectivityWatcherRemover"); - chand_->work_serializer_->Run( - [this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - RemoveWatcherLocked(); - }, - DEBUG_LOCATION); - } - - private: - void RemoveWatcherLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - chand_->state_tracker_.RemoveWatcher(watcher_); - GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, - "ConnectivityWatcherRemover"); - delete this; - } - - ClientChannel* chand_; - AsyncConnectivityStateWatcherInterface* watcher_; -}; - -// -// ClientChannel::ClientChannelControlHelper -// - -class ClientChannel::ClientChannelControlHelper - : public LoadBalancingPolicy::ChannelControlHelper { - public: - explicit ClientChannelControlHelper(ClientChannel* chand) : chand_(chand) { - GRPC_CHANNEL_STACK_REF(chand_->owning_stack_, "ClientChannelControlHelper"); - } - - ~ClientChannelControlHelper() override { - GRPC_CHANNEL_STACK_UNREF(chand_->owning_stack_, - "ClientChannelControlHelper"); - } - - RefCountedPtr CreateSubchannel( - ServerAddress address, const ChannelArgs& args) override - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - if (chand_->resolver_ == nullptr) return nullptr; // Shutting down. - ChannelArgs subchannel_args = ClientChannel::MakeSubchannelArgs( - args, address.args(), chand_->subchannel_pool_, - chand_->default_authority_); - // Create subchannel. - RefCountedPtr subchannel = - chand_->client_channel_factory_->CreateSubchannel(address.address(), - subchannel_args); - if (subchannel == nullptr) return nullptr; - // Make sure the subchannel has updated keepalive time. - subchannel->ThrottleKeepaliveTime(chand_->keepalive_time_); - // Create and return wrapper for the subchannel. - return MakeRefCounted(chand_, std::move(subchannel)); - } - - void UpdateState(grpc_connectivity_state state, const absl::Status& status, - RefCountedPtr picker) - override ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - if (chand_->resolver_ == nullptr) return; // Shutting down. - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - const char* extra = chand_->disconnect_error_.ok() - ? "" - : " (ignoring -- channel shutting down)"; - gpr_log(GPR_INFO, "chand=%p: update: state=%s status=(%s) picker=%p%s", - chand_, ConnectivityStateName(state), status.ToString().c_str(), - picker.get(), extra); - } - // Do update only if not shutting down. - if (chand_->disconnect_error_.ok()) { - chand_->UpdateStateAndPickerLocked(state, status, "helper", - std::move(picker)); - } - } - - void RequestReresolution() override - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - if (chand_->resolver_ == nullptr) return; // Shutting down. - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: started name re-resolving", chand_); - } - chand_->resolver_->RequestReresolutionLocked(); - } - - absl::string_view GetAuthority() override { - return chand_->default_authority_; - } - - RefCountedPtr GetChannelCredentials() override { - return chand_->channel_args_.GetObject() - ->duplicate_without_call_credentials(); - } - - RefCountedPtr GetUnsafeChannelCredentials() - override { - return chand_->channel_args_.GetObject()->Ref(); - } - - grpc_event_engine::experimental::EventEngine* GetEventEngine() override { - return chand_->owning_stack_->EventEngine(); - } - - void AddTraceEvent(TraceSeverity severity, absl::string_view message) override - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_) { - if (chand_->resolver_ == nullptr) return; // Shutting down. - if (chand_->channelz_node_ != nullptr) { - chand_->channelz_node_->AddTraceEvent( - ConvertSeverityEnum(severity), - grpc_slice_from_copied_buffer(message.data(), message.size())); - } - } - - private: - static channelz::ChannelTrace::Severity ConvertSeverityEnum( - TraceSeverity severity) { - if (severity == TRACE_INFO) return channelz::ChannelTrace::Info; - if (severity == TRACE_WARNING) return channelz::ChannelTrace::Warning; - return channelz::ChannelTrace::Error; - } - - ClientChannel* chand_; -}; - -// -// ClientChannel implementation -// - -ClientChannel* ClientChannel::GetFromChannel(Channel* channel) { - grpc_channel_element* elem = - grpc_channel_stack_last_element(channel->channel_stack()); - if (elem->filter != &kFilterVtableWithPromises && - elem->filter != &kFilterVtableWithoutPromises) { - return nullptr; - } - return static_cast(elem->channel_data); -} - -grpc_error_handle ClientChannel::Init(grpc_channel_element* elem, - grpc_channel_element_args* args) { - GPR_ASSERT(args->is_last); - GPR_ASSERT(elem->filter == &kFilterVtableWithPromises || - elem->filter == &kFilterVtableWithoutPromises); - grpc_error_handle error; - new (elem->channel_data) ClientChannel(args, &error); - return error; -} - -void ClientChannel::Destroy(grpc_channel_element* elem) { - ClientChannel* chand = static_cast(elem->channel_data); - chand->~ClientChannel(); -} - -namespace { - -RefCountedPtr GetSubchannelPool( - const ChannelArgs& args) { - if (args.GetBool(GRPC_ARG_USE_LOCAL_SUBCHANNEL_POOL).value_or(false)) { - return MakeRefCounted(); - } - return GlobalSubchannelPool::instance(); -} - -} // namespace - -ClientChannel::ClientChannel(grpc_channel_element_args* args, - grpc_error_handle* error) - : channel_args_(args->channel_args), - deadline_checking_enabled_(grpc_deadline_checking_enabled(channel_args_)), - owning_stack_(args->channel_stack), - client_channel_factory_(channel_args_.GetObject()), - channelz_node_(channel_args_.GetObject()), - interested_parties_(grpc_pollset_set_create()), - service_config_parser_index_( - internal::ClientChannelServiceConfigParser::ParserIndex()), - work_serializer_( - std::make_shared(*args->channel_stack->event_engine)), - state_tracker_("client_channel", GRPC_CHANNEL_IDLE), - subchannel_pool_(GetSubchannelPool(channel_args_)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: creating client_channel for channel stack %p", - this, owning_stack_); - } - // Start backup polling. - grpc_client_channel_start_backup_polling(interested_parties_); - // Check client channel factory. - if (client_channel_factory_ == nullptr) { - *error = GRPC_ERROR_CREATE( - "Missing client channel factory in args for client channel filter"); - return; - } - // Get default service config. If none is specified via the client API, - // we use an empty config. - absl::optional service_config_json = - channel_args_.GetString(GRPC_ARG_SERVICE_CONFIG); - if (!service_config_json.has_value()) service_config_json = "{}"; - *error = absl::OkStatus(); - auto service_config = - ServiceConfigImpl::Create(channel_args_, *service_config_json); - if (!service_config.ok()) { - *error = absl_status_to_grpc_error(service_config.status()); - return; - } - default_service_config_ = std::move(*service_config); - // Get URI to resolve, using proxy mapper if needed. - absl::optional server_uri = - channel_args_.GetOwnedString(GRPC_ARG_SERVER_URI); - if (!server_uri.has_value()) { - *error = GRPC_ERROR_CREATE( - "target URI channel arg missing or wrong type in client channel " - "filter"); - return; - } - uri_to_resolve_ = CoreConfiguration::Get() - .proxy_mapper_registry() - .MapName(*server_uri, &channel_args_) - .value_or(*server_uri); - // Make sure the URI to resolve is valid, so that we know that - // resolver creation will succeed later. - if (!CoreConfiguration::Get().resolver_registry().IsValidTarget( - uri_to_resolve_)) { - *error = GRPC_ERROR_CREATE( - absl::StrCat("the target uri is not valid: ", uri_to_resolve_)); - return; - } - // Strip out service config channel arg, so that it doesn't affect - // subchannel uniqueness when the args flow down to that layer. - channel_args_ = channel_args_.Remove(GRPC_ARG_SERVICE_CONFIG); - // Set initial keepalive time. - auto keepalive_arg = channel_args_.GetInt(GRPC_ARG_KEEPALIVE_TIME_MS); - if (keepalive_arg.has_value()) { - keepalive_time_ = Clamp(*keepalive_arg, 1, INT_MAX); - } else { - keepalive_time_ = -1; // unset - } - // Set default authority. - absl::optional default_authority = - channel_args_.GetOwnedString(GRPC_ARG_DEFAULT_AUTHORITY); - if (!default_authority.has_value()) { - default_authority_ = - CoreConfiguration::Get().resolver_registry().GetDefaultAuthority( - *server_uri); - } else { - default_authority_ = std::move(*default_authority); - } - // Success. - *error = absl::OkStatus(); -} - -ClientChannel::~ClientChannel() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: destroying channel", this); - } - DestroyResolverAndLbPolicyLocked(); - // Stop backup polling. - grpc_client_channel_stop_backup_polling(interested_parties_); - grpc_pollset_set_destroy(interested_parties_); -} - -ArenaPromise ClientChannel::MakeCallPromise( - grpc_channel_element* elem, CallArgs call_args, NextPromiseFactory) { - auto* chand = static_cast(elem->channel_data); - // TODO(roth): Is this the right lifetime story for calld? - auto* calld = GetContext()->ManagedNew(chand); - return TrySeq( - // Name resolution. - calld->MakeNameResolutionPromise(std::move(call_args)), - // Dynamic filter stack. - [calld](CallArgs call_args) mutable { - return calld->dynamic_filters()->channel_stack()->MakeClientCallPromise( - std::move(call_args)); - }); -} - -OrphanablePtr -ClientChannel::CreateLoadBalancedCall( - const grpc_call_element_args& args, grpc_polling_entity* pollent, - grpc_closure* on_call_destruction_complete, - absl::AnyInvocable on_commit, bool is_transparent_retry) { - return OrphanablePtr( - args.arena->New( - this, args, pollent, on_call_destruction_complete, - std::move(on_commit), is_transparent_retry)); -} - -ArenaPromise ClientChannel::CreateLoadBalancedCallPromise( - CallArgs call_args, absl::AnyInvocable on_commit, - bool is_transparent_retry) { - OrphanablePtr lb_call( - GetContext()->New( - this, std::move(on_commit), is_transparent_retry)); - auto* call_ptr = lb_call.get(); - return call_ptr->MakeCallPromise(std::move(call_args), std::move(lb_call)); -} - -ChannelArgs ClientChannel::MakeSubchannelArgs( - const ChannelArgs& channel_args, const ChannelArgs& address_args, - const RefCountedPtr& subchannel_pool, - const std::string& channel_default_authority) { - // Note that we start with the channel-level args and then apply the - // per-address args, so that if a value is present in both, the one - // in the channel-level args is used. This is particularly important - // for the GRPC_ARG_DEFAULT_AUTHORITY arg, which we want to allow - // resolvers to set on a per-address basis only if the application - // did not explicitly set it at the channel level. - return channel_args.UnionWith(address_args) - .SetObject(subchannel_pool) - // If we haven't already set the default authority arg (i.e., it - // was not explicitly set by the application nor overridden by - // the resolver), add it from the channel's default. - .SetIfUnset(GRPC_ARG_DEFAULT_AUTHORITY, channel_default_authority) - // Remove channel args that should not affect subchannel - // uniqueness. - .Remove(GRPC_ARG_HEALTH_CHECK_SERVICE_NAME) - .Remove(GRPC_ARG_INHIBIT_HEALTH_CHECKING) - .Remove(GRPC_ARG_CHANNELZ_CHANNEL_NODE) - // Remove all keys with the no-subchannel prefix. - .RemoveAllKeysWithPrefix(GRPC_ARG_NO_SUBCHANNEL_PREFIX); -} - -void ClientChannel::ReprocessQueuedResolverCalls() { - for (CallData* calld : resolver_queued_calls_) { - calld->RemoveCallFromResolverQueuedCallsLocked(); - calld->RetryCheckResolutionLocked(); - } - resolver_queued_calls_.clear(); -} - -namespace { - -RefCountedPtr ChooseLbPolicy( - const Resolver::Result& resolver_result, - const internal::ClientChannelGlobalParsedConfig* parsed_service_config) { - // Prefer the LB policy config found in the service config. - if (parsed_service_config->parsed_lb_config() != nullptr) { - return parsed_service_config->parsed_lb_config(); - } - // Try the deprecated LB policy name from the service config. - // If not, try the setting from channel args. - absl::optional policy_name; - if (!parsed_service_config->parsed_deprecated_lb_policy().empty()) { - policy_name = parsed_service_config->parsed_deprecated_lb_policy(); - } else { - policy_name = resolver_result.args.GetString(GRPC_ARG_LB_POLICY_NAME); - bool requires_config = false; - if (policy_name.has_value() && - (!CoreConfiguration::Get() - .lb_policy_registry() - .LoadBalancingPolicyExists(*policy_name, &requires_config) || - requires_config)) { - if (requires_config) { - gpr_log(GPR_ERROR, - "LB policy: %s passed through channel_args must not " - "require a config. Using pick_first instead.", - std::string(*policy_name).c_str()); - } else { - gpr_log(GPR_ERROR, - "LB policy: %s passed through channel_args does not exist. " - "Using pick_first instead.", - std::string(*policy_name).c_str()); - } - policy_name = "pick_first"; - } - } - // Use pick_first if nothing was specified and we didn't select grpclb - // above. - if (!policy_name.has_value()) policy_name = "pick_first"; - // Now that we have the policy name, construct an empty config for it. - Json config_json = Json::FromArray({Json::FromObject({ - {std::string(*policy_name), Json::FromObject({})}, - })}); - auto lb_policy_config = - CoreConfiguration::Get().lb_policy_registry().ParseLoadBalancingConfig( - config_json); - // The policy name came from one of three places: - // - The deprecated loadBalancingPolicy field in the service config, - // in which case the code in ClientChannelServiceConfigParser - // already verified that the policy does not require a config. - // - One of the hard-coded values here, all of which are known to not - // require a config. - // - A channel arg, in which case we check that the specified policy exists - // and accepts an empty config. If not, we revert to using pick_first - // lb_policy - GPR_ASSERT(lb_policy_config.ok()); - return std::move(*lb_policy_config); -} - -} // namespace - -void ClientChannel::OnResolverResultChangedLocked(Resolver::Result result) { - // Handle race conditions. - if (resolver_ == nullptr) return; - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: got resolver result", this); - } - // Grab resolver result health callback. - auto resolver_callback = std::move(result.result_health_callback); - absl::Status resolver_result_status; - // We only want to trace the address resolution in the follow cases: - // (a) Address resolution resulted in service config change. - // (b) Address resolution that causes number of backends to go from - // zero to non-zero. - // (c) Address resolution that causes number of backends to go from - // non-zero to zero. - // (d) Address resolution that causes a new LB policy to be created. - // - // We track a list of strings to eventually be concatenated and traced. - std::vector trace_strings; - const bool resolution_contains_addresses = - result.addresses.ok() && !result.addresses->empty(); - if (!resolution_contains_addresses && - previous_resolution_contained_addresses_) { - trace_strings.push_back("Address list became empty"); - } else if (resolution_contains_addresses && - !previous_resolution_contained_addresses_) { - trace_strings.push_back("Address list became non-empty"); - } - previous_resolution_contained_addresses_ = resolution_contains_addresses; - std::string service_config_error_string_storage; - if (!result.service_config.ok()) { - service_config_error_string_storage = - result.service_config.status().ToString(); - trace_strings.push_back(service_config_error_string_storage.c_str()); - } - // Choose the service config. - RefCountedPtr service_config; - RefCountedPtr config_selector; - if (!result.service_config.ok()) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: resolver returned service config error: %s", - this, result.service_config.status().ToString().c_str()); - } - // If the service config was invalid, then fallback to the - // previously returned service config. - if (saved_service_config_ != nullptr) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, - "chand=%p: resolver returned invalid service config. " - "Continuing to use previous service config.", - this); - } - service_config = saved_service_config_; - config_selector = saved_config_selector_; - } else { - // We received a service config error and we don't have a - // previous service config to fall back to. Put the channel into - // TRANSIENT_FAILURE. - OnResolverErrorLocked(result.service_config.status()); - trace_strings.push_back("no valid service config"); - resolver_result_status = - absl::UnavailableError("no valid service config"); - } - } else if (*result.service_config == nullptr) { - // Resolver did not return any service config. - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, - "chand=%p: resolver returned no service config. Using default " - "service config for channel.", - this); - } - service_config = default_service_config_; - } else { - // Use ServiceConfig and ConfigSelector returned by resolver. - service_config = std::move(*result.service_config); - config_selector = result.args.GetObjectRef(); - } - // Note: The only case in which service_config is null here is if the resolver - // returned a service config error and we don't have a previous service - // config to fall back to. - if (service_config != nullptr) { - // Extract global config for client channel. - const internal::ClientChannelGlobalParsedConfig* parsed_service_config = - static_cast( - service_config->GetGlobalParsedConfig( - service_config_parser_index_)); - // Choose LB policy config. - RefCountedPtr lb_policy_config = - ChooseLbPolicy(result, parsed_service_config); - // Check if the ServiceConfig has changed. - const bool service_config_changed = - saved_service_config_ == nullptr || - service_config->json_string() != saved_service_config_->json_string(); - // Check if the ConfigSelector has changed. - const bool config_selector_changed = !ConfigSelector::Equals( - saved_config_selector_.get(), config_selector.get()); - // If either has changed, apply the global parameters now. - if (service_config_changed || config_selector_changed) { - // Update service config in control plane. - UpdateServiceConfigInControlPlaneLocked( - std::move(service_config), std::move(config_selector), - std::string(lb_policy_config->name())); - } else if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: service config not changed", this); - } - // Create or update LB policy, as needed. - resolver_result_status = CreateOrUpdateLbPolicyLocked( - std::move(lb_policy_config), - parsed_service_config->health_check_service_name(), std::move(result)); - if (service_config_changed || config_selector_changed) { - // Start using new service config for calls. - // This needs to happen after the LB policy has been updated, since - // the ConfigSelector may need the LB policy to know about new - // destinations before it can send RPCs to those destinations. - UpdateServiceConfigInDataPlaneLocked(); - // TODO(ncteisen): might be worth somehow including a snippet of the - // config in the trace, at the risk of bloating the trace logs. - trace_strings.push_back("Service config changed"); - } - } - // Invoke resolver callback if needed. - if (resolver_callback != nullptr) { - resolver_callback(std::move(resolver_result_status)); - } - // Add channel trace event. - if (!trace_strings.empty()) { - std::string message = - absl::StrCat("Resolution event: ", absl::StrJoin(trace_strings, ", ")); - if (channelz_node_ != nullptr) { - channelz_node_->AddTraceEvent(channelz::ChannelTrace::Severity::Info, - grpc_slice_from_cpp_string(message)); - } - } -} - -void ClientChannel::OnResolverErrorLocked(absl::Status status) { - if (resolver_ == nullptr) return; - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: resolver transient failure: %s", this, - status.ToString().c_str()); - } - // If we already have an LB policy from a previous resolution - // result, then we continue to let it set the connectivity state. - // Otherwise, we go into TRANSIENT_FAILURE. - if (lb_policy_ == nullptr) { - // Update connectivity state. - UpdateStateLocked(GRPC_CHANNEL_TRANSIENT_FAILURE, status, - "resolver failure"); - { - MutexLock lock(&resolution_mu_); - // Update resolver transient failure. - resolver_transient_failure_error_ = - MaybeRewriteIllegalStatusCode(status, "resolver"); - ReprocessQueuedResolverCalls(); - } - } -} - -absl::Status ClientChannel::CreateOrUpdateLbPolicyLocked( - RefCountedPtr lb_policy_config, - const absl::optional& health_check_service_name, - Resolver::Result result) { - // Construct update. - LoadBalancingPolicy::UpdateArgs update_args; - update_args.addresses = std::move(result.addresses); - update_args.config = std::move(lb_policy_config); - update_args.resolution_note = std::move(result.resolution_note); - // Remove the config selector from channel args so that we're not holding - // unnecessary refs that cause it to be destroyed somewhere other than in the - // WorkSerializer. - update_args.args = result.args.Remove(GRPC_ARG_CONFIG_SELECTOR); - // Add health check service name to channel args. - if (health_check_service_name.has_value()) { - update_args.args = update_args.args.Set(GRPC_ARG_HEALTH_CHECK_SERVICE_NAME, - *health_check_service_name); - } - // Create policy if needed. - if (lb_policy_ == nullptr) { - lb_policy_ = CreateLbPolicyLocked(update_args.args); - } - // Update the policy. - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: Updating child policy %p", this, - lb_policy_.get()); - } - return lb_policy_->UpdateLocked(std::move(update_args)); -} - -// Creates a new LB policy. -OrphanablePtr ClientChannel::CreateLbPolicyLocked( - const ChannelArgs& args) { - // The LB policy will start in state CONNECTING but will not - // necessarily send us an update synchronously, so set state to - // CONNECTING (in case the resolver had previously failed and put the - // channel into TRANSIENT_FAILURE) and make sure we have a queueing picker. - UpdateStateAndPickerLocked( - GRPC_CHANNEL_CONNECTING, absl::Status(), "started resolving", - MakeRefCounted(nullptr)); - // Now create the LB policy. - LoadBalancingPolicy::Args lb_policy_args; - lb_policy_args.work_serializer = work_serializer_; - lb_policy_args.channel_control_helper = - std::make_unique(this); - lb_policy_args.args = args; - OrphanablePtr lb_policy = - MakeOrphanable(std::move(lb_policy_args), - &grpc_client_channel_trace); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: created new LB policy %p", this, - lb_policy.get()); - } - grpc_pollset_set_add_pollset_set(lb_policy->interested_parties(), - interested_parties_); - return lb_policy; -} - -void ClientChannel::UpdateServiceConfigInControlPlaneLocked( - RefCountedPtr service_config, - RefCountedPtr config_selector, std::string lb_policy_name) { - std::string service_config_json(service_config->json_string()); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: using service config: \"%s\"", this, - service_config_json.c_str()); - } - // Save service config. - saved_service_config_ = std::move(service_config); - // Swap out the data used by GetChannelInfo(). - { - MutexLock lock(&info_mu_); - info_lb_policy_name_ = std::move(lb_policy_name); - info_service_config_json_ = std::move(service_config_json); - } - // Save config selector. - saved_config_selector_ = std::move(config_selector); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: using ConfigSelector %p", this, - saved_config_selector_.get()); - } -} - -void ClientChannel::UpdateServiceConfigInDataPlaneLocked() { - // Grab ref to service config. - RefCountedPtr service_config = saved_service_config_; - // Grab ref to config selector. Use default if resolver didn't supply one. - RefCountedPtr config_selector = saved_config_selector_; - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: switching to ConfigSelector %p", this, - saved_config_selector_.get()); - } - if (config_selector == nullptr) { - config_selector = - MakeRefCounted(saved_service_config_); - } - ChannelArgs new_args = - channel_args_.SetObject(this).SetObject(service_config); - bool enable_retries = - !new_args.WantMinimalStack() && - new_args.GetBool(GRPC_ARG_ENABLE_RETRIES).value_or(true); - // Construct dynamic filter stack. - std::vector filters = - config_selector->GetFilters(); - if (enable_retries) { - filters.push_back(&RetryFilter::kVtable); - } else { - filters.push_back(&DynamicTerminationFilter::kFilterVtable); - } - RefCountedPtr dynamic_filters = - DynamicFilters::Create(new_args, std::move(filters)); - GPR_ASSERT(dynamic_filters != nullptr); - // Grab data plane lock to update service config. - // - // We defer unreffing the old values (and deallocating memory) until - // after releasing the lock to keep the critical section small. - { - MutexLock lock(&resolution_mu_); - resolver_transient_failure_error_ = absl::OkStatus(); - // Update service config. - received_service_config_data_ = true; - // Old values will be unreffed after lock is released. - service_config_.swap(service_config); - config_selector_.swap(config_selector); - dynamic_filters_.swap(dynamic_filters); - // Re-process queued calls asynchronously. - ReprocessQueuedResolverCalls(); - } - // Old values will be unreffed after lock is released when they go out - // of scope. -} - -void ClientChannel::CreateResolverLocked() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: starting name resolution for %s", this, - uri_to_resolve_.c_str()); - } - resolver_ = CoreConfiguration::Get().resolver_registry().CreateResolver( - uri_to_resolve_, channel_args_, interested_parties_, work_serializer_, - std::make_unique(this)); - // Since the validity of the args was checked when the channel was created, - // CreateResolver() must return a non-null result. - GPR_ASSERT(resolver_ != nullptr); - UpdateStateLocked(GRPC_CHANNEL_CONNECTING, absl::Status(), - "started resolving"); - resolver_->StartLocked(); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: created resolver=%p", this, resolver_.get()); - } -} - -void ClientChannel::DestroyResolverAndLbPolicyLocked() { - if (resolver_ != nullptr) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: shutting down resolver=%p", this, - resolver_.get()); - } - resolver_.reset(); - // Clear resolution state. - saved_service_config_.reset(); - saved_config_selector_.reset(); - // Acquire resolution lock to update config selector and associated state. - // To minimize lock contention, we wait to unref these objects until - // after we release the lock. - RefCountedPtr service_config_to_unref; - RefCountedPtr config_selector_to_unref; - RefCountedPtr dynamic_filters_to_unref; - { - MutexLock lock(&resolution_mu_); - received_service_config_data_ = false; - service_config_to_unref = std::move(service_config_); - config_selector_to_unref = std::move(config_selector_); - dynamic_filters_to_unref = std::move(dynamic_filters_); - } - // Clear LB policy if set. - if (lb_policy_ != nullptr) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: shutting down lb_policy=%p", this, - lb_policy_.get()); - } - grpc_pollset_set_del_pollset_set(lb_policy_->interested_parties(), - interested_parties_); - lb_policy_.reset(); - } - } -} - -void ClientChannel::UpdateStateLocked(grpc_connectivity_state state, - const absl::Status& status, - const char* reason) { - if (state != GRPC_CHANNEL_SHUTDOWN && - state_tracker_.state() == GRPC_CHANNEL_SHUTDOWN) { - Crash("Illegal transition SHUTDOWN -> anything"); - } - state_tracker_.SetState(state, status, reason); - if (channelz_node_ != nullptr) { - channelz_node_->SetConnectivityState(state); - channelz_node_->AddTraceEvent( - channelz::ChannelTrace::Severity::Info, - grpc_slice_from_static_string( - channelz::ChannelNode::GetChannelConnectivityStateChangeString( - state))); - } -} - -void ClientChannel::UpdateStateAndPickerLocked( - grpc_connectivity_state state, const absl::Status& status, - const char* reason, - RefCountedPtr picker) { - UpdateStateLocked(state, status, reason); - // Grab the LB lock to update the picker and trigger reprocessing of the - // queued picks. - // Old picker will be unreffed after releasing the lock. - MutexLock lock(&lb_mu_); - picker_.swap(picker); - // Reprocess queued picks. - for (auto& call : lb_queued_calls_) { - call->RemoveCallFromLbQueuedCallsLocked(); - call->RetryPickLocked(); - } - lb_queued_calls_.clear(); -} - -namespace { - -// TODO(roth): Remove this in favor of the gprpp Match() function once -// we can do that without breaking lock annotations. -template -T HandlePickResult( - LoadBalancingPolicy::PickResult* result, - std::function complete_func, - std::function queue_func, - std::function fail_func, - std::function drop_func) { - auto* complete_pick = - absl::get_if(&result->result); - if (complete_pick != nullptr) { - return complete_func(complete_pick); - } - auto* queue_pick = - absl::get_if(&result->result); - if (queue_pick != nullptr) { - return queue_func(queue_pick); - } - auto* fail_pick = - absl::get_if(&result->result); - if (fail_pick != nullptr) { - return fail_func(fail_pick); - } - auto* drop_pick = - absl::get_if(&result->result); - GPR_ASSERT(drop_pick != nullptr); - return drop_func(drop_pick); -} - -} // namespace - -grpc_error_handle ClientChannel::DoPingLocked(grpc_transport_op* op) { - if (state_tracker_.state() != GRPC_CHANNEL_READY) { - return GRPC_ERROR_CREATE("channel not connected"); - } - LoadBalancingPolicy::PickResult result; - { - MutexLock lock(&lb_mu_); - result = picker_->Pick(LoadBalancingPolicy::PickArgs()); - } - return HandlePickResult( - &result, - // Complete pick. - [op](LoadBalancingPolicy::PickResult::Complete* complete_pick) - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*ClientChannel::work_serializer_) { - SubchannelWrapper* subchannel = static_cast( - complete_pick->subchannel.get()); - RefCountedPtr connected_subchannel = - subchannel->connected_subchannel(); - if (connected_subchannel == nullptr) { - return GRPC_ERROR_CREATE("LB pick for ping not connected"); - } - connected_subchannel->Ping(op->send_ping.on_initiate, - op->send_ping.on_ack); - return absl::OkStatus(); - }, - // Queue pick. - [](LoadBalancingPolicy::PickResult::Queue* /*queue_pick*/) { - return GRPC_ERROR_CREATE("LB picker queued call"); - }, - // Fail pick. - [](LoadBalancingPolicy::PickResult::Fail* fail_pick) { - return absl_status_to_grpc_error(fail_pick->status); - }, - // Drop pick. - [](LoadBalancingPolicy::PickResult::Drop* drop_pick) { - return absl_status_to_grpc_error(drop_pick->status); - }); -} - -void ClientChannel::StartTransportOpLocked(grpc_transport_op* op) { - // Connectivity watch. - if (op->start_connectivity_watch != nullptr) { - state_tracker_.AddWatcher(op->start_connectivity_watch_state, - std::move(op->start_connectivity_watch)); - } - if (op->stop_connectivity_watch != nullptr) { - state_tracker_.RemoveWatcher(op->stop_connectivity_watch); - } - // Ping. - if (op->send_ping.on_initiate != nullptr || op->send_ping.on_ack != nullptr) { - grpc_error_handle error = DoPingLocked(op); - if (!error.ok()) { - ExecCtx::Run(DEBUG_LOCATION, op->send_ping.on_initiate, error); - ExecCtx::Run(DEBUG_LOCATION, op->send_ping.on_ack, error); - } - op->bind_pollset = nullptr; - op->send_ping.on_initiate = nullptr; - op->send_ping.on_ack = nullptr; - } - // Reset backoff. - if (op->reset_connect_backoff) { - if (lb_policy_ != nullptr) { - lb_policy_->ResetBackoffLocked(); - } - } - // Disconnect or enter IDLE. - if (!op->disconnect_with_error.ok()) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_trace)) { - gpr_log(GPR_INFO, "chand=%p: disconnect_with_error: %s", this, - StatusToString(op->disconnect_with_error).c_str()); - } - DestroyResolverAndLbPolicyLocked(); - intptr_t value; - if (grpc_error_get_int(op->disconnect_with_error, - StatusIntProperty::ChannelConnectivityState, - &value) && - static_cast(value) == GRPC_CHANNEL_IDLE) { - if (disconnect_error_.ok()) { // Ignore if we're shutting down. - // Enter IDLE state. - UpdateStateAndPickerLocked(GRPC_CHANNEL_IDLE, absl::Status(), - "channel entering IDLE", nullptr); - // TODO(roth): Do we need to check for any queued picks here, in - // case there's a race condition in the client_idle filter? - // And maybe also check for calls in the resolver queue? - } - } else { - // Disconnect. - GPR_ASSERT(disconnect_error_.ok()); - disconnect_error_ = op->disconnect_with_error; - UpdateStateAndPickerLocked( - GRPC_CHANNEL_SHUTDOWN, absl::Status(), "shutdown from API", - MakeRefCounted( - grpc_error_to_absl_status(op->disconnect_with_error))); - // TODO(roth): If this happens when we're still waiting for a - // resolver result, we need to trigger failures for all calls in - // the resolver queue here. - } - } - GRPC_CHANNEL_STACK_UNREF(owning_stack_, "start_transport_op"); - ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus()); -} - -void ClientChannel::StartTransportOp(grpc_channel_element* elem, - grpc_transport_op* op) { - ClientChannel* chand = static_cast(elem->channel_data); - GPR_ASSERT(op->set_accept_stream == false); - // Handle bind_pollset. - if (op->bind_pollset != nullptr) { - grpc_pollset_set_add_pollset(chand->interested_parties_, op->bind_pollset); - } - // Pop into control plane work_serializer for remaining ops. - GRPC_CHANNEL_STACK_REF(chand->owning_stack_, "start_transport_op"); - chand->work_serializer_->Run( - [chand, op]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand->work_serializer_) { - chand->StartTransportOpLocked(op); - }, - DEBUG_LOCATION); -} - -void ClientChannel::GetChannelInfo(grpc_channel_element* elem, - const grpc_channel_info* info) { - ClientChannel* chand = static_cast(elem->channel_data); - MutexLock lock(&chand->info_mu_); - if (info->lb_policy_name != nullptr) { - *info->lb_policy_name = gpr_strdup(chand->info_lb_policy_name_.c_str()); - } - if (info->service_config_json != nullptr) { - *info->service_config_json = - gpr_strdup(chand->info_service_config_json_.c_str()); - } -} - -void ClientChannel::TryToConnectLocked() { - if (disconnect_error_.ok()) { - if (lb_policy_ != nullptr) { - lb_policy_->ExitIdleLocked(); - } else if (resolver_ == nullptr) { - CreateResolverLocked(); - } - } - GRPC_CHANNEL_STACK_UNREF(owning_stack_, "TryToConnect"); -} - -grpc_connectivity_state ClientChannel::CheckConnectivityState( - bool try_to_connect) { - // state_tracker_ is guarded by work_serializer_, which we're not - // holding here. But the one method of state_tracker_ that *is* - // thread-safe to call without external synchronization is the state() - // method, so we can disable thread-safety analysis for this one read. - grpc_connectivity_state out = ABSL_TS_UNCHECKED_READ(state_tracker_).state(); - if (out == GRPC_CHANNEL_IDLE && try_to_connect) { - GRPC_CHANNEL_STACK_REF(owning_stack_, "TryToConnect"); - work_serializer_->Run([this]() ABSL_EXCLUSIVE_LOCKS_REQUIRED( - *work_serializer_) { TryToConnectLocked(); }, - DEBUG_LOCATION); - } - return out; -} - -void ClientChannel::AddConnectivityWatcher( - grpc_connectivity_state initial_state, - OrphanablePtr watcher) { - new ConnectivityWatcherAdder(this, initial_state, std::move(watcher)); -} - -void ClientChannel::RemoveConnectivityWatcher( - AsyncConnectivityStateWatcherInterface* watcher) { - new ConnectivityWatcherRemover(this, watcher); -} - -// -// CallData implementation -// - -void ClientChannel::CallData::RemoveCallFromResolverQueuedCallsLocked() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p calld=%p: removing from resolver queued picks list", - chand(), this); - } - // Remove call's pollent from channel's interested_parties. - grpc_polling_entity_del_from_pollset_set(pollent(), - chand()->interested_parties_); - // Note: There's no need to actually remove the call from the queue - // here, because that will be done in - // ResolverQueuedCallCanceller::CancelLocked() or - // ClientChannel::ReprocessQueuedResolverCalls(). -} - -void ClientChannel::CallData::AddCallToResolverQueuedCallsLocked() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log( - GPR_INFO, - "chand=%p calld=%p: adding to resolver queued picks list; pollent=%s", - chand(), this, grpc_polling_entity_string(pollent()).c_str()); - } - // Add call's pollent to channel's interested_parties, so that I/O - // can be done under the call's CQ. - grpc_polling_entity_add_to_pollset_set(pollent(), - chand()->interested_parties_); - // Add to queue. - chand()->resolver_queued_calls_.insert(this); - OnAddToQueueLocked(); -} - -grpc_error_handle ClientChannel::CallData::ApplyServiceConfigToCallLocked( - const absl::StatusOr>& config_selector) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, "chand=%p calld=%p: applying service config to call", - chand(), this); - } - if (!config_selector.ok()) return config_selector.status(); - // Create a ClientChannelServiceConfigCallData for the call. This stores - // a ref to the ServiceConfig and caches the right set of parsed configs - // to use for the call. The ClientChannelServiceConfigCallData will store - // itself in the call context, so that it can be accessed by filters - // below us in the stack, and it will be cleaned up when the call ends. - auto* service_config_call_data = - arena()->New(arena(), call_context()); - // Use the ConfigSelector to determine the config for the call. - absl::Status call_config_status = - (*config_selector) - ->GetCallConfig( - {send_initial_metadata(), arena(), service_config_call_data}); - if (!call_config_status.ok()) { - return absl_status_to_grpc_error( - MaybeRewriteIllegalStatusCode(call_config_status, "ConfigSelector")); - } - // Apply our own method params to the call. - auto* method_params = static_cast( - service_config_call_data->GetMethodParsedConfig( - chand()->service_config_parser_index_)); - if (method_params != nullptr) { - // If the deadline from the service config is shorter than the one - // from the client API, reset the deadline timer. - if (chand()->deadline_checking_enabled_ && - method_params->timeout() != Duration::Zero()) { - ResetDeadline(method_params->timeout()); - } - // If the service config set wait_for_ready and the application - // did not explicitly set it, use the value from the service config. - auto* wait_for_ready = - send_initial_metadata()->GetOrCreatePointer(WaitForReady()); - if (method_params->wait_for_ready().has_value() && - !wait_for_ready->explicitly_set) { - wait_for_ready->value = method_params->wait_for_ready().value(); - } - } - return absl::OkStatus(); -} - -absl::optional ClientChannel::CallData::CheckResolution( - bool was_queued) { - // Check if we have a resolver result to use. - absl::StatusOr> config_selector; - { - MutexLock lock(&chand()->resolution_mu_); - bool result_ready = CheckResolutionLocked(&config_selector); - // If no result is available, queue the call. - if (!result_ready) { - AddCallToResolverQueuedCallsLocked(); - return absl::nullopt; - } - } - // We have a result. Apply service config to call. - grpc_error_handle error = ApplyServiceConfigToCallLocked(config_selector); - // ConfigSelector must be unreffed inside the WorkSerializer. - if (!IsWorkSerializerDispatchEnabled() && config_selector.ok()) { - chand()->work_serializer_->Run( - [config_selector = std::move(*config_selector)]() mutable { - config_selector.reset(); - }, - DEBUG_LOCATION); - } - // Handle errors. - if (!error.ok()) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p calld=%p: error applying config to call: error=%s", - chand(), this, StatusToString(error).c_str()); - } - return error; - } - // If the call was queued, add trace annotation. - if (was_queued) { - auto* call_tracer = static_cast( - call_context()[GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE].value); - if (call_tracer != nullptr) { - call_tracer->RecordAnnotation("Delayed name resolution complete."); - } - } - return absl::OkStatus(); -} - -bool ClientChannel::CallData::CheckResolutionLocked( - absl::StatusOr>* config_selector) { - // If we don't yet have a resolver result, we need to queue the call - // until we get one. - if (GPR_UNLIKELY(!chand()->received_service_config_data_)) { - // If the resolver returned transient failure before returning the - // first service config, fail any non-wait_for_ready calls. - absl::Status resolver_error = chand()->resolver_transient_failure_error_; - if (!resolver_error.ok() && - !send_initial_metadata()->GetOrCreatePointer(WaitForReady())->value) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, "chand=%p calld=%p: resolution failed, failing call", - chand(), this); - } - *config_selector = absl_status_to_grpc_error(resolver_error); - return true; - } - // Either the resolver has not yet returned a result, or it has - // returned transient failure but the call is wait_for_ready. In - // either case, queue the call. - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, "chand=%p calld=%p: no resolver result yet", chand(), - this); - } - return false; - } - // Result found. - *config_selector = chand()->config_selector_; - dynamic_filters_ = chand()->dynamic_filters_; - return true; -} - -// -// FilterBasedCallData implementation -// - -ClientChannel::FilterBasedCallData::FilterBasedCallData( - grpc_call_element* elem, const grpc_call_element_args& args) - : path_(CSliceRef(args.path)), - call_context_(args.context), - call_start_time_(args.start_time), - deadline_(args.deadline), - deadline_state_(elem, args, - GPR_LIKELY(static_cast(elem->channel_data) - ->deadline_checking_enabled_) - ? args.deadline - : Timestamp::InfFuture()) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, "chand=%p calld=%p: created call", chand(), this); - } -} - -ClientChannel::FilterBasedCallData::~FilterBasedCallData() { - CSliceUnref(path_); - // Make sure there are no remaining pending batches. - for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { - GPR_ASSERT(pending_batches_[i] == nullptr); - } -} - -grpc_error_handle ClientChannel::FilterBasedCallData::Init( - grpc_call_element* elem, const grpc_call_element_args* args) { - new (elem->call_data) FilterBasedCallData(elem, *args); - return absl::OkStatus(); -} - -void ClientChannel::FilterBasedCallData::Destroy( - grpc_call_element* elem, const grpc_call_final_info* /*final_info*/, - grpc_closure* then_schedule_closure) { - auto* calld = static_cast(elem->call_data); - RefCountedPtr dynamic_call = - std::move(calld->dynamic_call_); - calld->~FilterBasedCallData(); - if (GPR_LIKELY(dynamic_call != nullptr)) { - dynamic_call->SetAfterCallStackDestroy(then_schedule_closure); - } else { - // TODO(yashkt) : This can potentially be a Closure::Run - ExecCtx::Run(DEBUG_LOCATION, then_schedule_closure, absl::OkStatus()); - } -} - -void ClientChannel::FilterBasedCallData::StartTransportStreamOpBatch( - grpc_call_element* elem, grpc_transport_stream_op_batch* batch) { - auto* calld = static_cast(elem->call_data); - ClientChannel* chand = static_cast(elem->channel_data); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace) && - !GRPC_TRACE_FLAG_ENABLED(grpc_trace_channel)) { - gpr_log(GPR_INFO, "chand=%p calld=%p: batch started from above: %s", chand, - calld, grpc_transport_stream_op_batch_string(batch, false).c_str()); - } - if (GPR_LIKELY(chand->deadline_checking_enabled_)) { - grpc_deadline_state_client_start_transport_stream_op_batch( - &calld->deadline_state_, batch); - } - // Intercept recv_trailing_metadata to commit the call, in case we wind up - // failing the call before we get down to the retry or LB call layer. - if (batch->recv_trailing_metadata) { - calld->original_recv_trailing_metadata_ready_ = - batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready; - GRPC_CLOSURE_INIT(&calld->recv_trailing_metadata_ready_, - RecvTrailingMetadataReadyForConfigSelectorCommitCallback, - calld, nullptr); - batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready = - &calld->recv_trailing_metadata_ready_; - } - // If we already have a dynamic call, pass the batch down to it. - // Note that once we have done so, we do not need to acquire the channel's - // resolution mutex, which is more efficient (especially for streaming calls). - if (calld->dynamic_call_ != nullptr) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, "chand=%p calld=%p: starting batch on dynamic_call=%p", - chand, calld, calld->dynamic_call_.get()); - } - calld->dynamic_call_->StartTransportStreamOpBatch(batch); - return; - } - // We do not yet have a dynamic call. - // - // If we've previously been cancelled, immediately fail any new batches. - if (GPR_UNLIKELY(!calld->cancel_error_.ok())) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, "chand=%p calld=%p: failing batch with error: %s", - chand, calld, StatusToString(calld->cancel_error_).c_str()); - } - // Note: This will release the call combiner. - grpc_transport_stream_op_batch_finish_with_failure( - batch, calld->cancel_error_, calld->call_combiner()); - return; - } - // Handle cancellation. - if (GPR_UNLIKELY(batch->cancel_stream)) { - // Stash a copy of cancel_error in our call data, so that we can use - // it for subsequent operations. This ensures that if the call is - // cancelled before any batches are passed down (e.g., if the deadline - // is in the past when the call starts), we can return the right - // error to the caller when the first batch does get passed down. - calld->cancel_error_ = batch->payload->cancel_stream.cancel_error; - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, "chand=%p calld=%p: recording cancel_error=%s", chand, - calld, StatusToString(calld->cancel_error_).c_str()); - } - // Fail all pending batches. - calld->PendingBatchesFail(calld->cancel_error_, NoYieldCallCombiner); - // Note: This will release the call combiner. - grpc_transport_stream_op_batch_finish_with_failure( - batch, calld->cancel_error_, calld->call_combiner()); - return; - } - // Add the batch to the pending list. - calld->PendingBatchesAdd(batch); - // For batches containing a send_initial_metadata op, acquire the - // channel's resolution mutex to apply the service config to the call, - // after which we will create a dynamic call. - if (GPR_LIKELY(batch->send_initial_metadata)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p calld=%p: grabbing resolution mutex to apply service " - "config", - chand, calld); - } - // If we're still in IDLE, we need to start resolving. - if (GPR_UNLIKELY(chand->CheckConnectivityState(false) == - GRPC_CHANNEL_IDLE)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, "chand=%p calld=%p: triggering exit idle", chand, - calld); - } - // Bounce into the control plane work serializer to start resolving. - GRPC_CHANNEL_STACK_REF(chand->owning_stack_, "ExitIdle"); - chand->work_serializer_->Run( - [chand]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand->work_serializer_) { - chand->CheckConnectivityState(/*try_to_connect=*/true); - GRPC_CHANNEL_STACK_UNREF(chand->owning_stack_, "ExitIdle"); - }, - DEBUG_LOCATION); - } - calld->TryCheckResolution(/*was_queued=*/false); - } else { - // For all other batches, release the call combiner. - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p calld=%p: saved batch, yielding call combiner", chand, - calld); - } - GRPC_CALL_COMBINER_STOP(calld->call_combiner(), - "batch does not include send_initial_metadata"); - } -} - -void ClientChannel::FilterBasedCallData::SetPollent( - grpc_call_element* elem, grpc_polling_entity* pollent) { - auto* calld = static_cast(elem->call_data); - calld->pollent_ = pollent; -} - -size_t ClientChannel::FilterBasedCallData::GetBatchIndex( - grpc_transport_stream_op_batch* batch) { - // Note: It is important the send_initial_metadata be the first entry - // here, since the code in CheckResolution() assumes it will be. - if (batch->send_initial_metadata) return 0; - if (batch->send_message) return 1; - if (batch->send_trailing_metadata) return 2; - if (batch->recv_initial_metadata) return 3; - if (batch->recv_message) return 4; - if (batch->recv_trailing_metadata) return 5; - GPR_UNREACHABLE_CODE(return (size_t)-1); -} - -// This is called via the call combiner, so access to calld is synchronized. -void ClientChannel::FilterBasedCallData::PendingBatchesAdd( - grpc_transport_stream_op_batch* batch) { - const size_t idx = GetBatchIndex(batch); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p calld=%p: adding pending batch at index %" PRIuPTR, - chand(), this, idx); - } - grpc_transport_stream_op_batch*& pending = pending_batches_[idx]; - GPR_ASSERT(pending == nullptr); - pending = batch; -} - -// This is called via the call combiner, so access to calld is synchronized. -void ClientChannel::FilterBasedCallData::FailPendingBatchInCallCombiner( - void* arg, grpc_error_handle error) { - grpc_transport_stream_op_batch* batch = - static_cast(arg); - auto* calld = - static_cast(batch->handler_private.extra_arg); - // Note: This will release the call combiner. - grpc_transport_stream_op_batch_finish_with_failure(batch, error, - calld->call_combiner()); -} - -// This is called via the call combiner, so access to calld is synchronized. -void ClientChannel::FilterBasedCallData::PendingBatchesFail( - grpc_error_handle error, - YieldCallCombinerPredicate yield_call_combiner_predicate) { - GPR_ASSERT(!error.ok()); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - size_t num_batches = 0; - for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { - if (pending_batches_[i] != nullptr) ++num_batches; - } - gpr_log(GPR_INFO, - "chand=%p calld=%p: failing %" PRIuPTR " pending batches: %s", - chand(), this, num_batches, StatusToString(error).c_str()); - } - CallCombinerClosureList closures; - for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { - grpc_transport_stream_op_batch*& batch = pending_batches_[i]; - if (batch != nullptr) { - batch->handler_private.extra_arg = this; - GRPC_CLOSURE_INIT(&batch->handler_private.closure, - FailPendingBatchInCallCombiner, batch, - grpc_schedule_on_exec_ctx); - closures.Add(&batch->handler_private.closure, error, - "PendingBatchesFail"); - batch = nullptr; - } - } - if (yield_call_combiner_predicate(closures)) { - closures.RunClosures(call_combiner()); - } else { - closures.RunClosuresWithoutYielding(call_combiner()); - } -} - -// This is called via the call combiner, so access to calld is synchronized. -void ClientChannel::FilterBasedCallData::ResumePendingBatchInCallCombiner( - void* arg, grpc_error_handle /*ignored*/) { - grpc_transport_stream_op_batch* batch = - static_cast(arg); - auto* calld = - static_cast(batch->handler_private.extra_arg); - // Note: This will release the call combiner. - calld->dynamic_call_->StartTransportStreamOpBatch(batch); -} - -// This is called via the call combiner, so access to calld is synchronized. -void ClientChannel::FilterBasedCallData::PendingBatchesResume() { - // Retries not enabled; send down batches as-is. - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - size_t num_batches = 0; - for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { - if (pending_batches_[i] != nullptr) ++num_batches; - } - gpr_log(GPR_INFO, - "chand=%p calld=%p: starting %" PRIuPTR - " pending batches on dynamic_call=%p", - chand(), this, num_batches, dynamic_call_.get()); - } - CallCombinerClosureList closures; - for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { - grpc_transport_stream_op_batch*& batch = pending_batches_[i]; - if (batch != nullptr) { - batch->handler_private.extra_arg = this; - GRPC_CLOSURE_INIT(&batch->handler_private.closure, - ResumePendingBatchInCallCombiner, batch, nullptr); - closures.Add(&batch->handler_private.closure, absl::OkStatus(), - "resuming pending batch from client channel call"); - batch = nullptr; - } - } - // Note: This will release the call combiner. - closures.RunClosures(call_combiner()); -} - -// A class to handle the call combiner cancellation callback for a -// queued pick. -class ClientChannel::FilterBasedCallData::ResolverQueuedCallCanceller { - public: - explicit ResolverQueuedCallCanceller(FilterBasedCallData* calld) - : calld_(calld) { - GRPC_CALL_STACK_REF(calld->owning_call(), "ResolverQueuedCallCanceller"); - GRPC_CLOSURE_INIT(&closure_, &CancelLocked, this, - grpc_schedule_on_exec_ctx); - calld->call_combiner()->SetNotifyOnCancel(&closure_); - } - - private: - static void CancelLocked(void* arg, grpc_error_handle error) { - auto* self = static_cast(arg); - auto* calld = self->calld_; - auto* chand = calld->chand(); - { - MutexLock lock(&chand->resolution_mu_); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p calld=%p: cancelling resolver queued pick: " - "error=%s self=%p calld->resolver_pick_canceller=%p", - chand, calld, StatusToString(error).c_str(), self, - calld->resolver_call_canceller_); - } - if (calld->resolver_call_canceller_ == self && !error.ok()) { - // Remove pick from list of queued picks. - calld->RemoveCallFromResolverQueuedCallsLocked(); - chand->resolver_queued_calls_.erase(calld); - // Fail pending batches on the call. - calld->PendingBatchesFail(error, - YieldCallCombinerIfPendingBatchesFound); - } - } - GRPC_CALL_STACK_UNREF(calld->owning_call(), "ResolvingQueuedCallCanceller"); - delete self; - } - - FilterBasedCallData* calld_; - grpc_closure closure_; -}; - -void ClientChannel::FilterBasedCallData::TryCheckResolution(bool was_queued) { - auto result = CheckResolution(was_queued); - if (result.has_value()) { - if (!result->ok()) { - PendingBatchesFail(*result, YieldCallCombiner); - return; - } - CreateDynamicCall(); - } -} - -void ClientChannel::FilterBasedCallData::OnAddToQueueLocked() { - // Register call combiner cancellation callback. - resolver_call_canceller_ = new ResolverQueuedCallCanceller(this); -} - -void ClientChannel::FilterBasedCallData::RetryCheckResolutionLocked() { - // Lame the call combiner canceller. - resolver_call_canceller_ = nullptr; - // Do an async callback to resume call processing, so that we're not - // doing it while holding the channel's resolution mutex. - chand()->owning_stack_->EventEngine()->Run([this]() { - ApplicationCallbackExecCtx application_exec_ctx; - ExecCtx exec_ctx; - TryCheckResolution(/*was_queued=*/true); - }); -} - -void ClientChannel::FilterBasedCallData::CreateDynamicCall() { - DynamicFilters::Call::Args args = {dynamic_filters(), pollent_, path_, - call_start_time_, deadline_, arena(), - call_context_, call_combiner()}; - grpc_error_handle error; - DynamicFilters* channel_stack = args.channel_stack.get(); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log( - GPR_INFO, - "chand=%p calld=%p: creating dynamic call stack on channel_stack=%p", - chand(), this, channel_stack); - } - dynamic_call_ = channel_stack->CreateCall(std::move(args), &error); - if (!error.ok()) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p calld=%p: failed to create dynamic call: error=%s", - chand(), this, StatusToString(error).c_str()); - } - PendingBatchesFail(error, YieldCallCombiner); - return; - } - PendingBatchesResume(); -} - -void ClientChannel::FilterBasedCallData:: - RecvTrailingMetadataReadyForConfigSelectorCommitCallback( - void* arg, grpc_error_handle error) { - auto* calld = static_cast(arg); - auto* chand = calld->chand(); - auto* service_config_call_data = - GetServiceConfigCallData(calld->call_context()); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p calld=%p: got recv_trailing_metadata_ready: error=%s " - "service_config_call_data=%p", - chand, calld, StatusToString(error).c_str(), - service_config_call_data); - } - if (service_config_call_data != nullptr) { - service_config_call_data->Commit(); - } - // Chain to original callback. - Closure::Run(DEBUG_LOCATION, calld->original_recv_trailing_metadata_ready_, - error); -} - -// -// ClientChannel::LoadBalancedCall::LbCallState -// - -class ClientChannel::LoadBalancedCall::LbCallState - : public ClientChannelLbCallState { - public: - explicit LbCallState(LoadBalancedCall* lb_call) : lb_call_(lb_call) {} - - void* Alloc(size_t size) override { return lb_call_->arena()->Alloc(size); } - - // Internal API to allow first-party LB policies to access per-call - // attributes set by the ConfigSelector. - ServiceConfigCallData::CallAttributeInterface* GetCallAttribute( - UniqueTypeName type) const override; - - private: - LoadBalancedCall* lb_call_; -}; - -// -// ClientChannel::LoadBalancedCall::Metadata -// - -class ClientChannel::LoadBalancedCall::Metadata - : public LoadBalancingPolicy::MetadataInterface { - public: - explicit Metadata(grpc_metadata_batch* batch) : batch_(batch) {} - - void Add(absl::string_view key, absl::string_view value) override { - if (batch_ == nullptr) return; - // Gross, egregious hack to support legacy grpclb behavior. - // TODO(ctiller): Use a promise context for this once that plumbing is done. - if (key == GrpcLbClientStatsMetadata::key()) { - batch_->Set( - GrpcLbClientStatsMetadata(), - const_cast( - reinterpret_cast(value.data()))); - return; - } - batch_->Append(key, Slice::FromStaticString(value), - [key](absl::string_view error, const Slice& value) { - gpr_log(GPR_ERROR, "%s", - absl::StrCat(error, " key:", key, - " value:", value.as_string_view()) - .c_str()); - }); - } - - std::vector> TestOnlyCopyToVector() - override { - if (batch_ == nullptr) return {}; - Encoder encoder; - batch_->Encode(&encoder); - return encoder.Take(); - } - - absl::optional Lookup(absl::string_view key, - std::string* buffer) const override { - if (batch_ == nullptr) return absl::nullopt; - return batch_->GetStringValue(key, buffer); - } - - private: - class Encoder { - public: - void Encode(const Slice& key, const Slice& value) { - out_.emplace_back(std::string(key.as_string_view()), - std::string(value.as_string_view())); - } - - template - void Encode(Which, const typename Which::ValueType& value) { - auto value_slice = Which::Encode(value); - out_.emplace_back(std::string(Which::key()), - std::string(value_slice.as_string_view())); - } - - void Encode(GrpcTimeoutMetadata, - const typename GrpcTimeoutMetadata::ValueType&) {} - void Encode(HttpPathMetadata, const Slice&) {} - void Encode(HttpMethodMetadata, - const typename HttpMethodMetadata::ValueType&) {} - - std::vector> Take() { - return std::move(out_); - } - - private: - std::vector> out_; - }; - - grpc_metadata_batch* batch_; -}; - -// -// ClientChannel::LoadBalancedCall::LbCallState -// - -ServiceConfigCallData::CallAttributeInterface* -ClientChannel::LoadBalancedCall::LbCallState::GetCallAttribute( - UniqueTypeName type) const { - auto* service_config_call_data = - GetServiceConfigCallData(lb_call_->call_context()); - return service_config_call_data->GetCallAttribute(type); -} - -// -// ClientChannel::LoadBalancedCall::BackendMetricAccessor -// - -class ClientChannel::LoadBalancedCall::BackendMetricAccessor - : public LoadBalancingPolicy::BackendMetricAccessor { - public: - BackendMetricAccessor(LoadBalancedCall* lb_call, - grpc_metadata_batch* recv_trailing_metadata) - : lb_call_(lb_call), recv_trailing_metadata_(recv_trailing_metadata) {} - - const BackendMetricData* GetBackendMetricData() override { - if (lb_call_->backend_metric_data_ == nullptr && - recv_trailing_metadata_ != nullptr) { - if (const auto* md = recv_trailing_metadata_->get_pointer( - EndpointLoadMetricsBinMetadata())) { - BackendMetricAllocator allocator(lb_call_->arena()); - lb_call_->backend_metric_data_ = - ParseBackendMetricData(md->as_string_view(), &allocator); - } - } - return lb_call_->backend_metric_data_; - } - - private: - class BackendMetricAllocator : public BackendMetricAllocatorInterface { - public: - explicit BackendMetricAllocator(Arena* arena) : arena_(arena) {} - - BackendMetricData* AllocateBackendMetricData() override { - return arena_->New(); - } - - char* AllocateString(size_t size) override { - return static_cast(arena_->Alloc(size)); - } - - private: - Arena* arena_; - }; - - LoadBalancedCall* lb_call_; - grpc_metadata_batch* recv_trailing_metadata_; -}; - -// -// ClientChannel::LoadBalancedCall -// - -namespace { - -ClientCallTracer::CallAttemptTracer* CreateCallAttemptTracer( - grpc_call_context_element* context, bool is_transparent_retry) { - auto* call_tracer = static_cast( - context[GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE].value); - if (call_tracer == nullptr) return nullptr; - auto* tracer = call_tracer->StartNewAttempt(is_transparent_retry); - context[GRPC_CONTEXT_CALL_TRACER].value = tracer; - return tracer; -} - -} // namespace - -ClientChannel::LoadBalancedCall::LoadBalancedCall( - ClientChannel* chand, grpc_call_context_element* call_context, - absl::AnyInvocable on_commit, bool is_transparent_retry) - : InternallyRefCounted( - GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace) - ? "LoadBalancedCall" - : nullptr), - chand_(chand), - on_commit_(std::move(on_commit)) { - CreateCallAttemptTracer(call_context, is_transparent_retry); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, "chand=%p lb_call=%p: created", chand_, this); - } -} - -ClientChannel::LoadBalancedCall::~LoadBalancedCall() { - if (backend_metric_data_ != nullptr) { - backend_metric_data_->BackendMetricData::~BackendMetricData(); - } -} - -void ClientChannel::LoadBalancedCall::RecordCallCompletion( - absl::Status status, grpc_metadata_batch* recv_trailing_metadata, - grpc_transport_stream_stats* transport_stream_stats, - absl::string_view peer_address) { - // If we have a tracer, notify it. - if (call_attempt_tracer() != nullptr) { - call_attempt_tracer()->RecordReceivedTrailingMetadata( - status, recv_trailing_metadata, transport_stream_stats); - } - // If the LB policy requested a callback for trailing metadata, invoke - // the callback. - if (lb_subchannel_call_tracker_ != nullptr) { - Metadata trailing_metadata(recv_trailing_metadata); - BackendMetricAccessor backend_metric_accessor(this, recv_trailing_metadata); - LoadBalancingPolicy::SubchannelCallTrackerInterface::FinishArgs args = { - peer_address, status, &trailing_metadata, &backend_metric_accessor}; - lb_subchannel_call_tracker_->Finish(args); - lb_subchannel_call_tracker_.reset(); - } -} - -void ClientChannel::LoadBalancedCall::RecordLatency() { - // Compute latency and report it to the tracer. - if (call_attempt_tracer() != nullptr) { - gpr_timespec latency = - gpr_cycle_counter_sub(gpr_get_cycle_counter(), lb_call_start_time_); - call_attempt_tracer()->RecordEnd(latency); - } -} - -void ClientChannel::LoadBalancedCall::RemoveCallFromLbQueuedCallsLocked() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, "chand=%p lb_call=%p: removing from queued picks list", - chand_, this); - } - // Remove pollset_set linkage. - grpc_polling_entity_del_from_pollset_set(pollent(), - chand_->interested_parties_); - // Note: There's no need to actually remove the call from the queue - // here, beacuse that will be done in either - // LbQueuedCallCanceller::CancelLocked() or - // in ClientChannel::UpdateStateAndPickerLocked(). -} - -void ClientChannel::LoadBalancedCall::AddCallToLbQueuedCallsLocked() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, "chand=%p lb_call=%p: adding to queued picks list", - chand_, this); - } - // Add call's pollent to channel's interested_parties, so that I/O - // can be done under the call's CQ. - grpc_polling_entity_add_to_pollset_set(pollent(), - chand_->interested_parties_); - // Add to queue. - chand_->lb_queued_calls_.insert(Ref()); - OnAddToQueueLocked(); -} - -absl::optional ClientChannel::LoadBalancedCall::PickSubchannel( - bool was_queued) { - // We may accumulate multiple pickers here, because if a picker says - // to queue the call, we check again to see if the picker has been - // updated before we queue it. - // We need to unref pickers in the WorkSerializer. - std::vector> pickers; - auto cleanup = absl::MakeCleanup([&]() { - if (IsWorkSerializerDispatchEnabled()) return; - chand_->work_serializer_->Run( - [pickers = std::move(pickers)]() mutable { - for (auto& picker : pickers) { - picker.reset(DEBUG_LOCATION, "PickSubchannel"); - } - }, - DEBUG_LOCATION); - }); - absl::AnyInvocable)> - set_picker; - if (!IsWorkSerializerDispatchEnabled()) { - set_picker = - [&](RefCountedPtr picker) { - pickers.emplace_back(std::move(picker)); - }; - } else { - pickers.emplace_back(); - set_picker = - [&](RefCountedPtr picker) { - pickers[0] = std::move(picker); - }; - } - // Grab mutex and take a ref to the picker. - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, "chand=%p lb_call=%p: grabbing LB mutex to get picker", - chand_, this); - } - RefCountedPtr picker; - { - MutexLock lock(&chand_->lb_mu_); - set_picker(chand_->picker_); - } - while (true) { - // Do pick. - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, "chand=%p lb_call=%p: performing pick with picker=%p", - chand_, this, pickers.back().get()); - } - grpc_error_handle error; - bool pick_complete = PickSubchannelImpl(pickers.back().get(), &error); - if (!pick_complete) { - RefCountedPtr old_picker; - MutexLock lock(&chand_->lb_mu_); - // If picker has been swapped out since we grabbed it, try again. - if (pickers.back() != chand_->picker_) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: pick not complete, but picker changed", - chand_, this); - } - if (IsWorkSerializerDispatchEnabled()) { - // Don't unref until after we release the mutex. - old_picker = std::move(pickers.back()); - } - set_picker(chand_->picker_); - continue; - } - // Otherwise queue the pick to try again later when we get a new picker. - AddCallToLbQueuedCallsLocked(); - return absl::nullopt; - } - // Pick is complete. - // If it was queued, add a trace annotation. - if (was_queued && call_attempt_tracer() != nullptr) { - call_attempt_tracer()->RecordAnnotation("Delayed LB pick complete."); - } - // If the pick failed, fail the call. - if (!error.ok()) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: failed to pick subchannel: error=%s", - chand_, this, StatusToString(error).c_str()); - } - return error; - } - // Pick succeeded. - Commit(); - return absl::OkStatus(); - } -} - -bool ClientChannel::LoadBalancedCall::PickSubchannelImpl( - LoadBalancingPolicy::SubchannelPicker* picker, grpc_error_handle* error) { - GPR_ASSERT(connected_subchannel_ == nullptr); - // Perform LB pick. - LoadBalancingPolicy::PickArgs pick_args; - Slice* path = send_initial_metadata()->get_pointer(HttpPathMetadata()); - GPR_ASSERT(path != nullptr); - pick_args.path = path->as_string_view(); - LbCallState lb_call_state(this); - pick_args.call_state = &lb_call_state; - Metadata initial_metadata(send_initial_metadata()); - pick_args.initial_metadata = &initial_metadata; - auto result = picker->Pick(pick_args); - return HandlePickResult( - &result, - // CompletePick - [this](LoadBalancingPolicy::PickResult::Complete* complete_pick) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: LB pick succeeded: subchannel=%p", - chand_, this, complete_pick->subchannel.get()); - } - GPR_ASSERT(complete_pick->subchannel != nullptr); - // Grab a ref to the connected subchannel while we're still - // holding the data plane mutex. - SubchannelWrapper* subchannel = - static_cast(complete_pick->subchannel.get()); - connected_subchannel_ = subchannel->connected_subchannel(); - // If the subchannel has no connected subchannel (e.g., if the - // subchannel has moved out of state READY but the LB policy hasn't - // yet seen that change and given us a new picker), then just - // queue the pick. We'll try again as soon as we get a new picker. - if (connected_subchannel_ == nullptr) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: subchannel returned by LB picker " - "has no connected subchannel; queueing pick", - chand_, this); - } - return false; - } - lb_subchannel_call_tracker_ = - std::move(complete_pick->subchannel_call_tracker); - if (lb_subchannel_call_tracker_ != nullptr) { - lb_subchannel_call_tracker_->Start(); - } - return true; - }, - // QueuePick - [this](LoadBalancingPolicy::PickResult::Queue* /*queue_pick*/) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, "chand=%p lb_call=%p: LB pick queued", chand_, - this); - } - return false; - }, - // FailPick - [this, &error](LoadBalancingPolicy::PickResult::Fail* fail_pick) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, "chand=%p lb_call=%p: LB pick failed: %s", chand_, - this, fail_pick->status.ToString().c_str()); - } - // If wait_for_ready is false, then the error indicates the RPC - // attempt's final status. - if (!send_initial_metadata() - ->GetOrCreatePointer(WaitForReady()) - ->value) { - *error = absl_status_to_grpc_error(MaybeRewriteIllegalStatusCode( - std::move(fail_pick->status), "LB pick")); - return true; - } - // If wait_for_ready is true, then queue to retry when we get a new - // picker. - return false; - }, - // DropPick - [this, &error](LoadBalancingPolicy::PickResult::Drop* drop_pick) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, "chand=%p lb_call=%p: LB pick dropped: %s", chand_, - this, drop_pick->status.ToString().c_str()); - } - *error = grpc_error_set_int( - absl_status_to_grpc_error(MaybeRewriteIllegalStatusCode( - std::move(drop_pick->status), "LB drop")), - StatusIntProperty::kLbPolicyDrop, 1); - return true; - }); -} - -// -// ClientChannel::FilterBasedLoadBalancedCall -// - -ClientChannel::FilterBasedLoadBalancedCall::FilterBasedLoadBalancedCall( - ClientChannel* chand, const grpc_call_element_args& args, - grpc_polling_entity* pollent, grpc_closure* on_call_destruction_complete, - absl::AnyInvocable on_commit, bool is_transparent_retry) - : LoadBalancedCall(chand, args.context, std::move(on_commit), - is_transparent_retry), - deadline_(args.deadline), - arena_(args.arena), - call_context_(args.context), - owning_call_(args.call_stack), - call_combiner_(args.call_combiner), - pollent_(pollent), - on_call_destruction_complete_(on_call_destruction_complete) {} - -ClientChannel::FilterBasedLoadBalancedCall::~FilterBasedLoadBalancedCall() { - // Make sure there are no remaining pending batches. - for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { - GPR_ASSERT(pending_batches_[i] == nullptr); - } - if (on_call_destruction_complete_ != nullptr) { - ExecCtx::Run(DEBUG_LOCATION, on_call_destruction_complete_, - absl::OkStatus()); - } -} - -void ClientChannel::FilterBasedLoadBalancedCall::Orphan() { - // If the recv_trailing_metadata op was never started, then notify - // about call completion here, as best we can. We assume status - // CANCELLED in this case. - if (recv_trailing_metadata_ == nullptr) { - RecordCallCompletion(absl::CancelledError("call cancelled"), nullptr, - nullptr, ""); - } - RecordLatency(); - // Delegate to parent. - LoadBalancedCall::Orphan(); -} - -size_t ClientChannel::FilterBasedLoadBalancedCall::GetBatchIndex( - grpc_transport_stream_op_batch* batch) { - // Note: It is important the send_initial_metadata be the first entry - // here, since the code in PickSubchannelImpl() assumes it will be. - if (batch->send_initial_metadata) return 0; - if (batch->send_message) return 1; - if (batch->send_trailing_metadata) return 2; - if (batch->recv_initial_metadata) return 3; - if (batch->recv_message) return 4; - if (batch->recv_trailing_metadata) return 5; - GPR_UNREACHABLE_CODE(return (size_t)-1); -} - -// This is called via the call combiner, so access to calld is synchronized. -void ClientChannel::FilterBasedLoadBalancedCall::PendingBatchesAdd( - grpc_transport_stream_op_batch* batch) { - const size_t idx = GetBatchIndex(batch); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: adding pending batch at index %" PRIuPTR, - chand(), this, idx); - } - GPR_ASSERT(pending_batches_[idx] == nullptr); - pending_batches_[idx] = batch; -} - -// This is called via the call combiner, so access to calld is synchronized. -void ClientChannel::FilterBasedLoadBalancedCall::FailPendingBatchInCallCombiner( - void* arg, grpc_error_handle error) { - grpc_transport_stream_op_batch* batch = - static_cast(arg); - auto* self = static_cast( - batch->handler_private.extra_arg); - // Note: This will release the call combiner. - grpc_transport_stream_op_batch_finish_with_failure(batch, error, - self->call_combiner_); -} - -// This is called via the call combiner, so access to calld is synchronized. -void ClientChannel::FilterBasedLoadBalancedCall::PendingBatchesFail( - grpc_error_handle error, - YieldCallCombinerPredicate yield_call_combiner_predicate) { - GPR_ASSERT(!error.ok()); - failure_error_ = error; - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - size_t num_batches = 0; - for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { - if (pending_batches_[i] != nullptr) ++num_batches; - } - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: failing %" PRIuPTR " pending batches: %s", - chand(), this, num_batches, StatusToString(error).c_str()); - } - CallCombinerClosureList closures; - for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { - grpc_transport_stream_op_batch*& batch = pending_batches_[i]; - if (batch != nullptr) { - batch->handler_private.extra_arg = this; - GRPC_CLOSURE_INIT(&batch->handler_private.closure, - FailPendingBatchInCallCombiner, batch, - grpc_schedule_on_exec_ctx); - closures.Add(&batch->handler_private.closure, error, - "PendingBatchesFail"); - batch = nullptr; - } - } - if (yield_call_combiner_predicate(closures)) { - closures.RunClosures(call_combiner_); - } else { - closures.RunClosuresWithoutYielding(call_combiner_); - } -} - -// This is called via the call combiner, so access to calld is synchronized. -void ClientChannel::FilterBasedLoadBalancedCall:: - ResumePendingBatchInCallCombiner(void* arg, grpc_error_handle /*ignored*/) { - grpc_transport_stream_op_batch* batch = - static_cast(arg); - SubchannelCall* subchannel_call = - static_cast(batch->handler_private.extra_arg); - // Note: This will release the call combiner. - subchannel_call->StartTransportStreamOpBatch(batch); -} - -// This is called via the call combiner, so access to calld is synchronized. -void ClientChannel::FilterBasedLoadBalancedCall::PendingBatchesResume() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - size_t num_batches = 0; - for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { - if (pending_batches_[i] != nullptr) ++num_batches; - } - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: starting %" PRIuPTR - " pending batches on subchannel_call=%p", - chand(), this, num_batches, subchannel_call_.get()); - } - CallCombinerClosureList closures; - for (size_t i = 0; i < GPR_ARRAY_SIZE(pending_batches_); ++i) { - grpc_transport_stream_op_batch*& batch = pending_batches_[i]; - if (batch != nullptr) { - batch->handler_private.extra_arg = subchannel_call_.get(); - GRPC_CLOSURE_INIT(&batch->handler_private.closure, - ResumePendingBatchInCallCombiner, batch, - grpc_schedule_on_exec_ctx); - closures.Add(&batch->handler_private.closure, absl::OkStatus(), - "resuming pending batch from LB call"); - batch = nullptr; - } - } - // Note: This will release the call combiner. - closures.RunClosures(call_combiner_); -} - -void ClientChannel::FilterBasedLoadBalancedCall::StartTransportStreamOpBatch( - grpc_transport_stream_op_batch* batch) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace) || - GRPC_TRACE_FLAG_ENABLED(grpc_trace_channel)) { - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: batch started from above: %s, " - "call_attempt_tracer()=%p", - chand(), this, - grpc_transport_stream_op_batch_string(batch, false).c_str(), - call_attempt_tracer()); - } - // Handle call tracing. - if (call_attempt_tracer() != nullptr) { - // Record send ops in tracer. - if (batch->cancel_stream) { - call_attempt_tracer()->RecordCancel( - batch->payload->cancel_stream.cancel_error); - } - if (batch->send_initial_metadata) { - call_attempt_tracer()->RecordSendInitialMetadata( - batch->payload->send_initial_metadata.send_initial_metadata); - } - if (batch->send_trailing_metadata) { - call_attempt_tracer()->RecordSendTrailingMetadata( - batch->payload->send_trailing_metadata.send_trailing_metadata); - } - // Intercept recv ops. - if (batch->recv_initial_metadata) { - recv_initial_metadata_ = - batch->payload->recv_initial_metadata.recv_initial_metadata; - original_recv_initial_metadata_ready_ = - batch->payload->recv_initial_metadata.recv_initial_metadata_ready; - GRPC_CLOSURE_INIT(&recv_initial_metadata_ready_, RecvInitialMetadataReady, - this, nullptr); - batch->payload->recv_initial_metadata.recv_initial_metadata_ready = - &recv_initial_metadata_ready_; - } - } - // Intercept recv_trailing_metadata even if there is no call tracer, - // since we may need to notify the LB policy about trailing metadata. - if (batch->recv_trailing_metadata) { - recv_trailing_metadata_ = - batch->payload->recv_trailing_metadata.recv_trailing_metadata; - transport_stream_stats_ = - batch->payload->recv_trailing_metadata.collect_stats; - original_recv_trailing_metadata_ready_ = - batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready; - GRPC_CLOSURE_INIT(&recv_trailing_metadata_ready_, RecvTrailingMetadataReady, - this, nullptr); - batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready = - &recv_trailing_metadata_ready_; - } - // If we've already gotten a subchannel call, pass the batch down to it. - // Note that once we have picked a subchannel, we do not need to acquire - // the channel's data plane mutex, which is more efficient (especially for - // streaming calls). - if (subchannel_call_ != nullptr) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: starting batch on subchannel_call=%p", - chand(), this, subchannel_call_.get()); - } - subchannel_call_->StartTransportStreamOpBatch(batch); - return; - } - // We do not yet have a subchannel call. - // - // If we've previously been cancelled, immediately fail any new batches. - if (GPR_UNLIKELY(!cancel_error_.ok())) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, "chand=%p lb_call=%p: failing batch with error: %s", - chand(), this, StatusToString(cancel_error_).c_str()); - } - // Note: This will release the call combiner. - grpc_transport_stream_op_batch_finish_with_failure(batch, cancel_error_, - call_combiner_); - return; - } - // Handle cancellation. - if (GPR_UNLIKELY(batch->cancel_stream)) { - // Stash a copy of cancel_error in our call data, so that we can use - // it for subsequent operations. This ensures that if the call is - // cancelled before any batches are passed down (e.g., if the deadline - // is in the past when the call starts), we can return the right - // error to the caller when the first batch does get passed down. - cancel_error_ = batch->payload->cancel_stream.cancel_error; - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, "chand=%p lb_call=%p: recording cancel_error=%s", - chand(), this, StatusToString(cancel_error_).c_str()); - } - // Fail all pending batches. - PendingBatchesFail(cancel_error_, NoYieldCallCombiner); - // Note: This will release the call combiner. - grpc_transport_stream_op_batch_finish_with_failure(batch, cancel_error_, - call_combiner_); - return; - } - // Add the batch to the pending list. - PendingBatchesAdd(batch); - // For batches containing a send_initial_metadata op, acquire the - // channel's LB mutex to pick a subchannel. - if (GPR_LIKELY(batch->send_initial_metadata)) { - TryPick(/*was_queued=*/false); - } else { - // For all other batches, release the call combiner. - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: saved batch, yielding call combiner", - chand(), this); - } - GRPC_CALL_COMBINER_STOP(call_combiner_, - "batch does not include send_initial_metadata"); - } -} - -void ClientChannel::FilterBasedLoadBalancedCall::RecvInitialMetadataReady( - void* arg, grpc_error_handle error) { - auto* self = static_cast(arg); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: got recv_initial_metadata_ready: error=%s", - self->chand(), self, StatusToString(error).c_str()); - } - if (error.ok()) { - // recv_initial_metadata_flags is not populated for clients - self->call_attempt_tracer()->RecordReceivedInitialMetadata( - self->recv_initial_metadata_); - auto* peer_string = self->recv_initial_metadata_->get_pointer(PeerString()); - if (peer_string != nullptr) self->peer_string_ = peer_string->Ref(); - } - Closure::Run(DEBUG_LOCATION, self->original_recv_initial_metadata_ready_, - error); -} - -void ClientChannel::FilterBasedLoadBalancedCall::RecvTrailingMetadataReady( - void* arg, grpc_error_handle error) { - auto* self = static_cast(arg); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: got recv_trailing_metadata_ready: error=%s " - "call_attempt_tracer()=%p lb_subchannel_call_tracker_=%p " - "failure_error_=%s", - self->chand(), self, StatusToString(error).c_str(), - self->call_attempt_tracer(), self->lb_subchannel_call_tracker(), - StatusToString(self->failure_error_).c_str()); - } - // Check if we have a tracer or an LB callback to invoke. - if (self->call_attempt_tracer() != nullptr || - self->lb_subchannel_call_tracker() != nullptr) { - // Get the call's status. - absl::Status status; - if (!error.ok()) { - // Get status from error. - grpc_status_code code; - std::string message; - grpc_error_get_status(error, self->deadline_, &code, &message, - /*http_error=*/nullptr, /*error_string=*/nullptr); - status = absl::Status(static_cast(code), message); - } else { - // Get status from headers. - const auto& md = *self->recv_trailing_metadata_; - grpc_status_code code = - md.get(GrpcStatusMetadata()).value_or(GRPC_STATUS_UNKNOWN); - if (code != GRPC_STATUS_OK) { - absl::string_view message; - if (const auto* grpc_message = md.get_pointer(GrpcMessageMetadata())) { - message = grpc_message->as_string_view(); - } - status = absl::Status(static_cast(code), message); - } - } - absl::string_view peer_string; - if (self->peer_string_.has_value()) { - peer_string = self->peer_string_->as_string_view(); - } - self->RecordCallCompletion(status, self->recv_trailing_metadata_, - self->transport_stream_stats_, peer_string); - } - // Chain to original callback. - if (!self->failure_error_.ok()) { - error = self->failure_error_; - self->failure_error_ = absl::OkStatus(); - } - Closure::Run(DEBUG_LOCATION, self->original_recv_trailing_metadata_ready_, - error); -} - -// A class to handle the call combiner cancellation callback for a -// queued pick. -// TODO(roth): When we implement hedging support, we won't be able to -// register a call combiner cancellation closure for each LB pick, -// because there may be multiple LB picks happening in parallel. -// Instead, we will probably need to maintain a list in the CallData -// object of pending LB picks to be cancelled when the closure runs. -class ClientChannel::FilterBasedLoadBalancedCall::LbQueuedCallCanceller { - public: - explicit LbQueuedCallCanceller( - RefCountedPtr lb_call) - : lb_call_(std::move(lb_call)) { - GRPC_CALL_STACK_REF(lb_call_->owning_call_, "LbQueuedCallCanceller"); - GRPC_CLOSURE_INIT(&closure_, &CancelLocked, this, nullptr); - lb_call_->call_combiner_->SetNotifyOnCancel(&closure_); - } - - private: - static void CancelLocked(void* arg, grpc_error_handle error) { - auto* self = static_cast(arg); - auto* lb_call = self->lb_call_.get(); - auto* chand = lb_call->chand(); - { - MutexLock lock(&chand->lb_mu_); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: cancelling queued pick: " - "error=%s self=%p calld->pick_canceller=%p", - chand, lb_call, StatusToString(error).c_str(), self, - lb_call->lb_call_canceller_); - } - if (lb_call->lb_call_canceller_ == self && !error.ok()) { - lb_call->Commit(); - // Remove pick from list of queued picks. - lb_call->RemoveCallFromLbQueuedCallsLocked(); - // Remove from queued picks list. - chand->lb_queued_calls_.erase(self->lb_call_); - // Fail pending batches on the call. - lb_call->PendingBatchesFail(error, - YieldCallCombinerIfPendingBatchesFound); - } - } - // Unref lb_call before unreffing the call stack, since unreffing - // the call stack may destroy the arena in which lb_call is allocated. - auto* owning_call = lb_call->owning_call_; - self->lb_call_.reset(); - GRPC_CALL_STACK_UNREF(owning_call, "LbQueuedCallCanceller"); - delete self; - } - - RefCountedPtr lb_call_; - grpc_closure closure_; -}; - -void ClientChannel::FilterBasedLoadBalancedCall::TryPick(bool was_queued) { - auto result = PickSubchannel(was_queued); - if (result.has_value()) { - if (!result->ok()) { - PendingBatchesFail(*result, YieldCallCombiner); - return; - } - CreateSubchannelCall(); - } -} - -void ClientChannel::FilterBasedLoadBalancedCall::OnAddToQueueLocked() { - // Register call combiner cancellation callback. - lb_call_canceller_ = new LbQueuedCallCanceller(Ref()); -} - -void ClientChannel::FilterBasedLoadBalancedCall::RetryPickLocked() { - // Lame the call combiner canceller. - lb_call_canceller_ = nullptr; - // Do an async callback to resume call processing, so that we're not - // doing it while holding the channel's LB mutex. - // TODO(roth): We should really be using EventEngine::Run() here - // instead of ExecCtx::Run(). Unfortunately, doing that seems to cause - // a flaky TSAN failure for reasons that I do not fully understand. - // However, given that we are working toward eliminating this code as - // part of the promise conversion, it doesn't seem worth further - // investigation right now. - ExecCtx::Run(DEBUG_LOCATION, NewClosure([this](grpc_error_handle) { - // If there are a lot of queued calls here, resuming them - // all may cause us to stay inside C-core for a long period - // of time. All of that work would be done using the same - // ExecCtx instance and therefore the same cached value of - // "now". The longer it takes to finish all of this work - // and exit from C-core, the more stale the cached value of - // "now" may become. This can cause problems whereby (e.g.) - // we calculate a timer deadline based on the stale value, - // which results in the timer firing too early. To avoid - // this, we invalidate the cached value for each call we - // process. - ExecCtx::Get()->InvalidateNow(); - TryPick(/*was_queued=*/true); - }), - absl::OkStatus()); -} - -void ClientChannel::FilterBasedLoadBalancedCall::CreateSubchannelCall() { - Slice* path = send_initial_metadata()->get_pointer(HttpPathMetadata()); - GPR_ASSERT(path != nullptr); - SubchannelCall::Args call_args = { - connected_subchannel()->Ref(), pollent_, path->Ref(), /*start_time=*/0, - deadline_, arena_, - // TODO(roth): When we implement hedging support, we will probably - // need to use a separate call context for each subchannel call. - call_context_, call_combiner_}; - grpc_error_handle error; - subchannel_call_ = SubchannelCall::Create(std::move(call_args), &error); - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: create subchannel_call=%p: error=%s", chand(), - this, subchannel_call_.get(), StatusToString(error).c_str()); - } - if (on_call_destruction_complete_ != nullptr) { - subchannel_call_->SetAfterCallStackDestroy(on_call_destruction_complete_); - on_call_destruction_complete_ = nullptr; - } - if (GPR_UNLIKELY(!error.ok())) { - PendingBatchesFail(error, YieldCallCombiner); - } else { - PendingBatchesResume(); - } -} - -// -// ClientChannel::PromiseBasedLoadBalancedCall -// - -ClientChannel::PromiseBasedLoadBalancedCall::PromiseBasedLoadBalancedCall( - ClientChannel* chand, absl::AnyInvocable on_commit, - bool is_transparent_retry) - : LoadBalancedCall(chand, GetContext(), - std::move(on_commit), is_transparent_retry) {} - -ArenaPromise -ClientChannel::PromiseBasedLoadBalancedCall::MakeCallPromise( - CallArgs call_args, OrphanablePtr lb_call) { - pollent_ = NowOrNever(call_args.polling_entity->WaitAndCopy()).value(); - // Record ops in tracer. - if (call_attempt_tracer() != nullptr) { - call_attempt_tracer()->RecordSendInitialMetadata( - call_args.client_initial_metadata.get()); - // TODO(ctiller): Find a way to do this without registering a no-op mapper. - call_args.client_to_server_messages->InterceptAndMapWithHalfClose( - [](MessageHandle message) { return message; }, // No-op. - [this]() { - // TODO(roth): Change CallTracer API to not pass metadata - // batch to this method, since the batch is always empty. - grpc_metadata_batch metadata(GetContext()); - call_attempt_tracer()->RecordSendTrailingMetadata(&metadata); - }); - } - // Extract peer name from server initial metadata. - call_args.server_initial_metadata->InterceptAndMap( - [this](ServerMetadataHandle metadata) { - if (call_attempt_tracer() != nullptr) { - call_attempt_tracer()->RecordReceivedInitialMetadata(metadata.get()); - } - Slice* peer_string = metadata->get_pointer(PeerString()); - if (peer_string != nullptr) peer_string_ = peer_string->Ref(); - return metadata; - }); - client_initial_metadata_ = std::move(call_args.client_initial_metadata); - return OnCancel( - Map(TrySeq( - // LB pick. - [this]() -> Poll { - auto result = PickSubchannel(was_queued_); - if (GRPC_TRACE_FLAG_ENABLED( - grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, - "chand=%p lb_call=%p: %sPickSubchannel() returns %s", - chand(), this, - Activity::current()->DebugTag().c_str(), - result.has_value() ? result->ToString().c_str() - : "Pending"); - } - if (result == absl::nullopt) return Pending{}; - return std::move(*result); - }, - [this, call_args = std::move(call_args)]() mutable - -> ArenaPromise { - call_args.client_initial_metadata = - std::move(client_initial_metadata_); - return connected_subchannel()->MakeCallPromise( - std::move(call_args)); - }), - // Record call completion. - [this](ServerMetadataHandle metadata) { - if (call_attempt_tracer() != nullptr || - lb_subchannel_call_tracker() != nullptr) { - absl::Status status; - grpc_status_code code = metadata->get(GrpcStatusMetadata()) - .value_or(GRPC_STATUS_UNKNOWN); - if (code != GRPC_STATUS_OK) { - absl::string_view message; - if (const auto* grpc_message = - metadata->get_pointer(GrpcMessageMetadata())) { - message = grpc_message->as_string_view(); - } - status = - absl::Status(static_cast(code), message); - } - RecordCallCompletion(status, metadata.get(), - &GetContext() - ->call_stats() - ->transport_stream_stats, - peer_string_.as_string_view()); - } - RecordLatency(); - return metadata; - }), - [lb_call = std::move(lb_call)]() { - // If the waker is pending, then we need to remove ourself from - // the list of queued LB calls. - if (!lb_call->waker_.is_unwakeable()) { - MutexLock lock(&lb_call->chand()->lb_mu_); - lb_call->Commit(); - // Remove pick from list of queued picks. - lb_call->RemoveCallFromLbQueuedCallsLocked(); - // Remove from queued picks list. - lb_call->chand()->lb_queued_calls_.erase(lb_call.get()); - } - // TODO(ctiller): We don't have access to the call's actual status - // here, so we just assume CANCELLED. We could change this to use - // CallFinalization instead of OnCancel() so that we can get the - // actual status. But we should also have access to the trailing - // metadata, which we don't have in either case. Ultimately, we - // need a better story for code that needs to run at the end of a - // call in both cancellation and non-cancellation cases that needs - // access to server trailing metadata and the call's real status. - if (lb_call->call_attempt_tracer() != nullptr) { - lb_call->call_attempt_tracer()->RecordCancel( - absl::CancelledError("call cancelled")); - } - if (lb_call->call_attempt_tracer() != nullptr || - lb_call->lb_subchannel_call_tracker() != nullptr) { - // If we were cancelled without recording call completion, then - // record call completion here, as best we can. We assume status - // CANCELLED in this case. - lb_call->RecordCallCompletion(absl::CancelledError("call cancelled"), - nullptr, nullptr, ""); - } - }); -} - -Arena* ClientChannel::PromiseBasedLoadBalancedCall::arena() const { - return GetContext(); -} - -grpc_call_context_element* -ClientChannel::PromiseBasedLoadBalancedCall::call_context() const { - return GetContext(); -} - -grpc_metadata_batch* -ClientChannel::PromiseBasedLoadBalancedCall::send_initial_metadata() const { - return client_initial_metadata_.get(); -} - -void ClientChannel::PromiseBasedLoadBalancedCall::OnAddToQueueLocked() { - waker_ = Activity::current()->MakeNonOwningWaker(); - was_queued_ = true; -} - -void ClientChannel::PromiseBasedLoadBalancedCall::RetryPickLocked() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_lb_call_trace)) { - gpr_log(GPR_INFO, "chand=%p lb_call=%p: RetryPickLocked()", chand(), this); - } - waker_.WakeupAsync(); -} - -} // namespace grpc_core diff --git a/src/core/ext/filters/client_channel/client_channel.h b/src/core/ext/filters/client_channel/client_channel.h deleted file mode 100644 index 6597200cbc5..00000000000 --- a/src/core/ext/filters/client_channel/client_channel.h +++ /dev/null @@ -1,639 +0,0 @@ -// -// Copyright 2015 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_H - -#include - -#include - -#include -#include -#include -#include -#include - -#include "absl/base/thread_annotations.h" -#include "absl/container/flat_hash_set.h" -#include "absl/functional/any_invocable.h" -#include "absl/status/status.h" -#include "absl/strings/string_view.h" -#include "absl/types/optional.h" - -#include -#include - -#include "src/core/ext/filters/client_channel/client_channel_factory.h" -#include "src/core/ext/filters/client_channel/config_selector.h" -#include "src/core/ext/filters/client_channel/dynamic_filters.h" -#include "src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h" -#include "src/core/ext/filters/client_channel/subchannel.h" -#include "src/core/ext/filters/client_channel/subchannel_pool_interface.h" -#include "src/core/lib/channel/call_tracer.h" -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/channel/channel_fwd.h" -#include "src/core/lib/channel/channel_stack.h" -#include "src/core/lib/channel/channelz.h" -#include "src/core/lib/channel/context.h" -#include "src/core/lib/gpr/time_precise.h" -#include "src/core/lib/gprpp/orphanable.h" -#include "src/core/lib/gprpp/ref_counted.h" -#include "src/core/lib/gprpp/ref_counted_ptr.h" -#include "src/core/lib/gprpp/sync.h" -#include "src/core/lib/gprpp/time.h" -#include "src/core/lib/gprpp/work_serializer.h" -#include "src/core/lib/iomgr/call_combiner.h" -#include "src/core/lib/iomgr/closure.h" -#include "src/core/lib/iomgr/error.h" -#include "src/core/lib/iomgr/iomgr_fwd.h" -#include "src/core/lib/iomgr/polling_entity.h" -#include "src/core/lib/load_balancing/lb_policy.h" -#include "src/core/lib/promise/activity.h" -#include "src/core/lib/promise/arena_promise.h" -#include "src/core/lib/resolver/resolver.h" -#include "src/core/lib/resource_quota/arena.h" -#include "src/core/lib/service_config/service_config.h" -#include "src/core/lib/slice/slice.h" -#include "src/core/lib/surface/channel.h" -#include "src/core/lib/transport/connectivity_state.h" -#include "src/core/lib/transport/metadata_batch.h" -#include "src/core/lib/transport/transport.h" - -// -// Client channel filter -// - -// A client channel is a channel that begins disconnected, and can connect -// to some endpoint on demand. If that endpoint disconnects, it will be -// connected to again later. -// -// Calls on a disconnected client channel are queued until a connection is -// established. - -// Channel arg key for server URI string. -#define GRPC_ARG_SERVER_URI "grpc.server_uri" - -// Channel arg containing a pointer to the ClientChannel object. -#define GRPC_ARG_CLIENT_CHANNEL "grpc.internal.client_channel" - -// Max number of batches that can be pending on a call at any given -// time. This includes one batch for each of the following ops: -// recv_initial_metadata -// send_initial_metadata -// recv_message -// send_message -// recv_trailing_metadata -// send_trailing_metadata -#define MAX_PENDING_BATCHES 6 - -namespace grpc_core { - -class ClientChannel { - public: - static const grpc_channel_filter kFilterVtableWithPromises; - static const grpc_channel_filter kFilterVtableWithoutPromises; - - class LoadBalancedCall; - class FilterBasedLoadBalancedCall; - class PromiseBasedLoadBalancedCall; - - // Flag that this object gets stored in channel args as a raw pointer. - struct RawPointerChannelArgTag {}; - static absl::string_view ChannelArgName() { return GRPC_ARG_CLIENT_CHANNEL; } - - // Returns the ClientChannel object from channel, or null if channel - // is not a client channel. - static ClientChannel* GetFromChannel(Channel* channel); - - static ArenaPromise MakeCallPromise( - grpc_channel_element* elem, CallArgs call_args, - NextPromiseFactory next_promise_factory); - - grpc_connectivity_state CheckConnectivityState(bool try_to_connect); - - // Starts a one-time connectivity state watch. When the channel's state - // becomes different from *state, sets *state to the new state and - // schedules on_complete. The watcher_timer_init callback is invoked as - // soon as the watch is actually started (i.e., after hopping into the - // client channel combiner). I/O will be serviced via pollent. - // - // This is intended to be used when starting a watch from outside of C-core - // via grpc_channel_watch_connectivity_state(). It should not be used - // by other callers. - void AddExternalConnectivityWatcher(grpc_polling_entity pollent, - grpc_connectivity_state* state, - grpc_closure* on_complete, - grpc_closure* watcher_timer_init) { - new ExternalConnectivityWatcher(this, pollent, state, on_complete, - watcher_timer_init); - } - - // Cancels a pending external watcher previously added by - // AddExternalConnectivityWatcher(). - void CancelExternalConnectivityWatcher(grpc_closure* on_complete) { - ExternalConnectivityWatcher::RemoveWatcherFromExternalWatchersMap( - this, on_complete, /*cancel=*/true); - } - - int NumExternalConnectivityWatchers() const { - MutexLock lock(&external_watchers_mu_); - return static_cast(external_watchers_.size()); - } - - // Starts and stops a connectivity watch. The watcher will be initially - // notified as soon as the state changes from initial_state and then on - // every subsequent state change until either the watch is stopped or - // it is notified that the state has changed to SHUTDOWN. - // - // This is intended to be used when starting watches from code inside of - // C-core (e.g., for a nested control plane channel for things like xds). - void AddConnectivityWatcher( - grpc_connectivity_state initial_state, - OrphanablePtr watcher); - void RemoveConnectivityWatcher( - AsyncConnectivityStateWatcherInterface* watcher); - - OrphanablePtr CreateLoadBalancedCall( - const grpc_call_element_args& args, grpc_polling_entity* pollent, - grpc_closure* on_call_destruction_complete, - absl::AnyInvocable on_commit, bool is_transparent_retry); - - ArenaPromise CreateLoadBalancedCallPromise( - CallArgs call_args, absl::AnyInvocable on_commit, - bool is_transparent_retry); - - // Exposed for testing only. - static ChannelArgs MakeSubchannelArgs( - const ChannelArgs& channel_args, const ChannelArgs& address_args, - const RefCountedPtr& subchannel_pool, - const std::string& channel_default_authority); - - private: - class CallData; - class FilterBasedCallData; - class PromiseBasedCallData; - class ResolverResultHandler; - class SubchannelWrapper; - class ClientChannelControlHelper; - class ConnectivityWatcherAdder; - class ConnectivityWatcherRemover; - - // Represents a pending connectivity callback from an external caller - // via grpc_client_channel_watch_connectivity_state(). - class ExternalConnectivityWatcher : public ConnectivityStateWatcherInterface { - public: - ExternalConnectivityWatcher(ClientChannel* chand, - grpc_polling_entity pollent, - grpc_connectivity_state* state, - grpc_closure* on_complete, - grpc_closure* watcher_timer_init); - - ~ExternalConnectivityWatcher() override; - - // Removes the watcher from the external_watchers_ map. - static void RemoveWatcherFromExternalWatchersMap(ClientChannel* chand, - grpc_closure* on_complete, - bool cancel); - - void Notify(grpc_connectivity_state state, - const absl::Status& /* status */) override; - - void Cancel(); - - private: - // Adds the watcher to state_tracker_. Consumes the ref that is passed to it - // from Start(). - void AddWatcherLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_); - void RemoveWatcherLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_->work_serializer_); - - ClientChannel* chand_; - grpc_polling_entity pollent_; - grpc_connectivity_state initial_state_; - grpc_connectivity_state* state_; - grpc_closure* on_complete_; - grpc_closure* watcher_timer_init_; - std::atomic done_{false}; - }; - - ClientChannel(grpc_channel_element_args* args, grpc_error_handle* error); - ~ClientChannel(); - - // Filter vtable functions. - static grpc_error_handle Init(grpc_channel_element* elem, - grpc_channel_element_args* args); - static void Destroy(grpc_channel_element* elem); - static void StartTransportOp(grpc_channel_element* elem, - grpc_transport_op* op); - static void GetChannelInfo(grpc_channel_element* elem, - const grpc_channel_info* info); - - // Note: All methods with "Locked" suffix must be invoked from within - // work_serializer_. - - void ReprocessQueuedResolverCalls() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&resolution_mu_); - - void OnResolverResultChangedLocked(Resolver::Result result) - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); - void OnResolverErrorLocked(absl::Status status) - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); - - absl::Status CreateOrUpdateLbPolicyLocked( - RefCountedPtr lb_policy_config, - const absl::optional& health_check_service_name, - Resolver::Result result) ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); - OrphanablePtr CreateLbPolicyLocked( - const ChannelArgs& args) ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); - - void UpdateStateLocked(grpc_connectivity_state state, - const absl::Status& status, const char* reason) - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); - - void UpdateStateAndPickerLocked( - grpc_connectivity_state state, const absl::Status& status, - const char* reason, - RefCountedPtr picker) - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); - - void UpdateServiceConfigInControlPlaneLocked( - RefCountedPtr service_config, - RefCountedPtr config_selector, std::string lb_policy_name) - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); - - void UpdateServiceConfigInDataPlaneLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); - - void CreateResolverLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); - void DestroyResolverAndLbPolicyLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); - - grpc_error_handle DoPingLocked(grpc_transport_op* op) - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); - - void StartTransportOpLocked(grpc_transport_op* op) - ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); - - void TryToConnectLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_); - - // - // Fields set at construction and never modified. - // - ChannelArgs channel_args_; - const bool deadline_checking_enabled_; - grpc_channel_stack* owning_stack_; - ClientChannelFactory* client_channel_factory_; - RefCountedPtr default_service_config_; - std::string uri_to_resolve_; - std::string default_authority_; - channelz::ChannelNode* channelz_node_; - grpc_pollset_set* interested_parties_; - const size_t service_config_parser_index_; - - // - // Fields related to name resolution. Guarded by resolution_mu_. - // - mutable Mutex resolution_mu_; - // List of calls queued waiting for resolver result. - absl::flat_hash_set resolver_queued_calls_ - ABSL_GUARDED_BY(resolution_mu_); - // Data from service config. - absl::Status resolver_transient_failure_error_ - ABSL_GUARDED_BY(resolution_mu_); - bool received_service_config_data_ ABSL_GUARDED_BY(resolution_mu_) = false; - RefCountedPtr service_config_ ABSL_GUARDED_BY(resolution_mu_); - RefCountedPtr config_selector_ - ABSL_GUARDED_BY(resolution_mu_); - RefCountedPtr dynamic_filters_ - ABSL_GUARDED_BY(resolution_mu_); - - // - // Fields related to LB picks. Guarded by lb_mu_. - // - mutable Mutex lb_mu_; - RefCountedPtr picker_ - ABSL_GUARDED_BY(lb_mu_); - absl::flat_hash_set, - RefCountedPtrHash, - RefCountedPtrEq> - lb_queued_calls_ ABSL_GUARDED_BY(lb_mu_); - - // - // Fields used in the control plane. Guarded by work_serializer. - // - std::shared_ptr work_serializer_; - ConnectivityStateTracker state_tracker_ ABSL_GUARDED_BY(*work_serializer_); - OrphanablePtr resolver_ ABSL_GUARDED_BY(*work_serializer_); - bool previous_resolution_contained_addresses_ - ABSL_GUARDED_BY(*work_serializer_) = false; - RefCountedPtr saved_service_config_ - ABSL_GUARDED_BY(*work_serializer_); - RefCountedPtr saved_config_selector_ - ABSL_GUARDED_BY(*work_serializer_); - OrphanablePtr lb_policy_ - ABSL_GUARDED_BY(*work_serializer_); - RefCountedPtr subchannel_pool_ - ABSL_GUARDED_BY(*work_serializer_); - // The number of SubchannelWrapper instances referencing a given Subchannel. - std::map subchannel_refcount_map_ - ABSL_GUARDED_BY(*work_serializer_); - // The set of SubchannelWrappers that currently exist. - // No need to hold a ref, since the map is updated in the control-plane - // work_serializer when the SubchannelWrappers are created and destroyed. - absl::flat_hash_set subchannel_wrappers_ - ABSL_GUARDED_BY(*work_serializer_); - int keepalive_time_ ABSL_GUARDED_BY(*work_serializer_) = -1; - grpc_error_handle disconnect_error_ ABSL_GUARDED_BY(*work_serializer_); - - // - // Fields guarded by a mutex, since they need to be accessed - // synchronously via get_channel_info(). - // - Mutex info_mu_; - std::string info_lb_policy_name_ ABSL_GUARDED_BY(info_mu_); - std::string info_service_config_json_ ABSL_GUARDED_BY(info_mu_); - - // - // Fields guarded by a mutex, since they need to be accessed - // synchronously via grpc_channel_num_external_connectivity_watchers(). - // - mutable Mutex external_watchers_mu_; - std::map> - external_watchers_ ABSL_GUARDED_BY(external_watchers_mu_); -}; - -// -// ClientChannel::LoadBalancedCall -// - -// TODO(roth): As part of simplifying cancellation in the filter stack, -// this should no longer need to be ref-counted. -class ClientChannel::LoadBalancedCall - : public InternallyRefCounted { - public: - LoadBalancedCall(ClientChannel* chand, - grpc_call_context_element* call_context, - absl::AnyInvocable on_commit, - bool is_transparent_retry); - ~LoadBalancedCall() override; - - void Orphan() override { Unref(); } - - // Called by channel when removing a call from the list of queued calls. - void RemoveCallFromLbQueuedCallsLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::lb_mu_); - - // Called by the channel for each queued call when a new picker - // becomes available. - virtual void RetryPickLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::lb_mu_) = 0; - - protected: - ClientChannel* chand() const { return chand_; } - ClientCallTracer::CallAttemptTracer* call_attempt_tracer() const { - return static_cast( - call_context()[GRPC_CONTEXT_CALL_TRACER].value); - } - ConnectedSubchannel* connected_subchannel() const { - return connected_subchannel_.get(); - } - LoadBalancingPolicy::SubchannelCallTrackerInterface* - lb_subchannel_call_tracker() const { - return lb_subchannel_call_tracker_.get(); - } - - void Commit() { - auto on_commit = std::move(on_commit_); - on_commit(); - } - - // Attempts an LB pick. The following outcomes are possible: - // - No pick result is available yet. The call will be queued and - // nullopt will be returned. The channel will later call - // RetryPickLocked() when a new picker is available and the pick - // should be retried. - // - The pick failed. If the call is not wait_for_ready, a non-OK - // status will be returned. (If the call *is* wait_for_ready, - // it will be queued instead.) - // - The pick completed successfully. A connected subchannel is - // stored and an OK status will be returned. - absl::optional PickSubchannel(bool was_queued); - - void RecordCallCompletion(absl::Status status, - grpc_metadata_batch* recv_trailing_metadata, - grpc_transport_stream_stats* transport_stream_stats, - absl::string_view peer_address); - - void RecordLatency(); - - private: - class LbCallState; - class Metadata; - class BackendMetricAccessor; - - virtual Arena* arena() const = 0; - virtual grpc_call_context_element* call_context() const = 0; - virtual grpc_polling_entity* pollent() = 0; - virtual grpc_metadata_batch* send_initial_metadata() const = 0; - - // Helper function for performing an LB pick with a specified picker. - // Returns true if the pick is complete. - bool PickSubchannelImpl(LoadBalancingPolicy::SubchannelPicker* picker, - grpc_error_handle* error); - // Adds the call to the channel's list of queued picks if not already present. - void AddCallToLbQueuedCallsLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::lb_mu_); - - // Called when adding the call to the LB queue. - virtual void OnAddToQueueLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::lb_mu_) = 0; - - ClientChannel* chand_; - - absl::AnyInvocable on_commit_; - - gpr_cycle_counter lb_call_start_time_ = gpr_get_cycle_counter(); - - RefCountedPtr connected_subchannel_; - const BackendMetricData* backend_metric_data_ = nullptr; - std::unique_ptr - lb_subchannel_call_tracker_; -}; - -class ClientChannel::FilterBasedLoadBalancedCall - : public ClientChannel::LoadBalancedCall { - public: - // If on_call_destruction_complete is non-null, then it will be - // invoked once the LoadBalancedCall is completely destroyed. - // If it is null, then the caller is responsible for checking whether - // the LB call has a subchannel call and ensuring that the - // on_call_destruction_complete closure passed down from the surface - // is not invoked until after the subchannel call stack is destroyed. - FilterBasedLoadBalancedCall(ClientChannel* chand, - const grpc_call_element_args& args, - grpc_polling_entity* pollent, - grpc_closure* on_call_destruction_complete, - absl::AnyInvocable on_commit, - bool is_transparent_retry); - ~FilterBasedLoadBalancedCall() override; - - void Orphan() override; - - void StartTransportStreamOpBatch(grpc_transport_stream_op_batch* batch); - - RefCountedPtr subchannel_call() const { - return subchannel_call_; - } - - private: - class LbQueuedCallCanceller; - - // Work-around for Windows compilers that don't allow nested classes - // to access protected members of the enclosing class's parent class. - using LoadBalancedCall::chand; - using LoadBalancedCall::Commit; - - Arena* arena() const override { return arena_; } - grpc_call_context_element* call_context() const override { - return call_context_; - } - grpc_polling_entity* pollent() override { return pollent_; } - grpc_metadata_batch* send_initial_metadata() const override { - return pending_batches_[0] - ->payload->send_initial_metadata.send_initial_metadata; - } - - // Returns the index into pending_batches_ to be used for batch. - static size_t GetBatchIndex(grpc_transport_stream_op_batch* batch); - void PendingBatchesAdd(grpc_transport_stream_op_batch* batch); - static void FailPendingBatchInCallCombiner(void* arg, - grpc_error_handle error); - // A predicate type and some useful implementations for PendingBatchesFail(). - typedef bool (*YieldCallCombinerPredicate)( - const CallCombinerClosureList& closures); - static bool YieldCallCombiner(const CallCombinerClosureList& /*closures*/) { - return true; - } - static bool NoYieldCallCombiner(const CallCombinerClosureList& /*closures*/) { - return false; - } - static bool YieldCallCombinerIfPendingBatchesFound( - const CallCombinerClosureList& closures) { - return closures.size() > 0; - } - // Fails all pending batches. - // If yield_call_combiner_predicate returns true, assumes responsibility for - // yielding the call combiner. - void PendingBatchesFail( - grpc_error_handle error, - YieldCallCombinerPredicate yield_call_combiner_predicate); - static void ResumePendingBatchInCallCombiner(void* arg, - grpc_error_handle ignored); - // Resumes all pending batches on subchannel_call_. - void PendingBatchesResume(); - - static void SendInitialMetadataOnComplete(void* arg, grpc_error_handle error); - static void RecvInitialMetadataReady(void* arg, grpc_error_handle error); - static void RecvTrailingMetadataReady(void* arg, grpc_error_handle error); - - // Called to perform a pick, both when the call is initially started - // and when it is queued and the channel gets a new picker. - void TryPick(bool was_queued); - - void OnAddToQueueLocked() override - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::lb_mu_); - - void RetryPickLocked() override - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::lb_mu_); - - void CreateSubchannelCall(); - - // TODO(roth): Instead of duplicating these fields in every filter - // that uses any one of them, we should store them in the call - // context. This will save per-call memory overhead. - Timestamp deadline_; - Arena* arena_; - grpc_call_context_element* call_context_; - grpc_call_stack* owning_call_; - CallCombiner* call_combiner_; - grpc_polling_entity* pollent_; - grpc_closure* on_call_destruction_complete_; - absl::optional peer_string_; - - // Set when we get a cancel_stream op. - grpc_error_handle cancel_error_; - - // Set when we fail inside the LB call. - grpc_error_handle failure_error_; - - // Accessed while holding ClientChannel::lb_mu_. - LbQueuedCallCanceller* lb_call_canceller_ - ABSL_GUARDED_BY(&ClientChannel::lb_mu_) = nullptr; - - RefCountedPtr subchannel_call_; - - // For intercepting recv_initial_metadata_ready. - grpc_metadata_batch* recv_initial_metadata_ = nullptr; - grpc_closure recv_initial_metadata_ready_; - grpc_closure* original_recv_initial_metadata_ready_ = nullptr; - - // For intercepting recv_trailing_metadata_ready. - grpc_metadata_batch* recv_trailing_metadata_ = nullptr; - grpc_transport_stream_stats* transport_stream_stats_ = nullptr; - grpc_closure recv_trailing_metadata_ready_; - grpc_closure* original_recv_trailing_metadata_ready_ = nullptr; - - // Batches are added to this list when received from above. - // They are removed when we are done handling the batch (i.e., when - // either we have invoked all of the batch's callbacks or we have - // passed the batch down to the subchannel call and are not - // intercepting any of its callbacks). - grpc_transport_stream_op_batch* pending_batches_[MAX_PENDING_BATCHES] = {}; -}; - -class ClientChannel::PromiseBasedLoadBalancedCall - : public ClientChannel::LoadBalancedCall { - public: - PromiseBasedLoadBalancedCall(ClientChannel* chand, - absl::AnyInvocable on_commit, - bool is_transparent_retry); - - ArenaPromise MakeCallPromise( - CallArgs call_args, OrphanablePtr lb_call); - - private: - Arena* arena() const override; - grpc_call_context_element* call_context() const override; - grpc_polling_entity* pollent() override { return &pollent_; } - grpc_metadata_batch* send_initial_metadata() const override; - - void RetryPickLocked() override; - - void OnAddToQueueLocked() override - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel::lb_mu_); - - grpc_polling_entity pollent_; - ClientMetadataHandle client_initial_metadata_; - Waker waker_; - bool was_queued_ = false; - Slice peer_string_; -}; - -} // namespace grpc_core - -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_CLIENT_CHANNEL_H diff --git a/src/core/ext/filters/client_channel/client_channel_plugin.cc b/src/core/ext/filters/client_channel/client_channel_plugin.cc deleted file mode 100644 index 6f32bf74bb1..00000000000 --- a/src/core/ext/filters/client_channel/client_channel_plugin.cc +++ /dev/null @@ -1,56 +0,0 @@ -// -// -// Copyright 2015 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// - -#include - -#include "absl/types/optional.h" - -#include - -#include "src/core/ext/filters/client_channel/client_channel.h" -#include "src/core/ext/filters/client_channel/client_channel_service_config.h" -#include "src/core/ext/filters/client_channel/retry_service_config.h" -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/channel/channel_stack_builder.h" -#include "src/core/lib/config/core_configuration.h" -#include "src/core/lib/surface/channel_init.h" -#include "src/core/lib/surface/channel_stack_type.h" - -namespace grpc_core { - -namespace { -bool IsEverythingBelowClientChannelPromiseSafe(const ChannelArgs& args) { - return !args.GetBool(GRPC_ARG_ENABLE_RETRIES).value_or(true); -} -} // namespace - -void BuildClientChannelConfiguration(CoreConfiguration::Builder* builder) { - internal::ClientChannelServiceConfigParser::Register(builder); - internal::RetryServiceConfigParser::Register(builder); - builder->channel_init()->RegisterStage( - GRPC_CLIENT_CHANNEL, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, - [](ChannelStackBuilder* builder) { - builder->AppendFilter( - IsEverythingBelowClientChannelPromiseSafe(builder->channel_args()) - ? &ClientChannel::kFilterVtableWithPromises - : &ClientChannel::kFilterVtableWithoutPromises); - return true; - }); -} - -} // namespace grpc_core diff --git a/src/core/ext/filters/client_channel/http_proxy_mapper.cc b/src/core/ext/filters/client_channel/http_proxy_mapper.cc deleted file mode 100644 index 1ef7b68b302..00000000000 --- a/src/core/ext/filters/client_channel/http_proxy_mapper.cc +++ /dev/null @@ -1,238 +0,0 @@ -// -// -// Copyright 2016 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// - -#include - -#include "src/core/ext/filters/client_channel/http_proxy_mapper.h" - -#include -#include - -#include -#include -#include -#include - -#include "absl/status/status.h" -#include "absl/status/statusor.h" -#include "absl/strings/ascii.h" -#include "absl/strings/match.h" -#include "absl/strings/numbers.h" -#include "absl/strings/str_cat.h" -#include "absl/strings/str_split.h" -#include "absl/strings/string_view.h" -#include "absl/strings/strip.h" -#include "absl/types/optional.h" - -#include -#include -#include - -#include "src/core/lib/address_utils/parse_address.h" -#include "src/core/lib/address_utils/sockaddr_utils.h" -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/gpr/string.h" -#include "src/core/lib/gprpp/env.h" -#include "src/core/lib/gprpp/host_port.h" -#include "src/core/lib/gprpp/memory.h" -#include "src/core/lib/iomgr/resolve_address.h" -#include "src/core/lib/slice/b64.h" -#include "src/core/lib/transport/http_connect_handshaker.h" -#include "src/core/lib/uri/uri_parser.h" - -namespace grpc_core { -namespace { - -bool ServerInCIDRRange(absl::string_view server_host, - absl::string_view no_proxy_entry) { - auto server_address = StringToSockaddr(server_host, 0); - if (!server_address.ok()) { - return false; - } - std::pair possible_cidr = - absl::StrSplit(no_proxy_entry, absl::MaxSplits('/', 2), - absl::SkipEmpty()); - if (possible_cidr.first.empty() || possible_cidr.second.empty()) { - return false; - } - auto proxy_address = StringToSockaddr(possible_cidr.first, 0); - if (!proxy_address.ok()) { - return false; - } - uint32_t mask_bits = 0; - if (absl::SimpleAtoi(possible_cidr.second, &mask_bits)) { - grpc_sockaddr_mask_bits(&*proxy_address, mask_bits); - return grpc_sockaddr_match_subnet(&*server_address, &*proxy_address, - mask_bits); - } - return false; -} - -/// -/// Parses the 'https_proxy' env var (fallback on 'http_proxy') and returns the -/// proxy hostname to resolve or nullopt on error. Also sets 'user_cred' to user -/// credentials if present in the 'http_proxy' env var, otherwise leaves it -/// unchanged. -/// -absl::optional GetHttpProxyServer( - const ChannelArgs& args, absl::optional* user_cred) { - GPR_ASSERT(user_cred != nullptr); - absl::StatusOr uri; - // We check the following places to determine the HTTP proxy to use, stopping - // at the first one that is set: - // 1. GRPC_ARG_HTTP_PROXY channel arg - // 2. grpc_proxy environment variable - // 3. https_proxy environment variable - // 4. http_proxy environment variable - // If none of the above are set, then no HTTP proxy will be used. - // - absl::optional uri_str = - args.GetOwnedString(GRPC_ARG_HTTP_PROXY); - if (!uri_str.has_value()) uri_str = GetEnv("grpc_proxy"); - if (!uri_str.has_value()) uri_str = GetEnv("https_proxy"); - if (!uri_str.has_value()) uri_str = GetEnv("http_proxy"); - if (!uri_str.has_value()) return absl::nullopt; - // an empty value means "don't use proxy" - if (uri_str->empty()) return absl::nullopt; - uri = URI::Parse(*uri_str); - if (!uri.ok() || uri->authority().empty()) { - gpr_log(GPR_ERROR, "cannot parse value of 'http_proxy' env var. Error: %s", - uri.status().ToString().c_str()); - return absl::nullopt; - } - if (uri->scheme() != "http") { - gpr_log(GPR_ERROR, "'%s' scheme not supported in proxy URI", - uri->scheme().c_str()); - return absl::nullopt; - } - // Split on '@' to separate user credentials from host - char** authority_strs = nullptr; - size_t authority_nstrs; - gpr_string_split(uri->authority().c_str(), "@", &authority_strs, - &authority_nstrs); - GPR_ASSERT(authority_nstrs != 0); // should have at least 1 string - absl::optional proxy_name; - if (authority_nstrs == 1) { - // User cred not present in authority - proxy_name = authority_strs[0]; - } else if (authority_nstrs == 2) { - // User cred found - *user_cred = authority_strs[0]; - proxy_name = authority_strs[1]; - gpr_log(GPR_DEBUG, "userinfo found in proxy URI"); - } else { - // Bad authority - proxy_name = absl::nullopt; - } - for (size_t i = 0; i < authority_nstrs; i++) { - gpr_free(authority_strs[i]); - } - gpr_free(authority_strs); - return proxy_name; -} - -// Adds the default port if target does not contain a port. -std::string MaybeAddDefaultPort(absl::string_view target) { - absl::string_view host; - absl::string_view port; - SplitHostPort(target, &host, &port); - if (port.empty()) { - return JoinHostPort(host, kDefaultSecurePortInt); - } - return std::string(target); -} - -} // namespace - -absl::optional HttpProxyMapper::MapName( - absl::string_view server_uri, ChannelArgs* args) { - if (!args->GetBool(GRPC_ARG_ENABLE_HTTP_PROXY).value_or(true)) { - return absl::nullopt; - } - absl::optional user_cred; - auto name_to_resolve = GetHttpProxyServer(*args, &user_cred); - if (!name_to_resolve.has_value()) return name_to_resolve; - absl::StatusOr uri = URI::Parse(server_uri); - if (!uri.ok() || uri->path().empty()) { - gpr_log(GPR_ERROR, - "'http_proxy' environment variable set, but cannot " - "parse server URI '%s' -- not using proxy. Error: %s", - std::string(server_uri).c_str(), uri.status().ToString().c_str()); - return absl::nullopt; - } - if (uri->scheme() == "unix") { - gpr_log(GPR_INFO, "not using proxy for Unix domain socket '%s'", - std::string(server_uri).c_str()); - return absl::nullopt; - } - if (uri->scheme() == "vsock") { - gpr_log(GPR_INFO, "not using proxy for VSock '%s'", - std::string(server_uri).c_str()); - return absl::nullopt; - } - // Prefer using 'no_grpc_proxy'. Fallback on 'no_proxy' if it is not set. - auto no_proxy_str = GetEnv("no_grpc_proxy"); - if (!no_proxy_str.has_value()) { - no_proxy_str = GetEnv("no_proxy"); - } - if (no_proxy_str.has_value()) { - bool use_proxy = true; - std::string server_host; - std::string server_port; - if (!SplitHostPort(absl::StripPrefix(uri->path(), "/"), &server_host, - &server_port)) { - gpr_log(GPR_INFO, - "unable to split host and port, not checking no_proxy list for " - "host '%s'", - std::string(server_uri).c_str()); - } else { - std::vector no_proxy_hosts = - absl::StrSplit(*no_proxy_str, ',', absl::SkipEmpty()); - for (const auto& no_proxy_entry : no_proxy_hosts) { - auto entry = absl::StripAsciiWhitespace(no_proxy_entry); - if (absl::EndsWithIgnoreCase(server_host, entry) || - ServerInCIDRRange(server_host, entry)) { - gpr_log(GPR_INFO, "not using proxy for host in no_proxy list '%s'", - std::string(server_uri).c_str()); - use_proxy = false; - break; - } - } - if (!use_proxy) return absl::nullopt; - } - } - *args = args->Set(GRPC_ARG_HTTP_CONNECT_SERVER, - MaybeAddDefaultPort(absl::StripPrefix(uri->path(), "/"))); - if (user_cred.has_value()) { - // Use base64 encoding for user credentials as stated in RFC 7617 - auto encoded_user_cred = UniquePtr( - grpc_base64_encode(user_cred->data(), user_cred->length(), 0, 0)); - *args = args->Set( - GRPC_ARG_HTTP_CONNECT_HEADERS, - absl::StrCat("Proxy-Authorization:Basic ", encoded_user_cred.get())); - } - return name_to_resolve; -} - -void RegisterHttpProxyMapper(CoreConfiguration::Builder* builder) { - builder->proxy_mapper_registry()->Register( - true /* at_start */, - std::unique_ptr(new HttpProxyMapper())); -} - -} // namespace grpc_core diff --git a/src/core/ext/filters/client_channel/http_proxy_mapper.h b/src/core/ext/filters/client_channel/http_proxy_mapper.h deleted file mode 100644 index 3e955df59d2..00000000000 --- a/src/core/ext/filters/client_channel/http_proxy_mapper.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// -// Copyright 2016 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// - -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_HTTP_PROXY_MAPPER_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_HTTP_PROXY_MAPPER_H - -#include - -#include - -#include "absl/strings/string_view.h" -#include "absl/types/optional.h" - -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/config/core_configuration.h" -#include "src/core/lib/handshaker/proxy_mapper.h" -#include "src/core/lib/iomgr/resolved_address.h" - -namespace grpc_core { - -class HttpProxyMapper : public ProxyMapperInterface { - public: - absl::optional MapName(absl::string_view server_uri, - ChannelArgs* args) override; - - absl::optional MapAddress( - const grpc_resolved_address& /*address*/, - ChannelArgs* /*args*/) override { - return absl::nullopt; - } -}; - -void RegisterHttpProxyMapper(CoreConfiguration::Builder* builder); - -} // namespace grpc_core - -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_HTTP_PROXY_MAPPER_H diff --git a/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc b/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc deleted file mode 100644 index 8dcc5f8d5c4..00000000000 --- a/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +++ /dev/null @@ -1,74 +0,0 @@ -// -// Copyright 2020 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#include - -#include "src/core/ext/filters/client_channel/lb_policy/address_filtering.h" - -#include - -#include -#include - -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/gprpp/ref_counted_ptr.h" - -namespace grpc_core { - -absl::string_view HierarchicalPathArg::ChannelArgName() { - return GRPC_ARG_NO_SUBCHANNEL_PREFIX "address.hierarchical_path"; -} - -int HierarchicalPathArg::ChannelArgsCompare(const HierarchicalPathArg* a, - const HierarchicalPathArg* b) { - for (size_t i = 0; i < a->path_.size(); ++i) { - if (b->path_.size() == i) return 1; - int r = a->path_[i].as_string_view().compare(b->path_[i].as_string_view()); - if (r != 0) return r; - } - if (b->path_.size() > a->path_.size()) return -1; - return 0; -} - -absl::StatusOr MakeHierarchicalAddressMap( - const absl::StatusOr& addresses) { - if (!addresses.ok()) return addresses.status(); - HierarchicalAddressMap result; - RefCountedPtr remaining_path_attr; - for (const ServerAddress& address : *addresses) { - const auto* path_arg = address.args().GetObject(); - if (path_arg == nullptr) continue; - const std::vector& path = path_arg->path(); - auto it = path.begin(); - if (it == path.end()) continue; - ServerAddressList& target_list = result[*it]; - ChannelArgs args = address.args(); - ++it; - if (it != path.end()) { - std::vector remaining_path(it, path.end()); - if (remaining_path_attr == nullptr || - remaining_path_attr->path() != remaining_path) { - remaining_path_attr = - MakeRefCounted(std::move(remaining_path)); - } - args = args.SetObject(remaining_path_attr); - } - target_list.emplace_back(address.address(), args); - } - return result; -} - -} // namespace grpc_core diff --git a/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc b/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc deleted file mode 100644 index c45be05a6a3..00000000000 --- a/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +++ /dev/null @@ -1,89 +0,0 @@ -// -// Copyright 2019 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#include - -#include "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h" - -#include - -#include - -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/gpr/useful.h" - -// Channel arg key for the list of balancer addresses. -#define GRPC_ARG_GRPCLB_BALANCER_ADDRESSES \ - GRPC_ARG_NO_SUBCHANNEL_PREFIX "grpc.grpclb_balancer_addresses" - -namespace grpc_core { - -namespace { - -void* BalancerAddressesArgCopy(void* p) { - ServerAddressList* address_list = static_cast(p); - return new ServerAddressList(*address_list); -} - -void BalancerAddressesArgDestroy(void* p) { - ServerAddressList* address_list = static_cast(p); - delete address_list; -} - -int BalancerAddressesArgCmp(void* p, void* q) { - ServerAddressList* address_list1 = static_cast(p); - ServerAddressList* address_list2 = static_cast(q); - if (address_list1 == nullptr || address_list2 == nullptr) { - return QsortCompare(address_list1, address_list2); - } - if (address_list1->size() > address_list2->size()) return 1; - if (address_list1->size() < address_list2->size()) return -1; - for (size_t i = 0; i < address_list1->size(); ++i) { - int retval = (*address_list1)[i].Cmp((*address_list2)[i]); - if (retval != 0) return retval; - } - return 0; -} - -const grpc_arg_pointer_vtable kBalancerAddressesArgVtable = { - BalancerAddressesArgCopy, BalancerAddressesArgDestroy, - BalancerAddressesArgCmp}; - -} // namespace - -grpc_arg CreateGrpclbBalancerAddressesArg( - const ServerAddressList* address_list) { - return grpc_channel_arg_pointer_create( - const_cast(GRPC_ARG_GRPCLB_BALANCER_ADDRESSES), - const_cast(address_list), - &kBalancerAddressesArgVtable); -} - -const ServerAddressList* FindGrpclbBalancerAddressesInChannelArgs( - const ChannelArgs& args) { - return args.GetPointer( - GRPC_ARG_GRPCLB_BALANCER_ADDRESSES); -} - -ChannelArgs SetGrpcLbBalancerAddresses(const ChannelArgs& args, - ServerAddressList address_list) { - return args.Set( - GRPC_ARG_GRPCLB_BALANCER_ADDRESSES, - ChannelArgs::Pointer(new ServerAddressList(std::move(address_list)), - &kBalancerAddressesArgVtable)); -} - -} // namespace grpc_core diff --git a/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h b/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h deleted file mode 100644 index 7f80aca80e1..00000000000 --- a/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +++ /dev/null @@ -1,39 +0,0 @@ -// -// Copyright 2019 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_LB_POLICY_GRPCLB_GRPCLB_BALANCER_ADDRESSES_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_LB_POLICY_GRPCLB_GRPCLB_BALANCER_ADDRESSES_H - -#include - -#include - -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/resolver/server_address.h" - -namespace grpc_core { - -grpc_arg CreateGrpclbBalancerAddressesArg( - const ServerAddressList* address_list); -GRPC_MUST_USE_RESULT -ChannelArgs SetGrpcLbBalancerAddresses(const ChannelArgs& args, - ServerAddressList address_list); -const ServerAddressList* FindGrpclbBalancerAddressesInChannelArgs( - const ChannelArgs& args); - -} // namespace grpc_core - -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_LB_POLICY_GRPCLB_GRPCLB_BALANCER_ADDRESSES_H diff --git a/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc b/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc deleted file mode 100644 index 86955752a85..00000000000 --- a/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +++ /dev/null @@ -1,875 +0,0 @@ -// -// Copyright 2015 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#include - -#include "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h" - -#include -#include - -#include -#include -#include -#include -#include - -#include "absl/algorithm/container.h" -#include "absl/random/random.h" -#include "absl/status/status.h" -#include "absl/status/statusor.h" -#include "absl/strings/str_cat.h" -#include "absl/strings/string_view.h" -#include "absl/types/optional.h" - -#include -#include - -#include "src/core/ext/filters/client_channel/lb_policy/health_check_client.h" -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/config/core_configuration.h" -#include "src/core/lib/debug/trace.h" -#include "src/core/lib/gprpp/crash.h" -#include "src/core/lib/gprpp/debug_location.h" -#include "src/core/lib/gprpp/orphanable.h" -#include "src/core/lib/gprpp/ref_counted_ptr.h" -#include "src/core/lib/iomgr/iomgr_fwd.h" -#include "src/core/lib/json/json.h" -#include "src/core/lib/json/json_args.h" -#include "src/core/lib/json/json_object_loader.h" -#include "src/core/lib/load_balancing/lb_policy.h" -#include "src/core/lib/load_balancing/lb_policy_factory.h" -#include "src/core/lib/load_balancing/subchannel_interface.h" -#include "src/core/lib/resolver/server_address.h" -#include "src/core/lib/transport/connectivity_state.h" - -namespace grpc_core { - -TraceFlag grpc_lb_pick_first_trace(false, "pick_first"); - -namespace { - -// -// pick_first LB policy -// - -constexpr absl::string_view kPickFirst = "pick_first"; - -class PickFirstConfig : public LoadBalancingPolicy::Config { - public: - absl::string_view name() const override { return kPickFirst; } - bool shuffle_addresses() const { return shuffle_addresses_; } - - static const JsonLoaderInterface* JsonLoader(const JsonArgs&) { - static const auto kJsonLoader = - JsonObjectLoader() - .OptionalField("shuffleAddressList", - &PickFirstConfig::shuffle_addresses_) - .Finish(); - return kJsonLoader; - } - - private: - bool shuffle_addresses_ = false; -}; - -class PickFirst : public LoadBalancingPolicy { - public: - explicit PickFirst(Args args); - - absl::string_view name() const override { return kPickFirst; } - - absl::Status UpdateLocked(UpdateArgs args) override; - void ExitIdleLocked() override; - void ResetBackoffLocked() override; - - private: - ~PickFirst() override; - - class SubchannelList : public InternallyRefCounted { - public: - class SubchannelData { - public: - SubchannelData(SubchannelList* subchannel_list, - RefCountedPtr subchannel); - - SubchannelInterface* subchannel() const { return subchannel_.get(); } - absl::optional connectivity_state() const { - return connectivity_state_; - } - - // Returns the index into the subchannel list of this object. - size_t Index() const { - return static_cast(this - - &subchannel_list_->subchannels_.front()); - } - - // Resets the connection backoff. - void ResetBackoffLocked() { - if (subchannel_ != nullptr) subchannel_->ResetBackoff(); - } - - // Cancels any pending connectivity watch and unrefs the subchannel. - void ShutdownLocked(); - - private: - // Watcher for subchannel connectivity state. - class Watcher - : public SubchannelInterface::ConnectivityStateWatcherInterface { - public: - Watcher(SubchannelData* subchannel_data, - RefCountedPtr subchannel_list) - : subchannel_data_(subchannel_data), - subchannel_list_(std::move(subchannel_list)) {} - - ~Watcher() override { - subchannel_list_.reset(DEBUG_LOCATION, "Watcher dtor"); - } - - void OnConnectivityStateChange(grpc_connectivity_state new_state, - absl::Status status) override { - subchannel_data_->OnConnectivityStateChange(new_state, - std::move(status)); - } - - grpc_pollset_set* interested_parties() override { - return subchannel_list_->policy_->interested_parties(); - } - - private: - SubchannelData* subchannel_data_; - RefCountedPtr subchannel_list_; - }; - - // This method will be invoked once soon after instantiation to report - // the current connectivity state, and it will then be invoked again - // whenever the connectivity state changes. - void OnConnectivityStateChange(grpc_connectivity_state new_state, - absl::Status status); - - // Processes the connectivity change to READY for an unselected - // subchannel. - void ProcessUnselectedReadyLocked(); - - // Reacts to the current connectivity state while trying to connect. - void ReactToConnectivityStateLocked(); - - // Backpointer to owning subchannel list. Not owned. - SubchannelList* subchannel_list_; - // The subchannel. - RefCountedPtr subchannel_; - // Will be non-null when the subchannel's state is being watched. - SubchannelInterface::ConnectivityStateWatcherInterface* pending_watcher_ = - nullptr; - // Data updated by the watcher. - absl::optional connectivity_state_; - absl::Status connectivity_status_; - }; - - SubchannelList(RefCountedPtr policy, ServerAddressList addresses, - const ChannelArgs& args); - - ~SubchannelList() override; - - // The number of subchannels in the list. - size_t size() const { return subchannels_.size(); } - - // Resets connection backoff of all subchannels. - void ResetBackoffLocked(); - - void Orphan() override; - - private: - // Returns true if all subchannels have seen their initial - // connectivity state notifications. - bool AllSubchannelsSeenInitialState(); - - // Backpointer to owning policy. - RefCountedPtr policy_; - - ChannelArgs args_; - - // The list of subchannels. - std::vector subchannels_; - - // Is this list shutting down? This may be true due to the shutdown of the - // policy itself or because a newer update has arrived while this one hadn't - // finished processing. - bool shutting_down_ = false; - - bool in_transient_failure_ = false; - size_t attempting_index_ = 0; - }; - - class HealthWatcher - : public SubchannelInterface::ConnectivityStateWatcherInterface { - public: - explicit HealthWatcher(RefCountedPtr policy) - : policy_(std::move(policy)) {} - - ~HealthWatcher() override { - policy_.reset(DEBUG_LOCATION, "HealthWatcher dtor"); - } - - void OnConnectivityStateChange(grpc_connectivity_state new_state, - absl::Status status) override; - - grpc_pollset_set* interested_parties() override { - return policy_->interested_parties(); - } - - private: - RefCountedPtr policy_; - }; - - class Picker : public SubchannelPicker { - public: - explicit Picker(RefCountedPtr subchannel) - : subchannel_(std::move(subchannel)) {} - - PickResult Pick(PickArgs /*args*/) override { - return PickResult::Complete(subchannel_); - } - - private: - RefCountedPtr subchannel_; - }; - - void ShutdownLocked() override; - - void UpdateState(grpc_connectivity_state state, const absl::Status& status, - RefCountedPtr picker); - - void AttemptToConnectUsingLatestUpdateArgsLocked(); - - void UnsetSelectedSubchannel(); - - // Whether we should enable health watching. - const bool enable_health_watch_; - // Whether we should omit our status message prefix. - const bool omit_status_message_prefix_; - - // Lateset update args. - UpdateArgs latest_update_args_; - // All our subchannels. - OrphanablePtr subchannel_list_; - // Latest pending subchannel list. - OrphanablePtr latest_pending_subchannel_list_; - // Selected subchannel in subchannel_list_. - SubchannelList::SubchannelData* selected_ = nullptr; - // Health watcher for the selected subchannel. - SubchannelInterface::ConnectivityStateWatcherInterface* health_watcher_ = - nullptr; - SubchannelInterface::DataWatcherInterface* health_data_watcher_ = nullptr; - // Current connectivity state. - grpc_connectivity_state state_ = GRPC_CHANNEL_CONNECTING; - // Are we shut down? - bool shutdown_ = false; - // Random bit generator used for shuffling addresses if configured - absl::BitGen bit_gen_; -}; - -PickFirst::PickFirst(Args args) - : LoadBalancingPolicy(std::move(args)), - enable_health_watch_( - channel_args() - .GetBool(GRPC_ARG_INTERNAL_PICK_FIRST_ENABLE_HEALTH_CHECKING) - .value_or(false)), - omit_status_message_prefix_( - channel_args() - .GetBool(GRPC_ARG_INTERNAL_PICK_FIRST_OMIT_STATUS_MESSAGE_PREFIX) - .value_or(false)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, "Pick First %p created.", this); - } -} - -PickFirst::~PickFirst() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, "Destroying Pick First %p", this); - } - GPR_ASSERT(subchannel_list_ == nullptr); - GPR_ASSERT(latest_pending_subchannel_list_ == nullptr); -} - -void PickFirst::ShutdownLocked() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, "Pick First %p Shutting down", this); - } - shutdown_ = true; - UnsetSelectedSubchannel(); - subchannel_list_.reset(); - latest_pending_subchannel_list_.reset(); -} - -void PickFirst::ExitIdleLocked() { - if (shutdown_) return; - // Need to check subchannel_list_ being null here, in case the - // application calls channel->GetState(true) again before we - // transition to state CONNECTING. - if (state_ == GRPC_CHANNEL_IDLE && subchannel_list_ == nullptr) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, "Pick First %p exiting idle", this); - } - AttemptToConnectUsingLatestUpdateArgsLocked(); - } -} - -void PickFirst::ResetBackoffLocked() { - if (subchannel_list_ != nullptr) subchannel_list_->ResetBackoffLocked(); - if (latest_pending_subchannel_list_ != nullptr) { - latest_pending_subchannel_list_->ResetBackoffLocked(); - } -} - -void PickFirst::AttemptToConnectUsingLatestUpdateArgsLocked() { - // Create a subchannel list from latest_update_args_. - ServerAddressList addresses; - if (latest_update_args_.addresses.ok()) { - addresses = *latest_update_args_.addresses; - } - // Replace latest_pending_subchannel_list_. - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace) && - latest_pending_subchannel_list_ != nullptr) { - gpr_log(GPR_INFO, - "[PF %p] Shutting down previous pending subchannel list %p", this, - latest_pending_subchannel_list_.get()); - } - latest_pending_subchannel_list_ = MakeOrphanable( - Ref(), std::move(addresses), latest_update_args_.args); - // Empty update or no valid subchannels. Put the channel in - // TRANSIENT_FAILURE and request re-resolution. - if (latest_pending_subchannel_list_->size() == 0) { - channel_control_helper()->RequestReresolution(); - absl::Status status = - latest_update_args_.addresses.ok() - ? absl::UnavailableError(absl::StrCat( - "empty address list: ", latest_update_args_.resolution_note)) - : latest_update_args_.addresses.status(); - UpdateState(GRPC_CHANNEL_TRANSIENT_FAILURE, status, - MakeRefCounted(status)); - } - // If the new update is empty or we don't yet have a selected subchannel in - // the current list, replace the current subchannel list immediately. - if (latest_pending_subchannel_list_->size() == 0 || selected_ == nullptr) { - UnsetSelectedSubchannel(); - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace) && - subchannel_list_ != nullptr) { - gpr_log(GPR_INFO, "[PF %p] Shutting down previous subchannel list %p", - this, subchannel_list_.get()); - } - subchannel_list_ = std::move(latest_pending_subchannel_list_); - } -} - -absl::Status PickFirst::UpdateLocked(UpdateArgs args) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - if (args.addresses.ok()) { - gpr_log(GPR_INFO, - "Pick First %p received update with %" PRIuPTR " addresses", this, - args.addresses->size()); - } else { - gpr_log(GPR_INFO, "Pick First %p received update with address error: %s", - this, args.addresses.status().ToString().c_str()); - } - } - // Set return status based on the address list. - absl::Status status; - if (!args.addresses.ok()) { - status = args.addresses.status(); - } else if (args.addresses->empty()) { - status = absl::UnavailableError("address list must not be empty"); - } else { - auto config = static_cast(args.config.get()); - if (config->shuffle_addresses()) { - absl::c_shuffle(*args.addresses, bit_gen_); - } - } - // If the update contains a resolver error and we have a previous update - // that was not a resolver error, keep using the previous addresses. - if (!args.addresses.ok() && latest_update_args_.config != nullptr) { - args.addresses = std::move(latest_update_args_.addresses); - } - // Update latest_update_args_. - latest_update_args_ = std::move(args); - // If we are not in idle, start connection attempt immediately. - // Otherwise, we defer the attempt into ExitIdleLocked(). - if (state_ != GRPC_CHANNEL_IDLE) { - AttemptToConnectUsingLatestUpdateArgsLocked(); - } - return status; -} - -void PickFirst::UpdateState(grpc_connectivity_state state, - const absl::Status& status, - RefCountedPtr picker) { - state_ = state; - channel_control_helper()->UpdateState(state, status, std::move(picker)); -} - -void PickFirst::UnsetSelectedSubchannel() { - if (selected_ != nullptr && health_data_watcher_ != nullptr) { - selected_->subchannel()->CancelDataWatcher(health_data_watcher_); - } - selected_ = nullptr; - health_watcher_ = nullptr; - health_data_watcher_ = nullptr; -} - -// -// PickFirst::HealthWatcher -// - -void PickFirst::HealthWatcher::OnConnectivityStateChange( - grpc_connectivity_state new_state, absl::Status status) { - if (policy_->health_watcher_ != this) return; - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, "[PF %p] health watch state update: %s (%s)", - policy_.get(), ConnectivityStateName(new_state), - status.ToString().c_str()); - } - switch (new_state) { - case GRPC_CHANNEL_READY: - policy_->channel_control_helper()->UpdateState( - GRPC_CHANNEL_READY, absl::OkStatus(), - MakeRefCounted(policy_->selected_->subchannel()->Ref())); - break; - case GRPC_CHANNEL_IDLE: - // If the subchannel becomes disconnected, the health watcher - // might happen to see the change before the raw connectivity - // state watcher does. In this case, ignore it, since the raw - // connectivity state watcher will handle it shortly. - break; - case GRPC_CHANNEL_CONNECTING: - policy_->channel_control_helper()->UpdateState( - new_state, absl::OkStatus(), - MakeRefCounted(policy_->Ref())); - break; - case GRPC_CHANNEL_TRANSIENT_FAILURE: - policy_->channel_control_helper()->UpdateState( - GRPC_CHANNEL_TRANSIENT_FAILURE, status, - MakeRefCounted(status)); - break; - case GRPC_CHANNEL_SHUTDOWN: - Crash("health watcher reported state SHUTDOWN"); - } -} - -// -// PickFirst::SubchannelList::SubchannelData -// - -PickFirst::SubchannelList::SubchannelData::SubchannelData( - SubchannelList* subchannel_list, - RefCountedPtr subchannel) - : subchannel_list_(subchannel_list), subchannel_(std::move(subchannel)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, - "[PF %p] subchannel list %p index %" PRIuPTR - " (subchannel %p): starting watch", - subchannel_list_->policy_.get(), subchannel_list_, - subchannel_list_->size(), subchannel_.get()); - } - auto watcher = std::make_unique( - this, subchannel_list_->Ref(DEBUG_LOCATION, "Watcher")); - pending_watcher_ = watcher.get(); - subchannel_->WatchConnectivityState(std::move(watcher)); -} - -void PickFirst::SubchannelList::SubchannelData::ShutdownLocked() { - if (subchannel_ != nullptr) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, - "[PF %p] subchannel list %p index %" PRIuPTR " of %" PRIuPTR - " (subchannel %p): cancelling watch and unreffing subchannel", - subchannel_list_->policy_.get(), subchannel_list_, Index(), - subchannel_list_->size(), subchannel_.get()); - } - subchannel_->CancelConnectivityStateWatch(pending_watcher_); - pending_watcher_ = nullptr; - subchannel_.reset(); - } -} - -void PickFirst::SubchannelList::SubchannelData::OnConnectivityStateChange( - grpc_connectivity_state new_state, absl::Status status) { - PickFirst* p = subchannel_list_->policy_.get(); - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log( - GPR_INFO, - "[PF %p] subchannel list %p index %" PRIuPTR " of %" PRIuPTR - " (subchannel %p): connectivity changed: old_state=%s, new_state=%s, " - "status=%s, shutting_down=%d, pending_watcher=%p, " - "p->selected_=%p, p->subchannel_list_=%p, " - "p->latest_pending_subchannel_list_=%p", - p, subchannel_list_, Index(), subchannel_list_->size(), - subchannel_.get(), - (connectivity_state_.has_value() - ? ConnectivityStateName(*connectivity_state_) - : "N/A"), - ConnectivityStateName(new_state), status.ToString().c_str(), - subchannel_list_->shutting_down_, pending_watcher_, p->selected_, - p->subchannel_list_.get(), p->latest_pending_subchannel_list_.get()); - } - if (subchannel_list_->shutting_down_ || pending_watcher_ == nullptr) return; - // The notification must be for a subchannel in either the current or - // latest pending subchannel lists. - GPR_ASSERT(subchannel_list_ == p->subchannel_list_.get() || - subchannel_list_ == p->latest_pending_subchannel_list_.get()); - GPR_ASSERT(new_state != GRPC_CHANNEL_SHUTDOWN); - absl::optional old_state = connectivity_state_; - connectivity_state_ = new_state; - connectivity_status_ = status; - // Handle updates for the currently selected subchannel. - if (p->selected_ == this) { - GPR_ASSERT(subchannel_list_ == p->subchannel_list_.get()); - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, - "Pick First %p selected subchannel connectivity changed to %s", p, - ConnectivityStateName(new_state)); - } - // Any state change is considered to be a failure of the existing - // connection. - // TODO(roth): We could check the connectivity states of all the - // subchannels here, just in case one of them happens to be READY, - // and we could switch to that rather than going IDLE. - // Request a re-resolution. - // TODO(qianchengz): We may want to request re-resolution in - // ExitIdleLocked(). - p->channel_control_helper()->RequestReresolution(); - // If there is a pending update, switch to the pending update. - if (p->latest_pending_subchannel_list_ != nullptr) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, - "Pick First %p promoting pending subchannel list %p to " - "replace %p", - p, p->latest_pending_subchannel_list_.get(), - p->subchannel_list_.get()); - } - p->UnsetSelectedSubchannel(); - p->subchannel_list_ = std::move(p->latest_pending_subchannel_list_); - // Set our state to that of the pending subchannel list. - if (p->subchannel_list_->in_transient_failure_) { - absl::Status status = absl::UnavailableError(absl::StrCat( - "selected subchannel failed; switching to pending update; " - "last failure: ", - p->subchannel_list_->subchannels_.back() - .connectivity_status_.ToString())); - p->UpdateState(GRPC_CHANNEL_TRANSIENT_FAILURE, status, - MakeRefCounted(status)); - } else if (p->state_ != GRPC_CHANNEL_TRANSIENT_FAILURE) { - p->UpdateState(GRPC_CHANNEL_CONNECTING, absl::Status(), - MakeRefCounted(nullptr)); - } - return; - } - // Enter idle. - p->UnsetSelectedSubchannel(); - p->subchannel_list_.reset(); - p->UpdateState( - GRPC_CHANNEL_IDLE, absl::Status(), - MakeRefCounted(p->Ref(DEBUG_LOCATION, "QueuePicker"))); - return; - } - // If we get here, there are two possible cases: - // 1. We do not currently have a selected subchannel, and the update is - // for a subchannel in p->subchannel_list_ that we're trying to - // connect to. The goal here is to find a subchannel that we can - // select. - // 2. We do currently have a selected subchannel, and the update is - // for a subchannel in p->latest_pending_subchannel_list_. The - // goal here is to find a subchannel from the update that we can - // select in place of the current one. - // If the subchannel is READY, use it. - if (new_state == GRPC_CHANNEL_READY) { - subchannel_list_->in_transient_failure_ = false; - ProcessUnselectedReadyLocked(); - return; - } - // If we haven't yet seen the initial connectivity state notification - // for all subchannels, do nothing. - if (!subchannel_list_->AllSubchannelsSeenInitialState()) return; - // If we're still here and this is the initial connectivity state - // notification for this subchannel, that means it was the last one to - // see its initial notification. Start trying to connect, starting - // with the first subchannel. - if (!old_state.has_value()) { - subchannel_list_->subchannels_.front().ReactToConnectivityStateLocked(); - return; - } - // Ignore any other updates for subchannels we're not currently trying to - // connect to. - if (Index() != subchannel_list_->attempting_index_) return; - // React to the connectivity state. - ReactToConnectivityStateLocked(); -} - -void PickFirst::SubchannelList::SubchannelData:: - ReactToConnectivityStateLocked() { - PickFirst* p = subchannel_list_->policy_.get(); - // Otherwise, process connectivity state. - switch (connectivity_state_.value()) { - case GRPC_CHANNEL_READY: - // Already handled this case above, so this should not happen. - GPR_UNREACHABLE_CODE(break); - case GRPC_CHANNEL_TRANSIENT_FAILURE: { - // Find the next subchannel not in state TRANSIENT_FAILURE. - // We skip subchannels in state TRANSIENT_FAILURE to avoid a - // large recursion that could overflow the stack. - SubchannelData* found_subchannel = nullptr; - for (size_t next_index = Index() + 1; - next_index < subchannel_list_->size(); ++next_index) { - SubchannelData* sc = &subchannel_list_->subchannels_[next_index]; - GPR_ASSERT(sc->connectivity_state_.has_value()); - if (sc->connectivity_state_ != GRPC_CHANNEL_TRANSIENT_FAILURE) { - subchannel_list_->attempting_index_ = next_index; - found_subchannel = sc; - break; - } - } - // If we found another subchannel in the list not in state - // TRANSIENT_FAILURE, trigger the right behavior for that subchannel. - if (found_subchannel != nullptr) { - found_subchannel->ReactToConnectivityStateLocked(); - break; - } - // We didn't find another subchannel not in state TRANSIENT_FAILURE, - // so report TRANSIENT_FAILURE and wait for the first subchannel - // in the list to report IDLE before continuing. - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, - "Pick First %p subchannel list %p failed to connect to " - "all subchannels", - p, subchannel_list_); - } - subchannel_list_->attempting_index_ = 0; - subchannel_list_->in_transient_failure_ = true; - // In case 2, swap to the new subchannel list. This means reporting - // TRANSIENT_FAILURE and dropping the existing (working) connection, - // but we can't ignore what the control plane has told us. - if (subchannel_list_ == p->latest_pending_subchannel_list_.get()) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, - "Pick First %p promoting pending subchannel list %p to " - "replace %p", - p, p->latest_pending_subchannel_list_.get(), - p->subchannel_list_.get()); - } - p->UnsetSelectedSubchannel(); - p->subchannel_list_ = std::move(p->latest_pending_subchannel_list_); - } - // If this is the current subchannel list (either because we were - // in case 1 or because we were in case 2 and just promoted it to - // be the current list), re-resolve and report new state. - if (subchannel_list_ == p->subchannel_list_.get()) { - p->channel_control_helper()->RequestReresolution(); - absl::Status status = absl::UnavailableError(absl::StrCat( - (p->omit_status_message_prefix_ - ? "" - : "failed to connect to all addresses; last error: "), - connectivity_status_.ToString())); - p->UpdateState(GRPC_CHANNEL_TRANSIENT_FAILURE, status, - MakeRefCounted(status)); - } - // If the first subchannel is already IDLE, trigger the next connection - // attempt immediately. Otherwise, we'll wait for it to report - // its own connectivity state change. - auto& subchannel0 = subchannel_list_->subchannels_.front(); - if (subchannel0.connectivity_state_ == GRPC_CHANNEL_IDLE) { - subchannel0.subchannel_->RequestConnection(); - } - break; - } - case GRPC_CHANNEL_IDLE: - subchannel_->RequestConnection(); - break; - case GRPC_CHANNEL_CONNECTING: - // Only update connectivity state in case 1, and only if we're not - // already in TRANSIENT_FAILURE. - if (subchannel_list_ == p->subchannel_list_.get() && - p->state_ != GRPC_CHANNEL_TRANSIENT_FAILURE) { - p->UpdateState(GRPC_CHANNEL_CONNECTING, absl::Status(), - MakeRefCounted(nullptr)); - } - break; - case GRPC_CHANNEL_SHUTDOWN: - GPR_UNREACHABLE_CODE(break); - } -} - -void PickFirst::SubchannelList::SubchannelData::ProcessUnselectedReadyLocked() { - PickFirst* p = subchannel_list_->policy_.get(); - // If we get here, there are two possible cases: - // 1. We do not currently have a selected subchannel, and the update is - // for a subchannel in p->subchannel_list_ that we're trying to - // connect to. The goal here is to find a subchannel that we can - // select. - // 2. We do currently have a selected subchannel, and the update is - // for a subchannel in p->latest_pending_subchannel_list_. The - // goal here is to find a subchannel from the update that we can - // select in place of the current one. - GPR_ASSERT(subchannel_list_ == p->subchannel_list_.get() || - subchannel_list_ == p->latest_pending_subchannel_list_.get()); - // Case 2. Promote p->latest_pending_subchannel_list_ to p->subchannel_list_. - if (subchannel_list_ == p->latest_pending_subchannel_list_.get()) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, - "Pick First %p promoting pending subchannel list %p to " - "replace %p", - p, p->latest_pending_subchannel_list_.get(), - p->subchannel_list_.get()); - } - p->subchannel_list_ = std::move(p->latest_pending_subchannel_list_); - } - // Cases 1 and 2. - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, "Pick First %p selected subchannel %p", p, - subchannel_.get()); - } - p->selected_ = this; - // If health checking is enabled, start the health watch, but don't - // report a new picker -- we want to stay in CONNECTING while we wait - // for the health status notification. - // If health checking is NOT enabled, report READY. - if (p->enable_health_watch_) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, "[PF %p] starting health watch", p); - } - auto watcher = std::make_unique( - p->Ref(DEBUG_LOCATION, "HealthWatcher")); - p->health_watcher_ = watcher.get(); - auto health_data_watcher = MakeHealthCheckWatcher( - p->work_serializer(), subchannel_list_->args_, std::move(watcher)); - p->health_data_watcher_ = health_data_watcher.get(); - subchannel_->AddDataWatcher(std::move(health_data_watcher)); - } else { - p->UpdateState(GRPC_CHANNEL_READY, absl::Status(), - MakeRefCounted(subchannel()->Ref())); - } - // Unref all other subchannels in the list. - for (size_t i = 0; i < subchannel_list_->size(); ++i) { - if (i != Index()) { - subchannel_list_->subchannels_[i].ShutdownLocked(); - } - } -} - -// -// PickFirst::SubchannelList -// - -PickFirst::SubchannelList::SubchannelList(RefCountedPtr policy, - ServerAddressList addresses, - const ChannelArgs& args) - : InternallyRefCounted( - GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace) ? "SubchannelList" - : nullptr), - policy_(std::move(policy)), - args_(args.Remove(GRPC_ARG_INTERNAL_PICK_FIRST_ENABLE_HEALTH_CHECKING) - .Remove( - GRPC_ARG_INTERNAL_PICK_FIRST_OMIT_STATUS_MESSAGE_PREFIX)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, - "[PF %p] Creating subchannel list %p for %" PRIuPTR - " subchannels - channel args: %s", - policy_.get(), this, addresses.size(), args_.ToString().c_str()); - } - subchannels_.reserve(addresses.size()); - // Create a subchannel for each address. - for (const ServerAddress& address : addresses) { - RefCountedPtr subchannel = - policy_->channel_control_helper()->CreateSubchannel(address, args_); - if (subchannel == nullptr) { - // Subchannel could not be created. - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, - "[PF %p] could not create subchannel for address %s, ignoring", - policy_.get(), address.ToString().c_str()); - } - continue; - } - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, - "[PF %p] subchannel list %p index %" PRIuPTR - ": Created subchannel %p for address %s", - policy_.get(), this, subchannels_.size(), subchannel.get(), - address.ToString().c_str()); - } - subchannels_.emplace_back(this, std::move(subchannel)); - } -} - -PickFirst::SubchannelList::~SubchannelList() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, "[PF %p] Destroying subchannel_list %p", policy_.get(), - this); - } -} - -void PickFirst::SubchannelList::Orphan() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_pick_first_trace)) { - gpr_log(GPR_INFO, "[PF %p] Shutting down subchannel_list %p", policy_.get(), - this); - } - GPR_ASSERT(!shutting_down_); - shutting_down_ = true; - for (auto& sd : subchannels_) { - sd.ShutdownLocked(); - } - Unref(); -} - -void PickFirst::SubchannelList::ResetBackoffLocked() { - for (auto& sd : subchannels_) { - sd.ResetBackoffLocked(); - } -} - -bool PickFirst::SubchannelList::AllSubchannelsSeenInitialState() { - for (auto& sd : subchannels_) { - if (!sd.connectivity_state().has_value()) return false; - } - return true; -} - -// -// factory -// - -class PickFirstFactory : public LoadBalancingPolicyFactory { - public: - OrphanablePtr CreateLoadBalancingPolicy( - LoadBalancingPolicy::Args args) const override { - return MakeOrphanable(std::move(args)); - } - - absl::string_view name() const override { return kPickFirst; } - - absl::StatusOr> - ParseLoadBalancingConfig(const Json& json) const override { - return LoadFromJson>( - json, JsonArgs(), "errors validating pick_first LB policy config"); - } -}; - -} // namespace - -void RegisterPickFirstLbPolicy(CoreConfiguration::Builder* builder) { - builder->lb_policy_registry()->RegisterLoadBalancingPolicyFactory( - std::make_unique()); -} - -} // namespace grpc_core diff --git a/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc b/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc deleted file mode 100644 index 2aeeab3a2bf..00000000000 --- a/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +++ /dev/null @@ -1,712 +0,0 @@ -// -// Copyright 2019 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "absl/status/status.h" -#include "absl/status/statusor.h" -#include "absl/strings/str_cat.h" -#include "absl/strings/string_view.h" -#include "absl/types/optional.h" -#include "absl/types/variant.h" - -#include -#include -#include -#include -#include - -#include "src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h" -#include "src/core/ext/xds/certificate_provider_store.h" -#include "src/core/ext/xds/xds_certificate_provider.h" -#include "src/core/ext/xds/xds_client_grpc.h" -#include "src/core/ext/xds/xds_cluster.h" -#include "src/core/ext/xds/xds_common_types.h" -#include "src/core/ext/xds/xds_health_status.h" -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/config/core_configuration.h" -#include "src/core/lib/debug/trace.h" -#include "src/core/lib/gprpp/debug_location.h" -#include "src/core/lib/gprpp/match.h" -#include "src/core/lib/gprpp/orphanable.h" -#include "src/core/lib/gprpp/ref_counted_ptr.h" -#include "src/core/lib/gprpp/time.h" -#include "src/core/lib/gprpp/unique_type_name.h" -#include "src/core/lib/gprpp/work_serializer.h" -#include "src/core/lib/iomgr/pollset_set.h" -#include "src/core/lib/json/json.h" -#include "src/core/lib/json/json_args.h" -#include "src/core/lib/json/json_object_loader.h" -#include "src/core/lib/json/json_writer.h" -#include "src/core/lib/load_balancing/delegating_helper.h" -#include "src/core/lib/load_balancing/lb_policy.h" -#include "src/core/lib/load_balancing/lb_policy_factory.h" -#include "src/core/lib/load_balancing/lb_policy_registry.h" -#include "src/core/lib/matchers/matchers.h" -#include "src/core/lib/security/credentials/credentials.h" -#include "src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h" -#include "src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h" -#include "src/core/lib/security/credentials/xds/xds_credentials.h" - -namespace grpc_core { - -TraceFlag grpc_cds_lb_trace(false, "cds_lb"); - -namespace { - -constexpr absl::string_view kCds = "cds_experimental"; - -constexpr int kMaxAggregateClusterRecursionDepth = 16; - -// Config for this LB policy. -class CdsLbConfig : public LoadBalancingPolicy::Config { - public: - CdsLbConfig() = default; - - CdsLbConfig(const CdsLbConfig&) = delete; - CdsLbConfig& operator=(const CdsLbConfig&) = delete; - - CdsLbConfig(CdsLbConfig&& other) = delete; - CdsLbConfig& operator=(CdsLbConfig&& other) = delete; - - const std::string& cluster() const { return cluster_; } - absl::string_view name() const override { return kCds; } - - static const JsonLoaderInterface* JsonLoader(const JsonArgs&) { - static const auto* loader = JsonObjectLoader() - .Field("cluster", &CdsLbConfig::cluster_) - .Finish(); - return loader; - } - - private: - std::string cluster_; -}; - -// CDS LB policy. -class CdsLb : public LoadBalancingPolicy { - public: - CdsLb(RefCountedPtr xds_client, Args args); - - absl::string_view name() const override { return kCds; } - - absl::Status UpdateLocked(UpdateArgs args) override; - void ResetBackoffLocked() override; - void ExitIdleLocked() override; - - private: - // Watcher for getting cluster data from XdsClient. - class ClusterWatcher : public XdsClusterResourceType::WatcherInterface { - public: - ClusterWatcher(RefCountedPtr parent, std::string name) - : parent_(std::move(parent)), name_(std::move(name)) {} - - void OnResourceChanged( - std::shared_ptr cluster_data) override { - RefCountedPtr self = Ref(); - parent_->work_serializer()->Run( - [self = std::move(self), - cluster_data = std::move(cluster_data)]() mutable { - self->parent_->OnClusterChanged(self->name_, - std::move(cluster_data)); - }, - DEBUG_LOCATION); - } - void OnError(absl::Status status) override { - RefCountedPtr self = Ref(); - parent_->work_serializer()->Run( - [self = std::move(self), status = std::move(status)]() mutable { - self->parent_->OnError(self->name_, std::move(status)); - }, - DEBUG_LOCATION); - } - void OnResourceDoesNotExist() override { - RefCountedPtr self = Ref(); - parent_->work_serializer()->Run( - [self = std::move(self)]() { - self->parent_->OnResourceDoesNotExist(self->name_); - }, - DEBUG_LOCATION); - } - - private: - RefCountedPtr parent_; - std::string name_; - }; - - struct WatcherState { - // Pointer to watcher, to be used when cancelling. - // Not owned, so do not dereference. - ClusterWatcher* watcher = nullptr; - // Most recent update obtained from this watcher. - std::shared_ptr update; - }; - - // Delegating helper to be passed to child policy. - using Helper = ParentOwningDelegatingChannelControlHelper; - - ~CdsLb() override; - - void ShutdownLocked() override; - - absl::StatusOr GenerateDiscoveryMechanismForCluster( - const std::string& name, int depth, Json::Array* discovery_mechanisms, - std::set* clusters_added); - void OnClusterChanged(const std::string& name, - std::shared_ptr cluster_data); - void OnError(const std::string& name, absl::Status status); - void OnResourceDoesNotExist(const std::string& name); - - absl::Status UpdateXdsCertificateProvider( - const std::string& cluster_name, const XdsClusterResource& cluster_data); - - void CancelClusterDataWatch(absl::string_view cluster_name, - ClusterWatcher* watcher, - bool delay_unsubscription = false); - - void MaybeDestroyChildPolicyLocked(); - - RefCountedPtr config_; - - // Current channel args from the resolver. - ChannelArgs args_; - - // The xds client. - RefCountedPtr xds_client_; - - // Maps from cluster name to the state for that cluster. - // The root of the tree is config_->cluster(). - std::map watchers_; - - RefCountedPtr root_certificate_provider_; - RefCountedPtr identity_certificate_provider_; - RefCountedPtr xds_certificate_provider_; - - // Child LB policy. - OrphanablePtr child_policy_; - - // Internal state. - bool shutting_down_ = false; -}; - -// -// CdsLb -// - -CdsLb::CdsLb(RefCountedPtr xds_client, Args args) - : LoadBalancingPolicy(std::move(args)), xds_client_(std::move(xds_client)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_cds_lb_trace)) { - gpr_log(GPR_INFO, "[cdslb %p] created -- using xds client %p", this, - xds_client_.get()); - } -} - -CdsLb::~CdsLb() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_cds_lb_trace)) { - gpr_log(GPR_INFO, "[cdslb %p] destroying cds LB policy", this); - } -} - -void CdsLb::ShutdownLocked() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_cds_lb_trace)) { - gpr_log(GPR_INFO, "[cdslb %p] shutting down", this); - } - shutting_down_ = true; - MaybeDestroyChildPolicyLocked(); - if (xds_client_ != nullptr) { - for (auto& watcher : watchers_) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_cds_lb_trace)) { - gpr_log(GPR_INFO, "[cdslb %p] cancelling watch for cluster %s", this, - watcher.first.c_str()); - } - CancelClusterDataWatch(watcher.first, watcher.second.watcher, - /*delay_unsubscription=*/false); - } - watchers_.clear(); - xds_client_.reset(DEBUG_LOCATION, "CdsLb"); - } - args_ = ChannelArgs(); -} - -void CdsLb::MaybeDestroyChildPolicyLocked() { - if (child_policy_ != nullptr) { - grpc_pollset_set_del_pollset_set(child_policy_->interested_parties(), - interested_parties()); - child_policy_.reset(); - } -} - -void CdsLb::ResetBackoffLocked() { - if (child_policy_ != nullptr) child_policy_->ResetBackoffLocked(); -} - -void CdsLb::ExitIdleLocked() { - if (child_policy_ != nullptr) child_policy_->ExitIdleLocked(); -} - -absl::Status CdsLb::UpdateLocked(UpdateArgs args) { - // Update config. - auto old_config = std::move(config_); - config_ = std::move(args.config); - if (GRPC_TRACE_FLAG_ENABLED(grpc_cds_lb_trace)) { - gpr_log(GPR_INFO, "[cdslb %p] received update: cluster=%s", this, - config_->cluster().c_str()); - } - // Update args. - args_ = std::move(args.args); - // If cluster name changed, cancel watcher and restart. - if (old_config == nullptr || old_config->cluster() != config_->cluster()) { - if (old_config != nullptr) { - for (auto& watcher : watchers_) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_cds_lb_trace)) { - gpr_log(GPR_INFO, "[cdslb %p] cancelling watch for cluster %s", this, - watcher.first.c_str()); - } - CancelClusterDataWatch(watcher.first, watcher.second.watcher, - /*delay_unsubscription=*/true); - } - watchers_.clear(); - } - auto watcher = MakeRefCounted(Ref(), config_->cluster()); - watchers_[config_->cluster()].watcher = watcher.get(); - XdsClusterResourceType::StartWatch(xds_client_.get(), config_->cluster(), - std::move(watcher)); - } - return absl::OkStatus(); -} - -// Generates the discovery mechanism config for the specified cluster name. -// -// If no CDS update has been received for the cluster, starts the watcher -// if needed, and returns false. Otherwise, generates the discovery -// mechanism config, adds it to *discovery_mechanisms, and returns true. -// -// For aggregate clusters, may call itself recursively. Returns an -// error if depth exceeds kMaxAggregateClusterRecursionDepth. -absl::StatusOr CdsLb::GenerateDiscoveryMechanismForCluster( - const std::string& name, int depth, Json::Array* discovery_mechanisms, - std::set* clusters_added) { - if (depth == kMaxAggregateClusterRecursionDepth) { - return absl::FailedPreconditionError( - "aggregate cluster graph exceeds max depth"); - } - if (!clusters_added->insert(name).second) { - return true; // Discovery mechanism already added from some other branch. - } - auto& state = watchers_[name]; - // Create a new watcher if needed. - if (state.watcher == nullptr) { - auto watcher = MakeRefCounted(Ref(), name); - if (GRPC_TRACE_FLAG_ENABLED(grpc_cds_lb_trace)) { - gpr_log(GPR_INFO, "[cdslb %p] starting watch for cluster %s", this, - name.c_str()); - } - state.watcher = watcher.get(); - XdsClusterResourceType::StartWatch(xds_client_.get(), name, - std::move(watcher)); - return false; - } - // Don't have the update we need yet. - if (state.update == nullptr) return false; - // For AGGREGATE clusters, recursively expand to child clusters. - auto* aggregate = - absl::get_if(&state.update->type); - if (aggregate != nullptr) { - bool missing_cluster = false; - for (const std::string& child_name : aggregate->prioritized_cluster_names) { - auto result = GenerateDiscoveryMechanismForCluster( - child_name, depth + 1, discovery_mechanisms, clusters_added); - if (!result.ok()) return result; - if (!*result) missing_cluster = true; - } - return !missing_cluster; - } - Json::Object mechanism = { - {"clusterName", Json::FromString(name)}, - {"max_concurrent_requests", - Json::FromNumber(state.update->max_concurrent_requests)}, - }; - if (state.update->outlier_detection.has_value()) { - auto& outlier_detection_update = state.update->outlier_detection.value(); - Json::Object outlier_detection; - outlier_detection["interval"] = - Json::FromString(outlier_detection_update.interval.ToJsonString()); - outlier_detection["baseEjectionTime"] = Json::FromString( - outlier_detection_update.base_ejection_time.ToJsonString()); - outlier_detection["maxEjectionTime"] = Json::FromString( - outlier_detection_update.max_ejection_time.ToJsonString()); - outlier_detection["maxEjectionPercent"] = - Json::FromNumber(outlier_detection_update.max_ejection_percent); - if (outlier_detection_update.success_rate_ejection.has_value()) { - outlier_detection["successRateEjection"] = Json::FromObject({ - {"stdevFactor", - Json::FromNumber( - outlier_detection_update.success_rate_ejection->stdev_factor)}, - {"enforcementPercentage", - Json::FromNumber(outlier_detection_update.success_rate_ejection - ->enforcement_percentage)}, - {"minimumHosts", - Json::FromNumber( - outlier_detection_update.success_rate_ejection->minimum_hosts)}, - {"requestVolume", - Json::FromNumber( - outlier_detection_update.success_rate_ejection->request_volume)}, - }); - } - if (outlier_detection_update.failure_percentage_ejection.has_value()) { - outlier_detection["failurePercentageEjection"] = Json::FromObject({ - {"threshold", - Json::FromNumber(outlier_detection_update - .failure_percentage_ejection->threshold)}, - {"enforcementPercentage", - Json::FromNumber( - outlier_detection_update.failure_percentage_ejection - ->enforcement_percentage)}, - {"minimumHosts", - Json::FromNumber(outlier_detection_update - .failure_percentage_ejection->minimum_hosts)}, - {"requestVolume", - Json::FromNumber(outlier_detection_update - .failure_percentage_ejection->request_volume)}, - }); - } - mechanism["outlierDetection"] = - Json::FromObject(std::move(outlier_detection)); - } - Match( - state.update->type, - [&](const XdsClusterResource::Eds& eds) { - mechanism["type"] = Json::FromString("EDS"); - if (!eds.eds_service_name.empty()) { - mechanism["edsServiceName"] = Json::FromString(eds.eds_service_name); - } - }, - [&](const XdsClusterResource::LogicalDns& logical_dns) { - mechanism["type"] = Json::FromString("LOGICAL_DNS"); - mechanism["dnsHostname"] = Json::FromString(logical_dns.hostname); - }, - [&](const XdsClusterResource::Aggregate&) { GPR_ASSERT(0); }); - if (state.update->lrs_load_reporting_server.has_value()) { - mechanism["lrsLoadReportingServer"] = - state.update->lrs_load_reporting_server->ToJson(); - } - if (!state.update->override_host_statuses.empty()) { - Json::Array status_list; - for (const auto& status : state.update->override_host_statuses) { - status_list.emplace_back(Json::FromString(status.ToString())); - } - mechanism["overrideHostStatus"] = Json::FromArray(std::move(status_list)); - } - discovery_mechanisms->emplace_back(Json::FromObject(std::move(mechanism))); - return true; -} - -void CdsLb::OnClusterChanged( - const std::string& name, - std::shared_ptr cluster_data) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_cds_lb_trace)) { - gpr_log( - GPR_INFO, - "[cdslb %p] received CDS update for cluster %s from xds client %p: %s", - this, name.c_str(), xds_client_.get(), - cluster_data->ToString().c_str()); - } - // Store the update in the map if we are still interested in watching this - // cluster (i.e., it is not cancelled already). - // If we've already deleted this entry, then this is an update notification - // that was scheduled before the deletion, so we can just ignore it. - auto it = watchers_.find(name); - if (it == watchers_.end()) return; - it->second.update = std::move(cluster_data); - // Take care of integration with new certificate code. - absl::Status status = UpdateXdsCertificateProvider(name, *it->second.update); - if (!status.ok()) { - return OnError(name, status); - } - // Scan the map starting from the root cluster to generate the list of - // discovery mechanisms. If we don't have some of the data we need (i.e., we - // just started up and not all watchers have returned data yet), then don't - // update the child policy at all. - Json::Array discovery_mechanisms; - std::set clusters_added; - auto result = GenerateDiscoveryMechanismForCluster( - config_->cluster(), /*depth=*/0, &discovery_mechanisms, &clusters_added); - if (!result.ok()) { - return OnError(name, result.status()); - } - if (*result) { - if (discovery_mechanisms.empty()) { - return OnError(name, absl::FailedPreconditionError( - "aggregate cluster graph has no leaf clusters")); - } - // LB policy is configured by aggregate cluster, not by the individual - // underlying cluster that we may be processing an update for. - auto it = watchers_.find(config_->cluster()); - GPR_ASSERT(it != watchers_.end()); - // Construct config for child policy. - Json json = Json::FromArray({ - Json::FromObject({ - {"xds_cluster_resolver_experimental", - Json::FromObject({ - {"xdsLbPolicy", - Json::FromArray(it->second.update->lb_policy_config)}, - {"discoveryMechanisms", - Json::FromArray(std::move(discovery_mechanisms))}, - })}, - }), - }); - if (GRPC_TRACE_FLAG_ENABLED(grpc_cds_lb_trace)) { - gpr_log(GPR_INFO, "[cdslb %p] generated config for child policy: %s", - this, JsonDump(json, /*indent=*/1).c_str()); - } - auto config = - CoreConfiguration::Get().lb_policy_registry().ParseLoadBalancingConfig( - json); - if (!config.ok()) { - OnError(name, absl::UnavailableError(config.status().message())); - return; - } - // Create child policy if not already present. - if (child_policy_ == nullptr) { - LoadBalancingPolicy::Args args; - args.work_serializer = work_serializer(); - args.args = args_; - args.channel_control_helper = std::make_unique(Ref()); - child_policy_ = - CoreConfiguration::Get() - .lb_policy_registry() - .CreateLoadBalancingPolicy((*config)->name(), std::move(args)); - if (child_policy_ == nullptr) { - OnError(name, absl::UnavailableError("failed to create child policy")); - return; - } - grpc_pollset_set_add_pollset_set(child_policy_->interested_parties(), - interested_parties()); - if (GRPC_TRACE_FLAG_ENABLED(grpc_cds_lb_trace)) { - gpr_log(GPR_INFO, "[cdslb %p] created child policy %s (%p)", this, - std::string((*config)->name()).c_str(), child_policy_.get()); - } - } - // Update child policy. - UpdateArgs args; - args.config = std::move(*config); - if (xds_certificate_provider_ != nullptr) { - args.args = args_.SetObject(xds_certificate_provider_); - } else { - args.args = args_; - } - // TODO(roth): If the child policy reports an error with the update, - // we need to propagate the error to the resolver somehow. - (void)child_policy_->UpdateLocked(std::move(args)); - } - // Remove entries in watchers_ for any clusters not in clusters_added - for (auto it = watchers_.begin(); it != watchers_.end();) { - const std::string& cluster_name = it->first; - if (clusters_added.find(cluster_name) != clusters_added.end()) { - ++it; - continue; - } - if (GRPC_TRACE_FLAG_ENABLED(grpc_cds_lb_trace)) { - gpr_log(GPR_INFO, "[cdslb %p] cancelling watch for cluster %s", this, - cluster_name.c_str()); - } - CancelClusterDataWatch(cluster_name, it->second.watcher, - /*delay_unsubscription=*/false); - it = watchers_.erase(it); - } -} - -void CdsLb::OnError(const std::string& name, absl::Status status) { - gpr_log(GPR_ERROR, "[cdslb %p] xds error obtaining data for cluster %s: %s", - this, name.c_str(), status.ToString().c_str()); - // Go into TRANSIENT_FAILURE if we have not yet created the child - // policy (i.e., we have not yet received data from xds). Otherwise, - // we keep running with the data we had previously. - if (child_policy_ == nullptr) { - channel_control_helper()->UpdateState( - GRPC_CHANNEL_TRANSIENT_FAILURE, status, - MakeRefCounted(absl::UnavailableError( - absl::StrCat(name, ": ", status.ToString())))); - } -} - -void CdsLb::OnResourceDoesNotExist(const std::string& name) { - gpr_log(GPR_ERROR, - "[cdslb %p] CDS resource for %s does not exist -- reporting " - "TRANSIENT_FAILURE", - this, name.c_str()); - absl::Status status = absl::UnavailableError( - absl::StrCat("CDS resource \"", config_->cluster(), "\" does not exist")); - channel_control_helper()->UpdateState( - GRPC_CHANNEL_TRANSIENT_FAILURE, status, - MakeRefCounted(status)); - MaybeDestroyChildPolicyLocked(); -} - -absl::Status CdsLb::UpdateXdsCertificateProvider( - const std::string& cluster_name, const XdsClusterResource& cluster_data) { - // Early out if channel is not configured to use xds security. - auto channel_credentials = channel_control_helper()->GetChannelCredentials(); - if (channel_credentials == nullptr || - channel_credentials->type() != XdsCredentials::Type()) { - xds_certificate_provider_ = nullptr; - return absl::OkStatus(); - } - if (xds_certificate_provider_ == nullptr) { - xds_certificate_provider_ = MakeRefCounted(); - } - // Configure root cert. - absl::string_view root_provider_instance_name = - cluster_data.common_tls_context.certificate_validation_context - .ca_certificate_provider_instance.instance_name; - absl::string_view root_provider_cert_name = - cluster_data.common_tls_context.certificate_validation_context - .ca_certificate_provider_instance.certificate_name; - RefCountedPtr new_root_provider; - if (!root_provider_instance_name.empty()) { - new_root_provider = - xds_client_->certificate_provider_store() - .CreateOrGetCertificateProvider(root_provider_instance_name); - if (new_root_provider == nullptr) { - return absl::UnavailableError( - absl::StrCat("Certificate provider instance name: \"", - root_provider_instance_name, "\" not recognized.")); - } - } - if (root_certificate_provider_ != new_root_provider) { - if (root_certificate_provider_ != nullptr && - root_certificate_provider_->interested_parties() != nullptr) { - grpc_pollset_set_del_pollset_set( - interested_parties(), - root_certificate_provider_->interested_parties()); - } - if (new_root_provider != nullptr && - new_root_provider->interested_parties() != nullptr) { - grpc_pollset_set_add_pollset_set(interested_parties(), - new_root_provider->interested_parties()); - } - root_certificate_provider_ = std::move(new_root_provider); - } - xds_certificate_provider_->UpdateRootCertNameAndDistributor( - cluster_name, root_provider_cert_name, - root_certificate_provider_ == nullptr - ? nullptr - : root_certificate_provider_->distributor()); - // Configure identity cert. - absl::string_view identity_provider_instance_name = - cluster_data.common_tls_context.tls_certificate_provider_instance - .instance_name; - absl::string_view identity_provider_cert_name = - cluster_data.common_tls_context.tls_certificate_provider_instance - .certificate_name; - RefCountedPtr new_identity_provider; - if (!identity_provider_instance_name.empty()) { - new_identity_provider = - xds_client_->certificate_provider_store() - .CreateOrGetCertificateProvider(identity_provider_instance_name); - if (new_identity_provider == nullptr) { - return absl::UnavailableError( - absl::StrCat("Certificate provider instance name: \"", - identity_provider_instance_name, "\" not recognized.")); - } - } - if (identity_certificate_provider_ != new_identity_provider) { - if (identity_certificate_provider_ != nullptr && - identity_certificate_provider_->interested_parties() != nullptr) { - grpc_pollset_set_del_pollset_set( - interested_parties(), - identity_certificate_provider_->interested_parties()); - } - if (new_identity_provider != nullptr && - new_identity_provider->interested_parties() != nullptr) { - grpc_pollset_set_add_pollset_set( - interested_parties(), new_identity_provider->interested_parties()); - } - identity_certificate_provider_ = std::move(new_identity_provider); - } - xds_certificate_provider_->UpdateIdentityCertNameAndDistributor( - cluster_name, identity_provider_cert_name, - identity_certificate_provider_ == nullptr - ? nullptr - : identity_certificate_provider_->distributor()); - // Configure SAN matchers. - const std::vector& match_subject_alt_names = - cluster_data.common_tls_context.certificate_validation_context - .match_subject_alt_names; - xds_certificate_provider_->UpdateSubjectAlternativeNameMatchers( - cluster_name, match_subject_alt_names); - return absl::OkStatus(); -} - -void CdsLb::CancelClusterDataWatch(absl::string_view cluster_name, - ClusterWatcher* watcher, - bool delay_unsubscription) { - if (xds_certificate_provider_ != nullptr) { - std::string name(cluster_name); - xds_certificate_provider_->UpdateRootCertNameAndDistributor(name, "", - nullptr); - xds_certificate_provider_->UpdateIdentityCertNameAndDistributor(name, "", - nullptr); - xds_certificate_provider_->UpdateSubjectAlternativeNameMatchers(name, {}); - } - XdsClusterResourceType::CancelWatch(xds_client_.get(), cluster_name, watcher, - delay_unsubscription); -} -// -// factory -// - -class CdsLbFactory : public LoadBalancingPolicyFactory { - public: - OrphanablePtr CreateLoadBalancingPolicy( - LoadBalancingPolicy::Args args) const override { - auto xds_client = - args.args.GetObjectRef(DEBUG_LOCATION, "CdsLb"); - if (xds_client == nullptr) { - gpr_log(GPR_ERROR, - "XdsClient not present in channel args -- cannot instantiate " - "cds LB policy"); - return nullptr; - } - return MakeOrphanable(std::move(xds_client), std::move(args)); - } - - absl::string_view name() const override { return kCds; } - - absl::StatusOr> - ParseLoadBalancingConfig(const Json& json) const override { - return LoadFromJson>( - json, JsonArgs(), "errors validating cds LB policy config"); - } -}; - -} // namespace - -void RegisterCdsLbPolicy(CoreConfiguration::Builder* builder) { - builder->lb_policy_registry()->RegisterLoadBalancingPolicyFactory( - std::make_unique()); -} - -} // namespace grpc_core diff --git a/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc b/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc deleted file mode 100644 index 158428996f7..00000000000 --- a/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +++ /dev/null @@ -1,750 +0,0 @@ -// -// Copyright 2018 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#include - -#include -#include - -#include -#include -#include -#include -#include -#include - -#include "absl/base/thread_annotations.h" -#include "absl/status/status.h" -#include "absl/status/statusor.h" -#include "absl/strings/str_cat.h" -#include "absl/strings/string_view.h" -#include "absl/types/optional.h" -#include "absl/types/variant.h" - -#include -#include - -#include "src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h" -#include "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h" -#include "src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h" -#include "src/core/ext/xds/xds_bootstrap.h" -#include "src/core/ext/xds/xds_bootstrap_grpc.h" -#include "src/core/ext/xds/xds_client.h" -#include "src/core/ext/xds/xds_client_grpc.h" -#include "src/core/ext/xds/xds_client_stats.h" -#include "src/core/ext/xds/xds_endpoint.h" -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/config/core_configuration.h" -#include "src/core/lib/debug/trace.h" -#include "src/core/lib/gprpp/debug_location.h" -#include "src/core/lib/gprpp/orphanable.h" -#include "src/core/lib/gprpp/ref_counted.h" -#include "src/core/lib/gprpp/ref_counted_ptr.h" -#include "src/core/lib/gprpp/sync.h" -#include "src/core/lib/gprpp/validation_errors.h" -#include "src/core/lib/iomgr/pollset_set.h" -#include "src/core/lib/json/json.h" -#include "src/core/lib/json/json_args.h" -#include "src/core/lib/json/json_object_loader.h" -#include "src/core/lib/load_balancing/delegating_helper.h" -#include "src/core/lib/load_balancing/lb_policy.h" -#include "src/core/lib/load_balancing/lb_policy_factory.h" -#include "src/core/lib/load_balancing/lb_policy_registry.h" -#include "src/core/lib/load_balancing/subchannel_interface.h" -#include "src/core/lib/resolver/server_address.h" -#include "src/core/lib/transport/connectivity_state.h" - -namespace grpc_core { - -TraceFlag grpc_xds_cluster_impl_lb_trace(false, "xds_cluster_impl_lb"); - -namespace { - -// -// global circuit breaker atomic map -// - -class CircuitBreakerCallCounterMap { - public: - using Key = - std::pair; - - class CallCounter : public RefCounted { - public: - explicit CallCounter(Key key) : key_(std::move(key)) {} - ~CallCounter() override; - - uint32_t Load() { - return concurrent_requests_.load(std::memory_order_seq_cst); - } - uint32_t Increment() { return concurrent_requests_.fetch_add(1); } - void Decrement() { concurrent_requests_.fetch_sub(1); } - - private: - Key key_; - std::atomic concurrent_requests_{0}; - }; - - RefCountedPtr GetOrCreate(const std::string& cluster, - const std::string& eds_service_name); - - private: - Mutex mu_; - std::map map_ ABSL_GUARDED_BY(mu_); -}; - -CircuitBreakerCallCounterMap* const g_call_counter_map = - new CircuitBreakerCallCounterMap; - -RefCountedPtr -CircuitBreakerCallCounterMap::GetOrCreate(const std::string& cluster, - const std::string& eds_service_name) { - Key key(cluster, eds_service_name); - RefCountedPtr result; - MutexLock lock(&mu_); - auto it = map_.find(key); - if (it == map_.end()) { - it = map_.insert({key, nullptr}).first; - } else { - result = it->second->RefIfNonZero(); - } - if (result == nullptr) { - result = MakeRefCounted(std::move(key)); - it->second = result.get(); - } - return result; -} - -CircuitBreakerCallCounterMap::CallCounter::~CallCounter() { - MutexLock lock(&g_call_counter_map->mu_); - auto it = g_call_counter_map->map_.find(key_); - if (it != g_call_counter_map->map_.end() && it->second == this) { - g_call_counter_map->map_.erase(it); - } -} - -// -// LB policy -// - -constexpr absl::string_view kXdsClusterImpl = "xds_cluster_impl_experimental"; - -// Config for xDS Cluster Impl LB policy. -class XdsClusterImplLbConfig : public LoadBalancingPolicy::Config { - public: - XdsClusterImplLbConfig() = default; - - XdsClusterImplLbConfig(const XdsClusterImplLbConfig&) = delete; - XdsClusterImplLbConfig& operator=(const XdsClusterImplLbConfig&) = delete; - - XdsClusterImplLbConfig(XdsClusterImplLbConfig&& other) = delete; - XdsClusterImplLbConfig& operator=(XdsClusterImplLbConfig&& other) = delete; - - absl::string_view name() const override { return kXdsClusterImpl; } - - RefCountedPtr child_policy() const { - return child_policy_; - } - const std::string& cluster_name() const { return cluster_name_; } - const std::string& eds_service_name() const { return eds_service_name_; } - const absl::optional& - lrs_load_reporting_server() const { - return lrs_load_reporting_server_; - }; - uint32_t max_concurrent_requests() const { return max_concurrent_requests_; } - RefCountedPtr drop_config() const { - return drop_config_; - } - - static const JsonLoaderInterface* JsonLoader(const JsonArgs&); - void JsonPostLoad(const Json& json, const JsonArgs& args, - ValidationErrors* errors); - - private: - RefCountedPtr child_policy_; - std::string cluster_name_; - std::string eds_service_name_; - absl::optional lrs_load_reporting_server_; - uint32_t max_concurrent_requests_; - RefCountedPtr drop_config_; -}; - -// xDS Cluster Impl LB policy. -class XdsClusterImplLb : public LoadBalancingPolicy { - public: - XdsClusterImplLb(RefCountedPtr xds_client, Args args); - - absl::string_view name() const override { return kXdsClusterImpl; } - - absl::Status UpdateLocked(UpdateArgs args) override; - void ExitIdleLocked() override; - void ResetBackoffLocked() override; - - private: - class StatsSubchannelWrapper : public DelegatingSubchannel { - public: - StatsSubchannelWrapper( - RefCountedPtr wrapped_subchannel, - RefCountedPtr locality_stats) - : DelegatingSubchannel(std::move(wrapped_subchannel)), - locality_stats_(std::move(locality_stats)) {} - - XdsClusterLocalityStats* locality_stats() const { - return locality_stats_.get(); - } - - private: - RefCountedPtr locality_stats_; - }; - - // A picker that wraps the picker from the child to perform drops. - class Picker : public SubchannelPicker { - public: - Picker(XdsClusterImplLb* xds_cluster_impl_lb, - RefCountedPtr picker); - - PickResult Pick(PickArgs args) override; - - private: - class SubchannelCallTracker; - - RefCountedPtr call_counter_; - uint32_t max_concurrent_requests_; - RefCountedPtr drop_config_; - RefCountedPtr drop_stats_; - RefCountedPtr picker_; - }; - - class Helper - : public ParentOwningDelegatingChannelControlHelper { - public: - explicit Helper(RefCountedPtr xds_cluster_impl_policy) - : ParentOwningDelegatingChannelControlHelper( - std::move(xds_cluster_impl_policy)) {} - - RefCountedPtr CreateSubchannel( - ServerAddress address, const ChannelArgs& args) override; - void UpdateState(grpc_connectivity_state state, const absl::Status& status, - RefCountedPtr picker) override; - }; - - ~XdsClusterImplLb() override; - - void ShutdownLocked() override; - - OrphanablePtr CreateChildPolicyLocked( - const ChannelArgs& args); - absl::Status UpdateChildPolicyLocked( - absl::StatusOr addresses, std::string resolution_note, - const ChannelArgs& args); - - void MaybeUpdatePickerLocked(); - - // Current config from the resolver. - RefCountedPtr config_; - - // Current concurrent number of requests. - RefCountedPtr call_counter_; - - // Internal state. - bool shutting_down_ = false; - - // The xds client. - RefCountedPtr xds_client_; - - // The stats for client-side load reporting. - RefCountedPtr drop_stats_; - - OrphanablePtr child_policy_; - - // Latest state and picker reported by the child policy. - grpc_connectivity_state state_ = GRPC_CHANNEL_IDLE; - absl::Status status_; - RefCountedPtr picker_; -}; - -// -// XdsClusterImplLb::Picker::SubchannelCallTracker -// - -class XdsClusterImplLb::Picker::SubchannelCallTracker - : public LoadBalancingPolicy::SubchannelCallTrackerInterface { - public: - SubchannelCallTracker( - std::unique_ptr - original_subchannel_call_tracker, - RefCountedPtr locality_stats, - RefCountedPtr call_counter) - : original_subchannel_call_tracker_( - std::move(original_subchannel_call_tracker)), - locality_stats_(std::move(locality_stats)), - call_counter_(std::move(call_counter)) {} - - ~SubchannelCallTracker() override { - locality_stats_.reset(DEBUG_LOCATION, "SubchannelCallTracker"); - call_counter_.reset(DEBUG_LOCATION, "SubchannelCallTracker"); - GPR_DEBUG_ASSERT(!started_); - } - - void Start() override { - // Increment number of calls in flight. - call_counter_->Increment(); - // Record a call started. - if (locality_stats_ != nullptr) { - locality_stats_->AddCallStarted(); - } - // Delegate if needed. - if (original_subchannel_call_tracker_ != nullptr) { - original_subchannel_call_tracker_->Start(); - } -#ifndef NDEBUG - started_ = true; -#endif - } - - void Finish(FinishArgs args) override { - // Delegate if needed. - if (original_subchannel_call_tracker_ != nullptr) { - original_subchannel_call_tracker_->Finish(args); - } - // Record call completion for load reporting. - if (locality_stats_ != nullptr) { - auto* backend_metric_data = - args.backend_metric_accessor->GetBackendMetricData(); - const std::map* named_metrics = nullptr; - if (backend_metric_data != nullptr) { - named_metrics = &backend_metric_data->named_metrics; - } - locality_stats_->AddCallFinished(named_metrics, !args.status.ok()); - } - // Decrement number of calls in flight. - call_counter_->Decrement(); -#ifndef NDEBUG - started_ = false; -#endif - } - - private: - std::unique_ptr - original_subchannel_call_tracker_; - RefCountedPtr locality_stats_; - RefCountedPtr call_counter_; -#ifndef NDEBUG - bool started_ = false; -#endif -}; - -// -// XdsClusterImplLb::Picker -// - -XdsClusterImplLb::Picker::Picker(XdsClusterImplLb* xds_cluster_impl_lb, - RefCountedPtr picker) - : call_counter_(xds_cluster_impl_lb->call_counter_), - max_concurrent_requests_( - xds_cluster_impl_lb->config_->max_concurrent_requests()), - drop_config_(xds_cluster_impl_lb->config_->drop_config()), - drop_stats_(xds_cluster_impl_lb->drop_stats_), - picker_(std::move(picker)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_cluster_impl_lb_trace)) { - gpr_log(GPR_INFO, "[xds_cluster_impl_lb %p] constructed new picker %p", - xds_cluster_impl_lb, this); - } -} - -LoadBalancingPolicy::PickResult XdsClusterImplLb::Picker::Pick( - LoadBalancingPolicy::PickArgs args) { - // Handle EDS drops. - const std::string* drop_category; - if (drop_config_->ShouldDrop(&drop_category)) { - if (drop_stats_ != nullptr) drop_stats_->AddCallDropped(*drop_category); - return PickResult::Drop(absl::UnavailableError( - absl::StrCat("EDS-configured drop: ", *drop_category))); - } - // Check if we exceeded the max concurrent requests circuit breaking limit. - // Note: We check the value here, but we don't actually increment the - // counter for the current request until the channel calls the subchannel - // call tracker's Start() method. This means that we may wind up - // allowing more concurrent requests than the configured limit. - if (call_counter_->Load() >= max_concurrent_requests_) { - if (drop_stats_ != nullptr) drop_stats_->AddUncategorizedDrops(); - return PickResult::Drop(absl::UnavailableError("circuit breaker drop")); - } - // If we're not dropping the call, we should always have a child picker. - if (picker_ == nullptr) { // Should never happen. - return PickResult::Fail(absl::InternalError( - "xds_cluster_impl picker not given any child picker")); - } - // Not dropping, so delegate to child picker. - PickResult result = picker_->Pick(args); - auto* complete_pick = absl::get_if(&result.result); - if (complete_pick != nullptr) { - RefCountedPtr locality_stats; - if (drop_stats_ != nullptr) { // If load reporting is enabled. - auto* subchannel_wrapper = - static_cast(complete_pick->subchannel.get()); - // Handle load reporting. - locality_stats = subchannel_wrapper->locality_stats()->Ref( - DEBUG_LOCATION, "SubchannelCallTracker"); - // Unwrap subchannel to pass back up the stack. - complete_pick->subchannel = subchannel_wrapper->wrapped_subchannel(); - } - // Inject subchannel call tracker to record call completion. - complete_pick->subchannel_call_tracker = - std::make_unique( - std::move(complete_pick->subchannel_call_tracker), - std::move(locality_stats), - call_counter_->Ref(DEBUG_LOCATION, "SubchannelCallTracker")); - } else { - // TODO(roth): We should ideally also record call failures here in the case - // where a pick fails. This is challenging, because we don't know which - // picks are for wait_for_ready RPCs or how many times we'll return a - // failure for the same wait_for_ready RPC. - } - return result; -} - -// -// XdsClusterImplLb -// - -XdsClusterImplLb::XdsClusterImplLb(RefCountedPtr xds_client, - Args args) - : LoadBalancingPolicy(std::move(args)), xds_client_(std::move(xds_client)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_cluster_impl_lb_trace)) { - gpr_log(GPR_INFO, "[xds_cluster_impl_lb %p] created -- using xds client %p", - this, xds_client_.get()); - } -} - -XdsClusterImplLb::~XdsClusterImplLb() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_cluster_impl_lb_trace)) { - gpr_log(GPR_INFO, - "[xds_cluster_impl_lb %p] destroying xds_cluster_impl LB policy", - this); - } -} - -void XdsClusterImplLb::ShutdownLocked() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_cluster_impl_lb_trace)) { - gpr_log(GPR_INFO, "[xds_cluster_impl_lb %p] shutting down", this); - } - shutting_down_ = true; - // Remove the child policy's interested_parties pollset_set from the - // xDS policy. - if (child_policy_ != nullptr) { - grpc_pollset_set_del_pollset_set(child_policy_->interested_parties(), - interested_parties()); - child_policy_.reset(); - } - // Drop our ref to the child's picker, in case it's holding a ref to - // the child. - picker_.reset(); - drop_stats_.reset(); - xds_client_.reset(DEBUG_LOCATION, "XdsClusterImpl"); -} - -void XdsClusterImplLb::ExitIdleLocked() { - if (child_policy_ != nullptr) child_policy_->ExitIdleLocked(); -} - -void XdsClusterImplLb::ResetBackoffLocked() { - // The XdsClient will have its backoff reset by the xds resolver, so we - // don't need to do it here. - if (child_policy_ != nullptr) child_policy_->ResetBackoffLocked(); -} - -absl::Status XdsClusterImplLb::UpdateLocked(UpdateArgs args) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_cluster_impl_lb_trace)) { - gpr_log(GPR_INFO, "[xds_cluster_impl_lb %p] Received update", this); - } - // Update config. - const bool is_initial_update = config_ == nullptr; - auto old_config = std::move(config_); - config_ = std::move(args.config); - // On initial update, create drop stats. - if (is_initial_update) { - if (config_->lrs_load_reporting_server().has_value()) { - drop_stats_ = xds_client_->AddClusterDropStats( - config_->lrs_load_reporting_server().value(), config_->cluster_name(), - config_->eds_service_name()); - if (drop_stats_ == nullptr) { - gpr_log(GPR_ERROR, - "[xds_cluster_impl_lb %p] Failed to get cluster drop stats for " - "LRS server %s, cluster %s, EDS service name %s, load " - "reporting for drops will not be done.", - this, - config_->lrs_load_reporting_server()->server_uri().c_str(), - config_->cluster_name().c_str(), - config_->eds_service_name().c_str()); - } - } - call_counter_ = g_call_counter_map->GetOrCreate( - config_->cluster_name(), config_->eds_service_name()); - } else { - // Cluster name, EDS service name, and LRS server name should never - // change, because the xds_cluster_resolver policy above us should be - // swapped out if that happens. - GPR_ASSERT(config_->cluster_name() == old_config->cluster_name()); - GPR_ASSERT(config_->eds_service_name() == old_config->eds_service_name()); - GPR_ASSERT(config_->lrs_load_reporting_server() == - old_config->lrs_load_reporting_server()); - } - // Update picker if max_concurrent_requests has changed. - if (is_initial_update || config_->max_concurrent_requests() != - old_config->max_concurrent_requests()) { - MaybeUpdatePickerLocked(); - } - // Update child policy. - return UpdateChildPolicyLocked(std::move(args.addresses), - std::move(args.resolution_note), args.args); -} - -void XdsClusterImplLb::MaybeUpdatePickerLocked() { - // If we're dropping all calls, report READY, regardless of what (or - // whether) the child has reported. - if (config_->drop_config() != nullptr && config_->drop_config()->drop_all()) { - auto drop_picker = MakeRefCounted(this, picker_); - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_cluster_impl_lb_trace)) { - gpr_log(GPR_INFO, - "[xds_cluster_impl_lb %p] updating connectivity (drop all): " - "state=READY picker=%p", - this, drop_picker.get()); - } - channel_control_helper()->UpdateState(GRPC_CHANNEL_READY, absl::Status(), - std::move(drop_picker)); - return; - } - // Otherwise, update only if we have a child picker. - if (picker_ != nullptr) { - auto drop_picker = MakeRefCounted(this, picker_); - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_cluster_impl_lb_trace)) { - gpr_log(GPR_INFO, - "[xds_cluster_impl_lb %p] updating connectivity: state=%s " - "status=(%s) picker=%p", - this, ConnectivityStateName(state_), status_.ToString().c_str(), - drop_picker.get()); - } - channel_control_helper()->UpdateState(state_, status_, - std::move(drop_picker)); - } -} - -OrphanablePtr XdsClusterImplLb::CreateChildPolicyLocked( - const ChannelArgs& args) { - LoadBalancingPolicy::Args lb_policy_args; - lb_policy_args.work_serializer = work_serializer(); - lb_policy_args.args = args; - lb_policy_args.channel_control_helper = - std::make_unique(Ref(DEBUG_LOCATION, "Helper")); - OrphanablePtr lb_policy = - MakeOrphanable(std::move(lb_policy_args), - &grpc_xds_cluster_impl_lb_trace); - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_cluster_impl_lb_trace)) { - gpr_log(GPR_INFO, - "[xds_cluster_impl_lb %p] Created new child policy handler %p", - this, lb_policy.get()); - } - // Add our interested_parties pollset_set to that of the newly created - // child policy. This will make the child policy progress upon activity on - // this policy, which in turn is tied to the application's call. - grpc_pollset_set_add_pollset_set(lb_policy->interested_parties(), - interested_parties()); - return lb_policy; -} - -absl::Status XdsClusterImplLb::UpdateChildPolicyLocked( - absl::StatusOr addresses, std::string resolution_note, - const ChannelArgs& args) { - // Create policy if needed. - if (child_policy_ == nullptr) { - child_policy_ = CreateChildPolicyLocked(args); - } - // Construct update args. - UpdateArgs update_args; - update_args.addresses = std::move(addresses); - update_args.resolution_note = std::move(resolution_note); - update_args.config = config_->child_policy(); - update_args.args = - args.Set(GRPC_ARG_XDS_CLUSTER_NAME, config_->cluster_name()); - // Update the policy. - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_cluster_impl_lb_trace)) { - gpr_log(GPR_INFO, - "[xds_cluster_impl_lb %p] Updating child policy handler %p", this, - child_policy_.get()); - } - return child_policy_->UpdateLocked(std::move(update_args)); -} - -// -// XdsClusterImplLb::Helper -// - -RefCountedPtr XdsClusterImplLb::Helper::CreateSubchannel( - ServerAddress address, const ChannelArgs& args) { - if (parent()->shutting_down_) return nullptr; - // If load reporting is enabled, wrap the subchannel such that it - // includes the locality stats object, which will be used by the Picker. - if (parent()->config_->lrs_load_reporting_server().has_value()) { - auto locality_name = address.args().GetObjectRef(); - RefCountedPtr locality_stats = - parent()->xds_client_->AddClusterLocalityStats( - parent()->config_->lrs_load_reporting_server().value(), - parent()->config_->cluster_name(), - parent()->config_->eds_service_name(), std::move(locality_name)); - if (locality_stats != nullptr) { - return MakeRefCounted( - parent()->channel_control_helper()->CreateSubchannel( - std::move(address), args), - std::move(locality_stats)); - } - gpr_log( - GPR_ERROR, - "[xds_cluster_impl_lb %p] Failed to get locality stats object for " - "LRS server %s, cluster %s, EDS service name %s; load reports will " - "not be generated (not wrapping subchannel)", - parent(), - parent()->config_->lrs_load_reporting_server()->server_uri().c_str(), - parent()->config_->cluster_name().c_str(), - parent()->config_->eds_service_name().c_str()); - } - // Load reporting not enabled, so don't wrap the subchannel. - return parent()->channel_control_helper()->CreateSubchannel( - std::move(address), args); -} - -void XdsClusterImplLb::Helper::UpdateState( - grpc_connectivity_state state, const absl::Status& status, - RefCountedPtr picker) { - if (parent()->shutting_down_) return; - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_cluster_impl_lb_trace)) { - gpr_log(GPR_INFO, - "[xds_cluster_impl_lb %p] child connectivity state update: " - "state=%s (%s) picker=%p", - parent(), ConnectivityStateName(state), status.ToString().c_str(), - picker.get()); - } - // Save the state and picker. - parent()->state_ = state; - parent()->status_ = status; - parent()->picker_ = std::move(picker); - // Wrap the picker and return it to the channel. - parent()->MaybeUpdatePickerLocked(); -} - -// -// factory -// - -struct DropCategory { - std::string category; - uint32_t requests_per_million; - - static const JsonLoaderInterface* JsonLoader(const JsonArgs&) { - static const auto* loader = - JsonObjectLoader() - .Field("category", &DropCategory::category) - .Field("requests_per_million", &DropCategory::requests_per_million) - .Finish(); - return loader; - } -}; - -const JsonLoaderInterface* XdsClusterImplLbConfig::JsonLoader(const JsonArgs&) { - static const auto* loader = - JsonObjectLoader() - // Note: Some fields require custom processing, so they are - // handled in JsonPostLoad() instead. - .Field("clusterName", &XdsClusterImplLbConfig::cluster_name_) - .OptionalField("edsServiceName", - &XdsClusterImplLbConfig::eds_service_name_) - .OptionalField("lrsLoadReportingServer", - &XdsClusterImplLbConfig::lrs_load_reporting_server_) - .OptionalField("maxConcurrentRequests", - &XdsClusterImplLbConfig::max_concurrent_requests_) - .Finish(); - return loader; -} - -void XdsClusterImplLbConfig::JsonPostLoad(const Json& json, - const JsonArgs& args, - ValidationErrors* errors) { - // Parse "childPolicy" field. - { - ValidationErrors::ScopedField field(errors, ".childPolicy"); - auto it = json.object().find("childPolicy"); - if (it == json.object().end()) { - errors->AddError("field not present"); - } else { - auto lb_config = CoreConfiguration::Get() - .lb_policy_registry() - .ParseLoadBalancingConfig(it->second); - if (!lb_config.ok()) { - errors->AddError(lb_config.status().message()); - } else { - child_policy_ = std::move(*lb_config); - } - } - } - // Parse "dropCategories" field. - { - auto value = LoadJsonObjectField>( - json.object(), args, "dropCategories", errors); - if (value.has_value()) { - drop_config_ = MakeRefCounted(); - for (size_t i = 0; i < value->size(); ++i) { - DropCategory& drop_category = (*value)[i]; - drop_config_->AddCategory(std::move(drop_category.category), - drop_category.requests_per_million); - } - } - } -} - -class XdsClusterImplLbFactory : public LoadBalancingPolicyFactory { - public: - OrphanablePtr CreateLoadBalancingPolicy( - LoadBalancingPolicy::Args args) const override { - auto xds_client = args.args.GetObjectRef(DEBUG_LOCATION, - "XdsClusterImplLb"); - if (xds_client == nullptr) { - gpr_log(GPR_ERROR, - "XdsClient not present in channel args -- cannot instantiate " - "xds_cluster_impl LB policy"); - return nullptr; - } - return MakeOrphanable(std::move(xds_client), - std::move(args)); - } - - absl::string_view name() const override { return kXdsClusterImpl; } - - absl::StatusOr> - ParseLoadBalancingConfig(const Json& json) const override { - return LoadFromJson>( - json, JsonArgs(), - "errors validating xds_cluster_impl LB policy config"); - } -}; - -} // namespace - -void RegisterXdsClusterImplLbPolicy(CoreConfiguration::Builder* builder) { - builder->lb_policy_registry()->RegisterLoadBalancingPolicyFactory( - std::make_unique()); -} - -} // namespace grpc_core diff --git a/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc b/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc deleted file mode 100644 index 5732cc02b30..00000000000 --- a/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +++ /dev/null @@ -1,1173 +0,0 @@ -// -// Copyright 2018 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#include - -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "absl/status/status.h" -#include "absl/status/statusor.h" -#include "absl/strings/str_cat.h" -#include "absl/strings/str_join.h" -#include "absl/strings/string_view.h" -#include "absl/types/optional.h" - -#include -#include -#include -#include - -#include "src/core/ext/filters/client_channel/lb_policy/address_filtering.h" -#include "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h" -#include "src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h" -#include "src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h" -#include "src/core/ext/xds/xds_bootstrap.h" -#include "src/core/ext/xds/xds_bootstrap_grpc.h" -#include "src/core/ext/xds/xds_client.h" -#include "src/core/ext/xds/xds_client_grpc.h" -#include "src/core/ext/xds/xds_client_stats.h" -#include "src/core/ext/xds/xds_endpoint.h" -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/config/core_configuration.h" -#include "src/core/lib/debug/trace.h" -#include "src/core/lib/gprpp/debug_location.h" -#include "src/core/lib/gprpp/no_destruct.h" -#include "src/core/lib/gprpp/orphanable.h" -#include "src/core/lib/gprpp/ref_counted_ptr.h" -#include "src/core/lib/gprpp/ref_counted_string.h" -#include "src/core/lib/gprpp/validation_errors.h" -#include "src/core/lib/gprpp/work_serializer.h" -#include "src/core/lib/iomgr/pollset_set.h" -#include "src/core/lib/json/json.h" -#include "src/core/lib/json/json_args.h" -#include "src/core/lib/json/json_object_loader.h" -#include "src/core/lib/json/json_writer.h" -#include "src/core/lib/load_balancing/delegating_helper.h" -#include "src/core/lib/load_balancing/lb_policy.h" -#include "src/core/lib/load_balancing/lb_policy_factory.h" -#include "src/core/lib/load_balancing/lb_policy_registry.h" -#include "src/core/lib/resolver/resolver.h" -#include "src/core/lib/resolver/resolver_registry.h" -#include "src/core/lib/resolver/server_address.h" - -#define GRPC_EDS_DEFAULT_FALLBACK_TIMEOUT 10000 - -namespace grpc_core { - -TraceFlag grpc_lb_xds_cluster_resolver_trace(false, "xds_cluster_resolver_lb"); - -namespace { - -constexpr absl::string_view kXdsClusterResolver = - "xds_cluster_resolver_experimental"; - -// Config for EDS LB policy. -class XdsClusterResolverLbConfig : public LoadBalancingPolicy::Config { - public: - struct DiscoveryMechanism { - std::string cluster_name; - absl::optional lrs_load_reporting_server; - uint32_t max_concurrent_requests; - enum DiscoveryMechanismType { - EDS, - LOGICAL_DNS, - }; - DiscoveryMechanismType type; - std::string eds_service_name; - std::string dns_hostname; - - Json::Array override_host_statuses; - - // This is type Json::Object instead of OutlierDetectionConfig, because we - // don't actually need to validate the contents of the outlier detection - // config here. In this case, the JSON is generated by the CDS policy - // instead of coming from service config, so it's not actually any better - // to catch the problem here than it is to catch it in the - // outlier_detection policy itself, so here we just act as a pass-through. - absl::optional outlier_detection_lb_config; - - bool operator==(const DiscoveryMechanism& other) const { - return (cluster_name == other.cluster_name && - lrs_load_reporting_server == other.lrs_load_reporting_server && - max_concurrent_requests == other.max_concurrent_requests && - type == other.type && - eds_service_name == other.eds_service_name && - dns_hostname == other.dns_hostname && - override_host_statuses == other.override_host_statuses && - outlier_detection_lb_config == other.outlier_detection_lb_config); - } - - static const JsonLoaderInterface* JsonLoader(const JsonArgs&); - void JsonPostLoad(const Json& json, const JsonArgs& args, - ValidationErrors* errors); - }; - - XdsClusterResolverLbConfig() = default; - - XdsClusterResolverLbConfig(const XdsClusterResolverLbConfig&) = delete; - XdsClusterResolverLbConfig& operator=(const XdsClusterResolverLbConfig&) = - delete; - - XdsClusterResolverLbConfig(XdsClusterResolverLbConfig&& other) = delete; - XdsClusterResolverLbConfig& operator=(XdsClusterResolverLbConfig&& other) = - delete; - - absl::string_view name() const override { return kXdsClusterResolver; } - - const std::vector& discovery_mechanisms() const { - return discovery_mechanisms_; - } - - const Json& xds_lb_policy() const { return xds_lb_policy_; } - - static const JsonLoaderInterface* JsonLoader(const JsonArgs&); - void JsonPostLoad(const Json& json, const JsonArgs& args, - ValidationErrors* errors); - - private: - std::vector discovery_mechanisms_; - Json xds_lb_policy_; -}; - -// Xds Cluster Resolver LB policy. -class XdsClusterResolverLb : public LoadBalancingPolicy { - public: - XdsClusterResolverLb(RefCountedPtr xds_client, Args args); - - absl::string_view name() const override { return kXdsClusterResolver; } - - absl::Status UpdateLocked(UpdateArgs args) override; - void ResetBackoffLocked() override; - void ExitIdleLocked() override; - - private: - // Discovery Mechanism Base class - // - // Implemented by EDS and LOGICAL_DNS. - // - // Implementations are responsible for calling the LB policy's - // OnEndpointChanged(), OnError(), and OnResourceDoesNotExist() - // methods when the corresponding events occur. - // - // Must implement Orphan() method to cancel the watchers. - class DiscoveryMechanism : public InternallyRefCounted { - public: - DiscoveryMechanism( - RefCountedPtr xds_cluster_resolver_lb, - size_t index) - : parent_(std::move(xds_cluster_resolver_lb)), index_(index) {} - - XdsClusterResolverLb* parent() const { return parent_.get(); } - size_t index() const { return index_; } - - virtual void Start() = 0; - virtual Json::Array override_child_policy() = 0; - virtual bool disable_reresolution() = 0; - - private: - RefCountedPtr parent_; - // Stores its own index in the vector of DiscoveryMechanism. - size_t index_; - }; - - class EdsDiscoveryMechanism : public DiscoveryMechanism { - public: - EdsDiscoveryMechanism( - RefCountedPtr xds_cluster_resolver_lb, - size_t index) - : DiscoveryMechanism(std::move(xds_cluster_resolver_lb), index) {} - void Start() override; - void Orphan() override; - Json::Array override_child_policy() override { return Json::Array{}; } - bool disable_reresolution() override { return true; } - - private: - class EndpointWatcher : public XdsEndpointResourceType::WatcherInterface { - public: - explicit EndpointWatcher( - RefCountedPtr discovery_mechanism) - : discovery_mechanism_(std::move(discovery_mechanism)) {} - ~EndpointWatcher() override { - discovery_mechanism_.reset(DEBUG_LOCATION, "EndpointWatcher"); - } - void OnResourceChanged( - std::shared_ptr update) override { - RefCountedPtr self = Ref(); - discovery_mechanism_->parent()->work_serializer()->Run( - [self = std::move(self), update = std::move(update)]() mutable { - self->OnResourceChangedHelper(std::move(update)); - }, - DEBUG_LOCATION); - } - void OnError(absl::Status status) override { - RefCountedPtr self = Ref(); - discovery_mechanism_->parent()->work_serializer()->Run( - [self = std::move(self), status = std::move(status)]() mutable { - self->OnErrorHelper(std::move(status)); - }, - DEBUG_LOCATION); - } - void OnResourceDoesNotExist() override { - RefCountedPtr self = Ref(); - discovery_mechanism_->parent()->work_serializer()->Run( - [self = std::move(self)]() { - self->OnResourceDoesNotExistHelper(); - }, - DEBUG_LOCATION); - } - - private: - // Code accessing protected methods of `DiscoveryMechanism` need to be - // in methods of this class rather than in lambdas to work around an MSVC - // bug. - void OnResourceChangedHelper( - std::shared_ptr update) { - std::string resolution_note; - if (update->priorities.empty()) { - resolution_note = absl::StrCat( - "EDS resource ", discovery_mechanism_->GetEdsResourceName(), - " contains no localities"); - } else { - std::set empty_localities; - for (const auto& priority : update->priorities) { - for (const auto& p : priority.localities) { - if (p.second.endpoints.empty()) { - empty_localities.insert(p.first->AsHumanReadableString()); - } - } - } - if (!empty_localities.empty()) { - resolution_note = absl::StrCat( - "EDS resource ", discovery_mechanism_->GetEdsResourceName(), - " contains empty localities: [", - absl::StrJoin(empty_localities, "; "), "]"); - } - } - discovery_mechanism_->parent()->OnEndpointChanged( - discovery_mechanism_->index(), std::move(update), - std::move(resolution_note)); - } - void OnErrorHelper(absl::Status status) { - discovery_mechanism_->parent()->OnError( - discovery_mechanism_->index(), - absl::StrCat("EDS watcher error for resource ", - discovery_mechanism_->GetEdsResourceName(), " (", - status.ToString(), ")")); - } - void OnResourceDoesNotExistHelper() { - discovery_mechanism_->parent()->OnResourceDoesNotExist( - discovery_mechanism_->index(), - absl::StrCat("EDS resource ", - discovery_mechanism_->GetEdsResourceName(), - " does not exist")); - } - RefCountedPtr discovery_mechanism_; - }; - - // This is necessary only because of a bug in msvc where nested class - // cannot access protected member in base class. - friend class EndpointWatcher; - - absl::string_view GetEdsResourceName() const { - auto& config = parent()->config_->discovery_mechanisms()[index()]; - if (!config.eds_service_name.empty()) return config.eds_service_name; - return config.cluster_name; - } - - // Note that this is not owned, so this pointer must never be dereferenced. - EndpointWatcher* watcher_ = nullptr; - }; - - class LogicalDNSDiscoveryMechanism : public DiscoveryMechanism { - public: - LogicalDNSDiscoveryMechanism( - RefCountedPtr xds_cluster_resolver_lb, - size_t index) - : DiscoveryMechanism(std::move(xds_cluster_resolver_lb), index) {} - void Start() override; - void Orphan() override; - Json::Array override_child_policy() override { - return { - Json::FromObject({ - {"pick_first", Json::FromObject({})}, - }), - }; - } - bool disable_reresolution() override { return false; }; - - private: - class ResolverResultHandler : public Resolver::ResultHandler { - public: - explicit ResolverResultHandler( - RefCountedPtr discovery_mechanism) - : discovery_mechanism_(std::move(discovery_mechanism)) {} - - ~ResolverResultHandler() override {} - - void ReportResult(Resolver::Result result) override; - - private: - RefCountedPtr discovery_mechanism_; - }; - - // This is necessary only because of a bug in msvc where nested class cannot - // access protected member in base class. - friend class ResolverResultHandler; - - absl::string_view GetDnsHostname() const { - auto& config = parent()->config_->discovery_mechanisms()[index()]; - return config.dns_hostname; - } - - OrphanablePtr resolver_; - }; - - struct DiscoveryMechanismEntry { - OrphanablePtr discovery_mechanism; - // Most recent update reported by the discovery mechanism. - std::shared_ptr latest_update; - // Last resolution note reported by the discovery mechanism, if any. - std::string resolution_note; - // State used to retain child policy names for priority policy. - std::vector priority_child_numbers; - size_t next_available_child_number = 0; - - const XdsClusterResolverLbConfig::DiscoveryMechanism& config() const; - - // Returns the child policy name for a given priority. - std::string GetChildPolicyName(size_t priority) const; - }; - - class Helper : public ParentOwningDelegatingChannelControlHelper< - XdsClusterResolverLb> { - public: - explicit Helper( - RefCountedPtr xds_cluster_resolver_policy) - : ParentOwningDelegatingChannelControlHelper( - std::move(xds_cluster_resolver_policy)) {} - - // This is a no-op, because we get the addresses from the xds - // client, which is a watch-based API. - // TODO(roth): Don't we need to propagate this for LOGICAL_DNS clusters? - void RequestReresolution() override {} - }; - - ~XdsClusterResolverLb() override; - - void ShutdownLocked() override; - - void OnEndpointChanged(size_t index, - std::shared_ptr update, - std::string resolution_note); - void OnError(size_t index, std::string resolution_note); - void OnResourceDoesNotExist(size_t index, std::string resolution_note); - - void MaybeDestroyChildPolicyLocked(); - - absl::Status UpdateChildPolicyLocked(); - OrphanablePtr CreateChildPolicyLocked( - const ChannelArgs& args); - ServerAddressList CreateChildPolicyAddressesLocked(); - std::string CreateChildPolicyResolutionNoteLocked(); - RefCountedPtr CreateChildPolicyConfigLocked(); - ChannelArgs CreateChildPolicyArgsLocked(const ChannelArgs& args_in); - - // The xds client and endpoint watcher. - RefCountedPtr xds_client_; - - // Current channel args and config from the resolver. - ChannelArgs args_; - RefCountedPtr config_; - - // Internal state. - bool shutting_down_ = false; - - // Vector of discovery mechansism entries in priority order. - std::vector discovery_mechanisms_; - - OrphanablePtr child_policy_; -}; - -// -// XdsClusterResolverLb::EdsDiscoveryMechanism -// - -void XdsClusterResolverLb::EdsDiscoveryMechanism::Start() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_cluster_resolver_trace)) { - gpr_log(GPR_INFO, - "[xds_cluster_resolver_lb %p] eds discovery mechanism %" PRIuPTR - ":%p starting xds watch for %s", - parent(), index(), this, std::string(GetEdsResourceName()).c_str()); - } - auto watcher = MakeRefCounted( - Ref(DEBUG_LOCATION, "EdsDiscoveryMechanism")); - watcher_ = watcher.get(); - XdsEndpointResourceType::StartWatch(parent()->xds_client_.get(), - GetEdsResourceName(), std::move(watcher)); -} - -void XdsClusterResolverLb::EdsDiscoveryMechanism::Orphan() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_cluster_resolver_trace)) { - gpr_log(GPR_INFO, - "[xds_cluster_resolver_lb %p] eds discovery mechanism %" PRIuPTR - ":%p cancelling xds watch for %s", - parent(), index(), this, std::string(GetEdsResourceName()).c_str()); - } - XdsEndpointResourceType::CancelWatch(parent()->xds_client_.get(), - GetEdsResourceName(), watcher_); - Unref(); -} - -// -// XdsClusterResolverLb::LogicalDNSDiscoveryMechanism -// - -void XdsClusterResolverLb::LogicalDNSDiscoveryMechanism::Start() { - std::string target; - ChannelArgs args = parent()->args_; - auto* fake_resolver_response_generator = - args.GetPointer( - GRPC_ARG_XDS_LOGICAL_DNS_CLUSTER_FAKE_RESOLVER_RESPONSE_GENERATOR); - if (fake_resolver_response_generator != nullptr) { - target = absl::StrCat("fake:", GetDnsHostname()); - args = args.SetObject(fake_resolver_response_generator->Ref()); - } else { - target = absl::StrCat("dns:", GetDnsHostname()); - } - resolver_ = CoreConfiguration::Get().resolver_registry().CreateResolver( - target.c_str(), args, parent()->interested_parties(), - parent()->work_serializer(), - std::make_unique( - Ref(DEBUG_LOCATION, "LogicalDNSDiscoveryMechanism"))); - if (resolver_ == nullptr) { - parent()->OnResourceDoesNotExist( - index(), - absl::StrCat("error creating DNS resolver for ", GetDnsHostname())); - return; - } - resolver_->StartLocked(); - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_cluster_resolver_trace)) { - gpr_log(GPR_INFO, - "[xds_cluster_resolver_lb %p] logical DNS discovery mechanism " - "%" PRIuPTR ":%p starting dns resolver %p", - parent(), index(), this, resolver_.get()); - } -} - -void XdsClusterResolverLb::LogicalDNSDiscoveryMechanism::Orphan() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_cluster_resolver_trace)) { - gpr_log( - GPR_INFO, - "[xds_cluster_resolver_lb %p] logical DNS discovery mechanism %" PRIuPTR - ":%p shutting down dns resolver %p", - parent(), index(), this, resolver_.get()); - } - resolver_.reset(); - Unref(); -} - -// -// XdsClusterResolverLb::LogicalDNSDiscoveryMechanism::ResolverResultHandler -// - -void XdsClusterResolverLb::LogicalDNSDiscoveryMechanism::ResolverResultHandler:: - ReportResult(Resolver::Result result) { - XdsClusterResolverLb* lb_policy = discovery_mechanism_->parent(); - size_t index = discovery_mechanism_->index(); - if (!result.addresses.ok()) { - if (result.resolution_note.empty()) { - result.resolution_note = absl::StrCat( - "DNS resolution failed for ", discovery_mechanism_->GetDnsHostname(), - " (", result.addresses.status().ToString(), ")"); - } - lb_policy->OnError(index, result.resolution_note); - return; - } - // Convert resolver result to EDS update. - auto update = std::make_shared(); - XdsEndpointResource::Priority::Locality locality; - locality.name = MakeRefCounted("", "", ""); - locality.lb_weight = 1; - locality.endpoints = std::move(*result.addresses); - XdsEndpointResource::Priority priority; - priority.localities.emplace(locality.name.get(), std::move(locality)); - update->priorities.emplace_back(std::move(priority)); - lb_policy->OnEndpointChanged(index, std::move(update), - std::move(result.resolution_note)); -} - -// -// XdsClusterResolverLb::DiscoveryMechanismEntry -// - -const XdsClusterResolverLbConfig::DiscoveryMechanism& -XdsClusterResolverLb::DiscoveryMechanismEntry::config() const { - return discovery_mechanism->parent() - ->config_->discovery_mechanisms()[discovery_mechanism->index()]; -} - -std::string XdsClusterResolverLb::DiscoveryMechanismEntry::GetChildPolicyName( - size_t priority) const { - return absl::StrCat("{cluster=", config().cluster_name, - ", child_number=", priority_child_numbers[priority], "}"); -} - -// -// XdsClusterResolverLb public methods -// - -XdsClusterResolverLb::XdsClusterResolverLb(RefCountedPtr xds_client, - Args args) - : LoadBalancingPolicy(std::move(args)), xds_client_(std::move(xds_client)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_cluster_resolver_trace)) { - gpr_log(GPR_INFO, "[xds_cluster_resolver_lb %p] created -- xds_client=%p", - this, xds_client_.get()); - } -} - -XdsClusterResolverLb::~XdsClusterResolverLb() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_cluster_resolver_trace)) { - gpr_log(GPR_INFO, - "[xds_cluster_resolver_lb %p] destroying xds_cluster_resolver LB " - "policy", - this); - } -} - -void XdsClusterResolverLb::ShutdownLocked() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_cluster_resolver_trace)) { - gpr_log(GPR_INFO, "[xds_cluster_resolver_lb %p] shutting down", this); - } - shutting_down_ = true; - MaybeDestroyChildPolicyLocked(); - discovery_mechanisms_.clear(); - xds_client_.reset(DEBUG_LOCATION, "XdsClusterResolverLb"); - args_ = ChannelArgs(); -} - -void XdsClusterResolverLb::MaybeDestroyChildPolicyLocked() { - if (child_policy_ != nullptr) { - grpc_pollset_set_del_pollset_set(child_policy_->interested_parties(), - interested_parties()); - child_policy_.reset(); - } -} - -absl::Status XdsClusterResolverLb::UpdateLocked(UpdateArgs args) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_cluster_resolver_trace)) { - gpr_log(GPR_INFO, "[xds_cluster_resolver_lb %p] Received update", this); - } - const bool is_initial_update = args_ == ChannelArgs(); - // Update config. - auto old_config = std::move(config_); - config_ = std::move(args.config); - // Update args. - args_ = std::move(args.args); - // Update child policy if needed. - absl::Status status; - if (child_policy_ != nullptr) status = UpdateChildPolicyLocked(); - // Create endpoint watcher if needed. - if (is_initial_update) { - for (const auto& config : config_->discovery_mechanisms()) { - DiscoveryMechanismEntry entry; - if (config.type == XdsClusterResolverLbConfig::DiscoveryMechanism:: - DiscoveryMechanismType::EDS) { - entry.discovery_mechanism = MakeOrphanable( - Ref(DEBUG_LOCATION, "EdsDiscoveryMechanism"), - discovery_mechanisms_.size()); - } else if (config.type == XdsClusterResolverLbConfig::DiscoveryMechanism:: - DiscoveryMechanismType::LOGICAL_DNS) { - entry.discovery_mechanism = - MakeOrphanable( - Ref(DEBUG_LOCATION, "LogicalDNSDiscoveryMechanism"), - discovery_mechanisms_.size()); - } else { - GPR_ASSERT(0); - } - discovery_mechanisms_.push_back(std::move(entry)); - } - // Call start() on all discovery mechanisms after creation. - for (const auto& discovery_mechanism : discovery_mechanisms_) { - discovery_mechanism.discovery_mechanism->Start(); - } - } - return status; -} - -void XdsClusterResolverLb::ResetBackoffLocked() { - if (child_policy_ != nullptr) { - child_policy_->ResetBackoffLocked(); - } -} - -void XdsClusterResolverLb::ExitIdleLocked() { - if (child_policy_ != nullptr) child_policy_->ExitIdleLocked(); -} - -// We need at least one priority for each discovery mechanism, just so that we -// have a child in which to create the xds_cluster_impl policy. This ensures -// that we properly handle the case of a discovery mechanism dropping 100% of -// calls, the OnError() case, and the OnResourceDoesNotExist() case. -const XdsEndpointResource::PriorityList& GetUpdatePriorityList( - const XdsEndpointResource& update) { - static const NoDestruct - kPriorityListWithEmptyPriority(1); - if (update.priorities.empty()) return *kPriorityListWithEmptyPriority; - return update.priorities; -} - -void XdsClusterResolverLb::OnEndpointChanged( - size_t index, std::shared_ptr update, - std::string resolution_note) { - if (shutting_down_) return; - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_cluster_resolver_trace)) { - gpr_log(GPR_INFO, - "[xds_cluster_resolver_lb %p] Received update from xds client" - " for discovery mechanism %" PRIuPTR " (resolution_note=\"%s\")", - this, index, resolution_note.c_str()); - } - DiscoveryMechanismEntry& discovery_entry = discovery_mechanisms_[index]; - const XdsEndpointResource::PriorityList& priority_list = - GetUpdatePriorityList(*update); - // Update priority_child_numbers, reusing old child numbers in an - // intelligent way to avoid unnecessary churn. - // First, build some maps from locality to child number and the reverse - // from the old data in the entry's update and priority_child_numbers. - std::map - locality_child_map; - std::map> - child_locality_map; - if (discovery_entry.latest_update != nullptr) { - const auto& prev_priority_list = - GetUpdatePriorityList(*discovery_entry.latest_update); - for (size_t priority = 0; priority < prev_priority_list.size(); - ++priority) { - size_t child_number = discovery_entry.priority_child_numbers[priority]; - const auto& localities = prev_priority_list[priority].localities; - for (const auto& p : localities) { - XdsLocalityName* locality_name = p.first; - locality_child_map[locality_name] = child_number; - child_locality_map[child_number].insert(locality_name); - } - } - } - // Construct new list of children. - std::vector priority_child_numbers; - for (size_t priority = 0; priority < priority_list.size(); ++priority) { - const auto& localities = priority_list[priority].localities; - absl::optional child_number; - // If one of the localities in this priority already existed, reuse its - // child number. - for (const auto& p : localities) { - XdsLocalityName* locality_name = p.first; - if (!child_number.has_value()) { - auto it = locality_child_map.find(locality_name); - if (it != locality_child_map.end()) { - child_number = it->second; - locality_child_map.erase(it); - // Remove localities that *used* to be in this child number, so - // that we don't incorrectly reuse this child number for a - // subsequent priority. - for (XdsLocalityName* old_locality : - child_locality_map[*child_number]) { - locality_child_map.erase(old_locality); - } - } - } else { - // Remove all localities that are now in this child number, so - // that we don't accidentally reuse this child number for a - // subsequent priority. - locality_child_map.erase(locality_name); - } - } - // If we didn't find an existing child number, assign a new one. - if (!child_number.has_value()) { - for (child_number = discovery_entry.next_available_child_number; - child_locality_map.find(*child_number) != child_locality_map.end(); - ++(*child_number)) { - } - discovery_entry.next_available_child_number = *child_number + 1; - // Add entry so we know that the child number is in use. - // (Don't need to add the list of localities, since we won't use them.) - child_locality_map[*child_number]; - } - priority_child_numbers.push_back(*child_number); - } - // Save update. - discovery_entry.latest_update = std::move(update); - discovery_entry.resolution_note = std::move(resolution_note); - discovery_entry.priority_child_numbers = std::move(priority_child_numbers); - // If any discovery mechanism has not received its first update, - // wait until that happens before creating the child policy. - // TODO(roth): If this becomes problematic in the future (e.g., a - // secondary discovery mechanism delaying us from starting up at all), - // we can consider some sort of optimization whereby we can create the - // priority policy with only a subset of its children. But we need to - // make sure not to get into a situation where the priority policy - // will put the channel into TRANSIENT_FAILURE instead of CONNECTING - // while we're still waiting for the other discovery mechanism(s). - for (DiscoveryMechanismEntry& mechanism : discovery_mechanisms_) { - if (mechanism.latest_update == nullptr) return; - } - // Update child policy. - // TODO(roth): If the child policy reports an error with the update, - // we need to propagate that error back to the resolver somehow. - (void)UpdateChildPolicyLocked(); -} - -void XdsClusterResolverLb::OnError(size_t index, std::string resolution_note) { - gpr_log(GPR_ERROR, - "[xds_cluster_resolver_lb %p] discovery mechanism %" PRIuPTR - " reported error: %s", - this, index, resolution_note.c_str()); - if (shutting_down_) return; - if (discovery_mechanisms_[index].latest_update == nullptr) { - // Call OnEndpointChanged() with an empty update just like - // OnResourceDoesNotExist(). - OnEndpointChanged(index, std::make_shared(), - std::move(resolution_note)); - } -} - -void XdsClusterResolverLb::OnResourceDoesNotExist(size_t index, - std::string resolution_note) { - gpr_log(GPR_ERROR, - "[xds_cluster_resolver_lb %p] discovery mechanism %" PRIuPTR - " resource does not exist: %s", - this, index, resolution_note.c_str()); - if (shutting_down_) return; - // Call OnEndpointChanged() with an empty update. - OnEndpointChanged(index, std::make_shared(), - std::move(resolution_note)); -} - -// -// child policy-related methods -// - -ServerAddressList XdsClusterResolverLb::CreateChildPolicyAddressesLocked() { - ServerAddressList addresses; - for (const auto& discovery_entry : discovery_mechanisms_) { - const auto& priority_list = - GetUpdatePriorityList(*discovery_entry.latest_update); - for (size_t priority = 0; priority < priority_list.size(); ++priority) { - const auto& priority_entry = priority_list[priority]; - std::string priority_child_name = - discovery_entry.GetChildPolicyName(priority); - for (const auto& p : priority_entry.localities) { - const auto& locality_name = p.first; - const auto& locality = p.second; - std::vector hierarchical_path = { - RefCountedStringValue(priority_child_name), - RefCountedStringValue(locality_name->AsHumanReadableString())}; - auto hierarchical_path_attr = - MakeRefCounted(std::move(hierarchical_path)); - for (const auto& endpoint : locality.endpoints) { - uint32_t endpoint_weight = - locality.lb_weight * - endpoint.args().GetInt(GRPC_ARG_ADDRESS_WEIGHT).value_or(1); - addresses.emplace_back( - endpoint.address(), - endpoint.args() - .SetObject(hierarchical_path_attr) - .Set(GRPC_ARG_ADDRESS_WEIGHT, endpoint_weight) - .SetObject(locality_name->Ref()) - .Set(GRPC_ARG_XDS_LOCALITY_WEIGHT, locality.lb_weight)); - } - } - } - } - return addresses; -} - -std::string XdsClusterResolverLb::CreateChildPolicyResolutionNoteLocked() { - std::vector resolution_notes; - for (const auto& discovery_entry : discovery_mechanisms_) { - if (!discovery_entry.resolution_note.empty()) { - resolution_notes.push_back(discovery_entry.resolution_note); - } - } - return absl::StrJoin(resolution_notes, "; "); -} - -RefCountedPtr -XdsClusterResolverLb::CreateChildPolicyConfigLocked() { - Json::Object priority_children; - Json::Array priority_priorities; - for (const auto& discovery_entry : discovery_mechanisms_) { - const auto& priority_list = - GetUpdatePriorityList(*discovery_entry.latest_update); - const auto& discovery_config = discovery_entry.config(); - for (size_t priority = 0; priority < priority_list.size(); ++priority) { - // Determine what xDS LB policy to use. - Json child_policy; - if (!discovery_entry.discovery_mechanism->override_child_policy() - .empty()) { - child_policy = Json::FromArray( - discovery_entry.discovery_mechanism->override_child_policy()); - } else { - child_policy = config_->xds_lb_policy(); - } - // Wrap the xDS LB policy in the xds_override_host policy. - Json::Object xds_override_host_lb_config = { - {"childPolicy", std::move(child_policy)}, - }; - if (!discovery_config.override_host_statuses.empty()) { - xds_override_host_lb_config["overrideHostStatus"] = - Json::FromArray(discovery_config.override_host_statuses); - } - Json::Array xds_override_host_config = {Json::FromObject({ - {"xds_override_host_experimental", - Json::FromObject(std::move(xds_override_host_lb_config))}, - })}; - // Wrap it in the xds_cluster_impl policy. - Json::Array drop_categories; - if (discovery_entry.latest_update->drop_config != nullptr) { - for (const auto& category : - discovery_entry.latest_update->drop_config->drop_category_list()) { - drop_categories.push_back(Json::FromObject({ - {"category", Json::FromString(category.name)}, - {"requests_per_million", - Json::FromNumber(category.parts_per_million)}, - })); - } - } - Json::Object xds_cluster_impl_config = { - {"clusterName", Json::FromString(discovery_config.cluster_name)}, - {"childPolicy", Json::FromArray(std::move(xds_override_host_config))}, - {"dropCategories", Json::FromArray(std::move(drop_categories))}, - {"maxConcurrentRequests", - Json::FromNumber(discovery_config.max_concurrent_requests)}, - }; - if (!discovery_config.eds_service_name.empty()) { - xds_cluster_impl_config["edsServiceName"] = - Json::FromString(discovery_config.eds_service_name); - } - if (discovery_config.lrs_load_reporting_server.has_value()) { - xds_cluster_impl_config["lrsLoadReportingServer"] = - discovery_config.lrs_load_reporting_server->ToJson(); - } - // Wrap it in the outlier_detection policy. - Json::Object outlier_detection_config; - if (discovery_entry.config().outlier_detection_lb_config.has_value()) { - outlier_detection_config = - discovery_entry.config().outlier_detection_lb_config.value(); - } - outlier_detection_config["childPolicy"] = - Json::FromArray({Json::FromObject({ - {"xds_cluster_impl_experimental", - Json::FromObject(std::move(xds_cluster_impl_config))}, - })}); - Json locality_picking_policy = Json::FromArray({Json::FromObject({ - {"outlier_detection_experimental", - Json::FromObject(std::move(outlier_detection_config))}, - })}); - // Add priority entry, with the appropriate child name. - std::string child_name = discovery_entry.GetChildPolicyName(priority); - priority_priorities.emplace_back(Json::FromString(child_name)); - Json::Object child_config = { - {"config", std::move(locality_picking_policy)}, - }; - if (discovery_entry.discovery_mechanism->disable_reresolution()) { - child_config["ignore_reresolution_requests"] = Json::FromBool(true); - } - priority_children[child_name] = Json::FromObject(std::move(child_config)); - } - } - Json json = Json::FromArray({Json::FromObject({ - {"priority_experimental", - Json::FromObject({ - {"children", Json::FromObject(std::move(priority_children))}, - {"priorities", Json::FromArray(std::move(priority_priorities))}, - })}, - })}); - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_cluster_resolver_trace)) { - gpr_log( - GPR_INFO, - "[xds_cluster_resolver_lb %p] generated config for child policy: %s", - this, JsonDump(json, /*indent=*/1).c_str()); - } - auto config = - CoreConfiguration::Get().lb_policy_registry().ParseLoadBalancingConfig( - json); - if (!config.ok()) { - // This should never happen, but if it does, we basically have no - // way to fix it, so we put the channel in TRANSIENT_FAILURE. - gpr_log(GPR_ERROR, - "[xds_cluster_resolver_lb %p] error parsing generated child policy " - "config -- " - "will put channel in TRANSIENT_FAILURE: %s", - this, config.status().ToString().c_str()); - absl::Status status = absl::InternalError( - "xds_cluster_resolver LB policy: error parsing generated child policy " - "config"); - channel_control_helper()->UpdateState( - GRPC_CHANNEL_TRANSIENT_FAILURE, status, - MakeRefCounted(status)); - return nullptr; - } - return std::move(*config); -} - -absl::Status XdsClusterResolverLb::UpdateChildPolicyLocked() { - if (shutting_down_) return absl::OkStatus(); - UpdateArgs update_args; - update_args.config = CreateChildPolicyConfigLocked(); - if (update_args.config == nullptr) return absl::OkStatus(); - update_args.addresses = CreateChildPolicyAddressesLocked(); - update_args.resolution_note = CreateChildPolicyResolutionNoteLocked(); - update_args.args = CreateChildPolicyArgsLocked(args_); - if (child_policy_ == nullptr) { - child_policy_ = CreateChildPolicyLocked(update_args.args); - } - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_cluster_resolver_trace)) { - gpr_log(GPR_INFO, "[xds_cluster_resolver_lb %p] Updating child policy %p", - this, child_policy_.get()); - } - return child_policy_->UpdateLocked(std::move(update_args)); -} - -ChannelArgs XdsClusterResolverLb::CreateChildPolicyArgsLocked( - const ChannelArgs& args) { - // Inhibit client-side health checking, since the balancer does this - // for us. - return args.Set(GRPC_ARG_INHIBIT_HEALTH_CHECKING, 1); -} - -OrphanablePtr -XdsClusterResolverLb::CreateChildPolicyLocked(const ChannelArgs& args) { - LoadBalancingPolicy::Args lb_policy_args; - lb_policy_args.work_serializer = work_serializer(); - lb_policy_args.args = args; - lb_policy_args.channel_control_helper = - std::make_unique(Ref(DEBUG_LOCATION, "Helper")); - OrphanablePtr lb_policy = - CoreConfiguration::Get().lb_policy_registry().CreateLoadBalancingPolicy( - "priority_experimental", std::move(lb_policy_args)); - if (GPR_UNLIKELY(lb_policy == nullptr)) { - gpr_log(GPR_ERROR, - "[xds_cluster_resolver_lb %p] failure creating child policy", this); - return nullptr; - } - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_cluster_resolver_trace)) { - gpr_log(GPR_INFO, - "[xds_cluster_resolver_lb %p]: Created new child policy %p", this, - lb_policy.get()); - } - // Add our interested_parties pollset_set to that of the newly created - // child policy. This will make the child policy progress upon activity on - // this policy, which in turn is tied to the application's call. - grpc_pollset_set_add_pollset_set(lb_policy->interested_parties(), - interested_parties()); - return lb_policy; -} - -// -// factory -// - -const JsonLoaderInterface* -XdsClusterResolverLbConfig::DiscoveryMechanism::JsonLoader(const JsonArgs&) { - static const auto* loader = - JsonObjectLoader() - // Note: Several fields requires custom processing, - // so they are handled in JsonPostLoad() instead. - .Field("clusterName", &DiscoveryMechanism::cluster_name) - .OptionalField("lrsLoadReportingServer", - &DiscoveryMechanism::lrs_load_reporting_server) - .OptionalField("max_concurrent_requests", - &DiscoveryMechanism::max_concurrent_requests) - .OptionalField("outlierDetection", - &DiscoveryMechanism::outlier_detection_lb_config) - .OptionalField("overrideHostStatus", - &DiscoveryMechanism::override_host_statuses) - .Finish(); - return loader; -} - -void XdsClusterResolverLbConfig::DiscoveryMechanism::JsonPostLoad( - const Json& json, const JsonArgs& args, ValidationErrors* errors) { - // Parse "type". - { - auto type_field = - LoadJsonObjectField(json.object(), args, "type", errors); - if (type_field.has_value()) { - if (*type_field == "EDS") { - type = DiscoveryMechanismType::EDS; - } else if (*type_field == "LOGICAL_DNS") { - type = DiscoveryMechanismType::LOGICAL_DNS; - } else { - ValidationErrors::ScopedField field(errors, ".type"); - errors->AddError(absl::StrCat("unknown type \"", *type_field, "\"")); - } - } - } - // Parse "edsServiceName" if type is EDS. - if (type == DiscoveryMechanismType::EDS) { - auto value = LoadJsonObjectField(json.object(), args, - "edsServiceName", errors, - /*required=*/false); - if (value.has_value()) eds_service_name = std::move(*value); - } - // Parse "dnsHostname" if type is LOGICAL_DNS. - if (type == DiscoveryMechanismType::LOGICAL_DNS) { - auto value = LoadJsonObjectField(json.object(), args, - "dnsHostname", errors); - if (value.has_value()) dns_hostname = std::move(*value); - } -} - -const JsonLoaderInterface* XdsClusterResolverLbConfig::JsonLoader( - const JsonArgs&) { - static const auto* loader = - JsonObjectLoader() - // Note: The "xdsLbPolicy" field requires custom processing, - // so it's handled in JsonPostLoad() instead. - .Field("discoveryMechanisms", - &XdsClusterResolverLbConfig::discovery_mechanisms_) - .Finish(); - return loader; -} - -void XdsClusterResolverLbConfig::JsonPostLoad(const Json& json, const JsonArgs&, - ValidationErrors* errors) { - // Validate discoveryMechanisms. - { - ValidationErrors::ScopedField field(errors, ".discoveryMechanisms"); - if (!errors->FieldHasErrors() && discovery_mechanisms_.empty()) { - errors->AddError("must be non-empty"); - } - } - // Parse "xdsLbPolicy". - { - ValidationErrors::ScopedField field(errors, ".xdsLbPolicy"); - auto it = json.object().find("xdsLbPolicy"); - if (it == json.object().end()) { - errors->AddError("field not present"); - } else { - auto lb_config = CoreConfiguration::Get() - .lb_policy_registry() - .ParseLoadBalancingConfig(it->second); - if (!lb_config.ok()) errors->AddError(lb_config.status().message()); - xds_lb_policy_ = it->second; - } - } -} - -class XdsClusterResolverLbFactory : public LoadBalancingPolicyFactory { - public: - OrphanablePtr CreateLoadBalancingPolicy( - LoadBalancingPolicy::Args args) const override { - auto xds_client = args.args.GetObjectRef( - DEBUG_LOCATION, "XdsClusterResolverLbFactory"); - if (xds_client == nullptr) { - gpr_log(GPR_ERROR, - "XdsClient not present in channel args -- cannot instantiate " - "xds_cluster_resolver LB policy"); - return nullptr; - } - return MakeOrphanable(std::move(xds_client), - std::move(args)); - } - - absl::string_view name() const override { return kXdsClusterResolver; } - - absl::StatusOr> - ParseLoadBalancingConfig(const Json& json) const override { - return LoadFromJson>( - json, JsonArgs(), - "errors validating xds_cluster_resolver LB policy config"); - } - - private: - class XdsClusterResolverChildHandler : public ChildPolicyHandler { - public: - XdsClusterResolverChildHandler(RefCountedPtr xds_client, - Args args) - : ChildPolicyHandler(std::move(args), - &grpc_lb_xds_cluster_resolver_trace), - xds_client_(std::move(xds_client)) {} - - ~XdsClusterResolverChildHandler() override { - xds_client_.reset(DEBUG_LOCATION, "XdsClusterResolverChildHandler"); - } - - bool ConfigChangeRequiresNewPolicyInstance( - LoadBalancingPolicy::Config* old_config, - LoadBalancingPolicy::Config* new_config) const override { - GPR_ASSERT(old_config->name() == kXdsClusterResolver); - GPR_ASSERT(new_config->name() == kXdsClusterResolver); - XdsClusterResolverLbConfig* old_xds_cluster_resolver_config = - static_cast(old_config); - XdsClusterResolverLbConfig* new_xds_cluster_resolver_config = - static_cast(new_config); - if (old_xds_cluster_resolver_config->discovery_mechanisms().size() != - new_xds_cluster_resolver_config->discovery_mechanisms().size()) { - return true; - } - for (size_t i = 0; - i < old_xds_cluster_resolver_config->discovery_mechanisms().size(); - ++i) { - auto& old_discovery_mechanism = - old_xds_cluster_resolver_config->discovery_mechanisms()[i]; - auto& new_discovery_mechanism = - new_xds_cluster_resolver_config->discovery_mechanisms()[i]; - if (old_discovery_mechanism.type != new_discovery_mechanism.type || - old_discovery_mechanism.cluster_name != - new_discovery_mechanism.cluster_name || - old_discovery_mechanism.eds_service_name != - new_discovery_mechanism.eds_service_name || - old_discovery_mechanism.dns_hostname != - new_discovery_mechanism.dns_hostname || - !(old_discovery_mechanism.lrs_load_reporting_server == - new_discovery_mechanism.lrs_load_reporting_server)) { - return true; - } - } - return false; - } - - OrphanablePtr CreateLoadBalancingPolicy( - absl::string_view /*name*/, - LoadBalancingPolicy::Args args) const override { - return MakeOrphanable( - xds_client_->Ref(DEBUG_LOCATION, "XdsClusterResolverLb"), - std::move(args)); - } - - private: - RefCountedPtr xds_client_; - }; -}; - -} // namespace - -void RegisterXdsClusterResolverLbPolicy(CoreConfiguration::Builder* builder) { - builder->lb_policy_registry()->RegisterLoadBalancingPolicyFactory( - std::make_unique()); -} - -} // namespace grpc_core diff --git a/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc b/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc deleted file mode 100644 index 8f1cab11dcb..00000000000 --- a/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +++ /dev/null @@ -1,832 +0,0 @@ -// -// Copyright 2022 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#include - -#include "src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h" - -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "absl/base/thread_annotations.h" -#include "absl/status/status.h" -#include "absl/status/statusor.h" -#include "absl/strings/str_cat.h" -#include "absl/strings/string_view.h" -#include "absl/types/optional.h" -#include "absl/types/variant.h" - -#include -#include - -#include "src/core/ext/filters/client_channel/client_channel_internal.h" -#include "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h" -#include "src/core/ext/filters/stateful_session/stateful_session_filter.h" -#include "src/core/ext/xds/xds_health_status.h" -#include "src/core/lib/address_utils/sockaddr_utils.h" -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/config/core_configuration.h" -#include "src/core/lib/debug/trace.h" -#include "src/core/lib/experiments/experiments.h" -#include "src/core/lib/gprpp/debug_location.h" -#include "src/core/lib/gprpp/match.h" -#include "src/core/lib/gprpp/orphanable.h" -#include "src/core/lib/gprpp/ref_counted_ptr.h" -#include "src/core/lib/gprpp/sync.h" -#include "src/core/lib/gprpp/validation_errors.h" -#include "src/core/lib/gprpp/work_serializer.h" -#include "src/core/lib/iomgr/closure.h" -#include "src/core/lib/iomgr/error.h" -#include "src/core/lib/iomgr/exec_ctx.h" -#include "src/core/lib/iomgr/iomgr_fwd.h" -#include "src/core/lib/iomgr/pollset_set.h" -#include "src/core/lib/json/json.h" -#include "src/core/lib/json/json_args.h" -#include "src/core/lib/json/json_object_loader.h" -#include "src/core/lib/load_balancing/delegating_helper.h" -#include "src/core/lib/load_balancing/lb_policy.h" -#include "src/core/lib/load_balancing/lb_policy_factory.h" -#include "src/core/lib/load_balancing/lb_policy_registry.h" -#include "src/core/lib/load_balancing/subchannel_interface.h" -#include "src/core/lib/resolver/server_address.h" -#include "src/core/lib/transport/connectivity_state.h" - -namespace grpc_core { -TraceFlag grpc_lb_xds_override_host_trace(false, "xds_override_host_lb"); - -namespace { -template -struct PtrLessThan { - using is_transparent = void; - - bool operator()(const std::unique_ptr& v1, - const std::unique_ptr& v2) const { - return v1 < v2; - } - bool operator()(const Value* v1, const Value* v2) const { return v1 < v2; } - bool operator()(const Value* v1, const std::unique_ptr& v2) const { - return v1 < v2.get(); - } - bool operator()(const std::unique_ptr& v1, const Value* v2) const { - return v1.get() < v2; - } -}; - -XdsHealthStatus GetAddressHealthStatus(const ServerAddress& address) { - return XdsHealthStatus(static_cast( - address.args() - .GetInt(GRPC_ARG_XDS_HEALTH_STATUS) - .value_or(XdsHealthStatus::HealthStatus::kUnknown))); -} - -// -// xds_override_host LB policy -// -class XdsOverrideHostLb : public LoadBalancingPolicy { - public: - explicit XdsOverrideHostLb(Args args); - - absl::string_view name() const override { - return XdsOverrideHostLbConfig::Name(); - } - - absl::Status UpdateLocked(UpdateArgs args) override; - void ExitIdleLocked() override; - void ResetBackoffLocked() override; - - private: - class SubchannelWrapper : public DelegatingSubchannel { - public: - SubchannelWrapper(RefCountedPtr subchannel, - RefCountedPtr policy, - absl::string_view key); - - ~SubchannelWrapper() override; - - void WatchConnectivityState( - std::unique_ptr watcher) override; - - void CancelConnectivityStateWatch( - ConnectivityStateWatcherInterface* watcher) override; - - grpc_connectivity_state connectivity_state() { - return connectivity_state_.load(); - } - - XdsOverrideHostLb* policy() { return policy_.get(); } - - private: - class ConnectivityStateWatcher : public ConnectivityStateWatcherInterface { - public: - explicit ConnectivityStateWatcher( - WeakRefCountedPtr subchannel) - : subchannel_(std::move(subchannel)) {} - - void OnConnectivityStateChange(grpc_connectivity_state state, - absl::Status status) override; - - grpc_pollset_set* interested_parties() override; - - private: - WeakRefCountedPtr subchannel_; - }; - - void Orphan() override; - - void UpdateConnectivityState(grpc_connectivity_state state, - absl::Status status); - - ConnectivityStateWatcher* watcher_; - absl::optional key_; - RefCountedPtr policy_; - std::set, - PtrLessThan> - watchers_; - std::atomic connectivity_state_ = { - GRPC_CHANNEL_IDLE}; - }; - - // A picker that wraps the picker from the child for cases when cookie is - // present. - class Picker : public SubchannelPicker { - public: - Picker(RefCountedPtr xds_override_host_lb, - RefCountedPtr picker, - XdsHealthStatusSet override_host_health_status_set); - - PickResult Pick(PickArgs args) override; - - private: - class SubchannelConnectionRequester { - public: - explicit SubchannelConnectionRequester( - RefCountedPtr subchannel) - : subchannel_(std::move(subchannel)) { - GRPC_CLOSURE_INIT(&closure_, RunInExecCtx, this, nullptr); - // Hop into ExecCtx, so that we're not holding the data plane mutex - // while we run control-plane code. - ExecCtx::Run(DEBUG_LOCATION, &closure_, absl::OkStatus()); - } - - private: - static void RunInExecCtx(void* arg, grpc_error_handle /*error*/) { - auto* self = static_cast(arg); - self->subchannel_->policy()->work_serializer()->Run( - [self]() { - self->subchannel_->RequestConnection(); - delete self; - }, - DEBUG_LOCATION); - } - - RefCountedPtr subchannel_; - grpc_closure closure_; - }; - - absl::optional PickOverridenHost( - absl::string_view override_host); - - RefCountedPtr policy_; - RefCountedPtr picker_; - XdsHealthStatusSet override_host_health_status_set_; - }; - - class Helper - : public ParentOwningDelegatingChannelControlHelper { - public: - explicit Helper(RefCountedPtr xds_override_host_policy) - : ParentOwningDelegatingChannelControlHelper( - std::move(xds_override_host_policy)) {} - - RefCountedPtr CreateSubchannel( - ServerAddress address, const ChannelArgs& args) override; - void UpdateState(grpc_connectivity_state state, const absl::Status& status, - RefCountedPtr picker) override; - }; - - class SubchannelEntry { - public: - explicit SubchannelEntry(XdsHealthStatus eds_health_status) - : eds_health_status_(eds_health_status) {} - - void SetSubchannel(SubchannelWrapper* subchannel) { - if (eds_health_status_.status() == XdsHealthStatus::kDraining) { - subchannel_ = subchannel->Ref(); - } else { - subchannel_ = subchannel; - } - } - - void UnsetSubchannel() { subchannel_ = nullptr; } - - SubchannelWrapper* GetSubchannel() const { - return Match( - subchannel_, - [](XdsOverrideHostLb::SubchannelWrapper* subchannel) { - return subchannel; - }, - [](RefCountedPtr subchannel) { - return subchannel.get(); - }); - } - - void SetEdsHealthStatus(XdsHealthStatus eds_health_status) { - eds_health_status_ = eds_health_status; - auto subchannel = GetSubchannel(); - if (subchannel == nullptr) { - return; - } - if (eds_health_status_.status() == XdsHealthStatus::kDraining) { - subchannel_ = subchannel->Ref(); - } else { - subchannel_ = subchannel; - } - } - - XdsHealthStatus eds_health_status() const { return eds_health_status_; } - - private: - absl::variant> - subchannel_; - XdsHealthStatus eds_health_status_; - }; - - ~XdsOverrideHostLb() override; - - void ShutdownLocked() override; - - OrphanablePtr CreateChildPolicyLocked( - const ChannelArgs& args); - - void MaybeUpdatePickerLocked(); - - absl::StatusOr UpdateAddressMap( - absl::StatusOr addresses); - - RefCountedPtr AdoptSubchannel( - ServerAddress address, RefCountedPtr subchannel); - - void UnsetSubchannel(absl::string_view key, SubchannelWrapper* subchannel); - - RefCountedPtr GetSubchannelByAddress( - absl::string_view address, XdsHealthStatusSet overriden_health_statuses); - - void OnSubchannelConnectivityStateChange(absl::string_view subchannel_key) - ABSL_NO_THREAD_SAFETY_ANALYSIS; // Called from within the worker - // serializer and does not require - // additional synchronization - - // Current config from the resolver. - RefCountedPtr config_; - - // Internal state. - bool shutting_down_ = false; - - OrphanablePtr child_policy_; - - // Latest state and picker reported by the child policy. - grpc_connectivity_state state_ = GRPC_CHANNEL_CONNECTING; - absl::Status status_; - RefCountedPtr picker_; - Mutex subchannel_map_mu_; - std::map> subchannel_map_ - ABSL_GUARDED_BY(subchannel_map_mu_); -}; - -// -// XdsOverrideHostLb::Picker -// - -XdsOverrideHostLb::Picker::Picker( - RefCountedPtr xds_override_host_lb, - RefCountedPtr picker, - XdsHealthStatusSet override_host_health_status_set) - : policy_(std::move(xds_override_host_lb)), - picker_(std::move(picker)), - override_host_health_status_set_(override_host_health_status_set) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, "[xds_override_host_lb %p] constructed new picker %p", - policy_.get(), this); - } -} - -absl::optional -XdsOverrideHostLb::Picker::PickOverridenHost(absl::string_view override_host) { - if (override_host.length() == 0) { - return absl::nullopt; - } - auto subchannel = policy_->GetSubchannelByAddress( - override_host, override_host_health_status_set_); - if (subchannel == nullptr) { - return absl::nullopt; - } - auto connectivity_state = subchannel->connectivity_state(); - if (connectivity_state == GRPC_CHANNEL_READY) { - return PickResult::Complete(subchannel->wrapped_subchannel()); - } else if (connectivity_state == GRPC_CHANNEL_CONNECTING) { - return PickResult::Queue(); - } else if (connectivity_state == GRPC_CHANNEL_IDLE) { - // Deleted after the connection is requested - new SubchannelConnectionRequester(std::move(subchannel)); - return PickResult::Queue(); - } - return absl::nullopt; -} - -LoadBalancingPolicy::PickResult XdsOverrideHostLb::Picker::Pick( - LoadBalancingPolicy::PickArgs args) { - auto* call_state = static_cast(args.call_state); - auto* override_host = static_cast( - call_state->GetCallAttribute(XdsOverrideHostAttribute::TypeName())); - auto overridden_host_pick = - PickOverridenHost(override_host != nullptr ? override_host->host_name() - : absl::string_view()); - if (overridden_host_pick.has_value()) { - return std::move(*overridden_host_pick); - } - if (picker_ == nullptr) { // Should never happen. - return PickResult::Fail(absl::InternalError( - "xds_override_host picker not given any child picker")); - } - auto result = picker_->Pick(args); - auto complete_pick = absl::get_if(&result.result); - if (complete_pick != nullptr) { - complete_pick->subchannel = - static_cast(complete_pick->subchannel.get()) - ->wrapped_subchannel(); - } - return result; -} - -// -// XdsOverrideHostLb -// - -XdsOverrideHostLb::XdsOverrideHostLb(Args args) - : LoadBalancingPolicy(std::move(args)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, "[xds_override_host_lb %p] created", this); - } -} - -XdsOverrideHostLb::~XdsOverrideHostLb() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, - "[xds_override_host_lb %p] destroying xds_override_host LB policy", - this); - } -} - -void XdsOverrideHostLb::ShutdownLocked() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, "[xds_override_host_lb %p] shutting down", this); - } - shutting_down_ = true; - { - MutexLock lock(&subchannel_map_mu_); - subchannel_map_.clear(); - } - // Remove the child policy's interested_parties pollset_set from the - // xDS policy. - if (child_policy_ != nullptr) { - grpc_pollset_set_del_pollset_set(child_policy_->interested_parties(), - interested_parties()); - child_policy_.reset(); - } - // Drop our ref to the child's picker, in case it's holding a ref to - // the child. - picker_.reset(); -} - -void XdsOverrideHostLb::ExitIdleLocked() { - if (child_policy_ != nullptr) child_policy_->ExitIdleLocked(); -} - -void XdsOverrideHostLb::ResetBackoffLocked() { - if (child_policy_ != nullptr) child_policy_->ResetBackoffLocked(); -} - -absl::Status XdsOverrideHostLb::UpdateLocked(UpdateArgs args) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, - "[xds_override_host_lb %p] Received update with %" PRIuPTR - " addresses", - this, args.addresses.ok() ? args.addresses->size() : 0); - } - auto old_config = std::move(config_); - // Update config. - config_ = std::move(args.config); - if (config_ == nullptr) { - return absl::InvalidArgumentError("Missing policy config"); - } - // Create child policy if needed. - if (child_policy_ == nullptr) { - child_policy_ = CreateChildPolicyLocked(args.args); - } - // Update child policy. - UpdateArgs update_args; - update_args.addresses = UpdateAddressMap(std::move(args.addresses)); - update_args.resolution_note = std::move(args.resolution_note); - update_args.config = config_->child_config(); - update_args.args = std::move(args.args); - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, - "[xds_override_host_lb %p] Updating child policy handler %p", this, - child_policy_.get()); - } - return child_policy_->UpdateLocked(std::move(update_args)); -} - -void XdsOverrideHostLb::MaybeUpdatePickerLocked() { - if (picker_ != nullptr) { - auto xds_override_host_picker = MakeRefCounted( - Ref(), picker_, config_->override_host_status_set()); - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, - "[xds_override_host_lb %p] updating connectivity: state=%s " - "status=(%s) picker=%p", - this, ConnectivityStateName(state_), status_.ToString().c_str(), - xds_override_host_picker.get()); - } - channel_control_helper()->UpdateState(state_, status_, - std::move(xds_override_host_picker)); - } -} - -OrphanablePtr XdsOverrideHostLb::CreateChildPolicyLocked( - const ChannelArgs& args) { - LoadBalancingPolicy::Args lb_policy_args; - lb_policy_args.work_serializer = work_serializer(); - lb_policy_args.args = args; - lb_policy_args.channel_control_helper = - std::make_unique(Ref(DEBUG_LOCATION, "Helper")); - OrphanablePtr lb_policy = - MakeOrphanable(std::move(lb_policy_args), - &grpc_lb_xds_override_host_trace); - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, - "[xds_override_host_lb %p] Created new child policy handler %p", - this, lb_policy.get()); - } - // Add our interested_parties pollset_set to that of the newly created - // child policy. This will make the child policy progress upon activity on - // this policy, which in turn is tied to the application's call. - grpc_pollset_set_add_pollset_set(lb_policy->interested_parties(), - interested_parties()); - return lb_policy; -} - -absl::StatusOr XdsOverrideHostLb::UpdateAddressMap( - absl::StatusOr addresses) { - if (!addresses.ok()) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, "[xds_override_host_lb %p] address error: %s", this, - addresses.status().ToString().c_str()); - } - return addresses; - } - ServerAddressList return_value; - std::map addresses_for_map; - for (const auto& address : *addresses) { - XdsHealthStatus status = GetAddressHealthStatus(address); - if (status.status() != XdsHealthStatus::kDraining) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, - "[xds_override_host_lb %p] address %s: not draining, " - "passing to child", - this, address.ToString().c_str()); - } - return_value.push_back(address); - } else if (!config_->override_host_status_set().Contains(status)) { - // Skip draining hosts if not in the override status set. - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, - "[xds_override_host_lb %p] address %s: draining but not in " - "override_host_status set -- ignoring", - this, address.ToString().c_str()); - } - continue; - } - auto key = grpc_sockaddr_to_uri(&address.address()); - if (key.ok()) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, - "[xds_override_host_lb %p] address %s: adding map key %s", this, - address.ToString().c_str(), key->c_str()); - } - addresses_for_map.emplace(std::move(*key), status); - } - } - { - MutexLock lock(&subchannel_map_mu_); - for (auto it = subchannel_map_.begin(); it != subchannel_map_.end();) { - if (addresses_for_map.find(it->first) == addresses_for_map.end()) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, "[xds_override_host_lb %p] removing map key %s", - this, it->first.c_str()); - } - it = subchannel_map_.erase(it); - } else { - ++it; - } - } - for (const auto& key_status : addresses_for_map) { - auto it = subchannel_map_.find(key_status.first); - if (it == subchannel_map_.end()) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, "[xds_override_host_lb %p] adding map key %s", this, - key_status.first.c_str()); - } - subchannel_map_.emplace(std::piecewise_construct, - std::forward_as_tuple(key_status.first), - std::forward_as_tuple(key_status.second)); - } else { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, - "[xds_override_host_lb %p] setting EDS health status for " - "%s to %s", - this, key_status.first.c_str(), key_status.second.ToString()); - } - it->second.SetEdsHealthStatus(key_status.second); - } - } - } - return return_value; -} - -RefCountedPtr -XdsOverrideHostLb::AdoptSubchannel( - ServerAddress address, RefCountedPtr subchannel) { - auto key = grpc_sockaddr_to_uri(&address.address()); - if (!key.ok()) { - return subchannel; - } - auto wrapper = - MakeRefCounted(std::move(subchannel), Ref(), *key); - MutexLock lock(&subchannel_map_mu_); - auto it = subchannel_map_.find(*key); - if (it != subchannel_map_.end()) { - it->second.SetSubchannel(wrapper.get()); - } - return wrapper; -} - -void XdsOverrideHostLb::UnsetSubchannel(absl::string_view key, - SubchannelWrapper* subchannel) { - MutexLock lock(&subchannel_map_mu_); - auto it = subchannel_map_.find(key); - if (it != subchannel_map_.end()) { - if (subchannel == it->second.GetSubchannel()) { - it->second.UnsetSubchannel(); - } - } -} - -RefCountedPtr -XdsOverrideHostLb::GetSubchannelByAddress( - absl::string_view address, XdsHealthStatusSet overriden_health_statuses) { - MutexLock lock(&subchannel_map_mu_); - auto it = subchannel_map_.find(address); - if (it == subchannel_map_.end() || it->second.GetSubchannel() == nullptr) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, "Subchannel %s was not found", - std::string(address).c_str()); - } - return nullptr; - } - if (!overriden_health_statuses.Contains(it->second.eds_health_status())) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) { - gpr_log(GPR_INFO, "Subchannel %s health status is not overridden (%s)", - std::string(address).c_str(), - it->second.eds_health_status().ToString()); - } - return nullptr; - } - return it->second.GetSubchannel()->Ref(); -} - -void XdsOverrideHostLb::OnSubchannelConnectivityStateChange( - absl::string_view subchannel_key) { - auto it = subchannel_map_.find(subchannel_key); - if (it == subchannel_map_.end()) { - return; - } - if (it->second.eds_health_status().status() == XdsHealthStatus::kDraining) { - MaybeUpdatePickerLocked(); - } -} - -// -// XdsOverrideHostLb::Helper -// - -RefCountedPtr XdsOverrideHostLb::Helper::CreateSubchannel( - ServerAddress address, const ChannelArgs& args) { - auto subchannel = - parent()->channel_control_helper()->CreateSubchannel(address, args); - return parent()->AdoptSubchannel(address, subchannel); -} - -void XdsOverrideHostLb::Helper::UpdateState( - grpc_connectivity_state state, const absl::Status& status, - RefCountedPtr picker) { - if (parent()->shutting_down_) return; - // Save the state and picker. - parent()->state_ = state; - parent()->status_ = status; - parent()->picker_ = std::move(picker); - // Wrap the picker and return it to the channel. - parent()->MaybeUpdatePickerLocked(); -} - -// -// XdsOverrideHostLb::SubchannelWrapper::SubchannelWrapper -// - -XdsOverrideHostLb::SubchannelWrapper::SubchannelWrapper( - RefCountedPtr subchannel, - RefCountedPtr policy, absl::string_view key) - : DelegatingSubchannel(std::move(subchannel)), - key_(key), - policy_(std::move(policy)) { - auto watcher = std::make_unique(WeakRef()); - watcher_ = watcher.get(); - wrapped_subchannel()->WatchConnectivityState(std::move(watcher)); -} - -XdsOverrideHostLb::SubchannelWrapper::~SubchannelWrapper() { - if (key_.has_value()) { - policy_->UnsetSubchannel(*key_, this); - } -} - -void XdsOverrideHostLb::SubchannelWrapper::WatchConnectivityState( - std::unique_ptr watcher) { - watchers_.insert(std::move(watcher)); -} - -void XdsOverrideHostLb::SubchannelWrapper::CancelConnectivityStateWatch( - ConnectivityStateWatcherInterface* watcher) { - auto it = watchers_.find(watcher); - if (it != watchers_.end()) { - watchers_.erase(it); - } -} - -void XdsOverrideHostLb::SubchannelWrapper::UpdateConnectivityState( - grpc_connectivity_state state, absl::Status status) { - connectivity_state_.store(state); - // Sending connectivity state notifications to the watchers may cause the set - // of watchers to change, so we can't be iterating over the set of watchers - // while we send the notifications - std::vector watchers(watchers_.size()); - for (const auto& watcher : watchers_) { - watchers.push_back(watcher.get()); - } - for (const auto& watcher : watchers) { - if (watchers_.find(watcher) != watchers_.end()) { - watcher->OnConnectivityStateChange(state, status); - } - } - if (key_.has_value()) { - policy_->OnSubchannelConnectivityStateChange(*key_); - } -} - -void XdsOverrideHostLb::SubchannelWrapper::Orphan() { - if (!IsWorkSerializerDispatchEnabled()) { - key_.reset(); - wrapped_subchannel()->CancelConnectivityStateWatch(watcher_); - return; - } - WeakRefCountedPtr self = WeakRef(); - policy_->work_serializer()->Run( - [self = std::move(self)]() { - self->key_.reset(); - self->wrapped_subchannel()->CancelConnectivityStateWatch( - self->watcher_); - }, - DEBUG_LOCATION); -} - -grpc_pollset_set* XdsOverrideHostLb::SubchannelWrapper:: - ConnectivityStateWatcher::interested_parties() { - return subchannel_->policy_->interested_parties(); -} - -void XdsOverrideHostLb::SubchannelWrapper::ConnectivityStateWatcher:: - OnConnectivityStateChange(grpc_connectivity_state state, - absl::Status status) { - subchannel_->UpdateConnectivityState(state, status); -} - -// -// factory -// -class XdsOverrideHostLbFactory : public LoadBalancingPolicyFactory { - public: - OrphanablePtr CreateLoadBalancingPolicy( - LoadBalancingPolicy::Args args) const override { - return MakeOrphanable(std::move(args)); - } - - absl::string_view name() const override { - return XdsOverrideHostLbConfig::Name(); - } - - absl::StatusOr> - ParseLoadBalancingConfig(const Json& json) const override { - return LoadFromJson>( - json, JsonArgs(), - "errors validating xds_override_host LB policy config"); - } -}; - -} // namespace - -void RegisterXdsOverrideHostLbPolicy(CoreConfiguration::Builder* builder) { - builder->lb_policy_registry()->RegisterLoadBalancingPolicyFactory( - std::make_unique()); -} - -// XdsOverrideHostLbConfig - -const JsonLoaderInterface* XdsOverrideHostLbConfig::JsonLoader( - const JsonArgs&) { - static const auto kJsonLoader = - JsonObjectLoader() - // Child policy config is parsed in JsonPostLoad - .Finish(); - return kJsonLoader; -} - -void XdsOverrideHostLbConfig::JsonPostLoad(const Json& json, - const JsonArgs& args, - ValidationErrors* errors) { - { - ValidationErrors::ScopedField field(errors, ".childPolicy"); - auto it = json.object().find("childPolicy"); - if (it == json.object().end()) { - errors->AddError("field not present"); - } else { - auto child_policy_config = CoreConfiguration::Get() - .lb_policy_registry() - .ParseLoadBalancingConfig(it->second); - if (!child_policy_config.ok()) { - errors->AddError(child_policy_config.status().message()); - } else { - child_config_ = std::move(*child_policy_config); - } - } - } - { - ValidationErrors::ScopedField field(errors, ".overrideHostStatus"); - auto host_status_list = LoadJsonObjectField>( - json.object(), args, "overrideHostStatus", errors, - /*required=*/false); - if (host_status_list.has_value()) { - for (size_t i = 0; i < host_status_list->size(); ++i) { - const std::string& host_status = (*host_status_list)[i]; - auto status = XdsHealthStatus::FromString(host_status); - if (!status.has_value()) { - ValidationErrors::ScopedField field(errors, - absl::StrCat("[", i, "]")); - errors->AddError("invalid host status"); - } else { - override_host_status_set_.Add(*status); - } - } - } else { - override_host_status_set_ = XdsHealthStatusSet( - {XdsHealthStatus(XdsHealthStatus::HealthStatus::kHealthy), - XdsHealthStatus(XdsHealthStatus::HealthStatus::kUnknown)}); - } - } -} - -} // namespace grpc_core diff --git a/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h b/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h deleted file mode 100644 index 665b4781787..00000000000 --- a/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2023 The gRPC Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_DNS_EVENT_ENGINE_EVENT_ENGINE_CLIENT_CHANNEL_RESOLVER_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_DNS_EVENT_ENGINE_EVENT_ENGINE_CLIENT_CHANNEL_RESOLVER_H -#include - -#include "absl/strings/string_view.h" - -#include "src/core/lib/gprpp/orphanable.h" -#include "src/core/lib/resolver/resolver.h" -#include "src/core/lib/resolver/resolver_factory.h" -#include "src/core/lib/uri/uri_parser.h" - -namespace grpc_core { -class EventEngineClientChannelDNSResolverFactory : public ResolverFactory { - public: - absl::string_view scheme() const override { return "dns"; } - bool IsValidUri(const URI& uri) const override; - OrphanablePtr CreateResolver(ResolverArgs args) const override; -}; - -} // namespace grpc_core - -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_DNS_EVENT_ENGINE_EVENT_ENGINE_CLIENT_CHANNEL_RESOLVER_H diff --git a/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h b/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h deleted file mode 100644 index cbb7f5e9aa6..00000000000 --- a/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2023 The gRPC Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_DNS_EVENT_ENGINE_SERVICE_CONFIG_HELPER_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_DNS_EVENT_ENGINE_SERVICE_CONFIG_HELPER_H - -#include - -#include - -#include "absl/status/statusor.h" -#include "absl/strings/string_view.h" - -namespace grpc_core { - -absl::StatusOr ChooseServiceConfig( - absl::string_view service_config_json); - -} // namespace grpc_core - -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_DNS_EVENT_ENGINE_SERVICE_CONFIG_HELPER_H diff --git a/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc b/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc deleted file mode 100644 index 5e97f25f57a..00000000000 --- a/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +++ /dev/null @@ -1,386 +0,0 @@ -// -// Copyright 2016 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -// This is similar to the sockaddr resolver, except that it supports a -// bunch of query args that are useful for dependency injection in tests. - -#include - -#include "src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h" - -#include -#include - -#include "absl/status/status.h" -#include "absl/status/statusor.h" -#include "absl/strings/string_view.h" - -#include - -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/config/core_configuration.h" -#include "src/core/lib/gpr/useful.h" -#include "src/core/lib/gprpp/debug_location.h" -#include "src/core/lib/gprpp/orphanable.h" -#include "src/core/lib/gprpp/work_serializer.h" -#include "src/core/lib/resolver/resolver_factory.h" -#include "src/core/lib/resolver/server_address.h" -#include "src/core/lib/service_config/service_config.h" -#include "src/core/lib/uri/uri_parser.h" - -namespace grpc_core { - -// This cannot be in an anonymous namespace, because it is a friend of -// FakeResolverResponseGenerator. -class FakeResolver : public Resolver { - public: - explicit FakeResolver(ResolverArgs args); - - void StartLocked() override; - - void RequestReresolutionLocked() override; - - private: - friend class FakeResolverResponseGenerator; - friend class FakeResolverResponseSetter; - - void ShutdownLocked() override; - - void MaybeSendResultLocked(); - - void ReturnReresolutionResult(); - - // passed-in parameters - ChannelArgs channel_args_; - std::shared_ptr work_serializer_; - std::unique_ptr result_handler_; - RefCountedPtr response_generator_; - // If has_next_result_ is true, next_result_ is the next resolution result - // to be returned. - bool has_next_result_ = false; - Result next_result_; - // Result to use for the pretended re-resolution in - // RequestReresolutionLocked(). - bool has_reresolution_result_ = false; - Result reresolution_result_; - // True after the call to StartLocked(). - bool started_ = false; - // True after the call to ShutdownLocked(). - bool shutdown_ = false; - // if true, return failure - bool return_failure_ = false; - // pending re-resolution - bool reresolution_closure_pending_ = false; -}; - -FakeResolver::FakeResolver(ResolverArgs args) - : work_serializer_(std::move(args.work_serializer)), - result_handler_(std::move(args.result_handler)), - response_generator_( - args.args.GetObjectRef()) { - // Channels sharing the same subchannels may have different resolver response - // generators. If we don't remove this arg, subchannel pool will create new - // subchannels for the same address instead of reusing existing ones because - // of different values of this channel arg. - channel_args_ = args.args.Remove(GRPC_ARG_FAKE_RESOLVER_RESPONSE_GENERATOR); - if (response_generator_ != nullptr) { - response_generator_->SetFakeResolver(Ref()); - } -} - -void FakeResolver::StartLocked() { - started_ = true; - MaybeSendResultLocked(); -} - -void FakeResolver::RequestReresolutionLocked() { - if (has_reresolution_result_ || return_failure_) { - next_result_ = reresolution_result_; - has_next_result_ = true; - // Return the result in a different closure, so that we don't call - // back into the LB policy while it's still processing the previous - // update. - if (!reresolution_closure_pending_) { - reresolution_closure_pending_ = true; - Ref().release(); // ref held by closure - work_serializer_->Run([this]() { ReturnReresolutionResult(); }, - DEBUG_LOCATION); - } - } -} - -void FakeResolver::ShutdownLocked() { - shutdown_ = true; - if (response_generator_ != nullptr) { - response_generator_->SetFakeResolver(nullptr); - response_generator_.reset(); - } -} - -void FakeResolver::MaybeSendResultLocked() { - if (!started_ || shutdown_) return; - if (return_failure_) { - // TODO(roth): Change resolver result generator to be able to inject - // the error to be returned and to be able to independently set errors - // for addresses and service config. - Result result; - result.addresses = absl::UnavailableError("Resolver transient failure"); - result.service_config = result.addresses.status(); - result.args = channel_args_; - result_handler_->ReportResult(std::move(result)); - return_failure_ = false; - } else if (has_next_result_) { - // When both next_results_ and channel_args_ contain an arg with the same - // name, only the one in next_results_. - next_result_.args = next_result_.args.UnionWith(channel_args_); - result_handler_->ReportResult(std::move(next_result_)); - has_next_result_ = false; - } -} - -void FakeResolver::ReturnReresolutionResult() { - reresolution_closure_pending_ = false; - MaybeSendResultLocked(); - Unref(); -} - -class FakeResolverResponseSetter { - public: - explicit FakeResolverResponseSetter(RefCountedPtr resolver, - Resolver::Result result, - bool has_result = false, - bool immediate = true) - : resolver_(std::move(resolver)), - result_(std::move(result)), - has_result_(has_result), - immediate_(immediate) {} - void SetResponseLocked(); - void SetReresolutionResponseLocked(); - void SetFailureLocked(); - - private: - RefCountedPtr resolver_; - Resolver::Result result_; - bool has_result_; - bool immediate_; -}; - -// Deletes object when done -void FakeResolverResponseSetter::SetReresolutionResponseLocked() { - if (!resolver_->shutdown_) { - resolver_->reresolution_result_ = std::move(result_); - resolver_->has_reresolution_result_ = has_result_; - } - delete this; -} - -// Deletes object when done -void FakeResolverResponseSetter::SetResponseLocked() { - if (!resolver_->shutdown_) { - resolver_->next_result_ = std::move(result_); - resolver_->has_next_result_ = true; - resolver_->MaybeSendResultLocked(); - } - delete this; -} - -// Deletes object when done -void FakeResolverResponseSetter::SetFailureLocked() { - if (!resolver_->shutdown_) { - resolver_->return_failure_ = true; - if (immediate_) resolver_->MaybeSendResultLocked(); - } - delete this; -} - -// -// FakeResolverResponseGenerator -// - -FakeResolverResponseGenerator::FakeResolverResponseGenerator() {} - -FakeResolverResponseGenerator::~FakeResolverResponseGenerator() {} - -void FakeResolverResponseGenerator::SetResponseAndNotify( - Resolver::Result result, Notification* notify_when_set) { - RefCountedPtr resolver; - { - MutexLock lock(&mu_); - if (resolver_ == nullptr) { - has_result_ = true; - result_ = std::move(result); - if (notify_when_set != nullptr) notify_when_set->Notify(); - return; - } - resolver = resolver_->Ref(); - } - FakeResolverResponseSetter* arg = - new FakeResolverResponseSetter(resolver, std::move(result)); - resolver->work_serializer_->Run( - [arg, notify_when_set]() { - arg->SetResponseLocked(); - if (notify_when_set != nullptr) notify_when_set->Notify(); - }, - DEBUG_LOCATION); -} - -void FakeResolverResponseGenerator::SetReresolutionResponseAndNotify( - Resolver::Result result, Notification* notify_when_set) { - RefCountedPtr resolver; - { - MutexLock lock(&mu_); - GPR_ASSERT(resolver_ != nullptr); - resolver = resolver_->Ref(); - } - FakeResolverResponseSetter* arg = new FakeResolverResponseSetter( - resolver, std::move(result), true /* has_result */); - resolver->work_serializer_->Run( - [arg, notify_when_set]() { - arg->SetReresolutionResponseLocked(); - if (notify_when_set != nullptr) notify_when_set->Notify(); - }, - DEBUG_LOCATION); -} - -void FakeResolverResponseGenerator::UnsetReresolutionResponse() { - RefCountedPtr resolver; - { - MutexLock lock(&mu_); - GPR_ASSERT(resolver_ != nullptr); - resolver = resolver_->Ref(); - } - FakeResolverResponseSetter* arg = - new FakeResolverResponseSetter(resolver, Resolver::Result()); - resolver->work_serializer_->Run( - [arg]() { arg->SetReresolutionResponseLocked(); }, DEBUG_LOCATION); -} - -void FakeResolverResponseGenerator::SetFailure() { - RefCountedPtr resolver; - { - MutexLock lock(&mu_); - GPR_ASSERT(resolver_ != nullptr); - resolver = resolver_->Ref(); - } - FakeResolverResponseSetter* arg = - new FakeResolverResponseSetter(resolver, Resolver::Result()); - resolver->work_serializer_->Run([arg]() { arg->SetFailureLocked(); }, - DEBUG_LOCATION); -} - -void FakeResolverResponseGenerator::SetFailureOnReresolution() { - RefCountedPtr resolver; - { - MutexLock lock(&mu_); - GPR_ASSERT(resolver_ != nullptr); - resolver = resolver_->Ref(); - } - FakeResolverResponseSetter* arg = new FakeResolverResponseSetter( - resolver, Resolver::Result(), false /* has_result */, - false /* immediate */); - resolver->work_serializer_->Run([arg]() { arg->SetFailureLocked(); }, - DEBUG_LOCATION); -} - -void FakeResolverResponseGenerator::SetFakeResolver( - RefCountedPtr resolver) { - MutexLock lock(&mu_); - resolver_ = std::move(resolver); - cv_.SignalAll(); - if (resolver_ == nullptr) return; - if (has_result_) { - FakeResolverResponseSetter* arg = - new FakeResolverResponseSetter(resolver_, std::move(result_)); - resolver_->work_serializer_->Run([arg]() { arg->SetResponseLocked(); }, - DEBUG_LOCATION); - has_result_ = false; - } -} - -void FakeResolverResponseGenerator::WaitForResolverSet() { - MutexLock lock(&mu_); - while (resolver_ == nullptr) { - cv_.Wait(&mu_); - } -} - -namespace { - -void* ResponseGeneratorChannelArgCopy(void* p) { - auto* generator = static_cast(p); - generator->Ref().release(); - return p; -} - -void ResponseGeneratorChannelArgDestroy(void* p) { - auto* generator = static_cast(p); - generator->Unref(); -} - -int ResponseGeneratorChannelArgCmp(void* a, void* b) { - return QsortCompare(a, b); -} - -} // namespace - -const grpc_arg_pointer_vtable - FakeResolverResponseGenerator::kChannelArgPointerVtable = { - ResponseGeneratorChannelArgCopy, ResponseGeneratorChannelArgDestroy, - ResponseGeneratorChannelArgCmp}; - -grpc_arg FakeResolverResponseGenerator::MakeChannelArg( - FakeResolverResponseGenerator* generator) { - return grpc_channel_arg_pointer_create( - const_cast(GRPC_ARG_FAKE_RESOLVER_RESPONSE_GENERATOR), generator, - &kChannelArgPointerVtable); -} - -RefCountedPtr -FakeResolverResponseGenerator::GetFromArgs(const grpc_channel_args* args) { - auto* response_generator = - grpc_channel_args_find_pointer( - args, GRPC_ARG_FAKE_RESOLVER_RESPONSE_GENERATOR); - if (response_generator == nullptr) return nullptr; - return response_generator->Ref(); -} - -// -// Factory -// - -namespace { - -class FakeResolverFactory : public ResolverFactory { - public: - absl::string_view scheme() const override { return "fake"; } - - bool IsValidUri(const URI& /*uri*/) const override { return true; } - - OrphanablePtr CreateResolver(ResolverArgs args) const override { - return MakeOrphanable(std::move(args)); - } -}; - -} // namespace - -void RegisterFakeResolver(CoreConfiguration::Builder* builder) { - builder->resolver_registry()->RegisterResolverFactory( - std::make_unique()); -} - -} // namespace grpc_core - -void grpc_resolver_fake_shutdown() {} diff --git a/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h b/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h deleted file mode 100644 index b0463eee9d6..00000000000 --- a/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +++ /dev/null @@ -1,144 +0,0 @@ -// -// Copyright 2016 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_FAKE_FAKE_RESOLVER_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_FAKE_FAKE_RESOLVER_H - -#include - -#include - -#include "absl/base/thread_annotations.h" -#include "absl/strings/string_view.h" - -#include - -#include "src/core/lib/gpr/useful.h" -#include "src/core/lib/gprpp/notification.h" -#include "src/core/lib/gprpp/ref_counted.h" -#include "src/core/lib/gprpp/ref_counted_ptr.h" -#include "src/core/lib/gprpp/sync.h" -#include "src/core/lib/resolver/resolver.h" - -#define GRPC_ARG_FAKE_RESOLVER_RESPONSE_GENERATOR \ - "grpc.fake_resolver.response_generator" - -namespace grpc_core { - -class FakeResolver; - -/// A mechanism for generating responses for the fake resolver. -/// An instance of this class is passed to the fake resolver via a channel -/// argument (see \a MakeChannelArg()) and used to inject and trigger custom -/// resolutions. -// TODO(roth): I would ideally like this to be InternallyRefCounted -// instead of RefCounted, but external refs are currently needed to -// encode this in channel args. Once channel_args are converted to C++, -// see if we can find a way to fix this. -class FakeResolverResponseGenerator - : public RefCounted { - public: - static const grpc_arg_pointer_vtable kChannelArgPointerVtable; - - FakeResolverResponseGenerator(); - ~FakeResolverResponseGenerator() override; - - // Instructs the fake resolver associated with the response generator - // instance to trigger a new resolution with the specified result. If the - // resolver is not available yet, delays response setting until it is. This - // can be called at most once before the resolver is available. - // notify_when_set is an optional notification to signal when the response has - // been set. - void SetResponseAndNotify(Resolver::Result result, - Notification* notify_when_set); - - // Same as SetResponseAndNotify(), assume that async setting is fine - void SetResponseAsync(Resolver::Result result) { - SetResponseAndNotify(std::move(result), nullptr); - } - - // Same as SetResponseAndNotify(), but create and wait for the notification - void SetResponseSynchronously(Resolver::Result result) { - Notification n; - SetResponseAndNotify(std::move(result), &n); - n.WaitForNotification(); - } - - // Sets the re-resolution response, which is returned by the fake resolver - // when re-resolution is requested (via \a RequestReresolutionLocked()). - // The new re-resolution response replaces any previous re-resolution - // response that may have been set by a previous call. - // notify_when_set is an optional notification to signal when the response has - // been set. - void SetReresolutionResponseAndNotify(Resolver::Result result, - Notification* notify_when_set); - void SetReresolutionResponseAsync(Resolver::Result result) { - SetReresolutionResponseAndNotify(std::move(result), nullptr); - } - void SetReresolutionResponseSynchronously(Resolver::Result result) { - Notification n; - SetReresolutionResponseAndNotify(std::move(result), &n); - n.WaitForNotification(); - } - - // Unsets the re-resolution response. After this, the fake resolver will - // not return anything when \a RequestReresolutionLocked() is called. - void UnsetReresolutionResponse(); - - // Tells the resolver to return a transient failure. - void SetFailure(); - - // Same as SetFailure(), but instead of returning the error - // immediately, waits for the next call to RequestReresolutionLocked(). - void SetFailureOnReresolution(); - - // Returns a channel arg containing \a generator. - // TODO(roth): When we have time, make this a non-static method. - static grpc_arg MakeChannelArg(FakeResolverResponseGenerator* generator); - - // Returns the response generator in \a args, or null if not found. - static RefCountedPtr GetFromArgs( - const grpc_channel_args* args); - - static absl::string_view ChannelArgName() { - return GRPC_ARG_FAKE_RESOLVER_RESPONSE_GENERATOR; - } - - // Wait for a resolver to be set (setting may be happening asynchronously, so - // this may block - consider it test only). - void WaitForResolverSet(); - - static int ChannelArgsCompare(const FakeResolverResponseGenerator* a, - const FakeResolverResponseGenerator* b) { - return QsortCompare(a, b); - } - - private: - friend class FakeResolver; - // Set the corresponding FakeResolver to this generator. - void SetFakeResolver(RefCountedPtr resolver); - - // Mutex protecting the members below. - Mutex mu_; - CondVar cv_; - RefCountedPtr resolver_ ABSL_GUARDED_BY(mu_); - Resolver::Result result_ ABSL_GUARDED_BY(mu_); - bool has_result_ ABSL_GUARDED_BY(mu_) = false; -}; - -} // namespace grpc_core - -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_FAKE_FAKE_RESOLVER_H diff --git a/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc b/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc deleted file mode 100644 index fa4e1fd9558..00000000000 --- a/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +++ /dev/null @@ -1,1286 +0,0 @@ -// -// Copyright 2019 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#include - -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "absl/meta/type_traits.h" -#include "absl/random/random.h" -#include "absl/status/status.h" -#include "absl/status/statusor.h" -#include "absl/strings/match.h" -#include "absl/strings/str_cat.h" -#include "absl/strings/str_format.h" -#include "absl/strings/str_join.h" -#include "absl/strings/str_replace.h" -#include "absl/strings/string_view.h" -#include "absl/strings/strip.h" -#include "absl/types/optional.h" -#include "absl/types/variant.h" -#include "re2/re2.h" - -#include - -#include "src/core/lib/slice/slice.h" - -#define XXH_INLINE_ALL -#include "xxhash.h" - -#include -#include -#include - -#include "src/core/ext/filters/client_channel/client_channel_internal.h" -#include "src/core/ext/filters/client_channel/config_selector.h" -#include "src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h" -#include "src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h" -#include "src/core/ext/xds/xds_bootstrap.h" -#include "src/core/ext/xds/xds_bootstrap_grpc.h" -#include "src/core/ext/xds/xds_client_grpc.h" -#include "src/core/ext/xds/xds_http_filters.h" -#include "src/core/ext/xds/xds_listener.h" -#include "src/core/ext/xds/xds_route_config.h" -#include "src/core/ext/xds/xds_routing.h" -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/channel/channel_fwd.h" -#include "src/core/lib/channel/channel_stack.h" -#include "src/core/lib/channel/context.h" -#include "src/core/lib/channel/promise_based_filter.h" -#include "src/core/lib/channel/status_util.h" -#include "src/core/lib/config/core_configuration.h" -#include "src/core/lib/debug/trace.h" -#include "src/core/lib/experiments/experiments.h" -#include "src/core/lib/gprpp/debug_location.h" -#include "src/core/lib/gprpp/dual_ref_counted.h" -#include "src/core/lib/gprpp/match.h" -#include "src/core/lib/gprpp/orphanable.h" -#include "src/core/lib/gprpp/ref_counted.h" -#include "src/core/lib/gprpp/ref_counted_ptr.h" -#include "src/core/lib/gprpp/time.h" -#include "src/core/lib/gprpp/work_serializer.h" -#include "src/core/lib/iomgr/iomgr_fwd.h" -#include "src/core/lib/iomgr/pollset_set.h" -#include "src/core/lib/promise/arena_promise.h" -#include "src/core/lib/promise/context.h" -#include "src/core/lib/resolver/resolver.h" -#include "src/core/lib/resolver/resolver_factory.h" -#include "src/core/lib/resolver/server_address.h" -#include "src/core/lib/resource_quota/arena.h" -#include "src/core/lib/service_config/service_config.h" -#include "src/core/lib/service_config/service_config_impl.h" -#include "src/core/lib/transport/metadata_batch.h" -#include "src/core/lib/transport/transport.h" -#include "src/core/lib/uri/uri_parser.h" - -namespace grpc_core { - -TraceFlag grpc_xds_resolver_trace(false, "xds_resolver"); - -namespace { - -// -// XdsResolver -// - -class XdsResolver : public Resolver { - public: - XdsResolver(ResolverArgs args, std::string data_plane_authority) - : work_serializer_(std::move(args.work_serializer)), - result_handler_(std::move(args.result_handler)), - args_(std::move(args.args)), - interested_parties_(args.pollset_set), - uri_(std::move(args.uri)), - data_plane_authority_(std::move(data_plane_authority)), - channel_id_(absl::Uniform(absl::BitGen())) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_resolver_trace)) { - gpr_log( - GPR_INFO, - "[xds_resolver %p] created for URI %s; data plane authority is %s", - this, uri_.ToString().c_str(), data_plane_authority_.c_str()); - } - } - - ~XdsResolver() override { - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_resolver_trace)) { - gpr_log(GPR_INFO, "[xds_resolver %p] destroyed", this); - } - } - - void StartLocked() override; - - void ShutdownLocked() override; - - void ResetBackoffLocked() override { - if (xds_client_ != nullptr) xds_client_->ResetBackoff(); - } - - private: - class ListenerWatcher : public XdsListenerResourceType::WatcherInterface { - public: - explicit ListenerWatcher(RefCountedPtr resolver) - : resolver_(std::move(resolver)) {} - void OnResourceChanged( - std::shared_ptr listener) override { - RefCountedPtr self = Ref(); - resolver_->work_serializer_->Run( - [self = std::move(self), listener = std::move(listener)]() mutable { - self->resolver_->OnListenerUpdate(std::move(listener)); - }, - DEBUG_LOCATION); - } - void OnError(absl::Status status) override { - RefCountedPtr self = Ref(); - resolver_->work_serializer_->Run( - [self = std::move(self), status = std::move(status)]() mutable { - self->resolver_->OnError(self->resolver_->lds_resource_name_, - std::move(status)); - }, - DEBUG_LOCATION); - } - void OnResourceDoesNotExist() override { - RefCountedPtr self = Ref(); - resolver_->work_serializer_->Run( - [self = std::move(self)]() { - self->resolver_->OnResourceDoesNotExist( - absl::StrCat(self->resolver_->lds_resource_name_, - ": xDS listener resource does not exist")); - }, - DEBUG_LOCATION); - } - - private: - RefCountedPtr resolver_; - }; - - class RouteConfigWatcher - : public XdsRouteConfigResourceType::WatcherInterface { - public: - explicit RouteConfigWatcher(RefCountedPtr resolver) - : resolver_(std::move(resolver)) {} - void OnResourceChanged( - std::shared_ptr route_config) override { - RefCountedPtr self = Ref(); - resolver_->work_serializer_->Run( - [self = std::move(self), - route_config = std::move(route_config)]() mutable { - if (self != self->resolver_->route_config_watcher_) return; - self->resolver_->OnRouteConfigUpdate(std::move(route_config)); - }, - DEBUG_LOCATION); - } - void OnError(absl::Status status) override { - RefCountedPtr self = Ref(); - resolver_->work_serializer_->Run( - [self = std::move(self), status = std::move(status)]() mutable { - if (self != self->resolver_->route_config_watcher_) return; - self->resolver_->OnError(self->resolver_->route_config_name_, - std::move(status)); - }, - DEBUG_LOCATION); - } - void OnResourceDoesNotExist() override { - RefCountedPtr self = Ref(); - resolver_->work_serializer_->Run( - [self = std::move(self)]() { - if (self != self->resolver_->route_config_watcher_) return; - self->resolver_->OnResourceDoesNotExist(absl::StrCat( - self->resolver_->route_config_name_, - ": xDS route configuration resource does not exist")); - }, - DEBUG_LOCATION); - } - - private: - RefCountedPtr resolver_; - }; - - // An entry in the map of clusters that need to be present in the LB - // policy config. The map holds a weak ref. One strong ref is held by - // the ConfigSelector, and another is held by each call assigned to - // the cluster by the ConfigSelector. The ref for each call is held - // until the call is committed. When the strong refs go away, we hop - // back into the WorkSerializer to remove the entry from the map. - class ClusterRef : public DualRefCounted { - public: - ClusterRef(RefCountedPtr resolver, - absl::string_view cluster_name) - : resolver_(std::move(resolver)), cluster_name_(cluster_name) {} - - void Orphan() override { - XdsResolver* resolver_ptr = resolver_.get(); - resolver_ptr->work_serializer_->Run( - [resolver = std::move(resolver_)]() { - resolver->MaybeRemoveUnusedClusters(); - }, - DEBUG_LOCATION); - } - - const std::string& cluster_name() const { return cluster_name_; } - - private: - RefCountedPtr resolver_; - std::string cluster_name_; - }; - - // A routing data including cluster refs and routes table held by the - // XdsConfigSelector. A ref to this map will be taken by each call processed - // by the XdsConfigSelector, stored in a the call's call attributes, and later - // unreffed by the ClusterSelection filter. - class RouteConfigData : public RefCounted { - public: - struct RouteEntry { - struct ClusterWeightState { - uint32_t range_end; - absl::string_view cluster; - RefCountedPtr method_config; - - bool operator==(const ClusterWeightState& other) const { - return range_end == other.range_end && cluster == other.cluster && - MethodConfigsEqual(method_config.get(), - other.method_config.get()); - } - }; - - XdsRouteConfigResource::Route route; - RefCountedPtr method_config; - std::vector weighted_cluster_state; - - explicit RouteEntry(const XdsRouteConfigResource::Route& r) : route(r) {} - - bool operator==(const RouteEntry& other) const { - return route == other.route && - weighted_cluster_state == other.weighted_cluster_state && - MethodConfigsEqual(method_config.get(), - other.method_config.get()); - } - }; - - static absl::StatusOr> Create( - XdsResolver* resolver, - const std::vector& routes, - const Duration& default_max_stream_duration); - - bool operator==(const RouteConfigData& other) const { - return clusters_ == other.clusters_ && routes_ == other.routes_; - } - - RefCountedPtr FindClusterRef(absl::string_view name) const { - auto it = clusters_.find(name); - if (it == clusters_.end()) { - return nullptr; - } - return it->second; - } - - RouteEntry* GetRouteForRequest(absl::string_view path, - grpc_metadata_batch* initial_metadata); - - private: - class RouteListIterator; - - static absl::StatusOr> CreateMethodConfig( - XdsResolver* resolver, const XdsRouteConfigResource::Route& route, - const XdsRouteConfigResource::Route::RouteAction::ClusterWeight* - cluster_weight); - - static bool MethodConfigsEqual(const ServiceConfig* sc1, - const ServiceConfig* sc2) { - if (sc1 == nullptr) return sc2 == nullptr; - if (sc2 == nullptr) return false; - return sc1->json_string() == sc2->json_string(); - } - - absl::Status AddRouteEntry(const XdsRouteConfigResource::Route& route, - const Duration& default_max_stream_duration, - XdsResolver* resolver); - - std::map> clusters_; - std::vector routes_; - }; - - class XdsConfigSelector : public ConfigSelector { - public: - XdsConfigSelector(RefCountedPtr resolver, - RefCountedPtr route_config_data); - ~XdsConfigSelector() override; - - const char* name() const override { return "XdsConfigSelector"; } - - bool Equals(const ConfigSelector* other) const override { - const auto* other_xds = static_cast(other); - // Don't need to compare resolver_, since that will always be the same. - return *route_config_data_ == *other_xds->route_config_data_ && - filters_ == other_xds->filters_; - } - - absl::Status GetCallConfig(GetCallConfigArgs args) override; - - std::vector GetFilters() override { - return filters_; - } - - private: - RefCountedPtr resolver_; - RefCountedPtr route_config_data_; - std::vector filters_; - }; - - class XdsRouteStateAttributeImpl : public XdsRouteStateAttribute { - public: - explicit XdsRouteStateAttributeImpl( - RefCountedPtr route_config_data, - RouteConfigData::RouteEntry* route) - : route_config_data_(std::move(route_config_data)), route_(route) {} - - // This method can be called only once. The first call will release - // the reference to the cluster map, and subsequent calls will return - // nullptr. - RefCountedPtr LockAndGetCluster(absl::string_view cluster_name); - - bool HasClusterForRoute(absl::string_view cluster_name) const override; - - private: - RefCountedPtr route_config_data_; - RouteConfigData::RouteEntry* route_; - }; - - class ClusterSelectionFilter : public ChannelFilter { - public: - const static grpc_channel_filter kFilter; - - static absl::StatusOr Create( - const ChannelArgs& /* unused */, ChannelFilter::Args filter_args) { - return ClusterSelectionFilter(filter_args); - } - - // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; - - private: - explicit ClusterSelectionFilter(ChannelFilter::Args filter_args) - : filter_args_(filter_args) {} - - ChannelFilter::Args filter_args_; - }; - - RefCountedPtr GetOrCreateClusterRef( - absl::string_view cluster_name) { - auto it = cluster_ref_map_.find(cluster_name); - if (it == cluster_ref_map_.end()) { - auto cluster = MakeRefCounted(Ref(), cluster_name); - cluster_ref_map_.emplace(cluster->cluster_name(), cluster->WeakRef()); - return cluster; - } - return it->second->Ref(); - } - - void OnListenerUpdate(std::shared_ptr listener); - void OnRouteConfigUpdate( - std::shared_ptr rds_update); - void OnError(absl::string_view context, absl::Status status); - void OnResourceDoesNotExist(std::string context); - - absl::StatusOr> CreateServiceConfig(); - void GenerateResult(); - void MaybeRemoveUnusedClusters(); - uint64_t channel_id() const { return channel_id_; } - - std::shared_ptr work_serializer_; - std::unique_ptr result_handler_; - ChannelArgs args_; - grpc_pollset_set* interested_parties_; - URI uri_; - RefCountedPtr xds_client_; - std::string lds_resource_name_; - std::string data_plane_authority_; - uint64_t channel_id_; - - ListenerWatcher* listener_watcher_ = nullptr; - std::shared_ptr current_listener_; - - std::string route_config_name_; - RouteConfigWatcher* route_config_watcher_ = nullptr; - std::shared_ptr current_route_config_; - - const XdsRouteConfigResource::VirtualHost* current_virtual_host_ = nullptr; - - std::map> cluster_ref_map_; -}; - -// -// XdsResolver::RouteConfigData::RouteListIterator -// - -// Implementation of XdsRouting::RouteListIterator for getting the matching -// route for a request. -class XdsResolver::RouteConfigData::RouteListIterator - : public XdsRouting::RouteListIterator { - public: - explicit RouteListIterator(const RouteConfigData* route_table) - : route_table_(route_table) {} - - size_t Size() const override { return route_table_->routes_.size(); } - - const XdsRouteConfigResource::Route::Matchers& GetMatchersForRoute( - size_t index) const override { - return route_table_->routes_[index].route.matchers; - } - - private: - const RouteConfigData* route_table_; -}; - -// -// XdsResolver::RouteConfigData -// - -absl::StatusOr> -XdsResolver::RouteConfigData::Create( - XdsResolver* resolver, - const std::vector& routes, - const Duration& default_max_stream_duration) { - auto data = MakeRefCounted(); - // Reserve the necessary entries up-front to avoid reallocation as we add - // elements. This is necessary because the string_view in the entry's - // weighted_cluster_state field points to the memory in the route field, so - // moving the entry in a reallocation will cause the string_view to point to - // invalid data. - data->routes_.reserve(routes.size()); - for (auto& route : routes) { - absl::Status status = - data->AddRouteEntry(route, default_max_stream_duration, resolver); - if (!status.ok()) { - return status; - } - } - return data; -} - -XdsResolver::RouteConfigData::RouteEntry* -XdsResolver::RouteConfigData::GetRouteForRequest( - absl::string_view path, grpc_metadata_batch* initial_metadata) { - auto route_index = XdsRouting::GetRouteForRequest(RouteListIterator(this), - path, initial_metadata); - if (!route_index.has_value()) { - return nullptr; - } - return &routes_[*route_index]; -} - -absl::StatusOr> -XdsResolver::RouteConfigData::CreateMethodConfig( - XdsResolver* resolver, const XdsRouteConfigResource::Route& route, - const XdsRouteConfigResource::Route::RouteAction::ClusterWeight* - cluster_weight) { - std::vector fields; - const auto& route_action = - absl::get(route.action); - // Set retry policy if any. - if (route_action.retry_policy.has_value() && - !route_action.retry_policy->retry_on.Empty()) { - std::vector retry_parts; - retry_parts.push_back(absl::StrFormat( - "\"retryPolicy\": {\n" - " \"maxAttempts\": %d,\n" - " \"initialBackoff\": \"%s\",\n" - " \"maxBackoff\": \"%s\",\n" - " \"backoffMultiplier\": 2,\n", - route_action.retry_policy->num_retries + 1, - route_action.retry_policy->retry_back_off.base_interval.ToJsonString(), - route_action.retry_policy->retry_back_off.max_interval.ToJsonString())); - std::vector code_parts; - if (route_action.retry_policy->retry_on.Contains(GRPC_STATUS_CANCELLED)) { - code_parts.push_back(" \"CANCELLED\""); - } - if (route_action.retry_policy->retry_on.Contains( - GRPC_STATUS_DEADLINE_EXCEEDED)) { - code_parts.push_back(" \"DEADLINE_EXCEEDED\""); - } - if (route_action.retry_policy->retry_on.Contains(GRPC_STATUS_INTERNAL)) { - code_parts.push_back(" \"INTERNAL\""); - } - if (route_action.retry_policy->retry_on.Contains( - GRPC_STATUS_RESOURCE_EXHAUSTED)) { - code_parts.push_back(" \"RESOURCE_EXHAUSTED\""); - } - if (route_action.retry_policy->retry_on.Contains(GRPC_STATUS_UNAVAILABLE)) { - code_parts.push_back(" \"UNAVAILABLE\""); - } - retry_parts.push_back( - absl::StrFormat(" \"retryableStatusCodes\": [\n %s ]\n", - absl::StrJoin(code_parts, ",\n"))); - retry_parts.push_back(" }"); - fields.emplace_back(absl::StrJoin(retry_parts, "")); - } - // Set timeout. - if (route_action.max_stream_duration.has_value() && - (route_action.max_stream_duration != Duration::Zero())) { - fields.emplace_back( - absl::StrFormat(" \"timeout\": \"%s\"", - route_action.max_stream_duration->ToJsonString())); - } - // Handle xDS HTTP filters. - const auto& hcm = absl::get( - resolver->current_listener_->listener); - auto result = XdsRouting::GeneratePerHTTPFilterConfigs( - static_cast(resolver->xds_client_->bootstrap()) - .http_filter_registry(), - hcm.http_filters, *resolver->current_virtual_host_, route, cluster_weight, - resolver->args_); - if (!result.ok()) return result.status(); - for (const auto& p : result->per_filter_configs) { - fields.emplace_back(absl::StrCat(" \"", p.first, "\": [\n", - absl::StrJoin(p.second, ",\n"), - "\n ]")); - } - // Construct service config. - if (!fields.empty()) { - std::string json = absl::StrCat( - "{\n" - " \"methodConfig\": [ {\n" - " \"name\": [\n" - " {}\n" - " ],\n" - " ", - absl::StrJoin(fields, ",\n"), - "\n } ]\n" - "}"); - return ServiceConfigImpl::Create(result->args, json.c_str()); - } - return nullptr; -} - -absl::Status XdsResolver::RouteConfigData::AddRouteEntry( - const XdsRouteConfigResource::Route& route, - const Duration& default_max_stream_duration, XdsResolver* resolver) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_resolver_trace)) { - gpr_log(GPR_INFO, "[xds_resolver %p] XdsConfigSelector %p: route: %s", - resolver, this, route.ToString().c_str()); - } - routes_.emplace_back(route); - auto* route_entry = &routes_.back(); - auto maybe_add_cluster = [&](absl::string_view cluster_name) { - if (clusters_.find(cluster_name) != clusters_.end()) return; - auto cluster_state = resolver->GetOrCreateClusterRef(cluster_name); - absl::string_view name = cluster_state->cluster_name(); - clusters_.emplace(name, std::move(cluster_state)); - }; - auto* route_action = absl::get_if( - &route_entry->route.action); - if (route_action != nullptr) { - // If the route doesn't specify a timeout, set its timeout to the global - // one. - if (!route_action->max_stream_duration.has_value()) { - route_action->max_stream_duration = default_max_stream_duration; - } - absl::Status status = Match( - route_action->action, - // cluster name - [&](const XdsRouteConfigResource::Route::RouteAction::ClusterName& - cluster_name) { - auto result = - CreateMethodConfig(resolver, route_entry->route, nullptr); - if (!result.ok()) { - return result.status(); - } - route_entry->method_config = std::move(*result); - maybe_add_cluster( - absl::StrCat("cluster:", cluster_name.cluster_name)); - return absl::OkStatus(); - }, - // WeightedClusters - [&](const std::vector< - XdsRouteConfigResource::Route::RouteAction::ClusterWeight>& - weighted_clusters) { - uint32_t end = 0; - for (const auto& weighted_cluster : weighted_clusters) { - auto result = CreateMethodConfig(resolver, route_entry->route, - &weighted_cluster); - if (!result.ok()) { - return result.status(); - } - RouteEntry::ClusterWeightState cluster_weight_state; - cluster_weight_state.method_config = std::move(*result); - end += weighted_cluster.weight; - cluster_weight_state.range_end = end; - cluster_weight_state.cluster = weighted_cluster.name; - route_entry->weighted_cluster_state.push_back( - std::move(cluster_weight_state)); - maybe_add_cluster(absl::StrCat("cluster:", weighted_cluster.name)); - } - return absl::OkStatus(); - }, - // ClusterSpecifierPlugin - [&](const XdsRouteConfigResource::Route::RouteAction:: - ClusterSpecifierPluginName& cluster_specifier_plugin_name) { - auto result = - CreateMethodConfig(resolver, route_entry->route, nullptr); - if (!result.ok()) { - return result.status(); - } - route_entry->method_config = std::move(*result); - maybe_add_cluster(absl::StrCat( - "cluster_specifier_plugin:", - cluster_specifier_plugin_name.cluster_specifier_plugin_name)); - return absl::OkStatus(); - }); - if (!status.ok()) { - return status; - } - } - return absl::OkStatus(); -} - -// -// XdsResolver::XdsConfigSelector -// - -XdsResolver::XdsConfigSelector::XdsConfigSelector( - RefCountedPtr resolver, - RefCountedPtr route_config_data) - : resolver_(std::move(resolver)), - route_config_data_(std::move(route_config_data)) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_resolver_trace)) { - gpr_log(GPR_INFO, "[xds_resolver %p] creating XdsConfigSelector %p", - resolver_.get(), this); - } - // Populate filter list. - const auto& http_filter_registry = - static_cast(resolver_->xds_client_->bootstrap()) - .http_filter_registry(); - const auto& hcm = absl::get( - resolver_->current_listener_->listener); - for (const auto& http_filter : hcm.http_filters) { - // Find filter. This is guaranteed to succeed, because it's checked - // at config validation time in the XdsApi code. - const XdsHttpFilterImpl* filter_impl = - http_filter_registry.GetFilterForType( - http_filter.config.config_proto_type_name); - GPR_ASSERT(filter_impl != nullptr); - // Add C-core filter to list. - if (filter_impl->channel_filter() != nullptr) { - filters_.push_back(filter_impl->channel_filter()); - } - } - filters_.push_back(&ClusterSelectionFilter::kFilter); -} - -XdsResolver::XdsConfigSelector::~XdsConfigSelector() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_resolver_trace)) { - gpr_log(GPR_INFO, "[xds_resolver %p] destroying XdsConfigSelector %p", - resolver_.get(), this); - } - route_config_data_.reset(); - if (!IsWorkSerializerDispatchEnabled()) { - resolver_->MaybeRemoveUnusedClusters(); - return; - } - resolver_->work_serializer_->Run( - [resolver = std::move(resolver_)]() { - resolver->MaybeRemoveUnusedClusters(); - }, - DEBUG_LOCATION); -} - -absl::optional HeaderHashHelper( - const XdsRouteConfigResource::Route::RouteAction::HashPolicy::Header& - header_policy, - grpc_metadata_batch* initial_metadata) { - std::string value_buffer; - absl::optional header_value = XdsRouting::GetHeaderValue( - initial_metadata, header_policy.header_name, &value_buffer); - if (!header_value.has_value()) return absl::nullopt; - if (header_policy.regex != nullptr) { - // If GetHeaderValue() did not already store the value in - // value_buffer, copy it there now, so we can modify it. - if (header_value->data() != value_buffer.data()) { - value_buffer = std::string(*header_value); - } - RE2::GlobalReplace(&value_buffer, *header_policy.regex, - header_policy.regex_substitution); - header_value = value_buffer; - } - return XXH64(header_value->data(), header_value->size(), 0); -} - -absl::Status XdsResolver::XdsConfigSelector::GetCallConfig( - GetCallConfigArgs args) { - Slice* path = args.initial_metadata->get_pointer(HttpPathMetadata()); - GPR_ASSERT(path != nullptr); - auto* entry = route_config_data_->GetRouteForRequest(path->as_string_view(), - args.initial_metadata); - if (entry == nullptr) { - return absl::UnavailableError( - "No matching route found in xDS route config"); - } - // Found a route match - const auto* route_action = - absl::get_if( - &entry->route.action); - if (route_action == nullptr) { - return absl::UnavailableError("Matching route has inappropriate action"); - } - std::string cluster_name; - RefCountedPtr method_config; - Match( - route_action->action, - // cluster name - [&](const XdsRouteConfigResource::Route::RouteAction::ClusterName& - action_cluster_name) { - cluster_name = - absl::StrCat("cluster:", action_cluster_name.cluster_name); - method_config = entry->method_config; - }, - // WeightedClusters - [&](const std::vector< - XdsRouteConfigResource::Route::RouteAction::ClusterWeight>& - /*weighted_clusters*/) { - const uint32_t key = absl::Uniform( - absl::BitGen(), 0, entry->weighted_cluster_state.back().range_end); - // Find the index in weighted clusters corresponding to key. - size_t mid = 0; - size_t start_index = 0; - size_t end_index = entry->weighted_cluster_state.size() - 1; - size_t index = 0; - while (end_index > start_index) { - mid = (start_index + end_index) / 2; - if (entry->weighted_cluster_state[mid].range_end > key) { - end_index = mid; - } else if (entry->weighted_cluster_state[mid].range_end < key) { - start_index = mid + 1; - } else { - index = mid + 1; - break; - } - } - if (index == 0) index = start_index; - GPR_ASSERT(entry->weighted_cluster_state[index].range_end > key); - cluster_name = absl::StrCat( - "cluster:", entry->weighted_cluster_state[index].cluster); - method_config = entry->weighted_cluster_state[index].method_config; - }, - // ClusterSpecifierPlugin - [&](const XdsRouteConfigResource::Route::RouteAction:: - ClusterSpecifierPluginName& cluster_specifier_plugin_name) { - cluster_name = absl::StrCat( - "cluster_specifier_plugin:", - cluster_specifier_plugin_name.cluster_specifier_plugin_name); - method_config = entry->method_config; - }); - auto cluster = route_config_data_->FindClusterRef(cluster_name); - GPR_ASSERT(cluster != nullptr); - // Generate a hash. - absl::optional hash; - for (const auto& hash_policy : route_action->hash_policies) { - absl::optional new_hash = Match( - hash_policy.policy, - [&](const XdsRouteConfigResource::Route::RouteAction::HashPolicy:: - Header& header) { - return HeaderHashHelper(header, args.initial_metadata); - }, - [&](const XdsRouteConfigResource::Route::RouteAction::HashPolicy:: - ChannelId&) -> absl::optional { - return resolver_->channel_id(); - }); - if (new_hash.has_value()) { - // Rotating the old value prevents duplicate hash rules from cancelling - // each other out and preserves all of the entropy - const uint64_t old_value = - hash.has_value() ? ((hash.value() << 1) | (hash.value() >> 63)) : 0; - hash = old_value ^ new_hash.value(); - } - // If the policy is a terminal policy and a hash has been generated, - // ignore the rest of the hash policies. - if (hash_policy.terminal && hash.has_value()) { - break; - } - } - if (!hash.has_value()) { - hash = absl::Uniform(absl::BitGen()); - } - // Populate service config call data. - if (method_config != nullptr) { - auto* parsed_method_configs = - method_config->GetMethodParsedConfigVector(grpc_empty_slice()); - args.service_config_call_data->SetServiceConfig(std::move(method_config), - parsed_method_configs); - } - args.service_config_call_data->SetCallAttribute( - args.arena->New(cluster->cluster_name())); - std::string hash_string = absl::StrCat(hash.value()); - char* hash_value = - static_cast(args.arena->Alloc(hash_string.size() + 1)); - memcpy(hash_value, hash_string.c_str(), hash_string.size()); - hash_value[hash_string.size()] = '\0'; - args.service_config_call_data->SetCallAttribute( - args.arena->New(hash_value)); - args.service_config_call_data->SetCallAttribute( - args.arena->ManagedNew(route_config_data_, - entry)); - return absl::OkStatus(); -} - -// -// XdsResolver::XdsRouteStateAttributeImpl -// - -bool XdsResolver::XdsRouteStateAttributeImpl::HasClusterForRoute( - absl::string_view cluster_name) const { - // Found a route match - const auto* route_action = - absl::get_if( - &static_cast(route_)->route.action); - if (route_action == nullptr) return false; - return Match( - route_action->action, - [&](const XdsRouteConfigResource::Route::RouteAction::ClusterName& name) { - return name.cluster_name == cluster_name; - }, - [&](const std::vector< - XdsRouteConfigResource::Route::RouteAction::ClusterWeight>& - clusters) { - for (const auto& cluster : clusters) { - if (cluster.name == cluster_name) { - return true; - } - } - return false; - }, - [&](const XdsRouteConfigResource::Route::RouteAction:: - ClusterSpecifierPluginName& /* name */) { return false; }); -} - -RefCountedPtr -XdsResolver::XdsRouteStateAttributeImpl::LockAndGetCluster( - absl::string_view cluster_name) { - if (route_config_data_ == nullptr) { - return nullptr; - } - auto cluster = route_config_data_->FindClusterRef(cluster_name); - route_config_data_.reset(); - return cluster; -} - -// -// XdsResolver::ClusterSelectionFilter -// - -const grpc_channel_filter XdsResolver::ClusterSelectionFilter::kFilter = - MakePromiseBasedFilter( - "cluster_selection_filter"); - -ArenaPromise -XdsResolver::ClusterSelectionFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { - auto* service_config_call_data = - static_cast( - GetContext() - [GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA] - .value); - GPR_ASSERT(service_config_call_data != nullptr); - auto* route_state_attribute = static_cast( - service_config_call_data->GetCallAttribute()); - auto* cluster_name_attribute = - service_config_call_data->GetCallAttribute(); - if (route_state_attribute != nullptr && cluster_name_attribute != nullptr) { - auto cluster = route_state_attribute->LockAndGetCluster( - cluster_name_attribute->cluster()); - if (cluster != nullptr) { - service_config_call_data->SetOnCommit( - [cluster = std::move(cluster)]() mutable { cluster.reset(); }); - } - } - return next_promise_factory(std::move(call_args)); -} - -// -// XdsResolver -// - -void XdsResolver::StartLocked() { - auto xds_client = GrpcXdsClient::GetOrCreate(args_, "xds resolver"); - if (!xds_client.ok()) { - gpr_log(GPR_ERROR, - "Failed to create xds client -- channel will remain in " - "TRANSIENT_FAILURE: %s", - xds_client.status().ToString().c_str()); - absl::Status status = absl::UnavailableError(absl::StrCat( - "Failed to create XdsClient: ", xds_client.status().message())); - Result result; - result.addresses = status; - result.service_config = std::move(status); - result.args = args_; - result_handler_->ReportResult(std::move(result)); - return; - } - xds_client_ = std::move(*xds_client); - std::string resource_name_fragment(absl::StripPrefix(uri_.path(), "/")); - if (!uri_.authority().empty()) { - // target_uri.authority is set case - const auto* authority_config = - static_cast( - xds_client_->bootstrap().LookupAuthority(uri_.authority())); - if (authority_config == nullptr) { - absl::Status status = absl::UnavailableError( - absl::StrCat("Invalid target URI -- authority not found for ", - uri_.authority().c_str())); - Result result; - result.addresses = status; - result.service_config = std::move(status); - result.args = args_; - result_handler_->ReportResult(std::move(result)); - return; - } - std::string name_template = - authority_config->client_listener_resource_name_template(); - if (name_template.empty()) { - name_template = absl::StrCat( - "xdstp://", URI::PercentEncodeAuthority(uri_.authority()), - "/envoy.config.listener.v3.Listener/%s"); - } - lds_resource_name_ = absl::StrReplaceAll( - name_template, - {{"%s", URI::PercentEncodePath(resource_name_fragment)}}); - } else { - // target_uri.authority not set - absl::string_view name_template = - static_cast(xds_client_->bootstrap()) - .client_default_listener_resource_name_template(); - if (name_template.empty()) { - name_template = "%s"; - } - if (absl::StartsWith(name_template, "xdstp:")) { - resource_name_fragment = URI::PercentEncodePath(resource_name_fragment); - } - lds_resource_name_ = - absl::StrReplaceAll(name_template, {{"%s", resource_name_fragment}}); - } - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_resolver_trace)) { - gpr_log(GPR_INFO, "[xds_resolver %p] Started with lds_resource_name %s.", - this, lds_resource_name_.c_str()); - } - grpc_pollset_set_add_pollset_set( - static_cast(xds_client_.get())->interested_parties(), - interested_parties_); - auto watcher = MakeRefCounted(Ref()); - listener_watcher_ = watcher.get(); - XdsListenerResourceType::StartWatch(xds_client_.get(), lds_resource_name_, - std::move(watcher)); -} - -void XdsResolver::ShutdownLocked() { - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_resolver_trace)) { - gpr_log(GPR_INFO, "[xds_resolver %p] shutting down", this); - } - if (xds_client_ != nullptr) { - if (listener_watcher_ != nullptr) { - XdsListenerResourceType::CancelWatch( - xds_client_.get(), lds_resource_name_, listener_watcher_, - /*delay_unsubscription=*/false); - } - if (route_config_watcher_ != nullptr) { - XdsRouteConfigResourceType::CancelWatch( - xds_client_.get(), route_config_name_, route_config_watcher_, - /*delay_unsubscription=*/false); - } - grpc_pollset_set_del_pollset_set( - static_cast(xds_client_.get())->interested_parties(), - interested_parties_); - xds_client_.reset(DEBUG_LOCATION, "xds resolver"); - } -} - -void XdsResolver::OnListenerUpdate( - std::shared_ptr listener) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_resolver_trace)) { - gpr_log(GPR_INFO, "[xds_resolver %p] received updated listener data", this); - } - if (xds_client_ == nullptr) return; - const auto* hcm = absl::get_if( - &listener->listener); - if (hcm == nullptr) { - return OnError(lds_resource_name_, - absl::UnavailableError("not an API listener")); - } - current_listener_ = std::move(listener); - Match( - hcm->route_config, - // RDS resource name - [&](const std::string& rds_name) { - // If the RDS name changed, update the RDS watcher. - // Note that this will be true on the initial update, because - // route_config_name_ will be empty. - if (route_config_name_ != rds_name) { - // If we already had a watch (i.e., if the previous config had - // a different RDS name), stop the previous watch. - // There will be no previous watch if either (a) this is the - // initial resource update or (b) the previous Listener had an - // inlined RouteConfig. - if (route_config_watcher_ != nullptr) { - XdsRouteConfigResourceType::CancelWatch( - xds_client_.get(), route_config_name_, route_config_watcher_, - /*delay_unsubscription=*/true); - route_config_watcher_ = nullptr; - } - // Start watch for the new RDS resource name. - route_config_name_ = rds_name; - auto watcher = MakeRefCounted(Ref()); - route_config_watcher_ = watcher.get(); - XdsRouteConfigResourceType::StartWatch( - xds_client_.get(), route_config_name_, std::move(watcher)); - } else { - // RDS resource name has not changed, so no watch needs to be - // updated, but we still need to propagate any changes in the - // HCM config (e.g., the list of HTTP filters). - GenerateResult(); - } - }, - // inlined RouteConfig - [&](const std::shared_ptr& route_config) { - // If the previous update specified an RDS resource instead of - // having an inlined RouteConfig, we need to cancel the RDS watch. - if (route_config_watcher_ != nullptr) { - XdsRouteConfigResourceType::CancelWatch( - xds_client_.get(), route_config_name_, route_config_watcher_); - route_config_watcher_ = nullptr; - route_config_name_.clear(); - } - OnRouteConfigUpdate(route_config); - }); -} - -class VirtualHostListIterator : public XdsRouting::VirtualHostListIterator { - public: - explicit VirtualHostListIterator( - const std::vector* virtual_hosts) - : virtual_hosts_(virtual_hosts) {} - - size_t Size() const override { return virtual_hosts_->size(); } - - const std::vector& GetDomainsForVirtualHost( - size_t index) const override { - return (*virtual_hosts_)[index].domains; - } - - private: - const std::vector* virtual_hosts_; -}; - -void XdsResolver::OnRouteConfigUpdate( - std::shared_ptr rds_update) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_resolver_trace)) { - gpr_log(GPR_INFO, "[xds_resolver %p] received updated route config", this); - } - if (xds_client_ == nullptr) return; - // Find the relevant VirtualHost from the RouteConfiguration. - auto vhost_index = XdsRouting::FindVirtualHostForDomain( - VirtualHostListIterator(&rds_update->virtual_hosts), - data_plane_authority_); - if (!vhost_index.has_value()) { - OnError( - route_config_name_.empty() ? lds_resource_name_ : route_config_name_, - absl::UnavailableError(absl::StrCat("could not find VirtualHost for ", - data_plane_authority_, - " in RouteConfiguration"))); - return; - } - // Save the virtual host in the resolver. - current_route_config_ = std::move(rds_update); - current_virtual_host_ = ¤t_route_config_->virtual_hosts[*vhost_index]; - // Send a new result to the channel. - GenerateResult(); -} - -void XdsResolver::OnError(absl::string_view context, absl::Status status) { - gpr_log(GPR_ERROR, "[xds_resolver %p] received error from XdsClient: %s: %s", - this, std::string(context).c_str(), status.ToString().c_str()); - if (xds_client_ == nullptr) return; - status = - absl::UnavailableError(absl::StrCat(context, ": ", status.ToString())); - Result result; - result.addresses = status; - result.service_config = std::move(status); - // Need to explicitly convert to the right RefCountedPtr<> type for - // use with ChannelArgs::SetObject(). - RefCountedPtr xds_client = - xds_client_->Ref(DEBUG_LOCATION, "xds resolver result"); - result.args = args_.SetObject(std::move(xds_client)); - result_handler_->ReportResult(std::move(result)); -} - -void XdsResolver::OnResourceDoesNotExist(std::string context) { - gpr_log(GPR_ERROR, - "[xds_resolver %p] LDS/RDS resource does not exist -- clearing " - "update and returning empty service config", - this); - if (xds_client_ == nullptr) return; - current_virtual_host_ = nullptr; - Result result; - result.addresses.emplace(); - result.service_config = ServiceConfigImpl::Create(args_, "{}"); - GPR_ASSERT(result.service_config.ok()); - result.resolution_note = std::move(context); - result.args = args_; - result_handler_->ReportResult(std::move(result)); -} - -absl::StatusOr> -XdsResolver::CreateServiceConfig() { - std::vector clusters; - for (const auto& cluster : cluster_ref_map_) { - absl::string_view child_name = cluster.first; - if (absl::ConsumePrefix(&child_name, "cluster_specifier_plugin:")) { - clusters.push_back(absl::StrFormat( - " \"%s\":{\n" - " \"childPolicy\": %s\n" - " }", - cluster.first, - current_route_config_->cluster_specifier_plugin_map.at( - std::string(child_name)))); - } else { - absl::ConsumePrefix(&child_name, "cluster:"); - clusters.push_back( - absl::StrFormat(" \"%s\":{\n" - " \"childPolicy\":[ {\n" - " \"cds_experimental\":{\n" - " \"cluster\": \"%s\"\n" - " }\n" - " } ]\n" - " }", - cluster.first, child_name)); - } - } - std::vector config_parts; - config_parts.push_back( - "{\n" - " \"loadBalancingConfig\":[\n" - " { \"xds_cluster_manager_experimental\":{\n" - " \"children\":{\n"); - config_parts.push_back(absl::StrJoin(clusters, ",\n")); - config_parts.push_back( - " }\n" - " } }\n" - " ]\n" - "}"); - std::string json = absl::StrJoin(config_parts, ""); - return ServiceConfigImpl::Create(args_, json.c_str()); -} - -void XdsResolver::GenerateResult() { - if (current_virtual_host_ == nullptr) return; - // First create XdsConfigSelector, which may add new entries to the cluster - // state map, and then CreateServiceConfig for LB policies. - const auto& hcm = absl::get( - current_listener_->listener); - auto route_config_data = RouteConfigData::Create( - this, current_virtual_host_->routes, hcm.http_max_stream_duration); - if (!route_config_data.ok()) { - OnError("could not create ConfigSelector", - absl::UnavailableError(route_config_data.status().message())); - return; - } - auto config_selector = - MakeRefCounted(Ref(), std::move(*route_config_data)); - Result result; - result.addresses.emplace(); - result.service_config = CreateServiceConfig(); - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_resolver_trace)) { - gpr_log(GPR_INFO, "[xds_resolver %p] generated service config: %s", this, - result.service_config.ok() - ? std::string((*result.service_config)->json_string()).c_str() - : result.service_config.status().ToString().c_str()); - } - // Need to explicitly convert to the right RefCountedPtr<> type for - // use with ChannelArgs::SetObject(). - RefCountedPtr xds_client = - xds_client_->Ref(DEBUG_LOCATION, "xds resolver result"); - result.args = - args_.SetObject(std::move(xds_client)).SetObject(config_selector); - result_handler_->ReportResult(std::move(result)); -} - -void XdsResolver::MaybeRemoveUnusedClusters() { - bool update_needed = false; - for (auto it = cluster_ref_map_.begin(); it != cluster_ref_map_.end();) { - RefCountedPtr cluster_state = it->second->RefIfNonZero(); - if (cluster_state != nullptr) { - ++it; - } else { - update_needed = true; - it = cluster_ref_map_.erase(it); - } - } - if (update_needed && xds_client_ != nullptr) { - // Send a new result to the channel. - GenerateResult(); - } -} - -// -// XdsResolverFactory -// - -class XdsResolverFactory : public ResolverFactory { - public: - absl::string_view scheme() const override { return "xds"; } - - bool IsValidUri(const URI& uri) const override { - if (uri.path().empty() || uri.path().back() == '/') { - gpr_log(GPR_ERROR, - "URI path does not contain valid data plane authority"); - return false; - } - return true; - } - - OrphanablePtr CreateResolver(ResolverArgs args) const override { - if (!IsValidUri(args.uri)) return nullptr; - std::string authority = GetDataPlaneAuthority(args.args, args.uri); - return MakeOrphanable(std::move(args), std::move(authority)); - } - - private: - std::string GetDataPlaneAuthority(const ChannelArgs& args, - const URI& uri) const { - absl::optional authority = - args.GetString(GRPC_ARG_DEFAULT_AUTHORITY); - if (authority.has_value()) return URI::PercentEncodeAuthority(*authority); - return GetDefaultAuthority(uri); - } -}; - -} // namespace - -void RegisterXdsResolver(CoreConfiguration::Builder* builder) { - builder->resolver_registry()->RegisterResolverFactory( - std::make_unique()); -} - -} // namespace grpc_core diff --git a/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h b/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h deleted file mode 100644 index 93c48ac0d7d..00000000000 --- a/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +++ /dev/null @@ -1,61 +0,0 @@ -// -// Copyright 2019 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#ifndef GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_XDS_XDS_RESOLVER_H -#define GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_XDS_XDS_RESOLVER_H - -#include - -#include "absl/strings/string_view.h" - -#include "src/core/lib/gprpp/unique_type_name.h" -#include "src/core/lib/service_config/service_config_call_data.h" - -namespace grpc_core { - -class XdsClusterAttribute - : public ServiceConfigCallData::CallAttributeInterface { - public: - static UniqueTypeName TypeName() { - static UniqueTypeName::Factory kFactory("xds_cluster_name"); - return kFactory.Create(); - } - - explicit XdsClusterAttribute(absl::string_view cluster) : cluster_(cluster) {} - - absl::string_view cluster() const { return cluster_; } - void set_cluster(absl::string_view cluster) { cluster_ = cluster; } - - private: - UniqueTypeName type() const override { return TypeName(); } - - absl::string_view cluster_; -}; - -class XdsRouteStateAttribute - : public ServiceConfigCallData::CallAttributeInterface { - public: - static UniqueTypeName TypeName() { - static UniqueTypeName::Factory factory("xds_cluster_lb_data"); - return factory.Create(); - } - - virtual bool HasClusterForRoute(absl::string_view cluster_name) const = 0; - UniqueTypeName type() const override { return TypeName(); } -}; -} // namespace grpc_core - -#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_XDS_XDS_RESOLVER_H diff --git a/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc b/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc deleted file mode 100644 index 077e69f8579..00000000000 --- a/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +++ /dev/null @@ -1,124 +0,0 @@ -// -// Copyright 2020 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -// This filter reads GRPC_ARG_SERVICE_CONFIG and populates ServiceConfigCallData -// in the call context per call for direct channels. - -#include - -#include -#include -#include -#include - -#include "absl/status/status.h" -#include "absl/status/statusor.h" -#include "absl/types/optional.h" - -#include -#include - -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/channel/channel_fwd.h" -#include "src/core/lib/channel/channel_stack.h" -#include "src/core/lib/channel/channel_stack_builder.h" -#include "src/core/lib/channel/context.h" -#include "src/core/lib/channel/promise_based_filter.h" -#include "src/core/lib/config/core_configuration.h" -#include "src/core/lib/gprpp/ref_counted_ptr.h" -#include "src/core/lib/promise/arena_promise.h" -#include "src/core/lib/promise/context.h" -#include "src/core/lib/resource_quota/arena.h" -#include "src/core/lib/service_config/service_config.h" -#include "src/core/lib/service_config/service_config_call_data.h" -#include "src/core/lib/service_config/service_config_impl.h" -#include "src/core/lib/service_config/service_config_parser.h" -#include "src/core/lib/surface/channel_init.h" -#include "src/core/lib/surface/channel_stack_type.h" -#include "src/core/lib/transport/metadata_batch.h" -#include "src/core/lib/transport/transport.h" - -namespace grpc_core { - -namespace { - -class ServiceConfigChannelArgFilter : public ChannelFilter { - public: - static absl::StatusOr Create( - const ChannelArgs& args, ChannelFilter::Args) { - return ServiceConfigChannelArgFilter(args); - } - - explicit ServiceConfigChannelArgFilter(const ChannelArgs& args) { - auto service_config_str = args.GetOwnedString(GRPC_ARG_SERVICE_CONFIG); - if (service_config_str.has_value()) { - auto service_config = - ServiceConfigImpl::Create(args, *service_config_str); - if (!service_config.ok()) { - gpr_log(GPR_ERROR, "%s", service_config.status().ToString().c_str()); - } else { - service_config_ = std::move(*service_config); - } - } - } - - // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; - - private: - RefCountedPtr service_config_; -}; - -ArenaPromise -ServiceConfigChannelArgFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { - const ServiceConfigParser::ParsedConfigVector* method_configs = nullptr; - if (service_config_ != nullptr) { - method_configs = service_config_->GetMethodParsedConfigVector( - call_args.client_initial_metadata->get_pointer(HttpPathMetadata()) - ->c_slice()); - } - auto* arena = GetContext(); - auto* service_config_call_data = arena->New( - arena, GetContext()); - service_config_call_data->SetServiceConfig(service_config_, method_configs); - return next_promise_factory(std::move(call_args)); -} - -const grpc_channel_filter kServiceConfigChannelArgFilter = - MakePromiseBasedFilter( - "service_config_channel_arg"); - -} // namespace - -void RegisterServiceConfigChannelArgFilter( - CoreConfiguration::Builder* builder) { - builder->channel_init()->RegisterStage( - GRPC_CLIENT_DIRECT_CHANNEL, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, - [](ChannelStackBuilder* builder) { - auto channel_args = builder->channel_args(); - if (channel_args.WantMinimalStack() || - !channel_args.GetString(GRPC_ARG_SERVICE_CONFIG).has_value()) { - return true; - } - builder->PrependFilter(&kServiceConfigChannelArgFilter); - return true; - }); -} - -} // namespace grpc_core diff --git a/src/core/ext/filters/deadline/deadline_filter.cc b/src/core/ext/filters/deadline/deadline_filter.cc index 4562e45c612..588827b9584 100644 --- a/src/core/ext/filters/deadline/deadline_filter.cc +++ b/src/core/ext/filters/deadline/deadline_filter.cc @@ -30,8 +30,6 @@ #include #include -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/channel/channel_stack_builder.h" #include "src/core/lib/config/core_configuration.h" #include "src/core/lib/gprpp/debug_location.h" #include "src/core/lib/gprpp/status_helper.h" @@ -41,7 +39,6 @@ #include "src/core/lib/promise/arena_promise.h" #include "src/core/lib/promise/context.h" #include "src/core/lib/surface/call.h" -#include "src/core/lib/surface/channel_init.h" #include "src/core/lib/surface/channel_stack_type.h" #include "src/core/lib/transport/metadata_batch.h" @@ -346,6 +343,7 @@ const grpc_channel_filter grpc_client_deadline_filter = { grpc_core::NextPromiseFactory next_promise_factory) { return next_promise_factory(std::move(call_args)); }, + /* init_call: */ nullptr, grpc_channel_next_op, sizeof(grpc_deadline_state), deadline_init_call_elem, @@ -371,6 +369,17 @@ const grpc_channel_filter grpc_server_deadline_filter = { } return next_promise_factory(std::move(call_args)); }, + [](grpc_channel_element*, grpc_core::CallSpineInterface* spine) { + spine->client_initial_metadata().receiver.InterceptAndMap( + [](grpc_core::ClientMetadataHandle md) { + auto deadline = md->get(grpc_core::GrpcTimeoutMetadata()); + if (deadline.has_value()) { + grpc_core::GetContext()->UpdateDeadline( + *deadline); + } + return md; + }); + }, grpc_channel_next_op, sizeof(server_call_data), deadline_init_call_elem, @@ -384,27 +393,15 @@ const grpc_channel_filter grpc_server_deadline_filter = { "deadline", }; -bool grpc_deadline_checking_enabled( - const grpc_core::ChannelArgs& channel_args) { - return channel_args.GetBool(GRPC_ARG_ENABLE_DEADLINE_CHECKS) - .value_or(!channel_args.WantMinimalStack()); -} - namespace grpc_core { void RegisterDeadlineFilter(CoreConfiguration::Builder* builder) { - auto register_filter = [builder](grpc_channel_stack_type type, - const grpc_channel_filter* filter) { - builder->channel_init()->RegisterStage( - type, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, - [filter](ChannelStackBuilder* builder) { - auto args = builder->channel_args(); - if (grpc_deadline_checking_enabled(args)) { - builder->PrependFilter(filter); - } - return true; - }); - }; - register_filter(GRPC_CLIENT_DIRECT_CHANNEL, &grpc_client_deadline_filter); - register_filter(GRPC_SERVER_CHANNEL, &grpc_server_deadline_filter); + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_DIRECT_CHANNEL, &grpc_client_deadline_filter) + .ExcludeFromMinimalStack() + .IfChannelArg(GRPC_ARG_ENABLE_DEADLINE_CHECKS, true); + builder->channel_init() + ->RegisterFilter(GRPC_SERVER_CHANNEL, &grpc_server_deadline_filter) + .ExcludeFromMinimalStack() + .IfChannelArg(GRPC_ARG_ENABLE_DEADLINE_CHECKS, true); } } // namespace grpc_core diff --git a/src/core/ext/filters/deadline/deadline_filter.h b/src/core/ext/filters/deadline/deadline_filter.h index 03dc29642c9..131f49d2473 100644 --- a/src/core/ext/filters/deadline/deadline_filter.h +++ b/src/core/ext/filters/deadline/deadline_filter.h @@ -19,7 +19,6 @@ #include -#include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/channel_stack.h" #include "src/core/lib/gprpp/time.h" @@ -77,9 +76,6 @@ void grpc_deadline_state_reset(grpc_deadline_state* deadline_state, void grpc_deadline_state_client_start_transport_stream_op_batch( grpc_deadline_state* deadline_state, grpc_transport_stream_op_batch* op); -// Should deadline checking be performed (according to channel args) -bool grpc_deadline_checking_enabled(const grpc_core::ChannelArgs& args); - // Deadline filters for direct client channels and server channels. // Note: Deadlines for non-direct client channels are handled by the // client_channel filter. diff --git a/src/core/ext/filters/fault_injection/fault_injection_filter.cc b/src/core/ext/filters/fault_injection/fault_injection_filter.cc index f1db4e22b4b..1ab908fb74d 100644 --- a/src/core/ext/filters/fault_injection/fault_injection_filter.cc +++ b/src/core/ext/filters/fault_injection/fault_injection_filter.cc @@ -27,6 +27,7 @@ #include #include +#include "absl/meta/type_traits.h" #include "absl/status/status.h" #include "absl/strings/numbers.h" #include "absl/strings/str_cat.h" @@ -46,13 +47,18 @@ #include "src/core/lib/promise/context.h" #include "src/core/lib/promise/sleep.h" #include "src/core/lib/promise/try_seq.h" -#include "src/core/lib/service_config/service_config_call_data.h" #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" +#include "src/core/service_config/service_config_call_data.h" namespace grpc_core { TraceFlag grpc_fault_injection_filter_trace(false, "fault_injection_filter"); +const NoInterceptor FaultInjectionFilter::Call::OnServerInitialMetadata; +const NoInterceptor FaultInjectionFilter::Call::OnServerTrailingMetadata; +const NoInterceptor FaultInjectionFilter::Call::OnClientToServerMessage; +const NoInterceptor FaultInjectionFilter::Call::OnServerToClientMessage; +const NoInterceptor FaultInjectionFilter::Call::OnFinalize; namespace { @@ -143,23 +149,22 @@ FaultInjectionFilter::FaultInjectionFilter(ChannelFilter::Args filter_args) mu_(new Mutex) {} // Construct a promise for one call. -ArenaPromise FaultInjectionFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { - auto decision = MakeInjectionDecision(call_args.client_initial_metadata); +ArenaPromise FaultInjectionFilter::Call::OnClientInitialMetadata( + ClientMetadata& md, FaultInjectionFilter* filter) { + auto decision = filter->MakeInjectionDecision(md); if (GRPC_TRACE_FLAG_ENABLED(grpc_fault_injection_filter_trace)) { gpr_log(GPR_INFO, "chand=%p: Fault injection triggered %s", this, decision.ToString().c_str()); } auto delay = decision.DelayUntil(); - return TrySeq( - Sleep(delay), - [decision = std::move(decision)]() { return decision.MaybeAbort(); }, - next_promise_factory(std::move(call_args))); + return TrySeq(Sleep(delay), [decision = std::move(decision)]() { + return decision.MaybeAbort(); + }); } FaultInjectionFilter::InjectionDecision FaultInjectionFilter::MakeInjectionDecision( - const ClientMetadataHandle& initial_metadata) { + const ClientMetadata& initial_metadata) { // Fetch the fault injection policy from the service config, based on the // relative index for which policy should this CallData use. auto* service_config_call_data = static_cast( @@ -187,15 +192,15 @@ FaultInjectionFilter::MakeInjectionDecision( !fi_policy->delay_percentage_header.empty()) { std::string buffer; if (!fi_policy->abort_code_header.empty() && abort_code == GRPC_STATUS_OK) { - auto value = initial_metadata->GetStringValue( - fi_policy->abort_code_header, &buffer); + auto value = initial_metadata.GetStringValue(fi_policy->abort_code_header, + &buffer); if (value.has_value()) { grpc_status_code_from_int( AsInt(*value).value_or(GRPC_STATUS_UNKNOWN), &abort_code); } } if (!fi_policy->abort_percentage_header.empty()) { - auto value = initial_metadata->GetStringValue( + auto value = initial_metadata.GetStringValue( fi_policy->abort_percentage_header, &buffer); if (value.has_value()) { abort_percentage_numerator = std::min( @@ -204,14 +209,14 @@ FaultInjectionFilter::MakeInjectionDecision( } if (!fi_policy->delay_header.empty() && delay == Duration::Zero()) { auto value = - initial_metadata->GetStringValue(fi_policy->delay_header, &buffer); + initial_metadata.GetStringValue(fi_policy->delay_header, &buffer); if (value.has_value()) { delay = Duration::Milliseconds( std::max(AsInt(*value).value_or(0), int64_t{0})); } } if (!fi_policy->delay_percentage_header.empty()) { - auto value = initial_metadata->GetStringValue( + auto value = initial_metadata.GetStringValue( fi_policy->delay_percentage_header, &buffer); if (value.has_value()) { delay_percentage_numerator = std::min( diff --git a/src/core/ext/filters/fault_injection/fault_injection_filter.h b/src/core/ext/filters/fault_injection/fault_injection_filter.h index ed1006f4e66..e2918e854f5 100644 --- a/src/core/ext/filters/fault_injection/fault_injection_filter.h +++ b/src/core/ext/filters/fault_injection/fault_injection_filter.h @@ -40,7 +40,8 @@ namespace grpc_core { // of the ordinary channel stack. The fault injection filter fetches fault // injection policy from the method config of service config returned by the // resolver, and enforces the fault injection policy. -class FaultInjectionFilter : public ChannelFilter { +class FaultInjectionFilter + : public ImplementChannelFilter { public: static const grpc_channel_filter kFilter; @@ -48,15 +49,23 @@ class FaultInjectionFilter : public ChannelFilter { const ChannelArgs& args, ChannelFilter::Args filter_args); // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + ArenaPromise OnClientInitialMetadata( + ClientMetadata& md, FaultInjectionFilter* filter); + static const NoInterceptor OnServerInitialMetadata; + static const NoInterceptor OnServerTrailingMetadata; + static const NoInterceptor OnClientToServerMessage; + static const NoInterceptor OnServerToClientMessage; + static const NoInterceptor OnFinalize; + }; private: explicit FaultInjectionFilter(ChannelFilter::Args filter_args); class InjectionDecision; InjectionDecision MakeInjectionDecision( - const ClientMetadataHandle& initial_metadata); + const ClientMetadata& initial_metadata); // The relative index of instances of the same filter. size_t index_; diff --git a/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h b/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h index acd8aa72491..4cb2c1b03bb 100644 --- a/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +++ b/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h @@ -38,7 +38,7 @@ #include "src/core/lib/json/json.h" #include "src/core/lib/json/json_args.h" #include "src/core/lib/json/json_object_loader.h" -#include "src/core/lib/service_config/service_config_parser.h" +#include "src/core/service_config/service_config_parser.h" // Channel arg key for enabling parsing fault injection via method config. #define GRPC_ARG_PARSE_FAULT_INJECTION_METHOD_CONFIG \ diff --git a/src/core/ext/filters/http/client/http_client_filter.cc b/src/core/ext/filters/http/client/http_client_filter.cc index 6ed05d95186..ac8004cdd3e 100644 --- a/src/core/ext/filters/http/client/http_client_filter.cc +++ b/src/core/ext/filters/http/client/http_client_filter.cc @@ -21,7 +21,6 @@ #include #include -#include #include #include #include @@ -44,16 +43,18 @@ #include "src/core/lib/promise/latch.h" #include "src/core/lib/promise/map.h" #include "src/core/lib/promise/pipe.h" -#include "src/core/lib/promise/poll.h" #include "src/core/lib/promise/race.h" #include "src/core/lib/resource_quota/arena.h" #include "src/core/lib/slice/percent_encoding.h" #include "src/core/lib/transport/status_conversion.h" -#include "src/core/lib/transport/transport_fwd.h" -#include "src/core/lib/transport/transport_impl.h" +#include "src/core/lib/transport/transport.h" namespace grpc_core { +const NoInterceptor HttpClientFilter::Call::OnServerToClientMessage; +const NoInterceptor HttpClientFilter::Call::OnClientToServerMessage; +const NoInterceptor HttpClientFilter::Call::OnFinalize; + const grpc_channel_filter HttpClientFilter::kFilter = MakePromiseBasedFilter("http-client"); @@ -92,7 +93,8 @@ HttpSchemeMetadata::ValueType SchemeFromArgs(const ChannelArgs& args) { return scheme; } -Slice UserAgentFromArgs(const ChannelArgs& args, const char* transport_name) { +Slice UserAgentFromArgs(const ChannelArgs& args, + absl::string_view transport_name) { std::vector fields; auto add = [&fields](absl::string_view x) { if (!x.empty()) fields.push_back(std::string(x)); @@ -107,40 +109,27 @@ Slice UserAgentFromArgs(const ChannelArgs& args, const char* transport_name) { } } // namespace -ArenaPromise HttpClientFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { - auto& md = call_args.client_initial_metadata; - if (test_only_use_put_requests_) { - md->Set(HttpMethodMetadata(), HttpMethodMetadata::kPut); +void HttpClientFilter::Call::OnClientInitialMetadata(ClientMetadata& md, + HttpClientFilter* filter) { + if (filter->test_only_use_put_requests_) { + md.Set(HttpMethodMetadata(), HttpMethodMetadata::kPut); } else { - md->Set(HttpMethodMetadata(), HttpMethodMetadata::kPost); + md.Set(HttpMethodMetadata(), HttpMethodMetadata::kPost); } - md->Set(HttpSchemeMetadata(), scheme_); - md->Set(TeMetadata(), TeMetadata::kTrailers); - md->Set(ContentTypeMetadata(), ContentTypeMetadata::kApplicationGrpc); - md->Set(UserAgentMetadata(), user_agent_.Ref()); - - auto* initial_metadata_err = - GetContext()->New>(); - - call_args.server_initial_metadata->InterceptAndMap( - [initial_metadata_err]( - ServerMetadataHandle md) -> absl::optional { - auto r = CheckServerMetadata(md.get()); - if (!r.ok()) { - initial_metadata_err->Set(ServerMetadataFromStatus(r)); - return absl::nullopt; - } - return std::move(md); - }); - - return Race(initial_metadata_err->Wait(), - Map(next_promise_factory(std::move(call_args)), - [](ServerMetadataHandle md) -> ServerMetadataHandle { - auto r = CheckServerMetadata(md.get()); - if (!r.ok()) return ServerMetadataFromStatus(r); - return md; - })); + md.Set(HttpSchemeMetadata(), filter->scheme_); + md.Set(TeMetadata(), TeMetadata::kTrailers); + md.Set(ContentTypeMetadata(), ContentTypeMetadata::kApplicationGrpc); + md.Set(UserAgentMetadata(), filter->user_agent_.Ref()); +} + +absl::Status HttpClientFilter::Call::OnServerInitialMetadata( + ServerMetadata& md) { + return CheckServerMetadata(&md); +} + +absl::Status HttpClientFilter::Call::OnServerTrailingMetadata( + ServerMetadata& md) { + return CheckServerMetadata(&md); } HttpClientFilter::HttpClientFilter(HttpSchemeMetadata::ValueType scheme, @@ -152,12 +141,13 @@ HttpClientFilter::HttpClientFilter(HttpSchemeMetadata::ValueType scheme, absl::StatusOr HttpClientFilter::Create( const ChannelArgs& args, ChannelFilter::Args) { - auto* transport = args.GetObject(); + auto* transport = args.GetObject(); if (transport == nullptr) { return absl::InvalidArgumentError("HttpClientFilter needs a transport"); } return HttpClientFilter( - SchemeFromArgs(args), UserAgentFromArgs(args, transport->vtable->name), + SchemeFromArgs(args), + UserAgentFromArgs(args, transport->GetTransportName()), args.GetInt(GRPC_ARG_TEST_ONLY_USE_PUT_REQUESTS).value_or(false)); } diff --git a/src/core/ext/filters/http/client/http_client_filter.h b/src/core/ext/filters/http/client/http_client_filter.h index 298daf03c67..dbfa9f7f2d0 100644 --- a/src/core/ext/filters/http/client/http_client_filter.h +++ b/src/core/ext/filters/http/client/http_client_filter.h @@ -25,23 +25,28 @@ #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/promise_based_filter.h" -#include "src/core/lib/promise/arena_promise.h" #include "src/core/lib/slice/slice.h" #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" namespace grpc_core { -class HttpClientFilter : public ChannelFilter { +class HttpClientFilter : public ImplementChannelFilter { public: static const grpc_channel_filter kFilter; static absl::StatusOr Create( const ChannelArgs& args, ChannelFilter::Args filter_args); - // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + void OnClientInitialMetadata(ClientMetadata& md, HttpClientFilter* filter); + absl::Status OnServerInitialMetadata(ServerMetadata& md); + absl::Status OnServerTrailingMetadata(ServerMetadata& md); + static const NoInterceptor OnClientToServerMessage; + static const NoInterceptor OnServerToClientMessage; + static const NoInterceptor OnFinalize; + }; private: HttpClientFilter(HttpSchemeMetadata::ValueType scheme, Slice user_agent, diff --git a/src/core/ext/filters/http/client_authority_filter.cc b/src/core/ext/filters/http/client_authority_filter.cc index 6350788b403..3df6d275f6a 100644 --- a/src/core/ext/filters/http/client_authority_filter.cc +++ b/src/core/ext/filters/http/client_authority_filter.cc @@ -20,8 +20,6 @@ #include "src/core/ext/filters/http/client_authority_filter.h" -#include - #include #include @@ -32,13 +30,19 @@ #include #include "src/core/lib/channel/channel_stack.h" -#include "src/core/lib/channel/channel_stack_builder.h" #include "src/core/lib/config/core_configuration.h" +#include "src/core/lib/security/transport/auth_filters.h" #include "src/core/lib/surface/channel_stack_type.h" #include "src/core/lib/transport/metadata_batch.h" namespace grpc_core { +const NoInterceptor ClientAuthorityFilter::Call::OnServerInitialMetadata; +const NoInterceptor ClientAuthorityFilter::Call::OnServerTrailingMetadata; +const NoInterceptor ClientAuthorityFilter::Call::OnClientToServerMessage; +const NoInterceptor ClientAuthorityFilter::Call::OnServerToClientMessage; +const NoInterceptor ClientAuthorityFilter::Call::OnFinalize; + absl::StatusOr ClientAuthorityFilter::Create( const ChannelArgs& args, ChannelFilter::Args) { absl::optional default_authority = @@ -51,17 +55,12 @@ absl::StatusOr ClientAuthorityFilter::Create( return ClientAuthorityFilter(Slice::FromCopiedString(*default_authority)); } -ArenaPromise ClientAuthorityFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { +void ClientAuthorityFilter::Call::OnClientInitialMetadata( + ClientMetadata& md, ClientAuthorityFilter* filter) { // If no authority is set, set the default authority. - if (call_args.client_initial_metadata->get_pointer(HttpAuthorityMetadata()) == - nullptr) { - call_args.client_initial_metadata->Set(HttpAuthorityMetadata(), - default_authority_.Ref()); + if (md.get_pointer(HttpAuthorityMetadata()) == nullptr) { + md.Set(HttpAuthorityMetadata(), filter->default_authority_.Ref()); } - // We have no asynchronous work, so we can just ask the next promise to run, - // passing down initial_metadata. - return next_promise_factory(std::move(call_args)); } const grpc_channel_filter ClientAuthorityFilter::kFilter = @@ -69,22 +68,21 @@ const grpc_channel_filter ClientAuthorityFilter::kFilter = "authority"); namespace { -bool add_client_authority_filter(ChannelStackBuilder* builder) { - if (builder->channel_args() - .GetBool(GRPC_ARG_DISABLE_CLIENT_AUTHORITY_FILTER) - .value_or(false)) { - return true; - } - builder->PrependFilter(&ClientAuthorityFilter::kFilter); - return true; +bool NeedsClientAuthorityFilter(const ChannelArgs& args) { + return !args.GetBool(GRPC_ARG_DISABLE_CLIENT_AUTHORITY_FILTER) + .value_or(false); } } // namespace void RegisterClientAuthorityFilter(CoreConfiguration::Builder* builder) { - builder->channel_init()->RegisterStage(GRPC_CLIENT_SUBCHANNEL, INT_MAX, - add_client_authority_filter); - builder->channel_init()->RegisterStage(GRPC_CLIENT_DIRECT_CHANNEL, INT_MAX, - add_client_authority_filter); + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_SUBCHANNEL) + .If(NeedsClientAuthorityFilter) + .Before(); + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_DIRECT_CHANNEL) + .If(NeedsClientAuthorityFilter) + .Before(); } } // namespace grpc_core diff --git a/src/core/ext/filters/http/client_authority_filter.h b/src/core/ext/filters/http/client_authority_filter.h index 930e1731e5e..064e0a0a450 100644 --- a/src/core/ext/filters/http/client_authority_filter.h +++ b/src/core/ext/filters/http/client_authority_filter.h @@ -34,16 +34,24 @@ namespace grpc_core { -class ClientAuthorityFilter final : public ChannelFilter { +class ClientAuthorityFilter final + : public ImplementChannelFilter { public: static const grpc_channel_filter kFilter; static absl::StatusOr Create(const ChannelArgs& args, ChannelFilter::Args); - // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + void OnClientInitialMetadata(ClientMetadata& md, + ClientAuthorityFilter* filter); + static const NoInterceptor OnServerInitialMetadata; + static const NoInterceptor OnServerTrailingMetadata; + static const NoInterceptor OnClientToServerMessage; + static const NoInterceptor OnServerToClientMessage; + static const NoInterceptor OnFinalize; + }; private: explicit ClientAuthorityFilter(Slice default_authority) diff --git a/src/core/ext/filters/http/http_filters_plugin.cc b/src/core/ext/filters/http/http_filters_plugin.cc index 3a4b6ab9f7f..52706560c75 100644 --- a/src/core/ext/filters/http/http_filters_plugin.cc +++ b/src/core/ext/filters/http/http_filters_plugin.cc @@ -18,53 +18,73 @@ #include -#include +#include "absl/strings/match.h" #include "src/core/ext/filters/http/client/http_client_filter.h" #include "src/core/ext/filters/http/message_compress/compression_filter.h" +#include "src/core/ext/filters/http/message_compress/legacy_compression_filter.h" #include "src/core/ext/filters/http/server/http_server_filter.h" -#include "src/core/lib/channel/channel_fwd.h" -#include "src/core/lib/channel/channel_stack_builder.h" +#include "src/core/ext/filters/message_size/message_size_filter.h" +#include "src/core/lib/channel/channel_args.h" #include "src/core/lib/config/core_configuration.h" -#include "src/core/lib/surface/channel_init.h" +#include "src/core/lib/experiments/experiments.h" #include "src/core/lib/surface/channel_stack_type.h" -#include "src/core/lib/transport/transport_fwd.h" -#include "src/core/lib/transport/transport_impl.h" +#include "src/core/lib/transport/transport.h" -static bool is_building_http_like_transport( - grpc_core::ChannelStackBuilder* builder) { - grpc_transport* t = builder->transport(); - return t != nullptr && strstr(t->vtable->name, "http"); +namespace grpc_core { +namespace { +bool IsBuildingHttpLikeTransport(const ChannelArgs& args) { + auto* t = args.GetObject(); + return t != nullptr && absl::StrContains(t->GetTransportName(), "http"); } +} // namespace -namespace grpc_core { void RegisterHttpFilters(CoreConfiguration::Builder* builder) { - auto compression = [builder](grpc_channel_stack_type channel_type, - const grpc_channel_filter* filter) { - builder->channel_init()->RegisterStage( - channel_type, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, - [filter](ChannelStackBuilder* builder) { - if (!is_building_http_like_transport(builder)) return true; - builder->PrependFilter(filter); - return true; - }); - }; - auto http = [builder](grpc_channel_stack_type channel_type, - const grpc_channel_filter* filter) { - builder->channel_init()->RegisterStage( - channel_type, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, - [filter](ChannelStackBuilder* builder) { - if (is_building_http_like_transport(builder)) { - builder->PrependFilter(filter); - } - return true; - }); - }; - compression(GRPC_CLIENT_SUBCHANNEL, &ClientCompressionFilter::kFilter); - compression(GRPC_CLIENT_DIRECT_CHANNEL, &ClientCompressionFilter::kFilter); - compression(GRPC_SERVER_CHANNEL, &ServerCompressionFilter::kFilter); - http(GRPC_CLIENT_SUBCHANNEL, &HttpClientFilter::kFilter); - http(GRPC_CLIENT_DIRECT_CHANNEL, &HttpClientFilter::kFilter); - http(GRPC_SERVER_CHANNEL, &HttpServerFilter::kFilter); + if (IsV3CompressionFilterEnabled()) { + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_SUBCHANNEL) + .If(IsBuildingHttpLikeTransport) + .After() + .After(); + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_DIRECT_CHANNEL) + .If(IsBuildingHttpLikeTransport) + .After() + .After(); + builder->channel_init() + ->RegisterFilter(GRPC_SERVER_CHANNEL) + .If(IsBuildingHttpLikeTransport) + .After() + .After(); + } else { + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_SUBCHANNEL) + .If(IsBuildingHttpLikeTransport) + .After() + .After(); + builder->channel_init() + ->RegisterFilter( + GRPC_CLIENT_DIRECT_CHANNEL) + .If(IsBuildingHttpLikeTransport) + .After() + .After(); + builder->channel_init() + ->RegisterFilter(GRPC_SERVER_CHANNEL) + .If(IsBuildingHttpLikeTransport) + .After() + .After(); + } + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_SUBCHANNEL) + .If(IsBuildingHttpLikeTransport) + .After(); + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_DIRECT_CHANNEL) + .If(IsBuildingHttpLikeTransport) + .After(); + builder->channel_init() + ->RegisterFilter(GRPC_SERVER_CHANNEL) + .If(IsBuildingHttpLikeTransport) + .After(); } } // namespace grpc_core diff --git a/src/core/ext/filters/http/message_compress/compression_filter.cc b/src/core/ext/filters/http/message_compress/compression_filter.cc index 2fefd04bb66..1ffee085230 100644 --- a/src/core/ext/filters/http/message_compress/compression_filter.cc +++ b/src/core/ext/filters/http/message_compress/compression_filter.cc @@ -19,12 +19,9 @@ #include #include -#include #include -#include #include -#include "absl/meta/type_traits.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" @@ -49,7 +46,6 @@ #include "src/core/lib/promise/context.h" #include "src/core/lib/promise/latch.h" #include "src/core/lib/promise/pipe.h" -#include "src/core/lib/promise/poll.h" #include "src/core/lib/promise/prioritized_race.h" #include "src/core/lib/resource_quota/arena.h" #include "src/core/lib/slice/slice_buffer.h" @@ -60,6 +56,11 @@ namespace grpc_core { +const NoInterceptor ServerCompressionFilter::Call::OnServerTrailingMetadata; +const NoInterceptor ServerCompressionFilter::Call::OnFinalize; +const NoInterceptor ClientCompressionFilter::Call::OnServerTrailingMetadata; +const NoInterceptor ClientCompressionFilter::Call::OnFinalize; + const grpc_channel_filter ClientCompressionFilter::kFilter = MakePromiseBasedFilter ServerCompressionFilter::Create( return ServerCompressionFilter(args); } -CompressionFilter::CompressionFilter(const ChannelArgs& args) +ChannelCompression::ChannelCompression(const ChannelArgs& args) : max_recv_size_(GetMaxRecvSizeFromChannelArgs(args)), message_size_service_config_parser_index_( MessageSizeParser::ParserIndex()), @@ -109,7 +110,7 @@ CompressionFilter::CompressionFilter(const ChannelArgs& args) } } -MessageHandle CompressionFilter::CompressMessage( +MessageHandle ChannelCompression::CompressMessage( MessageHandle message, grpc_compression_algorithm algorithm) const { if (GRPC_TRACE_FLAG_ENABLED(grpc_compression_trace)) { gpr_log(GPR_INFO, "CompressMessage: len=%" PRIdPTR " alg=%d flags=%d", @@ -167,7 +168,7 @@ MessageHandle CompressionFilter::CompressMessage( return message; } -absl::StatusOr CompressionFilter::DecompressMessage( +absl::StatusOr ChannelCompression::DecompressMessage( MessageHandle message, DecompressArgs args) const { if (GRPC_TRACE_FLAG_ENABLED(grpc_compression_trace)) { gpr_log(GPR_INFO, "DecompressMessage: len=%" PRIdPTR " max=%d alg=%d", @@ -212,7 +213,7 @@ absl::StatusOr CompressionFilter::DecompressMessage( return std::move(message); } -grpc_compression_algorithm CompressionFilter::HandleOutgoingMetadata( +grpc_compression_algorithm ChannelCompression::HandleOutgoingMetadata( grpc_metadata_batch& outgoing_metadata) { const auto algorithm = outgoing_metadata.Take(GrpcInternalEncodingRequest()) .value_or(default_compression_algorithm()); @@ -225,7 +226,7 @@ grpc_compression_algorithm CompressionFilter::HandleOutgoingMetadata( return algorithm; } -CompressionFilter::DecompressArgs CompressionFilter::HandleIncomingMetadata( +ChannelCompression::DecompressArgs ChannelCompression::HandleIncomingMetadata( const grpc_metadata_batch& incoming_metadata) { // Configure max receive size. auto max_recv_message_length = max_recv_size_; @@ -236,89 +237,59 @@ CompressionFilter::DecompressArgs CompressionFilter::HandleIncomingMetadata( if (limits != nullptr && limits->max_recv_size().has_value() && (!max_recv_message_length.has_value() || *limits->max_recv_size() < *max_recv_message_length)) { - max_recv_message_length = *limits->max_recv_size(); + max_recv_message_length = limits->max_recv_size(); } return DecompressArgs{incoming_metadata.get(GrpcEncodingMetadata()) .value_or(GRPC_COMPRESS_NONE), max_recv_message_length}; } -ArenaPromise ClientCompressionFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { - auto compression_algorithm = - HandleOutgoingMetadata(*call_args.client_initial_metadata); - call_args.client_to_server_messages->InterceptAndMap( - [compression_algorithm, - this](MessageHandle message) -> absl::optional { - return CompressMessage(std::move(message), compression_algorithm); - }); - auto* decompress_args = GetContext()->New( - DecompressArgs{GRPC_COMPRESS_ALGORITHMS_COUNT, absl::nullopt}); - auto* decompress_err = - GetContext()->New>(); - call_args.server_initial_metadata->InterceptAndMap( - [decompress_args, this](ServerMetadataHandle server_initial_metadata) - -> absl::optional { - if (server_initial_metadata == nullptr) return absl::nullopt; - *decompress_args = HandleIncomingMetadata(*server_initial_metadata); - return std::move(server_initial_metadata); - }); - call_args.server_to_client_messages->InterceptAndMap( - [decompress_err, decompress_args, - this](MessageHandle message) -> absl::optional { - auto r = DecompressMessage(std::move(message), *decompress_args); - if (!r.ok()) { - decompress_err->Set(ServerMetadataFromStatus(r.status())); - return absl::nullopt; - } - return std::move(*r); - }); - // Run the next filter, and race it with getting an error from decompression. - return PrioritizedRace(decompress_err->Wait(), - next_promise_factory(std::move(call_args))); +void ClientCompressionFilter::Call::OnClientInitialMetadata( + ClientMetadata& md, ClientCompressionFilter* filter) { + compression_algorithm_ = + filter->compression_engine_.HandleOutgoingMetadata(md); +} + +MessageHandle ClientCompressionFilter::Call::OnClientToServerMessage( + MessageHandle message, ClientCompressionFilter* filter) { + return filter->compression_engine_.CompressMessage(std::move(message), + compression_algorithm_); +} + +void ClientCompressionFilter::Call::OnServerInitialMetadata( + ServerMetadata& md, ClientCompressionFilter* filter) { + decompress_args_ = filter->compression_engine_.HandleIncomingMetadata(md); +} + +absl::StatusOr +ClientCompressionFilter::Call::OnServerToClientMessage( + MessageHandle message, ClientCompressionFilter* filter) { + return filter->compression_engine_.DecompressMessage(std::move(message), + decompress_args_); +} + +void ServerCompressionFilter::Call::OnClientInitialMetadata( + ClientMetadata& md, ServerCompressionFilter* filter) { + decompress_args_ = filter->compression_engine_.HandleIncomingMetadata(md); +} + +absl::StatusOr +ServerCompressionFilter::Call::OnClientToServerMessage( + MessageHandle message, ServerCompressionFilter* filter) { + return filter->compression_engine_.DecompressMessage(std::move(message), + decompress_args_); +} + +void ServerCompressionFilter::Call::OnServerInitialMetadata( + ServerMetadata& md, ServerCompressionFilter* filter) { + compression_algorithm_ = + filter->compression_engine_.HandleOutgoingMetadata(md); } -ArenaPromise ServerCompressionFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { - auto decompress_args = - HandleIncomingMetadata(*call_args.client_initial_metadata); - auto* decompress_err = - GetContext()->New>(); - call_args.client_to_server_messages->InterceptAndMap( - [decompress_err, decompress_args, - this](MessageHandle message) -> absl::optional { - auto r = DecompressMessage(std::move(message), decompress_args); - if (grpc_call_trace.enabled()) { - gpr_log(GPR_DEBUG, "%s[compression] DecompressMessage returned %s", - Activity::current()->DebugTag().c_str(), - r.status().ToString().c_str()); - } - if (!r.ok()) { - decompress_err->Set(ServerMetadataFromStatus(r.status())); - return absl::nullopt; - } - return std::move(*r); - }); - auto* compression_algorithm = - GetContext()->New(); - call_args.server_initial_metadata->InterceptAndMap( - [this, compression_algorithm](ServerMetadataHandle md) { - if (grpc_call_trace.enabled()) { - gpr_log(GPR_INFO, "%s[compression] Write metadata", - Activity::current()->DebugTag().c_str()); - } - // Find the compression algorithm. - *compression_algorithm = HandleOutgoingMetadata(*md); - return md; - }); - call_args.server_to_client_messages->InterceptAndMap( - [compression_algorithm, - this](MessageHandle message) -> absl::optional { - return CompressMessage(std::move(message), *compression_algorithm); - }); - // Run the next filter, and race it with getting an error from decompression. - return PrioritizedRace(decompress_err->Wait(), - next_promise_factory(std::move(call_args))); +MessageHandle ServerCompressionFilter::Call::OnServerToClientMessage( + MessageHandle message, ServerCompressionFilter* filter) { + return filter->compression_engine_.CompressMessage(std::move(message), + compression_algorithm_); } } // namespace grpc_core diff --git a/src/core/ext/filters/http/message_compress/compression_filter.h b/src/core/ext/filters/http/message_compress/compression_filter.h index caf49c03336..40e88d9b5a8 100644 --- a/src/core/ext/filters/http/message_compress/compression_filter.h +++ b/src/core/ext/filters/http/message_compress/compression_filter.h @@ -61,15 +61,15 @@ namespace grpc_core { /// the aforementioned 'grpc-encoding' metadata value, data will pass through /// uncompressed. -class CompressionFilter : public ChannelFilter { - protected: +class ChannelCompression { + public: + explicit ChannelCompression(const ChannelArgs& args); + struct DecompressArgs { grpc_compression_algorithm algorithm; absl::optional max_recv_message_length; }; - explicit CompressionFilter(const ChannelArgs& args); - grpc_compression_algorithm default_compression_algorithm() const { return default_compression_algorithm_; } @@ -104,7 +104,8 @@ class CompressionFilter : public ChannelFilter { bool enable_decompression_; }; -class ClientCompressionFilter final : public CompressionFilter { +class ClientCompressionFilter final + : public ImplementChannelFilter { public: static const grpc_channel_filter kFilter; @@ -112,14 +113,35 @@ class ClientCompressionFilter final : public CompressionFilter { const ChannelArgs& args, ChannelFilter::Args filter_args); // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + void OnClientInitialMetadata(ClientMetadata& md, + ClientCompressionFilter* filter); + MessageHandle OnClientToServerMessage(MessageHandle message, + ClientCompressionFilter* filter); + + void OnServerInitialMetadata(ServerMetadata& md, + ClientCompressionFilter* filter); + absl::StatusOr OnServerToClientMessage( + MessageHandle message, ClientCompressionFilter* filter); + + static const NoInterceptor OnServerTrailingMetadata; + static const NoInterceptor OnFinalize; + + private: + grpc_compression_algorithm compression_algorithm_; + ChannelCompression::DecompressArgs decompress_args_; + }; private: - using CompressionFilter::CompressionFilter; + explicit ClientCompressionFilter(const ChannelArgs& args) + : compression_engine_(args) {} + + ChannelCompression compression_engine_; }; -class ServerCompressionFilter final : public CompressionFilter { +class ServerCompressionFilter final + : public ImplementChannelFilter { public: static const grpc_channel_filter kFilter; @@ -127,11 +149,31 @@ class ServerCompressionFilter final : public CompressionFilter { const ChannelArgs& args, ChannelFilter::Args filter_args); // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + void OnClientInitialMetadata(ClientMetadata& md, + ServerCompressionFilter* filter); + absl::StatusOr OnClientToServerMessage( + MessageHandle message, ServerCompressionFilter* filter); + + void OnServerInitialMetadata(ServerMetadata& md, + ServerCompressionFilter* filter); + MessageHandle OnServerToClientMessage(MessageHandle message, + ServerCompressionFilter* filter); + + static const NoInterceptor OnServerTrailingMetadata; + static const NoInterceptor OnFinalize; + + private: + ChannelCompression::DecompressArgs decompress_args_; + grpc_compression_algorithm compression_algorithm_; + }; private: - using CompressionFilter::CompressionFilter; + explicit ServerCompressionFilter(const ChannelArgs& args) + : compression_engine_(args) {} + + ChannelCompression compression_engine_; }; } // namespace grpc_core diff --git a/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc b/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc new file mode 100644 index 00000000000..8f62d610b33 --- /dev/null +++ b/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc @@ -0,0 +1,325 @@ +// Copyright 2022 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include + +#include "src/core/ext/filters/http/message_compress/legacy_compression_filter.h" + +#include + +#include +#include +#include + +#include "absl/status/status.h" +#include "absl/strings/str_cat.h" +#include "absl/strings/str_format.h" +#include "absl/types/optional.h" + +#include +#include +#include +#include +#include + +#include "src/core/ext/filters/message_size/message_size_filter.h" +#include "src/core/lib/channel/call_tracer.h" +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/channel/channel_stack.h" +#include "src/core/lib/channel/context.h" +#include "src/core/lib/channel/promise_based_filter.h" +#include "src/core/lib/compression/compression_internal.h" +#include "src/core/lib/compression/message_compress.h" +#include "src/core/lib/debug/trace.h" +#include "src/core/lib/promise/activity.h" +#include "src/core/lib/promise/context.h" +#include "src/core/lib/promise/latch.h" +#include "src/core/lib/promise/pipe.h" +#include "src/core/lib/promise/prioritized_race.h" +#include "src/core/lib/resource_quota/arena.h" +#include "src/core/lib/slice/slice_buffer.h" +#include "src/core/lib/surface/call.h" +#include "src/core/lib/surface/call_trace.h" +#include "src/core/lib/transport/metadata_batch.h" +#include "src/core/lib/transport/transport.h" + +namespace grpc_core { + +const grpc_channel_filter LegacyClientCompressionFilter::kFilter = + MakePromiseBasedFilter< + LegacyClientCompressionFilter, FilterEndpoint::kClient, + kFilterExaminesServerInitialMetadata | kFilterExaminesInboundMessages | + kFilterExaminesOutboundMessages>("compression"); +const grpc_channel_filter LegacyServerCompressionFilter::kFilter = + MakePromiseBasedFilter< + LegacyServerCompressionFilter, FilterEndpoint::kServer, + kFilterExaminesServerInitialMetadata | kFilterExaminesInboundMessages | + kFilterExaminesOutboundMessages>("compression"); + +absl::StatusOr +LegacyClientCompressionFilter::Create(const ChannelArgs& args, + ChannelFilter::Args) { + return LegacyClientCompressionFilter(args); +} + +absl::StatusOr +LegacyServerCompressionFilter::Create(const ChannelArgs& args, + ChannelFilter::Args) { + return LegacyServerCompressionFilter(args); +} + +LegacyCompressionFilter::LegacyCompressionFilter(const ChannelArgs& args) + : max_recv_size_(GetMaxRecvSizeFromChannelArgs(args)), + message_size_service_config_parser_index_( + MessageSizeParser::ParserIndex()), + default_compression_algorithm_( + DefaultCompressionAlgorithmFromChannelArgs(args).value_or( + GRPC_COMPRESS_NONE)), + enabled_compression_algorithms_( + CompressionAlgorithmSet::FromChannelArgs(args)), + enable_compression_( + args.GetBool(GRPC_ARG_ENABLE_PER_MESSAGE_COMPRESSION).value_or(true)), + enable_decompression_( + args.GetBool(GRPC_ARG_ENABLE_PER_MESSAGE_DECOMPRESSION) + .value_or(true)) { + // Make sure the default is enabled. + if (!enabled_compression_algorithms_.IsSet(default_compression_algorithm_)) { + const char* name; + if (!grpc_compression_algorithm_name(default_compression_algorithm_, + &name)) { + name = ""; + } + gpr_log(GPR_ERROR, + "default compression algorithm %s not enabled: switching to none", + name); + default_compression_algorithm_ = GRPC_COMPRESS_NONE; + } +} + +MessageHandle LegacyCompressionFilter::CompressMessage( + MessageHandle message, grpc_compression_algorithm algorithm) const { + if (GRPC_TRACE_FLAG_ENABLED(grpc_compression_trace)) { + gpr_log(GPR_INFO, "CompressMessage: len=%" PRIdPTR " alg=%d flags=%d", + message->payload()->Length(), algorithm, message->flags()); + } + auto* call_context = GetContext(); + auto* call_tracer = static_cast( + call_context[GRPC_CONTEXT_CALL_TRACER].value); + if (call_tracer != nullptr) { + call_tracer->RecordSendMessage(*message->payload()); + } + // Check if we're allowed to compress this message + // (apps might want to disable compression for certain messages to avoid + // crime/beast like vulns). + uint32_t& flags = message->mutable_flags(); + if (algorithm == GRPC_COMPRESS_NONE || !enable_compression_ || + (flags & (GRPC_WRITE_NO_COMPRESS | GRPC_WRITE_INTERNAL_COMPRESS))) { + return message; + } + // Try to compress the payload. + SliceBuffer tmp; + SliceBuffer* payload = message->payload(); + bool did_compress = grpc_msg_compress(algorithm, payload->c_slice_buffer(), + tmp.c_slice_buffer()); + // If we achieved compression send it as compressed, otherwise send it as (to + // avoid spending cycles on the receiver decompressing). + if (did_compress) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_compression_trace)) { + const char* algo_name; + const size_t before_size = payload->Length(); + const size_t after_size = tmp.Length(); + const float savings_ratio = 1.0f - static_cast(after_size) / + static_cast(before_size); + GPR_ASSERT(grpc_compression_algorithm_name(algorithm, &algo_name)); + gpr_log(GPR_INFO, + "Compressed[%s] %" PRIuPTR " bytes vs. %" PRIuPTR + " bytes (%.2f%% savings)", + algo_name, before_size, after_size, 100 * savings_ratio); + } + tmp.Swap(payload); + flags |= GRPC_WRITE_INTERNAL_COMPRESS; + if (call_tracer != nullptr) { + call_tracer->RecordSendCompressedMessage(*message->payload()); + } + } else { + if (GRPC_TRACE_FLAG_ENABLED(grpc_compression_trace)) { + const char* algo_name; + GPR_ASSERT(grpc_compression_algorithm_name(algorithm, &algo_name)); + gpr_log(GPR_INFO, + "Algorithm '%s' enabled but decided not to compress. Input size: " + "%" PRIuPTR, + algo_name, payload->Length()); + } + } + return message; +} + +absl::StatusOr LegacyCompressionFilter::DecompressMessage( + MessageHandle message, DecompressArgs args) const { + if (GRPC_TRACE_FLAG_ENABLED(grpc_compression_trace)) { + gpr_log(GPR_INFO, "DecompressMessage: len=%" PRIdPTR " max=%d alg=%d", + message->payload()->Length(), + args.max_recv_message_length.value_or(-1), args.algorithm); + } + auto* call_context = GetContext(); + auto* call_tracer = static_cast( + call_context[GRPC_CONTEXT_CALL_TRACER].value); + if (call_tracer != nullptr) { + call_tracer->RecordReceivedMessage(*message->payload()); + } + // Check max message length. + if (args.max_recv_message_length.has_value() && + message->payload()->Length() > + static_cast(*args.max_recv_message_length)) { + return absl::ResourceExhaustedError(absl::StrFormat( + "Received message larger than max (%u vs. %d)", + message->payload()->Length(), *args.max_recv_message_length)); + } + // Check if decompression is enabled (if not, we can just pass the message + // up). + if (!enable_decompression_ || + (message->flags() & GRPC_WRITE_INTERNAL_COMPRESS) == 0) { + return std::move(message); + } + // Try to decompress the payload. + SliceBuffer decompressed_slices; + if (grpc_msg_decompress(args.algorithm, message->payload()->c_slice_buffer(), + decompressed_slices.c_slice_buffer()) == 0) { + return absl::InternalError( + absl::StrCat("Unexpected error decompressing data for algorithm ", + CompressionAlgorithmAsString(args.algorithm))); + } + // Swap the decompressed slices into the message. + message->payload()->Swap(&decompressed_slices); + message->mutable_flags() &= ~GRPC_WRITE_INTERNAL_COMPRESS; + message->mutable_flags() |= GRPC_WRITE_INTERNAL_TEST_ONLY_WAS_COMPRESSED; + if (call_tracer != nullptr) { + call_tracer->RecordReceivedDecompressedMessage(*message->payload()); + } + return std::move(message); +} + +grpc_compression_algorithm LegacyCompressionFilter::HandleOutgoingMetadata( + grpc_metadata_batch& outgoing_metadata) { + const auto algorithm = outgoing_metadata.Take(GrpcInternalEncodingRequest()) + .value_or(default_compression_algorithm()); + // Convey supported compression algorithms. + outgoing_metadata.Set(GrpcAcceptEncodingMetadata(), + enabled_compression_algorithms()); + if (algorithm != GRPC_COMPRESS_NONE) { + outgoing_metadata.Set(GrpcEncodingMetadata(), algorithm); + } + return algorithm; +} + +LegacyCompressionFilter::DecompressArgs +LegacyCompressionFilter::HandleIncomingMetadata( + const grpc_metadata_batch& incoming_metadata) { + // Configure max receive size. + auto max_recv_message_length = max_recv_size_; + const MessageSizeParsedConfig* limits = + MessageSizeParsedConfig::GetFromCallContext( + GetContext(), + message_size_service_config_parser_index_); + if (limits != nullptr && limits->max_recv_size().has_value() && + (!max_recv_message_length.has_value() || + *limits->max_recv_size() < *max_recv_message_length)) { + max_recv_message_length = *limits->max_recv_size(); + } + return DecompressArgs{incoming_metadata.get(GrpcEncodingMetadata()) + .value_or(GRPC_COMPRESS_NONE), + max_recv_message_length}; +} + +ArenaPromise +LegacyClientCompressionFilter::MakeCallPromise( + CallArgs call_args, NextPromiseFactory next_promise_factory) { + auto compression_algorithm = + HandleOutgoingMetadata(*call_args.client_initial_metadata); + call_args.client_to_server_messages->InterceptAndMap( + [compression_algorithm, + this](MessageHandle message) -> absl::optional { + return CompressMessage(std::move(message), compression_algorithm); + }); + auto* decompress_args = GetContext()->New( + DecompressArgs{GRPC_COMPRESS_ALGORITHMS_COUNT, absl::nullopt}); + auto* decompress_err = + GetContext()->New>(); + call_args.server_initial_metadata->InterceptAndMap( + [decompress_args, this](ServerMetadataHandle server_initial_metadata) + -> absl::optional { + if (server_initial_metadata == nullptr) return absl::nullopt; + *decompress_args = HandleIncomingMetadata(*server_initial_metadata); + return std::move(server_initial_metadata); + }); + call_args.server_to_client_messages->InterceptAndMap( + [decompress_err, decompress_args, + this](MessageHandle message) -> absl::optional { + auto r = DecompressMessage(std::move(message), *decompress_args); + if (!r.ok()) { + decompress_err->Set(ServerMetadataFromStatus(r.status())); + return absl::nullopt; + } + return std::move(*r); + }); + // Run the next filter, and race it with getting an error from decompression. + return PrioritizedRace(decompress_err->Wait(), + next_promise_factory(std::move(call_args))); +} + +ArenaPromise +LegacyServerCompressionFilter::MakeCallPromise( + CallArgs call_args, NextPromiseFactory next_promise_factory) { + auto decompress_args = + HandleIncomingMetadata(*call_args.client_initial_metadata); + auto* decompress_err = + GetContext()->New>(); + call_args.client_to_server_messages->InterceptAndMap( + [decompress_err, decompress_args, + this](MessageHandle message) -> absl::optional { + auto r = DecompressMessage(std::move(message), decompress_args); + if (grpc_call_trace.enabled()) { + gpr_log(GPR_DEBUG, "%s[compression] DecompressMessage returned %s", + GetContext()->DebugTag().c_str(), + r.status().ToString().c_str()); + } + if (!r.ok()) { + decompress_err->Set(ServerMetadataFromStatus(r.status())); + return absl::nullopt; + } + return std::move(*r); + }); + auto* compression_algorithm = + GetContext()->New(); + call_args.server_initial_metadata->InterceptAndMap( + [this, compression_algorithm](ServerMetadataHandle md) { + if (grpc_call_trace.enabled()) { + gpr_log(GPR_INFO, "%s[compression] Write metadata", + GetContext()->DebugTag().c_str()); + } + // Find the compression algorithm. + *compression_algorithm = HandleOutgoingMetadata(*md); + return md; + }); + call_args.server_to_client_messages->InterceptAndMap( + [compression_algorithm, + this](MessageHandle message) -> absl::optional { + return CompressMessage(std::move(message), *compression_algorithm); + }); + // Run the next filter, and race it with getting an error from decompression. + return PrioritizedRace(decompress_err->Wait(), + next_promise_factory(std::move(call_args))); +} + +} // namespace grpc_core diff --git a/src/core/ext/filters/http/message_compress/legacy_compression_filter.h b/src/core/ext/filters/http/message_compress/legacy_compression_filter.h new file mode 100644 index 00000000000..0926bc09ed9 --- /dev/null +++ b/src/core/ext/filters/http/message_compress/legacy_compression_filter.h @@ -0,0 +1,139 @@ +// +// +// Copyright 2020 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// + +#ifndef GRPC_SRC_CORE_EXT_FILTERS_HTTP_MESSAGE_COMPRESS_LEGACY_COMPRESSION_FILTER_H +#define GRPC_SRC_CORE_EXT_FILTERS_HTTP_MESSAGE_COMPRESS_LEGACY_COMPRESSION_FILTER_H + +#include + +#include +#include + +#include "absl/status/statusor.h" +#include "absl/types/optional.h" + +#include + +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/channel/channel_fwd.h" +#include "src/core/lib/channel/promise_based_filter.h" +#include "src/core/lib/compression/compression_internal.h" +#include "src/core/lib/promise/arena_promise.h" +#include "src/core/lib/transport/metadata_batch.h" +#include "src/core/lib/transport/transport.h" + +namespace grpc_core { + +/// Compression filter for messages. +/// +/// See for the available compression settings. +/// +/// Compression settings may come from: +/// - Channel configuration, as established at channel creation time. +/// - The metadata accompanying the outgoing data to be compressed. This is +/// taken as a request only. We may choose not to honor it. The metadata key +/// is given by \a GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY. +/// +/// Compression can be disabled for concrete messages (for instance in order to +/// prevent CRIME/BEAST type attacks) by having the GRPC_WRITE_NO_COMPRESS set +/// in the MessageHandle flags. +/// +/// The attempted compression mechanism is added to the resulting initial +/// metadata under the 'grpc-encoding' key. +/// +/// If compression is actually performed, the MessageHandle's flag is modified +/// to incorporate GRPC_WRITE_INTERNAL_COMPRESS. Otherwise, and regardless of +/// the aforementioned 'grpc-encoding' metadata value, data will pass through +/// uncompressed. + +class LegacyCompressionFilter : public ChannelFilter { + protected: + struct DecompressArgs { + grpc_compression_algorithm algorithm; + absl::optional max_recv_message_length; + }; + + explicit LegacyCompressionFilter(const ChannelArgs& args); + + grpc_compression_algorithm default_compression_algorithm() const { + return default_compression_algorithm_; + } + + CompressionAlgorithmSet enabled_compression_algorithms() const { + return enabled_compression_algorithms_; + } + + grpc_compression_algorithm HandleOutgoingMetadata( + grpc_metadata_batch& outgoing_metadata); + DecompressArgs HandleIncomingMetadata( + const grpc_metadata_batch& incoming_metadata); + + // Compress one message synchronously. + MessageHandle CompressMessage(MessageHandle message, + grpc_compression_algorithm algorithm) const; + // Decompress one message synchronously. + absl::StatusOr DecompressMessage(MessageHandle message, + DecompressArgs args) const; + + private: + // Max receive message length, if set. + absl::optional max_recv_size_; + size_t message_size_service_config_parser_index_; + // The default, channel-level, compression algorithm. + grpc_compression_algorithm default_compression_algorithm_; + // Enabled compression algorithms. + CompressionAlgorithmSet enabled_compression_algorithms_; + // Is compression enabled? + bool enable_compression_; + // Is decompression enabled? + bool enable_decompression_; +}; + +class LegacyClientCompressionFilter final : public LegacyCompressionFilter { + public: + static const grpc_channel_filter kFilter; + + static absl::StatusOr Create( + const ChannelArgs& args, ChannelFilter::Args filter_args); + + // Construct a promise for one call. + ArenaPromise MakeCallPromise( + CallArgs call_args, NextPromiseFactory next_promise_factory) override; + + private: + using LegacyCompressionFilter::LegacyCompressionFilter; +}; + +class LegacyServerCompressionFilter final : public LegacyCompressionFilter { + public: + static const grpc_channel_filter kFilter; + + static absl::StatusOr Create( + const ChannelArgs& args, ChannelFilter::Args filter_args); + + // Construct a promise for one call. + ArenaPromise MakeCallPromise( + CallArgs call_args, NextPromiseFactory next_promise_factory) override; + + private: + using LegacyCompressionFilter::LegacyCompressionFilter; +}; + +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_EXT_FILTERS_HTTP_MESSAGE_COMPRESS_LEGACY_COMPRESSION_FILTER_H diff --git a/src/core/ext/filters/http/server/http_server_filter.cc b/src/core/ext/filters/http/server/http_server_filter.cc index 6b7648ddb88..9769e6de89c 100644 --- a/src/core/ext/filters/http/server/http_server_filter.cc +++ b/src/core/ext/filters/http/server/http_server_filter.cc @@ -22,25 +22,26 @@ #include #include -#include #include #include "absl/base/attributes.h" -#include "absl/meta/type_traits.h" -#include "absl/status/status.h" +#include "absl/strings/string_view.h" #include "absl/types/optional.h" #include +#include #include #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_stack.h" #include "src/core/lib/debug/trace.h" #include "src/core/lib/promise/activity.h" +#include "src/core/lib/promise/context.h" #include "src/core/lib/promise/map.h" #include "src/core/lib/promise/pipe.h" #include "src/core/lib/promise/poll.h" #include "src/core/lib/promise/promise.h" +#include "src/core/lib/resource_quota/arena.h" #include "src/core/lib/slice/percent_encoding.h" #include "src/core/lib/slice/slice.h" #include "src/core/lib/surface/call_trace.h" @@ -48,6 +49,10 @@ namespace grpc_core { +const NoInterceptor HttpServerFilter::Call::OnClientToServerMessage; +const NoInterceptor HttpServerFilter::Call::OnServerToClientMessage; +const NoInterceptor HttpServerFilter::Call::OnFinalize; + const grpc_channel_filter HttpServerFilter::kFilter = MakePromiseBasedFilter("http-server"); @@ -59,95 +64,92 @@ void FilterOutgoingMetadata(ServerMetadata* md) { PercentEncodingType::Compatible); } } -} // namespace -ArenaPromise HttpServerFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { - const auto& md = call_args.client_initial_metadata; +ServerMetadataHandle MalformedRequest(absl::string_view explanation) { + auto* arena = GetContext(); + auto hdl = arena->MakePooled(arena); + hdl->Set(GrpcStatusMetadata(), GRPC_STATUS_UNKNOWN); + hdl->Set(GrpcMessageMetadata(), Slice::FromStaticString(explanation)); + hdl->Set(GrpcTarPit(), Empty()); + return hdl; +} +} // namespace - auto method = md->get(HttpMethodMetadata()); +ServerMetadataHandle HttpServerFilter::Call::OnClientInitialMetadata( + ClientMetadata& md, HttpServerFilter* filter) { + auto method = md.get(HttpMethodMetadata()); if (method.has_value()) { switch (*method) { case HttpMethodMetadata::kPost: break; case HttpMethodMetadata::kPut: - if (allow_put_requests_) { + if (filter->allow_put_requests_) { break; } ABSL_FALLTHROUGH_INTENDED; case HttpMethodMetadata::kInvalid: case HttpMethodMetadata::kGet: - return Immediate( - ServerMetadataFromStatus(absl::UnknownError("Bad method header"))); + return MalformedRequest("Bad method header"); } } else { - return Immediate( - ServerMetadataFromStatus(absl::UnknownError("Missing :method header"))); + return MalformedRequest("Missing :method header"); } - auto te = md->Take(TeMetadata()); + auto te = md.Take(TeMetadata()); if (te == TeMetadata::kTrailers) { // Do nothing, ok. } else if (!te.has_value()) { - return Immediate( - ServerMetadataFromStatus(absl::UnknownError("Missing :te header"))); + return MalformedRequest("Missing :te header"); } else { - return Immediate( - ServerMetadataFromStatus(absl::UnknownError("Bad :te header"))); + return MalformedRequest("Bad :te header"); } - auto scheme = md->Take(HttpSchemeMetadata()); + auto scheme = md.Take(HttpSchemeMetadata()); if (scheme.has_value()) { if (*scheme == HttpSchemeMetadata::kInvalid) { - return Immediate( - ServerMetadataFromStatus(absl::UnknownError("Bad :scheme header"))); + return MalformedRequest("Bad :scheme header"); } } else { - return Immediate( - ServerMetadataFromStatus(absl::UnknownError("Missing :scheme header"))); + return MalformedRequest("Missing :scheme header"); } - md->Remove(ContentTypeMetadata()); + md.Remove(ContentTypeMetadata()); - Slice* path_slice = md->get_pointer(HttpPathMetadata()); + Slice* path_slice = md.get_pointer(HttpPathMetadata()); if (path_slice == nullptr) { - return Immediate( - ServerMetadataFromStatus(absl::UnknownError("Missing :path header"))); + return MalformedRequest("Missing :path header"); } - if (md->get_pointer(HttpAuthorityMetadata()) == nullptr) { - absl::optional host = md->Take(HostMetadata()); + if (md.get_pointer(HttpAuthorityMetadata()) == nullptr) { + absl::optional host = md.Take(HostMetadata()); if (host.has_value()) { - md->Set(HttpAuthorityMetadata(), std::move(*host)); + md.Set(HttpAuthorityMetadata(), std::move(*host)); } } - if (md->get_pointer(HttpAuthorityMetadata()) == nullptr) { - return Immediate(ServerMetadataFromStatus( - absl::UnknownError("Missing :authority header"))); + if (md.get_pointer(HttpAuthorityMetadata()) == nullptr) { + return MalformedRequest("Missing :authority header"); } - if (!surface_user_agent_) { - md->Remove(UserAgentMetadata()); + if (!filter->surface_user_agent_) { + md.Remove(UserAgentMetadata()); } - call_args.server_initial_metadata->InterceptAndMap( - [](ServerMetadataHandle md) { - if (grpc_call_trace.enabled()) { - gpr_log(GPR_INFO, "%s[http-server] Write metadata", - Activity::current()->DebugTag().c_str()); - } - FilterOutgoingMetadata(md.get()); - md->Set(HttpStatusMetadata(), 200); - md->Set(ContentTypeMetadata(), ContentTypeMetadata::kApplicationGrpc); - return md; - }); - - return Map(next_promise_factory(std::move(call_args)), - [](ServerMetadataHandle md) -> ServerMetadataHandle { - FilterOutgoingMetadata(md.get()); - return md; - }); + return nullptr; +} + +void HttpServerFilter::Call::OnServerInitialMetadata(ServerMetadata& md) { + if (grpc_call_trace.enabled()) { + gpr_log(GPR_INFO, "%s[http-server] Write metadata", + GetContext()->DebugTag().c_str()); + } + FilterOutgoingMetadata(&md); + md.Set(HttpStatusMetadata(), 200); + md.Set(ContentTypeMetadata(), ContentTypeMetadata::kApplicationGrpc); +} + +void HttpServerFilter::Call::OnServerTrailingMetadata(ServerMetadata& md) { + FilterOutgoingMetadata(&md); } absl::StatusOr HttpServerFilter::Create( diff --git a/src/core/ext/filters/http/server/http_server_filter.h b/src/core/ext/filters/http/server/http_server_filter.h index bc97bd53b8a..a87c83518ee 100644 --- a/src/core/ext/filters/http/server/http_server_filter.h +++ b/src/core/ext/filters/http/server/http_server_filter.h @@ -32,16 +32,23 @@ namespace grpc_core { // Processes metadata on the server side for HTTP2 transports -class HttpServerFilter : public ChannelFilter { +class HttpServerFilter : public ImplementChannelFilter { public: static const grpc_channel_filter kFilter; static absl::StatusOr Create( const ChannelArgs& args, ChannelFilter::Args filter_args); - // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + ServerMetadataHandle OnClientInitialMetadata(ClientMetadata& md, + HttpServerFilter* filter); + void OnServerInitialMetadata(ServerMetadata& md); + void OnServerTrailingMetadata(ServerMetadata& md); + static const NoInterceptor OnClientToServerMessage; + static const NoInterceptor OnServerToClientMessage; + static const NoInterceptor OnFinalize; + }; private: HttpServerFilter(bool surface_user_agent, bool allow_put_requests) diff --git a/src/core/ext/filters/load_reporting/server_load_reporting_filter.cc b/src/core/ext/filters/load_reporting/server_load_reporting_filter.cc index 77575cddf1f..624ca70e79e 100644 --- a/src/core/ext/filters/load_reporting/server_load_reporting_filter.cc +++ b/src/core/ext/filters/load_reporting/server_load_reporting_filter.cc @@ -20,17 +20,15 @@ #include "src/core/ext/filters/load_reporting/server_load_reporting_filter.h" -#include #include #include #include -#include #include #include #include -#include "absl/meta/type_traits.h" +#include "absl/container/inlined_vector.h" #include "absl/status/status.h" #include "absl/strings/ascii.h" #include "absl/strings/str_cat.h" @@ -52,7 +50,6 @@ #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/channel_stack.h" -#include "src/core/lib/channel/channel_stack_builder.h" #include "src/core/lib/config/core_configuration.h" #include "src/core/lib/iomgr/resolved_address.h" #include "src/core/lib/iomgr/sockaddr.h" @@ -75,6 +72,10 @@ constexpr char kEncodedIpv4AddressLengthString[] = "08"; constexpr char kEncodedIpv6AddressLengthString[] = "32"; constexpr char kEmptyAddressLengthString[] = "00"; +const NoInterceptor ServerLoadReportingFilter::Call::OnServerInitialMetadata; +const NoInterceptor ServerLoadReportingFilter::Call::OnClientToServerMessage; +const NoInterceptor ServerLoadReportingFilter::Call::OnServerToClientMessage; + absl::StatusOr ServerLoadReportingFilter::Create( const ChannelArgs& channel_args, ChannelFilter::Args) { // Find and record the peer_identity. @@ -96,9 +97,9 @@ absl::StatusOr ServerLoadReportingFilter::Create( namespace { std::string GetCensusSafeClientIpString( - const ClientMetadataHandle& initial_metadata) { + const ClientMetadata& initial_metadata) { // Find the client URI string. - Slice* client_uri_slice = initial_metadata->get_pointer(PeerString()); + const Slice* client_uri_slice = initial_metadata.get_pointer(PeerString()); if (client_uri_slice == nullptr) { gpr_log(GPR_ERROR, "Unable to extract client URI string (peer string) from gRPC " @@ -142,8 +143,8 @@ std::string GetCensusSafeClientIpString( } } -std::string MakeClientIpAndLrToken( - absl::string_view lr_token, const ClientMetadataHandle& initial_metadata) { +std::string MakeClientIpAndLrToken(absl::string_view lr_token, + const ClientMetadata& initial_metadata) { std::string client_ip = GetCensusSafeClientIpString(initial_metadata); absl::string_view prefix; switch (client_ip.length()) { @@ -179,93 +180,73 @@ const char* GetStatusTagForStatus(grpc_status_code status) { } } // namespace -ArenaPromise ServerLoadReportingFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { +void ServerLoadReportingFilter::Call::OnClientInitialMetadata( + ClientMetadata& md, ServerLoadReportingFilter* filter) { // Gather up basic facts about the request Slice service_method; - if (const Slice* path = - call_args.client_initial_metadata->get_pointer(HttpPathMetadata())) { + if (const Slice* path = md.get_pointer(HttpPathMetadata())) { service_method = path->Ref(); } - std::string target_host; - if (const Slice* authority = call_args.client_initial_metadata->get_pointer( - HttpAuthorityMetadata())) { - target_host = absl::AsciiStrToLower(authority->as_string_view()); + if (const Slice* authority = md.get_pointer(HttpAuthorityMetadata())) { + target_host_ = absl::AsciiStrToLower(authority->as_string_view()); } - std::string client_ip_and_lr_token; - auto lb_token = call_args.client_initial_metadata->Take(LbTokenMetadata()) - .value_or(Slice()); - client_ip_and_lr_token = MakeClientIpAndLrToken( - lb_token.as_string_view(), call_args.client_initial_metadata); + auto lb_token = md.Take(LbTokenMetadata()).value_or(Slice()); + client_ip_and_lr_token_ = + MakeClientIpAndLrToken(lb_token.as_string_view(), md); // Record the beginning of the request opencensus::stats::Record( {{::grpc::load_reporter::MeasureStartCount(), 1}}, {{::grpc::load_reporter::TagKeyToken(), - {client_ip_and_lr_token.data(), client_ip_and_lr_token.length()}}, + {client_ip_and_lr_token_.data(), client_ip_and_lr_token_.length()}}, {::grpc::load_reporter::TagKeyHost(), - {target_host.data(), target_host.length()}}, + {target_host_.data(), target_host_.length()}}, {::grpc::load_reporter::TagKeyUserId(), - {peer_identity_.data(), peer_identity_.length()}}}); - // Returned promise runs the rest of the request, then reports costs and - // records measurements - return ArenaPromise(Seq( - // Call down the stack - next_promise_factory(std::move(call_args)), - // And then record the call result - [this, client_ip_and_lr_token, - target_host](ServerMetadataHandle trailing_metadata) { - const auto& costs = trailing_metadata->Take(LbCostBinMetadata()); - for (const auto& cost : costs) { - opencensus::stats::Record( - {{::grpc::load_reporter::MeasureOtherCallMetric(), cost.cost}}, - {{::grpc::load_reporter::TagKeyToken(), - {client_ip_and_lr_token.data(), - client_ip_and_lr_token.length()}}, - {::grpc::load_reporter::TagKeyHost(), - {target_host.data(), target_host.length()}}, - {::grpc::load_reporter::TagKeyUserId(), - {peer_identity_.data(), peer_identity_.length()}}, - {::grpc::load_reporter::TagKeyMetricName(), - {cost.name.data(), cost.name.length()}}}); - } - GetContext()->Add([this, client_ip_and_lr_token, - target_host]( - const grpc_call_final_info* - final_info) { - if (final_info == nullptr) return; - // After the last bytes have been placed on the wire we record - // final measurements - opencensus::stats::Record( - {{::grpc::load_reporter::MeasureEndCount(), 1}, - {::grpc::load_reporter::MeasureEndBytesSent(), - final_info->stats.transport_stream_stats.outgoing.data_bytes}, - {::grpc::load_reporter::MeasureEndBytesReceived(), - final_info->stats.transport_stream_stats.incoming.data_bytes}, - {::grpc::load_reporter::MeasureEndLatencyMs(), - gpr_time_to_millis(final_info->stats.latency)}}, - {{::grpc::load_reporter::TagKeyToken(), - {client_ip_and_lr_token.data(), - client_ip_and_lr_token.length()}}, - {::grpc::load_reporter::TagKeyHost(), - {target_host.data(), target_host.length()}}, - {::grpc::load_reporter::TagKeyUserId(), - {peer_identity_.data(), peer_identity_.length()}}, - {::grpc::load_reporter::TagKeyStatus(), - GetStatusTagForStatus(final_info->final_status)}}); - }); - return Immediate(std::move(trailing_metadata)); - })); + {filter->peer_identity_.data(), filter->peer_identity_.length()}}}); } -namespace { -bool MaybeAddServerLoadReportingFilter(const ChannelArgs& args) { - return args.GetBool(GRPC_ARG_ENABLE_LOAD_REPORTING).value_or(false); +void ServerLoadReportingFilter::Call::OnServerTrailingMetadata( + ServerMetadata& md, ServerLoadReportingFilter* filter) { + const auto& costs = md.Take(LbCostBinMetadata()); + for (const auto& cost : costs) { + opencensus::stats::Record( + {{::grpc::load_reporter::MeasureOtherCallMetric(), cost.cost}}, + {{::grpc::load_reporter::TagKeyToken(), + {client_ip_and_lr_token_.data(), client_ip_and_lr_token_.length()}}, + {::grpc::load_reporter::TagKeyHost(), + {target_host_.data(), target_host_.length()}}, + {::grpc::load_reporter::TagKeyUserId(), + {filter->peer_identity_.data(), filter->peer_identity_.length()}}, + {::grpc::load_reporter::TagKeyMetricName(), + {cost.name.data(), cost.name.length()}}}); + } +} + +void ServerLoadReportingFilter::Call::OnFinalize( + const grpc_call_final_info* final_info, ServerLoadReportingFilter* filter) { + if (final_info == nullptr) return; + // After the last bytes have been placed on the wire we record + // final measurements + opencensus::stats::Record( + {{::grpc::load_reporter::MeasureEndCount(), 1}, + {::grpc::load_reporter::MeasureEndBytesSent(), + final_info->stats.transport_stream_stats.outgoing.data_bytes}, + {::grpc::load_reporter::MeasureEndBytesReceived(), + final_info->stats.transport_stream_stats.incoming.data_bytes}, + {::grpc::load_reporter::MeasureEndLatencyMs(), + gpr_time_to_millis(final_info->stats.latency)}}, + {{::grpc::load_reporter::TagKeyToken(), + {client_ip_and_lr_token_.data(), client_ip_and_lr_token_.length()}}, + {::grpc::load_reporter::TagKeyHost(), + {target_host_.data(), target_host_.length()}}, + {::grpc::load_reporter::TagKeyUserId(), + {filter->peer_identity_.data(), filter->peer_identity_.length()}}, + {::grpc::load_reporter::TagKeyStatus(), + GetStatusTagForStatus(final_info->final_status)}}); } -const grpc_channel_filter kFilter = +const grpc_channel_filter ServerLoadReportingFilter::kFilter = MakePromiseBasedFilter( "server_load_reporting"); -} // namespace // TODO(juanlishen): We should register the filter during grpc initialization // time once OpenCensus is compatible with our build system. For now, we force @@ -282,13 +263,9 @@ struct ServerLoadReportingFilterStaticRegistrar { grpc::load_reporter::MeasureEndBytesReceived(); grpc::load_reporter::MeasureEndLatencyMs(); grpc::load_reporter::MeasureOtherCallMetric(); - builder->channel_init()->RegisterStage( - GRPC_SERVER_CHANNEL, INT_MAX, [](ChannelStackBuilder* cs_builder) { - if (MaybeAddServerLoadReportingFilter(cs_builder->channel_args())) { - cs_builder->PrependFilter(&kFilter); - } - return true; - }); + builder->channel_init() + ->RegisterFilter(GRPC_SERVER_CHANNEL) + .IfChannelArg(GRPC_ARG_ENABLE_LOAD_REPORTING, false); }); } } server_load_reporting_filter_static_registrar; diff --git a/src/core/ext/filters/load_reporting/server_load_reporting_filter.h b/src/core/ext/filters/load_reporting/server_load_reporting_filter.h index 049a70eb07c..ddb8d0f2482 100644 --- a/src/core/ext/filters/load_reporting/server_load_reporting_filter.h +++ b/src/core/ext/filters/load_reporting/server_load_reporting_filter.h @@ -34,8 +34,11 @@ namespace grpc_core { -class ServerLoadReportingFilter : public ChannelFilter { +class ServerLoadReportingFilter + : public ImplementChannelFilter { public: + static const grpc_channel_filter kFilter; + static absl::StatusOr Create( const ChannelArgs& args, ChannelFilter::Args); @@ -43,9 +46,22 @@ class ServerLoadReportingFilter : public ChannelFilter { const char* peer_identity() { return peer_identity_.c_str(); } size_t peer_identity_len() { return peer_identity_.length(); } - // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + void OnClientInitialMetadata(ClientMetadata& md, + ServerLoadReportingFilter* filter); + static const NoInterceptor OnServerInitialMetadata; + void OnServerTrailingMetadata(ServerMetadata& md, + ServerLoadReportingFilter* filter); + static const NoInterceptor OnClientToServerMessage; + static const NoInterceptor OnServerToClientMessage; + void OnFinalize(const grpc_call_final_info* final_info, + ServerLoadReportingFilter* filter); + + private: + std::string client_ip_and_lr_token_; + std::string target_host_; + }; private: // The peer's authenticated identity. diff --git a/src/core/ext/filters/logging/logging_filter.cc b/src/core/ext/filters/logging/logging_filter.cc index db02366fee5..89fe46bcb66 100644 --- a/src/core/ext/filters/logging/logging_filter.cc +++ b/src/core/ext/filters/logging/logging_filter.cc @@ -21,7 +21,6 @@ #include "src/core/ext/filters/logging/logging_filter.h" #include -#include #include #include @@ -48,15 +47,13 @@ #include #include -#include "src/core/ext/filters/client_channel/client_channel.h" +#include "src/core/client_channel/client_channel_filter.h" #include "src/core/ext/filters/logging/logging_sink.h" #include "src/core/lib/channel/call_tracer.h" #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/channel_stack.h" -#include "src/core/lib/channel/channel_stack_builder.h" #include "src/core/lib/channel/context.h" -#include "src/core/lib/channel/promise_based_filter.h" #include "src/core/lib/config/core_configuration.h" #include "src/core/lib/gprpp/host_port.h" #include "src/core/lib/gprpp/time.h" @@ -65,8 +62,6 @@ #include "src/core/lib/promise/context.h" #include "src/core/lib/promise/map.h" #include "src/core/lib/promise/pipe.h" -#include "src/core/lib/promise/poll.h" -#include "src/core/lib/resolver/resolver_registry.h" #include "src/core/lib/resource_quota/arena.h" #include "src/core/lib/slice/slice.h" #include "src/core/lib/slice/slice_buffer.h" @@ -74,6 +69,7 @@ #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" #include "src/core/lib/uri/uri_parser.h" +#include "src/core/resolver/resolver_registry.h" namespace grpc_core { @@ -344,112 +340,104 @@ class CallData { LoggingSink::Config config_; }; -class ClientLoggingFilter final : public ChannelFilter { - public: - static const grpc_channel_filter kFilter; - - static absl::StatusOr Create( - const ChannelArgs& args, ChannelFilter::Args /*filter_args*/) { - absl::optional default_authority = - args.GetString(GRPC_ARG_DEFAULT_AUTHORITY); - if (default_authority.has_value()) { - return ClientLoggingFilter(std::string(default_authority.value())); - } - absl::optional server_uri = - args.GetOwnedString(GRPC_ARG_SERVER_URI); - if (server_uri.has_value()) { - return ClientLoggingFilter( - CoreConfiguration::Get().resolver_registry().GetDefaultAuthority( - *server_uri)); - } - return ClientLoggingFilter(""); - } +} // namespace - // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override { - CallData* calld = GetContext()->ManagedNew( - true, call_args, default_authority_); - if (!calld->ShouldLog()) { - return next_promise_factory(std::move(call_args)); - } - calld->LogClientHeader( - /*is_client=*/true, - static_cast( - GetContext() - [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] - .value), - call_args.client_initial_metadata); - call_args.server_initial_metadata->InterceptAndMap( - [calld](ServerMetadataHandle metadata) { - calld->LogServerHeader( - /*is_client=*/true, - static_cast( - GetContext() - [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] - .value), - metadata.get()); - return metadata; - }); - call_args.client_to_server_messages->InterceptAndMapWithHalfClose( - [calld](MessageHandle message) { - calld->LogClientMessage( - /*is_client=*/true, - static_cast( - GetContext() - [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] - .value), - message->payload()); - return message; - }, - [calld] { - calld->LogClientHalfClose( - /*is_client=*/true, - static_cast( - GetContext() - [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] - .value)); - }); - call_args.server_to_client_messages->InterceptAndMap( - [calld](MessageHandle message) { - calld->LogServerMessage( - /*is_client=*/true, - static_cast( - GetContext() - [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] - .value), - message->payload()); - return message; - }); - return OnCancel( - Map(next_promise_factory(std::move(call_args)), - [calld](ServerMetadataHandle md) { - calld->LogServerTrailer( - /*is_client=*/true, - static_cast( - GetContext() - [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] - .value), - md.get()); - return md; - }), - // TODO(yashykt/ctiller): GetContext is not - // valid for the cancellation function requiring us to capture it here. - // This ought to be easy to fix once client side promises are completely - // rolled out. - [calld, ctx = GetContext()]() { - calld->LogCancel( - /*is_client=*/true, - static_cast( - ctx[GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE].value)); - }); +absl::StatusOr ClientLoggingFilter::Create( + const ChannelArgs& args, ChannelFilter::Args /*filter_args*/) { + absl::optional default_authority = + args.GetString(GRPC_ARG_DEFAULT_AUTHORITY); + if (default_authority.has_value()) { + return ClientLoggingFilter(std::string(default_authority.value())); } + absl::optional server_uri = + args.GetOwnedString(GRPC_ARG_SERVER_URI); + if (server_uri.has_value()) { + return ClientLoggingFilter( + CoreConfiguration::Get().resolver_registry().GetDefaultAuthority( + *server_uri)); + } + return ClientLoggingFilter(""); +} - private: - explicit ClientLoggingFilter(std::string default_authority) - : default_authority_(std::move(default_authority)) {} - std::string default_authority_; -}; +// Construct a promise for one call. +ArenaPromise ClientLoggingFilter::MakeCallPromise( + CallArgs call_args, NextPromiseFactory next_promise_factory) { + CallData* calld = GetContext()->ManagedNew( + true, call_args, default_authority_); + if (!calld->ShouldLog()) { + return next_promise_factory(std::move(call_args)); + } + calld->LogClientHeader( + /*is_client=*/true, + static_cast( + GetContext() + [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] + .value), + call_args.client_initial_metadata); + call_args.server_initial_metadata->InterceptAndMap( + [calld](ServerMetadataHandle metadata) { + calld->LogServerHeader( + /*is_client=*/true, + static_cast( + GetContext() + [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] + .value), + metadata.get()); + return metadata; + }); + call_args.client_to_server_messages->InterceptAndMapWithHalfClose( + [calld](MessageHandle message) { + calld->LogClientMessage( + /*is_client=*/true, + static_cast( + GetContext() + [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] + .value), + message->payload()); + return message; + }, + [calld] { + calld->LogClientHalfClose( + /*is_client=*/true, + static_cast( + GetContext() + [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] + .value)); + }); + call_args.server_to_client_messages->InterceptAndMap( + [calld](MessageHandle message) { + calld->LogServerMessage( + /*is_client=*/true, + static_cast( + GetContext() + [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] + .value), + message->payload()); + return message; + }); + return OnCancel( + Map(next_promise_factory(std::move(call_args)), + [calld](ServerMetadataHandle md) { + calld->LogServerTrailer( + /*is_client=*/true, + static_cast( + GetContext() + [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] + .value), + md.get()); + return md; + }), + // TODO(yashykt/ctiller): GetContext is not + // valid for the cancellation function requiring us to capture it here. + // This ought to be easy to fix once client side promises are completely + // rolled out. + [calld, ctx = GetContext()]() { + calld->LogCancel( + /*is_client=*/true, + static_cast( + ctx[GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE].value)); + }); +} const grpc_channel_filter ClientLoggingFilter::kFilter = MakePromiseBasedFilter("logging"); -class ServerLoggingFilter final : public ChannelFilter { - public: - static const grpc_channel_filter kFilter; - - static absl::StatusOr Create( - const ChannelArgs& /*args*/, ChannelFilter::Args /*filter_args*/) { - return ServerLoggingFilter(); - } +absl::StatusOr ServerLoggingFilter::Create( + const ChannelArgs& /*args*/, ChannelFilter::Args /*filter_args*/) { + return ServerLoggingFilter(); +} - // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override { - CallData* calld = GetContext()->ManagedNew( - false, call_args, /*default_authority=*/""); - if (!calld->ShouldLog()) { - return next_promise_factory(std::move(call_args)); - } - auto* call_tracer = static_cast( - GetContext() - [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] - .value); - calld->LogClientHeader( - /*is_client=*/false, call_tracer, call_args.client_initial_metadata); - call_args.server_initial_metadata->InterceptAndMap( - [calld](ServerMetadataHandle metadata) { - calld->LogServerHeader( - /*is_client=*/false, - static_cast( - GetContext() - [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] - .value), - metadata.get()); - return metadata; - }); - call_args.client_to_server_messages->InterceptAndMapWithHalfClose( - [calld](MessageHandle message) { - calld->LogClientMessage( - /*is_client=*/false, - static_cast( - GetContext() - [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] - .value), - message->payload()); - return message; - }, - [calld] { - calld->LogClientHalfClose( - /*is_client=*/false, - static_cast( - GetContext() - [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] - .value)); - }); - call_args.server_to_client_messages->InterceptAndMap( - [calld](MessageHandle message) { - calld->LogServerMessage( - /*is_client=*/false, - static_cast( - GetContext() - [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] - .value), - message->payload()); - return message; - }); - return OnCancel( - Map(next_promise_factory(std::move(call_args)), - [calld](ServerMetadataHandle md) { - calld->LogServerTrailer( - /*is_client=*/false, - static_cast( - GetContext() - [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] - .value), - md.get()); - return md; - }), - // TODO(yashykt/ctiller): GetContext is not - // valid for the cancellation function requiring us to capture - // call_tracer. - [calld, call_tracer]() { - calld->LogCancel( - /*is_client=*/false, call_tracer); - }); +// Construct a promise for one call. +ArenaPromise ServerLoggingFilter::MakeCallPromise( + CallArgs call_args, NextPromiseFactory next_promise_factory) { + CallData* calld = GetContext()->ManagedNew( + false, call_args, /*default_authority=*/""); + if (!calld->ShouldLog()) { + return next_promise_factory(std::move(call_args)); } -}; + auto* call_tracer = static_cast( + GetContext() + [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] + .value); + calld->LogClientHeader( + /*is_client=*/false, call_tracer, call_args.client_initial_metadata); + call_args.server_initial_metadata->InterceptAndMap( + [calld](ServerMetadataHandle metadata) { + calld->LogServerHeader( + /*is_client=*/false, + static_cast( + GetContext() + [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] + .value), + metadata.get()); + return metadata; + }); + call_args.client_to_server_messages->InterceptAndMapWithHalfClose( + [calld](MessageHandle message) { + calld->LogClientMessage( + /*is_client=*/false, + static_cast( + GetContext() + [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] + .value), + message->payload()); + return message; + }, + [calld] { + calld->LogClientHalfClose( + /*is_client=*/false, + static_cast( + GetContext() + [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] + .value)); + }); + call_args.server_to_client_messages->InterceptAndMap( + [calld](MessageHandle message) { + calld->LogServerMessage( + /*is_client=*/false, + static_cast( + GetContext() + [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] + .value), + message->payload()); + return message; + }); + return OnCancel( + Map(next_promise_factory(std::move(call_args)), + [calld](ServerMetadataHandle md) { + calld->LogServerTrailer( + /*is_client=*/false, + static_cast( + GetContext() + [GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] + .value), + md.get()); + return md; + }), + // TODO(yashykt/ctiller): GetContext is not + // valid for the cancellation function requiring us to capture + // call_tracer. + [calld, call_tracer]() { + calld->LogCancel( + /*is_client=*/false, call_tracer); + }); +} const grpc_channel_filter ServerLoggingFilter::kFilter = MakePromiseBasedFilter("logging"); -} // namespace - void RegisterLoggingFilter(LoggingSink* sink) { g_logging_sink = sink; CoreConfiguration::RegisterBuilder([](CoreConfiguration::Builder* builder) { - builder->channel_init()->RegisterStage( - GRPC_SERVER_CHANNEL, INT_MAX, [](ChannelStackBuilder* builder) { - // TODO(yashykt) : Figure out a good place to place this channel - // arg - if (builder->channel_args() - .GetInt("grpc.experimental.enable_observability") - .value_or(true)) { - builder->PrependFilter(&ServerLoggingFilter::kFilter); - } - return true; - }); - builder->channel_init()->RegisterStage( - GRPC_CLIENT_CHANNEL, INT_MAX, [](ChannelStackBuilder* builder) { - // TODO(yashykt) : Figure out a good place to place this channel - // arg - if (builder->channel_args() - .GetInt("grpc.experimental.enable_observability") - .value_or(true)) { - builder->PrependFilter(&ClientLoggingFilter::kFilter); - } - return true; - }); + builder->channel_init() + ->RegisterFilter(GRPC_SERVER_CHANNEL) + // TODO(yashykt) : Figure out a good place to place this channel arg + .IfChannelArg("grpc.experimental.enable_observability", true); + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_CHANNEL) + // TODO(yashykt) : Figure out a good place to place this channel arg + .IfChannelArg("grpc.experimental.enable_observability", true); }); } diff --git a/src/core/ext/filters/logging/logging_filter.h b/src/core/ext/filters/logging/logging_filter.h index b2a5efb6c80..6a27a653860 100644 --- a/src/core/ext/filters/logging/logging_filter.h +++ b/src/core/ext/filters/logging/logging_filter.h @@ -21,10 +21,49 @@ #include +#include +#include + +#include "absl/status/statusor.h" + #include "src/core/ext/filters/logging/logging_sink.h" +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/channel/channel_fwd.h" +#include "src/core/lib/channel/promise_based_filter.h" +#include "src/core/lib/promise/arena_promise.h" +#include "src/core/lib/transport/transport.h" namespace grpc_core { +class ClientLoggingFilter final : public ChannelFilter { + public: + static const grpc_channel_filter kFilter; + + static absl::StatusOr Create( + const ChannelArgs& args, ChannelFilter::Args /*filter_args*/); + + // Construct a promise for one call. + ArenaPromise MakeCallPromise( + CallArgs call_args, NextPromiseFactory next_promise_factory) override; + + private: + explicit ClientLoggingFilter(std::string default_authority) + : default_authority_(std::move(default_authority)) {} + std::string default_authority_; +}; + +class ServerLoggingFilter final : public ChannelFilter { + public: + static const grpc_channel_filter kFilter; + + static absl::StatusOr Create( + const ChannelArgs& args, ChannelFilter::Args /*filter_args*/); + + // Construct a promise for one call. + ArenaPromise MakeCallPromise( + CallArgs call_args, NextPromiseFactory next_promise_factory) override; +}; + void RegisterLoggingFilter(LoggingSink* sink); } // namespace grpc_core diff --git a/src/core/ext/filters/message_size/message_size_filter.cc b/src/core/ext/filters/message_size/message_size_filter.cc index be5505cf05a..c9fe96cc41c 100644 --- a/src/core/ext/filters/message_size/message_size_filter.cc +++ b/src/core/ext/filters/message_size/message_size_filter.cc @@ -21,8 +21,6 @@ #include #include -#include -#include #include #include "absl/strings/str_format.h" @@ -32,28 +30,35 @@ #include #include +#include "src/core/ext/filters/deadline/deadline_filter.h" #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_stack.h" -#include "src/core/lib/channel/channel_stack_builder.h" #include "src/core/lib/config/core_configuration.h" #include "src/core/lib/debug/trace.h" #include "src/core/lib/promise/activity.h" #include "src/core/lib/promise/context.h" #include "src/core/lib/promise/latch.h" -#include "src/core/lib/promise/poll.h" #include "src/core/lib/promise/race.h" #include "src/core/lib/resource_quota/arena.h" -#include "src/core/lib/service_config/service_config_call_data.h" #include "src/core/lib/slice/slice.h" #include "src/core/lib/slice/slice_buffer.h" #include "src/core/lib/surface/call_trace.h" -#include "src/core/lib/surface/channel_init.h" #include "src/core/lib/surface/channel_stack_type.h" #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" +#include "src/core/service_config/service_config_call_data.h" namespace grpc_core { +const NoInterceptor ClientMessageSizeFilter::Call::OnClientInitialMetadata; +const NoInterceptor ClientMessageSizeFilter::Call::OnServerInitialMetadata; +const NoInterceptor ClientMessageSizeFilter::Call::OnServerTrailingMetadata; +const NoInterceptor ClientMessageSizeFilter::Call::OnFinalize; +const NoInterceptor ServerMessageSizeFilter::Call::OnClientInitialMetadata; +const NoInterceptor ServerMessageSizeFilter::Call::OnServerInitialMetadata; +const NoInterceptor ServerMessageSizeFilter::Call::OnServerTrailingMetadata; +const NoInterceptor ServerMessageSizeFilter::Call::OnFinalize; + // // MessageSizeParsedConfig // @@ -142,60 +147,6 @@ const grpc_channel_filter ServerMessageSizeFilter::kFilter = kFilterExaminesOutboundMessages | kFilterExaminesInboundMessages>("message_size"); -class MessageSizeFilter::CallBuilder { - private: - auto Interceptor(uint32_t max_length, bool is_send) { - return [max_length, is_send, - err = err_](MessageHandle msg) -> absl::optional { - if (grpc_call_trace.enabled()) { - gpr_log(GPR_INFO, "%s[message_size] %s len:%" PRIdPTR " max:%d", - Activity::current()->DebugTag().c_str(), - is_send ? "send" : "recv", msg->payload()->Length(), - max_length); - } - if (msg->payload()->Length() > max_length) { - if (err->is_set()) return std::move(msg); - auto r = GetContext()->MakePooled( - GetContext()); - r->Set(GrpcStatusMetadata(), GRPC_STATUS_RESOURCE_EXHAUSTED); - r->Set(GrpcMessageMetadata(), - Slice::FromCopiedString( - absl::StrFormat("%s message larger than max (%u vs. %d)", - is_send ? "Sent" : "Received", - msg->payload()->Length(), max_length))); - err->Set(std::move(r)); - return absl::nullopt; - } - return std::move(msg); - }; - } - - public: - explicit CallBuilder(const MessageSizeParsedConfig& limits) - : limits_(limits) {} - - template - void AddSend(T* pipe_end) { - if (!limits_.max_send_size().has_value()) return; - pipe_end->InterceptAndMap(Interceptor(*limits_.max_send_size(), true)); - } - template - void AddRecv(T* pipe_end) { - if (!limits_.max_recv_size().has_value()) return; - pipe_end->InterceptAndMap(Interceptor(*limits_.max_recv_size(), false)); - } - - ArenaPromise Run( - CallArgs call_args, NextPromiseFactory next_promise_factory) { - return Race(err_->Wait(), next_promise_factory(std::move(call_args))); - } - - private: - Latch* const err_ = - GetContext()->ManagedNew>(); - MessageSizeParsedConfig limits_; -}; - absl::StatusOr ClientMessageSizeFilter::Create( const ChannelArgs& args, ChannelFilter::Args) { return ClientMessageSizeFilter(args); @@ -206,20 +157,40 @@ absl::StatusOr ServerMessageSizeFilter::Create( return ServerMessageSizeFilter(args); } -ArenaPromise ClientMessageSizeFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { +namespace { +ServerMetadataHandle CheckPayload(const Message& msg, + absl::optional max_length, + bool is_send) { + if (!max_length.has_value()) return nullptr; + if (GRPC_TRACE_FLAG_ENABLED(grpc_call_trace)) { + gpr_log(GPR_INFO, "%s[message_size] %s len:%" PRIdPTR " max:%d", + GetContext()->DebugTag().c_str(), + is_send ? "send" : "recv", msg.payload()->Length(), *max_length); + } + if (msg.payload()->Length() <= *max_length) return nullptr; + auto r = GetContext()->MakePooled(GetContext()); + r->Set(GrpcStatusMetadata(), GRPC_STATUS_RESOURCE_EXHAUSTED); + r->Set(GrpcMessageMetadata(), Slice::FromCopiedString(absl::StrFormat( + "%s message larger than max (%u vs. %d)", + is_send ? "Sent" : "Received", + msg.payload()->Length(), *max_length))); + return r; +} +} // namespace + +ClientMessageSizeFilter::Call::Call(ClientMessageSizeFilter* filter) + : limits_(filter->parsed_config_) { // Get max sizes from channel data, then merge in per-method config values. // Note: Per-method config is only available on the client, so we // apply the max request size to the send limit and the max response // size to the receive limit. - MessageSizeParsedConfig limits = this->limits(); const MessageSizeParsedConfig* config_from_call_context = MessageSizeParsedConfig::GetFromCallContext( GetContext(), - service_config_parser_index_); + filter->service_config_parser_index_); if (config_from_call_context != nullptr) { - absl::optional max_send_size = limits.max_send_size(); - absl::optional max_recv_size = limits.max_recv_size(); + absl::optional max_send_size = limits_.max_send_size(); + absl::optional max_recv_size = limits_.max_recv_size(); if (config_from_call_context->max_send_size().has_value() && (!max_send_size.has_value() || *config_from_call_context->max_send_size() < *max_send_size)) { @@ -230,63 +201,62 @@ ArenaPromise ClientMessageSizeFilter::MakeCallPromise( *config_from_call_context->max_recv_size() < *max_recv_size)) { max_recv_size = *config_from_call_context->max_recv_size(); } - limits = MessageSizeParsedConfig(max_send_size, max_recv_size); + limits_ = MessageSizeParsedConfig(max_send_size, max_recv_size); } +} - CallBuilder b(limits); - b.AddSend(call_args.client_to_server_messages); - b.AddRecv(call_args.server_to_client_messages); - return b.Run(std::move(call_args), std::move(next_promise_factory)); +ServerMetadataHandle ServerMessageSizeFilter::Call::OnClientToServerMessage( + const Message& message, ServerMessageSizeFilter* filter) { + return CheckPayload(message, filter->parsed_config_.max_recv_size(), false); } -ArenaPromise ServerMessageSizeFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { - CallBuilder b(limits()); - b.AddSend(call_args.server_to_client_messages); - b.AddRecv(call_args.client_to_server_messages); - return b.Run(std::move(call_args), std::move(next_promise_factory)); +ServerMetadataHandle ServerMessageSizeFilter::Call::OnServerToClientMessage( + const Message& message, ServerMessageSizeFilter* filter) { + return CheckPayload(message, filter->parsed_config_.max_send_size(), true); } -namespace { -// Used for GRPC_CLIENT_SUBCHANNEL -bool MaybeAddMessageSizeFilterToSubchannel(ChannelStackBuilder* builder) { - if (builder->channel_args().WantMinimalStack()) { - return true; - } - builder->PrependFilter(&ClientMessageSizeFilter::kFilter); - return true; +ServerMetadataHandle ClientMessageSizeFilter::Call::OnClientToServerMessage( + const Message& message) { + return CheckPayload(message, limits_.max_send_size(), true); +} + +ServerMetadataHandle ClientMessageSizeFilter::Call::OnServerToClientMessage( + const Message& message) { + return CheckPayload(message, limits_.max_recv_size(), false); } +namespace { // Used for GRPC_CLIENT_DIRECT_CHANNEL and GRPC_SERVER_CHANNEL. Adds the // filter only if message size limits or service config is specified. -auto MaybeAddMessageSizeFilter(const grpc_channel_filter* filter) { - return [filter](ChannelStackBuilder* builder) { - auto channel_args = builder->channel_args(); - if (channel_args.WantMinimalStack()) { - return true; - } - MessageSizeParsedConfig limits = - MessageSizeParsedConfig::GetFromChannelArgs(channel_args); - const bool enable = - limits.max_send_size().has_value() || - limits.max_recv_size().has_value() || - channel_args.GetString(GRPC_ARG_SERVICE_CONFIG).has_value(); - if (enable) builder->PrependFilter(filter); - return true; - }; +bool HasMessageSizeLimits(const ChannelArgs& channel_args) { + MessageSizeParsedConfig limits = + MessageSizeParsedConfig::GetFromChannelArgs(channel_args); + return limits.max_send_size().has_value() || + limits.max_recv_size().has_value() || + channel_args.GetString(GRPC_ARG_SERVICE_CONFIG).has_value(); } } // namespace void RegisterMessageSizeFilter(CoreConfiguration::Builder* builder) { MessageSizeParser::Register(builder); - builder->channel_init()->RegisterStage(GRPC_CLIENT_SUBCHANNEL, - GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, - MaybeAddMessageSizeFilterToSubchannel); - builder->channel_init()->RegisterStage( - GRPC_CLIENT_DIRECT_CHANNEL, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, - MaybeAddMessageSizeFilter(&ClientMessageSizeFilter::kFilter)); - builder->channel_init()->RegisterStage( - GRPC_SERVER_CHANNEL, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, - MaybeAddMessageSizeFilter(&ServerMessageSizeFilter::kFilter)); + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_SUBCHANNEL) + .ExcludeFromMinimalStack(); + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_DIRECT_CHANNEL) + .ExcludeFromMinimalStack() + .If(HasMessageSizeLimits) + // TODO(ctiller): ordering constraint is here to match the ordering that + // existed prior to ordering constraints did. Re-examine the ordering of + // filters from first principles. + .Before({&grpc_client_deadline_filter}); + builder->channel_init() + ->RegisterFilter(GRPC_SERVER_CHANNEL) + .ExcludeFromMinimalStack() + .If(HasMessageSizeLimits) + // TODO(ctiller): ordering constraint is here to match the ordering that + // existed prior to ordering constraints did. Re-examine the ordering of + // filters from first principles. + .Before({&grpc_server_deadline_filter}); } } // namespace grpc_core diff --git a/src/core/ext/filters/message_size/message_size_filter.h b/src/core/ext/filters/message_size/message_size_filter.h index 75135a1b75e..3a9ea1f2064 100644 --- a/src/core/ext/filters/message_size/message_size_filter.h +++ b/src/core/ext/filters/message_size/message_size_filter.h @@ -38,8 +38,8 @@ #include "src/core/lib/json/json_args.h" #include "src/core/lib/json/json_object_loader.h" #include "src/core/lib/promise/arena_promise.h" -#include "src/core/lib/service_config/service_config_parser.h" #include "src/core/lib/transport/transport.h" +#include "src/core/service_config/service_config_parser.h" namespace grpc_core { @@ -86,48 +86,60 @@ class MessageSizeParser : public ServiceConfigParser::Parser { absl::optional GetMaxRecvSizeFromChannelArgs(const ChannelArgs& args); absl::optional GetMaxSendSizeFromChannelArgs(const ChannelArgs& args); -class MessageSizeFilter : public ChannelFilter { - protected: - explicit MessageSizeFilter(const ChannelArgs& args) - : limits_(MessageSizeParsedConfig::GetFromChannelArgs(args)) {} - - class CallBuilder; - - const MessageSizeParsedConfig& limits() const { return limits_; } - - private: - MessageSizeParsedConfig limits_; -}; - -class ServerMessageSizeFilter final : public MessageSizeFilter { +class ServerMessageSizeFilter final + : public ImplementChannelFilter { public: static const grpc_channel_filter kFilter; static absl::StatusOr Create( const ChannelArgs& args, ChannelFilter::Args filter_args); - // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + static const NoInterceptor OnClientInitialMetadata; + static const NoInterceptor OnServerInitialMetadata; + static const NoInterceptor OnServerTrailingMetadata; + static const NoInterceptor OnFinalize; + ServerMetadataHandle OnClientToServerMessage( + const Message& message, ServerMessageSizeFilter* filter); + ServerMetadataHandle OnServerToClientMessage( + const Message& message, ServerMessageSizeFilter* filter); + }; private: - using MessageSizeFilter::MessageSizeFilter; + explicit ServerMessageSizeFilter(const ChannelArgs& args) + : parsed_config_(MessageSizeParsedConfig::GetFromChannelArgs(args)) {} + const MessageSizeParsedConfig parsed_config_; }; -class ClientMessageSizeFilter final : public MessageSizeFilter { +class ClientMessageSizeFilter final + : public ImplementChannelFilter { public: static const grpc_channel_filter kFilter; static absl::StatusOr Create( const ChannelArgs& args, ChannelFilter::Args filter_args); - // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + explicit Call(ClientMessageSizeFilter* filter); + + static const NoInterceptor OnClientInitialMetadata; + static const NoInterceptor OnServerInitialMetadata; + static const NoInterceptor OnServerTrailingMetadata; + static const NoInterceptor OnFinalize; + ServerMetadataHandle OnClientToServerMessage(const Message& message); + ServerMetadataHandle OnServerToClientMessage(const Message& message); + + private: + MessageSizeParsedConfig limits_; + }; private: + explicit ClientMessageSizeFilter(const ChannelArgs& args) + : parsed_config_(MessageSizeParsedConfig::GetFromChannelArgs(args)) {} const size_t service_config_parser_index_{MessageSizeParser::ParserIndex()}; - using MessageSizeFilter::MessageSizeFilter; + const MessageSizeParsedConfig parsed_config_; }; } // namespace grpc_core diff --git a/src/core/ext/filters/rbac/rbac_filter.cc b/src/core/ext/filters/rbac/rbac_filter.cc index 4f8b018208c..a006135bee4 100644 --- a/src/core/ext/filters/rbac/rbac_filter.cc +++ b/src/core/ext/filters/rbac/rbac_filter.cc @@ -37,14 +37,20 @@ #include "src/core/lib/security/authorization/authorization_engine.h" #include "src/core/lib/security/authorization/grpc_authorization_engine.h" #include "src/core/lib/security/context/security_context.h" -#include "src/core/lib/service_config/service_config_call_data.h" -#include "src/core/lib/transport/transport_fwd.h" -#include "src/core/lib/transport/transport_impl.h" +#include "src/core/lib/transport/metadata_batch.h" +#include "src/core/lib/transport/transport.h" +#include "src/core/service_config/service_config_call_data.h" namespace grpc_core { -ArenaPromise RbacFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { +const NoInterceptor RbacFilter::Call::OnServerInitialMetadata; +const NoInterceptor RbacFilter::Call::OnServerTrailingMetadata; +const NoInterceptor RbacFilter::Call::OnClientToServerMessage; +const NoInterceptor RbacFilter::Call::OnServerToClientMessage; +const NoInterceptor RbacFilter::Call::OnFinalize; + +absl::Status RbacFilter::Call::OnClientInitialMetadata(ClientMetadata& md, + RbacFilter* filter) { // Fetch and apply the rbac policy from the service config. auto* service_config_call_data = static_cast( GetContext< @@ -52,21 +58,19 @@ ArenaPromise RbacFilter::MakeCallPromise( .value); auto* method_params = static_cast( service_config_call_data->GetMethodParsedConfig( - service_config_parser_index_)); + filter->service_config_parser_index_)); if (method_params == nullptr) { - return Immediate(ServerMetadataFromStatus( - absl::PermissionDeniedError("No RBAC policy found."))); + return absl::PermissionDeniedError("No RBAC policy found."); } else { - auto* authorization_engine = method_params->authorization_engine(index_); + auto* authorization_engine = + method_params->authorization_engine(filter->index_); if (authorization_engine - ->Evaluate(EvaluateArgs(call_args.client_initial_metadata.get(), - &per_channel_evaluate_args_)) + ->Evaluate(EvaluateArgs(&md, &filter->per_channel_evaluate_args_)) .type == AuthorizationEngine::Decision::Type::kDeny) { - return Immediate(ServerMetadataFromStatus( - absl::PermissionDeniedError("Unauthorized RPC rejected"))); + return absl::PermissionDeniedError("Unauthorized RPC rejected"); } } - return next_promise_factory(std::move(call_args)); + return absl::OkStatus(); } const grpc_channel_filter RbacFilter::kFilterVtable = @@ -84,17 +88,17 @@ absl::StatusOr RbacFilter::Create(const ChannelArgs& args, if (auth_context == nullptr) { return GRPC_ERROR_CREATE("No auth context found"); } - auto* transport = args.GetObject(); + auto* transport = args.GetObject(); if (transport == nullptr) { // This should never happen since the transport is always set on the server // side. return GRPC_ERROR_CREATE("No transport configured"); } - return RbacFilter(grpc_channel_stack_filter_instance_number( - filter_args.channel_stack(), - filter_args.uninitialized_channel_element()), - EvaluateArgs::PerChannelArgs( - auth_context, grpc_transport_get_endpoint(transport))); + return RbacFilter( + grpc_channel_stack_filter_instance_number( + filter_args.channel_stack(), + filter_args.uninitialized_channel_element()), + EvaluateArgs::PerChannelArgs(auth_context, transport->GetEndpoint())); } void RbacFilterRegister(CoreConfiguration::Builder* builder) { diff --git a/src/core/ext/filters/rbac/rbac_filter.h b/src/core/ext/filters/rbac/rbac_filter.h index 1bc923c4e22..f2208753b6b 100644 --- a/src/core/ext/filters/rbac/rbac_filter.h +++ b/src/core/ext/filters/rbac/rbac_filter.h @@ -34,7 +34,7 @@ namespace grpc_core { // Filter used when xDS server config fetcher provides a configuration with an // HTTP RBAC filter. Also serves as the type for channel data for the filter. -class RbacFilter : public ChannelFilter { +class RbacFilter : public ImplementChannelFilter { public: // This channel filter is intended to be used by connections on xDS enabled // servers configured with RBAC. The RBAC filter fetches the RBAC policy from @@ -45,9 +45,16 @@ class RbacFilter : public ChannelFilter { static absl::StatusOr Create(const ChannelArgs& args, ChannelFilter::Args filter_args); - // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + absl::Status OnClientInitialMetadata(ClientMetadata& md, + RbacFilter* filter); + static const NoInterceptor OnServerInitialMetadata; + static const NoInterceptor OnServerTrailingMetadata; + static const NoInterceptor OnClientToServerMessage; + static const NoInterceptor OnServerToClientMessage; + static const NoInterceptor OnFinalize; + }; private: RbacFilter(size_t index, diff --git a/src/core/ext/filters/rbac/rbac_service_config_parser.h b/src/core/ext/filters/rbac/rbac_service_config_parser.h index bdf9b662534..4d1ff294d14 100644 --- a/src/core/ext/filters/rbac/rbac_service_config_parser.h +++ b/src/core/ext/filters/rbac/rbac_service_config_parser.h @@ -34,7 +34,7 @@ #include "src/core/lib/json/json.h" #include "src/core/lib/security/authorization/grpc_authorization_engine.h" #include "src/core/lib/security/authorization/rbac_policy.h" -#include "src/core/lib/service_config/service_config_parser.h" +#include "src/core/service_config/service_config_parser.h" namespace grpc_core { diff --git a/src/core/ext/filters/server_config_selector/server_config_selector.h b/src/core/ext/filters/server_config_selector/server_config_selector.h index 5f55cff3aa8..924aed3778d 100644 --- a/src/core/ext/filters/server_config_selector/server_config_selector.h +++ b/src/core/ext/filters/server_config_selector/server_config_selector.h @@ -28,9 +28,9 @@ #include "src/core/lib/gprpp/dual_ref_counted.h" #include "src/core/lib/gprpp/ref_counted.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" -#include "src/core/lib/service_config/service_config.h" -#include "src/core/lib/service_config/service_config_parser.h" #include "src/core/lib/transport/metadata_batch.h" +#include "src/core/service_config/service_config.h" +#include "src/core/service_config/service_config_parser.h" namespace grpc_core { diff --git a/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc b/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc index 982ac991bfa..fc78beba190 100644 --- a/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +++ b/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc @@ -38,15 +38,17 @@ #include "src/core/lib/promise/context.h" #include "src/core/lib/promise/promise.h" #include "src/core/lib/resource_quota/arena.h" -#include "src/core/lib/service_config/service_config.h" -#include "src/core/lib/service_config/service_config_call_data.h" +#include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" +#include "src/core/service_config/service_config.h" +#include "src/core/service_config/service_config_call_data.h" namespace grpc_core { namespace { -class ServerConfigSelectorFilter final : public ChannelFilter { +class ServerConfigSelectorFilter final + : public ImplementChannelFilter { public: ~ServerConfigSelectorFilter() override; @@ -59,8 +61,16 @@ class ServerConfigSelectorFilter final : public ChannelFilter { static absl::StatusOr Create( const ChannelArgs& args, ChannelFilter::Args); - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + absl::Status OnClientInitialMetadata(ClientMetadata& md, + ServerConfigSelectorFilter* filter); + static const NoInterceptor OnServerInitialMetadata; + static const NoInterceptor OnServerTrailingMetadata; + static const NoInterceptor OnClientToServerMessage; + static const NoInterceptor OnServerToClientMessage; + static const NoInterceptor OnFinalize; + }; absl::StatusOr> config_selector() { MutexLock lock(&state_->mu); @@ -129,25 +139,28 @@ ServerConfigSelectorFilter::~ServerConfigSelectorFilter() { } } -ArenaPromise ServerConfigSelectorFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { - auto sel = config_selector(); - if (!sel.ok()) return Immediate(ServerMetadataFromStatus(sel.status())); - auto call_config = - sel.value()->GetCallConfig(call_args.client_initial_metadata.get()); +absl::Status ServerConfigSelectorFilter::Call::OnClientInitialMetadata( + ClientMetadata& md, ServerConfigSelectorFilter* filter) { + auto sel = filter->config_selector(); + if (!sel.ok()) return sel.status(); + auto call_config = sel.value()->GetCallConfig(&md); if (!call_config.ok()) { - auto r = Immediate(ServerMetadataFromStatus( - absl::UnavailableError(StatusToString(call_config.status())))); - return std::move(r); + return absl::UnavailableError(StatusToString(call_config.status())); } auto* service_config_call_data = GetContext()->New( GetContext(), GetContext()); service_config_call_data->SetServiceConfig( std::move(call_config->service_config), call_config->method_configs); - return next_promise_factory(std::move(call_args)); + return absl::OkStatus(); } +const NoInterceptor ServerConfigSelectorFilter::Call::OnServerInitialMetadata; +const NoInterceptor ServerConfigSelectorFilter::Call::OnServerTrailingMetadata; +const NoInterceptor ServerConfigSelectorFilter::Call::OnClientToServerMessage; +const NoInterceptor ServerConfigSelectorFilter::Call::OnServerToClientMessage; +const NoInterceptor ServerConfigSelectorFilter::Call::OnFinalize; + } // namespace const grpc_channel_filter kServerConfigSelectorFilter = diff --git a/src/core/ext/filters/stateful_session/stateful_session_filter.cc b/src/core/ext/filters/stateful_session/stateful_session_filter.cc index 315e7e5ae62..f9dab68ab5a 100644 --- a/src/core/ext/filters/stateful_session/stateful_session_filter.cc +++ b/src/core/ext/filters/stateful_session/stateful_session_filter.cc @@ -37,9 +37,7 @@ #include "absl/types/optional.h" #include -#include -#include "src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h" #include "src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h" #include "src/core/lib/channel/channel_stack.h" #include "src/core/lib/channel/context.h" @@ -50,16 +48,19 @@ #include "src/core/lib/promise/context.h" #include "src/core/lib/promise/map.h" #include "src/core/lib/promise/pipe.h" -#include "src/core/lib/promise/poll.h" #include "src/core/lib/resource_quota/arena.h" -#include "src/core/lib/service_config/service_config_call_data.h" #include "src/core/lib/slice/slice.h" #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" +#include "src/core/resolver/xds/xds_resolver_attributes.h" +#include "src/core/service_config/service_config_call_data.h" namespace grpc_core { TraceFlag grpc_stateful_session_filter_trace(false, "stateful_session_filter"); +const NoInterceptor StatefulSessionFilter::Call::OnClientToServerMessage; +const NoInterceptor StatefulSessionFilter::Call::OnServerToClientMessage; +const NoInterceptor StatefulSessionFilter::Call::OnFinalize; UniqueTypeName XdsOverrideHostAttribute::TypeName() { static UniqueTypeName::Factory kFactory("xds_override_host"); @@ -102,21 +103,18 @@ absl::string_view AllocateStringOnArena( // Adds the set-cookie header to the server initial metadata if needed. void MaybeUpdateServerInitialMetadata( const StatefulSessionMethodParsedConfig::CookieConfig* cookie_config, - bool cluster_changed, absl::string_view host_override, - absl::string_view actual_cluster, ServerMetadata* server_initial_metadata) { - // Get peer string. - Slice* peer_string = server_initial_metadata->get_pointer(PeerString()); - if (peer_string == nullptr) { - // No changes, keep the same set-cookie header. + bool cluster_changed, absl::string_view actual_cluster, + absl::string_view cookie_address_list, + XdsOverrideHostAttribute* override_host_attribute, + ServerMetadata& server_initial_metadata) { + // If cookie doesn't need to change, do nothing. + if (cookie_address_list == override_host_attribute->actual_address_list() && + !cluster_changed) { return; } - if (host_override == peer_string->as_string_view() && !cluster_changed) { - return; - } - std::string new_value(peer_string->as_string_view()); - if (!actual_cluster.empty()) { - absl::StrAppend(&new_value, ";", actual_cluster); - } + // Construct new cookie value. + std::string new_value = absl::StrCat( + override_host_attribute->actual_address_list(), ";", actual_cluster); std::vector parts = {absl::StrCat( *cookie_config->name, "=", absl::Base64Escape(new_value), "; HttpOnly")}; if (!cookie_config->path.empty()) { @@ -126,7 +124,7 @@ void MaybeUpdateServerInitialMetadata( parts.emplace_back( absl::StrCat("Max-Age=", cookie_config->ttl.as_timespec().tv_sec)); } - server_initial_metadata->Append( + server_initial_metadata.Append( "set-cookie", Slice::FromCopiedString(absl::StrJoin(parts, "; ")), [](absl::string_view error, const Slice&) { Crash(absl::StrCat("ERROR ADDING set-cookie METADATA: ", error)); @@ -173,12 +171,11 @@ absl::string_view GetClusterToUse( return absl::StripPrefix(arena_allocated_cluster, kClusterPrefix); } -std::string GetCookieValue(const ClientMetadataHandle& client_initial_metadata, +std::string GetCookieValue(const ClientMetadata& client_initial_metadata, absl::string_view cookie_name) { // Check to see if the cookie header is present. std::string buffer; - auto header_value = - client_initial_metadata->GetStringValue("cookie", &buffer); + auto header_value = client_initial_metadata.GetStringValue("cookie", &buffer); if (!header_value.has_value()) return ""; // Parse cookie header. std::vector values; @@ -198,13 +195,14 @@ std::string GetCookieValue(const ClientMetadataHandle& client_initial_metadata, } bool IsConfiguredPath(absl::string_view configured_path, - const ClientMetadataHandle& client_initial_metadata) { + const ClientMetadata& client_initial_metadata) { // No path configured meaning all paths match if (configured_path.empty()) { return true; } // Check to see if the configured path matches the request path. - Slice* path_slice = client_initial_metadata->get_pointer(HttpPathMetadata()); + const Slice* path_slice = + client_initial_metadata.get_pointer(HttpPathMetadata()); GPR_ASSERT(path_slice != nullptr); absl::string_view path = path_slice->as_string_view(); // Matching criteria from @@ -223,9 +221,8 @@ bool IsConfiguredPath(absl::string_view configured_path, } } // namespace -// Construct a promise for one call. -ArenaPromise StatefulSessionFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { +void StatefulSessionFilter::Call::OnClientInitialMetadata( + ClientMetadata& md, StatefulSessionFilter* filter) { // Get config. auto* service_config_call_data = static_cast( GetContext< @@ -234,59 +231,57 @@ ArenaPromise StatefulSessionFilter::MakeCallPromise( GPR_ASSERT(service_config_call_data != nullptr); auto* method_params = static_cast( service_config_call_data->GetMethodParsedConfig( - service_config_parser_index_)); + filter->service_config_parser_index_)); GPR_ASSERT(method_params != nullptr); - auto* cookie_config = method_params->GetConfig(index_); - GPR_ASSERT(cookie_config != nullptr); - if (!cookie_config->name.has_value() || - !IsConfiguredPath(cookie_config->path, - call_args.client_initial_metadata)) { - return next_promise_factory(std::move(call_args)); + cookie_config_ = method_params->GetConfig(filter->index_); + GPR_ASSERT(cookie_config_ != nullptr); + if (!cookie_config_->name.has_value() || + !IsConfiguredPath(cookie_config_->path, md)) { + return; } // Base64-decode cookie value. - std::string cookie_value = - GetCookieValue(call_args.client_initial_metadata, *cookie_config->name); + std::string cookie_value = GetCookieValue(md, *cookie_config_->name); // Cookie format is "host;cluster" std::pair host_cluster = absl::StrSplit(cookie_value, absl::MaxSplits(';', 1)); - absl::string_view host_override; - // Set override host attribute. Allocate the string on the - // arena, so that it has the right lifetime. + // Allocate the string on the arena, so that it has the right lifetime. if (!host_cluster.first.empty()) { - host_override = AllocateStringOnArena(host_cluster.first); - service_config_call_data->SetCallAttribute( - GetContext()->New(host_override)); + cookie_address_list_ = AllocateStringOnArena(host_cluster.first); } + // Set override host attribute. + override_host_attribute_ = + GetContext()->ManagedNew( + cookie_address_list_); + service_config_call_data->SetCallAttribute(override_host_attribute_); // Check if the cluster override is valid, and apply it if necessary. // Note that cluster_name will point to an arena-allocated string // that will still be alive when we see the server initial metadata. // If the cluster name is empty, that means we cannot use a // cluster override (i.e., the route uses a cluster specifier plugin). - absl::string_view cluster_name = + cluster_name_ = GetClusterToUse(host_cluster.second, service_config_call_data); - bool cluster_changed = cluster_name != host_cluster.second; - // Intercept server initial metadata. - call_args.server_initial_metadata->InterceptAndMap( - [cookie_config, cluster_changed, host_override, - cluster_name](ServerMetadataHandle md) { - // Add cookie to server initial metadata if needed. - MaybeUpdateServerInitialMetadata(cookie_config, cluster_changed, - host_override, cluster_name, md.get()); - return md; - }); - return Map(next_promise_factory(std::move(call_args)), - [cookie_config, cluster_changed, host_override, - cluster_name](ServerMetadataHandle md) { - // If we got a Trailers-Only response, then add the - // cookie to the trailing metadata instead of the - // initial metadata. - if (md->get(GrpcTrailersOnly()).value_or(false)) { - MaybeUpdateServerInitialMetadata( - cookie_config, cluster_changed, host_override, - cluster_name, md.get()); - } - return md; - }); + cluster_changed_ = cluster_name_ != host_cluster.second; + perform_filtering_ = true; +} + +void StatefulSessionFilter::Call::OnServerInitialMetadata(ServerMetadata& md) { + if (!perform_filtering_) return; + // Add cookie to server initial metadata if needed. + MaybeUpdateServerInitialMetadata(cookie_config_, cluster_changed_, + cluster_name_, cookie_address_list_, + override_host_attribute_, md); +} + +void StatefulSessionFilter::Call::OnServerTrailingMetadata(ServerMetadata& md) { + if (!perform_filtering_) return; + // If we got a Trailers-Only response, then add the + // cookie to the trailing metadata instead of the + // initial metadata. + if (md.get(GrpcTrailersOnly()).value_or(false)) { + MaybeUpdateServerInitialMetadata(cookie_config_, cluster_changed_, + cluster_name_, cookie_address_list_, + override_host_attribute_, md); + } } void StatefulSessionFilterRegister(CoreConfiguration::Builder* builder) { diff --git a/src/core/ext/filters/stateful_session/stateful_session_filter.h b/src/core/ext/filters/stateful_session/stateful_session_filter.h index 2fea7f47391..1fc27e1508b 100644 --- a/src/core/ext/filters/stateful_session/stateful_session_filter.h +++ b/src/core/ext/filters/stateful_session/stateful_session_filter.h @@ -21,46 +21,80 @@ #include +#include + #include "absl/status/statusor.h" #include "absl/strings/string_view.h" +#include "src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h" #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/promise_based_filter.h" +#include "src/core/lib/gprpp/ref_counted_string.h" #include "src/core/lib/gprpp/unique_type_name.h" #include "src/core/lib/promise/arena_promise.h" -#include "src/core/lib/service_config/service_config_call_data.h" #include "src/core/lib/transport/transport.h" +#include "src/core/service_config/service_config_call_data.h" namespace grpc_core { +// A call attribute to be passed to the xds_override_host LB policy. +// The StatefulSession filter will populate the cookie's address list, +// if set. The xds_override_host LB policy will use that info, and then +// set the actual address list based on the chosen endpoint. The +// StatefulSession filter will then use the actual address list to +// update the cookie. class XdsOverrideHostAttribute : public ServiceConfigCallData::CallAttributeInterface { public: static UniqueTypeName TypeName(); - explicit XdsOverrideHostAttribute(absl::string_view host_name) - : host_name_(host_name) {} + explicit XdsOverrideHostAttribute(absl::string_view cookie_address_list) + : cookie_address_list_(cookie_address_list) {} + + absl::string_view cookie_address_list() const { return cookie_address_list_; } - absl::string_view host_name() const { return host_name_; } + absl::string_view actual_address_list() const { + return actual_address_list_.as_string_view(); + } + void set_actual_address_list(RefCountedStringValue actual_address_list) { + actual_address_list_ = std::move(actual_address_list); + } private: UniqueTypeName type() const override { return TypeName(); } - absl::string_view host_name_; + absl::string_view cookie_address_list_; + RefCountedStringValue actual_address_list_; }; // A filter to provide cookie-based stateful session affinity. -class StatefulSessionFilter : public ChannelFilter { +class StatefulSessionFilter + : public ImplementChannelFilter { public: static const grpc_channel_filter kFilter; static absl::StatusOr Create( const ChannelArgs& args, ChannelFilter::Args filter_args); - // Construct a promise for one call. - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + void OnClientInitialMetadata(ClientMetadata& md, + StatefulSessionFilter* filter); + void OnServerInitialMetadata(ServerMetadata& md); + void OnServerTrailingMetadata(ServerMetadata& md); + static const NoInterceptor OnClientToServerMessage; + static const NoInterceptor OnServerToClientMessage; + static const NoInterceptor OnFinalize; + + private: + const StatefulSessionMethodParsedConfig::CookieConfig* cookie_config_; + XdsOverrideHostAttribute* override_host_attribute_; + absl::string_view cluster_name_; + absl::string_view cookie_address_list_; + bool cluster_changed_; + bool perform_filtering_ = false; + }; private: explicit StatefulSessionFilter(ChannelFilter::Args filter_args); diff --git a/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h b/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h index 4b57d233d4d..876c0fda405 100644 --- a/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +++ b/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h @@ -35,7 +35,7 @@ #include "src/core/lib/json/json.h" #include "src/core/lib/json/json_args.h" #include "src/core/lib/json/json_object_loader.h" -#include "src/core/lib/service_config/service_config_parser.h" +#include "src/core/service_config/service_config_parser.h" // Channel arg key for enabling parsing fault injection via method config. #define GRPC_ARG_PARSE_STATEFUL_SESSION_METHOD_CONFIG \ diff --git a/src/core/ext/gcp/metadata_query.cc b/src/core/ext/gcp/metadata_query.cc index 59a62dd0cc0..273a7732ab2 100644 --- a/src/core/ext/gcp/metadata_query.cc +++ b/src/core/ext/gcp/metadata_query.cc @@ -22,7 +22,6 @@ #include -#include #include #include diff --git a/src/core/ext/transport/.clang-format b/src/core/ext/transport/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/src/core/ext/transport/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/src/core/ext/transport/binder/.clang-format b/src/core/ext/transport/binder/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/src/core/ext/transport/binder/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/src/core/ext/transport/binder/client/binder_connector.cc b/src/core/ext/transport/binder/client/binder_connector.cc index 51e733ae63d..0c3db89927c 100644 --- a/src/core/ext/transport/binder/client/binder_connector.cc +++ b/src/core/ext/transport/binder/client/binder_connector.cc @@ -20,7 +20,14 @@ #include "src/core/lib/iomgr/port.h" #ifdef GRPC_HAVE_UNIX_SOCKET +#ifdef GPR_WINDOWS +// clang-format off +#include +#include +// clang-format on +#else #include +#endif // GPR_WINDOWS #endif #include @@ -28,8 +35,8 @@ #include -#include "src/core/ext/filters/client_channel/connector.h" -#include "src/core/ext/filters/client_channel/subchannel.h" +#include "src/core/client_channel/connector.h" +#include "src/core/client_channel/subchannel.h" #include "src/core/ext/transport/binder/client/endpoint_binder_pool.h" #include "src/core/ext/transport/binder/client/security_policy_setting.h" #include "src/core/ext/transport/binder/transport/binder_transport.h" @@ -80,7 +87,7 @@ class BinderConnector : public grpc_core::SubchannelConnector { void OnConnected(std::unique_ptr endpoint_binder) { GPR_ASSERT(endpoint_binder != nullptr); - grpc_transport* transport = grpc_create_binder_transport_client( + grpc_core::Transport* transport = grpc_create_binder_transport_client( std::move(endpoint_binder), grpc_binder::GetSecurityPolicySetting()->Get(conn_id_)); GPR_ASSERT(transport != nullptr); diff --git a/src/core/ext/transport/binder/client/binder_connector.h b/src/core/ext/transport/binder/client/binder_connector.h index baa050fc65a..4a350251677 100644 --- a/src/core/ext/transport/binder/client/binder_connector.h +++ b/src/core/ext/transport/binder/client/binder_connector.h @@ -27,8 +27,8 @@ #include #include -#include "src/core/ext/filters/client_channel/client_channel.h" -#include "src/core/ext/filters/client_channel/client_channel_factory.h" +#include "src/core/client_channel/client_channel_factory.h" +#include "src/core/client_channel/client_channel_filter.h" namespace grpc_core { diff --git a/src/core/ext/transport/binder/client/channel_create.cc b/src/core/ext/transport/binder/client/channel_create.cc index 1c785daffb8..b22176e090d 100644 --- a/src/core/ext/transport/binder/client/channel_create.cc +++ b/src/core/ext/transport/binder/client/channel_create.cc @@ -43,7 +43,7 @@ #include -#include "src/core/ext/filters/client_channel/client_channel.h" +#include "src/core/client_channel/client_channel_filter.h" #include "src/core/ext/transport/binder/client/channel_create_impl.h" #include "src/core/ext/transport/binder/client/connection_id_generator.h" #include "src/core/ext/transport/binder/client/endpoint_binder_pool.h" diff --git a/src/core/ext/transport/binder/client/channel_create_impl.cc b/src/core/ext/transport/binder/client/channel_create_impl.cc index 9ae3eb7a3df..8a60b56c981 100644 --- a/src/core/ext/transport/binder/client/channel_create_impl.cc +++ b/src/core/ext/transport/binder/client/channel_create_impl.cc @@ -47,7 +47,7 @@ grpc_channel* CreateDirectBinderChannelImplForTesting( security_policy) { grpc_core::ExecCtx exec_ctx; - grpc_transport* transport = grpc_create_binder_transport_client( + grpc_core::Transport* transport = grpc_create_binder_transport_client( std::move(endpoint_binder), security_policy); GPR_ASSERT(transport != nullptr); diff --git a/src/core/ext/transport/binder/server/binder_server.cc b/src/core/ext/transport/binder/server/binder_server.cc index 71ba14fef0e..994d8f82cb8 100644 --- a/src/core/ext/transport/binder/server/binder_server.cc +++ b/src/core/ext/transport/binder/server/binder_server.cc @@ -210,7 +210,7 @@ class BinderServerListener : public Server::ListenerInterface { client_binder->Initialize(); // Finish the second half of SETUP_TRANSPORT in // grpc_create_binder_transport_server(). - grpc_transport* server_transport = grpc_create_binder_transport_server( + Transport* server_transport = grpc_create_binder_transport_server( std::move(client_binder), security_policy_); GPR_ASSERT(server_transport); grpc_error_handle error = server_->SetupTransport( diff --git a/src/core/ext/transport/binder/transport/binder_stream.h b/src/core/ext/transport/binder/transport/binder_stream.h index fc2f13c4496..afd0c414514 100644 --- a/src/core/ext/transport/binder/transport/binder_stream.h +++ b/src/core/ext/transport/binder/transport/binder_stream.h @@ -20,30 +20,30 @@ #include "src/core/ext/transport/binder/transport/binder_transport.h" struct RecvInitialMetadataArgs { - grpc_binder_stream* gbs; - grpc_binder_transport* gbt; + grpc_binder_stream* stream; + grpc_binder_transport* transport; int tx_code; absl::StatusOr initial_metadata; }; struct RecvMessageArgs { - grpc_binder_stream* gbs; - grpc_binder_transport* gbt; + grpc_binder_stream* stream; + grpc_binder_transport* transport; int tx_code; absl::StatusOr message; }; struct RecvTrailingMetadataArgs { - grpc_binder_stream* gbs; - grpc_binder_transport* gbt; + grpc_binder_stream* stream; + grpc_binder_transport* transport; int tx_code; absl::StatusOr trailing_metadata; int status; }; struct RegisterStreamArgs { - grpc_binder_stream* gbs; - grpc_binder_transport* gbt; + grpc_binder_stream* stream; + grpc_binder_transport* transport; }; // TODO(mingcl): Figure out if we want to use class instead of struct here @@ -59,12 +59,12 @@ struct grpc_binder_stream { tx_code(tx_code), is_client(is_client), is_closed(false) { - recv_initial_metadata_args.gbs = this; - recv_initial_metadata_args.gbt = t; - recv_message_args.gbs = this; - recv_message_args.gbt = t; - recv_trailing_metadata_args.gbs = this; - recv_trailing_metadata_args.gbt = t; + recv_initial_metadata_args.stream = this; + recv_initial_metadata_args.transport = t; + recv_message_args.stream = this; + recv_message_args.transport = t; + recv_trailing_metadata_args.stream = this; + recv_trailing_metadata_args.transport = t; } ~grpc_binder_stream() { diff --git a/src/core/ext/transport/binder/transport/binder_transport.cc b/src/core/ext/transport/binder/transport/binder_transport.cc index 75d94fa4dcf..aad7b43f213 100644 --- a/src/core/ext/transport/binder/transport/binder_transport.cc +++ b/src/core/ext/transport/binder/transport/binder_transport.cc @@ -99,39 +99,29 @@ static void grpc_binder_unref_transport(grpc_binder_transport* t) { static void register_stream_locked(void* arg, grpc_error_handle /*error*/) { RegisterStreamArgs* args = static_cast(arg); - args->gbt->registered_stream[args->gbs->GetTxCode()] = args->gbs; + args->transport->registered_stream[args->stream->GetTxCode()] = args->stream; } -static int init_stream(grpc_transport* gt, grpc_stream* gs, - grpc_stream_refcount* refcount, const void* server_data, - grpc_core::Arena* arena) { - gpr_log(GPR_INFO, "%s = %p %p %p %p %p", __func__, gt, gs, refcount, +void grpc_binder_transport::InitStream(grpc_stream* gs, + grpc_stream_refcount* refcount, + const void* server_data, + grpc_core::Arena* arena) { + gpr_log(GPR_INFO, "%s = %p %p %p %p %p", __func__, this, gs, refcount, server_data, arena); // Note that this function is not locked and may be invoked concurrently - grpc_binder_transport* t = reinterpret_cast(gt); - new (gs) grpc_binder_stream(t, refcount, server_data, arena, - t->NewStreamTxCode(), t->is_client); + new (gs) grpc_binder_stream(this, refcount, server_data, arena, + NewStreamTxCode(), is_client); // `grpc_binder_transport::registered_stream` should only be updated in // combiner - grpc_binder_stream* gbs = reinterpret_cast(gs); - gbs->register_stream_args.gbs = gbs; - gbs->register_stream_args.gbt = t; + grpc_binder_stream* stream = reinterpret_cast(gs); + stream->register_stream_args.stream = stream; + stream->register_stream_args.transport = this; grpc_core::ExecCtx exec_ctx; - t->combiner->Run( - GRPC_CLOSURE_INIT(&gbs->register_stream_closure, register_stream_locked, - &gbs->register_stream_args, nullptr), - absl::OkStatus()); - - return 0; -} - -static void set_pollset(grpc_transport* gt, grpc_stream* gs, grpc_pollset* gp) { - gpr_log(GPR_INFO, "%s = %p %p %p", __func__, gt, gs, gp); -} - -static void set_pollset_set(grpc_transport*, grpc_stream*, grpc_pollset_set*) { - gpr_log(GPR_INFO, __func__); + combiner->Run(GRPC_CLOSURE_INIT(&stream->register_stream_closure, + register_stream_locked, + &stream->register_stream_args, nullptr), + absl::OkStatus()); } static void AssignMetadata(grpc_metadata_batch* mb, @@ -147,35 +137,36 @@ static void AssignMetadata(grpc_metadata_batch* mb, } } -static void cancel_stream_locked(grpc_binder_transport* gbt, - grpc_binder_stream* gbs, +static void cancel_stream_locked(grpc_binder_transport* transport, + grpc_binder_stream* stream, grpc_error_handle error) { gpr_log(GPR_INFO, "cancel_stream_locked"); - if (!gbs->is_closed) { - GPR_ASSERT(gbs->cancel_self_error.ok()); - gbs->is_closed = true; - gbs->cancel_self_error = error; - gbt->transport_stream_receiver->CancelStream(gbs->tx_code); - gbt->registered_stream.erase(gbs->tx_code); - if (gbs->recv_initial_metadata_ready != nullptr) { - grpc_core::ExecCtx::Run(DEBUG_LOCATION, gbs->recv_initial_metadata_ready, - error); - gbs->recv_initial_metadata_ready = nullptr; - gbs->recv_initial_metadata = nullptr; - gbs->trailing_metadata_available = nullptr; + if (!stream->is_closed) { + GPR_ASSERT(stream->cancel_self_error.ok()); + stream->is_closed = true; + stream->cancel_self_error = error; + transport->transport_stream_receiver->CancelStream(stream->tx_code); + transport->registered_stream.erase(stream->tx_code); + if (stream->recv_initial_metadata_ready != nullptr) { + grpc_core::ExecCtx::Run(DEBUG_LOCATION, + stream->recv_initial_metadata_ready, error); + stream->recv_initial_metadata_ready = nullptr; + stream->recv_initial_metadata = nullptr; + stream->trailing_metadata_available = nullptr; } - if (gbs->recv_message_ready != nullptr) { - grpc_core::ExecCtx::Run(DEBUG_LOCATION, gbs->recv_message_ready, error); - gbs->recv_message_ready = nullptr; - gbs->recv_message->reset(); - gbs->recv_message = nullptr; - gbs->call_failed_before_recv_message = nullptr; + if (stream->recv_message_ready != nullptr) { + grpc_core::ExecCtx::Run(DEBUG_LOCATION, stream->recv_message_ready, + error); + stream->recv_message_ready = nullptr; + stream->recv_message->reset(); + stream->recv_message = nullptr; + stream->call_failed_before_recv_message = nullptr; } - if (gbs->recv_trailing_metadata_finished != nullptr) { + if (stream->recv_trailing_metadata_finished != nullptr) { grpc_core::ExecCtx::Run(DEBUG_LOCATION, - gbs->recv_trailing_metadata_finished, error); - gbs->recv_trailing_metadata_finished = nullptr; - gbs->recv_trailing_metadata = nullptr; + stream->recv_trailing_metadata_finished, error); + stream->recv_trailing_metadata_finished = nullptr; + stream->recv_trailing_metadata = nullptr; } } } @@ -197,53 +188,53 @@ static bool ContainsAuthorityAndPath(const grpc_binder::Metadata& metadata) { static void recv_initial_metadata_locked(void* arg, grpc_error_handle /*error*/) { RecvInitialMetadataArgs* args = static_cast(arg); - grpc_binder_stream* gbs = args->gbs; + grpc_binder_stream* stream = args->stream; gpr_log(GPR_INFO, "recv_initial_metadata_locked is_client = %d is_closed = %d", - gbs->is_client, gbs->is_closed); + stream->is_client, stream->is_closed); - if (!gbs->is_closed) { + if (!stream->is_closed) { grpc_error_handle error = [&] { - GPR_ASSERT(gbs->recv_initial_metadata); - GPR_ASSERT(gbs->recv_initial_metadata_ready); + GPR_ASSERT(stream->recv_initial_metadata); + GPR_ASSERT(stream->recv_initial_metadata_ready); if (!args->initial_metadata.ok()) { gpr_log(GPR_ERROR, "Failed to parse initial metadata"); return absl_status_to_grpc_error(args->initial_metadata.status()); } - if (!gbs->is_client) { + if (!stream->is_client) { // For server, we expect :authority and :path in initial metadata. if (!ContainsAuthorityAndPath(*args->initial_metadata)) { return GRPC_ERROR_CREATE( "Missing :authority or :path in initial metadata"); } } - AssignMetadata(gbs->recv_initial_metadata, *args->initial_metadata); + AssignMetadata(stream->recv_initial_metadata, *args->initial_metadata); return absl::OkStatus(); }(); - if (gbs->t->registered_method_matcher_cb != nullptr) { - gbs->t->registered_method_matcher_cb(gbs->t->accept_stream_user_data, - gbs->recv_initial_metadata); + if (stream->t->registered_method_matcher_cb != nullptr) { + stream->t->registered_method_matcher_cb( + stream->t->accept_stream_user_data, stream->recv_initial_metadata); } - grpc_closure* cb = gbs->recv_initial_metadata_ready; - gbs->recv_initial_metadata_ready = nullptr; - gbs->recv_initial_metadata = nullptr; + grpc_closure* cb = stream->recv_initial_metadata_ready; + stream->recv_initial_metadata_ready = nullptr; + stream->recv_initial_metadata = nullptr; grpc_core::ExecCtx::Run(DEBUG_LOCATION, cb, error); } - GRPC_BINDER_STREAM_UNREF(gbs, "recv_initial_metadata"); + GRPC_BINDER_STREAM_UNREF(stream, "recv_initial_metadata"); } static void recv_message_locked(void* arg, grpc_error_handle /*error*/) { RecvMessageArgs* args = static_cast(arg); - grpc_binder_stream* gbs = args->gbs; + grpc_binder_stream* stream = args->stream; gpr_log(GPR_INFO, "recv_message_locked is_client = %d is_closed = %d", - gbs->is_client, gbs->is_closed); + stream->is_client, stream->is_closed); - if (!gbs->is_closed) { + if (!stream->is_closed) { grpc_error_handle error = [&] { - GPR_ASSERT(gbs->recv_message); - GPR_ASSERT(gbs->recv_message_ready); + GPR_ASSERT(stream->recv_message); + GPR_ASSERT(stream->recv_message_ready); if (!args->message.ok()) { gpr_log(GPR_ERROR, "Failed to receive message"); if (args->message.status().message() == @@ -259,62 +250,63 @@ static void recv_message_locked(void* arg, grpc_error_handle /*error*/) { } grpc_core::SliceBuffer buf; buf.Append(grpc_core::Slice(grpc_slice_from_cpp_string(*args->message))); - *gbs->recv_message = std::move(buf); + *stream->recv_message = std::move(buf); return absl::OkStatus(); }(); - if (!error.ok() && gbs->call_failed_before_recv_message != nullptr) { - *gbs->call_failed_before_recv_message = true; + if (!error.ok() && stream->call_failed_before_recv_message != nullptr) { + *stream->call_failed_before_recv_message = true; } - grpc_closure* cb = gbs->recv_message_ready; - gbs->recv_message_ready = nullptr; - gbs->recv_message = nullptr; + grpc_closure* cb = stream->recv_message_ready; + stream->recv_message_ready = nullptr; + stream->recv_message = nullptr; grpc_core::ExecCtx::Run(DEBUG_LOCATION, cb, error); } - GRPC_BINDER_STREAM_UNREF(gbs, "recv_message"); + GRPC_BINDER_STREAM_UNREF(stream, "recv_message"); } static void recv_trailing_metadata_locked(void* arg, grpc_error_handle /*error*/) { RecvTrailingMetadataArgs* args = static_cast(arg); - grpc_binder_stream* gbs = args->gbs; + grpc_binder_stream* stream = args->stream; gpr_log(GPR_INFO, "recv_trailing_metadata_locked is_client = %d is_closed = %d", - gbs->is_client, gbs->is_closed); + stream->is_client, stream->is_closed); - if (!gbs->is_closed) { + if (!stream->is_closed) { grpc_error_handle error = [&] { - GPR_ASSERT(gbs->recv_trailing_metadata); - GPR_ASSERT(gbs->recv_trailing_metadata_finished); + GPR_ASSERT(stream->recv_trailing_metadata); + GPR_ASSERT(stream->recv_trailing_metadata_finished); if (!args->trailing_metadata.ok()) { gpr_log(GPR_ERROR, "Failed to receive trailing metadata"); return absl_status_to_grpc_error(args->trailing_metadata.status()); } - if (!gbs->is_client) { + if (!stream->is_client) { // Client will not send non-empty trailing metadata. if (!args->trailing_metadata.value().empty()) { gpr_log(GPR_ERROR, "Server receives non-empty trailing metadata."); return absl::CancelledError(); } } else { - AssignMetadata(gbs->recv_trailing_metadata, *args->trailing_metadata); + AssignMetadata(stream->recv_trailing_metadata, + *args->trailing_metadata); // Append status to metadata // TODO(b/192208695): See if we can avoid to manually put status // code into the header gpr_log(GPR_INFO, "status = %d", args->status); - gbs->recv_trailing_metadata->Set( + stream->recv_trailing_metadata->Set( grpc_core::GrpcStatusMetadata(), static_cast(args->status)); } return absl::OkStatus(); }(); - if (gbs->is_client || gbs->trailing_metadata_sent) { - grpc_closure* cb = gbs->recv_trailing_metadata_finished; - gbs->recv_trailing_metadata_finished = nullptr; - gbs->recv_trailing_metadata = nullptr; + if (stream->is_client || stream->trailing_metadata_sent) { + grpc_closure* cb = stream->recv_trailing_metadata_finished; + stream->recv_trailing_metadata_finished = nullptr; + stream->recv_trailing_metadata = nullptr; grpc_core::ExecCtx::Run(DEBUG_LOCATION, cb, error); } else { // According to transport explaineer - "Server extra: This op shouldn't @@ -323,10 +315,10 @@ static void recv_trailing_metadata_locked(void* arg, // // We haven't sent trailing metadata yet, so we have to delay completing // the recv_trailing_metadata callback. - gbs->need_to_call_trailing_metadata_callback = true; + stream->need_to_call_trailing_metadata_callback = true; } } - GRPC_BINDER_STREAM_UNREF(gbs, "recv_trailing_metadata"); + GRPC_BINDER_STREAM_UNREF(stream, "recv_trailing_metadata"); } namespace grpc_binder { @@ -376,15 +368,16 @@ class MetadataEncoder { } // namespace grpc_binder static void accept_stream_locked(void* gt, grpc_error_handle /*error*/) { - grpc_binder_transport* gbt = static_cast(gt); - if (gbt->accept_stream_fn) { + grpc_binder_transport* transport = static_cast(gt); + if (transport->accept_stream_fn) { gpr_log(GPR_INFO, "Accepting a stream"); // must pass in a non-null value. - (*gbt->accept_stream_fn)(gbt->accept_stream_user_data, &gbt->base, gbt); + (*transport->accept_stream_fn)(transport->accept_stream_user_data, + transport, transport); } else { - ++gbt->accept_stream_fn_called_count_; + ++transport->accept_stream_fn_called_count_; gpr_log(GPR_INFO, "accept_stream_fn not set, current count = %d", - gbt->accept_stream_fn_called_count_); + transport->accept_stream_fn_called_count_); } } @@ -392,34 +385,35 @@ static void perform_stream_op_locked(void* stream_op, grpc_error_handle /*error*/) { grpc_transport_stream_op_batch* op = static_cast(stream_op); - grpc_binder_stream* gbs = + grpc_binder_stream* stream = static_cast(op->handler_private.extra_arg); - grpc_binder_transport* gbt = gbs->t; + grpc_binder_transport* transport = stream->t; if (op->cancel_stream) { // TODO(waynetu): Is this true? GPR_ASSERT(!op->send_initial_metadata && !op->send_message && !op->send_trailing_metadata && !op->recv_initial_metadata && !op->recv_message && !op->recv_trailing_metadata); - gpr_log(GPR_INFO, "cancel_stream is_client = %d", gbs->is_client); - if (!gbs->is_client) { + gpr_log(GPR_INFO, "cancel_stream is_client = %d", stream->is_client); + if (!stream->is_client) { // Send trailing metadata to inform the other end about the cancellation, // regardless if we'd already done that or not. auto cancel_tx = std::make_unique( - gbs->GetTxCode(), gbt->is_client); + stream->GetTxCode(), transport->is_client); cancel_tx->SetSuffix(grpc_binder::Metadata{}); cancel_tx->SetStatus(1); - (void)gbt->wire_writer->RpcCall(std::move(cancel_tx)); + (void)transport->wire_writer->RpcCall(std::move(cancel_tx)); } - cancel_stream_locked(gbt, gbs, op->payload->cancel_stream.cancel_error); + cancel_stream_locked(transport, stream, + op->payload->cancel_stream.cancel_error); if (op->on_complete != nullptr) { grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_complete, absl::OkStatus()); } - GRPC_BINDER_STREAM_UNREF(gbs, "perform_stream_op"); + GRPC_BINDER_STREAM_UNREF(stream, "perform_stream_op"); return; } - if (gbs->is_closed) { + if (stream->is_closed) { if (op->send_message) { // Reset the send_message payload to prevent memory leaks. op->payload->send_message.send_message->Clear(); @@ -428,36 +422,38 @@ static void perform_stream_op_locked(void* stream_op, grpc_core::ExecCtx::Run( DEBUG_LOCATION, op->payload->recv_initial_metadata.recv_initial_metadata_ready, - gbs->cancel_self_error); + stream->cancel_self_error); } if (op->recv_message) { grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->payload->recv_message.recv_message_ready, - gbs->cancel_self_error); + stream->cancel_self_error); } if (op->recv_trailing_metadata) { grpc_core::ExecCtx::Run( DEBUG_LOCATION, op->payload->recv_trailing_metadata.recv_trailing_metadata_ready, - gbs->cancel_self_error); + stream->cancel_self_error); } if (op->on_complete != nullptr) { grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_complete, - gbs->cancel_self_error); + stream->cancel_self_error); } - GRPC_BINDER_STREAM_UNREF(gbs, "perform_stream_op"); + GRPC_BINDER_STREAM_UNREF(stream, "perform_stream_op"); return; } - int tx_code = gbs->tx_code; - auto tx = std::make_unique(tx_code, gbt->is_client); + int tx_code = stream->tx_code; + auto tx = + std::make_unique(tx_code, transport->is_client); if (op->send_initial_metadata) { gpr_log(GPR_INFO, "send_initial_metadata"); grpc_binder::Metadata init_md; auto batch = op->payload->send_initial_metadata.send_initial_metadata; - grpc_binder::MetadataEncoder encoder(gbt->is_client, tx.get(), &init_md); + grpc_binder::MetadataEncoder encoder(transport->is_client, tx.get(), + &init_md); batch->Encode(&encoder); tx->SetPrefix(init_md); } @@ -471,7 +467,7 @@ static void perform_stream_op_locked(void* stream_op, auto batch = op->payload->send_trailing_metadata.send_trailing_metadata; grpc_binder::Metadata trailing_metadata; - grpc_binder::MetadataEncoder encoder(gbt->is_client, tx.get(), + grpc_binder::MetadataEncoder encoder(transport->is_client, tx.get(), &trailing_metadata); batch->Encode(&encoder); @@ -481,68 +477,70 @@ static void perform_stream_op_locked(void* stream_op, } if (op->recv_initial_metadata) { gpr_log(GPR_INFO, "recv_initial_metadata"); - gbs->recv_initial_metadata_ready = + stream->recv_initial_metadata_ready = op->payload->recv_initial_metadata.recv_initial_metadata_ready; - gbs->recv_initial_metadata = + stream->recv_initial_metadata = op->payload->recv_initial_metadata.recv_initial_metadata; - gbs->trailing_metadata_available = + stream->trailing_metadata_available = op->payload->recv_initial_metadata.trailing_metadata_available; - GRPC_BINDER_STREAM_REF(gbs, "recv_initial_metadata"); - gbt->transport_stream_receiver->RegisterRecvInitialMetadata( - tx_code, [tx_code, gbs, - gbt](absl::StatusOr initial_metadata) { + GRPC_BINDER_STREAM_REF(stream, "recv_initial_metadata"); + transport->transport_stream_receiver->RegisterRecvInitialMetadata( + tx_code, [tx_code, stream, transport]( + absl::StatusOr initial_metadata) { grpc_core::ExecCtx exec_ctx; - gbs->recv_initial_metadata_args.tx_code = tx_code; - gbs->recv_initial_metadata_args.initial_metadata = + stream->recv_initial_metadata_args.tx_code = tx_code; + stream->recv_initial_metadata_args.initial_metadata = std::move(initial_metadata); - gbt->combiner->Run( - GRPC_CLOSURE_INIT(&gbs->recv_initial_metadata_closure, + transport->combiner->Run( + GRPC_CLOSURE_INIT(&stream->recv_initial_metadata_closure, recv_initial_metadata_locked, - &gbs->recv_initial_metadata_args, nullptr), + &stream->recv_initial_metadata_args, nullptr), absl::OkStatus()); }); } if (op->recv_message) { gpr_log(GPR_INFO, "recv_message"); - gbs->recv_message_ready = op->payload->recv_message.recv_message_ready; - gbs->recv_message = op->payload->recv_message.recv_message; - gbs->call_failed_before_recv_message = + stream->recv_message_ready = op->payload->recv_message.recv_message_ready; + stream->recv_message = op->payload->recv_message.recv_message; + stream->call_failed_before_recv_message = op->payload->recv_message.call_failed_before_recv_message; if (op->payload->recv_message.flags != nullptr) { *op->payload->recv_message.flags = 0; } - GRPC_BINDER_STREAM_REF(gbs, "recv_message"); - gbt->transport_stream_receiver->RegisterRecvMessage( - tx_code, [tx_code, gbs, gbt](absl::StatusOr message) { + GRPC_BINDER_STREAM_REF(stream, "recv_message"); + transport->transport_stream_receiver->RegisterRecvMessage( + tx_code, + [tx_code, stream, transport](absl::StatusOr message) { grpc_core::ExecCtx exec_ctx; - gbs->recv_message_args.tx_code = tx_code; - gbs->recv_message_args.message = std::move(message); - gbt->combiner->Run( - GRPC_CLOSURE_INIT(&gbs->recv_message_closure, recv_message_locked, - &gbs->recv_message_args, nullptr), + stream->recv_message_args.tx_code = tx_code; + stream->recv_message_args.message = std::move(message); + transport->combiner->Run( + GRPC_CLOSURE_INIT(&stream->recv_message_closure, + recv_message_locked, &stream->recv_message_args, + nullptr), absl::OkStatus()); }); } if (op->recv_trailing_metadata) { gpr_log(GPR_INFO, "recv_trailing_metadata"); - gbs->recv_trailing_metadata_finished = + stream->recv_trailing_metadata_finished = op->payload->recv_trailing_metadata.recv_trailing_metadata_ready; - gbs->recv_trailing_metadata = + stream->recv_trailing_metadata = op->payload->recv_trailing_metadata.recv_trailing_metadata; - GRPC_BINDER_STREAM_REF(gbs, "recv_trailing_metadata"); - gbt->transport_stream_receiver->RegisterRecvTrailingMetadata( - tx_code, [tx_code, gbs, gbt]( + GRPC_BINDER_STREAM_REF(stream, "recv_trailing_metadata"); + transport->transport_stream_receiver->RegisterRecvTrailingMetadata( + tx_code, [tx_code, stream, transport]( absl::StatusOr trailing_metadata, int status) { grpc_core::ExecCtx exec_ctx; - gbs->recv_trailing_metadata_args.tx_code = tx_code; - gbs->recv_trailing_metadata_args.trailing_metadata = + stream->recv_trailing_metadata_args.tx_code = tx_code; + stream->recv_trailing_metadata_args.trailing_metadata = std::move(trailing_metadata); - gbs->recv_trailing_metadata_args.status = status; - gbt->combiner->Run( - GRPC_CLOSURE_INIT(&gbs->recv_trailing_metadata_closure, + stream->recv_trailing_metadata_args.status = status; + transport->combiner->Run( + GRPC_CLOSURE_INIT(&stream->recv_trailing_metadata_closure, recv_trailing_metadata_locked, - &gbs->recv_trailing_metadata_args, nullptr), + &stream->recv_trailing_metadata_args, nullptr), absl::OkStatus()); }); } @@ -550,20 +548,20 @@ static void perform_stream_op_locked(void* stream_op, absl::Status status; if (op->send_initial_metadata || op->send_message || op->send_trailing_metadata) { - status = gbt->wire_writer->RpcCall(std::move(tx)); - if (!gbs->is_client && op->send_trailing_metadata) { - gbs->trailing_metadata_sent = true; + status = transport->wire_writer->RpcCall(std::move(tx)); + if (!stream->is_client && op->send_trailing_metadata) { + stream->trailing_metadata_sent = true; // According to transport explaineer - "Server extra: This op shouldn't // actually be considered complete until the server has also sent trailing // metadata to provide the other side with final status" // // Because we've done sending trailing metadata here, we can safely // complete the recv_trailing_metadata callback here. - if (gbs->need_to_call_trailing_metadata_callback) { - grpc_closure* cb = gbs->recv_trailing_metadata_finished; - gbs->recv_trailing_metadata_finished = nullptr; + if (stream->need_to_call_trailing_metadata_callback) { + grpc_closure* cb = stream->recv_trailing_metadata_finished; + stream->recv_trailing_metadata_finished = nullptr; grpc_core::ExecCtx::Run(DEBUG_LOCATION, cb, absl::OkStatus()); - gbs->need_to_call_trailing_metadata_callback = false; + stream->need_to_call_trailing_metadata_callback = false; } } } @@ -574,28 +572,28 @@ static void perform_stream_op_locked(void* stream_op, absl_status_to_grpc_error(status)); gpr_log(GPR_INFO, "on_complete closure scheduled"); } - GRPC_BINDER_STREAM_UNREF(gbs, "perform_stream_op"); -} - -static void perform_stream_op(grpc_transport* gt, grpc_stream* gs, - grpc_transport_stream_op_batch* op) { - grpc_binder_transport* gbt = reinterpret_cast(gt); - grpc_binder_stream* gbs = reinterpret_cast(gs); - gpr_log(GPR_INFO, "%s = %p %p %p is_client = %d", __func__, gt, gs, op, - gbs->is_client); - GRPC_BINDER_STREAM_REF(gbs, "perform_stream_op"); - op->handler_private.extra_arg = gbs; - gbt->combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure, - perform_stream_op_locked, op, nullptr), - absl::OkStatus()); -} - -static void close_transport_locked(grpc_binder_transport* gbt) { - gbt->state_tracker.SetState(GRPC_CHANNEL_SHUTDOWN, absl::OkStatus(), - "transport closed due to disconnection/goaway"); - while (!gbt->registered_stream.empty()) { + GRPC_BINDER_STREAM_UNREF(stream, "perform_stream_op"); +} + +void grpc_binder_transport::PerformStreamOp( + grpc_stream* gs, grpc_transport_stream_op_batch* op) { + grpc_binder_stream* stream = reinterpret_cast(gs); + gpr_log(GPR_INFO, "%s = %p %p %p is_client = %d", __func__, this, gs, op, + stream->is_client); + GRPC_BINDER_STREAM_REF(stream, "perform_stream_op"); + op->handler_private.extra_arg = stream; + combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure, + perform_stream_op_locked, op, nullptr), + absl::OkStatus()); +} + +static void close_transport_locked(grpc_binder_transport* transport) { + transport->state_tracker.SetState( + GRPC_CHANNEL_SHUTDOWN, absl::OkStatus(), + "transport closed due to disconnection/goaway"); + while (!transport->registered_stream.empty()) { cancel_stream_locked( - gbt, gbt->registered_stream.begin()->second, + transport, transport->registered_stream.begin()->second, grpc_error_set_int(GRPC_ERROR_CREATE("transport closed"), grpc_core::StatusIntProperty::kRpcStatus, GRPC_STATUS_UNAVAILABLE)); @@ -605,26 +603,28 @@ static void close_transport_locked(grpc_binder_transport* gbt) { static void perform_transport_op_locked(void* transport_op, grpc_error_handle /*error*/) { grpc_transport_op* op = static_cast(transport_op); - grpc_binder_transport* gbt = + grpc_binder_transport* transport = static_cast(op->handler_private.extra_arg); // TODO(waynetu): Should we lock here to avoid data race? if (op->start_connectivity_watch != nullptr) { - gbt->state_tracker.AddWatcher(op->start_connectivity_watch_state, - std::move(op->start_connectivity_watch)); + transport->state_tracker.AddWatcher( + op->start_connectivity_watch_state, + std::move(op->start_connectivity_watch)); } if (op->stop_connectivity_watch != nullptr) { - gbt->state_tracker.RemoveWatcher(op->stop_connectivity_watch); + transport->state_tracker.RemoveWatcher(op->stop_connectivity_watch); } if (op->set_accept_stream) { - gbt->accept_stream_user_data = op->set_accept_stream_user_data; - gbt->accept_stream_fn = op->set_accept_stream_fn; - gbt->registered_method_matcher_cb = op->set_registered_method_matcher_fn; + transport->accept_stream_user_data = op->set_accept_stream_user_data; + transport->accept_stream_fn = op->set_accept_stream_fn; + transport->registered_method_matcher_cb = + op->set_registered_method_matcher_fn; gpr_log(GPR_DEBUG, "accept_stream_fn_called_count_ = %d", - gbt->accept_stream_fn_called_count_); - while (gbt->accept_stream_fn_called_count_ > 0) { - --gbt->accept_stream_fn_called_count_; - gbt->combiner->Run( - GRPC_CLOSURE_CREATE(accept_stream_locked, gbt, nullptr), + transport->accept_stream_fn_called_count_); + while (transport->accept_stream_fn_called_count_ > 0) { + --transport->accept_stream_fn_called_count_; + transport->combiner->Run( + GRPC_CLOSURE_CREATE(accept_stream_locked, transport, nullptr), absl::OkStatus()); } } @@ -639,81 +639,66 @@ static void perform_transport_op_locked(void* transport_op, do_close = true; } if (do_close) { - close_transport_locked(gbt); + close_transport_locked(transport); } - GRPC_BINDER_UNREF_TRANSPORT(gbt, "perform_transport_op"); + GRPC_BINDER_UNREF_TRANSPORT(transport, "perform_transport_op"); } -static void perform_transport_op(grpc_transport* gt, grpc_transport_op* op) { +void grpc_binder_transport::PerformOp(grpc_transport_op* op) { gpr_log(GPR_INFO, __func__); - grpc_binder_transport* gbt = reinterpret_cast(gt); - op->handler_private.extra_arg = gbt; - GRPC_BINDER_REF_TRANSPORT(gbt, "perform_transport_op"); - gbt->combiner->Run( - GRPC_CLOSURE_INIT(&op->handler_private.closure, - perform_transport_op_locked, op, nullptr), - absl::OkStatus()); + op->handler_private.extra_arg = this; + GRPC_BINDER_REF_TRANSPORT(this, "perform_transport_op"); + combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure, + perform_transport_op_locked, op, nullptr), + absl::OkStatus()); } static void destroy_stream_locked(void* sp, grpc_error_handle /*error*/) { - grpc_binder_stream* gbs = static_cast(sp); - grpc_binder_transport* gbt = gbs->t; + grpc_binder_stream* stream = static_cast(sp); + grpc_binder_transport* transport = stream->t; cancel_stream_locked( - gbt, gbs, + transport, stream, grpc_error_set_int(GRPC_ERROR_CREATE("destroy stream"), grpc_core::StatusIntProperty::kRpcStatus, GRPC_STATUS_UNAVAILABLE)); - gbs->~grpc_binder_stream(); + stream->~grpc_binder_stream(); } -static void destroy_stream(grpc_transport* /*gt*/, grpc_stream* gs, - grpc_closure* then_schedule_closure) { +void grpc_binder_transport::DestroyStream(grpc_stream* gs, + grpc_closure* then_schedule_closure) { gpr_log(GPR_INFO, __func__); - grpc_binder_stream* gbs = reinterpret_cast(gs); - gbs->destroy_stream_then_closure = then_schedule_closure; - gbs->t->combiner->Run(GRPC_CLOSURE_INIT(&gbs->destroy_stream, - destroy_stream_locked, gbs, nullptr), - absl::OkStatus()); + grpc_binder_stream* stream = reinterpret_cast(gs); + stream->destroy_stream_then_closure = then_schedule_closure; + stream->t->combiner->Run( + GRPC_CLOSURE_INIT(&stream->destroy_stream, destroy_stream_locked, stream, + nullptr), + absl::OkStatus()); } static void destroy_transport_locked(void* gt, grpc_error_handle /*error*/) { - grpc_binder_transport* gbt = static_cast(gt); - close_transport_locked(gbt); + grpc_binder_transport* transport = static_cast(gt); + close_transport_locked(transport); // Release the references held by the transport. - gbt->wire_reader = nullptr; - gbt->transport_stream_receiver = nullptr; - gbt->wire_writer = nullptr; - GRPC_BINDER_UNREF_TRANSPORT(gbt, "transport destroyed"); + transport->wire_reader = nullptr; + transport->transport_stream_receiver = nullptr; + transport->wire_writer = nullptr; + GRPC_BINDER_UNREF_TRANSPORT(transport, "transport destroyed"); } -static void destroy_transport(grpc_transport* gt) { +void grpc_binder_transport::Orphan() { gpr_log(GPR_INFO, __func__); - grpc_binder_transport* gbt = reinterpret_cast(gt); - gbt->combiner->Run( - GRPC_CLOSURE_CREATE(destroy_transport_locked, gbt, nullptr), - absl::OkStatus()); + combiner->Run(GRPC_CLOSURE_CREATE(destroy_transport_locked, this, nullptr), + absl::OkStatus()); } -static grpc_endpoint* get_endpoint(grpc_transport*) { +grpc_endpoint* grpc_binder_transport::GetEndpoint() { gpr_log(GPR_INFO, __func__); return nullptr; } -// See grpc_transport_vtable declaration for meaning of each field -static const grpc_transport_vtable vtable = {sizeof(grpc_binder_stream), - false, - "binder", - init_stream, - nullptr, - set_pollset, - set_pollset_set, - perform_stream_op, - perform_transport_op, - destroy_stream, - destroy_transport, - get_endpoint}; - -static const grpc_transport_vtable* get_vtable() { return &vtable; } +size_t grpc_binder_transport::SizeOfStream() const { + return sizeof(grpc_binder_stream); +} grpc_binder_transport::grpc_binder_transport( std::unique_ptr binder, bool is_client, @@ -726,7 +711,6 @@ grpc_binder_transport::grpc_binder_transport( GRPC_CHANNEL_READY), refs(1, nullptr) { gpr_log(GPR_INFO, __func__); - base.vtable = get_vtable(); transport_stream_receiver = std::make_shared( is_client, /*accept_stream_callback=*/[this] { @@ -751,7 +735,7 @@ grpc_binder_transport::~grpc_binder_transport() { GRPC_COMBINER_UNREF(combiner, "binder_transport"); } -grpc_transport* grpc_create_binder_transport_client( +grpc_core::Transport* grpc_create_binder_transport_client( std::unique_ptr endpoint_binder, std::shared_ptr security_policy) { @@ -763,10 +747,10 @@ grpc_transport* grpc_create_binder_transport_client( grpc_binder_transport* t = new grpc_binder_transport( std::move(endpoint_binder), /*is_client=*/true, security_policy); - return &t->base; + return t; } -grpc_transport* grpc_create_binder_transport_server( +grpc_core::Transport* grpc_create_binder_transport_server( std::unique_ptr client_binder, std::shared_ptr security_policy) { @@ -778,6 +762,6 @@ grpc_transport* grpc_create_binder_transport_server( grpc_binder_transport* t = new grpc_binder_transport( std::move(client_binder), /*is_client=*/false, security_policy); - return &t->base; + return t; } #endif diff --git a/src/core/ext/transport/binder/transport/binder_transport.h b/src/core/ext/transport/binder/transport/binder_transport.h index eac0e2f7a43..fe219ba98e9 100644 --- a/src/core/ext/transport/binder/transport/binder_transport.h +++ b/src/core/ext/transport/binder/transport/binder_transport.h @@ -35,7 +35,6 @@ #include "src/core/lib/gprpp/crash.h" #include "src/core/lib/iomgr/combiner.h" #include "src/core/lib/transport/transport.h" -#include "src/core/lib/transport/transport_impl.h" struct grpc_binder_stream; @@ -43,12 +42,35 @@ struct grpc_binder_stream; // depends on what style we want to follow) // TODO(mingcl): Decide casing for this class name. Should we use C-style class // name here or just go with C++ style? -struct grpc_binder_transport { +struct grpc_binder_transport final : public grpc_core::Transport, + public grpc_core::FilterStackTransport { explicit grpc_binder_transport( std::unique_ptr binder, bool is_client, std::shared_ptr security_policy); - ~grpc_binder_transport(); + ~grpc_binder_transport() override; + + grpc_core::FilterStackTransport* filter_stack_transport() override { + return this; + } + grpc_core::ClientTransport* client_transport() override { return nullptr; } + grpc_core::ServerTransport* server_transport() override { return nullptr; } + absl::string_view GetTransportName() const override { return "binder"; } + void InitStream(grpc_stream* gs, grpc_stream_refcount* refcount, + const void* server_data, grpc_core::Arena* arena) override; + void SetPollset(grpc_stream*, grpc_pollset*) override {} + void SetPollsetSet(grpc_stream*, grpc_pollset_set*) override {} + void PerformOp(grpc_transport_op* op) override; + grpc_endpoint* GetEndpoint() override; + size_t SizeOfStream() const override; + bool HackyDisableStreamOpBatchCoalescingInConnectedChannel() const override { + return false; + } + void PerformStreamOp(grpc_stream* gs, + grpc_transport_stream_op_batch* op) override; + void DestroyStream(grpc_stream* gs, + grpc_closure* then_schedule_closure) override; + void Orphan() override; int NewStreamTxCode() { // TODO(mingcl): Wrap around when all tx codes are used. "If we do detect a @@ -58,8 +80,6 @@ struct grpc_binder_transport { return next_free_tx_code++; } - grpc_transport base; // must be first - std::shared_ptr transport_stream_receiver; grpc_core::OrphanablePtr wire_reader; @@ -73,7 +93,7 @@ struct grpc_binder_transport { // The callback and the data for the callback when the stream is connected // between client and server. registered_method_matcher_cb is called before // invoking the recv initial metadata callback. - void (*accept_stream_fn)(void* user_data, grpc_transport* transport, + void (*accept_stream_fn)(void* user_data, grpc_core::Transport* transport, const void* server_data) = nullptr; void (*registered_method_matcher_cb)( void* user_data, grpc_core::ServerMetadata* metadata) = nullptr; @@ -90,11 +110,11 @@ struct grpc_binder_transport { std::atomic next_free_tx_code{grpc_binder::kFirstCallId}; }; -grpc_transport* grpc_create_binder_transport_client( +grpc_core::Transport* grpc_create_binder_transport_client( std::unique_ptr endpoint_binder, std::shared_ptr security_policy); -grpc_transport* grpc_create_binder_transport_server( +grpc_core::Transport* grpc_create_binder_transport_server( std::unique_ptr client_binder, std::shared_ptr security_policy); diff --git a/src/core/ext/transport/chaotic_good/chaotic_good_transport.cc b/src/core/ext/transport/chaotic_good/chaotic_good_transport.cc new file mode 100644 index 00000000000..655f7fd00aa --- /dev/null +++ b/src/core/ext/transport/chaotic_good/chaotic_good_transport.cc @@ -0,0 +1,21 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include + +#include "src/core/ext/transport/chaotic_good/chaotic_good_transport.h" + +grpc_core::TraceFlag grpc_chaotic_good_trace(false, "chaotic_good"); + +namespace grpc_core {} // namespace grpc_core diff --git a/src/core/ext/transport/chaotic_good/chaotic_good_transport.h b/src/core/ext/transport/chaotic_good/chaotic_good_transport.h new file mode 100644 index 00000000000..ae944cf198b --- /dev/null +++ b/src/core/ext/transport/chaotic_good/chaotic_good_transport.h @@ -0,0 +1,139 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_CHAOTIC_GOOD_TRANSPORT_H +#define GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_CHAOTIC_GOOD_TRANSPORT_H + +#include + +#include "absl/random/random.h" + +#include "src/core/ext/transport/chaotic_good/frame.h" +#include "src/core/ext/transport/chaotic_good/frame_header.h" +#include "src/core/ext/transport/chttp2/transport/hpack_encoder.h" +#include "src/core/lib/debug/trace.h" +#include "src/core/lib/event_engine/tcp_socket_utils.h" +#include "src/core/lib/promise/if.h" +#include "src/core/lib/promise/promise.h" +#include "src/core/lib/promise/try_join.h" +#include "src/core/lib/promise/try_seq.h" +#include "src/core/lib/transport/promise_endpoint.h" + +extern grpc_core::TraceFlag grpc_chaotic_good_trace; + +namespace grpc_core { +namespace chaotic_good { + +class ChaoticGoodTransport : public RefCounted { + public: + ChaoticGoodTransport(PromiseEndpoint control_endpoint, + PromiseEndpoint data_endpoint, HPackParser hpack_parser, + HPackCompressor hpack_encoder) + : control_endpoint_(std::move(control_endpoint)), + data_endpoint_(std::move(data_endpoint)), + encoder_(std::move(hpack_encoder)), + parser_(std::move(hpack_parser)) {} + + auto WriteFrame(const FrameInterface& frame) { + auto buffers = frame.Serialize(&encoder_); + if (grpc_chaotic_good_trace.enabled()) { + gpr_log(GPR_INFO, "CHAOTIC_GOOD: WriteFrame to:%s %s", + ResolvedAddressToString(control_endpoint_.GetPeerAddress()) + .value_or("<>") + .c_str(), + frame.ToString().c_str()); + } + return TryJoin( + control_endpoint_.Write(std::move(buffers.control)), + data_endpoint_.Write(std::move(buffers.data))); + } + + // Read frame header and payloads for control and data portions of one frame. + // Resolves to StatusOr>. + auto ReadFrameBytes() { + return TrySeq( + control_endpoint_.ReadSlice(FrameHeader::kFrameHeaderSize), + [this](Slice read_buffer) { + auto frame_header = + FrameHeader::Parse(reinterpret_cast( + GRPC_SLICE_START_PTR(read_buffer.c_slice()))); + if (grpc_chaotic_good_trace.enabled()) { + gpr_log(GPR_INFO, "CHAOTIC_GOOD: ReadHeader from:%s %s", + ResolvedAddressToString(control_endpoint_.GetPeerAddress()) + .value_or("<>") + .c_str(), + frame_header.ok() + ? frame_header->ToString().c_str() + : frame_header.status().ToString().c_str()); + } + // Read header and trailers from control endpoint. + // Read message padding and message from data endpoint. + return If( + frame_header.ok(), + [this, &frame_header] { + const uint32_t message_padding = std::exchange( + last_message_padding_, frame_header->message_padding); + const uint32_t message_length = frame_header->message_length; + return Map( + TryJoin( + control_endpoint_.Read(frame_header->GetFrameLength()), + TrySeq(data_endpoint_.Read(message_padding), + [this, message_length]() { + return data_endpoint_.Read(message_length); + })), + [frame_header = *frame_header]( + absl::StatusOr> + buffers) + -> absl::StatusOr> { + if (!buffers.ok()) return buffers.status(); + return std::tuple( + frame_header, + BufferPair{std::move(std::get<0>(*buffers)), + std::move(std::get<1>(*buffers))}); + }); + }, + [&frame_header]() { + return [status = frame_header.status()]() mutable + -> absl::StatusOr> { + return std::move(status); + }; + }); + }); + } + + absl::Status DeserializeFrame(FrameHeader header, BufferPair buffers, + Arena* arena, FrameInterface& frame, + FrameLimits limits) { + auto s = frame.Deserialize(&parser_, header, bitgen_, arena, + std::move(buffers), limits); + if (grpc_chaotic_good_trace.enabled()) { + gpr_log(GPR_INFO, "CHAOTIC_GOOD: DeserializeFrame %s", + s.ok() ? frame.ToString().c_str() : s.ToString().c_str()); + } + return s; + } + + private: + PromiseEndpoint control_endpoint_; + PromiseEndpoint data_endpoint_; + uint32_t last_message_padding_ = 0; + HPackCompressor encoder_; + HPackParser parser_; + absl::BitGen bitgen_; +}; + +} // namespace chaotic_good +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_CHAOTIC_GOOD_TRANSPORT_H diff --git a/src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc b/src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc new file mode 100644 index 00000000000..d7c438b1311 --- /dev/null +++ b/src/core/ext/transport/chaotic_good/client/chaotic_good_connector.cc @@ -0,0 +1,381 @@ +// Copyright 2024 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include + +#include "src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h" + +#include +#include +#include + +#include "absl/random/bit_gen_ref.h" +#include "absl/status/status.h" +#include "absl/status/statusor.h" + +#include + +#include "src/core/client_channel/client_channel_factory.h" +#include "src/core/client_channel/client_channel_filter.h" +#include "src/core/ext/transport/chaotic_good/client_transport.h" +#include "src/core/ext/transport/chaotic_good/frame.h" +#include "src/core/ext/transport/chaotic_good/frame_header.h" +#include "src/core/ext/transport/chaotic_good/settings_metadata.h" +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/event_engine/channel_args_endpoint_config.h" +#include "src/core/lib/event_engine/default_event_engine.h" +#include "src/core/lib/event_engine/tcp_socket_utils.h" +#include "src/core/lib/gprpp/debug_location.h" +#include "src/core/lib/gprpp/no_destruct.h" +#include "src/core/lib/gprpp/ref_counted_ptr.h" +#include "src/core/lib/gprpp/time.h" +#include "src/core/lib/iomgr/closure.h" +#include "src/core/lib/iomgr/error.h" +#include "src/core/lib/iomgr/event_engine_shims/endpoint.h" +#include "src/core/lib/iomgr/exec_ctx.h" +#include "src/core/lib/promise/activity.h" +#include "src/core/lib/promise/context.h" +#include "src/core/lib/promise/event_engine_wakeup_scheduler.h" +#include "src/core/lib/promise/latch.h" +#include "src/core/lib/promise/race.h" +#include "src/core/lib/promise/sleep.h" +#include "src/core/lib/promise/try_seq.h" +#include "src/core/lib/promise/wait_for_callback.h" +#include "src/core/lib/resource_quota/arena.h" +#include "src/core/lib/resource_quota/resource_quota.h" +#include "src/core/lib/slice/slice.h" +#include "src/core/lib/slice/slice_buffer.h" +#include "src/core/lib/surface/api_trace.h" +#include "src/core/lib/surface/channel.h" +#include "src/core/lib/transport/error_utils.h" +#include "src/core/lib/transport/handshaker.h" +#include "src/core/lib/transport/promise_endpoint.h" + +namespace grpc_core { +namespace chaotic_good { +using grpc_event_engine::experimental::EventEngine; +namespace { +const int32_t kDataAlignmentBytes = 64; +const int32_t kTimeoutSecs = 120; +} // namespace + +ChaoticGoodConnector::ChaoticGoodConnector( + std::shared_ptr event_engine) + : event_engine_(std::move(event_engine)), + handshake_mgr_(std::make_shared()) {} + +ChaoticGoodConnector::~ChaoticGoodConnector() { + GPR_ASSERT(notify_ == nullptr); + if (connect_activity_ != nullptr) { + connect_activity_.reset(); + } +} + +auto ChaoticGoodConnector::DataEndpointReadSettingsFrame( + RefCountedPtr self) { + return TrySeq( + self->data_endpoint_.ReadSlice(FrameHeader::kFrameHeaderSize), + [self](Slice slice) mutable { + // Read setting frame; + // Parse frame header + auto frame_header_ = + FrameHeader::Parse(reinterpret_cast( + GRPC_SLICE_START_PTR(slice.c_slice()))); + return If( + frame_header_.ok(), + [frame_header_ = *frame_header_, self]() { + auto frame_header_length = frame_header_.GetFrameLength(); + return TrySeq(self->data_endpoint_.Read(frame_header_length), + []() { return absl::OkStatus(); }); + }, + [status = frame_header_.status()]() { return status; }); + }); +} + +auto ChaoticGoodConnector::DataEndpointWriteSettingsFrame( + RefCountedPtr self) { + // Serialize setting frame. + SettingsFrame frame; + // frame.header set connectiion_type: control + frame.headers = SettingsMetadata{SettingsMetadata::ConnectionType::kData, + self->connection_id_, kDataAlignmentBytes} + .ToMetadataBatch(GetContext()); + auto write_buffer = frame.Serialize(&self->hpack_compressor_); + return self->data_endpoint_.Write(std::move(write_buffer.control)); +} + +auto ChaoticGoodConnector::WaitForDataEndpointSetup( + RefCountedPtr self) { + // Data endpoint on_connect callback. + grpc_event_engine::experimental::EventEngine::OnConnectCallback + on_data_endpoint_connect = + [self](absl::StatusOr> + endpoint) mutable { + ExecCtx exec_ctx; + if (!endpoint.ok() || self->handshake_mgr_ == nullptr) { + ExecCtx::Run(DEBUG_LOCATION, + std::exchange(self->notify_, nullptr), + GRPC_ERROR_CREATE("connect endpoint failed")); + return; + } + self->data_endpoint_ = + PromiseEndpoint(std::move(endpoint.value()), SliceBuffer()); + self->data_endpoint_ready_.Set(); + }; + self->event_engine_->Connect( + std::move(on_data_endpoint_connect), *self->resolved_addr_, + grpc_event_engine::experimental::ChannelArgsEndpointConfig( + self->args_.channel_args), + ResourceQuota::Default()->memory_quota()->CreateMemoryAllocator( + "data_endpoint_connection"), + std::chrono::seconds(kTimeoutSecs)); + + return TrySeq(Race( + TrySeq(self->data_endpoint_ready_.Wait(), + [self]() mutable { + return TrySeq(DataEndpointWriteSettingsFrame(self), + DataEndpointReadSettingsFrame(self), + []() -> absl::Status { return absl::OkStatus(); }); + }), + TrySeq(Sleep(Timestamp::Now() + Duration::Seconds(kTimeoutSecs)), + []() -> absl::Status { + return absl::DeadlineExceededError( + "Data endpoint connect deadline exceeded."); + }))); +} + +auto ChaoticGoodConnector::ControlEndpointReadSettingsFrame( + RefCountedPtr self) { + return TrySeq( + self->control_endpoint_.ReadSlice(FrameHeader::kFrameHeaderSize), + [self](Slice slice) { + // Parse frame header + auto frame_header = FrameHeader::Parse(reinterpret_cast( + GRPC_SLICE_START_PTR(slice.c_slice()))); + return If( + frame_header.ok(), + TrySeq( + self->control_endpoint_.Read(frame_header->GetFrameLength()), + [frame_header = *frame_header, self](SliceBuffer buffer) { + // Deserialize setting frame. + SettingsFrame frame; + BufferPair buffer_pair{std::move(buffer), SliceBuffer()}; + auto status = frame.Deserialize( + &self->hpack_parser_, frame_header, + absl::BitGenRef(self->bitgen_), GetContext(), + std::move(buffer_pair), FrameLimits{}); + if (!status.ok()) return status; + if (frame.headers == nullptr) { + return absl::UnavailableError("no settings headers"); + } + auto settings_metadata = + SettingsMetadata::FromMetadataBatch(*frame.headers); + if (!settings_metadata.ok()) { + return settings_metadata.status(); + } + if (!settings_metadata->connection_id.has_value()) { + return absl::UnavailableError( + "no connection id in settings frame"); + } + self->connection_id_ = *settings_metadata->connection_id; + return absl::OkStatus(); + }, + WaitForDataEndpointSetup(self)), + [status = frame_header.status()]() { return status; }); + }); +} + +auto ChaoticGoodConnector::ControlEndpointWriteSettingsFrame( + RefCountedPtr self) { + // Serialize setting frame. + SettingsFrame frame; + // frame.header set connectiion_type: control + frame.headers = SettingsMetadata{SettingsMetadata::ConnectionType::kControl, + absl::nullopt, absl::nullopt} + .ToMetadataBatch(GetContext()); + auto write_buffer = frame.Serialize(&self->hpack_compressor_); + return self->control_endpoint_.Write(std::move(write_buffer.control)); +} + +void ChaoticGoodConnector::Connect(const Args& args, Result* result, + grpc_closure* notify) { + { + MutexLock lock(&mu_); + result_ = result; + if (is_shutdown_) { + GPR_ASSERT(notify_ == nullptr); + ExecCtx::Run(DEBUG_LOCATION, notify, + GRPC_ERROR_CREATE("connector shutdown")); + return; + } + } + args_ = args; + notify_ = notify; + resolved_addr_ = EventEngine::ResolvedAddress( + reinterpret_cast(args_.address->addr), + args_.address->len); + GPR_ASSERT(resolved_addr_.value().address() != nullptr); + grpc_event_engine::experimental::EventEngine::OnConnectCallback on_connect = + [self = RefAsSubclass()]( + absl::StatusOr> + endpoint) mutable { + ExecCtx exec_ctx; + if (!endpoint.ok() || self->handshake_mgr_ == nullptr) { + auto endpoint_status = endpoint.status(); + auto error = GRPC_ERROR_CREATE_REFERENCING("connect endpoint failed", + &endpoint_status, 1); + ExecCtx::Run(DEBUG_LOCATION, std::exchange(self->notify_, nullptr), + error); + return; + } + auto* p = self.release(); + p->handshake_mgr_->DoHandshake( + grpc_event_engine_endpoint_create(std::move(endpoint.value())), + p->args_.channel_args, p->args_.deadline, nullptr /* acceptor */, + OnHandshakeDone, p); + }; + event_engine_->Connect( + std::move(on_connect), *resolved_addr_, + grpc_event_engine::experimental::ChannelArgsEndpointConfig( + args_.channel_args), + ResourceQuota::Default()->memory_quota()->CreateMemoryAllocator( + "data_endpoint_connection"), + std::chrono::seconds(kTimeoutSecs)); +} + +void ChaoticGoodConnector::OnHandshakeDone(void* arg, grpc_error_handle error) { + auto* args = static_cast(arg); + RefCountedPtr self( + static_cast(args->user_data)); + grpc_slice_buffer_destroy(args->read_buffer); + gpr_free(args->read_buffer); + // Start receiving setting frames; + { + MutexLock lock(&self->mu_); + if (!error.ok() || self->is_shutdown_) { + if (error.ok()) { + error = GRPC_ERROR_CREATE("connector shutdown"); + // We were shut down after handshaking completed successfully, so + // destroy the endpoint here. + if (args->endpoint != nullptr) { + grpc_endpoint_shutdown(args->endpoint, error); + grpc_endpoint_destroy(args->endpoint); + } + } + self->result_->Reset(); + ExecCtx::Run(DEBUG_LOCATION, std::exchange(self->notify_, nullptr), + error); + return; + } + } + if (args->endpoint != nullptr) { + GPR_ASSERT(grpc_event_engine::experimental::grpc_is_event_engine_endpoint( + args->endpoint)); + self->control_endpoint_ = PromiseEndpoint( + grpc_event_engine::experimental:: + grpc_take_wrapped_event_engine_endpoint(args->endpoint), + SliceBuffer()); + auto activity = MakeActivity( + [self] { + return TrySeq(ControlEndpointWriteSettingsFrame(self), + ControlEndpointReadSettingsFrame(self), + []() { return absl::OkStatus(); }); + }, + EventEngineWakeupScheduler(self->event_engine_), + [self](absl::Status status) { + if (grpc_chaotic_good_trace.enabled()) { + gpr_log(GPR_INFO, "ChaoticGoodConnector::OnHandshakeDone: %s", + status.ToString().c_str()); + } + if (status.ok()) { + MutexLock lock(&self->mu_); + self->result_->transport = new ChaoticGoodClientTransport( + std::move(self->control_endpoint_), + std::move(self->data_endpoint_), self->args_.channel_args, + self->event_engine_, std::move(self->hpack_parser_), + std::move(self->hpack_compressor_)); + self->result_->channel_args = self->args_.channel_args; + ExecCtx::Run(DEBUG_LOCATION, std::exchange(self->notify_, nullptr), + status); + } else if (self->notify_ != nullptr) { + ExecCtx::Run(DEBUG_LOCATION, std::exchange(self->notify_, nullptr), + status); + } + }, + self->arena_.get(), self->event_engine_.get()); + MutexLock lock(&self->mu_); + if (!self->is_shutdown_) { + self->connect_activity_ = std::move(activity); + } + } else { + // Handshaking succeeded but there is no endpoint. + MutexLock lock(&self->mu_); + self->result_->Reset(); + auto error = GRPC_ERROR_CREATE("handshake complete with empty endpoint."); + ExecCtx::Run(DEBUG_LOCATION, std::exchange(self->notify_, nullptr), error); + } +} + +namespace { + +class ChaoticGoodChannelFactory final : public ClientChannelFactory { + public: + RefCountedPtr CreateSubchannel( + const grpc_resolved_address& address, const ChannelArgs& args) override { + return Subchannel::Create( + MakeOrphanable( + args.GetObjectRef()), + address, args); + } +}; + +} // namespace +} // namespace chaotic_good +} // namespace grpc_core + +grpc_channel* grpc_chaotic_good_channel_create(const char* target, + const grpc_channel_args* args) { + grpc_core::ExecCtx exec_ctx; + GRPC_API_TRACE("grpc_chaotic_good_channel_create(target=%s, args=%p)", 2, + (target, (void*)args)); + grpc_channel* channel = nullptr; + grpc_error_handle error; + // Create channel. + std::string canonical_target = grpc_core::CoreConfiguration::Get() + .resolver_registry() + .AddDefaultPrefixIfNeeded(target); + auto r = grpc_core::Channel::Create( + target, + grpc_core::CoreConfiguration::Get() + .channel_args_preconditioning() + .PreconditionChannelArgs(args) + .Set(GRPC_ARG_SERVER_URI, canonical_target) + .SetObject( + grpc_core::NoDestructSingleton< + grpc_core::chaotic_good::ChaoticGoodChannelFactory>::Get()), + GRPC_CLIENT_CHANNEL, nullptr); + if (r.ok()) { + return r->release()->c_ptr(); + } + error = absl_status_to_grpc_error(r.status()); + intptr_t integer; + grpc_status_code status = GRPC_STATUS_INTERNAL; + if (grpc_error_get_int(error, grpc_core::StatusIntProperty::kRpcStatus, + &integer)) { + status = static_cast(integer); + } + channel = grpc_lame_client_channel_create( + target, status, "Failed to create secure client channel"); + return channel; +} diff --git a/src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h b/src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h new file mode 100644 index 00000000000..b89af9766c4 --- /dev/null +++ b/src/core/ext/transport/chaotic_good/client/chaotic_good_connector.h @@ -0,0 +1,113 @@ +// Copyright 2024 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_CLIENT_CHAOTIC_GOOD_CONNECTOR_H +#define GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_CLIENT_CHAOTIC_GOOD_CONNECTOR_H + +#include + +#include +#include +#include + +#include "absl/random/random.h" +#include "absl/status/statusor.h" + +#include + +#include "src/core/client_channel/connector.h" +#include "src/core/ext/transport/chttp2/transport/hpack_encoder.h" +#include "src/core/ext/transport/chttp2/transport/hpack_parser.h" +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/event_engine/channel_args_endpoint_config.h" +#include "src/core/lib/gprpp/notification.h" +#include "src/core/lib/gprpp/ref_counted_ptr.h" +#include "src/core/lib/gprpp/sync.h" +#include "src/core/lib/iomgr/closure.h" +#include "src/core/lib/iomgr/endpoint.h" +#include "src/core/lib/iomgr/error.h" +#include "src/core/lib/iomgr/exec_ctx.h" +#include "src/core/lib/promise/activity.h" +#include "src/core/lib/promise/inter_activity_latch.h" +#include "src/core/lib/promise/wait_for_callback.h" +#include "src/core/lib/resource_quota/arena.h" +#include "src/core/lib/resource_quota/memory_quota.h" +#include "src/core/lib/resource_quota/resource_quota.h" +#include "src/core/lib/transport/handshaker.h" +#include "src/core/lib/transport/promise_endpoint.h" + +namespace grpc_core { +namespace chaotic_good { +class ChaoticGoodConnector : public SubchannelConnector { + public: + explicit ChaoticGoodConnector( + std::shared_ptr + event_engine); + ~ChaoticGoodConnector() override; + void Connect(const Args& args, Result* result, grpc_closure* notify) override; + void Shutdown(grpc_error_handle error) override { + ActivityPtr connect_activity; + MutexLock lock(&mu_); + if (is_shutdown_) return; + is_shutdown_ = true; + if (handshake_mgr_ != nullptr) { + handshake_mgr_->Shutdown(error); + } + connect_activity = std::move(connect_activity_); + }; + + private: + static auto DataEndpointReadSettingsFrame( + RefCountedPtr self); + static auto DataEndpointWriteSettingsFrame( + RefCountedPtr self); + static auto ControlEndpointReadSettingsFrame( + RefCountedPtr self); + static auto ControlEndpointWriteSettingsFrame( + RefCountedPtr self); + static auto WaitForDataEndpointSetup( + RefCountedPtr self); + static void OnHandshakeDone(void* arg, grpc_error_handle error); + + grpc_event_engine::experimental::MemoryAllocator memory_allocator_ = + ResourceQuota::Default()->memory_quota()->CreateMemoryAllocator( + "connect_activity"); + ScopedArenaPtr arena_ = MakeScopedArena(1024, &memory_allocator_); + Mutex mu_; + Args args_; + Result* result_ ABSL_GUARDED_BY(mu_); + grpc_closure* notify_ = nullptr; + bool is_shutdown_ ABSL_GUARDED_BY(mu_) = false; + absl::StatusOr + resolved_addr_; + + PromiseEndpoint control_endpoint_; + PromiseEndpoint data_endpoint_; + ActivityPtr connect_activity_ ABSL_GUARDED_BY(mu_); + const std::shared_ptr + event_engine_; + std::shared_ptr handshake_mgr_; + HPackCompressor hpack_compressor_; + HPackParser hpack_parser_; + absl::BitGen bitgen_; + InterActivityLatch data_endpoint_ready_; + std::string connection_id_; +}; +} // namespace chaotic_good +} // namespace grpc_core + +grpc_channel* grpc_chaotic_good_channel_create(const char* target, + const grpc_channel_args* args); + +#endif // GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_CLIENT_CHAOTIC_GOOD_CONNECTOR_H diff --git a/src/core/ext/transport/chaotic_good/client_transport.cc b/src/core/ext/transport/chaotic_good/client_transport.cc index 88364499d2c..22f15d026ad 100644 --- a/src/core/ext/transport/chaotic_good/client_transport.cc +++ b/src/core/ext/transport/chaotic_good/client_transport.cc @@ -16,24 +16,38 @@ #include "src/core/ext/transport/chaotic_good/client_transport.h" +#include +#include #include #include #include +#include +#include "absl/random/bit_gen_ref.h" +#include "absl/random/random.h" #include "absl/status/statusor.h" #include #include #include +#include "src/core/ext/transport/chaotic_good/chaotic_good_transport.h" #include "src/core/ext/transport/chaotic_good/frame.h" #include "src/core/ext/transport/chaotic_good/frame_header.h" #include "src/core/ext/transport/chttp2/transport/hpack_encoder.h" #include "src/core/lib/gprpp/match.h" +#include "src/core/lib/gprpp/ref_counted_ptr.h" +#include "src/core/lib/iomgr/exec_ctx.h" #include "src/core/lib/promise/activity.h" +#include "src/core/lib/promise/all_ok.h" #include "src/core/lib/promise/event_engine_wakeup_scheduler.h" -#include "src/core/lib/promise/join.h" #include "src/core/lib/promise/loop.h" +#include "src/core/lib/promise/map.h" +#include "src/core/lib/promise/promise.h" +#include "src/core/lib/promise/try_join.h" +#include "src/core/lib/promise/try_seq.h" +#include "src/core/lib/resource_quota/arena.h" +#include "src/core/lib/resource_quota/resource_quota.h" #include "src/core/lib/slice/slice.h" #include "src/core/lib/slice/slice_buffer.h" #include "src/core/lib/slice/slice_internal.h" @@ -42,79 +56,283 @@ namespace grpc_core { namespace chaotic_good { -ClientTransport::ClientTransport( - std::unique_ptr control_endpoint, - std::unique_ptr data_endpoint, - std::shared_ptr event_engine) - : outgoing_frames_(MpscReceiver(4)), - control_endpoint_(std::move(control_endpoint)), - data_endpoint_(std::move(data_endpoint)), - control_endpoint_write_buffer_(SliceBuffer()), - data_endpoint_write_buffer_(SliceBuffer()), - hpack_compressor_(std::make_unique()), - event_engine_(event_engine) { - auto write_loop = Loop([this] { - return Seq( +auto ChaoticGoodClientTransport::TransportWriteLoop( + RefCountedPtr transport) { + return Loop([this, transport = std::move(transport)] { + return TrySeq( // Get next outgoing frame. - this->outgoing_frames_.Next(), - // Construct data buffers that will be sent to the endpoints. - [this](ClientFrame client_frame) { - MatchMutable( - &client_frame, - [this](ClientFragmentFrame* frame) mutable { - control_endpoint_write_buffer_.Append( - frame->Serialize(hpack_compressor_.get())); - if (frame->message != nullptr) { - auto frame_header = - FrameHeader::Parse( - reinterpret_cast(GRPC_SLICE_START_PTR( - control_endpoint_write_buffer_.c_slice_buffer() - ->slices[0]))) - .value(); - std::string message_padding(frame_header.message_padding, - '0'); - Slice slice(grpc_slice_from_cpp_string(message_padding)); - // Append message payload to data_endpoint_buffer. - data_endpoint_write_buffer_.Append(std::move(slice)); - // Append message payload to data_endpoint_buffer. - frame->message->payload()->MoveFirstNBytesIntoSliceBuffer( - frame->message->payload()->Length(), - data_endpoint_write_buffer_); - } - }, - [this](CancelFrame* frame) mutable { - control_endpoint_write_buffer_.Append( - frame->Serialize(hpack_compressor_.get())); - }); - return absl::OkStatus(); - }, - // Write buffers to corresponding endpoints concurrently. - [this]() { - return Join(this->control_endpoint_->Write( - std::move(control_endpoint_write_buffer_)), - this->data_endpoint_->Write( - std::move(data_endpoint_write_buffer_))); + outgoing_frames_.Next(), + // Serialize and write it out. + [transport = transport.get()](ClientFrame client_frame) { + return transport->WriteFrame(GetFrameInterface(client_frame)); }, - // Finish writes and return status. - [](std::tuple ret) - -> LoopCtl { - // If writes failed, return failure status. - if (!(std::get<0>(ret).ok() || std::get<1>(ret).ok())) { - // TODO(ladynana): handle the promise endpoint write failures with - // closing the transport. - return absl::InternalError("Promise endpoint writes failed."); - } + []() -> LoopCtl { + // The write failures will be caught in TrySeq and exit loop. + // Therefore, only need to return Continue() in the last lambda + // function. return Continue(); }); }); +} + +absl::optional ChaoticGoodClientTransport::LookupStream( + uint32_t stream_id) { + MutexLock lock(&mu_); + auto it = stream_map_.find(stream_id); + if (it == stream_map_.end()) { + return absl::nullopt; + } + return it->second; +} + +auto ChaoticGoodClientTransport::PushFrameIntoCall(ServerFragmentFrame frame, + CallHandler call_handler) { + auto& headers = frame.headers; + auto push = TrySeq( + If( + headers != nullptr, + [call_handler, &headers]() mutable { + return call_handler.PushServerInitialMetadata(std::move(headers)); + }, + []() -> StatusFlag { return Success{}; }), + [call_handler, message = std::move(frame.message)]() mutable { + return If( + message.has_value(), + [&call_handler, &message]() mutable { + return call_handler.PushMessage(std::move(message->message)); + }, + []() -> StatusFlag { return Success{}; }); + }, + [call_handler, trailers = std::move(frame.trailers)]() mutable { + return If( + trailers != nullptr, + [&call_handler, &trailers]() mutable { + return call_handler.PushServerTrailingMetadata( + std::move(trailers)); + }, + []() -> StatusFlag { return Success{}; }); + }); + // Wrap the actual sequence with something that owns the call handler so that + // its lifetime extends until the push completes. + return [call_handler, push = std::move(push)]() mutable { return push(); }; +} + +auto ChaoticGoodClientTransport::TransportReadLoop( + RefCountedPtr transport) { + return Loop([this, transport = std::move(transport)] { + return TrySeq( + transport->ReadFrameBytes(), + [](std::tuple frame_bytes) + -> absl::StatusOr> { + const auto& frame_header = std::get<0>(frame_bytes); + if (frame_header.type != FrameType::kFragment) { + return absl::InternalError( + absl::StrCat("Expected fragment frame, got ", + static_cast(frame_header.type))); + } + return frame_bytes; + }, + [this, transport = transport.get()]( + std::tuple frame_bytes) { + const auto& frame_header = std::get<0>(frame_bytes); + auto& buffers = std::get<1>(frame_bytes); + absl::optional call_handler = + LookupStream(frame_header.stream_id); + ServerFragmentFrame frame; + absl::Status deserialize_status; + const FrameLimits frame_limits{1024 * 1024 * 1024, + aligned_bytes_ - 1}; + if (call_handler.has_value()) { + deserialize_status = transport->DeserializeFrame( + frame_header, std::move(buffers), call_handler->arena(), frame, + frame_limits); + } else { + // Stream not found, skip the frame. + auto arena = MakeScopedArena(1024, &allocator_); + deserialize_status = + transport->DeserializeFrame(frame_header, std::move(buffers), + arena.get(), frame, frame_limits); + } + return If( + deserialize_status.ok() && call_handler.has_value(), + [this, &frame, &call_handler]() { + return call_handler->SpawnWaitable( + "push-frame", [this, call_handler = *call_handler, + frame = std::move(frame)]() mutable { + return Map(call_handler.CancelIfFails(PushFrameIntoCall( + std::move(frame), call_handler)), + [](StatusFlag f) { + return StatusCast(f); + }); + }); + }, + [&deserialize_status]() { + // Stream not found, nothing to do. + return [deserialize_status = + std::move(deserialize_status)]() mutable { + return std::move(deserialize_status); + }; + }); + }, + []() -> LoopCtl { return Continue{}; }); + }); +} + +auto ChaoticGoodClientTransport::OnTransportActivityDone() { + return [this](absl::Status) { AbortWithError(); }; +} + +ChaoticGoodClientTransport::ChaoticGoodClientTransport( + PromiseEndpoint control_endpoint, PromiseEndpoint data_endpoint, + const ChannelArgs& args, + std::shared_ptr event_engine, + HPackParser hpack_parser, HPackCompressor hpack_encoder) + : allocator_(args.GetObject() + ->memory_quota() + ->CreateMemoryAllocator("chaotic-good")), + outgoing_frames_(4) { + auto transport = MakeRefCounted( + std::move(control_endpoint), std::move(data_endpoint), + std::move(hpack_parser), std::move(hpack_encoder)); writer_ = MakeActivity( // Continuously write next outgoing frames to promise endpoints. - std::move(write_loop), EventEngineWakeupScheduler(event_engine_), - [](absl::Status status) { - GPR_ASSERT(status.code() == absl::StatusCode::kCancelled || - status.code() == absl::StatusCode::kInternal); + TransportWriteLoop(transport), EventEngineWakeupScheduler(event_engine), + OnTransportActivityDone()); + reader_ = MakeActivity( + // Continuously read next incoming frames from promise endpoints. + TransportReadLoop(std::move(transport)), + EventEngineWakeupScheduler(event_engine), OnTransportActivityDone()); +} + +ChaoticGoodClientTransport::~ChaoticGoodClientTransport() { + if (writer_ != nullptr) { + writer_.reset(); + } + if (reader_ != nullptr) { + reader_.reset(); + } +} + +void ChaoticGoodClientTransport::AbortWithError() { + // Mark transport as unavailable when the endpoint write/read failed. + // Close all the available pipes. + outgoing_frames_.MarkClosed(); + ReleasableMutexLock lock(&mu_); + StreamMap stream_map = std::move(stream_map_); + stream_map_.clear(); + lock.Release(); + for (const auto& pair : stream_map) { + auto call_handler = pair.second; + call_handler.SpawnInfallible("cancel", [call_handler]() mutable { + call_handler.Cancel(ServerMetadataFromStatus( + absl::UnavailableError("Transport closed."))); + return Empty{}; + }); + } +} + +uint32_t ChaoticGoodClientTransport::MakeStream(CallHandler call_handler) { + ReleasableMutexLock lock(&mu_); + const uint32_t stream_id = next_stream_id_++; + stream_map_.emplace(stream_id, call_handler); + lock.Release(); + call_handler.OnDone([this, stream_id]() { + MutexLock lock(&mu_); + stream_map_.erase(stream_id); + }); + return stream_id; +} + +auto ChaoticGoodClientTransport::CallOutboundLoop(uint32_t stream_id, + CallHandler call_handler) { + auto send_fragment = [stream_id, + outgoing_frames = outgoing_frames_.MakeSender()]( + ClientFragmentFrame frame) mutable { + frame.stream_id = stream_id; + return Map(outgoing_frames.Send(std::move(frame)), + [](bool success) -> absl::Status { + if (!success) { + // Failed to send outgoing frame. + return absl::UnavailableError("Transport closed."); + } + return absl::OkStatus(); + }); + }; + return TrySeq( + // Wait for initial metadata then send it out. + call_handler.PullClientInitialMetadata(), + [send_fragment](ClientMetadataHandle md) mutable { + if (grpc_chaotic_good_trace.enabled()) { + gpr_log(GPR_INFO, "CHAOTIC_GOOD: Sending initial metadata: %s", + md->DebugString().c_str()); + } + ClientFragmentFrame frame; + frame.headers = std::move(md); + return send_fragment(std::move(frame)); + }, + // Continuously send client frame with client to server messages. + ForEach(OutgoingMessages(call_handler), + [send_fragment, + aligned_bytes = aligned_bytes_](MessageHandle message) mutable { + ClientFragmentFrame frame; + // Construct frame header (flags, header_length and + // trailer_length will be added in serialization). + const uint32_t message_length = message->payload()->Length(); + const uint32_t padding = + message_length % aligned_bytes == 0 + ? 0 + : aligned_bytes - message_length % aligned_bytes; + GPR_ASSERT((message_length + padding) % aligned_bytes == 0); + frame.message = FragmentMessage(std::move(message), padding, + message_length); + return send_fragment(std::move(frame)); + }), + [send_fragment]() mutable { + ClientFragmentFrame frame; + frame.end_of_stream = true; + return send_fragment(std::move(frame)); }); } +void ChaoticGoodClientTransport::StartCall(CallHandler call_handler) { + // At this point, the connection is set up. + // Start sending data frames. + call_handler.SpawnGuarded("outbound_loop", [this, call_handler]() mutable { + const uint32_t stream_id = MakeStream(call_handler); + return Map(CallOutboundLoop(stream_id, call_handler), + [stream_id, this](absl::Status result) { + if (!result.ok()) { + CancelFrame frame; + frame.stream_id = stream_id; + outgoing_frames_.MakeSender().UnbufferedImmediateSend( + std::move(frame)); + } + return result; + }); + }); +} + +void ChaoticGoodClientTransport::PerformOp(grpc_transport_op* op) { + MutexLock lock(&mu_); + bool did_stuff = false; + if (op->start_connectivity_watch != nullptr) { + state_tracker_.AddWatcher(op->start_connectivity_watch_state, + std::move(op->start_connectivity_watch)); + did_stuff = true; + } + if (op->stop_connectivity_watch != nullptr) { + state_tracker_.RemoveWatcher(op->stop_connectivity_watch); + did_stuff = true; + } + if (op->set_accept_stream) { + Crash("set_accept_stream not supported on clients"); + } + if (!did_stuff) { + Crash(absl::StrCat("unimplemented transport perform op: ", + grpc_transport_op_string(op))); + } + ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus()); +} + } // namespace chaotic_good } // namespace grpc_core diff --git a/src/core/ext/transport/chaotic_good/client_transport.h b/src/core/ext/transport/chaotic_good/client_transport.h index d8e9cca3632..cfa41c5b7bd 100644 --- a/src/core/ext/transport/chaotic_good/client_transport.h +++ b/src/core/ext/transport/chaotic_good/client_transport.h @@ -18,98 +18,113 @@ #include #include +#include +#include #include // IWYU pragma: keep +#include #include +#include #include #include #include "absl/base/thread_annotations.h" +#include "absl/container/flat_hash_map.h" +#include "absl/random/random.h" #include "absl/status/status.h" +#include "absl/types/optional.h" #include "absl/types/variant.h" #include +#include +#include +#include "src/core/ext/transport/chaotic_good/chaotic_good_transport.h" #include "src/core/ext/transport/chaotic_good/frame.h" +#include "src/core/ext/transport/chaotic_good/frame_header.h" #include "src/core/ext/transport/chttp2/transport/hpack_encoder.h" +#include "src/core/ext/transport/chttp2/transport/hpack_parser.h" #include "src/core/lib/gprpp/sync.h" #include "src/core/lib/promise/activity.h" +#include "src/core/lib/promise/context.h" #include "src/core/lib/promise/for_each.h" +#include "src/core/lib/promise/if.h" +#include "src/core/lib/promise/inter_activity_pipe.h" +#include "src/core/lib/promise/loop.h" #include "src/core/lib/promise/mpsc.h" #include "src/core/lib/promise/pipe.h" -#include "src/core/lib/promise/seq.h" +#include "src/core/lib/promise/poll.h" +#include "src/core/lib/promise/try_join.h" +#include "src/core/lib/promise/try_seq.h" +#include "src/core/lib/resource_quota/arena.h" +#include "src/core/lib/resource_quota/memory_quota.h" #include "src/core/lib/slice/slice_buffer.h" +#include "src/core/lib/transport/metadata_batch.h" // IWYU pragma: keep #include "src/core/lib/transport/promise_endpoint.h" #include "src/core/lib/transport/transport.h" namespace grpc_core { namespace chaotic_good { -class ClientTransport { +class ChaoticGoodClientTransport final : public Transport, + public ClientTransport { public: - ClientTransport(std::unique_ptr control_endpoint, - std::unique_ptr data_endpoint, - std::shared_ptr - event_engine); - ~ClientTransport() { - if (writer_ != nullptr) { - writer_.reset(); - } - } - auto AddStream(CallArgs call_args) { - // At this point, the connection is set up. - // Start sending data frames. - uint64_t stream_id; - { - MutexLock lock(&mu_); - stream_id = next_stream_id_++; - } - return Seq( - // Continuously send data frame with client to server messages. - ForEach(std::move(*call_args.client_to_server_messages), - [stream_id, initial_frame = true, - client_initial_metadata = - std::move(call_args.client_initial_metadata), - outgoing_frames = outgoing_frames_.MakeSender()]( - MessageHandle result) mutable { - ClientFragmentFrame frame; - frame.stream_id = stream_id; - frame.message = std::move(result); - if (initial_frame) { - // Send initial frame with client intial metadata. - frame.headers = std::move(client_initial_metadata); - initial_frame = false; - } - return Seq( - outgoing_frames.Send(ClientFrame(std::move(frame))), - [](bool success) -> absl::Status { - if (!success) { - return absl::InternalError( - "Send frame to outgoing_frames failed."); - } - return absl::OkStatus(); - }); - })); + ChaoticGoodClientTransport( + PromiseEndpoint control_endpoint, PromiseEndpoint data_endpoint, + const ChannelArgs& channel_args, + std::shared_ptr + event_engine, + HPackParser hpack_parser, HPackCompressor hpack_encoder); + ~ChaoticGoodClientTransport() override; + + FilterStackTransport* filter_stack_transport() override { return nullptr; } + ClientTransport* client_transport() override { return this; } + ServerTransport* server_transport() override { return nullptr; } + absl::string_view GetTransportName() const override { return "chaotic_good"; } + void SetPollset(grpc_stream*, grpc_pollset*) override {} + void SetPollsetSet(grpc_stream*, grpc_pollset_set*) override {} + void PerformOp(grpc_transport_op*) override; + grpc_endpoint* GetEndpoint() override { return nullptr; } + void Orphan() override { + AbortWithError(); + delete this; } + void StartCall(CallHandler call_handler) override; + void AbortWithError(); + private: + // Queue size of each stream pipe is set to 2, so that for each stream read it + // will queue at most 2 frames. + static const size_t kServerFrameQueueSize = 2; + using StreamMap = absl::flat_hash_map; + + uint32_t MakeStream(CallHandler call_handler); + absl::optional LookupStream(uint32_t stream_id); + auto CallOutboundLoop(uint32_t stream_id, CallHandler call_handler); + auto OnTransportActivityDone(); + auto TransportWriteLoop(RefCountedPtr transport); + auto TransportReadLoop(RefCountedPtr transport); + // Push one frame into a call + auto PushFrameIntoCall(ServerFragmentFrame frame, CallHandler call_handler); + + grpc_event_engine::experimental::MemoryAllocator allocator_; // Max buffer is set to 4, so that for stream writes each time it will queue // at most 2 frames. MpscReceiver outgoing_frames_; + // Assigned aligned bytes from setting frame. + size_t aligned_bytes_ = 64; Mutex mu_; uint32_t next_stream_id_ ABSL_GUARDED_BY(mu_) = 1; + // Map of stream incoming server frames, key is stream_id. + StreamMap stream_map_ ABSL_GUARDED_BY(mu_); ActivityPtr writer_; ActivityPtr reader_; - std::unique_ptr control_endpoint_; - std::unique_ptr data_endpoint_; - SliceBuffer control_endpoint_write_buffer_; - SliceBuffer data_endpoint_write_buffer_; - std::unique_ptr hpack_compressor_; - // Use to synchronize writer_ and reader_ activity with outside activities; - std::shared_ptr event_engine_; + ConnectivityStateTracker state_tracker_ ABSL_GUARDED_BY(mu_){ + "chaotic_good_client", GRPC_CHANNEL_READY}; }; } // namespace chaotic_good } // namespace grpc_core -#endif // GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_CLIENT_TRANSPORT_H \ No newline at end of file +#endif // GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_CLIENT_TRANSPORT_H diff --git a/src/core/ext/transport/chaotic_good/frame.cc b/src/core/ext/transport/chaotic_good/frame.cc index 34b8a493e8c..fc7479e69bf 100644 --- a/src/core/ext/transport/chaotic_good/frame.cc +++ b/src/core/ext/transport/chaotic_good/frame.cc @@ -28,54 +28,91 @@ #include #include +#include "src/core/ext/transport/chaotic_good/frame_header.h" #include "src/core/lib/gprpp/bitset.h" #include "src/core/lib/gprpp/no_destruct.h" #include "src/core/lib/gprpp/status_helper.h" +#include "src/core/lib/promise/context.h" +#include "src/core/lib/resource_quota/arena.h" #include "src/core/lib/slice/slice.h" #include "src/core/lib/slice/slice_buffer.h" namespace grpc_core { namespace chaotic_good { +namespace { +const uint8_t kZeros[64] = {}; +} + namespace { const NoDestruct kZeroSlice{[] { // Frame header size is fixed to 24 bytes. - auto slice = GRPC_SLICE_MALLOC(24); - memset(GRPC_SLICE_START_PTR(slice), 0, 24); + auto slice = GRPC_SLICE_MALLOC(FrameHeader::kFrameHeaderSize); + memset(GRPC_SLICE_START_PTR(slice), 0, FrameHeader::kFrameHeaderSize); return slice; }()}; class FrameSerializer { public: - explicit FrameSerializer(FrameType type, uint32_t stream_id) - : header_{type, {}, stream_id, 0, 0, 0, 0} { - output_.AppendIndexed(kZeroSlice->Copy()); + explicit FrameSerializer(FrameType frame_type, uint32_t stream_id) { + output_.control.AppendIndexed(kZeroSlice->Copy()); + header_.type = frame_type; + header_.stream_id = stream_id; + header_.flags.SetAll(false); } + // If called, must be called before AddTrailers, Finish. SliceBuffer& AddHeaders() { header_.flags.set(0); - return output_; + return output_.control; + } + + void AddMessage(const FragmentMessage& msg) { + header_.flags.set(1); + header_.message_length = msg.length; + header_.message_padding = msg.padding; + output_.data = msg.message->payload()->Copy(); + if (msg.padding != 0) { + output_.data.Append(Slice::FromStaticBuffer(kZeros, msg.padding)); + } } + // If called, must be called before Finish. SliceBuffer& AddTrailers() { - header_.flags.set(1); - return output_; + header_.flags.set(2); + header_.header_length = + output_.control.Length() - FrameHeader::kFrameHeaderSize; + return output_.control; } - SliceBuffer Finish() { + BufferPair Finish() { + // Calculate frame header_length or trailer_length if available. + if (header_.flags.is_set(2)) { + // Header length is already known in AddTrailers(). + header_.trailer_length = output_.control.Length() - + header_.header_length - + FrameHeader::kFrameHeaderSize; + } else { + if (header_.flags.is_set(0)) { + // Calculate frame header length in Finish() since AddTrailers() isn't + // called. + header_.header_length = + output_.control.Length() - FrameHeader::kFrameHeaderSize; + } + } header_.Serialize( - GRPC_SLICE_START_PTR(output_.c_slice_buffer()->slices[0])); + GRPC_SLICE_START_PTR(output_.control.c_slice_buffer()->slices[0])); return std::move(output_); } private: FrameHeader header_; - SliceBuffer output_; + BufferPair output_; }; class FrameDeserializer { public: - FrameDeserializer(const FrameHeader& header, SliceBuffer& input) + FrameDeserializer(const FrameHeader& header, BufferPair& input) : header_(header), input_(input) {} const FrameHeader& header() const { return header_; } // If called, must be called before ReceiveTrailers, Finish. @@ -97,25 +134,27 @@ class FrameDeserializer { private: absl::StatusOr Take(uint32_t length) { if (length == 0) return SliceBuffer{}; - if (input_.Length() < length) { + if (input_.control.Length() < length) { return absl::InvalidArgumentError( "Frame too short (insufficient payload)"); } SliceBuffer out; - input_.MoveFirstNBytesIntoSliceBuffer(length, out); + input_.control.MoveFirstNBytesIntoSliceBuffer(length, out); return std::move(out); } FrameHeader header_; - SliceBuffer& input_; + BufferPair& input_; }; template absl::StatusOr> ReadMetadata( HPackParser* parser, absl::StatusOr maybe_slices, - uint32_t stream_id, bool is_header, bool is_client) { + uint32_t stream_id, bool is_header, bool is_client, absl::BitGenRef bitsrc, + Arena* arena) { if (!maybe_slices.ok()) return maybe_slices.status(); auto& slices = *maybe_slices; - Arena::PoolPtr metadata; + GPR_ASSERT(arena != nullptr); + Arena::PoolPtr metadata = Arena::MakePooled(arena); parser->BeginFrame( metadata.get(), std::numeric_limits::max(), std::numeric_limits::max(), @@ -128,7 +167,7 @@ absl::StatusOr> ReadMetadata( is_client}); for (size_t i = 0; i < slices.Count(); i++) { GRPC_RETURN_IF_ERROR(parser->Parse(slices.c_slice_at(i), - i == slices.Count() - 1, + i == slices.Count() - 1, bitsrc, /*call_tracer=*/nullptr)); } parser->FinishFrame(); @@ -136,26 +175,64 @@ absl::StatusOr> ReadMetadata( } } // namespace -absl::Status SettingsFrame::Deserialize(HPackParser*, const FrameHeader& header, - SliceBuffer& slice_buffer) { +absl::Status FrameLimits::ValidateMessage(const FrameHeader& header) { + if (header.message_length > max_message_size) { + return absl::InvalidArgumentError( + absl::StrCat("Message length ", header.message_length, + " exceeds maximum allowed ", max_message_size)); + } + if (header.message_padding > max_padding) { + return absl::InvalidArgumentError( + absl::StrCat("Message padding ", header.message_padding, + " exceeds maximum allowed ", max_padding)); + } + return absl::OkStatus(); +} + +absl::Status SettingsFrame::Deserialize(HPackParser* parser, + const FrameHeader& header, + absl::BitGenRef bitsrc, Arena* arena, + BufferPair buffers, FrameLimits) { if (header.type != FrameType::kSettings) { return absl::InvalidArgumentError("Expected settings frame"); } - if (header.flags.any()) { + if (header.flags.is_set(1) || header.flags.is_set(2)) { return absl::InvalidArgumentError("Unexpected flags"); } - FrameDeserializer deserializer(header, slice_buffer); + if (buffers.data.Length() != 0) { + return absl::InvalidArgumentError("Unexpected data"); + } + FrameDeserializer deserializer(header, buffers); + if (header.flags.is_set(0)) { + auto r = ReadMetadata(parser, deserializer.ReceiveHeaders(), + header.stream_id, true, true, bitsrc, + arena); + if (!r.ok()) return r.status(); + if (r.value() != nullptr) { + headers = std::move(r.value()); + } + } else if (header.header_length != 0) { + return absl::InvalidArgumentError(absl::StrCat( + "Unexpected non-zero header length", header.header_length)); + } return deserializer.Finish(); } -SliceBuffer SettingsFrame::Serialize(HPackCompressor*) const { +BufferPair SettingsFrame::Serialize(HPackCompressor* encoder) const { FrameSerializer serializer(FrameType::kSettings, 0); + if (headers.get() != nullptr) { + encoder->EncodeRawHeaders(*headers.get(), serializer.AddHeaders()); + } return serializer.Finish(); } +std::string SettingsFrame::ToString() const { return "SettingsFrame{}"; } + absl::Status ClientFragmentFrame::Deserialize(HPackParser* parser, const FrameHeader& header, - SliceBuffer& slice_buffer) { + absl::BitGenRef bitsrc, + Arena* arena, BufferPair buffers, + FrameLimits limits) { if (header.stream_id == 0) { return absl::InvalidArgumentError("Expected non-zero stream id"); } @@ -163,15 +240,33 @@ absl::Status ClientFragmentFrame::Deserialize(HPackParser* parser, if (header.type != FrameType::kFragment) { return absl::InvalidArgumentError("Expected fragment frame"); } - FrameDeserializer deserializer(header, slice_buffer); + FrameDeserializer deserializer(header, buffers); if (header.flags.is_set(0)) { auto r = ReadMetadata(parser, deserializer.ReceiveHeaders(), - header.stream_id, true, true); + header.stream_id, true, true, bitsrc, + arena); if (!r.ok()) return r.status(); + if (r.value() != nullptr) { + headers = std::move(r.value()); + } + } else if (header.header_length != 0) { + return absl::InvalidArgumentError(absl::StrCat( + "Unexpected non-zero header length", header.header_length)); } if (header.flags.is_set(1)) { + auto r = limits.ValidateMessage(header); + if (!r.ok()) return r; + message = + FragmentMessage{Arena::MakePooled(std::move(buffers.data), 0), + header.message_padding, header.message_length}; + } else if (buffers.data.Length() != 0) { + return absl::InvalidArgumentError(absl::StrCat( + "Unexpected non-zero message length ", buffers.data.Length())); + } + if (header.flags.is_set(2)) { if (header.trailer_length != 0) { - return absl::InvalidArgumentError("Unexpected trailer length"); + return absl::InvalidArgumentError( + absl::StrCat("Unexpected trailer length ", header.trailer_length)); } end_of_stream = true; } else { @@ -180,55 +275,113 @@ absl::Status ClientFragmentFrame::Deserialize(HPackParser* parser, return deserializer.Finish(); } -SliceBuffer ClientFragmentFrame::Serialize(HPackCompressor* encoder) const { +BufferPair ClientFragmentFrame::Serialize(HPackCompressor* encoder) const { GPR_ASSERT(stream_id != 0); FrameSerializer serializer(FrameType::kFragment, stream_id); if (headers.get() != nullptr) { encoder->EncodeRawHeaders(*headers.get(), serializer.AddHeaders()); } + if (message.has_value()) { + serializer.AddMessage(message.value()); + } if (end_of_stream) { serializer.AddTrailers(); } return serializer.Finish(); } +std::string FragmentMessage::ToString() const { + std::string out = + absl::StrCat("FragmentMessage{length=", length, ", padding=", padding); + if (message.get() != nullptr) { + absl::StrAppend(&out, ", message=", message->DebugString().c_str()); + } + absl::StrAppend(&out, "}"); + return out; +} + +std::string ClientFragmentFrame::ToString() const { + return absl::StrCat( + "ClientFragmentFrame{stream_id=", stream_id, ", headers=", + headers.get() != nullptr ? headers->DebugString().c_str() : "nullptr", + ", message=", message.has_value() ? message->ToString().c_str() : "none", + ", end_of_stream=", end_of_stream, "}"); +} + absl::Status ServerFragmentFrame::Deserialize(HPackParser* parser, const FrameHeader& header, - SliceBuffer& slice_buffer) { + absl::BitGenRef bitsrc, + Arena* arena, BufferPair buffers, + FrameLimits limits) { if (header.stream_id == 0) { return absl::InvalidArgumentError("Expected non-zero stream id"); } stream_id = header.stream_id; - if (header.type != FrameType::kFragment) { - return absl::InvalidArgumentError("Expected fragment frame"); - } - FrameDeserializer deserializer(header, slice_buffer); + FrameDeserializer deserializer(header, buffers); if (header.flags.is_set(0)) { auto r = ReadMetadata(parser, deserializer.ReceiveHeaders(), - header.stream_id, true, false); + header.stream_id, true, false, bitsrc, + arena); if (!r.ok()) return r.status(); + if (r.value() != nullptr) { + headers = std::move(r.value()); + } + } else if (header.header_length != 0) { + return absl::InvalidArgumentError(absl::StrCat( + "Unexpected non-zero header length", header.header_length)); } if (header.flags.is_set(1)) { + auto r = limits.ValidateMessage(header); + if (!r.ok()) return r; + message.emplace(Arena::MakePooled(std::move(buffers.data), 0), + header.message_padding, header.message_length); + } else if (buffers.data.Length() != 0) { + return absl::InvalidArgumentError(absl::StrCat( + "Unexpected non-zero message length", buffers.data.Length())); + } + if (header.flags.is_set(2)) { auto r = ReadMetadata( - parser, deserializer.ReceiveTrailers(), header.stream_id, false, false); + parser, deserializer.ReceiveTrailers(), header.stream_id, false, false, + bitsrc, arena); + if (!r.ok()) return r.status(); + if (r.value() != nullptr) { + trailers = std::move(r.value()); + } + } else if (header.trailer_length != 0) { + return absl::InvalidArgumentError(absl::StrCat( + "Unexpected non-zero trailer length", header.trailer_length)); } return deserializer.Finish(); } -SliceBuffer ServerFragmentFrame::Serialize(HPackCompressor* encoder) const { +BufferPair ServerFragmentFrame::Serialize(HPackCompressor* encoder) const { GPR_ASSERT(stream_id != 0); FrameSerializer serializer(FrameType::kFragment, stream_id); if (headers.get() != nullptr) { encoder->EncodeRawHeaders(*headers.get(), serializer.AddHeaders()); } + if (message.has_value()) { + serializer.AddMessage(message.value()); + } if (trailers.get() != nullptr) { encoder->EncodeRawHeaders(*trailers.get(), serializer.AddTrailers()); } return serializer.Finish(); } +std::string ServerFragmentFrame::ToString() const { + return absl::StrCat( + "ServerFragmentFrame{stream_id=", stream_id, ", headers=", + headers.get() != nullptr ? headers->DebugString().c_str() : "nullptr", + ", message=", message.has_value() ? message->ToString().c_str() : "none", + ", trailers=", + trailers.get() != nullptr ? trailers->DebugString().c_str() : "nullptr", + "}"); +} + absl::Status CancelFrame::Deserialize(HPackParser*, const FrameHeader& header, - SliceBuffer& slice_buffer) { + absl::BitGenRef, Arena*, + BufferPair buffers, FrameLimits) { if (header.type != FrameType::kCancel) { return absl::InvalidArgumentError("Expected cancel frame"); } @@ -238,16 +391,23 @@ absl::Status CancelFrame::Deserialize(HPackParser*, const FrameHeader& header, if (header.stream_id == 0) { return absl::InvalidArgumentError("Expected non-zero stream id"); } - FrameDeserializer deserializer(header, slice_buffer); + if (buffers.data.Length() != 0) { + return absl::InvalidArgumentError("Unexpected data"); + } + FrameDeserializer deserializer(header, buffers); stream_id = header.stream_id; return deserializer.Finish(); } -SliceBuffer CancelFrame::Serialize(HPackCompressor*) const { +BufferPair CancelFrame::Serialize(HPackCompressor*) const { GPR_ASSERT(stream_id != 0); FrameSerializer serializer(FrameType::kCancel, stream_id); return serializer.Finish(); } +std::string CancelFrame::ToString() const { + return absl::StrCat("CancelFrame{stream_id=", stream_id, "}"); +} + } // namespace chaotic_good } // namespace grpc_core diff --git a/src/core/ext/transport/chaotic_good/frame.h b/src/core/ext/transport/chaotic_good/frame.h index 03b53d195f1..44989b7cbf3 100644 --- a/src/core/ext/transport/chaotic_good/frame.h +++ b/src/core/ext/transport/chaotic_good/frame.h @@ -21,12 +21,14 @@ #include #include +#include "absl/random/bit_gen_ref.h" #include "absl/status/status.h" #include "absl/types/variant.h" #include "src/core/ext/transport/chaotic_good/frame_header.h" #include "src/core/ext/transport/chttp2/transport/hpack_encoder.h" #include "src/core/ext/transport/chttp2/transport/hpack_parser.h" +#include "src/core/lib/gprpp/match.h" #include "src/core/lib/resource_quota/arena.h" #include "src/core/lib/slice/slice_buffer.h" #include "src/core/lib/transport/metadata_batch.h" @@ -35,18 +37,28 @@ namespace grpc_core { namespace chaotic_good { +struct BufferPair { + SliceBuffer control; + SliceBuffer data; +}; + +struct FrameLimits { + size_t max_message_size = 1024 * 1024 * 1024; + size_t max_padding = 63; + + absl::Status ValidateMessage(const FrameHeader& header); +}; + class FrameInterface { public: virtual absl::Status Deserialize(HPackParser* parser, const FrameHeader& header, - SliceBuffer& slice_buffer) = 0; - virtual SliceBuffer Serialize(HPackCompressor* encoder) const = 0; + absl::BitGenRef bitsrc, Arena* arena, + BufferPair buffers, FrameLimits limits) = 0; + virtual BufferPair Serialize(HPackCompressor* encoder) const = 0; + virtual std::string ToString() const = 0; protected: - static bool EqVal(const Message& a, const Message& b) { - return a.payload()->JoinIntoString() == b.payload()->JoinIntoString() && - a.flags() == b.flags(); - } static bool EqVal(const grpc_metadata_batch& a, const grpc_metadata_batch& b) { return a.DebugString() == b.DebugString(); @@ -62,47 +74,80 @@ class FrameInterface { struct SettingsFrame final : public FrameInterface { absl::Status Deserialize(HPackParser* parser, const FrameHeader& header, - SliceBuffer& slice_buffer) override; - SliceBuffer Serialize(HPackCompressor* encoder) const override; + absl::BitGenRef bitsrc, Arena* arena, + BufferPair buffers, FrameLimits limits) override; + BufferPair Serialize(HPackCompressor* encoder) const override; + ClientMetadataHandle headers; + std::string ToString() const override; bool operator==(const SettingsFrame&) const { return true; } }; +struct FragmentMessage { + FragmentMessage(MessageHandle message, uint32_t padding, uint32_t length) + : message(std::move(message)), padding(padding), length(length) {} + + MessageHandle message; + uint32_t padding; + uint32_t length; + + std::string ToString() const; + + static bool EqVal(const Message& a, const Message& b) { + return a.payload()->JoinIntoString() == b.payload()->JoinIntoString() && + a.flags() == b.flags(); + } + + bool operator==(const FragmentMessage& other) const { + if (length != other.length) return false; + if (message == nullptr && other.message == nullptr) return true; + if (message == nullptr || other.message == nullptr) return false; + return EqVal(*message, *other.message); + } +}; + struct ClientFragmentFrame final : public FrameInterface { absl::Status Deserialize(HPackParser* parser, const FrameHeader& header, - SliceBuffer& slice_buffer) override; - SliceBuffer Serialize(HPackCompressor* encoder) const override; + absl::BitGenRef bitsrc, Arena* arena, + BufferPair buffers, FrameLimits limits) override; + BufferPair Serialize(HPackCompressor* encoder) const override; + std::string ToString() const override; uint32_t stream_id; ClientMetadataHandle headers; - MessageHandle message; + absl::optional message; bool end_of_stream = false; bool operator==(const ClientFragmentFrame& other) const { return stream_id == other.stream_id && EqHdl(headers, other.headers) && - end_of_stream == other.end_of_stream; + message == other.message && end_of_stream == other.end_of_stream; } }; struct ServerFragmentFrame final : public FrameInterface { absl::Status Deserialize(HPackParser* parser, const FrameHeader& header, - SliceBuffer& slice_buffer) override; - SliceBuffer Serialize(HPackCompressor* encoder) const override; + absl::BitGenRef bitsrc, Arena* arena, + BufferPair buffers, FrameLimits limits) override; + BufferPair Serialize(HPackCompressor* encoder) const override; + std::string ToString() const override; uint32_t stream_id; ServerMetadataHandle headers; + absl::optional message; ServerMetadataHandle trailers; bool operator==(const ServerFragmentFrame& other) const { return stream_id == other.stream_id && EqHdl(headers, other.headers) && - EqHdl(trailers, other.trailers); + message == other.message && EqHdl(trailers, other.trailers); } }; struct CancelFrame final : public FrameInterface { absl::Status Deserialize(HPackParser* parser, const FrameHeader& header, - SliceBuffer& slice_buffer) override; - SliceBuffer Serialize(HPackCompressor* encoder) const override; + absl::BitGenRef bitsrc, Arena* arena, + BufferPair buffers, FrameLimits limits) override; + BufferPair Serialize(HPackCompressor* encoder) const override; + std::string ToString() const override; uint32_t stream_id; @@ -114,6 +159,19 @@ struct CancelFrame final : public FrameInterface { using ClientFrame = absl::variant; using ServerFrame = absl::variant; +inline FrameInterface& GetFrameInterface(ClientFrame& frame) { + return MatchMutable( + &frame, + [](ClientFragmentFrame* frame) -> FrameInterface& { return *frame; }, + [](CancelFrame* frame) -> FrameInterface& { return *frame; }); +} + +inline FrameInterface& GetFrameInterface(ServerFrame& frame) { + return MatchMutable( + &frame, + [](ServerFragmentFrame* frame) -> FrameInterface& { return *frame; }); +} + } // namespace chaotic_good } // namespace grpc_core diff --git a/src/core/ext/transport/chaotic_good/frame_header.cc b/src/core/ext/transport/chaotic_good/frame_header.cc index 9e7eedfce49..d6672685383 100644 --- a/src/core/ext/transport/chaotic_good/frame_header.cc +++ b/src/core/ext/transport/chaotic_good/frame_header.cc @@ -19,6 +19,9 @@ #include #include "absl/status/status.h" +#include "absl/strings/str_cat.h" + +#include namespace grpc_core { namespace chaotic_good { @@ -56,8 +59,8 @@ absl::StatusOr FrameHeader::Parse(const uint8_t* data) { const uint32_t type_and_flags = ReadLittleEndianUint32(data); header.type = static_cast(type_and_flags & 0xff); const uint32_t flags = type_and_flags >> 8; - if (flags > 3) return absl::InvalidArgumentError("Invalid flags"); - header.flags = BitSet<2>::FromInt(flags); + if (flags > 7) return absl::InvalidArgumentError("Invalid flags"); + header.flags = BitSet<3>::FromInt(flags); header.stream_id = ReadLittleEndianUint32(data + 4); header.header_length = ReadLittleEndianUint32(data + 8); header.message_length = ReadLittleEndianUint32(data + 12); @@ -73,5 +76,13 @@ uint32_t FrameHeader::GetFrameLength() const { return frame_length; } +std::string FrameHeader::ToString() const { + return absl::StrFormat( + "[type=0x%02x, flags=0x%02x, stream_id=%d, header_length=%d, " + "message_length=%d, message_padding=%d, trailer_length=%d]", + static_cast(type), flags.ToInt(), stream_id, + header_length, message_length, message_padding, trailer_length); +} + } // namespace chaotic_good } // namespace grpc_core diff --git a/src/core/ext/transport/chaotic_good/frame_header.h b/src/core/ext/transport/chaotic_good/frame_header.h index a8210cf2574..62f3088f58e 100644 --- a/src/core/ext/transport/chaotic_good/frame_header.h +++ b/src/core/ext/transport/chaotic_good/frame_header.h @@ -17,6 +17,8 @@ #include +#include + #include #include "absl/status/statusor.h" @@ -33,13 +35,13 @@ enum class FrameType : uint8_t { }; struct FrameHeader { - FrameType type; - BitSet<2> flags; - uint32_t stream_id; - uint32_t header_length; - uint32_t message_length; - uint32_t message_padding; - uint32_t trailer_length; + FrameType type = FrameType::kCancel; + BitSet<3> flags; + uint32_t stream_id = 0; + uint32_t header_length = 0; + uint32_t message_length = 0; + uint32_t message_padding = 0; + uint32_t trailer_length = 0; // Parses a frame header from a buffer of 24 bytes. All 24 bytes are consumed. static absl::StatusOr Parse(const uint8_t* data); @@ -47,6 +49,8 @@ struct FrameHeader { void Serialize(uint8_t* data) const; // Compute frame sizes from the header. uint32_t GetFrameLength() const; + // Report contents as a string + std::string ToString() const; bool operator==(const FrameHeader& h) const { return type == h.type && flags == h.flags && stream_id == h.stream_id && @@ -55,6 +59,8 @@ struct FrameHeader { message_padding == h.message_padding && trailer_length == h.trailer_length; } + // Frame header size is fixed to 24 bytes. + static constexpr size_t kFrameHeaderSize = 24; }; } // namespace chaotic_good diff --git a/src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc b/src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc new file mode 100644 index 00000000000..c7815f8b9a2 --- /dev/null +++ b/src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc @@ -0,0 +1,497 @@ +// Copyright 2024 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include + +#include "src/core/ext/transport/chaotic_good/server/chaotic_good_server.h" + +#include +#include +#include +#include +#include +#include + +#include "absl/random/bit_gen_ref.h" +#include "absl/status/status.h" +#include "absl/status/statusor.h" + +#include +#include +#include +#include + +#include "src/core/ext/transport/chaotic_good/frame.h" +#include "src/core/ext/transport/chaotic_good/frame_header.h" +#include "src/core/ext/transport/chaotic_good/server_transport.h" +#include "src/core/ext/transport/chaotic_good/settings_metadata.h" +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/event_engine/channel_args_endpoint_config.h" +#include "src/core/lib/event_engine/default_event_engine.h" +#include "src/core/lib/event_engine/resolved_address_internal.h" +#include "src/core/lib/event_engine/tcp_socket_utils.h" +#include "src/core/lib/gprpp/orphanable.h" +#include "src/core/lib/gprpp/ref_counted_ptr.h" +#include "src/core/lib/gprpp/status_helper.h" +#include "src/core/lib/gprpp/sync.h" +#include "src/core/lib/gprpp/time.h" +#include "src/core/lib/iomgr/error.h" +#include "src/core/lib/iomgr/event_engine_shims/endpoint.h" +#include "src/core/lib/promise/activity.h" +#include "src/core/lib/promise/context.h" +#include "src/core/lib/promise/event_engine_wakeup_scheduler.h" +#include "src/core/lib/promise/if.h" +#include "src/core/lib/promise/latch.h" +#include "src/core/lib/promise/race.h" +#include "src/core/lib/promise/sleep.h" +#include "src/core/lib/promise/try_seq.h" +#include "src/core/lib/resource_quota/arena.h" +#include "src/core/lib/slice/slice.h" +#include "src/core/lib/slice/slice_buffer.h" +#include "src/core/lib/surface/server.h" +#include "src/core/lib/transport/error_utils.h" +#include "src/core/lib/transport/handshaker.h" +#include "src/core/lib/transport/metadata.h" +#include "src/core/lib/transport/metadata_batch.h" +#include "src/core/lib/transport/promise_endpoint.h" + +namespace grpc_core { +namespace chaotic_good { + +namespace { +const Duration kConnectionDeadline = Duration::Seconds(120); +} // namespace + +using grpc_event_engine::experimental::EventEngine; +ChaoticGoodServerListener::ChaoticGoodServerListener( + Server* server, const ChannelArgs& args, + absl::AnyInvocable connection_id_generator) + : server_(server), + args_(args), + event_engine_( + args.GetObjectRef()), + connection_id_generator_(std::move(connection_id_generator)) {} + +ChaoticGoodServerListener::~ChaoticGoodServerListener() { + if (on_destroy_done_ != nullptr) { + event_engine_->Run([on_destroy_done = on_destroy_done_]() { + ExecCtx exec_ctx; + ExecCtx::Run(DEBUG_LOCATION, on_destroy_done, absl::OkStatus()); + }); + } +} + +absl::StatusOr ChaoticGoodServerListener::Bind( + grpc_event_engine::experimental::EventEngine::ResolvedAddress addr) { + if (grpc_chaotic_good_trace.enabled()) { + auto str = grpc_event_engine::experimental::ResolvedAddressToString(addr); + gpr_log(GPR_INFO, "CHAOTIC_GOOD: Listen on %s", + str.ok() ? str->c_str() : str.status().ToString().c_str()); + } + EventEngine::Listener::AcceptCallback accept_cb = + [self = Ref()](std::unique_ptr ep, + MemoryAllocator) { + ExecCtx exec_ctx; + MutexLock lock(&self->mu_); + if (self->shutdown_) return; + self->connection_list_.emplace( + MakeOrphanable(self, std::move(ep))); + }; + auto shutdown_cb = [](absl::Status status) { + if (!status.ok()) { + gpr_log(GPR_ERROR, "Server accept connection failed: %s", + StatusToString(status).c_str()); + } + }; + GPR_ASSERT(event_engine_ != nullptr); + auto ee_listener = event_engine_->CreateListener( + std::move(accept_cb), std::move(shutdown_cb), + grpc_event_engine::experimental::ChannelArgsEndpointConfig(args_), + std::make_unique("chaotic_good_server_listener")); + if (!ee_listener.ok()) { + gpr_log(GPR_ERROR, "Bind failed: %s", + ee_listener.status().ToString().c_str()); + return ee_listener.status(); + } + ee_listener_ = std::move(ee_listener.value()); + auto port_num = ee_listener_->Bind(addr); + if (!port_num.ok()) { + return port_num.status(); + } + return port_num; +} + +absl::Status ChaoticGoodServerListener::StartListening() { + GPR_ASSERT(ee_listener_ != nullptr); + auto status = ee_listener_->Start(); + if (!status.ok()) { + gpr_log(GPR_ERROR, "Start listening failed: %s", status.ToString().c_str()); + } else if (grpc_chaotic_good_trace.enabled()) { + gpr_log(GPR_INFO, "CHAOTIC_GOOD: Started listening"); + } + return status; +} + +ChaoticGoodServerListener::ActiveConnection::ActiveConnection( + RefCountedPtr listener, + std::unique_ptr endpoint) + : memory_allocator_(listener->memory_allocator_), listener_(listener) { + handshaking_state_ = MakeRefCounted(Ref()); + handshaking_state_->Start(std::move(endpoint)); +} + +ChaoticGoodServerListener::ActiveConnection::~ActiveConnection() { + if (receive_settings_activity_ != nullptr) receive_settings_activity_.reset(); +} + +void ChaoticGoodServerListener::ActiveConnection::Orphan() { + if (grpc_chaotic_good_trace.enabled()) { + gpr_log(GPR_INFO, "ActiveConnection::Orphan() %p", this); + } + if (handshaking_state_ != nullptr) { + handshaking_state_->Shutdown(); + handshaking_state_.reset(); + } + ActivityPtr activity; + { + MutexLock lock(&mu_); + orphaned_ = true; + activity = std::move(receive_settings_activity_); + } + activity.reset(); + Unref(); +} + +void ChaoticGoodServerListener::ActiveConnection::NewConnectionID() { + bool has_new_id = false; + MutexLock lock(&listener_->mu_); + while (!has_new_id) { + connection_id_ = listener_->connection_id_generator_(); + if (!listener_->connectivity_map_.contains(connection_id_)) { + has_new_id = true; + } + } + listener_->connectivity_map_.emplace( + connection_id_, std::make_shared>()); +} + +void ChaoticGoodServerListener::ActiveConnection::Done( + absl::optional error) { + if (error.has_value()) { + gpr_log(GPR_ERROR, "ActiveConnection::Done:%p %s", this, + std::string(*error).c_str()); + } + // Can easily be holding various locks here: bounce through EE to ensure no + // deadlocks. + listener_->event_engine_->Run([self = Ref()]() { + ExecCtx exec_ctx; + OrphanablePtr con; + MutexLock lock(&self->listener_->mu_); + auto v = self->listener_->connection_list_.extract(self.get()); + if (!v.empty()) con = std::move(v.value()); + }); +} + +ChaoticGoodServerListener::ActiveConnection::HandshakingState::HandshakingState( + RefCountedPtr connection) + : memory_allocator_(connection->memory_allocator_), + connection_(std::move(connection)), + handshake_mgr_(MakeRefCounted()) {} + +void ChaoticGoodServerListener::ActiveConnection::HandshakingState::Start( + std::unique_ptr endpoint) { + handshake_mgr_->DoHandshake( + grpc_event_engine_endpoint_create(std::move(endpoint)), + connection_->args(), GetConnectionDeadline(), nullptr, OnHandshakeDone, + Ref().release()); +} + +auto ChaoticGoodServerListener::ActiveConnection::HandshakingState:: + EndpointReadSettingsFrame(RefCountedPtr self) { + return TrySeq( + self->connection_->endpoint_.ReadSlice(FrameHeader::kFrameHeaderSize), + [self](Slice slice) { + // Parse frame header + auto frame_header = FrameHeader::Parse(reinterpret_cast( + GRPC_SLICE_START_PTR(slice.c_slice()))); + return If( + frame_header.ok(), + [self, &frame_header]() { + return TrySeq( + self->connection_->endpoint_.Read( + frame_header->GetFrameLength()), + [frame_header = *frame_header, + self](SliceBuffer buffer) -> absl::StatusOr { + // Read Setting frame. + SettingsFrame frame; + // Deserialize frame from read buffer. + BufferPair buffer_pair{std::move(buffer), SliceBuffer()}; + auto status = frame.Deserialize( + &self->connection_->hpack_parser_, frame_header, + absl::BitGenRef(self->connection_->bitgen_), + GetContext(), std::move(buffer_pair), + FrameLimits{}); + if (!status.ok()) return status; + if (frame.headers == nullptr) { + return absl::UnavailableError("no settings headers"); + } + auto settings_metadata = + SettingsMetadata::FromMetadataBatch(*frame.headers); + if (!settings_metadata.ok()) { + return settings_metadata.status(); + } + const bool is_control_endpoint = + settings_metadata->connection_type == + SettingsMetadata::ConnectionType::kControl; + if (!is_control_endpoint) { + if (!settings_metadata->connection_id.has_value()) { + return absl::UnavailableError( + "no connection id in data endpoint settings frame"); + } + if (!settings_metadata->alignment.has_value()) { + return absl::UnavailableError( + "no alignment in data endpoint settings frame"); + } + // Get connection-id and data-alignment for data endpoint. + self->connection_->connection_id_ = + *settings_metadata->connection_id; + self->connection_->data_alignment_ = + *settings_metadata->alignment; + } + return is_control_endpoint; + }); + }, + [&frame_header]() { + return [r = frame_header.status()]() -> absl::StatusOr { + return r; + }; + }); + }); +} + +auto ChaoticGoodServerListener::ActiveConnection::HandshakingState:: + WaitForDataEndpointSetup(RefCountedPtr self) { + return Race( + TrySeq( + []() { + // TODO(ladynana): find a way to resolve SeqState to actual + // value. + return absl::OkStatus(); + }, + [self]() { + MutexLock lock(&self->connection_->listener_->mu_); + auto latch = self->connection_->listener_->connectivity_map_ + .find(self->connection_->connection_id_) + ->second; + return latch->Wait(); + }, + [self](PromiseEndpoint ret) -> absl::Status { + MutexLock lock(&self->connection_->listener_->mu_); + if (grpc_chaotic_good_trace.enabled()) { + gpr_log( + GPR_INFO, "%p Data endpoint setup done: shutdown=%s", + self->connection_.get(), + self->connection_->listener_->shutdown_ ? "true" : "false"); + } + if (self->connection_->listener_->shutdown_) { + return absl::UnavailableError("Server shutdown"); + } + return self->connection_->listener_->server_->SetupTransport( + new ChaoticGoodServerTransport( + self->connection_->args(), + std::move(self->connection_->endpoint_), std::move(ret), + self->connection_->listener_->event_engine_, + std::move(self->connection_->hpack_parser_), + std::move(self->connection_->hpack_compressor_)), + nullptr, self->connection_->args(), nullptr); + }), + // Set timeout for waiting data endpoint connect. + TrySeq( + // []() { + Sleep(Timestamp::Now() + kConnectionDeadline), + [self]() mutable -> absl::Status { + MutexLock lock(&self->connection_->listener_->mu_); + // Delete connection id from map when timeout; + self->connection_->listener_->connectivity_map_.erase( + self->connection_->connection_id_); + return absl::DeadlineExceededError("Deadline exceeded."); + })); +} + +auto ChaoticGoodServerListener::ActiveConnection::HandshakingState:: + ControlEndpointWriteSettingsFrame(RefCountedPtr self) { + self->connection_->NewConnectionID(); + SettingsFrame frame; + frame.headers = + SettingsMetadata{absl::nullopt, self->connection_->connection_id_, + absl::nullopt} + .ToMetadataBatch(GetContext()); + auto write_buffer = frame.Serialize(&self->connection_->hpack_compressor_); + return TrySeq( + self->connection_->endpoint_.Write(std::move(write_buffer.control)), + WaitForDataEndpointSetup(self)); +} + +auto ChaoticGoodServerListener::ActiveConnection::HandshakingState:: + DataEndpointWriteSettingsFrame(RefCountedPtr self) { + // Send data endpoint setting frame + SettingsFrame frame; + frame.headers = + SettingsMetadata{absl::nullopt, self->connection_->connection_id_, + self->connection_->data_alignment_} + .ToMetadataBatch(GetContext()); + auto write_buffer = frame.Serialize(&self->connection_->hpack_compressor_); + return TrySeq( + self->connection_->endpoint_.Write(std::move(write_buffer.control)), + [self]() mutable { + MutexLock lock(&self->connection_->listener_->mu_); + // Set endpoint to latch + auto it = self->connection_->listener_->connectivity_map_.find( + self->connection_->connection_id_); + if (it == self->connection_->listener_->connectivity_map_.end()) { + return absl::InternalError( + absl::StrCat("Connection not in map: ", + absl::CEscape(self->connection_->connection_id_))); + } + it->second->Set(std::move(self->connection_->endpoint_)); + return absl::OkStatus(); + }); +} + +auto ChaoticGoodServerListener::ActiveConnection::HandshakingState:: + EndpointWriteSettingsFrame(RefCountedPtr self, + bool is_control_endpoint) { + return If( + is_control_endpoint, + [&self] { return ControlEndpointWriteSettingsFrame(self); }, + [&self] { return DataEndpointWriteSettingsFrame(self); }); +} + +void ChaoticGoodServerListener::ActiveConnection::HandshakingState:: + OnHandshakeDone(void* arg, grpc_error_handle error) { + auto* args = static_cast(arg); + GPR_ASSERT(args != nullptr); + RefCountedPtr self( + static_cast(args->user_data)); + grpc_slice_buffer_destroy(args->read_buffer); + gpr_free(args->read_buffer); + if (!error.ok()) { + self->connection_->Done( + absl::StrCat("Handshake failed: ", StatusToString(error))); + return; + } + if (args->endpoint == nullptr) { + self->connection_->Done("Server handshake done but has empty endpoint."); + return; + } + GPR_ASSERT(grpc_event_engine::experimental::grpc_is_event_engine_endpoint( + args->endpoint)); + self->connection_->endpoint_ = PromiseEndpoint( + grpc_event_engine::experimental::grpc_take_wrapped_event_engine_endpoint( + args->endpoint), + SliceBuffer()); + auto activity = MakeActivity( + [self]() { + return TrySeq(Race(EndpointReadSettingsFrame(self), + TrySeq(Sleep(Timestamp::Now() + kConnectionDeadline), + []() -> absl::StatusOr { + return absl::DeadlineExceededError( + "Waiting for initial settings frame"); + })), + [self](bool is_control_endpoint) { + return EndpointWriteSettingsFrame(self, + is_control_endpoint); + }); + }, + EventEngineWakeupScheduler(self->connection_->listener_->event_engine_), + [self](absl::Status status) { + if (!status.ok()) { + self->connection_->Done( + absl::StrCat("Server setting frame handling failed: ", + StatusToString(status))); + } else { + self->connection_->Done(); + } + }, + self->connection_->arena_.get(), + self->connection_->listener_->event_engine_.get()); + MutexLock lock(&self->connection_->mu_); + if (self->connection_->orphaned_) return; + self->connection_->receive_settings_activity_ = std::move(activity); +} + +Timestamp ChaoticGoodServerListener::ActiveConnection::HandshakingState:: + GetConnectionDeadline() { + if (connection_->args().Contains(GRPC_ARG_SERVER_HANDSHAKE_TIMEOUT_MS)) { + return Timestamp::Now() + + connection_->args() + .GetDurationFromIntMillis(GRPC_ARG_SERVER_HANDSHAKE_TIMEOUT_MS) + .value(); + } + return Timestamp::Now() + kConnectionDeadline; +} + +void ChaoticGoodServerListener::Orphan() { + if (grpc_chaotic_good_trace.enabled()) { + gpr_log(GPR_INFO, "ChaoticGoodServerListener::Orphan()"); + } + { + absl::flat_hash_set> connection_list; + MutexLock lock(&mu_); + connection_list = std::move(connection_list_); + shutdown_ = true; + } + ee_listener_.reset(); + Unref(); +}; + +} // namespace chaotic_good +} // namespace grpc_core + +int grpc_server_add_chaotic_good_port(grpc_server* server, const char* addr) { + grpc_core::ExecCtx exec_ctx; + auto* const core_server = grpc_core::Server::FromC(server); + const std::string parsed_addr = grpc_core::URI::PercentDecode(addr); + const auto resolved_or = grpc_core::GetDNSResolver()->LookupHostnameBlocking( + parsed_addr, absl::StrCat(0xd20)); + if (!resolved_or.ok()) { + gpr_log(GPR_ERROR, "Failed to resolve %s: %s", addr, + resolved_or.status().ToString().c_str()); + return 0; + } + int port_num = 0; + for (const auto& resolved_addr : resolved_or.value()) { + auto listener = grpc_core::MakeOrphanable< + grpc_core::chaotic_good::ChaoticGoodServerListener>( + core_server, core_server->channel_args()); + const auto ee_addr = + grpc_event_engine::experimental::CreateResolvedAddress(resolved_addr); + gpr_log(GPR_INFO, "BIND: %s", + grpc_event_engine::experimental::ResolvedAddressToString(ee_addr) + ->c_str()); + auto bind_result = listener->Bind(ee_addr); + if (!bind_result.ok()) { + gpr_log(GPR_ERROR, "Failed to bind to %s: %s", addr, + bind_result.status().ToString().c_str()); + return 0; + } + if (port_num == 0) { + port_num = bind_result.value(); + } else { + GPR_ASSERT(port_num == bind_result.value()); + } + core_server->AddListener(std::move(listener)); + } + return port_num; +} diff --git a/src/core/ext/transport/chaotic_good/server/chaotic_good_server.h b/src/core/ext/transport/chaotic_good/server/chaotic_good_server.h new file mode 100644 index 00000000000..a925e10218e --- /dev/null +++ b/src/core/ext/transport/chaotic_good/server/chaotic_good_server.h @@ -0,0 +1,179 @@ +// Copyright 2022 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_SERVER_CHAOTIC_GOOD_SERVER_H +#define GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_SERVER_CHAOTIC_GOOD_SERVER_H + +#include + +#include +#include +#include +#include +#include + +#include "absl/container/flat_hash_map.h" +#include "absl/random/random.h" +#include "absl/status/status.h" +#include "absl/status/statusor.h" + +#include + +#include "src/core/ext/transport/chttp2/transport/hpack_encoder.h" +#include "src/core/ext/transport/chttp2/transport/hpack_parser.h" +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/channel/channelz.h" +#include "src/core/lib/gprpp/sync.h" +#include "src/core/lib/gprpp/time.h" +#include "src/core/lib/iomgr/closure.h" +#include "src/core/lib/iomgr/error.h" +#include "src/core/lib/iomgr/iomgr_fwd.h" +#include "src/core/lib/promise/activity.h" +#include "src/core/lib/promise/inter_activity_latch.h" +#include "src/core/lib/resource_quota/memory_quota.h" +#include "src/core/lib/resource_quota/resource_quota.h" +#include "src/core/lib/slice/slice.h" +#include "src/core/lib/surface/server.h" +#include "src/core/lib/transport/handshaker.h" +#include "src/core/lib/transport/promise_endpoint.h" + +namespace grpc_core { +namespace chaotic_good { +class ChaoticGoodServerListener final + : public Server::ListenerInterface, + public RefCounted { + public: + static absl::AnyInvocable DefaultConnectionIDGenerator() { + return [bitgen = absl::BitGen()]() mutable { + return absl::StrCat(absl::Hex(absl::Uniform(bitgen))); + }; + } + + ChaoticGoodServerListener( + Server* server, const ChannelArgs& args, + absl::AnyInvocable connection_id_generator = + DefaultConnectionIDGenerator()); + ~ChaoticGoodServerListener() override; + // Bind address to EventEngine listener. + absl::StatusOr Bind( + grpc_event_engine::experimental::EventEngine::ResolvedAddress addr); + absl::Status StartListening(); + const ChannelArgs& args() const { return args_; } + void Orphan() override; + + class ActiveConnection : public InternallyRefCounted { + public: + ActiveConnection( + RefCountedPtr listener, + std::unique_ptr + endpoint); + ~ActiveConnection() override; + const ChannelArgs& args() const { return listener_->args(); } + + void Orphan() override; + + class HandshakingState : public RefCounted { + public: + explicit HandshakingState(RefCountedPtr connection); + ~HandshakingState() override{}; + void Start(std::unique_ptr< + grpc_event_engine::experimental::EventEngine::Endpoint> + endpoint); + + void Shutdown() { + handshake_mgr_->Shutdown(absl::CancelledError("Shutdown")); + } + + private: + static auto EndpointReadSettingsFrame( + RefCountedPtr self); + static auto EndpointWriteSettingsFrame( + RefCountedPtr self, bool is_control_endpoint); + static auto WaitForDataEndpointSetup( + RefCountedPtr self); + static auto ControlEndpointWriteSettingsFrame( + RefCountedPtr self); + static auto DataEndpointWriteSettingsFrame( + RefCountedPtr self); + + static void OnHandshakeDone(void* arg, grpc_error_handle error); + Timestamp GetConnectionDeadline(); + const std::shared_ptr + memory_allocator_; + const RefCountedPtr connection_; + const RefCountedPtr handshake_mgr_; + }; + + private: + void Done(absl::optional error = absl::nullopt); + void NewConnectionID(); + const std::shared_ptr + memory_allocator_; + ScopedArenaPtr arena_ = MakeScopedArena(1024, memory_allocator_.get()); + const RefCountedPtr listener_; + RefCountedPtr handshaking_state_; + Mutex mu_; + ActivityPtr receive_settings_activity_ ABSL_GUARDED_BY(mu_); + bool orphaned_ ABSL_GUARDED_BY(mu_) = false; + PromiseEndpoint endpoint_; + HPackCompressor hpack_compressor_; + HPackParser hpack_parser_; + absl::BitGen bitgen_; + std::string connection_id_; + int32_t data_alignment_; + }; + + void Start(Server*, const std::vector*) override { + StartListening().IgnoreError(); + }; + + channelz::ListenSocketNode* channelz_listen_socket_node() const override { + return nullptr; + } + + void SetOnDestroyDone(grpc_closure* closure) override { + MutexLock lock(&mu_); + on_destroy_done_ = closure; + }; + + private: + Server* const server_; + ChannelArgs args_; + std::shared_ptr event_engine_; + std::unique_ptr + ee_listener_; + Mutex mu_; + bool shutdown_ ABSL_GUARDED_BY(mu_) = false; + // Map of connection id to endpoints connectivity. + absl::flat_hash_map>> + connectivity_map_ ABSL_GUARDED_BY(mu_); + absl::flat_hash_set> connection_list_ + ABSL_GUARDED_BY(mu_); + absl::AnyInvocable connection_id_generator_ + ABSL_GUARDED_BY(mu_); + grpc_closure* on_destroy_done_ ABSL_GUARDED_BY(mu_) = nullptr; + std::shared_ptr + memory_allocator_ = + std::make_shared( + ResourceQuota::Default()->memory_quota()->CreateMemoryAllocator( + "server_connection")); +}; + +} // namespace chaotic_good +} // namespace grpc_core + +int grpc_server_add_chaotic_good_port(grpc_server* server, const char* addr); + +#endif // GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_SERVER_CHAOTIC_GOOD_SERVER_H diff --git a/src/core/ext/transport/chaotic_good/server_transport.cc b/src/core/ext/transport/chaotic_good/server_transport.cc new file mode 100644 index 00000000000..c6e07ffd151 --- /dev/null +++ b/src/core/ext/transport/chaotic_good/server_transport.cc @@ -0,0 +1,462 @@ +// Copyright 2022 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include + +#include "src/core/ext/transport/chaotic_good/server_transport.h" + +#include +#include +#include + +#include "absl/random/bit_gen_ref.h" +#include "absl/random/random.h" +#include "absl/status/status.h" +#include "absl/status/statusor.h" + +#include +#include +#include +#include + +#include "src/core/ext/transport/chaotic_good/chaotic_good_transport.h" +#include "src/core/ext/transport/chaotic_good/frame.h" +#include "src/core/ext/transport/chaotic_good/frame_header.h" +#include "src/core/ext/transport/chttp2/transport/hpack_encoder.h" +#include "src/core/lib/gprpp/ref_counted_ptr.h" +#include "src/core/lib/iomgr/exec_ctx.h" +#include "src/core/lib/promise/activity.h" +#include "src/core/lib/promise/event_engine_wakeup_scheduler.h" +#include "src/core/lib/promise/for_each.h" +#include "src/core/lib/promise/loop.h" +#include "src/core/lib/promise/switch.h" +#include "src/core/lib/promise/try_seq.h" +#include "src/core/lib/resource_quota/arena.h" +#include "src/core/lib/resource_quota/resource_quota.h" +#include "src/core/lib/slice/slice.h" +#include "src/core/lib/slice/slice_buffer.h" +#include "src/core/lib/transport/promise_endpoint.h" + +namespace grpc_core { +namespace chaotic_good { + +auto ChaoticGoodServerTransport::TransportWriteLoop( + RefCountedPtr transport) { + return Loop([this, transport = std::move(transport)] { + return TrySeq( + // Get next outgoing frame. + outgoing_frames_.Next(), + // Serialize and write it out. + [transport = transport.get()](ServerFrame client_frame) { + return transport->WriteFrame(GetFrameInterface(client_frame)); + }, + []() -> LoopCtl { + // The write failures will be caught in TrySeq and exit loop. + // Therefore, only need to return Continue() in the last lambda + // function. + return Continue(); + }); + }); +} + +auto ChaoticGoodServerTransport::PushFragmentIntoCall( + CallInitiator call_initiator, ClientFragmentFrame frame) { + auto& headers = frame.headers; + return TrySeq( + If( + headers != nullptr, + [call_initiator, &headers]() mutable { + return call_initiator.PushClientInitialMetadata(std::move(headers)); + }, + []() -> StatusFlag { return Success{}; }), + [call_initiator, message = std::move(frame.message)]() mutable { + return If( + message.has_value(), + [&call_initiator, &message]() mutable { + return call_initiator.PushMessage(std::move(message->message)); + }, + []() -> StatusFlag { return Success{}; }); + }, + [call_initiator, + end_of_stream = frame.end_of_stream]() mutable -> StatusFlag { + if (end_of_stream) call_initiator.FinishSends(); + return Success{}; + }); +} + +auto ChaoticGoodServerTransport::MaybePushFragmentIntoCall( + absl::optional call_initiator, absl::Status error, + ClientFragmentFrame frame) { + return If( + call_initiator.has_value() && error.ok(), + [this, &call_initiator, &frame]() { + return Map( + call_initiator->SpawnWaitable( + "push-fragment", + [call_initiator, frame = std::move(frame), this]() mutable { + return call_initiator->CancelIfFails( + PushFragmentIntoCall(*call_initiator, std::move(frame))); + }), + [](StatusFlag status) { return StatusCast(status); }); + }, + [&error, &frame]() { + gpr_log(GPR_INFO, + "CHAOTIC_GOOD: Cannot pass frame to stream. Error:%s Frame:%s", + error.ToString().c_str(), frame.ToString().c_str()); + return Immediate(std::move(error)); + }); +} + +auto ChaoticGoodServerTransport::SendFragment( + ServerFragmentFrame frame, MpscSender outgoing_frames) { + if (grpc_chaotic_good_trace.enabled()) { + gpr_log(GPR_INFO, "CHAOTIC_GOOD: SendFragment: frame=%s", + frame.ToString().c_str()); + } + return Map(outgoing_frames.Send(std::move(frame)), + [](bool success) -> absl::Status { + if (!success) { + // Failed to send outgoing frame. + return absl::UnavailableError("Transport closed."); + } + return absl::OkStatus(); + }); +} + +auto ChaoticGoodServerTransport::SendCallBody( + uint32_t stream_id, MpscSender outgoing_frames, + CallInitiator call_initiator) { + // Continuously send client frame with client to server + // messages. + return ForEach(OutgoingMessages(call_initiator), + [stream_id, outgoing_frames, aligned_bytes = aligned_bytes_]( + MessageHandle message) mutable { + ServerFragmentFrame frame; + // Construct frame header (flags, header_length + // and trailer_length will be added in + // serialization). + const uint32_t message_length = message->payload()->Length(); + const uint32_t padding = + message_length % aligned_bytes == 0 + ? 0 + : aligned_bytes - message_length % aligned_bytes; + GPR_ASSERT((message_length + padding) % aligned_bytes == 0); + frame.message = FragmentMessage(std::move(message), padding, + message_length); + frame.stream_id = stream_id; + return SendFragment(std::move(frame), outgoing_frames); + }); +} + +auto ChaoticGoodServerTransport::SendCallInitialMetadataAndBody( + uint32_t stream_id, MpscSender outgoing_frames, + CallInitiator call_initiator) { + return TrySeq( + // Wait for initial metadata then send it out. + call_initiator.PullServerInitialMetadata(), + [stream_id, outgoing_frames, call_initiator, + this](absl::optional md) mutable { + if (grpc_chaotic_good_trace.enabled()) { + gpr_log(GPR_INFO, + "CHAOTIC_GOOD: SendCallInitialMetadataAndBody: md=%s", + md.has_value() ? (*md)->DebugString().c_str() : "null"); + } + return If( + md.has_value(), + [&md, stream_id, &outgoing_frames, &call_initiator, this]() { + ServerFragmentFrame frame; + frame.headers = std::move(*md); + frame.stream_id = stream_id; + return TrySeq( + SendFragment(std::move(frame), outgoing_frames), + SendCallBody(stream_id, outgoing_frames, call_initiator)); + }, + []() { return absl::OkStatus(); }); + }); +} + +auto ChaoticGoodServerTransport::CallOutboundLoop( + uint32_t stream_id, CallInitiator call_initiator) { + auto outgoing_frames = outgoing_frames_.MakeSender(); + return Seq(Map(SendCallInitialMetadataAndBody(stream_id, outgoing_frames, + call_initiator), + [stream_id](absl::Status main_body_result) { + if (grpc_chaotic_good_trace.enabled()) { + gpr_log(GPR_DEBUG, + "CHAOTIC_GOOD: CallOutboundLoop: stream_id=%d " + "main_body_result=%s", + stream_id, main_body_result.ToString().c_str()); + } + return Empty{}; + }), + call_initiator.PullServerTrailingMetadata(), + [stream_id, outgoing_frames](ServerMetadataHandle md) mutable { + ServerFragmentFrame frame; + frame.trailers = std::move(md); + frame.stream_id = stream_id; + return SendFragment(std::move(frame), outgoing_frames); + }); +} + +auto ChaoticGoodServerTransport::DeserializeAndPushFragmentToNewCall( + FrameHeader frame_header, BufferPair buffers, + ChaoticGoodTransport& transport) { + ClientFragmentFrame fragment_frame; + ScopedArenaPtr arena(acceptor_->CreateArena()); + absl::Status status = transport.DeserializeFrame( + frame_header, std::move(buffers), arena.get(), fragment_frame, + FrameLimits{1024 * 1024 * 1024, aligned_bytes_ - 1}); + absl::optional call_initiator; + if (status.ok()) { + auto create_call_result = + acceptor_->CreateCall(*fragment_frame.headers, arena.release()); + if (grpc_chaotic_good_trace.enabled()) { + gpr_log(GPR_INFO, + "CHAOTIC_GOOD: DeserializeAndPushFragmentToNewCall: " + "create_call_result=%s", + create_call_result.ok() + ? "ok" + : create_call_result.status().ToString().c_str()); + } + if (create_call_result.ok()) { + call_initiator.emplace(std::move(*create_call_result)); + auto add_result = NewStream(frame_header.stream_id, *call_initiator); + if (add_result.ok()) { + call_initiator->SpawnGuarded( + "server-write", [this, stream_id = frame_header.stream_id, + call_initiator = *call_initiator]() { + return CallOutboundLoop(stream_id, call_initiator); + }); + } else { + call_initiator.reset(); + status = add_result; + } + } else { + status = create_call_result.status(); + } + } + return MaybePushFragmentIntoCall(std::move(call_initiator), std::move(status), + std::move(fragment_frame)); +} + +auto ChaoticGoodServerTransport::DeserializeAndPushFragmentToExistingCall( + FrameHeader frame_header, BufferPair buffers, + ChaoticGoodTransport& transport) { + absl::optional call_initiator = + LookupStream(frame_header.stream_id); + Arena* arena = nullptr; + if (call_initiator.has_value()) arena = call_initiator->arena(); + ClientFragmentFrame fragment_frame; + absl::Status status = transport.DeserializeFrame( + frame_header, std::move(buffers), arena, fragment_frame, + FrameLimits{1024 * 1024 * 1024, aligned_bytes_ - 1}); + return MaybePushFragmentIntoCall(std::move(call_initiator), std::move(status), + std::move(fragment_frame)); +} + +auto ChaoticGoodServerTransport::ReadOneFrame(ChaoticGoodTransport& transport) { + return TrySeq( + transport.ReadFrameBytes(), + [this, transport = + &transport](std::tuple frame_bytes) { + const auto& frame_header = std::get<0>(frame_bytes); + auto& buffers = std::get<1>(frame_bytes); + return Switch( + frame_header.type, + Case(FrameType::kSettings, + []() -> absl::Status { + return absl::InternalError("Unexpected settings frame"); + }), + Case(FrameType::kFragment, + [this, &frame_header, &buffers, transport]() { + return If( + frame_header.flags.is_set(0), + [this, &frame_header, &buffers, transport]() { + return DeserializeAndPushFragmentToNewCall( + frame_header, std::move(buffers), *transport); + }, + [this, &frame_header, &buffers, transport]() { + return DeserializeAndPushFragmentToExistingCall( + frame_header, std::move(buffers), *transport); + }); + }), + Case(FrameType::kCancel, + [this, &frame_header]() { + absl::optional call_initiator = + ExtractStream(frame_header.stream_id); + return If( + call_initiator.has_value(), + [&call_initiator]() { + auto c = std::move(*call_initiator); + return c.SpawnWaitable("cancel", [c]() mutable { + c.Cancel(); + return absl::OkStatus(); + }); + }, + []() -> absl::Status { + return absl::InternalError("Unexpected cancel frame"); + }); + }), + Default([frame_header]() { + return absl::InternalError( + absl::StrCat("Unexpected frame type: ", + static_cast(frame_header.type))); + })); + }, + []() -> LoopCtl { return Continue{}; }); +} + +auto ChaoticGoodServerTransport::TransportReadLoop( + RefCountedPtr transport) { + return Seq(got_acceptor_.Wait(), + Loop([this, transport = std::move(transport)] { + return ReadOneFrame(*transport); + })); +} + +auto ChaoticGoodServerTransport::OnTransportActivityDone( + absl::string_view activity) { + return [this, activity](absl::Status status) { + if (grpc_chaotic_good_trace.enabled()) { + gpr_log(GPR_INFO, + "CHAOTIC_GOOD: OnTransportActivityDone: activity=%s status=%s", + std::string(activity).c_str(), status.ToString().c_str()); + } + AbortWithError(); + }; +} + +ChaoticGoodServerTransport::ChaoticGoodServerTransport( + const ChannelArgs& args, PromiseEndpoint control_endpoint, + PromiseEndpoint data_endpoint, + std::shared_ptr event_engine, + HPackParser hpack_parser, HPackCompressor hpack_encoder) + : outgoing_frames_(4), + allocator_(args.GetObject() + ->memory_quota() + ->CreateMemoryAllocator("chaotic-good")) { + auto transport = MakeRefCounted( + std::move(control_endpoint), std::move(data_endpoint), + std::move(hpack_parser), std::move(hpack_encoder)); + writer_ = MakeActivity(TransportWriteLoop(transport), + EventEngineWakeupScheduler(event_engine), + OnTransportActivityDone("writer")); + reader_ = MakeActivity(TransportReadLoop(std::move(transport)), + EventEngineWakeupScheduler(event_engine), + OnTransportActivityDone("reader")); +} + +void ChaoticGoodServerTransport::SetAcceptor(Acceptor* acceptor) { + GPR_ASSERT(acceptor_ == nullptr); + GPR_ASSERT(acceptor != nullptr); + acceptor_ = acceptor; + got_acceptor_.Set(); +} + +ChaoticGoodServerTransport::~ChaoticGoodServerTransport() { + if (writer_ != nullptr) { + writer_.reset(); + } + if (reader_ != nullptr) { + reader_.reset(); + } +} + +void ChaoticGoodServerTransport::AbortWithError() { + // Mark transport as unavailable when the endpoint write/read failed. + // Close all the available pipes. + outgoing_frames_.MarkClosed(); + ReleasableMutexLock lock(&mu_); + StreamMap stream_map = std::move(stream_map_); + stream_map_.clear(); + state_tracker_.SetState(GRPC_CHANNEL_SHUTDOWN, + absl::UnavailableError("transport closed"), + "transport closed"); + lock.Release(); + for (const auto& pair : stream_map) { + auto call_initiator = pair.second; + call_initiator.SpawnInfallible("cancel", [call_initiator]() mutable { + call_initiator.Cancel(); + return Empty{}; + }); + } +} + +absl::optional ChaoticGoodServerTransport::LookupStream( + uint32_t stream_id) { + MutexLock lock(&mu_); + auto it = stream_map_.find(stream_id); + if (it == stream_map_.end()) return absl::nullopt; + return it->second; +} + +absl::optional ChaoticGoodServerTransport::ExtractStream( + uint32_t stream_id) { + MutexLock lock(&mu_); + auto it = stream_map_.find(stream_id); + if (it == stream_map_.end()) return absl::nullopt; + auto r = std::move(it->second); + stream_map_.erase(it); + return std::move(r); +} + +absl::Status ChaoticGoodServerTransport::NewStream( + uint32_t stream_id, CallInitiator call_initiator) { + MutexLock lock(&mu_); + auto it = stream_map_.find(stream_id); + if (it != stream_map_.end()) { + return absl::InternalError("Stream already exists"); + } + if (stream_id <= last_seen_new_stream_id_) { + return absl::InternalError("Stream id is not increasing"); + } + stream_map_.emplace(stream_id, std::move(call_initiator)); + return absl::OkStatus(); +} + +void ChaoticGoodServerTransport::PerformOp(grpc_transport_op* op) { + std::vector cancelled; + MutexLock lock(&mu_); + bool did_stuff = false; + if (op->start_connectivity_watch != nullptr) { + state_tracker_.AddWatcher(op->start_connectivity_watch_state, + std::move(op->start_connectivity_watch)); + did_stuff = true; + } + if (op->stop_connectivity_watch != nullptr) { + state_tracker_.RemoveWatcher(op->stop_connectivity_watch); + did_stuff = true; + } + if (op->set_accept_stream) { + if (op->set_accept_stream_fn != nullptr) { + Crash(absl::StrCat( + "set_accept_stream not supported on chaotic good transports: ", + grpc_transport_op_string(op))); + } + did_stuff = true; + } + if (!op->goaway_error.ok() || !op->disconnect_with_error.ok()) { + cancelled.push_back(std::move(writer_)); + cancelled.push_back(std::move(reader_)); + did_stuff = true; + } + if (!did_stuff) { + Crash(absl::StrCat("unimplemented transport perform op: ", + grpc_transport_op_string(op))); + } + ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus()); +} + +} // namespace chaotic_good +} // namespace grpc_core diff --git a/src/core/ext/transport/chaotic_good/server_transport.h b/src/core/ext/transport/chaotic_good/server_transport.h new file mode 100644 index 00000000000..021975d9f15 --- /dev/null +++ b/src/core/ext/transport/chaotic_good/server_transport.h @@ -0,0 +1,159 @@ +// Copyright 2022 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_SERVER_TRANSPORT_H +#define GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_SERVER_TRANSPORT_H + +#include + +#include +#include + +#include +#include // IWYU pragma: keep +#include +#include +#include +#include +#include +#include +#include +#include + +#include "absl/base/thread_annotations.h" +#include "absl/container/flat_hash_map.h" +#include "absl/functional/any_invocable.h" +#include "absl/random/random.h" +#include "absl/status/status.h" +#include "absl/status/statusor.h" +#include "absl/types/optional.h" +#include "absl/types/variant.h" + +#include +#include +#include +#include +#include + +#include "src/core/ext/transport/chaotic_good/chaotic_good_transport.h" +#include "src/core/ext/transport/chaotic_good/frame.h" +#include "src/core/ext/transport/chaotic_good/frame_header.h" +#include "src/core/ext/transport/chttp2/transport/hpack_encoder.h" +#include "src/core/ext/transport/chttp2/transport/hpack_parser.h" +#include "src/core/lib/event_engine/default_event_engine.h" // IWYU pragma: keep +#include "src/core/lib/gprpp/ref_counted_ptr.h" +#include "src/core/lib/gprpp/sync.h" +#include "src/core/lib/promise/activity.h" +#include "src/core/lib/promise/context.h" +#include "src/core/lib/promise/if.h" +#include "src/core/lib/promise/inter_activity_latch.h" +#include "src/core/lib/promise/inter_activity_pipe.h" +#include "src/core/lib/promise/loop.h" +#include "src/core/lib/promise/mpsc.h" +#include "src/core/lib/promise/party.h" +#include "src/core/lib/promise/pipe.h" +#include "src/core/lib/promise/poll.h" +#include "src/core/lib/promise/seq.h" +#include "src/core/lib/promise/try_join.h" +#include "src/core/lib/promise/try_seq.h" +#include "src/core/lib/resource_quota/arena.h" +#include "src/core/lib/resource_quota/memory_quota.h" +#include "src/core/lib/slice/slice.h" +#include "src/core/lib/slice/slice_buffer.h" +#include "src/core/lib/slice/slice_internal.h" +#include "src/core/lib/transport/metadata_batch.h" +#include "src/core/lib/transport/promise_endpoint.h" +#include "src/core/lib/transport/transport.h" + +namespace grpc_core { +namespace chaotic_good { + +class ChaoticGoodServerTransport final : public Transport, + public ServerTransport { + public: + ChaoticGoodServerTransport( + const ChannelArgs& args, PromiseEndpoint control_endpoint, + PromiseEndpoint data_endpoint, + std::shared_ptr + event_engine, + HPackParser hpack_parser, HPackCompressor hpack_encoder); + ~ChaoticGoodServerTransport() override; + + FilterStackTransport* filter_stack_transport() override { return nullptr; } + ClientTransport* client_transport() override { return nullptr; } + ServerTransport* server_transport() override { return this; } + absl::string_view GetTransportName() const override { return "chaotic_good"; } + void SetPollset(grpc_stream*, grpc_pollset*) override {} + void SetPollsetSet(grpc_stream*, grpc_pollset_set*) override {} + void PerformOp(grpc_transport_op*) override; + grpc_endpoint* GetEndpoint() override { return nullptr; } + void Orphan() override { delete this; } + + void SetAcceptor(Acceptor* acceptor) override; + void AbortWithError(); + + private: + using StreamMap = absl::flat_hash_map; + + absl::Status NewStream(uint32_t stream_id, CallInitiator call_initiator); + absl::optional LookupStream(uint32_t stream_id); + absl::optional ExtractStream(uint32_t stream_id); + auto SendCallInitialMetadataAndBody(uint32_t stream_id, + MpscSender outgoing_frames, + CallInitiator call_initiator); + auto SendCallBody(uint32_t stream_id, MpscSender outgoing_frames, + CallInitiator call_initiator); + static auto SendFragment(ServerFragmentFrame frame, + MpscSender outgoing_frames); + auto CallOutboundLoop(uint32_t stream_id, CallInitiator call_initiator); + auto OnTransportActivityDone(absl::string_view activity); + auto TransportReadLoop(RefCountedPtr transport); + auto ReadOneFrame(ChaoticGoodTransport& transport); + auto TransportWriteLoop(RefCountedPtr transport); + // Read different parts of the server frame from control/data endpoints + // based on frame header. + // Resolves to a StatusOr> + auto ReadFrameBody(Slice read_buffer); + void SendCancel(uint32_t stream_id, absl::Status why); + auto DeserializeAndPushFragmentToNewCall(FrameHeader frame_header, + BufferPair buffers, + ChaoticGoodTransport& transport); + auto DeserializeAndPushFragmentToExistingCall( + FrameHeader frame_header, BufferPair buffers, + ChaoticGoodTransport& transport); + auto MaybePushFragmentIntoCall(absl::optional call_initiator, + absl::Status error, ClientFragmentFrame frame); + auto PushFragmentIntoCall(CallInitiator call_initiator, + ClientFragmentFrame frame); + + Acceptor* acceptor_ = nullptr; + InterActivityLatch got_acceptor_; + MpscReceiver outgoing_frames_; + // Assigned aligned bytes from setting frame. + size_t aligned_bytes_ = 64; + Mutex mu_; + // Map of stream incoming server frames, key is stream_id. + StreamMap stream_map_ ABSL_GUARDED_BY(mu_); + uint32_t last_seen_new_stream_id_ = 0; + grpc_event_engine::experimental::MemoryAllocator allocator_; + ActivityPtr writer_ ABSL_GUARDED_BY(mu_); + ActivityPtr reader_ ABSL_GUARDED_BY(mu_); + ConnectivityStateTracker state_tracker_ ABSL_GUARDED_BY(mu_){ + "chaotic_good_server", GRPC_CHANNEL_READY}; +}; + +} // namespace chaotic_good +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_SERVER_TRANSPORT_H \ No newline at end of file diff --git a/src/core/ext/transport/chaotic_good/settings_metadata.cc b/src/core/ext/transport/chaotic_good/settings_metadata.cc new file mode 100644 index 00000000000..6ce80294a96 --- /dev/null +++ b/src/core/ext/transport/chaotic_good/settings_metadata.cc @@ -0,0 +1,81 @@ +// Copyright 2024 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include + +#include "src/core/ext/transport/chaotic_good/settings_metadata.h" + +#include "absl/status/status.h" + +#include "src/core/lib/gprpp/crash.h" + +namespace grpc_core { +namespace chaotic_good { + +Arena::PoolPtr SettingsMetadata::ToMetadataBatch( + Arena* arena) { + auto md = Arena::MakePooled(arena); + auto add = [&md](absl::string_view key, std::string value) { + md->Append(key, Slice::FromCopiedString(value), + [key, value](absl::string_view error, const Slice&) { + Crash(absl::StrCat("Failed to add metadata '", key, "' = '", + value, "': ", error)); + }); + }; + if (connection_type.has_value()) { + add("chaotic-good-connection-type", + connection_type.value() == ConnectionType::kControl ? "control" + : "data"); + } + if (connection_id.has_value()) { + add("chaotic-good-connection-id", connection_id.value()); + } + if (alignment.has_value()) { + add("chaotic-good-alignment", absl::StrCat(alignment.value())); + } + return md; +} + +absl::StatusOr SettingsMetadata::FromMetadataBatch( + const grpc_metadata_batch& batch) { + SettingsMetadata md; + std::string buffer; + auto v = batch.GetStringValue("chaotic-good-connection-type", &buffer); + if (v.has_value()) { + if (*v == "control") { + md.connection_type = ConnectionType::kControl; + } else if (*v == "data") { + md.connection_type = ConnectionType::kData; + } else { + return absl::UnavailableError( + absl::StrCat("Invalid connection type: ", *v)); + } + } + v = batch.GetStringValue("chaotic-good-connection-id", &buffer); + if (v.has_value()) { + md.connection_id = std::string(*v); + } + v = batch.GetStringValue("chaotic-good-alignment", &buffer); + if (v.has_value()) { + uint32_t alignment; + if (!absl::SimpleAtoi(*v, &alignment)) { + return absl::UnavailableError(absl::StrCat("Invalid alignment: ", *v)); + } + md.alignment = alignment; + } + return md; +} + +} // namespace chaotic_good +} // namespace grpc_core diff --git a/src/core/ext/transport/chaotic_good/settings_metadata.h b/src/core/ext/transport/chaotic_good/settings_metadata.h new file mode 100644 index 00000000000..c038cbd93f2 --- /dev/null +++ b/src/core/ext/transport/chaotic_good/settings_metadata.h @@ -0,0 +1,46 @@ +// Copyright 2024 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_SETTINGS_METADATA_H +#define GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_SETTINGS_METADATA_H + +#include + +#include "absl/types/optional.h" + +#include "src/core/lib/resource_quota/arena.h" +#include "src/core/lib/transport/metadata_batch.h" + +namespace grpc_core { +namespace chaotic_good { + +// Captures metadata sent in a chaotic good settings frame. +struct SettingsMetadata { + enum class ConnectionType { + kControl, + kData, + }; + absl::optional connection_type; + absl::optional connection_id; + absl::optional alignment; + + Arena::PoolPtr ToMetadataBatch(Arena* arena); + static absl::StatusOr FromMetadataBatch( + const grpc_metadata_batch& batch); +}; + +} // namespace chaotic_good +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_EXT_TRANSPORT_CHAOTIC_GOOD_SETTINGS_METADATA_H diff --git a/src/core/ext/transport/chttp2/alpn/alpn.cc b/src/core/ext/transport/chttp2/alpn/alpn.cc index f02249c0b8a..be9c617a14f 100644 --- a/src/core/ext/transport/chttp2/alpn/alpn.cc +++ b/src/core/ext/transport/chttp2/alpn/alpn.cc @@ -25,12 +25,15 @@ #include "src/core/lib/gpr/useful.h" // in order of preference -static const char* const supported_versions[] = {"grpc-exp", "h2"}; +static const char* const supported_versions[] = {"h2"}; int grpc_chttp2_is_alpn_version_supported(const char* version, size_t size) { size_t i; for (i = 0; i < GPR_ARRAY_SIZE(supported_versions); i++) { - if (!strncmp(version, supported_versions[i], size)) return 1; + if (size == strlen(supported_versions[i]) && + !strncmp(version, supported_versions[i], size)) { + return 1; + } } return 0; } diff --git a/src/core/ext/transport/chttp2/client/chttp2_connector.cc b/src/core/ext/transport/chttp2/client/chttp2_connector.cc index e720ce52ddb..1d06bfc4cf1 100644 --- a/src/core/ext/transport/chttp2/client/chttp2_connector.cc +++ b/src/core/ext/transport/chttp2/client/chttp2_connector.cc @@ -22,7 +22,6 @@ #include -#include #include #include #include @@ -33,7 +32,6 @@ #include #include -#include #include #include #include @@ -41,10 +39,10 @@ #include #include -#include "src/core/ext/filters/client_channel/client_channel.h" -#include "src/core/ext/filters/client_channel/client_channel_factory.h" -#include "src/core/ext/filters/client_channel/connector.h" -#include "src/core/ext/filters/client_channel/subchannel.h" +#include "src/core/client_channel/client_channel_factory.h" +#include "src/core/client_channel/client_channel_filter.h" +#include "src/core/client_channel/connector.h" +#include "src/core/client_channel/subchannel.h" #include "src/core/ext/transport/chttp2/transport/chttp2_transport.h" #include "src/core/lib/address_utils/sockaddr_utils.h" #include "src/core/lib/channel/channel_args.h" @@ -61,7 +59,6 @@ #include "src/core/lib/iomgr/endpoint.h" #include "src/core/lib/iomgr/exec_ctx.h" #include "src/core/lib/iomgr/resolved_address.h" -#include "src/core/lib/resolver/resolver_registry.h" #include "src/core/lib/security/credentials/credentials.h" #include "src/core/lib/security/credentials/insecure/insecure_credentials.h" #include "src/core/lib/security/security_connector/security_connector.h" @@ -73,7 +70,7 @@ #include "src/core/lib/transport/handshaker_registry.h" #include "src/core/lib/transport/tcp_connect_handshaker.h" #include "src/core/lib/transport/transport.h" -#include "src/core/lib/transport/transport_fwd.h" +#include "src/core/resolver/resolver_registry.h" #ifdef GPR_SUPPORT_CHANNELS_FROM_FD @@ -180,9 +177,9 @@ void Chttp2Connector::OnHandshakeDone(void* arg, grpc_error_handle error) { grpc_chttp2_transport_start_reading(self->result_->transport, args->read_buffer, &self->on_receive_settings_, nullptr); - RefCountedPtr cc = self->Ref(); self->timer_handle_ = self->event_engine_->RunAfter( - self->args_.deadline - Timestamp::Now(), [self = std::move(cc)] { + self->args_.deadline - Timestamp::Now(), + [self = self->RefAsSubclass()] { ApplicationCallbackExecCtx callback_exec_ctx; ExecCtx exec_ctx; self->OnTimeout(); @@ -410,7 +407,7 @@ grpc_channel* grpc_channel_create_from_fd(const char* target, int fd, grpc_fd_create(fd, "client", true), grpc_event_engine::experimental::ChannelArgsEndpointConfig(final_args), "fd-client"); - grpc_transport* transport = + grpc_core::Transport* transport = grpc_create_chttp2_transport(final_args, client, true); GPR_ASSERT(transport); auto channel = grpc_core::Channel::Create( @@ -420,7 +417,7 @@ grpc_channel* grpc_channel_create_from_fd(const char* target, int fd, grpc_core::ExecCtx::Get()->Flush(); return channel->release()->c_ptr(); } else { - grpc_transport_destroy(transport); + transport->Orphan(); return grpc_lame_client_channel_create( target, static_cast(channel.status().code()), "Failed to create client channel"); diff --git a/src/core/ext/transport/chttp2/client/chttp2_connector.h b/src/core/ext/transport/chttp2/client/chttp2_connector.h index b6143b31fef..adf8d8f5c5c 100644 --- a/src/core/ext/transport/chttp2/client/chttp2_connector.h +++ b/src/core/ext/transport/chttp2/client/chttp2_connector.h @@ -26,7 +26,7 @@ #include -#include "src/core/ext/filters/client_channel/connector.h" +#include "src/core/client_channel/connector.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/gprpp/sync.h" #include "src/core/lib/iomgr/closure.h" diff --git a/src/core/ext/transport/chttp2/server/chttp2_server.cc b/src/core/ext/transport/chttp2/server/chttp2_server.cc index 700c81dcb77..dea28445a4f 100644 --- a/src/core/ext/transport/chttp2/server/chttp2_server.cc +++ b/src/core/ext/transport/chttp2/server/chttp2_server.cc @@ -24,7 +24,6 @@ #include #include -#include #include #include #include @@ -84,7 +83,6 @@ #include "src/core/lib/transport/handshaker.h" #include "src/core/lib/transport/handshaker_registry.h" #include "src/core/lib/transport/transport.h" -#include "src/core/lib/transport/transport_fwd.h" #include "src/core/lib/uri/uri_parser.h" #ifdef GPR_SUPPORT_CHANNELS_FROM_FD @@ -428,7 +426,7 @@ void Chttp2ServerListener::ActiveConnection::HandshakingState::OnTimeout() { grpc_transport_op* op = grpc_make_transport_op(nullptr); op->disconnect_with_error = GRPC_ERROR_CREATE( "Did not receive HTTP/2 settings before handshake timeout"); - grpc_transport_perform_op(&transport->base, op); + transport->PerformOp(op); } } @@ -456,7 +454,6 @@ void Chttp2ServerListener::ActiveConnection::HandshakingState::OnHandshakeDone( MutexLock connection_lock(&self->connection_->mu_); if (!error.ok() || self->connection_->shutdown_) { std::string error_str = StatusToString(error); - gpr_log(GPR_DEBUG, "Handshaking failed: %s", error_str.c_str()); cleanup_connection = true; if (error.ok() && args->endpoint != nullptr) { // We were shut down or stopped serving after handshaking completed @@ -475,7 +472,7 @@ void Chttp2ServerListener::ActiveConnection::HandshakingState::OnHandshakeDone( // handshaker may have handed off the connection to some external // code, so we can just clean up here without creating a transport. if (args->endpoint != nullptr) { - grpc_transport* transport = + Transport* transport = grpc_create_chttp2_transport(args->args, args->endpoint, false); grpc_error_handle channel_init_err = self->connection_->listener_->server_->SetupTransport( @@ -486,7 +483,7 @@ void Chttp2ServerListener::ActiveConnection::HandshakingState::OnHandshakeDone( // handshake deadline. // Note: The reinterpret_cast<>s here are safe, because // grpc_chttp2_transport is a C-style extension of - // grpc_transport, so this is morally equivalent of a + // Transport, so this is morally equivalent of a // static_cast<> to a derived class. // TODO(roth): Change to static_cast<> when we C++-ify the // transport API. @@ -525,7 +522,7 @@ void Chttp2ServerListener::ActiveConnection::HandshakingState::OnHandshakeDone( // Failed to create channel from transport. Clean up. gpr_log(GPR_ERROR, "Failed to create channel: %s", StatusToString(channel_init_err).c_str()); - grpc_transport_destroy(transport); + transport->Orphan(); grpc_slice_buffer_destroy(args->read_buffer); gpr_free(args->read_buffer); cleanup_connection = true; @@ -610,7 +607,7 @@ void Chttp2ServerListener::ActiveConnection::SendGoAway() { grpc_transport_op* op = grpc_make_transport_op(nullptr); op->goaway_error = GRPC_ERROR_CREATE("Server is stopping to serve requests."); - grpc_transport_perform_op(&transport->base, op); + transport->PerformOp(op); } } @@ -620,8 +617,17 @@ void Chttp2ServerListener::ActiveConnection::Start( RefCountedPtr handshaking_state_ref; listener_ = std::move(listener); { - MutexLock lock(&mu_); - if (shutdown_) return; + ReleasableMutexLock lock(&mu_); + if (shutdown_) { + lock.Release(); + // If the Connection is already shutdown at this point, it implies the + // owning Chttp2ServerListener and all associated ActiveConnections have + // been orphaned. The generated endpoints need to be shutdown here to + // ensure the tcp connections are closed appropriately. + grpc_endpoint_shutdown(endpoint, absl::OkStatus()); + grpc_endpoint_destroy(endpoint); + return; + } // Hold a ref to HandshakingState to allow starting the handshake outside // the critical region. handshaking_state_ref = handshaking_state_->Ref(); @@ -670,7 +676,7 @@ void Chttp2ServerListener::ActiveConnection::OnDrainGraceTimeExpiry() { grpc_transport_op* op = grpc_make_transport_op(nullptr); op->disconnect_with_error = GRPC_ERROR_CREATE( "Drain grace time expired. Closing connection immediately."); - grpc_transport_perform_op(&transport->base, op); + transport->PerformOp(op); } } @@ -825,22 +831,17 @@ void Chttp2ServerListener::OnAccept(void* arg, grpc_endpoint* tcp, absl::StatusOr args_result = connection_manager->UpdateChannelArgsForConnection(args, tcp); if (!args_result.ok()) { - gpr_log(GPR_DEBUG, "Closing connection: %s", - args_result.status().ToString().c_str()); endpoint_cleanup(GRPC_ERROR_CREATE(args_result.status().ToString())); return; } grpc_error_handle error; args = self->args_modifier_(*args_result, &error); if (!error.ok()) { - gpr_log(GPR_DEBUG, "Closing connection: %s", - StatusToString(error).c_str()); endpoint_cleanup(error); return; } } - auto memory_owner = self->memory_quota_->CreateMemoryOwner( - absl::StrCat(grpc_endpoint_get_peer(tcp), ":server_channel")); + auto memory_owner = self->memory_quota_->CreateMemoryOwner(); EventEngine* const event_engine = self->args_.GetObject(); auto connection = memory_owner.MakeOrphanable( accepting_pollset, acceptor, event_engine, args, std::move(memory_owner)); @@ -1081,7 +1082,7 @@ void grpc_server_add_channel_from_fd(grpc_server* server, int fd, grpc_fd_create(fd, name.c_str(), true), grpc_event_engine::experimental::ChannelArgsEndpointConfig(server_args), name); - grpc_transport* transport = grpc_create_chttp2_transport( + grpc_core::Transport* transport = grpc_create_chttp2_transport( server_args, server_endpoint, false // is_client ); grpc_error_handle error = @@ -1094,7 +1095,7 @@ void grpc_server_add_channel_from_fd(grpc_server* server, int fd, } else { gpr_log(GPR_ERROR, "Failed to create channel: %s", grpc_core::StatusToString(error).c_str()); - grpc_transport_destroy(transport); + transport->Orphan(); } } diff --git a/src/core/ext/transport/chttp2/transport/.clang-format b/src/core/ext/transport/chttp2/transport/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/src/core/ext/transport/chttp2/transport/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.cc b/src/core/ext/transport/chttp2/transport/chttp2_transport.cc index e68a65e6a54..9c767bdd07e 100644 --- a/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.cc @@ -20,11 +20,12 @@ #include #include -#include #include #include -#include +#include +#include +#include #include #include #include @@ -36,12 +37,14 @@ #include "absl/container/flat_hash_map.h" #include "absl/hash/hash.h" #include "absl/meta/type_traits.h" +#include "absl/random/random.h" #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "absl/strings/string_view.h" #include "absl/types/optional.h" +#include "absl/types/variant.h" #include #include @@ -63,15 +66,20 @@ #include "src/core/ext/transport/chttp2/transport/http_trace.h" #include "src/core/ext/transport/chttp2/transport/internal.h" #include "src/core/ext/transport/chttp2/transport/legacy_frame.h" +#include "src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h" #include "src/core/ext/transport/chttp2/transport/ping_abuse_policy.h" +#include "src/core/ext/transport/chttp2/transport/ping_callbacks.h" #include "src/core/ext/transport/chttp2/transport/ping_rate_policy.h" #include "src/core/ext/transport/chttp2/transport/varint.h" +#include "src/core/ext/transport/chttp2/transport/write_size_policy.h" #include "src/core/lib/channel/call_tracer.h" #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/context.h" +#include "src/core/lib/channel/tcp_tracer.h" #include "src/core/lib/debug/stats.h" #include "src/core/lib/debug/stats_data.h" #include "src/core/lib/experiments/experiments.h" +#include "src/core/lib/gpr/string.h" #include "src/core/lib/gpr/useful.h" #include "src/core/lib/gprpp/bitset.h" #include "src/core/lib/gprpp/crash.h" @@ -100,7 +108,6 @@ #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/status_conversion.h" #include "src/core/lib/transport/transport.h" -#include "src/core/lib/transport/transport_impl.h" #ifdef GRPC_POSIX_SOCKET_TCP #include "src/core/lib/iomgr/ev_posix.h" @@ -116,6 +123,9 @@ #define DEFAULT_MAX_PENDING_INDUCED_FRAMES 10000 +#define GRPC_ARG_HTTP2_PING_ON_RST_STREAM_PERCENT \ + "grpc.http2.ping_on_rst_stream_percent" + static grpc_core::Duration g_default_client_keepalive_time = grpc_core::Duration::Infinity(); static grpc_core::Duration g_default_client_keepalive_timeout = @@ -127,6 +137,11 @@ static grpc_core::Duration g_default_server_keepalive_timeout = static bool g_default_client_keepalive_permit_without_calls = false; static bool g_default_server_keepalive_permit_without_calls = false; +// EXPERIMENTAL: control tarpitting in chttp2 +#define GRPC_ARG_HTTP_ALLOW_TARPIT "grpc.http.tarpit" +#define GRPC_ARG_HTTP_TARPIT_MIN_DURATION_MS "grpc.http.tarpit_min_duration_ms" +#define GRPC_ARG_HTTP_TARPIT_MAX_DURATION_MS "grpc.http.tarpit_max_duration_ms" + #define MAX_CLIENT_STREAM_ID 0x7fffffffu grpc_core::TraceFlag grpc_keepalive_trace(false, "http_keepalive"); grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_refcount(false, @@ -148,12 +163,8 @@ static void read_action_locked(grpc_core::RefCountedPtr, static void continue_read_action_locked( grpc_core::RefCountedPtr t); -// Set a transport level setting, and push it to our peer -static void queue_setting_update(grpc_chttp2_transport* t, - grpc_chttp2_setting_id id, uint32_t value); - static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s, - grpc_error_handle error); + grpc_error_handle error, bool tarpit); // Start new streams that have been created if we can static void maybe_start_some_streams(grpc_chttp2_transport* t); @@ -202,30 +213,49 @@ static void init_keepalive_ping( static void init_keepalive_ping_locked( grpc_core::RefCountedPtr t, GRPC_UNUSED grpc_error_handle error); -static void start_keepalive_ping( - grpc_core::RefCountedPtr t, grpc_error_handle error); static void finish_keepalive_ping( grpc_core::RefCountedPtr t, grpc_error_handle error); -static void start_keepalive_ping_locked( - grpc_core::RefCountedPtr t, grpc_error_handle error); static void finish_keepalive_ping_locked( grpc_core::RefCountedPtr t, grpc_error_handle error); -static void keepalive_watchdog_fired( - grpc_core::RefCountedPtr t); -static void keepalive_watchdog_fired_locked( - grpc_core::RefCountedPtr t, - GRPC_UNUSED grpc_error_handle error); static void maybe_reset_keepalive_ping_timer_locked(grpc_chttp2_transport* t); +static void send_goaway(grpc_chttp2_transport* t, grpc_error_handle error, + bool immediate_disconnect_hint); + +// Timeout for getting an ack back on settings changes +#define GRPC_ARG_SETTINGS_TIMEOUT "grpc.http2.settings_timeout" + namespace { -grpc_core::CallTracerInterface* CallTracerIfEnabled(grpc_chttp2_stream* s) { + +using TaskHandle = ::grpc_event_engine::experimental::EventEngine::TaskHandle; + +grpc_core::CallTracerInterface* CallTracerIfSampled(grpc_chttp2_stream* s) { if (s->context == nullptr || !grpc_core::IsTraceRecordCallopsEnabled()) { return nullptr; } - return static_cast( + auto* call_tracer = static_cast( static_cast( s->context)[GRPC_CONTEXT_CALL_TRACER_ANNOTATION_INTERFACE] .value); + if (call_tracer == nullptr || !call_tracer->IsSampled()) { + return nullptr; + } + return call_tracer; +} + +std::shared_ptr TcpTracerIfSampled( + grpc_chttp2_stream* s) { + if (s->context == nullptr || !grpc_core::IsTraceRecordCallopsEnabled()) { + return nullptr; + } + auto* call_attempt_tracer = static_cast( + static_cast( + s->context)[GRPC_CONTEXT_CALL_TRACER] + .value); + if (call_attempt_tracer == nullptr || !call_attempt_tracer->IsSampled()) { + return nullptr; + } + return call_attempt_tracer->StartNewTcpTrace(); } grpc_core::WriteTimestampsCallback g_write_timestamps_callback = nullptr; @@ -308,6 +338,37 @@ void ForEachContextListEntryExecute(void* arg, Timestamps* ts, delete context_list; } +HttpAnnotation::HttpAnnotation(Type type, gpr_timespec time) + : CallTracerAnnotationInterface::Annotation( + CallTracerAnnotationInterface::AnnotationType::kHttpTransport), + type_(type), + time_(time) {} + +std::string HttpAnnotation::ToString() const { + std::string s = "HttpAnnotation type: "; + switch (type_) { + case Type::kStart: + absl::StrAppend(&s, "Start"); + break; + case Type::kHeadWritten: + absl::StrAppend(&s, "HeadWritten"); + break; + case Type::kEnd: + absl::StrAppend(&s, "End"); + break; + default: + absl::StrAppend(&s, "Unknown"); + } + absl::StrAppend(&s, " time: ", gpr_format_timespec(time_)); + if (transport_stats_.has_value()) { + absl::StrAppend(&s, " transport:[", transport_stats_->ToString(), "]"); + } + if (stream_stats_.has_value()) { + absl::StrAppend(&s, " stream:[", stream_stats_->ToString(), "]"); + } + return s; +} + } // namespace grpc_core // @@ -317,6 +378,8 @@ void ForEachContextListEntryExecute(void* arg, Timestamps* ts, grpc_chttp2_transport::~grpc_chttp2_transport() { size_t i; + cancel_pings(this, GRPC_ERROR_CREATE("Transport destroyed")); + event_engine.reset(); if (channelz_socket != nullptr) { @@ -327,8 +390,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() { grpc_slice_buffer_destroy(&qbuf); - grpc_slice_buffer_destroy(&outbuf); - grpc_error_handle error = GRPC_ERROR_CREATE("Transport destroyed"); // ContextList::Execute follows semantics of a callback function and does not // take a ref on error @@ -348,8 +409,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() { GPR_ASSERT(stream_map.empty()); GRPC_COMBINER_UNREF(combiner, "chttp2_transport"); - cancel_pings(this, GRPC_ERROR_CREATE("Transport destroyed")); - while (write_cb_pool) { grpc_chttp2_write_cb* next = write_cb_pool->next; gpr_free(write_cb_pool); @@ -362,8 +421,6 @@ grpc_chttp2_transport::~grpc_chttp2_transport() { } } -static const grpc_transport_vtable* get_vtable(void); - static void read_channel_args(grpc_chttp2_transport* t, const grpc_core::ChannelArgs& channel_args, bool is_client) { @@ -396,8 +453,16 @@ static void read_channel_args(grpc_chttp2_transport* t, t->keepalive_timeout = std::max( grpc_core::Duration::Zero(), channel_args.GetDurationFromIntMillis(GRPC_ARG_KEEPALIVE_TIMEOUT_MS) - .value_or(t->is_client ? g_default_client_keepalive_timeout - : g_default_server_keepalive_timeout)); + .value_or(t->keepalive_time == grpc_core::Duration::Infinity() + ? grpc_core::Duration::Infinity() + : (t->is_client ? g_default_client_keepalive_timeout + : g_default_server_keepalive_timeout))); + t->ping_timeout = std::max( + grpc_core::Duration::Zero(), + channel_args.GetDurationFromIntMillis(GRPC_ARG_PING_TIMEOUT_MS) + .value_or(t->keepalive_time == grpc_core::Duration::Infinity() + ? grpc_core::Duration::Infinity() + : grpc_core::Duration::Minutes(1))); if (t->is_client) { t->keepalive_permit_without_calls = channel_args.GetBool(GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS) @@ -412,6 +477,11 @@ static void read_channel_args(grpc_chttp2_transport* t, : false); } + t->settings_timeout = + channel_args.GetDurationFromIntMillis(GRPC_ARG_SETTINGS_TIMEOUT) + .value_or(std::max(t->keepalive_timeout * 2, + grpc_core::Duration::Minutes(1))); + // Only send the prefered rx frame size http2 setting if we are instructed // to auto size the buffers allocated at tcp level and we also can adjust // sending frame size. @@ -420,13 +490,22 @@ static void read_channel_args(grpc_chttp2_transport* t, .GetBool(GRPC_ARG_EXPERIMENTAL_HTTP2_PREFERRED_CRYPTO_FRAME_SIZE) .value_or(false); + const auto max_requests_per_read = + channel_args.GetInt("grpc.http2.max_requests_per_read"); + if (max_requests_per_read.has_value()) { + t->max_requests_per_read = + grpc_core::Clamp(*max_requests_per_read, 1, 10000); + } else { + t->max_requests_per_read = 32; + } + if (channel_args.GetBool(GRPC_ARG_ENABLE_CHANNELZ) .value_or(GRPC_ENABLE_CHANNELZ_DEFAULT)) { t->channelz_socket = grpc_core::MakeRefCounted( std::string(grpc_endpoint_get_local_address(t->ep)), std::string(t->peer_string.as_string_view()), - absl::StrCat(get_vtable()->name, " ", + absl::StrCat(t->GetTransportName(), " ", t->peer_string.as_string_view()), channel_args .GetObjectRef()); @@ -434,6 +513,19 @@ static void read_channel_args(grpc_chttp2_transport* t, t->ack_pings = channel_args.GetBool("grpc.http2.ack_pings").value_or(true); + t->allow_tarpit = + channel_args.GetBool(GRPC_ARG_HTTP_ALLOW_TARPIT).value_or(true); + t->min_tarpit_duration_ms = + channel_args + .GetDurationFromIntMillis(GRPC_ARG_HTTP_TARPIT_MIN_DURATION_MS) + .value_or(grpc_core::Duration::Milliseconds(100)) + .millis(); + t->max_tarpit_duration_ms = + channel_args + .GetDurationFromIntMillis(GRPC_ARG_HTTP_TARPIT_MAX_DURATION_MS) + .value_or(grpc_core::Duration::Seconds(1)) + .millis(); + const int soft_limit = channel_args.GetInt(GRPC_ARG_MAX_METADATA_SIZE).value_or(-1); if (soft_limit < 0) { @@ -449,90 +541,64 @@ static void read_channel_args(grpc_chttp2_transport* t, t->max_header_list_size_soft_limit = soft_limit; } - static const struct { - absl::string_view channel_arg_name; - grpc_chttp2_setting_id setting_id; - int default_value; - int min; - int max; - bool availability[2] /* server, client */; - } settings_map[] = {{GRPC_ARG_MAX_CONCURRENT_STREAMS, - GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS, - -1, - 0, - INT32_MAX, - {true, false}}, - {GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_DECODER, - GRPC_CHTTP2_SETTINGS_HEADER_TABLE_SIZE, - -1, - 0, - INT32_MAX, - {true, true}}, - {GRPC_ARG_ABSOLUTE_MAX_METADATA_SIZE, - GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE, - -1, - 0, - INT32_MAX, - {true, true}}, - {GRPC_ARG_HTTP2_MAX_FRAME_SIZE, - GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE, - -1, - 16384, - 16777215, - {true, true}}, - {GRPC_ARG_HTTP2_ENABLE_TRUE_BINARY, - GRPC_CHTTP2_SETTINGS_GRPC_ALLOW_TRUE_BINARY_METADATA, - 1, - 0, - 1, - {true, true}}, - {GRPC_ARG_HTTP2_STREAM_LOOKAHEAD_BYTES, - GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE, - -1, - 5, - INT32_MAX, - {true, true}}}; - - for (size_t i = 0; i < GPR_ARRAY_SIZE(settings_map); i++) { - const auto& setting = settings_map[i]; - if (setting.availability[is_client]) { - const int value = channel_args.GetInt(setting.channel_arg_name) - .value_or(setting.default_value); - if (value >= 0) { - queue_setting_update(t, setting.setting_id, - grpc_core::Clamp(value, setting.min, setting.max)); - } else if (setting.setting_id == - GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE) { - // Set value to 1.25 * soft limit if this is larger than - // `DEFAULT_MAX_HEADER_LIST_SIZE` and - // `GRPC_ARG_ABSOLUTE_MAX_METADATA_SIZE` is not set. - const int soft_limit = channel_args.GetInt(GRPC_ARG_MAX_METADATA_SIZE) - .value_or(setting.default_value); - const int value = (soft_limit >= 0 && soft_limit < (INT_MAX / 1.25)) - ? static_cast(soft_limit * 1.25) - : soft_limit; - if (value > DEFAULT_MAX_HEADER_LIST_SIZE) { - queue_setting_update( - t, setting.setting_id, - grpc_core::Clamp(value, setting.min, setting.max)); - } - } - } else if (channel_args.Contains(setting.channel_arg_name)) { - gpr_log(GPR_DEBUG, "%s is not available on %s", - std::string(setting.channel_arg_name).c_str(), - is_client ? "clients" : "servers"); + int value; + if (!is_client) { + value = channel_args.GetInt(GRPC_ARG_MAX_CONCURRENT_STREAMS).value_or(-1); + if (value >= 0) { + t->settings.mutable_local().SetMaxConcurrentStreams(value); + t->max_concurrent_streams_policy.SetTarget(value); } + } else if (channel_args.Contains(GRPC_ARG_MAX_CONCURRENT_STREAMS)) { + gpr_log(GPR_DEBUG, "%s is not available on clients", + GRPC_ARG_MAX_CONCURRENT_STREAMS); + } + value = + channel_args.GetInt(GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_DECODER).value_or(-1); + if (value >= 0) { + t->settings.mutable_local().SetHeaderTableSize(value); + } + value = channel_args.GetInt(GRPC_ARG_ABSOLUTE_MAX_METADATA_SIZE).value_or(-1); + if (value >= 0) { + t->settings.mutable_local().SetMaxHeaderListSize(value); + } else { + // Set value to 1.25 * soft limit if this is larger than + // `DEFAULT_MAX_HEADER_LIST_SIZE` and + // `GRPC_ARG_ABSOLUTE_MAX_METADATA_SIZE` is not set. + const int soft_limit = + channel_args.GetInt(GRPC_ARG_MAX_METADATA_SIZE).value_or(-1); + const int value = (soft_limit >= 0 && soft_limit < (INT_MAX / 1.25)) + ? static_cast(soft_limit * 1.25) + : soft_limit; + if (value > DEFAULT_MAX_HEADER_LIST_SIZE) { + t->settings.mutable_local().SetMaxHeaderListSize(value); + } + } + value = channel_args.GetInt(GRPC_ARG_HTTP2_MAX_FRAME_SIZE).value_or(-1); + if (value >= 0) { + t->settings.mutable_local().SetMaxFrameSize(value); + } + value = + channel_args.GetInt(GRPC_ARG_HTTP2_STREAM_LOOKAHEAD_BYTES).value_or(-1); + if (value >= 0) { + t->settings.mutable_local().SetInitialWindowSize(value); + } + value = channel_args.GetInt(GRPC_ARG_HTTP2_ENABLE_TRUE_BINARY).value_or(-1); + if (value >= 0) { + t->settings.mutable_local().SetAllowTrueBinaryMetadata(value != 0); } if (t->enable_preferred_rx_crypto_frame_advertisement) { - const grpc_chttp2_setting_parameters* sp = - &grpc_chttp2_settings_parameters - [GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE]; - queue_setting_update( - t, GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE, - grpc_core::Clamp(INT_MAX, static_cast(sp->min_value), - static_cast(sp->max_value))); + t->settings.mutable_local().SetPreferredReceiveCryptoMessageSize(INT_MAX); } + + t->ping_on_rst_stream_percent = grpc_core::Clamp( + channel_args.GetInt(GRPC_ARG_HTTP2_PING_ON_RST_STREAM_PERCENT) + .value_or(1), + 0, 100); + + t->max_concurrent_streams_overload_protection = + channel_args.GetBool(GRPC_ARG_MAX_CONCURRENT_STREAMS_OVERLOAD_PROTECTION) + .value_or(true); } static void init_keepalive_pings_if_enabled_locked( @@ -557,16 +623,17 @@ static void init_keepalive_pings_if_enabled_locked( grpc_chttp2_transport::grpc_chttp2_transport( const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep, bool is_client) - : refs(1, GRPC_TRACE_FLAG_ENABLED(grpc_trace_chttp2_refcount) - ? "chttp2_refcount" - : nullptr), + : grpc_core::RefCounted( + GRPC_TRACE_FLAG_ENABLED(grpc_trace_chttp2_refcount) + ? "chttp2_refcount" + : nullptr), ep(ep), peer_string( grpc_core::Slice::FromCopiedString(grpc_endpoint_get_peer(ep))), memory_owner(channel_args.GetObject() ->memory_quota() - ->CreateMemoryOwner(absl::StrCat( - grpc_endpoint_get_peer(ep), ":client_transport"))), + ->CreateMemoryOwner()), self_reservation( memory_owner.MakeReservation(sizeof(grpc_chttp2_transport))), event_engine( @@ -575,7 +642,6 @@ grpc_chttp2_transport::grpc_chttp2_transport( combiner(grpc_combiner_create(event_engine)), state_tracker(is_client ? "client_transport" : "server_transport", GRPC_CHANNEL_READY), - is_client(is_client), next_stream_id(is_client ? 1 : 2), ping_abuse_policy(channel_args), ping_rate_policy(channel_args, is_client), @@ -583,41 +649,36 @@ grpc_chttp2_transport::grpc_chttp2_transport( peer_string.as_string_view(), channel_args.GetBool(GRPC_ARG_HTTP2_BDP_PROBE).value_or(true), &memory_owner), - deframe_state(is_client ? GRPC_DTS_FH_0 : GRPC_DTS_CLIENT_PREFIX_0) { + deframe_state(is_client ? GRPC_DTS_FH_0 : GRPC_DTS_CLIENT_PREFIX_0), + is_client(is_client) { cl = new grpc_core::ContextList(); GPR_ASSERT(strlen(GRPC_CHTTP2_CLIENT_CONNECT_STRING) == GRPC_CHTTP2_CLIENT_CONNECT_STRLEN); - base.vtable = get_vtable(); grpc_slice_buffer_init(&read_buffer); - grpc_slice_buffer_init(&outbuf); if (is_client) { - grpc_slice_buffer_add(&outbuf, grpc_slice_from_copied_string( - GRPC_CHTTP2_CLIENT_CONNECT_STRING)); + grpc_slice_buffer_add( + outbuf.c_slice_buffer(), + grpc_slice_from_copied_string(GRPC_CHTTP2_CLIENT_CONNECT_STRING)); } grpc_slice_buffer_init(&qbuf); - // copy in initial settings to all setting sets - size_t i; - int j; - for (i = 0; i < GRPC_CHTTP2_NUM_SETTINGS; i++) { - for (j = 0; j < GRPC_NUM_SETTING_SETS; j++) { - settings[j][i] = grpc_chttp2_settings_parameters[i].default_value; - } - } grpc_chttp2_goaway_parser_init(&goaway_parser); // configure http2 the way we like it if (is_client) { - queue_setting_update(this, GRPC_CHTTP2_SETTINGS_ENABLE_PUSH, 0); - queue_setting_update(this, GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS, 0); + settings.mutable_local().SetEnablePush(false); + settings.mutable_local().SetMaxConcurrentStreams(0); } - queue_setting_update(this, GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE, - DEFAULT_MAX_HEADER_LIST_SIZE); - queue_setting_update(this, - GRPC_CHTTP2_SETTINGS_GRPC_ALLOW_TRUE_BINARY_METADATA, 1); + settings.mutable_local().SetMaxHeaderListSize(DEFAULT_MAX_HEADER_LIST_SIZE); + settings.mutable_local().SetAllowTrueBinaryMetadata(true); read_channel_args(this, channel_args, is_client); + // Initially allow *UP TO* MAX_CONCURRENT_STREAMS incoming before we start + // blanket cancelling them. + num_incoming_streams_before_settings_ack = + settings.local().max_concurrent_streams(); + grpc_core::ExecCtx exec_ctx; combiner->Run( grpc_core::InitTransportClosure( @@ -657,10 +718,9 @@ static void destroy_transport_locked(void* tp, grpc_error_handle /*error*/) { t->memory_owner.Reset(); } -static void destroy_transport(grpc_transport* gt) { - grpc_chttp2_transport* t = reinterpret_cast(gt); - t->combiner->Run(GRPC_CLOSURE_CREATE(destroy_transport_locked, t, nullptr), - absl::OkStatus()); +void grpc_chttp2_transport::Orphan() { + combiner->Run(GRPC_CLOSURE_CREATE(destroy_transport_locked, this, nullptr), + absl::OkStatus()); } static void close_transport_locked(grpc_chttp2_transport* t, @@ -686,34 +746,33 @@ static void close_transport_locked(grpc_chttp2_transport* t, t->closed_with_error = error; connectivity_state_set(t, GRPC_CHANNEL_SHUTDOWN, absl::Status(), "close_transport"); - if (t->delayed_ping_timer_handle.has_value()) { - if (t->event_engine->Cancel(*t->delayed_ping_timer_handle)) { - t->delayed_ping_timer_handle.reset(); - } + if (t->keepalive_ping_timeout_handle != TaskHandle::kInvalid) { + t->event_engine->Cancel(std::exchange(t->keepalive_ping_timeout_handle, + TaskHandle::kInvalid)); } - if (t->next_bdp_ping_timer_handle.has_value()) { - if (t->event_engine->Cancel(*t->next_bdp_ping_timer_handle)) { - t->next_bdp_ping_timer_handle.reset(); - } + if (t->settings_ack_watchdog != TaskHandle::kInvalid) { + t->event_engine->Cancel( + std::exchange(t->settings_ack_watchdog, TaskHandle::kInvalid)); + } + if (t->delayed_ping_timer_handle != TaskHandle::kInvalid && + t->event_engine->Cancel(t->delayed_ping_timer_handle)) { + t->delayed_ping_timer_handle = TaskHandle::kInvalid; + } + if (t->next_bdp_ping_timer_handle != TaskHandle::kInvalid && + t->event_engine->Cancel(t->next_bdp_ping_timer_handle)) { + t->next_bdp_ping_timer_handle = TaskHandle::kInvalid; } switch (t->keepalive_state) { case GRPC_CHTTP2_KEEPALIVE_STATE_WAITING: - if (t->keepalive_ping_timer_handle.has_value()) { - if (t->event_engine->Cancel(*t->keepalive_ping_timer_handle)) { - t->keepalive_ping_timer_handle.reset(); - } + if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid && + t->event_engine->Cancel(t->keepalive_ping_timer_handle)) { + t->keepalive_ping_timer_handle = TaskHandle::kInvalid; } break; case GRPC_CHTTP2_KEEPALIVE_STATE_PINGING: - if (t->keepalive_ping_timer_handle.has_value()) { - if (t->event_engine->Cancel(*t->keepalive_ping_timer_handle)) { - t->keepalive_ping_timer_handle.reset(); - } - } - if (t->keepalive_watchdog_timer_handle.has_value()) { - if (t->event_engine->Cancel(*t->keepalive_watchdog_timer_handle)) { - t->keepalive_watchdog_timer_handle.reset(); - } + if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid && + t->event_engine->Cancel(t->keepalive_ping_timer_handle)) { + t->keepalive_ping_timer_handle = TaskHandle::kInvalid; } break; case GRPC_CHTTP2_KEEPALIVE_STATE_DYING: @@ -777,6 +836,7 @@ grpc_chttp2_stream::grpc_chttp2_stream(grpc_chttp2_transport* t, initial_metadata_buffer(arena), trailing_metadata_buffer(arena), flow_control(&t->flow_control) { + t->streams_allocated.fetch_add(1, std::memory_order_relaxed); if (server_data) { id = static_cast(reinterpret_cast(server_data)); if (grpc_http_trace.enabled()) { @@ -793,6 +853,7 @@ grpc_chttp2_stream::grpc_chttp2_stream(grpc_chttp2_transport* t, } grpc_chttp2_stream::~grpc_chttp2_stream() { + t->streams_allocated.fetch_sub(1, std::memory_order_relaxed); grpc_chttp2_list_remove_stalled_by_stream(t.get(), this); grpc_chttp2_list_remove_stalled_by_transport(t.get(), this); @@ -828,12 +889,11 @@ grpc_chttp2_stream::~grpc_chttp2_stream() { grpc_core::ExecCtx::Run(DEBUG_LOCATION, destroy_stream_arg, absl::OkStatus()); } -static int init_stream(grpc_transport* gt, grpc_stream* gs, - grpc_stream_refcount* refcount, const void* server_data, - grpc_core::Arena* arena) { - grpc_chttp2_transport* t = reinterpret_cast(gt); - new (gs) grpc_chttp2_stream(t, refcount, server_data, arena); - return 0; +void grpc_chttp2_transport::InitStream(grpc_stream* gs, + grpc_stream_refcount* refcount, + const void* server_data, + grpc_core::Arena* arena) { + new (gs) grpc_chttp2_stream(this, refcount, server_data, arena); } static void destroy_stream_locked(void* sp, grpc_error_handle /*error*/) { @@ -841,13 +901,12 @@ static void destroy_stream_locked(void* sp, grpc_error_handle /*error*/) { s->~grpc_chttp2_stream(); } -static void destroy_stream(grpc_transport* gt, grpc_stream* gs, - grpc_closure* then_schedule_closure) { - grpc_chttp2_transport* t = reinterpret_cast(gt); +void grpc_chttp2_transport::DestroyStream(grpc_stream* gs, + grpc_closure* then_schedule_closure) { grpc_chttp2_stream* s = reinterpret_cast(gs); s->destroy_stream_arg = then_schedule_closure; - t->combiner->Run( + combiner->Run( GRPC_CLOSURE_INIT(&s->destroy_stream, destroy_stream_locked, s, nullptr), absl::OkStatus()); } @@ -860,7 +919,7 @@ grpc_chttp2_stream* grpc_chttp2_parsing_accept_stream(grpc_chttp2_transport* t, grpc_chttp2_stream* accepting = nullptr; GPR_ASSERT(t->accepting_stream == nullptr); t->accepting_stream = &accepting; - t->accept_stream_cb(t->accept_stream_cb_user_data, &t->base, + t->accept_stream_cb(t->accept_stream_cb_user_data, t, reinterpret_cast(id)); t->accepting_stream = nullptr; return accepting; @@ -1008,15 +1067,18 @@ static void write_action(grpc_chttp2_transport* t) { // Choose max_frame_size as the prefered rx crypto frame size indicated by the // peer. int max_frame_size = - t->settings - [GRPC_PEER_SETTINGS] - [GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE]; + t->settings.peer().preferred_receive_crypto_message_size(); // Note: max frame size is 0 if the remote peer does not support adjusting the // sending frame size. if (max_frame_size == 0) { max_frame_size = INT_MAX; } - grpc_endpoint_write(t->ep, &t->outbuf, + if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace)) { + gpr_log(GPR_INFO, "%s[%p]: Write %" PRIdPTR " bytes", + t->is_client ? "CLIENT" : "SERVER", t, t->outbuf.Length()); + } + t->write_size_policy.BeginWrite(t->outbuf.Length()); + grpc_endpoint_write(t->ep, t->outbuf.c_slice_buffer(), grpc_core::InitTransportClosure( t->Ref(), &t->write_action_end_locked), cl, max_frame_size); @@ -1025,6 +1087,10 @@ static void write_action(grpc_chttp2_transport* t) { static void write_action_end(grpc_core::RefCountedPtr t, grpc_error_handle error) { auto* tp = t.get(); + if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace)) { + gpr_log(GPR_INFO, "%s[%p]: Finish write", + t->is_client ? "CLIENT" : "SERVER", t.get()); + } tp->combiner->Run(grpc_core::InitTransportClosure( std::move(t), &tp->write_action_end_locked), error); @@ -1035,6 +1101,8 @@ static void write_action_end(grpc_core::RefCountedPtr t, static void write_action_end_locked( grpc_core::RefCountedPtr t, grpc_error_handle error) { + t->write_size_policy.EndWrite(error.ok()); + bool closed = false; if (!error.ok()) { close_transport_locked(t.get(), error); @@ -1076,32 +1144,15 @@ static void write_action_end_locked( grpc_chttp2_end_write(t.get(), error); } -// Dirties an HTTP2 setting to be sent out next time a writing path occurs. -// If the change needs to occur immediately, manually initiate a write. -static void queue_setting_update(grpc_chttp2_transport* t, - grpc_chttp2_setting_id id, uint32_t value) { - const grpc_chttp2_setting_parameters* sp = - &grpc_chttp2_settings_parameters[id]; - uint32_t use_value = grpc_core::Clamp(value, sp->min_value, sp->max_value); - if (use_value != value) { - gpr_log(GPR_INFO, "Requested parameter %s clamped from %d to %d", sp->name, - value, use_value); - } - if (use_value != t->settings[GRPC_LOCAL_SETTINGS][id]) { - t->settings[GRPC_LOCAL_SETTINGS][id] = use_value; - t->dirtied_local_settings = true; - } -} - // Cancel out streams that haven't yet started if we have received a GOAWAY static void cancel_unstarted_streams(grpc_chttp2_transport* t, - grpc_error_handle error) { + grpc_error_handle error, bool tarpit) { grpc_chttp2_stream* s; while (grpc_chttp2_list_pop_waiting_for_concurrency(t, &s)) { s->trailing_metadata_buffer.Set( grpc_core::GrpcStreamNetworkState(), grpc_core::GrpcStreamNetworkState::kNotSentOnWire); - grpc_chttp2_cancel_stream(t, s, error); + grpc_chttp2_cancel_stream(t, s, error, tarpit); } } @@ -1134,7 +1185,7 @@ void grpc_chttp2_add_incoming_goaway(grpc_chttp2_transport* t, grpc_core::StatusToString(t->goaway_error).c_str()); } if (t->is_client) { - cancel_unstarted_streams(t, t->goaway_error); + cancel_unstarted_streams(t, t->goaway_error, false); // Cancel all unseen streams std::vector to_cancel; for (auto id_stream : t->stream_map) { @@ -1146,7 +1197,7 @@ void grpc_chttp2_add_incoming_goaway(grpc_chttp2_transport* t, s->trailing_metadata_buffer.Set( grpc_core::GrpcStreamNetworkState(), grpc_core::GrpcStreamNetworkState::kNotSeenByServer); - grpc_chttp2_cancel_stream(s->t.get(), s, s->t->goaway_error); + grpc_chttp2_cancel_stream(s->t.get(), s, s->t->goaway_error, false); } } absl::Status status = grpc_error_to_absl_status(t->goaway_error); @@ -1185,15 +1236,13 @@ static void maybe_start_some_streams(grpc_chttp2_transport* t) { // maybe cancel out streams that haven't yet started if we have received a // GOAWAY if (!t->goaway_error.ok()) { - cancel_unstarted_streams(t, t->goaway_error); + cancel_unstarted_streams(t, t->goaway_error, false); return; } // start streams where we have free grpc_chttp2_stream ids and free // * concurrency while (t->next_stream_id <= MAX_CLIENT_STREAM_ID && - t->stream_map.size() < - t->settings[GRPC_PEER_SETTINGS] - [GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS] && + t->stream_map.size() < t->settings.peer().max_concurrent_streams() && grpc_chttp2_list_pop_waiting_for_concurrency(t, &s)) { // safe since we can't (legally) be parsing this stream yet GRPC_CHTTP2_IF_TRACING(gpr_log( @@ -1227,7 +1276,8 @@ static void maybe_start_some_streams(grpc_chttp2_transport* t) { t, s, grpc_error_set_int(GRPC_ERROR_CREATE("Stream IDs exhausted"), grpc_core::StatusIntProperty::kRpcStatus, - GRPC_STATUS_UNAVAILABLE)); + GRPC_STATUS_UNAVAILABLE), + false); } } } @@ -1250,7 +1300,6 @@ static void null_then_sched_closure(grpc_closure** closure) { } void grpc_chttp2_complete_closure_step(grpc_chttp2_transport* t, - grpc_chttp2_stream* s, grpc_closure** pclosure, grpc_error_handle error, const char* desc, @@ -1275,13 +1324,6 @@ void grpc_chttp2_complete_closure_step(grpc_chttp2_transport* t, write_state_name(t->write_state), whence.file(), whence.line()); } - auto* tracer = CallTracerIfEnabled(s); - if (tracer != nullptr) { - tracer->RecordAnnotation( - absl::StrFormat("on_complete: s=%p %p desc=%s err=%s", s, closure, desc, - grpc_core::StatusToString(error).c_str())); - } - if (!error.ok()) { grpc_error_handle cl_err = grpc_core::internal::StatusMoveFromHeapPtr(closure->error_data.error); @@ -1339,6 +1381,8 @@ static void perform_stream_op_locked(void* stream_op, s->context = op->payload->context; s->traced = op->is_traced; + s->call_tracer = CallTracerIfSampled(s); + s->tcp_tracer = TcpTracerIfSampled(s); if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) { gpr_log(GPR_INFO, "perform_stream_op_locked[s=%p; op=%p]: %s; on_complete = %p", s, @@ -1354,14 +1398,6 @@ static void perform_stream_op_locked(void* stream_op, } } - auto* tracer = CallTracerIfEnabled(s); - if (tracer != nullptr) { - tracer->RecordAnnotation(absl::StrFormat( - "perform_stream_op_locked[s=%p; op=%p]: %s; on_complete = %p", s, op, - grpc_transport_stream_op_batch_string(op, true).c_str(), - op->on_complete)); - } - grpc_closure* on_complete = op->on_complete; // on_complete will be null if and only if there are no send ops in the batch. if (on_complete != nullptr) { @@ -1372,10 +1408,18 @@ static void perform_stream_op_locked(void* stream_op, } if (op->cancel_stream) { - grpc_chttp2_cancel_stream(t, s, op_payload->cancel_stream.cancel_error); + grpc_chttp2_cancel_stream(t, s, op_payload->cancel_stream.cancel_error, + op_payload->cancel_stream.tarpit); } if (op->send_initial_metadata) { + if (s->call_tracer) { + s->call_tracer->RecordAnnotation( + grpc_core::HttpAnnotation(grpc_core::HttpAnnotation::Type::kStart, + gpr_now(GPR_CLOCK_REALTIME)) + .Add(s->t->flow_control.stats()) + .Add(s->flow_control.stats())); + } if (t->is_client && t->channelz_socket != nullptr) { t->channelz_socket->RecordStreamStartedFromLocal(); } @@ -1410,7 +1454,8 @@ static void perform_stream_op_locked(void* stream_op, GRPC_ERROR_CREATE_REFERENCING("Transport closed", &t->closed_with_error, 1), grpc_core::StatusIntProperty::kRpcStatus, - GRPC_STATUS_UNAVAILABLE)); + GRPC_STATUS_UNAVAILABLE), + false); } } else { GPR_ASSERT(s->id != 0); @@ -1424,7 +1469,7 @@ static void perform_stream_op_locked(void* stream_op, } else { s->send_initial_metadata = nullptr; grpc_chttp2_complete_closure_step( - t, s, &s->send_initial_metadata_finished, + t, &s->send_initial_metadata_finished, GRPC_ERROR_CREATE_REFERENCING( "Attempt to send initial metadata after stream was closed", &s->write_closed_error, 1), @@ -1444,7 +1489,7 @@ static void perform_stream_op_locked(void* stream_op, // We should NOT return an error here, so as to avoid a cancel OP being // started. The surface layer will notice that the stream has been closed // for writes and fail the send message op. - grpc_chttp2_complete_closure_step(t, s, &s->send_message_finished, + grpc_chttp2_complete_closure_step(t, &s->send_message_finished, absl::OkStatus(), "fetching_send_message_finished"); } else { @@ -1457,6 +1502,11 @@ static void perform_stream_op_locked(void* stream_op, frame_hdr[3] = static_cast(len >> 8); frame_hdr[4] = static_cast(len); + if (grpc_core::IsHttp2StatsFixEnabled()) { + s->stats.outgoing.framing_bytes += GRPC_HEADER_SIZE_IN_BYTES; + s->stats.outgoing.data_bytes += + op_payload->send_message.send_message->Length(); + } s->next_message_end_offset = s->flow_controlled_bytes_written + static_cast(s->flow_controlled_buffer.length) + @@ -1479,7 +1529,7 @@ static void perform_stream_op_locked(void* stream_op, int64_t notify_offset = s->next_message_end_offset; if (notify_offset <= s->flow_controlled_bytes_written) { - grpc_chttp2_complete_closure_step(t, s, &s->send_message_finished, + grpc_chttp2_complete_closure_step(t, &s->send_message_finished, absl::OkStatus(), "fetching_send_message_finished"); } else { @@ -1523,7 +1573,7 @@ static void perform_stream_op_locked(void* stream_op, s->send_trailing_metadata = nullptr; s->sent_trailing_metadata_op = nullptr; grpc_chttp2_complete_closure_step( - t, s, &s->send_trailing_metadata_finished, + t, &s->send_trailing_metadata_finished, op->payload->send_trailing_metadata.send_trailing_metadata->empty() ? absl::OkStatus() : GRPC_ERROR_CREATE("Attempt to send trailing metadata after " @@ -1576,19 +1626,18 @@ static void perform_stream_op_locked(void* stream_op, } if (on_complete != nullptr) { - grpc_chttp2_complete_closure_step(t, s, &on_complete, absl::OkStatus(), + grpc_chttp2_complete_closure_step(t, &on_complete, absl::OkStatus(), "op->on_complete"); } GRPC_CHTTP2_STREAM_UNREF(s, "perform_stream_op"); } -static void perform_stream_op(grpc_transport* gt, grpc_stream* gs, - grpc_transport_stream_op_batch* op) { - grpc_chttp2_transport* t = reinterpret_cast(gt); +void grpc_chttp2_transport::PerformStreamOp( + grpc_stream* gs, grpc_transport_stream_op_batch* op) { grpc_chttp2_stream* s = reinterpret_cast(gs); - if (!t->is_client) { + if (!is_client) { if (op->send_initial_metadata) { GPR_ASSERT(!op->payload->send_initial_metadata.send_initial_metadata ->get(grpc_core::GrpcTimeoutMetadata()) @@ -1608,9 +1657,9 @@ static void perform_stream_op(grpc_transport* gt, grpc_stream* gs, GRPC_CHTTP2_STREAM_REF(s, "perform_stream_op"); op->handler_private.extra_arg = gs; - t->combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure, - perform_stream_op_locked, op, nullptr), - absl::OkStatus()); + combiner->Run(GRPC_CLOSURE_INIT(&op->handler_private.closure, + perform_stream_op_locked, op, nullptr), + absl::OkStatus()); } static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error) { @@ -1618,14 +1667,38 @@ static void cancel_pings(grpc_chttp2_transport* t, grpc_error_handle error) { grpc_core::StatusToString(error).c_str())); // callback remaining pings: they're not allowed to call into the transport, // and maybe they hold resources that need to be freed - grpc_chttp2_ping_queue* pq = &t->ping_queue; - GPR_ASSERT(!error.ok()); - for (size_t j = 0; j < GRPC_CHTTP2_PCL_COUNT; j++) { - grpc_closure_list_fail_all(&pq->lists[j], error); - grpc_core::ExecCtx::RunList(DEBUG_LOCATION, &pq->lists[j]); - } + t->ping_callbacks.CancelAll(t->event_engine.get()); } +namespace { +class PingClosureWrapper { + public: + explicit PingClosureWrapper(grpc_closure* closure) : closure_(closure) {} + PingClosureWrapper(const PingClosureWrapper&) = delete; + PingClosureWrapper& operator=(const PingClosureWrapper&) = delete; + PingClosureWrapper(PingClosureWrapper&& other) noexcept + : closure_(other.Take()) {} + PingClosureWrapper& operator=(PingClosureWrapper&& other) noexcept { + std::swap(closure_, other.closure_); + return *this; + } + ~PingClosureWrapper() { + if (closure_ != nullptr) { + grpc_core::ExecCtx::Run(DEBUG_LOCATION, closure_, absl::CancelledError()); + } + } + + void operator()() { + grpc_core::ExecCtx::Run(DEBUG_LOCATION, Take(), absl::OkStatus()); + } + + private: + grpc_closure* Take() { return std::exchange(closure_, nullptr); } + + grpc_closure* closure_ = nullptr; +}; +} // namespace + static void send_ping_locked(grpc_chttp2_transport* t, grpc_closure* on_initiate, grpc_closure* on_ack) { if (!t->closed_with_error.ok()) { @@ -1633,11 +1706,8 @@ static void send_ping_locked(grpc_chttp2_transport* t, grpc_core::ExecCtx::Run(DEBUG_LOCATION, on_ack, t->closed_with_error); return; } - grpc_chttp2_ping_queue* pq = &t->ping_queue; - grpc_closure_list_append(&pq->lists[GRPC_CHTTP2_PCL_INITIATE], on_initiate, - absl::OkStatus()); - grpc_closure_list_append(&pq->lists[GRPC_CHTTP2_PCL_NEXT], on_ack, - absl::OkStatus()); + t->ping_callbacks.OnPing(PingClosureWrapper(on_initiate), + PingClosureWrapper(on_ack)); } // Specialized form of send_ping_locked for keepalive ping. If there is already @@ -1646,40 +1716,15 @@ static void send_ping_locked(grpc_chttp2_transport* t, static void send_keepalive_ping_locked( grpc_core::RefCountedPtr t) { if (!t->closed_with_error.ok()) { - t->combiner->Run( - grpc_core::InitTransportClosure( - t->Ref(), &t->start_keepalive_ping_locked), - t->closed_with_error); t->combiner->Run( grpc_core::InitTransportClosure( t->Ref(), &t->finish_keepalive_ping_locked), t->closed_with_error); return; } - grpc_chttp2_ping_queue* pq = &t->ping_queue; - if (!grpc_closure_list_empty(pq->lists[GRPC_CHTTP2_PCL_INFLIGHT])) { - // There is a ping in flight. Add yourself to the inflight closure list. - t->combiner->Run( - grpc_core::InitTransportClosure( - t->Ref(), &t->start_keepalive_ping_locked), - t->closed_with_error); - grpc_closure_list_append( - &pq->lists[GRPC_CHTTP2_PCL_INFLIGHT], - grpc_core::InitTransportClosure( - t->Ref(), &t->finish_keepalive_ping_locked), - absl::OkStatus()); - return; - } - grpc_closure_list_append( - &pq->lists[GRPC_CHTTP2_PCL_INITIATE], - grpc_core::InitTransportClosure( - t->Ref(), &t->start_keepalive_ping_locked), - absl::OkStatus()); - grpc_closure_list_append( - &pq->lists[GRPC_CHTTP2_PCL_NEXT], - grpc_core::InitTransportClosure( - t->Ref(), &t->finish_keepalive_ping_locked), - absl::OkStatus()); + t->ping_callbacks.OnPingAck( + PingClosureWrapper(grpc_core::InitTransportClosure( + t->Ref(), &t->finish_keepalive_ping_locked))); } void grpc_chttp2_retry_initiate_ping( @@ -1694,26 +1739,86 @@ static void retry_initiate_ping_locked( grpc_core::RefCountedPtr t, GRPC_UNUSED grpc_error_handle error) { GPR_DEBUG_ASSERT(error.ok()); - GPR_ASSERT(t->delayed_ping_timer_handle.has_value()); - t->delayed_ping_timer_handle.reset(); + GPR_ASSERT(t->delayed_ping_timer_handle != TaskHandle::kInvalid); + t->delayed_ping_timer_handle = TaskHandle::kInvalid; grpc_chttp2_initiate_write(t.get(), GRPC_CHTTP2_INITIATE_WRITE_RETRY_SEND_PING); } void grpc_chttp2_ack_ping(grpc_chttp2_transport* t, uint64_t id) { - grpc_chttp2_ping_queue* pq = &t->ping_queue; - if (pq->inflight_id != id) { + if (!t->ping_callbacks.AckPing(id, t->event_engine.get())) { gpr_log(GPR_DEBUG, "Unknown ping response from %s: %" PRIx64, std::string(t->peer_string.as_string_view()).c_str(), id); return; } - grpc_core::ExecCtx::RunList(DEBUG_LOCATION, - &pq->lists[GRPC_CHTTP2_PCL_INFLIGHT]); - if (!grpc_closure_list_empty(pq->lists[GRPC_CHTTP2_PCL_NEXT])) { + if (t->ping_callbacks.ping_requested()) { grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_CONTINUE_PINGS); } } +void grpc_chttp2_keepalive_timeout( + grpc_core::RefCountedPtr t) { + t->combiner->Run( + grpc_core::NewClosure([t](grpc_error_handle) { + gpr_log(GPR_INFO, "%s: Keepalive timeout. Closing transport.", + std::string(t->peer_string.as_string_view()).c_str()); + send_goaway( + t.get(), + grpc_error_set_int(GRPC_ERROR_CREATE("keepalive_timeout"), + grpc_core::StatusIntProperty::kHttp2Error, + GRPC_HTTP2_ENHANCE_YOUR_CALM), + /*immediate_disconnect_hint=*/true); + close_transport_locked( + t.get(), + grpc_error_set_int(GRPC_ERROR_CREATE("keepalive timeout"), + grpc_core::StatusIntProperty::kRpcStatus, + GRPC_STATUS_UNAVAILABLE)); + }), + absl::OkStatus()); +} + +void grpc_chttp2_ping_timeout( + grpc_core::RefCountedPtr t) { + t->combiner->Run( + grpc_core::NewClosure([t](grpc_error_handle) { + gpr_log(GPR_INFO, "%s: Ping timeout. Closing transport.", + std::string(t->peer_string.as_string_view()).c_str()); + send_goaway( + t.get(), + grpc_error_set_int(GRPC_ERROR_CREATE("ping_timeout"), + grpc_core::StatusIntProperty::kHttp2Error, + GRPC_HTTP2_ENHANCE_YOUR_CALM), + /*immediate_disconnect_hint=*/true); + close_transport_locked( + t.get(), + grpc_error_set_int(GRPC_ERROR_CREATE("ping timeout"), + grpc_core::StatusIntProperty::kRpcStatus, + GRPC_STATUS_UNAVAILABLE)); + }), + absl::OkStatus()); +} + +void grpc_chttp2_settings_timeout( + grpc_core::RefCountedPtr t) { + t->combiner->Run( + grpc_core::NewClosure([t](grpc_error_handle) { + gpr_log(GPR_INFO, "%s: Settings timeout. Closing transport.", + std::string(t->peer_string.as_string_view()).c_str()); + send_goaway( + t.get(), + grpc_error_set_int(GRPC_ERROR_CREATE("settings_timeout"), + grpc_core::StatusIntProperty::kHttp2Error, + GRPC_HTTP2_SETTINGS_TIMEOUT), + /*immediate_disconnect_hint=*/true); + close_transport_locked( + t.get(), + grpc_error_set_int(GRPC_ERROR_CREATE("settings timeout"), + grpc_core::StatusIntProperty::kRpcStatus, + GRPC_STATUS_UNAVAILABLE)); + }), + absl::OkStatus()); +} + namespace { // Fire and forget (deletes itself on completion). Does a graceful shutdown by @@ -1733,20 +1838,13 @@ class GracefulGoaway : public grpc_core::RefCounted { explicit GracefulGoaway(grpc_chttp2_transport* t) : t_(t->Ref()) { t->sent_goaway_state = GRPC_CHTTP2_GRACEFUL_GOAWAY; grpc_chttp2_goaway_append((1u << 31) - 1, 0, grpc_empty_slice(), &t->qbuf); + t->keepalive_timeout = + std::min(t->keepalive_timeout, grpc_core::Duration::Seconds(20)); + t->ping_timeout = + std::min(t->ping_timeout, grpc_core::Duration::Seconds(20)); send_ping_locked( t, nullptr, GRPC_CLOSURE_INIT(&on_ping_ack_, OnPingAck, this, nullptr)); grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_GOAWAY_SENT); - timer_handle_ = t_->event_engine->RunAfter( - grpc_core::Duration::Seconds(20), - [self = Ref(DEBUG_LOCATION, "GoawayTimer")]() mutable { - grpc_core::ApplicationCallbackExecCtx callback_exec_ctx; - grpc_core::ExecCtx exec_ctx; - // The ref will be unreffed in the combiner. - auto* ptr = self.release(); - ptr->t_->combiner->Run( - GRPC_CLOSURE_INIT(&ptr->on_timer_, OnTimerLocked, ptr, nullptr), - absl::OkStatus()); - }); } void MaybeSendFinalGoawayLocked() { @@ -1787,26 +1885,12 @@ class GracefulGoaway : public grpc_core::RefCounted { static void OnPingAckLocked(void* arg, grpc_error_handle /* error */) { auto* self = static_cast(arg); - if (self->timer_handle_ != TaskHandle::kInvalid) { - self->t_->event_engine->Cancel( - std::exchange(self->timer_handle_, TaskHandle::kInvalid)); - } - self->MaybeSendFinalGoawayLocked(); - self->Unref(); - } - - static void OnTimerLocked(void* arg, grpc_error_handle /* error */) { - auto* self = static_cast(arg); - // Clearing the handle since the timer has fired and the handle is invalid. - self->timer_handle_ = TaskHandle::kInvalid; self->MaybeSendFinalGoawayLocked(); self->Unref(); } const grpc_core::RefCountedPtr t_; grpc_closure on_ping_ack_; - TaskHandle timer_handle_ = TaskHandle::kInvalid; - grpc_closure on_timer_; }; } // namespace @@ -1909,14 +1993,13 @@ static void perform_transport_op_locked(void* stream_op, grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus()); } -static void perform_transport_op(grpc_transport* gt, grpc_transport_op* op) { - grpc_chttp2_transport* t = reinterpret_cast(gt); +void grpc_chttp2_transport::PerformOp(grpc_transport_op* op) { if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) { - gpr_log(GPR_INFO, "perform_transport_op[t=%p]: %s", t, + gpr_log(GPR_INFO, "perform_transport_op[t=%p]: %s", this, grpc_transport_op_string(op).c_str()); } - op->handler_private.extra_arg = gt; - t->Ref().release()->combiner->Run( + op->handler_private.extra_arg = this; + Ref().release()->combiner->Run( GRPC_CLOSURE_INIT(&op->handler_private.closure, perform_transport_op_locked, op, nullptr), absl::OkStatus()); @@ -2059,8 +2142,8 @@ void grpc_chttp2_maybe_complete_recv_trailing_metadata(grpc_chttp2_transport* t, } } -static void remove_stream(grpc_chttp2_transport* t, uint32_t id, - grpc_error_handle error) { +static grpc_chttp2_transport::RemovedStreamHandle remove_stream( + grpc_chttp2_transport* t, uint32_t id, grpc_error_handle error) { grpc_chttp2_stream* s = t->stream_map.extract(id).mapped(); GPR_DEBUG_ASSERT(s); if (t->incoming_stream == s) { @@ -2083,29 +2166,74 @@ static void remove_stream(grpc_chttp2_transport* t, uint32_t id, grpc_chttp2_list_remove_stalled_by_transport(t, s); maybe_start_some_streams(t); + + if (t->is_client) return grpc_chttp2_transport::RemovedStreamHandle(); + return grpc_chttp2_transport::RemovedStreamHandle(t->Ref()); } +namespace grpc_core { +namespace { + +Duration TarpitDuration(grpc_chttp2_transport* t) { + return Duration::Milliseconds(absl::LogUniform( + absl::BitGen(), t->min_tarpit_duration_ms, t->max_tarpit_duration_ms)); +} + +template +void MaybeTarpit(grpc_chttp2_transport* t, bool tarpit, F fn) { + if (!tarpit || !t->allow_tarpit || t->is_client) { + fn(t); + return; + } + const auto duration = TarpitDuration(t); + t->event_engine->RunAfter( + duration, [t = t->Ref(), fn = std::move(fn)]() mutable { + ApplicationCallbackExecCtx app_exec_ctx; + ExecCtx exec_ctx; + t->combiner->Run( + NewClosure([t, fn = std::move(fn)](grpc_error_handle) mutable { + // TODO(ctiller): this can result in not sending RST_STREAMS if a + // request gets tarpit behind a transport close. + if (!t->closed_with_error.ok()) return; + fn(t.get()); + }), + absl::OkStatus()); + }); +} + +} // namespace +} // namespace grpc_core + void grpc_chttp2_cancel_stream(grpc_chttp2_transport* t, grpc_chttp2_stream* s, - grpc_error_handle due_to_error) { + grpc_error_handle due_to_error, bool tarpit) { if (!t->is_client && !s->sent_trailing_metadata && - grpc_error_has_clear_grpc_status(due_to_error)) { - close_from_api(t, s, due_to_error); + grpc_error_has_clear_grpc_status(due_to_error) && + !(s->read_closed && s->write_closed)) { + close_from_api(t, s, due_to_error, tarpit); return; } + if (!due_to_error.ok() && !s->seen_error) { + s->seen_error = true; + } if (!s->read_closed || !s->write_closed) { if (s->id != 0) { grpc_http2_error_code http_error; grpc_error_get_status(due_to_error, s->deadline, nullptr, nullptr, &http_error, nullptr); - grpc_chttp2_add_rst_stream_to_next_write( - t, s->id, static_cast(http_error), &s->stats.outgoing); - grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM); + grpc_core::MaybeTarpit( + t, tarpit, + [id = s->id, http_error, + remove_stream_handle = grpc_chttp2_mark_stream_closed( + t, s, 1, 1, due_to_error)](grpc_chttp2_transport* t) { + grpc_chttp2_add_rst_stream_to_next_write( + t, id, static_cast(http_error), nullptr); + grpc_chttp2_initiate_write(t, + GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM); + }); + return; } } - if (!due_to_error.ok() && !s->seen_error) { - s->seen_error = true; - } grpc_chttp2_mark_stream_closed(t, s, 1, 1, due_to_error); } @@ -2165,13 +2293,13 @@ static grpc_error_handle removal_error(grpc_error_handle extra_error, return error; } -static void flush_write_list(grpc_chttp2_transport* t, grpc_chttp2_stream* s, +static void flush_write_list(grpc_chttp2_transport* t, grpc_chttp2_write_cb** list, grpc_error_handle error) { while (*list) { grpc_chttp2_write_cb* cb = *list; *list = cb->next; - grpc_chttp2_complete_closure_step(t, s, &cb->closure, error, + grpc_chttp2_complete_closure_step(t, &cb->closure, error, "on_write_finished_cb"); cb->next = t->write_cb_pool; t->write_cb_pool = cb; @@ -2184,23 +2312,24 @@ void grpc_chttp2_fail_pending_writes(grpc_chttp2_transport* t, error = removal_error(error, s, "Pending writes failed due to stream closure"); s->send_initial_metadata = nullptr; - grpc_chttp2_complete_closure_step(t, s, &s->send_initial_metadata_finished, + grpc_chttp2_complete_closure_step(t, &s->send_initial_metadata_finished, error, "send_initial_metadata_finished"); s->send_trailing_metadata = nullptr; s->sent_trailing_metadata_op = nullptr; - grpc_chttp2_complete_closure_step(t, s, &s->send_trailing_metadata_finished, + grpc_chttp2_complete_closure_step(t, &s->send_trailing_metadata_finished, error, "send_trailing_metadata_finished"); - grpc_chttp2_complete_closure_step(t, s, &s->send_message_finished, error, + grpc_chttp2_complete_closure_step(t, &s->send_message_finished, error, "fetching_send_message_finished"); - flush_write_list(t, s, &s->on_write_finished_cbs, error); - flush_write_list(t, s, &s->on_flow_controlled_cbs, error); + flush_write_list(t, &s->on_write_finished_cbs, error); + flush_write_list(t, &s->on_flow_controlled_cbs, error); } -void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t, - grpc_chttp2_stream* s, int close_reads, - int close_writes, grpc_error_handle error) { +grpc_chttp2_transport::RemovedStreamHandle grpc_chttp2_mark_stream_closed( + grpc_chttp2_transport* t, grpc_chttp2_stream* s, int close_reads, + int close_writes, grpc_error_handle error) { + grpc_chttp2_transport::RemovedStreamHandle rsh; if (grpc_http_trace.enabled()) { gpr_log( GPR_DEBUG, "MARK_STREAM_CLOSED: t=%p s=%p(id=%d) %s [%s]", t, s, s->id, @@ -2216,7 +2345,7 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t, grpc_chttp2_fake_status(t, s, overall_error); } grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s); - return; + return rsh; } bool closed_read = false; bool became_closed = false; @@ -2234,7 +2363,7 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t, became_closed = true; grpc_error_handle overall_error = removal_error(error, s, "Stream removed"); if (s->id != 0) { - remove_stream(t, s->id, overall_error); + rsh = remove_stream(t, s->id, overall_error); } else { // Purge streams waiting on concurrency still waiting for id assignment grpc_chttp2_list_remove_waiting_for_concurrency(t, s); @@ -2258,17 +2387,11 @@ void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t, grpc_chttp2_maybe_complete_recv_trailing_metadata(t, s); GRPC_CHTTP2_STREAM_UNREF(s, "chttp2"); } + return rsh; } static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s, - grpc_error_handle error) { - grpc_slice hdr; - grpc_slice status_hdr; - grpc_slice http_status_hdr; - grpc_slice content_type_hdr; - grpc_slice message_pfx; - uint8_t* p; - uint32_t len = 0; + grpc_error_handle error, bool tarpit) { grpc_status_code grpc_status; std::string message; grpc_error_get_status(error, s->deadline, &grpc_status, &message, nullptr, @@ -2276,147 +2399,167 @@ static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s, GPR_ASSERT(grpc_status >= 0 && (int)grpc_status < 100); - // Hand roll a header block. - // This is unnecessarily ugly - at some point we should find a more - // elegant solution. - // It's complicated by the fact that our send machinery would be dead by - // the time we got around to sending this, so instead we ignore HPACK - // compression and just write the uncompressed bytes onto the wire. - if (!s->sent_initial_metadata) { - http_status_hdr = GRPC_SLICE_MALLOC(13); - p = GRPC_SLICE_START_PTR(http_status_hdr); - *p++ = 0x00; - *p++ = 7; - *p++ = ':'; - *p++ = 's'; - *p++ = 't'; - *p++ = 'a'; - *p++ = 't'; - *p++ = 'u'; - *p++ = 's'; - *p++ = 3; - *p++ = '2'; - *p++ = '0'; - *p++ = '0'; - GPR_ASSERT(p == GRPC_SLICE_END_PTR(http_status_hdr)); - len += static_cast GRPC_SLICE_LENGTH(http_status_hdr); - - content_type_hdr = GRPC_SLICE_MALLOC(31); - p = GRPC_SLICE_START_PTR(content_type_hdr); - *p++ = 0x00; - *p++ = 12; - *p++ = 'c'; - *p++ = 'o'; - *p++ = 'n'; - *p++ = 't'; - *p++ = 'e'; - *p++ = 'n'; - *p++ = 't'; - *p++ = '-'; - *p++ = 't'; - *p++ = 'y'; - *p++ = 'p'; - *p++ = 'e'; - *p++ = 16; - *p++ = 'a'; - *p++ = 'p'; - *p++ = 'p'; - *p++ = 'l'; - *p++ = 'i'; - *p++ = 'c'; - *p++ = 'a'; - *p++ = 't'; - *p++ = 'i'; - *p++ = 'o'; - *p++ = 'n'; - *p++ = '/'; - *p++ = 'g'; - *p++ = 'r'; - *p++ = 'p'; - *p++ = 'c'; - GPR_ASSERT(p == GRPC_SLICE_END_PTR(content_type_hdr)); - len += static_cast GRPC_SLICE_LENGTH(content_type_hdr); - } - - status_hdr = GRPC_SLICE_MALLOC(15 + (grpc_status >= 10)); - p = GRPC_SLICE_START_PTR(status_hdr); - *p++ = 0x00; // literal header, not indexed - *p++ = 11; // len(grpc-status) - *p++ = 'g'; - *p++ = 'r'; - *p++ = 'p'; - *p++ = 'c'; - *p++ = '-'; - *p++ = 's'; - *p++ = 't'; - *p++ = 'a'; - *p++ = 't'; - *p++ = 'u'; - *p++ = 's'; - if (grpc_status < 10) { - *p++ = 1; - *p++ = static_cast('0' + grpc_status); - } else { - *p++ = 2; - *p++ = static_cast('0' + (grpc_status / 10)); - *p++ = static_cast('0' + (grpc_status % 10)); - } - GPR_ASSERT(p == GRPC_SLICE_END_PTR(status_hdr)); - len += static_cast GRPC_SLICE_LENGTH(status_hdr); - - size_t msg_len = message.length(); - GPR_ASSERT(msg_len <= UINT32_MAX); - grpc_core::VarintWriter<1> msg_len_writer(static_cast(msg_len)); - message_pfx = GRPC_SLICE_MALLOC(14 + msg_len_writer.length()); - p = GRPC_SLICE_START_PTR(message_pfx); - *p++ = 0x00; // literal header, not indexed - *p++ = 12; // len(grpc-message) - *p++ = 'g'; - *p++ = 'r'; - *p++ = 'p'; - *p++ = 'c'; - *p++ = '-'; - *p++ = 'm'; - *p++ = 'e'; - *p++ = 's'; - *p++ = 's'; - *p++ = 'a'; - *p++ = 'g'; - *p++ = 'e'; - msg_len_writer.Write(0, p); - p += msg_len_writer.length(); - GPR_ASSERT(p == GRPC_SLICE_END_PTR(message_pfx)); - len += static_cast GRPC_SLICE_LENGTH(message_pfx); - len += static_cast(msg_len); - - hdr = GRPC_SLICE_MALLOC(9); - p = GRPC_SLICE_START_PTR(hdr); - *p++ = static_cast(len >> 16); - *p++ = static_cast(len >> 8); - *p++ = static_cast(len); - *p++ = GRPC_CHTTP2_FRAME_HEADER; - *p++ = GRPC_CHTTP2_DATA_FLAG_END_STREAM | GRPC_CHTTP2_DATA_FLAG_END_HEADERS; - *p++ = static_cast(s->id >> 24); - *p++ = static_cast(s->id >> 16); - *p++ = static_cast(s->id >> 8); - *p++ = static_cast(s->id); - GPR_ASSERT(p == GRPC_SLICE_END_PTR(hdr)); - - grpc_slice_buffer_add(&t->qbuf, hdr); - if (!s->sent_initial_metadata) { - grpc_slice_buffer_add(&t->qbuf, http_status_hdr); - grpc_slice_buffer_add(&t->qbuf, content_type_hdr); - } - grpc_slice_buffer_add(&t->qbuf, status_hdr); - grpc_slice_buffer_add(&t->qbuf, message_pfx); - grpc_slice_buffer_add(&t->qbuf, - grpc_slice_from_cpp_string(std::move(message))); - grpc_chttp2_reset_ping_clock(t); - grpc_chttp2_add_rst_stream_to_next_write(t, s->id, GRPC_HTTP2_NO_ERROR, - &s->stats.outgoing); - - grpc_chttp2_mark_stream_closed(t, s, 1, 1, error); - grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_CLOSE_FROM_API); + auto remove_stream_handle = grpc_chttp2_mark_stream_closed(t, s, 1, 1, error); + grpc_core::MaybeTarpit( + t, tarpit, + [error = std::move(error), + sent_initial_metadata = s->sent_initial_metadata, id = s->id, + grpc_status, message = std::move(message), + remove_stream_handle = + std::move(remove_stream_handle)](grpc_chttp2_transport* t) mutable { + grpc_slice hdr; + grpc_slice status_hdr; + grpc_slice http_status_hdr; + grpc_slice content_type_hdr; + grpc_slice message_pfx; + uint8_t* p; + uint32_t len = 0; + + // Hand roll a header block. + // This is unnecessarily ugly - at some point we should find a more + // elegant solution. + // It's complicated by the fact that our send machinery would be dead + // by the time we got around to sending this, so instead we ignore + // HPACK compression and just write the uncompressed bytes onto the + // wire. + if (!sent_initial_metadata) { + http_status_hdr = GRPC_SLICE_MALLOC(13); + p = GRPC_SLICE_START_PTR(http_status_hdr); + *p++ = 0x00; + *p++ = 7; + *p++ = ':'; + *p++ = 's'; + *p++ = 't'; + *p++ = 'a'; + *p++ = 't'; + *p++ = 'u'; + *p++ = 's'; + *p++ = 3; + *p++ = '2'; + *p++ = '0'; + *p++ = '0'; + GPR_ASSERT(p == GRPC_SLICE_END_PTR(http_status_hdr)); + len += static_cast GRPC_SLICE_LENGTH(http_status_hdr); + + content_type_hdr = GRPC_SLICE_MALLOC(31); + p = GRPC_SLICE_START_PTR(content_type_hdr); + *p++ = 0x00; + *p++ = 12; + *p++ = 'c'; + *p++ = 'o'; + *p++ = 'n'; + *p++ = 't'; + *p++ = 'e'; + *p++ = 'n'; + *p++ = 't'; + *p++ = '-'; + *p++ = 't'; + *p++ = 'y'; + *p++ = 'p'; + *p++ = 'e'; + *p++ = 16; + *p++ = 'a'; + *p++ = 'p'; + *p++ = 'p'; + *p++ = 'l'; + *p++ = 'i'; + *p++ = 'c'; + *p++ = 'a'; + *p++ = 't'; + *p++ = 'i'; + *p++ = 'o'; + *p++ = 'n'; + *p++ = '/'; + *p++ = 'g'; + *p++ = 'r'; + *p++ = 'p'; + *p++ = 'c'; + GPR_ASSERT(p == GRPC_SLICE_END_PTR(content_type_hdr)); + len += static_cast GRPC_SLICE_LENGTH(content_type_hdr); + } + + status_hdr = GRPC_SLICE_MALLOC(15 + (grpc_status >= 10)); + p = GRPC_SLICE_START_PTR(status_hdr); + *p++ = 0x00; // literal header, not indexed + *p++ = 11; // len(grpc-status) + *p++ = 'g'; + *p++ = 'r'; + *p++ = 'p'; + *p++ = 'c'; + *p++ = '-'; + *p++ = 's'; + *p++ = 't'; + *p++ = 'a'; + *p++ = 't'; + *p++ = 'u'; + *p++ = 's'; + if (grpc_status < 10) { + *p++ = 1; + *p++ = static_cast('0' + grpc_status); + } else { + *p++ = 2; + *p++ = static_cast('0' + (grpc_status / 10)); + *p++ = static_cast('0' + (grpc_status % 10)); + } + GPR_ASSERT(p == GRPC_SLICE_END_PTR(status_hdr)); + len += static_cast GRPC_SLICE_LENGTH(status_hdr); + + size_t msg_len = message.length(); + GPR_ASSERT(msg_len <= UINT32_MAX); + grpc_core::VarintWriter<1> msg_len_writer( + static_cast(msg_len)); + message_pfx = GRPC_SLICE_MALLOC(14 + msg_len_writer.length()); + p = GRPC_SLICE_START_PTR(message_pfx); + *p++ = 0x00; // literal header, not indexed + *p++ = 12; // len(grpc-message) + *p++ = 'g'; + *p++ = 'r'; + *p++ = 'p'; + *p++ = 'c'; + *p++ = '-'; + *p++ = 'm'; + *p++ = 'e'; + *p++ = 's'; + *p++ = 's'; + *p++ = 'a'; + *p++ = 'g'; + *p++ = 'e'; + msg_len_writer.Write(0, p); + p += msg_len_writer.length(); + GPR_ASSERT(p == GRPC_SLICE_END_PTR(message_pfx)); + len += static_cast GRPC_SLICE_LENGTH(message_pfx); + len += static_cast(msg_len); + + hdr = GRPC_SLICE_MALLOC(9); + p = GRPC_SLICE_START_PTR(hdr); + *p++ = static_cast(len >> 16); + *p++ = static_cast(len >> 8); + *p++ = static_cast(len); + *p++ = GRPC_CHTTP2_FRAME_HEADER; + *p++ = GRPC_CHTTP2_DATA_FLAG_END_STREAM | + GRPC_CHTTP2_DATA_FLAG_END_HEADERS; + *p++ = static_cast(id >> 24); + *p++ = static_cast(id >> 16); + *p++ = static_cast(id >> 8); + *p++ = static_cast(id); + GPR_ASSERT(p == GRPC_SLICE_END_PTR(hdr)); + + grpc_slice_buffer_add(&t->qbuf, hdr); + if (!sent_initial_metadata) { + grpc_slice_buffer_add(&t->qbuf, http_status_hdr); + grpc_slice_buffer_add(&t->qbuf, content_type_hdr); + } + grpc_slice_buffer_add(&t->qbuf, status_hdr); + grpc_slice_buffer_add(&t->qbuf, message_pfx); + grpc_slice_buffer_add(&t->qbuf, + grpc_slice_from_cpp_string(std::move(message))); + grpc_chttp2_reset_ping_clock(t); + grpc_chttp2_add_rst_stream_to_next_write(t, id, GRPC_HTTP2_NO_ERROR, + nullptr); + + grpc_chttp2_initiate_write(t, + GRPC_CHTTP2_INITIATE_WRITE_CLOSE_FROM_API); + }); } static void end_all_the_calls(grpc_chttp2_transport* t, @@ -2429,13 +2572,13 @@ static void end_all_the_calls(grpc_chttp2_transport* t, error = grpc_error_set_int(error, grpc_core::StatusIntProperty::kRpcStatus, GRPC_STATUS_UNAVAILABLE); } - cancel_unstarted_streams(t, error); + cancel_unstarted_streams(t, error, false); std::vector to_cancel; for (auto id_stream : t->stream_map) { to_cancel.push_back(id_stream.second); } for (auto s : to_cancel) { - grpc_chttp2_cancel_stream(t, s, error); + grpc_chttp2_cancel_stream(t, s, error, false); } } @@ -2472,21 +2615,19 @@ void grpc_chttp2_act_on_flowctl_action( GRPC_CHTTP2_INITIATE_WRITE_TRANSPORT_FLOW_CONTROL, []() {}); WithUrgency(t, action.send_initial_window_update(), GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() { - queue_setting_update(t, - GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE, - action.initial_window_size()); - }); - WithUrgency(t, action.send_max_frame_size_update(), - GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() { - queue_setting_update(t, GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE, - action.max_frame_size()); + t->settings.mutable_local().SetInitialWindowSize( + action.initial_window_size()); }); + WithUrgency( + t, action.send_max_frame_size_update(), + GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() { + t->settings.mutable_local().SetMaxFrameSize(action.max_frame_size()); + }); if (t->enable_preferred_rx_crypto_frame_advertisement) { WithUrgency( t, action.preferred_rx_crypto_frame_size_update(), GRPC_CHTTP2_INITIATE_WRITE_SEND_SETTINGS, [t, &action]() { - queue_setting_update( - t, GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE, + t->settings.mutable_local().SetPreferredReceiveCryptoMessageSize( action.preferred_rx_crypto_frame_size()); }); } @@ -2528,21 +2669,34 @@ static void read_action(grpc_core::RefCountedPtr t, error); } -static void read_action_locked( +static void read_action_parse_loop_locked( grpc_core::RefCountedPtr t, grpc_error_handle error) { - grpc_error_handle err = error; - if (!err.ok()) { - err = grpc_error_set_int( - GRPC_ERROR_CREATE_REFERENCING("Endpoint read failed", &err, 1), - grpc_core::StatusIntProperty::kOccurredDuringWrite, t->write_state); - } - std::swap(err, error); if (t->closed_with_error.ok()) { - size_t i = 0; grpc_error_handle errors[3] = {error, absl::OkStatus(), absl::OkStatus()}; - for (; i < t->read_buffer.count && errors[1] == absl::OkStatus(); i++) { - errors[1] = grpc_chttp2_perform_read(t.get(), t->read_buffer.slices[i]); + size_t requests_started = 0; + for (size_t i = 0; + i < t->read_buffer.count && errors[1] == absl::OkStatus(); i++) { + auto r = grpc_chttp2_perform_read(t.get(), t->read_buffer.slices[i], + requests_started); + if (auto* partial_read_size = absl::get_if(&r)) { + for (size_t j = 0; j < i; j++) { + grpc_core::CSliceUnref(grpc_slice_buffer_take_first(&t->read_buffer)); + } + grpc_slice_buffer_sub_first( + &t->read_buffer, *partial_read_size, + GRPC_SLICE_LENGTH(t->read_buffer.slices[0])); + t->combiner->ForceOffload(); + auto* tp = t.get(); + tp->combiner->Run( + grpc_core::InitTransportClosure( + std::move(t), &tp->read_action_locked), + std::move(errors[0])); + // Early return: we queued to retry later. + return; + } else { + errors[1] = std::move(absl::get(r)); + } } if (errors[1] != absl::OkStatus()) { errors[2] = try_http_parsing(t.get()); @@ -2577,7 +2731,6 @@ static void read_action_locked( } close_transport_locked(t.get(), error); - t->endpoint_reading = 0; } else if (t->closed_with_error.ok()) { keep_reading = true; // Since we have read a byte, reset the keepalive timer @@ -2601,6 +2754,31 @@ static void read_action_locked( } } +static void read_action_locked( + grpc_core::RefCountedPtr t, + grpc_error_handle error) { + // got an incoming read, cancel any pending keepalive timers + t->keepalive_incoming_data_wanted = false; + if (t->keepalive_ping_timeout_handle != TaskHandle::kInvalid) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace) || + GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) { + gpr_log(GPR_INFO, + "%s[%p]: Clear keepalive timer because data was received", + t->is_client ? "CLIENT" : "SERVER", t.get()); + } + t->event_engine->Cancel( + std::exchange(t->keepalive_ping_timeout_handle, TaskHandle::kInvalid)); + } + grpc_error_handle err = error; + if (!err.ok()) { + err = grpc_error_set_int( + GRPC_ERROR_CREATE_REFERENCING("Endpoint read failed", &err, 1), + grpc_core::StatusIntProperty::kOccurredDuringWrite, t->write_state); + } + std::swap(err, error); + read_action_parse_loop_locked(std::move(t), std::move(err)); +} + static void continue_read_action_locked( grpc_core::RefCountedPtr t) { const bool urgent = !t->goaway_error.ok(); @@ -2682,7 +2860,7 @@ static void finish_bdp_ping_locked( t->flow_control.bdp_estimator()->CompletePing(); grpc_chttp2_act_on_flowctl_action(t->flow_control.PeriodicUpdate(), t.get(), nullptr); - GPR_ASSERT(!t->next_bdp_ping_timer_handle.has_value()); + GPR_ASSERT(t->next_bdp_ping_timer_handle == TaskHandle::kInvalid); t->next_bdp_ping_timer_handle = t->event_engine->RunAfter(next_ping - grpc_core::Timestamp::Now(), [t] { grpc_core::ApplicationCallbackExecCtx callback_exec_ctx; @@ -2702,8 +2880,7 @@ static void next_bdp_ping_timer_expired_locked( grpc_core::RefCountedPtr t, GRPC_UNUSED grpc_error_handle error) { GPR_DEBUG_ASSERT(error.ok()); - GPR_ASSERT(t->next_bdp_ping_timer_handle.has_value()); - t->next_bdp_ping_timer_handle.reset(); + t->next_bdp_ping_timer_handle = TaskHandle::kInvalid; if (t->flow_control.bdp_estimator()->accumulator() == 0) { // Block the bdp ping till we receive more data. t->bdp_ping_blocked = true; @@ -2772,8 +2949,8 @@ static void init_keepalive_ping_locked( GRPC_UNUSED grpc_error_handle error) { GPR_DEBUG_ASSERT(error.ok()); GPR_ASSERT(t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_WAITING); - GPR_ASSERT(t->keepalive_ping_timer_handle.has_value()); - t->keepalive_ping_timer_handle.reset(); + GPR_ASSERT(t->keepalive_ping_timer_handle != TaskHandle::kInvalid); + t->keepalive_ping_timer_handle = TaskHandle::kInvalid; if (t->destroying || !t->closed_with_error.ok()) { t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_DYING; } else { @@ -2793,39 +2970,6 @@ static void init_keepalive_ping_locked( } } -static void start_keepalive_ping( - grpc_core::RefCountedPtr t, - grpc_error_handle error) { - auto* tp = t.get(); - tp->combiner->Run( - grpc_core::InitTransportClosure( - std::move(t), &tp->start_keepalive_ping_locked), - error); -} - -static void start_keepalive_ping_locked( - grpc_core::RefCountedPtr t, - grpc_error_handle error) { - if (!error.ok()) { - return; - } - if (t->channelz_socket != nullptr) { - t->channelz_socket->RecordKeepaliveSent(); - } - if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) || - GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) { - gpr_log(GPR_INFO, "%s: Start keepalive ping", - std::string(t->peer_string.as_string_view()).c_str()); - } - t->keepalive_watchdog_timer_handle = - t->event_engine->RunAfter(t->keepalive_timeout, [t]() mutable { - grpc_core::ApplicationCallbackExecCtx callback_exec_ctx; - grpc_core::ExecCtx exec_ctx; - keepalive_watchdog_fired(std::move(t)); - }); - t->keepalive_ping_started = true; -} - static void finish_keepalive_ping( grpc_core::RefCountedPtr t, grpc_error_handle error) { @@ -2846,20 +2990,8 @@ static void finish_keepalive_ping_locked( gpr_log(GPR_INFO, "%s: Finish keepalive ping", std::string(t->peer_string.as_string_view()).c_str()); } - if (!t->keepalive_ping_started) { - // start_keepalive_ping_locked has not run yet. Reschedule - // finish_keepalive_ping_locked for it to be run later. - finish_keepalive_ping(std::move(t), std::move(error)); - return; - } - t->keepalive_ping_started = false; t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_WAITING; - if (t->keepalive_watchdog_timer_handle.has_value()) { - if (t->event_engine->Cancel(*t->keepalive_watchdog_timer_handle)) { - t->keepalive_watchdog_timer_handle.reset(); - } - } - GPR_ASSERT(!t->keepalive_ping_timer_handle.has_value()); + GPR_ASSERT(t->keepalive_ping_timer_handle == TaskHandle::kInvalid); t->keepalive_ping_timer_handle = t->event_engine->RunAfter(t->keepalive_time, [t] { grpc_core::ApplicationCallbackExecCtx callback_exec_ctx; @@ -2870,56 +3002,22 @@ static void finish_keepalive_ping_locked( } } -static void keepalive_watchdog_fired( - grpc_core::RefCountedPtr t) { - auto* tp = t.get(); - tp->combiner->Run( - grpc_core::InitTransportClosure( - std::move(t), &tp->keepalive_watchdog_fired_locked), - absl::OkStatus()); -} - -static void keepalive_watchdog_fired_locked( - grpc_core::RefCountedPtr t, - GRPC_UNUSED grpc_error_handle error) { - GPR_DEBUG_ASSERT(error.ok()); - GPR_ASSERT(t->keepalive_watchdog_timer_handle.has_value()); - t->keepalive_watchdog_timer_handle.reset(); - if (t->keepalive_state == GRPC_CHTTP2_KEEPALIVE_STATE_PINGING) { - gpr_log(GPR_INFO, "%s: Keepalive watchdog fired. Closing transport.", - std::string(t->peer_string.as_string_view()).c_str()); - t->keepalive_state = GRPC_CHTTP2_KEEPALIVE_STATE_DYING; - close_transport_locked( - t.get(), - grpc_error_set_int(GRPC_ERROR_CREATE("keepalive watchdog timeout"), - grpc_core::StatusIntProperty::kRpcStatus, - GRPC_STATUS_UNAVAILABLE)); - } else { - // If keepalive_state is not PINGING, we consider it as an error. Maybe the - // cancellation failed in finish_keepalive_ping_locked. Users have seen - // other states: https://github.com/grpc/grpc/issues/32085. - gpr_log(GPR_ERROR, "keepalive_ping_end state error: %d (expect: %d)", - t->keepalive_state, GRPC_CHTTP2_KEEPALIVE_STATE_PINGING); - } -} - static void maybe_reset_keepalive_ping_timer_locked(grpc_chttp2_transport* t) { - if (t->keepalive_ping_timer_handle.has_value()) { - if (t->event_engine->Cancel(*t->keepalive_ping_timer_handle)) { - // Cancel succeeds, resets the keepalive ping timer. Note that we don't - // need to Ref or Unref here since we still hold the Ref. - if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) || - GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) { - gpr_log(GPR_INFO, "%s: Keepalive ping cancelled. Resetting timer.", - std::string(t->peer_string.as_string_view()).c_str()); - } - t->keepalive_ping_timer_handle = t->event_engine->RunAfter( - t->keepalive_time, [t = t->Ref()]() mutable { - grpc_core::ApplicationCallbackExecCtx callback_exec_ctx; - grpc_core::ExecCtx exec_ctx; - init_keepalive_ping(std::move(t)); - }); + if (t->keepalive_ping_timer_handle != TaskHandle::kInvalid && + t->event_engine->Cancel(t->keepalive_ping_timer_handle)) { + // Cancel succeeds, resets the keepalive ping timer. Note that we don't + // need to Ref or Unref here since we still hold the Ref. + if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) || + GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) { + gpr_log(GPR_INFO, "%s: Keepalive ping cancelled. Resetting timer.", + std::string(t->peer_string.as_string_view()).c_str()); } + t->keepalive_ping_timer_handle = + t->event_engine->RunAfter(t->keepalive_time, [t = t->Ref()]() mutable { + grpc_core::ApplicationCallbackExecCtx callback_exec_ctx; + grpc_core::ExecCtx exec_ctx; + init_keepalive_ping(std::move(t)); + }); } } @@ -2941,16 +3039,14 @@ static void connectivity_state_set(grpc_chttp2_transport* t, // POLLSET STUFF // -static void set_pollset(grpc_transport* gt, grpc_stream* /*gs*/, - grpc_pollset* pollset) { - grpc_chttp2_transport* t = reinterpret_cast(gt); - grpc_endpoint_add_to_pollset(t->ep, pollset); +void grpc_chttp2_transport::SetPollset(grpc_stream* /*gs*/, + grpc_pollset* pollset) { + grpc_endpoint_add_to_pollset(ep, pollset); } -static void set_pollset_set(grpc_transport* gt, grpc_stream* /*gs*/, - grpc_pollset_set* pollset_set) { - grpc_chttp2_transport* t = reinterpret_cast(gt); - grpc_endpoint_add_to_pollset_set(t->ep, pollset_set); +void grpc_chttp2_transport::SetPollsetSet(grpc_stream* /*gs*/, + grpc_pollset_set* pollset_set) { + grpc_endpoint_add_to_pollset_set(ep, pollset_set); } // @@ -3038,7 +3134,8 @@ static void destructive_reclaimer_locked( t.get(), s, grpc_error_set_int(GRPC_ERROR_CREATE("Buffers full"), grpc_core::StatusIntProperty::kHttp2Error, - GRPC_HTTP2_ENHANCE_YOUR_CALM)); + GRPC_HTTP2_ENHANCE_YOUR_CALM), + false); if (!t->stream_map.empty()) { // Since we cancel one stream per destructive reclamation, if // there are more streams left, we can immediately post a new @@ -3107,41 +3204,36 @@ const char* grpc_chttp2_initiate_write_reason_string( GPR_UNREACHABLE_CODE(return "unknown"); } -static grpc_endpoint* chttp2_get_endpoint(grpc_transport* t) { - return (reinterpret_cast(t))->ep; +grpc_endpoint* grpc_chttp2_transport::GetEndpoint() { return ep; } + +size_t grpc_chttp2_transport::SizeOfStream() const { + return sizeof(grpc_chttp2_stream); } -static const grpc_transport_vtable vtable = {sizeof(grpc_chttp2_stream), - false, - "chttp2", - init_stream, - nullptr, - set_pollset, - set_pollset_set, - perform_stream_op, - perform_transport_op, - destroy_stream, - destroy_transport, - chttp2_get_endpoint}; +bool grpc_chttp2_transport:: + HackyDisableStreamOpBatchCoalescingInConnectedChannel() const { + return false; +} -static const grpc_transport_vtable* get_vtable(void) { return &vtable; } +absl::string_view grpc_chttp2_transport::GetTransportName() const { + return "chttp2"; +} grpc_core::RefCountedPtr -grpc_chttp2_transport_get_socket_node(grpc_transport* transport) { +grpc_chttp2_transport_get_socket_node(grpc_core::Transport* transport) { grpc_chttp2_transport* t = reinterpret_cast(transport); return t->channelz_socket; } -grpc_transport* grpc_create_chttp2_transport( +grpc_core::Transport* grpc_create_chttp2_transport( const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep, bool is_client) { - auto t = new grpc_chttp2_transport(channel_args, ep, is_client); - return &t->base; + return new grpc_chttp2_transport(channel_args, ep, is_client); } void grpc_chttp2_transport_start_reading( - grpc_transport* transport, grpc_slice_buffer* read_buffer, + grpc_core::Transport* transport, grpc_slice_buffer* read_buffer, grpc_closure* notify_on_receive_settings, grpc_closure* notify_on_close) { auto t = reinterpret_cast(transport)->Ref(); if (read_buffer != nullptr) { diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.h b/src/core/ext/transport/chttp2/transport/chttp2_transport.h index 656806d8ada..5388c4a4737 100644 --- a/src/core/ext/transport/chttp2/transport/chttp2_transport.h +++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.h @@ -21,17 +21,25 @@ #include +#include +#include + +#include "absl/types/optional.h" + #include +#include "src/core/ext/transport/chttp2/transport/flow_control.h" +#include "src/core/lib/channel/call_tracer.h" #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channelz.h" #include "src/core/lib/debug/trace.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" +#include "src/core/lib/gprpp/time.h" #include "src/core/lib/iomgr/buffer_list.h" #include "src/core/lib/iomgr/closure.h" #include "src/core/lib/iomgr/endpoint.h" #include "src/core/lib/iomgr/error.h" -#include "src/core/lib/transport/transport_fwd.h" +#include "src/core/lib/transport/transport.h" extern grpc_core::TraceFlag grpc_keepalive_trace; extern grpc_core::TraceFlag grpc_trace_http2_stream_state; @@ -41,19 +49,19 @@ extern grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_hpack_parser; /// Creates a CHTTP2 Transport. This takes ownership of a \a resource_user ref /// from the caller; if the caller still needs the resource_user after creating /// a transport, the caller must take another ref. -grpc_transport* grpc_create_chttp2_transport( +grpc_core::Transport* grpc_create_chttp2_transport( const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep, bool is_client); grpc_core::RefCountedPtr -grpc_chttp2_transport_get_socket_node(grpc_transport* transport); +grpc_chttp2_transport_get_socket_node(grpc_core::Transport* transport); /// Takes ownership of \a read_buffer, which (if non-NULL) contains /// leftover bytes previously read from the endpoint (e.g., by handshakers). /// If non-null, \a notify_on_receive_settings will be scheduled when /// HTTP/2 settings are received from the peer. void grpc_chttp2_transport_start_reading( - grpc_transport* transport, grpc_slice_buffer* read_buffer, + grpc_core::Transport* transport, grpc_slice_buffer* read_buffer, grpc_closure* notify_on_receive_settings, grpc_closure* notify_on_close); namespace grpc_core { @@ -92,6 +100,60 @@ CopyContextFn GrpcHttp2GetCopyContextFn(); void ForEachContextListEntryExecute(void* arg, Timestamps* ts, grpc_error_handle error); +class HttpAnnotation : public CallTracerAnnotationInterface::Annotation { + public: + enum class Type : uint8_t { + kUnknown = 0, + // When the first byte enters the HTTP transport. + kStart, + // When the first byte leaves the HTTP transport. + kHeadWritten, + // When the last byte leaves the HTTP transport. + kEnd, + }; + + // A snapshot of write stats to export. + struct WriteStats { + size_t target_write_size; + }; + + HttpAnnotation(Type type, gpr_timespec time); + + HttpAnnotation& Add(const chttp2::TransportFlowControl::Stats& stats) { + transport_stats_ = stats; + return *this; + } + + HttpAnnotation& Add(const chttp2::StreamFlowControl::Stats& stats) { + stream_stats_ = stats; + return *this; + } + + HttpAnnotation& Add(const WriteStats& stats) { + write_stats_ = stats; + return *this; + } + + std::string ToString() const override; + + Type http_type() const { return type_; } + gpr_timespec time() const { return time_; } + absl::optional transport_stats() const { + return transport_stats_; + } + absl::optional stream_stats() const { + return stream_stats_; + } + absl::optional write_stats() const { return write_stats_; } + + private: + const Type type_; + const gpr_timespec time_; + absl::optional transport_stats_; + absl::optional stream_stats_; + absl::optional write_stats_; +}; + } // namespace grpc_core #endif // GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CHTTP2_TRANSPORT_H diff --git a/src/core/ext/transport/chttp2/transport/context_list_entry.h b/src/core/ext/transport/chttp2/transport/context_list_entry.h index aa6a9caeb8c..8368d807a99 100644 --- a/src/core/ext/transport/chttp2/transport/context_list_entry.h +++ b/src/core/ext/transport/chttp2/transport/context_list_entry.h @@ -24,8 +24,12 @@ #include #include +#include +#include #include +#include "src/core/lib/channel/tcp_tracer.h" + namespace grpc_core { /// An RPC trace context and associated information. Each RPC/stream is @@ -34,33 +38,42 @@ namespace grpc_core { // sent over the wire. A data chunk being written over the wire is multiplexed // with bytes from multiple RPCs. If one such RPC is traced, we store the // following information about the traced RPC: -// - byte_offset_in_stream: Number of bytes belonging to that traced RPC which -// have been sent so far from the start of the RPC stream. -// - relative_start_pos_in_chunk: Starting offset of the traced RPC within -// the current chunk that is being sent. -// - num_traced_bytes_in_chunk: Number of bytes belonging to the traced RPC -// within the current chunk. class ContextListEntry { public: - ContextListEntry(void* context, int64_t relative_start_pos, - int64_t num_traced_bytes, size_t byte_offset) + ContextListEntry(void* context, int64_t outbuf_offset, + int64_t num_traced_bytes, size_t byte_offset, + size_t stream_index, + std::shared_ptr tcp_tracer) : trace_context_(context), - relative_start_pos_in_chunk_(relative_start_pos), + outbuf_offset_(outbuf_offset), num_traced_bytes_in_chunk_(num_traced_bytes), - byte_offset_in_stream_(byte_offset) {} + byte_offset_in_stream_(byte_offset), + stream_index_(stream_index), + tcp_tracer_(std::move(tcp_tracer)) {} ContextListEntry() = delete; void* TraceContext() { return trace_context_; } - int64_t RelativeStartPosInChunk() { return relative_start_pos_in_chunk_; } + int64_t OutbufOffset() { return outbuf_offset_; } int64_t NumTracedBytesInChunk() { return num_traced_bytes_in_chunk_; } size_t ByteOffsetInStream() { return byte_offset_in_stream_; } + size_t StreamIndex() { return stream_index_; } + std::shared_ptr ReleaseTcpTracer() { + return std::move(tcp_tracer_); + } private: void* trace_context_; - int64_t relative_start_pos_in_chunk_; + // Offset of the head of the current chunk in the output buffer. + int64_t outbuf_offset_; + // Number of bytes traced in the current chunk. int64_t num_traced_bytes_in_chunk_; + // Offset of the head of the current chunk in the RPC stream. size_t byte_offset_in_stream_; + // Index of the current chunk in the RPC stream. + // Set to zero for the first chunk of the RPC stream. + size_t stream_index_; + std::shared_ptr tcp_tracer_; }; /// A list of RPC Contexts diff --git a/src/core/ext/transport/chttp2/transport/flow_control.cc b/src/core/ext/transport/chttp2/transport/flow_control.cc index 175f00119cd..a24828e7a11 100644 --- a/src/core/ext/transport/chttp2/transport/flow_control.cc +++ b/src/core/ext/transport/chttp2/transport/flow_control.cc @@ -24,7 +24,6 @@ #include #include -#include #include #include #include @@ -105,16 +104,7 @@ TransportFlowControl::TransportFlowControl(absl::string_view name, MemoryOwner* memory_owner) : memory_owner_(memory_owner), enable_bdp_probe_(enable_bdp_probe), - bdp_estimator_(name), - pid_controller_(PidController::Args() - .set_gain_p(4) - .set_gain_i(8) - .set_gain_d(0) - .set_initial_control_value(TargetLogBdp()) - .set_min_control_value(-1) - .set_max_control_value(25) - .set_integral_range(10)), - last_pid_update_(Timestamp::Now()) {} + bdp_estimator_(name) {} uint32_t TransportFlowControl::DesiredAnnounceSize(bool writing_anyway) const { const uint32_t target_announced_window = @@ -185,41 +175,6 @@ FlowControlAction TransportFlowControl::UpdateAction(FlowControlAction action) { return action; } -// Take in a target and modifies it based on the memory pressure of the system -static double AdjustForMemoryPressure(double memory_pressure, double target) { - // do not increase window under heavy memory pressure. - static const double kLowMemPressure = 0.1; - static const double kZeroTarget = 22; - static const double kHighMemPressure = 0.8; - static const double kMaxMemPressure = 0.9; - if (memory_pressure < kLowMemPressure && target < kZeroTarget) { - target = (target - kZeroTarget) * memory_pressure / kLowMemPressure + - kZeroTarget; - } else if (memory_pressure > kHighMemPressure) { - target *= 1 - std::min(1.0, (memory_pressure - kHighMemPressure) / - (kMaxMemPressure - kHighMemPressure)); - } - return target; -} - -double TransportFlowControl::TargetLogBdp() { - return AdjustForMemoryPressure( - memory_owner_->is_valid() - ? memory_owner_->GetPressureInfo().pressure_control_value - : 0.0, - 1 + log2(bdp_estimator_.EstimateBdp())); -} - -double TransportFlowControl::SmoothLogBdp(double value) { - Timestamp now = Timestamp::Now(); - double bdp_error = value - pid_controller_.last_control_value(); - const double dt = (now - last_pid_update_).seconds(); - last_pid_update_ = now; - // Limit dt to 100ms - const double kMaxDt = 0.1; - return pid_controller_.Update(bdp_error, dt > kMaxDt ? kMaxDt : dt); -} - double TransportFlowControl::TargetInitialWindowSizeBasedOnMemoryPressureAndBdp() const { @@ -275,18 +230,14 @@ TransportFlowControl::TargetInitialWindowSizeBasedOnMemoryPressureAndBdp() } void TransportFlowControl::UpdateSetting( - grpc_chttp2_setting_id id, int64_t* desired_value, - uint32_t new_desired_value, FlowControlAction* action, + absl::string_view name, int64_t* desired_value, uint32_t new_desired_value, + FlowControlAction* action, FlowControlAction& (FlowControlAction::*set)(FlowControlAction::Urgency, uint32_t)) { - new_desired_value = - Clamp(new_desired_value, grpc_chttp2_settings_parameters[id].min_value, - grpc_chttp2_settings_parameters[id].max_value); if (new_desired_value != *desired_value) { if (grpc_flowctl_trace.enabled()) { gpr_log(GPR_INFO, "[flowctl] UPDATE SETTING %s from %" PRId64 " to %d", - grpc_chttp2_settings_parameters[id].name, *desired_value, - new_desired_value); + std::string(name).c_str(), *desired_value, new_desired_value); } // Reaching zero can only happen for initial window size, and if it occurs // we really want to wake up writes and ensure all the queued stream @@ -324,10 +275,8 @@ FlowControlAction TransportFlowControl::PeriodicUpdate() { // TODO(ncteisen): experiment with setting target to be huge under low // memory pressure. uint32_t target = static_cast(RoundUpToPowerOf2( - Clamp(IsMemoryPressureControllerEnabled() - ? TargetInitialWindowSizeBasedOnMemoryPressureAndBdp() - : pow(2, SmoothLogBdp(TargetLogBdp())), - 0.0, static_cast(kMaxInitialWindowSize)))); + Clamp(TargetInitialWindowSizeBasedOnMemoryPressureAndBdp(), 0.0, + static_cast(kMaxInitialWindowSize)))); if (target < kMinPositiveInitialWindowSize) target = 0; if (g_test_only_transport_target_window_estimates_mocker != nullptr) { // Hook for simulating unusual flow control situations in tests. @@ -337,13 +286,15 @@ FlowControlAction TransportFlowControl::PeriodicUpdate() { } // Though initial window 'could' drop to 0, we keep the floor at // kMinInitialWindowSize - UpdateSetting(GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE, - &target_initial_window_size_, target, &action, - &FlowControlAction::set_send_initial_window_update); + UpdateSetting(Http2Settings::initial_window_size_name(), + &target_initial_window_size_, + std::min(target, Http2Settings::max_initial_window_size()), + &action, &FlowControlAction::set_send_initial_window_update); // we target the max of BDP or bandwidth in microseconds. - UpdateSetting(GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE, &target_frame_size_, - target, &action, - &FlowControlAction::set_send_max_frame_size_update); + UpdateSetting(Http2Settings::max_frame_size_name(), &target_frame_size_, + Clamp(target, Http2Settings::min_max_frame_size(), + Http2Settings::max_max_frame_size()), + &action, &FlowControlAction::set_send_max_frame_size_update); if (IsTcpFrameSizeTuningEnabled()) { // Advertise PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE to peer. By advertising @@ -353,10 +304,11 @@ FlowControlAction TransportFlowControl::PeriodicUpdate() { // Clamp(target_frame_size_ * 2, 16384, 0x7fffffff). In the future, this // maybe updated to a different function of the memory pressure. UpdateSetting( - GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE, + Http2Settings::preferred_receive_crypto_message_size_name(), &target_preferred_rx_crypto_frame_size_, - Clamp(static_cast(target_frame_size_ * 2), 16384u, - 0x7ffffffu), + Clamp(static_cast(target_frame_size_ * 2), + Http2Settings::min_preferred_receive_crypto_message_size(), + Http2Settings::max_preferred_receive_crypto_message_size()), &action, &FlowControlAction::set_preferred_rx_crypto_frame_size_update); } @@ -364,6 +316,23 @@ FlowControlAction TransportFlowControl::PeriodicUpdate() { return UpdateAction(action); } +std::string TransportFlowControl::Stats::ToString() const { + return absl::StrCat("target_window: ", target_window, + " target_frame_size: ", target_frame_size, + " target_preferred_rx_crypto_frame_size: ", + target_preferred_rx_crypto_frame_size, + " acked_init_window: ", acked_init_window, + " queued_init_window: ", queued_init_window, + " sent_init_window: ", sent_init_window, + " remote_window: ", remote_window, + " announced_window: ", announced_window, + " announced_stream_total_over_incoming_window: ", + announced_stream_total_over_incoming_window, + " bdp_accumulator: ", bdp_accumulator, + " bdp_estimate: ", bdp_estimate, + " bdp_bw_est: ", bdp_bw_est); +} + void StreamFlowControl::SentUpdate(uint32_t announce) { TransportFlowControl::IncomingUpdateContext tfc_upd(tfc_); pending_size_ = absl::nullopt; @@ -406,23 +375,9 @@ FlowControlAction StreamFlowControl::UpdateAction(FlowControlAction action) { } // min_progress_size_ > 0 means we have a reader ready to read. if (min_progress_size_ > 0) { - if (IsLazierStreamUpdatesEnabled()) { - if (announced_window_delta_ <= - -static_cast(tfc_->sent_init_window()) / 2) { - urgency = FlowControlAction::Urgency::UPDATE_IMMEDIATELY; - } - } else { - // If we're into initial window to receive that data we should wake up - // and send an update. - if (announced_window_delta_ < 0) { - urgency = FlowControlAction::Urgency::UPDATE_IMMEDIATELY; - } else if (announced_window_delta_ == 0 && - tfc_->queued_init_window() == 0) { - // Special case when initial window size is zero, meaning that - // announced_window_delta cannot become negative (it may already be so - // however). - urgency = FlowControlAction::Urgency::UPDATE_IMMEDIATELY; - } + if (announced_window_delta_ <= + -static_cast(tfc_->sent_init_window()) / 2) { + urgency = FlowControlAction::Urgency::UPDATE_IMMEDIATELY; } } action.set_send_stream_update(urgency); @@ -436,5 +391,12 @@ void StreamFlowControl::IncomingUpdateContext::SetPendingSize( sfc_->pending_size_ = pending_size; } +std::string StreamFlowControl::Stats::ToString() const { + return absl::StrCat("min_progress_size: ", min_progress_size, + " remote_window_delta: ", remote_window_delta, + " announced_window_delta: ", announced_window_delta, + pending_size.has_value() ? *pending_size : -1); +} + } // namespace chttp2 } // namespace grpc_core diff --git a/src/core/ext/transport/chttp2/transport/flow_control.h b/src/core/ext/transport/chttp2/transport/flow_control.h index 8832b9c4db4..82dde68754f 100644 --- a/src/core/ext/transport/chttp2/transport/flow_control.h +++ b/src/core/ext/transport/chttp2/transport/flow_control.h @@ -40,7 +40,6 @@ #include "src/core/lib/gprpp/time.h" #include "src/core/lib/resource_quota/memory_quota.h" #include "src/core/lib/transport/bdp_estimator.h" -#include "src/core/lib/transport/pid_controller.h" extern grpc_core::TraceFlag grpc_flowctl_trace; @@ -291,11 +290,47 @@ class TransportFlowControl final { } } + // A snapshot of the flow control stats to export. + struct Stats { + int64_t target_window; + int64_t target_frame_size; + int64_t target_preferred_rx_crypto_frame_size; + uint32_t acked_init_window; + uint32_t queued_init_window; + uint32_t sent_init_window; + int64_t remote_window; + int64_t announced_window; + int64_t announced_stream_total_over_incoming_window; + // BDP estimator stats. + int64_t bdp_accumulator; + int64_t bdp_estimate; + double bdp_bw_est; + + std::string ToString() const; + }; + + Stats stats() const { + Stats stats; + stats.target_window = target_window(); + stats.target_frame_size = target_frame_size(); + stats.target_preferred_rx_crypto_frame_size = + target_preferred_rx_crypto_frame_size(); + stats.acked_init_window = acked_init_window(); + stats.queued_init_window = queued_init_window(); + stats.sent_init_window = sent_init_window(); + stats.remote_window = remote_window(); + stats.announced_window = announced_window(); + stats.announced_stream_total_over_incoming_window = + announced_stream_total_over_incoming_window(); + stats.bdp_accumulator = bdp_estimator_.accumulator(); + stats.bdp_estimate = bdp_estimator_.EstimateBdp(); + stats.bdp_bw_est = bdp_estimator_.EstimateBandwidth(); + return stats; + } + private: - double TargetLogBdp(); - double SmoothLogBdp(double value); double TargetInitialWindowSizeBasedOnMemoryPressureAndBdp() const; - static void UpdateSetting(grpc_chttp2_setting_id id, int64_t* desired_value, + static void UpdateSetting(absl::string_view name, int64_t* desired_value, uint32_t new_desired_value, FlowControlAction* action, FlowControlAction& (FlowControlAction::*set)( @@ -321,10 +356,6 @@ class TransportFlowControl final { // bdp estimation BdpEstimator bdp_estimator_; - // pid controller - PidController pid_controller_; - Timestamp last_pid_update_; - int64_t remote_window_ = kDefaultWindow; int64_t target_initial_window_size_ = kDefaultWindow; int64_t target_frame_size_ = kDefaultFrameSize; @@ -409,6 +440,25 @@ class StreamFlowControl final { int64_t announced_window_delta() const { return announced_window_delta_; } int64_t min_progress_size() const { return min_progress_size_; } + // A snapshot of the flow control stats to export. + struct Stats { + int64_t min_progress_size; + int64_t remote_window_delta; + int64_t announced_window_delta; + absl::optional pending_size; + + std::string ToString() const; + }; + + Stats stats() const { + Stats stats; + stats.min_progress_size = min_progress_size(); + stats.remote_window_delta = remote_window_delta(); + stats.announced_window_delta = announced_window_delta(); + stats.pending_size = pending_size_; + return stats; + } + private: TransportFlowControl* const tfc_; int64_t min_progress_size_ = 0; diff --git a/src/core/ext/transport/chttp2/transport/frame.h b/src/core/ext/transport/chttp2/transport/frame.h index fd6abe81df2..be20ef4a0c0 100644 --- a/src/core/ext/transport/chttp2/transport/frame.h +++ b/src/core/ext/transport/chttp2/transport/frame.h @@ -102,6 +102,8 @@ struct Http2RstStreamFrame { // SETTINGS frame struct Http2SettingsFrame { struct Setting { + Setting(uint16_t id, uint32_t value) : id(id), value(value) {} + uint16_t id; uint32_t value; diff --git a/src/core/ext/transport/chttp2/transport/frame_data.cc b/src/core/ext/transport/chttp2/transport/frame_data.cc index 0cdc7fae75a..e10dea34134 100644 --- a/src/core/ext/transport/chttp2/transport/frame_data.cc +++ b/src/core/ext/transport/chttp2/transport/frame_data.cc @@ -22,8 +22,6 @@ #include -#include - #include "absl/status/status.h" #include "absl/strings/str_format.h" @@ -31,6 +29,7 @@ #include #include "src/core/ext/transport/chttp2/transport/internal.h" +#include "src/core/lib/experiments/experiments.h" #include "src/core/lib/gprpp/status_helper.h" #include "src/core/lib/slice/slice.h" #include "src/core/lib/slice/slice_buffer.h" @@ -79,7 +78,9 @@ void grpc_chttp2_encode_data(uint32_t id, grpc_slice_buffer* inbuf, grpc_slice_buffer_move_first_no_ref(inbuf, write_bytes, outbuf); stats->framing_bytes += header_size; - stats->data_bytes += write_bytes; + if (!grpc_core::IsHttp2StatsFixEnabled()) { + stats->data_bytes += write_bytes; + } } grpc_core::Poll grpc_deframe_unprocessed_incoming_frames( diff --git a/src/core/ext/transport/chttp2/transport/frame_goaway.cc b/src/core/ext/transport/chttp2/transport/frame_goaway.cc index 03a66c18b3c..e7d1c558d4f 100644 --- a/src/core/ext/transport/chttp2/transport/frame_goaway.cc +++ b/src/core/ext/transport/chttp2/transport/frame_goaway.cc @@ -22,8 +22,6 @@ #include -#include - #include "absl/base/attributes.h" #include "absl/status/status.h" #include "absl/strings/str_format.h" diff --git a/src/core/ext/transport/chttp2/transport/frame_ping.cc b/src/core/ext/transport/chttp2/transport/frame_ping.cc index cbabccfd614..f2e92a2829d 100644 --- a/src/core/ext/transport/chttp2/transport/frame_ping.cc +++ b/src/core/ext/transport/chttp2/transport/frame_ping.cc @@ -20,11 +20,10 @@ #include "src/core/ext/transport/chttp2/transport/frame_ping.h" +#include #include #include -#include -#include #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" @@ -35,6 +34,7 @@ #include "src/core/ext/transport/chttp2/transport/internal.h" #include "src/core/ext/transport/chttp2/transport/ping_abuse_policy.h" +#include "src/core/ext/transport/chttp2/transport/ping_callbacks.h" #include "src/core/lib/debug/trace.h" extern grpc_core::TraceFlag grpc_keepalive_trace; @@ -96,18 +96,26 @@ grpc_error_handle grpc_chttp2_ping_parser_parse(void* parser, if (p->byte == 8) { GPR_ASSERT(is_last); if (p->is_ack) { + if (grpc_ping_trace.enabled()) { + gpr_log(GPR_INFO, "%s[%p]: received ping ack %" PRIx64, + t->is_client ? "CLIENT" : "SERVER", t, p->opaque_8bytes); + } grpc_chttp2_ack_ping(t, p->opaque_8bytes); } else { if (!t->is_client) { const bool transport_idle = t->keepalive_permit_without_calls == 0 && t->stream_map.empty(); if (grpc_keepalive_trace.enabled() || grpc_http_trace.enabled()) { - gpr_log(GPR_INFO, "t=%p received ping: %s", t, + gpr_log(GPR_INFO, "SERVER[%p]: received ping %" PRIx64 ": %s", t, + p->opaque_8bytes, t->ping_abuse_policy.GetDebugString(transport_idle).c_str()); } if (t->ping_abuse_policy.ReceivedOnePing(transport_idle)) { grpc_chttp2_exceeded_ping_strikes(t); } + } else if (grpc_ping_trace.enabled()) { + gpr_log(GPR_INFO, "CLIENT[%p]: received ping %" PRIx64, t, + p->opaque_8bytes); } if (t->ack_pings) { if (t->ping_ack_count == t->ping_ack_capacity) { diff --git a/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc b/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc index 498eb4e8ae7..71e5cd7098f 100644 --- a/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +++ b/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc @@ -22,8 +22,7 @@ #include -#include - +#include "absl/random/distributions.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" @@ -34,7 +33,9 @@ #include "src/core/ext/transport/chttp2/transport/http_trace.h" #include "src/core/ext/transport/chttp2/transport/internal.h" #include "src/core/ext/transport/chttp2/transport/legacy_frame.h" +#include "src/core/ext/transport/chttp2/transport/ping_callbacks.h" #include "src/core/lib/debug/trace.h" +#include "src/core/lib/experiments/experiments.h" #include "src/core/lib/gprpp/status_helper.h" #include "src/core/lib/transport/http2_errors.h" #include "src/core/lib/transport/metadata_batch.h" @@ -125,6 +126,12 @@ grpc_error_handle grpc_chttp2_rst_stream_parser_parse(void* parser, grpc_core::StatusIntProperty::kHttp2Error, static_cast(reason)); } + if (!t->is_client && + absl::Bernoulli(t->bitgen, t->ping_on_rst_stream_percent / 100.0)) { + ++t->num_pending_induced_frames; + t->ping_callbacks.RequestPing(); + grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_KEEPALIVE_PING); + } grpc_chttp2_mark_stream_closed(t, s, true, true, error); } diff --git a/src/core/ext/transport/chttp2/transport/frame_settings.cc b/src/core/ext/transport/chttp2/transport/frame_settings.cc index 04d7177da02..c0e24c336ee 100644 --- a/src/core/ext/transport/chttp2/transport/frame_settings.cc +++ b/src/core/ext/transport/chttp2/transport/frame_settings.cc @@ -22,19 +22,18 @@ #include -#include #include #include "absl/base/attributes.h" #include "absl/status/status.h" #include "absl/strings/str_format.h" -#include "absl/strings/string_view.h" #include #include #include "src/core/ext/transport/chttp2/transport/flow_control.h" #include "src/core/ext/transport/chttp2/transport/frame_goaway.h" +#include "src/core/ext/transport/chttp2/transport/http2_settings.h" #include "src/core/ext/transport/chttp2/transport/http_trace.h" #include "src/core/ext/transport/chttp2/transport/internal.h" #include "src/core/ext/transport/chttp2/transport/legacy_frame.h" @@ -57,38 +56,6 @@ static uint8_t* fill_header(uint8_t* out, uint32_t length, uint8_t flags) { return out; } -grpc_slice grpc_chttp2_settings_create(uint32_t* old_settings, - const uint32_t* new_settings, - uint32_t force_mask, size_t count) { - size_t i; - uint32_t n = 0; - grpc_slice output; - uint8_t* p; - - for (i = 0; i < count; i++) { - n += (new_settings[i] != old_settings[i] || (force_mask & (1u << i)) != 0); - } - - output = GRPC_SLICE_MALLOC(9 + 6 * n); - p = fill_header(GRPC_SLICE_START_PTR(output), 6 * n, 0); - - for (i = 0; i < count; i++) { - if (new_settings[i] != old_settings[i] || (force_mask & (1u << i)) != 0) { - *p++ = static_cast(grpc_setting_id_to_wire_id[i] >> 8); - *p++ = static_cast(grpc_setting_id_to_wire_id[i]); - *p++ = static_cast(new_settings[i] >> 24); - *p++ = static_cast(new_settings[i] >> 16); - *p++ = static_cast(new_settings[i] >> 8); - *p++ = static_cast(new_settings[i]); - old_settings[i] = new_settings[i]; - } - } - - GPR_ASSERT(p == GRPC_SLICE_END_PTR(output)); - - return output; -} - grpc_slice grpc_chttp2_settings_ack_create(void) { grpc_slice output = GRPC_SLICE_MALLOC(9); fill_header(GRPC_SLICE_START_PTR(output), 0, GRPC_CHTTP2_FLAG_ACK); @@ -97,10 +64,9 @@ grpc_slice grpc_chttp2_settings_ack_create(void) { grpc_error_handle grpc_chttp2_settings_parser_begin_frame( grpc_chttp2_settings_parser* parser, uint32_t length, uint8_t flags, - uint32_t* settings) { - parser->target_settings = settings; - memcpy(parser->incoming_settings, settings, - GRPC_CHTTP2_NUM_SETTINGS * sizeof(uint32_t)); + grpc_core::Http2Settings& settings) { + parser->target_settings = &settings; + parser->incoming_settings.Init(settings); parser->is_ack = 0; parser->state = GRPC_CHTTP2_SPS_ID0; if (flags == GRPC_CHTTP2_FLAG_ACK) { @@ -127,7 +93,6 @@ grpc_error_handle grpc_chttp2_settings_parser_parse(void* p, static_cast(p); const uint8_t* cur = GRPC_SLICE_START_PTR(slice); const uint8_t* end = GRPC_SLICE_END_PTR(slice); - grpc_chttp2_setting_id id; if (parser->is_ack) { return absl::OkStatus(); @@ -139,8 +104,7 @@ grpc_error_handle grpc_chttp2_settings_parser_parse(void* p, if (cur == end) { parser->state = GRPC_CHTTP2_SPS_ID0; if (is_last) { - memcpy(parser->target_settings, parser->incoming_settings, - GRPC_CHTTP2_NUM_SETTINGS * sizeof(uint32_t)); + *parser->target_settings = *parser->incoming_settings; t->num_pending_induced_frames++; grpc_slice_buffer_add(&t->qbuf, grpc_chttp2_settings_ack_create()); grpc_chttp2_initiate_write(t, @@ -189,7 +153,7 @@ grpc_error_handle grpc_chttp2_settings_parser_parse(void* p, parser->value |= (static_cast(*cur)) << 8; cur++; ABSL_FALLTHROUGH_INTENDED; - case GRPC_CHTTP2_SPS_VAL3: + case GRPC_CHTTP2_SPS_VAL3: { if (cur == end) { parser->state = GRPC_CHTTP2_SPS_VAL3; return absl::OkStatus(); @@ -199,47 +163,35 @@ grpc_error_handle grpc_chttp2_settings_parser_parse(void* p, parser->value |= *cur; cur++; - if (grpc_wire_id_to_setting_id(parser->id, &id)) { - const grpc_chttp2_setting_parameters* sp = - &grpc_chttp2_settings_parameters[id]; - if (parser->value < sp->min_value || parser->value > sp->max_value) { - switch (sp->invalid_value_behavior) { - case GRPC_CHTTP2_CLAMP_INVALID_VALUE: - parser->value = grpc_core::Clamp(parser->value, sp->min_value, - sp->max_value); - break; - case GRPC_CHTTP2_DISCONNECT_ON_INVALID_VALUE: - grpc_chttp2_goaway_append( - t->last_new_stream_id, sp->error_value, - grpc_slice_from_static_string("HTTP2 settings error"), - &t->qbuf); - return GRPC_ERROR_CREATE(absl::StrFormat( - "invalid value %u passed for %s", parser->value, sp->name)); - } - } - if (id == GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE && - parser->incoming_settings[id] != parser->value) { - t->initial_window_update += static_cast(parser->value) - - parser->incoming_settings[id]; - if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) || - GRPC_TRACE_FLAG_ENABLED(grpc_flowctl_trace)) { - gpr_log(GPR_INFO, "%p[%s] adding %d for initial_window change", t, - t->is_client ? "cli" : "svr", - static_cast(t->initial_window_update)); - } - } - parser->incoming_settings[id] = parser->value; - if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) { - gpr_log(GPR_INFO, "CHTTP2:%s:%s: got setting %s = %d", - t->is_client ? "CLI" : "SVR", - std::string(t->peer_string.as_string_view()).c_str(), - sp->name, parser->value); + if (parser->id == grpc_core::Http2Settings::kInitialWindowSizeWireId) { + t->initial_window_update += + static_cast(parser->value) - + parser->incoming_settings->initial_window_size(); + if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) || + GRPC_TRACE_FLAG_ENABLED(grpc_flowctl_trace)) { + gpr_log(GPR_INFO, "%p[%s] adding %d for initial_window change", t, + t->is_client ? "cli" : "svr", + static_cast(t->initial_window_update)); } - } else if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) { - gpr_log(GPR_DEBUG, "CHTTP2: Ignoring unknown setting %d (value %d)", - parser->id, parser->value); } - break; + auto error = + parser->incoming_settings->Apply(parser->id, parser->value); + if (error != GRPC_HTTP2_NO_ERROR) { + grpc_chttp2_goaway_append( + t->last_new_stream_id, error, + grpc_slice_from_static_string("HTTP2 settings error"), &t->qbuf); + return GRPC_ERROR_CREATE(absl::StrFormat( + "invalid value %u passed for %s", parser->value, + grpc_core::Http2Settings::WireIdToName(parser->id).c_str())); + } + if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace)) { + gpr_log(GPR_INFO, "CHTTP2:%s:%s: got setting %s = %d", + t->is_client ? "CLI" : "SVR", + std::string(t->peer_string.as_string_view()).c_str(), + grpc_core::Http2Settings::WireIdToName(parser->id).c_str(), + parser->value); + } + } break; } } } diff --git a/src/core/ext/transport/chttp2/transport/frame_settings.h b/src/core/ext/transport/chttp2/transport/frame_settings.h index 24a97c905df..56dc5baae6a 100644 --- a/src/core/ext/transport/chttp2/transport/frame_settings.h +++ b/src/core/ext/transport/chttp2/transport/frame_settings.h @@ -28,6 +28,7 @@ #include "src/core/ext/transport/chttp2/transport/http2_settings.h" #include "src/core/ext/transport/chttp2/transport/legacy_frame.h" +#include "src/core/lib/gprpp/manual_constructor.h" #include "src/core/lib/iomgr/error.h" typedef enum { @@ -41,22 +42,18 @@ typedef enum { struct grpc_chttp2_settings_parser { grpc_chttp2_settings_parse_state state; - uint32_t* target_settings; + grpc_core::Http2Settings* target_settings; + grpc_core::ManualConstructor incoming_settings; uint8_t is_ack; uint16_t id; uint32_t value; - uint32_t incoming_settings[GRPC_CHTTP2_NUM_SETTINGS]; }; -// Create a settings frame by diffing old & new, and updating old to be new -grpc_slice grpc_chttp2_settings_create(uint32_t* old_settings, - const uint32_t* new_settings, - uint32_t force_mask, size_t count); // Create an ack settings frame grpc_slice grpc_chttp2_settings_ack_create(void); grpc_error_handle grpc_chttp2_settings_parser_begin_frame( grpc_chttp2_settings_parser* parser, uint32_t length, uint8_t flags, - uint32_t* settings); + grpc_core::Http2Settings& settings); grpc_error_handle grpc_chttp2_settings_parser_parse(void* parser, grpc_chttp2_transport* t, grpc_chttp2_stream* s, diff --git a/src/core/ext/transport/chttp2/transport/frame_window_update.cc b/src/core/ext/transport/chttp2/transport/frame_window_update.cc index aab8f762051..45c122065f3 100644 --- a/src/core/ext/transport/chttp2/transport/frame_window_update.cc +++ b/src/core/ext/transport/chttp2/transport/frame_window_update.cc @@ -22,8 +22,6 @@ #include -#include - #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" @@ -37,7 +35,7 @@ grpc_slice grpc_chttp2_window_update_create( uint32_t id, uint32_t window_delta, grpc_transport_one_way_stats* stats) { static const size_t frame_size = 13; grpc_slice slice = GRPC_SLICE_MALLOC(frame_size); - stats->header_bytes += frame_size; + stats->framing_bytes += frame_size; uint8_t* p = GRPC_SLICE_START_PTR(slice); GPR_ASSERT(window_delta); diff --git a/src/core/ext/transport/chttp2/transport/hpack_encoder.cc b/src/core/ext/transport/chttp2/transport/hpack_encoder.cc index 6c642815539..ed615d5acd6 100644 --- a/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +++ b/src/core/ext/transport/chttp2/transport/hpack_encoder.cc @@ -42,12 +42,12 @@ namespace grpc_core { namespace { -constexpr size_t kDataFrameHeaderSize = 9; +constexpr size_t kHeadersFrameHeaderSize = 9; } // namespace -// fills p (which is expected to be kDataFrameHeaderSize bytes long) -// with a data frame header +// fills p (which is expected to be kHeadersFrameHeaderSize bytes long) +// with a headers frame header static void FillHeader(uint8_t* p, uint8_t type, uint32_t id, size_t len, uint8_t flags) { // len is the current frame size (i.e. for the frame we're finishing). @@ -99,9 +99,9 @@ void HPackCompressor::Frame(const EncodeHeaderOptions& options, } else { len = options.max_frame_size; } - FillHeader(grpc_slice_buffer_tiny_add(output, kDataFrameHeaderSize), + FillHeader(grpc_slice_buffer_tiny_add(output, kHeadersFrameHeaderSize), frame_type, options.stream_id, len, flags); - options.stats->framing_bytes += kDataFrameHeaderSize; + options.stats->framing_bytes += kHeadersFrameHeaderSize; grpc_slice_buffer_move_first(raw.c_slice_buffer(), len, output); frame_type = GRPC_CHTTP2_FRAME_CONTINUATION; @@ -475,31 +475,25 @@ void Encoder::EncodeRepeatingSliceValue(const absl::string_view& key, void TimeoutCompressorImpl::EncodeWith(absl::string_view key, Timestamp deadline, Encoder* encoder) { - Timeout timeout = Timeout::FromDuration(deadline - Timestamp::Now()); + const Timeout timeout = Timeout::FromDuration(deadline - Timestamp::Now()); auto& table = encoder->hpack_table(); - for (auto it = previous_timeouts_.begin(); it != previous_timeouts_.end(); - ++it) { - double ratio = timeout.RatioVersus(it->timeout); + for (size_t i = 0; i < kNumPreviousValues; i++) { + const auto& previous = previous_timeouts_[i]; + if (!table.ConvertableToDynamicIndex(previous.index)) continue; + const double ratio = timeout.RatioVersus(previous.timeout); // If the timeout we're sending is shorter than a previous timeout, but // within 3% of it, we'll consider sending it. - if (ratio > -3 && ratio <= 0 && - table.ConvertableToDynamicIndex(it->index)) { - encoder->EmitIndexed(table.DynamicIndex(it->index)); - // Put this timeout to the front of the queue - forces common timeouts to - // be considered earlier. - std::swap(*it, *previous_timeouts_.begin()); + if (ratio > -3 && ratio <= 0) { + encoder->EmitIndexed(table.DynamicIndex(previous.index)); return; } } - // Clean out some expired timeouts. - while (!previous_timeouts_.empty() && - !table.ConvertableToDynamicIndex(previous_timeouts_.back().index)) { - previous_timeouts_.pop_back(); - } Slice encoded = timeout.Encode(); uint32_t index = encoder->EmitLitHdrWithNonBinaryStringKeyIncIdx( Slice::FromStaticString(key), std::move(encoded)); - previous_timeouts_.push_back(PreviousTimeout{timeout, index}); + uint32_t i = next_previous_value_; + ++next_previous_value_; + previous_timeouts_[i % kNumPreviousValues] = PreviousTimeout{timeout, index}; } Encoder::Encoder(HPackCompressor* compressor, bool use_true_binary_metadata, diff --git a/src/core/ext/transport/chttp2/transport/hpack_encoder.h b/src/core/ext/transport/chttp2/transport/hpack_encoder.h index 12e2df3eb6c..1ec60140151 100644 --- a/src/core/ext/transport/chttp2/transport/hpack_encoder.h +++ b/src/core/ext/transport/chttp2/transport/hpack_encoder.h @@ -276,8 +276,10 @@ class Compressor { }; struct PreviousTimeout { - Timeout timeout; - uint32_t index; + Timeout timeout = Timeout::FromDuration(Duration::Zero()); + // Dynamic table index of a previously sent timeout + // 0 is guaranteed not in the dynamic table so is a safe initializer + uint32_t index = 0; }; class TimeoutCompressorImpl { @@ -285,7 +287,9 @@ class TimeoutCompressorImpl { void EncodeWith(absl::string_view key, Timestamp deadline, Encoder* encoder); private: - std::vector previous_timeouts_; + static constexpr const size_t kNumPreviousValues = 5; + PreviousTimeout previous_timeouts_[kNumPreviousValues]; + uint32_t next_previous_value_ = 0; }; template @@ -327,6 +331,11 @@ class HPackCompressor { HPackCompressor() = default; ~HPackCompressor() = default; + HPackCompressor(const HPackCompressor&) = delete; + HPackCompressor& operator=(const HPackCompressor&) = delete; + HPackCompressor(HPackCompressor&&) = default; + HPackCompressor& operator=(HPackCompressor&&) = default; + // Maximum table size we'll actually use. static constexpr uint32_t kMaxTableSize = 1024 * 1024; diff --git a/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h b/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h index 623e50bf620..9716333773d 100644 --- a/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +++ b/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h @@ -21,8 +21,7 @@ #include #include - -#include "absl/container/inlined_vector.h" +#include #include "src/core/ext/transport/chttp2/transport/hpack_constants.h" @@ -59,6 +58,7 @@ class HPackEncoderTable { table_elems_ - index; } // Check if an element index is convertable to a dynamic index + // Note that 0 is always not convertable bool ConvertableToDynamicIndex(uint32_t index) const { return index > tail_remote_index_; } @@ -73,8 +73,7 @@ class HPackEncoderTable { uint32_t table_elems_ = 0; uint32_t table_size_ = 0; // The size of each element in the HPACK table. - absl::InlinedVector - elem_size_; + std::vector elem_size_; }; } // namespace grpc_core diff --git a/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc b/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc index cbd316931ad..4e87d291d8c 100644 --- a/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +++ b/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc @@ -18,8 +18,6 @@ #include -#include - #include "absl/strings/str_format.h" #include "src/core/ext/transport/chttp2/transport/hpack_constants.h" @@ -61,13 +59,21 @@ absl::Status MakeStreamError(absl::Status error) { } // namespace absl::Status HpackParseResult::Materialize() const { - if (materialized_status_.has_value()) return *materialized_status_; - materialized_status_ = BuildMaterialized(); - return *materialized_status_; + if (state_ != nullptr && state_->materialized_status.has_value()) { + return *state_->materialized_status; + } + absl::Status materialized_status = BuildMaterialized(); + if (!materialized_status.ok()) { + // We can safely assume state_ is not null here, since BuildMaterialized + // returns ok if it is. + state_->materialized_status = materialized_status; + } + return materialized_status; } absl::Status HpackParseResult::BuildMaterialized() const { - switch (status_.get()) { + if (state_ == nullptr) return absl::OkStatus(); + switch (state_->status.get()) { case HpackParseStatus::kOk: return absl::OkStatus(); case HpackParseStatus::kEof: @@ -77,17 +83,17 @@ absl::Status HpackParseResult::BuildMaterialized() const { Crash("Materialize() called on moved-from object"); break; case HpackParseStatus::kInvalidMetadata: - if (key_.empty()) { + if (state_->key.empty()) { return MakeStreamError(absl::InternalError( - ValidateMetadataResultToString(validate_metadata_result_))); + ValidateMetadataResultToString(state_->validate_metadata_result))); } else { return MakeStreamError(absl::InternalError(absl::StrCat( - ValidateMetadataResultToString(validate_metadata_result_), ": ", - key_))); + ValidateMetadataResultToString(state_->validate_metadata_result), + ": ", state_->key))); } case HpackParseStatus::kSoftMetadataLimitExceeded: case HpackParseStatus::kHardMetadataLimitExceeded: { - const auto& e = metadata_limit_exceeded_; + const auto& e = state_->metadata_limit_exceeded; // Collect a summary of sizes so far for debugging // Do not collect contents, for fear of exposing PII. std::string summary; @@ -97,35 +103,36 @@ absl::Status HpackParseResult::BuildMaterialized() const { } return MakeStreamError(absl::ResourceExhaustedError(absl::StrCat( "received metadata size exceeds ", - status_.get() == HpackParseStatus::kSoftMetadataLimitExceeded + state_->status.get() == HpackParseStatus::kSoftMetadataLimitExceeded ? "soft" : "hard", " limit (", e.frame_length, " vs. ", e.limit, ")", summary.empty() ? "" : "; ", summary))); } case HpackParseStatus::kHardMetadataLimitExceededByKey: { - const auto& e = metadata_limit_exceeded_by_atom_; + const auto& e = state_->metadata_limit_exceeded_by_atom; return MakeStreamError(absl::ResourceExhaustedError( absl::StrCat("received metadata size exceeds hard limit (key length ", e.atom_length, " vs. ", e.limit, ")"))); } case HpackParseStatus::kHardMetadataLimitExceededByValue: { - const auto& e = metadata_limit_exceeded_by_atom_; + const auto& e = state_->metadata_limit_exceeded_by_atom; return MakeStreamError(absl::ResourceExhaustedError(absl::StrCat( "received metadata size exceeds hard limit (value length ", e.atom_length, " vs. ", e.limit, ")"))); } case HpackParseStatus::kMetadataParseError: - if (!key_.empty()) { + if (!state_->key.empty()) { return MakeStreamError(absl::InternalError( - absl::StrCat("Error parsing '", key_, "' metadata"))); + absl::StrCat("Error parsing '", state_->key, "' metadata"))); } else { return MakeStreamError(absl::InternalError("Error parsing metadata")); } case HpackParseStatus::kUnbase64Failed: - if (!key_.empty()) { - return MakeStreamError(absl::InternalError(absl::StrCat( - "Error parsing '", key_, "' metadata: illegal base64 encoding"))); + if (!state_->key.empty()) { + return MakeStreamError(absl::InternalError( + absl::StrCat("Error parsing '", state_->key, + "' metadata: illegal base64 encoding"))); } else { return MakeStreamError(absl::InternalError( absl::StrCat("Failed base64 decoding metadata"))); @@ -137,22 +144,23 @@ absl::Status HpackParseResult::BuildMaterialized() const { return absl::InternalError(absl::StrFormat( "integer overflow in hpack integer decoding: have 0x%08x, " "got byte 0x%02x", - varint_out_of_range_.value, varint_out_of_range_.last_byte)); + state_->varint_out_of_range.value, + state_->varint_out_of_range.last_byte)); case HpackParseStatus::kIllegalTableSizeChange: return absl::InternalError(absl::StrCat( - "Attempt to make hpack table ", illegal_table_size_change_.new_size, - " bytes when max is ", illegal_table_size_change_.max_size, - " bytes")); + "Attempt to make hpack table ", + state_->illegal_table_size_change.new_size, " bytes when max is ", + state_->illegal_table_size_change.max_size, " bytes")); case HpackParseStatus::kAddBeforeTableSizeUpdated: return absl::InternalError( absl::StrCat("HPACK max table size reduced to ", - illegal_table_size_change_.new_size, + state_->illegal_table_size_change.new_size, " but not reflected by hpack stream (still at ", - illegal_table_size_change_.max_size, ")")); + state_->illegal_table_size_change.max_size, ")")); case HpackParseStatus::kParseHuffFailed: - if (!key_.empty()) { - return absl::InternalError( - absl::StrCat("Failed huffman decoding '", key_, "' metadata")); + if (!state_->key.empty()) { + return absl::InternalError(absl::StrCat("Failed huffman decoding '", + state_->key, "' metadata")); } else { return absl::InternalError( absl::StrCat("Failed huffman decoding metadata")); @@ -166,7 +174,7 @@ absl::Status HpackParseResult::BuildMaterialized() const { "Malicious varint encoding detected in HPACK stream"); case HpackParseStatus::kInvalidHpackIndex: return absl::InternalError(absl::StrFormat( - "Invalid HPACK index received (%d)", invalid_hpack_index_)); + "Invalid HPACK index received (%d)", state_->invalid_hpack_index)); case HpackParseStatus::kIllegalHpackOpCode: return absl::InternalError("Illegal hpack op code"); } diff --git a/src/core/ext/transport/chttp2/transport/hpack_parse_result.h b/src/core/ext/transport/chttp2/transport/hpack_parse_result.h index 188b1563b47..4a551e94475 100644 --- a/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +++ b/src/core/ext/transport/chttp2/transport/hpack_parse_result.h @@ -31,6 +31,8 @@ #include #include "src/core/lib/gprpp/crash.h" +#include "src/core/lib/gprpp/ref_counted.h" +#include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/surface/validate_metadata.h" #include "src/core/lib/transport/metadata_batch.h" @@ -128,10 +130,18 @@ class HpackParseResult { public: HpackParseResult() : HpackParseResult{HpackParseStatus::kOk} {} - bool ok() const { return status_.get() == HpackParseStatus::kOk; } - bool stream_error() const { return IsStreamError(status_.get()); } - bool connection_error() const { return IsConnectionError(status_.get()); } - bool ephemeral() const { return IsEphemeralError(status_.get()); } + bool ok() const { + return state_ == nullptr || state_->status.get() == HpackParseStatus::kOk; + } + bool stream_error() const { + return state_ != nullptr && IsStreamError(state_->status.get()); + } + bool connection_error() const { + return state_ != nullptr && IsConnectionError(state_->status.get()); + } + bool ephemeral() const { + return state_ != nullptr && IsEphemeralError(state_->status.get()); + } std::unique_ptr PersistentStreamErrorOrNullptr() const { if (ok() || connection_error() || ephemeral()) return nullptr; @@ -154,20 +164,22 @@ class HpackParseResult { static HpackParseResult FromStatusWithKey(HpackParseStatus status, absl::string_view key) { auto r = FromStatus(status); - r.key_ = std::string(key); + if (r.state_ != nullptr) { + r.state_->key = std::string(key); + } return r; } static HpackParseResult MetadataParseError(absl::string_view key) { HpackParseResult r{HpackParseStatus::kMetadataParseError}; - r.key_ = std::string(key); + r.state_->key = std::string(key); return r; } static HpackParseResult AddBeforeTableSizeUpdated(uint32_t current_size, uint32_t max_size) { HpackParseResult p{HpackParseStatus::kAddBeforeTableSizeUpdated}; - p.illegal_table_size_change_ = + p.state_->illegal_table_size_change = IllegalTableSizeChange{current_size, max_size}; return p; } @@ -184,8 +196,8 @@ class HpackParseResult { absl::string_view key) { GPR_DEBUG_ASSERT(result != ValidateMetadataResult::kOk); HpackParseResult p{HpackParseStatus::kInvalidMetadata}; - p.key_ = std::string(key); - p.validate_metadata_result_ = result; + p.state_->key = std::string(key); + p.state_->validate_metadata_result = result; return p; } @@ -196,20 +208,21 @@ class HpackParseResult { static HpackParseResult VarintOutOfRangeError(uint32_t value, uint8_t last_byte) { HpackParseResult p{HpackParseStatus::kVarintOutOfRange}; - p.varint_out_of_range_ = VarintOutOfRange{last_byte, value}; + p.state_->varint_out_of_range = VarintOutOfRange{last_byte, value}; return p; } static HpackParseResult InvalidHpackIndexError(uint32_t index) { HpackParseResult p{HpackParseStatus::kInvalidHpackIndex}; - p.invalid_hpack_index_ = index; + p.state_->invalid_hpack_index = index; return p; } static HpackParseResult IllegalTableSizeChangeError(uint32_t new_size, uint32_t max_size) { HpackParseResult p{HpackParseStatus::kIllegalTableSizeChange}; - p.illegal_table_size_change_ = IllegalTableSizeChange{new_size, max_size}; + p.state_->illegal_table_size_change = + IllegalTableSizeChange{new_size, max_size}; return p; } @@ -220,7 +233,7 @@ class HpackParseResult { static HpackParseResult SoftMetadataLimitExceededError( grpc_metadata_batch* metadata, uint32_t frame_length, uint32_t limit) { HpackParseResult p{HpackParseStatus::kSoftMetadataLimitExceeded}; - p.metadata_limit_exceeded_ = + p.state_->metadata_limit_exceeded = MetadataLimitExceeded{frame_length, limit, metadata}; return p; } @@ -228,7 +241,7 @@ class HpackParseResult { static HpackParseResult HardMetadataLimitExceededError( grpc_metadata_batch* metadata, uint32_t frame_length, uint32_t limit) { HpackParseResult p{HpackParseStatus::kHardMetadataLimitExceeded}; - p.metadata_limit_exceeded_ = + p.state_->metadata_limit_exceeded = MetadataLimitExceeded{frame_length, limit, metadata}; return p; } @@ -236,7 +249,7 @@ class HpackParseResult { static HpackParseResult HardMetadataLimitExceededByKeyError( uint32_t key_length, uint32_t limit) { HpackParseResult p{HpackParseStatus::kHardMetadataLimitExceededByKey}; - p.metadata_limit_exceeded_by_atom_ = + p.state_->metadata_limit_exceeded_by_atom = MetadataLimitExceededByAtom{key_length, limit}; return p; } @@ -244,9 +257,9 @@ class HpackParseResult { static HpackParseResult HardMetadataLimitExceededByValueError( absl::string_view key, uint32_t value_length, uint32_t limit) { HpackParseResult p{HpackParseStatus::kHardMetadataLimitExceededByValue}; - p.metadata_limit_exceeded_by_atom_ = + p.state_->metadata_limit_exceeded_by_atom = MetadataLimitExceededByAtom{value_length, limit}; - p.key_ = std::string(key); + p.state_->key = std::string(key); return p; } @@ -255,7 +268,13 @@ class HpackParseResult { absl::Status Materialize() const; private: - explicit HpackParseResult(HpackParseStatus status) : status_(status) {} + explicit HpackParseResult(HpackParseStatus status) { + // Dynamically allocate state if status is not ok. + if (status != HpackParseStatus::kOk) { + state_ = MakeRefCounted(status); + } + } + absl::Status BuildMaterialized() const; struct VarintOutOfRange { @@ -300,25 +319,31 @@ class HpackParseResult { HpackParseStatus status_; }; - StatusWrapper status_; - union { - // Set if status == kInvalidMetadata - ValidateMetadataResult validate_metadata_result_; - // Set if status == kVarintOutOfRange - VarintOutOfRange varint_out_of_range_; - // Set if status == kInvalidHpackIndex - uint32_t invalid_hpack_index_; - // Set if status == kHardMetadataLimitExceeded or - // kSoftMetadataLimitExceeded - MetadataLimitExceeded metadata_limit_exceeded_; - // Set if status == kHardMetadataLimitExceededByKey or - // kHardMetadataLimitExceededByValue - MetadataLimitExceededByAtom metadata_limit_exceeded_by_atom_; - // Set if status == kIllegalTableSizeChange - IllegalTableSizeChange illegal_table_size_change_; + struct HpackParseResultState : public RefCounted { + explicit HpackParseResultState(HpackParseStatus incoming_status) + : status(incoming_status) {} + StatusWrapper status; + union { + // Set if status == kInvalidMetadata + ValidateMetadataResult validate_metadata_result; + // Set if status == kVarintOutOfRange + VarintOutOfRange varint_out_of_range; + // Set if status == kInvalidHpackIndex + uint32_t invalid_hpack_index; + // Set if status == kHardMetadataLimitExceeded or + // kSoftMetadataLimitExceeded + MetadataLimitExceeded metadata_limit_exceeded; + // Set if status == kHardMetadataLimitExceededByKey or + // kHardMetadataLimitExceededByValue + MetadataLimitExceededByAtom metadata_limit_exceeded_by_atom; + // Set if status == kIllegalTableSizeChange + IllegalTableSizeChange illegal_table_size_change; + }; + std::string key; + mutable absl::optional materialized_status; }; - std::string key_; - mutable absl::optional materialized_status_; + + RefCountedPtr state_ = nullptr; }; } // namespace grpc_core diff --git a/src/core/ext/transport/chttp2/transport/hpack_parser.cc b/src/core/ext/transport/chttp2/transport/hpack_parser.cc index 3ca3e5c8121..31bf46456f1 100644 --- a/src/core/ext/transport/chttp2/transport/hpack_parser.cc +++ b/src/core/ext/transport/chttp2/transport/hpack_parser.cc @@ -91,12 +91,13 @@ constexpr Base64InverseTable kBase64InverseTable; class HPackParser::Input { public: Input(grpc_slice_refcount* current_slice_refcount, const uint8_t* begin, - const uint8_t* end, HpackParseResult& error) + const uint8_t* end, absl::BitGenRef bitsrc, HpackParseResult& error) : current_slice_refcount_(current_slice_refcount), begin_(begin), end_(end), frontier_(begin), - error_(error) {} + error_(error), + bitsrc_(bitsrc) {} // If input is backed by a slice, retrieve its refcount. If not, return // nullptr. @@ -279,6 +280,9 @@ class HPackParser::Input { // Get the frontier - for buffering should we fail due to eof const uint8_t* frontier() const { return frontier_; } + // Access the rng + absl::BitGenRef bitsrc() { return bitsrc_; } + private: // Helper to set the error to out of range for ParseVarint absl::optional ParseVarintOutOfRange(uint32_t value, @@ -324,6 +328,8 @@ class HPackParser::Input { // (We've failed parsing a request for whatever reason, but we're still // continuing the connection so we need to see future opcodes after this bit). size_t skip_bytes_ = 0; + // Random number generator + absl::BitGenRef bitsrc_; }; absl::string_view HPackParser::String::string_view() const { @@ -1144,7 +1150,7 @@ void HPackParser::BeginFrame(grpc_metadata_batch* metadata_buffer, } grpc_error_handle HPackParser::Parse( - const grpc_slice& slice, bool is_last, + const grpc_slice& slice, bool is_last, absl::BitGenRef bitsrc, CallTracerAnnotationInterface* call_tracer) { if (GPR_UNLIKELY(!unparsed_bytes_.empty())) { unparsed_bytes_.insert(unparsed_bytes_.end(), GRPC_SLICE_START_PTR(slice), @@ -1155,20 +1161,23 @@ grpc_error_handle HPackParser::Parse( return absl::OkStatus(); } std::vector buffer = std::move(unparsed_bytes_); - return ParseInput(Input(nullptr, buffer.data(), - buffer.data() + buffer.size(), state_.frame_error), - is_last, call_tracer); + return ParseInput( + Input(nullptr, buffer.data(), buffer.data() + buffer.size(), bitsrc, + state_.frame_error), + is_last, call_tracer); } - return ParseInput(Input(slice.refcount, GRPC_SLICE_START_PTR(slice), - GRPC_SLICE_END_PTR(slice), state_.frame_error), - is_last, call_tracer); + return ParseInput( + Input(slice.refcount, GRPC_SLICE_START_PTR(slice), + GRPC_SLICE_END_PTR(slice), bitsrc, state_.frame_error), + is_last, call_tracer); } grpc_error_handle HPackParser::ParseInput( Input input, bool is_last, CallTracerAnnotationInterface* call_tracer) { ParseInputInner(&input); if (is_last && is_boundary()) { - if (state_.metadata_early_detection.Reject(state_.frame_length)) { + if (state_.metadata_early_detection.Reject(state_.frame_length, + input.bitsrc())) { HandleMetadataSoftSizeLimitExceeded(&input); } global_stats().IncrementHttp2MetadataSize(state_.frame_length); diff --git a/src/core/ext/transport/chttp2/transport/hpack_parser.h b/src/core/ext/transport/chttp2/transport/hpack_parser.h index 631f9d5a62d..5edb34b9609 100644 --- a/src/core/ext/transport/chttp2/transport/hpack_parser.h +++ b/src/core/ext/transport/chttp2/transport/hpack_parser.h @@ -28,6 +28,7 @@ #include #include +#include "absl/random/bit_gen_ref.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/types/optional.h" @@ -87,9 +88,11 @@ class HPackParser { HPackParser(); ~HPackParser(); - // Non-copyable/movable + // Non-copyable HPackParser(const HPackParser&) = delete; HPackParser& operator=(const HPackParser&) = delete; + HPackParser(HPackParser&&) = default; + HPackParser& operator=(HPackParser&&) = default; // Begin parsing a new frame // Sink receives each parsed header, @@ -101,6 +104,7 @@ class HPackParser { void StopBufferingFrame() { metadata_buffer_ = nullptr; } // Parse one slice worth of data grpc_error_handle Parse(const grpc_slice& slice, bool is_last, + absl::BitGenRef bitsrc, CallTracerAnnotationInterface* call_tracer); // Reset state ready for the next BeginFrame void FinishFrame(); @@ -238,10 +242,6 @@ class HPackParser { uint32_t frame_length = 0; // Length of the string being parsed uint32_t string_length; - // How many more dynamic table updates are allowed - uint8_t dynamic_table_updates_allowed; - // Current parse state - ParseState parse_state = ParseState::kTop; // RED for overly large metadata sets RandomEarlyDetection metadata_early_detection; // Should the current header be added to the hpack table? @@ -250,6 +250,10 @@ class HPackParser { bool is_string_huff_compressed; // Is the value being parsed binary? bool is_binary_header; + // How many more dynamic table updates are allowed + uint8_t dynamic_table_updates_allowed; + // Current parse state + ParseState parse_state = ParseState::kTop; absl::variant key; }; diff --git a/src/core/ext/transport/chttp2/transport/hpack_parser_table.h b/src/core/ext/transport/chttp2/transport/hpack_parser_table.h index c9839dae771..f8684511f5f 100644 --- a/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +++ b/src/core/ext/transport/chttp2/transport/hpack_parser_table.h @@ -45,6 +45,8 @@ class HPackTable { HPackTable(const HPackTable&) = delete; HPackTable& operator=(const HPackTable&) = delete; + HPackTable(HPackTable&&) = default; + HPackTable& operator=(HPackTable&&) = default; void SetMaxBytes(uint32_t max_bytes); bool SetCurrentTableSize(uint32_t bytes); @@ -151,7 +153,7 @@ class HPackTable { // HPack table entries MementoRingBuffer entries_; // Static mementos - const StaticMementos* const static_mementos_ = GetStaticMementos(); + const StaticMementos* static_mementos_ = GetStaticMementos(); }; } // namespace grpc_core diff --git a/src/core/ext/transport/chttp2/transport/http2_settings.cc b/src/core/ext/transport/chttp2/transport/http2_settings.cc index d966a7aebea..d9e43412502 100644 --- a/src/core/ext/transport/chttp2/transport/http2_settings.cc +++ b/src/core/ext/transport/chttp2/transport/http2_settings.cc @@ -22,43 +22,133 @@ #include "src/core/ext/transport/chttp2/transport/http2_settings.h" +#include "absl/strings/str_cat.h" + +#include "src/core/ext/transport/chttp2/transport/frame.h" #include "src/core/lib/gpr/useful.h" #include "src/core/lib/transport/http2_errors.h" -const uint16_t grpc_setting_id_to_wire_id[] = {1, 2, 3, 4, 5, 6, 65027, 65028}; +namespace grpc_core { + +void Http2Settings::Diff( + bool is_first_send, const Http2Settings& old, + absl::FunctionRef cb) const { + if (header_table_size_ != old.header_table_size_) { + cb(kHeaderTableSizeWireId, header_table_size_); + } + if (enable_push_ != old.enable_push_) { + cb(kEnablePushWireId, enable_push_); + } + if (max_concurrent_streams_ != old.max_concurrent_streams_) { + cb(kMaxConcurrentStreamsWireId, max_concurrent_streams_); + } + if (is_first_send || initial_window_size_ != old.initial_window_size_) { + cb(kInitialWindowSizeWireId, initial_window_size_); + } + if (max_frame_size_ != old.max_frame_size_) { + cb(kMaxFrameSizeWireId, max_frame_size_); + } + if (max_header_list_size_ != old.max_header_list_size_) { + cb(kMaxHeaderListSizeWireId, max_header_list_size_); + } + if (allow_true_binary_metadata_ != old.allow_true_binary_metadata_) { + cb(kGrpcAllowTrueBinaryMetadataWireId, allow_true_binary_metadata_); + } + if (preferred_receive_crypto_message_size_ != + old.preferred_receive_crypto_message_size_) { + cb(kGrpcPreferredReceiveCryptoFrameSizeWireId, + preferred_receive_crypto_message_size_); + } +} + +std::string Http2Settings::WireIdToName(uint16_t wire_id) { + switch (wire_id) { + case kHeaderTableSizeWireId: + return std::string(header_table_size_name()); + case kEnablePushWireId: + return std::string(enable_push_name()); + case kMaxConcurrentStreamsWireId: + return std::string(max_concurrent_streams_name()); + case kInitialWindowSizeWireId: + return std::string(initial_window_size_name()); + case kMaxFrameSizeWireId: + return std::string(max_frame_size_name()); + case kMaxHeaderListSizeWireId: + return std::string(max_header_list_size_name()); + case kGrpcAllowTrueBinaryMetadataWireId: + return std::string(allow_true_binary_metadata_name()); + case kGrpcPreferredReceiveCryptoFrameSizeWireId: + return std::string(preferred_receive_crypto_message_size_name()); + default: + return absl::StrCat("UNKNOWN (", wire_id, ")"); + } +} + +grpc_http2_error_code Http2Settings::Apply(uint16_t key, uint32_t value) { + switch (key) { + case kHeaderTableSizeWireId: + header_table_size_ = value; + break; + case kEnablePushWireId: + if (value > 1) return GRPC_HTTP2_PROTOCOL_ERROR; + enable_push_ = value != 0; + break; + case kMaxConcurrentStreamsWireId: + max_concurrent_streams_ = value; + break; + case kInitialWindowSizeWireId: + if (value > max_initial_window_size()) { + return GRPC_HTTP2_FLOW_CONTROL_ERROR; + } + initial_window_size_ = value; + break; + case kMaxFrameSizeWireId: + if (value < min_max_frame_size() || value > max_max_frame_size()) { + return GRPC_HTTP2_PROTOCOL_ERROR; + } + max_frame_size_ = value; + break; + case kMaxHeaderListSizeWireId: + max_header_list_size_ = std::min(value, 16777216u); + break; + case kGrpcAllowTrueBinaryMetadataWireId: + if (value > 1) return GRPC_HTTP2_PROTOCOL_ERROR; + allow_true_binary_metadata_ = value != 0; + break; + case kGrpcPreferredReceiveCryptoFrameSizeWireId: + preferred_receive_crypto_message_size_ = + Clamp(value, min_preferred_receive_crypto_message_size(), + max_preferred_receive_crypto_message_size()); + break; + } + return GRPC_HTTP2_NO_ERROR; +} -bool grpc_wire_id_to_setting_id(uint32_t wire_id, grpc_chttp2_setting_id* out) { - uint32_t i = wire_id - 1; - uint32_t x = i % 256; - uint32_t y = i / 256; - uint32_t h = x; - switch (y) { - case 254: - h += 4; +absl::optional Http2SettingsManager::MaybeSendUpdate() { + switch (update_state_) { + case UpdateState::kSending: + return absl::nullopt; + case UpdateState::kIdle: + if (local_ == sent_) return absl::nullopt; + break; + case UpdateState::kFirst: break; } - *out = static_cast(h); - return h < GPR_ARRAY_SIZE(grpc_setting_id_to_wire_id) && - grpc_setting_id_to_wire_id[h] == wire_id; + Http2SettingsFrame frame; + local_.Diff(update_state_ == UpdateState::kFirst, sent_, + [&frame](uint16_t key, uint32_t value) { + frame.settings.emplace_back(key, value); + }); + sent_ = local_; + update_state_ = UpdateState::kSending; + return frame; +} + +bool Http2SettingsManager::AckLastSend() { + if (update_state_ != UpdateState::kSending) return false; + update_state_ = UpdateState::kIdle; + acked_ = sent_; + return true; } -const grpc_chttp2_setting_parameters - grpc_chttp2_settings_parameters[GRPC_CHTTP2_NUM_SETTINGS] = { - {"HEADER_TABLE_SIZE", 4096u, 0u, 4294967295u, - GRPC_CHTTP2_CLAMP_INVALID_VALUE, GRPC_HTTP2_PROTOCOL_ERROR}, - {"ENABLE_PUSH", 1u, 0u, 1u, GRPC_CHTTP2_DISCONNECT_ON_INVALID_VALUE, - GRPC_HTTP2_PROTOCOL_ERROR}, - {"MAX_CONCURRENT_STREAMS", 4294967295u, 0u, 4294967295u, - GRPC_CHTTP2_DISCONNECT_ON_INVALID_VALUE, GRPC_HTTP2_PROTOCOL_ERROR}, - {"INITIAL_WINDOW_SIZE", 65535u, 0u, 2147483647u, - GRPC_CHTTP2_DISCONNECT_ON_INVALID_VALUE, - GRPC_HTTP2_FLOW_CONTROL_ERROR}, - {"MAX_FRAME_SIZE", 16384u, 16384u, 16777215u, - GRPC_CHTTP2_DISCONNECT_ON_INVALID_VALUE, GRPC_HTTP2_PROTOCOL_ERROR}, - {"MAX_HEADER_LIST_SIZE", 16777216u, 0u, 16777216u, - GRPC_CHTTP2_CLAMP_INVALID_VALUE, GRPC_HTTP2_PROTOCOL_ERROR}, - {"GRPC_ALLOW_TRUE_BINARY_METADATA", 0u, 0u, 1u, - GRPC_CHTTP2_CLAMP_INVALID_VALUE, GRPC_HTTP2_PROTOCOL_ERROR}, - {"GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE", 0u, 16384u, 2147483647u, - GRPC_CHTTP2_CLAMP_INVALID_VALUE, GRPC_HTTP2_PROTOCOL_ERROR}, -}; +} // namespace grpc_core diff --git a/src/core/ext/transport/chttp2/transport/http2_settings.h b/src/core/ext/transport/chttp2/transport/http2_settings.h index 314a5c0414f..8578d913407 100644 --- a/src/core/ext/transport/chttp2/transport/http2_settings.h +++ b/src/core/ext/transport/chttp2/transport/http2_settings.h @@ -14,10 +14,6 @@ // limitations under the License. // -// -// Automatically generated by tools/codegen/core/gen_settings_ids.py -// - #ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HTTP2_SETTINGS_H #define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HTTP2_SETTINGS_H @@ -25,38 +21,147 @@ #include -typedef enum { - GRPC_CHTTP2_SETTINGS_HEADER_TABLE_SIZE = 0, // wire id 1 - GRPC_CHTTP2_SETTINGS_ENABLE_PUSH = 1, // wire id 2 - GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS = 2, // wire id 3 - GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE = 3, // wire id 4 - GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE = 4, // wire id 5 - GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE = 5, // wire id 6 - GRPC_CHTTP2_SETTINGS_GRPC_ALLOW_TRUE_BINARY_METADATA = 6, // wire id 65027 - GRPC_CHTTP2_SETTINGS_GRPC_PREFERRED_RECEIVE_CRYPTO_FRAME_SIZE = - 7, // wire id 65028 -} grpc_chttp2_setting_id; - -#define GRPC_CHTTP2_NUM_SETTINGS 8 -extern const uint16_t grpc_setting_id_to_wire_id[]; - -bool grpc_wire_id_to_setting_id(uint32_t wire_id, grpc_chttp2_setting_id* out); - -typedef enum { - GRPC_CHTTP2_CLAMP_INVALID_VALUE, - GRPC_CHTTP2_DISCONNECT_ON_INVALID_VALUE -} grpc_chttp2_invalid_value_behavior; - -typedef struct { - const char* name; - uint32_t default_value; - uint32_t min_value; - uint32_t max_value; - grpc_chttp2_invalid_value_behavior invalid_value_behavior; - uint32_t error_value; -} grpc_chttp2_setting_parameters; - -extern const grpc_chttp2_setting_parameters - grpc_chttp2_settings_parameters[GRPC_CHTTP2_NUM_SETTINGS]; +#include + +#include "absl/functional/function_ref.h" +#include "absl/strings/string_view.h" +#include "absl/types/optional.h" + +#include "src/core/ext/transport/chttp2/transport/frame.h" +#include "src/core/lib/gpr/useful.h" +#include "src/core/lib/transport/http2_errors.h" + +namespace grpc_core { + +class Http2Settings { + public: + enum : uint16_t { + kHeaderTableSizeWireId = 1, + kEnablePushWireId = 2, + kMaxConcurrentStreamsWireId = 3, + kInitialWindowSizeWireId = 4, + kMaxFrameSizeWireId = 5, + kMaxHeaderListSizeWireId = 6, + kGrpcAllowTrueBinaryMetadataWireId = 65027, + kGrpcPreferredReceiveCryptoFrameSizeWireId = 65028, + }; + + void Diff(bool is_first_send, const Http2Settings& old, + absl::FunctionRef cb) const; + GRPC_MUST_USE_RESULT grpc_http2_error_code Apply(uint16_t key, + uint32_t value); + uint32_t header_table_size() const { return header_table_size_; } + uint32_t max_concurrent_streams() const { return max_concurrent_streams_; } + uint32_t initial_window_size() const { return initial_window_size_; } + uint32_t max_frame_size() const { return max_frame_size_; } + uint32_t max_header_list_size() const { return max_header_list_size_; } + uint32_t preferred_receive_crypto_message_size() const { + return preferred_receive_crypto_message_size_; + } + bool enable_push() const { return enable_push_; } + bool allow_true_binary_metadata() const { + return allow_true_binary_metadata_; + } + + void SetHeaderTableSize(uint32_t x) { header_table_size_ = x; } + void SetMaxConcurrentStreams(uint32_t x) { max_concurrent_streams_ = x; } + void SetInitialWindowSize(uint32_t x) { + initial_window_size_ = std::min(x, max_initial_window_size()); + } + void SetEnablePush(bool x) { enable_push_ = x; } + void SetMaxHeaderListSize(uint32_t x) { + max_header_list_size_ = std::min(x, 16777216u); + } + void SetAllowTrueBinaryMetadata(bool x) { allow_true_binary_metadata_ = x; } + void SetMaxFrameSize(uint32_t x) { + max_frame_size_ = Clamp(x, min_max_frame_size(), max_max_frame_size()); + } + void SetPreferredReceiveCryptoMessageSize(uint32_t x) { + preferred_receive_crypto_message_size_ = + Clamp(x, min_preferred_receive_crypto_message_size(), + max_preferred_receive_crypto_message_size()); + } + + static absl::string_view header_table_size_name() { + return "HEADER_TABLE_SIZE"; + } + static absl::string_view max_concurrent_streams_name() { + return "MAX_CONCURRENT_STREAMS"; + } + static absl::string_view initial_window_size_name() { + return "INITIAL_WINDOW_SIZE"; + } + static absl::string_view max_frame_size_name() { return "MAX_FRAME_SIZE"; } + static absl::string_view max_header_list_size_name() { + return "MAX_HEADER_LIST_SIZE"; + } + static absl::string_view enable_push_name() { return "ENABLE_PUSH"; } + static absl::string_view allow_true_binary_metadata_name() { + return "GRPC_ALLOW_TRUE_BINARY_METADATA"; + } + static absl::string_view preferred_receive_crypto_message_size_name() { + return "GRPC_PREFERRED_RECEIVE_MESSAGE_SIZE"; + } + + static uint32_t max_initial_window_size() { return 2147483647u; } + static uint32_t max_max_frame_size() { return 16777215u; } + static uint32_t min_max_frame_size() { return 16384u; } + static uint32_t min_preferred_receive_crypto_message_size() { return 16384u; } + static uint32_t max_preferred_receive_crypto_message_size() { + return 2147483647u; + } + + static std::string WireIdToName(uint16_t wire_id); + + bool operator==(const Http2Settings& rhs) const { + return header_table_size_ == rhs.header_table_size_ && + max_concurrent_streams_ == rhs.max_concurrent_streams_ && + initial_window_size_ == rhs.initial_window_size_ && + max_frame_size_ == rhs.max_frame_size_ && + max_header_list_size_ == rhs.max_header_list_size_ && + preferred_receive_crypto_message_size_ == + rhs.preferred_receive_crypto_message_size_ && + enable_push_ == rhs.enable_push_ && + allow_true_binary_metadata_ == rhs.allow_true_binary_metadata_; + } + + bool operator!=(const Http2Settings& rhs) const { return !operator==(rhs); } + + private: + uint32_t header_table_size_ = 4096; + uint32_t max_concurrent_streams_ = 4294967295u; + uint32_t initial_window_size_ = 65535u; + uint32_t max_frame_size_ = 16384u; + uint32_t max_header_list_size_ = 16777216u; + uint32_t preferred_receive_crypto_message_size_ = 0u; + bool enable_push_ = true; + bool allow_true_binary_metadata_ = false; +}; + +class Http2SettingsManager { + public: + Http2Settings& mutable_local() { return local_; } + const Http2Settings& local() const { return local_; } + const Http2Settings& acked() const { return acked_; } + Http2Settings& mutable_peer() { return peer_; } + const Http2Settings& peer() const { return peer_; } + + absl::optional MaybeSendUpdate(); + GRPC_MUST_USE_RESULT bool AckLastSend(); + + private: + enum class UpdateState : uint8_t { + kFirst, + kSending, + kIdle, + }; + UpdateState update_state_ = UpdateState::kFirst; + Http2Settings local_; + Http2Settings sent_; + Http2Settings peer_; + Http2Settings acked_; +}; + +} // namespace grpc_core #endif // GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HTTP2_SETTINGS_H diff --git a/src/core/ext/transport/chttp2/transport/internal.h b/src/core/ext/transport/chttp2/transport/internal.h index 8bdc5156d5b..94976850645 100644 --- a/src/core/ext/transport/chttp2/transport/internal.h +++ b/src/core/ext/transport/chttp2/transport/internal.h @@ -24,12 +24,16 @@ #include #include +#include #include +#include #include "absl/container/flat_hash_map.h" -#include "absl/meta/type_traits.h" +#include "absl/random/random.h" +#include "absl/status/status.h" #include "absl/strings/string_view.h" #include "absl/types/optional.h" +#include "absl/types/variant.h" #include #include @@ -48,10 +52,15 @@ #include "src/core/ext/transport/chttp2/transport/hpack_parser.h" #include "src/core/ext/transport/chttp2/transport/http2_settings.h" #include "src/core/ext/transport/chttp2/transport/legacy_frame.h" +#include "src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h" #include "src/core/ext/transport/chttp2/transport/ping_abuse_policy.h" +#include "src/core/ext/transport/chttp2/transport/ping_callbacks.h" #include "src/core/ext/transport/chttp2/transport/ping_rate_policy.h" +#include "src/core/ext/transport/chttp2/transport/write_size_policy.h" +#include "src/core/lib/channel/call_tracer.h" #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channelz.h" +#include "src/core/lib/channel/tcp_tracer.h" #include "src/core/lib/debug/trace.h" #include "src/core/lib/gprpp/bitset.h" #include "src/core/lib/gprpp/debug_location.h" @@ -62,6 +71,7 @@ #include "src/core/lib/iomgr/combiner.h" #include "src/core/lib/iomgr/endpoint.h" #include "src/core/lib/iomgr/error.h" +#include "src/core/lib/iomgr/iomgr_fwd.h" #include "src/core/lib/resource_quota/arena.h" #include "src/core/lib/resource_quota/memory_quota.h" #include "src/core/lib/slice/slice.h" @@ -70,8 +80,6 @@ #include "src/core/lib/transport/connectivity_state.h" #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" -#include "src/core/lib/transport/transport_fwd.h" -#include "src/core/lib/transport/transport_impl.h" // Flag that this closure barrier may be covering a write in a pollset, and so // we should not complete this closure until we can prove that the write got @@ -144,18 +152,6 @@ typedef enum { const char* grpc_chttp2_initiate_write_reason_string( grpc_chttp2_initiate_write_reason reason); -struct grpc_chttp2_ping_queue { - grpc_closure_list lists[GRPC_CHTTP2_PCL_COUNT] = {}; - uint64_t inflight_id = 0; -}; - -struct grpc_chttp2_repeated_ping_state { - grpc_core::Timestamp last_ping_sent_time; - int pings_before_data_required; - absl::optional - delayed_ping_timer_handle; -}; - // deframer state for the overall http2 stream of bytes typedef enum { // prefix: one entry per http2 connection prefix byte @@ -207,18 +203,6 @@ struct grpc_chttp2_stream_link { grpc_chttp2_stream* next; grpc_chttp2_stream* prev; }; -// We keep several sets of connection wide parameters -typedef enum { - // The settings our peer has asked for (and we have acked) - GRPC_PEER_SETTINGS = 0, - // The settings we'd like to have - GRPC_LOCAL_SETTINGS, - // The settings we've published to our peer - GRPC_SENT_SETTINGS, - // The settings the peer has acked - GRPC_ACKED_SETTINGS, - GRPC_NUM_SETTING_SETS -} grpc_chttp2_setting_set; typedef enum { GRPC_CHTTP2_NO_GOAWAY_SEND, @@ -240,26 +224,40 @@ typedef enum { GRPC_CHTTP2_KEEPALIVE_STATE_DISABLED, } grpc_chttp2_keepalive_state; -struct grpc_chttp2_transport : public grpc_core::KeepsGrpcInitialized { +struct grpc_chttp2_transport final + : public grpc_core::Transport, + public grpc_core::FilterStackTransport, + public grpc_core::RefCounted, + public grpc_core::KeepsGrpcInitialized { grpc_chttp2_transport(const grpc_core::ChannelArgs& channel_args, grpc_endpoint* ep, bool is_client); - ~grpc_chttp2_transport(); - - // Make this be able to be contained in RefCountedPtr<> - // Can't yet make this derive from RefCounted because we need to keep - // `grpc_transport base` first. - // TODO(ctiller): Make a transport interface. - void IncrementRefCount() { refs.Ref(); } - void Unref() { - if (refs.Unref()) delete this; - } - grpc_core::RefCountedPtr Ref() { - IncrementRefCount(); - return grpc_core::RefCountedPtr(this); + ~grpc_chttp2_transport() override; + + void Orphan() override; + + size_t SizeOfStream() const override; + bool HackyDisableStreamOpBatchCoalescingInConnectedChannel() const override; + void PerformStreamOp(grpc_stream* gs, + grpc_transport_stream_op_batch* op) override; + void DestroyStream(grpc_stream* gs, + grpc_closure* then_schedule_closure) override; + + grpc_core::FilterStackTransport* filter_stack_transport() override { + return this; } + grpc_core::ClientTransport* client_transport() override { return nullptr; } + grpc_core::ServerTransport* server_transport() override { return nullptr; } + + absl::string_view GetTransportName() const override; + void InitStream(grpc_stream* gs, grpc_stream_refcount* refcount, + const void* server_data, grpc_core::Arena* arena) override; + void SetPollset(grpc_stream* stream, grpc_pollset* pollset) override; + void SetPollsetSet(grpc_stream* stream, + grpc_pollset_set* pollset_set) override; + void PerformOp(grpc_transport_op* op) override; + grpc_endpoint* GetEndpoint() override; - grpc_transport base; // must be first - grpc_core::RefCount refs; grpc_endpoint* ep; grpc_core::Slice peer_string; @@ -269,29 +267,46 @@ struct grpc_chttp2_transport : public grpc_core::KeepsGrpcInitialized { std::shared_ptr event_engine; grpc_core::Combiner* combiner; + absl::BitGen bitgen; grpc_closure* notify_on_receive_settings = nullptr; grpc_closure* notify_on_close = nullptr; - /// write execution state of the transport - grpc_chttp2_write_state write_state = GRPC_CHTTP2_WRITE_STATE_IDLE; - - /// is the transport destroying itself? - uint8_t destroying = false; /// has the upper layer closed the transport? grpc_error_handle closed_with_error; - /// is there a read request to the endpoint outstanding? - uint8_t endpoint_reading = 1; - /// various lists of streams grpc_chttp2_stream_list lists[STREAM_LIST_COUNT] = {}; /// maps stream id to grpc_chttp2_stream objects absl::flat_hash_map stream_map; + // Count of streams that should be counted against max concurrent streams but + // are not in stream_map (due to tarpitting). + size_t extra_streams = 0; + + class RemovedStreamHandle { + public: + RemovedStreamHandle() = default; + explicit RemovedStreamHandle( + grpc_core::RefCountedPtr t) + : transport_(std::move(t)) { + ++transport_->extra_streams; + } + ~RemovedStreamHandle() { + if (transport_ != nullptr) { + --transport_->extra_streams; + } + } + RemovedStreamHandle(const RemovedStreamHandle&) = delete; + RemovedStreamHandle& operator=(const RemovedStreamHandle&) = delete; + RemovedStreamHandle(RemovedStreamHandle&&) = default; + RemovedStreamHandle& operator=(RemovedStreamHandle&&) = default; + + private: + grpc_core::RefCountedPtr transport_; + }; grpc_closure write_action_begin_locked; - grpc_closure write_action; grpc_closure write_action_end_locked; grpc_closure read_action_locked; @@ -305,7 +320,7 @@ struct grpc_chttp2_transport : public grpc_core::KeepsGrpcInitialized { grpc_chttp2_stream** accepting_stream = nullptr; // accept stream callback - void (*accept_stream_cb)(void* user_data, grpc_transport* transport, + void (*accept_stream_cb)(void* user_data, grpc_core::Transport* transport, const void* server_data); // registered_method_matcher_cb is called before invoking the recv initial // metadata callback. @@ -317,18 +332,14 @@ struct grpc_chttp2_transport : public grpc_core::KeepsGrpcInitialized { grpc_core::ConnectivityStateTracker state_tracker; /// data to write now - grpc_slice_buffer outbuf; + grpc_core::SliceBuffer outbuf; /// hpack encoding grpc_core::HPackCompressor hpack_compressor; - /// is this a client? - bool is_client; /// data to write next write grpc_slice_buffer qbuf; - /// how much data are we willing to buffer when the WRITE_BUFFER_HINT is set? - /// - uint32_t write_buffer_size = grpc_core::chttp2::kDefaultWindow; + size_t max_requests_per_read; /// Set to a grpc_error object if a goaway frame is received. By default, set /// to absl::OkStatus() @@ -336,16 +347,12 @@ struct grpc_chttp2_transport : public grpc_core::KeepsGrpcInitialized { grpc_chttp2_sent_goaway_state sent_goaway_state = GRPC_CHTTP2_NO_GOAWAY_SEND; - /// are the local settings dirty and need to be sent? - bool dirtied_local_settings = true; - /// have local settings been sent? - bool sent_local_settings = false; - /// bitmask of setting indexes to send out - /// Hack: it's common for implementations to assume 65536 bytes initial send - /// window -- this should by rights be 0 - uint32_t force_send_settings = 1 << GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE; /// settings values - uint32_t settings[GRPC_NUM_SETTING_SETS][GRPC_CHTTP2_NUM_SETTINGS]; + grpc_core::Http2SettingsManager settings; + + grpc_event_engine::experimental::EventEngine::TaskHandle + settings_ack_watchdog = + grpc_event_engine::experimental::EventEngine::TaskHandle::kInvalid; /// what is the next stream id to be allocated by this peer? /// copied to next_stream_id in parsing when parsing commences @@ -354,15 +361,20 @@ struct grpc_chttp2_transport : public grpc_core::KeepsGrpcInitialized { /// last new stream id uint32_t last_new_stream_id = 0; + /// Number of incoming streams allowed before a settings ACK is required + uint32_t num_incoming_streams_before_settings_ack = 0; + /// ping queues for various ping insertion points - grpc_chttp2_ping_queue ping_queue = grpc_chttp2_ping_queue(); grpc_core::Chttp2PingAbusePolicy ping_abuse_policy; grpc_core::Chttp2PingRatePolicy ping_rate_policy; - absl::optional - delayed_ping_timer_handle; - uint64_t ping_ctr = 0; // unique id for pings + grpc_core::Chttp2PingCallbacks ping_callbacks; + grpc_event_engine::experimental::EventEngine::TaskHandle + delayed_ping_timer_handle = + grpc_event_engine::experimental::EventEngine::TaskHandle::kInvalid; grpc_closure retry_initiate_ping_locked; + grpc_core::Chttp2MaxConcurrentStreamsPolicy max_concurrent_streams_policy; + /// ping acks size_t ping_ack_count = 0; size_t ping_ack_capacity = 0; @@ -394,7 +406,10 @@ struct grpc_chttp2_transport : public grpc_core::KeepsGrpcInitialized { bool is_first_frame = true; uint32_t expect_continuation_stream_id = 0; uint32_t incoming_frame_size = 0; - uint32_t incoming_stream_id = 0; + + int min_tarpit_duration_ms; + int max_tarpit_duration_ms; + bool allow_tarpit; grpc_chttp2_stream* incoming_stream = nullptr; // active parser @@ -410,8 +425,6 @@ struct grpc_chttp2_transport : public grpc_core::KeepsGrpcInitialized { grpc_chttp2_write_cb* write_cb_pool = nullptr; // bdp estimator - bool bdp_ping_blocked = - false; // Is the BDP blocked due to not receiving any data? grpc_closure next_bdp_ping_timer_expired_locked; grpc_closure start_bdp_ping_locked; grpc_closure finish_bdp_ping_locked; @@ -423,46 +436,33 @@ struct grpc_chttp2_transport : public grpc_core::KeepsGrpcInitialized { grpc_closure_list run_after_write = GRPC_CLOSURE_LIST_INIT; // buffer pool state - /// have we scheduled a benign cleanup? - bool benign_reclaimer_registered = false; - /// have we scheduled a destructive cleanup? - bool destructive_reclaimer_registered = false; /// benign cleanup closure grpc_closure benign_reclaimer_locked; /// destructive cleanup closure grpc_closure destructive_reclaimer_locked; - /// If start_bdp_ping_locked has been called - bool bdp_ping_started = false; - // True if pings should be acked - bool ack_pings = true; // next bdp ping timer handle - absl::optional - next_bdp_ping_timer_handle; + grpc_event_engine::experimental::EventEngine::TaskHandle + next_bdp_ping_timer_handle = + grpc_event_engine::experimental::EventEngine::TaskHandle::kInvalid; // keep-alive ping support /// Closure to initialize a keepalive ping grpc_closure init_keepalive_ping_locked; - /// Closure to run when the keepalive ping is sent - grpc_closure start_keepalive_ping_locked; /// Closure to run when the keepalive ping ack is received grpc_closure finish_keepalive_ping_locked; - /// Closure to run when the keepalive ping timeouts - grpc_closure keepalive_watchdog_fired_locked; /// timer to initiate ping events - absl::optional - keepalive_ping_timer_handle; - /// watchdog to kill the transport when waiting for the keepalive ping - absl::optional - keepalive_watchdog_timer_handle; + grpc_event_engine::experimental::EventEngine::TaskHandle + keepalive_ping_timer_handle = + grpc_event_engine::experimental::EventEngine::TaskHandle::kInvalid; + ; /// time duration in between pings grpc_core::Duration keepalive_time; - /// grace period for a ping to complete before watchdog kicks in + /// grace period to wait for data after sending a ping before keepalives + /// timeout grpc_core::Duration keepalive_timeout; - /// if keepalive pings are allowed when there's no outstanding streams - bool keepalive_permit_without_calls = false; - /// If start_keepalive_ping_locked has been called - bool keepalive_ping_started = false; + /// number of stream objects currently allocated by this transport + std::atomic streams_allocated{0}; /// keep-alive state machine state grpc_chttp2_keepalive_state keepalive_state; // Soft limit on max header size. @@ -476,6 +476,25 @@ struct grpc_chttp2_transport : public grpc_core::KeepsGrpcInitialized { /// only continue reading when we are able to write to the socket again, /// thereby reducing the number of induced frames. uint32_t num_pending_induced_frames = 0; + uint32_t incoming_stream_id = 0; + + /// grace period after sending a ping to wait for the ping ack + grpc_core::Duration ping_timeout; + grpc_event_engine::experimental::EventEngine::TaskHandle + keepalive_ping_timeout_handle = + grpc_event_engine::experimental::EventEngine::TaskHandle::kInvalid; + /// grace period before settings timeout expires + grpc_core::Duration settings_timeout; + + /// how much data are we willing to buffer when the WRITE_BUFFER_HINT is set? + uint32_t write_buffer_size = grpc_core::chttp2::kDefaultWindow; + + /// write execution state of the transport + grpc_chttp2_write_state write_state = GRPC_CHTTP2_WRITE_STATE_IDLE; + + /// policy for how much data we're willing to put into one http2 write + grpc_core::Chttp2WriteSizePolicy write_size_policy; + bool reading_paused_on_pending_induced_frames = false; /// Based on channel args, preferred_rx_crypto_frame_sizes are advertised to /// the peer @@ -484,6 +503,38 @@ struct grpc_chttp2_transport : public grpc_core::KeepsGrpcInitialized { /// covering a write in a pollset. Such closures cannot be scheduled until /// we can prove that the write got scheduled. uint8_t closure_barrier_may_cover_write = CLOSURE_BARRIER_MAY_COVER_WRITE; + + /// have we scheduled a benign cleanup? + bool benign_reclaimer_registered = false; + /// have we scheduled a destructive cleanup? + bool destructive_reclaimer_registered = false; + + /// if keepalive pings are allowed when there's no outstanding streams + bool keepalive_permit_without_calls = false; + + // bdp estimator + bool bdp_ping_blocked = + false; // Is the BDP blocked due to not receiving any data? + + /// is the transport destroying itself? + uint8_t destroying = false; + + /// is this a client? + bool is_client; + + /// If start_bdp_ping_locked has been called + bool bdp_ping_started = false; + // True if pings should be acked + bool ack_pings = true; + /// True if the keepalive system wants to see some data incoming + bool keepalive_incoming_data_wanted = false; + /// True if we count stream allocation (instead of HTTP2 concurrency) for + /// MAX_CONCURRENT_STREAMS + bool max_concurrent_streams_overload_protection = false; + + // What percentage of rst_stream frames on the server should cause a ping + // frame to be generated. + uint8_t ping_on_rst_stream_percent; }; typedef enum { @@ -506,7 +557,6 @@ struct grpc_chttp2_stream { grpc_closure* destroy_stream_arg; grpc_chttp2_stream_link links[STREAM_LIST_COUNT]; - grpc_core::BitSet included; /// HTTP2 stream id for this stream, or zero if one has not been assigned uint32_t id = 0; @@ -532,7 +582,6 @@ struct grpc_chttp2_stream { grpc_metadata_batch* recv_initial_metadata; grpc_closure* recv_initial_metadata_ready = nullptr; bool* trailing_metadata_available = nullptr; - bool parsed_trailers_only = false; absl::optional* recv_message = nullptr; uint32_t* recv_message_flags = nullptr; bool* call_failed_before_recv_message = nullptr; @@ -560,30 +609,25 @@ struct grpc_chttp2_stream { bool eos_received = false; bool eos_sent = false; + grpc_core::BitSet included; + /// the error that resulted in this stream being read-closed grpc_error_handle read_closed_error; /// the error that resulted in this stream being write-closed grpc_error_handle write_closed_error; grpc_published_metadata_method published_metadata[2] = {}; - bool final_metadata_requested = false; grpc_metadata_batch initial_metadata_buffer; grpc_metadata_batch trailing_metadata_buffer; - grpc_slice_buffer frame_storage; // protected by t combiner - bool received_last_frame = false; // protected by t combiner + grpc_slice_buffer frame_storage; // protected by t combiner grpc_core::Timestamp deadline = grpc_core::Timestamp::InfFuture(); - /// how many header frames have we received? - uint8_t header_frames_received = 0; /// number of bytes received - reset at end of parse thread execution int64_t received_bytes = 0; - bool sent_initial_metadata = false; - bool sent_trailing_metadata = false; - grpc_core::chttp2::StreamFlowControl flow_control; grpc_slice_buffer flow_controlled_buffer; @@ -593,15 +637,44 @@ struct grpc_chttp2_stream { grpc_chttp2_write_cb* finish_after_write = nullptr; size_t sending_bytes = 0; - /// Whether the bytes needs to be traced using Fathom - bool traced = false; /// Byte counter for number of bytes written size_t byte_counter = 0; + /// Number of times written + int64_t write_counter = 0; + + /// Only set when enabled. + grpc_core::CallTracerInterface* call_tracer = nullptr; + + /// Only set when enabled. + std::shared_ptr tcp_tracer; + // time this stream was created gpr_timespec creation_time = gpr_now(GPR_CLOCK_MONOTONIC); + + bool parsed_trailers_only = false; + + bool final_metadata_requested = false; + bool received_last_frame = false; // protected by t combiner + + /// how many header frames have we received? + uint8_t header_frames_received = 0; + + bool sent_initial_metadata = false; + bool sent_trailing_metadata = false; + + /// Whether the bytes needs to be traced using Fathom + bool traced = false; }; +#define GRPC_ARG_PING_TIMEOUT_MS "grpc.http2.ping_timeout_ms" + +// EXPERIMENTAL: provide protection against overloading a server with too many +// requests: wait for streams to be deallocated before they stop counting +// against MAX_CONCURRENT_STREAMS +#define GRPC_ARG_MAX_CONCURRENT_STREAMS_OVERLOAD_PROTECTION \ + "grpc.http.overload_protection" + /// Transport writing call flow: /// grpc_chttp2_initiate_write() is called anywhere that we know bytes need to /// go out on the wire. @@ -629,10 +702,14 @@ grpc_chttp2_begin_write_result grpc_chttp2_begin_write( grpc_chttp2_transport* t); void grpc_chttp2_end_write(grpc_chttp2_transport* t, grpc_error_handle error); -/// Process one slice of incoming data; return 1 if the connection is still -/// viable after reading, or 0 if the connection should be torn down -grpc_error_handle grpc_chttp2_perform_read(grpc_chttp2_transport* t, - const grpc_slice& slice); +/// Process one slice of incoming data +/// Returns: +/// - a count of parsed bytes in the event of a partial read: the caller should +/// offload responsibilities to another thread to continue parsing. +/// - or a status in the case of a completed read +absl::variant grpc_chttp2_perform_read( + grpc_chttp2_transport* t, const grpc_slice& slice, + size_t& requests_started); bool grpc_chttp2_list_add_writable_stream(grpc_chttp2_transport* t, grpc_chttp2_stream* s); @@ -701,12 +778,19 @@ void grpc_chttp2_add_incoming_goaway(grpc_chttp2_transport* t, void grpc_chttp2_parsing_become_skip_parser(grpc_chttp2_transport* t); void grpc_chttp2_complete_closure_step(grpc_chttp2_transport* t, - grpc_chttp2_stream* s, grpc_closure** pclosure, grpc_error_handle error, const char* desc, grpc_core::DebugLocation whence = {}); +void grpc_chttp2_keepalive_timeout( + grpc_core::RefCountedPtr t); +void grpc_chttp2_ping_timeout( + grpc_core::RefCountedPtr t); + +void grpc_chttp2_settings_timeout( + grpc_core::RefCountedPtr t); + #define GRPC_HEADER_SIZE_IN_BYTES 5 #define MAX_SIZE_T (~(size_t)0) @@ -726,9 +810,9 @@ void grpc_chttp2_complete_closure_step(grpc_chttp2_transport* t, void grpc_chttp2_fake_status(grpc_chttp2_transport* t, grpc_chttp2_stream* stream, grpc_error_handle error); -void grpc_chttp2_mark_stream_closed(grpc_chttp2_transport* t, - grpc_chttp2_stream* s, int close_reads, - int close_writes, grpc_error_handle error); +grpc_chttp2_transport::RemovedStreamHandle grpc_chttp2_mark_stream_closed( + grpc_chttp2_transport* t, grpc_chttp2_stream* s, int close_reads, + int close_writes, grpc_error_handle error); void grpc_chttp2_start_writing(grpc_chttp2_transport* t); #ifndef NDEBUG @@ -764,7 +848,7 @@ void grpc_chttp2_mark_stream_writable(grpc_chttp2_transport* t, grpc_chttp2_stream* s); void grpc_chttp2_cancel_stream(grpc_chttp2_transport* t, grpc_chttp2_stream* s, - grpc_error_handle due_to_error); + grpc_error_handle due_to_error, bool tarpit); void grpc_chttp2_maybe_complete_recv_initial_metadata(grpc_chttp2_transport* t, grpc_chttp2_stream* s); diff --git a/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc b/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc new file mode 100644 index 00000000000..efe4c31011e --- /dev/null +++ b/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc @@ -0,0 +1,44 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include + +#include "src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h" + +#include + +#include + +namespace grpc_core { + +void Chttp2MaxConcurrentStreamsPolicy::AddDemerit() { + ++new_demerits_; + ++unacked_demerits_; +} + +void Chttp2MaxConcurrentStreamsPolicy::FlushedSettings() { + sent_demerits_ += std::exchange(new_demerits_, 0); +} + +void Chttp2MaxConcurrentStreamsPolicy::AckLastSend() { + GPR_ASSERT(unacked_demerits_ >= sent_demerits_); + unacked_demerits_ -= std::exchange(sent_demerits_, 0); +} + +uint32_t Chttp2MaxConcurrentStreamsPolicy::AdvertiseValue() const { + if (target_ < unacked_demerits_) return 0; + return target_ - unacked_demerits_; +} + +} // namespace grpc_core diff --git a/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h b/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h new file mode 100644 index 00000000000..e8ec52eeef1 --- /dev/null +++ b/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h @@ -0,0 +1,67 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_MAX_CONCURRENT_STREAMS_POLICY_H +#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_MAX_CONCURRENT_STREAMS_POLICY_H + +#include + +#include +#include + +namespace grpc_core { + +class Chttp2MaxConcurrentStreamsPolicy { + public: + // Set the target number of concurrent streams. + // If everything is idle we should advertise this number. + void SetTarget(uint32_t target) { target_ = target; } + + // Add one demerit to the current target. + // We need to do one full settings round trip after this to clear this + // demerit. + // It will reduce our advertised max concurrent streams by one. + void AddDemerit(); + + // Notify the policy that we've sent a settings frame. + // Newly added demerits since the last settings frame was sent will be cleared + // once that settings frame is acknowledged. + void FlushedSettings(); + + // Notify the policy that we've received an acknowledgement for the last + // settings frame we sent. + void AckLastSend(); + + // Returns what we should advertise as max concurrent streams. + uint32_t AdvertiseValue() const; + + private: + uint32_t target_ = std::numeric_limits::max(); + // Demerit flow: + // When we add a demerit, we add to both new & unacked. + // When we flush settings, we move new to sent. + // When we ack settings, we remove what we sent from unacked. + // eg: + // we add 10 demerits - now new=10, sent=0, unacked=10 + // we send settings - now new=0, sent=10, unacked=10 + // we add 5 demerits - now new=5, sent=10, unacked=15 + // we get the settings ack - now new=5, sent=0, unacked=5 + uint32_t new_demerits_ = 0; + uint32_t sent_demerits_ = 0; + uint32_t unacked_demerits_ = 0; +}; + +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_MAX_CONCURRENT_STREAMS_POLICY_H diff --git a/src/core/ext/transport/chttp2/transport/parsing.cc b/src/core/ext/transport/chttp2/transport/parsing.cc index 6df3353987d..8f0757c053e 100644 --- a/src/core/ext/transport/chttp2/transport/parsing.cc +++ b/src/core/ext/transport/chttp2/transport/parsing.cc @@ -21,17 +21,25 @@ #include #include +#include #include +#include +#include #include +#include #include "absl/base/attributes.h" #include "absl/container/flat_hash_map.h" +#include "absl/random/bit_gen_ref.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "absl/strings/string_view.h" +#include "absl/types/variant.h" +#include #include +#include #include #include "src/core/ext/transport/chttp2/transport/flow_control.h" @@ -47,11 +55,14 @@ #include "src/core/ext/transport/chttp2/transport/http_trace.h" #include "src/core/ext/transport/chttp2/transport/internal.h" #include "src/core/ext/transport/chttp2/transport/legacy_frame.h" +#include "src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h" #include "src/core/ext/transport/chttp2/transport/ping_rate_policy.h" +#include "src/core/lib/backoff/random_early_detection.h" #include "src/core/lib/channel/call_tracer.h" #include "src/core/lib/channel/channelz.h" #include "src/core/lib/channel/context.h" #include "src/core/lib/debug/trace.h" +#include "src/core/lib/experiments/experiments.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/gprpp/status_helper.h" #include "src/core/lib/iomgr/closure.h" @@ -69,9 +80,11 @@ using grpc_core::HPackParser; grpc_core::TraceFlag grpc_trace_chttp2_new_stream(false, "chttp2_new_stream"); -static grpc_error_handle init_frame_parser(grpc_chttp2_transport* t); +static grpc_error_handle init_frame_parser(grpc_chttp2_transport* t, + size_t& requests_started); static grpc_error_handle init_header_frame_parser(grpc_chttp2_transport* t, - int is_continuation); + int is_continuation, + size_t& requests_started); static grpc_error_handle init_data_frame_parser(grpc_chttp2_transport* t); static grpc_error_handle init_rst_stream_parser(grpc_chttp2_transport* t); static grpc_error_handle init_settings_frame_parser(grpc_chttp2_transport* t); @@ -193,8 +206,9 @@ std::string FrameTypeString(uint8_t frame_type, uint8_t flags) { } } // namespace -grpc_error_handle grpc_chttp2_perform_read(grpc_chttp2_transport* t, - const grpc_slice& slice) { +absl::variant grpc_chttp2_perform_read( + grpc_chttp2_transport* t, const grpc_slice& slice, + size_t& requests_started) { const uint8_t* beg = GRPC_SLICE_START_PTR(slice); const uint8_t* end = GRPC_SLICE_END_PTR(slice); const uint8_t* cur = beg; @@ -248,6 +262,10 @@ grpc_error_handle grpc_chttp2_perform_read(grpc_chttp2_transport* t, return absl::OkStatus(); } dts_fh_0: + if (requests_started >= t->max_requests_per_read) { + t->deframe_state = GRPC_DTS_FH_0; + return static_cast(cur - beg); + } ABSL_FALLTHROUGH_INTENDED; case GRPC_DTS_FH_0: GPR_DEBUG_ASSERT(cur < end); @@ -323,7 +341,7 @@ grpc_error_handle grpc_chttp2_perform_read(grpc_chttp2_transport* t, t->incoming_frame_size, t->incoming_stream_id); } t->deframe_state = GRPC_DTS_FRAME; - err = init_frame_parser(t); + err = init_frame_parser(t, requests_started); if (!err.ok()) { return err; } @@ -339,13 +357,10 @@ grpc_error_handle grpc_chttp2_perform_read(grpc_chttp2_transport* t, } goto dts_fh_0; // loop } else if (t->incoming_frame_size > - t->settings[GRPC_ACKED_SETTINGS] - [GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE]) { - return GRPC_ERROR_CREATE( - absl::StrFormat("Frame size %d is larger than max frame size %d", - t->incoming_frame_size, - t->settings[GRPC_ACKED_SETTINGS] - [GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE])); + t->settings.acked().max_frame_size()) { + return GRPC_ERROR_CREATE(absl::StrFormat( + "Frame size %d is larger than max frame size %d", + t->incoming_frame_size, t->settings.acked().max_frame_size())); } if (++cur == end) { return absl::OkStatus(); @@ -377,6 +392,9 @@ grpc_error_handle grpc_chttp2_perform_read(grpc_chttp2_transport* t, } cur += t->incoming_frame_size; t->incoming_stream = nullptr; + if (t->incoming_frame_type == GRPC_CHTTP2_FRAME_RST_STREAM) { + requests_started = std::numeric_limits::max(); + } goto dts_fh_0; // loop } else { err = parse_frame_slice( @@ -396,7 +414,8 @@ grpc_error_handle grpc_chttp2_perform_read(grpc_chttp2_transport* t, GPR_UNREACHABLE_CODE(return absl::OkStatus()); } -static grpc_error_handle init_frame_parser(grpc_chttp2_transport* t) { +static grpc_error_handle init_frame_parser(grpc_chttp2_transport* t, + size_t& requests_started) { if (t->is_first_frame && t->incoming_frame_type != GRPC_CHTTP2_FRAME_SETTINGS) { return GRPC_ERROR_CREATE(absl::StrCat( @@ -416,13 +435,13 @@ static grpc_error_handle init_frame_parser(grpc_chttp2_transport* t) { "grpc_chttp2_stream %08x", t->expect_continuation_stream_id, t->incoming_stream_id)); } - return init_header_frame_parser(t, 1); + return init_header_frame_parser(t, 1, requests_started); } switch (t->incoming_frame_type) { case GRPC_CHTTP2_FRAME_DATA: return init_data_frame_parser(t); case GRPC_CHTTP2_FRAME_HEADER: - return init_header_frame_parser(t, 0); + return init_header_frame_parser(t, 0, requests_started); case GRPC_CHTTP2_FRAME_CONTINUATION: return GRPC_ERROR_CREATE("Unexpected CONTINUATION frame"); case GRPC_CHTTP2_FRAME_RST_STREAM: @@ -483,8 +502,7 @@ static grpc_error_handle init_header_skip_frame_parser( /*metadata_size_soft_limit=*/ t->max_header_list_size_soft_limit, /*metadata_size_hard_limit=*/ - t->settings[GRPC_ACKED_SETTINGS] - [GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE], + t->settings.acked().max_header_list_size(), hpack_boundary_type(t, is_eoh), priority_type, hpack_parser_log_info(t, HPackParser::LogInfo::kDontKnow)); return absl::OkStatus(); @@ -566,7 +584,8 @@ error_handler: } static grpc_error_handle init_header_frame_parser(grpc_chttp2_transport* t, - int is_continuation) { + int is_continuation, + size_t& requests_started) { const bool is_eoh = (t->incoming_frame_flags & GRPC_CHTTP2_DATA_FLAG_END_HEADERS) != 0; grpc_chttp2_stream* s; @@ -623,11 +642,42 @@ static grpc_error_handle init_header_frame_parser(grpc_chttp2_transport* t, "ignoring grpc_chttp2_stream with non-client generated index %d", t->incoming_stream_id)); return init_header_skip_frame_parser(t, priority_type, is_eoh); + } else if (GPR_UNLIKELY(t->stream_map.size() + t->extra_streams >= + t->settings.acked().max_concurrent_streams())) { + ++t->num_pending_induced_frames; + grpc_slice_buffer_add(&t->qbuf, grpc_chttp2_rst_stream_create( + t->incoming_stream_id, + GRPC_HTTP2_REFUSED_STREAM, nullptr)); + grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM); + return init_header_skip_frame_parser(t, priority_type, is_eoh); + } else if (GPR_UNLIKELY( + t->max_concurrent_streams_overload_protection && + t->streams_allocated.load(std::memory_order_relaxed) > + t->max_concurrent_streams_policy.AdvertiseValue())) { + // We have more streams allocated than we'd like, so apply some pushback + // by refusing this stream. + ++t->num_pending_induced_frames; + grpc_slice_buffer_add(&t->qbuf, grpc_chttp2_rst_stream_create( + t->incoming_stream_id, + GRPC_HTTP2_REFUSED_STREAM, nullptr)); + grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM); + return init_header_skip_frame_parser(t, priority_type, is_eoh); } else if (GPR_UNLIKELY( t->stream_map.size() >= - t->settings[GRPC_ACKED_SETTINGS] - [GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS])) { - return GRPC_ERROR_CREATE("Max stream count exceeded"); + t->max_concurrent_streams_policy.AdvertiseValue() && + grpc_core::RandomEarlyDetection( + t->max_concurrent_streams_policy.AdvertiseValue(), + t->settings.acked().max_concurrent_streams()) + .Reject(t->stream_map.size(), t->bitgen))) { + // We are under the limit of max concurrent streams for the current + // setting, but are over the next value that will be advertised. + // Apply some backpressure by randomly not accepting new streams. + ++t->num_pending_induced_frames; + grpc_slice_buffer_add(&t->qbuf, grpc_chttp2_rst_stream_create( + t->incoming_stream_id, + GRPC_HTTP2_REFUSED_STREAM, nullptr)); + grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM); + return init_header_skip_frame_parser(t, priority_type, is_eoh); } else if (t->sent_goaway_state == GRPC_CHTTP2_FINAL_GOAWAY_SENT || t->sent_goaway_state == GRPC_CHTTP2_FINAL_GOAWAY_SEND_SCHEDULED) { @@ -638,10 +688,28 @@ static grpc_error_handle init_header_frame_parser(grpc_chttp2_transport* t, t, std::string(t->peer_string.as_string_view()).c_str(), t->incoming_stream_id, t->last_new_stream_id)); return init_header_skip_frame_parser(t, priority_type, is_eoh); + } else if (t->num_incoming_streams_before_settings_ack == 0) { + GRPC_CHTTP2_IF_TRACING(gpr_log( + GPR_ERROR, + "transport:%p SERVER peer:%s rejecting grpc_chttp2_stream id=%d, " + "last grpc_chttp2_stream id=%d before settings have been " + "acknowledged", + t, std::string(t->peer_string.as_string_view()).c_str(), + t->incoming_stream_id, t->last_new_stream_id)); + ++t->num_pending_induced_frames; + grpc_slice_buffer_add( + &t->qbuf, + grpc_chttp2_rst_stream_create(t->incoming_stream_id, + GRPC_HTTP2_ENHANCE_YOUR_CALM, nullptr)); + grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_RST_STREAM); + t->last_new_stream_id = t->incoming_stream_id; + return init_header_skip_frame_parser(t, priority_type, is_eoh); } + --t->num_incoming_streams_before_settings_ack; t->last_new_stream_id = t->incoming_stream_id; s = t->incoming_stream = grpc_chttp2_parsing_accept_stream(t, t->incoming_stream_id); + ++requests_started; if (GPR_UNLIKELY(s == nullptr)) { GRPC_CHTTP2_IF_TRACING( gpr_log(GPR_ERROR, "grpc_chttp2_stream not accepted")); @@ -649,9 +717,12 @@ static grpc_error_handle init_header_frame_parser(grpc_chttp2_transport* t, } if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) || GRPC_TRACE_FLAG_ENABLED(grpc_trace_chttp2_new_stream)) { - gpr_log(GPR_INFO, "[t:%p fd:%d peer:%s] Accepting new stream", t, - grpc_endpoint_get_fd(t->ep), - std::string(t->peer_string.as_string_view()).c_str()); + gpr_log(GPR_INFO, + "[t:%p fd:%d peer:%s] Accepting new stream; " + "num_incoming_streams_before_settings_ack=%u", + t, grpc_endpoint_get_fd(t->ep), + std::string(t->peer_string.as_string_view()).c_str(), + t->num_incoming_streams_before_settings_ack); } if (t->channelz_socket != nullptr) { t->channelz_socket->RecordStreamStartedFromRemote(); @@ -705,15 +776,13 @@ static grpc_error_handle init_header_frame_parser(grpc_chttp2_transport* t, return GRPC_ERROR_CREATE( "Trailing metadata frame received without an end-o-stream"); } - t->hpack_parser.BeginFrame( - incoming_metadata_buffer, - /*metadata_size_soft_limit=*/ - t->max_header_list_size_soft_limit, - /*metadata_size_hard_limit=*/ - t->settings[GRPC_ACKED_SETTINGS] - [GRPC_CHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE], - hpack_boundary_type(t, is_eoh), priority_type, - hpack_parser_log_info(t, frame_type)); + t->hpack_parser.BeginFrame(incoming_metadata_buffer, + /*metadata_size_soft_limit=*/ + t->max_header_list_size_soft_limit, + /*metadata_size_hard_limit=*/ + t->settings.acked().max_header_list_size(), + hpack_boundary_type(t, is_eoh), priority_type, + hpack_parser_log_info(t, frame_type)); return absl::OkStatus(); } @@ -762,6 +831,9 @@ static grpc_error_handle init_rst_stream_parser(grpc_chttp2_transport* t) { s->stats.incoming.framing_bytes += 9; t->parser = grpc_chttp2_transport::Parser{ "rst_stream", grpc_chttp2_rst_stream_parser_parse, &t->simple.rst_stream}; + if (!t->is_client && grpc_core::IsRstpitEnabled()) { + t->max_concurrent_streams_policy.AddDemerit(); + } return absl::OkStatus(); } @@ -781,22 +853,31 @@ static grpc_error_handle init_settings_frame_parser(grpc_chttp2_transport* t) { grpc_error_handle err = grpc_chttp2_settings_parser_begin_frame( &t->simple.settings, t->incoming_frame_size, t->incoming_frame_flags, - t->settings[GRPC_PEER_SETTINGS]); + t->settings.mutable_peer()); if (!err.ok()) { return err; } if (t->incoming_frame_flags & GRPC_CHTTP2_FLAG_ACK) { - memcpy(t->settings[GRPC_ACKED_SETTINGS], t->settings[GRPC_SENT_SETTINGS], - GRPC_CHTTP2_NUM_SETTINGS * sizeof(uint32_t)); + t->max_concurrent_streams_policy.AckLastSend(); + if (!t->settings.AckLastSend()) { + return GRPC_ERROR_CREATE("Received unexpected settings ack"); + } t->hpack_parser.hpack_table()->SetMaxBytes( - t->settings[GRPC_ACKED_SETTINGS] - [GRPC_CHTTP2_SETTINGS_HEADER_TABLE_SIZE]); + t->settings.acked().header_table_size()); grpc_chttp2_act_on_flowctl_action( t->flow_control.SetAckedInitialWindow( - t->settings[GRPC_ACKED_SETTINGS] - [GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE]), + t->settings.acked().initial_window_size()), t, nullptr); - t->sent_local_settings = false; + if (t->settings_ack_watchdog != + grpc_event_engine::experimental::EventEngine::TaskHandle::kInvalid) { + t->event_engine->Cancel(std::exchange( + t->settings_ack_watchdog, + grpc_event_engine::experimental::EventEngine::TaskHandle::kInvalid)); + } + // This is more streams than can be started in http2, so setting this + // effictively removes the limit for the rest of the connection. + t->num_incoming_streams_before_settings_ack = + std::numeric_limits::max(); } t->parser = grpc_chttp2_transport::Parser{ "settings", grpc_chttp2_settings_parser_parse, &t->simple.settings}; @@ -827,7 +908,7 @@ static grpc_error_handle parse_frame_slice(grpc_chttp2_transport* t, &unused)) { grpc_chttp2_parsing_become_skip_parser(t); if (s) { - grpc_chttp2_cancel_stream(t, s, err); + grpc_chttp2_cancel_stream(t, s, err, true); } return absl::OkStatus(); } @@ -869,7 +950,8 @@ grpc_error_handle grpc_chttp2_header_parser_parse(void* hpack_parser, .value); } } - grpc_error_handle error = parser->Parse(slice, is_last != 0, call_tracer); + grpc_error_handle error = parser->Parse( + slice, is_last != 0, absl::BitGenRef(t->bitgen), call_tracer); if (!error.ok()) { return error; } diff --git a/src/core/ext/transport/chttp2/transport/ping_callbacks.cc b/src/core/ext/transport/chttp2/transport/ping_callbacks.cc new file mode 100644 index 00000000000..4081f22af79 --- /dev/null +++ b/src/core/ext/transport/chttp2/transport/ping_callbacks.cc @@ -0,0 +1,108 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include + +#include "src/core/ext/transport/chttp2/transport/ping_callbacks.h" + +#include + +#include "absl/meta/type_traits.h" +#include "absl/random/distributions.h" + +#include + +grpc_core::TraceFlag grpc_ping_trace(false, "http2_ping"); + +namespace grpc_core { + +void Chttp2PingCallbacks::OnPing(Callback on_start, Callback on_ack) { + on_start_.emplace_back(std::move(on_start)); + on_ack_.emplace_back(std::move(on_ack)); + ping_requested_ = true; +} + +void Chttp2PingCallbacks::OnPingAck(Callback on_ack) { + auto it = inflight_.find(most_recent_inflight_); + if (it != inflight_.end()) { + it->second.on_ack.emplace_back(std::move(on_ack)); + return; + } + ping_requested_ = true; + on_ack_.emplace_back(std::move(on_ack)); +} + +uint64_t Chttp2PingCallbacks::StartPing(absl::BitGenRef bitgen) { + uint64_t id; + do { + id = absl::Uniform(bitgen); + } while (inflight_.contains(id)); + CallbackVec cbs = std::move(on_start_); + CallbackVec().swap(on_start_); + InflightPing inflight; + inflight.on_ack.swap(on_ack_); + started_new_ping_without_setting_timeout_ = true; + inflight_.emplace(id, std::move(inflight)); + most_recent_inflight_ = id; + ping_requested_ = false; + for (auto& cb : cbs) { + cb(); + } + return id; +} + +bool Chttp2PingCallbacks::AckPing( + uint64_t id, grpc_event_engine::experimental::EventEngine* event_engine) { + auto ping = inflight_.extract(id); + if (ping.empty()) return false; + if (ping.mapped().on_timeout != + grpc_event_engine::experimental::EventEngine::TaskHandle::kInvalid) { + event_engine->Cancel(ping.mapped().on_timeout); + } + for (auto& cb : ping.mapped().on_ack) { + cb(); + } + return true; +} + +void Chttp2PingCallbacks::CancelAll( + grpc_event_engine::experimental::EventEngine* event_engine) { + CallbackVec().swap(on_start_); + CallbackVec().swap(on_ack_); + for (auto& cbs : inflight_) { + CallbackVec().swap(cbs.second.on_ack); + if (cbs.second.on_timeout != + grpc_event_engine::experimental::EventEngine::TaskHandle::kInvalid) { + event_engine->Cancel(std::exchange( + cbs.second.on_timeout, + grpc_event_engine::experimental::EventEngine::TaskHandle::kInvalid)); + } + } + ping_requested_ = false; +} + +absl::optional Chttp2PingCallbacks::OnPingTimeout( + Duration ping_timeout, + grpc_event_engine::experimental::EventEngine* event_engine, + Callback callback) { + GPR_ASSERT(started_new_ping_without_setting_timeout_); + started_new_ping_without_setting_timeout_ = false; + auto it = inflight_.find(most_recent_inflight_); + if (it == inflight_.end()) return absl::nullopt; + it->second.on_timeout = + event_engine->RunAfter(ping_timeout, std::move(callback)); + return most_recent_inflight_; +} + +} // namespace grpc_core diff --git a/src/core/ext/transport/chttp2/transport/ping_callbacks.h b/src/core/ext/transport/chttp2/transport/ping_callbacks.h new file mode 100644 index 00000000000..f1d8b826725 --- /dev/null +++ b/src/core/ext/transport/chttp2/transport/ping_callbacks.h @@ -0,0 +1,115 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_PING_CALLBACKS_H +#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_PING_CALLBACKS_H + +#include + +#include +#include + +#include +#include + +#include "absl/container/flat_hash_map.h" +#include "absl/functional/any_invocable.h" +#include "absl/hash/hash.h" +#include "absl/random/bit_gen_ref.h" +#include "absl/types/optional.h" + +#include + +#include "src/core/lib/debug/trace.h" +#include "src/core/lib/gprpp/time.h" + +extern grpc_core::TraceFlag grpc_ping_trace; + +namespace grpc_core { + +class Chttp2PingCallbacks { + public: + // One callback from OnPing/OnPingAck or the timeout. + using Callback = absl::AnyInvocable; + + // Request a ping (but one we don't need any notification for when it begins + // or ends). + void RequestPing() { ping_requested_ = true; } + + // Request a ping, and specify callbacks for when it begins and ends. + // on_start is invoked during the call to StartPing. + // on_ack is invoked during the call to AckPing. + void OnPing(Callback on_start, Callback on_ack); + + // Request a notification when *some* ping is acked: + // If there is no ping in flight, one will be scheduled and the callback + // will be invoked when it is acked. (ie as per OnPing([]{}, on_ack)). + // If there is a ping in flight, the callback will be invoked when the most + // recently sent ping is acked. + // on_ack is invoked during the call to AckPing. + void OnPingAck(Callback on_ack); + + // Write path: begin a ping. + // Uses bitgen to generate a randomized id for the ping. + // Sets started_new_ping_without_setting_timeout. + GRPC_MUST_USE_RESULT uint64_t StartPing(absl::BitGenRef bitgen); + bool AckPing(uint64_t id, + grpc_event_engine::experimental::EventEngine* event_engine); + + // Cancel all the ping callbacks. + // Sufficient state is maintained such that AckPing will still return true + // if a ping is acked after this call. + // No timeouts or start or ack callbacks previously scheduled will be invoked. + void CancelAll(grpc_event_engine::experimental::EventEngine* event_engine); + + // Return true if a ping needs to be started due to + // RequestPing/OnPing/OnPingAck. + bool ping_requested() const { return ping_requested_; } + + // Returns the number of pings currently in flight. + size_t pings_inflight() const { return inflight_.size(); } + + // Returns true if a ping was started without setting a timeout yet. + bool started_new_ping_without_setting_timeout() const { + return started_new_ping_without_setting_timeout_; + } + + // Add a ping timeout for the most recently started ping. + // started_new_ping_without_setting_timeout must be set. + // Clears started_new_ping_without_setting_timeout. + // Returns the ping id of the ping the timeout was attached to if a timer was + // started, or nullopt otherwise. + absl::optional OnPingTimeout( + Duration ping_timeout, + grpc_event_engine::experimental::EventEngine* event_engine, + Callback callback); + + private: + using CallbackVec = std::vector; + struct InflightPing { + grpc_event_engine::experimental::EventEngine::TaskHandle on_timeout = + grpc_event_engine::experimental::EventEngine::TaskHandle::kInvalid; + CallbackVec on_ack; + }; + absl::flat_hash_map inflight_; + uint64_t most_recent_inflight_ = 0; + bool ping_requested_ = false; + bool started_new_ping_without_setting_timeout_ = false; + CallbackVec on_start_; + CallbackVec on_ack_; +}; + +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_PING_CALLBACKS_H diff --git a/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc b/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc index 51b7b38d578..3bf1cf634bc 100644 --- a/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +++ b/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc @@ -18,19 +18,26 @@ #include #include -#include #include "absl/strings/str_cat.h" #include "absl/types/optional.h" #include +#include "src/core/lib/experiments/experiments.h" #include "src/core/lib/gprpp/match.h" +// How many pings do we allow to be inflight at any given time? +// In older versions of gRPC this was implicitly 1. +// With the multiping experiment we allow this to rise to 100 by default. +// TODO(ctiller): consider making this public API +#define GRPC_ARG_HTTP2_MAX_INFLIGHT_PINGS "grpc.http2.max_inflight_pings" + namespace grpc_core { namespace { int g_default_max_pings_without_data = 2; +absl::optional g_default_max_inflight_pings; } // namespace Chttp2PingRatePolicy::Chttp2PingRatePolicy(const ChannelArgs& args, @@ -39,19 +46,31 @@ Chttp2PingRatePolicy::Chttp2PingRatePolicy(const ChannelArgs& args, is_client ? std::max(0, args.GetInt(GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA) .value_or(g_default_max_pings_without_data)) - : 0) {} + : 0), + // Configuration via channel arg dominates, otherwise if the multiping + // experiment is enabled we use 100, otherwise 1. + max_inflight_pings_( + std::max(0, args.GetInt(GRPC_ARG_HTTP2_MAX_INFLIGHT_PINGS) + .value_or(g_default_max_inflight_pings.value_or( + IsMultipingEnabled() ? 100 : 1)))) {} void Chttp2PingRatePolicy::SetDefaults(const ChannelArgs& args) { g_default_max_pings_without_data = std::max(0, args.GetInt(GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA) .value_or(g_default_max_pings_without_data)); + g_default_max_inflight_pings = args.GetInt(GRPC_ARG_HTTP2_MAX_INFLIGHT_PINGS); } Chttp2PingRatePolicy::RequestSendPingResult -Chttp2PingRatePolicy::RequestSendPing(Duration next_allowed_ping_interval) { +Chttp2PingRatePolicy::RequestSendPing(Duration next_allowed_ping_interval, + size_t inflight_pings) const { if (max_pings_without_data_ != 0 && pings_before_data_required_ == 0) { return TooManyRecentPings{}; } + if (max_inflight_pings_ > 0 && + inflight_pings > static_cast(max_inflight_pings_)) { + return TooManyRecentPings{}; + } const Timestamp next_allowed_ping = last_ping_sent_time_ + next_allowed_ping_interval; const Timestamp now = Timestamp::Now(); @@ -59,11 +78,14 @@ Chttp2PingRatePolicy::RequestSendPing(Duration next_allowed_ping_interval) { return TooSoon{next_allowed_ping_interval, last_ping_sent_time_, next_allowed_ping - now}; } - last_ping_sent_time_ = now; - if (pings_before_data_required_) --pings_before_data_required_; return SendGranted{}; } +void Chttp2PingRatePolicy::SentPing() { + last_ping_sent_time_ = Timestamp::Now(); + if (pings_before_data_required_) --pings_before_data_required_; +} + void Chttp2PingRatePolicy::ReceivedDataFrame() { last_ping_sent_time_ = Timestamp::InfPast(); } diff --git a/src/core/ext/transport/chttp2/transport/ping_rate_policy.h b/src/core/ext/transport/chttp2/transport/ping_rate_policy.h index 7363259fb8b..bf95315c94f 100644 --- a/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +++ b/src/core/ext/transport/chttp2/transport/ping_rate_policy.h @@ -17,6 +17,8 @@ #include +#include + #include #include @@ -51,8 +53,20 @@ class Chttp2PingRatePolicy { using RequestSendPingResult = absl::variant; - RequestSendPingResult RequestSendPing(Duration next_allowed_ping_interval); + // Request that one ping be sent. + // Returns: + // - SendGranted if a ping can be sent. + // - TooManyRecentPings if too many pings have been sent recently and we + // should wait for some future write. + // - TooSoon if we should wait for some time before sending the ping. + RequestSendPingResult RequestSendPing(Duration next_allowed_ping_interval, + size_t inflight_pings) const; + // Notify the policy that one ping has been sent. + void SentPing(); + // Notify the policy that some data has been sent and so we should no longer + // block pings on that basis. void ResetPingsBeforeDataRequired(); + // Notify the policy that we've received some data. void ReceivedDataFrame(); std::string GetDebugString() const; @@ -60,6 +74,7 @@ class Chttp2PingRatePolicy { private: const int max_pings_without_data_; + const int max_inflight_pings_; // No pings allowed before receiving a header or data frame. int pings_before_data_required_ = 0; Timestamp last_ping_sent_time_ = Timestamp::InfPast(); diff --git a/src/core/ext/transport/chttp2/transport/write_size_policy.cc b/src/core/ext/transport/chttp2/transport/write_size_policy.cc new file mode 100644 index 00000000000..9aae5197e56 --- /dev/null +++ b/src/core/ext/transport/chttp2/transport/write_size_policy.cc @@ -0,0 +1,60 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include + +#include "src/core/ext/transport/chttp2/transport/write_size_policy.h" + +#include + +#include + +namespace grpc_core { + +size_t Chttp2WriteSizePolicy::WriteTargetSize() { return current_target_; } + +void Chttp2WriteSizePolicy::BeginWrite(size_t size) { + GPR_ASSERT(experiment_start_time_ == Timestamp::InfFuture()); + if (size < current_target_ * 7 / 10) { + // If we were trending fast but stopped getting enough data to verify, then + // reset back to the default state. + if (state_ < 0) state_ = 0; + return; + } + experiment_start_time_ = Timestamp::Now(); +} + +void Chttp2WriteSizePolicy::EndWrite(bool success) { + if (experiment_start_time_ == Timestamp::InfFuture()) return; + const auto elapsed = Timestamp::Now() - experiment_start_time_; + experiment_start_time_ = Timestamp::InfFuture(); + if (!success) return; + if (elapsed < FastWrite()) { + --state_; + if (state_ == -2) { + state_ = 0; + current_target_ = std::min(current_target_ * 3 / 2, MaxTarget()); + } + } else if (elapsed > SlowWrite()) { + ++state_; + if (state_ == 2) { + state_ = 0; + current_target_ = std::max(current_target_ / 3, MinTarget()); + } + } else { + state_ = 0; + } +} + +} // namespace grpc_core diff --git a/src/core/ext/transport/chttp2/transport/write_size_policy.h b/src/core/ext/transport/chttp2/transport/write_size_policy.h new file mode 100644 index 00000000000..a300dbd4c2e --- /dev/null +++ b/src/core/ext/transport/chttp2/transport/write_size_policy.h @@ -0,0 +1,66 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_WRITE_SIZE_POLICY_H +#define GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_WRITE_SIZE_POLICY_H + +#include + +#include +#include + +#include "src/core/lib/gprpp/time.h" + +namespace grpc_core { + +class Chttp2WriteSizePolicy { + public: + // Smallest possible WriteTargetSize + static constexpr size_t MinTarget() { return 32 * 1024; } + // Largest possible WriteTargetSize + static constexpr size_t MaxTarget() { return 16 * 1024 * 1024; } + // How long should a write take to be considered "fast" + static constexpr Duration FastWrite() { return Duration::Milliseconds(100); } + // How long should a write take to be considered "slow" + static constexpr Duration SlowWrite() { return Duration::Seconds(1); } + // If a read is slow, what target time should we use to try and adjust back + // to? + static constexpr Duration TargetWriteTime() { + return Duration::Milliseconds(300); + } + + // What size should be targetted for the next write. + size_t WriteTargetSize(); + // Notify the policy that a write of some size has begun. + // EndWrite must be called when the write completes. + void BeginWrite(size_t size); + // Notify the policy that a write of some size has ended. + void EndWrite(bool success); + + private: + size_t current_target_ = 128 * 1024; + Timestamp experiment_start_time_ = Timestamp::InfFuture(); + // State varies from -2...2 + // Every time we do a write faster than kFastWrite, we decrement + // Every time we do a write slower than kSlowWrite, we increment + // If we hit -2, we increase the target size and reset state to 0 + // If we hit 2, we decrease the target size and reset state to 0 + // In this way, we need two consecutive fast/slow operations to adjust, + // denoising the signal significantly + int8_t state_ = 0; +}; + +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_WRITE_SIZE_POLICY_H diff --git a/src/core/ext/transport/chttp2/transport/writing.cc b/src/core/ext/transport/chttp2/transport/writing.cc index cf6cec1e43a..5357b2ccf22 100644 --- a/src/core/ext/transport/chttp2/transport/writing.cc +++ b/src/core/ext/transport/chttp2/transport/writing.cc @@ -22,19 +22,19 @@ #include #include +#include #include #include #include #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" -#include "absl/strings/string_view.h" #include "absl/types/optional.h" #include -#include #include #include +#include #include "src/core/ext/transport/chttp2/transport/chttp2_transport.h" #include "src/core/ext/transport/chttp2/transport/context_list_entry.h" @@ -49,21 +49,26 @@ #include "src/core/ext/transport/chttp2/transport/http_trace.h" #include "src/core/ext/transport/chttp2/transport/internal.h" #include "src/core/ext/transport/chttp2/transport/legacy_frame.h" +#include "src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h" +#include "src/core/ext/transport/chttp2/transport/ping_callbacks.h" #include "src/core/ext/transport/chttp2/transport/ping_rate_policy.h" +#include "src/core/ext/transport/chttp2/transport/write_size_policy.h" +#include "src/core/lib/channel/call_tracer.h" #include "src/core/lib/channel/channelz.h" #include "src/core/lib/debug/stats.h" #include "src/core/lib/debug/stats_data.h" #include "src/core/lib/debug/trace.h" -#include "src/core/lib/gprpp/debug_location.h" +#include "src/core/lib/experiments/experiments.h" +#include "src/core/lib/gpr/useful.h" #include "src/core/lib/gprpp/match.h" #include "src/core/lib/gprpp/ref_counted.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/gprpp/time.h" -#include "src/core/lib/iomgr/closure.h" #include "src/core/lib/iomgr/endpoint.h" #include "src/core/lib/iomgr/error.h" #include "src/core/lib/iomgr/exec_ctx.h" #include "src/core/lib/slice/slice.h" +#include "src/core/lib/slice/slice_buffer.h" #include "src/core/lib/transport/bdp_estimator.h" #include "src/core/lib/transport/http2_errors.h" #include "src/core/lib/transport/metadata_batch.h" @@ -77,10 +82,9 @@ static void add_to_write_list(grpc_chttp2_write_cb** list, *list = cb; } -static void finish_write_cb(grpc_chttp2_transport* t, grpc_chttp2_stream* s, - grpc_chttp2_write_cb* cb, grpc_error_handle error) { - grpc_chttp2_complete_closure_step(t, s, &cb->closure, error, - "finish_write_cb"); +static void finish_write_cb(grpc_chttp2_transport* t, grpc_chttp2_write_cb* cb, + grpc_error_handle error) { + grpc_chttp2_complete_closure_step(t, &cb->closure, error, "finish_write_cb"); cb->next = t->write_cb_pool; t->write_cb_pool = cb; } @@ -97,6 +101,9 @@ static grpc_core::Duration NextAllowedPingInterval(grpc_chttp2_transport* t) { // The gRPC keepalive spec doesn't call for any throttling on the server // side, but we are adding some throttling for protection anyway, unless // we are doing a graceful GOAWAY in which case we don't want to wait. + if (grpc_core::IsMultipingEnabled()) { + return grpc_core::Duration::Seconds(1); + } return t->keepalive_time == grpc_core::Duration::Infinity() ? grpc_core::Duration::Seconds(20) : t->keepalive_time / 2; @@ -105,43 +112,33 @@ static grpc_core::Duration NextAllowedPingInterval(grpc_chttp2_transport* t) { } static void maybe_initiate_ping(grpc_chttp2_transport* t) { - grpc_chttp2_ping_queue* pq = &t->ping_queue; - if (grpc_closure_list_empty(pq->lists[GRPC_CHTTP2_PCL_NEXT])) { + if (!t->ping_callbacks.ping_requested()) { // no ping needed: wait return; } - if (!grpc_closure_list_empty(pq->lists[GRPC_CHTTP2_PCL_INFLIGHT])) { - // ping already in-flight: wait - if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) || - GRPC_TRACE_FLAG_ENABLED(grpc_bdp_estimator_trace) || - GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) { - gpr_log(GPR_INFO, "%s: Ping delayed [%s]: already pinging", - t->is_client ? "CLIENT" : "SERVER", - std::string(t->peer_string.as_string_view()).c_str()); - } - return; - } // InvalidateNow to avoid getting stuck re-initializing the ping timer // in a loop while draining the currently-held combiner. Also see // https://github.com/grpc/grpc/issues/26079. grpc_core::ExecCtx::Get()->InvalidateNow(); Match( - t->ping_rate_policy.RequestSendPing(NextAllowedPingInterval(t)), - [pq, t](grpc_core::Chttp2PingRatePolicy::SendGranted) { - pq->inflight_id = t->ping_ctr; - t->ping_ctr++; - grpc_core::ExecCtx::RunList(DEBUG_LOCATION, - &pq->lists[GRPC_CHTTP2_PCL_INITIATE]); - grpc_closure_list_move(&pq->lists[GRPC_CHTTP2_PCL_NEXT], - &pq->lists[GRPC_CHTTP2_PCL_INFLIGHT]); - grpc_slice_buffer_add(&t->outbuf, - grpc_chttp2_ping_create(false, pq->inflight_id)); + t->ping_rate_policy.RequestSendPing(NextAllowedPingInterval(t), + t->ping_callbacks.pings_inflight()), + [t](grpc_core::Chttp2PingRatePolicy::SendGranted) { + t->ping_rate_policy.SentPing(); + const uint64_t id = t->ping_callbacks.StartPing(t->bitgen); + grpc_slice_buffer_add(t->outbuf.c_slice_buffer(), + grpc_chttp2_ping_create(false, id)); + t->keepalive_incoming_data_wanted = true; + if (t->channelz_socket != nullptr) { + t->channelz_socket->RecordKeepaliveSent(); + } grpc_core::global_stats().IncrementHttp2PingsSent(); if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) || GRPC_TRACE_FLAG_ENABLED(grpc_bdp_estimator_trace) || - GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) { - gpr_log(GPR_INFO, "%s: Ping sent [%s]: %s", - t->is_client ? "CLIENT" : "SERVER", + GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace) || + GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace)) { + gpr_log(GPR_INFO, "%s[%p]: Ping %" PRIx64 " sent [%s]: %s", + t->is_client ? "CLIENT" : "SERVER", t, id, std::string(t->peer_string.as_string_view()).c_str(), t->ping_rate_policy.GetDebugString().c_str()); } @@ -150,9 +147,11 @@ static void maybe_initiate_ping(grpc_chttp2_transport* t) { // need to receive something of substance before sending a ping again if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) || GRPC_TRACE_FLAG_ENABLED(grpc_bdp_estimator_trace) || - GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) { + GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace) || + GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace)) { gpr_log(GPR_INFO, - "CLIENT: Ping delayed [%s]: too many recent pings: %s", + "%s[%p]: Ping delayed [%s]: too many recent pings: %s", + t->is_client ? "CLIENT" : "SERVER", t, std::string(t->peer_string.as_string_view()).c_str(), t->ping_rate_policy.GetDebugString().c_str()); } @@ -161,18 +160,21 @@ static void maybe_initiate_ping(grpc_chttp2_transport* t) { // not enough elapsed time between successive pings if (GRPC_TRACE_FLAG_ENABLED(grpc_http_trace) || GRPC_TRACE_FLAG_ENABLED(grpc_bdp_estimator_trace) || - GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) { - gpr_log(GPR_INFO, - "%s: Ping delayed [%s]: not enough time elapsed since last " - "ping. " - " Last ping:%s, minimum wait:%s need to wait:%s", - t->is_client ? "CLIENT" : "SERVER", - std::string(t->peer_string.as_string_view()).c_str(), - too_soon.last_ping.ToString().c_str(), - too_soon.next_allowed_ping_interval.ToString().c_str(), - too_soon.wait.ToString().c_str()); + GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace) || + GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace)) { + gpr_log( + GPR_INFO, + "%s[%p]: Ping delayed [%s]: not enough time elapsed since last " + "ping. Last ping:%s, minimum wait:%s need to wait:%s", + t->is_client ? "CLIENT" : "SERVER", t, + std::string(t->peer_string.as_string_view()).c_str(), + too_soon.last_ping.ToString().c_str(), + too_soon.next_allowed_ping_interval.ToString().c_str(), + too_soon.wait.ToString().c_str()); } - if (!t->delayed_ping_timer_handle.has_value()) { + if (t->delayed_ping_timer_handle == + grpc_event_engine::experimental::EventEngine::TaskHandle:: + kInvalid) { t->delayed_ping_timer_handle = t->event_engine->RunAfter( too_soon.wait, [t = t->Ref()]() mutable { grpc_core::ApplicationCallbackExecCtx callback_exec_ctx; @@ -183,9 +185,9 @@ static void maybe_initiate_ping(grpc_chttp2_transport* t) { }); } -static bool update_list(grpc_chttp2_transport* t, grpc_chttp2_stream* s, - int64_t send_bytes, grpc_chttp2_write_cb** list, - int64_t* ctr, grpc_error_handle error) { +static bool update_list(grpc_chttp2_transport* t, int64_t send_bytes, + grpc_chttp2_write_cb** list, int64_t* ctr, + grpc_error_handle error) { bool sched_any = false; grpc_chttp2_write_cb* cb = *list; *list = nullptr; @@ -194,7 +196,7 @@ static bool update_list(grpc_chttp2_transport* t, grpc_chttp2_stream* s, grpc_chttp2_write_cb* next = cb->next; if (cb->call_at_byte <= *ctr) { sched_any = true; - finish_write_cb(t, s, cb, error); + finish_write_cb(t, cb, error); } else { add_to_write_list(list, cb); } @@ -215,24 +217,16 @@ static void report_stall(grpc_chttp2_transport* t, grpc_chttp2_stream* s, ":peer_initwin=%d:t_win=%" PRId64 ":s_win=%d:s_delta=%" PRId64 "]", std::string(t->peer_string.as_string_view()).c_str(), t, s->id, staller, s->flow_controlled_buffer.length, s->flow_controlled_bytes_flowed, - t->settings[GRPC_ACKED_SETTINGS] - [GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE], + t->settings.acked().initial_window_size(), t->flow_control.remote_window(), static_cast(std::max( - int64_t{0}, - s->flow_control.remote_window_delta() + - static_cast( - t->settings[GRPC_PEER_SETTINGS] - [GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE]))), + int64_t{0}, s->flow_control.remote_window_delta() + + static_cast( + t->settings.peer().initial_window_size()))), s->flow_control.remote_window_delta()); } } -// How many bytes would we like to put on the wire during a single syscall -static uint32_t target_write_size(grpc_chttp2_transport* /*t*/) { - return 1024 * 1024; -} - namespace { class CountDefaultMetadataEncoder { @@ -268,42 +262,57 @@ class WriteContext { } void FlushSettings() { - if (t_->dirtied_local_settings && !t_->sent_local_settings) { - grpc_slice_buffer_add( - &t_->outbuf, grpc_chttp2_settings_create( - t_->settings[GRPC_SENT_SETTINGS], - t_->settings[GRPC_LOCAL_SETTINGS], - t_->force_send_settings, GRPC_CHTTP2_NUM_SETTINGS)); - t_->force_send_settings = false; - t_->dirtied_local_settings = false; - t_->sent_local_settings = true; + t_->settings.mutable_local().SetMaxConcurrentStreams( + t_->max_concurrent_streams_policy.AdvertiseValue()); + auto update = t_->settings.MaybeSendUpdate(); + if (update.has_value()) { + grpc_core::Http2Frame frame(std::move(*update)); + Serialize(absl::Span(&frame, 1), t_->outbuf); + if (t_->keepalive_timeout != grpc_core::Duration::Infinity()) { + GPR_ASSERT( + t_->settings_ack_watchdog == + grpc_event_engine::experimental::EventEngine::TaskHandle::kInvalid); + // We base settings timeout on keepalive timeout, but double it to allow + // for implementations taking some more time about acking a setting. + t_->settings_ack_watchdog = t_->event_engine->RunAfter( + t_->settings_timeout, [t = t_->Ref()]() mutable { + grpc_core::ApplicationCallbackExecCtx callback_exec_ctx; + grpc_core::ExecCtx exec_ctx; + grpc_chttp2_settings_timeout(std::move(t)); + }); + } t_->flow_control.FlushedSettings(); + t_->max_concurrent_streams_policy.FlushedSettings(); grpc_core::global_stats().IncrementHttp2SettingsWrites(); } } void FlushQueuedBuffers() { // simple writes are queued to qbuf, and flushed here - grpc_slice_buffer_move_into(&t_->qbuf, &t_->outbuf); + grpc_slice_buffer_move_into(&t_->qbuf, t_->outbuf.c_slice_buffer()); t_->num_pending_induced_frames = 0; GPR_ASSERT(t_->qbuf.count == 0); } void FlushWindowUpdates() { - uint32_t transport_announce = - t_->flow_control.MaybeSendUpdate(t_->outbuf.count > 0); + uint32_t transport_announce = t_->flow_control.MaybeSendUpdate( + t_->outbuf.c_slice_buffer()->count > 0); if (transport_announce) { grpc_transport_one_way_stats throwaway_stats; - grpc_slice_buffer_add( - &t_->outbuf, grpc_chttp2_window_update_create(0, transport_announce, - &throwaway_stats)); + grpc_slice_buffer_add(t_->outbuf.c_slice_buffer(), + grpc_chttp2_window_update_create( + 0, transport_announce, &throwaway_stats)); grpc_chttp2_reset_ping_clock(t_); } } void FlushPingAcks() { + if (t_->ping_ack_count == 0) return; + // Limit the size of writes if we include ping acks - to avoid the ack being + // delayed by crypto operations. + target_write_size_ = 0; for (size_t i = 0; i < t_->ping_ack_count; i++) { - grpc_slice_buffer_add(&t_->outbuf, + grpc_slice_buffer_add(t_->outbuf.c_slice_buffer(), grpc_chttp2_ping_create(true, t_->ping_acks[i])); } t_->ping_ack_count = 0; @@ -311,8 +320,7 @@ class WriteContext { void EnactHpackSettings() { t_->hpack_compressor.SetMaxTableSize( - t_->settings[GRPC_PEER_SETTINGS] - [GRPC_CHTTP2_SETTINGS_HEADER_TABLE_SIZE]); + t_->settings.peer().header_table_size()); } void UpdateStreamsNoLongerStalled() { @@ -328,7 +336,7 @@ class WriteContext { } grpc_chttp2_stream* NextStream() { - if (t_->outbuf.length > target_write_size(t_)) { + if (t_->outbuf.c_slice_buffer()->length > target_write_size_) { result_.partial = true; return nullptr; } @@ -351,12 +359,15 @@ class WriteContext { grpc_chttp2_transport* transport() const { return t_; } grpc_chttp2_begin_write_result Result() { - result_.writing = t_->outbuf.count > 0; + result_.writing = t_->outbuf.c_slice_buffer()->count > 0; return result_; } + size_t target_write_size() const { return target_write_size_; } + private: grpc_chttp2_transport* const t_; + size_t target_write_size_ = t_->write_size_policy.WriteTargetSize(); // stats histogram counters: we increment these throughout this function, // and at the end publish to the central stats histograms @@ -380,17 +391,16 @@ class DataSendContext { return static_cast(std::max( int64_t{0}, s_->flow_control.remote_window_delta() + - static_cast( - t_->settings[GRPC_PEER_SETTINGS] - [GRPC_CHTTP2_SETTINGS_INITIAL_WINDOW_SIZE]))); + static_cast(t_->settings.peer().initial_window_size()))); } uint32_t max_outgoing() const { - return static_cast(std::min( - t_->settings[GRPC_PEER_SETTINGS][GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE], - static_cast( - std::min(static_cast(stream_remote_window()), - t_->flow_control.remote_window())))); + return grpc_core::Clamp( + std::min( + {t_->settings.peer().max_frame_size(), stream_remote_window(), + t_->flow_control.remote_window(), + static_cast(write_context_->target_write_size())}), + 0, std::numeric_limits::max()); } bool AnyOutgoing() const { return max_outgoing() > 0; } @@ -403,7 +413,8 @@ class DataSendContext { s_->send_trailing_metadata != nullptr && s_->send_trailing_metadata->empty(); grpc_chttp2_encode_data(s_->id, &s_->flow_controlled_buffer, send_bytes, - is_last_frame_, &s_->stats.outgoing, &t_->outbuf); + is_last_frame_, &s_->stats.outgoing, + t_->outbuf.c_slice_buffer()); sfc_upd_.SentData(send_bytes); s_->sending_bytes += send_bytes; } @@ -412,8 +423,7 @@ class DataSendContext { void CallCallbacks() { if (update_list( - t_, s_, - static_cast(s_->sending_bytes - sending_bytes_before_), + t_, static_cast(s_->sending_bytes - sending_bytes_before_), &s_->on_flow_controlled_cbs, &s_->flow_controlled_bytes_flowed, absl::OkStatus())) { write_context_->NoteScheduledResults(); @@ -459,16 +469,12 @@ class StreamWriteContext { grpc_core::HPackCompressor::EncodeHeaderOptions{ s_->id, // stream_id false, // is_eof - t_->settings - [GRPC_PEER_SETTINGS] - [GRPC_CHTTP2_SETTINGS_GRPC_ALLOW_TRUE_BINARY_METADATA] != - 0, // use_true_binary_metadata - t_->settings - [GRPC_PEER_SETTINGS] - [GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE], // max_frame_size - &s_->stats.outgoing // stats + t_->settings.peer() + .allow_true_binary_metadata(), // use_true_binary_metadata + t_->settings.peer().max_frame_size(), // max_frame_size + &s_->stats.outgoing // stats }, - *s_->send_initial_metadata, &t_->outbuf); + *s_->send_initial_metadata, t_->outbuf.c_slice_buffer()); grpc_chttp2_reset_ping_clock(t_); write_context_->IncInitialMetadataWrites(); } @@ -476,9 +482,20 @@ class StreamWriteContext { s_->send_initial_metadata = nullptr; s_->sent_initial_metadata = true; write_context_->NoteScheduledResults(); - grpc_chttp2_complete_closure_step( - t_, s_, &s_->send_initial_metadata_finished, absl::OkStatus(), - "send_initial_metadata_finished"); + grpc_chttp2_complete_closure_step(t_, &s_->send_initial_metadata_finished, + absl::OkStatus(), + "send_initial_metadata_finished"); + if (s_->call_tracer) { + grpc_core::HttpAnnotation::WriteStats write_stats; + write_stats.target_write_size = write_context_->target_write_size(); + s_->call_tracer->RecordAnnotation( + grpc_core::HttpAnnotation( + grpc_core::HttpAnnotation::Type::kHeadWritten, + gpr_now(GPR_CLOCK_REALTIME)) + .Add(s_->t->flow_control.stats()) + .Add(s_->flow_control.stats()) + .Add(write_stats)); + } } void FlushWindowUpdates() { @@ -488,9 +505,9 @@ class StreamWriteContext { const uint32_t stream_announce = s_->flow_control.MaybeSendUpdate(); if (stream_announce == 0) return; - grpc_slice_buffer_add( - &t_->outbuf, grpc_chttp2_window_update_create(s_->id, stream_announce, - &s_->stats.outgoing)); + grpc_slice_buffer_add(t_->outbuf.c_slice_buffer(), + grpc_chttp2_window_update_create( + s_->id, stream_announce, &s_->stats.outgoing)); grpc_chttp2_reset_ping_clock(t_); write_context_->IncWindowUpdateWrites(); } @@ -543,7 +560,7 @@ class StreamWriteContext { GRPC_CHTTP2_IF_TRACING(gpr_log(GPR_INFO, "sending trailing_metadata")); if (s_->send_trailing_metadata->empty()) { grpc_chttp2_encode_data(s_->id, &s_->flow_controlled_buffer, 0, true, - &s_->stats.outgoing, &t_->outbuf); + &s_->stats.outgoing, t_->outbuf.c_slice_buffer()); } else { if (send_status_.has_value()) { s_->send_trailing_metadata->Set(grpc_core::HttpStatusMetadata(), @@ -555,24 +572,18 @@ class StreamWriteContext { } t_->hpack_compressor.EncodeHeaders( grpc_core::HPackCompressor::EncodeHeaderOptions{ - s_->id, true, - t_->settings - [GRPC_PEER_SETTINGS] - [GRPC_CHTTP2_SETTINGS_GRPC_ALLOW_TRUE_BINARY_METADATA] != - 0, - t_->settings[GRPC_PEER_SETTINGS] - [GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE], - &s_->stats.outgoing}, - *s_->send_trailing_metadata, &t_->outbuf); + s_->id, true, t_->settings.peer().allow_true_binary_metadata(), + t_->settings.peer().max_frame_size(), &s_->stats.outgoing}, + *s_->send_trailing_metadata, t_->outbuf.c_slice_buffer()); } write_context_->IncTrailingMetadataWrites(); grpc_chttp2_reset_ping_clock(t_); SentLastFrame(); write_context_->NoteScheduledResults(); - grpc_chttp2_complete_closure_step( - t_, s_, &s_->send_trailing_metadata_finished, absl::OkStatus(), - "send_trailing_metadata_finished"); + grpc_chttp2_complete_closure_step(t_, &s_->send_trailing_metadata_finished, + absl::OkStatus(), + "send_trailing_metadata_finished"); } bool stream_became_writable() { return stream_became_writable_; } @@ -600,11 +611,19 @@ class StreamWriteContext { if (!t_->is_client && !s_->read_closed) { grpc_slice_buffer_add( - &t_->outbuf, grpc_chttp2_rst_stream_create( - s_->id, GRPC_HTTP2_NO_ERROR, &s_->stats.outgoing)); + t_->outbuf.c_slice_buffer(), + grpc_chttp2_rst_stream_create(s_->id, GRPC_HTTP2_NO_ERROR, + &s_->stats.outgoing)); } grpc_chttp2_mark_stream_closed(t_, s_, !t_->is_client, true, absl::OkStatus()); + if (s_->call_tracer) { + s_->call_tracer->RecordAnnotation( + grpc_core::HttpAnnotation(grpc_core::HttpAnnotation::Type::kEnd, + gpr_now(GPR_CLOCK_REALTIME)) + .Add(s_->t->flow_control.stats()) + .Add(s_->flow_control.stats())); + } } WriteContext* const write_context_; @@ -634,16 +653,17 @@ grpc_chttp2_begin_write_result grpc_chttp2_begin_write( // (according to available window sizes) and add to the output buffer while (grpc_chttp2_stream* s = ctx.NextStream()) { StreamWriteContext stream_ctx(&ctx, s); - size_t orig_len = t->outbuf.length; + size_t orig_len = t->outbuf.c_slice_buffer()->length; int64_t num_stream_bytes = 0; stream_ctx.FlushInitialMetadata(); stream_ctx.FlushWindowUpdates(); stream_ctx.FlushData(); stream_ctx.FlushTrailingMetadata(); - if (t->outbuf.length > orig_len) { + if (t->outbuf.c_slice_buffer()->length > orig_len) { // Add this stream to the list of the contexts to be traced at TCP - num_stream_bytes = t->outbuf.length - orig_len; + num_stream_bytes = t->outbuf.c_slice_buffer()->length - orig_len; s->byte_counter += static_cast(num_stream_bytes); + ++s->write_counter; if (s->traced && grpc_endpoint_can_track_err(t->ep)) { grpc_core::CopyContextFn copy_context_fn = grpc_core::GrpcHttp2GetCopyContextFn(); @@ -651,7 +671,8 @@ grpc_chttp2_begin_write_result grpc_chttp2_begin_write( grpc_core::GrpcHttp2GetWriteTimestampsCallback() != nullptr) { t->cl->emplace_back(copy_context_fn(s->context), outbuf_relative_start_pos, num_stream_bytes, - s->byte_counter); + s->byte_counter, s->write_counter - 1, + s->tcp_tracer); } } outbuf_relative_start_pos += num_stream_bytes; @@ -683,14 +704,52 @@ void grpc_chttp2_end_write(grpc_chttp2_transport* t, grpc_error_handle error) { } t->num_messages_in_next_write = 0; + if (t->ping_callbacks.started_new_ping_without_setting_timeout() && + t->keepalive_timeout != grpc_core::Duration::Infinity()) { + // Set ping timeout after finishing write so we don't measure our own send + // time. + const auto timeout = t->ping_timeout; + auto id = t->ping_callbacks.OnPingTimeout( + timeout, t->event_engine.get(), [t = t->Ref()] { + grpc_core::ApplicationCallbackExecCtx callback_exec_ctx; + grpc_core::ExecCtx exec_ctx; + grpc_chttp2_ping_timeout(t); + }); + if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace) && id.has_value()) { + gpr_log(GPR_INFO, + "%s[%p]: Set ping timeout timer of %s for ping id %" PRIx64, + t->is_client ? "CLIENT" : "SERVER", t, timeout.ToString().c_str(), + id.value()); + } + + if (t->keepalive_incoming_data_wanted && + t->keepalive_timeout < t->ping_timeout && + t->keepalive_ping_timeout_handle != + grpc_event_engine::experimental::EventEngine::TaskHandle:: + kInvalid) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_ping_trace) || + GRPC_TRACE_FLAG_ENABLED(grpc_keepalive_trace)) { + gpr_log(GPR_INFO, "%s[%p]: Set keepalive ping timeout timer of %s", + t->is_client ? "CLIENT" : "SERVER", t, + t->keepalive_timeout.ToString().c_str()); + } + t->keepalive_ping_timeout_handle = + t->event_engine->RunAfter(t->keepalive_timeout, [t = t->Ref()] { + grpc_core::ApplicationCallbackExecCtx callback_exec_ctx; + grpc_core::ExecCtx exec_ctx; + grpc_chttp2_keepalive_timeout(t); + }); + } + } + while (grpc_chttp2_list_pop_writing_stream(t, &s)) { if (s->sending_bytes != 0) { - update_list(t, s, static_cast(s->sending_bytes), + update_list(t, static_cast(s->sending_bytes), &s->on_write_finished_cbs, &s->flow_controlled_bytes_written, error); s->sending_bytes = 0; } GRPC_CHTTP2_STREAM_UNREF(s, "chttp2_writing:end"); } - grpc_slice_buffer_reset_and_unref(&t->outbuf); + grpc_slice_buffer_reset_and_unref(t->outbuf.c_slice_buffer()); } diff --git a/src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc b/src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc index 5cc1d5b554c..996fc0dd42e 100644 --- a/src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc +++ b/src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc @@ -33,17 +33,7 @@ #include "src/core/lib/iomgr/exec_ctx.h" #include "src/core/lib/surface/channel.h" #include "src/core/lib/surface/channel_stack_type.h" -#include "src/core/lib/transport/transport_fwd.h" -#include "src/core/lib/transport/transport_impl.h" - -// Cronet transport object -typedef struct cronet_transport { - grpc_transport base; // must be first element in this structure - void* engine; - char* host; -} cronet_transport; - -extern grpc_transport_vtable grpc_cronet_vtable; +#include "src/core/lib/transport/transport.h" GRPCAPI grpc_channel* grpc_cronet_secure_channel_create( void* engine, const char* target, const grpc_channel_args* args, @@ -58,7 +48,7 @@ GRPCAPI grpc_channel* grpc_cronet_secure_channel_create( .PreconditionChannelArgs(args) .Set(GRPC_ARG_DISABLE_CLIENT_AUTHORITY_FILTER, 1); - grpc_transport* ct = grpc_create_cronet_transport( + grpc_core::Transport* ct = grpc_create_cronet_transport( engine, target, channel_args.ToC().get(), reserved); grpc_core::ExecCtx exec_ctx; diff --git a/src/core/ext/transport/cronet/transport/cronet_transport.cc b/src/core/ext/transport/cronet/transport/cronet_transport.cc index 270639362a0..aaf9cacef30 100644 --- a/src/core/ext/transport/cronet/transport/cronet_transport.cc +++ b/src/core/ext/transport/cronet/transport/cronet_transport.cc @@ -24,7 +24,6 @@ #include #include -#include #include #include #include @@ -62,7 +61,6 @@ #include "src/core/lib/surface/validate_metadata.h" #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" -#include "src/core/lib/transport/transport_impl.h" // IWYU pragma: no_include @@ -122,8 +120,31 @@ static bidirectional_stream_callback cronet_callbacks = { on_canceled}; // Cronet transport object -struct grpc_cronet_transport { - grpc_transport base; // must be first element in this structure +struct grpc_cronet_transport final : public grpc_core::Transport, + public grpc_core::FilterStackTransport { + FilterStackTransport* filter_stack_transport() override { return this; } + grpc_core::ClientTransport* client_transport() override { return nullptr; } + grpc_core::ServerTransport* server_transport() override { return nullptr; } + + absl::string_view GetTransportName() const override { return "cronet_http"; } + void SetPollset(grpc_stream* /*stream*/, grpc_pollset* /*pollset*/) override { + } + void SetPollsetSet(grpc_stream* /*stream*/, + grpc_pollset_set* /*pollset_set*/) override {} + void PerformOp(grpc_transport_op* op) override; + grpc_endpoint* GetEndpoint() override { return nullptr; } + size_t SizeOfStream() const override; + void InitStream(grpc_stream* gs, grpc_stream_refcount* refcount, + const void* server_data, grpc_core::Arena* arena) override; + bool HackyDisableStreamOpBatchCoalescingInConnectedChannel() const override { + return true; + } + void PerformStreamOp(grpc_stream* gs, + grpc_transport_stream_op_batch* op) override; + void DestroyStream(grpc_stream* gs, + grpc_closure* then_schedule_closure) override; + void Orphan() override {} + stream_engine* engine; char* host; bool use_packet_coalescing; @@ -204,7 +225,7 @@ struct op_storage { }; struct stream_obj { - stream_obj(grpc_transport* gt, grpc_stream* gs, + stream_obj(grpc_core::Transport* gt, grpc_stream* gs, grpc_stream_refcount* refcount, grpc_core::Arena* arena); ~stream_obj(); @@ -1385,7 +1406,7 @@ static enum e_op_result execute_stream_op(struct op_and_state* oas) { // Functions used by upper layers to access transport functionality. // -inline stream_obj::stream_obj(grpc_transport* gt, grpc_stream* gs, +inline stream_obj::stream_obj(grpc_core::Transport* gt, grpc_stream* gs, grpc_stream_refcount* refcount, grpc_core::Arena* arena) : arena(arena), @@ -1399,22 +1420,15 @@ inline stream_obj::stream_obj(grpc_transport* gt, grpc_stream* gs, inline stream_obj::~stream_obj() { null_and_maybe_free_read_buffer(this); } -static int init_stream(grpc_transport* gt, grpc_stream* gs, - grpc_stream_refcount* refcount, - const void* /*server_data*/, grpc_core::Arena* arena) { - new (gs) stream_obj(gt, gs, refcount, arena); - return 0; +void grpc_cronet_transport::InitStream(grpc_stream* gs, + grpc_stream_refcount* refcount, + const void* /*server_data*/, + grpc_core::Arena* arena) { + new (gs) stream_obj(this, gs, refcount, arena); } -static void set_pollset_do_nothing(grpc_transport* /*gt*/, grpc_stream* /*gs*/, - grpc_pollset* /*pollset*/) {} - -static void set_pollset_set_do_nothing(grpc_transport* /*gt*/, - grpc_stream* /*gs*/, - grpc_pollset_set* /*pollset_set*/) {} - -static void perform_stream_op(grpc_transport* /*gt*/, grpc_stream* gs, - grpc_transport_stream_op_batch* op) { +void grpc_cronet_transport::PerformStreamOp( + grpc_stream* gs, grpc_transport_stream_op_batch* op) { CRONET_LOG(GPR_DEBUG, "perform_stream_op"); if (op->send_initial_metadata && header_has_authority( @@ -1447,43 +1461,27 @@ static void perform_stream_op(grpc_transport* /*gt*/, grpc_stream* gs, execute_from_storage(s); } -static void destroy_stream(grpc_transport* /*gt*/, grpc_stream* gs, - grpc_closure* then_schedule_closure) { +void grpc_cronet_transport::DestroyStream(grpc_stream* gs, + grpc_closure* then_schedule_closure) { stream_obj* s = reinterpret_cast(gs); s->~stream_obj(); grpc_core::ExecCtx::Run(DEBUG_LOCATION, then_schedule_closure, absl::OkStatus()); } -static void destroy_transport(grpc_transport* /*gt*/) {} - -static grpc_endpoint* get_endpoint(grpc_transport* /*gt*/) { return nullptr; } - -static void perform_op(grpc_transport* /*gt*/, grpc_transport_op* /*op*/) {} - -static const grpc_transport_vtable grpc_cronet_vtable = { - sizeof(stream_obj), - false, - "cronet_http", - init_stream, - nullptr, - set_pollset_do_nothing, - set_pollset_set_do_nothing, - perform_stream_op, - perform_op, - destroy_stream, - destroy_transport, - get_endpoint}; - -grpc_transport* grpc_create_cronet_transport(void* engine, const char* target, - const grpc_channel_args* args, - void* /*reserved*/) { - grpc_cronet_transport* ct = static_cast( - gpr_malloc(sizeof(grpc_cronet_transport))); +void grpc_cronet_transport::PerformOp(grpc_transport_op* /*op*/) {} + +size_t grpc_cronet_transport::SizeOfStream() const { + return sizeof(stream_obj); +} + +grpc_core::Transport* grpc_create_cronet_transport( + void* engine, const char* target, const grpc_channel_args* args, + void* /*reserved*/) { + grpc_cronet_transport* ct = new grpc_cronet_transport(); if (!ct) { goto error; } - ct->base.vtable = &grpc_cronet_vtable; ct->engine = static_cast(engine); ct->host = static_cast(gpr_malloc(strlen(target) + 1)); if (!ct->host) { @@ -1506,14 +1504,14 @@ grpc_transport* grpc_create_cronet_transport(void* engine, const char* target, } } - return &ct->base; + return ct; error: if (ct) { if (ct->host) { gpr_free(ct->host); } - gpr_free(ct); + delete ct; } return nullptr; diff --git a/src/core/ext/transport/cronet/transport/cronet_transport.h b/src/core/ext/transport/cronet/transport/cronet_transport.h index 8e6f0a88a10..c3659bce1e3 100644 --- a/src/core/ext/transport/cronet/transport/cronet_transport.h +++ b/src/core/ext/transport/cronet/transport/cronet_transport.h @@ -25,8 +25,8 @@ #include "src/core/lib/transport/transport_fwd.h" -grpc_transport* grpc_create_cronet_transport(void* engine, const char* target, - const grpc_channel_args* args, - void* reserved); +grpc_core::Transport* grpc_create_cronet_transport( + void* engine, const char* target, const grpc_channel_args* args, + void* reserved); #endif // GRPC_SRC_CORE_EXT_TRANSPORT_CRONET_TRANSPORT_CRONET_TRANSPORT_H diff --git a/src/core/ext/transport/inproc/inproc_transport.cc b/src/core/ext/transport/inproc/inproc_transport.cc index 4d32ad0c7cc..936068b0aa3 100644 --- a/src/core/ext/transport/inproc/inproc_transport.cc +++ b/src/core/ext/transport/inproc/inproc_transport.cc @@ -1,5 +1,3 @@ -// -// // Copyright 2017 gRPC authors. // // Licensed under the Apache License, Version 2.0 (the "License"); @@ -13,1278 +11,211 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// -// #include #include "src/core/ext/transport/inproc/inproc_transport.h" -#include - -#include -#include -#include -#include -#include - -#include "absl/status/status.h" -#include "absl/status/statusor.h" -#include "absl/strings/str_cat.h" -#include "absl/strings/string_view.h" -#include "absl/types/optional.h" +#include #include -#include -#include -#include -#include #include -#include -#include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/channel/channel_args_preconditioning.h" -#include "src/core/lib/channel/channelz.h" -#include "src/core/lib/config/core_configuration.h" -#include "src/core/lib/gprpp/debug_location.h" -#include "src/core/lib/gprpp/ref_counted_ptr.h" -#include "src/core/lib/gprpp/status_helper.h" -#include "src/core/lib/gprpp/time.h" -#include "src/core/lib/iomgr/closure.h" -#include "src/core/lib/iomgr/endpoint.h" -#include "src/core/lib/iomgr/error.h" -#include "src/core/lib/iomgr/exec_ctx.h" -#include "src/core/lib/iomgr/iomgr_fwd.h" -#include "src/core/lib/resource_quota/arena.h" -#include "src/core/lib/slice/slice.h" -#include "src/core/lib/slice/slice_buffer.h" -#include "src/core/lib/surface/api_trace.h" -#include "src/core/lib/surface/channel.h" -#include "src/core/lib/surface/channel_stack_type.h" +#include "src/core/ext/transport/inproc/legacy_inproc_transport.h" +#include "src/core/lib/experiments/experiments.h" +#include "src/core/lib/gprpp/crash.h" +#include "src/core/lib/promise/promise.h" +#include "src/core/lib/promise/try_seq.h" #include "src/core/lib/surface/server.h" -#include "src/core/lib/transport/connectivity_state.h" -#include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" -#include "src/core/lib/transport/transport_fwd.h" -#include "src/core/lib/transport/transport_impl.h" -#define INPROC_LOG(...) \ - do { \ - if (GRPC_TRACE_FLAG_ENABLED(grpc_inproc_trace)) { \ - gpr_log(__VA_ARGS__); \ - } \ - } while (0) +namespace grpc_core { namespace { -struct inproc_stream; -bool cancel_stream_locked(inproc_stream* s, grpc_error_handle error); -void maybe_process_ops_locked(inproc_stream* s, grpc_error_handle error); -void op_state_machine_locked(inproc_stream* s, grpc_error_handle error); -void log_metadata(const grpc_metadata_batch* md_batch, bool is_client, - bool is_initial); -void fill_in_metadata(inproc_stream* s, const grpc_metadata_batch* metadata, - grpc_metadata_batch* out_md, bool* markfilled); - -void ResetSendMessage(grpc_transport_stream_op_batch* batch) { - std::exchange(batch->payload->send_message.send_message, nullptr)->Clear(); -} - -struct shared_mu { - shared_mu() { - // Share one lock between both sides since both sides get affected - gpr_mu_init(&mu); - gpr_ref_init(&refs, 2); - } - - ~shared_mu() { gpr_mu_destroy(&mu); } - - gpr_mu mu; - gpr_refcount refs; -}; - -struct inproc_transport { - inproc_transport(const grpc_transport_vtable* vtable, shared_mu* mu, - bool is_client) - : mu(mu), - is_client(is_client), - state_tracker(is_client ? "inproc_client" : "inproc_server", - GRPC_CHANNEL_READY) { - base.vtable = vtable; - // Start each side of transport with 2 refs since they each have a ref - // to the other - gpr_ref_init(&refs, 2); - } - - ~inproc_transport() { - if (gpr_unref(&mu->refs)) { - mu->~shared_mu(); - gpr_free(mu); - } - } - - void ref() { - INPROC_LOG(GPR_INFO, "ref_transport %p", this); - gpr_ref(&refs); - } - - void unref() { - INPROC_LOG(GPR_INFO, "unref_transport %p", this); - if (!gpr_unref(&refs)) { - return; +class InprocServerTransport final : public RefCounted, + public Transport, + public ServerTransport { + public: + void SetAcceptor(Acceptor* acceptor) override { + acceptor_ = acceptor; + ConnectionState expect = ConnectionState::kInitial; + state_.compare_exchange_strong(expect, ConnectionState::kReady, + std::memory_order_acq_rel, + std::memory_order_acquire); + MutexLock lock(&state_tracker_mu_); + state_tracker_.SetState(GRPC_CHANNEL_READY, absl::OkStatus(), + "accept function set"); + } + + void Orphan() override { Unref(); } + + FilterStackTransport* filter_stack_transport() override { return nullptr; } + ClientTransport* client_transport() override { return nullptr; } + ServerTransport* server_transport() override { return this; } + absl::string_view GetTransportName() const override { return "inproc"; } + void SetPollset(grpc_stream*, grpc_pollset*) override {} + void SetPollsetSet(grpc_stream*, grpc_pollset_set*) override {} + void PerformOp(grpc_transport_op* op) override { + gpr_log(GPR_INFO, "inproc server op: %s", + grpc_transport_op_string(op).c_str()); + if (op->start_connectivity_watch != nullptr) { + MutexLock lock(&state_tracker_mu_); + state_tracker_.AddWatcher(op->start_connectivity_watch_state, + std::move(op->start_connectivity_watch)); } - INPROC_LOG(GPR_INFO, "really_destroy_transport %p", this); - this->~inproc_transport(); - gpr_free(this); - } - - grpc_transport base; - shared_mu* mu; - gpr_refcount refs; - bool is_client; - grpc_core::ConnectivityStateTracker state_tracker; - void (*accept_stream_cb)(void* user_data, grpc_transport* transport, - const void* server_data); - void (*registered_method_matcher_cb)( - void* user_data, grpc_core::ServerMetadata* metadata) = nullptr; - void* accept_stream_data; - bool is_closed = false; - struct inproc_transport* other_side; - struct inproc_stream* stream_list = nullptr; -}; - -struct inproc_stream { - inproc_stream(inproc_transport* t, grpc_stream_refcount* refcount, - const void* server_data, grpc_core::Arena* arena) - : t(t), refs(refcount), arena(arena) { - // Ref this stream right now for ctor and list. - ref("inproc_init_stream:init"); - ref("inproc_init_stream:list"); - - stream_list_prev = nullptr; - gpr_mu_lock(&t->mu->mu); - stream_list_next = t->stream_list; - if (t->stream_list) { - t->stream_list->stream_list_prev = this; + if (op->stop_connectivity_watch != nullptr) { + MutexLock lock(&state_tracker_mu_); + state_tracker_.RemoveWatcher(op->stop_connectivity_watch); } - t->stream_list = this; - gpr_mu_unlock(&t->mu->mu); - - if (!server_data) { - t->ref(); - inproc_transport* st = t->other_side; - st->ref(); - other_side = nullptr; // will get filled in soon - // Pass the client-side stream address to the server-side for a ref - ref("inproc_init_stream:clt"); // ref it now on behalf of server - // side to avoid destruction - INPROC_LOG(GPR_INFO, "calling accept stream cb %p %p", - st->accept_stream_cb, st->accept_stream_data); - (*st->accept_stream_cb)(st->accept_stream_data, &st->base, this); - } else { - // This is the server-side and is being called through accept_stream_cb - inproc_stream* cs = const_cast( - static_cast(server_data)); - other_side = cs; - // Ref the server-side stream on behalf of the client now - ref("inproc_init_stream:srv"); - - // Now we are about to affect the other side, so lock the transport - // to make sure that it doesn't get destroyed - gpr_mu_lock(&t->mu->mu); - cs->other_side = this; - // Now transfer from the other side's write_buffer if any to the to_read - // buffer - if (cs->write_buffer_initial_md_filled) { - fill_in_metadata(this, &cs->write_buffer_initial_md, - &to_read_initial_md, &to_read_initial_md_filled); - deadline = std::min(deadline, cs->write_buffer_deadline); - cs->write_buffer_initial_md.Clear(); - cs->write_buffer_initial_md_filled = false; - } - if (cs->write_buffer_trailing_md_filled) { - fill_in_metadata(this, &cs->write_buffer_trailing_md, - &to_read_trailing_md, &to_read_trailing_md_filled); - cs->write_buffer_trailing_md.Clear(); - cs->write_buffer_trailing_md_filled = false; - } - if (!cs->write_buffer_cancel_error.ok()) { - cancel_other_error = cs->write_buffer_cancel_error; - cs->write_buffer_cancel_error = absl::OkStatus(); - maybe_process_ops_locked(this, cancel_other_error); - } - - gpr_mu_unlock(&t->mu->mu); + if (op->set_accept_stream) { + Crash("set_accept_stream not supported on inproc transport"); } } + grpc_endpoint* GetEndpoint() override { return nullptr; } - ~inproc_stream() { t->unref(); } - -#ifndef NDEBUG -#define STREAM_REF(refs, reason) grpc_stream_ref(refs, reason) -#define STREAM_UNREF(refs, reason) grpc_stream_unref(refs, reason) -#else -#define STREAM_REF(refs, reason) grpc_stream_ref(refs) -#define STREAM_UNREF(refs, reason) grpc_stream_unref(refs) -#endif - void ref(const char* reason) { - INPROC_LOG(GPR_INFO, "ref_stream %p %s", this, reason); - STREAM_REF(refs, reason); + void Disconnect(absl::Status error) { + if (disconnecting_.exchange(true, std::memory_order_relaxed)) return; + disconnect_error_ = std::move(error); + state_.store(ConnectionState::kDisconnected, std::memory_order_relaxed); + MutexLock lock(&state_tracker_mu_); + state_tracker_.SetState(GRPC_CHANNEL_SHUTDOWN, disconnect_error_, + "inproc transport disconnected"); } - void unref(const char* reason) { - INPROC_LOG(GPR_INFO, "unref_stream %p %s", this, reason); - STREAM_UNREF(refs, reason); + absl::StatusOr AcceptCall(ClientMetadata& md) { + switch (state_.load(std::memory_order_acquire)) { + case ConnectionState::kInitial: + return absl::InternalError( + "inproc transport hasn't started accepting calls"); + case ConnectionState::kDisconnected: + return absl::UnavailableError("inproc transport is disconnected"); + case ConnectionState::kReady: + break; + } + return acceptor_->CreateCall(md, acceptor_->CreateArena()); } -#undef STREAM_REF -#undef STREAM_UNREF - - inproc_transport* t; - grpc_stream_refcount* refs; - grpc_core::Arena* arena; - - grpc_metadata_batch to_read_initial_md{arena}; - bool to_read_initial_md_filled = false; - grpc_metadata_batch to_read_trailing_md{arena}; - bool to_read_trailing_md_filled = false; - bool ops_needed = false; - // Write buffer used only during gap at init time when client-side - // stream is set up but server side stream is not yet set up - grpc_metadata_batch write_buffer_initial_md{arena}; - bool write_buffer_initial_md_filled = false; - grpc_core::Timestamp write_buffer_deadline = - grpc_core::Timestamp::InfFuture(); - grpc_metadata_batch write_buffer_trailing_md{arena}; - bool write_buffer_trailing_md_filled = false; - grpc_error_handle write_buffer_cancel_error; - - struct inproc_stream* other_side; - bool other_side_closed = false; // won't talk anymore - bool write_buffer_other_side_closed = false; // on hold - - grpc_transport_stream_op_batch* send_message_op = nullptr; - grpc_transport_stream_op_batch* send_trailing_md_op = nullptr; - grpc_transport_stream_op_batch* recv_initial_md_op = nullptr; - grpc_transport_stream_op_batch* recv_message_op = nullptr; - grpc_transport_stream_op_batch* recv_trailing_md_op = nullptr; - - bool initial_md_sent = false; - bool trailing_md_sent = false; - bool initial_md_recvd = false; - bool trailing_md_recvd = false; - // The following tracks if the server-side only pretends to have received - // trailing metadata since it no longer cares about the RPC. If that is the - // case, it is still ok for the client to send trailing metadata (in which - // case it will be ignored). - bool trailing_md_recvd_implicit_only = false; - bool closed = false; - - grpc_error_handle cancel_self_error; - grpc_error_handle cancel_other_error; - - grpc_core::Timestamp deadline = grpc_core::Timestamp::InfFuture(); - - bool listed = true; - struct inproc_stream* stream_list_prev; - struct inproc_stream* stream_list_next; + private: + enum class ConnectionState : uint8_t { kInitial, kReady, kDisconnected }; + + std::atomic state_{ConnectionState::kInitial}; + std::atomic disconnecting_{false}; + Acceptor* acceptor_; + absl::Status disconnect_error_; + Mutex state_tracker_mu_; + ConnectivityStateTracker state_tracker_ ABSL_GUARDED_BY(state_tracker_mu_){ + "inproc_server_transport", GRPC_CHANNEL_CONNECTING}; }; -void log_metadata(const grpc_metadata_batch* md_batch, bool is_client, - bool is_initial) { - std::string prefix = absl::StrCat( - "INPROC:", is_initial ? "HDR:" : "TRL:", is_client ? "CLI:" : "SVR:"); - md_batch->Log([&prefix](absl::string_view key, absl::string_view value) { - gpr_log(GPR_INFO, "%s", absl::StrCat(prefix, key, ": ", value).c_str()); - }); -} - -namespace { - -class CopySink { +class InprocClientTransport final : public Transport, public ClientTransport { public: - explicit CopySink(grpc_metadata_batch* dst) : dst_(dst) {} - - void Encode(const grpc_core::Slice& key, const grpc_core::Slice& value) { - dst_->Append(key.as_string_view(), value.AsOwned(), - [](absl::string_view, const grpc_core::Slice&) {}); - } - - template - void Encode(T trait, V value) { - dst_->Set(trait, value); - } - - template - void Encode(T trait, const grpc_core::Slice& value) { - dst_->Set(trait, value.AsOwned()); - } + void StartCall(CallHandler call_handler) override { + call_handler.SpawnGuarded( + "pull_initial_metadata", + TrySeq(call_handler.PullClientInitialMetadata(), + [server_transport = server_transport_, + call_handler](ClientMetadataHandle md) { + auto call_initiator = server_transport->AcceptCall(*md); + if (!call_initiator.ok()) return call_initiator.status(); + ForwardCall(call_handler, std::move(*call_initiator), + std::move(md)); + return absl::OkStatus(); + })); + } + + void Orphan() override { delete this; } + + OrphanablePtr GetServerTransport() { + return OrphanablePtr(server_transport_->Ref().release()); + } + + FilterStackTransport* filter_stack_transport() override { return nullptr; } + ClientTransport* client_transport() override { return this; } + ServerTransport* server_transport() override { return nullptr; } + absl::string_view GetTransportName() const override { return "inproc"; } + void SetPollset(grpc_stream*, grpc_pollset*) override {} + void SetPollsetSet(grpc_stream*, grpc_pollset_set*) override {} + void PerformOp(grpc_transport_op*) override { Crash("unimplemented"); } + grpc_endpoint* GetEndpoint() override { return nullptr; } private: - grpc_metadata_batch* dst_; -}; - -} // namespace - -void fill_in_metadata(inproc_stream* s, const grpc_metadata_batch* metadata, - grpc_metadata_batch* out_md, bool* markfilled) { - if (GRPC_TRACE_FLAG_ENABLED(grpc_inproc_trace)) { - log_metadata(metadata, s->t->is_client, - metadata->get_pointer(grpc_core::WaitForReady()) != nullptr); - } - - if (markfilled != nullptr) { - *markfilled = true; - } - - // TODO(ctiller): copy the metadata batch, don't rely on a bespoke copy - // function. Can only do this once mdelems are out of the way though, too - // many edge cases otherwise. - out_md->Clear(); - CopySink sink(out_md); - metadata->Encode(&sink); -} - -int init_stream(grpc_transport* gt, grpc_stream* gs, - grpc_stream_refcount* refcount, const void* server_data, - grpc_core::Arena* arena) { - INPROC_LOG(GPR_INFO, "init_stream %p %p %p", gt, gs, server_data); - inproc_transport* t = reinterpret_cast(gt); - new (gs) inproc_stream(t, refcount, server_data, arena); - return 0; // return value is not important -} - -void close_stream_locked(inproc_stream* s) { - if (!s->closed) { - // Release the metadata that we would have written out - s->write_buffer_initial_md.Clear(); - s->write_buffer_trailing_md.Clear(); - - if (s->listed) { - inproc_stream* p = s->stream_list_prev; - inproc_stream* n = s->stream_list_next; - if (p != nullptr) { - p->stream_list_next = n; - } else { - s->t->stream_list = n; - } - if (n != nullptr) { - n->stream_list_prev = p; - } - s->listed = false; - s->unref("close_stream:list"); - } - s->closed = true; - s->unref("close_stream:closing"); - } -} - -// This function means that we are done talking/listening to the other side -void close_other_side_locked(inproc_stream* s, const char* reason) { - if (s->other_side != nullptr) { - // First release the metadata that came from the other side's arena - s->to_read_initial_md.Clear(); - s->to_read_trailing_md.Clear(); - - s->other_side->unref(reason); - s->other_side_closed = true; - s->other_side = nullptr; - } else if (!s->other_side_closed) { - s->write_buffer_other_side_closed = true; - } -} - -// Call the on_complete closure associated with this stream_op_batch if -// this stream_op_batch is only one of the pending operations for this -// stream. This is called when one of the pending operations for the stream -// is done and about to be NULLed out -void complete_if_batch_end_locked(inproc_stream* s, grpc_error_handle error, - grpc_transport_stream_op_batch* op, - const char* msg) { - int is_sm = static_cast(op == s->send_message_op); - int is_stm = static_cast(op == s->send_trailing_md_op); - // TODO(vjpai): We should not consider the recv ops here, since they - // have their own callbacks. We should invoke a batch's on_complete - // as soon as all of the batch's send ops are complete, even if there - // are still recv ops pending. - int is_rim = static_cast(op == s->recv_initial_md_op); - int is_rm = static_cast(op == s->recv_message_op); - int is_rtm = static_cast(op == s->recv_trailing_md_op); - - if ((is_sm + is_stm + is_rim + is_rm + is_rtm) == 1) { - INPROC_LOG(GPR_INFO, "%s %p %p %p %s", msg, s, op, op->on_complete, - grpc_core::StatusToString(error).c_str()); - grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_complete, error); - } -} - -void maybe_process_ops_locked(inproc_stream* s, grpc_error_handle error) { - if (s && (!error.ok() || s->ops_needed)) { - s->ops_needed = false; - op_state_machine_locked(s, error); - } -} - -void fail_helper_locked(inproc_stream* s, grpc_error_handle error) { - INPROC_LOG(GPR_INFO, "op_state_machine %p fail_helper", s); - // If we're failing this side, we need to make sure that - // we also send or have already sent trailing metadata - if (!s->trailing_md_sent) { - // Send trailing md to the other side indicating cancellation - s->trailing_md_sent = true; - - grpc_metadata_batch fake_md(s->arena); - inproc_stream* other = s->other_side; - grpc_metadata_batch* dest = (other == nullptr) - ? &s->write_buffer_trailing_md - : &other->to_read_trailing_md; - bool* destfilled = (other == nullptr) ? &s->write_buffer_trailing_md_filled - : &other->to_read_trailing_md_filled; - fill_in_metadata(s, &fake_md, dest, destfilled); - - if (other != nullptr) { - if (other->cancel_other_error.ok()) { - other->cancel_other_error = error; - } - maybe_process_ops_locked(other, error); - } else if (s->write_buffer_cancel_error.ok()) { - s->write_buffer_cancel_error = error; - } - } - if (s->recv_initial_md_op) { - grpc_error_handle err; - if (!s->t->is_client) { - // If this is a server, provide initial metadata with a path and - // authority since it expects that as well as no error yet - grpc_metadata_batch fake_md(s->arena); - fake_md.Set(grpc_core::HttpPathMetadata(), - grpc_core::Slice::FromStaticString("/")); - fake_md.Set(grpc_core::HttpAuthorityMetadata(), - grpc_core::Slice::FromStaticString("inproc-fail")); - - fill_in_metadata(s, &fake_md, - s->recv_initial_md_op->payload->recv_initial_metadata - .recv_initial_metadata, - nullptr); - err = absl::OkStatus(); - } else { - err = error; - } - if (s->recv_initial_md_op->payload->recv_initial_metadata - .trailing_metadata_available != nullptr) { - // Set to true unconditionally, because we're failing the call, so even - // if we haven't actually seen the send_trailing_metadata op from the - // other side, we're going to return trailing metadata anyway. - *s->recv_initial_md_op->payload->recv_initial_metadata - .trailing_metadata_available = true; - } - INPROC_LOG(GPR_INFO, - "fail_helper %p scheduling initial-metadata-ready %s %s", s, - grpc_core::StatusToString(error).c_str(), - grpc_core::StatusToString(err).c_str()); - grpc_core::ExecCtx::Run( - DEBUG_LOCATION, - s->recv_initial_md_op->payload->recv_initial_metadata - .recv_initial_metadata_ready, - err); - // Last use of err so no need to REF and then UNREF it - - complete_if_batch_end_locked( - s, error, s->recv_initial_md_op, - "fail_helper scheduling recv-initial-metadata-on-complete"); - s->recv_initial_md_op = nullptr; - } - if (s->recv_message_op) { - INPROC_LOG(GPR_INFO, "fail_helper %p scheduling message-ready %s", s, - grpc_core::StatusToString(error).c_str()); - if (s->recv_message_op->payload->recv_message - .call_failed_before_recv_message != nullptr) { - *s->recv_message_op->payload->recv_message - .call_failed_before_recv_message = true; - } - grpc_core::ExecCtx::Run( - DEBUG_LOCATION, - s->recv_message_op->payload->recv_message.recv_message_ready, error); - complete_if_batch_end_locked( - s, error, s->recv_message_op, - "fail_helper scheduling recv-message-on-complete"); - s->recv_message_op = nullptr; - } - if (s->send_message_op) { - ResetSendMessage(s->send_message_op); - complete_if_batch_end_locked( - s, error, s->send_message_op, - "fail_helper scheduling send-message-on-complete"); - s->send_message_op = nullptr; - } - if (s->send_trailing_md_op) { - complete_if_batch_end_locked( - s, error, s->send_trailing_md_op, - "fail_helper scheduling send-trailng-md-on-complete"); - s->send_trailing_md_op = nullptr; - } - if (s->recv_trailing_md_op) { - INPROC_LOG(GPR_INFO, "fail_helper %p scheduling trailing-metadata-ready %s", - s, grpc_core::StatusToString(error).c_str()); - grpc_core::ExecCtx::Run( - DEBUG_LOCATION, - s->recv_trailing_md_op->payload->recv_trailing_metadata - .recv_trailing_metadata_ready, - error); - INPROC_LOG(GPR_INFO, "fail_helper %p scheduling trailing-md-on-complete %s", - s, grpc_core::StatusToString(error).c_str()); - complete_if_batch_end_locked( - s, error, s->recv_trailing_md_op, - "fail_helper scheduling recv-trailing-metadata-on-complete"); - s->recv_trailing_md_op = nullptr; - } - close_other_side_locked(s, "fail_helper:other_side"); - close_stream_locked(s); -} - -// TODO(vjpai): It should not be necessary to drain the incoming byte -// stream and create a new one; instead, we should simply pass the byte -// stream from the sender directly to the receiver as-is. -// -// Note that fixing this will also avoid the assumption in this code -// that the incoming byte stream's next() call will always return -// synchronously. That assumption is true today but may not always be -// true in the future. -void message_transfer_locked(inproc_stream* sender, inproc_stream* receiver) { - *receiver->recv_message_op->payload->recv_message.recv_message = - std::move(*sender->send_message_op->payload->send_message.send_message); - *receiver->recv_message_op->payload->recv_message.flags = - sender->send_message_op->payload->send_message.flags; - - INPROC_LOG(GPR_INFO, "message_transfer_locked %p scheduling message-ready", - receiver); - grpc_core::ExecCtx::Run( - DEBUG_LOCATION, - receiver->recv_message_op->payload->recv_message.recv_message_ready, - absl::OkStatus()); - complete_if_batch_end_locked( - sender, absl::OkStatus(), sender->send_message_op, - "message_transfer scheduling sender on_complete"); - complete_if_batch_end_locked( - receiver, absl::OkStatus(), receiver->recv_message_op, - "message_transfer scheduling receiver on_complete"); - - receiver->recv_message_op = nullptr; - sender->send_message_op = nullptr; -} - -void op_state_machine_locked(inproc_stream* s, grpc_error_handle error) { - // This function gets called when we have contents in the unprocessed reads - // Get what we want based on our ops wanted - // Schedule our appropriate closures - // and then return to ops_needed state if still needed - - grpc_error_handle new_err; - - bool needs_close = false; - - INPROC_LOG(GPR_INFO, "op_state_machine %p", s); - // cancellation takes precedence - inproc_stream* other = s->other_side; - - if (!s->cancel_self_error.ok()) { - fail_helper_locked(s, s->cancel_self_error); - goto done; - } else if (!s->cancel_other_error.ok()) { - fail_helper_locked(s, s->cancel_other_error); - goto done; - } else if (!error.ok()) { - fail_helper_locked(s, error); - goto done; - } - - if (s->send_message_op && other) { - if (other->recv_message_op) { - message_transfer_locked(s, other); - maybe_process_ops_locked(other, absl::OkStatus()); - } else if (!s->t->is_client && s->trailing_md_sent) { - // A server send will never be matched if the server already sent status - ResetSendMessage(s->send_message_op); - complete_if_batch_end_locked( - s, absl::OkStatus(), s->send_message_op, - "op_state_machine scheduling send-message-on-complete case 1"); - s->send_message_op = nullptr; - } - } - // Pause a send trailing metadata if there is still an outstanding - // send message unless we know that the send message will never get - // matched to a receive. This happens on the client if the server has - // already sent status or on the server if the client has requested - // status - if (s->send_trailing_md_op && - (!s->send_message_op || - (s->t->is_client && - (s->trailing_md_recvd || s->to_read_trailing_md_filled)) || - (!s->t->is_client && other && - (other->trailing_md_recvd || other->to_read_trailing_md_filled || - other->recv_trailing_md_op)))) { - grpc_metadata_batch* dest = (other == nullptr) - ? &s->write_buffer_trailing_md - : &other->to_read_trailing_md; - bool* destfilled = (other == nullptr) ? &s->write_buffer_trailing_md_filled - : &other->to_read_trailing_md_filled; - if (*destfilled || s->trailing_md_sent) { - // The buffer is already in use; that's an error! - INPROC_LOG(GPR_INFO, "Extra trailing metadata %p", s); - new_err = GRPC_ERROR_CREATE("Extra trailing metadata"); - fail_helper_locked(s, new_err); - goto done; - } else { - if (!other || !other->closed) { - fill_in_metadata(s, - s->send_trailing_md_op->payload->send_trailing_metadata - .send_trailing_metadata, - dest, destfilled); - } - s->trailing_md_sent = true; - if (s->send_trailing_md_op->payload->send_trailing_metadata.sent) { - *s->send_trailing_md_op->payload->send_trailing_metadata.sent = true; - } - if (!s->t->is_client && s->trailing_md_recvd && s->recv_trailing_md_op) { - INPROC_LOG(GPR_INFO, - "op_state_machine %p scheduling trailing-metadata-ready", s); - grpc_core::ExecCtx::Run( - DEBUG_LOCATION, - s->recv_trailing_md_op->payload->recv_trailing_metadata - .recv_trailing_metadata_ready, - absl::OkStatus()); - INPROC_LOG(GPR_INFO, - "op_state_machine %p scheduling trailing-md-on-complete", s); - grpc_core::ExecCtx::Run(DEBUG_LOCATION, - s->recv_trailing_md_op->on_complete, - absl::OkStatus()); - s->recv_trailing_md_op = nullptr; - needs_close = true; - } - } - maybe_process_ops_locked(other, absl::OkStatus()); - complete_if_batch_end_locked( - s, absl::OkStatus(), s->send_trailing_md_op, - "op_state_machine scheduling send-trailing-metadata-on-complete"); - s->send_trailing_md_op = nullptr; - } - if (s->recv_initial_md_op) { - if (s->initial_md_recvd) { - new_err = GRPC_ERROR_CREATE("Already recvd initial md"); - INPROC_LOG( - GPR_INFO, - "op_state_machine %p scheduling on_complete errors for already " - "recvd initial md %s", - s, grpc_core::StatusToString(new_err).c_str()); - fail_helper_locked(s, new_err); - goto done; - } - - if (s->to_read_initial_md_filled) { - s->initial_md_recvd = true; - fill_in_metadata(s, &s->to_read_initial_md, - s->recv_initial_md_op->payload->recv_initial_metadata - .recv_initial_metadata, - nullptr); - if (s->deadline != grpc_core::Timestamp::InfFuture()) { - s->recv_initial_md_op->payload->recv_initial_metadata - .recv_initial_metadata->Set(grpc_core::GrpcTimeoutMetadata(), - s->deadline); - } - if (s->recv_initial_md_op->payload->recv_initial_metadata - .trailing_metadata_available != nullptr) { - *s->recv_initial_md_op->payload->recv_initial_metadata - .trailing_metadata_available = - (other != nullptr && other->send_trailing_md_op != nullptr); - } - s->to_read_initial_md.Clear(); - s->to_read_initial_md_filled = false; - if (s->t->registered_method_matcher_cb != nullptr) { - s->t->registered_method_matcher_cb( - s->t->accept_stream_data, - s->recv_initial_md_op->payload->recv_initial_metadata - .recv_initial_metadata); - } - grpc_core::ExecCtx::Run( - DEBUG_LOCATION, - std::exchange(s->recv_initial_md_op->payload->recv_initial_metadata - .recv_initial_metadata_ready, - nullptr), - absl::OkStatus()); - complete_if_batch_end_locked( - s, absl::OkStatus(), s->recv_initial_md_op, - "op_state_machine scheduling recv-initial-metadata-on-complete"); - s->recv_initial_md_op = nullptr; - } - } - if (s->recv_message_op) { - if (other && other->send_message_op) { - message_transfer_locked(other, s); - maybe_process_ops_locked(other, absl::OkStatus()); - } - } - if (s->to_read_trailing_md_filled) { - if (s->trailing_md_recvd) { - if (s->trailing_md_recvd_implicit_only) { - INPROC_LOG(GPR_INFO, - "op_state_machine %p already implicitly received trailing " - "metadata, so ignoring new trailing metadata from client", - s); - s->to_read_trailing_md.Clear(); - s->to_read_trailing_md_filled = false; - s->trailing_md_recvd_implicit_only = false; - } else { - new_err = GRPC_ERROR_CREATE("Already recvd trailing md"); - INPROC_LOG( - GPR_INFO, - "op_state_machine %p scheduling on_complete errors for already " - "recvd trailing md %s", - s, grpc_core::StatusToString(new_err).c_str()); - fail_helper_locked(s, new_err); - goto done; - } - } - if (s->recv_message_op != nullptr) { - // This message needs to be wrapped up because it will never be - // satisfied - s->recv_message_op->payload->recv_message.recv_message->reset(); - INPROC_LOG(GPR_INFO, "op_state_machine %p scheduling message-ready", s); - grpc_core::ExecCtx::Run( - DEBUG_LOCATION, - s->recv_message_op->payload->recv_message.recv_message_ready, - absl::OkStatus()); - complete_if_batch_end_locked( - s, new_err, s->recv_message_op, - "op_state_machine scheduling recv-message-on-complete"); - s->recv_message_op = nullptr; - } - if ((s->trailing_md_sent || s->t->is_client) && s->send_message_op) { - // Nothing further will try to receive from this stream, so finish off - // any outstanding send_message op - ResetSendMessage(s->send_message_op); - s->send_message_op->payload->send_message.stream_write_closed = true; - complete_if_batch_end_locked( - s, new_err, s->send_message_op, - "op_state_machine scheduling send-message-on-complete case 2"); - s->send_message_op = nullptr; - } - if (s->recv_trailing_md_op != nullptr) { - // We wanted trailing metadata and we got it - s->trailing_md_recvd = true; - fill_in_metadata(s, &s->to_read_trailing_md, - s->recv_trailing_md_op->payload->recv_trailing_metadata - .recv_trailing_metadata, - nullptr); - s->to_read_trailing_md.Clear(); - s->to_read_trailing_md_filled = false; - s->recv_trailing_md_op->payload->recv_trailing_metadata - .recv_trailing_metadata->Set(grpc_core::GrpcStatusFromWire(), true); - - // We should schedule the recv_trailing_md_op completion if - // 1. this stream is the client-side - // 2. this stream is the server-side AND has already sent its trailing md - // (If the server hasn't already sent its trailing md, it doesn't - // have - // a final status, so don't mark this op complete) - if (s->t->is_client || s->trailing_md_sent) { - grpc_core::ExecCtx::Run( - DEBUG_LOCATION, - s->recv_trailing_md_op->payload->recv_trailing_metadata - .recv_trailing_metadata_ready, - absl::OkStatus()); - grpc_core::ExecCtx::Run(DEBUG_LOCATION, - s->recv_trailing_md_op->on_complete, - absl::OkStatus()); - s->recv_trailing_md_op = nullptr; - needs_close = s->trailing_md_sent; - } - } else if (!s->trailing_md_recvd) { - INPROC_LOG( - GPR_INFO, - "op_state_machine %p has trailing md but not yet waiting for it", s); - } - } - if (!s->t->is_client && s->trailing_md_sent && - (s->recv_trailing_md_op != nullptr)) { - // In this case, we don't care to receive the write-close from the client - // because we have already sent status and the RPC is over as far as we - // are concerned. - INPROC_LOG(GPR_INFO, "op_state_machine %p scheduling trailing-md-ready %s", - s, grpc_core::StatusToString(new_err).c_str()); - grpc_core::ExecCtx::Run( - DEBUG_LOCATION, - s->recv_trailing_md_op->payload->recv_trailing_metadata - .recv_trailing_metadata_ready, - new_err); - complete_if_batch_end_locked( - s, new_err, s->recv_trailing_md_op, - "op_state_machine scheduling recv-trailing-md-on-complete"); - s->trailing_md_recvd = true; - s->recv_trailing_md_op = nullptr; - // Since we are only pretending to have received the trailing MD, it would - // be ok (not an error) if the client actually sends it later. - s->trailing_md_recvd_implicit_only = true; - } - if (s->trailing_md_recvd && s->recv_message_op) { - // No further message will come on this stream, so finish off the - // recv_message_op - INPROC_LOG(GPR_INFO, "op_state_machine %p scheduling message-ready", s); - s->recv_message_op->payload->recv_message.recv_message->reset(); - grpc_core::ExecCtx::Run( - DEBUG_LOCATION, - s->recv_message_op->payload->recv_message.recv_message_ready, - absl::OkStatus()); - complete_if_batch_end_locked( - s, new_err, s->recv_message_op, - "op_state_machine scheduling recv-message-on-complete"); - s->recv_message_op = nullptr; + ~InprocClientTransport() override { + server_transport_->Disconnect( + absl::UnavailableError("Client transport closed")); } - if (s->trailing_md_recvd && s->send_message_op && s->t->is_client) { - // Nothing further will try to receive from this stream, so finish off - // any outstanding send_message op - ResetSendMessage(s->send_message_op); - complete_if_batch_end_locked( - s, new_err, s->send_message_op, - "op_state_machine scheduling send-message-on-complete case 3"); - s->send_message_op = nullptr; - } - if (s->send_message_op || s->send_trailing_md_op || s->recv_initial_md_op || - s->recv_message_op || s->recv_trailing_md_op) { - // Didn't get the item we wanted so we still need to get - // rescheduled - INPROC_LOG( - GPR_INFO, "op_state_machine %p still needs closure %p %p %p %p %p", s, - s->send_message_op, s->send_trailing_md_op, s->recv_initial_md_op, - s->recv_message_op, s->recv_trailing_md_op); - s->ops_needed = true; - } -done: - if (needs_close) { - close_other_side_locked(s, "op_state_machine"); - close_stream_locked(s); - } -} - -bool cancel_stream_locked(inproc_stream* s, grpc_error_handle error) { - bool ret = false; // was the cancel accepted - INPROC_LOG(GPR_INFO, "cancel_stream %p with %s", s, - grpc_core::StatusToString(error).c_str()); - if (s->cancel_self_error.ok()) { - ret = true; - s->cancel_self_error = error; - // Catch current value of other before it gets closed off - inproc_stream* other = s->other_side; - maybe_process_ops_locked(s, s->cancel_self_error); - // Send trailing md to the other side indicating cancellation, even if we - // already have - s->trailing_md_sent = true; - - grpc_metadata_batch cancel_md(s->arena); - - grpc_metadata_batch* dest = (other == nullptr) - ? &s->write_buffer_trailing_md - : &other->to_read_trailing_md; - bool* destfilled = (other == nullptr) ? &s->write_buffer_trailing_md_filled - : &other->to_read_trailing_md_filled; - fill_in_metadata(s, &cancel_md, dest, destfilled); - - if (other != nullptr) { - if (other->cancel_other_error.ok()) { - other->cancel_other_error = s->cancel_self_error; - } - maybe_process_ops_locked(other, other->cancel_other_error); - } else if (s->write_buffer_cancel_error.ok()) { - s->write_buffer_cancel_error = s->cancel_self_error; - } - - // if we are a server and already received trailing md but - // couldn't complete that because we hadn't yet sent out trailing - // md, now's the chance - if (!s->t->is_client && s->trailing_md_recvd && s->recv_trailing_md_op) { - grpc_core::ExecCtx::Run( - DEBUG_LOCATION, - s->recv_trailing_md_op->payload->recv_trailing_metadata - .recv_trailing_metadata_ready, - s->cancel_self_error); - complete_if_batch_end_locked( - s, s->cancel_self_error, s->recv_trailing_md_op, - "cancel_stream scheduling trailing-md-on-complete"); - s->recv_trailing_md_op = nullptr; - } - } - - close_other_side_locked(s, "cancel_stream:other_side"); - close_stream_locked(s); - return ret; -} - -void perform_stream_op(grpc_transport* gt, grpc_stream* gs, - grpc_transport_stream_op_batch* op) { - INPROC_LOG(GPR_INFO, "perform_stream_op %p %p %p", gt, gs, op); - inproc_stream* s = reinterpret_cast(gs); - gpr_mu* mu = &s->t->mu->mu; // save aside in case s gets closed - gpr_mu_lock(mu); - - if (GRPC_TRACE_FLAG_ENABLED(grpc_inproc_trace)) { - if (op->send_initial_metadata) { - log_metadata(op->payload->send_initial_metadata.send_initial_metadata, - s->t->is_client, true); - } - if (op->send_trailing_metadata) { - log_metadata(op->payload->send_trailing_metadata.send_trailing_metadata, - s->t->is_client, false); - } - } - grpc_error_handle error; - grpc_closure* on_complete = op->on_complete; - // TODO(roth): This is a hack needed because we use data inside of the - // closure itself to do the barrier calculation (i.e., to ensure that - // we don't schedule the closure until all ops in the batch have been - // completed). This can go away once we move to a new C++ closure API - // that provides the ability to create a barrier closure. - if (on_complete == nullptr) { - on_complete = op->on_complete = - grpc_core::NewClosure([](grpc_error_handle) {}); - } - - if (op->cancel_stream) { - // Call cancel_stream_locked without ref'ing the cancel_error because - // this function is responsible to make sure that that field gets unref'ed - cancel_stream_locked(s, op->payload->cancel_stream.cancel_error); - // this op can complete without an error - } else if (!s->cancel_self_error.ok()) { - // already self-canceled so still give it an error - error = s->cancel_self_error; - } else { - INPROC_LOG(GPR_INFO, "perform_stream_op %p %s%s%s%s%s%s%s", s, - s->t->is_client ? "client" : "server", - op->send_initial_metadata ? " send_initial_metadata" : "", - op->send_message ? " send_message" : "", - op->send_trailing_metadata ? " send_trailing_metadata" : "", - op->recv_initial_metadata ? " recv_initial_metadata" : "", - op->recv_message ? " recv_message" : "", - op->recv_trailing_metadata ? " recv_trailing_metadata" : ""); - } - - inproc_stream* other = s->other_side; - if (error.ok() && (op->send_initial_metadata || op->send_trailing_metadata)) { - if (s->t->is_closed) { - error = GRPC_ERROR_CREATE("Endpoint already shutdown"); - } - if (error.ok() && op->send_initial_metadata) { - grpc_metadata_batch* dest = (other == nullptr) - ? &s->write_buffer_initial_md - : &other->to_read_initial_md; - bool* destfilled = (other == nullptr) ? &s->write_buffer_initial_md_filled - : &other->to_read_initial_md_filled; - if (*destfilled || s->initial_md_sent) { - // The buffer is already in use; that's an error! - INPROC_LOG(GPR_INFO, "Extra initial metadata %p", s); - error = GRPC_ERROR_CREATE("Extra initial metadata"); - } else { - if (!s->other_side_closed) { - fill_in_metadata( - s, op->payload->send_initial_metadata.send_initial_metadata, dest, - destfilled); - } - if (s->t->is_client) { - grpc_core::Timestamp* dl = - (other == nullptr) ? &s->write_buffer_deadline : &other->deadline; - *dl = std::min( - *dl, op->payload->send_initial_metadata.send_initial_metadata - ->get(grpc_core::GrpcTimeoutMetadata()) - .value_or(grpc_core::Timestamp::InfFuture())); - s->initial_md_sent = true; - } - } - maybe_process_ops_locked(other, error); - } - } - - if (error.ok() && (op->send_message || op->send_trailing_metadata || - op->recv_initial_metadata || op->recv_message || - op->recv_trailing_metadata)) { - // Mark ops that need to be processed by the state machine - if (op->send_message) { - s->send_message_op = op; - } - if (op->send_trailing_metadata) { - s->send_trailing_md_op = op; - } - if (op->recv_initial_metadata) { - s->recv_initial_md_op = op; - } - if (op->recv_message) { - s->recv_message_op = op; - } - if (op->recv_trailing_metadata) { - s->recv_trailing_md_op = op; - } - - // We want to initiate the state machine if: - // 1. We want to send a message and the other side wants to receive - // 2. We want to send trailing metadata and there isn't an unmatched send - // or the other side wants trailing metadata - // 3. We want initial metadata and the other side has sent it - // 4. We want to receive a message and there is a message ready - // 5. There is trailing metadata, even if nothing specifically wants - // that because that can shut down the receive message as well - if ((op->send_message && other && other->recv_message_op != nullptr) || - (op->send_trailing_metadata && - (!s->send_message_op || (other && other->recv_trailing_md_op))) || - (op->recv_initial_metadata && s->to_read_initial_md_filled) || - (op->recv_message && other && other->send_message_op != nullptr) || - (s->to_read_trailing_md_filled || s->trailing_md_recvd)) { - op_state_machine_locked(s, error); - } else { - s->ops_needed = true; - } - } else { - if (!error.ok()) { - // Consume any send message that was sent here but that we are not - // pushing to the other side - if (op->send_message) { - ResetSendMessage(op); - } - // Schedule op's closures that we didn't push to op state machine - if (op->recv_initial_metadata) { - if (op->payload->recv_initial_metadata.trailing_metadata_available != - nullptr) { - // Set to true unconditionally, because we're failing the call, so - // even if we haven't actually seen the send_trailing_metadata op - // from the other side, we're going to return trailing metadata - // anyway. - *op->payload->recv_initial_metadata.trailing_metadata_available = - true; - } - INPROC_LOG( - GPR_INFO, - "perform_stream_op error %p scheduling initial-metadata-ready %s", - s, grpc_core::StatusToString(error).c_str()); - grpc_core::ExecCtx::Run( - DEBUG_LOCATION, - op->payload->recv_initial_metadata.recv_initial_metadata_ready, - error); - } - if (op->recv_message) { - INPROC_LOG( - GPR_INFO, - "perform_stream_op error %p scheduling recv message-ready %s", s, - grpc_core::StatusToString(error).c_str()); - if (op->payload->recv_message.call_failed_before_recv_message != - nullptr) { - *op->payload->recv_message.call_failed_before_recv_message = true; - } - grpc_core::ExecCtx::Run(DEBUG_LOCATION, - op->payload->recv_message.recv_message_ready, - error); - } - if (op->recv_trailing_metadata) { - INPROC_LOG(GPR_INFO, - "perform_stream_op error %p scheduling " - "trailing-metadata-ready %s", - s, grpc_core::StatusToString(error).c_str()); - grpc_core::ExecCtx::Run( - DEBUG_LOCATION, - op->payload->recv_trailing_metadata.recv_trailing_metadata_ready, - error); - } - } - INPROC_LOG(GPR_INFO, "perform_stream_op %p scheduling on_complete %s", s, - grpc_core::StatusToString(error).c_str()); - grpc_core::ExecCtx::Run(DEBUG_LOCATION, on_complete, error); - } - gpr_mu_unlock(mu); -} - -void close_transport_locked(inproc_transport* t) { - INPROC_LOG(GPR_INFO, "close_transport %p %d", t, t->is_closed); - t->state_tracker.SetState(GRPC_CHANNEL_SHUTDOWN, absl::Status(), - "close transport"); - if (!t->is_closed) { - t->is_closed = true; - // Also end all streams on this transport - while (t->stream_list != nullptr) { - // cancel_stream_locked also adjusts stream list - cancel_stream_locked( - t->stream_list, - grpc_error_set_int(GRPC_ERROR_CREATE("Transport closed"), - grpc_core::StatusIntProperty::kRpcStatus, - GRPC_STATUS_UNAVAILABLE)); - } - } -} - -void perform_transport_op(grpc_transport* gt, grpc_transport_op* op) { - inproc_transport* t = reinterpret_cast(gt); - INPROC_LOG(GPR_INFO, "perform_transport_op %p %p", t, op); - gpr_mu_lock(&t->mu->mu); - if (op->start_connectivity_watch != nullptr) { - t->state_tracker.AddWatcher(op->start_connectivity_watch_state, - std::move(op->start_connectivity_watch)); - } - if (op->stop_connectivity_watch != nullptr) { - t->state_tracker.RemoveWatcher(op->stop_connectivity_watch); - } - if (op->set_accept_stream) { - t->accept_stream_cb = op->set_accept_stream_fn; - t->registered_method_matcher_cb = op->set_registered_method_matcher_fn; - t->accept_stream_data = op->set_accept_stream_user_data; - } - if (op->on_consumed) { - grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus()); - } - - bool do_close = false; - if (!op->goaway_error.ok()) { - do_close = true; - } - if (!op->disconnect_with_error.ok()) { - do_close = true; - } - - if (do_close) { - close_transport_locked(t); - } - gpr_mu_unlock(&t->mu->mu); -} - -void destroy_stream(grpc_transport* gt, grpc_stream* gs, - grpc_closure* then_schedule_closure) { - INPROC_LOG(GPR_INFO, "destroy_stream %p %p", gs, then_schedule_closure); - inproc_transport* t = reinterpret_cast(gt); - inproc_stream* s = reinterpret_cast(gs); - gpr_mu_lock(&t->mu->mu); - close_stream_locked(s); - gpr_mu_unlock(&t->mu->mu); - s->~inproc_stream(); - grpc_core::ExecCtx::Run(DEBUG_LOCATION, then_schedule_closure, - absl::OkStatus()); -} - -void destroy_transport(grpc_transport* gt) { - inproc_transport* t = reinterpret_cast(gt); - INPROC_LOG(GPR_INFO, "destroy_transport %p", t); - gpr_mu_lock(&t->mu->mu); - close_transport_locked(t); - gpr_mu_unlock(&t->mu->mu); - t->other_side->unref(); - t->unref(); -} - -//****************************************************************************** -// INTEGRATION GLUE -// + RefCountedPtr server_transport_ = + MakeRefCounted(); +}; -void set_pollset(grpc_transport* /*gt*/, grpc_stream* /*gs*/, - grpc_pollset* /*pollset*/) { - // Nothing to do here +bool UsePromiseBasedTransport() { + if (!IsPromiseBasedInprocTransportEnabled()) return false; + GPR_ASSERT(IsPromiseBasedClientCallEnabled()); + GPR_ASSERT(IsPromiseBasedServerCallEnabled()); + return true; +} + +RefCountedPtr MakeLameChannel(absl::string_view why, + absl::Status error) { + gpr_log(GPR_ERROR, "%s: %s", std::string(why).c_str(), + std::string(error.message()).c_str()); + intptr_t integer; + grpc_status_code status = GRPC_STATUS_INTERNAL; + if (grpc_error_get_int(error, StatusIntProperty::kRpcStatus, &integer)) { + status = static_cast(integer); + } + return RefCountedPtr(Channel::FromC(grpc_lame_client_channel_create( + nullptr, status, std::string(why).c_str()))); +} + +RefCountedPtr MakeInprocChannel(Server* server, + ChannelArgs client_channel_args) { + auto transports = MakeInProcessTransportPair(); + auto client_transport = std::move(transports.first); + auto server_transport = std::move(transports.second); + auto error = + server->SetupTransport(server_transport.get(), nullptr, + server->channel_args() + .Remove(GRPC_ARG_MAX_CONNECTION_IDLE_MS) + .Remove(GRPC_ARG_MAX_CONNECTION_AGE_MS), + nullptr); + if (!error.ok()) { + return MakeLameChannel("Failed to create server channel", std::move(error)); + } + std::ignore = server_transport.release(); // consumed by SetupTransport + auto channel = Channel::Create( + "inproc", + client_channel_args.Set(GRPC_ARG_DEFAULT_AUTHORITY, "inproc.authority"), + GRPC_CLIENT_DIRECT_CHANNEL, client_transport.release()); + if (!channel.ok()) { + return MakeLameChannel("Failed to create client channel", channel.status()); + } + return std::move(*channel); } +} // namespace -void set_pollset_set(grpc_transport* /*gt*/, grpc_stream* /*gs*/, - grpc_pollset_set* /*pollset_set*/) { - // Nothing to do here +std::pair, OrphanablePtr> +MakeInProcessTransportPair() { + auto client_transport = MakeOrphanable(); + auto server_transport = client_transport->GetServerTransport(); + return std::make_pair(std::move(client_transport), + std::move(server_transport)); } -grpc_endpoint* get_endpoint(grpc_transport* /*t*/) { return nullptr; } - -const grpc_transport_vtable inproc_vtable = {sizeof(inproc_stream), - true, - "inproc", - init_stream, - nullptr, - set_pollset, - set_pollset_set, - perform_stream_op, - perform_transport_op, - destroy_stream, - destroy_transport, - get_endpoint}; - -//****************************************************************************** -// Main inproc transport functions -// -void inproc_transports_create(grpc_transport** server_transport, - grpc_transport** client_transport) { - INPROC_LOG(GPR_INFO, "inproc_transports_create"); - shared_mu* mu = new (gpr_malloc(sizeof(*mu))) shared_mu(); - inproc_transport* st = new (gpr_malloc(sizeof(*st))) - inproc_transport(&inproc_vtable, mu, /*is_client=*/false); - inproc_transport* ct = new (gpr_malloc(sizeof(*ct))) - inproc_transport(&inproc_vtable, mu, /*is_client=*/true); - st->other_side = ct; - ct->other_side = st; - *server_transport = reinterpret_cast(st); - *client_transport = reinterpret_cast(ct); -} -} // namespace +} // namespace grpc_core grpc_channel* grpc_inproc_channel_create(grpc_server* server, const grpc_channel_args* args, - void* /*reserved*/) { - GRPC_API_TRACE("grpc_inproc_channel_create(server=%p, args=%p)", 2, - (server, args)); - + void* reserved) { + grpc_core::ApplicationCallbackExecCtx app_exec_ctx; grpc_core::ExecCtx exec_ctx; - - grpc_core::Server* core_server = grpc_core::Server::FromC(server); - // Remove max_connection_idle and max_connection_age channel arguments since - // those do not apply to inproc transports. - grpc_core::ChannelArgs server_args = - core_server->channel_args() - .Remove(GRPC_ARG_MAX_CONNECTION_IDLE_MS) - .Remove(GRPC_ARG_MAX_CONNECTION_AGE_MS); - - // Add a default authority channel argument for the client - grpc_core::ChannelArgs client_args = - grpc_core::CoreConfiguration::Get() - .channel_args_preconditioning() - .PreconditionChannelArgs(args) - .Set(GRPC_ARG_DEFAULT_AUTHORITY, "inproc.authority"); - grpc_transport* server_transport; - grpc_transport* client_transport; - inproc_transports_create(&server_transport, &client_transport); - - // TODO(ncteisen): design and support channelz GetSocket for inproc. - grpc_error_handle error = core_server->SetupTransport( - server_transport, nullptr, server_args, nullptr); - grpc_channel* channel = nullptr; - if (error.ok()) { - auto new_channel = grpc_core::Channel::Create( - "inproc", client_args, GRPC_CLIENT_DIRECT_CHANNEL, client_transport); - if (!new_channel.ok()) { - GPR_ASSERT(!channel); - gpr_log(GPR_ERROR, "Failed to create client channel: %s", - grpc_core::StatusToString(error).c_str()); - intptr_t integer; - grpc_status_code status = GRPC_STATUS_INTERNAL; - if (grpc_error_get_int(error, grpc_core::StatusIntProperty::kRpcStatus, - &integer)) { - status = static_cast(integer); - } - // client_transport was destroyed when grpc_channel_create_internal saw an - // error. - grpc_transport_destroy(server_transport); - channel = grpc_lame_client_channel_create( - nullptr, status, "Failed to create client channel"); - } else { - channel = new_channel->release()->c_ptr(); - } - } else { - GPR_ASSERT(!channel); - gpr_log(GPR_ERROR, "Failed to create server channel: %s", - grpc_core::StatusToString(error).c_str()); - intptr_t integer; - grpc_status_code status = GRPC_STATUS_INTERNAL; - if (grpc_error_get_int(error, grpc_core::StatusIntProperty::kRpcStatus, - &integer)) { - status = static_cast(integer); - } - grpc_transport_destroy(client_transport); - grpc_transport_destroy(server_transport); - channel = grpc_lame_client_channel_create( - nullptr, status, "Failed to create server channel"); - } - - return channel; + if (!grpc_core::UsePromiseBasedTransport()) { + return grpc_legacy_inproc_channel_create(server, args, reserved); + } + return grpc_core::MakeInprocChannel(grpc_core::Server::FromC(server), + grpc_core::CoreConfiguration::Get() + .channel_args_preconditioning() + .PreconditionChannelArgs(args)) + .release() + ->c_ptr(); } diff --git a/src/core/ext/transport/inproc/inproc_transport.h b/src/core/ext/transport/inproc/inproc_transport.h index 144241d5057..fe41ed023c6 100644 --- a/src/core/ext/transport/inproc/inproc_transport.h +++ b/src/core/ext/transport/inproc/inproc_transport.h @@ -1,5 +1,3 @@ -// -// // Copyright 2017 gRPC authors. // // Licensed under the Apache License, Version 2.0 (the "License"); @@ -13,8 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// -// #ifndef GRPC_SRC_CORE_EXT_TRANSPORT_INPROC_INPROC_TRANSPORT_H #define GRPC_SRC_CORE_EXT_TRANSPORT_INPROC_INPROC_TRANSPORT_H @@ -24,6 +20,7 @@ #include #include "src/core/lib/debug/trace.h" +#include "src/core/lib/transport/transport.h" grpc_channel* grpc_inproc_channel_create(grpc_server* server, const grpc_channel_args* args, @@ -31,4 +28,11 @@ grpc_channel* grpc_inproc_channel_create(grpc_server* server, extern grpc_core::TraceFlag grpc_inproc_trace; +namespace grpc_core { + +std::pair, OrphanablePtr> +MakeInProcessTransportPair(); + +} + #endif // GRPC_SRC_CORE_EXT_TRANSPORT_INPROC_INPROC_TRANSPORT_H diff --git a/src/core/ext/transport/inproc/legacy_inproc_transport.cc b/src/core/ext/transport/inproc/legacy_inproc_transport.cc new file mode 100644 index 00000000000..66519608870 --- /dev/null +++ b/src/core/ext/transport/inproc/legacy_inproc_transport.cc @@ -0,0 +1,1303 @@ +// +// +// Copyright 2017 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// + +#include + +#include "src/core/ext/transport/inproc/legacy_inproc_transport.h" + +#include +#include + +#include +#include +#include +#include +#include + +#include "absl/status/status.h" +#include "absl/status/statusor.h" +#include "absl/strings/str_cat.h" +#include "absl/strings/string_view.h" +#include "absl/types/optional.h" + +#include +#include +#include +#include +#include +#include +#include + +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/channel/channel_args_preconditioning.h" +#include "src/core/lib/channel/channelz.h" +#include "src/core/lib/config/core_configuration.h" +#include "src/core/lib/gprpp/debug_location.h" +#include "src/core/lib/gprpp/ref_counted_ptr.h" +#include "src/core/lib/gprpp/status_helper.h" +#include "src/core/lib/gprpp/time.h" +#include "src/core/lib/iomgr/closure.h" +#include "src/core/lib/iomgr/endpoint.h" +#include "src/core/lib/iomgr/error.h" +#include "src/core/lib/iomgr/exec_ctx.h" +#include "src/core/lib/iomgr/iomgr_fwd.h" +#include "src/core/lib/resource_quota/arena.h" +#include "src/core/lib/slice/slice.h" +#include "src/core/lib/slice/slice_buffer.h" +#include "src/core/lib/surface/api_trace.h" +#include "src/core/lib/surface/channel.h" +#include "src/core/lib/surface/channel_stack_type.h" +#include "src/core/lib/surface/server.h" +#include "src/core/lib/transport/connectivity_state.h" +#include "src/core/lib/transport/metadata_batch.h" +#include "src/core/lib/transport/transport.h" + +#define INPROC_LOG(...) \ + do { \ + if (GRPC_TRACE_FLAG_ENABLED(grpc_inproc_trace)) { \ + gpr_log(__VA_ARGS__); \ + } \ + } while (0) + +namespace { +struct inproc_stream; +bool cancel_stream_locked(inproc_stream* s, grpc_error_handle error); +void maybe_process_ops_locked(inproc_stream* s, grpc_error_handle error); +void op_state_machine_locked(inproc_stream* s, grpc_error_handle error); +void log_metadata(const grpc_metadata_batch* md_batch, bool is_client, + bool is_initial); +void fill_in_metadata(inproc_stream* s, const grpc_metadata_batch* metadata, + grpc_metadata_batch* out_md, bool* markfilled); + +void ResetSendMessage(grpc_transport_stream_op_batch* batch) { + std::exchange(batch->payload->send_message.send_message, nullptr)->Clear(); +} + +struct shared_mu { + shared_mu() { + // Share one lock between both sides since both sides get affected + gpr_mu_init(&mu); + gpr_ref_init(&refs, 2); + } + + ~shared_mu() { gpr_mu_destroy(&mu); } + + gpr_mu mu; + gpr_refcount refs; +}; + +struct inproc_transport final : public grpc_core::Transport, + public grpc_core::FilterStackTransport { + inproc_transport(shared_mu* mu, bool is_client) + : mu(mu), + is_client(is_client), + state_tracker(is_client ? "inproc_client" : "inproc_server", + GRPC_CHANNEL_READY) { + // Start each side of transport with 2 refs since they each have a ref + // to the other + gpr_ref_init(&refs, 2); + } + + ~inproc_transport() override { + if (gpr_unref(&mu->refs)) { + mu->~shared_mu(); + gpr_free(mu); + } + } + + grpc_core::FilterStackTransport* filter_stack_transport() override { + return this; + } + + grpc_core::ClientTransport* client_transport() override { return nullptr; } + grpc_core::ServerTransport* server_transport() override { return nullptr; } + + absl::string_view GetTransportName() const override; + void InitStream(grpc_stream* gs, grpc_stream_refcount* refcount, + const void* server_data, grpc_core::Arena* arena) override; + void SetPollset(grpc_stream* stream, grpc_pollset* pollset) override; + void SetPollsetSet(grpc_stream* stream, + grpc_pollset_set* pollset_set) override; + void PerformOp(grpc_transport_op* op) override; + grpc_endpoint* GetEndpoint() override; + + size_t SizeOfStream() const override; + bool HackyDisableStreamOpBatchCoalescingInConnectedChannel() const override { + return true; + } + + void PerformStreamOp(grpc_stream* gs, + grpc_transport_stream_op_batch* op) override; + void DestroyStream(grpc_stream* gs, + grpc_closure* then_schedule_closure) override; + + void Orphan() override; + + void ref() { + INPROC_LOG(GPR_INFO, "ref_transport %p", this); + gpr_ref(&refs); + } + + void unref() { + INPROC_LOG(GPR_INFO, "unref_transport %p", this); + if (!gpr_unref(&refs)) { + return; + } + INPROC_LOG(GPR_INFO, "really_destroy_transport %p", this); + this->~inproc_transport(); + gpr_free(this); + } + + shared_mu* mu; + gpr_refcount refs; + bool is_client; + grpc_core::ConnectivityStateTracker state_tracker; + void (*accept_stream_cb)(void* user_data, grpc_core::Transport* transport, + const void* server_data); + void (*registered_method_matcher_cb)( + void* user_data, grpc_core::ServerMetadata* metadata) = nullptr; + void* accept_stream_data; + bool is_closed = false; + struct inproc_transport* other_side; + struct inproc_stream* stream_list = nullptr; +}; + +struct inproc_stream { + inproc_stream(inproc_transport* t, grpc_stream_refcount* refcount, + const void* server_data, grpc_core::Arena* arena) + : t(t), refs(refcount), arena(arena) { + // Ref this stream right now for ctor and list. + ref("inproc_init_stream:init"); + ref("inproc_init_stream:list"); + + stream_list_prev = nullptr; + gpr_mu_lock(&t->mu->mu); + stream_list_next = t->stream_list; + if (t->stream_list) { + t->stream_list->stream_list_prev = this; + } + t->stream_list = this; + gpr_mu_unlock(&t->mu->mu); + + if (!server_data) { + t->ref(); + inproc_transport* st = t->other_side; + st->ref(); + other_side = nullptr; // will get filled in soon + // Pass the client-side stream address to the server-side for a ref + ref("inproc_init_stream:clt"); // ref it now on behalf of server + // side to avoid destruction + INPROC_LOG(GPR_INFO, "calling accept stream cb %p %p", + st->accept_stream_cb, st->accept_stream_data); + (*st->accept_stream_cb)(st->accept_stream_data, t, this); + } else { + // This is the server-side and is being called through accept_stream_cb + inproc_stream* cs = const_cast( + static_cast(server_data)); + other_side = cs; + // Ref the server-side stream on behalf of the client now + ref("inproc_init_stream:srv"); + + // Now we are about to affect the other side, so lock the transport + // to make sure that it doesn't get destroyed + gpr_mu_lock(&t->mu->mu); + cs->other_side = this; + // Now transfer from the other side's write_buffer if any to the to_read + // buffer + if (cs->write_buffer_initial_md_filled) { + fill_in_metadata(this, &cs->write_buffer_initial_md, + &to_read_initial_md, &to_read_initial_md_filled); + deadline = std::min(deadline, cs->write_buffer_deadline); + cs->write_buffer_initial_md.Clear(); + cs->write_buffer_initial_md_filled = false; + } + if (cs->write_buffer_trailing_md_filled) { + fill_in_metadata(this, &cs->write_buffer_trailing_md, + &to_read_trailing_md, &to_read_trailing_md_filled); + cs->write_buffer_trailing_md.Clear(); + cs->write_buffer_trailing_md_filled = false; + } + if (!cs->write_buffer_cancel_error.ok()) { + cancel_other_error = cs->write_buffer_cancel_error; + cs->write_buffer_cancel_error = absl::OkStatus(); + maybe_process_ops_locked(this, cancel_other_error); + } + + gpr_mu_unlock(&t->mu->mu); + } + } + + ~inproc_stream() { t->unref(); } + +#ifndef NDEBUG +#define STREAM_REF(refs, reason) grpc_stream_ref(refs, reason) +#define STREAM_UNREF(refs, reason) grpc_stream_unref(refs, reason) +#else +#define STREAM_REF(refs, reason) grpc_stream_ref(refs) +#define STREAM_UNREF(refs, reason) grpc_stream_unref(refs) +#endif + void ref(const char* reason) { + INPROC_LOG(GPR_INFO, "ref_stream %p %s", this, reason); + STREAM_REF(refs, reason); + } + + void unref(const char* reason) { + INPROC_LOG(GPR_INFO, "unref_stream %p %s", this, reason); + STREAM_UNREF(refs, reason); + } +#undef STREAM_REF +#undef STREAM_UNREF + + inproc_transport* t; + grpc_stream_refcount* refs; + grpc_core::Arena* arena; + + grpc_metadata_batch to_read_initial_md{arena}; + bool to_read_initial_md_filled = false; + grpc_metadata_batch to_read_trailing_md{arena}; + bool to_read_trailing_md_filled = false; + bool ops_needed = false; + // Write buffer used only during gap at init time when client-side + // stream is set up but server side stream is not yet set up + grpc_metadata_batch write_buffer_initial_md{arena}; + bool write_buffer_initial_md_filled = false; + grpc_core::Timestamp write_buffer_deadline = + grpc_core::Timestamp::InfFuture(); + grpc_metadata_batch write_buffer_trailing_md{arena}; + bool write_buffer_trailing_md_filled = false; + grpc_error_handle write_buffer_cancel_error; + + struct inproc_stream* other_side; + bool other_side_closed = false; // won't talk anymore + bool write_buffer_other_side_closed = false; // on hold + + grpc_transport_stream_op_batch* send_message_op = nullptr; + grpc_transport_stream_op_batch* send_trailing_md_op = nullptr; + grpc_transport_stream_op_batch* recv_initial_md_op = nullptr; + grpc_transport_stream_op_batch* recv_message_op = nullptr; + grpc_transport_stream_op_batch* recv_trailing_md_op = nullptr; + + bool initial_md_sent = false; + bool trailing_md_sent = false; + bool initial_md_recvd = false; + bool trailing_md_recvd = false; + // The following tracks if the server-side only pretends to have received + // trailing metadata since it no longer cares about the RPC. If that is the + // case, it is still ok for the client to send trailing metadata (in which + // case it will be ignored). + bool trailing_md_recvd_implicit_only = false; + + bool closed = false; + + grpc_error_handle cancel_self_error; + grpc_error_handle cancel_other_error; + + grpc_core::Timestamp deadline = grpc_core::Timestamp::InfFuture(); + + bool listed = true; + struct inproc_stream* stream_list_prev; + struct inproc_stream* stream_list_next; +}; + +void log_metadata(const grpc_metadata_batch* md_batch, bool is_client, + bool is_initial) { + std::string prefix = absl::StrCat( + "INPROC:", is_initial ? "HDR:" : "TRL:", is_client ? "CLI:" : "SVR:"); + md_batch->Log([&prefix](absl::string_view key, absl::string_view value) { + gpr_log(GPR_INFO, "%s", absl::StrCat(prefix, key, ": ", value).c_str()); + }); +} + +namespace { + +class CopySink { + public: + explicit CopySink(grpc_metadata_batch* dst) : dst_(dst) {} + + void Encode(const grpc_core::Slice& key, const grpc_core::Slice& value) { + dst_->Append(key.as_string_view(), value.AsOwned(), + [](absl::string_view, const grpc_core::Slice&) {}); + } + + template + void Encode(T trait, V value) { + dst_->Set(trait, value); + } + + template + void Encode(T trait, const grpc_core::Slice& value) { + dst_->Set(trait, value.AsOwned()); + } + + private: + grpc_metadata_batch* dst_; +}; + +} // namespace + +void fill_in_metadata(inproc_stream* s, const grpc_metadata_batch* metadata, + grpc_metadata_batch* out_md, bool* markfilled) { + if (GRPC_TRACE_FLAG_ENABLED(grpc_inproc_trace)) { + log_metadata(metadata, s->t->is_client, + metadata->get_pointer(grpc_core::WaitForReady()) != nullptr); + } + + if (markfilled != nullptr) { + *markfilled = true; + } + + // TODO(ctiller): copy the metadata batch, don't rely on a bespoke copy + // function. Can only do this once mdelems are out of the way though, too + // many edge cases otherwise. + out_md->Clear(); + CopySink sink(out_md); + metadata->Encode(&sink); +} + +void inproc_transport::InitStream(grpc_stream* gs, + grpc_stream_refcount* refcount, + const void* server_data, + grpc_core::Arena* arena) { + INPROC_LOG(GPR_INFO, "init_stream %p %p %p", this, gs, server_data); + new (gs) inproc_stream(this, refcount, server_data, arena); +} + +void close_stream_locked(inproc_stream* s) { + if (!s->closed) { + // Release the metadata that we would have written out + s->write_buffer_initial_md.Clear(); + s->write_buffer_trailing_md.Clear(); + + if (s->listed) { + inproc_stream* p = s->stream_list_prev; + inproc_stream* n = s->stream_list_next; + if (p != nullptr) { + p->stream_list_next = n; + } else { + s->t->stream_list = n; + } + if (n != nullptr) { + n->stream_list_prev = p; + } + s->listed = false; + s->unref("close_stream:list"); + } + s->closed = true; + s->unref("close_stream:closing"); + } +} + +// This function means that we are done talking/listening to the other side +void close_other_side_locked(inproc_stream* s, const char* reason) { + if (s->other_side != nullptr) { + // First release the metadata that came from the other side's arena + s->to_read_initial_md.Clear(); + s->to_read_trailing_md.Clear(); + + s->other_side->unref(reason); + s->other_side_closed = true; + s->other_side = nullptr; + } else if (!s->other_side_closed) { + s->write_buffer_other_side_closed = true; + } +} + +// Call the on_complete closure associated with this stream_op_batch if +// this stream_op_batch is only one of the pending operations for this +// stream. This is called when one of the pending operations for the stream +// is done and about to be NULLed out +void complete_if_batch_end_locked(inproc_stream* s, grpc_error_handle error, + grpc_transport_stream_op_batch* op, + const char* msg) { + int is_sm = static_cast(op == s->send_message_op); + int is_stm = static_cast(op == s->send_trailing_md_op); + // TODO(vjpai): We should not consider the recv ops here, since they + // have their own callbacks. We should invoke a batch's on_complete + // as soon as all of the batch's send ops are complete, even if there + // are still recv ops pending. + int is_rim = static_cast(op == s->recv_initial_md_op); + int is_rm = static_cast(op == s->recv_message_op); + int is_rtm = static_cast(op == s->recv_trailing_md_op); + + if ((is_sm + is_stm + is_rim + is_rm + is_rtm) == 1) { + INPROC_LOG(GPR_INFO, "%s %p %p %p %s", msg, s, op, op->on_complete, + grpc_core::StatusToString(error).c_str()); + grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_complete, error); + } +} + +void maybe_process_ops_locked(inproc_stream* s, grpc_error_handle error) { + if (s && (!error.ok() || s->ops_needed)) { + s->ops_needed = false; + op_state_machine_locked(s, error); + } +} + +void fail_helper_locked(inproc_stream* s, grpc_error_handle error) { + INPROC_LOG(GPR_INFO, "op_state_machine %p fail_helper", s); + // If we're failing this side, we need to make sure that + // we also send or have already sent trailing metadata + if (!s->trailing_md_sent) { + // Send trailing md to the other side indicating cancellation + s->trailing_md_sent = true; + + grpc_metadata_batch fake_md(s->arena); + inproc_stream* other = s->other_side; + grpc_metadata_batch* dest = (other == nullptr) + ? &s->write_buffer_trailing_md + : &other->to_read_trailing_md; + bool* destfilled = (other == nullptr) ? &s->write_buffer_trailing_md_filled + : &other->to_read_trailing_md_filled; + fill_in_metadata(s, &fake_md, dest, destfilled); + + if (other != nullptr) { + if (other->cancel_other_error.ok()) { + other->cancel_other_error = error; + } + maybe_process_ops_locked(other, error); + } else if (s->write_buffer_cancel_error.ok()) { + s->write_buffer_cancel_error = error; + } + } + if (s->recv_initial_md_op) { + grpc_error_handle err; + if (!s->t->is_client) { + // If this is a server, provide initial metadata with a path and + // authority since it expects that as well as no error yet + grpc_metadata_batch fake_md(s->arena); + fake_md.Set(grpc_core::HttpPathMetadata(), + grpc_core::Slice::FromStaticString("/")); + fake_md.Set(grpc_core::HttpAuthorityMetadata(), + grpc_core::Slice::FromStaticString("inproc-fail")); + + fill_in_metadata(s, &fake_md, + s->recv_initial_md_op->payload->recv_initial_metadata + .recv_initial_metadata, + nullptr); + err = absl::OkStatus(); + } else { + err = error; + } + if (s->recv_initial_md_op->payload->recv_initial_metadata + .trailing_metadata_available != nullptr) { + // Set to true unconditionally, because we're failing the call, so even + // if we haven't actually seen the send_trailing_metadata op from the + // other side, we're going to return trailing metadata anyway. + *s->recv_initial_md_op->payload->recv_initial_metadata + .trailing_metadata_available = true; + } + INPROC_LOG(GPR_INFO, + "fail_helper %p scheduling initial-metadata-ready %s %s", s, + grpc_core::StatusToString(error).c_str(), + grpc_core::StatusToString(err).c_str()); + grpc_core::ExecCtx::Run( + DEBUG_LOCATION, + s->recv_initial_md_op->payload->recv_initial_metadata + .recv_initial_metadata_ready, + err); + // Last use of err so no need to REF and then UNREF it + + complete_if_batch_end_locked( + s, error, s->recv_initial_md_op, + "fail_helper scheduling recv-initial-metadata-on-complete"); + s->recv_initial_md_op = nullptr; + } + if (s->recv_message_op) { + INPROC_LOG(GPR_INFO, "fail_helper %p scheduling message-ready %s", s, + grpc_core::StatusToString(error).c_str()); + if (s->recv_message_op->payload->recv_message + .call_failed_before_recv_message != nullptr) { + *s->recv_message_op->payload->recv_message + .call_failed_before_recv_message = true; + } + grpc_core::ExecCtx::Run( + DEBUG_LOCATION, + s->recv_message_op->payload->recv_message.recv_message_ready, error); + complete_if_batch_end_locked( + s, error, s->recv_message_op, + "fail_helper scheduling recv-message-on-complete"); + s->recv_message_op = nullptr; + } + if (s->send_message_op) { + ResetSendMessage(s->send_message_op); + complete_if_batch_end_locked( + s, error, s->send_message_op, + "fail_helper scheduling send-message-on-complete"); + s->send_message_op = nullptr; + } + if (s->send_trailing_md_op) { + complete_if_batch_end_locked( + s, error, s->send_trailing_md_op, + "fail_helper scheduling send-trailng-md-on-complete"); + s->send_trailing_md_op = nullptr; + } + if (s->recv_trailing_md_op) { + INPROC_LOG(GPR_INFO, "fail_helper %p scheduling trailing-metadata-ready %s", + s, grpc_core::StatusToString(error).c_str()); + grpc_core::ExecCtx::Run( + DEBUG_LOCATION, + s->recv_trailing_md_op->payload->recv_trailing_metadata + .recv_trailing_metadata_ready, + error); + INPROC_LOG(GPR_INFO, "fail_helper %p scheduling trailing-md-on-complete %s", + s, grpc_core::StatusToString(error).c_str()); + complete_if_batch_end_locked( + s, error, s->recv_trailing_md_op, + "fail_helper scheduling recv-trailing-metadata-on-complete"); + s->recv_trailing_md_op = nullptr; + } + close_other_side_locked(s, "fail_helper:other_side"); + close_stream_locked(s); +} + +// TODO(vjpai): It should not be necessary to drain the incoming byte +// stream and create a new one; instead, we should simply pass the byte +// stream from the sender directly to the receiver as-is. +// +// Note that fixing this will also avoid the assumption in this code +// that the incoming byte stream's next() call will always return +// synchronously. That assumption is true today but may not always be +// true in the future. +void message_transfer_locked(inproc_stream* sender, inproc_stream* receiver) { + *receiver->recv_message_op->payload->recv_message.recv_message = + std::move(*sender->send_message_op->payload->send_message.send_message); + *receiver->recv_message_op->payload->recv_message.flags = + sender->send_message_op->payload->send_message.flags; + + INPROC_LOG(GPR_INFO, "message_transfer_locked %p scheduling message-ready", + receiver); + grpc_core::ExecCtx::Run( + DEBUG_LOCATION, + receiver->recv_message_op->payload->recv_message.recv_message_ready, + absl::OkStatus()); + complete_if_batch_end_locked( + sender, absl::OkStatus(), sender->send_message_op, + "message_transfer scheduling sender on_complete"); + complete_if_batch_end_locked( + receiver, absl::OkStatus(), receiver->recv_message_op, + "message_transfer scheduling receiver on_complete"); + + receiver->recv_message_op = nullptr; + sender->send_message_op = nullptr; +} + +void op_state_machine_locked(inproc_stream* s, grpc_error_handle error) { + // This function gets called when we have contents in the unprocessed reads + // Get what we want based on our ops wanted + // Schedule our appropriate closures + // and then return to ops_needed state if still needed + + grpc_error_handle new_err; + + bool needs_close = false; + + INPROC_LOG(GPR_INFO, "op_state_machine %p", s); + // cancellation takes precedence + inproc_stream* other = s->other_side; + + if (!s->cancel_self_error.ok()) { + fail_helper_locked(s, s->cancel_self_error); + goto done; + } else if (!s->cancel_other_error.ok()) { + fail_helper_locked(s, s->cancel_other_error); + goto done; + } else if (!error.ok()) { + fail_helper_locked(s, error); + goto done; + } + + if (s->send_message_op && other) { + if (other->recv_message_op) { + message_transfer_locked(s, other); + maybe_process_ops_locked(other, absl::OkStatus()); + } else if (!s->t->is_client && s->trailing_md_sent) { + // A server send will never be matched if the server already sent status + ResetSendMessage(s->send_message_op); + complete_if_batch_end_locked( + s, absl::OkStatus(), s->send_message_op, + "op_state_machine scheduling send-message-on-complete case 1"); + s->send_message_op = nullptr; + } + } + // Pause a send trailing metadata if there is still an outstanding + // send message unless we know that the send message will never get + // matched to a receive. This happens on the client if the server has + // already sent status or on the server if the client has requested + // status + if (s->send_trailing_md_op && + (!s->send_message_op || + (s->t->is_client && + (s->trailing_md_recvd || s->to_read_trailing_md_filled)) || + (!s->t->is_client && other && + (other->trailing_md_recvd || other->to_read_trailing_md_filled || + other->recv_trailing_md_op)))) { + grpc_metadata_batch* dest = (other == nullptr) + ? &s->write_buffer_trailing_md + : &other->to_read_trailing_md; + bool* destfilled = (other == nullptr) ? &s->write_buffer_trailing_md_filled + : &other->to_read_trailing_md_filled; + if (*destfilled || s->trailing_md_sent) { + // The buffer is already in use; that's an error! + INPROC_LOG(GPR_INFO, "Extra trailing metadata %p", s); + new_err = GRPC_ERROR_CREATE("Extra trailing metadata"); + fail_helper_locked(s, new_err); + goto done; + } else { + if (!other || !other->closed) { + fill_in_metadata(s, + s->send_trailing_md_op->payload->send_trailing_metadata + .send_trailing_metadata, + dest, destfilled); + } + s->trailing_md_sent = true; + if (s->send_trailing_md_op->payload->send_trailing_metadata.sent) { + *s->send_trailing_md_op->payload->send_trailing_metadata.sent = true; + } + if (!s->t->is_client && s->trailing_md_recvd && s->recv_trailing_md_op) { + INPROC_LOG(GPR_INFO, + "op_state_machine %p scheduling trailing-metadata-ready", s); + grpc_core::ExecCtx::Run( + DEBUG_LOCATION, + s->recv_trailing_md_op->payload->recv_trailing_metadata + .recv_trailing_metadata_ready, + absl::OkStatus()); + INPROC_LOG(GPR_INFO, + "op_state_machine %p scheduling trailing-md-on-complete", s); + grpc_core::ExecCtx::Run(DEBUG_LOCATION, + s->recv_trailing_md_op->on_complete, + absl::OkStatus()); + s->recv_trailing_md_op = nullptr; + needs_close = true; + } + } + maybe_process_ops_locked(other, absl::OkStatus()); + complete_if_batch_end_locked( + s, absl::OkStatus(), s->send_trailing_md_op, + "op_state_machine scheduling send-trailing-metadata-on-complete"); + s->send_trailing_md_op = nullptr; + } + if (s->recv_initial_md_op) { + if (s->initial_md_recvd) { + new_err = GRPC_ERROR_CREATE("Already recvd initial md"); + INPROC_LOG( + GPR_INFO, + "op_state_machine %p scheduling on_complete errors for already " + "recvd initial md %s", + s, grpc_core::StatusToString(new_err).c_str()); + fail_helper_locked(s, new_err); + goto done; + } + + if (s->to_read_initial_md_filled) { + s->initial_md_recvd = true; + fill_in_metadata(s, &s->to_read_initial_md, + s->recv_initial_md_op->payload->recv_initial_metadata + .recv_initial_metadata, + nullptr); + if (s->deadline != grpc_core::Timestamp::InfFuture()) { + s->recv_initial_md_op->payload->recv_initial_metadata + .recv_initial_metadata->Set(grpc_core::GrpcTimeoutMetadata(), + s->deadline); + } + if (s->recv_initial_md_op->payload->recv_initial_metadata + .trailing_metadata_available != nullptr) { + *s->recv_initial_md_op->payload->recv_initial_metadata + .trailing_metadata_available = + (other != nullptr && other->send_trailing_md_op != nullptr); + } + s->to_read_initial_md.Clear(); + s->to_read_initial_md_filled = false; + if (s->t->registered_method_matcher_cb != nullptr) { + s->t->registered_method_matcher_cb( + s->t->accept_stream_data, + s->recv_initial_md_op->payload->recv_initial_metadata + .recv_initial_metadata); + } + grpc_core::ExecCtx::Run( + DEBUG_LOCATION, + std::exchange(s->recv_initial_md_op->payload->recv_initial_metadata + .recv_initial_metadata_ready, + nullptr), + absl::OkStatus()); + complete_if_batch_end_locked( + s, absl::OkStatus(), s->recv_initial_md_op, + "op_state_machine scheduling recv-initial-metadata-on-complete"); + s->recv_initial_md_op = nullptr; + } + } + if (s->recv_message_op) { + if (other && other->send_message_op) { + message_transfer_locked(other, s); + maybe_process_ops_locked(other, absl::OkStatus()); + } + } + if (s->to_read_trailing_md_filled) { + if (s->trailing_md_recvd) { + if (s->trailing_md_recvd_implicit_only) { + INPROC_LOG(GPR_INFO, + "op_state_machine %p already implicitly received trailing " + "metadata, so ignoring new trailing metadata from client", + s); + s->to_read_trailing_md.Clear(); + s->to_read_trailing_md_filled = false; + s->trailing_md_recvd_implicit_only = false; + } else { + new_err = GRPC_ERROR_CREATE("Already recvd trailing md"); + INPROC_LOG( + GPR_INFO, + "op_state_machine %p scheduling on_complete errors for already " + "recvd trailing md %s", + s, grpc_core::StatusToString(new_err).c_str()); + fail_helper_locked(s, new_err); + goto done; + } + } + if (s->recv_message_op != nullptr) { + // This message needs to be wrapped up because it will never be + // satisfied + s->recv_message_op->payload->recv_message.recv_message->reset(); + INPROC_LOG(GPR_INFO, "op_state_machine %p scheduling message-ready", s); + grpc_core::ExecCtx::Run( + DEBUG_LOCATION, + s->recv_message_op->payload->recv_message.recv_message_ready, + absl::OkStatus()); + complete_if_batch_end_locked( + s, new_err, s->recv_message_op, + "op_state_machine scheduling recv-message-on-complete"); + s->recv_message_op = nullptr; + } + if ((s->trailing_md_sent || s->t->is_client) && s->send_message_op) { + // Nothing further will try to receive from this stream, so finish off + // any outstanding send_message op + ResetSendMessage(s->send_message_op); + s->send_message_op->payload->send_message.stream_write_closed = true; + complete_if_batch_end_locked( + s, new_err, s->send_message_op, + "op_state_machine scheduling send-message-on-complete case 2"); + s->send_message_op = nullptr; + } + if (s->recv_trailing_md_op != nullptr) { + // We wanted trailing metadata and we got it + s->trailing_md_recvd = true; + fill_in_metadata(s, &s->to_read_trailing_md, + s->recv_trailing_md_op->payload->recv_trailing_metadata + .recv_trailing_metadata, + nullptr); + s->to_read_trailing_md.Clear(); + s->to_read_trailing_md_filled = false; + s->recv_trailing_md_op->payload->recv_trailing_metadata + .recv_trailing_metadata->Set(grpc_core::GrpcStatusFromWire(), true); + + // We should schedule the recv_trailing_md_op completion if + // 1. this stream is the client-side + // 2. this stream is the server-side AND has already sent its trailing md + // (If the server hasn't already sent its trailing md, it doesn't + // have + // a final status, so don't mark this op complete) + if (s->t->is_client || s->trailing_md_sent) { + grpc_core::ExecCtx::Run( + DEBUG_LOCATION, + s->recv_trailing_md_op->payload->recv_trailing_metadata + .recv_trailing_metadata_ready, + absl::OkStatus()); + grpc_core::ExecCtx::Run(DEBUG_LOCATION, + s->recv_trailing_md_op->on_complete, + absl::OkStatus()); + s->recv_trailing_md_op = nullptr; + needs_close = s->trailing_md_sent; + } + } else if (!s->trailing_md_recvd) { + INPROC_LOG( + GPR_INFO, + "op_state_machine %p has trailing md but not yet waiting for it", s); + } + } + if (!s->t->is_client && s->trailing_md_sent && + (s->recv_trailing_md_op != nullptr)) { + // In this case, we don't care to receive the write-close from the client + // because we have already sent status and the RPC is over as far as we + // are concerned. + INPROC_LOG(GPR_INFO, "op_state_machine %p scheduling trailing-md-ready %s", + s, grpc_core::StatusToString(new_err).c_str()); + grpc_core::ExecCtx::Run( + DEBUG_LOCATION, + s->recv_trailing_md_op->payload->recv_trailing_metadata + .recv_trailing_metadata_ready, + new_err); + complete_if_batch_end_locked( + s, new_err, s->recv_trailing_md_op, + "op_state_machine scheduling recv-trailing-md-on-complete"); + s->trailing_md_recvd = true; + s->recv_trailing_md_op = nullptr; + // Since we are only pretending to have received the trailing MD, it would + // be ok (not an error) if the client actually sends it later. + s->trailing_md_recvd_implicit_only = true; + } + if (s->trailing_md_recvd && s->recv_message_op) { + // No further message will come on this stream, so finish off the + // recv_message_op + INPROC_LOG(GPR_INFO, "op_state_machine %p scheduling message-ready", s); + s->recv_message_op->payload->recv_message.recv_message->reset(); + grpc_core::ExecCtx::Run( + DEBUG_LOCATION, + s->recv_message_op->payload->recv_message.recv_message_ready, + absl::OkStatus()); + complete_if_batch_end_locked( + s, new_err, s->recv_message_op, + "op_state_machine scheduling recv-message-on-complete"); + s->recv_message_op = nullptr; + } + if (s->trailing_md_recvd && s->send_message_op && s->t->is_client) { + // Nothing further will try to receive from this stream, so finish off + // any outstanding send_message op + ResetSendMessage(s->send_message_op); + complete_if_batch_end_locked( + s, new_err, s->send_message_op, + "op_state_machine scheduling send-message-on-complete case 3"); + s->send_message_op = nullptr; + } + if (s->send_message_op || s->send_trailing_md_op || s->recv_initial_md_op || + s->recv_message_op || s->recv_trailing_md_op) { + // Didn't get the item we wanted so we still need to get + // rescheduled + INPROC_LOG( + GPR_INFO, "op_state_machine %p still needs closure %p %p %p %p %p", s, + s->send_message_op, s->send_trailing_md_op, s->recv_initial_md_op, + s->recv_message_op, s->recv_trailing_md_op); + s->ops_needed = true; + } +done: + if (needs_close) { + close_other_side_locked(s, "op_state_machine"); + close_stream_locked(s); + } +} + +bool cancel_stream_locked(inproc_stream* s, grpc_error_handle error) { + bool ret = false; // was the cancel accepted + INPROC_LOG(GPR_INFO, "cancel_stream %p with %s", s, + grpc_core::StatusToString(error).c_str()); + if (s->cancel_self_error.ok()) { + ret = true; + s->cancel_self_error = error; + // Catch current value of other before it gets closed off + inproc_stream* other = s->other_side; + maybe_process_ops_locked(s, s->cancel_self_error); + // Send trailing md to the other side indicating cancellation, even if we + // already have + s->trailing_md_sent = true; + + grpc_metadata_batch cancel_md(s->arena); + + grpc_metadata_batch* dest = (other == nullptr) + ? &s->write_buffer_trailing_md + : &other->to_read_trailing_md; + bool* destfilled = (other == nullptr) ? &s->write_buffer_trailing_md_filled + : &other->to_read_trailing_md_filled; + fill_in_metadata(s, &cancel_md, dest, destfilled); + + if (other != nullptr) { + if (other->cancel_other_error.ok()) { + other->cancel_other_error = s->cancel_self_error; + } + maybe_process_ops_locked(other, other->cancel_other_error); + } else if (s->write_buffer_cancel_error.ok()) { + s->write_buffer_cancel_error = s->cancel_self_error; + } + + // if we are a server and already received trailing md but + // couldn't complete that because we hadn't yet sent out trailing + // md, now's the chance + if (!s->t->is_client && s->trailing_md_recvd && s->recv_trailing_md_op) { + grpc_core::ExecCtx::Run( + DEBUG_LOCATION, + s->recv_trailing_md_op->payload->recv_trailing_metadata + .recv_trailing_metadata_ready, + s->cancel_self_error); + complete_if_batch_end_locked( + s, s->cancel_self_error, s->recv_trailing_md_op, + "cancel_stream scheduling trailing-md-on-complete"); + s->recv_trailing_md_op = nullptr; + } + } + + close_other_side_locked(s, "cancel_stream:other_side"); + close_stream_locked(s); + + return ret; +} + +void inproc_transport::PerformStreamOp(grpc_stream* gs, + grpc_transport_stream_op_batch* op) { + INPROC_LOG(GPR_INFO, "perform_stream_op %p %p %p", this, gs, op); + inproc_stream* s = reinterpret_cast(gs); + gpr_mu* mu = &s->t->mu->mu; // save aside in case s gets closed + gpr_mu_lock(mu); + + if (GRPC_TRACE_FLAG_ENABLED(grpc_inproc_trace)) { + if (op->send_initial_metadata) { + log_metadata(op->payload->send_initial_metadata.send_initial_metadata, + s->t->is_client, true); + } + if (op->send_trailing_metadata) { + log_metadata(op->payload->send_trailing_metadata.send_trailing_metadata, + s->t->is_client, false); + } + } + grpc_error_handle error; + grpc_closure* on_complete = op->on_complete; + // TODO(roth): This is a hack needed because we use data inside of the + // closure itself to do the barrier calculation (i.e., to ensure that + // we don't schedule the closure until all ops in the batch have been + // completed). This can go away once we move to a new C++ closure API + // that provides the ability to create a barrier closure. + if (on_complete == nullptr) { + on_complete = op->on_complete = + grpc_core::NewClosure([](grpc_error_handle) {}); + } + + if (op->cancel_stream) { + // Call cancel_stream_locked without ref'ing the cancel_error because + // this function is responsible to make sure that that field gets unref'ed + cancel_stream_locked(s, op->payload->cancel_stream.cancel_error); + // this op can complete without an error + } else if (!s->cancel_self_error.ok()) { + // already self-canceled so still give it an error + error = s->cancel_self_error; + } else { + INPROC_LOG(GPR_INFO, "perform_stream_op %p %s%s%s%s%s%s%s", s, + s->t->is_client ? "client" : "server", + op->send_initial_metadata ? " send_initial_metadata" : "", + op->send_message ? " send_message" : "", + op->send_trailing_metadata ? " send_trailing_metadata" : "", + op->recv_initial_metadata ? " recv_initial_metadata" : "", + op->recv_message ? " recv_message" : "", + op->recv_trailing_metadata ? " recv_trailing_metadata" : ""); + } + + inproc_stream* other = s->other_side; + if (error.ok() && (op->send_initial_metadata || op->send_trailing_metadata)) { + if (s->t->is_closed) { + error = GRPC_ERROR_CREATE("Endpoint already shutdown"); + } + if (error.ok() && op->send_initial_metadata) { + grpc_metadata_batch* dest = (other == nullptr) + ? &s->write_buffer_initial_md + : &other->to_read_initial_md; + bool* destfilled = (other == nullptr) ? &s->write_buffer_initial_md_filled + : &other->to_read_initial_md_filled; + if (*destfilled || s->initial_md_sent) { + // The buffer is already in use; that's an error! + INPROC_LOG(GPR_INFO, "Extra initial metadata %p", s); + error = GRPC_ERROR_CREATE("Extra initial metadata"); + } else { + if (!s->other_side_closed) { + fill_in_metadata( + s, op->payload->send_initial_metadata.send_initial_metadata, dest, + destfilled); + } + if (s->t->is_client) { + grpc_core::Timestamp* dl = + (other == nullptr) ? &s->write_buffer_deadline : &other->deadline; + *dl = std::min( + *dl, op->payload->send_initial_metadata.send_initial_metadata + ->get(grpc_core::GrpcTimeoutMetadata()) + .value_or(grpc_core::Timestamp::InfFuture())); + s->initial_md_sent = true; + } + } + maybe_process_ops_locked(other, error); + } + } + + if (error.ok() && (op->send_message || op->send_trailing_metadata || + op->recv_initial_metadata || op->recv_message || + op->recv_trailing_metadata)) { + // Mark ops that need to be processed by the state machine + if (op->send_message) { + s->send_message_op = op; + } + if (op->send_trailing_metadata) { + s->send_trailing_md_op = op; + } + if (op->recv_initial_metadata) { + s->recv_initial_md_op = op; + } + if (op->recv_message) { + s->recv_message_op = op; + } + if (op->recv_trailing_metadata) { + s->recv_trailing_md_op = op; + } + + // We want to initiate the state machine if: + // 1. We want to send a message and the other side wants to receive + // 2. We want to send trailing metadata and there isn't an unmatched send + // or the other side wants trailing metadata + // 3. We want initial metadata and the other side has sent it + // 4. We want to receive a message and there is a message ready + // 5. There is trailing metadata, even if nothing specifically wants + // that because that can shut down the receive message as well + if ((op->send_message && other && other->recv_message_op != nullptr) || + (op->send_trailing_metadata && + (!s->send_message_op || (other && other->recv_trailing_md_op))) || + (op->recv_initial_metadata && s->to_read_initial_md_filled) || + (op->recv_message && other && other->send_message_op != nullptr) || + (s->to_read_trailing_md_filled || s->trailing_md_recvd)) { + op_state_machine_locked(s, error); + } else { + s->ops_needed = true; + } + } else { + if (!error.ok()) { + // Consume any send message that was sent here but that we are not + // pushing to the other side + if (op->send_message) { + ResetSendMessage(op); + } + // Schedule op's closures that we didn't push to op state machine + if (op->recv_initial_metadata) { + if (op->payload->recv_initial_metadata.trailing_metadata_available != + nullptr) { + // Set to true unconditionally, because we're failing the call, so + // even if we haven't actually seen the send_trailing_metadata op + // from the other side, we're going to return trailing metadata + // anyway. + *op->payload->recv_initial_metadata.trailing_metadata_available = + true; + } + INPROC_LOG( + GPR_INFO, + "perform_stream_op error %p scheduling initial-metadata-ready %s", + s, grpc_core::StatusToString(error).c_str()); + grpc_core::ExecCtx::Run( + DEBUG_LOCATION, + op->payload->recv_initial_metadata.recv_initial_metadata_ready, + error); + } + if (op->recv_message) { + INPROC_LOG( + GPR_INFO, + "perform_stream_op error %p scheduling recv message-ready %s", s, + grpc_core::StatusToString(error).c_str()); + if (op->payload->recv_message.call_failed_before_recv_message != + nullptr) { + *op->payload->recv_message.call_failed_before_recv_message = true; + } + grpc_core::ExecCtx::Run(DEBUG_LOCATION, + op->payload->recv_message.recv_message_ready, + error); + } + if (op->recv_trailing_metadata) { + INPROC_LOG(GPR_INFO, + "perform_stream_op error %p scheduling " + "trailing-metadata-ready %s", + s, grpc_core::StatusToString(error).c_str()); + grpc_core::ExecCtx::Run( + DEBUG_LOCATION, + op->payload->recv_trailing_metadata.recv_trailing_metadata_ready, + error); + } + } + INPROC_LOG(GPR_INFO, "perform_stream_op %p scheduling on_complete %s", s, + grpc_core::StatusToString(error).c_str()); + grpc_core::ExecCtx::Run(DEBUG_LOCATION, on_complete, error); + } + gpr_mu_unlock(mu); +} + +void close_transport_locked(inproc_transport* t) { + INPROC_LOG(GPR_INFO, "close_transport %p %d", t, t->is_closed); + t->state_tracker.SetState(GRPC_CHANNEL_SHUTDOWN, absl::Status(), + "close transport"); + if (!t->is_closed) { + t->is_closed = true; + // Also end all streams on this transport + while (t->stream_list != nullptr) { + // cancel_stream_locked also adjusts stream list + cancel_stream_locked( + t->stream_list, + grpc_error_set_int(GRPC_ERROR_CREATE("Transport closed"), + grpc_core::StatusIntProperty::kRpcStatus, + GRPC_STATUS_UNAVAILABLE)); + } + } +} + +void inproc_transport::PerformOp(grpc_transport_op* op) { + INPROC_LOG(GPR_INFO, "perform_transport_op %p %p", this, op); + gpr_mu_lock(&mu->mu); + if (op->start_connectivity_watch != nullptr) { + state_tracker.AddWatcher(op->start_connectivity_watch_state, + std::move(op->start_connectivity_watch)); + } + if (op->stop_connectivity_watch != nullptr) { + state_tracker.RemoveWatcher(op->stop_connectivity_watch); + } + if (op->set_accept_stream) { + accept_stream_cb = op->set_accept_stream_fn; + registered_method_matcher_cb = op->set_registered_method_matcher_fn; + accept_stream_data = op->set_accept_stream_user_data; + } + if (op->on_consumed) { + grpc_core::ExecCtx::Run(DEBUG_LOCATION, op->on_consumed, absl::OkStatus()); + } + + bool do_close = false; + if (!op->goaway_error.ok()) { + do_close = true; + } + if (!op->disconnect_with_error.ok()) { + do_close = true; + } + + if (do_close) { + close_transport_locked(this); + } + gpr_mu_unlock(&mu->mu); +} + +void inproc_transport::DestroyStream(grpc_stream* gs, + grpc_closure* then_schedule_closure) { + INPROC_LOG(GPR_INFO, "destroy_stream %p %p", gs, then_schedule_closure); + inproc_stream* s = reinterpret_cast(gs); + gpr_mu_lock(&mu->mu); + close_stream_locked(s); + gpr_mu_unlock(&mu->mu); + s->~inproc_stream(); + grpc_core::ExecCtx::Run(DEBUG_LOCATION, then_schedule_closure, + absl::OkStatus()); +} + +void inproc_transport::Orphan() { + INPROC_LOG(GPR_INFO, "destroy_transport %p", this); + gpr_mu_lock(&mu->mu); + close_transport_locked(this); + gpr_mu_unlock(&mu->mu); + other_side->unref(); + unref(); +} + +//****************************************************************************** +// INTEGRATION GLUE +// + +size_t inproc_transport::SizeOfStream() const { return sizeof(inproc_stream); } + +absl::string_view inproc_transport::GetTransportName() const { + return "inproc"; +} + +void inproc_transport::SetPollset(grpc_stream* /*gs*/, + grpc_pollset* /*pollset*/) { + // Nothing to do here +} + +void inproc_transport::SetPollsetSet(grpc_stream* /*gs*/, + grpc_pollset_set* /*pollset_set*/) { + // Nothing to do here +} + +grpc_endpoint* inproc_transport::GetEndpoint() { return nullptr; } + +//****************************************************************************** +// Main inproc transport functions +// +void inproc_transports_create(grpc_core::Transport** server_transport, + grpc_core::Transport** client_transport) { + INPROC_LOG(GPR_INFO, "inproc_transports_create"); + shared_mu* mu = new (gpr_malloc(sizeof(*mu))) shared_mu(); + inproc_transport* st = + new (gpr_malloc(sizeof(*st))) inproc_transport(mu, /*is_client=*/false); + inproc_transport* ct = + new (gpr_malloc(sizeof(*ct))) inproc_transport(mu, /*is_client=*/true); + st->other_side = ct; + ct->other_side = st; + *server_transport = reinterpret_cast(st); + *client_transport = reinterpret_cast(ct); +} +} // namespace + +grpc_channel* grpc_legacy_inproc_channel_create(grpc_server* server, + const grpc_channel_args* args, + void* /*reserved*/) { + GRPC_API_TRACE("grpc_inproc_channel_create(server=%p, args=%p)", 2, + (server, args)); + + grpc_core::ExecCtx exec_ctx; + + grpc_core::Server* core_server = grpc_core::Server::FromC(server); + // Remove max_connection_idle and max_connection_age channel arguments since + // those do not apply to inproc transports. + grpc_core::ChannelArgs server_args = + core_server->channel_args() + .Remove(GRPC_ARG_MAX_CONNECTION_IDLE_MS) + .Remove(GRPC_ARG_MAX_CONNECTION_AGE_MS); + + // Add a default authority channel argument for the client + grpc_core::ChannelArgs client_args = + grpc_core::CoreConfiguration::Get() + .channel_args_preconditioning() + .PreconditionChannelArgs(args) + .Set(GRPC_ARG_DEFAULT_AUTHORITY, "inproc.authority"); + grpc_core::Transport* server_transport; + grpc_core::Transport* client_transport; + inproc_transports_create(&server_transport, &client_transport); + + // TODO(ncteisen): design and support channelz GetSocket for inproc. + grpc_error_handle error = core_server->SetupTransport( + server_transport, nullptr, server_args, nullptr); + grpc_channel* channel = nullptr; + if (error.ok()) { + auto new_channel = grpc_core::Channel::Create( + "inproc", client_args, GRPC_CLIENT_DIRECT_CHANNEL, client_transport); + if (!new_channel.ok()) { + GPR_ASSERT(!channel); + gpr_log(GPR_ERROR, "Failed to create client channel: %s", + grpc_core::StatusToString(error).c_str()); + intptr_t integer; + grpc_status_code status = GRPC_STATUS_INTERNAL; + if (grpc_error_get_int(error, grpc_core::StatusIntProperty::kRpcStatus, + &integer)) { + status = static_cast(integer); + } + // client_transport was destroyed when grpc_channel_create_internal saw an + // error. + server_transport->Orphan(); + channel = grpc_lame_client_channel_create( + nullptr, status, "Failed to create client channel"); + } else { + channel = new_channel->release()->c_ptr(); + } + } else { + GPR_ASSERT(!channel); + gpr_log(GPR_ERROR, "Failed to create server channel: %s", + grpc_core::StatusToString(error).c_str()); + intptr_t integer; + grpc_status_code status = GRPC_STATUS_INTERNAL; + if (grpc_error_get_int(error, grpc_core::StatusIntProperty::kRpcStatus, + &integer)) { + status = static_cast(integer); + } + client_transport->Orphan(); + server_transport->Orphan(); + channel = grpc_lame_client_channel_create( + nullptr, status, "Failed to create server channel"); + } + return channel; +} diff --git a/src/core/ext/transport/inproc/legacy_inproc_transport.h b/src/core/ext/transport/inproc/legacy_inproc_transport.h new file mode 100644 index 00000000000..e2cddf2b918 --- /dev/null +++ b/src/core/ext/transport/inproc/legacy_inproc_transport.h @@ -0,0 +1,30 @@ +// Copyright 2017 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_EXT_TRANSPORT_INPROC_LEGACY_INPROC_TRANSPORT_H +#define GRPC_SRC_CORE_EXT_TRANSPORT_INPROC_LEGACY_INPROC_TRANSPORT_H + +#include + +#include + +#include "src/core/lib/debug/trace.h" + +grpc_channel* grpc_legacy_inproc_channel_create(grpc_server* server, + const grpc_channel_args* args, + void* reserved); + +extern grpc_core::TraceFlag grpc_inproc_trace; + +#endif // GRPC_SRC_CORE_EXT_TRANSPORT_INPROC_LEGACY_INPROC_TRANSPORT_H diff --git a/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h b/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h rename to src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h index ec25b9a38ff..fc3059279f0 100644 --- a/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +++ b/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/certs.proto * @@ -10,7 +9,14 @@ #define ENVOY_ADMIN_V3_CERTS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/admin/v3/certs.upb_minitable.h" + +#include "google/protobuf/timestamp.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -22,25 +28,19 @@ typedef struct envoy_admin_v3_Certificate envoy_admin_v3_Certificate; typedef struct envoy_admin_v3_CertificateDetails envoy_admin_v3_CertificateDetails; typedef struct envoy_admin_v3_CertificateDetails_OcspDetails envoy_admin_v3_CertificateDetails_OcspDetails; typedef struct envoy_admin_v3_SubjectAlternateName envoy_admin_v3_SubjectAlternateName; -extern const upb_MiniTable envoy_admin_v3_Certificates_msg_init; -extern const upb_MiniTable envoy_admin_v3_Certificate_msg_init; -extern const upb_MiniTable envoy_admin_v3_CertificateDetails_msg_init; -extern const upb_MiniTable envoy_admin_v3_CertificateDetails_OcspDetails_msg_init; -extern const upb_MiniTable envoy_admin_v3_SubjectAlternateName_msg_init; struct google_protobuf_Timestamp; -extern const upb_MiniTable google_protobuf_Timestamp_msg_init; /* envoy.admin.v3.Certificates */ UPB_INLINE envoy_admin_v3_Certificates* envoy_admin_v3_Certificates_new(upb_Arena* arena) { - return (envoy_admin_v3_Certificates*)_upb_Message_New(&envoy_admin_v3_Certificates_msg_init, arena); + return (envoy_admin_v3_Certificates*)_upb_Message_New(&envoy__admin__v3__Certificates_msg_init, arena); } UPB_INLINE envoy_admin_v3_Certificates* envoy_admin_v3_Certificates_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_Certificates* ret = envoy_admin_v3_Certificates_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_Certificates_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__Certificates_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -50,7 +50,7 @@ UPB_INLINE envoy_admin_v3_Certificates* envoy_admin_v3_Certificates_parse_ex(con int options, upb_Arena* arena) { envoy_admin_v3_Certificates* ret = envoy_admin_v3_Certificates_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_Certificates_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__Certificates_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -58,13 +58,13 @@ UPB_INLINE envoy_admin_v3_Certificates* envoy_admin_v3_Certificates_parse_ex(con } UPB_INLINE char* envoy_admin_v3_Certificates_serialize(const envoy_admin_v3_Certificates* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_Certificates_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__Certificates_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_Certificates_serialize_ex(const envoy_admin_v3_Certificates* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_Certificates_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__Certificates_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_Certificates_clear_certificates(envoy_admin_v3_Certificates* msg) { @@ -126,7 +126,7 @@ UPB_INLINE struct envoy_admin_v3_Certificate* envoy_admin_v3_Certificates_add_ce if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_Certificate* sub = (struct envoy_admin_v3_Certificate*)_upb_Message_New(&envoy_admin_v3_Certificate_msg_init, arena); + struct envoy_admin_v3_Certificate* sub = (struct envoy_admin_v3_Certificate*)_upb_Message_New(&envoy__admin__v3__Certificate_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -135,12 +135,12 @@ UPB_INLINE struct envoy_admin_v3_Certificate* envoy_admin_v3_Certificates_add_ce /* envoy.admin.v3.Certificate */ UPB_INLINE envoy_admin_v3_Certificate* envoy_admin_v3_Certificate_new(upb_Arena* arena) { - return (envoy_admin_v3_Certificate*)_upb_Message_New(&envoy_admin_v3_Certificate_msg_init, arena); + return (envoy_admin_v3_Certificate*)_upb_Message_New(&envoy__admin__v3__Certificate_msg_init, arena); } UPB_INLINE envoy_admin_v3_Certificate* envoy_admin_v3_Certificate_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_Certificate* ret = envoy_admin_v3_Certificate_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_Certificate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__Certificate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -150,7 +150,7 @@ UPB_INLINE envoy_admin_v3_Certificate* envoy_admin_v3_Certificate_parse_ex(const int options, upb_Arena* arena) { envoy_admin_v3_Certificate* ret = envoy_admin_v3_Certificate_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_Certificate_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__Certificate_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -158,13 +158,13 @@ UPB_INLINE envoy_admin_v3_Certificate* envoy_admin_v3_Certificate_parse_ex(const } UPB_INLINE char* envoy_admin_v3_Certificate_serialize(const envoy_admin_v3_Certificate* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_Certificate_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__Certificate_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_Certificate_serialize_ex(const envoy_admin_v3_Certificate* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_Certificate_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__Certificate_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_Certificate_clear_ca_cert(envoy_admin_v3_Certificate* msg) { @@ -263,7 +263,7 @@ UPB_INLINE struct envoy_admin_v3_CertificateDetails* envoy_admin_v3_Certificate_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_CertificateDetails* sub = (struct envoy_admin_v3_CertificateDetails*)_upb_Message_New(&envoy_admin_v3_CertificateDetails_msg_init, arena); + struct envoy_admin_v3_CertificateDetails* sub = (struct envoy_admin_v3_CertificateDetails*)_upb_Message_New(&envoy__admin__v3__CertificateDetails_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -289,7 +289,7 @@ UPB_INLINE struct envoy_admin_v3_CertificateDetails* envoy_admin_v3_Certificate_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_CertificateDetails* sub = (struct envoy_admin_v3_CertificateDetails*)_upb_Message_New(&envoy_admin_v3_CertificateDetails_msg_init, arena); + struct envoy_admin_v3_CertificateDetails* sub = (struct envoy_admin_v3_CertificateDetails*)_upb_Message_New(&envoy__admin__v3__CertificateDetails_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -298,12 +298,12 @@ UPB_INLINE struct envoy_admin_v3_CertificateDetails* envoy_admin_v3_Certificate_ /* envoy.admin.v3.CertificateDetails */ UPB_INLINE envoy_admin_v3_CertificateDetails* envoy_admin_v3_CertificateDetails_new(upb_Arena* arena) { - return (envoy_admin_v3_CertificateDetails*)_upb_Message_New(&envoy_admin_v3_CertificateDetails_msg_init, arena); + return (envoy_admin_v3_CertificateDetails*)_upb_Message_New(&envoy__admin__v3__CertificateDetails_msg_init, arena); } UPB_INLINE envoy_admin_v3_CertificateDetails* envoy_admin_v3_CertificateDetails_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_CertificateDetails* ret = envoy_admin_v3_CertificateDetails_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_CertificateDetails_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__CertificateDetails_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -313,7 +313,7 @@ UPB_INLINE envoy_admin_v3_CertificateDetails* envoy_admin_v3_CertificateDetails_ int options, upb_Arena* arena) { envoy_admin_v3_CertificateDetails* ret = envoy_admin_v3_CertificateDetails_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_CertificateDetails_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__CertificateDetails_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -321,13 +321,13 @@ UPB_INLINE envoy_admin_v3_CertificateDetails* envoy_admin_v3_CertificateDetails_ } UPB_INLINE char* envoy_admin_v3_CertificateDetails_serialize(const envoy_admin_v3_CertificateDetails* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_CertificateDetails_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__CertificateDetails_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_CertificateDetails_serialize_ex(const envoy_admin_v3_CertificateDetails* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_CertificateDetails_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__CertificateDetails_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_CertificateDetails_clear_path(envoy_admin_v3_CertificateDetails* msg) { @@ -475,7 +475,7 @@ UPB_INLINE struct envoy_admin_v3_SubjectAlternateName* envoy_admin_v3_Certificat if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_SubjectAlternateName* sub = (struct envoy_admin_v3_SubjectAlternateName*)_upb_Message_New(&envoy_admin_v3_SubjectAlternateName_msg_init, arena); + struct envoy_admin_v3_SubjectAlternateName* sub = (struct envoy_admin_v3_SubjectAlternateName*)_upb_Message_New(&envoy__admin__v3__SubjectAlternateName_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -491,7 +491,7 @@ UPB_INLINE void envoy_admin_v3_CertificateDetails_set_valid_from(envoy_admin_v3_ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_CertificateDetails_mutable_valid_from(envoy_admin_v3_CertificateDetails* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_CertificateDetails_valid_from(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_CertificateDetails_set_valid_from(msg, sub); } return sub; @@ -503,7 +503,7 @@ UPB_INLINE void envoy_admin_v3_CertificateDetails_set_expiration_time(envoy_admi UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_CertificateDetails_mutable_expiration_time(envoy_admin_v3_CertificateDetails* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_CertificateDetails_expiration_time(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_CertificateDetails_set_expiration_time(msg, sub); } return sub; @@ -515,7 +515,7 @@ UPB_INLINE void envoy_admin_v3_CertificateDetails_set_ocsp_details(envoy_admin_v UPB_INLINE struct envoy_admin_v3_CertificateDetails_OcspDetails* envoy_admin_v3_CertificateDetails_mutable_ocsp_details(envoy_admin_v3_CertificateDetails* msg, upb_Arena* arena) { struct envoy_admin_v3_CertificateDetails_OcspDetails* sub = (struct envoy_admin_v3_CertificateDetails_OcspDetails*)envoy_admin_v3_CertificateDetails_ocsp_details(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_CertificateDetails_OcspDetails*)_upb_Message_New(&envoy_admin_v3_CertificateDetails_OcspDetails_msg_init, arena); + sub = (struct envoy_admin_v3_CertificateDetails_OcspDetails*)_upb_Message_New(&envoy__admin__v3__CertificateDetails__OcspDetails_msg_init, arena); if (sub) envoy_admin_v3_CertificateDetails_set_ocsp_details(msg, sub); } return sub; @@ -524,12 +524,12 @@ UPB_INLINE struct envoy_admin_v3_CertificateDetails_OcspDetails* envoy_admin_v3_ /* envoy.admin.v3.CertificateDetails.OcspDetails */ UPB_INLINE envoy_admin_v3_CertificateDetails_OcspDetails* envoy_admin_v3_CertificateDetails_OcspDetails_new(upb_Arena* arena) { - return (envoy_admin_v3_CertificateDetails_OcspDetails*)_upb_Message_New(&envoy_admin_v3_CertificateDetails_OcspDetails_msg_init, arena); + return (envoy_admin_v3_CertificateDetails_OcspDetails*)_upb_Message_New(&envoy__admin__v3__CertificateDetails__OcspDetails_msg_init, arena); } UPB_INLINE envoy_admin_v3_CertificateDetails_OcspDetails* envoy_admin_v3_CertificateDetails_OcspDetails_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_CertificateDetails_OcspDetails* ret = envoy_admin_v3_CertificateDetails_OcspDetails_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_CertificateDetails_OcspDetails_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__CertificateDetails__OcspDetails_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -539,7 +539,7 @@ UPB_INLINE envoy_admin_v3_CertificateDetails_OcspDetails* envoy_admin_v3_Certifi int options, upb_Arena* arena) { envoy_admin_v3_CertificateDetails_OcspDetails* ret = envoy_admin_v3_CertificateDetails_OcspDetails_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_CertificateDetails_OcspDetails_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__CertificateDetails__OcspDetails_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -547,13 +547,13 @@ UPB_INLINE envoy_admin_v3_CertificateDetails_OcspDetails* envoy_admin_v3_Certifi } UPB_INLINE char* envoy_admin_v3_CertificateDetails_OcspDetails_serialize(const envoy_admin_v3_CertificateDetails_OcspDetails* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_CertificateDetails_OcspDetails_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__CertificateDetails__OcspDetails_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_CertificateDetails_OcspDetails_serialize_ex(const envoy_admin_v3_CertificateDetails_OcspDetails* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_CertificateDetails_OcspDetails_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__CertificateDetails__OcspDetails_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_CertificateDetails_OcspDetails_clear_valid_from(envoy_admin_v3_CertificateDetails_OcspDetails* msg) { @@ -594,7 +594,7 @@ UPB_INLINE void envoy_admin_v3_CertificateDetails_OcspDetails_set_valid_from(env UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_CertificateDetails_OcspDetails_mutable_valid_from(envoy_admin_v3_CertificateDetails_OcspDetails* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_CertificateDetails_OcspDetails_valid_from(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_CertificateDetails_OcspDetails_set_valid_from(msg, sub); } return sub; @@ -606,7 +606,7 @@ UPB_INLINE void envoy_admin_v3_CertificateDetails_OcspDetails_set_expiration(env UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_CertificateDetails_OcspDetails_mutable_expiration(envoy_admin_v3_CertificateDetails_OcspDetails* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_CertificateDetails_OcspDetails_expiration(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_CertificateDetails_OcspDetails_set_expiration(msg, sub); } return sub; @@ -615,12 +615,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_CertificateDetails_O /* envoy.admin.v3.SubjectAlternateName */ UPB_INLINE envoy_admin_v3_SubjectAlternateName* envoy_admin_v3_SubjectAlternateName_new(upb_Arena* arena) { - return (envoy_admin_v3_SubjectAlternateName*)_upb_Message_New(&envoy_admin_v3_SubjectAlternateName_msg_init, arena); + return (envoy_admin_v3_SubjectAlternateName*)_upb_Message_New(&envoy__admin__v3__SubjectAlternateName_msg_init, arena); } UPB_INLINE envoy_admin_v3_SubjectAlternateName* envoy_admin_v3_SubjectAlternateName_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_SubjectAlternateName* ret = envoy_admin_v3_SubjectAlternateName_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_SubjectAlternateName_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__SubjectAlternateName_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -630,7 +630,7 @@ UPB_INLINE envoy_admin_v3_SubjectAlternateName* envoy_admin_v3_SubjectAlternateN int options, upb_Arena* arena) { envoy_admin_v3_SubjectAlternateName* ret = envoy_admin_v3_SubjectAlternateName_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_SubjectAlternateName_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__SubjectAlternateName_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -638,13 +638,13 @@ UPB_INLINE envoy_admin_v3_SubjectAlternateName* envoy_admin_v3_SubjectAlternateN } UPB_INLINE char* envoy_admin_v3_SubjectAlternateName_serialize(const envoy_admin_v3_SubjectAlternateName* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_SubjectAlternateName_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__SubjectAlternateName_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_SubjectAlternateName_serialize_ex(const envoy_admin_v3_SubjectAlternateName* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_SubjectAlternateName_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__SubjectAlternateName_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -716,8 +716,6 @@ UPB_INLINE void envoy_admin_v3_SubjectAlternateName_set_ip_address(envoy_admin_v _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_admin_v3_certs_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c b/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c new file mode 100644 index 00000000000..1692371aa05 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c @@ -0,0 +1,149 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/certs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/admin/v3/certs.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_admin_v3_Certificates_submsgs[1] = { + {.submsg = &envoy__admin__v3__Certificate_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_Certificates__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__Certificates_msg_init = { + &envoy_admin_v3_Certificates_submsgs[0], + &envoy_admin_v3_Certificates__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_Certificate_submsgs[2] = { + {.submsg = &envoy__admin__v3__CertificateDetails_msg_init}, + {.submsg = &envoy__admin__v3__CertificateDetails_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_Certificate__fields[2] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__Certificate_msg_init = { + &envoy_admin_v3_Certificate_submsgs[0], + &envoy_admin_v3_Certificate__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max128b}, + {0x000800003f010012, &upb_prm_1bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_CertificateDetails_submsgs[4] = { + {.submsg = &envoy__admin__v3__SubjectAlternateName_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &envoy__admin__v3__CertificateDetails__OcspDetails_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_CertificateDetails__fields[7] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(40, 48), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 56), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 64), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(16, 72), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__CertificateDetails_msg_init = { + &envoy_admin_v3_CertificateDetails_submsgs[0], + &envoy_admin_v3_CertificateDetails__fields[0], + UPB_SIZE(48, 80), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x002800003f00001a, &upb_prm_1bt_max64b}, + {0x003000003f000020, &upb_psv8_1bt}, + {0x003800000101002a, &upb_psm_1bt_maxmaxb}, + {0x0040000002020032, &upb_psm_1bt_maxmaxb}, + {0x004800000303003a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_CertificateDetails_OcspDetails_submsgs[2] = { + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_CertificateDetails_OcspDetails__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__CertificateDetails__OcspDetails_msg_init = { + &envoy_admin_v3_CertificateDetails_OcspDetails_submsgs[0], + &envoy_admin_v3_CertificateDetails_OcspDetails__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_admin_v3_SubjectAlternateName__fields[3] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__SubjectAlternateName_msg_init = { + NULL, + &envoy_admin_v3_SubjectAlternateName__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + {0x0008000002000012, &upb_pos_1bt}, + {0x000800000300001a, &upb_pos_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[5] = { + &envoy__admin__v3__Certificates_msg_init, + &envoy__admin__v3__Certificate_msg_init, + &envoy__admin__v3__CertificateDetails_msg_init, + &envoy__admin__v3__CertificateDetails__OcspDetails_msg_init, + &envoy__admin__v3__SubjectAlternateName_msg_init, +}; + +const upb_MiniTableFile envoy_admin_v3_certs_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 5, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h b/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h new file mode 100644 index 00000000000..3ce9de63aeb --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h @@ -0,0 +1,34 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/certs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ADMIN_V3_CERTS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_ADMIN_V3_CERTS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__admin__v3__Certificates_msg_init; +extern const upb_MiniTable envoy__admin__v3__Certificate_msg_init; +extern const upb_MiniTable envoy__admin__v3__CertificateDetails_msg_init; +extern const upb_MiniTable envoy__admin__v3__CertificateDetails__OcspDetails_msg_init; +extern const upb_MiniTable envoy__admin__v3__SubjectAlternateName_msg_init; + +extern const upb_MiniTableFile envoy_admin_v3_certs_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ADMIN_V3_CERTS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h b/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h similarity index 94% rename from src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h rename to src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h index 65ec5272fad..1f2790a7689 100644 --- a/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +++ b/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/clusters.proto * @@ -10,7 +9,19 @@ #define ENVOY_ADMIN_V3_CLUSTERS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/admin/v3/clusters.upb_minitable.h" + +#include "envoy/admin/v3/metrics.upb_minitable.h" +#include "envoy/config/cluster/v3/circuit_breaker.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/health_check.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -21,32 +32,23 @@ typedef struct envoy_admin_v3_Clusters envoy_admin_v3_Clusters; typedef struct envoy_admin_v3_ClusterStatus envoy_admin_v3_ClusterStatus; typedef struct envoy_admin_v3_HostStatus envoy_admin_v3_HostStatus; typedef struct envoy_admin_v3_HostHealthStatus envoy_admin_v3_HostHealthStatus; -extern const upb_MiniTable envoy_admin_v3_Clusters_msg_init; -extern const upb_MiniTable envoy_admin_v3_ClusterStatus_msg_init; -extern const upb_MiniTable envoy_admin_v3_HostStatus_msg_init; -extern const upb_MiniTable envoy_admin_v3_HostHealthStatus_msg_init; struct envoy_admin_v3_SimpleMetric; struct envoy_config_cluster_v3_CircuitBreakers; struct envoy_config_core_v3_Address; struct envoy_config_core_v3_Locality; struct envoy_type_v3_Percent; -extern const upb_MiniTable envoy_admin_v3_SimpleMetric_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_CircuitBreakers_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Address_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Locality_msg_init; -extern const upb_MiniTable envoy_type_v3_Percent_msg_init; /* envoy.admin.v3.Clusters */ UPB_INLINE envoy_admin_v3_Clusters* envoy_admin_v3_Clusters_new(upb_Arena* arena) { - return (envoy_admin_v3_Clusters*)_upb_Message_New(&envoy_admin_v3_Clusters_msg_init, arena); + return (envoy_admin_v3_Clusters*)_upb_Message_New(&envoy__admin__v3__Clusters_msg_init, arena); } UPB_INLINE envoy_admin_v3_Clusters* envoy_admin_v3_Clusters_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_Clusters* ret = envoy_admin_v3_Clusters_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_Clusters_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__Clusters_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -56,7 +58,7 @@ UPB_INLINE envoy_admin_v3_Clusters* envoy_admin_v3_Clusters_parse_ex(const char* int options, upb_Arena* arena) { envoy_admin_v3_Clusters* ret = envoy_admin_v3_Clusters_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_Clusters_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__Clusters_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -64,13 +66,13 @@ UPB_INLINE envoy_admin_v3_Clusters* envoy_admin_v3_Clusters_parse_ex(const char* } UPB_INLINE char* envoy_admin_v3_Clusters_serialize(const envoy_admin_v3_Clusters* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_Clusters_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__Clusters_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_Clusters_serialize_ex(const envoy_admin_v3_Clusters* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_Clusters_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__Clusters_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_Clusters_clear_cluster_statuses(envoy_admin_v3_Clusters* msg) { @@ -132,7 +134,7 @@ UPB_INLINE struct envoy_admin_v3_ClusterStatus* envoy_admin_v3_Clusters_add_clus if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_ClusterStatus* sub = (struct envoy_admin_v3_ClusterStatus*)_upb_Message_New(&envoy_admin_v3_ClusterStatus_msg_init, arena); + struct envoy_admin_v3_ClusterStatus* sub = (struct envoy_admin_v3_ClusterStatus*)_upb_Message_New(&envoy__admin__v3__ClusterStatus_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -141,12 +143,12 @@ UPB_INLINE struct envoy_admin_v3_ClusterStatus* envoy_admin_v3_Clusters_add_clus /* envoy.admin.v3.ClusterStatus */ UPB_INLINE envoy_admin_v3_ClusterStatus* envoy_admin_v3_ClusterStatus_new(upb_Arena* arena) { - return (envoy_admin_v3_ClusterStatus*)_upb_Message_New(&envoy_admin_v3_ClusterStatus_msg_init, arena); + return (envoy_admin_v3_ClusterStatus*)_upb_Message_New(&envoy__admin__v3__ClusterStatus_msg_init, arena); } UPB_INLINE envoy_admin_v3_ClusterStatus* envoy_admin_v3_ClusterStatus_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ClusterStatus* ret = envoy_admin_v3_ClusterStatus_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClusterStatus_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClusterStatus_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -156,7 +158,7 @@ UPB_INLINE envoy_admin_v3_ClusterStatus* envoy_admin_v3_ClusterStatus_parse_ex(c int options, upb_Arena* arena) { envoy_admin_v3_ClusterStatus* ret = envoy_admin_v3_ClusterStatus_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClusterStatus_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClusterStatus_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -164,13 +166,13 @@ UPB_INLINE envoy_admin_v3_ClusterStatus* envoy_admin_v3_ClusterStatus_parse_ex(c } UPB_INLINE char* envoy_admin_v3_ClusterStatus_serialize(const envoy_admin_v3_ClusterStatus* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ClusterStatus_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ClusterStatus_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ClusterStatus_serialize_ex(const envoy_admin_v3_ClusterStatus* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ClusterStatus_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ClusterStatus_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ClusterStatus_clear_name(envoy_admin_v3_ClusterStatus* msg) { @@ -315,7 +317,7 @@ UPB_INLINE void envoy_admin_v3_ClusterStatus_set_success_rate_ejection_threshold UPB_INLINE struct envoy_type_v3_Percent* envoy_admin_v3_ClusterStatus_mutable_success_rate_ejection_threshold(envoy_admin_v3_ClusterStatus* msg, upb_Arena* arena) { struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_admin_v3_ClusterStatus_success_rate_ejection_threshold(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); if (sub) envoy_admin_v3_ClusterStatus_set_success_rate_ejection_threshold(msg, sub); } return sub; @@ -341,7 +343,7 @@ UPB_INLINE struct envoy_admin_v3_HostStatus* envoy_admin_v3_ClusterStatus_add_ho if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_HostStatus* sub = (struct envoy_admin_v3_HostStatus*)_upb_Message_New(&envoy_admin_v3_HostStatus_msg_init, arena); + struct envoy_admin_v3_HostStatus* sub = (struct envoy_admin_v3_HostStatus*)_upb_Message_New(&envoy__admin__v3__HostStatus_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -353,7 +355,7 @@ UPB_INLINE void envoy_admin_v3_ClusterStatus_set_local_origin_success_rate_eject UPB_INLINE struct envoy_type_v3_Percent* envoy_admin_v3_ClusterStatus_mutable_local_origin_success_rate_ejection_threshold(envoy_admin_v3_ClusterStatus* msg, upb_Arena* arena) { struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_admin_v3_ClusterStatus_local_origin_success_rate_ejection_threshold(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); if (sub) envoy_admin_v3_ClusterStatus_set_local_origin_success_rate_ejection_threshold(msg, sub); } return sub; @@ -365,7 +367,7 @@ UPB_INLINE void envoy_admin_v3_ClusterStatus_set_circuit_breakers(envoy_admin_v3 UPB_INLINE struct envoy_config_cluster_v3_CircuitBreakers* envoy_admin_v3_ClusterStatus_mutable_circuit_breakers(envoy_admin_v3_ClusterStatus* msg, upb_Arena* arena) { struct envoy_config_cluster_v3_CircuitBreakers* sub = (struct envoy_config_cluster_v3_CircuitBreakers*)envoy_admin_v3_ClusterStatus_circuit_breakers(msg); if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_CircuitBreakers*)_upb_Message_New(&envoy_config_cluster_v3_CircuitBreakers_msg_init, arena); + sub = (struct envoy_config_cluster_v3_CircuitBreakers*)_upb_Message_New(&envoy__config__cluster__v3__CircuitBreakers_msg_init, arena); if (sub) envoy_admin_v3_ClusterStatus_set_circuit_breakers(msg, sub); } return sub; @@ -382,12 +384,12 @@ UPB_INLINE void envoy_admin_v3_ClusterStatus_set_eds_service_name(envoy_admin_v3 /* envoy.admin.v3.HostStatus */ UPB_INLINE envoy_admin_v3_HostStatus* envoy_admin_v3_HostStatus_new(upb_Arena* arena) { - return (envoy_admin_v3_HostStatus*)_upb_Message_New(&envoy_admin_v3_HostStatus_msg_init, arena); + return (envoy_admin_v3_HostStatus*)_upb_Message_New(&envoy__admin__v3__HostStatus_msg_init, arena); } UPB_INLINE envoy_admin_v3_HostStatus* envoy_admin_v3_HostStatus_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_HostStatus* ret = envoy_admin_v3_HostStatus_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_HostStatus_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__HostStatus_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -397,7 +399,7 @@ UPB_INLINE envoy_admin_v3_HostStatus* envoy_admin_v3_HostStatus_parse_ex(const c int options, upb_Arena* arena) { envoy_admin_v3_HostStatus* ret = envoy_admin_v3_HostStatus_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_HostStatus_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__HostStatus_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -405,13 +407,13 @@ UPB_INLINE envoy_admin_v3_HostStatus* envoy_admin_v3_HostStatus_parse_ex(const c } UPB_INLINE char* envoy_admin_v3_HostStatus_serialize(const envoy_admin_v3_HostStatus* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_HostStatus_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__HostStatus_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_HostStatus_serialize_ex(const envoy_admin_v3_HostStatus* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_HostStatus_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__HostStatus_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_HostStatus_clear_address(envoy_admin_v3_HostStatus* msg) { @@ -567,7 +569,7 @@ UPB_INLINE void envoy_admin_v3_HostStatus_set_address(envoy_admin_v3_HostStatus UPB_INLINE struct envoy_config_core_v3_Address* envoy_admin_v3_HostStatus_mutable_address(envoy_admin_v3_HostStatus* msg, upb_Arena* arena) { struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_admin_v3_HostStatus_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); if (sub) envoy_admin_v3_HostStatus_set_address(msg, sub); } return sub; @@ -593,7 +595,7 @@ UPB_INLINE struct envoy_admin_v3_SimpleMetric* envoy_admin_v3_HostStatus_add_sta if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_SimpleMetric* sub = (struct envoy_admin_v3_SimpleMetric*)_upb_Message_New(&envoy_admin_v3_SimpleMetric_msg_init, arena); + struct envoy_admin_v3_SimpleMetric* sub = (struct envoy_admin_v3_SimpleMetric*)_upb_Message_New(&envoy__admin__v3__SimpleMetric_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -605,7 +607,7 @@ UPB_INLINE void envoy_admin_v3_HostStatus_set_health_status(envoy_admin_v3_HostS UPB_INLINE struct envoy_admin_v3_HostHealthStatus* envoy_admin_v3_HostStatus_mutable_health_status(envoy_admin_v3_HostStatus* msg, upb_Arena* arena) { struct envoy_admin_v3_HostHealthStatus* sub = (struct envoy_admin_v3_HostHealthStatus*)envoy_admin_v3_HostStatus_health_status(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_HostHealthStatus*)_upb_Message_New(&envoy_admin_v3_HostHealthStatus_msg_init, arena); + sub = (struct envoy_admin_v3_HostHealthStatus*)_upb_Message_New(&envoy__admin__v3__HostHealthStatus_msg_init, arena); if (sub) envoy_admin_v3_HostStatus_set_health_status(msg, sub); } return sub; @@ -617,7 +619,7 @@ UPB_INLINE void envoy_admin_v3_HostStatus_set_success_rate(envoy_admin_v3_HostSt UPB_INLINE struct envoy_type_v3_Percent* envoy_admin_v3_HostStatus_mutable_success_rate(envoy_admin_v3_HostStatus* msg, upb_Arena* arena) { struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_admin_v3_HostStatus_success_rate(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); if (sub) envoy_admin_v3_HostStatus_set_success_rate(msg, sub); } return sub; @@ -641,7 +643,7 @@ UPB_INLINE void envoy_admin_v3_HostStatus_set_local_origin_success_rate(envoy_ad UPB_INLINE struct envoy_type_v3_Percent* envoy_admin_v3_HostStatus_mutable_local_origin_success_rate(envoy_admin_v3_HostStatus* msg, upb_Arena* arena) { struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_admin_v3_HostStatus_local_origin_success_rate(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); if (sub) envoy_admin_v3_HostStatus_set_local_origin_success_rate(msg, sub); } return sub; @@ -653,7 +655,7 @@ UPB_INLINE void envoy_admin_v3_HostStatus_set_locality(envoy_admin_v3_HostStatus UPB_INLINE struct envoy_config_core_v3_Locality* envoy_admin_v3_HostStatus_mutable_locality(envoy_admin_v3_HostStatus* msg, upb_Arena* arena) { struct envoy_config_core_v3_Locality* sub = (struct envoy_config_core_v3_Locality*)envoy_admin_v3_HostStatus_locality(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Locality*)_upb_Message_New(&envoy_config_core_v3_Locality_msg_init, arena); + sub = (struct envoy_config_core_v3_Locality*)_upb_Message_New(&envoy__config__core__v3__Locality_msg_init, arena); if (sub) envoy_admin_v3_HostStatus_set_locality(msg, sub); } return sub; @@ -662,12 +664,12 @@ UPB_INLINE struct envoy_config_core_v3_Locality* envoy_admin_v3_HostStatus_mutab /* envoy.admin.v3.HostHealthStatus */ UPB_INLINE envoy_admin_v3_HostHealthStatus* envoy_admin_v3_HostHealthStatus_new(upb_Arena* arena) { - return (envoy_admin_v3_HostHealthStatus*)_upb_Message_New(&envoy_admin_v3_HostHealthStatus_msg_init, arena); + return (envoy_admin_v3_HostHealthStatus*)_upb_Message_New(&envoy__admin__v3__HostHealthStatus_msg_init, arena); } UPB_INLINE envoy_admin_v3_HostHealthStatus* envoy_admin_v3_HostHealthStatus_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_HostHealthStatus* ret = envoy_admin_v3_HostHealthStatus_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_HostHealthStatus_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__HostHealthStatus_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -677,7 +679,7 @@ UPB_INLINE envoy_admin_v3_HostHealthStatus* envoy_admin_v3_HostHealthStatus_pars int options, upb_Arena* arena) { envoy_admin_v3_HostHealthStatus* ret = envoy_admin_v3_HostHealthStatus_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_HostHealthStatus_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__HostHealthStatus_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -685,13 +687,13 @@ UPB_INLINE envoy_admin_v3_HostHealthStatus* envoy_admin_v3_HostHealthStatus_pars } UPB_INLINE char* envoy_admin_v3_HostHealthStatus_serialize(const envoy_admin_v3_HostHealthStatus* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_HostHealthStatus_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__HostHealthStatus_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_HostHealthStatus_serialize_ex(const envoy_admin_v3_HostHealthStatus* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_HostHealthStatus_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__HostHealthStatus_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_HostHealthStatus_clear_failed_active_health_check(envoy_admin_v3_HostHealthStatus* msg) { @@ -816,8 +818,6 @@ UPB_INLINE void envoy_admin_v3_HostHealthStatus_set_active_hc_timeout(envoy_admi _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_admin_v3_clusters_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c b/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c new file mode 100644 index 00000000000..e8e970c3aa4 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c @@ -0,0 +1,180 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/clusters.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/admin/v3/clusters.upb_minitable.h" +#include "envoy/admin/v3/metrics.upb_minitable.h" +#include "envoy/config/cluster/v3/circuit_breaker.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/health_check.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_admin_v3_Clusters_submsgs[1] = { + {.submsg = &envoy__admin__v3__ClusterStatus_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_Clusters__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__Clusters_msg_init = { + &envoy_admin_v3_Clusters_submsgs[0], + &envoy_admin_v3_Clusters__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max128b}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_ClusterStatus_submsgs[4] = { + {.submsg = &envoy__type__v3__Percent_msg_init}, + {.submsg = &envoy__admin__v3__HostStatus_msg_init}, + {.submsg = &envoy__type__v3__Percent_msg_init}, + {.submsg = &envoy__config__cluster__v3__CircuitBreakers_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ClusterStatus__fields[8] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 40), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 48), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ClusterStatus_msg_init = { + &envoy_admin_v3_ClusterStatus_submsgs[0], + &envoy_admin_v3_ClusterStatus__fields[0], + UPB_SIZE(48, 88), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x001800000100001a, &upb_psm_1bt_maxmaxb}, + {0x002000003f010022, &upb_prm_1bt_max128b}, + {0x002800000202002a, &upb_psm_1bt_maxmaxb}, + {0x0030000003030032, &upb_psm_1bt_maxmaxb}, + {0x003800003f00003a, &upb_pss_1bt}, + {0x004800003f000042, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_HostStatus_submsgs[6] = { + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__admin__v3__SimpleMetric_msg_init}, + {.submsg = &envoy__admin__v3__HostHealthStatus_msg_init}, + {.submsg = &envoy__type__v3__Percent_msg_init}, + {.submsg = &envoy__type__v3__Percent_msg_init}, + {.submsg = &envoy__config__core__v3__Locality_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_HostStatus__fields[9] = { + {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 32), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 40), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 8), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(28, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(32, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__HostStatus_msg_init = { + &envoy_admin_v3_HostStatus_submsgs[0], + &envoy_admin_v3_HostStatus__fields[0], + UPB_SIZE(48, 80), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000000100000a, &upb_psm_1bt_maxmaxb}, + {0x001800003f010012, &upb_prm_1bt_maxmaxb}, + {0x002000000202001a, &upb_psm_1bt_max64b}, + {0x0028000003030022, &upb_psm_1bt_maxmaxb}, + {0x000400003f000028, &upb_psv4_1bt}, + {0x003000003f000032, &upb_pss_1bt}, + {0x000800003f000038, &upb_psv4_1bt}, + {0x0040000004040042, &upb_psm_1bt_maxmaxb}, + {0x004800000505004a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_admin_v3_HostHealthStatus__fields[8] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__HostHealthStatus_msg_init = { + NULL, + &envoy_admin_v3_HostHealthStatus__fields[0], + 16, 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x000400003f000018, &upb_psv4_1bt}, + {0x000800003f000020, &upb_psb1_1bt}, + {0x000900003f000028, &upb_psb1_1bt}, + {0x000a00003f000030, &upb_psb1_1bt}, + {0x000b00003f000038, &upb_psb1_1bt}, + {0x000c00003f000040, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[4] = { + &envoy__admin__v3__Clusters_msg_init, + &envoy__admin__v3__ClusterStatus_msg_init, + &envoy__admin__v3__HostStatus_msg_init, + &envoy__admin__v3__HostHealthStatus_msg_init, +}; + +const upb_MiniTableFile envoy_admin_v3_clusters_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 4, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h b/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h new file mode 100644 index 00000000000..98704a715dd --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h @@ -0,0 +1,33 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/clusters.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ADMIN_V3_CLUSTERS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_ADMIN_V3_CLUSTERS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__admin__v3__Clusters_msg_init; +extern const upb_MiniTable envoy__admin__v3__ClusterStatus_msg_init; +extern const upb_MiniTable envoy__admin__v3__HostStatus_msg_init; +extern const upb_MiniTable envoy__admin__v3__HostHealthStatus_msg_init; + +extern const upb_MiniTableFile envoy_admin_v3_clusters_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ADMIN_V3_CLUSTERS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h b/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h rename to src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h index 3f11d917b17..2be1a96fd94 100644 --- a/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +++ b/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/config_dump.proto * @@ -10,7 +9,17 @@ #define ENVOY_ADMIN_V3_CONFIG_DUMP_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/admin/v3/config_dump.upb_minitable.h" + +#include "envoy/admin/v3/config_dump_shared.upb_minitable.h" +#include "envoy/config/bootstrap/v3/bootstrap.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -22,31 +31,22 @@ typedef struct envoy_admin_v3_BootstrapConfigDump envoy_admin_v3_BootstrapConfig typedef struct envoy_admin_v3_SecretsConfigDump envoy_admin_v3_SecretsConfigDump; typedef struct envoy_admin_v3_SecretsConfigDump_DynamicSecret envoy_admin_v3_SecretsConfigDump_DynamicSecret; typedef struct envoy_admin_v3_SecretsConfigDump_StaticSecret envoy_admin_v3_SecretsConfigDump_StaticSecret; -extern const upb_MiniTable envoy_admin_v3_ConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_BootstrapConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_SecretsConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_SecretsConfigDump_DynamicSecret_msg_init; -extern const upb_MiniTable envoy_admin_v3_SecretsConfigDump_StaticSecret_msg_init; struct envoy_admin_v3_UpdateFailureState; struct envoy_config_bootstrap_v3_Bootstrap; struct google_protobuf_Any; struct google_protobuf_Timestamp; -extern const upb_MiniTable envoy_admin_v3_UpdateFailureState_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_Bootstrap_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_Timestamp_msg_init; /* envoy.admin.v3.ConfigDump */ UPB_INLINE envoy_admin_v3_ConfigDump* envoy_admin_v3_ConfigDump_new(upb_Arena* arena) { - return (envoy_admin_v3_ConfigDump*)_upb_Message_New(&envoy_admin_v3_ConfigDump_msg_init, arena); + return (envoy_admin_v3_ConfigDump*)_upb_Message_New(&envoy__admin__v3__ConfigDump_msg_init, arena); } UPB_INLINE envoy_admin_v3_ConfigDump* envoy_admin_v3_ConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ConfigDump* ret = envoy_admin_v3_ConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -56,7 +56,7 @@ UPB_INLINE envoy_admin_v3_ConfigDump* envoy_admin_v3_ConfigDump_parse_ex(const c int options, upb_Arena* arena) { envoy_admin_v3_ConfigDump* ret = envoy_admin_v3_ConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ConfigDump_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ConfigDump_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -64,13 +64,13 @@ UPB_INLINE envoy_admin_v3_ConfigDump* envoy_admin_v3_ConfigDump_parse_ex(const c } UPB_INLINE char* envoy_admin_v3_ConfigDump_serialize(const envoy_admin_v3_ConfigDump* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ConfigDump_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ConfigDump_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ConfigDump_serialize_ex(const envoy_admin_v3_ConfigDump* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ConfigDump_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ConfigDump_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ConfigDump_clear_configs(envoy_admin_v3_ConfigDump* msg) { @@ -132,7 +132,7 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ConfigDump_add_configs(env if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -141,12 +141,12 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ConfigDump_add_configs(env /* envoy.admin.v3.BootstrapConfigDump */ UPB_INLINE envoy_admin_v3_BootstrapConfigDump* envoy_admin_v3_BootstrapConfigDump_new(upb_Arena* arena) { - return (envoy_admin_v3_BootstrapConfigDump*)_upb_Message_New(&envoy_admin_v3_BootstrapConfigDump_msg_init, arena); + return (envoy_admin_v3_BootstrapConfigDump*)_upb_Message_New(&envoy__admin__v3__BootstrapConfigDump_msg_init, arena); } UPB_INLINE envoy_admin_v3_BootstrapConfigDump* envoy_admin_v3_BootstrapConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_BootstrapConfigDump* ret = envoy_admin_v3_BootstrapConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_BootstrapConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__BootstrapConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -156,7 +156,7 @@ UPB_INLINE envoy_admin_v3_BootstrapConfigDump* envoy_admin_v3_BootstrapConfigDum int options, upb_Arena* arena) { envoy_admin_v3_BootstrapConfigDump* ret = envoy_admin_v3_BootstrapConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_BootstrapConfigDump_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__BootstrapConfigDump_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -164,13 +164,13 @@ UPB_INLINE envoy_admin_v3_BootstrapConfigDump* envoy_admin_v3_BootstrapConfigDum } UPB_INLINE char* envoy_admin_v3_BootstrapConfigDump_serialize(const envoy_admin_v3_BootstrapConfigDump* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_BootstrapConfigDump_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__BootstrapConfigDump_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_BootstrapConfigDump_serialize_ex(const envoy_admin_v3_BootstrapConfigDump* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_BootstrapConfigDump_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__BootstrapConfigDump_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_BootstrapConfigDump_clear_bootstrap(envoy_admin_v3_BootstrapConfigDump* msg) { @@ -211,7 +211,7 @@ UPB_INLINE void envoy_admin_v3_BootstrapConfigDump_set_bootstrap(envoy_admin_v3_ UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap* envoy_admin_v3_BootstrapConfigDump_mutable_bootstrap(envoy_admin_v3_BootstrapConfigDump* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_Bootstrap* sub = (struct envoy_config_bootstrap_v3_Bootstrap*)envoy_admin_v3_BootstrapConfigDump_bootstrap(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_Bootstrap*)_upb_Message_New(&envoy_config_bootstrap_v3_Bootstrap_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_Bootstrap*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap_msg_init, arena); if (sub) envoy_admin_v3_BootstrapConfigDump_set_bootstrap(msg, sub); } return sub; @@ -223,7 +223,7 @@ UPB_INLINE void envoy_admin_v3_BootstrapConfigDump_set_last_updated(envoy_admin_ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_BootstrapConfigDump_mutable_last_updated(envoy_admin_v3_BootstrapConfigDump* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_BootstrapConfigDump_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_BootstrapConfigDump_set_last_updated(msg, sub); } return sub; @@ -232,12 +232,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_BootstrapConfigDump_ /* envoy.admin.v3.SecretsConfigDump */ UPB_INLINE envoy_admin_v3_SecretsConfigDump* envoy_admin_v3_SecretsConfigDump_new(upb_Arena* arena) { - return (envoy_admin_v3_SecretsConfigDump*)_upb_Message_New(&envoy_admin_v3_SecretsConfigDump_msg_init, arena); + return (envoy_admin_v3_SecretsConfigDump*)_upb_Message_New(&envoy__admin__v3__SecretsConfigDump_msg_init, arena); } UPB_INLINE envoy_admin_v3_SecretsConfigDump* envoy_admin_v3_SecretsConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_SecretsConfigDump* ret = envoy_admin_v3_SecretsConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_SecretsConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__SecretsConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -247,7 +247,7 @@ UPB_INLINE envoy_admin_v3_SecretsConfigDump* envoy_admin_v3_SecretsConfigDump_pa int options, upb_Arena* arena) { envoy_admin_v3_SecretsConfigDump* ret = envoy_admin_v3_SecretsConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_SecretsConfigDump_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__SecretsConfigDump_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -255,13 +255,13 @@ UPB_INLINE envoy_admin_v3_SecretsConfigDump* envoy_admin_v3_SecretsConfigDump_pa } UPB_INLINE char* envoy_admin_v3_SecretsConfigDump_serialize(const envoy_admin_v3_SecretsConfigDump* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_SecretsConfigDump_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__SecretsConfigDump_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_SecretsConfigDump_serialize_ex(const envoy_admin_v3_SecretsConfigDump* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_SecretsConfigDump_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__SecretsConfigDump_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_SecretsConfigDump_clear_static_secrets(envoy_admin_v3_SecretsConfigDump* msg) { @@ -397,7 +397,7 @@ UPB_INLINE struct envoy_admin_v3_SecretsConfigDump_StaticSecret* envoy_admin_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_SecretsConfigDump_StaticSecret* sub = (struct envoy_admin_v3_SecretsConfigDump_StaticSecret*)_upb_Message_New(&envoy_admin_v3_SecretsConfigDump_StaticSecret_msg_init, arena); + struct envoy_admin_v3_SecretsConfigDump_StaticSecret* sub = (struct envoy_admin_v3_SecretsConfigDump_StaticSecret*)_upb_Message_New(&envoy__admin__v3__SecretsConfigDump__StaticSecret_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -423,7 +423,7 @@ UPB_INLINE struct envoy_admin_v3_SecretsConfigDump_DynamicSecret* envoy_admin_v3 if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_SecretsConfigDump_DynamicSecret* sub = (struct envoy_admin_v3_SecretsConfigDump_DynamicSecret*)_upb_Message_New(&envoy_admin_v3_SecretsConfigDump_DynamicSecret_msg_init, arena); + struct envoy_admin_v3_SecretsConfigDump_DynamicSecret* sub = (struct envoy_admin_v3_SecretsConfigDump_DynamicSecret*)_upb_Message_New(&envoy__admin__v3__SecretsConfigDump__DynamicSecret_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -449,7 +449,7 @@ UPB_INLINE struct envoy_admin_v3_SecretsConfigDump_DynamicSecret* envoy_admin_v3 if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_SecretsConfigDump_DynamicSecret* sub = (struct envoy_admin_v3_SecretsConfigDump_DynamicSecret*)_upb_Message_New(&envoy_admin_v3_SecretsConfigDump_DynamicSecret_msg_init, arena); + struct envoy_admin_v3_SecretsConfigDump_DynamicSecret* sub = (struct envoy_admin_v3_SecretsConfigDump_DynamicSecret*)_upb_Message_New(&envoy__admin__v3__SecretsConfigDump__DynamicSecret_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -458,12 +458,12 @@ UPB_INLINE struct envoy_admin_v3_SecretsConfigDump_DynamicSecret* envoy_admin_v3 /* envoy.admin.v3.SecretsConfigDump.DynamicSecret */ UPB_INLINE envoy_admin_v3_SecretsConfigDump_DynamicSecret* envoy_admin_v3_SecretsConfigDump_DynamicSecret_new(upb_Arena* arena) { - return (envoy_admin_v3_SecretsConfigDump_DynamicSecret*)_upb_Message_New(&envoy_admin_v3_SecretsConfigDump_DynamicSecret_msg_init, arena); + return (envoy_admin_v3_SecretsConfigDump_DynamicSecret*)_upb_Message_New(&envoy__admin__v3__SecretsConfigDump__DynamicSecret_msg_init, arena); } UPB_INLINE envoy_admin_v3_SecretsConfigDump_DynamicSecret* envoy_admin_v3_SecretsConfigDump_DynamicSecret_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_SecretsConfigDump_DynamicSecret* ret = envoy_admin_v3_SecretsConfigDump_DynamicSecret_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_SecretsConfigDump_DynamicSecret_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__SecretsConfigDump__DynamicSecret_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -473,7 +473,7 @@ UPB_INLINE envoy_admin_v3_SecretsConfigDump_DynamicSecret* envoy_admin_v3_Secret int options, upb_Arena* arena) { envoy_admin_v3_SecretsConfigDump_DynamicSecret* ret = envoy_admin_v3_SecretsConfigDump_DynamicSecret_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_SecretsConfigDump_DynamicSecret_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__SecretsConfigDump__DynamicSecret_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -481,13 +481,13 @@ UPB_INLINE envoy_admin_v3_SecretsConfigDump_DynamicSecret* envoy_admin_v3_Secret } UPB_INLINE char* envoy_admin_v3_SecretsConfigDump_DynamicSecret_serialize(const envoy_admin_v3_SecretsConfigDump_DynamicSecret* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_SecretsConfigDump_DynamicSecret_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__SecretsConfigDump__DynamicSecret_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_SecretsConfigDump_DynamicSecret_serialize_ex(const envoy_admin_v3_SecretsConfigDump_DynamicSecret* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_SecretsConfigDump_DynamicSecret_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__SecretsConfigDump__DynamicSecret_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_SecretsConfigDump_DynamicSecret_clear_name(envoy_admin_v3_SecretsConfigDump_DynamicSecret* msg) { @@ -584,7 +584,7 @@ UPB_INLINE void envoy_admin_v3_SecretsConfigDump_DynamicSecret_set_last_updated( UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_SecretsConfigDump_DynamicSecret_mutable_last_updated(envoy_admin_v3_SecretsConfigDump_DynamicSecret* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_SecretsConfigDump_DynamicSecret_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_SecretsConfigDump_DynamicSecret_set_last_updated(msg, sub); } return sub; @@ -596,7 +596,7 @@ UPB_INLINE void envoy_admin_v3_SecretsConfigDump_DynamicSecret_set_secret(envoy_ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_SecretsConfigDump_DynamicSecret_mutable_secret(envoy_admin_v3_SecretsConfigDump_DynamicSecret* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_SecretsConfigDump_DynamicSecret_secret(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_admin_v3_SecretsConfigDump_DynamicSecret_set_secret(msg, sub); } return sub; @@ -608,7 +608,7 @@ UPB_INLINE void envoy_admin_v3_SecretsConfigDump_DynamicSecret_set_error_state(e UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_SecretsConfigDump_DynamicSecret_mutable_error_state(envoy_admin_v3_SecretsConfigDump_DynamicSecret* msg, upb_Arena* arena) { struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_SecretsConfigDump_DynamicSecret_error_state(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena); + sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy__admin__v3__UpdateFailureState_msg_init, arena); if (sub) envoy_admin_v3_SecretsConfigDump_DynamicSecret_set_error_state(msg, sub); } return sub; @@ -621,12 +621,12 @@ UPB_INLINE void envoy_admin_v3_SecretsConfigDump_DynamicSecret_set_client_status /* envoy.admin.v3.SecretsConfigDump.StaticSecret */ UPB_INLINE envoy_admin_v3_SecretsConfigDump_StaticSecret* envoy_admin_v3_SecretsConfigDump_StaticSecret_new(upb_Arena* arena) { - return (envoy_admin_v3_SecretsConfigDump_StaticSecret*)_upb_Message_New(&envoy_admin_v3_SecretsConfigDump_StaticSecret_msg_init, arena); + return (envoy_admin_v3_SecretsConfigDump_StaticSecret*)_upb_Message_New(&envoy__admin__v3__SecretsConfigDump__StaticSecret_msg_init, arena); } UPB_INLINE envoy_admin_v3_SecretsConfigDump_StaticSecret* envoy_admin_v3_SecretsConfigDump_StaticSecret_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_SecretsConfigDump_StaticSecret* ret = envoy_admin_v3_SecretsConfigDump_StaticSecret_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_SecretsConfigDump_StaticSecret_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__SecretsConfigDump__StaticSecret_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -636,7 +636,7 @@ UPB_INLINE envoy_admin_v3_SecretsConfigDump_StaticSecret* envoy_admin_v3_Secrets int options, upb_Arena* arena) { envoy_admin_v3_SecretsConfigDump_StaticSecret* ret = envoy_admin_v3_SecretsConfigDump_StaticSecret_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_SecretsConfigDump_StaticSecret_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__SecretsConfigDump__StaticSecret_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -644,13 +644,13 @@ UPB_INLINE envoy_admin_v3_SecretsConfigDump_StaticSecret* envoy_admin_v3_Secrets } UPB_INLINE char* envoy_admin_v3_SecretsConfigDump_StaticSecret_serialize(const envoy_admin_v3_SecretsConfigDump_StaticSecret* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_SecretsConfigDump_StaticSecret_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__SecretsConfigDump__StaticSecret_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_SecretsConfigDump_StaticSecret_serialize_ex(const envoy_admin_v3_SecretsConfigDump_StaticSecret* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_SecretsConfigDump_StaticSecret_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__SecretsConfigDump__StaticSecret_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_SecretsConfigDump_StaticSecret_clear_name(envoy_admin_v3_SecretsConfigDump_StaticSecret* msg) { @@ -706,7 +706,7 @@ UPB_INLINE void envoy_admin_v3_SecretsConfigDump_StaticSecret_set_last_updated(e UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_SecretsConfigDump_StaticSecret_mutable_last_updated(envoy_admin_v3_SecretsConfigDump_StaticSecret* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_SecretsConfigDump_StaticSecret_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_SecretsConfigDump_StaticSecret_set_last_updated(msg, sub); } return sub; @@ -718,14 +718,12 @@ UPB_INLINE void envoy_admin_v3_SecretsConfigDump_StaticSecret_set_secret(envoy_a UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_SecretsConfigDump_StaticSecret_mutable_secret(envoy_admin_v3_SecretsConfigDump_StaticSecret* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_SecretsConfigDump_StaticSecret_secret(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_admin_v3_SecretsConfigDump_StaticSecret_set_secret(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_admin_v3_config_dump_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c b/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c new file mode 100644 index 00000000000..8869c1acec2 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c @@ -0,0 +1,157 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/config_dump.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/admin/v3/config_dump.upb_minitable.h" +#include "envoy/admin/v3/config_dump_shared.upb_minitable.h" +#include "envoy/config/bootstrap/v3/bootstrap.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_admin_v3_ConfigDump_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ConfigDump__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ConfigDump_msg_init = { + &envoy_admin_v3_ConfigDump_submsgs[0], + &envoy_admin_v3_ConfigDump__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_BootstrapConfigDump_submsgs[2] = { + {.submsg = &envoy__config__bootstrap__v3__Bootstrap_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_BootstrapConfigDump__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__BootstrapConfigDump_msg_init = { + &envoy_admin_v3_BootstrapConfigDump_submsgs[0], + &envoy_admin_v3_BootstrapConfigDump__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_SecretsConfigDump_submsgs[3] = { + {.submsg = &envoy__admin__v3__SecretsConfigDump__StaticSecret_msg_init}, + {.submsg = &envoy__admin__v3__SecretsConfigDump__DynamicSecret_msg_init}, + {.submsg = &envoy__admin__v3__SecretsConfigDump__DynamicSecret_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_SecretsConfigDump__fields[3] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 16), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__SecretsConfigDump_msg_init = { + &envoy_admin_v3_SecretsConfigDump_submsgs[0], + &envoy_admin_v3_SecretsConfigDump__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + {0x000800003f010012, &upb_prm_1bt_max128b}, + {0x001000003f02001a, &upb_prm_1bt_max128b}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_SecretsConfigDump_DynamicSecret_submsgs[3] = { + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &envoy__admin__v3__UpdateFailureState_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_SecretsConfigDump_DynamicSecret__fields[6] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 48), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 56), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__SecretsConfigDump__DynamicSecret_msg_init = { + &envoy_admin_v3_SecretsConfigDump_DynamicSecret_submsgs[0], + &envoy_admin_v3_SecretsConfigDump_DynamicSecret__fields[0], + UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x002800000100001a, &upb_psm_1bt_maxmaxb}, + {0x0030000002010022, &upb_psm_1bt_maxmaxb}, + {0x003800000302002a, &upb_psm_1bt_maxmaxb}, + {0x000400003f000030, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_SecretsConfigDump_StaticSecret_submsgs[2] = { + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_SecretsConfigDump_StaticSecret__fields[3] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__SecretsConfigDump__StaticSecret_msg_init = { + &envoy_admin_v3_SecretsConfigDump_StaticSecret_submsgs[0], + &envoy_admin_v3_SecretsConfigDump_StaticSecret__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[5] = { + &envoy__admin__v3__ConfigDump_msg_init, + &envoy__admin__v3__BootstrapConfigDump_msg_init, + &envoy__admin__v3__SecretsConfigDump_msg_init, + &envoy__admin__v3__SecretsConfigDump__DynamicSecret_msg_init, + &envoy__admin__v3__SecretsConfigDump__StaticSecret_msg_init, +}; + +const upb_MiniTableFile envoy_admin_v3_config_dump_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 5, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h b/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h new file mode 100644 index 00000000000..6aaafb8bf1d --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h @@ -0,0 +1,34 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/config_dump.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ADMIN_V3_CONFIG_DUMP_PROTO_UPB_MINITABLE_H_ +#define ENVOY_ADMIN_V3_CONFIG_DUMP_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__admin__v3__ConfigDump_msg_init; +extern const upb_MiniTable envoy__admin__v3__BootstrapConfigDump_msg_init; +extern const upb_MiniTable envoy__admin__v3__SecretsConfigDump_msg_init; +extern const upb_MiniTable envoy__admin__v3__SecretsConfigDump__DynamicSecret_msg_init; +extern const upb_MiniTable envoy__admin__v3__SecretsConfigDump__StaticSecret_msg_init; + +extern const upb_MiniTableFile envoy_admin_v3_config_dump_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ADMIN_V3_CONFIG_DUMP_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h b/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h similarity index 92% rename from src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h rename to src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h index 24cb59ffccd..7c8b123cf3d 100644 --- a/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +++ b/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/config_dump_shared.proto * @@ -10,7 +9,15 @@ #define ENVOY_ADMIN_V3_CONFIG_DUMP_SHARED_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/admin/v3/config_dump_shared.upb_minitable.h" + +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -36,29 +43,8 @@ typedef struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig envoy_adm typedef struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig; typedef struct envoy_admin_v3_EcdsConfigDump envoy_admin_v3_EcdsConfigDump; typedef struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig; -extern const upb_MiniTable envoy_admin_v3_UpdateFailureState_msg_init; -extern const upb_MiniTable envoy_admin_v3_ListenersConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init; -extern const upb_MiniTable envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init; -extern const upb_MiniTable envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init; -extern const upb_MiniTable envoy_admin_v3_ClustersConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init; -extern const upb_MiniTable envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init; -extern const upb_MiniTable envoy_admin_v3_RoutesConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init; -extern const upb_MiniTable envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init; -extern const upb_MiniTable envoy_admin_v3_ScopedRoutesConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init; -extern const upb_MiniTable envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init; -extern const upb_MiniTable envoy_admin_v3_EndpointsConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init; -extern const upb_MiniTable envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init; -extern const upb_MiniTable envoy_admin_v3_EcdsConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init; struct google_protobuf_Any; struct google_protobuf_Timestamp; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_Timestamp_msg_init; typedef enum { envoy_admin_v3_UNKNOWN = 0, @@ -73,12 +59,12 @@ typedef enum { /* envoy.admin.v3.UpdateFailureState */ UPB_INLINE envoy_admin_v3_UpdateFailureState* envoy_admin_v3_UpdateFailureState_new(upb_Arena* arena) { - return (envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena); + return (envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy__admin__v3__UpdateFailureState_msg_init, arena); } UPB_INLINE envoy_admin_v3_UpdateFailureState* envoy_admin_v3_UpdateFailureState_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_UpdateFailureState* ret = envoy_admin_v3_UpdateFailureState_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_UpdateFailureState_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__UpdateFailureState_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -88,7 +74,7 @@ UPB_INLINE envoy_admin_v3_UpdateFailureState* envoy_admin_v3_UpdateFailureState_ int options, upb_Arena* arena) { envoy_admin_v3_UpdateFailureState* ret = envoy_admin_v3_UpdateFailureState_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_UpdateFailureState_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__UpdateFailureState_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -96,13 +82,13 @@ UPB_INLINE envoy_admin_v3_UpdateFailureState* envoy_admin_v3_UpdateFailureState_ } UPB_INLINE char* envoy_admin_v3_UpdateFailureState_serialize(const envoy_admin_v3_UpdateFailureState* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_UpdateFailureState_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__UpdateFailureState_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_UpdateFailureState_serialize_ex(const envoy_admin_v3_UpdateFailureState* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_UpdateFailureState_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__UpdateFailureState_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_UpdateFailureState_clear_failed_configuration(envoy_admin_v3_UpdateFailureState* msg) { @@ -165,7 +151,7 @@ UPB_INLINE void envoy_admin_v3_UpdateFailureState_set_failed_configuration(envoy UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_UpdateFailureState_mutable_failed_configuration(envoy_admin_v3_UpdateFailureState* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_UpdateFailureState_failed_configuration(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_admin_v3_UpdateFailureState_set_failed_configuration(msg, sub); } return sub; @@ -177,7 +163,7 @@ UPB_INLINE void envoy_admin_v3_UpdateFailureState_set_last_update_attempt(envoy_ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_UpdateFailureState_mutable_last_update_attempt(envoy_admin_v3_UpdateFailureState* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_UpdateFailureState_last_update_attempt(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_UpdateFailureState_set_last_update_attempt(msg, sub); } return sub; @@ -194,12 +180,12 @@ UPB_INLINE void envoy_admin_v3_UpdateFailureState_set_version_info(envoy_admin_v /* envoy.admin.v3.ListenersConfigDump */ UPB_INLINE envoy_admin_v3_ListenersConfigDump* envoy_admin_v3_ListenersConfigDump_new(upb_Arena* arena) { - return (envoy_admin_v3_ListenersConfigDump*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_msg_init, arena); + return (envoy_admin_v3_ListenersConfigDump*)_upb_Message_New(&envoy__admin__v3__ListenersConfigDump_msg_init, arena); } UPB_INLINE envoy_admin_v3_ListenersConfigDump* envoy_admin_v3_ListenersConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ListenersConfigDump* ret = envoy_admin_v3_ListenersConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -209,7 +195,7 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump* envoy_admin_v3_ListenersConfigDum int options, upb_Arena* arena) { envoy_admin_v3_ListenersConfigDump* ret = envoy_admin_v3_ListenersConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -217,13 +203,13 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump* envoy_admin_v3_ListenersConfigDum } UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_serialize(const envoy_admin_v3_ListenersConfigDump* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_serialize_ex(const envoy_admin_v3_ListenersConfigDump* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ListenersConfigDump_clear_version_info(envoy_admin_v3_ListenersConfigDump* msg) { @@ -337,7 +323,7 @@ UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_ListenersConfigDump_StaticListener* sub = (struct envoy_admin_v3_ListenersConfigDump_StaticListener*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init, arena); + struct envoy_admin_v3_ListenersConfigDump_StaticListener* sub = (struct envoy_admin_v3_ListenersConfigDump_StaticListener*)_upb_Message_New(&envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -363,7 +349,7 @@ UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admi if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_ListenersConfigDump_DynamicListener* sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListener*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init, arena); + struct envoy_admin_v3_ListenersConfigDump_DynamicListener* sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListener*)_upb_Message_New(&envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -372,12 +358,12 @@ UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admi /* envoy.admin.v3.ListenersConfigDump.StaticListener */ UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin_v3_ListenersConfigDump_StaticListener_new(upb_Arena* arena) { - return (envoy_admin_v3_ListenersConfigDump_StaticListener*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init, arena); + return (envoy_admin_v3_ListenersConfigDump_StaticListener*)_upb_Message_New(&envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, arena); } UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin_v3_ListenersConfigDump_StaticListener_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ListenersConfigDump_StaticListener* ret = envoy_admin_v3_ListenersConfigDump_StaticListener_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -387,7 +373,7 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin_v3_Lis int options, upb_Arena* arena) { envoy_admin_v3_ListenersConfigDump_StaticListener* ret = envoy_admin_v3_ListenersConfigDump_StaticListener_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -395,13 +381,13 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_StaticListener* envoy_admin_v3_Lis } UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_StaticListener_serialize(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_StaticListener_serialize_ex(const envoy_admin_v3_ListenersConfigDump_StaticListener* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ListenersConfigDump_StaticListener_clear_listener(envoy_admin_v3_ListenersConfigDump_StaticListener* msg) { @@ -442,7 +428,7 @@ UPB_INLINE void envoy_admin_v3_ListenersConfigDump_StaticListener_set_listener(e UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ListenersConfigDump_StaticListener_mutable_listener(envoy_admin_v3_ListenersConfigDump_StaticListener* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_ListenersConfigDump_StaticListener_listener(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_admin_v3_ListenersConfigDump_StaticListener_set_listener(msg, sub); } return sub; @@ -454,7 +440,7 @@ UPB_INLINE void envoy_admin_v3_ListenersConfigDump_StaticListener_set_last_updat UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_StaticListener_mutable_last_updated(envoy_admin_v3_ListenersConfigDump_StaticListener* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ListenersConfigDump_StaticListener_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_ListenersConfigDump_StaticListener_set_last_updated(msg, sub); } return sub; @@ -463,12 +449,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_ /* envoy.admin.v3.ListenersConfigDump.DynamicListenerState */ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_new(upb_Arena* arena) { - return (envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, arena); + return (envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, arena); } UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ListenersConfigDump_DynamicListenerState* ret = envoy_admin_v3_ListenersConfigDump_DynamicListenerState_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -478,7 +464,7 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_ int options, upb_Arena* arena) { envoy_admin_v3_ListenersConfigDump_DynamicListenerState* ret = envoy_admin_v3_ListenersConfigDump_DynamicListenerState_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -486,13 +472,13 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_ } UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_serialize(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_serialize_ex(const envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_clear_version_info(envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg) { @@ -548,7 +534,7 @@ UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_list UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_mutable_listener(envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_ListenersConfigDump_DynamicListenerState_listener(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_listener(msg, sub); } return sub; @@ -560,7 +546,7 @@ UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_last UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_DynamicListenerState_mutable_last_updated(envoy_admin_v3_ListenersConfigDump_DynamicListenerState* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ListenersConfigDump_DynamicListenerState_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_ListenersConfigDump_DynamicListenerState_set_last_updated(msg, sub); } return sub; @@ -569,12 +555,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ListenersConfigDump_ /* envoy.admin.v3.ListenersConfigDump.DynamicListener */ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admin_v3_ListenersConfigDump_DynamicListener_new(upb_Arena* arena) { - return (envoy_admin_v3_ListenersConfigDump_DynamicListener*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init, arena); + return (envoy_admin_v3_ListenersConfigDump_DynamicListener*)_upb_Message_New(&envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, arena); } UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admin_v3_ListenersConfigDump_DynamicListener_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ListenersConfigDump_DynamicListener* ret = envoy_admin_v3_ListenersConfigDump_DynamicListener_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -584,7 +570,7 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admin_v3_Li int options, upb_Arena* arena) { envoy_admin_v3_ListenersConfigDump_DynamicListener* ret = envoy_admin_v3_ListenersConfigDump_DynamicListener_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -592,13 +578,13 @@ UPB_INLINE envoy_admin_v3_ListenersConfigDump_DynamicListener* envoy_admin_v3_Li } UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_DynamicListener_serialize(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ListenersConfigDump_DynamicListener_serialize_ex(const envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_clear_name(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg) { @@ -695,7 +681,7 @@ UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_active_st UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListener_mutable_active_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, upb_Arena* arena) { struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)envoy_admin_v3_ListenersConfigDump_DynamicListener_active_state(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, arena); + sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, arena); if (sub) envoy_admin_v3_ListenersConfigDump_DynamicListener_set_active_state(msg, sub); } return sub; @@ -707,7 +693,7 @@ UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_warming_s UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListener_mutable_warming_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, upb_Arena* arena) { struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)envoy_admin_v3_ListenersConfigDump_DynamicListener_warming_state(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, arena); + sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, arena); if (sub) envoy_admin_v3_ListenersConfigDump_DynamicListener_set_warming_state(msg, sub); } return sub; @@ -719,7 +705,7 @@ UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_draining_ UPB_INLINE struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* envoy_admin_v3_ListenersConfigDump_DynamicListener_mutable_draining_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, upb_Arena* arena) { struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState* sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)envoy_admin_v3_ListenersConfigDump_DynamicListener_draining_state(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, arena); + sub = (struct envoy_admin_v3_ListenersConfigDump_DynamicListenerState*)_upb_Message_New(&envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, arena); if (sub) envoy_admin_v3_ListenersConfigDump_DynamicListener_set_draining_state(msg, sub); } return sub; @@ -731,7 +717,7 @@ UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_error_sta UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ListenersConfigDump_DynamicListener_mutable_error_state(envoy_admin_v3_ListenersConfigDump_DynamicListener* msg, upb_Arena* arena) { struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_ListenersConfigDump_DynamicListener_error_state(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena); + sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy__admin__v3__UpdateFailureState_msg_init, arena); if (sub) envoy_admin_v3_ListenersConfigDump_DynamicListener_set_error_state(msg, sub); } return sub; @@ -744,12 +730,12 @@ UPB_INLINE void envoy_admin_v3_ListenersConfigDump_DynamicListener_set_client_st /* envoy.admin.v3.ClustersConfigDump */ UPB_INLINE envoy_admin_v3_ClustersConfigDump* envoy_admin_v3_ClustersConfigDump_new(upb_Arena* arena) { - return (envoy_admin_v3_ClustersConfigDump*)_upb_Message_New(&envoy_admin_v3_ClustersConfigDump_msg_init, arena); + return (envoy_admin_v3_ClustersConfigDump*)_upb_Message_New(&envoy__admin__v3__ClustersConfigDump_msg_init, arena); } UPB_INLINE envoy_admin_v3_ClustersConfigDump* envoy_admin_v3_ClustersConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ClustersConfigDump* ret = envoy_admin_v3_ClustersConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClustersConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClustersConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -759,7 +745,7 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump* envoy_admin_v3_ClustersConfigDump_ int options, upb_Arena* arena) { envoy_admin_v3_ClustersConfigDump* ret = envoy_admin_v3_ClustersConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClustersConfigDump_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClustersConfigDump_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -767,13 +753,13 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump* envoy_admin_v3_ClustersConfigDump_ } UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_serialize(const envoy_admin_v3_ClustersConfigDump* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ClustersConfigDump_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ClustersConfigDump_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_serialize_ex(const envoy_admin_v3_ClustersConfigDump* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ClustersConfigDump_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ClustersConfigDump_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ClustersConfigDump_clear_version_info(envoy_admin_v3_ClustersConfigDump* msg) { @@ -924,7 +910,7 @@ UPB_INLINE struct envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_ClustersConfigDump_StaticCluster* sub = (struct envoy_admin_v3_ClustersConfigDump_StaticCluster*)_upb_Message_New(&envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init, arena); + struct envoy_admin_v3_ClustersConfigDump_StaticCluster* sub = (struct envoy_admin_v3_ClustersConfigDump_StaticCluster*)_upb_Message_New(&envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -950,7 +936,7 @@ UPB_INLINE struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* sub = (struct envoy_admin_v3_ClustersConfigDump_DynamicCluster*)_upb_Message_New(&envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, arena); + struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* sub = (struct envoy_admin_v3_ClustersConfigDump_DynamicCluster*)_upb_Message_New(&envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -976,7 +962,7 @@ UPB_INLINE struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* sub = (struct envoy_admin_v3_ClustersConfigDump_DynamicCluster*)_upb_Message_New(&envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, arena); + struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* sub = (struct envoy_admin_v3_ClustersConfigDump_DynamicCluster*)_upb_Message_New(&envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -985,12 +971,12 @@ UPB_INLINE struct envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_ /* envoy.admin.v3.ClustersConfigDump.StaticCluster */ UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v3_ClustersConfigDump_StaticCluster_new(upb_Arena* arena) { - return (envoy_admin_v3_ClustersConfigDump_StaticCluster*)_upb_Message_New(&envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init, arena); + return (envoy_admin_v3_ClustersConfigDump_StaticCluster*)_upb_Message_New(&envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, arena); } UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v3_ClustersConfigDump_StaticCluster_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ClustersConfigDump_StaticCluster* ret = envoy_admin_v3_ClustersConfigDump_StaticCluster_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1000,7 +986,7 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v3_Clust int options, upb_Arena* arena) { envoy_admin_v3_ClustersConfigDump_StaticCluster* ret = envoy_admin_v3_ClustersConfigDump_StaticCluster_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1008,13 +994,13 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump_StaticCluster* envoy_admin_v3_Clust } UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_StaticCluster_serialize(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_StaticCluster_serialize_ex(const envoy_admin_v3_ClustersConfigDump_StaticCluster* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ClustersConfigDump_StaticCluster_clear_cluster(envoy_admin_v3_ClustersConfigDump_StaticCluster* msg) { @@ -1055,7 +1041,7 @@ UPB_INLINE void envoy_admin_v3_ClustersConfigDump_StaticCluster_set_cluster(envo UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ClustersConfigDump_StaticCluster_mutable_cluster(envoy_admin_v3_ClustersConfigDump_StaticCluster* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_ClustersConfigDump_StaticCluster_cluster(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_admin_v3_ClustersConfigDump_StaticCluster_set_cluster(msg, sub); } return sub; @@ -1067,7 +1053,7 @@ UPB_INLINE void envoy_admin_v3_ClustersConfigDump_StaticCluster_set_last_updated UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ClustersConfigDump_StaticCluster_mutable_last_updated(envoy_admin_v3_ClustersConfigDump_StaticCluster* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ClustersConfigDump_StaticCluster_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_ClustersConfigDump_StaticCluster_set_last_updated(msg, sub); } return sub; @@ -1076,12 +1062,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ClustersConfigDump_S /* envoy.admin.v3.ClustersConfigDump.DynamicCluster */ UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_ClustersConfigDump_DynamicCluster_new(upb_Arena* arena) { - return (envoy_admin_v3_ClustersConfigDump_DynamicCluster*)_upb_Message_New(&envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, arena); + return (envoy_admin_v3_ClustersConfigDump_DynamicCluster*)_upb_Message_New(&envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, arena); } UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_ClustersConfigDump_DynamicCluster_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ClustersConfigDump_DynamicCluster* ret = envoy_admin_v3_ClustersConfigDump_DynamicCluster_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1091,7 +1077,7 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_Clus int options, upb_Arena* arena) { envoy_admin_v3_ClustersConfigDump_DynamicCluster* ret = envoy_admin_v3_ClustersConfigDump_DynamicCluster_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1099,13 +1085,13 @@ UPB_INLINE envoy_admin_v3_ClustersConfigDump_DynamicCluster* envoy_admin_v3_Clus } UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_DynamicCluster_serialize(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ClustersConfigDump_DynamicCluster_serialize_ex(const envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_clear_version_info(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg) { @@ -1187,7 +1173,7 @@ UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_cluster(env UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ClustersConfigDump_DynamicCluster_mutable_cluster(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_ClustersConfigDump_DynamicCluster_cluster(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_cluster(msg, sub); } return sub; @@ -1199,7 +1185,7 @@ UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_last_update UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ClustersConfigDump_DynamicCluster_mutable_last_updated(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ClustersConfigDump_DynamicCluster_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_last_updated(msg, sub); } return sub; @@ -1211,7 +1197,7 @@ UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_error_state UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ClustersConfigDump_DynamicCluster_mutable_error_state(envoy_admin_v3_ClustersConfigDump_DynamicCluster* msg, upb_Arena* arena) { struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_ClustersConfigDump_DynamicCluster_error_state(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena); + sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy__admin__v3__UpdateFailureState_msg_init, arena); if (sub) envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_error_state(msg, sub); } return sub; @@ -1224,12 +1210,12 @@ UPB_INLINE void envoy_admin_v3_ClustersConfigDump_DynamicCluster_set_client_stat /* envoy.admin.v3.RoutesConfigDump */ UPB_INLINE envoy_admin_v3_RoutesConfigDump* envoy_admin_v3_RoutesConfigDump_new(upb_Arena* arena) { - return (envoy_admin_v3_RoutesConfigDump*)_upb_Message_New(&envoy_admin_v3_RoutesConfigDump_msg_init, arena); + return (envoy_admin_v3_RoutesConfigDump*)_upb_Message_New(&envoy__admin__v3__RoutesConfigDump_msg_init, arena); } UPB_INLINE envoy_admin_v3_RoutesConfigDump* envoy_admin_v3_RoutesConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_RoutesConfigDump* ret = envoy_admin_v3_RoutesConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_RoutesConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__RoutesConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1239,7 +1225,7 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump* envoy_admin_v3_RoutesConfigDump_pars int options, upb_Arena* arena) { envoy_admin_v3_RoutesConfigDump* ret = envoy_admin_v3_RoutesConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_RoutesConfigDump_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__RoutesConfigDump_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1247,13 +1233,13 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump* envoy_admin_v3_RoutesConfigDump_pars } UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_serialize(const envoy_admin_v3_RoutesConfigDump* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_RoutesConfigDump_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__RoutesConfigDump_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_serialize_ex(const envoy_admin_v3_RoutesConfigDump* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_RoutesConfigDump_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__RoutesConfigDump_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_RoutesConfigDump_clear_static_route_configs(envoy_admin_v3_RoutesConfigDump* msg) { @@ -1352,7 +1338,7 @@ UPB_INLINE struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* sub = (struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig*)_upb_Message_New(&envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init, arena); + struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* sub = (struct envoy_admin_v3_RoutesConfigDump_StaticRouteConfig*)_upb_Message_New(&envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1378,7 +1364,7 @@ UPB_INLINE struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admi if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* sub = (struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig*)_upb_Message_New(&envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init, arena); + struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* sub = (struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig*)_upb_Message_New(&envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1387,12 +1373,12 @@ UPB_INLINE struct envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admi /* envoy.admin.v3.RoutesConfigDump.StaticRouteConfig */ UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_new(upb_Arena* arena) { - return (envoy_admin_v3_RoutesConfigDump_StaticRouteConfig*)_upb_Message_New(&envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init, arena); + return (envoy_admin_v3_RoutesConfigDump_StaticRouteConfig*)_upb_Message_New(&envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, arena); } UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* ret = envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1402,7 +1388,7 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin_v3_Rou int options, upb_Arena* arena) { envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* ret = envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1410,13 +1396,13 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* envoy_admin_v3_Rou } UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_serialize(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_serialize_ex(const envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_clear_route_config(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg) { @@ -1457,7 +1443,7 @@ UPB_INLINE void envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_set_route_conf UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_mutable_route_config(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_route_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_set_route_config(msg, sub); } return sub; @@ -1469,7 +1455,7 @@ UPB_INLINE void envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_set_last_updat UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_mutable_last_updated(envoy_admin_v3_RoutesConfigDump_StaticRouteConfig* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_set_last_updated(msg, sub); } return sub; @@ -1478,12 +1464,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_RoutesConfigDump_Sta /* envoy.admin.v3.RoutesConfigDump.DynamicRouteConfig */ UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_new(upb_Arena* arena) { - return (envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig*)_upb_Message_New(&envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init, arena); + return (envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig*)_upb_Message_New(&envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, arena); } UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* ret = envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1493,7 +1479,7 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admin_v3_Ro int options, upb_Arena* arena) { envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* ret = envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1501,13 +1487,13 @@ UPB_INLINE envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* envoy_admin_v3_Ro } UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_serialize(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_serialize_ex(const envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_clear_version_info(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg) { @@ -1589,7 +1575,7 @@ UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_route_con UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_mutable_route_config(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_route_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_route_config(msg, sub); } return sub; @@ -1601,7 +1587,7 @@ UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_last_upda UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_mutable_last_updated(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_last_updated(msg, sub); } return sub; @@ -1613,7 +1599,7 @@ UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_error_sta UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_mutable_error_state(envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig* msg, upb_Arena* arena) { struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_error_state(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena); + sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy__admin__v3__UpdateFailureState_msg_init, arena); if (sub) envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_error_state(msg, sub); } return sub; @@ -1626,12 +1612,12 @@ UPB_INLINE void envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_set_client_st /* envoy.admin.v3.ScopedRoutesConfigDump */ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump* envoy_admin_v3_ScopedRoutesConfigDump_new(upb_Arena* arena) { - return (envoy_admin_v3_ScopedRoutesConfigDump*)_upb_Message_New(&envoy_admin_v3_ScopedRoutesConfigDump_msg_init, arena); + return (envoy_admin_v3_ScopedRoutesConfigDump*)_upb_Message_New(&envoy__admin__v3__ScopedRoutesConfigDump_msg_init, arena); } UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump* envoy_admin_v3_ScopedRoutesConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ScopedRoutesConfigDump* ret = envoy_admin_v3_ScopedRoutesConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ScopedRoutesConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ScopedRoutesConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1641,7 +1627,7 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump* envoy_admin_v3_ScopedRoutesCon int options, upb_Arena* arena) { envoy_admin_v3_ScopedRoutesConfigDump* ret = envoy_admin_v3_ScopedRoutesConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ScopedRoutesConfigDump_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ScopedRoutesConfigDump_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1649,13 +1635,13 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump* envoy_admin_v3_ScopedRoutesCon } UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_serialize(const envoy_admin_v3_ScopedRoutesConfigDump* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ScopedRoutesConfigDump_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ScopedRoutesConfigDump_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_serialize_ex(const envoy_admin_v3_ScopedRoutesConfigDump* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ScopedRoutesConfigDump_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ScopedRoutesConfigDump_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_clear_inline_scoped_route_configs(envoy_admin_v3_ScopedRoutesConfigDump* msg) { @@ -1754,7 +1740,7 @@ UPB_INLINE struct envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* sub = (struct envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs*)_upb_Message_New(&envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init, arena); + struct envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* sub = (struct envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs*)_upb_Message_New(&envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1780,7 +1766,7 @@ UPB_INLINE struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfig if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* sub = (struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs*)_upb_Message_New(&envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init, arena); + struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* sub = (struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs*)_upb_Message_New(&envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1789,12 +1775,12 @@ UPB_INLINE struct envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfig /* envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs */ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_new(upb_Arena* arena) { - return (envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs*)_upb_Message_New(&envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init, arena); + return (envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs*)_upb_Message_New(&envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, arena); } UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* ret = envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1804,7 +1790,7 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* envoy int options, upb_Arena* arena) { envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* ret = envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1812,13 +1798,13 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* envoy } UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_serialize(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_serialize_ex(const envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_clear_name(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg) { @@ -1910,7 +1896,7 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ScopedRoutesConfigDump_Inl if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1922,7 +1908,7 @@ UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_s UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_mutable_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_set_last_updated(msg, sub); } return sub; @@ -1931,12 +1917,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ScopedRoutesConfigDu /* envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs */ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_new(upb_Arena* arena) { - return (envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs*)_upb_Message_New(&envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init, arena); + return (envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs*)_upb_Message_New(&envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, arena); } UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* ret = envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1946,7 +1932,7 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* envo int options, upb_Arena* arena) { envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* ret = envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1954,13 +1940,13 @@ UPB_INLINE envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* envo } UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_serialize(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_serialize_ex(const envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_clear_name(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg) { @@ -2093,7 +2079,7 @@ UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_ScopedRoutesConfigDump_Dyn if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -2105,7 +2091,7 @@ UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_mutable_last_updated(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_last_updated(msg, sub); } return sub; @@ -2117,7 +2103,7 @@ UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_ UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_mutable_error_state(envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs* msg, upb_Arena* arena) { struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_error_state(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena); + sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy__admin__v3__UpdateFailureState_msg_init, arena); if (sub) envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_set_error_state(msg, sub); } return sub; @@ -2130,12 +2116,12 @@ UPB_INLINE void envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_ /* envoy.admin.v3.EndpointsConfigDump */ UPB_INLINE envoy_admin_v3_EndpointsConfigDump* envoy_admin_v3_EndpointsConfigDump_new(upb_Arena* arena) { - return (envoy_admin_v3_EndpointsConfigDump*)_upb_Message_New(&envoy_admin_v3_EndpointsConfigDump_msg_init, arena); + return (envoy_admin_v3_EndpointsConfigDump*)_upb_Message_New(&envoy__admin__v3__EndpointsConfigDump_msg_init, arena); } UPB_INLINE envoy_admin_v3_EndpointsConfigDump* envoy_admin_v3_EndpointsConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_EndpointsConfigDump* ret = envoy_admin_v3_EndpointsConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_EndpointsConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__EndpointsConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2145,7 +2131,7 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump* envoy_admin_v3_EndpointsConfigDum int options, upb_Arena* arena) { envoy_admin_v3_EndpointsConfigDump* ret = envoy_admin_v3_EndpointsConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_EndpointsConfigDump_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__EndpointsConfigDump_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2153,13 +2139,13 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump* envoy_admin_v3_EndpointsConfigDum } UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_serialize(const envoy_admin_v3_EndpointsConfigDump* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_EndpointsConfigDump_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__EndpointsConfigDump_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_serialize_ex(const envoy_admin_v3_EndpointsConfigDump* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_EndpointsConfigDump_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__EndpointsConfigDump_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_clear_static_endpoint_configs(envoy_admin_v3_EndpointsConfigDump* msg) { @@ -2258,7 +2244,7 @@ UPB_INLINE struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* sub = (struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig*)_upb_Message_New(&envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init, arena); + struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* sub = (struct envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig*)_upb_Message_New(&envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -2284,7 +2270,7 @@ UPB_INLINE struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envo if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* sub = (struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig*)_upb_Message_New(&envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init, arena); + struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* sub = (struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig*)_upb_Message_New(&envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -2293,12 +2279,12 @@ UPB_INLINE struct envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envo /* envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig */ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_new(upb_Arena* arena) { - return (envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig*)_upb_Message_New(&envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init, arena); + return (envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig*)_upb_Message_New(&envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, arena); } UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* ret = envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2308,7 +2294,7 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy_admin_ int options, upb_Arena* arena) { envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* ret = envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2316,13 +2302,13 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* envoy_admin_ } UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_serialize(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_serialize_ex(const envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_clear_endpoint_config(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg) { @@ -2363,7 +2349,7 @@ UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_set_endp UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_mutable_endpoint_config(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_endpoint_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_set_endpoint_config(msg, sub); } return sub; @@ -2375,7 +2361,7 @@ UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_set_last UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_mutable_last_updated(envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_set_last_updated(msg, sub); } return sub; @@ -2384,12 +2370,12 @@ UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_EndpointsConfigDump_ /* envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig */ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_new(upb_Arena* arena) { - return (envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig*)_upb_Message_New(&envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init, arena); + return (envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig*)_upb_Message_New(&envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, arena); } UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* ret = envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2399,7 +2385,7 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envoy_admin int options, upb_Arena* arena) { envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* ret = envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2407,13 +2393,13 @@ UPB_INLINE envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* envoy_admin } UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_serialize(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_serialize_ex(const envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_clear_version_info(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg) { @@ -2495,7 +2481,7 @@ UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_end UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_mutable_endpoint_config(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_endpoint_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_endpoint_config(msg, sub); } return sub; @@ -2507,7 +2493,7 @@ UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_las UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_mutable_last_updated(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_last_updated(msg, sub); } return sub; @@ -2519,7 +2505,7 @@ UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_err UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_mutable_error_state(envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig* msg, upb_Arena* arena) { struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_error_state(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena); + sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy__admin__v3__UpdateFailureState_msg_init, arena); if (sub) envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_error_state(msg, sub); } return sub; @@ -2532,12 +2518,12 @@ UPB_INLINE void envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_set_cli /* envoy.admin.v3.EcdsConfigDump */ UPB_INLINE envoy_admin_v3_EcdsConfigDump* envoy_admin_v3_EcdsConfigDump_new(upb_Arena* arena) { - return (envoy_admin_v3_EcdsConfigDump*)_upb_Message_New(&envoy_admin_v3_EcdsConfigDump_msg_init, arena); + return (envoy_admin_v3_EcdsConfigDump*)_upb_Message_New(&envoy__admin__v3__EcdsConfigDump_msg_init, arena); } UPB_INLINE envoy_admin_v3_EcdsConfigDump* envoy_admin_v3_EcdsConfigDump_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_EcdsConfigDump* ret = envoy_admin_v3_EcdsConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_EcdsConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__EcdsConfigDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2547,7 +2533,7 @@ UPB_INLINE envoy_admin_v3_EcdsConfigDump* envoy_admin_v3_EcdsConfigDump_parse_ex int options, upb_Arena* arena) { envoy_admin_v3_EcdsConfigDump* ret = envoy_admin_v3_EcdsConfigDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_EcdsConfigDump_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__EcdsConfigDump_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2555,13 +2541,13 @@ UPB_INLINE envoy_admin_v3_EcdsConfigDump* envoy_admin_v3_EcdsConfigDump_parse_ex } UPB_INLINE char* envoy_admin_v3_EcdsConfigDump_serialize(const envoy_admin_v3_EcdsConfigDump* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_EcdsConfigDump_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__EcdsConfigDump_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_EcdsConfigDump_serialize_ex(const envoy_admin_v3_EcdsConfigDump* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_EcdsConfigDump_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__EcdsConfigDump_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_EcdsConfigDump_clear_ecds_filters(envoy_admin_v3_EcdsConfigDump* msg) { @@ -2623,7 +2609,7 @@ UPB_INLINE struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3 if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* sub = (struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig*)_upb_Message_New(&envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init, arena); + struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* sub = (struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig*)_upb_Message_New(&envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -2632,12 +2618,12 @@ UPB_INLINE struct envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3 /* envoy.admin.v3.EcdsConfigDump.EcdsFilterConfig */ UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_new(upb_Arena* arena) { - return (envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig*)_upb_Message_New(&envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init, arena); + return (envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig*)_upb_Message_New(&envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, arena); } UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* ret = envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2647,7 +2633,7 @@ UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3_EcdsCo int options, upb_Arena* arena) { envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* ret = envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2655,13 +2641,13 @@ UPB_INLINE envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* envoy_admin_v3_EcdsCo } UPB_INLINE char* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_serialize(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_serialize_ex(const envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_clear_version_info(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg) { @@ -2743,7 +2729,7 @@ UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_ecds_filter(e UPB_INLINE struct google_protobuf_Any* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_mutable_ecds_filter(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_ecds_filter(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_ecds_filter(msg, sub); } return sub; @@ -2755,7 +2741,7 @@ UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_last_updated( UPB_INLINE struct google_protobuf_Timestamp* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_mutable_last_updated(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_last_updated(msg, sub); } return sub; @@ -2767,7 +2753,7 @@ UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_error_state(e UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_mutable_error_state(envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig* msg, upb_Arena* arena) { struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_error_state(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena); + sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy__admin__v3__UpdateFailureState_msg_init, arena); if (sub) envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_error_state(msg, sub); } return sub; @@ -2777,8 +2763,6 @@ UPB_INLINE void envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_set_client_status _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_admin_v3_config_dump_shared_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c b/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c new file mode 100644 index 00000000000..c16f92540b5 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c @@ -0,0 +1,532 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/config_dump_shared.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/admin/v3/config_dump_shared.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_admin_v3_UpdateFailureState_submsgs[2] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_UpdateFailureState__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__UpdateFailureState_msg_init = { + &envoy_admin_v3_UpdateFailureState_submsgs[0], + &envoy_admin_v3_UpdateFailureState__fields[0], + UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800003f00001a, &upb_pss_1bt}, + {0x002800003f000022, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_ListenersConfigDump_submsgs[2] = { + {.submsg = &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init}, + {.submsg = &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ListenersConfigDump__fields[3] = { + {1, UPB_SIZE(8, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ListenersConfigDump_msg_init = { + &envoy_admin_v3_ListenersConfigDump_submsgs[0], + &envoy_admin_v3_ListenersConfigDump__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_prm_1bt_max64b}, + {0x001800003f01001a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_ListenersConfigDump_StaticListener_submsgs[2] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ListenersConfigDump_StaticListener__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init = { + &envoy_admin_v3_ListenersConfigDump_StaticListener_submsgs[0], + &envoy_admin_v3_ListenersConfigDump_StaticListener__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_ListenersConfigDump_DynamicListenerState_submsgs[2] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ListenersConfigDump_DynamicListenerState__fields[3] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init = { + &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_submsgs[0], + &envoy_admin_v3_ListenersConfigDump_DynamicListenerState__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_ListenersConfigDump_DynamicListener_submsgs[4] = { + {.submsg = &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init}, + {.submsg = &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init}, + {.submsg = &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init}, + {.submsg = &envoy__admin__v3__UpdateFailureState_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ListenersConfigDump_DynamicListener__fields[6] = { + {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init = { + &envoy_admin_v3_ListenersConfigDump_DynamicListener_submsgs[0], + &envoy_admin_v3_ListenersConfigDump_DynamicListener__fields[0], + UPB_SIZE(32, 56), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x002000000201001a, &upb_psm_1bt_max64b}, + {0x0028000003020022, &upb_psm_1bt_max64b}, + {0x003000000403002a, &upb_psm_1bt_max64b}, + {0x000400003f000030, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_ClustersConfigDump_submsgs[3] = { + {.submsg = &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init}, + {.submsg = &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init}, + {.submsg = &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ClustersConfigDump__fields[4] = { + {1, UPB_SIZE(12, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ClustersConfigDump_msg_init = { + &envoy_admin_v3_ClustersConfigDump_submsgs[0], + &envoy_admin_v3_ClustersConfigDump__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_prm_1bt_max64b}, + {0x001800003f01001a, &upb_prm_1bt_max64b}, + {0x002000003f020022, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_ClustersConfigDump_StaticCluster_submsgs[2] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ClustersConfigDump_StaticCluster__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init = { + &envoy_admin_v3_ClustersConfigDump_StaticCluster_submsgs[0], + &envoy_admin_v3_ClustersConfigDump_StaticCluster__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_ClustersConfigDump_DynamicCluster_submsgs[3] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &envoy__admin__v3__UpdateFailureState_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ClustersConfigDump_DynamicCluster__fields[5] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init = { + &envoy_admin_v3_ClustersConfigDump_DynamicCluster_submsgs[0], + &envoy_admin_v3_ClustersConfigDump_DynamicCluster__fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + {0x0028000003020022, &upb_psm_1bt_max64b}, + {0x000400003f000028, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_RoutesConfigDump_submsgs[2] = { + {.submsg = &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init}, + {.submsg = &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_RoutesConfigDump__fields[2] = { + {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__RoutesConfigDump_msg_init = { + &envoy_admin_v3_RoutesConfigDump_submsgs[0], + &envoy_admin_v3_RoutesConfigDump__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000012, &upb_prm_1bt_max64b}, + {0x000800003f01001a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_submsgs[2] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_RoutesConfigDump_StaticRouteConfig__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init = { + &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_submsgs[0], + &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_submsgs[3] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &envoy__admin__v3__UpdateFailureState_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig__fields[5] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init = { + &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_submsgs[0], + &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig__fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + {0x0028000003020022, &upb_psm_1bt_max64b}, + {0x000400003f000028, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_ScopedRoutesConfigDump_submsgs[2] = { + {.submsg = &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init}, + {.submsg = &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ScopedRoutesConfigDump__fields[2] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ScopedRoutesConfigDump_msg_init = { + &envoy_admin_v3_ScopedRoutesConfigDump_submsgs[0], + &envoy_admin_v3_ScopedRoutesConfigDump__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + {0x000800003f010012, &upb_prm_1bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_submsgs[2] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs__fields[3] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init = { + &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_submsgs[0], + &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prm_1bt_maxmaxb}, + {0x002000000101001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_submsgs[3] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &envoy__admin__v3__UpdateFailureState_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs__fields[6] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 48), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 56), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init = { + &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_submsgs[0], + &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs__fields[0], + UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x002800003f00001a, &upb_prm_1bt_maxmaxb}, + {0x0030000001010022, &upb_psm_1bt_maxmaxb}, + {0x003800000202002a, &upb_psm_1bt_max64b}, + {0x000400003f000030, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_EndpointsConfigDump_submsgs[2] = { + {.submsg = &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init}, + {.submsg = &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_EndpointsConfigDump__fields[2] = { + {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__EndpointsConfigDump_msg_init = { + &envoy_admin_v3_EndpointsConfigDump_submsgs[0], + &envoy_admin_v3_EndpointsConfigDump__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000012, &upb_prm_1bt_max64b}, + {0x000800003f01001a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_submsgs[2] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init = { + &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_submsgs[0], + &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_submsgs[3] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &envoy__admin__v3__UpdateFailureState_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig__fields[5] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init = { + &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_submsgs[0], + &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig__fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + {0x0028000003020022, &upb_psm_1bt_max64b}, + {0x000400003f000028, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_EcdsConfigDump_submsgs[1] = { + {.submsg = &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_EcdsConfigDump__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__EcdsConfigDump_msg_init = { + &envoy_admin_v3_EcdsConfigDump_submsgs[0], + &envoy_admin_v3_EcdsConfigDump__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_submsgs[3] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &envoy__admin__v3__UpdateFailureState_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig__fields[5] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init = { + &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_submsgs[0], + &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig__fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + {0x0028000003020022, &upb_psm_1bt_max64b}, + {0x000400003f000028, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[19] = { + &envoy__admin__v3__UpdateFailureState_msg_init, + &envoy__admin__v3__ListenersConfigDump_msg_init, + &envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init, + &envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init, + &envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init, + &envoy__admin__v3__ClustersConfigDump_msg_init, + &envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init, + &envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init, + &envoy__admin__v3__RoutesConfigDump_msg_init, + &envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init, + &envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init, + &envoy__admin__v3__ScopedRoutesConfigDump_msg_init, + &envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init, + &envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init, + &envoy__admin__v3__EndpointsConfigDump_msg_init, + &envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init, + &envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init, + &envoy__admin__v3__EcdsConfigDump_msg_init, + &envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init, +}; + +const upb_MiniTableFile envoy_admin_v3_config_dump_shared_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 19, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h b/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h new file mode 100644 index 00000000000..343ceaff9a0 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h @@ -0,0 +1,48 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/config_dump_shared.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ADMIN_V3_CONFIG_DUMP_SHARED_PROTO_UPB_MINITABLE_H_ +#define ENVOY_ADMIN_V3_CONFIG_DUMP_SHARED_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__admin__v3__UpdateFailureState_msg_init; +extern const upb_MiniTable envoy__admin__v3__ListenersConfigDump_msg_init; +extern const upb_MiniTable envoy__admin__v3__ListenersConfigDump__StaticListener_msg_init; +extern const upb_MiniTable envoy__admin__v3__ListenersConfigDump__DynamicListenerState_msg_init; +extern const upb_MiniTable envoy__admin__v3__ListenersConfigDump__DynamicListener_msg_init; +extern const upb_MiniTable envoy__admin__v3__ClustersConfigDump_msg_init; +extern const upb_MiniTable envoy__admin__v3__ClustersConfigDump__StaticCluster_msg_init; +extern const upb_MiniTable envoy__admin__v3__ClustersConfigDump__DynamicCluster_msg_init; +extern const upb_MiniTable envoy__admin__v3__RoutesConfigDump_msg_init; +extern const upb_MiniTable envoy__admin__v3__RoutesConfigDump__StaticRouteConfig_msg_init; +extern const upb_MiniTable envoy__admin__v3__RoutesConfigDump__DynamicRouteConfig_msg_init; +extern const upb_MiniTable envoy__admin__v3__ScopedRoutesConfigDump_msg_init; +extern const upb_MiniTable envoy__admin__v3__ScopedRoutesConfigDump__InlineScopedRouteConfigs_msg_init; +extern const upb_MiniTable envoy__admin__v3__ScopedRoutesConfigDump__DynamicScopedRouteConfigs_msg_init; +extern const upb_MiniTable envoy__admin__v3__EndpointsConfigDump_msg_init; +extern const upb_MiniTable envoy__admin__v3__EndpointsConfigDump__StaticEndpointConfig_msg_init; +extern const upb_MiniTable envoy__admin__v3__EndpointsConfigDump__DynamicEndpointConfig_msg_init; +extern const upb_MiniTable envoy__admin__v3__EcdsConfigDump_msg_init; +extern const upb_MiniTable envoy__admin__v3__EcdsConfigDump__EcdsFilterConfig_msg_init; + +extern const upb_MiniTableFile envoy_admin_v3_config_dump_shared_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ADMIN_V3_CONFIG_DUMP_SHARED_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h b/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h similarity index 89% rename from src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h rename to src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h index e43e5d50924..0fe577f7d69 100644 --- a/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +++ b/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/init_dump.proto * @@ -10,7 +9,12 @@ #define ENVOY_ADMIN_V3_INIT_DUMP_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/admin/v3/init_dump.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,20 +23,18 @@ extern "C" { typedef struct envoy_admin_v3_UnreadyTargetsDumps envoy_admin_v3_UnreadyTargetsDumps; typedef struct envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump; -extern const upb_MiniTable envoy_admin_v3_UnreadyTargetsDumps_msg_init; -extern const upb_MiniTable envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_msg_init; /* envoy.admin.v3.UnreadyTargetsDumps */ UPB_INLINE envoy_admin_v3_UnreadyTargetsDumps* envoy_admin_v3_UnreadyTargetsDumps_new(upb_Arena* arena) { - return (envoy_admin_v3_UnreadyTargetsDumps*)_upb_Message_New(&envoy_admin_v3_UnreadyTargetsDumps_msg_init, arena); + return (envoy_admin_v3_UnreadyTargetsDumps*)_upb_Message_New(&envoy__admin__v3__UnreadyTargetsDumps_msg_init, arena); } UPB_INLINE envoy_admin_v3_UnreadyTargetsDumps* envoy_admin_v3_UnreadyTargetsDumps_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_UnreadyTargetsDumps* ret = envoy_admin_v3_UnreadyTargetsDumps_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_UnreadyTargetsDumps_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__UnreadyTargetsDumps_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +44,7 @@ UPB_INLINE envoy_admin_v3_UnreadyTargetsDumps* envoy_admin_v3_UnreadyTargetsDump int options, upb_Arena* arena) { envoy_admin_v3_UnreadyTargetsDumps* ret = envoy_admin_v3_UnreadyTargetsDumps_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_UnreadyTargetsDumps_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__UnreadyTargetsDumps_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +52,13 @@ UPB_INLINE envoy_admin_v3_UnreadyTargetsDumps* envoy_admin_v3_UnreadyTargetsDump } UPB_INLINE char* envoy_admin_v3_UnreadyTargetsDumps_serialize(const envoy_admin_v3_UnreadyTargetsDumps* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_UnreadyTargetsDumps_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__UnreadyTargetsDumps_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_UnreadyTargetsDumps_serialize_ex(const envoy_admin_v3_UnreadyTargetsDumps* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_UnreadyTargetsDumps_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__UnreadyTargetsDumps_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_UnreadyTargetsDumps_clear_unready_targets_dumps(envoy_admin_v3_UnreadyTargetsDumps* msg) { @@ -118,7 +120,7 @@ UPB_INLINE struct envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump* envoy_a if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump* sub = (struct envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump*)_upb_Message_New(&envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_msg_init, arena); + struct envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump* sub = (struct envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump*)_upb_Message_New(&envoy__admin__v3__UnreadyTargetsDumps__UnreadyTargetsDump_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -127,12 +129,12 @@ UPB_INLINE struct envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump* envoy_a /* envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump */ UPB_INLINE envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump* envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_new(upb_Arena* arena) { - return (envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump*)_upb_Message_New(&envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_msg_init, arena); + return (envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump*)_upb_Message_New(&envoy__admin__v3__UnreadyTargetsDumps__UnreadyTargetsDump_msg_init, arena); } UPB_INLINE envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump* envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump* ret = envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__UnreadyTargetsDumps__UnreadyTargetsDump_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -142,7 +144,7 @@ UPB_INLINE envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump* envoy_admin_v3 int options, upb_Arena* arena) { envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump* ret = envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__UnreadyTargetsDumps__UnreadyTargetsDump_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -150,13 +152,13 @@ UPB_INLINE envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump* envoy_admin_v3 } UPB_INLINE char* envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_serialize(const envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__UnreadyTargetsDumps__UnreadyTargetsDump_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_serialize_ex(const envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__UnreadyTargetsDumps__UnreadyTargetsDump_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_clear_name(envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump* msg) { @@ -237,8 +239,6 @@ UPB_INLINE bool envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_add_target return true; } -extern const upb_MiniTableFile envoy_admin_v3_init_dump_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c b/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c new file mode 100644 index 00000000000..d582f86e730 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c @@ -0,0 +1,66 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/init_dump.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/admin/v3/init_dump.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_admin_v3_UnreadyTargetsDumps_submsgs[1] = { + {.submsg = &envoy__admin__v3__UnreadyTargetsDumps__UnreadyTargetsDump_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_UnreadyTargetsDumps__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__UnreadyTargetsDumps_msg_init = { + &envoy_admin_v3_UnreadyTargetsDumps_submsgs[0], + &envoy_admin_v3_UnreadyTargetsDumps__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableField envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump__fields[2] = { + {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(0, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__UnreadyTargetsDumps__UnreadyTargetsDump_msg_init = { + NULL, + &envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__admin__v3__UnreadyTargetsDumps_msg_init, + &envoy__admin__v3__UnreadyTargetsDumps__UnreadyTargetsDump_msg_init, +}; + +const upb_MiniTableFile envoy_admin_v3_init_dump_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h b/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h new file mode 100644 index 00000000000..1715119fd51 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/init_dump.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ADMIN_V3_INIT_DUMP_PROTO_UPB_MINITABLE_H_ +#define ENVOY_ADMIN_V3_INIT_DUMP_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__admin__v3__UnreadyTargetsDumps_msg_init; +extern const upb_MiniTable envoy__admin__v3__UnreadyTargetsDumps__UnreadyTargetsDump_msg_init; + +extern const upb_MiniTableFile envoy_admin_v3_init_dump_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ADMIN_V3_INIT_DUMP_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h b/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h similarity index 90% rename from src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h rename to src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h index c301866cc9f..7a2c09a6b00 100644 --- a/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +++ b/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/listeners.proto * @@ -10,7 +9,14 @@ #define ENVOY_ADMIN_V3_LISTENERS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/admin/v3/listeners.upb_minitable.h" + +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,22 +25,19 @@ extern "C" { typedef struct envoy_admin_v3_Listeners envoy_admin_v3_Listeners; typedef struct envoy_admin_v3_ListenerStatus envoy_admin_v3_ListenerStatus; -extern const upb_MiniTable envoy_admin_v3_Listeners_msg_init; -extern const upb_MiniTable envoy_admin_v3_ListenerStatus_msg_init; struct envoy_config_core_v3_Address; -extern const upb_MiniTable envoy_config_core_v3_Address_msg_init; /* envoy.admin.v3.Listeners */ UPB_INLINE envoy_admin_v3_Listeners* envoy_admin_v3_Listeners_new(upb_Arena* arena) { - return (envoy_admin_v3_Listeners*)_upb_Message_New(&envoy_admin_v3_Listeners_msg_init, arena); + return (envoy_admin_v3_Listeners*)_upb_Message_New(&envoy__admin__v3__Listeners_msg_init, arena); } UPB_INLINE envoy_admin_v3_Listeners* envoy_admin_v3_Listeners_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_Listeners* ret = envoy_admin_v3_Listeners_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_Listeners_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__Listeners_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -44,7 +47,7 @@ UPB_INLINE envoy_admin_v3_Listeners* envoy_admin_v3_Listeners_parse_ex(const cha int options, upb_Arena* arena) { envoy_admin_v3_Listeners* ret = envoy_admin_v3_Listeners_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_Listeners_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__Listeners_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -52,13 +55,13 @@ UPB_INLINE envoy_admin_v3_Listeners* envoy_admin_v3_Listeners_parse_ex(const cha } UPB_INLINE char* envoy_admin_v3_Listeners_serialize(const envoy_admin_v3_Listeners* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_Listeners_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__Listeners_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_Listeners_serialize_ex(const envoy_admin_v3_Listeners* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_Listeners_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__Listeners_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_Listeners_clear_listener_statuses(envoy_admin_v3_Listeners* msg) { @@ -120,7 +123,7 @@ UPB_INLINE struct envoy_admin_v3_ListenerStatus* envoy_admin_v3_Listeners_add_li if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_admin_v3_ListenerStatus* sub = (struct envoy_admin_v3_ListenerStatus*)_upb_Message_New(&envoy_admin_v3_ListenerStatus_msg_init, arena); + struct envoy_admin_v3_ListenerStatus* sub = (struct envoy_admin_v3_ListenerStatus*)_upb_Message_New(&envoy__admin__v3__ListenerStatus_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -129,12 +132,12 @@ UPB_INLINE struct envoy_admin_v3_ListenerStatus* envoy_admin_v3_Listeners_add_li /* envoy.admin.v3.ListenerStatus */ UPB_INLINE envoy_admin_v3_ListenerStatus* envoy_admin_v3_ListenerStatus_new(upb_Arena* arena) { - return (envoy_admin_v3_ListenerStatus*)_upb_Message_New(&envoy_admin_v3_ListenerStatus_msg_init, arena); + return (envoy_admin_v3_ListenerStatus*)_upb_Message_New(&envoy__admin__v3__ListenerStatus_msg_init, arena); } UPB_INLINE envoy_admin_v3_ListenerStatus* envoy_admin_v3_ListenerStatus_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ListenerStatus* ret = envoy_admin_v3_ListenerStatus_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenerStatus_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenerStatus_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -144,7 +147,7 @@ UPB_INLINE envoy_admin_v3_ListenerStatus* envoy_admin_v3_ListenerStatus_parse_ex int options, upb_Arena* arena) { envoy_admin_v3_ListenerStatus* ret = envoy_admin_v3_ListenerStatus_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ListenerStatus_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ListenerStatus_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -152,13 +155,13 @@ UPB_INLINE envoy_admin_v3_ListenerStatus* envoy_admin_v3_ListenerStatus_parse_ex } UPB_INLINE char* envoy_admin_v3_ListenerStatus_serialize(const envoy_admin_v3_ListenerStatus* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ListenerStatus_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ListenerStatus_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ListenerStatus_serialize_ex(const envoy_admin_v3_ListenerStatus* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ListenerStatus_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ListenerStatus_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ListenerStatus_clear_name(envoy_admin_v3_ListenerStatus* msg) { @@ -236,7 +239,7 @@ UPB_INLINE void envoy_admin_v3_ListenerStatus_set_local_address(envoy_admin_v3_L UPB_INLINE struct envoy_config_core_v3_Address* envoy_admin_v3_ListenerStatus_mutable_local_address(envoy_admin_v3_ListenerStatus* msg, upb_Arena* arena) { struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_admin_v3_ListenerStatus_local_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); if (sub) envoy_admin_v3_ListenerStatus_set_local_address(msg, sub); } return sub; @@ -262,14 +265,12 @@ UPB_INLINE struct envoy_config_core_v3_Address* envoy_admin_v3_ListenerStatus_ad if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } -extern const upb_MiniTableFile envoy_admin_v3_listeners_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c b/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c new file mode 100644 index 00000000000..5e66238d8ac --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c @@ -0,0 +1,74 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/listeners.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/admin/v3/listeners.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_admin_v3_Listeners_submsgs[1] = { + {.submsg = &envoy__admin__v3__ListenerStatus_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_Listeners__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__Listeners_msg_init = { + &envoy_admin_v3_Listeners_submsgs[0], + &envoy_admin_v3_Listeners__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_ListenerStatus_submsgs[2] = { + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__config__core__v3__Address_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ListenerStatus__fields[3] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ListenerStatus_msg_init = { + &envoy_admin_v3_ListenerStatus_submsgs[0], + &envoy_admin_v3_ListenerStatus__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000003f01001a, &upb_prm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__admin__v3__Listeners_msg_init, + &envoy__admin__v3__ListenerStatus_msg_init, +}; + +const upb_MiniTableFile envoy_admin_v3_listeners_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h b/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h new file mode 100644 index 00000000000..8b1ce1f95dc --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/listeners.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ADMIN_V3_LISTENERS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_ADMIN_V3_LISTENERS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__admin__v3__Listeners_msg_init; +extern const upb_MiniTable envoy__admin__v3__ListenerStatus_msg_init; + +extern const upb_MiniTableFile envoy_admin_v3_listeners_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ADMIN_V3_LISTENERS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h b/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h rename to src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h index d73d536132a..7185e31f800 100644 --- a/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +++ b/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/memory.proto * @@ -10,7 +9,13 @@ #define ENVOY_ADMIN_V3_MEMORY_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/admin/v3/memory.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,19 +23,18 @@ extern "C" { #endif typedef struct envoy_admin_v3_Memory envoy_admin_v3_Memory; -extern const upb_MiniTable envoy_admin_v3_Memory_msg_init; /* envoy.admin.v3.Memory */ UPB_INLINE envoy_admin_v3_Memory* envoy_admin_v3_Memory_new(upb_Arena* arena) { - return (envoy_admin_v3_Memory*)_upb_Message_New(&envoy_admin_v3_Memory_msg_init, arena); + return (envoy_admin_v3_Memory*)_upb_Message_New(&envoy__admin__v3__Memory_msg_init, arena); } UPB_INLINE envoy_admin_v3_Memory* envoy_admin_v3_Memory_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_Memory* ret = envoy_admin_v3_Memory_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_Memory_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__Memory_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -40,7 +44,7 @@ UPB_INLINE envoy_admin_v3_Memory* envoy_admin_v3_Memory_parse_ex(const char* buf int options, upb_Arena* arena) { envoy_admin_v3_Memory* ret = envoy_admin_v3_Memory_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_Memory_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__Memory_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -48,13 +52,13 @@ UPB_INLINE envoy_admin_v3_Memory* envoy_admin_v3_Memory_parse_ex(const char* buf } UPB_INLINE char* envoy_admin_v3_Memory_serialize(const envoy_admin_v3_Memory* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_Memory_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__Memory_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_Memory_serialize_ex(const envoy_admin_v3_Memory* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_Memory_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__Memory_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_Memory_clear_allocated(envoy_admin_v3_Memory* msg) { @@ -149,8 +153,6 @@ UPB_INLINE void envoy_admin_v3_Memory_set_total_physical_bytes(envoy_admin_v3_Me _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_admin_v3_memory_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c b/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c new file mode 100644 index 00000000000..41229cca8fc --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c @@ -0,0 +1,56 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/memory.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/admin/v3/memory.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_admin_v3_Memory__fields[6] = { + {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, 32, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {6, 40, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__Memory_msg_init = { + NULL, + &envoy_admin_v3_Memory__fields[0], + 48, 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv8_1bt}, + {0x000800003f000010, &upb_psv8_1bt}, + {0x001000003f000018, &upb_psv8_1bt}, + {0x001800003f000020, &upb_psv8_1bt}, + {0x002000003f000028, &upb_psv8_1bt}, + {0x002800003f000030, &upb_psv8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__admin__v3__Memory_msg_init, +}; + +const upb_MiniTableFile envoy_admin_v3_memory_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h b/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h new file mode 100644 index 00000000000..d159b6804c3 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/memory.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ADMIN_V3_MEMORY_PROTO_UPB_MINITABLE_H_ +#define ENVOY_ADMIN_V3_MEMORY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__admin__v3__Memory_msg_init; + +extern const upb_MiniTableFile envoy_admin_v3_memory_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ADMIN_V3_MEMORY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h b/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h similarity index 86% rename from src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h rename to src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h index db291fe7080..cc3647fa9d4 100644 --- a/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +++ b/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/metrics.proto * @@ -10,7 +9,13 @@ #define ENVOY_ADMIN_V3_METRICS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/admin/v3/metrics.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,7 +23,6 @@ extern "C" { #endif typedef struct envoy_admin_v3_SimpleMetric envoy_admin_v3_SimpleMetric; -extern const upb_MiniTable envoy_admin_v3_SimpleMetric_msg_init; typedef enum { envoy_admin_v3_SimpleMetric_COUNTER = 0, @@ -30,12 +34,12 @@ typedef enum { /* envoy.admin.v3.SimpleMetric */ UPB_INLINE envoy_admin_v3_SimpleMetric* envoy_admin_v3_SimpleMetric_new(upb_Arena* arena) { - return (envoy_admin_v3_SimpleMetric*)_upb_Message_New(&envoy_admin_v3_SimpleMetric_msg_init, arena); + return (envoy_admin_v3_SimpleMetric*)_upb_Message_New(&envoy__admin__v3__SimpleMetric_msg_init, arena); } UPB_INLINE envoy_admin_v3_SimpleMetric* envoy_admin_v3_SimpleMetric_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_SimpleMetric* ret = envoy_admin_v3_SimpleMetric_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_SimpleMetric_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__SimpleMetric_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -45,7 +49,7 @@ UPB_INLINE envoy_admin_v3_SimpleMetric* envoy_admin_v3_SimpleMetric_parse_ex(con int options, upb_Arena* arena) { envoy_admin_v3_SimpleMetric* ret = envoy_admin_v3_SimpleMetric_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_SimpleMetric_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__SimpleMetric_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -53,13 +57,13 @@ UPB_INLINE envoy_admin_v3_SimpleMetric* envoy_admin_v3_SimpleMetric_parse_ex(con } UPB_INLINE char* envoy_admin_v3_SimpleMetric_serialize(const envoy_admin_v3_SimpleMetric* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_SimpleMetric_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__SimpleMetric_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_SimpleMetric_serialize_ex(const envoy_admin_v3_SimpleMetric* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_SimpleMetric_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__SimpleMetric_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_SimpleMetric_clear_type(envoy_admin_v3_SimpleMetric* msg) { @@ -109,8 +113,6 @@ UPB_INLINE void envoy_admin_v3_SimpleMetric_set_name(envoy_admin_v3_SimpleMetric _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_admin_v3_metrics_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c b/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c new file mode 100644 index 00000000000..8d8a26126a2 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c @@ -0,0 +1,49 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/metrics.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/admin/v3/metrics.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_admin_v3_SimpleMetric__fields[3] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__SimpleMetric_msg_init = { + NULL, + &envoy_admin_v3_SimpleMetric__fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000800003f000010, &upb_psv8_1bt}, + {0x001000003f00001a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__admin__v3__SimpleMetric_msg_init, +}; + +const upb_MiniTableFile envoy_admin_v3_metrics_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h b/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h new file mode 100644 index 00000000000..10fcf59a89b --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/metrics.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ADMIN_V3_METRICS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_ADMIN_V3_METRICS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__admin__v3__SimpleMetric_msg_init; + +extern const upb_MiniTableFile envoy_admin_v3_metrics_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ADMIN_V3_METRICS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h b/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h similarity index 86% rename from src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h rename to src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h index 478dceeb978..314e2cbb776 100644 --- a/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +++ b/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/mutex_stats.proto * @@ -10,7 +9,13 @@ #define ENVOY_ADMIN_V3_MUTEX_STATS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/admin/v3/mutex_stats.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,19 +23,18 @@ extern "C" { #endif typedef struct envoy_admin_v3_MutexStats envoy_admin_v3_MutexStats; -extern const upb_MiniTable envoy_admin_v3_MutexStats_msg_init; /* envoy.admin.v3.MutexStats */ UPB_INLINE envoy_admin_v3_MutexStats* envoy_admin_v3_MutexStats_new(upb_Arena* arena) { - return (envoy_admin_v3_MutexStats*)_upb_Message_New(&envoy_admin_v3_MutexStats_msg_init, arena); + return (envoy_admin_v3_MutexStats*)_upb_Message_New(&envoy__admin__v3__MutexStats_msg_init, arena); } UPB_INLINE envoy_admin_v3_MutexStats* envoy_admin_v3_MutexStats_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_MutexStats* ret = envoy_admin_v3_MutexStats_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_MutexStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__MutexStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -40,7 +44,7 @@ UPB_INLINE envoy_admin_v3_MutexStats* envoy_admin_v3_MutexStats_parse_ex(const c int options, upb_Arena* arena) { envoy_admin_v3_MutexStats* ret = envoy_admin_v3_MutexStats_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_MutexStats_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__MutexStats_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -48,13 +52,13 @@ UPB_INLINE envoy_admin_v3_MutexStats* envoy_admin_v3_MutexStats_parse_ex(const c } UPB_INLINE char* envoy_admin_v3_MutexStats_serialize(const envoy_admin_v3_MutexStats* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_MutexStats_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__MutexStats_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_MutexStats_serialize_ex(const envoy_admin_v3_MutexStats* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_MutexStats_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__MutexStats_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_MutexStats_clear_num_contentions(envoy_admin_v3_MutexStats* msg) { @@ -104,8 +108,6 @@ UPB_INLINE void envoy_admin_v3_MutexStats_set_lifetime_wait_cycles(envoy_admin_v _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_admin_v3_mutex_stats_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c b/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c new file mode 100644 index 00000000000..7c3d1f733f4 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c @@ -0,0 +1,49 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/mutex_stats.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/admin/v3/mutex_stats.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_admin_v3_MutexStats__fields[3] = { + {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__MutexStats_msg_init = { + NULL, + &envoy_admin_v3_MutexStats__fields[0], + 24, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv8_1bt}, + {0x000800003f000010, &upb_psv8_1bt}, + {0x001000003f000018, &upb_psv8_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__admin__v3__MutexStats_msg_init, +}; + +const upb_MiniTableFile envoy_admin_v3_mutex_stats_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h b/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h new file mode 100644 index 00000000000..ba8367f875d --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/mutex_stats.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ADMIN_V3_MUTEX_STATS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_ADMIN_V3_MUTEX_STATS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__admin__v3__MutexStats_msg_init; + +extern const upb_MiniTableFile envoy_admin_v3_mutex_stats_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ADMIN_V3_MUTEX_STATS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h b/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h similarity index 97% rename from src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h rename to src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h index 4857d33b1d5..a71152ff503 100644 --- a/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +++ b/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/server_info.proto * @@ -10,7 +9,15 @@ #define ENVOY_ADMIN_V3_SERVER_INFO_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/admin/v3/server_info.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,12 +26,8 @@ extern "C" { typedef struct envoy_admin_v3_ServerInfo envoy_admin_v3_ServerInfo; typedef struct envoy_admin_v3_CommandLineOptions envoy_admin_v3_CommandLineOptions; -extern const upb_MiniTable envoy_admin_v3_ServerInfo_msg_init; -extern const upb_MiniTable envoy_admin_v3_CommandLineOptions_msg_init; struct envoy_config_core_v3_Node; struct google_protobuf_Duration; -extern const upb_MiniTable envoy_config_core_v3_Node_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; typedef enum { envoy_admin_v3_CommandLineOptions_Gradual = 0, @@ -54,12 +57,12 @@ typedef enum { /* envoy.admin.v3.ServerInfo */ UPB_INLINE envoy_admin_v3_ServerInfo* envoy_admin_v3_ServerInfo_new(upb_Arena* arena) { - return (envoy_admin_v3_ServerInfo*)_upb_Message_New(&envoy_admin_v3_ServerInfo_msg_init, arena); + return (envoy_admin_v3_ServerInfo*)_upb_Message_New(&envoy__admin__v3__ServerInfo_msg_init, arena); } UPB_INLINE envoy_admin_v3_ServerInfo* envoy_admin_v3_ServerInfo_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_ServerInfo* ret = envoy_admin_v3_ServerInfo_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ServerInfo_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ServerInfo_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -69,7 +72,7 @@ UPB_INLINE envoy_admin_v3_ServerInfo* envoy_admin_v3_ServerInfo_parse_ex(const c int options, upb_Arena* arena) { envoy_admin_v3_ServerInfo* ret = envoy_admin_v3_ServerInfo_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_ServerInfo_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__ServerInfo_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -77,13 +80,13 @@ UPB_INLINE envoy_admin_v3_ServerInfo* envoy_admin_v3_ServerInfo_parse_ex(const c } UPB_INLINE char* envoy_admin_v3_ServerInfo_serialize(const envoy_admin_v3_ServerInfo* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ServerInfo_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ServerInfo_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_ServerInfo_serialize_ex(const envoy_admin_v3_ServerInfo* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_ServerInfo_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__ServerInfo_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_ServerInfo_clear_version(envoy_admin_v3_ServerInfo* msg) { @@ -195,7 +198,7 @@ UPB_INLINE void envoy_admin_v3_ServerInfo_set_uptime_current_epoch(envoy_admin_v UPB_INLINE struct google_protobuf_Duration* envoy_admin_v3_ServerInfo_mutable_uptime_current_epoch(envoy_admin_v3_ServerInfo* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_admin_v3_ServerInfo_uptime_current_epoch(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_admin_v3_ServerInfo_set_uptime_current_epoch(msg, sub); } return sub; @@ -207,7 +210,7 @@ UPB_INLINE void envoy_admin_v3_ServerInfo_set_uptime_all_epochs(envoy_admin_v3_S UPB_INLINE struct google_protobuf_Duration* envoy_admin_v3_ServerInfo_mutable_uptime_all_epochs(envoy_admin_v3_ServerInfo* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_admin_v3_ServerInfo_uptime_all_epochs(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_admin_v3_ServerInfo_set_uptime_all_epochs(msg, sub); } return sub; @@ -223,7 +226,7 @@ UPB_INLINE void envoy_admin_v3_ServerInfo_set_command_line_options(envoy_admin_v UPB_INLINE struct envoy_admin_v3_CommandLineOptions* envoy_admin_v3_ServerInfo_mutable_command_line_options(envoy_admin_v3_ServerInfo* msg, upb_Arena* arena) { struct envoy_admin_v3_CommandLineOptions* sub = (struct envoy_admin_v3_CommandLineOptions*)envoy_admin_v3_ServerInfo_command_line_options(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_CommandLineOptions*)_upb_Message_New(&envoy_admin_v3_CommandLineOptions_msg_init, arena); + sub = (struct envoy_admin_v3_CommandLineOptions*)_upb_Message_New(&envoy__admin__v3__CommandLineOptions_msg_init, arena); if (sub) envoy_admin_v3_ServerInfo_set_command_line_options(msg, sub); } return sub; @@ -235,7 +238,7 @@ UPB_INLINE void envoy_admin_v3_ServerInfo_set_node(envoy_admin_v3_ServerInfo *ms UPB_INLINE struct envoy_config_core_v3_Node* envoy_admin_v3_ServerInfo_mutable_node(envoy_admin_v3_ServerInfo* msg, upb_Arena* arena) { struct envoy_config_core_v3_Node* sub = (struct envoy_config_core_v3_Node*)envoy_admin_v3_ServerInfo_node(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy_config_core_v3_Node_msg_init, arena); + sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy__config__core__v3__Node_msg_init, arena); if (sub) envoy_admin_v3_ServerInfo_set_node(msg, sub); } return sub; @@ -244,12 +247,12 @@ UPB_INLINE struct envoy_config_core_v3_Node* envoy_admin_v3_ServerInfo_mutable_n /* envoy.admin.v3.CommandLineOptions */ UPB_INLINE envoy_admin_v3_CommandLineOptions* envoy_admin_v3_CommandLineOptions_new(upb_Arena* arena) { - return (envoy_admin_v3_CommandLineOptions*)_upb_Message_New(&envoy_admin_v3_CommandLineOptions_msg_init, arena); + return (envoy_admin_v3_CommandLineOptions*)_upb_Message_New(&envoy__admin__v3__CommandLineOptions_msg_init, arena); } UPB_INLINE envoy_admin_v3_CommandLineOptions* envoy_admin_v3_CommandLineOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_CommandLineOptions* ret = envoy_admin_v3_CommandLineOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_CommandLineOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__CommandLineOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -259,7 +262,7 @@ UPB_INLINE envoy_admin_v3_CommandLineOptions* envoy_admin_v3_CommandLineOptions_ int options, upb_Arena* arena) { envoy_admin_v3_CommandLineOptions* ret = envoy_admin_v3_CommandLineOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_CommandLineOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__CommandLineOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -267,13 +270,13 @@ UPB_INLINE envoy_admin_v3_CommandLineOptions* envoy_admin_v3_CommandLineOptions_ } UPB_INLINE char* envoy_admin_v3_CommandLineOptions_serialize(const envoy_admin_v3_CommandLineOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_CommandLineOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__CommandLineOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_CommandLineOptions_serialize_ex(const envoy_admin_v3_CommandLineOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_CommandLineOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__CommandLineOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_CommandLineOptions_clear_base_id(envoy_admin_v3_CommandLineOptions* msg) { @@ -778,7 +781,7 @@ UPB_INLINE void envoy_admin_v3_CommandLineOptions_set_file_flush_interval(envoy_ UPB_INLINE struct google_protobuf_Duration* envoy_admin_v3_CommandLineOptions_mutable_file_flush_interval(envoy_admin_v3_CommandLineOptions* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_admin_v3_CommandLineOptions_file_flush_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_admin_v3_CommandLineOptions_set_file_flush_interval(msg, sub); } return sub; @@ -790,7 +793,7 @@ UPB_INLINE void envoy_admin_v3_CommandLineOptions_set_drain_time(envoy_admin_v3_ UPB_INLINE struct google_protobuf_Duration* envoy_admin_v3_CommandLineOptions_mutable_drain_time(envoy_admin_v3_CommandLineOptions* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_admin_v3_CommandLineOptions_drain_time(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_admin_v3_CommandLineOptions_set_drain_time(msg, sub); } return sub; @@ -802,7 +805,7 @@ UPB_INLINE void envoy_admin_v3_CommandLineOptions_set_parent_shutdown_time(envoy UPB_INLINE struct google_protobuf_Duration* envoy_admin_v3_CommandLineOptions_mutable_parent_shutdown_time(envoy_admin_v3_CommandLineOptions* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_admin_v3_CommandLineOptions_parent_shutdown_time(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_admin_v3_CommandLineOptions_set_parent_shutdown_time(msg, sub); } return sub; @@ -916,8 +919,6 @@ UPB_INLINE bool envoy_admin_v3_CommandLineOptions_add_stats_tag(envoy_admin_v3_C return true; } -extern const upb_MiniTableFile envoy_admin_v3_server_info_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c b/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c new file mode 100644 index 00000000000..a09012ee472 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c @@ -0,0 +1,150 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/server_info.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/admin/v3/server_info.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_admin_v3_ServerInfo_submsgs[4] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__admin__v3__CommandLineOptions_msg_init}, + {.submsg = &envoy__config__core__v3__Node_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_ServerInfo__fields[7] = { + {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 56), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(20, 64), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__ServerInfo_msg_init = { + &envoy_admin_v3_ServerInfo_submsgs[0], + &envoy_admin_v3_ServerInfo__fields[0], + UPB_SIZE(40, 72), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x001800000100001a, &upb_psm_1bt_maxmaxb}, + {0x0020000002010022, &upb_psm_1bt_maxmaxb}, + {0x002800003f00002a, &upb_pss_1bt}, + {0x0038000003020032, &upb_psm_1bt_maxmaxb}, + {0x004000000403003a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_admin_v3_CommandLineOptions_submsgs[3] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_CommandLineOptions__fields[34] = { + {1, UPB_SIZE(72, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(80, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(88, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, 96, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(104, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(112, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(120, 144), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(128, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(136, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(144, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(152, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(16, 224), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(20, 232), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(24, 240), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(32, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(33, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(36, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(40, 28), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {26, UPB_SIZE(41, 29), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {27, UPB_SIZE(42, 30), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {28, UPB_SIZE(44, 248), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {30, UPB_SIZE(48, 31), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {31, UPB_SIZE(49, 32), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {32, UPB_SIZE(160, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {33, UPB_SIZE(52, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {34, UPB_SIZE(56, 40), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {35, UPB_SIZE(168, 272), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {36, UPB_SIZE(60, 44), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {37, UPB_SIZE(64, 48), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {38, UPB_SIZE(68, 288), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__CommandLineOptions_msg_init = { + &envoy_admin_v3_CommandLineOptions_submsgs[0], + &envoy_admin_v3_CommandLineOptions__fields[0], + UPB_SIZE(176, 296), 34, kUpb_ExtMode_NonExtendable, 11, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x003800003f000008, &upb_psv8_1bt}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x004000003f00001a, &upb_pss_1bt}, + {0x005000003f000022, &upb_pss_1bt}, + {0x000800003f000028, &upb_psb1_1bt}, + {0x006000003f000032, &upb_pss_1bt}, + {0x000c00003f000038, &upb_psv4_1bt}, + {0x007000003f000042, &upb_pss_1bt}, + {0x008000003f00004a, &upb_pss_1bt}, + {0x009000003f000052, &upb_pss_1bt}, + {0x00a000003f00005a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x00b000003f00006a, &upb_pss_1bt}, + {0x00c000003f000072, &upb_pss_1bt}, + {0x00d000003f00007a, &upb_pss_1bt}, + {0x00e0000001000182, &upb_psm_2bt_maxmaxb}, + {0x00e800000201018a, &upb_psm_2bt_maxmaxb}, + {0x00f0000003020192, &upb_psm_2bt_maxmaxb}, + {0x001000003f000198, &upb_psv4_2bt}, + {0x002c00003f0002a0, &upb_psv4_2bt}, + {0x003000003f0002a8, &upb_psb1_2bt}, + {0x001400003f0001b0, &upb_psb1_2bt}, + {0x001500003f0001b8, &upb_psb1_2bt}, + {0x001800003f0001c0, &upb_psv4_2bt}, + {0x001c00003f0001c8, &upb_psb1_2bt}, + {0x001d00003f0001d0, &upb_psb1_2bt}, + {0x001e00003f0001d8, &upb_psb1_2bt}, + {0x00f800003f0001e2, &upb_prs_2bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001f00003f0001f0, &upb_psb1_2bt}, + {0x002000003f0001f8, &upb_psb1_2bt}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__admin__v3__ServerInfo_msg_init, + &envoy__admin__v3__CommandLineOptions_msg_init, +}; + +const upb_MiniTableFile envoy_admin_v3_server_info_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h b/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h new file mode 100644 index 00000000000..56229607e30 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/server_info.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ADMIN_V3_SERVER_INFO_PROTO_UPB_MINITABLE_H_ +#define ENVOY_ADMIN_V3_SERVER_INFO_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__admin__v3__ServerInfo_msg_init; +extern const upb_MiniTable envoy__admin__v3__CommandLineOptions_msg_init; + +extern const upb_MiniTableFile envoy_admin_v3_server_info_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ADMIN_V3_SERVER_INFO_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h b/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h similarity index 84% rename from src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h rename to src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h index f4b479f4e6d..895aff51696 100644 --- a/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +++ b/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/tap.proto * @@ -10,7 +9,15 @@ #define ENVOY_ADMIN_V3_TAP_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/admin/v3/tap.upb_minitable.h" + +#include "envoy/config/tap/v3/common.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +25,19 @@ extern "C" { #endif typedef struct envoy_admin_v3_TapRequest envoy_admin_v3_TapRequest; -extern const upb_MiniTable envoy_admin_v3_TapRequest_msg_init; struct envoy_config_tap_v3_TapConfig; -extern const upb_MiniTable envoy_config_tap_v3_TapConfig_msg_init; /* envoy.admin.v3.TapRequest */ UPB_INLINE envoy_admin_v3_TapRequest* envoy_admin_v3_TapRequest_new(upb_Arena* arena) { - return (envoy_admin_v3_TapRequest*)_upb_Message_New(&envoy_admin_v3_TapRequest_msg_init, arena); + return (envoy_admin_v3_TapRequest*)_upb_Message_New(&envoy__admin__v3__TapRequest_msg_init, arena); } UPB_INLINE envoy_admin_v3_TapRequest* envoy_admin_v3_TapRequest_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_admin_v3_TapRequest* ret = envoy_admin_v3_TapRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_TapRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__admin__v3__TapRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +47,7 @@ UPB_INLINE envoy_admin_v3_TapRequest* envoy_admin_v3_TapRequest_parse_ex(const c int options, upb_Arena* arena) { envoy_admin_v3_TapRequest* ret = envoy_admin_v3_TapRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_admin_v3_TapRequest_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__admin__v3__TapRequest_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +55,13 @@ UPB_INLINE envoy_admin_v3_TapRequest* envoy_admin_v3_TapRequest_parse_ex(const c } UPB_INLINE char* envoy_admin_v3_TapRequest_serialize(const envoy_admin_v3_TapRequest* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_TapRequest_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__TapRequest_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_admin_v3_TapRequest_serialize_ex(const envoy_admin_v3_TapRequest* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_admin_v3_TapRequest_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__admin__v3__TapRequest_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_admin_v3_TapRequest_clear_config_id(envoy_admin_v3_TapRequest* msg) { @@ -97,14 +102,12 @@ UPB_INLINE void envoy_admin_v3_TapRequest_set_tap_config(envoy_admin_v3_TapReque UPB_INLINE struct envoy_config_tap_v3_TapConfig* envoy_admin_v3_TapRequest_mutable_tap_config(envoy_admin_v3_TapRequest* msg, upb_Arena* arena) { struct envoy_config_tap_v3_TapConfig* sub = (struct envoy_config_tap_v3_TapConfig*)envoy_admin_v3_TapRequest_tap_config(msg); if (sub == NULL) { - sub = (struct envoy_config_tap_v3_TapConfig*)_upb_Message_New(&envoy_config_tap_v3_TapConfig_msg_init, arena); + sub = (struct envoy_config_tap_v3_TapConfig*)_upb_Message_New(&envoy__config__tap__v3__TapConfig_msg_init, arena); if (sub) envoy_admin_v3_TapRequest_set_tap_config(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_admin_v3_tap_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c b/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c new file mode 100644 index 00000000000..dfeb01e569f --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c @@ -0,0 +1,54 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/tap.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/admin/v3/tap.upb_minitable.h" +#include "envoy/config/tap/v3/common.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_admin_v3_TapRequest_submsgs[1] = { + {.submsg = &envoy__config__tap__v3__TapConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_admin_v3_TapRequest__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__admin__v3__TapRequest_msg_init = { + &envoy_admin_v3_TapRequest_submsgs[0], + &envoy_admin_v3_TapRequest__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__admin__v3__TapRequest_msg_init, +}; + +const upb_MiniTableFile envoy_admin_v3_tap_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h b/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h new file mode 100644 index 00000000000..d80367838d4 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/admin/v3/tap.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ADMIN_V3_TAP_PROTO_UPB_MINITABLE_H_ +#define ENVOY_ADMIN_V3_TAP_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__admin__v3__TapRequest_msg_init; + +extern const upb_MiniTableFile envoy_admin_v3_tap_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ADMIN_V3_TAP_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h b/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h similarity index 90% rename from src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h rename to src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h index 54d8fbc9eb1..c5eb66d91b2 100644 --- a/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +++ b/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/annotations/deprecation.proto * @@ -10,21 +9,20 @@ #define ENVOY_ANNOTATIONS_DEPRECATION_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/annotations/deprecation.upb_minitable.h" + +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { #endif -extern const upb_MiniTableExtension envoy_annotations_disallowed_by_default_ext; -extern const upb_MiniTableExtension envoy_annotations_deprecated_at_minor_version_ext; -extern const upb_MiniTableExtension envoy_annotations_disallowed_by_default_enum_ext; -extern const upb_MiniTableExtension envoy_annotations_deprecated_at_minor_version_enum_ext; struct google_protobuf_EnumValueOptions; struct google_protobuf_FieldOptions; -extern const upb_MiniTable google_protobuf_EnumValueOptions_msg_init; -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; UPB_INLINE bool envoy_annotations_has_disallowed_by_default(const struct google_protobuf_FieldOptions* msg) { @@ -115,8 +113,6 @@ UPB_INLINE void envoy_annotations_set_deprecated_at_minor_version_enum(struct go bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); UPB_ASSERT(ok); } -extern const upb_MiniTableFile envoy_annotations_deprecation_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c b/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c new file mode 100644 index 00000000000..8ee1efeea00 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c @@ -0,0 +1,58 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/annotations/deprecation.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +const upb_MiniTableExtension envoy_annotations_disallowed_by_default_ext = { + {189503207, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__FieldOptions_msg_init, + {.submsg = NULL}, + +}; +const upb_MiniTableExtension envoy_annotations_deprecated_at_minor_version_ext = { + {157299826, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + &google__protobuf__FieldOptions_msg_init, + {.submsg = NULL}, + +}; +const upb_MiniTableExtension envoy_annotations_disallowed_by_default_enum_ext = { + {70100853, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__EnumValueOptions_msg_init, + {.submsg = NULL}, + +}; +const upb_MiniTableExtension envoy_annotations_deprecated_at_minor_version_enum_ext = { + {181198657, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + &google__protobuf__EnumValueOptions_msg_init, + {.submsg = NULL}, + +}; + +static const upb_MiniTableExtension *extensions_layout[4] = { + &envoy_annotations_disallowed_by_default_ext, + &envoy_annotations_deprecated_at_minor_version_ext, + &envoy_annotations_disallowed_by_default_enum_ext, + &envoy_annotations_deprecated_at_minor_version_enum_ext, +}; + +const upb_MiniTableFile envoy_annotations_deprecation_proto_upb_file_layout = { + NULL, + NULL, + extensions_layout, + 0, + 0, + 4, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h b/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h new file mode 100644 index 00000000000..f74c3758583 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h @@ -0,0 +1,33 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/annotations/deprecation.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ANNOTATIONS_DEPRECATION_PROTO_UPB_MINITABLE_H_ +#define ENVOY_ANNOTATIONS_DEPRECATION_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTableExtension envoy_annotations_disallowed_by_default_ext; +extern const upb_MiniTableExtension envoy_annotations_deprecated_at_minor_version_ext; +extern const upb_MiniTableExtension envoy_annotations_disallowed_by_default_enum_ext; +extern const upb_MiniTableExtension envoy_annotations_deprecated_at_minor_version_enum_ext; + +extern const upb_MiniTableFile envoy_annotations_deprecation_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ANNOTATIONS_DEPRECATION_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/annotations/resource.upb.h b/src/core/ext/upb-gen/envoy/annotations/resource.upb.h new file mode 100644 index 00000000000..5909196cc2e --- /dev/null +++ b/src/core/ext/upb-gen/envoy/annotations/resource.upb.h @@ -0,0 +1,109 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/annotations/resource.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPB_H_ +#define ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/annotations/resource.upb_minitable.h" + +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_annotations_ResourceAnnotation envoy_annotations_ResourceAnnotation; +struct google_protobuf_ServiceOptions; + + + +/* envoy.annotations.ResourceAnnotation */ + +UPB_INLINE envoy_annotations_ResourceAnnotation* envoy_annotations_ResourceAnnotation_new(upb_Arena* arena) { + return (envoy_annotations_ResourceAnnotation*)_upb_Message_New(&envoy__annotations__ResourceAnnotation_msg_init, arena); +} +UPB_INLINE envoy_annotations_ResourceAnnotation* envoy_annotations_ResourceAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_annotations_ResourceAnnotation* ret = envoy_annotations_ResourceAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__annotations__ResourceAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_annotations_ResourceAnnotation* envoy_annotations_ResourceAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_annotations_ResourceAnnotation* ret = envoy_annotations_ResourceAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__annotations__ResourceAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_annotations_ResourceAnnotation_serialize(const envoy_annotations_ResourceAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__annotations__ResourceAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_annotations_ResourceAnnotation_serialize_ex(const envoy_annotations_ResourceAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__annotations__ResourceAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_annotations_ResourceAnnotation_clear_type(envoy_annotations_ResourceAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_annotations_ResourceAnnotation_type(const envoy_annotations_ResourceAnnotation* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_annotations_ResourceAnnotation_set_type(envoy_annotations_ResourceAnnotation *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +UPB_INLINE bool envoy_annotations_has_resource(const struct google_protobuf_ServiceOptions* msg) { + return _upb_Message_HasExtensionField(msg, &envoy_annotations_resource_ext); +} +UPB_INLINE void envoy_annotations_clear_resource(struct google_protobuf_ServiceOptions* msg) { + _upb_Message_ClearExtensionField(msg, &envoy_annotations_resource_ext); +} +UPB_INLINE const envoy_annotations_ResourceAnnotation* envoy_annotations_resource(const struct google_protobuf_ServiceOptions* msg) { + const upb_MiniTableExtension* ext = &envoy_annotations_resource_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const envoy_annotations_ResourceAnnotation* default_val = NULL; + const envoy_annotations_ResourceAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_annotations_set_resource(struct google_protobuf_ServiceOptions* msg, const envoy_annotations_ResourceAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &envoy_annotations_resource_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c b/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c new file mode 100644 index 00000000000..1da333fb45a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c @@ -0,0 +1,55 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/annotations/resource.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/annotations/resource.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_annotations_ResourceAnnotation__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__annotations__ResourceAnnotation_msg_init = { + NULL, + &envoy_annotations_ResourceAnnotation__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__annotations__ResourceAnnotation_msg_init, +}; + +const upb_MiniTableExtension envoy_annotations_resource_ext = { + {265073217, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__ServiceOptions_msg_init, + {.submsg = &envoy__annotations__ResourceAnnotation_msg_init}, + +}; + +static const upb_MiniTableExtension *extensions_layout[1] = { + &envoy_annotations_resource_ext, +}; + +const upb_MiniTableFile envoy_annotations_resource_proto_upb_file_layout = { + messages_layout, + NULL, + extensions_layout, + 1, + 0, + 1, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h b/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h new file mode 100644 index 00000000000..03b2f147104 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/annotations/resource.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__annotations__ResourceAnnotation_msg_init; +extern const upb_MiniTableExtension envoy_annotations_resource_ext; + +extern const upb_MiniTableFile envoy_annotations_resource_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h b/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h new file mode 100644 index 00000000000..aef7a14aac0 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h @@ -0,0 +1,1753 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/accesslog/v3/accesslog.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_H_ +#define ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/config/accesslog/v3/accesslog.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/route/v3/route_components.upb_minitable.h" +#include "envoy/data/accesslog/v3/accesslog.upb_minitable.h" +#include "envoy/type/matcher/v3/metadata.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_config_accesslog_v3_AccessLog envoy_config_accesslog_v3_AccessLog; +typedef struct envoy_config_accesslog_v3_AccessLogFilter envoy_config_accesslog_v3_AccessLogFilter; +typedef struct envoy_config_accesslog_v3_ComparisonFilter envoy_config_accesslog_v3_ComparisonFilter; +typedef struct envoy_config_accesslog_v3_StatusCodeFilter envoy_config_accesslog_v3_StatusCodeFilter; +typedef struct envoy_config_accesslog_v3_DurationFilter envoy_config_accesslog_v3_DurationFilter; +typedef struct envoy_config_accesslog_v3_NotHealthCheckFilter envoy_config_accesslog_v3_NotHealthCheckFilter; +typedef struct envoy_config_accesslog_v3_TraceableFilter envoy_config_accesslog_v3_TraceableFilter; +typedef struct envoy_config_accesslog_v3_RuntimeFilter envoy_config_accesslog_v3_RuntimeFilter; +typedef struct envoy_config_accesslog_v3_AndFilter envoy_config_accesslog_v3_AndFilter; +typedef struct envoy_config_accesslog_v3_OrFilter envoy_config_accesslog_v3_OrFilter; +typedef struct envoy_config_accesslog_v3_HeaderFilter envoy_config_accesslog_v3_HeaderFilter; +typedef struct envoy_config_accesslog_v3_ResponseFlagFilter envoy_config_accesslog_v3_ResponseFlagFilter; +typedef struct envoy_config_accesslog_v3_GrpcStatusFilter envoy_config_accesslog_v3_GrpcStatusFilter; +typedef struct envoy_config_accesslog_v3_MetadataFilter envoy_config_accesslog_v3_MetadataFilter; +typedef struct envoy_config_accesslog_v3_LogTypeFilter envoy_config_accesslog_v3_LogTypeFilter; +typedef struct envoy_config_accesslog_v3_ExtensionFilter envoy_config_accesslog_v3_ExtensionFilter; +struct envoy_config_core_v3_RuntimeUInt32; +struct envoy_config_route_v3_HeaderMatcher; +struct envoy_type_matcher_v3_MetadataMatcher; +struct envoy_type_v3_FractionalPercent; +struct google_protobuf_Any; +struct google_protobuf_BoolValue; + +typedef enum { + envoy_config_accesslog_v3_ComparisonFilter_EQ = 0, + envoy_config_accesslog_v3_ComparisonFilter_GE = 1, + envoy_config_accesslog_v3_ComparisonFilter_LE = 2 +} envoy_config_accesslog_v3_ComparisonFilter_Op; + +typedef enum { + envoy_config_accesslog_v3_GrpcStatusFilter_OK = 0, + envoy_config_accesslog_v3_GrpcStatusFilter_CANCELED = 1, + envoy_config_accesslog_v3_GrpcStatusFilter_UNKNOWN = 2, + envoy_config_accesslog_v3_GrpcStatusFilter_INVALID_ARGUMENT = 3, + envoy_config_accesslog_v3_GrpcStatusFilter_DEADLINE_EXCEEDED = 4, + envoy_config_accesslog_v3_GrpcStatusFilter_NOT_FOUND = 5, + envoy_config_accesslog_v3_GrpcStatusFilter_ALREADY_EXISTS = 6, + envoy_config_accesslog_v3_GrpcStatusFilter_PERMISSION_DENIED = 7, + envoy_config_accesslog_v3_GrpcStatusFilter_RESOURCE_EXHAUSTED = 8, + envoy_config_accesslog_v3_GrpcStatusFilter_FAILED_PRECONDITION = 9, + envoy_config_accesslog_v3_GrpcStatusFilter_ABORTED = 10, + envoy_config_accesslog_v3_GrpcStatusFilter_OUT_OF_RANGE = 11, + envoy_config_accesslog_v3_GrpcStatusFilter_UNIMPLEMENTED = 12, + envoy_config_accesslog_v3_GrpcStatusFilter_INTERNAL = 13, + envoy_config_accesslog_v3_GrpcStatusFilter_UNAVAILABLE = 14, + envoy_config_accesslog_v3_GrpcStatusFilter_DATA_LOSS = 15, + envoy_config_accesslog_v3_GrpcStatusFilter_UNAUTHENTICATED = 16 +} envoy_config_accesslog_v3_GrpcStatusFilter_Status; + + + +/* envoy.config.accesslog.v3.AccessLog */ + +UPB_INLINE envoy_config_accesslog_v3_AccessLog* envoy_config_accesslog_v3_AccessLog_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_AccessLog*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLog_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_AccessLog* envoy_config_accesslog_v3_AccessLog_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_AccessLog* ret = envoy_config_accesslog_v3_AccessLog_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__AccessLog_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_AccessLog* envoy_config_accesslog_v3_AccessLog_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_AccessLog* ret = envoy_config_accesslog_v3_AccessLog_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__AccessLog_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_AccessLog_serialize(const envoy_config_accesslog_v3_AccessLog* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__AccessLog_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_AccessLog_serialize_ex(const envoy_config_accesslog_v3_AccessLog* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__AccessLog_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_accesslog_v3_AccessLog_config_type_typed_config = 4, + envoy_config_accesslog_v3_AccessLog_config_type_NOT_SET = 0 +} envoy_config_accesslog_v3_AccessLog_config_type_oneofcases; +UPB_INLINE envoy_config_accesslog_v3_AccessLog_config_type_oneofcases envoy_config_accesslog_v3_AccessLog_config_type_case(const envoy_config_accesslog_v3_AccessLog* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_accesslog_v3_AccessLog_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLog_clear_name(envoy_config_accesslog_v3_AccessLog* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_accesslog_v3_AccessLog_name(const envoy_config_accesslog_v3_AccessLog* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLog_clear_filter(envoy_config_accesslog_v3_AccessLog* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AccessLog_filter(const envoy_config_accesslog_v3_AccessLog* msg) { + const envoy_config_accesslog_v3_AccessLogFilter* default_val = NULL; + const envoy_config_accesslog_v3_AccessLogFilter* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLog_has_filter(const envoy_config_accesslog_v3_AccessLog* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLog_clear_typed_config(envoy_config_accesslog_v3_AccessLog* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Any* envoy_config_accesslog_v3_AccessLog_typed_config(const envoy_config_accesslog_v3_AccessLog* msg) { + const struct google_protobuf_Any* default_val = NULL; + const struct google_protobuf_Any* ret; + const upb_MiniTableField field = {4, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLog_has_typed_config(const envoy_config_accesslog_v3_AccessLog* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_accesslog_v3_AccessLog_set_name(envoy_config_accesslog_v3_AccessLog *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLog_set_filter(envoy_config_accesslog_v3_AccessLog *msg, envoy_config_accesslog_v3_AccessLogFilter* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AccessLog_mutable_filter(envoy_config_accesslog_v3_AccessLog* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_AccessLogFilter* sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)envoy_config_accesslog_v3_AccessLog_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLogFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLog_set_filter(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLog_set_typed_config(envoy_config_accesslog_v3_AccessLog *msg, struct google_protobuf_Any* value) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Any* envoy_config_accesslog_v3_AccessLog_mutable_typed_config(envoy_config_accesslog_v3_AccessLog* msg, upb_Arena* arena) { + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_accesslog_v3_AccessLog_typed_config(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLog_set_typed_config(msg, sub); + } + return sub; +} + +/* envoy.config.accesslog.v3.AccessLogFilter */ + +UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AccessLogFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_AccessLogFilter*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLogFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AccessLogFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_AccessLogFilter* ret = envoy_config_accesslog_v3_AccessLogFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__AccessLogFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AccessLogFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_AccessLogFilter* ret = envoy_config_accesslog_v3_AccessLogFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__AccessLogFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_AccessLogFilter_serialize(const envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__AccessLogFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_AccessLogFilter_serialize_ex(const envoy_config_accesslog_v3_AccessLogFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__AccessLogFilter_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_status_code_filter = 1, + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_duration_filter = 2, + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_not_health_check_filter = 3, + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_traceable_filter = 4, + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_runtime_filter = 5, + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_and_filter = 6, + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_or_filter = 7, + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_header_filter = 8, + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_response_flag_filter = 9, + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_grpc_status_filter = 10, + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_extension_filter = 11, + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_metadata_filter = 12, + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_log_type_filter = 13, + envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_NOT_SET = 0 +} envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_oneofcases; +UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_oneofcases envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_case(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_status_code_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3_AccessLogFilter_status_code_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const envoy_config_accesslog_v3_StatusCodeFilter* default_val = NULL; + const envoy_config_accesslog_v3_StatusCodeFilter* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_status_code_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_duration_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_AccessLogFilter_duration_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const envoy_config_accesslog_v3_DurationFilter* default_val = NULL; + const envoy_config_accesslog_v3_DurationFilter* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_duration_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_not_health_check_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslog_v3_AccessLogFilter_not_health_check_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const envoy_config_accesslog_v3_NotHealthCheckFilter* default_val = NULL; + const envoy_config_accesslog_v3_NotHealthCheckFilter* ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_not_health_check_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_traceable_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_AccessLogFilter_traceable_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const envoy_config_accesslog_v3_TraceableFilter* default_val = NULL; + const envoy_config_accesslog_v3_TraceableFilter* ret; + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_traceable_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_runtime_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_AccessLogFilter_runtime_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const envoy_config_accesslog_v3_RuntimeFilter* default_val = NULL; + const envoy_config_accesslog_v3_RuntimeFilter* ret; + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_runtime_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_and_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AccessLogFilter_and_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const envoy_config_accesslog_v3_AndFilter* default_val = NULL; + const envoy_config_accesslog_v3_AndFilter* ret; + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_and_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_or_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_AccessLogFilter_or_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const envoy_config_accesslog_v3_OrFilter* default_val = NULL; + const envoy_config_accesslog_v3_OrFilter* ret; + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_or_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_header_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_AccessLogFilter_header_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const envoy_config_accesslog_v3_HeaderFilter* default_val = NULL; + const envoy_config_accesslog_v3_HeaderFilter* ret; + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_header_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_response_flag_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_v3_AccessLogFilter_response_flag_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const envoy_config_accesslog_v3_ResponseFlagFilter* default_val = NULL; + const envoy_config_accesslog_v3_ResponseFlagFilter* ret; + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_response_flag_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_grpc_status_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3_AccessLogFilter_grpc_status_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const envoy_config_accesslog_v3_GrpcStatusFilter* default_val = NULL; + const envoy_config_accesslog_v3_GrpcStatusFilter* ret; + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_grpc_status_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_extension_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_AccessLogFilter_extension_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const envoy_config_accesslog_v3_ExtensionFilter* default_val = NULL; + const envoy_config_accesslog_v3_ExtensionFilter* ret; + const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_extension_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_metadata_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_AccessLogFilter_metadata_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const envoy_config_accesslog_v3_MetadataFilter* default_val = NULL; + const envoy_config_accesslog_v3_MetadataFilter* ret; + const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_metadata_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_log_type_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(4, 8), -1, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_AccessLogFilter_log_type_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const envoy_config_accesslog_v3_LogTypeFilter* default_val = NULL; + const envoy_config_accesslog_v3_LogTypeFilter* ret; + const upb_MiniTableField field = {13, UPB_SIZE(4, 8), -1, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_log_type_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(4, 8), -1, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_status_code_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_StatusCodeFilter* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_status_code_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_StatusCodeFilter* sub = (struct envoy_config_accesslog_v3_StatusCodeFilter*)envoy_config_accesslog_v3_AccessLogFilter_status_code_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_StatusCodeFilter*)_upb_Message_New(&envoy__config__accesslog__v3__StatusCodeFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_status_code_filter(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_duration_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_DurationFilter* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_duration_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_DurationFilter* sub = (struct envoy_config_accesslog_v3_DurationFilter*)envoy_config_accesslog_v3_AccessLogFilter_duration_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_DurationFilter*)_upb_Message_New(&envoy__config__accesslog__v3__DurationFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_duration_filter(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_not_health_check_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_NotHealthCheckFilter* value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_not_health_check_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_NotHealthCheckFilter* sub = (struct envoy_config_accesslog_v3_NotHealthCheckFilter*)envoy_config_accesslog_v3_AccessLogFilter_not_health_check_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_NotHealthCheckFilter*)_upb_Message_New(&envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_not_health_check_filter(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_traceable_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_TraceableFilter* value) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_traceable_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_TraceableFilter* sub = (struct envoy_config_accesslog_v3_TraceableFilter*)envoy_config_accesslog_v3_AccessLogFilter_traceable_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_TraceableFilter*)_upb_Message_New(&envoy__config__accesslog__v3__TraceableFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_traceable_filter(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_runtime_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_RuntimeFilter* value) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_runtime_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_RuntimeFilter* sub = (struct envoy_config_accesslog_v3_RuntimeFilter*)envoy_config_accesslog_v3_AccessLogFilter_runtime_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_RuntimeFilter*)_upb_Message_New(&envoy__config__accesslog__v3__RuntimeFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_runtime_filter(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_and_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_AndFilter* value) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_and_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_AndFilter* sub = (struct envoy_config_accesslog_v3_AndFilter*)envoy_config_accesslog_v3_AccessLogFilter_and_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_AndFilter*)_upb_Message_New(&envoy__config__accesslog__v3__AndFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_and_filter(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_or_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_OrFilter* value) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_or_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_OrFilter* sub = (struct envoy_config_accesslog_v3_OrFilter*)envoy_config_accesslog_v3_AccessLogFilter_or_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_OrFilter*)_upb_Message_New(&envoy__config__accesslog__v3__OrFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_or_filter(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_header_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_HeaderFilter* value) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_header_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_HeaderFilter* sub = (struct envoy_config_accesslog_v3_HeaderFilter*)envoy_config_accesslog_v3_AccessLogFilter_header_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_HeaderFilter*)_upb_Message_New(&envoy__config__accesslog__v3__HeaderFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_header_filter(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_response_flag_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_ResponseFlagFilter* value) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_response_flag_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_ResponseFlagFilter* sub = (struct envoy_config_accesslog_v3_ResponseFlagFilter*)envoy_config_accesslog_v3_AccessLogFilter_response_flag_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_ResponseFlagFilter*)_upb_Message_New(&envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_response_flag_filter(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_grpc_status_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_GrpcStatusFilter* value) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_grpc_status_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_GrpcStatusFilter* sub = (struct envoy_config_accesslog_v3_GrpcStatusFilter*)envoy_config_accesslog_v3_AccessLogFilter_grpc_status_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_GrpcStatusFilter*)_upb_Message_New(&envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_grpc_status_filter(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_extension_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_ExtensionFilter* value) { + const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_extension_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_ExtensionFilter* sub = (struct envoy_config_accesslog_v3_ExtensionFilter*)envoy_config_accesslog_v3_AccessLogFilter_extension_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_ExtensionFilter*)_upb_Message_New(&envoy__config__accesslog__v3__ExtensionFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_extension_filter(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_metadata_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_MetadataFilter* value) { + const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_metadata_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_MetadataFilter* sub = (struct envoy_config_accesslog_v3_MetadataFilter*)envoy_config_accesslog_v3_AccessLogFilter_metadata_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_MetadataFilter*)_upb_Message_New(&envoy__config__accesslog__v3__MetadataFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_metadata_filter(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_log_type_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_LogTypeFilter* value) { + const upb_MiniTableField field = {13, UPB_SIZE(4, 8), -1, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_log_type_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_LogTypeFilter* sub = (struct envoy_config_accesslog_v3_LogTypeFilter*)envoy_config_accesslog_v3_AccessLogFilter_log_type_filter(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_LogTypeFilter*)_upb_Message_New(&envoy__config__accesslog__v3__LogTypeFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_log_type_filter(msg, sub); + } + return sub; +} + +/* envoy.config.accesslog.v3.ComparisonFilter */ + +UPB_INLINE envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_ComparisonFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_ComparisonFilter*)_upb_Message_New(&envoy__config__accesslog__v3__ComparisonFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_ComparisonFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_ComparisonFilter* ret = envoy_config_accesslog_v3_ComparisonFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__ComparisonFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_ComparisonFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_ComparisonFilter* ret = envoy_config_accesslog_v3_ComparisonFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__ComparisonFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_ComparisonFilter_serialize(const envoy_config_accesslog_v3_ComparisonFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__ComparisonFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_ComparisonFilter_serialize_ex(const envoy_config_accesslog_v3_ComparisonFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__ComparisonFilter_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_accesslog_v3_ComparisonFilter_clear_op(envoy_config_accesslog_v3_ComparisonFilter* msg) { + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_config_accesslog_v3_ComparisonFilter_op(const envoy_config_accesslog_v3_ComparisonFilter* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_accesslog_v3_ComparisonFilter_clear_value(envoy_config_accesslog_v3_ComparisonFilter* msg) { + const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_RuntimeUInt32* envoy_config_accesslog_v3_ComparisonFilter_value(const envoy_config_accesslog_v3_ComparisonFilter* msg) { + const struct envoy_config_core_v3_RuntimeUInt32* default_val = NULL; + const struct envoy_config_core_v3_RuntimeUInt32* ret; + const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_ComparisonFilter_has_value(const envoy_config_accesslog_v3_ComparisonFilter* msg) { + const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_accesslog_v3_ComparisonFilter_set_op(envoy_config_accesslog_v3_ComparisonFilter *msg, int32_t value) { + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_accesslog_v3_ComparisonFilter_set_value(envoy_config_accesslog_v3_ComparisonFilter *msg, struct envoy_config_core_v3_RuntimeUInt32* value) { + const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_RuntimeUInt32* envoy_config_accesslog_v3_ComparisonFilter_mutable_value(envoy_config_accesslog_v3_ComparisonFilter* msg, upb_Arena* arena) { + struct envoy_config_core_v3_RuntimeUInt32* sub = (struct envoy_config_core_v3_RuntimeUInt32*)envoy_config_accesslog_v3_ComparisonFilter_value(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_RuntimeUInt32*)_upb_Message_New(&envoy__config__core__v3__RuntimeUInt32_msg_init, arena); + if (sub) envoy_config_accesslog_v3_ComparisonFilter_set_value(msg, sub); + } + return sub; +} + +/* envoy.config.accesslog.v3.StatusCodeFilter */ + +UPB_INLINE envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3_StatusCodeFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_StatusCodeFilter*)_upb_Message_New(&envoy__config__accesslog__v3__StatusCodeFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3_StatusCodeFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_StatusCodeFilter* ret = envoy_config_accesslog_v3_StatusCodeFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__StatusCodeFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3_StatusCodeFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_StatusCodeFilter* ret = envoy_config_accesslog_v3_StatusCodeFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__StatusCodeFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_StatusCodeFilter_serialize(const envoy_config_accesslog_v3_StatusCodeFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__StatusCodeFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_StatusCodeFilter_serialize_ex(const envoy_config_accesslog_v3_StatusCodeFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__StatusCodeFilter_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_accesslog_v3_StatusCodeFilter_clear_comparison(envoy_config_accesslog_v3_StatusCodeFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_StatusCodeFilter_comparison(const envoy_config_accesslog_v3_StatusCodeFilter* msg) { + const envoy_config_accesslog_v3_ComparisonFilter* default_val = NULL; + const envoy_config_accesslog_v3_ComparisonFilter* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_StatusCodeFilter_has_comparison(const envoy_config_accesslog_v3_StatusCodeFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_accesslog_v3_StatusCodeFilter_set_comparison(envoy_config_accesslog_v3_StatusCodeFilter *msg, envoy_config_accesslog_v3_ComparisonFilter* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_StatusCodeFilter_mutable_comparison(envoy_config_accesslog_v3_StatusCodeFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_ComparisonFilter* sub = (struct envoy_config_accesslog_v3_ComparisonFilter*)envoy_config_accesslog_v3_StatusCodeFilter_comparison(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_ComparisonFilter*)_upb_Message_New(&envoy__config__accesslog__v3__ComparisonFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_StatusCodeFilter_set_comparison(msg, sub); + } + return sub; +} + +/* envoy.config.accesslog.v3.DurationFilter */ + +UPB_INLINE envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_DurationFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_DurationFilter*)_upb_Message_New(&envoy__config__accesslog__v3__DurationFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_DurationFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_DurationFilter* ret = envoy_config_accesslog_v3_DurationFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__DurationFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_DurationFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_DurationFilter* ret = envoy_config_accesslog_v3_DurationFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__DurationFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_DurationFilter_serialize(const envoy_config_accesslog_v3_DurationFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__DurationFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_DurationFilter_serialize_ex(const envoy_config_accesslog_v3_DurationFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__DurationFilter_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_accesslog_v3_DurationFilter_clear_comparison(envoy_config_accesslog_v3_DurationFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_DurationFilter_comparison(const envoy_config_accesslog_v3_DurationFilter* msg) { + const envoy_config_accesslog_v3_ComparisonFilter* default_val = NULL; + const envoy_config_accesslog_v3_ComparisonFilter* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_DurationFilter_has_comparison(const envoy_config_accesslog_v3_DurationFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_accesslog_v3_DurationFilter_set_comparison(envoy_config_accesslog_v3_DurationFilter *msg, envoy_config_accesslog_v3_ComparisonFilter* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_DurationFilter_mutable_comparison(envoy_config_accesslog_v3_DurationFilter* msg, upb_Arena* arena) { + struct envoy_config_accesslog_v3_ComparisonFilter* sub = (struct envoy_config_accesslog_v3_ComparisonFilter*)envoy_config_accesslog_v3_DurationFilter_comparison(msg); + if (sub == NULL) { + sub = (struct envoy_config_accesslog_v3_ComparisonFilter*)_upb_Message_New(&envoy__config__accesslog__v3__ComparisonFilter_msg_init, arena); + if (sub) envoy_config_accesslog_v3_DurationFilter_set_comparison(msg, sub); + } + return sub; +} + +/* envoy.config.accesslog.v3.NotHealthCheckFilter */ + +UPB_INLINE envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslog_v3_NotHealthCheckFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_NotHealthCheckFilter*)_upb_Message_New(&envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslog_v3_NotHealthCheckFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_NotHealthCheckFilter* ret = envoy_config_accesslog_v3_NotHealthCheckFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslog_v3_NotHealthCheckFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_NotHealthCheckFilter* ret = envoy_config_accesslog_v3_NotHealthCheckFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_NotHealthCheckFilter_serialize(const envoy_config_accesslog_v3_NotHealthCheckFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_NotHealthCheckFilter_serialize_ex(const envoy_config_accesslog_v3_NotHealthCheckFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* envoy.config.accesslog.v3.TraceableFilter */ + +UPB_INLINE envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_TraceableFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_TraceableFilter*)_upb_Message_New(&envoy__config__accesslog__v3__TraceableFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_TraceableFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_TraceableFilter* ret = envoy_config_accesslog_v3_TraceableFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__TraceableFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_TraceableFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_TraceableFilter* ret = envoy_config_accesslog_v3_TraceableFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__TraceableFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_TraceableFilter_serialize(const envoy_config_accesslog_v3_TraceableFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__TraceableFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_TraceableFilter_serialize_ex(const envoy_config_accesslog_v3_TraceableFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__TraceableFilter_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* envoy.config.accesslog.v3.RuntimeFilter */ + +UPB_INLINE envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_RuntimeFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_RuntimeFilter*)_upb_Message_New(&envoy__config__accesslog__v3__RuntimeFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_RuntimeFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_RuntimeFilter* ret = envoy_config_accesslog_v3_RuntimeFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__RuntimeFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_RuntimeFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_RuntimeFilter* ret = envoy_config_accesslog_v3_RuntimeFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__RuntimeFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_RuntimeFilter_serialize(const envoy_config_accesslog_v3_RuntimeFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__RuntimeFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_RuntimeFilter_serialize_ex(const envoy_config_accesslog_v3_RuntimeFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__RuntimeFilter_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_clear_runtime_key(envoy_config_accesslog_v3_RuntimeFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_accesslog_v3_RuntimeFilter_runtime_key(const envoy_config_accesslog_v3_RuntimeFilter* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_clear_percent_sampled(envoy_config_accesslog_v3_RuntimeFilter* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_v3_FractionalPercent* envoy_config_accesslog_v3_RuntimeFilter_percent_sampled(const envoy_config_accesslog_v3_RuntimeFilter* msg) { + const struct envoy_type_v3_FractionalPercent* default_val = NULL; + const struct envoy_type_v3_FractionalPercent* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_RuntimeFilter_has_percent_sampled(const envoy_config_accesslog_v3_RuntimeFilter* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_clear_use_independent_randomness(envoy_config_accesslog_v3_RuntimeFilter* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_accesslog_v3_RuntimeFilter_use_independent_randomness(const envoy_config_accesslog_v3_RuntimeFilter* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_set_runtime_key(envoy_config_accesslog_v3_RuntimeFilter *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_set_percent_sampled(envoy_config_accesslog_v3_RuntimeFilter *msg, struct envoy_type_v3_FractionalPercent* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_accesslog_v3_RuntimeFilter_mutable_percent_sampled(envoy_config_accesslog_v3_RuntimeFilter* msg, upb_Arena* arena) { + struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_config_accesslog_v3_RuntimeFilter_percent_sampled(msg); + if (sub == NULL) { + sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy__type__v3__FractionalPercent_msg_init, arena); + if (sub) envoy_config_accesslog_v3_RuntimeFilter_set_percent_sampled(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_set_use_independent_randomness(envoy_config_accesslog_v3_RuntimeFilter *msg, bool value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.accesslog.v3.AndFilter */ + +UPB_INLINE envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AndFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_AndFilter*)_upb_Message_New(&envoy__config__accesslog__v3__AndFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AndFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_AndFilter* ret = envoy_config_accesslog_v3_AndFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__AndFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AndFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_AndFilter* ret = envoy_config_accesslog_v3_AndFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__AndFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_AndFilter_serialize(const envoy_config_accesslog_v3_AndFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__AndFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_AndFilter_serialize_ex(const envoy_config_accesslog_v3_AndFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__AndFilter_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_accesslog_v3_AndFilter_clear_filters(envoy_config_accesslog_v3_AndFilter* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_AccessLogFilter* const* envoy_config_accesslog_v3_AndFilter_filters(const envoy_config_accesslog_v3_AndFilter* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_accesslog_v3_AccessLogFilter* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_AndFilter_filters_upb_array(const envoy_config_accesslog_v3_AndFilter* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_accesslog_v3_AndFilter_filters_mutable_upb_array(const envoy_config_accesslog_v3_AndFilter* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_accesslog_v3_AndFilter_has_filters(const envoy_config_accesslog_v3_AndFilter* msg) { + size_t size; + envoy_config_accesslog_v3_AndFilter_filters(msg, &size); + return size != 0; +} + +UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter** envoy_config_accesslog_v3_AndFilter_mutable_filters(envoy_config_accesslog_v3_AndFilter* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_accesslog_v3_AccessLogFilter**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter** envoy_config_accesslog_v3_AndFilter_resize_filters(envoy_config_accesslog_v3_AndFilter* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_accesslog_v3_AccessLogFilter**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AndFilter_add_filters(envoy_config_accesslog_v3_AndFilter* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_accesslog_v3_AccessLogFilter* sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLogFilter_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.accesslog.v3.OrFilter */ + +UPB_INLINE envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_OrFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_OrFilter*)_upb_Message_New(&envoy__config__accesslog__v3__OrFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_OrFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_OrFilter* ret = envoy_config_accesslog_v3_OrFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__OrFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_OrFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_OrFilter* ret = envoy_config_accesslog_v3_OrFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__OrFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_OrFilter_serialize(const envoy_config_accesslog_v3_OrFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__OrFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_OrFilter_serialize_ex(const envoy_config_accesslog_v3_OrFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__OrFilter_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_accesslog_v3_OrFilter_clear_filters(envoy_config_accesslog_v3_OrFilter* msg) { + const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_accesslog_v3_AccessLogFilter* const* envoy_config_accesslog_v3_OrFilter_filters(const envoy_config_accesslog_v3_OrFilter* msg, size_t* size) { + const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_accesslog_v3_AccessLogFilter* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_OrFilter_filters_upb_array(const envoy_config_accesslog_v3_OrFilter* msg, size_t* size) { + const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_accesslog_v3_OrFilter_filters_mutable_upb_array(const envoy_config_accesslog_v3_OrFilter* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_accesslog_v3_OrFilter_has_filters(const envoy_config_accesslog_v3_OrFilter* msg) { + size_t size; + envoy_config_accesslog_v3_OrFilter_filters(msg, &size); + return size != 0; +} + +UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter** envoy_config_accesslog_v3_OrFilter_mutable_filters(envoy_config_accesslog_v3_OrFilter* msg, size_t* size) { + upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_accesslog_v3_AccessLogFilter**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter** envoy_config_accesslog_v3_OrFilter_resize_filters(envoy_config_accesslog_v3_OrFilter* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_accesslog_v3_AccessLogFilter**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_OrFilter_add_filters(envoy_config_accesslog_v3_OrFilter* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_accesslog_v3_AccessLogFilter* sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLogFilter_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.accesslog.v3.HeaderFilter */ + +UPB_INLINE envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_HeaderFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_HeaderFilter*)_upb_Message_New(&envoy__config__accesslog__v3__HeaderFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_HeaderFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_HeaderFilter* ret = envoy_config_accesslog_v3_HeaderFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__HeaderFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_HeaderFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_HeaderFilter* ret = envoy_config_accesslog_v3_HeaderFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__HeaderFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_HeaderFilter_serialize(const envoy_config_accesslog_v3_HeaderFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__HeaderFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_HeaderFilter_serialize_ex(const envoy_config_accesslog_v3_HeaderFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__HeaderFilter_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_accesslog_v3_HeaderFilter_clear_header(envoy_config_accesslog_v3_HeaderFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* envoy_config_accesslog_v3_HeaderFilter_header(const envoy_config_accesslog_v3_HeaderFilter* msg) { + const struct envoy_config_route_v3_HeaderMatcher* default_val = NULL; + const struct envoy_config_route_v3_HeaderMatcher* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_HeaderFilter_has_header(const envoy_config_accesslog_v3_HeaderFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_accesslog_v3_HeaderFilter_set_header(envoy_config_accesslog_v3_HeaderFilter *msg, struct envoy_config_route_v3_HeaderMatcher* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_accesslog_v3_HeaderFilter_mutable_header(envoy_config_accesslog_v3_HeaderFilter* msg, upb_Arena* arena) { + struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)envoy_config_accesslog_v3_HeaderFilter_header(msg); + if (sub == NULL) { + sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena); + if (sub) envoy_config_accesslog_v3_HeaderFilter_set_header(msg, sub); + } + return sub; +} + +/* envoy.config.accesslog.v3.ResponseFlagFilter */ + +UPB_INLINE envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_v3_ResponseFlagFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_ResponseFlagFilter*)_upb_Message_New(&envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_v3_ResponseFlagFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_ResponseFlagFilter* ret = envoy_config_accesslog_v3_ResponseFlagFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_v3_ResponseFlagFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_ResponseFlagFilter* ret = envoy_config_accesslog_v3_ResponseFlagFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_ResponseFlagFilter_serialize(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_ResponseFlagFilter_serialize_ex(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_accesslog_v3_ResponseFlagFilter_clear_flags(envoy_config_accesslog_v3_ResponseFlagFilter* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* envoy_config_accesslog_v3_ResponseFlagFilter_flags(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_ResponseFlagFilter_flags_upb_array(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_accesslog_v3_ResponseFlagFilter_flags_mutable_upb_array(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_accesslog_v3_ResponseFlagFilter_has_flags(const envoy_config_accesslog_v3_ResponseFlagFilter* msg) { + size_t size; + envoy_config_accesslog_v3_ResponseFlagFilter_flags(msg, &size); + return size != 0; +} + +UPB_INLINE upb_StringView* envoy_config_accesslog_v3_ResponseFlagFilter_mutable_flags(envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* envoy_config_accesslog_v3_ResponseFlagFilter_resize_flags(envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool envoy_config_accesslog_v3_ResponseFlagFilter_add_flags(envoy_config_accesslog_v3_ResponseFlagFilter* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} + +/* envoy.config.accesslog.v3.GrpcStatusFilter */ + +UPB_INLINE envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3_GrpcStatusFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_GrpcStatusFilter*)_upb_Message_New(&envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3_GrpcStatusFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_GrpcStatusFilter* ret = envoy_config_accesslog_v3_GrpcStatusFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3_GrpcStatusFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_GrpcStatusFilter* ret = envoy_config_accesslog_v3_GrpcStatusFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_GrpcStatusFilter_serialize(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_GrpcStatusFilter_serialize_ex(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_accesslog_v3_GrpcStatusFilter_clear_statuses(envoy_config_accesslog_v3_GrpcStatusFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t const* envoy_config_accesslog_v3_GrpcStatusFilter_statuses(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_GrpcStatusFilter_statuses_upb_array(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_accesslog_v3_GrpcStatusFilter_statuses_mutable_upb_array(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_accesslog_v3_GrpcStatusFilter_has_statuses(const envoy_config_accesslog_v3_GrpcStatusFilter* msg) { + size_t size; + envoy_config_accesslog_v3_GrpcStatusFilter_statuses(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_accesslog_v3_GrpcStatusFilter_clear_exclude(envoy_config_accesslog_v3_GrpcStatusFilter* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_accesslog_v3_GrpcStatusFilter_exclude(const envoy_config_accesslog_v3_GrpcStatusFilter* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE int32_t* envoy_config_accesslog_v3_GrpcStatusFilter_mutable_statuses(envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE int32_t* envoy_config_accesslog_v3_GrpcStatusFilter_resize_statuses(envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool envoy_config_accesslog_v3_GrpcStatusFilter_add_statuses(envoy_config_accesslog_v3_GrpcStatusFilter* msg, int32_t val, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE void envoy_config_accesslog_v3_GrpcStatusFilter_set_exclude(envoy_config_accesslog_v3_GrpcStatusFilter *msg, bool value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.accesslog.v3.MetadataFilter */ + +UPB_INLINE envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_MetadataFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_MetadataFilter*)_upb_Message_New(&envoy__config__accesslog__v3__MetadataFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_MetadataFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_MetadataFilter* ret = envoy_config_accesslog_v3_MetadataFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__MetadataFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_MetadataFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_MetadataFilter* ret = envoy_config_accesslog_v3_MetadataFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__MetadataFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_MetadataFilter_serialize(const envoy_config_accesslog_v3_MetadataFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__MetadataFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_MetadataFilter_serialize_ex(const envoy_config_accesslog_v3_MetadataFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__MetadataFilter_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_accesslog_v3_MetadataFilter_clear_matcher(envoy_config_accesslog_v3_MetadataFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_accesslog_v3_MetadataFilter_matcher(const envoy_config_accesslog_v3_MetadataFilter* msg) { + const struct envoy_type_matcher_v3_MetadataMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_MetadataMatcher* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_MetadataFilter_has_matcher(const envoy_config_accesslog_v3_MetadataFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_MetadataFilter_clear_match_if_key_not_found(envoy_config_accesslog_v3_MetadataFilter* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_accesslog_v3_MetadataFilter_match_if_key_not_found(const envoy_config_accesslog_v3_MetadataFilter* msg) { + const struct google_protobuf_BoolValue* default_val = NULL; + const struct google_protobuf_BoolValue* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_MetadataFilter_has_match_if_key_not_found(const envoy_config_accesslog_v3_MetadataFilter* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_accesslog_v3_MetadataFilter_set_matcher(envoy_config_accesslog_v3_MetadataFilter *msg, struct envoy_type_matcher_v3_MetadataMatcher* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_accesslog_v3_MetadataFilter_mutable_matcher(envoy_config_accesslog_v3_MetadataFilter* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_MetadataMatcher* sub = (struct envoy_type_matcher_v3_MetadataMatcher*)envoy_config_accesslog_v3_MetadataFilter_matcher(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_MetadataMatcher*)_upb_Message_New(&envoy__type__matcher__v3__MetadataMatcher_msg_init, arena); + if (sub) envoy_config_accesslog_v3_MetadataFilter_set_matcher(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_accesslog_v3_MetadataFilter_set_match_if_key_not_found(envoy_config_accesslog_v3_MetadataFilter *msg, struct google_protobuf_BoolValue* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_BoolValue* envoy_config_accesslog_v3_MetadataFilter_mutable_match_if_key_not_found(envoy_config_accesslog_v3_MetadataFilter* msg, upb_Arena* arena) { + struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_accesslog_v3_MetadataFilter_match_if_key_not_found(msg); + if (sub == NULL) { + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); + if (sub) envoy_config_accesslog_v3_MetadataFilter_set_match_if_key_not_found(msg, sub); + } + return sub; +} + +/* envoy.config.accesslog.v3.LogTypeFilter */ + +UPB_INLINE envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_LogTypeFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_LogTypeFilter*)_upb_Message_New(&envoy__config__accesslog__v3__LogTypeFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_LogTypeFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_LogTypeFilter* ret = envoy_config_accesslog_v3_LogTypeFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__LogTypeFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_LogTypeFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_LogTypeFilter* ret = envoy_config_accesslog_v3_LogTypeFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__LogTypeFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_LogTypeFilter_serialize(const envoy_config_accesslog_v3_LogTypeFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__LogTypeFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_LogTypeFilter_serialize_ex(const envoy_config_accesslog_v3_LogTypeFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__LogTypeFilter_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_accesslog_v3_LogTypeFilter_clear_types(envoy_config_accesslog_v3_LogTypeFilter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t const* envoy_config_accesslog_v3_LogTypeFilter_types(const envoy_config_accesslog_v3_LogTypeFilter* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_LogTypeFilter_types_upb_array(const envoy_config_accesslog_v3_LogTypeFilter* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_accesslog_v3_LogTypeFilter_types_mutable_upb_array(const envoy_config_accesslog_v3_LogTypeFilter* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_accesslog_v3_LogTypeFilter_has_types(const envoy_config_accesslog_v3_LogTypeFilter* msg) { + size_t size; + envoy_config_accesslog_v3_LogTypeFilter_types(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_accesslog_v3_LogTypeFilter_clear_exclude(envoy_config_accesslog_v3_LogTypeFilter* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_accesslog_v3_LogTypeFilter_exclude(const envoy_config_accesslog_v3_LogTypeFilter* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE int32_t* envoy_config_accesslog_v3_LogTypeFilter_mutable_types(envoy_config_accesslog_v3_LogTypeFilter* msg, size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE int32_t* envoy_config_accesslog_v3_LogTypeFilter_resize_types(envoy_config_accesslog_v3_LogTypeFilter* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool envoy_config_accesslog_v3_LogTypeFilter_add_types(envoy_config_accesslog_v3_LogTypeFilter* msg, int32_t val, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE void envoy_config_accesslog_v3_LogTypeFilter_set_exclude(envoy_config_accesslog_v3_LogTypeFilter *msg, bool value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.accesslog.v3.ExtensionFilter */ + +UPB_INLINE envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_ExtensionFilter_new(upb_Arena* arena) { + return (envoy_config_accesslog_v3_ExtensionFilter*)_upb_Message_New(&envoy__config__accesslog__v3__ExtensionFilter_msg_init, arena); +} +UPB_INLINE envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_ExtensionFilter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_accesslog_v3_ExtensionFilter* ret = envoy_config_accesslog_v3_ExtensionFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__ExtensionFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_ExtensionFilter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_accesslog_v3_ExtensionFilter* ret = envoy_config_accesslog_v3_ExtensionFilter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__accesslog__v3__ExtensionFilter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_accesslog_v3_ExtensionFilter_serialize(const envoy_config_accesslog_v3_ExtensionFilter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__ExtensionFilter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_accesslog_v3_ExtensionFilter_serialize_ex(const envoy_config_accesslog_v3_ExtensionFilter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__accesslog__v3__ExtensionFilter_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_accesslog_v3_ExtensionFilter_config_type_typed_config = 3, + envoy_config_accesslog_v3_ExtensionFilter_config_type_NOT_SET = 0 +} envoy_config_accesslog_v3_ExtensionFilter_config_type_oneofcases; +UPB_INLINE envoy_config_accesslog_v3_ExtensionFilter_config_type_oneofcases envoy_config_accesslog_v3_ExtensionFilter_config_type_case(const envoy_config_accesslog_v3_ExtensionFilter* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_accesslog_v3_ExtensionFilter_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_accesslog_v3_ExtensionFilter_clear_name(envoy_config_accesslog_v3_ExtensionFilter* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_accesslog_v3_ExtensionFilter_name(const envoy_config_accesslog_v3_ExtensionFilter* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_accesslog_v3_ExtensionFilter_clear_typed_config(envoy_config_accesslog_v3_ExtensionFilter* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Any* envoy_config_accesslog_v3_ExtensionFilter_typed_config(const envoy_config_accesslog_v3_ExtensionFilter* msg) { + const struct google_protobuf_Any* default_val = NULL; + const struct google_protobuf_Any* ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_accesslog_v3_ExtensionFilter_has_typed_config(const envoy_config_accesslog_v3_ExtensionFilter* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_accesslog_v3_ExtensionFilter_set_name(envoy_config_accesslog_v3_ExtensionFilter *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_accesslog_v3_ExtensionFilter_set_typed_config(envoy_config_accesslog_v3_ExtensionFilter *msg, struct google_protobuf_Any* value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Any* envoy_config_accesslog_v3_ExtensionFilter_mutable_typed_config(envoy_config_accesslog_v3_ExtensionFilter* msg, upb_Arena* arena) { + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_accesslog_v3_ExtensionFilter_typed_config(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); + if (sub) envoy_config_accesslog_v3_ExtensionFilter_set_typed_config(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c new file mode 100644 index 00000000000..95d71bcaac8 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c @@ -0,0 +1,375 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/accesslog/v3/accesslog.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/accesslog/v3/accesslog.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/route/v3/route_components.upb_minitable.h" +#include "envoy/data/accesslog/v3/accesslog.upb_minitable.h" +#include "envoy/type/matcher/v3/metadata.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_accesslog_v3_AccessLog_submsgs[2] = { + {.submsg = &envoy__config__accesslog__v3__AccessLogFilter_msg_init}, + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_AccessLog__fields[3] = { + {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__AccessLog_msg_init = { + &envoy_config_accesslog_v3_AccessLog_submsgs[0], + &envoy_config_accesslog_v3_AccessLog__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0020000404010022, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_accesslog_v3_AccessLogFilter_submsgs[13] = { + {.submsg = &envoy__config__accesslog__v3__StatusCodeFilter_msg_init}, + {.submsg = &envoy__config__accesslog__v3__DurationFilter_msg_init}, + {.submsg = &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init}, + {.submsg = &envoy__config__accesslog__v3__TraceableFilter_msg_init}, + {.submsg = &envoy__config__accesslog__v3__RuntimeFilter_msg_init}, + {.submsg = &envoy__config__accesslog__v3__AndFilter_msg_init}, + {.submsg = &envoy__config__accesslog__v3__OrFilter_msg_init}, + {.submsg = &envoy__config__accesslog__v3__HeaderFilter_msg_init}, + {.submsg = &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init}, + {.submsg = &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init}, + {.submsg = &envoy__config__accesslog__v3__ExtensionFilter_msg_init}, + {.submsg = &envoy__config__accesslog__v3__MetadataFilter_msg_init}, + {.submsg = &envoy__config__accesslog__v3__LogTypeFilter_msg_init}, +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_AccessLogFilter__fields[13] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(4, 8), -1, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(4, 8), -1, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__AccessLogFilter_msg_init = { + &envoy_config_accesslog_v3_AccessLogFilter_submsgs[0], + &envoy_config_accesslog_v3_AccessLogFilter__fields[0], + UPB_SIZE(8, 16), 13, kUpb_ExtMode_NonExtendable, 13, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + {0x0008000004030022, &upb_pom_1bt_max64b}, + {0x000800000504002a, &upb_pom_1bt_max64b}, + {0x0008000006050032, &upb_pom_1bt_max64b}, + {0x000800000706003a, &upb_pom_1bt_max64b}, + {0x0008000008070042, &upb_pom_1bt_max64b}, + {0x000800000908004a, &upb_pom_1bt_max64b}, + {0x000800000a090052, &upb_pom_1bt_max64b}, + {0x000800000b0a005a, &upb_pom_1bt_max64b}, + {0x000800000c0b0062, &upb_pom_1bt_max64b}, + {0x000800000d0c006a, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_accesslog_v3_ComparisonFilter_submsgs[1] = { + {.submsg = &envoy__config__core__v3__RuntimeUInt32_msg_init}, +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_ComparisonFilter__fields[2] = { + {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__ComparisonFilter_msg_init = { + &envoy_config_accesslog_v3_ComparisonFilter_submsgs[0], + &envoy_config_accesslog_v3_ComparisonFilter__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x0008000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_accesslog_v3_StatusCodeFilter_submsgs[1] = { + {.submsg = &envoy__config__accesslog__v3__ComparisonFilter_msg_init}, +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_StatusCodeFilter__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__StatusCodeFilter_msg_init = { + &envoy_config_accesslog_v3_StatusCodeFilter_submsgs[0], + &envoy_config_accesslog_v3_StatusCodeFilter__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_accesslog_v3_DurationFilter_submsgs[1] = { + {.submsg = &envoy__config__accesslog__v3__ComparisonFilter_msg_init}, +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_DurationFilter__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__DurationFilter_msg_init = { + &envoy_config_accesslog_v3_DurationFilter_submsgs[0], + &envoy_config_accesslog_v3_DurationFilter__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + }) +}; + +const upb_MiniTable envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +const upb_MiniTable envoy__config__accesslog__v3__TraceableFilter_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_config_accesslog_v3_RuntimeFilter_submsgs[1] = { + {.submsg = &envoy__type__v3__FractionalPercent_msg_init}, +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_RuntimeFilter__fields[3] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__RuntimeFilter_msg_init = { + &envoy_config_accesslog_v3_RuntimeFilter_submsgs[0], + &envoy_config_accesslog_v3_RuntimeFilter__fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x000100003f000018, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_accesslog_v3_AndFilter_submsgs[1] = { + {.submsg = &envoy__config__accesslog__v3__AccessLogFilter_msg_init}, +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_AndFilter__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__AndFilter_msg_init = { + &envoy_config_accesslog_v3_AndFilter_submsgs[0], + &envoy_config_accesslog_v3_AndFilter__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_accesslog_v3_OrFilter_submsgs[1] = { + {.submsg = &envoy__config__accesslog__v3__AccessLogFilter_msg_init}, +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_OrFilter__fields[1] = { + {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__OrFilter_msg_init = { + &envoy_config_accesslog_v3_OrFilter_submsgs[0], + &envoy_config_accesslog_v3_OrFilter__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000012, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_accesslog_v3_HeaderFilter_submsgs[1] = { + {.submsg = &envoy__config__route__v3__HeaderMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_HeaderFilter__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__HeaderFilter_msg_init = { + &envoy_config_accesslog_v3_HeaderFilter_submsgs[0], + &envoy_config_accesslog_v3_HeaderFilter__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_ResponseFlagFilter__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__ResponseFlagFilter_msg_init = { + NULL, + &envoy_config_accesslog_v3_ResponseFlagFilter__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prs_1bt}, + }) +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_GrpcStatusFilter__fields[2] = { + {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__GrpcStatusFilter_msg_init = { + NULL, + &envoy_config_accesslog_v3_GrpcStatusFilter__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_ppv4_1bt}, + {0x000000003f000010, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_accesslog_v3_MetadataFilter_submsgs[2] = { + {.submsg = &envoy__type__matcher__v3__MetadataMatcher_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_MetadataFilter__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__MetadataFilter_msg_init = { + &envoy_config_accesslog_v3_MetadataFilter_submsgs[0], + &envoy_config_accesslog_v3_MetadataFilter__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_LogTypeFilter__fields[2] = { + {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__LogTypeFilter_msg_init = { + NULL, + &envoy_config_accesslog_v3_LogTypeFilter__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_ppv4_1bt}, + {0x000000003f000010, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_accesslog_v3_ExtensionFilter_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_accesslog_v3_ExtensionFilter__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__accesslog__v3__ExtensionFilter_msg_init = { + &envoy_config_accesslog_v3_ExtensionFilter_submsgs[0], + &envoy_config_accesslog_v3_ExtensionFilter__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000300001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[16] = { + &envoy__config__accesslog__v3__AccessLog_msg_init, + &envoy__config__accesslog__v3__AccessLogFilter_msg_init, + &envoy__config__accesslog__v3__ComparisonFilter_msg_init, + &envoy__config__accesslog__v3__StatusCodeFilter_msg_init, + &envoy__config__accesslog__v3__DurationFilter_msg_init, + &envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init, + &envoy__config__accesslog__v3__TraceableFilter_msg_init, + &envoy__config__accesslog__v3__RuntimeFilter_msg_init, + &envoy__config__accesslog__v3__AndFilter_msg_init, + &envoy__config__accesslog__v3__OrFilter_msg_init, + &envoy__config__accesslog__v3__HeaderFilter_msg_init, + &envoy__config__accesslog__v3__ResponseFlagFilter_msg_init, + &envoy__config__accesslog__v3__GrpcStatusFilter_msg_init, + &envoy__config__accesslog__v3__MetadataFilter_msg_init, + &envoy__config__accesslog__v3__LogTypeFilter_msg_init, + &envoy__config__accesslog__v3__ExtensionFilter_msg_init, +}; + +const upb_MiniTableFile envoy_config_accesslog_v3_accesslog_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 16, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h new file mode 100644 index 00000000000..acb89b662f0 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h @@ -0,0 +1,45 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/accesslog/v3/accesslog.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__accesslog__v3__AccessLog_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__AccessLogFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__ComparisonFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__StatusCodeFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__DurationFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__NotHealthCheckFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__TraceableFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__RuntimeFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__AndFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__OrFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__HeaderFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__ResponseFlagFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__GrpcStatusFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__MetadataFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__LogTypeFilter_msg_init; +extern const upb_MiniTable envoy__config__accesslog__v3__ExtensionFilter_msg_init; + +extern const upb_MiniTableFile envoy_config_accesslog_v3_accesslog_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h b/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h similarity index 78% rename from src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h rename to src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h index 12d35fe96dc..15500556f67 100644 --- a/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +++ b/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/bootstrap/v3/bootstrap.proto * @@ -10,7 +9,35 @@ #define ENVOY_CONFIG_BOOTSTRAP_V3_BOOTSTRAP_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/bootstrap/v3/bootstrap.upb_minitable.h" + +#include "envoy/config/accesslog/v3/accesslog.upb_minitable.h" +#include "envoy/config/cluster/v3/cluster.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/config/core/v3/event_service_config.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/resolver.upb_minitable.h" +#include "envoy/config/core/v3/socket_option.upb_minitable.h" +#include "envoy/config/listener/v3/listener.upb_minitable.h" +#include "envoy/config/metrics/v3/stats.upb_minitable.h" +#include "envoy/config/overload/v3/overload.upb_minitable.h" +#include "envoy/config/trace/v3/http_tracer.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/security.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -20,6 +47,10 @@ extern "C" { typedef struct envoy_config_bootstrap_v3_Bootstrap envoy_config_bootstrap_v3_Bootstrap; typedef struct envoy_config_bootstrap_v3_Bootstrap_StaticResources envoy_config_bootstrap_v3_Bootstrap_StaticResources; typedef struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources envoy_config_bootstrap_v3_Bootstrap_DynamicResources; +typedef struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig; +typedef struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat; +typedef struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions; +typedef struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig; typedef struct envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry; typedef struct envoy_config_bootstrap_v3_Admin envoy_config_bootstrap_v3_Admin; typedef struct envoy_config_bootstrap_v3_ClusterManager envoy_config_bootstrap_v3_ClusterManager; @@ -35,24 +66,6 @@ typedef struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer envoy_config_bo typedef struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer; typedef struct envoy_config_bootstrap_v3_LayeredRuntime envoy_config_bootstrap_v3_LayeredRuntime; typedef struct envoy_config_bootstrap_v3_CustomInlineHeader envoy_config_bootstrap_v3_CustomInlineHeader; -extern const upb_MiniTable envoy_config_bootstrap_v3_Bootstrap_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_Bootstrap_StaticResources_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_Bootstrap_DynamicResources_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_Admin_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_ClusterManager_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_Watchdogs_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_Watchdog_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_Watchdog_WatchdogAction_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_FatalAction_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_Runtime_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_RuntimeLayer_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_LayeredRuntime_msg_init; -extern const upb_MiniTable envoy_config_bootstrap_v3_CustomInlineHeader_msg_init; struct envoy_config_accesslog_v3_AccessLog; struct envoy_config_cluster_v3_Cluster; struct envoy_config_core_v3_Address; @@ -74,27 +87,6 @@ struct envoy_type_v3_Percent; struct google_protobuf_Duration; struct google_protobuf_Struct; struct google_protobuf_UInt64Value; -extern const upb_MiniTable envoy_config_accesslog_v3_AccessLog_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Address_msg_init; -extern const upb_MiniTable envoy_config_core_v3_ApiConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_BindConfig_msg_init; -extern const upb_MiniTable envoy_config_core_v3_ConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_DnsResolutionConfig_msg_init; -extern const upb_MiniTable envoy_config_core_v3_EventServiceConfig_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Node_msg_init; -extern const upb_MiniTable envoy_config_core_v3_SocketOption_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_Listener_msg_init; -extern const upb_MiniTable envoy_config_metrics_v3_StatsConfig_msg_init; -extern const upb_MiniTable envoy_config_metrics_v3_StatsSink_msg_init; -extern const upb_MiniTable envoy_config_overload_v3_OverloadManager_msg_init; -extern const upb_MiniTable envoy_config_trace_v3_Tracing_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_Secret_msg_init; -extern const upb_MiniTable envoy_type_v3_Percent_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_Struct_msg_init; -extern const upb_MiniTable google_protobuf_UInt64Value_msg_init; typedef enum { envoy_config_bootstrap_v3_CustomInlineHeader_REQUEST_HEADER = 0, @@ -116,12 +108,12 @@ typedef enum { /* envoy.config.bootstrap.v3.Bootstrap */ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap* envoy_config_bootstrap_v3_Bootstrap_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_Bootstrap*)_upb_Message_New(&envoy_config_bootstrap_v3_Bootstrap_msg_init, arena); + return (envoy_config_bootstrap_v3_Bootstrap*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_Bootstrap* envoy_config_bootstrap_v3_Bootstrap_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_Bootstrap* ret = envoy_config_bootstrap_v3_Bootstrap_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Bootstrap_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -131,7 +123,7 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap* envoy_config_bootstrap_v3_Bootst int options, upb_Arena* arena) { envoy_config_bootstrap_v3_Bootstrap* ret = envoy_config_bootstrap_v3_Bootstrap_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Bootstrap_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -139,13 +131,13 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap* envoy_config_bootstrap_v3_Bootst } UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_serialize(const envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Bootstrap_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Bootstrap_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -153,86 +145,86 @@ typedef enum { envoy_config_bootstrap_v3_Bootstrap_stats_flush_NOT_SET = 0 } envoy_config_bootstrap_v3_Bootstrap_stats_flush_oneofcases; UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_stats_flush_oneofcases envoy_config_bootstrap_v3_Bootstrap_stats_flush_case(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {29, 3, UPB_SIZE(-97, -9), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {29, 4, UPB_SIZE(-101, -9), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; return (envoy_config_bootstrap_v3_Bootstrap_stats_flush_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_node(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_core_v3_Node* envoy_config_bootstrap_v3_Bootstrap_node(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct envoy_config_core_v3_Node* default_val = NULL; const struct envoy_config_core_v3_Node* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_node(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_static_resources(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {2, UPB_SIZE(12, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_bootstrap_v3_Bootstrap_static_resources(const envoy_config_bootstrap_v3_Bootstrap* msg) { const envoy_config_bootstrap_v3_Bootstrap_StaticResources* default_val = NULL; const envoy_config_bootstrap_v3_Bootstrap_StaticResources* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {2, UPB_SIZE(12, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_static_resources(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {2, UPB_SIZE(12, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_dynamic_resources(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bootstrap_v3_Bootstrap_dynamic_resources(const envoy_config_bootstrap_v3_Bootstrap* msg) { const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* default_val = NULL; const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_dynamic_resources(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_cluster_manager(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_Bootstrap_cluster_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) { const envoy_config_bootstrap_v3_ClusterManager* default_val = NULL; const envoy_config_bootstrap_v3_ClusterManager* ret; - const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_cluster_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_flags_path(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(128, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {5, UPB_SIZE(144, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_flags_path(const envoy_config_bootstrap_v3_Bootstrap* msg) { upb_StringView default_val = upb_StringView_FromString(""); upb_StringView ret; - const upb_MiniTableField field = {5, UPB_SIZE(128, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {5, UPB_SIZE(144, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_sinks(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {6, UPB_SIZE(24, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_metrics_v3_StatsSink* const* envoy_config_bootstrap_v3_Bootstrap_stats_sinks(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {6, UPB_SIZE(24, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Array* arr = upb_Message_GetArray(msg, &field); if (arr) { if (size) *size = arr->size; @@ -243,7 +235,7 @@ UPB_INLINE const struct envoy_config_metrics_v3_StatsSink* const* envoy_config_b } } UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_stats_sinks_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {6, UPB_SIZE(24, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Array* arr = upb_Message_GetArray(msg, &field); if (size) { *size = arr ? arr->size : 0; @@ -251,7 +243,7 @@ UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_stats_sinks_upb return arr; } UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_stats_sinks_mutable_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {6, UPB_SIZE(24, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetOrCreateMutableArray( (upb_Message*)msg, &field, arena); if (size) { @@ -265,179 +257,179 @@ UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_sinks(const envoy_ return size != 0; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_flush_interval(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {7, UPB_SIZE(28, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Bootstrap_stats_flush_interval(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct google_protobuf_Duration* default_val = NULL; const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {7, UPB_SIZE(24, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {7, UPB_SIZE(28, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_flush_interval(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {7, UPB_SIZE(28, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_watchdog(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(28, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {8, UPB_SIZE(32, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Bootstrap_watchdog(const envoy_config_bootstrap_v3_Bootstrap* msg) { const envoy_config_bootstrap_v3_Watchdog* default_val = NULL; const envoy_config_bootstrap_v3_Watchdog* ret; - const upb_MiniTableField field = {8, UPB_SIZE(28, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {8, UPB_SIZE(32, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_watchdog(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(28, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {8, UPB_SIZE(32, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_tracing(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(32, 88), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {9, UPB_SIZE(36, 88), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_trace_v3_Tracing* envoy_config_bootstrap_v3_Bootstrap_tracing(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct envoy_config_trace_v3_Tracing* default_val = NULL; const struct envoy_config_trace_v3_Tracing* ret; - const upb_MiniTableField field = {9, UPB_SIZE(32, 88), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {9, UPB_SIZE(36, 88), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_tracing(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(32, 88), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {9, UPB_SIZE(36, 88), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_admin(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(36, 96), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {12, UPB_SIZE(40, 96), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Bootstrap_admin(const envoy_config_bootstrap_v3_Bootstrap* msg) { const envoy_config_bootstrap_v3_Admin* default_val = NULL; const envoy_config_bootstrap_v3_Admin* ret; - const upb_MiniTableField field = {12, UPB_SIZE(36, 96), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {12, UPB_SIZE(40, 96), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_admin(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(36, 96), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {12, UPB_SIZE(40, 96), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_config(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(40, 104), 9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {13, UPB_SIZE(44, 104), 9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_metrics_v3_StatsConfig* envoy_config_bootstrap_v3_Bootstrap_stats_config(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct envoy_config_metrics_v3_StatsConfig* default_val = NULL; const struct envoy_config_metrics_v3_StatsConfig* ret; - const upb_MiniTableField field = {13, UPB_SIZE(40, 104), 9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {13, UPB_SIZE(44, 104), 9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_config(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(40, 104), 9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {13, UPB_SIZE(44, 104), 9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_hds_config(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {14, UPB_SIZE(44, 112), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {14, UPB_SIZE(48, 112), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_Bootstrap_hds_config(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct envoy_config_core_v3_ApiConfigSource* default_val = NULL; const struct envoy_config_core_v3_ApiConfigSource* ret; - const upb_MiniTableField field = {14, UPB_SIZE(44, 112), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {14, UPB_SIZE(48, 112), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_hds_config(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {14, UPB_SIZE(44, 112), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {14, UPB_SIZE(48, 112), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_overload_manager(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {15, UPB_SIZE(48, 120), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {15, UPB_SIZE(52, 120), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_overload_v3_OverloadManager* envoy_config_bootstrap_v3_Bootstrap_overload_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct envoy_config_overload_v3_OverloadManager* default_val = NULL; const struct envoy_config_overload_v3_OverloadManager* ret; - const upb_MiniTableField field = {15, UPB_SIZE(48, 120), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {15, UPB_SIZE(52, 120), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_overload_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {15, UPB_SIZE(48, 120), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {15, UPB_SIZE(52, 120), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_enable_dispatcher_stats(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {16, UPB_SIZE(52, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {16, UPB_SIZE(56, 5), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_enable_dispatcher_stats(const envoy_config_bootstrap_v3_Bootstrap* msg) { bool default_val = false; bool ret; - const upb_MiniTableField field = {16, UPB_SIZE(52, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {16, UPB_SIZE(56, 5), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_layered_runtime(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {17, UPB_SIZE(56, 128), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {17, UPB_SIZE(60, 128), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_Bootstrap_layered_runtime(const envoy_config_bootstrap_v3_Bootstrap* msg) { const envoy_config_bootstrap_v3_LayeredRuntime* default_val = NULL; const envoy_config_bootstrap_v3_LayeredRuntime* ret; - const upb_MiniTableField field = {17, UPB_SIZE(56, 128), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {17, UPB_SIZE(60, 128), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_layered_runtime(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {17, UPB_SIZE(56, 128), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {17, UPB_SIZE(60, 128), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_header_prefix(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {18, 136, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {18, UPB_SIZE(152, 136), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_header_prefix(const envoy_config_bootstrap_v3_Bootstrap* msg) { upb_StringView default_val = upb_StringView_FromString(""); upb_StringView ret; - const upb_MiniTableField field = {18, 136, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {18, UPB_SIZE(152, 136), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_server_version_override(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {19, UPB_SIZE(60, 152), 13, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {19, UPB_SIZE(64, 152), 13, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct google_protobuf_UInt64Value* envoy_config_bootstrap_v3_Bootstrap_stats_server_version_override(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct google_protobuf_UInt64Value* default_val = NULL; const struct google_protobuf_UInt64Value* ret; - const upb_MiniTableField field = {19, UPB_SIZE(60, 152), 13, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {19, UPB_SIZE(64, 152), 13, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_server_version_override(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {19, UPB_SIZE(60, 152), 13, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {19, UPB_SIZE(64, 152), 13, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_use_tcp_for_dns_lookups(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {20, UPB_SIZE(64, 5), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {20, UPB_SIZE(68, 6), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_use_tcp_for_dns_lookups(const envoy_config_bootstrap_v3_Bootstrap* msg) { bool default_val = false; bool ret; - const upb_MiniTableField field = {20, UPB_SIZE(64, 5), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {20, UPB_SIZE(68, 6), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {21, UPB_SIZE(68, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {21, UPB_SIZE(72, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* const* envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - const upb_MiniTableField field = {21, UPB_SIZE(68, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {21, UPB_SIZE(72, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Array* arr = upb_Message_GetArray(msg, &field); if (arr) { if (size) *size = arr->size; @@ -448,7 +440,7 @@ UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* const* envoy_ } } UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - const upb_MiniTableField field = {21, UPB_SIZE(68, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {21, UPB_SIZE(72, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Array* arr = upb_Message_GetArray(msg, &field); if (size) { *size = arr ? arr->size : 0; @@ -456,7 +448,7 @@ UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_bootstrap_exten return arr; } UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions_mutable_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {21, UPB_SIZE(68, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {21, UPB_SIZE(72, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetOrCreateMutableArray( (upb_Message*)msg, &field, arena); if (size) { @@ -470,11 +462,11 @@ UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_bootstrap_extensions(con return size != 0; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_config_sources(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {22, UPB_SIZE(72, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {22, UPB_SIZE(76, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_core_v3_ConfigSource* const* envoy_config_bootstrap_v3_Bootstrap_config_sources(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - const upb_MiniTableField field = {22, UPB_SIZE(72, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {22, UPB_SIZE(76, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Array* arr = upb_Message_GetArray(msg, &field); if (arr) { if (size) *size = arr->size; @@ -485,7 +477,7 @@ UPB_INLINE const struct envoy_config_core_v3_ConfigSource* const* envoy_config_b } } UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_config_sources_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - const upb_MiniTableField field = {22, UPB_SIZE(72, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {22, UPB_SIZE(76, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Array* arr = upb_Message_GetArray(msg, &field); if (size) { *size = arr ? arr->size : 0; @@ -493,7 +485,7 @@ UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_config_sources_ return arr; } UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_config_sources_mutable_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {22, UPB_SIZE(72, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {22, UPB_SIZE(76, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetOrCreateMutableArray( (upb_Message*)msg, &field, arena); if (size) { @@ -507,58 +499,58 @@ UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_config_sources(const env return size != 0; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_default_config_source(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {23, UPB_SIZE(76, 176), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {23, UPB_SIZE(80, 176), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_default_config_source(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct envoy_config_core_v3_ConfigSource* default_val = NULL; const struct envoy_config_core_v3_ConfigSource* ret; - const upb_MiniTableField field = {23, UPB_SIZE(76, 176), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {23, UPB_SIZE(80, 176), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_default_config_source(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {23, UPB_SIZE(76, 176), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {23, UPB_SIZE(80, 176), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_default_socket_interface(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {24, UPB_SIZE(144, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {24, UPB_SIZE(160, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_default_socket_interface(const envoy_config_bootstrap_v3_Bootstrap* msg) { upb_StringView default_val = upb_StringView_FromString(""); upb_StringView ret; - const upb_MiniTableField field = {24, UPB_SIZE(144, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {24, UPB_SIZE(160, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_certificate_provider_instances(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {25, UPB_SIZE(80, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {25, UPB_SIZE(84, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE size_t envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_size(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {25, UPB_SIZE(80, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {25, UPB_SIZE(84, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Map* map = upb_Message_GetMap(msg, &field); return map ? _upb_Map_Size(map) : 0; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_get(const envoy_config_bootstrap_v3_Bootstrap* msg, upb_StringView key, struct envoy_config_core_v3_TypedExtensionConfig** val) { - const upb_MiniTableField field = {25, UPB_SIZE(80, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {25, UPB_SIZE(84, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Map* map = upb_Message_GetMap(msg, &field); if (!map) return false; return _upb_Map_Get(map, &key, 0, val, sizeof(*val)); } UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry* envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_next(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* iter) { - const upb_MiniTableField field = {25, UPB_SIZE(80, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {25, UPB_SIZE(84, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Map* map = upb_Message_GetMap(msg, &field); if (!map) return NULL; return (const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry*)_upb_map_next(map, iter); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_node_context_params(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {26, UPB_SIZE(84, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {26, UPB_SIZE(88, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView const* envoy_config_bootstrap_v3_Bootstrap_node_context_params(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - const upb_MiniTableField field = {26, UPB_SIZE(84, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {26, UPB_SIZE(88, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Array* arr = upb_Message_GetArray(msg, &field); if (arr) { if (size) *size = arr->size; @@ -569,7 +561,7 @@ UPB_INLINE upb_StringView const* envoy_config_bootstrap_v3_Bootstrap_node_contex } } UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_node_context_params_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - const upb_MiniTableField field = {26, UPB_SIZE(84, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {26, UPB_SIZE(88, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Array* arr = upb_Message_GetArray(msg, &field); if (size) { *size = arr ? arr->size : 0; @@ -577,7 +569,7 @@ UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_node_context_pa return arr; } UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_node_context_params_mutable_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {26, UPB_SIZE(84, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {26, UPB_SIZE(88, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetOrCreateMutableArray( (upb_Message*)msg, &field, arena); if (size) { @@ -591,26 +583,26 @@ UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_node_context_params(cons return size != 0; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_watchdogs(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {27, UPB_SIZE(88, 216), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {27, UPB_SIZE(92, 216), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Bootstrap_watchdogs(const envoy_config_bootstrap_v3_Bootstrap* msg) { const envoy_config_bootstrap_v3_Watchdogs* default_val = NULL; const envoy_config_bootstrap_v3_Watchdogs* ret; - const upb_MiniTableField field = {27, UPB_SIZE(88, 216), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {27, UPB_SIZE(92, 216), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_watchdogs(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {27, UPB_SIZE(88, 216), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {27, UPB_SIZE(92, 216), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_fatal_actions(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {28, UPB_SIZE(92, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {28, UPB_SIZE(96, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const envoy_config_bootstrap_v3_FatalAction* const* envoy_config_bootstrap_v3_Bootstrap_fatal_actions(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - const upb_MiniTableField field = {28, UPB_SIZE(92, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {28, UPB_SIZE(96, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Array* arr = upb_Message_GetArray(msg, &field); if (arr) { if (size) *size = arr->size; @@ -621,7 +613,7 @@ UPB_INLINE const envoy_config_bootstrap_v3_FatalAction* const* envoy_config_boot } } UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_fatal_actions_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - const upb_MiniTableField field = {28, UPB_SIZE(92, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {28, UPB_SIZE(96, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Array* arr = upb_Message_GetArray(msg, &field); if (size) { *size = arr ? arr->size : 0; @@ -629,7 +621,7 @@ UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_fatal_actions_u return arr; } UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_fatal_actions_mutable_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {28, UPB_SIZE(92, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {28, UPB_SIZE(96, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetOrCreateMutableArray( (upb_Message*)msg, &field, arena); if (size) { @@ -643,56 +635,56 @@ UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_fatal_actions(const envo return size != 0; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_flush_on_admin(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {29, 3, UPB_SIZE(-97, -9), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {29, 4, UPB_SIZE(-101, -9), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_stats_flush_on_admin(const envoy_config_bootstrap_v3_Bootstrap* msg) { bool default_val = false; bool ret; - const upb_MiniTableField field = {29, 3, UPB_SIZE(-97, -9), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {29, 4, UPB_SIZE(-101, -9), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_flush_on_admin(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {29, 3, UPB_SIZE(-97, -9), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {29, 4, UPB_SIZE(-101, -9), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_dns_resolution_config(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {30, UPB_SIZE(100, 232), 16, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {30, UPB_SIZE(104, 232), 16, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_core_v3_DnsResolutionConfig* envoy_config_bootstrap_v3_Bootstrap_dns_resolution_config(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct envoy_config_core_v3_DnsResolutionConfig* default_val = NULL; const struct envoy_config_core_v3_DnsResolutionConfig* ret; - const upb_MiniTableField field = {30, UPB_SIZE(100, 232), 16, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {30, UPB_SIZE(104, 232), 16, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_dns_resolution_config(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {30, UPB_SIZE(100, 232), 16, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {30, UPB_SIZE(104, 232), 16, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_typed_dns_resolver_config(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {31, UPB_SIZE(104, 240), 17, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {31, UPB_SIZE(108, 240), 17, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_typed_dns_resolver_config(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {31, UPB_SIZE(104, 240), 17, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {31, UPB_SIZE(108, 240), 17, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_typed_dns_resolver_config(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {31, UPB_SIZE(104, 240), 17, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {31, UPB_SIZE(108, 240), 17, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_inline_headers(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {32, UPB_SIZE(108, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {32, UPB_SIZE(112, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const envoy_config_bootstrap_v3_CustomInlineHeader* const* envoy_config_bootstrap_v3_Bootstrap_inline_headers(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - const upb_MiniTableField field = {32, UPB_SIZE(108, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {32, UPB_SIZE(112, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Array* arr = upb_Message_GetArray(msg, &field); if (arr) { if (size) *size = arr->size; @@ -703,7 +695,7 @@ UPB_INLINE const envoy_config_bootstrap_v3_CustomInlineHeader* const* envoy_conf } } UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_inline_headers_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - const upb_MiniTableField field = {32, UPB_SIZE(108, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {32, UPB_SIZE(112, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; const upb_Array* arr = upb_Message_GetArray(msg, &field); if (size) { *size = arr ? arr->size : 0; @@ -711,7 +703,7 @@ UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_inline_headers_ return arr; } UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_inline_headers_mutable_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {32, UPB_SIZE(108, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {32, UPB_SIZE(112, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetOrCreateMutableArray( (upb_Message*)msg, &field, arena); if (size) { @@ -725,131 +717,176 @@ UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_inline_headers(const env return size != 0; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_perf_tracing_file_path(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {33, UPB_SIZE(152, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {33, UPB_SIZE(168, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_perf_tracing_file_path(const envoy_config_bootstrap_v3_Bootstrap* msg) { upb_StringView default_val = upb_StringView_FromString(""); upb_StringView ret; - const upb_MiniTableField field = {33, UPB_SIZE(152, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {33, UPB_SIZE(168, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_default_regex_engine(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {34, UPB_SIZE(112, 272), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {34, UPB_SIZE(116, 272), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_default_regex_engine(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {34, UPB_SIZE(112, 272), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {34, UPB_SIZE(116, 272), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_default_regex_engine(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {34, UPB_SIZE(112, 272), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {34, UPB_SIZE(116, 272), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_xds_delegate_extension(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {35, UPB_SIZE(116, 280), 19, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {35, UPB_SIZE(120, 280), 19, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_xds_delegate_extension(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {35, UPB_SIZE(116, 280), 19, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {35, UPB_SIZE(120, 280), 19, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_xds_delegate_extension(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {35, UPB_SIZE(116, 280), 19, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {35, UPB_SIZE(120, 280), 19, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_xds_config_tracker_extension(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {36, UPB_SIZE(120, 288), 20, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {36, UPB_SIZE(124, 288), 20, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_xds_config_tracker_extension(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {36, UPB_SIZE(120, 288), 20, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {36, UPB_SIZE(124, 288), 20, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_xds_config_tracker_extension(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {36, UPB_SIZE(120, 288), 20, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {36, UPB_SIZE(124, 288), 20, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_listener_manager(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {37, UPB_SIZE(124, 296), 21, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {37, UPB_SIZE(128, 296), 21, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_listener_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) { const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {37, UPB_SIZE(124, 296), 21, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {37, UPB_SIZE(128, 296), 21, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_listener_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {37, UPB_SIZE(124, 296), 21, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {37, UPB_SIZE(128, 296), 21, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_application_log_config(envoy_config_bootstrap_v3_Bootstrap* msg) { + const upb_MiniTableField field = {38, UPB_SIZE(132, 304), 22, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_config_bootstrap_v3_Bootstrap_application_log_config(const envoy_config_bootstrap_v3_Bootstrap* msg) { + const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* default_val = NULL; + const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* ret; + const upb_MiniTableField field = {38, UPB_SIZE(132, 304), 22, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_application_log_config(const envoy_config_bootstrap_v3_Bootstrap* msg) { + const upb_MiniTableField field = {38, UPB_SIZE(132, 304), 22, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_deferred_stat_options(envoy_config_bootstrap_v3_Bootstrap* msg) { + const upb_MiniTableField field = {39, UPB_SIZE(136, 312), 23, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config_bootstrap_v3_Bootstrap_deferred_stat_options(const envoy_config_bootstrap_v3_Bootstrap* msg) { + const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* default_val = NULL; + const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* ret; + const upb_MiniTableField field = {39, UPB_SIZE(136, 312), 23, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_deferred_stat_options(const envoy_config_bootstrap_v3_Bootstrap* msg) { + const upb_MiniTableField field = {39, UPB_SIZE(136, 312), 23, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_grpc_async_client_manager_config(envoy_config_bootstrap_v3_Bootstrap* msg) { + const upb_MiniTableField field = {40, UPB_SIZE(140, 320), 24, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* envoy_config_bootstrap_v3_Bootstrap_grpc_async_client_manager_config(const envoy_config_bootstrap_v3_Bootstrap* msg) { + const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* default_val = NULL; + const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* ret; + const upb_MiniTableField field = {40, UPB_SIZE(140, 320), 24, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_grpc_async_client_manager_config(const envoy_config_bootstrap_v3_Bootstrap* msg) { + const upb_MiniTableField field = {40, UPB_SIZE(140, 320), 24, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_node(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_Node* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_core_v3_Node* envoy_config_bootstrap_v3_Bootstrap_mutable_node(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_core_v3_Node* sub = (struct envoy_config_core_v3_Node*)envoy_config_bootstrap_v3_Bootstrap_node(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy_config_core_v3_Node_msg_init, arena); + sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy__config__core__v3__Node_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_node(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_static_resources(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_StaticResources* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {2, UPB_SIZE(12, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_bootstrap_v3_Bootstrap_mutable_static_resources(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_Bootstrap_StaticResources* sub = (struct envoy_config_bootstrap_v3_Bootstrap_StaticResources*)envoy_config_bootstrap_v3_Bootstrap_static_resources(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_Bootstrap_StaticResources*)_upb_Message_New(&envoy_config_bootstrap_v3_Bootstrap_StaticResources_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_Bootstrap_StaticResources*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_static_resources(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_dynamic_resources(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_DynamicResources* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bootstrap_v3_Bootstrap_mutable_dynamic_resources(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources* sub = (struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources*)envoy_config_bootstrap_v3_Bootstrap_dynamic_resources(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources*)_upb_Message_New(&envoy_config_bootstrap_v3_Bootstrap_DynamicResources_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_dynamic_resources(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_cluster_manager(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_ClusterManager* value) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_Bootstrap_mutable_cluster_manager(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_ClusterManager* sub = (struct envoy_config_bootstrap_v3_ClusterManager*)envoy_config_bootstrap_v3_Bootstrap_cluster_manager(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_ClusterManager*)_upb_Message_New(&envoy_config_bootstrap_v3_ClusterManager_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_ClusterManager*)_upb_Message_New(&envoy__config__bootstrap__v3__ClusterManager_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_cluster_manager(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_flags_path(envoy_config_bootstrap_v3_Bootstrap *msg, upb_StringView value) { - const upb_MiniTableField field = {5, UPB_SIZE(128, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {5, UPB_SIZE(144, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_metrics_v3_StatsSink** envoy_config_bootstrap_v3_Bootstrap_mutable_stats_sinks(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {6, UPB_SIZE(24, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetMutableArray(msg, &field); if (arr) { if (size) *size = arr->size; @@ -860,142 +897,142 @@ UPB_INLINE struct envoy_config_metrics_v3_StatsSink** envoy_config_bootstrap_v3_ } } UPB_INLINE struct envoy_config_metrics_v3_StatsSink** envoy_config_bootstrap_v3_Bootstrap_resize_stats_sinks(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {6, UPB_SIZE(24, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return (struct envoy_config_metrics_v3_StatsSink**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); } UPB_INLINE struct envoy_config_metrics_v3_StatsSink* envoy_config_bootstrap_v3_Bootstrap_add_stats_sinks(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { - upb_MiniTableField field = {6, UPB_SIZE(20, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {6, UPB_SIZE(24, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_metrics_v3_StatsSink* sub = (struct envoy_config_metrics_v3_StatsSink*)_upb_Message_New(&envoy_config_metrics_v3_StatsSink_msg_init, arena); + struct envoy_config_metrics_v3_StatsSink* sub = (struct envoy_config_metrics_v3_StatsSink*)_upb_Message_New(&envoy__config__metrics__v3__StatsSink_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_stats_flush_interval(envoy_config_bootstrap_v3_Bootstrap *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {7, UPB_SIZE(28, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Bootstrap_mutable_stats_flush_interval(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Bootstrap_stats_flush_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_stats_flush_interval(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_watchdog(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Watchdog* value) { - const upb_MiniTableField field = {8, UPB_SIZE(28, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {8, UPB_SIZE(32, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Bootstrap_mutable_watchdog(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_Watchdog* sub = (struct envoy_config_bootstrap_v3_Watchdog*)envoy_config_bootstrap_v3_Bootstrap_watchdog(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_Watchdog*)_upb_Message_New(&envoy_config_bootstrap_v3_Watchdog_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_Watchdog*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdog_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_watchdog(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_tracing(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_trace_v3_Tracing* value) { - const upb_MiniTableField field = {9, UPB_SIZE(32, 88), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {9, UPB_SIZE(36, 88), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_trace_v3_Tracing* envoy_config_bootstrap_v3_Bootstrap_mutable_tracing(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_trace_v3_Tracing* sub = (struct envoy_config_trace_v3_Tracing*)envoy_config_bootstrap_v3_Bootstrap_tracing(msg); if (sub == NULL) { - sub = (struct envoy_config_trace_v3_Tracing*)_upb_Message_New(&envoy_config_trace_v3_Tracing_msg_init, arena); + sub = (struct envoy_config_trace_v3_Tracing*)_upb_Message_New(&envoy__config__trace__v3__Tracing_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_tracing(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_admin(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Admin* value) { - const upb_MiniTableField field = {12, UPB_SIZE(36, 96), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {12, UPB_SIZE(40, 96), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Bootstrap_mutable_admin(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_Admin* sub = (struct envoy_config_bootstrap_v3_Admin*)envoy_config_bootstrap_v3_Bootstrap_admin(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_Admin*)_upb_Message_New(&envoy_config_bootstrap_v3_Admin_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_Admin*)_upb_Message_New(&envoy__config__bootstrap__v3__Admin_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_admin(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_stats_config(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_metrics_v3_StatsConfig* value) { - const upb_MiniTableField field = {13, UPB_SIZE(40, 104), 9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {13, UPB_SIZE(44, 104), 9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_metrics_v3_StatsConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_stats_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_metrics_v3_StatsConfig* sub = (struct envoy_config_metrics_v3_StatsConfig*)envoy_config_bootstrap_v3_Bootstrap_stats_config(msg); if (sub == NULL) { - sub = (struct envoy_config_metrics_v3_StatsConfig*)_upb_Message_New(&envoy_config_metrics_v3_StatsConfig_msg_init, arena); + sub = (struct envoy_config_metrics_v3_StatsConfig*)_upb_Message_New(&envoy__config__metrics__v3__StatsConfig_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_stats_config(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_hds_config(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_ApiConfigSource* value) { - const upb_MiniTableField field = {14, UPB_SIZE(44, 112), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {14, UPB_SIZE(48, 112), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_Bootstrap_mutable_hds_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_core_v3_ApiConfigSource* sub = (struct envoy_config_core_v3_ApiConfigSource*)envoy_config_bootstrap_v3_Bootstrap_hds_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ApiConfigSource*)_upb_Message_New(&envoy_config_core_v3_ApiConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ApiConfigSource*)_upb_Message_New(&envoy__config__core__v3__ApiConfigSource_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_hds_config(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_overload_manager(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_overload_v3_OverloadManager* value) { - const upb_MiniTableField field = {15, UPB_SIZE(48, 120), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {15, UPB_SIZE(52, 120), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_overload_v3_OverloadManager* envoy_config_bootstrap_v3_Bootstrap_mutable_overload_manager(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_overload_v3_OverloadManager* sub = (struct envoy_config_overload_v3_OverloadManager*)envoy_config_bootstrap_v3_Bootstrap_overload_manager(msg); if (sub == NULL) { - sub = (struct envoy_config_overload_v3_OverloadManager*)_upb_Message_New(&envoy_config_overload_v3_OverloadManager_msg_init, arena); + sub = (struct envoy_config_overload_v3_OverloadManager*)_upb_Message_New(&envoy__config__overload__v3__OverloadManager_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_overload_manager(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_enable_dispatcher_stats(envoy_config_bootstrap_v3_Bootstrap *msg, bool value) { - const upb_MiniTableField field = {16, UPB_SIZE(52, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {16, UPB_SIZE(56, 5), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_layered_runtime(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_LayeredRuntime* value) { - const upb_MiniTableField field = {17, UPB_SIZE(56, 128), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {17, UPB_SIZE(60, 128), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_Bootstrap_mutable_layered_runtime(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_LayeredRuntime* sub = (struct envoy_config_bootstrap_v3_LayeredRuntime*)envoy_config_bootstrap_v3_Bootstrap_layered_runtime(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_LayeredRuntime*)_upb_Message_New(&envoy_config_bootstrap_v3_LayeredRuntime_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_LayeredRuntime*)_upb_Message_New(&envoy__config__bootstrap__v3__LayeredRuntime_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_layered_runtime(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_header_prefix(envoy_config_bootstrap_v3_Bootstrap *msg, upb_StringView value) { - const upb_MiniTableField field = {18, 136, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {18, UPB_SIZE(152, 136), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_stats_server_version_override(envoy_config_bootstrap_v3_Bootstrap *msg, struct google_protobuf_UInt64Value* value) { - const upb_MiniTableField field = {19, UPB_SIZE(60, 152), 13, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {19, UPB_SIZE(64, 152), 13, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_bootstrap_v3_Bootstrap_mutable_stats_server_version_override(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_bootstrap_v3_Bootstrap_stats_server_version_override(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google_protobuf_UInt64Value_msg_init, arena); + sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google__protobuf__UInt64Value_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_stats_server_version_override(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_use_tcp_for_dns_lookups(envoy_config_bootstrap_v3_Bootstrap *msg, bool value) { - const upb_MiniTableField field = {20, UPB_SIZE(64, 5), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {20, UPB_SIZE(68, 6), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig** envoy_config_bootstrap_v3_Bootstrap_mutable_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - upb_MiniTableField field = {21, UPB_SIZE(68, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {21, UPB_SIZE(72, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetMutableArray(msg, &field); if (arr) { if (size) *size = arr->size; @@ -1006,22 +1043,22 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig** envoy_config_boots } } UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig** envoy_config_bootstrap_v3_Bootstrap_resize_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {21, UPB_SIZE(68, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {21, UPB_SIZE(72, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return (struct envoy_config_core_v3_TypedExtensionConfig**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); } UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_add_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { - upb_MiniTableField field = {21, UPB_SIZE(68, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {21, UPB_SIZE(72, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } UPB_INLINE struct envoy_config_core_v3_ConfigSource** envoy_config_bootstrap_v3_Bootstrap_mutable_config_sources(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - upb_MiniTableField field = {22, UPB_SIZE(72, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {22, UPB_SIZE(76, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetMutableArray(msg, &field); if (arr) { if (size) *size = arr->size; @@ -1032,62 +1069,62 @@ UPB_INLINE struct envoy_config_core_v3_ConfigSource** envoy_config_bootstrap_v3_ } } UPB_INLINE struct envoy_config_core_v3_ConfigSource** envoy_config_bootstrap_v3_Bootstrap_resize_config_sources(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {22, UPB_SIZE(72, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {22, UPB_SIZE(76, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return (struct envoy_config_core_v3_ConfigSource**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); } UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_add_config_sources(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { - upb_MiniTableField field = {22, UPB_SIZE(72, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {22, UPB_SIZE(76, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); + struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_default_config_source(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_ConfigSource* value) { - const upb_MiniTableField field = {23, UPB_SIZE(76, 176), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {23, UPB_SIZE(80, 176), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_mutable_default_config_source(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_bootstrap_v3_Bootstrap_default_config_source(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_default_config_source(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_default_socket_interface(envoy_config_bootstrap_v3_Bootstrap *msg, upb_StringView value) { - const upb_MiniTableField field = {24, UPB_SIZE(144, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {24, UPB_SIZE(160, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_clear(envoy_config_bootstrap_v3_Bootstrap* msg) { - const upb_MiniTableField field = {25, UPB_SIZE(80, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {25, UPB_SIZE(84, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); if (!map) return; _upb_Map_Clear(map); } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_set(envoy_config_bootstrap_v3_Bootstrap* msg, upb_StringView key, struct envoy_config_core_v3_TypedExtensionConfig* val, upb_Arena* a) { - const upb_MiniTableField field = {25, UPB_SIZE(80, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {25, UPB_SIZE(84, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, sizeof(val), a); return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) != kUpb_MapInsertStatus_OutOfMemory; } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_delete(envoy_config_bootstrap_v3_Bootstrap* msg, upb_StringView key) { - const upb_MiniTableField field = {25, UPB_SIZE(80, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {25, UPB_SIZE(84, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); if (!map) return false; return _upb_Map_Delete(map, &key, 0, NULL); } UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry* envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_nextmutable(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* iter) { - const upb_MiniTableField field = {25, UPB_SIZE(80, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {25, UPB_SIZE(84, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); if (!map) return NULL; return (envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry*)_upb_map_next(map, iter); } UPB_INLINE upb_StringView* envoy_config_bootstrap_v3_Bootstrap_mutable_node_context_params(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - upb_MiniTableField field = {26, UPB_SIZE(84, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {26, UPB_SIZE(88, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetMutableArray(msg, &field); if (arr) { if (size) *size = arr->size; @@ -1098,11 +1135,11 @@ UPB_INLINE upb_StringView* envoy_config_bootstrap_v3_Bootstrap_mutable_node_cont } } UPB_INLINE upb_StringView* envoy_config_bootstrap_v3_Bootstrap_resize_node_context_params(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {26, UPB_SIZE(84, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {26, UPB_SIZE(88, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); } UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_add_node_context_params(envoy_config_bootstrap_v3_Bootstrap* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {26, UPB_SIZE(84, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {26, UPB_SIZE(88, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return false; @@ -1111,19 +1148,19 @@ UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_add_node_context_params(envo return true; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_watchdogs(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Watchdogs* value) { - const upb_MiniTableField field = {27, UPB_SIZE(88, 216), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {27, UPB_SIZE(92, 216), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Bootstrap_mutable_watchdogs(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_Watchdogs* sub = (struct envoy_config_bootstrap_v3_Watchdogs*)envoy_config_bootstrap_v3_Bootstrap_watchdogs(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_Watchdogs*)_upb_Message_New(&envoy_config_bootstrap_v3_Watchdogs_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_Watchdogs*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdogs_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_watchdogs(msg, sub); } return sub; } UPB_INLINE envoy_config_bootstrap_v3_FatalAction** envoy_config_bootstrap_v3_Bootstrap_mutable_fatal_actions(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - upb_MiniTableField field = {28, UPB_SIZE(92, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {28, UPB_SIZE(96, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetMutableArray(msg, &field); if (arr) { if (size) *size = arr->size; @@ -1134,50 +1171,50 @@ UPB_INLINE envoy_config_bootstrap_v3_FatalAction** envoy_config_bootstrap_v3_Boo } } UPB_INLINE envoy_config_bootstrap_v3_FatalAction** envoy_config_bootstrap_v3_Bootstrap_resize_fatal_actions(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {28, UPB_SIZE(92, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {28, UPB_SIZE(96, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return (envoy_config_bootstrap_v3_FatalAction**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); } UPB_INLINE struct envoy_config_bootstrap_v3_FatalAction* envoy_config_bootstrap_v3_Bootstrap_add_fatal_actions(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { - upb_MiniTableField field = {28, UPB_SIZE(92, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {28, UPB_SIZE(96, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_bootstrap_v3_FatalAction* sub = (struct envoy_config_bootstrap_v3_FatalAction*)_upb_Message_New(&envoy_config_bootstrap_v3_FatalAction_msg_init, arena); + struct envoy_config_bootstrap_v3_FatalAction* sub = (struct envoy_config_bootstrap_v3_FatalAction*)_upb_Message_New(&envoy__config__bootstrap__v3__FatalAction_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_stats_flush_on_admin(envoy_config_bootstrap_v3_Bootstrap *msg, bool value) { - const upb_MiniTableField field = {29, 3, UPB_SIZE(-97, -9), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {29, 4, UPB_SIZE(-101, -9), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_dns_resolution_config(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_DnsResolutionConfig* value) { - const upb_MiniTableField field = {30, UPB_SIZE(100, 232), 16, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {30, UPB_SIZE(104, 232), 16, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_core_v3_DnsResolutionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_dns_resolution_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_core_v3_DnsResolutionConfig* sub = (struct envoy_config_core_v3_DnsResolutionConfig*)envoy_config_bootstrap_v3_Bootstrap_dns_resolution_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_DnsResolutionConfig*)_upb_Message_New(&envoy_config_core_v3_DnsResolutionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_DnsResolutionConfig*)_upb_Message_New(&envoy__config__core__v3__DnsResolutionConfig_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_dns_resolution_config(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_typed_dns_resolver_config(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {31, UPB_SIZE(104, 240), 17, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {31, UPB_SIZE(108, 240), 17, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_typed_dns_resolver_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_typed_dns_resolver_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_typed_dns_resolver_config(msg, sub); } return sub; } UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader** envoy_config_bootstrap_v3_Bootstrap_mutable_inline_headers(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) { - upb_MiniTableField field = {32, UPB_SIZE(108, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {32, UPB_SIZE(112, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetMutableArray(msg, &field); if (arr) { if (size) *size = arr->size; @@ -1188,82 +1225,118 @@ UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader** envoy_config_bootstrap } } UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader** envoy_config_bootstrap_v3_Bootstrap_resize_inline_headers(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {32, UPB_SIZE(108, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {32, UPB_SIZE(112, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return (envoy_config_bootstrap_v3_CustomInlineHeader**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); } UPB_INLINE struct envoy_config_bootstrap_v3_CustomInlineHeader* envoy_config_bootstrap_v3_Bootstrap_add_inline_headers(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { - upb_MiniTableField field = {32, UPB_SIZE(108, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_MiniTableField field = {32, UPB_SIZE(112, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_bootstrap_v3_CustomInlineHeader* sub = (struct envoy_config_bootstrap_v3_CustomInlineHeader*)_upb_Message_New(&envoy_config_bootstrap_v3_CustomInlineHeader_msg_init, arena); + struct envoy_config_bootstrap_v3_CustomInlineHeader* sub = (struct envoy_config_bootstrap_v3_CustomInlineHeader*)_upb_Message_New(&envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_perf_tracing_file_path(envoy_config_bootstrap_v3_Bootstrap *msg, upb_StringView value) { - const upb_MiniTableField field = {33, UPB_SIZE(152, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {33, UPB_SIZE(168, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_default_regex_engine(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {34, UPB_SIZE(112, 272), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {34, UPB_SIZE(116, 272), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_default_regex_engine(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_default_regex_engine(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_default_regex_engine(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_xds_delegate_extension(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {35, UPB_SIZE(116, 280), 19, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {35, UPB_SIZE(120, 280), 19, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_xds_delegate_extension(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_xds_delegate_extension(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_xds_delegate_extension(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_xds_config_tracker_extension(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {36, UPB_SIZE(120, 288), 20, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {36, UPB_SIZE(124, 288), 20, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_xds_config_tracker_extension(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_xds_config_tracker_extension(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_xds_config_tracker_extension(msg, sub); } return sub; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_listener_manager(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {37, UPB_SIZE(124, 296), 21, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {37, UPB_SIZE(128, 296), 21, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_listener_manager(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_listener_manager(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_set_listener_manager(msg, sub); } return sub; } +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_application_log_config(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* value) { + const upb_MiniTableField field = {38, UPB_SIZE(132, 304), 22, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_application_log_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { + struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* sub = (struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig*)envoy_config_bootstrap_v3_Bootstrap_application_log_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, arena); + if (sub) envoy_config_bootstrap_v3_Bootstrap_set_application_log_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_deferred_stat_options(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* value) { + const upb_MiniTableField field = {39, UPB_SIZE(136, 312), 23, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config_bootstrap_v3_Bootstrap_mutable_deferred_stat_options(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { + struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* sub = (struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions*)envoy_config_bootstrap_v3_Bootstrap_deferred_stat_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, arena); + if (sub) envoy_config_bootstrap_v3_Bootstrap_set_deferred_stat_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_grpc_async_client_manager_config(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* value) { + const upb_MiniTableField field = {40, UPB_SIZE(140, 320), 24, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_grpc_async_client_manager_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) { + struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* sub = (struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig*)envoy_config_bootstrap_v3_Bootstrap_grpc_async_client_manager_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, arena); + if (sub) envoy_config_bootstrap_v3_Bootstrap_set_grpc_async_client_manager_config(msg, sub); + } + return sub; +} /* envoy.config.bootstrap.v3.Bootstrap.StaticResources */ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_bootstrap_v3_Bootstrap_StaticResources_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_Bootstrap_StaticResources*)_upb_Message_New(&envoy_config_bootstrap_v3_Bootstrap_StaticResources_msg_init, arena); + return (envoy_config_bootstrap_v3_Bootstrap_StaticResources*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_bootstrap_v3_Bootstrap_StaticResources_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_Bootstrap_StaticResources* ret = envoy_config_bootstrap_v3_Bootstrap_StaticResources_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Bootstrap_StaticResources_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1273,7 +1346,7 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_boo int options, upb_Arena* arena) { envoy_config_bootstrap_v3_Bootstrap_StaticResources* ret = envoy_config_bootstrap_v3_Bootstrap_StaticResources_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Bootstrap_StaticResources_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1281,13 +1354,13 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_boo } UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_StaticResources_serialize(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Bootstrap_StaticResources_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_StaticResources_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Bootstrap_StaticResources_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_StaticResources_clear_listeners(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg) { @@ -1423,7 +1496,7 @@ UPB_INLINE struct envoy_config_listener_v3_Listener* envoy_config_bootstrap_v3_B if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_listener_v3_Listener* sub = (struct envoy_config_listener_v3_Listener*)_upb_Message_New(&envoy_config_listener_v3_Listener_msg_init, arena); + struct envoy_config_listener_v3_Listener* sub = (struct envoy_config_listener_v3_Listener*)_upb_Message_New(&envoy__config__listener__v3__Listener_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1449,7 +1522,7 @@ UPB_INLINE struct envoy_config_cluster_v3_Cluster* envoy_config_bootstrap_v3_Boo if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_cluster_v3_Cluster* sub = (struct envoy_config_cluster_v3_Cluster*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_msg_init, arena); + struct envoy_config_cluster_v3_Cluster* sub = (struct envoy_config_cluster_v3_Cluster*)_upb_Message_New(&envoy__config__cluster__v3__Cluster_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1475,7 +1548,7 @@ UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_Secret* envoy_config if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_extensions_transport_sockets_tls_v3_Secret* sub = (struct envoy_extensions_transport_sockets_tls_v3_Secret*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_Secret_msg_init, arena); + struct envoy_extensions_transport_sockets_tls_v3_Secret* sub = (struct envoy_extensions_transport_sockets_tls_v3_Secret*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__Secret_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1484,12 +1557,12 @@ UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_Secret* envoy_config /* envoy.config.bootstrap.v3.Bootstrap.DynamicResources */ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_Bootstrap_DynamicResources*)_upb_Message_New(&envoy_config_bootstrap_v3_Bootstrap_DynamicResources_msg_init, arena); + return (envoy_config_bootstrap_v3_Bootstrap_DynamicResources*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_Bootstrap_DynamicResources* ret = envoy_config_bootstrap_v3_Bootstrap_DynamicResources_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Bootstrap_DynamicResources_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1499,7 +1572,7 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bo int options, upb_Arena* arena) { envoy_config_bootstrap_v3_Bootstrap_DynamicResources* ret = envoy_config_bootstrap_v3_Bootstrap_DynamicResources_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Bootstrap_DynamicResources_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1507,13 +1580,13 @@ UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bo } UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_serialize(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Bootstrap_DynamicResources_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Bootstrap_DynamicResources_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_lds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) { @@ -1591,7 +1664,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_lds_con UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_mutable_lds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, upb_Arena* arena) { struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_bootstrap_v3_Bootstrap_DynamicResources_lds_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_lds_config(msg, sub); } return sub; @@ -1603,7 +1676,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_cds_con UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_mutable_cds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, upb_Arena* arena) { struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_bootstrap_v3_Bootstrap_DynamicResources_cds_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_cds_config(msg, sub); } return sub; @@ -1615,7 +1688,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_ads_con UPB_INLINE struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_mutable_ads_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, upb_Arena* arena) { struct envoy_config_core_v3_ApiConfigSource* sub = (struct envoy_config_core_v3_ApiConfigSource*)envoy_config_bootstrap_v3_Bootstrap_DynamicResources_ads_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ApiConfigSource*)_upb_Message_New(&envoy_config_core_v3_ApiConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ApiConfigSource*)_upb_Message_New(&envoy__config__core__v3__ApiConfigSource_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_ads_config(msg, sub); } return sub; @@ -1629,6 +1702,278 @@ UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_cds_res _upb_Message_SetNonExtensionField(msg, &field, &value); } +/* envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig */ + +UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_new(upb_Arena* arena) { + return (envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, arena); +} +UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* ret = envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* ret = envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_serialize(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_clear_log_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_log_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg) { + const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* default_val = NULL; + const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_has_log_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_set_log_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig *msg, envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_mutable_log_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg, upb_Arena* arena) { + struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* sub = (struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat*)envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_log_format(msg); + if (sub == NULL) { + sub = (struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, arena); + if (sub) envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_set_log_format(msg, sub); + } + return sub; +} + +/* envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat */ + +UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_new(upb_Arena* arena) { + return (envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, arena); +} +UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* ret = envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* ret = envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_serialize(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_json_format = 1, + envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_text_format = 2, + envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_NOT_SET = 0 +} envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_oneofcases; +UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_oneofcases envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_case(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_clear_json_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Struct* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_json_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) { + const struct google_protobuf_Struct* default_val = NULL; + const struct google_protobuf_Struct* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_has_json_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_clear_text_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_text_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_has_text_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_set_json_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat *msg, struct google_protobuf_Struct* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Struct* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_mutable_json_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg, upb_Arena* arena) { + struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_json_format(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); + if (sub) envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_set_json_format(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_set_text_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions */ + +UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_new(upb_Arena* arena) { + return (envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, arena); +} +UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* ret = envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* ret = envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_serialize(const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_clear_enable_deferred_creation_stats(envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_enable_deferred_creation_stats(const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_set_enable_deferred_creation_stats(envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions *msg, bool value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig */ + +UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_new(upb_Arena* arena) { + return (envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, arena); +} +UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* ret = envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* ret = envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_serialize(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_clear_max_cached_entry_idle_duration(envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_max_cached_entry_idle_duration(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_has_max_cached_entry_idle_duration(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_set_max_cached_entry_idle_duration(envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_mutable_max_cached_entry_idle_duration(envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_max_cached_entry_idle_duration(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_set_max_cached_entry_idle_duration(msg, sub); + } + return sub; +} + /* envoy.config.bootstrap.v3.Bootstrap.CertificateProviderInstancesEntry */ UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_key(const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry* msg) { @@ -1653,12 +1998,12 @@ UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstances /* envoy.config.bootstrap.v3.Admin */ UPB_INLINE envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Admin_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_Admin*)_upb_Message_New(&envoy_config_bootstrap_v3_Admin_msg_init, arena); + return (envoy_config_bootstrap_v3_Admin*)_upb_Message_New(&envoy__config__bootstrap__v3__Admin_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Admin_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_Admin* ret = envoy_config_bootstrap_v3_Admin_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Admin_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Admin_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1668,7 +2013,7 @@ UPB_INLINE envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Admin_pars int options, upb_Arena* arena) { envoy_config_bootstrap_v3_Admin* ret = envoy_config_bootstrap_v3_Admin_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Admin_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Admin_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1676,13 +2021,13 @@ UPB_INLINE envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Admin_pars } UPB_INLINE char* envoy_config_bootstrap_v3_Admin_serialize(const envoy_config_bootstrap_v3_Admin* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Admin_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Admin_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_Admin_serialize_ex(const envoy_config_bootstrap_v3_Admin* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Admin_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Admin_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_Admin_clear_access_log_path(envoy_config_bootstrap_v3_Admin* msg) { @@ -1823,7 +2168,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Admin_set_address(envoy_config_bootstr UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_bootstrap_v3_Admin_mutable_address(envoy_config_bootstrap_v3_Admin* msg, upb_Arena* arena) { struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_bootstrap_v3_Admin_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Admin_set_address(msg, sub); } return sub; @@ -1849,7 +2194,7 @@ UPB_INLINE struct envoy_config_core_v3_SocketOption* envoy_config_bootstrap_v3_A if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_SocketOption* sub = (struct envoy_config_core_v3_SocketOption*)_upb_Message_New(&envoy_config_core_v3_SocketOption_msg_init, arena); + struct envoy_config_core_v3_SocketOption* sub = (struct envoy_config_core_v3_SocketOption*)_upb_Message_New(&envoy__config__core__v3__SocketOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1875,7 +2220,7 @@ UPB_INLINE struct envoy_config_accesslog_v3_AccessLog* envoy_config_bootstrap_v3 if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_accesslog_v3_AccessLog* sub = (struct envoy_config_accesslog_v3_AccessLog*)_upb_Message_New(&envoy_config_accesslog_v3_AccessLog_msg_init, arena); + struct envoy_config_accesslog_v3_AccessLog* sub = (struct envoy_config_accesslog_v3_AccessLog*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLog_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1888,12 +2233,12 @@ UPB_INLINE void envoy_config_bootstrap_v3_Admin_set_ignore_global_conn_limit(env /* envoy.config.bootstrap.v3.ClusterManager */ UPB_INLINE envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_ClusterManager_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_ClusterManager*)_upb_Message_New(&envoy_config_bootstrap_v3_ClusterManager_msg_init, arena); + return (envoy_config_bootstrap_v3_ClusterManager*)_upb_Message_New(&envoy__config__bootstrap__v3__ClusterManager_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_ClusterManager_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_ClusterManager* ret = envoy_config_bootstrap_v3_ClusterManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_ClusterManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__ClusterManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1903,7 +2248,7 @@ UPB_INLINE envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_C int options, upb_Arena* arena) { envoy_config_bootstrap_v3_ClusterManager* ret = envoy_config_bootstrap_v3_ClusterManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_ClusterManager_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__ClusterManager_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1911,23 +2256,23 @@ UPB_INLINE envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_C } UPB_INLINE char* envoy_config_bootstrap_v3_ClusterManager_serialize(const envoy_config_bootstrap_v3_ClusterManager* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_ClusterManager_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__ClusterManager_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_ClusterManager_serialize_ex(const envoy_config_bootstrap_v3_ClusterManager* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_ClusterManager_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__ClusterManager_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_clear_local_cluster_name(envoy_config_bootstrap_v3_ClusterManager* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView envoy_config_bootstrap_v3_ClusterManager_local_cluster_name(const envoy_config_bootstrap_v3_ClusterManager* msg) { upb_StringView default_val = upb_StringView_FromString(""); upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } @@ -1976,9 +2321,20 @@ UPB_INLINE bool envoy_config_bootstrap_v3_ClusterManager_has_load_stats_config(c const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } +UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_clear_enable_deferred_cluster_creation(envoy_config_bootstrap_v3_ClusterManager* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_bootstrap_v3_ClusterManager_enable_deferred_cluster_creation(const envoy_config_bootstrap_v3_ClusterManager* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_local_cluster_name(envoy_config_bootstrap_v3_ClusterManager *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_outlier_detection(envoy_config_bootstrap_v3_ClusterManager *msg, envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* value) { @@ -1988,7 +2344,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_outlier_detection(e UPB_INLINE struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_config_bootstrap_v3_ClusterManager_mutable_outlier_detection(envoy_config_bootstrap_v3_ClusterManager* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* sub = (struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection*)envoy_config_bootstrap_v3_ClusterManager_outlier_detection(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection*)_upb_Message_New(&envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection*)_upb_Message_New(&envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, arena); if (sub) envoy_config_bootstrap_v3_ClusterManager_set_outlier_detection(msg, sub); } return sub; @@ -2000,7 +2356,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_upstream_bind_confi UPB_INLINE struct envoy_config_core_v3_BindConfig* envoy_config_bootstrap_v3_ClusterManager_mutable_upstream_bind_config(envoy_config_bootstrap_v3_ClusterManager* msg, upb_Arena* arena) { struct envoy_config_core_v3_BindConfig* sub = (struct envoy_config_core_v3_BindConfig*)envoy_config_bootstrap_v3_ClusterManager_upstream_bind_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_BindConfig*)_upb_Message_New(&envoy_config_core_v3_BindConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_BindConfig*)_upb_Message_New(&envoy__config__core__v3__BindConfig_msg_init, arena); if (sub) envoy_config_bootstrap_v3_ClusterManager_set_upstream_bind_config(msg, sub); } return sub; @@ -2012,21 +2368,25 @@ UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_load_stats_config(e UPB_INLINE struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_ClusterManager_mutable_load_stats_config(envoy_config_bootstrap_v3_ClusterManager* msg, upb_Arena* arena) { struct envoy_config_core_v3_ApiConfigSource* sub = (struct envoy_config_core_v3_ApiConfigSource*)envoy_config_bootstrap_v3_ClusterManager_load_stats_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ApiConfigSource*)_upb_Message_New(&envoy_config_core_v3_ApiConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ApiConfigSource*)_upb_Message_New(&envoy__config__core__v3__ApiConfigSource_msg_init, arena); if (sub) envoy_config_bootstrap_v3_ClusterManager_set_load_stats_config(msg, sub); } return sub; } +UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_enable_deferred_cluster_creation(envoy_config_bootstrap_v3_ClusterManager *msg, bool value) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} /* envoy.config.bootstrap.v3.ClusterManager.OutlierDetection */ UPB_INLINE envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_ClusterManager_OutlierDetection*)_upb_Message_New(&envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_msg_init, arena); + return (envoy_config_bootstrap_v3_ClusterManager_OutlierDetection*)_upb_Message_New(&envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* ret = envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2036,7 +2396,7 @@ UPB_INLINE envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_conf int options, upb_Arena* arena) { envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* ret = envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2044,13 +2404,13 @@ UPB_INLINE envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_conf } UPB_INLINE char* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_serialize(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_serialize_ex(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_clear_event_log_path(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg) { @@ -2091,7 +2451,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_set_ev UPB_INLINE struct envoy_config_core_v3_EventServiceConfig* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_mutable_event_service(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg, upb_Arena* arena) { struct envoy_config_core_v3_EventServiceConfig* sub = (struct envoy_config_core_v3_EventServiceConfig*)envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_event_service(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_EventServiceConfig*)_upb_Message_New(&envoy_config_core_v3_EventServiceConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_EventServiceConfig*)_upb_Message_New(&envoy__config__core__v3__EventServiceConfig_msg_init, arena); if (sub) envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_set_event_service(msg, sub); } return sub; @@ -2100,12 +2460,12 @@ UPB_INLINE struct envoy_config_core_v3_EventServiceConfig* envoy_config_bootstra /* envoy.config.bootstrap.v3.Watchdogs */ UPB_INLINE envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Watchdogs_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_Watchdogs*)_upb_Message_New(&envoy_config_bootstrap_v3_Watchdogs_msg_init, arena); + return (envoy_config_bootstrap_v3_Watchdogs*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdogs_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Watchdogs_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_Watchdogs* ret = envoy_config_bootstrap_v3_Watchdogs_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Watchdogs_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Watchdogs_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2115,7 +2475,7 @@ UPB_INLINE envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Watchd int options, upb_Arena* arena) { envoy_config_bootstrap_v3_Watchdogs* ret = envoy_config_bootstrap_v3_Watchdogs_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Watchdogs_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Watchdogs_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2123,13 +2483,13 @@ UPB_INLINE envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Watchd } UPB_INLINE char* envoy_config_bootstrap_v3_Watchdogs_serialize(const envoy_config_bootstrap_v3_Watchdogs* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Watchdogs_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Watchdogs_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_Watchdogs_serialize_ex(const envoy_config_bootstrap_v3_Watchdogs* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Watchdogs_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Watchdogs_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_Watchdogs_clear_main_thread_watchdog(envoy_config_bootstrap_v3_Watchdogs* msg) { @@ -2170,7 +2530,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Watchdogs_set_main_thread_watchdog(env UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdogs_mutable_main_thread_watchdog(envoy_config_bootstrap_v3_Watchdogs* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_Watchdog* sub = (struct envoy_config_bootstrap_v3_Watchdog*)envoy_config_bootstrap_v3_Watchdogs_main_thread_watchdog(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_Watchdog*)_upb_Message_New(&envoy_config_bootstrap_v3_Watchdog_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_Watchdog*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdog_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Watchdogs_set_main_thread_watchdog(msg, sub); } return sub; @@ -2182,7 +2542,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Watchdogs_set_worker_watchdog(envoy_co UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdogs_mutable_worker_watchdog(envoy_config_bootstrap_v3_Watchdogs* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_Watchdog* sub = (struct envoy_config_bootstrap_v3_Watchdog*)envoy_config_bootstrap_v3_Watchdogs_worker_watchdog(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_Watchdog*)_upb_Message_New(&envoy_config_bootstrap_v3_Watchdog_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_Watchdog*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdog_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Watchdogs_set_worker_watchdog(msg, sub); } return sub; @@ -2191,12 +2551,12 @@ UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_ /* envoy.config.bootstrap.v3.Watchdog */ UPB_INLINE envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdog_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_Watchdog*)_upb_Message_New(&envoy_config_bootstrap_v3_Watchdog_msg_init, arena); + return (envoy_config_bootstrap_v3_Watchdog*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdog_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdog_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_Watchdog* ret = envoy_config_bootstrap_v3_Watchdog_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Watchdog_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Watchdog_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2206,7 +2566,7 @@ UPB_INLINE envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdo int options, upb_Arena* arena) { envoy_config_bootstrap_v3_Watchdog* ret = envoy_config_bootstrap_v3_Watchdog_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Watchdog_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Watchdog_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2214,13 +2574,13 @@ UPB_INLINE envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdo } UPB_INLINE char* envoy_config_bootstrap_v3_Watchdog_serialize(const envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Watchdog_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Watchdog_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_Watchdog_serialize_ex(const envoy_config_bootstrap_v3_Watchdog* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Watchdog_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Watchdog_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_miss_timeout(envoy_config_bootstrap_v3_Watchdog* msg) { @@ -2358,7 +2718,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_miss_timeout(envoy_config UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_miss_timeout(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_miss_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Watchdog_set_miss_timeout(msg, sub); } return sub; @@ -2370,7 +2730,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_megamiss_timeout(envoy_co UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_megamiss_timeout(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_megamiss_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Watchdog_set_megamiss_timeout(msg, sub); } return sub; @@ -2382,7 +2742,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_kill_timeout(envoy_config UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_kill_timeout(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_kill_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Watchdog_set_kill_timeout(msg, sub); } return sub; @@ -2394,7 +2754,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_multikill_timeout(envoy_c UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_multikill_timeout(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_multikill_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Watchdog_set_multikill_timeout(msg, sub); } return sub; @@ -2406,7 +2766,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_multikill_threshold(envoy UPB_INLINE struct envoy_type_v3_Percent* envoy_config_bootstrap_v3_Watchdog_mutable_multikill_threshold(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) { struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_bootstrap_v3_Watchdog_multikill_threshold(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Watchdog_set_multikill_threshold(msg, sub); } return sub; @@ -2418,7 +2778,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_max_kill_timeout_jitter(e UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_max_kill_timeout_jitter(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_max_kill_timeout_jitter(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Watchdog_set_max_kill_timeout_jitter(msg, sub); } return sub; @@ -2444,7 +2804,7 @@ UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_confi if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction* sub = (struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction*)_upb_Message_New(&envoy_config_bootstrap_v3_Watchdog_WatchdogAction_msg_init, arena); + struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction* sub = (struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -2453,12 +2813,12 @@ UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_confi /* envoy.config.bootstrap.v3.Watchdog.WatchdogAction */ UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_Watchdog_WatchdogAction*)_upb_Message_New(&envoy_config_bootstrap_v3_Watchdog_WatchdogAction_msg_init, arena); + return (envoy_config_bootstrap_v3_Watchdog_WatchdogAction*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_Watchdog_WatchdogAction* ret = envoy_config_bootstrap_v3_Watchdog_WatchdogAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Watchdog_WatchdogAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2468,7 +2828,7 @@ UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_config_boots int options, upb_Arena* arena) { envoy_config_bootstrap_v3_Watchdog_WatchdogAction* ret = envoy_config_bootstrap_v3_Watchdog_WatchdogAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Watchdog_WatchdogAction_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2476,13 +2836,13 @@ UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_config_boots } UPB_INLINE char* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_serialize(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Watchdog_WatchdogAction_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_serialize_ex(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Watchdog_WatchdogAction_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_WatchdogAction_clear_config(envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg) { @@ -2519,7 +2879,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_WatchdogAction_set_config(env UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_mutable_config(envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Watchdog_WatchdogAction_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Watchdog_WatchdogAction_set_config(msg, sub); } return sub; @@ -2532,12 +2892,12 @@ UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_WatchdogAction_set_event(envo /* envoy.config.bootstrap.v3.FatalAction */ UPB_INLINE envoy_config_bootstrap_v3_FatalAction* envoy_config_bootstrap_v3_FatalAction_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_FatalAction*)_upb_Message_New(&envoy_config_bootstrap_v3_FatalAction_msg_init, arena); + return (envoy_config_bootstrap_v3_FatalAction*)_upb_Message_New(&envoy__config__bootstrap__v3__FatalAction_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_FatalAction* envoy_config_bootstrap_v3_FatalAction_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_FatalAction* ret = envoy_config_bootstrap_v3_FatalAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_FatalAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__FatalAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2547,7 +2907,7 @@ UPB_INLINE envoy_config_bootstrap_v3_FatalAction* envoy_config_bootstrap_v3_Fata int options, upb_Arena* arena) { envoy_config_bootstrap_v3_FatalAction* ret = envoy_config_bootstrap_v3_FatalAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_FatalAction_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__FatalAction_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2555,13 +2915,13 @@ UPB_INLINE envoy_config_bootstrap_v3_FatalAction* envoy_config_bootstrap_v3_Fata } UPB_INLINE char* envoy_config_bootstrap_v3_FatalAction_serialize(const envoy_config_bootstrap_v3_FatalAction* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_FatalAction_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__FatalAction_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_FatalAction_serialize_ex(const envoy_config_bootstrap_v3_FatalAction* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_FatalAction_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__FatalAction_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_FatalAction_clear_config(envoy_config_bootstrap_v3_FatalAction* msg) { @@ -2587,7 +2947,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_FatalAction_set_config(envoy_config_bo UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_FatalAction_mutable_config(envoy_config_bootstrap_v3_FatalAction* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_FatalAction_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_bootstrap_v3_FatalAction_set_config(msg, sub); } return sub; @@ -2596,12 +2956,12 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootst /* envoy.config.bootstrap.v3.Runtime */ UPB_INLINE envoy_config_bootstrap_v3_Runtime* envoy_config_bootstrap_v3_Runtime_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_Runtime*)_upb_Message_New(&envoy_config_bootstrap_v3_Runtime_msg_init, arena); + return (envoy_config_bootstrap_v3_Runtime*)_upb_Message_New(&envoy__config__bootstrap__v3__Runtime_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_Runtime* envoy_config_bootstrap_v3_Runtime_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_Runtime* ret = envoy_config_bootstrap_v3_Runtime_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Runtime_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Runtime_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2611,7 +2971,7 @@ UPB_INLINE envoy_config_bootstrap_v3_Runtime* envoy_config_bootstrap_v3_Runtime_ int options, upb_Arena* arena) { envoy_config_bootstrap_v3_Runtime* ret = envoy_config_bootstrap_v3_Runtime_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_Runtime_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__Runtime_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2619,13 +2979,13 @@ UPB_INLINE envoy_config_bootstrap_v3_Runtime* envoy_config_bootstrap_v3_Runtime_ } UPB_INLINE char* envoy_config_bootstrap_v3_Runtime_serialize(const envoy_config_bootstrap_v3_Runtime* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Runtime_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Runtime_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_Runtime_serialize_ex(const envoy_config_bootstrap_v3_Runtime* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_Runtime_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__Runtime_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_Runtime_clear_symlink_root(envoy_config_bootstrap_v3_Runtime* msg) { @@ -2696,7 +3056,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_Runtime_set_base(envoy_config_bootstra UPB_INLINE struct google_protobuf_Struct* envoy_config_bootstrap_v3_Runtime_mutable_base(envoy_config_bootstrap_v3_Runtime* msg, upb_Arena* arena) { struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_bootstrap_v3_Runtime_base(msg); if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); if (sub) envoy_config_bootstrap_v3_Runtime_set_base(msg, sub); } return sub; @@ -2705,12 +3065,12 @@ UPB_INLINE struct google_protobuf_Struct* envoy_config_bootstrap_v3_Runtime_muta /* envoy.config.bootstrap.v3.RuntimeLayer */ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap_v3_RuntimeLayer_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_RuntimeLayer*)_upb_Message_New(&envoy_config_bootstrap_v3_RuntimeLayer_msg_init, arena); + return (envoy_config_bootstrap_v3_RuntimeLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap_v3_RuntimeLayer_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_RuntimeLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_RuntimeLayer_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2720,7 +3080,7 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap_v3_Run int options, upb_Arena* arena) { envoy_config_bootstrap_v3_RuntimeLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_RuntimeLayer_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2728,13 +3088,13 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap_v3_Run } UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_RuntimeLayer_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_RuntimeLayer_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -2831,7 +3191,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_static_layer(envoy_co UPB_INLINE struct google_protobuf_Struct* envoy_config_bootstrap_v3_RuntimeLayer_mutable_static_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena) { struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_bootstrap_v3_RuntimeLayer_static_layer(msg); if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); if (sub) envoy_config_bootstrap_v3_RuntimeLayer_set_static_layer(msg, sub); } return sub; @@ -2843,7 +3203,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_disk_layer(envoy_conf UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootstrap_v3_RuntimeLayer_mutable_disk_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer*)envoy_config_bootstrap_v3_RuntimeLayer_disk_layer(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer*)_upb_Message_New(&envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, arena); if (sub) envoy_config_bootstrap_v3_RuntimeLayer_set_disk_layer(msg, sub); } return sub; @@ -2855,7 +3215,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_admin_layer(envoy_con UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_bootstrap_v3_RuntimeLayer_mutable_admin_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer*)envoy_config_bootstrap_v3_RuntimeLayer_admin_layer(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer*)_upb_Message_New(&envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, arena); if (sub) envoy_config_bootstrap_v3_RuntimeLayer_set_admin_layer(msg, sub); } return sub; @@ -2867,7 +3227,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_rtds_layer(envoy_conf UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootstrap_v3_RuntimeLayer_mutable_rtds_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena) { struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer*)envoy_config_bootstrap_v3_RuntimeLayer_rtds_layer(msg); if (sub == NULL) { - sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer*)_upb_Message_New(&envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_msg_init, arena); + sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, arena); if (sub) envoy_config_bootstrap_v3_RuntimeLayer_set_rtds_layer(msg, sub); } return sub; @@ -2876,12 +3236,12 @@ UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config /* envoy.config.bootstrap.v3.RuntimeLayer.DiskLayer */ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer*)_upb_Message_New(&envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_msg_init, arena); + return (envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2891,7 +3251,7 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootst int options, upb_Arena* arena) { envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2899,13 +3259,13 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootst } UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_clear_symlink_root(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg) { @@ -2958,12 +3318,12 @@ UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_set_subdirector /* envoy.config.bootstrap.v3.RuntimeLayer.AdminLayer */ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer*)_upb_Message_New(&envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_msg_init, arena); + return (envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2973,7 +3333,7 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_boots int options, upb_Arena* arena) { envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2981,13 +3341,13 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_boots } UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, options, arena, &ptr, len); return ptr; } @@ -2995,12 +3355,12 @@ UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_serialize_ex( /* envoy.config.bootstrap.v3.RuntimeLayer.RtdsLayer */ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer*)_upb_Message_New(&envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_msg_init, arena); + return (envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3010,7 +3370,7 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootst int options, upb_Arena* arena) { envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3018,13 +3378,13 @@ UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootst } UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_clear_name(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg) { @@ -3065,7 +3425,7 @@ UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_set_rtds_config UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_mutable_rtds_config(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg, upb_Arena* arena) { struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_rtds_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); if (sub) envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_set_rtds_config(msg, sub); } return sub; @@ -3074,12 +3434,12 @@ UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_R /* envoy.config.bootstrap.v3.LayeredRuntime */ UPB_INLINE envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_LayeredRuntime_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_LayeredRuntime*)_upb_Message_New(&envoy_config_bootstrap_v3_LayeredRuntime_msg_init, arena); + return (envoy_config_bootstrap_v3_LayeredRuntime*)_upb_Message_New(&envoy__config__bootstrap__v3__LayeredRuntime_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_LayeredRuntime_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_LayeredRuntime* ret = envoy_config_bootstrap_v3_LayeredRuntime_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_LayeredRuntime_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3089,7 +3449,7 @@ UPB_INLINE envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_L int options, upb_Arena* arena) { envoy_config_bootstrap_v3_LayeredRuntime* ret = envoy_config_bootstrap_v3_LayeredRuntime_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_LayeredRuntime_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3097,13 +3457,13 @@ UPB_INLINE envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_L } UPB_INLINE char* envoy_config_bootstrap_v3_LayeredRuntime_serialize(const envoy_config_bootstrap_v3_LayeredRuntime* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_LayeredRuntime_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_LayeredRuntime_serialize_ex(const envoy_config_bootstrap_v3_LayeredRuntime* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_LayeredRuntime_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_LayeredRuntime_clear_layers(envoy_config_bootstrap_v3_LayeredRuntime* msg) { @@ -3165,7 +3525,7 @@ UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_bootstrap_v3_RuntimeLayer* sub = (struct envoy_config_bootstrap_v3_RuntimeLayer*)_upb_Message_New(&envoy_config_bootstrap_v3_RuntimeLayer_msg_init, arena); + struct envoy_config_bootstrap_v3_RuntimeLayer* sub = (struct envoy_config_bootstrap_v3_RuntimeLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -3174,12 +3534,12 @@ UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap /* envoy.config.bootstrap.v3.CustomInlineHeader */ UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader* envoy_config_bootstrap_v3_CustomInlineHeader_new(upb_Arena* arena) { - return (envoy_config_bootstrap_v3_CustomInlineHeader*)_upb_Message_New(&envoy_config_bootstrap_v3_CustomInlineHeader_msg_init, arena); + return (envoy_config_bootstrap_v3_CustomInlineHeader*)_upb_Message_New(&envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, arena); } UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader* envoy_config_bootstrap_v3_CustomInlineHeader_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_bootstrap_v3_CustomInlineHeader* ret = envoy_config_bootstrap_v3_CustomInlineHeader_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_CustomInlineHeader_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3189,7 +3549,7 @@ UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader* envoy_config_bootstrap_ int options, upb_Arena* arena) { envoy_config_bootstrap_v3_CustomInlineHeader* ret = envoy_config_bootstrap_v3_CustomInlineHeader_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_bootstrap_v3_CustomInlineHeader_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3197,13 +3557,13 @@ UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader* envoy_config_bootstrap_ } UPB_INLINE char* envoy_config_bootstrap_v3_CustomInlineHeader_serialize(const envoy_config_bootstrap_v3_CustomInlineHeader* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_CustomInlineHeader_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_bootstrap_v3_CustomInlineHeader_serialize_ex(const envoy_config_bootstrap_v3_CustomInlineHeader* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_bootstrap_v3_CustomInlineHeader_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_bootstrap_v3_CustomInlineHeader_clear_inline_header_name(envoy_config_bootstrap_v3_CustomInlineHeader* msg) { @@ -3238,8 +3598,6 @@ UPB_INLINE void envoy_config_bootstrap_v3_CustomInlineHeader_set_inline_header_t _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_config_bootstrap_v3_bootstrap_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c new file mode 100644 index 00000000000..d9b0989215e --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c @@ -0,0 +1,651 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/bootstrap/v3/bootstrap.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/bootstrap/v3/bootstrap.upb_minitable.h" +#include "envoy/config/accesslog/v3/accesslog.upb_minitable.h" +#include "envoy/config/cluster/v3/cluster.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/config/core/v3/event_service_config.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/resolver.upb_minitable.h" +#include "envoy/config/core/v3/socket_option.upb_minitable.h" +#include "envoy/config/listener/v3/listener.upb_minitable.h" +#include "envoy/config/metrics/v3/stats.upb_minitable.h" +#include "envoy/config/overload/v3/overload.upb_minitable.h" +#include "envoy/config/trace/v3/http_tracer.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/security.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_bootstrap_v3_Bootstrap_submsgs[30] = { + {.submsg = &envoy__config__core__v3__Node_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__ClusterManager_msg_init}, + {.submsg = &envoy__config__metrics__v3__StatsSink_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__Watchdog_msg_init}, + {.submsg = &envoy__config__trace__v3__Tracing_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__Admin_msg_init}, + {.submsg = &envoy__config__metrics__v3__StatsConfig_msg_init}, + {.submsg = &envoy__config__core__v3__ApiConfigSource_msg_init}, + {.submsg = &envoy__config__overload__v3__OverloadManager_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__LayeredRuntime_msg_init}, + {.submsg = &google__protobuf__UInt64Value_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__Bootstrap__CertificateProviderInstancesEntry_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__Watchdogs_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__FatalAction_msg_init}, + {.submsg = &envoy__config__core__v3__DnsResolutionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_Bootstrap__fields[38] = { + {1, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(144, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(36, 88), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(40, 96), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(44, 104), 9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(48, 112), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(52, 120), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(56, 5), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(60, 128), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(152, 136), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(64, 152), 13, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(68, 6), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(72, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(76, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(80, 176), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(160, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(84, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {26, UPB_SIZE(88, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {27, UPB_SIZE(92, 216), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {28, UPB_SIZE(96, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {29, 4, UPB_SIZE(-101, -9), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {30, UPB_SIZE(104, 232), 16, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {31, UPB_SIZE(108, 240), 17, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {32, UPB_SIZE(112, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {33, UPB_SIZE(168, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {34, UPB_SIZE(116, 272), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {35, UPB_SIZE(120, 280), 19, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {36, UPB_SIZE(124, 288), 20, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {37, UPB_SIZE(128, 296), 21, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {38, UPB_SIZE(132, 304), 22, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {39, UPB_SIZE(136, 312), 23, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {40, UPB_SIZE(140, 320), 24, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap_msg_init = { + &envoy_config_bootstrap_v3_Bootstrap_submsgs[0], + &envoy_config_bootstrap_v3_Bootstrap__fields[0], + UPB_SIZE(176, 328), 38, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000000100000a, &upb_psm_1bt_maxmaxb}, + {0x0018000002010012, &upb_psm_1bt_max64b}, + {0x002000000302001a, &upb_psm_1bt_max128b}, + {0x0028000004030022, &upb_psm_1bt_max64b}, + {0x003000003f00002a, &upb_pss_1bt}, + {0x004000003f040032, &upb_prm_1bt_maxmaxb}, + {0x004800000505003a, &upb_psm_1bt_maxmaxb}, + {0x0050000006060042, &upb_psm_1bt_max128b}, + {0x005800000707004a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0060000008080062, &upb_psm_1bt_max128b}, + {0x006800000909006a, &upb_psm_1bt_maxmaxb}, + {0x007000000a0a0072, &upb_psm_1bt_maxmaxb}, + {0x007800000b0b007a, &upb_psm_1bt_maxmaxb}, + {0x000500003f000180, &upb_psb1_2bt}, + {0x008000000c0c018a, &upb_psm_2bt_max64b}, + {0x008800003f000192, &upb_pss_2bt}, + {0x009800000d0d019a, &upb_psm_2bt_maxmaxb}, + {0x000600003f0001a0, &upb_psb1_2bt}, + {0x00a000003f0e01aa, &upb_prm_2bt_maxmaxb}, + {0x00a800003f0f01b2, &upb_prm_2bt_maxmaxb}, + {0x00b000000e1001ba, &upb_psm_2bt_maxmaxb}, + {0x00b800003f0001c2, &upb_pss_2bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x00d000003f0001d2, &upb_prs_2bt}, + {0x00d800000f1201da, &upb_psm_2bt_max64b}, + {0x00e000003f1301e2, &upb_prm_2bt_max64b}, + {0x000400081d0001e8, &upb_pob1_2bt}, + {0x00e80000101401f2, &upb_psm_2bt_maxmaxb}, + {0x00f00000111501fa, &upb_psm_2bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_Bootstrap_StaticResources_submsgs[3] = { + {.submsg = &envoy__config__listener__v3__Listener_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__Secret_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_Bootstrap_StaticResources__fields[3] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 16), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init = { + &envoy_config_bootstrap_v3_Bootstrap_StaticResources_submsgs[0], + &envoy_config_bootstrap_v3_Bootstrap_StaticResources__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, + {0x000800003f010012, &upb_prm_1bt_maxmaxb}, + {0x001000003f02001a, &upb_prm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_Bootstrap_DynamicResources_submsgs[3] = { + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, + {.submsg = &envoy__config__core__v3__ApiConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_Bootstrap_DynamicResources__fields[5] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init = { + &envoy_config_bootstrap_v3_Bootstrap_DynamicResources_submsgs[0], + &envoy_config_bootstrap_v3_Bootstrap_DynamicResources__fields[0], + UPB_SIZE(32, 64), 5, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002000003f00002a, &upb_pss_1bt}, + {0x003000003f000032, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_submsgs[1] = { + {.submsg = &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init = { + &envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_submsgs[0], + &envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_submsgs[1] = { + {.submsg = &google__protobuf__Struct_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat__fields[2] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init = { + &envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_submsgs[0], + &envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_maxmaxb}, + {0x0008000002000012, &upb_pos_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions__fields[1] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init = { + NULL, + &envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_submsgs[1] = { + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init = { + &envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_submsgs[0], + &envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_submsgs[1] = { + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__CertificateProviderInstancesEntry_msg_init = { + &envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_submsgs[0], + &envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_Admin_submsgs[3] = { + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__config__core__v3__SocketOption_msg_init}, + {.submsg = &envoy__config__accesslog__v3__AccessLog_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_Admin__fields[6] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__Admin_msg_init = { + &envoy_config_bootstrap_v3_Admin_submsgs[0], + &envoy_config_bootstrap_v3_Admin__fields[0], + UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x002800000100001a, &upb_psm_1bt_maxmaxb}, + {0x003000003f010022, &upb_prm_1bt_maxmaxb}, + {0x003800003f02002a, &upb_prm_1bt_maxmaxb}, + {0x000100003f000030, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_ClusterManager_submsgs[3] = { + {.submsg = &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init}, + {.submsg = &envoy__config__core__v3__BindConfig_msg_init}, + {.submsg = &envoy__config__core__v3__ApiConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_ClusterManager__fields[5] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__ClusterManager_msg_init = { + &envoy_config_bootstrap_v3_ClusterManager_submsgs[0], + &envoy_config_bootstrap_v3_ClusterManager__fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + {0x0028000003020022, &upb_psm_1bt_maxmaxb}, + {0x000100003f000028, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_submsgs[1] = { + {.submsg = &envoy__config__core__v3__EventServiceConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_ClusterManager_OutlierDetection__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init = { + &envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_submsgs[0], + &envoy_config_bootstrap_v3_ClusterManager_OutlierDetection__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_Watchdogs_submsgs[2] = { + {.submsg = &envoy__config__bootstrap__v3__Watchdog_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__Watchdog_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_Watchdogs__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__Watchdogs_msg_init = { + &envoy_config_bootstrap_v3_Watchdogs_submsgs[0], + &envoy_config_bootstrap_v3_Watchdogs__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max128b}, + {0x0010000002010012, &upb_psm_1bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_Watchdog_submsgs[7] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__type__v3__Percent_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_Watchdog__fields[7] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 56), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__Watchdog_msg_init = { + &envoy_config_bootstrap_v3_Watchdog_submsgs[0], + &envoy_config_bootstrap_v3_Watchdog__fields[0], + UPB_SIZE(32, 64), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x0020000004030022, &upb_psm_1bt_maxmaxb}, + {0x002800000504002a, &upb_psm_1bt_maxmaxb}, + {0x0030000006050032, &upb_psm_1bt_maxmaxb}, + {0x003800003f06003a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_Watchdog_WatchdogAction_submsgs[1] = { + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_Watchdog_WatchdogAction__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init = { + &envoy_config_bootstrap_v3_Watchdog_WatchdogAction_submsgs[0], + &envoy_config_bootstrap_v3_Watchdog_WatchdogAction__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_FatalAction_submsgs[1] = { + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_FatalAction__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__FatalAction_msg_init = { + &envoy_config_bootstrap_v3_FatalAction_submsgs[0], + &envoy_config_bootstrap_v3_FatalAction__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_Runtime_submsgs[1] = { + {.submsg = &google__protobuf__Struct_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_Runtime__fields[4] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 56), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__Runtime_msg_init = { + &envoy_config_bootstrap_v3_Runtime_submsgs[0], + &envoy_config_bootstrap_v3_Runtime__fields[0], + UPB_SIZE(32, 64), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x002800003f00001a, &upb_pss_1bt}, + {0x0038000001000022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_RuntimeLayer_submsgs[4] = { + {.submsg = &google__protobuf__Struct_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init}, + {.submsg = &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_RuntimeLayer__fields[5] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 24), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 24), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__RuntimeLayer_msg_init = { + &envoy_config_bootstrap_v3_RuntimeLayer_submsgs[0], + &envoy_config_bootstrap_v3_RuntimeLayer__fields[0], + UPB_SIZE(16, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000002000012, &upb_pom_1bt_maxmaxb}, + {0x001800000301001a, &upb_pom_1bt_max64b}, + {0x0018000004020022, &upb_pom_1bt_max64b}, + {0x001800000503002a, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer__fields[3] = { + {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init = { + NULL, + &envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x000000003f000010, &upb_psb1_1bt}, + {0x001800003f00001a, &upb_pss_1bt}, + }) +}; + +const upb_MiniTable envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_submsgs[1] = { + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init = { + &envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_submsgs[0], + &envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_bootstrap_v3_LayeredRuntime_submsgs[1] = { + {.submsg = &envoy__config__bootstrap__v3__RuntimeLayer_msg_init}, +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_LayeredRuntime__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__LayeredRuntime_msg_init = { + &envoy_config_bootstrap_v3_LayeredRuntime_submsgs[0], + &envoy_config_bootstrap_v3_LayeredRuntime__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableField envoy_config_bootstrap_v3_CustomInlineHeader__fields[2] = { + {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__bootstrap__v3__CustomInlineHeader_msg_init = { + NULL, + &envoy_config_bootstrap_v3_CustomInlineHeader__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x000000003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[22] = { + &envoy__config__bootstrap__v3__Bootstrap_msg_init, + &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, + &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, + &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, + &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, + &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, + &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, + &envoy__config__bootstrap__v3__Bootstrap__CertificateProviderInstancesEntry_msg_init, + &envoy__config__bootstrap__v3__Admin_msg_init, + &envoy__config__bootstrap__v3__ClusterManager_msg_init, + &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, + &envoy__config__bootstrap__v3__Watchdogs_msg_init, + &envoy__config__bootstrap__v3__Watchdog_msg_init, + &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, + &envoy__config__bootstrap__v3__FatalAction_msg_init, + &envoy__config__bootstrap__v3__Runtime_msg_init, + &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, + &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, + &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, + &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, + &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, + &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, +}; + +const upb_MiniTableFile envoy_config_bootstrap_v3_bootstrap_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 22, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h new file mode 100644 index 00000000000..0bce61ac6b1 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h @@ -0,0 +1,51 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/bootstrap/v3/bootstrap.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_BOOTSTRAP_V3_BOOTSTRAP_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_BOOTSTRAP_V3_BOOTSTRAP_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__Bootstrap__CertificateProviderInstancesEntry_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__Admin_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__ClusterManager_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__Watchdogs_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__Watchdog_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__FatalAction_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__Runtime_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__RuntimeLayer_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__LayeredRuntime_msg_init; +extern const upb_MiniTable envoy__config__bootstrap__v3__CustomInlineHeader_msg_init; + +extern const upb_MiniTableFile envoy_config_bootstrap_v3_bootstrap_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_BOOTSTRAP_V3_BOOTSTRAP_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h b/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h similarity index 92% rename from src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h rename to src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h index 1b459b39085..0ee4c173445 100644 --- a/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +++ b/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/cluster/v3/circuit_breaker.proto * @@ -10,7 +9,17 @@ #define ENVOY_CONFIG_CLUSTER_V3_CIRCUIT_BREAKER_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/cluster/v3/circuit_breaker.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -20,25 +29,20 @@ extern "C" { typedef struct envoy_config_cluster_v3_CircuitBreakers envoy_config_cluster_v3_CircuitBreakers; typedef struct envoy_config_cluster_v3_CircuitBreakers_Thresholds envoy_config_cluster_v3_CircuitBreakers_Thresholds; typedef struct envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget; -extern const upb_MiniTable envoy_config_cluster_v3_CircuitBreakers_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_CircuitBreakers_Thresholds_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_msg_init; struct envoy_type_v3_Percent; struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_type_v3_Percent_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; /* envoy.config.cluster.v3.CircuitBreakers */ UPB_INLINE envoy_config_cluster_v3_CircuitBreakers* envoy_config_cluster_v3_CircuitBreakers_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_CircuitBreakers*)_upb_Message_New(&envoy_config_cluster_v3_CircuitBreakers_msg_init, arena); + return (envoy_config_cluster_v3_CircuitBreakers*)_upb_Message_New(&envoy__config__cluster__v3__CircuitBreakers_msg_init, arena); } UPB_INLINE envoy_config_cluster_v3_CircuitBreakers* envoy_config_cluster_v3_CircuitBreakers_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_cluster_v3_CircuitBreakers* ret = envoy_config_cluster_v3_CircuitBreakers_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_CircuitBreakers_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__CircuitBreakers_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -48,7 +52,7 @@ UPB_INLINE envoy_config_cluster_v3_CircuitBreakers* envoy_config_cluster_v3_Circ int options, upb_Arena* arena) { envoy_config_cluster_v3_CircuitBreakers* ret = envoy_config_cluster_v3_CircuitBreakers_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_CircuitBreakers_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__CircuitBreakers_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -56,13 +60,13 @@ UPB_INLINE envoy_config_cluster_v3_CircuitBreakers* envoy_config_cluster_v3_Circ } UPB_INLINE char* envoy_config_cluster_v3_CircuitBreakers_serialize(const envoy_config_cluster_v3_CircuitBreakers* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_CircuitBreakers_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__cluster__v3__CircuitBreakers_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_cluster_v3_CircuitBreakers_serialize_ex(const envoy_config_cluster_v3_CircuitBreakers* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_CircuitBreakers_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__cluster__v3__CircuitBreakers_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_cluster_v3_CircuitBreakers_clear_thresholds(envoy_config_cluster_v3_CircuitBreakers* msg) { @@ -161,7 +165,7 @@ UPB_INLINE struct envoy_config_cluster_v3_CircuitBreakers_Thresholds* envoy_conf if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_cluster_v3_CircuitBreakers_Thresholds* sub = (struct envoy_config_cluster_v3_CircuitBreakers_Thresholds*)_upb_Message_New(&envoy_config_cluster_v3_CircuitBreakers_Thresholds_msg_init, arena); + struct envoy_config_cluster_v3_CircuitBreakers_Thresholds* sub = (struct envoy_config_cluster_v3_CircuitBreakers_Thresholds*)_upb_Message_New(&envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -187,7 +191,7 @@ UPB_INLINE struct envoy_config_cluster_v3_CircuitBreakers_Thresholds* envoy_conf if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_cluster_v3_CircuitBreakers_Thresholds* sub = (struct envoy_config_cluster_v3_CircuitBreakers_Thresholds*)_upb_Message_New(&envoy_config_cluster_v3_CircuitBreakers_Thresholds_msg_init, arena); + struct envoy_config_cluster_v3_CircuitBreakers_Thresholds* sub = (struct envoy_config_cluster_v3_CircuitBreakers_Thresholds*)_upb_Message_New(&envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -196,12 +200,12 @@ UPB_INLINE struct envoy_config_cluster_v3_CircuitBreakers_Thresholds* envoy_conf /* envoy.config.cluster.v3.CircuitBreakers.Thresholds */ UPB_INLINE envoy_config_cluster_v3_CircuitBreakers_Thresholds* envoy_config_cluster_v3_CircuitBreakers_Thresholds_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_CircuitBreakers_Thresholds*)_upb_Message_New(&envoy_config_cluster_v3_CircuitBreakers_Thresholds_msg_init, arena); + return (envoy_config_cluster_v3_CircuitBreakers_Thresholds*)_upb_Message_New(&envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init, arena); } UPB_INLINE envoy_config_cluster_v3_CircuitBreakers_Thresholds* envoy_config_cluster_v3_CircuitBreakers_Thresholds_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_cluster_v3_CircuitBreakers_Thresholds* ret = envoy_config_cluster_v3_CircuitBreakers_Thresholds_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_CircuitBreakers_Thresholds_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -211,7 +215,7 @@ UPB_INLINE envoy_config_cluster_v3_CircuitBreakers_Thresholds* envoy_config_clus int options, upb_Arena* arena) { envoy_config_cluster_v3_CircuitBreakers_Thresholds* ret = envoy_config_cluster_v3_CircuitBreakers_Thresholds_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_CircuitBreakers_Thresholds_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -219,13 +223,13 @@ UPB_INLINE envoy_config_cluster_v3_CircuitBreakers_Thresholds* envoy_config_clus } UPB_INLINE char* envoy_config_cluster_v3_CircuitBreakers_Thresholds_serialize(const envoy_config_cluster_v3_CircuitBreakers_Thresholds* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_CircuitBreakers_Thresholds_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_cluster_v3_CircuitBreakers_Thresholds_serialize_ex(const envoy_config_cluster_v3_CircuitBreakers_Thresholds* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_CircuitBreakers_Thresholds_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_cluster_v3_CircuitBreakers_Thresholds_clear_priority(envoy_config_cluster_v3_CircuitBreakers_Thresholds* msg) { @@ -352,7 +356,7 @@ UPB_INLINE void envoy_config_cluster_v3_CircuitBreakers_Thresholds_set_max_conne UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_CircuitBreakers_Thresholds_mutable_max_connections(envoy_config_cluster_v3_CircuitBreakers_Thresholds* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_CircuitBreakers_Thresholds_max_connections(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_CircuitBreakers_Thresholds_set_max_connections(msg, sub); } return sub; @@ -364,7 +368,7 @@ UPB_INLINE void envoy_config_cluster_v3_CircuitBreakers_Thresholds_set_max_pendi UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_CircuitBreakers_Thresholds_mutable_max_pending_requests(envoy_config_cluster_v3_CircuitBreakers_Thresholds* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_CircuitBreakers_Thresholds_max_pending_requests(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_CircuitBreakers_Thresholds_set_max_pending_requests(msg, sub); } return sub; @@ -376,7 +380,7 @@ UPB_INLINE void envoy_config_cluster_v3_CircuitBreakers_Thresholds_set_max_reque UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_CircuitBreakers_Thresholds_mutable_max_requests(envoy_config_cluster_v3_CircuitBreakers_Thresholds* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_CircuitBreakers_Thresholds_max_requests(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_CircuitBreakers_Thresholds_set_max_requests(msg, sub); } return sub; @@ -388,7 +392,7 @@ UPB_INLINE void envoy_config_cluster_v3_CircuitBreakers_Thresholds_set_max_retri UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_CircuitBreakers_Thresholds_mutable_max_retries(envoy_config_cluster_v3_CircuitBreakers_Thresholds* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_CircuitBreakers_Thresholds_max_retries(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_CircuitBreakers_Thresholds_set_max_retries(msg, sub); } return sub; @@ -404,7 +408,7 @@ UPB_INLINE void envoy_config_cluster_v3_CircuitBreakers_Thresholds_set_max_conne UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_CircuitBreakers_Thresholds_mutable_max_connection_pools(envoy_config_cluster_v3_CircuitBreakers_Thresholds* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_CircuitBreakers_Thresholds_max_connection_pools(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_CircuitBreakers_Thresholds_set_max_connection_pools(msg, sub); } return sub; @@ -416,7 +420,7 @@ UPB_INLINE void envoy_config_cluster_v3_CircuitBreakers_Thresholds_set_retry_bud UPB_INLINE struct envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget* envoy_config_cluster_v3_CircuitBreakers_Thresholds_mutable_retry_budget(envoy_config_cluster_v3_CircuitBreakers_Thresholds* msg, upb_Arena* arena) { struct envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget* sub = (struct envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget*)envoy_config_cluster_v3_CircuitBreakers_Thresholds_retry_budget(msg); if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget*)_upb_Message_New(&envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_msg_init, arena); + sub = (struct envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget*)_upb_Message_New(&envoy__config__cluster__v3__CircuitBreakers__Thresholds__RetryBudget_msg_init, arena); if (sub) envoy_config_cluster_v3_CircuitBreakers_Thresholds_set_retry_budget(msg, sub); } return sub; @@ -425,12 +429,12 @@ UPB_INLINE struct envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget /* envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget */ UPB_INLINE envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget* envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget*)_upb_Message_New(&envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_msg_init, arena); + return (envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget*)_upb_Message_New(&envoy__config__cluster__v3__CircuitBreakers__Thresholds__RetryBudget_msg_init, arena); } UPB_INLINE envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget* envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget* ret = envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__CircuitBreakers__Thresholds__RetryBudget_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -440,7 +444,7 @@ UPB_INLINE envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget* envoy int options, upb_Arena* arena) { envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget* ret = envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__CircuitBreakers__Thresholds__RetryBudget_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -448,13 +452,13 @@ UPB_INLINE envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget* envoy } UPB_INLINE char* envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_serialize(const envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__cluster__v3__CircuitBreakers__Thresholds__RetryBudget_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_serialize_ex(const envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__cluster__v3__CircuitBreakers__Thresholds__RetryBudget_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_clear_budget_percent(envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget* msg) { @@ -495,7 +499,7 @@ UPB_INLINE void envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_s UPB_INLINE struct envoy_type_v3_Percent* envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_mutable_budget_percent(envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget* msg, upb_Arena* arena) { struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_budget_percent(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); if (sub) envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_set_budget_percent(msg, sub); } return sub; @@ -507,14 +511,12 @@ UPB_INLINE void envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_s UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_mutable_min_retry_concurrency(envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_min_retry_concurrency(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_set_min_retry_concurrency(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_cluster_v3_circuit_breaker_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c new file mode 100644 index 00000000000..ffbb007a726 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c @@ -0,0 +1,125 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/cluster/v3/circuit_breaker.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/cluster/v3/circuit_breaker.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_cluster_v3_CircuitBreakers_submsgs[2] = { + {.submsg = &envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init}, + {.submsg = &envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_CircuitBreakers__fields[2] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__CircuitBreakers_msg_init = { + &envoy_config_cluster_v3_CircuitBreakers_submsgs[0], + &envoy_config_cluster_v3_CircuitBreakers__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max128b}, + {0x000800003f010012, &upb_prm_1bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_CircuitBreakers_Thresholds_submsgs[6] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__cluster__v3__CircuitBreakers__Thresholds__RetryBudget_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_CircuitBreakers_Thresholds__fields[8] = { + {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 48), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 56), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init = { + &envoy_config_cluster_v3_CircuitBreakers_Thresholds_submsgs[0], + &envoy_config_cluster_v3_CircuitBreakers_Thresholds__fields[0], + UPB_SIZE(40, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x0010000001000012, &upb_psm_1bt_maxmaxb}, + {0x001800000201001a, &upb_psm_1bt_maxmaxb}, + {0x0020000003020022, &upb_psm_1bt_maxmaxb}, + {0x002800000403002a, &upb_psm_1bt_maxmaxb}, + {0x000800003f000030, &upb_psb1_1bt}, + {0x003000000504003a, &upb_psm_1bt_maxmaxb}, + {0x0038000006050042, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_submsgs[2] = { + {.submsg = &envoy__type__v3__Percent_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__CircuitBreakers__Thresholds__RetryBudget_msg_init = { + &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_submsgs[0], + &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[3] = { + &envoy__config__cluster__v3__CircuitBreakers_msg_init, + &envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init, + &envoy__config__cluster__v3__CircuitBreakers__Thresholds__RetryBudget_msg_init, +}; + +const upb_MiniTableFile envoy_config_cluster_v3_circuit_breaker_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 3, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h new file mode 100644 index 00000000000..a83799879b1 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h @@ -0,0 +1,32 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/cluster/v3/circuit_breaker.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CLUSTER_V3_CIRCUIT_BREAKER_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CLUSTER_V3_CIRCUIT_BREAKER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__cluster__v3__CircuitBreakers_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__CircuitBreakers__Thresholds__RetryBudget_msg_init; + +extern const upb_MiniTableFile envoy_config_cluster_v3_circuit_breaker_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CLUSTER_V3_CIRCUIT_BREAKER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h b/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h new file mode 100644 index 00000000000..28b94a7ecb4 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h @@ -0,0 +1,3934 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/cluster/v3/cluster.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPB_H_ +#define ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/config/cluster/v3/cluster.upb_minitable.h" + +#include "envoy/config/cluster/v3/circuit_breaker.upb_minitable.h" +#include "envoy/config/cluster/v3/filter.upb_minitable.h" +#include "envoy/config/cluster/v3/outlier_detection.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/health_check.upb_minitable.h" +#include "envoy/config/core/v3/protocol.upb_minitable.h" +#include "envoy/config/core/v3/resolver.upb_minitable.h" +#include "envoy/config/endpoint/v3/endpoint.upb_minitable.h" +#include "envoy/type/metadata/v3/metadata.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/core/v3/collection_entry.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/security.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_config_cluster_v3_ClusterCollection envoy_config_cluster_v3_ClusterCollection; +typedef struct envoy_config_cluster_v3_Cluster envoy_config_cluster_v3_Cluster; +typedef struct envoy_config_cluster_v3_Cluster_TransportSocketMatch envoy_config_cluster_v3_Cluster_TransportSocketMatch; +typedef struct envoy_config_cluster_v3_Cluster_CustomClusterType envoy_config_cluster_v3_Cluster_CustomClusterType; +typedef struct envoy_config_cluster_v3_Cluster_EdsClusterConfig envoy_config_cluster_v3_Cluster_EdsClusterConfig; +typedef struct envoy_config_cluster_v3_Cluster_LbSubsetConfig envoy_config_cluster_v3_Cluster_LbSubsetConfig; +typedef struct envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector; +typedef struct envoy_config_cluster_v3_Cluster_SlowStartConfig envoy_config_cluster_v3_Cluster_SlowStartConfig; +typedef struct envoy_config_cluster_v3_Cluster_RoundRobinLbConfig envoy_config_cluster_v3_Cluster_RoundRobinLbConfig; +typedef struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig envoy_config_cluster_v3_Cluster_LeastRequestLbConfig; +typedef struct envoy_config_cluster_v3_Cluster_RingHashLbConfig envoy_config_cluster_v3_Cluster_RingHashLbConfig; +typedef struct envoy_config_cluster_v3_Cluster_MaglevLbConfig envoy_config_cluster_v3_Cluster_MaglevLbConfig; +typedef struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig envoy_config_cluster_v3_Cluster_OriginalDstLbConfig; +typedef struct envoy_config_cluster_v3_Cluster_CommonLbConfig envoy_config_cluster_v3_Cluster_CommonLbConfig; +typedef struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig; +typedef struct envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig; +typedef struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig; +typedef struct envoy_config_cluster_v3_Cluster_RefreshRate envoy_config_cluster_v3_Cluster_RefreshRate; +typedef struct envoy_config_cluster_v3_Cluster_PreconnectPolicy envoy_config_cluster_v3_Cluster_PreconnectPolicy; +typedef struct envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry; +typedef struct envoy_config_cluster_v3_LoadBalancingPolicy envoy_config_cluster_v3_LoadBalancingPolicy; +typedef struct envoy_config_cluster_v3_LoadBalancingPolicy_Policy envoy_config_cluster_v3_LoadBalancingPolicy_Policy; +typedef struct envoy_config_cluster_v3_UpstreamConnectionOptions envoy_config_cluster_v3_UpstreamConnectionOptions; +typedef struct envoy_config_cluster_v3_TrackClusterStats envoy_config_cluster_v3_TrackClusterStats; +struct envoy_config_cluster_v3_CircuitBreakers; +struct envoy_config_cluster_v3_Filter; +struct envoy_config_cluster_v3_OutlierDetection; +struct envoy_config_core_v3_Address; +struct envoy_config_core_v3_BindConfig; +struct envoy_config_core_v3_ConfigSource; +struct envoy_config_core_v3_DnsResolutionConfig; +struct envoy_config_core_v3_HealthCheck; +struct envoy_config_core_v3_HealthStatusSet; +struct envoy_config_core_v3_Http1ProtocolOptions; +struct envoy_config_core_v3_Http2ProtocolOptions; +struct envoy_config_core_v3_HttpProtocolOptions; +struct envoy_config_core_v3_Metadata; +struct envoy_config_core_v3_RuntimeDouble; +struct envoy_config_core_v3_TcpKeepalive; +struct envoy_config_core_v3_TransportSocket; +struct envoy_config_core_v3_TypedExtensionConfig; +struct envoy_config_core_v3_UpstreamHttpProtocolOptions; +struct envoy_config_endpoint_v3_ClusterLoadAssignment; +struct envoy_type_metadata_v3_MetadataKey; +struct envoy_type_v3_Percent; +struct google_protobuf_Any; +struct google_protobuf_BoolValue; +struct google_protobuf_DoubleValue; +struct google_protobuf_Duration; +struct google_protobuf_Struct; +struct google_protobuf_UInt32Value; +struct google_protobuf_UInt64Value; +struct xds_core_v3_CollectionEntry; + +typedef enum { + envoy_config_cluster_v3_Cluster_USE_CONFIGURED_PROTOCOL = 0, + envoy_config_cluster_v3_Cluster_USE_DOWNSTREAM_PROTOCOL = 1 +} envoy_config_cluster_v3_Cluster_ClusterProtocolSelection; + +typedef enum { + envoy_config_cluster_v3_Cluster_STATIC = 0, + envoy_config_cluster_v3_Cluster_STRICT_DNS = 1, + envoy_config_cluster_v3_Cluster_LOGICAL_DNS = 2, + envoy_config_cluster_v3_Cluster_EDS = 3, + envoy_config_cluster_v3_Cluster_ORIGINAL_DST = 4 +} envoy_config_cluster_v3_Cluster_DiscoveryType; + +typedef enum { + envoy_config_cluster_v3_Cluster_AUTO = 0, + envoy_config_cluster_v3_Cluster_V4_ONLY = 1, + envoy_config_cluster_v3_Cluster_V6_ONLY = 2, + envoy_config_cluster_v3_Cluster_V4_PREFERRED = 3, + envoy_config_cluster_v3_Cluster_ALL = 4 +} envoy_config_cluster_v3_Cluster_DnsLookupFamily; + +typedef enum { + envoy_config_cluster_v3_Cluster_ROUND_ROBIN = 0, + envoy_config_cluster_v3_Cluster_LEAST_REQUEST = 1, + envoy_config_cluster_v3_Cluster_RING_HASH = 2, + envoy_config_cluster_v3_Cluster_RANDOM = 3, + envoy_config_cluster_v3_Cluster_MAGLEV = 5, + envoy_config_cluster_v3_Cluster_CLUSTER_PROVIDED = 6, + envoy_config_cluster_v3_Cluster_LOAD_BALANCING_POLICY_CONFIG = 7 +} envoy_config_cluster_v3_Cluster_LbPolicy; + +typedef enum { + envoy_config_cluster_v3_Cluster_LbSubsetConfig_NO_FALLBACK = 0, + envoy_config_cluster_v3_Cluster_LbSubsetConfig_ANY_ENDPOINT = 1, + envoy_config_cluster_v3_Cluster_LbSubsetConfig_DEFAULT_SUBSET = 2 +} envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetFallbackPolicy; + +typedef enum { + envoy_config_cluster_v3_Cluster_LbSubsetConfig_METADATA_NO_FALLBACK = 0, + envoy_config_cluster_v3_Cluster_LbSubsetConfig_FALLBACK_LIST = 1 +} envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy; + +typedef enum { + envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_NOT_DEFINED = 0, + envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_NO_FALLBACK = 1, + envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_ANY_ENDPOINT = 2, + envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_DEFAULT_SUBSET = 3, + envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_KEYS_SUBSET = 4 +} envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy; + +typedef enum { + envoy_config_cluster_v3_Cluster_RingHashLbConfig_XX_HASH = 0, + envoy_config_cluster_v3_Cluster_RingHashLbConfig_MURMUR_HASH_2 = 1 +} envoy_config_cluster_v3_Cluster_RingHashLbConfig_HashFunction; + + + +/* envoy.config.cluster.v3.ClusterCollection */ + +UPB_INLINE envoy_config_cluster_v3_ClusterCollection* envoy_config_cluster_v3_ClusterCollection_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_ClusterCollection*)_upb_Message_New(&envoy__config__cluster__v3__ClusterCollection_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_ClusterCollection* envoy_config_cluster_v3_ClusterCollection_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_ClusterCollection* ret = envoy_config_cluster_v3_ClusterCollection_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__ClusterCollection_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_ClusterCollection* envoy_config_cluster_v3_ClusterCollection_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_ClusterCollection* ret = envoy_config_cluster_v3_ClusterCollection_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__ClusterCollection_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_ClusterCollection_serialize(const envoy_config_cluster_v3_ClusterCollection* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__ClusterCollection_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_ClusterCollection_serialize_ex(const envoy_config_cluster_v3_ClusterCollection* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__ClusterCollection_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_ClusterCollection_clear_entries(envoy_config_cluster_v3_ClusterCollection* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_core_v3_CollectionEntry* envoy_config_cluster_v3_ClusterCollection_entries(const envoy_config_cluster_v3_ClusterCollection* msg) { + const struct xds_core_v3_CollectionEntry* default_val = NULL; + const struct xds_core_v3_CollectionEntry* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_ClusterCollection_has_entries(const envoy_config_cluster_v3_ClusterCollection* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_ClusterCollection_set_entries(envoy_config_cluster_v3_ClusterCollection *msg, struct xds_core_v3_CollectionEntry* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_core_v3_CollectionEntry* envoy_config_cluster_v3_ClusterCollection_mutable_entries(envoy_config_cluster_v3_ClusterCollection* msg, upb_Arena* arena) { + struct xds_core_v3_CollectionEntry* sub = (struct xds_core_v3_CollectionEntry*)envoy_config_cluster_v3_ClusterCollection_entries(msg); + if (sub == NULL) { + sub = (struct xds_core_v3_CollectionEntry*)_upb_Message_New(&xds__core__v3__CollectionEntry_msg_init, arena); + if (sub) envoy_config_cluster_v3_ClusterCollection_set_entries(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster */ + +UPB_INLINE envoy_config_cluster_v3_Cluster* envoy_config_cluster_v3_Cluster_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster*)_upb_Message_New(&envoy__config__cluster__v3__Cluster_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster* envoy_config_cluster_v3_Cluster_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster* ret = envoy_config_cluster_v3_Cluster_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster* envoy_config_cluster_v3_Cluster_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster* ret = envoy_config_cluster_v3_Cluster_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_serialize(const envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_serialize_ex(const envoy_config_cluster_v3_Cluster* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_cluster_v3_Cluster_cluster_discovery_type_type = 2, + envoy_config_cluster_v3_Cluster_cluster_discovery_type_cluster_type = 38, + envoy_config_cluster_v3_Cluster_cluster_discovery_type_NOT_SET = 0 +} envoy_config_cluster_v3_Cluster_cluster_discovery_type_oneofcases; +UPB_INLINE envoy_config_cluster_v3_Cluster_cluster_discovery_type_oneofcases envoy_config_cluster_v3_Cluster_cluster_discovery_type_case(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return (envoy_config_cluster_v3_Cluster_cluster_discovery_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +typedef enum { + envoy_config_cluster_v3_Cluster_lb_config_ring_hash_lb_config = 23, + envoy_config_cluster_v3_Cluster_lb_config_maglev_lb_config = 52, + envoy_config_cluster_v3_Cluster_lb_config_original_dst_lb_config = 34, + envoy_config_cluster_v3_Cluster_lb_config_least_request_lb_config = 37, + envoy_config_cluster_v3_Cluster_lb_config_round_robin_lb_config = 56, + envoy_config_cluster_v3_Cluster_lb_config_NOT_SET = 0 +} envoy_config_cluster_v3_Cluster_lb_config_oneofcases; +UPB_INLINE envoy_config_cluster_v3_Cluster_lb_config_oneofcases envoy_config_cluster_v3_Cluster_lb_config_case(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_cluster_v3_Cluster_lb_config_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_name(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(184, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_name(const envoy_config_cluster_v3_Cluster* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(184, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_type(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_type(const envoy_config_cluster_v3_Cluster* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_type(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_eds_cluster_config(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_EdsClusterConfig* envoy_config_cluster_v3_Cluster_eds_cluster_config(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_Cluster_EdsClusterConfig* default_val = NULL; + const envoy_config_cluster_v3_Cluster_EdsClusterConfig* ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_eds_cluster_config(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_connect_timeout(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 56), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_connect_timeout(const envoy_config_cluster_v3_Cluster* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {4, UPB_SIZE(8, 56), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_connect_timeout(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 56), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_per_connection_buffer_limit_bytes(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 64), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_per_connection_buffer_limit_bytes(const envoy_config_cluster_v3_Cluster* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {5, UPB_SIZE(12, 64), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_per_connection_buffer_limit_bytes(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 64), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_lb_policy(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_lb_policy(const envoy_config_cluster_v3_Cluster* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_health_checks(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_HealthCheck* const* envoy_config_cluster_v3_Cluster_health_checks(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct envoy_config_core_v3_HealthCheck* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_health_checks_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_health_checks_mutable_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_health_checks(const envoy_config_cluster_v3_Cluster* msg) { + size_t size; + envoy_config_cluster_v3_Cluster_health_checks(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_max_requests_per_connection(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(24, 80), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_max_requests_per_connection(const envoy_config_cluster_v3_Cluster* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {9, UPB_SIZE(24, 80), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_max_requests_per_connection(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(24, 80), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_circuit_breakers(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(28, 88), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_cluster_v3_CircuitBreakers* envoy_config_cluster_v3_Cluster_circuit_breakers(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_cluster_v3_CircuitBreakers* default_val = NULL; + const struct envoy_config_cluster_v3_CircuitBreakers* ret; + const upb_MiniTableField field = {10, UPB_SIZE(28, 88), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_circuit_breakers(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(28, 88), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_http_protocol_options(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(32, 96), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Http1ProtocolOptions* envoy_config_cluster_v3_Cluster_http_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_core_v3_Http1ProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_Http1ProtocolOptions* ret; + const upb_MiniTableField field = {13, UPB_SIZE(32, 96), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_http_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(32, 96), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_http2_protocol_options(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(36, 104), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Http2ProtocolOptions* envoy_config_cluster_v3_Cluster_http2_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_core_v3_Http2ProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_Http2ProtocolOptions* ret; + const upb_MiniTableField field = {14, UPB_SIZE(36, 104), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_http2_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(36, 104), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_dns_refresh_rate(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(40, 112), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_dns_refresh_rate(const envoy_config_cluster_v3_Cluster* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {16, UPB_SIZE(40, 112), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_dns_refresh_rate(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(40, 112), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_dns_lookup_family(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(44, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_dns_lookup_family(const envoy_config_cluster_v3_Cluster* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {17, UPB_SIZE(44, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_dns_resolvers(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Address* const* envoy_config_cluster_v3_Cluster_dns_resolvers(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { + const upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct envoy_config_core_v3_Address* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_dns_resolvers_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { + const upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_dns_resolvers_mutable_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_dns_resolvers(const envoy_config_cluster_v3_Cluster* msg) { + size_t size; + envoy_config_cluster_v3_Cluster_dns_resolvers(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_outlier_detection(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {19, UPB_SIZE(52, 128), 9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_cluster_v3_OutlierDetection* envoy_config_cluster_v3_Cluster_outlier_detection(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_cluster_v3_OutlierDetection* default_val = NULL; + const struct envoy_config_cluster_v3_OutlierDetection* ret; + const upb_MiniTableField field = {19, UPB_SIZE(52, 128), 9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_outlier_detection(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {19, UPB_SIZE(52, 128), 9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_cleanup_interval(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(56, 136), 10, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_cleanup_interval(const envoy_config_cluster_v3_Cluster* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {20, UPB_SIZE(56, 136), 10, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_cleanup_interval(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(56, 136), 10, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_upstream_bind_config(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {21, UPB_SIZE(60, 144), 11, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_BindConfig* envoy_config_cluster_v3_Cluster_upstream_bind_config(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_core_v3_BindConfig* default_val = NULL; + const struct envoy_config_core_v3_BindConfig* ret; + const upb_MiniTableField field = {21, UPB_SIZE(60, 144), 11, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_upstream_bind_config(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {21, UPB_SIZE(60, 144), 11, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_lb_subset_config(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {22, UPB_SIZE(64, 152), 12, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_LbSubsetConfig* envoy_config_cluster_v3_Cluster_lb_subset_config(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_Cluster_LbSubsetConfig* default_val = NULL; + const envoy_config_cluster_v3_Cluster_LbSubsetConfig* ret; + const upb_MiniTableField field = {22, UPB_SIZE(64, 152), 12, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_lb_subset_config(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {22, UPB_SIZE(64, 152), 12, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_ring_hash_lb_config(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_RingHashLbConfig* envoy_config_cluster_v3_Cluster_ring_hash_lb_config(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_Cluster_RingHashLbConfig* default_val = NULL; + const envoy_config_cluster_v3_Cluster_RingHashLbConfig* ret; + const upb_MiniTableField field = {23, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_ring_hash_lb_config(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_transport_socket(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {24, UPB_SIZE(68, 160), 13, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TransportSocket* envoy_config_cluster_v3_Cluster_transport_socket(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_core_v3_TransportSocket* default_val = NULL; + const struct envoy_config_core_v3_TransportSocket* ret; + const upb_MiniTableField field = {24, UPB_SIZE(68, 160), 13, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_transport_socket(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {24, UPB_SIZE(68, 160), 13, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_metadata(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {25, UPB_SIZE(72, 168), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Metadata* envoy_config_cluster_v3_Cluster_metadata(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_core_v3_Metadata* default_val = NULL; + const struct envoy_config_core_v3_Metadata* ret; + const upb_MiniTableField field = {25, UPB_SIZE(72, 168), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_metadata(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {25, UPB_SIZE(72, 168), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_protocol_selection(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {26, UPB_SIZE(76, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_protocol_selection(const envoy_config_cluster_v3_Cluster* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {26, UPB_SIZE(76, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_common_lb_config(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {27, UPB_SIZE(80, 176), 15, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_CommonLbConfig* envoy_config_cluster_v3_Cluster_common_lb_config(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_Cluster_CommonLbConfig* default_val = NULL; + const envoy_config_cluster_v3_Cluster_CommonLbConfig* ret; + const upb_MiniTableField field = {27, UPB_SIZE(80, 176), 15, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_common_lb_config(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {27, UPB_SIZE(80, 176), 15, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_alt_stat_name(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {28, UPB_SIZE(192, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_alt_stat_name(const envoy_config_cluster_v3_Cluster* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {28, UPB_SIZE(192, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_common_http_protocol_options(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {29, UPB_SIZE(84, 200), 16, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_HttpProtocolOptions* envoy_config_cluster_v3_Cluster_common_http_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_core_v3_HttpProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_HttpProtocolOptions* ret; + const upb_MiniTableField field = {29, UPB_SIZE(84, 200), 16, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_common_http_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {29, UPB_SIZE(84, 200), 16, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_upstream_connection_options(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {30, UPB_SIZE(88, 208), 17, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_UpstreamConnectionOptions* envoy_config_cluster_v3_Cluster_upstream_connection_options(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_UpstreamConnectionOptions* default_val = NULL; + const envoy_config_cluster_v3_UpstreamConnectionOptions* ret; + const upb_MiniTableField field = {30, UPB_SIZE(88, 208), 17, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_upstream_connection_options(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {30, UPB_SIZE(88, 208), 17, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_close_connections_on_host_health_failure(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {31, UPB_SIZE(92, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_close_connections_on_host_health_failure(const envoy_config_cluster_v3_Cluster* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {31, UPB_SIZE(92, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_ignore_health_on_host_removal(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {32, UPB_SIZE(93, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_ignore_health_on_host_removal(const envoy_config_cluster_v3_Cluster* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {32, UPB_SIZE(93, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_load_assignment(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {33, UPB_SIZE(96, 216), 18, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_endpoint_v3_ClusterLoadAssignment* envoy_config_cluster_v3_Cluster_load_assignment(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_endpoint_v3_ClusterLoadAssignment* default_val = NULL; + const struct envoy_config_endpoint_v3_ClusterLoadAssignment* ret; + const upb_MiniTableField field = {33, UPB_SIZE(96, 216), 18, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_load_assignment(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {33, UPB_SIZE(96, 216), 18, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_original_dst_lb_config(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {34, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_config_cluster_v3_Cluster_original_dst_lb_config(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* default_val = NULL; + const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* ret; + const upb_MiniTableField field = {34, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_original_dst_lb_config(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {34, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_typed_extension_protocol_options(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE size_t envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_size(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + return map ? _upb_Map_Size(map) : 0; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_get(const envoy_config_cluster_v3_Cluster* msg, upb_StringView key, struct google_protobuf_Any** val) { + const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Get(map, &key, 0, val, sizeof(*val)); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_next(const envoy_config_cluster_v3_Cluster* msg, size_t* iter) { + const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_least_request_lb_config(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {37, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_config_cluster_v3_Cluster_least_request_lb_config(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* default_val = NULL; + const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* ret; + const upb_MiniTableField field = {37, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_least_request_lb_config(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {37, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_cluster_type(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {38, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_CustomClusterType* envoy_config_cluster_v3_Cluster_cluster_type(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_Cluster_CustomClusterType* default_val = NULL; + const envoy_config_cluster_v3_Cluster_CustomClusterType* ret; + const upb_MiniTableField field = {38, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_cluster_type(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {38, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_respect_dns_ttl(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {39, UPB_SIZE(108, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_respect_dns_ttl(const envoy_config_cluster_v3_Cluster* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {39, UPB_SIZE(108, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_filters(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_cluster_v3_Filter* const* envoy_config_cluster_v3_Cluster_filters(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { + const upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct envoy_config_cluster_v3_Filter* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_filters_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { + const upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_filters_mutable_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_filters(const envoy_config_cluster_v3_Cluster* msg) { + size_t size; + envoy_config_cluster_v3_Cluster_filters(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_load_balancing_policy(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {41, UPB_SIZE(116, 240), 19, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_LoadBalancingPolicy* envoy_config_cluster_v3_Cluster_load_balancing_policy(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_LoadBalancingPolicy* default_val = NULL; + const envoy_config_cluster_v3_LoadBalancingPolicy* ret; + const upb_MiniTableField field = {41, UPB_SIZE(116, 240), 19, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_load_balancing_policy(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {41, UPB_SIZE(116, 240), 19, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_lrs_server(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {42, UPB_SIZE(120, 248), 20, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_cluster_v3_Cluster_lrs_server(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_core_v3_ConfigSource* default_val = NULL; + const struct envoy_config_core_v3_ConfigSource* ret; + const upb_MiniTableField field = {42, UPB_SIZE(120, 248), 20, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_lrs_server(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {42, UPB_SIZE(120, 248), 20, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_transport_socket_matches(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_TransportSocketMatch* const* envoy_config_cluster_v3_Cluster_transport_socket_matches(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { + const upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_cluster_v3_Cluster_TransportSocketMatch* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_transport_socket_matches_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { + const upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_transport_socket_matches_mutable_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_transport_socket_matches(const envoy_config_cluster_v3_Cluster* msg) { + size_t size; + envoy_config_cluster_v3_Cluster_transport_socket_matches(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_dns_failure_refresh_rate(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {44, UPB_SIZE(128, 264), 21, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_RefreshRate* envoy_config_cluster_v3_Cluster_dns_failure_refresh_rate(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_Cluster_RefreshRate* default_val = NULL; + const envoy_config_cluster_v3_Cluster_RefreshRate* ret; + const upb_MiniTableField field = {44, UPB_SIZE(128, 264), 21, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_dns_failure_refresh_rate(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {44, UPB_SIZE(128, 264), 21, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_use_tcp_for_dns_lookups(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {45, UPB_SIZE(132, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_use_tcp_for_dns_lookups(const envoy_config_cluster_v3_Cluster* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {45, UPB_SIZE(132, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_upstream_http_protocol_options(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {46, UPB_SIZE(136, 272), 22, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_config_cluster_v3_Cluster_upstream_http_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_core_v3_UpstreamHttpProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_UpstreamHttpProtocolOptions* ret; + const upb_MiniTableField field = {46, UPB_SIZE(136, 272), 22, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_upstream_http_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {46, UPB_SIZE(136, 272), 22, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_track_timeout_budgets(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {47, UPB_SIZE(140, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_track_timeout_budgets(const envoy_config_cluster_v3_Cluster* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {47, UPB_SIZE(140, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_upstream_config(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {48, UPB_SIZE(144, 280), 23, 31, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_Cluster_upstream_config(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {48, UPB_SIZE(144, 280), 23, 31, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_upstream_config(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {48, UPB_SIZE(144, 280), 23, 31, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_track_cluster_stats(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {49, UPB_SIZE(148, 288), 24, 32, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_TrackClusterStats* envoy_config_cluster_v3_Cluster_track_cluster_stats(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_TrackClusterStats* default_val = NULL; + const envoy_config_cluster_v3_TrackClusterStats* ret; + const upb_MiniTableField field = {49, UPB_SIZE(148, 288), 24, 32, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_track_cluster_stats(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {49, UPB_SIZE(148, 288), 24, 32, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_preconnect_policy(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {50, UPB_SIZE(152, 296), 25, 33, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_PreconnectPolicy* envoy_config_cluster_v3_Cluster_preconnect_policy(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_Cluster_PreconnectPolicy* default_val = NULL; + const envoy_config_cluster_v3_Cluster_PreconnectPolicy* ret; + const upb_MiniTableField field = {50, UPB_SIZE(152, 296), 25, 33, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_preconnect_policy(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {50, UPB_SIZE(152, 296), 25, 33, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_connection_pool_per_downstream_connection(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {51, UPB_SIZE(156, 27), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_connection_pool_per_downstream_connection(const envoy_config_cluster_v3_Cluster* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {51, UPB_SIZE(156, 27), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_maglev_lb_config(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {52, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 34, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_cluster_v3_Cluster_maglev_lb_config(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_Cluster_MaglevLbConfig* default_val = NULL; + const envoy_config_cluster_v3_Cluster_MaglevLbConfig* ret; + const upb_MiniTableField field = {52, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 34, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_maglev_lb_config(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {52, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 34, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_dns_resolution_config(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {53, UPB_SIZE(160, 304), 26, 35, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_DnsResolutionConfig* envoy_config_cluster_v3_Cluster_dns_resolution_config(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_core_v3_DnsResolutionConfig* default_val = NULL; + const struct envoy_config_core_v3_DnsResolutionConfig* ret; + const upb_MiniTableField field = {53, UPB_SIZE(160, 304), 26, 35, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_dns_resolution_config(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {53, UPB_SIZE(160, 304), 26, 35, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_wait_for_warm_on_init(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {54, UPB_SIZE(164, 312), 27, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_cluster_v3_Cluster_wait_for_warm_on_init(const envoy_config_cluster_v3_Cluster* msg) { + const struct google_protobuf_BoolValue* default_val = NULL; + const struct google_protobuf_BoolValue* ret; + const upb_MiniTableField field = {54, UPB_SIZE(164, 312), 27, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_wait_for_warm_on_init(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {54, UPB_SIZE(164, 312), 27, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_typed_dns_resolver_config(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {55, UPB_SIZE(168, 320), 28, 37, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_Cluster_typed_dns_resolver_config(const envoy_config_cluster_v3_Cluster* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {55, UPB_SIZE(168, 320), 28, 37, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_typed_dns_resolver_config(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {55, UPB_SIZE(168, 320), 28, 37, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_round_robin_lb_config(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {56, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 38, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* envoy_config_cluster_v3_Cluster_round_robin_lb_config(const envoy_config_cluster_v3_Cluster* msg) { + const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* default_val = NULL; + const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* ret; + const upb_MiniTableField field = {56, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 38, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_round_robin_lb_config(const envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {56, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 38, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_name(envoy_config_cluster_v3_Cluster *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(184, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_type(envoy_config_cluster_v3_Cluster *msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_eds_cluster_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_EdsClusterConfig* value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_EdsClusterConfig* envoy_config_cluster_v3_Cluster_mutable_eds_cluster_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_EdsClusterConfig* sub = (struct envoy_config_cluster_v3_Cluster_EdsClusterConfig*)envoy_config_cluster_v3_Cluster_eds_cluster_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_EdsClusterConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__EdsClusterConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_eds_cluster_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_connect_timeout(envoy_config_cluster_v3_Cluster *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 56), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_mutable_connect_timeout(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_connect_timeout(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_connect_timeout(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_per_connection_buffer_limit_bytes(envoy_config_cluster_v3_Cluster *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 64), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_mutable_per_connection_buffer_limit_bytes(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_Cluster_per_connection_buffer_limit_bytes(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_per_connection_buffer_limit_bytes(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_lb_policy(envoy_config_cluster_v3_Cluster *msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_HealthCheck** envoy_config_cluster_v3_Cluster_mutable_health_checks(envoy_config_cluster_v3_Cluster* msg, size_t* size) { + upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct envoy_config_core_v3_HealthCheck**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct envoy_config_core_v3_HealthCheck** envoy_config_cluster_v3_Cluster_resize_health_checks(envoy_config_cluster_v3_Cluster* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct envoy_config_core_v3_HealthCheck**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_core_v3_HealthCheck* envoy_config_cluster_v3_Cluster_add_health_checks(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_core_v3_HealthCheck* sub = (struct envoy_config_core_v3_HealthCheck*)_upb_Message_New(&envoy__config__core__v3__HealthCheck_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_max_requests_per_connection(envoy_config_cluster_v3_Cluster *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {9, UPB_SIZE(24, 80), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_mutable_max_requests_per_connection(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_Cluster_max_requests_per_connection(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_max_requests_per_connection(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_circuit_breakers(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_cluster_v3_CircuitBreakers* value) { + const upb_MiniTableField field = {10, UPB_SIZE(28, 88), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_CircuitBreakers* envoy_config_cluster_v3_Cluster_mutable_circuit_breakers(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_CircuitBreakers* sub = (struct envoy_config_cluster_v3_CircuitBreakers*)envoy_config_cluster_v3_Cluster_circuit_breakers(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_CircuitBreakers*)_upb_Message_New(&envoy__config__cluster__v3__CircuitBreakers_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_circuit_breakers(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_http_protocol_options(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_Http1ProtocolOptions* value) { + const upb_MiniTableField field = {13, UPB_SIZE(32, 96), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Http1ProtocolOptions* envoy_config_cluster_v3_Cluster_mutable_http_protocol_options(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Http1ProtocolOptions* sub = (struct envoy_config_core_v3_Http1ProtocolOptions*)envoy_config_cluster_v3_Cluster_http_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Http1ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http1ProtocolOptions_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_http_protocol_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_http2_protocol_options(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_Http2ProtocolOptions* value) { + const upb_MiniTableField field = {14, UPB_SIZE(36, 104), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Http2ProtocolOptions* envoy_config_cluster_v3_Cluster_mutable_http2_protocol_options(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Http2ProtocolOptions* sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)envoy_config_cluster_v3_Cluster_http2_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http2ProtocolOptions_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_http2_protocol_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_dns_refresh_rate(envoy_config_cluster_v3_Cluster *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {16, UPB_SIZE(40, 112), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_mutable_dns_refresh_rate(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_dns_refresh_rate(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_dns_refresh_rate(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_dns_lookup_family(envoy_config_cluster_v3_Cluster *msg, int32_t value) { + const upb_MiniTableField field = {17, UPB_SIZE(44, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_cluster_v3_Cluster_mutable_dns_resolvers(envoy_config_cluster_v3_Cluster* msg, size_t* size) { + upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct envoy_config_core_v3_Address**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_cluster_v3_Cluster_resize_dns_resolvers(envoy_config_cluster_v3_Cluster* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct envoy_config_core_v3_Address**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_cluster_v3_Cluster_add_dns_resolvers(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_outlier_detection(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_cluster_v3_OutlierDetection* value) { + const upb_MiniTableField field = {19, UPB_SIZE(52, 128), 9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_OutlierDetection* envoy_config_cluster_v3_Cluster_mutable_outlier_detection(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_OutlierDetection* sub = (struct envoy_config_cluster_v3_OutlierDetection*)envoy_config_cluster_v3_Cluster_outlier_detection(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_OutlierDetection*)_upb_Message_New(&envoy__config__cluster__v3__OutlierDetection_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_outlier_detection(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_cleanup_interval(envoy_config_cluster_v3_Cluster *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {20, UPB_SIZE(56, 136), 10, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_mutable_cleanup_interval(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_cleanup_interval(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_cleanup_interval(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_upstream_bind_config(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_BindConfig* value) { + const upb_MiniTableField field = {21, UPB_SIZE(60, 144), 11, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_BindConfig* envoy_config_cluster_v3_Cluster_mutable_upstream_bind_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_core_v3_BindConfig* sub = (struct envoy_config_core_v3_BindConfig*)envoy_config_cluster_v3_Cluster_upstream_bind_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_BindConfig*)_upb_Message_New(&envoy__config__core__v3__BindConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_upstream_bind_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_lb_subset_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_LbSubsetConfig* value) { + const upb_MiniTableField field = {22, UPB_SIZE(64, 152), 12, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_LbSubsetConfig* envoy_config_cluster_v3_Cluster_mutable_lb_subset_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_LbSubsetConfig* sub = (struct envoy_config_cluster_v3_Cluster_LbSubsetConfig*)envoy_config_cluster_v3_Cluster_lb_subset_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_LbSubsetConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__LbSubsetConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_lb_subset_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_ring_hash_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_RingHashLbConfig* value) { + const upb_MiniTableField field = {23, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_RingHashLbConfig* envoy_config_cluster_v3_Cluster_mutable_ring_hash_lb_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_RingHashLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_RingHashLbConfig*)envoy_config_cluster_v3_Cluster_ring_hash_lb_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_RingHashLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__RingHashLbConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_ring_hash_lb_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_transport_socket(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_TransportSocket* value) { + const upb_MiniTableField field = {24, UPB_SIZE(68, 160), 13, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TransportSocket* envoy_config_cluster_v3_Cluster_mutable_transport_socket(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TransportSocket* sub = (struct envoy_config_core_v3_TransportSocket*)envoy_config_cluster_v3_Cluster_transport_socket(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TransportSocket*)_upb_Message_New(&envoy__config__core__v3__TransportSocket_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_transport_socket(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_metadata(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_Metadata* value) { + const upb_MiniTableField field = {25, UPB_SIZE(72, 168), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_cluster_v3_Cluster_mutable_metadata(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_cluster_v3_Cluster_metadata(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_metadata(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_protocol_selection(envoy_config_cluster_v3_Cluster *msg, int32_t value) { + const upb_MiniTableField field = {26, UPB_SIZE(76, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_common_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_CommonLbConfig* value) { + const upb_MiniTableField field = {27, UPB_SIZE(80, 176), 15, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_CommonLbConfig* envoy_config_cluster_v3_Cluster_mutable_common_lb_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_CommonLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig*)envoy_config_cluster_v3_Cluster_common_lb_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__CommonLbConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_common_lb_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_alt_stat_name(envoy_config_cluster_v3_Cluster *msg, upb_StringView value) { + const upb_MiniTableField field = {28, UPB_SIZE(192, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_common_http_protocol_options(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_HttpProtocolOptions* value) { + const upb_MiniTableField field = {29, UPB_SIZE(84, 200), 16, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_HttpProtocolOptions* envoy_config_cluster_v3_Cluster_mutable_common_http_protocol_options(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_core_v3_HttpProtocolOptions* sub = (struct envoy_config_core_v3_HttpProtocolOptions*)envoy_config_cluster_v3_Cluster_common_http_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_HttpProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__HttpProtocolOptions_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_common_http_protocol_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_upstream_connection_options(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_UpstreamConnectionOptions* value) { + const upb_MiniTableField field = {30, UPB_SIZE(88, 208), 17, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_UpstreamConnectionOptions* envoy_config_cluster_v3_Cluster_mutable_upstream_connection_options(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_UpstreamConnectionOptions* sub = (struct envoy_config_cluster_v3_UpstreamConnectionOptions*)envoy_config_cluster_v3_Cluster_upstream_connection_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_UpstreamConnectionOptions*)_upb_Message_New(&envoy__config__cluster__v3__UpstreamConnectionOptions_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_upstream_connection_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_close_connections_on_host_health_failure(envoy_config_cluster_v3_Cluster *msg, bool value) { + const upb_MiniTableField field = {31, UPB_SIZE(92, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_ignore_health_on_host_removal(envoy_config_cluster_v3_Cluster *msg, bool value) { + const upb_MiniTableField field = {32, UPB_SIZE(93, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_load_assignment(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_endpoint_v3_ClusterLoadAssignment* value) { + const upb_MiniTableField field = {33, UPB_SIZE(96, 216), 18, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_endpoint_v3_ClusterLoadAssignment* envoy_config_cluster_v3_Cluster_mutable_load_assignment(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_endpoint_v3_ClusterLoadAssignment* sub = (struct envoy_config_endpoint_v3_ClusterLoadAssignment*)envoy_config_cluster_v3_Cluster_load_assignment(msg); + if (sub == NULL) { + sub = (struct envoy_config_endpoint_v3_ClusterLoadAssignment*)_upb_Message_New(&envoy__config__endpoint__v3__ClusterLoadAssignment_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_load_assignment(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_original_dst_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* value) { + const upb_MiniTableField field = {34, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_config_cluster_v3_Cluster_mutable_original_dst_lb_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig*)envoy_config_cluster_v3_Cluster_original_dst_lb_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__OriginalDstLbConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_original_dst_lb_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_clear(envoy_config_cluster_v3_Cluster* msg) { + const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return; + _upb_Map_Clear(map); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_set(envoy_config_cluster_v3_Cluster* msg, upb_StringView key, struct google_protobuf_Any* val, upb_Arena* a) { + const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, sizeof(val), a); + return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) != + kUpb_MapInsertStatus_OutOfMemory; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_delete(envoy_config_cluster_v3_Cluster* msg, upb_StringView key) { + const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Delete(map, &key, 0, NULL); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_nextmutable(envoy_config_cluster_v3_Cluster* msg, size_t* iter) { + const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_least_request_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* value) { + const upb_MiniTableField field = {37, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_config_cluster_v3_Cluster_mutable_least_request_lb_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig*)envoy_config_cluster_v3_Cluster_least_request_lb_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__LeastRequestLbConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_least_request_lb_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_cluster_type(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_CustomClusterType* value) { + const upb_MiniTableField field = {38, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_CustomClusterType* envoy_config_cluster_v3_Cluster_mutable_cluster_type(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_CustomClusterType* sub = (struct envoy_config_cluster_v3_Cluster_CustomClusterType*)envoy_config_cluster_v3_Cluster_cluster_type(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_CustomClusterType*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__CustomClusterType_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_cluster_type(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_respect_dns_ttl(envoy_config_cluster_v3_Cluster *msg, bool value) { + const upb_MiniTableField field = {39, UPB_SIZE(108, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Filter** envoy_config_cluster_v3_Cluster_mutable_filters(envoy_config_cluster_v3_Cluster* msg, size_t* size) { + upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct envoy_config_cluster_v3_Filter**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct envoy_config_cluster_v3_Filter** envoy_config_cluster_v3_Cluster_resize_filters(envoy_config_cluster_v3_Cluster* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct envoy_config_cluster_v3_Filter**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_cluster_v3_Filter* envoy_config_cluster_v3_Cluster_add_filters(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_cluster_v3_Filter* sub = (struct envoy_config_cluster_v3_Filter*)_upb_Message_New(&envoy__config__cluster__v3__Filter_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_load_balancing_policy(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_LoadBalancingPolicy* value) { + const upb_MiniTableField field = {41, UPB_SIZE(116, 240), 19, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_LoadBalancingPolicy* envoy_config_cluster_v3_Cluster_mutable_load_balancing_policy(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_LoadBalancingPolicy* sub = (struct envoy_config_cluster_v3_LoadBalancingPolicy*)envoy_config_cluster_v3_Cluster_load_balancing_policy(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_LoadBalancingPolicy*)_upb_Message_New(&envoy__config__cluster__v3__LoadBalancingPolicy_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_load_balancing_policy(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_lrs_server(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_ConfigSource* value) { + const upb_MiniTableField field = {42, UPB_SIZE(120, 248), 20, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_cluster_v3_Cluster_mutable_lrs_server(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_cluster_v3_Cluster_lrs_server(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_lrs_server(msg, sub); + } + return sub; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_TransportSocketMatch** envoy_config_cluster_v3_Cluster_mutable_transport_socket_matches(envoy_config_cluster_v3_Cluster* msg, size_t* size) { + upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_cluster_v3_Cluster_TransportSocketMatch**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_cluster_v3_Cluster_TransportSocketMatch** envoy_config_cluster_v3_Cluster_resize_transport_socket_matches(envoy_config_cluster_v3_Cluster* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_cluster_v3_Cluster_TransportSocketMatch**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_TransportSocketMatch* envoy_config_cluster_v3_Cluster_add_transport_socket_matches(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_cluster_v3_Cluster_TransportSocketMatch* sub = (struct envoy_config_cluster_v3_Cluster_TransportSocketMatch*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__TransportSocketMatch_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_dns_failure_refresh_rate(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_RefreshRate* value) { + const upb_MiniTableField field = {44, UPB_SIZE(128, 264), 21, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_RefreshRate* envoy_config_cluster_v3_Cluster_mutable_dns_failure_refresh_rate(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_RefreshRate* sub = (struct envoy_config_cluster_v3_Cluster_RefreshRate*)envoy_config_cluster_v3_Cluster_dns_failure_refresh_rate(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_RefreshRate*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__RefreshRate_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_dns_failure_refresh_rate(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_use_tcp_for_dns_lookups(envoy_config_cluster_v3_Cluster *msg, bool value) { + const upb_MiniTableField field = {45, UPB_SIZE(132, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_upstream_http_protocol_options(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_UpstreamHttpProtocolOptions* value) { + const upb_MiniTableField field = {46, UPB_SIZE(136, 272), 22, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_config_cluster_v3_Cluster_mutable_upstream_http_protocol_options(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_core_v3_UpstreamHttpProtocolOptions* sub = (struct envoy_config_core_v3_UpstreamHttpProtocolOptions*)envoy_config_cluster_v3_Cluster_upstream_http_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_UpstreamHttpProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__UpstreamHttpProtocolOptions_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_upstream_http_protocol_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_track_timeout_budgets(envoy_config_cluster_v3_Cluster *msg, bool value) { + const upb_MiniTableField field = {47, UPB_SIZE(140, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_upstream_config(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {48, UPB_SIZE(144, 280), 23, 31, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_Cluster_mutable_upstream_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_cluster_v3_Cluster_upstream_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_upstream_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_track_cluster_stats(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_TrackClusterStats* value) { + const upb_MiniTableField field = {49, UPB_SIZE(148, 288), 24, 32, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_TrackClusterStats* envoy_config_cluster_v3_Cluster_mutable_track_cluster_stats(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_TrackClusterStats* sub = (struct envoy_config_cluster_v3_TrackClusterStats*)envoy_config_cluster_v3_Cluster_track_cluster_stats(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_TrackClusterStats*)_upb_Message_New(&envoy__config__cluster__v3__TrackClusterStats_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_track_cluster_stats(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_preconnect_policy(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_PreconnectPolicy* value) { + const upb_MiniTableField field = {50, UPB_SIZE(152, 296), 25, 33, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_PreconnectPolicy* envoy_config_cluster_v3_Cluster_mutable_preconnect_policy(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_PreconnectPolicy* sub = (struct envoy_config_cluster_v3_Cluster_PreconnectPolicy*)envoy_config_cluster_v3_Cluster_preconnect_policy(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_PreconnectPolicy*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__PreconnectPolicy_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_preconnect_policy(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_connection_pool_per_downstream_connection(envoy_config_cluster_v3_Cluster *msg, bool value) { + const upb_MiniTableField field = {51, UPB_SIZE(156, 27), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_maglev_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_MaglevLbConfig* value) { + const upb_MiniTableField field = {52, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 34, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_cluster_v3_Cluster_mutable_maglev_lb_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_MaglevLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_MaglevLbConfig*)envoy_config_cluster_v3_Cluster_maglev_lb_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_MaglevLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__MaglevLbConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_maglev_lb_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_dns_resolution_config(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_DnsResolutionConfig* value) { + const upb_MiniTableField field = {53, UPB_SIZE(160, 304), 26, 35, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_DnsResolutionConfig* envoy_config_cluster_v3_Cluster_mutable_dns_resolution_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_core_v3_DnsResolutionConfig* sub = (struct envoy_config_core_v3_DnsResolutionConfig*)envoy_config_cluster_v3_Cluster_dns_resolution_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_DnsResolutionConfig*)_upb_Message_New(&envoy__config__core__v3__DnsResolutionConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_dns_resolution_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_wait_for_warm_on_init(envoy_config_cluster_v3_Cluster *msg, struct google_protobuf_BoolValue* value) { + const upb_MiniTableField field = {54, UPB_SIZE(164, 312), 27, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_BoolValue* envoy_config_cluster_v3_Cluster_mutable_wait_for_warm_on_init(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_cluster_v3_Cluster_wait_for_warm_on_init(msg); + if (sub == NULL) { + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_wait_for_warm_on_init(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_typed_dns_resolver_config(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {55, UPB_SIZE(168, 320), 28, 37, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_Cluster_mutable_typed_dns_resolver_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_cluster_v3_Cluster_typed_dns_resolver_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_typed_dns_resolver_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_set_round_robin_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* value) { + const upb_MiniTableField field = {56, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 38, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* envoy_config_cluster_v3_Cluster_mutable_round_robin_lb_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_RoundRobinLbConfig*)envoy_config_cluster_v3_Cluster_round_robin_lb_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_RoundRobinLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__RoundRobinLbConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_set_round_robin_lb_config(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster.TransportSocketMatch */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_TransportSocketMatch* envoy_config_cluster_v3_Cluster_TransportSocketMatch_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_TransportSocketMatch*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__TransportSocketMatch_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_TransportSocketMatch* envoy_config_cluster_v3_Cluster_TransportSocketMatch_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_TransportSocketMatch* ret = envoy_config_cluster_v3_Cluster_TransportSocketMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__TransportSocketMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_TransportSocketMatch* envoy_config_cluster_v3_Cluster_TransportSocketMatch_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_TransportSocketMatch* ret = envoy_config_cluster_v3_Cluster_TransportSocketMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__TransportSocketMatch_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_TransportSocketMatch_serialize(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__TransportSocketMatch_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_TransportSocketMatch_serialize_ex(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__TransportSocketMatch_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_TransportSocketMatch_clear_name(envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_TransportSocketMatch_name(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_TransportSocketMatch_clear_match(envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Struct* envoy_config_cluster_v3_Cluster_TransportSocketMatch_match(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { + const struct google_protobuf_Struct* default_val = NULL; + const struct google_protobuf_Struct* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_TransportSocketMatch_has_match(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_TransportSocketMatch_clear_transport_socket(envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TransportSocket* envoy_config_cluster_v3_Cluster_TransportSocketMatch_transport_socket(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { + const struct envoy_config_core_v3_TransportSocket* default_val = NULL; + const struct envoy_config_core_v3_TransportSocket* ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_TransportSocketMatch_has_transport_socket(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_TransportSocketMatch_set_name(envoy_config_cluster_v3_Cluster_TransportSocketMatch *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_TransportSocketMatch_set_match(envoy_config_cluster_v3_Cluster_TransportSocketMatch *msg, struct google_protobuf_Struct* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Struct* envoy_config_cluster_v3_Cluster_TransportSocketMatch_mutable_match(envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg, upb_Arena* arena) { + struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_cluster_v3_Cluster_TransportSocketMatch_match(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_TransportSocketMatch_set_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_TransportSocketMatch_set_transport_socket(envoy_config_cluster_v3_Cluster_TransportSocketMatch *msg, struct envoy_config_core_v3_TransportSocket* value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TransportSocket* envoy_config_cluster_v3_Cluster_TransportSocketMatch_mutable_transport_socket(envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TransportSocket* sub = (struct envoy_config_core_v3_TransportSocket*)envoy_config_cluster_v3_Cluster_TransportSocketMatch_transport_socket(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TransportSocket*)_upb_Message_New(&envoy__config__core__v3__TransportSocket_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_TransportSocketMatch_set_transport_socket(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster.CustomClusterType */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_CustomClusterType* envoy_config_cluster_v3_Cluster_CustomClusterType_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_CustomClusterType*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__CustomClusterType_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_CustomClusterType* envoy_config_cluster_v3_Cluster_CustomClusterType_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_CustomClusterType* ret = envoy_config_cluster_v3_Cluster_CustomClusterType_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__CustomClusterType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_CustomClusterType* envoy_config_cluster_v3_Cluster_CustomClusterType_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_CustomClusterType* ret = envoy_config_cluster_v3_Cluster_CustomClusterType_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__CustomClusterType_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_CustomClusterType_serialize(const envoy_config_cluster_v3_Cluster_CustomClusterType* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__CustomClusterType_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_CustomClusterType_serialize_ex(const envoy_config_cluster_v3_Cluster_CustomClusterType* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__CustomClusterType_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CustomClusterType_clear_name(envoy_config_cluster_v3_Cluster_CustomClusterType* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_CustomClusterType_name(const envoy_config_cluster_v3_Cluster_CustomClusterType* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CustomClusterType_clear_typed_config(envoy_config_cluster_v3_Cluster_CustomClusterType* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Any* envoy_config_cluster_v3_Cluster_CustomClusterType_typed_config(const envoy_config_cluster_v3_Cluster_CustomClusterType* msg) { + const struct google_protobuf_Any* default_val = NULL; + const struct google_protobuf_Any* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CustomClusterType_has_typed_config(const envoy_config_cluster_v3_Cluster_CustomClusterType* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_CustomClusterType_set_name(envoy_config_cluster_v3_Cluster_CustomClusterType *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CustomClusterType_set_typed_config(envoy_config_cluster_v3_Cluster_CustomClusterType *msg, struct google_protobuf_Any* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Any* envoy_config_cluster_v3_Cluster_CustomClusterType_mutable_typed_config(envoy_config_cluster_v3_Cluster_CustomClusterType* msg, upb_Arena* arena) { + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_cluster_v3_Cluster_CustomClusterType_typed_config(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_CustomClusterType_set_typed_config(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster.EdsClusterConfig */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_EdsClusterConfig* envoy_config_cluster_v3_Cluster_EdsClusterConfig_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_EdsClusterConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__EdsClusterConfig_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_EdsClusterConfig* envoy_config_cluster_v3_Cluster_EdsClusterConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_EdsClusterConfig* ret = envoy_config_cluster_v3_Cluster_EdsClusterConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__EdsClusterConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_EdsClusterConfig* envoy_config_cluster_v3_Cluster_EdsClusterConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_EdsClusterConfig* ret = envoy_config_cluster_v3_Cluster_EdsClusterConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__EdsClusterConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_EdsClusterConfig_serialize(const envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__EdsClusterConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_EdsClusterConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__EdsClusterConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_EdsClusterConfig_clear_eds_config(envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_cluster_v3_Cluster_EdsClusterConfig_eds_config(const envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg) { + const struct envoy_config_core_v3_ConfigSource* default_val = NULL; + const struct envoy_config_core_v3_ConfigSource* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_EdsClusterConfig_has_eds_config(const envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_EdsClusterConfig_clear_service_name(envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_EdsClusterConfig_service_name(const envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_EdsClusterConfig_set_eds_config(envoy_config_cluster_v3_Cluster_EdsClusterConfig *msg, struct envoy_config_core_v3_ConfigSource* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_cluster_v3_Cluster_EdsClusterConfig_mutable_eds_config(envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_cluster_v3_Cluster_EdsClusterConfig_eds_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_EdsClusterConfig_set_eds_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_EdsClusterConfig_set_service_name(envoy_config_cluster_v3_Cluster_EdsClusterConfig *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.cluster.v3.Cluster.LbSubsetConfig */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig* envoy_config_cluster_v3_Cluster_LbSubsetConfig_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_LbSubsetConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__LbSubsetConfig_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig* envoy_config_cluster_v3_Cluster_LbSubsetConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_LbSubsetConfig* ret = envoy_config_cluster_v3_Cluster_LbSubsetConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__LbSubsetConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig* envoy_config_cluster_v3_Cluster_LbSubsetConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_LbSubsetConfig* ret = envoy_config_cluster_v3_Cluster_LbSubsetConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__LbSubsetConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_LbSubsetConfig_serialize(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__LbSubsetConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_LbSubsetConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__LbSubsetConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_fallback_policy(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_LbSubsetConfig_fallback_policy(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_default_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Struct* envoy_config_cluster_v3_Cluster_LbSubsetConfig_default_subset(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + const struct google_protobuf_Struct* default_val = NULL; + const struct google_protobuf_Struct* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_has_default_subset(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_subset_selectors(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* const* envoy_config_cluster_v3_Cluster_LbSubsetConfig_subset_selectors(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_LbSubsetConfig_subset_selectors_upb_array(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_LbSubsetConfig_subset_selectors_mutable_upb_array(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_has_subset_selectors(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + size_t size; + envoy_config_cluster_v3_Cluster_LbSubsetConfig_subset_selectors(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_locality_weight_aware(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_locality_weight_aware(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_scale_locality_weight(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_scale_locality_weight(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_panic_mode_any(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(18, 10), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_panic_mode_any(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, UPB_SIZE(18, 10), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_list_as_any(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(19, 11), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_list_as_any(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, UPB_SIZE(19, 11), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_metadata_fallback_policy(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_LbSubsetConfig_metadata_fallback_policy(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_fallback_policy(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, int32_t value) { + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_default_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, struct google_protobuf_Struct* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Struct* envoy_config_cluster_v3_Cluster_LbSubsetConfig_mutable_default_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, upb_Arena* arena) { + struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_cluster_v3_Cluster_LbSubsetConfig_default_subset(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_default_subset(msg, sub); + } + return sub; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector** envoy_config_cluster_v3_Cluster_LbSubsetConfig_mutable_subset_selectors(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector** envoy_config_cluster_v3_Cluster_LbSubsetConfig_resize_subset_selectors(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* envoy_config_cluster_v3_Cluster_LbSubsetConfig_add_subset_selectors(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* sub = (struct envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__LbSubsetConfig__LbSubsetSelector_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_locality_weight_aware(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, bool value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_scale_locality_weight(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, bool value) { + const upb_MiniTableField field = {5, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_panic_mode_any(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, bool value) { + const upb_MiniTableField field = {6, UPB_SIZE(18, 10), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_list_as_any(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, bool value) { + const upb_MiniTableField field = {7, UPB_SIZE(19, 11), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_metadata_fallback_policy(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.cluster.v3.Cluster.LbSubsetConfig.LbSubsetSelector */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__LbSubsetConfig__LbSubsetSelector_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* ret = envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__LbSubsetConfig__LbSubsetSelector_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* ret = envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__LbSubsetConfig__LbSubsetSelector_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_serialize(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__LbSubsetConfig__LbSubsetSelector_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_serialize_ex(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__LbSubsetConfig__LbSubsetSelector_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_clear_keys(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_keys(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_keys_upb_array(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_keys_mutable_upb_array(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_has_keys(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { + size_t size; + envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_keys(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_clear_fallback_policy(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_fallback_policy(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_clear_fallback_keys_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_fallback_keys_subset(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_fallback_keys_subset_upb_array(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_fallback_keys_subset_mutable_upb_array(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_has_fallback_keys_subset(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { + size_t size; + envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_fallback_keys_subset(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_clear_single_host_per_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_single_host_per_subset(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, UPB_SIZE(12, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE upb_StringView* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_mutable_keys(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_resize_keys(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_add_keys(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_set_fallback_policy(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector *msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE upb_StringView* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_mutable_fallback_keys_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_resize_fallback_keys_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_add_fallback_keys_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_set_single_host_per_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector *msg, bool value) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.cluster.v3.Cluster.SlowStartConfig */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_SlowStartConfig_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_SlowStartConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__SlowStartConfig_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_SlowStartConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_SlowStartConfig* ret = envoy_config_cluster_v3_Cluster_SlowStartConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__SlowStartConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_SlowStartConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_SlowStartConfig* ret = envoy_config_cluster_v3_Cluster_SlowStartConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__SlowStartConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_SlowStartConfig_serialize(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__SlowStartConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_SlowStartConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__SlowStartConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_SlowStartConfig_clear_slow_start_window(envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_SlowStartConfig_slow_start_window(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_SlowStartConfig_has_slow_start_window(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_SlowStartConfig_clear_aggression(envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_RuntimeDouble* envoy_config_cluster_v3_Cluster_SlowStartConfig_aggression(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { + const struct envoy_config_core_v3_RuntimeDouble* default_val = NULL; + const struct envoy_config_core_v3_RuntimeDouble* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_SlowStartConfig_has_aggression(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_SlowStartConfig_clear_min_weight_percent(envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_v3_Percent* envoy_config_cluster_v3_Cluster_SlowStartConfig_min_weight_percent(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { + const struct envoy_type_v3_Percent* default_val = NULL; + const struct envoy_type_v3_Percent* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_SlowStartConfig_has_min_weight_percent(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_SlowStartConfig_set_slow_start_window(envoy_config_cluster_v3_Cluster_SlowStartConfig *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_SlowStartConfig_mutable_slow_start_window(envoy_config_cluster_v3_Cluster_SlowStartConfig* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_SlowStartConfig_slow_start_window(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_SlowStartConfig_set_slow_start_window(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_SlowStartConfig_set_aggression(envoy_config_cluster_v3_Cluster_SlowStartConfig *msg, struct envoy_config_core_v3_RuntimeDouble* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_RuntimeDouble* envoy_config_cluster_v3_Cluster_SlowStartConfig_mutable_aggression(envoy_config_cluster_v3_Cluster_SlowStartConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_RuntimeDouble* sub = (struct envoy_config_core_v3_RuntimeDouble*)envoy_config_cluster_v3_Cluster_SlowStartConfig_aggression(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_RuntimeDouble*)_upb_Message_New(&envoy__config__core__v3__RuntimeDouble_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_SlowStartConfig_set_aggression(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_SlowStartConfig_set_min_weight_percent(envoy_config_cluster_v3_Cluster_SlowStartConfig *msg, struct envoy_type_v3_Percent* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_v3_Percent* envoy_config_cluster_v3_Cluster_SlowStartConfig_mutable_min_weight_percent(envoy_config_cluster_v3_Cluster_SlowStartConfig* msg, upb_Arena* arena) { + struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_cluster_v3_Cluster_SlowStartConfig_min_weight_percent(msg); + if (sub == NULL) { + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_SlowStartConfig_set_min_weight_percent(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster.RoundRobinLbConfig */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_RoundRobinLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__RoundRobinLbConfig_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* ret = envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__RoundRobinLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* ret = envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__RoundRobinLbConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_serialize(const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__RoundRobinLbConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__RoundRobinLbConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_clear_slow_start_config(envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_slow_start_config(const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* msg) { + const envoy_config_cluster_v3_Cluster_SlowStartConfig* default_val = NULL; + const envoy_config_cluster_v3_Cluster_SlowStartConfig* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_has_slow_start_config(const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_set_slow_start_config(envoy_config_cluster_v3_Cluster_RoundRobinLbConfig *msg, envoy_config_cluster_v3_Cluster_SlowStartConfig* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_mutable_slow_start_config(envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_SlowStartConfig* sub = (struct envoy_config_cluster_v3_Cluster_SlowStartConfig*)envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_slow_start_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_SlowStartConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__SlowStartConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_set_slow_start_config(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster.LeastRequestLbConfig */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_LeastRequestLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__LeastRequestLbConfig_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* ret = envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__LeastRequestLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* ret = envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__LeastRequestLbConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_serialize(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__LeastRequestLbConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__LeastRequestLbConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_clear_choice_count(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_choice_count(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_has_choice_count(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_clear_active_request_bias(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_RuntimeDouble* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_active_request_bias(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { + const struct envoy_config_core_v3_RuntimeDouble* default_val = NULL; + const struct envoy_config_core_v3_RuntimeDouble* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_has_active_request_bias(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_clear_slow_start_config(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_slow_start_config(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { + const envoy_config_cluster_v3_Cluster_SlowStartConfig* default_val = NULL; + const envoy_config_cluster_v3_Cluster_SlowStartConfig* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_has_slow_start_config(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_set_choice_count(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_mutable_choice_count(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_choice_count(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_set_choice_count(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_set_active_request_bias(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig *msg, struct envoy_config_core_v3_RuntimeDouble* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_RuntimeDouble* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_mutable_active_request_bias(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_RuntimeDouble* sub = (struct envoy_config_core_v3_RuntimeDouble*)envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_active_request_bias(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_RuntimeDouble*)_upb_Message_New(&envoy__config__core__v3__RuntimeDouble_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_set_active_request_bias(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_set_slow_start_config(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig *msg, envoy_config_cluster_v3_Cluster_SlowStartConfig* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_mutable_slow_start_config(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_SlowStartConfig* sub = (struct envoy_config_cluster_v3_Cluster_SlowStartConfig*)envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_slow_start_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_SlowStartConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__SlowStartConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_set_slow_start_config(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster.RingHashLbConfig */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_RingHashLbConfig* envoy_config_cluster_v3_Cluster_RingHashLbConfig_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_RingHashLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__RingHashLbConfig_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_RingHashLbConfig* envoy_config_cluster_v3_Cluster_RingHashLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_RingHashLbConfig* ret = envoy_config_cluster_v3_Cluster_RingHashLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__RingHashLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_RingHashLbConfig* envoy_config_cluster_v3_Cluster_RingHashLbConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_RingHashLbConfig* ret = envoy_config_cluster_v3_Cluster_RingHashLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__RingHashLbConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_RingHashLbConfig_serialize(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__RingHashLbConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_RingHashLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__RingHashLbConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_RingHashLbConfig_clear_minimum_ring_size(envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_RingHashLbConfig_minimum_ring_size(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { + const struct google_protobuf_UInt64Value* default_val = NULL; + const struct google_protobuf_UInt64Value* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_RingHashLbConfig_has_minimum_ring_size(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_RingHashLbConfig_clear_hash_function(envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_RingHashLbConfig_hash_function(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_RingHashLbConfig_clear_maximum_ring_size(envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_RingHashLbConfig_maximum_ring_size(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { + const struct google_protobuf_UInt64Value* default_val = NULL; + const struct google_protobuf_UInt64Value* ret; + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_RingHashLbConfig_has_maximum_ring_size(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_RingHashLbConfig_set_minimum_ring_size(envoy_config_cluster_v3_Cluster_RingHashLbConfig *msg, struct google_protobuf_UInt64Value* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_RingHashLbConfig_mutable_minimum_ring_size(envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg, upb_Arena* arena) { + struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_cluster_v3_Cluster_RingHashLbConfig_minimum_ring_size(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google__protobuf__UInt64Value_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_RingHashLbConfig_set_minimum_ring_size(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_RingHashLbConfig_set_hash_function(envoy_config_cluster_v3_Cluster_RingHashLbConfig *msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_RingHashLbConfig_set_maximum_ring_size(envoy_config_cluster_v3_Cluster_RingHashLbConfig *msg, struct google_protobuf_UInt64Value* value) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_RingHashLbConfig_mutable_maximum_ring_size(envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg, upb_Arena* arena) { + struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_cluster_v3_Cluster_RingHashLbConfig_maximum_ring_size(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google__protobuf__UInt64Value_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_RingHashLbConfig_set_maximum_ring_size(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster.MaglevLbConfig */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_cluster_v3_Cluster_MaglevLbConfig_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_MaglevLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__MaglevLbConfig_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_cluster_v3_Cluster_MaglevLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_MaglevLbConfig* ret = envoy_config_cluster_v3_Cluster_MaglevLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__MaglevLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_cluster_v3_Cluster_MaglevLbConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_MaglevLbConfig* ret = envoy_config_cluster_v3_Cluster_MaglevLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__MaglevLbConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_MaglevLbConfig_serialize(const envoy_config_cluster_v3_Cluster_MaglevLbConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__MaglevLbConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_MaglevLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_MaglevLbConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__MaglevLbConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_MaglevLbConfig_clear_table_size(envoy_config_cluster_v3_Cluster_MaglevLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_MaglevLbConfig_table_size(const envoy_config_cluster_v3_Cluster_MaglevLbConfig* msg) { + const struct google_protobuf_UInt64Value* default_val = NULL; + const struct google_protobuf_UInt64Value* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_MaglevLbConfig_has_table_size(const envoy_config_cluster_v3_Cluster_MaglevLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_MaglevLbConfig_set_table_size(envoy_config_cluster_v3_Cluster_MaglevLbConfig *msg, struct google_protobuf_UInt64Value* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_MaglevLbConfig_mutable_table_size(envoy_config_cluster_v3_Cluster_MaglevLbConfig* msg, upb_Arena* arena) { + struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_cluster_v3_Cluster_MaglevLbConfig_table_size(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google__protobuf__UInt64Value_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_MaglevLbConfig_set_table_size(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster.OriginalDstLbConfig */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_OriginalDstLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__OriginalDstLbConfig_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* ret = envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__OriginalDstLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* ret = envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__OriginalDstLbConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_serialize(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__OriginalDstLbConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__OriginalDstLbConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_clear_use_http_header(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { + const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_use_http_header(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_clear_http_header_name(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_http_header_name(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_clear_upstream_port_override(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_upstream_port_override(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_has_upstream_port_override(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_clear_metadata_key(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_metadata_v3_MetadataKey* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_metadata_key(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { + const struct envoy_type_metadata_v3_MetadataKey* default_val = NULL; + const struct envoy_type_metadata_v3_MetadataKey* ret; + const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_has_metadata_key(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_set_use_http_header(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig *msg, bool value) { + const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_set_http_header_name(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_set_upstream_port_override(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_mutable_upstream_port_override(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_upstream_port_override(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_set_upstream_port_override(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_set_metadata_key(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig *msg, struct envoy_type_metadata_v3_MetadataKey* value) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_metadata_v3_MetadataKey* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_mutable_metadata_key(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg, upb_Arena* arena) { + struct envoy_type_metadata_v3_MetadataKey* sub = (struct envoy_type_metadata_v3_MetadataKey*)envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_metadata_key(msg); + if (sub == NULL) { + sub = (struct envoy_type_metadata_v3_MetadataKey*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKey_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_set_metadata_key(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster.CommonLbConfig */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_CommonLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__CommonLbConfig_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_CommonLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__CommonLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_CommonLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__CommonLbConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_serialize(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__CommonLbConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__CommonLbConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_zone_aware_lb_config = 2, + envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_locality_weighted_lb_config = 3, + envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_NOT_SET = 0 +} envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_oneofcases; +UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_oneofcases envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_case(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_healthy_panic_threshold(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_v3_Percent* envoy_config_cluster_v3_Cluster_CommonLbConfig_healthy_panic_threshold(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const struct envoy_type_v3_Percent* default_val = NULL; + const struct envoy_type_v3_Percent* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_has_healthy_panic_threshold(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_zone_aware_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_zone_aware_lb_config(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* default_val = NULL; + const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* ret; + const upb_MiniTableField field = {2, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_has_zone_aware_lb_config(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_locality_weighted_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_weighted_lb_config(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* default_val = NULL; + const envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* ret; + const upb_MiniTableField field = {3, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_has_locality_weighted_lb_config(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_update_merge_window(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_CommonLbConfig_update_merge_window(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_has_update_merge_window(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_ignore_new_hosts_until_first_hc(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_ignore_new_hosts_until_first_hc(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_close_connections_on_host_set_change(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_close_connections_on_host_set_change(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_consistent_hashing_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(20, 32), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_consistent_hashing_lb_config(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* default_val = NULL; + const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* ret; + const upb_MiniTableField field = {7, UPB_SIZE(20, 32), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_has_consistent_hashing_lb_config(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(20, 32), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_override_host_status(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(24, 40), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_HealthStatusSet* envoy_config_cluster_v3_Cluster_CommonLbConfig_override_host_status(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const struct envoy_config_core_v3_HealthStatusSet* default_val = NULL; + const struct envoy_config_core_v3_HealthStatusSet* ret; + const upb_MiniTableField field = {8, UPB_SIZE(24, 40), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_has_override_host_status(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(24, 40), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_healthy_panic_threshold(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, struct envoy_type_v3_Percent* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_v3_Percent* envoy_config_cluster_v3_Cluster_CommonLbConfig_mutable_healthy_panic_threshold(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena) { + struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_cluster_v3_Cluster_CommonLbConfig_healthy_panic_threshold(msg); + if (sub == NULL) { + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_set_healthy_panic_threshold(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_zone_aware_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* value) { + const upb_MiniTableField field = {2, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_mutable_zone_aware_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig*)envoy_config_cluster_v3_Cluster_CommonLbConfig_zone_aware_lb_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__CommonLbConfig__ZoneAwareLbConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_set_zone_aware_lb_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_locality_weighted_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* value) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_mutable_locality_weighted_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig*)envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_weighted_lb_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__CommonLbConfig__LocalityWeightedLbConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_set_locality_weighted_lb_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_update_merge_window(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_CommonLbConfig_mutable_update_merge_window(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_CommonLbConfig_update_merge_window(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_set_update_merge_window(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_ignore_new_hosts_until_first_hc(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, bool value) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_close_connections_on_host_set_change(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, bool value) { + const upb_MiniTableField field = {6, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_consistent_hashing_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* value) { + const upb_MiniTableField field = {7, UPB_SIZE(20, 32), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_mutable_consistent_hashing_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena) { + struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig*)envoy_config_cluster_v3_Cluster_CommonLbConfig_consistent_hashing_lb_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__CommonLbConfig__ConsistentHashingLbConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_set_consistent_hashing_lb_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_override_host_status(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, struct envoy_config_core_v3_HealthStatusSet* value) { + const upb_MiniTableField field = {8, UPB_SIZE(24, 40), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_HealthStatusSet* envoy_config_cluster_v3_Cluster_CommonLbConfig_mutable_override_host_status(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_HealthStatusSet* sub = (struct envoy_config_core_v3_HealthStatusSet*)envoy_config_cluster_v3_Cluster_CommonLbConfig_override_host_status(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_HealthStatusSet*)_upb_Message_New(&envoy__config__core__v3__HealthStatusSet_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_set_override_host_status(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__CommonLbConfig__ZoneAwareLbConfig_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__CommonLbConfig__ZoneAwareLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__CommonLbConfig__ZoneAwareLbConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_serialize(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__CommonLbConfig__ZoneAwareLbConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__CommonLbConfig__ZoneAwareLbConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_clear_routing_enabled(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_v3_Percent* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_routing_enabled(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { + const struct envoy_type_v3_Percent* default_val = NULL; + const struct envoy_type_v3_Percent* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_has_routing_enabled(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_clear_min_cluster_size(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_min_cluster_size(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { + const struct google_protobuf_UInt64Value* default_val = NULL; + const struct google_protobuf_UInt64Value* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_has_min_cluster_size(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_clear_fail_traffic_on_panic(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_fail_traffic_on_panic(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_routing_enabled(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, struct envoy_type_v3_Percent* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_v3_Percent* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_mutable_routing_enabled(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg, upb_Arena* arena) { + struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_routing_enabled(msg); + if (sub == NULL) { + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_routing_enabled(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_min_cluster_size(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, struct google_protobuf_UInt64Value* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_mutable_min_cluster_size(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg, upb_Arena* arena) { + struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_min_cluster_size(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google__protobuf__UInt64Value_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_min_cluster_size(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_fail_traffic_on_panic(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, bool value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__CommonLbConfig__LocalityWeightedLbConfig_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__CommonLbConfig__LocalityWeightedLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__CommonLbConfig__LocalityWeightedLbConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_serialize(const envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__CommonLbConfig__LocalityWeightedLbConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__CommonLbConfig__LocalityWeightedLbConfig_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__CommonLbConfig__ConsistentHashingLbConfig_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__CommonLbConfig__ConsistentHashingLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__CommonLbConfig__ConsistentHashingLbConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_serialize(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__CommonLbConfig__ConsistentHashingLbConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__CommonLbConfig__ConsistentHashingLbConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_clear_use_hostname_for_hashing(envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg) { + const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_use_hostname_for_hashing(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_clear_hash_balance_factor(envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_hash_balance_factor(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_has_hash_balance_factor(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_set_use_hostname_for_hashing(envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig *msg, bool value) { + const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_set_hash_balance_factor(envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_mutable_hash_balance_factor(envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_hash_balance_factor(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_set_hash_balance_factor(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster.RefreshRate */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_RefreshRate* envoy_config_cluster_v3_Cluster_RefreshRate_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_RefreshRate*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__RefreshRate_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_RefreshRate* envoy_config_cluster_v3_Cluster_RefreshRate_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_RefreshRate* ret = envoy_config_cluster_v3_Cluster_RefreshRate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__RefreshRate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_RefreshRate* envoy_config_cluster_v3_Cluster_RefreshRate_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_RefreshRate* ret = envoy_config_cluster_v3_Cluster_RefreshRate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__RefreshRate_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_RefreshRate_serialize(const envoy_config_cluster_v3_Cluster_RefreshRate* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__RefreshRate_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_RefreshRate_serialize_ex(const envoy_config_cluster_v3_Cluster_RefreshRate* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__RefreshRate_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_RefreshRate_clear_base_interval(envoy_config_cluster_v3_Cluster_RefreshRate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_RefreshRate_base_interval(const envoy_config_cluster_v3_Cluster_RefreshRate* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_RefreshRate_has_base_interval(const envoy_config_cluster_v3_Cluster_RefreshRate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_RefreshRate_clear_max_interval(envoy_config_cluster_v3_Cluster_RefreshRate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_RefreshRate_max_interval(const envoy_config_cluster_v3_Cluster_RefreshRate* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_RefreshRate_has_max_interval(const envoy_config_cluster_v3_Cluster_RefreshRate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_RefreshRate_set_base_interval(envoy_config_cluster_v3_Cluster_RefreshRate *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_RefreshRate_mutable_base_interval(envoy_config_cluster_v3_Cluster_RefreshRate* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_RefreshRate_base_interval(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_RefreshRate_set_base_interval(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_RefreshRate_set_max_interval(envoy_config_cluster_v3_Cluster_RefreshRate *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_RefreshRate_mutable_max_interval(envoy_config_cluster_v3_Cluster_RefreshRate* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_RefreshRate_max_interval(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_RefreshRate_set_max_interval(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster.PreconnectPolicy */ + +UPB_INLINE envoy_config_cluster_v3_Cluster_PreconnectPolicy* envoy_config_cluster_v3_Cluster_PreconnectPolicy_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Cluster_PreconnectPolicy*)_upb_Message_New(&envoy__config__cluster__v3__Cluster__PreconnectPolicy_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Cluster_PreconnectPolicy* envoy_config_cluster_v3_Cluster_PreconnectPolicy_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_PreconnectPolicy* ret = envoy_config_cluster_v3_Cluster_PreconnectPolicy_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__PreconnectPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Cluster_PreconnectPolicy* envoy_config_cluster_v3_Cluster_PreconnectPolicy_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Cluster_PreconnectPolicy* ret = envoy_config_cluster_v3_Cluster_PreconnectPolicy_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Cluster__PreconnectPolicy_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_PreconnectPolicy_serialize(const envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__PreconnectPolicy_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Cluster_PreconnectPolicy_serialize_ex(const envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Cluster__PreconnectPolicy_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_PreconnectPolicy_clear_per_upstream_preconnect_ratio(envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_DoubleValue* envoy_config_cluster_v3_Cluster_PreconnectPolicy_per_upstream_preconnect_ratio(const envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg) { + const struct google_protobuf_DoubleValue* default_val = NULL; + const struct google_protobuf_DoubleValue* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_PreconnectPolicy_has_per_upstream_preconnect_ratio(const envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_PreconnectPolicy_clear_predictive_preconnect_ratio(envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_DoubleValue* envoy_config_cluster_v3_Cluster_PreconnectPolicy_predictive_preconnect_ratio(const envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg) { + const struct google_protobuf_DoubleValue* default_val = NULL; + const struct google_protobuf_DoubleValue* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_PreconnectPolicy_has_predictive_preconnect_ratio(const envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_PreconnectPolicy_set_per_upstream_preconnect_ratio(envoy_config_cluster_v3_Cluster_PreconnectPolicy *msg, struct google_protobuf_DoubleValue* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_DoubleValue* envoy_config_cluster_v3_Cluster_PreconnectPolicy_mutable_per_upstream_preconnect_ratio(envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg, upb_Arena* arena) { + struct google_protobuf_DoubleValue* sub = (struct google_protobuf_DoubleValue*)envoy_config_cluster_v3_Cluster_PreconnectPolicy_per_upstream_preconnect_ratio(msg); + if (sub == NULL) { + sub = (struct google_protobuf_DoubleValue*)_upb_Message_New(&google__protobuf__DoubleValue_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_PreconnectPolicy_set_per_upstream_preconnect_ratio(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Cluster_PreconnectPolicy_set_predictive_preconnect_ratio(envoy_config_cluster_v3_Cluster_PreconnectPolicy *msg, struct google_protobuf_DoubleValue* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_DoubleValue* envoy_config_cluster_v3_Cluster_PreconnectPolicy_mutable_predictive_preconnect_ratio(envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg, upb_Arena* arena) { + struct google_protobuf_DoubleValue* sub = (struct google_protobuf_DoubleValue*)envoy_config_cluster_v3_Cluster_PreconnectPolicy_predictive_preconnect_ratio(msg); + if (sub == NULL) { + sub = (struct google_protobuf_DoubleValue*)_upb_Message_New(&google__protobuf__DoubleValue_msg_init, arena); + if (sub) envoy_config_cluster_v3_Cluster_PreconnectPolicy_set_predictive_preconnect_ratio(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.Cluster.TypedExtensionProtocolOptionsEntry */ + +UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_key(const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* msg) { + upb_StringView ret; + _upb_msg_map_key(msg, &ret, 0); + return ret; +} +UPB_INLINE const struct google_protobuf_Any* envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_value(const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* msg) { + struct google_protobuf_Any* ret; + _upb_msg_map_value(msg, &ret, sizeof(ret)); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_has_value(const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_set_value(envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry *msg, struct google_protobuf_Any* value) { + _upb_msg_map_set_value(msg, &value, sizeof(struct google_protobuf_Any*)); +} + +/* envoy.config.cluster.v3.LoadBalancingPolicy */ + +UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy* envoy_config_cluster_v3_LoadBalancingPolicy_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_LoadBalancingPolicy*)_upb_Message_New(&envoy__config__cluster__v3__LoadBalancingPolicy_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy* envoy_config_cluster_v3_LoadBalancingPolicy_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_LoadBalancingPolicy* ret = envoy_config_cluster_v3_LoadBalancingPolicy_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__LoadBalancingPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy* envoy_config_cluster_v3_LoadBalancingPolicy_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_LoadBalancingPolicy* ret = envoy_config_cluster_v3_LoadBalancingPolicy_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__LoadBalancingPolicy_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_LoadBalancingPolicy_serialize(const envoy_config_cluster_v3_LoadBalancingPolicy* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__LoadBalancingPolicy_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_LoadBalancingPolicy_serialize_ex(const envoy_config_cluster_v3_LoadBalancingPolicy* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__LoadBalancingPolicy_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_LoadBalancingPolicy_clear_policies(envoy_config_cluster_v3_LoadBalancingPolicy* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_cluster_v3_LoadBalancingPolicy_Policy* const* envoy_config_cluster_v3_LoadBalancingPolicy_policies(const envoy_config_cluster_v3_LoadBalancingPolicy* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_cluster_v3_LoadBalancingPolicy_Policy* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_cluster_v3_LoadBalancingPolicy_policies_upb_array(const envoy_config_cluster_v3_LoadBalancingPolicy* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_cluster_v3_LoadBalancingPolicy_policies_mutable_upb_array(const envoy_config_cluster_v3_LoadBalancingPolicy* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_cluster_v3_LoadBalancingPolicy_has_policies(const envoy_config_cluster_v3_LoadBalancingPolicy* msg) { + size_t size; + envoy_config_cluster_v3_LoadBalancingPolicy_policies(msg, &size); + return size != 0; +} + +UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy_Policy** envoy_config_cluster_v3_LoadBalancingPolicy_mutable_policies(envoy_config_cluster_v3_LoadBalancingPolicy* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_cluster_v3_LoadBalancingPolicy_Policy**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy_Policy** envoy_config_cluster_v3_LoadBalancingPolicy_resize_policies(envoy_config_cluster_v3_LoadBalancingPolicy* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_cluster_v3_LoadBalancingPolicy_Policy**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_cluster_v3_LoadBalancingPolicy_Policy* envoy_config_cluster_v3_LoadBalancingPolicy_add_policies(envoy_config_cluster_v3_LoadBalancingPolicy* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_cluster_v3_LoadBalancingPolicy_Policy* sub = (struct envoy_config_cluster_v3_LoadBalancingPolicy_Policy*)_upb_Message_New(&envoy__config__cluster__v3__LoadBalancingPolicy__Policy_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.cluster.v3.LoadBalancingPolicy.Policy */ + +UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy_Policy* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_LoadBalancingPolicy_Policy*)_upb_Message_New(&envoy__config__cluster__v3__LoadBalancingPolicy__Policy_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy_Policy* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_LoadBalancingPolicy_Policy* ret = envoy_config_cluster_v3_LoadBalancingPolicy_Policy_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__LoadBalancingPolicy__Policy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy_Policy* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_LoadBalancingPolicy_Policy* ret = envoy_config_cluster_v3_LoadBalancingPolicy_Policy_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__LoadBalancingPolicy__Policy_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_serialize(const envoy_config_cluster_v3_LoadBalancingPolicy_Policy* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__LoadBalancingPolicy__Policy_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_serialize_ex(const envoy_config_cluster_v3_LoadBalancingPolicy_Policy* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__LoadBalancingPolicy__Policy_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_LoadBalancingPolicy_Policy_clear_typed_extension_config(envoy_config_cluster_v3_LoadBalancingPolicy_Policy* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_typed_extension_config(const envoy_config_cluster_v3_LoadBalancingPolicy_Policy* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_LoadBalancingPolicy_Policy_has_typed_extension_config(const envoy_config_cluster_v3_LoadBalancingPolicy_Policy* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_LoadBalancingPolicy_Policy_set_typed_extension_config(envoy_config_cluster_v3_LoadBalancingPolicy_Policy *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_mutable_typed_extension_config(envoy_config_cluster_v3_LoadBalancingPolicy_Policy* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_cluster_v3_LoadBalancingPolicy_Policy_typed_extension_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_config_cluster_v3_LoadBalancingPolicy_Policy_set_typed_extension_config(msg, sub); + } + return sub; +} + +/* envoy.config.cluster.v3.UpstreamConnectionOptions */ + +UPB_INLINE envoy_config_cluster_v3_UpstreamConnectionOptions* envoy_config_cluster_v3_UpstreamConnectionOptions_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_UpstreamConnectionOptions*)_upb_Message_New(&envoy__config__cluster__v3__UpstreamConnectionOptions_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_UpstreamConnectionOptions* envoy_config_cluster_v3_UpstreamConnectionOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_UpstreamConnectionOptions* ret = envoy_config_cluster_v3_UpstreamConnectionOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__UpstreamConnectionOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_UpstreamConnectionOptions* envoy_config_cluster_v3_UpstreamConnectionOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_UpstreamConnectionOptions* ret = envoy_config_cluster_v3_UpstreamConnectionOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__UpstreamConnectionOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_UpstreamConnectionOptions_serialize(const envoy_config_cluster_v3_UpstreamConnectionOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__UpstreamConnectionOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_UpstreamConnectionOptions_serialize_ex(const envoy_config_cluster_v3_UpstreamConnectionOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__UpstreamConnectionOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_UpstreamConnectionOptions_clear_tcp_keepalive(envoy_config_cluster_v3_UpstreamConnectionOptions* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TcpKeepalive* envoy_config_cluster_v3_UpstreamConnectionOptions_tcp_keepalive(const envoy_config_cluster_v3_UpstreamConnectionOptions* msg) { + const struct envoy_config_core_v3_TcpKeepalive* default_val = NULL; + const struct envoy_config_core_v3_TcpKeepalive* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_UpstreamConnectionOptions_has_tcp_keepalive(const envoy_config_cluster_v3_UpstreamConnectionOptions* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_UpstreamConnectionOptions_clear_set_local_interface_name_on_upstream_connections(envoy_config_cluster_v3_UpstreamConnectionOptions* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_UpstreamConnectionOptions_set_local_interface_name_on_upstream_connections(const envoy_config_cluster_v3_UpstreamConnectionOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_config_cluster_v3_UpstreamConnectionOptions_set_tcp_keepalive(envoy_config_cluster_v3_UpstreamConnectionOptions *msg, struct envoy_config_core_v3_TcpKeepalive* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TcpKeepalive* envoy_config_cluster_v3_UpstreamConnectionOptions_mutable_tcp_keepalive(envoy_config_cluster_v3_UpstreamConnectionOptions* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TcpKeepalive* sub = (struct envoy_config_core_v3_TcpKeepalive*)envoy_config_cluster_v3_UpstreamConnectionOptions_tcp_keepalive(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TcpKeepalive*)_upb_Message_New(&envoy__config__core__v3__TcpKeepalive_msg_init, arena); + if (sub) envoy_config_cluster_v3_UpstreamConnectionOptions_set_tcp_keepalive(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_UpstreamConnectionOptions_set_set_local_interface_name_on_upstream_connections(envoy_config_cluster_v3_UpstreamConnectionOptions *msg, bool value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.cluster.v3.TrackClusterStats */ + +UPB_INLINE envoy_config_cluster_v3_TrackClusterStats* envoy_config_cluster_v3_TrackClusterStats_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_TrackClusterStats*)_upb_Message_New(&envoy__config__cluster__v3__TrackClusterStats_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_TrackClusterStats* envoy_config_cluster_v3_TrackClusterStats_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_TrackClusterStats* ret = envoy_config_cluster_v3_TrackClusterStats_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__TrackClusterStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_TrackClusterStats* envoy_config_cluster_v3_TrackClusterStats_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_TrackClusterStats* ret = envoy_config_cluster_v3_TrackClusterStats_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__TrackClusterStats_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_TrackClusterStats_serialize(const envoy_config_cluster_v3_TrackClusterStats* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__TrackClusterStats_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_TrackClusterStats_serialize_ex(const envoy_config_cluster_v3_TrackClusterStats* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__TrackClusterStats_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_TrackClusterStats_clear_timeout_budgets(envoy_config_cluster_v3_TrackClusterStats* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_TrackClusterStats_timeout_budgets(const envoy_config_cluster_v3_TrackClusterStats* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_TrackClusterStats_clear_request_response_sizes(envoy_config_cluster_v3_TrackClusterStats* msg) { + const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_TrackClusterStats_request_response_sizes(const envoy_config_cluster_v3_TrackClusterStats* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_TrackClusterStats_clear_per_endpoint_stats(envoy_config_cluster_v3_TrackClusterStats* msg) { + const upb_MiniTableField field = {3, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_cluster_v3_TrackClusterStats_per_endpoint_stats(const envoy_config_cluster_v3_TrackClusterStats* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_config_cluster_v3_TrackClusterStats_set_timeout_budgets(envoy_config_cluster_v3_TrackClusterStats *msg, bool value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_TrackClusterStats_set_request_response_sizes(envoy_config_cluster_v3_TrackClusterStats *msg, bool value) { + const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_TrackClusterStats_set_per_endpoint_stats(envoy_config_cluster_v3_TrackClusterStats *msg, bool value) { + const upb_MiniTableField field = {3, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c new file mode 100644 index 00000000000..5a1140cd16a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c @@ -0,0 +1,737 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/cluster/v3/cluster.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/cluster/v3/cluster.upb_minitable.h" +#include "envoy/config/cluster/v3/circuit_breaker.upb_minitable.h" +#include "envoy/config/cluster/v3/filter.upb_minitable.h" +#include "envoy/config/cluster/v3/outlier_detection.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/health_check.upb_minitable.h" +#include "envoy/config/core/v3/protocol.upb_minitable.h" +#include "envoy/config/core/v3/resolver.upb_minitable.h" +#include "envoy/config/endpoint/v3/endpoint.upb_minitable.h" +#include "envoy/type/metadata/v3/metadata.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/core/v3/collection_entry.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/security.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_cluster_v3_ClusterCollection_submsgs[1] = { + {.submsg = &xds__core__v3__CollectionEntry_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_ClusterCollection__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__ClusterCollection_msg_init = { + &envoy_config_cluster_v3_ClusterCollection_submsgs[0], + &envoy_config_cluster_v3_ClusterCollection__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_submsgs[39] = { + {.submsg = &envoy__config__cluster__v3__Cluster__EdsClusterConfig_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__HealthCheck_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__cluster__v3__CircuitBreakers_msg_init}, + {.submsg = &envoy__config__core__v3__Http1ProtocolOptions_msg_init}, + {.submsg = &envoy__config__core__v3__Http2ProtocolOptions_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__config__cluster__v3__OutlierDetection_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__core__v3__BindConfig_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__LbSubsetConfig_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__RingHashLbConfig_msg_init}, + {.submsg = &envoy__config__core__v3__TransportSocket_msg_init}, + {.submsg = &envoy__config__core__v3__Metadata_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__CommonLbConfig_msg_init}, + {.submsg = &envoy__config__core__v3__HttpProtocolOptions_msg_init}, + {.submsg = &envoy__config__cluster__v3__UpstreamConnectionOptions_msg_init}, + {.submsg = &envoy__config__endpoint__v3__ClusterLoadAssignment_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__OriginalDstLbConfig_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__TypedExtensionProtocolOptionsEntry_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__LeastRequestLbConfig_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__CustomClusterType_msg_init}, + {.submsg = &envoy__config__cluster__v3__Filter_msg_init}, + {.submsg = &envoy__config__cluster__v3__LoadBalancingPolicy_msg_init}, + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__TransportSocketMatch_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__RefreshRate_msg_init}, + {.submsg = &envoy__config__core__v3__UpstreamHttpProtocolOptions_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__cluster__v3__TrackClusterStats_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__PreconnectPolicy_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__MaglevLbConfig_msg_init}, + {.submsg = &envoy__config__core__v3__DnsResolutionConfig_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__RoundRobinLbConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster__fields[51] = { + {1, UPB_SIZE(184, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 56), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 64), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(24, 80), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(28, 88), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(32, 96), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(36, 104), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(40, 112), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(44, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(52, 128), 9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(56, 136), 10, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(60, 144), 11, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(64, 152), 12, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(68, 160), 13, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(72, 168), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {26, UPB_SIZE(76, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {27, UPB_SIZE(80, 176), 15, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {28, UPB_SIZE(192, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {29, UPB_SIZE(84, 200), 16, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {30, UPB_SIZE(88, 208), 17, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {31, UPB_SIZE(92, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {32, UPB_SIZE(93, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {33, UPB_SIZE(96, 216), 18, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {34, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {37, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {38, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {39, UPB_SIZE(108, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {41, UPB_SIZE(116, 240), 19, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {42, UPB_SIZE(120, 248), 20, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {44, UPB_SIZE(128, 264), 21, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {45, UPB_SIZE(132, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {46, UPB_SIZE(136, 272), 22, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {47, UPB_SIZE(140, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {48, UPB_SIZE(144, 280), 23, 31, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {49, UPB_SIZE(148, 288), 24, 32, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {50, UPB_SIZE(152, 296), 25, 33, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {51, UPB_SIZE(156, 27), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {52, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 34, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {53, UPB_SIZE(160, 304), 26, 35, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {54, UPB_SIZE(164, 312), 27, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {55, UPB_SIZE(168, 320), 28, 37, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {56, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 38, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster_msg_init = { + &envoy_config_cluster_v3_Cluster_submsgs[0], + &envoy_config_cluster_v3_Cluster__fields[0], + UPB_SIZE(200, 344), 51, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002000003f00000a, &upb_pss_1bt}, + {0x0148001402000010, &upb_pov4_1bt}, + {0x003000000100001a, &upb_psm_1bt_max64b}, + {0x0038000002010022, &upb_psm_1bt_maxmaxb}, + {0x004000000302002a, &upb_psm_1bt_maxmaxb}, + {0x000400003f000030, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x004800003f030042, &upb_prm_1bt_maxmaxb}, + {0x005000000404004a, &upb_psm_1bt_maxmaxb}, + {0x0058000005050052, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x006000000606006a, &upb_psm_1bt_maxmaxb}, + {0x0068000007070072, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0070000008080182, &upb_psm_2bt_maxmaxb}, + {0x000800003f000188, &upb_psv4_2bt}, + {0x007800003f090192, &upb_prm_2bt_maxmaxb}, + {0x00800000090a019a, &upb_psm_2bt_maxmaxb}, + {0x008800000a0b01a2, &upb_psm_2bt_maxmaxb}, + {0x009000000b0c01aa, &upb_psm_2bt_maxmaxb}, + {0x009800000c0d01b2, &upb_psm_2bt_max64b}, + {0x0150001c170e01ba, &upb_pom_2bt_max64b}, + {0x00a000000d0f01c2, &upb_psm_2bt_maxmaxb}, + {0x00a800000e1001ca, &upb_psm_2bt_maxmaxb}, + {0x000c00003f0001d0, &upb_psv4_2bt}, + {0x00b000000f1101da, &upb_psm_2bt_max64b}, + {0x00b800003f0001e2, &upb_pss_2bt}, + {0x00c80000101201ea, &upb_psm_2bt_maxmaxb}, + {0x00d00000111301f2, &upb_psm_2bt_max64b}, + {0x001000003f0001f8, &upb_psb1_2bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_TransportSocketMatch_submsgs[2] = { + {.submsg = &google__protobuf__Struct_msg_init}, + {.submsg = &envoy__config__core__v3__TransportSocket_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_TransportSocketMatch__fields[3] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__TransportSocketMatch_msg_init = { + &envoy_config_cluster_v3_Cluster_TransportSocketMatch_submsgs[0], + &envoy_config_cluster_v3_Cluster_TransportSocketMatch__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_CustomClusterType_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_CustomClusterType__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__CustomClusterType_msg_init = { + &envoy_config_cluster_v3_Cluster_CustomClusterType_submsgs[0], + &envoy_config_cluster_v3_Cluster_CustomClusterType__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_EdsClusterConfig_submsgs[1] = { + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_EdsClusterConfig__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__EdsClusterConfig_msg_init = { + &envoy_config_cluster_v3_Cluster_EdsClusterConfig_submsgs[0], + &envoy_config_cluster_v3_Cluster_EdsClusterConfig__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_LbSubsetConfig_submsgs[2] = { + {.submsg = &google__protobuf__Struct_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__LbSubsetConfig__LbSubsetSelector_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_LbSubsetConfig__fields[8] = { + {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(18, 10), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(19, 11), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__LbSubsetConfig_msg_init = { + &envoy_config_cluster_v3_Cluster_LbSubsetConfig_submsgs[0], + &envoy_config_cluster_v3_Cluster_LbSubsetConfig__fields[0], + UPB_SIZE(24, 32), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x0010000001000012, &upb_psm_1bt_maxmaxb}, + {0x001800003f01001a, &upb_prm_1bt_max64b}, + {0x000800003f000020, &upb_psb1_1bt}, + {0x000900003f000028, &upb_psb1_1bt}, + {0x000a00003f000030, &upb_psb1_1bt}, + {0x000b00003f000038, &upb_psb1_1bt}, + {0x000c00003f000040, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector__fields[4] = { + {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__LbSubsetConfig__LbSubsetSelector_msg_init = { + NULL, + &envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector__fields[0], + UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prs_1bt}, + {0x000000003f000010, &upb_psv4_1bt}, + {0x001000003f00001a, &upb_prs_1bt}, + {0x000400003f000020, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_SlowStartConfig_submsgs[3] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__core__v3__RuntimeDouble_msg_init}, + {.submsg = &envoy__type__v3__Percent_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_SlowStartConfig__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__SlowStartConfig_msg_init = { + &envoy_config_cluster_v3_Cluster_SlowStartConfig_submsgs[0], + &envoy_config_cluster_v3_Cluster_SlowStartConfig__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_submsgs[1] = { + {.submsg = &envoy__config__cluster__v3__Cluster__SlowStartConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_RoundRobinLbConfig__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__RoundRobinLbConfig_msg_init = { + &envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_submsgs[0], + &envoy_config_cluster_v3_Cluster_RoundRobinLbConfig__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_submsgs[3] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__RuntimeDouble_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__SlowStartConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_LeastRequestLbConfig__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__LeastRequestLbConfig_msg_init = { + &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_submsgs[0], + &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_RingHashLbConfig_submsgs[2] = { + {.submsg = &google__protobuf__UInt64Value_msg_init}, + {.submsg = &google__protobuf__UInt64Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_RingHashLbConfig__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__RingHashLbConfig_msg_init = { + &envoy_config_cluster_v3_Cluster_RingHashLbConfig_submsgs[0], + &envoy_config_cluster_v3_Cluster_RingHashLbConfig__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000018, &upb_psv4_1bt}, + {0x0010000002010022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_MaglevLbConfig_submsgs[1] = { + {.submsg = &google__protobuf__UInt64Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_MaglevLbConfig__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__MaglevLbConfig_msg_init = { + &envoy_config_cluster_v3_Cluster_MaglevLbConfig_submsgs[0], + &envoy_config_cluster_v3_Cluster_MaglevLbConfig__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_submsgs[2] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__type__metadata__v3__MetadataKey_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_OriginalDstLbConfig__fields[4] = { + {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__OriginalDstLbConfig_msg_init = { + &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_submsgs[0], + &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000100003f000008, &upb_psb1_1bt}, + {0x000800003f000012, &upb_pss_1bt}, + {0x001800000100001a, &upb_psm_1bt_maxmaxb}, + {0x0020000002010022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_CommonLbConfig_submsgs[6] = { + {.submsg = &envoy__type__v3__Percent_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__CommonLbConfig__ZoneAwareLbConfig_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__CommonLbConfig__LocalityWeightedLbConfig_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__cluster__v3__Cluster__CommonLbConfig__ConsistentHashingLbConfig_msg_init}, + {.submsg = &envoy__config__core__v3__HealthStatusSet_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_CommonLbConfig__fields[8] = { + {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 24), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(20, 32), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(24, 40), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__CommonLbConfig_msg_init = { + &envoy_config_cluster_v3_Cluster_CommonLbConfig_submsgs[0], + &envoy_config_cluster_v3_Cluster_CommonLbConfig__fields[0], + UPB_SIZE(32, 56), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000000100000a, &upb_psm_1bt_maxmaxb}, + {0x0030000402010012, &upb_pom_1bt_max64b}, + {0x003000040302001a, &upb_pom_1bt_max64b}, + {0x0018000002030022, &upb_psm_1bt_maxmaxb}, + {0x000800003f000028, &upb_psb1_1bt}, + {0x000900003f000030, &upb_psb1_1bt}, + {0x002000000304003a, &upb_psm_1bt_max64b}, + {0x0028000004050042, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_submsgs[2] = { + {.submsg = &envoy__type__v3__Percent_msg_init}, + {.submsg = &google__protobuf__UInt64Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__CommonLbConfig__ZoneAwareLbConfig_msg_init = { + &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_submsgs[0], + &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x000100003f000018, &upb_psb1_1bt}, + }) +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__CommonLbConfig__LocalityWeightedLbConfig_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_submsgs[1] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig__fields[2] = { + {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__CommonLbConfig__ConsistentHashingLbConfig_msg_init = { + &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_submsgs[0], + &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000100003f000008, &upb_psb1_1bt}, + {0x0008000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_RefreshRate_submsgs[2] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_RefreshRate__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__RefreshRate_msg_init = { + &envoy_config_cluster_v3_Cluster_RefreshRate_submsgs[0], + &envoy_config_cluster_v3_Cluster_RefreshRate__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_PreconnectPolicy_submsgs[2] = { + {.submsg = &google__protobuf__DoubleValue_msg_init}, + {.submsg = &google__protobuf__DoubleValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_PreconnectPolicy__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__PreconnectPolicy_msg_init = { + &envoy_config_cluster_v3_Cluster_PreconnectPolicy_submsgs[0], + &envoy_config_cluster_v3_Cluster_PreconnectPolicy__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Cluster__TypedExtensionProtocolOptionsEntry_msg_init = { + &envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[0], + &envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_LoadBalancingPolicy_submsgs[1] = { + {.submsg = &envoy__config__cluster__v3__LoadBalancingPolicy__Policy_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_LoadBalancingPolicy__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__LoadBalancingPolicy_msg_init = { + &envoy_config_cluster_v3_LoadBalancingPolicy_submsgs[0], + &envoy_config_cluster_v3_LoadBalancingPolicy__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_LoadBalancingPolicy_Policy_submsgs[1] = { + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_LoadBalancingPolicy_Policy__fields[1] = { + {4, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__LoadBalancingPolicy__Policy_msg_init = { + &envoy_config_cluster_v3_LoadBalancingPolicy_Policy_submsgs[0], + &envoy_config_cluster_v3_LoadBalancingPolicy_Policy__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_cluster_v3_UpstreamConnectionOptions_submsgs[1] = { + {.submsg = &envoy__config__core__v3__TcpKeepalive_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_UpstreamConnectionOptions__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__UpstreamConnectionOptions_msg_init = { + &envoy_config_cluster_v3_UpstreamConnectionOptions_submsgs[0], + &envoy_config_cluster_v3_UpstreamConnectionOptions__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_cluster_v3_TrackClusterStats__fields[3] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__TrackClusterStats_msg_init = { + NULL, + &envoy_config_cluster_v3_TrackClusterStats__fields[0], + 8, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x000200003f000018, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[24] = { + &envoy__config__cluster__v3__ClusterCollection_msg_init, + &envoy__config__cluster__v3__Cluster_msg_init, + &envoy__config__cluster__v3__Cluster__TransportSocketMatch_msg_init, + &envoy__config__cluster__v3__Cluster__CustomClusterType_msg_init, + &envoy__config__cluster__v3__Cluster__EdsClusterConfig_msg_init, + &envoy__config__cluster__v3__Cluster__LbSubsetConfig_msg_init, + &envoy__config__cluster__v3__Cluster__LbSubsetConfig__LbSubsetSelector_msg_init, + &envoy__config__cluster__v3__Cluster__SlowStartConfig_msg_init, + &envoy__config__cluster__v3__Cluster__RoundRobinLbConfig_msg_init, + &envoy__config__cluster__v3__Cluster__LeastRequestLbConfig_msg_init, + &envoy__config__cluster__v3__Cluster__RingHashLbConfig_msg_init, + &envoy__config__cluster__v3__Cluster__MaglevLbConfig_msg_init, + &envoy__config__cluster__v3__Cluster__OriginalDstLbConfig_msg_init, + &envoy__config__cluster__v3__Cluster__CommonLbConfig_msg_init, + &envoy__config__cluster__v3__Cluster__CommonLbConfig__ZoneAwareLbConfig_msg_init, + &envoy__config__cluster__v3__Cluster__CommonLbConfig__LocalityWeightedLbConfig_msg_init, + &envoy__config__cluster__v3__Cluster__CommonLbConfig__ConsistentHashingLbConfig_msg_init, + &envoy__config__cluster__v3__Cluster__RefreshRate_msg_init, + &envoy__config__cluster__v3__Cluster__PreconnectPolicy_msg_init, + &envoy__config__cluster__v3__Cluster__TypedExtensionProtocolOptionsEntry_msg_init, + &envoy__config__cluster__v3__LoadBalancingPolicy_msg_init, + &envoy__config__cluster__v3__LoadBalancingPolicy__Policy_msg_init, + &envoy__config__cluster__v3__UpstreamConnectionOptions_msg_init, + &envoy__config__cluster__v3__TrackClusterStats_msg_init, +}; + +const upb_MiniTableFile envoy_config_cluster_v3_cluster_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 24, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h new file mode 100644 index 00000000000..e6bca858386 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h @@ -0,0 +1,53 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/cluster/v3/cluster.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__cluster__v3__ClusterCollection_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__TransportSocketMatch_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__CustomClusterType_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__EdsClusterConfig_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__LbSubsetConfig_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__LbSubsetConfig__LbSubsetSelector_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__SlowStartConfig_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__RoundRobinLbConfig_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__LeastRequestLbConfig_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__RingHashLbConfig_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__MaglevLbConfig_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__OriginalDstLbConfig_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__CommonLbConfig_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__CommonLbConfig__ZoneAwareLbConfig_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__CommonLbConfig__LocalityWeightedLbConfig_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__CommonLbConfig__ConsistentHashingLbConfig_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__RefreshRate_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__PreconnectPolicy_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__Cluster__TypedExtensionProtocolOptionsEntry_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__LoadBalancingPolicy_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__LoadBalancingPolicy__Policy_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__UpstreamConnectionOptions_msg_init; +extern const upb_MiniTable envoy__config__cluster__v3__TrackClusterStats_msg_init; + +extern const upb_MiniTableFile envoy_config_cluster_v3_cluster_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h b/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h new file mode 100644 index 00000000000..3aa8ea33ed0 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h @@ -0,0 +1,146 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/cluster/v3/filter.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CLUSTER_V3_FILTER_PROTO_UPB_H_ +#define ENVOY_CONFIG_CLUSTER_V3_FILTER_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/config/cluster/v3/filter.upb_minitable.h" + +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_config_cluster_v3_Filter envoy_config_cluster_v3_Filter; +struct envoy_config_core_v3_ExtensionConfigSource; +struct google_protobuf_Any; + + + +/* envoy.config.cluster.v3.Filter */ + +UPB_INLINE envoy_config_cluster_v3_Filter* envoy_config_cluster_v3_Filter_new(upb_Arena* arena) { + return (envoy_config_cluster_v3_Filter*)_upb_Message_New(&envoy__config__cluster__v3__Filter_msg_init, arena); +} +UPB_INLINE envoy_config_cluster_v3_Filter* envoy_config_cluster_v3_Filter_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_cluster_v3_Filter* ret = envoy_config_cluster_v3_Filter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Filter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_cluster_v3_Filter* envoy_config_cluster_v3_Filter_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_cluster_v3_Filter* ret = envoy_config_cluster_v3_Filter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__Filter_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_cluster_v3_Filter_serialize(const envoy_config_cluster_v3_Filter* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Filter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_cluster_v3_Filter_serialize_ex(const envoy_config_cluster_v3_Filter* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__cluster__v3__Filter_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_cluster_v3_Filter_clear_name(envoy_config_cluster_v3_Filter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_cluster_v3_Filter_name(const envoy_config_cluster_v3_Filter* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_cluster_v3_Filter_clear_typed_config(envoy_config_cluster_v3_Filter* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Any* envoy_config_cluster_v3_Filter_typed_config(const envoy_config_cluster_v3_Filter* msg) { + const struct google_protobuf_Any* default_val = NULL; + const struct google_protobuf_Any* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Filter_has_typed_config(const envoy_config_cluster_v3_Filter* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_cluster_v3_Filter_clear_config_discovery(envoy_config_cluster_v3_Filter* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_ExtensionConfigSource* envoy_config_cluster_v3_Filter_config_discovery(const envoy_config_cluster_v3_Filter* msg) { + const struct envoy_config_core_v3_ExtensionConfigSource* default_val = NULL; + const struct envoy_config_core_v3_ExtensionConfigSource* ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_Filter_has_config_discovery(const envoy_config_cluster_v3_Filter* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_cluster_v3_Filter_set_name(envoy_config_cluster_v3_Filter *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_cluster_v3_Filter_set_typed_config(envoy_config_cluster_v3_Filter *msg, struct google_protobuf_Any* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Any* envoy_config_cluster_v3_Filter_mutable_typed_config(envoy_config_cluster_v3_Filter* msg, upb_Arena* arena) { + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_cluster_v3_Filter_typed_config(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); + if (sub) envoy_config_cluster_v3_Filter_set_typed_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_cluster_v3_Filter_set_config_discovery(envoy_config_cluster_v3_Filter *msg, struct envoy_config_core_v3_ExtensionConfigSource* value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_ExtensionConfigSource* envoy_config_cluster_v3_Filter_mutable_config_discovery(envoy_config_cluster_v3_Filter* msg, upb_Arena* arena) { + struct envoy_config_core_v3_ExtensionConfigSource* sub = (struct envoy_config_core_v3_ExtensionConfigSource*)envoy_config_cluster_v3_Filter_config_discovery(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_ExtensionConfigSource*)_upb_Message_New(&envoy__config__core__v3__ExtensionConfigSource_msg_init, arena); + if (sub) envoy_config_cluster_v3_Filter_set_config_discovery(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CLUSTER_V3_FILTER_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c new file mode 100644 index 00000000000..cfb30f2ceb0 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c @@ -0,0 +1,57 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/cluster/v3/filter.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/cluster/v3/filter.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_cluster_v3_Filter_submsgs[2] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &envoy__config__core__v3__ExtensionConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_Filter__fields[3] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__Filter_msg_init = { + &envoy_config_cluster_v3_Filter_submsgs[0], + &envoy_config_cluster_v3_Filter__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__cluster__v3__Filter_msg_init, +}; + +const upb_MiniTableFile envoy_config_cluster_v3_filter_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h new file mode 100644 index 00000000000..16fdf2a776e --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/cluster/v3/filter.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CLUSTER_V3_FILTER_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CLUSTER_V3_FILTER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__cluster__v3__Filter_msg_init; + +extern const upb_MiniTableFile envoy_config_cluster_v3_filter_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CLUSTER_V3_FILTER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h b/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h similarity index 92% rename from src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h rename to src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h index b736d5e695b..5197a0c0a81 100644 --- a/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +++ b/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/cluster/v3/outlier_detection.proto * @@ -10,7 +9,16 @@ #define ENVOY_CONFIG_CLUSTER_V3_OUTLIER_DETECTION_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/cluster/v3/outlier_detection.upb_minitable.h" + +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,23 +26,21 @@ extern "C" { #endif typedef struct envoy_config_cluster_v3_OutlierDetection envoy_config_cluster_v3_OutlierDetection; -extern const upb_MiniTable envoy_config_cluster_v3_OutlierDetection_msg_init; +struct google_protobuf_BoolValue; struct google_protobuf_Duration; struct google_protobuf_UInt32Value; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; /* envoy.config.cluster.v3.OutlierDetection */ UPB_INLINE envoy_config_cluster_v3_OutlierDetection* envoy_config_cluster_v3_OutlierDetection_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_OutlierDetection*)_upb_Message_New(&envoy_config_cluster_v3_OutlierDetection_msg_init, arena); + return (envoy_config_cluster_v3_OutlierDetection*)_upb_Message_New(&envoy__config__cluster__v3__OutlierDetection_msg_init, arena); } UPB_INLINE envoy_config_cluster_v3_OutlierDetection* envoy_config_cluster_v3_OutlierDetection_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_cluster_v3_OutlierDetection* ret = envoy_config_cluster_v3_OutlierDetection_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_OutlierDetection_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__OutlierDetection_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -44,7 +50,7 @@ UPB_INLINE envoy_config_cluster_v3_OutlierDetection* envoy_config_cluster_v3_Out int options, upb_Arena* arena) { envoy_config_cluster_v3_OutlierDetection* ret = envoy_config_cluster_v3_OutlierDetection_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_OutlierDetection_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__cluster__v3__OutlierDetection_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -52,13 +58,13 @@ UPB_INLINE envoy_config_cluster_v3_OutlierDetection* envoy_config_cluster_v3_Out } UPB_INLINE char* envoy_config_cluster_v3_OutlierDetection_serialize(const envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_OutlierDetection_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__cluster__v3__OutlierDetection_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_cluster_v3_OutlierDetection_serialize_ex(const envoy_config_cluster_v3_OutlierDetection* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_OutlierDetection_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__cluster__v3__OutlierDetection_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_clear_consecutive_5xx(envoy_config_cluster_v3_OutlierDetection* msg) { @@ -387,6 +393,21 @@ UPB_INLINE bool envoy_config_cluster_v3_OutlierDetection_has_max_ejection_time_j const upb_MiniTableField field = {22, UPB_SIZE(88, 168), 21, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } +UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_clear_successful_active_health_check_uneject_host(envoy_config_cluster_v3_OutlierDetection* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(92, 176), 22, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_cluster_v3_OutlierDetection_successful_active_health_check_uneject_host(const envoy_config_cluster_v3_OutlierDetection* msg) { + const struct google_protobuf_BoolValue* default_val = NULL; + const struct google_protobuf_BoolValue* ret; + const upb_MiniTableField field = {23, UPB_SIZE(92, 176), 22, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_cluster_v3_OutlierDetection_has_successful_active_health_check_uneject_host(const envoy_config_cluster_v3_OutlierDetection* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(92, 176), 22, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_consecutive_5xx(envoy_config_cluster_v3_OutlierDetection *msg, struct google_protobuf_UInt32Value* value) { const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; @@ -395,7 +416,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_consecutive_5xx(env UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_consecutive_5xx(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_consecutive_5xx(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_consecutive_5xx(msg, sub); } return sub; @@ -407,7 +428,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_interval(envoy_conf UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_OutlierDetection_mutable_interval(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_OutlierDetection_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_interval(msg, sub); } return sub; @@ -419,7 +440,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_base_ejection_time( UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_OutlierDetection_mutable_base_ejection_time(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_OutlierDetection_base_ejection_time(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_base_ejection_time(msg, sub); } return sub; @@ -431,7 +452,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_max_ejection_percen UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_max_ejection_percent(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_max_ejection_percent(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_max_ejection_percent(msg, sub); } return sub; @@ -443,7 +464,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_enforcing_consecuti UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_enforcing_consecutive_5xx(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_enforcing_consecutive_5xx(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_enforcing_consecutive_5xx(msg, sub); } return sub; @@ -455,7 +476,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_enforcing_success_r UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_enforcing_success_rate(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_enforcing_success_rate(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_enforcing_success_rate(msg, sub); } return sub; @@ -467,7 +488,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_success_rate_minimu UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_success_rate_minimum_hosts(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_success_rate_minimum_hosts(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_success_rate_minimum_hosts(msg, sub); } return sub; @@ -479,7 +500,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_success_rate_reques UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_success_rate_request_volume(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_success_rate_request_volume(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_success_rate_request_volume(msg, sub); } return sub; @@ -491,7 +512,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_success_rate_stdev_ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_success_rate_stdev_factor(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_success_rate_stdev_factor(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_success_rate_stdev_factor(msg, sub); } return sub; @@ -503,7 +524,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_consecutive_gateway UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_consecutive_gateway_failure(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_consecutive_gateway_failure(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_consecutive_gateway_failure(msg, sub); } return sub; @@ -515,7 +536,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_enforcing_consecuti UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_enforcing_consecutive_gateway_failure(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_enforcing_consecutive_gateway_failure(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_enforcing_consecutive_gateway_failure(msg, sub); } return sub; @@ -531,7 +552,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_consecutive_local_o UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_consecutive_local_origin_failure(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_consecutive_local_origin_failure(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_consecutive_local_origin_failure(msg, sub); } return sub; @@ -543,7 +564,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_enforcing_consecuti UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_enforcing_consecutive_local_origin_failure(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_enforcing_consecutive_local_origin_failure(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_enforcing_consecutive_local_origin_failure(msg, sub); } return sub; @@ -555,7 +576,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_enforcing_local_ori UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_enforcing_local_origin_success_rate(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_enforcing_local_origin_success_rate(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_enforcing_local_origin_success_rate(msg, sub); } return sub; @@ -567,7 +588,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_failure_percentage_ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_failure_percentage_threshold(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_failure_percentage_threshold(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_failure_percentage_threshold(msg, sub); } return sub; @@ -579,7 +600,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_enforcing_failure_p UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_enforcing_failure_percentage(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_enforcing_failure_percentage(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_enforcing_failure_percentage(msg, sub); } return sub; @@ -591,7 +612,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_enforcing_failure_p UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_enforcing_failure_percentage_local_origin(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_enforcing_failure_percentage_local_origin(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_enforcing_failure_percentage_local_origin(msg, sub); } return sub; @@ -603,7 +624,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_failure_percentage_ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_failure_percentage_minimum_hosts(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_failure_percentage_minimum_hosts(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_failure_percentage_minimum_hosts(msg, sub); } return sub; @@ -615,7 +636,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_failure_percentage_ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_OutlierDetection_mutable_failure_percentage_request_volume(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_OutlierDetection_failure_percentage_request_volume(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_failure_percentage_request_volume(msg, sub); } return sub; @@ -627,7 +648,7 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_max_ejection_time(e UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_OutlierDetection_mutable_max_ejection_time(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_OutlierDetection_max_ejection_time(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_max_ejection_time(msg, sub); } return sub; @@ -639,13 +660,23 @@ UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_max_ejection_time_j UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_OutlierDetection_mutable_max_ejection_time_jitter(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_OutlierDetection_max_ejection_time_jitter(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_cluster_v3_OutlierDetection_set_max_ejection_time_jitter(msg, sub); } return sub; } - -extern const upb_MiniTableFile envoy_config_cluster_v3_outlier_detection_proto_upb_file_layout; +UPB_INLINE void envoy_config_cluster_v3_OutlierDetection_set_successful_active_health_check_uneject_host(envoy_config_cluster_v3_OutlierDetection *msg, struct google_protobuf_BoolValue* value) { + const upb_MiniTableField field = {23, UPB_SIZE(92, 176), 22, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_BoolValue* envoy_config_cluster_v3_OutlierDetection_mutable_successful_active_health_check_uneject_host(envoy_config_cluster_v3_OutlierDetection* msg, upb_Arena* arena) { + struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_cluster_v3_OutlierDetection_successful_active_health_check_uneject_host(msg); + if (sub == NULL) { + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); + if (sub) envoy_config_cluster_v3_OutlierDetection_set_successful_active_health_check_uneject_host(msg, sub); + } + return sub; +} #ifdef __cplusplus } /* extern "C" */ diff --git a/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c new file mode 100644 index 00000000000..6782821e412 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c @@ -0,0 +1,125 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/cluster/v3/outlier_detection.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/cluster/v3/outlier_detection.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_cluster_v3_OutlierDetection_submsgs[22] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_cluster_v3_OutlierDetection__fields[23] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 56), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 64), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(36, 72), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(40, 80), 10, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(44, 88), 11, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(48, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(52, 96), 12, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(56, 104), 13, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(60, 112), 14, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(64, 120), 15, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(68, 128), 16, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(72, 136), 17, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(76, 144), 18, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(80, 152), 19, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(84, 160), 20, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(88, 168), 21, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(92, 176), 22, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__cluster__v3__OutlierDetection_msg_init = { + &envoy_config_cluster_v3_OutlierDetection_submsgs[0], + &envoy_config_cluster_v3_OutlierDetection__fields[0], + UPB_SIZE(96, 184), 23, kUpb_ExtMode_NonExtendable, 23, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x0020000004030022, &upb_psm_1bt_maxmaxb}, + {0x002800000504002a, &upb_psm_1bt_maxmaxb}, + {0x0030000006050032, &upb_psm_1bt_maxmaxb}, + {0x003800000706003a, &upb_psm_1bt_maxmaxb}, + {0x0040000008070042, &upb_psm_1bt_maxmaxb}, + {0x004800000908004a, &upb_psm_1bt_maxmaxb}, + {0x005000000a090052, &upb_psm_1bt_maxmaxb}, + {0x005800000b0a005a, &upb_psm_1bt_maxmaxb}, + {0x000300003f000060, &upb_psb1_1bt}, + {0x006000000c0b006a, &upb_psm_1bt_maxmaxb}, + {0x006800000d0c0072, &upb_psm_1bt_maxmaxb}, + {0x007000000e0d007a, &upb_psm_1bt_maxmaxb}, + {0x007800000f0e0182, &upb_psm_2bt_maxmaxb}, + {0x00800000100f018a, &upb_psm_2bt_maxmaxb}, + {0x0088000011100192, &upb_psm_2bt_maxmaxb}, + {0x009000001211019a, &upb_psm_2bt_maxmaxb}, + {0x00980000131201a2, &upb_psm_2bt_maxmaxb}, + {0x00a00000141301aa, &upb_psm_2bt_maxmaxb}, + {0x00a80000151401b2, &upb_psm_2bt_maxmaxb}, + {0x00b00000161501ba, &upb_psm_2bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__cluster__v3__OutlierDetection_msg_init, +}; + +const upb_MiniTableFile envoy_config_cluster_v3_outlier_detection_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h new file mode 100644 index 00000000000..5586fc781d7 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/cluster/v3/outlier_detection.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CLUSTER_V3_OUTLIER_DETECTION_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CLUSTER_V3_OUTLIER_DETECTION_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__cluster__v3__OutlierDetection_msg_init; + +extern const upb_MiniTableFile envoy_config_cluster_v3_outlier_detection_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CLUSTER_V3_OUTLIER_DETECTION_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h b/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h new file mode 100644 index 00000000000..5ba344bf778 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h @@ -0,0 +1,1829 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/common/matcher/v3/matcher.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPB_H_ +#define ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/config/common/matcher/v3/matcher.upb_minitable.h" + +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/route/v3/route_components.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_config_common_matcher_v3_Matcher envoy_config_common_matcher_v3_Matcher; +typedef struct envoy_config_common_matcher_v3_Matcher_OnMatch envoy_config_common_matcher_v3_Matcher_OnMatch; +typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList envoy_config_common_matcher_v3_Matcher_MatcherList; +typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate; +typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate; +typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList; +typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher; +typedef struct envoy_config_common_matcher_v3_Matcher_MatcherTree envoy_config_common_matcher_v3_Matcher_MatcherTree; +typedef struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap; +typedef struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry; +typedef struct envoy_config_common_matcher_v3_MatchPredicate envoy_config_common_matcher_v3_MatchPredicate; +typedef struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet envoy_config_common_matcher_v3_MatchPredicate_MatchSet; +typedef struct envoy_config_common_matcher_v3_HttpHeadersMatch envoy_config_common_matcher_v3_HttpHeadersMatch; +typedef struct envoy_config_common_matcher_v3_HttpGenericBodyMatch envoy_config_common_matcher_v3_HttpGenericBodyMatch; +typedef struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch; +struct envoy_config_core_v3_TypedExtensionConfig; +struct envoy_config_route_v3_HeaderMatcher; +struct envoy_type_matcher_v3_StringMatcher; + + + +/* envoy.config.common.matcher.v3.Matcher */ + +UPB_INLINE envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_Matcher*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher* ret = envoy_config_common_matcher_v3_Matcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher* ret = envoy_config_common_matcher_v3_Matcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_serialize(const envoy_config_common_matcher_v3_Matcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_serialize_ex(const envoy_config_common_matcher_v3_Matcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_common_matcher_v3_Matcher_matcher_type_matcher_list = 1, + envoy_config_common_matcher_v3_Matcher_matcher_type_matcher_tree = 2, + envoy_config_common_matcher_v3_Matcher_matcher_type_NOT_SET = 0 +} envoy_config_common_matcher_v3_Matcher_matcher_type_oneofcases; +UPB_INLINE envoy_config_common_matcher_v3_Matcher_matcher_type_oneofcases envoy_config_common_matcher_v3_Matcher_matcher_type_case(const envoy_config_common_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_common_matcher_v3_Matcher_matcher_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_clear_matcher_list(envoy_config_common_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_matcher_list(const envoy_config_common_matcher_v3_Matcher* msg) { + const envoy_config_common_matcher_v3_Matcher_MatcherList* default_val = NULL; + const envoy_config_common_matcher_v3_Matcher_MatcherList* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_has_matcher_list(const envoy_config_common_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_clear_matcher_tree(envoy_config_common_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_matcher_tree(const envoy_config_common_matcher_v3_Matcher* msg) { + const envoy_config_common_matcher_v3_Matcher_MatcherTree* default_val = NULL; + const envoy_config_common_matcher_v3_Matcher_MatcherTree* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_has_matcher_tree(const envoy_config_common_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_clear_on_no_match(envoy_config_common_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_on_no_match(const envoy_config_common_matcher_v3_Matcher* msg) { + const envoy_config_common_matcher_v3_Matcher_OnMatch* default_val = NULL; + const envoy_config_common_matcher_v3_Matcher_OnMatch* ret; + const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_has_on_no_match(const envoy_config_common_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_set_matcher_list(envoy_config_common_matcher_v3_Matcher *msg, envoy_config_common_matcher_v3_Matcher_MatcherList* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_mutable_matcher_list(envoy_config_common_matcher_v3_Matcher* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_Matcher_MatcherList* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList*)envoy_config_common_matcher_v3_Matcher_matcher_list(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_set_matcher_list(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_set_matcher_tree(envoy_config_common_matcher_v3_Matcher *msg, envoy_config_common_matcher_v3_Matcher_MatcherTree* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_mutable_matcher_tree(envoy_config_common_matcher_v3_Matcher* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_Matcher_MatcherTree* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree*)envoy_config_common_matcher_v3_Matcher_matcher_tree(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_set_matcher_tree(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_set_on_no_match(envoy_config_common_matcher_v3_Matcher *msg, envoy_config_common_matcher_v3_Matcher_OnMatch* value) { + const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_mutable_on_no_match(envoy_config_common_matcher_v3_Matcher* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_Matcher_OnMatch* sub = (struct envoy_config_common_matcher_v3_Matcher_OnMatch*)envoy_config_common_matcher_v3_Matcher_on_no_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_set_on_no_match(msg, sub); + } + return sub; +} + +/* envoy.config.common.matcher.v3.Matcher.OnMatch */ + +UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_OnMatch_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_OnMatch_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_OnMatch* ret = envoy_config_common_matcher_v3_Matcher_OnMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_OnMatch_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_OnMatch* ret = envoy_config_common_matcher_v3_Matcher_OnMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_OnMatch_serialize(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_OnMatch_serialize_ex(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_matcher = 1, + envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_action = 2, + envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_NOT_SET = 0 +} envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_oneofcases; +UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_oneofcases envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_case(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_clear_matcher(envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_OnMatch_matcher(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { + const envoy_config_common_matcher_v3_Matcher* default_val = NULL; + const envoy_config_common_matcher_v3_Matcher* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_OnMatch_has_matcher(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_clear_action(envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_OnMatch_action(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_OnMatch_has_action(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_set_matcher(envoy_config_common_matcher_v3_Matcher_OnMatch *msg, envoy_config_common_matcher_v3_Matcher* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_OnMatch_mutable_matcher(envoy_config_common_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_Matcher* sub = (struct envoy_config_common_matcher_v3_Matcher*)envoy_config_common_matcher_v3_Matcher_OnMatch_matcher(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_Matcher*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_OnMatch_set_matcher(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_set_action(envoy_config_common_matcher_v3_Matcher_OnMatch *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_OnMatch_mutable_action(envoy_config_common_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_OnMatch_action(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_OnMatch_set_action(msg, sub); + } + return sub; +} + +/* envoy.config.common.matcher.v3.Matcher.MatcherList */ + +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_MatcherList_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_Matcher_MatcherList*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_MatcherList_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherList* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_MatcherList_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherList* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_clear_matchers(envoy_config_common_matcher_v3_Matcher_MatcherList* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* const* envoy_config_common_matcher_v3_Matcher_MatcherList_matchers(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_matchers_upb_array(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_matchers_mutable_upb_array(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_has_matchers(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg) { + size_t size; + envoy_config_common_matcher_v3_Matcher_MatcherList_matchers(msg, &size); + return size != 0; +} + +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher** envoy_config_common_matcher_v3_Matcher_MatcherList_mutable_matchers(envoy_config_common_matcher_v3_Matcher_MatcherList* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher** envoy_config_common_matcher_v3_Matcher_MatcherList_resize_matchers(envoy_config_common_matcher_v3_Matcher_MatcherList* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_add_matchers(envoy_config_common_matcher_v3_Matcher_MatcherList* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate */ + +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_single_predicate = 1, + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_or_matcher = 2, + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_and_matcher = 3, + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_not_matcher = 4, + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_NOT_SET = 0 +} envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases; +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_case(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_clear_single_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_single_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* default_val = NULL; + const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_has_single_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_clear_or_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_or_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* default_val = NULL; + const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_has_or_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_clear_and_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_and_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* default_val = NULL; + const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_has_and_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_clear_not_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_not_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* default_val = NULL; + const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* ret; + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_has_not_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_single_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate *msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_single_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_single_predicate(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_single_predicate(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_or_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate *msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_or_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_or_matcher(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_or_matcher(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_and_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate *msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_and_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_and_matcher(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_and_matcher(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_not_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate *msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* value) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_not_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_not_matcher(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_not_matcher(msg, sub); + } + return sub; +} + +/* envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate */ + +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_value_match = 2, + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_custom_match = 3, + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_NOT_SET = 0 +} envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases; +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_case(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_input(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_input(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_input(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_value_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_value_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const struct envoy_type_matcher_v3_StringMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_StringMatcher* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_value_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_custom_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_custom_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_input(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_input(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_input(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_input(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_value_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate *msg, struct envoy_type_matcher_v3_StringMatcher* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_value_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_value_match(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_value_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_custom_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_custom_match(msg, sub); + } + return sub; +} + +/* envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate.PredicateList */ + +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_clear_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* const* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate_upb_array(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate_mutable_upb_array(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_has_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg) { + size_t size; + envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate(msg, &size); + return size != 0; +} + +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate** envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_mutable_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate** envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_resize_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_add_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher */ + +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_clear_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { + const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* default_val = NULL; + const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_has_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_clear_on_match(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_on_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { + const envoy_config_common_matcher_v3_Matcher_OnMatch* default_val = NULL; + const envoy_config_common_matcher_v3_Matcher_OnMatch* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_has_on_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_set_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher *msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_mutable_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_predicate(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_set_predicate(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_set_on_match(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher *msg, envoy_config_common_matcher_v3_Matcher_OnMatch* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_mutable_on_match(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_Matcher_OnMatch* sub = (struct envoy_config_common_matcher_v3_Matcher_OnMatch*)envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_on_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_set_on_match(msg, sub); + } + return sub; +} + +/* envoy.config.common.matcher.v3.Matcher.MatcherTree */ + +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_MatcherTree_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_Matcher_MatcherTree*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_MatcherTree_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherTree* ret = envoy_config_common_matcher_v3_Matcher_MatcherTree_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_MatcherTree_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherTree* ret = envoy_config_common_matcher_v3_Matcher_MatcherTree_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_exact_match_map = 2, + envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_prefix_match_map = 3, + envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_custom_match = 4, + envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_NOT_SET = 0 +} envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases; +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_case(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_clear_input(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_input(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_has_input(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_clear_exact_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_exact_match_map(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { + const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* default_val = NULL; + const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_has_exact_match_map(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_clear_prefix_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_prefix_match_map(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { + const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* default_val = NULL; + const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_has_prefix_match_map(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_clear_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_custom_match(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_has_custom_match(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_input(envoy_config_common_matcher_v3_Matcher_MatcherTree *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_input(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_MatcherTree_input(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_MatcherTree_set_input(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_exact_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree *msg, envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_exact_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)envoy_config_common_matcher_v3_Matcher_MatcherTree_exact_match_map(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_MatcherTree_set_exact_match_map(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_prefix_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree *msg, envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_prefix_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)envoy_config_common_matcher_v3_Matcher_MatcherTree_prefix_match_map(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_MatcherTree_set_prefix_match_map(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherTree *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_MatcherTree_custom_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_Matcher_MatcherTree_set_custom_match(msg, sub); + } + return sub; +} + +/* envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap */ + +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* ret = envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* ret = envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_clear_map(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE size_t envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_size(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + return map ? _upb_Map_Size(map) : 0; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_get(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key, envoy_config_common_matcher_v3_Matcher_OnMatch** val) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Get(map, &key, 0, val, sizeof(*val)); +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_next(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, size_t* iter) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry*)_upb_map_next(map, iter); +} + +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_clear(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return; + _upb_Map_Clear(map); +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_set(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key, envoy_config_common_matcher_v3_Matcher_OnMatch* val, upb_Arena* a) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, sizeof(val), a); + return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) != + kUpb_MapInsertStatus_OutOfMemory; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_delete(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Delete(map, &key, 0, NULL); +} +UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_nextmutable(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, size_t* iter) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry*)_upb_map_next(map, iter); +} + +/* envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap.MapEntry */ + +UPB_INLINE upb_StringView envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_key(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* msg) { + upb_StringView ret; + _upb_msg_map_key(msg, &ret, 0); + return ret; +} +UPB_INLINE const envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_value(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* msg) { + envoy_config_common_matcher_v3_Matcher_OnMatch* ret; + _upb_msg_map_value(msg, &ret, sizeof(ret)); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_has_value(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_set_value(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry *msg, envoy_config_common_matcher_v3_Matcher_OnMatch* value) { + _upb_msg_map_set_value(msg, &value, sizeof(envoy_config_common_matcher_v3_Matcher_OnMatch*)); +} + +/* envoy.config.common.matcher.v3.MatchPredicate */ + +UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_MatchPredicate*)_upb_Message_New(&envoy__config__common__matcher__v3__MatchPredicate_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_MatchPredicate* ret = envoy_config_common_matcher_v3_MatchPredicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__MatchPredicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_MatchPredicate* ret = envoy_config_common_matcher_v3_MatchPredicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__MatchPredicate_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_serialize(const envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__MatchPredicate_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_serialize_ex(const envoy_config_common_matcher_v3_MatchPredicate* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__MatchPredicate_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_common_matcher_v3_MatchPredicate_rule_or_match = 1, + envoy_config_common_matcher_v3_MatchPredicate_rule_and_match = 2, + envoy_config_common_matcher_v3_MatchPredicate_rule_not_match = 3, + envoy_config_common_matcher_v3_MatchPredicate_rule_any_match = 4, + envoy_config_common_matcher_v3_MatchPredicate_rule_http_request_headers_match = 5, + envoy_config_common_matcher_v3_MatchPredicate_rule_http_request_trailers_match = 6, + envoy_config_common_matcher_v3_MatchPredicate_rule_http_response_headers_match = 7, + envoy_config_common_matcher_v3_MatchPredicate_rule_http_response_trailers_match = 8, + envoy_config_common_matcher_v3_MatchPredicate_rule_http_request_generic_body_match = 9, + envoy_config_common_matcher_v3_MatchPredicate_rule_http_response_generic_body_match = 10, + envoy_config_common_matcher_v3_MatchPredicate_rule_NOT_SET = 0 +} envoy_config_common_matcher_v3_MatchPredicate_rule_oneofcases; +UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_rule_oneofcases envoy_config_common_matcher_v3_MatchPredicate_rule_case(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_common_matcher_v3_MatchPredicate_rule_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_or_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_or_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* default_val = NULL; + const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_or_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_and_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_and_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* default_val = NULL; + const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_and_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_not_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_not_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const envoy_config_common_matcher_v3_MatchPredicate* default_val = NULL; + const envoy_config_common_matcher_v3_MatchPredicate* ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_not_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_any_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_any_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_any_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_request_headers_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_http_request_headers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const envoy_config_common_matcher_v3_HttpHeadersMatch* default_val = NULL; + const envoy_config_common_matcher_v3_HttpHeadersMatch* ret; + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_request_headers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_request_trailers_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_http_request_trailers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const envoy_config_common_matcher_v3_HttpHeadersMatch* default_val = NULL; + const envoy_config_common_matcher_v3_HttpHeadersMatch* ret; + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_request_trailers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_response_headers_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_http_response_headers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const envoy_config_common_matcher_v3_HttpHeadersMatch* default_val = NULL; + const envoy_config_common_matcher_v3_HttpHeadersMatch* ret; + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_response_headers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_response_trailers_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_http_response_trailers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const envoy_config_common_matcher_v3_HttpHeadersMatch* default_val = NULL; + const envoy_config_common_matcher_v3_HttpHeadersMatch* ret; + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_response_trailers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_request_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_http_request_generic_body_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const envoy_config_common_matcher_v3_HttpGenericBodyMatch* default_val = NULL; + const envoy_config_common_matcher_v3_HttpGenericBodyMatch* ret; + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_request_generic_body_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_response_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_http_response_generic_body_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const envoy_config_common_matcher_v3_HttpGenericBodyMatch* default_val = NULL; + const envoy_config_common_matcher_v3_HttpGenericBodyMatch* ret; + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_response_generic_body_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_or_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_MatchPredicate_MatchSet* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_mutable_or_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* sub = (struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)envoy_config_common_matcher_v3_MatchPredicate_or_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_or_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_and_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_MatchPredicate_MatchSet* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_mutable_and_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* sub = (struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)envoy_config_common_matcher_v3_MatchPredicate_and_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_and_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_not_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_MatchPredicate* value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_mutable_not_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_MatchPredicate* sub = (struct envoy_config_common_matcher_v3_MatchPredicate*)envoy_config_common_matcher_v3_MatchPredicate_not_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_MatchPredicate*)_upb_Message_New(&envoy__config__common__matcher__v3__MatchPredicate_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_not_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_any_match(envoy_config_common_matcher_v3_MatchPredicate *msg, bool value) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_request_headers_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_HttpHeadersMatch* value) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_request_headers_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_HttpHeadersMatch* sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_request_headers_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_http_request_headers_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_request_trailers_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_HttpHeadersMatch* value) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_request_trailers_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_HttpHeadersMatch* sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_request_trailers_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_http_request_trailers_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_response_headers_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_HttpHeadersMatch* value) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_response_headers_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_HttpHeadersMatch* sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_response_headers_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_http_response_headers_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_response_trailers_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_HttpHeadersMatch* value) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_response_trailers_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_HttpHeadersMatch* sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_response_trailers_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_http_response_trailers_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_request_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_HttpGenericBodyMatch* value) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_request_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_request_generic_body_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_http_request_generic_body_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_response_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_HttpGenericBodyMatch* value) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_response_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_response_generic_body_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, arena); + if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_http_response_generic_body_match(msg, sub); + } + return sub; +} + +/* envoy.config.common.matcher.v3.MatchPredicate.MatchSet */ + +UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_MatchPredicate_MatchSet* ret = envoy_config_common_matcher_v3_MatchPredicate_MatchSet_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_MatchPredicate_MatchSet* ret = envoy_config_common_matcher_v3_MatchPredicate_MatchSet_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_serialize(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_serialize_ex(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_MatchSet_clear_rules(envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate* const* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_rules(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_common_matcher_v3_MatchPredicate* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_MatchPredicate_MatchSet_rules_upb_array(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_MatchPredicate_MatchSet_rules_mutable_upb_array(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_MatchSet_has_rules(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg) { + size_t size; + envoy_config_common_matcher_v3_MatchPredicate_MatchSet_rules(msg, &size); + return size != 0; +} + +UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate** envoy_config_common_matcher_v3_MatchPredicate_MatchSet_mutable_rules(envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_common_matcher_v3_MatchPredicate**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate** envoy_config_common_matcher_v3_MatchPredicate_MatchSet_resize_rules(envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_common_matcher_v3_MatchPredicate**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_add_rules(envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_common_matcher_v3_MatchPredicate* sub = (struct envoy_config_common_matcher_v3_MatchPredicate*)_upb_Message_New(&envoy__config__common__matcher__v3__MatchPredicate_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.common.matcher.v3.HttpHeadersMatch */ + +UPB_INLINE envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_HttpHeadersMatch_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_HttpHeadersMatch_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_HttpHeadersMatch* ret = envoy_config_common_matcher_v3_HttpHeadersMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_HttpHeadersMatch_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_HttpHeadersMatch* ret = envoy_config_common_matcher_v3_HttpHeadersMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_HttpHeadersMatch_serialize(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_HttpHeadersMatch_serialize_ex(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_common_matcher_v3_HttpHeadersMatch_clear_headers(envoy_config_common_matcher_v3_HttpHeadersMatch* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* const* envoy_config_common_matcher_v3_HttpHeadersMatch_headers(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct envoy_config_route_v3_HeaderMatcher* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_HttpHeadersMatch_headers_upb_array(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_HttpHeadersMatch_headers_mutable_upb_array(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_common_matcher_v3_HttpHeadersMatch_has_headers(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg) { + size_t size; + envoy_config_common_matcher_v3_HttpHeadersMatch_headers(msg, &size); + return size != 0; +} + +UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_common_matcher_v3_HttpHeadersMatch_mutable_headers(envoy_config_common_matcher_v3_HttpHeadersMatch* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct envoy_config_route_v3_HeaderMatcher**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_common_matcher_v3_HttpHeadersMatch_resize_headers(envoy_config_common_matcher_v3_HttpHeadersMatch* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct envoy_config_route_v3_HeaderMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_common_matcher_v3_HttpHeadersMatch_add_headers(envoy_config_common_matcher_v3_HttpHeadersMatch* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.common.matcher.v3.HttpGenericBodyMatch */ + +UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_HttpGenericBodyMatch* ret = envoy_config_common_matcher_v3_HttpGenericBodyMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_HttpGenericBodyMatch* ret = envoy_config_common_matcher_v3_HttpGenericBodyMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_serialize(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_serialize_ex(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_clear_bytes_limit(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint32_t envoy_config_common_matcher_v3_HttpGenericBodyMatch_bytes_limit(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_clear_patterns(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* const* envoy_config_common_matcher_v3_HttpGenericBodyMatch_patterns(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_HttpGenericBodyMatch_patterns_upb_array(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_HttpGenericBodyMatch_patterns_mutable_upb_array(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_common_matcher_v3_HttpGenericBodyMatch_has_patterns(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg) { + size_t size; + envoy_config_common_matcher_v3_HttpGenericBodyMatch_patterns(msg, &size); + return size != 0; +} + +UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_set_bytes_limit(envoy_config_common_matcher_v3_HttpGenericBodyMatch *msg, uint32_t value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch** envoy_config_common_matcher_v3_HttpGenericBodyMatch_mutable_patterns(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch** envoy_config_common_matcher_v3_HttpGenericBodyMatch_resize_patterns(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_add_patterns(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.common.matcher.v3.HttpGenericBodyMatch.GenericTextMatch */ + +UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_new(upb_Arena* arena) { + return (envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch*)_upb_Message_New(&envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, arena); +} +UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* ret = envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* ret = envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_serialize(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_serialize_ex(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_string_match = 1, + envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_binary_match = 2, + envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_NOT_SET = 0 +} envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases; +UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_case(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return (envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_clear_string_match(envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_string_match(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_has_string_match(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_clear_binary_match(envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_binary_match(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_has_binary_match(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_set_string_match(envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_set_binary_match(envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c new file mode 100644 index 00000000000..c55e76d0fa0 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c @@ -0,0 +1,394 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/common/matcher/v3/matcher.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/common/matcher/v3/matcher.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/route/v3/route_components.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_submsgs[3] = { + {.submsg = &envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher__fields[3] = { + {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__Matcher_msg_init = { + &envoy_config_common_matcher_v3_Matcher_submsgs[0], + &envoy_config_common_matcher_v3_Matcher__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000040100000a, &upb_pom_1bt_max64b}, + {0x0010000402010012, &upb_pom_1bt_max64b}, + {0x000800000102001a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_OnMatch_submsgs[2] = { + {.submsg = &envoy__config__common__matcher__v3__Matcher_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_OnMatch__fields[2] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init = { + &envoy_config_common_matcher_v3_Matcher_OnMatch_submsgs[0], + &envoy_config_common_matcher_v3_Matcher_OnMatch__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherList_submsgs[1] = { + {.submsg = &envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherList__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init = { + &envoy_config_common_matcher_v3_Matcher_MatcherList_submsgs[0], + &envoy_config_common_matcher_v3_Matcher_MatcherList__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_submsgs[4] = { + {.submsg = &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate__fields[4] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init = { + &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_submsgs[0], + &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate__fields[0], + UPB_SIZE(8, 16), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + {0x0008000004030022, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_submsgs[3] = { + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init = { + &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_submsgs[0], + &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000402010012, &upb_pom_1bt_maxmaxb}, + {0x001000040302001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_submsgs[1] = { + {.submsg = &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init = { + &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_submsgs[0], + &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_submsgs[2] = { + {.submsg = &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init = { + &envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_submsgs[0], + &envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x0010000002010012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherTree_submsgs[4] = { + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherTree__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init = { + &envoy_config_common_matcher_v3_Matcher_MatcherTree_submsgs[0], + &envoy_config_common_matcher_v3_Matcher_MatcherTree__fields[0], + UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000402010012, &upb_pom_1bt_max64b}, + {0x001000040302001a, &upb_pom_1bt_max64b}, + {0x0010000404030022, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_submsgs[1] = { + {.submsg = &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init = { + &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_submsgs[0], + &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_submsgs[1] = { + {.submsg = &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init = { + &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_submsgs[0], + &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_common_matcher_v3_MatchPredicate_submsgs[9] = { + {.submsg = &envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__MatchPredicate_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_MatchPredicate__fields[10] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__MatchPredicate_msg_init = { + &envoy_config_common_matcher_v3_MatchPredicate_submsgs[0], + &envoy_config_common_matcher_v3_MatchPredicate__fields[0], + UPB_SIZE(8, 16), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + {0x0008000004000020, &upb_pob1_1bt}, + {0x000800000503002a, &upb_pom_1bt_max64b}, + {0x0008000006040032, &upb_pom_1bt_max64b}, + {0x000800000705003a, &upb_pom_1bt_max64b}, + {0x0008000008060042, &upb_pom_1bt_max64b}, + {0x000800000907004a, &upb_pom_1bt_max64b}, + {0x000800000a080052, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_common_matcher_v3_MatchPredicate_MatchSet_submsgs[1] = { + {.submsg = &envoy__config__common__matcher__v3__MatchPredicate_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_MatchPredicate_MatchSet__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init = { + &envoy_config_common_matcher_v3_MatchPredicate_MatchSet_submsgs[0], + &envoy_config_common_matcher_v3_MatchPredicate_MatchSet__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_common_matcher_v3_HttpHeadersMatch_submsgs[1] = { + {.submsg = &envoy__config__route__v3__HeaderMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_HttpHeadersMatch__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init = { + &envoy_config_common_matcher_v3_HttpHeadersMatch_submsgs[0], + &envoy_config_common_matcher_v3_HttpHeadersMatch__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_common_matcher_v3_HttpGenericBodyMatch_submsgs[1] = { + {.submsg = &envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init}, +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_HttpGenericBodyMatch__fields[2] = { + {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init = { + &envoy_config_common_matcher_v3_HttpGenericBodyMatch_submsgs[0], + &envoy_config_common_matcher_v3_HttpGenericBodyMatch__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000800003f000012, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch__fields[2] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init = { + NULL, + &envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + {0x0008000002000012, &upb_pob_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[15] = { + &envoy__config__common__matcher__v3__Matcher_msg_init, + &envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init, + &envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init, + &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init, + &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, + &envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, + &envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, + &envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init, + &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, + &envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init, + &envoy__config__common__matcher__v3__MatchPredicate_msg_init, + &envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init, + &envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init, + &envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init, + &envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, +}; + +const upb_MiniTableFile envoy_config_common_matcher_v3_matcher_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 15, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h new file mode 100644 index 00000000000..820a3e84f95 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h @@ -0,0 +1,44 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/common/matcher/v3/matcher.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__common__matcher__v3__Matcher_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__Matcher__OnMatch_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherList_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherTree_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__MatchPredicate_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__MatchPredicate__MatchSet_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__HttpHeadersMatch_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__HttpGenericBodyMatch_msg_init; +extern const upb_MiniTable envoy__config__common__matcher__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init; + +extern const upb_MiniTableFile envoy_config_common_matcher_v3_matcher_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h similarity index 89% rename from src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h index 0a660c47ef6..6f5d6505228 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/address.proto * @@ -10,7 +9,18 @@ #define ENVOY_CONFIG_CORE_V3_ADDRESS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/address.upb_minitable.h" + +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/socket_option.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -25,22 +35,11 @@ typedef struct envoy_config_core_v3_ExtraSourceAddress envoy_config_core_v3_Extr typedef struct envoy_config_core_v3_BindConfig envoy_config_core_v3_BindConfig; typedef struct envoy_config_core_v3_Address envoy_config_core_v3_Address; typedef struct envoy_config_core_v3_CidrRange envoy_config_core_v3_CidrRange; -extern const upb_MiniTable envoy_config_core_v3_Pipe_msg_init; -extern const upb_MiniTable envoy_config_core_v3_EnvoyInternalAddress_msg_init; -extern const upb_MiniTable envoy_config_core_v3_SocketAddress_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TcpKeepalive_msg_init; -extern const upb_MiniTable envoy_config_core_v3_ExtraSourceAddress_msg_init; -extern const upb_MiniTable envoy_config_core_v3_BindConfig_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Address_msg_init; -extern const upb_MiniTable envoy_config_core_v3_CidrRange_msg_init; struct envoy_config_core_v3_SocketOption; struct envoy_config_core_v3_SocketOptionsOverride; +struct envoy_config_core_v3_TypedExtensionConfig; struct google_protobuf_BoolValue; struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_core_v3_SocketOption_msg_init; -extern const upb_MiniTable envoy_config_core_v3_SocketOptionsOverride_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; typedef enum { envoy_config_core_v3_SocketAddress_TCP = 0, @@ -52,12 +51,12 @@ typedef enum { /* envoy.config.core.v3.Pipe */ UPB_INLINE envoy_config_core_v3_Pipe* envoy_config_core_v3_Pipe_new(upb_Arena* arena) { - return (envoy_config_core_v3_Pipe*)_upb_Message_New(&envoy_config_core_v3_Pipe_msg_init, arena); + return (envoy_config_core_v3_Pipe*)_upb_Message_New(&envoy__config__core__v3__Pipe_msg_init, arena); } UPB_INLINE envoy_config_core_v3_Pipe* envoy_config_core_v3_Pipe_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_Pipe* ret = envoy_config_core_v3_Pipe_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Pipe_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Pipe_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -67,7 +66,7 @@ UPB_INLINE envoy_config_core_v3_Pipe* envoy_config_core_v3_Pipe_parse_ex(const c int options, upb_Arena* arena) { envoy_config_core_v3_Pipe* ret = envoy_config_core_v3_Pipe_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Pipe_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Pipe_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -75,13 +74,13 @@ UPB_INLINE envoy_config_core_v3_Pipe* envoy_config_core_v3_Pipe_parse_ex(const c } UPB_INLINE char* envoy_config_core_v3_Pipe_serialize(const envoy_config_core_v3_Pipe* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Pipe_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Pipe_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_Pipe_serialize_ex(const envoy_config_core_v3_Pipe* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Pipe_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Pipe_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_Pipe_clear_path(envoy_config_core_v3_Pipe* msg) { @@ -119,12 +118,12 @@ UPB_INLINE void envoy_config_core_v3_Pipe_set_mode(envoy_config_core_v3_Pipe *ms /* envoy.config.core.v3.EnvoyInternalAddress */ UPB_INLINE envoy_config_core_v3_EnvoyInternalAddress* envoy_config_core_v3_EnvoyInternalAddress_new(upb_Arena* arena) { - return (envoy_config_core_v3_EnvoyInternalAddress*)_upb_Message_New(&envoy_config_core_v3_EnvoyInternalAddress_msg_init, arena); + return (envoy_config_core_v3_EnvoyInternalAddress*)_upb_Message_New(&envoy__config__core__v3__EnvoyInternalAddress_msg_init, arena); } UPB_INLINE envoy_config_core_v3_EnvoyInternalAddress* envoy_config_core_v3_EnvoyInternalAddress_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_EnvoyInternalAddress* ret = envoy_config_core_v3_EnvoyInternalAddress_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_EnvoyInternalAddress_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__EnvoyInternalAddress_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -134,7 +133,7 @@ UPB_INLINE envoy_config_core_v3_EnvoyInternalAddress* envoy_config_core_v3_Envoy int options, upb_Arena* arena) { envoy_config_core_v3_EnvoyInternalAddress* ret = envoy_config_core_v3_EnvoyInternalAddress_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_EnvoyInternalAddress_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__EnvoyInternalAddress_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -142,13 +141,13 @@ UPB_INLINE envoy_config_core_v3_EnvoyInternalAddress* envoy_config_core_v3_Envoy } UPB_INLINE char* envoy_config_core_v3_EnvoyInternalAddress_serialize(const envoy_config_core_v3_EnvoyInternalAddress* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_EnvoyInternalAddress_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__EnvoyInternalAddress_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_EnvoyInternalAddress_serialize_ex(const envoy_config_core_v3_EnvoyInternalAddress* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_EnvoyInternalAddress_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__EnvoyInternalAddress_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -198,12 +197,12 @@ UPB_INLINE void envoy_config_core_v3_EnvoyInternalAddress_set_endpoint_id(envoy_ /* envoy.config.core.v3.SocketAddress */ UPB_INLINE envoy_config_core_v3_SocketAddress* envoy_config_core_v3_SocketAddress_new(upb_Arena* arena) { - return (envoy_config_core_v3_SocketAddress*)_upb_Message_New(&envoy_config_core_v3_SocketAddress_msg_init, arena); + return (envoy_config_core_v3_SocketAddress*)_upb_Message_New(&envoy__config__core__v3__SocketAddress_msg_init, arena); } UPB_INLINE envoy_config_core_v3_SocketAddress* envoy_config_core_v3_SocketAddress_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_SocketAddress* ret = envoy_config_core_v3_SocketAddress_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SocketAddress_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__SocketAddress_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -213,7 +212,7 @@ UPB_INLINE envoy_config_core_v3_SocketAddress* envoy_config_core_v3_SocketAddres int options, upb_Arena* arena) { envoy_config_core_v3_SocketAddress* ret = envoy_config_core_v3_SocketAddress_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SocketAddress_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__SocketAddress_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -221,13 +220,13 @@ UPB_INLINE envoy_config_core_v3_SocketAddress* envoy_config_core_v3_SocketAddres } UPB_INLINE char* envoy_config_core_v3_SocketAddress_serialize(const envoy_config_core_v3_SocketAddress* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_SocketAddress_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__SocketAddress_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_SocketAddress_serialize_ex(const envoy_config_core_v3_SocketAddress* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_SocketAddress_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__SocketAddress_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -342,12 +341,12 @@ UPB_INLINE void envoy_config_core_v3_SocketAddress_set_ipv4_compat(envoy_config_ /* envoy.config.core.v3.TcpKeepalive */ UPB_INLINE envoy_config_core_v3_TcpKeepalive* envoy_config_core_v3_TcpKeepalive_new(upb_Arena* arena) { - return (envoy_config_core_v3_TcpKeepalive*)_upb_Message_New(&envoy_config_core_v3_TcpKeepalive_msg_init, arena); + return (envoy_config_core_v3_TcpKeepalive*)_upb_Message_New(&envoy__config__core__v3__TcpKeepalive_msg_init, arena); } UPB_INLINE envoy_config_core_v3_TcpKeepalive* envoy_config_core_v3_TcpKeepalive_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_TcpKeepalive* ret = envoy_config_core_v3_TcpKeepalive_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_TcpKeepalive_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__TcpKeepalive_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -357,7 +356,7 @@ UPB_INLINE envoy_config_core_v3_TcpKeepalive* envoy_config_core_v3_TcpKeepalive_ int options, upb_Arena* arena) { envoy_config_core_v3_TcpKeepalive* ret = envoy_config_core_v3_TcpKeepalive_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_TcpKeepalive_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__TcpKeepalive_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -365,13 +364,13 @@ UPB_INLINE envoy_config_core_v3_TcpKeepalive* envoy_config_core_v3_TcpKeepalive_ } UPB_INLINE char* envoy_config_core_v3_TcpKeepalive_serialize(const envoy_config_core_v3_TcpKeepalive* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_TcpKeepalive_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__TcpKeepalive_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_TcpKeepalive_serialize_ex(const envoy_config_core_v3_TcpKeepalive* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_TcpKeepalive_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__TcpKeepalive_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_TcpKeepalive_clear_keepalive_probes(envoy_config_core_v3_TcpKeepalive* msg) { @@ -427,7 +426,7 @@ UPB_INLINE void envoy_config_core_v3_TcpKeepalive_set_keepalive_probes(envoy_con UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_TcpKeepalive_mutable_keepalive_probes(envoy_config_core_v3_TcpKeepalive* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_TcpKeepalive_keepalive_probes(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_TcpKeepalive_set_keepalive_probes(msg, sub); } return sub; @@ -439,7 +438,7 @@ UPB_INLINE void envoy_config_core_v3_TcpKeepalive_set_keepalive_time(envoy_confi UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_TcpKeepalive_mutable_keepalive_time(envoy_config_core_v3_TcpKeepalive* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_TcpKeepalive_keepalive_time(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_TcpKeepalive_set_keepalive_time(msg, sub); } return sub; @@ -451,7 +450,7 @@ UPB_INLINE void envoy_config_core_v3_TcpKeepalive_set_keepalive_interval(envoy_c UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_TcpKeepalive_mutable_keepalive_interval(envoy_config_core_v3_TcpKeepalive* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_TcpKeepalive_keepalive_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_TcpKeepalive_set_keepalive_interval(msg, sub); } return sub; @@ -460,12 +459,12 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_TcpKeepalive /* envoy.config.core.v3.ExtraSourceAddress */ UPB_INLINE envoy_config_core_v3_ExtraSourceAddress* envoy_config_core_v3_ExtraSourceAddress_new(upb_Arena* arena) { - return (envoy_config_core_v3_ExtraSourceAddress*)_upb_Message_New(&envoy_config_core_v3_ExtraSourceAddress_msg_init, arena); + return (envoy_config_core_v3_ExtraSourceAddress*)_upb_Message_New(&envoy__config__core__v3__ExtraSourceAddress_msg_init, arena); } UPB_INLINE envoy_config_core_v3_ExtraSourceAddress* envoy_config_core_v3_ExtraSourceAddress_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_ExtraSourceAddress* ret = envoy_config_core_v3_ExtraSourceAddress_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ExtraSourceAddress_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ExtraSourceAddress_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -475,7 +474,7 @@ UPB_INLINE envoy_config_core_v3_ExtraSourceAddress* envoy_config_core_v3_ExtraSo int options, upb_Arena* arena) { envoy_config_core_v3_ExtraSourceAddress* ret = envoy_config_core_v3_ExtraSourceAddress_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ExtraSourceAddress_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ExtraSourceAddress_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -483,13 +482,13 @@ UPB_INLINE envoy_config_core_v3_ExtraSourceAddress* envoy_config_core_v3_ExtraSo } UPB_INLINE char* envoy_config_core_v3_ExtraSourceAddress_serialize(const envoy_config_core_v3_ExtraSourceAddress* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ExtraSourceAddress_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ExtraSourceAddress_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_ExtraSourceAddress_serialize_ex(const envoy_config_core_v3_ExtraSourceAddress* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ExtraSourceAddress_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ExtraSourceAddress_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_ExtraSourceAddress_clear_address(envoy_config_core_v3_ExtraSourceAddress* msg) { @@ -530,7 +529,7 @@ UPB_INLINE void envoy_config_core_v3_ExtraSourceAddress_set_address(envoy_config UPB_INLINE struct envoy_config_core_v3_SocketAddress* envoy_config_core_v3_ExtraSourceAddress_mutable_address(envoy_config_core_v3_ExtraSourceAddress* msg, upb_Arena* arena) { struct envoy_config_core_v3_SocketAddress* sub = (struct envoy_config_core_v3_SocketAddress*)envoy_config_core_v3_ExtraSourceAddress_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_SocketAddress*)_upb_Message_New(&envoy_config_core_v3_SocketAddress_msg_init, arena); + sub = (struct envoy_config_core_v3_SocketAddress*)_upb_Message_New(&envoy__config__core__v3__SocketAddress_msg_init, arena); if (sub) envoy_config_core_v3_ExtraSourceAddress_set_address(msg, sub); } return sub; @@ -542,7 +541,7 @@ UPB_INLINE void envoy_config_core_v3_ExtraSourceAddress_set_socket_options(envoy UPB_INLINE struct envoy_config_core_v3_SocketOptionsOverride* envoy_config_core_v3_ExtraSourceAddress_mutable_socket_options(envoy_config_core_v3_ExtraSourceAddress* msg, upb_Arena* arena) { struct envoy_config_core_v3_SocketOptionsOverride* sub = (struct envoy_config_core_v3_SocketOptionsOverride*)envoy_config_core_v3_ExtraSourceAddress_socket_options(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_SocketOptionsOverride*)_upb_Message_New(&envoy_config_core_v3_SocketOptionsOverride_msg_init, arena); + sub = (struct envoy_config_core_v3_SocketOptionsOverride*)_upb_Message_New(&envoy__config__core__v3__SocketOptionsOverride_msg_init, arena); if (sub) envoy_config_core_v3_ExtraSourceAddress_set_socket_options(msg, sub); } return sub; @@ -551,12 +550,12 @@ UPB_INLINE struct envoy_config_core_v3_SocketOptionsOverride* envoy_config_core_ /* envoy.config.core.v3.BindConfig */ UPB_INLINE envoy_config_core_v3_BindConfig* envoy_config_core_v3_BindConfig_new(upb_Arena* arena) { - return (envoy_config_core_v3_BindConfig*)_upb_Message_New(&envoy_config_core_v3_BindConfig_msg_init, arena); + return (envoy_config_core_v3_BindConfig*)_upb_Message_New(&envoy__config__core__v3__BindConfig_msg_init, arena); } UPB_INLINE envoy_config_core_v3_BindConfig* envoy_config_core_v3_BindConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_BindConfig* ret = envoy_config_core_v3_BindConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_BindConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__BindConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -566,7 +565,7 @@ UPB_INLINE envoy_config_core_v3_BindConfig* envoy_config_core_v3_BindConfig_pars int options, upb_Arena* arena) { envoy_config_core_v3_BindConfig* ret = envoy_config_core_v3_BindConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_BindConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__BindConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -574,13 +573,13 @@ UPB_INLINE envoy_config_core_v3_BindConfig* envoy_config_core_v3_BindConfig_pars } UPB_INLINE char* envoy_config_core_v3_BindConfig_serialize(const envoy_config_core_v3_BindConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_BindConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__BindConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_BindConfig_serialize_ex(const envoy_config_core_v3_BindConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_BindConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__BindConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_BindConfig_clear_source_address(envoy_config_core_v3_BindConfig* msg) { @@ -724,6 +723,21 @@ UPB_INLINE bool envoy_config_core_v3_BindConfig_has_extra_source_addresses(const envoy_config_core_v3_BindConfig_extra_source_addresses(msg, &size); return size != 0; } +UPB_INLINE void envoy_config_core_v3_BindConfig_clear_local_address_selector(envoy_config_core_v3_BindConfig* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 3, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_BindConfig_local_address_selector(const envoy_config_core_v3_BindConfig* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 3, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_core_v3_BindConfig_has_local_address_selector(const envoy_config_core_v3_BindConfig* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 3, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} UPB_INLINE void envoy_config_core_v3_BindConfig_set_source_address(envoy_config_core_v3_BindConfig *msg, envoy_config_core_v3_SocketAddress* value) { const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; @@ -732,7 +746,7 @@ UPB_INLINE void envoy_config_core_v3_BindConfig_set_source_address(envoy_config_ UPB_INLINE struct envoy_config_core_v3_SocketAddress* envoy_config_core_v3_BindConfig_mutable_source_address(envoy_config_core_v3_BindConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_SocketAddress* sub = (struct envoy_config_core_v3_SocketAddress*)envoy_config_core_v3_BindConfig_source_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_SocketAddress*)_upb_Message_New(&envoy_config_core_v3_SocketAddress_msg_init, arena); + sub = (struct envoy_config_core_v3_SocketAddress*)_upb_Message_New(&envoy__config__core__v3__SocketAddress_msg_init, arena); if (sub) envoy_config_core_v3_BindConfig_set_source_address(msg, sub); } return sub; @@ -744,7 +758,7 @@ UPB_INLINE void envoy_config_core_v3_BindConfig_set_freebind(envoy_config_core_v UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_BindConfig_mutable_freebind(envoy_config_core_v3_BindConfig* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_BindConfig_freebind(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_core_v3_BindConfig_set_freebind(msg, sub); } return sub; @@ -770,7 +784,7 @@ UPB_INLINE struct envoy_config_core_v3_SocketOption* envoy_config_core_v3_BindCo if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_SocketOption* sub = (struct envoy_config_core_v3_SocketOption*)_upb_Message_New(&envoy_config_core_v3_SocketOption_msg_init, arena); + struct envoy_config_core_v3_SocketOption* sub = (struct envoy_config_core_v3_SocketOption*)_upb_Message_New(&envoy__config__core__v3__SocketOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -796,7 +810,7 @@ UPB_INLINE struct envoy_config_core_v3_SocketAddress* envoy_config_core_v3_BindC if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_SocketAddress* sub = (struct envoy_config_core_v3_SocketAddress*)_upb_Message_New(&envoy_config_core_v3_SocketAddress_msg_init, arena); + struct envoy_config_core_v3_SocketAddress* sub = (struct envoy_config_core_v3_SocketAddress*)_upb_Message_New(&envoy__config__core__v3__SocketAddress_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -822,21 +836,33 @@ UPB_INLINE struct envoy_config_core_v3_ExtraSourceAddress* envoy_config_core_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_ExtraSourceAddress* sub = (struct envoy_config_core_v3_ExtraSourceAddress*)_upb_Message_New(&envoy_config_core_v3_ExtraSourceAddress_msg_init, arena); + struct envoy_config_core_v3_ExtraSourceAddress* sub = (struct envoy_config_core_v3_ExtraSourceAddress*)_upb_Message_New(&envoy__config__core__v3__ExtraSourceAddress_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } +UPB_INLINE void envoy_config_core_v3_BindConfig_set_local_address_selector(envoy_config_core_v3_BindConfig *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 3, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_BindConfig_mutable_local_address_selector(envoy_config_core_v3_BindConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_core_v3_BindConfig_local_address_selector(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_config_core_v3_BindConfig_set_local_address_selector(msg, sub); + } + return sub; +} /* envoy.config.core.v3.Address */ UPB_INLINE envoy_config_core_v3_Address* envoy_config_core_v3_Address_new(upb_Arena* arena) { - return (envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + return (envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); } UPB_INLINE envoy_config_core_v3_Address* envoy_config_core_v3_Address_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_Address* ret = envoy_config_core_v3_Address_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Address_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Address_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -846,7 +872,7 @@ UPB_INLINE envoy_config_core_v3_Address* envoy_config_core_v3_Address_parse_ex(c int options, upb_Arena* arena) { envoy_config_core_v3_Address* ret = envoy_config_core_v3_Address_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Address_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Address_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -854,13 +880,13 @@ UPB_INLINE envoy_config_core_v3_Address* envoy_config_core_v3_Address_parse_ex(c } UPB_INLINE char* envoy_config_core_v3_Address_serialize(const envoy_config_core_v3_Address* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Address_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Address_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_Address_serialize_ex(const envoy_config_core_v3_Address* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Address_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Address_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -926,7 +952,7 @@ UPB_INLINE void envoy_config_core_v3_Address_set_socket_address(envoy_config_cor UPB_INLINE struct envoy_config_core_v3_SocketAddress* envoy_config_core_v3_Address_mutable_socket_address(envoy_config_core_v3_Address* msg, upb_Arena* arena) { struct envoy_config_core_v3_SocketAddress* sub = (struct envoy_config_core_v3_SocketAddress*)envoy_config_core_v3_Address_socket_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_SocketAddress*)_upb_Message_New(&envoy_config_core_v3_SocketAddress_msg_init, arena); + sub = (struct envoy_config_core_v3_SocketAddress*)_upb_Message_New(&envoy__config__core__v3__SocketAddress_msg_init, arena); if (sub) envoy_config_core_v3_Address_set_socket_address(msg, sub); } return sub; @@ -938,7 +964,7 @@ UPB_INLINE void envoy_config_core_v3_Address_set_pipe(envoy_config_core_v3_Addre UPB_INLINE struct envoy_config_core_v3_Pipe* envoy_config_core_v3_Address_mutable_pipe(envoy_config_core_v3_Address* msg, upb_Arena* arena) { struct envoy_config_core_v3_Pipe* sub = (struct envoy_config_core_v3_Pipe*)envoy_config_core_v3_Address_pipe(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Pipe*)_upb_Message_New(&envoy_config_core_v3_Pipe_msg_init, arena); + sub = (struct envoy_config_core_v3_Pipe*)_upb_Message_New(&envoy__config__core__v3__Pipe_msg_init, arena); if (sub) envoy_config_core_v3_Address_set_pipe(msg, sub); } return sub; @@ -950,7 +976,7 @@ UPB_INLINE void envoy_config_core_v3_Address_set_envoy_internal_address(envoy_co UPB_INLINE struct envoy_config_core_v3_EnvoyInternalAddress* envoy_config_core_v3_Address_mutable_envoy_internal_address(envoy_config_core_v3_Address* msg, upb_Arena* arena) { struct envoy_config_core_v3_EnvoyInternalAddress* sub = (struct envoy_config_core_v3_EnvoyInternalAddress*)envoy_config_core_v3_Address_envoy_internal_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_EnvoyInternalAddress*)_upb_Message_New(&envoy_config_core_v3_EnvoyInternalAddress_msg_init, arena); + sub = (struct envoy_config_core_v3_EnvoyInternalAddress*)_upb_Message_New(&envoy__config__core__v3__EnvoyInternalAddress_msg_init, arena); if (sub) envoy_config_core_v3_Address_set_envoy_internal_address(msg, sub); } return sub; @@ -959,12 +985,12 @@ UPB_INLINE struct envoy_config_core_v3_EnvoyInternalAddress* envoy_config_core_v /* envoy.config.core.v3.CidrRange */ UPB_INLINE envoy_config_core_v3_CidrRange* envoy_config_core_v3_CidrRange_new(upb_Arena* arena) { - return (envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena); + return (envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy__config__core__v3__CidrRange_msg_init, arena); } UPB_INLINE envoy_config_core_v3_CidrRange* envoy_config_core_v3_CidrRange_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_CidrRange* ret = envoy_config_core_v3_CidrRange_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_CidrRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__CidrRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -974,7 +1000,7 @@ UPB_INLINE envoy_config_core_v3_CidrRange* envoy_config_core_v3_CidrRange_parse_ int options, upb_Arena* arena) { envoy_config_core_v3_CidrRange* ret = envoy_config_core_v3_CidrRange_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_CidrRange_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__CidrRange_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -982,13 +1008,13 @@ UPB_INLINE envoy_config_core_v3_CidrRange* envoy_config_core_v3_CidrRange_parse_ } UPB_INLINE char* envoy_config_core_v3_CidrRange_serialize(const envoy_config_core_v3_CidrRange* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_CidrRange_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__CidrRange_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_CidrRange_serialize_ex(const envoy_config_core_v3_CidrRange* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_CidrRange_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__CidrRange_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_CidrRange_clear_address_prefix(envoy_config_core_v3_CidrRange* msg) { @@ -1029,14 +1055,12 @@ UPB_INLINE void envoy_config_core_v3_CidrRange_set_prefix_len(envoy_config_core_ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_CidrRange_mutable_prefix_len(envoy_config_core_v3_CidrRange* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_CidrRange_prefix_len(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_CidrRange_set_prefix_len(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_core_v3_address_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c new file mode 100644 index 00000000000..ee7c1d57e84 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c @@ -0,0 +1,227 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/address.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/socket_option.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_config_core_v3_Pipe__fields[2] = { + {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Pipe_msg_init = { + NULL, + &envoy_config_core_v3_Pipe__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x000000003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_EnvoyInternalAddress__fields[2] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__EnvoyInternalAddress_msg_init = { + NULL, + &envoy_config_core_v3_EnvoyInternalAddress__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_SocketAddress__fields[6] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), -5, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 16), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__SocketAddress_msg_init = { + NULL, + &envoy_config_core_v3_SocketAddress__fields[0], + UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x002000003f000012, &upb_pss_1bt}, + {0x0010000403000018, &upb_pov4_1bt}, + {0x0010000404000022, &upb_pos_1bt}, + {0x003000003f00002a, &upb_pss_1bt}, + {0x000800003f000030, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_TcpKeepalive_submsgs[3] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_TcpKeepalive__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__TcpKeepalive_msg_init = { + &envoy_config_core_v3_TcpKeepalive_submsgs[0], + &envoy_config_core_v3_TcpKeepalive__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_ExtraSourceAddress_submsgs[2] = { + {.submsg = &envoy__config__core__v3__SocketAddress_msg_init}, + {.submsg = &envoy__config__core__v3__SocketOptionsOverride_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_ExtraSourceAddress__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__ExtraSourceAddress_msg_init = { + &envoy_config_core_v3_ExtraSourceAddress_submsgs[0], + &envoy_config_core_v3_ExtraSourceAddress__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max128b}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_BindConfig_submsgs[6] = { + {.submsg = &envoy__config__core__v3__SocketAddress_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__core__v3__SocketOption_msg_init}, + {.submsg = &envoy__config__core__v3__SocketAddress_msg_init}, + {.submsg = &envoy__config__core__v3__ExtraSourceAddress_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_BindConfig__fields[6] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 48), 3, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__BindConfig_msg_init = { + &envoy_config_core_v3_BindConfig_submsgs[0], + &envoy_config_core_v3_BindConfig__fields[0], + UPB_SIZE(32, 56), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max128b}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800003f02001a, &upb_prm_1bt_maxmaxb}, + {0x002000003f030022, &upb_prm_1bt_max128b}, + {0x002800003f04002a, &upb_prm_1bt_max64b}, + {0x0030000003050032, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_Address_submsgs[3] = { + {.submsg = &envoy__config__core__v3__SocketAddress_msg_init}, + {.submsg = &envoy__config__core__v3__Pipe_msg_init}, + {.submsg = &envoy__config__core__v3__EnvoyInternalAddress_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_Address__fields[3] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Address_msg_init = { + &envoy_config_core_v3_Address_submsgs[0], + &envoy_config_core_v3_Address__fields[0], + UPB_SIZE(8, 16), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max128b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_CidrRange_submsgs[1] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_CidrRange__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__CidrRange_msg_init = { + &envoy_config_core_v3_CidrRange_submsgs[0], + &envoy_config_core_v3_CidrRange__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[8] = { + &envoy__config__core__v3__Pipe_msg_init, + &envoy__config__core__v3__EnvoyInternalAddress_msg_init, + &envoy__config__core__v3__SocketAddress_msg_init, + &envoy__config__core__v3__TcpKeepalive_msg_init, + &envoy__config__core__v3__ExtraSourceAddress_msg_init, + &envoy__config__core__v3__BindConfig_msg_init, + &envoy__config__core__v3__Address_msg_init, + &envoy__config__core__v3__CidrRange_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_address_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 8, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h new file mode 100644 index 00000000000..b0ffba30e22 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h @@ -0,0 +1,37 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/address.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_ADDRESS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_ADDRESS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__Pipe_msg_init; +extern const upb_MiniTable envoy__config__core__v3__EnvoyInternalAddress_msg_init; +extern const upb_MiniTable envoy__config__core__v3__SocketAddress_msg_init; +extern const upb_MiniTable envoy__config__core__v3__TcpKeepalive_msg_init; +extern const upb_MiniTable envoy__config__core__v3__ExtraSourceAddress_msg_init; +extern const upb_MiniTable envoy__config__core__v3__BindConfig_msg_init; +extern const upb_MiniTable envoy__config__core__v3__Address_msg_init; +extern const upb_MiniTable envoy__config__core__v3__CidrRange_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_address_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_ADDRESS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h similarity index 86% rename from src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h index e472dc28886..4ace9193c25 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/backoff.proto * @@ -10,7 +9,15 @@ #define ENVOY_CONFIG_CORE_V3_BACKOFF_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/backoff.upb_minitable.h" + +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +25,19 @@ extern "C" { #endif typedef struct envoy_config_core_v3_BackoffStrategy envoy_config_core_v3_BackoffStrategy; -extern const upb_MiniTable envoy_config_core_v3_BackoffStrategy_msg_init; struct google_protobuf_Duration; -extern const upb_MiniTable google_protobuf_Duration_msg_init; /* envoy.config.core.v3.BackoffStrategy */ UPB_INLINE envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_BackoffStrategy_new(upb_Arena* arena) { - return (envoy_config_core_v3_BackoffStrategy*)_upb_Message_New(&envoy_config_core_v3_BackoffStrategy_msg_init, arena); + return (envoy_config_core_v3_BackoffStrategy*)_upb_Message_New(&envoy__config__core__v3__BackoffStrategy_msg_init, arena); } UPB_INLINE envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_BackoffStrategy_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_BackoffStrategy* ret = envoy_config_core_v3_BackoffStrategy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_BackoffStrategy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__BackoffStrategy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +47,7 @@ UPB_INLINE envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_BackoffStr int options, upb_Arena* arena) { envoy_config_core_v3_BackoffStrategy* ret = envoy_config_core_v3_BackoffStrategy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_BackoffStrategy_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__BackoffStrategy_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +55,13 @@ UPB_INLINE envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_BackoffStr } UPB_INLINE char* envoy_config_core_v3_BackoffStrategy_serialize(const envoy_config_core_v3_BackoffStrategy* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_BackoffStrategy_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__BackoffStrategy_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_BackoffStrategy_serialize_ex(const envoy_config_core_v3_BackoffStrategy* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_BackoffStrategy_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__BackoffStrategy_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_BackoffStrategy_clear_base_interval(envoy_config_core_v3_BackoffStrategy* msg) { @@ -97,7 +102,7 @@ UPB_INLINE void envoy_config_core_v3_BackoffStrategy_set_base_interval(envoy_con UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_BackoffStrategy_mutable_base_interval(envoy_config_core_v3_BackoffStrategy* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_BackoffStrategy_base_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_BackoffStrategy_set_base_interval(msg, sub); } return sub; @@ -109,14 +114,12 @@ UPB_INLINE void envoy_config_core_v3_BackoffStrategy_set_max_interval(envoy_conf UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_BackoffStrategy_mutable_max_interval(envoy_config_core_v3_BackoffStrategy* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_BackoffStrategy_max_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_BackoffStrategy_set_max_interval(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_core_v3_backoff_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c new file mode 100644 index 00000000000..3bb409e76d1 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c @@ -0,0 +1,55 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/backoff.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/backoff.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_core_v3_BackoffStrategy_submsgs[2] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_BackoffStrategy__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__BackoffStrategy_msg_init = { + &envoy_config_core_v3_BackoffStrategy_submsgs[0], + &envoy_config_core_v3_BackoffStrategy__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__core__v3__BackoffStrategy_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_backoff_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h new file mode 100644 index 00000000000..405ad98b76b --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/backoff.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_BACKOFF_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_BACKOFF_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__BackoffStrategy_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_backoff_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_BACKOFF_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h index 0cea2fd8ccf..2dec89d9cb4 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/base.proto * @@ -10,7 +9,25 @@ #define ENVOY_CONFIG_CORE_V3_BASE_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/base.upb_minitable.h" + +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/backoff.upb_minitable.h" +#include "envoy/config/core/v3/http_uri.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "envoy/type/v3/semantic_version.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/core/v3/context_params.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -41,30 +58,6 @@ typedef struct envoy_config_core_v3_AsyncDataSource envoy_config_core_v3_AsyncDa typedef struct envoy_config_core_v3_TransportSocket envoy_config_core_v3_TransportSocket; typedef struct envoy_config_core_v3_RuntimeFractionalPercent envoy_config_core_v3_RuntimeFractionalPercent; typedef struct envoy_config_core_v3_ControlPlane envoy_config_core_v3_ControlPlane; -extern const upb_MiniTable envoy_config_core_v3_Locality_msg_init; -extern const upb_MiniTable envoy_config_core_v3_BuildVersion_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Extension_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Node_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Node_DynamicParametersEntry_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Metadata_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Metadata_FilterMetadataEntry_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_msg_init; -extern const upb_MiniTable envoy_config_core_v3_RuntimeUInt32_msg_init; -extern const upb_MiniTable envoy_config_core_v3_RuntimePercent_msg_init; -extern const upb_MiniTable envoy_config_core_v3_RuntimeDouble_msg_init; -extern const upb_MiniTable envoy_config_core_v3_RuntimeFeatureFlag_msg_init; -extern const upb_MiniTable envoy_config_core_v3_QueryParameter_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HeaderValue_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HeaderValueOption_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HeaderMap_msg_init; -extern const upb_MiniTable envoy_config_core_v3_WatchedDirectory_msg_init; -extern const upb_MiniTable envoy_config_core_v3_DataSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_RetryPolicy_msg_init; -extern const upb_MiniTable envoy_config_core_v3_RemoteDataSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_AsyncDataSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TransportSocket_msg_init; -extern const upb_MiniTable envoy_config_core_v3_RuntimeFractionalPercent_msg_init; -extern const upb_MiniTable envoy_config_core_v3_ControlPlane_msg_init; struct envoy_config_core_v3_Address; struct envoy_config_core_v3_BackoffStrategy; struct envoy_config_core_v3_HttpUri; @@ -76,22 +69,12 @@ struct google_protobuf_BoolValue; struct google_protobuf_Struct; struct google_protobuf_UInt32Value; struct xds_core_v3_ContextParams; -extern const upb_MiniTable envoy_config_core_v3_Address_msg_init; -extern const upb_MiniTable envoy_config_core_v3_BackoffStrategy_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HttpUri_msg_init; -extern const upb_MiniTable envoy_type_v3_FractionalPercent_msg_init; -extern const upb_MiniTable envoy_type_v3_Percent_msg_init; -extern const upb_MiniTable envoy_type_v3_SemanticVersion_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_Struct_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; -extern const upb_MiniTable xds_core_v3_ContextParams_msg_init; typedef enum { envoy_config_core_v3_HeaderValueOption_APPEND_IF_EXISTS_OR_ADD = 0, envoy_config_core_v3_HeaderValueOption_ADD_IF_ABSENT = 1, - envoy_config_core_v3_HeaderValueOption_OVERWRITE_IF_EXISTS_OR_ADD = 2 + envoy_config_core_v3_HeaderValueOption_OVERWRITE_IF_EXISTS_OR_ADD = 2, + envoy_config_core_v3_HeaderValueOption_OVERWRITE_IF_EXISTS = 3 } envoy_config_core_v3_HeaderValueOption_HeaderAppendAction; typedef enum { @@ -123,12 +106,12 @@ typedef enum { /* envoy.config.core.v3.Locality */ UPB_INLINE envoy_config_core_v3_Locality* envoy_config_core_v3_Locality_new(upb_Arena* arena) { - return (envoy_config_core_v3_Locality*)_upb_Message_New(&envoy_config_core_v3_Locality_msg_init, arena); + return (envoy_config_core_v3_Locality*)_upb_Message_New(&envoy__config__core__v3__Locality_msg_init, arena); } UPB_INLINE envoy_config_core_v3_Locality* envoy_config_core_v3_Locality_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_Locality* ret = envoy_config_core_v3_Locality_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Locality_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Locality_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -138,7 +121,7 @@ UPB_INLINE envoy_config_core_v3_Locality* envoy_config_core_v3_Locality_parse_ex int options, upb_Arena* arena) { envoy_config_core_v3_Locality* ret = envoy_config_core_v3_Locality_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Locality_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Locality_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -146,13 +129,13 @@ UPB_INLINE envoy_config_core_v3_Locality* envoy_config_core_v3_Locality_parse_ex } UPB_INLINE char* envoy_config_core_v3_Locality_serialize(const envoy_config_core_v3_Locality* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Locality_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Locality_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_Locality_serialize_ex(const envoy_config_core_v3_Locality* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Locality_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Locality_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_Locality_clear_region(envoy_config_core_v3_Locality* msg) { @@ -205,12 +188,12 @@ UPB_INLINE void envoy_config_core_v3_Locality_set_sub_zone(envoy_config_core_v3_ /* envoy.config.core.v3.BuildVersion */ UPB_INLINE envoy_config_core_v3_BuildVersion* envoy_config_core_v3_BuildVersion_new(upb_Arena* arena) { - return (envoy_config_core_v3_BuildVersion*)_upb_Message_New(&envoy_config_core_v3_BuildVersion_msg_init, arena); + return (envoy_config_core_v3_BuildVersion*)_upb_Message_New(&envoy__config__core__v3__BuildVersion_msg_init, arena); } UPB_INLINE envoy_config_core_v3_BuildVersion* envoy_config_core_v3_BuildVersion_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_BuildVersion* ret = envoy_config_core_v3_BuildVersion_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_BuildVersion_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__BuildVersion_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -220,7 +203,7 @@ UPB_INLINE envoy_config_core_v3_BuildVersion* envoy_config_core_v3_BuildVersion_ int options, upb_Arena* arena) { envoy_config_core_v3_BuildVersion* ret = envoy_config_core_v3_BuildVersion_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_BuildVersion_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__BuildVersion_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -228,13 +211,13 @@ UPB_INLINE envoy_config_core_v3_BuildVersion* envoy_config_core_v3_BuildVersion_ } UPB_INLINE char* envoy_config_core_v3_BuildVersion_serialize(const envoy_config_core_v3_BuildVersion* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_BuildVersion_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__BuildVersion_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_BuildVersion_serialize_ex(const envoy_config_core_v3_BuildVersion* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_BuildVersion_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__BuildVersion_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_BuildVersion_clear_version(envoy_config_core_v3_BuildVersion* msg) { @@ -275,7 +258,7 @@ UPB_INLINE void envoy_config_core_v3_BuildVersion_set_version(envoy_config_core_ UPB_INLINE struct envoy_type_v3_SemanticVersion* envoy_config_core_v3_BuildVersion_mutable_version(envoy_config_core_v3_BuildVersion* msg, upb_Arena* arena) { struct envoy_type_v3_SemanticVersion* sub = (struct envoy_type_v3_SemanticVersion*)envoy_config_core_v3_BuildVersion_version(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_SemanticVersion*)_upb_Message_New(&envoy_type_v3_SemanticVersion_msg_init, arena); + sub = (struct envoy_type_v3_SemanticVersion*)_upb_Message_New(&envoy__type__v3__SemanticVersion_msg_init, arena); if (sub) envoy_config_core_v3_BuildVersion_set_version(msg, sub); } return sub; @@ -287,7 +270,7 @@ UPB_INLINE void envoy_config_core_v3_BuildVersion_set_metadata(envoy_config_core UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_BuildVersion_mutable_metadata(envoy_config_core_v3_BuildVersion* msg, upb_Arena* arena) { struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_core_v3_BuildVersion_metadata(msg); if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); if (sub) envoy_config_core_v3_BuildVersion_set_metadata(msg, sub); } return sub; @@ -296,12 +279,12 @@ UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_BuildVersion_muta /* envoy.config.core.v3.Extension */ UPB_INLINE envoy_config_core_v3_Extension* envoy_config_core_v3_Extension_new(upb_Arena* arena) { - return (envoy_config_core_v3_Extension*)_upb_Message_New(&envoy_config_core_v3_Extension_msg_init, arena); + return (envoy_config_core_v3_Extension*)_upb_Message_New(&envoy__config__core__v3__Extension_msg_init, arena); } UPB_INLINE envoy_config_core_v3_Extension* envoy_config_core_v3_Extension_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_Extension* ret = envoy_config_core_v3_Extension_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Extension_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Extension_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -311,7 +294,7 @@ UPB_INLINE envoy_config_core_v3_Extension* envoy_config_core_v3_Extension_parse_ int options, upb_Arena* arena) { envoy_config_core_v3_Extension* ret = envoy_config_core_v3_Extension_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Extension_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Extension_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -319,13 +302,13 @@ UPB_INLINE envoy_config_core_v3_Extension* envoy_config_core_v3_Extension_parse_ } UPB_INLINE char* envoy_config_core_v3_Extension_serialize(const envoy_config_core_v3_Extension* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Extension_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Extension_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_Extension_serialize_ex(const envoy_config_core_v3_Extension* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Extension_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Extension_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_Extension_clear_name(envoy_config_core_v3_Extension* msg) { @@ -444,7 +427,7 @@ UPB_INLINE void envoy_config_core_v3_Extension_set_version(envoy_config_core_v3_ UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Extension_mutable_version(envoy_config_core_v3_Extension* msg, upb_Arena* arena) { struct envoy_config_core_v3_BuildVersion* sub = (struct envoy_config_core_v3_BuildVersion*)envoy_config_core_v3_Extension_version(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_BuildVersion*)_upb_Message_New(&envoy_config_core_v3_BuildVersion_msg_init, arena); + sub = (struct envoy_config_core_v3_BuildVersion*)_upb_Message_New(&envoy__config__core__v3__BuildVersion_msg_init, arena); if (sub) envoy_config_core_v3_Extension_set_version(msg, sub); } return sub; @@ -481,12 +464,12 @@ UPB_INLINE bool envoy_config_core_v3_Extension_add_type_urls(envoy_config_core_v /* envoy.config.core.v3.Node */ UPB_INLINE envoy_config_core_v3_Node* envoy_config_core_v3_Node_new(upb_Arena* arena) { - return (envoy_config_core_v3_Node*)_upb_Message_New(&envoy_config_core_v3_Node_msg_init, arena); + return (envoy_config_core_v3_Node*)_upb_Message_New(&envoy__config__core__v3__Node_msg_init, arena); } UPB_INLINE envoy_config_core_v3_Node* envoy_config_core_v3_Node_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_Node* ret = envoy_config_core_v3_Node_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Node_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Node_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -496,7 +479,7 @@ UPB_INLINE envoy_config_core_v3_Node* envoy_config_core_v3_Node_parse_ex(const c int options, upb_Arena* arena) { envoy_config_core_v3_Node* ret = envoy_config_core_v3_Node_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Node_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Node_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -504,13 +487,13 @@ UPB_INLINE envoy_config_core_v3_Node* envoy_config_core_v3_Node_parse_ex(const c } UPB_INLINE char* envoy_config_core_v3_Node_serialize(const envoy_config_core_v3_Node* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Node_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Node_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_Node_serialize_ex(const envoy_config_core_v3_Node* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Node_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Node_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -763,7 +746,7 @@ UPB_INLINE void envoy_config_core_v3_Node_set_metadata(envoy_config_core_v3_Node UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_Node_mutable_metadata(envoy_config_core_v3_Node* msg, upb_Arena* arena) { struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_core_v3_Node_metadata(msg); if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); if (sub) envoy_config_core_v3_Node_set_metadata(msg, sub); } return sub; @@ -775,7 +758,7 @@ UPB_INLINE void envoy_config_core_v3_Node_set_locality(envoy_config_core_v3_Node UPB_INLINE struct envoy_config_core_v3_Locality* envoy_config_core_v3_Node_mutable_locality(envoy_config_core_v3_Node* msg, upb_Arena* arena) { struct envoy_config_core_v3_Locality* sub = (struct envoy_config_core_v3_Locality*)envoy_config_core_v3_Node_locality(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Locality*)_upb_Message_New(&envoy_config_core_v3_Locality_msg_init, arena); + sub = (struct envoy_config_core_v3_Locality*)_upb_Message_New(&envoy__config__core__v3__Locality_msg_init, arena); if (sub) envoy_config_core_v3_Node_set_locality(msg, sub); } return sub; @@ -795,7 +778,7 @@ UPB_INLINE void envoy_config_core_v3_Node_set_user_agent_build_version(envoy_con UPB_INLINE struct envoy_config_core_v3_BuildVersion* envoy_config_core_v3_Node_mutable_user_agent_build_version(envoy_config_core_v3_Node* msg, upb_Arena* arena) { struct envoy_config_core_v3_BuildVersion* sub = (struct envoy_config_core_v3_BuildVersion*)envoy_config_core_v3_Node_user_agent_build_version(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_BuildVersion*)_upb_Message_New(&envoy_config_core_v3_BuildVersion_msg_init, arena); + sub = (struct envoy_config_core_v3_BuildVersion*)_upb_Message_New(&envoy__config__core__v3__BuildVersion_msg_init, arena); if (sub) envoy_config_core_v3_Node_set_user_agent_build_version(msg, sub); } return sub; @@ -821,7 +804,7 @@ UPB_INLINE struct envoy_config_core_v3_Extension* envoy_config_core_v3_Node_add_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_Extension* sub = (struct envoy_config_core_v3_Extension*)_upb_Message_New(&envoy_config_core_v3_Extension_msg_init, arena); + struct envoy_config_core_v3_Extension* sub = (struct envoy_config_core_v3_Extension*)_upb_Message_New(&envoy__config__core__v3__Extension_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -871,7 +854,7 @@ UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_core_v3_Node_add_li if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -925,12 +908,12 @@ UPB_INLINE void envoy_config_core_v3_Node_DynamicParametersEntry_set_value(envoy /* envoy.config.core.v3.Metadata */ UPB_INLINE envoy_config_core_v3_Metadata* envoy_config_core_v3_Metadata_new(upb_Arena* arena) { - return (envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy_config_core_v3_Metadata_msg_init, arena); + return (envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena); } UPB_INLINE envoy_config_core_v3_Metadata* envoy_config_core_v3_Metadata_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_Metadata* ret = envoy_config_core_v3_Metadata_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Metadata_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Metadata_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -940,7 +923,7 @@ UPB_INLINE envoy_config_core_v3_Metadata* envoy_config_core_v3_Metadata_parse_ex int options, upb_Arena* arena) { envoy_config_core_v3_Metadata* ret = envoy_config_core_v3_Metadata_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Metadata_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Metadata_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -948,13 +931,13 @@ UPB_INLINE envoy_config_core_v3_Metadata* envoy_config_core_v3_Metadata_parse_ex } UPB_INLINE char* envoy_config_core_v3_Metadata_serialize(const envoy_config_core_v3_Metadata* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Metadata_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Metadata_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_Metadata_serialize_ex(const envoy_config_core_v3_Metadata* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Metadata_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Metadata_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_Metadata_clear_filter_metadata(envoy_config_core_v3_Metadata* msg) { @@ -1094,12 +1077,12 @@ UPB_INLINE void envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_set_value /* envoy.config.core.v3.RuntimeUInt32 */ UPB_INLINE envoy_config_core_v3_RuntimeUInt32* envoy_config_core_v3_RuntimeUInt32_new(upb_Arena* arena) { - return (envoy_config_core_v3_RuntimeUInt32*)_upb_Message_New(&envoy_config_core_v3_RuntimeUInt32_msg_init, arena); + return (envoy_config_core_v3_RuntimeUInt32*)_upb_Message_New(&envoy__config__core__v3__RuntimeUInt32_msg_init, arena); } UPB_INLINE envoy_config_core_v3_RuntimeUInt32* envoy_config_core_v3_RuntimeUInt32_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_RuntimeUInt32* ret = envoy_config_core_v3_RuntimeUInt32_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RuntimeUInt32_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeUInt32_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1109,7 +1092,7 @@ UPB_INLINE envoy_config_core_v3_RuntimeUInt32* envoy_config_core_v3_RuntimeUInt3 int options, upb_Arena* arena) { envoy_config_core_v3_RuntimeUInt32* ret = envoy_config_core_v3_RuntimeUInt32_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RuntimeUInt32_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeUInt32_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1117,13 +1100,13 @@ UPB_INLINE envoy_config_core_v3_RuntimeUInt32* envoy_config_core_v3_RuntimeUInt3 } UPB_INLINE char* envoy_config_core_v3_RuntimeUInt32_serialize(const envoy_config_core_v3_RuntimeUInt32* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RuntimeUInt32_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RuntimeUInt32_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_RuntimeUInt32_serialize_ex(const envoy_config_core_v3_RuntimeUInt32* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RuntimeUInt32_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RuntimeUInt32_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_RuntimeUInt32_clear_default_value(envoy_config_core_v3_RuntimeUInt32* msg) { @@ -1161,12 +1144,12 @@ UPB_INLINE void envoy_config_core_v3_RuntimeUInt32_set_runtime_key(envoy_config_ /* envoy.config.core.v3.RuntimePercent */ UPB_INLINE envoy_config_core_v3_RuntimePercent* envoy_config_core_v3_RuntimePercent_new(upb_Arena* arena) { - return (envoy_config_core_v3_RuntimePercent*)_upb_Message_New(&envoy_config_core_v3_RuntimePercent_msg_init, arena); + return (envoy_config_core_v3_RuntimePercent*)_upb_Message_New(&envoy__config__core__v3__RuntimePercent_msg_init, arena); } UPB_INLINE envoy_config_core_v3_RuntimePercent* envoy_config_core_v3_RuntimePercent_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_RuntimePercent* ret = envoy_config_core_v3_RuntimePercent_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RuntimePercent_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimePercent_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1176,7 +1159,7 @@ UPB_INLINE envoy_config_core_v3_RuntimePercent* envoy_config_core_v3_RuntimePerc int options, upb_Arena* arena) { envoy_config_core_v3_RuntimePercent* ret = envoy_config_core_v3_RuntimePercent_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RuntimePercent_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimePercent_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1184,13 +1167,13 @@ UPB_INLINE envoy_config_core_v3_RuntimePercent* envoy_config_core_v3_RuntimePerc } UPB_INLINE char* envoy_config_core_v3_RuntimePercent_serialize(const envoy_config_core_v3_RuntimePercent* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RuntimePercent_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RuntimePercent_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_RuntimePercent_serialize_ex(const envoy_config_core_v3_RuntimePercent* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RuntimePercent_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RuntimePercent_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_RuntimePercent_clear_default_value(envoy_config_core_v3_RuntimePercent* msg) { @@ -1227,7 +1210,7 @@ UPB_INLINE void envoy_config_core_v3_RuntimePercent_set_default_value(envoy_conf UPB_INLINE struct envoy_type_v3_Percent* envoy_config_core_v3_RuntimePercent_mutable_default_value(envoy_config_core_v3_RuntimePercent* msg, upb_Arena* arena) { struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_core_v3_RuntimePercent_default_value(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); if (sub) envoy_config_core_v3_RuntimePercent_set_default_value(msg, sub); } return sub; @@ -1240,12 +1223,12 @@ UPB_INLINE void envoy_config_core_v3_RuntimePercent_set_runtime_key(envoy_config /* envoy.config.core.v3.RuntimeDouble */ UPB_INLINE envoy_config_core_v3_RuntimeDouble* envoy_config_core_v3_RuntimeDouble_new(upb_Arena* arena) { - return (envoy_config_core_v3_RuntimeDouble*)_upb_Message_New(&envoy_config_core_v3_RuntimeDouble_msg_init, arena); + return (envoy_config_core_v3_RuntimeDouble*)_upb_Message_New(&envoy__config__core__v3__RuntimeDouble_msg_init, arena); } UPB_INLINE envoy_config_core_v3_RuntimeDouble* envoy_config_core_v3_RuntimeDouble_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_RuntimeDouble* ret = envoy_config_core_v3_RuntimeDouble_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RuntimeDouble_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeDouble_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1255,7 +1238,7 @@ UPB_INLINE envoy_config_core_v3_RuntimeDouble* envoy_config_core_v3_RuntimeDoubl int options, upb_Arena* arena) { envoy_config_core_v3_RuntimeDouble* ret = envoy_config_core_v3_RuntimeDouble_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RuntimeDouble_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeDouble_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1263,13 +1246,13 @@ UPB_INLINE envoy_config_core_v3_RuntimeDouble* envoy_config_core_v3_RuntimeDoubl } UPB_INLINE char* envoy_config_core_v3_RuntimeDouble_serialize(const envoy_config_core_v3_RuntimeDouble* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RuntimeDouble_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RuntimeDouble_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_RuntimeDouble_serialize_ex(const envoy_config_core_v3_RuntimeDouble* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RuntimeDouble_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RuntimeDouble_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_RuntimeDouble_clear_default_value(envoy_config_core_v3_RuntimeDouble* msg) { @@ -1307,12 +1290,12 @@ UPB_INLINE void envoy_config_core_v3_RuntimeDouble_set_runtime_key(envoy_config_ /* envoy.config.core.v3.RuntimeFeatureFlag */ UPB_INLINE envoy_config_core_v3_RuntimeFeatureFlag* envoy_config_core_v3_RuntimeFeatureFlag_new(upb_Arena* arena) { - return (envoy_config_core_v3_RuntimeFeatureFlag*)_upb_Message_New(&envoy_config_core_v3_RuntimeFeatureFlag_msg_init, arena); + return (envoy_config_core_v3_RuntimeFeatureFlag*)_upb_Message_New(&envoy__config__core__v3__RuntimeFeatureFlag_msg_init, arena); } UPB_INLINE envoy_config_core_v3_RuntimeFeatureFlag* envoy_config_core_v3_RuntimeFeatureFlag_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_RuntimeFeatureFlag* ret = envoy_config_core_v3_RuntimeFeatureFlag_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RuntimeFeatureFlag_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1322,7 +1305,7 @@ UPB_INLINE envoy_config_core_v3_RuntimeFeatureFlag* envoy_config_core_v3_Runtime int options, upb_Arena* arena) { envoy_config_core_v3_RuntimeFeatureFlag* ret = envoy_config_core_v3_RuntimeFeatureFlag_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RuntimeFeatureFlag_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1330,13 +1313,13 @@ UPB_INLINE envoy_config_core_v3_RuntimeFeatureFlag* envoy_config_core_v3_Runtime } UPB_INLINE char* envoy_config_core_v3_RuntimeFeatureFlag_serialize(const envoy_config_core_v3_RuntimeFeatureFlag* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RuntimeFeatureFlag_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_RuntimeFeatureFlag_serialize_ex(const envoy_config_core_v3_RuntimeFeatureFlag* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RuntimeFeatureFlag_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_clear_default_value(envoy_config_core_v3_RuntimeFeatureFlag* msg) { @@ -1373,7 +1356,7 @@ UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_set_default_value(envoy_ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_RuntimeFeatureFlag_mutable_default_value(envoy_config_core_v3_RuntimeFeatureFlag* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_RuntimeFeatureFlag_default_value(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_core_v3_RuntimeFeatureFlag_set_default_value(msg, sub); } return sub; @@ -1386,12 +1369,12 @@ UPB_INLINE void envoy_config_core_v3_RuntimeFeatureFlag_set_runtime_key(envoy_co /* envoy.config.core.v3.QueryParameter */ UPB_INLINE envoy_config_core_v3_QueryParameter* envoy_config_core_v3_QueryParameter_new(upb_Arena* arena) { - return (envoy_config_core_v3_QueryParameter*)_upb_Message_New(&envoy_config_core_v3_QueryParameter_msg_init, arena); + return (envoy_config_core_v3_QueryParameter*)_upb_Message_New(&envoy__config__core__v3__QueryParameter_msg_init, arena); } UPB_INLINE envoy_config_core_v3_QueryParameter* envoy_config_core_v3_QueryParameter_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_QueryParameter* ret = envoy_config_core_v3_QueryParameter_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_QueryParameter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__QueryParameter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1401,7 +1384,7 @@ UPB_INLINE envoy_config_core_v3_QueryParameter* envoy_config_core_v3_QueryParame int options, upb_Arena* arena) { envoy_config_core_v3_QueryParameter* ret = envoy_config_core_v3_QueryParameter_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_QueryParameter_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__QueryParameter_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1409,13 +1392,13 @@ UPB_INLINE envoy_config_core_v3_QueryParameter* envoy_config_core_v3_QueryParame } UPB_INLINE char* envoy_config_core_v3_QueryParameter_serialize(const envoy_config_core_v3_QueryParameter* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_QueryParameter_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__QueryParameter_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_QueryParameter_serialize_ex(const envoy_config_core_v3_QueryParameter* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_QueryParameter_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__QueryParameter_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_QueryParameter_clear_key(envoy_config_core_v3_QueryParameter* msg) { @@ -1453,12 +1436,12 @@ UPB_INLINE void envoy_config_core_v3_QueryParameter_set_value(envoy_config_core_ /* envoy.config.core.v3.HeaderValue */ UPB_INLINE envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValue_new(upb_Arena* arena) { - return (envoy_config_core_v3_HeaderValue*)_upb_Message_New(&envoy_config_core_v3_HeaderValue_msg_init, arena); + return (envoy_config_core_v3_HeaderValue*)_upb_Message_New(&envoy__config__core__v3__HeaderValue_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValue_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HeaderValue* ret = envoy_config_core_v3_HeaderValue_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HeaderValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HeaderValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1468,7 +1451,7 @@ UPB_INLINE envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValue_pa int options, upb_Arena* arena) { envoy_config_core_v3_HeaderValue* ret = envoy_config_core_v3_HeaderValue_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HeaderValue_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HeaderValue_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1476,13 +1459,13 @@ UPB_INLINE envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValue_pa } UPB_INLINE char* envoy_config_core_v3_HeaderValue_serialize(const envoy_config_core_v3_HeaderValue* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HeaderValue_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HeaderValue_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HeaderValue_serialize_ex(const envoy_config_core_v3_HeaderValue* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HeaderValue_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HeaderValue_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_HeaderValue_clear_key(envoy_config_core_v3_HeaderValue* msg) { @@ -1507,6 +1490,17 @@ UPB_INLINE upb_StringView envoy_config_core_v3_HeaderValue_value(const envoy_con _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } +UPB_INLINE void envoy_config_core_v3_HeaderValue_clear_raw_value(envoy_config_core_v3_HeaderValue* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_core_v3_HeaderValue_raw_value(const envoy_config_core_v3_HeaderValue* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} UPB_INLINE void envoy_config_core_v3_HeaderValue_set_key(envoy_config_core_v3_HeaderValue *msg, upb_StringView value) { const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; @@ -1516,16 +1510,20 @@ UPB_INLINE void envoy_config_core_v3_HeaderValue_set_value(envoy_config_core_v3_ const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } +UPB_INLINE void envoy_config_core_v3_HeaderValue_set_raw_value(envoy_config_core_v3_HeaderValue *msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} /* envoy.config.core.v3.HeaderValueOption */ UPB_INLINE envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_HeaderValueOption_new(upb_Arena* arena) { - return (envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy_config_core_v3_HeaderValueOption_msg_init, arena); + return (envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_HeaderValueOption_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HeaderValueOption* ret = envoy_config_core_v3_HeaderValueOption_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HeaderValueOption_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HeaderValueOption_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1535,7 +1533,7 @@ UPB_INLINE envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_HeaderVa int options, upb_Arena* arena) { envoy_config_core_v3_HeaderValueOption* ret = envoy_config_core_v3_HeaderValueOption_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HeaderValueOption_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HeaderValueOption_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1543,13 +1541,13 @@ UPB_INLINE envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_HeaderVa } UPB_INLINE char* envoy_config_core_v3_HeaderValueOption_serialize(const envoy_config_core_v3_HeaderValueOption* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HeaderValueOption_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HeaderValueOption_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HeaderValueOption_serialize_ex(const envoy_config_core_v3_HeaderValueOption* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HeaderValueOption_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HeaderValueOption_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_HeaderValueOption_clear_header(envoy_config_core_v3_HeaderValueOption* msg) { @@ -1612,7 +1610,7 @@ UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_header(envoy_config_c UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderValueOption_mutable_header(envoy_config_core_v3_HeaderValueOption* msg, upb_Arena* arena) { struct envoy_config_core_v3_HeaderValue* sub = (struct envoy_config_core_v3_HeaderValue*)envoy_config_core_v3_HeaderValueOption_header(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_HeaderValue*)_upb_Message_New(&envoy_config_core_v3_HeaderValue_msg_init, arena); + sub = (struct envoy_config_core_v3_HeaderValue*)_upb_Message_New(&envoy__config__core__v3__HeaderValue_msg_init, arena); if (sub) envoy_config_core_v3_HeaderValueOption_set_header(msg, sub); } return sub; @@ -1624,7 +1622,7 @@ UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_append(envoy_config_c UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_HeaderValueOption_mutable_append(envoy_config_core_v3_HeaderValueOption* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_HeaderValueOption_append(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_core_v3_HeaderValueOption_set_append(msg, sub); } return sub; @@ -1641,12 +1639,12 @@ UPB_INLINE void envoy_config_core_v3_HeaderValueOption_set_keep_empty_value(envo /* envoy.config.core.v3.HeaderMap */ UPB_INLINE envoy_config_core_v3_HeaderMap* envoy_config_core_v3_HeaderMap_new(upb_Arena* arena) { - return (envoy_config_core_v3_HeaderMap*)_upb_Message_New(&envoy_config_core_v3_HeaderMap_msg_init, arena); + return (envoy_config_core_v3_HeaderMap*)_upb_Message_New(&envoy__config__core__v3__HeaderMap_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HeaderMap* envoy_config_core_v3_HeaderMap_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HeaderMap* ret = envoy_config_core_v3_HeaderMap_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HeaderMap_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HeaderMap_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1656,7 +1654,7 @@ UPB_INLINE envoy_config_core_v3_HeaderMap* envoy_config_core_v3_HeaderMap_parse_ int options, upb_Arena* arena) { envoy_config_core_v3_HeaderMap* ret = envoy_config_core_v3_HeaderMap_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HeaderMap_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HeaderMap_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1664,13 +1662,13 @@ UPB_INLINE envoy_config_core_v3_HeaderMap* envoy_config_core_v3_HeaderMap_parse_ } UPB_INLINE char* envoy_config_core_v3_HeaderMap_serialize(const envoy_config_core_v3_HeaderMap* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HeaderMap_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HeaderMap_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HeaderMap_serialize_ex(const envoy_config_core_v3_HeaderMap* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HeaderMap_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HeaderMap_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_HeaderMap_clear_headers(envoy_config_core_v3_HeaderMap* msg) { @@ -1732,7 +1730,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderM if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HeaderValue* sub = (struct envoy_config_core_v3_HeaderValue*)_upb_Message_New(&envoy_config_core_v3_HeaderValue_msg_init, arena); + struct envoy_config_core_v3_HeaderValue* sub = (struct envoy_config_core_v3_HeaderValue*)_upb_Message_New(&envoy__config__core__v3__HeaderValue_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1741,12 +1739,12 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_HeaderM /* envoy.config.core.v3.WatchedDirectory */ UPB_INLINE envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_WatchedDirectory_new(upb_Arena* arena) { - return (envoy_config_core_v3_WatchedDirectory*)_upb_Message_New(&envoy_config_core_v3_WatchedDirectory_msg_init, arena); + return (envoy_config_core_v3_WatchedDirectory*)_upb_Message_New(&envoy__config__core__v3__WatchedDirectory_msg_init, arena); } UPB_INLINE envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_WatchedDirectory_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_WatchedDirectory* ret = envoy_config_core_v3_WatchedDirectory_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_WatchedDirectory_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__WatchedDirectory_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1756,7 +1754,7 @@ UPB_INLINE envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_WatchedDi int options, upb_Arena* arena) { envoy_config_core_v3_WatchedDirectory* ret = envoy_config_core_v3_WatchedDirectory_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_WatchedDirectory_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__WatchedDirectory_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1764,13 +1762,13 @@ UPB_INLINE envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_WatchedDi } UPB_INLINE char* envoy_config_core_v3_WatchedDirectory_serialize(const envoy_config_core_v3_WatchedDirectory* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_WatchedDirectory_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__WatchedDirectory_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_WatchedDirectory_serialize_ex(const envoy_config_core_v3_WatchedDirectory* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_WatchedDirectory_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__WatchedDirectory_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_WatchedDirectory_clear_path(envoy_config_core_v3_WatchedDirectory* msg) { @@ -1793,12 +1791,12 @@ UPB_INLINE void envoy_config_core_v3_WatchedDirectory_set_path(envoy_config_core /* envoy.config.core.v3.DataSource */ UPB_INLINE envoy_config_core_v3_DataSource* envoy_config_core_v3_DataSource_new(upb_Arena* arena) { - return (envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); + return (envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); } UPB_INLINE envoy_config_core_v3_DataSource* envoy_config_core_v3_DataSource_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_DataSource* ret = envoy_config_core_v3_DataSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_DataSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__DataSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1808,7 +1806,7 @@ UPB_INLINE envoy_config_core_v3_DataSource* envoy_config_core_v3_DataSource_pars int options, upb_Arena* arena) { envoy_config_core_v3_DataSource* ret = envoy_config_core_v3_DataSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_DataSource_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__DataSource_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1816,13 +1814,13 @@ UPB_INLINE envoy_config_core_v3_DataSource* envoy_config_core_v3_DataSource_pars } UPB_INLINE char* envoy_config_core_v3_DataSource_serialize(const envoy_config_core_v3_DataSource* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_DataSource_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__DataSource_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_DataSource_serialize_ex(const envoy_config_core_v3_DataSource* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_DataSource_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__DataSource_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1917,12 +1915,12 @@ UPB_INLINE void envoy_config_core_v3_DataSource_set_environment_variable(envoy_c /* envoy.config.core.v3.RetryPolicy */ UPB_INLINE envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RetryPolicy_new(upb_Arena* arena) { - return (envoy_config_core_v3_RetryPolicy*)_upb_Message_New(&envoy_config_core_v3_RetryPolicy_msg_init, arena); + return (envoy_config_core_v3_RetryPolicy*)_upb_Message_New(&envoy__config__core__v3__RetryPolicy_msg_init, arena); } UPB_INLINE envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RetryPolicy_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_RetryPolicy* ret = envoy_config_core_v3_RetryPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RetryPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RetryPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1932,7 +1930,7 @@ UPB_INLINE envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RetryPolicy_pa int options, upb_Arena* arena) { envoy_config_core_v3_RetryPolicy* ret = envoy_config_core_v3_RetryPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RetryPolicy_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RetryPolicy_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1940,13 +1938,13 @@ UPB_INLINE envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RetryPolicy_pa } UPB_INLINE char* envoy_config_core_v3_RetryPolicy_serialize(const envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RetryPolicy_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RetryPolicy_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_RetryPolicy_serialize_ex(const envoy_config_core_v3_RetryPolicy* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RetryPolicy_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RetryPolicy_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_RetryPolicy_clear_retry_back_off(envoy_config_core_v3_RetryPolicy* msg) { @@ -1987,7 +1985,7 @@ UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_retry_back_off(envoy_config UPB_INLINE struct envoy_config_core_v3_BackoffStrategy* envoy_config_core_v3_RetryPolicy_mutable_retry_back_off(envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena) { struct envoy_config_core_v3_BackoffStrategy* sub = (struct envoy_config_core_v3_BackoffStrategy*)envoy_config_core_v3_RetryPolicy_retry_back_off(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_BackoffStrategy*)_upb_Message_New(&envoy_config_core_v3_BackoffStrategy_msg_init, arena); + sub = (struct envoy_config_core_v3_BackoffStrategy*)_upb_Message_New(&envoy__config__core__v3__BackoffStrategy_msg_init, arena); if (sub) envoy_config_core_v3_RetryPolicy_set_retry_back_off(msg, sub); } return sub; @@ -1999,7 +1997,7 @@ UPB_INLINE void envoy_config_core_v3_RetryPolicy_set_num_retries(envoy_config_co UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_RetryPolicy_mutable_num_retries(envoy_config_core_v3_RetryPolicy* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_RetryPolicy_num_retries(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_RetryPolicy_set_num_retries(msg, sub); } return sub; @@ -2008,12 +2006,12 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_RetryPolicy_ /* envoy.config.core.v3.RemoteDataSource */ UPB_INLINE envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_RemoteDataSource_new(upb_Arena* arena) { - return (envoy_config_core_v3_RemoteDataSource*)_upb_Message_New(&envoy_config_core_v3_RemoteDataSource_msg_init, arena); + return (envoy_config_core_v3_RemoteDataSource*)_upb_Message_New(&envoy__config__core__v3__RemoteDataSource_msg_init, arena); } UPB_INLINE envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_RemoteDataSource_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_RemoteDataSource* ret = envoy_config_core_v3_RemoteDataSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RemoteDataSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RemoteDataSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2023,7 +2021,7 @@ UPB_INLINE envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_RemoteDat int options, upb_Arena* arena) { envoy_config_core_v3_RemoteDataSource* ret = envoy_config_core_v3_RemoteDataSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RemoteDataSource_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RemoteDataSource_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2031,13 +2029,13 @@ UPB_INLINE envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_RemoteDat } UPB_INLINE char* envoy_config_core_v3_RemoteDataSource_serialize(const envoy_config_core_v3_RemoteDataSource* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RemoteDataSource_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RemoteDataSource_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_RemoteDataSource_serialize_ex(const envoy_config_core_v3_RemoteDataSource* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RemoteDataSource_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RemoteDataSource_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_RemoteDataSource_clear_http_uri(envoy_config_core_v3_RemoteDataSource* msg) { @@ -2089,7 +2087,7 @@ UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_http_uri(envoy_config_ UPB_INLINE struct envoy_config_core_v3_HttpUri* envoy_config_core_v3_RemoteDataSource_mutable_http_uri(envoy_config_core_v3_RemoteDataSource* msg, upb_Arena* arena) { struct envoy_config_core_v3_HttpUri* sub = (struct envoy_config_core_v3_HttpUri*)envoy_config_core_v3_RemoteDataSource_http_uri(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_HttpUri*)_upb_Message_New(&envoy_config_core_v3_HttpUri_msg_init, arena); + sub = (struct envoy_config_core_v3_HttpUri*)_upb_Message_New(&envoy__config__core__v3__HttpUri_msg_init, arena); if (sub) envoy_config_core_v3_RemoteDataSource_set_http_uri(msg, sub); } return sub; @@ -2105,7 +2103,7 @@ UPB_INLINE void envoy_config_core_v3_RemoteDataSource_set_retry_policy(envoy_con UPB_INLINE struct envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RemoteDataSource_mutable_retry_policy(envoy_config_core_v3_RemoteDataSource* msg, upb_Arena* arena) { struct envoy_config_core_v3_RetryPolicy* sub = (struct envoy_config_core_v3_RetryPolicy*)envoy_config_core_v3_RemoteDataSource_retry_policy(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_RetryPolicy*)_upb_Message_New(&envoy_config_core_v3_RetryPolicy_msg_init, arena); + sub = (struct envoy_config_core_v3_RetryPolicy*)_upb_Message_New(&envoy__config__core__v3__RetryPolicy_msg_init, arena); if (sub) envoy_config_core_v3_RemoteDataSource_set_retry_policy(msg, sub); } return sub; @@ -2114,12 +2112,12 @@ UPB_INLINE struct envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_RemoteD /* envoy.config.core.v3.AsyncDataSource */ UPB_INLINE envoy_config_core_v3_AsyncDataSource* envoy_config_core_v3_AsyncDataSource_new(upb_Arena* arena) { - return (envoy_config_core_v3_AsyncDataSource*)_upb_Message_New(&envoy_config_core_v3_AsyncDataSource_msg_init, arena); + return (envoy_config_core_v3_AsyncDataSource*)_upb_Message_New(&envoy__config__core__v3__AsyncDataSource_msg_init, arena); } UPB_INLINE envoy_config_core_v3_AsyncDataSource* envoy_config_core_v3_AsyncDataSource_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_AsyncDataSource* ret = envoy_config_core_v3_AsyncDataSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_AsyncDataSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__AsyncDataSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2129,7 +2127,7 @@ UPB_INLINE envoy_config_core_v3_AsyncDataSource* envoy_config_core_v3_AsyncDataS int options, upb_Arena* arena) { envoy_config_core_v3_AsyncDataSource* ret = envoy_config_core_v3_AsyncDataSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_AsyncDataSource_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__AsyncDataSource_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2137,13 +2135,13 @@ UPB_INLINE envoy_config_core_v3_AsyncDataSource* envoy_config_core_v3_AsyncDataS } UPB_INLINE char* envoy_config_core_v3_AsyncDataSource_serialize(const envoy_config_core_v3_AsyncDataSource* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_AsyncDataSource_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__AsyncDataSource_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_AsyncDataSource_serialize_ex(const envoy_config_core_v3_AsyncDataSource* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_AsyncDataSource_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__AsyncDataSource_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -2193,7 +2191,7 @@ UPB_INLINE void envoy_config_core_v3_AsyncDataSource_set_local(envoy_config_core UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_AsyncDataSource_mutable_local(envoy_config_core_v3_AsyncDataSource* msg, upb_Arena* arena) { struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_config_core_v3_AsyncDataSource_local(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); if (sub) envoy_config_core_v3_AsyncDataSource_set_local(msg, sub); } return sub; @@ -2205,7 +2203,7 @@ UPB_INLINE void envoy_config_core_v3_AsyncDataSource_set_remote(envoy_config_cor UPB_INLINE struct envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_AsyncDataSource_mutable_remote(envoy_config_core_v3_AsyncDataSource* msg, upb_Arena* arena) { struct envoy_config_core_v3_RemoteDataSource* sub = (struct envoy_config_core_v3_RemoteDataSource*)envoy_config_core_v3_AsyncDataSource_remote(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_RemoteDataSource*)_upb_Message_New(&envoy_config_core_v3_RemoteDataSource_msg_init, arena); + sub = (struct envoy_config_core_v3_RemoteDataSource*)_upb_Message_New(&envoy__config__core__v3__RemoteDataSource_msg_init, arena); if (sub) envoy_config_core_v3_AsyncDataSource_set_remote(msg, sub); } return sub; @@ -2214,12 +2212,12 @@ UPB_INLINE struct envoy_config_core_v3_RemoteDataSource* envoy_config_core_v3_As /* envoy.config.core.v3.TransportSocket */ UPB_INLINE envoy_config_core_v3_TransportSocket* envoy_config_core_v3_TransportSocket_new(upb_Arena* arena) { - return (envoy_config_core_v3_TransportSocket*)_upb_Message_New(&envoy_config_core_v3_TransportSocket_msg_init, arena); + return (envoy_config_core_v3_TransportSocket*)_upb_Message_New(&envoy__config__core__v3__TransportSocket_msg_init, arena); } UPB_INLINE envoy_config_core_v3_TransportSocket* envoy_config_core_v3_TransportSocket_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_TransportSocket* ret = envoy_config_core_v3_TransportSocket_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_TransportSocket_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__TransportSocket_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2229,7 +2227,7 @@ UPB_INLINE envoy_config_core_v3_TransportSocket* envoy_config_core_v3_TransportS int options, upb_Arena* arena) { envoy_config_core_v3_TransportSocket* ret = envoy_config_core_v3_TransportSocket_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_TransportSocket_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__TransportSocket_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2237,13 +2235,13 @@ UPB_INLINE envoy_config_core_v3_TransportSocket* envoy_config_core_v3_TransportS } UPB_INLINE char* envoy_config_core_v3_TransportSocket_serialize(const envoy_config_core_v3_TransportSocket* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_TransportSocket_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__TransportSocket_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_TransportSocket_serialize_ex(const envoy_config_core_v3_TransportSocket* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_TransportSocket_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__TransportSocket_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -2292,7 +2290,7 @@ UPB_INLINE void envoy_config_core_v3_TransportSocket_set_typed_config(envoy_conf UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_TransportSocket_mutable_typed_config(envoy_config_core_v3_TransportSocket* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_core_v3_TransportSocket_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_core_v3_TransportSocket_set_typed_config(msg, sub); } return sub; @@ -2301,12 +2299,12 @@ UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_TransportSocket_muta /* envoy.config.core.v3.RuntimeFractionalPercent */ UPB_INLINE envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_new(upb_Arena* arena) { - return (envoy_config_core_v3_RuntimeFractionalPercent*)_upb_Message_New(&envoy_config_core_v3_RuntimeFractionalPercent_msg_init, arena); + return (envoy_config_core_v3_RuntimeFractionalPercent*)_upb_Message_New(&envoy__config__core__v3__RuntimeFractionalPercent_msg_init, arena); } UPB_INLINE envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_RuntimeFractionalPercent* ret = envoy_config_core_v3_RuntimeFractionalPercent_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RuntimeFractionalPercent_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2316,7 +2314,7 @@ UPB_INLINE envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_core_v3_R int options, upb_Arena* arena) { envoy_config_core_v3_RuntimeFractionalPercent* ret = envoy_config_core_v3_RuntimeFractionalPercent_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RuntimeFractionalPercent_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2324,13 +2322,13 @@ UPB_INLINE envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_core_v3_R } UPB_INLINE char* envoy_config_core_v3_RuntimeFractionalPercent_serialize(const envoy_config_core_v3_RuntimeFractionalPercent* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RuntimeFractionalPercent_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_RuntimeFractionalPercent_serialize_ex(const envoy_config_core_v3_RuntimeFractionalPercent* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RuntimeFractionalPercent_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_clear_default_value(envoy_config_core_v3_RuntimeFractionalPercent* msg) { @@ -2367,7 +2365,7 @@ UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_set_default_value( UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_core_v3_RuntimeFractionalPercent_mutable_default_value(envoy_config_core_v3_RuntimeFractionalPercent* msg, upb_Arena* arena) { struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_config_core_v3_RuntimeFractionalPercent_default_value(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy_type_v3_FractionalPercent_msg_init, arena); + sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy__type__v3__FractionalPercent_msg_init, arena); if (sub) envoy_config_core_v3_RuntimeFractionalPercent_set_default_value(msg, sub); } return sub; @@ -2380,12 +2378,12 @@ UPB_INLINE void envoy_config_core_v3_RuntimeFractionalPercent_set_runtime_key(en /* envoy.config.core.v3.ControlPlane */ UPB_INLINE envoy_config_core_v3_ControlPlane* envoy_config_core_v3_ControlPlane_new(upb_Arena* arena) { - return (envoy_config_core_v3_ControlPlane*)_upb_Message_New(&envoy_config_core_v3_ControlPlane_msg_init, arena); + return (envoy_config_core_v3_ControlPlane*)_upb_Message_New(&envoy__config__core__v3__ControlPlane_msg_init, arena); } UPB_INLINE envoy_config_core_v3_ControlPlane* envoy_config_core_v3_ControlPlane_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_ControlPlane* ret = envoy_config_core_v3_ControlPlane_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ControlPlane_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ControlPlane_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2395,7 +2393,7 @@ UPB_INLINE envoy_config_core_v3_ControlPlane* envoy_config_core_v3_ControlPlane_ int options, upb_Arena* arena) { envoy_config_core_v3_ControlPlane* ret = envoy_config_core_v3_ControlPlane_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ControlPlane_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ControlPlane_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2403,13 +2401,13 @@ UPB_INLINE envoy_config_core_v3_ControlPlane* envoy_config_core_v3_ControlPlane_ } UPB_INLINE char* envoy_config_core_v3_ControlPlane_serialize(const envoy_config_core_v3_ControlPlane* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ControlPlane_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ControlPlane_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_ControlPlane_serialize_ex(const envoy_config_core_v3_ControlPlane* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ControlPlane_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ControlPlane_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_ControlPlane_clear_identifier(envoy_config_core_v3_ControlPlane* msg) { @@ -2429,8 +2427,6 @@ UPB_INLINE void envoy_config_core_v3_ControlPlane_set_identifier(envoy_config_co _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_config_core_v3_base_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c new file mode 100644 index 00000000000..6a1f7a14b69 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c @@ -0,0 +1,578 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/base.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/backoff.upb_minitable.h" +#include "envoy/config/core/v3/http_uri.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "envoy/type/v3/semantic_version.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/core/v3/context_params.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_config_core_v3_Locality__fields[3] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Locality_msg_init = { + NULL, + &envoy_config_core_v3_Locality__fields[0], + UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000003f00001a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_BuildVersion_submsgs[2] = { + {.submsg = &envoy__type__v3__SemanticVersion_msg_init}, + {.submsg = &google__protobuf__Struct_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_BuildVersion__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__BuildVersion_msg_init = { + &envoy_config_core_v3_BuildVersion_submsgs[0], + &envoy_config_core_v3_BuildVersion__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_Extension_submsgs[1] = { + {.submsg = &envoy__config__core__v3__BuildVersion_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_Extension__fields[6] = { + {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 56), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Extension_msg_init = { + &envoy_config_core_v3_Extension_submsgs[0], + &envoy_config_core_v3_Extension__fields[0], + UPB_SIZE(40, 72), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x002800003f00001a, &upb_pss_1bt}, + {0x0038000001000022, &upb_psm_1bt_max64b}, + {0x000100003f000028, &upb_psb1_1bt}, + {0x004000003f000032, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_Node_submsgs[6] = { + {.submsg = &google__protobuf__Struct_msg_init}, + {.submsg = &envoy__config__core__v3__Locality_msg_init}, + {.submsg = &envoy__config__core__v3__BuildVersion_msg_init}, + {.submsg = &envoy__config__core__v3__Extension_msg_init}, + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__config__core__v3__Node__DynamicParametersEntry_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_Node__fields[11] = { + {1, UPB_SIZE(40, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(48, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 56), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 64), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(56, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 8), UPB_SIZE(-13, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 8), UPB_SIZE(-13, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(16, 88), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(20, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(24, 104), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(28, 112), 0, 5, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Node_msg_init = { + &envoy_config_core_v3_Node_submsgs[0], + &envoy_config_core_v3_Node__fields[0], + UPB_SIZE(64, 120), 11, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f00000a, &upb_pss_1bt}, + {0x002800003f000012, &upb_pss_1bt}, + {0x003800000100001a, &upb_psm_1bt_maxmaxb}, + {0x0040000002010022, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x004800003f000032, &upb_pss_1bt}, + {0x000800040700003a, &upb_pos_1bt}, + {0x0008000408020042, &upb_pom_1bt_max64b}, + {0x005800003f03004a, &upb_prm_1bt_max128b}, + {0x006000003f000052, &upb_prs_1bt}, + {0x006800003f04005a, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_Node_DynamicParametersEntry_submsgs[1] = { + {.submsg = &xds__core__v3__ContextParams_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_Node_DynamicParametersEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Node__DynamicParametersEntry_msg_init = { + &envoy_config_core_v3_Node_DynamicParametersEntry_submsgs[0], + &envoy_config_core_v3_Node_DynamicParametersEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_Metadata_submsgs[2] = { + {.submsg = &envoy__config__core__v3__Metadata__FilterMetadataEntry_msg_init}, + {.submsg = &envoy__config__core__v3__Metadata__TypedFilterMetadataEntry_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_Metadata__fields[2] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Metadata_msg_init = { + &envoy_config_core_v3_Metadata_submsgs[0], + &envoy_config_core_v3_Metadata__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_config_core_v3_Metadata_FilterMetadataEntry_submsgs[1] = { + {.submsg = &google__protobuf__Struct_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_Metadata_FilterMetadataEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Metadata__FilterMetadataEntry_msg_init = { + &envoy_config_core_v3_Metadata_FilterMetadataEntry_submsgs[0], + &envoy_config_core_v3_Metadata_FilterMetadataEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_Metadata_TypedFilterMetadataEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Metadata__TypedFilterMetadataEntry_msg_init = { + &envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_submsgs[0], + &envoy_config_core_v3_Metadata_TypedFilterMetadataEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_RuntimeUInt32__fields[2] = { + {2, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__RuntimeUInt32_msg_init = { + NULL, + &envoy_config_core_v3_RuntimeUInt32__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000010, &upb_psv4_1bt}, + {0x000800003f00001a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_RuntimePercent_submsgs[1] = { + {.submsg = &envoy__type__v3__Percent_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_RuntimePercent__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__RuntimePercent_msg_init = { + &envoy_config_core_v3_RuntimePercent_submsgs[0], + &envoy_config_core_v3_RuntimePercent__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_RuntimeDouble__fields[2] = { + {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__RuntimeDouble_msg_init = { + NULL, + &envoy_config_core_v3_RuntimeDouble__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000009, &upb_psf8_1bt}, + {0x000800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_RuntimeFeatureFlag_submsgs[1] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_RuntimeFeatureFlag__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__RuntimeFeatureFlag_msg_init = { + &envoy_config_core_v3_RuntimeFeatureFlag_submsgs[0], + &envoy_config_core_v3_RuntimeFeatureFlag__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_QueryParameter__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__QueryParameter_msg_init = { + NULL, + &envoy_config_core_v3_QueryParameter__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_HeaderValue__fields[3] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HeaderValue_msg_init = { + NULL, + &envoy_config_core_v3_HeaderValue__fields[0], + UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000003f00001a, &upb_psb_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_HeaderValueOption_submsgs[2] = { + {.submsg = &envoy__config__core__v3__HeaderValue_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_HeaderValueOption__fields[4] = { + {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HeaderValueOption_msg_init = { + &envoy_config_core_v3_HeaderValueOption_submsgs[0], + &envoy_config_core_v3_HeaderValueOption__fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000000100000a, &upb_psm_1bt_max64b}, + {0x0018000002010012, &upb_psm_1bt_maxmaxb}, + {0x000400003f000018, &upb_psv4_1bt}, + {0x000800003f000020, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_HeaderMap_submsgs[1] = { + {.submsg = &envoy__config__core__v3__HeaderValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_HeaderMap__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HeaderMap_msg_init = { + &envoy_config_core_v3_HeaderMap_submsgs[0], + &envoy_config_core_v3_HeaderMap__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_WatchedDirectory__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__WatchedDirectory_msg_init = { + NULL, + &envoy_config_core_v3_WatchedDirectory__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_DataSource__fields[4] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__DataSource_msg_init = { + NULL, + &envoy_config_core_v3_DataSource__fields[0], + UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + {0x0008000002000012, &upb_pob_1bt}, + {0x000800000300001a, &upb_pos_1bt}, + {0x0008000004000022, &upb_pos_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_RetryPolicy_submsgs[2] = { + {.submsg = &envoy__config__core__v3__BackoffStrategy_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_RetryPolicy__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__RetryPolicy_msg_init = { + &envoy_config_core_v3_RetryPolicy_submsgs[0], + &envoy_config_core_v3_RetryPolicy__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_RemoteDataSource_submsgs[2] = { + {.submsg = &envoy__config__core__v3__HttpUri_msg_init}, + {.submsg = &envoy__config__core__v3__RetryPolicy_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_RemoteDataSource__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__RemoteDataSource_msg_init = { + &envoy_config_core_v3_RemoteDataSource_submsgs[0], + &envoy_config_core_v3_RemoteDataSource__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000000201001a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_AsyncDataSource_submsgs[2] = { + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, + {.submsg = &envoy__config__core__v3__RemoteDataSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_AsyncDataSource__fields[2] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__AsyncDataSource_msg_init = { + &envoy_config_core_v3_AsyncDataSource_submsgs[0], + &envoy_config_core_v3_AsyncDataSource__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_TransportSocket_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_TransportSocket__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__TransportSocket_msg_init = { + &envoy_config_core_v3_TransportSocket_submsgs[0], + &envoy_config_core_v3_TransportSocket__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000300001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_RuntimeFractionalPercent_submsgs[1] = { + {.submsg = &envoy__type__v3__FractionalPercent_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_RuntimeFractionalPercent__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__RuntimeFractionalPercent_msg_init = { + &envoy_config_core_v3_RuntimeFractionalPercent_submsgs[0], + &envoy_config_core_v3_RuntimeFractionalPercent__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_ControlPlane__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__ControlPlane_msg_init = { + NULL, + &envoy_config_core_v3_ControlPlane__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[24] = { + &envoy__config__core__v3__Locality_msg_init, + &envoy__config__core__v3__BuildVersion_msg_init, + &envoy__config__core__v3__Extension_msg_init, + &envoy__config__core__v3__Node_msg_init, + &envoy__config__core__v3__Node__DynamicParametersEntry_msg_init, + &envoy__config__core__v3__Metadata_msg_init, + &envoy__config__core__v3__Metadata__FilterMetadataEntry_msg_init, + &envoy__config__core__v3__Metadata__TypedFilterMetadataEntry_msg_init, + &envoy__config__core__v3__RuntimeUInt32_msg_init, + &envoy__config__core__v3__RuntimePercent_msg_init, + &envoy__config__core__v3__RuntimeDouble_msg_init, + &envoy__config__core__v3__RuntimeFeatureFlag_msg_init, + &envoy__config__core__v3__QueryParameter_msg_init, + &envoy__config__core__v3__HeaderValue_msg_init, + &envoy__config__core__v3__HeaderValueOption_msg_init, + &envoy__config__core__v3__HeaderMap_msg_init, + &envoy__config__core__v3__WatchedDirectory_msg_init, + &envoy__config__core__v3__DataSource_msg_init, + &envoy__config__core__v3__RetryPolicy_msg_init, + &envoy__config__core__v3__RemoteDataSource_msg_init, + &envoy__config__core__v3__AsyncDataSource_msg_init, + &envoy__config__core__v3__TransportSocket_msg_init, + &envoy__config__core__v3__RuntimeFractionalPercent_msg_init, + &envoy__config__core__v3__ControlPlane_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_base_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 24, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h new file mode 100644 index 00000000000..0db4cef77a5 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h @@ -0,0 +1,53 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/base.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_BASE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_BASE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__Locality_msg_init; +extern const upb_MiniTable envoy__config__core__v3__BuildVersion_msg_init; +extern const upb_MiniTable envoy__config__core__v3__Extension_msg_init; +extern const upb_MiniTable envoy__config__core__v3__Node_msg_init; +extern const upb_MiniTable envoy__config__core__v3__Node__DynamicParametersEntry_msg_init; +extern const upb_MiniTable envoy__config__core__v3__Metadata_msg_init; +extern const upb_MiniTable envoy__config__core__v3__Metadata__FilterMetadataEntry_msg_init; +extern const upb_MiniTable envoy__config__core__v3__Metadata__TypedFilterMetadataEntry_msg_init; +extern const upb_MiniTable envoy__config__core__v3__RuntimeUInt32_msg_init; +extern const upb_MiniTable envoy__config__core__v3__RuntimePercent_msg_init; +extern const upb_MiniTable envoy__config__core__v3__RuntimeDouble_msg_init; +extern const upb_MiniTable envoy__config__core__v3__RuntimeFeatureFlag_msg_init; +extern const upb_MiniTable envoy__config__core__v3__QueryParameter_msg_init; +extern const upb_MiniTable envoy__config__core__v3__HeaderValue_msg_init; +extern const upb_MiniTable envoy__config__core__v3__HeaderValueOption_msg_init; +extern const upb_MiniTable envoy__config__core__v3__HeaderMap_msg_init; +extern const upb_MiniTable envoy__config__core__v3__WatchedDirectory_msg_init; +extern const upb_MiniTable envoy__config__core__v3__DataSource_msg_init; +extern const upb_MiniTable envoy__config__core__v3__RetryPolicy_msg_init; +extern const upb_MiniTable envoy__config__core__v3__RemoteDataSource_msg_init; +extern const upb_MiniTable envoy__config__core__v3__AsyncDataSource_msg_init; +extern const upb_MiniTable envoy__config__core__v3__TransportSocket_msg_init; +extern const upb_MiniTable envoy__config__core__v3__RuntimeFractionalPercent_msg_init; +extern const upb_MiniTable envoy__config__core__v3__ControlPlane_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_base_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_BASE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h similarity index 92% rename from src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h index 242c7baf9f3..3219275a9ba 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/config_source.proto * @@ -10,7 +9,22 @@ #define ENVOY_CONFIG_CORE_V3_CONFIG_SOURCE_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/config_source.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/core/v3/authority.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -24,13 +38,6 @@ typedef struct envoy_config_core_v3_RateLimitSettings envoy_config_core_v3_RateL typedef struct envoy_config_core_v3_PathConfigSource envoy_config_core_v3_PathConfigSource; typedef struct envoy_config_core_v3_ConfigSource envoy_config_core_v3_ConfigSource; typedef struct envoy_config_core_v3_ExtensionConfigSource envoy_config_core_v3_ExtensionConfigSource; -extern const upb_MiniTable envoy_config_core_v3_ApiConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_AggregatedConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_SelfConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_RateLimitSettings_msg_init; -extern const upb_MiniTable envoy_config_core_v3_PathConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_ConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_ExtensionConfigSource_msg_init; struct envoy_config_core_v3_GrpcService; struct envoy_config_core_v3_TypedExtensionConfig; struct envoy_config_core_v3_WatchedDirectory; @@ -39,14 +46,6 @@ struct google_protobuf_DoubleValue; struct google_protobuf_Duration; struct google_protobuf_UInt32Value; struct xds_core_v3_Authority; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable envoy_config_core_v3_WatchedDirectory_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_DoubleValue_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; -extern const upb_MiniTable xds_core_v3_Authority_msg_init; typedef enum { envoy_config_core_v3_ApiConfigSource_DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE = 0, @@ -68,12 +67,12 @@ typedef enum { /* envoy.config.core.v3.ApiConfigSource */ UPB_INLINE envoy_config_core_v3_ApiConfigSource* envoy_config_core_v3_ApiConfigSource_new(upb_Arena* arena) { - return (envoy_config_core_v3_ApiConfigSource*)_upb_Message_New(&envoy_config_core_v3_ApiConfigSource_msg_init, arena); + return (envoy_config_core_v3_ApiConfigSource*)_upb_Message_New(&envoy__config__core__v3__ApiConfigSource_msg_init, arena); } UPB_INLINE envoy_config_core_v3_ApiConfigSource* envoy_config_core_v3_ApiConfigSource_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_ApiConfigSource* ret = envoy_config_core_v3_ApiConfigSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ApiConfigSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ApiConfigSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -83,7 +82,7 @@ UPB_INLINE envoy_config_core_v3_ApiConfigSource* envoy_config_core_v3_ApiConfigS int options, upb_Arena* arena) { envoy_config_core_v3_ApiConfigSource* ret = envoy_config_core_v3_ApiConfigSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ApiConfigSource_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ApiConfigSource_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -91,13 +90,13 @@ UPB_INLINE envoy_config_core_v3_ApiConfigSource* envoy_config_core_v3_ApiConfigS } UPB_INLINE char* envoy_config_core_v3_ApiConfigSource_serialize(const envoy_config_core_v3_ApiConfigSource* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ApiConfigSource_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ApiConfigSource_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_ApiConfigSource_serialize_ex(const envoy_config_core_v3_ApiConfigSource* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ApiConfigSource_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ApiConfigSource_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_ApiConfigSource_clear_api_type(envoy_config_core_v3_ApiConfigSource* msg) { @@ -325,7 +324,7 @@ UPB_INLINE void envoy_config_core_v3_ApiConfigSource_set_refresh_delay(envoy_con UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_ApiConfigSource_mutable_refresh_delay(envoy_config_core_v3_ApiConfigSource* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_ApiConfigSource_refresh_delay(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_ApiConfigSource_set_refresh_delay(msg, sub); } return sub; @@ -351,7 +350,7 @@ UPB_INLINE struct envoy_config_core_v3_GrpcService* envoy_config_core_v3_ApiConf if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy_config_core_v3_GrpcService_msg_init, arena); + struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy__config__core__v3__GrpcService_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -363,7 +362,7 @@ UPB_INLINE void envoy_config_core_v3_ApiConfigSource_set_request_timeout(envoy_c UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_ApiConfigSource_mutable_request_timeout(envoy_config_core_v3_ApiConfigSource* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_ApiConfigSource_request_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_ApiConfigSource_set_request_timeout(msg, sub); } return sub; @@ -375,7 +374,7 @@ UPB_INLINE void envoy_config_core_v3_ApiConfigSource_set_rate_limit_settings(env UPB_INLINE struct envoy_config_core_v3_RateLimitSettings* envoy_config_core_v3_ApiConfigSource_mutable_rate_limit_settings(envoy_config_core_v3_ApiConfigSource* msg, upb_Arena* arena) { struct envoy_config_core_v3_RateLimitSettings* sub = (struct envoy_config_core_v3_RateLimitSettings*)envoy_config_core_v3_ApiConfigSource_rate_limit_settings(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_RateLimitSettings*)_upb_Message_New(&envoy_config_core_v3_RateLimitSettings_msg_init, arena); + sub = (struct envoy_config_core_v3_RateLimitSettings*)_upb_Message_New(&envoy__config__core__v3__RateLimitSettings_msg_init, arena); if (sub) envoy_config_core_v3_ApiConfigSource_set_rate_limit_settings(msg, sub); } return sub; @@ -409,7 +408,7 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -418,12 +417,12 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v /* envoy.config.core.v3.AggregatedConfigSource */ UPB_INLINE envoy_config_core_v3_AggregatedConfigSource* envoy_config_core_v3_AggregatedConfigSource_new(upb_Arena* arena) { - return (envoy_config_core_v3_AggregatedConfigSource*)_upb_Message_New(&envoy_config_core_v3_AggregatedConfigSource_msg_init, arena); + return (envoy_config_core_v3_AggregatedConfigSource*)_upb_Message_New(&envoy__config__core__v3__AggregatedConfigSource_msg_init, arena); } UPB_INLINE envoy_config_core_v3_AggregatedConfigSource* envoy_config_core_v3_AggregatedConfigSource_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_AggregatedConfigSource* ret = envoy_config_core_v3_AggregatedConfigSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_AggregatedConfigSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__AggregatedConfigSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -433,7 +432,7 @@ UPB_INLINE envoy_config_core_v3_AggregatedConfigSource* envoy_config_core_v3_Agg int options, upb_Arena* arena) { envoy_config_core_v3_AggregatedConfigSource* ret = envoy_config_core_v3_AggregatedConfigSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_AggregatedConfigSource_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__AggregatedConfigSource_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -441,13 +440,13 @@ UPB_INLINE envoy_config_core_v3_AggregatedConfigSource* envoy_config_core_v3_Agg } UPB_INLINE char* envoy_config_core_v3_AggregatedConfigSource_serialize(const envoy_config_core_v3_AggregatedConfigSource* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_AggregatedConfigSource_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__AggregatedConfigSource_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_AggregatedConfigSource_serialize_ex(const envoy_config_core_v3_AggregatedConfigSource* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_AggregatedConfigSource_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__AggregatedConfigSource_msg_init, options, arena, &ptr, len); return ptr; } @@ -455,12 +454,12 @@ UPB_INLINE char* envoy_config_core_v3_AggregatedConfigSource_serialize_ex(const /* envoy.config.core.v3.SelfConfigSource */ UPB_INLINE envoy_config_core_v3_SelfConfigSource* envoy_config_core_v3_SelfConfigSource_new(upb_Arena* arena) { - return (envoy_config_core_v3_SelfConfigSource*)_upb_Message_New(&envoy_config_core_v3_SelfConfigSource_msg_init, arena); + return (envoy_config_core_v3_SelfConfigSource*)_upb_Message_New(&envoy__config__core__v3__SelfConfigSource_msg_init, arena); } UPB_INLINE envoy_config_core_v3_SelfConfigSource* envoy_config_core_v3_SelfConfigSource_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_SelfConfigSource* ret = envoy_config_core_v3_SelfConfigSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SelfConfigSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__SelfConfigSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -470,7 +469,7 @@ UPB_INLINE envoy_config_core_v3_SelfConfigSource* envoy_config_core_v3_SelfConfi int options, upb_Arena* arena) { envoy_config_core_v3_SelfConfigSource* ret = envoy_config_core_v3_SelfConfigSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SelfConfigSource_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__SelfConfigSource_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -478,13 +477,13 @@ UPB_INLINE envoy_config_core_v3_SelfConfigSource* envoy_config_core_v3_SelfConfi } UPB_INLINE char* envoy_config_core_v3_SelfConfigSource_serialize(const envoy_config_core_v3_SelfConfigSource* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_SelfConfigSource_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__SelfConfigSource_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_SelfConfigSource_serialize_ex(const envoy_config_core_v3_SelfConfigSource* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_SelfConfigSource_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__SelfConfigSource_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_SelfConfigSource_clear_transport_api_version(envoy_config_core_v3_SelfConfigSource* msg) { @@ -507,12 +506,12 @@ UPB_INLINE void envoy_config_core_v3_SelfConfigSource_set_transport_api_version( /* envoy.config.core.v3.RateLimitSettings */ UPB_INLINE envoy_config_core_v3_RateLimitSettings* envoy_config_core_v3_RateLimitSettings_new(upb_Arena* arena) { - return (envoy_config_core_v3_RateLimitSettings*)_upb_Message_New(&envoy_config_core_v3_RateLimitSettings_msg_init, arena); + return (envoy_config_core_v3_RateLimitSettings*)_upb_Message_New(&envoy__config__core__v3__RateLimitSettings_msg_init, arena); } UPB_INLINE envoy_config_core_v3_RateLimitSettings* envoy_config_core_v3_RateLimitSettings_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_RateLimitSettings* ret = envoy_config_core_v3_RateLimitSettings_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RateLimitSettings_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RateLimitSettings_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -522,7 +521,7 @@ UPB_INLINE envoy_config_core_v3_RateLimitSettings* envoy_config_core_v3_RateLimi int options, upb_Arena* arena) { envoy_config_core_v3_RateLimitSettings* ret = envoy_config_core_v3_RateLimitSettings_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_RateLimitSettings_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__RateLimitSettings_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -530,13 +529,13 @@ UPB_INLINE envoy_config_core_v3_RateLimitSettings* envoy_config_core_v3_RateLimi } UPB_INLINE char* envoy_config_core_v3_RateLimitSettings_serialize(const envoy_config_core_v3_RateLimitSettings* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RateLimitSettings_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RateLimitSettings_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_RateLimitSettings_serialize_ex(const envoy_config_core_v3_RateLimitSettings* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_RateLimitSettings_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__RateLimitSettings_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_RateLimitSettings_clear_max_tokens(envoy_config_core_v3_RateLimitSettings* msg) { @@ -577,7 +576,7 @@ UPB_INLINE void envoy_config_core_v3_RateLimitSettings_set_max_tokens(envoy_conf UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_RateLimitSettings_mutable_max_tokens(envoy_config_core_v3_RateLimitSettings* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_RateLimitSettings_max_tokens(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_RateLimitSettings_set_max_tokens(msg, sub); } return sub; @@ -589,7 +588,7 @@ UPB_INLINE void envoy_config_core_v3_RateLimitSettings_set_fill_rate(envoy_confi UPB_INLINE struct google_protobuf_DoubleValue* envoy_config_core_v3_RateLimitSettings_mutable_fill_rate(envoy_config_core_v3_RateLimitSettings* msg, upb_Arena* arena) { struct google_protobuf_DoubleValue* sub = (struct google_protobuf_DoubleValue*)envoy_config_core_v3_RateLimitSettings_fill_rate(msg); if (sub == NULL) { - sub = (struct google_protobuf_DoubleValue*)_upb_Message_New(&google_protobuf_DoubleValue_msg_init, arena); + sub = (struct google_protobuf_DoubleValue*)_upb_Message_New(&google__protobuf__DoubleValue_msg_init, arena); if (sub) envoy_config_core_v3_RateLimitSettings_set_fill_rate(msg, sub); } return sub; @@ -598,12 +597,12 @@ UPB_INLINE struct google_protobuf_DoubleValue* envoy_config_core_v3_RateLimitSet /* envoy.config.core.v3.PathConfigSource */ UPB_INLINE envoy_config_core_v3_PathConfigSource* envoy_config_core_v3_PathConfigSource_new(upb_Arena* arena) { - return (envoy_config_core_v3_PathConfigSource*)_upb_Message_New(&envoy_config_core_v3_PathConfigSource_msg_init, arena); + return (envoy_config_core_v3_PathConfigSource*)_upb_Message_New(&envoy__config__core__v3__PathConfigSource_msg_init, arena); } UPB_INLINE envoy_config_core_v3_PathConfigSource* envoy_config_core_v3_PathConfigSource_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_PathConfigSource* ret = envoy_config_core_v3_PathConfigSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_PathConfigSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__PathConfigSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -613,7 +612,7 @@ UPB_INLINE envoy_config_core_v3_PathConfigSource* envoy_config_core_v3_PathConfi int options, upb_Arena* arena) { envoy_config_core_v3_PathConfigSource* ret = envoy_config_core_v3_PathConfigSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_PathConfigSource_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__PathConfigSource_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -621,13 +620,13 @@ UPB_INLINE envoy_config_core_v3_PathConfigSource* envoy_config_core_v3_PathConfi } UPB_INLINE char* envoy_config_core_v3_PathConfigSource_serialize(const envoy_config_core_v3_PathConfigSource* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_PathConfigSource_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__PathConfigSource_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_PathConfigSource_serialize_ex(const envoy_config_core_v3_PathConfigSource* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_PathConfigSource_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__PathConfigSource_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_PathConfigSource_clear_path(envoy_config_core_v3_PathConfigSource* msg) { @@ -668,7 +667,7 @@ UPB_INLINE void envoy_config_core_v3_PathConfigSource_set_watched_directory(envo UPB_INLINE struct envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_PathConfigSource_mutable_watched_directory(envoy_config_core_v3_PathConfigSource* msg, upb_Arena* arena) { struct envoy_config_core_v3_WatchedDirectory* sub = (struct envoy_config_core_v3_WatchedDirectory*)envoy_config_core_v3_PathConfigSource_watched_directory(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_WatchedDirectory*)_upb_Message_New(&envoy_config_core_v3_WatchedDirectory_msg_init, arena); + sub = (struct envoy_config_core_v3_WatchedDirectory*)_upb_Message_New(&envoy__config__core__v3__WatchedDirectory_msg_init, arena); if (sub) envoy_config_core_v3_PathConfigSource_set_watched_directory(msg, sub); } return sub; @@ -677,12 +676,12 @@ UPB_INLINE struct envoy_config_core_v3_WatchedDirectory* envoy_config_core_v3_Pa /* envoy.config.core.v3.ConfigSource */ UPB_INLINE envoy_config_core_v3_ConfigSource* envoy_config_core_v3_ConfigSource_new(upb_Arena* arena) { - return (envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); + return (envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); } UPB_INLINE envoy_config_core_v3_ConfigSource* envoy_config_core_v3_ConfigSource_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_ConfigSource* ret = envoy_config_core_v3_ConfigSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ConfigSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ConfigSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -692,7 +691,7 @@ UPB_INLINE envoy_config_core_v3_ConfigSource* envoy_config_core_v3_ConfigSource_ int options, upb_Arena* arena) { envoy_config_core_v3_ConfigSource* ret = envoy_config_core_v3_ConfigSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ConfigSource_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ConfigSource_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -700,13 +699,13 @@ UPB_INLINE envoy_config_core_v3_ConfigSource* envoy_config_core_v3_ConfigSource_ } UPB_INLINE char* envoy_config_core_v3_ConfigSource_serialize(const envoy_config_core_v3_ConfigSource* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ConfigSource_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ConfigSource_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_ConfigSource_serialize_ex(const envoy_config_core_v3_ConfigSource* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ConfigSource_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ConfigSource_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -871,7 +870,7 @@ UPB_INLINE void envoy_config_core_v3_ConfigSource_set_api_config_source(envoy_co UPB_INLINE struct envoy_config_core_v3_ApiConfigSource* envoy_config_core_v3_ConfigSource_mutable_api_config_source(envoy_config_core_v3_ConfigSource* msg, upb_Arena* arena) { struct envoy_config_core_v3_ApiConfigSource* sub = (struct envoy_config_core_v3_ApiConfigSource*)envoy_config_core_v3_ConfigSource_api_config_source(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ApiConfigSource*)_upb_Message_New(&envoy_config_core_v3_ApiConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ApiConfigSource*)_upb_Message_New(&envoy__config__core__v3__ApiConfigSource_msg_init, arena); if (sub) envoy_config_core_v3_ConfigSource_set_api_config_source(msg, sub); } return sub; @@ -883,7 +882,7 @@ UPB_INLINE void envoy_config_core_v3_ConfigSource_set_ads(envoy_config_core_v3_C UPB_INLINE struct envoy_config_core_v3_AggregatedConfigSource* envoy_config_core_v3_ConfigSource_mutable_ads(envoy_config_core_v3_ConfigSource* msg, upb_Arena* arena) { struct envoy_config_core_v3_AggregatedConfigSource* sub = (struct envoy_config_core_v3_AggregatedConfigSource*)envoy_config_core_v3_ConfigSource_ads(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_AggregatedConfigSource*)_upb_Message_New(&envoy_config_core_v3_AggregatedConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_AggregatedConfigSource*)_upb_Message_New(&envoy__config__core__v3__AggregatedConfigSource_msg_init, arena); if (sub) envoy_config_core_v3_ConfigSource_set_ads(msg, sub); } return sub; @@ -895,7 +894,7 @@ UPB_INLINE void envoy_config_core_v3_ConfigSource_set_initial_fetch_timeout(envo UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_ConfigSource_mutable_initial_fetch_timeout(envoy_config_core_v3_ConfigSource* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_ConfigSource_initial_fetch_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_ConfigSource_set_initial_fetch_timeout(msg, sub); } return sub; @@ -907,7 +906,7 @@ UPB_INLINE void envoy_config_core_v3_ConfigSource_set_self(envoy_config_core_v3_ UPB_INLINE struct envoy_config_core_v3_SelfConfigSource* envoy_config_core_v3_ConfigSource_mutable_self(envoy_config_core_v3_ConfigSource* msg, upb_Arena* arena) { struct envoy_config_core_v3_SelfConfigSource* sub = (struct envoy_config_core_v3_SelfConfigSource*)envoy_config_core_v3_ConfigSource_self(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_SelfConfigSource*)_upb_Message_New(&envoy_config_core_v3_SelfConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_SelfConfigSource*)_upb_Message_New(&envoy__config__core__v3__SelfConfigSource_msg_init, arena); if (sub) envoy_config_core_v3_ConfigSource_set_self(msg, sub); } return sub; @@ -937,7 +936,7 @@ UPB_INLINE struct xds_core_v3_Authority* envoy_config_core_v3_ConfigSource_add_a if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct xds_core_v3_Authority* sub = (struct xds_core_v3_Authority*)_upb_Message_New(&xds_core_v3_Authority_msg_init, arena); + struct xds_core_v3_Authority* sub = (struct xds_core_v3_Authority*)_upb_Message_New(&xds__core__v3__Authority_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -949,7 +948,7 @@ UPB_INLINE void envoy_config_core_v3_ConfigSource_set_path_config_source(envoy_c UPB_INLINE struct envoy_config_core_v3_PathConfigSource* envoy_config_core_v3_ConfigSource_mutable_path_config_source(envoy_config_core_v3_ConfigSource* msg, upb_Arena* arena) { struct envoy_config_core_v3_PathConfigSource* sub = (struct envoy_config_core_v3_PathConfigSource*)envoy_config_core_v3_ConfigSource_path_config_source(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_PathConfigSource*)_upb_Message_New(&envoy_config_core_v3_PathConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_PathConfigSource*)_upb_Message_New(&envoy__config__core__v3__PathConfigSource_msg_init, arena); if (sub) envoy_config_core_v3_ConfigSource_set_path_config_source(msg, sub); } return sub; @@ -958,12 +957,12 @@ UPB_INLINE struct envoy_config_core_v3_PathConfigSource* envoy_config_core_v3_Co /* envoy.config.core.v3.ExtensionConfigSource */ UPB_INLINE envoy_config_core_v3_ExtensionConfigSource* envoy_config_core_v3_ExtensionConfigSource_new(upb_Arena* arena) { - return (envoy_config_core_v3_ExtensionConfigSource*)_upb_Message_New(&envoy_config_core_v3_ExtensionConfigSource_msg_init, arena); + return (envoy_config_core_v3_ExtensionConfigSource*)_upb_Message_New(&envoy__config__core__v3__ExtensionConfigSource_msg_init, arena); } UPB_INLINE envoy_config_core_v3_ExtensionConfigSource* envoy_config_core_v3_ExtensionConfigSource_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_ExtensionConfigSource* ret = envoy_config_core_v3_ExtensionConfigSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ExtensionConfigSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ExtensionConfigSource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -973,7 +972,7 @@ UPB_INLINE envoy_config_core_v3_ExtensionConfigSource* envoy_config_core_v3_Exte int options, upb_Arena* arena) { envoy_config_core_v3_ExtensionConfigSource* ret = envoy_config_core_v3_ExtensionConfigSource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ExtensionConfigSource_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ExtensionConfigSource_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -981,13 +980,13 @@ UPB_INLINE envoy_config_core_v3_ExtensionConfigSource* envoy_config_core_v3_Exte } UPB_INLINE char* envoy_config_core_v3_ExtensionConfigSource_serialize(const envoy_config_core_v3_ExtensionConfigSource* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ExtensionConfigSource_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ExtensionConfigSource_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_ExtensionConfigSource_serialize_ex(const envoy_config_core_v3_ExtensionConfigSource* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ExtensionConfigSource_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ExtensionConfigSource_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_ExtensionConfigSource_clear_config_source(envoy_config_core_v3_ExtensionConfigSource* msg) { @@ -1076,7 +1075,7 @@ UPB_INLINE void envoy_config_core_v3_ExtensionConfigSource_set_config_source(env UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_core_v3_ExtensionConfigSource_mutable_config_source(envoy_config_core_v3_ExtensionConfigSource* msg, upb_Arena* arena) { struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_core_v3_ExtensionConfigSource_config_source(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); if (sub) envoy_config_core_v3_ExtensionConfigSource_set_config_source(msg, sub); } return sub; @@ -1088,7 +1087,7 @@ UPB_INLINE void envoy_config_core_v3_ExtensionConfigSource_set_default_config(en UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_ExtensionConfigSource_mutable_default_config(envoy_config_core_v3_ExtensionConfigSource* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_core_v3_ExtensionConfigSource_default_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_core_v3_ExtensionConfigSource_set_default_config(msg, sub); } return sub; @@ -1122,8 +1121,6 @@ UPB_INLINE bool envoy_config_core_v3_ExtensionConfigSource_add_type_urls(envoy_c return true; } -extern const upb_MiniTableFile envoy_config_core_v3_config_source_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c new file mode 100644 index 00000000000..204190477a7 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c @@ -0,0 +1,225 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/config_source.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/core/v3/authority.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_core_v3_ApiConfigSource_submsgs[5] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__core__v3__GrpcService_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__core__v3__RateLimitSettings_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_ApiConfigSource__fields[9] = { + {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 48), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(36, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__ApiConfigSource_msg_init = { + &envoy_config_core_v3_ApiConfigSource_submsgs[0], + &envoy_config_core_v3_ApiConfigSource__fields[0], + UPB_SIZE(40, 64), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x001000003f000012, &upb_prs_1bt}, + {0x001800000100001a, &upb_psm_1bt_maxmaxb}, + {0x002000003f010022, &upb_prm_1bt_maxmaxb}, + {0x002800000202002a, &upb_psm_1bt_maxmaxb}, + {0x0030000003030032, &upb_psm_1bt_max64b}, + {0x000800003f000038, &upb_psb1_1bt}, + {0x000c00003f000040, &upb_psv4_1bt}, + {0x003800003f04004a, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +const upb_MiniTable envoy__config__core__v3__AggregatedConfigSource_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableField envoy_config_core_v3_SelfConfigSource__fields[1] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__SelfConfigSource_msg_init = { + NULL, + &envoy_config_core_v3_SelfConfigSource__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_RateLimitSettings_submsgs[2] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__DoubleValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_RateLimitSettings__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__RateLimitSettings_msg_init = { + &envoy_config_core_v3_RateLimitSettings_submsgs[0], + &envoy_config_core_v3_RateLimitSettings__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_PathConfigSource_submsgs[1] = { + {.submsg = &envoy__config__core__v3__WatchedDirectory_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_PathConfigSource__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__PathConfigSource_msg_init = { + &envoy_config_core_v3_PathConfigSource_submsgs[0], + &envoy_config_core_v3_PathConfigSource__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_ConfigSource_submsgs[6] = { + {.submsg = &envoy__config__core__v3__ApiConfigSource_msg_init}, + {.submsg = &envoy__config__core__v3__AggregatedConfigSource_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__core__v3__SelfConfigSource_msg_init}, + {.submsg = &xds__core__v3__Authority_msg_init}, + {.submsg = &envoy__config__core__v3__PathConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_ConfigSource__fields[8] = { + {1, UPB_SIZE(20, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 32), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(16, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(20, 16), UPB_SIZE(-9, -5), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__ConfigSource_msg_init = { + &envoy_config_core_v3_ConfigSource_submsgs[0], + &envoy_config_core_v3_ConfigSource__fields[0], + UPB_SIZE(32, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000040100000a, &upb_pos_1bt}, + {0x0010000402000012, &upb_pom_1bt_max128b}, + {0x001000040301001a, &upb_pom_1bt_max64b}, + {0x0020000001020022, &upb_psm_1bt_maxmaxb}, + {0x001000040503002a, &upb_pom_1bt_max64b}, + {0x000800003f000030, &upb_psv4_1bt}, + {0x002800003f04003a, &upb_prm_1bt_maxmaxb}, + {0x0010000408050042, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_ExtensionConfigSource_submsgs[2] = { + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_ExtensionConfigSource__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__ExtensionConfigSource_msg_init = { + &envoy_config_core_v3_ExtensionConfigSource_submsgs[0], + &envoy_config_core_v3_ExtensionConfigSource__fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x000100003f000018, &upb_psb1_1bt}, + {0x001800003f000022, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[7] = { + &envoy__config__core__v3__ApiConfigSource_msg_init, + &envoy__config__core__v3__AggregatedConfigSource_msg_init, + &envoy__config__core__v3__SelfConfigSource_msg_init, + &envoy__config__core__v3__RateLimitSettings_msg_init, + &envoy__config__core__v3__PathConfigSource_msg_init, + &envoy__config__core__v3__ConfigSource_msg_init, + &envoy__config__core__v3__ExtensionConfigSource_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_config_source_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 7, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h new file mode 100644 index 00000000000..f06e548a4e2 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h @@ -0,0 +1,36 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/config_source.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_CONFIG_SOURCE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_CONFIG_SOURCE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__ApiConfigSource_msg_init; +extern const upb_MiniTable envoy__config__core__v3__AggregatedConfigSource_msg_init; +extern const upb_MiniTable envoy__config__core__v3__SelfConfigSource_msg_init; +extern const upb_MiniTable envoy__config__core__v3__RateLimitSettings_msg_init; +extern const upb_MiniTable envoy__config__core__v3__PathConfigSource_msg_init; +extern const upb_MiniTable envoy__config__core__v3__ConfigSource_msg_init; +extern const upb_MiniTable envoy__config__core__v3__ExtensionConfigSource_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_config_source_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_CONFIG_SOURCE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h similarity index 84% rename from src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h index dc95af0d8e1..fa4dddfb45b 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/event_service_config.proto * @@ -10,7 +9,15 @@ #define ENVOY_CONFIG_CORE_V3_EVENT_SERVICE_CONFIG_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/event_service_config.upb_minitable.h" + +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +25,19 @@ extern "C" { #endif typedef struct envoy_config_core_v3_EventServiceConfig envoy_config_core_v3_EventServiceConfig; -extern const upb_MiniTable envoy_config_core_v3_EventServiceConfig_msg_init; struct envoy_config_core_v3_GrpcService; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_msg_init; /* envoy.config.core.v3.EventServiceConfig */ UPB_INLINE envoy_config_core_v3_EventServiceConfig* envoy_config_core_v3_EventServiceConfig_new(upb_Arena* arena) { - return (envoy_config_core_v3_EventServiceConfig*)_upb_Message_New(&envoy_config_core_v3_EventServiceConfig_msg_init, arena); + return (envoy_config_core_v3_EventServiceConfig*)_upb_Message_New(&envoy__config__core__v3__EventServiceConfig_msg_init, arena); } UPB_INLINE envoy_config_core_v3_EventServiceConfig* envoy_config_core_v3_EventServiceConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_EventServiceConfig* ret = envoy_config_core_v3_EventServiceConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_EventServiceConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__EventServiceConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +47,7 @@ UPB_INLINE envoy_config_core_v3_EventServiceConfig* envoy_config_core_v3_EventSe int options, upb_Arena* arena) { envoy_config_core_v3_EventServiceConfig* ret = envoy_config_core_v3_EventServiceConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_EventServiceConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__EventServiceConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +55,13 @@ UPB_INLINE envoy_config_core_v3_EventServiceConfig* envoy_config_core_v3_EventSe } UPB_INLINE char* envoy_config_core_v3_EventServiceConfig_serialize(const envoy_config_core_v3_EventServiceConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_EventServiceConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__EventServiceConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_EventServiceConfig_serialize_ex(const envoy_config_core_v3_EventServiceConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_EventServiceConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__EventServiceConfig_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -90,14 +95,12 @@ UPB_INLINE void envoy_config_core_v3_EventServiceConfig_set_grpc_service(envoy_c UPB_INLINE struct envoy_config_core_v3_GrpcService* envoy_config_core_v3_EventServiceConfig_mutable_grpc_service(envoy_config_core_v3_EventServiceConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)envoy_config_core_v3_EventServiceConfig_grpc_service(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy_config_core_v3_GrpcService_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy__config__core__v3__GrpcService_msg_init, arena); if (sub) envoy_config_core_v3_EventServiceConfig_set_grpc_service(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_core_v3_event_service_config_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c new file mode 100644 index 00000000000..171dad70b17 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c @@ -0,0 +1,51 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/event_service_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/event_service_config.upb_minitable.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_core_v3_EventServiceConfig_submsgs[1] = { + {.submsg = &envoy__config__core__v3__GrpcService_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_EventServiceConfig__fields[1] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__EventServiceConfig_msg_init = { + &envoy_config_core_v3_EventServiceConfig_submsgs[0], + &envoy_config_core_v3_EventServiceConfig__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__core__v3__EventServiceConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_event_service_config_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h new file mode 100644 index 00000000000..b5d0866cefd --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/event_service_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_EVENT_SERVICE_CONFIG_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_EVENT_SERVICE_CONFIG_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__EventServiceConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_event_service_config_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_EVENT_SERVICE_CONFIG_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h new file mode 100644 index 00000000000..0d76bd9c1bc --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h @@ -0,0 +1,116 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/extension.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPB_H_ +#define ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/config/core/v3/extension.upb_minitable.h" + +#include "google/protobuf/any.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_config_core_v3_TypedExtensionConfig envoy_config_core_v3_TypedExtensionConfig; +struct google_protobuf_Any; + + + +/* envoy.config.core.v3.TypedExtensionConfig */ + +UPB_INLINE envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_TypedExtensionConfig_new(upb_Arena* arena) { + return (envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); +} +UPB_INLINE envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_TypedExtensionConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_core_v3_TypedExtensionConfig* ret = envoy_config_core_v3_TypedExtensionConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__TypedExtensionConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_TypedExtensionConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_core_v3_TypedExtensionConfig* ret = envoy_config_core_v3_TypedExtensionConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__TypedExtensionConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_core_v3_TypedExtensionConfig_serialize(const envoy_config_core_v3_TypedExtensionConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__core__v3__TypedExtensionConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_core_v3_TypedExtensionConfig_serialize_ex(const envoy_config_core_v3_TypedExtensionConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__core__v3__TypedExtensionConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_core_v3_TypedExtensionConfig_clear_name(envoy_config_core_v3_TypedExtensionConfig* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_core_v3_TypedExtensionConfig_name(const envoy_config_core_v3_TypedExtensionConfig* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_core_v3_TypedExtensionConfig_clear_typed_config(envoy_config_core_v3_TypedExtensionConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Any* envoy_config_core_v3_TypedExtensionConfig_typed_config(const envoy_config_core_v3_TypedExtensionConfig* msg) { + const struct google_protobuf_Any* default_val = NULL; + const struct google_protobuf_Any* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_core_v3_TypedExtensionConfig_has_typed_config(const envoy_config_core_v3_TypedExtensionConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_core_v3_TypedExtensionConfig_set_name(envoy_config_core_v3_TypedExtensionConfig *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_core_v3_TypedExtensionConfig_set_typed_config(envoy_config_core_v3_TypedExtensionConfig *msg, struct google_protobuf_Any* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_TypedExtensionConfig_mutable_typed_config(envoy_config_core_v3_TypedExtensionConfig* msg, upb_Arena* arena) { + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_core_v3_TypedExtensionConfig_typed_config(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); + if (sub) envoy_config_core_v3_TypedExtensionConfig_set_typed_config(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c new file mode 100644 index 00000000000..6cdadc9e450 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c @@ -0,0 +1,53 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/extension.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_core_v3_TypedExtensionConfig_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_TypedExtensionConfig__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__TypedExtensionConfig_msg_init = { + &envoy_config_core_v3_TypedExtensionConfig_submsgs[0], + &envoy_config_core_v3_TypedExtensionConfig__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__core__v3__TypedExtensionConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_extension_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h new file mode 100644 index 00000000000..fd3d7b76d39 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/extension.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__TypedExtensionConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_extension_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h similarity index 89% rename from src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h index 3b10a2dd1c7..01909015e6a 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/grpc_method_list.proto * @@ -10,7 +9,14 @@ #define ENVOY_CONFIG_CORE_V3_GRPC_METHOD_LIST_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/grpc_method_list.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,20 +25,18 @@ extern "C" { typedef struct envoy_config_core_v3_GrpcMethodList envoy_config_core_v3_GrpcMethodList; typedef struct envoy_config_core_v3_GrpcMethodList_Service envoy_config_core_v3_GrpcMethodList_Service; -extern const upb_MiniTable envoy_config_core_v3_GrpcMethodList_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcMethodList_Service_msg_init; /* envoy.config.core.v3.GrpcMethodList */ UPB_INLINE envoy_config_core_v3_GrpcMethodList* envoy_config_core_v3_GrpcMethodList_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcMethodList*)_upb_Message_New(&envoy_config_core_v3_GrpcMethodList_msg_init, arena); + return (envoy_config_core_v3_GrpcMethodList*)_upb_Message_New(&envoy__config__core__v3__GrpcMethodList_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcMethodList* envoy_config_core_v3_GrpcMethodList_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcMethodList* ret = envoy_config_core_v3_GrpcMethodList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcMethodList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcMethodList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +46,7 @@ UPB_INLINE envoy_config_core_v3_GrpcMethodList* envoy_config_core_v3_GrpcMethodL int options, upb_Arena* arena) { envoy_config_core_v3_GrpcMethodList* ret = envoy_config_core_v3_GrpcMethodList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcMethodList_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcMethodList_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +54,13 @@ UPB_INLINE envoy_config_core_v3_GrpcMethodList* envoy_config_core_v3_GrpcMethodL } UPB_INLINE char* envoy_config_core_v3_GrpcMethodList_serialize(const envoy_config_core_v3_GrpcMethodList* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcMethodList_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcMethodList_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcMethodList_serialize_ex(const envoy_config_core_v3_GrpcMethodList* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcMethodList_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcMethodList_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_GrpcMethodList_clear_services(envoy_config_core_v3_GrpcMethodList* msg) { @@ -118,7 +122,7 @@ UPB_INLINE struct envoy_config_core_v3_GrpcMethodList_Service* envoy_config_core if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_GrpcMethodList_Service* sub = (struct envoy_config_core_v3_GrpcMethodList_Service*)_upb_Message_New(&envoy_config_core_v3_GrpcMethodList_Service_msg_init, arena); + struct envoy_config_core_v3_GrpcMethodList_Service* sub = (struct envoy_config_core_v3_GrpcMethodList_Service*)_upb_Message_New(&envoy__config__core__v3__GrpcMethodList__Service_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -127,12 +131,12 @@ UPB_INLINE struct envoy_config_core_v3_GrpcMethodList_Service* envoy_config_core /* envoy.config.core.v3.GrpcMethodList.Service */ UPB_INLINE envoy_config_core_v3_GrpcMethodList_Service* envoy_config_core_v3_GrpcMethodList_Service_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcMethodList_Service*)_upb_Message_New(&envoy_config_core_v3_GrpcMethodList_Service_msg_init, arena); + return (envoy_config_core_v3_GrpcMethodList_Service*)_upb_Message_New(&envoy__config__core__v3__GrpcMethodList__Service_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcMethodList_Service* envoy_config_core_v3_GrpcMethodList_Service_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcMethodList_Service* ret = envoy_config_core_v3_GrpcMethodList_Service_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcMethodList_Service_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcMethodList__Service_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -142,7 +146,7 @@ UPB_INLINE envoy_config_core_v3_GrpcMethodList_Service* envoy_config_core_v3_Grp int options, upb_Arena* arena) { envoy_config_core_v3_GrpcMethodList_Service* ret = envoy_config_core_v3_GrpcMethodList_Service_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcMethodList_Service_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcMethodList__Service_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -150,13 +154,13 @@ UPB_INLINE envoy_config_core_v3_GrpcMethodList_Service* envoy_config_core_v3_Grp } UPB_INLINE char* envoy_config_core_v3_GrpcMethodList_Service_serialize(const envoy_config_core_v3_GrpcMethodList_Service* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcMethodList_Service_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcMethodList__Service_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcMethodList_Service_serialize_ex(const envoy_config_core_v3_GrpcMethodList_Service* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcMethodList_Service_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcMethodList__Service_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_GrpcMethodList_Service_clear_name(envoy_config_core_v3_GrpcMethodList_Service* msg) { @@ -237,8 +241,6 @@ UPB_INLINE bool envoy_config_core_v3_GrpcMethodList_Service_add_method_names(env return true; } -extern const upb_MiniTableFile envoy_config_core_v3_grpc_method_list_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c new file mode 100644 index 00000000000..533e08d0e69 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c @@ -0,0 +1,68 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/grpc_method_list.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/grpc_method_list.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_core_v3_GrpcMethodList_submsgs[1] = { + {.submsg = &envoy__config__core__v3__GrpcMethodList__Service_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcMethodList__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcMethodList_msg_init = { + &envoy_config_core_v3_GrpcMethodList_submsgs[0], + &envoy_config_core_v3_GrpcMethodList__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcMethodList_Service__fields[2] = { + {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(0, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcMethodList__Service_msg_init = { + NULL, + &envoy_config_core_v3_GrpcMethodList_Service__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__config__core__v3__GrpcMethodList_msg_init, + &envoy__config__core__v3__GrpcMethodList__Service_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_grpc_method_list_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h new file mode 100644 index 00000000000..7721c3f5b14 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/grpc_method_list.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_GRPC_METHOD_LIST_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_GRPC_METHOD_LIST_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__GrpcMethodList_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcMethodList__Service_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_grpc_method_list_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_GRPC_METHOD_LIST_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h index df819c2a7e7..802df91b651 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/grpc_service.proto * @@ -10,7 +9,21 @@ #define ENVOY_CONFIG_CORE_V3_GRPC_SERVICE_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/empty.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/sensitive.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -31,20 +44,6 @@ typedef struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsSe typedef struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs; typedef struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value; typedef struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_EnvoyGrpc_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry_msg_init; struct envoy_config_core_v3_DataSource; struct envoy_config_core_v3_HeaderValue; struct envoy_config_core_v3_RetryPolicy; @@ -53,26 +52,18 @@ struct google_protobuf_Duration; struct google_protobuf_Empty; struct google_protobuf_Struct; struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_core_v3_DataSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HeaderValue_msg_init; -extern const upb_MiniTable envoy_config_core_v3_RetryPolicy_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_Empty_msg_init; -extern const upb_MiniTable google_protobuf_Struct_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; /* envoy.config.core.v3.GrpcService */ UPB_INLINE envoy_config_core_v3_GrpcService* envoy_config_core_v3_GrpcService_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy_config_core_v3_GrpcService_msg_init, arena); + return (envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy__config__core__v3__GrpcService_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcService* envoy_config_core_v3_GrpcService_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcService* ret = envoy_config_core_v3_GrpcService_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -82,7 +73,7 @@ UPB_INLINE envoy_config_core_v3_GrpcService* envoy_config_core_v3_GrpcService_pa int options, upb_Arena* arena) { envoy_config_core_v3_GrpcService* ret = envoy_config_core_v3_GrpcService_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -90,13 +81,13 @@ UPB_INLINE envoy_config_core_v3_GrpcService* envoy_config_core_v3_GrpcService_pa } UPB_INLINE char* envoy_config_core_v3_GrpcService_serialize(const envoy_config_core_v3_GrpcService* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcService_serialize_ex(const envoy_config_core_v3_GrpcService* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -198,7 +189,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_set_envoy_grpc(envoy_config_cor UPB_INLINE struct envoy_config_core_v3_GrpcService_EnvoyGrpc* envoy_config_core_v3_GrpcService_mutable_envoy_grpc(envoy_config_core_v3_GrpcService* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService_EnvoyGrpc* sub = (struct envoy_config_core_v3_GrpcService_EnvoyGrpc*)envoy_config_core_v3_GrpcService_envoy_grpc(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService_EnvoyGrpc*)_upb_Message_New(&envoy_config_core_v3_GrpcService_EnvoyGrpc_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService_EnvoyGrpc*)_upb_Message_New(&envoy__config__core__v3__GrpcService__EnvoyGrpc_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_set_envoy_grpc(msg, sub); } return sub; @@ -210,7 +201,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_set_google_grpc(envoy_config_co UPB_INLINE struct envoy_config_core_v3_GrpcService_GoogleGrpc* envoy_config_core_v3_GrpcService_mutable_google_grpc(envoy_config_core_v3_GrpcService* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService_GoogleGrpc* sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc*)envoy_config_core_v3_GrpcService_google_grpc(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_set_google_grpc(msg, sub); } return sub; @@ -222,7 +213,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_set_timeout(envoy_config_core_v UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_GrpcService_mutable_timeout(envoy_config_core_v3_GrpcService* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_GrpcService_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_set_timeout(msg, sub); } return sub; @@ -248,7 +239,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_GrpcSer if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HeaderValue* sub = (struct envoy_config_core_v3_HeaderValue*)_upb_Message_New(&envoy_config_core_v3_HeaderValue_msg_init, arena); + struct envoy_config_core_v3_HeaderValue* sub = (struct envoy_config_core_v3_HeaderValue*)_upb_Message_New(&envoy__config__core__v3__HeaderValue_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -257,12 +248,12 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValue* envoy_config_core_v3_GrpcSer /* envoy.config.core.v3.GrpcService.EnvoyGrpc */ UPB_INLINE envoy_config_core_v3_GrpcService_EnvoyGrpc* envoy_config_core_v3_GrpcService_EnvoyGrpc_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcService_EnvoyGrpc*)_upb_Message_New(&envoy_config_core_v3_GrpcService_EnvoyGrpc_msg_init, arena); + return (envoy_config_core_v3_GrpcService_EnvoyGrpc*)_upb_Message_New(&envoy__config__core__v3__GrpcService__EnvoyGrpc_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcService_EnvoyGrpc* envoy_config_core_v3_GrpcService_EnvoyGrpc_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcService_EnvoyGrpc* ret = envoy_config_core_v3_GrpcService_EnvoyGrpc_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_EnvoyGrpc_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__EnvoyGrpc_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -272,7 +263,7 @@ UPB_INLINE envoy_config_core_v3_GrpcService_EnvoyGrpc* envoy_config_core_v3_Grpc int options, upb_Arena* arena) { envoy_config_core_v3_GrpcService_EnvoyGrpc* ret = envoy_config_core_v3_GrpcService_EnvoyGrpc_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_EnvoyGrpc_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__EnvoyGrpc_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -280,13 +271,13 @@ UPB_INLINE envoy_config_core_v3_GrpcService_EnvoyGrpc* envoy_config_core_v3_Grpc } UPB_INLINE char* envoy_config_core_v3_GrpcService_EnvoyGrpc_serialize(const envoy_config_core_v3_GrpcService_EnvoyGrpc* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_EnvoyGrpc_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__EnvoyGrpc_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcService_EnvoyGrpc_serialize_ex(const envoy_config_core_v3_GrpcService_EnvoyGrpc* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_EnvoyGrpc_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__EnvoyGrpc_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_GrpcService_EnvoyGrpc_clear_cluster_name(envoy_config_core_v3_GrpcService_EnvoyGrpc* msg) { @@ -342,7 +333,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_EnvoyGrpc_set_retry_policy(envo UPB_INLINE struct envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_GrpcService_EnvoyGrpc_mutable_retry_policy(envoy_config_core_v3_GrpcService_EnvoyGrpc* msg, upb_Arena* arena) { struct envoy_config_core_v3_RetryPolicy* sub = (struct envoy_config_core_v3_RetryPolicy*)envoy_config_core_v3_GrpcService_EnvoyGrpc_retry_policy(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_RetryPolicy*)_upb_Message_New(&envoy_config_core_v3_RetryPolicy_msg_init, arena); + sub = (struct envoy_config_core_v3_RetryPolicy*)_upb_Message_New(&envoy__config__core__v3__RetryPolicy_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_EnvoyGrpc_set_retry_policy(msg, sub); } return sub; @@ -351,12 +342,12 @@ UPB_INLINE struct envoy_config_core_v3_RetryPolicy* envoy_config_core_v3_GrpcSer /* envoy.config.core.v3.GrpcService.GoogleGrpc */ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc* envoy_config_core_v3_GrpcService_GoogleGrpc_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcService_GoogleGrpc*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_msg_init, arena); + return (envoy_config_core_v3_GrpcService_GoogleGrpc*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc* envoy_config_core_v3_GrpcService_GoogleGrpc_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -366,7 +357,7 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc* envoy_config_core_v3_Grp int options, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -374,13 +365,13 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc* envoy_config_core_v3_Grp } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_serialize(const envoy_config_core_v3_GrpcService_GoogleGrpc* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_serialize_ex(const envoy_config_core_v3_GrpcService_GoogleGrpc* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_clear_target_uri(envoy_config_core_v3_GrpcService_GoogleGrpc* msg) { @@ -525,7 +516,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_set_channel_credenti UPB_INLINE struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_mutable_channel_credentials(envoy_config_core_v3_GrpcService_GoogleGrpc* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials* sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials*)envoy_config_core_v3_GrpcService_GoogleGrpc_channel_credentials(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelCredentials_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_set_channel_credentials(msg, sub); } return sub; @@ -551,7 +542,7 @@ UPB_INLINE struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* e if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_msg_init, arena); + struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -571,7 +562,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_set_config(envoy_con UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_GrpcService_GoogleGrpc_mutable_config(envoy_config_core_v3_GrpcService_GoogleGrpc* msg, upb_Arena* arena) { struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_core_v3_GrpcService_GoogleGrpc_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_set_config(msg, sub); } return sub; @@ -583,7 +574,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_set_per_stream_buffe UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_GrpcService_GoogleGrpc_mutable_per_stream_buffer_limit_bytes(envoy_config_core_v3_GrpcService_GoogleGrpc* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_GrpcService_GoogleGrpc_per_stream_buffer_limit_bytes(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_set_per_stream_buffer_limit_bytes(msg, sub); } return sub; @@ -595,7 +586,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_set_channel_args(env UPB_INLINE struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs* envoy_config_core_v3_GrpcService_GoogleGrpc_mutable_channel_args(envoy_config_core_v3_GrpcService_GoogleGrpc* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs* sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs*)envoy_config_core_v3_GrpcService_GoogleGrpc_channel_args(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_set_channel_args(msg, sub); } return sub; @@ -604,12 +595,12 @@ UPB_INLINE struct envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs* envoy /* envoy.config.core.v3.GrpcService.GoogleGrpc.SslCredentials */ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_msg_init, arena); + return (envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__SslCredentials_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__SslCredentials_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -619,7 +610,7 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* envoy_con int options, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__SslCredentials_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -627,13 +618,13 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* envoy_con } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_serialize(const envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__SslCredentials_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_serialize_ex(const envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__SslCredentials_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_clear_root_certs(envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* msg) { @@ -689,7 +680,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_set_r UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_mutable_root_certs(envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* msg, upb_Arena* arena) { struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_root_certs(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_set_root_certs(msg, sub); } return sub; @@ -701,7 +692,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_set_p UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_mutable_private_key(envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* msg, upb_Arena* arena) { struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_private_key(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_set_private_key(msg, sub); } return sub; @@ -713,7 +704,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_set_c UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_mutable_cert_chain(envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* msg, upb_Arena* arena) { struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_cert_chain(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_set_cert_chain(msg, sub); } return sub; @@ -722,12 +713,12 @@ UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_GrpcServ /* envoy.config.core.v3.GrpcService.GoogleGrpc.GoogleLocalCredentials */ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_msg_init, arena); + return (envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__GoogleLocalCredentials_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__GoogleLocalCredentials_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -737,7 +728,7 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials* e int options, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__GoogleLocalCredentials_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -745,13 +736,13 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials* e } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_serialize(const envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__GoogleLocalCredentials_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_serialize_ex(const envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__GoogleLocalCredentials_msg_init, options, arena, &ptr, len); return ptr; } @@ -759,12 +750,12 @@ UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredenti /* envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelCredentials */ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_msg_init, arena); + return (envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelCredentials_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelCredentials_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -774,7 +765,7 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials* envoy int options, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelCredentials_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -782,13 +773,13 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials* envoy } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_serialize(const envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelCredentials_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_serialize_ex(const envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelCredentials_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -854,7 +845,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_s UPB_INLINE struct envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_mutable_ssl_credentials(envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials* sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials*)envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_ssl_credentials(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__SslCredentials_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_set_ssl_credentials(msg, sub); } return sub; @@ -866,7 +857,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_s UPB_INLINE struct google_protobuf_Empty* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_mutable_google_default(envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials* msg, upb_Arena* arena) { struct google_protobuf_Empty* sub = (struct google_protobuf_Empty*)envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_google_default(msg); if (sub == NULL) { - sub = (struct google_protobuf_Empty*)_upb_Message_New(&google_protobuf_Empty_msg_init, arena); + sub = (struct google_protobuf_Empty*)_upb_Message_New(&google__protobuf__Empty_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_set_google_default(msg, sub); } return sub; @@ -878,7 +869,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_s UPB_INLINE struct envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_mutable_local_credentials(envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials* sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials*)envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_local_credentials(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__GoogleLocalCredentials_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_set_local_credentials(msg, sub); } return sub; @@ -887,12 +878,12 @@ UPB_INLINE struct envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredent /* envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials */ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_msg_init, arena); + return (envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -902,7 +893,7 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* envoy_co int options, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -910,13 +901,13 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* envoy_co } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_serialize(const envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_serialize_ex(const envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1050,7 +1041,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_set_ UPB_INLINE struct google_protobuf_Empty* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_mutable_google_compute_engine(envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* msg, upb_Arena* arena) { struct google_protobuf_Empty* sub = (struct google_protobuf_Empty*)envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_google_compute_engine(msg); if (sub == NULL) { - sub = (struct google_protobuf_Empty*)_upb_Message_New(&google_protobuf_Empty_msg_init, arena); + sub = (struct google_protobuf_Empty*)_upb_Message_New(&google__protobuf__Empty_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_set_google_compute_engine(msg, sub); } return sub; @@ -1066,7 +1057,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_set_ UPB_INLINE struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_mutable_service_account_jwt_access(envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials*)envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_service_account_jwt_access(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__ServiceAccountJWTAccessCredentials_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_set_service_account_jwt_access(msg, sub); } return sub; @@ -1078,7 +1069,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_set_ UPB_INLINE struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_mutable_google_iam(envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials*)envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_google_iam(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__GoogleIAMCredentials_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_set_google_iam(msg, sub); } return sub; @@ -1090,7 +1081,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_set_ UPB_INLINE struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_mutable_from_plugin(envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin*)envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_from_plugin(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__MetadataCredentialsFromPlugin_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_set_from_plugin(msg, sub); } return sub; @@ -1102,7 +1093,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_set_ UPB_INLINE struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_mutable_sts_service(envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService* sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService*)envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_sts_service(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__StsService_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_set_sts_service(msg, sub); } return sub; @@ -1111,12 +1102,12 @@ UPB_INLINE struct envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_St /* envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials.ServiceAccountJWTAccessCredentials */ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msg_init, arena); + return (envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__ServiceAccountJWTAccessCredentials_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__ServiceAccountJWTAccessCredentials_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1126,7 +1117,7 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAc int options, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__ServiceAccountJWTAccessCredentials_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1134,13 +1125,13 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAc } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_serialize(const envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__ServiceAccountJWTAccessCredentials_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_serialize_ex(const envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__ServiceAccountJWTAccessCredentials_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_clear_json_key(envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* msg) { @@ -1178,12 +1169,12 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_Serv /* envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials.GoogleIAMCredentials */ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msg_init, arena); + return (envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__GoogleIAMCredentials_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__GoogleIAMCredentials_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1193,7 +1184,7 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAM int options, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__GoogleIAMCredentials_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1201,13 +1192,13 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAM } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_serialize(const envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__GoogleIAMCredentials_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_serialize_ex(const envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__GoogleIAMCredentials_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_clear_authorization_token(envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* msg) { @@ -1245,12 +1236,12 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_Goog /* envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials.MetadataCredentialsFromPlugin */ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msg_init, arena); + return (envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__MetadataCredentialsFromPlugin_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__MetadataCredentialsFromPlugin_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1260,7 +1251,7 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataC int options, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__MetadataCredentialsFromPlugin_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1268,13 +1259,13 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataC } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_serialize(const envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__MetadataCredentialsFromPlugin_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_serialize_ex(const envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__MetadataCredentialsFromPlugin_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1323,7 +1314,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_Meta UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_mutable_typed_config(envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_set_typed_config(msg, sub); } return sub; @@ -1332,12 +1323,12 @@ UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_GrpcService_GoogleGr /* envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials.StsService */ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_msg_init, arena); + return (envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__StsService_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__StsService_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1347,7 +1338,7 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsServic int options, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__StsService_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1355,13 +1346,13 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsServic } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_serialize(const envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__StsService_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_serialize_ex(const envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__StsService_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_clear_token_exchange_service_uri(envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService* msg) { @@ -1504,12 +1495,12 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsS /* envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelArgs */ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_msg_init, arena); + return (envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1519,7 +1510,7 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs* envoy_config int options, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1527,13 +1518,13 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs* envoy_config } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_serialize(const envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_serialize_ex(const envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_clear_args(envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs* msg) { @@ -1586,12 +1577,12 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry* en /* envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelArgs.Value */ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value*)_upb_Message_New(&envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_msg_init, arena); + return (envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value*)_upb_Message_New(&envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs__Value_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs__Value_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1601,7 +1592,7 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value* envoy_ int options, upb_Arena* arena) { envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value* ret = envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs__Value_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1609,13 +1600,13 @@ UPB_INLINE envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value* envoy_ } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_serialize(const envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs__Value_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_serialize_ex(const envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs__Value_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1688,8 +1679,6 @@ UPB_INLINE void envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntr _upb_msg_map_set_value(msg, &value, sizeof(envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value*)); } -extern const upb_MiniTableFile envoy_config_core_v3_grpc_service_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c new file mode 100644 index 00000000000..f0c15bd72d8 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c @@ -0,0 +1,378 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/grpc_service.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/empty.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/sensitive.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_core_v3_GrpcService_submsgs[4] = { + {.submsg = &envoy__config__core__v3__GrpcService__EnvoyGrpc_msg_init}, + {.submsg = &envoy__config__core__v3__GrpcService__GoogleGrpc_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__core__v3__HeaderValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcService__fields[4] = { + {1, UPB_SIZE(16, 24), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService_msg_init = { + &envoy_config_core_v3_GrpcService_submsgs[0], + &envoy_config_core_v3_GrpcService__fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800040100000a, &upb_pom_1bt_max64b}, + {0x0018000402010012, &upb_pom_1bt_max128b}, + {0x000800000102001a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f03002a, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_GrpcService_EnvoyGrpc_submsgs[1] = { + {.submsg = &envoy__config__core__v3__RetryPolicy_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcService_EnvoyGrpc__fields[3] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService__EnvoyGrpc_msg_init = { + &envoy_config_core_v3_GrpcService_EnvoyGrpc_submsgs[0], + &envoy_config_core_v3_GrpcService_EnvoyGrpc__fields[0], + UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x002800000100001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_submsgs[5] = { + {.submsg = &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelCredentials_msg_init}, + {.submsg = &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials_msg_init}, + {.submsg = &google__protobuf__Struct_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc__fields[8] = { + {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(40, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 72), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(16, 80), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(20, 88), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc_msg_init = { + &envoy_config_core_v3_GrpcService_GoogleGrpc_submsgs[0], + &envoy_config_core_v3_GrpcService_GoogleGrpc__fields[0], + UPB_SIZE(48, 96), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x002000003f01001a, &upb_prm_1bt_max64b}, + {0x002800003f000022, &upb_pss_1bt}, + {0x003800003f00002a, &upb_pss_1bt}, + {0x0048000002020032, &upb_psm_1bt_maxmaxb}, + {0x005000000303003a, &upb_psm_1bt_maxmaxb}, + {0x0058000004040042, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_submsgs[3] = { + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__SslCredentials_msg_init = { + &envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_submsgs[0], + &envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__GoogleLocalCredentials_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_submsgs[3] = { + {.submsg = &envoy__config__core__v3__GrpcService__GoogleGrpc__SslCredentials_msg_init}, + {.submsg = &google__protobuf__Empty_msg_init}, + {.submsg = &envoy__config__core__v3__GrpcService__GoogleGrpc__GoogleLocalCredentials_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials__fields[3] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelCredentials_msg_init = { + &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_submsgs[0], + &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials__fields[0], + UPB_SIZE(8, 16), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_maxmaxb}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_submsgs[5] = { + {.submsg = &google__protobuf__Empty_msg_init}, + {.submsg = &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__ServiceAccountJWTAccessCredentials_msg_init}, + {.submsg = &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__GoogleIAMCredentials_msg_init}, + {.submsg = &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__MetadataCredentialsFromPlugin_msg_init}, + {.submsg = &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__StsService_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials__fields[7] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials_msg_init = { + &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_submsgs[0], + &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials__fields[0], + UPB_SIZE(16, 24), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + {0x0008000002000012, &upb_pom_1bt_maxmaxb}, + {0x000800000300001a, &upb_pos_1bt}, + {0x0008000004010022, &upb_pom_1bt_max64b}, + {0x000800000502002a, &upb_pom_1bt_max64b}, + {0x0008000006030032, &upb_pom_1bt_max64b}, + {0x000800000704003a, &upb_pom_1bt_max192b}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__ServiceAccountJWTAccessCredentials_msg_init = { + NULL, + &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000010, &upb_psv8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__GoogleIAMCredentials_msg_init = { + NULL, + &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__MetadataCredentialsFromPlugin_msg_init = { + &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_submsgs[0], + &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000300001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService__fields[9] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(40, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(48, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(56, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(64, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__StsService_msg_init = { + NULL, + &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService__fields[0], + UPB_SIZE(72, 144), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000003f00001a, &upb_pss_1bt}, + {0x003000003f000022, &upb_pss_1bt}, + {0x004000003f00002a, &upb_pss_1bt}, + {0x005000003f000032, &upb_pss_1bt}, + {0x006000003f00003a, &upb_pss_1bt}, + {0x007000003f000042, &upb_pss_1bt}, + {0x008000003f00004a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_submsgs[1] = { + {.submsg = &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs__ArgsEntry_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs_msg_init = { + &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_submsgs[0], + &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value__fields[2] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs__Value_msg_init = { + NULL, + &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + {0x0008000002000010, &upb_pov8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry_submsgs[1] = { + {.submsg = &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs__Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs__ArgsEntry_msg_init = { + &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry_submsgs[0], + &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[14] = { + &envoy__config__core__v3__GrpcService_msg_init, + &envoy__config__core__v3__GrpcService__EnvoyGrpc_msg_init, + &envoy__config__core__v3__GrpcService__GoogleGrpc_msg_init, + &envoy__config__core__v3__GrpcService__GoogleGrpc__SslCredentials_msg_init, + &envoy__config__core__v3__GrpcService__GoogleGrpc__GoogleLocalCredentials_msg_init, + &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelCredentials_msg_init, + &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials_msg_init, + &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__ServiceAccountJWTAccessCredentials_msg_init, + &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__GoogleIAMCredentials_msg_init, + &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__MetadataCredentialsFromPlugin_msg_init, + &envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__StsService_msg_init, + &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs_msg_init, + &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs__Value_msg_init, + &envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs__ArgsEntry_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_grpc_service_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 14, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h new file mode 100644 index 00000000000..a29a44a33e7 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h @@ -0,0 +1,43 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/grpc_service.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_GRPC_SERVICE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_GRPC_SERVICE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__GrpcService_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcService__EnvoyGrpc_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__SslCredentials_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__GoogleLocalCredentials_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelCredentials_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__ServiceAccountJWTAccessCredentials_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__GoogleIAMCredentials_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__MetadataCredentialsFromPlugin_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__CallCredentials__StsService_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs__Value_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcService__GoogleGrpc__ChannelArgs__ArgsEntry_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_grpc_service_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_GRPC_SERVICE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h similarity index 93% rename from src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h index 64141aee329..8d561c8a467 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/health_check.proto * @@ -10,7 +9,25 @@ #define ENVOY_CONFIG_CORE_V3_HEALTH_CHECK_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/health_check.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/event_service_config.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "envoy/type/v3/http.upb_minitable.h" +#include "envoy/type/v3/range.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -26,15 +43,6 @@ typedef struct envoy_config_core_v3_HealthCheck_RedisHealthCheck envoy_config_co typedef struct envoy_config_core_v3_HealthCheck_GrpcHealthCheck envoy_config_core_v3_HealthCheck_GrpcHealthCheck; typedef struct envoy_config_core_v3_HealthCheck_CustomHealthCheck envoy_config_core_v3_HealthCheck_CustomHealthCheck; typedef struct envoy_config_core_v3_HealthCheck_TlsOptions envoy_config_core_v3_HealthCheck_TlsOptions; -extern const upb_MiniTable envoy_config_core_v3_HealthStatusSet_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HealthCheck_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HealthCheck_Payload_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HealthCheck_HttpHealthCheck_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HealthCheck_TcpHealthCheck_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HealthCheck_RedisHealthCheck_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HealthCheck_GrpcHealthCheck_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HealthCheck_CustomHealthCheck_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HealthCheck_TlsOptions_msg_init; struct envoy_config_core_v3_EventServiceConfig; struct envoy_config_core_v3_HeaderValueOption; struct envoy_config_core_v3_TypedExtensionConfig; @@ -46,17 +54,6 @@ struct google_protobuf_Duration; struct google_protobuf_Struct; struct google_protobuf_UInt32Value; struct google_protobuf_UInt64Value; -extern const upb_MiniTable envoy_config_core_v3_EventServiceConfig_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HeaderValueOption_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msg_init; -extern const upb_MiniTable envoy_type_v3_Int64Range_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_Struct_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; -extern const upb_MiniTable google_protobuf_UInt64Value_msg_init; typedef enum { envoy_config_core_v3_UNKNOWN = 0, @@ -72,12 +69,12 @@ typedef enum { /* envoy.config.core.v3.HealthStatusSet */ UPB_INLINE envoy_config_core_v3_HealthStatusSet* envoy_config_core_v3_HealthStatusSet_new(upb_Arena* arena) { - return (envoy_config_core_v3_HealthStatusSet*)_upb_Message_New(&envoy_config_core_v3_HealthStatusSet_msg_init, arena); + return (envoy_config_core_v3_HealthStatusSet*)_upb_Message_New(&envoy__config__core__v3__HealthStatusSet_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HealthStatusSet* envoy_config_core_v3_HealthStatusSet_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HealthStatusSet* ret = envoy_config_core_v3_HealthStatusSet_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthStatusSet_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthStatusSet_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -87,7 +84,7 @@ UPB_INLINE envoy_config_core_v3_HealthStatusSet* envoy_config_core_v3_HealthStat int options, upb_Arena* arena) { envoy_config_core_v3_HealthStatusSet* ret = envoy_config_core_v3_HealthStatusSet_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthStatusSet_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthStatusSet_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -95,13 +92,13 @@ UPB_INLINE envoy_config_core_v3_HealthStatusSet* envoy_config_core_v3_HealthStat } UPB_INLINE char* envoy_config_core_v3_HealthStatusSet_serialize(const envoy_config_core_v3_HealthStatusSet* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthStatusSet_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthStatusSet_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HealthStatusSet_serialize_ex(const envoy_config_core_v3_HealthStatusSet* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthStatusSet_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthStatusSet_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_HealthStatusSet_clear_statuses(envoy_config_core_v3_HealthStatusSet* msg) { @@ -170,12 +167,12 @@ UPB_INLINE bool envoy_config_core_v3_HealthStatusSet_add_statuses(envoy_config_c /* envoy.config.core.v3.HealthCheck */ UPB_INLINE envoy_config_core_v3_HealthCheck* envoy_config_core_v3_HealthCheck_new(upb_Arena* arena) { - return (envoy_config_core_v3_HealthCheck*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_msg_init, arena); + return (envoy_config_core_v3_HealthCheck*)_upb_Message_New(&envoy__config__core__v3__HealthCheck_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HealthCheck* envoy_config_core_v3_HealthCheck_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HealthCheck* ret = envoy_config_core_v3_HealthCheck_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -185,7 +182,7 @@ UPB_INLINE envoy_config_core_v3_HealthCheck* envoy_config_core_v3_HealthCheck_pa int options, upb_Arena* arena) { envoy_config_core_v3_HealthCheck* ret = envoy_config_core_v3_HealthCheck_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -193,13 +190,13 @@ UPB_INLINE envoy_config_core_v3_HealthCheck* envoy_config_core_v3_HealthCheck_pa } UPB_INLINE char* envoy_config_core_v3_HealthCheck_serialize(const envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HealthCheck_serialize_ex(const envoy_config_core_v3_HealthCheck* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -591,7 +588,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_timeout(envoy_config_core_v UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HealthCheck_mutable_timeout(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HealthCheck_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_timeout(msg, sub); } return sub; @@ -603,7 +600,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_interval(envoy_config_core_ UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HealthCheck_mutable_interval(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HealthCheck_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_interval(msg, sub); } return sub; @@ -615,7 +612,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_interval_jitter(envoy_confi UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HealthCheck_mutable_interval_jitter(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HealthCheck_interval_jitter(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_interval_jitter(msg, sub); } return sub; @@ -627,7 +624,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_unhealthy_threshold(envoy_c UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_HealthCheck_mutable_unhealthy_threshold(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_HealthCheck_unhealthy_threshold(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_unhealthy_threshold(msg, sub); } return sub; @@ -639,7 +636,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_healthy_threshold(envoy_con UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_HealthCheck_mutable_healthy_threshold(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_HealthCheck_healthy_threshold(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_healthy_threshold(msg, sub); } return sub; @@ -651,7 +648,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_alt_port(envoy_config_core_ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_HealthCheck_mutable_alt_port(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_HealthCheck_alt_port(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_alt_port(msg, sub); } return sub; @@ -663,7 +660,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_reuse_connection(envoy_conf UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_HealthCheck_mutable_reuse_connection(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_HealthCheck_reuse_connection(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_reuse_connection(msg, sub); } return sub; @@ -675,7 +672,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_http_health_check(envoy_con UPB_INLINE struct envoy_config_core_v3_HealthCheck_HttpHealthCheck* envoy_config_core_v3_HealthCheck_mutable_http_health_check(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct envoy_config_core_v3_HealthCheck_HttpHealthCheck* sub = (struct envoy_config_core_v3_HealthCheck_HttpHealthCheck*)envoy_config_core_v3_HealthCheck_http_health_check(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_HealthCheck_HttpHealthCheck*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_HttpHealthCheck_msg_init, arena); + sub = (struct envoy_config_core_v3_HealthCheck_HttpHealthCheck*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__HttpHealthCheck_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_http_health_check(msg, sub); } return sub; @@ -687,7 +684,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_tcp_health_check(envoy_conf UPB_INLINE struct envoy_config_core_v3_HealthCheck_TcpHealthCheck* envoy_config_core_v3_HealthCheck_mutable_tcp_health_check(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct envoy_config_core_v3_HealthCheck_TcpHealthCheck* sub = (struct envoy_config_core_v3_HealthCheck_TcpHealthCheck*)envoy_config_core_v3_HealthCheck_tcp_health_check(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_HealthCheck_TcpHealthCheck*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_TcpHealthCheck_msg_init, arena); + sub = (struct envoy_config_core_v3_HealthCheck_TcpHealthCheck*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__TcpHealthCheck_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_tcp_health_check(msg, sub); } return sub; @@ -699,7 +696,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_grpc_health_check(envoy_con UPB_INLINE struct envoy_config_core_v3_HealthCheck_GrpcHealthCheck* envoy_config_core_v3_HealthCheck_mutable_grpc_health_check(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct envoy_config_core_v3_HealthCheck_GrpcHealthCheck* sub = (struct envoy_config_core_v3_HealthCheck_GrpcHealthCheck*)envoy_config_core_v3_HealthCheck_grpc_health_check(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_HealthCheck_GrpcHealthCheck*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_GrpcHealthCheck_msg_init, arena); + sub = (struct envoy_config_core_v3_HealthCheck_GrpcHealthCheck*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__GrpcHealthCheck_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_grpc_health_check(msg, sub); } return sub; @@ -711,7 +708,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_no_traffic_interval(envoy_c UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HealthCheck_mutable_no_traffic_interval(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HealthCheck_no_traffic_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_no_traffic_interval(msg, sub); } return sub; @@ -723,7 +720,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_custom_health_check(envoy_c UPB_INLINE struct envoy_config_core_v3_HealthCheck_CustomHealthCheck* envoy_config_core_v3_HealthCheck_mutable_custom_health_check(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct envoy_config_core_v3_HealthCheck_CustomHealthCheck* sub = (struct envoy_config_core_v3_HealthCheck_CustomHealthCheck*)envoy_config_core_v3_HealthCheck_custom_health_check(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_HealthCheck_CustomHealthCheck*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_CustomHealthCheck_msg_init, arena); + sub = (struct envoy_config_core_v3_HealthCheck_CustomHealthCheck*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__CustomHealthCheck_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_custom_health_check(msg, sub); } return sub; @@ -735,7 +732,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_unhealthy_interval(envoy_co UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HealthCheck_mutable_unhealthy_interval(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HealthCheck_unhealthy_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_unhealthy_interval(msg, sub); } return sub; @@ -747,7 +744,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_unhealthy_edge_interval(env UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HealthCheck_mutable_unhealthy_edge_interval(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HealthCheck_unhealthy_edge_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_unhealthy_edge_interval(msg, sub); } return sub; @@ -759,7 +756,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_healthy_edge_interval(envoy UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HealthCheck_mutable_healthy_edge_interval(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HealthCheck_healthy_edge_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_healthy_edge_interval(msg, sub); } return sub; @@ -783,7 +780,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_initial_jitter(envoy_config UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HealthCheck_mutable_initial_jitter(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HealthCheck_initial_jitter(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_initial_jitter(msg, sub); } return sub; @@ -795,7 +792,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_tls_options(envoy_config_co UPB_INLINE struct envoy_config_core_v3_HealthCheck_TlsOptions* envoy_config_core_v3_HealthCheck_mutable_tls_options(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct envoy_config_core_v3_HealthCheck_TlsOptions* sub = (struct envoy_config_core_v3_HealthCheck_TlsOptions*)envoy_config_core_v3_HealthCheck_tls_options(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_HealthCheck_TlsOptions*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_TlsOptions_msg_init, arena); + sub = (struct envoy_config_core_v3_HealthCheck_TlsOptions*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__TlsOptions_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_tls_options(msg, sub); } return sub; @@ -807,7 +804,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_event_service(envoy_config_ UPB_INLINE struct envoy_config_core_v3_EventServiceConfig* envoy_config_core_v3_HealthCheck_mutable_event_service(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct envoy_config_core_v3_EventServiceConfig* sub = (struct envoy_config_core_v3_EventServiceConfig*)envoy_config_core_v3_HealthCheck_event_service(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_EventServiceConfig*)_upb_Message_New(&envoy_config_core_v3_EventServiceConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_EventServiceConfig*)_upb_Message_New(&envoy__config__core__v3__EventServiceConfig_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_event_service(msg, sub); } return sub; @@ -819,7 +816,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_transport_socket_match_crit UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_HealthCheck_mutable_transport_socket_match_criteria(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_core_v3_HealthCheck_transport_socket_match_criteria(msg); if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_transport_socket_match_criteria(msg, sub); } return sub; @@ -831,7 +828,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_set_no_traffic_healthy_interval UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HealthCheck_mutable_no_traffic_healthy_interval(envoy_config_core_v3_HealthCheck* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HealthCheck_no_traffic_healthy_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_set_no_traffic_healthy_interval(msg, sub); } return sub; @@ -857,7 +854,7 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -866,12 +863,12 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v /* envoy.config.core.v3.HealthCheck.Payload */ UPB_INLINE envoy_config_core_v3_HealthCheck_Payload* envoy_config_core_v3_HealthCheck_Payload_new(upb_Arena* arena) { - return (envoy_config_core_v3_HealthCheck_Payload*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_Payload_msg_init, arena); + return (envoy_config_core_v3_HealthCheck_Payload*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__Payload_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HealthCheck_Payload* envoy_config_core_v3_HealthCheck_Payload_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_Payload* ret = envoy_config_core_v3_HealthCheck_Payload_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_Payload_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__Payload_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -881,7 +878,7 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_Payload* envoy_config_core_v3_Health int options, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_Payload* ret = envoy_config_core_v3_HealthCheck_Payload_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_Payload_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__Payload_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -889,13 +886,13 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_Payload* envoy_config_core_v3_Health } UPB_INLINE char* envoy_config_core_v3_HealthCheck_Payload_serialize(const envoy_config_core_v3_HealthCheck_Payload* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_Payload_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__Payload_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HealthCheck_Payload_serialize_ex(const envoy_config_core_v3_HealthCheck_Payload* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_Payload_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__Payload_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -950,12 +947,12 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_Payload_set_binary(envoy_config /* envoy.config.core.v3.HealthCheck.HttpHealthCheck */ UPB_INLINE envoy_config_core_v3_HealthCheck_HttpHealthCheck* envoy_config_core_v3_HealthCheck_HttpHealthCheck_new(upb_Arena* arena) { - return (envoy_config_core_v3_HealthCheck_HttpHealthCheck*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_HttpHealthCheck_msg_init, arena); + return (envoy_config_core_v3_HealthCheck_HttpHealthCheck*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__HttpHealthCheck_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HealthCheck_HttpHealthCheck* envoy_config_core_v3_HealthCheck_HttpHealthCheck_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_HttpHealthCheck* ret = envoy_config_core_v3_HealthCheck_HttpHealthCheck_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_HttpHealthCheck_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__HttpHealthCheck_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -965,7 +962,7 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_HttpHealthCheck* envoy_config_core_v int options, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_HttpHealthCheck* ret = envoy_config_core_v3_HealthCheck_HttpHealthCheck_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_HttpHealthCheck_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__HttpHealthCheck_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -973,13 +970,13 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_HttpHealthCheck* envoy_config_core_v } UPB_INLINE char* envoy_config_core_v3_HealthCheck_HttpHealthCheck_serialize(const envoy_config_core_v3_HealthCheck_HttpHealthCheck* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_HttpHealthCheck_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__HttpHealthCheck_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HealthCheck_HttpHealthCheck_serialize_ex(const envoy_config_core_v3_HealthCheck_HttpHealthCheck* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_HttpHealthCheck_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__HttpHealthCheck_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_HealthCheck_HttpHealthCheck_clear_host(envoy_config_core_v3_HealthCheck_HttpHealthCheck* msg) { @@ -1272,7 +1269,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_HttpHealthCheck_set_send(envoy_ UPB_INLINE struct envoy_config_core_v3_HealthCheck_Payload* envoy_config_core_v3_HealthCheck_HttpHealthCheck_mutable_send(envoy_config_core_v3_HealthCheck_HttpHealthCheck* msg, upb_Arena* arena) { struct envoy_config_core_v3_HealthCheck_Payload* sub = (struct envoy_config_core_v3_HealthCheck_Payload*)envoy_config_core_v3_HealthCheck_HttpHealthCheck_send(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_HealthCheck_Payload*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_Payload_msg_init, arena); + sub = (struct envoy_config_core_v3_HealthCheck_Payload*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__Payload_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_HttpHealthCheck_set_send(msg, sub); } return sub; @@ -1298,7 +1295,7 @@ UPB_INLINE struct envoy_config_core_v3_HealthCheck_Payload* envoy_config_core_v3 if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HealthCheck_Payload* sub = (struct envoy_config_core_v3_HealthCheck_Payload*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_Payload_msg_init, arena); + struct envoy_config_core_v3_HealthCheck_Payload* sub = (struct envoy_config_core_v3_HealthCheck_Payload*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__Payload_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1324,7 +1321,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_H if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy_config_core_v3_HeaderValueOption_msg_init, arena); + struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1374,7 +1371,7 @@ UPB_INLINE struct envoy_type_v3_Int64Range* envoy_config_core_v3_HealthCheck_Htt if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_type_v3_Int64Range* sub = (struct envoy_type_v3_Int64Range*)_upb_Message_New(&envoy_type_v3_Int64Range_msg_init, arena); + struct envoy_type_v3_Int64Range* sub = (struct envoy_type_v3_Int64Range*)_upb_Message_New(&envoy__type__v3__Int64Range_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1390,7 +1387,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_HttpHealthCheck_set_service_nam UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_core_v3_HealthCheck_HttpHealthCheck_mutable_service_name_matcher(envoy_config_core_v3_HealthCheck_HttpHealthCheck* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_config_core_v3_HealthCheck_HttpHealthCheck_service_name_matcher(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); + sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_HttpHealthCheck_set_service_name_matcher(msg, sub); } return sub; @@ -1416,7 +1413,7 @@ UPB_INLINE struct envoy_type_v3_Int64Range* envoy_config_core_v3_HealthCheck_Htt if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_type_v3_Int64Range* sub = (struct envoy_type_v3_Int64Range*)_upb_Message_New(&envoy_type_v3_Int64Range_msg_init, arena); + struct envoy_type_v3_Int64Range* sub = (struct envoy_type_v3_Int64Range*)_upb_Message_New(&envoy__type__v3__Int64Range_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1432,7 +1429,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_HttpHealthCheck_set_response_bu UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_core_v3_HealthCheck_HttpHealthCheck_mutable_response_buffer_size(envoy_config_core_v3_HealthCheck_HttpHealthCheck* msg, upb_Arena* arena) { struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_core_v3_HealthCheck_HttpHealthCheck_response_buffer_size(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google_protobuf_UInt64Value_msg_init, arena); + sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google__protobuf__UInt64Value_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_HttpHealthCheck_set_response_buffer_size(msg, sub); } return sub; @@ -1441,12 +1438,12 @@ UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_core_v3_HealthCheck_ /* envoy.config.core.v3.HealthCheck.TcpHealthCheck */ UPB_INLINE envoy_config_core_v3_HealthCheck_TcpHealthCheck* envoy_config_core_v3_HealthCheck_TcpHealthCheck_new(upb_Arena* arena) { - return (envoy_config_core_v3_HealthCheck_TcpHealthCheck*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_TcpHealthCheck_msg_init, arena); + return (envoy_config_core_v3_HealthCheck_TcpHealthCheck*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__TcpHealthCheck_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HealthCheck_TcpHealthCheck* envoy_config_core_v3_HealthCheck_TcpHealthCheck_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_TcpHealthCheck* ret = envoy_config_core_v3_HealthCheck_TcpHealthCheck_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_TcpHealthCheck_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__TcpHealthCheck_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1456,7 +1453,7 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_TcpHealthCheck* envoy_config_core_v3 int options, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_TcpHealthCheck* ret = envoy_config_core_v3_HealthCheck_TcpHealthCheck_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_TcpHealthCheck_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__TcpHealthCheck_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1464,13 +1461,13 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_TcpHealthCheck* envoy_config_core_v3 } UPB_INLINE char* envoy_config_core_v3_HealthCheck_TcpHealthCheck_serialize(const envoy_config_core_v3_HealthCheck_TcpHealthCheck* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_TcpHealthCheck_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__TcpHealthCheck_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HealthCheck_TcpHealthCheck_serialize_ex(const envoy_config_core_v3_HealthCheck_TcpHealthCheck* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_TcpHealthCheck_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__TcpHealthCheck_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_HealthCheck_TcpHealthCheck_clear_send(envoy_config_core_v3_HealthCheck_TcpHealthCheck* msg) { @@ -1533,7 +1530,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_TcpHealthCheck_set_send(envoy_c UPB_INLINE struct envoy_config_core_v3_HealthCheck_Payload* envoy_config_core_v3_HealthCheck_TcpHealthCheck_mutable_send(envoy_config_core_v3_HealthCheck_TcpHealthCheck* msg, upb_Arena* arena) { struct envoy_config_core_v3_HealthCheck_Payload* sub = (struct envoy_config_core_v3_HealthCheck_Payload*)envoy_config_core_v3_HealthCheck_TcpHealthCheck_send(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_HealthCheck_Payload*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_Payload_msg_init, arena); + sub = (struct envoy_config_core_v3_HealthCheck_Payload*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__Payload_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_TcpHealthCheck_set_send(msg, sub); } return sub; @@ -1559,7 +1556,7 @@ UPB_INLINE struct envoy_config_core_v3_HealthCheck_Payload* envoy_config_core_v3 if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HealthCheck_Payload* sub = (struct envoy_config_core_v3_HealthCheck_Payload*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_Payload_msg_init, arena); + struct envoy_config_core_v3_HealthCheck_Payload* sub = (struct envoy_config_core_v3_HealthCheck_Payload*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__Payload_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1568,12 +1565,12 @@ UPB_INLINE struct envoy_config_core_v3_HealthCheck_Payload* envoy_config_core_v3 /* envoy.config.core.v3.HealthCheck.RedisHealthCheck */ UPB_INLINE envoy_config_core_v3_HealthCheck_RedisHealthCheck* envoy_config_core_v3_HealthCheck_RedisHealthCheck_new(upb_Arena* arena) { - return (envoy_config_core_v3_HealthCheck_RedisHealthCheck*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_RedisHealthCheck_msg_init, arena); + return (envoy_config_core_v3_HealthCheck_RedisHealthCheck*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__RedisHealthCheck_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HealthCheck_RedisHealthCheck* envoy_config_core_v3_HealthCheck_RedisHealthCheck_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_RedisHealthCheck* ret = envoy_config_core_v3_HealthCheck_RedisHealthCheck_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_RedisHealthCheck_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__RedisHealthCheck_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1583,7 +1580,7 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_RedisHealthCheck* envoy_config_core_ int options, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_RedisHealthCheck* ret = envoy_config_core_v3_HealthCheck_RedisHealthCheck_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_RedisHealthCheck_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__RedisHealthCheck_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1591,13 +1588,13 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_RedisHealthCheck* envoy_config_core_ } UPB_INLINE char* envoy_config_core_v3_HealthCheck_RedisHealthCheck_serialize(const envoy_config_core_v3_HealthCheck_RedisHealthCheck* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_RedisHealthCheck_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__RedisHealthCheck_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HealthCheck_RedisHealthCheck_serialize_ex(const envoy_config_core_v3_HealthCheck_RedisHealthCheck* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_RedisHealthCheck_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__RedisHealthCheck_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_HealthCheck_RedisHealthCheck_clear_key(envoy_config_core_v3_HealthCheck_RedisHealthCheck* msg) { @@ -1620,12 +1617,12 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_RedisHealthCheck_set_key(envoy_ /* envoy.config.core.v3.HealthCheck.GrpcHealthCheck */ UPB_INLINE envoy_config_core_v3_HealthCheck_GrpcHealthCheck* envoy_config_core_v3_HealthCheck_GrpcHealthCheck_new(upb_Arena* arena) { - return (envoy_config_core_v3_HealthCheck_GrpcHealthCheck*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_GrpcHealthCheck_msg_init, arena); + return (envoy_config_core_v3_HealthCheck_GrpcHealthCheck*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__GrpcHealthCheck_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HealthCheck_GrpcHealthCheck* envoy_config_core_v3_HealthCheck_GrpcHealthCheck_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_GrpcHealthCheck* ret = envoy_config_core_v3_HealthCheck_GrpcHealthCheck_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_GrpcHealthCheck_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__GrpcHealthCheck_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1635,7 +1632,7 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_GrpcHealthCheck* envoy_config_core_v int options, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_GrpcHealthCheck* ret = envoy_config_core_v3_HealthCheck_GrpcHealthCheck_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_GrpcHealthCheck_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__GrpcHealthCheck_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1643,13 +1640,13 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_GrpcHealthCheck* envoy_config_core_v } UPB_INLINE char* envoy_config_core_v3_HealthCheck_GrpcHealthCheck_serialize(const envoy_config_core_v3_HealthCheck_GrpcHealthCheck* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_GrpcHealthCheck_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__GrpcHealthCheck_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HealthCheck_GrpcHealthCheck_serialize_ex(const envoy_config_core_v3_HealthCheck_GrpcHealthCheck* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_GrpcHealthCheck_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__GrpcHealthCheck_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_HealthCheck_GrpcHealthCheck_clear_service_name(envoy_config_core_v3_HealthCheck_GrpcHealthCheck* msg) { @@ -1741,7 +1738,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_H if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy_config_core_v3_HeaderValueOption_msg_init, arena); + struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1750,12 +1747,12 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_H /* envoy.config.core.v3.HealthCheck.CustomHealthCheck */ UPB_INLINE envoy_config_core_v3_HealthCheck_CustomHealthCheck* envoy_config_core_v3_HealthCheck_CustomHealthCheck_new(upb_Arena* arena) { - return (envoy_config_core_v3_HealthCheck_CustomHealthCheck*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_CustomHealthCheck_msg_init, arena); + return (envoy_config_core_v3_HealthCheck_CustomHealthCheck*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__CustomHealthCheck_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HealthCheck_CustomHealthCheck* envoy_config_core_v3_HealthCheck_CustomHealthCheck_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_CustomHealthCheck* ret = envoy_config_core_v3_HealthCheck_CustomHealthCheck_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_CustomHealthCheck_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__CustomHealthCheck_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1765,7 +1762,7 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_CustomHealthCheck* envoy_config_core int options, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_CustomHealthCheck* ret = envoy_config_core_v3_HealthCheck_CustomHealthCheck_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_CustomHealthCheck_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__CustomHealthCheck_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1773,13 +1770,13 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_CustomHealthCheck* envoy_config_core } UPB_INLINE char* envoy_config_core_v3_HealthCheck_CustomHealthCheck_serialize(const envoy_config_core_v3_HealthCheck_CustomHealthCheck* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_CustomHealthCheck_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__CustomHealthCheck_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HealthCheck_CustomHealthCheck_serialize_ex(const envoy_config_core_v3_HealthCheck_CustomHealthCheck* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_CustomHealthCheck_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__CustomHealthCheck_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1828,7 +1825,7 @@ UPB_INLINE void envoy_config_core_v3_HealthCheck_CustomHealthCheck_set_typed_con UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_HealthCheck_CustomHealthCheck_mutable_typed_config(envoy_config_core_v3_HealthCheck_CustomHealthCheck* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_core_v3_HealthCheck_CustomHealthCheck_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_core_v3_HealthCheck_CustomHealthCheck_set_typed_config(msg, sub); } return sub; @@ -1837,12 +1834,12 @@ UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_HealthCheck_CustomHe /* envoy.config.core.v3.HealthCheck.TlsOptions */ UPB_INLINE envoy_config_core_v3_HealthCheck_TlsOptions* envoy_config_core_v3_HealthCheck_TlsOptions_new(upb_Arena* arena) { - return (envoy_config_core_v3_HealthCheck_TlsOptions*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_TlsOptions_msg_init, arena); + return (envoy_config_core_v3_HealthCheck_TlsOptions*)_upb_Message_New(&envoy__config__core__v3__HealthCheck__TlsOptions_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HealthCheck_TlsOptions* envoy_config_core_v3_HealthCheck_TlsOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_TlsOptions* ret = envoy_config_core_v3_HealthCheck_TlsOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_TlsOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__TlsOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1852,7 +1849,7 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_TlsOptions* envoy_config_core_v3_Hea int options, upb_Arena* arena) { envoy_config_core_v3_HealthCheck_TlsOptions* ret = envoy_config_core_v3_HealthCheck_TlsOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HealthCheck_TlsOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HealthCheck__TlsOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1860,13 +1857,13 @@ UPB_INLINE envoy_config_core_v3_HealthCheck_TlsOptions* envoy_config_core_v3_Hea } UPB_INLINE char* envoy_config_core_v3_HealthCheck_TlsOptions_serialize(const envoy_config_core_v3_HealthCheck_TlsOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_TlsOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__TlsOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HealthCheck_TlsOptions_serialize_ex(const envoy_config_core_v3_HealthCheck_TlsOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HealthCheck_TlsOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HealthCheck__TlsOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_HealthCheck_TlsOptions_clear_alpn_protocols(envoy_config_core_v3_HealthCheck_TlsOptions* msg) { @@ -1932,8 +1929,6 @@ UPB_INLINE bool envoy_config_core_v3_HealthCheck_TlsOptions_add_alpn_protocols(e return true; } -extern const upb_MiniTableFile envoy_config_core_v3_health_check_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c new file mode 100644 index 00000000000..479c264cf85 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c @@ -0,0 +1,315 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/health_check.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/health_check.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/event_service_config.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "envoy/type/v3/http.upb_minitable.h" +#include "envoy/type/v3/range.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_config_core_v3_HealthStatusSet__fields[1] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HealthStatusSet_msg_init = { + NULL, + &envoy_config_core_v3_HealthStatusSet__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_ppv4_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_HealthCheck_submsgs[21] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__core__v3__HealthCheck__HttpHealthCheck_msg_init}, + {.submsg = &envoy__config__core__v3__HealthCheck__TcpHealthCheck_msg_init}, + {.submsg = &envoy__config__core__v3__HealthCheck__GrpcHealthCheck_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__core__v3__HealthCheck__CustomHealthCheck_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__core__v3__HealthCheck__TlsOptions_msg_init}, + {.submsg = &envoy__config__core__v3__EventServiceConfig_msg_init}, + {.submsg = &google__protobuf__Struct_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_HealthCheck__fields[24] = { + {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 48), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 56), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 64), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(84, 168), UPB_SIZE(-37, -5), 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(84, 168), UPB_SIZE(-37, -5), 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(84, 168), UPB_SIZE(-37, -5), 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(32, 72), 8, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(84, 168), UPB_SIZE(-37, -5), 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(40, 80), 9, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(44, 88), 10, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(48, 96), 11, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(88, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(52, 8), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(56, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(60, 120), 12, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(64, 128), 13, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(68, 136), 14, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(72, 144), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(76, 152), 16, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(80, 160), 0, 20, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HealthCheck_msg_init = { + &envoy_config_core_v3_HealthCheck_submsgs[0], + &envoy_config_core_v3_HealthCheck__fields[0], + UPB_SIZE(96, 176), 24, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000000100000a, &upb_psm_1bt_maxmaxb}, + {0x0018000002010012, &upb_psm_1bt_maxmaxb}, + {0x002000000302001a, &upb_psm_1bt_maxmaxb}, + {0x0028000004030022, &upb_psm_1bt_maxmaxb}, + {0x003000000504002a, &upb_psm_1bt_maxmaxb}, + {0x0038000006050032, &upb_psm_1bt_maxmaxb}, + {0x004000000706003a, &upb_psm_1bt_maxmaxb}, + {0x00a8000408070042, &upb_pom_1bt_max128b}, + {0x00a800040908004a, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x00a800040b09005a, &upb_pom_1bt_max64b}, + {0x00480000080a0062, &upb_psm_1bt_maxmaxb}, + {0x00a800040d0b006a, &upb_pom_1bt_max64b}, + {0x00500000090c0072, &upb_psm_1bt_maxmaxb}, + {0x005800000a0d007a, &upb_psm_1bt_maxmaxb}, + {0x006000000b0e0182, &upb_psm_2bt_maxmaxb}, + {0x006800003f00018a, &upb_pss_2bt}, + {0x000800003f000190, &upb_psv4_2bt}, + {0x000c00003f000198, &upb_psb1_2bt}, + {0x007800000c0f01a2, &upb_psm_2bt_maxmaxb}, + {0x008000000d1001aa, &upb_psm_2bt_max64b}, + {0x008800000e1101b2, &upb_psm_2bt_maxmaxb}, + {0x009000000f1201ba, &upb_psm_2bt_maxmaxb}, + {0x00980000101301c2, &upb_psm_2bt_maxmaxb}, + {0x00a000003f1401ca, &upb_prm_2bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_HealthCheck_Payload__fields[2] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HealthCheck__Payload_msg_init = { + NULL, + &envoy_config_core_v3_HealthCheck_Payload__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + {0x0008000002000012, &upb_pob_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_HealthCheck_HttpHealthCheck_submsgs[7] = { + {.submsg = &envoy__config__core__v3__HealthCheck__Payload_msg_init}, + {.submsg = &envoy__config__core__v3__HealthCheck__Payload_msg_init}, + {.submsg = &envoy__config__core__v3__HeaderValueOption_msg_init}, + {.submsg = &envoy__type__v3__Int64Range_msg_init}, + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, + {.submsg = &envoy__type__v3__Int64Range_msg_init}, + {.submsg = &google__protobuf__UInt64Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_HealthCheck_HttpHealthCheck__fields[12] = { + {1, UPB_SIZE(44, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(52, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(20, 80), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(24, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(28, 88), 2, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(32, 96), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(36, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(40, 104), 3, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HealthCheck__HttpHealthCheck_msg_init = { + &envoy_config_core_v3_HealthCheck_HttpHealthCheck_submsgs[0], + &envoy_config_core_v3_HealthCheck_HttpHealthCheck__fields[0], + UPB_SIZE(64, 112), 12, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f00000a, &upb_pss_1bt}, + {0x002000003f000012, &upb_pss_1bt}, + {0x003000000100001a, &upb_psm_1bt_max64b}, + {0x003800003f010022, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x004000003f020032, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x004800003f000042, &upb_prs_1bt}, + {0x005000003f03004a, &upb_prm_1bt_maxmaxb}, + {0x000400003f000050, &upb_psv4_1bt}, + {0x005800000204005a, &upb_psm_1bt_maxmaxb}, + {0x006000003f050062, &upb_prm_1bt_maxmaxb}, + {0x000800003f000068, &upb_psv4_1bt}, + {0x0068000003060072, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_HealthCheck_TcpHealthCheck_submsgs[2] = { + {.submsg = &envoy__config__core__v3__HealthCheck__Payload_msg_init}, + {.submsg = &envoy__config__core__v3__HealthCheck__Payload_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_HealthCheck_TcpHealthCheck__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HealthCheck__TcpHealthCheck_msg_init = { + &envoy_config_core_v3_HealthCheck_TcpHealthCheck_submsgs[0], + &envoy_config_core_v3_HealthCheck_TcpHealthCheck__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x001000003f010012, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_HealthCheck_RedisHealthCheck__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HealthCheck__RedisHealthCheck_msg_init = { + NULL, + &envoy_config_core_v3_HealthCheck_RedisHealthCheck__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_HealthCheck_GrpcHealthCheck_submsgs[1] = { + {.submsg = &envoy__config__core__v3__HeaderValueOption_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_HealthCheck_GrpcHealthCheck__fields[3] = { + {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(0, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HealthCheck__GrpcHealthCheck_msg_init = { + &envoy_config_core_v3_HealthCheck_GrpcHealthCheck_submsgs[0], + &envoy_config_core_v3_HealthCheck_GrpcHealthCheck__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000003f00001a, &upb_prm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_HealthCheck_CustomHealthCheck_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_HealthCheck_CustomHealthCheck__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HealthCheck__CustomHealthCheck_msg_init = { + &envoy_config_core_v3_HealthCheck_CustomHealthCheck_submsgs[0], + &envoy_config_core_v3_HealthCheck_CustomHealthCheck__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000300001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_HealthCheck_TlsOptions__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HealthCheck__TlsOptions_msg_init = { + NULL, + &envoy_config_core_v3_HealthCheck_TlsOptions__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prs_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[9] = { + &envoy__config__core__v3__HealthStatusSet_msg_init, + &envoy__config__core__v3__HealthCheck_msg_init, + &envoy__config__core__v3__HealthCheck__Payload_msg_init, + &envoy__config__core__v3__HealthCheck__HttpHealthCheck_msg_init, + &envoy__config__core__v3__HealthCheck__TcpHealthCheck_msg_init, + &envoy__config__core__v3__HealthCheck__RedisHealthCheck_msg_init, + &envoy__config__core__v3__HealthCheck__GrpcHealthCheck_msg_init, + &envoy__config__core__v3__HealthCheck__CustomHealthCheck_msg_init, + &envoy__config__core__v3__HealthCheck__TlsOptions_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_health_check_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 9, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h new file mode 100644 index 00000000000..bd761e1e57a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h @@ -0,0 +1,38 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/health_check.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_HEALTH_CHECK_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_HEALTH_CHECK_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__HealthStatusSet_msg_init; +extern const upb_MiniTable envoy__config__core__v3__HealthCheck_msg_init; +extern const upb_MiniTable envoy__config__core__v3__HealthCheck__Payload_msg_init; +extern const upb_MiniTable envoy__config__core__v3__HealthCheck__HttpHealthCheck_msg_init; +extern const upb_MiniTable envoy__config__core__v3__HealthCheck__TcpHealthCheck_msg_init; +extern const upb_MiniTable envoy__config__core__v3__HealthCheck__RedisHealthCheck_msg_init; +extern const upb_MiniTable envoy__config__core__v3__HealthCheck__GrpcHealthCheck_msg_init; +extern const upb_MiniTable envoy__config__core__v3__HealthCheck__CustomHealthCheck_msg_init; +extern const upb_MiniTable envoy__config__core__v3__HealthCheck__TlsOptions_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_health_check_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_HEALTH_CHECK_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h new file mode 100644 index 00000000000..86def188a79 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h @@ -0,0 +1,166 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/http_service.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_HTTP_SERVICE_PROTO_UPB_H_ +#define ENVOY_CONFIG_CORE_V3_HTTP_SERVICE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/config/core/v3/http_service.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/http_uri.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_config_core_v3_HttpService envoy_config_core_v3_HttpService; +struct envoy_config_core_v3_HeaderValueOption; +struct envoy_config_core_v3_HttpUri; + + + +/* envoy.config.core.v3.HttpService */ + +UPB_INLINE envoy_config_core_v3_HttpService* envoy_config_core_v3_HttpService_new(upb_Arena* arena) { + return (envoy_config_core_v3_HttpService*)_upb_Message_New(&envoy__config__core__v3__HttpService_msg_init, arena); +} +UPB_INLINE envoy_config_core_v3_HttpService* envoy_config_core_v3_HttpService_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_core_v3_HttpService* ret = envoy_config_core_v3_HttpService_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HttpService_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_core_v3_HttpService* envoy_config_core_v3_HttpService_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_core_v3_HttpService* ret = envoy_config_core_v3_HttpService_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HttpService_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_core_v3_HttpService_serialize(const envoy_config_core_v3_HttpService* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__core__v3__HttpService_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_core_v3_HttpService_serialize_ex(const envoy_config_core_v3_HttpService* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__core__v3__HttpService_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_core_v3_HttpService_clear_http_uri(envoy_config_core_v3_HttpService* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_HttpUri* envoy_config_core_v3_HttpService_http_uri(const envoy_config_core_v3_HttpService* msg) { + const struct envoy_config_core_v3_HttpUri* default_val = NULL; + const struct envoy_config_core_v3_HttpUri* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_core_v3_HttpService_has_http_uri(const envoy_config_core_v3_HttpService* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_core_v3_HttpService_clear_request_headers_to_add(envoy_config_core_v3_HttpService* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_HeaderValueOption* const* envoy_config_core_v3_HttpService_request_headers_to_add(const envoy_config_core_v3_HttpService* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct envoy_config_core_v3_HeaderValueOption* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_core_v3_HttpService_request_headers_to_add_upb_array(const envoy_config_core_v3_HttpService* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_core_v3_HttpService_request_headers_to_add_mutable_upb_array(const envoy_config_core_v3_HttpService* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_core_v3_HttpService_has_request_headers_to_add(const envoy_config_core_v3_HttpService* msg) { + size_t size; + envoy_config_core_v3_HttpService_request_headers_to_add(msg, &size); + return size != 0; +} + +UPB_INLINE void envoy_config_core_v3_HttpService_set_http_uri(envoy_config_core_v3_HttpService *msg, struct envoy_config_core_v3_HttpUri* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_HttpUri* envoy_config_core_v3_HttpService_mutable_http_uri(envoy_config_core_v3_HttpService* msg, upb_Arena* arena) { + struct envoy_config_core_v3_HttpUri* sub = (struct envoy_config_core_v3_HttpUri*)envoy_config_core_v3_HttpService_http_uri(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_HttpUri*)_upb_Message_New(&envoy__config__core__v3__HttpUri_msg_init, arena); + if (sub) envoy_config_core_v3_HttpService_set_http_uri(msg, sub); + } + return sub; +} +UPB_INLINE struct envoy_config_core_v3_HeaderValueOption** envoy_config_core_v3_HttpService_mutable_request_headers_to_add(envoy_config_core_v3_HttpService* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct envoy_config_core_v3_HeaderValueOption**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct envoy_config_core_v3_HeaderValueOption** envoy_config_core_v3_HttpService_resize_request_headers_to_add(envoy_config_core_v3_HttpService* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct envoy_config_core_v3_HeaderValueOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_config_core_v3_HttpService_add_request_headers_to_add(envoy_config_core_v3_HttpService* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_HTTP_SERVICE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c new file mode 100644 index 00000000000..0f5bac63f6d --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c @@ -0,0 +1,55 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/http_service.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/http_service.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/http_uri.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_core_v3_HttpService_submsgs[2] = { + {.submsg = &envoy__config__core__v3__HttpUri_msg_init}, + {.submsg = &envoy__config__core__v3__HeaderValueOption_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_HttpService__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HttpService_msg_init = { + &envoy_config_core_v3_HttpService_submsgs[0], + &envoy_config_core_v3_HttpService__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f010012, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__core__v3__HttpService_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_http_service_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h new file mode 100644 index 00000000000..8ddd131f8cc --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/http_service.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_HTTP_SERVICE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_HTTP_SERVICE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__HttpService_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_http_service_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_HTTP_SERVICE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h similarity index 89% rename from src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h index 8d02a5085cc..d69ed5600cd 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/http_uri.proto * @@ -10,7 +9,15 @@ #define ENVOY_CONFIG_CORE_V3_HTTP_URI_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/http_uri.upb_minitable.h" + +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +25,19 @@ extern "C" { #endif typedef struct envoy_config_core_v3_HttpUri envoy_config_core_v3_HttpUri; -extern const upb_MiniTable envoy_config_core_v3_HttpUri_msg_init; struct google_protobuf_Duration; -extern const upb_MiniTable google_protobuf_Duration_msg_init; /* envoy.config.core.v3.HttpUri */ UPB_INLINE envoy_config_core_v3_HttpUri* envoy_config_core_v3_HttpUri_new(upb_Arena* arena) { - return (envoy_config_core_v3_HttpUri*)_upb_Message_New(&envoy_config_core_v3_HttpUri_msg_init, arena); + return (envoy_config_core_v3_HttpUri*)_upb_Message_New(&envoy__config__core__v3__HttpUri_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HttpUri* envoy_config_core_v3_HttpUri_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HttpUri* ret = envoy_config_core_v3_HttpUri_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HttpUri_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HttpUri_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +47,7 @@ UPB_INLINE envoy_config_core_v3_HttpUri* envoy_config_core_v3_HttpUri_parse_ex(c int options, upb_Arena* arena) { envoy_config_core_v3_HttpUri* ret = envoy_config_core_v3_HttpUri_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HttpUri_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HttpUri_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +55,13 @@ UPB_INLINE envoy_config_core_v3_HttpUri* envoy_config_core_v3_HttpUri_parse_ex(c } UPB_INLINE char* envoy_config_core_v3_HttpUri_serialize(const envoy_config_core_v3_HttpUri* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HttpUri_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HttpUri_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HttpUri_serialize_ex(const envoy_config_core_v3_HttpUri* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HttpUri_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HttpUri_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -124,14 +129,12 @@ UPB_INLINE void envoy_config_core_v3_HttpUri_set_timeout(envoy_config_core_v3_Ht UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HttpUri_mutable_timeout(envoy_config_core_v3_HttpUri* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HttpUri_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_HttpUri_set_timeout(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_core_v3_http_uri_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c new file mode 100644 index 00000000000..72aed7ad0c0 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c @@ -0,0 +1,55 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/http_uri.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/http_uri.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_core_v3_HttpUri_submsgs[1] = { + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_HttpUri__fields[3] = { + {1, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HttpUri_msg_init = { + &envoy_config_core_v3_HttpUri_submsgs[0], + &envoy_config_core_v3_HttpUri__fields[0], + UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f00000a, &upb_pss_1bt}, + {0x0008000402000012, &upb_pos_1bt}, + {0x002800000100001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__core__v3__HttpUri_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_http_uri_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h new file mode 100644 index 00000000000..a25910b22b7 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/http_uri.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_HTTP_URI_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_HTTP_URI_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__HttpUri_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_http_uri_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_HTTP_URI_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h index bb404e70deb..0ca00c65458 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/protocol.proto * @@ -10,7 +9,20 @@ #define ENVOY_CONFIG_CORE_V3_PROTOCOL_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/protocol.upb_minitable.h" + +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -33,32 +45,11 @@ typedef struct envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter envoy typedef struct envoy_config_core_v3_GrpcProtocolOptions envoy_config_core_v3_GrpcProtocolOptions; typedef struct envoy_config_core_v3_Http3ProtocolOptions envoy_config_core_v3_Http3ProtocolOptions; typedef struct envoy_config_core_v3_SchemeHeaderTransformation envoy_config_core_v3_SchemeHeaderTransformation; -extern const upb_MiniTable envoy_config_core_v3_TcpProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_QuicKeepAliveSettings_msg_init; -extern const upb_MiniTable envoy_config_core_v3_QuicProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HttpProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Http1ProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init; -extern const upb_MiniTable envoy_config_core_v3_KeepaliveSettings_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Http2ProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Http3ProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_SchemeHeaderTransformation_msg_init; struct envoy_config_core_v3_TypedExtensionConfig; struct envoy_type_v3_Percent; struct google_protobuf_BoolValue; struct google_protobuf_Duration; struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable envoy_type_v3_Percent_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; typedef enum { envoy_config_core_v3_HttpProtocolOptions_ALLOW = 0, @@ -71,12 +62,12 @@ typedef enum { /* envoy.config.core.v3.TcpProtocolOptions */ UPB_INLINE envoy_config_core_v3_TcpProtocolOptions* envoy_config_core_v3_TcpProtocolOptions_new(upb_Arena* arena) { - return (envoy_config_core_v3_TcpProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_TcpProtocolOptions_msg_init, arena); + return (envoy_config_core_v3_TcpProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__TcpProtocolOptions_msg_init, arena); } UPB_INLINE envoy_config_core_v3_TcpProtocolOptions* envoy_config_core_v3_TcpProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_TcpProtocolOptions* ret = envoy_config_core_v3_TcpProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_TcpProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__TcpProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -86,7 +77,7 @@ UPB_INLINE envoy_config_core_v3_TcpProtocolOptions* envoy_config_core_v3_TcpProt int options, upb_Arena* arena) { envoy_config_core_v3_TcpProtocolOptions* ret = envoy_config_core_v3_TcpProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_TcpProtocolOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__TcpProtocolOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -94,13 +85,13 @@ UPB_INLINE envoy_config_core_v3_TcpProtocolOptions* envoy_config_core_v3_TcpProt } UPB_INLINE char* envoy_config_core_v3_TcpProtocolOptions_serialize(const envoy_config_core_v3_TcpProtocolOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_TcpProtocolOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__TcpProtocolOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_TcpProtocolOptions_serialize_ex(const envoy_config_core_v3_TcpProtocolOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_TcpProtocolOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__TcpProtocolOptions_msg_init, options, arena, &ptr, len); return ptr; } @@ -108,12 +99,12 @@ UPB_INLINE char* envoy_config_core_v3_TcpProtocolOptions_serialize_ex(const envo /* envoy.config.core.v3.QuicKeepAliveSettings */ UPB_INLINE envoy_config_core_v3_QuicKeepAliveSettings* envoy_config_core_v3_QuicKeepAliveSettings_new(upb_Arena* arena) { - return (envoy_config_core_v3_QuicKeepAliveSettings*)_upb_Message_New(&envoy_config_core_v3_QuicKeepAliveSettings_msg_init, arena); + return (envoy_config_core_v3_QuicKeepAliveSettings*)_upb_Message_New(&envoy__config__core__v3__QuicKeepAliveSettings_msg_init, arena); } UPB_INLINE envoy_config_core_v3_QuicKeepAliveSettings* envoy_config_core_v3_QuicKeepAliveSettings_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_QuicKeepAliveSettings* ret = envoy_config_core_v3_QuicKeepAliveSettings_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_QuicKeepAliveSettings_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__QuicKeepAliveSettings_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -123,7 +114,7 @@ UPB_INLINE envoy_config_core_v3_QuicKeepAliveSettings* envoy_config_core_v3_Quic int options, upb_Arena* arena) { envoy_config_core_v3_QuicKeepAliveSettings* ret = envoy_config_core_v3_QuicKeepAliveSettings_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_QuicKeepAliveSettings_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__QuicKeepAliveSettings_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -131,13 +122,13 @@ UPB_INLINE envoy_config_core_v3_QuicKeepAliveSettings* envoy_config_core_v3_Quic } UPB_INLINE char* envoy_config_core_v3_QuicKeepAliveSettings_serialize(const envoy_config_core_v3_QuicKeepAliveSettings* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_QuicKeepAliveSettings_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__QuicKeepAliveSettings_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_QuicKeepAliveSettings_serialize_ex(const envoy_config_core_v3_QuicKeepAliveSettings* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_QuicKeepAliveSettings_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__QuicKeepAliveSettings_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_QuicKeepAliveSettings_clear_max_interval(envoy_config_core_v3_QuicKeepAliveSettings* msg) { @@ -178,7 +169,7 @@ UPB_INLINE void envoy_config_core_v3_QuicKeepAliveSettings_set_max_interval(envo UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_QuicKeepAliveSettings_mutable_max_interval(envoy_config_core_v3_QuicKeepAliveSettings* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_QuicKeepAliveSettings_max_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_QuicKeepAliveSettings_set_max_interval(msg, sub); } return sub; @@ -190,7 +181,7 @@ UPB_INLINE void envoy_config_core_v3_QuicKeepAliveSettings_set_initial_interval( UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_QuicKeepAliveSettings_mutable_initial_interval(envoy_config_core_v3_QuicKeepAliveSettings* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_QuicKeepAliveSettings_initial_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_QuicKeepAliveSettings_set_initial_interval(msg, sub); } return sub; @@ -199,12 +190,12 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_QuicKeepAliveSe /* envoy.config.core.v3.QuicProtocolOptions */ UPB_INLINE envoy_config_core_v3_QuicProtocolOptions* envoy_config_core_v3_QuicProtocolOptions_new(upb_Arena* arena) { - return (envoy_config_core_v3_QuicProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_QuicProtocolOptions_msg_init, arena); + return (envoy_config_core_v3_QuicProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__QuicProtocolOptions_msg_init, arena); } UPB_INLINE envoy_config_core_v3_QuicProtocolOptions* envoy_config_core_v3_QuicProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_QuicProtocolOptions* ret = envoy_config_core_v3_QuicProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_QuicProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__QuicProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -214,7 +205,7 @@ UPB_INLINE envoy_config_core_v3_QuicProtocolOptions* envoy_config_core_v3_QuicPr int options, upb_Arena* arena) { envoy_config_core_v3_QuicProtocolOptions* ret = envoy_config_core_v3_QuicProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_QuicProtocolOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__QuicProtocolOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -222,13 +213,13 @@ UPB_INLINE envoy_config_core_v3_QuicProtocolOptions* envoy_config_core_v3_QuicPr } UPB_INLINE char* envoy_config_core_v3_QuicProtocolOptions_serialize(const envoy_config_core_v3_QuicProtocolOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_QuicProtocolOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__QuicProtocolOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_QuicProtocolOptions_serialize_ex(const envoy_config_core_v3_QuicProtocolOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_QuicProtocolOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__QuicProtocolOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_clear_max_concurrent_streams(envoy_config_core_v3_QuicProtocolOptions* msg) { @@ -306,6 +297,28 @@ UPB_INLINE bool envoy_config_core_v3_QuicProtocolOptions_has_connection_keepaliv const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } +UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_clear_connection_options(envoy_config_core_v3_QuicProtocolOptions* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_core_v3_QuicProtocolOptions_connection_options(const envoy_config_core_v3_QuicProtocolOptions* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_clear_client_connection_options(envoy_config_core_v3_QuicProtocolOptions* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_core_v3_QuicProtocolOptions_client_connection_options(const envoy_config_core_v3_QuicProtocolOptions* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {7, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_set_max_concurrent_streams(envoy_config_core_v3_QuicProtocolOptions *msg, struct google_protobuf_UInt32Value* value) { const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; @@ -314,7 +327,7 @@ UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_set_max_concurrent_stre UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_QuicProtocolOptions_mutable_max_concurrent_streams(envoy_config_core_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_QuicProtocolOptions_max_concurrent_streams(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_QuicProtocolOptions_set_max_concurrent_streams(msg, sub); } return sub; @@ -326,7 +339,7 @@ UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_set_initial_stream_wind UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_QuicProtocolOptions_mutable_initial_stream_window_size(envoy_config_core_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_QuicProtocolOptions_initial_stream_window_size(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_QuicProtocolOptions_set_initial_stream_window_size(msg, sub); } return sub; @@ -338,7 +351,7 @@ UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_set_initial_connection_ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_QuicProtocolOptions_mutable_initial_connection_window_size(envoy_config_core_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_QuicProtocolOptions_initial_connection_window_size(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_QuicProtocolOptions_set_initial_connection_window_size(msg, sub); } return sub; @@ -350,7 +363,7 @@ UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_set_num_timeouts_to_tri UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_QuicProtocolOptions_mutable_num_timeouts_to_trigger_port_migration(envoy_config_core_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_QuicProtocolOptions_num_timeouts_to_trigger_port_migration(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_QuicProtocolOptions_set_num_timeouts_to_trigger_port_migration(msg, sub); } return sub; @@ -362,21 +375,29 @@ UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_set_connection_keepaliv UPB_INLINE struct envoy_config_core_v3_QuicKeepAliveSettings* envoy_config_core_v3_QuicProtocolOptions_mutable_connection_keepalive(envoy_config_core_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct envoy_config_core_v3_QuicKeepAliveSettings* sub = (struct envoy_config_core_v3_QuicKeepAliveSettings*)envoy_config_core_v3_QuicProtocolOptions_connection_keepalive(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_QuicKeepAliveSettings*)_upb_Message_New(&envoy_config_core_v3_QuicKeepAliveSettings_msg_init, arena); + sub = (struct envoy_config_core_v3_QuicKeepAliveSettings*)_upb_Message_New(&envoy__config__core__v3__QuicKeepAliveSettings_msg_init, arena); if (sub) envoy_config_core_v3_QuicProtocolOptions_set_connection_keepalive(msg, sub); } return sub; } +UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_set_connection_options(envoy_config_core_v3_QuicProtocolOptions *msg, upb_StringView value) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_core_v3_QuicProtocolOptions_set_client_connection_options(envoy_config_core_v3_QuicProtocolOptions *msg, upb_StringView value) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} /* envoy.config.core.v3.UpstreamHttpProtocolOptions */ UPB_INLINE envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_config_core_v3_UpstreamHttpProtocolOptions_new(upb_Arena* arena) { - return (envoy_config_core_v3_UpstreamHttpProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init, arena); + return (envoy_config_core_v3_UpstreamHttpProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__UpstreamHttpProtocolOptions_msg_init, arena); } UPB_INLINE envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_config_core_v3_UpstreamHttpProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_UpstreamHttpProtocolOptions* ret = envoy_config_core_v3_UpstreamHttpProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__UpstreamHttpProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -386,7 +407,7 @@ UPB_INLINE envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_config_core_v int options, upb_Arena* arena) { envoy_config_core_v3_UpstreamHttpProtocolOptions* ret = envoy_config_core_v3_UpstreamHttpProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__UpstreamHttpProtocolOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -394,13 +415,13 @@ UPB_INLINE envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_config_core_v } UPB_INLINE char* envoy_config_core_v3_UpstreamHttpProtocolOptions_serialize(const envoy_config_core_v3_UpstreamHttpProtocolOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__UpstreamHttpProtocolOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_UpstreamHttpProtocolOptions_serialize_ex(const envoy_config_core_v3_UpstreamHttpProtocolOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__UpstreamHttpProtocolOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_UpstreamHttpProtocolOptions_clear_auto_sni(envoy_config_core_v3_UpstreamHttpProtocolOptions* msg) { @@ -453,12 +474,12 @@ UPB_INLINE void envoy_config_core_v3_UpstreamHttpProtocolOptions_set_override_au /* envoy.config.core.v3.AlternateProtocolsCacheOptions */ UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions* envoy_config_core_v3_AlternateProtocolsCacheOptions_new(upb_Arena* arena) { - return (envoy_config_core_v3_AlternateProtocolsCacheOptions*)_upb_Message_New(&envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init, arena); + return (envoy_config_core_v3_AlternateProtocolsCacheOptions*)_upb_Message_New(&envoy__config__core__v3__AlternateProtocolsCacheOptions_msg_init, arena); } UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions* envoy_config_core_v3_AlternateProtocolsCacheOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_AlternateProtocolsCacheOptions* ret = envoy_config_core_v3_AlternateProtocolsCacheOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__AlternateProtocolsCacheOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -468,7 +489,7 @@ UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions* envoy_config_cor int options, upb_Arena* arena) { envoy_config_core_v3_AlternateProtocolsCacheOptions* ret = envoy_config_core_v3_AlternateProtocolsCacheOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__AlternateProtocolsCacheOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -476,13 +497,13 @@ UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions* envoy_config_cor } UPB_INLINE char* envoy_config_core_v3_AlternateProtocolsCacheOptions_serialize(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__AlternateProtocolsCacheOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_AlternateProtocolsCacheOptions_serialize_ex(const envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__AlternateProtocolsCacheOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_clear_name(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg) { @@ -612,7 +633,7 @@ UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_set_max_entr UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_AlternateProtocolsCacheOptions_mutable_max_entries(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_AlternateProtocolsCacheOptions_max_entries(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_AlternateProtocolsCacheOptions_set_max_entries(msg, sub); } return sub; @@ -624,7 +645,7 @@ UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_set_key_valu UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_AlternateProtocolsCacheOptions_mutable_key_value_store_config(envoy_config_core_v3_AlternateProtocolsCacheOptions* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_core_v3_AlternateProtocolsCacheOptions_key_value_store_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_core_v3_AlternateProtocolsCacheOptions_set_key_value_store_config(msg, sub); } return sub; @@ -650,7 +671,7 @@ UPB_INLINE struct envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateP if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* sub = (struct envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry*)_upb_Message_New(&envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init, arena); + struct envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* sub = (struct envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry*)_upb_Message_New(&envoy__config__core__v3__AlternateProtocolsCacheOptions__AlternateProtocolsCacheEntry_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -683,12 +704,12 @@ UPB_INLINE bool envoy_config_core_v3_AlternateProtocolsCacheOptions_add_canonica /* envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry */ UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_new(upb_Arena* arena) { - return (envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry*)_upb_Message_New(&envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init, arena); + return (envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry*)_upb_Message_New(&envoy__config__core__v3__AlternateProtocolsCacheOptions__AlternateProtocolsCacheEntry_msg_init, arena); } UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* ret = envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__AlternateProtocolsCacheOptions__AlternateProtocolsCacheEntry_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -698,7 +719,7 @@ UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocol int options, upb_Arena* arena) { envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* ret = envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__AlternateProtocolsCacheOptions__AlternateProtocolsCacheEntry_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -706,13 +727,13 @@ UPB_INLINE envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocol } UPB_INLINE char* envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_serialize(const envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__AlternateProtocolsCacheOptions__AlternateProtocolsCacheEntry_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_serialize_ex(const envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__AlternateProtocolsCacheOptions__AlternateProtocolsCacheEntry_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_clear_hostname(envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry* msg) { @@ -750,12 +771,12 @@ UPB_INLINE void envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternatePro /* envoy.config.core.v3.HttpProtocolOptions */ UPB_INLINE envoy_config_core_v3_HttpProtocolOptions* envoy_config_core_v3_HttpProtocolOptions_new(upb_Arena* arena) { - return (envoy_config_core_v3_HttpProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_HttpProtocolOptions_msg_init, arena); + return (envoy_config_core_v3_HttpProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__HttpProtocolOptions_msg_init, arena); } UPB_INLINE envoy_config_core_v3_HttpProtocolOptions* envoy_config_core_v3_HttpProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_HttpProtocolOptions* ret = envoy_config_core_v3_HttpProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HttpProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HttpProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -765,7 +786,7 @@ UPB_INLINE envoy_config_core_v3_HttpProtocolOptions* envoy_config_core_v3_HttpPr int options, upb_Arena* arena) { envoy_config_core_v3_HttpProtocolOptions* ret = envoy_config_core_v3_HttpProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_HttpProtocolOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__HttpProtocolOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -773,13 +794,13 @@ UPB_INLINE envoy_config_core_v3_HttpProtocolOptions* envoy_config_core_v3_HttpPr } UPB_INLINE char* envoy_config_core_v3_HttpProtocolOptions_serialize(const envoy_config_core_v3_HttpProtocolOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HttpProtocolOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HttpProtocolOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_HttpProtocolOptions_serialize_ex(const envoy_config_core_v3_HttpProtocolOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_HttpProtocolOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__HttpProtocolOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_clear_idle_timeout(envoy_config_core_v3_HttpProtocolOptions* msg) { @@ -876,7 +897,7 @@ UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_set_idle_timeout(envoy_ UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HttpProtocolOptions_mutable_idle_timeout(envoy_config_core_v3_HttpProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HttpProtocolOptions_idle_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_HttpProtocolOptions_set_idle_timeout(msg, sub); } return sub; @@ -888,7 +909,7 @@ UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_set_max_headers_count(e UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_HttpProtocolOptions_mutable_max_headers_count(envoy_config_core_v3_HttpProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_HttpProtocolOptions_max_headers_count(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_HttpProtocolOptions_set_max_headers_count(msg, sub); } return sub; @@ -900,7 +921,7 @@ UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_set_max_connection_dura UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HttpProtocolOptions_mutable_max_connection_duration(envoy_config_core_v3_HttpProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HttpProtocolOptions_max_connection_duration(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_HttpProtocolOptions_set_max_connection_duration(msg, sub); } return sub; @@ -912,7 +933,7 @@ UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_set_max_stream_duration UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_HttpProtocolOptions_mutable_max_stream_duration(envoy_config_core_v3_HttpProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_HttpProtocolOptions_max_stream_duration(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_HttpProtocolOptions_set_max_stream_duration(msg, sub); } return sub; @@ -928,7 +949,7 @@ UPB_INLINE void envoy_config_core_v3_HttpProtocolOptions_set_max_requests_per_co UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_HttpProtocolOptions_mutable_max_requests_per_connection(envoy_config_core_v3_HttpProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_HttpProtocolOptions_max_requests_per_connection(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_HttpProtocolOptions_set_max_requests_per_connection(msg, sub); } return sub; @@ -937,12 +958,12 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_HttpProtocol /* envoy.config.core.v3.Http1ProtocolOptions */ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions* envoy_config_core_v3_Http1ProtocolOptions_new(upb_Arena* arena) { - return (envoy_config_core_v3_Http1ProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_Http1ProtocolOptions_msg_init, arena); + return (envoy_config_core_v3_Http1ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http1ProtocolOptions_msg_init, arena); } UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions* envoy_config_core_v3_Http1ProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_Http1ProtocolOptions* ret = envoy_config_core_v3_Http1ProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http1ProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Http1ProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -952,7 +973,7 @@ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions* envoy_config_core_v3_Http1 int options, upb_Arena* arena) { envoy_config_core_v3_Http1ProtocolOptions* ret = envoy_config_core_v3_Http1ProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http1ProtocolOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Http1ProtocolOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -960,13 +981,13 @@ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions* envoy_config_core_v3_Http1 } UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_serialize(const envoy_config_core_v3_Http1ProtocolOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Http1ProtocolOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Http1ProtocolOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_serialize_ex(const envoy_config_core_v3_Http1ProtocolOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Http1ProtocolOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Http1ProtocolOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_clear_allow_absolute_url(envoy_config_core_v3_Http1ProtocolOptions* msg) { @@ -1103,7 +1124,7 @@ UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_allow_absolute_url UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_Http1ProtocolOptions_mutable_allow_absolute_url(envoy_config_core_v3_Http1ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_Http1ProtocolOptions_allow_absolute_url(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_core_v3_Http1ProtocolOptions_set_allow_absolute_url(msg, sub); } return sub; @@ -1123,7 +1144,7 @@ UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_header_key_format( UPB_INLINE struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* envoy_config_core_v3_Http1ProtocolOptions_mutable_header_key_format(envoy_config_core_v3_Http1ProtocolOptions* msg, upb_Arena* arena) { struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* sub = (struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat*)envoy_config_core_v3_Http1ProtocolOptions_header_key_format(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat*)_upb_Message_New(&envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init, arena); + sub = (struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat*)_upb_Message_New(&envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat_msg_init, arena); if (sub) envoy_config_core_v3_Http1ProtocolOptions_set_header_key_format(msg, sub); } return sub; @@ -1143,7 +1164,7 @@ UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_override_stream_er UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_Http1ProtocolOptions_mutable_override_stream_error_on_invalid_http_message(envoy_config_core_v3_Http1ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_Http1ProtocolOptions_override_stream_error_on_invalid_http_message(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_core_v3_Http1ProtocolOptions_set_override_stream_error_on_invalid_http_message(msg, sub); } return sub; @@ -1159,7 +1180,7 @@ UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_use_balsa_parser(e UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_Http1ProtocolOptions_mutable_use_balsa_parser(envoy_config_core_v3_Http1ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_Http1ProtocolOptions_use_balsa_parser(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_core_v3_Http1ProtocolOptions_set_use_balsa_parser(msg, sub); } return sub; @@ -1172,12 +1193,12 @@ UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_set_allow_custom_metho /* envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat */ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_new(upb_Arena* arena) { - return (envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat*)_upb_Message_New(&envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init, arena); + return (envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat*)_upb_Message_New(&envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat_msg_init, arena); } UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* ret = envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1187,7 +1208,7 @@ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* envoy_conf int options, upb_Arena* arena) { envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* ret = envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1195,13 +1216,13 @@ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* envoy_conf } UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_serialize(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_serialize_ex(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1251,7 +1272,7 @@ UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_set_pr UPB_INLINE struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_mutable_proper_case_words(envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg, upb_Arena* arena) { struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* sub = (struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords*)envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_proper_case_words(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords*)_upb_Message_New(&envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init, arena); + sub = (struct envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords*)_upb_Message_New(&envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat__ProperCaseWords_msg_init, arena); if (sub) envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_set_proper_case_words(msg, sub); } return sub; @@ -1263,7 +1284,7 @@ UPB_INLINE void envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_set_st UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_mutable_stateful_formatter(envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_stateful_formatter(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_set_stateful_formatter(msg, sub); } return sub; @@ -1272,12 +1293,12 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v /* envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords */ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_new(upb_Arena* arena) { - return (envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords*)_upb_Message_New(&envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init, arena); + return (envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords*)_upb_Message_New(&envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat__ProperCaseWords_msg_init, arena); } UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* ret = envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat__ProperCaseWords_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1287,7 +1308,7 @@ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseW int options, upb_Arena* arena) { envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* ret = envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat__ProperCaseWords_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1295,13 +1316,13 @@ UPB_INLINE envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseW } UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_serialize(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat__ProperCaseWords_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_serialize_ex(const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat__ProperCaseWords_msg_init, options, arena, &ptr, len); return ptr; } @@ -1309,12 +1330,12 @@ UPB_INLINE char* envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_Prope /* envoy.config.core.v3.KeepaliveSettings */ UPB_INLINE envoy_config_core_v3_KeepaliveSettings* envoy_config_core_v3_KeepaliveSettings_new(upb_Arena* arena) { - return (envoy_config_core_v3_KeepaliveSettings*)_upb_Message_New(&envoy_config_core_v3_KeepaliveSettings_msg_init, arena); + return (envoy_config_core_v3_KeepaliveSettings*)_upb_Message_New(&envoy__config__core__v3__KeepaliveSettings_msg_init, arena); } UPB_INLINE envoy_config_core_v3_KeepaliveSettings* envoy_config_core_v3_KeepaliveSettings_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_KeepaliveSettings* ret = envoy_config_core_v3_KeepaliveSettings_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_KeepaliveSettings_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__KeepaliveSettings_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1324,7 +1345,7 @@ UPB_INLINE envoy_config_core_v3_KeepaliveSettings* envoy_config_core_v3_Keepaliv int options, upb_Arena* arena) { envoy_config_core_v3_KeepaliveSettings* ret = envoy_config_core_v3_KeepaliveSettings_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_KeepaliveSettings_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__KeepaliveSettings_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1332,13 +1353,13 @@ UPB_INLINE envoy_config_core_v3_KeepaliveSettings* envoy_config_core_v3_Keepaliv } UPB_INLINE char* envoy_config_core_v3_KeepaliveSettings_serialize(const envoy_config_core_v3_KeepaliveSettings* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_KeepaliveSettings_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__KeepaliveSettings_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_KeepaliveSettings_serialize_ex(const envoy_config_core_v3_KeepaliveSettings* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_KeepaliveSettings_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__KeepaliveSettings_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_clear_interval(envoy_config_core_v3_KeepaliveSettings* msg) { @@ -1409,7 +1430,7 @@ UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_set_interval(envoy_config UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_KeepaliveSettings_mutable_interval(envoy_config_core_v3_KeepaliveSettings* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_KeepaliveSettings_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_KeepaliveSettings_set_interval(msg, sub); } return sub; @@ -1421,7 +1442,7 @@ UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_set_timeout(envoy_config_ UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_KeepaliveSettings_mutable_timeout(envoy_config_core_v3_KeepaliveSettings* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_KeepaliveSettings_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_KeepaliveSettings_set_timeout(msg, sub); } return sub; @@ -1433,7 +1454,7 @@ UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_set_interval_jitter(envoy UPB_INLINE struct envoy_type_v3_Percent* envoy_config_core_v3_KeepaliveSettings_mutable_interval_jitter(envoy_config_core_v3_KeepaliveSettings* msg, upb_Arena* arena) { struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_core_v3_KeepaliveSettings_interval_jitter(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); if (sub) envoy_config_core_v3_KeepaliveSettings_set_interval_jitter(msg, sub); } return sub; @@ -1445,7 +1466,7 @@ UPB_INLINE void envoy_config_core_v3_KeepaliveSettings_set_connection_idle_inter UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_KeepaliveSettings_mutable_connection_idle_interval(envoy_config_core_v3_KeepaliveSettings* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_core_v3_KeepaliveSettings_connection_idle_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_core_v3_KeepaliveSettings_set_connection_idle_interval(msg, sub); } return sub; @@ -1454,12 +1475,12 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_core_v3_KeepaliveSettin /* envoy.config.core.v3.Http2ProtocolOptions */ UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions* envoy_config_core_v3_Http2ProtocolOptions_new(upb_Arena* arena) { - return (envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_Http2ProtocolOptions_msg_init, arena); + return (envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http2ProtocolOptions_msg_init, arena); } UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions* envoy_config_core_v3_Http2ProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_Http2ProtocolOptions* ret = envoy_config_core_v3_Http2ProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http2ProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Http2ProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1469,7 +1490,7 @@ UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions* envoy_config_core_v3_Http2 int options, upb_Arena* arena) { envoy_config_core_v3_Http2ProtocolOptions* ret = envoy_config_core_v3_Http2ProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http2ProtocolOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Http2ProtocolOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1477,13 +1498,13 @@ UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions* envoy_config_core_v3_Http2 } UPB_INLINE char* envoy_config_core_v3_Http2ProtocolOptions_serialize(const envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Http2ProtocolOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Http2ProtocolOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_Http2ProtocolOptions_serialize_ex(const envoy_config_core_v3_Http2ProtocolOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Http2ProtocolOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Http2ProtocolOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_clear_hpack_table_size(envoy_config_core_v3_Http2ProtocolOptions* msg) { @@ -1744,7 +1765,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_hpack_table_size(e UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_hpack_table_size(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_hpack_table_size(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_hpack_table_size(msg, sub); } return sub; @@ -1756,7 +1777,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_max_concurrent_str UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_max_concurrent_streams(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_max_concurrent_streams(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_max_concurrent_streams(msg, sub); } return sub; @@ -1768,7 +1789,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_initial_stream_win UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_initial_stream_window_size(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_initial_stream_window_size(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_initial_stream_window_size(msg, sub); } return sub; @@ -1780,7 +1801,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_initial_connection UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_initial_connection_window_size(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_initial_connection_window_size(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_initial_connection_window_size(msg, sub); } return sub; @@ -1800,7 +1821,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_max_outbound_frame UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_max_outbound_frames(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_max_outbound_frames(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_max_outbound_frames(msg, sub); } return sub; @@ -1812,7 +1833,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_max_outbound_contr UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_max_outbound_control_frames(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_max_outbound_control_frames(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_max_outbound_control_frames(msg, sub); } return sub; @@ -1824,7 +1845,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_max_consecutive_in UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_max_consecutive_inbound_frames_with_empty_payload(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_max_consecutive_inbound_frames_with_empty_payload(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_max_consecutive_inbound_frames_with_empty_payload(msg, sub); } return sub; @@ -1836,7 +1857,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_max_inbound_priori UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_max_inbound_priority_frames_per_stream(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_max_inbound_priority_frames_per_stream(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_max_inbound_priority_frames_per_stream(msg, sub); } return sub; @@ -1848,7 +1869,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_max_inbound_window UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_mutable_max_inbound_window_update_frames_per_data_frame_sent(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_max_inbound_window_update_frames_per_data_frame_sent(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_max_inbound_window_update_frames_per_data_frame_sent(msg, sub); } return sub; @@ -1878,7 +1899,7 @@ UPB_INLINE struct envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* e if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* sub = (struct envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter*)_upb_Message_New(&envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init, arena); + struct envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* sub = (struct envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter*)_upb_Message_New(&envoy__config__core__v3__Http2ProtocolOptions__SettingsParameter_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1890,7 +1911,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_override_stream_er UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_Http2ProtocolOptions_mutable_override_stream_error_on_invalid_http_message(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_Http2ProtocolOptions_override_stream_error_on_invalid_http_message(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_override_stream_error_on_invalid_http_message(msg, sub); } return sub; @@ -1902,7 +1923,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_connection_keepali UPB_INLINE struct envoy_config_core_v3_KeepaliveSettings* envoy_config_core_v3_Http2ProtocolOptions_mutable_connection_keepalive(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) { struct envoy_config_core_v3_KeepaliveSettings* sub = (struct envoy_config_core_v3_KeepaliveSettings*)envoy_config_core_v3_Http2ProtocolOptions_connection_keepalive(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_KeepaliveSettings*)_upb_Message_New(&envoy_config_core_v3_KeepaliveSettings_msg_init, arena); + sub = (struct envoy_config_core_v3_KeepaliveSettings*)_upb_Message_New(&envoy__config__core__v3__KeepaliveSettings_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_connection_keepalive(msg, sub); } return sub; @@ -1914,7 +1935,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_set_use_oghttp2_codec( UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_Http2ProtocolOptions_mutable_use_oghttp2_codec(envoy_config_core_v3_Http2ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_Http2ProtocolOptions_use_oghttp2_codec(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_set_use_oghttp2_codec(msg, sub); } return sub; @@ -1923,12 +1944,12 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_Http2ProtocolO /* envoy.config.core.v3.Http2ProtocolOptions.SettingsParameter */ UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_new(upb_Arena* arena) { - return (envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter*)_upb_Message_New(&envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init, arena); + return (envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter*)_upb_Message_New(&envoy__config__core__v3__Http2ProtocolOptions__SettingsParameter_msg_init, arena); } UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* ret = envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Http2ProtocolOptions__SettingsParameter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1938,7 +1959,7 @@ UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* envoy_co int options, upb_Arena* arena) { envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* ret = envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Http2ProtocolOptions__SettingsParameter_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1946,13 +1967,13 @@ UPB_INLINE envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* envoy_co } UPB_INLINE char* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_serialize(const envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Http2ProtocolOptions__SettingsParameter_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_serialize_ex(const envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Http2ProtocolOptions__SettingsParameter_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_clear_identifier(envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg) { @@ -1993,7 +2014,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_set_ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_mutable_identifier(envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_identifier(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_set_identifier(msg, sub); } return sub; @@ -2005,7 +2026,7 @@ UPB_INLINE void envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_set_ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_mutable_value(envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_value(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_set_value(msg, sub); } return sub; @@ -2014,12 +2035,12 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_core_v3_Http2Protoco /* envoy.config.core.v3.GrpcProtocolOptions */ UPB_INLINE envoy_config_core_v3_GrpcProtocolOptions* envoy_config_core_v3_GrpcProtocolOptions_new(upb_Arena* arena) { - return (envoy_config_core_v3_GrpcProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_GrpcProtocolOptions_msg_init, arena); + return (envoy_config_core_v3_GrpcProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__GrpcProtocolOptions_msg_init, arena); } UPB_INLINE envoy_config_core_v3_GrpcProtocolOptions* envoy_config_core_v3_GrpcProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_GrpcProtocolOptions* ret = envoy_config_core_v3_GrpcProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2029,7 +2050,7 @@ UPB_INLINE envoy_config_core_v3_GrpcProtocolOptions* envoy_config_core_v3_GrpcPr int options, upb_Arena* arena) { envoy_config_core_v3_GrpcProtocolOptions* ret = envoy_config_core_v3_GrpcProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_GrpcProtocolOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__GrpcProtocolOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2037,13 +2058,13 @@ UPB_INLINE envoy_config_core_v3_GrpcProtocolOptions* envoy_config_core_v3_GrpcPr } UPB_INLINE char* envoy_config_core_v3_GrpcProtocolOptions_serialize(const envoy_config_core_v3_GrpcProtocolOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcProtocolOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcProtocolOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_GrpcProtocolOptions_serialize_ex(const envoy_config_core_v3_GrpcProtocolOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_GrpcProtocolOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__GrpcProtocolOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_GrpcProtocolOptions_clear_http2_protocol_options(envoy_config_core_v3_GrpcProtocolOptions* msg) { @@ -2069,7 +2090,7 @@ UPB_INLINE void envoy_config_core_v3_GrpcProtocolOptions_set_http2_protocol_opti UPB_INLINE struct envoy_config_core_v3_Http2ProtocolOptions* envoy_config_core_v3_GrpcProtocolOptions_mutable_http2_protocol_options(envoy_config_core_v3_GrpcProtocolOptions* msg, upb_Arena* arena) { struct envoy_config_core_v3_Http2ProtocolOptions* sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)envoy_config_core_v3_GrpcProtocolOptions_http2_protocol_options(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_Http2ProtocolOptions_msg_init, arena); + sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http2ProtocolOptions_msg_init, arena); if (sub) envoy_config_core_v3_GrpcProtocolOptions_set_http2_protocol_options(msg, sub); } return sub; @@ -2078,12 +2099,12 @@ UPB_INLINE struct envoy_config_core_v3_Http2ProtocolOptions* envoy_config_core_v /* envoy.config.core.v3.Http3ProtocolOptions */ UPB_INLINE envoy_config_core_v3_Http3ProtocolOptions* envoy_config_core_v3_Http3ProtocolOptions_new(upb_Arena* arena) { - return (envoy_config_core_v3_Http3ProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_Http3ProtocolOptions_msg_init, arena); + return (envoy_config_core_v3_Http3ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http3ProtocolOptions_msg_init, arena); } UPB_INLINE envoy_config_core_v3_Http3ProtocolOptions* envoy_config_core_v3_Http3ProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_Http3ProtocolOptions* ret = envoy_config_core_v3_Http3ProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http3ProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Http3ProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2093,7 +2114,7 @@ UPB_INLINE envoy_config_core_v3_Http3ProtocolOptions* envoy_config_core_v3_Http3 int options, upb_Arena* arena) { envoy_config_core_v3_Http3ProtocolOptions* ret = envoy_config_core_v3_Http3ProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_Http3ProtocolOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__Http3ProtocolOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2101,13 +2122,13 @@ UPB_INLINE envoy_config_core_v3_Http3ProtocolOptions* envoy_config_core_v3_Http3 } UPB_INLINE char* envoy_config_core_v3_Http3ProtocolOptions_serialize(const envoy_config_core_v3_Http3ProtocolOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Http3ProtocolOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Http3ProtocolOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_Http3ProtocolOptions_serialize_ex(const envoy_config_core_v3_Http3ProtocolOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_Http3ProtocolOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__Http3ProtocolOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_Http3ProtocolOptions_clear_quic_protocol_options(envoy_config_core_v3_Http3ProtocolOptions* msg) { @@ -2159,7 +2180,7 @@ UPB_INLINE void envoy_config_core_v3_Http3ProtocolOptions_set_quic_protocol_opti UPB_INLINE struct envoy_config_core_v3_QuicProtocolOptions* envoy_config_core_v3_Http3ProtocolOptions_mutable_quic_protocol_options(envoy_config_core_v3_Http3ProtocolOptions* msg, upb_Arena* arena) { struct envoy_config_core_v3_QuicProtocolOptions* sub = (struct envoy_config_core_v3_QuicProtocolOptions*)envoy_config_core_v3_Http3ProtocolOptions_quic_protocol_options(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_QuicProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_QuicProtocolOptions_msg_init, arena); + sub = (struct envoy_config_core_v3_QuicProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__QuicProtocolOptions_msg_init, arena); if (sub) envoy_config_core_v3_Http3ProtocolOptions_set_quic_protocol_options(msg, sub); } return sub; @@ -2171,7 +2192,7 @@ UPB_INLINE void envoy_config_core_v3_Http3ProtocolOptions_set_override_stream_er UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_Http3ProtocolOptions_mutable_override_stream_error_on_invalid_http_message(envoy_config_core_v3_Http3ProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_Http3ProtocolOptions_override_stream_error_on_invalid_http_message(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_core_v3_Http3ProtocolOptions_set_override_stream_error_on_invalid_http_message(msg, sub); } return sub; @@ -2184,12 +2205,12 @@ UPB_INLINE void envoy_config_core_v3_Http3ProtocolOptions_set_allow_extended_con /* envoy.config.core.v3.SchemeHeaderTransformation */ UPB_INLINE envoy_config_core_v3_SchemeHeaderTransformation* envoy_config_core_v3_SchemeHeaderTransformation_new(upb_Arena* arena) { - return (envoy_config_core_v3_SchemeHeaderTransformation*)_upb_Message_New(&envoy_config_core_v3_SchemeHeaderTransformation_msg_init, arena); + return (envoy_config_core_v3_SchemeHeaderTransformation*)_upb_Message_New(&envoy__config__core__v3__SchemeHeaderTransformation_msg_init, arena); } UPB_INLINE envoy_config_core_v3_SchemeHeaderTransformation* envoy_config_core_v3_SchemeHeaderTransformation_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_SchemeHeaderTransformation* ret = envoy_config_core_v3_SchemeHeaderTransformation_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SchemeHeaderTransformation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__SchemeHeaderTransformation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2199,7 +2220,7 @@ UPB_INLINE envoy_config_core_v3_SchemeHeaderTransformation* envoy_config_core_v3 int options, upb_Arena* arena) { envoy_config_core_v3_SchemeHeaderTransformation* ret = envoy_config_core_v3_SchemeHeaderTransformation_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SchemeHeaderTransformation_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__SchemeHeaderTransformation_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2207,13 +2228,13 @@ UPB_INLINE envoy_config_core_v3_SchemeHeaderTransformation* envoy_config_core_v3 } UPB_INLINE char* envoy_config_core_v3_SchemeHeaderTransformation_serialize(const envoy_config_core_v3_SchemeHeaderTransformation* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_SchemeHeaderTransformation_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__SchemeHeaderTransformation_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_SchemeHeaderTransformation_serialize_ex(const envoy_config_core_v3_SchemeHeaderTransformation* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_SchemeHeaderTransformation_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__SchemeHeaderTransformation_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -2245,8 +2266,6 @@ UPB_INLINE void envoy_config_core_v3_SchemeHeaderTransformation_set_scheme_to_ov _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_config_core_v3_protocol_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c new file mode 100644 index 00000000000..ff426fac106 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c @@ -0,0 +1,483 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/protocol.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/protocol.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +const upb_MiniTable envoy__config__core__v3__TcpProtocolOptions_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_config_core_v3_QuicKeepAliveSettings_submsgs[2] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_QuicKeepAliveSettings__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__QuicKeepAliveSettings_msg_init = { + &envoy_config_core_v3_QuicKeepAliveSettings_submsgs[0], + &envoy_config_core_v3_QuicKeepAliveSettings__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_QuicProtocolOptions_submsgs[5] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__QuicKeepAliveSettings_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_QuicProtocolOptions__fields[7] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__QuicProtocolOptions_msg_init = { + &envoy_config_core_v3_QuicProtocolOptions_submsgs[0], + &envoy_config_core_v3_QuicProtocolOptions__fields[0], + UPB_SIZE(40, 80), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x0020000004030022, &upb_psm_1bt_maxmaxb}, + {0x002800000504002a, &upb_psm_1bt_max64b}, + {0x003000003f000032, &upb_pss_1bt}, + {0x004000003f00003a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_UpstreamHttpProtocolOptions__fields[3] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__UpstreamHttpProtocolOptions_msg_init = { + NULL, + &envoy_config_core_v3_UpstreamHttpProtocolOptions__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x000800003f00001a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_AlternateProtocolsCacheOptions_submsgs[3] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__AlternateProtocolsCacheOptions__AlternateProtocolsCacheEntry_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_AlternateProtocolsCacheOptions__fields[5] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__AlternateProtocolsCacheOptions_msg_init = { + &envoy_config_core_v3_AlternateProtocolsCacheOptions_submsgs[0], + &envoy_config_core_v3_AlternateProtocolsCacheOptions__fields[0], + UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + {0x002800003f020022, &upb_prm_1bt_max64b}, + {0x003000003f00002a, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry__fields[2] = { + {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__AlternateProtocolsCacheOptions__AlternateProtocolsCacheEntry_msg_init = { + NULL, + &envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x000000003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_HttpProtocolOptions_submsgs[5] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_HttpProtocolOptions__fields[6] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__HttpProtocolOptions_msg_init = { + &envoy_config_core_v3_HttpProtocolOptions_submsgs[0], + &envoy_config_core_v3_HttpProtocolOptions__fields[0], + UPB_SIZE(32, 48), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x0020000004030022, &upb_psm_1bt_maxmaxb}, + {0x000400003f000028, &upb_psv4_1bt}, + {0x0028000005040032, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_Http1ProtocolOptions_submsgs[4] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_Http1ProtocolOptions__fields[10] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(36, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(17, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(20, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(24, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(28, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(32, 5), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Http1ProtocolOptions_msg_init = { + &envoy_config_core_v3_Http1ProtocolOptions_submsgs[0], + &envoy_config_core_v3_Http1ProtocolOptions__fields[0], + UPB_SIZE(48, 56), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x001000003f00001a, &upb_pss_1bt}, + {0x0020000002010022, &upb_psm_1bt_max64b}, + {0x000200003f000028, &upb_psb1_1bt}, + {0x000300003f000030, &upb_psb1_1bt}, + {0x002800000302003a, &upb_psm_1bt_maxmaxb}, + {0x000400003f000040, &upb_psb1_1bt}, + {0x003000000403004a, &upb_psm_1bt_maxmaxb}, + {0x000500003f000050, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_submsgs[2] = { + {.submsg = &envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat__ProperCaseWords_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat__fields[2] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat_msg_init = { + &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_submsgs[0], + &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000008010042, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +const upb_MiniTable envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat__ProperCaseWords_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_config_core_v3_KeepaliveSettings_submsgs[4] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__type__v3__Percent_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_KeepaliveSettings__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__KeepaliveSettings_msg_init = { + &envoy_config_core_v3_KeepaliveSettings_submsgs[0], + &envoy_config_core_v3_KeepaliveSettings__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x0020000004030022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_Http2ProtocolOptions_submsgs[13] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__Http2ProtocolOptions__SettingsParameter_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__core__v3__KeepaliveSettings_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_Http2ProtocolOptions__fields[16] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(21, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(28, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(32, 56), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(36, 64), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(40, 72), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(44, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(48, 80), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(52, 88), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(56, 96), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(60, 104), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Http2ProtocolOptions_msg_init = { + &envoy_config_core_v3_Http2ProtocolOptions_submsgs[0], + &envoy_config_core_v3_Http2ProtocolOptions__fields[0], + UPB_SIZE(64, 112), 16, kUpb_ExtMode_NonExtendable, 16, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x0020000004030022, &upb_psm_1bt_maxmaxb}, + {0x000200003f000028, &upb_psb1_1bt}, + {0x000300003f000030, &upb_psb1_1bt}, + {0x002800000504003a, &upb_psm_1bt_maxmaxb}, + {0x0030000006050042, &upb_psm_1bt_maxmaxb}, + {0x003800000706004a, &upb_psm_1bt_maxmaxb}, + {0x0040000008070052, &upb_psm_1bt_maxmaxb}, + {0x004800000908005a, &upb_psm_1bt_maxmaxb}, + {0x000400003f000060, &upb_psb1_1bt}, + {0x005000003f09006a, &upb_prm_1bt_max64b}, + {0x005800000a0a0072, &upb_psm_1bt_maxmaxb}, + {0x006000000b0b007a, &upb_psm_1bt_max64b}, + {0x006800000c0c0182, &upb_psm_2bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_submsgs[2] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Http2ProtocolOptions__SettingsParameter_msg_init = { + &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_submsgs[0], + &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_GrpcProtocolOptions_submsgs[1] = { + {.submsg = &envoy__config__core__v3__Http2ProtocolOptions_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_GrpcProtocolOptions__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__GrpcProtocolOptions_msg_init = { + &envoy_config_core_v3_GrpcProtocolOptions_submsgs[0], + &envoy_config_core_v3_GrpcProtocolOptions__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max128b}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_Http3ProtocolOptions_submsgs[2] = { + {.submsg = &envoy__config__core__v3__QuicProtocolOptions_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_Http3ProtocolOptions__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__Http3ProtocolOptions_msg_init = { + &envoy_config_core_v3_Http3ProtocolOptions_submsgs[0], + &envoy_config_core_v3_Http3ProtocolOptions__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max128b}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000100003f000028, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_core_v3_SchemeHeaderTransformation__fields[1] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__SchemeHeaderTransformation_msg_init = { + NULL, + &envoy_config_core_v3_SchemeHeaderTransformation__fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[16] = { + &envoy__config__core__v3__TcpProtocolOptions_msg_init, + &envoy__config__core__v3__QuicKeepAliveSettings_msg_init, + &envoy__config__core__v3__QuicProtocolOptions_msg_init, + &envoy__config__core__v3__UpstreamHttpProtocolOptions_msg_init, + &envoy__config__core__v3__AlternateProtocolsCacheOptions_msg_init, + &envoy__config__core__v3__AlternateProtocolsCacheOptions__AlternateProtocolsCacheEntry_msg_init, + &envoy__config__core__v3__HttpProtocolOptions_msg_init, + &envoy__config__core__v3__Http1ProtocolOptions_msg_init, + &envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat_msg_init, + &envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat__ProperCaseWords_msg_init, + &envoy__config__core__v3__KeepaliveSettings_msg_init, + &envoy__config__core__v3__Http2ProtocolOptions_msg_init, + &envoy__config__core__v3__Http2ProtocolOptions__SettingsParameter_msg_init, + &envoy__config__core__v3__GrpcProtocolOptions_msg_init, + &envoy__config__core__v3__Http3ProtocolOptions_msg_init, + &envoy__config__core__v3__SchemeHeaderTransformation_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_protocol_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 16, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h new file mode 100644 index 00000000000..2d5f775a602 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h @@ -0,0 +1,45 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/protocol.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_PROTOCOL_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_PROTOCOL_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__TcpProtocolOptions_msg_init; +extern const upb_MiniTable envoy__config__core__v3__QuicKeepAliveSettings_msg_init; +extern const upb_MiniTable envoy__config__core__v3__QuicProtocolOptions_msg_init; +extern const upb_MiniTable envoy__config__core__v3__UpstreamHttpProtocolOptions_msg_init; +extern const upb_MiniTable envoy__config__core__v3__AlternateProtocolsCacheOptions_msg_init; +extern const upb_MiniTable envoy__config__core__v3__AlternateProtocolsCacheOptions__AlternateProtocolsCacheEntry_msg_init; +extern const upb_MiniTable envoy__config__core__v3__HttpProtocolOptions_msg_init; +extern const upb_MiniTable envoy__config__core__v3__Http1ProtocolOptions_msg_init; +extern const upb_MiniTable envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat_msg_init; +extern const upb_MiniTable envoy__config__core__v3__Http1ProtocolOptions__HeaderKeyFormat__ProperCaseWords_msg_init; +extern const upb_MiniTable envoy__config__core__v3__KeepaliveSettings_msg_init; +extern const upb_MiniTable envoy__config__core__v3__Http2ProtocolOptions_msg_init; +extern const upb_MiniTable envoy__config__core__v3__Http2ProtocolOptions__SettingsParameter_msg_init; +extern const upb_MiniTable envoy__config__core__v3__GrpcProtocolOptions_msg_init; +extern const upb_MiniTable envoy__config__core__v3__Http3ProtocolOptions_msg_init; +extern const upb_MiniTable envoy__config__core__v3__SchemeHeaderTransformation_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_protocol_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_PROTOCOL_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h similarity index 89% rename from src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h index cf407473f1b..6dce8ba4fa1 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/proxy_protocol.proto * @@ -10,7 +9,13 @@ #define ENVOY_CONFIG_CORE_V3_PROXY_PROTOCOL_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/proxy_protocol.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,8 +24,6 @@ extern "C" { typedef struct envoy_config_core_v3_ProxyProtocolPassThroughTLVs envoy_config_core_v3_ProxyProtocolPassThroughTLVs; typedef struct envoy_config_core_v3_ProxyProtocolConfig envoy_config_core_v3_ProxyProtocolConfig; -extern const upb_MiniTable envoy_config_core_v3_ProxyProtocolPassThroughTLVs_msg_init; -extern const upb_MiniTable envoy_config_core_v3_ProxyProtocolConfig_msg_init; typedef enum { envoy_config_core_v3_ProxyProtocolConfig_V1 = 0, @@ -37,12 +40,12 @@ typedef enum { /* envoy.config.core.v3.ProxyProtocolPassThroughTLVs */ UPB_INLINE envoy_config_core_v3_ProxyProtocolPassThroughTLVs* envoy_config_core_v3_ProxyProtocolPassThroughTLVs_new(upb_Arena* arena) { - return (envoy_config_core_v3_ProxyProtocolPassThroughTLVs*)_upb_Message_New(&envoy_config_core_v3_ProxyProtocolPassThroughTLVs_msg_init, arena); + return (envoy_config_core_v3_ProxyProtocolPassThroughTLVs*)_upb_Message_New(&envoy__config__core__v3__ProxyProtocolPassThroughTLVs_msg_init, arena); } UPB_INLINE envoy_config_core_v3_ProxyProtocolPassThroughTLVs* envoy_config_core_v3_ProxyProtocolPassThroughTLVs_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_ProxyProtocolPassThroughTLVs* ret = envoy_config_core_v3_ProxyProtocolPassThroughTLVs_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ProxyProtocolPassThroughTLVs_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ProxyProtocolPassThroughTLVs_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -52,7 +55,7 @@ UPB_INLINE envoy_config_core_v3_ProxyProtocolPassThroughTLVs* envoy_config_core_ int options, upb_Arena* arena) { envoy_config_core_v3_ProxyProtocolPassThroughTLVs* ret = envoy_config_core_v3_ProxyProtocolPassThroughTLVs_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ProxyProtocolPassThroughTLVs_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ProxyProtocolPassThroughTLVs_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -60,13 +63,13 @@ UPB_INLINE envoy_config_core_v3_ProxyProtocolPassThroughTLVs* envoy_config_core_ } UPB_INLINE char* envoy_config_core_v3_ProxyProtocolPassThroughTLVs_serialize(const envoy_config_core_v3_ProxyProtocolPassThroughTLVs* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ProxyProtocolPassThroughTLVs_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ProxyProtocolPassThroughTLVs_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_ProxyProtocolPassThroughTLVs_serialize_ex(const envoy_config_core_v3_ProxyProtocolPassThroughTLVs* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ProxyProtocolPassThroughTLVs_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ProxyProtocolPassThroughTLVs_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_ProxyProtocolPassThroughTLVs_clear_match_type(envoy_config_core_v3_ProxyProtocolPassThroughTLVs* msg) { @@ -150,12 +153,12 @@ UPB_INLINE bool envoy_config_core_v3_ProxyProtocolPassThroughTLVs_add_tlv_type(e /* envoy.config.core.v3.ProxyProtocolConfig */ UPB_INLINE envoy_config_core_v3_ProxyProtocolConfig* envoy_config_core_v3_ProxyProtocolConfig_new(upb_Arena* arena) { - return (envoy_config_core_v3_ProxyProtocolConfig*)_upb_Message_New(&envoy_config_core_v3_ProxyProtocolConfig_msg_init, arena); + return (envoy_config_core_v3_ProxyProtocolConfig*)_upb_Message_New(&envoy__config__core__v3__ProxyProtocolConfig_msg_init, arena); } UPB_INLINE envoy_config_core_v3_ProxyProtocolConfig* envoy_config_core_v3_ProxyProtocolConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_ProxyProtocolConfig* ret = envoy_config_core_v3_ProxyProtocolConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ProxyProtocolConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ProxyProtocolConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -165,7 +168,7 @@ UPB_INLINE envoy_config_core_v3_ProxyProtocolConfig* envoy_config_core_v3_ProxyP int options, upb_Arena* arena) { envoy_config_core_v3_ProxyProtocolConfig* ret = envoy_config_core_v3_ProxyProtocolConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_ProxyProtocolConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__ProxyProtocolConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -173,13 +176,13 @@ UPB_INLINE envoy_config_core_v3_ProxyProtocolConfig* envoy_config_core_v3_ProxyP } UPB_INLINE char* envoy_config_core_v3_ProxyProtocolConfig_serialize(const envoy_config_core_v3_ProxyProtocolConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ProxyProtocolConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ProxyProtocolConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_ProxyProtocolConfig_serialize_ex(const envoy_config_core_v3_ProxyProtocolConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_ProxyProtocolConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__ProxyProtocolConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_ProxyProtocolConfig_clear_version(envoy_config_core_v3_ProxyProtocolConfig* msg) { @@ -220,14 +223,12 @@ UPB_INLINE void envoy_config_core_v3_ProxyProtocolConfig_set_pass_through_tlvs(e UPB_INLINE struct envoy_config_core_v3_ProxyProtocolPassThroughTLVs* envoy_config_core_v3_ProxyProtocolConfig_mutable_pass_through_tlvs(envoy_config_core_v3_ProxyProtocolConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_ProxyProtocolPassThroughTLVs* sub = (struct envoy_config_core_v3_ProxyProtocolPassThroughTLVs*)envoy_config_core_v3_ProxyProtocolConfig_pass_through_tlvs(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ProxyProtocolPassThroughTLVs*)_upb_Message_New(&envoy_config_core_v3_ProxyProtocolPassThroughTLVs_msg_init, arena); + sub = (struct envoy_config_core_v3_ProxyProtocolPassThroughTLVs*)_upb_Message_New(&envoy__config__core__v3__ProxyProtocolPassThroughTLVs_msg_init, arena); if (sub) envoy_config_core_v3_ProxyProtocolConfig_set_pass_through_tlvs(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_core_v3_proxy_protocol_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c new file mode 100644 index 00000000000..de0ec9748b4 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c @@ -0,0 +1,70 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/proxy_protocol.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/proxy_protocol.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_config_core_v3_ProxyProtocolPassThroughTLVs__fields[2] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__ProxyProtocolPassThroughTLVs_msg_init = { + NULL, + &envoy_config_core_v3_ProxyProtocolPassThroughTLVs__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000800003f000012, &upb_ppv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_ProxyProtocolConfig_submsgs[1] = { + {.submsg = &envoy__config__core__v3__ProxyProtocolPassThroughTLVs_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_ProxyProtocolConfig__fields[2] = { + {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__ProxyProtocolConfig_msg_init = { + &envoy_config_core_v3_ProxyProtocolConfig_submsgs[0], + &envoy_config_core_v3_ProxyProtocolConfig__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x0008000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__config__core__v3__ProxyProtocolPassThroughTLVs_msg_init, + &envoy__config__core__v3__ProxyProtocolConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_proxy_protocol_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h new file mode 100644 index 00000000000..2df5f85f6ea --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/proxy_protocol.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_PROXY_PROTOCOL_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_PROXY_PROTOCOL_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__ProxyProtocolPassThroughTLVs_msg_init; +extern const upb_MiniTable envoy__config__core__v3__ProxyProtocolConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_proxy_protocol_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_PROXY_PROTOCOL_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h similarity index 88% rename from src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h index 577f37b6539..e40d64b808c 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/resolver.proto * @@ -10,7 +9,14 @@ #define ENVOY_CONFIG_CORE_V3_RESOLVER_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/resolver.upb_minitable.h" + +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,22 +25,19 @@ extern "C" { typedef struct envoy_config_core_v3_DnsResolverOptions envoy_config_core_v3_DnsResolverOptions; typedef struct envoy_config_core_v3_DnsResolutionConfig envoy_config_core_v3_DnsResolutionConfig; -extern const upb_MiniTable envoy_config_core_v3_DnsResolverOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_DnsResolutionConfig_msg_init; struct envoy_config_core_v3_Address; -extern const upb_MiniTable envoy_config_core_v3_Address_msg_init; /* envoy.config.core.v3.DnsResolverOptions */ UPB_INLINE envoy_config_core_v3_DnsResolverOptions* envoy_config_core_v3_DnsResolverOptions_new(upb_Arena* arena) { - return (envoy_config_core_v3_DnsResolverOptions*)_upb_Message_New(&envoy_config_core_v3_DnsResolverOptions_msg_init, arena); + return (envoy_config_core_v3_DnsResolverOptions*)_upb_Message_New(&envoy__config__core__v3__DnsResolverOptions_msg_init, arena); } UPB_INLINE envoy_config_core_v3_DnsResolverOptions* envoy_config_core_v3_DnsResolverOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_DnsResolverOptions* ret = envoy_config_core_v3_DnsResolverOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_DnsResolverOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__DnsResolverOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -44,7 +47,7 @@ UPB_INLINE envoy_config_core_v3_DnsResolverOptions* envoy_config_core_v3_DnsReso int options, upb_Arena* arena) { envoy_config_core_v3_DnsResolverOptions* ret = envoy_config_core_v3_DnsResolverOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_DnsResolverOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__DnsResolverOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -52,13 +55,13 @@ UPB_INLINE envoy_config_core_v3_DnsResolverOptions* envoy_config_core_v3_DnsReso } UPB_INLINE char* envoy_config_core_v3_DnsResolverOptions_serialize(const envoy_config_core_v3_DnsResolverOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_DnsResolverOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__DnsResolverOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_DnsResolverOptions_serialize_ex(const envoy_config_core_v3_DnsResolverOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_DnsResolverOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__DnsResolverOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_DnsResolverOptions_clear_use_tcp_for_dns_lookups(envoy_config_core_v3_DnsResolverOptions* msg) { @@ -96,12 +99,12 @@ UPB_INLINE void envoy_config_core_v3_DnsResolverOptions_set_no_default_search_do /* envoy.config.core.v3.DnsResolutionConfig */ UPB_INLINE envoy_config_core_v3_DnsResolutionConfig* envoy_config_core_v3_DnsResolutionConfig_new(upb_Arena* arena) { - return (envoy_config_core_v3_DnsResolutionConfig*)_upb_Message_New(&envoy_config_core_v3_DnsResolutionConfig_msg_init, arena); + return (envoy_config_core_v3_DnsResolutionConfig*)_upb_Message_New(&envoy__config__core__v3__DnsResolutionConfig_msg_init, arena); } UPB_INLINE envoy_config_core_v3_DnsResolutionConfig* envoy_config_core_v3_DnsResolutionConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_DnsResolutionConfig* ret = envoy_config_core_v3_DnsResolutionConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_DnsResolutionConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__DnsResolutionConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -111,7 +114,7 @@ UPB_INLINE envoy_config_core_v3_DnsResolutionConfig* envoy_config_core_v3_DnsRes int options, upb_Arena* arena) { envoy_config_core_v3_DnsResolutionConfig* ret = envoy_config_core_v3_DnsResolutionConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_DnsResolutionConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__DnsResolutionConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -119,13 +122,13 @@ UPB_INLINE envoy_config_core_v3_DnsResolutionConfig* envoy_config_core_v3_DnsRes } UPB_INLINE char* envoy_config_core_v3_DnsResolutionConfig_serialize(const envoy_config_core_v3_DnsResolutionConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_DnsResolutionConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__DnsResolutionConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_DnsResolutionConfig_serialize_ex(const envoy_config_core_v3_DnsResolutionConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_DnsResolutionConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__DnsResolutionConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_DnsResolutionConfig_clear_resolvers(envoy_config_core_v3_DnsResolutionConfig* msg) { @@ -202,7 +205,7 @@ UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_core_v3_DnsResoluti if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -214,14 +217,12 @@ UPB_INLINE void envoy_config_core_v3_DnsResolutionConfig_set_dns_resolver_option UPB_INLINE struct envoy_config_core_v3_DnsResolverOptions* envoy_config_core_v3_DnsResolutionConfig_mutable_dns_resolver_options(envoy_config_core_v3_DnsResolutionConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_DnsResolverOptions* sub = (struct envoy_config_core_v3_DnsResolverOptions*)envoy_config_core_v3_DnsResolutionConfig_dns_resolver_options(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_DnsResolverOptions*)_upb_Message_New(&envoy_config_core_v3_DnsResolverOptions_msg_init, arena); + sub = (struct envoy_config_core_v3_DnsResolverOptions*)_upb_Message_New(&envoy__config__core__v3__DnsResolverOptions_msg_init, arena); if (sub) envoy_config_core_v3_DnsResolutionConfig_set_dns_resolver_options(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_core_v3_resolver_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c new file mode 100644 index 00000000000..4da813cb1b4 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c @@ -0,0 +1,72 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/resolver.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/resolver.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_config_core_v3_DnsResolverOptions__fields[2] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__DnsResolverOptions_msg_init = { + NULL, + &envoy_config_core_v3_DnsResolverOptions__fields[0], + 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_DnsResolutionConfig_submsgs[2] = { + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__config__core__v3__DnsResolverOptions_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_DnsResolutionConfig__fields[2] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__DnsResolutionConfig_msg_init = { + &envoy_config_core_v3_DnsResolutionConfig_submsgs[0], + &envoy_config_core_v3_DnsResolutionConfig__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, + {0x0010000001010012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__config__core__v3__DnsResolverOptions_msg_init, + &envoy__config__core__v3__DnsResolutionConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_resolver_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h new file mode 100644 index 00000000000..0f70a2a9bc9 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/resolver.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_RESOLVER_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_RESOLVER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__DnsResolverOptions_msg_init; +extern const upb_MiniTable envoy__config__core__v3__DnsResolutionConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_resolver_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_RESOLVER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h index f241d38b519..0f51afc1735 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/socket_option.proto * @@ -10,7 +9,14 @@ #define ENVOY_CONFIG_CORE_V3_SOCKET_OPTION_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/socket_option.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,8 +25,6 @@ extern "C" { typedef struct envoy_config_core_v3_SocketOption envoy_config_core_v3_SocketOption; typedef struct envoy_config_core_v3_SocketOptionsOverride envoy_config_core_v3_SocketOptionsOverride; -extern const upb_MiniTable envoy_config_core_v3_SocketOption_msg_init; -extern const upb_MiniTable envoy_config_core_v3_SocketOptionsOverride_msg_init; typedef enum { envoy_config_core_v3_SocketOption_STATE_PREBIND = 0, @@ -33,12 +37,12 @@ typedef enum { /* envoy.config.core.v3.SocketOption */ UPB_INLINE envoy_config_core_v3_SocketOption* envoy_config_core_v3_SocketOption_new(upb_Arena* arena) { - return (envoy_config_core_v3_SocketOption*)_upb_Message_New(&envoy_config_core_v3_SocketOption_msg_init, arena); + return (envoy_config_core_v3_SocketOption*)_upb_Message_New(&envoy__config__core__v3__SocketOption_msg_init, arena); } UPB_INLINE envoy_config_core_v3_SocketOption* envoy_config_core_v3_SocketOption_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_SocketOption* ret = envoy_config_core_v3_SocketOption_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SocketOption_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__SocketOption_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -48,7 +52,7 @@ UPB_INLINE envoy_config_core_v3_SocketOption* envoy_config_core_v3_SocketOption_ int options, upb_Arena* arena) { envoy_config_core_v3_SocketOption* ret = envoy_config_core_v3_SocketOption_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SocketOption_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__SocketOption_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -56,13 +60,13 @@ UPB_INLINE envoy_config_core_v3_SocketOption* envoy_config_core_v3_SocketOption_ } UPB_INLINE char* envoy_config_core_v3_SocketOption_serialize(const envoy_config_core_v3_SocketOption* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_SocketOption_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__SocketOption_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_SocketOption_serialize_ex(const envoy_config_core_v3_SocketOption* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_SocketOption_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__SocketOption_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -177,12 +181,12 @@ UPB_INLINE void envoy_config_core_v3_SocketOption_set_state(envoy_config_core_v3 /* envoy.config.core.v3.SocketOptionsOverride */ UPB_INLINE envoy_config_core_v3_SocketOptionsOverride* envoy_config_core_v3_SocketOptionsOverride_new(upb_Arena* arena) { - return (envoy_config_core_v3_SocketOptionsOverride*)_upb_Message_New(&envoy_config_core_v3_SocketOptionsOverride_msg_init, arena); + return (envoy_config_core_v3_SocketOptionsOverride*)_upb_Message_New(&envoy__config__core__v3__SocketOptionsOverride_msg_init, arena); } UPB_INLINE envoy_config_core_v3_SocketOptionsOverride* envoy_config_core_v3_SocketOptionsOverride_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_SocketOptionsOverride* ret = envoy_config_core_v3_SocketOptionsOverride_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SocketOptionsOverride_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__SocketOptionsOverride_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -192,7 +196,7 @@ UPB_INLINE envoy_config_core_v3_SocketOptionsOverride* envoy_config_core_v3_Sock int options, upb_Arena* arena) { envoy_config_core_v3_SocketOptionsOverride* ret = envoy_config_core_v3_SocketOptionsOverride_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SocketOptionsOverride_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__SocketOptionsOverride_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -200,13 +204,13 @@ UPB_INLINE envoy_config_core_v3_SocketOptionsOverride* envoy_config_core_v3_Sock } UPB_INLINE char* envoy_config_core_v3_SocketOptionsOverride_serialize(const envoy_config_core_v3_SocketOptionsOverride* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_SocketOptionsOverride_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__SocketOptionsOverride_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_SocketOptionsOverride_serialize_ex(const envoy_config_core_v3_SocketOptionsOverride* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_SocketOptionsOverride_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__SocketOptionsOverride_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_SocketOptionsOverride_clear_socket_options(envoy_config_core_v3_SocketOptionsOverride* msg) { @@ -268,14 +272,12 @@ UPB_INLINE struct envoy_config_core_v3_SocketOption* envoy_config_core_v3_Socket if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_SocketOption* sub = (struct envoy_config_core_v3_SocketOption*)_upb_Message_New(&envoy_config_core_v3_SocketOption_msg_init, arena); + struct envoy_config_core_v3_SocketOption* sub = (struct envoy_config_core_v3_SocketOption*)_upb_Message_New(&envoy__config__core__v3__SocketOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } -extern const upb_MiniTableFile envoy_config_core_v3_socket_option_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c new file mode 100644 index 00000000000..ad3f5a49e5f --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c @@ -0,0 +1,76 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/socket_option.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/socket_option.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_config_core_v3_SocketOption__fields[6] = { + {1, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 40), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(24, 48), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(32, 8), -1, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(32, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__SocketOption_msg_init = { + NULL, + &envoy_config_core_v3_SocketOption__fields[0], + UPB_SIZE(40, 56), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f00000a, &upb_pss_1bt}, + {0x002800003f000010, &upb_psv8_1bt}, + {0x003000003f000018, &upb_psv8_1bt}, + {0x0008000004000020, &upb_pov8_1bt}, + {0x000800000500002a, &upb_pob_1bt}, + {0x000400003f000030, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_SocketOptionsOverride_submsgs[1] = { + {.submsg = &envoy__config__core__v3__SocketOption_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_SocketOptionsOverride__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__SocketOptionsOverride_msg_init = { + &envoy_config_core_v3_SocketOptionsOverride_submsgs[0], + &envoy_config_core_v3_SocketOptionsOverride__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__config__core__v3__SocketOption_msg_init, + &envoy__config__core__v3__SocketOptionsOverride_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_socket_option_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h new file mode 100644 index 00000000000..6a1f2b1b755 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/socket_option.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_SOCKET_OPTION_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_SOCKET_OPTION_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__SocketOption_msg_init; +extern const upb_MiniTable envoy__config__core__v3__SocketOptionsOverride_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_socket_option_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_SOCKET_OPTION_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h new file mode 100644 index 00000000000..99d7d95126b --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h @@ -0,0 +1,335 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/substitution_format_string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPB_H_ +#define ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/config/core/v3/substitution_format_string.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_config_core_v3_JsonFormatOptions envoy_config_core_v3_JsonFormatOptions; +typedef struct envoy_config_core_v3_SubstitutionFormatString envoy_config_core_v3_SubstitutionFormatString; +struct envoy_config_core_v3_DataSource; +struct envoy_config_core_v3_TypedExtensionConfig; +struct google_protobuf_Struct; + + + +/* envoy.config.core.v3.JsonFormatOptions */ + +UPB_INLINE envoy_config_core_v3_JsonFormatOptions* envoy_config_core_v3_JsonFormatOptions_new(upb_Arena* arena) { + return (envoy_config_core_v3_JsonFormatOptions*)_upb_Message_New(&envoy__config__core__v3__JsonFormatOptions_msg_init, arena); +} +UPB_INLINE envoy_config_core_v3_JsonFormatOptions* envoy_config_core_v3_JsonFormatOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_core_v3_JsonFormatOptions* ret = envoy_config_core_v3_JsonFormatOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__JsonFormatOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_core_v3_JsonFormatOptions* envoy_config_core_v3_JsonFormatOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_core_v3_JsonFormatOptions* ret = envoy_config_core_v3_JsonFormatOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__JsonFormatOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_core_v3_JsonFormatOptions_serialize(const envoy_config_core_v3_JsonFormatOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__core__v3__JsonFormatOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_core_v3_JsonFormatOptions_serialize_ex(const envoy_config_core_v3_JsonFormatOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__core__v3__JsonFormatOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_core_v3_JsonFormatOptions_clear_sort_properties(envoy_config_core_v3_JsonFormatOptions* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_core_v3_JsonFormatOptions_sort_properties(const envoy_config_core_v3_JsonFormatOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_config_core_v3_JsonFormatOptions_set_sort_properties(envoy_config_core_v3_JsonFormatOptions *msg, bool value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.core.v3.SubstitutionFormatString */ + +UPB_INLINE envoy_config_core_v3_SubstitutionFormatString* envoy_config_core_v3_SubstitutionFormatString_new(upb_Arena* arena) { + return (envoy_config_core_v3_SubstitutionFormatString*)_upb_Message_New(&envoy__config__core__v3__SubstitutionFormatString_msg_init, arena); +} +UPB_INLINE envoy_config_core_v3_SubstitutionFormatString* envoy_config_core_v3_SubstitutionFormatString_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_core_v3_SubstitutionFormatString* ret = envoy_config_core_v3_SubstitutionFormatString_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__SubstitutionFormatString_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_core_v3_SubstitutionFormatString* envoy_config_core_v3_SubstitutionFormatString_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_core_v3_SubstitutionFormatString* ret = envoy_config_core_v3_SubstitutionFormatString_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__SubstitutionFormatString_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_core_v3_SubstitutionFormatString_serialize(const envoy_config_core_v3_SubstitutionFormatString* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__core__v3__SubstitutionFormatString_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_core_v3_SubstitutionFormatString_serialize_ex(const envoy_config_core_v3_SubstitutionFormatString* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__core__v3__SubstitutionFormatString_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_core_v3_SubstitutionFormatString_format_text_format = 1, + envoy_config_core_v3_SubstitutionFormatString_format_json_format = 2, + envoy_config_core_v3_SubstitutionFormatString_format_text_format_source = 5, + envoy_config_core_v3_SubstitutionFormatString_format_NOT_SET = 0 +} envoy_config_core_v3_SubstitutionFormatString_format_oneofcases; +UPB_INLINE envoy_config_core_v3_SubstitutionFormatString_format_oneofcases envoy_config_core_v3_SubstitutionFormatString_format_case(const envoy_config_core_v3_SubstitutionFormatString* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return (envoy_config_core_v3_SubstitutionFormatString_format_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_clear_text_format(envoy_config_core_v3_SubstitutionFormatString* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_core_v3_SubstitutionFormatString_text_format(const envoy_config_core_v3_SubstitutionFormatString* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_core_v3_SubstitutionFormatString_has_text_format(const envoy_config_core_v3_SubstitutionFormatString* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_clear_json_format(envoy_config_core_v3_SubstitutionFormatString* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 8), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Struct* envoy_config_core_v3_SubstitutionFormatString_json_format(const envoy_config_core_v3_SubstitutionFormatString* msg) { + const struct google_protobuf_Struct* default_val = NULL; + const struct google_protobuf_Struct* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 8), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_core_v3_SubstitutionFormatString_has_json_format(const envoy_config_core_v3_SubstitutionFormatString* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 8), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_clear_omit_empty_values(envoy_config_core_v3_SubstitutionFormatString* msg) { + const upb_MiniTableField field = {3, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_core_v3_SubstitutionFormatString_omit_empty_values(const envoy_config_core_v3_SubstitutionFormatString* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_clear_content_type(envoy_config_core_v3_SubstitutionFormatString* msg) { + const upb_MiniTableField field = {4, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_core_v3_SubstitutionFormatString_content_type(const envoy_config_core_v3_SubstitutionFormatString* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {4, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_clear_text_format_source(envoy_config_core_v3_SubstitutionFormatString* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 8), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_config_core_v3_SubstitutionFormatString_text_format_source(const envoy_config_core_v3_SubstitutionFormatString* msg) { + const struct envoy_config_core_v3_DataSource* default_val = NULL; + const struct envoy_config_core_v3_DataSource* ret; + const upb_MiniTableField field = {5, UPB_SIZE(16, 8), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_core_v3_SubstitutionFormatString_has_text_format_source(const envoy_config_core_v3_SubstitutionFormatString* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 8), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_clear_formatters(envoy_config_core_v3_SubstitutionFormatString* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* const* envoy_config_core_v3_SubstitutionFormatString_formatters(const envoy_config_core_v3_SubstitutionFormatString* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct envoy_config_core_v3_TypedExtensionConfig* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_core_v3_SubstitutionFormatString_formatters_upb_array(const envoy_config_core_v3_SubstitutionFormatString* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_core_v3_SubstitutionFormatString_formatters_mutable_upb_array(const envoy_config_core_v3_SubstitutionFormatString* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_core_v3_SubstitutionFormatString_has_formatters(const envoy_config_core_v3_SubstitutionFormatString* msg) { + size_t size; + envoy_config_core_v3_SubstitutionFormatString_formatters(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_clear_json_format_options(envoy_config_core_v3_SubstitutionFormatString* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(12, 48), 1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_core_v3_JsonFormatOptions* envoy_config_core_v3_SubstitutionFormatString_json_format_options(const envoy_config_core_v3_SubstitutionFormatString* msg) { + const envoy_config_core_v3_JsonFormatOptions* default_val = NULL; + const envoy_config_core_v3_JsonFormatOptions* ret; + const upb_MiniTableField field = {7, UPB_SIZE(12, 48), 1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_core_v3_SubstitutionFormatString_has_json_format_options(const envoy_config_core_v3_SubstitutionFormatString* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(12, 48), 1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_set_text_format(envoy_config_core_v3_SubstitutionFormatString *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_set_json_format(envoy_config_core_v3_SubstitutionFormatString *msg, struct google_protobuf_Struct* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 8), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_SubstitutionFormatString_mutable_json_format(envoy_config_core_v3_SubstitutionFormatString* msg, upb_Arena* arena) { + struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_core_v3_SubstitutionFormatString_json_format(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); + if (sub) envoy_config_core_v3_SubstitutionFormatString_set_json_format(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_set_omit_empty_values(envoy_config_core_v3_SubstitutionFormatString *msg, bool value) { + const upb_MiniTableField field = {3, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_set_content_type(envoy_config_core_v3_SubstitutionFormatString *msg, upb_StringView value) { + const upb_MiniTableField field = {4, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_set_text_format_source(envoy_config_core_v3_SubstitutionFormatString *msg, struct envoy_config_core_v3_DataSource* value) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 8), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_SubstitutionFormatString_mutable_text_format_source(envoy_config_core_v3_SubstitutionFormatString* msg, upb_Arena* arena) { + struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_config_core_v3_SubstitutionFormatString_text_format_source(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); + if (sub) envoy_config_core_v3_SubstitutionFormatString_set_text_format_source(msg, sub); + } + return sub; +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig** envoy_config_core_v3_SubstitutionFormatString_mutable_formatters(envoy_config_core_v3_SubstitutionFormatString* msg, size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct envoy_config_core_v3_TypedExtensionConfig**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig** envoy_config_core_v3_SubstitutionFormatString_resize_formatters(envoy_config_core_v3_SubstitutionFormatString* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct envoy_config_core_v3_TypedExtensionConfig**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_SubstitutionFormatString_add_formatters(envoy_config_core_v3_SubstitutionFormatString* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_set_json_format_options(envoy_config_core_v3_SubstitutionFormatString *msg, envoy_config_core_v3_JsonFormatOptions* value) { + const upb_MiniTableField field = {7, UPB_SIZE(12, 48), 1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_JsonFormatOptions* envoy_config_core_v3_SubstitutionFormatString_mutable_json_format_options(envoy_config_core_v3_SubstitutionFormatString* msg, upb_Arena* arena) { + struct envoy_config_core_v3_JsonFormatOptions* sub = (struct envoy_config_core_v3_JsonFormatOptions*)envoy_config_core_v3_SubstitutionFormatString_json_format_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_JsonFormatOptions*)_upb_Message_New(&envoy__config__core__v3__JsonFormatOptions_msg_init, arena); + if (sub) envoy_config_core_v3_SubstitutionFormatString_set_json_format_options(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c new file mode 100644 index 00000000000..3b198e98229 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c @@ -0,0 +1,83 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/substitution_format_string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/substitution_format_string.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_config_core_v3_JsonFormatOptions__fields[1] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__JsonFormatOptions_msg_init = { + NULL, + &envoy_config_core_v3_JsonFormatOptions__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_core_v3_SubstitutionFormatString_submsgs[4] = { + {.submsg = &google__protobuf__Struct_msg_init}, + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__JsonFormatOptions_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_SubstitutionFormatString__fields[7] = { + {1, UPB_SIZE(16, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 8), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 8), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(12, 48), 1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__SubstitutionFormatString_msg_init = { + &envoy_config_core_v3_SubstitutionFormatString_submsgs[0], + &envoy_config_core_v3_SubstitutionFormatString__fields[0], + UPB_SIZE(32, 56), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800040100000a, &upb_pos_1bt}, + {0x0008000402000012, &upb_pom_1bt_maxmaxb}, + {0x000100003f000018, &upb_psb1_1bt}, + {0x001800003f000022, &upb_pss_1bt}, + {0x000800040501002a, &upb_pom_1bt_maxmaxb}, + {0x002800003f020032, &upb_prm_1bt_maxmaxb}, + {0x003000000103003a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__config__core__v3__JsonFormatOptions_msg_init, + &envoy__config__core__v3__SubstitutionFormatString_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_substitution_format_string_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h new file mode 100644 index 00000000000..04acf5a3285 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/substitution_format_string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__JsonFormatOptions_msg_init; +extern const upb_MiniTable envoy__config__core__v3__SubstitutionFormatString_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_substitution_format_string_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h b/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h similarity index 86% rename from src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h rename to src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h index 618f63e28d2..0de177bb9e1 100644 --- a/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +++ b/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/udp_socket_config.proto * @@ -10,7 +9,14 @@ #define ENVOY_CONFIG_CORE_V3_UDP_SOCKET_CONFIG_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/core/v3/udp_socket_config.upb_minitable.h" + +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,23 +24,20 @@ extern "C" { #endif typedef struct envoy_config_core_v3_UdpSocketConfig envoy_config_core_v3_UdpSocketConfig; -extern const upb_MiniTable envoy_config_core_v3_UdpSocketConfig_msg_init; struct google_protobuf_BoolValue; struct google_protobuf_UInt64Value; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_UInt64Value_msg_init; /* envoy.config.core.v3.UdpSocketConfig */ UPB_INLINE envoy_config_core_v3_UdpSocketConfig* envoy_config_core_v3_UdpSocketConfig_new(upb_Arena* arena) { - return (envoy_config_core_v3_UdpSocketConfig*)_upb_Message_New(&envoy_config_core_v3_UdpSocketConfig_msg_init, arena); + return (envoy_config_core_v3_UdpSocketConfig*)_upb_Message_New(&envoy__config__core__v3__UdpSocketConfig_msg_init, arena); } UPB_INLINE envoy_config_core_v3_UdpSocketConfig* envoy_config_core_v3_UdpSocketConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_core_v3_UdpSocketConfig* ret = envoy_config_core_v3_UdpSocketConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_UdpSocketConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__UdpSocketConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -44,7 +47,7 @@ UPB_INLINE envoy_config_core_v3_UdpSocketConfig* envoy_config_core_v3_UdpSocketC int options, upb_Arena* arena) { envoy_config_core_v3_UdpSocketConfig* ret = envoy_config_core_v3_UdpSocketConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_UdpSocketConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__core__v3__UdpSocketConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -52,13 +55,13 @@ UPB_INLINE envoy_config_core_v3_UdpSocketConfig* envoy_config_core_v3_UdpSocketC } UPB_INLINE char* envoy_config_core_v3_UdpSocketConfig_serialize(const envoy_config_core_v3_UdpSocketConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_UdpSocketConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__UdpSocketConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_core_v3_UdpSocketConfig_serialize_ex(const envoy_config_core_v3_UdpSocketConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_UdpSocketConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__core__v3__UdpSocketConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_core_v3_UdpSocketConfig_clear_max_rx_datagram_size(envoy_config_core_v3_UdpSocketConfig* msg) { @@ -99,7 +102,7 @@ UPB_INLINE void envoy_config_core_v3_UdpSocketConfig_set_max_rx_datagram_size(en UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_core_v3_UdpSocketConfig_mutable_max_rx_datagram_size(envoy_config_core_v3_UdpSocketConfig* msg, upb_Arena* arena) { struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_core_v3_UdpSocketConfig_max_rx_datagram_size(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google_protobuf_UInt64Value_msg_init, arena); + sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google__protobuf__UInt64Value_msg_init, arena); if (sub) envoy_config_core_v3_UdpSocketConfig_set_max_rx_datagram_size(msg, sub); } return sub; @@ -111,14 +114,12 @@ UPB_INLINE void envoy_config_core_v3_UdpSocketConfig_set_prefer_gro(envoy_config UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_UdpSocketConfig_mutable_prefer_gro(envoy_config_core_v3_UdpSocketConfig* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_UdpSocketConfig_prefer_gro(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_core_v3_UdpSocketConfig_set_prefer_gro(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_core_v3_udp_socket_config_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c new file mode 100644 index 00000000000..32f7c6b2329 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c @@ -0,0 +1,54 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/udp_socket_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/core/v3/udp_socket_config.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_core_v3_UdpSocketConfig_submsgs[2] = { + {.submsg = &google__protobuf__UInt64Value_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_core_v3_UdpSocketConfig__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__core__v3__UdpSocketConfig_msg_init = { + &envoy_config_core_v3_UdpSocketConfig_submsgs[0], + &envoy_config_core_v3_UdpSocketConfig__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__core__v3__UdpSocketConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_core_v3_udp_socket_config_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h new file mode 100644 index 00000000000..070c9d3f418 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/udp_socket_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_UDP_SOCKET_CONFIG_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_CORE_V3_UDP_SOCKET_CONFIG_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__core__v3__UdpSocketConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_core_v3_udp_socket_config_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_UDP_SOCKET_CONFIG_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h b/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h similarity index 88% rename from src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h rename to src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h index bf6446ed7fa..6d2708b3d63 100644 --- a/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +++ b/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/endpoint/v3/endpoint.proto * @@ -10,7 +9,18 @@ #define ENVOY_CONFIG_ENDPOINT_V3_ENDPOINT_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/endpoint/v3/endpoint.upb_minitable.h" + +#include "envoy/config/endpoint/v3/endpoint_components.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -21,32 +31,23 @@ typedef struct envoy_config_endpoint_v3_ClusterLoadAssignment envoy_config_endpo typedef struct envoy_config_endpoint_v3_ClusterLoadAssignment_Policy envoy_config_endpoint_v3_ClusterLoadAssignment_Policy; typedef struct envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload; typedef struct envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry; -extern const upb_MiniTable envoy_config_endpoint_v3_ClusterLoadAssignment_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_msg_init; struct envoy_config_endpoint_v3_Endpoint; struct envoy_config_endpoint_v3_LocalityLbEndpoints; struct envoy_type_v3_FractionalPercent; struct google_protobuf_Duration; struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_endpoint_v3_Endpoint_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_LocalityLbEndpoints_msg_init; -extern const upb_MiniTable envoy_type_v3_FractionalPercent_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; /* envoy.config.endpoint.v3.ClusterLoadAssignment */ UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment* envoy_config_endpoint_v3_ClusterLoadAssignment_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_ClusterLoadAssignment*)_upb_Message_New(&envoy_config_endpoint_v3_ClusterLoadAssignment_msg_init, arena); + return (envoy_config_endpoint_v3_ClusterLoadAssignment*)_upb_Message_New(&envoy__config__endpoint__v3__ClusterLoadAssignment_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment* envoy_config_endpoint_v3_ClusterLoadAssignment_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_ClusterLoadAssignment* ret = envoy_config_endpoint_v3_ClusterLoadAssignment_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterLoadAssignment_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__ClusterLoadAssignment_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -56,7 +57,7 @@ UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment* envoy_config_endpoint int options, upb_Arena* arena) { envoy_config_endpoint_v3_ClusterLoadAssignment* ret = envoy_config_endpoint_v3_ClusterLoadAssignment_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterLoadAssignment_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__ClusterLoadAssignment_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -64,13 +65,13 @@ UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment* envoy_config_endpoint } UPB_INLINE char* envoy_config_endpoint_v3_ClusterLoadAssignment_serialize(const envoy_config_endpoint_v3_ClusterLoadAssignment* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_ClusterLoadAssignment_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__ClusterLoadAssignment_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_ClusterLoadAssignment_serialize_ex(const envoy_config_endpoint_v3_ClusterLoadAssignment* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_ClusterLoadAssignment_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__ClusterLoadAssignment_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_endpoint_v3_ClusterLoadAssignment_clear_cluster_name(envoy_config_endpoint_v3_ClusterLoadAssignment* msg) { @@ -183,7 +184,7 @@ UPB_INLINE struct envoy_config_endpoint_v3_LocalityLbEndpoints* envoy_config_end if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_endpoint_v3_LocalityLbEndpoints* sub = (struct envoy_config_endpoint_v3_LocalityLbEndpoints*)_upb_Message_New(&envoy_config_endpoint_v3_LocalityLbEndpoints_msg_init, arena); + struct envoy_config_endpoint_v3_LocalityLbEndpoints* sub = (struct envoy_config_endpoint_v3_LocalityLbEndpoints*)_upb_Message_New(&envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -195,7 +196,7 @@ UPB_INLINE void envoy_config_endpoint_v3_ClusterLoadAssignment_set_policy(envoy_ UPB_INLINE struct envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* envoy_config_endpoint_v3_ClusterLoadAssignment_mutable_policy(envoy_config_endpoint_v3_ClusterLoadAssignment* msg, upb_Arena* arena) { struct envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* sub = (struct envoy_config_endpoint_v3_ClusterLoadAssignment_Policy*)envoy_config_endpoint_v3_ClusterLoadAssignment_policy(msg); if (sub == NULL) { - sub = (struct envoy_config_endpoint_v3_ClusterLoadAssignment_Policy*)_upb_Message_New(&envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msg_init, arena); + sub = (struct envoy_config_endpoint_v3_ClusterLoadAssignment_Policy*)_upb_Message_New(&envoy__config__endpoint__v3__ClusterLoadAssignment__Policy_msg_init, arena); if (sub) envoy_config_endpoint_v3_ClusterLoadAssignment_set_policy(msg, sub); } return sub; @@ -228,12 +229,12 @@ UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry* e /* envoy.config.endpoint.v3.ClusterLoadAssignment.Policy */ UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_ClusterLoadAssignment_Policy*)_upb_Message_New(&envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msg_init, arena); + return (envoy_config_endpoint_v3_ClusterLoadAssignment_Policy*)_upb_Message_New(&envoy__config__endpoint__v3__ClusterLoadAssignment__Policy_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* ret = envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__ClusterLoadAssignment__Policy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -243,7 +244,7 @@ UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* envoy_config_e int options, upb_Arena* arena) { envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* ret = envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__ClusterLoadAssignment__Policy_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -251,13 +252,13 @@ UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* envoy_config_e } UPB_INLINE char* envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_serialize(const envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__ClusterLoadAssignment__Policy_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_serialize_ex(const envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__ClusterLoadAssignment__Policy_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_clear_drop_overloads(envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* msg) { @@ -327,6 +328,17 @@ UPB_INLINE bool envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_has_endpoi const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } +UPB_INLINE void envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_clear_weighted_priority_health(envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_weighted_priority_health(const envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload** envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_mutable_drop_overloads(envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* msg, size_t* size) { upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; @@ -349,7 +361,7 @@ UPB_INLINE struct envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOver if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload* sub = (struct envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload*)_upb_Message_New(&envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msg_init, arena); + struct envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload* sub = (struct envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload*)_upb_Message_New(&envoy__config__endpoint__v3__ClusterLoadAssignment__Policy__DropOverload_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -361,7 +373,7 @@ UPB_INLINE void envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_set_overpr UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_mutable_overprovisioning_factor(envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_overprovisioning_factor(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_set_overprovisioning_factor(msg, sub); } return sub; @@ -373,21 +385,25 @@ UPB_INLINE void envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_set_endpoi UPB_INLINE struct google_protobuf_Duration* envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_mutable_endpoint_stale_after(envoy_config_endpoint_v3_ClusterLoadAssignment_Policy* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_endpoint_stale_after(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_set_endpoint_stale_after(msg, sub); } return sub; } +UPB_INLINE void envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_set_weighted_priority_health(envoy_config_endpoint_v3_ClusterLoadAssignment_Policy *msg, bool value) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} /* envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload */ UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload* envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload*)_upb_Message_New(&envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msg_init, arena); + return (envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload*)_upb_Message_New(&envoy__config__endpoint__v3__ClusterLoadAssignment__Policy__DropOverload_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload* envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload* ret = envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__ClusterLoadAssignment__Policy__DropOverload_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -397,7 +413,7 @@ UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload* e int options, upb_Arena* arena) { envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload* ret = envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__ClusterLoadAssignment__Policy__DropOverload_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -405,13 +421,13 @@ UPB_INLINE envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload* e } UPB_INLINE char* envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_serialize(const envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__ClusterLoadAssignment__Policy__DropOverload_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_serialize_ex(const envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__ClusterLoadAssignment__Policy__DropOverload_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_clear_category(envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload* msg) { @@ -452,7 +468,7 @@ UPB_INLINE void envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverlo UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_mutable_drop_percentage(envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload* msg, upb_Arena* arena) { struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_drop_percentage(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy_type_v3_FractionalPercent_msg_init, arena); + sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy__type__v3__FractionalPercent_msg_init, arena); if (sub) envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_set_drop_percentage(msg, sub); } return sub; @@ -479,8 +495,6 @@ UPB_INLINE void envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEnt _upb_msg_map_set_value(msg, &value, sizeof(struct envoy_config_endpoint_v3_Endpoint*)); } -extern const upb_MiniTableFile envoy_config_endpoint_v3_endpoint_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c new file mode 100644 index 00000000000..35feb0d60c1 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c @@ -0,0 +1,139 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/endpoint/v3/endpoint.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/endpoint/v3/endpoint.upb_minitable.h" +#include "envoy/config/endpoint/v3/endpoint_components.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_endpoint_v3_ClusterLoadAssignment_submsgs[3] = { + {.submsg = &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init}, + {.submsg = &envoy__config__endpoint__v3__ClusterLoadAssignment__Policy_msg_init}, + {.submsg = &envoy__config__endpoint__v3__ClusterLoadAssignment__NamedEndpointsEntry_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_ClusterLoadAssignment__fields[4] = { + {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__ClusterLoadAssignment_msg_init = { + &envoy_config_endpoint_v3_ClusterLoadAssignment_submsgs[0], + &envoy_config_endpoint_v3_ClusterLoadAssignment__fields[0], + UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0020000001010022, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_submsgs[3] = { + {.submsg = &envoy__config__endpoint__v3__ClusterLoadAssignment__Policy__DropOverload_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_ClusterLoadAssignment_Policy__fields[4] = { + {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__ClusterLoadAssignment__Policy_msg_init = { + &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_submsgs[0], + &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy__fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000012, &upb_prm_1bt_max64b}, + {0x001000000101001a, &upb_psm_1bt_maxmaxb}, + {0x0018000002020022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000100003f000030, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_submsgs[1] = { + {.submsg = &envoy__type__v3__FractionalPercent_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__ClusterLoadAssignment__Policy__DropOverload_msg_init = { + &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_submsgs[0], + &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_submsgs[1] = { + {.submsg = &envoy__config__endpoint__v3__Endpoint_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__ClusterLoadAssignment__NamedEndpointsEntry_msg_init = { + &envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_submsgs[0], + &envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[4] = { + &envoy__config__endpoint__v3__ClusterLoadAssignment_msg_init, + &envoy__config__endpoint__v3__ClusterLoadAssignment__Policy_msg_init, + &envoy__config__endpoint__v3__ClusterLoadAssignment__Policy__DropOverload_msg_init, + &envoy__config__endpoint__v3__ClusterLoadAssignment__NamedEndpointsEntry_msg_init, +}; + +const upb_MiniTableFile envoy_config_endpoint_v3_endpoint_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 4, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h new file mode 100644 index 00000000000..0205f63b97a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h @@ -0,0 +1,33 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/endpoint/v3/endpoint.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_ENDPOINT_V3_ENDPOINT_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_ENDPOINT_V3_ENDPOINT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__endpoint__v3__ClusterLoadAssignment_msg_init; +extern const upb_MiniTable envoy__config__endpoint__v3__ClusterLoadAssignment__Policy_msg_init; +extern const upb_MiniTable envoy__config__endpoint__v3__ClusterLoadAssignment__Policy__DropOverload_msg_init; +extern const upb_MiniTable envoy__config__endpoint__v3__ClusterLoadAssignment__NamedEndpointsEntry_msg_init; + +extern const upb_MiniTableFile envoy_config_endpoint_v3_endpoint_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_ENDPOINT_V3_ENDPOINT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h b/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h similarity index 80% rename from src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h rename to src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h index 4ec1d9659d7..14f1e73e994 100644 --- a/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +++ b/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/endpoint/v3/endpoint_components.proto * @@ -10,7 +9,19 @@ #define ENVOY_CONFIG_ENDPOINT_V3_ENDPOINT_COMPONENTS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/endpoint/v3/endpoint_components.upb_minitable.h" + +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/config/core/v3/health_check.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,38 +30,28 @@ extern "C" { typedef struct envoy_config_endpoint_v3_Endpoint envoy_config_endpoint_v3_Endpoint; typedef struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig envoy_config_endpoint_v3_Endpoint_HealthCheckConfig; +typedef struct envoy_config_endpoint_v3_Endpoint_AdditionalAddress envoy_config_endpoint_v3_Endpoint_AdditionalAddress; typedef struct envoy_config_endpoint_v3_LbEndpoint envoy_config_endpoint_v3_LbEndpoint; typedef struct envoy_config_endpoint_v3_LedsClusterLocalityConfig envoy_config_endpoint_v3_LedsClusterLocalityConfig; typedef struct envoy_config_endpoint_v3_LocalityLbEndpoints envoy_config_endpoint_v3_LocalityLbEndpoints; typedef struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList; -extern const upb_MiniTable envoy_config_endpoint_v3_Endpoint_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_LbEndpoint_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_LedsClusterLocalityConfig_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_LocalityLbEndpoints_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_msg_init; struct envoy_config_core_v3_Address; struct envoy_config_core_v3_ConfigSource; struct envoy_config_core_v3_Locality; struct envoy_config_core_v3_Metadata; struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_core_v3_Address_msg_init; -extern const upb_MiniTable envoy_config_core_v3_ConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Locality_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Metadata_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; /* envoy.config.endpoint.v3.Endpoint */ UPB_INLINE envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_Endpoint_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_Endpoint*)_upb_Message_New(&envoy_config_endpoint_v3_Endpoint_msg_init, arena); + return (envoy_config_endpoint_v3_Endpoint*)_upb_Message_New(&envoy__config__endpoint__v3__Endpoint_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_Endpoint_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_Endpoint* ret = envoy_config_endpoint_v3_Endpoint_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_Endpoint_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__Endpoint_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -60,7 +61,7 @@ UPB_INLINE envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_Endpoint_ int options, upb_Arena* arena) { envoy_config_endpoint_v3_Endpoint* ret = envoy_config_endpoint_v3_Endpoint_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_Endpoint_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__Endpoint_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -68,13 +69,13 @@ UPB_INLINE envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_Endpoint_ } UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_serialize(const envoy_config_endpoint_v3_Endpoint* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_Endpoint_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__Endpoint_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_serialize_ex(const envoy_config_endpoint_v3_Endpoint* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_Endpoint_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__Endpoint_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_endpoint_v3_Endpoint_clear_address(envoy_config_endpoint_v3_Endpoint* msg) { @@ -108,16 +109,53 @@ UPB_INLINE bool envoy_config_endpoint_v3_Endpoint_has_health_check_config(const return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_endpoint_v3_Endpoint_clear_hostname(envoy_config_endpoint_v3_Endpoint* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView envoy_config_endpoint_v3_Endpoint_hostname(const envoy_config_endpoint_v3_Endpoint* msg) { upb_StringView default_val = upb_StringView_FromString(""); upb_StringView ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } +UPB_INLINE void envoy_config_endpoint_v3_Endpoint_clear_additional_addresses(envoy_config_endpoint_v3_Endpoint* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* const* envoy_config_endpoint_v3_Endpoint_additional_addresses(const envoy_config_endpoint_v3_Endpoint* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_endpoint_v3_Endpoint_additional_addresses_upb_array(const envoy_config_endpoint_v3_Endpoint* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_endpoint_v3_Endpoint_additional_addresses_mutable_upb_array(const envoy_config_endpoint_v3_Endpoint* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_endpoint_v3_Endpoint_has_additional_addresses(const envoy_config_endpoint_v3_Endpoint* msg) { + size_t size; + envoy_config_endpoint_v3_Endpoint_additional_addresses(msg, &size); + return size != 0; +} UPB_INLINE void envoy_config_endpoint_v3_Endpoint_set_address(envoy_config_endpoint_v3_Endpoint *msg, struct envoy_config_core_v3_Address* value) { const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; @@ -126,7 +164,7 @@ UPB_INLINE void envoy_config_endpoint_v3_Endpoint_set_address(envoy_config_endpo UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoint_mutable_address(envoy_config_endpoint_v3_Endpoint* msg, upb_Arena* arena) { struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_endpoint_v3_Endpoint_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); if (sub) envoy_config_endpoint_v3_Endpoint_set_address(msg, sub); } return sub; @@ -138,25 +176,51 @@ UPB_INLINE void envoy_config_endpoint_v3_Endpoint_set_health_check_config(envoy_ UPB_INLINE struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_config_endpoint_v3_Endpoint_mutable_health_check_config(envoy_config_endpoint_v3_Endpoint* msg, upb_Arena* arena) { struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* sub = (struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig*)envoy_config_endpoint_v3_Endpoint_health_check_config(msg); if (sub == NULL) { - sub = (struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig*)_upb_Message_New(&envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_msg_init, arena); + sub = (struct envoy_config_endpoint_v3_Endpoint_HealthCheckConfig*)_upb_Message_New(&envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, arena); if (sub) envoy_config_endpoint_v3_Endpoint_set_health_check_config(msg, sub); } return sub; } UPB_INLINE void envoy_config_endpoint_v3_Endpoint_set_hostname(envoy_config_endpoint_v3_Endpoint *msg, upb_StringView value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } +UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress** envoy_config_endpoint_v3_Endpoint_mutable_additional_addresses(envoy_config_endpoint_v3_Endpoint* msg, size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_endpoint_v3_Endpoint_AdditionalAddress**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress** envoy_config_endpoint_v3_Endpoint_resize_additional_addresses(envoy_config_endpoint_v3_Endpoint* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_endpoint_v3_Endpoint_AdditionalAddress**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_endpoint_v3_Endpoint_AdditionalAddress* envoy_config_endpoint_v3_Endpoint_add_additional_addresses(envoy_config_endpoint_v3_Endpoint* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_endpoint_v3_Endpoint_AdditionalAddress* sub = (struct envoy_config_endpoint_v3_Endpoint_AdditionalAddress*)_upb_Message_New(&envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} /* envoy.config.endpoint.v3.Endpoint.HealthCheckConfig */ UPB_INLINE envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_Endpoint_HealthCheckConfig*)_upb_Message_New(&envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_msg_init, arena); + return (envoy_config_endpoint_v3_Endpoint_HealthCheckConfig*)_upb_Message_New(&envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* ret = envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -166,7 +230,7 @@ UPB_INLINE envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_config_end int options, upb_Arena* arena) { envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* ret = envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -174,13 +238,13 @@ UPB_INLINE envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* envoy_config_end } UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_serialize(const envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_serialize_ex(const envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_clear_port_value(envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg) { @@ -247,7 +311,7 @@ UPB_INLINE void envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_set_address( UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_mutable_address(envoy_config_endpoint_v3_Endpoint_HealthCheckConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); if (sub) envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_set_address(msg, sub); } return sub; @@ -257,15 +321,79 @@ UPB_INLINE void envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_set_disable_ _upb_Message_SetNonExtensionField(msg, &field, &value); } +/* envoy.config.endpoint.v3.Endpoint.AdditionalAddress */ + +UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_new(upb_Arena* arena) { + return (envoy_config_endpoint_v3_Endpoint_AdditionalAddress*)_upb_Message_New(&envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, arena); +} +UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_endpoint_v3_Endpoint_AdditionalAddress* ret = envoy_config_endpoint_v3_Endpoint_AdditionalAddress_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_endpoint_v3_Endpoint_AdditionalAddress* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_endpoint_v3_Endpoint_AdditionalAddress* ret = envoy_config_endpoint_v3_Endpoint_AdditionalAddress_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_serialize(const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_serialize_ex(const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_endpoint_v3_Endpoint_AdditionalAddress_clear_address(envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_address(const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg) { + const struct envoy_config_core_v3_Address* default_val = NULL; + const struct envoy_config_core_v3_Address* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_endpoint_v3_Endpoint_AdditionalAddress_has_address(const envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_endpoint_v3_Endpoint_AdditionalAddress_set_address(envoy_config_endpoint_v3_Endpoint_AdditionalAddress *msg, struct envoy_config_core_v3_Address* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_Endpoint_AdditionalAddress_mutable_address(envoy_config_endpoint_v3_Endpoint_AdditionalAddress* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_endpoint_v3_Endpoint_AdditionalAddress_address(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); + if (sub) envoy_config_endpoint_v3_Endpoint_AdditionalAddress_set_address(msg, sub); + } + return sub; +} + /* envoy.config.endpoint.v3.LbEndpoint */ UPB_INLINE envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_LbEndpoint_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_LbEndpoint*)_upb_Message_New(&envoy_config_endpoint_v3_LbEndpoint_msg_init, arena); + return (envoy_config_endpoint_v3_LbEndpoint*)_upb_Message_New(&envoy__config__endpoint__v3__LbEndpoint_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_LbEndpoint_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_LbEndpoint* ret = envoy_config_endpoint_v3_LbEndpoint_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_LbEndpoint_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__LbEndpoint_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -275,7 +403,7 @@ UPB_INLINE envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_LbEndpo int options, upb_Arena* arena) { envoy_config_endpoint_v3_LbEndpoint* ret = envoy_config_endpoint_v3_LbEndpoint_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_LbEndpoint_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__LbEndpoint_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -283,13 +411,13 @@ UPB_INLINE envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_LbEndpo } UPB_INLINE char* envoy_config_endpoint_v3_LbEndpoint_serialize(const envoy_config_endpoint_v3_LbEndpoint* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_LbEndpoint_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__LbEndpoint_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_LbEndpoint_serialize_ex(const envoy_config_endpoint_v3_LbEndpoint* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_LbEndpoint_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__LbEndpoint_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -380,7 +508,7 @@ UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_endpoint(envoy_config_en UPB_INLINE struct envoy_config_endpoint_v3_Endpoint* envoy_config_endpoint_v3_LbEndpoint_mutable_endpoint(envoy_config_endpoint_v3_LbEndpoint* msg, upb_Arena* arena) { struct envoy_config_endpoint_v3_Endpoint* sub = (struct envoy_config_endpoint_v3_Endpoint*)envoy_config_endpoint_v3_LbEndpoint_endpoint(msg); if (sub == NULL) { - sub = (struct envoy_config_endpoint_v3_Endpoint*)_upb_Message_New(&envoy_config_endpoint_v3_Endpoint_msg_init, arena); + sub = (struct envoy_config_endpoint_v3_Endpoint*)_upb_Message_New(&envoy__config__endpoint__v3__Endpoint_msg_init, arena); if (sub) envoy_config_endpoint_v3_LbEndpoint_set_endpoint(msg, sub); } return sub; @@ -396,7 +524,7 @@ UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_metadata(envoy_config_en UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_endpoint_v3_LbEndpoint_mutable_metadata(envoy_config_endpoint_v3_LbEndpoint* msg, upb_Arena* arena) { struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_endpoint_v3_LbEndpoint_metadata(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy_config_core_v3_Metadata_msg_init, arena); + sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena); if (sub) envoy_config_endpoint_v3_LbEndpoint_set_metadata(msg, sub); } return sub; @@ -408,7 +536,7 @@ UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_load_balancing_weight(en UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_LbEndpoint_mutable_load_balancing_weight(envoy_config_endpoint_v3_LbEndpoint* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_endpoint_v3_LbEndpoint_load_balancing_weight(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_endpoint_v3_LbEndpoint_set_load_balancing_weight(msg, sub); } return sub; @@ -421,12 +549,12 @@ UPB_INLINE void envoy_config_endpoint_v3_LbEndpoint_set_endpoint_name(envoy_conf /* envoy.config.endpoint.v3.LedsClusterLocalityConfig */ UPB_INLINE envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_config_endpoint_v3_LedsClusterLocalityConfig_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_LedsClusterLocalityConfig*)_upb_Message_New(&envoy_config_endpoint_v3_LedsClusterLocalityConfig_msg_init, arena); + return (envoy_config_endpoint_v3_LedsClusterLocalityConfig*)_upb_Message_New(&envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_config_endpoint_v3_LedsClusterLocalityConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_LedsClusterLocalityConfig* ret = envoy_config_endpoint_v3_LedsClusterLocalityConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_LedsClusterLocalityConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -436,7 +564,7 @@ UPB_INLINE envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_config_endp int options, upb_Arena* arena) { envoy_config_endpoint_v3_LedsClusterLocalityConfig* ret = envoy_config_endpoint_v3_LedsClusterLocalityConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_LedsClusterLocalityConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -444,13 +572,13 @@ UPB_INLINE envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_config_endp } UPB_INLINE char* envoy_config_endpoint_v3_LedsClusterLocalityConfig_serialize(const envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_LedsClusterLocalityConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_LedsClusterLocalityConfig_serialize_ex(const envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_LedsClusterLocalityConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_endpoint_v3_LedsClusterLocalityConfig_clear_leds_config(envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg) { @@ -487,7 +615,7 @@ UPB_INLINE void envoy_config_endpoint_v3_LedsClusterLocalityConfig_set_leds_conf UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_endpoint_v3_LedsClusterLocalityConfig_mutable_leds_config(envoy_config_endpoint_v3_LedsClusterLocalityConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_endpoint_v3_LedsClusterLocalityConfig_leds_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); if (sub) envoy_config_endpoint_v3_LedsClusterLocalityConfig_set_leds_config(msg, sub); } return sub; @@ -500,12 +628,12 @@ UPB_INLINE void envoy_config_endpoint_v3_LedsClusterLocalityConfig_set_leds_coll /* envoy.config.endpoint.v3.LocalityLbEndpoints */ UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints* envoy_config_endpoint_v3_LocalityLbEndpoints_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_LocalityLbEndpoints*)_upb_Message_New(&envoy_config_endpoint_v3_LocalityLbEndpoints_msg_init, arena); + return (envoy_config_endpoint_v3_LocalityLbEndpoints*)_upb_Message_New(&envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints* envoy_config_endpoint_v3_LocalityLbEndpoints_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_LocalityLbEndpoints* ret = envoy_config_endpoint_v3_LocalityLbEndpoints_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_LocalityLbEndpoints_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -515,7 +643,7 @@ UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints* envoy_config_endpoint_v int options, upb_Arena* arena) { envoy_config_endpoint_v3_LocalityLbEndpoints* ret = envoy_config_endpoint_v3_LocalityLbEndpoints_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_LocalityLbEndpoints_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -523,13 +651,13 @@ UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints* envoy_config_endpoint_v } UPB_INLINE char* envoy_config_endpoint_v3_LocalityLbEndpoints_serialize(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_LocalityLbEndpoints_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_LocalityLbEndpoints_serialize_ex(const envoy_config_endpoint_v3_LocalityLbEndpoints* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_LocalityLbEndpoints_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -672,7 +800,7 @@ UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_locality(envoy_ UPB_INLINE struct envoy_config_core_v3_Locality* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_locality(envoy_config_endpoint_v3_LocalityLbEndpoints* msg, upb_Arena* arena) { struct envoy_config_core_v3_Locality* sub = (struct envoy_config_core_v3_Locality*)envoy_config_endpoint_v3_LocalityLbEndpoints_locality(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Locality*)_upb_Message_New(&envoy_config_core_v3_Locality_msg_init, arena); + sub = (struct envoy_config_core_v3_Locality*)_upb_Message_New(&envoy__config__core__v3__Locality_msg_init, arena); if (sub) envoy_config_endpoint_v3_LocalityLbEndpoints_set_locality(msg, sub); } return sub; @@ -698,7 +826,7 @@ UPB_INLINE struct envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_endpoint_v3_LbEndpoint* sub = (struct envoy_config_endpoint_v3_LbEndpoint*)_upb_Message_New(&envoy_config_endpoint_v3_LbEndpoint_msg_init, arena); + struct envoy_config_endpoint_v3_LbEndpoint* sub = (struct envoy_config_endpoint_v3_LbEndpoint*)_upb_Message_New(&envoy__config__endpoint__v3__LbEndpoint_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -710,7 +838,7 @@ UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_load_balancing_ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_load_balancing_weight(envoy_config_endpoint_v3_LocalityLbEndpoints* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_endpoint_v3_LocalityLbEndpoints_load_balancing_weight(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_endpoint_v3_LocalityLbEndpoints_set_load_balancing_weight(msg, sub); } return sub; @@ -726,7 +854,7 @@ UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_proximity(envoy UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_proximity(envoy_config_endpoint_v3_LocalityLbEndpoints* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_endpoint_v3_LocalityLbEndpoints_proximity(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_endpoint_v3_LocalityLbEndpoints_set_proximity(msg, sub); } return sub; @@ -738,7 +866,7 @@ UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_load_balancer_e UPB_INLINE struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_load_balancer_endpoints(envoy_config_endpoint_v3_LocalityLbEndpoints* msg, upb_Arena* arena) { struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* sub = (struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList*)envoy_config_endpoint_v3_LocalityLbEndpoints_load_balancer_endpoints(msg); if (sub == NULL) { - sub = (struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList*)_upb_Message_New(&envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_msg_init, arena); + sub = (struct envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList*)_upb_Message_New(&envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, arena); if (sub) envoy_config_endpoint_v3_LocalityLbEndpoints_set_load_balancer_endpoints(msg, sub); } return sub; @@ -750,7 +878,7 @@ UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_set_leds_cluster_lo UPB_INLINE struct envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_config_endpoint_v3_LocalityLbEndpoints_mutable_leds_cluster_locality_config(envoy_config_endpoint_v3_LocalityLbEndpoints* msg, upb_Arena* arena) { struct envoy_config_endpoint_v3_LedsClusterLocalityConfig* sub = (struct envoy_config_endpoint_v3_LedsClusterLocalityConfig*)envoy_config_endpoint_v3_LocalityLbEndpoints_leds_cluster_locality_config(msg); if (sub == NULL) { - sub = (struct envoy_config_endpoint_v3_LedsClusterLocalityConfig*)_upb_Message_New(&envoy_config_endpoint_v3_LedsClusterLocalityConfig_msg_init, arena); + sub = (struct envoy_config_endpoint_v3_LedsClusterLocalityConfig*)_upb_Message_New(&envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, arena); if (sub) envoy_config_endpoint_v3_LocalityLbEndpoints_set_leds_cluster_locality_config(msg, sub); } return sub; @@ -759,12 +887,12 @@ UPB_INLINE struct envoy_config_endpoint_v3_LedsClusterLocalityConfig* envoy_conf /* envoy.config.endpoint.v3.LocalityLbEndpoints.LbEndpointList */ UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList*)_upb_Message_New(&envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_msg_init, arena); + return (envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList*)_upb_Message_New(&envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* ret = envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -774,7 +902,7 @@ UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* envoy_co int options, upb_Arena* arena) { envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* ret = envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -782,13 +910,13 @@ UPB_INLINE envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* envoy_co } UPB_INLINE char* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_serialize(const envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_serialize_ex(const envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_clear_lb_endpoints(envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList* msg) { @@ -850,14 +978,12 @@ UPB_INLINE struct envoy_config_endpoint_v3_LbEndpoint* envoy_config_endpoint_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_endpoint_v3_LbEndpoint* sub = (struct envoy_config_endpoint_v3_LbEndpoint*)_upb_Message_New(&envoy_config_endpoint_v3_LbEndpoint_msg_init, arena); + struct envoy_config_endpoint_v3_LbEndpoint* sub = (struct envoy_config_endpoint_v3_LbEndpoint*)_upb_Message_New(&envoy__config__endpoint__v3__LbEndpoint_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } -extern const upb_MiniTableFile envoy_config_endpoint_v3_endpoint_components_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c new file mode 100644 index 00000000000..df959b8fa72 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c @@ -0,0 +1,229 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/endpoint/v3/endpoint_components.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/endpoint/v3/endpoint_components.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/config/core/v3/health_check.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_endpoint_v3_Endpoint_submsgs[3] = { + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init}, + {.submsg = &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_Endpoint__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__Endpoint_msg_init = { + &envoy_config_endpoint_v3_Endpoint_submsgs[0], + &envoy_config_endpoint_v3_Endpoint__fields[0], + UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_max64b}, + {0x001800003f00001a, &upb_pss_1bt}, + {0x002800003f020022, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_submsgs[1] = { + {.submsg = &envoy__config__core__v3__Address_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_Endpoint_HealthCheckConfig__fields[4] = { + {1, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init = { + &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_submsgs[0], + &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000000100001a, &upb_psm_1bt_maxmaxb}, + {0x000800003f000020, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_endpoint_v3_Endpoint_AdditionalAddress_submsgs[1] = { + {.submsg = &envoy__config__core__v3__Address_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_Endpoint_AdditionalAddress__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init = { + &envoy_config_endpoint_v3_Endpoint_AdditionalAddress_submsgs[0], + &envoy_config_endpoint_v3_Endpoint_AdditionalAddress__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_endpoint_v3_LbEndpoint_submsgs[3] = { + {.submsg = &envoy__config__endpoint__v3__Endpoint_msg_init}, + {.submsg = &envoy__config__core__v3__Metadata_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_LbEndpoint__fields[5] = { + {1, UPB_SIZE(20, 16), UPB_SIZE(-17, -9), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 16), UPB_SIZE(-17, -9), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__LbEndpoint_msg_init = { + &envoy_config_endpoint_v3_LbEndpoint_submsgs[0], + &envoy_config_endpoint_v3_LbEndpoint__fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000080100000a, &upb_pom_1bt_max64b}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x002000000101001a, &upb_psm_1bt_maxmaxb}, + {0x0028000002020022, &upb_psm_1bt_maxmaxb}, + {0x001000080500002a, &upb_pos_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_endpoint_v3_LedsClusterLocalityConfig_submsgs[1] = { + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_LedsClusterLocalityConfig__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init = { + &envoy_config_endpoint_v3_LedsClusterLocalityConfig_submsgs[0], + &envoy_config_endpoint_v3_LedsClusterLocalityConfig__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_endpoint_v3_LocalityLbEndpoints_submsgs[6] = { + {.submsg = &envoy__config__core__v3__Locality_msg_init}, + {.submsg = &envoy__config__endpoint__v3__LbEndpoint_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init}, + {.submsg = &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_LocalityLbEndpoints__fields[7] = { + {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 32), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 40), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 48), UPB_SIZE(-25, -9), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(28, 48), UPB_SIZE(-25, -9), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init = { + &envoy_config_endpoint_v3_LocalityLbEndpoints_submsgs[0], + &envoy_config_endpoint_v3_LocalityLbEndpoints__fields[0], + UPB_SIZE(32, 56), 7, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000000100000a, &upb_psm_1bt_maxmaxb}, + {0x001800003f010012, &upb_prm_1bt_max64b}, + {0x002000000202001a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000028, &upb_psv4_1bt}, + {0x0028000003030032, &upb_psm_1bt_maxmaxb}, + {0x003000080704003a, &upb_pom_1bt_max64b}, + {0x0030000808050042, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_submsgs[1] = { + {.submsg = &envoy__config__endpoint__v3__LbEndpoint_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init = { + &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_submsgs[0], + &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTable *messages_layout[7] = { + &envoy__config__endpoint__v3__Endpoint_msg_init, + &envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init, + &envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init, + &envoy__config__endpoint__v3__LbEndpoint_msg_init, + &envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init, + &envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init, + &envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init, +}; + +const upb_MiniTableFile envoy_config_endpoint_v3_endpoint_components_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 7, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h new file mode 100644 index 00000000000..ae90403d70c --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h @@ -0,0 +1,36 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/endpoint/v3/endpoint_components.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_ENDPOINT_V3_ENDPOINT_COMPONENTS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_ENDPOINT_V3_ENDPOINT_COMPONENTS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__endpoint__v3__Endpoint_msg_init; +extern const upb_MiniTable envoy__config__endpoint__v3__Endpoint__HealthCheckConfig_msg_init; +extern const upb_MiniTable envoy__config__endpoint__v3__Endpoint__AdditionalAddress_msg_init; +extern const upb_MiniTable envoy__config__endpoint__v3__LbEndpoint_msg_init; +extern const upb_MiniTable envoy__config__endpoint__v3__LedsClusterLocalityConfig_msg_init; +extern const upb_MiniTable envoy__config__endpoint__v3__LocalityLbEndpoints_msg_init; +extern const upb_MiniTable envoy__config__endpoint__v3__LocalityLbEndpoints__LbEndpointList_msg_init; + +extern const upb_MiniTableFile envoy_config_endpoint_v3_endpoint_components_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_ENDPOINT_V3_ENDPOINT_COMPONENTS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h b/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h similarity index 93% rename from src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h rename to src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h index d4879ed6471..36d7d648d4a 100644 --- a/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +++ b/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/endpoint/v3/load_report.proto * @@ -10,7 +9,18 @@ #define ENVOY_CONFIG_ENDPOINT_V3_LOAD_REPORT_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/endpoint/v3/load_report.upb_minitable.h" + +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -22,31 +32,22 @@ typedef struct envoy_config_endpoint_v3_UpstreamEndpointStats envoy_config_endpo typedef struct envoy_config_endpoint_v3_EndpointLoadMetricStats envoy_config_endpoint_v3_EndpointLoadMetricStats; typedef struct envoy_config_endpoint_v3_ClusterStats envoy_config_endpoint_v3_ClusterStats; typedef struct envoy_config_endpoint_v3_ClusterStats_DroppedRequests envoy_config_endpoint_v3_ClusterStats_DroppedRequests; -extern const upb_MiniTable envoy_config_endpoint_v3_UpstreamLocalityStats_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_UpstreamEndpointStats_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_EndpointLoadMetricStats_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_ClusterStats_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_ClusterStats_DroppedRequests_msg_init; struct envoy_config_core_v3_Address; struct envoy_config_core_v3_Locality; struct google_protobuf_Duration; struct google_protobuf_Struct; -extern const upb_MiniTable envoy_config_core_v3_Address_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Locality_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_Struct_msg_init; /* envoy.config.endpoint.v3.UpstreamLocalityStats */ UPB_INLINE envoy_config_endpoint_v3_UpstreamLocalityStats* envoy_config_endpoint_v3_UpstreamLocalityStats_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_UpstreamLocalityStats*)_upb_Message_New(&envoy_config_endpoint_v3_UpstreamLocalityStats_msg_init, arena); + return (envoy_config_endpoint_v3_UpstreamLocalityStats*)_upb_Message_New(&envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_UpstreamLocalityStats* envoy_config_endpoint_v3_UpstreamLocalityStats_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_UpstreamLocalityStats* ret = envoy_config_endpoint_v3_UpstreamLocalityStats_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_UpstreamLocalityStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -56,7 +57,7 @@ UPB_INLINE envoy_config_endpoint_v3_UpstreamLocalityStats* envoy_config_endpoint int options, upb_Arena* arena) { envoy_config_endpoint_v3_UpstreamLocalityStats* ret = envoy_config_endpoint_v3_UpstreamLocalityStats_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_UpstreamLocalityStats_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -64,13 +65,13 @@ UPB_INLINE envoy_config_endpoint_v3_UpstreamLocalityStats* envoy_config_endpoint } UPB_INLINE char* envoy_config_endpoint_v3_UpstreamLocalityStats_serialize(const envoy_config_endpoint_v3_UpstreamLocalityStats* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_UpstreamLocalityStats_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_UpstreamLocalityStats_serialize_ex(const envoy_config_endpoint_v3_UpstreamLocalityStats* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_UpstreamLocalityStats_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_endpoint_v3_UpstreamLocalityStats_clear_locality(envoy_config_endpoint_v3_UpstreamLocalityStats* msg) { @@ -225,7 +226,7 @@ UPB_INLINE void envoy_config_endpoint_v3_UpstreamLocalityStats_set_locality(envo UPB_INLINE struct envoy_config_core_v3_Locality* envoy_config_endpoint_v3_UpstreamLocalityStats_mutable_locality(envoy_config_endpoint_v3_UpstreamLocalityStats* msg, upb_Arena* arena) { struct envoy_config_core_v3_Locality* sub = (struct envoy_config_core_v3_Locality*)envoy_config_endpoint_v3_UpstreamLocalityStats_locality(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Locality*)_upb_Message_New(&envoy_config_core_v3_Locality_msg_init, arena); + sub = (struct envoy_config_core_v3_Locality*)_upb_Message_New(&envoy__config__core__v3__Locality_msg_init, arena); if (sub) envoy_config_endpoint_v3_UpstreamLocalityStats_set_locality(msg, sub); } return sub; @@ -263,7 +264,7 @@ UPB_INLINE struct envoy_config_endpoint_v3_EndpointLoadMetricStats* envoy_config if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_endpoint_v3_EndpointLoadMetricStats* sub = (struct envoy_config_endpoint_v3_EndpointLoadMetricStats*)_upb_Message_New(&envoy_config_endpoint_v3_EndpointLoadMetricStats_msg_init, arena); + struct envoy_config_endpoint_v3_EndpointLoadMetricStats* sub = (struct envoy_config_endpoint_v3_EndpointLoadMetricStats*)_upb_Message_New(&envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -293,7 +294,7 @@ UPB_INLINE struct envoy_config_endpoint_v3_UpstreamEndpointStats* envoy_config_e if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_endpoint_v3_UpstreamEndpointStats* sub = (struct envoy_config_endpoint_v3_UpstreamEndpointStats*)_upb_Message_New(&envoy_config_endpoint_v3_UpstreamEndpointStats_msg_init, arena); + struct envoy_config_endpoint_v3_UpstreamEndpointStats* sub = (struct envoy_config_endpoint_v3_UpstreamEndpointStats*)_upb_Message_New(&envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -306,12 +307,12 @@ UPB_INLINE void envoy_config_endpoint_v3_UpstreamLocalityStats_set_total_issued_ /* envoy.config.endpoint.v3.UpstreamEndpointStats */ UPB_INLINE envoy_config_endpoint_v3_UpstreamEndpointStats* envoy_config_endpoint_v3_UpstreamEndpointStats_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_UpstreamEndpointStats*)_upb_Message_New(&envoy_config_endpoint_v3_UpstreamEndpointStats_msg_init, arena); + return (envoy_config_endpoint_v3_UpstreamEndpointStats*)_upb_Message_New(&envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_UpstreamEndpointStats* envoy_config_endpoint_v3_UpstreamEndpointStats_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_UpstreamEndpointStats* ret = envoy_config_endpoint_v3_UpstreamEndpointStats_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_UpstreamEndpointStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -321,7 +322,7 @@ UPB_INLINE envoy_config_endpoint_v3_UpstreamEndpointStats* envoy_config_endpoint int options, upb_Arena* arena) { envoy_config_endpoint_v3_UpstreamEndpointStats* ret = envoy_config_endpoint_v3_UpstreamEndpointStats_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_UpstreamEndpointStats_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -329,13 +330,13 @@ UPB_INLINE envoy_config_endpoint_v3_UpstreamEndpointStats* envoy_config_endpoint } UPB_INLINE char* envoy_config_endpoint_v3_UpstreamEndpointStats_serialize(const envoy_config_endpoint_v3_UpstreamEndpointStats* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_UpstreamEndpointStats_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_UpstreamEndpointStats_serialize_ex(const envoy_config_endpoint_v3_UpstreamEndpointStats* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_UpstreamEndpointStats_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_endpoint_v3_UpstreamEndpointStats_clear_address(envoy_config_endpoint_v3_UpstreamEndpointStats* msg) { @@ -457,7 +458,7 @@ UPB_INLINE void envoy_config_endpoint_v3_UpstreamEndpointStats_set_address(envoy UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_endpoint_v3_UpstreamEndpointStats_mutable_address(envoy_config_endpoint_v3_UpstreamEndpointStats* msg, upb_Arena* arena) { struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_endpoint_v3_UpstreamEndpointStats_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); if (sub) envoy_config_endpoint_v3_UpstreamEndpointStats_set_address(msg, sub); } return sub; @@ -495,7 +496,7 @@ UPB_INLINE struct envoy_config_endpoint_v3_EndpointLoadMetricStats* envoy_config if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_endpoint_v3_EndpointLoadMetricStats* sub = (struct envoy_config_endpoint_v3_EndpointLoadMetricStats*)_upb_Message_New(&envoy_config_endpoint_v3_EndpointLoadMetricStats_msg_init, arena); + struct envoy_config_endpoint_v3_EndpointLoadMetricStats* sub = (struct envoy_config_endpoint_v3_EndpointLoadMetricStats*)_upb_Message_New(&envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -507,7 +508,7 @@ UPB_INLINE void envoy_config_endpoint_v3_UpstreamEndpointStats_set_metadata(envo UPB_INLINE struct google_protobuf_Struct* envoy_config_endpoint_v3_UpstreamEndpointStats_mutable_metadata(envoy_config_endpoint_v3_UpstreamEndpointStats* msg, upb_Arena* arena) { struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_endpoint_v3_UpstreamEndpointStats_metadata(msg); if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); if (sub) envoy_config_endpoint_v3_UpstreamEndpointStats_set_metadata(msg, sub); } return sub; @@ -520,12 +521,12 @@ UPB_INLINE void envoy_config_endpoint_v3_UpstreamEndpointStats_set_total_issued_ /* envoy.config.endpoint.v3.EndpointLoadMetricStats */ UPB_INLINE envoy_config_endpoint_v3_EndpointLoadMetricStats* envoy_config_endpoint_v3_EndpointLoadMetricStats_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_EndpointLoadMetricStats*)_upb_Message_New(&envoy_config_endpoint_v3_EndpointLoadMetricStats_msg_init, arena); + return (envoy_config_endpoint_v3_EndpointLoadMetricStats*)_upb_Message_New(&envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_EndpointLoadMetricStats* envoy_config_endpoint_v3_EndpointLoadMetricStats_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_EndpointLoadMetricStats* ret = envoy_config_endpoint_v3_EndpointLoadMetricStats_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_EndpointLoadMetricStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -535,7 +536,7 @@ UPB_INLINE envoy_config_endpoint_v3_EndpointLoadMetricStats* envoy_config_endpoi int options, upb_Arena* arena) { envoy_config_endpoint_v3_EndpointLoadMetricStats* ret = envoy_config_endpoint_v3_EndpointLoadMetricStats_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_EndpointLoadMetricStats_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -543,13 +544,13 @@ UPB_INLINE envoy_config_endpoint_v3_EndpointLoadMetricStats* envoy_config_endpoi } UPB_INLINE char* envoy_config_endpoint_v3_EndpointLoadMetricStats_serialize(const envoy_config_endpoint_v3_EndpointLoadMetricStats* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_EndpointLoadMetricStats_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_EndpointLoadMetricStats_serialize_ex(const envoy_config_endpoint_v3_EndpointLoadMetricStats* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_EndpointLoadMetricStats_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_endpoint_v3_EndpointLoadMetricStats_clear_metric_name(envoy_config_endpoint_v3_EndpointLoadMetricStats* msg) { @@ -602,12 +603,12 @@ UPB_INLINE void envoy_config_endpoint_v3_EndpointLoadMetricStats_set_total_metri /* envoy.config.endpoint.v3.ClusterStats */ UPB_INLINE envoy_config_endpoint_v3_ClusterStats* envoy_config_endpoint_v3_ClusterStats_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_ClusterStats*)_upb_Message_New(&envoy_config_endpoint_v3_ClusterStats_msg_init, arena); + return (envoy_config_endpoint_v3_ClusterStats*)_upb_Message_New(&envoy__config__endpoint__v3__ClusterStats_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_ClusterStats* envoy_config_endpoint_v3_ClusterStats_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_ClusterStats* ret = envoy_config_endpoint_v3_ClusterStats_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__ClusterStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -617,7 +618,7 @@ UPB_INLINE envoy_config_endpoint_v3_ClusterStats* envoy_config_endpoint_v3_Clust int options, upb_Arena* arena) { envoy_config_endpoint_v3_ClusterStats* ret = envoy_config_endpoint_v3_ClusterStats_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterStats_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__ClusterStats_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -625,13 +626,13 @@ UPB_INLINE envoy_config_endpoint_v3_ClusterStats* envoy_config_endpoint_v3_Clust } UPB_INLINE char* envoy_config_endpoint_v3_ClusterStats_serialize(const envoy_config_endpoint_v3_ClusterStats* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_ClusterStats_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__ClusterStats_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_ClusterStats_serialize_ex(const envoy_config_endpoint_v3_ClusterStats* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_ClusterStats_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__ClusterStats_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_endpoint_v3_ClusterStats_clear_cluster_name(envoy_config_endpoint_v3_ClusterStats* msg) { @@ -782,7 +783,7 @@ UPB_INLINE struct envoy_config_endpoint_v3_UpstreamLocalityStats* envoy_config_e if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_endpoint_v3_UpstreamLocalityStats* sub = (struct envoy_config_endpoint_v3_UpstreamLocalityStats*)_upb_Message_New(&envoy_config_endpoint_v3_UpstreamLocalityStats_msg_init, arena); + struct envoy_config_endpoint_v3_UpstreamLocalityStats* sub = (struct envoy_config_endpoint_v3_UpstreamLocalityStats*)_upb_Message_New(&envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -798,7 +799,7 @@ UPB_INLINE void envoy_config_endpoint_v3_ClusterStats_set_load_report_interval(e UPB_INLINE struct google_protobuf_Duration* envoy_config_endpoint_v3_ClusterStats_mutable_load_report_interval(envoy_config_endpoint_v3_ClusterStats* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_endpoint_v3_ClusterStats_load_report_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_endpoint_v3_ClusterStats_set_load_report_interval(msg, sub); } return sub; @@ -824,7 +825,7 @@ UPB_INLINE struct envoy_config_endpoint_v3_ClusterStats_DroppedRequests* envoy_c if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_endpoint_v3_ClusterStats_DroppedRequests* sub = (struct envoy_config_endpoint_v3_ClusterStats_DroppedRequests*)_upb_Message_New(&envoy_config_endpoint_v3_ClusterStats_DroppedRequests_msg_init, arena); + struct envoy_config_endpoint_v3_ClusterStats_DroppedRequests* sub = (struct envoy_config_endpoint_v3_ClusterStats_DroppedRequests*)_upb_Message_New(&envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -837,12 +838,12 @@ UPB_INLINE void envoy_config_endpoint_v3_ClusterStats_set_cluster_service_name(e /* envoy.config.endpoint.v3.ClusterStats.DroppedRequests */ UPB_INLINE envoy_config_endpoint_v3_ClusterStats_DroppedRequests* envoy_config_endpoint_v3_ClusterStats_DroppedRequests_new(upb_Arena* arena) { - return (envoy_config_endpoint_v3_ClusterStats_DroppedRequests*)_upb_Message_New(&envoy_config_endpoint_v3_ClusterStats_DroppedRequests_msg_init, arena); + return (envoy_config_endpoint_v3_ClusterStats_DroppedRequests*)_upb_Message_New(&envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init, arena); } UPB_INLINE envoy_config_endpoint_v3_ClusterStats_DroppedRequests* envoy_config_endpoint_v3_ClusterStats_DroppedRequests_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_endpoint_v3_ClusterStats_DroppedRequests* ret = envoy_config_endpoint_v3_ClusterStats_DroppedRequests_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterStats_DroppedRequests_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -852,7 +853,7 @@ UPB_INLINE envoy_config_endpoint_v3_ClusterStats_DroppedRequests* envoy_config_e int options, upb_Arena* arena) { envoy_config_endpoint_v3_ClusterStats_DroppedRequests* ret = envoy_config_endpoint_v3_ClusterStats_DroppedRequests_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterStats_DroppedRequests_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -860,13 +861,13 @@ UPB_INLINE envoy_config_endpoint_v3_ClusterStats_DroppedRequests* envoy_config_e } UPB_INLINE char* envoy_config_endpoint_v3_ClusterStats_DroppedRequests_serialize(const envoy_config_endpoint_v3_ClusterStats_DroppedRequests* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_ClusterStats_DroppedRequests_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_endpoint_v3_ClusterStats_DroppedRequests_serialize_ex(const envoy_config_endpoint_v3_ClusterStats_DroppedRequests* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_endpoint_v3_ClusterStats_DroppedRequests_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_endpoint_v3_ClusterStats_DroppedRequests_clear_category(envoy_config_endpoint_v3_ClusterStats_DroppedRequests* msg) { @@ -901,8 +902,6 @@ UPB_INLINE void envoy_config_endpoint_v3_ClusterStats_DroppedRequests_set_droppe _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_config_endpoint_v3_load_report_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c new file mode 100644 index 00000000000..7f77ec521e4 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c @@ -0,0 +1,179 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/endpoint/v3/load_report.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/endpoint/v3/load_report.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_endpoint_v3_UpstreamLocalityStats_submsgs[3] = { + {.submsg = &envoy__config__core__v3__Locality_msg_init}, + {.submsg = &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init}, + {.submsg = &envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_UpstreamLocalityStats__fields[8] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 16), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(32, 24), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(40, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(16, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(48, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init = { + &envoy_config_endpoint_v3_UpstreamLocalityStats_submsgs[0], + &envoy_config_endpoint_v3_UpstreamLocalityStats__fields[0], + UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000010, &upb_psv8_1bt}, + {0x001800003f000018, &upb_psv8_1bt}, + {0x002000003f000020, &upb_psv8_1bt}, + {0x002800003f01002a, &upb_prm_1bt_max64b}, + {0x000400003f000030, &upb_psv4_1bt}, + {0x003000003f02003a, &upb_prm_1bt_max128b}, + {0x003800003f000040, &upb_psv8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_endpoint_v3_UpstreamEndpointStats_submsgs[3] = { + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init}, + {.submsg = &google__protobuf__Struct_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_UpstreamEndpointStats__fields[7] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, 32, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 48), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(40, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init = { + &envoy_config_endpoint_v3_UpstreamEndpointStats_submsgs[0], + &envoy_config_endpoint_v3_UpstreamEndpointStats__fields[0], + UPB_SIZE(48, 64), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000010, &upb_psv8_1bt}, + {0x001800003f000018, &upb_psv8_1bt}, + {0x002000003f000020, &upb_psv8_1bt}, + {0x002800003f01002a, &upb_prm_1bt_max64b}, + {0x0030000002020032, &upb_psm_1bt_maxmaxb}, + {0x003800003f000038, &upb_psv8_1bt}, + }) +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_EndpointLoadMetricStats__fields[3] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 24), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init = { + NULL, + &envoy_config_endpoint_v3_EndpointLoadMetricStats__fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000010, &upb_psv8_1bt}, + {0x001800003f000019, &upb_psf8_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_endpoint_v3_ClusterStats_submsgs[3] = { + {.submsg = &envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init}, +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_ClusterStats__fields[6] = { + {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(24, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 40), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__ClusterStats_msg_init = { + &envoy_config_endpoint_v3_ClusterStats_submsgs[0], + &envoy_config_endpoint_v3_ClusterStats__fields[0], + UPB_SIZE(40, 72), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prm_1bt_max128b}, + {0x002000003f000018, &upb_psv8_1bt}, + {0x0028000001010022, &upb_psm_1bt_maxmaxb}, + {0x003000003f02002a, &upb_prm_1bt_max64b}, + {0x003800003f000032, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_endpoint_v3_ClusterStats_DroppedRequests__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init = { + NULL, + &envoy_config_endpoint_v3_ClusterStats_DroppedRequests__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000010, &upb_psv8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[5] = { + &envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init, + &envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init, + &envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init, + &envoy__config__endpoint__v3__ClusterStats_msg_init, + &envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init, +}; + +const upb_MiniTableFile envoy_config_endpoint_v3_load_report_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 5, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h new file mode 100644 index 00000000000..2bfb250c74d --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h @@ -0,0 +1,34 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/endpoint/v3/load_report.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_ENDPOINT_V3_LOAD_REPORT_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_ENDPOINT_V3_LOAD_REPORT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__endpoint__v3__UpstreamLocalityStats_msg_init; +extern const upb_MiniTable envoy__config__endpoint__v3__UpstreamEndpointStats_msg_init; +extern const upb_MiniTable envoy__config__endpoint__v3__EndpointLoadMetricStats_msg_init; +extern const upb_MiniTable envoy__config__endpoint__v3__ClusterStats_msg_init; +extern const upb_MiniTable envoy__config__endpoint__v3__ClusterStats__DroppedRequests_msg_init; + +extern const upb_MiniTableFile envoy_config_endpoint_v3_load_report_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_ENDPOINT_V3_LOAD_REPORT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h b/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h similarity index 82% rename from src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h rename to src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h index 8678805365a..7af9d953e40 100644 --- a/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/api_listener.proto * @@ -10,7 +9,14 @@ #define ENVOY_CONFIG_LISTENER_V3_API_LISTENER_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/listener/v3/api_listener.upb_minitable.h" + +#include "google/protobuf/any.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +24,19 @@ extern "C" { #endif typedef struct envoy_config_listener_v3_ApiListener envoy_config_listener_v3_ApiListener; -extern const upb_MiniTable envoy_config_listener_v3_ApiListener_msg_init; struct google_protobuf_Any; -extern const upb_MiniTable google_protobuf_Any_msg_init; /* envoy.config.listener.v3.ApiListener */ UPB_INLINE envoy_config_listener_v3_ApiListener* envoy_config_listener_v3_ApiListener_new(upb_Arena* arena) { - return (envoy_config_listener_v3_ApiListener*)_upb_Message_New(&envoy_config_listener_v3_ApiListener_msg_init, arena); + return (envoy_config_listener_v3_ApiListener*)_upb_Message_New(&envoy__config__listener__v3__ApiListener_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_ApiListener* envoy_config_listener_v3_ApiListener_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_ApiListener* ret = envoy_config_listener_v3_ApiListener_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ApiListener_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ApiListener_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +46,7 @@ UPB_INLINE envoy_config_listener_v3_ApiListener* envoy_config_listener_v3_ApiLis int options, upb_Arena* arena) { envoy_config_listener_v3_ApiListener* ret = envoy_config_listener_v3_ApiListener_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ApiListener_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ApiListener_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +54,13 @@ UPB_INLINE envoy_config_listener_v3_ApiListener* envoy_config_listener_v3_ApiLis } UPB_INLINE char* envoy_config_listener_v3_ApiListener_serialize(const envoy_config_listener_v3_ApiListener* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ApiListener_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ApiListener_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_ApiListener_serialize_ex(const envoy_config_listener_v3_ApiListener* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ApiListener_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ApiListener_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_listener_v3_ApiListener_clear_api_listener(envoy_config_listener_v3_ApiListener* msg) { @@ -82,14 +86,12 @@ UPB_INLINE void envoy_config_listener_v3_ApiListener_set_api_listener(envoy_conf UPB_INLINE struct google_protobuf_Any* envoy_config_listener_v3_ApiListener_mutable_api_listener(envoy_config_listener_v3_ApiListener* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_listener_v3_ApiListener_api_listener(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_listener_v3_ApiListener_set_api_listener(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_listener_v3_api_listener_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c new file mode 100644 index 00000000000..ec25b97d617 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c @@ -0,0 +1,50 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/listener/v3/api_listener.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/listener/v3/api_listener.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_listener_v3_ApiListener_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_ApiListener__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__ApiListener_msg_init = { + &envoy_config_listener_v3_ApiListener_submsgs[0], + &envoy_config_listener_v3_ApiListener__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__listener__v3__ApiListener_msg_init, +}; + +const upb_MiniTableFile envoy_config_listener_v3_api_listener_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h new file mode 100644 index 00000000000..f7ca2d1fb42 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/listener/v3/api_listener.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_LISTENER_V3_API_LISTENER_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_LISTENER_V3_API_LISTENER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__listener__v3__ApiListener_msg_init; + +extern const upb_MiniTableFile envoy_config_listener_v3_api_listener_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_LISTENER_V3_API_LISTENER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h b/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h similarity index 89% rename from src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h rename to src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h index e845d65a40f..9efa6b3f74d 100644 --- a/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/listener.proto * @@ -10,7 +9,29 @@ #define ENVOY_CONFIG_LISTENER_V3_LISTENER_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/listener/v3/listener.upb_minitable.h" + +#include "envoy/config/accesslog/v3/accesslog.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/socket_option.upb_minitable.h" +#include "envoy/config/listener/v3/api_listener.upb_minitable.h" +#include "envoy/config/listener/v3/listener_components.upb_minitable.h" +#include "envoy/config/listener/v3/udp_listener_config.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/collection_entry.upb_minitable.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/security.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -27,16 +48,6 @@ typedef struct envoy_config_listener_v3_Listener_InternalListenerConfig envoy_co typedef struct envoy_config_listener_v3_ListenerManager envoy_config_listener_v3_ListenerManager; typedef struct envoy_config_listener_v3_ValidationListenerManager envoy_config_listener_v3_ValidationListenerManager; typedef struct envoy_config_listener_v3_ApiListenerManager envoy_config_listener_v3_ApiListenerManager; -extern const upb_MiniTable envoy_config_listener_v3_AdditionalAddress_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_ListenerCollection_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_Listener_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_Listener_DeprecatedV1_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_Listener_ConnectionBalanceConfig_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_Listener_InternalListenerConfig_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_ListenerManager_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_ValidationListenerManager_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_ApiListenerManager_msg_init; struct envoy_config_accesslog_v3_AccessLog; struct envoy_config_core_v3_Address; struct envoy_config_core_v3_Metadata; @@ -52,21 +63,6 @@ struct google_protobuf_Duration; struct google_protobuf_UInt32Value; struct xds_core_v3_CollectionEntry; struct xds_type_matcher_v3_Matcher; -extern const upb_MiniTable envoy_config_accesslog_v3_AccessLog_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Address_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Metadata_msg_init; -extern const upb_MiniTable envoy_config_core_v3_SocketOption_msg_init; -extern const upb_MiniTable envoy_config_core_v3_SocketOptionsOverride_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_ApiListener_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_FilterChain_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_ListenerFilter_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_UdpListenerConfig_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; -extern const upb_MiniTable xds_core_v3_CollectionEntry_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_msg_init; typedef enum { envoy_config_listener_v3_Listener_DEFAULT = 0, @@ -78,12 +74,12 @@ typedef enum { /* envoy.config.listener.v3.AdditionalAddress */ UPB_INLINE envoy_config_listener_v3_AdditionalAddress* envoy_config_listener_v3_AdditionalAddress_new(upb_Arena* arena) { - return (envoy_config_listener_v3_AdditionalAddress*)_upb_Message_New(&envoy_config_listener_v3_AdditionalAddress_msg_init, arena); + return (envoy_config_listener_v3_AdditionalAddress*)_upb_Message_New(&envoy__config__listener__v3__AdditionalAddress_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_AdditionalAddress* envoy_config_listener_v3_AdditionalAddress_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_AdditionalAddress* ret = envoy_config_listener_v3_AdditionalAddress_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_AdditionalAddress_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__AdditionalAddress_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -93,7 +89,7 @@ UPB_INLINE envoy_config_listener_v3_AdditionalAddress* envoy_config_listener_v3_ int options, upb_Arena* arena) { envoy_config_listener_v3_AdditionalAddress* ret = envoy_config_listener_v3_AdditionalAddress_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_AdditionalAddress_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__AdditionalAddress_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -101,13 +97,13 @@ UPB_INLINE envoy_config_listener_v3_AdditionalAddress* envoy_config_listener_v3_ } UPB_INLINE char* envoy_config_listener_v3_AdditionalAddress_serialize(const envoy_config_listener_v3_AdditionalAddress* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_AdditionalAddress_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__AdditionalAddress_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_AdditionalAddress_serialize_ex(const envoy_config_listener_v3_AdditionalAddress* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_AdditionalAddress_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__AdditionalAddress_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_listener_v3_AdditionalAddress_clear_address(envoy_config_listener_v3_AdditionalAddress* msg) { @@ -148,7 +144,7 @@ UPB_INLINE void envoy_config_listener_v3_AdditionalAddress_set_address(envoy_con UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_listener_v3_AdditionalAddress_mutable_address(envoy_config_listener_v3_AdditionalAddress* msg, upb_Arena* arena) { struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_listener_v3_AdditionalAddress_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); if (sub) envoy_config_listener_v3_AdditionalAddress_set_address(msg, sub); } return sub; @@ -160,7 +156,7 @@ UPB_INLINE void envoy_config_listener_v3_AdditionalAddress_set_socket_options(en UPB_INLINE struct envoy_config_core_v3_SocketOptionsOverride* envoy_config_listener_v3_AdditionalAddress_mutable_socket_options(envoy_config_listener_v3_AdditionalAddress* msg, upb_Arena* arena) { struct envoy_config_core_v3_SocketOptionsOverride* sub = (struct envoy_config_core_v3_SocketOptionsOverride*)envoy_config_listener_v3_AdditionalAddress_socket_options(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_SocketOptionsOverride*)_upb_Message_New(&envoy_config_core_v3_SocketOptionsOverride_msg_init, arena); + sub = (struct envoy_config_core_v3_SocketOptionsOverride*)_upb_Message_New(&envoy__config__core__v3__SocketOptionsOverride_msg_init, arena); if (sub) envoy_config_listener_v3_AdditionalAddress_set_socket_options(msg, sub); } return sub; @@ -169,12 +165,12 @@ UPB_INLINE struct envoy_config_core_v3_SocketOptionsOverride* envoy_config_liste /* envoy.config.listener.v3.ListenerCollection */ UPB_INLINE envoy_config_listener_v3_ListenerCollection* envoy_config_listener_v3_ListenerCollection_new(upb_Arena* arena) { - return (envoy_config_listener_v3_ListenerCollection*)_upb_Message_New(&envoy_config_listener_v3_ListenerCollection_msg_init, arena); + return (envoy_config_listener_v3_ListenerCollection*)_upb_Message_New(&envoy__config__listener__v3__ListenerCollection_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_ListenerCollection* envoy_config_listener_v3_ListenerCollection_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_ListenerCollection* ret = envoy_config_listener_v3_ListenerCollection_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerCollection_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ListenerCollection_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -184,7 +180,7 @@ UPB_INLINE envoy_config_listener_v3_ListenerCollection* envoy_config_listener_v3 int options, upb_Arena* arena) { envoy_config_listener_v3_ListenerCollection* ret = envoy_config_listener_v3_ListenerCollection_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerCollection_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ListenerCollection_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -192,13 +188,13 @@ UPB_INLINE envoy_config_listener_v3_ListenerCollection* envoy_config_listener_v3 } UPB_INLINE char* envoy_config_listener_v3_ListenerCollection_serialize(const envoy_config_listener_v3_ListenerCollection* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ListenerCollection_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ListenerCollection_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_ListenerCollection_serialize_ex(const envoy_config_listener_v3_ListenerCollection* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ListenerCollection_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ListenerCollection_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_listener_v3_ListenerCollection_clear_entries(envoy_config_listener_v3_ListenerCollection* msg) { @@ -260,7 +256,7 @@ UPB_INLINE struct xds_core_v3_CollectionEntry* envoy_config_listener_v3_Listener if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct xds_core_v3_CollectionEntry* sub = (struct xds_core_v3_CollectionEntry*)_upb_Message_New(&xds_core_v3_CollectionEntry_msg_init, arena); + struct xds_core_v3_CollectionEntry* sub = (struct xds_core_v3_CollectionEntry*)_upb_Message_New(&xds__core__v3__CollectionEntry_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -269,12 +265,12 @@ UPB_INLINE struct xds_core_v3_CollectionEntry* envoy_config_listener_v3_Listener /* envoy.config.listener.v3.Listener */ UPB_INLINE envoy_config_listener_v3_Listener* envoy_config_listener_v3_Listener_new(upb_Arena* arena) { - return (envoy_config_listener_v3_Listener*)_upb_Message_New(&envoy_config_listener_v3_Listener_msg_init, arena); + return (envoy_config_listener_v3_Listener*)_upb_Message_New(&envoy__config__listener__v3__Listener_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_Listener* envoy_config_listener_v3_Listener_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_Listener* ret = envoy_config_listener_v3_Listener_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Listener_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__Listener_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -284,7 +280,7 @@ UPB_INLINE envoy_config_listener_v3_Listener* envoy_config_listener_v3_Listener_ int options, upb_Arena* arena) { envoy_config_listener_v3_Listener* ret = envoy_config_listener_v3_Listener_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Listener_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__Listener_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -292,13 +288,13 @@ UPB_INLINE envoy_config_listener_v3_Listener* envoy_config_listener_v3_Listener_ } UPB_INLINE char* envoy_config_listener_v3_Listener_serialize(const envoy_config_listener_v3_Listener* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_Listener_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__Listener_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_Listener_serialize_ex(const envoy_config_listener_v3_Listener* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_Listener_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__Listener_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -306,17 +302,17 @@ typedef enum { envoy_config_listener_v3_Listener_listener_specifier_NOT_SET = 0 } envoy_config_listener_v3_Listener_listener_specifier_oneofcases; UPB_INLINE envoy_config_listener_v3_Listener_listener_specifier_oneofcases envoy_config_listener_v3_Listener_listener_specifier_case(const envoy_config_listener_v3_Listener* msg) { - const upb_MiniTableField field = {27, UPB_SIZE(116, 232), UPB_SIZE(-97, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {27, UPB_SIZE(120, 240), UPB_SIZE(-97, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return (envoy_config_listener_v3_Listener_listener_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); } UPB_INLINE void envoy_config_listener_v3_Listener_clear_name(envoy_config_listener_v3_Listener* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(120, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(124, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView envoy_config_listener_v3_Listener_name(const envoy_config_listener_v3_Listener* msg) { upb_StringView default_val = upb_StringView_FromString(""); upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(120, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(124, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } @@ -738,28 +734,28 @@ UPB_INLINE bool envoy_config_listener_v3_Listener_has_bind_to_port(const envoy_c return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_listener_v3_Listener_clear_internal_listener(envoy_config_listener_v3_Listener* msg) { - const upb_MiniTableField field = {27, UPB_SIZE(116, 232), UPB_SIZE(-97, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {27, UPB_SIZE(120, 240), UPB_SIZE(-97, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const envoy_config_listener_v3_Listener_InternalListenerConfig* envoy_config_listener_v3_Listener_internal_listener(const envoy_config_listener_v3_Listener* msg) { const envoy_config_listener_v3_Listener_InternalListenerConfig* default_val = NULL; const envoy_config_listener_v3_Listener_InternalListenerConfig* ret; - const upb_MiniTableField field = {27, UPB_SIZE(116, 232), UPB_SIZE(-97, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {27, UPB_SIZE(120, 240), UPB_SIZE(-97, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_config_listener_v3_Listener_has_internal_listener(const envoy_config_listener_v3_Listener* msg) { - const upb_MiniTableField field = {27, UPB_SIZE(116, 232), UPB_SIZE(-97, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {27, UPB_SIZE(120, 240), UPB_SIZE(-97, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_listener_v3_Listener_clear_stat_prefix(envoy_config_listener_v3_Listener* msg) { - const upb_MiniTableField field = {28, UPB_SIZE(128, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {28, UPB_SIZE(132, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView envoy_config_listener_v3_Listener_stat_prefix(const envoy_config_listener_v3_Listener* msg) { upb_StringView default_val = upb_StringView_FromString(""); upb_StringView ret; - const upb_MiniTableField field = {28, UPB_SIZE(128, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {28, UPB_SIZE(132, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } @@ -852,9 +848,24 @@ UPB_INLINE bool envoy_config_listener_v3_Listener_has_additional_addresses(const envoy_config_listener_v3_Listener_additional_addresses(msg, &size); return size != 0; } +UPB_INLINE void envoy_config_listener_v3_Listener_clear_max_connections_to_accept_per_socket_event(envoy_config_listener_v3_Listener* msg) { + const upb_MiniTableField field = {34, UPB_SIZE(116, 232), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener_max_connections_to_accept_per_socket_event(const envoy_config_listener_v3_Listener* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {34, UPB_SIZE(116, 232), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_listener_v3_Listener_has_max_connections_to_accept_per_socket_event(const envoy_config_listener_v3_Listener* msg) { + const upb_MiniTableField field = {34, UPB_SIZE(116, 232), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} UPB_INLINE void envoy_config_listener_v3_Listener_set_name(envoy_config_listener_v3_Listener *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(120, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(124, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE void envoy_config_listener_v3_Listener_set_address(envoy_config_listener_v3_Listener *msg, struct envoy_config_core_v3_Address* value) { @@ -864,7 +875,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_address(envoy_config_liste UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_listener_v3_Listener_mutable_address(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_listener_v3_Listener_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_address(msg, sub); } return sub; @@ -890,7 +901,7 @@ UPB_INLINE struct envoy_config_listener_v3_FilterChain* envoy_config_listener_v3 if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_listener_v3_FilterChain* sub = (struct envoy_config_listener_v3_FilterChain*)_upb_Message_New(&envoy_config_listener_v3_FilterChain_msg_init, arena); + struct envoy_config_listener_v3_FilterChain* sub = (struct envoy_config_listener_v3_FilterChain*)_upb_Message_New(&envoy__config__listener__v3__FilterChain_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -902,7 +913,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_use_original_dst(envoy_con UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_mutable_use_original_dst(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_listener_v3_Listener_use_original_dst(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_use_original_dst(msg, sub); } return sub; @@ -914,7 +925,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_per_connection_buffer_limi UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener_mutable_per_connection_buffer_limit_bytes(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_listener_v3_Listener_per_connection_buffer_limit_bytes(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_per_connection_buffer_limit_bytes(msg, sub); } return sub; @@ -926,7 +937,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_metadata(envoy_config_list UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_listener_v3_Listener_mutable_metadata(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_listener_v3_Listener_metadata(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy_config_core_v3_Metadata_msg_init, arena); + sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_metadata(msg, sub); } return sub; @@ -938,7 +949,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_deprecated_v1(envoy_config UPB_INLINE struct envoy_config_listener_v3_Listener_DeprecatedV1* envoy_config_listener_v3_Listener_mutable_deprecated_v1(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct envoy_config_listener_v3_Listener_DeprecatedV1* sub = (struct envoy_config_listener_v3_Listener_DeprecatedV1*)envoy_config_listener_v3_Listener_deprecated_v1(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_Listener_DeprecatedV1*)_upb_Message_New(&envoy_config_listener_v3_Listener_DeprecatedV1_msg_init, arena); + sub = (struct envoy_config_listener_v3_Listener_DeprecatedV1*)_upb_Message_New(&envoy__config__listener__v3__Listener__DeprecatedV1_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_deprecated_v1(msg, sub); } return sub; @@ -968,7 +979,7 @@ UPB_INLINE struct envoy_config_listener_v3_ListenerFilter* envoy_config_listener if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_listener_v3_ListenerFilter* sub = (struct envoy_config_listener_v3_ListenerFilter*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilter_msg_init, arena); + struct envoy_config_listener_v3_ListenerFilter* sub = (struct envoy_config_listener_v3_ListenerFilter*)_upb_Message_New(&envoy__config__listener__v3__ListenerFilter_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -980,7 +991,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_transparent(envoy_config_l UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_mutable_transparent(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_listener_v3_Listener_transparent(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_transparent(msg, sub); } return sub; @@ -992,7 +1003,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_freebind(envoy_config_list UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_mutable_freebind(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_listener_v3_Listener_freebind(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_freebind(msg, sub); } return sub; @@ -1004,7 +1015,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_tcp_fast_open_queue_length UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener_mutable_tcp_fast_open_queue_length(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_listener_v3_Listener_tcp_fast_open_queue_length(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_tcp_fast_open_queue_length(msg, sub); } return sub; @@ -1030,7 +1041,7 @@ UPB_INLINE struct envoy_config_core_v3_SocketOption* envoy_config_listener_v3_Li if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_SocketOption* sub = (struct envoy_config_core_v3_SocketOption*)_upb_Message_New(&envoy_config_core_v3_SocketOption_msg_init, arena); + struct envoy_config_core_v3_SocketOption* sub = (struct envoy_config_core_v3_SocketOption*)_upb_Message_New(&envoy__config__core__v3__SocketOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1042,7 +1053,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_listener_filters_timeout(e UPB_INLINE struct google_protobuf_Duration* envoy_config_listener_v3_Listener_mutable_listener_filters_timeout(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_listener_v3_Listener_listener_filters_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_listener_filters_timeout(msg, sub); } return sub; @@ -1062,7 +1073,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_udp_listener_config(envoy_ UPB_INLINE struct envoy_config_listener_v3_UdpListenerConfig* envoy_config_listener_v3_Listener_mutable_udp_listener_config(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct envoy_config_listener_v3_UdpListenerConfig* sub = (struct envoy_config_listener_v3_UdpListenerConfig*)envoy_config_listener_v3_Listener_udp_listener_config(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_UdpListenerConfig*)_upb_Message_New(&envoy_config_listener_v3_UdpListenerConfig_msg_init, arena); + sub = (struct envoy_config_listener_v3_UdpListenerConfig*)_upb_Message_New(&envoy__config__listener__v3__UdpListenerConfig_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_udp_listener_config(msg, sub); } return sub; @@ -1074,7 +1085,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_api_listener(envoy_config_ UPB_INLINE struct envoy_config_listener_v3_ApiListener* envoy_config_listener_v3_Listener_mutable_api_listener(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct envoy_config_listener_v3_ApiListener* sub = (struct envoy_config_listener_v3_ApiListener*)envoy_config_listener_v3_Listener_api_listener(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_ApiListener*)_upb_Message_New(&envoy_config_listener_v3_ApiListener_msg_init, arena); + sub = (struct envoy_config_listener_v3_ApiListener*)_upb_Message_New(&envoy__config__listener__v3__ApiListener_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_api_listener(msg, sub); } return sub; @@ -1086,7 +1097,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_connection_balance_config( UPB_INLINE struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig* envoy_config_listener_v3_Listener_mutable_connection_balance_config(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig* sub = (struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig*)envoy_config_listener_v3_Listener_connection_balance_config(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig*)_upb_Message_New(&envoy_config_listener_v3_Listener_ConnectionBalanceConfig_msg_init, arena); + sub = (struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig*)_upb_Message_New(&envoy__config__listener__v3__Listener__ConnectionBalanceConfig_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_connection_balance_config(msg, sub); } return sub; @@ -1116,7 +1127,7 @@ UPB_INLINE struct envoy_config_accesslog_v3_AccessLog* envoy_config_listener_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_accesslog_v3_AccessLog* sub = (struct envoy_config_accesslog_v3_AccessLog*)_upb_Message_New(&envoy_config_accesslog_v3_AccessLog_msg_init, arena); + struct envoy_config_accesslog_v3_AccessLog* sub = (struct envoy_config_accesslog_v3_AccessLog*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLog_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1128,7 +1139,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_tcp_backlog_size(envoy_con UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener_mutable_tcp_backlog_size(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_listener_v3_Listener_tcp_backlog_size(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_tcp_backlog_size(msg, sub); } return sub; @@ -1140,7 +1151,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_default_filter_chain(envoy UPB_INLINE struct envoy_config_listener_v3_FilterChain* envoy_config_listener_v3_Listener_mutable_default_filter_chain(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct envoy_config_listener_v3_FilterChain* sub = (struct envoy_config_listener_v3_FilterChain*)envoy_config_listener_v3_Listener_default_filter_chain(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_FilterChain*)_upb_Message_New(&envoy_config_listener_v3_FilterChain_msg_init, arena); + sub = (struct envoy_config_listener_v3_FilterChain*)_upb_Message_New(&envoy__config__listener__v3__FilterChain_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_default_filter_chain(msg, sub); } return sub; @@ -1152,25 +1163,25 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_bind_to_port(envoy_config_ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_mutable_bind_to_port(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_listener_v3_Listener_bind_to_port(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_bind_to_port(msg, sub); } return sub; } UPB_INLINE void envoy_config_listener_v3_Listener_set_internal_listener(envoy_config_listener_v3_Listener *msg, envoy_config_listener_v3_Listener_InternalListenerConfig* value) { - const upb_MiniTableField field = {27, UPB_SIZE(116, 232), UPB_SIZE(-97, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {27, UPB_SIZE(120, 240), UPB_SIZE(-97, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_listener_v3_Listener_InternalListenerConfig* envoy_config_listener_v3_Listener_mutable_internal_listener(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct envoy_config_listener_v3_Listener_InternalListenerConfig* sub = (struct envoy_config_listener_v3_Listener_InternalListenerConfig*)envoy_config_listener_v3_Listener_internal_listener(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_Listener_InternalListenerConfig*)_upb_Message_New(&envoy_config_listener_v3_Listener_InternalListenerConfig_msg_init, arena); + sub = (struct envoy_config_listener_v3_Listener_InternalListenerConfig*)_upb_Message_New(&envoy__config__listener__v3__Listener__InternalListenerConfig_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_internal_listener(msg, sub); } return sub; } UPB_INLINE void envoy_config_listener_v3_Listener_set_stat_prefix(envoy_config_listener_v3_Listener *msg, upb_StringView value) { - const upb_MiniTableField field = {28, UPB_SIZE(128, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {28, UPB_SIZE(132, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE void envoy_config_listener_v3_Listener_set_enable_reuse_port(envoy_config_listener_v3_Listener *msg, struct google_protobuf_BoolValue* value) { @@ -1180,7 +1191,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_enable_reuse_port(envoy_co UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_mutable_enable_reuse_port(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_listener_v3_Listener_enable_reuse_port(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_enable_reuse_port(msg, sub); } return sub; @@ -1200,7 +1211,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_filter_chain_matcher(envoy UPB_INLINE struct xds_type_matcher_v3_Matcher* envoy_config_listener_v3_Listener_mutable_filter_chain_matcher(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { struct xds_type_matcher_v3_Matcher* sub = (struct xds_type_matcher_v3_Matcher*)envoy_config_listener_v3_Listener_filter_chain_matcher(msg); if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher*)_upb_Message_New(&xds_type_matcher_v3_Matcher_msg_init, arena); + sub = (struct xds_type_matcher_v3_Matcher*)_upb_Message_New(&xds__type__matcher__v3__Matcher_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_set_filter_chain_matcher(msg, sub); } return sub; @@ -1226,21 +1237,33 @@ UPB_INLINE struct envoy_config_listener_v3_AdditionalAddress* envoy_config_liste if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_listener_v3_AdditionalAddress* sub = (struct envoy_config_listener_v3_AdditionalAddress*)_upb_Message_New(&envoy_config_listener_v3_AdditionalAddress_msg_init, arena); + struct envoy_config_listener_v3_AdditionalAddress* sub = (struct envoy_config_listener_v3_AdditionalAddress*)_upb_Message_New(&envoy__config__listener__v3__AdditionalAddress_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } +UPB_INLINE void envoy_config_listener_v3_Listener_set_max_connections_to_accept_per_socket_event(envoy_config_listener_v3_Listener *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {34, UPB_SIZE(116, 232), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener_mutable_max_connections_to_accept_per_socket_event(envoy_config_listener_v3_Listener* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_listener_v3_Listener_max_connections_to_accept_per_socket_event(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_config_listener_v3_Listener_set_max_connections_to_accept_per_socket_event(msg, sub); + } + return sub; +} /* envoy.config.listener.v3.Listener.DeprecatedV1 */ UPB_INLINE envoy_config_listener_v3_Listener_DeprecatedV1* envoy_config_listener_v3_Listener_DeprecatedV1_new(upb_Arena* arena) { - return (envoy_config_listener_v3_Listener_DeprecatedV1*)_upb_Message_New(&envoy_config_listener_v3_Listener_DeprecatedV1_msg_init, arena); + return (envoy_config_listener_v3_Listener_DeprecatedV1*)_upb_Message_New(&envoy__config__listener__v3__Listener__DeprecatedV1_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_Listener_DeprecatedV1* envoy_config_listener_v3_Listener_DeprecatedV1_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_Listener_DeprecatedV1* ret = envoy_config_listener_v3_Listener_DeprecatedV1_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Listener_DeprecatedV1_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__Listener__DeprecatedV1_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1250,7 +1273,7 @@ UPB_INLINE envoy_config_listener_v3_Listener_DeprecatedV1* envoy_config_listener int options, upb_Arena* arena) { envoy_config_listener_v3_Listener_DeprecatedV1* ret = envoy_config_listener_v3_Listener_DeprecatedV1_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Listener_DeprecatedV1_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__Listener__DeprecatedV1_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1258,13 +1281,13 @@ UPB_INLINE envoy_config_listener_v3_Listener_DeprecatedV1* envoy_config_listener } UPB_INLINE char* envoy_config_listener_v3_Listener_DeprecatedV1_serialize(const envoy_config_listener_v3_Listener_DeprecatedV1* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_Listener_DeprecatedV1_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__Listener__DeprecatedV1_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_Listener_DeprecatedV1_serialize_ex(const envoy_config_listener_v3_Listener_DeprecatedV1* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_Listener_DeprecatedV1_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__Listener__DeprecatedV1_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_listener_v3_Listener_DeprecatedV1_clear_bind_to_port(envoy_config_listener_v3_Listener_DeprecatedV1* msg) { @@ -1290,7 +1313,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_DeprecatedV1_set_bind_to_port( UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_DeprecatedV1_mutable_bind_to_port(envoy_config_listener_v3_Listener_DeprecatedV1* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_listener_v3_Listener_DeprecatedV1_bind_to_port(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_DeprecatedV1_set_bind_to_port(msg, sub); } return sub; @@ -1299,12 +1322,12 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_D /* envoy.config.listener.v3.Listener.ConnectionBalanceConfig */ UPB_INLINE envoy_config_listener_v3_Listener_ConnectionBalanceConfig* envoy_config_listener_v3_Listener_ConnectionBalanceConfig_new(upb_Arena* arena) { - return (envoy_config_listener_v3_Listener_ConnectionBalanceConfig*)_upb_Message_New(&envoy_config_listener_v3_Listener_ConnectionBalanceConfig_msg_init, arena); + return (envoy_config_listener_v3_Listener_ConnectionBalanceConfig*)_upb_Message_New(&envoy__config__listener__v3__Listener__ConnectionBalanceConfig_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_Listener_ConnectionBalanceConfig* envoy_config_listener_v3_Listener_ConnectionBalanceConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_Listener_ConnectionBalanceConfig* ret = envoy_config_listener_v3_Listener_ConnectionBalanceConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__Listener__ConnectionBalanceConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1314,7 +1337,7 @@ UPB_INLINE envoy_config_listener_v3_Listener_ConnectionBalanceConfig* envoy_conf int options, upb_Arena* arena) { envoy_config_listener_v3_Listener_ConnectionBalanceConfig* ret = envoy_config_listener_v3_Listener_ConnectionBalanceConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__Listener__ConnectionBalanceConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1322,13 +1345,13 @@ UPB_INLINE envoy_config_listener_v3_Listener_ConnectionBalanceConfig* envoy_conf } UPB_INLINE char* envoy_config_listener_v3_Listener_ConnectionBalanceConfig_serialize(const envoy_config_listener_v3_Listener_ConnectionBalanceConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__Listener__ConnectionBalanceConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_Listener_ConnectionBalanceConfig_serialize_ex(const envoy_config_listener_v3_Listener_ConnectionBalanceConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__Listener__ConnectionBalanceConfig_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1378,7 +1401,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_ConnectionBalanceConfig_set_ex UPB_INLINE struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance* envoy_config_listener_v3_Listener_ConnectionBalanceConfig_mutable_exact_balance(envoy_config_listener_v3_Listener_ConnectionBalanceConfig* msg, upb_Arena* arena) { struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance* sub = (struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance*)envoy_config_listener_v3_Listener_ConnectionBalanceConfig_exact_balance(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance*)_upb_Message_New(&envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_msg_init, arena); + sub = (struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance*)_upb_Message_New(&envoy__config__listener__v3__Listener__ConnectionBalanceConfig__ExactBalance_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_ConnectionBalanceConfig_set_exact_balance(msg, sub); } return sub; @@ -1390,7 +1413,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_ConnectionBalanceConfig_set_ex UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_listener_v3_Listener_ConnectionBalanceConfig_mutable_extend_balance(envoy_config_listener_v3_Listener_ConnectionBalanceConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_listener_v3_Listener_ConnectionBalanceConfig_extend_balance(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_listener_v3_Listener_ConnectionBalanceConfig_set_extend_balance(msg, sub); } return sub; @@ -1399,12 +1422,12 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_listen /* envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance */ UPB_INLINE envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance* envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_new(upb_Arena* arena) { - return (envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance*)_upb_Message_New(&envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_msg_init, arena); + return (envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance*)_upb_Message_New(&envoy__config__listener__v3__Listener__ConnectionBalanceConfig__ExactBalance_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance* envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance* ret = envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__Listener__ConnectionBalanceConfig__ExactBalance_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1414,7 +1437,7 @@ UPB_INLINE envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalanc int options, upb_Arena* arena) { envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance* ret = envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__Listener__ConnectionBalanceConfig__ExactBalance_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1422,13 +1445,13 @@ UPB_INLINE envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalanc } UPB_INLINE char* envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_serialize(const envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__Listener__ConnectionBalanceConfig__ExactBalance_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_serialize_ex(const envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__Listener__ConnectionBalanceConfig__ExactBalance_msg_init, options, arena, &ptr, len); return ptr; } @@ -1436,12 +1459,12 @@ UPB_INLINE char* envoy_config_listener_v3_Listener_ConnectionBalanceConfig_Exact /* envoy.config.listener.v3.Listener.InternalListenerConfig */ UPB_INLINE envoy_config_listener_v3_Listener_InternalListenerConfig* envoy_config_listener_v3_Listener_InternalListenerConfig_new(upb_Arena* arena) { - return (envoy_config_listener_v3_Listener_InternalListenerConfig*)_upb_Message_New(&envoy_config_listener_v3_Listener_InternalListenerConfig_msg_init, arena); + return (envoy_config_listener_v3_Listener_InternalListenerConfig*)_upb_Message_New(&envoy__config__listener__v3__Listener__InternalListenerConfig_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_Listener_InternalListenerConfig* envoy_config_listener_v3_Listener_InternalListenerConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_Listener_InternalListenerConfig* ret = envoy_config_listener_v3_Listener_InternalListenerConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Listener_InternalListenerConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__Listener__InternalListenerConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1451,7 +1474,7 @@ UPB_INLINE envoy_config_listener_v3_Listener_InternalListenerConfig* envoy_confi int options, upb_Arena* arena) { envoy_config_listener_v3_Listener_InternalListenerConfig* ret = envoy_config_listener_v3_Listener_InternalListenerConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Listener_InternalListenerConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__Listener__InternalListenerConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1459,13 +1482,13 @@ UPB_INLINE envoy_config_listener_v3_Listener_InternalListenerConfig* envoy_confi } UPB_INLINE char* envoy_config_listener_v3_Listener_InternalListenerConfig_serialize(const envoy_config_listener_v3_Listener_InternalListenerConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_Listener_InternalListenerConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__Listener__InternalListenerConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_Listener_InternalListenerConfig_serialize_ex(const envoy_config_listener_v3_Listener_InternalListenerConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_Listener_InternalListenerConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__Listener__InternalListenerConfig_msg_init, options, arena, &ptr, len); return ptr; } @@ -1473,12 +1496,12 @@ UPB_INLINE char* envoy_config_listener_v3_Listener_InternalListenerConfig_serial /* envoy.config.listener.v3.ListenerManager */ UPB_INLINE envoy_config_listener_v3_ListenerManager* envoy_config_listener_v3_ListenerManager_new(upb_Arena* arena) { - return (envoy_config_listener_v3_ListenerManager*)_upb_Message_New(&envoy_config_listener_v3_ListenerManager_msg_init, arena); + return (envoy_config_listener_v3_ListenerManager*)_upb_Message_New(&envoy__config__listener__v3__ListenerManager_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_ListenerManager* envoy_config_listener_v3_ListenerManager_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_ListenerManager* ret = envoy_config_listener_v3_ListenerManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ListenerManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1488,7 +1511,7 @@ UPB_INLINE envoy_config_listener_v3_ListenerManager* envoy_config_listener_v3_Li int options, upb_Arena* arena) { envoy_config_listener_v3_ListenerManager* ret = envoy_config_listener_v3_ListenerManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerManager_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ListenerManager_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1496,13 +1519,13 @@ UPB_INLINE envoy_config_listener_v3_ListenerManager* envoy_config_listener_v3_Li } UPB_INLINE char* envoy_config_listener_v3_ListenerManager_serialize(const envoy_config_listener_v3_ListenerManager* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ListenerManager_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ListenerManager_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_ListenerManager_serialize_ex(const envoy_config_listener_v3_ListenerManager* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ListenerManager_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ListenerManager_msg_init, options, arena, &ptr, len); return ptr; } @@ -1510,12 +1533,12 @@ UPB_INLINE char* envoy_config_listener_v3_ListenerManager_serialize_ex(const env /* envoy.config.listener.v3.ValidationListenerManager */ UPB_INLINE envoy_config_listener_v3_ValidationListenerManager* envoy_config_listener_v3_ValidationListenerManager_new(upb_Arena* arena) { - return (envoy_config_listener_v3_ValidationListenerManager*)_upb_Message_New(&envoy_config_listener_v3_ValidationListenerManager_msg_init, arena); + return (envoy_config_listener_v3_ValidationListenerManager*)_upb_Message_New(&envoy__config__listener__v3__ValidationListenerManager_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_ValidationListenerManager* envoy_config_listener_v3_ValidationListenerManager_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_ValidationListenerManager* ret = envoy_config_listener_v3_ValidationListenerManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ValidationListenerManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ValidationListenerManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1525,7 +1548,7 @@ UPB_INLINE envoy_config_listener_v3_ValidationListenerManager* envoy_config_list int options, upb_Arena* arena) { envoy_config_listener_v3_ValidationListenerManager* ret = envoy_config_listener_v3_ValidationListenerManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ValidationListenerManager_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ValidationListenerManager_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1533,13 +1556,13 @@ UPB_INLINE envoy_config_listener_v3_ValidationListenerManager* envoy_config_list } UPB_INLINE char* envoy_config_listener_v3_ValidationListenerManager_serialize(const envoy_config_listener_v3_ValidationListenerManager* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ValidationListenerManager_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ValidationListenerManager_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_ValidationListenerManager_serialize_ex(const envoy_config_listener_v3_ValidationListenerManager* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ValidationListenerManager_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ValidationListenerManager_msg_init, options, arena, &ptr, len); return ptr; } @@ -1547,12 +1570,12 @@ UPB_INLINE char* envoy_config_listener_v3_ValidationListenerManager_serialize_ex /* envoy.config.listener.v3.ApiListenerManager */ UPB_INLINE envoy_config_listener_v3_ApiListenerManager* envoy_config_listener_v3_ApiListenerManager_new(upb_Arena* arena) { - return (envoy_config_listener_v3_ApiListenerManager*)_upb_Message_New(&envoy_config_listener_v3_ApiListenerManager_msg_init, arena); + return (envoy_config_listener_v3_ApiListenerManager*)_upb_Message_New(&envoy__config__listener__v3__ApiListenerManager_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_ApiListenerManager* envoy_config_listener_v3_ApiListenerManager_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_ApiListenerManager* ret = envoy_config_listener_v3_ApiListenerManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ApiListenerManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ApiListenerManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1562,7 +1585,7 @@ UPB_INLINE envoy_config_listener_v3_ApiListenerManager* envoy_config_listener_v3 int options, upb_Arena* arena) { envoy_config_listener_v3_ApiListenerManager* ret = envoy_config_listener_v3_ApiListenerManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ApiListenerManager_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ApiListenerManager_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1570,19 +1593,17 @@ UPB_INLINE envoy_config_listener_v3_ApiListenerManager* envoy_config_listener_v3 } UPB_INLINE char* envoy_config_listener_v3_ApiListenerManager_serialize(const envoy_config_listener_v3_ApiListenerManager* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ApiListenerManager_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ApiListenerManager_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_ApiListenerManager_serialize_ex(const envoy_config_listener_v3_ApiListenerManager* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ApiListenerManager_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ApiListenerManager_msg_init, options, arena, &ptr, len); return ptr; } -extern const upb_MiniTableFile envoy_config_listener_v3_listener_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c new file mode 100644 index 00000000000..26374127350 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c @@ -0,0 +1,268 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/listener/v3/listener.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/listener/v3/listener.upb_minitable.h" +#include "envoy/config/accesslog/v3/accesslog.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/socket_option.upb_minitable.h" +#include "envoy/config/listener/v3/api_listener.upb_minitable.h" +#include "envoy/config/listener/v3/listener_components.upb_minitable.h" +#include "envoy/config/listener/v3/udp_listener_config.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/collection_entry.upb_minitable.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/security.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_listener_v3_AdditionalAddress_submsgs[2] = { + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__config__core__v3__SocketOptionsOverride_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_AdditionalAddress__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__AdditionalAddress_msg_init = { + &envoy_config_listener_v3_AdditionalAddress_submsgs[0], + &envoy_config_listener_v3_AdditionalAddress__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_listener_v3_ListenerCollection_submsgs[1] = { + {.submsg = &xds__core__v3__CollectionEntry_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_ListenerCollection__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__ListenerCollection_msg_init = { + &envoy_config_listener_v3_ListenerCollection_submsgs[0], + &envoy_config_listener_v3_ListenerCollection__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_listener_v3_Listener_submsgs[24] = { + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__config__listener__v3__FilterChain_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__Metadata_msg_init}, + {.submsg = &envoy__config__listener__v3__Listener__DeprecatedV1_msg_init}, + {.submsg = &envoy__config__listener__v3__ListenerFilter_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__SocketOption_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__listener__v3__UdpListenerConfig_msg_init}, + {.submsg = &envoy__config__listener__v3__ApiListener_msg_init}, + {.submsg = &envoy__config__listener__v3__Listener__ConnectionBalanceConfig_msg_init}, + {.submsg = &envoy__config__accesslog__v3__AccessLog_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__listener__v3__FilterChain_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__listener__v3__Listener__InternalListenerConfig_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher_msg_init}, + {.submsg = &envoy__config__listener__v3__AdditionalAddress_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_Listener__fields[32] = { + {1, UPB_SIZE(124, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 56), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 64), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 72), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 80), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(28, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(32, 88), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(36, 96), 6, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(40, 104), 7, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(44, 112), 8, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(48, 120), 0, 10, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(52, 128), 9, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(56, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(60, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(64, 136), 10, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(68, 144), 11, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(72, 152), 12, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(76, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(80, 160), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(84, 168), 13, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(88, 176), 14, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {26, UPB_SIZE(92, 184), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {27, UPB_SIZE(120, 240), UPB_SIZE(-97, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {28, UPB_SIZE(132, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {29, UPB_SIZE(100, 208), 16, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {30, UPB_SIZE(104, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {31, UPB_SIZE(105, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {32, UPB_SIZE(108, 216), 17, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {33, UPB_SIZE(112, 224), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {34, UPB_SIZE(116, 232), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__Listener_msg_init = { + &envoy_config_listener_v3_Listener_submsgs[0], + &envoy_config_listener_v3_Listener__fields[0], + UPB_SIZE(144, 248), 32, kUpb_ExtMode_NonExtendable, 13, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f00000a, &upb_pss_1bt}, + {0x0028000001000012, &upb_psm_1bt_maxmaxb}, + {0x003000003f01001a, &upb_prm_1bt_maxmaxb}, + {0x0038000002020022, &upb_psm_1bt_maxmaxb}, + {0x004000000303002a, &upb_psm_1bt_maxmaxb}, + {0x0048000004040032, &upb_psm_1bt_maxmaxb}, + {0x005000000505003a, &upb_psm_1bt_max64b}, + {0x000400003f000040, &upb_psv4_1bt}, + {0x005800003f06004a, &upb_prm_1bt_maxmaxb}, + {0x0060000006070052, &upb_psm_1bt_maxmaxb}, + {0x006800000708005a, &upb_psm_1bt_maxmaxb}, + {0x0070000008090062, &upb_psm_1bt_maxmaxb}, + {0x007800003f0a006a, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x00800000090b007a, &upb_psm_1bt_maxmaxb}, + {0x000800003f000180, &upb_psv4_2bt}, + {0x000c00003f000188, &upb_psb1_2bt}, + {0x008800000a0c0192, &upb_psm_2bt_maxmaxb}, + {0x009000000b0d019a, &upb_psm_2bt_maxmaxb}, + {0x009800000c0e01a2, &upb_psm_2bt_max64b}, + {0x000d00003f0001a8, &upb_psb1_2bt}, + {0x00a000003f0f01b2, &upb_prm_2bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x00a800000d1001c2, &upb_psm_2bt_maxmaxb}, + {0x00b000000e1101ca, &upb_psm_2bt_maxmaxb}, + {0x00b800000f1201d2, &upb_psm_2bt_maxmaxb}, + {0x00f000101b1301da, &upb_pom_2bt_max64b}, + {0x00c000003f0001e2, &upb_pss_2bt}, + {0x00d00000101401ea, &upb_psm_2bt_maxmaxb}, + {0x001400003f0001f0, &upb_psb1_2bt}, + {0x001500003f0001f8, &upb_psb1_2bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_listener_v3_Listener_DeprecatedV1_submsgs[1] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_Listener_DeprecatedV1__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__Listener__DeprecatedV1_msg_init = { + &envoy_config_listener_v3_Listener_DeprecatedV1_submsgs[0], + &envoy_config_listener_v3_Listener_DeprecatedV1__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_listener_v3_Listener_ConnectionBalanceConfig_submsgs[2] = { + {.submsg = &envoy__config__listener__v3__Listener__ConnectionBalanceConfig__ExactBalance_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_Listener_ConnectionBalanceConfig__fields[2] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__Listener__ConnectionBalanceConfig_msg_init = { + &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_submsgs[0], + &envoy_config_listener_v3_Listener_ConnectionBalanceConfig__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +const upb_MiniTable envoy__config__listener__v3__Listener__ConnectionBalanceConfig__ExactBalance_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +const upb_MiniTable envoy__config__listener__v3__Listener__InternalListenerConfig_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +const upb_MiniTable envoy__config__listener__v3__ListenerManager_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +const upb_MiniTable envoy__config__listener__v3__ValidationListenerManager_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +const upb_MiniTable envoy__config__listener__v3__ApiListenerManager_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTable *messages_layout[10] = { + &envoy__config__listener__v3__AdditionalAddress_msg_init, + &envoy__config__listener__v3__ListenerCollection_msg_init, + &envoy__config__listener__v3__Listener_msg_init, + &envoy__config__listener__v3__Listener__DeprecatedV1_msg_init, + &envoy__config__listener__v3__Listener__ConnectionBalanceConfig_msg_init, + &envoy__config__listener__v3__Listener__ConnectionBalanceConfig__ExactBalance_msg_init, + &envoy__config__listener__v3__Listener__InternalListenerConfig_msg_init, + &envoy__config__listener__v3__ListenerManager_msg_init, + &envoy__config__listener__v3__ValidationListenerManager_msg_init, + &envoy__config__listener__v3__ApiListenerManager_msg_init, +}; + +const upb_MiniTableFile envoy_config_listener_v3_listener_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 10, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h new file mode 100644 index 00000000000..116916f8087 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h @@ -0,0 +1,39 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/listener/v3/listener.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_LISTENER_V3_LISTENER_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_LISTENER_V3_LISTENER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__listener__v3__AdditionalAddress_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__ListenerCollection_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__Listener_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__Listener__DeprecatedV1_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__Listener__ConnectionBalanceConfig_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__Listener__ConnectionBalanceConfig__ExactBalance_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__Listener__InternalListenerConfig_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__ListenerManager_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__ValidationListenerManager_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__ApiListenerManager_msg_init; + +extern const upb_MiniTableFile envoy_config_listener_v3_listener_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_LISTENER_V3_LISTENER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h b/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h similarity index 93% rename from src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h rename to src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h index 0bcdb1fa2d6..f2f908316e0 100644 --- a/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/listener_components.proto * @@ -10,7 +9,22 @@ #define ENVOY_CONFIG_LISTENER_V3_LISTENER_COMPONENTS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/listener/v3/listener_components.upb_minitable.h" + +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/type/v3/range.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -24,13 +38,6 @@ typedef struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration envoy_ typedef struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate envoy_config_listener_v3_ListenerFilterChainMatchPredicate; typedef struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet; typedef struct envoy_config_listener_v3_ListenerFilter envoy_config_listener_v3_ListenerFilter; -extern const upb_MiniTable envoy_config_listener_v3_Filter_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_FilterChainMatch_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_FilterChain_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_ListenerFilter_msg_init; struct envoy_config_core_v3_CidrRange; struct envoy_config_core_v3_ExtensionConfigSource; struct envoy_config_core_v3_Metadata; @@ -40,15 +47,6 @@ struct google_protobuf_Any; struct google_protobuf_BoolValue; struct google_protobuf_Duration; struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_core_v3_CidrRange_msg_init; -extern const upb_MiniTable envoy_config_core_v3_ExtensionConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Metadata_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TransportSocket_msg_init; -extern const upb_MiniTable envoy_type_v3_Int32Range_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; typedef enum { envoy_config_listener_v3_FilterChainMatch_ANY = 0, @@ -61,12 +59,12 @@ typedef enum { /* envoy.config.listener.v3.Filter */ UPB_INLINE envoy_config_listener_v3_Filter* envoy_config_listener_v3_Filter_new(upb_Arena* arena) { - return (envoy_config_listener_v3_Filter*)_upb_Message_New(&envoy_config_listener_v3_Filter_msg_init, arena); + return (envoy_config_listener_v3_Filter*)_upb_Message_New(&envoy__config__listener__v3__Filter_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_Filter* envoy_config_listener_v3_Filter_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_Filter* ret = envoy_config_listener_v3_Filter_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Filter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__Filter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -76,7 +74,7 @@ UPB_INLINE envoy_config_listener_v3_Filter* envoy_config_listener_v3_Filter_pars int options, upb_Arena* arena) { envoy_config_listener_v3_Filter* ret = envoy_config_listener_v3_Filter_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_Filter_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__Filter_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -84,13 +82,13 @@ UPB_INLINE envoy_config_listener_v3_Filter* envoy_config_listener_v3_Filter_pars } UPB_INLINE char* envoy_config_listener_v3_Filter_serialize(const envoy_config_listener_v3_Filter* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_Filter_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__Filter_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_Filter_serialize_ex(const envoy_config_listener_v3_Filter* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_Filter_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__Filter_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -155,7 +153,7 @@ UPB_INLINE void envoy_config_listener_v3_Filter_set_typed_config(envoy_config_li UPB_INLINE struct google_protobuf_Any* envoy_config_listener_v3_Filter_mutable_typed_config(envoy_config_listener_v3_Filter* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_listener_v3_Filter_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_listener_v3_Filter_set_typed_config(msg, sub); } return sub; @@ -167,7 +165,7 @@ UPB_INLINE void envoy_config_listener_v3_Filter_set_config_discovery(envoy_confi UPB_INLINE struct envoy_config_core_v3_ExtensionConfigSource* envoy_config_listener_v3_Filter_mutable_config_discovery(envoy_config_listener_v3_Filter* msg, upb_Arena* arena) { struct envoy_config_core_v3_ExtensionConfigSource* sub = (struct envoy_config_core_v3_ExtensionConfigSource*)envoy_config_listener_v3_Filter_config_discovery(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ExtensionConfigSource*)_upb_Message_New(&envoy_config_core_v3_ExtensionConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ExtensionConfigSource*)_upb_Message_New(&envoy__config__core__v3__ExtensionConfigSource_msg_init, arena); if (sub) envoy_config_listener_v3_Filter_set_config_discovery(msg, sub); } return sub; @@ -176,12 +174,12 @@ UPB_INLINE struct envoy_config_core_v3_ExtensionConfigSource* envoy_config_liste /* envoy.config.listener.v3.FilterChainMatch */ UPB_INLINE envoy_config_listener_v3_FilterChainMatch* envoy_config_listener_v3_FilterChainMatch_new(upb_Arena* arena) { - return (envoy_config_listener_v3_FilterChainMatch*)_upb_Message_New(&envoy_config_listener_v3_FilterChainMatch_msg_init, arena); + return (envoy_config_listener_v3_FilterChainMatch*)_upb_Message_New(&envoy__config__listener__v3__FilterChainMatch_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_FilterChainMatch* envoy_config_listener_v3_FilterChainMatch_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_FilterChainMatch* ret = envoy_config_listener_v3_FilterChainMatch_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_FilterChainMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__FilterChainMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -191,7 +189,7 @@ UPB_INLINE envoy_config_listener_v3_FilterChainMatch* envoy_config_listener_v3_F int options, upb_Arena* arena) { envoy_config_listener_v3_FilterChainMatch* ret = envoy_config_listener_v3_FilterChainMatch_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_FilterChainMatch_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__FilterChainMatch_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -199,13 +197,13 @@ UPB_INLINE envoy_config_listener_v3_FilterChainMatch* envoy_config_listener_v3_F } UPB_INLINE char* envoy_config_listener_v3_FilterChainMatch_serialize(const envoy_config_listener_v3_FilterChainMatch* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_FilterChainMatch_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__FilterChainMatch_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_FilterChainMatch_serialize_ex(const envoy_config_listener_v3_FilterChainMatch* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_FilterChainMatch_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__FilterChainMatch_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_clear_prefix_ranges(envoy_config_listener_v3_FilterChainMatch* msg) { @@ -515,7 +513,7 @@ UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_listener_v3_Filte if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena); + struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy__config__core__v3__CidrRange_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -531,7 +529,7 @@ UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_set_suffix_len(envoy_c UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_FilterChainMatch_mutable_suffix_len(envoy_config_listener_v3_FilterChainMatch* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_listener_v3_FilterChainMatch_suffix_len(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_listener_v3_FilterChainMatch_set_suffix_len(msg, sub); } return sub; @@ -557,7 +555,7 @@ UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_listener_v3_Filte if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena); + struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy__config__core__v3__CidrRange_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -593,7 +591,7 @@ UPB_INLINE void envoy_config_listener_v3_FilterChainMatch_set_destination_port(e UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_FilterChainMatch_mutable_destination_port(envoy_config_listener_v3_FilterChainMatch* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_listener_v3_FilterChainMatch_destination_port(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_listener_v3_FilterChainMatch_set_destination_port(msg, sub); } return sub; @@ -675,7 +673,7 @@ UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_listener_v3_Filte if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena); + struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy__config__core__v3__CidrRange_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -684,12 +682,12 @@ UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_listener_v3_Filte /* envoy.config.listener.v3.FilterChain */ UPB_INLINE envoy_config_listener_v3_FilterChain* envoy_config_listener_v3_FilterChain_new(upb_Arena* arena) { - return (envoy_config_listener_v3_FilterChain*)_upb_Message_New(&envoy_config_listener_v3_FilterChain_msg_init, arena); + return (envoy_config_listener_v3_FilterChain*)_upb_Message_New(&envoy__config__listener__v3__FilterChain_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_FilterChain* envoy_config_listener_v3_FilterChain_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_FilterChain* ret = envoy_config_listener_v3_FilterChain_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_FilterChain_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__FilterChain_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -699,7 +697,7 @@ UPB_INLINE envoy_config_listener_v3_FilterChain* envoy_config_listener_v3_Filter int options, upb_Arena* arena) { envoy_config_listener_v3_FilterChain* ret = envoy_config_listener_v3_FilterChain_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_FilterChain_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__FilterChain_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -707,13 +705,13 @@ UPB_INLINE envoy_config_listener_v3_FilterChain* envoy_config_listener_v3_Filter } UPB_INLINE char* envoy_config_listener_v3_FilterChain_serialize(const envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_FilterChain_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__FilterChain_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_FilterChain_serialize_ex(const envoy_config_listener_v3_FilterChain* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_FilterChain_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__FilterChain_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_listener_v3_FilterChain_clear_filter_chain_match(envoy_config_listener_v3_FilterChain* msg) { @@ -862,7 +860,7 @@ UPB_INLINE void envoy_config_listener_v3_FilterChain_set_filter_chain_match(envo UPB_INLINE struct envoy_config_listener_v3_FilterChainMatch* envoy_config_listener_v3_FilterChain_mutable_filter_chain_match(envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena) { struct envoy_config_listener_v3_FilterChainMatch* sub = (struct envoy_config_listener_v3_FilterChainMatch*)envoy_config_listener_v3_FilterChain_filter_chain_match(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_FilterChainMatch*)_upb_Message_New(&envoy_config_listener_v3_FilterChainMatch_msg_init, arena); + sub = (struct envoy_config_listener_v3_FilterChainMatch*)_upb_Message_New(&envoy__config__listener__v3__FilterChainMatch_msg_init, arena); if (sub) envoy_config_listener_v3_FilterChain_set_filter_chain_match(msg, sub); } return sub; @@ -888,7 +886,7 @@ UPB_INLINE struct envoy_config_listener_v3_Filter* envoy_config_listener_v3_Filt if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_listener_v3_Filter* sub = (struct envoy_config_listener_v3_Filter*)_upb_Message_New(&envoy_config_listener_v3_Filter_msg_init, arena); + struct envoy_config_listener_v3_Filter* sub = (struct envoy_config_listener_v3_Filter*)_upb_Message_New(&envoy__config__listener__v3__Filter_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -900,7 +898,7 @@ UPB_INLINE void envoy_config_listener_v3_FilterChain_set_use_proxy_proto(envoy_c UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_FilterChain_mutable_use_proxy_proto(envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_listener_v3_FilterChain_use_proxy_proto(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_listener_v3_FilterChain_set_use_proxy_proto(msg, sub); } return sub; @@ -912,7 +910,7 @@ UPB_INLINE void envoy_config_listener_v3_FilterChain_set_metadata(envoy_config_l UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_listener_v3_FilterChain_mutable_metadata(envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena) { struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_listener_v3_FilterChain_metadata(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy_config_core_v3_Metadata_msg_init, arena); + sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena); if (sub) envoy_config_listener_v3_FilterChain_set_metadata(msg, sub); } return sub; @@ -924,7 +922,7 @@ UPB_INLINE void envoy_config_listener_v3_FilterChain_set_transport_socket(envoy_ UPB_INLINE struct envoy_config_core_v3_TransportSocket* envoy_config_listener_v3_FilterChain_mutable_transport_socket(envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena) { struct envoy_config_core_v3_TransportSocket* sub = (struct envoy_config_core_v3_TransportSocket*)envoy_config_listener_v3_FilterChain_transport_socket(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TransportSocket*)_upb_Message_New(&envoy_config_core_v3_TransportSocket_msg_init, arena); + sub = (struct envoy_config_core_v3_TransportSocket*)_upb_Message_New(&envoy__config__core__v3__TransportSocket_msg_init, arena); if (sub) envoy_config_listener_v3_FilterChain_set_transport_socket(msg, sub); } return sub; @@ -940,7 +938,7 @@ UPB_INLINE void envoy_config_listener_v3_FilterChain_set_on_demand_configuration UPB_INLINE struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration* envoy_config_listener_v3_FilterChain_mutable_on_demand_configuration(envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena) { struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration* sub = (struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration*)envoy_config_listener_v3_FilterChain_on_demand_configuration(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration*)_upb_Message_New(&envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init, arena); + sub = (struct envoy_config_listener_v3_FilterChain_OnDemandConfiguration*)_upb_Message_New(&envoy__config__listener__v3__FilterChain__OnDemandConfiguration_msg_init, arena); if (sub) envoy_config_listener_v3_FilterChain_set_on_demand_configuration(msg, sub); } return sub; @@ -952,7 +950,7 @@ UPB_INLINE void envoy_config_listener_v3_FilterChain_set_transport_socket_connec UPB_INLINE struct google_protobuf_Duration* envoy_config_listener_v3_FilterChain_mutable_transport_socket_connect_timeout(envoy_config_listener_v3_FilterChain* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_listener_v3_FilterChain_transport_socket_connect_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_listener_v3_FilterChain_set_transport_socket_connect_timeout(msg, sub); } return sub; @@ -961,12 +959,12 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_listener_v3_FilterChain /* envoy.config.listener.v3.FilterChain.OnDemandConfiguration */ UPB_INLINE envoy_config_listener_v3_FilterChain_OnDemandConfiguration* envoy_config_listener_v3_FilterChain_OnDemandConfiguration_new(upb_Arena* arena) { - return (envoy_config_listener_v3_FilterChain_OnDemandConfiguration*)_upb_Message_New(&envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init, arena); + return (envoy_config_listener_v3_FilterChain_OnDemandConfiguration*)_upb_Message_New(&envoy__config__listener__v3__FilterChain__OnDemandConfiguration_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_FilterChain_OnDemandConfiguration* envoy_config_listener_v3_FilterChain_OnDemandConfiguration_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_FilterChain_OnDemandConfiguration* ret = envoy_config_listener_v3_FilterChain_OnDemandConfiguration_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__FilterChain__OnDemandConfiguration_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -976,7 +974,7 @@ UPB_INLINE envoy_config_listener_v3_FilterChain_OnDemandConfiguration* envoy_con int options, upb_Arena* arena) { envoy_config_listener_v3_FilterChain_OnDemandConfiguration* ret = envoy_config_listener_v3_FilterChain_OnDemandConfiguration_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__FilterChain__OnDemandConfiguration_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -984,13 +982,13 @@ UPB_INLINE envoy_config_listener_v3_FilterChain_OnDemandConfiguration* envoy_con } UPB_INLINE char* envoy_config_listener_v3_FilterChain_OnDemandConfiguration_serialize(const envoy_config_listener_v3_FilterChain_OnDemandConfiguration* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__FilterChain__OnDemandConfiguration_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_FilterChain_OnDemandConfiguration_serialize_ex(const envoy_config_listener_v3_FilterChain_OnDemandConfiguration* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__FilterChain__OnDemandConfiguration_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_listener_v3_FilterChain_OnDemandConfiguration_clear_rebuild_timeout(envoy_config_listener_v3_FilterChain_OnDemandConfiguration* msg) { @@ -1016,7 +1014,7 @@ UPB_INLINE void envoy_config_listener_v3_FilterChain_OnDemandConfiguration_set_r UPB_INLINE struct google_protobuf_Duration* envoy_config_listener_v3_FilterChain_OnDemandConfiguration_mutable_rebuild_timeout(envoy_config_listener_v3_FilterChain_OnDemandConfiguration* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_listener_v3_FilterChain_OnDemandConfiguration_rebuild_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_listener_v3_FilterChain_OnDemandConfiguration_set_rebuild_timeout(msg, sub); } return sub; @@ -1025,12 +1023,12 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_listener_v3_FilterChain /* envoy.config.listener.v3.ListenerFilterChainMatchPredicate */ UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_new(upb_Arena* arena) { - return (envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, arena); + return (envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_ListenerFilterChainMatchPredicate* ret = envoy_config_listener_v3_ListenerFilterChainMatchPredicate_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1040,7 +1038,7 @@ UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_con int options, upb_Arena* arena) { envoy_config_listener_v3_ListenerFilterChainMatchPredicate* ret = envoy_config_listener_v3_ListenerFilterChainMatchPredicate_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1048,13 +1046,13 @@ UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_con } UPB_INLINE char* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_serialize(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_serialize_ex(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1152,7 +1150,7 @@ UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_o UPB_INLINE struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_mutable_or_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg, upb_Arena* arena) { struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)envoy_config_listener_v3_ListenerFilterChainMatchPredicate_or_match(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, arena); + sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)_upb_Message_New(&envoy__config__listener__v3__ListenerFilterChainMatchPredicate__MatchSet_msg_init, arena); if (sub) envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_or_match(msg, sub); } return sub; @@ -1164,7 +1162,7 @@ UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_a UPB_INLINE struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_mutable_and_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg, upb_Arena* arena) { struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)envoy_config_listener_v3_ListenerFilterChainMatchPredicate_and_match(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, arena); + sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)_upb_Message_New(&envoy__config__listener__v3__ListenerFilterChainMatchPredicate__MatchSet_msg_init, arena); if (sub) envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_and_match(msg, sub); } return sub; @@ -1176,7 +1174,7 @@ UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_n UPB_INLINE struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_mutable_not_match(envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg, upb_Arena* arena) { struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)envoy_config_listener_v3_ListenerFilterChainMatchPredicate_not_match(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, arena); + sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init, arena); if (sub) envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_not_match(msg, sub); } return sub; @@ -1192,7 +1190,7 @@ UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_d UPB_INLINE struct envoy_type_v3_Int32Range* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_mutable_destination_port_range(envoy_config_listener_v3_ListenerFilterChainMatchPredicate* msg, upb_Arena* arena) { struct envoy_type_v3_Int32Range* sub = (struct envoy_type_v3_Int32Range*)envoy_config_listener_v3_ListenerFilterChainMatchPredicate_destination_port_range(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Int32Range*)_upb_Message_New(&envoy_type_v3_Int32Range_msg_init, arena); + sub = (struct envoy_type_v3_Int32Range*)_upb_Message_New(&envoy__type__v3__Int32Range_msg_init, arena); if (sub) envoy_config_listener_v3_ListenerFilterChainMatchPredicate_set_destination_port_range(msg, sub); } return sub; @@ -1201,12 +1199,12 @@ UPB_INLINE struct envoy_type_v3_Int32Range* envoy_config_listener_v3_ListenerFil /* envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet */ UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_new(upb_Arena* arena) { - return (envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, arena); + return (envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet*)_upb_Message_New(&envoy__config__listener__v3__ListenerFilterChainMatchPredicate__MatchSet_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* ret = envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ListenerFilterChainMatchPredicate__MatchSet_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1216,7 +1214,7 @@ UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* int options, upb_Arena* arena) { envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* ret = envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ListenerFilterChainMatchPredicate__MatchSet_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1224,13 +1222,13 @@ UPB_INLINE envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* } UPB_INLINE char* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_serialize(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ListenerFilterChainMatchPredicate__MatchSet_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_serialize_ex(const envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ListenerFilterChainMatchPredicate__MatchSet_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_clear_rules(envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet* msg) { @@ -1292,7 +1290,7 @@ UPB_INLINE struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* en if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, arena); + struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1301,12 +1299,12 @@ UPB_INLINE struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* en /* envoy.config.listener.v3.ListenerFilter */ UPB_INLINE envoy_config_listener_v3_ListenerFilter* envoy_config_listener_v3_ListenerFilter_new(upb_Arena* arena) { - return (envoy_config_listener_v3_ListenerFilter*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilter_msg_init, arena); + return (envoy_config_listener_v3_ListenerFilter*)_upb_Message_New(&envoy__config__listener__v3__ListenerFilter_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_ListenerFilter* envoy_config_listener_v3_ListenerFilter_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_ListenerFilter* ret = envoy_config_listener_v3_ListenerFilter_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ListenerFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1316,7 +1314,7 @@ UPB_INLINE envoy_config_listener_v3_ListenerFilter* envoy_config_listener_v3_Lis int options, upb_Arena* arena) { envoy_config_listener_v3_ListenerFilter* ret = envoy_config_listener_v3_ListenerFilter_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ListenerFilter_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ListenerFilter_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1324,13 +1322,13 @@ UPB_INLINE envoy_config_listener_v3_ListenerFilter* envoy_config_listener_v3_Lis } UPB_INLINE char* envoy_config_listener_v3_ListenerFilter_serialize(const envoy_config_listener_v3_ListenerFilter* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ListenerFilter_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ListenerFilter_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_ListenerFilter_serialize_ex(const envoy_config_listener_v3_ListenerFilter* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ListenerFilter_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ListenerFilter_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1410,7 +1408,7 @@ UPB_INLINE void envoy_config_listener_v3_ListenerFilter_set_typed_config(envoy_c UPB_INLINE struct google_protobuf_Any* envoy_config_listener_v3_ListenerFilter_mutable_typed_config(envoy_config_listener_v3_ListenerFilter* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_listener_v3_ListenerFilter_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_listener_v3_ListenerFilter_set_typed_config(msg, sub); } return sub; @@ -1422,7 +1420,7 @@ UPB_INLINE void envoy_config_listener_v3_ListenerFilter_set_filter_disabled(envo UPB_INLINE struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* envoy_config_listener_v3_ListenerFilter_mutable_filter_disabled(envoy_config_listener_v3_ListenerFilter* msg, upb_Arena* arena) { struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate* sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)envoy_config_listener_v3_ListenerFilter_filter_disabled(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, arena); + sub = (struct envoy_config_listener_v3_ListenerFilterChainMatchPredicate*)_upb_Message_New(&envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init, arena); if (sub) envoy_config_listener_v3_ListenerFilter_set_filter_disabled(msg, sub); } return sub; @@ -1434,14 +1432,12 @@ UPB_INLINE void envoy_config_listener_v3_ListenerFilter_set_config_discovery(env UPB_INLINE struct envoy_config_core_v3_ExtensionConfigSource* envoy_config_listener_v3_ListenerFilter_mutable_config_discovery(envoy_config_listener_v3_ListenerFilter* msg, upb_Arena* arena) { struct envoy_config_core_v3_ExtensionConfigSource* sub = (struct envoy_config_core_v3_ExtensionConfigSource*)envoy_config_listener_v3_ListenerFilter_config_discovery(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ExtensionConfigSource*)_upb_Message_New(&envoy_config_core_v3_ExtensionConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ExtensionConfigSource*)_upb_Message_New(&envoy__config__core__v3__ExtensionConfigSource_msg_init, arena); if (sub) envoy_config_listener_v3_ListenerFilter_set_config_discovery(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_listener_v3_listener_components_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c new file mode 100644 index 00000000000..7aa8d65a7b7 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c @@ -0,0 +1,260 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/listener/v3/listener_components.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/listener/v3/listener_components.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/type/v3/range.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_listener_v3_Filter_submsgs[2] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &envoy__config__core__v3__ExtensionConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_Filter__fields[3] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__Filter_msg_init = { + &envoy_config_listener_v3_Filter_submsgs[0], + &envoy_config_listener_v3_Filter__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0018000004000022, &upb_pom_1bt_maxmaxb}, + {0x001800000501002a, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_listener_v3_FilterChainMatch_submsgs[5] = { + {.submsg = &envoy__config__core__v3__CidrRange_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__CidrRange_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__CidrRange_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_FilterChainMatch__fields[11] = { + {3, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(40, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(16, 48), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(20, 56), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(24, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(28, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(32, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__FilterChainMatch_msg_init = { + &envoy_config_listener_v3_FilterChainMatch_submsgs[0], + &envoy_config_listener_v3_FilterChainMatch__fields[0], + UPB_SIZE(56, 104), 11, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00001a, &upb_prm_1bt_maxmaxb}, + {0x001000003f000022, &upb_pss_1bt}, + {0x002000000101002a, &upb_psm_1bt_maxmaxb}, + {0x002800003f020032, &upb_prm_1bt_maxmaxb}, + {0x003000003f00003a, &upb_ppv4_1bt}, + {0x0038000002030042, &upb_psm_1bt_maxmaxb}, + {0x004000003f00004a, &upb_pss_1bt}, + {0x005000003f000052, &upb_prs_1bt}, + {0x005800003f00005a, &upb_prs_1bt}, + {0x000400003f000060, &upb_psv4_1bt}, + {0x006000003f04006a, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_listener_v3_FilterChain_submsgs[7] = { + {.submsg = &envoy__config__listener__v3__FilterChainMatch_msg_init}, + {.submsg = &envoy__config__listener__v3__Filter_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__core__v3__Metadata_msg_init}, + {.submsg = &envoy__config__core__v3__TransportSocket_msg_init}, + {.submsg = &envoy__config__listener__v3__FilterChain__OnDemandConfiguration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_FilterChain__fields[8] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 32), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 40), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(24, 64), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(28, 72), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__FilterChain_msg_init = { + &envoy_config_listener_v3_FilterChain_submsgs[0], + &envoy_config_listener_v3_FilterChain__fields[0], + UPB_SIZE(40, 80), 8, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f01001a, &upb_prm_1bt_max64b}, + {0x0018000002020022, &upb_psm_1bt_maxmaxb}, + {0x002000000303002a, &upb_psm_1bt_maxmaxb}, + {0x0028000004040032, &upb_psm_1bt_maxmaxb}, + {0x003000003f00003a, &upb_pss_1bt}, + {0x0040000005050042, &upb_psm_1bt_max64b}, + {0x004800000606004a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_listener_v3_FilterChain_OnDemandConfiguration_submsgs[1] = { + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_FilterChain_OnDemandConfiguration__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__FilterChain__OnDemandConfiguration_msg_init = { + &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_submsgs[0], + &envoy_config_listener_v3_FilterChain_OnDemandConfiguration__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_listener_v3_ListenerFilterChainMatchPredicate_submsgs[4] = { + {.submsg = &envoy__config__listener__v3__ListenerFilterChainMatchPredicate__MatchSet_msg_init}, + {.submsg = &envoy__config__listener__v3__ListenerFilterChainMatchPredicate__MatchSet_msg_init}, + {.submsg = &envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init}, + {.submsg = &envoy__type__v3__Int32Range_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_ListenerFilterChainMatchPredicate__fields[5] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init = { + &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_submsgs[0], + &envoy_config_listener_v3_ListenerFilterChainMatchPredicate__fields[0], + UPB_SIZE(8, 16), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + {0x0008000004000020, &upb_pob1_1bt}, + {0x000800000503002a, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_submsgs[1] = { + {.submsg = &envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__ListenerFilterChainMatchPredicate__MatchSet_msg_init = { + &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_submsgs[0], + &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_listener_v3_ListenerFilter_submsgs[3] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init}, + {.submsg = &envoy__config__core__v3__ExtensionConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_ListenerFilter__fields[4] = { + {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 24), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__ListenerFilter_msg_init = { + &envoy_config_listener_v3_ListenerFilter_submsgs[0], + &envoy_config_listener_v3_ListenerFilter__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002000040300001a, &upb_pom_1bt_maxmaxb}, + {0x0018000001010022, &upb_psm_1bt_max64b}, + {0x002000040502002a, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[7] = { + &envoy__config__listener__v3__Filter_msg_init, + &envoy__config__listener__v3__FilterChainMatch_msg_init, + &envoy__config__listener__v3__FilterChain_msg_init, + &envoy__config__listener__v3__FilterChain__OnDemandConfiguration_msg_init, + &envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init, + &envoy__config__listener__v3__ListenerFilterChainMatchPredicate__MatchSet_msg_init, + &envoy__config__listener__v3__ListenerFilter_msg_init, +}; + +const upb_MiniTableFile envoy_config_listener_v3_listener_components_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 7, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h new file mode 100644 index 00000000000..faa918cc65a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h @@ -0,0 +1,36 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/listener/v3/listener_components.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_LISTENER_V3_LISTENER_COMPONENTS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_LISTENER_V3_LISTENER_COMPONENTS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__listener__v3__Filter_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__FilterChainMatch_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__FilterChain_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__FilterChain__OnDemandConfiguration_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__ListenerFilterChainMatchPredicate_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__ListenerFilterChainMatchPredicate__MatchSet_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__ListenerFilter_msg_init; + +extern const upb_MiniTableFile envoy_config_listener_v3_listener_components_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_LISTENER_V3_LISTENER_COMPONENTS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h b/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h similarity index 93% rename from src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h rename to src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h index 03cbc7cfdc4..fa241490df1 100644 --- a/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/quic_config.proto * @@ -10,7 +9,20 @@ #define ENVOY_CONFIG_LISTENER_V3_QUIC_CONFIG_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/listener/v3/quic_config.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/protocol.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,29 +30,23 @@ extern "C" { #endif typedef struct envoy_config_listener_v3_QuicProtocolOptions envoy_config_listener_v3_QuicProtocolOptions; -extern const upb_MiniTable envoy_config_listener_v3_QuicProtocolOptions_msg_init; struct envoy_config_core_v3_QuicProtocolOptions; struct envoy_config_core_v3_RuntimeFeatureFlag; struct envoy_config_core_v3_TypedExtensionConfig; struct google_protobuf_Duration; struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_core_v3_QuicProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_RuntimeFeatureFlag_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; /* envoy.config.listener.v3.QuicProtocolOptions */ UPB_INLINE envoy_config_listener_v3_QuicProtocolOptions* envoy_config_listener_v3_QuicProtocolOptions_new(upb_Arena* arena) { - return (envoy_config_listener_v3_QuicProtocolOptions*)_upb_Message_New(&envoy_config_listener_v3_QuicProtocolOptions_msg_init, arena); + return (envoy_config_listener_v3_QuicProtocolOptions*)_upb_Message_New(&envoy__config__listener__v3__QuicProtocolOptions_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_QuicProtocolOptions* envoy_config_listener_v3_QuicProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_QuicProtocolOptions* ret = envoy_config_listener_v3_QuicProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_QuicProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__QuicProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -50,7 +56,7 @@ UPB_INLINE envoy_config_listener_v3_QuicProtocolOptions* envoy_config_listener_v int options, upb_Arena* arena) { envoy_config_listener_v3_QuicProtocolOptions* ret = envoy_config_listener_v3_QuicProtocolOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_QuicProtocolOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__QuicProtocolOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -58,13 +64,13 @@ UPB_INLINE envoy_config_listener_v3_QuicProtocolOptions* envoy_config_listener_v } UPB_INLINE char* envoy_config_listener_v3_QuicProtocolOptions_serialize(const envoy_config_listener_v3_QuicProtocolOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_QuicProtocolOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__QuicProtocolOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_QuicProtocolOptions_serialize_ex(const envoy_config_listener_v3_QuicProtocolOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_QuicProtocolOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__QuicProtocolOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_listener_v3_QuicProtocolOptions_clear_quic_protocol_options(envoy_config_listener_v3_QuicProtocolOptions* msg) { @@ -210,7 +216,7 @@ UPB_INLINE void envoy_config_listener_v3_QuicProtocolOptions_set_quic_protocol_o UPB_INLINE struct envoy_config_core_v3_QuicProtocolOptions* envoy_config_listener_v3_QuicProtocolOptions_mutable_quic_protocol_options(envoy_config_listener_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct envoy_config_core_v3_QuicProtocolOptions* sub = (struct envoy_config_core_v3_QuicProtocolOptions*)envoy_config_listener_v3_QuicProtocolOptions_quic_protocol_options(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_QuicProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_QuicProtocolOptions_msg_init, arena); + sub = (struct envoy_config_core_v3_QuicProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__QuicProtocolOptions_msg_init, arena); if (sub) envoy_config_listener_v3_QuicProtocolOptions_set_quic_protocol_options(msg, sub); } return sub; @@ -222,7 +228,7 @@ UPB_INLINE void envoy_config_listener_v3_QuicProtocolOptions_set_idle_timeout(en UPB_INLINE struct google_protobuf_Duration* envoy_config_listener_v3_QuicProtocolOptions_mutable_idle_timeout(envoy_config_listener_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_listener_v3_QuicProtocolOptions_idle_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_listener_v3_QuicProtocolOptions_set_idle_timeout(msg, sub); } return sub; @@ -234,7 +240,7 @@ UPB_INLINE void envoy_config_listener_v3_QuicProtocolOptions_set_crypto_handshak UPB_INLINE struct google_protobuf_Duration* envoy_config_listener_v3_QuicProtocolOptions_mutable_crypto_handshake_timeout(envoy_config_listener_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_listener_v3_QuicProtocolOptions_crypto_handshake_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_listener_v3_QuicProtocolOptions_set_crypto_handshake_timeout(msg, sub); } return sub; @@ -246,7 +252,7 @@ UPB_INLINE void envoy_config_listener_v3_QuicProtocolOptions_set_enabled(envoy_c UPB_INLINE struct envoy_config_core_v3_RuntimeFeatureFlag* envoy_config_listener_v3_QuicProtocolOptions_mutable_enabled(envoy_config_listener_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct envoy_config_core_v3_RuntimeFeatureFlag* sub = (struct envoy_config_core_v3_RuntimeFeatureFlag*)envoy_config_listener_v3_QuicProtocolOptions_enabled(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_RuntimeFeatureFlag*)_upb_Message_New(&envoy_config_core_v3_RuntimeFeatureFlag_msg_init, arena); + sub = (struct envoy_config_core_v3_RuntimeFeatureFlag*)_upb_Message_New(&envoy__config__core__v3__RuntimeFeatureFlag_msg_init, arena); if (sub) envoy_config_listener_v3_QuicProtocolOptions_set_enabled(msg, sub); } return sub; @@ -258,7 +264,7 @@ UPB_INLINE void envoy_config_listener_v3_QuicProtocolOptions_set_packets_to_read UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_QuicProtocolOptions_mutable_packets_to_read_to_connection_count_ratio(envoy_config_listener_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_listener_v3_QuicProtocolOptions_packets_to_read_to_connection_count_ratio(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_listener_v3_QuicProtocolOptions_set_packets_to_read_to_connection_count_ratio(msg, sub); } return sub; @@ -270,7 +276,7 @@ UPB_INLINE void envoy_config_listener_v3_QuicProtocolOptions_set_crypto_stream_c UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_listener_v3_QuicProtocolOptions_mutable_crypto_stream_config(envoy_config_listener_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_listener_v3_QuicProtocolOptions_crypto_stream_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_listener_v3_QuicProtocolOptions_set_crypto_stream_config(msg, sub); } return sub; @@ -282,7 +288,7 @@ UPB_INLINE void envoy_config_listener_v3_QuicProtocolOptions_set_proof_source_co UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_listener_v3_QuicProtocolOptions_mutable_proof_source_config(envoy_config_listener_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_listener_v3_QuicProtocolOptions_proof_source_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_listener_v3_QuicProtocolOptions_set_proof_source_config(msg, sub); } return sub; @@ -294,7 +300,7 @@ UPB_INLINE void envoy_config_listener_v3_QuicProtocolOptions_set_connection_id_g UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_listener_v3_QuicProtocolOptions_mutable_connection_id_generator_config(envoy_config_listener_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_listener_v3_QuicProtocolOptions_connection_id_generator_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_listener_v3_QuicProtocolOptions_set_connection_id_generator_config(msg, sub); } return sub; @@ -306,14 +312,12 @@ UPB_INLINE void envoy_config_listener_v3_QuicProtocolOptions_set_server_preferre UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_listener_v3_QuicProtocolOptions_mutable_server_preferred_address_config(envoy_config_listener_v3_QuicProtocolOptions* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_listener_v3_QuicProtocolOptions_server_preferred_address_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_listener_v3_QuicProtocolOptions_set_server_preferred_address_config(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_listener_v3_quic_config_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c new file mode 100644 index 00000000000..dd570c468a4 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c @@ -0,0 +1,86 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/listener/v3/quic_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/listener/v3/quic_config.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/protocol.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_listener_v3_QuicProtocolOptions_submsgs[9] = { + {.submsg = &envoy__config__core__v3__QuicProtocolOptions_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__core__v3__RuntimeFeatureFlag_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_QuicProtocolOptions__fields[9] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 56), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 64), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(36, 72), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__QuicProtocolOptions_msg_init = { + &envoy_config_listener_v3_QuicProtocolOptions_submsgs[0], + &envoy_config_listener_v3_QuicProtocolOptions__fields[0], + UPB_SIZE(40, 80), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x0020000004030022, &upb_psm_1bt_maxmaxb}, + {0x002800000504002a, &upb_psm_1bt_maxmaxb}, + {0x0030000006050032, &upb_psm_1bt_maxmaxb}, + {0x003800000706003a, &upb_psm_1bt_maxmaxb}, + {0x0040000008070042, &upb_psm_1bt_maxmaxb}, + {0x004800000908004a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__listener__v3__QuicProtocolOptions_msg_init, +}; + +const upb_MiniTableFile envoy_config_listener_v3_quic_config_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h new file mode 100644 index 00000000000..fa62cf23c57 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/listener/v3/quic_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_LISTENER_V3_QUIC_CONFIG_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_LISTENER_V3_QUIC_CONFIG_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__listener__v3__QuicProtocolOptions_msg_init; + +extern const upb_MiniTableFile envoy_config_listener_v3_quic_config_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_LISTENER_V3_QUIC_CONFIG_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h b/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h similarity index 85% rename from src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h rename to src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h index 203c8807413..9942f74835c 100644 --- a/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/udp_listener_config.proto * @@ -10,7 +9,16 @@ #define ENVOY_CONFIG_LISTENER_V3_UDP_LISTENER_CONFIG_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/listener/v3/udp_listener_config.upb_minitable.h" + +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/udp_socket_config.upb_minitable.h" +#include "envoy/config/listener/v3/quic_config.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,26 +27,21 @@ extern "C" { typedef struct envoy_config_listener_v3_UdpListenerConfig envoy_config_listener_v3_UdpListenerConfig; typedef struct envoy_config_listener_v3_ActiveRawUdpListenerConfig envoy_config_listener_v3_ActiveRawUdpListenerConfig; -extern const upb_MiniTable envoy_config_listener_v3_UdpListenerConfig_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_ActiveRawUdpListenerConfig_msg_init; struct envoy_config_core_v3_TypedExtensionConfig; struct envoy_config_core_v3_UdpSocketConfig; struct envoy_config_listener_v3_QuicProtocolOptions; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable envoy_config_core_v3_UdpSocketConfig_msg_init; -extern const upb_MiniTable envoy_config_listener_v3_QuicProtocolOptions_msg_init; /* envoy.config.listener.v3.UdpListenerConfig */ UPB_INLINE envoy_config_listener_v3_UdpListenerConfig* envoy_config_listener_v3_UdpListenerConfig_new(upb_Arena* arena) { - return (envoy_config_listener_v3_UdpListenerConfig*)_upb_Message_New(&envoy_config_listener_v3_UdpListenerConfig_msg_init, arena); + return (envoy_config_listener_v3_UdpListenerConfig*)_upb_Message_New(&envoy__config__listener__v3__UdpListenerConfig_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_UdpListenerConfig* envoy_config_listener_v3_UdpListenerConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_UdpListenerConfig* ret = envoy_config_listener_v3_UdpListenerConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_UdpListenerConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__UdpListenerConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -48,7 +51,7 @@ UPB_INLINE envoy_config_listener_v3_UdpListenerConfig* envoy_config_listener_v3_ int options, upb_Arena* arena) { envoy_config_listener_v3_UdpListenerConfig* ret = envoy_config_listener_v3_UdpListenerConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_UdpListenerConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__UdpListenerConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -56,13 +59,13 @@ UPB_INLINE envoy_config_listener_v3_UdpListenerConfig* envoy_config_listener_v3_ } UPB_INLINE char* envoy_config_listener_v3_UdpListenerConfig_serialize(const envoy_config_listener_v3_UdpListenerConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_UdpListenerConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__UdpListenerConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_UdpListenerConfig_serialize_ex(const envoy_config_listener_v3_UdpListenerConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_UdpListenerConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__UdpListenerConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_listener_v3_UdpListenerConfig_clear_downstream_socket_config(envoy_config_listener_v3_UdpListenerConfig* msg) { @@ -118,7 +121,7 @@ UPB_INLINE void envoy_config_listener_v3_UdpListenerConfig_set_downstream_socket UPB_INLINE struct envoy_config_core_v3_UdpSocketConfig* envoy_config_listener_v3_UdpListenerConfig_mutable_downstream_socket_config(envoy_config_listener_v3_UdpListenerConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_UdpSocketConfig* sub = (struct envoy_config_core_v3_UdpSocketConfig*)envoy_config_listener_v3_UdpListenerConfig_downstream_socket_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_UdpSocketConfig*)_upb_Message_New(&envoy_config_core_v3_UdpSocketConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_UdpSocketConfig*)_upb_Message_New(&envoy__config__core__v3__UdpSocketConfig_msg_init, arena); if (sub) envoy_config_listener_v3_UdpListenerConfig_set_downstream_socket_config(msg, sub); } return sub; @@ -130,7 +133,7 @@ UPB_INLINE void envoy_config_listener_v3_UdpListenerConfig_set_quic_options(envo UPB_INLINE struct envoy_config_listener_v3_QuicProtocolOptions* envoy_config_listener_v3_UdpListenerConfig_mutable_quic_options(envoy_config_listener_v3_UdpListenerConfig* msg, upb_Arena* arena) { struct envoy_config_listener_v3_QuicProtocolOptions* sub = (struct envoy_config_listener_v3_QuicProtocolOptions*)envoy_config_listener_v3_UdpListenerConfig_quic_options(msg); if (sub == NULL) { - sub = (struct envoy_config_listener_v3_QuicProtocolOptions*)_upb_Message_New(&envoy_config_listener_v3_QuicProtocolOptions_msg_init, arena); + sub = (struct envoy_config_listener_v3_QuicProtocolOptions*)_upb_Message_New(&envoy__config__listener__v3__QuicProtocolOptions_msg_init, arena); if (sub) envoy_config_listener_v3_UdpListenerConfig_set_quic_options(msg, sub); } return sub; @@ -142,7 +145,7 @@ UPB_INLINE void envoy_config_listener_v3_UdpListenerConfig_set_udp_packet_packet UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_listener_v3_UdpListenerConfig_mutable_udp_packet_packet_writer_config(envoy_config_listener_v3_UdpListenerConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_listener_v3_UdpListenerConfig_udp_packet_packet_writer_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_listener_v3_UdpListenerConfig_set_udp_packet_packet_writer_config(msg, sub); } return sub; @@ -151,12 +154,12 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_listen /* envoy.config.listener.v3.ActiveRawUdpListenerConfig */ UPB_INLINE envoy_config_listener_v3_ActiveRawUdpListenerConfig* envoy_config_listener_v3_ActiveRawUdpListenerConfig_new(upb_Arena* arena) { - return (envoy_config_listener_v3_ActiveRawUdpListenerConfig*)_upb_Message_New(&envoy_config_listener_v3_ActiveRawUdpListenerConfig_msg_init, arena); + return (envoy_config_listener_v3_ActiveRawUdpListenerConfig*)_upb_Message_New(&envoy__config__listener__v3__ActiveRawUdpListenerConfig_msg_init, arena); } UPB_INLINE envoy_config_listener_v3_ActiveRawUdpListenerConfig* envoy_config_listener_v3_ActiveRawUdpListenerConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_listener_v3_ActiveRawUdpListenerConfig* ret = envoy_config_listener_v3_ActiveRawUdpListenerConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ActiveRawUdpListenerConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ActiveRawUdpListenerConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -166,7 +169,7 @@ UPB_INLINE envoy_config_listener_v3_ActiveRawUdpListenerConfig* envoy_config_lis int options, upb_Arena* arena) { envoy_config_listener_v3_ActiveRawUdpListenerConfig* ret = envoy_config_listener_v3_ActiveRawUdpListenerConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_listener_v3_ActiveRawUdpListenerConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__listener__v3__ActiveRawUdpListenerConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -174,19 +177,17 @@ UPB_INLINE envoy_config_listener_v3_ActiveRawUdpListenerConfig* envoy_config_lis } UPB_INLINE char* envoy_config_listener_v3_ActiveRawUdpListenerConfig_serialize(const envoy_config_listener_v3_ActiveRawUdpListenerConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ActiveRawUdpListenerConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ActiveRawUdpListenerConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_listener_v3_ActiveRawUdpListenerConfig_serialize_ex(const envoy_config_listener_v3_ActiveRawUdpListenerConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_listener_v3_ActiveRawUdpListenerConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__listener__v3__ActiveRawUdpListenerConfig_msg_init, options, arena, &ptr, len); return ptr; } -extern const upb_MiniTableFile envoy_config_listener_v3_udp_listener_config_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c new file mode 100644 index 00000000000..f31f1c8df04 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c @@ -0,0 +1,77 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/listener/v3/udp_listener_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/listener/v3/udp_listener_config.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/udp_socket_config.upb_minitable.h" +#include "envoy/config/listener/v3/quic_config.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_listener_v3_UdpListenerConfig_submsgs[3] = { + {.submsg = &envoy__config__core__v3__UdpSocketConfig_msg_init}, + {.submsg = &envoy__config__listener__v3__QuicProtocolOptions_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_listener_v3_UdpListenerConfig__fields[3] = { + {5, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__listener__v3__UdpListenerConfig_msg_init = { + &envoy_config_listener_v3_UdpListenerConfig_submsgs[0], + &envoy_config_listener_v3_UdpListenerConfig__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100002a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000000201003a, &upb_psm_1bt_maxmaxb}, + {0x0018000003020042, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +const upb_MiniTable envoy__config__listener__v3__ActiveRawUdpListenerConfig_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__config__listener__v3__UdpListenerConfig_msg_init, + &envoy__config__listener__v3__ActiveRawUdpListenerConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_listener_v3_udp_listener_config_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h new file mode 100644 index 00000000000..b5df95ff851 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/listener/v3/udp_listener_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_LISTENER_V3_UDP_LISTENER_CONFIG_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_LISTENER_V3_UDP_LISTENER_CONFIG_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__listener__v3__UdpListenerConfig_msg_init; +extern const upb_MiniTable envoy__config__listener__v3__ActiveRawUdpListenerConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_listener_v3_udp_listener_config_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_LISTENER_V3_UDP_LISTENER_CONFIG_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h b/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h similarity index 90% rename from src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h rename to src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h index b94efa25396..696a859fd05 100644 --- a/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +++ b/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/metrics/v3/metrics_service.proto * @@ -10,7 +9,17 @@ #define ENVOY_CONFIG_METRICS_V3_METRICS_SERVICE_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/metrics/v3/metrics_service.upb_minitable.h" + +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,11 +27,8 @@ extern "C" { #endif typedef struct envoy_config_metrics_v3_MetricsServiceConfig envoy_config_metrics_v3_MetricsServiceConfig; -extern const upb_MiniTable envoy_config_metrics_v3_MetricsServiceConfig_msg_init; struct envoy_config_core_v3_GrpcService; struct google_protobuf_BoolValue; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; typedef enum { envoy_config_metrics_v3_SUMMARY_AND_HISTOGRAM = 0, @@ -35,12 +41,12 @@ typedef enum { /* envoy.config.metrics.v3.MetricsServiceConfig */ UPB_INLINE envoy_config_metrics_v3_MetricsServiceConfig* envoy_config_metrics_v3_MetricsServiceConfig_new(upb_Arena* arena) { - return (envoy_config_metrics_v3_MetricsServiceConfig*)_upb_Message_New(&envoy_config_metrics_v3_MetricsServiceConfig_msg_init, arena); + return (envoy_config_metrics_v3_MetricsServiceConfig*)_upb_Message_New(&envoy__config__metrics__v3__MetricsServiceConfig_msg_init, arena); } UPB_INLINE envoy_config_metrics_v3_MetricsServiceConfig* envoy_config_metrics_v3_MetricsServiceConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_metrics_v3_MetricsServiceConfig* ret = envoy_config_metrics_v3_MetricsServiceConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_MetricsServiceConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__MetricsServiceConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -50,7 +56,7 @@ UPB_INLINE envoy_config_metrics_v3_MetricsServiceConfig* envoy_config_metrics_v3 int options, upb_Arena* arena) { envoy_config_metrics_v3_MetricsServiceConfig* ret = envoy_config_metrics_v3_MetricsServiceConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_MetricsServiceConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__MetricsServiceConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -58,13 +64,13 @@ UPB_INLINE envoy_config_metrics_v3_MetricsServiceConfig* envoy_config_metrics_v3 } UPB_INLINE char* envoy_config_metrics_v3_MetricsServiceConfig_serialize(const envoy_config_metrics_v3_MetricsServiceConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_MetricsServiceConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__MetricsServiceConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_metrics_v3_MetricsServiceConfig_serialize_ex(const envoy_config_metrics_v3_MetricsServiceConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_MetricsServiceConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__MetricsServiceConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_metrics_v3_MetricsServiceConfig_clear_grpc_service(envoy_config_metrics_v3_MetricsServiceConfig* msg) { @@ -138,7 +144,7 @@ UPB_INLINE void envoy_config_metrics_v3_MetricsServiceConfig_set_grpc_service(en UPB_INLINE struct envoy_config_core_v3_GrpcService* envoy_config_metrics_v3_MetricsServiceConfig_mutable_grpc_service(envoy_config_metrics_v3_MetricsServiceConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)envoy_config_metrics_v3_MetricsServiceConfig_grpc_service(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy_config_core_v3_GrpcService_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy__config__core__v3__GrpcService_msg_init, arena); if (sub) envoy_config_metrics_v3_MetricsServiceConfig_set_grpc_service(msg, sub); } return sub; @@ -150,7 +156,7 @@ UPB_INLINE void envoy_config_metrics_v3_MetricsServiceConfig_set_report_counters UPB_INLINE struct google_protobuf_BoolValue* envoy_config_metrics_v3_MetricsServiceConfig_mutable_report_counters_as_deltas(envoy_config_metrics_v3_MetricsServiceConfig* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_metrics_v3_MetricsServiceConfig_report_counters_as_deltas(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_metrics_v3_MetricsServiceConfig_set_report_counters_as_deltas(msg, sub); } return sub; @@ -168,8 +174,6 @@ UPB_INLINE void envoy_config_metrics_v3_MetricsServiceConfig_set_histogram_emit_ _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_config_metrics_v3_metrics_service_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c new file mode 100644 index 00000000000..47915b489c5 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c @@ -0,0 +1,64 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/metrics/v3/metrics_service.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/metrics/v3/metrics_service.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_metrics_v3_MetricsServiceConfig_submsgs[2] = { + {.submsg = &envoy__config__core__v3__GrpcService_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_metrics_v3_MetricsServiceConfig__fields[5] = { + {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__metrics__v3__MetricsServiceConfig_msg_init = { + &envoy_config_metrics_v3_MetricsServiceConfig_submsgs[0], + &envoy_config_metrics_v3_MetricsServiceConfig__fields[0], + UPB_SIZE(24, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000000100000a, &upb_psm_1bt_maxmaxb}, + {0x0018000002010012, &upb_psm_1bt_maxmaxb}, + {0x000400003f000018, &upb_psv4_1bt}, + {0x000800003f000020, &upb_psb1_1bt}, + {0x000c00003f000028, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__metrics__v3__MetricsServiceConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_metrics_v3_metrics_service_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h new file mode 100644 index 00000000000..b755b7324c4 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/metrics/v3/metrics_service.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_METRICS_V3_METRICS_SERVICE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_METRICS_V3_METRICS_SERVICE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__metrics__v3__MetricsServiceConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_metrics_v3_metrics_service_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_METRICS_V3_METRICS_SERVICE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h b/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h rename to src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h index bc427ae1d1c..b2a37f59c97 100644 --- a/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +++ b/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/metrics/v3/stats.proto * @@ -10,7 +9,18 @@ #define ENVOY_CONFIG_METRICS_V3_STATS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/metrics/v3/stats.upb_minitable.h" + +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -25,38 +35,24 @@ typedef struct envoy_config_metrics_v3_HistogramBucketSettings envoy_config_metr typedef struct envoy_config_metrics_v3_StatsdSink envoy_config_metrics_v3_StatsdSink; typedef struct envoy_config_metrics_v3_DogStatsdSink envoy_config_metrics_v3_DogStatsdSink; typedef struct envoy_config_metrics_v3_HystrixSink envoy_config_metrics_v3_HystrixSink; -extern const upb_MiniTable envoy_config_metrics_v3_StatsSink_msg_init; -extern const upb_MiniTable envoy_config_metrics_v3_StatsConfig_msg_init; -extern const upb_MiniTable envoy_config_metrics_v3_StatsMatcher_msg_init; -extern const upb_MiniTable envoy_config_metrics_v3_TagSpecifier_msg_init; -extern const upb_MiniTable envoy_config_metrics_v3_HistogramBucketSettings_msg_init; -extern const upb_MiniTable envoy_config_metrics_v3_StatsdSink_msg_init; -extern const upb_MiniTable envoy_config_metrics_v3_DogStatsdSink_msg_init; -extern const upb_MiniTable envoy_config_metrics_v3_HystrixSink_msg_init; struct envoy_config_core_v3_Address; struct envoy_type_matcher_v3_ListStringMatcher; struct envoy_type_matcher_v3_StringMatcher; struct google_protobuf_Any; struct google_protobuf_BoolValue; struct google_protobuf_UInt64Value; -extern const upb_MiniTable envoy_config_core_v3_Address_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_ListStringMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_UInt64Value_msg_init; /* envoy.config.metrics.v3.StatsSink */ UPB_INLINE envoy_config_metrics_v3_StatsSink* envoy_config_metrics_v3_StatsSink_new(upb_Arena* arena) { - return (envoy_config_metrics_v3_StatsSink*)_upb_Message_New(&envoy_config_metrics_v3_StatsSink_msg_init, arena); + return (envoy_config_metrics_v3_StatsSink*)_upb_Message_New(&envoy__config__metrics__v3__StatsSink_msg_init, arena); } UPB_INLINE envoy_config_metrics_v3_StatsSink* envoy_config_metrics_v3_StatsSink_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_metrics_v3_StatsSink* ret = envoy_config_metrics_v3_StatsSink_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_StatsSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__StatsSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -66,7 +62,7 @@ UPB_INLINE envoy_config_metrics_v3_StatsSink* envoy_config_metrics_v3_StatsSink_ int options, upb_Arena* arena) { envoy_config_metrics_v3_StatsSink* ret = envoy_config_metrics_v3_StatsSink_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_StatsSink_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__StatsSink_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -74,13 +70,13 @@ UPB_INLINE envoy_config_metrics_v3_StatsSink* envoy_config_metrics_v3_StatsSink_ } UPB_INLINE char* envoy_config_metrics_v3_StatsSink_serialize(const envoy_config_metrics_v3_StatsSink* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_StatsSink_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__StatsSink_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_metrics_v3_StatsSink_serialize_ex(const envoy_config_metrics_v3_StatsSink* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_StatsSink_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__StatsSink_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -129,7 +125,7 @@ UPB_INLINE void envoy_config_metrics_v3_StatsSink_set_typed_config(envoy_config_ UPB_INLINE struct google_protobuf_Any* envoy_config_metrics_v3_StatsSink_mutable_typed_config(envoy_config_metrics_v3_StatsSink* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_metrics_v3_StatsSink_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_metrics_v3_StatsSink_set_typed_config(msg, sub); } return sub; @@ -138,12 +134,12 @@ UPB_INLINE struct google_protobuf_Any* envoy_config_metrics_v3_StatsSink_mutable /* envoy.config.metrics.v3.StatsConfig */ UPB_INLINE envoy_config_metrics_v3_StatsConfig* envoy_config_metrics_v3_StatsConfig_new(upb_Arena* arena) { - return (envoy_config_metrics_v3_StatsConfig*)_upb_Message_New(&envoy_config_metrics_v3_StatsConfig_msg_init, arena); + return (envoy_config_metrics_v3_StatsConfig*)_upb_Message_New(&envoy__config__metrics__v3__StatsConfig_msg_init, arena); } UPB_INLINE envoy_config_metrics_v3_StatsConfig* envoy_config_metrics_v3_StatsConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_metrics_v3_StatsConfig* ret = envoy_config_metrics_v3_StatsConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_StatsConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__StatsConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -153,7 +149,7 @@ UPB_INLINE envoy_config_metrics_v3_StatsConfig* envoy_config_metrics_v3_StatsCon int options, upb_Arena* arena) { envoy_config_metrics_v3_StatsConfig* ret = envoy_config_metrics_v3_StatsConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_StatsConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__StatsConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -161,13 +157,13 @@ UPB_INLINE envoy_config_metrics_v3_StatsConfig* envoy_config_metrics_v3_StatsCon } UPB_INLINE char* envoy_config_metrics_v3_StatsConfig_serialize(const envoy_config_metrics_v3_StatsConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_StatsConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__StatsConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_metrics_v3_StatsConfig_serialize_ex(const envoy_config_metrics_v3_StatsConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_StatsConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__StatsConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_metrics_v3_StatsConfig_clear_stats_tags(envoy_config_metrics_v3_StatsConfig* msg) { @@ -296,7 +292,7 @@ UPB_INLINE struct envoy_config_metrics_v3_TagSpecifier* envoy_config_metrics_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_metrics_v3_TagSpecifier* sub = (struct envoy_config_metrics_v3_TagSpecifier*)_upb_Message_New(&envoy_config_metrics_v3_TagSpecifier_msg_init, arena); + struct envoy_config_metrics_v3_TagSpecifier* sub = (struct envoy_config_metrics_v3_TagSpecifier*)_upb_Message_New(&envoy__config__metrics__v3__TagSpecifier_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -308,7 +304,7 @@ UPB_INLINE void envoy_config_metrics_v3_StatsConfig_set_use_all_default_tags(env UPB_INLINE struct google_protobuf_BoolValue* envoy_config_metrics_v3_StatsConfig_mutable_use_all_default_tags(envoy_config_metrics_v3_StatsConfig* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_metrics_v3_StatsConfig_use_all_default_tags(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_metrics_v3_StatsConfig_set_use_all_default_tags(msg, sub); } return sub; @@ -320,7 +316,7 @@ UPB_INLINE void envoy_config_metrics_v3_StatsConfig_set_stats_matcher(envoy_conf UPB_INLINE struct envoy_config_metrics_v3_StatsMatcher* envoy_config_metrics_v3_StatsConfig_mutable_stats_matcher(envoy_config_metrics_v3_StatsConfig* msg, upb_Arena* arena) { struct envoy_config_metrics_v3_StatsMatcher* sub = (struct envoy_config_metrics_v3_StatsMatcher*)envoy_config_metrics_v3_StatsConfig_stats_matcher(msg); if (sub == NULL) { - sub = (struct envoy_config_metrics_v3_StatsMatcher*)_upb_Message_New(&envoy_config_metrics_v3_StatsMatcher_msg_init, arena); + sub = (struct envoy_config_metrics_v3_StatsMatcher*)_upb_Message_New(&envoy__config__metrics__v3__StatsMatcher_msg_init, arena); if (sub) envoy_config_metrics_v3_StatsConfig_set_stats_matcher(msg, sub); } return sub; @@ -346,7 +342,7 @@ UPB_INLINE struct envoy_config_metrics_v3_HistogramBucketSettings* envoy_config_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_metrics_v3_HistogramBucketSettings* sub = (struct envoy_config_metrics_v3_HistogramBucketSettings*)_upb_Message_New(&envoy_config_metrics_v3_HistogramBucketSettings_msg_init, arena); + struct envoy_config_metrics_v3_HistogramBucketSettings* sub = (struct envoy_config_metrics_v3_HistogramBucketSettings*)_upb_Message_New(&envoy__config__metrics__v3__HistogramBucketSettings_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -355,12 +351,12 @@ UPB_INLINE struct envoy_config_metrics_v3_HistogramBucketSettings* envoy_config_ /* envoy.config.metrics.v3.StatsMatcher */ UPB_INLINE envoy_config_metrics_v3_StatsMatcher* envoy_config_metrics_v3_StatsMatcher_new(upb_Arena* arena) { - return (envoy_config_metrics_v3_StatsMatcher*)_upb_Message_New(&envoy_config_metrics_v3_StatsMatcher_msg_init, arena); + return (envoy_config_metrics_v3_StatsMatcher*)_upb_Message_New(&envoy__config__metrics__v3__StatsMatcher_msg_init, arena); } UPB_INLINE envoy_config_metrics_v3_StatsMatcher* envoy_config_metrics_v3_StatsMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_metrics_v3_StatsMatcher* ret = envoy_config_metrics_v3_StatsMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_StatsMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__StatsMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -370,7 +366,7 @@ UPB_INLINE envoy_config_metrics_v3_StatsMatcher* envoy_config_metrics_v3_StatsMa int options, upb_Arena* arena) { envoy_config_metrics_v3_StatsMatcher* ret = envoy_config_metrics_v3_StatsMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_StatsMatcher_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__StatsMatcher_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -378,13 +374,13 @@ UPB_INLINE envoy_config_metrics_v3_StatsMatcher* envoy_config_metrics_v3_StatsMa } UPB_INLINE char* envoy_config_metrics_v3_StatsMatcher_serialize(const envoy_config_metrics_v3_StatsMatcher* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_StatsMatcher_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__StatsMatcher_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_metrics_v3_StatsMatcher_serialize_ex(const envoy_config_metrics_v3_StatsMatcher* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_StatsMatcher_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__StatsMatcher_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -454,7 +450,7 @@ UPB_INLINE void envoy_config_metrics_v3_StatsMatcher_set_exclusion_list(envoy_co UPB_INLINE struct envoy_type_matcher_v3_ListStringMatcher* envoy_config_metrics_v3_StatsMatcher_mutable_exclusion_list(envoy_config_metrics_v3_StatsMatcher* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_ListStringMatcher* sub = (struct envoy_type_matcher_v3_ListStringMatcher*)envoy_config_metrics_v3_StatsMatcher_exclusion_list(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_ListStringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_ListStringMatcher_msg_init, arena); + sub = (struct envoy_type_matcher_v3_ListStringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__ListStringMatcher_msg_init, arena); if (sub) envoy_config_metrics_v3_StatsMatcher_set_exclusion_list(msg, sub); } return sub; @@ -466,7 +462,7 @@ UPB_INLINE void envoy_config_metrics_v3_StatsMatcher_set_inclusion_list(envoy_co UPB_INLINE struct envoy_type_matcher_v3_ListStringMatcher* envoy_config_metrics_v3_StatsMatcher_mutable_inclusion_list(envoy_config_metrics_v3_StatsMatcher* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_ListStringMatcher* sub = (struct envoy_type_matcher_v3_ListStringMatcher*)envoy_config_metrics_v3_StatsMatcher_inclusion_list(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_ListStringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_ListStringMatcher_msg_init, arena); + sub = (struct envoy_type_matcher_v3_ListStringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__ListStringMatcher_msg_init, arena); if (sub) envoy_config_metrics_v3_StatsMatcher_set_inclusion_list(msg, sub); } return sub; @@ -475,12 +471,12 @@ UPB_INLINE struct envoy_type_matcher_v3_ListStringMatcher* envoy_config_metrics_ /* envoy.config.metrics.v3.TagSpecifier */ UPB_INLINE envoy_config_metrics_v3_TagSpecifier* envoy_config_metrics_v3_TagSpecifier_new(upb_Arena* arena) { - return (envoy_config_metrics_v3_TagSpecifier*)_upb_Message_New(&envoy_config_metrics_v3_TagSpecifier_msg_init, arena); + return (envoy_config_metrics_v3_TagSpecifier*)_upb_Message_New(&envoy__config__metrics__v3__TagSpecifier_msg_init, arena); } UPB_INLINE envoy_config_metrics_v3_TagSpecifier* envoy_config_metrics_v3_TagSpecifier_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_metrics_v3_TagSpecifier* ret = envoy_config_metrics_v3_TagSpecifier_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_TagSpecifier_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__TagSpecifier_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -490,7 +486,7 @@ UPB_INLINE envoy_config_metrics_v3_TagSpecifier* envoy_config_metrics_v3_TagSpec int options, upb_Arena* arena) { envoy_config_metrics_v3_TagSpecifier* ret = envoy_config_metrics_v3_TagSpecifier_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_TagSpecifier_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__TagSpecifier_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -498,13 +494,13 @@ UPB_INLINE envoy_config_metrics_v3_TagSpecifier* envoy_config_metrics_v3_TagSpec } UPB_INLINE char* envoy_config_metrics_v3_TagSpecifier_serialize(const envoy_config_metrics_v3_TagSpecifier* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_TagSpecifier_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__TagSpecifier_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_metrics_v3_TagSpecifier_serialize_ex(const envoy_config_metrics_v3_TagSpecifier* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_TagSpecifier_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__TagSpecifier_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -574,12 +570,12 @@ UPB_INLINE void envoy_config_metrics_v3_TagSpecifier_set_fixed_value(envoy_confi /* envoy.config.metrics.v3.HistogramBucketSettings */ UPB_INLINE envoy_config_metrics_v3_HistogramBucketSettings* envoy_config_metrics_v3_HistogramBucketSettings_new(upb_Arena* arena) { - return (envoy_config_metrics_v3_HistogramBucketSettings*)_upb_Message_New(&envoy_config_metrics_v3_HistogramBucketSettings_msg_init, arena); + return (envoy_config_metrics_v3_HistogramBucketSettings*)_upb_Message_New(&envoy__config__metrics__v3__HistogramBucketSettings_msg_init, arena); } UPB_INLINE envoy_config_metrics_v3_HistogramBucketSettings* envoy_config_metrics_v3_HistogramBucketSettings_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_metrics_v3_HistogramBucketSettings* ret = envoy_config_metrics_v3_HistogramBucketSettings_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_HistogramBucketSettings_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__HistogramBucketSettings_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -589,7 +585,7 @@ UPB_INLINE envoy_config_metrics_v3_HistogramBucketSettings* envoy_config_metrics int options, upb_Arena* arena) { envoy_config_metrics_v3_HistogramBucketSettings* ret = envoy_config_metrics_v3_HistogramBucketSettings_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_HistogramBucketSettings_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__HistogramBucketSettings_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -597,13 +593,13 @@ UPB_INLINE envoy_config_metrics_v3_HistogramBucketSettings* envoy_config_metrics } UPB_INLINE char* envoy_config_metrics_v3_HistogramBucketSettings_serialize(const envoy_config_metrics_v3_HistogramBucketSettings* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_HistogramBucketSettings_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__HistogramBucketSettings_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_metrics_v3_HistogramBucketSettings_serialize_ex(const envoy_config_metrics_v3_HistogramBucketSettings* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_HistogramBucketSettings_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__HistogramBucketSettings_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_metrics_v3_HistogramBucketSettings_clear_match(envoy_config_metrics_v3_HistogramBucketSettings* msg) { @@ -666,7 +662,7 @@ UPB_INLINE void envoy_config_metrics_v3_HistogramBucketSettings_set_match(envoy_ UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_metrics_v3_HistogramBucketSettings_mutable_match(envoy_config_metrics_v3_HistogramBucketSettings* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_config_metrics_v3_HistogramBucketSettings_match(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); + sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); if (sub) envoy_config_metrics_v3_HistogramBucketSettings_set_match(msg, sub); } return sub; @@ -699,12 +695,12 @@ UPB_INLINE bool envoy_config_metrics_v3_HistogramBucketSettings_add_buckets(envo /* envoy.config.metrics.v3.StatsdSink */ UPB_INLINE envoy_config_metrics_v3_StatsdSink* envoy_config_metrics_v3_StatsdSink_new(upb_Arena* arena) { - return (envoy_config_metrics_v3_StatsdSink*)_upb_Message_New(&envoy_config_metrics_v3_StatsdSink_msg_init, arena); + return (envoy_config_metrics_v3_StatsdSink*)_upb_Message_New(&envoy__config__metrics__v3__StatsdSink_msg_init, arena); } UPB_INLINE envoy_config_metrics_v3_StatsdSink* envoy_config_metrics_v3_StatsdSink_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_metrics_v3_StatsdSink* ret = envoy_config_metrics_v3_StatsdSink_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_StatsdSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__StatsdSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -714,7 +710,7 @@ UPB_INLINE envoy_config_metrics_v3_StatsdSink* envoy_config_metrics_v3_StatsdSin int options, upb_Arena* arena) { envoy_config_metrics_v3_StatsdSink* ret = envoy_config_metrics_v3_StatsdSink_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_StatsdSink_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__StatsdSink_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -722,13 +718,13 @@ UPB_INLINE envoy_config_metrics_v3_StatsdSink* envoy_config_metrics_v3_StatsdSin } UPB_INLINE char* envoy_config_metrics_v3_StatsdSink_serialize(const envoy_config_metrics_v3_StatsdSink* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_StatsdSink_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__StatsdSink_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_metrics_v3_StatsdSink_serialize_ex(const envoy_config_metrics_v3_StatsdSink* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_StatsdSink_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__StatsdSink_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -789,7 +785,7 @@ UPB_INLINE void envoy_config_metrics_v3_StatsdSink_set_address(envoy_config_metr UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_metrics_v3_StatsdSink_mutable_address(envoy_config_metrics_v3_StatsdSink* msg, upb_Arena* arena) { struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_metrics_v3_StatsdSink_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); if (sub) envoy_config_metrics_v3_StatsdSink_set_address(msg, sub); } return sub; @@ -806,12 +802,12 @@ UPB_INLINE void envoy_config_metrics_v3_StatsdSink_set_prefix(envoy_config_metri /* envoy.config.metrics.v3.DogStatsdSink */ UPB_INLINE envoy_config_metrics_v3_DogStatsdSink* envoy_config_metrics_v3_DogStatsdSink_new(upb_Arena* arena) { - return (envoy_config_metrics_v3_DogStatsdSink*)_upb_Message_New(&envoy_config_metrics_v3_DogStatsdSink_msg_init, arena); + return (envoy_config_metrics_v3_DogStatsdSink*)_upb_Message_New(&envoy__config__metrics__v3__DogStatsdSink_msg_init, arena); } UPB_INLINE envoy_config_metrics_v3_DogStatsdSink* envoy_config_metrics_v3_DogStatsdSink_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_metrics_v3_DogStatsdSink* ret = envoy_config_metrics_v3_DogStatsdSink_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_DogStatsdSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__DogStatsdSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -821,7 +817,7 @@ UPB_INLINE envoy_config_metrics_v3_DogStatsdSink* envoy_config_metrics_v3_DogSta int options, upb_Arena* arena) { envoy_config_metrics_v3_DogStatsdSink* ret = envoy_config_metrics_v3_DogStatsdSink_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_DogStatsdSink_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__DogStatsdSink_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -829,13 +825,13 @@ UPB_INLINE envoy_config_metrics_v3_DogStatsdSink* envoy_config_metrics_v3_DogSta } UPB_INLINE char* envoy_config_metrics_v3_DogStatsdSink_serialize(const envoy_config_metrics_v3_DogStatsdSink* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_DogStatsdSink_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__DogStatsdSink_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_metrics_v3_DogStatsdSink_serialize_ex(const envoy_config_metrics_v3_DogStatsdSink* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_DogStatsdSink_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__DogStatsdSink_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -895,7 +891,7 @@ UPB_INLINE void envoy_config_metrics_v3_DogStatsdSink_set_address(envoy_config_m UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_metrics_v3_DogStatsdSink_mutable_address(envoy_config_metrics_v3_DogStatsdSink* msg, upb_Arena* arena) { struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_metrics_v3_DogStatsdSink_address(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); if (sub) envoy_config_metrics_v3_DogStatsdSink_set_address(msg, sub); } return sub; @@ -911,7 +907,7 @@ UPB_INLINE void envoy_config_metrics_v3_DogStatsdSink_set_max_bytes_per_datagram UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_metrics_v3_DogStatsdSink_mutable_max_bytes_per_datagram(envoy_config_metrics_v3_DogStatsdSink* msg, upb_Arena* arena) { struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_metrics_v3_DogStatsdSink_max_bytes_per_datagram(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google_protobuf_UInt64Value_msg_init, arena); + sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google__protobuf__UInt64Value_msg_init, arena); if (sub) envoy_config_metrics_v3_DogStatsdSink_set_max_bytes_per_datagram(msg, sub); } return sub; @@ -920,12 +916,12 @@ UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_metrics_v3_DogStatsd /* envoy.config.metrics.v3.HystrixSink */ UPB_INLINE envoy_config_metrics_v3_HystrixSink* envoy_config_metrics_v3_HystrixSink_new(upb_Arena* arena) { - return (envoy_config_metrics_v3_HystrixSink*)_upb_Message_New(&envoy_config_metrics_v3_HystrixSink_msg_init, arena); + return (envoy_config_metrics_v3_HystrixSink*)_upb_Message_New(&envoy__config__metrics__v3__HystrixSink_msg_init, arena); } UPB_INLINE envoy_config_metrics_v3_HystrixSink* envoy_config_metrics_v3_HystrixSink_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_metrics_v3_HystrixSink* ret = envoy_config_metrics_v3_HystrixSink_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_HystrixSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__HystrixSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -935,7 +931,7 @@ UPB_INLINE envoy_config_metrics_v3_HystrixSink* envoy_config_metrics_v3_HystrixS int options, upb_Arena* arena) { envoy_config_metrics_v3_HystrixSink* ret = envoy_config_metrics_v3_HystrixSink_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_metrics_v3_HystrixSink_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__metrics__v3__HystrixSink_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -943,13 +939,13 @@ UPB_INLINE envoy_config_metrics_v3_HystrixSink* envoy_config_metrics_v3_HystrixS } UPB_INLINE char* envoy_config_metrics_v3_HystrixSink_serialize(const envoy_config_metrics_v3_HystrixSink* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_HystrixSink_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__HystrixSink_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_metrics_v3_HystrixSink_serialize_ex(const envoy_config_metrics_v3_HystrixSink* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_metrics_v3_HystrixSink_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__metrics__v3__HystrixSink_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_metrics_v3_HystrixSink_clear_num_buckets(envoy_config_metrics_v3_HystrixSink* msg) { @@ -969,8 +965,6 @@ UPB_INLINE void envoy_config_metrics_v3_HystrixSink_set_num_buckets(envoy_config _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_config_metrics_v3_stats_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c new file mode 100644 index 00000000000..c53abb1ad76 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c @@ -0,0 +1,219 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/metrics/v3/stats.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/metrics/v3/stats.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_metrics_v3_StatsSink_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_metrics_v3_StatsSink__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__metrics__v3__StatsSink_msg_init = { + &envoy_config_metrics_v3_StatsSink_submsgs[0], + &envoy_config_metrics_v3_StatsSink__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000300001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_metrics_v3_StatsConfig_submsgs[4] = { + {.submsg = &envoy__config__metrics__v3__TagSpecifier_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__metrics__v3__StatsMatcher_msg_init}, + {.submsg = &envoy__config__metrics__v3__HistogramBucketSettings_msg_init}, +}; + +static const upb_MiniTableField envoy_config_metrics_v3_StatsConfig__fields[4] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__metrics__v3__StatsConfig_msg_init = { + &envoy_config_metrics_v3_StatsConfig_submsgs[0], + &envoy_config_metrics_v3_StatsConfig__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_max64b}, + {0x0010000001010012, &upb_psm_1bt_maxmaxb}, + {0x001800000202001a, &upb_psm_1bt_max64b}, + {0x002000003f030022, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_metrics_v3_StatsMatcher_submsgs[2] = { + {.submsg = &envoy__type__matcher__v3__ListStringMatcher_msg_init}, + {.submsg = &envoy__type__matcher__v3__ListStringMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_config_metrics_v3_StatsMatcher__fields[3] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__metrics__v3__StatsMatcher_msg_init = { + &envoy_config_metrics_v3_StatsMatcher_submsgs[0], + &envoy_config_metrics_v3_StatsMatcher__fields[0], + UPB_SIZE(8, 16), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000008, &upb_pob1_1bt}, + {0x0008000002000012, &upb_pom_1bt_maxmaxb}, + {0x000800000301001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableField envoy_config_metrics_v3_TagSpecifier__fields[3] = { + {1, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__metrics__v3__TagSpecifier_msg_init = { + NULL, + &envoy_config_metrics_v3_TagSpecifier__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f00000a, &upb_pss_1bt}, + {0x0008000002000012, &upb_pos_1bt}, + {0x000800000300001a, &upb_pos_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_metrics_v3_HistogramBucketSettings_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_config_metrics_v3_HistogramBucketSettings__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__metrics__v3__HistogramBucketSettings_msg_init = { + &envoy_config_metrics_v3_HistogramBucketSettings_submsgs[0], + &envoy_config_metrics_v3_HistogramBucketSettings__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_ppf8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_metrics_v3_StatsdSink_submsgs[1] = { + {.submsg = &envoy__config__core__v3__Address_msg_init}, +}; + +static const upb_MiniTableField envoy_config_metrics_v3_StatsdSink__fields[3] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__metrics__v3__StatsdSink_msg_init = { + &envoy_config_metrics_v3_StatsdSink_submsgs[0], + &envoy_config_metrics_v3_StatsdSink__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_maxmaxb}, + {0x0008000002000012, &upb_pos_1bt}, + {0x001800003f00001a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_metrics_v3_DogStatsdSink_submsgs[2] = { + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &google__protobuf__UInt64Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_metrics_v3_DogStatsdSink__fields[3] = { + {1, UPB_SIZE(12, 32), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 24), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__metrics__v3__DogStatsdSink_msg_init = { + &envoy_config_metrics_v3_DogStatsdSink_submsgs[0], + &envoy_config_metrics_v3_DogStatsdSink__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002000040100000a, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00001a, &upb_pss_1bt}, + {0x0018000001010022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_metrics_v3_HystrixSink__fields[1] = { + {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__metrics__v3__HystrixSink_msg_init = { + NULL, + &envoy_config_metrics_v3_HystrixSink__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv8_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[8] = { + &envoy__config__metrics__v3__StatsSink_msg_init, + &envoy__config__metrics__v3__StatsConfig_msg_init, + &envoy__config__metrics__v3__StatsMatcher_msg_init, + &envoy__config__metrics__v3__TagSpecifier_msg_init, + &envoy__config__metrics__v3__HistogramBucketSettings_msg_init, + &envoy__config__metrics__v3__StatsdSink_msg_init, + &envoy__config__metrics__v3__DogStatsdSink_msg_init, + &envoy__config__metrics__v3__HystrixSink_msg_init, +}; + +const upb_MiniTableFile envoy_config_metrics_v3_stats_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 8, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h new file mode 100644 index 00000000000..ab6dbb2df4b --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h @@ -0,0 +1,37 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/metrics/v3/stats.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_METRICS_V3_STATS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_METRICS_V3_STATS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__metrics__v3__StatsSink_msg_init; +extern const upb_MiniTable envoy__config__metrics__v3__StatsConfig_msg_init; +extern const upb_MiniTable envoy__config__metrics__v3__StatsMatcher_msg_init; +extern const upb_MiniTable envoy__config__metrics__v3__TagSpecifier_msg_init; +extern const upb_MiniTable envoy__config__metrics__v3__HistogramBucketSettings_msg_init; +extern const upb_MiniTable envoy__config__metrics__v3__StatsdSink_msg_init; +extern const upb_MiniTable envoy__config__metrics__v3__DogStatsdSink_msg_init; +extern const upb_MiniTable envoy__config__metrics__v3__HystrixSink_msg_init; + +extern const upb_MiniTableFile envoy_config_metrics_v3_stats_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_METRICS_V3_STATS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h b/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h similarity index 90% rename from src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h rename to src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h index e2ae5b48cc2..015933313fa 100644 --- a/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +++ b/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/overload/v3/overload.proto * @@ -10,7 +9,17 @@ #define ENVOY_CONFIG_OVERLOAD_V3_OVERLOAD_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/overload/v3/overload.upb_minitable.h" + +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -27,22 +36,9 @@ typedef struct envoy_config_overload_v3_OverloadAction envoy_config_overload_v3_ typedef struct envoy_config_overload_v3_LoadShedPoint envoy_config_overload_v3_LoadShedPoint; typedef struct envoy_config_overload_v3_BufferFactoryConfig envoy_config_overload_v3_BufferFactoryConfig; typedef struct envoy_config_overload_v3_OverloadManager envoy_config_overload_v3_OverloadManager; -extern const upb_MiniTable envoy_config_overload_v3_ResourceMonitor_msg_init; -extern const upb_MiniTable envoy_config_overload_v3_ThresholdTrigger_msg_init; -extern const upb_MiniTable envoy_config_overload_v3_ScaledTrigger_msg_init; -extern const upb_MiniTable envoy_config_overload_v3_Trigger_msg_init; -extern const upb_MiniTable envoy_config_overload_v3_ScaleTimersOverloadActionConfig_msg_init; -extern const upb_MiniTable envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_msg_init; -extern const upb_MiniTable envoy_config_overload_v3_OverloadAction_msg_init; -extern const upb_MiniTable envoy_config_overload_v3_LoadShedPoint_msg_init; -extern const upb_MiniTable envoy_config_overload_v3_BufferFactoryConfig_msg_init; -extern const upb_MiniTable envoy_config_overload_v3_OverloadManager_msg_init; struct envoy_type_v3_Percent; struct google_protobuf_Any; struct google_protobuf_Duration; -extern const upb_MiniTable envoy_type_v3_Percent_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; typedef enum { envoy_config_overload_v3_ScaleTimersOverloadActionConfig_UNSPECIFIED = 0, @@ -56,12 +52,12 @@ typedef enum { /* envoy.config.overload.v3.ResourceMonitor */ UPB_INLINE envoy_config_overload_v3_ResourceMonitor* envoy_config_overload_v3_ResourceMonitor_new(upb_Arena* arena) { - return (envoy_config_overload_v3_ResourceMonitor*)_upb_Message_New(&envoy_config_overload_v3_ResourceMonitor_msg_init, arena); + return (envoy_config_overload_v3_ResourceMonitor*)_upb_Message_New(&envoy__config__overload__v3__ResourceMonitor_msg_init, arena); } UPB_INLINE envoy_config_overload_v3_ResourceMonitor* envoy_config_overload_v3_ResourceMonitor_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_overload_v3_ResourceMonitor* ret = envoy_config_overload_v3_ResourceMonitor_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_ResourceMonitor_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__ResourceMonitor_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -71,7 +67,7 @@ UPB_INLINE envoy_config_overload_v3_ResourceMonitor* envoy_config_overload_v3_Re int options, upb_Arena* arena) { envoy_config_overload_v3_ResourceMonitor* ret = envoy_config_overload_v3_ResourceMonitor_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_ResourceMonitor_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__ResourceMonitor_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -79,13 +75,13 @@ UPB_INLINE envoy_config_overload_v3_ResourceMonitor* envoy_config_overload_v3_Re } UPB_INLINE char* envoy_config_overload_v3_ResourceMonitor_serialize(const envoy_config_overload_v3_ResourceMonitor* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_ResourceMonitor_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__ResourceMonitor_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_overload_v3_ResourceMonitor_serialize_ex(const envoy_config_overload_v3_ResourceMonitor* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_ResourceMonitor_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__ResourceMonitor_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -134,7 +130,7 @@ UPB_INLINE void envoy_config_overload_v3_ResourceMonitor_set_typed_config(envoy_ UPB_INLINE struct google_protobuf_Any* envoy_config_overload_v3_ResourceMonitor_mutable_typed_config(envoy_config_overload_v3_ResourceMonitor* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_overload_v3_ResourceMonitor_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_overload_v3_ResourceMonitor_set_typed_config(msg, sub); } return sub; @@ -143,12 +139,12 @@ UPB_INLINE struct google_protobuf_Any* envoy_config_overload_v3_ResourceMonitor_ /* envoy.config.overload.v3.ThresholdTrigger */ UPB_INLINE envoy_config_overload_v3_ThresholdTrigger* envoy_config_overload_v3_ThresholdTrigger_new(upb_Arena* arena) { - return (envoy_config_overload_v3_ThresholdTrigger*)_upb_Message_New(&envoy_config_overload_v3_ThresholdTrigger_msg_init, arena); + return (envoy_config_overload_v3_ThresholdTrigger*)_upb_Message_New(&envoy__config__overload__v3__ThresholdTrigger_msg_init, arena); } UPB_INLINE envoy_config_overload_v3_ThresholdTrigger* envoy_config_overload_v3_ThresholdTrigger_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_overload_v3_ThresholdTrigger* ret = envoy_config_overload_v3_ThresholdTrigger_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_ThresholdTrigger_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__ThresholdTrigger_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -158,7 +154,7 @@ UPB_INLINE envoy_config_overload_v3_ThresholdTrigger* envoy_config_overload_v3_T int options, upb_Arena* arena) { envoy_config_overload_v3_ThresholdTrigger* ret = envoy_config_overload_v3_ThresholdTrigger_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_ThresholdTrigger_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__ThresholdTrigger_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -166,13 +162,13 @@ UPB_INLINE envoy_config_overload_v3_ThresholdTrigger* envoy_config_overload_v3_T } UPB_INLINE char* envoy_config_overload_v3_ThresholdTrigger_serialize(const envoy_config_overload_v3_ThresholdTrigger* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_ThresholdTrigger_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__ThresholdTrigger_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_overload_v3_ThresholdTrigger_serialize_ex(const envoy_config_overload_v3_ThresholdTrigger* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_ThresholdTrigger_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__ThresholdTrigger_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_overload_v3_ThresholdTrigger_clear_value(envoy_config_overload_v3_ThresholdTrigger* msg) { @@ -195,12 +191,12 @@ UPB_INLINE void envoy_config_overload_v3_ThresholdTrigger_set_value(envoy_config /* envoy.config.overload.v3.ScaledTrigger */ UPB_INLINE envoy_config_overload_v3_ScaledTrigger* envoy_config_overload_v3_ScaledTrigger_new(upb_Arena* arena) { - return (envoy_config_overload_v3_ScaledTrigger*)_upb_Message_New(&envoy_config_overload_v3_ScaledTrigger_msg_init, arena); + return (envoy_config_overload_v3_ScaledTrigger*)_upb_Message_New(&envoy__config__overload__v3__ScaledTrigger_msg_init, arena); } UPB_INLINE envoy_config_overload_v3_ScaledTrigger* envoy_config_overload_v3_ScaledTrigger_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_overload_v3_ScaledTrigger* ret = envoy_config_overload_v3_ScaledTrigger_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_ScaledTrigger_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__ScaledTrigger_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -210,7 +206,7 @@ UPB_INLINE envoy_config_overload_v3_ScaledTrigger* envoy_config_overload_v3_Scal int options, upb_Arena* arena) { envoy_config_overload_v3_ScaledTrigger* ret = envoy_config_overload_v3_ScaledTrigger_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_ScaledTrigger_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__ScaledTrigger_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -218,13 +214,13 @@ UPB_INLINE envoy_config_overload_v3_ScaledTrigger* envoy_config_overload_v3_Scal } UPB_INLINE char* envoy_config_overload_v3_ScaledTrigger_serialize(const envoy_config_overload_v3_ScaledTrigger* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_ScaledTrigger_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__ScaledTrigger_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_overload_v3_ScaledTrigger_serialize_ex(const envoy_config_overload_v3_ScaledTrigger* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_ScaledTrigger_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__ScaledTrigger_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_overload_v3_ScaledTrigger_clear_scaling_threshold(envoy_config_overload_v3_ScaledTrigger* msg) { @@ -262,12 +258,12 @@ UPB_INLINE void envoy_config_overload_v3_ScaledTrigger_set_saturation_threshold( /* envoy.config.overload.v3.Trigger */ UPB_INLINE envoy_config_overload_v3_Trigger* envoy_config_overload_v3_Trigger_new(upb_Arena* arena) { - return (envoy_config_overload_v3_Trigger*)_upb_Message_New(&envoy_config_overload_v3_Trigger_msg_init, arena); + return (envoy_config_overload_v3_Trigger*)_upb_Message_New(&envoy__config__overload__v3__Trigger_msg_init, arena); } UPB_INLINE envoy_config_overload_v3_Trigger* envoy_config_overload_v3_Trigger_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_overload_v3_Trigger* ret = envoy_config_overload_v3_Trigger_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_Trigger_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__Trigger_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -277,7 +273,7 @@ UPB_INLINE envoy_config_overload_v3_Trigger* envoy_config_overload_v3_Trigger_pa int options, upb_Arena* arena) { envoy_config_overload_v3_Trigger* ret = envoy_config_overload_v3_Trigger_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_Trigger_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__Trigger_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -285,13 +281,13 @@ UPB_INLINE envoy_config_overload_v3_Trigger* envoy_config_overload_v3_Trigger_pa } UPB_INLINE char* envoy_config_overload_v3_Trigger_serialize(const envoy_config_overload_v3_Trigger* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_Trigger_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__Trigger_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_overload_v3_Trigger_serialize_ex(const envoy_config_overload_v3_Trigger* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_Trigger_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__Trigger_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -356,7 +352,7 @@ UPB_INLINE void envoy_config_overload_v3_Trigger_set_threshold(envoy_config_over UPB_INLINE struct envoy_config_overload_v3_ThresholdTrigger* envoy_config_overload_v3_Trigger_mutable_threshold(envoy_config_overload_v3_Trigger* msg, upb_Arena* arena) { struct envoy_config_overload_v3_ThresholdTrigger* sub = (struct envoy_config_overload_v3_ThresholdTrigger*)envoy_config_overload_v3_Trigger_threshold(msg); if (sub == NULL) { - sub = (struct envoy_config_overload_v3_ThresholdTrigger*)_upb_Message_New(&envoy_config_overload_v3_ThresholdTrigger_msg_init, arena); + sub = (struct envoy_config_overload_v3_ThresholdTrigger*)_upb_Message_New(&envoy__config__overload__v3__ThresholdTrigger_msg_init, arena); if (sub) envoy_config_overload_v3_Trigger_set_threshold(msg, sub); } return sub; @@ -368,7 +364,7 @@ UPB_INLINE void envoy_config_overload_v3_Trigger_set_scaled(envoy_config_overloa UPB_INLINE struct envoy_config_overload_v3_ScaledTrigger* envoy_config_overload_v3_Trigger_mutable_scaled(envoy_config_overload_v3_Trigger* msg, upb_Arena* arena) { struct envoy_config_overload_v3_ScaledTrigger* sub = (struct envoy_config_overload_v3_ScaledTrigger*)envoy_config_overload_v3_Trigger_scaled(msg); if (sub == NULL) { - sub = (struct envoy_config_overload_v3_ScaledTrigger*)_upb_Message_New(&envoy_config_overload_v3_ScaledTrigger_msg_init, arena); + sub = (struct envoy_config_overload_v3_ScaledTrigger*)_upb_Message_New(&envoy__config__overload__v3__ScaledTrigger_msg_init, arena); if (sub) envoy_config_overload_v3_Trigger_set_scaled(msg, sub); } return sub; @@ -377,12 +373,12 @@ UPB_INLINE struct envoy_config_overload_v3_ScaledTrigger* envoy_config_overload_ /* envoy.config.overload.v3.ScaleTimersOverloadActionConfig */ UPB_INLINE envoy_config_overload_v3_ScaleTimersOverloadActionConfig* envoy_config_overload_v3_ScaleTimersOverloadActionConfig_new(upb_Arena* arena) { - return (envoy_config_overload_v3_ScaleTimersOverloadActionConfig*)_upb_Message_New(&envoy_config_overload_v3_ScaleTimersOverloadActionConfig_msg_init, arena); + return (envoy_config_overload_v3_ScaleTimersOverloadActionConfig*)_upb_Message_New(&envoy__config__overload__v3__ScaleTimersOverloadActionConfig_msg_init, arena); } UPB_INLINE envoy_config_overload_v3_ScaleTimersOverloadActionConfig* envoy_config_overload_v3_ScaleTimersOverloadActionConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_overload_v3_ScaleTimersOverloadActionConfig* ret = envoy_config_overload_v3_ScaleTimersOverloadActionConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__ScaleTimersOverloadActionConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -392,7 +388,7 @@ UPB_INLINE envoy_config_overload_v3_ScaleTimersOverloadActionConfig* envoy_confi int options, upb_Arena* arena) { envoy_config_overload_v3_ScaleTimersOverloadActionConfig* ret = envoy_config_overload_v3_ScaleTimersOverloadActionConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__ScaleTimersOverloadActionConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -400,13 +396,13 @@ UPB_INLINE envoy_config_overload_v3_ScaleTimersOverloadActionConfig* envoy_confi } UPB_INLINE char* envoy_config_overload_v3_ScaleTimersOverloadActionConfig_serialize(const envoy_config_overload_v3_ScaleTimersOverloadActionConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__ScaleTimersOverloadActionConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_overload_v3_ScaleTimersOverloadActionConfig_serialize_ex(const envoy_config_overload_v3_ScaleTimersOverloadActionConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__ScaleTimersOverloadActionConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_overload_v3_ScaleTimersOverloadActionConfig_clear_timer_scale_factors(envoy_config_overload_v3_ScaleTimersOverloadActionConfig* msg) { @@ -468,7 +464,7 @@ UPB_INLINE struct envoy_config_overload_v3_ScaleTimersOverloadActionConfig_Scale if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer* sub = (struct envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer*)_upb_Message_New(&envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_msg_init, arena); + struct envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer* sub = (struct envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer*)_upb_Message_New(&envoy__config__overload__v3__ScaleTimersOverloadActionConfig__ScaleTimer_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -477,12 +473,12 @@ UPB_INLINE struct envoy_config_overload_v3_ScaleTimersOverloadActionConfig_Scale /* envoy.config.overload.v3.ScaleTimersOverloadActionConfig.ScaleTimer */ UPB_INLINE envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer* envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_new(upb_Arena* arena) { - return (envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer*)_upb_Message_New(&envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_msg_init, arena); + return (envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer*)_upb_Message_New(&envoy__config__overload__v3__ScaleTimersOverloadActionConfig__ScaleTimer_msg_init, arena); } UPB_INLINE envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer* envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer* ret = envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__ScaleTimersOverloadActionConfig__ScaleTimer_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -492,7 +488,7 @@ UPB_INLINE envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer* int options, upb_Arena* arena) { envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer* ret = envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__ScaleTimersOverloadActionConfig__ScaleTimer_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -500,13 +496,13 @@ UPB_INLINE envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer* } UPB_INLINE char* envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_serialize(const envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__ScaleTimersOverloadActionConfig__ScaleTimer_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_serialize_ex(const envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__ScaleTimersOverloadActionConfig__ScaleTimer_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -571,7 +567,7 @@ UPB_INLINE void envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTi UPB_INLINE struct google_protobuf_Duration* envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_mutable_min_timeout(envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_min_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_set_min_timeout(msg, sub); } return sub; @@ -583,7 +579,7 @@ UPB_INLINE void envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTi UPB_INLINE struct envoy_type_v3_Percent* envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_mutable_min_scale(envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer* msg, upb_Arena* arena) { struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_min_scale(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); if (sub) envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_set_min_scale(msg, sub); } return sub; @@ -592,12 +588,12 @@ UPB_INLINE struct envoy_type_v3_Percent* envoy_config_overload_v3_ScaleTimersOve /* envoy.config.overload.v3.OverloadAction */ UPB_INLINE envoy_config_overload_v3_OverloadAction* envoy_config_overload_v3_OverloadAction_new(upb_Arena* arena) { - return (envoy_config_overload_v3_OverloadAction*)_upb_Message_New(&envoy_config_overload_v3_OverloadAction_msg_init, arena); + return (envoy_config_overload_v3_OverloadAction*)_upb_Message_New(&envoy__config__overload__v3__OverloadAction_msg_init, arena); } UPB_INLINE envoy_config_overload_v3_OverloadAction* envoy_config_overload_v3_OverloadAction_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_overload_v3_OverloadAction* ret = envoy_config_overload_v3_OverloadAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_OverloadAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__OverloadAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -607,7 +603,7 @@ UPB_INLINE envoy_config_overload_v3_OverloadAction* envoy_config_overload_v3_Ove int options, upb_Arena* arena) { envoy_config_overload_v3_OverloadAction* ret = envoy_config_overload_v3_OverloadAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_OverloadAction_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__OverloadAction_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -615,13 +611,13 @@ UPB_INLINE envoy_config_overload_v3_OverloadAction* envoy_config_overload_v3_Ove } UPB_INLINE char* envoy_config_overload_v3_OverloadAction_serialize(const envoy_config_overload_v3_OverloadAction* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_OverloadAction_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__OverloadAction_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_overload_v3_OverloadAction_serialize_ex(const envoy_config_overload_v3_OverloadAction* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_OverloadAction_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__OverloadAction_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_overload_v3_OverloadAction_clear_name(envoy_config_overload_v3_OverloadAction* msg) { @@ -713,7 +709,7 @@ UPB_INLINE struct envoy_config_overload_v3_Trigger* envoy_config_overload_v3_Ove if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_overload_v3_Trigger* sub = (struct envoy_config_overload_v3_Trigger*)_upb_Message_New(&envoy_config_overload_v3_Trigger_msg_init, arena); + struct envoy_config_overload_v3_Trigger* sub = (struct envoy_config_overload_v3_Trigger*)_upb_Message_New(&envoy__config__overload__v3__Trigger_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -725,7 +721,7 @@ UPB_INLINE void envoy_config_overload_v3_OverloadAction_set_typed_config(envoy_c UPB_INLINE struct google_protobuf_Any* envoy_config_overload_v3_OverloadAction_mutable_typed_config(envoy_config_overload_v3_OverloadAction* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_overload_v3_OverloadAction_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_overload_v3_OverloadAction_set_typed_config(msg, sub); } return sub; @@ -734,12 +730,12 @@ UPB_INLINE struct google_protobuf_Any* envoy_config_overload_v3_OverloadAction_m /* envoy.config.overload.v3.LoadShedPoint */ UPB_INLINE envoy_config_overload_v3_LoadShedPoint* envoy_config_overload_v3_LoadShedPoint_new(upb_Arena* arena) { - return (envoy_config_overload_v3_LoadShedPoint*)_upb_Message_New(&envoy_config_overload_v3_LoadShedPoint_msg_init, arena); + return (envoy_config_overload_v3_LoadShedPoint*)_upb_Message_New(&envoy__config__overload__v3__LoadShedPoint_msg_init, arena); } UPB_INLINE envoy_config_overload_v3_LoadShedPoint* envoy_config_overload_v3_LoadShedPoint_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_overload_v3_LoadShedPoint* ret = envoy_config_overload_v3_LoadShedPoint_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_LoadShedPoint_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__LoadShedPoint_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -749,7 +745,7 @@ UPB_INLINE envoy_config_overload_v3_LoadShedPoint* envoy_config_overload_v3_Load int options, upb_Arena* arena) { envoy_config_overload_v3_LoadShedPoint* ret = envoy_config_overload_v3_LoadShedPoint_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_LoadShedPoint_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__LoadShedPoint_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -757,13 +753,13 @@ UPB_INLINE envoy_config_overload_v3_LoadShedPoint* envoy_config_overload_v3_Load } UPB_INLINE char* envoy_config_overload_v3_LoadShedPoint_serialize(const envoy_config_overload_v3_LoadShedPoint* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_LoadShedPoint_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__LoadShedPoint_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_overload_v3_LoadShedPoint_serialize_ex(const envoy_config_overload_v3_LoadShedPoint* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_LoadShedPoint_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__LoadShedPoint_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_overload_v3_LoadShedPoint_clear_name(envoy_config_overload_v3_LoadShedPoint* msg) { @@ -840,7 +836,7 @@ UPB_INLINE struct envoy_config_overload_v3_Trigger* envoy_config_overload_v3_Loa if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_overload_v3_Trigger* sub = (struct envoy_config_overload_v3_Trigger*)_upb_Message_New(&envoy_config_overload_v3_Trigger_msg_init, arena); + struct envoy_config_overload_v3_Trigger* sub = (struct envoy_config_overload_v3_Trigger*)_upb_Message_New(&envoy__config__overload__v3__Trigger_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -849,12 +845,12 @@ UPB_INLINE struct envoy_config_overload_v3_Trigger* envoy_config_overload_v3_Loa /* envoy.config.overload.v3.BufferFactoryConfig */ UPB_INLINE envoy_config_overload_v3_BufferFactoryConfig* envoy_config_overload_v3_BufferFactoryConfig_new(upb_Arena* arena) { - return (envoy_config_overload_v3_BufferFactoryConfig*)_upb_Message_New(&envoy_config_overload_v3_BufferFactoryConfig_msg_init, arena); + return (envoy_config_overload_v3_BufferFactoryConfig*)_upb_Message_New(&envoy__config__overload__v3__BufferFactoryConfig_msg_init, arena); } UPB_INLINE envoy_config_overload_v3_BufferFactoryConfig* envoy_config_overload_v3_BufferFactoryConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_overload_v3_BufferFactoryConfig* ret = envoy_config_overload_v3_BufferFactoryConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_BufferFactoryConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__BufferFactoryConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -864,7 +860,7 @@ UPB_INLINE envoy_config_overload_v3_BufferFactoryConfig* envoy_config_overload_v int options, upb_Arena* arena) { envoy_config_overload_v3_BufferFactoryConfig* ret = envoy_config_overload_v3_BufferFactoryConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_BufferFactoryConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__BufferFactoryConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -872,13 +868,13 @@ UPB_INLINE envoy_config_overload_v3_BufferFactoryConfig* envoy_config_overload_v } UPB_INLINE char* envoy_config_overload_v3_BufferFactoryConfig_serialize(const envoy_config_overload_v3_BufferFactoryConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_BufferFactoryConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__BufferFactoryConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_overload_v3_BufferFactoryConfig_serialize_ex(const envoy_config_overload_v3_BufferFactoryConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_BufferFactoryConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__BufferFactoryConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_overload_v3_BufferFactoryConfig_clear_minimum_account_to_track_power_of_two(envoy_config_overload_v3_BufferFactoryConfig* msg) { @@ -901,12 +897,12 @@ UPB_INLINE void envoy_config_overload_v3_BufferFactoryConfig_set_minimum_account /* envoy.config.overload.v3.OverloadManager */ UPB_INLINE envoy_config_overload_v3_OverloadManager* envoy_config_overload_v3_OverloadManager_new(upb_Arena* arena) { - return (envoy_config_overload_v3_OverloadManager*)_upb_Message_New(&envoy_config_overload_v3_OverloadManager_msg_init, arena); + return (envoy_config_overload_v3_OverloadManager*)_upb_Message_New(&envoy__config__overload__v3__OverloadManager_msg_init, arena); } UPB_INLINE envoy_config_overload_v3_OverloadManager* envoy_config_overload_v3_OverloadManager_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_overload_v3_OverloadManager* ret = envoy_config_overload_v3_OverloadManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_OverloadManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__OverloadManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -916,7 +912,7 @@ UPB_INLINE envoy_config_overload_v3_OverloadManager* envoy_config_overload_v3_Ov int options, upb_Arena* arena) { envoy_config_overload_v3_OverloadManager* ret = envoy_config_overload_v3_OverloadManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_overload_v3_OverloadManager_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__overload__v3__OverloadManager_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -924,13 +920,13 @@ UPB_INLINE envoy_config_overload_v3_OverloadManager* envoy_config_overload_v3_Ov } UPB_INLINE char* envoy_config_overload_v3_OverloadManager_serialize(const envoy_config_overload_v3_OverloadManager* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_OverloadManager_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__OverloadManager_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_overload_v3_OverloadManager_serialize_ex(const envoy_config_overload_v3_OverloadManager* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_overload_v3_OverloadManager_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__overload__v3__OverloadManager_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_overload_v3_OverloadManager_clear_refresh_interval(envoy_config_overload_v3_OverloadManager* msg) { @@ -1082,7 +1078,7 @@ UPB_INLINE void envoy_config_overload_v3_OverloadManager_set_refresh_interval(en UPB_INLINE struct google_protobuf_Duration* envoy_config_overload_v3_OverloadManager_mutable_refresh_interval(envoy_config_overload_v3_OverloadManager* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_overload_v3_OverloadManager_refresh_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_overload_v3_OverloadManager_set_refresh_interval(msg, sub); } return sub; @@ -1108,7 +1104,7 @@ UPB_INLINE struct envoy_config_overload_v3_ResourceMonitor* envoy_config_overloa if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_overload_v3_ResourceMonitor* sub = (struct envoy_config_overload_v3_ResourceMonitor*)_upb_Message_New(&envoy_config_overload_v3_ResourceMonitor_msg_init, arena); + struct envoy_config_overload_v3_ResourceMonitor* sub = (struct envoy_config_overload_v3_ResourceMonitor*)_upb_Message_New(&envoy__config__overload__v3__ResourceMonitor_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1134,7 +1130,7 @@ UPB_INLINE struct envoy_config_overload_v3_OverloadAction* envoy_config_overload if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_overload_v3_OverloadAction* sub = (struct envoy_config_overload_v3_OverloadAction*)_upb_Message_New(&envoy_config_overload_v3_OverloadAction_msg_init, arena); + struct envoy_config_overload_v3_OverloadAction* sub = (struct envoy_config_overload_v3_OverloadAction*)_upb_Message_New(&envoy__config__overload__v3__OverloadAction_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1146,7 +1142,7 @@ UPB_INLINE void envoy_config_overload_v3_OverloadManager_set_buffer_factory_conf UPB_INLINE struct envoy_config_overload_v3_BufferFactoryConfig* envoy_config_overload_v3_OverloadManager_mutable_buffer_factory_config(envoy_config_overload_v3_OverloadManager* msg, upb_Arena* arena) { struct envoy_config_overload_v3_BufferFactoryConfig* sub = (struct envoy_config_overload_v3_BufferFactoryConfig*)envoy_config_overload_v3_OverloadManager_buffer_factory_config(msg); if (sub == NULL) { - sub = (struct envoy_config_overload_v3_BufferFactoryConfig*)_upb_Message_New(&envoy_config_overload_v3_BufferFactoryConfig_msg_init, arena); + sub = (struct envoy_config_overload_v3_BufferFactoryConfig*)_upb_Message_New(&envoy__config__overload__v3__BufferFactoryConfig_msg_init, arena); if (sub) envoy_config_overload_v3_OverloadManager_set_buffer_factory_config(msg, sub); } return sub; @@ -1172,14 +1168,12 @@ UPB_INLINE struct envoy_config_overload_v3_LoadShedPoint* envoy_config_overload_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_overload_v3_LoadShedPoint* sub = (struct envoy_config_overload_v3_LoadShedPoint*)_upb_Message_New(&envoy_config_overload_v3_LoadShedPoint_msg_init, arena); + struct envoy_config_overload_v3_LoadShedPoint* sub = (struct envoy_config_overload_v3_LoadShedPoint*)_upb_Message_New(&envoy__config__overload__v3__LoadShedPoint_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } -extern const upb_MiniTableFile envoy_config_overload_v3_overload_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c new file mode 100644 index 00000000000..87d7b34e0a7 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c @@ -0,0 +1,250 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/overload/v3/overload.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/overload/v3/overload.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_overload_v3_ResourceMonitor_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_overload_v3_ResourceMonitor__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__overload__v3__ResourceMonitor_msg_init = { + &envoy_config_overload_v3_ResourceMonitor_submsgs[0], + &envoy_config_overload_v3_ResourceMonitor__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000300001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableField envoy_config_overload_v3_ThresholdTrigger__fields[1] = { + {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__overload__v3__ThresholdTrigger_msg_init = { + NULL, + &envoy_config_overload_v3_ThresholdTrigger__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000009, &upb_psf8_1bt}, + }) +}; + +static const upb_MiniTableField envoy_config_overload_v3_ScaledTrigger__fields[2] = { + {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__overload__v3__ScaledTrigger_msg_init = { + NULL, + &envoy_config_overload_v3_ScaledTrigger__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000009, &upb_psf8_1bt}, + {0x000800003f000011, &upb_psf8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_overload_v3_Trigger_submsgs[2] = { + {.submsg = &envoy__config__overload__v3__ThresholdTrigger_msg_init}, + {.submsg = &envoy__config__overload__v3__ScaledTrigger_msg_init}, +}; + +static const upb_MiniTableField envoy_config_overload_v3_Trigger__fields[3] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__overload__v3__Trigger_msg_init = { + &envoy_config_overload_v3_Trigger_submsgs[0], + &envoy_config_overload_v3_Trigger__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000002000012, &upb_pom_1bt_max64b}, + {0x001800000301001a, &upb_pom_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_overload_v3_ScaleTimersOverloadActionConfig_submsgs[1] = { + {.submsg = &envoy__config__overload__v3__ScaleTimersOverloadActionConfig__ScaleTimer_msg_init}, +}; + +static const upb_MiniTableField envoy_config_overload_v3_ScaleTimersOverloadActionConfig__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__overload__v3__ScaleTimersOverloadActionConfig_msg_init = { + &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_submsgs[0], + &envoy_config_overload_v3_ScaleTimersOverloadActionConfig__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_submsgs[2] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__type__v3__Percent_msg_init}, +}; + +static const upb_MiniTableField envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer__fields[3] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__overload__v3__ScaleTimersOverloadActionConfig__ScaleTimer_msg_init = { + &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_submsgs[0], + &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer__fields[0], + 16, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x0008000402000012, &upb_pom_1bt_maxmaxb}, + {0x000800040301001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_overload_v3_OverloadAction_submsgs[2] = { + {.submsg = &envoy__config__overload__v3__Trigger_msg_init}, + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_overload_v3_OverloadAction__fields[3] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__overload__v3__OverloadAction_msg_init = { + &envoy_config_overload_v3_OverloadAction_submsgs[0], + &envoy_config_overload_v3_OverloadAction__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prm_1bt_max64b}, + {0x002000000101001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_overload_v3_LoadShedPoint_submsgs[1] = { + {.submsg = &envoy__config__overload__v3__Trigger_msg_init}, +}; + +static const upb_MiniTableField envoy_config_overload_v3_LoadShedPoint__fields[2] = { + {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__overload__v3__LoadShedPoint_msg_init = { + &envoy_config_overload_v3_LoadShedPoint_submsgs[0], + &envoy_config_overload_v3_LoadShedPoint__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_overload_v3_BufferFactoryConfig__fields[1] = { + {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__overload__v3__BufferFactoryConfig_msg_init = { + NULL, + &envoy_config_overload_v3_BufferFactoryConfig__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_overload_v3_OverloadManager_submsgs[5] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__overload__v3__ResourceMonitor_msg_init}, + {.submsg = &envoy__config__overload__v3__OverloadAction_msg_init}, + {.submsg = &envoy__config__overload__v3__BufferFactoryConfig_msg_init}, + {.submsg = &envoy__config__overload__v3__LoadShedPoint_msg_init}, +}; + +static const upb_MiniTableField envoy_config_overload_v3_OverloadManager__fields[5] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__overload__v3__OverloadManager_msg_init = { + &envoy_config_overload_v3_OverloadManager_submsgs[0], + &envoy_config_overload_v3_OverloadManager__fields[0], + UPB_SIZE(24, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f010012, &upb_prm_1bt_max64b}, + {0x001800003f02001a, &upb_prm_1bt_max64b}, + {0x0020000002030022, &upb_psm_1bt_max64b}, + {0x002800003f04002a, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[10] = { + &envoy__config__overload__v3__ResourceMonitor_msg_init, + &envoy__config__overload__v3__ThresholdTrigger_msg_init, + &envoy__config__overload__v3__ScaledTrigger_msg_init, + &envoy__config__overload__v3__Trigger_msg_init, + &envoy__config__overload__v3__ScaleTimersOverloadActionConfig_msg_init, + &envoy__config__overload__v3__ScaleTimersOverloadActionConfig__ScaleTimer_msg_init, + &envoy__config__overload__v3__OverloadAction_msg_init, + &envoy__config__overload__v3__LoadShedPoint_msg_init, + &envoy__config__overload__v3__BufferFactoryConfig_msg_init, + &envoy__config__overload__v3__OverloadManager_msg_init, +}; + +const upb_MiniTableFile envoy_config_overload_v3_overload_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 10, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h new file mode 100644 index 00000000000..d5659754b66 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h @@ -0,0 +1,39 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/overload/v3/overload.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_OVERLOAD_V3_OVERLOAD_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_OVERLOAD_V3_OVERLOAD_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__overload__v3__ResourceMonitor_msg_init; +extern const upb_MiniTable envoy__config__overload__v3__ThresholdTrigger_msg_init; +extern const upb_MiniTable envoy__config__overload__v3__ScaledTrigger_msg_init; +extern const upb_MiniTable envoy__config__overload__v3__Trigger_msg_init; +extern const upb_MiniTable envoy__config__overload__v3__ScaleTimersOverloadActionConfig_msg_init; +extern const upb_MiniTable envoy__config__overload__v3__ScaleTimersOverloadActionConfig__ScaleTimer_msg_init; +extern const upb_MiniTable envoy__config__overload__v3__OverloadAction_msg_init; +extern const upb_MiniTable envoy__config__overload__v3__LoadShedPoint_msg_init; +extern const upb_MiniTable envoy__config__overload__v3__BufferFactoryConfig_msg_init; +extern const upb_MiniTable envoy__config__overload__v3__OverloadManager_msg_init; + +extern const upb_MiniTableFile envoy_config_overload_v3_overload_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_OVERLOAD_V3_OVERLOAD_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h b/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h new file mode 100644 index 00000000000..c456f836468 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h @@ -0,0 +1,1704 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/rbac/v3/rbac.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPB_H_ +#define ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/config/rbac/v3/rbac.upb_minitable.h" + +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/route/v3/route_components.upb_minitable.h" +#include "envoy/type/matcher/v3/filter_state.upb_minitable.h" +#include "envoy/type/matcher/v3/metadata.upb_minitable.h" +#include "envoy/type/matcher/v3/path.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "envoy/type/v3/range.upb_minitable.h" +#include "google/api/expr/v1alpha1/checked.upb_minitable.h" +#include "google/api/expr/v1alpha1/syntax.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_config_rbac_v3_RBAC envoy_config_rbac_v3_RBAC; +typedef struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions envoy_config_rbac_v3_RBAC_AuditLoggingOptions; +typedef struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig; +typedef struct envoy_config_rbac_v3_RBAC_PoliciesEntry envoy_config_rbac_v3_RBAC_PoliciesEntry; +typedef struct envoy_config_rbac_v3_Policy envoy_config_rbac_v3_Policy; +typedef struct envoy_config_rbac_v3_Permission envoy_config_rbac_v3_Permission; +typedef struct envoy_config_rbac_v3_Permission_Set envoy_config_rbac_v3_Permission_Set; +typedef struct envoy_config_rbac_v3_Principal envoy_config_rbac_v3_Principal; +typedef struct envoy_config_rbac_v3_Principal_Set envoy_config_rbac_v3_Principal_Set; +typedef struct envoy_config_rbac_v3_Principal_Authenticated envoy_config_rbac_v3_Principal_Authenticated; +typedef struct envoy_config_rbac_v3_Action envoy_config_rbac_v3_Action; +struct envoy_config_core_v3_CidrRange; +struct envoy_config_core_v3_TypedExtensionConfig; +struct envoy_config_route_v3_HeaderMatcher; +struct envoy_type_matcher_v3_FilterStateMatcher; +struct envoy_type_matcher_v3_MetadataMatcher; +struct envoy_type_matcher_v3_PathMatcher; +struct envoy_type_matcher_v3_StringMatcher; +struct envoy_type_v3_Int32Range; +struct google_api_expr_v1alpha1_CheckedExpr; +struct google_api_expr_v1alpha1_Expr; + +typedef enum { + envoy_config_rbac_v3_RBAC_ALLOW = 0, + envoy_config_rbac_v3_RBAC_DENY = 1, + envoy_config_rbac_v3_RBAC_LOG = 2 +} envoy_config_rbac_v3_RBAC_Action; + +typedef enum { + envoy_config_rbac_v3_RBAC_AuditLoggingOptions_NONE = 0, + envoy_config_rbac_v3_RBAC_AuditLoggingOptions_ON_DENY = 1, + envoy_config_rbac_v3_RBAC_AuditLoggingOptions_ON_ALLOW = 2, + envoy_config_rbac_v3_RBAC_AuditLoggingOptions_ON_DENY_AND_ALLOW = 3 +} envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditCondition; + + + +/* envoy.config.rbac.v3.RBAC */ + +UPB_INLINE envoy_config_rbac_v3_RBAC* envoy_config_rbac_v3_RBAC_new(upb_Arena* arena) { + return (envoy_config_rbac_v3_RBAC*)_upb_Message_New(&envoy__config__rbac__v3__RBAC_msg_init, arena); +} +UPB_INLINE envoy_config_rbac_v3_RBAC* envoy_config_rbac_v3_RBAC_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_rbac_v3_RBAC* ret = envoy_config_rbac_v3_RBAC_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__RBAC_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_rbac_v3_RBAC* envoy_config_rbac_v3_RBAC_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_rbac_v3_RBAC* ret = envoy_config_rbac_v3_RBAC_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__RBAC_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_rbac_v3_RBAC_serialize(const envoy_config_rbac_v3_RBAC* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__RBAC_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_rbac_v3_RBAC_serialize_ex(const envoy_config_rbac_v3_RBAC* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__RBAC_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_rbac_v3_RBAC_clear_action(envoy_config_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_config_rbac_v3_RBAC_action(const envoy_config_rbac_v3_RBAC* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_rbac_v3_RBAC_clear_policies(envoy_config_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE size_t envoy_config_rbac_v3_RBAC_policies_size(const envoy_config_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + return map ? _upb_Map_Size(map) : 0; +} +UPB_INLINE bool envoy_config_rbac_v3_RBAC_policies_get(const envoy_config_rbac_v3_RBAC* msg, upb_StringView key, envoy_config_rbac_v3_Policy** val) { + const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Get(map, &key, 0, val, sizeof(*val)); +} +UPB_INLINE const envoy_config_rbac_v3_RBAC_PoliciesEntry* envoy_config_rbac_v3_RBAC_policies_next(const envoy_config_rbac_v3_RBAC* msg, size_t* iter) { + const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (const envoy_config_rbac_v3_RBAC_PoliciesEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_config_rbac_v3_RBAC_clear_audit_logging_options(envoy_config_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* envoy_config_rbac_v3_RBAC_audit_logging_options(const envoy_config_rbac_v3_RBAC* msg) { + const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* default_val = NULL; + const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_RBAC_has_audit_logging_options(const envoy_config_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_rbac_v3_RBAC_set_action(envoy_config_rbac_v3_RBAC *msg, int32_t value) { + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_rbac_v3_RBAC_policies_clear(envoy_config_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return; + _upb_Map_Clear(map); +} +UPB_INLINE bool envoy_config_rbac_v3_RBAC_policies_set(envoy_config_rbac_v3_RBAC* msg, upb_StringView key, envoy_config_rbac_v3_Policy* val, upb_Arena* a) { + const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, sizeof(val), a); + return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) != + kUpb_MapInsertStatus_OutOfMemory; +} +UPB_INLINE bool envoy_config_rbac_v3_RBAC_policies_delete(envoy_config_rbac_v3_RBAC* msg, upb_StringView key) { + const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Delete(map, &key, 0, NULL); +} +UPB_INLINE envoy_config_rbac_v3_RBAC_PoliciesEntry* envoy_config_rbac_v3_RBAC_policies_nextmutable(envoy_config_rbac_v3_RBAC* msg, size_t* iter) { + const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (envoy_config_rbac_v3_RBAC_PoliciesEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_config_rbac_v3_RBAC_set_audit_logging_options(envoy_config_rbac_v3_RBAC *msg, envoy_config_rbac_v3_RBAC_AuditLoggingOptions* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions* envoy_config_rbac_v3_RBAC_mutable_audit_logging_options(envoy_config_rbac_v3_RBAC* msg, upb_Arena* arena) { + struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions* sub = (struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions*)envoy_config_rbac_v3_RBAC_audit_logging_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions*)_upb_Message_New(&envoy__config__rbac__v3__RBAC__AuditLoggingOptions_msg_init, arena); + if (sub) envoy_config_rbac_v3_RBAC_set_audit_logging_options(msg, sub); + } + return sub; +} + +/* envoy.config.rbac.v3.RBAC.AuditLoggingOptions */ + +UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_new(upb_Arena* arena) { + return (envoy_config_rbac_v3_RBAC_AuditLoggingOptions*)_upb_Message_New(&envoy__config__rbac__v3__RBAC__AuditLoggingOptions_msg_init, arena); +} +UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_rbac_v3_RBAC_AuditLoggingOptions* ret = envoy_config_rbac_v3_RBAC_AuditLoggingOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__RBAC__AuditLoggingOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_rbac_v3_RBAC_AuditLoggingOptions* ret = envoy_config_rbac_v3_RBAC_AuditLoggingOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__RBAC__AuditLoggingOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_serialize(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__RBAC__AuditLoggingOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_serialize_ex(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__RBAC__AuditLoggingOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_clear_audit_condition(envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_config_rbac_v3_RBAC_AuditLoggingOptions_audit_condition(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_clear_logger_configs(envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* const* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_logger_configs(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_rbac_v3_RBAC_AuditLoggingOptions_logger_configs_upb_array(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_rbac_v3_RBAC_AuditLoggingOptions_logger_configs_mutable_upb_array(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_rbac_v3_RBAC_AuditLoggingOptions_has_logger_configs(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg) { + size_t size; + envoy_config_rbac_v3_RBAC_AuditLoggingOptions_logger_configs(msg, &size); + return size != 0; +} + +UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_set_audit_condition(envoy_config_rbac_v3_RBAC_AuditLoggingOptions *msg, int32_t value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig** envoy_config_rbac_v3_RBAC_AuditLoggingOptions_mutable_logger_configs(envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig** envoy_config_rbac_v3_RBAC_AuditLoggingOptions_resize_logger_configs(envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_add_logger_configs(envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* sub = (struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig*)_upb_Message_New(&envoy__config__rbac__v3__RBAC__AuditLoggingOptions__AuditLoggerConfig_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.rbac.v3.RBAC.AuditLoggingOptions.AuditLoggerConfig */ + +UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_new(upb_Arena* arena) { + return (envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig*)_upb_Message_New(&envoy__config__rbac__v3__RBAC__AuditLoggingOptions__AuditLoggerConfig_msg_init, arena); +} +UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* ret = envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__RBAC__AuditLoggingOptions__AuditLoggerConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* ret = envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__RBAC__AuditLoggingOptions__AuditLoggerConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_serialize(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__RBAC__AuditLoggingOptions__AuditLoggerConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_serialize_ex(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__RBAC__AuditLoggingOptions__AuditLoggerConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_clear_audit_logger(envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_audit_logger(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_has_audit_logger(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_clear_is_optional(envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_is_optional(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_set_audit_logger(envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_mutable_audit_logger(envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_audit_logger(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_set_audit_logger(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_set_is_optional(envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig *msg, bool value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.rbac.v3.RBAC.PoliciesEntry */ + +UPB_INLINE upb_StringView envoy_config_rbac_v3_RBAC_PoliciesEntry_key(const envoy_config_rbac_v3_RBAC_PoliciesEntry* msg) { + upb_StringView ret; + _upb_msg_map_key(msg, &ret, 0); + return ret; +} +UPB_INLINE const envoy_config_rbac_v3_Policy* envoy_config_rbac_v3_RBAC_PoliciesEntry_value(const envoy_config_rbac_v3_RBAC_PoliciesEntry* msg) { + envoy_config_rbac_v3_Policy* ret; + _upb_msg_map_value(msg, &ret, sizeof(ret)); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_RBAC_PoliciesEntry_has_value(const envoy_config_rbac_v3_RBAC_PoliciesEntry* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_rbac_v3_RBAC_PoliciesEntry_set_value(envoy_config_rbac_v3_RBAC_PoliciesEntry *msg, envoy_config_rbac_v3_Policy* value) { + _upb_msg_map_set_value(msg, &value, sizeof(envoy_config_rbac_v3_Policy*)); +} + +/* envoy.config.rbac.v3.Policy */ + +UPB_INLINE envoy_config_rbac_v3_Policy* envoy_config_rbac_v3_Policy_new(upb_Arena* arena) { + return (envoy_config_rbac_v3_Policy*)_upb_Message_New(&envoy__config__rbac__v3__Policy_msg_init, arena); +} +UPB_INLINE envoy_config_rbac_v3_Policy* envoy_config_rbac_v3_Policy_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_rbac_v3_Policy* ret = envoy_config_rbac_v3_Policy_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Policy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_rbac_v3_Policy* envoy_config_rbac_v3_Policy_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_rbac_v3_Policy* ret = envoy_config_rbac_v3_Policy_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Policy_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_rbac_v3_Policy_serialize(const envoy_config_rbac_v3_Policy* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Policy_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_rbac_v3_Policy_serialize_ex(const envoy_config_rbac_v3_Policy* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Policy_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_rbac_v3_Policy_clear_permissions(envoy_config_rbac_v3_Policy* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_rbac_v3_Permission* const* envoy_config_rbac_v3_Policy_permissions(const envoy_config_rbac_v3_Policy* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_rbac_v3_Permission* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_rbac_v3_Policy_permissions_upb_array(const envoy_config_rbac_v3_Policy* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_rbac_v3_Policy_permissions_mutable_upb_array(const envoy_config_rbac_v3_Policy* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_rbac_v3_Policy_has_permissions(const envoy_config_rbac_v3_Policy* msg) { + size_t size; + envoy_config_rbac_v3_Policy_permissions(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_rbac_v3_Policy_clear_principals(envoy_config_rbac_v3_Policy* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_rbac_v3_Principal* const* envoy_config_rbac_v3_Policy_principals(const envoy_config_rbac_v3_Policy* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_rbac_v3_Principal* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_rbac_v3_Policy_principals_upb_array(const envoy_config_rbac_v3_Policy* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_rbac_v3_Policy_principals_mutable_upb_array(const envoy_config_rbac_v3_Policy* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_rbac_v3_Policy_has_principals(const envoy_config_rbac_v3_Policy* msg) { + size_t size; + envoy_config_rbac_v3_Policy_principals(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_rbac_v3_Policy_clear_condition(envoy_config_rbac_v3_Policy* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_api_expr_v1alpha1_Expr* envoy_config_rbac_v3_Policy_condition(const envoy_config_rbac_v3_Policy* msg) { + const struct google_api_expr_v1alpha1_Expr* default_val = NULL; + const struct google_api_expr_v1alpha1_Expr* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Policy_has_condition(const envoy_config_rbac_v3_Policy* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Policy_clear_checked_condition(envoy_config_rbac_v3_Policy* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_api_expr_v1alpha1_CheckedExpr* envoy_config_rbac_v3_Policy_checked_condition(const envoy_config_rbac_v3_Policy* msg) { + const struct google_api_expr_v1alpha1_CheckedExpr* default_val = NULL; + const struct google_api_expr_v1alpha1_CheckedExpr* ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Policy_has_checked_condition(const envoy_config_rbac_v3_Policy* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE envoy_config_rbac_v3_Permission** envoy_config_rbac_v3_Policy_mutable_permissions(envoy_config_rbac_v3_Policy* msg, size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_rbac_v3_Permission**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_rbac_v3_Permission** envoy_config_rbac_v3_Policy_resize_permissions(envoy_config_rbac_v3_Policy* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_rbac_v3_Permission**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Policy_add_permissions(envoy_config_rbac_v3_Policy* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_rbac_v3_Permission* sub = (struct envoy_config_rbac_v3_Permission*)_upb_Message_New(&envoy__config__rbac__v3__Permission_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE envoy_config_rbac_v3_Principal** envoy_config_rbac_v3_Policy_mutable_principals(envoy_config_rbac_v3_Policy* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_rbac_v3_Principal**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_rbac_v3_Principal** envoy_config_rbac_v3_Policy_resize_principals(envoy_config_rbac_v3_Policy* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_rbac_v3_Principal**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Policy_add_principals(envoy_config_rbac_v3_Policy* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_rbac_v3_Principal* sub = (struct envoy_config_rbac_v3_Principal*)_upb_Message_New(&envoy__config__rbac__v3__Principal_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Policy_set_condition(envoy_config_rbac_v3_Policy *msg, struct google_api_expr_v1alpha1_Expr* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_api_expr_v1alpha1_Expr* envoy_config_rbac_v3_Policy_mutable_condition(envoy_config_rbac_v3_Policy* msg, upb_Arena* arena) { + struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)envoy_config_rbac_v3_Policy_condition(msg); + if (sub == NULL) { + sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); + if (sub) envoy_config_rbac_v3_Policy_set_condition(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Policy_set_checked_condition(envoy_config_rbac_v3_Policy *msg, struct google_api_expr_v1alpha1_CheckedExpr* value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_api_expr_v1alpha1_CheckedExpr* envoy_config_rbac_v3_Policy_mutable_checked_condition(envoy_config_rbac_v3_Policy* msg, upb_Arena* arena) { + struct google_api_expr_v1alpha1_CheckedExpr* sub = (struct google_api_expr_v1alpha1_CheckedExpr*)envoy_config_rbac_v3_Policy_checked_condition(msg); + if (sub == NULL) { + sub = (struct google_api_expr_v1alpha1_CheckedExpr*)_upb_Message_New(&google__api__expr__v1alpha1__CheckedExpr_msg_init, arena); + if (sub) envoy_config_rbac_v3_Policy_set_checked_condition(msg, sub); + } + return sub; +} + +/* envoy.config.rbac.v3.Permission */ + +UPB_INLINE envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Permission_new(upb_Arena* arena) { + return (envoy_config_rbac_v3_Permission*)_upb_Message_New(&envoy__config__rbac__v3__Permission_msg_init, arena); +} +UPB_INLINE envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Permission_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_rbac_v3_Permission* ret = envoy_config_rbac_v3_Permission_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Permission_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Permission_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_rbac_v3_Permission* ret = envoy_config_rbac_v3_Permission_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Permission_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_rbac_v3_Permission_serialize(const envoy_config_rbac_v3_Permission* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Permission_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_rbac_v3_Permission_serialize_ex(const envoy_config_rbac_v3_Permission* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Permission_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_rbac_v3_Permission_rule_and_rules = 1, + envoy_config_rbac_v3_Permission_rule_or_rules = 2, + envoy_config_rbac_v3_Permission_rule_any = 3, + envoy_config_rbac_v3_Permission_rule_header = 4, + envoy_config_rbac_v3_Permission_rule_url_path = 10, + envoy_config_rbac_v3_Permission_rule_destination_ip = 5, + envoy_config_rbac_v3_Permission_rule_destination_port = 6, + envoy_config_rbac_v3_Permission_rule_destination_port_range = 11, + envoy_config_rbac_v3_Permission_rule_metadata = 7, + envoy_config_rbac_v3_Permission_rule_not_rule = 8, + envoy_config_rbac_v3_Permission_rule_requested_server_name = 9, + envoy_config_rbac_v3_Permission_rule_matcher = 12, + envoy_config_rbac_v3_Permission_rule_NOT_SET = 0 +} envoy_config_rbac_v3_Permission_rule_oneofcases; +UPB_INLINE envoy_config_rbac_v3_Permission_rule_oneofcases envoy_config_rbac_v3_Permission_rule_case(const envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_rbac_v3_Permission_rule_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_clear_and_rules(envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_and_rules(const envoy_config_rbac_v3_Permission* msg) { + const envoy_config_rbac_v3_Permission_Set* default_val = NULL; + const envoy_config_rbac_v3_Permission_Set* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_has_and_rules(const envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_clear_or_rules(envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_or_rules(const envoy_config_rbac_v3_Permission* msg) { + const envoy_config_rbac_v3_Permission_Set* default_val = NULL; + const envoy_config_rbac_v3_Permission_Set* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_has_or_rules(const envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_clear_any(envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_any(const envoy_config_rbac_v3_Permission* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_has_any(const envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_clear_header(envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* envoy_config_rbac_v3_Permission_header(const envoy_config_rbac_v3_Permission* msg) { + const struct envoy_config_route_v3_HeaderMatcher* default_val = NULL; + const struct envoy_config_route_v3_HeaderMatcher* ret; + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_has_header(const envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_clear_destination_ip(envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Permission_destination_ip(const envoy_config_rbac_v3_Permission* msg) { + const struct envoy_config_core_v3_CidrRange* default_val = NULL; + const struct envoy_config_core_v3_CidrRange* ret; + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_has_destination_ip(const envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_clear_destination_port(envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint32_t envoy_config_rbac_v3_Permission_destination_port(const envoy_config_rbac_v3_Permission* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_has_destination_port(const envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_clear_metadata(envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_rbac_v3_Permission_metadata(const envoy_config_rbac_v3_Permission* msg) { + const struct envoy_type_matcher_v3_MetadataMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_MetadataMatcher* ret; + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_has_metadata(const envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_clear_not_rule(envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Permission_not_rule(const envoy_config_rbac_v3_Permission* msg) { + const envoy_config_rbac_v3_Permission* default_val = NULL; + const envoy_config_rbac_v3_Permission* ret; + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_has_not_rule(const envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_clear_requested_server_name(envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* envoy_config_rbac_v3_Permission_requested_server_name(const envoy_config_rbac_v3_Permission* msg) { + const struct envoy_type_matcher_v3_StringMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_StringMatcher* ret; + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_has_requested_server_name(const envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_clear_url_path(envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_PathMatcher* envoy_config_rbac_v3_Permission_url_path(const envoy_config_rbac_v3_Permission* msg) { + const struct envoy_type_matcher_v3_PathMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_PathMatcher* ret; + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_has_url_path(const envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_clear_destination_port_range(envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_v3_Int32Range* envoy_config_rbac_v3_Permission_destination_port_range(const envoy_config_rbac_v3_Permission* msg) { + const struct envoy_type_v3_Int32Range* default_val = NULL; + const struct envoy_type_v3_Int32Range* ret; + const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_has_destination_port_range(const envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_clear_matcher(envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_rbac_v3_Permission_matcher(const envoy_config_rbac_v3_Permission* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_has_matcher(const envoy_config_rbac_v3_Permission* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_rbac_v3_Permission_set_and_rules(envoy_config_rbac_v3_Permission *msg, envoy_config_rbac_v3_Permission_Set* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_mutable_and_rules(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { + struct envoy_config_rbac_v3_Permission_Set* sub = (struct envoy_config_rbac_v3_Permission_Set*)envoy_config_rbac_v3_Permission_and_rules(msg); + if (sub == NULL) { + sub = (struct envoy_config_rbac_v3_Permission_Set*)_upb_Message_New(&envoy__config__rbac__v3__Permission__Set_msg_init, arena); + if (sub) envoy_config_rbac_v3_Permission_set_and_rules(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Permission_set_or_rules(envoy_config_rbac_v3_Permission *msg, envoy_config_rbac_v3_Permission_Set* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_mutable_or_rules(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { + struct envoy_config_rbac_v3_Permission_Set* sub = (struct envoy_config_rbac_v3_Permission_Set*)envoy_config_rbac_v3_Permission_or_rules(msg); + if (sub == NULL) { + sub = (struct envoy_config_rbac_v3_Permission_Set*)_upb_Message_New(&envoy__config__rbac__v3__Permission__Set_msg_init, arena); + if (sub) envoy_config_rbac_v3_Permission_set_or_rules(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Permission_set_any(envoy_config_rbac_v3_Permission *msg, bool value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_set_header(envoy_config_rbac_v3_Permission *msg, struct envoy_config_route_v3_HeaderMatcher* value) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_rbac_v3_Permission_mutable_header(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { + struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)envoy_config_rbac_v3_Permission_header(msg); + if (sub == NULL) { + sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena); + if (sub) envoy_config_rbac_v3_Permission_set_header(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Permission_set_destination_ip(envoy_config_rbac_v3_Permission *msg, struct envoy_config_core_v3_CidrRange* value) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Permission_mutable_destination_ip(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { + struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)envoy_config_rbac_v3_Permission_destination_ip(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy__config__core__v3__CidrRange_msg_init, arena); + if (sub) envoy_config_rbac_v3_Permission_set_destination_ip(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Permission_set_destination_port(envoy_config_rbac_v3_Permission *msg, uint32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_rbac_v3_Permission_set_metadata(envoy_config_rbac_v3_Permission *msg, struct envoy_type_matcher_v3_MetadataMatcher* value) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_rbac_v3_Permission_mutable_metadata(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_MetadataMatcher* sub = (struct envoy_type_matcher_v3_MetadataMatcher*)envoy_config_rbac_v3_Permission_metadata(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_MetadataMatcher*)_upb_Message_New(&envoy__type__matcher__v3__MetadataMatcher_msg_init, arena); + if (sub) envoy_config_rbac_v3_Permission_set_metadata(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Permission_set_not_rule(envoy_config_rbac_v3_Permission *msg, envoy_config_rbac_v3_Permission* value) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Permission_mutable_not_rule(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { + struct envoy_config_rbac_v3_Permission* sub = (struct envoy_config_rbac_v3_Permission*)envoy_config_rbac_v3_Permission_not_rule(msg); + if (sub == NULL) { + sub = (struct envoy_config_rbac_v3_Permission*)_upb_Message_New(&envoy__config__rbac__v3__Permission_msg_init, arena); + if (sub) envoy_config_rbac_v3_Permission_set_not_rule(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Permission_set_requested_server_name(envoy_config_rbac_v3_Permission *msg, struct envoy_type_matcher_v3_StringMatcher* value) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_rbac_v3_Permission_mutable_requested_server_name(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_config_rbac_v3_Permission_requested_server_name(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); + if (sub) envoy_config_rbac_v3_Permission_set_requested_server_name(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Permission_set_url_path(envoy_config_rbac_v3_Permission *msg, struct envoy_type_matcher_v3_PathMatcher* value) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_PathMatcher* envoy_config_rbac_v3_Permission_mutable_url_path(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_PathMatcher* sub = (struct envoy_type_matcher_v3_PathMatcher*)envoy_config_rbac_v3_Permission_url_path(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_PathMatcher*)_upb_Message_New(&envoy__type__matcher__v3__PathMatcher_msg_init, arena); + if (sub) envoy_config_rbac_v3_Permission_set_url_path(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Permission_set_destination_port_range(envoy_config_rbac_v3_Permission *msg, struct envoy_type_v3_Int32Range* value) { + const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_v3_Int32Range* envoy_config_rbac_v3_Permission_mutable_destination_port_range(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { + struct envoy_type_v3_Int32Range* sub = (struct envoy_type_v3_Int32Range*)envoy_config_rbac_v3_Permission_destination_port_range(msg); + if (sub == NULL) { + sub = (struct envoy_type_v3_Int32Range*)_upb_Message_New(&envoy__type__v3__Int32Range_msg_init, arena); + if (sub) envoy_config_rbac_v3_Permission_set_destination_port_range(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Permission_set_matcher(envoy_config_rbac_v3_Permission *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_rbac_v3_Permission_mutable_matcher(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_rbac_v3_Permission_matcher(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_config_rbac_v3_Permission_set_matcher(msg, sub); + } + return sub; +} + +/* envoy.config.rbac.v3.Permission.Set */ + +UPB_INLINE envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_Set_new(upb_Arena* arena) { + return (envoy_config_rbac_v3_Permission_Set*)_upb_Message_New(&envoy__config__rbac__v3__Permission__Set_msg_init, arena); +} +UPB_INLINE envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_Set_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_rbac_v3_Permission_Set* ret = envoy_config_rbac_v3_Permission_Set_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Permission__Set_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_Set_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_rbac_v3_Permission_Set* ret = envoy_config_rbac_v3_Permission_Set_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Permission__Set_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_rbac_v3_Permission_Set_serialize(const envoy_config_rbac_v3_Permission_Set* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Permission__Set_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_rbac_v3_Permission_Set_serialize_ex(const envoy_config_rbac_v3_Permission_Set* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Permission__Set_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_rbac_v3_Permission_Set_clear_rules(envoy_config_rbac_v3_Permission_Set* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_rbac_v3_Permission* const* envoy_config_rbac_v3_Permission_Set_rules(const envoy_config_rbac_v3_Permission_Set* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_rbac_v3_Permission* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_rbac_v3_Permission_Set_rules_upb_array(const envoy_config_rbac_v3_Permission_Set* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_rbac_v3_Permission_Set_rules_mutable_upb_array(const envoy_config_rbac_v3_Permission_Set* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_rbac_v3_Permission_Set_has_rules(const envoy_config_rbac_v3_Permission_Set* msg) { + size_t size; + envoy_config_rbac_v3_Permission_Set_rules(msg, &size); + return size != 0; +} + +UPB_INLINE envoy_config_rbac_v3_Permission** envoy_config_rbac_v3_Permission_Set_mutable_rules(envoy_config_rbac_v3_Permission_Set* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_rbac_v3_Permission**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_rbac_v3_Permission** envoy_config_rbac_v3_Permission_Set_resize_rules(envoy_config_rbac_v3_Permission_Set* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_rbac_v3_Permission**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Permission_Set_add_rules(envoy_config_rbac_v3_Permission_Set* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_rbac_v3_Permission* sub = (struct envoy_config_rbac_v3_Permission*)_upb_Message_New(&envoy__config__rbac__v3__Permission_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.rbac.v3.Principal */ + +UPB_INLINE envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Principal_new(upb_Arena* arena) { + return (envoy_config_rbac_v3_Principal*)_upb_Message_New(&envoy__config__rbac__v3__Principal_msg_init, arena); +} +UPB_INLINE envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Principal_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_rbac_v3_Principal* ret = envoy_config_rbac_v3_Principal_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Principal_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Principal_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_rbac_v3_Principal* ret = envoy_config_rbac_v3_Principal_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Principal_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_rbac_v3_Principal_serialize(const envoy_config_rbac_v3_Principal* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Principal_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_rbac_v3_Principal_serialize_ex(const envoy_config_rbac_v3_Principal* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Principal_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_rbac_v3_Principal_identifier_and_ids = 1, + envoy_config_rbac_v3_Principal_identifier_or_ids = 2, + envoy_config_rbac_v3_Principal_identifier_any = 3, + envoy_config_rbac_v3_Principal_identifier_authenticated = 4, + envoy_config_rbac_v3_Principal_identifier_source_ip = 5, + envoy_config_rbac_v3_Principal_identifier_direct_remote_ip = 10, + envoy_config_rbac_v3_Principal_identifier_remote_ip = 11, + envoy_config_rbac_v3_Principal_identifier_header = 6, + envoy_config_rbac_v3_Principal_identifier_url_path = 9, + envoy_config_rbac_v3_Principal_identifier_metadata = 7, + envoy_config_rbac_v3_Principal_identifier_filter_state = 12, + envoy_config_rbac_v3_Principal_identifier_not_id = 8, + envoy_config_rbac_v3_Principal_identifier_NOT_SET = 0 +} envoy_config_rbac_v3_Principal_identifier_oneofcases; +UPB_INLINE envoy_config_rbac_v3_Principal_identifier_oneofcases envoy_config_rbac_v3_Principal_identifier_case(const envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_rbac_v3_Principal_identifier_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Principal_clear_and_ids(envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_and_ids(const envoy_config_rbac_v3_Principal* msg) { + const envoy_config_rbac_v3_Principal_Set* default_val = NULL; + const envoy_config_rbac_v3_Principal_Set* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_has_and_ids(const envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Principal_clear_or_ids(envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_or_ids(const envoy_config_rbac_v3_Principal* msg) { + const envoy_config_rbac_v3_Principal_Set* default_val = NULL; + const envoy_config_rbac_v3_Principal_Set* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_has_or_ids(const envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Principal_clear_any(envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_any(const envoy_config_rbac_v3_Principal* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_has_any(const envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Principal_clear_authenticated(envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_rbac_v3_Principal_Authenticated* envoy_config_rbac_v3_Principal_authenticated(const envoy_config_rbac_v3_Principal* msg) { + const envoy_config_rbac_v3_Principal_Authenticated* default_val = NULL; + const envoy_config_rbac_v3_Principal_Authenticated* ret; + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_has_authenticated(const envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Principal_clear_source_ip(envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_source_ip(const envoy_config_rbac_v3_Principal* msg) { + const struct envoy_config_core_v3_CidrRange* default_val = NULL; + const struct envoy_config_core_v3_CidrRange* ret; + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_has_source_ip(const envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Principal_clear_header(envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* envoy_config_rbac_v3_Principal_header(const envoy_config_rbac_v3_Principal* msg) { + const struct envoy_config_route_v3_HeaderMatcher* default_val = NULL; + const struct envoy_config_route_v3_HeaderMatcher* ret; + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_has_header(const envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Principal_clear_metadata(envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_rbac_v3_Principal_metadata(const envoy_config_rbac_v3_Principal* msg) { + const struct envoy_type_matcher_v3_MetadataMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_MetadataMatcher* ret; + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_has_metadata(const envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Principal_clear_not_id(envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Principal_not_id(const envoy_config_rbac_v3_Principal* msg) { + const envoy_config_rbac_v3_Principal* default_val = NULL; + const envoy_config_rbac_v3_Principal* ret; + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_has_not_id(const envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Principal_clear_url_path(envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_PathMatcher* envoy_config_rbac_v3_Principal_url_path(const envoy_config_rbac_v3_Principal* msg) { + const struct envoy_type_matcher_v3_PathMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_PathMatcher* ret; + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_has_url_path(const envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Principal_clear_direct_remote_ip(envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_direct_remote_ip(const envoy_config_rbac_v3_Principal* msg) { + const struct envoy_config_core_v3_CidrRange* default_val = NULL; + const struct envoy_config_core_v3_CidrRange* ret; + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_has_direct_remote_ip(const envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Principal_clear_remote_ip(envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_remote_ip(const envoy_config_rbac_v3_Principal* msg) { + const struct envoy_config_core_v3_CidrRange* default_val = NULL; + const struct envoy_config_core_v3_CidrRange* ret; + const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_has_remote_ip(const envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_rbac_v3_Principal_clear_filter_state(envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_FilterStateMatcher* envoy_config_rbac_v3_Principal_filter_state(const envoy_config_rbac_v3_Principal* msg) { + const struct envoy_type_matcher_v3_FilterStateMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_FilterStateMatcher* ret; + const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_has_filter_state(const envoy_config_rbac_v3_Principal* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_rbac_v3_Principal_set_and_ids(envoy_config_rbac_v3_Principal *msg, envoy_config_rbac_v3_Principal_Set* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_mutable_and_ids(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { + struct envoy_config_rbac_v3_Principal_Set* sub = (struct envoy_config_rbac_v3_Principal_Set*)envoy_config_rbac_v3_Principal_and_ids(msg); + if (sub == NULL) { + sub = (struct envoy_config_rbac_v3_Principal_Set*)_upb_Message_New(&envoy__config__rbac__v3__Principal__Set_msg_init, arena); + if (sub) envoy_config_rbac_v3_Principal_set_and_ids(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Principal_set_or_ids(envoy_config_rbac_v3_Principal *msg, envoy_config_rbac_v3_Principal_Set* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_mutable_or_ids(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { + struct envoy_config_rbac_v3_Principal_Set* sub = (struct envoy_config_rbac_v3_Principal_Set*)envoy_config_rbac_v3_Principal_or_ids(msg); + if (sub == NULL) { + sub = (struct envoy_config_rbac_v3_Principal_Set*)_upb_Message_New(&envoy__config__rbac__v3__Principal__Set_msg_init, arena); + if (sub) envoy_config_rbac_v3_Principal_set_or_ids(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Principal_set_any(envoy_config_rbac_v3_Principal *msg, bool value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_rbac_v3_Principal_set_authenticated(envoy_config_rbac_v3_Principal *msg, envoy_config_rbac_v3_Principal_Authenticated* value) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_rbac_v3_Principal_Authenticated* envoy_config_rbac_v3_Principal_mutable_authenticated(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { + struct envoy_config_rbac_v3_Principal_Authenticated* sub = (struct envoy_config_rbac_v3_Principal_Authenticated*)envoy_config_rbac_v3_Principal_authenticated(msg); + if (sub == NULL) { + sub = (struct envoy_config_rbac_v3_Principal_Authenticated*)_upb_Message_New(&envoy__config__rbac__v3__Principal__Authenticated_msg_init, arena); + if (sub) envoy_config_rbac_v3_Principal_set_authenticated(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Principal_set_source_ip(envoy_config_rbac_v3_Principal *msg, struct envoy_config_core_v3_CidrRange* value) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_mutable_source_ip(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { + struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)envoy_config_rbac_v3_Principal_source_ip(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy__config__core__v3__CidrRange_msg_init, arena); + if (sub) envoy_config_rbac_v3_Principal_set_source_ip(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Principal_set_header(envoy_config_rbac_v3_Principal *msg, struct envoy_config_route_v3_HeaderMatcher* value) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_rbac_v3_Principal_mutable_header(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { + struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)envoy_config_rbac_v3_Principal_header(msg); + if (sub == NULL) { + sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena); + if (sub) envoy_config_rbac_v3_Principal_set_header(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Principal_set_metadata(envoy_config_rbac_v3_Principal *msg, struct envoy_type_matcher_v3_MetadataMatcher* value) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_rbac_v3_Principal_mutable_metadata(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_MetadataMatcher* sub = (struct envoy_type_matcher_v3_MetadataMatcher*)envoy_config_rbac_v3_Principal_metadata(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_MetadataMatcher*)_upb_Message_New(&envoy__type__matcher__v3__MetadataMatcher_msg_init, arena); + if (sub) envoy_config_rbac_v3_Principal_set_metadata(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Principal_set_not_id(envoy_config_rbac_v3_Principal *msg, envoy_config_rbac_v3_Principal* value) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Principal_mutable_not_id(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { + struct envoy_config_rbac_v3_Principal* sub = (struct envoy_config_rbac_v3_Principal*)envoy_config_rbac_v3_Principal_not_id(msg); + if (sub == NULL) { + sub = (struct envoy_config_rbac_v3_Principal*)_upb_Message_New(&envoy__config__rbac__v3__Principal_msg_init, arena); + if (sub) envoy_config_rbac_v3_Principal_set_not_id(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Principal_set_url_path(envoy_config_rbac_v3_Principal *msg, struct envoy_type_matcher_v3_PathMatcher* value) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_PathMatcher* envoy_config_rbac_v3_Principal_mutable_url_path(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_PathMatcher* sub = (struct envoy_type_matcher_v3_PathMatcher*)envoy_config_rbac_v3_Principal_url_path(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_PathMatcher*)_upb_Message_New(&envoy__type__matcher__v3__PathMatcher_msg_init, arena); + if (sub) envoy_config_rbac_v3_Principal_set_url_path(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Principal_set_direct_remote_ip(envoy_config_rbac_v3_Principal *msg, struct envoy_config_core_v3_CidrRange* value) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_mutable_direct_remote_ip(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { + struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)envoy_config_rbac_v3_Principal_direct_remote_ip(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy__config__core__v3__CidrRange_msg_init, arena); + if (sub) envoy_config_rbac_v3_Principal_set_direct_remote_ip(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Principal_set_remote_ip(envoy_config_rbac_v3_Principal *msg, struct envoy_config_core_v3_CidrRange* value) { + const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_mutable_remote_ip(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { + struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)envoy_config_rbac_v3_Principal_remote_ip(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy__config__core__v3__CidrRange_msg_init, arena); + if (sub) envoy_config_rbac_v3_Principal_set_remote_ip(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_rbac_v3_Principal_set_filter_state(envoy_config_rbac_v3_Principal *msg, struct envoy_type_matcher_v3_FilterStateMatcher* value) { + const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_FilterStateMatcher* envoy_config_rbac_v3_Principal_mutable_filter_state(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_FilterStateMatcher* sub = (struct envoy_type_matcher_v3_FilterStateMatcher*)envoy_config_rbac_v3_Principal_filter_state(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_FilterStateMatcher*)_upb_Message_New(&envoy__type__matcher__v3__FilterStateMatcher_msg_init, arena); + if (sub) envoy_config_rbac_v3_Principal_set_filter_state(msg, sub); + } + return sub; +} + +/* envoy.config.rbac.v3.Principal.Set */ + +UPB_INLINE envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_Set_new(upb_Arena* arena) { + return (envoy_config_rbac_v3_Principal_Set*)_upb_Message_New(&envoy__config__rbac__v3__Principal__Set_msg_init, arena); +} +UPB_INLINE envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_Set_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_rbac_v3_Principal_Set* ret = envoy_config_rbac_v3_Principal_Set_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Principal__Set_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_Set_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_rbac_v3_Principal_Set* ret = envoy_config_rbac_v3_Principal_Set_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Principal__Set_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_rbac_v3_Principal_Set_serialize(const envoy_config_rbac_v3_Principal_Set* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Principal__Set_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_rbac_v3_Principal_Set_serialize_ex(const envoy_config_rbac_v3_Principal_Set* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Principal__Set_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_rbac_v3_Principal_Set_clear_ids(envoy_config_rbac_v3_Principal_Set* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_rbac_v3_Principal* const* envoy_config_rbac_v3_Principal_Set_ids(const envoy_config_rbac_v3_Principal_Set* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_rbac_v3_Principal* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_rbac_v3_Principal_Set_ids_upb_array(const envoy_config_rbac_v3_Principal_Set* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_rbac_v3_Principal_Set_ids_mutable_upb_array(const envoy_config_rbac_v3_Principal_Set* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_Set_has_ids(const envoy_config_rbac_v3_Principal_Set* msg) { + size_t size; + envoy_config_rbac_v3_Principal_Set_ids(msg, &size); + return size != 0; +} + +UPB_INLINE envoy_config_rbac_v3_Principal** envoy_config_rbac_v3_Principal_Set_mutable_ids(envoy_config_rbac_v3_Principal_Set* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_rbac_v3_Principal**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_rbac_v3_Principal** envoy_config_rbac_v3_Principal_Set_resize_ids(envoy_config_rbac_v3_Principal_Set* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_rbac_v3_Principal**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Principal_Set_add_ids(envoy_config_rbac_v3_Principal_Set* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_rbac_v3_Principal* sub = (struct envoy_config_rbac_v3_Principal*)_upb_Message_New(&envoy__config__rbac__v3__Principal_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.rbac.v3.Principal.Authenticated */ + +UPB_INLINE envoy_config_rbac_v3_Principal_Authenticated* envoy_config_rbac_v3_Principal_Authenticated_new(upb_Arena* arena) { + return (envoy_config_rbac_v3_Principal_Authenticated*)_upb_Message_New(&envoy__config__rbac__v3__Principal__Authenticated_msg_init, arena); +} +UPB_INLINE envoy_config_rbac_v3_Principal_Authenticated* envoy_config_rbac_v3_Principal_Authenticated_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_rbac_v3_Principal_Authenticated* ret = envoy_config_rbac_v3_Principal_Authenticated_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Principal__Authenticated_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_rbac_v3_Principal_Authenticated* envoy_config_rbac_v3_Principal_Authenticated_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_rbac_v3_Principal_Authenticated* ret = envoy_config_rbac_v3_Principal_Authenticated_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Principal__Authenticated_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_rbac_v3_Principal_Authenticated_serialize(const envoy_config_rbac_v3_Principal_Authenticated* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Principal__Authenticated_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_rbac_v3_Principal_Authenticated_serialize_ex(const envoy_config_rbac_v3_Principal_Authenticated* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Principal__Authenticated_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_rbac_v3_Principal_Authenticated_clear_principal_name(envoy_config_rbac_v3_Principal_Authenticated* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* envoy_config_rbac_v3_Principal_Authenticated_principal_name(const envoy_config_rbac_v3_Principal_Authenticated* msg) { + const struct envoy_type_matcher_v3_StringMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_StringMatcher* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_rbac_v3_Principal_Authenticated_has_principal_name(const envoy_config_rbac_v3_Principal_Authenticated* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_rbac_v3_Principal_Authenticated_set_principal_name(envoy_config_rbac_v3_Principal_Authenticated *msg, struct envoy_type_matcher_v3_StringMatcher* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_rbac_v3_Principal_Authenticated_mutable_principal_name(envoy_config_rbac_v3_Principal_Authenticated* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_config_rbac_v3_Principal_Authenticated_principal_name(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); + if (sub) envoy_config_rbac_v3_Principal_Authenticated_set_principal_name(msg, sub); + } + return sub; +} + +/* envoy.config.rbac.v3.Action */ + +UPB_INLINE envoy_config_rbac_v3_Action* envoy_config_rbac_v3_Action_new(upb_Arena* arena) { + return (envoy_config_rbac_v3_Action*)_upb_Message_New(&envoy__config__rbac__v3__Action_msg_init, arena); +} +UPB_INLINE envoy_config_rbac_v3_Action* envoy_config_rbac_v3_Action_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_rbac_v3_Action* ret = envoy_config_rbac_v3_Action_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Action_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_rbac_v3_Action* envoy_config_rbac_v3_Action_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_rbac_v3_Action* ret = envoy_config_rbac_v3_Action_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__rbac__v3__Action_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_rbac_v3_Action_serialize(const envoy_config_rbac_v3_Action* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Action_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_rbac_v3_Action_serialize_ex(const envoy_config_rbac_v3_Action* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__rbac__v3__Action_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_rbac_v3_Action_clear_name(envoy_config_rbac_v3_Action* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_rbac_v3_Action_name(const envoy_config_rbac_v3_Action* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_rbac_v3_Action_clear_action(envoy_config_rbac_v3_Action* msg) { + const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_config_rbac_v3_Action_action(const envoy_config_rbac_v3_Action* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_config_rbac_v3_Action_set_name(envoy_config_rbac_v3_Action *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_rbac_v3_Action_set_action(envoy_config_rbac_v3_Action *msg, int32_t value) { + const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c new file mode 100644 index 00000000000..4d44625dd2a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c @@ -0,0 +1,348 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/rbac/v3/rbac.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/rbac/v3/rbac.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/route/v3/route_components.upb_minitable.h" +#include "envoy/type/matcher/v3/filter_state.upb_minitable.h" +#include "envoy/type/matcher/v3/metadata.upb_minitable.h" +#include "envoy/type/matcher/v3/path.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "envoy/type/v3/range.upb_minitable.h" +#include "google/api/expr/v1alpha1/checked.upb_minitable.h" +#include "google/api/expr/v1alpha1/syntax.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_rbac_v3_RBAC_submsgs[2] = { + {.submsg = &envoy__config__rbac__v3__RBAC__PoliciesEntry_msg_init}, + {.submsg = &envoy__config__rbac__v3__RBAC__AuditLoggingOptions_msg_init}, +}; + +static const upb_MiniTableField envoy_config_rbac_v3_RBAC__fields[3] = { + {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__rbac__v3__RBAC_msg_init = { + &envoy_config_rbac_v3_RBAC_submsgs[0], + &envoy_config_rbac_v3_RBAC__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000000101001a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_rbac_v3_RBAC_AuditLoggingOptions_submsgs[1] = { + {.submsg = &envoy__config__rbac__v3__RBAC__AuditLoggingOptions__AuditLoggerConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_rbac_v3_RBAC_AuditLoggingOptions__fields[2] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__rbac__v3__RBAC__AuditLoggingOptions_msg_init = { + &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_submsgs[0], + &envoy_config_rbac_v3_RBAC_AuditLoggingOptions__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000800003f000012, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_submsgs[1] = { + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__rbac__v3__RBAC__AuditLoggingOptions__AuditLoggerConfig_msg_init = { + &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_submsgs[0], + &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_rbac_v3_RBAC_PoliciesEntry_submsgs[1] = { + {.submsg = &envoy__config__rbac__v3__Policy_msg_init}, +}; + +static const upb_MiniTableField envoy_config_rbac_v3_RBAC_PoliciesEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__rbac__v3__RBAC__PoliciesEntry_msg_init = { + &envoy_config_rbac_v3_RBAC_PoliciesEntry_submsgs[0], + &envoy_config_rbac_v3_RBAC_PoliciesEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_rbac_v3_Policy_submsgs[4] = { + {.submsg = &envoy__config__rbac__v3__Permission_msg_init}, + {.submsg = &envoy__config__rbac__v3__Principal_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, + {.submsg = &google__api__expr__v1alpha1__CheckedExpr_msg_init}, +}; + +static const upb_MiniTableField envoy_config_rbac_v3_Policy__fields[4] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__rbac__v3__Policy_msg_init = { + &envoy_config_rbac_v3_Policy_submsgs[0], + &envoy_config_rbac_v3_Policy__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_max64b}, + {0x001000003f010012, &upb_prm_1bt_max64b}, + {0x001800000102001a, &upb_psm_1bt_maxmaxb}, + {0x0020000002030022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_rbac_v3_Permission_submsgs[10] = { + {.submsg = &envoy__config__rbac__v3__Permission__Set_msg_init}, + {.submsg = &envoy__config__rbac__v3__Permission__Set_msg_init}, + {.submsg = &envoy__config__route__v3__HeaderMatcher_msg_init}, + {.submsg = &envoy__config__core__v3__CidrRange_msg_init}, + {.submsg = &envoy__type__matcher__v3__MetadataMatcher_msg_init}, + {.submsg = &envoy__config__rbac__v3__Permission_msg_init}, + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, + {.submsg = &envoy__type__matcher__v3__PathMatcher_msg_init}, + {.submsg = &envoy__type__v3__Int32Range_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_rbac_v3_Permission__fields[12] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 8), -1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__rbac__v3__Permission_msg_init = { + &envoy_config_rbac_v3_Permission_submsgs[0], + &envoy_config_rbac_v3_Permission__fields[0], + UPB_SIZE(8, 16), 12, kUpb_ExtMode_NonExtendable, 12, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x0008000003000018, &upb_pob1_1bt}, + {0x0008000004020022, &upb_pom_1bt_maxmaxb}, + {0x000800000503002a, &upb_pom_1bt_maxmaxb}, + {0x0008000006000030, &upb_pov4_1bt}, + {0x000800000704003a, &upb_pom_1bt_maxmaxb}, + {0x0008000008050042, &upb_pom_1bt_max64b}, + {0x000800000906004a, &upb_pom_1bt_maxmaxb}, + {0x000800000a070052, &upb_pom_1bt_maxmaxb}, + {0x000800000b08005a, &upb_pom_1bt_maxmaxb}, + {0x000800000c090062, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_rbac_v3_Permission_Set_submsgs[1] = { + {.submsg = &envoy__config__rbac__v3__Permission_msg_init}, +}; + +static const upb_MiniTableField envoy_config_rbac_v3_Permission_Set__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__rbac__v3__Permission__Set_msg_init = { + &envoy_config_rbac_v3_Permission_Set_submsgs[0], + &envoy_config_rbac_v3_Permission_Set__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_rbac_v3_Principal_submsgs[11] = { + {.submsg = &envoy__config__rbac__v3__Principal__Set_msg_init}, + {.submsg = &envoy__config__rbac__v3__Principal__Set_msg_init}, + {.submsg = &envoy__config__rbac__v3__Principal__Authenticated_msg_init}, + {.submsg = &envoy__config__core__v3__CidrRange_msg_init}, + {.submsg = &envoy__config__route__v3__HeaderMatcher_msg_init}, + {.submsg = &envoy__type__matcher__v3__MetadataMatcher_msg_init}, + {.submsg = &envoy__config__rbac__v3__Principal_msg_init}, + {.submsg = &envoy__type__matcher__v3__PathMatcher_msg_init}, + {.submsg = &envoy__config__core__v3__CidrRange_msg_init}, + {.submsg = &envoy__config__core__v3__CidrRange_msg_init}, + {.submsg = &envoy__type__matcher__v3__FilterStateMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_config_rbac_v3_Principal__fields[12] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__rbac__v3__Principal_msg_init = { + &envoy_config_rbac_v3_Principal_submsgs[0], + &envoy_config_rbac_v3_Principal__fields[0], + UPB_SIZE(8, 16), 12, kUpb_ExtMode_NonExtendable, 12, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x0008000003000018, &upb_pob1_1bt}, + {0x0008000004020022, &upb_pom_1bt_max64b}, + {0x000800000503002a, &upb_pom_1bt_maxmaxb}, + {0x0008000006040032, &upb_pom_1bt_maxmaxb}, + {0x000800000705003a, &upb_pom_1bt_maxmaxb}, + {0x0008000008060042, &upb_pom_1bt_max64b}, + {0x000800000907004a, &upb_pom_1bt_maxmaxb}, + {0x000800000a080052, &upb_pom_1bt_maxmaxb}, + {0x000800000b09005a, &upb_pom_1bt_maxmaxb}, + {0x000800000c0a0062, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_rbac_v3_Principal_Set_submsgs[1] = { + {.submsg = &envoy__config__rbac__v3__Principal_msg_init}, +}; + +static const upb_MiniTableField envoy_config_rbac_v3_Principal_Set__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__rbac__v3__Principal__Set_msg_init = { + &envoy_config_rbac_v3_Principal_Set_submsgs[0], + &envoy_config_rbac_v3_Principal_Set__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_rbac_v3_Principal_Authenticated_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_config_rbac_v3_Principal_Authenticated__fields[1] = { + {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__rbac__v3__Principal__Authenticated_msg_init = { + &envoy_config_rbac_v3_Principal_Authenticated_submsgs[0], + &envoy_config_rbac_v3_Principal_Authenticated__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_rbac_v3_Action__fields[2] = { + {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__rbac__v3__Action_msg_init = { + NULL, + &envoy_config_rbac_v3_Action__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x000000003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[11] = { + &envoy__config__rbac__v3__RBAC_msg_init, + &envoy__config__rbac__v3__RBAC__AuditLoggingOptions_msg_init, + &envoy__config__rbac__v3__RBAC__AuditLoggingOptions__AuditLoggerConfig_msg_init, + &envoy__config__rbac__v3__RBAC__PoliciesEntry_msg_init, + &envoy__config__rbac__v3__Policy_msg_init, + &envoy__config__rbac__v3__Permission_msg_init, + &envoy__config__rbac__v3__Permission__Set_msg_init, + &envoy__config__rbac__v3__Principal_msg_init, + &envoy__config__rbac__v3__Principal__Set_msg_init, + &envoy__config__rbac__v3__Principal__Authenticated_msg_init, + &envoy__config__rbac__v3__Action_msg_init, +}; + +const upb_MiniTableFile envoy_config_rbac_v3_rbac_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 11, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h new file mode 100644 index 00000000000..a2612fde041 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h @@ -0,0 +1,40 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/rbac/v3/rbac.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__rbac__v3__RBAC_msg_init; +extern const upb_MiniTable envoy__config__rbac__v3__RBAC__AuditLoggingOptions_msg_init; +extern const upb_MiniTable envoy__config__rbac__v3__RBAC__AuditLoggingOptions__AuditLoggerConfig_msg_init; +extern const upb_MiniTable envoy__config__rbac__v3__RBAC__PoliciesEntry_msg_init; +extern const upb_MiniTable envoy__config__rbac__v3__Policy_msg_init; +extern const upb_MiniTable envoy__config__rbac__v3__Permission_msg_init; +extern const upb_MiniTable envoy__config__rbac__v3__Permission__Set_msg_init; +extern const upb_MiniTable envoy__config__rbac__v3__Principal_msg_init; +extern const upb_MiniTable envoy__config__rbac__v3__Principal__Set_msg_init; +extern const upb_MiniTable envoy__config__rbac__v3__Principal__Authenticated_msg_init; +extern const upb_MiniTable envoy__config__rbac__v3__Action_msg_init; + +extern const upb_MiniTableFile envoy_config_rbac_v3_rbac_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h b/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h rename to src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h index 09f927a9571..1583c7ea494 100644 --- a/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +++ b/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/route/v3/route.proto * @@ -10,7 +9,19 @@ #define ENVOY_CONFIG_ROUTE_V3_ROUTE_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/route/v3/route.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/config/route/v3/route_components.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -20,37 +31,27 @@ extern "C" { typedef struct envoy_config_route_v3_RouteConfiguration envoy_config_route_v3_RouteConfiguration; typedef struct envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry; typedef struct envoy_config_route_v3_Vhds envoy_config_route_v3_Vhds; -extern const upb_MiniTable envoy_config_route_v3_RouteConfiguration_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry_msg_init; -extern const upb_MiniTable envoy_config_route_v3_Vhds_msg_init; struct envoy_config_core_v3_ConfigSource; struct envoy_config_core_v3_HeaderValueOption; +struct envoy_config_core_v3_Metadata; struct envoy_config_route_v3_ClusterSpecifierPlugin; struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy; struct envoy_config_route_v3_VirtualHost; struct google_protobuf_Any; struct google_protobuf_BoolValue; struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_core_v3_ConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HeaderValueOption_msg_init; -extern const upb_MiniTable envoy_config_route_v3_ClusterSpecifierPlugin_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init; -extern const upb_MiniTable envoy_config_route_v3_VirtualHost_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; /* envoy.config.route.v3.RouteConfiguration */ UPB_INLINE envoy_config_route_v3_RouteConfiguration* envoy_config_route_v3_RouteConfiguration_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteConfiguration*)_upb_Message_New(&envoy_config_route_v3_RouteConfiguration_msg_init, arena); + return (envoy_config_route_v3_RouteConfiguration*)_upb_Message_New(&envoy__config__route__v3__RouteConfiguration_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteConfiguration* envoy_config_route_v3_RouteConfiguration_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteConfiguration* ret = envoy_config_route_v3_RouteConfiguration_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteConfiguration_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteConfiguration_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -60,7 +61,7 @@ UPB_INLINE envoy_config_route_v3_RouteConfiguration* envoy_config_route_v3_Route int options, upb_Arena* arena) { envoy_config_route_v3_RouteConfiguration* ret = envoy_config_route_v3_RouteConfiguration_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteConfiguration_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteConfiguration_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -68,23 +69,23 @@ UPB_INLINE envoy_config_route_v3_RouteConfiguration* envoy_config_route_v3_Route } UPB_INLINE char* envoy_config_route_v3_RouteConfiguration_serialize(const envoy_config_route_v3_RouteConfiguration* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteConfiguration_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteConfiguration_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteConfiguration_serialize_ex(const envoy_config_route_v3_RouteConfiguration* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteConfiguration_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteConfiguration_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RouteConfiguration_clear_name(envoy_config_route_v3_RouteConfiguration* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(60, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(64, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView envoy_config_route_v3_RouteConfiguration_name(const envoy_config_route_v3_RouteConfiguration* msg) { upb_StringView default_val = upb_StringView_FromString(""); upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(60, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(64, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } @@ -483,9 +484,24 @@ UPB_INLINE const envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEn if (!map) return NULL; return (const envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry*)_upb_map_next(map, iter); } +UPB_INLINE void envoy_config_route_v3_RouteConfiguration_clear_metadata(envoy_config_route_v3_RouteConfiguration* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(60, 120), 4, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Metadata* envoy_config_route_v3_RouteConfiguration_metadata(const envoy_config_route_v3_RouteConfiguration* msg) { + const struct envoy_config_core_v3_Metadata* default_val = NULL; + const struct envoy_config_core_v3_Metadata* ret; + const upb_MiniTableField field = {17, UPB_SIZE(60, 120), 4, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_route_v3_RouteConfiguration_has_metadata(const envoy_config_route_v3_RouteConfiguration* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(60, 120), 4, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} UPB_INLINE void envoy_config_route_v3_RouteConfiguration_set_name(envoy_config_route_v3_RouteConfiguration *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(60, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(64, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_config_route_v3_VirtualHost** envoy_config_route_v3_RouteConfiguration_mutable_virtual_hosts(envoy_config_route_v3_RouteConfiguration* msg, size_t* size) { @@ -509,7 +525,7 @@ UPB_INLINE struct envoy_config_route_v3_VirtualHost* envoy_config_route_v3_Route if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_VirtualHost* sub = (struct envoy_config_route_v3_VirtualHost*)_upb_Message_New(&envoy_config_route_v3_VirtualHost_msg_init, arena); + struct envoy_config_route_v3_VirtualHost* sub = (struct envoy_config_route_v3_VirtualHost*)_upb_Message_New(&envoy__config__route__v3__VirtualHost_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -559,7 +575,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_config_route_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy_config_core_v3_HeaderValueOption_msg_init, arena); + struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -609,7 +625,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_config_route_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy_config_core_v3_HeaderValueOption_msg_init, arena); + struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -621,7 +637,7 @@ UPB_INLINE void envoy_config_route_v3_RouteConfiguration_set_validate_clusters(e UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_RouteConfiguration_mutable_validate_clusters(envoy_config_route_v3_RouteConfiguration* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_route_v3_RouteConfiguration_validate_clusters(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_route_v3_RouteConfiguration_set_validate_clusters(msg, sub); } return sub; @@ -657,7 +673,7 @@ UPB_INLINE void envoy_config_route_v3_RouteConfiguration_set_vhds(envoy_config_r UPB_INLINE struct envoy_config_route_v3_Vhds* envoy_config_route_v3_RouteConfiguration_mutable_vhds(envoy_config_route_v3_RouteConfiguration* msg, upb_Arena* arena) { struct envoy_config_route_v3_Vhds* sub = (struct envoy_config_route_v3_Vhds*)envoy_config_route_v3_RouteConfiguration_vhds(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_Vhds*)_upb_Message_New(&envoy_config_route_v3_Vhds_msg_init, arena); + sub = (struct envoy_config_route_v3_Vhds*)_upb_Message_New(&envoy__config__route__v3__Vhds_msg_init, arena); if (sub) envoy_config_route_v3_RouteConfiguration_set_vhds(msg, sub); } return sub; @@ -673,7 +689,7 @@ UPB_INLINE void envoy_config_route_v3_RouteConfiguration_set_max_direct_response UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_route_v3_RouteConfiguration_mutable_max_direct_response_body_size_bytes(envoy_config_route_v3_RouteConfiguration* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_route_v3_RouteConfiguration_max_direct_response_body_size_bytes(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_route_v3_RouteConfiguration_set_max_direct_response_body_size_bytes(msg, sub); } return sub; @@ -699,7 +715,7 @@ UPB_INLINE struct envoy_config_route_v3_ClusterSpecifierPlugin* envoy_config_rou if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_ClusterSpecifierPlugin* sub = (struct envoy_config_route_v3_ClusterSpecifierPlugin*)_upb_Message_New(&envoy_config_route_v3_ClusterSpecifierPlugin_msg_init, arena); + struct envoy_config_route_v3_ClusterSpecifierPlugin* sub = (struct envoy_config_route_v3_ClusterSpecifierPlugin*)_upb_Message_New(&envoy__config__route__v3__ClusterSpecifierPlugin_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -725,7 +741,7 @@ UPB_INLINE struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy* envoy_c if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy* sub = (struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy*)_upb_Message_New(&envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init, arena); + struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy* sub = (struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy*)_upb_Message_New(&envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -762,6 +778,18 @@ UPB_INLINE envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry* e if (!map) return NULL; return (envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry*)_upb_map_next(map, iter); } +UPB_INLINE void envoy_config_route_v3_RouteConfiguration_set_metadata(envoy_config_route_v3_RouteConfiguration *msg, struct envoy_config_core_v3_Metadata* value) { + const upb_MiniTableField field = {17, UPB_SIZE(60, 120), 4, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_route_v3_RouteConfiguration_mutable_metadata(envoy_config_route_v3_RouteConfiguration* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_route_v3_RouteConfiguration_metadata(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena); + if (sub) envoy_config_route_v3_RouteConfiguration_set_metadata(msg, sub); + } + return sub; +} /* envoy.config.route.v3.RouteConfiguration.TypedPerFilterConfigEntry */ @@ -787,12 +815,12 @@ UPB_INLINE void envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEnt /* envoy.config.route.v3.Vhds */ UPB_INLINE envoy_config_route_v3_Vhds* envoy_config_route_v3_Vhds_new(upb_Arena* arena) { - return (envoy_config_route_v3_Vhds*)_upb_Message_New(&envoy_config_route_v3_Vhds_msg_init, arena); + return (envoy_config_route_v3_Vhds*)_upb_Message_New(&envoy__config__route__v3__Vhds_msg_init, arena); } UPB_INLINE envoy_config_route_v3_Vhds* envoy_config_route_v3_Vhds_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_Vhds* ret = envoy_config_route_v3_Vhds_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_Vhds_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__Vhds_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -802,7 +830,7 @@ UPB_INLINE envoy_config_route_v3_Vhds* envoy_config_route_v3_Vhds_parse_ex(const int options, upb_Arena* arena) { envoy_config_route_v3_Vhds* ret = envoy_config_route_v3_Vhds_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_Vhds_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__Vhds_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -810,13 +838,13 @@ UPB_INLINE envoy_config_route_v3_Vhds* envoy_config_route_v3_Vhds_parse_ex(const } UPB_INLINE char* envoy_config_route_v3_Vhds_serialize(const envoy_config_route_v3_Vhds* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_Vhds_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__Vhds_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_Vhds_serialize_ex(const envoy_config_route_v3_Vhds* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_Vhds_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__Vhds_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_Vhds_clear_config_source(envoy_config_route_v3_Vhds* msg) { @@ -842,14 +870,12 @@ UPB_INLINE void envoy_config_route_v3_Vhds_set_config_source(envoy_config_route_ UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_route_v3_Vhds_mutable_config_source(envoy_config_route_v3_Vhds* msg, upb_Arena* arena) { struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_route_v3_Vhds_config_source(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); if (sub) envoy_config_route_v3_Vhds_set_config_source(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_route_v3_route_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c new file mode 100644 index 00000000000..f71f2e21c98 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c @@ -0,0 +1,151 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/route/v3/route.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/route/v3/route.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/config/route/v3/route_components.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_route_v3_RouteConfiguration_submsgs[10] = { + {.submsg = &envoy__config__route__v3__VirtualHost_msg_init}, + {.submsg = &envoy__config__core__v3__HeaderValueOption_msg_init}, + {.submsg = &envoy__config__core__v3__HeaderValueOption_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__route__v3__Vhds_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__route__v3__ClusterSpecifierPlugin_msg_init}, + {.submsg = &envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init}, + {.submsg = &envoy__config__route__v3__RouteConfiguration__TypedPerFilterConfigEntry_msg_init}, + {.submsg = &envoy__config__core__v3__Metadata_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteConfiguration__fields[17] = { + {1, UPB_SIZE(64, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 64), 1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(28, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(32, 80), 2, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(36, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(40, 88), 3, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(44, 96), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(48, 104), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(52, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(53, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(56, 112), 0, 8, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(60, 120), 4, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteConfiguration_msg_init = { + &envoy_config_route_v3_RouteConfiguration_submsgs[0], + &envoy_config_route_v3_RouteConfiguration__fields[0], + UPB_SIZE(72, 128), 17, kUpb_ExtMode_NonExtendable, 17, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prm_1bt_maxmaxb}, + {0x002000003f00001a, &upb_prs_1bt}, + {0x002800003f010022, &upb_prm_1bt_maxmaxb}, + {0x003000003f00002a, &upb_prs_1bt}, + {0x003800003f020032, &upb_prm_1bt_maxmaxb}, + {0x004000000103003a, &upb_psm_1bt_maxmaxb}, + {0x004800003f000042, &upb_prs_1bt}, + {0x005000000204004a, &upb_psm_1bt_max64b}, + {0x000100003f000050, &upb_psb1_1bt}, + {0x005800000305005a, &upb_psm_1bt_maxmaxb}, + {0x006000003f060062, &upb_prm_1bt_maxmaxb}, + {0x006800003f07006a, &upb_prm_1bt_maxmaxb}, + {0x000200003f000070, &upb_psb1_1bt}, + {0x000300003f000078, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x007800000409018a, &upb_psm_2bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteConfiguration__TypedPerFilterConfigEntry_msg_init = { + &envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry_submsgs[0], + &envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_Vhds_submsgs[1] = { + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_Vhds__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__Vhds_msg_init = { + &envoy_config_route_v3_Vhds_submsgs[0], + &envoy_config_route_v3_Vhds__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[3] = { + &envoy__config__route__v3__RouteConfiguration_msg_init, + &envoy__config__route__v3__RouteConfiguration__TypedPerFilterConfigEntry_msg_init, + &envoy__config__route__v3__Vhds_msg_init, +}; + +const upb_MiniTableFile envoy_config_route_v3_route_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 3, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h new file mode 100644 index 00000000000..b4f9e07e0ed --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h @@ -0,0 +1,32 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/route/v3/route.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_ROUTE_V3_ROUTE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_ROUTE_V3_ROUTE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__route__v3__RouteConfiguration_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteConfiguration__TypedPerFilterConfigEntry_msg_init; +extern const upb_MiniTable envoy__config__route__v3__Vhds_msg_init; + +extern const upb_MiniTableFile envoy_config_route_v3_route_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_ROUTE_V3_ROUTE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h b/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h rename to src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h index 5bff7151b0c..71a5f4c10c3 100644 --- a/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +++ b/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/route/v3/route_components.proto * @@ -10,7 +9,31 @@ #define ENVOY_CONFIG_ROUTE_V3_ROUTE_COMPONENTS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/route/v3/route_components.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/proxy_protocol.upb_minitable.h" +#include "envoy/type/matcher/v3/metadata.upb_minitable.h" +#include "envoy/type/matcher/v3/regex.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "envoy/type/metadata/v3/metadata.upb_minitable.h" +#include "envoy/type/tracing/v3/custom_tag.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "envoy/type/v3/range.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -36,6 +59,7 @@ typedef struct envoy_config_route_v3_RouteAction envoy_config_route_v3_RouteActi typedef struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy envoy_config_route_v3_RouteAction_RequestMirrorPolicy; typedef struct envoy_config_route_v3_RouteAction_HashPolicy envoy_config_route_v3_RouteAction_HashPolicy; typedef struct envoy_config_route_v3_RouteAction_HashPolicy_Header envoy_config_route_v3_RouteAction_HashPolicy_Header; +typedef struct envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute; typedef struct envoy_config_route_v3_RouteAction_HashPolicy_Cookie envoy_config_route_v3_RouteAction_HashPolicy_Cookie; typedef struct envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties; typedef struct envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter; @@ -74,63 +98,6 @@ typedef struct envoy_config_route_v3_HeaderMatcher envoy_config_route_v3_HeaderM typedef struct envoy_config_route_v3_QueryParameterMatcher envoy_config_route_v3_QueryParameterMatcher; typedef struct envoy_config_route_v3_InternalRedirectPolicy envoy_config_route_v3_InternalRedirectPolicy; typedef struct envoy_config_route_v3_FilterConfig envoy_config_route_v3_FilterConfig; -extern const upb_MiniTable envoy_config_route_v3_VirtualHost_msg_init; -extern const upb_MiniTable envoy_config_route_v3_VirtualHost_TypedPerFilterConfigEntry_msg_init; -extern const upb_MiniTable envoy_config_route_v3_FilterAction_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteList_msg_init; -extern const upb_MiniTable envoy_config_route_v3_Route_msg_init; -extern const upb_MiniTable envoy_config_route_v3_Route_TypedPerFilterConfigEntry_msg_init; -extern const upb_MiniTable envoy_config_route_v3_WeightedCluster_msg_init; -extern const upb_MiniTable envoy_config_route_v3_WeightedCluster_ClusterWeight_msg_init; -extern const upb_MiniTable envoy_config_route_v3_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry_msg_init; -extern const upb_MiniTable envoy_config_route_v3_ClusterSpecifierPlugin_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteMatch_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteMatch_ConnectMatcher_msg_init; -extern const upb_MiniTable envoy_config_route_v3_CorsPolicy_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteAction_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteAction_HashPolicy_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteAction_HashPolicy_Header_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteAction_HashPolicy_Cookie_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteAction_HashPolicy_FilterState_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteAction_UpgradeConfig_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteAction_MaxStreamDuration_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RetryPolicy_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RetryPolicy_RetryPriority_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RetryPolicy_RetryHostPredicate_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RetryPolicy_RetryBackOff_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RetryPolicy_ResetHeader_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_msg_init; -extern const upb_MiniTable envoy_config_route_v3_HedgePolicy_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RedirectAction_msg_init; -extern const upb_MiniTable envoy_config_route_v3_DirectResponseAction_msg_init; -extern const upb_MiniTable envoy_config_route_v3_NonForwardingAction_msg_init; -extern const upb_MiniTable envoy_config_route_v3_Decorator_msg_init; -extern const upb_MiniTable envoy_config_route_v3_Tracing_msg_init; -extern const upb_MiniTable envoy_config_route_v3_VirtualCluster_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_Action_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_Action_SourceCluster_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_Action_DestinationCluster_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_Action_RequestHeaders_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_Action_RemoteAddress_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_Action_GenericKey_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_Action_DynamicMetaData_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_Action_MetaData_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_Override_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RateLimit_Override_DynamicMetadata_msg_init; -extern const upb_MiniTable envoy_config_route_v3_HeaderMatcher_msg_init; -extern const upb_MiniTable envoy_config_route_v3_QueryParameterMatcher_msg_init; -extern const upb_MiniTable envoy_config_route_v3_InternalRedirectPolicy_msg_init; -extern const upb_MiniTable envoy_config_route_v3_FilterConfig_msg_init; struct envoy_config_core_v3_DataSource; struct envoy_config_core_v3_HeaderValueOption; struct envoy_config_core_v3_Metadata; @@ -150,25 +117,6 @@ struct google_protobuf_BoolValue; struct google_protobuf_Duration; struct google_protobuf_UInt32Value; struct xds_type_matcher_v3_Matcher; -extern const upb_MiniTable envoy_config_core_v3_DataSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HeaderValueOption_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Metadata_msg_init; -extern const upb_MiniTable envoy_config_core_v3_ProxyProtocolConfig_msg_init; -extern const upb_MiniTable envoy_config_core_v3_RuntimeFractionalPercent_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_MetadataMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_RegexMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msg_init; -extern const upb_MiniTable envoy_type_metadata_v3_MetadataKey_msg_init; -extern const upb_MiniTable envoy_type_tracing_v3_CustomTag_msg_init; -extern const upb_MiniTable envoy_type_v3_FractionalPercent_msg_init; -extern const upb_MiniTable envoy_type_v3_Int64Range_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_msg_init; typedef enum { envoy_config_route_v3_RateLimit_Action_MetaData_DYNAMIC = 0, @@ -210,12 +158,12 @@ typedef enum { /* envoy.config.route.v3.VirtualHost */ UPB_INLINE envoy_config_route_v3_VirtualHost* envoy_config_route_v3_VirtualHost_new(upb_Arena* arena) { - return (envoy_config_route_v3_VirtualHost*)_upb_Message_New(&envoy_config_route_v3_VirtualHost_msg_init, arena); + return (envoy_config_route_v3_VirtualHost*)_upb_Message_New(&envoy__config__route__v3__VirtualHost_msg_init, arena); } UPB_INLINE envoy_config_route_v3_VirtualHost* envoy_config_route_v3_VirtualHost_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_VirtualHost* ret = envoy_config_route_v3_VirtualHost_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_VirtualHost_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__VirtualHost_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -225,7 +173,7 @@ UPB_INLINE envoy_config_route_v3_VirtualHost* envoy_config_route_v3_VirtualHost_ int options, upb_Arena* arena) { envoy_config_route_v3_VirtualHost* ret = envoy_config_route_v3_VirtualHost_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_VirtualHost_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__VirtualHost_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -233,23 +181,23 @@ UPB_INLINE envoy_config_route_v3_VirtualHost* envoy_config_route_v3_VirtualHost_ } UPB_INLINE char* envoy_config_route_v3_VirtualHost_serialize(const envoy_config_route_v3_VirtualHost* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_VirtualHost_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__VirtualHost_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_VirtualHost_serialize_ex(const envoy_config_route_v3_VirtualHost* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_VirtualHost_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__VirtualHost_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_VirtualHost_clear_name(envoy_config_route_v3_VirtualHost* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(84, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(88, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView envoy_config_route_v3_VirtualHost_name(const envoy_config_route_v3_VirtualHost* msg) { upb_StringView default_val = upb_StringView_FromString(""); upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(84, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(88, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } @@ -741,9 +689,24 @@ UPB_INLINE bool envoy_config_route_v3_VirtualHost_include_is_timeout_retry_heade _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } +UPB_INLINE void envoy_config_route_v3_VirtualHost_clear_metadata(envoy_config_route_v3_VirtualHost* msg) { + const upb_MiniTableField field = {24, UPB_SIZE(84, 160), 7, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Metadata* envoy_config_route_v3_VirtualHost_metadata(const envoy_config_route_v3_VirtualHost* msg) { + const struct envoy_config_core_v3_Metadata* default_val = NULL; + const struct envoy_config_core_v3_Metadata* ret; + const upb_MiniTableField field = {24, UPB_SIZE(84, 160), 7, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_route_v3_VirtualHost_has_metadata(const envoy_config_route_v3_VirtualHost* msg) { + const upb_MiniTableField field = {24, UPB_SIZE(84, 160), 7, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} UPB_INLINE void envoy_config_route_v3_VirtualHost_set_name(envoy_config_route_v3_VirtualHost *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(84, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(88, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE upb_StringView* envoy_config_route_v3_VirtualHost_mutable_domains(envoy_config_route_v3_VirtualHost* msg, size_t* size) { @@ -791,7 +754,7 @@ UPB_INLINE struct envoy_config_route_v3_Route* envoy_config_route_v3_VirtualHost if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_Route* sub = (struct envoy_config_route_v3_Route*)_upb_Message_New(&envoy_config_route_v3_Route_msg_init, arena); + struct envoy_config_route_v3_Route* sub = (struct envoy_config_route_v3_Route*)_upb_Message_New(&envoy__config__route__v3__Route_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -821,7 +784,7 @@ UPB_INLINE struct envoy_config_route_v3_VirtualCluster* envoy_config_route_v3_Vi if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_VirtualCluster* sub = (struct envoy_config_route_v3_VirtualCluster*)_upb_Message_New(&envoy_config_route_v3_VirtualCluster_msg_init, arena); + struct envoy_config_route_v3_VirtualCluster* sub = (struct envoy_config_route_v3_VirtualCluster*)_upb_Message_New(&envoy__config__route__v3__VirtualCluster_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -847,7 +810,7 @@ UPB_INLINE struct envoy_config_route_v3_RateLimit* envoy_config_route_v3_Virtual if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_RateLimit* sub = (struct envoy_config_route_v3_RateLimit*)_upb_Message_New(&envoy_config_route_v3_RateLimit_msg_init, arena); + struct envoy_config_route_v3_RateLimit* sub = (struct envoy_config_route_v3_RateLimit*)_upb_Message_New(&envoy__config__route__v3__RateLimit_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -873,7 +836,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_config_route_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy_config_core_v3_HeaderValueOption_msg_init, arena); + struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -885,7 +848,7 @@ UPB_INLINE void envoy_config_route_v3_VirtualHost_set_cors(envoy_config_route_v3 UPB_INLINE struct envoy_config_route_v3_CorsPolicy* envoy_config_route_v3_VirtualHost_mutable_cors(envoy_config_route_v3_VirtualHost* msg, upb_Arena* arena) { struct envoy_config_route_v3_CorsPolicy* sub = (struct envoy_config_route_v3_CorsPolicy*)envoy_config_route_v3_VirtualHost_cors(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_CorsPolicy*)_upb_Message_New(&envoy_config_route_v3_CorsPolicy_msg_init, arena); + sub = (struct envoy_config_route_v3_CorsPolicy*)_upb_Message_New(&envoy__config__route__v3__CorsPolicy_msg_init, arena); if (sub) envoy_config_route_v3_VirtualHost_set_cors(msg, sub); } return sub; @@ -911,7 +874,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_config_route_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy_config_core_v3_HeaderValueOption_msg_init, arena); + struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -999,7 +962,7 @@ UPB_INLINE void envoy_config_route_v3_VirtualHost_set_retry_policy(envoy_config_ UPB_INLINE struct envoy_config_route_v3_RetryPolicy* envoy_config_route_v3_VirtualHost_mutable_retry_policy(envoy_config_route_v3_VirtualHost* msg, upb_Arena* arena) { struct envoy_config_route_v3_RetryPolicy* sub = (struct envoy_config_route_v3_RetryPolicy*)envoy_config_route_v3_VirtualHost_retry_policy(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RetryPolicy*)_upb_Message_New(&envoy_config_route_v3_RetryPolicy_msg_init, arena); + sub = (struct envoy_config_route_v3_RetryPolicy*)_upb_Message_New(&envoy__config__route__v3__RetryPolicy_msg_init, arena); if (sub) envoy_config_route_v3_VirtualHost_set_retry_policy(msg, sub); } return sub; @@ -1011,7 +974,7 @@ UPB_INLINE void envoy_config_route_v3_VirtualHost_set_hedge_policy(envoy_config_ UPB_INLINE struct envoy_config_route_v3_HedgePolicy* envoy_config_route_v3_VirtualHost_mutable_hedge_policy(envoy_config_route_v3_VirtualHost* msg, upb_Arena* arena) { struct envoy_config_route_v3_HedgePolicy* sub = (struct envoy_config_route_v3_HedgePolicy*)envoy_config_route_v3_VirtualHost_hedge_policy(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_HedgePolicy*)_upb_Message_New(&envoy_config_route_v3_HedgePolicy_msg_init, arena); + sub = (struct envoy_config_route_v3_HedgePolicy*)_upb_Message_New(&envoy__config__route__v3__HedgePolicy_msg_init, arena); if (sub) envoy_config_route_v3_VirtualHost_set_hedge_policy(msg, sub); } return sub; @@ -1023,7 +986,7 @@ UPB_INLINE void envoy_config_route_v3_VirtualHost_set_per_request_buffer_limit_b UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_route_v3_VirtualHost_mutable_per_request_buffer_limit_bytes(envoy_config_route_v3_VirtualHost* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_route_v3_VirtualHost_per_request_buffer_limit_bytes(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_route_v3_VirtualHost_set_per_request_buffer_limit_bytes(msg, sub); } return sub; @@ -1039,7 +1002,7 @@ UPB_INLINE void envoy_config_route_v3_VirtualHost_set_retry_policy_typed_config( UPB_INLINE struct google_protobuf_Any* envoy_config_route_v3_VirtualHost_mutable_retry_policy_typed_config(envoy_config_route_v3_VirtualHost* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_route_v3_VirtualHost_retry_policy_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_route_v3_VirtualHost_set_retry_policy_typed_config(msg, sub); } return sub; @@ -1051,7 +1014,7 @@ UPB_INLINE void envoy_config_route_v3_VirtualHost_set_matcher(envoy_config_route UPB_INLINE struct xds_type_matcher_v3_Matcher* envoy_config_route_v3_VirtualHost_mutable_matcher(envoy_config_route_v3_VirtualHost* msg, upb_Arena* arena) { struct xds_type_matcher_v3_Matcher* sub = (struct xds_type_matcher_v3_Matcher*)envoy_config_route_v3_VirtualHost_matcher(msg); if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher*)_upb_Message_New(&xds_type_matcher_v3_Matcher_msg_init, arena); + sub = (struct xds_type_matcher_v3_Matcher*)_upb_Message_New(&xds__type__matcher__v3__Matcher_msg_init, arena); if (sub) envoy_config_route_v3_VirtualHost_set_matcher(msg, sub); } return sub; @@ -1077,7 +1040,7 @@ UPB_INLINE struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy* envoy_c if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy* sub = (struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy*)_upb_Message_New(&envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init, arena); + struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy* sub = (struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy*)_upb_Message_New(&envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1086,6 +1049,18 @@ UPB_INLINE void envoy_config_route_v3_VirtualHost_set_include_is_timeout_retry_h const upb_MiniTableField field = {23, UPB_SIZE(80, 10), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } +UPB_INLINE void envoy_config_route_v3_VirtualHost_set_metadata(envoy_config_route_v3_VirtualHost *msg, struct envoy_config_core_v3_Metadata* value) { + const upb_MiniTableField field = {24, UPB_SIZE(84, 160), 7, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_route_v3_VirtualHost_mutable_metadata(envoy_config_route_v3_VirtualHost* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_route_v3_VirtualHost_metadata(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena); + if (sub) envoy_config_route_v3_VirtualHost_set_metadata(msg, sub); + } + return sub; +} /* envoy.config.route.v3.VirtualHost.TypedPerFilterConfigEntry */ @@ -1111,12 +1086,12 @@ UPB_INLINE void envoy_config_route_v3_VirtualHost_TypedPerFilterConfigEntry_set_ /* envoy.config.route.v3.FilterAction */ UPB_INLINE envoy_config_route_v3_FilterAction* envoy_config_route_v3_FilterAction_new(upb_Arena* arena) { - return (envoy_config_route_v3_FilterAction*)_upb_Message_New(&envoy_config_route_v3_FilterAction_msg_init, arena); + return (envoy_config_route_v3_FilterAction*)_upb_Message_New(&envoy__config__route__v3__FilterAction_msg_init, arena); } UPB_INLINE envoy_config_route_v3_FilterAction* envoy_config_route_v3_FilterAction_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_FilterAction* ret = envoy_config_route_v3_FilterAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_FilterAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__FilterAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1126,7 +1101,7 @@ UPB_INLINE envoy_config_route_v3_FilterAction* envoy_config_route_v3_FilterActio int options, upb_Arena* arena) { envoy_config_route_v3_FilterAction* ret = envoy_config_route_v3_FilterAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_FilterAction_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__FilterAction_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1134,13 +1109,13 @@ UPB_INLINE envoy_config_route_v3_FilterAction* envoy_config_route_v3_FilterActio } UPB_INLINE char* envoy_config_route_v3_FilterAction_serialize(const envoy_config_route_v3_FilterAction* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_FilterAction_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__FilterAction_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_FilterAction_serialize_ex(const envoy_config_route_v3_FilterAction* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_FilterAction_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__FilterAction_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_FilterAction_clear_action(envoy_config_route_v3_FilterAction* msg) { @@ -1166,7 +1141,7 @@ UPB_INLINE void envoy_config_route_v3_FilterAction_set_action(envoy_config_route UPB_INLINE struct google_protobuf_Any* envoy_config_route_v3_FilterAction_mutable_action(envoy_config_route_v3_FilterAction* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_route_v3_FilterAction_action(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_route_v3_FilterAction_set_action(msg, sub); } return sub; @@ -1175,12 +1150,12 @@ UPB_INLINE struct google_protobuf_Any* envoy_config_route_v3_FilterAction_mutabl /* envoy.config.route.v3.RouteList */ UPB_INLINE envoy_config_route_v3_RouteList* envoy_config_route_v3_RouteList_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteList*)_upb_Message_New(&envoy_config_route_v3_RouteList_msg_init, arena); + return (envoy_config_route_v3_RouteList*)_upb_Message_New(&envoy__config__route__v3__RouteList_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteList* envoy_config_route_v3_RouteList_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteList* ret = envoy_config_route_v3_RouteList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1190,7 +1165,7 @@ UPB_INLINE envoy_config_route_v3_RouteList* envoy_config_route_v3_RouteList_pars int options, upb_Arena* arena) { envoy_config_route_v3_RouteList* ret = envoy_config_route_v3_RouteList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteList_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteList_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1198,13 +1173,13 @@ UPB_INLINE envoy_config_route_v3_RouteList* envoy_config_route_v3_RouteList_pars } UPB_INLINE char* envoy_config_route_v3_RouteList_serialize(const envoy_config_route_v3_RouteList* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteList_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteList_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteList_serialize_ex(const envoy_config_route_v3_RouteList* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteList_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteList_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RouteList_clear_routes(envoy_config_route_v3_RouteList* msg) { @@ -1266,7 +1241,7 @@ UPB_INLINE struct envoy_config_route_v3_Route* envoy_config_route_v3_RouteList_a if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_Route* sub = (struct envoy_config_route_v3_Route*)_upb_Message_New(&envoy_config_route_v3_Route_msg_init, arena); + struct envoy_config_route_v3_Route* sub = (struct envoy_config_route_v3_Route*)_upb_Message_New(&envoy__config__route__v3__Route_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1275,12 +1250,12 @@ UPB_INLINE struct envoy_config_route_v3_Route* envoy_config_route_v3_RouteList_a /* envoy.config.route.v3.Route */ UPB_INLINE envoy_config_route_v3_Route* envoy_config_route_v3_Route_new(upb_Arena* arena) { - return (envoy_config_route_v3_Route*)_upb_Message_New(&envoy_config_route_v3_Route_msg_init, arena); + return (envoy_config_route_v3_Route*)_upb_Message_New(&envoy__config__route__v3__Route_msg_init, arena); } UPB_INLINE envoy_config_route_v3_Route* envoy_config_route_v3_Route_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_Route* ret = envoy_config_route_v3_Route_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_Route_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__Route_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1290,7 +1265,7 @@ UPB_INLINE envoy_config_route_v3_Route* envoy_config_route_v3_Route_parse_ex(con int options, upb_Arena* arena) { envoy_config_route_v3_Route* ret = envoy_config_route_v3_Route_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_Route_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__Route_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1298,13 +1273,13 @@ UPB_INLINE envoy_config_route_v3_Route* envoy_config_route_v3_Route_parse_ex(con } UPB_INLINE char* envoy_config_route_v3_Route_serialize(const envoy_config_route_v3_Route* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_Route_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__Route_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_Route_serialize_ex(const envoy_config_route_v3_Route* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_Route_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__Route_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1668,7 +1643,7 @@ UPB_INLINE void envoy_config_route_v3_Route_set_match(envoy_config_route_v3_Rout UPB_INLINE struct envoy_config_route_v3_RouteMatch* envoy_config_route_v3_Route_mutable_match(envoy_config_route_v3_Route* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteMatch* sub = (struct envoy_config_route_v3_RouteMatch*)envoy_config_route_v3_Route_match(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteMatch*)_upb_Message_New(&envoy_config_route_v3_RouteMatch_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteMatch*)_upb_Message_New(&envoy__config__route__v3__RouteMatch_msg_init, arena); if (sub) envoy_config_route_v3_Route_set_match(msg, sub); } return sub; @@ -1680,7 +1655,7 @@ UPB_INLINE void envoy_config_route_v3_Route_set_route(envoy_config_route_v3_Rout UPB_INLINE struct envoy_config_route_v3_RouteAction* envoy_config_route_v3_Route_mutable_route(envoy_config_route_v3_Route* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteAction* sub = (struct envoy_config_route_v3_RouteAction*)envoy_config_route_v3_Route_route(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteAction*)_upb_Message_New(&envoy_config_route_v3_RouteAction_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteAction*)_upb_Message_New(&envoy__config__route__v3__RouteAction_msg_init, arena); if (sub) envoy_config_route_v3_Route_set_route(msg, sub); } return sub; @@ -1692,7 +1667,7 @@ UPB_INLINE void envoy_config_route_v3_Route_set_redirect(envoy_config_route_v3_R UPB_INLINE struct envoy_config_route_v3_RedirectAction* envoy_config_route_v3_Route_mutable_redirect(envoy_config_route_v3_Route* msg, upb_Arena* arena) { struct envoy_config_route_v3_RedirectAction* sub = (struct envoy_config_route_v3_RedirectAction*)envoy_config_route_v3_Route_redirect(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RedirectAction*)_upb_Message_New(&envoy_config_route_v3_RedirectAction_msg_init, arena); + sub = (struct envoy_config_route_v3_RedirectAction*)_upb_Message_New(&envoy__config__route__v3__RedirectAction_msg_init, arena); if (sub) envoy_config_route_v3_Route_set_redirect(msg, sub); } return sub; @@ -1704,7 +1679,7 @@ UPB_INLINE void envoy_config_route_v3_Route_set_metadata(envoy_config_route_v3_R UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_route_v3_Route_mutable_metadata(envoy_config_route_v3_Route* msg, upb_Arena* arena) { struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_route_v3_Route_metadata(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy_config_core_v3_Metadata_msg_init, arena); + sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena); if (sub) envoy_config_route_v3_Route_set_metadata(msg, sub); } return sub; @@ -1716,7 +1691,7 @@ UPB_INLINE void envoy_config_route_v3_Route_set_decorator(envoy_config_route_v3_ UPB_INLINE struct envoy_config_route_v3_Decorator* envoy_config_route_v3_Route_mutable_decorator(envoy_config_route_v3_Route* msg, upb_Arena* arena) { struct envoy_config_route_v3_Decorator* sub = (struct envoy_config_route_v3_Decorator*)envoy_config_route_v3_Route_decorator(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_Decorator*)_upb_Message_New(&envoy_config_route_v3_Decorator_msg_init, arena); + sub = (struct envoy_config_route_v3_Decorator*)_upb_Message_New(&envoy__config__route__v3__Decorator_msg_init, arena); if (sub) envoy_config_route_v3_Route_set_decorator(msg, sub); } return sub; @@ -1728,7 +1703,7 @@ UPB_INLINE void envoy_config_route_v3_Route_set_direct_response(envoy_config_rou UPB_INLINE struct envoy_config_route_v3_DirectResponseAction* envoy_config_route_v3_Route_mutable_direct_response(envoy_config_route_v3_Route* msg, upb_Arena* arena) { struct envoy_config_route_v3_DirectResponseAction* sub = (struct envoy_config_route_v3_DirectResponseAction*)envoy_config_route_v3_Route_direct_response(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_DirectResponseAction*)_upb_Message_New(&envoy_config_route_v3_DirectResponseAction_msg_init, arena); + sub = (struct envoy_config_route_v3_DirectResponseAction*)_upb_Message_New(&envoy__config__route__v3__DirectResponseAction_msg_init, arena); if (sub) envoy_config_route_v3_Route_set_direct_response(msg, sub); } return sub; @@ -1754,7 +1729,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_config_route_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy_config_core_v3_HeaderValueOption_msg_init, arena); + struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1780,7 +1755,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_config_route_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy_config_core_v3_HeaderValueOption_msg_init, arena); + struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1868,7 +1843,7 @@ UPB_INLINE void envoy_config_route_v3_Route_set_tracing(envoy_config_route_v3_Ro UPB_INLINE struct envoy_config_route_v3_Tracing* envoy_config_route_v3_Route_mutable_tracing(envoy_config_route_v3_Route* msg, upb_Arena* arena) { struct envoy_config_route_v3_Tracing* sub = (struct envoy_config_route_v3_Tracing*)envoy_config_route_v3_Route_tracing(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_Tracing*)_upb_Message_New(&envoy_config_route_v3_Tracing_msg_init, arena); + sub = (struct envoy_config_route_v3_Tracing*)_upb_Message_New(&envoy__config__route__v3__Tracing_msg_init, arena); if (sub) envoy_config_route_v3_Route_set_tracing(msg, sub); } return sub; @@ -1880,7 +1855,7 @@ UPB_INLINE void envoy_config_route_v3_Route_set_per_request_buffer_limit_bytes(e UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_route_v3_Route_mutable_per_request_buffer_limit_bytes(envoy_config_route_v3_Route* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_route_v3_Route_per_request_buffer_limit_bytes(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_route_v3_Route_set_per_request_buffer_limit_bytes(msg, sub); } return sub; @@ -1892,7 +1867,7 @@ UPB_INLINE void envoy_config_route_v3_Route_set_filter_action(envoy_config_route UPB_INLINE struct envoy_config_route_v3_FilterAction* envoy_config_route_v3_Route_mutable_filter_action(envoy_config_route_v3_Route* msg, upb_Arena* arena) { struct envoy_config_route_v3_FilterAction* sub = (struct envoy_config_route_v3_FilterAction*)envoy_config_route_v3_Route_filter_action(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_FilterAction*)_upb_Message_New(&envoy_config_route_v3_FilterAction_msg_init, arena); + sub = (struct envoy_config_route_v3_FilterAction*)_upb_Message_New(&envoy__config__route__v3__FilterAction_msg_init, arena); if (sub) envoy_config_route_v3_Route_set_filter_action(msg, sub); } return sub; @@ -1904,7 +1879,7 @@ UPB_INLINE void envoy_config_route_v3_Route_set_non_forwarding_action(envoy_conf UPB_INLINE struct envoy_config_route_v3_NonForwardingAction* envoy_config_route_v3_Route_mutable_non_forwarding_action(envoy_config_route_v3_Route* msg, upb_Arena* arena) { struct envoy_config_route_v3_NonForwardingAction* sub = (struct envoy_config_route_v3_NonForwardingAction*)envoy_config_route_v3_Route_non_forwarding_action(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_NonForwardingAction*)_upb_Message_New(&envoy_config_route_v3_NonForwardingAction_msg_init, arena); + sub = (struct envoy_config_route_v3_NonForwardingAction*)_upb_Message_New(&envoy__config__route__v3__NonForwardingAction_msg_init, arena); if (sub) envoy_config_route_v3_Route_set_non_forwarding_action(msg, sub); } return sub; @@ -1938,12 +1913,12 @@ UPB_INLINE void envoy_config_route_v3_Route_TypedPerFilterConfigEntry_set_value( /* envoy.config.route.v3.WeightedCluster */ UPB_INLINE envoy_config_route_v3_WeightedCluster* envoy_config_route_v3_WeightedCluster_new(upb_Arena* arena) { - return (envoy_config_route_v3_WeightedCluster*)_upb_Message_New(&envoy_config_route_v3_WeightedCluster_msg_init, arena); + return (envoy_config_route_v3_WeightedCluster*)_upb_Message_New(&envoy__config__route__v3__WeightedCluster_msg_init, arena); } UPB_INLINE envoy_config_route_v3_WeightedCluster* envoy_config_route_v3_WeightedCluster_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_WeightedCluster* ret = envoy_config_route_v3_WeightedCluster_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_WeightedCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__WeightedCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1953,7 +1928,7 @@ UPB_INLINE envoy_config_route_v3_WeightedCluster* envoy_config_route_v3_Weighted int options, upb_Arena* arena) { envoy_config_route_v3_WeightedCluster* ret = envoy_config_route_v3_WeightedCluster_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_WeightedCluster_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__WeightedCluster_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1961,13 +1936,13 @@ UPB_INLINE envoy_config_route_v3_WeightedCluster* envoy_config_route_v3_Weighted } UPB_INLINE char* envoy_config_route_v3_WeightedCluster_serialize(const envoy_config_route_v3_WeightedCluster* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_WeightedCluster_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__WeightedCluster_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_WeightedCluster_serialize_ex(const envoy_config_route_v3_WeightedCluster* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_WeightedCluster_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__WeightedCluster_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -2078,7 +2053,7 @@ UPB_INLINE struct envoy_config_route_v3_WeightedCluster_ClusterWeight* envoy_con if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_WeightedCluster_ClusterWeight* sub = (struct envoy_config_route_v3_WeightedCluster_ClusterWeight*)_upb_Message_New(&envoy_config_route_v3_WeightedCluster_ClusterWeight_msg_init, arena); + struct envoy_config_route_v3_WeightedCluster_ClusterWeight* sub = (struct envoy_config_route_v3_WeightedCluster_ClusterWeight*)_upb_Message_New(&envoy__config__route__v3__WeightedCluster__ClusterWeight_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -2094,7 +2069,7 @@ UPB_INLINE void envoy_config_route_v3_WeightedCluster_set_total_weight(envoy_con UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_route_v3_WeightedCluster_mutable_total_weight(envoy_config_route_v3_WeightedCluster* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_route_v3_WeightedCluster_total_weight(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_route_v3_WeightedCluster_set_total_weight(msg, sub); } return sub; @@ -2107,12 +2082,12 @@ UPB_INLINE void envoy_config_route_v3_WeightedCluster_set_header_name(envoy_conf /* envoy.config.route.v3.WeightedCluster.ClusterWeight */ UPB_INLINE envoy_config_route_v3_WeightedCluster_ClusterWeight* envoy_config_route_v3_WeightedCluster_ClusterWeight_new(upb_Arena* arena) { - return (envoy_config_route_v3_WeightedCluster_ClusterWeight*)_upb_Message_New(&envoy_config_route_v3_WeightedCluster_ClusterWeight_msg_init, arena); + return (envoy_config_route_v3_WeightedCluster_ClusterWeight*)_upb_Message_New(&envoy__config__route__v3__WeightedCluster__ClusterWeight_msg_init, arena); } UPB_INLINE envoy_config_route_v3_WeightedCluster_ClusterWeight* envoy_config_route_v3_WeightedCluster_ClusterWeight_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_WeightedCluster_ClusterWeight* ret = envoy_config_route_v3_WeightedCluster_ClusterWeight_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_WeightedCluster_ClusterWeight_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__WeightedCluster__ClusterWeight_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2122,7 +2097,7 @@ UPB_INLINE envoy_config_route_v3_WeightedCluster_ClusterWeight* envoy_config_rou int options, upb_Arena* arena) { envoy_config_route_v3_WeightedCluster_ClusterWeight* ret = envoy_config_route_v3_WeightedCluster_ClusterWeight_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_WeightedCluster_ClusterWeight_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__WeightedCluster__ClusterWeight_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2130,13 +2105,13 @@ UPB_INLINE envoy_config_route_v3_WeightedCluster_ClusterWeight* envoy_config_rou } UPB_INLINE char* envoy_config_route_v3_WeightedCluster_ClusterWeight_serialize(const envoy_config_route_v3_WeightedCluster_ClusterWeight* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_WeightedCluster_ClusterWeight_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__WeightedCluster__ClusterWeight_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_WeightedCluster_ClusterWeight_serialize_ex(const envoy_config_route_v3_WeightedCluster_ClusterWeight* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_WeightedCluster_ClusterWeight_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__WeightedCluster__ClusterWeight_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -2395,7 +2370,7 @@ UPB_INLINE void envoy_config_route_v3_WeightedCluster_ClusterWeight_set_weight(e UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_route_v3_WeightedCluster_ClusterWeight_mutable_weight(envoy_config_route_v3_WeightedCluster_ClusterWeight* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_route_v3_WeightedCluster_ClusterWeight_weight(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_route_v3_WeightedCluster_ClusterWeight_set_weight(msg, sub); } return sub; @@ -2407,7 +2382,7 @@ UPB_INLINE void envoy_config_route_v3_WeightedCluster_ClusterWeight_set_metadata UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_route_v3_WeightedCluster_ClusterWeight_mutable_metadata_match(envoy_config_route_v3_WeightedCluster_ClusterWeight* msg, upb_Arena* arena) { struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_route_v3_WeightedCluster_ClusterWeight_metadata_match(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy_config_core_v3_Metadata_msg_init, arena); + sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena); if (sub) envoy_config_route_v3_WeightedCluster_ClusterWeight_set_metadata_match(msg, sub); } return sub; @@ -2433,7 +2408,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_config_route_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy_config_core_v3_HeaderValueOption_msg_init, arena); + struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -2459,7 +2434,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_config_route_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy_config_core_v3_HeaderValueOption_msg_init, arena); + struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -2569,12 +2544,12 @@ UPB_INLINE void envoy_config_route_v3_WeightedCluster_ClusterWeight_TypedPerFilt /* envoy.config.route.v3.ClusterSpecifierPlugin */ UPB_INLINE envoy_config_route_v3_ClusterSpecifierPlugin* envoy_config_route_v3_ClusterSpecifierPlugin_new(upb_Arena* arena) { - return (envoy_config_route_v3_ClusterSpecifierPlugin*)_upb_Message_New(&envoy_config_route_v3_ClusterSpecifierPlugin_msg_init, arena); + return (envoy_config_route_v3_ClusterSpecifierPlugin*)_upb_Message_New(&envoy__config__route__v3__ClusterSpecifierPlugin_msg_init, arena); } UPB_INLINE envoy_config_route_v3_ClusterSpecifierPlugin* envoy_config_route_v3_ClusterSpecifierPlugin_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_ClusterSpecifierPlugin* ret = envoy_config_route_v3_ClusterSpecifierPlugin_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_ClusterSpecifierPlugin_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__ClusterSpecifierPlugin_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2584,7 +2559,7 @@ UPB_INLINE envoy_config_route_v3_ClusterSpecifierPlugin* envoy_config_route_v3_C int options, upb_Arena* arena) { envoy_config_route_v3_ClusterSpecifierPlugin* ret = envoy_config_route_v3_ClusterSpecifierPlugin_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_ClusterSpecifierPlugin_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__ClusterSpecifierPlugin_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2592,13 +2567,13 @@ UPB_INLINE envoy_config_route_v3_ClusterSpecifierPlugin* envoy_config_route_v3_C } UPB_INLINE char* envoy_config_route_v3_ClusterSpecifierPlugin_serialize(const envoy_config_route_v3_ClusterSpecifierPlugin* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_ClusterSpecifierPlugin_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__ClusterSpecifierPlugin_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_ClusterSpecifierPlugin_serialize_ex(const envoy_config_route_v3_ClusterSpecifierPlugin* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_ClusterSpecifierPlugin_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__ClusterSpecifierPlugin_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_ClusterSpecifierPlugin_clear_extension(envoy_config_route_v3_ClusterSpecifierPlugin* msg) { @@ -2635,7 +2610,7 @@ UPB_INLINE void envoy_config_route_v3_ClusterSpecifierPlugin_set_extension(envoy UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_route_v3_ClusterSpecifierPlugin_mutable_extension(envoy_config_route_v3_ClusterSpecifierPlugin* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_route_v3_ClusterSpecifierPlugin_extension(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_route_v3_ClusterSpecifierPlugin_set_extension(msg, sub); } return sub; @@ -2648,12 +2623,12 @@ UPB_INLINE void envoy_config_route_v3_ClusterSpecifierPlugin_set_is_optional(env /* envoy.config.route.v3.RouteMatch */ UPB_INLINE envoy_config_route_v3_RouteMatch* envoy_config_route_v3_RouteMatch_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteMatch*)_upb_Message_New(&envoy_config_route_v3_RouteMatch_msg_init, arena); + return (envoy_config_route_v3_RouteMatch*)_upb_Message_New(&envoy__config__route__v3__RouteMatch_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteMatch* envoy_config_route_v3_RouteMatch_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteMatch* ret = envoy_config_route_v3_RouteMatch_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2663,7 +2638,7 @@ UPB_INLINE envoy_config_route_v3_RouteMatch* envoy_config_route_v3_RouteMatch_pa int options, upb_Arena* arena) { envoy_config_route_v3_RouteMatch* ret = envoy_config_route_v3_RouteMatch_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteMatch_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteMatch_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2671,13 +2646,13 @@ UPB_INLINE envoy_config_route_v3_RouteMatch* envoy_config_route_v3_RouteMatch_pa } UPB_INLINE char* envoy_config_route_v3_RouteMatch_serialize(const envoy_config_route_v3_RouteMatch* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteMatch_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteMatch_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteMatch_serialize_ex(const envoy_config_route_v3_RouteMatch* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteMatch_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteMatch_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -2970,7 +2945,7 @@ UPB_INLINE void envoy_config_route_v3_RouteMatch_set_case_sensitive(envoy_config UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_RouteMatch_mutable_case_sensitive(envoy_config_route_v3_RouteMatch* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_route_v3_RouteMatch_case_sensitive(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_route_v3_RouteMatch_set_case_sensitive(msg, sub); } return sub; @@ -2996,7 +2971,7 @@ UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_route_v3_Rou if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy_config_route_v3_HeaderMatcher_msg_init, arena); + struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -3022,7 +2997,7 @@ UPB_INLINE struct envoy_config_route_v3_QueryParameterMatcher* envoy_config_rout if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_QueryParameterMatcher* sub = (struct envoy_config_route_v3_QueryParameterMatcher*)_upb_Message_New(&envoy_config_route_v3_QueryParameterMatcher_msg_init, arena); + struct envoy_config_route_v3_QueryParameterMatcher* sub = (struct envoy_config_route_v3_QueryParameterMatcher*)_upb_Message_New(&envoy__config__route__v3__QueryParameterMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -3034,7 +3009,7 @@ UPB_INLINE void envoy_config_route_v3_RouteMatch_set_grpc(envoy_config_route_v3_ UPB_INLINE struct envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions* envoy_config_route_v3_RouteMatch_mutable_grpc(envoy_config_route_v3_RouteMatch* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions* sub = (struct envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions*)envoy_config_route_v3_RouteMatch_grpc(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions*)_upb_Message_New(&envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions*)_upb_Message_New(&envoy__config__route__v3__RouteMatch__GrpcRouteMatchOptions_msg_init, arena); if (sub) envoy_config_route_v3_RouteMatch_set_grpc(msg, sub); } return sub; @@ -3046,7 +3021,7 @@ UPB_INLINE void envoy_config_route_v3_RouteMatch_set_runtime_fraction(envoy_conf UPB_INLINE struct envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_route_v3_RouteMatch_mutable_runtime_fraction(envoy_config_route_v3_RouteMatch* msg, upb_Arena* arena) { struct envoy_config_core_v3_RuntimeFractionalPercent* sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)envoy_config_route_v3_RouteMatch_runtime_fraction(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)_upb_Message_New(&envoy_config_core_v3_RuntimeFractionalPercent_msg_init, arena); + sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)_upb_Message_New(&envoy__config__core__v3__RuntimeFractionalPercent_msg_init, arena); if (sub) envoy_config_route_v3_RouteMatch_set_runtime_fraction(msg, sub); } return sub; @@ -3058,7 +3033,7 @@ UPB_INLINE void envoy_config_route_v3_RouteMatch_set_safe_regex(envoy_config_rou UPB_INLINE struct envoy_type_matcher_v3_RegexMatcher* envoy_config_route_v3_RouteMatch_mutable_safe_regex(envoy_config_route_v3_RouteMatch* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_RegexMatcher* sub = (struct envoy_type_matcher_v3_RegexMatcher*)envoy_config_route_v3_RouteMatch_safe_regex(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_RegexMatcher*)_upb_Message_New(&envoy_type_matcher_v3_RegexMatcher_msg_init, arena); + sub = (struct envoy_type_matcher_v3_RegexMatcher*)_upb_Message_New(&envoy__type__matcher__v3__RegexMatcher_msg_init, arena); if (sub) envoy_config_route_v3_RouteMatch_set_safe_regex(msg, sub); } return sub; @@ -3070,7 +3045,7 @@ UPB_INLINE void envoy_config_route_v3_RouteMatch_set_tls_context(envoy_config_ro UPB_INLINE struct envoy_config_route_v3_RouteMatch_TlsContextMatchOptions* envoy_config_route_v3_RouteMatch_mutable_tls_context(envoy_config_route_v3_RouteMatch* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteMatch_TlsContextMatchOptions* sub = (struct envoy_config_route_v3_RouteMatch_TlsContextMatchOptions*)envoy_config_route_v3_RouteMatch_tls_context(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteMatch_TlsContextMatchOptions*)_upb_Message_New(&envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteMatch_TlsContextMatchOptions*)_upb_Message_New(&envoy__config__route__v3__RouteMatch__TlsContextMatchOptions_msg_init, arena); if (sub) envoy_config_route_v3_RouteMatch_set_tls_context(msg, sub); } return sub; @@ -3082,7 +3057,7 @@ UPB_INLINE void envoy_config_route_v3_RouteMatch_set_connect_matcher(envoy_confi UPB_INLINE struct envoy_config_route_v3_RouteMatch_ConnectMatcher* envoy_config_route_v3_RouteMatch_mutable_connect_matcher(envoy_config_route_v3_RouteMatch* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteMatch_ConnectMatcher* sub = (struct envoy_config_route_v3_RouteMatch_ConnectMatcher*)envoy_config_route_v3_RouteMatch_connect_matcher(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteMatch_ConnectMatcher*)_upb_Message_New(&envoy_config_route_v3_RouteMatch_ConnectMatcher_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteMatch_ConnectMatcher*)_upb_Message_New(&envoy__config__route__v3__RouteMatch__ConnectMatcher_msg_init, arena); if (sub) envoy_config_route_v3_RouteMatch_set_connect_matcher(msg, sub); } return sub; @@ -3108,7 +3083,7 @@ UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_route_v3_R if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_type_matcher_v3_MetadataMatcher* sub = (struct envoy_type_matcher_v3_MetadataMatcher*)_upb_Message_New(&envoy_type_matcher_v3_MetadataMatcher_msg_init, arena); + struct envoy_type_matcher_v3_MetadataMatcher* sub = (struct envoy_type_matcher_v3_MetadataMatcher*)_upb_Message_New(&envoy__type__matcher__v3__MetadataMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -3124,7 +3099,7 @@ UPB_INLINE void envoy_config_route_v3_RouteMatch_set_path_match_policy(envoy_con UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_route_v3_RouteMatch_mutable_path_match_policy(envoy_config_route_v3_RouteMatch* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_route_v3_RouteMatch_path_match_policy(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_route_v3_RouteMatch_set_path_match_policy(msg, sub); } return sub; @@ -3133,12 +3108,12 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_route_ /* envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions */ UPB_INLINE envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions* envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions*)_upb_Message_New(&envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_msg_init, arena); + return (envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions*)_upb_Message_New(&envoy__config__route__v3__RouteMatch__GrpcRouteMatchOptions_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions* envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions* ret = envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteMatch__GrpcRouteMatchOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3148,7 +3123,7 @@ UPB_INLINE envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions* envoy_config_ int options, upb_Arena* arena) { envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions* ret = envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteMatch__GrpcRouteMatchOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3156,13 +3131,13 @@ UPB_INLINE envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions* envoy_config_ } UPB_INLINE char* envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_serialize(const envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteMatch__GrpcRouteMatchOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_serialize_ex(const envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteMatch__GrpcRouteMatchOptions_msg_init, options, arena, &ptr, len); return ptr; } @@ -3170,12 +3145,12 @@ UPB_INLINE char* envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_serializ /* envoy.config.route.v3.RouteMatch.TlsContextMatchOptions */ UPB_INLINE envoy_config_route_v3_RouteMatch_TlsContextMatchOptions* envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteMatch_TlsContextMatchOptions*)_upb_Message_New(&envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_msg_init, arena); + return (envoy_config_route_v3_RouteMatch_TlsContextMatchOptions*)_upb_Message_New(&envoy__config__route__v3__RouteMatch__TlsContextMatchOptions_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteMatch_TlsContextMatchOptions* envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteMatch_TlsContextMatchOptions* ret = envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteMatch__TlsContextMatchOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3185,7 +3160,7 @@ UPB_INLINE envoy_config_route_v3_RouteMatch_TlsContextMatchOptions* envoy_config int options, upb_Arena* arena) { envoy_config_route_v3_RouteMatch_TlsContextMatchOptions* ret = envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteMatch__TlsContextMatchOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3193,13 +3168,13 @@ UPB_INLINE envoy_config_route_v3_RouteMatch_TlsContextMatchOptions* envoy_config } UPB_INLINE char* envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_serialize(const envoy_config_route_v3_RouteMatch_TlsContextMatchOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteMatch__TlsContextMatchOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_serialize_ex(const envoy_config_route_v3_RouteMatch_TlsContextMatchOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteMatch__TlsContextMatchOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_clear_presented(envoy_config_route_v3_RouteMatch_TlsContextMatchOptions* msg) { @@ -3240,7 +3215,7 @@ UPB_INLINE void envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_set_pres UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_mutable_presented(envoy_config_route_v3_RouteMatch_TlsContextMatchOptions* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_presented(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_set_presented(msg, sub); } return sub; @@ -3252,7 +3227,7 @@ UPB_INLINE void envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_set_vali UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_mutable_validated(envoy_config_route_v3_RouteMatch_TlsContextMatchOptions* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_validated(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_set_validated(msg, sub); } return sub; @@ -3261,12 +3236,12 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_RouteMatch_Tl /* envoy.config.route.v3.RouteMatch.ConnectMatcher */ UPB_INLINE envoy_config_route_v3_RouteMatch_ConnectMatcher* envoy_config_route_v3_RouteMatch_ConnectMatcher_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteMatch_ConnectMatcher*)_upb_Message_New(&envoy_config_route_v3_RouteMatch_ConnectMatcher_msg_init, arena); + return (envoy_config_route_v3_RouteMatch_ConnectMatcher*)_upb_Message_New(&envoy__config__route__v3__RouteMatch__ConnectMatcher_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteMatch_ConnectMatcher* envoy_config_route_v3_RouteMatch_ConnectMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteMatch_ConnectMatcher* ret = envoy_config_route_v3_RouteMatch_ConnectMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteMatch_ConnectMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteMatch__ConnectMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3276,7 +3251,7 @@ UPB_INLINE envoy_config_route_v3_RouteMatch_ConnectMatcher* envoy_config_route_v int options, upb_Arena* arena) { envoy_config_route_v3_RouteMatch_ConnectMatcher* ret = envoy_config_route_v3_RouteMatch_ConnectMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteMatch_ConnectMatcher_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteMatch__ConnectMatcher_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3284,13 +3259,13 @@ UPB_INLINE envoy_config_route_v3_RouteMatch_ConnectMatcher* envoy_config_route_v } UPB_INLINE char* envoy_config_route_v3_RouteMatch_ConnectMatcher_serialize(const envoy_config_route_v3_RouteMatch_ConnectMatcher* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteMatch_ConnectMatcher_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteMatch__ConnectMatcher_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteMatch_ConnectMatcher_serialize_ex(const envoy_config_route_v3_RouteMatch_ConnectMatcher* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteMatch_ConnectMatcher_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteMatch__ConnectMatcher_msg_init, options, arena, &ptr, len); return ptr; } @@ -3298,12 +3273,12 @@ UPB_INLINE char* envoy_config_route_v3_RouteMatch_ConnectMatcher_serialize_ex(co /* envoy.config.route.v3.CorsPolicy */ UPB_INLINE envoy_config_route_v3_CorsPolicy* envoy_config_route_v3_CorsPolicy_new(upb_Arena* arena) { - return (envoy_config_route_v3_CorsPolicy*)_upb_Message_New(&envoy_config_route_v3_CorsPolicy_msg_init, arena); + return (envoy_config_route_v3_CorsPolicy*)_upb_Message_New(&envoy__config__route__v3__CorsPolicy_msg_init, arena); } UPB_INLINE envoy_config_route_v3_CorsPolicy* envoy_config_route_v3_CorsPolicy_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_CorsPolicy* ret = envoy_config_route_v3_CorsPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_CorsPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__CorsPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3313,7 +3288,7 @@ UPB_INLINE envoy_config_route_v3_CorsPolicy* envoy_config_route_v3_CorsPolicy_pa int options, upb_Arena* arena) { envoy_config_route_v3_CorsPolicy* ret = envoy_config_route_v3_CorsPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_CorsPolicy_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__CorsPolicy_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3321,13 +3296,13 @@ UPB_INLINE envoy_config_route_v3_CorsPolicy* envoy_config_route_v3_CorsPolicy_pa } UPB_INLINE char* envoy_config_route_v3_CorsPolicy_serialize(const envoy_config_route_v3_CorsPolicy* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_CorsPolicy_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__CorsPolicy_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_CorsPolicy_serialize_ex(const envoy_config_route_v3_CorsPolicy* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_CorsPolicy_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__CorsPolicy_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -3503,7 +3478,7 @@ UPB_INLINE void envoy_config_route_v3_CorsPolicy_set_allow_credentials(envoy_con UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_CorsPolicy_mutable_allow_credentials(envoy_config_route_v3_CorsPolicy* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_route_v3_CorsPolicy_allow_credentials(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_route_v3_CorsPolicy_set_allow_credentials(msg, sub); } return sub; @@ -3515,7 +3490,7 @@ UPB_INLINE void envoy_config_route_v3_CorsPolicy_set_filter_enabled(envoy_config UPB_INLINE struct envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_route_v3_CorsPolicy_mutable_filter_enabled(envoy_config_route_v3_CorsPolicy* msg, upb_Arena* arena) { struct envoy_config_core_v3_RuntimeFractionalPercent* sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)envoy_config_route_v3_CorsPolicy_filter_enabled(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)_upb_Message_New(&envoy_config_core_v3_RuntimeFractionalPercent_msg_init, arena); + sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)_upb_Message_New(&envoy__config__core__v3__RuntimeFractionalPercent_msg_init, arena); if (sub) envoy_config_route_v3_CorsPolicy_set_filter_enabled(msg, sub); } return sub; @@ -3527,7 +3502,7 @@ UPB_INLINE void envoy_config_route_v3_CorsPolicy_set_shadow_enabled(envoy_config UPB_INLINE struct envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_route_v3_CorsPolicy_mutable_shadow_enabled(envoy_config_route_v3_CorsPolicy* msg, upb_Arena* arena) { struct envoy_config_core_v3_RuntimeFractionalPercent* sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)envoy_config_route_v3_CorsPolicy_shadow_enabled(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)_upb_Message_New(&envoy_config_core_v3_RuntimeFractionalPercent_msg_init, arena); + sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)_upb_Message_New(&envoy__config__core__v3__RuntimeFractionalPercent_msg_init, arena); if (sub) envoy_config_route_v3_CorsPolicy_set_shadow_enabled(msg, sub); } return sub; @@ -3553,7 +3528,7 @@ UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_route_v3_Cor if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); + struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -3565,7 +3540,7 @@ UPB_INLINE void envoy_config_route_v3_CorsPolicy_set_allow_private_network_acces UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_CorsPolicy_mutable_allow_private_network_access(envoy_config_route_v3_CorsPolicy* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_route_v3_CorsPolicy_allow_private_network_access(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_route_v3_CorsPolicy_set_allow_private_network_access(msg, sub); } return sub; @@ -3574,12 +3549,12 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_CorsPolicy_mu /* envoy.config.route.v3.RouteAction */ UPB_INLINE envoy_config_route_v3_RouteAction* envoy_config_route_v3_RouteAction_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteAction*)_upb_Message_New(&envoy_config_route_v3_RouteAction_msg_init, arena); + return (envoy_config_route_v3_RouteAction*)_upb_Message_New(&envoy__config__route__v3__RouteAction_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteAction* envoy_config_route_v3_RouteAction_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteAction* ret = envoy_config_route_v3_RouteAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3589,7 +3564,7 @@ UPB_INLINE envoy_config_route_v3_RouteAction* envoy_config_route_v3_RouteAction_ int options, upb_Arena* arena) { envoy_config_route_v3_RouteAction* ret = envoy_config_route_v3_RouteAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3597,13 +3572,13 @@ UPB_INLINE envoy_config_route_v3_RouteAction* envoy_config_route_v3_RouteAction_ } UPB_INLINE char* envoy_config_route_v3_RouteAction_serialize(const envoy_config_route_v3_RouteAction* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteAction_serialize_ex(const envoy_config_route_v3_RouteAction* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -4223,7 +4198,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_weighted_clusters(envoy_co UPB_INLINE struct envoy_config_route_v3_WeightedCluster* envoy_config_route_v3_RouteAction_mutable_weighted_clusters(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct envoy_config_route_v3_WeightedCluster* sub = (struct envoy_config_route_v3_WeightedCluster*)envoy_config_route_v3_RouteAction_weighted_clusters(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_WeightedCluster*)_upb_Message_New(&envoy_config_route_v3_WeightedCluster_msg_init, arena); + sub = (struct envoy_config_route_v3_WeightedCluster*)_upb_Message_New(&envoy__config__route__v3__WeightedCluster_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_weighted_clusters(msg, sub); } return sub; @@ -4235,7 +4210,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_metadata_match(envoy_confi UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_route_v3_RouteAction_mutable_metadata_match(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_route_v3_RouteAction_metadata_match(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy_config_core_v3_Metadata_msg_init, arena); + sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_metadata_match(msg, sub); } return sub; @@ -4255,7 +4230,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_auto_host_rewrite(envoy_co UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_RouteAction_mutable_auto_host_rewrite(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_route_v3_RouteAction_auto_host_rewrite(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_auto_host_rewrite(msg, sub); } return sub; @@ -4267,7 +4242,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_timeout(envoy_config_route UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RouteAction_mutable_timeout(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_route_v3_RouteAction_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_timeout(msg, sub); } return sub; @@ -4279,7 +4254,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_retry_policy(envoy_config_ UPB_INLINE struct envoy_config_route_v3_RetryPolicy* envoy_config_route_v3_RouteAction_mutable_retry_policy(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct envoy_config_route_v3_RetryPolicy* sub = (struct envoy_config_route_v3_RetryPolicy*)envoy_config_route_v3_RouteAction_retry_policy(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RetryPolicy*)_upb_Message_New(&envoy_config_route_v3_RetryPolicy_msg_init, arena); + sub = (struct envoy_config_route_v3_RetryPolicy*)_upb_Message_New(&envoy__config__route__v3__RetryPolicy_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_retry_policy(msg, sub); } return sub; @@ -4309,7 +4284,7 @@ UPB_INLINE struct envoy_config_route_v3_RateLimit* envoy_config_route_v3_RouteAc if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_RateLimit* sub = (struct envoy_config_route_v3_RateLimit*)_upb_Message_New(&envoy_config_route_v3_RateLimit_msg_init, arena); + struct envoy_config_route_v3_RateLimit* sub = (struct envoy_config_route_v3_RateLimit*)_upb_Message_New(&envoy__config__route__v3__RateLimit_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -4321,7 +4296,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_include_vh_rate_limits(env UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_RouteAction_mutable_include_vh_rate_limits(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_route_v3_RouteAction_include_vh_rate_limits(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_include_vh_rate_limits(msg, sub); } return sub; @@ -4347,7 +4322,7 @@ UPB_INLINE struct envoy_config_route_v3_RouteAction_HashPolicy* envoy_config_rou if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_RouteAction_HashPolicy* sub = (struct envoy_config_route_v3_RouteAction_HashPolicy*)_upb_Message_New(&envoy_config_route_v3_RouteAction_HashPolicy_msg_init, arena); + struct envoy_config_route_v3_RouteAction_HashPolicy* sub = (struct envoy_config_route_v3_RouteAction_HashPolicy*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -4359,7 +4334,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_cors(envoy_config_route_v3 UPB_INLINE struct envoy_config_route_v3_CorsPolicy* envoy_config_route_v3_RouteAction_mutable_cors(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct envoy_config_route_v3_CorsPolicy* sub = (struct envoy_config_route_v3_CorsPolicy*)envoy_config_route_v3_RouteAction_cors(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_CorsPolicy*)_upb_Message_New(&envoy_config_route_v3_CorsPolicy_msg_init, arena); + sub = (struct envoy_config_route_v3_CorsPolicy*)_upb_Message_New(&envoy__config__route__v3__CorsPolicy_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_cors(msg, sub); } return sub; @@ -4375,7 +4350,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_max_grpc_timeout(envoy_con UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RouteAction_mutable_max_grpc_timeout(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_route_v3_RouteAction_max_grpc_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_max_grpc_timeout(msg, sub); } return sub; @@ -4387,7 +4362,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_idle_timeout(envoy_config_ UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RouteAction_mutable_idle_timeout(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_route_v3_RouteAction_idle_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_idle_timeout(msg, sub); } return sub; @@ -4413,7 +4388,7 @@ UPB_INLINE struct envoy_config_route_v3_RouteAction_UpgradeConfig* envoy_config_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_RouteAction_UpgradeConfig* sub = (struct envoy_config_route_v3_RouteAction_UpgradeConfig*)_upb_Message_New(&envoy_config_route_v3_RouteAction_UpgradeConfig_msg_init, arena); + struct envoy_config_route_v3_RouteAction_UpgradeConfig* sub = (struct envoy_config_route_v3_RouteAction_UpgradeConfig*)_upb_Message_New(&envoy__config__route__v3__RouteAction__UpgradeConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -4429,7 +4404,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_hedge_policy(envoy_config_ UPB_INLINE struct envoy_config_route_v3_HedgePolicy* envoy_config_route_v3_RouteAction_mutable_hedge_policy(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct envoy_config_route_v3_HedgePolicy* sub = (struct envoy_config_route_v3_HedgePolicy*)envoy_config_route_v3_RouteAction_hedge_policy(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_HedgePolicy*)_upb_Message_New(&envoy_config_route_v3_HedgePolicy_msg_init, arena); + sub = (struct envoy_config_route_v3_HedgePolicy*)_upb_Message_New(&envoy__config__route__v3__HedgePolicy_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_hedge_policy(msg, sub); } return sub; @@ -4441,7 +4416,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_grpc_timeout_offset(envoy_ UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RouteAction_mutable_grpc_timeout_offset(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_route_v3_RouteAction_grpc_timeout_offset(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_grpc_timeout_offset(msg, sub); } return sub; @@ -4471,7 +4446,7 @@ UPB_INLINE struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy* envoy_c if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy* sub = (struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy*)_upb_Message_New(&envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init, arena); + struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy* sub = (struct envoy_config_route_v3_RouteAction_RequestMirrorPolicy*)_upb_Message_New(&envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -4483,7 +4458,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_max_internal_redirects(env UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_route_v3_RouteAction_mutable_max_internal_redirects(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_route_v3_RouteAction_max_internal_redirects(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_max_internal_redirects(msg, sub); } return sub; @@ -4495,7 +4470,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_regex_rewrite(envoy_config UPB_INLINE struct envoy_type_matcher_v3_RegexMatchAndSubstitute* envoy_config_route_v3_RouteAction_mutable_regex_rewrite(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_RegexMatchAndSubstitute* sub = (struct envoy_type_matcher_v3_RegexMatchAndSubstitute*)envoy_config_route_v3_RouteAction_regex_rewrite(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_RegexMatchAndSubstitute*)_upb_Message_New(&envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init, arena); + sub = (struct envoy_type_matcher_v3_RegexMatchAndSubstitute*)_upb_Message_New(&envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_regex_rewrite(msg, sub); } return sub; @@ -4507,7 +4482,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_retry_policy_typed_config( UPB_INLINE struct google_protobuf_Any* envoy_config_route_v3_RouteAction_mutable_retry_policy_typed_config(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_route_v3_RouteAction_retry_policy_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_retry_policy_typed_config(msg, sub); } return sub; @@ -4519,7 +4494,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_internal_redirect_policy(e UPB_INLINE struct envoy_config_route_v3_InternalRedirectPolicy* envoy_config_route_v3_RouteAction_mutable_internal_redirect_policy(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct envoy_config_route_v3_InternalRedirectPolicy* sub = (struct envoy_config_route_v3_InternalRedirectPolicy*)envoy_config_route_v3_RouteAction_internal_redirect_policy(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_InternalRedirectPolicy*)_upb_Message_New(&envoy_config_route_v3_InternalRedirectPolicy_msg_init, arena); + sub = (struct envoy_config_route_v3_InternalRedirectPolicy*)_upb_Message_New(&envoy__config__route__v3__InternalRedirectPolicy_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_internal_redirect_policy(msg, sub); } return sub; @@ -4531,7 +4506,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_host_rewrite_path_regex(en UPB_INLINE struct envoy_type_matcher_v3_RegexMatchAndSubstitute* envoy_config_route_v3_RouteAction_mutable_host_rewrite_path_regex(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_RegexMatchAndSubstitute* sub = (struct envoy_type_matcher_v3_RegexMatchAndSubstitute*)envoy_config_route_v3_RouteAction_host_rewrite_path_regex(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_RegexMatchAndSubstitute*)_upb_Message_New(&envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init, arena); + sub = (struct envoy_type_matcher_v3_RegexMatchAndSubstitute*)_upb_Message_New(&envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_host_rewrite_path_regex(msg, sub); } return sub; @@ -4543,7 +4518,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_max_stream_duration(envoy_ UPB_INLINE struct envoy_config_route_v3_RouteAction_MaxStreamDuration* envoy_config_route_v3_RouteAction_mutable_max_stream_duration(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteAction_MaxStreamDuration* sub = (struct envoy_config_route_v3_RouteAction_MaxStreamDuration*)envoy_config_route_v3_RouteAction_max_stream_duration(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteAction_MaxStreamDuration*)_upb_Message_New(&envoy_config_route_v3_RouteAction_MaxStreamDuration_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteAction_MaxStreamDuration*)_upb_Message_New(&envoy__config__route__v3__RouteAction__MaxStreamDuration_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_max_stream_duration(msg, sub); } return sub; @@ -4563,7 +4538,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_inline_cluster_specifier_p UPB_INLINE struct envoy_config_route_v3_ClusterSpecifierPlugin* envoy_config_route_v3_RouteAction_mutable_inline_cluster_specifier_plugin(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct envoy_config_route_v3_ClusterSpecifierPlugin* sub = (struct envoy_config_route_v3_ClusterSpecifierPlugin*)envoy_config_route_v3_RouteAction_inline_cluster_specifier_plugin(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_ClusterSpecifierPlugin*)_upb_Message_New(&envoy_config_route_v3_ClusterSpecifierPlugin_msg_init, arena); + sub = (struct envoy_config_route_v3_ClusterSpecifierPlugin*)_upb_Message_New(&envoy__config__route__v3__ClusterSpecifierPlugin_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_inline_cluster_specifier_plugin(msg, sub); } return sub; @@ -4575,7 +4550,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_early_data_policy(envoy_co UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_route_v3_RouteAction_mutable_early_data_policy(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_route_v3_RouteAction_early_data_policy(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_early_data_policy(msg, sub); } return sub; @@ -4587,7 +4562,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_set_path_rewrite_policy(envoy_ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_route_v3_RouteAction_mutable_path_rewrite_policy(envoy_config_route_v3_RouteAction* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_route_v3_RouteAction_path_rewrite_policy(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_set_path_rewrite_policy(msg, sub); } return sub; @@ -4596,12 +4571,12 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_route_ /* envoy.config.route.v3.RouteAction.RequestMirrorPolicy */ UPB_INLINE envoy_config_route_v3_RouteAction_RequestMirrorPolicy* envoy_config_route_v3_RouteAction_RequestMirrorPolicy_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteAction_RequestMirrorPolicy*)_upb_Message_New(&envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init, arena); + return (envoy_config_route_v3_RouteAction_RequestMirrorPolicy*)_upb_Message_New(&envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteAction_RequestMirrorPolicy* envoy_config_route_v3_RouteAction_RequestMirrorPolicy_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteAction_RequestMirrorPolicy* ret = envoy_config_route_v3_RouteAction_RequestMirrorPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -4611,7 +4586,7 @@ UPB_INLINE envoy_config_route_v3_RouteAction_RequestMirrorPolicy* envoy_config_r int options, upb_Arena* arena) { envoy_config_route_v3_RouteAction_RequestMirrorPolicy* ret = envoy_config_route_v3_RouteAction_RequestMirrorPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -4619,13 +4594,13 @@ UPB_INLINE envoy_config_route_v3_RouteAction_RequestMirrorPolicy* envoy_config_r } UPB_INLINE char* envoy_config_route_v3_RouteAction_RequestMirrorPolicy_serialize(const envoy_config_route_v3_RouteAction_RequestMirrorPolicy* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteAction_RequestMirrorPolicy_serialize_ex(const envoy_config_route_v3_RouteAction_RequestMirrorPolicy* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RouteAction_RequestMirrorPolicy_clear_cluster(envoy_config_route_v3_RouteAction_RequestMirrorPolicy* msg) { @@ -4692,7 +4667,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_RequestMirrorPolicy_set_runtim UPB_INLINE struct envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_route_v3_RouteAction_RequestMirrorPolicy_mutable_runtime_fraction(envoy_config_route_v3_RouteAction_RequestMirrorPolicy* msg, upb_Arena* arena) { struct envoy_config_core_v3_RuntimeFractionalPercent* sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)envoy_config_route_v3_RouteAction_RequestMirrorPolicy_runtime_fraction(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)_upb_Message_New(&envoy_config_core_v3_RuntimeFractionalPercent_msg_init, arena); + sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)_upb_Message_New(&envoy__config__core__v3__RuntimeFractionalPercent_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_RequestMirrorPolicy_set_runtime_fraction(msg, sub); } return sub; @@ -4704,7 +4679,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_RequestMirrorPolicy_set_trace_ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_RouteAction_RequestMirrorPolicy_mutable_trace_sampled(envoy_config_route_v3_RouteAction_RequestMirrorPolicy* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_route_v3_RouteAction_RequestMirrorPolicy_trace_sampled(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_RequestMirrorPolicy_set_trace_sampled(msg, sub); } return sub; @@ -4717,12 +4692,12 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_RequestMirrorPolicy_set_cluste /* envoy.config.route.v3.RouteAction.HashPolicy */ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy* envoy_config_route_v3_RouteAction_HashPolicy_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteAction_HashPolicy*)_upb_Message_New(&envoy_config_route_v3_RouteAction_HashPolicy_msg_init, arena); + return (envoy_config_route_v3_RouteAction_HashPolicy*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy* envoy_config_route_v3_RouteAction_HashPolicy_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteAction_HashPolicy* ret = envoy_config_route_v3_RouteAction_HashPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_HashPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -4732,7 +4707,7 @@ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy* envoy_config_route_v3_R int options, upb_Arena* arena) { envoy_config_route_v3_RouteAction_HashPolicy* ret = envoy_config_route_v3_RouteAction_HashPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_HashPolicy_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -4740,13 +4715,13 @@ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy* envoy_config_route_v3_R } UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_serialize(const envoy_config_route_v3_RouteAction_HashPolicy* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_HashPolicy_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_serialize_ex(const envoy_config_route_v3_RouteAction_HashPolicy* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_HashPolicy_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -4855,7 +4830,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_set_header(envoy_co UPB_INLINE struct envoy_config_route_v3_RouteAction_HashPolicy_Header* envoy_config_route_v3_RouteAction_HashPolicy_mutable_header(envoy_config_route_v3_RouteAction_HashPolicy* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteAction_HashPolicy_Header* sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_Header*)envoy_config_route_v3_RouteAction_HashPolicy_header(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_Header*)_upb_Message_New(&envoy_config_route_v3_RouteAction_HashPolicy_Header_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_Header*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy__Header_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_HashPolicy_set_header(msg, sub); } return sub; @@ -4867,7 +4842,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_set_cookie(envoy_co UPB_INLINE struct envoy_config_route_v3_RouteAction_HashPolicy_Cookie* envoy_config_route_v3_RouteAction_HashPolicy_mutable_cookie(envoy_config_route_v3_RouteAction_HashPolicy* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteAction_HashPolicy_Cookie* sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_Cookie*)envoy_config_route_v3_RouteAction_HashPolicy_cookie(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_Cookie*)_upb_Message_New(&envoy_config_route_v3_RouteAction_HashPolicy_Cookie_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_Cookie*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy__Cookie_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_HashPolicy_set_cookie(msg, sub); } return sub; @@ -4879,7 +4854,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_set_connection_prop UPB_INLINE struct envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties* envoy_config_route_v3_RouteAction_HashPolicy_mutable_connection_properties(envoy_config_route_v3_RouteAction_HashPolicy* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties* sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties*)envoy_config_route_v3_RouteAction_HashPolicy_connection_properties(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties*)_upb_Message_New(&envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy__ConnectionProperties_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_HashPolicy_set_connection_properties(msg, sub); } return sub; @@ -4895,7 +4870,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_set_query_parameter UPB_INLINE struct envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter* envoy_config_route_v3_RouteAction_HashPolicy_mutable_query_parameter(envoy_config_route_v3_RouteAction_HashPolicy* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter* sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter*)envoy_config_route_v3_RouteAction_HashPolicy_query_parameter(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter*)_upb_Message_New(&envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy__QueryParameter_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_HashPolicy_set_query_parameter(msg, sub); } return sub; @@ -4907,7 +4882,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_set_filter_state(en UPB_INLINE struct envoy_config_route_v3_RouteAction_HashPolicy_FilterState* envoy_config_route_v3_RouteAction_HashPolicy_mutable_filter_state(envoy_config_route_v3_RouteAction_HashPolicy* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteAction_HashPolicy_FilterState* sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_FilterState*)envoy_config_route_v3_RouteAction_HashPolicy_filter_state(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_FilterState*)_upb_Message_New(&envoy_config_route_v3_RouteAction_HashPolicy_FilterState_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_FilterState*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy__FilterState_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_HashPolicy_set_filter_state(msg, sub); } return sub; @@ -4916,12 +4891,12 @@ UPB_INLINE struct envoy_config_route_v3_RouteAction_HashPolicy_FilterState* envo /* envoy.config.route.v3.RouteAction.HashPolicy.Header */ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_Header* envoy_config_route_v3_RouteAction_HashPolicy_Header_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteAction_HashPolicy_Header*)_upb_Message_New(&envoy_config_route_v3_RouteAction_HashPolicy_Header_msg_init, arena); + return (envoy_config_route_v3_RouteAction_HashPolicy_Header*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy__Header_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_Header* envoy_config_route_v3_RouteAction_HashPolicy_Header_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteAction_HashPolicy_Header* ret = envoy_config_route_v3_RouteAction_HashPolicy_Header_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_HashPolicy_Header_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy__Header_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -4931,7 +4906,7 @@ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_Header* envoy_config_rou int options, upb_Arena* arena) { envoy_config_route_v3_RouteAction_HashPolicy_Header* ret = envoy_config_route_v3_RouteAction_HashPolicy_Header_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_HashPolicy_Header_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy__Header_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -4939,13 +4914,13 @@ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_Header* envoy_config_rou } UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_Header_serialize(const envoy_config_route_v3_RouteAction_HashPolicy_Header* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_HashPolicy_Header_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy__Header_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_Header_serialize_ex(const envoy_config_route_v3_RouteAction_HashPolicy_Header* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_HashPolicy_Header_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy__Header_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_Header_clear_header_name(envoy_config_route_v3_RouteAction_HashPolicy_Header* msg) { @@ -4986,21 +4961,88 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_Header_set_regex_re UPB_INLINE struct envoy_type_matcher_v3_RegexMatchAndSubstitute* envoy_config_route_v3_RouteAction_HashPolicy_Header_mutable_regex_rewrite(envoy_config_route_v3_RouteAction_HashPolicy_Header* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_RegexMatchAndSubstitute* sub = (struct envoy_type_matcher_v3_RegexMatchAndSubstitute*)envoy_config_route_v3_RouteAction_HashPolicy_Header_regex_rewrite(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_RegexMatchAndSubstitute*)_upb_Message_New(&envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init, arena); + sub = (struct envoy_type_matcher_v3_RegexMatchAndSubstitute*)_upb_Message_New(&envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_HashPolicy_Header_set_regex_rewrite(msg, sub); } return sub; } +/* envoy.config.route.v3.RouteAction.HashPolicy.CookieAttribute */ + +UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_new(upb_Arena* arena) { + return (envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy__CookieAttribute_msg_init, arena); +} +UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* ret = envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy__CookieAttribute_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* ret = envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy__CookieAttribute_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_serialize(const envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy__CookieAttribute_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_serialize_ex(const envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy__CookieAttribute_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_clear_name(envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_name(const envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_clear_value(envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_value(const envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_set_name(envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_set_value(envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + /* envoy.config.route.v3.RouteAction.HashPolicy.Cookie */ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_Cookie* envoy_config_route_v3_RouteAction_HashPolicy_Cookie_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteAction_HashPolicy_Cookie*)_upb_Message_New(&envoy_config_route_v3_RouteAction_HashPolicy_Cookie_msg_init, arena); + return (envoy_config_route_v3_RouteAction_HashPolicy_Cookie*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy__Cookie_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_Cookie* envoy_config_route_v3_RouteAction_HashPolicy_Cookie_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteAction_HashPolicy_Cookie* ret = envoy_config_route_v3_RouteAction_HashPolicy_Cookie_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_HashPolicy_Cookie_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy__Cookie_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5010,7 +5052,7 @@ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_Cookie* envoy_config_rou int options, upb_Arena* arena) { envoy_config_route_v3_RouteAction_HashPolicy_Cookie* ret = envoy_config_route_v3_RouteAction_HashPolicy_Cookie_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_HashPolicy_Cookie_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy__Cookie_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5018,23 +5060,23 @@ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_Cookie* envoy_config_rou } UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_Cookie_serialize(const envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_HashPolicy_Cookie_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy__Cookie_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_Cookie_serialize_ex(const envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_HashPolicy_Cookie_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy__Cookie_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_Cookie_clear_name(envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView envoy_config_route_v3_RouteAction_HashPolicy_Cookie_name(const envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg) { upb_StringView default_val = upb_StringView_FromString(""); upb_StringView ret; - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } @@ -5054,19 +5096,56 @@ UPB_INLINE bool envoy_config_route_v3_RouteAction_HashPolicy_Cookie_has_ttl(cons return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_Cookie_clear_path(envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView envoy_config_route_v3_RouteAction_HashPolicy_Cookie_path(const envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg) { upb_StringView default_val = upb_StringView_FromString(""); upb_StringView ret; - const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } +UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_Cookie_clear_attributes(envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* const* envoy_config_route_v3_RouteAction_HashPolicy_Cookie_attributes(const envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_route_v3_RouteAction_HashPolicy_Cookie_attributes_upb_array(const envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_route_v3_RouteAction_HashPolicy_Cookie_attributes_mutable_upb_array(const envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_route_v3_RouteAction_HashPolicy_Cookie_has_attributes(const envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg) { + size_t size; + envoy_config_route_v3_RouteAction_HashPolicy_Cookie_attributes(msg, &size); + return size != 0; +} UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_Cookie_set_name(envoy_config_route_v3_RouteAction_HashPolicy_Cookie *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_Cookie_set_ttl(envoy_config_route_v3_RouteAction_HashPolicy_Cookie *msg, struct google_protobuf_Duration* value) { @@ -5076,25 +5155,51 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_Cookie_set_ttl(envo UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RouteAction_HashPolicy_Cookie_mutable_ttl(envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_route_v3_RouteAction_HashPolicy_Cookie_ttl(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_HashPolicy_Cookie_set_ttl(msg, sub); } return sub; } UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_Cookie_set_path(envoy_config_route_v3_RouteAction_HashPolicy_Cookie *msg, upb_StringView value) { - const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } +UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute** envoy_config_route_v3_RouteAction_HashPolicy_Cookie_mutable_attributes(envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg, size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute** envoy_config_route_v3_RouteAction_HashPolicy_Cookie_resize_attributes(envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* envoy_config_route_v3_RouteAction_HashPolicy_Cookie_add_attributes(envoy_config_route_v3_RouteAction_HashPolicy_Cookie* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute* sub = (struct envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy__CookieAttribute_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} /* envoy.config.route.v3.RouteAction.HashPolicy.ConnectionProperties */ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties* envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties*)_upb_Message_New(&envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_msg_init, arena); + return (envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy__ConnectionProperties_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties* envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties* ret = envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy__ConnectionProperties_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5104,7 +5209,7 @@ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties* en int options, upb_Arena* arena) { envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties* ret = envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy__ConnectionProperties_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5112,13 +5217,13 @@ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties* en } UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_serialize(const envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy__ConnectionProperties_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_serialize_ex(const envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy__ConnectionProperties_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_clear_source_ip(envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties* msg) { @@ -5141,12 +5246,12 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_ConnectionPropertie /* envoy.config.route.v3.RouteAction.HashPolicy.QueryParameter */ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter* envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter*)_upb_Message_New(&envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_msg_init, arena); + return (envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy__QueryParameter_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter* envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter* ret = envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy__QueryParameter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5156,7 +5261,7 @@ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter* envoy_co int options, upb_Arena* arena) { envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter* ret = envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy__QueryParameter_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5164,13 +5269,13 @@ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter* envoy_co } UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_serialize(const envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy__QueryParameter_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_serialize_ex(const envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy__QueryParameter_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_clear_name(envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter* msg) { @@ -5193,12 +5298,12 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_set_ /* envoy.config.route.v3.RouteAction.HashPolicy.FilterState */ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_FilterState* envoy_config_route_v3_RouteAction_HashPolicy_FilterState_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteAction_HashPolicy_FilterState*)_upb_Message_New(&envoy_config_route_v3_RouteAction_HashPolicy_FilterState_msg_init, arena); + return (envoy_config_route_v3_RouteAction_HashPolicy_FilterState*)_upb_Message_New(&envoy__config__route__v3__RouteAction__HashPolicy__FilterState_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_FilterState* envoy_config_route_v3_RouteAction_HashPolicy_FilterState_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteAction_HashPolicy_FilterState* ret = envoy_config_route_v3_RouteAction_HashPolicy_FilterState_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_HashPolicy_FilterState_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy__FilterState_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5208,7 +5313,7 @@ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_FilterState* envoy_confi int options, upb_Arena* arena) { envoy_config_route_v3_RouteAction_HashPolicy_FilterState* ret = envoy_config_route_v3_RouteAction_HashPolicy_FilterState_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_HashPolicy_FilterState_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__HashPolicy__FilterState_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5216,13 +5321,13 @@ UPB_INLINE envoy_config_route_v3_RouteAction_HashPolicy_FilterState* envoy_confi } UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_FilterState_serialize(const envoy_config_route_v3_RouteAction_HashPolicy_FilterState* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_HashPolicy_FilterState_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy__FilterState_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteAction_HashPolicy_FilterState_serialize_ex(const envoy_config_route_v3_RouteAction_HashPolicy_FilterState* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_HashPolicy_FilterState_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__HashPolicy__FilterState_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_FilterState_clear_key(envoy_config_route_v3_RouteAction_HashPolicy_FilterState* msg) { @@ -5245,12 +5350,12 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_HashPolicy_FilterState_set_key /* envoy.config.route.v3.RouteAction.UpgradeConfig */ UPB_INLINE envoy_config_route_v3_RouteAction_UpgradeConfig* envoy_config_route_v3_RouteAction_UpgradeConfig_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteAction_UpgradeConfig*)_upb_Message_New(&envoy_config_route_v3_RouteAction_UpgradeConfig_msg_init, arena); + return (envoy_config_route_v3_RouteAction_UpgradeConfig*)_upb_Message_New(&envoy__config__route__v3__RouteAction__UpgradeConfig_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteAction_UpgradeConfig* envoy_config_route_v3_RouteAction_UpgradeConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteAction_UpgradeConfig* ret = envoy_config_route_v3_RouteAction_UpgradeConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_UpgradeConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__UpgradeConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5260,7 +5365,7 @@ UPB_INLINE envoy_config_route_v3_RouteAction_UpgradeConfig* envoy_config_route_v int options, upb_Arena* arena) { envoy_config_route_v3_RouteAction_UpgradeConfig* ret = envoy_config_route_v3_RouteAction_UpgradeConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_UpgradeConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__UpgradeConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5268,13 +5373,13 @@ UPB_INLINE envoy_config_route_v3_RouteAction_UpgradeConfig* envoy_config_route_v } UPB_INLINE char* envoy_config_route_v3_RouteAction_UpgradeConfig_serialize(const envoy_config_route_v3_RouteAction_UpgradeConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_UpgradeConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__UpgradeConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteAction_UpgradeConfig_serialize_ex(const envoy_config_route_v3_RouteAction_UpgradeConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_UpgradeConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__UpgradeConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RouteAction_UpgradeConfig_clear_upgrade_type(envoy_config_route_v3_RouteAction_UpgradeConfig* msg) { @@ -5330,7 +5435,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_UpgradeConfig_set_enabled(envo UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_RouteAction_UpgradeConfig_mutable_enabled(envoy_config_route_v3_RouteAction_UpgradeConfig* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_route_v3_RouteAction_UpgradeConfig_enabled(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_UpgradeConfig_set_enabled(msg, sub); } return sub; @@ -5342,7 +5447,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_UpgradeConfig_set_connect_conf UPB_INLINE struct envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig* envoy_config_route_v3_RouteAction_UpgradeConfig_mutable_connect_config(envoy_config_route_v3_RouteAction_UpgradeConfig* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig* sub = (struct envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig*)envoy_config_route_v3_RouteAction_UpgradeConfig_connect_config(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig*)_upb_Message_New(&envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig*)_upb_Message_New(&envoy__config__route__v3__RouteAction__UpgradeConfig__ConnectConfig_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_UpgradeConfig_set_connect_config(msg, sub); } return sub; @@ -5351,12 +5456,12 @@ UPB_INLINE struct envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig* /* envoy.config.route.v3.RouteAction.UpgradeConfig.ConnectConfig */ UPB_INLINE envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig* envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig*)_upb_Message_New(&envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_msg_init, arena); + return (envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig*)_upb_Message_New(&envoy__config__route__v3__RouteAction__UpgradeConfig__ConnectConfig_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig* envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig* ret = envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__UpgradeConfig__ConnectConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5366,7 +5471,7 @@ UPB_INLINE envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig* envoy_ int options, upb_Arena* arena) { envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig* ret = envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__UpgradeConfig__ConnectConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5374,13 +5479,13 @@ UPB_INLINE envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig* envoy_ } UPB_INLINE char* envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_serialize(const envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__UpgradeConfig__ConnectConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_serialize_ex(const envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__UpgradeConfig__ConnectConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_clear_proxy_protocol_config(envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig* msg) { @@ -5417,7 +5522,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_se UPB_INLINE struct envoy_config_core_v3_ProxyProtocolConfig* envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_mutable_proxy_protocol_config(envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_ProxyProtocolConfig* sub = (struct envoy_config_core_v3_ProxyProtocolConfig*)envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_proxy_protocol_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ProxyProtocolConfig*)_upb_Message_New(&envoy_config_core_v3_ProxyProtocolConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_ProxyProtocolConfig*)_upb_Message_New(&envoy__config__core__v3__ProxyProtocolConfig_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_set_proxy_protocol_config(msg, sub); } return sub; @@ -5430,12 +5535,12 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_se /* envoy.config.route.v3.RouteAction.MaxStreamDuration */ UPB_INLINE envoy_config_route_v3_RouteAction_MaxStreamDuration* envoy_config_route_v3_RouteAction_MaxStreamDuration_new(upb_Arena* arena) { - return (envoy_config_route_v3_RouteAction_MaxStreamDuration*)_upb_Message_New(&envoy_config_route_v3_RouteAction_MaxStreamDuration_msg_init, arena); + return (envoy_config_route_v3_RouteAction_MaxStreamDuration*)_upb_Message_New(&envoy__config__route__v3__RouteAction__MaxStreamDuration_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RouteAction_MaxStreamDuration* envoy_config_route_v3_RouteAction_MaxStreamDuration_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RouteAction_MaxStreamDuration* ret = envoy_config_route_v3_RouteAction_MaxStreamDuration_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_MaxStreamDuration_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__MaxStreamDuration_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5445,7 +5550,7 @@ UPB_INLINE envoy_config_route_v3_RouteAction_MaxStreamDuration* envoy_config_rou int options, upb_Arena* arena) { envoy_config_route_v3_RouteAction_MaxStreamDuration* ret = envoy_config_route_v3_RouteAction_MaxStreamDuration_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RouteAction_MaxStreamDuration_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RouteAction__MaxStreamDuration_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5453,13 +5558,13 @@ UPB_INLINE envoy_config_route_v3_RouteAction_MaxStreamDuration* envoy_config_rou } UPB_INLINE char* envoy_config_route_v3_RouteAction_MaxStreamDuration_serialize(const envoy_config_route_v3_RouteAction_MaxStreamDuration* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_MaxStreamDuration_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__MaxStreamDuration_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RouteAction_MaxStreamDuration_serialize_ex(const envoy_config_route_v3_RouteAction_MaxStreamDuration* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RouteAction_MaxStreamDuration_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RouteAction__MaxStreamDuration_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RouteAction_MaxStreamDuration_clear_max_stream_duration(envoy_config_route_v3_RouteAction_MaxStreamDuration* msg) { @@ -5515,7 +5620,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_MaxStreamDuration_set_max_stre UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RouteAction_MaxStreamDuration_mutable_max_stream_duration(envoy_config_route_v3_RouteAction_MaxStreamDuration* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_route_v3_RouteAction_MaxStreamDuration_max_stream_duration(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_MaxStreamDuration_set_max_stream_duration(msg, sub); } return sub; @@ -5527,7 +5632,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_MaxStreamDuration_set_grpc_tim UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RouteAction_MaxStreamDuration_mutable_grpc_timeout_header_max(envoy_config_route_v3_RouteAction_MaxStreamDuration* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_route_v3_RouteAction_MaxStreamDuration_grpc_timeout_header_max(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_MaxStreamDuration_set_grpc_timeout_header_max(msg, sub); } return sub; @@ -5539,7 +5644,7 @@ UPB_INLINE void envoy_config_route_v3_RouteAction_MaxStreamDuration_set_grpc_tim UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RouteAction_MaxStreamDuration_mutable_grpc_timeout_header_offset(envoy_config_route_v3_RouteAction_MaxStreamDuration* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_route_v3_RouteAction_MaxStreamDuration_grpc_timeout_header_offset(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_route_v3_RouteAction_MaxStreamDuration_set_grpc_timeout_header_offset(msg, sub); } return sub; @@ -5548,12 +5653,12 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RouteAction_Ma /* envoy.config.route.v3.RetryPolicy */ UPB_INLINE envoy_config_route_v3_RetryPolicy* envoy_config_route_v3_RetryPolicy_new(upb_Arena* arena) { - return (envoy_config_route_v3_RetryPolicy*)_upb_Message_New(&envoy_config_route_v3_RetryPolicy_msg_init, arena); + return (envoy_config_route_v3_RetryPolicy*)_upb_Message_New(&envoy__config__route__v3__RetryPolicy_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RetryPolicy* envoy_config_route_v3_RetryPolicy_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RetryPolicy* ret = envoy_config_route_v3_RetryPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RetryPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RetryPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5563,7 +5668,7 @@ UPB_INLINE envoy_config_route_v3_RetryPolicy* envoy_config_route_v3_RetryPolicy_ int options, upb_Arena* arena) { envoy_config_route_v3_RetryPolicy* ret = envoy_config_route_v3_RetryPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RetryPolicy_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RetryPolicy_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5571,13 +5676,13 @@ UPB_INLINE envoy_config_route_v3_RetryPolicy* envoy_config_route_v3_RetryPolicy_ } UPB_INLINE char* envoy_config_route_v3_RetryPolicy_serialize(const envoy_config_route_v3_RetryPolicy* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RetryPolicy_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RetryPolicy_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RetryPolicy_serialize_ex(const envoy_config_route_v3_RetryPolicy* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RetryPolicy_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RetryPolicy_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RetryPolicy_clear_retry_on(envoy_config_route_v3_RetryPolicy* msg) { @@ -5889,7 +5994,7 @@ UPB_INLINE void envoy_config_route_v3_RetryPolicy_set_num_retries(envoy_config_r UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_route_v3_RetryPolicy_mutable_num_retries(envoy_config_route_v3_RetryPolicy* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_route_v3_RetryPolicy_num_retries(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_route_v3_RetryPolicy_set_num_retries(msg, sub); } return sub; @@ -5901,7 +6006,7 @@ UPB_INLINE void envoy_config_route_v3_RetryPolicy_set_per_try_timeout(envoy_conf UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RetryPolicy_mutable_per_try_timeout(envoy_config_route_v3_RetryPolicy* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_route_v3_RetryPolicy_per_try_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_route_v3_RetryPolicy_set_per_try_timeout(msg, sub); } return sub; @@ -5913,7 +6018,7 @@ UPB_INLINE void envoy_config_route_v3_RetryPolicy_set_retry_priority(envoy_confi UPB_INLINE struct envoy_config_route_v3_RetryPolicy_RetryPriority* envoy_config_route_v3_RetryPolicy_mutable_retry_priority(envoy_config_route_v3_RetryPolicy* msg, upb_Arena* arena) { struct envoy_config_route_v3_RetryPolicy_RetryPriority* sub = (struct envoy_config_route_v3_RetryPolicy_RetryPriority*)envoy_config_route_v3_RetryPolicy_retry_priority(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RetryPolicy_RetryPriority*)_upb_Message_New(&envoy_config_route_v3_RetryPolicy_RetryPriority_msg_init, arena); + sub = (struct envoy_config_route_v3_RetryPolicy_RetryPriority*)_upb_Message_New(&envoy__config__route__v3__RetryPolicy__RetryPriority_msg_init, arena); if (sub) envoy_config_route_v3_RetryPolicy_set_retry_priority(msg, sub); } return sub; @@ -5939,7 +6044,7 @@ UPB_INLINE struct envoy_config_route_v3_RetryPolicy_RetryHostPredicate* envoy_co if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_RetryPolicy_RetryHostPredicate* sub = (struct envoy_config_route_v3_RetryPolicy_RetryHostPredicate*)_upb_Message_New(&envoy_config_route_v3_RetryPolicy_RetryHostPredicate_msg_init, arena); + struct envoy_config_route_v3_RetryPolicy_RetryHostPredicate* sub = (struct envoy_config_route_v3_RetryPolicy_RetryHostPredicate*)_upb_Message_New(&envoy__config__route__v3__RetryPolicy__RetryHostPredicate_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -5979,7 +6084,7 @@ UPB_INLINE void envoy_config_route_v3_RetryPolicy_set_retry_back_off(envoy_confi UPB_INLINE struct envoy_config_route_v3_RetryPolicy_RetryBackOff* envoy_config_route_v3_RetryPolicy_mutable_retry_back_off(envoy_config_route_v3_RetryPolicy* msg, upb_Arena* arena) { struct envoy_config_route_v3_RetryPolicy_RetryBackOff* sub = (struct envoy_config_route_v3_RetryPolicy_RetryBackOff*)envoy_config_route_v3_RetryPolicy_retry_back_off(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RetryPolicy_RetryBackOff*)_upb_Message_New(&envoy_config_route_v3_RetryPolicy_RetryBackOff_msg_init, arena); + sub = (struct envoy_config_route_v3_RetryPolicy_RetryBackOff*)_upb_Message_New(&envoy__config__route__v3__RetryPolicy__RetryBackOff_msg_init, arena); if (sub) envoy_config_route_v3_RetryPolicy_set_retry_back_off(msg, sub); } return sub; @@ -6005,7 +6110,7 @@ UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_route_v3_Ret if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy_config_route_v3_HeaderMatcher_msg_init, arena); + struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -6031,7 +6136,7 @@ UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_route_v3_Ret if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy_config_route_v3_HeaderMatcher_msg_init, arena); + struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -6043,7 +6148,7 @@ UPB_INLINE void envoy_config_route_v3_RetryPolicy_set_rate_limited_retry_back_of UPB_INLINE struct envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff* envoy_config_route_v3_RetryPolicy_mutable_rate_limited_retry_back_off(envoy_config_route_v3_RetryPolicy* msg, upb_Arena* arena) { struct envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff* sub = (struct envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff*)envoy_config_route_v3_RetryPolicy_rate_limited_retry_back_off(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff*)_upb_Message_New(&envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_msg_init, arena); + sub = (struct envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff*)_upb_Message_New(&envoy__config__route__v3__RetryPolicy__RateLimitedRetryBackOff_msg_init, arena); if (sub) envoy_config_route_v3_RetryPolicy_set_rate_limited_retry_back_off(msg, sub); } return sub; @@ -6069,7 +6174,7 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_route_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -6081,7 +6186,7 @@ UPB_INLINE void envoy_config_route_v3_RetryPolicy_set_per_try_idle_timeout(envoy UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RetryPolicy_mutable_per_try_idle_timeout(envoy_config_route_v3_RetryPolicy* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_route_v3_RetryPolicy_per_try_idle_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_route_v3_RetryPolicy_set_per_try_idle_timeout(msg, sub); } return sub; @@ -6090,12 +6195,12 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RetryPolicy_mu /* envoy.config.route.v3.RetryPolicy.RetryPriority */ UPB_INLINE envoy_config_route_v3_RetryPolicy_RetryPriority* envoy_config_route_v3_RetryPolicy_RetryPriority_new(upb_Arena* arena) { - return (envoy_config_route_v3_RetryPolicy_RetryPriority*)_upb_Message_New(&envoy_config_route_v3_RetryPolicy_RetryPriority_msg_init, arena); + return (envoy_config_route_v3_RetryPolicy_RetryPriority*)_upb_Message_New(&envoy__config__route__v3__RetryPolicy__RetryPriority_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RetryPolicy_RetryPriority* envoy_config_route_v3_RetryPolicy_RetryPriority_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RetryPolicy_RetryPriority* ret = envoy_config_route_v3_RetryPolicy_RetryPriority_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RetryPolicy_RetryPriority_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RetryPolicy__RetryPriority_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -6105,7 +6210,7 @@ UPB_INLINE envoy_config_route_v3_RetryPolicy_RetryPriority* envoy_config_route_v int options, upb_Arena* arena) { envoy_config_route_v3_RetryPolicy_RetryPriority* ret = envoy_config_route_v3_RetryPolicy_RetryPriority_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RetryPolicy_RetryPriority_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RetryPolicy__RetryPriority_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -6113,13 +6218,13 @@ UPB_INLINE envoy_config_route_v3_RetryPolicy_RetryPriority* envoy_config_route_v } UPB_INLINE char* envoy_config_route_v3_RetryPolicy_RetryPriority_serialize(const envoy_config_route_v3_RetryPolicy_RetryPriority* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RetryPolicy_RetryPriority_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RetryPolicy__RetryPriority_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RetryPolicy_RetryPriority_serialize_ex(const envoy_config_route_v3_RetryPolicy_RetryPriority* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RetryPolicy_RetryPriority_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RetryPolicy__RetryPriority_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -6168,7 +6273,7 @@ UPB_INLINE void envoy_config_route_v3_RetryPolicy_RetryPriority_set_typed_config UPB_INLINE struct google_protobuf_Any* envoy_config_route_v3_RetryPolicy_RetryPriority_mutable_typed_config(envoy_config_route_v3_RetryPolicy_RetryPriority* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_route_v3_RetryPolicy_RetryPriority_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_route_v3_RetryPolicy_RetryPriority_set_typed_config(msg, sub); } return sub; @@ -6177,12 +6282,12 @@ UPB_INLINE struct google_protobuf_Any* envoy_config_route_v3_RetryPolicy_RetryPr /* envoy.config.route.v3.RetryPolicy.RetryHostPredicate */ UPB_INLINE envoy_config_route_v3_RetryPolicy_RetryHostPredicate* envoy_config_route_v3_RetryPolicy_RetryHostPredicate_new(upb_Arena* arena) { - return (envoy_config_route_v3_RetryPolicy_RetryHostPredicate*)_upb_Message_New(&envoy_config_route_v3_RetryPolicy_RetryHostPredicate_msg_init, arena); + return (envoy_config_route_v3_RetryPolicy_RetryHostPredicate*)_upb_Message_New(&envoy__config__route__v3__RetryPolicy__RetryHostPredicate_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RetryPolicy_RetryHostPredicate* envoy_config_route_v3_RetryPolicy_RetryHostPredicate_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RetryPolicy_RetryHostPredicate* ret = envoy_config_route_v3_RetryPolicy_RetryHostPredicate_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RetryPolicy_RetryHostPredicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RetryPolicy__RetryHostPredicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -6192,7 +6297,7 @@ UPB_INLINE envoy_config_route_v3_RetryPolicy_RetryHostPredicate* envoy_config_ro int options, upb_Arena* arena) { envoy_config_route_v3_RetryPolicy_RetryHostPredicate* ret = envoy_config_route_v3_RetryPolicy_RetryHostPredicate_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RetryPolicy_RetryHostPredicate_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RetryPolicy__RetryHostPredicate_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -6200,13 +6305,13 @@ UPB_INLINE envoy_config_route_v3_RetryPolicy_RetryHostPredicate* envoy_config_ro } UPB_INLINE char* envoy_config_route_v3_RetryPolicy_RetryHostPredicate_serialize(const envoy_config_route_v3_RetryPolicy_RetryHostPredicate* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RetryPolicy_RetryHostPredicate_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RetryPolicy__RetryHostPredicate_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RetryPolicy_RetryHostPredicate_serialize_ex(const envoy_config_route_v3_RetryPolicy_RetryHostPredicate* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RetryPolicy_RetryHostPredicate_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RetryPolicy__RetryHostPredicate_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -6255,7 +6360,7 @@ UPB_INLINE void envoy_config_route_v3_RetryPolicy_RetryHostPredicate_set_typed_c UPB_INLINE struct google_protobuf_Any* envoy_config_route_v3_RetryPolicy_RetryHostPredicate_mutable_typed_config(envoy_config_route_v3_RetryPolicy_RetryHostPredicate* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_route_v3_RetryPolicy_RetryHostPredicate_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_route_v3_RetryPolicy_RetryHostPredicate_set_typed_config(msg, sub); } return sub; @@ -6264,12 +6369,12 @@ UPB_INLINE struct google_protobuf_Any* envoy_config_route_v3_RetryPolicy_RetryHo /* envoy.config.route.v3.RetryPolicy.RetryBackOff */ UPB_INLINE envoy_config_route_v3_RetryPolicy_RetryBackOff* envoy_config_route_v3_RetryPolicy_RetryBackOff_new(upb_Arena* arena) { - return (envoy_config_route_v3_RetryPolicy_RetryBackOff*)_upb_Message_New(&envoy_config_route_v3_RetryPolicy_RetryBackOff_msg_init, arena); + return (envoy_config_route_v3_RetryPolicy_RetryBackOff*)_upb_Message_New(&envoy__config__route__v3__RetryPolicy__RetryBackOff_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RetryPolicy_RetryBackOff* envoy_config_route_v3_RetryPolicy_RetryBackOff_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RetryPolicy_RetryBackOff* ret = envoy_config_route_v3_RetryPolicy_RetryBackOff_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RetryPolicy_RetryBackOff_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RetryPolicy__RetryBackOff_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -6279,7 +6384,7 @@ UPB_INLINE envoy_config_route_v3_RetryPolicy_RetryBackOff* envoy_config_route_v3 int options, upb_Arena* arena) { envoy_config_route_v3_RetryPolicy_RetryBackOff* ret = envoy_config_route_v3_RetryPolicy_RetryBackOff_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RetryPolicy_RetryBackOff_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RetryPolicy__RetryBackOff_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -6287,13 +6392,13 @@ UPB_INLINE envoy_config_route_v3_RetryPolicy_RetryBackOff* envoy_config_route_v3 } UPB_INLINE char* envoy_config_route_v3_RetryPolicy_RetryBackOff_serialize(const envoy_config_route_v3_RetryPolicy_RetryBackOff* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RetryPolicy_RetryBackOff_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RetryPolicy__RetryBackOff_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RetryPolicy_RetryBackOff_serialize_ex(const envoy_config_route_v3_RetryPolicy_RetryBackOff* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RetryPolicy_RetryBackOff_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RetryPolicy__RetryBackOff_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RetryPolicy_RetryBackOff_clear_base_interval(envoy_config_route_v3_RetryPolicy_RetryBackOff* msg) { @@ -6334,7 +6439,7 @@ UPB_INLINE void envoy_config_route_v3_RetryPolicy_RetryBackOff_set_base_interval UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RetryPolicy_RetryBackOff_mutable_base_interval(envoy_config_route_v3_RetryPolicy_RetryBackOff* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_route_v3_RetryPolicy_RetryBackOff_base_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_route_v3_RetryPolicy_RetryBackOff_set_base_interval(msg, sub); } return sub; @@ -6346,7 +6451,7 @@ UPB_INLINE void envoy_config_route_v3_RetryPolicy_RetryBackOff_set_max_interval( UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RetryPolicy_RetryBackOff_mutable_max_interval(envoy_config_route_v3_RetryPolicy_RetryBackOff* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_route_v3_RetryPolicy_RetryBackOff_max_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_route_v3_RetryPolicy_RetryBackOff_set_max_interval(msg, sub); } return sub; @@ -6355,12 +6460,12 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RetryPolicy_Re /* envoy.config.route.v3.RetryPolicy.ResetHeader */ UPB_INLINE envoy_config_route_v3_RetryPolicy_ResetHeader* envoy_config_route_v3_RetryPolicy_ResetHeader_new(upb_Arena* arena) { - return (envoy_config_route_v3_RetryPolicy_ResetHeader*)_upb_Message_New(&envoy_config_route_v3_RetryPolicy_ResetHeader_msg_init, arena); + return (envoy_config_route_v3_RetryPolicy_ResetHeader*)_upb_Message_New(&envoy__config__route__v3__RetryPolicy__ResetHeader_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RetryPolicy_ResetHeader* envoy_config_route_v3_RetryPolicy_ResetHeader_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RetryPolicy_ResetHeader* ret = envoy_config_route_v3_RetryPolicy_ResetHeader_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RetryPolicy_ResetHeader_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RetryPolicy__ResetHeader_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -6370,7 +6475,7 @@ UPB_INLINE envoy_config_route_v3_RetryPolicy_ResetHeader* envoy_config_route_v3_ int options, upb_Arena* arena) { envoy_config_route_v3_RetryPolicy_ResetHeader* ret = envoy_config_route_v3_RetryPolicy_ResetHeader_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RetryPolicy_ResetHeader_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RetryPolicy__ResetHeader_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -6378,13 +6483,13 @@ UPB_INLINE envoy_config_route_v3_RetryPolicy_ResetHeader* envoy_config_route_v3_ } UPB_INLINE char* envoy_config_route_v3_RetryPolicy_ResetHeader_serialize(const envoy_config_route_v3_RetryPolicy_ResetHeader* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RetryPolicy_ResetHeader_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RetryPolicy__ResetHeader_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RetryPolicy_ResetHeader_serialize_ex(const envoy_config_route_v3_RetryPolicy_ResetHeader* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RetryPolicy_ResetHeader_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RetryPolicy__ResetHeader_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RetryPolicy_ResetHeader_clear_name(envoy_config_route_v3_RetryPolicy_ResetHeader* msg) { @@ -6422,12 +6527,12 @@ UPB_INLINE void envoy_config_route_v3_RetryPolicy_ResetHeader_set_format(envoy_c /* envoy.config.route.v3.RetryPolicy.RateLimitedRetryBackOff */ UPB_INLINE envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff* envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_new(upb_Arena* arena) { - return (envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff*)_upb_Message_New(&envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_msg_init, arena); + return (envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff*)_upb_Message_New(&envoy__config__route__v3__RetryPolicy__RateLimitedRetryBackOff_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff* envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff* ret = envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RetryPolicy__RateLimitedRetryBackOff_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -6437,7 +6542,7 @@ UPB_INLINE envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff* envoy_conf int options, upb_Arena* arena) { envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff* ret = envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RetryPolicy__RateLimitedRetryBackOff_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -6445,13 +6550,13 @@ UPB_INLINE envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff* envoy_conf } UPB_INLINE char* envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_serialize(const envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RetryPolicy__RateLimitedRetryBackOff_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_serialize_ex(const envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RetryPolicy__RateLimitedRetryBackOff_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_clear_reset_headers(envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff* msg) { @@ -6528,7 +6633,7 @@ UPB_INLINE struct envoy_config_route_v3_RetryPolicy_ResetHeader* envoy_config_ro if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_RetryPolicy_ResetHeader* sub = (struct envoy_config_route_v3_RetryPolicy_ResetHeader*)_upb_Message_New(&envoy_config_route_v3_RetryPolicy_ResetHeader_msg_init, arena); + struct envoy_config_route_v3_RetryPolicy_ResetHeader* sub = (struct envoy_config_route_v3_RetryPolicy_ResetHeader*)_upb_Message_New(&envoy__config__route__v3__RetryPolicy__ResetHeader_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -6540,7 +6645,7 @@ UPB_INLINE void envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_set_ma UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_mutable_max_interval(envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_max_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_set_max_interval(msg, sub); } return sub; @@ -6549,12 +6654,12 @@ UPB_INLINE struct google_protobuf_Duration* envoy_config_route_v3_RetryPolicy_Ra /* envoy.config.route.v3.HedgePolicy */ UPB_INLINE envoy_config_route_v3_HedgePolicy* envoy_config_route_v3_HedgePolicy_new(upb_Arena* arena) { - return (envoy_config_route_v3_HedgePolicy*)_upb_Message_New(&envoy_config_route_v3_HedgePolicy_msg_init, arena); + return (envoy_config_route_v3_HedgePolicy*)_upb_Message_New(&envoy__config__route__v3__HedgePolicy_msg_init, arena); } UPB_INLINE envoy_config_route_v3_HedgePolicy* envoy_config_route_v3_HedgePolicy_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_HedgePolicy* ret = envoy_config_route_v3_HedgePolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_HedgePolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__HedgePolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -6564,7 +6669,7 @@ UPB_INLINE envoy_config_route_v3_HedgePolicy* envoy_config_route_v3_HedgePolicy_ int options, upb_Arena* arena) { envoy_config_route_v3_HedgePolicy* ret = envoy_config_route_v3_HedgePolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_HedgePolicy_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__HedgePolicy_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -6572,13 +6677,13 @@ UPB_INLINE envoy_config_route_v3_HedgePolicy* envoy_config_route_v3_HedgePolicy_ } UPB_INLINE char* envoy_config_route_v3_HedgePolicy_serialize(const envoy_config_route_v3_HedgePolicy* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_HedgePolicy_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__HedgePolicy_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_HedgePolicy_serialize_ex(const envoy_config_route_v3_HedgePolicy* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_HedgePolicy_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__HedgePolicy_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_HedgePolicy_clear_initial_requests(envoy_config_route_v3_HedgePolicy* msg) { @@ -6630,7 +6735,7 @@ UPB_INLINE void envoy_config_route_v3_HedgePolicy_set_initial_requests(envoy_con UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_route_v3_HedgePolicy_mutable_initial_requests(envoy_config_route_v3_HedgePolicy* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_route_v3_HedgePolicy_initial_requests(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_route_v3_HedgePolicy_set_initial_requests(msg, sub); } return sub; @@ -6642,7 +6747,7 @@ UPB_INLINE void envoy_config_route_v3_HedgePolicy_set_additional_request_chance( UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_route_v3_HedgePolicy_mutable_additional_request_chance(envoy_config_route_v3_HedgePolicy* msg, upb_Arena* arena) { struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_config_route_v3_HedgePolicy_additional_request_chance(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy_type_v3_FractionalPercent_msg_init, arena); + sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy__type__v3__FractionalPercent_msg_init, arena); if (sub) envoy_config_route_v3_HedgePolicy_set_additional_request_chance(msg, sub); } return sub; @@ -6655,12 +6760,12 @@ UPB_INLINE void envoy_config_route_v3_HedgePolicy_set_hedge_on_per_try_timeout(e /* envoy.config.route.v3.RedirectAction */ UPB_INLINE envoy_config_route_v3_RedirectAction* envoy_config_route_v3_RedirectAction_new(upb_Arena* arena) { - return (envoy_config_route_v3_RedirectAction*)_upb_Message_New(&envoy_config_route_v3_RedirectAction_msg_init, arena); + return (envoy_config_route_v3_RedirectAction*)_upb_Message_New(&envoy__config__route__v3__RedirectAction_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RedirectAction* envoy_config_route_v3_RedirectAction_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RedirectAction* ret = envoy_config_route_v3_RedirectAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RedirectAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RedirectAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -6670,7 +6775,7 @@ UPB_INLINE envoy_config_route_v3_RedirectAction* envoy_config_route_v3_RedirectA int options, upb_Arena* arena) { envoy_config_route_v3_RedirectAction* ret = envoy_config_route_v3_RedirectAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RedirectAction_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RedirectAction_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -6678,13 +6783,13 @@ UPB_INLINE envoy_config_route_v3_RedirectAction* envoy_config_route_v3_RedirectA } UPB_INLINE char* envoy_config_route_v3_RedirectAction_serialize(const envoy_config_route_v3_RedirectAction* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RedirectAction_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RedirectAction_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RedirectAction_serialize_ex(const envoy_config_route_v3_RedirectAction* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RedirectAction_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RedirectAction_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -6865,7 +6970,7 @@ UPB_INLINE void envoy_config_route_v3_RedirectAction_set_regex_rewrite(envoy_con UPB_INLINE struct envoy_type_matcher_v3_RegexMatchAndSubstitute* envoy_config_route_v3_RedirectAction_mutable_regex_rewrite(envoy_config_route_v3_RedirectAction* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_RegexMatchAndSubstitute* sub = (struct envoy_type_matcher_v3_RegexMatchAndSubstitute*)envoy_config_route_v3_RedirectAction_regex_rewrite(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_RegexMatchAndSubstitute*)_upb_Message_New(&envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init, arena); + sub = (struct envoy_type_matcher_v3_RegexMatchAndSubstitute*)_upb_Message_New(&envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init, arena); if (sub) envoy_config_route_v3_RedirectAction_set_regex_rewrite(msg, sub); } return sub; @@ -6874,12 +6979,12 @@ UPB_INLINE struct envoy_type_matcher_v3_RegexMatchAndSubstitute* envoy_config_ro /* envoy.config.route.v3.DirectResponseAction */ UPB_INLINE envoy_config_route_v3_DirectResponseAction* envoy_config_route_v3_DirectResponseAction_new(upb_Arena* arena) { - return (envoy_config_route_v3_DirectResponseAction*)_upb_Message_New(&envoy_config_route_v3_DirectResponseAction_msg_init, arena); + return (envoy_config_route_v3_DirectResponseAction*)_upb_Message_New(&envoy__config__route__v3__DirectResponseAction_msg_init, arena); } UPB_INLINE envoy_config_route_v3_DirectResponseAction* envoy_config_route_v3_DirectResponseAction_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_DirectResponseAction* ret = envoy_config_route_v3_DirectResponseAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_DirectResponseAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__DirectResponseAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -6889,7 +6994,7 @@ UPB_INLINE envoy_config_route_v3_DirectResponseAction* envoy_config_route_v3_Dir int options, upb_Arena* arena) { envoy_config_route_v3_DirectResponseAction* ret = envoy_config_route_v3_DirectResponseAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_DirectResponseAction_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__DirectResponseAction_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -6897,13 +7002,13 @@ UPB_INLINE envoy_config_route_v3_DirectResponseAction* envoy_config_route_v3_Dir } UPB_INLINE char* envoy_config_route_v3_DirectResponseAction_serialize(const envoy_config_route_v3_DirectResponseAction* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_DirectResponseAction_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__DirectResponseAction_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_DirectResponseAction_serialize_ex(const envoy_config_route_v3_DirectResponseAction* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_DirectResponseAction_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__DirectResponseAction_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_DirectResponseAction_clear_status(envoy_config_route_v3_DirectResponseAction* msg) { @@ -6944,7 +7049,7 @@ UPB_INLINE void envoy_config_route_v3_DirectResponseAction_set_body(envoy_config UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_route_v3_DirectResponseAction_mutable_body(envoy_config_route_v3_DirectResponseAction* msg, upb_Arena* arena) { struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_config_route_v3_DirectResponseAction_body(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); if (sub) envoy_config_route_v3_DirectResponseAction_set_body(msg, sub); } return sub; @@ -6953,12 +7058,12 @@ UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_route_v3_DirectR /* envoy.config.route.v3.NonForwardingAction */ UPB_INLINE envoy_config_route_v3_NonForwardingAction* envoy_config_route_v3_NonForwardingAction_new(upb_Arena* arena) { - return (envoy_config_route_v3_NonForwardingAction*)_upb_Message_New(&envoy_config_route_v3_NonForwardingAction_msg_init, arena); + return (envoy_config_route_v3_NonForwardingAction*)_upb_Message_New(&envoy__config__route__v3__NonForwardingAction_msg_init, arena); } UPB_INLINE envoy_config_route_v3_NonForwardingAction* envoy_config_route_v3_NonForwardingAction_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_NonForwardingAction* ret = envoy_config_route_v3_NonForwardingAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_NonForwardingAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__NonForwardingAction_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -6968,7 +7073,7 @@ UPB_INLINE envoy_config_route_v3_NonForwardingAction* envoy_config_route_v3_NonF int options, upb_Arena* arena) { envoy_config_route_v3_NonForwardingAction* ret = envoy_config_route_v3_NonForwardingAction_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_NonForwardingAction_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__NonForwardingAction_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -6976,13 +7081,13 @@ UPB_INLINE envoy_config_route_v3_NonForwardingAction* envoy_config_route_v3_NonF } UPB_INLINE char* envoy_config_route_v3_NonForwardingAction_serialize(const envoy_config_route_v3_NonForwardingAction* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_NonForwardingAction_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__NonForwardingAction_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_NonForwardingAction_serialize_ex(const envoy_config_route_v3_NonForwardingAction* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_NonForwardingAction_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__NonForwardingAction_msg_init, options, arena, &ptr, len); return ptr; } @@ -6990,12 +7095,12 @@ UPB_INLINE char* envoy_config_route_v3_NonForwardingAction_serialize_ex(const en /* envoy.config.route.v3.Decorator */ UPB_INLINE envoy_config_route_v3_Decorator* envoy_config_route_v3_Decorator_new(upb_Arena* arena) { - return (envoy_config_route_v3_Decorator*)_upb_Message_New(&envoy_config_route_v3_Decorator_msg_init, arena); + return (envoy_config_route_v3_Decorator*)_upb_Message_New(&envoy__config__route__v3__Decorator_msg_init, arena); } UPB_INLINE envoy_config_route_v3_Decorator* envoy_config_route_v3_Decorator_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_Decorator* ret = envoy_config_route_v3_Decorator_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_Decorator_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__Decorator_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -7005,7 +7110,7 @@ UPB_INLINE envoy_config_route_v3_Decorator* envoy_config_route_v3_Decorator_pars int options, upb_Arena* arena) { envoy_config_route_v3_Decorator* ret = envoy_config_route_v3_Decorator_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_Decorator_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__Decorator_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -7013,13 +7118,13 @@ UPB_INLINE envoy_config_route_v3_Decorator* envoy_config_route_v3_Decorator_pars } UPB_INLINE char* envoy_config_route_v3_Decorator_serialize(const envoy_config_route_v3_Decorator* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_Decorator_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__Decorator_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_Decorator_serialize_ex(const envoy_config_route_v3_Decorator* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_Decorator_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__Decorator_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_Decorator_clear_operation(envoy_config_route_v3_Decorator* msg) { @@ -7060,7 +7165,7 @@ UPB_INLINE void envoy_config_route_v3_Decorator_set_propagate(envoy_config_route UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_Decorator_mutable_propagate(envoy_config_route_v3_Decorator* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_route_v3_Decorator_propagate(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_route_v3_Decorator_set_propagate(msg, sub); } return sub; @@ -7069,12 +7174,12 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_Decorator_mut /* envoy.config.route.v3.Tracing */ UPB_INLINE envoy_config_route_v3_Tracing* envoy_config_route_v3_Tracing_new(upb_Arena* arena) { - return (envoy_config_route_v3_Tracing*)_upb_Message_New(&envoy_config_route_v3_Tracing_msg_init, arena); + return (envoy_config_route_v3_Tracing*)_upb_Message_New(&envoy__config__route__v3__Tracing_msg_init, arena); } UPB_INLINE envoy_config_route_v3_Tracing* envoy_config_route_v3_Tracing_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_Tracing* ret = envoy_config_route_v3_Tracing_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_Tracing_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__Tracing_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -7084,7 +7189,7 @@ UPB_INLINE envoy_config_route_v3_Tracing* envoy_config_route_v3_Tracing_parse_ex int options, upb_Arena* arena) { envoy_config_route_v3_Tracing* ret = envoy_config_route_v3_Tracing_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_Tracing_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__Tracing_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -7092,13 +7197,13 @@ UPB_INLINE envoy_config_route_v3_Tracing* envoy_config_route_v3_Tracing_parse_ex } UPB_INLINE char* envoy_config_route_v3_Tracing_serialize(const envoy_config_route_v3_Tracing* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_Tracing_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__Tracing_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_Tracing_serialize_ex(const envoy_config_route_v3_Tracing* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_Tracing_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__Tracing_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_Tracing_clear_client_sampling(envoy_config_route_v3_Tracing* msg) { @@ -7191,7 +7296,7 @@ UPB_INLINE void envoy_config_route_v3_Tracing_set_client_sampling(envoy_config_r UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_route_v3_Tracing_mutable_client_sampling(envoy_config_route_v3_Tracing* msg, upb_Arena* arena) { struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_config_route_v3_Tracing_client_sampling(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy_type_v3_FractionalPercent_msg_init, arena); + sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy__type__v3__FractionalPercent_msg_init, arena); if (sub) envoy_config_route_v3_Tracing_set_client_sampling(msg, sub); } return sub; @@ -7203,7 +7308,7 @@ UPB_INLINE void envoy_config_route_v3_Tracing_set_random_sampling(envoy_config_r UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_route_v3_Tracing_mutable_random_sampling(envoy_config_route_v3_Tracing* msg, upb_Arena* arena) { struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_config_route_v3_Tracing_random_sampling(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy_type_v3_FractionalPercent_msg_init, arena); + sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy__type__v3__FractionalPercent_msg_init, arena); if (sub) envoy_config_route_v3_Tracing_set_random_sampling(msg, sub); } return sub; @@ -7215,7 +7320,7 @@ UPB_INLINE void envoy_config_route_v3_Tracing_set_overall_sampling(envoy_config_ UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_route_v3_Tracing_mutable_overall_sampling(envoy_config_route_v3_Tracing* msg, upb_Arena* arena) { struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_config_route_v3_Tracing_overall_sampling(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy_type_v3_FractionalPercent_msg_init, arena); + sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy__type__v3__FractionalPercent_msg_init, arena); if (sub) envoy_config_route_v3_Tracing_set_overall_sampling(msg, sub); } return sub; @@ -7241,7 +7346,7 @@ UPB_INLINE struct envoy_type_tracing_v3_CustomTag* envoy_config_route_v3_Tracing if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_type_tracing_v3_CustomTag* sub = (struct envoy_type_tracing_v3_CustomTag*)_upb_Message_New(&envoy_type_tracing_v3_CustomTag_msg_init, arena); + struct envoy_type_tracing_v3_CustomTag* sub = (struct envoy_type_tracing_v3_CustomTag*)_upb_Message_New(&envoy__type__tracing__v3__CustomTag_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -7250,12 +7355,12 @@ UPB_INLINE struct envoy_type_tracing_v3_CustomTag* envoy_config_route_v3_Tracing /* envoy.config.route.v3.VirtualCluster */ UPB_INLINE envoy_config_route_v3_VirtualCluster* envoy_config_route_v3_VirtualCluster_new(upb_Arena* arena) { - return (envoy_config_route_v3_VirtualCluster*)_upb_Message_New(&envoy_config_route_v3_VirtualCluster_msg_init, arena); + return (envoy_config_route_v3_VirtualCluster*)_upb_Message_New(&envoy__config__route__v3__VirtualCluster_msg_init, arena); } UPB_INLINE envoy_config_route_v3_VirtualCluster* envoy_config_route_v3_VirtualCluster_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_VirtualCluster* ret = envoy_config_route_v3_VirtualCluster_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_VirtualCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__VirtualCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -7265,7 +7370,7 @@ UPB_INLINE envoy_config_route_v3_VirtualCluster* envoy_config_route_v3_VirtualCl int options, upb_Arena* arena) { envoy_config_route_v3_VirtualCluster* ret = envoy_config_route_v3_VirtualCluster_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_VirtualCluster_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__VirtualCluster_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -7273,13 +7378,13 @@ UPB_INLINE envoy_config_route_v3_VirtualCluster* envoy_config_route_v3_VirtualCl } UPB_INLINE char* envoy_config_route_v3_VirtualCluster_serialize(const envoy_config_route_v3_VirtualCluster* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_VirtualCluster_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__VirtualCluster_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_VirtualCluster_serialize_ex(const envoy_config_route_v3_VirtualCluster* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_VirtualCluster_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__VirtualCluster_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_VirtualCluster_clear_name(envoy_config_route_v3_VirtualCluster* msg) { @@ -7356,7 +7461,7 @@ UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_route_v3_Vir if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy_config_route_v3_HeaderMatcher_msg_init, arena); + struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -7365,12 +7470,12 @@ UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_route_v3_Vir /* envoy.config.route.v3.RateLimit */ UPB_INLINE envoy_config_route_v3_RateLimit* envoy_config_route_v3_RateLimit_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit*)_upb_Message_New(&envoy_config_route_v3_RateLimit_msg_init, arena); + return (envoy_config_route_v3_RateLimit*)_upb_Message_New(&envoy__config__route__v3__RateLimit_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit* envoy_config_route_v3_RateLimit_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit* ret = envoy_config_route_v3_RateLimit_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -7380,7 +7485,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit* envoy_config_route_v3_RateLimit_pars int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit* ret = envoy_config_route_v3_RateLimit_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -7388,13 +7493,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit* envoy_config_route_v3_RateLimit_pars } UPB_INLINE char* envoy_config_route_v3_RateLimit_serialize(const envoy_config_route_v3_RateLimit* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_serialize_ex(const envoy_config_route_v3_RateLimit* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RateLimit_clear_stage(envoy_config_route_v3_RateLimit* msg) { @@ -7483,7 +7588,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_set_stage(envoy_config_route_v3_ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_route_v3_RateLimit_mutable_stage(envoy_config_route_v3_RateLimit* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_route_v3_RateLimit_stage(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_set_stage(msg, sub); } return sub; @@ -7513,7 +7618,7 @@ UPB_INLINE struct envoy_config_route_v3_RateLimit_Action* envoy_config_route_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_RateLimit_Action* sub = (struct envoy_config_route_v3_RateLimit_Action*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_msg_init, arena); + struct envoy_config_route_v3_RateLimit_Action* sub = (struct envoy_config_route_v3_RateLimit_Action*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -7525,7 +7630,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_set_limit(envoy_config_route_v3_ UPB_INLINE struct envoy_config_route_v3_RateLimit_Override* envoy_config_route_v3_RateLimit_mutable_limit(envoy_config_route_v3_RateLimit* msg, upb_Arena* arena) { struct envoy_config_route_v3_RateLimit_Override* sub = (struct envoy_config_route_v3_RateLimit_Override*)envoy_config_route_v3_RateLimit_limit(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RateLimit_Override*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Override_msg_init, arena); + sub = (struct envoy_config_route_v3_RateLimit_Override*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Override_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_set_limit(msg, sub); } return sub; @@ -7534,12 +7639,12 @@ UPB_INLINE struct envoy_config_route_v3_RateLimit_Override* envoy_config_route_v /* envoy.config.route.v3.RateLimit.Action */ UPB_INLINE envoy_config_route_v3_RateLimit_Action* envoy_config_route_v3_RateLimit_Action_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit_Action*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_msg_init, arena); + return (envoy_config_route_v3_RateLimit_Action*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit_Action* envoy_config_route_v3_RateLimit_Action_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action* ret = envoy_config_route_v3_RateLimit_Action_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -7549,7 +7654,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action* envoy_config_route_v3_RateLim int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action* ret = envoy_config_route_v3_RateLimit_Action_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -7557,13 +7662,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action* envoy_config_route_v3_RateLim } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_serialize(const envoy_config_route_v3_RateLimit_Action* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_serialize_ex(const envoy_config_route_v3_RateLimit_Action* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -7757,7 +7862,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_set_source_cluster(envoy_ UPB_INLINE struct envoy_config_route_v3_RateLimit_Action_SourceCluster* envoy_config_route_v3_RateLimit_Action_mutable_source_cluster(envoy_config_route_v3_RateLimit_Action* msg, upb_Arena* arena) { struct envoy_config_route_v3_RateLimit_Action_SourceCluster* sub = (struct envoy_config_route_v3_RateLimit_Action_SourceCluster*)envoy_config_route_v3_RateLimit_Action_source_cluster(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RateLimit_Action_SourceCluster*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_SourceCluster_msg_init, arena); + sub = (struct envoy_config_route_v3_RateLimit_Action_SourceCluster*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__SourceCluster_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_set_source_cluster(msg, sub); } return sub; @@ -7769,7 +7874,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_set_destination_cluster(e UPB_INLINE struct envoy_config_route_v3_RateLimit_Action_DestinationCluster* envoy_config_route_v3_RateLimit_Action_mutable_destination_cluster(envoy_config_route_v3_RateLimit_Action* msg, upb_Arena* arena) { struct envoy_config_route_v3_RateLimit_Action_DestinationCluster* sub = (struct envoy_config_route_v3_RateLimit_Action_DestinationCluster*)envoy_config_route_v3_RateLimit_Action_destination_cluster(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RateLimit_Action_DestinationCluster*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_DestinationCluster_msg_init, arena); + sub = (struct envoy_config_route_v3_RateLimit_Action_DestinationCluster*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__DestinationCluster_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_set_destination_cluster(msg, sub); } return sub; @@ -7781,7 +7886,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_set_request_headers(envoy UPB_INLINE struct envoy_config_route_v3_RateLimit_Action_RequestHeaders* envoy_config_route_v3_RateLimit_Action_mutable_request_headers(envoy_config_route_v3_RateLimit_Action* msg, upb_Arena* arena) { struct envoy_config_route_v3_RateLimit_Action_RequestHeaders* sub = (struct envoy_config_route_v3_RateLimit_Action_RequestHeaders*)envoy_config_route_v3_RateLimit_Action_request_headers(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RateLimit_Action_RequestHeaders*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_RequestHeaders_msg_init, arena); + sub = (struct envoy_config_route_v3_RateLimit_Action_RequestHeaders*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__RequestHeaders_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_set_request_headers(msg, sub); } return sub; @@ -7793,7 +7898,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_set_remote_address(envoy_ UPB_INLINE struct envoy_config_route_v3_RateLimit_Action_RemoteAddress* envoy_config_route_v3_RateLimit_Action_mutable_remote_address(envoy_config_route_v3_RateLimit_Action* msg, upb_Arena* arena) { struct envoy_config_route_v3_RateLimit_Action_RemoteAddress* sub = (struct envoy_config_route_v3_RateLimit_Action_RemoteAddress*)envoy_config_route_v3_RateLimit_Action_remote_address(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RateLimit_Action_RemoteAddress*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_RemoteAddress_msg_init, arena); + sub = (struct envoy_config_route_v3_RateLimit_Action_RemoteAddress*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__RemoteAddress_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_set_remote_address(msg, sub); } return sub; @@ -7805,7 +7910,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_set_generic_key(envoy_con UPB_INLINE struct envoy_config_route_v3_RateLimit_Action_GenericKey* envoy_config_route_v3_RateLimit_Action_mutable_generic_key(envoy_config_route_v3_RateLimit_Action* msg, upb_Arena* arena) { struct envoy_config_route_v3_RateLimit_Action_GenericKey* sub = (struct envoy_config_route_v3_RateLimit_Action_GenericKey*)envoy_config_route_v3_RateLimit_Action_generic_key(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RateLimit_Action_GenericKey*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_GenericKey_msg_init, arena); + sub = (struct envoy_config_route_v3_RateLimit_Action_GenericKey*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__GenericKey_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_set_generic_key(msg, sub); } return sub; @@ -7817,7 +7922,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_set_header_value_match(en UPB_INLINE struct envoy_config_route_v3_RateLimit_Action_HeaderValueMatch* envoy_config_route_v3_RateLimit_Action_mutable_header_value_match(envoy_config_route_v3_RateLimit_Action* msg, upb_Arena* arena) { struct envoy_config_route_v3_RateLimit_Action_HeaderValueMatch* sub = (struct envoy_config_route_v3_RateLimit_Action_HeaderValueMatch*)envoy_config_route_v3_RateLimit_Action_header_value_match(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RateLimit_Action_HeaderValueMatch*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_msg_init, arena); + sub = (struct envoy_config_route_v3_RateLimit_Action_HeaderValueMatch*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__HeaderValueMatch_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_set_header_value_match(msg, sub); } return sub; @@ -7829,7 +7934,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_set_dynamic_metadata(envo UPB_INLINE struct envoy_config_route_v3_RateLimit_Action_DynamicMetaData* envoy_config_route_v3_RateLimit_Action_mutable_dynamic_metadata(envoy_config_route_v3_RateLimit_Action* msg, upb_Arena* arena) { struct envoy_config_route_v3_RateLimit_Action_DynamicMetaData* sub = (struct envoy_config_route_v3_RateLimit_Action_DynamicMetaData*)envoy_config_route_v3_RateLimit_Action_dynamic_metadata(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RateLimit_Action_DynamicMetaData*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_DynamicMetaData_msg_init, arena); + sub = (struct envoy_config_route_v3_RateLimit_Action_DynamicMetaData*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__DynamicMetaData_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_set_dynamic_metadata(msg, sub); } return sub; @@ -7841,7 +7946,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_set_metadata(envoy_config UPB_INLINE struct envoy_config_route_v3_RateLimit_Action_MetaData* envoy_config_route_v3_RateLimit_Action_mutable_metadata(envoy_config_route_v3_RateLimit_Action* msg, upb_Arena* arena) { struct envoy_config_route_v3_RateLimit_Action_MetaData* sub = (struct envoy_config_route_v3_RateLimit_Action_MetaData*)envoy_config_route_v3_RateLimit_Action_metadata(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RateLimit_Action_MetaData*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_MetaData_msg_init, arena); + sub = (struct envoy_config_route_v3_RateLimit_Action_MetaData*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__MetaData_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_set_metadata(msg, sub); } return sub; @@ -7853,7 +7958,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_set_extension(envoy_confi UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_route_v3_RateLimit_Action_mutable_extension(envoy_config_route_v3_RateLimit_Action* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_route_v3_RateLimit_Action_extension(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_set_extension(msg, sub); } return sub; @@ -7865,7 +7970,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_set_masked_remote_address UPB_INLINE struct envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress* envoy_config_route_v3_RateLimit_Action_mutable_masked_remote_address(envoy_config_route_v3_RateLimit_Action* msg, upb_Arena* arena) { struct envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress* sub = (struct envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress*)envoy_config_route_v3_RateLimit_Action_masked_remote_address(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_msg_init, arena); + sub = (struct envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__MaskedRemoteAddress_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_set_masked_remote_address(msg, sub); } return sub; @@ -7877,7 +7982,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_set_query_parameter_value UPB_INLINE struct envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch* envoy_config_route_v3_RateLimit_Action_mutable_query_parameter_value_match(envoy_config_route_v3_RateLimit_Action* msg, upb_Arena* arena) { struct envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch* sub = (struct envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch*)envoy_config_route_v3_RateLimit_Action_query_parameter_value_match(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_msg_init, arena); + sub = (struct envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__QueryParameterValueMatch_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_set_query_parameter_value_match(msg, sub); } return sub; @@ -7886,12 +7991,12 @@ UPB_INLINE struct envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatc /* envoy.config.route.v3.RateLimit.Action.SourceCluster */ UPB_INLINE envoy_config_route_v3_RateLimit_Action_SourceCluster* envoy_config_route_v3_RateLimit_Action_SourceCluster_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit_Action_SourceCluster*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_SourceCluster_msg_init, arena); + return (envoy_config_route_v3_RateLimit_Action_SourceCluster*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__SourceCluster_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit_Action_SourceCluster* envoy_config_route_v3_RateLimit_Action_SourceCluster_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_SourceCluster* ret = envoy_config_route_v3_RateLimit_Action_SourceCluster_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_SourceCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__SourceCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -7901,7 +8006,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_SourceCluster* envoy_config_ro int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_SourceCluster* ret = envoy_config_route_v3_RateLimit_Action_SourceCluster_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_SourceCluster_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__SourceCluster_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -7909,13 +8014,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_SourceCluster* envoy_config_ro } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_SourceCluster_serialize(const envoy_config_route_v3_RateLimit_Action_SourceCluster* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_SourceCluster_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__SourceCluster_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_SourceCluster_serialize_ex(const envoy_config_route_v3_RateLimit_Action_SourceCluster* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_SourceCluster_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__SourceCluster_msg_init, options, arena, &ptr, len); return ptr; } @@ -7923,12 +8028,12 @@ UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_SourceCluster_serialize_ /* envoy.config.route.v3.RateLimit.Action.DestinationCluster */ UPB_INLINE envoy_config_route_v3_RateLimit_Action_DestinationCluster* envoy_config_route_v3_RateLimit_Action_DestinationCluster_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit_Action_DestinationCluster*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_DestinationCluster_msg_init, arena); + return (envoy_config_route_v3_RateLimit_Action_DestinationCluster*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__DestinationCluster_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit_Action_DestinationCluster* envoy_config_route_v3_RateLimit_Action_DestinationCluster_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_DestinationCluster* ret = envoy_config_route_v3_RateLimit_Action_DestinationCluster_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_DestinationCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__DestinationCluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -7938,7 +8043,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_DestinationCluster* envoy_conf int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_DestinationCluster* ret = envoy_config_route_v3_RateLimit_Action_DestinationCluster_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_DestinationCluster_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__DestinationCluster_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -7946,13 +8051,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_DestinationCluster* envoy_conf } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_DestinationCluster_serialize(const envoy_config_route_v3_RateLimit_Action_DestinationCluster* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_DestinationCluster_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__DestinationCluster_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_DestinationCluster_serialize_ex(const envoy_config_route_v3_RateLimit_Action_DestinationCluster* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_DestinationCluster_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__DestinationCluster_msg_init, options, arena, &ptr, len); return ptr; } @@ -7960,12 +8065,12 @@ UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_DestinationCluster_seria /* envoy.config.route.v3.RateLimit.Action.RequestHeaders */ UPB_INLINE envoy_config_route_v3_RateLimit_Action_RequestHeaders* envoy_config_route_v3_RateLimit_Action_RequestHeaders_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit_Action_RequestHeaders*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_RequestHeaders_msg_init, arena); + return (envoy_config_route_v3_RateLimit_Action_RequestHeaders*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__RequestHeaders_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit_Action_RequestHeaders* envoy_config_route_v3_RateLimit_Action_RequestHeaders_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_RequestHeaders* ret = envoy_config_route_v3_RateLimit_Action_RequestHeaders_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_RequestHeaders_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__RequestHeaders_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -7975,7 +8080,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_RequestHeaders* envoy_config_r int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_RequestHeaders* ret = envoy_config_route_v3_RateLimit_Action_RequestHeaders_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_RequestHeaders_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__RequestHeaders_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -7983,13 +8088,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_RequestHeaders* envoy_config_r } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_RequestHeaders_serialize(const envoy_config_route_v3_RateLimit_Action_RequestHeaders* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_RequestHeaders_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__RequestHeaders_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_RequestHeaders_serialize_ex(const envoy_config_route_v3_RateLimit_Action_RequestHeaders* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_RequestHeaders_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__RequestHeaders_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RateLimit_Action_RequestHeaders_clear_header_name(envoy_config_route_v3_RateLimit_Action_RequestHeaders* msg) { @@ -8042,12 +8147,12 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_RequestHeaders_set_skip_i /* envoy.config.route.v3.RateLimit.Action.RemoteAddress */ UPB_INLINE envoy_config_route_v3_RateLimit_Action_RemoteAddress* envoy_config_route_v3_RateLimit_Action_RemoteAddress_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit_Action_RemoteAddress*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_RemoteAddress_msg_init, arena); + return (envoy_config_route_v3_RateLimit_Action_RemoteAddress*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__RemoteAddress_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit_Action_RemoteAddress* envoy_config_route_v3_RateLimit_Action_RemoteAddress_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_RemoteAddress* ret = envoy_config_route_v3_RateLimit_Action_RemoteAddress_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_RemoteAddress_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__RemoteAddress_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -8057,7 +8162,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_RemoteAddress* envoy_config_ro int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_RemoteAddress* ret = envoy_config_route_v3_RateLimit_Action_RemoteAddress_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_RemoteAddress_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__RemoteAddress_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -8065,13 +8170,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_RemoteAddress* envoy_config_ro } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_RemoteAddress_serialize(const envoy_config_route_v3_RateLimit_Action_RemoteAddress* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_RemoteAddress_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__RemoteAddress_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_RemoteAddress_serialize_ex(const envoy_config_route_v3_RateLimit_Action_RemoteAddress* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_RemoteAddress_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__RemoteAddress_msg_init, options, arena, &ptr, len); return ptr; } @@ -8079,12 +8184,12 @@ UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_RemoteAddress_serialize_ /* envoy.config.route.v3.RateLimit.Action.MaskedRemoteAddress */ UPB_INLINE envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress* envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_msg_init, arena); + return (envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__MaskedRemoteAddress_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress* envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress* ret = envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__MaskedRemoteAddress_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -8094,7 +8199,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress* envoy_con int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress* ret = envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__MaskedRemoteAddress_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -8102,13 +8207,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress* envoy_con } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_serialize(const envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__MaskedRemoteAddress_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_serialize_ex(const envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__MaskedRemoteAddress_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_clear_v4_prefix_mask_len(envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress* msg) { @@ -8149,7 +8254,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_set_v UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_mutable_v4_prefix_mask_len(envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_v4_prefix_mask_len(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_set_v4_prefix_mask_len(msg, sub); } return sub; @@ -8161,7 +8266,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_set_v UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_mutable_v6_prefix_mask_len(envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_v6_prefix_mask_len(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_set_v6_prefix_mask_len(msg, sub); } return sub; @@ -8170,12 +8275,12 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_route_v3_RateLimit_A /* envoy.config.route.v3.RateLimit.Action.GenericKey */ UPB_INLINE envoy_config_route_v3_RateLimit_Action_GenericKey* envoy_config_route_v3_RateLimit_Action_GenericKey_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit_Action_GenericKey*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_GenericKey_msg_init, arena); + return (envoy_config_route_v3_RateLimit_Action_GenericKey*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__GenericKey_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit_Action_GenericKey* envoy_config_route_v3_RateLimit_Action_GenericKey_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_GenericKey* ret = envoy_config_route_v3_RateLimit_Action_GenericKey_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_GenericKey_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__GenericKey_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -8185,7 +8290,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_GenericKey* envoy_config_route int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_GenericKey* ret = envoy_config_route_v3_RateLimit_Action_GenericKey_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_GenericKey_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__GenericKey_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -8193,13 +8298,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_GenericKey* envoy_config_route } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_GenericKey_serialize(const envoy_config_route_v3_RateLimit_Action_GenericKey* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_GenericKey_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__GenericKey_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_GenericKey_serialize_ex(const envoy_config_route_v3_RateLimit_Action_GenericKey* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_GenericKey_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__GenericKey_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RateLimit_Action_GenericKey_clear_descriptor_value(envoy_config_route_v3_RateLimit_Action_GenericKey* msg) { @@ -8237,12 +8342,12 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_GenericKey_set_descriptor /* envoy.config.route.v3.RateLimit.Action.HeaderValueMatch */ UPB_INLINE envoy_config_route_v3_RateLimit_Action_HeaderValueMatch* envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit_Action_HeaderValueMatch*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_msg_init, arena); + return (envoy_config_route_v3_RateLimit_Action_HeaderValueMatch*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__HeaderValueMatch_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit_Action_HeaderValueMatch* envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_HeaderValueMatch* ret = envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__HeaderValueMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -8252,7 +8357,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_HeaderValueMatch* envoy_config int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_HeaderValueMatch* ret = envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__HeaderValueMatch_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -8260,13 +8365,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_HeaderValueMatch* envoy_config } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_serialize(const envoy_config_route_v3_RateLimit_Action_HeaderValueMatch* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__HeaderValueMatch_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_serialize_ex(const envoy_config_route_v3_RateLimit_Action_HeaderValueMatch* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__HeaderValueMatch_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_clear_descriptor_value(envoy_config_route_v3_RateLimit_Action_HeaderValueMatch* msg) { @@ -8355,7 +8460,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_set_expe UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_mutable_expect_match(envoy_config_route_v3_RateLimit_Action_HeaderValueMatch* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_expect_match(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_set_expect_match(msg, sub); } return sub; @@ -8381,7 +8486,7 @@ UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_route_v3_Rat if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy_config_route_v3_HeaderMatcher_msg_init, arena); + struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -8394,12 +8499,12 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_set_desc /* envoy.config.route.v3.RateLimit.Action.DynamicMetaData */ UPB_INLINE envoy_config_route_v3_RateLimit_Action_DynamicMetaData* envoy_config_route_v3_RateLimit_Action_DynamicMetaData_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit_Action_DynamicMetaData*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_DynamicMetaData_msg_init, arena); + return (envoy_config_route_v3_RateLimit_Action_DynamicMetaData*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__DynamicMetaData_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit_Action_DynamicMetaData* envoy_config_route_v3_RateLimit_Action_DynamicMetaData_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_DynamicMetaData* ret = envoy_config_route_v3_RateLimit_Action_DynamicMetaData_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_DynamicMetaData_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__DynamicMetaData_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -8409,7 +8514,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_DynamicMetaData* envoy_config_ int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_DynamicMetaData* ret = envoy_config_route_v3_RateLimit_Action_DynamicMetaData_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_DynamicMetaData_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__DynamicMetaData_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -8417,13 +8522,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_DynamicMetaData* envoy_config_ } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_DynamicMetaData_serialize(const envoy_config_route_v3_RateLimit_Action_DynamicMetaData* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_DynamicMetaData_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__DynamicMetaData_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_DynamicMetaData_serialize_ex(const envoy_config_route_v3_RateLimit_Action_DynamicMetaData* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_DynamicMetaData_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__DynamicMetaData_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RateLimit_Action_DynamicMetaData_clear_descriptor_key(envoy_config_route_v3_RateLimit_Action_DynamicMetaData* msg) { @@ -8475,7 +8580,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_DynamicMetaData_set_metad UPB_INLINE struct envoy_type_metadata_v3_MetadataKey* envoy_config_route_v3_RateLimit_Action_DynamicMetaData_mutable_metadata_key(envoy_config_route_v3_RateLimit_Action_DynamicMetaData* msg, upb_Arena* arena) { struct envoy_type_metadata_v3_MetadataKey* sub = (struct envoy_type_metadata_v3_MetadataKey*)envoy_config_route_v3_RateLimit_Action_DynamicMetaData_metadata_key(msg); if (sub == NULL) { - sub = (struct envoy_type_metadata_v3_MetadataKey*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKey_msg_init, arena); + sub = (struct envoy_type_metadata_v3_MetadataKey*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKey_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_DynamicMetaData_set_metadata_key(msg, sub); } return sub; @@ -8488,12 +8593,12 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_DynamicMetaData_set_defau /* envoy.config.route.v3.RateLimit.Action.MetaData */ UPB_INLINE envoy_config_route_v3_RateLimit_Action_MetaData* envoy_config_route_v3_RateLimit_Action_MetaData_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit_Action_MetaData*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_MetaData_msg_init, arena); + return (envoy_config_route_v3_RateLimit_Action_MetaData*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__MetaData_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit_Action_MetaData* envoy_config_route_v3_RateLimit_Action_MetaData_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_MetaData* ret = envoy_config_route_v3_RateLimit_Action_MetaData_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_MetaData_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__MetaData_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -8503,7 +8608,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_MetaData* envoy_config_route_v int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_MetaData* ret = envoy_config_route_v3_RateLimit_Action_MetaData_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_MetaData_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__MetaData_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -8511,13 +8616,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_MetaData* envoy_config_route_v } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_MetaData_serialize(const envoy_config_route_v3_RateLimit_Action_MetaData* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_MetaData_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__MetaData_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_MetaData_serialize_ex(const envoy_config_route_v3_RateLimit_Action_MetaData* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_MetaData_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__MetaData_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RateLimit_Action_MetaData_clear_descriptor_key(envoy_config_route_v3_RateLimit_Action_MetaData* msg) { @@ -8591,7 +8696,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_MetaData_set_metadata_key UPB_INLINE struct envoy_type_metadata_v3_MetadataKey* envoy_config_route_v3_RateLimit_Action_MetaData_mutable_metadata_key(envoy_config_route_v3_RateLimit_Action_MetaData* msg, upb_Arena* arena) { struct envoy_type_metadata_v3_MetadataKey* sub = (struct envoy_type_metadata_v3_MetadataKey*)envoy_config_route_v3_RateLimit_Action_MetaData_metadata_key(msg); if (sub == NULL) { - sub = (struct envoy_type_metadata_v3_MetadataKey*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKey_msg_init, arena); + sub = (struct envoy_type_metadata_v3_MetadataKey*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKey_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_MetaData_set_metadata_key(msg, sub); } return sub; @@ -8612,12 +8717,12 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_MetaData_set_skip_if_abse /* envoy.config.route.v3.RateLimit.Action.QueryParameterValueMatch */ UPB_INLINE envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch* envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_msg_init, arena); + return (envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Action__QueryParameterValueMatch_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch* envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch* ret = envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__QueryParameterValueMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -8627,7 +8732,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch* envo int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch* ret = envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Action__QueryParameterValueMatch_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -8635,13 +8740,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch* envo } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_serialize(const envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__QueryParameterValueMatch_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_serialize_ex(const envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Action__QueryParameterValueMatch_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_clear_descriptor_value(envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch* msg) { @@ -8730,7 +8835,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_mutable_expect_match(envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_expect_match(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_set_expect_match(msg, sub); } return sub; @@ -8756,7 +8861,7 @@ UPB_INLINE struct envoy_config_route_v3_QueryParameterMatcher* envoy_config_rout if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_QueryParameterMatcher* sub = (struct envoy_config_route_v3_QueryParameterMatcher*)_upb_Message_New(&envoy_config_route_v3_QueryParameterMatcher_msg_init, arena); + struct envoy_config_route_v3_QueryParameterMatcher* sub = (struct envoy_config_route_v3_QueryParameterMatcher*)_upb_Message_New(&envoy__config__route__v3__QueryParameterMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -8769,12 +8874,12 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_ /* envoy.config.route.v3.RateLimit.Override */ UPB_INLINE envoy_config_route_v3_RateLimit_Override* envoy_config_route_v3_RateLimit_Override_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit_Override*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Override_msg_init, arena); + return (envoy_config_route_v3_RateLimit_Override*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Override_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit_Override* envoy_config_route_v3_RateLimit_Override_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Override* ret = envoy_config_route_v3_RateLimit_Override_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Override_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Override_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -8784,7 +8889,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Override* envoy_config_route_v3_RateL int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Override* ret = envoy_config_route_v3_RateLimit_Override_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Override_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Override_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -8792,13 +8897,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Override* envoy_config_route_v3_RateL } UPB_INLINE char* envoy_config_route_v3_RateLimit_Override_serialize(const envoy_config_route_v3_RateLimit_Override* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Override_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Override_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_Override_serialize_ex(const envoy_config_route_v3_RateLimit_Override* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Override_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Override_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -8832,7 +8937,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Override_set_dynamic_metadata(en UPB_INLINE struct envoy_config_route_v3_RateLimit_Override_DynamicMetadata* envoy_config_route_v3_RateLimit_Override_mutable_dynamic_metadata(envoy_config_route_v3_RateLimit_Override* msg, upb_Arena* arena) { struct envoy_config_route_v3_RateLimit_Override_DynamicMetadata* sub = (struct envoy_config_route_v3_RateLimit_Override_DynamicMetadata*)envoy_config_route_v3_RateLimit_Override_dynamic_metadata(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RateLimit_Override_DynamicMetadata*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Override_DynamicMetadata_msg_init, arena); + sub = (struct envoy_config_route_v3_RateLimit_Override_DynamicMetadata*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Override__DynamicMetadata_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Override_set_dynamic_metadata(msg, sub); } return sub; @@ -8841,12 +8946,12 @@ UPB_INLINE struct envoy_config_route_v3_RateLimit_Override_DynamicMetadata* envo /* envoy.config.route.v3.RateLimit.Override.DynamicMetadata */ UPB_INLINE envoy_config_route_v3_RateLimit_Override_DynamicMetadata* envoy_config_route_v3_RateLimit_Override_DynamicMetadata_new(upb_Arena* arena) { - return (envoy_config_route_v3_RateLimit_Override_DynamicMetadata*)_upb_Message_New(&envoy_config_route_v3_RateLimit_Override_DynamicMetadata_msg_init, arena); + return (envoy_config_route_v3_RateLimit_Override_DynamicMetadata*)_upb_Message_New(&envoy__config__route__v3__RateLimit__Override__DynamicMetadata_msg_init, arena); } UPB_INLINE envoy_config_route_v3_RateLimit_Override_DynamicMetadata* envoy_config_route_v3_RateLimit_Override_DynamicMetadata_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Override_DynamicMetadata* ret = envoy_config_route_v3_RateLimit_Override_DynamicMetadata_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Override_DynamicMetadata_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Override__DynamicMetadata_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -8856,7 +8961,7 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Override_DynamicMetadata* envoy_confi int options, upb_Arena* arena) { envoy_config_route_v3_RateLimit_Override_DynamicMetadata* ret = envoy_config_route_v3_RateLimit_Override_DynamicMetadata_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_RateLimit_Override_DynamicMetadata_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__RateLimit__Override__DynamicMetadata_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -8864,13 +8969,13 @@ UPB_INLINE envoy_config_route_v3_RateLimit_Override_DynamicMetadata* envoy_confi } UPB_INLINE char* envoy_config_route_v3_RateLimit_Override_DynamicMetadata_serialize(const envoy_config_route_v3_RateLimit_Override_DynamicMetadata* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Override_DynamicMetadata_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Override__DynamicMetadata_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_RateLimit_Override_DynamicMetadata_serialize_ex(const envoy_config_route_v3_RateLimit_Override_DynamicMetadata* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_RateLimit_Override_DynamicMetadata_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__RateLimit__Override__DynamicMetadata_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_RateLimit_Override_DynamicMetadata_clear_metadata_key(envoy_config_route_v3_RateLimit_Override_DynamicMetadata* msg) { @@ -8896,7 +9001,7 @@ UPB_INLINE void envoy_config_route_v3_RateLimit_Override_DynamicMetadata_set_met UPB_INLINE struct envoy_type_metadata_v3_MetadataKey* envoy_config_route_v3_RateLimit_Override_DynamicMetadata_mutable_metadata_key(envoy_config_route_v3_RateLimit_Override_DynamicMetadata* msg, upb_Arena* arena) { struct envoy_type_metadata_v3_MetadataKey* sub = (struct envoy_type_metadata_v3_MetadataKey*)envoy_config_route_v3_RateLimit_Override_DynamicMetadata_metadata_key(msg); if (sub == NULL) { - sub = (struct envoy_type_metadata_v3_MetadataKey*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKey_msg_init, arena); + sub = (struct envoy_type_metadata_v3_MetadataKey*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKey_msg_init, arena); if (sub) envoy_config_route_v3_RateLimit_Override_DynamicMetadata_set_metadata_key(msg, sub); } return sub; @@ -8905,12 +9010,12 @@ UPB_INLINE struct envoy_type_metadata_v3_MetadataKey* envoy_config_route_v3_Rate /* envoy.config.route.v3.HeaderMatcher */ UPB_INLINE envoy_config_route_v3_HeaderMatcher* envoy_config_route_v3_HeaderMatcher_new(upb_Arena* arena) { - return (envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy_config_route_v3_HeaderMatcher_msg_init, arena); + return (envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena); } UPB_INLINE envoy_config_route_v3_HeaderMatcher* envoy_config_route_v3_HeaderMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_HeaderMatcher* ret = envoy_config_route_v3_HeaderMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_HeaderMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__HeaderMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -8920,7 +9025,7 @@ UPB_INLINE envoy_config_route_v3_HeaderMatcher* envoy_config_route_v3_HeaderMatc int options, upb_Arena* arena) { envoy_config_route_v3_HeaderMatcher* ret = envoy_config_route_v3_HeaderMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_HeaderMatcher_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__HeaderMatcher_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -8928,13 +9033,13 @@ UPB_INLINE envoy_config_route_v3_HeaderMatcher* envoy_config_route_v3_HeaderMatc } UPB_INLINE char* envoy_config_route_v3_HeaderMatcher_serialize(const envoy_config_route_v3_HeaderMatcher* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_HeaderMatcher_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__HeaderMatcher_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_HeaderMatcher_serialize_ex(const envoy_config_route_v3_HeaderMatcher* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_HeaderMatcher_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__HeaderMatcher_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -9121,7 +9226,7 @@ UPB_INLINE void envoy_config_route_v3_HeaderMatcher_set_range_match(envoy_config UPB_INLINE struct envoy_type_v3_Int64Range* envoy_config_route_v3_HeaderMatcher_mutable_range_match(envoy_config_route_v3_HeaderMatcher* msg, upb_Arena* arena) { struct envoy_type_v3_Int64Range* sub = (struct envoy_type_v3_Int64Range*)envoy_config_route_v3_HeaderMatcher_range_match(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Int64Range*)_upb_Message_New(&envoy_type_v3_Int64Range_msg_init, arena); + sub = (struct envoy_type_v3_Int64Range*)_upb_Message_New(&envoy__type__v3__Int64Range_msg_init, arena); if (sub) envoy_config_route_v3_HeaderMatcher_set_range_match(msg, sub); } return sub; @@ -9149,7 +9254,7 @@ UPB_INLINE void envoy_config_route_v3_HeaderMatcher_set_safe_regex_match(envoy_c UPB_INLINE struct envoy_type_matcher_v3_RegexMatcher* envoy_config_route_v3_HeaderMatcher_mutable_safe_regex_match(envoy_config_route_v3_HeaderMatcher* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_RegexMatcher* sub = (struct envoy_type_matcher_v3_RegexMatcher*)envoy_config_route_v3_HeaderMatcher_safe_regex_match(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_RegexMatcher*)_upb_Message_New(&envoy_type_matcher_v3_RegexMatcher_msg_init, arena); + sub = (struct envoy_type_matcher_v3_RegexMatcher*)_upb_Message_New(&envoy__type__matcher__v3__RegexMatcher_msg_init, arena); if (sub) envoy_config_route_v3_HeaderMatcher_set_safe_regex_match(msg, sub); } return sub; @@ -9165,7 +9270,7 @@ UPB_INLINE void envoy_config_route_v3_HeaderMatcher_set_string_match(envoy_confi UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_route_v3_HeaderMatcher_mutable_string_match(envoy_config_route_v3_HeaderMatcher* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_config_route_v3_HeaderMatcher_string_match(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); + sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); if (sub) envoy_config_route_v3_HeaderMatcher_set_string_match(msg, sub); } return sub; @@ -9178,12 +9283,12 @@ UPB_INLINE void envoy_config_route_v3_HeaderMatcher_set_treat_missing_header_as_ /* envoy.config.route.v3.QueryParameterMatcher */ UPB_INLINE envoy_config_route_v3_QueryParameterMatcher* envoy_config_route_v3_QueryParameterMatcher_new(upb_Arena* arena) { - return (envoy_config_route_v3_QueryParameterMatcher*)_upb_Message_New(&envoy_config_route_v3_QueryParameterMatcher_msg_init, arena); + return (envoy_config_route_v3_QueryParameterMatcher*)_upb_Message_New(&envoy__config__route__v3__QueryParameterMatcher_msg_init, arena); } UPB_INLINE envoy_config_route_v3_QueryParameterMatcher* envoy_config_route_v3_QueryParameterMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_QueryParameterMatcher* ret = envoy_config_route_v3_QueryParameterMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_QueryParameterMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__QueryParameterMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -9193,7 +9298,7 @@ UPB_INLINE envoy_config_route_v3_QueryParameterMatcher* envoy_config_route_v3_Qu int options, upb_Arena* arena) { envoy_config_route_v3_QueryParameterMatcher* ret = envoy_config_route_v3_QueryParameterMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_QueryParameterMatcher_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__QueryParameterMatcher_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -9201,13 +9306,13 @@ UPB_INLINE envoy_config_route_v3_QueryParameterMatcher* envoy_config_route_v3_Qu } UPB_INLINE char* envoy_config_route_v3_QueryParameterMatcher_serialize(const envoy_config_route_v3_QueryParameterMatcher* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_QueryParameterMatcher_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__QueryParameterMatcher_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_QueryParameterMatcher_serialize_ex(const envoy_config_route_v3_QueryParameterMatcher* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_QueryParameterMatcher_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__QueryParameterMatcher_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -9272,7 +9377,7 @@ UPB_INLINE void envoy_config_route_v3_QueryParameterMatcher_set_string_match(env UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_route_v3_QueryParameterMatcher_mutable_string_match(envoy_config_route_v3_QueryParameterMatcher* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_config_route_v3_QueryParameterMatcher_string_match(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); + sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); if (sub) envoy_config_route_v3_QueryParameterMatcher_set_string_match(msg, sub); } return sub; @@ -9285,12 +9390,12 @@ UPB_INLINE void envoy_config_route_v3_QueryParameterMatcher_set_present_match(en /* envoy.config.route.v3.InternalRedirectPolicy */ UPB_INLINE envoy_config_route_v3_InternalRedirectPolicy* envoy_config_route_v3_InternalRedirectPolicy_new(upb_Arena* arena) { - return (envoy_config_route_v3_InternalRedirectPolicy*)_upb_Message_New(&envoy_config_route_v3_InternalRedirectPolicy_msg_init, arena); + return (envoy_config_route_v3_InternalRedirectPolicy*)_upb_Message_New(&envoy__config__route__v3__InternalRedirectPolicy_msg_init, arena); } UPB_INLINE envoy_config_route_v3_InternalRedirectPolicy* envoy_config_route_v3_InternalRedirectPolicy_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_InternalRedirectPolicy* ret = envoy_config_route_v3_InternalRedirectPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_InternalRedirectPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__InternalRedirectPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -9300,7 +9405,7 @@ UPB_INLINE envoy_config_route_v3_InternalRedirectPolicy* envoy_config_route_v3_I int options, upb_Arena* arena) { envoy_config_route_v3_InternalRedirectPolicy* ret = envoy_config_route_v3_InternalRedirectPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_InternalRedirectPolicy_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__InternalRedirectPolicy_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -9308,13 +9413,13 @@ UPB_INLINE envoy_config_route_v3_InternalRedirectPolicy* envoy_config_route_v3_I } UPB_INLINE char* envoy_config_route_v3_InternalRedirectPolicy_serialize(const envoy_config_route_v3_InternalRedirectPolicy* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_InternalRedirectPolicy_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__InternalRedirectPolicy_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_InternalRedirectPolicy_serialize_ex(const envoy_config_route_v3_InternalRedirectPolicy* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_InternalRedirectPolicy_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__InternalRedirectPolicy_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_InternalRedirectPolicy_clear_max_internal_redirects(envoy_config_route_v3_InternalRedirectPolicy* msg) { @@ -9417,6 +9522,43 @@ UPB_INLINE bool envoy_config_route_v3_InternalRedirectPolicy_allow_cross_scheme_ _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } +UPB_INLINE void envoy_config_route_v3_InternalRedirectPolicy_clear_response_headers_to_copy(envoy_config_route_v3_InternalRedirectPolicy* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* envoy_config_route_v3_InternalRedirectPolicy_response_headers_to_copy(const envoy_config_route_v3_InternalRedirectPolicy* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_route_v3_InternalRedirectPolicy_response_headers_to_copy_upb_array(const envoy_config_route_v3_InternalRedirectPolicy* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_route_v3_InternalRedirectPolicy_response_headers_to_copy_mutable_upb_array(const envoy_config_route_v3_InternalRedirectPolicy* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_route_v3_InternalRedirectPolicy_has_response_headers_to_copy(const envoy_config_route_v3_InternalRedirectPolicy* msg) { + size_t size; + envoy_config_route_v3_InternalRedirectPolicy_response_headers_to_copy(msg, &size); + return size != 0; +} UPB_INLINE void envoy_config_route_v3_InternalRedirectPolicy_set_max_internal_redirects(envoy_config_route_v3_InternalRedirectPolicy *msg, struct google_protobuf_UInt32Value* value) { const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; @@ -9425,7 +9567,7 @@ UPB_INLINE void envoy_config_route_v3_InternalRedirectPolicy_set_max_internal_re UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_route_v3_InternalRedirectPolicy_mutable_max_internal_redirects(envoy_config_route_v3_InternalRedirectPolicy* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_route_v3_InternalRedirectPolicy_max_internal_redirects(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_route_v3_InternalRedirectPolicy_set_max_internal_redirects(msg, sub); } return sub; @@ -9475,7 +9617,7 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_route_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -9484,16 +9626,40 @@ UPB_INLINE void envoy_config_route_v3_InternalRedirectPolicy_set_allow_cross_sch const upb_MiniTableField field = {4, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } +UPB_INLINE upb_StringView* envoy_config_route_v3_InternalRedirectPolicy_mutable_response_headers_to_copy(envoy_config_route_v3_InternalRedirectPolicy* msg, size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* envoy_config_route_v3_InternalRedirectPolicy_resize_response_headers_to_copy(envoy_config_route_v3_InternalRedirectPolicy* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool envoy_config_route_v3_InternalRedirectPolicy_add_response_headers_to_copy(envoy_config_route_v3_InternalRedirectPolicy* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} /* envoy.config.route.v3.FilterConfig */ UPB_INLINE envoy_config_route_v3_FilterConfig* envoy_config_route_v3_FilterConfig_new(upb_Arena* arena) { - return (envoy_config_route_v3_FilterConfig*)_upb_Message_New(&envoy_config_route_v3_FilterConfig_msg_init, arena); + return (envoy_config_route_v3_FilterConfig*)_upb_Message_New(&envoy__config__route__v3__FilterConfig_msg_init, arena); } UPB_INLINE envoy_config_route_v3_FilterConfig* envoy_config_route_v3_FilterConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_FilterConfig* ret = envoy_config_route_v3_FilterConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_FilterConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__FilterConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -9503,7 +9669,7 @@ UPB_INLINE envoy_config_route_v3_FilterConfig* envoy_config_route_v3_FilterConfi int options, upb_Arena* arena) { envoy_config_route_v3_FilterConfig* ret = envoy_config_route_v3_FilterConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_FilterConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__FilterConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -9511,13 +9677,13 @@ UPB_INLINE envoy_config_route_v3_FilterConfig* envoy_config_route_v3_FilterConfi } UPB_INLINE char* envoy_config_route_v3_FilterConfig_serialize(const envoy_config_route_v3_FilterConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_FilterConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__FilterConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_FilterConfig_serialize_ex(const envoy_config_route_v3_FilterConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_FilterConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__FilterConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_FilterConfig_clear_config(envoy_config_route_v3_FilterConfig* msg) { @@ -9565,7 +9731,7 @@ UPB_INLINE void envoy_config_route_v3_FilterConfig_set_config(envoy_config_route UPB_INLINE struct google_protobuf_Any* envoy_config_route_v3_FilterConfig_mutable_config(envoy_config_route_v3_FilterConfig* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_route_v3_FilterConfig_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_route_v3_FilterConfig_set_config(msg, sub); } return sub; @@ -9579,8 +9745,6 @@ UPB_INLINE void envoy_config_route_v3_FilterConfig_set_disabled(envoy_config_rou _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_config_route_v3_route_components_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c new file mode 100644 index 00000000000..ddfd3943aaa --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c @@ -0,0 +1,1670 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/route/v3/route_components.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/route/v3/route_components.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/proxy_protocol.upb_minitable.h" +#include "envoy/type/matcher/v3/metadata.upb_minitable.h" +#include "envoy/type/matcher/v3/regex.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "envoy/type/metadata/v3/metadata.upb_minitable.h" +#include "envoy/type/tracing/v3/custom_tag.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "envoy/type/v3/range.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_route_v3_VirtualHost_submsgs[14] = { + {.submsg = &envoy__config__route__v3__Route_msg_init}, + {.submsg = &envoy__config__route__v3__VirtualCluster_msg_init}, + {.submsg = &envoy__config__route__v3__RateLimit_msg_init}, + {.submsg = &envoy__config__core__v3__HeaderValueOption_msg_init}, + {.submsg = &envoy__config__route__v3__CorsPolicy_msg_init}, + {.submsg = &envoy__config__core__v3__HeaderValueOption_msg_init}, + {.submsg = &envoy__config__route__v3__VirtualHost__TypedPerFilterConfigEntry_msg_init}, + {.submsg = &envoy__config__route__v3__RetryPolicy_msg_init}, + {.submsg = &envoy__config__route__v3__HedgePolicy_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher_msg_init}, + {.submsg = &envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init}, + {.submsg = &envoy__config__core__v3__Metadata_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_VirtualHost__fields[22] = { + {1, UPB_SIZE(88, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(28, 72), 1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(32, 80), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(36, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(40, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(44, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(48, 104), 0, 6, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(52, 112), 2, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(56, 120), 3, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(60, 128), 4, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(64, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(68, 136), 5, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(72, 144), 6, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(76, 152), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(80, 10), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(84, 160), 7, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__VirtualHost_msg_init = { + &envoy_config_route_v3_VirtualHost_submsgs[0], + &envoy_config_route_v3_VirtualHost__fields[0], + UPB_SIZE(96, 168), 22, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f00000a, &upb_pss_1bt}, + {0x002000003f000012, &upb_prs_1bt}, + {0x002800003f00001a, &upb_prm_1bt_max192b}, + {0x000400003f000020, &upb_psv4_1bt}, + {0x003000003f01002a, &upb_prm_1bt_max64b}, + {0x003800003f020032, &upb_prm_1bt_max64b}, + {0x004000003f03003a, &upb_prm_1bt_maxmaxb}, + {0x0048000001040042, &upb_psm_1bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x005000003f050052, &upb_prm_1bt_maxmaxb}, + {0x005800003f00005a, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x006000003f00006a, &upb_prs_1bt}, + {0x000800003f000070, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0070000002070182, &upb_psm_2bt_max128b}, + {0x007800000308018a, &upb_psm_2bt_max64b}, + {0x0080000004090192, &upb_psm_2bt_maxmaxb}, + {0x000900003f000198, &upb_psb1_2bt}, + {0x00880000050a01a2, &upb_psm_2bt_maxmaxb}, + {0x00900000060b01aa, &upb_psm_2bt_maxmaxb}, + {0x009800003f0c01b2, &upb_prm_2bt_max64b}, + {0x000a00003f0001b8, &upb_psb1_2bt}, + {0x00a00000070d01c2, &upb_psm_2bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_VirtualHost_TypedPerFilterConfigEntry_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_VirtualHost_TypedPerFilterConfigEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__VirtualHost__TypedPerFilterConfigEntry_msg_init = { + &envoy_config_route_v3_VirtualHost_TypedPerFilterConfigEntry_submsgs[0], + &envoy_config_route_v3_VirtualHost_TypedPerFilterConfigEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_FilterAction_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_FilterAction__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__FilterAction_msg_init = { + &envoy_config_route_v3_FilterAction_submsgs[0], + &envoy_config_route_v3_FilterAction__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RouteList_submsgs[1] = { + {.submsg = &envoy__config__route__v3__Route_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteList__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteList_msg_init = { + &envoy_config_route_v3_RouteList_submsgs[0], + &envoy_config_route_v3_RouteList__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max192b}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_Route_submsgs[13] = { + {.submsg = &envoy__config__route__v3__RouteMatch_msg_init}, + {.submsg = &envoy__config__route__v3__RouteAction_msg_init}, + {.submsg = &envoy__config__route__v3__RedirectAction_msg_init}, + {.submsg = &envoy__config__core__v3__Metadata_msg_init}, + {.submsg = &envoy__config__route__v3__Decorator_msg_init}, + {.submsg = &envoy__config__route__v3__DirectResponseAction_msg_init}, + {.submsg = &envoy__config__core__v3__HeaderValueOption_msg_init}, + {.submsg = &envoy__config__core__v3__HeaderValueOption_msg_init}, + {.submsg = &envoy__config__route__v3__Route__TypedPerFilterConfigEntry_msg_init}, + {.submsg = &envoy__config__route__v3__Tracing_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__route__v3__FilterAction_msg_init}, + {.submsg = &envoy__config__route__v3__NonForwardingAction_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_Route__fields[17] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(48, 120), UPB_SIZE(-45, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(48, 120), UPB_SIZE(-45, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 16), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 24), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(48, 120), UPB_SIZE(-45, -5), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(16, 32), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(20, 40), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(24, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(28, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(32, 64), 0, 8, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(52, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(36, 88), 4, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(40, 96), 5, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(48, 120), UPB_SIZE(-45, -5), 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(48, 120), UPB_SIZE(-45, -5), 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(60, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__Route_msg_init = { + &envoy_config_route_v3_Route_submsgs[0], + &envoy_config_route_v3_Route__fields[0], + UPB_SIZE(72, 128), 17, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max128b}, + {0x0078000402010012, &upb_pom_1bt_max256b}, + {0x007800040302001a, &upb_pom_1bt_max128b}, + {0x0010000002030022, &upb_psm_1bt_maxmaxb}, + {0x001800000304002a, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x007800040705003a, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002000003f06004a, &upb_prm_1bt_maxmaxb}, + {0x002800003f070052, &upb_prm_1bt_maxmaxb}, + {0x003000003f00005a, &upb_prs_1bt}, + {0x003800003f000062, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x004800003f000072, &upb_pss_1bt}, + {0x005800000409007a, &upb_psm_1bt_max64b}, + {0x00600000050a0182, &upb_psm_2bt_maxmaxb}, + {0x00780004110b018a, &upb_pom_2bt_max64b}, + {0x00780004120c0192, &upb_pom_2bt_max64b}, + {0x006800003f00019a, &upb_pss_2bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_Route_TypedPerFilterConfigEntry_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_Route_TypedPerFilterConfigEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__Route__TypedPerFilterConfigEntry_msg_init = { + &envoy_config_route_v3_Route_TypedPerFilterConfigEntry_submsgs[0], + &envoy_config_route_v3_Route_TypedPerFilterConfigEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_WeightedCluster_submsgs[2] = { + {.submsg = &envoy__config__route__v3__WeightedCluster__ClusterWeight_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_WeightedCluster__fields[4] = { + {1, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 48), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 8), UPB_SIZE(-13, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__WeightedCluster_msg_init = { + &envoy_config_route_v3_WeightedCluster_submsgs[0], + &envoy_config_route_v3_WeightedCluster__fields[0], + UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f00000a, &upb_prm_1bt_max128b}, + {0x002000003f000012, &upb_pss_1bt}, + {0x003000000101001a, &upb_psm_1bt_maxmaxb}, + {0x0008000404000022, &upb_pos_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_WeightedCluster_ClusterWeight_submsgs[5] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__Metadata_msg_init}, + {.submsg = &envoy__config__core__v3__HeaderValueOption_msg_init}, + {.submsg = &envoy__config__core__v3__HeaderValueOption_msg_init}, + {.submsg = &envoy__config__route__v3__WeightedCluster__ClusterWeight__TypedPerFilterConfigEntry_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_WeightedCluster_ClusterWeight__fields[10] = { + {1, UPB_SIZE(44, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 48), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(24, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(28, 88), 0, 4, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(52, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__WeightedCluster__ClusterWeight_msg_init = { + &envoy_config_route_v3_WeightedCluster_ClusterWeight_submsgs[0], + &envoy_config_route_v3_WeightedCluster_ClusterWeight__fields[0], + UPB_SIZE(64, 112), 10, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f00000a, &upb_pss_1bt}, + {0x0028000001000012, &upb_psm_1bt_maxmaxb}, + {0x003000000201001a, &upb_psm_1bt_maxmaxb}, + {0x003800003f020022, &upb_prm_1bt_maxmaxb}, + {0x004000003f03002a, &upb_prm_1bt_maxmaxb}, + {0x004800003f000032, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x005000003f00004a, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800040b00005a, &upb_pos_1bt}, + {0x006000003f000062, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__WeightedCluster__ClusterWeight__TypedPerFilterConfigEntry_msg_init = { + &envoy_config_route_v3_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry_submsgs[0], + &envoy_config_route_v3_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_ClusterSpecifierPlugin_submsgs[1] = { + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_ClusterSpecifierPlugin__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__ClusterSpecifierPlugin_msg_init = { + &envoy_config_route_v3_ClusterSpecifierPlugin_submsgs[0], + &envoy_config_route_v3_ClusterSpecifierPlugin__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RouteMatch_submsgs[10] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__route__v3__HeaderMatcher_msg_init}, + {.submsg = &envoy__config__route__v3__QueryParameterMatcher_msg_init}, + {.submsg = &envoy__config__route__v3__RouteMatch__GrpcRouteMatchOptions_msg_init}, + {.submsg = &envoy__config__core__v3__RuntimeFractionalPercent_msg_init}, + {.submsg = &envoy__type__matcher__v3__RegexMatcher_msg_init}, + {.submsg = &envoy__config__route__v3__RouteMatch__TlsContextMatchOptions_msg_init}, + {.submsg = &envoy__config__route__v3__RouteMatch__ConnectMatcher_msg_init}, + {.submsg = &envoy__type__matcher__v3__MetadataMatcher_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteMatch__fields[13] = { + {1, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(16, 48), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(20, 56), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(24, 64), 4, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(28, 72), 0, 8, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteMatch_msg_init = { + &envoy_config_route_v3_RouteMatch_submsgs[0], + &envoy_config_route_v3_RouteMatch__fields[0], + UPB_SIZE(48, 80), 13, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800040100000a, &upb_pos_1bt}, + {0x0008000402000012, &upb_pos_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0018000001000022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002000003f010032, &upb_prm_1bt_max64b}, + {0x002800003f02003a, &upb_prm_1bt_max64b}, + {0x0030000002030042, &upb_psm_1bt_max64b}, + {0x003800000304004a, &upb_psm_1bt_maxmaxb}, + {0x000800040a050052, &upb_pom_1bt_maxmaxb}, + {0x004000000406005a, &upb_psm_1bt_max64b}, + {0x000800040c070062, &upb_pom_1bt_max64b}, + {0x004800003f08006a, &upb_prm_1bt_maxmaxb}, + {0x000800040e000072, &upb_pos_1bt}, + {0x000800040f09007a, &upb_pom_1bt_maxmaxb}, + }) +}; + +const upb_MiniTable envoy__config__route__v3__RouteMatch__GrpcRouteMatchOptions_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_submsgs[2] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteMatch_TlsContextMatchOptions__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteMatch__TlsContextMatchOptions_msg_init = { + &envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_submsgs[0], + &envoy_config_route_v3_RouteMatch_TlsContextMatchOptions__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +const upb_MiniTable envoy__config__route__v3__RouteMatch__ConnectMatcher_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_config_route_v3_CorsPolicy_submsgs[5] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__core__v3__RuntimeFractionalPercent_msg_init}, + {.submsg = &envoy__config__core__v3__RuntimeFractionalPercent_msg_init}, + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_CorsPolicy__fields[9] = { + {2, UPB_SIZE(28, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(52, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 72), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(24, 104), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(12, 80), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(16, 88), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(20, 96), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__CorsPolicy_msg_init = { + &envoy_config_route_v3_CorsPolicy_submsgs[0], + &envoy_config_route_v3_CorsPolicy__fields[0], + UPB_SIZE(64, 112), 9, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000012, &upb_pss_1bt}, + {0x001800003f00001a, &upb_pss_1bt}, + {0x002800003f000022, &upb_pss_1bt}, + {0x003800003f00002a, &upb_pss_1bt}, + {0x0048000001000032, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x006800040901004a, &upb_pom_1bt_maxmaxb}, + {0x0050000002020052, &upb_psm_1bt_maxmaxb}, + {0x005800003f03005a, &upb_prm_1bt_maxmaxb}, + {0x0060000003040062, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RouteAction_submsgs[24] = { + {.submsg = &envoy__config__route__v3__WeightedCluster_msg_init}, + {.submsg = &envoy__config__core__v3__Metadata_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__route__v3__RetryPolicy_msg_init}, + {.submsg = &envoy__config__route__v3__RateLimit_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__route__v3__RouteAction__HashPolicy_msg_init}, + {.submsg = &envoy__config__route__v3__CorsPolicy_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__route__v3__RouteAction__UpgradeConfig_msg_init}, + {.submsg = &envoy__config__route__v3__HedgePolicy_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init}, + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &envoy__config__route__v3__InternalRedirectPolicy_msg_init}, + {.submsg = &envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init}, + {.submsg = &envoy__config__route__v3__RouteAction__MaxStreamDuration_msg_init}, + {.submsg = &envoy__config__route__v3__ClusterSpecifierPlugin_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteAction__fields[34] = { + {1, UPB_SIZE(116, 48), UPB_SIZE(-97, -25), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(116, 48), UPB_SIZE(-97, -25), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(116, 48), UPB_SIZE(-97, -25), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 64), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(124, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(108, 32), UPB_SIZE(-85, -17), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(108, 32), UPB_SIZE(-85, -17), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(8, 88), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(12, 96), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(20, 104), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(24, 112), 4, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(28, 120), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(32, 128), 5, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(36, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(40, 136), 6, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(44, 144), 7, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(48, 152), 0, 11, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {26, UPB_SIZE(52, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {27, UPB_SIZE(56, 160), 8, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {28, UPB_SIZE(60, 168), 9, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {29, UPB_SIZE(108, 32), UPB_SIZE(-85, -17), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {30, UPB_SIZE(64, 176), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {31, UPB_SIZE(68, 184), 10, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {32, UPB_SIZE(72, 192), 11, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {33, UPB_SIZE(76, 200), 12, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {34, UPB_SIZE(80, 208), 13, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {35, UPB_SIZE(108, 32), UPB_SIZE(-85, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {36, UPB_SIZE(88, 216), 14, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {37, UPB_SIZE(116, 48), UPB_SIZE(-97, -25), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {38, UPB_SIZE(92, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {39, UPB_SIZE(116, 48), UPB_SIZE(-97, -25), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {40, UPB_SIZE(100, 224), 15, 22, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {41, UPB_SIZE(104, 232), 16, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteAction_msg_init = { + &envoy_config_route_v3_RouteAction_submsgs[0], + &envoy_config_route_v3_RouteAction__fields[0], + UPB_SIZE(136, 240), 34, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x003000180100000a, &upb_pos_1bt}, + {0x0030001802000012, &upb_pos_1bt}, + {0x003000180300001a, &upb_pom_1bt_max64b}, + {0x0040000001010022, &upb_psm_1bt_maxmaxb}, + {0x004800003f00002a, &upb_pss_1bt}, + {0x0020001006000032, &upb_pos_1bt}, + {0x002000100702003a, &upb_pom_1bt_maxmaxb}, + {0x0058000002030042, &upb_psm_1bt_maxmaxb}, + {0x006000000304004a, &upb_psm_1bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000058, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x006800003f05006a, &upb_prm_1bt_max64b}, + {0x0070000004060072, &upb_psm_1bt_maxmaxb}, + {0x007800003f07007a, &upb_prm_1bt_max64b}, + {0x00c000000b100282, &upb_psm_2bt_maxmaxb}, + {0x008000000508018a, &upb_psm_2bt_max128b}, + {0x00d000000d120292, &upb_psm_2bt_max64b}, + {0x002000102313029a, &upb_pom_2bt_maxmaxb}, + {0x000800003f0001a0, &upb_psv4_2bt}, + {0x00300018250002aa, &upb_pos_2bt}, + {0x001400003f0002b0, &upb_psb1_2bt}, + {0x00880000060901ba, &upb_psm_2bt_maxmaxb}, + {0x00900000070a01c2, &upb_psm_2bt_maxmaxb}, + {0x009800003f0b01ca, &upb_prm_2bt_max64b}, + {0x000c00003f0001d0, &upb_psv4_2bt}, + {0x00a00000080c01da, &upb_psm_2bt_max64b}, + {0x00a80000090d01e2, &upb_psm_2bt_maxmaxb}, + {0x002000101d0001ea, &upb_pos_2bt}, + {0x00b000003f0e01f2, &upb_prm_2bt_max64b}, + {0x00b800000a0f01fa, &upb_psm_2bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RouteAction_RequestMirrorPolicy_submsgs[2] = { + {.submsg = &envoy__config__core__v3__RuntimeFractionalPercent_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteAction_RequestMirrorPolicy__fields[4] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init = { + &envoy_config_route_v3_RouteAction_RequestMirrorPolicy_submsgs[0], + &envoy_config_route_v3_RouteAction_RequestMirrorPolicy__fields[0], + UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000100001a, &upb_psm_1bt_maxmaxb}, + {0x0020000002010022, &upb_psm_1bt_maxmaxb}, + {0x002800003f00002a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RouteAction_HashPolicy_submsgs[5] = { + {.submsg = &envoy__config__route__v3__RouteAction__HashPolicy__Header_msg_init}, + {.submsg = &envoy__config__route__v3__RouteAction__HashPolicy__Cookie_msg_init}, + {.submsg = &envoy__config__route__v3__RouteAction__HashPolicy__ConnectionProperties_msg_init}, + {.submsg = &envoy__config__route__v3__RouteAction__HashPolicy__QueryParameter_msg_init}, + {.submsg = &envoy__config__route__v3__RouteAction__HashPolicy__FilterState_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteAction_HashPolicy__fields[6] = { + {1, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 8, -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 8, -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, 8, -5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy_msg_init = { + &envoy_config_route_v3_RouteAction_HashPolicy_submsgs[0], + &envoy_config_route_v3_RouteAction_HashPolicy__fields[0], + 16, 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800040100000a, &upb_pom_1bt_max64b}, + {0x0008000402010012, &upb_pom_1bt_max64b}, + {0x000800040302001a, &upb_pom_1bt_max64b}, + {0x000000003f000020, &upb_psb1_1bt}, + {0x000800040503002a, &upb_pom_1bt_max64b}, + {0x0008000406040032, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RouteAction_HashPolicy_Header_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteAction_HashPolicy_Header__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy__Header_msg_init = { + &envoy_config_route_v3_RouteAction_HashPolicy_Header_submsgs[0], + &envoy_config_route_v3_RouteAction_HashPolicy_Header__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy__CookieAttribute_msg_init = { + NULL, + &envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RouteAction_HashPolicy_Cookie_submsgs[2] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__route__v3__RouteAction__HashPolicy__CookieAttribute_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteAction_HashPolicy_Cookie__fields[4] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy__Cookie_msg_init = { + &envoy_config_route_v3_RouteAction_HashPolicy_Cookie_submsgs[0], + &envoy_config_route_v3_RouteAction_HashPolicy_Cookie__fields[0], + UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000003f00001a, &upb_pss_1bt}, + {0x003000003f010022, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties__fields[1] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy__ConnectionProperties_msg_init = { + NULL, + &envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy__QueryParameter_msg_init = { + NULL, + &envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteAction_HashPolicy_FilterState__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy__FilterState_msg_init = { + NULL, + &envoy_config_route_v3_RouteAction_HashPolicy_FilterState__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RouteAction_UpgradeConfig_submsgs[2] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__route__v3__RouteAction__UpgradeConfig__ConnectConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteAction_UpgradeConfig__fields[3] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteAction__UpgradeConfig_msg_init = { + &envoy_config_route_v3_RouteAction_UpgradeConfig_submsgs[0], + &envoy_config_route_v3_RouteAction_UpgradeConfig__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000000201001a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_submsgs[1] = { + {.submsg = &envoy__config__core__v3__ProxyProtocolConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteAction__UpgradeConfig__ConnectConfig_msg_init = { + &envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_submsgs[0], + &envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RouteAction_MaxStreamDuration_submsgs[3] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RouteAction_MaxStreamDuration__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RouteAction__MaxStreamDuration_msg_init = { + &envoy_config_route_v3_RouteAction_MaxStreamDuration_submsgs[0], + &envoy_config_route_v3_RouteAction_MaxStreamDuration__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RetryPolicy_submsgs[10] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__route__v3__RetryPolicy__RetryPriority_msg_init}, + {.submsg = &envoy__config__route__v3__RetryPolicy__RetryHostPredicate_msg_init}, + {.submsg = &envoy__config__route__v3__RetryPolicy__RetryBackOff_msg_init}, + {.submsg = &envoy__config__route__v3__HeaderMatcher_msg_init}, + {.submsg = &envoy__config__route__v3__HeaderMatcher_msg_init}, + {.submsg = &envoy__config__route__v3__RetryPolicy__RateLimitedRetryBackOff_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RetryPolicy__fields[13] = { + {1, UPB_SIZE(48, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, 56, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(20, 64), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(24, 72), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(28, 80), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(32, 88), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(36, 96), 5, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(40, 104), 0, 8, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(44, 112), 6, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RetryPolicy_msg_init = { + &envoy_config_route_v3_RetryPolicy_submsgs[0], + &envoy_config_route_v3_RetryPolicy__fields[0], + UPB_SIZE(64, 120), 13, kUpb_ExtMode_NonExtendable, 13, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + {0x0028000003020022, &upb_psm_1bt_max64b}, + {0x003000003f03002a, &upb_prm_1bt_max64b}, + {0x003800003f000030, &upb_psv8_1bt}, + {0x004000003f00003a, &upb_ppv4_1bt}, + {0x0048000004040042, &upb_psm_1bt_max64b}, + {0x005000003f05004a, &upb_prm_1bt_max64b}, + {0x005800003f060052, &upb_prm_1bt_max64b}, + {0x006000000507005a, &upb_psm_1bt_max64b}, + {0x006800003f080062, &upb_prm_1bt_maxmaxb}, + {0x007000000609006a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RetryPolicy_RetryPriority_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RetryPolicy_RetryPriority__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RetryPolicy__RetryPriority_msg_init = { + &envoy_config_route_v3_RetryPolicy_RetryPriority_submsgs[0], + &envoy_config_route_v3_RetryPolicy_RetryPriority__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000300001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RetryPolicy_RetryHostPredicate_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RetryPolicy_RetryHostPredicate__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RetryPolicy__RetryHostPredicate_msg_init = { + &envoy_config_route_v3_RetryPolicy_RetryHostPredicate_submsgs[0], + &envoy_config_route_v3_RetryPolicy_RetryHostPredicate__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000300001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RetryPolicy_RetryBackOff_submsgs[2] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RetryPolicy_RetryBackOff__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RetryPolicy__RetryBackOff_msg_init = { + &envoy_config_route_v3_RetryPolicy_RetryBackOff_submsgs[0], + &envoy_config_route_v3_RetryPolicy_RetryBackOff__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_route_v3_RetryPolicy_ResetHeader__fields[2] = { + {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RetryPolicy__ResetHeader_msg_init = { + NULL, + &envoy_config_route_v3_RetryPolicy_ResetHeader__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x000000003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_submsgs[2] = { + {.submsg = &envoy__config__route__v3__RetryPolicy__ResetHeader_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff__fields[2] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RetryPolicy__RateLimitedRetryBackOff_msg_init = { + &envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_submsgs[0], + &envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_max64b}, + {0x0010000001010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_HedgePolicy_submsgs[2] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__type__v3__FractionalPercent_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_HedgePolicy__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__HedgePolicy_msg_init = { + &envoy_config_route_v3_HedgePolicy_submsgs[0], + &envoy_config_route_v3_HedgePolicy__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x000100003f000018, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RedirectAction_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RedirectAction__fields[9] = { + {1, UPB_SIZE(36, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(28, 40), -17, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 24), -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 40), -17, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(20, 24), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(28, 40), -17, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RedirectAction_msg_init = { + &envoy_config_route_v3_RedirectAction_submsgs[0], + &envoy_config_route_v3_RedirectAction__fields[0], + UPB_SIZE(48, 72), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x003800003f00000a, &upb_pss_1bt}, + {0x0028001002000012, &upb_pos_1bt}, + {0x000000003f000018, &upb_psv4_1bt}, + {0x0018000804000020, &upb_pob1_1bt}, + {0x002800100500002a, &upb_pos_1bt}, + {0x000400003f000030, &upb_psb1_1bt}, + {0x001800080700003a, &upb_pos_1bt}, + {0x000c00003f000040, &upb_psv4_1bt}, + {0x002800100900004a, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_DirectResponseAction_submsgs[1] = { + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_DirectResponseAction__fields[2] = { + {1, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__DirectResponseAction_msg_init = { + &envoy_config_route_v3_DirectResponseAction_submsgs[0], + &envoy_config_route_v3_DirectResponseAction__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x0008000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +const upb_MiniTable envoy__config__route__v3__NonForwardingAction_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_config_route_v3_Decorator_submsgs[1] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_Decorator__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__Decorator_msg_init = { + &envoy_config_route_v3_Decorator_submsgs[0], + &envoy_config_route_v3_Decorator__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_Tracing_submsgs[4] = { + {.submsg = &envoy__type__v3__FractionalPercent_msg_init}, + {.submsg = &envoy__type__v3__FractionalPercent_msg_init}, + {.submsg = &envoy__type__v3__FractionalPercent_msg_init}, + {.submsg = &envoy__type__tracing__v3__CustomTag_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_Tracing__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__Tracing_msg_init = { + &envoy_config_route_v3_Tracing_submsgs[0], + &envoy_config_route_v3_Tracing__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x002000003f030022, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_VirtualCluster_submsgs[1] = { + {.submsg = &envoy__config__route__v3__HeaderMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_VirtualCluster__fields[2] = { + {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__VirtualCluster_msg_init = { + &envoy_config_route_v3_VirtualCluster_submsgs[0], + &envoy_config_route_v3_VirtualCluster__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f000022, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RateLimit_submsgs[3] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__route__v3__RateLimit__Action_msg_init}, + {.submsg = &envoy__config__route__v3__RateLimit__Override_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RateLimit__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit_msg_init = { + &envoy_config_route_v3_RateLimit_submsgs[0], + &envoy_config_route_v3_RateLimit__fields[0], + UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000003f01001a, &upb_prm_1bt_max64b}, + {0x0028000002020022, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Action_submsgs[11] = { + {.submsg = &envoy__config__route__v3__RateLimit__Action__SourceCluster_msg_init}, + {.submsg = &envoy__config__route__v3__RateLimit__Action__DestinationCluster_msg_init}, + {.submsg = &envoy__config__route__v3__RateLimit__Action__RequestHeaders_msg_init}, + {.submsg = &envoy__config__route__v3__RateLimit__Action__RemoteAddress_msg_init}, + {.submsg = &envoy__config__route__v3__RateLimit__Action__GenericKey_msg_init}, + {.submsg = &envoy__config__route__v3__RateLimit__Action__HeaderValueMatch_msg_init}, + {.submsg = &envoy__config__route__v3__RateLimit__Action__DynamicMetaData_msg_init}, + {.submsg = &envoy__config__route__v3__RateLimit__Action__MetaData_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__route__v3__RateLimit__Action__MaskedRemoteAddress_msg_init}, + {.submsg = &envoy__config__route__v3__RateLimit__Action__QueryParameterValueMatch_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action__fields[11] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit__Action_msg_init = { + &envoy_config_route_v3_RateLimit_Action_submsgs[0], + &envoy_config_route_v3_RateLimit_Action__fields[0], + UPB_SIZE(8, 16), 11, kUpb_ExtMode_NonExtendable, 11, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + {0x0008000004030022, &upb_pom_1bt_max64b}, + {0x000800000504002a, &upb_pom_1bt_max64b}, + {0x0008000006050032, &upb_pom_1bt_max64b}, + {0x000800000706003a, &upb_pom_1bt_max64b}, + {0x0008000008070042, &upb_pom_1bt_max64b}, + {0x000800000908004a, &upb_pom_1bt_maxmaxb}, + {0x000800000a090052, &upb_pom_1bt_max64b}, + {0x000800000b0a005a, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit__Action__SourceCluster_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit__Action__DestinationCluster_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_RequestHeaders__fields[3] = { + {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit__Action__RequestHeaders_msg_init = { + NULL, + &envoy_config_route_v3_RateLimit_Action_RequestHeaders__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x000000003f000018, &upb_psb1_1bt}, + }) +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit__Action__RemoteAddress_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_submsgs[2] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit__Action__MaskedRemoteAddress_msg_init = { + &envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_submsgs[0], + &envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_GenericKey__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit__Action__GenericKey_msg_init = { + NULL, + &envoy_config_route_v3_RateLimit_Action_GenericKey__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_submsgs[2] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__route__v3__HeaderMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_HeaderValueMatch__fields[4] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit__Action__HeaderValueMatch_msg_init = { + &envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_submsgs[0], + &envoy_config_route_v3_RateLimit_Action_HeaderValueMatch__fields[0], + UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000003f01001a, &upb_prm_1bt_max64b}, + {0x002800003f000022, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Action_DynamicMetaData_submsgs[1] = { + {.submsg = &envoy__type__metadata__v3__MetadataKey_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_DynamicMetaData__fields[3] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit__Action__DynamicMetaData_msg_init = { + &envoy_config_route_v3_RateLimit_Action_DynamicMetaData_submsgs[0], + &envoy_config_route_v3_RateLimit_Action_DynamicMetaData__fields[0], + UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000003f00001a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Action_MetaData_submsgs[1] = { + {.submsg = &envoy__type__metadata__v3__MetadataKey_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_MetaData__fields[5] = { + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit__Action__MetaData_msg_init = { + &envoy_config_route_v3_RateLimit_Action_MetaData_submsgs[0], + &envoy_config_route_v3_RateLimit_Action_MetaData__fields[0], + UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f00000a, &upb_pss_1bt}, + {0x0020000001000012, &upb_psm_1bt_maxmaxb}, + {0x002800003f00001a, &upb_pss_1bt}, + {0x000400003f000020, &upb_psv4_1bt}, + {0x000800003f000028, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_submsgs[2] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__route__v3__QueryParameterMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch__fields[4] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit__Action__QueryParameterValueMatch_msg_init = { + &envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_submsgs[0], + &envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch__fields[0], + UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000003f01001a, &upb_prm_1bt_max64b}, + {0x002800003f000022, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Override_submsgs[1] = { + {.submsg = &envoy__config__route__v3__RateLimit__Override__DynamicMetadata_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RateLimit_Override__fields[1] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit__Override_msg_init = { + &envoy_config_route_v3_RateLimit_Override_submsgs[0], + &envoy_config_route_v3_RateLimit_Override__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Override_DynamicMetadata_submsgs[1] = { + {.submsg = &envoy__type__metadata__v3__MetadataKey_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_RateLimit_Override_DynamicMetadata__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__RateLimit__Override__DynamicMetadata_msg_init = { + &envoy_config_route_v3_RateLimit_Override_DynamicMetadata_submsgs[0], + &envoy_config_route_v3_RateLimit_Override_DynamicMetadata__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_HeaderMatcher_submsgs[3] = { + {.submsg = &envoy__type__v3__Int64Range_msg_init}, + {.submsg = &envoy__type__matcher__v3__RegexMatcher_msg_init}, + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_HeaderMatcher__fields[11] = { + {1, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 16), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(12, 16), -5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(12, 16), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(12, 16), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(12, 16), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(12, 16), -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__HeaderMatcher_msg_init = { + &envoy_config_route_v3_HeaderMatcher_submsgs[0], + &envoy_config_route_v3_HeaderMatcher__fields[0], + UPB_SIZE(32, 48), 11, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002000003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0010000404000022, &upb_pos_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0010000406000032, &upb_pom_1bt_maxmaxb}, + {0x0010000407000038, &upb_pob1_1bt}, + {0x000000003f000040, &upb_psb1_1bt}, + {0x001000040900004a, &upb_pos_1bt}, + {0x001000040a000052, &upb_pos_1bt}, + {0x001000040b01005a, &upb_pom_1bt_maxmaxb}, + {0x001000040c000062, &upb_pos_1bt}, + {0x001000040d02006a, &upb_pom_1bt_maxmaxb}, + {0x000800003f000070, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_QueryParameterMatcher_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_QueryParameterMatcher__fields[3] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 24), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__QueryParameterMatcher_msg_init = { + &envoy_config_route_v3_QueryParameterMatcher_submsgs[0], + &envoy_config_route_v3_QueryParameterMatcher__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000500002a, &upb_pom_1bt_maxmaxb}, + {0x0018000006000030, &upb_pob1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_InternalRedirectPolicy_submsgs[2] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_InternalRedirectPolicy__fields[5] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__InternalRedirectPolicy_msg_init = { + &envoy_config_route_v3_InternalRedirectPolicy_submsgs[0], + &envoy_config_route_v3_InternalRedirectPolicy__fields[0], + UPB_SIZE(24, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_ppv4_1bt}, + {0x001800003f01001a, &upb_prm_1bt_maxmaxb}, + {0x000100003f000020, &upb_psb1_1bt}, + {0x002000003f00002a, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_FilterConfig_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_FilterConfig__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(9, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__FilterConfig_msg_init = { + &envoy_config_route_v3_FilterConfig_submsgs[0], + &envoy_config_route_v3_FilterConfig__fields[0], + 16, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x000200003f000018, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[58] = { + &envoy__config__route__v3__VirtualHost_msg_init, + &envoy__config__route__v3__VirtualHost__TypedPerFilterConfigEntry_msg_init, + &envoy__config__route__v3__FilterAction_msg_init, + &envoy__config__route__v3__RouteList_msg_init, + &envoy__config__route__v3__Route_msg_init, + &envoy__config__route__v3__Route__TypedPerFilterConfigEntry_msg_init, + &envoy__config__route__v3__WeightedCluster_msg_init, + &envoy__config__route__v3__WeightedCluster__ClusterWeight_msg_init, + &envoy__config__route__v3__WeightedCluster__ClusterWeight__TypedPerFilterConfigEntry_msg_init, + &envoy__config__route__v3__ClusterSpecifierPlugin_msg_init, + &envoy__config__route__v3__RouteMatch_msg_init, + &envoy__config__route__v3__RouteMatch__GrpcRouteMatchOptions_msg_init, + &envoy__config__route__v3__RouteMatch__TlsContextMatchOptions_msg_init, + &envoy__config__route__v3__RouteMatch__ConnectMatcher_msg_init, + &envoy__config__route__v3__CorsPolicy_msg_init, + &envoy__config__route__v3__RouteAction_msg_init, + &envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init, + &envoy__config__route__v3__RouteAction__HashPolicy_msg_init, + &envoy__config__route__v3__RouteAction__HashPolicy__Header_msg_init, + &envoy__config__route__v3__RouteAction__HashPolicy__CookieAttribute_msg_init, + &envoy__config__route__v3__RouteAction__HashPolicy__Cookie_msg_init, + &envoy__config__route__v3__RouteAction__HashPolicy__ConnectionProperties_msg_init, + &envoy__config__route__v3__RouteAction__HashPolicy__QueryParameter_msg_init, + &envoy__config__route__v3__RouteAction__HashPolicy__FilterState_msg_init, + &envoy__config__route__v3__RouteAction__UpgradeConfig_msg_init, + &envoy__config__route__v3__RouteAction__UpgradeConfig__ConnectConfig_msg_init, + &envoy__config__route__v3__RouteAction__MaxStreamDuration_msg_init, + &envoy__config__route__v3__RetryPolicy_msg_init, + &envoy__config__route__v3__RetryPolicy__RetryPriority_msg_init, + &envoy__config__route__v3__RetryPolicy__RetryHostPredicate_msg_init, + &envoy__config__route__v3__RetryPolicy__RetryBackOff_msg_init, + &envoy__config__route__v3__RetryPolicy__ResetHeader_msg_init, + &envoy__config__route__v3__RetryPolicy__RateLimitedRetryBackOff_msg_init, + &envoy__config__route__v3__HedgePolicy_msg_init, + &envoy__config__route__v3__RedirectAction_msg_init, + &envoy__config__route__v3__DirectResponseAction_msg_init, + &envoy__config__route__v3__NonForwardingAction_msg_init, + &envoy__config__route__v3__Decorator_msg_init, + &envoy__config__route__v3__Tracing_msg_init, + &envoy__config__route__v3__VirtualCluster_msg_init, + &envoy__config__route__v3__RateLimit_msg_init, + &envoy__config__route__v3__RateLimit__Action_msg_init, + &envoy__config__route__v3__RateLimit__Action__SourceCluster_msg_init, + &envoy__config__route__v3__RateLimit__Action__DestinationCluster_msg_init, + &envoy__config__route__v3__RateLimit__Action__RequestHeaders_msg_init, + &envoy__config__route__v3__RateLimit__Action__RemoteAddress_msg_init, + &envoy__config__route__v3__RateLimit__Action__MaskedRemoteAddress_msg_init, + &envoy__config__route__v3__RateLimit__Action__GenericKey_msg_init, + &envoy__config__route__v3__RateLimit__Action__HeaderValueMatch_msg_init, + &envoy__config__route__v3__RateLimit__Action__DynamicMetaData_msg_init, + &envoy__config__route__v3__RateLimit__Action__MetaData_msg_init, + &envoy__config__route__v3__RateLimit__Action__QueryParameterValueMatch_msg_init, + &envoy__config__route__v3__RateLimit__Override_msg_init, + &envoy__config__route__v3__RateLimit__Override__DynamicMetadata_msg_init, + &envoy__config__route__v3__HeaderMatcher_msg_init, + &envoy__config__route__v3__QueryParameterMatcher_msg_init, + &envoy__config__route__v3__InternalRedirectPolicy_msg_init, + &envoy__config__route__v3__FilterConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_route_v3_route_components_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 58, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h new file mode 100644 index 00000000000..c11c9c4fb9b --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h @@ -0,0 +1,87 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/route/v3/route_components.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_ROUTE_V3_ROUTE_COMPONENTS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_ROUTE_V3_ROUTE_COMPONENTS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__route__v3__VirtualHost_msg_init; +extern const upb_MiniTable envoy__config__route__v3__VirtualHost__TypedPerFilterConfigEntry_msg_init; +extern const upb_MiniTable envoy__config__route__v3__FilterAction_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteList_msg_init; +extern const upb_MiniTable envoy__config__route__v3__Route_msg_init; +extern const upb_MiniTable envoy__config__route__v3__Route__TypedPerFilterConfigEntry_msg_init; +extern const upb_MiniTable envoy__config__route__v3__WeightedCluster_msg_init; +extern const upb_MiniTable envoy__config__route__v3__WeightedCluster__ClusterWeight_msg_init; +extern const upb_MiniTable envoy__config__route__v3__WeightedCluster__ClusterWeight__TypedPerFilterConfigEntry_msg_init; +extern const upb_MiniTable envoy__config__route__v3__ClusterSpecifierPlugin_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteMatch_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteMatch__GrpcRouteMatchOptions_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteMatch__TlsContextMatchOptions_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteMatch__ConnectMatcher_msg_init; +extern const upb_MiniTable envoy__config__route__v3__CorsPolicy_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteAction_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteAction__RequestMirrorPolicy_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy__Header_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy__CookieAttribute_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy__Cookie_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy__ConnectionProperties_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy__QueryParameter_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteAction__HashPolicy__FilterState_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteAction__UpgradeConfig_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteAction__UpgradeConfig__ConnectConfig_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RouteAction__MaxStreamDuration_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RetryPolicy_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RetryPolicy__RetryPriority_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RetryPolicy__RetryHostPredicate_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RetryPolicy__RetryBackOff_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RetryPolicy__ResetHeader_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RetryPolicy__RateLimitedRetryBackOff_msg_init; +extern const upb_MiniTable envoy__config__route__v3__HedgePolicy_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RedirectAction_msg_init; +extern const upb_MiniTable envoy__config__route__v3__DirectResponseAction_msg_init; +extern const upb_MiniTable envoy__config__route__v3__NonForwardingAction_msg_init; +extern const upb_MiniTable envoy__config__route__v3__Decorator_msg_init; +extern const upb_MiniTable envoy__config__route__v3__Tracing_msg_init; +extern const upb_MiniTable envoy__config__route__v3__VirtualCluster_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit__Action_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit__Action__SourceCluster_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit__Action__DestinationCluster_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit__Action__RequestHeaders_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit__Action__RemoteAddress_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit__Action__MaskedRemoteAddress_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit__Action__GenericKey_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit__Action__HeaderValueMatch_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit__Action__DynamicMetaData_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit__Action__MetaData_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit__Action__QueryParameterValueMatch_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit__Override_msg_init; +extern const upb_MiniTable envoy__config__route__v3__RateLimit__Override__DynamicMetadata_msg_init; +extern const upb_MiniTable envoy__config__route__v3__HeaderMatcher_msg_init; +extern const upb_MiniTable envoy__config__route__v3__QueryParameterMatcher_msg_init; +extern const upb_MiniTable envoy__config__route__v3__InternalRedirectPolicy_msg_init; +extern const upb_MiniTable envoy__config__route__v3__FilterConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_route_v3_route_components_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_ROUTE_V3_ROUTE_COMPONENTS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h b/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h similarity index 89% rename from src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h rename to src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h index 3853f63782b..fd225f67132 100644 --- a/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +++ b/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/route/v3/scoped_route.proto * @@ -10,7 +9,16 @@ #define ENVOY_CONFIG_ROUTE_V3_SCOPED_ROUTE_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/route/v3/scoped_route.upb_minitable.h" + +#include "envoy/config/route/v3/route.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -20,23 +28,19 @@ extern "C" { typedef struct envoy_config_route_v3_ScopedRouteConfiguration envoy_config_route_v3_ScopedRouteConfiguration; typedef struct envoy_config_route_v3_ScopedRouteConfiguration_Key envoy_config_route_v3_ScopedRouteConfiguration_Key; typedef struct envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment; -extern const upb_MiniTable envoy_config_route_v3_ScopedRouteConfiguration_msg_init; -extern const upb_MiniTable envoy_config_route_v3_ScopedRouteConfiguration_Key_msg_init; -extern const upb_MiniTable envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_msg_init; struct envoy_config_route_v3_RouteConfiguration; -extern const upb_MiniTable envoy_config_route_v3_RouteConfiguration_msg_init; /* envoy.config.route.v3.ScopedRouteConfiguration */ UPB_INLINE envoy_config_route_v3_ScopedRouteConfiguration* envoy_config_route_v3_ScopedRouteConfiguration_new(upb_Arena* arena) { - return (envoy_config_route_v3_ScopedRouteConfiguration*)_upb_Message_New(&envoy_config_route_v3_ScopedRouteConfiguration_msg_init, arena); + return (envoy_config_route_v3_ScopedRouteConfiguration*)_upb_Message_New(&envoy__config__route__v3__ScopedRouteConfiguration_msg_init, arena); } UPB_INLINE envoy_config_route_v3_ScopedRouteConfiguration* envoy_config_route_v3_ScopedRouteConfiguration_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_ScopedRouteConfiguration* ret = envoy_config_route_v3_ScopedRouteConfiguration_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_ScopedRouteConfiguration_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__ScopedRouteConfiguration_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -46,7 +50,7 @@ UPB_INLINE envoy_config_route_v3_ScopedRouteConfiguration* envoy_config_route_v3 int options, upb_Arena* arena) { envoy_config_route_v3_ScopedRouteConfiguration* ret = envoy_config_route_v3_ScopedRouteConfiguration_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_ScopedRouteConfiguration_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__ScopedRouteConfiguration_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -54,13 +58,13 @@ UPB_INLINE envoy_config_route_v3_ScopedRouteConfiguration* envoy_config_route_v3 } UPB_INLINE char* envoy_config_route_v3_ScopedRouteConfiguration_serialize(const envoy_config_route_v3_ScopedRouteConfiguration* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_ScopedRouteConfiguration_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__ScopedRouteConfiguration_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_ScopedRouteConfiguration_serialize_ex(const envoy_config_route_v3_ScopedRouteConfiguration* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_ScopedRouteConfiguration_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__ScopedRouteConfiguration_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_ScopedRouteConfiguration_clear_name(envoy_config_route_v3_ScopedRouteConfiguration* msg) { @@ -142,7 +146,7 @@ UPB_INLINE void envoy_config_route_v3_ScopedRouteConfiguration_set_key(envoy_con UPB_INLINE struct envoy_config_route_v3_ScopedRouteConfiguration_Key* envoy_config_route_v3_ScopedRouteConfiguration_mutable_key(envoy_config_route_v3_ScopedRouteConfiguration* msg, upb_Arena* arena) { struct envoy_config_route_v3_ScopedRouteConfiguration_Key* sub = (struct envoy_config_route_v3_ScopedRouteConfiguration_Key*)envoy_config_route_v3_ScopedRouteConfiguration_key(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_ScopedRouteConfiguration_Key*)_upb_Message_New(&envoy_config_route_v3_ScopedRouteConfiguration_Key_msg_init, arena); + sub = (struct envoy_config_route_v3_ScopedRouteConfiguration_Key*)_upb_Message_New(&envoy__config__route__v3__ScopedRouteConfiguration__Key_msg_init, arena); if (sub) envoy_config_route_v3_ScopedRouteConfiguration_set_key(msg, sub); } return sub; @@ -158,7 +162,7 @@ UPB_INLINE void envoy_config_route_v3_ScopedRouteConfiguration_set_route_configu UPB_INLINE struct envoy_config_route_v3_RouteConfiguration* envoy_config_route_v3_ScopedRouteConfiguration_mutable_route_configuration(envoy_config_route_v3_ScopedRouteConfiguration* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteConfiguration* sub = (struct envoy_config_route_v3_RouteConfiguration*)envoy_config_route_v3_ScopedRouteConfiguration_route_configuration(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteConfiguration*)_upb_Message_New(&envoy_config_route_v3_RouteConfiguration_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteConfiguration*)_upb_Message_New(&envoy__config__route__v3__RouteConfiguration_msg_init, arena); if (sub) envoy_config_route_v3_ScopedRouteConfiguration_set_route_configuration(msg, sub); } return sub; @@ -167,12 +171,12 @@ UPB_INLINE struct envoy_config_route_v3_RouteConfiguration* envoy_config_route_v /* envoy.config.route.v3.ScopedRouteConfiguration.Key */ UPB_INLINE envoy_config_route_v3_ScopedRouteConfiguration_Key* envoy_config_route_v3_ScopedRouteConfiguration_Key_new(upb_Arena* arena) { - return (envoy_config_route_v3_ScopedRouteConfiguration_Key*)_upb_Message_New(&envoy_config_route_v3_ScopedRouteConfiguration_Key_msg_init, arena); + return (envoy_config_route_v3_ScopedRouteConfiguration_Key*)_upb_Message_New(&envoy__config__route__v3__ScopedRouteConfiguration__Key_msg_init, arena); } UPB_INLINE envoy_config_route_v3_ScopedRouteConfiguration_Key* envoy_config_route_v3_ScopedRouteConfiguration_Key_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_ScopedRouteConfiguration_Key* ret = envoy_config_route_v3_ScopedRouteConfiguration_Key_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_ScopedRouteConfiguration_Key_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__ScopedRouteConfiguration__Key_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -182,7 +186,7 @@ UPB_INLINE envoy_config_route_v3_ScopedRouteConfiguration_Key* envoy_config_rout int options, upb_Arena* arena) { envoy_config_route_v3_ScopedRouteConfiguration_Key* ret = envoy_config_route_v3_ScopedRouteConfiguration_Key_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_ScopedRouteConfiguration_Key_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__ScopedRouteConfiguration__Key_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -190,13 +194,13 @@ UPB_INLINE envoy_config_route_v3_ScopedRouteConfiguration_Key* envoy_config_rout } UPB_INLINE char* envoy_config_route_v3_ScopedRouteConfiguration_Key_serialize(const envoy_config_route_v3_ScopedRouteConfiguration_Key* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_ScopedRouteConfiguration_Key_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__ScopedRouteConfiguration__Key_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_ScopedRouteConfiguration_Key_serialize_ex(const envoy_config_route_v3_ScopedRouteConfiguration_Key* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_ScopedRouteConfiguration_Key_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__ScopedRouteConfiguration__Key_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_route_v3_ScopedRouteConfiguration_Key_clear_fragments(envoy_config_route_v3_ScopedRouteConfiguration_Key* msg) { @@ -258,7 +262,7 @@ UPB_INLINE struct envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment* e if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment* sub = (struct envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment*)_upb_Message_New(&envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_msg_init, arena); + struct envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment* sub = (struct envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment*)_upb_Message_New(&envoy__config__route__v3__ScopedRouteConfiguration__Key__Fragment_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -267,12 +271,12 @@ UPB_INLINE struct envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment* e /* envoy.config.route.v3.ScopedRouteConfiguration.Key.Fragment */ UPB_INLINE envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment* envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_new(upb_Arena* arena) { - return (envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment*)_upb_Message_New(&envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_msg_init, arena); + return (envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment*)_upb_Message_New(&envoy__config__route__v3__ScopedRouteConfiguration__Key__Fragment_msg_init, arena); } UPB_INLINE envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment* envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment* ret = envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__ScopedRouteConfiguration__Key__Fragment_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -282,7 +286,7 @@ UPB_INLINE envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment* envoy_co int options, upb_Arena* arena) { envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment* ret = envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__route__v3__ScopedRouteConfiguration__Key__Fragment_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -290,13 +294,13 @@ UPB_INLINE envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment* envoy_co } UPB_INLINE char* envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_serialize(const envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__ScopedRouteConfiguration__Key__Fragment_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_serialize_ex(const envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__route__v3__ScopedRouteConfiguration__Key__Fragment_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -328,8 +332,6 @@ UPB_INLINE void envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_set_ _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_config_route_v3_scoped_route_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c new file mode 100644 index 00000000000..b34cdee43a0 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c @@ -0,0 +1,97 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/route/v3/scoped_route.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/route/v3/scoped_route.upb_minitable.h" +#include "envoy/config/route/v3/route.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_route_v3_ScopedRouteConfiguration_submsgs[2] = { + {.submsg = &envoy__config__route__v3__ScopedRouteConfiguration__Key_msg_init}, + {.submsg = &envoy__config__route__v3__RouteConfiguration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_ScopedRouteConfiguration__fields[5] = { + {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 48), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__ScopedRouteConfiguration_msg_init = { + &envoy_config_route_v3_ScopedRouteConfiguration_submsgs[0], + &envoy_config_route_v3_ScopedRouteConfiguration__fields[0], + UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x002800000100001a, &upb_psm_1bt_max64b}, + {0x000100003f000020, &upb_psb1_1bt}, + {0x003000000201002a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_route_v3_ScopedRouteConfiguration_Key_submsgs[1] = { + {.submsg = &envoy__config__route__v3__ScopedRouteConfiguration__Key__Fragment_msg_init}, +}; + +static const upb_MiniTableField envoy_config_route_v3_ScopedRouteConfiguration_Key__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__ScopedRouteConfiguration__Key_msg_init = { + &envoy_config_route_v3_ScopedRouteConfiguration_Key_submsgs[0], + &envoy_config_route_v3_ScopedRouteConfiguration_Key__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableField envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment__fields[1] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__route__v3__ScopedRouteConfiguration__Key__Fragment_msg_init = { + NULL, + &envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment__fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[3] = { + &envoy__config__route__v3__ScopedRouteConfiguration_msg_init, + &envoy__config__route__v3__ScopedRouteConfiguration__Key_msg_init, + &envoy__config__route__v3__ScopedRouteConfiguration__Key__Fragment_msg_init, +}; + +const upb_MiniTableFile envoy_config_route_v3_scoped_route_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 3, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h new file mode 100644 index 00000000000..3d0c5a10f8c --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h @@ -0,0 +1,32 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/route/v3/scoped_route.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_ROUTE_V3_SCOPED_ROUTE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_ROUTE_V3_SCOPED_ROUTE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__route__v3__ScopedRouteConfiguration_msg_init; +extern const upb_MiniTable envoy__config__route__v3__ScopedRouteConfiguration__Key_msg_init; +extern const upb_MiniTable envoy__config__route__v3__ScopedRouteConfiguration__Key__Fragment_msg_init; + +extern const upb_MiniTableFile envoy_config_route_v3_scoped_route_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_ROUTE_V3_SCOPED_ROUTE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h b/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h new file mode 100644 index 00000000000..5250cfdba29 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h @@ -0,0 +1,1545 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/tap/v3/common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPB_H_ +#define ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/config/tap/v3/common.upb_minitable.h" + +#include "envoy/config/common/matcher/v3/matcher.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "envoy/config/route/v3/route_components.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_config_tap_v3_TapConfig envoy_config_tap_v3_TapConfig; +typedef struct envoy_config_tap_v3_MatchPredicate envoy_config_tap_v3_MatchPredicate; +typedef struct envoy_config_tap_v3_MatchPredicate_MatchSet envoy_config_tap_v3_MatchPredicate_MatchSet; +typedef struct envoy_config_tap_v3_HttpHeadersMatch envoy_config_tap_v3_HttpHeadersMatch; +typedef struct envoy_config_tap_v3_HttpGenericBodyMatch envoy_config_tap_v3_HttpGenericBodyMatch; +typedef struct envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch; +typedef struct envoy_config_tap_v3_OutputConfig envoy_config_tap_v3_OutputConfig; +typedef struct envoy_config_tap_v3_OutputSink envoy_config_tap_v3_OutputSink; +typedef struct envoy_config_tap_v3_StreamingAdminSink envoy_config_tap_v3_StreamingAdminSink; +typedef struct envoy_config_tap_v3_BufferedAdminSink envoy_config_tap_v3_BufferedAdminSink; +typedef struct envoy_config_tap_v3_FilePerTapSink envoy_config_tap_v3_FilePerTapSink; +typedef struct envoy_config_tap_v3_StreamingGrpcSink envoy_config_tap_v3_StreamingGrpcSink; +struct envoy_config_common_matcher_v3_MatchPredicate; +struct envoy_config_core_v3_GrpcService; +struct envoy_config_core_v3_RuntimeFractionalPercent; +struct envoy_config_core_v3_TypedExtensionConfig; +struct envoy_config_route_v3_HeaderMatcher; +struct google_protobuf_Duration; +struct google_protobuf_UInt32Value; + +typedef enum { + envoy_config_tap_v3_OutputSink_JSON_BODY_AS_BYTES = 0, + envoy_config_tap_v3_OutputSink_JSON_BODY_AS_STRING = 1, + envoy_config_tap_v3_OutputSink_PROTO_BINARY = 2, + envoy_config_tap_v3_OutputSink_PROTO_BINARY_LENGTH_DELIMITED = 3, + envoy_config_tap_v3_OutputSink_PROTO_TEXT = 4 +} envoy_config_tap_v3_OutputSink_Format; + + + +/* envoy.config.tap.v3.TapConfig */ + +UPB_INLINE envoy_config_tap_v3_TapConfig* envoy_config_tap_v3_TapConfig_new(upb_Arena* arena) { + return (envoy_config_tap_v3_TapConfig*)_upb_Message_New(&envoy__config__tap__v3__TapConfig_msg_init, arena); +} +UPB_INLINE envoy_config_tap_v3_TapConfig* envoy_config_tap_v3_TapConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_tap_v3_TapConfig* ret = envoy_config_tap_v3_TapConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__TapConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_tap_v3_TapConfig* envoy_config_tap_v3_TapConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_tap_v3_TapConfig* ret = envoy_config_tap_v3_TapConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__TapConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_tap_v3_TapConfig_serialize(const envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__TapConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_tap_v3_TapConfig_serialize_ex(const envoy_config_tap_v3_TapConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__TapConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_tap_v3_TapConfig_clear_match_config(envoy_config_tap_v3_TapConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_TapConfig_match_config(const envoy_config_tap_v3_TapConfig* msg) { + const envoy_config_tap_v3_MatchPredicate* default_val = NULL; + const envoy_config_tap_v3_MatchPredicate* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_TapConfig_has_match_config(const envoy_config_tap_v3_TapConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_TapConfig_clear_output_config(envoy_config_tap_v3_TapConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_TapConfig_output_config(const envoy_config_tap_v3_TapConfig* msg) { + const envoy_config_tap_v3_OutputConfig* default_val = NULL; + const envoy_config_tap_v3_OutputConfig* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_TapConfig_has_output_config(const envoy_config_tap_v3_TapConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_TapConfig_clear_tap_enabled(envoy_config_tap_v3_TapConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_tap_v3_TapConfig_tap_enabled(const envoy_config_tap_v3_TapConfig* msg) { + const struct envoy_config_core_v3_RuntimeFractionalPercent* default_val = NULL; + const struct envoy_config_core_v3_RuntimeFractionalPercent* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_TapConfig_has_tap_enabled(const envoy_config_tap_v3_TapConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_TapConfig_clear_match(envoy_config_tap_v3_TapConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_tap_v3_TapConfig_match(const envoy_config_tap_v3_TapConfig* msg) { + const struct envoy_config_common_matcher_v3_MatchPredicate* default_val = NULL; + const struct envoy_config_common_matcher_v3_MatchPredicate* ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_TapConfig_has_match(const envoy_config_tap_v3_TapConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_tap_v3_TapConfig_set_match_config(envoy_config_tap_v3_TapConfig *msg, envoy_config_tap_v3_MatchPredicate* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_TapConfig_mutable_match_config(envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_MatchPredicate* sub = (struct envoy_config_tap_v3_MatchPredicate*)envoy_config_tap_v3_TapConfig_match_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_MatchPredicate*)_upb_Message_New(&envoy__config__tap__v3__MatchPredicate_msg_init, arena); + if (sub) envoy_config_tap_v3_TapConfig_set_match_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_TapConfig_set_output_config(envoy_config_tap_v3_TapConfig *msg, envoy_config_tap_v3_OutputConfig* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_TapConfig_mutable_output_config(envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_OutputConfig* sub = (struct envoy_config_tap_v3_OutputConfig*)envoy_config_tap_v3_TapConfig_output_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_OutputConfig*)_upb_Message_New(&envoy__config__tap__v3__OutputConfig_msg_init, arena); + if (sub) envoy_config_tap_v3_TapConfig_set_output_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_TapConfig_set_tap_enabled(envoy_config_tap_v3_TapConfig *msg, struct envoy_config_core_v3_RuntimeFractionalPercent* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_tap_v3_TapConfig_mutable_tap_enabled(envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_RuntimeFractionalPercent* sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)envoy_config_tap_v3_TapConfig_tap_enabled(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)_upb_Message_New(&envoy__config__core__v3__RuntimeFractionalPercent_msg_init, arena); + if (sub) envoy_config_tap_v3_TapConfig_set_tap_enabled(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_TapConfig_set_match(envoy_config_tap_v3_TapConfig *msg, struct envoy_config_common_matcher_v3_MatchPredicate* value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_tap_v3_TapConfig_mutable_match(envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena) { + struct envoy_config_common_matcher_v3_MatchPredicate* sub = (struct envoy_config_common_matcher_v3_MatchPredicate*)envoy_config_tap_v3_TapConfig_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_common_matcher_v3_MatchPredicate*)_upb_Message_New(&envoy__config__common__matcher__v3__MatchPredicate_msg_init, arena); + if (sub) envoy_config_tap_v3_TapConfig_set_match(msg, sub); + } + return sub; +} + +/* envoy.config.tap.v3.MatchPredicate */ + +UPB_INLINE envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_new(upb_Arena* arena) { + return (envoy_config_tap_v3_MatchPredicate*)_upb_Message_New(&envoy__config__tap__v3__MatchPredicate_msg_init, arena); +} +UPB_INLINE envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_tap_v3_MatchPredicate* ret = envoy_config_tap_v3_MatchPredicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__MatchPredicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_tap_v3_MatchPredicate* ret = envoy_config_tap_v3_MatchPredicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__MatchPredicate_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_tap_v3_MatchPredicate_serialize(const envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__MatchPredicate_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_tap_v3_MatchPredicate_serialize_ex(const envoy_config_tap_v3_MatchPredicate* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__MatchPredicate_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_tap_v3_MatchPredicate_rule_or_match = 1, + envoy_config_tap_v3_MatchPredicate_rule_and_match = 2, + envoy_config_tap_v3_MatchPredicate_rule_not_match = 3, + envoy_config_tap_v3_MatchPredicate_rule_any_match = 4, + envoy_config_tap_v3_MatchPredicate_rule_http_request_headers_match = 5, + envoy_config_tap_v3_MatchPredicate_rule_http_request_trailers_match = 6, + envoy_config_tap_v3_MatchPredicate_rule_http_response_headers_match = 7, + envoy_config_tap_v3_MatchPredicate_rule_http_response_trailers_match = 8, + envoy_config_tap_v3_MatchPredicate_rule_http_request_generic_body_match = 9, + envoy_config_tap_v3_MatchPredicate_rule_http_response_generic_body_match = 10, + envoy_config_tap_v3_MatchPredicate_rule_NOT_SET = 0 +} envoy_config_tap_v3_MatchPredicate_rule_oneofcases; +UPB_INLINE envoy_config_tap_v3_MatchPredicate_rule_oneofcases envoy_config_tap_v3_MatchPredicate_rule_case(const envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_tap_v3_MatchPredicate_rule_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_or_match(envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_or_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const envoy_config_tap_v3_MatchPredicate_MatchSet* default_val = NULL; + const envoy_config_tap_v3_MatchPredicate_MatchSet* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_or_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_and_match(envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_and_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const envoy_config_tap_v3_MatchPredicate_MatchSet* default_val = NULL; + const envoy_config_tap_v3_MatchPredicate_MatchSet* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_and_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_not_match(envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_not_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const envoy_config_tap_v3_MatchPredicate* default_val = NULL; + const envoy_config_tap_v3_MatchPredicate* ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_not_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_any_match(envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_any_match(const envoy_config_tap_v3_MatchPredicate* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_any_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_request_headers_match(envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_http_request_headers_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const envoy_config_tap_v3_HttpHeadersMatch* default_val = NULL; + const envoy_config_tap_v3_HttpHeadersMatch* ret; + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_request_headers_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_request_trailers_match(envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_http_request_trailers_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const envoy_config_tap_v3_HttpHeadersMatch* default_val = NULL; + const envoy_config_tap_v3_HttpHeadersMatch* ret; + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_request_trailers_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_response_headers_match(envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_http_response_headers_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const envoy_config_tap_v3_HttpHeadersMatch* default_val = NULL; + const envoy_config_tap_v3_HttpHeadersMatch* ret; + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_response_headers_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_response_trailers_match(envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_http_response_trailers_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const envoy_config_tap_v3_HttpHeadersMatch* default_val = NULL; + const envoy_config_tap_v3_HttpHeadersMatch* ret; + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_response_trailers_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_request_generic_body_match(envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_MatchPredicate_http_request_generic_body_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const envoy_config_tap_v3_HttpGenericBodyMatch* default_val = NULL; + const envoy_config_tap_v3_HttpGenericBodyMatch* ret; + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_request_generic_body_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_response_generic_body_match(envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_MatchPredicate_http_response_generic_body_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const envoy_config_tap_v3_HttpGenericBodyMatch* default_val = NULL; + const envoy_config_tap_v3_HttpGenericBodyMatch* ret; + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_response_generic_body_match(const envoy_config_tap_v3_MatchPredicate* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_or_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_MatchPredicate_MatchSet* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_mutable_or_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_MatchPredicate_MatchSet* sub = (struct envoy_config_tap_v3_MatchPredicate_MatchSet*)envoy_config_tap_v3_MatchPredicate_or_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, arena); + if (sub) envoy_config_tap_v3_MatchPredicate_set_or_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_and_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_MatchPredicate_MatchSet* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_mutable_and_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_MatchPredicate_MatchSet* sub = (struct envoy_config_tap_v3_MatchPredicate_MatchSet*)envoy_config_tap_v3_MatchPredicate_and_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, arena); + if (sub) envoy_config_tap_v3_MatchPredicate_set_and_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_not_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_MatchPredicate* value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_mutable_not_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_MatchPredicate* sub = (struct envoy_config_tap_v3_MatchPredicate*)envoy_config_tap_v3_MatchPredicate_not_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_MatchPredicate*)_upb_Message_New(&envoy__config__tap__v3__MatchPredicate_msg_init, arena); + if (sub) envoy_config_tap_v3_MatchPredicate_set_not_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_any_match(envoy_config_tap_v3_MatchPredicate *msg, bool value) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_request_headers_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpHeadersMatch* value) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_request_headers_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_HttpHeadersMatch* sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)envoy_config_tap_v3_MatchPredicate_http_request_headers_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__tap__v3__HttpHeadersMatch_msg_init, arena); + if (sub) envoy_config_tap_v3_MatchPredicate_set_http_request_headers_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_request_trailers_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpHeadersMatch* value) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_request_trailers_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_HttpHeadersMatch* sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)envoy_config_tap_v3_MatchPredicate_http_request_trailers_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__tap__v3__HttpHeadersMatch_msg_init, arena); + if (sub) envoy_config_tap_v3_MatchPredicate_set_http_request_trailers_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_response_headers_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpHeadersMatch* value) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_response_headers_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_HttpHeadersMatch* sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)envoy_config_tap_v3_MatchPredicate_http_response_headers_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__tap__v3__HttpHeadersMatch_msg_init, arena); + if (sub) envoy_config_tap_v3_MatchPredicate_set_http_response_headers_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_response_trailers_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpHeadersMatch* value) { + const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_response_trailers_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_HttpHeadersMatch* sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)envoy_config_tap_v3_MatchPredicate_http_response_trailers_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__tap__v3__HttpHeadersMatch_msg_init, arena); + if (sub) envoy_config_tap_v3_MatchPredicate_set_http_response_trailers_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_request_generic_body_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpGenericBodyMatch* value) { + const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_request_generic_body_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_HttpGenericBodyMatch* sub = (struct envoy_config_tap_v3_HttpGenericBodyMatch*)envoy_config_tap_v3_MatchPredicate_http_request_generic_body_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, arena); + if (sub) envoy_config_tap_v3_MatchPredicate_set_http_request_generic_body_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_response_generic_body_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpGenericBodyMatch* value) { + const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_response_generic_body_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_HttpGenericBodyMatch* sub = (struct envoy_config_tap_v3_HttpGenericBodyMatch*)envoy_config_tap_v3_MatchPredicate_http_response_generic_body_match(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, arena); + if (sub) envoy_config_tap_v3_MatchPredicate_set_http_response_generic_body_match(msg, sub); + } + return sub; +} + +/* envoy.config.tap.v3.MatchPredicate.MatchSet */ + +UPB_INLINE envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_MatchSet_new(upb_Arena* arena) { + return (envoy_config_tap_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, arena); +} +UPB_INLINE envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_MatchSet_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_tap_v3_MatchPredicate_MatchSet* ret = envoy_config_tap_v3_MatchPredicate_MatchSet_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_MatchSet_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_tap_v3_MatchPredicate_MatchSet* ret = envoy_config_tap_v3_MatchPredicate_MatchSet_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_tap_v3_MatchPredicate_MatchSet_serialize(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_tap_v3_MatchPredicate_MatchSet_serialize_ex(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_tap_v3_MatchPredicate_MatchSet_clear_rules(envoy_config_tap_v3_MatchPredicate_MatchSet* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_MatchPredicate* const* envoy_config_tap_v3_MatchPredicate_MatchSet_rules(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_tap_v3_MatchPredicate* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_tap_v3_MatchPredicate_MatchSet_rules_upb_array(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_tap_v3_MatchPredicate_MatchSet_rules_mutable_upb_array(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_MatchSet_has_rules(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg) { + size_t size; + envoy_config_tap_v3_MatchPredicate_MatchSet_rules(msg, &size); + return size != 0; +} + +UPB_INLINE envoy_config_tap_v3_MatchPredicate** envoy_config_tap_v3_MatchPredicate_MatchSet_mutable_rules(envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_tap_v3_MatchPredicate**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_tap_v3_MatchPredicate** envoy_config_tap_v3_MatchPredicate_MatchSet_resize_rules(envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_tap_v3_MatchPredicate**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_MatchSet_add_rules(envoy_config_tap_v3_MatchPredicate_MatchSet* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_tap_v3_MatchPredicate* sub = (struct envoy_config_tap_v3_MatchPredicate*)_upb_Message_New(&envoy__config__tap__v3__MatchPredicate_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.tap.v3.HttpHeadersMatch */ + +UPB_INLINE envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_HttpHeadersMatch_new(upb_Arena* arena) { + return (envoy_config_tap_v3_HttpHeadersMatch*)_upb_Message_New(&envoy__config__tap__v3__HttpHeadersMatch_msg_init, arena); +} +UPB_INLINE envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_HttpHeadersMatch_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_tap_v3_HttpHeadersMatch* ret = envoy_config_tap_v3_HttpHeadersMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__HttpHeadersMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_HttpHeadersMatch_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_tap_v3_HttpHeadersMatch* ret = envoy_config_tap_v3_HttpHeadersMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__HttpHeadersMatch_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_tap_v3_HttpHeadersMatch_serialize(const envoy_config_tap_v3_HttpHeadersMatch* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__HttpHeadersMatch_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_tap_v3_HttpHeadersMatch_serialize_ex(const envoy_config_tap_v3_HttpHeadersMatch* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__HttpHeadersMatch_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_tap_v3_HttpHeadersMatch_clear_headers(envoy_config_tap_v3_HttpHeadersMatch* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* const* envoy_config_tap_v3_HttpHeadersMatch_headers(const envoy_config_tap_v3_HttpHeadersMatch* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct envoy_config_route_v3_HeaderMatcher* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_tap_v3_HttpHeadersMatch_headers_upb_array(const envoy_config_tap_v3_HttpHeadersMatch* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_tap_v3_HttpHeadersMatch_headers_mutable_upb_array(const envoy_config_tap_v3_HttpHeadersMatch* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_tap_v3_HttpHeadersMatch_has_headers(const envoy_config_tap_v3_HttpHeadersMatch* msg) { + size_t size; + envoy_config_tap_v3_HttpHeadersMatch_headers(msg, &size); + return size != 0; +} + +UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_tap_v3_HttpHeadersMatch_mutable_headers(envoy_config_tap_v3_HttpHeadersMatch* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct envoy_config_route_v3_HeaderMatcher**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_tap_v3_HttpHeadersMatch_resize_headers(envoy_config_tap_v3_HttpHeadersMatch* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct envoy_config_route_v3_HeaderMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_tap_v3_HttpHeadersMatch_add_headers(envoy_config_tap_v3_HttpHeadersMatch* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.tap.v3.HttpGenericBodyMatch */ + +UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_HttpGenericBodyMatch_new(upb_Arena* arena) { + return (envoy_config_tap_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, arena); +} +UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_HttpGenericBodyMatch_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_tap_v3_HttpGenericBodyMatch* ret = envoy_config_tap_v3_HttpGenericBodyMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_HttpGenericBodyMatch_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_tap_v3_HttpGenericBodyMatch* ret = envoy_config_tap_v3_HttpGenericBodyMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_tap_v3_HttpGenericBodyMatch_serialize(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_tap_v3_HttpGenericBodyMatch_serialize_ex(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_clear_bytes_limit(envoy_config_tap_v3_HttpGenericBodyMatch* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint32_t envoy_config_tap_v3_HttpGenericBodyMatch_bytes_limit(const envoy_config_tap_v3_HttpGenericBodyMatch* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_clear_patterns(envoy_config_tap_v3_HttpGenericBodyMatch* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* const* envoy_config_tap_v3_HttpGenericBodyMatch_patterns(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_tap_v3_HttpGenericBodyMatch_patterns_upb_array(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_tap_v3_HttpGenericBodyMatch_patterns_mutable_upb_array(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_tap_v3_HttpGenericBodyMatch_has_patterns(const envoy_config_tap_v3_HttpGenericBodyMatch* msg) { + size_t size; + envoy_config_tap_v3_HttpGenericBodyMatch_patterns(msg, &size); + return size != 0; +} + +UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_set_bytes_limit(envoy_config_tap_v3_HttpGenericBodyMatch *msg, uint32_t value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch** envoy_config_tap_v3_HttpGenericBodyMatch_mutable_patterns(envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch** envoy_config_tap_v3_HttpGenericBodyMatch_resize_patterns(envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_tap_v3_HttpGenericBodyMatch_add_patterns(envoy_config_tap_v3_HttpGenericBodyMatch* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* sub = (struct envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch*)_upb_Message_New(&envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch */ + +UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_new(upb_Arena* arena) { + return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch*)_upb_Message_New(&envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, arena); +} +UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* ret = envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* ret = envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_serialize(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_serialize_ex(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_string_match = 1, + envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_binary_match = 2, + envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_NOT_SET = 0 +} envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases; +UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_case(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_clear_string_match(envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_string_match(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_has_string_match(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_clear_binary_match(envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_binary_match(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_has_binary_match(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_set_string_match(envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_set_binary_match(envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.tap.v3.OutputConfig */ + +UPB_INLINE envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_OutputConfig_new(upb_Arena* arena) { + return (envoy_config_tap_v3_OutputConfig*)_upb_Message_New(&envoy__config__tap__v3__OutputConfig_msg_init, arena); +} +UPB_INLINE envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_OutputConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_tap_v3_OutputConfig* ret = envoy_config_tap_v3_OutputConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__OutputConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_OutputConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_tap_v3_OutputConfig* ret = envoy_config_tap_v3_OutputConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__OutputConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_tap_v3_OutputConfig_serialize(const envoy_config_tap_v3_OutputConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__OutputConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_tap_v3_OutputConfig_serialize_ex(const envoy_config_tap_v3_OutputConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__OutputConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_tap_v3_OutputConfig_clear_sinks(envoy_config_tap_v3_OutputConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_OutputSink* const* envoy_config_tap_v3_OutputConfig_sinks(const envoy_config_tap_v3_OutputConfig* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_config_tap_v3_OutputSink* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_tap_v3_OutputConfig_sinks_upb_array(const envoy_config_tap_v3_OutputConfig* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_tap_v3_OutputConfig_sinks_mutable_upb_array(const envoy_config_tap_v3_OutputConfig* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_tap_v3_OutputConfig_has_sinks(const envoy_config_tap_v3_OutputConfig* msg) { + size_t size; + envoy_config_tap_v3_OutputConfig_sinks(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_tap_v3_OutputConfig_clear_max_buffered_rx_bytes(envoy_config_tap_v3_OutputConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_max_buffered_rx_bytes(const envoy_config_tap_v3_OutputConfig* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_OutputConfig_has_max_buffered_rx_bytes(const envoy_config_tap_v3_OutputConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_OutputConfig_clear_max_buffered_tx_bytes(envoy_config_tap_v3_OutputConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_max_buffered_tx_bytes(const envoy_config_tap_v3_OutputConfig* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_OutputConfig_has_max_buffered_tx_bytes(const envoy_config_tap_v3_OutputConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_OutputConfig_clear_streaming(envoy_config_tap_v3_OutputConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_config_tap_v3_OutputConfig_streaming(const envoy_config_tap_v3_OutputConfig* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE envoy_config_tap_v3_OutputSink** envoy_config_tap_v3_OutputConfig_mutable_sinks(envoy_config_tap_v3_OutputConfig* msg, size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_config_tap_v3_OutputSink**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_config_tap_v3_OutputSink** envoy_config_tap_v3_OutputConfig_resize_sinks(envoy_config_tap_v3_OutputConfig* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_tap_v3_OutputSink**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_tap_v3_OutputSink* envoy_config_tap_v3_OutputConfig_add_sinks(envoy_config_tap_v3_OutputConfig* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_tap_v3_OutputSink* sub = (struct envoy_config_tap_v3_OutputSink*)_upb_Message_New(&envoy__config__tap__v3__OutputSink_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_config_tap_v3_OutputConfig_set_max_buffered_rx_bytes(envoy_config_tap_v3_OutputConfig *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_mutable_max_buffered_rx_bytes(envoy_config_tap_v3_OutputConfig* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_tap_v3_OutputConfig_max_buffered_rx_bytes(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_config_tap_v3_OutputConfig_set_max_buffered_rx_bytes(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_OutputConfig_set_max_buffered_tx_bytes(envoy_config_tap_v3_OutputConfig *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_mutable_max_buffered_tx_bytes(envoy_config_tap_v3_OutputConfig* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_tap_v3_OutputConfig_max_buffered_tx_bytes(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_config_tap_v3_OutputConfig_set_max_buffered_tx_bytes(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_OutputConfig_set_streaming(envoy_config_tap_v3_OutputConfig *msg, bool value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.tap.v3.OutputSink */ + +UPB_INLINE envoy_config_tap_v3_OutputSink* envoy_config_tap_v3_OutputSink_new(upb_Arena* arena) { + return (envoy_config_tap_v3_OutputSink*)_upb_Message_New(&envoy__config__tap__v3__OutputSink_msg_init, arena); +} +UPB_INLINE envoy_config_tap_v3_OutputSink* envoy_config_tap_v3_OutputSink_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_tap_v3_OutputSink* ret = envoy_config_tap_v3_OutputSink_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__OutputSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_tap_v3_OutputSink* envoy_config_tap_v3_OutputSink_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_tap_v3_OutputSink* ret = envoy_config_tap_v3_OutputSink_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__OutputSink_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_tap_v3_OutputSink_serialize(const envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__OutputSink_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_tap_v3_OutputSink_serialize_ex(const envoy_config_tap_v3_OutputSink* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__OutputSink_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_config_tap_v3_OutputSink_output_sink_type_streaming_admin = 2, + envoy_config_tap_v3_OutputSink_output_sink_type_file_per_tap = 3, + envoy_config_tap_v3_OutputSink_output_sink_type_streaming_grpc = 4, + envoy_config_tap_v3_OutputSink_output_sink_type_buffered_admin = 5, + envoy_config_tap_v3_OutputSink_output_sink_type_custom_sink = 6, + envoy_config_tap_v3_OutputSink_output_sink_type_NOT_SET = 0 +} envoy_config_tap_v3_OutputSink_output_sink_type_oneofcases; +UPB_INLINE envoy_config_tap_v3_OutputSink_output_sink_type_oneofcases envoy_config_tap_v3_OutputSink_output_sink_type_case(const envoy_config_tap_v3_OutputSink* msg) { + const upb_MiniTableField field = {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_config_tap_v3_OutputSink_output_sink_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_format(envoy_config_tap_v3_OutputSink* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_config_tap_v3_OutputSink_format(const envoy_config_tap_v3_OutputSink* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_streaming_admin(envoy_config_tap_v3_OutputSink* msg) { + const upb_MiniTableField field = {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_OutputSink_streaming_admin(const envoy_config_tap_v3_OutputSink* msg) { + const envoy_config_tap_v3_StreamingAdminSink* default_val = NULL; + const envoy_config_tap_v3_StreamingAdminSink* ret; + const upb_MiniTableField field = {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_streaming_admin(const envoy_config_tap_v3_OutputSink* msg) { + const upb_MiniTableField field = {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_file_per_tap(envoy_config_tap_v3_OutputSink* msg) { + const upb_MiniTableField field = {3, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_OutputSink_file_per_tap(const envoy_config_tap_v3_OutputSink* msg) { + const envoy_config_tap_v3_FilePerTapSink* default_val = NULL; + const envoy_config_tap_v3_FilePerTapSink* ret; + const upb_MiniTableField field = {3, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_file_per_tap(const envoy_config_tap_v3_OutputSink* msg) { + const upb_MiniTableField field = {3, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_streaming_grpc(envoy_config_tap_v3_OutputSink* msg) { + const upb_MiniTableField field = {4, 8, -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_OutputSink_streaming_grpc(const envoy_config_tap_v3_OutputSink* msg) { + const envoy_config_tap_v3_StreamingGrpcSink* default_val = NULL; + const envoy_config_tap_v3_StreamingGrpcSink* ret; + const upb_MiniTableField field = {4, 8, -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_streaming_grpc(const envoy_config_tap_v3_OutputSink* msg) { + const upb_MiniTableField field = {4, 8, -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_buffered_admin(envoy_config_tap_v3_OutputSink* msg) { + const upb_MiniTableField field = {5, 8, -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_OutputSink_buffered_admin(const envoy_config_tap_v3_OutputSink* msg) { + const envoy_config_tap_v3_BufferedAdminSink* default_val = NULL; + const envoy_config_tap_v3_BufferedAdminSink* ret; + const upb_MiniTableField field = {5, 8, -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_buffered_admin(const envoy_config_tap_v3_OutputSink* msg) { + const upb_MiniTableField field = {5, 8, -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_custom_sink(envoy_config_tap_v3_OutputSink* msg) { + const upb_MiniTableField field = {6, 8, -5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_tap_v3_OutputSink_custom_sink(const envoy_config_tap_v3_OutputSink* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {6, 8, -5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_custom_sink(const envoy_config_tap_v3_OutputSink* msg) { + const upb_MiniTableField field = {6, 8, -5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_tap_v3_OutputSink_set_format(envoy_config_tap_v3_OutputSink *msg, int32_t value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_tap_v3_OutputSink_set_streaming_admin(envoy_config_tap_v3_OutputSink *msg, envoy_config_tap_v3_StreamingAdminSink* value) { + const upb_MiniTableField field = {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_OutputSink_mutable_streaming_admin(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_StreamingAdminSink* sub = (struct envoy_config_tap_v3_StreamingAdminSink*)envoy_config_tap_v3_OutputSink_streaming_admin(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_StreamingAdminSink*)_upb_Message_New(&envoy__config__tap__v3__StreamingAdminSink_msg_init, arena); + if (sub) envoy_config_tap_v3_OutputSink_set_streaming_admin(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_OutputSink_set_file_per_tap(envoy_config_tap_v3_OutputSink *msg, envoy_config_tap_v3_FilePerTapSink* value) { + const upb_MiniTableField field = {3, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_OutputSink_mutable_file_per_tap(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_FilePerTapSink* sub = (struct envoy_config_tap_v3_FilePerTapSink*)envoy_config_tap_v3_OutputSink_file_per_tap(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_FilePerTapSink*)_upb_Message_New(&envoy__config__tap__v3__FilePerTapSink_msg_init, arena); + if (sub) envoy_config_tap_v3_OutputSink_set_file_per_tap(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_OutputSink_set_streaming_grpc(envoy_config_tap_v3_OutputSink *msg, envoy_config_tap_v3_StreamingGrpcSink* value) { + const upb_MiniTableField field = {4, 8, -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_OutputSink_mutable_streaming_grpc(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_StreamingGrpcSink* sub = (struct envoy_config_tap_v3_StreamingGrpcSink*)envoy_config_tap_v3_OutputSink_streaming_grpc(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_StreamingGrpcSink*)_upb_Message_New(&envoy__config__tap__v3__StreamingGrpcSink_msg_init, arena); + if (sub) envoy_config_tap_v3_OutputSink_set_streaming_grpc(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_OutputSink_set_buffered_admin(envoy_config_tap_v3_OutputSink *msg, envoy_config_tap_v3_BufferedAdminSink* value) { + const upb_MiniTableField field = {5, 8, -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_OutputSink_mutable_buffered_admin(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) { + struct envoy_config_tap_v3_BufferedAdminSink* sub = (struct envoy_config_tap_v3_BufferedAdminSink*)envoy_config_tap_v3_OutputSink_buffered_admin(msg); + if (sub == NULL) { + sub = (struct envoy_config_tap_v3_BufferedAdminSink*)_upb_Message_New(&envoy__config__tap__v3__BufferedAdminSink_msg_init, arena); + if (sub) envoy_config_tap_v3_OutputSink_set_buffered_admin(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_tap_v3_OutputSink_set_custom_sink(envoy_config_tap_v3_OutputSink *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {6, 8, -5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_tap_v3_OutputSink_mutable_custom_sink(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_tap_v3_OutputSink_custom_sink(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_config_tap_v3_OutputSink_set_custom_sink(msg, sub); + } + return sub; +} + +/* envoy.config.tap.v3.StreamingAdminSink */ + +UPB_INLINE envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_StreamingAdminSink_new(upb_Arena* arena) { + return (envoy_config_tap_v3_StreamingAdminSink*)_upb_Message_New(&envoy__config__tap__v3__StreamingAdminSink_msg_init, arena); +} +UPB_INLINE envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_StreamingAdminSink_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_tap_v3_StreamingAdminSink* ret = envoy_config_tap_v3_StreamingAdminSink_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__StreamingAdminSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_StreamingAdminSink_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_tap_v3_StreamingAdminSink* ret = envoy_config_tap_v3_StreamingAdminSink_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__StreamingAdminSink_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_tap_v3_StreamingAdminSink_serialize(const envoy_config_tap_v3_StreamingAdminSink* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__StreamingAdminSink_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_tap_v3_StreamingAdminSink_serialize_ex(const envoy_config_tap_v3_StreamingAdminSink* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__StreamingAdminSink_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* envoy.config.tap.v3.BufferedAdminSink */ + +UPB_INLINE envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_BufferedAdminSink_new(upb_Arena* arena) { + return (envoy_config_tap_v3_BufferedAdminSink*)_upb_Message_New(&envoy__config__tap__v3__BufferedAdminSink_msg_init, arena); +} +UPB_INLINE envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_BufferedAdminSink_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_tap_v3_BufferedAdminSink* ret = envoy_config_tap_v3_BufferedAdminSink_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__BufferedAdminSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_BufferedAdminSink_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_tap_v3_BufferedAdminSink* ret = envoy_config_tap_v3_BufferedAdminSink_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__BufferedAdminSink_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_tap_v3_BufferedAdminSink_serialize(const envoy_config_tap_v3_BufferedAdminSink* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__BufferedAdminSink_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_tap_v3_BufferedAdminSink_serialize_ex(const envoy_config_tap_v3_BufferedAdminSink* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__BufferedAdminSink_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_tap_v3_BufferedAdminSink_clear_max_traces(envoy_config_tap_v3_BufferedAdminSink* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_config_tap_v3_BufferedAdminSink_max_traces(const envoy_config_tap_v3_BufferedAdminSink* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_tap_v3_BufferedAdminSink_clear_timeout(envoy_config_tap_v3_BufferedAdminSink* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_config_tap_v3_BufferedAdminSink_timeout(const envoy_config_tap_v3_BufferedAdminSink* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_BufferedAdminSink_has_timeout(const envoy_config_tap_v3_BufferedAdminSink* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_tap_v3_BufferedAdminSink_set_max_traces(envoy_config_tap_v3_BufferedAdminSink *msg, uint64_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_tap_v3_BufferedAdminSink_set_timeout(envoy_config_tap_v3_BufferedAdminSink *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_config_tap_v3_BufferedAdminSink_mutable_timeout(envoy_config_tap_v3_BufferedAdminSink* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_tap_v3_BufferedAdminSink_timeout(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_config_tap_v3_BufferedAdminSink_set_timeout(msg, sub); + } + return sub; +} + +/* envoy.config.tap.v3.FilePerTapSink */ + +UPB_INLINE envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_FilePerTapSink_new(upb_Arena* arena) { + return (envoy_config_tap_v3_FilePerTapSink*)_upb_Message_New(&envoy__config__tap__v3__FilePerTapSink_msg_init, arena); +} +UPB_INLINE envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_FilePerTapSink_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_tap_v3_FilePerTapSink* ret = envoy_config_tap_v3_FilePerTapSink_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__FilePerTapSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_FilePerTapSink_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_tap_v3_FilePerTapSink* ret = envoy_config_tap_v3_FilePerTapSink_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__FilePerTapSink_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_tap_v3_FilePerTapSink_serialize(const envoy_config_tap_v3_FilePerTapSink* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__FilePerTapSink_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_tap_v3_FilePerTapSink_serialize_ex(const envoy_config_tap_v3_FilePerTapSink* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__FilePerTapSink_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_tap_v3_FilePerTapSink_clear_path_prefix(envoy_config_tap_v3_FilePerTapSink* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_tap_v3_FilePerTapSink_path_prefix(const envoy_config_tap_v3_FilePerTapSink* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_config_tap_v3_FilePerTapSink_set_path_prefix(envoy_config_tap_v3_FilePerTapSink *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.config.tap.v3.StreamingGrpcSink */ + +UPB_INLINE envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_StreamingGrpcSink_new(upb_Arena* arena) { + return (envoy_config_tap_v3_StreamingGrpcSink*)_upb_Message_New(&envoy__config__tap__v3__StreamingGrpcSink_msg_init, arena); +} +UPB_INLINE envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_StreamingGrpcSink_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_tap_v3_StreamingGrpcSink* ret = envoy_config_tap_v3_StreamingGrpcSink_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__StreamingGrpcSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_StreamingGrpcSink_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_tap_v3_StreamingGrpcSink* ret = envoy_config_tap_v3_StreamingGrpcSink_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__tap__v3__StreamingGrpcSink_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_tap_v3_StreamingGrpcSink_serialize(const envoy_config_tap_v3_StreamingGrpcSink* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__StreamingGrpcSink_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_tap_v3_StreamingGrpcSink_serialize_ex(const envoy_config_tap_v3_StreamingGrpcSink* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__tap__v3__StreamingGrpcSink_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_tap_v3_StreamingGrpcSink_clear_tap_id(envoy_config_tap_v3_StreamingGrpcSink* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_tap_v3_StreamingGrpcSink_tap_id(const envoy_config_tap_v3_StreamingGrpcSink* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_tap_v3_StreamingGrpcSink_clear_grpc_service(envoy_config_tap_v3_StreamingGrpcSink* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_GrpcService* envoy_config_tap_v3_StreamingGrpcSink_grpc_service(const envoy_config_tap_v3_StreamingGrpcSink* msg) { + const struct envoy_config_core_v3_GrpcService* default_val = NULL; + const struct envoy_config_core_v3_GrpcService* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_tap_v3_StreamingGrpcSink_has_grpc_service(const envoy_config_tap_v3_StreamingGrpcSink* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_tap_v3_StreamingGrpcSink_set_tap_id(envoy_config_tap_v3_StreamingGrpcSink *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_tap_v3_StreamingGrpcSink_set_grpc_service(envoy_config_tap_v3_StreamingGrpcSink *msg, struct envoy_config_core_v3_GrpcService* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_GrpcService* envoy_config_tap_v3_StreamingGrpcSink_mutable_grpc_service(envoy_config_tap_v3_StreamingGrpcSink* msg, upb_Arena* arena) { + struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)envoy_config_tap_v3_StreamingGrpcSink_grpc_service(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy__config__core__v3__GrpcService_msg_init, arena); + if (sub) envoy_config_tap_v3_StreamingGrpcSink_set_grpc_service(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c new file mode 100644 index 00000000000..0be169a09d8 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c @@ -0,0 +1,328 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/tap/v3/common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/tap/v3/common.upb_minitable.h" +#include "envoy/config/common/matcher/v3/matcher.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "envoy/config/route/v3/route_components.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_tap_v3_TapConfig_submsgs[4] = { + {.submsg = &envoy__config__tap__v3__MatchPredicate_msg_init}, + {.submsg = &envoy__config__tap__v3__OutputConfig_msg_init}, + {.submsg = &envoy__config__core__v3__RuntimeFractionalPercent_msg_init}, + {.submsg = &envoy__config__common__matcher__v3__MatchPredicate_msg_init}, +}; + +static const upb_MiniTableField envoy_config_tap_v3_TapConfig__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__tap__v3__TapConfig_msg_init = { + &envoy_config_tap_v3_TapConfig_submsgs[0], + &envoy_config_tap_v3_TapConfig__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x0010000002010012, &upb_psm_1bt_max64b}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x0020000004030022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_tap_v3_MatchPredicate_submsgs[9] = { + {.submsg = &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init}, + {.submsg = &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init}, + {.submsg = &envoy__config__tap__v3__MatchPredicate_msg_init}, + {.submsg = &envoy__config__tap__v3__HttpHeadersMatch_msg_init}, + {.submsg = &envoy__config__tap__v3__HttpHeadersMatch_msg_init}, + {.submsg = &envoy__config__tap__v3__HttpHeadersMatch_msg_init}, + {.submsg = &envoy__config__tap__v3__HttpHeadersMatch_msg_init}, + {.submsg = &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init}, + {.submsg = &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init}, +}; + +static const upb_MiniTableField envoy_config_tap_v3_MatchPredicate__fields[10] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__tap__v3__MatchPredicate_msg_init = { + &envoy_config_tap_v3_MatchPredicate_submsgs[0], + &envoy_config_tap_v3_MatchPredicate__fields[0], + UPB_SIZE(8, 16), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + {0x0008000004000020, &upb_pob1_1bt}, + {0x000800000503002a, &upb_pom_1bt_max64b}, + {0x0008000006040032, &upb_pom_1bt_max64b}, + {0x000800000705003a, &upb_pom_1bt_max64b}, + {0x0008000008060042, &upb_pom_1bt_max64b}, + {0x000800000907004a, &upb_pom_1bt_max64b}, + {0x000800000a080052, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_tap_v3_MatchPredicate_MatchSet_submsgs[1] = { + {.submsg = &envoy__config__tap__v3__MatchPredicate_msg_init}, +}; + +static const upb_MiniTableField envoy_config_tap_v3_MatchPredicate_MatchSet__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init = { + &envoy_config_tap_v3_MatchPredicate_MatchSet_submsgs[0], + &envoy_config_tap_v3_MatchPredicate_MatchSet__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_tap_v3_HttpHeadersMatch_submsgs[1] = { + {.submsg = &envoy__config__route__v3__HeaderMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_config_tap_v3_HttpHeadersMatch__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__tap__v3__HttpHeadersMatch_msg_init = { + &envoy_config_tap_v3_HttpHeadersMatch_submsgs[0], + &envoy_config_tap_v3_HttpHeadersMatch__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_config_tap_v3_HttpGenericBodyMatch_submsgs[1] = { + {.submsg = &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init}, +}; + +static const upb_MiniTableField envoy_config_tap_v3_HttpGenericBodyMatch__fields[2] = { + {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__tap__v3__HttpGenericBodyMatch_msg_init = { + &envoy_config_tap_v3_HttpGenericBodyMatch_submsgs[0], + &envoy_config_tap_v3_HttpGenericBodyMatch__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000800003f000012, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch__fields[2] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init = { + NULL, + &envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + {0x0008000002000012, &upb_pob_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_tap_v3_OutputConfig_submsgs[3] = { + {.submsg = &envoy__config__tap__v3__OutputSink_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_tap_v3_OutputConfig__fields[4] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__tap__v3__OutputConfig_msg_init = { + &envoy_config_tap_v3_OutputConfig_submsgs[0], + &envoy_config_tap_v3_OutputConfig__fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_max64b}, + {0x0010000001010012, &upb_psm_1bt_maxmaxb}, + {0x001800000202001a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000020, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_tap_v3_OutputSink_submsgs[5] = { + {.submsg = &envoy__config__tap__v3__StreamingAdminSink_msg_init}, + {.submsg = &envoy__config__tap__v3__FilePerTapSink_msg_init}, + {.submsg = &envoy__config__tap__v3__StreamingGrpcSink_msg_init}, + {.submsg = &envoy__config__tap__v3__BufferedAdminSink_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_tap_v3_OutputSink__fields[6] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 8, -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, 8, -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, 8, -5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__tap__v3__OutputSink_msg_init = { + &envoy_config_tap_v3_OutputSink_submsgs[0], + &envoy_config_tap_v3_OutputSink__fields[0], + 16, 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x0008000402000012, &upb_pom_1bt_max64b}, + {0x000800040301001a, &upb_pom_1bt_max64b}, + {0x0008000404020022, &upb_pom_1bt_max64b}, + {0x000800040503002a, &upb_pom_1bt_max64b}, + {0x0008000406040032, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +const upb_MiniTable envoy__config__tap__v3__StreamingAdminSink_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_config_tap_v3_BufferedAdminSink_submsgs[1] = { + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_config_tap_v3_BufferedAdminSink__fields[2] = { + {1, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__tap__v3__BufferedAdminSink_msg_init = { + &envoy_config_tap_v3_BufferedAdminSink_submsgs[0], + &envoy_config_tap_v3_BufferedAdminSink__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000008, &upb_psv8_1bt}, + {0x0010000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_config_tap_v3_FilePerTapSink__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__tap__v3__FilePerTapSink_msg_init = { + NULL, + &envoy_config_tap_v3_FilePerTapSink__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_config_tap_v3_StreamingGrpcSink_submsgs[1] = { + {.submsg = &envoy__config__core__v3__GrpcService_msg_init}, +}; + +static const upb_MiniTableField envoy_config_tap_v3_StreamingGrpcSink__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__tap__v3__StreamingGrpcSink_msg_init = { + &envoy_config_tap_v3_StreamingGrpcSink_submsgs[0], + &envoy_config_tap_v3_StreamingGrpcSink__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[12] = { + &envoy__config__tap__v3__TapConfig_msg_init, + &envoy__config__tap__v3__MatchPredicate_msg_init, + &envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init, + &envoy__config__tap__v3__HttpHeadersMatch_msg_init, + &envoy__config__tap__v3__HttpGenericBodyMatch_msg_init, + &envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init, + &envoy__config__tap__v3__OutputConfig_msg_init, + &envoy__config__tap__v3__OutputSink_msg_init, + &envoy__config__tap__v3__StreamingAdminSink_msg_init, + &envoy__config__tap__v3__BufferedAdminSink_msg_init, + &envoy__config__tap__v3__FilePerTapSink_msg_init, + &envoy__config__tap__v3__StreamingGrpcSink_msg_init, +}; + +const upb_MiniTableFile envoy_config_tap_v3_common_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 12, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h new file mode 100644 index 00000000000..01934e94476 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h @@ -0,0 +1,41 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/tap/v3/common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__tap__v3__TapConfig_msg_init; +extern const upb_MiniTable envoy__config__tap__v3__MatchPredicate_msg_init; +extern const upb_MiniTable envoy__config__tap__v3__MatchPredicate__MatchSet_msg_init; +extern const upb_MiniTable envoy__config__tap__v3__HttpHeadersMatch_msg_init; +extern const upb_MiniTable envoy__config__tap__v3__HttpGenericBodyMatch_msg_init; +extern const upb_MiniTable envoy__config__tap__v3__HttpGenericBodyMatch__GenericTextMatch_msg_init; +extern const upb_MiniTable envoy__config__tap__v3__OutputConfig_msg_init; +extern const upb_MiniTable envoy__config__tap__v3__OutputSink_msg_init; +extern const upb_MiniTable envoy__config__tap__v3__StreamingAdminSink_msg_init; +extern const upb_MiniTable envoy__config__tap__v3__BufferedAdminSink_msg_init; +extern const upb_MiniTable envoy__config__tap__v3__FilePerTapSink_msg_init; +extern const upb_MiniTable envoy__config__tap__v3__StreamingGrpcSink_msg_init; + +extern const upb_MiniTableFile envoy_config_tap_v3_common_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h b/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h similarity index 86% rename from src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h rename to src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h index 8f9b30d03ef..3dd8d28c264 100644 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/datadog.proto * @@ -10,7 +9,15 @@ #define ENVOY_CONFIG_TRACE_V3_DATADOG_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/trace/v3/datadog.upb_minitable.h" + +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,19 +25,18 @@ extern "C" { #endif typedef struct envoy_config_trace_v3_DatadogConfig envoy_config_trace_v3_DatadogConfig; -extern const upb_MiniTable envoy_config_trace_v3_DatadogConfig_msg_init; /* envoy.config.trace.v3.DatadogConfig */ UPB_INLINE envoy_config_trace_v3_DatadogConfig* envoy_config_trace_v3_DatadogConfig_new(upb_Arena* arena) { - return (envoy_config_trace_v3_DatadogConfig*)_upb_Message_New(&envoy_config_trace_v3_DatadogConfig_msg_init, arena); + return (envoy_config_trace_v3_DatadogConfig*)_upb_Message_New(&envoy__config__trace__v3__DatadogConfig_msg_init, arena); } UPB_INLINE envoy_config_trace_v3_DatadogConfig* envoy_config_trace_v3_DatadogConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_trace_v3_DatadogConfig* ret = envoy_config_trace_v3_DatadogConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_DatadogConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__DatadogConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -40,7 +46,7 @@ UPB_INLINE envoy_config_trace_v3_DatadogConfig* envoy_config_trace_v3_DatadogCon int options, upb_Arena* arena) { envoy_config_trace_v3_DatadogConfig* ret = envoy_config_trace_v3_DatadogConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_DatadogConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__DatadogConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -48,13 +54,13 @@ UPB_INLINE envoy_config_trace_v3_DatadogConfig* envoy_config_trace_v3_DatadogCon } UPB_INLINE char* envoy_config_trace_v3_DatadogConfig_serialize(const envoy_config_trace_v3_DatadogConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_DatadogConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__DatadogConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_trace_v3_DatadogConfig_serialize_ex(const envoy_config_trace_v3_DatadogConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_DatadogConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__DatadogConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_trace_v3_DatadogConfig_clear_collector_cluster(envoy_config_trace_v3_DatadogConfig* msg) { @@ -104,8 +110,6 @@ UPB_INLINE void envoy_config_trace_v3_DatadogConfig_set_collector_hostname(envoy _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_config_trace_v3_datadog_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c new file mode 100644 index 00000000000..9bd43d63739 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c @@ -0,0 +1,51 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/datadog.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/trace/v3/datadog.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_config_trace_v3_DatadogConfig__fields[3] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__trace__v3__DatadogConfig_msg_init = { + NULL, + &envoy_config_trace_v3_DatadogConfig__fields[0], + UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000003f00001a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__trace__v3__DatadogConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_trace_v3_datadog_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h new file mode 100644 index 00000000000..80622a1d9ae --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/datadog.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TRACE_V3_DATADOG_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_TRACE_V3_DATADOG_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__trace__v3__DatadogConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_trace_v3_datadog_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TRACE_V3_DATADOG_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h b/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h similarity index 83% rename from src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h rename to src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h index 5036b4882aa..465c6412f1b 100644 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/dynamic_ot.proto * @@ -10,7 +9,17 @@ #define ENVOY_CONFIG_TRACE_V3_DYNAMIC_OT_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/trace/v3/dynamic_ot.upb_minitable.h" + +#include "google/protobuf/struct.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +27,19 @@ extern "C" { #endif typedef struct envoy_config_trace_v3_DynamicOtConfig envoy_config_trace_v3_DynamicOtConfig; -extern const upb_MiniTable envoy_config_trace_v3_DynamicOtConfig_msg_init; struct google_protobuf_Struct; -extern const upb_MiniTable google_protobuf_Struct_msg_init; /* envoy.config.trace.v3.DynamicOtConfig */ UPB_INLINE envoy_config_trace_v3_DynamicOtConfig* envoy_config_trace_v3_DynamicOtConfig_new(upb_Arena* arena) { - return (envoy_config_trace_v3_DynamicOtConfig*)_upb_Message_New(&envoy_config_trace_v3_DynamicOtConfig_msg_init, arena); + return (envoy_config_trace_v3_DynamicOtConfig*)_upb_Message_New(&envoy__config__trace__v3__DynamicOtConfig_msg_init, arena); } UPB_INLINE envoy_config_trace_v3_DynamicOtConfig* envoy_config_trace_v3_DynamicOtConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_trace_v3_DynamicOtConfig* ret = envoy_config_trace_v3_DynamicOtConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_DynamicOtConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__DynamicOtConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +49,7 @@ UPB_INLINE envoy_config_trace_v3_DynamicOtConfig* envoy_config_trace_v3_DynamicO int options, upb_Arena* arena) { envoy_config_trace_v3_DynamicOtConfig* ret = envoy_config_trace_v3_DynamicOtConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_DynamicOtConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__DynamicOtConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +57,13 @@ UPB_INLINE envoy_config_trace_v3_DynamicOtConfig* envoy_config_trace_v3_DynamicO } UPB_INLINE char* envoy_config_trace_v3_DynamicOtConfig_serialize(const envoy_config_trace_v3_DynamicOtConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_DynamicOtConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__DynamicOtConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_trace_v3_DynamicOtConfig_serialize_ex(const envoy_config_trace_v3_DynamicOtConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_DynamicOtConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__DynamicOtConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_trace_v3_DynamicOtConfig_clear_library(envoy_config_trace_v3_DynamicOtConfig* msg) { @@ -97,14 +104,12 @@ UPB_INLINE void envoy_config_trace_v3_DynamicOtConfig_set_config(envoy_config_tr UPB_INLINE struct google_protobuf_Struct* envoy_config_trace_v3_DynamicOtConfig_mutable_config(envoy_config_trace_v3_DynamicOtConfig* msg, upb_Arena* arena) { struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_trace_v3_DynamicOtConfig_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); if (sub) envoy_config_trace_v3_DynamicOtConfig_set_config(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_trace_v3_dynamic_ot_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c new file mode 100644 index 00000000000..7c27e6c1fc0 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c @@ -0,0 +1,56 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/dynamic_ot.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/trace/v3/dynamic_ot.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_trace_v3_DynamicOtConfig_submsgs[1] = { + {.submsg = &google__protobuf__Struct_msg_init}, +}; + +static const upb_MiniTableField envoy_config_trace_v3_DynamicOtConfig__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__trace__v3__DynamicOtConfig_msg_init = { + &envoy_config_trace_v3_DynamicOtConfig_submsgs[0], + &envoy_config_trace_v3_DynamicOtConfig__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__trace__v3__DynamicOtConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_trace_v3_dynamic_ot_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h new file mode 100644 index 00000000000..b464a2f0275 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/dynamic_ot.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TRACE_V3_DYNAMIC_OT_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_TRACE_V3_DYNAMIC_OT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__trace__v3__DynamicOtConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_trace_v3_dynamic_ot_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TRACE_V3_DYNAMIC_OT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h b/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h similarity index 86% rename from src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h rename to src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h index d670b0ece4f..68a2eaf057a 100644 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/http_tracer.proto * @@ -10,7 +9,15 @@ #define ENVOY_CONFIG_TRACE_V3_HTTP_TRACER_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/trace/v3/http_tracer.upb_minitable.h" + +#include "google/protobuf/any.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,22 +26,19 @@ extern "C" { typedef struct envoy_config_trace_v3_Tracing envoy_config_trace_v3_Tracing; typedef struct envoy_config_trace_v3_Tracing_Http envoy_config_trace_v3_Tracing_Http; -extern const upb_MiniTable envoy_config_trace_v3_Tracing_msg_init; -extern const upb_MiniTable envoy_config_trace_v3_Tracing_Http_msg_init; struct google_protobuf_Any; -extern const upb_MiniTable google_protobuf_Any_msg_init; /* envoy.config.trace.v3.Tracing */ UPB_INLINE envoy_config_trace_v3_Tracing* envoy_config_trace_v3_Tracing_new(upb_Arena* arena) { - return (envoy_config_trace_v3_Tracing*)_upb_Message_New(&envoy_config_trace_v3_Tracing_msg_init, arena); + return (envoy_config_trace_v3_Tracing*)_upb_Message_New(&envoy__config__trace__v3__Tracing_msg_init, arena); } UPB_INLINE envoy_config_trace_v3_Tracing* envoy_config_trace_v3_Tracing_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_trace_v3_Tracing* ret = envoy_config_trace_v3_Tracing_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_Tracing_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__Tracing_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -44,7 +48,7 @@ UPB_INLINE envoy_config_trace_v3_Tracing* envoy_config_trace_v3_Tracing_parse_ex int options, upb_Arena* arena) { envoy_config_trace_v3_Tracing* ret = envoy_config_trace_v3_Tracing_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_Tracing_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__Tracing_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -52,13 +56,13 @@ UPB_INLINE envoy_config_trace_v3_Tracing* envoy_config_trace_v3_Tracing_parse_ex } UPB_INLINE char* envoy_config_trace_v3_Tracing_serialize(const envoy_config_trace_v3_Tracing* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_Tracing_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__Tracing_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_trace_v3_Tracing_serialize_ex(const envoy_config_trace_v3_Tracing* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_Tracing_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__Tracing_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_trace_v3_Tracing_clear_http(envoy_config_trace_v3_Tracing* msg) { @@ -84,7 +88,7 @@ UPB_INLINE void envoy_config_trace_v3_Tracing_set_http(envoy_config_trace_v3_Tra UPB_INLINE struct envoy_config_trace_v3_Tracing_Http* envoy_config_trace_v3_Tracing_mutable_http(envoy_config_trace_v3_Tracing* msg, upb_Arena* arena) { struct envoy_config_trace_v3_Tracing_Http* sub = (struct envoy_config_trace_v3_Tracing_Http*)envoy_config_trace_v3_Tracing_http(msg); if (sub == NULL) { - sub = (struct envoy_config_trace_v3_Tracing_Http*)_upb_Message_New(&envoy_config_trace_v3_Tracing_Http_msg_init, arena); + sub = (struct envoy_config_trace_v3_Tracing_Http*)_upb_Message_New(&envoy__config__trace__v3__Tracing__Http_msg_init, arena); if (sub) envoy_config_trace_v3_Tracing_set_http(msg, sub); } return sub; @@ -93,12 +97,12 @@ UPB_INLINE struct envoy_config_trace_v3_Tracing_Http* envoy_config_trace_v3_Trac /* envoy.config.trace.v3.Tracing.Http */ UPB_INLINE envoy_config_trace_v3_Tracing_Http* envoy_config_trace_v3_Tracing_Http_new(upb_Arena* arena) { - return (envoy_config_trace_v3_Tracing_Http*)_upb_Message_New(&envoy_config_trace_v3_Tracing_Http_msg_init, arena); + return (envoy_config_trace_v3_Tracing_Http*)_upb_Message_New(&envoy__config__trace__v3__Tracing__Http_msg_init, arena); } UPB_INLINE envoy_config_trace_v3_Tracing_Http* envoy_config_trace_v3_Tracing_Http_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_trace_v3_Tracing_Http* ret = envoy_config_trace_v3_Tracing_Http_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_Tracing_Http_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__Tracing__Http_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -108,7 +112,7 @@ UPB_INLINE envoy_config_trace_v3_Tracing_Http* envoy_config_trace_v3_Tracing_Htt int options, upb_Arena* arena) { envoy_config_trace_v3_Tracing_Http* ret = envoy_config_trace_v3_Tracing_Http_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_Tracing_Http_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__Tracing__Http_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -116,13 +120,13 @@ UPB_INLINE envoy_config_trace_v3_Tracing_Http* envoy_config_trace_v3_Tracing_Htt } UPB_INLINE char* envoy_config_trace_v3_Tracing_Http_serialize(const envoy_config_trace_v3_Tracing_Http* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_Tracing_Http_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__Tracing__Http_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_trace_v3_Tracing_Http_serialize_ex(const envoy_config_trace_v3_Tracing_Http* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_Tracing_Http_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__Tracing__Http_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -171,14 +175,12 @@ UPB_INLINE void envoy_config_trace_v3_Tracing_Http_set_typed_config(envoy_config UPB_INLINE struct google_protobuf_Any* envoy_config_trace_v3_Tracing_Http_mutable_typed_config(envoy_config_trace_v3_Tracing_Http* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_trace_v3_Tracing_Http_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_config_trace_v3_Tracing_Http_set_typed_config(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_trace_v3_http_tracer_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c new file mode 100644 index 00000000000..8246fbda0f0 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c @@ -0,0 +1,73 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/http_tracer.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/trace/v3/http_tracer.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_trace_v3_Tracing_submsgs[1] = { + {.submsg = &envoy__config__trace__v3__Tracing__Http_msg_init}, +}; + +static const upb_MiniTableField envoy_config_trace_v3_Tracing__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__trace__v3__Tracing_msg_init = { + &envoy_config_trace_v3_Tracing_submsgs[0], + &envoy_config_trace_v3_Tracing__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_config_trace_v3_Tracing_Http_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_config_trace_v3_Tracing_Http__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__trace__v3__Tracing__Http_msg_init = { + &envoy_config_trace_v3_Tracing_Http_submsgs[0], + &envoy_config_trace_v3_Tracing_Http__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000300001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__config__trace__v3__Tracing_msg_init, + &envoy__config__trace__v3__Tracing__Http_msg_init, +}; + +const upb_MiniTableFile envoy_config_trace_v3_http_tracer_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h new file mode 100644 index 00000000000..02151eea430 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/http_tracer.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TRACE_V3_HTTP_TRACER_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_TRACE_V3_HTTP_TRACER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__trace__v3__Tracing_msg_init; +extern const upb_MiniTable envoy__config__trace__v3__Tracing__Http_msg_init; + +extern const upb_MiniTableFile envoy_config_trace_v3_http_tracer_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TRACE_V3_HTTP_TRACER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h b/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h rename to src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h index 2b3ba9ee209..119cab5bcc1 100644 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/lightstep.proto * @@ -10,7 +9,17 @@ #define ENVOY_CONFIG_TRACE_V3_LIGHTSTEP_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/trace/v3/lightstep.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,9 +27,7 @@ extern "C" { #endif typedef struct envoy_config_trace_v3_LightstepConfig envoy_config_trace_v3_LightstepConfig; -extern const upb_MiniTable envoy_config_trace_v3_LightstepConfig_msg_init; struct envoy_config_core_v3_DataSource; -extern const upb_MiniTable envoy_config_core_v3_DataSource_msg_init; typedef enum { envoy_config_trace_v3_LightstepConfig_ENVOY = 0, @@ -34,12 +41,12 @@ typedef enum { /* envoy.config.trace.v3.LightstepConfig */ UPB_INLINE envoy_config_trace_v3_LightstepConfig* envoy_config_trace_v3_LightstepConfig_new(upb_Arena* arena) { - return (envoy_config_trace_v3_LightstepConfig*)_upb_Message_New(&envoy_config_trace_v3_LightstepConfig_msg_init, arena); + return (envoy_config_trace_v3_LightstepConfig*)_upb_Message_New(&envoy__config__trace__v3__LightstepConfig_msg_init, arena); } UPB_INLINE envoy_config_trace_v3_LightstepConfig* envoy_config_trace_v3_LightstepConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_trace_v3_LightstepConfig* ret = envoy_config_trace_v3_LightstepConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_LightstepConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__LightstepConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -49,7 +56,7 @@ UPB_INLINE envoy_config_trace_v3_LightstepConfig* envoy_config_trace_v3_Lightste int options, upb_Arena* arena) { envoy_config_trace_v3_LightstepConfig* ret = envoy_config_trace_v3_LightstepConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_LightstepConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__LightstepConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -57,13 +64,13 @@ UPB_INLINE envoy_config_trace_v3_LightstepConfig* envoy_config_trace_v3_Lightste } UPB_INLINE char* envoy_config_trace_v3_LightstepConfig_serialize(const envoy_config_trace_v3_LightstepConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_LightstepConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__LightstepConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_trace_v3_LightstepConfig_serialize_ex(const envoy_config_trace_v3_LightstepConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_LightstepConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__LightstepConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_trace_v3_LightstepConfig_clear_collector_cluster(envoy_config_trace_v3_LightstepConfig* msg) { @@ -180,14 +187,12 @@ UPB_INLINE void envoy_config_trace_v3_LightstepConfig_set_access_token(envoy_con UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_trace_v3_LightstepConfig_mutable_access_token(envoy_config_trace_v3_LightstepConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_config_trace_v3_LightstepConfig_access_token(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); if (sub) envoy_config_trace_v3_LightstepConfig_set_access_token(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_trace_v3_lightstep_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c new file mode 100644 index 00000000000..bc973517660 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c @@ -0,0 +1,62 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/lightstep.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/trace/v3/lightstep.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_trace_v3_LightstepConfig_submsgs[1] = { + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, +}; + +static const upb_MiniTableField envoy_config_trace_v3_LightstepConfig__fields[4] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__trace__v3__LightstepConfig_msg_init = { + &envoy_config_trace_v3_LightstepConfig_submsgs[0], + &envoy_config_trace_v3_LightstepConfig__fields[0], + UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x002800003f00001a, &upb_ppv4_1bt}, + {0x0030000001000022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__trace__v3__LightstepConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_trace_v3_lightstep_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h new file mode 100644 index 00000000000..74d423825e9 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/lightstep.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TRACE_V3_LIGHTSTEP_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_TRACE_V3_LIGHTSTEP_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__trace__v3__LightstepConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_trace_v3_lightstep_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TRACE_V3_LIGHTSTEP_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h b/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h similarity index 95% rename from src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h rename to src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h index bf3ca77b793..cf0d9bda6e5 100644 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/opencensus.proto * @@ -10,7 +9,17 @@ #define ENVOY_CONFIG_TRACE_V3_OPENCENSUS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/trace/v3/opencensus.upb_minitable.h" + +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "opencensus/proto/trace/v1/trace_config.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,11 +27,8 @@ extern "C" { #endif typedef struct envoy_config_trace_v3_OpenCensusConfig envoy_config_trace_v3_OpenCensusConfig; -extern const upb_MiniTable envoy_config_trace_v3_OpenCensusConfig_msg_init; struct envoy_config_core_v3_GrpcService; struct opencensus_proto_trace_v1_TraceConfig; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_msg_init; -extern const upb_MiniTable opencensus_proto_trace_v1_TraceConfig_msg_init; typedef enum { envoy_config_trace_v3_OpenCensusConfig_NONE = 0, @@ -37,12 +43,12 @@ typedef enum { /* envoy.config.trace.v3.OpenCensusConfig */ UPB_INLINE envoy_config_trace_v3_OpenCensusConfig* envoy_config_trace_v3_OpenCensusConfig_new(upb_Arena* arena) { - return (envoy_config_trace_v3_OpenCensusConfig*)_upb_Message_New(&envoy_config_trace_v3_OpenCensusConfig_msg_init, arena); + return (envoy_config_trace_v3_OpenCensusConfig*)_upb_Message_New(&envoy__config__trace__v3__OpenCensusConfig_msg_init, arena); } UPB_INLINE envoy_config_trace_v3_OpenCensusConfig* envoy_config_trace_v3_OpenCensusConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_trace_v3_OpenCensusConfig* ret = envoy_config_trace_v3_OpenCensusConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_OpenCensusConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__OpenCensusConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -52,7 +58,7 @@ UPB_INLINE envoy_config_trace_v3_OpenCensusConfig* envoy_config_trace_v3_OpenCen int options, upb_Arena* arena) { envoy_config_trace_v3_OpenCensusConfig* ret = envoy_config_trace_v3_OpenCensusConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_OpenCensusConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__OpenCensusConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -60,13 +66,13 @@ UPB_INLINE envoy_config_trace_v3_OpenCensusConfig* envoy_config_trace_v3_OpenCen } UPB_INLINE char* envoy_config_trace_v3_OpenCensusConfig_serialize(const envoy_config_trace_v3_OpenCensusConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_OpenCensusConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__OpenCensusConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_trace_v3_OpenCensusConfig_serialize_ex(const envoy_config_trace_v3_OpenCensusConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_OpenCensusConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__OpenCensusConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_trace_v3_OpenCensusConfig_clear_trace_config(envoy_config_trace_v3_OpenCensusConfig* msg) { @@ -284,7 +290,7 @@ UPB_INLINE void envoy_config_trace_v3_OpenCensusConfig_set_trace_config(envoy_co UPB_INLINE struct opencensus_proto_trace_v1_TraceConfig* envoy_config_trace_v3_OpenCensusConfig_mutable_trace_config(envoy_config_trace_v3_OpenCensusConfig* msg, upb_Arena* arena) { struct opencensus_proto_trace_v1_TraceConfig* sub = (struct opencensus_proto_trace_v1_TraceConfig*)envoy_config_trace_v3_OpenCensusConfig_trace_config(msg); if (sub == NULL) { - sub = (struct opencensus_proto_trace_v1_TraceConfig*)_upb_Message_New(&opencensus_proto_trace_v1_TraceConfig_msg_init, arena); + sub = (struct opencensus_proto_trace_v1_TraceConfig*)_upb_Message_New(&opencensus__proto__trace__v1__TraceConfig_msg_init, arena); if (sub) envoy_config_trace_v3_OpenCensusConfig_set_trace_config(msg, sub); } return sub; @@ -376,7 +382,7 @@ UPB_INLINE void envoy_config_trace_v3_OpenCensusConfig_set_stackdriver_grpc_serv UPB_INLINE struct envoy_config_core_v3_GrpcService* envoy_config_trace_v3_OpenCensusConfig_mutable_stackdriver_grpc_service(envoy_config_trace_v3_OpenCensusConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)envoy_config_trace_v3_OpenCensusConfig_stackdriver_grpc_service(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy_config_core_v3_GrpcService_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy__config__core__v3__GrpcService_msg_init, arena); if (sub) envoy_config_trace_v3_OpenCensusConfig_set_stackdriver_grpc_service(msg, sub); } return sub; @@ -388,14 +394,12 @@ UPB_INLINE void envoy_config_trace_v3_OpenCensusConfig_set_ocagent_grpc_service( UPB_INLINE struct envoy_config_core_v3_GrpcService* envoy_config_trace_v3_OpenCensusConfig_mutable_ocagent_grpc_service(envoy_config_trace_v3_OpenCensusConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)envoy_config_trace_v3_OpenCensusConfig_ocagent_grpc_service(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy_config_core_v3_GrpcService_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy__config__core__v3__GrpcService_msg_init, arena); if (sub) envoy_config_trace_v3_OpenCensusConfig_set_ocagent_grpc_service(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_trace_v3_opencensus_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c new file mode 100644 index 00000000000..48b35ddd952 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c @@ -0,0 +1,81 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/opencensus.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/trace/v3/opencensus.upb_minitable.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "opencensus/proto/trace/v1/trace_config.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_trace_v3_OpenCensusConfig_submsgs[3] = { + {.submsg = &opencensus__proto__trace__v1__TraceConfig_msg_init}, + {.submsg = &envoy__config__core__v3__GrpcService_msg_init}, + {.submsg = &envoy__config__core__v3__GrpcService_msg_init}, +}; + +static const upb_MiniTableField envoy_config_trace_v3_OpenCensusConfig__fields[13] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(9, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(10, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(40, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(12, 48), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(16, 56), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(20, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(56, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(24, 96), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(28, 104), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__trace__v3__OpenCensusConfig_msg_init = { + &envoy_config_trace_v3_OpenCensusConfig_submsgs[0], + &envoy_config_trace_v3_OpenCensusConfig__fields[0], + UPB_SIZE(64, 112), 13, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x000200003f000018, &upb_psb1_1bt}, + {0x001000003f000022, &upb_pss_1bt}, + {0x000300003f000028, &upb_psb1_1bt}, + {0x002000003f000032, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x003000003f000042, &upb_ppv4_1bt}, + {0x003800003f00004a, &upb_ppv4_1bt}, + {0x004000003f000052, &upb_pss_1bt}, + {0x000400003f000058, &upb_psb1_1bt}, + {0x005000003f000062, &upb_pss_1bt}, + {0x006000000201006a, &upb_psm_1bt_maxmaxb}, + {0x0068000003020072, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__trace__v3__OpenCensusConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_trace_v3_opencensus_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h new file mode 100644 index 00000000000..ec74950812d --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/opencensus.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TRACE_V3_OPENCENSUS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_TRACE_V3_OPENCENSUS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__trace__v3__OpenCensusConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_trace_v3_opencensus_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TRACE_V3_OPENCENSUS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h b/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h new file mode 100644 index 00000000000..c5c7bb789d9 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h @@ -0,0 +1,237 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/opentelemetry.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TRACE_V3_OPENTELEMETRY_PROTO_UPB_H_ +#define ENVOY_CONFIG_TRACE_V3_OPENTELEMETRY_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/config/trace/v3/opentelemetry.upb_minitable.h" + +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "envoy/config/core/v3/http_service.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_config_trace_v3_OpenTelemetryConfig envoy_config_trace_v3_OpenTelemetryConfig; +struct envoy_config_core_v3_GrpcService; +struct envoy_config_core_v3_HttpService; +struct envoy_config_core_v3_TypedExtensionConfig; + + + +/* envoy.config.trace.v3.OpenTelemetryConfig */ + +UPB_INLINE envoy_config_trace_v3_OpenTelemetryConfig* envoy_config_trace_v3_OpenTelemetryConfig_new(upb_Arena* arena) { + return (envoy_config_trace_v3_OpenTelemetryConfig*)_upb_Message_New(&envoy__config__trace__v3__OpenTelemetryConfig_msg_init, arena); +} +UPB_INLINE envoy_config_trace_v3_OpenTelemetryConfig* envoy_config_trace_v3_OpenTelemetryConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_config_trace_v3_OpenTelemetryConfig* ret = envoy_config_trace_v3_OpenTelemetryConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__OpenTelemetryConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_config_trace_v3_OpenTelemetryConfig* envoy_config_trace_v3_OpenTelemetryConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_config_trace_v3_OpenTelemetryConfig* ret = envoy_config_trace_v3_OpenTelemetryConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__OpenTelemetryConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_config_trace_v3_OpenTelemetryConfig_serialize(const envoy_config_trace_v3_OpenTelemetryConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__trace__v3__OpenTelemetryConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_config_trace_v3_OpenTelemetryConfig_serialize_ex(const envoy_config_trace_v3_OpenTelemetryConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__config__trace__v3__OpenTelemetryConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_config_trace_v3_OpenTelemetryConfig_clear_grpc_service(envoy_config_trace_v3_OpenTelemetryConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_GrpcService* envoy_config_trace_v3_OpenTelemetryConfig_grpc_service(const envoy_config_trace_v3_OpenTelemetryConfig* msg) { + const struct envoy_config_core_v3_GrpcService* default_val = NULL; + const struct envoy_config_core_v3_GrpcService* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_trace_v3_OpenTelemetryConfig_has_grpc_service(const envoy_config_trace_v3_OpenTelemetryConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_trace_v3_OpenTelemetryConfig_clear_service_name(envoy_config_trace_v3_OpenTelemetryConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_config_trace_v3_OpenTelemetryConfig_service_name(const envoy_config_trace_v3_OpenTelemetryConfig* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_config_trace_v3_OpenTelemetryConfig_clear_http_service(envoy_config_trace_v3_OpenTelemetryConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_HttpService* envoy_config_trace_v3_OpenTelemetryConfig_http_service(const envoy_config_trace_v3_OpenTelemetryConfig* msg) { + const struct envoy_config_core_v3_HttpService* default_val = NULL; + const struct envoy_config_core_v3_HttpService* ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_trace_v3_OpenTelemetryConfig_has_http_service(const envoy_config_trace_v3_OpenTelemetryConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_config_trace_v3_OpenTelemetryConfig_clear_resource_detectors(envoy_config_trace_v3_OpenTelemetryConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* const* envoy_config_trace_v3_OpenTelemetryConfig_resource_detectors(const envoy_config_trace_v3_OpenTelemetryConfig* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct envoy_config_core_v3_TypedExtensionConfig* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_config_trace_v3_OpenTelemetryConfig_resource_detectors_upb_array(const envoy_config_trace_v3_OpenTelemetryConfig* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_config_trace_v3_OpenTelemetryConfig_resource_detectors_mutable_upb_array(const envoy_config_trace_v3_OpenTelemetryConfig* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_config_trace_v3_OpenTelemetryConfig_has_resource_detectors(const envoy_config_trace_v3_OpenTelemetryConfig* msg) { + size_t size; + envoy_config_trace_v3_OpenTelemetryConfig_resource_detectors(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_config_trace_v3_OpenTelemetryConfig_clear_sampler(envoy_config_trace_v3_OpenTelemetryConfig* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_trace_v3_OpenTelemetryConfig_sampler(const envoy_config_trace_v3_OpenTelemetryConfig* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_config_trace_v3_OpenTelemetryConfig_has_sampler(const envoy_config_trace_v3_OpenTelemetryConfig* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_config_trace_v3_OpenTelemetryConfig_set_grpc_service(envoy_config_trace_v3_OpenTelemetryConfig *msg, struct envoy_config_core_v3_GrpcService* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_GrpcService* envoy_config_trace_v3_OpenTelemetryConfig_mutable_grpc_service(envoy_config_trace_v3_OpenTelemetryConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)envoy_config_trace_v3_OpenTelemetryConfig_grpc_service(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy__config__core__v3__GrpcService_msg_init, arena); + if (sub) envoy_config_trace_v3_OpenTelemetryConfig_set_grpc_service(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_config_trace_v3_OpenTelemetryConfig_set_service_name(envoy_config_trace_v3_OpenTelemetryConfig *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_config_trace_v3_OpenTelemetryConfig_set_http_service(envoy_config_trace_v3_OpenTelemetryConfig *msg, struct envoy_config_core_v3_HttpService* value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_HttpService* envoy_config_trace_v3_OpenTelemetryConfig_mutable_http_service(envoy_config_trace_v3_OpenTelemetryConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_HttpService* sub = (struct envoy_config_core_v3_HttpService*)envoy_config_trace_v3_OpenTelemetryConfig_http_service(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_HttpService*)_upb_Message_New(&envoy__config__core__v3__HttpService_msg_init, arena); + if (sub) envoy_config_trace_v3_OpenTelemetryConfig_set_http_service(msg, sub); + } + return sub; +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig** envoy_config_trace_v3_OpenTelemetryConfig_mutable_resource_detectors(envoy_config_trace_v3_OpenTelemetryConfig* msg, size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct envoy_config_core_v3_TypedExtensionConfig**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig** envoy_config_trace_v3_OpenTelemetryConfig_resize_resource_detectors(envoy_config_trace_v3_OpenTelemetryConfig* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct envoy_config_core_v3_TypedExtensionConfig**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_trace_v3_OpenTelemetryConfig_add_resource_detectors(envoy_config_trace_v3_OpenTelemetryConfig* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_config_trace_v3_OpenTelemetryConfig_set_sampler(envoy_config_trace_v3_OpenTelemetryConfig *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_trace_v3_OpenTelemetryConfig_mutable_sampler(envoy_config_trace_v3_OpenTelemetryConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_trace_v3_OpenTelemetryConfig_sampler(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_config_trace_v3_OpenTelemetryConfig_set_sampler(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TRACE_V3_OPENTELEMETRY_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c new file mode 100644 index 00000000000..227355fc815 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c @@ -0,0 +1,65 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/opentelemetry.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/trace/v3/opentelemetry.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "envoy/config/core/v3/http_service.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_trace_v3_OpenTelemetryConfig_submsgs[4] = { + {.submsg = &envoy__config__core__v3__GrpcService_msg_init}, + {.submsg = &envoy__config__core__v3__HttpService_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_trace_v3_OpenTelemetryConfig__fields[5] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__trace__v3__OpenTelemetryConfig_msg_init = { + &envoy_config_trace_v3_OpenTelemetryConfig_submsgs[0], + &envoy_config_trace_v3_OpenTelemetryConfig__fields[0], + UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + {0x002800003f020022, &upb_prm_1bt_maxmaxb}, + {0x003000000303002a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__trace__v3__OpenTelemetryConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_trace_v3_opentelemetry_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h new file mode 100644 index 00000000000..b3887bb385a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/opentelemetry.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TRACE_V3_OPENTELEMETRY_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_TRACE_V3_OPENTELEMETRY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__trace__v3__OpenTelemetryConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_trace_v3_opentelemetry_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TRACE_V3_OPENTELEMETRY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h b/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h similarity index 81% rename from src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h rename to src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h index 47074d58587..865e53c83ca 100644 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/service.proto * @@ -10,7 +9,15 @@ #define ENVOY_CONFIG_TRACE_V3_SERVICE_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/trace/v3/service.upb_minitable.h" + +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +25,19 @@ extern "C" { #endif typedef struct envoy_config_trace_v3_TraceServiceConfig envoy_config_trace_v3_TraceServiceConfig; -extern const upb_MiniTable envoy_config_trace_v3_TraceServiceConfig_msg_init; struct envoy_config_core_v3_GrpcService; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_msg_init; /* envoy.config.trace.v3.TraceServiceConfig */ UPB_INLINE envoy_config_trace_v3_TraceServiceConfig* envoy_config_trace_v3_TraceServiceConfig_new(upb_Arena* arena) { - return (envoy_config_trace_v3_TraceServiceConfig*)_upb_Message_New(&envoy_config_trace_v3_TraceServiceConfig_msg_init, arena); + return (envoy_config_trace_v3_TraceServiceConfig*)_upb_Message_New(&envoy__config__trace__v3__TraceServiceConfig_msg_init, arena); } UPB_INLINE envoy_config_trace_v3_TraceServiceConfig* envoy_config_trace_v3_TraceServiceConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_trace_v3_TraceServiceConfig* ret = envoy_config_trace_v3_TraceServiceConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_TraceServiceConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__TraceServiceConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +47,7 @@ UPB_INLINE envoy_config_trace_v3_TraceServiceConfig* envoy_config_trace_v3_Trace int options, upb_Arena* arena) { envoy_config_trace_v3_TraceServiceConfig* ret = envoy_config_trace_v3_TraceServiceConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_TraceServiceConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__TraceServiceConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +55,13 @@ UPB_INLINE envoy_config_trace_v3_TraceServiceConfig* envoy_config_trace_v3_Trace } UPB_INLINE char* envoy_config_trace_v3_TraceServiceConfig_serialize(const envoy_config_trace_v3_TraceServiceConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_TraceServiceConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__TraceServiceConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_trace_v3_TraceServiceConfig_serialize_ex(const envoy_config_trace_v3_TraceServiceConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_TraceServiceConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__TraceServiceConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_trace_v3_TraceServiceConfig_clear_grpc_service(envoy_config_trace_v3_TraceServiceConfig* msg) { @@ -82,14 +87,12 @@ UPB_INLINE void envoy_config_trace_v3_TraceServiceConfig_set_grpc_service(envoy_ UPB_INLINE struct envoy_config_core_v3_GrpcService* envoy_config_trace_v3_TraceServiceConfig_mutable_grpc_service(envoy_config_trace_v3_TraceServiceConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)envoy_config_trace_v3_TraceServiceConfig_grpc_service(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy_config_core_v3_GrpcService_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy__config__core__v3__GrpcService_msg_init, arena); if (sub) envoy_config_trace_v3_TraceServiceConfig_set_grpc_service(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_trace_v3_service_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c new file mode 100644 index 00000000000..caf578c757e --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c @@ -0,0 +1,51 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/service.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/trace/v3/service.upb_minitable.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_trace_v3_TraceServiceConfig_submsgs[1] = { + {.submsg = &envoy__config__core__v3__GrpcService_msg_init}, +}; + +static const upb_MiniTableField envoy_config_trace_v3_TraceServiceConfig__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__trace__v3__TraceServiceConfig_msg_init = { + &envoy_config_trace_v3_TraceServiceConfig_submsgs[0], + &envoy_config_trace_v3_TraceServiceConfig__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__trace__v3__TraceServiceConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_trace_v3_service_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h new file mode 100644 index 00000000000..d11957f4b3f --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/service.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TRACE_V3_SERVICE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_TRACE_V3_SERVICE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__trace__v3__TraceServiceConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_trace_v3_service_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TRACE_V3_SERVICE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h b/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h similarity index 90% rename from src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h rename to src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h index 8072a7855d2..c8621b37a2f 100644 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/skywalking.proto * @@ -10,7 +9,17 @@ #define ENVOY_CONFIG_TRACE_V3_SKYWALKING_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/trace/v3/skywalking.upb_minitable.h" + +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/sensitive.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,24 +28,20 @@ extern "C" { typedef struct envoy_config_trace_v3_SkyWalkingConfig envoy_config_trace_v3_SkyWalkingConfig; typedef struct envoy_config_trace_v3_ClientConfig envoy_config_trace_v3_ClientConfig; -extern const upb_MiniTable envoy_config_trace_v3_SkyWalkingConfig_msg_init; -extern const upb_MiniTable envoy_config_trace_v3_ClientConfig_msg_init; struct envoy_config_core_v3_GrpcService; struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; /* envoy.config.trace.v3.SkyWalkingConfig */ UPB_INLINE envoy_config_trace_v3_SkyWalkingConfig* envoy_config_trace_v3_SkyWalkingConfig_new(upb_Arena* arena) { - return (envoy_config_trace_v3_SkyWalkingConfig*)_upb_Message_New(&envoy_config_trace_v3_SkyWalkingConfig_msg_init, arena); + return (envoy_config_trace_v3_SkyWalkingConfig*)_upb_Message_New(&envoy__config__trace__v3__SkyWalkingConfig_msg_init, arena); } UPB_INLINE envoy_config_trace_v3_SkyWalkingConfig* envoy_config_trace_v3_SkyWalkingConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_trace_v3_SkyWalkingConfig* ret = envoy_config_trace_v3_SkyWalkingConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_SkyWalkingConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__SkyWalkingConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -46,7 +51,7 @@ UPB_INLINE envoy_config_trace_v3_SkyWalkingConfig* envoy_config_trace_v3_SkyWalk int options, upb_Arena* arena) { envoy_config_trace_v3_SkyWalkingConfig* ret = envoy_config_trace_v3_SkyWalkingConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_SkyWalkingConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__SkyWalkingConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -54,13 +59,13 @@ UPB_INLINE envoy_config_trace_v3_SkyWalkingConfig* envoy_config_trace_v3_SkyWalk } UPB_INLINE char* envoy_config_trace_v3_SkyWalkingConfig_serialize(const envoy_config_trace_v3_SkyWalkingConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_SkyWalkingConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__SkyWalkingConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_trace_v3_SkyWalkingConfig_serialize_ex(const envoy_config_trace_v3_SkyWalkingConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_SkyWalkingConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__SkyWalkingConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_trace_v3_SkyWalkingConfig_clear_grpc_service(envoy_config_trace_v3_SkyWalkingConfig* msg) { @@ -101,7 +106,7 @@ UPB_INLINE void envoy_config_trace_v3_SkyWalkingConfig_set_grpc_service(envoy_co UPB_INLINE struct envoy_config_core_v3_GrpcService* envoy_config_trace_v3_SkyWalkingConfig_mutable_grpc_service(envoy_config_trace_v3_SkyWalkingConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)envoy_config_trace_v3_SkyWalkingConfig_grpc_service(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy_config_core_v3_GrpcService_msg_init, arena); + sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy__config__core__v3__GrpcService_msg_init, arena); if (sub) envoy_config_trace_v3_SkyWalkingConfig_set_grpc_service(msg, sub); } return sub; @@ -113,7 +118,7 @@ UPB_INLINE void envoy_config_trace_v3_SkyWalkingConfig_set_client_config(envoy_c UPB_INLINE struct envoy_config_trace_v3_ClientConfig* envoy_config_trace_v3_SkyWalkingConfig_mutable_client_config(envoy_config_trace_v3_SkyWalkingConfig* msg, upb_Arena* arena) { struct envoy_config_trace_v3_ClientConfig* sub = (struct envoy_config_trace_v3_ClientConfig*)envoy_config_trace_v3_SkyWalkingConfig_client_config(msg); if (sub == NULL) { - sub = (struct envoy_config_trace_v3_ClientConfig*)_upb_Message_New(&envoy_config_trace_v3_ClientConfig_msg_init, arena); + sub = (struct envoy_config_trace_v3_ClientConfig*)_upb_Message_New(&envoy__config__trace__v3__ClientConfig_msg_init, arena); if (sub) envoy_config_trace_v3_SkyWalkingConfig_set_client_config(msg, sub); } return sub; @@ -122,12 +127,12 @@ UPB_INLINE struct envoy_config_trace_v3_ClientConfig* envoy_config_trace_v3_SkyW /* envoy.config.trace.v3.ClientConfig */ UPB_INLINE envoy_config_trace_v3_ClientConfig* envoy_config_trace_v3_ClientConfig_new(upb_Arena* arena) { - return (envoy_config_trace_v3_ClientConfig*)_upb_Message_New(&envoy_config_trace_v3_ClientConfig_msg_init, arena); + return (envoy_config_trace_v3_ClientConfig*)_upb_Message_New(&envoy__config__trace__v3__ClientConfig_msg_init, arena); } UPB_INLINE envoy_config_trace_v3_ClientConfig* envoy_config_trace_v3_ClientConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_trace_v3_ClientConfig* ret = envoy_config_trace_v3_ClientConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_ClientConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__ClientConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -137,7 +142,7 @@ UPB_INLINE envoy_config_trace_v3_ClientConfig* envoy_config_trace_v3_ClientConfi int options, upb_Arena* arena) { envoy_config_trace_v3_ClientConfig* ret = envoy_config_trace_v3_ClientConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_ClientConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__ClientConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -145,13 +150,13 @@ UPB_INLINE envoy_config_trace_v3_ClientConfig* envoy_config_trace_v3_ClientConfi } UPB_INLINE char* envoy_config_trace_v3_ClientConfig_serialize(const envoy_config_trace_v3_ClientConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_ClientConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__ClientConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_trace_v3_ClientConfig_serialize_ex(const envoy_config_trace_v3_ClientConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_ClientConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__ClientConfig_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -234,14 +239,12 @@ UPB_INLINE void envoy_config_trace_v3_ClientConfig_set_max_cache_size(envoy_conf UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_trace_v3_ClientConfig_mutable_max_cache_size(envoy_config_trace_v3_ClientConfig* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_trace_v3_ClientConfig_max_cache_size(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_config_trace_v3_ClientConfig_set_max_cache_size(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_trace_v3_skywalking_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c new file mode 100644 index 00000000000..18570b3ccf8 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c @@ -0,0 +1,85 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/skywalking.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/trace/v3/skywalking.upb_minitable.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/sensitive.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_trace_v3_SkyWalkingConfig_submsgs[2] = { + {.submsg = &envoy__config__core__v3__GrpcService_msg_init}, + {.submsg = &envoy__config__trace__v3__ClientConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_config_trace_v3_SkyWalkingConfig__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__trace__v3__SkyWalkingConfig_msg_init = { + &envoy_config_trace_v3_SkyWalkingConfig_submsgs[0], + &envoy_config_trace_v3_SkyWalkingConfig__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_trace_v3_ClientConfig_submsgs[1] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_config_trace_v3_ClientConfig__fields[4] = { + {1, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(28, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 56), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__trace__v3__ClientConfig_msg_init = { + &envoy_config_trace_v3_ClientConfig_submsgs[0], + &envoy_config_trace_v3_ClientConfig__fields[0], + UPB_SIZE(40, 64), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f00000a, &upb_pss_1bt}, + {0x002800003f000012, &upb_pss_1bt}, + {0x000800040300001a, &upb_pos_1bt}, + {0x0038000001000022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__config__trace__v3__SkyWalkingConfig_msg_init, + &envoy__config__trace__v3__ClientConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_trace_v3_skywalking_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h new file mode 100644 index 00000000000..08ef598dd64 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/skywalking.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TRACE_V3_SKYWALKING_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_TRACE_V3_SKYWALKING_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__trace__v3__SkyWalkingConfig_msg_init; +extern const upb_MiniTable envoy__config__trace__v3__ClientConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_trace_v3_skywalking_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TRACE_V3_SKYWALKING_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h b/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h new file mode 100644 index 00000000000..dd8ad387d12 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h @@ -0,0 +1,49 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/trace.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TRACE_V3_TRACE_PROTO_UPB_H_ +#define ENVOY_CONFIG_TRACE_V3_TRACE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +/* Public Imports. */ +#include "envoy/config/trace/v3/datadog.upb.h" +#include "envoy/config/trace/v3/dynamic_ot.upb.h" +#include "envoy/config/trace/v3/http_tracer.upb.h" +#include "envoy/config/trace/v3/lightstep.upb.h" +#include "envoy/config/trace/v3/opencensus.upb.h" +#include "envoy/config/trace/v3/opentelemetry.upb.h" +#include "envoy/config/trace/v3/service.upb.h" +#include "envoy/config/trace/v3/zipkin.upb.h" + +#include "envoy/config/trace/v3/trace.upb_minitable.h" + +#include "envoy/config/trace/v3/datadog.upb_minitable.h" +#include "envoy/config/trace/v3/dynamic_ot.upb_minitable.h" +#include "envoy/config/trace/v3/http_tracer.upb_minitable.h" +#include "envoy/config/trace/v3/lightstep.upb_minitable.h" +#include "envoy/config/trace/v3/opencensus.upb_minitable.h" +#include "envoy/config/trace/v3/opentelemetry.upb_minitable.h" +#include "envoy/config/trace/v3/service.upb_minitable.h" +#include "envoy/config/trace/v3/zipkin.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TRACE_V3_TRACE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c new file mode 100644 index 00000000000..eb396c3b2d5 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c @@ -0,0 +1,33 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/trace.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/trace/v3/trace.upb_minitable.h" +#include "envoy/config/trace/v3/datadog.upb_minitable.h" +#include "envoy/config/trace/v3/dynamic_ot.upb_minitable.h" +#include "envoy/config/trace/v3/http_tracer.upb_minitable.h" +#include "envoy/config/trace/v3/lightstep.upb_minitable.h" +#include "envoy/config/trace/v3/opencensus.upb_minitable.h" +#include "envoy/config/trace/v3/opentelemetry.upb_minitable.h" +#include "envoy/config/trace/v3/service.upb_minitable.h" +#include "envoy/config/trace/v3/zipkin.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +const upb_MiniTableFile envoy_config_trace_v3_trace_proto_upb_file_layout = { + NULL, + NULL, + NULL, + 0, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h new file mode 100644 index 00000000000..772847047f6 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h @@ -0,0 +1,39 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/trace.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TRACE_V3_TRACE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_TRACE_V3_TRACE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" +/* Public Imports. */ +#include "envoy/config/trace/v3/datadog.upb_minitable.h" +#include "envoy/config/trace/v3/dynamic_ot.upb_minitable.h" +#include "envoy/config/trace/v3/http_tracer.upb_minitable.h" +#include "envoy/config/trace/v3/lightstep.upb_minitable.h" +#include "envoy/config/trace/v3/opencensus.upb_minitable.h" +#include "envoy/config/trace/v3/opentelemetry.upb_minitable.h" +#include "envoy/config/trace/v3/service.upb_minitable.h" +#include "envoy/config/trace/v3/zipkin.upb_minitable.h" + + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + + +extern const upb_MiniTableFile envoy_config_trace_v3_trace_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TRACE_V3_TRACE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h b/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h similarity index 88% rename from src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h rename to src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h index 21c4353bcdf..dd236caa792 100644 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/xray.proto * @@ -10,7 +9,18 @@ #define ENVOY_CONFIG_TRACE_V3_XRAY_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/trace/v3/xray.upb_minitable.h" + +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,26 +29,21 @@ extern "C" { typedef struct envoy_config_trace_v3_XRayConfig envoy_config_trace_v3_XRayConfig; typedef struct envoy_config_trace_v3_XRayConfig_SegmentFields envoy_config_trace_v3_XRayConfig_SegmentFields; -extern const upb_MiniTable envoy_config_trace_v3_XRayConfig_msg_init; -extern const upb_MiniTable envoy_config_trace_v3_XRayConfig_SegmentFields_msg_init; struct envoy_config_core_v3_DataSource; struct envoy_config_core_v3_SocketAddress; struct google_protobuf_Struct; -extern const upb_MiniTable envoy_config_core_v3_DataSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_SocketAddress_msg_init; -extern const upb_MiniTable google_protobuf_Struct_msg_init; /* envoy.config.trace.v3.XRayConfig */ UPB_INLINE envoy_config_trace_v3_XRayConfig* envoy_config_trace_v3_XRayConfig_new(upb_Arena* arena) { - return (envoy_config_trace_v3_XRayConfig*)_upb_Message_New(&envoy_config_trace_v3_XRayConfig_msg_init, arena); + return (envoy_config_trace_v3_XRayConfig*)_upb_Message_New(&envoy__config__trace__v3__XRayConfig_msg_init, arena); } UPB_INLINE envoy_config_trace_v3_XRayConfig* envoy_config_trace_v3_XRayConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_trace_v3_XRayConfig* ret = envoy_config_trace_v3_XRayConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_XRayConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__XRayConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -48,7 +53,7 @@ UPB_INLINE envoy_config_trace_v3_XRayConfig* envoy_config_trace_v3_XRayConfig_pa int options, upb_Arena* arena) { envoy_config_trace_v3_XRayConfig* ret = envoy_config_trace_v3_XRayConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_XRayConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__XRayConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -56,13 +61,13 @@ UPB_INLINE envoy_config_trace_v3_XRayConfig* envoy_config_trace_v3_XRayConfig_pa } UPB_INLINE char* envoy_config_trace_v3_XRayConfig_serialize(const envoy_config_trace_v3_XRayConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_XRayConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__XRayConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_trace_v3_XRayConfig_serialize_ex(const envoy_config_trace_v3_XRayConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_XRayConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__XRayConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_trace_v3_XRayConfig_clear_daemon_endpoint(envoy_config_trace_v3_XRayConfig* msg) { @@ -129,7 +134,7 @@ UPB_INLINE void envoy_config_trace_v3_XRayConfig_set_daemon_endpoint(envoy_confi UPB_INLINE struct envoy_config_core_v3_SocketAddress* envoy_config_trace_v3_XRayConfig_mutable_daemon_endpoint(envoy_config_trace_v3_XRayConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_SocketAddress* sub = (struct envoy_config_core_v3_SocketAddress*)envoy_config_trace_v3_XRayConfig_daemon_endpoint(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_SocketAddress*)_upb_Message_New(&envoy_config_core_v3_SocketAddress_msg_init, arena); + sub = (struct envoy_config_core_v3_SocketAddress*)_upb_Message_New(&envoy__config__core__v3__SocketAddress_msg_init, arena); if (sub) envoy_config_trace_v3_XRayConfig_set_daemon_endpoint(msg, sub); } return sub; @@ -145,7 +150,7 @@ UPB_INLINE void envoy_config_trace_v3_XRayConfig_set_sampling_rule_manifest(envo UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_trace_v3_XRayConfig_mutable_sampling_rule_manifest(envoy_config_trace_v3_XRayConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_config_trace_v3_XRayConfig_sampling_rule_manifest(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); if (sub) envoy_config_trace_v3_XRayConfig_set_sampling_rule_manifest(msg, sub); } return sub; @@ -157,7 +162,7 @@ UPB_INLINE void envoy_config_trace_v3_XRayConfig_set_segment_fields(envoy_config UPB_INLINE struct envoy_config_trace_v3_XRayConfig_SegmentFields* envoy_config_trace_v3_XRayConfig_mutable_segment_fields(envoy_config_trace_v3_XRayConfig* msg, upb_Arena* arena) { struct envoy_config_trace_v3_XRayConfig_SegmentFields* sub = (struct envoy_config_trace_v3_XRayConfig_SegmentFields*)envoy_config_trace_v3_XRayConfig_segment_fields(msg); if (sub == NULL) { - sub = (struct envoy_config_trace_v3_XRayConfig_SegmentFields*)_upb_Message_New(&envoy_config_trace_v3_XRayConfig_SegmentFields_msg_init, arena); + sub = (struct envoy_config_trace_v3_XRayConfig_SegmentFields*)_upb_Message_New(&envoy__config__trace__v3__XRayConfig__SegmentFields_msg_init, arena); if (sub) envoy_config_trace_v3_XRayConfig_set_segment_fields(msg, sub); } return sub; @@ -166,12 +171,12 @@ UPB_INLINE struct envoy_config_trace_v3_XRayConfig_SegmentFields* envoy_config_t /* envoy.config.trace.v3.XRayConfig.SegmentFields */ UPB_INLINE envoy_config_trace_v3_XRayConfig_SegmentFields* envoy_config_trace_v3_XRayConfig_SegmentFields_new(upb_Arena* arena) { - return (envoy_config_trace_v3_XRayConfig_SegmentFields*)_upb_Message_New(&envoy_config_trace_v3_XRayConfig_SegmentFields_msg_init, arena); + return (envoy_config_trace_v3_XRayConfig_SegmentFields*)_upb_Message_New(&envoy__config__trace__v3__XRayConfig__SegmentFields_msg_init, arena); } UPB_INLINE envoy_config_trace_v3_XRayConfig_SegmentFields* envoy_config_trace_v3_XRayConfig_SegmentFields_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_trace_v3_XRayConfig_SegmentFields* ret = envoy_config_trace_v3_XRayConfig_SegmentFields_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_XRayConfig_SegmentFields_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__XRayConfig__SegmentFields_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -181,7 +186,7 @@ UPB_INLINE envoy_config_trace_v3_XRayConfig_SegmentFields* envoy_config_trace_v3 int options, upb_Arena* arena) { envoy_config_trace_v3_XRayConfig_SegmentFields* ret = envoy_config_trace_v3_XRayConfig_SegmentFields_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_XRayConfig_SegmentFields_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__XRayConfig__SegmentFields_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -189,13 +194,13 @@ UPB_INLINE envoy_config_trace_v3_XRayConfig_SegmentFields* envoy_config_trace_v3 } UPB_INLINE char* envoy_config_trace_v3_XRayConfig_SegmentFields_serialize(const envoy_config_trace_v3_XRayConfig_SegmentFields* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_XRayConfig_SegmentFields_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__XRayConfig__SegmentFields_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_trace_v3_XRayConfig_SegmentFields_serialize_ex(const envoy_config_trace_v3_XRayConfig_SegmentFields* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_XRayConfig_SegmentFields_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__XRayConfig__SegmentFields_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_trace_v3_XRayConfig_SegmentFields_clear_origin(envoy_config_trace_v3_XRayConfig_SegmentFields* msg) { @@ -236,14 +241,12 @@ UPB_INLINE void envoy_config_trace_v3_XRayConfig_SegmentFields_set_aws(envoy_con UPB_INLINE struct google_protobuf_Struct* envoy_config_trace_v3_XRayConfig_SegmentFields_mutable_aws(envoy_config_trace_v3_XRayConfig_SegmentFields* msg, upb_Arena* arena) { struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_trace_v3_XRayConfig_SegmentFields_aws(msg); if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); if (sub) envoy_config_trace_v3_XRayConfig_SegmentFields_set_aws(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_config_trace_v3_xray_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c new file mode 100644 index 00000000000..fa111a65101 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c @@ -0,0 +1,87 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/xray.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/trace/v3/xray.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_trace_v3_XRayConfig_submsgs[3] = { + {.submsg = &envoy__config__core__v3__SocketAddress_msg_init}, + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, + {.submsg = &envoy__config__trace__v3__XRayConfig__SegmentFields_msg_init}, +}; + +static const upb_MiniTableField envoy_config_trace_v3_XRayConfig__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__trace__v3__XRayConfig_msg_init = { + &envoy_config_trace_v3_XRayConfig_submsgs[0], + &envoy_config_trace_v3_XRayConfig__fields[0], + UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + {0x0028000003020022, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_config_trace_v3_XRayConfig_SegmentFields_submsgs[1] = { + {.submsg = &google__protobuf__Struct_msg_init}, +}; + +static const upb_MiniTableField envoy_config_trace_v3_XRayConfig_SegmentFields__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__trace__v3__XRayConfig__SegmentFields_msg_init = { + &envoy_config_trace_v3_XRayConfig_SegmentFields_submsgs[0], + &envoy_config_trace_v3_XRayConfig_SegmentFields__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__config__trace__v3__XRayConfig_msg_init, + &envoy__config__trace__v3__XRayConfig__SegmentFields_msg_init, +}; + +const upb_MiniTableFile envoy_config_trace_v3_xray_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h new file mode 100644 index 00000000000..39da1cd5267 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/xray.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TRACE_V3_XRAY_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_TRACE_V3_XRAY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__trace__v3__XRayConfig_msg_init; +extern const upb_MiniTable envoy__config__trace__v3__XRayConfig__SegmentFields_msg_init; + +extern const upb_MiniTableFile envoy_config_trace_v3_xray_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TRACE_V3_XRAY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h b/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h rename to src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h index c354cf8f7a4..906c257969d 100644 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/zipkin.proto * @@ -10,7 +9,17 @@ #define ENVOY_CONFIG_TRACE_V3_ZIPKIN_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/config/trace/v3/zipkin.upb_minitable.h" + +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,9 +27,7 @@ extern "C" { #endif typedef struct envoy_config_trace_v3_ZipkinConfig envoy_config_trace_v3_ZipkinConfig; -extern const upb_MiniTable envoy_config_trace_v3_ZipkinConfig_msg_init; struct google_protobuf_BoolValue; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; typedef enum { envoy_config_trace_v3_ZipkinConfig_DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE = 0, @@ -34,12 +41,12 @@ typedef enum { /* envoy.config.trace.v3.ZipkinConfig */ UPB_INLINE envoy_config_trace_v3_ZipkinConfig* envoy_config_trace_v3_ZipkinConfig_new(upb_Arena* arena) { - return (envoy_config_trace_v3_ZipkinConfig*)_upb_Message_New(&envoy_config_trace_v3_ZipkinConfig_msg_init, arena); + return (envoy_config_trace_v3_ZipkinConfig*)_upb_Message_New(&envoy__config__trace__v3__ZipkinConfig_msg_init, arena); } UPB_INLINE envoy_config_trace_v3_ZipkinConfig* envoy_config_trace_v3_ZipkinConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_config_trace_v3_ZipkinConfig* ret = envoy_config_trace_v3_ZipkinConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_ZipkinConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__ZipkinConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -49,7 +56,7 @@ UPB_INLINE envoy_config_trace_v3_ZipkinConfig* envoy_config_trace_v3_ZipkinConfi int options, upb_Arena* arena) { envoy_config_trace_v3_ZipkinConfig* ret = envoy_config_trace_v3_ZipkinConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_ZipkinConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__config__trace__v3__ZipkinConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -57,13 +64,13 @@ UPB_INLINE envoy_config_trace_v3_ZipkinConfig* envoy_config_trace_v3_ZipkinConfi } UPB_INLINE char* envoy_config_trace_v3_ZipkinConfig_serialize(const envoy_config_trace_v3_ZipkinConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_ZipkinConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__ZipkinConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_config_trace_v3_ZipkinConfig_serialize_ex(const envoy_config_trace_v3_ZipkinConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_ZipkinConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__config__trace__v3__ZipkinConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_config_trace_v3_ZipkinConfig_clear_collector_cluster(envoy_config_trace_v3_ZipkinConfig* msg) { @@ -167,7 +174,7 @@ UPB_INLINE void envoy_config_trace_v3_ZipkinConfig_set_shared_span_context(envoy UPB_INLINE struct google_protobuf_BoolValue* envoy_config_trace_v3_ZipkinConfig_mutable_shared_span_context(envoy_config_trace_v3_ZipkinConfig* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_trace_v3_ZipkinConfig_shared_span_context(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_config_trace_v3_ZipkinConfig_set_shared_span_context(msg, sub); } return sub; @@ -185,8 +192,6 @@ UPB_INLINE void envoy_config_trace_v3_ZipkinConfig_set_split_spans_for_request(e _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_config_trace_v3_zipkin_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c b/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c new file mode 100644 index 00000000000..6e131df2086 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c @@ -0,0 +1,65 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/zipkin.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/config/trace/v3/zipkin.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_config_trace_v3_ZipkinConfig_submsgs[1] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_config_trace_v3_ZipkinConfig__fields[7] = { + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__config__trace__v3__ZipkinConfig_msg_init = { + &envoy_config_trace_v3_ZipkinConfig_submsgs[0], + &envoy_config_trace_v3_ZipkinConfig__fields[0], + UPB_SIZE(40, 72), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f00000a, &upb_pss_1bt}, + {0x002000003f000012, &upb_pss_1bt}, + {0x000100003f000018, &upb_psb1_1bt}, + {0x0030000001000022, &upb_psm_1bt_maxmaxb}, + {0x000400003f000028, &upb_psv4_1bt}, + {0x003800003f000032, &upb_pss_1bt}, + {0x000800003f000038, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__config__trace__v3__ZipkinConfig_msg_init, +}; + +const upb_MiniTableFile envoy_config_trace_v3_zipkin_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h b/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h new file mode 100644 index 00000000000..7acdf3ec906 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/zipkin.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TRACE_V3_ZIPKIN_PROTO_UPB_MINITABLE_H_ +#define ENVOY_CONFIG_TRACE_V3_ZIPKIN_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__config__trace__v3__ZipkinConfig_msg_init; + +extern const upb_MiniTableFile envoy_config_trace_v3_zipkin_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TRACE_V3_ZIPKIN_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h b/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h new file mode 100644 index 00000000000..d0efa2f60a6 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h @@ -0,0 +1,2709 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/data/accesslog/v3/accesslog.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_H_ +#define ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/data/accesslog/v3/accesslog.upb_minitable.h" + +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_data_accesslog_v3_TCPAccessLogEntry envoy_data_accesslog_v3_TCPAccessLogEntry; +typedef struct envoy_data_accesslog_v3_HTTPAccessLogEntry envoy_data_accesslog_v3_HTTPAccessLogEntry; +typedef struct envoy_data_accesslog_v3_ConnectionProperties envoy_data_accesslog_v3_ConnectionProperties; +typedef struct envoy_data_accesslog_v3_AccessLogCommon envoy_data_accesslog_v3_AccessLogCommon; +typedef struct envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry; +typedef struct envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry; +typedef struct envoy_data_accesslog_v3_ResponseFlags envoy_data_accesslog_v3_ResponseFlags; +typedef struct envoy_data_accesslog_v3_ResponseFlags_Unauthorized envoy_data_accesslog_v3_ResponseFlags_Unauthorized; +typedef struct envoy_data_accesslog_v3_TLSProperties envoy_data_accesslog_v3_TLSProperties; +typedef struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties envoy_data_accesslog_v3_TLSProperties_CertificateProperties; +typedef struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName; +typedef struct envoy_data_accesslog_v3_HTTPRequestProperties envoy_data_accesslog_v3_HTTPRequestProperties; +typedef struct envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry; +typedef struct envoy_data_accesslog_v3_HTTPResponseProperties envoy_data_accesslog_v3_HTTPResponseProperties; +typedef struct envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry; +typedef struct envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry; +struct envoy_config_core_v3_Address; +struct envoy_config_core_v3_Metadata; +struct google_protobuf_Any; +struct google_protobuf_Duration; +struct google_protobuf_Timestamp; +struct google_protobuf_UInt32Value; + +typedef enum { + envoy_data_accesslog_v3_NotSet = 0, + envoy_data_accesslog_v3_TcpUpstreamConnected = 1, + envoy_data_accesslog_v3_TcpPeriodic = 2, + envoy_data_accesslog_v3_TcpConnectionEnd = 3, + envoy_data_accesslog_v3_DownstreamStart = 4, + envoy_data_accesslog_v3_DownstreamPeriodic = 5, + envoy_data_accesslog_v3_DownstreamEnd = 6, + envoy_data_accesslog_v3_UpstreamPoolReady = 7, + envoy_data_accesslog_v3_UpstreamPeriodic = 8, + envoy_data_accesslog_v3_UpstreamEnd = 9, + envoy_data_accesslog_v3_DownstreamTunnelSuccessfullyEstablished = 10, + envoy_data_accesslog_v3_UdpTunnelUpstreamConnected = 11, + envoy_data_accesslog_v3_UdpPeriodic = 12, + envoy_data_accesslog_v3_UdpSessionEnd = 13 +} envoy_data_accesslog_v3_AccessLogType; + +typedef enum { + envoy_data_accesslog_v3_HTTPAccessLogEntry_PROTOCOL_UNSPECIFIED = 0, + envoy_data_accesslog_v3_HTTPAccessLogEntry_HTTP10 = 1, + envoy_data_accesslog_v3_HTTPAccessLogEntry_HTTP11 = 2, + envoy_data_accesslog_v3_HTTPAccessLogEntry_HTTP2 = 3, + envoy_data_accesslog_v3_HTTPAccessLogEntry_HTTP3 = 4 +} envoy_data_accesslog_v3_HTTPAccessLogEntry_HTTPVersion; + +typedef enum { + envoy_data_accesslog_v3_ResponseFlags_Unauthorized_REASON_UNSPECIFIED = 0, + envoy_data_accesslog_v3_ResponseFlags_Unauthorized_EXTERNAL_SERVICE = 1 +} envoy_data_accesslog_v3_ResponseFlags_Unauthorized_Reason; + +typedef enum { + envoy_data_accesslog_v3_TLSProperties_VERSION_UNSPECIFIED = 0, + envoy_data_accesslog_v3_TLSProperties_TLSv1 = 1, + envoy_data_accesslog_v3_TLSProperties_TLSv1_1 = 2, + envoy_data_accesslog_v3_TLSProperties_TLSv1_2 = 3, + envoy_data_accesslog_v3_TLSProperties_TLSv1_3 = 4 +} envoy_data_accesslog_v3_TLSProperties_TLSVersion; + + + +/* envoy.data.accesslog.v3.TCPAccessLogEntry */ + +UPB_INLINE envoy_data_accesslog_v3_TCPAccessLogEntry* envoy_data_accesslog_v3_TCPAccessLogEntry_new(upb_Arena* arena) { + return (envoy_data_accesslog_v3_TCPAccessLogEntry*)_upb_Message_New(&envoy__data__accesslog__v3__TCPAccessLogEntry_msg_init, arena); +} +UPB_INLINE envoy_data_accesslog_v3_TCPAccessLogEntry* envoy_data_accesslog_v3_TCPAccessLogEntry_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_data_accesslog_v3_TCPAccessLogEntry* ret = envoy_data_accesslog_v3_TCPAccessLogEntry_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__TCPAccessLogEntry_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_data_accesslog_v3_TCPAccessLogEntry* envoy_data_accesslog_v3_TCPAccessLogEntry_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_data_accesslog_v3_TCPAccessLogEntry* ret = envoy_data_accesslog_v3_TCPAccessLogEntry_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__TCPAccessLogEntry_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_data_accesslog_v3_TCPAccessLogEntry_serialize(const envoy_data_accesslog_v3_TCPAccessLogEntry* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__TCPAccessLogEntry_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_data_accesslog_v3_TCPAccessLogEntry_serialize_ex(const envoy_data_accesslog_v3_TCPAccessLogEntry* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__TCPAccessLogEntry_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_data_accesslog_v3_TCPAccessLogEntry_clear_common_properties(envoy_data_accesslog_v3_TCPAccessLogEntry* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_TCPAccessLogEntry_common_properties(const envoy_data_accesslog_v3_TCPAccessLogEntry* msg) { + const envoy_data_accesslog_v3_AccessLogCommon* default_val = NULL; + const envoy_data_accesslog_v3_AccessLogCommon* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_TCPAccessLogEntry_has_common_properties(const envoy_data_accesslog_v3_TCPAccessLogEntry* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_TCPAccessLogEntry_clear_connection_properties(envoy_data_accesslog_v3_TCPAccessLogEntry* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_data_accesslog_v3_ConnectionProperties* envoy_data_accesslog_v3_TCPAccessLogEntry_connection_properties(const envoy_data_accesslog_v3_TCPAccessLogEntry* msg) { + const envoy_data_accesslog_v3_ConnectionProperties* default_val = NULL; + const envoy_data_accesslog_v3_ConnectionProperties* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_TCPAccessLogEntry_has_connection_properties(const envoy_data_accesslog_v3_TCPAccessLogEntry* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_data_accesslog_v3_TCPAccessLogEntry_set_common_properties(envoy_data_accesslog_v3_TCPAccessLogEntry *msg, envoy_data_accesslog_v3_AccessLogCommon* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_TCPAccessLogEntry_mutable_common_properties(envoy_data_accesslog_v3_TCPAccessLogEntry* msg, upb_Arena* arena) { + struct envoy_data_accesslog_v3_AccessLogCommon* sub = (struct envoy_data_accesslog_v3_AccessLogCommon*)envoy_data_accesslog_v3_TCPAccessLogEntry_common_properties(msg); + if (sub == NULL) { + sub = (struct envoy_data_accesslog_v3_AccessLogCommon*)_upb_Message_New(&envoy__data__accesslog__v3__AccessLogCommon_msg_init, arena); + if (sub) envoy_data_accesslog_v3_TCPAccessLogEntry_set_common_properties(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_TCPAccessLogEntry_set_connection_properties(envoy_data_accesslog_v3_TCPAccessLogEntry *msg, envoy_data_accesslog_v3_ConnectionProperties* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_data_accesslog_v3_ConnectionProperties* envoy_data_accesslog_v3_TCPAccessLogEntry_mutable_connection_properties(envoy_data_accesslog_v3_TCPAccessLogEntry* msg, upb_Arena* arena) { + struct envoy_data_accesslog_v3_ConnectionProperties* sub = (struct envoy_data_accesslog_v3_ConnectionProperties*)envoy_data_accesslog_v3_TCPAccessLogEntry_connection_properties(msg); + if (sub == NULL) { + sub = (struct envoy_data_accesslog_v3_ConnectionProperties*)_upb_Message_New(&envoy__data__accesslog__v3__ConnectionProperties_msg_init, arena); + if (sub) envoy_data_accesslog_v3_TCPAccessLogEntry_set_connection_properties(msg, sub); + } + return sub; +} + +/* envoy.data.accesslog.v3.HTTPAccessLogEntry */ + +UPB_INLINE envoy_data_accesslog_v3_HTTPAccessLogEntry* envoy_data_accesslog_v3_HTTPAccessLogEntry_new(upb_Arena* arena) { + return (envoy_data_accesslog_v3_HTTPAccessLogEntry*)_upb_Message_New(&envoy__data__accesslog__v3__HTTPAccessLogEntry_msg_init, arena); +} +UPB_INLINE envoy_data_accesslog_v3_HTTPAccessLogEntry* envoy_data_accesslog_v3_HTTPAccessLogEntry_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_data_accesslog_v3_HTTPAccessLogEntry* ret = envoy_data_accesslog_v3_HTTPAccessLogEntry_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__HTTPAccessLogEntry_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_data_accesslog_v3_HTTPAccessLogEntry* envoy_data_accesslog_v3_HTTPAccessLogEntry_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_data_accesslog_v3_HTTPAccessLogEntry* ret = envoy_data_accesslog_v3_HTTPAccessLogEntry_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__HTTPAccessLogEntry_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_data_accesslog_v3_HTTPAccessLogEntry_serialize(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__HTTPAccessLogEntry_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_data_accesslog_v3_HTTPAccessLogEntry_serialize_ex(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__HTTPAccessLogEntry_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_clear_common_properties(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_HTTPAccessLogEntry_common_properties(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { + const envoy_data_accesslog_v3_AccessLogCommon* default_val = NULL; + const envoy_data_accesslog_v3_AccessLogCommon* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPAccessLogEntry_has_common_properties(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_clear_protocol_version(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_data_accesslog_v3_HTTPAccessLogEntry_protocol_version(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_clear_request(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_data_accesslog_v3_HTTPRequestProperties* envoy_data_accesslog_v3_HTTPAccessLogEntry_request(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { + const envoy_data_accesslog_v3_HTTPRequestProperties* default_val = NULL; + const envoy_data_accesslog_v3_HTTPRequestProperties* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPAccessLogEntry_has_request(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_clear_response(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_data_accesslog_v3_HTTPResponseProperties* envoy_data_accesslog_v3_HTTPAccessLogEntry_response(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { + const envoy_data_accesslog_v3_HTTPResponseProperties* default_val = NULL; + const envoy_data_accesslog_v3_HTTPResponseProperties* ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPAccessLogEntry_has_response(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_set_common_properties(envoy_data_accesslog_v3_HTTPAccessLogEntry *msg, envoy_data_accesslog_v3_AccessLogCommon* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_HTTPAccessLogEntry_mutable_common_properties(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg, upb_Arena* arena) { + struct envoy_data_accesslog_v3_AccessLogCommon* sub = (struct envoy_data_accesslog_v3_AccessLogCommon*)envoy_data_accesslog_v3_HTTPAccessLogEntry_common_properties(msg); + if (sub == NULL) { + sub = (struct envoy_data_accesslog_v3_AccessLogCommon*)_upb_Message_New(&envoy__data__accesslog__v3__AccessLogCommon_msg_init, arena); + if (sub) envoy_data_accesslog_v3_HTTPAccessLogEntry_set_common_properties(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_set_protocol_version(envoy_data_accesslog_v3_HTTPAccessLogEntry *msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_set_request(envoy_data_accesslog_v3_HTTPAccessLogEntry *msg, envoy_data_accesslog_v3_HTTPRequestProperties* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_data_accesslog_v3_HTTPRequestProperties* envoy_data_accesslog_v3_HTTPAccessLogEntry_mutable_request(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg, upb_Arena* arena) { + struct envoy_data_accesslog_v3_HTTPRequestProperties* sub = (struct envoy_data_accesslog_v3_HTTPRequestProperties*)envoy_data_accesslog_v3_HTTPAccessLogEntry_request(msg); + if (sub == NULL) { + sub = (struct envoy_data_accesslog_v3_HTTPRequestProperties*)_upb_Message_New(&envoy__data__accesslog__v3__HTTPRequestProperties_msg_init, arena); + if (sub) envoy_data_accesslog_v3_HTTPAccessLogEntry_set_request(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_set_response(envoy_data_accesslog_v3_HTTPAccessLogEntry *msg, envoy_data_accesslog_v3_HTTPResponseProperties* value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_data_accesslog_v3_HTTPResponseProperties* envoy_data_accesslog_v3_HTTPAccessLogEntry_mutable_response(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg, upb_Arena* arena) { + struct envoy_data_accesslog_v3_HTTPResponseProperties* sub = (struct envoy_data_accesslog_v3_HTTPResponseProperties*)envoy_data_accesslog_v3_HTTPAccessLogEntry_response(msg); + if (sub == NULL) { + sub = (struct envoy_data_accesslog_v3_HTTPResponseProperties*)_upb_Message_New(&envoy__data__accesslog__v3__HTTPResponseProperties_msg_init, arena); + if (sub) envoy_data_accesslog_v3_HTTPAccessLogEntry_set_response(msg, sub); + } + return sub; +} + +/* envoy.data.accesslog.v3.ConnectionProperties */ + +UPB_INLINE envoy_data_accesslog_v3_ConnectionProperties* envoy_data_accesslog_v3_ConnectionProperties_new(upb_Arena* arena) { + return (envoy_data_accesslog_v3_ConnectionProperties*)_upb_Message_New(&envoy__data__accesslog__v3__ConnectionProperties_msg_init, arena); +} +UPB_INLINE envoy_data_accesslog_v3_ConnectionProperties* envoy_data_accesslog_v3_ConnectionProperties_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_data_accesslog_v3_ConnectionProperties* ret = envoy_data_accesslog_v3_ConnectionProperties_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__ConnectionProperties_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_data_accesslog_v3_ConnectionProperties* envoy_data_accesslog_v3_ConnectionProperties_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_data_accesslog_v3_ConnectionProperties* ret = envoy_data_accesslog_v3_ConnectionProperties_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__ConnectionProperties_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_data_accesslog_v3_ConnectionProperties_serialize(const envoy_data_accesslog_v3_ConnectionProperties* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__ConnectionProperties_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_data_accesslog_v3_ConnectionProperties_serialize_ex(const envoy_data_accesslog_v3_ConnectionProperties* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__ConnectionProperties_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_data_accesslog_v3_ConnectionProperties_clear_received_bytes(envoy_data_accesslog_v3_ConnectionProperties* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_ConnectionProperties_received_bytes(const envoy_data_accesslog_v3_ConnectionProperties* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ConnectionProperties_clear_sent_bytes(envoy_data_accesslog_v3_ConnectionProperties* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_ConnectionProperties_sent_bytes(const envoy_data_accesslog_v3_ConnectionProperties* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_data_accesslog_v3_ConnectionProperties_set_received_bytes(envoy_data_accesslog_v3_ConnectionProperties *msg, uint64_t value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ConnectionProperties_set_sent_bytes(envoy_data_accesslog_v3_ConnectionProperties *msg, uint64_t value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.data.accesslog.v3.AccessLogCommon */ + +UPB_INLINE envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_AccessLogCommon_new(upb_Arena* arena) { + return (envoy_data_accesslog_v3_AccessLogCommon*)_upb_Message_New(&envoy__data__accesslog__v3__AccessLogCommon_msg_init, arena); +} +UPB_INLINE envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_AccessLogCommon_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_data_accesslog_v3_AccessLogCommon* ret = envoy_data_accesslog_v3_AccessLogCommon_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__AccessLogCommon_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_AccessLogCommon_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_data_accesslog_v3_AccessLogCommon* ret = envoy_data_accesslog_v3_AccessLogCommon_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__AccessLogCommon_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_data_accesslog_v3_AccessLogCommon_serialize(const envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__AccessLogCommon_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_data_accesslog_v3_AccessLogCommon_serialize_ex(const envoy_data_accesslog_v3_AccessLogCommon* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__AccessLogCommon_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_sample_rate(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(96, 16), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE double envoy_data_accesslog_v3_AccessLogCommon_sample_rate(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + double default_val = 0; + double ret; + const upb_MiniTableField field = {1, UPB_SIZE(96, 16), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_downstream_remote_address(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_downstream_remote_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct envoy_config_core_v3_Address* default_val = NULL; + const struct envoy_config_core_v3_Address* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_downstream_remote_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_downstream_local_address(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_downstream_local_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct envoy_config_core_v3_Address* default_val = NULL; + const struct envoy_config_core_v3_Address* ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_downstream_local_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_tls_properties(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_data_accesslog_v3_TLSProperties* envoy_data_accesslog_v3_AccessLogCommon_tls_properties(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const envoy_data_accesslog_v3_TLSProperties* default_val = NULL; + const envoy_data_accesslog_v3_TLSProperties* ret; + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_tls_properties(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_start_time(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Timestamp* envoy_data_accesslog_v3_AccessLogCommon_start_time(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct google_protobuf_Timestamp* default_val = NULL; + const struct google_protobuf_Timestamp* ret; + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_start_time(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_last_rx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_last_rx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_last_rx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_first_upstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_first_upstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_first_upstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_last_upstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_last_upstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_last_upstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_first_upstream_rx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_first_upstream_rx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_first_upstream_rx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_last_upstream_rx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_last_upstream_rx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_last_upstream_rx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_first_downstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(40, 96), 10, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_first_downstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {11, UPB_SIZE(40, 96), 10, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_first_downstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(40, 96), 10, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_last_downstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 11, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_last_downstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 11, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_last_downstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 11, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_remote_address(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 12, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_upstream_remote_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct envoy_config_core_v3_Address* default_val = NULL; + const struct envoy_config_core_v3_Address* ret; + const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 12, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_upstream_remote_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 12, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_local_address(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 13, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_upstream_local_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct envoy_config_core_v3_Address* default_val = NULL; + const struct envoy_config_core_v3_Address* ret; + const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 13, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_upstream_local_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 13, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_cluster(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(104, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_upstream_cluster(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {15, UPB_SIZE(104, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_response_flags(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(56, 144), 14, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_data_accesslog_v3_ResponseFlags* envoy_data_accesslog_v3_AccessLogCommon_response_flags(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const envoy_data_accesslog_v3_ResponseFlags* default_val = NULL; + const envoy_data_accesslog_v3_ResponseFlags* ret; + const upb_MiniTableField field = {16, UPB_SIZE(56, 144), 14, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_response_flags(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(56, 144), 14, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_metadata(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(60, 152), 15, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Metadata* envoy_data_accesslog_v3_AccessLogCommon_metadata(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct envoy_config_core_v3_Metadata* default_val = NULL; + const struct envoy_config_core_v3_Metadata* ret; + const upb_MiniTableField field = {17, UPB_SIZE(60, 152), 15, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_metadata(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(60, 152), 15, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_transport_failure_reason(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {18, UPB_SIZE(112, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_upstream_transport_failure_reason(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {18, UPB_SIZE(112, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_route_name(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {19, UPB_SIZE(120, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_route_name(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {19, UPB_SIZE(120, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_downstream_direct_remote_address(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(64, 192), 16, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_downstream_direct_remote_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct envoy_config_core_v3_Address* default_val = NULL; + const struct envoy_config_core_v3_Address* ret; + const upb_MiniTableField field = {20, UPB_SIZE(64, 192), 16, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_downstream_direct_remote_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(64, 192), 16, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_filter_state_objects(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE size_t envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_size(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + return map ? _upb_Map_Size(map) : 0; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_get(const envoy_data_accesslog_v3_AccessLogCommon* msg, upb_StringView key, struct google_protobuf_Any** val) { + const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Get(map, &key, 0, val, sizeof(*val)); +} +UPB_INLINE const envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry* envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_next(const envoy_data_accesslog_v3_AccessLogCommon* msg, size_t* iter) { + const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (const envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_custom_tags(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE size_t envoy_data_accesslog_v3_AccessLogCommon_custom_tags_size(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + return map ? _upb_Map_Size(map) : 0; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_custom_tags_get(const envoy_data_accesslog_v3_AccessLogCommon* msg, upb_StringView key, upb_StringView* val) { + const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Get(map, &key, 0, val, 0); +} +UPB_INLINE const envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry* envoy_data_accesslog_v3_AccessLogCommon_custom_tags_next(const envoy_data_accesslog_v3_AccessLogCommon* msg, size_t* iter) { + const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (const envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_duration(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(76, 216), 17, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_duration(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {23, UPB_SIZE(76, 216), 17, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_duration(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(76, 216), 17, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_request_attempt_count(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {24, UPB_SIZE(80, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint32_t envoy_data_accesslog_v3_AccessLogCommon_upstream_request_attempt_count(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {24, UPB_SIZE(80, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_connection_termination_details(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {25, UPB_SIZE(128, 224), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_connection_termination_details(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {25, UPB_SIZE(128, 224), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_stream_id(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {26, UPB_SIZE(136, 240), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_stream_id(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {26, UPB_SIZE(136, 240), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_intermediate_log_entry(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {27, UPB_SIZE(84, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_intermediate_log_entry(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {27, UPB_SIZE(84, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_downstream_transport_failure_reason(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {28, UPB_SIZE(144, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_downstream_transport_failure_reason(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {28, UPB_SIZE(144, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_downstream_wire_bytes_sent(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {29, UPB_SIZE(152, 272), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_AccessLogCommon_downstream_wire_bytes_sent(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {29, UPB_SIZE(152, 272), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_downstream_wire_bytes_received(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {30, UPB_SIZE(160, 280), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_AccessLogCommon_downstream_wire_bytes_received(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {30, UPB_SIZE(160, 280), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_wire_bytes_sent(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {31, UPB_SIZE(168, 288), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_AccessLogCommon_upstream_wire_bytes_sent(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {31, UPB_SIZE(168, 288), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_wire_bytes_received(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {32, UPB_SIZE(176, 296), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_AccessLogCommon_upstream_wire_bytes_received(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {32, UPB_SIZE(176, 296), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_access_log_type(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {33, UPB_SIZE(88, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_data_accesslog_v3_AccessLogCommon_access_log_type(const envoy_data_accesslog_v3_AccessLogCommon* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {33, UPB_SIZE(88, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_sample_rate(envoy_data_accesslog_v3_AccessLogCommon *msg, double value) { + const upb_MiniTableField field = {1, UPB_SIZE(96, 16), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_downstream_remote_address(envoy_data_accesslog_v3_AccessLogCommon *msg, struct envoy_config_core_v3_Address* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_mutable_downstream_remote_address(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_data_accesslog_v3_AccessLogCommon_downstream_remote_address(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_downstream_remote_address(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_downstream_local_address(envoy_data_accesslog_v3_AccessLogCommon *msg, struct envoy_config_core_v3_Address* value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_mutable_downstream_local_address(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_data_accesslog_v3_AccessLogCommon_downstream_local_address(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_downstream_local_address(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_tls_properties(envoy_data_accesslog_v3_AccessLogCommon *msg, envoy_data_accesslog_v3_TLSProperties* value) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_data_accesslog_v3_TLSProperties* envoy_data_accesslog_v3_AccessLogCommon_mutable_tls_properties(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct envoy_data_accesslog_v3_TLSProperties* sub = (struct envoy_data_accesslog_v3_TLSProperties*)envoy_data_accesslog_v3_AccessLogCommon_tls_properties(msg); + if (sub == NULL) { + sub = (struct envoy_data_accesslog_v3_TLSProperties*)_upb_Message_New(&envoy__data__accesslog__v3__TLSProperties_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_tls_properties(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_start_time(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Timestamp* value) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Timestamp* envoy_data_accesslog_v3_AccessLogCommon_mutable_start_time(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_data_accesslog_v3_AccessLogCommon_start_time(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_start_time(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_rx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_last_rx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_last_rx_byte(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_rx_byte(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_first_upstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_first_upstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_first_upstream_tx_byte(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_first_upstream_tx_byte(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_upstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_last_upstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_last_upstream_tx_byte(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_upstream_tx_byte(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_first_upstream_rx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_first_upstream_rx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_first_upstream_rx_byte(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_first_upstream_rx_byte(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_upstream_rx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_last_upstream_rx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_last_upstream_rx_byte(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_upstream_rx_byte(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_first_downstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {11, UPB_SIZE(40, 96), 10, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_first_downstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_first_downstream_tx_byte(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_first_downstream_tx_byte(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_downstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 11, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_last_downstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_last_downstream_tx_byte(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_downstream_tx_byte(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_remote_address(envoy_data_accesslog_v3_AccessLogCommon *msg, struct envoy_config_core_v3_Address* value) { + const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 12, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_mutable_upstream_remote_address(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_data_accesslog_v3_AccessLogCommon_upstream_remote_address(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_upstream_remote_address(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_local_address(envoy_data_accesslog_v3_AccessLogCommon *msg, struct envoy_config_core_v3_Address* value) { + const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 13, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_mutable_upstream_local_address(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_data_accesslog_v3_AccessLogCommon_upstream_local_address(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_upstream_local_address(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_cluster(envoy_data_accesslog_v3_AccessLogCommon *msg, upb_StringView value) { + const upb_MiniTableField field = {15, UPB_SIZE(104, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_response_flags(envoy_data_accesslog_v3_AccessLogCommon *msg, envoy_data_accesslog_v3_ResponseFlags* value) { + const upb_MiniTableField field = {16, UPB_SIZE(56, 144), 14, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_data_accesslog_v3_ResponseFlags* envoy_data_accesslog_v3_AccessLogCommon_mutable_response_flags(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct envoy_data_accesslog_v3_ResponseFlags* sub = (struct envoy_data_accesslog_v3_ResponseFlags*)envoy_data_accesslog_v3_AccessLogCommon_response_flags(msg); + if (sub == NULL) { + sub = (struct envoy_data_accesslog_v3_ResponseFlags*)_upb_Message_New(&envoy__data__accesslog__v3__ResponseFlags_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_response_flags(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_metadata(envoy_data_accesslog_v3_AccessLogCommon *msg, struct envoy_config_core_v3_Metadata* value) { + const upb_MiniTableField field = {17, UPB_SIZE(60, 152), 15, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_data_accesslog_v3_AccessLogCommon_mutable_metadata(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_data_accesslog_v3_AccessLogCommon_metadata(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_metadata(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_transport_failure_reason(envoy_data_accesslog_v3_AccessLogCommon *msg, upb_StringView value) { + const upb_MiniTableField field = {18, UPB_SIZE(112, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_route_name(envoy_data_accesslog_v3_AccessLogCommon *msg, upb_StringView value) { + const upb_MiniTableField field = {19, UPB_SIZE(120, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_downstream_direct_remote_address(envoy_data_accesslog_v3_AccessLogCommon *msg, struct envoy_config_core_v3_Address* value) { + const upb_MiniTableField field = {20, UPB_SIZE(64, 192), 16, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_mutable_downstream_direct_remote_address(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_data_accesslog_v3_AccessLogCommon_downstream_direct_remote_address(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_downstream_direct_remote_address(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_clear(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return; + _upb_Map_Clear(map); +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_set(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_StringView key, struct google_protobuf_Any* val, upb_Arena* a) { + const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, sizeof(val), a); + return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) != + kUpb_MapInsertStatus_OutOfMemory; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_delete(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_StringView key) { + const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Delete(map, &key, 0, NULL); +} +UPB_INLINE envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry* envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_nextmutable(envoy_data_accesslog_v3_AccessLogCommon* msg, size_t* iter) { + const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_custom_tags_clear(envoy_data_accesslog_v3_AccessLogCommon* msg) { + const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return; + _upb_Map_Clear(map); +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_custom_tags_set(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_StringView key, upb_StringView val, upb_Arena* a) { + const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, 0, a); + return _upb_Map_Insert(map, &key, 0, &val, 0, a) != + kUpb_MapInsertStatus_OutOfMemory; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_custom_tags_delete(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_StringView key) { + const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Delete(map, &key, 0, NULL); +} +UPB_INLINE envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry* envoy_data_accesslog_v3_AccessLogCommon_custom_tags_nextmutable(envoy_data_accesslog_v3_AccessLogCommon* msg, size_t* iter) { + const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_duration(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {23, UPB_SIZE(76, 216), 17, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_duration(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_duration(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_duration(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_request_attempt_count(envoy_data_accesslog_v3_AccessLogCommon *msg, uint32_t value) { + const upb_MiniTableField field = {24, UPB_SIZE(80, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_connection_termination_details(envoy_data_accesslog_v3_AccessLogCommon *msg, upb_StringView value) { + const upb_MiniTableField field = {25, UPB_SIZE(128, 224), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_stream_id(envoy_data_accesslog_v3_AccessLogCommon *msg, upb_StringView value) { + const upb_MiniTableField field = {26, UPB_SIZE(136, 240), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_intermediate_log_entry(envoy_data_accesslog_v3_AccessLogCommon *msg, bool value) { + const upb_MiniTableField field = {27, UPB_SIZE(84, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_downstream_transport_failure_reason(envoy_data_accesslog_v3_AccessLogCommon *msg, upb_StringView value) { + const upb_MiniTableField field = {28, UPB_SIZE(144, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_downstream_wire_bytes_sent(envoy_data_accesslog_v3_AccessLogCommon *msg, uint64_t value) { + const upb_MiniTableField field = {29, UPB_SIZE(152, 272), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_downstream_wire_bytes_received(envoy_data_accesslog_v3_AccessLogCommon *msg, uint64_t value) { + const upb_MiniTableField field = {30, UPB_SIZE(160, 280), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_wire_bytes_sent(envoy_data_accesslog_v3_AccessLogCommon *msg, uint64_t value) { + const upb_MiniTableField field = {31, UPB_SIZE(168, 288), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_wire_bytes_received(envoy_data_accesslog_v3_AccessLogCommon *msg, uint64_t value) { + const upb_MiniTableField field = {32, UPB_SIZE(176, 296), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_access_log_type(envoy_data_accesslog_v3_AccessLogCommon *msg, int32_t value) { + const upb_MiniTableField field = {33, UPB_SIZE(88, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.data.accesslog.v3.AccessLogCommon.FilterStateObjectsEntry */ + +UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_key(const envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry* msg) { + upb_StringView ret; + _upb_msg_map_key(msg, &ret, 0); + return ret; +} +UPB_INLINE const struct google_protobuf_Any* envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_value(const envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry* msg) { + struct google_protobuf_Any* ret; + _upb_msg_map_value(msg, &ret, sizeof(ret)); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_has_value(const envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_set_value(envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry *msg, struct google_protobuf_Any* value) { + _upb_msg_map_set_value(msg, &value, sizeof(struct google_protobuf_Any*)); +} + +/* envoy.data.accesslog.v3.AccessLogCommon.CustomTagsEntry */ + +UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry_key(const envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry* msg) { + upb_StringView ret; + _upb_msg_map_key(msg, &ret, 0); + return ret; +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry_value(const envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry* msg) { + upb_StringView ret; + _upb_msg_map_value(msg, &ret, 0); + return ret; +} + +UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry_set_value(envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry *msg, upb_StringView value) { + _upb_msg_map_set_value(msg, &value, 0); +} + +/* envoy.data.accesslog.v3.ResponseFlags */ + +UPB_INLINE envoy_data_accesslog_v3_ResponseFlags* envoy_data_accesslog_v3_ResponseFlags_new(upb_Arena* arena) { + return (envoy_data_accesslog_v3_ResponseFlags*)_upb_Message_New(&envoy__data__accesslog__v3__ResponseFlags_msg_init, arena); +} +UPB_INLINE envoy_data_accesslog_v3_ResponseFlags* envoy_data_accesslog_v3_ResponseFlags_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_data_accesslog_v3_ResponseFlags* ret = envoy_data_accesslog_v3_ResponseFlags_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__ResponseFlags_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_data_accesslog_v3_ResponseFlags* envoy_data_accesslog_v3_ResponseFlags_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_data_accesslog_v3_ResponseFlags* ret = envoy_data_accesslog_v3_ResponseFlags_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__ResponseFlags_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_data_accesslog_v3_ResponseFlags_serialize(const envoy_data_accesslog_v3_ResponseFlags* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__ResponseFlags_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_data_accesslog_v3_ResponseFlags_serialize_ex(const envoy_data_accesslog_v3_ResponseFlags* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__ResponseFlags_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_failed_local_healthcheck(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_failed_local_healthcheck(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_no_healthy_upstream(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {2, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_no_healthy_upstream(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_request_timeout(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {3, 3, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_request_timeout(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 3, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_local_reset(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_local_reset(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_remote_reset(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {5, 5, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_remote_reset(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 5, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_connection_failure(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {6, 6, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_connection_failure(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 6, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_connection_termination(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {7, 7, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_connection_termination(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 7, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_overflow(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {8, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_overflow(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {8, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_no_route_found(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {9, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_no_route_found(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {9, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_delay_injected(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {10, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_delay_injected(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {10, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_fault_injected(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {11, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_fault_injected(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {11, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_rate_limited(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {12, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_rate_limited(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {12, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_unauthorized_details(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(16, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_data_accesslog_v3_ResponseFlags_Unauthorized* envoy_data_accesslog_v3_ResponseFlags_unauthorized_details(const envoy_data_accesslog_v3_ResponseFlags* msg) { + const envoy_data_accesslog_v3_ResponseFlags_Unauthorized* default_val = NULL; + const envoy_data_accesslog_v3_ResponseFlags_Unauthorized* ret; + const upb_MiniTableField field = {13, UPB_SIZE(16, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_has_unauthorized_details(const envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(16, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_rate_limit_service_error(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(20, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_rate_limit_service_error(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {14, UPB_SIZE(20, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_downstream_connection_termination(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(21, 14), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_downstream_connection_termination(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {15, UPB_SIZE(21, 14), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_retry_limit_exceeded(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(22, 15), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_retry_limit_exceeded(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {16, UPB_SIZE(22, 15), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_stream_idle_timeout(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(23, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_stream_idle_timeout(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {17, UPB_SIZE(23, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_invalid_envoy_request_headers(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {18, UPB_SIZE(24, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_invalid_envoy_request_headers(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {18, UPB_SIZE(24, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_downstream_protocol_error(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {19, UPB_SIZE(25, 18), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_downstream_protocol_error(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {19, UPB_SIZE(25, 18), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_max_stream_duration_reached(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(26, 19), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_max_stream_duration_reached(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {20, UPB_SIZE(26, 19), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_response_from_cache_filter(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {21, UPB_SIZE(27, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_response_from_cache_filter(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {21, UPB_SIZE(27, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_no_filter_config_found(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {22, UPB_SIZE(28, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_no_filter_config_found(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {22, UPB_SIZE(28, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_duration_timeout(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(29, 22), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_duration_timeout(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {23, UPB_SIZE(29, 22), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_protocol_error(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {24, UPB_SIZE(30, 23), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_protocol_error(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {24, UPB_SIZE(30, 23), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_no_cluster_found(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {25, UPB_SIZE(31, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_no_cluster_found(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {25, UPB_SIZE(31, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_overload_manager(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {26, UPB_SIZE(32, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_overload_manager(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {26, UPB_SIZE(32, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_dns_resolution_failure(envoy_data_accesslog_v3_ResponseFlags* msg) { + const upb_MiniTableField field = {27, UPB_SIZE(33, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_dns_resolution_failure(const envoy_data_accesslog_v3_ResponseFlags* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {27, UPB_SIZE(33, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_failed_local_healthcheck(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_no_healthy_upstream(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {2, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_request_timeout(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {3, 3, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_local_reset(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_remote_reset(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {5, 5, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_connection_failure(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {6, 6, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_connection_termination(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {7, 7, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_overflow(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {8, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_no_route_found(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {9, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_delay_injected(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {10, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_fault_injected(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {11, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_rate_limited(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {12, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_unauthorized_details(envoy_data_accesslog_v3_ResponseFlags *msg, envoy_data_accesslog_v3_ResponseFlags_Unauthorized* value) { + const upb_MiniTableField field = {13, UPB_SIZE(16, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_data_accesslog_v3_ResponseFlags_Unauthorized* envoy_data_accesslog_v3_ResponseFlags_mutable_unauthorized_details(envoy_data_accesslog_v3_ResponseFlags* msg, upb_Arena* arena) { + struct envoy_data_accesslog_v3_ResponseFlags_Unauthorized* sub = (struct envoy_data_accesslog_v3_ResponseFlags_Unauthorized*)envoy_data_accesslog_v3_ResponseFlags_unauthorized_details(msg); + if (sub == NULL) { + sub = (struct envoy_data_accesslog_v3_ResponseFlags_Unauthorized*)_upb_Message_New(&envoy__data__accesslog__v3__ResponseFlags__Unauthorized_msg_init, arena); + if (sub) envoy_data_accesslog_v3_ResponseFlags_set_unauthorized_details(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_rate_limit_service_error(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {14, UPB_SIZE(20, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_downstream_connection_termination(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {15, UPB_SIZE(21, 14), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_retry_limit_exceeded(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {16, UPB_SIZE(22, 15), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_stream_idle_timeout(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {17, UPB_SIZE(23, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_invalid_envoy_request_headers(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {18, UPB_SIZE(24, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_downstream_protocol_error(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {19, UPB_SIZE(25, 18), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_max_stream_duration_reached(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {20, UPB_SIZE(26, 19), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_response_from_cache_filter(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {21, UPB_SIZE(27, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_no_filter_config_found(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {22, UPB_SIZE(28, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_duration_timeout(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {23, UPB_SIZE(29, 22), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_protocol_error(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {24, UPB_SIZE(30, 23), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_no_cluster_found(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {25, UPB_SIZE(31, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_overload_manager(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {26, UPB_SIZE(32, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_dns_resolution_failure(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { + const upb_MiniTableField field = {27, UPB_SIZE(33, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.data.accesslog.v3.ResponseFlags.Unauthorized */ + +UPB_INLINE envoy_data_accesslog_v3_ResponseFlags_Unauthorized* envoy_data_accesslog_v3_ResponseFlags_Unauthorized_new(upb_Arena* arena) { + return (envoy_data_accesslog_v3_ResponseFlags_Unauthorized*)_upb_Message_New(&envoy__data__accesslog__v3__ResponseFlags__Unauthorized_msg_init, arena); +} +UPB_INLINE envoy_data_accesslog_v3_ResponseFlags_Unauthorized* envoy_data_accesslog_v3_ResponseFlags_Unauthorized_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_data_accesslog_v3_ResponseFlags_Unauthorized* ret = envoy_data_accesslog_v3_ResponseFlags_Unauthorized_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__ResponseFlags__Unauthorized_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_data_accesslog_v3_ResponseFlags_Unauthorized* envoy_data_accesslog_v3_ResponseFlags_Unauthorized_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_data_accesslog_v3_ResponseFlags_Unauthorized* ret = envoy_data_accesslog_v3_ResponseFlags_Unauthorized_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__ResponseFlags__Unauthorized_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_data_accesslog_v3_ResponseFlags_Unauthorized_serialize(const envoy_data_accesslog_v3_ResponseFlags_Unauthorized* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__ResponseFlags__Unauthorized_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_data_accesslog_v3_ResponseFlags_Unauthorized_serialize_ex(const envoy_data_accesslog_v3_ResponseFlags_Unauthorized* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__ResponseFlags__Unauthorized_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_Unauthorized_clear_reason(envoy_data_accesslog_v3_ResponseFlags_Unauthorized* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_data_accesslog_v3_ResponseFlags_Unauthorized_reason(const envoy_data_accesslog_v3_ResponseFlags_Unauthorized* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_Unauthorized_set_reason(envoy_data_accesslog_v3_ResponseFlags_Unauthorized *msg, int32_t value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.data.accesslog.v3.TLSProperties */ + +UPB_INLINE envoy_data_accesslog_v3_TLSProperties* envoy_data_accesslog_v3_TLSProperties_new(upb_Arena* arena) { + return (envoy_data_accesslog_v3_TLSProperties*)_upb_Message_New(&envoy__data__accesslog__v3__TLSProperties_msg_init, arena); +} +UPB_INLINE envoy_data_accesslog_v3_TLSProperties* envoy_data_accesslog_v3_TLSProperties_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_data_accesslog_v3_TLSProperties* ret = envoy_data_accesslog_v3_TLSProperties_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__TLSProperties_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_data_accesslog_v3_TLSProperties* envoy_data_accesslog_v3_TLSProperties_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_data_accesslog_v3_TLSProperties* ret = envoy_data_accesslog_v3_TLSProperties_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__TLSProperties_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_data_accesslog_v3_TLSProperties_serialize(const envoy_data_accesslog_v3_TLSProperties* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__TLSProperties_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_data_accesslog_v3_TLSProperties_serialize_ex(const envoy_data_accesslog_v3_TLSProperties* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__TLSProperties_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_tls_version(envoy_data_accesslog_v3_TLSProperties* msg) { + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_data_accesslog_v3_TLSProperties_tls_version(const envoy_data_accesslog_v3_TLSProperties* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_tls_cipher_suite(envoy_data_accesslog_v3_TLSProperties* msg) { + const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_data_accesslog_v3_TLSProperties_tls_cipher_suite(const envoy_data_accesslog_v3_TLSProperties* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_TLSProperties_has_tls_cipher_suite(const envoy_data_accesslog_v3_TLSProperties* msg) { + const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_tls_sni_hostname(envoy_data_accesslog_v3_TLSProperties* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_TLSProperties_tls_sni_hostname(const envoy_data_accesslog_v3_TLSProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_local_certificate_properties(envoy_data_accesslog_v3_TLSProperties* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_local_certificate_properties(const envoy_data_accesslog_v3_TLSProperties* msg) { + const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* default_val = NULL; + const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* ret; + const upb_MiniTableField field = {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_TLSProperties_has_local_certificate_properties(const envoy_data_accesslog_v3_TLSProperties* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_peer_certificate_properties(envoy_data_accesslog_v3_TLSProperties* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_peer_certificate_properties(const envoy_data_accesslog_v3_TLSProperties* msg) { + const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* default_val = NULL; + const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* ret; + const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_TLSProperties_has_peer_certificate_properties(const envoy_data_accesslog_v3_TLSProperties* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_tls_session_id(envoy_data_accesslog_v3_TLSProperties* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_TLSProperties_tls_session_id(const envoy_data_accesslog_v3_TLSProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_ja3_fingerprint(envoy_data_accesslog_v3_TLSProperties* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_TLSProperties_ja3_fingerprint(const envoy_data_accesslog_v3_TLSProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_tls_version(envoy_data_accesslog_v3_TLSProperties *msg, int32_t value) { + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_tls_cipher_suite(envoy_data_accesslog_v3_TLSProperties *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_data_accesslog_v3_TLSProperties_mutable_tls_cipher_suite(envoy_data_accesslog_v3_TLSProperties* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_data_accesslog_v3_TLSProperties_tls_cipher_suite(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_data_accesslog_v3_TLSProperties_set_tls_cipher_suite(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_tls_sni_hostname(envoy_data_accesslog_v3_TLSProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_local_certificate_properties(envoy_data_accesslog_v3_TLSProperties *msg, envoy_data_accesslog_v3_TLSProperties_CertificateProperties* value) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_mutable_local_certificate_properties(envoy_data_accesslog_v3_TLSProperties* msg, upb_Arena* arena) { + struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties* sub = (struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties*)envoy_data_accesslog_v3_TLSProperties_local_certificate_properties(msg); + if (sub == NULL) { + sub = (struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties*)_upb_Message_New(&envoy__data__accesslog__v3__TLSProperties__CertificateProperties_msg_init, arena); + if (sub) envoy_data_accesslog_v3_TLSProperties_set_local_certificate_properties(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_peer_certificate_properties(envoy_data_accesslog_v3_TLSProperties *msg, envoy_data_accesslog_v3_TLSProperties_CertificateProperties* value) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_mutable_peer_certificate_properties(envoy_data_accesslog_v3_TLSProperties* msg, upb_Arena* arena) { + struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties* sub = (struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties*)envoy_data_accesslog_v3_TLSProperties_peer_certificate_properties(msg); + if (sub == NULL) { + sub = (struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties*)_upb_Message_New(&envoy__data__accesslog__v3__TLSProperties__CertificateProperties_msg_init, arena); + if (sub) envoy_data_accesslog_v3_TLSProperties_set_peer_certificate_properties(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_tls_session_id(envoy_data_accesslog_v3_TLSProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_ja3_fingerprint(envoy_data_accesslog_v3_TLSProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.data.accesslog.v3.TLSProperties.CertificateProperties */ + +UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_new(upb_Arena* arena) { + return (envoy_data_accesslog_v3_TLSProperties_CertificateProperties*)_upb_Message_New(&envoy__data__accesslog__v3__TLSProperties__CertificateProperties_msg_init, arena); +} +UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_data_accesslog_v3_TLSProperties_CertificateProperties* ret = envoy_data_accesslog_v3_TLSProperties_CertificateProperties_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__TLSProperties__CertificateProperties_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_data_accesslog_v3_TLSProperties_CertificateProperties* ret = envoy_data_accesslog_v3_TLSProperties_CertificateProperties_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__TLSProperties__CertificateProperties_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_serialize(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__TLSProperties__CertificateProperties_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_serialize_ex(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__TLSProperties__CertificateProperties_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_clear_subject_alt_name(envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* const* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_subject_alt_name(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_data_accesslog_v3_TLSProperties_CertificateProperties_subject_alt_name_upb_array(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_data_accesslog_v3_TLSProperties_CertificateProperties_subject_alt_name_mutable_upb_array(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_data_accesslog_v3_TLSProperties_CertificateProperties_has_subject_alt_name(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg) { + size_t size; + envoy_data_accesslog_v3_TLSProperties_CertificateProperties_subject_alt_name(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_clear_subject(envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_TLSProperties_CertificateProperties_subject(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_clear_issuer(envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_TLSProperties_CertificateProperties_issuer(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName** envoy_data_accesslog_v3_TLSProperties_CertificateProperties_mutable_subject_alt_name(envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName** envoy_data_accesslog_v3_TLSProperties_CertificateProperties_resize_subject_alt_name(envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_add_subject_alt_name(envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* sub = (struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName*)_upb_Message_New(&envoy__data__accesslog__v3__TLSProperties__CertificateProperties__SubjectAltName_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_set_subject(envoy_data_accesslog_v3_TLSProperties_CertificateProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_set_issuer(envoy_data_accesslog_v3_TLSProperties_CertificateProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName */ + +UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_new(upb_Arena* arena) { + return (envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName*)_upb_Message_New(&envoy__data__accesslog__v3__TLSProperties__CertificateProperties__SubjectAltName_msg_init, arena); +} +UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* ret = envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__TLSProperties__CertificateProperties__SubjectAltName_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* ret = envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__TLSProperties__CertificateProperties__SubjectAltName_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_serialize(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__TLSProperties__CertificateProperties__SubjectAltName_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_serialize_ex(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__TLSProperties__CertificateProperties__SubjectAltName_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_uri = 1, + envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_dns = 2, + envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_NOT_SET = 0 +} envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_oneofcases; +UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_oneofcases envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_case(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return (envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_clear_uri(envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_uri(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_has_uri(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_clear_dns(envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_dns(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_has_dns(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_set_uri(envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_set_dns(envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.data.accesslog.v3.HTTPRequestProperties */ + +UPB_INLINE envoy_data_accesslog_v3_HTTPRequestProperties* envoy_data_accesslog_v3_HTTPRequestProperties_new(upb_Arena* arena) { + return (envoy_data_accesslog_v3_HTTPRequestProperties*)_upb_Message_New(&envoy__data__accesslog__v3__HTTPRequestProperties_msg_init, arena); +} +UPB_INLINE envoy_data_accesslog_v3_HTTPRequestProperties* envoy_data_accesslog_v3_HTTPRequestProperties_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_data_accesslog_v3_HTTPRequestProperties* ret = envoy_data_accesslog_v3_HTTPRequestProperties_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__HTTPRequestProperties_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_data_accesslog_v3_HTTPRequestProperties* envoy_data_accesslog_v3_HTTPRequestProperties_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_data_accesslog_v3_HTTPRequestProperties* ret = envoy_data_accesslog_v3_HTTPRequestProperties_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__HTTPRequestProperties_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_data_accesslog_v3_HTTPRequestProperties_serialize(const envoy_data_accesslog_v3_HTTPRequestProperties* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__HTTPRequestProperties_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_data_accesslog_v3_HTTPRequestProperties_serialize_ex(const envoy_data_accesslog_v3_HTTPRequestProperties* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__HTTPRequestProperties_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_request_method(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_data_accesslog_v3_HTTPRequestProperties_request_method(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_scheme(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_scheme(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_authority(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_authority(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_port(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_data_accesslog_v3_HTTPRequestProperties_port(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {4, UPB_SIZE(8, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPRequestProperties_has_port(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_path(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_path(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {5, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_user_agent(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_user_agent(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_referer(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(48, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_referer(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {7, UPB_SIZE(48, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_forwarded_for(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(56, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_forwarded_for(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {8, UPB_SIZE(56, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_request_id(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(64, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_request_id(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {9, UPB_SIZE(64, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_original_path(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(72, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_original_path(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {10, UPB_SIZE(72, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_request_headers_bytes(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(80, 144), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_bytes(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {11, UPB_SIZE(80, 144), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_request_body_bytes(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(88, 152), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPRequestProperties_request_body_bytes(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {12, UPB_SIZE(88, 152), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_request_headers(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE size_t envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_size(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + return map ? _upb_Map_Size(map) : 0; +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_get(const envoy_data_accesslog_v3_HTTPRequestProperties* msg, upb_StringView key, upb_StringView* val) { + const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Get(map, &key, 0, val, 0); +} +UPB_INLINE const envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry* envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_next(const envoy_data_accesslog_v3_HTTPRequestProperties* msg, size_t* iter) { + const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (const envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_upstream_header_bytes_sent(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(96, 168), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPRequestProperties_upstream_header_bytes_sent(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {14, UPB_SIZE(96, 168), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_downstream_header_bytes_received(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(104, 176), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPRequestProperties_downstream_header_bytes_received(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {15, UPB_SIZE(104, 176), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_request_method(envoy_data_accesslog_v3_HTTPRequestProperties *msg, int32_t value) { + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_scheme(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_authority(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_port(envoy_data_accesslog_v3_HTTPRequestProperties *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_data_accesslog_v3_HTTPRequestProperties_mutable_port(envoy_data_accesslog_v3_HTTPRequestProperties* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_data_accesslog_v3_HTTPRequestProperties_port(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_data_accesslog_v3_HTTPRequestProperties_set_port(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_path(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {5, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_user_agent(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_referer(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {7, UPB_SIZE(48, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_forwarded_for(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {8, UPB_SIZE(56, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_request_id(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {9, UPB_SIZE(64, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_original_path(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {10, UPB_SIZE(72, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_request_headers_bytes(envoy_data_accesslog_v3_HTTPRequestProperties *msg, uint64_t value) { + const upb_MiniTableField field = {11, UPB_SIZE(80, 144), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_request_body_bytes(envoy_data_accesslog_v3_HTTPRequestProperties *msg, uint64_t value) { + const upb_MiniTableField field = {12, UPB_SIZE(88, 152), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_clear(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return; + _upb_Map_Clear(map); +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_set(envoy_data_accesslog_v3_HTTPRequestProperties* msg, upb_StringView key, upb_StringView val, upb_Arena* a) { + const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, 0, a); + return _upb_Map_Insert(map, &key, 0, &val, 0, a) != + kUpb_MapInsertStatus_OutOfMemory; +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_delete(envoy_data_accesslog_v3_HTTPRequestProperties* msg, upb_StringView key) { + const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Delete(map, &key, 0, NULL); +} +UPB_INLINE envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry* envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_nextmutable(envoy_data_accesslog_v3_HTTPRequestProperties* msg, size_t* iter) { + const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_upstream_header_bytes_sent(envoy_data_accesslog_v3_HTTPRequestProperties *msg, uint64_t value) { + const upb_MiniTableField field = {14, UPB_SIZE(96, 168), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_downstream_header_bytes_received(envoy_data_accesslog_v3_HTTPRequestProperties *msg, uint64_t value) { + const upb_MiniTableField field = {15, UPB_SIZE(104, 176), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.data.accesslog.v3.HTTPRequestProperties.RequestHeadersEntry */ + +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry_key(const envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry* msg) { + upb_StringView ret; + _upb_msg_map_key(msg, &ret, 0); + return ret; +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry_value(const envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry* msg) { + upb_StringView ret; + _upb_msg_map_value(msg, &ret, 0); + return ret; +} + +UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry_set_value(envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry *msg, upb_StringView value) { + _upb_msg_map_set_value(msg, &value, 0); +} + +/* envoy.data.accesslog.v3.HTTPResponseProperties */ + +UPB_INLINE envoy_data_accesslog_v3_HTTPResponseProperties* envoy_data_accesslog_v3_HTTPResponseProperties_new(upb_Arena* arena) { + return (envoy_data_accesslog_v3_HTTPResponseProperties*)_upb_Message_New(&envoy__data__accesslog__v3__HTTPResponseProperties_msg_init, arena); +} +UPB_INLINE envoy_data_accesslog_v3_HTTPResponseProperties* envoy_data_accesslog_v3_HTTPResponseProperties_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_data_accesslog_v3_HTTPResponseProperties* ret = envoy_data_accesslog_v3_HTTPResponseProperties_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__HTTPResponseProperties_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_data_accesslog_v3_HTTPResponseProperties* envoy_data_accesslog_v3_HTTPResponseProperties_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_data_accesslog_v3_HTTPResponseProperties* ret = envoy_data_accesslog_v3_HTTPResponseProperties_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__data__accesslog__v3__HTTPResponseProperties_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_data_accesslog_v3_HTTPResponseProperties_serialize(const envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__HTTPResponseProperties_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_data_accesslog_v3_HTTPResponseProperties_serialize_ex(const envoy_data_accesslog_v3_HTTPResponseProperties* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__data__accesslog__v3__HTTPResponseProperties_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_response_code(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_data_accesslog_v3_HTTPResponseProperties_response_code(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_has_response_code(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_response_headers_bytes(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_bytes(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_response_body_bytes(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPResponseProperties_response_body_bytes(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_response_headers(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE size_t envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_size(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + return map ? _upb_Map_Size(map) : 0; +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_get(const envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_StringView key, upb_StringView* val) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Get(map, &key, 0, val, 0); +} +UPB_INLINE const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry* envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_next(const envoy_data_accesslog_v3_HTTPResponseProperties* msg, size_t* iter) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_response_trailers(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE size_t envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_size(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + return map ? _upb_Map_Size(map) : 0; +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_get(const envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_StringView key, upb_StringView* val) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Get(map, &key, 0, val, 0); +} +UPB_INLINE const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry* envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_next(const envoy_data_accesslog_v3_HTTPResponseProperties* msg, size_t* iter) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_response_code_details(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPResponseProperties_response_code_details(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_upstream_header_bytes_received(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(40, 64), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPResponseProperties_upstream_header_bytes_received(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(40, 64), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_downstream_header_bytes_sent(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPResponseProperties_downstream_header_bytes_sent(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_set_response_code(envoy_data_accesslog_v3_HTTPResponseProperties *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_data_accesslog_v3_HTTPResponseProperties_mutable_response_code(envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_data_accesslog_v3_HTTPResponseProperties_response_code(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_data_accesslog_v3_HTTPResponseProperties_set_response_code(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_set_response_headers_bytes(envoy_data_accesslog_v3_HTTPResponseProperties *msg, uint64_t value) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_set_response_body_bytes(envoy_data_accesslog_v3_HTTPResponseProperties *msg, uint64_t value) { + const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_clear(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return; + _upb_Map_Clear(map); +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_set(envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_StringView key, upb_StringView val, upb_Arena* a) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, 0, a); + return _upb_Map_Insert(map, &key, 0, &val, 0, a) != + kUpb_MapInsertStatus_OutOfMemory; +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_delete(envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_StringView key) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Delete(map, &key, 0, NULL); +} +UPB_INLINE envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry* envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_nextmutable(envoy_data_accesslog_v3_HTTPResponseProperties* msg, size_t* iter) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_clear(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return; + _upb_Map_Clear(map); +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_set(envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_StringView key, upb_StringView val, upb_Arena* a) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, 0, a); + return _upb_Map_Insert(map, &key, 0, &val, 0, a) != + kUpb_MapInsertStatus_OutOfMemory; +} +UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_delete(envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_StringView key) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Delete(map, &key, 0, NULL); +} +UPB_INLINE envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry* envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_nextmutable(envoy_data_accesslog_v3_HTTPResponseProperties* msg, size_t* iter) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry*)_upb_map_next(map, iter); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_set_response_code_details(envoy_data_accesslog_v3_HTTPResponseProperties *msg, upb_StringView value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_set_upstream_header_bytes_received(envoy_data_accesslog_v3_HTTPResponseProperties *msg, uint64_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(40, 64), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_set_downstream_header_bytes_sent(envoy_data_accesslog_v3_HTTPResponseProperties *msg, uint64_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.data.accesslog.v3.HTTPResponseProperties.ResponseHeadersEntry */ + +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry_key(const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry* msg) { + upb_StringView ret; + _upb_msg_map_key(msg, &ret, 0); + return ret; +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry_value(const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry* msg) { + upb_StringView ret; + _upb_msg_map_value(msg, &ret, 0); + return ret; +} + +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry_set_value(envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry *msg, upb_StringView value) { + _upb_msg_map_set_value(msg, &value, 0); +} + +/* envoy.data.accesslog.v3.HTTPResponseProperties.ResponseTrailersEntry */ + +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry_key(const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry* msg) { + upb_StringView ret; + _upb_msg_map_key(msg, &ret, 0); + return ret; +} +UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry_value(const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry* msg) { + upb_StringView ret; + _upb_msg_map_value(msg, &ret, 0); + return ret; +} + +UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry_set_value(envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry *msg, upb_StringView value) { + _upb_msg_map_set_value(msg, &value, 0); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c b/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c new file mode 100644 index 00000000000..967c46cfaa9 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c @@ -0,0 +1,556 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/data/accesslog/v3/accesslog.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/data/accesslog/v3/accesslog.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_data_accesslog_v3_TCPAccessLogEntry_submsgs[2] = { + {.submsg = &envoy__data__accesslog__v3__AccessLogCommon_msg_init}, + {.submsg = &envoy__data__accesslog__v3__ConnectionProperties_msg_init}, +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_TCPAccessLogEntry__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__TCPAccessLogEntry_msg_init = { + &envoy_data_accesslog_v3_TCPAccessLogEntry_submsgs[0], + &envoy_data_accesslog_v3_TCPAccessLogEntry__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_data_accesslog_v3_HTTPAccessLogEntry_submsgs[3] = { + {.submsg = &envoy__data__accesslog__v3__AccessLogCommon_msg_init}, + {.submsg = &envoy__data__accesslog__v3__HTTPRequestProperties_msg_init}, + {.submsg = &envoy__data__accesslog__v3__HTTPResponseProperties_msg_init}, +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_HTTPAccessLogEntry__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__HTTPAccessLogEntry_msg_init = { + &envoy_data_accesslog_v3_HTTPAccessLogEntry_submsgs[0], + &envoy_data_accesslog_v3_HTTPAccessLogEntry__fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x001000000201001a, &upb_psm_1bt_max192b}, + {0x0018000003020022, &upb_psm_1bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_ConnectionProperties__fields[2] = { + {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__ConnectionProperties_msg_init = { + NULL, + &envoy_data_accesslog_v3_ConnectionProperties__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv8_1bt}, + {0x000800003f000010, &upb_psv8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_data_accesslog_v3_AccessLogCommon_submsgs[19] = { + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__data__accesslog__v3__TLSProperties_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__data__accesslog__v3__ResponseFlags_msg_init}, + {.submsg = &envoy__config__core__v3__Metadata_msg_init}, + {.submsg = &envoy__config__core__v3__Address_msg_init}, + {.submsg = &envoy__data__accesslog__v3__AccessLogCommon__FilterStateObjectsEntry_msg_init}, + {.submsg = &envoy__data__accesslog__v3__AccessLogCommon__CustomTagsEntry_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_AccessLogCommon__fields[33] = { + {1, UPB_SIZE(96, 16), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 56), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 64), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(28, 72), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(32, 80), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(36, 88), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(40, 96), 10, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(44, 104), 11, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(48, 112), 12, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(52, 120), 13, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(104, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(56, 144), 14, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(60, 152), 15, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(112, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(120, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(64, 192), 16, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(76, 216), 17, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(80, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(128, 224), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {26, UPB_SIZE(136, 240), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {27, UPB_SIZE(84, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {28, UPB_SIZE(144, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {29, UPB_SIZE(152, 272), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {30, UPB_SIZE(160, 280), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {31, UPB_SIZE(168, 288), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {32, UPB_SIZE(176, 296), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {33, UPB_SIZE(88, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__AccessLogCommon_msg_init = { + &envoy_data_accesslog_v3_AccessLogCommon_submsgs[0], + &envoy_data_accesslog_v3_AccessLogCommon__fields[0], + UPB_SIZE(184, 304), 33, kUpb_ExtMode_NonExtendable, 33, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f000009, &upb_psf8_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + {0x0028000003020022, &upb_psm_1bt_max128b}, + {0x003000000403002a, &upb_psm_1bt_maxmaxb}, + {0x0038000005040032, &upb_psm_1bt_maxmaxb}, + {0x004000000605003a, &upb_psm_1bt_maxmaxb}, + {0x0048000007060042, &upb_psm_1bt_maxmaxb}, + {0x005000000807004a, &upb_psm_1bt_maxmaxb}, + {0x0058000009080052, &upb_psm_1bt_maxmaxb}, + {0x006000000a09005a, &upb_psm_1bt_maxmaxb}, + {0x006800000b0a0062, &upb_psm_1bt_maxmaxb}, + {0x007000000c0b006a, &upb_psm_1bt_maxmaxb}, + {0x007800000d0c0072, &upb_psm_1bt_maxmaxb}, + {0x008000003f00007a, &upb_pss_1bt}, + {0x009000000e0d0182, &upb_psm_2bt_max64b}, + {0x009800000f0e018a, &upb_psm_2bt_maxmaxb}, + {0x00a000003f000192, &upb_pss_2bt}, + {0x00b000003f00019a, &upb_pss_2bt}, + {0x00c00000100f01a2, &upb_psm_2bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x00d80000111201ba, &upb_psm_2bt_maxmaxb}, + {0x000400003f0001c0, &upb_psv4_2bt}, + {0x00e000003f0001ca, &upb_pss_2bt}, + {0x00f000003f0001d2, &upb_pss_2bt}, + {0x000800003f0001d8, &upb_psb1_2bt}, + {0x010000003f0001e2, &upb_pss_2bt}, + {0x011000003f0001e8, &upb_psv8_2bt}, + {0x011800003f0001f0, &upb_psv8_2bt}, + {0x012000003f0001f8, &upb_psv8_2bt}, + }) +}; + +static const upb_MiniTableSub envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__AccessLogCommon__FilterStateObjectsEntry_msg_init = { + &envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_submsgs[0], + &envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__AccessLogCommon__CustomTagsEntry_msg_init = { + NULL, + &envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_data_accesslog_v3_ResponseFlags_submsgs[1] = { + {.submsg = &envoy__data__accesslog__v3__ResponseFlags__Unauthorized_msg_init}, +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_ResponseFlags__fields[27] = { + {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 3, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 5, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, 6, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 7, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {9, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {10, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {11, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {12, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(16, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(20, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(21, 14), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(22, 15), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(23, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(24, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(25, 18), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(26, 19), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(27, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(28, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(29, 22), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(30, 23), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(31, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {26, UPB_SIZE(32, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {27, UPB_SIZE(33, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__ResponseFlags_msg_init = { + &envoy_data_accesslog_v3_ResponseFlags_submsgs[0], + &envoy_data_accesslog_v3_ResponseFlags__fields[0], + 40, 27, kUpb_ExtMode_NonExtendable, 27, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000100003f000008, &upb_psb1_1bt}, + {0x000200003f000010, &upb_psb1_1bt}, + {0x000300003f000018, &upb_psb1_1bt}, + {0x000400003f000020, &upb_psb1_1bt}, + {0x000500003f000028, &upb_psb1_1bt}, + {0x000600003f000030, &upb_psb1_1bt}, + {0x000700003f000038, &upb_psb1_1bt}, + {0x000800003f000040, &upb_psb1_1bt}, + {0x000900003f000048, &upb_psb1_1bt}, + {0x000a00003f000050, &upb_psb1_1bt}, + {0x000b00003f000058, &upb_psb1_1bt}, + {0x000c00003f000060, &upb_psb1_1bt}, + {0x002000000100006a, &upb_psm_1bt_max64b}, + {0x000d00003f000070, &upb_psb1_1bt}, + {0x000e00003f000078, &upb_psb1_1bt}, + {0x000f00003f000180, &upb_psb1_2bt}, + {0x001000003f000188, &upb_psb1_2bt}, + {0x001100003f000190, &upb_psb1_2bt}, + {0x001200003f000198, &upb_psb1_2bt}, + {0x001300003f0001a0, &upb_psb1_2bt}, + {0x001400003f0001a8, &upb_psb1_2bt}, + {0x001500003f0001b0, &upb_psb1_2bt}, + {0x001600003f0001b8, &upb_psb1_2bt}, + {0x001700003f0001c0, &upb_psb1_2bt}, + {0x001800003f0001c8, &upb_psb1_2bt}, + {0x001900003f0001d0, &upb_psb1_2bt}, + {0x001a00003f0001d8, &upb_psb1_2bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_ResponseFlags_Unauthorized__fields[1] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__ResponseFlags__Unauthorized_msg_init = { + NULL, + &envoy_data_accesslog_v3_ResponseFlags_Unauthorized__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_data_accesslog_v3_TLSProperties_submsgs[3] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__data__accesslog__v3__TLSProperties__CertificateProperties_msg_init}, + {.submsg = &envoy__data__accesslog__v3__TLSProperties__CertificateProperties_msg_init}, +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_TLSProperties__fields[7] = { + {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__TLSProperties_msg_init = { + &envoy_data_accesslog_v3_TLSProperties_submsgs[0], + &envoy_data_accesslog_v3_TLSProperties__fields[0], + UPB_SIZE(48, 80), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x0008000001000012, &upb_psm_1bt_maxmaxb}, + {0x001000003f00001a, &upb_pss_1bt}, + {0x0020000002010022, &upb_psm_1bt_max64b}, + {0x002800000302002a, &upb_psm_1bt_max64b}, + {0x003000003f000032, &upb_pss_1bt}, + {0x004000003f00003a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_data_accesslog_v3_TLSProperties_CertificateProperties_submsgs[1] = { + {.submsg = &envoy__data__accesslog__v3__TLSProperties__CertificateProperties__SubjectAltName_msg_init}, +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_TLSProperties_CertificateProperties__fields[3] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__TLSProperties__CertificateProperties_msg_init = { + &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_submsgs[0], + &envoy_data_accesslog_v3_TLSProperties_CertificateProperties__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + {0x000800003f000012, &upb_pss_1bt}, + {0x001800003f00001a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName__fields[2] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__TLSProperties__CertificateProperties__SubjectAltName_msg_init = { + NULL, + &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + {0x0008000002000012, &upb_pos_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_data_accesslog_v3_HTTPRequestProperties_submsgs[2] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__data__accesslog__v3__HTTPRequestProperties__RequestHeadersEntry_msg_init}, +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_HTTPRequestProperties__fields[15] = { + {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(48, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(56, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(64, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(72, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(80, 144), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(88, 152), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(96, 168), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(104, 176), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__HTTPRequestProperties_msg_init = { + &envoy_data_accesslog_v3_HTTPRequestProperties_submsgs[0], + &envoy_data_accesslog_v3_HTTPRequestProperties__fields[0], + UPB_SIZE(112, 184), 15, kUpb_ExtMode_NonExtendable, 15, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x000800003f000012, &upb_pss_1bt}, + {0x001800003f00001a, &upb_pss_1bt}, + {0x0028000001000022, &upb_psm_1bt_maxmaxb}, + {0x003000003f00002a, &upb_pss_1bt}, + {0x004000003f000032, &upb_pss_1bt}, + {0x005000003f00003a, &upb_pss_1bt}, + {0x006000003f000042, &upb_pss_1bt}, + {0x007000003f00004a, &upb_pss_1bt}, + {0x008000003f000052, &upb_pss_1bt}, + {0x009000003f000058, &upb_psv8_1bt}, + {0x009800003f000060, &upb_psv8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x00a800003f000070, &upb_psv8_1bt}, + {0x00b000003f000078, &upb_psv8_1bt}, + }) +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__HTTPRequestProperties__RequestHeadersEntry_msg_init = { + NULL, + &envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_data_accesslog_v3_HTTPResponseProperties_submsgs[3] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__data__accesslog__v3__HTTPResponseProperties__ResponseHeadersEntry_msg_init}, + {.submsg = &envoy__data__accesslog__v3__HTTPResponseProperties__ResponseTrailersEntry_msg_init}, +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_HTTPResponseProperties__fields[8] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(40, 64), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(48, 72), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__HTTPResponseProperties_msg_init = { + &envoy_data_accesslog_v3_HTTPResponseProperties_submsgs[0], + &envoy_data_accesslog_v3_HTTPResponseProperties__fields[0], + UPB_SIZE(56, 80), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000010, &upb_psv8_1bt}, + {0x001800003f000018, &upb_psv8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x003000003f000032, &upb_pss_1bt}, + {0x004000003f000038, &upb_psv8_1bt}, + {0x004800003f000040, &upb_psv8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__HTTPResponseProperties__ResponseHeadersEntry_msg_init = { + NULL, + &envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__data__accesslog__v3__HTTPResponseProperties__ResponseTrailersEntry_msg_init = { + NULL, + &envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[16] = { + &envoy__data__accesslog__v3__TCPAccessLogEntry_msg_init, + &envoy__data__accesslog__v3__HTTPAccessLogEntry_msg_init, + &envoy__data__accesslog__v3__ConnectionProperties_msg_init, + &envoy__data__accesslog__v3__AccessLogCommon_msg_init, + &envoy__data__accesslog__v3__AccessLogCommon__FilterStateObjectsEntry_msg_init, + &envoy__data__accesslog__v3__AccessLogCommon__CustomTagsEntry_msg_init, + &envoy__data__accesslog__v3__ResponseFlags_msg_init, + &envoy__data__accesslog__v3__ResponseFlags__Unauthorized_msg_init, + &envoy__data__accesslog__v3__TLSProperties_msg_init, + &envoy__data__accesslog__v3__TLSProperties__CertificateProperties_msg_init, + &envoy__data__accesslog__v3__TLSProperties__CertificateProperties__SubjectAltName_msg_init, + &envoy__data__accesslog__v3__HTTPRequestProperties_msg_init, + &envoy__data__accesslog__v3__HTTPRequestProperties__RequestHeadersEntry_msg_init, + &envoy__data__accesslog__v3__HTTPResponseProperties_msg_init, + &envoy__data__accesslog__v3__HTTPResponseProperties__ResponseHeadersEntry_msg_init, + &envoy__data__accesslog__v3__HTTPResponseProperties__ResponseTrailersEntry_msg_init, +}; + +const upb_MiniTableFile envoy_data_accesslog_v3_accesslog_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 16, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h b/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h new file mode 100644 index 00000000000..53d7d0196ed --- /dev/null +++ b/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h @@ -0,0 +1,45 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/data/accesslog/v3/accesslog.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_MINITABLE_H_ +#define ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__data__accesslog__v3__TCPAccessLogEntry_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__HTTPAccessLogEntry_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__ConnectionProperties_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__AccessLogCommon_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__AccessLogCommon__FilterStateObjectsEntry_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__AccessLogCommon__CustomTagsEntry_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__ResponseFlags_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__ResponseFlags__Unauthorized_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__TLSProperties_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__TLSProperties__CertificateProperties_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__TLSProperties__CertificateProperties__SubjectAltName_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__HTTPRequestProperties_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__HTTPRequestProperties__RequestHeadersEntry_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__HTTPResponseProperties_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__HTTPResponseProperties__ResponseHeadersEntry_msg_init; +extern const upb_MiniTable envoy__data__accesslog__v3__HTTPResponseProperties__ResponseTrailersEntry_msg_init; + +extern const upb_MiniTableFile envoy_data_accesslog_v3_accesslog_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h b/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h new file mode 100644 index 00000000000..3133bacbbaf --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h @@ -0,0 +1,134 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/clusters/aggregate/v3/cluster.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPB_H_ +#define ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_extensions_clusters_aggregate_v3_ClusterConfig envoy_extensions_clusters_aggregate_v3_ClusterConfig; + + + +/* envoy.extensions.clusters.aggregate.v3.ClusterConfig */ + +UPB_INLINE envoy_extensions_clusters_aggregate_v3_ClusterConfig* envoy_extensions_clusters_aggregate_v3_ClusterConfig_new(upb_Arena* arena) { + return (envoy_extensions_clusters_aggregate_v3_ClusterConfig*)_upb_Message_New(&envoy__extensions__clusters__aggregate__v3__ClusterConfig_msg_init, arena); +} +UPB_INLINE envoy_extensions_clusters_aggregate_v3_ClusterConfig* envoy_extensions_clusters_aggregate_v3_ClusterConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_clusters_aggregate_v3_ClusterConfig* ret = envoy_extensions_clusters_aggregate_v3_ClusterConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__clusters__aggregate__v3__ClusterConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_clusters_aggregate_v3_ClusterConfig* envoy_extensions_clusters_aggregate_v3_ClusterConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_clusters_aggregate_v3_ClusterConfig* ret = envoy_extensions_clusters_aggregate_v3_ClusterConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__clusters__aggregate__v3__ClusterConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_clusters_aggregate_v3_ClusterConfig_serialize(const envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__clusters__aggregate__v3__ClusterConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_clusters_aggregate_v3_ClusterConfig_serialize_ex(const envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__clusters__aggregate__v3__ClusterConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_clusters_aggregate_v3_ClusterConfig_clear_clusters(envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* envoy_extensions_clusters_aggregate_v3_ClusterConfig_clusters(const envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_extensions_clusters_aggregate_v3_ClusterConfig_clusters_upb_array(const envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_extensions_clusters_aggregate_v3_ClusterConfig_clusters_mutable_upb_array(const envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_extensions_clusters_aggregate_v3_ClusterConfig_has_clusters(const envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg) { + size_t size; + envoy_extensions_clusters_aggregate_v3_ClusterConfig_clusters(msg, &size); + return size != 0; +} + +UPB_INLINE upb_StringView* envoy_extensions_clusters_aggregate_v3_ClusterConfig_mutable_clusters(envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* envoy_extensions_clusters_aggregate_v3_ClusterConfig_resize_clusters(envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool envoy_extensions_clusters_aggregate_v3_ClusterConfig_add_clusters(envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c new file mode 100644 index 00000000000..8de32fc2b9c --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c @@ -0,0 +1,46 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/clusters/aggregate/v3/cluster.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_extensions_clusters_aggregate_v3_ClusterConfig__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__clusters__aggregate__v3__ClusterConfig_msg_init = { + NULL, + &envoy_extensions_clusters_aggregate_v3_ClusterConfig__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prs_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__extensions__clusters__aggregate__v3__ClusterConfig_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_clusters_aggregate_v3_cluster_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h new file mode 100644 index 00000000000..7a18de08b59 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/clusters/aggregate/v3/cluster.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__clusters__aggregate__v3__ClusterConfig_msg_init; + +extern const upb_MiniTableFile envoy_extensions_clusters_aggregate_v3_cluster_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h b/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h new file mode 100644 index 00000000000..710357f4aab --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h @@ -0,0 +1,428 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/common/fault/v3/fault.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPB_H_ +#define ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h" + +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_extensions_filters_common_fault_v3_FaultDelay envoy_extensions_filters_common_fault_v3_FaultDelay; +typedef struct envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay; +typedef struct envoy_extensions_filters_common_fault_v3_FaultRateLimit envoy_extensions_filters_common_fault_v3_FaultRateLimit; +typedef struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit; +typedef struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit; +struct envoy_type_v3_FractionalPercent; +struct google_protobuf_Duration; + +typedef enum { + envoy_extensions_filters_common_fault_v3_FaultDelay_FIXED = 0 +} envoy_extensions_filters_common_fault_v3_FaultDelay_FaultDelayType; + + + +/* envoy.extensions.filters.common.fault.v3.FaultDelay */ + +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_new(upb_Arena* arena) { + return (envoy_extensions_filters_common_fault_v3_FaultDelay*)_upb_Message_New(&envoy__extensions__filters__common__fault__v3__FaultDelay_msg_init, arena); +} +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_filters_common_fault_v3_FaultDelay* ret = envoy_extensions_filters_common_fault_v3_FaultDelay_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__common__fault__v3__FaultDelay_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_filters_common_fault_v3_FaultDelay* ret = envoy_extensions_filters_common_fault_v3_FaultDelay_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__common__fault__v3__FaultDelay_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultDelay_serialize(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__common__fault__v3__FaultDelay_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultDelay_serialize_ex(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__common__fault__v3__FaultDelay_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_fixed_delay = 3, + envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_header_delay = 5, + envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_NOT_SET = 0 +} envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_oneofcases; +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_oneofcases envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_case(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultDelay_clear_fixed_delay(envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_extensions_filters_common_fault_v3_FaultDelay_fixed_delay(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_common_fault_v3_FaultDelay_has_fixed_delay(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultDelay_clear_percentage(envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_v3_FractionalPercent* envoy_extensions_filters_common_fault_v3_FaultDelay_percentage(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { + const struct envoy_type_v3_FractionalPercent* default_val = NULL; + const struct envoy_type_v3_FractionalPercent* ret; + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_common_fault_v3_FaultDelay_has_percentage(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultDelay_clear_header_delay(envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_header_delay(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { + const envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* default_val = NULL; + const envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* ret; + const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_common_fault_v3_FaultDelay_has_header_delay(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultDelay_set_fixed_delay(envoy_extensions_filters_common_fault_v3_FaultDelay *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_extensions_filters_common_fault_v3_FaultDelay_mutable_fixed_delay(envoy_extensions_filters_common_fault_v3_FaultDelay* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_filters_common_fault_v3_FaultDelay_fixed_delay(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_extensions_filters_common_fault_v3_FaultDelay_set_fixed_delay(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultDelay_set_percentage(envoy_extensions_filters_common_fault_v3_FaultDelay *msg, struct envoy_type_v3_FractionalPercent* value) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_extensions_filters_common_fault_v3_FaultDelay_mutable_percentage(envoy_extensions_filters_common_fault_v3_FaultDelay* msg, upb_Arena* arena) { + struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_extensions_filters_common_fault_v3_FaultDelay_percentage(msg); + if (sub == NULL) { + sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy__type__v3__FractionalPercent_msg_init, arena); + if (sub) envoy_extensions_filters_common_fault_v3_FaultDelay_set_percentage(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultDelay_set_header_delay(envoy_extensions_filters_common_fault_v3_FaultDelay *msg, envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* value) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_mutable_header_delay(envoy_extensions_filters_common_fault_v3_FaultDelay* msg, upb_Arena* arena) { + struct envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* sub = (struct envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay*)envoy_extensions_filters_common_fault_v3_FaultDelay_header_delay(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay*)_upb_Message_New(&envoy__extensions__filters__common__fault__v3__FaultDelay__HeaderDelay_msg_init, arena); + if (sub) envoy_extensions_filters_common_fault_v3_FaultDelay_set_header_delay(msg, sub); + } + return sub; +} + +/* envoy.extensions.filters.common.fault.v3.FaultDelay.HeaderDelay */ + +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_new(upb_Arena* arena) { + return (envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay*)_upb_Message_New(&envoy__extensions__filters__common__fault__v3__FaultDelay__HeaderDelay_msg_init, arena); +} +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* ret = envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__common__fault__v3__FaultDelay__HeaderDelay_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* ret = envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__common__fault__v3__FaultDelay__HeaderDelay_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_serialize(const envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__common__fault__v3__FaultDelay__HeaderDelay_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_serialize_ex(const envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__common__fault__v3__FaultDelay__HeaderDelay_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* envoy.extensions.filters.common.fault.v3.FaultRateLimit */ + +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_new(upb_Arena* arena) { + return (envoy_extensions_filters_common_fault_v3_FaultRateLimit*)_upb_Message_New(&envoy__extensions__filters__common__fault__v3__FaultRateLimit_msg_init, arena); +} +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_filters_common_fault_v3_FaultRateLimit* ret = envoy_extensions_filters_common_fault_v3_FaultRateLimit_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__common__fault__v3__FaultRateLimit_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_filters_common_fault_v3_FaultRateLimit* ret = envoy_extensions_filters_common_fault_v3_FaultRateLimit_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__common__fault__v3__FaultRateLimit_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultRateLimit_serialize(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__common__fault__v3__FaultRateLimit_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultRateLimit_serialize_ex(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__common__fault__v3__FaultRateLimit_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_fixed_limit = 1, + envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_header_limit = 3, + envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_NOT_SET = 0 +} envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_oneofcases; +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_oneofcases envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_case(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_clear_fixed_limit(envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_fixed_limit(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { + const envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* default_val = NULL; + const envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_common_fault_v3_FaultRateLimit_has_fixed_limit(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_clear_percentage(envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_v3_FractionalPercent* envoy_extensions_filters_common_fault_v3_FaultRateLimit_percentage(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { + const struct envoy_type_v3_FractionalPercent* default_val = NULL; + const struct envoy_type_v3_FractionalPercent* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_common_fault_v3_FaultRateLimit_has_percentage(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_clear_header_limit(envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_header_limit(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { + const envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* default_val = NULL; + const envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_common_fault_v3_FaultRateLimit_has_header_limit(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_set_fixed_limit(envoy_extensions_filters_common_fault_v3_FaultRateLimit *msg, envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_mutable_fixed_limit(envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg, upb_Arena* arena) { + struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* sub = (struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit*)envoy_extensions_filters_common_fault_v3_FaultRateLimit_fixed_limit(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit*)_upb_Message_New(&envoy__extensions__filters__common__fault__v3__FaultRateLimit__FixedLimit_msg_init, arena); + if (sub) envoy_extensions_filters_common_fault_v3_FaultRateLimit_set_fixed_limit(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_set_percentage(envoy_extensions_filters_common_fault_v3_FaultRateLimit *msg, struct envoy_type_v3_FractionalPercent* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_extensions_filters_common_fault_v3_FaultRateLimit_mutable_percentage(envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg, upb_Arena* arena) { + struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_extensions_filters_common_fault_v3_FaultRateLimit_percentage(msg); + if (sub == NULL) { + sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy__type__v3__FractionalPercent_msg_init, arena); + if (sub) envoy_extensions_filters_common_fault_v3_FaultRateLimit_set_percentage(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_set_header_limit(envoy_extensions_filters_common_fault_v3_FaultRateLimit *msg, envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_mutable_header_limit(envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg, upb_Arena* arena) { + struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* sub = (struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit*)envoy_extensions_filters_common_fault_v3_FaultRateLimit_header_limit(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit*)_upb_Message_New(&envoy__extensions__filters__common__fault__v3__FaultRateLimit__HeaderLimit_msg_init, arena); + if (sub) envoy_extensions_filters_common_fault_v3_FaultRateLimit_set_header_limit(msg, sub); + } + return sub; +} + +/* envoy.extensions.filters.common.fault.v3.FaultRateLimit.FixedLimit */ + +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_new(upb_Arena* arena) { + return (envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit*)_upb_Message_New(&envoy__extensions__filters__common__fault__v3__FaultRateLimit__FixedLimit_msg_init, arena); +} +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* ret = envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__common__fault__v3__FaultRateLimit__FixedLimit_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* ret = envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__common__fault__v3__FaultRateLimit__FixedLimit_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_serialize(const envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__common__fault__v3__FaultRateLimit__FixedLimit_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_serialize_ex(const envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__common__fault__v3__FaultRateLimit__FixedLimit_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_clear_limit_kbps(envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_limit_kbps(const envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_set_limit_kbps(envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit *msg, uint64_t value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.extensions.filters.common.fault.v3.FaultRateLimit.HeaderLimit */ + +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_new(upb_Arena* arena) { + return (envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit*)_upb_Message_New(&envoy__extensions__filters__common__fault__v3__FaultRateLimit__HeaderLimit_msg_init, arena); +} +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* ret = envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__common__fault__v3__FaultRateLimit__HeaderLimit_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* ret = envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__common__fault__v3__FaultRateLimit__HeaderLimit_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_serialize(const envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__common__fault__v3__FaultRateLimit__HeaderLimit_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_serialize_ex(const envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__common__fault__v3__FaultRateLimit__HeaderLimit_msg_init, options, arena, &ptr, len); + return ptr; +} + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c new file mode 100644 index 00000000000..f529824b170 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c @@ -0,0 +1,116 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/common/fault/v3/fault.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_filters_common_fault_v3_FaultDelay_submsgs[3] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__type__v3__FractionalPercent_msg_init}, + {.submsg = &envoy__extensions__filters__common__fault__v3__FaultDelay__HeaderDelay_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_common_fault_v3_FaultDelay__fields[3] = { + {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__common__fault__v3__FaultDelay_msg_init = { + &envoy_extensions_filters_common_fault_v3_FaultDelay_submsgs[0], + &envoy_extensions_filters_common_fault_v3_FaultDelay__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000040300001a, &upb_pom_1bt_maxmaxb}, + {0x0008000001010022, &upb_psm_1bt_maxmaxb}, + {0x001000040502002a, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +const upb_MiniTable envoy__extensions__filters__common__fault__v3__FaultDelay__HeaderDelay_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_extensions_filters_common_fault_v3_FaultRateLimit_submsgs[3] = { + {.submsg = &envoy__extensions__filters__common__fault__v3__FaultRateLimit__FixedLimit_msg_init}, + {.submsg = &envoy__type__v3__FractionalPercent_msg_init}, + {.submsg = &envoy__extensions__filters__common__fault__v3__FaultRateLimit__HeaderLimit_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_common_fault_v3_FaultRateLimit__fields[3] = { + {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__common__fault__v3__FaultRateLimit_msg_init = { + &envoy_extensions_filters_common_fault_v3_FaultRateLimit_submsgs[0], + &envoy_extensions_filters_common_fault_v3_FaultRateLimit__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000040100000a, &upb_pom_1bt_max64b}, + {0x0008000001010012, &upb_psm_1bt_maxmaxb}, + {0x001000040302001a, &upb_pom_1bt_max64b}, + }) +}; + +static const upb_MiniTableField envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit__fields[1] = { + {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__common__fault__v3__FaultRateLimit__FixedLimit_msg_init = { + NULL, + &envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv8_1bt}, + }) +}; + +const upb_MiniTable envoy__extensions__filters__common__fault__v3__FaultRateLimit__HeaderLimit_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTable *messages_layout[5] = { + &envoy__extensions__filters__common__fault__v3__FaultDelay_msg_init, + &envoy__extensions__filters__common__fault__v3__FaultDelay__HeaderDelay_msg_init, + &envoy__extensions__filters__common__fault__v3__FaultRateLimit_msg_init, + &envoy__extensions__filters__common__fault__v3__FaultRateLimit__FixedLimit_msg_init, + &envoy__extensions__filters__common__fault__v3__FaultRateLimit__HeaderLimit_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_filters_common_fault_v3_fault_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 5, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h new file mode 100644 index 00000000000..b5f4270c40e --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h @@ -0,0 +1,34 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/common/fault/v3/fault.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__filters__common__fault__v3__FaultDelay_msg_init; +extern const upb_MiniTable envoy__extensions__filters__common__fault__v3__FaultDelay__HeaderDelay_msg_init; +extern const upb_MiniTable envoy__extensions__filters__common__fault__v3__FaultRateLimit_msg_init; +extern const upb_MiniTable envoy__extensions__filters__common__fault__v3__FaultRateLimit__FixedLimit_msg_init; +extern const upb_MiniTable envoy__extensions__filters__common__fault__v3__FaultRateLimit__HeaderLimit_msg_init; + +extern const upb_MiniTableFile envoy_extensions_filters_common_fault_v3_fault_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h b/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h new file mode 100644 index 00000000000..bec25cd7dd8 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h @@ -0,0 +1,656 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/fault/v3/fault.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPB_H_ +#define ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h" + +#include "envoy/config/route/v3/route_components.upb_minitable.h" +#include "envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_extensions_filters_http_fault_v3_FaultAbort envoy_extensions_filters_http_fault_v3_FaultAbort; +typedef struct envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort; +typedef struct envoy_extensions_filters_http_fault_v3_HTTPFault envoy_extensions_filters_http_fault_v3_HTTPFault; +struct envoy_config_route_v3_HeaderMatcher; +struct envoy_extensions_filters_common_fault_v3_FaultDelay; +struct envoy_extensions_filters_common_fault_v3_FaultRateLimit; +struct envoy_type_v3_FractionalPercent; +struct google_protobuf_Struct; +struct google_protobuf_UInt32Value; + + + +/* envoy.extensions.filters.http.fault.v3.FaultAbort */ + +UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_new(upb_Arena* arena) { + return (envoy_extensions_filters_http_fault_v3_FaultAbort*)_upb_Message_New(&envoy__extensions__filters__http__fault__v3__FaultAbort_msg_init, arena); +} +UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_filters_http_fault_v3_FaultAbort* ret = envoy_extensions_filters_http_fault_v3_FaultAbort_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__fault__v3__FaultAbort_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_filters_http_fault_v3_FaultAbort* ret = envoy_extensions_filters_http_fault_v3_FaultAbort_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__fault__v3__FaultAbort_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_filters_http_fault_v3_FaultAbort_serialize(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__http__fault__v3__FaultAbort_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_filters_http_fault_v3_FaultAbort_serialize_ex(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__http__fault__v3__FaultAbort_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_http_status = 2, + envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_grpc_status = 5, + envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_header_abort = 4, + envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_NOT_SET = 0 +} envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_oneofcases; +UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_oneofcases envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_case(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return (envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_clear_http_status(envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint32_t envoy_extensions_filters_http_fault_v3_FaultAbort_http_status(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_fault_v3_FaultAbort_has_http_status(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_clear_percentage(envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_v3_FractionalPercent* envoy_extensions_filters_http_fault_v3_FaultAbort_percentage(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { + const struct envoy_type_v3_FractionalPercent* default_val = NULL; + const struct envoy_type_v3_FractionalPercent* ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_fault_v3_FaultAbort_has_percentage(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_clear_header_abort(envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_header_abort(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { + const envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* default_val = NULL; + const envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* ret; + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_fault_v3_FaultAbort_has_header_abort(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_clear_grpc_status(envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint32_t envoy_extensions_filters_http_fault_v3_FaultAbort_grpc_status(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_fault_v3_FaultAbort_has_grpc_status(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_set_http_status(envoy_extensions_filters_http_fault_v3_FaultAbort *msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_set_percentage(envoy_extensions_filters_http_fault_v3_FaultAbort *msg, struct envoy_type_v3_FractionalPercent* value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_extensions_filters_http_fault_v3_FaultAbort_mutable_percentage(envoy_extensions_filters_http_fault_v3_FaultAbort* msg, upb_Arena* arena) { + struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_extensions_filters_http_fault_v3_FaultAbort_percentage(msg); + if (sub == NULL) { + sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy__type__v3__FractionalPercent_msg_init, arena); + if (sub) envoy_extensions_filters_http_fault_v3_FaultAbort_set_percentage(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_set_header_abort(envoy_extensions_filters_http_fault_v3_FaultAbort *msg, envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* value) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_mutable_header_abort(envoy_extensions_filters_http_fault_v3_FaultAbort* msg, upb_Arena* arena) { + struct envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* sub = (struct envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort*)envoy_extensions_filters_http_fault_v3_FaultAbort_header_abort(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort*)_upb_Message_New(&envoy__extensions__filters__http__fault__v3__FaultAbort__HeaderAbort_msg_init, arena); + if (sub) envoy_extensions_filters_http_fault_v3_FaultAbort_set_header_abort(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_set_grpc_status(envoy_extensions_filters_http_fault_v3_FaultAbort *msg, uint32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.extensions.filters.http.fault.v3.FaultAbort.HeaderAbort */ + +UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_new(upb_Arena* arena) { + return (envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort*)_upb_Message_New(&envoy__extensions__filters__http__fault__v3__FaultAbort__HeaderAbort_msg_init, arena); +} +UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* ret = envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__fault__v3__FaultAbort__HeaderAbort_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* ret = envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__fault__v3__FaultAbort__HeaderAbort_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_serialize(const envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__http__fault__v3__FaultAbort__HeaderAbort_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_serialize_ex(const envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__http__fault__v3__FaultAbort__HeaderAbort_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* envoy.extensions.filters.http.fault.v3.HTTPFault */ + +UPB_INLINE envoy_extensions_filters_http_fault_v3_HTTPFault* envoy_extensions_filters_http_fault_v3_HTTPFault_new(upb_Arena* arena) { + return (envoy_extensions_filters_http_fault_v3_HTTPFault*)_upb_Message_New(&envoy__extensions__filters__http__fault__v3__HTTPFault_msg_init, arena); +} +UPB_INLINE envoy_extensions_filters_http_fault_v3_HTTPFault* envoy_extensions_filters_http_fault_v3_HTTPFault_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_filters_http_fault_v3_HTTPFault* ret = envoy_extensions_filters_http_fault_v3_HTTPFault_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__fault__v3__HTTPFault_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_filters_http_fault_v3_HTTPFault* envoy_extensions_filters_http_fault_v3_HTTPFault_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_filters_http_fault_v3_HTTPFault* ret = envoy_extensions_filters_http_fault_v3_HTTPFault_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__fault__v3__HTTPFault_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_filters_http_fault_v3_HTTPFault_serialize(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__http__fault__v3__HTTPFault_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_filters_http_fault_v3_HTTPFault_serialize_ex(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__http__fault__v3__HTTPFault_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_delay(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_extensions_filters_common_fault_v3_FaultDelay* envoy_extensions_filters_http_fault_v3_HTTPFault_delay(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const struct envoy_extensions_filters_common_fault_v3_FaultDelay* default_val = NULL; + const struct envoy_extensions_filters_common_fault_v3_FaultDelay* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_delay(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_abort(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_filters_http_fault_v3_FaultAbort* envoy_extensions_filters_http_fault_v3_HTTPFault_abort(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const envoy_extensions_filters_http_fault_v3_FaultAbort* default_val = NULL; + const envoy_extensions_filters_http_fault_v3_FaultAbort* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_abort(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_upstream_cluster(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_upstream_cluster(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_headers(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* const* envoy_extensions_filters_http_fault_v3_HTTPFault_headers(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct envoy_config_route_v3_HeaderMatcher* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_extensions_filters_http_fault_v3_HTTPFault_headers_upb_array(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_extensions_filters_http_fault_v3_HTTPFault_headers_mutable_upb_array(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_headers(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + size_t size; + envoy_extensions_filters_http_fault_v3_HTTPFault_headers(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_downstream_nodes(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* envoy_extensions_filters_http_fault_v3_HTTPFault_downstream_nodes(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_extensions_filters_http_fault_v3_HTTPFault_downstream_nodes_upb_array(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_extensions_filters_http_fault_v3_HTTPFault_downstream_nodes_mutable_upb_array(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_downstream_nodes(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + size_t size; + envoy_extensions_filters_http_fault_v3_HTTPFault_downstream_nodes(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_max_active_faults(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_extensions_filters_http_fault_v3_HTTPFault_max_active_faults(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_max_active_faults(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_response_rate_limit(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_extensions_filters_common_fault_v3_FaultRateLimit* envoy_extensions_filters_http_fault_v3_HTTPFault_response_rate_limit(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const struct envoy_extensions_filters_common_fault_v3_FaultRateLimit* default_val = NULL; + const struct envoy_extensions_filters_common_fault_v3_FaultRateLimit* ret; + const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_response_rate_limit(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_delay_percent_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(44, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_delay_percent_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {8, UPB_SIZE(44, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_abort_percent_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(52, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_abort_percent_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {9, UPB_SIZE(52, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_delay_duration_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(60, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_delay_duration_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {10, UPB_SIZE(60, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_abort_http_status_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(68, 120), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_abort_http_status_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {11, UPB_SIZE(68, 120), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_max_active_faults_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(76, 136), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_max_active_faults_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {12, UPB_SIZE(76, 136), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_response_rate_limit_percent_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(84, 152), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_response_rate_limit_percent_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {13, UPB_SIZE(84, 152), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_abort_grpc_status_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(92, 168), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_abort_grpc_status_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {14, UPB_SIZE(92, 168), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_disable_downstream_cluster_stats(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(28, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_disable_downstream_cluster_stats(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {15, UPB_SIZE(28, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_filter_metadata(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(32, 184), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Struct* envoy_extensions_filters_http_fault_v3_HTTPFault_filter_metadata(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const struct google_protobuf_Struct* default_val = NULL; + const struct google_protobuf_Struct* ret; + const upb_MiniTableField field = {16, UPB_SIZE(32, 184), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_filter_metadata(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(32, 184), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_delay(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, struct envoy_extensions_filters_common_fault_v3_FaultDelay* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_filters_common_fault_v3_FaultDelay* envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_delay(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena) { + struct envoy_extensions_filters_common_fault_v3_FaultDelay* sub = (struct envoy_extensions_filters_common_fault_v3_FaultDelay*)envoy_extensions_filters_http_fault_v3_HTTPFault_delay(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_filters_common_fault_v3_FaultDelay*)_upb_Message_New(&envoy__extensions__filters__common__fault__v3__FaultDelay_msg_init, arena); + if (sub) envoy_extensions_filters_http_fault_v3_HTTPFault_set_delay(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_abort(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, envoy_extensions_filters_http_fault_v3_FaultAbort* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_filters_http_fault_v3_FaultAbort* envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_abort(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena) { + struct envoy_extensions_filters_http_fault_v3_FaultAbort* sub = (struct envoy_extensions_filters_http_fault_v3_FaultAbort*)envoy_extensions_filters_http_fault_v3_HTTPFault_abort(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_filters_http_fault_v3_FaultAbort*)_upb_Message_New(&envoy__extensions__filters__http__fault__v3__FaultAbort_msg_init, arena); + if (sub) envoy_extensions_filters_http_fault_v3_HTTPFault_set_abort(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_upstream_cluster(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_headers(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct envoy_config_route_v3_HeaderMatcher**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_extensions_filters_http_fault_v3_HTTPFault_resize_headers(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct envoy_config_route_v3_HeaderMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_extensions_filters_http_fault_v3_HTTPFault_add_headers(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy__config__route__v3__HeaderMatcher_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE upb_StringView* envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_downstream_nodes(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* envoy_extensions_filters_http_fault_v3_HTTPFault_resize_downstream_nodes(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_add_downstream_nodes(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_max_active_faults(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_max_active_faults(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_extensions_filters_http_fault_v3_HTTPFault_max_active_faults(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_extensions_filters_http_fault_v3_HTTPFault_set_max_active_faults(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_response_rate_limit(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, struct envoy_extensions_filters_common_fault_v3_FaultRateLimit* value) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_filters_common_fault_v3_FaultRateLimit* envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_response_rate_limit(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena) { + struct envoy_extensions_filters_common_fault_v3_FaultRateLimit* sub = (struct envoy_extensions_filters_common_fault_v3_FaultRateLimit*)envoy_extensions_filters_http_fault_v3_HTTPFault_response_rate_limit(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_filters_common_fault_v3_FaultRateLimit*)_upb_Message_New(&envoy__extensions__filters__common__fault__v3__FaultRateLimit_msg_init, arena); + if (sub) envoy_extensions_filters_http_fault_v3_HTTPFault_set_response_rate_limit(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_delay_percent_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { + const upb_MiniTableField field = {8, UPB_SIZE(44, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_abort_percent_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { + const upb_MiniTableField field = {9, UPB_SIZE(52, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_delay_duration_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { + const upb_MiniTableField field = {10, UPB_SIZE(60, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_abort_http_status_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { + const upb_MiniTableField field = {11, UPB_SIZE(68, 120), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_max_active_faults_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { + const upb_MiniTableField field = {12, UPB_SIZE(76, 136), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_response_rate_limit_percent_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { + const upb_MiniTableField field = {13, UPB_SIZE(84, 152), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_abort_grpc_status_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { + const upb_MiniTableField field = {14, UPB_SIZE(92, 168), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_disable_downstream_cluster_stats(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, bool value) { + const upb_MiniTableField field = {15, UPB_SIZE(28, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_filter_metadata(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, struct google_protobuf_Struct* value) { + const upb_MiniTableField field = {16, UPB_SIZE(32, 184), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Struct* envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_filter_metadata(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena) { + struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_extensions_filters_http_fault_v3_HTTPFault_filter_metadata(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); + if (sub) envoy_extensions_filters_http_fault_v3_HTTPFault_set_filter_metadata(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c new file mode 100644 index 00000000000..dba34760827 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c @@ -0,0 +1,141 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/fault/v3/fault.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h" +#include "envoy/config/route/v3/route_components.upb_minitable.h" +#include "envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_filters_http_fault_v3_FaultAbort_submsgs[2] = { + {.submsg = &envoy__type__v3__FractionalPercent_msg_init}, + {.submsg = &envoy__extensions__filters__http__fault__v3__FaultAbort__HeaderAbort_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_http_fault_v3_FaultAbort__fields[4] = { + {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__http__fault__v3__FaultAbort_msg_init = { + &envoy_extensions_filters_http_fault_v3_FaultAbort_submsgs[0], + &envoy_extensions_filters_http_fault_v3_FaultAbort__fields[0], + UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0010000402000010, &upb_pov4_1bt}, + {0x000800000100001a, &upb_psm_1bt_maxmaxb}, + {0x0010000404010022, &upb_pom_1bt_max64b}, + {0x0010000405000028, &upb_pov4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +const upb_MiniTable envoy__extensions__filters__http__fault__v3__FaultAbort__HeaderAbort_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_extensions_filters_http_fault_v3_HTTPFault_submsgs[6] = { + {.submsg = &envoy__extensions__filters__common__fault__v3__FaultDelay_msg_init}, + {.submsg = &envoy__extensions__filters__http__fault__v3__FaultAbort_msg_init}, + {.submsg = &envoy__config__route__v3__HeaderMatcher_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__extensions__filters__common__fault__v3__FaultRateLimit_msg_init}, + {.submsg = &google__protobuf__Struct_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_http_fault_v3_HTTPFault__fields[16] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(44, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(52, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(60, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(68, 120), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(76, 136), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(84, 152), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(92, 168), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(28, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(32, 184), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__http__fault__v3__HTTPFault_msg_init = { + &envoy_extensions_filters_http_fault_v3_HTTPFault_submsgs[0], + &envoy_extensions_filters_http_fault_v3_HTTPFault__fields[0], + UPB_SIZE(104, 192), 16, kUpb_ExtMode_NonExtendable, 16, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_max64b}, + {0x001800003f00001a, &upb_pss_1bt}, + {0x002800003f020022, &upb_prm_1bt_maxmaxb}, + {0x003000003f00002a, &upb_prs_1bt}, + {0x0038000003030032, &upb_psm_1bt_maxmaxb}, + {0x004000000404003a, &upb_psm_1bt_maxmaxb}, + {0x004800003f000042, &upb_pss_1bt}, + {0x005800003f00004a, &upb_pss_1bt}, + {0x006800003f000052, &upb_pss_1bt}, + {0x007800003f00005a, &upb_pss_1bt}, + {0x008800003f000062, &upb_pss_1bt}, + {0x009800003f00006a, &upb_pss_1bt}, + {0x00a800003f000072, &upb_pss_1bt}, + {0x000100003f000078, &upb_psb1_1bt}, + {0x00b8000005050182, &upb_psm_2bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[3] = { + &envoy__extensions__filters__http__fault__v3__FaultAbort_msg_init, + &envoy__extensions__filters__http__fault__v3__FaultAbort__HeaderAbort_msg_init, + &envoy__extensions__filters__http__fault__v3__HTTPFault_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_filters_http_fault_v3_fault_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 3, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h new file mode 100644 index 00000000000..02fef1103f7 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h @@ -0,0 +1,32 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/fault/v3/fault.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__filters__http__fault__v3__FaultAbort_msg_init; +extern const upb_MiniTable envoy__extensions__filters__http__fault__v3__FaultAbort__HeaderAbort_msg_init; +extern const upb_MiniTable envoy__extensions__filters__http__fault__v3__HTTPFault_msg_init; + +extern const upb_MiniTableFile envoy_extensions_filters_http_fault_v3_fault_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h b/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h new file mode 100644 index 00000000000..8a21e2ec944 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h @@ -0,0 +1,266 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/rbac/v3/rbac.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPB_H_ +#define ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h" + +#include "envoy/config/rbac/v3/rbac.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_extensions_filters_http_rbac_v3_RBAC envoy_extensions_filters_http_rbac_v3_RBAC; +typedef struct envoy_extensions_filters_http_rbac_v3_RBACPerRoute envoy_extensions_filters_http_rbac_v3_RBACPerRoute; +struct envoy_config_rbac_v3_RBAC; +struct xds_type_matcher_v3_Matcher; + + + +/* envoy.extensions.filters.http.rbac.v3.RBAC */ + +UPB_INLINE envoy_extensions_filters_http_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_new(upb_Arena* arena) { + return (envoy_extensions_filters_http_rbac_v3_RBAC*)_upb_Message_New(&envoy__extensions__filters__http__rbac__v3__RBAC_msg_init, arena); +} +UPB_INLINE envoy_extensions_filters_http_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_filters_http_rbac_v3_RBAC* ret = envoy_extensions_filters_http_rbac_v3_RBAC_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__rbac__v3__RBAC_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_filters_http_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_filters_http_rbac_v3_RBAC* ret = envoy_extensions_filters_http_rbac_v3_RBAC_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__rbac__v3__RBAC_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_filters_http_rbac_v3_RBAC_serialize(const envoy_extensions_filters_http_rbac_v3_RBAC* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__http__rbac__v3__RBAC_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_filters_http_rbac_v3_RBAC_serialize_ex(const envoy_extensions_filters_http_rbac_v3_RBAC* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__http__rbac__v3__RBAC_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_clear_rules(envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_rules(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + const struct envoy_config_rbac_v3_RBAC* default_val = NULL; + const struct envoy_config_rbac_v3_RBAC* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_rbac_v3_RBAC_has_rules(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_clear_shadow_rules(envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_shadow_rules(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + const struct envoy_config_rbac_v3_RBAC* default_val = NULL; + const struct envoy_config_rbac_v3_RBAC* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_rbac_v3_RBAC_has_shadow_rules(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_clear_shadow_rules_stat_prefix(envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_extensions_filters_http_rbac_v3_RBAC_shadow_rules_stat_prefix(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_clear_matcher(envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_type_matcher_v3_Matcher* envoy_extensions_filters_http_rbac_v3_RBAC_matcher(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + const struct xds_type_matcher_v3_Matcher* default_val = NULL; + const struct xds_type_matcher_v3_Matcher* ret; + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_rbac_v3_RBAC_has_matcher(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_clear_shadow_matcher(envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_type_matcher_v3_Matcher* envoy_extensions_filters_http_rbac_v3_RBAC_shadow_matcher(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + const struct xds_type_matcher_v3_Matcher* default_val = NULL; + const struct xds_type_matcher_v3_Matcher* ret; + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_rbac_v3_RBAC_has_shadow_matcher(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_set_rules(envoy_extensions_filters_http_rbac_v3_RBAC *msg, struct envoy_config_rbac_v3_RBAC* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_mutable_rules(envoy_extensions_filters_http_rbac_v3_RBAC* msg, upb_Arena* arena) { + struct envoy_config_rbac_v3_RBAC* sub = (struct envoy_config_rbac_v3_RBAC*)envoy_extensions_filters_http_rbac_v3_RBAC_rules(msg); + if (sub == NULL) { + sub = (struct envoy_config_rbac_v3_RBAC*)_upb_Message_New(&envoy__config__rbac__v3__RBAC_msg_init, arena); + if (sub) envoy_extensions_filters_http_rbac_v3_RBAC_set_rules(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_set_shadow_rules(envoy_extensions_filters_http_rbac_v3_RBAC *msg, struct envoy_config_rbac_v3_RBAC* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_mutable_shadow_rules(envoy_extensions_filters_http_rbac_v3_RBAC* msg, upb_Arena* arena) { + struct envoy_config_rbac_v3_RBAC* sub = (struct envoy_config_rbac_v3_RBAC*)envoy_extensions_filters_http_rbac_v3_RBAC_shadow_rules(msg); + if (sub == NULL) { + sub = (struct envoy_config_rbac_v3_RBAC*)_upb_Message_New(&envoy__config__rbac__v3__RBAC_msg_init, arena); + if (sub) envoy_extensions_filters_http_rbac_v3_RBAC_set_shadow_rules(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_set_shadow_rules_stat_prefix(envoy_extensions_filters_http_rbac_v3_RBAC *msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_set_matcher(envoy_extensions_filters_http_rbac_v3_RBAC *msg, struct xds_type_matcher_v3_Matcher* value) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher* envoy_extensions_filters_http_rbac_v3_RBAC_mutable_matcher(envoy_extensions_filters_http_rbac_v3_RBAC* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher* sub = (struct xds_type_matcher_v3_Matcher*)envoy_extensions_filters_http_rbac_v3_RBAC_matcher(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher*)_upb_Message_New(&xds__type__matcher__v3__Matcher_msg_init, arena); + if (sub) envoy_extensions_filters_http_rbac_v3_RBAC_set_matcher(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_set_shadow_matcher(envoy_extensions_filters_http_rbac_v3_RBAC *msg, struct xds_type_matcher_v3_Matcher* value) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher* envoy_extensions_filters_http_rbac_v3_RBAC_mutable_shadow_matcher(envoy_extensions_filters_http_rbac_v3_RBAC* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher* sub = (struct xds_type_matcher_v3_Matcher*)envoy_extensions_filters_http_rbac_v3_RBAC_shadow_matcher(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher*)_upb_Message_New(&xds__type__matcher__v3__Matcher_msg_init, arena); + if (sub) envoy_extensions_filters_http_rbac_v3_RBAC_set_shadow_matcher(msg, sub); + } + return sub; +} + +/* envoy.extensions.filters.http.rbac.v3.RBACPerRoute */ + +UPB_INLINE envoy_extensions_filters_http_rbac_v3_RBACPerRoute* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_new(upb_Arena* arena) { + return (envoy_extensions_filters_http_rbac_v3_RBACPerRoute*)_upb_Message_New(&envoy__extensions__filters__http__rbac__v3__RBACPerRoute_msg_init, arena); +} +UPB_INLINE envoy_extensions_filters_http_rbac_v3_RBACPerRoute* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_filters_http_rbac_v3_RBACPerRoute* ret = envoy_extensions_filters_http_rbac_v3_RBACPerRoute_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__rbac__v3__RBACPerRoute_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_filters_http_rbac_v3_RBACPerRoute* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_filters_http_rbac_v3_RBACPerRoute* ret = envoy_extensions_filters_http_rbac_v3_RBACPerRoute_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__rbac__v3__RBACPerRoute_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_serialize(const envoy_extensions_filters_http_rbac_v3_RBACPerRoute* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__http__rbac__v3__RBACPerRoute_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_serialize_ex(const envoy_extensions_filters_http_rbac_v3_RBACPerRoute* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__filters__http__rbac__v3__RBACPerRoute_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBACPerRoute_clear_rbac(envoy_extensions_filters_http_rbac_v3_RBACPerRoute* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_filters_http_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_rbac(const envoy_extensions_filters_http_rbac_v3_RBACPerRoute* msg) { + const envoy_extensions_filters_http_rbac_v3_RBAC* default_val = NULL; + const envoy_extensions_filters_http_rbac_v3_RBAC* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_http_rbac_v3_RBACPerRoute_has_rbac(const envoy_extensions_filters_http_rbac_v3_RBACPerRoute* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBACPerRoute_set_rbac(envoy_extensions_filters_http_rbac_v3_RBACPerRoute *msg, envoy_extensions_filters_http_rbac_v3_RBAC* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_filters_http_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_mutable_rbac(envoy_extensions_filters_http_rbac_v3_RBACPerRoute* msg, upb_Arena* arena) { + struct envoy_extensions_filters_http_rbac_v3_RBAC* sub = (struct envoy_extensions_filters_http_rbac_v3_RBAC*)envoy_extensions_filters_http_rbac_v3_RBACPerRoute_rbac(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_filters_http_rbac_v3_RBAC*)_upb_Message_New(&envoy__extensions__filters__http__rbac__v3__RBAC_msg_init, arena); + if (sub) envoy_extensions_filters_http_rbac_v3_RBACPerRoute_set_rbac(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c new file mode 100644 index 00000000000..b24122632dd --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c @@ -0,0 +1,87 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/rbac/v3/rbac.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h" +#include "envoy/config/rbac/v3/rbac.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_filters_http_rbac_v3_RBAC_submsgs[4] = { + {.submsg = &envoy__config__rbac__v3__RBAC_msg_init}, + {.submsg = &envoy__config__rbac__v3__RBAC_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_http_rbac_v3_RBAC__fields[5] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__http__rbac__v3__RBAC_msg_init = { + &envoy_extensions_filters_http_rbac_v3_RBAC_submsgs[0], + &envoy_extensions_filters_http_rbac_v3_RBAC__fields[0], + UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800003f00001a, &upb_pss_1bt}, + {0x0028000003020022, &upb_psm_1bt_maxmaxb}, + {0x003000000403002a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_http_rbac_v3_RBACPerRoute_submsgs[1] = { + {.submsg = &envoy__extensions__filters__http__rbac__v3__RBAC_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_http_rbac_v3_RBACPerRoute__fields[1] = { + {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__http__rbac__v3__RBACPerRoute_msg_init = { + &envoy_extensions_filters_http_rbac_v3_RBACPerRoute_submsgs[0], + &envoy_extensions_filters_http_rbac_v3_RBACPerRoute__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__extensions__filters__http__rbac__v3__RBAC_msg_init, + &envoy__extensions__filters__http__rbac__v3__RBACPerRoute_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_filters_http_rbac_v3_rbac_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h new file mode 100644 index 00000000000..3a6671638c3 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/rbac/v3/rbac.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__filters__http__rbac__v3__RBAC_msg_init; +extern const upb_MiniTable envoy__extensions__filters__http__rbac__v3__RBACPerRoute_msg_init; + +extern const upb_MiniTableFile envoy_extensions_filters_http_rbac_v3_rbac_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h b/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h similarity index 92% rename from src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h rename to src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h index 71a79635f38..87a08eef22a 100644 --- a/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +++ b/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/filters/http/router/v3/router.proto * @@ -10,7 +9,19 @@ #define ENVOY_EXTENSIONS_FILTERS_HTTP_ROUTER_V3_ROUTER_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/extensions/filters/http/router/v3/router.upb_minitable.h" + +#include "envoy/config/accesslog/v3/accesslog.upb_minitable.h" +#include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,28 +30,22 @@ extern "C" { typedef struct envoy_extensions_filters_http_router_v3_Router envoy_extensions_filters_http_router_v3_Router; typedef struct envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions; -extern const upb_MiniTable envoy_extensions_filters_http_router_v3_Router_msg_init; -extern const upb_MiniTable envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_msg_init; struct envoy_config_accesslog_v3_AccessLog; struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter; struct google_protobuf_BoolValue; struct google_protobuf_Duration; -extern const upb_MiniTable envoy_config_accesslog_v3_AccessLog_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; /* envoy.extensions.filters.http.router.v3.Router */ UPB_INLINE envoy_extensions_filters_http_router_v3_Router* envoy_extensions_filters_http_router_v3_Router_new(upb_Arena* arena) { - return (envoy_extensions_filters_http_router_v3_Router*)_upb_Message_New(&envoy_extensions_filters_http_router_v3_Router_msg_init, arena); + return (envoy_extensions_filters_http_router_v3_Router*)_upb_Message_New(&envoy__extensions__filters__http__router__v3__Router_msg_init, arena); } UPB_INLINE envoy_extensions_filters_http_router_v3_Router* envoy_extensions_filters_http_router_v3_Router_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_http_router_v3_Router* ret = envoy_extensions_filters_http_router_v3_Router_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_router_v3_Router_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__router__v3__Router_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -50,7 +55,7 @@ UPB_INLINE envoy_extensions_filters_http_router_v3_Router* envoy_extensions_filt int options, upb_Arena* arena) { envoy_extensions_filters_http_router_v3_Router* ret = envoy_extensions_filters_http_router_v3_Router_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_router_v3_Router_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__router__v3__Router_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -58,13 +63,13 @@ UPB_INLINE envoy_extensions_filters_http_router_v3_Router* envoy_extensions_filt } UPB_INLINE char* envoy_extensions_filters_http_router_v3_Router_serialize(const envoy_extensions_filters_http_router_v3_Router* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_router_v3_Router_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__http__router__v3__Router_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_http_router_v3_Router_serialize_ex(const envoy_extensions_filters_http_router_v3_Router* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_router_v3_Router_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__http__router__v3__Router_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_http_router_v3_Router_clear_dynamic_stats(envoy_extensions_filters_http_router_v3_Router* msg) { @@ -260,7 +265,7 @@ UPB_INLINE void envoy_extensions_filters_http_router_v3_Router_set_dynamic_stats UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_filters_http_router_v3_Router_mutable_dynamic_stats(envoy_extensions_filters_http_router_v3_Router* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_filters_http_router_v3_Router_dynamic_stats(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_extensions_filters_http_router_v3_Router_set_dynamic_stats(msg, sub); } return sub; @@ -290,7 +295,7 @@ UPB_INLINE struct envoy_config_accesslog_v3_AccessLog* envoy_extensions_filters_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_accesslog_v3_AccessLog* sub = (struct envoy_config_accesslog_v3_AccessLog*)_upb_Message_New(&envoy_config_accesslog_v3_AccessLog_msg_init, arena); + struct envoy_config_accesslog_v3_AccessLog* sub = (struct envoy_config_accesslog_v3_AccessLog*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLog_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -352,7 +357,7 @@ UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_Ht if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init, arena); + struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -364,7 +369,7 @@ UPB_INLINE void envoy_extensions_filters_http_router_v3_Router_set_upstream_log_ UPB_INLINE struct envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions* envoy_extensions_filters_http_router_v3_Router_mutable_upstream_log_options(envoy_extensions_filters_http_router_v3_Router* msg, upb_Arena* arena) { struct envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions* sub = (struct envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions*)envoy_extensions_filters_http_router_v3_Router_upstream_log_options(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions*)_upb_Message_New(&envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_msg_init, arena); + sub = (struct envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions*)_upb_Message_New(&envoy__extensions__filters__http__router__v3__Router__UpstreamAccessLogOptions_msg_init, arena); if (sub) envoy_extensions_filters_http_router_v3_Router_set_upstream_log_options(msg, sub); } return sub; @@ -373,12 +378,12 @@ UPB_INLINE struct envoy_extensions_filters_http_router_v3_Router_UpstreamAccessL /* envoy.extensions.filters.http.router.v3.Router.UpstreamAccessLogOptions */ UPB_INLINE envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions* envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_new(upb_Arena* arena) { - return (envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions*)_upb_Message_New(&envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_msg_init, arena); + return (envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions*)_upb_Message_New(&envoy__extensions__filters__http__router__v3__Router__UpstreamAccessLogOptions_msg_init, arena); } UPB_INLINE envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions* envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions* ret = envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__router__v3__Router__UpstreamAccessLogOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -388,7 +393,7 @@ UPB_INLINE envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptio int options, upb_Arena* arena) { envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions* ret = envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__router__v3__Router__UpstreamAccessLogOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -396,13 +401,13 @@ UPB_INLINE envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptio } UPB_INLINE char* envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_serialize(const envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__http__router__v3__Router__UpstreamAccessLogOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_serialize_ex(const envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__http__router__v3__Router__UpstreamAccessLogOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_clear_flush_upstream_log_on_upstream_stream(envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions* msg) { @@ -443,14 +448,12 @@ UPB_INLINE void envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLog UPB_INLINE struct google_protobuf_Duration* envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_mutable_upstream_log_flush_interval(envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_upstream_log_flush_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_set_upstream_log_flush_interval(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_extensions_filters_http_router_v3_router_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c new file mode 100644 index 00000000000..910ed561370 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c @@ -0,0 +1,102 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/router/v3/router.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/filters/http/router/v3/router.upb_minitable.h" +#include "envoy/config/accesslog/v3/accesslog.upb_minitable.h" +#include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_filters_http_router_v3_Router_submsgs[4] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__accesslog__v3__AccessLog_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init}, + {.submsg = &envoy__extensions__filters__http__router__v3__Router__UpstreamAccessLogOptions_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_http_router_v3_Router__fields[9] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(25, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(28, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(32, 40), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__http__router__v3__Router_msg_init = { + &envoy_extensions_filters_http_router_v3_Router_submsgs[0], + &envoy_extensions_filters_http_router_v3_Router__fields[0], + UPB_SIZE(40, 48), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x001000003f01001a, &upb_prm_1bt_maxmaxb}, + {0x000200003f000020, &upb_psb1_1bt}, + {0x001800003f00002a, &upb_prs_1bt}, + {0x000300003f000030, &upb_psb1_1bt}, + {0x000400003f000038, &upb_psb1_1bt}, + {0x002000003f020042, &upb_prm_1bt_maxmaxb}, + {0x002800000203004a, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_submsgs[1] = { + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions__fields[2] = { + {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__http__router__v3__Router__UpstreamAccessLogOptions_msg_init = { + &envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_submsgs[0], + &envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000100003f000008, &upb_psb1_1bt}, + {0x0008000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__extensions__filters__http__router__v3__Router_msg_init, + &envoy__extensions__filters__http__router__v3__Router__UpstreamAccessLogOptions_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_filters_http_router_v3_router_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h new file mode 100644 index 00000000000..d58fb3cac39 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/router/v3/router.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_FILTERS_HTTP_ROUTER_V3_ROUTER_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_FILTERS_HTTP_ROUTER_V3_ROUTER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__filters__http__router__v3__Router_msg_init; +extern const upb_MiniTable envoy__extensions__filters__http__router__v3__Router__UpstreamAccessLogOptions_msg_init; + +extern const upb_MiniTableFile envoy_extensions_filters_http_router_v3_router_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_FILTERS_HTTP_ROUTER_V3_ROUTER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h b/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h similarity index 80% rename from src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h rename to src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h index b41498205eb..0178ebc3aef 100644 --- a/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +++ b/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/filters/http/stateful_session/v3/stateful_session.proto * @@ -10,7 +9,14 @@ #define ENVOY_EXTENSIONS_FILTERS_HTTP_STATEFUL_SESSION_V3_STATEFUL_SESSION_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h" + +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,22 +25,19 @@ extern "C" { typedef struct envoy_extensions_filters_http_stateful_session_v3_StatefulSession envoy_extensions_filters_http_stateful_session_v3_StatefulSession; typedef struct envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute; -extern const upb_MiniTable envoy_extensions_filters_http_stateful_session_v3_StatefulSession_msg_init; -extern const upb_MiniTable envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_msg_init; struct envoy_config_core_v3_TypedExtensionConfig; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; /* envoy.extensions.filters.http.stateful_session.v3.StatefulSession */ UPB_INLINE envoy_extensions_filters_http_stateful_session_v3_StatefulSession* envoy_extensions_filters_http_stateful_session_v3_StatefulSession_new(upb_Arena* arena) { - return (envoy_extensions_filters_http_stateful_session_v3_StatefulSession*)_upb_Message_New(&envoy_extensions_filters_http_stateful_session_v3_StatefulSession_msg_init, arena); + return (envoy_extensions_filters_http_stateful_session_v3_StatefulSession*)_upb_Message_New(&envoy__extensions__filters__http__stateful_0session__v3__StatefulSession_msg_init, arena); } UPB_INLINE envoy_extensions_filters_http_stateful_session_v3_StatefulSession* envoy_extensions_filters_http_stateful_session_v3_StatefulSession_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_http_stateful_session_v3_StatefulSession* ret = envoy_extensions_filters_http_stateful_session_v3_StatefulSession_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_stateful_session_v3_StatefulSession_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__stateful_0session__v3__StatefulSession_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -44,7 +47,7 @@ UPB_INLINE envoy_extensions_filters_http_stateful_session_v3_StatefulSession* en int options, upb_Arena* arena) { envoy_extensions_filters_http_stateful_session_v3_StatefulSession* ret = envoy_extensions_filters_http_stateful_session_v3_StatefulSession_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_stateful_session_v3_StatefulSession_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__stateful_0session__v3__StatefulSession_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -52,13 +55,13 @@ UPB_INLINE envoy_extensions_filters_http_stateful_session_v3_StatefulSession* en } UPB_INLINE char* envoy_extensions_filters_http_stateful_session_v3_StatefulSession_serialize(const envoy_extensions_filters_http_stateful_session_v3_StatefulSession* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_stateful_session_v3_StatefulSession_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__http__stateful_0session__v3__StatefulSession_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_http_stateful_session_v3_StatefulSession_serialize_ex(const envoy_extensions_filters_http_stateful_session_v3_StatefulSession* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_stateful_session_v3_StatefulSession_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__http__stateful_0session__v3__StatefulSession_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_http_stateful_session_v3_StatefulSession_clear_session_state(envoy_extensions_filters_http_stateful_session_v3_StatefulSession* msg) { @@ -76,6 +79,17 @@ UPB_INLINE bool envoy_extensions_filters_http_stateful_session_v3_StatefulSessio const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } +UPB_INLINE void envoy_extensions_filters_http_stateful_session_v3_StatefulSession_clear_strict(envoy_extensions_filters_http_stateful_session_v3_StatefulSession* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_extensions_filters_http_stateful_session_v3_StatefulSession_strict(const envoy_extensions_filters_http_stateful_session_v3_StatefulSession* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} UPB_INLINE void envoy_extensions_filters_http_stateful_session_v3_StatefulSession_set_session_state(envoy_extensions_filters_http_stateful_session_v3_StatefulSession *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; @@ -84,21 +98,25 @@ UPB_INLINE void envoy_extensions_filters_http_stateful_session_v3_StatefulSessio UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_extensions_filters_http_stateful_session_v3_StatefulSession_mutable_session_state(envoy_extensions_filters_http_stateful_session_v3_StatefulSession* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_extensions_filters_http_stateful_session_v3_StatefulSession_session_state(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_extensions_filters_http_stateful_session_v3_StatefulSession_set_session_state(msg, sub); } return sub; } +UPB_INLINE void envoy_extensions_filters_http_stateful_session_v3_StatefulSession_set_strict(envoy_extensions_filters_http_stateful_session_v3_StatefulSession *msg, bool value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} /* envoy.extensions.filters.http.stateful_session.v3.StatefulSessionPerRoute */ UPB_INLINE envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute* envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_new(upb_Arena* arena) { - return (envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute*)_upb_Message_New(&envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_msg_init, arena); + return (envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute*)_upb_Message_New(&envoy__extensions__filters__http__stateful_0session__v3__StatefulSessionPerRoute_msg_init, arena); } UPB_INLINE envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute* envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute* ret = envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__stateful_0session__v3__StatefulSessionPerRoute_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -108,7 +126,7 @@ UPB_INLINE envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerR int options, upb_Arena* arena) { envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute* ret = envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__http__stateful_0session__v3__StatefulSessionPerRoute_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -116,13 +134,13 @@ UPB_INLINE envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerR } UPB_INLINE char* envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_serialize(const envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__http__stateful_0session__v3__StatefulSessionPerRoute_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_serialize_ex(const envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__http__stateful_0session__v3__StatefulSessionPerRoute_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -176,14 +194,12 @@ UPB_INLINE void envoy_extensions_filters_http_stateful_session_v3_StatefulSessio UPB_INLINE struct envoy_extensions_filters_http_stateful_session_v3_StatefulSession* envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_mutable_stateful_session(envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute* msg, upb_Arena* arena) { struct envoy_extensions_filters_http_stateful_session_v3_StatefulSession* sub = (struct envoy_extensions_filters_http_stateful_session_v3_StatefulSession*)envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_stateful_session(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_http_stateful_session_v3_StatefulSession*)_upb_Message_New(&envoy_extensions_filters_http_stateful_session_v3_StatefulSession_msg_init, arena); + sub = (struct envoy_extensions_filters_http_stateful_session_v3_StatefulSession*)_upb_Message_New(&envoy__extensions__filters__http__stateful_0session__v3__StatefulSession_msg_init, arena); if (sub) envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_set_stateful_session(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_extensions_filters_http_stateful_session_v3_stateful_session_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c new file mode 100644 index 00000000000..da4cb53dcf7 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c @@ -0,0 +1,75 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/stateful_session/v3/stateful_session.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_filters_http_stateful_session_v3_StatefulSession_submsgs[1] = { + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_http_stateful_session_v3_StatefulSession__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__http__stateful_0session__v3__StatefulSession_msg_init = { + &envoy_extensions_filters_http_stateful_session_v3_StatefulSession_submsgs[0], + &envoy_extensions_filters_http_stateful_session_v3_StatefulSession__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_submsgs[1] = { + {.submsg = &envoy__extensions__filters__http__stateful_0session__v3__StatefulSession_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute__fields[2] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__http__stateful_0session__v3__StatefulSessionPerRoute_msg_init = { + &envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_submsgs[0], + &envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000008, &upb_pob1_1bt}, + {0x0008000002000012, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__extensions__filters__http__stateful_0session__v3__StatefulSession_msg_init, + &envoy__extensions__filters__http__stateful_0session__v3__StatefulSessionPerRoute_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_filters_http_stateful_session_v3_stateful_session_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h new file mode 100644 index 00000000000..7e79af26bc1 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/stateful_session/v3/stateful_session.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_FILTERS_HTTP_STATEFUL_SESSION_V3_STATEFUL_SESSION_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_FILTERS_HTTP_STATEFUL_SESSION_V3_STATEFUL_SESSION_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__filters__http__stateful_0session__v3__StatefulSession_msg_init; +extern const upb_MiniTable envoy__extensions__filters__http__stateful_0session__v3__StatefulSessionPerRoute_msg_init; + +extern const upb_MiniTableFile envoy_extensions_filters_http_stateful_session_v3_stateful_session_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_FILTERS_HTTP_STATEFUL_SESSION_V3_STATEFUL_SESSION_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h b/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h similarity index 92% rename from src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h rename to src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h index a8de1b51b4d..3c1a23b8c91 100644 --- a/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +++ b/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto * @@ -10,7 +9,33 @@ #define ENVOY_EXTENSIONS_FILTERS_NETWORK_HTTP_CONNECTION_MANAGER_V3_HTTP_CONNECTION_MANAGER_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h" + +#include "envoy/config/accesslog/v3/accesslog.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/protocol.upb_minitable.h" +#include "envoy/config/core/v3/substitution_format_string.upb_minitable.h" +#include "envoy/config/route/v3/route.upb_minitable.h" +#include "envoy/config/route/v3/scoped_route.upb_minitable.h" +#include "envoy/config/trace/v3/http_tracer.upb_minitable.h" +#include "envoy/type/http/v3/path_transformation.upb_minitable.h" +#include "envoy/type/tracing/v3/custom_tag.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/security.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -38,27 +63,6 @@ typedef struct envoy_extensions_filters_network_http_connection_manager_v3_Scope typedef struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter; typedef struct envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension; typedef struct envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_Rds_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_msg_init; -extern const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_msg_init; struct envoy_config_accesslog_v3_AccessLog; struct envoy_config_accesslog_v3_AccessLogFilter; struct envoy_config_core_v3_CidrRange; @@ -83,30 +87,6 @@ struct google_protobuf_Any; struct google_protobuf_BoolValue; struct google_protobuf_Duration; struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_accesslog_v3_AccessLog_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_AccessLogFilter_msg_init; -extern const upb_MiniTable envoy_config_core_v3_CidrRange_msg_init; -extern const upb_MiniTable envoy_config_core_v3_ConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_DataSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_ExtensionConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HeaderValueOption_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Http1ProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Http2ProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Http3ProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HttpProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_SchemeHeaderTransformation_msg_init; -extern const upb_MiniTable envoy_config_core_v3_SubstitutionFormatString_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable envoy_config_route_v3_RouteConfiguration_msg_init; -extern const upb_MiniTable envoy_config_route_v3_ScopedRouteConfiguration_msg_init; -extern const upb_MiniTable envoy_config_trace_v3_Tracing_Http_msg_init; -extern const upb_MiniTable envoy_type_http_v3_PathTransformation_msg_init; -extern const upb_MiniTable envoy_type_tracing_v3_CustomTag_msg_init; -extern const upb_MiniTable envoy_type_v3_Percent_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; typedef enum { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_AUTO = 0, @@ -147,12 +127,12 @@ typedef enum { /* envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -162,7 +142,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -170,13 +150,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1061,7 +1041,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_Rds* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_rds(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_Rds* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_Rds*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_rds(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_Rds*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_Rds_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_Rds*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__Rds_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_rds(msg, sub); } return sub; @@ -1073,7 +1053,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_config_route_v3_RouteConfiguration* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_route_config(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_config_route_v3_RouteConfiguration* sub = (struct envoy_config_route_v3_RouteConfiguration*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_route_config(msg); if (sub == NULL) { - sub = (struct envoy_config_route_v3_RouteConfiguration*)_upb_Message_New(&envoy_config_route_v3_RouteConfiguration_msg_init, arena); + sub = (struct envoy_config_route_v3_RouteConfiguration*)_upb_Message_New(&envoy__config__route__v3__RouteConfiguration_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_route_config(msg, sub); } return sub; @@ -1099,7 +1079,7 @@ UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_Ht if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init, arena); + struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1111,7 +1091,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_add_user_agent(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_add_user_agent(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_add_user_agent(msg, sub); } return sub; @@ -1123,7 +1103,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_tracing(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_tracing(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__Tracing_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_tracing(msg, sub); } return sub; @@ -1135,7 +1115,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_config_core_v3_Http1ProtocolOptions* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_http_protocol_options(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_config_core_v3_Http1ProtocolOptions* sub = (struct envoy_config_core_v3_Http1ProtocolOptions*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_http_protocol_options(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Http1ProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_Http1ProtocolOptions_msg_init, arena); + sub = (struct envoy_config_core_v3_Http1ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http1ProtocolOptions_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_http_protocol_options(msg, sub); } return sub; @@ -1147,7 +1127,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_config_core_v3_Http2ProtocolOptions* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_http2_protocol_options(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_config_core_v3_Http2ProtocolOptions* sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_http2_protocol_options(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_Http2ProtocolOptions_msg_init, arena); + sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http2ProtocolOptions_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_http2_protocol_options(msg, sub); } return sub; @@ -1163,7 +1143,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_Duration* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_drain_timeout(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_drain_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_drain_timeout(msg, sub); } return sub; @@ -1189,7 +1169,7 @@ UPB_INLINE struct envoy_config_accesslog_v3_AccessLog* envoy_extensions_filters_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_accesslog_v3_AccessLog* sub = (struct envoy_config_accesslog_v3_AccessLog*)_upb_Message_New(&envoy_config_accesslog_v3_AccessLog_msg_init, arena); + struct envoy_config_accesslog_v3_AccessLog* sub = (struct envoy_config_accesslog_v3_AccessLog*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLog_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1201,7 +1181,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_use_remote_address(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_use_remote_address(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_use_remote_address(msg, sub); } return sub; @@ -1213,7 +1193,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_generate_request_id(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_generate_request_id(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_generate_request_id(msg, sub); } return sub; @@ -1229,7 +1209,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_set_current_client_cert_details(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_current_client_cert_details(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__SetCurrentClientCertDetails_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_set_current_client_cert_details(msg, sub); } return sub; @@ -1275,7 +1255,7 @@ UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_Ht if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_msg_init, arena); + struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__UpgradeConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1287,7 +1267,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_Duration* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_stream_idle_timeout(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_stream_idle_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_stream_idle_timeout(msg, sub); } return sub; @@ -1299,7 +1279,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_internal_address_config(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_internal_address_config(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__InternalAddressConfig_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_internal_address_config(msg, sub); } return sub; @@ -1311,7 +1291,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_Duration* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_delayed_close_timeout(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_delayed_close_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_delayed_close_timeout(msg, sub); } return sub; @@ -1323,7 +1303,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_Duration* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_request_timeout(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_request_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_request_timeout(msg, sub); } return sub; @@ -1335,7 +1315,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_UInt32Value* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_max_request_headers_kb(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_max_request_headers_kb(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_max_request_headers_kb(msg, sub); } return sub; @@ -1347,7 +1327,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_normalize_path(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_normalize_path(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_normalize_path(msg, sub); } return sub; @@ -1359,7 +1339,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_scoped_routes(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_scoped_routes(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_scoped_routes(msg, sub); } return sub; @@ -1383,7 +1363,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_config_core_v3_HttpProtocolOptions* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_common_http_protocol_options(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_config_core_v3_HttpProtocolOptions* sub = (struct envoy_config_core_v3_HttpProtocolOptions*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_common_http_protocol_options(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_HttpProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_HttpProtocolOptions_msg_init, arena); + sub = (struct envoy_config_core_v3_HttpProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__HttpProtocolOptions_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_common_http_protocol_options(msg, sub); } return sub; @@ -1395,7 +1375,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_request_id_extension(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_request_id_extension(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__RequestIDExtension_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_request_id_extension(msg, sub); } return sub; @@ -1411,7 +1391,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_local_reply_config(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_local_reply_config(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__LocalReplyConfig_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_local_reply_config(msg, sub); } return sub; @@ -1427,7 +1407,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_stream_error_on_invalid_http_message(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_stream_error_on_invalid_http_message(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_stream_error_on_invalid_http_message(msg, sub); } return sub; @@ -1439,7 +1419,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_Duration* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_request_headers_timeout(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_request_headers_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_request_headers_timeout(msg, sub); } return sub; @@ -1455,7 +1435,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_path_normalization_options(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_path_normalization_options(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__PathNormalizationOptions_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_path_normalization_options(msg, sub); } return sub; @@ -1467,7 +1447,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_config_core_v3_Http3ProtocolOptions* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_http3_protocol_options(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_config_core_v3_Http3ProtocolOptions* sub = (struct envoy_config_core_v3_Http3ProtocolOptions*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_http3_protocol_options(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Http3ProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_Http3ProtocolOptions_msg_init, arena); + sub = (struct envoy_config_core_v3_Http3ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http3ProtocolOptions_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_http3_protocol_options(msg, sub); } return sub; @@ -1497,7 +1477,7 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_extensions_fi if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1513,7 +1493,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_config_core_v3_SchemeHeaderTransformation* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_scheme_header_transformation(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_config_core_v3_SchemeHeaderTransformation* sub = (struct envoy_config_core_v3_SchemeHeaderTransformation*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_scheme_header_transformation(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_SchemeHeaderTransformation*)_upb_Message_New(&envoy_config_core_v3_SchemeHeaderTransformation_msg_init, arena); + sub = (struct envoy_config_core_v3_SchemeHeaderTransformation*)_upb_Message_New(&envoy__config__core__v3__SchemeHeaderTransformation_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_scheme_header_transformation(msg, sub); } return sub; @@ -1525,7 +1505,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_proxy_status_config(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_proxy_status_config(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__ProxyStatusConfig_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_proxy_status_config(msg, sub); } return sub; @@ -1537,7 +1517,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_typed_header_validation_config(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_typed_header_validation_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_typed_header_validation_config(msg, sub); } return sub; @@ -1567,7 +1547,7 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_extensions_fi if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1579,7 +1559,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_add_proxy_protocol_connection_state(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_add_proxy_protocol_connection_state(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_add_proxy_protocol_connection_state(msg, sub); } return sub; @@ -1591,7 +1571,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_Duration* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_access_log_flush_interval(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_access_log_flush_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_access_log_flush_interval(msg, sub); } return sub; @@ -1607,7 +1587,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_mutable_access_log_options(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_access_log_options(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__HcmAccessLogOptions_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_set_access_log_options(msg, sub); } return sub; @@ -1616,12 +1596,12 @@ UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_Ht /* envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__Tracing_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__Tracing_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1631,7 +1611,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__Tracing_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1639,13 +1619,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__Tracing_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__Tracing_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_clear_client_sampling(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* msg) { @@ -1771,6 +1751,21 @@ UPB_INLINE bool envoy_extensions_filters_network_http_connection_manager_v3_Http const upb_MiniTableField field = {9, UPB_SIZE(28, 48), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } +UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_clear_spawn_upstream_span(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(32, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_BoolValue* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_spawn_upstream_span(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* msg) { + const struct google_protobuf_BoolValue* default_val = NULL; + const struct google_protobuf_BoolValue* ret; + const upb_MiniTableField field = {10, UPB_SIZE(32, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_has_spawn_upstream_span(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(32, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_set_client_sampling(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing *msg, struct envoy_type_v3_Percent* value) { const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; @@ -1779,7 +1774,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_type_v3_Percent* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_mutable_client_sampling(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* msg, upb_Arena* arena) { struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_client_sampling(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_set_client_sampling(msg, sub); } return sub; @@ -1791,7 +1786,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_type_v3_Percent* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_mutable_random_sampling(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* msg, upb_Arena* arena) { struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_random_sampling(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_set_random_sampling(msg, sub); } return sub; @@ -1803,7 +1798,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_type_v3_Percent* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_mutable_overall_sampling(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* msg, upb_Arena* arena) { struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_overall_sampling(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_set_overall_sampling(msg, sub); } return sub; @@ -1819,7 +1814,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_UInt32Value* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_mutable_max_path_tag_length(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_max_path_tag_length(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_set_max_path_tag_length(msg, sub); } return sub; @@ -1845,7 +1840,7 @@ UPB_INLINE struct envoy_type_tracing_v3_CustomTag* envoy_extensions_filters_netw if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_type_tracing_v3_CustomTag* sub = (struct envoy_type_tracing_v3_CustomTag*)_upb_Message_New(&envoy_type_tracing_v3_CustomTag_msg_init, arena); + struct envoy_type_tracing_v3_CustomTag* sub = (struct envoy_type_tracing_v3_CustomTag*)_upb_Message_New(&envoy__type__tracing__v3__CustomTag_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1857,21 +1852,33 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_config_trace_v3_Tracing_Http* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_mutable_provider(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* msg, upb_Arena* arena) { struct envoy_config_trace_v3_Tracing_Http* sub = (struct envoy_config_trace_v3_Tracing_Http*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_provider(msg); if (sub == NULL) { - sub = (struct envoy_config_trace_v3_Tracing_Http*)_upb_Message_New(&envoy_config_trace_v3_Tracing_Http_msg_init, arena); + sub = (struct envoy_config_trace_v3_Tracing_Http*)_upb_Message_New(&envoy__config__trace__v3__Tracing__Http_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_set_provider(msg, sub); } return sub; } +UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_set_spawn_upstream_span(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing *msg, struct google_protobuf_BoolValue* value) { + const upb_MiniTableField field = {10, UPB_SIZE(32, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_mutable_spawn_upstream_span(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing* msg, upb_Arena* arena) { + struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_spawn_upstream_span(msg); + if (sub == NULL) { + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); + if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_set_spawn_upstream_span(msg, sub); + } + return sub; +} /* envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.InternalAddressConfig */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__InternalAddressConfig_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__InternalAddressConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1881,7 +1888,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__InternalAddressConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1889,13 +1896,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__InternalAddressConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__InternalAddressConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_clear_unix_sockets(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig* msg) { @@ -1972,7 +1979,7 @@ UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_extensions_filters_netwo if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena); + struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy__config__core__v3__CidrRange_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1981,12 +1988,12 @@ UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_extensions_filters_netwo /* envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.SetCurrentClientCertDetails */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__SetCurrentClientCertDetails_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__SetCurrentClientCertDetails_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1996,7 +2003,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__SetCurrentClientCertDetails_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2004,13 +2011,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__SetCurrentClientCertDetails_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__SetCurrentClientCertDetails_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_clear_subject(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails* msg) { @@ -2080,7 +2087,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_mutable_subject(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_subject(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_set_subject(msg, sub); } return sub; @@ -2105,12 +2112,12 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http /* envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__UpgradeConfig_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__UpgradeConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2120,7 +2127,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__UpgradeConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2128,13 +2135,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__UpgradeConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__UpgradeConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_clear_upgrade_type(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig* msg) { @@ -2226,7 +2233,7 @@ UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_Ht if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init, arena); + struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -2238,7 +2245,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_mutable_enabled(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_enabled(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_set_enabled(msg, sub); } return sub; @@ -2247,12 +2254,12 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_filters_network_ht /* envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.PathNormalizationOptions */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__PathNormalizationOptions_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__PathNormalizationOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2262,7 +2269,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__PathNormalizationOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2270,13 +2277,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__PathNormalizationOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__PathNormalizationOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_clear_forwarding_transformation(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions* msg) { @@ -2317,7 +2324,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_type_http_v3_PathTransformation* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_mutable_forwarding_transformation(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions* msg, upb_Arena* arena) { struct envoy_type_http_v3_PathTransformation* sub = (struct envoy_type_http_v3_PathTransformation*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_forwarding_transformation(msg); if (sub == NULL) { - sub = (struct envoy_type_http_v3_PathTransformation*)_upb_Message_New(&envoy_type_http_v3_PathTransformation_msg_init, arena); + sub = (struct envoy_type_http_v3_PathTransformation*)_upb_Message_New(&envoy__type__http__v3__PathTransformation_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_set_forwarding_transformation(msg, sub); } return sub; @@ -2329,7 +2336,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_type_http_v3_PathTransformation* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_mutable_http_filter_transformation(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions* msg, upb_Arena* arena) { struct envoy_type_http_v3_PathTransformation* sub = (struct envoy_type_http_v3_PathTransformation*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_http_filter_transformation(msg); if (sub == NULL) { - sub = (struct envoy_type_http_v3_PathTransformation*)_upb_Message_New(&envoy_type_http_v3_PathTransformation_msg_init, arena); + sub = (struct envoy_type_http_v3_PathTransformation*)_upb_Message_New(&envoy__type__http__v3__PathTransformation_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_set_http_filter_transformation(msg, sub); } return sub; @@ -2338,12 +2345,12 @@ UPB_INLINE struct envoy_type_http_v3_PathTransformation* envoy_extensions_filter /* envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.ProxyStatusConfig */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__ProxyStatusConfig_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__ProxyStatusConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2353,7 +2360,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__ProxyStatusConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2361,13 +2368,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__ProxyStatusConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__ProxyStatusConfig_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -2482,12 +2489,12 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http /* envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.HcmAccessLogOptions */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__HcmAccessLogOptions_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__HcmAccessLogOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2497,7 +2504,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__HcmAccessLogOptions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2505,13 +2512,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpConne } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__HcmAccessLogOptions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__HcmAccessLogOptions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_clear_access_log_flush_interval(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions* msg) { @@ -2559,7 +2566,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_Duration* envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_mutable_access_log_flush_interval(envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_access_log_flush_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_set_access_log_flush_interval(msg, sub); } return sub; @@ -2576,12 +2583,12 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http /* envoy.extensions.filters.network.http_connection_manager.v3.LocalReplyConfig */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig* envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__LocalReplyConfig_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig* envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig* ret = envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__LocalReplyConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2591,7 +2598,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_LocalRepl int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig* ret = envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__LocalReplyConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2599,13 +2606,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_LocalRepl } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__LocalReplyConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__LocalReplyConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_clear_mappers(envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig* msg) { @@ -2682,7 +2689,7 @@ UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_Re if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_msg_init, arena); + struct envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ResponseMapper_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -2694,7 +2701,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Loca UPB_INLINE struct envoy_config_core_v3_SubstitutionFormatString* envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_mutable_body_format(envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_SubstitutionFormatString* sub = (struct envoy_config_core_v3_SubstitutionFormatString*)envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_body_format(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_SubstitutionFormatString*)_upb_Message_New(&envoy_config_core_v3_SubstitutionFormatString_msg_init, arena); + sub = (struct envoy_config_core_v3_SubstitutionFormatString*)_upb_Message_New(&envoy__config__core__v3__SubstitutionFormatString_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_set_body_format(msg, sub); } return sub; @@ -2703,12 +2710,12 @@ UPB_INLINE struct envoy_config_core_v3_SubstitutionFormatString* envoy_extension /* envoy.extensions.filters.network.http_connection_manager.v3.ResponseMapper */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper* envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ResponseMapper_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper* envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper* ret = envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ResponseMapper_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2718,7 +2725,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ResponseM int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper* ret = envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ResponseMapper_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2726,13 +2733,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ResponseM } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ResponseMapper_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ResponseMapper_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_clear_filter(envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper* msg) { @@ -2840,7 +2847,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Resp UPB_INLINE struct envoy_config_accesslog_v3_AccessLogFilter* envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_mutable_filter(envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper* msg, upb_Arena* arena) { struct envoy_config_accesslog_v3_AccessLogFilter* sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_filter(msg); if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)_upb_Message_New(&envoy_config_accesslog_v3_AccessLogFilter_msg_init, arena); + sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLogFilter_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_set_filter(msg, sub); } return sub; @@ -2852,7 +2859,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Resp UPB_INLINE struct google_protobuf_UInt32Value* envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_mutable_status_code(envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_status_code(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_set_status_code(msg, sub); } return sub; @@ -2864,7 +2871,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Resp UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_mutable_body(envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper* msg, upb_Arena* arena) { struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_body(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_set_body(msg, sub); } return sub; @@ -2876,7 +2883,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Resp UPB_INLINE struct envoy_config_core_v3_SubstitutionFormatString* envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_mutable_body_format_override(envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper* msg, upb_Arena* arena) { struct envoy_config_core_v3_SubstitutionFormatString* sub = (struct envoy_config_core_v3_SubstitutionFormatString*)envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_body_format_override(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_SubstitutionFormatString*)_upb_Message_New(&envoy_config_core_v3_SubstitutionFormatString_msg_init, arena); + sub = (struct envoy_config_core_v3_SubstitutionFormatString*)_upb_Message_New(&envoy__config__core__v3__SubstitutionFormatString_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_set_body_format_override(msg, sub); } return sub; @@ -2902,7 +2909,7 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_extensions_filte if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy_config_core_v3_HeaderValueOption_msg_init, arena); + struct envoy_config_core_v3_HeaderValueOption* sub = (struct envoy_config_core_v3_HeaderValueOption*)_upb_Message_New(&envoy__config__core__v3__HeaderValueOption_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -2911,12 +2918,12 @@ UPB_INLINE struct envoy_config_core_v3_HeaderValueOption* envoy_extensions_filte /* envoy.extensions.filters.network.http_connection_manager.v3.Rds */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_Rds* envoy_extensions_filters_network_http_connection_manager_v3_Rds_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_Rds*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_Rds_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_Rds*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__Rds_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_Rds* envoy_extensions_filters_network_http_connection_manager_v3_Rds_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_Rds* ret = envoy_extensions_filters_network_http_connection_manager_v3_Rds_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_Rds_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__Rds_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2926,7 +2933,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_Rds* envo int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_Rds* ret = envoy_extensions_filters_network_http_connection_manager_v3_Rds_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_Rds_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__Rds_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2934,13 +2941,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_Rds* envo } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_Rds_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_Rds* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_Rds_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__Rds_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_Rds_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_Rds* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_Rds_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__Rds_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Rds_clear_config_source(envoy_extensions_filters_network_http_connection_manager_v3_Rds* msg) { @@ -2977,7 +2984,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Rds_ UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_extensions_filters_network_http_connection_manager_v3_Rds_mutable_config_source(envoy_extensions_filters_network_http_connection_manager_v3_Rds* msg, upb_Arena* arena) { struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_extensions_filters_network_http_connection_manager_v3_Rds_config_source(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_Rds_set_config_source(msg, sub); } return sub; @@ -2990,12 +2997,12 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Rds_ /* envoy.extensions.filters.network.http_connection_manager.v3.ScopedRouteConfigurationsList */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRouteConfigurationsList_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRouteConfigurationsList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3005,7 +3012,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRou int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRouteConfigurationsList_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3013,13 +3020,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRou } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRouteConfigurationsList_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRouteConfigurationsList_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_clear_scoped_route_configurations(envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList* msg) { @@ -3081,7 +3088,7 @@ UPB_INLINE struct envoy_config_route_v3_ScopedRouteConfiguration* envoy_extensio if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_route_v3_ScopedRouteConfiguration* sub = (struct envoy_config_route_v3_ScopedRouteConfiguration*)_upb_Message_New(&envoy_config_route_v3_ScopedRouteConfiguration_msg_init, arena); + struct envoy_config_route_v3_ScopedRouteConfiguration* sub = (struct envoy_config_route_v3_ScopedRouteConfiguration*)_upb_Message_New(&envoy__config__route__v3__ScopedRouteConfiguration_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -3090,12 +3097,12 @@ UPB_INLINE struct envoy_config_route_v3_ScopedRouteConfiguration* envoy_extensio /* envoy.extensions.filters.network.http_connection_manager.v3.ScopedRoutes */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3105,7 +3112,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRou int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3113,13 +3120,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRou } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -3214,7 +3221,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Scop UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_mutable_scope_key_builder(envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder*)envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_scope_key_builder(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_set_scope_key_builder(msg, sub); } return sub; @@ -3226,7 +3233,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Scop UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_mutable_rds_config_source(envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes* msg, upb_Arena* arena) { struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_rds_config_source(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_set_rds_config_source(msg, sub); } return sub; @@ -3238,7 +3245,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Scop UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_mutable_scoped_route_configurations_list(envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList*)envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_scoped_route_configurations_list(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRouteConfigurationsList_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_set_scoped_route_configurations_list(msg, sub); } return sub; @@ -3250,7 +3257,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Scop UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_mutable_scoped_rds(envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds*)envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_scoped_rds(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRds_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_set_scoped_rds(msg, sub); } return sub; @@ -3259,12 +3266,12 @@ UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_Sc /* envoy.extensions.filters.network.http_connection_manager.v3.ScopedRoutes.ScopeKeyBuilder */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3274,7 +3281,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRou int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3282,13 +3289,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRou } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_clear_fragments(envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder* msg) { @@ -3350,7 +3357,7 @@ UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_Sc if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_msg_init, arena); + struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -3359,12 +3366,12 @@ UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_Sc /* envoy.extensions.filters.network.http_connection_manager.v3.ScopedRoutes.ScopeKeyBuilder.FragmentBuilder */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3374,7 +3381,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRou int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3382,13 +3389,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRou } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -3422,7 +3429,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Scop UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_mutable_header_value_extractor(envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor*)envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_header_value_extractor(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_set_header_value_extractor(msg, sub); } return sub; @@ -3431,12 +3438,12 @@ UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_Sc /* envoy.extensions.filters.network.http_connection_manager.v3.ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3446,7 +3453,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRou int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3454,13 +3461,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRou } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -3544,7 +3551,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Scop UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_mutable_element(envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement*)envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_element(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor__KvElement_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_set_element(msg, sub); } return sub; @@ -3553,12 +3560,12 @@ UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_Sc /* envoy.extensions.filters.network.http_connection_manager.v3.ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElement */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor__KvElement_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor__KvElement_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3568,7 +3575,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRou int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor__KvElement_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3576,13 +3583,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRou } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor__KvElement_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor__KvElement_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_clear_separator(envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement* msg) { @@ -3620,12 +3627,12 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Scop /* envoy.extensions.filters.network.http_connection_manager.v3.ScopedRds */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRds_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRds_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3635,7 +3642,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds* ret = envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRds_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3643,13 +3650,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRds_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRds_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_clear_scoped_rds_config_source(envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds* msg) { @@ -3686,7 +3693,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Scop UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_mutable_scoped_rds_config_source(envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds* msg, upb_Arena* arena) { struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_scoped_rds_config_source(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_set_scoped_rds_config_source(msg, sub); } return sub; @@ -3699,12 +3706,12 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Scop /* envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3714,7 +3721,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpFilte int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* ret = envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3722,13 +3729,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_HttpFilte } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -3792,6 +3799,17 @@ UPB_INLINE bool envoy_extensions_filters_network_http_connection_manager_v3_Http _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } +UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_clear_disabled(envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* msg) { + const upb_MiniTableField field = {7, 5, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_disabled(const envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 5, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_set_name(envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter *msg, upb_StringView value) { const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; @@ -3804,7 +3822,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct google_protobuf_Any* envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_mutable_typed_config(envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_set_typed_config(msg, sub); } return sub; @@ -3816,7 +3834,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http UPB_INLINE struct envoy_config_core_v3_ExtensionConfigSource* envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_mutable_config_discovery(envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* msg, upb_Arena* arena) { struct envoy_config_core_v3_ExtensionConfigSource* sub = (struct envoy_config_core_v3_ExtensionConfigSource*)envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_config_discovery(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ExtensionConfigSource*)_upb_Message_New(&envoy_config_core_v3_ExtensionConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ExtensionConfigSource*)_upb_Message_New(&envoy__config__core__v3__ExtensionConfigSource_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_set_config_discovery(msg, sub); } return sub; @@ -3825,16 +3843,20 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Http const upb_MiniTableField field = {6, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } +UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_set_disabled(envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter *msg, bool value) { + const upb_MiniTableField field = {7, 5, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} /* envoy.extensions.filters.network.http_connection_manager.v3.RequestIDExtension */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension* envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__RequestIDExtension_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension* envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension* ret = envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__RequestIDExtension_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3844,7 +3866,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_RequestID int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension* ret = envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__RequestIDExtension_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3852,13 +3874,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_RequestID } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__RequestIDExtension_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__RequestIDExtension_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_clear_typed_config(envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension* msg) { @@ -3884,7 +3906,7 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Requ UPB_INLINE struct google_protobuf_Any* envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_mutable_typed_config(envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_typed_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_set_typed_config(msg, sub); } return sub; @@ -3893,12 +3915,12 @@ UPB_INLINE struct google_protobuf_Any* envoy_extensions_filters_network_http_con /* envoy.extensions.filters.network.http_connection_manager.v3.EnvoyMobileHttpConnectionManager */ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager* envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_new(upb_Arena* arena) { - return (envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_msg_init, arena); + return (envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__EnvoyMobileHttpConnectionManager_msg_init, arena); } UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager* envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager* ret = envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__EnvoyMobileHttpConnectionManager_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3908,7 +3930,7 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobi int options, upb_Arena* arena) { envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager* ret = envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__filters__network__http_0connection_0manager__v3__EnvoyMobileHttpConnectionManager_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3916,13 +3938,13 @@ UPB_INLINE envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobi } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_serialize(const envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__EnvoyMobileHttpConnectionManager_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_serialize_ex(const envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__filters__network__http_0connection_0manager__v3__EnvoyMobileHttpConnectionManager_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_clear_config(envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager* msg) { @@ -3948,14 +3970,12 @@ UPB_INLINE void envoy_extensions_filters_network_http_connection_manager_v3_Envo UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_mutable_config(envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager* msg, upb_Arena* arena) { struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager*)envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_config(msg); if (sub == NULL) { - sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager*)_upb_Message_New(&envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_msg_init, arena); + sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager_msg_init, arena); if (sub) envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_set_config(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_extensions_filters_network_http_connection_manager_v3_http_connection_manager_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c new file mode 100644 index 00000000000..0c70e9e3a58 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c @@ -0,0 +1,682 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h" +#include "envoy/config/accesslog/v3/accesslog.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/protocol.upb_minitable.h" +#include "envoy/config/core/v3/substitution_format_string.upb_minitable.h" +#include "envoy/config/route/v3/route.upb_minitable.h" +#include "envoy/config/route/v3/scoped_route.upb_minitable.h" +#include "envoy/config/trace/v3/http_tracer.upb_minitable.h" +#include "envoy/type/http/v3/path_transformation.upb_minitable.h" +#include "envoy/type/tracing/v3/custom_tag.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/security.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_submsgs[35] = { + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__Rds_msg_init}, + {.submsg = &envoy__config__route__v3__RouteConfiguration_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__Tracing_msg_init}, + {.submsg = &envoy__config__core__v3__Http1ProtocolOptions_msg_init}, + {.submsg = &envoy__config__core__v3__Http2ProtocolOptions_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__accesslog__v3__AccessLog_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__SetCurrentClientCertDetails_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__UpgradeConfig_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__InternalAddressConfig_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes_msg_init}, + {.submsg = &envoy__config__core__v3__HttpProtocolOptions_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__RequestIDExtension_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__LocalReplyConfig_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__PathNormalizationOptions_msg_init}, + {.submsg = &envoy__config__core__v3__Http3ProtocolOptions_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__SchemeHeaderTransformation_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__ProxyStatusConfig_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__HcmAccessLogOptions_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager__fields[54] = { + {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(200, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(192, 360), UPB_SIZE(-93, -25), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(192, 360), UPB_SIZE(-93, -25), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 72), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 80), 1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(16, 88), 2, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(20, 96), 3, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(24, 104), 4, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(208, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(28, 128), 5, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(32, 136), 0, 8, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(36, 144), 6, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(40, 152), 7, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(44, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(48, 160), 8, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(52, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(56, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(60, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(61, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(216, 168), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(64, 184), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(68, 192), 9, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(72, 200), 10, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {26, UPB_SIZE(76, 208), 11, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {28, UPB_SIZE(80, 216), 12, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {29, UPB_SIZE(84, 224), 13, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {30, UPB_SIZE(88, 232), 14, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {31, UPB_SIZE(192, 360), UPB_SIZE(-93, -25), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {32, UPB_SIZE(96, 28), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {33, UPB_SIZE(97, 29), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {34, UPB_SIZE(100, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {35, UPB_SIZE(104, 240), 15, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {36, UPB_SIZE(108, 248), 16, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {37, UPB_SIZE(112, 36), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {38, UPB_SIZE(116, 256), 17, 22, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {39, UPB_SIZE(120, 37), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {40, UPB_SIZE(124, 264), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {41, UPB_SIZE(128, 272), 19, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {42, UPB_SIZE(196, 368), UPB_SIZE(-133, -41), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {43, UPB_SIZE(136, 280), 20, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {44, UPB_SIZE(140, 288), 21, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {45, UPB_SIZE(144, 44), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {46, UPB_SIZE(148, 296), 0, 27, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {47, UPB_SIZE(152, 48), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {48, UPB_SIZE(156, 304), 22, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {49, UPB_SIZE(160, 312), 23, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {50, UPB_SIZE(164, 320), 24, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {51, UPB_SIZE(168, 49), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {52, UPB_SIZE(172, 328), 0, 31, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {53, UPB_SIZE(176, 336), 25, 32, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {54, UPB_SIZE(180, 344), 26, 33, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {55, UPB_SIZE(184, 50), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {56, UPB_SIZE(188, 352), 27, 34, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager__fields[0], + UPB_SIZE(224, 376), 54, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x003800003f000012, &upb_pss_1bt}, + {0x016800180300001a, &upb_pom_1bt_max64b}, + {0x0168001804010022, &upb_pom_1bt_maxmaxb}, + {0x004800003f02002a, &upb_prm_1bt_max64b}, + {0x0050000001030032, &upb_psm_1bt_maxmaxb}, + {0x005800000204003a, &upb_psm_1bt_max128b}, + {0x0060000003050042, &upb_psm_1bt_maxmaxb}, + {0x006800000406004a, &upb_psm_1bt_maxmaxb}, + {0x007000003f000052, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0080000005070062, &upb_psm_1bt_maxmaxb}, + {0x008800003f08006a, &upb_prm_1bt_maxmaxb}, + {0x0090000006090072, &upb_psm_1bt_maxmaxb}, + {0x00980000070a007a, &upb_psm_1bt_maxmaxb}, + {0x000800003f000180, &upb_psv4_2bt}, + {0x00a00000080b018a, &upb_psm_2bt_max64b}, + {0x000c00003f000190, &upb_psb1_2bt}, + {0x001000003f000198, &upb_psv4_2bt}, + {0x001400003f0001a0, &upb_psb1_2bt}, + {0x001500003f0001a8, &upb_psb1_2bt}, + {0x00a800003f0001b2, &upb_pss_2bt}, + {0x00b800003f0c01ba, &upb_prm_2bt_max64b}, + {0x00c00000090d01c2, &upb_psm_2bt_maxmaxb}, + {0x00c800000a0e01ca, &upb_psm_2bt_max64b}, + {0x00d000000b0f01d2, &upb_psm_2bt_maxmaxb}, + {0x01180000141902da, &upb_psm_2bt_max64b}, + {0x00d800000c1001e2, &upb_psm_2bt_maxmaxb}, + {0x00e000000d1101ea, &upb_psm_2bt_maxmaxb}, + {0x00e800000e1201f2, &upb_psm_2bt_maxmaxb}, + {0x016800181f1301fa, &upb_pom_2bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_submsgs[7] = { + {.submsg = &envoy__type__v3__Percent_msg_init}, + {.submsg = &envoy__type__v3__Percent_msg_init}, + {.submsg = &envoy__type__v3__Percent_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__type__tracing__v3__CustomTag_msg_init}, + {.submsg = &envoy__config__trace__v3__Tracing__Http_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing__fields[8] = { + {3, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(20, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(24, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(28, 48), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(32, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__Tracing_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing__fields[0], + UPB_SIZE(40, 64), 8, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100001a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010022, &upb_psm_1bt_maxmaxb}, + {0x001800000302002a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000030, &upb_psb1_1bt}, + {0x002000000403003a, &upb_psm_1bt_maxmaxb}, + {0x002800003f040042, &upb_prm_1bt_maxmaxb}, + {0x003000000505004a, &upb_psm_1bt_maxmaxb}, + {0x0038000006060052, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_submsgs[1] = { + {.submsg = &envoy__config__core__v3__CidrRange_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig__fields[2] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__InternalAddressConfig_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + {0x000800003f000012, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_submsgs[1] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails__fields[5] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(9, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(10, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(11, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__SetCurrentClientCertDetails_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails__fields[0], + 16, 5, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000100003f000018, &upb_psb1_1bt}, + {0x000200003f000020, &upb_psb1_1bt}, + {0x000300003f000028, &upb_psb1_1bt}, + {0x000400003f000030, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_submsgs[2] = { + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig__fields[3] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__UpgradeConfig_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prm_1bt_max64b}, + {0x002000000101001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_submsgs[2] = { + {.submsg = &envoy__type__http__v3__PathTransformation_msg_init}, + {.submsg = &envoy__type__http__v3__PathTransformation_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__PathNormalizationOptions_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig__fields[6] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, 3, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 8, -5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__ProxyStatusConfig_msg_init = { + NULL, + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig__fields[0], + UPB_SIZE(16, 24), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x000200003f000018, &upb_psb1_1bt}, + {0x000300003f000020, &upb_psb1_1bt}, + {0x0008000405000028, &upb_pob1_1bt}, + {0x0008000406000032, &upb_pos_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_submsgs[1] = { + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(9, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__HcmAccessLogOptions_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions__fields[0], + 16, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x000200003f000018, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_submsgs[2] = { + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__ResponseMapper_msg_init}, + {.submsg = &envoy__config__core__v3__SubstitutionFormatString_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig__fields[2] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__LocalReplyConfig_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_max64b}, + {0x0010000001010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_submsgs[5] = { + {.submsg = &envoy__config__accesslog__v3__AccessLogFilter_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, + {.submsg = &envoy__config__core__v3__SubstitutionFormatString_msg_init}, + {.submsg = &envoy__config__core__v3__HeaderValueOption_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper__fields[5] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ResponseMapper_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper__fields[0], + UPB_SIZE(24, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x0020000004030022, &upb_psm_1bt_maxmaxb}, + {0x002800003f04002a, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_Rds_submsgs[1] = { + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_Rds__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__Rds_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_Rds_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_Rds__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_submsgs[1] = { + {.submsg = &envoy__config__route__v3__ScopedRouteConfiguration_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRouteConfigurationsList_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_submsgs[4] = { + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder_msg_init}, + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRouteConfigurationsList_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRds_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes__fields[5] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 40), UPB_SIZE(-13, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 40), UPB_SIZE(-13, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes__fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + {0x0028000404020022, &upb_pom_1bt_max64b}, + {0x002800040503002a, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_submsgs[1] = { + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_submsgs[1] = { + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder__fields[1] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_submsgs[1] = { + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor__KvElement_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor__fields[4] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 40), -1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 40), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor__fields[0], + UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0028000003000018, &upb_pov4_1bt}, + {0x0028000004000022, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor__KvElement_msg_init = { + NULL, + &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_submsgs[1] = { + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRds_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_submsgs[2] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &envoy__config__core__v3__ExtensionConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter__fields[5] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 5, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter__fields[0], + UPB_SIZE(24, 32), 5, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0018000004000022, &upb_pom_1bt_maxmaxb}, + {0x001800000501002a, &upb_pom_1bt_maxmaxb}, + {0x000400003f000030, &upb_psb1_1bt}, + {0x000500003f000038, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__RequestIDExtension_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_submsgs[1] = { + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__EnvoyMobileHttpConnectionManager_msg_init = { + &envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_submsgs[0], + &envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[21] = { + &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__Tracing_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__InternalAddressConfig_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__SetCurrentClientCertDetails_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__UpgradeConfig_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__PathNormalizationOptions_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__ProxyStatusConfig_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__HcmAccessLogOptions_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__LocalReplyConfig_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__ResponseMapper_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__Rds_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRouteConfigurationsList_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor__KvElement_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRds_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__RequestIDExtension_msg_init, + &envoy__extensions__filters__network__http_0connection_0manager__v3__EnvoyMobileHttpConnectionManager_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_filters_network_http_connection_manager_v3_http_connection_manager_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 21, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h new file mode 100644 index 00000000000..0f559e8cfb8 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h @@ -0,0 +1,50 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_FILTERS_NETWORK_HTTP_CONNECTION_MANAGER_V3_HTTP_CONNECTION_MANAGER_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_FILTERS_NETWORK_HTTP_CONNECTION_MANAGER_V3_HTTP_CONNECTION_MANAGER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__Tracing_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__InternalAddressConfig_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__SetCurrentClientCertDetails_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__UpgradeConfig_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__PathNormalizationOptions_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__ProxyStatusConfig_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpConnectionManager__HcmAccessLogOptions_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__LocalReplyConfig_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ResponseMapper_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__Rds_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRouteConfigurationsList_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRoutes__ScopeKeyBuilder__FragmentBuilder__HeaderValueExtractor__KvElement_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__ScopedRds_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__RequestIDExtension_msg_init; +extern const upb_MiniTable envoy__extensions__filters__network__http_0connection_0manager__v3__EnvoyMobileHttpConnectionManager_msg_init; + +extern const upb_MiniTableFile envoy_extensions_filters_network_http_connection_manager_v3_http_connection_manager_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_FILTERS_NETWORK_HTTP_CONNECTION_MANAGER_V3_HTTP_CONNECTION_MANAGER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h b/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h new file mode 100644 index 00000000000..68e7eca0430 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h @@ -0,0 +1,101 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/http/stateful_session/cookie/v3/cookie.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPB_H_ +#define ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h" + +#include "envoy/type/http/v3/cookie.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState; +struct envoy_type_http_v3_Cookie; + + + +/* envoy.extensions.http.stateful_session.cookie.v3.CookieBasedSessionState */ + +UPB_INLINE envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_new(upb_Arena* arena) { + return (envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState*)_upb_Message_New(&envoy__extensions__http__stateful_0session__cookie__v3__CookieBasedSessionState_msg_init, arena); +} +UPB_INLINE envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* ret = envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__http__stateful_0session__cookie__v3__CookieBasedSessionState_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* ret = envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__http__stateful_0session__cookie__v3__CookieBasedSessionState_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_serialize(const envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__http__stateful_0session__cookie__v3__CookieBasedSessionState_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_serialize_ex(const envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__http__stateful_0session__cookie__v3__CookieBasedSessionState_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_clear_cookie(envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_http_v3_Cookie* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_cookie(const envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* msg) { + const struct envoy_type_http_v3_Cookie* default_val = NULL; + const struct envoy_type_http_v3_Cookie* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_has_cookie(const envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_set_cookie(envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState *msg, struct envoy_type_http_v3_Cookie* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_http_v3_Cookie* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_mutable_cookie(envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* msg, upb_Arena* arena) { + struct envoy_type_http_v3_Cookie* sub = (struct envoy_type_http_v3_Cookie*)envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_cookie(msg); + if (sub == NULL) { + sub = (struct envoy_type_http_v3_Cookie*)_upb_Message_New(&envoy__type__http__v3__Cookie_msg_init, arena); + if (sub) envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_set_cookie(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c new file mode 100644 index 00000000000..e9e376ff09a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c @@ -0,0 +1,50 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/http/stateful_session/cookie/v3/cookie.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h" +#include "envoy/type/http/v3/cookie.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_submsgs[1] = { + {.submsg = &envoy__type__http__v3__Cookie_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__http__stateful_0session__cookie__v3__CookieBasedSessionState_msg_init = { + &envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_submsgs[0], + &envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__extensions__http__stateful_0session__cookie__v3__CookieBasedSessionState_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_http_stateful_session_cookie_v3_cookie_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h new file mode 100644 index 00000000000..b553761f2a5 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/http/stateful_session/cookie/v3/cookie.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__http__stateful_0session__cookie__v3__CookieBasedSessionState_msg_init; + +extern const upb_MiniTableFile envoy_extensions_http_stateful_session_cookie_v3_cookie_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h similarity index 92% rename from src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h rename to src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h index bf143f17dfe..f384447bc19 100644 --- a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.proto * @@ -10,7 +9,15 @@ #define ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_CLIENT_SIDE_WEIGHTED_ROUND_ROBIN_V3_CLIENT_SIDE_WEIGHTED_ROUND_ROBIN_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h" + +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,25 +25,21 @@ extern "C" { #endif typedef struct envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin; -extern const upb_MiniTable envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_msg_init; struct google_protobuf_BoolValue; struct google_protobuf_Duration; struct google_protobuf_FloatValue; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_FloatValue_msg_init; /* envoy.extensions.load_balancing_policies.client_side_weighted_round_robin.v3.ClientSideWeightedRoundRobin */ UPB_INLINE envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin* envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_new(upb_Arena* arena) { - return (envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin*)_upb_Message_New(&envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_msg_init, arena); + return (envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin*)_upb_Message_New(&envoy__extensions__load_0balancing_0policies__client_0side_0weighted_0round_0robin__v3__ClientSideWeightedRoundRobin_msg_init, arena); } UPB_INLINE envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin* envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin* ret = envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__client_0side_0weighted_0round_0robin__v3__ClientSideWeightedRoundRobin_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -46,7 +49,7 @@ UPB_INLINE envoy_extensions_load_balancing_policies_client_side_weighted_round_r int options, upb_Arena* arena) { envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin* ret = envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__client_0side_0weighted_0round_0robin__v3__ClientSideWeightedRoundRobin_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -54,13 +57,13 @@ UPB_INLINE envoy_extensions_load_balancing_policies_client_side_weighted_round_r } UPB_INLINE char* envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_serialize(const envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__client_0side_0weighted_0round_0robin__v3__ClientSideWeightedRoundRobin_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_serialize_ex(const envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__client_0side_0weighted_0round_0robin__v3__ClientSideWeightedRoundRobin_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_clear_enable_oob_load_report(envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin* msg) { @@ -161,7 +164,7 @@ UPB_INLINE void envoy_extensions_load_balancing_policies_client_side_weighted_ro UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_mutable_enable_oob_load_report(envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_enable_oob_load_report(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_set_enable_oob_load_report(msg, sub); } return sub; @@ -173,7 +176,7 @@ UPB_INLINE void envoy_extensions_load_balancing_policies_client_side_weighted_ro UPB_INLINE struct google_protobuf_Duration* envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_mutable_oob_reporting_period(envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_oob_reporting_period(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_set_oob_reporting_period(msg, sub); } return sub; @@ -185,7 +188,7 @@ UPB_INLINE void envoy_extensions_load_balancing_policies_client_side_weighted_ro UPB_INLINE struct google_protobuf_Duration* envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_mutable_blackout_period(envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_blackout_period(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_set_blackout_period(msg, sub); } return sub; @@ -197,7 +200,7 @@ UPB_INLINE void envoy_extensions_load_balancing_policies_client_side_weighted_ro UPB_INLINE struct google_protobuf_Duration* envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_mutable_weight_expiration_period(envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_weight_expiration_period(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_set_weight_expiration_period(msg, sub); } return sub; @@ -209,7 +212,7 @@ UPB_INLINE void envoy_extensions_load_balancing_policies_client_side_weighted_ro UPB_INLINE struct google_protobuf_Duration* envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_mutable_weight_update_period(envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_weight_update_period(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_set_weight_update_period(msg, sub); } return sub; @@ -221,14 +224,12 @@ UPB_INLINE void envoy_extensions_load_balancing_policies_client_side_weighted_ro UPB_INLINE struct google_protobuf_FloatValue* envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_mutable_error_utilization_penalty(envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin* msg, upb_Arena* arena) { struct google_protobuf_FloatValue* sub = (struct google_protobuf_FloatValue*)envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_error_utilization_penalty(msg); if (sub == NULL) { - sub = (struct google_protobuf_FloatValue*)_upb_Message_New(&google_protobuf_FloatValue_msg_init, arena); + sub = (struct google_protobuf_FloatValue*)_upb_Message_New(&google__protobuf__FloatValue_msg_init, arena); if (sub) envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_set_error_utilization_penalty(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_client_side_weighted_round_robin_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c new file mode 100644 index 00000000000..754542ad471 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c @@ -0,0 +1,67 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_submsgs[6] = { + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__FloatValue_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin__fields[6] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__load_0balancing_0policies__client_0side_0weighted_0round_0robin__v3__ClientSideWeightedRoundRobin_msg_init = { + &envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_submsgs[0], + &envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin__fields[0], + UPB_SIZE(32, 56), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x0020000004030022, &upb_psm_1bt_maxmaxb}, + {0x002800000504002a, &upb_psm_1bt_maxmaxb}, + {0x0030000006050032, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__extensions__load_0balancing_0policies__client_0side_0weighted_0round_0robin__v3__ClientSideWeightedRoundRobin_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_client_side_weighted_round_robin_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h new file mode 100644 index 00000000000..f053fb9cfe9 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_CLIENT_SIDE_WEIGHTED_ROUND_ROBIN_V3_CLIENT_SIDE_WEIGHTED_ROUND_ROBIN_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_CLIENT_SIDE_WEIGHTED_ROUND_ROBIN_V3_CLIENT_SIDE_WEIGHTED_ROUND_ROBIN_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__load_0balancing_0policies__client_0side_0weighted_0round_0robin__v3__ClientSideWeightedRoundRobin_msg_init; + +extern const upb_MiniTableFile envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_client_side_weighted_round_robin_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_CLIENT_SIDE_WEIGHTED_ROUND_ROBIN_V3_CLIENT_SIDE_WEIGHTED_ROUND_ROBIN_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h new file mode 100644 index 00000000000..0135c5d02d8 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h @@ -0,0 +1,488 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/load_balancing_policies/common/v3/common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_COMMON_V3_COMMON_PROTO_UPB_H_ +#define ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_COMMON_V3_COMMON_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig; +typedef struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig; +typedef struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig; +typedef struct envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig; +typedef struct envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig; +struct envoy_config_core_v3_RuntimeDouble; +struct envoy_type_v3_Percent; +struct google_protobuf_Duration; +struct google_protobuf_UInt32Value; +struct google_protobuf_UInt64Value; + + + +/* envoy.extensions.load_balancing_policies.common.v3.LocalityLbConfig */ + +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_new(upb_Arena* arena) { + return (envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig*)_upb_Message_New(&envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig_msg_init, arena); +} +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_serialize(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_serialize_ex(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_zone_aware_lb_config = 1, + envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_locality_weighted_lb_config = 2, + envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_NOT_SET = 0 +} envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_oneofcases; +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_oneofcases envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_case(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_clear_zone_aware_lb_config(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_zone_aware_lb_config(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { + const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* default_val = NULL; + const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_has_zone_aware_lb_config(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_clear_locality_weighted_lb_config(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_weighted_lb_config(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { + const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* default_val = NULL; + const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_has_locality_weighted_lb_config(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_set_zone_aware_lb_config(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig *msg, envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_mutable_zone_aware_lb_config(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg, upb_Arena* arena) { + struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* sub = (struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig*)envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_zone_aware_lb_config(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig*)_upb_Message_New(&envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__ZoneAwareLbConfig_msg_init, arena); + if (sub) envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_set_zone_aware_lb_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_set_locality_weighted_lb_config(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig *msg, envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_mutable_locality_weighted_lb_config(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg, upb_Arena* arena) { + struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* sub = (struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig*)envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_weighted_lb_config(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig*)_upb_Message_New(&envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__LocalityWeightedLbConfig_msg_init, arena); + if (sub) envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_set_locality_weighted_lb_config(msg, sub); + } + return sub; +} + +/* envoy.extensions.load_balancing_policies.common.v3.LocalityLbConfig.ZoneAwareLbConfig */ + +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_new(upb_Arena* arena) { + return (envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig*)_upb_Message_New(&envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__ZoneAwareLbConfig_msg_init, arena); +} +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__ZoneAwareLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__ZoneAwareLbConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_serialize(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__ZoneAwareLbConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_serialize_ex(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__ZoneAwareLbConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_clear_routing_enabled(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_v3_Percent* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_routing_enabled(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { + const struct envoy_type_v3_Percent* default_val = NULL; + const struct envoy_type_v3_Percent* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_has_routing_enabled(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_clear_min_cluster_size(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt64Value* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_min_cluster_size(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { + const struct google_protobuf_UInt64Value* default_val = NULL; + const struct google_protobuf_UInt64Value* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_has_min_cluster_size(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_clear_fail_traffic_on_panic(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_fail_traffic_on_panic(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_set_routing_enabled(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig *msg, struct envoy_type_v3_Percent* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_v3_Percent* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_mutable_routing_enabled(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg, upb_Arena* arena) { + struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_routing_enabled(msg); + if (sub == NULL) { + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); + if (sub) envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_set_routing_enabled(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_set_min_cluster_size(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig *msg, struct google_protobuf_UInt64Value* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt64Value* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_mutable_min_cluster_size(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg, upb_Arena* arena) { + struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_min_cluster_size(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google__protobuf__UInt64Value_msg_init, arena); + if (sub) envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_set_min_cluster_size(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_set_fail_traffic_on_panic(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig *msg, bool value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.extensions.load_balancing_policies.common.v3.LocalityLbConfig.LocalityWeightedLbConfig */ + +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_new(upb_Arena* arena) { + return (envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig*)_upb_Message_New(&envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__LocalityWeightedLbConfig_msg_init, arena); +} +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__LocalityWeightedLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__LocalityWeightedLbConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_serialize(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__LocalityWeightedLbConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_serialize_ex(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__LocalityWeightedLbConfig_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* envoy.extensions.load_balancing_policies.common.v3.SlowStartConfig */ + +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_new(upb_Arena* arena) { + return (envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig*)_upb_Message_New(&envoy__extensions__load_0balancing_0policies__common__v3__SlowStartConfig_msg_init, arena); +} +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* ret = envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__common__v3__SlowStartConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* ret = envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__common__v3__SlowStartConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_serialize(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__common__v3__SlowStartConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_serialize_ex(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__common__v3__SlowStartConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_clear_slow_start_window(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_slow_start_window(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_has_slow_start_window(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_clear_aggression(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_RuntimeDouble* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_aggression(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { + const struct envoy_config_core_v3_RuntimeDouble* default_val = NULL; + const struct envoy_config_core_v3_RuntimeDouble* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_has_aggression(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_clear_min_weight_percent(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_v3_Percent* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_min_weight_percent(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { + const struct envoy_type_v3_Percent* default_val = NULL; + const struct envoy_type_v3_Percent* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_has_min_weight_percent(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_set_slow_start_window(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_mutable_slow_start_window(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_slow_start_window(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_set_slow_start_window(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_set_aggression(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig *msg, struct envoy_config_core_v3_RuntimeDouble* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_RuntimeDouble* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_mutable_aggression(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_RuntimeDouble* sub = (struct envoy_config_core_v3_RuntimeDouble*)envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_aggression(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_RuntimeDouble*)_upb_Message_New(&envoy__config__core__v3__RuntimeDouble_msg_init, arena); + if (sub) envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_set_aggression(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_set_min_weight_percent(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig *msg, struct envoy_type_v3_Percent* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_v3_Percent* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_mutable_min_weight_percent(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg, upb_Arena* arena) { + struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_min_weight_percent(msg); + if (sub == NULL) { + sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); + if (sub) envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_set_min_weight_percent(msg, sub); + } + return sub; +} + +/* envoy.extensions.load_balancing_policies.common.v3.ConsistentHashingLbConfig */ + +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_new(upb_Arena* arena) { + return (envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig*)_upb_Message_New(&envoy__extensions__load_0balancing_0policies__common__v3__ConsistentHashingLbConfig_msg_init, arena); +} +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__common__v3__ConsistentHashingLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__common__v3__ConsistentHashingLbConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_serialize(const envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__common__v3__ConsistentHashingLbConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_serialize_ex(const envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__common__v3__ConsistentHashingLbConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_clear_use_hostname_for_hashing(envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg) { + const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_use_hostname_for_hashing(const envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_clear_hash_balance_factor(envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_hash_balance_factor(const envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_has_hash_balance_factor(const envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_set_use_hostname_for_hashing(envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig *msg, bool value) { + const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_set_hash_balance_factor(envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_mutable_hash_balance_factor(envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_hash_balance_factor(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_set_hash_balance_factor(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_COMMON_V3_COMMON_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c new file mode 100644 index 00000000000..78ec6dea208 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c @@ -0,0 +1,135 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/load_balancing_policies/common/v3/common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_submsgs[2] = { + {.submsg = &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__ZoneAwareLbConfig_msg_init}, + {.submsg = &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__LocalityWeightedLbConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig__fields[2] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig_msg_init = { + &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_submsgs[0], + &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_submsgs[2] = { + {.submsg = &envoy__type__v3__Percent_msg_init}, + {.submsg = &google__protobuf__UInt64Value_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__ZoneAwareLbConfig_msg_init = { + &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_submsgs[0], + &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x000100003f000018, &upb_psb1_1bt}, + }) +}; + +const upb_MiniTable envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__LocalityWeightedLbConfig_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_submsgs[3] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__config__core__v3__RuntimeDouble_msg_init}, + {.submsg = &envoy__type__v3__Percent_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__load_0balancing_0policies__common__v3__SlowStartConfig_msg_init = { + &envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_submsgs[0], + &envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_submsgs[1] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig__fields[2] = { + {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__load_0balancing_0policies__common__v3__ConsistentHashingLbConfig_msg_init = { + &envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_submsgs[0], + &envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000100003f000008, &upb_psb1_1bt}, + {0x0008000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[5] = { + &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig_msg_init, + &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__ZoneAwareLbConfig_msg_init, + &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__LocalityWeightedLbConfig_msg_init, + &envoy__extensions__load_0balancing_0policies__common__v3__SlowStartConfig_msg_init, + &envoy__extensions__load_0balancing_0policies__common__v3__ConsistentHashingLbConfig_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_load_balancing_policies_common_v3_common_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 5, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h new file mode 100644 index 00000000000..844a1aa8094 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h @@ -0,0 +1,34 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/load_balancing_policies/common/v3/common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_COMMON_V3_COMMON_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_COMMON_V3_COMMON_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig_msg_init; +extern const upb_MiniTable envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__ZoneAwareLbConfig_msg_init; +extern const upb_MiniTable envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__LocalityWeightedLbConfig_msg_init; +extern const upb_MiniTable envoy__extensions__load_0balancing_0policies__common__v3__SlowStartConfig_msg_init; +extern const upb_MiniTable envoy__extensions__load_0balancing_0policies__common__v3__ConsistentHashingLbConfig_msg_init; + +extern const upb_MiniTableFile envoy_extensions_load_balancing_policies_common_v3_common_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_COMMON_V3_COMMON_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h similarity index 79% rename from src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h rename to src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h index 32bc916e614..82254b68ffc 100644 --- a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.proto * @@ -10,7 +9,12 @@ #define ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_PICK_FIRST_V3_PICK_FIRST_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,19 +22,18 @@ extern "C" { #endif typedef struct envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst; -extern const upb_MiniTable envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_msg_init; /* envoy.extensions.load_balancing_policies.pick_first.v3.PickFirst */ UPB_INLINE envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst* envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_new(upb_Arena* arena) { - return (envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst*)_upb_Message_New(&envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_msg_init, arena); + return (envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst*)_upb_Message_New(&envoy__extensions__load_0balancing_0policies__pick_0first__v3__PickFirst_msg_init, arena); } UPB_INLINE envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst* envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst* ret = envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__pick_0first__v3__PickFirst_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -40,7 +43,7 @@ UPB_INLINE envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst* env int options, upb_Arena* arena) { envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst* ret = envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__pick_0first__v3__PickFirst_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -48,13 +51,13 @@ UPB_INLINE envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst* env } UPB_INLINE char* envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_serialize(const envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__pick_0first__v3__PickFirst_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_serialize_ex(const envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__pick_0first__v3__PickFirst_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_clear_shuffle_address_list(envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst* msg) { @@ -74,8 +77,6 @@ UPB_INLINE void envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_extensions_load_balancing_policies_pick_first_v3_pick_first_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c new file mode 100644 index 00000000000..986957f8ff0 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c @@ -0,0 +1,44 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst__fields[1] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__load_0balancing_0policies__pick_0first__v3__PickFirst_msg_init = { + NULL, + &envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__extensions__load_0balancing_0policies__pick_0first__v3__PickFirst_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_load_balancing_policies_pick_first_v3_pick_first_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h new file mode 100644 index 00000000000..8e91a419f4f --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_PICK_FIRST_V3_PICK_FIRST_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_PICK_FIRST_V3_PICK_FIRST_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__load_0balancing_0policies__pick_0first__v3__PickFirst_msg_init; + +extern const upb_MiniTableFile envoy_extensions_load_balancing_policies_pick_first_v3_pick_first_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_PICK_FIRST_V3_PICK_FIRST_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h rename to src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h index 50e676bb692..a383901bbef 100644 --- a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.proto * @@ -10,7 +9,16 @@ #define ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_RING_HASH_V3_RING_HASH_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h" + +#include "envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,15 +26,10 @@ extern "C" { #endif typedef struct envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash; -extern const upb_MiniTable envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_msg_init; struct envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig; struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig; struct google_protobuf_UInt32Value; struct google_protobuf_UInt64Value; -extern const upb_MiniTable envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_msg_init; -extern const upb_MiniTable envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; -extern const upb_MiniTable google_protobuf_UInt64Value_msg_init; typedef enum { envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_DEFAULT_HASH = 0, @@ -39,12 +42,12 @@ typedef enum { /* envoy.extensions.load_balancing_policies.ring_hash.v3.RingHash */ UPB_INLINE envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_new(upb_Arena* arena) { - return (envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash*)_upb_Message_New(&envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_msg_init, arena); + return (envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash*)_upb_Message_New(&envoy__extensions__load_0balancing_0policies__ring_0hash__v3__RingHash_msg_init, arena); } UPB_INLINE envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* ret = envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__ring_0hash__v3__RingHash_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -54,7 +57,7 @@ UPB_INLINE envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* envoy int options, upb_Arena* arena) { envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* ret = envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__ring_0hash__v3__RingHash_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -62,13 +65,13 @@ UPB_INLINE envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* envoy } UPB_INLINE char* envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_serialize(const envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__ring_0hash__v3__RingHash_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_serialize_ex(const envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__ring_0hash__v3__RingHash_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_clear_hash_function(envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* msg) { @@ -180,7 +183,7 @@ UPB_INLINE void envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_s UPB_INLINE struct google_protobuf_UInt64Value* envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_mutable_minimum_ring_size(envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* msg, upb_Arena* arena) { struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_minimum_ring_size(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google_protobuf_UInt64Value_msg_init, arena); + sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google__protobuf__UInt64Value_msg_init, arena); if (sub) envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_set_minimum_ring_size(msg, sub); } return sub; @@ -192,7 +195,7 @@ UPB_INLINE void envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_s UPB_INLINE struct google_protobuf_UInt64Value* envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_mutable_maximum_ring_size(envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* msg, upb_Arena* arena) { struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_maximum_ring_size(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google_protobuf_UInt64Value_msg_init, arena); + sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google__protobuf__UInt64Value_msg_init, arena); if (sub) envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_set_maximum_ring_size(msg, sub); } return sub; @@ -208,7 +211,7 @@ UPB_INLINE void envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_s UPB_INLINE struct google_protobuf_UInt32Value* envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_mutable_hash_balance_factor(envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_hash_balance_factor(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_set_hash_balance_factor(msg, sub); } return sub; @@ -220,7 +223,7 @@ UPB_INLINE void envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_s UPB_INLINE struct envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_mutable_consistent_hashing_lb_config(envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* msg, upb_Arena* arena) { struct envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* sub = (struct envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig*)envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_consistent_hashing_lb_config(msg); if (sub == NULL) { - sub = (struct envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig*)_upb_Message_New(&envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_msg_init, arena); + sub = (struct envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig*)_upb_Message_New(&envoy__extensions__load_0balancing_0policies__common__v3__ConsistentHashingLbConfig_msg_init, arena); if (sub) envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_set_consistent_hashing_lb_config(msg, sub); } return sub; @@ -232,14 +235,12 @@ UPB_INLINE void envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_s UPB_INLINE struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_mutable_locality_weighted_lb_config(envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash* msg, upb_Arena* arena) { struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* sub = (struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig*)envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_locality_weighted_lb_config(msg); if (sub == NULL) { - sub = (struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig*)_upb_Message_New(&envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_msg_init, arena); + sub = (struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig*)_upb_Message_New(&envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__LocalityWeightedLbConfig_msg_init, arena); if (sub) envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_set_locality_weighted_lb_config(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_extensions_load_balancing_policies_ring_hash_v3_ring_hash_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c new file mode 100644 index 00000000000..5b858a205bb --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c @@ -0,0 +1,68 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h" +#include "envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_submsgs[5] = { + {.submsg = &google__protobuf__UInt64Value_msg_init}, + {.submsg = &google__protobuf__UInt64Value_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &envoy__extensions__load_0balancing_0policies__common__v3__ConsistentHashingLbConfig_msg_init}, + {.submsg = &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__LocalityWeightedLbConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash__fields[7] = { + {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 48), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__load_0balancing_0policies__ring_0hash__v3__RingHash_msg_init = { + &envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_submsgs[0], + &envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash__fields[0], + UPB_SIZE(32, 56), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x0010000001000012, &upb_psm_1bt_maxmaxb}, + {0x001800000201001a, &upb_psm_1bt_maxmaxb}, + {0x000800003f000020, &upb_psb1_1bt}, + {0x002000000302002a, &upb_psm_1bt_maxmaxb}, + {0x0028000004030032, &upb_psm_1bt_maxmaxb}, + {0x003000000504003a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__extensions__load_0balancing_0policies__ring_0hash__v3__RingHash_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_load_balancing_policies_ring_hash_v3_ring_hash_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h new file mode 100644 index 00000000000..5cca88629df --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_RING_HASH_V3_RING_HASH_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_RING_HASH_V3_RING_HASH_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__load_0balancing_0policies__ring_0hash__v3__RingHash_msg_init; + +extern const upb_MiniTableFile envoy_extensions_load_balancing_policies_ring_hash_v3_ring_hash_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_RING_HASH_V3_RING_HASH_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h similarity index 82% rename from src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h rename to src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h index 974b5499f18..e6b4ebcfc70 100644 --- a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.proto * @@ -10,7 +9,14 @@ #define ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_WRR_LOCALITY_V3_WRR_LOCALITY_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h" + +#include "envoy/config/cluster/v3/cluster.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +24,19 @@ extern "C" { #endif typedef struct envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality; -extern const upb_MiniTable envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_msg_init; struct envoy_config_cluster_v3_LoadBalancingPolicy; -extern const upb_MiniTable envoy_config_cluster_v3_LoadBalancingPolicy_msg_init; /* envoy.extensions.load_balancing_policies.wrr_locality.v3.WrrLocality */ UPB_INLINE envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality* envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_new(upb_Arena* arena) { - return (envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality*)_upb_Message_New(&envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_msg_init, arena); + return (envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality*)_upb_Message_New(&envoy__extensions__load_0balancing_0policies__wrr_0locality__v3__WrrLocality_msg_init, arena); } UPB_INLINE envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality* envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality* ret = envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__wrr_0locality__v3__WrrLocality_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +46,7 @@ UPB_INLINE envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality* int options, upb_Arena* arena) { envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality* ret = envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__load_0balancing_0policies__wrr_0locality__v3__WrrLocality_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +54,13 @@ UPB_INLINE envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality* } UPB_INLINE char* envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_serialize(const envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__wrr_0locality__v3__WrrLocality_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_serialize_ex(const envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__load_0balancing_0policies__wrr_0locality__v3__WrrLocality_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_clear_endpoint_picking_policy(envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality* msg) { @@ -82,14 +86,12 @@ UPB_INLINE void envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLoca UPB_INLINE struct envoy_config_cluster_v3_LoadBalancingPolicy* envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_mutable_endpoint_picking_policy(envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality* msg, upb_Arena* arena) { struct envoy_config_cluster_v3_LoadBalancingPolicy* sub = (struct envoy_config_cluster_v3_LoadBalancingPolicy*)envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_endpoint_picking_policy(msg); if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_LoadBalancingPolicy*)_upb_Message_New(&envoy_config_cluster_v3_LoadBalancingPolicy_msg_init, arena); + sub = (struct envoy_config_cluster_v3_LoadBalancingPolicy*)_upb_Message_New(&envoy__config__cluster__v3__LoadBalancingPolicy_msg_init, arena); if (sub) envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_set_endpoint_picking_policy(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_extensions_load_balancing_policies_wrr_locality_v3_wrr_locality_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c new file mode 100644 index 00000000000..155497dcf66 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c @@ -0,0 +1,50 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h" +#include "envoy/config/cluster/v3/cluster.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_submsgs[1] = { + {.submsg = &envoy__config__cluster__v3__LoadBalancingPolicy_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__load_0balancing_0policies__wrr_0locality__v3__WrrLocality_msg_init = { + &envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_submsgs[0], + &envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__extensions__load_0balancing_0policies__wrr_0locality__v3__WrrLocality_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_load_balancing_policies_wrr_locality_v3_wrr_locality_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h new file mode 100644 index 00000000000..dfb0608636a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_WRR_LOCALITY_V3_WRR_LOCALITY_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_WRR_LOCALITY_V3_WRR_LOCALITY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__load_0balancing_0policies__wrr_0locality__v3__WrrLocality_msg_init; + +extern const upb_MiniTableFile envoy_extensions_load_balancing_policies_wrr_locality_v3_wrr_locality_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_WRR_LOCALITY_V3_WRR_LOCALITY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h new file mode 100644 index 00000000000..406cf0ff068 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h @@ -0,0 +1,39 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/cert.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_CERT_PROTO_UPB_H_ +#define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_CERT_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +/* Public Imports. */ +#include "envoy/extensions/transport_sockets/tls/v3/common.upb.h" +#include "envoy/extensions/transport_sockets/tls/v3/secret.upb.h" +#include "envoy/extensions/transport_sockets/tls/v3/tls.upb.h" + +#include "envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h" + +#include "envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_CERT_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c new file mode 100644 index 00000000000..3d9870943ce --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c @@ -0,0 +1,28 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/cert.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_cert_proto_upb_file_layout = { + NULL, + NULL, + NULL, + 0, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h new file mode 100644 index 00000000000..60fbbc8e2db --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h @@ -0,0 +1,34 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/cert.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_CERT_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_CERT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" +/* Public Imports. */ +#include "envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h" + + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + + +extern const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_cert_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_CERT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h new file mode 100644 index 00000000000..9ff13bf4805 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h @@ -0,0 +1,1484 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPB_H_ +#define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/sensitive.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_extensions_transport_sockets_tls_v3_TlsParameters envoy_extensions_transport_sockets_tls_v3_TlsParameters; +typedef struct envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider; +typedef struct envoy_extensions_transport_sockets_tls_v3_TlsCertificate envoy_extensions_transport_sockets_tls_v3_TlsCertificate; +typedef struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys; +typedef struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance; +typedef struct envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher; +typedef struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext; +struct envoy_config_core_v3_DataSource; +struct envoy_config_core_v3_TypedExtensionConfig; +struct envoy_config_core_v3_WatchedDirectory; +struct envoy_type_matcher_v3_StringMatcher; +struct google_protobuf_Any; +struct google_protobuf_BoolValue; +struct google_protobuf_UInt32Value; + +typedef enum { + envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_VERIFY_TRUST_CHAIN = 0, + envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_ACCEPT_UNTRUSTED = 1 +} envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_TrustChainVerification; + +typedef enum { + envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_SAN_TYPE_UNSPECIFIED = 0, + envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_EMAIL = 1, + envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_DNS = 2, + envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_URI = 3, + envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_IP_ADDRESS = 4 +} envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_SanType; + +typedef enum { + envoy_extensions_transport_sockets_tls_v3_TlsParameters_TLS_AUTO = 0, + envoy_extensions_transport_sockets_tls_v3_TlsParameters_TLSv1_0 = 1, + envoy_extensions_transport_sockets_tls_v3_TlsParameters_TLSv1_1 = 2, + envoy_extensions_transport_sockets_tls_v3_TlsParameters_TLSv1_2 = 3, + envoy_extensions_transport_sockets_tls_v3_TlsParameters_TLSv1_3 = 4 +} envoy_extensions_transport_sockets_tls_v3_TlsParameters_TlsProtocol; + + + +/* envoy.extensions.transport_sockets.tls.v3.TlsParameters */ + +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsParameters* envoy_extensions_transport_sockets_tls_v3_TlsParameters_new(upb_Arena* arena) { + return (envoy_extensions_transport_sockets_tls_v3_TlsParameters*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__TlsParameters_msg_init, arena); +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsParameters* envoy_extensions_transport_sockets_tls_v3_TlsParameters_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_TlsParameters* ret = envoy_extensions_transport_sockets_tls_v3_TlsParameters_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__TlsParameters_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsParameters* envoy_extensions_transport_sockets_tls_v3_TlsParameters_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_TlsParameters* ret = envoy_extensions_transport_sockets_tls_v3_TlsParameters_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__TlsParameters_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsParameters_serialize(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__TlsParameters_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsParameters_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__TlsParameters_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_clear_tls_minimum_protocol_version(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_extensions_transport_sockets_tls_v3_TlsParameters_tls_minimum_protocol_version(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_clear_tls_maximum_protocol_version(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_extensions_transport_sockets_tls_v3_TlsParameters_tls_maximum_protocol_version(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_clear_cipher_suites(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* envoy_extensions_transport_sockets_tls_v3_TlsParameters_cipher_suites(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsParameters_cipher_suites_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsParameters_cipher_suites_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsParameters_has_cipher_suites(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { + size_t size; + envoy_extensions_transport_sockets_tls_v3_TlsParameters_cipher_suites(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_clear_ecdh_curves(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* envoy_extensions_transport_sockets_tls_v3_TlsParameters_ecdh_curves(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsParameters_ecdh_curves_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsParameters_ecdh_curves_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsParameters_has_ecdh_curves(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { + size_t size; + envoy_extensions_transport_sockets_tls_v3_TlsParameters_ecdh_curves(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_clear_signature_algorithms(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* envoy_extensions_transport_sockets_tls_v3_TlsParameters_signature_algorithms(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsParameters_signature_algorithms_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsParameters_signature_algorithms_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsParameters_has_signature_algorithms(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { + size_t size; + envoy_extensions_transport_sockets_tls_v3_TlsParameters_signature_algorithms(msg, &size); + return size != 0; +} + +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_set_tls_minimum_protocol_version(envoy_extensions_transport_sockets_tls_v3_TlsParameters *msg, int32_t value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_set_tls_maximum_protocol_version(envoy_extensions_transport_sockets_tls_v3_TlsParameters *msg, int32_t value) { + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_TlsParameters_mutable_cipher_suites(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { + upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_TlsParameters_resize_cipher_suites(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsParameters_add_cipher_suites(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_TlsParameters_mutable_ecdh_curves(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_TlsParameters_resize_ecdh_curves(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsParameters_add_ecdh_curves(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_TlsParameters_mutable_signature_algorithms(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_TlsParameters_resize_signature_algorithms(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsParameters_add_signature_algorithms(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} + +/* envoy.extensions.transport_sockets.tls.v3.PrivateKeyProvider */ + +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_new(upb_Arena* arena) { + return (envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__PrivateKeyProvider_msg_init, arena); +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* ret = envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__PrivateKeyProvider_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* ret = envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__PrivateKeyProvider_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_serialize(const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__PrivateKeyProvider_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__PrivateKeyProvider_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_config_type_typed_config = 3, + envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_config_type_NOT_SET = 0 +} envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_config_type_oneofcases; +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_config_type_oneofcases envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_config_type_case(const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_clear_provider_name(envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_provider_name(const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_clear_typed_config(envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Any* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_typed_config(const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { + const struct google_protobuf_Any* default_val = NULL; + const struct google_protobuf_Any* ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_has_typed_config(const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_clear_fallback(envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { + const upb_MiniTableField field = {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_fallback(const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_set_provider_name(envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_set_typed_config(envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider *msg, struct google_protobuf_Any* value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Any* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_mutable_typed_config(envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg, upb_Arena* arena) { + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_typed_config(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_set_typed_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_set_fallback(envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider *msg, bool value) { + const upb_MiniTableField field = {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.extensions.transport_sockets.tls.v3.TlsCertificate */ + +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsCertificate* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_new(upb_Arena* arena) { + return (envoy_extensions_transport_sockets_tls_v3_TlsCertificate*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__TlsCertificate_msg_init, arena); +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsCertificate* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_TlsCertificate* ret = envoy_extensions_transport_sockets_tls_v3_TlsCertificate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__TlsCertificate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsCertificate* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_TlsCertificate* ret = envoy_extensions_transport_sockets_tls_v3_TlsCertificate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__TlsCertificate_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_serialize(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__TlsCertificate_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__TlsCertificate_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_certificate_chain(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_certificate_chain(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const struct envoy_config_core_v3_DataSource* default_val = NULL; + const struct envoy_config_core_v3_DataSource* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_certificate_chain(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_private_key(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_private_key(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const struct envoy_config_core_v3_DataSource* default_val = NULL; + const struct envoy_config_core_v3_DataSource* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_private_key(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_password(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_password(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const struct envoy_config_core_v3_DataSource* default_val = NULL; + const struct envoy_config_core_v3_DataSource* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_password(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_ocsp_staple(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_ocsp_staple(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const struct envoy_config_core_v3_DataSource* default_val = NULL; + const struct envoy_config_core_v3_DataSource* ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_ocsp_staple(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_DataSource* const* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_signed_certificate_timestamp(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct envoy_config_core_v3_DataSource* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsCertificate_signed_certificate_timestamp_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsCertificate_signed_certificate_timestamp_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_signed_certificate_timestamp(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + size_t size; + envoy_extensions_transport_sockets_tls_v3_TlsCertificate_signed_certificate_timestamp(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_private_key_provider(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_private_key_provider(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* default_val = NULL; + const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* ret; + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_private_key_provider(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_watched_directory(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_WatchedDirectory* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_watched_directory(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const struct envoy_config_core_v3_WatchedDirectory* default_val = NULL; + const struct envoy_config_core_v3_WatchedDirectory* ret; + const upb_MiniTableField field = {7, UPB_SIZE(28, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_watched_directory(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_pkcs12(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 64), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_pkcs12(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const struct envoy_config_core_v3_DataSource* default_val = NULL; + const struct envoy_config_core_v3_DataSource* ret; + const upb_MiniTableField field = {8, UPB_SIZE(32, 64), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_pkcs12(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 64), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_certificate_chain(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, struct envoy_config_core_v3_DataSource* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_certificate_chain(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { + struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_certificate_chain(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_certificate_chain(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_private_key(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, struct envoy_config_core_v3_DataSource* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_private_key(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { + struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_private_key(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_private_key(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_password(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, struct envoy_config_core_v3_DataSource* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_password(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { + struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_password(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_password(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_ocsp_staple(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, struct envoy_config_core_v3_DataSource* value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_ocsp_staple(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { + struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_ocsp_staple(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_ocsp_staple(msg, sub); + } + return sub; +} +UPB_INLINE struct envoy_config_core_v3_DataSource** envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct envoy_config_core_v3_DataSource**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct envoy_config_core_v3_DataSource** envoy_extensions_transport_sockets_tls_v3_TlsCertificate_resize_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct envoy_config_core_v3_DataSource**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_add_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_private_key_provider(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* value) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_private_key_provider(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { + struct envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* sub = (struct envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_private_key_provider(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__PrivateKeyProvider_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_private_key_provider(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_watched_directory(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, struct envoy_config_core_v3_WatchedDirectory* value) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_WatchedDirectory* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_watched_directory(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { + struct envoy_config_core_v3_WatchedDirectory* sub = (struct envoy_config_core_v3_WatchedDirectory*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_watched_directory(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_WatchedDirectory*)_upb_Message_New(&envoy__config__core__v3__WatchedDirectory_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_watched_directory(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_pkcs12(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, struct envoy_config_core_v3_DataSource* value) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 64), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_pkcs12(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { + struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_pkcs12(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_pkcs12(msg, sub); + } + return sub; +} + +/* envoy.extensions.transport_sockets.tls.v3.TlsSessionTicketKeys */ + +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_new(upb_Arena* arena) { + return (envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__TlsSessionTicketKeys_msg_init, arena); +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* ret = envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__TlsSessionTicketKeys_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* ret = envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__TlsSessionTicketKeys_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_serialize(const envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__TlsSessionTicketKeys_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__TlsSessionTicketKeys_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_clear_keys(envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_DataSource* const* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_keys(const envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct envoy_config_core_v3_DataSource* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_keys_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_keys_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_has_keys(const envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg) { + size_t size; + envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_keys(msg, &size); + return size != 0; +} + +UPB_INLINE struct envoy_config_core_v3_DataSource** envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_mutable_keys(envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct envoy_config_core_v3_DataSource**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct envoy_config_core_v3_DataSource** envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_resize_keys(envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct envoy_config_core_v3_DataSource**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_add_keys(envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.extensions.transport_sockets.tls.v3.CertificateProviderPluginInstance */ + +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_new(upb_Arena* arena) { + return (envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CertificateProviderPluginInstance_msg_init, arena); +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* ret = envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__CertificateProviderPluginInstance_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* ret = envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__CertificateProviderPluginInstance_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_serialize(const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__CertificateProviderPluginInstance_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__CertificateProviderPluginInstance_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_clear_instance_name(envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_instance_name(const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_clear_certificate_name(envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_certificate_name(const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_set_instance_name(envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_set_certificate_name(envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.extensions.transport_sockets.tls.v3.SubjectAltNameMatcher */ + +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_new(upb_Arena* arena) { + return (envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__SubjectAltNameMatcher_msg_init, arena); +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* ret = envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__SubjectAltNameMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* ret = envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__SubjectAltNameMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_serialize(const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__SubjectAltNameMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__SubjectAltNameMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_clear_san_type(envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg) { + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_san_type(const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_clear_matcher(envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg) { + const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_matcher(const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg) { + const struct envoy_type_matcher_v3_StringMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_StringMatcher* ret; + const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_has_matcher(const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg) { + const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_set_san_type(envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher *msg, int32_t value) { + const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_set_matcher(envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher *msg, struct envoy_type_matcher_v3_StringMatcher* value) { + const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_mutable_matcher(envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_matcher(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_set_matcher(msg, sub); + } + return sub; +} + +/* envoy.extensions.transport_sockets.tls.v3.CertificateValidationContext */ + +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_new(upb_Arena* arena) { + return (envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init, arena); +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* ret = envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* ret = envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_serialize(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_trusted_ca(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_trusted_ca(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const struct envoy_config_core_v3_DataSource* default_val = NULL; + const struct envoy_config_core_v3_DataSource* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_trusted_ca(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_verify_certificate_hash(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_hash(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_hash_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_hash_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_verify_certificate_hash(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + size_t size; + envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_hash(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_verify_certificate_spki(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_spki(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_spki_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_spki_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_verify_certificate_spki(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + size_t size; + envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_spki(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_require_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 40), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_BoolValue* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_require_signed_certificate_timestamp(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const struct google_protobuf_BoolValue* default_val = NULL; + const struct google_protobuf_BoolValue* ret; + const upb_MiniTableField field = {6, UPB_SIZE(16, 40), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_require_signed_certificate_timestamp(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 40), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_crl(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(20, 48), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_crl(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const struct envoy_config_core_v3_DataSource* default_val = NULL; + const struct envoy_config_core_v3_DataSource* ret; + const upb_MiniTableField field = {7, UPB_SIZE(20, 48), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_crl(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(20, 48), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_allow_expired_certificate(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(24, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_allow_expired_certificate(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {8, UPB_SIZE(24, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_match_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* const* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_subject_alt_names(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct envoy_type_matcher_v3_StringMatcher* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_subject_alt_names_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_subject_alt_names_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_match_subject_alt_names(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + size_t size; + envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_subject_alt_names(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_trust_chain_verification(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(32, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_trust_chain_verification(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {10, UPB_SIZE(32, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_watched_directory(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(36, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_WatchedDirectory* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_watched_directory(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const struct envoy_config_core_v3_WatchedDirectory* default_val = NULL; + const struct envoy_config_core_v3_WatchedDirectory* ret; + const upb_MiniTableField field = {11, UPB_SIZE(36, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_watched_directory(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(36, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_custom_validator_config(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(40, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_custom_validator_config(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {12, UPB_SIZE(40, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_custom_validator_config(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(40, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_ca_certificate_provider_instance(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(44, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_ca_certificate_provider_instance(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* default_val = NULL; + const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* ret; + const upb_MiniTableField field = {13, UPB_SIZE(44, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_ca_certificate_provider_instance(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(44, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_only_verify_leaf_cert_crl(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(48, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_only_verify_leaf_cert_crl(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {14, UPB_SIZE(48, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_match_typed_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* const* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_typed_subject_alt_names(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { + const upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_typed_subject_alt_names_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { + const upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_typed_subject_alt_names_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_match_typed_subject_alt_names(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + size_t size; + envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_typed_subject_alt_names(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_max_verify_depth(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(56, 96), 7, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_max_verify_depth(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {16, UPB_SIZE(56, 96), 7, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_max_verify_depth(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(56, 96), 7, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_trusted_ca(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, struct envoy_config_core_v3_DataSource* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_trusted_ca(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { + struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_trusted_ca(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_trusted_ca(msg, sub); + } + return sub; +} +UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_verify_certificate_hash(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_resize_verify_certificate_hash(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_add_verify_certificate_hash(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_verify_certificate_spki(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_resize_verify_certificate_spki(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_add_verify_certificate_spki(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_require_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, struct google_protobuf_BoolValue* value) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 40), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_require_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { + struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_require_signed_certificate_timestamp(msg); + if (sub == NULL) { + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_require_signed_certificate_timestamp(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_crl(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, struct envoy_config_core_v3_DataSource* value) { + const upb_MiniTableField field = {7, UPB_SIZE(20, 48), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_crl(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { + struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_crl(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_crl(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_allow_expired_certificate(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, bool value) { + const upb_MiniTableField field = {8, UPB_SIZE(24, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_StringMatcher** envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_match_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { + upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct envoy_type_matcher_v3_StringMatcher**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct envoy_type_matcher_v3_StringMatcher** envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_resize_match_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct envoy_type_matcher_v3_StringMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_add_match_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_trust_chain_verification(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, int32_t value) { + const upb_MiniTableField field = {10, UPB_SIZE(32, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_watched_directory(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, struct envoy_config_core_v3_WatchedDirectory* value) { + const upb_MiniTableField field = {11, UPB_SIZE(36, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_WatchedDirectory* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_watched_directory(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { + struct envoy_config_core_v3_WatchedDirectory* sub = (struct envoy_config_core_v3_WatchedDirectory*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_watched_directory(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_WatchedDirectory*)_upb_Message_New(&envoy__config__core__v3__WatchedDirectory_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_watched_directory(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_custom_validator_config(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {12, UPB_SIZE(40, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_custom_validator_config(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_custom_validator_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_custom_validator_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_ca_certificate_provider_instance(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* value) { + const upb_MiniTableField field = {13, UPB_SIZE(44, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_ca_certificate_provider_instance(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { + struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_ca_certificate_provider_instance(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CertificateProviderPluginInstance_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_ca_certificate_provider_instance(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_only_verify_leaf_cert_crl(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, bool value) { + const upb_MiniTableField field = {14, UPB_SIZE(48, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher** envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_match_typed_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { + upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher** envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_resize_match_typed_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_add_match_typed_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { + upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* sub = (struct envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__SubjectAltNameMatcher_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_max_verify_depth(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {16, UPB_SIZE(56, 96), 7, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_max_verify_depth(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_max_verify_depth(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_max_verify_depth(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c new file mode 100644 index 00000000000..a95e9492ba2 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c @@ -0,0 +1,267 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "udpa/annotations/sensitive.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_TlsParameters__fields[5] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__TlsParameters_msg_init = { + NULL, + &envoy_extensions_transport_sockets_tls_v3_TlsParameters__fields[0], + UPB_SIZE(24, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x000800003f00001a, &upb_prs_1bt}, + {0x001000003f000022, &upb_prs_1bt}, + {0x001800003f00002a, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider__fields[3] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__PrivateKeyProvider_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider__fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000300001a, &upb_pom_1bt_maxmaxb}, + {0x000400003f000020, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_TlsCertificate_submsgs[8] = { + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__PrivateKeyProvider_msg_init}, + {.submsg = &envoy__config__core__v3__WatchedDirectory_msg_init}, + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_TlsCertificate__fields[8] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 48), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 64), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__TlsCertificate_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_TlsCertificate_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_TlsCertificate__fields[0], + UPB_SIZE(40, 72), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x0020000004030022, &upb_psm_1bt_maxmaxb}, + {0x002800003f04002a, &upb_prm_1bt_maxmaxb}, + {0x0030000005050032, &upb_psm_1bt_max64b}, + {0x003800000606003a, &upb_psm_1bt_maxmaxb}, + {0x0040000007070042, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_submsgs[1] = { + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__TlsSessionTicketKeys_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__CertificateProviderPluginInstance_msg_init = { + NULL, + &envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher__fields[2] = { + {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__SubjectAltNameMatcher_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x0008000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_submsgs[9] = { + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, + {.submsg = &envoy__config__core__v3__WatchedDirectory_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CertificateProviderPluginInstance_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__SubjectAltNameMatcher_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext__fields[14] = { + {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 40), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(20, 48), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(24, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(32, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(36, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(40, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(44, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(48, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(56, 96), 7, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext__fields[0], + UPB_SIZE(64, 104), 14, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000000100000a, &upb_psm_1bt_maxmaxb}, + {0x001800003f000012, &upb_prs_1bt}, + {0x002000003f00001a, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0028000002010032, &upb_psm_1bt_maxmaxb}, + {0x003000000302003a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000040, &upb_psb1_1bt}, + {0x003800003f03004a, &upb_prm_1bt_maxmaxb}, + {0x000400003f000050, &upb_psv4_1bt}, + {0x004000000404005a, &upb_psm_1bt_maxmaxb}, + {0x0048000005050062, &upb_psm_1bt_maxmaxb}, + {0x005000000606006a, &upb_psm_1bt_max64b}, + {0x000800003f000070, &upb_psb1_1bt}, + {0x005800003f07007a, &upb_prm_1bt_max64b}, + {0x0060000007080182, &upb_psm_2bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[7] = { + &envoy__extensions__transport_0sockets__tls__v3__TlsParameters_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__PrivateKeyProvider_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__TlsCertificate_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__TlsSessionTicketKeys_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__CertificateProviderPluginInstance_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__SubjectAltNameMatcher_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_common_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 7, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h new file mode 100644 index 00000000000..7ff23572580 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h @@ -0,0 +1,36 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__TlsParameters_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__PrivateKeyProvider_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__TlsCertificate_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__TlsSessionTicketKeys_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__CertificateProviderPluginInstance_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__SubjectAltNameMatcher_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init; + +extern const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_common_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h similarity index 88% rename from src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h rename to src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h index 8829dddbec5..b96e6d9d9f0 100644 --- a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/transport_sockets/tls/v3/secret.proto * @@ -10,7 +9,18 @@ #define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_SECRET_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h" +#include "udpa/annotations/sensitive.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -20,31 +30,23 @@ extern "C" { typedef struct envoy_extensions_transport_sockets_tls_v3_GenericSecret envoy_extensions_transport_sockets_tls_v3_GenericSecret; typedef struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig; typedef struct envoy_extensions_transport_sockets_tls_v3_Secret envoy_extensions_transport_sockets_tls_v3_Secret; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_GenericSecret_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_Secret_msg_init; struct envoy_config_core_v3_ConfigSource; struct envoy_config_core_v3_DataSource; struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext; struct envoy_extensions_transport_sockets_tls_v3_TlsCertificate; struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys; -extern const upb_MiniTable envoy_config_core_v3_ConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_DataSource_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init; /* envoy.extensions.transport_sockets.tls.v3.GenericSecret */ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_GenericSecret* envoy_extensions_transport_sockets_tls_v3_GenericSecret_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_GenericSecret*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_GenericSecret_msg_init, arena); + return (envoy_extensions_transport_sockets_tls_v3_GenericSecret*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__GenericSecret_msg_init, arena); } UPB_INLINE envoy_extensions_transport_sockets_tls_v3_GenericSecret* envoy_extensions_transport_sockets_tls_v3_GenericSecret_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_GenericSecret* ret = envoy_extensions_transport_sockets_tls_v3_GenericSecret_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_GenericSecret_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__GenericSecret_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -54,7 +56,7 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_GenericSecret* envoy_extens int options, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_GenericSecret* ret = envoy_extensions_transport_sockets_tls_v3_GenericSecret_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_GenericSecret_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__GenericSecret_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -62,13 +64,13 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_GenericSecret* envoy_extens } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_GenericSecret_serialize(const envoy_extensions_transport_sockets_tls_v3_GenericSecret* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_GenericSecret_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__GenericSecret_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_GenericSecret_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_GenericSecret* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_GenericSecret_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__GenericSecret_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_GenericSecret_clear_secret(envoy_extensions_transport_sockets_tls_v3_GenericSecret* msg) { @@ -94,7 +96,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_GenericSecret_set_secr UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_GenericSecret_mutable_secret(envoy_extensions_transport_sockets_tls_v3_GenericSecret* msg, upb_Arena* arena) { struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_GenericSecret_secret(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_GenericSecret_set_secret(msg, sub); } return sub; @@ -103,12 +105,12 @@ UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_so /* envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig */ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init, arena); + return (envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init, arena); } UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* ret = envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -118,7 +120,7 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* envoy_exte int options, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* ret = envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -126,13 +128,13 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* envoy_exte } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_serialize(const envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_clear_name(envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* msg) { @@ -173,7 +175,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_set_sd UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_mutable_sds_config(envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_sds_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); + sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_set_sds_config(msg, sub); } return sub; @@ -182,12 +184,12 @@ UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_extensions_transport_ /* envoy.extensions.transport_sockets.tls.v3.Secret */ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_Secret* envoy_extensions_transport_sockets_tls_v3_Secret_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_Secret*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_Secret_msg_init, arena); + return (envoy_extensions_transport_sockets_tls_v3_Secret*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__Secret_msg_init, arena); } UPB_INLINE envoy_extensions_transport_sockets_tls_v3_Secret* envoy_extensions_transport_sockets_tls_v3_Secret_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_Secret* ret = envoy_extensions_transport_sockets_tls_v3_Secret_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_Secret_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__Secret_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -197,7 +199,7 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_Secret* envoy_extensions_tr int options, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_Secret* ret = envoy_extensions_transport_sockets_tls_v3_Secret_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_Secret_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__Secret_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -205,13 +207,13 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_Secret* envoy_extensions_tr } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_Secret_serialize(const envoy_extensions_transport_sockets_tls_v3_Secret* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_Secret_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__Secret_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_Secret_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_Secret* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_Secret_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__Secret_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -308,7 +310,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_Secret_set_tls_certifi UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_TlsCertificate* envoy_extensions_transport_sockets_tls_v3_Secret_mutable_tls_certificate(envoy_extensions_transport_sockets_tls_v3_Secret* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_TlsCertificate* sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsCertificate*)envoy_extensions_transport_sockets_tls_v3_Secret_tls_certificate(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsCertificate*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsCertificate*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__TlsCertificate_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_Secret_set_tls_certificate(msg, sub); } return sub; @@ -320,7 +322,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_Secret_set_session_tic UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* envoy_extensions_transport_sockets_tls_v3_Secret_mutable_session_ticket_keys(envoy_extensions_transport_sockets_tls_v3_Secret* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys*)envoy_extensions_transport_sockets_tls_v3_Secret_session_ticket_keys(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__TlsSessionTicketKeys_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_Secret_set_session_ticket_keys(msg, sub); } return sub; @@ -332,7 +334,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_Secret_set_validation_ UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* envoy_extensions_transport_sockets_tls_v3_Secret_mutable_validation_context(envoy_extensions_transport_sockets_tls_v3_Secret* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext*)envoy_extensions_transport_sockets_tls_v3_Secret_validation_context(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_Secret_set_validation_context(msg, sub); } return sub; @@ -344,14 +346,12 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_Secret_set_generic_sec UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_GenericSecret* envoy_extensions_transport_sockets_tls_v3_Secret_mutable_generic_secret(envoy_extensions_transport_sockets_tls_v3_Secret* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_GenericSecret* sub = (struct envoy_extensions_transport_sockets_tls_v3_GenericSecret*)envoy_extensions_transport_sockets_tls_v3_Secret_generic_secret(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_GenericSecret*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_GenericSecret_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_GenericSecret*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__GenericSecret_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_Secret_set_generic_secret(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_secret_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c new file mode 100644 index 00000000000..2e831e59137 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c @@ -0,0 +1,108 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/secret.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h" +#include "udpa/annotations/sensitive.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_GenericSecret_submsgs[1] = { + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_GenericSecret__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__GenericSecret_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_GenericSecret_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_GenericSecret__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_submsgs[1] = { + {.submsg = &envoy__config__core__v3__ConfigSource_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_Secret_submsgs[4] = { + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__TlsCertificate_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__TlsSessionTicketKeys_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__GenericSecret_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_Secret__fields[5] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 24), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 24), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__Secret_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_Secret_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_Secret__fields[0], + UPB_SIZE(16, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000002000012, &upb_pom_1bt_maxmaxb}, + {0x001800000301001a, &upb_pom_1bt_maxmaxb}, + {0x0018000004020022, &upb_pom_1bt_maxmaxb}, + {0x001800000503002a, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[3] = { + &envoy__extensions__transport_0sockets__tls__v3__GenericSecret_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__Secret_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_secret_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 3, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h new file mode 100644 index 00000000000..26b06398a2d --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h @@ -0,0 +1,32 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/secret.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_SECRET_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_SECRET_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__GenericSecret_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__Secret_msg_init; + +extern const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_secret_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_SECRET_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h similarity index 89% rename from src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h rename to src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h index e87fcdf5ea0..cca36112c05 100644 --- a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/transport_sockets/tls/v3/tls.proto * @@ -10,7 +9,21 @@ #define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_TLS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h" + +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -24,13 +37,6 @@ typedef struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext envoy_ typedef struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider; typedef struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance; typedef struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_msg_init; struct envoy_config_core_v3_CidrRange; struct envoy_config_core_v3_TypedExtensionConfig; struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance; @@ -42,17 +48,6 @@ struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys; struct google_protobuf_BoolValue; struct google_protobuf_Duration; struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_core_v3_CidrRange_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_TlsParameters_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; typedef enum { envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_LENIENT_STAPLING = 0, @@ -65,12 +60,12 @@ typedef enum { /* envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext */ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_msg_init, arena); + return (envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__UpstreamTlsContext_msg_init, arena); } UPB_INLINE envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* ret = envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__UpstreamTlsContext_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -80,7 +75,7 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* envoy_e int options, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* ret = envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__UpstreamTlsContext_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -88,13 +83,13 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* envoy_e } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_serialize(const envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__UpstreamTlsContext_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__UpstreamTlsContext_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_clear_common_tls_context(envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* msg) { @@ -113,13 +108,13 @@ UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_has return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_clear_sni(envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* msg) { - const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE upb_StringView envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_sni(const envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* msg) { upb_StringView default_val = upb_StringView_FromString(""); upb_StringView ret; - const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } @@ -149,6 +144,21 @@ UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_has const upb_MiniTableField field = {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_clear_enforce_rsa_key_usage(envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_BoolValue* envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_enforce_rsa_key_usage(const envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* msg) { + const struct google_protobuf_BoolValue* default_val = NULL; + const struct google_protobuf_BoolValue* ret; + const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_has_enforce_rsa_key_usage(const envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_set_common_tls_context(envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext *msg, envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* value) { const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; @@ -157,13 +167,13 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_set UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_mutable_common_tls_context(envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext*)envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_common_tls_context(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_set_common_tls_context(msg, sub); } return sub; } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_set_sni(envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext *msg, upb_StringView value) { - const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_set_allow_renegotiation(envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext *msg, bool value) { @@ -177,21 +187,33 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_set UPB_INLINE struct google_protobuf_UInt32Value* envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_mutable_max_session_keys(envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_max_session_keys(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_set_max_session_keys(msg, sub); } return sub; } +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_set_enforce_rsa_key_usage(envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext *msg, struct google_protobuf_BoolValue* value) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_mutable_enforce_rsa_key_usage(envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext* msg, upb_Arena* arena) { + struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_enforce_rsa_key_usage(msg); + if (sub == NULL) { + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); + if (sub) envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_set_enforce_rsa_key_usage(msg, sub); + } + return sub; +} /* envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext */ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_msg_init, arena); + return (envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__DownstreamTlsContext_msg_init, arena); } UPB_INLINE envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* ret = envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__DownstreamTlsContext_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -201,7 +223,7 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* envoy int options, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* ret = envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__DownstreamTlsContext_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -209,13 +231,13 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* envoy } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_serialize(const envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__DownstreamTlsContext_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__DownstreamTlsContext_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -225,7 +247,7 @@ typedef enum { envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_session_ticket_keys_type_NOT_SET = 0 } envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_session_ticket_keys_type_oneofcases; UPB_INLINE envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_session_ticket_keys_type_oneofcases envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_session_ticket_keys_type_case(const envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {4, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return (envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_session_ticket_keys_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_clear_common_tls_context(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { @@ -274,33 +296,33 @@ UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_h return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_clear_session_ticket_keys(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {4, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_session_ticket_keys(const envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { const struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* default_val = NULL; const struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* ret; - const upb_MiniTableField field = {4, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {4, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_has_session_ticket_keys(const envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {4, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_clear_session_ticket_keys_sds_secret_config(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {5, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE const struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_session_ticket_keys_sds_secret_config(const envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { const struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* default_val = NULL; const struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* ret; - const upb_MiniTableField field = {5, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {5, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_has_session_ticket_keys_sds_secret_config(const envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {5, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_clear_session_timeout(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { @@ -319,18 +341,18 @@ UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_h return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_clear_disable_stateless_session_resumption(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_ClearNonExtensionField(msg, &field); } UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_disable_stateless_session_resumption(const envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { bool default_val = false; bool ret; - const upb_MiniTableField field = {7, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); return ret; } UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_has_disable_stateless_session_resumption(const envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_clear_ocsp_staple_policy(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { @@ -359,6 +381,17 @@ UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_h const upb_MiniTableField field = {9, UPB_SIZE(28, 48), 5, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_clear_disable_stateful_session_resumption(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(32, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_disable_stateful_session_resumption(const envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {10, UPB_SIZE(32, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_set_common_tls_context(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext *msg, envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* value) { const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; @@ -367,7 +400,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_s UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_mutable_common_tls_context(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext*)envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_common_tls_context(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_set_common_tls_context(msg, sub); } return sub; @@ -379,7 +412,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_s UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_mutable_require_client_certificate(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_require_client_certificate(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_set_require_client_certificate(msg, sub); } return sub; @@ -391,31 +424,31 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_s UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_mutable_require_sni(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_require_sni(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_set_require_sni(msg, sub); } return sub; } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_set_session_ticket_keys(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext *msg, struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* value) { - const upb_MiniTableField field = {4, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {4, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_mutable_session_ticket_keys(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys*)envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_session_ticket_keys(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__TlsSessionTicketKeys_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_set_session_ticket_keys(msg, sub); } return sub; } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_set_session_ticket_keys_sds_secret_config(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext *msg, struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* value) { - const upb_MiniTableField field = {5, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {5, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_mutable_session_ticket_keys_sds_secret_config(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* sub = (struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig*)envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_session_ticket_keys_sds_secret_config(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_set_session_ticket_keys_sds_secret_config(msg, sub); } return sub; @@ -427,13 +460,13 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_s UPB_INLINE struct google_protobuf_Duration* envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_mutable_session_timeout(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_session_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_set_session_timeout(msg, sub); } return sub; } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_set_disable_stateless_session_resumption(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext *msg, bool value) { - const upb_MiniTableField field = {7, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; _upb_Message_SetNonExtensionField(msg, &field, &value); } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_set_ocsp_staple_policy(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext *msg, int32_t value) { @@ -447,21 +480,25 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_s UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_mutable_full_scan_certs_on_sni_mismatch(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext* msg, upb_Arena* arena) { struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_full_scan_certs_on_sni_mismatch(msg); if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_set_full_scan_certs_on_sni_mismatch(msg, sub); } return sub; } +UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_set_disable_stateful_session_resumption(envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext *msg, bool value) { + const upb_MiniTableField field = {10, UPB_SIZE(32, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} /* envoy.extensions.transport_sockets.tls.v3.TlsKeyLog */ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsKeyLog* envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_TlsKeyLog*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_msg_init, arena); + return (envoy_extensions_transport_sockets_tls_v3_TlsKeyLog*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__TlsKeyLog_msg_init, arena); } UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsKeyLog* envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_TlsKeyLog* ret = envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__TlsKeyLog_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -471,7 +508,7 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsKeyLog* envoy_extensions int options, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_TlsKeyLog* ret = envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__TlsKeyLog_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -479,13 +516,13 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsKeyLog* envoy_extensions } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_serialize(const envoy_extensions_transport_sockets_tls_v3_TlsKeyLog* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__TlsKeyLog_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_TlsKeyLog* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__TlsKeyLog_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_clear_path(envoy_extensions_transport_sockets_tls_v3_TlsKeyLog* msg) { @@ -599,7 +636,7 @@ UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_extensions_transport_soc if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena); + struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy__config__core__v3__CidrRange_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -625,7 +662,7 @@ UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_extensions_transport_soc if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena); + struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy__config__core__v3__CidrRange_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -634,12 +671,12 @@ UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_extensions_transport_soc /* envoy.extensions.transport_sockets.tls.v3.CommonTlsContext */ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_CommonTlsContext*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msg_init, arena); + return (envoy_extensions_transport_sockets_tls_v3_CommonTlsContext*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext_msg_init, arena); } UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* ret = envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -649,7 +686,7 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* envoy_ext int options, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* ret = envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -657,13 +694,13 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* envoy_ext } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_serialize(const envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -962,7 +999,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_t UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_TlsParameters* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_mutable_tls_params(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_TlsParameters* sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsParameters*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_tls_params(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsParameters*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_TlsParameters_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsParameters*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__TlsParameters_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_tls_params(msg, sub); } return sub; @@ -988,7 +1025,7 @@ UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_TlsCertificate* envo if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_extensions_transport_sockets_tls_v3_TlsCertificate* sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsCertificate*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init, arena); + struct envoy_extensions_transport_sockets_tls_v3_TlsCertificate* sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsCertificate*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__TlsCertificate_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1000,7 +1037,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_v UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_mutable_validation_context(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_validation_context(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_validation_context(msg, sub); } return sub; @@ -1050,7 +1087,7 @@ UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* env if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* sub = (struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init, arena); + struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* sub = (struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1062,7 +1099,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_v UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_mutable_validation_context_sds_secret_config(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* sub = (struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_validation_context_sds_secret_config(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_validation_context_sds_secret_config(msg, sub); } return sub; @@ -1074,7 +1111,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_c UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_mutable_combined_validation_context(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext* sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_combined_validation_context(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CombinedCertificateValidationContext_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_combined_validation_context(msg, sub); } return sub; @@ -1086,7 +1123,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_t UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_mutable_tls_certificate_certificate_provider(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider* sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_tls_certificate_certificate_provider(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_tls_certificate_certificate_provider(msg, sub); } return sub; @@ -1098,7 +1135,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_v UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_mutable_validation_context_certificate_provider(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider* sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_validation_context_certificate_provider(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_validation_context_certificate_provider(msg, sub); } return sub; @@ -1110,7 +1147,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_t UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_mutable_tls_certificate_certificate_provider_instance(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance* sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_tls_certificate_certificate_provider_instance(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_tls_certificate_certificate_provider_instance(msg, sub); } return sub; @@ -1122,7 +1159,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_v UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_mutable_validation_context_certificate_provider_instance(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance* sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_validation_context_certificate_provider_instance(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_validation_context_certificate_provider_instance(msg, sub); } return sub; @@ -1134,7 +1171,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_c UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_mutable_custom_handshaker(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_custom_handshaker(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_custom_handshaker(msg, sub); } return sub; @@ -1146,7 +1183,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_t UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_mutable_tls_certificate_provider_instance(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_tls_certificate_provider_instance(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CertificateProviderPluginInstance_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_tls_certificate_provider_instance(msg, sub); } return sub; @@ -1158,7 +1195,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_k UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_TlsKeyLog* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_mutable_key_log(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_TlsKeyLog* sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsKeyLog*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_key_log(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsKeyLog*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_TlsKeyLog*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__TlsKeyLog_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_set_key_log(msg, sub); } return sub; @@ -1167,12 +1204,12 @@ UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_TlsKeyLog* envoy_ext /* envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProvider */ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init, arena); + return (envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init, arena); } UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider* ret = envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1182,7 +1219,7 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_Certificat int options, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider* ret = envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1190,13 +1227,13 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_Certificat } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_serialize(const envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1245,7 +1282,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_Certi UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_mutable_typed_config(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider* msg, upb_Arena* arena) { struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_typed_config(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_set_typed_config(msg, sub); } return sub; @@ -1254,12 +1291,12 @@ UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_extensions_tr /* envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance */ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init, arena); + return (envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init, arena); } UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance* ret = envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1269,7 +1306,7 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_Certificat int options, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance* ret = envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1277,13 +1314,13 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_Certificat } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_serialize(const envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_clear_instance_name(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance* msg) { @@ -1321,12 +1358,12 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_Certi /* envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CombinedCertificateValidationContext */ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_msg_init, arena); + return (envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CombinedCertificateValidationContext_msg_init, arena); } UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext* ret = envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CombinedCertificateValidationContext_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1336,7 +1373,7 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCe int options, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext* ret = envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CombinedCertificateValidationContext_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1344,13 +1381,13 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCe } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_serialize(const envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CombinedCertificateValidationContext_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CombinedCertificateValidationContext_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_clear_default_validation_context(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext* msg) { @@ -1421,7 +1458,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_Combi UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_mutable_default_validation_context(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_default_validation_context(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_set_default_validation_context(msg, sub); } return sub; @@ -1433,7 +1470,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_Combi UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_mutable_validation_context_sds_secret_config(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig* sub = (struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_validation_context_sds_secret_config(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_set_validation_context_sds_secret_config(msg, sub); } return sub; @@ -1445,7 +1482,7 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_Combi UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_mutable_validation_context_certificate_provider(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider* sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_validation_context_certificate_provider(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_set_validation_context_certificate_provider(msg, sub); } return sub; @@ -1457,14 +1494,12 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_Combi UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance* envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_mutable_validation_context_certificate_provider_instance(envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext* msg, upb_Arena* arena) { struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance* sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance*)envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_validation_context_certificate_provider_instance(msg); if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init, arena); + sub = (struct envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_set_validation_context_certificate_provider_instance(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_tls_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c new file mode 100644 index 00000000000..0aa97d4796c --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c @@ -0,0 +1,270 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/tls.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h" +#include "envoy/config/core/v3/address.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h" +#include "envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_submsgs[3] = { + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext_msg_init}, + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext__fields[5] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__UpstreamTlsContext_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext__fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max128b}, + {0x001000003f000012, &upb_pss_1bt}, + {0x000100003f000018, &upb_psb1_1bt}, + {0x0020000002010022, &upb_psm_1bt_maxmaxb}, + {0x002800000302002a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_submsgs[7] = { + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__TlsSessionTicketKeys_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__BoolValue_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext__fields[10] = { + {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 40), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 56), UPB_SIZE(-21, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(24, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(28, 48), 5, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(32, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__DownstreamTlsContext_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext__fields[0], + UPB_SIZE(40, 64), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000000100000a, &upb_psm_1bt_max128b}, + {0x0018000002010012, &upb_psm_1bt_maxmaxb}, + {0x002000000302001a, &upb_psm_1bt_maxmaxb}, + {0x0038000404030022, &upb_pom_1bt_maxmaxb}, + {0x003800040504002a, &upb_pom_1bt_maxmaxb}, + {0x0028000004050032, &upb_psm_1bt_maxmaxb}, + {0x0038000407000038, &upb_pob1_1bt}, + {0x000800003f000040, &upb_psv4_1bt}, + {0x003000000506004a, &upb_psm_1bt_maxmaxb}, + {0x000c00003f000050, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_submsgs[2] = { + {.submsg = &envoy__config__core__v3__CidrRange_msg_init}, + {.submsg = &envoy__config__core__v3__CidrRange_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_TlsKeyLog__fields[3] = { + {1, UPB_SIZE(8, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__TlsKeyLog_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_TlsKeyLog__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_prm_1bt_maxmaxb}, + {0x001800003f01001a, &upb_prm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_submsgs[13] = { + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__TlsParameters_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__TlsCertificate_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CombinedCertificateValidationContext_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CertificateProviderPluginInstance_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__TlsKeyLog_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_CommonTlsContext__fields[14] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(44, 80), UPB_SIZE(-29, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 32), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(44, 80), UPB_SIZE(-29, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(44, 80), UPB_SIZE(-29, -5), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(20, 40), 2, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(44, 80), UPB_SIZE(-29, -5), 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(24, 48), 3, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(44, 80), UPB_SIZE(-29, -5), 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(32, 56), 4, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(36, 64), 5, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(40, 72), 6, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext__fields[0], + UPB_SIZE(48, 88), 14, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f010012, &upb_prm_1bt_maxmaxb}, + {0x005000040302001a, &upb_pom_1bt_maxmaxb}, + {0x001800003f000022, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002000003f030032, &upb_prm_1bt_maxmaxb}, + {0x005000040704003a, &upb_pom_1bt_maxmaxb}, + {0x0050000408050042, &upb_pom_1bt_max64b}, + {0x002800000206004a, &upb_psm_1bt_max64b}, + {0x005000040a070052, &upb_pom_1bt_max64b}, + {0x003000000308005a, &upb_psm_1bt_max64b}, + {0x005000040c090062, &upb_pom_1bt_max64b}, + {0x00380000040a006a, &upb_psm_1bt_maxmaxb}, + {0x00400000050b0072, &upb_psm_1bt_maxmaxb}, + {0x00480000060c007a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_submsgs[1] = { + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000002000012, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init = { + NULL, + &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_submsgs[4] = { + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CertificateValidationContext_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__SdsSecretConfig_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init}, + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CombinedCertificateValidationContext_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_max64b}, + {0x0020000004030022, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[7] = { + &envoy__extensions__transport_0sockets__tls__v3__UpstreamTlsContext_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__DownstreamTlsContext_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__TlsKeyLog_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CombinedCertificateValidationContext_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_tls_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 7, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h new file mode 100644 index 00000000000..da98df5e9a0 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h @@ -0,0 +1,36 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/tls.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_TLS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_TLS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__UpstreamTlsContext_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__DownstreamTlsContext_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__TlsKeyLog_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProvider_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CertificateProviderInstance_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__CommonTlsContext__CombinedCertificateValidationContext_msg_init; + +extern const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_tls_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_TLS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h similarity index 86% rename from src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h rename to src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h index c82e7a1ab3d..db2d60a7f72 100644 --- a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.proto * @@ -10,7 +9,14 @@ #define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_TLS_SPIFFE_VALIDATOR_CONFIG_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,22 +25,19 @@ extern "C" { typedef struct envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig; typedef struct envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_msg_init; struct envoy_config_core_v3_DataSource; -extern const upb_MiniTable envoy_config_core_v3_DataSource_msg_init; /* envoy.extensions.transport_sockets.tls.v3.SPIFFECertValidatorConfig */ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig* envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_msg_init, arena); + return (envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig_msg_init, arena); } UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig* envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig* ret = envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -44,7 +47,7 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig* int options, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig* ret = envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -52,13 +55,13 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig* } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_serialize(const envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_clear_trust_domains(envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig* msg) { @@ -120,7 +123,7 @@ UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorC if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain* sub = (struct envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_msg_init, arena); + struct envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain* sub = (struct envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig__TrustDomain_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -129,12 +132,12 @@ UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorC /* envoy.extensions.transport_sockets.tls.v3.SPIFFECertValidatorConfig.TrustDomain */ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain* envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_msg_init, arena); + return (envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig__TrustDomain_msg_init, arena); } UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain* envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain* ret = envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig__TrustDomain_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -144,7 +147,7 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_T int options, upb_Arena* arena) { envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain* ret = envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig__TrustDomain_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -152,13 +155,13 @@ UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_T } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_serialize(const envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig__TrustDomain_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig__TrustDomain_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_clear_name(envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain* msg) { @@ -199,14 +202,12 @@ UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorCon UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_mutable_trust_bundle(envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain* msg, upb_Arena* arena) { struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_trust_bundle(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); + sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy__config__core__v3__DataSource_msg_init, arena); if (sub) envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_set_trust_bundle(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_tls_spiffe_validator_config_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c new file mode 100644 index 00000000000..6316adc68b9 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c @@ -0,0 +1,72 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_submsgs[1] = { + {.submsg = &envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig__TrustDomain_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_submsgs[1] = { + {.submsg = &envoy__config__core__v3__DataSource_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig__TrustDomain_msg_init = { + &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_submsgs[0], + &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig_msg_init, + &envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig__TrustDomain_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_tls_spiffe_validator_config_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h new file mode 100644 index 00000000000..64c7400853a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_TLS_SPIFFE_VALIDATOR_CONFIG_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_TLS_SPIFFE_VALIDATOR_CONFIG_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig_msg_init; +extern const upb_MiniTable envoy__extensions__transport_0sockets__tls__v3__SPIFFECertValidatorConfig__TrustDomain_msg_init; + +extern const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_tls_spiffe_validator_config_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_TLS_SPIFFE_VALIDATOR_CONFIG_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h b/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h new file mode 100644 index 00000000000..7f4e66d53f3 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h @@ -0,0 +1,712 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/upstreams/http/v3/http_protocol_options.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_UPSTREAMS_HTTP_V3_HTTP_PROTOCOL_OPTIONS_PROTO_UPB_H_ +#define ENVOY_EXTENSIONS_UPSTREAMS_HTTP_V3_HTTP_PROTOCOL_OPTIONS_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h" + +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/protocol.upb_minitable.h" +#include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions envoy_extensions_upstreams_http_v3_HttpProtocolOptions; +typedef struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig; +typedef struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig; +typedef struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig; +struct envoy_config_core_v3_AlternateProtocolsCacheOptions; +struct envoy_config_core_v3_Http1ProtocolOptions; +struct envoy_config_core_v3_Http2ProtocolOptions; +struct envoy_config_core_v3_Http3ProtocolOptions; +struct envoy_config_core_v3_HttpProtocolOptions; +struct envoy_config_core_v3_TypedExtensionConfig; +struct envoy_config_core_v3_UpstreamHttpProtocolOptions; +struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter; + + + +/* envoy.extensions.upstreams.http.v3.HttpProtocolOptions */ + +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_new(upb_Arena* arena) { + return (envoy_extensions_upstreams_http_v3_HttpProtocolOptions*)_upb_Message_New(&envoy__extensions__upstreams__http__v3__HttpProtocolOptions_msg_init, arena); +} +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_upstreams_http_v3_HttpProtocolOptions* ret = envoy_extensions_upstreams_http_v3_HttpProtocolOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_upstreams_http_v3_HttpProtocolOptions* ret = envoy_extensions_upstreams_http_v3_HttpProtocolOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_serialize(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_serialize_ex(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_upstream_protocol_options_explicit_http_config = 3, + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_upstream_protocol_options_use_downstream_protocol_config = 4, + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_upstream_protocol_options_auto_config = 5, + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_upstream_protocol_options_NOT_SET = 0 +} envoy_extensions_upstreams_http_v3_HttpProtocolOptions_upstream_protocol_options_oneofcases; +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions_upstream_protocol_options_oneofcases envoy_extensions_upstreams_http_v3_HttpProtocolOptions_upstream_protocol_options_case(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_extensions_upstreams_http_v3_HttpProtocolOptions_upstream_protocol_options_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_clear_common_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_HttpProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_common_http_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const struct envoy_config_core_v3_HttpProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_HttpProtocolOptions* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_has_common_http_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_clear_upstream_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_upstream_http_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const struct envoy_config_core_v3_UpstreamHttpProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_UpstreamHttpProtocolOptions* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_has_upstream_http_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_clear_explicit_http_config(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_explicit_http_config(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* default_val = NULL; + const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* ret; + const upb_MiniTableField field = {3, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_has_explicit_http_config(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_clear_use_downstream_protocol_config(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_use_downstream_protocol_config(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* default_val = NULL; + const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_has_use_downstream_protocol_config(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_clear_auto_config(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_auto_config(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* default_val = NULL; + const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_has_auto_config(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_clear_http_filters(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 24), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* const* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_http_filters(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 24), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_extensions_upstreams_http_v3_HttpProtocolOptions_http_filters_upb_array(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 24), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_extensions_upstreams_http_v3_HttpProtocolOptions_http_filters_mutable_upb_array(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 24), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_has_http_filters(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + size_t size; + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_http_filters(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_clear_header_validation_config(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(20, 32), 3, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_header_validation_config(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; + const struct envoy_config_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {7, UPB_SIZE(20, 32), 3, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_has_header_validation_config(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(20, 32), 3, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_set_common_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions *msg, struct envoy_config_core_v3_HttpProtocolOptions* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_HttpProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_mutable_common_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, upb_Arena* arena) { + struct envoy_config_core_v3_HttpProtocolOptions* sub = (struct envoy_config_core_v3_HttpProtocolOptions*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_common_http_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_HttpProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__HttpProtocolOptions_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_set_common_http_protocol_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_set_upstream_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions *msg, struct envoy_config_core_v3_UpstreamHttpProtocolOptions* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_mutable_upstream_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, upb_Arena* arena) { + struct envoy_config_core_v3_UpstreamHttpProtocolOptions* sub = (struct envoy_config_core_v3_UpstreamHttpProtocolOptions*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_upstream_http_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_UpstreamHttpProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__UpstreamHttpProtocolOptions_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_set_upstream_http_protocol_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_set_explicit_http_config(envoy_extensions_upstreams_http_v3_HttpProtocolOptions *msg, envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* value) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_mutable_explicit_http_config(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, upb_Arena* arena) { + struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* sub = (struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_explicit_http_config(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig*)_upb_Message_New(&envoy__extensions__upstreams__http__v3__HttpProtocolOptions__ExplicitHttpConfig_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_set_explicit_http_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_set_use_downstream_protocol_config(envoy_extensions_upstreams_http_v3_HttpProtocolOptions *msg, envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_mutable_use_downstream_protocol_config(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, upb_Arena* arena) { + struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* sub = (struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_use_downstream_protocol_config(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig*)_upb_Message_New(&envoy__extensions__upstreams__http__v3__HttpProtocolOptions__UseDownstreamHttpConfig_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_set_use_downstream_protocol_config(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_set_auto_config(envoy_extensions_upstreams_http_v3_HttpProtocolOptions *msg, envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_mutable_auto_config(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, upb_Arena* arena) { + struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* sub = (struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_auto_config(msg); + if (sub == NULL) { + sub = (struct envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig*)_upb_Message_New(&envoy__extensions__upstreams__http__v3__HttpProtocolOptions__AutoHttpConfig_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_set_auto_config(msg, sub); + } + return sub; +} +UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter** envoy_extensions_upstreams_http_v3_HttpProtocolOptions_mutable_http_filters(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(16, 24), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter** envoy_extensions_upstreams_http_v3_HttpProtocolOptions_resize_http_filters(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(16, 24), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_add_http_filters(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(16, 24), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter* sub = (struct envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter*)_upb_Message_New(&envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_set_header_validation_config(envoy_extensions_upstreams_http_v3_HttpProtocolOptions *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {7, UPB_SIZE(20, 32), 3, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_mutable_header_validation_config(envoy_extensions_upstreams_http_v3_HttpProtocolOptions* msg, upb_Arena* arena) { + struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_header_validation_config(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_set_header_validation_config(msg, sub); + } + return sub; +} + +/* envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig */ + +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_new(upb_Arena* arena) { + return (envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig*)_upb_Message_New(&envoy__extensions__upstreams__http__v3__HttpProtocolOptions__ExplicitHttpConfig_msg_init, arena); +} +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* ret = envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__ExplicitHttpConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* ret = envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__ExplicitHttpConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_serialize(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__ExplicitHttpConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_serialize_ex(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__ExplicitHttpConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_protocol_config_http_protocol_options = 1, + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_protocol_config_http2_protocol_options = 2, + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_protocol_config_http3_protocol_options = 3, + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_protocol_config_NOT_SET = 0 +} envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_protocol_config_oneofcases; +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_protocol_config_oneofcases envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_protocol_config_case(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_protocol_config_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_clear_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Http1ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_http_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg) { + const struct envoy_config_core_v3_Http1ProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_Http1ProtocolOptions* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_has_http_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_clear_http2_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Http2ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_http2_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg) { + const struct envoy_config_core_v3_Http2ProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_Http2ProtocolOptions* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_has_http2_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_clear_http3_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Http3ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_http3_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg) { + const struct envoy_config_core_v3_Http3ProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_Http3ProtocolOptions* ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_has_http3_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_set_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig *msg, struct envoy_config_core_v3_Http1ProtocolOptions* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Http1ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_mutable_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Http1ProtocolOptions* sub = (struct envoy_config_core_v3_Http1ProtocolOptions*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_http_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Http1ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http1ProtocolOptions_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_set_http_protocol_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_set_http2_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig *msg, struct envoy_config_core_v3_Http2ProtocolOptions* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Http2ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_mutable_http2_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Http2ProtocolOptions* sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_http2_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http2ProtocolOptions_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_set_http2_protocol_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_set_http3_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig *msg, struct envoy_config_core_v3_Http3ProtocolOptions* value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Http3ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_mutable_http3_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Http3ProtocolOptions* sub = (struct envoy_config_core_v3_Http3ProtocolOptions*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_http3_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Http3ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http3ProtocolOptions_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_set_http3_protocol_options(msg, sub); + } + return sub; +} + +/* envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig */ + +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_new(upb_Arena* arena) { + return (envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig*)_upb_Message_New(&envoy__extensions__upstreams__http__v3__HttpProtocolOptions__UseDownstreamHttpConfig_msg_init, arena); +} +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* ret = envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__UseDownstreamHttpConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* ret = envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__UseDownstreamHttpConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_serialize(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__UseDownstreamHttpConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_serialize_ex(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__UseDownstreamHttpConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_clear_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Http1ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_http_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg) { + const struct envoy_config_core_v3_Http1ProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_Http1ProtocolOptions* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_has_http_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_clear_http2_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Http2ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_http2_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg) { + const struct envoy_config_core_v3_Http2ProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_Http2ProtocolOptions* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_has_http2_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_clear_http3_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Http3ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_http3_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg) { + const struct envoy_config_core_v3_Http3ProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_Http3ProtocolOptions* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_has_http3_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_set_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig *msg, struct envoy_config_core_v3_Http1ProtocolOptions* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Http1ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_mutable_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Http1ProtocolOptions* sub = (struct envoy_config_core_v3_Http1ProtocolOptions*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_http_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Http1ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http1ProtocolOptions_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_set_http_protocol_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_set_http2_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig *msg, struct envoy_config_core_v3_Http2ProtocolOptions* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Http2ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_mutable_http2_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Http2ProtocolOptions* sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_http2_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http2ProtocolOptions_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_set_http2_protocol_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_set_http3_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig *msg, struct envoy_config_core_v3_Http3ProtocolOptions* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Http3ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_mutable_http3_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Http3ProtocolOptions* sub = (struct envoy_config_core_v3_Http3ProtocolOptions*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_http3_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Http3ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http3ProtocolOptions_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_set_http3_protocol_options(msg, sub); + } + return sub; +} + +/* envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig */ + +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_new(upb_Arena* arena) { + return (envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig*)_upb_Message_New(&envoy__extensions__upstreams__http__v3__HttpProtocolOptions__AutoHttpConfig_msg_init, arena); +} +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* ret = envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__AutoHttpConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* ret = envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__AutoHttpConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_serialize(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__AutoHttpConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_serialize_ex(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__AutoHttpConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_clear_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Http1ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_http_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg) { + const struct envoy_config_core_v3_Http1ProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_Http1ProtocolOptions* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_has_http_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_clear_http2_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Http2ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_http2_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg) { + const struct envoy_config_core_v3_Http2ProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_Http2ProtocolOptions* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_has_http2_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_clear_http3_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_Http3ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_http3_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg) { + const struct envoy_config_core_v3_Http3ProtocolOptions* default_val = NULL; + const struct envoy_config_core_v3_Http3ProtocolOptions* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_has_http3_protocol_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_clear_alternate_protocols_cache_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_config_core_v3_AlternateProtocolsCacheOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_alternate_protocols_cache_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg) { + const struct envoy_config_core_v3_AlternateProtocolsCacheOptions* default_val = NULL; + const struct envoy_config_core_v3_AlternateProtocolsCacheOptions* ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_has_alternate_protocols_cache_options(const envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_set_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig *msg, struct envoy_config_core_v3_Http1ProtocolOptions* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Http1ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_mutable_http_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Http1ProtocolOptions* sub = (struct envoy_config_core_v3_Http1ProtocolOptions*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_http_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Http1ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http1ProtocolOptions_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_set_http_protocol_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_set_http2_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig *msg, struct envoy_config_core_v3_Http2ProtocolOptions* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Http2ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_mutable_http2_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Http2ProtocolOptions* sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_http2_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http2ProtocolOptions_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_set_http2_protocol_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_set_http3_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig *msg, struct envoy_config_core_v3_Http3ProtocolOptions* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_Http3ProtocolOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_mutable_http3_protocol_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_Http3ProtocolOptions* sub = (struct envoy_config_core_v3_Http3ProtocolOptions*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_http3_protocol_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_Http3ProtocolOptions*)_upb_Message_New(&envoy__config__core__v3__Http3ProtocolOptions_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_set_http3_protocol_options(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_set_alternate_protocols_cache_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig *msg, struct envoy_config_core_v3_AlternateProtocolsCacheOptions* value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_config_core_v3_AlternateProtocolsCacheOptions* envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_mutable_alternate_protocols_cache_options(envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig* msg, upb_Arena* arena) { + struct envoy_config_core_v3_AlternateProtocolsCacheOptions* sub = (struct envoy_config_core_v3_AlternateProtocolsCacheOptions*)envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_alternate_protocols_cache_options(msg); + if (sub == NULL) { + sub = (struct envoy_config_core_v3_AlternateProtocolsCacheOptions*)_upb_Message_New(&envoy__config__core__v3__AlternateProtocolsCacheOptions_msg_init, arena); + if (sub) envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_set_alternate_protocols_cache_options(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_UPSTREAMS_HTTP_V3_HTTP_PROTOCOL_OPTIONS_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c b/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c new file mode 100644 index 00000000000..e4909a1cf95 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c @@ -0,0 +1,151 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/upstreams/http/v3/http_protocol_options.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" +#include "envoy/config/core/v3/protocol.upb_minitable.h" +#include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_extensions_upstreams_http_v3_HttpProtocolOptions_submsgs[7] = { + {.submsg = &envoy__config__core__v3__HttpProtocolOptions_msg_init}, + {.submsg = &envoy__config__core__v3__UpstreamHttpProtocolOptions_msg_init}, + {.submsg = &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__ExplicitHttpConfig_msg_init}, + {.submsg = &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__UseDownstreamHttpConfig_msg_init}, + {.submsg = &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__AutoHttpConfig_msg_init}, + {.submsg = &envoy__extensions__filters__network__http_0connection_0manager__v3__HttpFilter_msg_init}, + {.submsg = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_upstreams_http_v3_HttpProtocolOptions__fields[7] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 40), UPB_SIZE(-13, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 24), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(20, 32), 3, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__upstreams__http__v3__HttpProtocolOptions_msg_init = { + &envoy_extensions_upstreams_http_v3_HttpProtocolOptions_submsgs[0], + &envoy_extensions_upstreams_http_v3_HttpProtocolOptions__fields[0], + UPB_SIZE(32, 48), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x002800040302001a, &upb_pom_1bt_max64b}, + {0x0028000404030022, &upb_pom_1bt_max64b}, + {0x002800040504002a, &upb_pom_1bt_max64b}, + {0x001800003f050032, &upb_prm_1bt_maxmaxb}, + {0x002000000306003a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_submsgs[3] = { + {.submsg = &envoy__config__core__v3__Http1ProtocolOptions_msg_init}, + {.submsg = &envoy__config__core__v3__Http2ProtocolOptions_msg_init}, + {.submsg = &envoy__config__core__v3__Http3ProtocolOptions_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig__fields[3] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__upstreams__http__v3__HttpProtocolOptions__ExplicitHttpConfig_msg_init = { + &envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_submsgs[0], + &envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig__fields[0], + UPB_SIZE(8, 16), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_maxmaxb}, + {0x0008000002010012, &upb_pom_1bt_maxmaxb}, + {0x000800000302001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_submsgs[3] = { + {.submsg = &envoy__config__core__v3__Http1ProtocolOptions_msg_init}, + {.submsg = &envoy__config__core__v3__Http2ProtocolOptions_msg_init}, + {.submsg = &envoy__config__core__v3__Http3ProtocolOptions_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__upstreams__http__v3__HttpProtocolOptions__UseDownstreamHttpConfig_msg_init = { + &envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_submsgs[0], + &envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_submsgs[4] = { + {.submsg = &envoy__config__core__v3__Http1ProtocolOptions_msg_init}, + {.submsg = &envoy__config__core__v3__Http2ProtocolOptions_msg_init}, + {.submsg = &envoy__config__core__v3__Http3ProtocolOptions_msg_init}, + {.submsg = &envoy__config__core__v3__AlternateProtocolsCacheOptions_msg_init}, +}; + +static const upb_MiniTableField envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__extensions__upstreams__http__v3__HttpProtocolOptions__AutoHttpConfig_msg_init = { + &envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_submsgs[0], + &envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800000302001a, &upb_psm_1bt_maxmaxb}, + {0x0020000004030022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[4] = { + &envoy__extensions__upstreams__http__v3__HttpProtocolOptions_msg_init, + &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__ExplicitHttpConfig_msg_init, + &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__UseDownstreamHttpConfig_msg_init, + &envoy__extensions__upstreams__http__v3__HttpProtocolOptions__AutoHttpConfig_msg_init, +}; + +const upb_MiniTableFile envoy_extensions_upstreams_http_v3_http_protocol_options_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 4, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h b/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h new file mode 100644 index 00000000000..c4bd8317c35 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h @@ -0,0 +1,33 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/upstreams/http/v3/http_protocol_options.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_UPSTREAMS_HTTP_V3_HTTP_PROTOCOL_OPTIONS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_EXTENSIONS_UPSTREAMS_HTTP_V3_HTTP_PROTOCOL_OPTIONS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__extensions__upstreams__http__v3__HttpProtocolOptions_msg_init; +extern const upb_MiniTable envoy__extensions__upstreams__http__v3__HttpProtocolOptions__ExplicitHttpConfig_msg_init; +extern const upb_MiniTable envoy__extensions__upstreams__http__v3__HttpProtocolOptions__UseDownstreamHttpConfig_msg_init; +extern const upb_MiniTable envoy__extensions__upstreams__http__v3__HttpProtocolOptions__AutoHttpConfig_msg_init; + +extern const upb_MiniTableFile envoy_extensions_upstreams_http_v3_http_protocol_options_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_UPSTREAMS_HTTP_V3_HTTP_PROTOCOL_OPTIONS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h b/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h new file mode 100644 index 00000000000..5d95aa21e64 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h @@ -0,0 +1,73 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/service/discovery/v3/ads.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_SERVICE_DISCOVERY_V3_ADS_PROTO_UPB_H_ +#define ENVOY_SERVICE_DISCOVERY_V3_ADS_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/service/discovery/v3/ads.upb_minitable.h" + +#include "envoy/service/discovery/v3/discovery.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_service_discovery_v3_AdsDummy envoy_service_discovery_v3_AdsDummy; + + + +/* envoy.service.discovery.v3.AdsDummy */ + +UPB_INLINE envoy_service_discovery_v3_AdsDummy* envoy_service_discovery_v3_AdsDummy_new(upb_Arena* arena) { + return (envoy_service_discovery_v3_AdsDummy*)_upb_Message_New(&envoy__service__discovery__v3__AdsDummy_msg_init, arena); +} +UPB_INLINE envoy_service_discovery_v3_AdsDummy* envoy_service_discovery_v3_AdsDummy_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_service_discovery_v3_AdsDummy* ret = envoy_service_discovery_v3_AdsDummy_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__AdsDummy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_service_discovery_v3_AdsDummy* envoy_service_discovery_v3_AdsDummy_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_service_discovery_v3_AdsDummy* ret = envoy_service_discovery_v3_AdsDummy_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__AdsDummy_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_service_discovery_v3_AdsDummy_serialize(const envoy_service_discovery_v3_AdsDummy* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__service__discovery__v3__AdsDummy_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_service_discovery_v3_AdsDummy_serialize_ex(const envoy_service_discovery_v3_AdsDummy* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__service__discovery__v3__AdsDummy_msg_init, options, arena, &ptr, len); + return ptr; +} + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_SERVICE_DISCOVERY_V3_ADS_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c b/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c new file mode 100644 index 00000000000..a65e32dfc23 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c @@ -0,0 +1,38 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/service/discovery/v3/ads.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/service/discovery/v3/ads.upb_minitable.h" +#include "envoy/service/discovery/v3/discovery.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +const upb_MiniTable envoy__service__discovery__v3__AdsDummy_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__service__discovery__v3__AdsDummy_msg_init, +}; + +const upb_MiniTableFile envoy_service_discovery_v3_ads_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h b/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h new file mode 100644 index 00000000000..5724b024b79 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/service/discovery/v3/ads.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_SERVICE_DISCOVERY_V3_ADS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_SERVICE_DISCOVERY_V3_ADS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__service__discovery__v3__AdsDummy_msg_init; + +extern const upb_MiniTableFile envoy_service_discovery_v3_ads_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_SERVICE_DISCOVERY_V3_ADS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h b/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h similarity index 93% rename from src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h rename to src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h index 3eb9fc857d3..5b9edddbcb0 100644 --- a/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +++ b/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/service/discovery/v3/discovery.proto * @@ -10,7 +9,18 @@ #define ENVOY_SERVICE_DISCOVERY_V3_DISCOVERY_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/service/discovery/v3/discovery.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/rpc/status.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -31,44 +41,24 @@ typedef struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleCons typedef struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList; typedef struct envoy_service_discovery_v3_Resource envoy_service_discovery_v3_Resource; typedef struct envoy_service_discovery_v3_Resource_CacheControl envoy_service_discovery_v3_Resource_CacheControl; -extern const upb_MiniTable envoy_service_discovery_v3_ResourceLocator_msg_init; -extern const upb_MiniTable envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry_msg_init; -extern const upb_MiniTable envoy_service_discovery_v3_ResourceName_msg_init; -extern const upb_MiniTable envoy_service_discovery_v3_DiscoveryRequest_msg_init; -extern const upb_MiniTable envoy_service_discovery_v3_DiscoveryResponse_msg_init; -extern const upb_MiniTable envoy_service_discovery_v3_DeltaDiscoveryRequest_msg_init; -extern const upb_MiniTable envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry_msg_init; -extern const upb_MiniTable envoy_service_discovery_v3_DeltaDiscoveryResponse_msg_init; -extern const upb_MiniTable envoy_service_discovery_v3_DynamicParameterConstraints_msg_init; -extern const upb_MiniTable envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_msg_init; -extern const upb_MiniTable envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_msg_init; -extern const upb_MiniTable envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_msg_init; -extern const upb_MiniTable envoy_service_discovery_v3_Resource_msg_init; -extern const upb_MiniTable envoy_service_discovery_v3_Resource_CacheControl_msg_init; struct envoy_config_core_v3_ControlPlane; struct envoy_config_core_v3_Metadata; struct envoy_config_core_v3_Node; struct google_protobuf_Any; struct google_protobuf_Duration; struct google_rpc_Status; -extern const upb_MiniTable envoy_config_core_v3_ControlPlane_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Metadata_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Node_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_rpc_Status_msg_init; /* envoy.service.discovery.v3.ResourceLocator */ UPB_INLINE envoy_service_discovery_v3_ResourceLocator* envoy_service_discovery_v3_ResourceLocator_new(upb_Arena* arena) { - return (envoy_service_discovery_v3_ResourceLocator*)_upb_Message_New(&envoy_service_discovery_v3_ResourceLocator_msg_init, arena); + return (envoy_service_discovery_v3_ResourceLocator*)_upb_Message_New(&envoy__service__discovery__v3__ResourceLocator_msg_init, arena); } UPB_INLINE envoy_service_discovery_v3_ResourceLocator* envoy_service_discovery_v3_ResourceLocator_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_discovery_v3_ResourceLocator* ret = envoy_service_discovery_v3_ResourceLocator_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_ResourceLocator_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__ResourceLocator_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -78,7 +68,7 @@ UPB_INLINE envoy_service_discovery_v3_ResourceLocator* envoy_service_discovery_v int options, upb_Arena* arena) { envoy_service_discovery_v3_ResourceLocator* ret = envoy_service_discovery_v3_ResourceLocator_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_ResourceLocator_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__ResourceLocator_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -86,13 +76,13 @@ UPB_INLINE envoy_service_discovery_v3_ResourceLocator* envoy_service_discovery_v } UPB_INLINE char* envoy_service_discovery_v3_ResourceLocator_serialize(const envoy_service_discovery_v3_ResourceLocator* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_ResourceLocator_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__ResourceLocator_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_discovery_v3_ResourceLocator_serialize_ex(const envoy_service_discovery_v3_ResourceLocator* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_ResourceLocator_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__ResourceLocator_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_discovery_v3_ResourceLocator_clear_name(envoy_service_discovery_v3_ResourceLocator* msg) { @@ -177,12 +167,12 @@ UPB_INLINE void envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntr /* envoy.service.discovery.v3.ResourceName */ UPB_INLINE envoy_service_discovery_v3_ResourceName* envoy_service_discovery_v3_ResourceName_new(upb_Arena* arena) { - return (envoy_service_discovery_v3_ResourceName*)_upb_Message_New(&envoy_service_discovery_v3_ResourceName_msg_init, arena); + return (envoy_service_discovery_v3_ResourceName*)_upb_Message_New(&envoy__service__discovery__v3__ResourceName_msg_init, arena); } UPB_INLINE envoy_service_discovery_v3_ResourceName* envoy_service_discovery_v3_ResourceName_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_discovery_v3_ResourceName* ret = envoy_service_discovery_v3_ResourceName_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_ResourceName_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__ResourceName_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -192,7 +182,7 @@ UPB_INLINE envoy_service_discovery_v3_ResourceName* envoy_service_discovery_v3_R int options, upb_Arena* arena) { envoy_service_discovery_v3_ResourceName* ret = envoy_service_discovery_v3_ResourceName_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_ResourceName_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__ResourceName_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -200,13 +190,13 @@ UPB_INLINE envoy_service_discovery_v3_ResourceName* envoy_service_discovery_v3_R } UPB_INLINE char* envoy_service_discovery_v3_ResourceName_serialize(const envoy_service_discovery_v3_ResourceName* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_ResourceName_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__ResourceName_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_discovery_v3_ResourceName_serialize_ex(const envoy_service_discovery_v3_ResourceName* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_ResourceName_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__ResourceName_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_discovery_v3_ResourceName_clear_name(envoy_service_discovery_v3_ResourceName* msg) { @@ -247,7 +237,7 @@ UPB_INLINE void envoy_service_discovery_v3_ResourceName_set_dynamic_parameter_co UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service_discovery_v3_ResourceName_mutable_dynamic_parameter_constraints(envoy_service_discovery_v3_ResourceName* msg, upb_Arena* arena) { struct envoy_service_discovery_v3_DynamicParameterConstraints* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints*)envoy_service_discovery_v3_ResourceName_dynamic_parameter_constraints(msg); if (sub == NULL) { - sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints*)_upb_Message_New(&envoy_service_discovery_v3_DynamicParameterConstraints_msg_init, arena); + sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints*)_upb_Message_New(&envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, arena); if (sub) envoy_service_discovery_v3_ResourceName_set_dynamic_parameter_constraints(msg, sub); } return sub; @@ -256,12 +246,12 @@ UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints* envoy_ /* envoy.service.discovery.v3.DiscoveryRequest */ UPB_INLINE envoy_service_discovery_v3_DiscoveryRequest* envoy_service_discovery_v3_DiscoveryRequest_new(upb_Arena* arena) { - return (envoy_service_discovery_v3_DiscoveryRequest*)_upb_Message_New(&envoy_service_discovery_v3_DiscoveryRequest_msg_init, arena); + return (envoy_service_discovery_v3_DiscoveryRequest*)_upb_Message_New(&envoy__service__discovery__v3__DiscoveryRequest_msg_init, arena); } UPB_INLINE envoy_service_discovery_v3_DiscoveryRequest* envoy_service_discovery_v3_DiscoveryRequest_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_discovery_v3_DiscoveryRequest* ret = envoy_service_discovery_v3_DiscoveryRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DiscoveryRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DiscoveryRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -271,7 +261,7 @@ UPB_INLINE envoy_service_discovery_v3_DiscoveryRequest* envoy_service_discovery_ int options, upb_Arena* arena) { envoy_service_discovery_v3_DiscoveryRequest* ret = envoy_service_discovery_v3_DiscoveryRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DiscoveryRequest_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DiscoveryRequest_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -279,13 +269,13 @@ UPB_INLINE envoy_service_discovery_v3_DiscoveryRequest* envoy_service_discovery_ } UPB_INLINE char* envoy_service_discovery_v3_DiscoveryRequest_serialize(const envoy_service_discovery_v3_DiscoveryRequest* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DiscoveryRequest_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DiscoveryRequest_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_discovery_v3_DiscoveryRequest_serialize_ex(const envoy_service_discovery_v3_DiscoveryRequest* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DiscoveryRequest_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DiscoveryRequest_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_clear_version_info(envoy_service_discovery_v3_DiscoveryRequest* msg) { @@ -437,7 +427,7 @@ UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_set_node(envoy_servi UPB_INLINE struct envoy_config_core_v3_Node* envoy_service_discovery_v3_DiscoveryRequest_mutable_node(envoy_service_discovery_v3_DiscoveryRequest* msg, upb_Arena* arena) { struct envoy_config_core_v3_Node* sub = (struct envoy_config_core_v3_Node*)envoy_service_discovery_v3_DiscoveryRequest_node(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy_config_core_v3_Node_msg_init, arena); + sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy__config__core__v3__Node_msg_init, arena); if (sub) envoy_service_discovery_v3_DiscoveryRequest_set_node(msg, sub); } return sub; @@ -481,7 +471,7 @@ UPB_INLINE void envoy_service_discovery_v3_DiscoveryRequest_set_error_detail(env UPB_INLINE struct google_rpc_Status* envoy_service_discovery_v3_DiscoveryRequest_mutable_error_detail(envoy_service_discovery_v3_DiscoveryRequest* msg, upb_Arena* arena) { struct google_rpc_Status* sub = (struct google_rpc_Status*)envoy_service_discovery_v3_DiscoveryRequest_error_detail(msg); if (sub == NULL) { - sub = (struct google_rpc_Status*)_upb_Message_New(&google_rpc_Status_msg_init, arena); + sub = (struct google_rpc_Status*)_upb_Message_New(&google__rpc__Status_msg_init, arena); if (sub) envoy_service_discovery_v3_DiscoveryRequest_set_error_detail(msg, sub); } return sub; @@ -507,7 +497,7 @@ UPB_INLINE struct envoy_service_discovery_v3_ResourceLocator* envoy_service_disc if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_service_discovery_v3_ResourceLocator* sub = (struct envoy_service_discovery_v3_ResourceLocator*)_upb_Message_New(&envoy_service_discovery_v3_ResourceLocator_msg_init, arena); + struct envoy_service_discovery_v3_ResourceLocator* sub = (struct envoy_service_discovery_v3_ResourceLocator*)_upb_Message_New(&envoy__service__discovery__v3__ResourceLocator_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -516,12 +506,12 @@ UPB_INLINE struct envoy_service_discovery_v3_ResourceLocator* envoy_service_disc /* envoy.service.discovery.v3.DiscoveryResponse */ UPB_INLINE envoy_service_discovery_v3_DiscoveryResponse* envoy_service_discovery_v3_DiscoveryResponse_new(upb_Arena* arena) { - return (envoy_service_discovery_v3_DiscoveryResponse*)_upb_Message_New(&envoy_service_discovery_v3_DiscoveryResponse_msg_init, arena); + return (envoy_service_discovery_v3_DiscoveryResponse*)_upb_Message_New(&envoy__service__discovery__v3__DiscoveryResponse_msg_init, arena); } UPB_INLINE envoy_service_discovery_v3_DiscoveryResponse* envoy_service_discovery_v3_DiscoveryResponse_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_discovery_v3_DiscoveryResponse* ret = envoy_service_discovery_v3_DiscoveryResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DiscoveryResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DiscoveryResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -531,7 +521,7 @@ UPB_INLINE envoy_service_discovery_v3_DiscoveryResponse* envoy_service_discovery int options, upb_Arena* arena) { envoy_service_discovery_v3_DiscoveryResponse* ret = envoy_service_discovery_v3_DiscoveryResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DiscoveryResponse_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DiscoveryResponse_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -539,13 +529,13 @@ UPB_INLINE envoy_service_discovery_v3_DiscoveryResponse* envoy_service_discovery } UPB_INLINE char* envoy_service_discovery_v3_DiscoveryResponse_serialize(const envoy_service_discovery_v3_DiscoveryResponse* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DiscoveryResponse_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DiscoveryResponse_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_discovery_v3_DiscoveryResponse_serialize_ex(const envoy_service_discovery_v3_DiscoveryResponse* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DiscoveryResponse_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DiscoveryResponse_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_discovery_v3_DiscoveryResponse_clear_version_info(envoy_service_discovery_v3_DiscoveryResponse* msg) { @@ -670,7 +660,7 @@ UPB_INLINE struct google_protobuf_Any* envoy_service_discovery_v3_DiscoveryRespo if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -694,7 +684,7 @@ UPB_INLINE void envoy_service_discovery_v3_DiscoveryResponse_set_control_plane(e UPB_INLINE struct envoy_config_core_v3_ControlPlane* envoy_service_discovery_v3_DiscoveryResponse_mutable_control_plane(envoy_service_discovery_v3_DiscoveryResponse* msg, upb_Arena* arena) { struct envoy_config_core_v3_ControlPlane* sub = (struct envoy_config_core_v3_ControlPlane*)envoy_service_discovery_v3_DiscoveryResponse_control_plane(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ControlPlane*)_upb_Message_New(&envoy_config_core_v3_ControlPlane_msg_init, arena); + sub = (struct envoy_config_core_v3_ControlPlane*)_upb_Message_New(&envoy__config__core__v3__ControlPlane_msg_init, arena); if (sub) envoy_service_discovery_v3_DiscoveryResponse_set_control_plane(msg, sub); } return sub; @@ -703,12 +693,12 @@ UPB_INLINE struct envoy_config_core_v3_ControlPlane* envoy_service_discovery_v3_ /* envoy.service.discovery.v3.DeltaDiscoveryRequest */ UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryRequest* envoy_service_discovery_v3_DeltaDiscoveryRequest_new(upb_Arena* arena) { - return (envoy_service_discovery_v3_DeltaDiscoveryRequest*)_upb_Message_New(&envoy_service_discovery_v3_DeltaDiscoveryRequest_msg_init, arena); + return (envoy_service_discovery_v3_DeltaDiscoveryRequest*)_upb_Message_New(&envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, arena); } UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryRequest* envoy_service_discovery_v3_DeltaDiscoveryRequest_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_discovery_v3_DeltaDiscoveryRequest* ret = envoy_service_discovery_v3_DeltaDiscoveryRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DeltaDiscoveryRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -718,7 +708,7 @@ UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryRequest* envoy_service_disco int options, upb_Arena* arena) { envoy_service_discovery_v3_DeltaDiscoveryRequest* ret = envoy_service_discovery_v3_DeltaDiscoveryRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DeltaDiscoveryRequest_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -726,13 +716,13 @@ UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryRequest* envoy_service_disco } UPB_INLINE char* envoy_service_discovery_v3_DeltaDiscoveryRequest_serialize(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DeltaDiscoveryRequest_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_discovery_v3_DeltaDiscoveryRequest_serialize_ex(const envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DeltaDiscoveryRequest_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_clear_node(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg) { @@ -964,7 +954,7 @@ UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_set_node(envoy_ UPB_INLINE struct envoy_config_core_v3_Node* envoy_service_discovery_v3_DeltaDiscoveryRequest_mutable_node(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_Arena* arena) { struct envoy_config_core_v3_Node* sub = (struct envoy_config_core_v3_Node*)envoy_service_discovery_v3_DeltaDiscoveryRequest_node(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy_config_core_v3_Node_msg_init, arena); + sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy__config__core__v3__Node_msg_init, arena); if (sub) envoy_service_discovery_v3_DeltaDiscoveryRequest_set_node(msg, sub); } return sub; @@ -1056,7 +1046,7 @@ UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_set_error_detai UPB_INLINE struct google_rpc_Status* envoy_service_discovery_v3_DeltaDiscoveryRequest_mutable_error_detail(envoy_service_discovery_v3_DeltaDiscoveryRequest* msg, upb_Arena* arena) { struct google_rpc_Status* sub = (struct google_rpc_Status*)envoy_service_discovery_v3_DeltaDiscoveryRequest_error_detail(msg); if (sub == NULL) { - sub = (struct google_rpc_Status*)_upb_Message_New(&google_rpc_Status_msg_init, arena); + sub = (struct google_rpc_Status*)_upb_Message_New(&google__rpc__Status_msg_init, arena); if (sub) envoy_service_discovery_v3_DeltaDiscoveryRequest_set_error_detail(msg, sub); } return sub; @@ -1082,7 +1072,7 @@ UPB_INLINE struct envoy_service_discovery_v3_ResourceLocator* envoy_service_disc if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_service_discovery_v3_ResourceLocator* sub = (struct envoy_service_discovery_v3_ResourceLocator*)_upb_Message_New(&envoy_service_discovery_v3_ResourceLocator_msg_init, arena); + struct envoy_service_discovery_v3_ResourceLocator* sub = (struct envoy_service_discovery_v3_ResourceLocator*)_upb_Message_New(&envoy__service__discovery__v3__ResourceLocator_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1108,7 +1098,7 @@ UPB_INLINE struct envoy_service_discovery_v3_ResourceLocator* envoy_service_disc if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_service_discovery_v3_ResourceLocator* sub = (struct envoy_service_discovery_v3_ResourceLocator*)_upb_Message_New(&envoy_service_discovery_v3_ResourceLocator_msg_init, arena); + struct envoy_service_discovery_v3_ResourceLocator* sub = (struct envoy_service_discovery_v3_ResourceLocator*)_upb_Message_New(&envoy__service__discovery__v3__ResourceLocator_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1134,12 +1124,12 @@ UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResource /* envoy.service.discovery.v3.DeltaDiscoveryResponse */ UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryResponse* envoy_service_discovery_v3_DeltaDiscoveryResponse_new(upb_Arena* arena) { - return (envoy_service_discovery_v3_DeltaDiscoveryResponse*)_upb_Message_New(&envoy_service_discovery_v3_DeltaDiscoveryResponse_msg_init, arena); + return (envoy_service_discovery_v3_DeltaDiscoveryResponse*)_upb_Message_New(&envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, arena); } UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryResponse* envoy_service_discovery_v3_DeltaDiscoveryResponse_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_discovery_v3_DeltaDiscoveryResponse* ret = envoy_service_discovery_v3_DeltaDiscoveryResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DeltaDiscoveryResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1149,7 +1139,7 @@ UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryResponse* envoy_service_disc int options, upb_Arena* arena) { envoy_service_discovery_v3_DeltaDiscoveryResponse* ret = envoy_service_discovery_v3_DeltaDiscoveryResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DeltaDiscoveryResponse_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1157,13 +1147,13 @@ UPB_INLINE envoy_service_discovery_v3_DeltaDiscoveryResponse* envoy_service_disc } UPB_INLINE char* envoy_service_discovery_v3_DeltaDiscoveryResponse_serialize(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DeltaDiscoveryResponse_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_discovery_v3_DeltaDiscoveryResponse_serialize_ex(const envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DeltaDiscoveryResponse_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_clear_system_version_info(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg) { @@ -1351,7 +1341,7 @@ UPB_INLINE struct envoy_service_discovery_v3_Resource* envoy_service_discovery_v if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_service_discovery_v3_Resource* sub = (struct envoy_service_discovery_v3_Resource*)_upb_Message_New(&envoy_service_discovery_v3_Resource_msg_init, arena); + struct envoy_service_discovery_v3_Resource* sub = (struct envoy_service_discovery_v3_Resource*)_upb_Message_New(&envoy__service__discovery__v3__Resource_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1395,7 +1385,7 @@ UPB_INLINE void envoy_service_discovery_v3_DeltaDiscoveryResponse_set_control_pl UPB_INLINE struct envoy_config_core_v3_ControlPlane* envoy_service_discovery_v3_DeltaDiscoveryResponse_mutable_control_plane(envoy_service_discovery_v3_DeltaDiscoveryResponse* msg, upb_Arena* arena) { struct envoy_config_core_v3_ControlPlane* sub = (struct envoy_config_core_v3_ControlPlane*)envoy_service_discovery_v3_DeltaDiscoveryResponse_control_plane(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_ControlPlane*)_upb_Message_New(&envoy_config_core_v3_ControlPlane_msg_init, arena); + sub = (struct envoy_config_core_v3_ControlPlane*)_upb_Message_New(&envoy__config__core__v3__ControlPlane_msg_init, arena); if (sub) envoy_service_discovery_v3_DeltaDiscoveryResponse_set_control_plane(msg, sub); } return sub; @@ -1421,7 +1411,7 @@ UPB_INLINE struct envoy_service_discovery_v3_ResourceName* envoy_service_discove if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_service_discovery_v3_ResourceName* sub = (struct envoy_service_discovery_v3_ResourceName*)_upb_Message_New(&envoy_service_discovery_v3_ResourceName_msg_init, arena); + struct envoy_service_discovery_v3_ResourceName* sub = (struct envoy_service_discovery_v3_ResourceName*)_upb_Message_New(&envoy__service__discovery__v3__ResourceName_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1430,12 +1420,12 @@ UPB_INLINE struct envoy_service_discovery_v3_ResourceName* envoy_service_discove /* envoy.service.discovery.v3.DynamicParameterConstraints */ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service_discovery_v3_DynamicParameterConstraints_new(upb_Arena* arena) { - return (envoy_service_discovery_v3_DynamicParameterConstraints*)_upb_Message_New(&envoy_service_discovery_v3_DynamicParameterConstraints_msg_init, arena); + return (envoy_service_discovery_v3_DynamicParameterConstraints*)_upb_Message_New(&envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, arena); } UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service_discovery_v3_DynamicParameterConstraints_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_discovery_v3_DynamicParameterConstraints* ret = envoy_service_discovery_v3_DynamicParameterConstraints_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DynamicParameterConstraints_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1445,7 +1435,7 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service int options, upb_Arena* arena) { envoy_service_discovery_v3_DynamicParameterConstraints* ret = envoy_service_discovery_v3_DynamicParameterConstraints_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DynamicParameterConstraints_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1453,13 +1443,13 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service } UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_serialize(const envoy_service_discovery_v3_DynamicParameterConstraints* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DynamicParameterConstraints_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_serialize_ex(const envoy_service_discovery_v3_DynamicParameterConstraints* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DynamicParameterConstraints_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1541,7 +1531,7 @@ UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_set_const UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* envoy_service_discovery_v3_DynamicParameterConstraints_mutable_constraint(envoy_service_discovery_v3_DynamicParameterConstraints* msg, upb_Arena* arena) { struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint*)envoy_service_discovery_v3_DynamicParameterConstraints_constraint(msg); if (sub == NULL) { - sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint*)_upb_Message_New(&envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_msg_init, arena); + sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint*)_upb_Message_New(&envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, arena); if (sub) envoy_service_discovery_v3_DynamicParameterConstraints_set_constraint(msg, sub); } return sub; @@ -1553,7 +1543,7 @@ UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_set_or_co UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* envoy_service_discovery_v3_DynamicParameterConstraints_mutable_or_constraints(envoy_service_discovery_v3_DynamicParameterConstraints* msg, upb_Arena* arena) { struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList*)envoy_service_discovery_v3_DynamicParameterConstraints_or_constraints(msg); if (sub == NULL) { - sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList*)_upb_Message_New(&envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_msg_init, arena); + sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList*)_upb_Message_New(&envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, arena); if (sub) envoy_service_discovery_v3_DynamicParameterConstraints_set_or_constraints(msg, sub); } return sub; @@ -1565,7 +1555,7 @@ UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_set_and_c UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* envoy_service_discovery_v3_DynamicParameterConstraints_mutable_and_constraints(envoy_service_discovery_v3_DynamicParameterConstraints* msg, upb_Arena* arena) { struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList*)envoy_service_discovery_v3_DynamicParameterConstraints_and_constraints(msg); if (sub == NULL) { - sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList*)_upb_Message_New(&envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_msg_init, arena); + sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList*)_upb_Message_New(&envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, arena); if (sub) envoy_service_discovery_v3_DynamicParameterConstraints_set_and_constraints(msg, sub); } return sub; @@ -1577,7 +1567,7 @@ UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_set_not_c UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints* envoy_service_discovery_v3_DynamicParameterConstraints_mutable_not_constraints(envoy_service_discovery_v3_DynamicParameterConstraints* msg, upb_Arena* arena) { struct envoy_service_discovery_v3_DynamicParameterConstraints* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints*)envoy_service_discovery_v3_DynamicParameterConstraints_not_constraints(msg); if (sub == NULL) { - sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints*)_upb_Message_New(&envoy_service_discovery_v3_DynamicParameterConstraints_msg_init, arena); + sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints*)_upb_Message_New(&envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, arena); if (sub) envoy_service_discovery_v3_DynamicParameterConstraints_set_not_constraints(msg, sub); } return sub; @@ -1586,12 +1576,12 @@ UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints* envoy_ /* envoy.service.discovery.v3.DynamicParameterConstraints.SingleConstraint */ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_new(upb_Arena* arena) { - return (envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint*)_upb_Message_New(&envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_msg_init, arena); + return (envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint*)_upb_Message_New(&envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, arena); } UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* ret = envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1601,7 +1591,7 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstrai int options, upb_Arena* arena) { envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* ret = envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1609,13 +1599,13 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstrai } UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_serialize(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_serialize_ex(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1684,7 +1674,7 @@ UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_SingleCon UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_mutable_exists(envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint* msg, upb_Arena* arena) { struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists*)envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_exists(msg); if (sub == NULL) { - sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists*)_upb_Message_New(&envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_msg_init, arena); + sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists*)_upb_Message_New(&envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, arena); if (sub) envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_set_exists(msg, sub); } return sub; @@ -1693,12 +1683,12 @@ UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints_SingleC /* envoy.service.discovery.v3.DynamicParameterConstraints.SingleConstraint.Exists */ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_new(upb_Arena* arena) { - return (envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists*)_upb_Message_New(&envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_msg_init, arena); + return (envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists*)_upb_Message_New(&envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, arena); } UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* ret = envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1708,7 +1698,7 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstrai int options, upb_Arena* arena) { envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* ret = envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1716,13 +1706,13 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstrai } UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_serialize(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_serialize_ex(const envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, options, arena, &ptr, len); return ptr; } @@ -1730,12 +1720,12 @@ UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_SingleCo /* envoy.service.discovery.v3.DynamicParameterConstraints.ConstraintList */ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_new(upb_Arena* arena) { - return (envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList*)_upb_Message_New(&envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_msg_init, arena); + return (envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList*)_upb_Message_New(&envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, arena); } UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* ret = envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1745,7 +1735,7 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList int options, upb_Arena* arena) { envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* ret = envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1753,13 +1743,13 @@ UPB_INLINE envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList } UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_serialize(const envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_serialize_ex(const envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_clear_constraints(envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList* msg) { @@ -1821,7 +1811,7 @@ UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints* envoy_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_service_discovery_v3_DynamicParameterConstraints* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints*)_upb_Message_New(&envoy_service_discovery_v3_DynamicParameterConstraints_msg_init, arena); + struct envoy_service_discovery_v3_DynamicParameterConstraints* sub = (struct envoy_service_discovery_v3_DynamicParameterConstraints*)_upb_Message_New(&envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1830,12 +1820,12 @@ UPB_INLINE struct envoy_service_discovery_v3_DynamicParameterConstraints* envoy_ /* envoy.service.discovery.v3.Resource */ UPB_INLINE envoy_service_discovery_v3_Resource* envoy_service_discovery_v3_Resource_new(upb_Arena* arena) { - return (envoy_service_discovery_v3_Resource*)_upb_Message_New(&envoy_service_discovery_v3_Resource_msg_init, arena); + return (envoy_service_discovery_v3_Resource*)_upb_Message_New(&envoy__service__discovery__v3__Resource_msg_init, arena); } UPB_INLINE envoy_service_discovery_v3_Resource* envoy_service_discovery_v3_Resource_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_discovery_v3_Resource* ret = envoy_service_discovery_v3_Resource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_Resource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__Resource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1845,7 +1835,7 @@ UPB_INLINE envoy_service_discovery_v3_Resource* envoy_service_discovery_v3_Resou int options, upb_Arena* arena) { envoy_service_discovery_v3_Resource* ret = envoy_service_discovery_v3_Resource_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_Resource_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__Resource_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1853,13 +1843,13 @@ UPB_INLINE envoy_service_discovery_v3_Resource* envoy_service_discovery_v3_Resou } UPB_INLINE char* envoy_service_discovery_v3_Resource_serialize(const envoy_service_discovery_v3_Resource* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_Resource_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__Resource_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_discovery_v3_Resource_serialize_ex(const envoy_service_discovery_v3_Resource* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_Resource_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__Resource_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_discovery_v3_Resource_clear_version(envoy_service_discovery_v3_Resource* msg) { @@ -2008,7 +1998,7 @@ UPB_INLINE void envoy_service_discovery_v3_Resource_set_resource(envoy_service_d UPB_INLINE struct google_protobuf_Any* envoy_service_discovery_v3_Resource_mutable_resource(envoy_service_discovery_v3_Resource* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_service_discovery_v3_Resource_resource(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_service_discovery_v3_Resource_set_resource(msg, sub); } return sub; @@ -2048,7 +2038,7 @@ UPB_INLINE void envoy_service_discovery_v3_Resource_set_ttl(envoy_service_discov UPB_INLINE struct google_protobuf_Duration* envoy_service_discovery_v3_Resource_mutable_ttl(envoy_service_discovery_v3_Resource* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_service_discovery_v3_Resource_ttl(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_service_discovery_v3_Resource_set_ttl(msg, sub); } return sub; @@ -2060,7 +2050,7 @@ UPB_INLINE void envoy_service_discovery_v3_Resource_set_cache_control(envoy_serv UPB_INLINE struct envoy_service_discovery_v3_Resource_CacheControl* envoy_service_discovery_v3_Resource_mutable_cache_control(envoy_service_discovery_v3_Resource* msg, upb_Arena* arena) { struct envoy_service_discovery_v3_Resource_CacheControl* sub = (struct envoy_service_discovery_v3_Resource_CacheControl*)envoy_service_discovery_v3_Resource_cache_control(msg); if (sub == NULL) { - sub = (struct envoy_service_discovery_v3_Resource_CacheControl*)_upb_Message_New(&envoy_service_discovery_v3_Resource_CacheControl_msg_init, arena); + sub = (struct envoy_service_discovery_v3_Resource_CacheControl*)_upb_Message_New(&envoy__service__discovery__v3__Resource__CacheControl_msg_init, arena); if (sub) envoy_service_discovery_v3_Resource_set_cache_control(msg, sub); } return sub; @@ -2072,7 +2062,7 @@ UPB_INLINE void envoy_service_discovery_v3_Resource_set_resource_name(envoy_serv UPB_INLINE struct envoy_service_discovery_v3_ResourceName* envoy_service_discovery_v3_Resource_mutable_resource_name(envoy_service_discovery_v3_Resource* msg, upb_Arena* arena) { struct envoy_service_discovery_v3_ResourceName* sub = (struct envoy_service_discovery_v3_ResourceName*)envoy_service_discovery_v3_Resource_resource_name(msg); if (sub == NULL) { - sub = (struct envoy_service_discovery_v3_ResourceName*)_upb_Message_New(&envoy_service_discovery_v3_ResourceName_msg_init, arena); + sub = (struct envoy_service_discovery_v3_ResourceName*)_upb_Message_New(&envoy__service__discovery__v3__ResourceName_msg_init, arena); if (sub) envoy_service_discovery_v3_Resource_set_resource_name(msg, sub); } return sub; @@ -2084,7 +2074,7 @@ UPB_INLINE void envoy_service_discovery_v3_Resource_set_metadata(envoy_service_d UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_service_discovery_v3_Resource_mutable_metadata(envoy_service_discovery_v3_Resource* msg, upb_Arena* arena) { struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_service_discovery_v3_Resource_metadata(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy_config_core_v3_Metadata_msg_init, arena); + sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy__config__core__v3__Metadata_msg_init, arena); if (sub) envoy_service_discovery_v3_Resource_set_metadata(msg, sub); } return sub; @@ -2093,12 +2083,12 @@ UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_service_discovery_v3_Reso /* envoy.service.discovery.v3.Resource.CacheControl */ UPB_INLINE envoy_service_discovery_v3_Resource_CacheControl* envoy_service_discovery_v3_Resource_CacheControl_new(upb_Arena* arena) { - return (envoy_service_discovery_v3_Resource_CacheControl*)_upb_Message_New(&envoy_service_discovery_v3_Resource_CacheControl_msg_init, arena); + return (envoy_service_discovery_v3_Resource_CacheControl*)_upb_Message_New(&envoy__service__discovery__v3__Resource__CacheControl_msg_init, arena); } UPB_INLINE envoy_service_discovery_v3_Resource_CacheControl* envoy_service_discovery_v3_Resource_CacheControl_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_discovery_v3_Resource_CacheControl* ret = envoy_service_discovery_v3_Resource_CacheControl_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_Resource_CacheControl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__Resource__CacheControl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2108,7 +2098,7 @@ UPB_INLINE envoy_service_discovery_v3_Resource_CacheControl* envoy_service_disco int options, upb_Arena* arena) { envoy_service_discovery_v3_Resource_CacheControl* ret = envoy_service_discovery_v3_Resource_CacheControl_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_Resource_CacheControl_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__discovery__v3__Resource__CacheControl_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2116,13 +2106,13 @@ UPB_INLINE envoy_service_discovery_v3_Resource_CacheControl* envoy_service_disco } UPB_INLINE char* envoy_service_discovery_v3_Resource_CacheControl_serialize(const envoy_service_discovery_v3_Resource_CacheControl* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_Resource_CacheControl_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__Resource__CacheControl_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_discovery_v3_Resource_CacheControl_serialize_ex(const envoy_service_discovery_v3_Resource_CacheControl* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_Resource_CacheControl_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__discovery__v3__Resource__CacheControl_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_discovery_v3_Resource_CacheControl_clear_do_not_cache(envoy_service_discovery_v3_Resource_CacheControl* msg) { @@ -2142,8 +2132,6 @@ UPB_INLINE void envoy_service_discovery_v3_Resource_CacheControl_set_do_not_cach _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_service_discovery_v3_discovery_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c b/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c new file mode 100644 index 00000000000..7480452d08c --- /dev/null +++ b/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c @@ -0,0 +1,402 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/service/discovery/v3/discovery.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/service/discovery/v3/discovery.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/rpc/status.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_service_discovery_v3_ResourceLocator_submsgs[1] = { + {.submsg = &envoy__service__discovery__v3__ResourceLocator__DynamicParametersEntry_msg_init}, +}; + +static const upb_MiniTableField envoy_service_discovery_v3_ResourceLocator__fields[2] = { + {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__discovery__v3__ResourceLocator_msg_init = { + &envoy_service_discovery_v3_ResourceLocator_submsgs[0], + &envoy_service_discovery_v3_ResourceLocator__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__discovery__v3__ResourceLocator__DynamicParametersEntry_msg_init = { + NULL, + &envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_service_discovery_v3_ResourceName_submsgs[1] = { + {.submsg = &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init}, +}; + +static const upb_MiniTableField envoy_service_discovery_v3_ResourceName__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__discovery__v3__ResourceName_msg_init = { + &envoy_service_discovery_v3_ResourceName_submsgs[0], + &envoy_service_discovery_v3_ResourceName__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_service_discovery_v3_DiscoveryRequest_submsgs[3] = { + {.submsg = &envoy__config__core__v3__Node_msg_init}, + {.submsg = &google__rpc__Status_msg_init}, + {.submsg = &envoy__service__discovery__v3__ResourceLocator_msg_init}, +}; + +static const upb_MiniTableField envoy_service_discovery_v3_DiscoveryRequest__fields[7] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(28, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(36, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 72), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(16, 80), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__discovery__v3__DiscoveryRequest_msg_init = { + &envoy_service_discovery_v3_DiscoveryRequest_submsgs[0], + &envoy_service_discovery_v3_DiscoveryRequest__fields[0], + UPB_SIZE(48, 88), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000003f00001a, &upb_prs_1bt}, + {0x002800003f000022, &upb_pss_1bt}, + {0x003800003f00002a, &upb_pss_1bt}, + {0x0048000002010032, &upb_psm_1bt_maxmaxb}, + {0x005000003f02003a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_service_discovery_v3_DiscoveryResponse_submsgs[2] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &envoy__config__core__v3__ControlPlane_msg_init}, +}; + +static const upb_MiniTableField envoy_service_discovery_v3_DiscoveryResponse__fields[6] = { + {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 64), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__discovery__v3__DiscoveryResponse_msg_init = { + &envoy_service_discovery_v3_DiscoveryResponse_submsgs[0], + &envoy_service_discovery_v3_DiscoveryResponse__fields[0], + UPB_SIZE(40, 72), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prm_1bt_maxmaxb}, + {0x000100003f000018, &upb_psb1_1bt}, + {0x002000003f000022, &upb_pss_1bt}, + {0x003000003f00002a, &upb_pss_1bt}, + {0x0040000001010032, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_service_discovery_v3_DeltaDiscoveryRequest_submsgs[5] = { + {.submsg = &envoy__config__core__v3__Node_msg_init}, + {.submsg = &envoy__service__discovery__v3__DeltaDiscoveryRequest__InitialResourceVersionsEntry_msg_init}, + {.submsg = &google__rpc__Status_msg_init}, + {.submsg = &envoy__service__discovery__v3__ResourceLocator_msg_init}, + {.submsg = &envoy__service__discovery__v3__ResourceLocator_msg_init}, +}; + +static const upb_MiniTableField envoy_service_discovery_v3_DeltaDiscoveryRequest__fields[9] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(40, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(20, 72), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(24, 80), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(28, 88), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init = { + &envoy_service_discovery_v3_DeltaDiscoveryRequest_submsgs[0], + &envoy_service_discovery_v3_DeltaDiscoveryRequest__fields[0], + UPB_SIZE(48, 96), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000003f00001a, &upb_prs_1bt}, + {0x002800003f000022, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x003800003f000032, &upb_pss_1bt}, + {0x004800000202003a, &upb_psm_1bt_maxmaxb}, + {0x005000003f030042, &upb_prm_1bt_max64b}, + {0x005800003f04004a, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__discovery__v3__DeltaDiscoveryRequest__InitialResourceVersionsEntry_msg_init = { + NULL, + &envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_service_discovery_v3_DeltaDiscoveryResponse_submsgs[3] = { + {.submsg = &envoy__service__discovery__v3__Resource_msg_init}, + {.submsg = &envoy__config__core__v3__ControlPlane_msg_init}, + {.submsg = &envoy__service__discovery__v3__ResourceName_msg_init}, +}; + +static const upb_MiniTableField envoy_service_discovery_v3_DeltaDiscoveryResponse__fields[7] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(8, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(12, 72), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(16, 80), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init = { + &envoy_service_discovery_v3_DeltaDiscoveryResponse_submsgs[0], + &envoy_service_discovery_v3_DeltaDiscoveryResponse__fields[0], + UPB_SIZE(48, 88), 7, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prm_1bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002000003f000022, &upb_pss_1bt}, + {0x003000003f00002a, &upb_pss_1bt}, + {0x004000003f000032, &upb_prs_1bt}, + {0x004800000101003a, &upb_psm_1bt_maxmaxb}, + {0x005000003f020042, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_service_discovery_v3_DynamicParameterConstraints_submsgs[4] = { + {.submsg = &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init}, + {.submsg = &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init}, + {.submsg = &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init}, + {.submsg = &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init}, +}; + +static const upb_MiniTableField envoy_service_discovery_v3_DynamicParameterConstraints__fields[4] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__discovery__v3__DynamicParameterConstraints_msg_init = { + &envoy_service_discovery_v3_DynamicParameterConstraints_submsgs[0], + &envoy_service_discovery_v3_DynamicParameterConstraints__fields[0], + UPB_SIZE(8, 16), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + {0x0008000004030022, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_submsgs[1] = { + {.submsg = &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init}, +}; + +static const upb_MiniTableField envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint__fields[3] = { + {1, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init = { + &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_submsgs[0], + &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f00000a, &upb_pss_1bt}, + {0x0008000002000012, &upb_pos_1bt}, + {0x000800000300001a, &upb_pom_1bt_max64b}, + }) +}; + +const upb_MiniTable envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_submsgs[1] = { + {.submsg = &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init}, +}; + +static const upb_MiniTableField envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init = { + &envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_submsgs[0], + &envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_service_discovery_v3_Resource_submsgs[5] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &envoy__service__discovery__v3__Resource__CacheControl_msg_init}, + {.submsg = &envoy__service__discovery__v3__ResourceName_msg_init}, + {.submsg = &envoy__config__core__v3__Metadata_msg_init}, +}; + +static const upb_MiniTableField envoy_service_discovery_v3_Resource__fields[8] = { + {1, UPB_SIZE(28, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 56), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(16, 64), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(20, 72), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(24, 80), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__discovery__v3__Resource_msg_init = { + &envoy_service_discovery_v3_Resource_submsgs[0], + &envoy_service_discovery_v3_Resource__fields[0], + UPB_SIZE(48, 88), 8, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000003f00001a, &upb_pss_1bt}, + {0x003000003f000022, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0038000002010032, &upb_psm_1bt_maxmaxb}, + {0x004000000302003a, &upb_psm_1bt_max64b}, + {0x0048000004030042, &upb_psm_1bt_max64b}, + {0x005000000504004a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_service_discovery_v3_Resource_CacheControl__fields[1] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__discovery__v3__Resource__CacheControl_msg_init = { + NULL, + &envoy_service_discovery_v3_Resource_CacheControl__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[14] = { + &envoy__service__discovery__v3__ResourceLocator_msg_init, + &envoy__service__discovery__v3__ResourceLocator__DynamicParametersEntry_msg_init, + &envoy__service__discovery__v3__ResourceName_msg_init, + &envoy__service__discovery__v3__DiscoveryRequest_msg_init, + &envoy__service__discovery__v3__DiscoveryResponse_msg_init, + &envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init, + &envoy__service__discovery__v3__DeltaDiscoveryRequest__InitialResourceVersionsEntry_msg_init, + &envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init, + &envoy__service__discovery__v3__DynamicParameterConstraints_msg_init, + &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init, + &envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init, + &envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init, + &envoy__service__discovery__v3__Resource_msg_init, + &envoy__service__discovery__v3__Resource__CacheControl_msg_init, +}; + +const upb_MiniTableFile envoy_service_discovery_v3_discovery_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 14, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h b/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h new file mode 100644 index 00000000000..225a402041a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h @@ -0,0 +1,43 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/service/discovery/v3/discovery.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_SERVICE_DISCOVERY_V3_DISCOVERY_PROTO_UPB_MINITABLE_H_ +#define ENVOY_SERVICE_DISCOVERY_V3_DISCOVERY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__service__discovery__v3__ResourceLocator_msg_init; +extern const upb_MiniTable envoy__service__discovery__v3__ResourceLocator__DynamicParametersEntry_msg_init; +extern const upb_MiniTable envoy__service__discovery__v3__ResourceName_msg_init; +extern const upb_MiniTable envoy__service__discovery__v3__DiscoveryRequest_msg_init; +extern const upb_MiniTable envoy__service__discovery__v3__DiscoveryResponse_msg_init; +extern const upb_MiniTable envoy__service__discovery__v3__DeltaDiscoveryRequest_msg_init; +extern const upb_MiniTable envoy__service__discovery__v3__DeltaDiscoveryRequest__InitialResourceVersionsEntry_msg_init; +extern const upb_MiniTable envoy__service__discovery__v3__DeltaDiscoveryResponse_msg_init; +extern const upb_MiniTable envoy__service__discovery__v3__DynamicParameterConstraints_msg_init; +extern const upb_MiniTable envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint_msg_init; +extern const upb_MiniTable envoy__service__discovery__v3__DynamicParameterConstraints__SingleConstraint__Exists_msg_init; +extern const upb_MiniTable envoy__service__discovery__v3__DynamicParameterConstraints__ConstraintList_msg_init; +extern const upb_MiniTable envoy__service__discovery__v3__Resource_msg_init; +extern const upb_MiniTable envoy__service__discovery__v3__Resource__CacheControl_msg_init; + +extern const upb_MiniTableFile envoy_service_discovery_v3_discovery_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_SERVICE_DISCOVERY_V3_DISCOVERY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h b/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h similarity index 91% rename from src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h rename to src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h index bcc33d6eda5..b005cd2ed31 100644 --- a/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +++ b/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/service/load_stats/v3/lrs.proto * @@ -10,7 +9,16 @@ #define ENVOY_SERVICE_LOAD_STATS_V3_LRS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/service/load_stats/v3/lrs.upb_minitable.h" + +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/endpoint/v3/load_report.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,26 +27,21 @@ extern "C" { typedef struct envoy_service_load_stats_v3_LoadStatsRequest envoy_service_load_stats_v3_LoadStatsRequest; typedef struct envoy_service_load_stats_v3_LoadStatsResponse envoy_service_load_stats_v3_LoadStatsResponse; -extern const upb_MiniTable envoy_service_load_stats_v3_LoadStatsRequest_msg_init; -extern const upb_MiniTable envoy_service_load_stats_v3_LoadStatsResponse_msg_init; struct envoy_config_core_v3_Node; struct envoy_config_endpoint_v3_ClusterStats; struct google_protobuf_Duration; -extern const upb_MiniTable envoy_config_core_v3_Node_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_ClusterStats_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; /* envoy.service.load_stats.v3.LoadStatsRequest */ UPB_INLINE envoy_service_load_stats_v3_LoadStatsRequest* envoy_service_load_stats_v3_LoadStatsRequest_new(upb_Arena* arena) { - return (envoy_service_load_stats_v3_LoadStatsRequest*)_upb_Message_New(&envoy_service_load_stats_v3_LoadStatsRequest_msg_init, arena); + return (envoy_service_load_stats_v3_LoadStatsRequest*)_upb_Message_New(&envoy__service__load_0stats__v3__LoadStatsRequest_msg_init, arena); } UPB_INLINE envoy_service_load_stats_v3_LoadStatsRequest* envoy_service_load_stats_v3_LoadStatsRequest_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_load_stats_v3_LoadStatsRequest* ret = envoy_service_load_stats_v3_LoadStatsRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_load_stats_v3_LoadStatsRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__load_0stats__v3__LoadStatsRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -48,7 +51,7 @@ UPB_INLINE envoy_service_load_stats_v3_LoadStatsRequest* envoy_service_load_stat int options, upb_Arena* arena) { envoy_service_load_stats_v3_LoadStatsRequest* ret = envoy_service_load_stats_v3_LoadStatsRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_load_stats_v3_LoadStatsRequest_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__load_0stats__v3__LoadStatsRequest_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -56,13 +59,13 @@ UPB_INLINE envoy_service_load_stats_v3_LoadStatsRequest* envoy_service_load_stat } UPB_INLINE char* envoy_service_load_stats_v3_LoadStatsRequest_serialize(const envoy_service_load_stats_v3_LoadStatsRequest* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_load_stats_v3_LoadStatsRequest_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__load_0stats__v3__LoadStatsRequest_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_load_stats_v3_LoadStatsRequest_serialize_ex(const envoy_service_load_stats_v3_LoadStatsRequest* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_load_stats_v3_LoadStatsRequest_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__load_0stats__v3__LoadStatsRequest_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_load_stats_v3_LoadStatsRequest_clear_node(envoy_service_load_stats_v3_LoadStatsRequest* msg) { @@ -125,7 +128,7 @@ UPB_INLINE void envoy_service_load_stats_v3_LoadStatsRequest_set_node(envoy_serv UPB_INLINE struct envoy_config_core_v3_Node* envoy_service_load_stats_v3_LoadStatsRequest_mutable_node(envoy_service_load_stats_v3_LoadStatsRequest* msg, upb_Arena* arena) { struct envoy_config_core_v3_Node* sub = (struct envoy_config_core_v3_Node*)envoy_service_load_stats_v3_LoadStatsRequest_node(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy_config_core_v3_Node_msg_init, arena); + sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy__config__core__v3__Node_msg_init, arena); if (sub) envoy_service_load_stats_v3_LoadStatsRequest_set_node(msg, sub); } return sub; @@ -151,7 +154,7 @@ UPB_INLINE struct envoy_config_endpoint_v3_ClusterStats* envoy_service_load_stat if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_config_endpoint_v3_ClusterStats* sub = (struct envoy_config_endpoint_v3_ClusterStats*)_upb_Message_New(&envoy_config_endpoint_v3_ClusterStats_msg_init, arena); + struct envoy_config_endpoint_v3_ClusterStats* sub = (struct envoy_config_endpoint_v3_ClusterStats*)_upb_Message_New(&envoy__config__endpoint__v3__ClusterStats_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -160,12 +163,12 @@ UPB_INLINE struct envoy_config_endpoint_v3_ClusterStats* envoy_service_load_stat /* envoy.service.load_stats.v3.LoadStatsResponse */ UPB_INLINE envoy_service_load_stats_v3_LoadStatsResponse* envoy_service_load_stats_v3_LoadStatsResponse_new(upb_Arena* arena) { - return (envoy_service_load_stats_v3_LoadStatsResponse*)_upb_Message_New(&envoy_service_load_stats_v3_LoadStatsResponse_msg_init, arena); + return (envoy_service_load_stats_v3_LoadStatsResponse*)_upb_Message_New(&envoy__service__load_0stats__v3__LoadStatsResponse_msg_init, arena); } UPB_INLINE envoy_service_load_stats_v3_LoadStatsResponse* envoy_service_load_stats_v3_LoadStatsResponse_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_load_stats_v3_LoadStatsResponse* ret = envoy_service_load_stats_v3_LoadStatsResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_load_stats_v3_LoadStatsResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__load_0stats__v3__LoadStatsResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -175,7 +178,7 @@ UPB_INLINE envoy_service_load_stats_v3_LoadStatsResponse* envoy_service_load_sta int options, upb_Arena* arena) { envoy_service_load_stats_v3_LoadStatsResponse* ret = envoy_service_load_stats_v3_LoadStatsResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_load_stats_v3_LoadStatsResponse_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__load_0stats__v3__LoadStatsResponse_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -183,13 +186,13 @@ UPB_INLINE envoy_service_load_stats_v3_LoadStatsResponse* envoy_service_load_sta } UPB_INLINE char* envoy_service_load_stats_v3_LoadStatsResponse_serialize(const envoy_service_load_stats_v3_LoadStatsResponse* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_load_stats_v3_LoadStatsResponse_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__load_0stats__v3__LoadStatsResponse_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_load_stats_v3_LoadStatsResponse_serialize_ex(const envoy_service_load_stats_v3_LoadStatsResponse* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_load_stats_v3_LoadStatsResponse_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__load_0stats__v3__LoadStatsResponse_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_load_stats_v3_LoadStatsResponse_clear_clusters(envoy_service_load_stats_v3_LoadStatsResponse* msg) { @@ -298,7 +301,7 @@ UPB_INLINE void envoy_service_load_stats_v3_LoadStatsResponse_set_load_reporting UPB_INLINE struct google_protobuf_Duration* envoy_service_load_stats_v3_LoadStatsResponse_mutable_load_reporting_interval(envoy_service_load_stats_v3_LoadStatsResponse* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_service_load_stats_v3_LoadStatsResponse_load_reporting_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_service_load_stats_v3_LoadStatsResponse_set_load_reporting_interval(msg, sub); } return sub; @@ -312,8 +315,6 @@ UPB_INLINE void envoy_service_load_stats_v3_LoadStatsResponse_set_send_all_clust _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_service_load_stats_v3_lrs_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c b/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c new file mode 100644 index 00000000000..a9d8ff9c45d --- /dev/null +++ b/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c @@ -0,0 +1,84 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/service/load_stats/v3/lrs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/service/load_stats/v3/lrs.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/config/endpoint/v3/load_report.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_service_load_stats_v3_LoadStatsRequest_submsgs[2] = { + {.submsg = &envoy__config__core__v3__Node_msg_init}, + {.submsg = &envoy__config__endpoint__v3__ClusterStats_msg_init}, +}; + +static const upb_MiniTableField envoy_service_load_stats_v3_LoadStatsRequest__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__load_0stats__v3__LoadStatsRequest_msg_init = { + &envoy_service_load_stats_v3_LoadStatsRequest_submsgs[0], + &envoy_service_load_stats_v3_LoadStatsRequest__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f010012, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_service_load_stats_v3_LoadStatsResponse_submsgs[1] = { + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_service_load_stats_v3_LoadStatsResponse__fields[4] = { + {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(13, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__load_0stats__v3__LoadStatsResponse_msg_init = { + &envoy_service_load_stats_v3_LoadStatsResponse_submsgs[0], + &envoy_service_load_stats_v3_LoadStatsResponse__fields[0], + UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prs_1bt}, + {0x0010000001000012, &upb_psm_1bt_maxmaxb}, + {0x000100003f000018, &upb_psb1_1bt}, + {0x000200003f000020, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__service__load_0stats__v3__LoadStatsRequest_msg_init, + &envoy__service__load_0stats__v3__LoadStatsResponse_msg_init, +}; + +const upb_MiniTableFile envoy_service_load_stats_v3_lrs_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h b/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h new file mode 100644 index 00000000000..b5248c8ae83 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/service/load_stats/v3/lrs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_SERVICE_LOAD_STATS_V3_LRS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_SERVICE_LOAD_STATS_V3_LRS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__service__load_0stats__v3__LoadStatsRequest_msg_init; +extern const upb_MiniTable envoy__service__load_0stats__v3__LoadStatsResponse_msg_init; + +extern const upb_MiniTableFile envoy_service_load_stats_v3_lrs_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_SERVICE_LOAD_STATS_V3_LRS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h b/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h similarity index 89% rename from src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h rename to src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h index 59eb579b7d6..0584317d4e3 100644 --- a/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +++ b/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/service/status/v3/csds.proto * @@ -10,7 +9,20 @@ #define ENVOY_SERVICE_STATUS_V3_CSDS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/service/status/v3/csds.upb_minitable.h" + +#include "envoy/admin/v3/config_dump_shared.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/type/matcher/v3/node.upb_minitable.h" +#include "google/api/annotations.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -22,11 +34,6 @@ typedef struct envoy_service_status_v3_PerXdsConfig envoy_service_status_v3_PerX typedef struct envoy_service_status_v3_ClientConfig envoy_service_status_v3_ClientConfig; typedef struct envoy_service_status_v3_ClientConfig_GenericXdsConfig envoy_service_status_v3_ClientConfig_GenericXdsConfig; typedef struct envoy_service_status_v3_ClientStatusResponse envoy_service_status_v3_ClientStatusResponse; -extern const upb_MiniTable envoy_service_status_v3_ClientStatusRequest_msg_init; -extern const upb_MiniTable envoy_service_status_v3_PerXdsConfig_msg_init; -extern const upb_MiniTable envoy_service_status_v3_ClientConfig_msg_init; -extern const upb_MiniTable envoy_service_status_v3_ClientConfig_GenericXdsConfig_msg_init; -extern const upb_MiniTable envoy_service_status_v3_ClientStatusResponse_msg_init; struct envoy_admin_v3_ClustersConfigDump; struct envoy_admin_v3_EndpointsConfigDump; struct envoy_admin_v3_ListenersConfigDump; @@ -37,16 +44,6 @@ struct envoy_config_core_v3_Node; struct envoy_type_matcher_v3_NodeMatcher; struct google_protobuf_Any; struct google_protobuf_Timestamp; -extern const upb_MiniTable envoy_admin_v3_ClustersConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_EndpointsConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_ListenersConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_RoutesConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_ScopedRoutesConfigDump_msg_init; -extern const upb_MiniTable envoy_admin_v3_UpdateFailureState_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Node_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_NodeMatcher_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_Timestamp_msg_init; typedef enum { envoy_service_status_v3_CLIENT_UNKNOWN = 0, @@ -68,12 +65,12 @@ typedef enum { /* envoy.service.status.v3.ClientStatusRequest */ UPB_INLINE envoy_service_status_v3_ClientStatusRequest* envoy_service_status_v3_ClientStatusRequest_new(upb_Arena* arena) { - return (envoy_service_status_v3_ClientStatusRequest*)_upb_Message_New(&envoy_service_status_v3_ClientStatusRequest_msg_init, arena); + return (envoy_service_status_v3_ClientStatusRequest*)_upb_Message_New(&envoy__service__status__v3__ClientStatusRequest_msg_init, arena); } UPB_INLINE envoy_service_status_v3_ClientStatusRequest* envoy_service_status_v3_ClientStatusRequest_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_status_v3_ClientStatusRequest* ret = envoy_service_status_v3_ClientStatusRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_status_v3_ClientStatusRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__status__v3__ClientStatusRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -83,7 +80,7 @@ UPB_INLINE envoy_service_status_v3_ClientStatusRequest* envoy_service_status_v3_ int options, upb_Arena* arena) { envoy_service_status_v3_ClientStatusRequest* ret = envoy_service_status_v3_ClientStatusRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_status_v3_ClientStatusRequest_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__status__v3__ClientStatusRequest_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -91,13 +88,13 @@ UPB_INLINE envoy_service_status_v3_ClientStatusRequest* envoy_service_status_v3_ } UPB_INLINE char* envoy_service_status_v3_ClientStatusRequest_serialize(const envoy_service_status_v3_ClientStatusRequest* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_status_v3_ClientStatusRequest_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__status__v3__ClientStatusRequest_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_status_v3_ClientStatusRequest_serialize_ex(const envoy_service_status_v3_ClientStatusRequest* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_status_v3_ClientStatusRequest_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__status__v3__ClientStatusRequest_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_status_v3_ClientStatusRequest_clear_node_matchers(envoy_service_status_v3_ClientStatusRequest* msg) { @@ -152,6 +149,17 @@ UPB_INLINE bool envoy_service_status_v3_ClientStatusRequest_has_node(const envoy const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; return _upb_Message_HasNonExtensionField(msg, &field); } +UPB_INLINE void envoy_service_status_v3_ClientStatusRequest_clear_exclude_resource_contents(envoy_service_status_v3_ClientStatusRequest* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_service_status_v3_ClientStatusRequest_exclude_resource_contents(const envoy_service_status_v3_ClientStatusRequest* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} UPB_INLINE struct envoy_type_matcher_v3_NodeMatcher** envoy_service_status_v3_ClientStatusRequest_mutable_node_matchers(envoy_service_status_v3_ClientStatusRequest* msg, size_t* size) { upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; @@ -174,7 +182,7 @@ UPB_INLINE struct envoy_type_matcher_v3_NodeMatcher* envoy_service_status_v3_Cli if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_type_matcher_v3_NodeMatcher* sub = (struct envoy_type_matcher_v3_NodeMatcher*)_upb_Message_New(&envoy_type_matcher_v3_NodeMatcher_msg_init, arena); + struct envoy_type_matcher_v3_NodeMatcher* sub = (struct envoy_type_matcher_v3_NodeMatcher*)_upb_Message_New(&envoy__type__matcher__v3__NodeMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -186,21 +194,25 @@ UPB_INLINE void envoy_service_status_v3_ClientStatusRequest_set_node(envoy_servi UPB_INLINE struct envoy_config_core_v3_Node* envoy_service_status_v3_ClientStatusRequest_mutable_node(envoy_service_status_v3_ClientStatusRequest* msg, upb_Arena* arena) { struct envoy_config_core_v3_Node* sub = (struct envoy_config_core_v3_Node*)envoy_service_status_v3_ClientStatusRequest_node(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy_config_core_v3_Node_msg_init, arena); + sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy__config__core__v3__Node_msg_init, arena); if (sub) envoy_service_status_v3_ClientStatusRequest_set_node(msg, sub); } return sub; } +UPB_INLINE void envoy_service_status_v3_ClientStatusRequest_set_exclude_resource_contents(envoy_service_status_v3_ClientStatusRequest *msg, bool value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} /* envoy.service.status.v3.PerXdsConfig */ UPB_INLINE envoy_service_status_v3_PerXdsConfig* envoy_service_status_v3_PerXdsConfig_new(upb_Arena* arena) { - return (envoy_service_status_v3_PerXdsConfig*)_upb_Message_New(&envoy_service_status_v3_PerXdsConfig_msg_init, arena); + return (envoy_service_status_v3_PerXdsConfig*)_upb_Message_New(&envoy__service__status__v3__PerXdsConfig_msg_init, arena); } UPB_INLINE envoy_service_status_v3_PerXdsConfig* envoy_service_status_v3_PerXdsConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_status_v3_PerXdsConfig* ret = envoy_service_status_v3_PerXdsConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_status_v3_PerXdsConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__status__v3__PerXdsConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -210,7 +222,7 @@ UPB_INLINE envoy_service_status_v3_PerXdsConfig* envoy_service_status_v3_PerXdsC int options, upb_Arena* arena) { envoy_service_status_v3_PerXdsConfig* ret = envoy_service_status_v3_PerXdsConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_status_v3_PerXdsConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__status__v3__PerXdsConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -218,13 +230,13 @@ UPB_INLINE envoy_service_status_v3_PerXdsConfig* envoy_service_status_v3_PerXdsC } UPB_INLINE char* envoy_service_status_v3_PerXdsConfig_serialize(const envoy_service_status_v3_PerXdsConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_status_v3_PerXdsConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__status__v3__PerXdsConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_status_v3_PerXdsConfig_serialize_ex(const envoy_service_status_v3_PerXdsConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_status_v3_PerXdsConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__status__v3__PerXdsConfig_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -348,7 +360,7 @@ UPB_INLINE void envoy_service_status_v3_PerXdsConfig_set_listener_config(envoy_s UPB_INLINE struct envoy_admin_v3_ListenersConfigDump* envoy_service_status_v3_PerXdsConfig_mutable_listener_config(envoy_service_status_v3_PerXdsConfig* msg, upb_Arena* arena) { struct envoy_admin_v3_ListenersConfigDump* sub = (struct envoy_admin_v3_ListenersConfigDump*)envoy_service_status_v3_PerXdsConfig_listener_config(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_ListenersConfigDump*)_upb_Message_New(&envoy_admin_v3_ListenersConfigDump_msg_init, arena); + sub = (struct envoy_admin_v3_ListenersConfigDump*)_upb_Message_New(&envoy__admin__v3__ListenersConfigDump_msg_init, arena); if (sub) envoy_service_status_v3_PerXdsConfig_set_listener_config(msg, sub); } return sub; @@ -360,7 +372,7 @@ UPB_INLINE void envoy_service_status_v3_PerXdsConfig_set_cluster_config(envoy_se UPB_INLINE struct envoy_admin_v3_ClustersConfigDump* envoy_service_status_v3_PerXdsConfig_mutable_cluster_config(envoy_service_status_v3_PerXdsConfig* msg, upb_Arena* arena) { struct envoy_admin_v3_ClustersConfigDump* sub = (struct envoy_admin_v3_ClustersConfigDump*)envoy_service_status_v3_PerXdsConfig_cluster_config(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_ClustersConfigDump*)_upb_Message_New(&envoy_admin_v3_ClustersConfigDump_msg_init, arena); + sub = (struct envoy_admin_v3_ClustersConfigDump*)_upb_Message_New(&envoy__admin__v3__ClustersConfigDump_msg_init, arena); if (sub) envoy_service_status_v3_PerXdsConfig_set_cluster_config(msg, sub); } return sub; @@ -372,7 +384,7 @@ UPB_INLINE void envoy_service_status_v3_PerXdsConfig_set_route_config(envoy_serv UPB_INLINE struct envoy_admin_v3_RoutesConfigDump* envoy_service_status_v3_PerXdsConfig_mutable_route_config(envoy_service_status_v3_PerXdsConfig* msg, upb_Arena* arena) { struct envoy_admin_v3_RoutesConfigDump* sub = (struct envoy_admin_v3_RoutesConfigDump*)envoy_service_status_v3_PerXdsConfig_route_config(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_RoutesConfigDump*)_upb_Message_New(&envoy_admin_v3_RoutesConfigDump_msg_init, arena); + sub = (struct envoy_admin_v3_RoutesConfigDump*)_upb_Message_New(&envoy__admin__v3__RoutesConfigDump_msg_init, arena); if (sub) envoy_service_status_v3_PerXdsConfig_set_route_config(msg, sub); } return sub; @@ -384,7 +396,7 @@ UPB_INLINE void envoy_service_status_v3_PerXdsConfig_set_scoped_route_config(env UPB_INLINE struct envoy_admin_v3_ScopedRoutesConfigDump* envoy_service_status_v3_PerXdsConfig_mutable_scoped_route_config(envoy_service_status_v3_PerXdsConfig* msg, upb_Arena* arena) { struct envoy_admin_v3_ScopedRoutesConfigDump* sub = (struct envoy_admin_v3_ScopedRoutesConfigDump*)envoy_service_status_v3_PerXdsConfig_scoped_route_config(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_ScopedRoutesConfigDump*)_upb_Message_New(&envoy_admin_v3_ScopedRoutesConfigDump_msg_init, arena); + sub = (struct envoy_admin_v3_ScopedRoutesConfigDump*)_upb_Message_New(&envoy__admin__v3__ScopedRoutesConfigDump_msg_init, arena); if (sub) envoy_service_status_v3_PerXdsConfig_set_scoped_route_config(msg, sub); } return sub; @@ -396,7 +408,7 @@ UPB_INLINE void envoy_service_status_v3_PerXdsConfig_set_endpoint_config(envoy_s UPB_INLINE struct envoy_admin_v3_EndpointsConfigDump* envoy_service_status_v3_PerXdsConfig_mutable_endpoint_config(envoy_service_status_v3_PerXdsConfig* msg, upb_Arena* arena) { struct envoy_admin_v3_EndpointsConfigDump* sub = (struct envoy_admin_v3_EndpointsConfigDump*)envoy_service_status_v3_PerXdsConfig_endpoint_config(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_EndpointsConfigDump*)_upb_Message_New(&envoy_admin_v3_EndpointsConfigDump_msg_init, arena); + sub = (struct envoy_admin_v3_EndpointsConfigDump*)_upb_Message_New(&envoy__admin__v3__EndpointsConfigDump_msg_init, arena); if (sub) envoy_service_status_v3_PerXdsConfig_set_endpoint_config(msg, sub); } return sub; @@ -409,12 +421,12 @@ UPB_INLINE void envoy_service_status_v3_PerXdsConfig_set_client_status(envoy_ser /* envoy.service.status.v3.ClientConfig */ UPB_INLINE envoy_service_status_v3_ClientConfig* envoy_service_status_v3_ClientConfig_new(upb_Arena* arena) { - return (envoy_service_status_v3_ClientConfig*)_upb_Message_New(&envoy_service_status_v3_ClientConfig_msg_init, arena); + return (envoy_service_status_v3_ClientConfig*)_upb_Message_New(&envoy__service__status__v3__ClientConfig_msg_init, arena); } UPB_INLINE envoy_service_status_v3_ClientConfig* envoy_service_status_v3_ClientConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_status_v3_ClientConfig* ret = envoy_service_status_v3_ClientConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_status_v3_ClientConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__status__v3__ClientConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -424,7 +436,7 @@ UPB_INLINE envoy_service_status_v3_ClientConfig* envoy_service_status_v3_ClientC int options, upb_Arena* arena) { envoy_service_status_v3_ClientConfig* ret = envoy_service_status_v3_ClientConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_status_v3_ClientConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__status__v3__ClientConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -432,13 +444,13 @@ UPB_INLINE envoy_service_status_v3_ClientConfig* envoy_service_status_v3_ClientC } UPB_INLINE char* envoy_service_status_v3_ClientConfig_serialize(const envoy_service_status_v3_ClientConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_status_v3_ClientConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__status__v3__ClientConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_status_v3_ClientConfig_serialize_ex(const envoy_service_status_v3_ClientConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_status_v3_ClientConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__status__v3__ClientConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_status_v3_ClientConfig_clear_node(envoy_service_status_v3_ClientConfig* msg) { @@ -530,6 +542,17 @@ UPB_INLINE bool envoy_service_status_v3_ClientConfig_has_generic_xds_configs(con envoy_service_status_v3_ClientConfig_generic_xds_configs(msg, &size); return size != 0; } +UPB_INLINE void envoy_service_status_v3_ClientConfig_clear_client_scope(envoy_service_status_v3_ClientConfig* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_service_status_v3_ClientConfig_client_scope(const envoy_service_status_v3_ClientConfig* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} UPB_INLINE void envoy_service_status_v3_ClientConfig_set_node(envoy_service_status_v3_ClientConfig *msg, struct envoy_config_core_v3_Node* value) { const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; @@ -538,7 +561,7 @@ UPB_INLINE void envoy_service_status_v3_ClientConfig_set_node(envoy_service_stat UPB_INLINE struct envoy_config_core_v3_Node* envoy_service_status_v3_ClientConfig_mutable_node(envoy_service_status_v3_ClientConfig* msg, upb_Arena* arena) { struct envoy_config_core_v3_Node* sub = (struct envoy_config_core_v3_Node*)envoy_service_status_v3_ClientConfig_node(msg); if (sub == NULL) { - sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy_config_core_v3_Node_msg_init, arena); + sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy__config__core__v3__Node_msg_init, arena); if (sub) envoy_service_status_v3_ClientConfig_set_node(msg, sub); } return sub; @@ -564,7 +587,7 @@ UPB_INLINE struct envoy_service_status_v3_PerXdsConfig* envoy_service_status_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_service_status_v3_PerXdsConfig* sub = (struct envoy_service_status_v3_PerXdsConfig*)_upb_Message_New(&envoy_service_status_v3_PerXdsConfig_msg_init, arena); + struct envoy_service_status_v3_PerXdsConfig* sub = (struct envoy_service_status_v3_PerXdsConfig*)_upb_Message_New(&envoy__service__status__v3__PerXdsConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -590,21 +613,25 @@ UPB_INLINE struct envoy_service_status_v3_ClientConfig_GenericXdsConfig* envoy_s if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_service_status_v3_ClientConfig_GenericXdsConfig* sub = (struct envoy_service_status_v3_ClientConfig_GenericXdsConfig*)_upb_Message_New(&envoy_service_status_v3_ClientConfig_GenericXdsConfig_msg_init, arena); + struct envoy_service_status_v3_ClientConfig_GenericXdsConfig* sub = (struct envoy_service_status_v3_ClientConfig_GenericXdsConfig*)_upb_Message_New(&envoy__service__status__v3__ClientConfig__GenericXdsConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } +UPB_INLINE void envoy_service_status_v3_ClientConfig_set_client_scope(envoy_service_status_v3_ClientConfig *msg, upb_StringView value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} /* envoy.service.status.v3.ClientConfig.GenericXdsConfig */ UPB_INLINE envoy_service_status_v3_ClientConfig_GenericXdsConfig* envoy_service_status_v3_ClientConfig_GenericXdsConfig_new(upb_Arena* arena) { - return (envoy_service_status_v3_ClientConfig_GenericXdsConfig*)_upb_Message_New(&envoy_service_status_v3_ClientConfig_GenericXdsConfig_msg_init, arena); + return (envoy_service_status_v3_ClientConfig_GenericXdsConfig*)_upb_Message_New(&envoy__service__status__v3__ClientConfig__GenericXdsConfig_msg_init, arena); } UPB_INLINE envoy_service_status_v3_ClientConfig_GenericXdsConfig* envoy_service_status_v3_ClientConfig_GenericXdsConfig_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_status_v3_ClientConfig_GenericXdsConfig* ret = envoy_service_status_v3_ClientConfig_GenericXdsConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_status_v3_ClientConfig_GenericXdsConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__status__v3__ClientConfig__GenericXdsConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -614,7 +641,7 @@ UPB_INLINE envoy_service_status_v3_ClientConfig_GenericXdsConfig* envoy_service_ int options, upb_Arena* arena) { envoy_service_status_v3_ClientConfig_GenericXdsConfig* ret = envoy_service_status_v3_ClientConfig_GenericXdsConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_status_v3_ClientConfig_GenericXdsConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__status__v3__ClientConfig__GenericXdsConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -622,13 +649,13 @@ UPB_INLINE envoy_service_status_v3_ClientConfig_GenericXdsConfig* envoy_service_ } UPB_INLINE char* envoy_service_status_v3_ClientConfig_GenericXdsConfig_serialize(const envoy_service_status_v3_ClientConfig_GenericXdsConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_status_v3_ClientConfig_GenericXdsConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__status__v3__ClientConfig__GenericXdsConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_status_v3_ClientConfig_GenericXdsConfig_serialize_ex(const envoy_service_status_v3_ClientConfig_GenericXdsConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_status_v3_ClientConfig_GenericXdsConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__status__v3__ClientConfig__GenericXdsConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_status_v3_ClientConfig_GenericXdsConfig_clear_type_url(envoy_service_status_v3_ClientConfig_GenericXdsConfig* msg) { @@ -762,7 +789,7 @@ UPB_INLINE void envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_xds_co UPB_INLINE struct google_protobuf_Any* envoy_service_status_v3_ClientConfig_GenericXdsConfig_mutable_xds_config(envoy_service_status_v3_ClientConfig_GenericXdsConfig* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_service_status_v3_ClientConfig_GenericXdsConfig_xds_config(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_xds_config(msg, sub); } return sub; @@ -774,7 +801,7 @@ UPB_INLINE void envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_last_u UPB_INLINE struct google_protobuf_Timestamp* envoy_service_status_v3_ClientConfig_GenericXdsConfig_mutable_last_updated(envoy_service_status_v3_ClientConfig_GenericXdsConfig* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_service_status_v3_ClientConfig_GenericXdsConfig_last_updated(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_last_updated(msg, sub); } return sub; @@ -794,7 +821,7 @@ UPB_INLINE void envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_error_ UPB_INLINE struct envoy_admin_v3_UpdateFailureState* envoy_service_status_v3_ClientConfig_GenericXdsConfig_mutable_error_state(envoy_service_status_v3_ClientConfig_GenericXdsConfig* msg, upb_Arena* arena) { struct envoy_admin_v3_UpdateFailureState* sub = (struct envoy_admin_v3_UpdateFailureState*)envoy_service_status_v3_ClientConfig_GenericXdsConfig_error_state(msg); if (sub == NULL) { - sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy_admin_v3_UpdateFailureState_msg_init, arena); + sub = (struct envoy_admin_v3_UpdateFailureState*)_upb_Message_New(&envoy__admin__v3__UpdateFailureState_msg_init, arena); if (sub) envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_error_state(msg, sub); } return sub; @@ -807,12 +834,12 @@ UPB_INLINE void envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_is_sta /* envoy.service.status.v3.ClientStatusResponse */ UPB_INLINE envoy_service_status_v3_ClientStatusResponse* envoy_service_status_v3_ClientStatusResponse_new(upb_Arena* arena) { - return (envoy_service_status_v3_ClientStatusResponse*)_upb_Message_New(&envoy_service_status_v3_ClientStatusResponse_msg_init, arena); + return (envoy_service_status_v3_ClientStatusResponse*)_upb_Message_New(&envoy__service__status__v3__ClientStatusResponse_msg_init, arena); } UPB_INLINE envoy_service_status_v3_ClientStatusResponse* envoy_service_status_v3_ClientStatusResponse_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_service_status_v3_ClientStatusResponse* ret = envoy_service_status_v3_ClientStatusResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_status_v3_ClientStatusResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__service__status__v3__ClientStatusResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -822,7 +849,7 @@ UPB_INLINE envoy_service_status_v3_ClientStatusResponse* envoy_service_status_v3 int options, upb_Arena* arena) { envoy_service_status_v3_ClientStatusResponse* ret = envoy_service_status_v3_ClientStatusResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_status_v3_ClientStatusResponse_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__service__status__v3__ClientStatusResponse_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -830,13 +857,13 @@ UPB_INLINE envoy_service_status_v3_ClientStatusResponse* envoy_service_status_v3 } UPB_INLINE char* envoy_service_status_v3_ClientStatusResponse_serialize(const envoy_service_status_v3_ClientStatusResponse* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_status_v3_ClientStatusResponse_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__status__v3__ClientStatusResponse_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_service_status_v3_ClientStatusResponse_serialize_ex(const envoy_service_status_v3_ClientStatusResponse* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_service_status_v3_ClientStatusResponse_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__service__status__v3__ClientStatusResponse_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_service_status_v3_ClientStatusResponse_clear_config(envoy_service_status_v3_ClientStatusResponse* msg) { @@ -898,14 +925,12 @@ UPB_INLINE struct envoy_service_status_v3_ClientConfig* envoy_service_status_v3_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_service_status_v3_ClientConfig* sub = (struct envoy_service_status_v3_ClientConfig*)_upb_Message_New(&envoy_service_status_v3_ClientConfig_msg_init, arena); + struct envoy_service_status_v3_ClientConfig* sub = (struct envoy_service_status_v3_ClientConfig*)_upb_Message_New(&envoy__service__status__v3__ClientConfig_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } -extern const upb_MiniTableFile envoy_service_status_v3_csds_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c b/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c new file mode 100644 index 00000000000..b5800bbab6d --- /dev/null +++ b/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c @@ -0,0 +1,188 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/service/status/v3/csds.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/service/status/v3/csds.upb_minitable.h" +#include "envoy/admin/v3/config_dump_shared.upb_minitable.h" +#include "envoy/config/core/v3/base.upb_minitable.h" +#include "envoy/type/matcher/v3/node.upb_minitable.h" +#include "google/api/annotations.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_service_status_v3_ClientStatusRequest_submsgs[2] = { + {.submsg = &envoy__type__matcher__v3__NodeMatcher_msg_init}, + {.submsg = &envoy__config__core__v3__Node_msg_init}, +}; + +static const upb_MiniTableField envoy_service_status_v3_ClientStatusRequest__fields[3] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__status__v3__ClientStatusRequest_msg_init = { + &envoy_service_status_v3_ClientStatusRequest_submsgs[0], + &envoy_service_status_v3_ClientStatusRequest__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, + {0x0010000001010012, &upb_psm_1bt_maxmaxb}, + {0x000100003f000018, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_service_status_v3_PerXdsConfig_submsgs[5] = { + {.submsg = &envoy__admin__v3__ListenersConfigDump_msg_init}, + {.submsg = &envoy__admin__v3__ClustersConfigDump_msg_init}, + {.submsg = &envoy__admin__v3__RoutesConfigDump_msg_init}, + {.submsg = &envoy__admin__v3__ScopedRoutesConfigDump_msg_init}, + {.submsg = &envoy__admin__v3__EndpointsConfigDump_msg_init}, +}; + +static const upb_MiniTableField envoy_service_status_v3_PerXdsConfig__fields[7] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 16), -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 16), -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 16), -5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__status__v3__PerXdsConfig_msg_init = { + &envoy_service_status_v3_PerXdsConfig_submsgs[0], + &envoy_service_status_v3_PerXdsConfig__fields[0], + UPB_SIZE(16, 24), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x0010000402000012, &upb_pom_1bt_maxmaxb}, + {0x001000040301001a, &upb_pom_1bt_maxmaxb}, + {0x0010000404020022, &upb_pom_1bt_maxmaxb}, + {0x001000040503002a, &upb_pom_1bt_maxmaxb}, + {0x0010000406040032, &upb_pom_1bt_maxmaxb}, + {0x000800003f000038, &upb_psv4_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_service_status_v3_ClientConfig_submsgs[3] = { + {.submsg = &envoy__config__core__v3__Node_msg_init}, + {.submsg = &envoy__service__status__v3__PerXdsConfig_msg_init}, + {.submsg = &envoy__service__status__v3__ClientConfig__GenericXdsConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_service_status_v3_ClientConfig__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__status__v3__ClientConfig_msg_init = { + &envoy_service_status_v3_ClientConfig_submsgs[0], + &envoy_service_status_v3_ClientConfig__fields[0], + UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f010012, &upb_prm_1bt_max64b}, + {0x001800003f02001a, &upb_prm_1bt_max128b}, + {0x002000003f000022, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_service_status_v3_ClientConfig_GenericXdsConfig_submsgs[3] = { + {.submsg = &google__protobuf__Any_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &envoy__admin__v3__UpdateFailureState_msg_init}, +}; + +static const upb_MiniTableField envoy_service_status_v3_ClientConfig_GenericXdsConfig__fields[9] = { + {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(44, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 64), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 72), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(16, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(20, 80), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(24, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__status__v3__ClientConfig__GenericXdsConfig_msg_init = { + &envoy_service_status_v3_ClientConfig_GenericXdsConfig_submsgs[0], + &envoy_service_status_v3_ClientConfig_GenericXdsConfig__fields[0], + UPB_SIZE(56, 88), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f00000a, &upb_pss_1bt}, + {0x002000003f000012, &upb_pss_1bt}, + {0x003000003f00001a, &upb_pss_1bt}, + {0x0040000001000022, &upb_psm_1bt_maxmaxb}, + {0x004800000201002a, &upb_psm_1bt_maxmaxb}, + {0x000400003f000030, &upb_psv4_1bt}, + {0x000800003f000038, &upb_psv4_1bt}, + {0x0050000003020042, &upb_psm_1bt_maxmaxb}, + {0x000c00003f000048, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_service_status_v3_ClientStatusResponse_submsgs[1] = { + {.submsg = &envoy__service__status__v3__ClientConfig_msg_init}, +}; + +static const upb_MiniTableField envoy_service_status_v3_ClientStatusResponse__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__service__status__v3__ClientStatusResponse_msg_init = { + &envoy_service_status_v3_ClientStatusResponse_submsgs[0], + &envoy_service_status_v3_ClientStatusResponse__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTable *messages_layout[5] = { + &envoy__service__status__v3__ClientStatusRequest_msg_init, + &envoy__service__status__v3__PerXdsConfig_msg_init, + &envoy__service__status__v3__ClientConfig_msg_init, + &envoy__service__status__v3__ClientConfig__GenericXdsConfig_msg_init, + &envoy__service__status__v3__ClientStatusResponse_msg_init, +}; + +const upb_MiniTableFile envoy_service_status_v3_csds_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 5, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h b/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h new file mode 100644 index 00000000000..0deeb2762d9 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h @@ -0,0 +1,34 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/service/status/v3/csds.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_SERVICE_STATUS_V3_CSDS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_SERVICE_STATUS_V3_CSDS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__service__status__v3__ClientStatusRequest_msg_init; +extern const upb_MiniTable envoy__service__status__v3__PerXdsConfig_msg_init; +extern const upb_MiniTable envoy__service__status__v3__ClientConfig_msg_init; +extern const upb_MiniTable envoy__service__status__v3__ClientConfig__GenericXdsConfig_msg_init; +extern const upb_MiniTable envoy__service__status__v3__ClientStatusResponse_msg_init; + +extern const upb_MiniTableFile envoy_service_status_v3_csds_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_SERVICE_STATUS_V3_CSDS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h b/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h new file mode 100644 index 00000000000..fcc84cbfe63 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h @@ -0,0 +1,131 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/http/v3/cookie.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPB_H_ +#define ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/type/http/v3/cookie.upb_minitable.h" + +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_type_http_v3_Cookie envoy_type_http_v3_Cookie; +struct google_protobuf_Duration; + + + +/* envoy.type.http.v3.Cookie */ + +UPB_INLINE envoy_type_http_v3_Cookie* envoy_type_http_v3_Cookie_new(upb_Arena* arena) { + return (envoy_type_http_v3_Cookie*)_upb_Message_New(&envoy__type__http__v3__Cookie_msg_init, arena); +} +UPB_INLINE envoy_type_http_v3_Cookie* envoy_type_http_v3_Cookie_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_http_v3_Cookie* ret = envoy_type_http_v3_Cookie_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__http__v3__Cookie_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_http_v3_Cookie* envoy_type_http_v3_Cookie_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_http_v3_Cookie* ret = envoy_type_http_v3_Cookie_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__http__v3__Cookie_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_http_v3_Cookie_serialize(const envoy_type_http_v3_Cookie* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__http__v3__Cookie_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_http_v3_Cookie_serialize_ex(const envoy_type_http_v3_Cookie* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__http__v3__Cookie_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_http_v3_Cookie_clear_name(envoy_type_http_v3_Cookie* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_http_v3_Cookie_name(const envoy_type_http_v3_Cookie* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_type_http_v3_Cookie_clear_ttl(envoy_type_http_v3_Cookie* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Duration* envoy_type_http_v3_Cookie_ttl(const envoy_type_http_v3_Cookie* msg) { + const struct google_protobuf_Duration* default_val = NULL; + const struct google_protobuf_Duration* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_http_v3_Cookie_has_ttl(const envoy_type_http_v3_Cookie* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_http_v3_Cookie_clear_path(envoy_type_http_v3_Cookie* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_http_v3_Cookie_path(const envoy_type_http_v3_Cookie* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_type_http_v3_Cookie_set_name(envoy_type_http_v3_Cookie *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_type_http_v3_Cookie_set_ttl(envoy_type_http_v3_Cookie *msg, struct google_protobuf_Duration* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Duration* envoy_type_http_v3_Cookie_mutable_ttl(envoy_type_http_v3_Cookie* msg, upb_Arena* arena) { + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_type_http_v3_Cookie_ttl(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); + if (sub) envoy_type_http_v3_Cookie_set_ttl(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_type_http_v3_Cookie_set_path(envoy_type_http_v3_Cookie *msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c new file mode 100644 index 00000000000..cc317ceec47 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c @@ -0,0 +1,54 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/http/v3/cookie.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/http/v3/cookie.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_http_v3_Cookie_submsgs[1] = { + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_type_http_v3_Cookie__fields[3] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__http__v3__Cookie_msg_init = { + &envoy_type_http_v3_Cookie_submsgs[0], + &envoy_type_http_v3_Cookie__fields[0], + UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x002000003f00001a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__type__http__v3__Cookie_msg_init, +}; + +const upb_MiniTableFile envoy_type_http_v3_cookie_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h new file mode 100644 index 00000000000..6f345ce31a1 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/http/v3/cookie.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__http__v3__Cookie_msg_init; + +extern const upb_MiniTableFile envoy_type_http_v3_cookie_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h b/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h similarity index 84% rename from src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h rename to src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h index 09806ae9e5b..1b22deccae6 100644 --- a/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +++ b/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/http/v3/path_transformation.proto * @@ -10,7 +9,13 @@ #define ENVOY_TYPE_HTTP_V3_PATH_TRANSFORMATION_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/type/http/v3/path_transformation.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -21,22 +26,18 @@ typedef struct envoy_type_http_v3_PathTransformation envoy_type_http_v3_PathTran typedef struct envoy_type_http_v3_PathTransformation_Operation envoy_type_http_v3_PathTransformation_Operation; typedef struct envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986 envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986; typedef struct envoy_type_http_v3_PathTransformation_Operation_MergeSlashes envoy_type_http_v3_PathTransformation_Operation_MergeSlashes; -extern const upb_MiniTable envoy_type_http_v3_PathTransformation_msg_init; -extern const upb_MiniTable envoy_type_http_v3_PathTransformation_Operation_msg_init; -extern const upb_MiniTable envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_msg_init; -extern const upb_MiniTable envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_msg_init; /* envoy.type.http.v3.PathTransformation */ UPB_INLINE envoy_type_http_v3_PathTransformation* envoy_type_http_v3_PathTransformation_new(upb_Arena* arena) { - return (envoy_type_http_v3_PathTransformation*)_upb_Message_New(&envoy_type_http_v3_PathTransformation_msg_init, arena); + return (envoy_type_http_v3_PathTransformation*)_upb_Message_New(&envoy__type__http__v3__PathTransformation_msg_init, arena); } UPB_INLINE envoy_type_http_v3_PathTransformation* envoy_type_http_v3_PathTransformation_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_http_v3_PathTransformation* ret = envoy_type_http_v3_PathTransformation_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_http_v3_PathTransformation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__http__v3__PathTransformation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -46,7 +47,7 @@ UPB_INLINE envoy_type_http_v3_PathTransformation* envoy_type_http_v3_PathTransfo int options, upb_Arena* arena) { envoy_type_http_v3_PathTransformation* ret = envoy_type_http_v3_PathTransformation_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_http_v3_PathTransformation_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__http__v3__PathTransformation_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -54,13 +55,13 @@ UPB_INLINE envoy_type_http_v3_PathTransformation* envoy_type_http_v3_PathTransfo } UPB_INLINE char* envoy_type_http_v3_PathTransformation_serialize(const envoy_type_http_v3_PathTransformation* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_http_v3_PathTransformation_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__http__v3__PathTransformation_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_http_v3_PathTransformation_serialize_ex(const envoy_type_http_v3_PathTransformation* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_http_v3_PathTransformation_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__http__v3__PathTransformation_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_type_http_v3_PathTransformation_clear_operations(envoy_type_http_v3_PathTransformation* msg) { @@ -122,7 +123,7 @@ UPB_INLINE struct envoy_type_http_v3_PathTransformation_Operation* envoy_type_ht if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_type_http_v3_PathTransformation_Operation* sub = (struct envoy_type_http_v3_PathTransformation_Operation*)_upb_Message_New(&envoy_type_http_v3_PathTransformation_Operation_msg_init, arena); + struct envoy_type_http_v3_PathTransformation_Operation* sub = (struct envoy_type_http_v3_PathTransformation_Operation*)_upb_Message_New(&envoy__type__http__v3__PathTransformation__Operation_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -131,12 +132,12 @@ UPB_INLINE struct envoy_type_http_v3_PathTransformation_Operation* envoy_type_ht /* envoy.type.http.v3.PathTransformation.Operation */ UPB_INLINE envoy_type_http_v3_PathTransformation_Operation* envoy_type_http_v3_PathTransformation_Operation_new(upb_Arena* arena) { - return (envoy_type_http_v3_PathTransformation_Operation*)_upb_Message_New(&envoy_type_http_v3_PathTransformation_Operation_msg_init, arena); + return (envoy_type_http_v3_PathTransformation_Operation*)_upb_Message_New(&envoy__type__http__v3__PathTransformation__Operation_msg_init, arena); } UPB_INLINE envoy_type_http_v3_PathTransformation_Operation* envoy_type_http_v3_PathTransformation_Operation_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_http_v3_PathTransformation_Operation* ret = envoy_type_http_v3_PathTransformation_Operation_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_http_v3_PathTransformation_Operation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__http__v3__PathTransformation__Operation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -146,7 +147,7 @@ UPB_INLINE envoy_type_http_v3_PathTransformation_Operation* envoy_type_http_v3_P int options, upb_Arena* arena) { envoy_type_http_v3_PathTransformation_Operation* ret = envoy_type_http_v3_PathTransformation_Operation_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_http_v3_PathTransformation_Operation_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__http__v3__PathTransformation__Operation_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -154,13 +155,13 @@ UPB_INLINE envoy_type_http_v3_PathTransformation_Operation* envoy_type_http_v3_P } UPB_INLINE char* envoy_type_http_v3_PathTransformation_Operation_serialize(const envoy_type_http_v3_PathTransformation_Operation* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_http_v3_PathTransformation_Operation_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__http__v3__PathTransformation__Operation_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_http_v3_PathTransformation_Operation_serialize_ex(const envoy_type_http_v3_PathTransformation_Operation* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_http_v3_PathTransformation_Operation_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__http__v3__PathTransformation__Operation_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -210,7 +211,7 @@ UPB_INLINE void envoy_type_http_v3_PathTransformation_Operation_set_normalize_pa UPB_INLINE struct envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986* envoy_type_http_v3_PathTransformation_Operation_mutable_normalize_path_rfc_3986(envoy_type_http_v3_PathTransformation_Operation* msg, upb_Arena* arena) { struct envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986* sub = (struct envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986*)envoy_type_http_v3_PathTransformation_Operation_normalize_path_rfc_3986(msg); if (sub == NULL) { - sub = (struct envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986*)_upb_Message_New(&envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_msg_init, arena); + sub = (struct envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986*)_upb_Message_New(&envoy__type__http__v3__PathTransformation__Operation__NormalizePathRFC3986_msg_init, arena); if (sub) envoy_type_http_v3_PathTransformation_Operation_set_normalize_path_rfc_3986(msg, sub); } return sub; @@ -222,7 +223,7 @@ UPB_INLINE void envoy_type_http_v3_PathTransformation_Operation_set_merge_slashe UPB_INLINE struct envoy_type_http_v3_PathTransformation_Operation_MergeSlashes* envoy_type_http_v3_PathTransformation_Operation_mutable_merge_slashes(envoy_type_http_v3_PathTransformation_Operation* msg, upb_Arena* arena) { struct envoy_type_http_v3_PathTransformation_Operation_MergeSlashes* sub = (struct envoy_type_http_v3_PathTransformation_Operation_MergeSlashes*)envoy_type_http_v3_PathTransformation_Operation_merge_slashes(msg); if (sub == NULL) { - sub = (struct envoy_type_http_v3_PathTransformation_Operation_MergeSlashes*)_upb_Message_New(&envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_msg_init, arena); + sub = (struct envoy_type_http_v3_PathTransformation_Operation_MergeSlashes*)_upb_Message_New(&envoy__type__http__v3__PathTransformation__Operation__MergeSlashes_msg_init, arena); if (sub) envoy_type_http_v3_PathTransformation_Operation_set_merge_slashes(msg, sub); } return sub; @@ -231,12 +232,12 @@ UPB_INLINE struct envoy_type_http_v3_PathTransformation_Operation_MergeSlashes* /* envoy.type.http.v3.PathTransformation.Operation.NormalizePathRFC3986 */ UPB_INLINE envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986* envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_new(upb_Arena* arena) { - return (envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986*)_upb_Message_New(&envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_msg_init, arena); + return (envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986*)_upb_Message_New(&envoy__type__http__v3__PathTransformation__Operation__NormalizePathRFC3986_msg_init, arena); } UPB_INLINE envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986* envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986* ret = envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__http__v3__PathTransformation__Operation__NormalizePathRFC3986_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -246,7 +247,7 @@ UPB_INLINE envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986* int options, upb_Arena* arena) { envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986* ret = envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__http__v3__PathTransformation__Operation__NormalizePathRFC3986_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -254,13 +255,13 @@ UPB_INLINE envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986* } UPB_INLINE char* envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_serialize(const envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__http__v3__PathTransformation__Operation__NormalizePathRFC3986_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_serialize_ex(const envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__http__v3__PathTransformation__Operation__NormalizePathRFC3986_msg_init, options, arena, &ptr, len); return ptr; } @@ -268,12 +269,12 @@ UPB_INLINE char* envoy_type_http_v3_PathTransformation_Operation_NormalizePathRF /* envoy.type.http.v3.PathTransformation.Operation.MergeSlashes */ UPB_INLINE envoy_type_http_v3_PathTransformation_Operation_MergeSlashes* envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_new(upb_Arena* arena) { - return (envoy_type_http_v3_PathTransformation_Operation_MergeSlashes*)_upb_Message_New(&envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_msg_init, arena); + return (envoy_type_http_v3_PathTransformation_Operation_MergeSlashes*)_upb_Message_New(&envoy__type__http__v3__PathTransformation__Operation__MergeSlashes_msg_init, arena); } UPB_INLINE envoy_type_http_v3_PathTransformation_Operation_MergeSlashes* envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_http_v3_PathTransformation_Operation_MergeSlashes* ret = envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__http__v3__PathTransformation__Operation__MergeSlashes_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -283,7 +284,7 @@ UPB_INLINE envoy_type_http_v3_PathTransformation_Operation_MergeSlashes* envoy_t int options, upb_Arena* arena) { envoy_type_http_v3_PathTransformation_Operation_MergeSlashes* ret = envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__http__v3__PathTransformation__Operation__MergeSlashes_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -291,19 +292,17 @@ UPB_INLINE envoy_type_http_v3_PathTransformation_Operation_MergeSlashes* envoy_t } UPB_INLINE char* envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_serialize(const envoy_type_http_v3_PathTransformation_Operation_MergeSlashes* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__http__v3__PathTransformation__Operation__MergeSlashes_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_serialize_ex(const envoy_type_http_v3_PathTransformation_Operation_MergeSlashes* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__http__v3__PathTransformation__Operation__MergeSlashes_msg_init, options, arena, &ptr, len); return ptr; } -extern const upb_MiniTableFile envoy_type_http_v3_path_transformation_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c new file mode 100644 index 00000000000..f1aa5786412 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c @@ -0,0 +1,86 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/http/v3/path_transformation.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/http/v3/path_transformation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_http_v3_PathTransformation_submsgs[1] = { + {.submsg = &envoy__type__http__v3__PathTransformation__Operation_msg_init}, +}; + +static const upb_MiniTableField envoy_type_http_v3_PathTransformation__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__http__v3__PathTransformation_msg_init = { + &envoy_type_http_v3_PathTransformation_submsgs[0], + &envoy_type_http_v3_PathTransformation__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_type_http_v3_PathTransformation_Operation_submsgs[2] = { + {.submsg = &envoy__type__http__v3__PathTransformation__Operation__NormalizePathRFC3986_msg_init}, + {.submsg = &envoy__type__http__v3__PathTransformation__Operation__MergeSlashes_msg_init}, +}; + +static const upb_MiniTableField envoy_type_http_v3_PathTransformation_Operation__fields[2] = { + {2, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__http__v3__PathTransformation__Operation_msg_init = { + &envoy_type_http_v3_PathTransformation_Operation_submsgs[0], + &envoy_type_http_v3_PathTransformation_Operation__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000002000012, &upb_pom_1bt_max64b}, + {0x000800000301001a, &upb_pom_1bt_max64b}, + }) +}; + +const upb_MiniTable envoy__type__http__v3__PathTransformation__Operation__NormalizePathRFC3986_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +const upb_MiniTable envoy__type__http__v3__PathTransformation__Operation__MergeSlashes_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTable *messages_layout[4] = { + &envoy__type__http__v3__PathTransformation_msg_init, + &envoy__type__http__v3__PathTransformation__Operation_msg_init, + &envoy__type__http__v3__PathTransformation__Operation__NormalizePathRFC3986_msg_init, + &envoy__type__http__v3__PathTransformation__Operation__MergeSlashes_msg_init, +}; + +const upb_MiniTableFile envoy_type_http_v3_path_transformation_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 4, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h new file mode 100644 index 00000000000..8ff8f254827 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h @@ -0,0 +1,33 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/http/v3/path_transformation.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_HTTP_V3_PATH_TRANSFORMATION_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_HTTP_V3_PATH_TRANSFORMATION_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__http__v3__PathTransformation_msg_init; +extern const upb_MiniTable envoy__type__http__v3__PathTransformation__Operation_msg_init; +extern const upb_MiniTable envoy__type__http__v3__PathTransformation__Operation__NormalizePathRFC3986_msg_init; +extern const upb_MiniTable envoy__type__http__v3__PathTransformation__Operation__MergeSlashes_msg_init; + +extern const upb_MiniTableFile envoy_type_http_v3_path_transformation_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_HTTP_V3_PATH_TRANSFORMATION_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h similarity index 87% rename from src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h rename to src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h index 4d58928e1e2..c0ca5ff9c27 100644 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/filter_state.proto * @@ -10,7 +9,14 @@ #define ENVOY_TYPE_MATCHER_V3_FILTER_STATE_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/type/matcher/v3/filter_state.upb_minitable.h" + +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +24,19 @@ extern "C" { #endif typedef struct envoy_type_matcher_v3_FilterStateMatcher envoy_type_matcher_v3_FilterStateMatcher; -extern const upb_MiniTable envoy_type_matcher_v3_FilterStateMatcher_msg_init; struct envoy_type_matcher_v3_StringMatcher; -extern const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msg_init; /* envoy.type.matcher.v3.FilterStateMatcher */ UPB_INLINE envoy_type_matcher_v3_FilterStateMatcher* envoy_type_matcher_v3_FilterStateMatcher_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_FilterStateMatcher*)_upb_Message_New(&envoy_type_matcher_v3_FilterStateMatcher_msg_init, arena); + return (envoy_type_matcher_v3_FilterStateMatcher*)_upb_Message_New(&envoy__type__matcher__v3__FilterStateMatcher_msg_init, arena); } UPB_INLINE envoy_type_matcher_v3_FilterStateMatcher* envoy_type_matcher_v3_FilterStateMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_matcher_v3_FilterStateMatcher* ret = envoy_type_matcher_v3_FilterStateMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_FilterStateMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__FilterStateMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +46,7 @@ UPB_INLINE envoy_type_matcher_v3_FilterStateMatcher* envoy_type_matcher_v3_Filte int options, upb_Arena* arena) { envoy_type_matcher_v3_FilterStateMatcher* ret = envoy_type_matcher_v3_FilterStateMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_FilterStateMatcher_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__FilterStateMatcher_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +54,13 @@ UPB_INLINE envoy_type_matcher_v3_FilterStateMatcher* envoy_type_matcher_v3_Filte } UPB_INLINE char* envoy_type_matcher_v3_FilterStateMatcher_serialize(const envoy_type_matcher_v3_FilterStateMatcher* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_FilterStateMatcher_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__matcher__v3__FilterStateMatcher_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_matcher_v3_FilterStateMatcher_serialize_ex(const envoy_type_matcher_v3_FilterStateMatcher* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_FilterStateMatcher_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__matcher__v3__FilterStateMatcher_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -105,14 +109,12 @@ UPB_INLINE void envoy_type_matcher_v3_FilterStateMatcher_set_string_match(envoy_ UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_FilterStateMatcher_mutable_string_match(envoy_type_matcher_v3_FilterStateMatcher* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_type_matcher_v3_FilterStateMatcher_string_match(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); + sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); if (sub) envoy_type_matcher_v3_FilterStateMatcher_set_string_match(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_type_matcher_v3_filter_state_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c new file mode 100644 index 00000000000..13e5e599852 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c @@ -0,0 +1,53 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/filter_state.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/matcher/v3/filter_state.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_matcher_v3_FilterStateMatcher_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_FilterStateMatcher__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__FilterStateMatcher_msg_init = { + &envoy_type_matcher_v3_FilterStateMatcher_submsgs[0], + &envoy_type_matcher_v3_FilterStateMatcher__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000002000012, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__type__matcher__v3__FilterStateMatcher_msg_init, +}; + +const upb_MiniTableFile envoy_type_matcher_v3_filter_state_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h new file mode 100644 index 00000000000..95ded9842f5 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/filter_state.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_FILTER_STATE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_MATCHER_V3_FILTER_STATE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__matcher__v3__FilterStateMatcher_msg_init; + +extern const upb_MiniTableFile envoy_type_matcher_v3_filter_state_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_FILTER_STATE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h new file mode 100644 index 00000000000..7674ebe1d94 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h @@ -0,0 +1,299 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/http_inputs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_H_ +#define ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/type/matcher/v3/http_inputs.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_type_matcher_v3_HttpRequestHeaderMatchInput envoy_type_matcher_v3_HttpRequestHeaderMatchInput; +typedef struct envoy_type_matcher_v3_HttpRequestTrailerMatchInput envoy_type_matcher_v3_HttpRequestTrailerMatchInput; +typedef struct envoy_type_matcher_v3_HttpResponseHeaderMatchInput envoy_type_matcher_v3_HttpResponseHeaderMatchInput; +typedef struct envoy_type_matcher_v3_HttpResponseTrailerMatchInput envoy_type_matcher_v3_HttpResponseTrailerMatchInput; +typedef struct envoy_type_matcher_v3_HttpRequestQueryParamMatchInput envoy_type_matcher_v3_HttpRequestQueryParamMatchInput; + + + +/* envoy.type.matcher.v3.HttpRequestHeaderMatchInput */ + +UPB_INLINE envoy_type_matcher_v3_HttpRequestHeaderMatchInput* envoy_type_matcher_v3_HttpRequestHeaderMatchInput_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_HttpRequestHeaderMatchInput*)_upb_Message_New(&envoy__type__matcher__v3__HttpRequestHeaderMatchInput_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_HttpRequestHeaderMatchInput* envoy_type_matcher_v3_HttpRequestHeaderMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_HttpRequestHeaderMatchInput* ret = envoy_type_matcher_v3_HttpRequestHeaderMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpRequestHeaderMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_HttpRequestHeaderMatchInput* envoy_type_matcher_v3_HttpRequestHeaderMatchInput_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_HttpRequestHeaderMatchInput* ret = envoy_type_matcher_v3_HttpRequestHeaderMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpRequestHeaderMatchInput_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpRequestHeaderMatchInput_serialize(const envoy_type_matcher_v3_HttpRequestHeaderMatchInput* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpRequestHeaderMatchInput_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpRequestHeaderMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpRequestHeaderMatchInput* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpRequestHeaderMatchInput_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_matcher_v3_HttpRequestHeaderMatchInput_clear_header_name(envoy_type_matcher_v3_HttpRequestHeaderMatchInput* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_HttpRequestHeaderMatchInput_header_name(const envoy_type_matcher_v3_HttpRequestHeaderMatchInput* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_type_matcher_v3_HttpRequestHeaderMatchInput_set_header_name(envoy_type_matcher_v3_HttpRequestHeaderMatchInput *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.type.matcher.v3.HttpRequestTrailerMatchInput */ + +UPB_INLINE envoy_type_matcher_v3_HttpRequestTrailerMatchInput* envoy_type_matcher_v3_HttpRequestTrailerMatchInput_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_HttpRequestTrailerMatchInput*)_upb_Message_New(&envoy__type__matcher__v3__HttpRequestTrailerMatchInput_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_HttpRequestTrailerMatchInput* envoy_type_matcher_v3_HttpRequestTrailerMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_HttpRequestTrailerMatchInput* ret = envoy_type_matcher_v3_HttpRequestTrailerMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpRequestTrailerMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_HttpRequestTrailerMatchInput* envoy_type_matcher_v3_HttpRequestTrailerMatchInput_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_HttpRequestTrailerMatchInput* ret = envoy_type_matcher_v3_HttpRequestTrailerMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpRequestTrailerMatchInput_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpRequestTrailerMatchInput_serialize(const envoy_type_matcher_v3_HttpRequestTrailerMatchInput* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpRequestTrailerMatchInput_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpRequestTrailerMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpRequestTrailerMatchInput* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpRequestTrailerMatchInput_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_matcher_v3_HttpRequestTrailerMatchInput_clear_header_name(envoy_type_matcher_v3_HttpRequestTrailerMatchInput* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_HttpRequestTrailerMatchInput_header_name(const envoy_type_matcher_v3_HttpRequestTrailerMatchInput* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_type_matcher_v3_HttpRequestTrailerMatchInput_set_header_name(envoy_type_matcher_v3_HttpRequestTrailerMatchInput *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.type.matcher.v3.HttpResponseHeaderMatchInput */ + +UPB_INLINE envoy_type_matcher_v3_HttpResponseHeaderMatchInput* envoy_type_matcher_v3_HttpResponseHeaderMatchInput_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_HttpResponseHeaderMatchInput*)_upb_Message_New(&envoy__type__matcher__v3__HttpResponseHeaderMatchInput_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_HttpResponseHeaderMatchInput* envoy_type_matcher_v3_HttpResponseHeaderMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_HttpResponseHeaderMatchInput* ret = envoy_type_matcher_v3_HttpResponseHeaderMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpResponseHeaderMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_HttpResponseHeaderMatchInput* envoy_type_matcher_v3_HttpResponseHeaderMatchInput_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_HttpResponseHeaderMatchInput* ret = envoy_type_matcher_v3_HttpResponseHeaderMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpResponseHeaderMatchInput_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpResponseHeaderMatchInput_serialize(const envoy_type_matcher_v3_HttpResponseHeaderMatchInput* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpResponseHeaderMatchInput_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpResponseHeaderMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpResponseHeaderMatchInput* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpResponseHeaderMatchInput_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_matcher_v3_HttpResponseHeaderMatchInput_clear_header_name(envoy_type_matcher_v3_HttpResponseHeaderMatchInput* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_HttpResponseHeaderMatchInput_header_name(const envoy_type_matcher_v3_HttpResponseHeaderMatchInput* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_type_matcher_v3_HttpResponseHeaderMatchInput_set_header_name(envoy_type_matcher_v3_HttpResponseHeaderMatchInput *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.type.matcher.v3.HttpResponseTrailerMatchInput */ + +UPB_INLINE envoy_type_matcher_v3_HttpResponseTrailerMatchInput* envoy_type_matcher_v3_HttpResponseTrailerMatchInput_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_HttpResponseTrailerMatchInput*)_upb_Message_New(&envoy__type__matcher__v3__HttpResponseTrailerMatchInput_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_HttpResponseTrailerMatchInput* envoy_type_matcher_v3_HttpResponseTrailerMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_HttpResponseTrailerMatchInput* ret = envoy_type_matcher_v3_HttpResponseTrailerMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpResponseTrailerMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_HttpResponseTrailerMatchInput* envoy_type_matcher_v3_HttpResponseTrailerMatchInput_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_HttpResponseTrailerMatchInput* ret = envoy_type_matcher_v3_HttpResponseTrailerMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpResponseTrailerMatchInput_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpResponseTrailerMatchInput_serialize(const envoy_type_matcher_v3_HttpResponseTrailerMatchInput* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpResponseTrailerMatchInput_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpResponseTrailerMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpResponseTrailerMatchInput* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpResponseTrailerMatchInput_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_matcher_v3_HttpResponseTrailerMatchInput_clear_header_name(envoy_type_matcher_v3_HttpResponseTrailerMatchInput* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_HttpResponseTrailerMatchInput_header_name(const envoy_type_matcher_v3_HttpResponseTrailerMatchInput* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_type_matcher_v3_HttpResponseTrailerMatchInput_set_header_name(envoy_type_matcher_v3_HttpResponseTrailerMatchInput *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.type.matcher.v3.HttpRequestQueryParamMatchInput */ + +UPB_INLINE envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_HttpRequestQueryParamMatchInput*)_upb_Message_New(&envoy__type__matcher__v3__HttpRequestQueryParamMatchInput_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* ret = envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpRequestQueryParamMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* ret = envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpRequestQueryParamMatchInput_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_serialize(const envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpRequestQueryParamMatchInput_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpRequestQueryParamMatchInput_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_clear_query_param(envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_query_param(const envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_set_query_param(envoy_type_matcher_v3_HttpRequestQueryParamMatchInput *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c new file mode 100644 index 00000000000..3edc6565071 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c @@ -0,0 +1,105 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/http_inputs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/matcher/v3/http_inputs.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_type_matcher_v3_HttpRequestHeaderMatchInput__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__HttpRequestHeaderMatchInput_msg_init = { + NULL, + &envoy_type_matcher_v3_HttpRequestHeaderMatchInput__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField envoy_type_matcher_v3_HttpRequestTrailerMatchInput__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__HttpRequestTrailerMatchInput_msg_init = { + NULL, + &envoy_type_matcher_v3_HttpRequestTrailerMatchInput__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField envoy_type_matcher_v3_HttpResponseHeaderMatchInput__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__HttpResponseHeaderMatchInput_msg_init = { + NULL, + &envoy_type_matcher_v3_HttpResponseHeaderMatchInput__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField envoy_type_matcher_v3_HttpResponseTrailerMatchInput__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__HttpResponseTrailerMatchInput_msg_init = { + NULL, + &envoy_type_matcher_v3_HttpResponseTrailerMatchInput__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField envoy_type_matcher_v3_HttpRequestQueryParamMatchInput__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__HttpRequestQueryParamMatchInput_msg_init = { + NULL, + &envoy_type_matcher_v3_HttpRequestQueryParamMatchInput__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[5] = { + &envoy__type__matcher__v3__HttpRequestHeaderMatchInput_msg_init, + &envoy__type__matcher__v3__HttpRequestTrailerMatchInput_msg_init, + &envoy__type__matcher__v3__HttpResponseHeaderMatchInput_msg_init, + &envoy__type__matcher__v3__HttpResponseTrailerMatchInput_msg_init, + &envoy__type__matcher__v3__HttpRequestQueryParamMatchInput_msg_init, +}; + +const upb_MiniTableFile envoy_type_matcher_v3_http_inputs_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 5, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h new file mode 100644 index 00000000000..8df39ff34fe --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h @@ -0,0 +1,34 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/http_inputs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__matcher__v3__HttpRequestHeaderMatchInput_msg_init; +extern const upb_MiniTable envoy__type__matcher__v3__HttpRequestTrailerMatchInput_msg_init; +extern const upb_MiniTable envoy__type__matcher__v3__HttpResponseHeaderMatchInput_msg_init; +extern const upb_MiniTable envoy__type__matcher__v3__HttpResponseTrailerMatchInput_msg_init; +extern const upb_MiniTable envoy__type__matcher__v3__HttpRequestQueryParamMatchInput_msg_init; + +extern const upb_MiniTableFile envoy_type_matcher_v3_http_inputs_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h new file mode 100644 index 00000000000..f6a48143c28 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h @@ -0,0 +1,260 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/metadata.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPB_H_ +#define ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/type/matcher/v3/metadata.upb_minitable.h" + +#include "envoy/type/matcher/v3/value.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_type_matcher_v3_MetadataMatcher envoy_type_matcher_v3_MetadataMatcher; +typedef struct envoy_type_matcher_v3_MetadataMatcher_PathSegment envoy_type_matcher_v3_MetadataMatcher_PathSegment; +struct envoy_type_matcher_v3_ValueMatcher; + + + +/* envoy.type.matcher.v3.MetadataMatcher */ + +UPB_INLINE envoy_type_matcher_v3_MetadataMatcher* envoy_type_matcher_v3_MetadataMatcher_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_MetadataMatcher*)_upb_Message_New(&envoy__type__matcher__v3__MetadataMatcher_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_MetadataMatcher* envoy_type_matcher_v3_MetadataMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_MetadataMatcher* ret = envoy_type_matcher_v3_MetadataMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__MetadataMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_MetadataMatcher* envoy_type_matcher_v3_MetadataMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_MetadataMatcher* ret = envoy_type_matcher_v3_MetadataMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__MetadataMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_MetadataMatcher_serialize(const envoy_type_matcher_v3_MetadataMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__MetadataMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_MetadataMatcher_serialize_ex(const envoy_type_matcher_v3_MetadataMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__MetadataMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_clear_filter(envoy_type_matcher_v3_MetadataMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_MetadataMatcher_filter(const envoy_type_matcher_v3_MetadataMatcher* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_clear_path(envoy_type_matcher_v3_MetadataMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_matcher_v3_MetadataMatcher_PathSegment* const* envoy_type_matcher_v3_MetadataMatcher_path(const envoy_type_matcher_v3_MetadataMatcher* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_type_matcher_v3_MetadataMatcher_PathSegment* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_type_matcher_v3_MetadataMatcher_path_upb_array(const envoy_type_matcher_v3_MetadataMatcher* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_type_matcher_v3_MetadataMatcher_path_mutable_upb_array(const envoy_type_matcher_v3_MetadataMatcher* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_type_matcher_v3_MetadataMatcher_has_path(const envoy_type_matcher_v3_MetadataMatcher* msg) { + size_t size; + envoy_type_matcher_v3_MetadataMatcher_path(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_clear_value(envoy_type_matcher_v3_MetadataMatcher* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_MetadataMatcher_value(const envoy_type_matcher_v3_MetadataMatcher* msg) { + const struct envoy_type_matcher_v3_ValueMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_ValueMatcher* ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_MetadataMatcher_has_value(const envoy_type_matcher_v3_MetadataMatcher* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_clear_invert(envoy_type_matcher_v3_MetadataMatcher* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_type_matcher_v3_MetadataMatcher_invert(const envoy_type_matcher_v3_MetadataMatcher* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_set_filter(envoy_type_matcher_v3_MetadataMatcher *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment** envoy_type_matcher_v3_MetadataMatcher_mutable_path(envoy_type_matcher_v3_MetadataMatcher* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_type_matcher_v3_MetadataMatcher_PathSegment**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment** envoy_type_matcher_v3_MetadataMatcher_resize_path(envoy_type_matcher_v3_MetadataMatcher* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_type_matcher_v3_MetadataMatcher_PathSegment**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher_PathSegment* envoy_type_matcher_v3_MetadataMatcher_add_path(envoy_type_matcher_v3_MetadataMatcher* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_type_matcher_v3_MetadataMatcher_PathSegment* sub = (struct envoy_type_matcher_v3_MetadataMatcher_PathSegment*)_upb_Message_New(&envoy__type__matcher__v3__MetadataMatcher__PathSegment_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_set_value(envoy_type_matcher_v3_MetadataMatcher *msg, struct envoy_type_matcher_v3_ValueMatcher* value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_MetadataMatcher_mutable_value(envoy_type_matcher_v3_MetadataMatcher* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_ValueMatcher* sub = (struct envoy_type_matcher_v3_ValueMatcher*)envoy_type_matcher_v3_MetadataMatcher_value(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_ValueMatcher*)_upb_Message_New(&envoy__type__matcher__v3__ValueMatcher_msg_init, arena); + if (sub) envoy_type_matcher_v3_MetadataMatcher_set_value(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_set_invert(envoy_type_matcher_v3_MetadataMatcher *msg, bool value) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.type.matcher.v3.MetadataMatcher.PathSegment */ + +UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment* envoy_type_matcher_v3_MetadataMatcher_PathSegment_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_MetadataMatcher_PathSegment*)_upb_Message_New(&envoy__type__matcher__v3__MetadataMatcher__PathSegment_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment* envoy_type_matcher_v3_MetadataMatcher_PathSegment_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_MetadataMatcher_PathSegment* ret = envoy_type_matcher_v3_MetadataMatcher_PathSegment_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__MetadataMatcher__PathSegment_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment* envoy_type_matcher_v3_MetadataMatcher_PathSegment_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_MetadataMatcher_PathSegment* ret = envoy_type_matcher_v3_MetadataMatcher_PathSegment_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__MetadataMatcher__PathSegment_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_MetadataMatcher_PathSegment_serialize(const envoy_type_matcher_v3_MetadataMatcher_PathSegment* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__MetadataMatcher__PathSegment_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_MetadataMatcher_PathSegment_serialize_ex(const envoy_type_matcher_v3_MetadataMatcher_PathSegment* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__MetadataMatcher__PathSegment_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_key = 1, + envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_NOT_SET = 0 +} envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_oneofcases; +UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_oneofcases envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_case(const envoy_type_matcher_v3_MetadataMatcher_PathSegment* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return (envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_PathSegment_clear_key(envoy_type_matcher_v3_MetadataMatcher_PathSegment* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_MetadataMatcher_PathSegment_key(const envoy_type_matcher_v3_MetadataMatcher_PathSegment* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_MetadataMatcher_PathSegment_has_key(const envoy_type_matcher_v3_MetadataMatcher_PathSegment* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_PathSegment_set_key(envoy_type_matcher_v3_MetadataMatcher_PathSegment *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c new file mode 100644 index 00000000000..64d26c2bf9a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c @@ -0,0 +1,76 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/metadata.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/matcher/v3/metadata.upb_minitable.h" +#include "envoy/type/matcher/v3/value.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_matcher_v3_MetadataMatcher_submsgs[2] = { + {.submsg = &envoy__type__matcher__v3__MetadataMatcher__PathSegment_msg_init}, + {.submsg = &envoy__type__matcher__v3__ValueMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_MetadataMatcher__fields[4] = { + {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__MetadataMatcher_msg_init = { + &envoy_type_matcher_v3_MetadataMatcher_submsgs[0], + &envoy_type_matcher_v3_MetadataMatcher__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prm_1bt_max64b}, + {0x002000000101001a, &upb_psm_1bt_maxmaxb}, + {0x000100003f000020, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_type_matcher_v3_MetadataMatcher_PathSegment__fields[1] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__MetadataMatcher__PathSegment_msg_init = { + NULL, + &envoy_type_matcher_v3_MetadataMatcher_PathSegment__fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__type__matcher__v3__MetadataMatcher_msg_init, + &envoy__type__matcher__v3__MetadataMatcher__PathSegment_msg_init, +}; + +const upb_MiniTableFile envoy_type_matcher_v3_metadata_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h new file mode 100644 index 00000000000..b2803e332e3 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/metadata.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__matcher__v3__MetadataMatcher_msg_init; +extern const upb_MiniTable envoy__type__matcher__v3__MetadataMatcher__PathSegment_msg_init; + +extern const upb_MiniTableFile envoy_type_matcher_v3_metadata_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h similarity index 88% rename from src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h rename to src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h index 2b4290013e9..afa5df98b36 100644 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/node.proto * @@ -10,7 +9,15 @@ #define ENVOY_TYPE_MATCHER_V3_NODE_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/type/matcher/v3/node.upb_minitable.h" + +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "envoy/type/matcher/v3/struct.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,23 +25,20 @@ extern "C" { #endif typedef struct envoy_type_matcher_v3_NodeMatcher envoy_type_matcher_v3_NodeMatcher; -extern const upb_MiniTable envoy_type_matcher_v3_NodeMatcher_msg_init; struct envoy_type_matcher_v3_StringMatcher; struct envoy_type_matcher_v3_StructMatcher; -extern const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_StructMatcher_msg_init; /* envoy.type.matcher.v3.NodeMatcher */ UPB_INLINE envoy_type_matcher_v3_NodeMatcher* envoy_type_matcher_v3_NodeMatcher_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_NodeMatcher*)_upb_Message_New(&envoy_type_matcher_v3_NodeMatcher_msg_init, arena); + return (envoy_type_matcher_v3_NodeMatcher*)_upb_Message_New(&envoy__type__matcher__v3__NodeMatcher_msg_init, arena); } UPB_INLINE envoy_type_matcher_v3_NodeMatcher* envoy_type_matcher_v3_NodeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_matcher_v3_NodeMatcher* ret = envoy_type_matcher_v3_NodeMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_NodeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__NodeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -44,7 +48,7 @@ UPB_INLINE envoy_type_matcher_v3_NodeMatcher* envoy_type_matcher_v3_NodeMatcher_ int options, upb_Arena* arena) { envoy_type_matcher_v3_NodeMatcher* ret = envoy_type_matcher_v3_NodeMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_NodeMatcher_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__NodeMatcher_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -52,13 +56,13 @@ UPB_INLINE envoy_type_matcher_v3_NodeMatcher* envoy_type_matcher_v3_NodeMatcher_ } UPB_INLINE char* envoy_type_matcher_v3_NodeMatcher_serialize(const envoy_type_matcher_v3_NodeMatcher* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_NodeMatcher_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__matcher__v3__NodeMatcher_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_matcher_v3_NodeMatcher_serialize_ex(const envoy_type_matcher_v3_NodeMatcher* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_NodeMatcher_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__matcher__v3__NodeMatcher_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_type_matcher_v3_NodeMatcher_clear_node_id(envoy_type_matcher_v3_NodeMatcher* msg) { @@ -121,7 +125,7 @@ UPB_INLINE void envoy_type_matcher_v3_NodeMatcher_set_node_id(envoy_type_matcher UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_NodeMatcher_mutable_node_id(envoy_type_matcher_v3_NodeMatcher* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_type_matcher_v3_NodeMatcher_node_id(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); + sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); if (sub) envoy_type_matcher_v3_NodeMatcher_set_node_id(msg, sub); } return sub; @@ -147,14 +151,12 @@ UPB_INLINE struct envoy_type_matcher_v3_StructMatcher* envoy_type_matcher_v3_Nod if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct envoy_type_matcher_v3_StructMatcher* sub = (struct envoy_type_matcher_v3_StructMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StructMatcher_msg_init, arena); + struct envoy_type_matcher_v3_StructMatcher* sub = (struct envoy_type_matcher_v3_StructMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StructMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } -extern const upb_MiniTableFile envoy_type_matcher_v3_node_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c new file mode 100644 index 00000000000..7aeb8e7941c --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c @@ -0,0 +1,55 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/node.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/matcher/v3/node.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "envoy/type/matcher/v3/struct.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_matcher_v3_NodeMatcher_submsgs[2] = { + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, + {.submsg = &envoy__type__matcher__v3__StructMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_NodeMatcher__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__NodeMatcher_msg_init = { + &envoy_type_matcher_v3_NodeMatcher_submsgs[0], + &envoy_type_matcher_v3_NodeMatcher__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f010012, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__type__matcher__v3__NodeMatcher_msg_init, +}; + +const upb_MiniTableFile envoy_type_matcher_v3_node_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h new file mode 100644 index 00000000000..65c8e3cf6fd --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/node.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_NODE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_MATCHER_V3_NODE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__matcher__v3__NodeMatcher_msg_init; + +extern const upb_MiniTableFile envoy_type_matcher_v3_node_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_NODE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h similarity index 87% rename from src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h rename to src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h index 8bd83eec381..5ee017d2874 100644 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/number.proto * @@ -10,7 +9,15 @@ #define ENVOY_TYPE_MATCHER_V3_NUMBER_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/type/matcher/v3/number.upb_minitable.h" + +#include "envoy/type/v3/range.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +25,19 @@ extern "C" { #endif typedef struct envoy_type_matcher_v3_DoubleMatcher envoy_type_matcher_v3_DoubleMatcher; -extern const upb_MiniTable envoy_type_matcher_v3_DoubleMatcher_msg_init; struct envoy_type_v3_DoubleRange; -extern const upb_MiniTable envoy_type_v3_DoubleRange_msg_init; /* envoy.type.matcher.v3.DoubleMatcher */ UPB_INLINE envoy_type_matcher_v3_DoubleMatcher* envoy_type_matcher_v3_DoubleMatcher_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_DoubleMatcher*)_upb_Message_New(&envoy_type_matcher_v3_DoubleMatcher_msg_init, arena); + return (envoy_type_matcher_v3_DoubleMatcher*)_upb_Message_New(&envoy__type__matcher__v3__DoubleMatcher_msg_init, arena); } UPB_INLINE envoy_type_matcher_v3_DoubleMatcher* envoy_type_matcher_v3_DoubleMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_matcher_v3_DoubleMatcher* ret = envoy_type_matcher_v3_DoubleMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_DoubleMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__DoubleMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +47,7 @@ UPB_INLINE envoy_type_matcher_v3_DoubleMatcher* envoy_type_matcher_v3_DoubleMatc int options, upb_Arena* arena) { envoy_type_matcher_v3_DoubleMatcher* ret = envoy_type_matcher_v3_DoubleMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_DoubleMatcher_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__DoubleMatcher_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +55,13 @@ UPB_INLINE envoy_type_matcher_v3_DoubleMatcher* envoy_type_matcher_v3_DoubleMatc } UPB_INLINE char* envoy_type_matcher_v3_DoubleMatcher_serialize(const envoy_type_matcher_v3_DoubleMatcher* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_DoubleMatcher_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__matcher__v3__DoubleMatcher_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_matcher_v3_DoubleMatcher_serialize_ex(const envoy_type_matcher_v3_DoubleMatcher* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_DoubleMatcher_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__matcher__v3__DoubleMatcher_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -106,7 +111,7 @@ UPB_INLINE void envoy_type_matcher_v3_DoubleMatcher_set_range(envoy_type_matcher UPB_INLINE struct envoy_type_v3_DoubleRange* envoy_type_matcher_v3_DoubleMatcher_mutable_range(envoy_type_matcher_v3_DoubleMatcher* msg, upb_Arena* arena) { struct envoy_type_v3_DoubleRange* sub = (struct envoy_type_v3_DoubleRange*)envoy_type_matcher_v3_DoubleMatcher_range(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_DoubleRange*)_upb_Message_New(&envoy_type_v3_DoubleRange_msg_init, arena); + sub = (struct envoy_type_v3_DoubleRange*)_upb_Message_New(&envoy__type__v3__DoubleRange_msg_init, arena); if (sub) envoy_type_matcher_v3_DoubleMatcher_set_range(msg, sub); } return sub; @@ -116,8 +121,6 @@ UPB_INLINE void envoy_type_matcher_v3_DoubleMatcher_set_exact(envoy_type_matcher _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_type_matcher_v3_number_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c new file mode 100644 index 00000000000..519736b11fe --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c @@ -0,0 +1,54 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/number.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/matcher/v3/number.upb_minitable.h" +#include "envoy/type/v3/range.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_matcher_v3_DoubleMatcher_submsgs[1] = { + {.submsg = &envoy__type__v3__DoubleRange_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_DoubleMatcher__fields[2] = { + {1, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__DoubleMatcher_msg_init = { + &envoy_type_matcher_v3_DoubleMatcher_submsgs[0], + &envoy_type_matcher_v3_DoubleMatcher__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_maxmaxb}, + {0x0008000002000011, &upb_pof8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__type__matcher__v3__DoubleMatcher_msg_init, +}; + +const upb_MiniTableFile envoy_type_matcher_v3_number_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h new file mode 100644 index 00000000000..ecc48762e84 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/number.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_NUMBER_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_MATCHER_V3_NUMBER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__matcher__v3__DoubleMatcher_msg_init; + +extern const upb_MiniTableFile envoy_type_matcher_v3_number_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_NUMBER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h similarity index 83% rename from src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h rename to src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h index 249cefe29ef..b8369ea98e5 100644 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/path.proto * @@ -10,7 +9,15 @@ #define ENVOY_TYPE_MATCHER_V3_PATH_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/type/matcher/v3/path.upb_minitable.h" + +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +25,19 @@ extern "C" { #endif typedef struct envoy_type_matcher_v3_PathMatcher envoy_type_matcher_v3_PathMatcher; -extern const upb_MiniTable envoy_type_matcher_v3_PathMatcher_msg_init; struct envoy_type_matcher_v3_StringMatcher; -extern const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msg_init; /* envoy.type.matcher.v3.PathMatcher */ UPB_INLINE envoy_type_matcher_v3_PathMatcher* envoy_type_matcher_v3_PathMatcher_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_PathMatcher*)_upb_Message_New(&envoy_type_matcher_v3_PathMatcher_msg_init, arena); + return (envoy_type_matcher_v3_PathMatcher*)_upb_Message_New(&envoy__type__matcher__v3__PathMatcher_msg_init, arena); } UPB_INLINE envoy_type_matcher_v3_PathMatcher* envoy_type_matcher_v3_PathMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_matcher_v3_PathMatcher* ret = envoy_type_matcher_v3_PathMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_PathMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__PathMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +47,7 @@ UPB_INLINE envoy_type_matcher_v3_PathMatcher* envoy_type_matcher_v3_PathMatcher_ int options, upb_Arena* arena) { envoy_type_matcher_v3_PathMatcher* ret = envoy_type_matcher_v3_PathMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_PathMatcher_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__PathMatcher_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +55,13 @@ UPB_INLINE envoy_type_matcher_v3_PathMatcher* envoy_type_matcher_v3_PathMatcher_ } UPB_INLINE char* envoy_type_matcher_v3_PathMatcher_serialize(const envoy_type_matcher_v3_PathMatcher* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_PathMatcher_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__matcher__v3__PathMatcher_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_matcher_v3_PathMatcher_serialize_ex(const envoy_type_matcher_v3_PathMatcher* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_PathMatcher_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__matcher__v3__PathMatcher_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -90,14 +95,12 @@ UPB_INLINE void envoy_type_matcher_v3_PathMatcher_set_path(envoy_type_matcher_v3 UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_PathMatcher_mutable_path(envoy_type_matcher_v3_PathMatcher* msg, upb_Arena* arena) { struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_type_matcher_v3_PathMatcher_path(msg); if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); + sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); if (sub) envoy_type_matcher_v3_PathMatcher_set_path(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_type_matcher_v3_path_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c new file mode 100644 index 00000000000..d3fac774e3a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c @@ -0,0 +1,51 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/path.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/matcher/v3/path.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_matcher_v3_PathMatcher_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_PathMatcher__fields[1] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__PathMatcher_msg_init = { + &envoy_type_matcher_v3_PathMatcher_submsgs[0], + &envoy_type_matcher_v3_PathMatcher__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__type__matcher__v3__PathMatcher_msg_init, +}; + +const upb_MiniTableFile envoy_type_matcher_v3_path_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h new file mode 100644 index 00000000000..64280def130 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/path.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_PATH_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_MATCHER_V3_PATH_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__matcher__v3__PathMatcher_msg_init; + +extern const upb_MiniTableFile envoy_type_matcher_v3_path_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_PATH_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h new file mode 100644 index 00000000000..61a5bf08ee9 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h @@ -0,0 +1,271 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/regex.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_ +#define ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/type/matcher/v3/regex.upb_minitable.h" + +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_type_matcher_v3_RegexMatcher envoy_type_matcher_v3_RegexMatcher; +typedef struct envoy_type_matcher_v3_RegexMatcher_GoogleRE2 envoy_type_matcher_v3_RegexMatcher_GoogleRE2; +typedef struct envoy_type_matcher_v3_RegexMatchAndSubstitute envoy_type_matcher_v3_RegexMatchAndSubstitute; +struct google_protobuf_UInt32Value; + + + +/* envoy.type.matcher.v3.RegexMatcher */ + +UPB_INLINE envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_RegexMatcher_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_RegexMatcher*)_upb_Message_New(&envoy__type__matcher__v3__RegexMatcher_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_RegexMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_RegexMatcher* ret = envoy_type_matcher_v3_RegexMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__RegexMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_RegexMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_RegexMatcher* ret = envoy_type_matcher_v3_RegexMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__RegexMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_RegexMatcher_serialize(const envoy_type_matcher_v3_RegexMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__RegexMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_RegexMatcher_serialize_ex(const envoy_type_matcher_v3_RegexMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__RegexMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_type_matcher_v3_RegexMatcher_engine_type_google_re2 = 1, + envoy_type_matcher_v3_RegexMatcher_engine_type_NOT_SET = 0 +} envoy_type_matcher_v3_RegexMatcher_engine_type_oneofcases; +UPB_INLINE envoy_type_matcher_v3_RegexMatcher_engine_type_oneofcases envoy_type_matcher_v3_RegexMatcher_engine_type_case(const envoy_type_matcher_v3_RegexMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_type_matcher_v3_RegexMatcher_engine_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_clear_google_re2(envoy_type_matcher_v3_RegexMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* envoy_type_matcher_v3_RegexMatcher_google_re2(const envoy_type_matcher_v3_RegexMatcher* msg) { + const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* default_val = NULL; + const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_RegexMatcher_has_google_re2(const envoy_type_matcher_v3_RegexMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_clear_regex(envoy_type_matcher_v3_RegexMatcher* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_RegexMatcher_regex(const envoy_type_matcher_v3_RegexMatcher* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_set_google_re2(envoy_type_matcher_v3_RegexMatcher *msg, envoy_type_matcher_v3_RegexMatcher_GoogleRE2* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_RegexMatcher_GoogleRE2* envoy_type_matcher_v3_RegexMatcher_mutable_google_re2(envoy_type_matcher_v3_RegexMatcher* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_RegexMatcher_GoogleRE2* sub = (struct envoy_type_matcher_v3_RegexMatcher_GoogleRE2*)envoy_type_matcher_v3_RegexMatcher_google_re2(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_RegexMatcher_GoogleRE2*)_upb_Message_New(&envoy__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, arena); + if (sub) envoy_type_matcher_v3_RegexMatcher_set_google_re2(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_set_regex(envoy_type_matcher_v3_RegexMatcher *msg, upb_StringView value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.type.matcher.v3.RegexMatcher.GoogleRE2 */ + +UPB_INLINE envoy_type_matcher_v3_RegexMatcher_GoogleRE2* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_RegexMatcher_GoogleRE2*)_upb_Message_New(&envoy__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_RegexMatcher_GoogleRE2* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_RegexMatcher_GoogleRE2* ret = envoy_type_matcher_v3_RegexMatcher_GoogleRE2_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_RegexMatcher_GoogleRE2* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_RegexMatcher_GoogleRE2* ret = envoy_type_matcher_v3_RegexMatcher_GoogleRE2_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_serialize(const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_serialize_ex(const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_GoogleRE2_clear_max_program_size(envoy_type_matcher_v3_RegexMatcher_GoogleRE2* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_UInt32Value* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_max_program_size(const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* msg) { + const struct google_protobuf_UInt32Value* default_val = NULL; + const struct google_protobuf_UInt32Value* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_RegexMatcher_GoogleRE2_has_max_program_size(const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_GoogleRE2_set_max_program_size(envoy_type_matcher_v3_RegexMatcher_GoogleRE2 *msg, struct google_protobuf_UInt32Value* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_UInt32Value* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_mutable_max_program_size(envoy_type_matcher_v3_RegexMatcher_GoogleRE2* msg, upb_Arena* arena) { + struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_type_matcher_v3_RegexMatcher_GoogleRE2_max_program_size(msg); + if (sub == NULL) { + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); + if (sub) envoy_type_matcher_v3_RegexMatcher_GoogleRE2_set_max_program_size(msg, sub); + } + return sub; +} + +/* envoy.type.matcher.v3.RegexMatchAndSubstitute */ + +UPB_INLINE envoy_type_matcher_v3_RegexMatchAndSubstitute* envoy_type_matcher_v3_RegexMatchAndSubstitute_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_RegexMatchAndSubstitute*)_upb_Message_New(&envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_RegexMatchAndSubstitute* envoy_type_matcher_v3_RegexMatchAndSubstitute_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_RegexMatchAndSubstitute* ret = envoy_type_matcher_v3_RegexMatchAndSubstitute_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_RegexMatchAndSubstitute* envoy_type_matcher_v3_RegexMatchAndSubstitute_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_RegexMatchAndSubstitute* ret = envoy_type_matcher_v3_RegexMatchAndSubstitute_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_RegexMatchAndSubstitute_serialize(const envoy_type_matcher_v3_RegexMatchAndSubstitute* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_RegexMatchAndSubstitute_serialize_ex(const envoy_type_matcher_v3_RegexMatchAndSubstitute* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_matcher_v3_RegexMatchAndSubstitute_clear_pattern(envoy_type_matcher_v3_RegexMatchAndSubstitute* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_RegexMatchAndSubstitute_pattern(const envoy_type_matcher_v3_RegexMatchAndSubstitute* msg) { + const envoy_type_matcher_v3_RegexMatcher* default_val = NULL; + const envoy_type_matcher_v3_RegexMatcher* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_RegexMatchAndSubstitute_has_pattern(const envoy_type_matcher_v3_RegexMatchAndSubstitute* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_RegexMatchAndSubstitute_clear_substitution(envoy_type_matcher_v3_RegexMatchAndSubstitute* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_RegexMatchAndSubstitute_substitution(const envoy_type_matcher_v3_RegexMatchAndSubstitute* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_type_matcher_v3_RegexMatchAndSubstitute_set_pattern(envoy_type_matcher_v3_RegexMatchAndSubstitute *msg, envoy_type_matcher_v3_RegexMatcher* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_RegexMatchAndSubstitute_mutable_pattern(envoy_type_matcher_v3_RegexMatchAndSubstitute* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_RegexMatcher* sub = (struct envoy_type_matcher_v3_RegexMatcher*)envoy_type_matcher_v3_RegexMatchAndSubstitute_pattern(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_RegexMatcher*)_upb_Message_New(&envoy__type__matcher__v3__RegexMatcher_msg_init, arena); + if (sub) envoy_type_matcher_v3_RegexMatchAndSubstitute_set_pattern(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_type_matcher_v3_RegexMatchAndSubstitute_set_substitution(envoy_type_matcher_v3_RegexMatchAndSubstitute *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c new file mode 100644 index 00000000000..9d81dc33d73 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c @@ -0,0 +1,96 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/regex.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/matcher/v3/regex.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "envoy/annotations/deprecation.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_matcher_v3_RegexMatcher_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_RegexMatcher__fields[2] = { + {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__RegexMatcher_msg_init = { + &envoy_type_matcher_v3_RegexMatcher_submsgs[0], + &envoy_type_matcher_v3_RegexMatcher__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000100000a, &upb_pom_1bt_max64b}, + {0x000800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_type_matcher_v3_RegexMatcher_GoogleRE2_submsgs[1] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_RegexMatcher_GoogleRE2__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init = { + &envoy_type_matcher_v3_RegexMatcher_GoogleRE2_submsgs[0], + &envoy_type_matcher_v3_RegexMatcher_GoogleRE2__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub envoy_type_matcher_v3_RegexMatchAndSubstitute_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__RegexMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_RegexMatchAndSubstitute__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init = { + &envoy_type_matcher_v3_RegexMatchAndSubstitute_submsgs[0], + &envoy_type_matcher_v3_RegexMatchAndSubstitute__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[3] = { + &envoy__type__matcher__v3__RegexMatcher_msg_init, + &envoy__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, + &envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init, +}; + +const upb_MiniTableFile envoy_type_matcher_v3_regex_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 3, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h new file mode 100644 index 00000000000..70cb6c6c74e --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h @@ -0,0 +1,32 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/regex.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__matcher__v3__RegexMatcher_msg_init; +extern const upb_MiniTable envoy__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init; +extern const upb_MiniTable envoy__type__matcher__v3__RegexMatchAndSubstitute_msg_init; + +extern const upb_MiniTableFile envoy_type_matcher_v3_regex_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h new file mode 100644 index 00000000000..b269d2293d8 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h @@ -0,0 +1,109 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/status_code_input.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_STATUS_CODE_INPUT_PROTO_UPB_H_ +#define ENVOY_TYPE_MATCHER_V3_STATUS_CODE_INPUT_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/type/matcher/v3/status_code_input.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput; +typedef struct envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput; + + + +/* envoy.type.matcher.v3.HttpResponseStatusCodeMatchInput */ + +UPB_INLINE envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput*)_upb_Message_New(&envoy__type__matcher__v3__HttpResponseStatusCodeMatchInput_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* ret = envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpResponseStatusCodeMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* ret = envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpResponseStatusCodeMatchInput_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_serialize(const envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpResponseStatusCodeMatchInput_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpResponseStatusCodeMatchInput_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* envoy.type.matcher.v3.HttpResponseStatusCodeClassMatchInput */ + +UPB_INLINE envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput*)_upb_Message_New(&envoy__type__matcher__v3__HttpResponseStatusCodeClassMatchInput_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* ret = envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpResponseStatusCodeClassMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* ret = envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__HttpResponseStatusCodeClassMatchInput_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_serialize(const envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpResponseStatusCodeClassMatchInput_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__HttpResponseStatusCodeClassMatchInput_msg_init, options, arena, &ptr, len); + return ptr; +} + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_STATUS_CODE_INPUT_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c new file mode 100644 index 00000000000..0d8e4c40dc4 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c @@ -0,0 +1,43 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/status_code_input.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/matcher/v3/status_code_input.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +const upb_MiniTable envoy__type__matcher__v3__HttpResponseStatusCodeMatchInput_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +const upb_MiniTable envoy__type__matcher__v3__HttpResponseStatusCodeClassMatchInput_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__type__matcher__v3__HttpResponseStatusCodeMatchInput_msg_init, + &envoy__type__matcher__v3__HttpResponseStatusCodeClassMatchInput_msg_init, +}; + +const upb_MiniTableFile envoy_type_matcher_v3_status_code_input_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h new file mode 100644 index 00000000000..a6bf81448f1 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/status_code_input.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_STATUS_CODE_INPUT_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_MATCHER_V3_STATUS_CODE_INPUT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__matcher__v3__HttpResponseStatusCodeMatchInput_msg_init; +extern const upb_MiniTable envoy__type__matcher__v3__HttpResponseStatusCodeClassMatchInput_msg_init; + +extern const upb_MiniTableFile envoy_type_matcher_v3_status_code_input_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_STATUS_CODE_INPUT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h new file mode 100644 index 00000000000..512aebe5b2b --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h @@ -0,0 +1,306 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPB_H_ +#define ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/type/matcher/v3/string.upb_minitable.h" + +#include "envoy/type/matcher/v3/regex.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_type_matcher_v3_StringMatcher envoy_type_matcher_v3_StringMatcher; +typedef struct envoy_type_matcher_v3_ListStringMatcher envoy_type_matcher_v3_ListStringMatcher; +struct envoy_type_matcher_v3_RegexMatcher; + + + +/* envoy.type.matcher.v3.StringMatcher */ + +UPB_INLINE envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_StringMatcher_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_StringMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_StringMatcher* ret = envoy_type_matcher_v3_StringMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__StringMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_StringMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_StringMatcher* ret = envoy_type_matcher_v3_StringMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__StringMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_StringMatcher_serialize(const envoy_type_matcher_v3_StringMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__StringMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_StringMatcher_serialize_ex(const envoy_type_matcher_v3_StringMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__StringMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_type_matcher_v3_StringMatcher_match_pattern_exact = 1, + envoy_type_matcher_v3_StringMatcher_match_pattern_prefix = 2, + envoy_type_matcher_v3_StringMatcher_match_pattern_suffix = 3, + envoy_type_matcher_v3_StringMatcher_match_pattern_safe_regex = 5, + envoy_type_matcher_v3_StringMatcher_match_pattern_contains = 7, + envoy_type_matcher_v3_StringMatcher_match_pattern_NOT_SET = 0 +} envoy_type_matcher_v3_StringMatcher_match_pattern_oneofcases; +UPB_INLINE envoy_type_matcher_v3_StringMatcher_match_pattern_oneofcases envoy_type_matcher_v3_StringMatcher_match_pattern_case(const envoy_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return (envoy_type_matcher_v3_StringMatcher_match_pattern_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_StringMatcher_clear_exact(envoy_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_StringMatcher_exact(const envoy_type_matcher_v3_StringMatcher* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_has_exact(const envoy_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_StringMatcher_clear_prefix(envoy_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_StringMatcher_prefix(const envoy_type_matcher_v3_StringMatcher* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_has_prefix(const envoy_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_StringMatcher_clear_suffix(envoy_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_StringMatcher_suffix(const envoy_type_matcher_v3_StringMatcher* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_has_suffix(const envoy_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_StringMatcher_clear_safe_regex(envoy_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_StringMatcher_safe_regex(const envoy_type_matcher_v3_StringMatcher* msg) { + const struct envoy_type_matcher_v3_RegexMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_RegexMatcher* ret; + const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_has_safe_regex(const envoy_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_StringMatcher_clear_ignore_case(envoy_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_ignore_case(const envoy_type_matcher_v3_StringMatcher* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_type_matcher_v3_StringMatcher_clear_contains(envoy_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_StringMatcher_contains(const envoy_type_matcher_v3_StringMatcher* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_has_contains(const envoy_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_exact(envoy_type_matcher_v3_StringMatcher *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_prefix(envoy_type_matcher_v3_StringMatcher *msg, upb_StringView value) { + const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_suffix(envoy_type_matcher_v3_StringMatcher *msg, upb_StringView value) { + const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_safe_regex(envoy_type_matcher_v3_StringMatcher *msg, struct envoy_type_matcher_v3_RegexMatcher* value) { + const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_StringMatcher_mutable_safe_regex(envoy_type_matcher_v3_StringMatcher* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_RegexMatcher* sub = (struct envoy_type_matcher_v3_RegexMatcher*)envoy_type_matcher_v3_StringMatcher_safe_regex(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_RegexMatcher*)_upb_Message_New(&envoy__type__matcher__v3__RegexMatcher_msg_init, arena); + if (sub) envoy_type_matcher_v3_StringMatcher_set_safe_regex(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_ignore_case(envoy_type_matcher_v3_StringMatcher *msg, bool value) { + const upb_MiniTableField field = {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_contains(envoy_type_matcher_v3_StringMatcher *msg, upb_StringView value) { + const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.type.matcher.v3.ListStringMatcher */ + +UPB_INLINE envoy_type_matcher_v3_ListStringMatcher* envoy_type_matcher_v3_ListStringMatcher_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_ListStringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__ListStringMatcher_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_ListStringMatcher* envoy_type_matcher_v3_ListStringMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_ListStringMatcher* ret = envoy_type_matcher_v3_ListStringMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__ListStringMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_ListStringMatcher* envoy_type_matcher_v3_ListStringMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_ListStringMatcher* ret = envoy_type_matcher_v3_ListStringMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__ListStringMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_ListStringMatcher_serialize(const envoy_type_matcher_v3_ListStringMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__ListStringMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_ListStringMatcher_serialize_ex(const envoy_type_matcher_v3_ListStringMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__ListStringMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_matcher_v3_ListStringMatcher_clear_patterns(envoy_type_matcher_v3_ListStringMatcher* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_matcher_v3_StringMatcher* const* envoy_type_matcher_v3_ListStringMatcher_patterns(const envoy_type_matcher_v3_ListStringMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_type_matcher_v3_StringMatcher* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_type_matcher_v3_ListStringMatcher_patterns_upb_array(const envoy_type_matcher_v3_ListStringMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_type_matcher_v3_ListStringMatcher_patterns_mutable_upb_array(const envoy_type_matcher_v3_ListStringMatcher* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_type_matcher_v3_ListStringMatcher_has_patterns(const envoy_type_matcher_v3_ListStringMatcher* msg) { + size_t size; + envoy_type_matcher_v3_ListStringMatcher_patterns(msg, &size); + return size != 0; +} + +UPB_INLINE envoy_type_matcher_v3_StringMatcher** envoy_type_matcher_v3_ListStringMatcher_mutable_patterns(envoy_type_matcher_v3_ListStringMatcher* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_type_matcher_v3_StringMatcher**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_type_matcher_v3_StringMatcher** envoy_type_matcher_v3_ListStringMatcher_resize_patterns(envoy_type_matcher_v3_ListStringMatcher* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_type_matcher_v3_StringMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_ListStringMatcher_add_patterns(envoy_type_matcher_v3_ListStringMatcher* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c new file mode 100644 index 00000000000..6570c1e242a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c @@ -0,0 +1,81 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "envoy/type/matcher/v3/regex.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_matcher_v3_StringMatcher_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__RegexMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_StringMatcher__fields[6] = { + {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__StringMatcher_msg_init = { + &envoy_type_matcher_v3_StringMatcher_submsgs[0], + &envoy_type_matcher_v3_StringMatcher__fields[0], + UPB_SIZE(16, 24), 6, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800040100000a, &upb_pos_1bt}, + {0x0008000402000012, &upb_pos_1bt}, + {0x000800040300001a, &upb_pos_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800040500002a, &upb_pom_1bt_maxmaxb}, + {0x000000003f000030, &upb_psb1_1bt}, + {0x000800040700003a, &upb_pos_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_type_matcher_v3_ListStringMatcher_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_ListStringMatcher__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__ListStringMatcher_msg_init = { + &envoy_type_matcher_v3_ListStringMatcher_submsgs[0], + &envoy_type_matcher_v3_ListStringMatcher__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__type__matcher__v3__StringMatcher_msg_init, + &envoy__type__matcher__v3__ListStringMatcher_msg_init, +}; + +const upb_MiniTableFile envoy_type_matcher_v3_string_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h new file mode 100644 index 00000000000..961f4c6c26c --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__matcher__v3__StringMatcher_msg_init; +extern const upb_MiniTable envoy__type__matcher__v3__ListStringMatcher_msg_init; + +extern const upb_MiniTableFile envoy_type_matcher_v3_string_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h new file mode 100644 index 00000000000..011484425f1 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h @@ -0,0 +1,230 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/struct.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPB_H_ +#define ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/type/matcher/v3/struct.upb_minitable.h" + +#include "envoy/type/matcher/v3/value.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_type_matcher_v3_StructMatcher envoy_type_matcher_v3_StructMatcher; +typedef struct envoy_type_matcher_v3_StructMatcher_PathSegment envoy_type_matcher_v3_StructMatcher_PathSegment; +struct envoy_type_matcher_v3_ValueMatcher; + + + +/* envoy.type.matcher.v3.StructMatcher */ + +UPB_INLINE envoy_type_matcher_v3_StructMatcher* envoy_type_matcher_v3_StructMatcher_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_StructMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StructMatcher_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_StructMatcher* envoy_type_matcher_v3_StructMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_StructMatcher* ret = envoy_type_matcher_v3_StructMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__StructMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_StructMatcher* envoy_type_matcher_v3_StructMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_StructMatcher* ret = envoy_type_matcher_v3_StructMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__StructMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_StructMatcher_serialize(const envoy_type_matcher_v3_StructMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__StructMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_StructMatcher_serialize_ex(const envoy_type_matcher_v3_StructMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__StructMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_matcher_v3_StructMatcher_clear_path(envoy_type_matcher_v3_StructMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_matcher_v3_StructMatcher_PathSegment* const* envoy_type_matcher_v3_StructMatcher_path(const envoy_type_matcher_v3_StructMatcher* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_type_matcher_v3_StructMatcher_PathSegment* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_type_matcher_v3_StructMatcher_path_upb_array(const envoy_type_matcher_v3_StructMatcher* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_type_matcher_v3_StructMatcher_path_mutable_upb_array(const envoy_type_matcher_v3_StructMatcher* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_type_matcher_v3_StructMatcher_has_path(const envoy_type_matcher_v3_StructMatcher* msg) { + size_t size; + envoy_type_matcher_v3_StructMatcher_path(msg, &size); + return size != 0; +} +UPB_INLINE void envoy_type_matcher_v3_StructMatcher_clear_value(envoy_type_matcher_v3_StructMatcher* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_StructMatcher_value(const envoy_type_matcher_v3_StructMatcher* msg) { + const struct envoy_type_matcher_v3_ValueMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_ValueMatcher* ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_StructMatcher_has_value(const envoy_type_matcher_v3_StructMatcher* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE envoy_type_matcher_v3_StructMatcher_PathSegment** envoy_type_matcher_v3_StructMatcher_mutable_path(envoy_type_matcher_v3_StructMatcher* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_type_matcher_v3_StructMatcher_PathSegment**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_type_matcher_v3_StructMatcher_PathSegment** envoy_type_matcher_v3_StructMatcher_resize_path(envoy_type_matcher_v3_StructMatcher* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_type_matcher_v3_StructMatcher_PathSegment**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_type_matcher_v3_StructMatcher_PathSegment* envoy_type_matcher_v3_StructMatcher_add_path(envoy_type_matcher_v3_StructMatcher* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_type_matcher_v3_StructMatcher_PathSegment* sub = (struct envoy_type_matcher_v3_StructMatcher_PathSegment*)_upb_Message_New(&envoy__type__matcher__v3__StructMatcher__PathSegment_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void envoy_type_matcher_v3_StructMatcher_set_value(envoy_type_matcher_v3_StructMatcher *msg, struct envoy_type_matcher_v3_ValueMatcher* value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_StructMatcher_mutable_value(envoy_type_matcher_v3_StructMatcher* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_ValueMatcher* sub = (struct envoy_type_matcher_v3_ValueMatcher*)envoy_type_matcher_v3_StructMatcher_value(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_ValueMatcher*)_upb_Message_New(&envoy__type__matcher__v3__ValueMatcher_msg_init, arena); + if (sub) envoy_type_matcher_v3_StructMatcher_set_value(msg, sub); + } + return sub; +} + +/* envoy.type.matcher.v3.StructMatcher.PathSegment */ + +UPB_INLINE envoy_type_matcher_v3_StructMatcher_PathSegment* envoy_type_matcher_v3_StructMatcher_PathSegment_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_StructMatcher_PathSegment*)_upb_Message_New(&envoy__type__matcher__v3__StructMatcher__PathSegment_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_StructMatcher_PathSegment* envoy_type_matcher_v3_StructMatcher_PathSegment_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_StructMatcher_PathSegment* ret = envoy_type_matcher_v3_StructMatcher_PathSegment_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__StructMatcher__PathSegment_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_StructMatcher_PathSegment* envoy_type_matcher_v3_StructMatcher_PathSegment_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_StructMatcher_PathSegment* ret = envoy_type_matcher_v3_StructMatcher_PathSegment_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__StructMatcher__PathSegment_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_StructMatcher_PathSegment_serialize(const envoy_type_matcher_v3_StructMatcher_PathSegment* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__StructMatcher__PathSegment_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_StructMatcher_PathSegment_serialize_ex(const envoy_type_matcher_v3_StructMatcher_PathSegment* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__StructMatcher__PathSegment_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_type_matcher_v3_StructMatcher_PathSegment_segment_key = 1, + envoy_type_matcher_v3_StructMatcher_PathSegment_segment_NOT_SET = 0 +} envoy_type_matcher_v3_StructMatcher_PathSegment_segment_oneofcases; +UPB_INLINE envoy_type_matcher_v3_StructMatcher_PathSegment_segment_oneofcases envoy_type_matcher_v3_StructMatcher_PathSegment_segment_case(const envoy_type_matcher_v3_StructMatcher_PathSegment* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return (envoy_type_matcher_v3_StructMatcher_PathSegment_segment_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_StructMatcher_PathSegment_clear_key(envoy_type_matcher_v3_StructMatcher_PathSegment* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_matcher_v3_StructMatcher_PathSegment_key(const envoy_type_matcher_v3_StructMatcher_PathSegment* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_StructMatcher_PathSegment_has_key(const envoy_type_matcher_v3_StructMatcher_PathSegment* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_type_matcher_v3_StructMatcher_PathSegment_set_key(envoy_type_matcher_v3_StructMatcher_PathSegment *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c new file mode 100644 index 00000000000..8cc769bb044 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c @@ -0,0 +1,70 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/struct.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/matcher/v3/struct.upb_minitable.h" +#include "envoy/type/matcher/v3/value.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_matcher_v3_StructMatcher_submsgs[2] = { + {.submsg = &envoy__type__matcher__v3__StructMatcher__PathSegment_msg_init}, + {.submsg = &envoy__type__matcher__v3__ValueMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_StructMatcher__fields[2] = { + {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__StructMatcher_msg_init = { + &envoy_type_matcher_v3_StructMatcher_submsgs[0], + &envoy_type_matcher_v3_StructMatcher__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000012, &upb_prm_1bt_max64b}, + {0x001000000101001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableField envoy_type_matcher_v3_StructMatcher_PathSegment__fields[1] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__StructMatcher__PathSegment_msg_init = { + NULL, + &envoy_type_matcher_v3_StructMatcher_PathSegment__fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__type__matcher__v3__StructMatcher_msg_init, + &envoy__type__matcher__v3__StructMatcher__PathSegment_msg_init, +}; + +const upb_MiniTableFile envoy_type_matcher_v3_struct_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h new file mode 100644 index 00000000000..fdc1e736f6a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/struct.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__matcher__v3__StructMatcher_msg_init; +extern const upb_MiniTable envoy__type__matcher__v3__StructMatcher__PathSegment_msg_init; + +extern const upb_MiniTableFile envoy_type_matcher_v3_struct_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h new file mode 100644 index 00000000000..ac303d4de03 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h @@ -0,0 +1,476 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/value.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_VALUE_PROTO_UPB_H_ +#define ENVOY_TYPE_MATCHER_V3_VALUE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/type/matcher/v3/value.upb_minitable.h" + +#include "envoy/type/matcher/v3/number.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_type_matcher_v3_ValueMatcher envoy_type_matcher_v3_ValueMatcher; +typedef struct envoy_type_matcher_v3_ValueMatcher_NullMatch envoy_type_matcher_v3_ValueMatcher_NullMatch; +typedef struct envoy_type_matcher_v3_ListMatcher envoy_type_matcher_v3_ListMatcher; +typedef struct envoy_type_matcher_v3_OrMatcher envoy_type_matcher_v3_OrMatcher; +struct envoy_type_matcher_v3_DoubleMatcher; +struct envoy_type_matcher_v3_StringMatcher; + + + +/* envoy.type.matcher.v3.ValueMatcher */ + +UPB_INLINE envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_ValueMatcher_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_ValueMatcher*)_upb_Message_New(&envoy__type__matcher__v3__ValueMatcher_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_ValueMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_ValueMatcher* ret = envoy_type_matcher_v3_ValueMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__ValueMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_ValueMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_ValueMatcher* ret = envoy_type_matcher_v3_ValueMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__ValueMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_ValueMatcher_serialize(const envoy_type_matcher_v3_ValueMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__ValueMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_ValueMatcher_serialize_ex(const envoy_type_matcher_v3_ValueMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__ValueMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_type_matcher_v3_ValueMatcher_match_pattern_null_match = 1, + envoy_type_matcher_v3_ValueMatcher_match_pattern_double_match = 2, + envoy_type_matcher_v3_ValueMatcher_match_pattern_string_match = 3, + envoy_type_matcher_v3_ValueMatcher_match_pattern_bool_match = 4, + envoy_type_matcher_v3_ValueMatcher_match_pattern_present_match = 5, + envoy_type_matcher_v3_ValueMatcher_match_pattern_list_match = 6, + envoy_type_matcher_v3_ValueMatcher_match_pattern_or_match = 7, + envoy_type_matcher_v3_ValueMatcher_match_pattern_NOT_SET = 0 +} envoy_type_matcher_v3_ValueMatcher_match_pattern_oneofcases; +UPB_INLINE envoy_type_matcher_v3_ValueMatcher_match_pattern_oneofcases envoy_type_matcher_v3_ValueMatcher_match_pattern_case(const envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_type_matcher_v3_ValueMatcher_match_pattern_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_clear_null_match(envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_matcher_v3_ValueMatcher_NullMatch* envoy_type_matcher_v3_ValueMatcher_null_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + const envoy_type_matcher_v3_ValueMatcher_NullMatch* default_val = NULL; + const envoy_type_matcher_v3_ValueMatcher_NullMatch* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_has_null_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_clear_double_match(envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_DoubleMatcher* envoy_type_matcher_v3_ValueMatcher_double_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + const struct envoy_type_matcher_v3_DoubleMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_DoubleMatcher* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_has_double_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_clear_string_match(envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_ValueMatcher_string_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + const struct envoy_type_matcher_v3_StringMatcher* default_val = NULL; + const struct envoy_type_matcher_v3_StringMatcher* ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_has_string_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_clear_bool_match(envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_bool_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_has_bool_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_clear_present_match(envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_present_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_has_present_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_clear_list_match(envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_matcher_v3_ListMatcher* envoy_type_matcher_v3_ValueMatcher_list_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + const envoy_type_matcher_v3_ListMatcher* default_val = NULL; + const envoy_type_matcher_v3_ListMatcher* ret; + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_has_list_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_clear_or_match(envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_matcher_v3_OrMatcher* envoy_type_matcher_v3_ValueMatcher_or_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + const envoy_type_matcher_v3_OrMatcher* default_val = NULL; + const envoy_type_matcher_v3_OrMatcher* ret; + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_has_or_match(const envoy_type_matcher_v3_ValueMatcher* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_set_null_match(envoy_type_matcher_v3_ValueMatcher *msg, envoy_type_matcher_v3_ValueMatcher_NullMatch* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_ValueMatcher_NullMatch* envoy_type_matcher_v3_ValueMatcher_mutable_null_match(envoy_type_matcher_v3_ValueMatcher* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_ValueMatcher_NullMatch* sub = (struct envoy_type_matcher_v3_ValueMatcher_NullMatch*)envoy_type_matcher_v3_ValueMatcher_null_match(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_ValueMatcher_NullMatch*)_upb_Message_New(&envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init, arena); + if (sub) envoy_type_matcher_v3_ValueMatcher_set_null_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_set_double_match(envoy_type_matcher_v3_ValueMatcher *msg, struct envoy_type_matcher_v3_DoubleMatcher* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_DoubleMatcher* envoy_type_matcher_v3_ValueMatcher_mutable_double_match(envoy_type_matcher_v3_ValueMatcher* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_DoubleMatcher* sub = (struct envoy_type_matcher_v3_DoubleMatcher*)envoy_type_matcher_v3_ValueMatcher_double_match(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_DoubleMatcher*)_upb_Message_New(&envoy__type__matcher__v3__DoubleMatcher_msg_init, arena); + if (sub) envoy_type_matcher_v3_ValueMatcher_set_double_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_set_string_match(envoy_type_matcher_v3_ValueMatcher *msg, struct envoy_type_matcher_v3_StringMatcher* value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_ValueMatcher_mutable_string_match(envoy_type_matcher_v3_ValueMatcher* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_type_matcher_v3_ValueMatcher_string_match(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy__type__matcher__v3__StringMatcher_msg_init, arena); + if (sub) envoy_type_matcher_v3_ValueMatcher_set_string_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_set_bool_match(envoy_type_matcher_v3_ValueMatcher *msg, bool value) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_set_present_match(envoy_type_matcher_v3_ValueMatcher *msg, bool value) { + const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_set_list_match(envoy_type_matcher_v3_ValueMatcher *msg, envoy_type_matcher_v3_ListMatcher* value) { + const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_ListMatcher* envoy_type_matcher_v3_ValueMatcher_mutable_list_match(envoy_type_matcher_v3_ValueMatcher* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_ListMatcher* sub = (struct envoy_type_matcher_v3_ListMatcher*)envoy_type_matcher_v3_ValueMatcher_list_match(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_ListMatcher*)_upb_Message_New(&envoy__type__matcher__v3__ListMatcher_msg_init, arena); + if (sub) envoy_type_matcher_v3_ValueMatcher_set_list_match(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_set_or_match(envoy_type_matcher_v3_ValueMatcher *msg, envoy_type_matcher_v3_OrMatcher* value) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_OrMatcher* envoy_type_matcher_v3_ValueMatcher_mutable_or_match(envoy_type_matcher_v3_ValueMatcher* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_OrMatcher* sub = (struct envoy_type_matcher_v3_OrMatcher*)envoy_type_matcher_v3_ValueMatcher_or_match(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_OrMatcher*)_upb_Message_New(&envoy__type__matcher__v3__OrMatcher_msg_init, arena); + if (sub) envoy_type_matcher_v3_ValueMatcher_set_or_match(msg, sub); + } + return sub; +} + +/* envoy.type.matcher.v3.ValueMatcher.NullMatch */ + +UPB_INLINE envoy_type_matcher_v3_ValueMatcher_NullMatch* envoy_type_matcher_v3_ValueMatcher_NullMatch_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_ValueMatcher_NullMatch*)_upb_Message_New(&envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_ValueMatcher_NullMatch* envoy_type_matcher_v3_ValueMatcher_NullMatch_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_ValueMatcher_NullMatch* ret = envoy_type_matcher_v3_ValueMatcher_NullMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_ValueMatcher_NullMatch* envoy_type_matcher_v3_ValueMatcher_NullMatch_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_ValueMatcher_NullMatch* ret = envoy_type_matcher_v3_ValueMatcher_NullMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_ValueMatcher_NullMatch_serialize(const envoy_type_matcher_v3_ValueMatcher_NullMatch* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_ValueMatcher_NullMatch_serialize_ex(const envoy_type_matcher_v3_ValueMatcher_NullMatch* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* envoy.type.matcher.v3.ListMatcher */ + +UPB_INLINE envoy_type_matcher_v3_ListMatcher* envoy_type_matcher_v3_ListMatcher_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_ListMatcher*)_upb_Message_New(&envoy__type__matcher__v3__ListMatcher_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_ListMatcher* envoy_type_matcher_v3_ListMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_ListMatcher* ret = envoy_type_matcher_v3_ListMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__ListMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_ListMatcher* envoy_type_matcher_v3_ListMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_ListMatcher* ret = envoy_type_matcher_v3_ListMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__ListMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_ListMatcher_serialize(const envoy_type_matcher_v3_ListMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__ListMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_ListMatcher_serialize_ex(const envoy_type_matcher_v3_ListMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__ListMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_type_matcher_v3_ListMatcher_match_pattern_one_of = 1, + envoy_type_matcher_v3_ListMatcher_match_pattern_NOT_SET = 0 +} envoy_type_matcher_v3_ListMatcher_match_pattern_oneofcases; +UPB_INLINE envoy_type_matcher_v3_ListMatcher_match_pattern_oneofcases envoy_type_matcher_v3_ListMatcher_match_pattern_case(const envoy_type_matcher_v3_ListMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_type_matcher_v3_ListMatcher_match_pattern_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_type_matcher_v3_ListMatcher_clear_one_of(envoy_type_matcher_v3_ListMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_ListMatcher_one_of(const envoy_type_matcher_v3_ListMatcher* msg) { + const envoy_type_matcher_v3_ValueMatcher* default_val = NULL; + const envoy_type_matcher_v3_ValueMatcher* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_matcher_v3_ListMatcher_has_one_of(const envoy_type_matcher_v3_ListMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_type_matcher_v3_ListMatcher_set_one_of(envoy_type_matcher_v3_ListMatcher *msg, envoy_type_matcher_v3_ValueMatcher* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_ListMatcher_mutable_one_of(envoy_type_matcher_v3_ListMatcher* msg, upb_Arena* arena) { + struct envoy_type_matcher_v3_ValueMatcher* sub = (struct envoy_type_matcher_v3_ValueMatcher*)envoy_type_matcher_v3_ListMatcher_one_of(msg); + if (sub == NULL) { + sub = (struct envoy_type_matcher_v3_ValueMatcher*)_upb_Message_New(&envoy__type__matcher__v3__ValueMatcher_msg_init, arena); + if (sub) envoy_type_matcher_v3_ListMatcher_set_one_of(msg, sub); + } + return sub; +} + +/* envoy.type.matcher.v3.OrMatcher */ + +UPB_INLINE envoy_type_matcher_v3_OrMatcher* envoy_type_matcher_v3_OrMatcher_new(upb_Arena* arena) { + return (envoy_type_matcher_v3_OrMatcher*)_upb_Message_New(&envoy__type__matcher__v3__OrMatcher_msg_init, arena); +} +UPB_INLINE envoy_type_matcher_v3_OrMatcher* envoy_type_matcher_v3_OrMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_matcher_v3_OrMatcher* ret = envoy_type_matcher_v3_OrMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__OrMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_matcher_v3_OrMatcher* envoy_type_matcher_v3_OrMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_matcher_v3_OrMatcher* ret = envoy_type_matcher_v3_OrMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__matcher__v3__OrMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_matcher_v3_OrMatcher_serialize(const envoy_type_matcher_v3_OrMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__OrMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_matcher_v3_OrMatcher_serialize_ex(const envoy_type_matcher_v3_OrMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__matcher__v3__OrMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_matcher_v3_OrMatcher_clear_value_matchers(envoy_type_matcher_v3_OrMatcher* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_matcher_v3_ValueMatcher* const* envoy_type_matcher_v3_OrMatcher_value_matchers(const envoy_type_matcher_v3_OrMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_type_matcher_v3_ValueMatcher* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_type_matcher_v3_OrMatcher_value_matchers_upb_array(const envoy_type_matcher_v3_OrMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_type_matcher_v3_OrMatcher_value_matchers_mutable_upb_array(const envoy_type_matcher_v3_OrMatcher* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_type_matcher_v3_OrMatcher_has_value_matchers(const envoy_type_matcher_v3_OrMatcher* msg) { + size_t size; + envoy_type_matcher_v3_OrMatcher_value_matchers(msg, &size); + return size != 0; +} + +UPB_INLINE envoy_type_matcher_v3_ValueMatcher** envoy_type_matcher_v3_OrMatcher_mutable_value_matchers(envoy_type_matcher_v3_OrMatcher* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_type_matcher_v3_ValueMatcher**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_type_matcher_v3_ValueMatcher** envoy_type_matcher_v3_OrMatcher_resize_value_matchers(envoy_type_matcher_v3_OrMatcher* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_type_matcher_v3_ValueMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_OrMatcher_add_value_matchers(envoy_type_matcher_v3_OrMatcher* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_type_matcher_v3_ValueMatcher* sub = (struct envoy_type_matcher_v3_ValueMatcher*)_upb_Message_New(&envoy__type__matcher__v3__ValueMatcher_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_VALUE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c new file mode 100644 index 00000000000..7b0ceb2d274 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c @@ -0,0 +1,113 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/value.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/matcher/v3/value.upb_minitable.h" +#include "envoy/type/matcher/v3/number.upb_minitable.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_matcher_v3_ValueMatcher_submsgs[5] = { + {.submsg = &envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init}, + {.submsg = &envoy__type__matcher__v3__DoubleMatcher_msg_init}, + {.submsg = &envoy__type__matcher__v3__StringMatcher_msg_init}, + {.submsg = &envoy__type__matcher__v3__ListMatcher_msg_init}, + {.submsg = &envoy__type__matcher__v3__OrMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_ValueMatcher__fields[7] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__ValueMatcher_msg_init = { + &envoy_type_matcher_v3_ValueMatcher_submsgs[0], + &envoy_type_matcher_v3_ValueMatcher__fields[0], + UPB_SIZE(8, 16), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_maxmaxb}, + {0x000800000302001a, &upb_pom_1bt_maxmaxb}, + {0x0008000004000020, &upb_pob1_1bt}, + {0x0008000005000028, &upb_pob1_1bt}, + {0x0008000006030032, &upb_pom_1bt_max64b}, + {0x000800000704003a, &upb_pom_1bt_max64b}, + }) +}; + +const upb_MiniTable envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub envoy_type_matcher_v3_ListMatcher_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__ValueMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_ListMatcher__fields[1] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__ListMatcher_msg_init = { + &envoy_type_matcher_v3_ListMatcher_submsgs[0], + &envoy_type_matcher_v3_ListMatcher__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub envoy_type_matcher_v3_OrMatcher_submsgs[1] = { + {.submsg = &envoy__type__matcher__v3__ValueMatcher_msg_init}, +}; + +static const upb_MiniTableField envoy_type_matcher_v3_OrMatcher__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__matcher__v3__OrMatcher_msg_init = { + &envoy_type_matcher_v3_OrMatcher_submsgs[0], + &envoy_type_matcher_v3_OrMatcher__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTable *messages_layout[4] = { + &envoy__type__matcher__v3__ValueMatcher_msg_init, + &envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init, + &envoy__type__matcher__v3__ListMatcher_msg_init, + &envoy__type__matcher__v3__OrMatcher_msg_init, +}; + +const upb_MiniTableFile envoy_type_matcher_v3_value_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 4, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h new file mode 100644 index 00000000000..c9e09e3b4fd --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h @@ -0,0 +1,33 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/value.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_VALUE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_MATCHER_V3_VALUE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__matcher__v3__ValueMatcher_msg_init; +extern const upb_MiniTable envoy__type__matcher__v3__ValueMatcher__NullMatch_msg_init; +extern const upb_MiniTable envoy__type__matcher__v3__ListMatcher_msg_init; +extern const upb_MiniTable envoy__type__matcher__v3__OrMatcher_msg_init; + +extern const upb_MiniTableFile envoy_type_matcher_v3_value_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_VALUE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h b/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h new file mode 100644 index 00000000000..76161e933ba --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h @@ -0,0 +1,525 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/metadata/v3/metadata.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPB_H_ +#define ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/type/metadata/v3/metadata.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_type_metadata_v3_MetadataKey envoy_type_metadata_v3_MetadataKey; +typedef struct envoy_type_metadata_v3_MetadataKey_PathSegment envoy_type_metadata_v3_MetadataKey_PathSegment; +typedef struct envoy_type_metadata_v3_MetadataKind envoy_type_metadata_v3_MetadataKind; +typedef struct envoy_type_metadata_v3_MetadataKind_Request envoy_type_metadata_v3_MetadataKind_Request; +typedef struct envoy_type_metadata_v3_MetadataKind_Route envoy_type_metadata_v3_MetadataKind_Route; +typedef struct envoy_type_metadata_v3_MetadataKind_Cluster envoy_type_metadata_v3_MetadataKind_Cluster; +typedef struct envoy_type_metadata_v3_MetadataKind_Host envoy_type_metadata_v3_MetadataKind_Host; + + + +/* envoy.type.metadata.v3.MetadataKey */ + +UPB_INLINE envoy_type_metadata_v3_MetadataKey* envoy_type_metadata_v3_MetadataKey_new(upb_Arena* arena) { + return (envoy_type_metadata_v3_MetadataKey*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKey_msg_init, arena); +} +UPB_INLINE envoy_type_metadata_v3_MetadataKey* envoy_type_metadata_v3_MetadataKey_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKey* ret = envoy_type_metadata_v3_MetadataKey_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKey_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_metadata_v3_MetadataKey* envoy_type_metadata_v3_MetadataKey_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKey* ret = envoy_type_metadata_v3_MetadataKey_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKey_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKey_serialize(const envoy_type_metadata_v3_MetadataKey* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKey_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKey_serialize_ex(const envoy_type_metadata_v3_MetadataKey* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKey_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_metadata_v3_MetadataKey_clear_key(envoy_type_metadata_v3_MetadataKey* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_metadata_v3_MetadataKey_key(const envoy_type_metadata_v3_MetadataKey* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_type_metadata_v3_MetadataKey_clear_path(envoy_type_metadata_v3_MetadataKey* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_metadata_v3_MetadataKey_PathSegment* const* envoy_type_metadata_v3_MetadataKey_path(const envoy_type_metadata_v3_MetadataKey* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const envoy_type_metadata_v3_MetadataKey_PathSegment* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _envoy_type_metadata_v3_MetadataKey_path_upb_array(const envoy_type_metadata_v3_MetadataKey* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _envoy_type_metadata_v3_MetadataKey_path_mutable_upb_array(const envoy_type_metadata_v3_MetadataKey* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool envoy_type_metadata_v3_MetadataKey_has_path(const envoy_type_metadata_v3_MetadataKey* msg) { + size_t size; + envoy_type_metadata_v3_MetadataKey_path(msg, &size); + return size != 0; +} + +UPB_INLINE void envoy_type_metadata_v3_MetadataKey_set_key(envoy_type_metadata_v3_MetadataKey *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE envoy_type_metadata_v3_MetadataKey_PathSegment** envoy_type_metadata_v3_MetadataKey_mutable_path(envoy_type_metadata_v3_MetadataKey* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (envoy_type_metadata_v3_MetadataKey_PathSegment**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE envoy_type_metadata_v3_MetadataKey_PathSegment** envoy_type_metadata_v3_MetadataKey_resize_path(envoy_type_metadata_v3_MetadataKey* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_type_metadata_v3_MetadataKey_PathSegment**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct envoy_type_metadata_v3_MetadataKey_PathSegment* envoy_type_metadata_v3_MetadataKey_add_path(envoy_type_metadata_v3_MetadataKey* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct envoy_type_metadata_v3_MetadataKey_PathSegment* sub = (struct envoy_type_metadata_v3_MetadataKey_PathSegment*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKey__PathSegment_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* envoy.type.metadata.v3.MetadataKey.PathSegment */ + +UPB_INLINE envoy_type_metadata_v3_MetadataKey_PathSegment* envoy_type_metadata_v3_MetadataKey_PathSegment_new(upb_Arena* arena) { + return (envoy_type_metadata_v3_MetadataKey_PathSegment*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKey__PathSegment_msg_init, arena); +} +UPB_INLINE envoy_type_metadata_v3_MetadataKey_PathSegment* envoy_type_metadata_v3_MetadataKey_PathSegment_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKey_PathSegment* ret = envoy_type_metadata_v3_MetadataKey_PathSegment_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKey__PathSegment_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_metadata_v3_MetadataKey_PathSegment* envoy_type_metadata_v3_MetadataKey_PathSegment_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKey_PathSegment* ret = envoy_type_metadata_v3_MetadataKey_PathSegment_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKey__PathSegment_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKey_PathSegment_serialize(const envoy_type_metadata_v3_MetadataKey_PathSegment* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKey__PathSegment_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKey_PathSegment_serialize_ex(const envoy_type_metadata_v3_MetadataKey_PathSegment* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKey__PathSegment_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_type_metadata_v3_MetadataKey_PathSegment_segment_key = 1, + envoy_type_metadata_v3_MetadataKey_PathSegment_segment_NOT_SET = 0 +} envoy_type_metadata_v3_MetadataKey_PathSegment_segment_oneofcases; +UPB_INLINE envoy_type_metadata_v3_MetadataKey_PathSegment_segment_oneofcases envoy_type_metadata_v3_MetadataKey_PathSegment_segment_case(const envoy_type_metadata_v3_MetadataKey_PathSegment* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return (envoy_type_metadata_v3_MetadataKey_PathSegment_segment_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_type_metadata_v3_MetadataKey_PathSegment_clear_key(envoy_type_metadata_v3_MetadataKey_PathSegment* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView envoy_type_metadata_v3_MetadataKey_PathSegment_key(const envoy_type_metadata_v3_MetadataKey_PathSegment* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_metadata_v3_MetadataKey_PathSegment_has_key(const envoy_type_metadata_v3_MetadataKey_PathSegment* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_type_metadata_v3_MetadataKey_PathSegment_set_key(envoy_type_metadata_v3_MetadataKey_PathSegment *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.type.metadata.v3.MetadataKind */ + +UPB_INLINE envoy_type_metadata_v3_MetadataKind* envoy_type_metadata_v3_MetadataKind_new(upb_Arena* arena) { + return (envoy_type_metadata_v3_MetadataKind*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKind_msg_init, arena); +} +UPB_INLINE envoy_type_metadata_v3_MetadataKind* envoy_type_metadata_v3_MetadataKind_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKind* ret = envoy_type_metadata_v3_MetadataKind_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKind_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_metadata_v3_MetadataKind* envoy_type_metadata_v3_MetadataKind_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKind* ret = envoy_type_metadata_v3_MetadataKind_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKind_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_serialize(const envoy_type_metadata_v3_MetadataKind* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKind_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_serialize_ex(const envoy_type_metadata_v3_MetadataKind* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKind_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + envoy_type_metadata_v3_MetadataKind_kind_request = 1, + envoy_type_metadata_v3_MetadataKind_kind_route = 2, + envoy_type_metadata_v3_MetadataKind_kind_cluster = 3, + envoy_type_metadata_v3_MetadataKind_kind_host = 4, + envoy_type_metadata_v3_MetadataKind_kind_NOT_SET = 0 +} envoy_type_metadata_v3_MetadataKind_kind_oneofcases; +UPB_INLINE envoy_type_metadata_v3_MetadataKind_kind_oneofcases envoy_type_metadata_v3_MetadataKind_kind_case(const envoy_type_metadata_v3_MetadataKind* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (envoy_type_metadata_v3_MetadataKind_kind_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void envoy_type_metadata_v3_MetadataKind_clear_request(envoy_type_metadata_v3_MetadataKind* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_metadata_v3_MetadataKind_Request* envoy_type_metadata_v3_MetadataKind_request(const envoy_type_metadata_v3_MetadataKind* msg) { + const envoy_type_metadata_v3_MetadataKind_Request* default_val = NULL; + const envoy_type_metadata_v3_MetadataKind_Request* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_metadata_v3_MetadataKind_has_request(const envoy_type_metadata_v3_MetadataKind* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_metadata_v3_MetadataKind_clear_route(envoy_type_metadata_v3_MetadataKind* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_metadata_v3_MetadataKind_Route* envoy_type_metadata_v3_MetadataKind_route(const envoy_type_metadata_v3_MetadataKind* msg) { + const envoy_type_metadata_v3_MetadataKind_Route* default_val = NULL; + const envoy_type_metadata_v3_MetadataKind_Route* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_metadata_v3_MetadataKind_has_route(const envoy_type_metadata_v3_MetadataKind* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_metadata_v3_MetadataKind_clear_cluster(envoy_type_metadata_v3_MetadataKind* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_metadata_v3_MetadataKind_Cluster* envoy_type_metadata_v3_MetadataKind_cluster(const envoy_type_metadata_v3_MetadataKind* msg) { + const envoy_type_metadata_v3_MetadataKind_Cluster* default_val = NULL; + const envoy_type_metadata_v3_MetadataKind_Cluster* ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_metadata_v3_MetadataKind_has_cluster(const envoy_type_metadata_v3_MetadataKind* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void envoy_type_metadata_v3_MetadataKind_clear_host(envoy_type_metadata_v3_MetadataKind* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const envoy_type_metadata_v3_MetadataKind_Host* envoy_type_metadata_v3_MetadataKind_host(const envoy_type_metadata_v3_MetadataKind* msg) { + const envoy_type_metadata_v3_MetadataKind_Host* default_val = NULL; + const envoy_type_metadata_v3_MetadataKind_Host* ret; + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool envoy_type_metadata_v3_MetadataKind_has_host(const envoy_type_metadata_v3_MetadataKind* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void envoy_type_metadata_v3_MetadataKind_set_request(envoy_type_metadata_v3_MetadataKind *msg, envoy_type_metadata_v3_MetadataKind_Request* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_metadata_v3_MetadataKind_Request* envoy_type_metadata_v3_MetadataKind_mutable_request(envoy_type_metadata_v3_MetadataKind* msg, upb_Arena* arena) { + struct envoy_type_metadata_v3_MetadataKind_Request* sub = (struct envoy_type_metadata_v3_MetadataKind_Request*)envoy_type_metadata_v3_MetadataKind_request(msg); + if (sub == NULL) { + sub = (struct envoy_type_metadata_v3_MetadataKind_Request*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKind__Request_msg_init, arena); + if (sub) envoy_type_metadata_v3_MetadataKind_set_request(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_type_metadata_v3_MetadataKind_set_route(envoy_type_metadata_v3_MetadataKind *msg, envoy_type_metadata_v3_MetadataKind_Route* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_metadata_v3_MetadataKind_Route* envoy_type_metadata_v3_MetadataKind_mutable_route(envoy_type_metadata_v3_MetadataKind* msg, upb_Arena* arena) { + struct envoy_type_metadata_v3_MetadataKind_Route* sub = (struct envoy_type_metadata_v3_MetadataKind_Route*)envoy_type_metadata_v3_MetadataKind_route(msg); + if (sub == NULL) { + sub = (struct envoy_type_metadata_v3_MetadataKind_Route*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKind__Route_msg_init, arena); + if (sub) envoy_type_metadata_v3_MetadataKind_set_route(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_type_metadata_v3_MetadataKind_set_cluster(envoy_type_metadata_v3_MetadataKind *msg, envoy_type_metadata_v3_MetadataKind_Cluster* value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_metadata_v3_MetadataKind_Cluster* envoy_type_metadata_v3_MetadataKind_mutable_cluster(envoy_type_metadata_v3_MetadataKind* msg, upb_Arena* arena) { + struct envoy_type_metadata_v3_MetadataKind_Cluster* sub = (struct envoy_type_metadata_v3_MetadataKind_Cluster*)envoy_type_metadata_v3_MetadataKind_cluster(msg); + if (sub == NULL) { + sub = (struct envoy_type_metadata_v3_MetadataKind_Cluster*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKind__Cluster_msg_init, arena); + if (sub) envoy_type_metadata_v3_MetadataKind_set_cluster(msg, sub); + } + return sub; +} +UPB_INLINE void envoy_type_metadata_v3_MetadataKind_set_host(envoy_type_metadata_v3_MetadataKind *msg, envoy_type_metadata_v3_MetadataKind_Host* value) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct envoy_type_metadata_v3_MetadataKind_Host* envoy_type_metadata_v3_MetadataKind_mutable_host(envoy_type_metadata_v3_MetadataKind* msg, upb_Arena* arena) { + struct envoy_type_metadata_v3_MetadataKind_Host* sub = (struct envoy_type_metadata_v3_MetadataKind_Host*)envoy_type_metadata_v3_MetadataKind_host(msg); + if (sub == NULL) { + sub = (struct envoy_type_metadata_v3_MetadataKind_Host*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKind__Host_msg_init, arena); + if (sub) envoy_type_metadata_v3_MetadataKind_set_host(msg, sub); + } + return sub; +} + +/* envoy.type.metadata.v3.MetadataKind.Request */ + +UPB_INLINE envoy_type_metadata_v3_MetadataKind_Request* envoy_type_metadata_v3_MetadataKind_Request_new(upb_Arena* arena) { + return (envoy_type_metadata_v3_MetadataKind_Request*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKind__Request_msg_init, arena); +} +UPB_INLINE envoy_type_metadata_v3_MetadataKind_Request* envoy_type_metadata_v3_MetadataKind_Request_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKind_Request* ret = envoy_type_metadata_v3_MetadataKind_Request_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKind__Request_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_metadata_v3_MetadataKind_Request* envoy_type_metadata_v3_MetadataKind_Request_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKind_Request* ret = envoy_type_metadata_v3_MetadataKind_Request_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKind__Request_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Request_serialize(const envoy_type_metadata_v3_MetadataKind_Request* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKind__Request_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Request_serialize_ex(const envoy_type_metadata_v3_MetadataKind_Request* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKind__Request_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* envoy.type.metadata.v3.MetadataKind.Route */ + +UPB_INLINE envoy_type_metadata_v3_MetadataKind_Route* envoy_type_metadata_v3_MetadataKind_Route_new(upb_Arena* arena) { + return (envoy_type_metadata_v3_MetadataKind_Route*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKind__Route_msg_init, arena); +} +UPB_INLINE envoy_type_metadata_v3_MetadataKind_Route* envoy_type_metadata_v3_MetadataKind_Route_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKind_Route* ret = envoy_type_metadata_v3_MetadataKind_Route_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKind__Route_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_metadata_v3_MetadataKind_Route* envoy_type_metadata_v3_MetadataKind_Route_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKind_Route* ret = envoy_type_metadata_v3_MetadataKind_Route_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKind__Route_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Route_serialize(const envoy_type_metadata_v3_MetadataKind_Route* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKind__Route_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Route_serialize_ex(const envoy_type_metadata_v3_MetadataKind_Route* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKind__Route_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* envoy.type.metadata.v3.MetadataKind.Cluster */ + +UPB_INLINE envoy_type_metadata_v3_MetadataKind_Cluster* envoy_type_metadata_v3_MetadataKind_Cluster_new(upb_Arena* arena) { + return (envoy_type_metadata_v3_MetadataKind_Cluster*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKind__Cluster_msg_init, arena); +} +UPB_INLINE envoy_type_metadata_v3_MetadataKind_Cluster* envoy_type_metadata_v3_MetadataKind_Cluster_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKind_Cluster* ret = envoy_type_metadata_v3_MetadataKind_Cluster_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKind__Cluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_metadata_v3_MetadataKind_Cluster* envoy_type_metadata_v3_MetadataKind_Cluster_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKind_Cluster* ret = envoy_type_metadata_v3_MetadataKind_Cluster_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKind__Cluster_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Cluster_serialize(const envoy_type_metadata_v3_MetadataKind_Cluster* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKind__Cluster_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Cluster_serialize_ex(const envoy_type_metadata_v3_MetadataKind_Cluster* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKind__Cluster_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* envoy.type.metadata.v3.MetadataKind.Host */ + +UPB_INLINE envoy_type_metadata_v3_MetadataKind_Host* envoy_type_metadata_v3_MetadataKind_Host_new(upb_Arena* arena) { + return (envoy_type_metadata_v3_MetadataKind_Host*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKind__Host_msg_init, arena); +} +UPB_INLINE envoy_type_metadata_v3_MetadataKind_Host* envoy_type_metadata_v3_MetadataKind_Host_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKind_Host* ret = envoy_type_metadata_v3_MetadataKind_Host_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKind__Host_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_metadata_v3_MetadataKind_Host* envoy_type_metadata_v3_MetadataKind_Host_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_metadata_v3_MetadataKind_Host* ret = envoy_type_metadata_v3_MetadataKind_Host_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__metadata__v3__MetadataKind__Host_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Host_serialize(const envoy_type_metadata_v3_MetadataKind_Host* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKind__Host_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Host_serialize_ex(const envoy_type_metadata_v3_MetadataKind_Host* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__metadata__v3__MetadataKind__Host_msg_init, options, arena, &ptr, len); + return ptr; +} + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c new file mode 100644 index 00000000000..f658a7ac0d1 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c @@ -0,0 +1,127 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/metadata/v3/metadata.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/metadata/v3/metadata.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_metadata_v3_MetadataKey_submsgs[1] = { + {.submsg = &envoy__type__metadata__v3__MetadataKey__PathSegment_msg_init}, +}; + +static const upb_MiniTableField envoy_type_metadata_v3_MetadataKey__fields[2] = { + {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__metadata__v3__MetadataKey_msg_init = { + &envoy_type_metadata_v3_MetadataKey_submsgs[0], + &envoy_type_metadata_v3_MetadataKey__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_type_metadata_v3_MetadataKey_PathSegment__fields[1] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__metadata__v3__MetadataKey__PathSegment_msg_init = { + NULL, + &envoy_type_metadata_v3_MetadataKey_PathSegment__fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + }) +}; + +static const upb_MiniTableSub envoy_type_metadata_v3_MetadataKind_submsgs[4] = { + {.submsg = &envoy__type__metadata__v3__MetadataKind__Request_msg_init}, + {.submsg = &envoy__type__metadata__v3__MetadataKind__Route_msg_init}, + {.submsg = &envoy__type__metadata__v3__MetadataKind__Cluster_msg_init}, + {.submsg = &envoy__type__metadata__v3__MetadataKind__Host_msg_init}, +}; + +static const upb_MiniTableField envoy_type_metadata_v3_MetadataKind__fields[4] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__metadata__v3__MetadataKind_msg_init = { + &envoy_type_metadata_v3_MetadataKind_submsgs[0], + &envoy_type_metadata_v3_MetadataKind__fields[0], + UPB_SIZE(8, 16), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + {0x0008000004030022, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +const upb_MiniTable envoy__type__metadata__v3__MetadataKind__Request_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +const upb_MiniTable envoy__type__metadata__v3__MetadataKind__Route_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +const upb_MiniTable envoy__type__metadata__v3__MetadataKind__Cluster_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +const upb_MiniTable envoy__type__metadata__v3__MetadataKind__Host_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTable *messages_layout[7] = { + &envoy__type__metadata__v3__MetadataKey_msg_init, + &envoy__type__metadata__v3__MetadataKey__PathSegment_msg_init, + &envoy__type__metadata__v3__MetadataKind_msg_init, + &envoy__type__metadata__v3__MetadataKind__Request_msg_init, + &envoy__type__metadata__v3__MetadataKind__Route_msg_init, + &envoy__type__metadata__v3__MetadataKind__Cluster_msg_init, + &envoy__type__metadata__v3__MetadataKind__Host_msg_init, +}; + +const upb_MiniTableFile envoy_type_metadata_v3_metadata_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 7, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h new file mode 100644 index 00000000000..a88e86243ac --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h @@ -0,0 +1,36 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/metadata/v3/metadata.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__metadata__v3__MetadataKey_msg_init; +extern const upb_MiniTable envoy__type__metadata__v3__MetadataKey__PathSegment_msg_init; +extern const upb_MiniTable envoy__type__metadata__v3__MetadataKind_msg_init; +extern const upb_MiniTable envoy__type__metadata__v3__MetadataKind__Request_msg_init; +extern const upb_MiniTable envoy__type__metadata__v3__MetadataKind__Route_msg_init; +extern const upb_MiniTable envoy__type__metadata__v3__MetadataKind__Cluster_msg_init; +extern const upb_MiniTable envoy__type__metadata__v3__MetadataKind__Host_msg_init; + +extern const upb_MiniTableFile envoy_type_metadata_v3_metadata_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h b/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h similarity index 89% rename from src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h rename to src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h index 9c8f05b3bd0..b05adecba7f 100644 --- a/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +++ b/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/tracing/v3/custom_tag.proto * @@ -10,7 +9,15 @@ #define ENVOY_TYPE_TRACING_V3_CUSTOM_TAG_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/type/tracing/v3/custom_tag.upb_minitable.h" + +#include "envoy/type/metadata/v3/metadata.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -22,27 +29,20 @@ typedef struct envoy_type_tracing_v3_CustomTag_Literal envoy_type_tracing_v3_Cus typedef struct envoy_type_tracing_v3_CustomTag_Environment envoy_type_tracing_v3_CustomTag_Environment; typedef struct envoy_type_tracing_v3_CustomTag_Header envoy_type_tracing_v3_CustomTag_Header; typedef struct envoy_type_tracing_v3_CustomTag_Metadata envoy_type_tracing_v3_CustomTag_Metadata; -extern const upb_MiniTable envoy_type_tracing_v3_CustomTag_msg_init; -extern const upb_MiniTable envoy_type_tracing_v3_CustomTag_Literal_msg_init; -extern const upb_MiniTable envoy_type_tracing_v3_CustomTag_Environment_msg_init; -extern const upb_MiniTable envoy_type_tracing_v3_CustomTag_Header_msg_init; -extern const upb_MiniTable envoy_type_tracing_v3_CustomTag_Metadata_msg_init; struct envoy_type_metadata_v3_MetadataKey; struct envoy_type_metadata_v3_MetadataKind; -extern const upb_MiniTable envoy_type_metadata_v3_MetadataKey_msg_init; -extern const upb_MiniTable envoy_type_metadata_v3_MetadataKind_msg_init; /* envoy.type.tracing.v3.CustomTag */ UPB_INLINE envoy_type_tracing_v3_CustomTag* envoy_type_tracing_v3_CustomTag_new(upb_Arena* arena) { - return (envoy_type_tracing_v3_CustomTag*)_upb_Message_New(&envoy_type_tracing_v3_CustomTag_msg_init, arena); + return (envoy_type_tracing_v3_CustomTag*)_upb_Message_New(&envoy__type__tracing__v3__CustomTag_msg_init, arena); } UPB_INLINE envoy_type_tracing_v3_CustomTag* envoy_type_tracing_v3_CustomTag_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_tracing_v3_CustomTag* ret = envoy_type_tracing_v3_CustomTag_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_tracing_v3_CustomTag_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__tracing__v3__CustomTag_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -52,7 +52,7 @@ UPB_INLINE envoy_type_tracing_v3_CustomTag* envoy_type_tracing_v3_CustomTag_pars int options, upb_Arena* arena) { envoy_type_tracing_v3_CustomTag* ret = envoy_type_tracing_v3_CustomTag_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_tracing_v3_CustomTag_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__tracing__v3__CustomTag_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -60,13 +60,13 @@ UPB_INLINE envoy_type_tracing_v3_CustomTag* envoy_type_tracing_v3_CustomTag_pars } UPB_INLINE char* envoy_type_tracing_v3_CustomTag_serialize(const envoy_type_tracing_v3_CustomTag* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_tracing_v3_CustomTag_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__tracing__v3__CustomTag_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_tracing_v3_CustomTag_serialize_ex(const envoy_type_tracing_v3_CustomTag* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_tracing_v3_CustomTag_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__tracing__v3__CustomTag_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -163,7 +163,7 @@ UPB_INLINE void envoy_type_tracing_v3_CustomTag_set_literal(envoy_type_tracing_v UPB_INLINE struct envoy_type_tracing_v3_CustomTag_Literal* envoy_type_tracing_v3_CustomTag_mutable_literal(envoy_type_tracing_v3_CustomTag* msg, upb_Arena* arena) { struct envoy_type_tracing_v3_CustomTag_Literal* sub = (struct envoy_type_tracing_v3_CustomTag_Literal*)envoy_type_tracing_v3_CustomTag_literal(msg); if (sub == NULL) { - sub = (struct envoy_type_tracing_v3_CustomTag_Literal*)_upb_Message_New(&envoy_type_tracing_v3_CustomTag_Literal_msg_init, arena); + sub = (struct envoy_type_tracing_v3_CustomTag_Literal*)_upb_Message_New(&envoy__type__tracing__v3__CustomTag__Literal_msg_init, arena); if (sub) envoy_type_tracing_v3_CustomTag_set_literal(msg, sub); } return sub; @@ -175,7 +175,7 @@ UPB_INLINE void envoy_type_tracing_v3_CustomTag_set_environment(envoy_type_traci UPB_INLINE struct envoy_type_tracing_v3_CustomTag_Environment* envoy_type_tracing_v3_CustomTag_mutable_environment(envoy_type_tracing_v3_CustomTag* msg, upb_Arena* arena) { struct envoy_type_tracing_v3_CustomTag_Environment* sub = (struct envoy_type_tracing_v3_CustomTag_Environment*)envoy_type_tracing_v3_CustomTag_environment(msg); if (sub == NULL) { - sub = (struct envoy_type_tracing_v3_CustomTag_Environment*)_upb_Message_New(&envoy_type_tracing_v3_CustomTag_Environment_msg_init, arena); + sub = (struct envoy_type_tracing_v3_CustomTag_Environment*)_upb_Message_New(&envoy__type__tracing__v3__CustomTag__Environment_msg_init, arena); if (sub) envoy_type_tracing_v3_CustomTag_set_environment(msg, sub); } return sub; @@ -187,7 +187,7 @@ UPB_INLINE void envoy_type_tracing_v3_CustomTag_set_request_header(envoy_type_tr UPB_INLINE struct envoy_type_tracing_v3_CustomTag_Header* envoy_type_tracing_v3_CustomTag_mutable_request_header(envoy_type_tracing_v3_CustomTag* msg, upb_Arena* arena) { struct envoy_type_tracing_v3_CustomTag_Header* sub = (struct envoy_type_tracing_v3_CustomTag_Header*)envoy_type_tracing_v3_CustomTag_request_header(msg); if (sub == NULL) { - sub = (struct envoy_type_tracing_v3_CustomTag_Header*)_upb_Message_New(&envoy_type_tracing_v3_CustomTag_Header_msg_init, arena); + sub = (struct envoy_type_tracing_v3_CustomTag_Header*)_upb_Message_New(&envoy__type__tracing__v3__CustomTag__Header_msg_init, arena); if (sub) envoy_type_tracing_v3_CustomTag_set_request_header(msg, sub); } return sub; @@ -199,7 +199,7 @@ UPB_INLINE void envoy_type_tracing_v3_CustomTag_set_metadata(envoy_type_tracing_ UPB_INLINE struct envoy_type_tracing_v3_CustomTag_Metadata* envoy_type_tracing_v3_CustomTag_mutable_metadata(envoy_type_tracing_v3_CustomTag* msg, upb_Arena* arena) { struct envoy_type_tracing_v3_CustomTag_Metadata* sub = (struct envoy_type_tracing_v3_CustomTag_Metadata*)envoy_type_tracing_v3_CustomTag_metadata(msg); if (sub == NULL) { - sub = (struct envoy_type_tracing_v3_CustomTag_Metadata*)_upb_Message_New(&envoy_type_tracing_v3_CustomTag_Metadata_msg_init, arena); + sub = (struct envoy_type_tracing_v3_CustomTag_Metadata*)_upb_Message_New(&envoy__type__tracing__v3__CustomTag__Metadata_msg_init, arena); if (sub) envoy_type_tracing_v3_CustomTag_set_metadata(msg, sub); } return sub; @@ -208,12 +208,12 @@ UPB_INLINE struct envoy_type_tracing_v3_CustomTag_Metadata* envoy_type_tracing_v /* envoy.type.tracing.v3.CustomTag.Literal */ UPB_INLINE envoy_type_tracing_v3_CustomTag_Literal* envoy_type_tracing_v3_CustomTag_Literal_new(upb_Arena* arena) { - return (envoy_type_tracing_v3_CustomTag_Literal*)_upb_Message_New(&envoy_type_tracing_v3_CustomTag_Literal_msg_init, arena); + return (envoy_type_tracing_v3_CustomTag_Literal*)_upb_Message_New(&envoy__type__tracing__v3__CustomTag__Literal_msg_init, arena); } UPB_INLINE envoy_type_tracing_v3_CustomTag_Literal* envoy_type_tracing_v3_CustomTag_Literal_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_tracing_v3_CustomTag_Literal* ret = envoy_type_tracing_v3_CustomTag_Literal_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_tracing_v3_CustomTag_Literal_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__tracing__v3__CustomTag__Literal_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -223,7 +223,7 @@ UPB_INLINE envoy_type_tracing_v3_CustomTag_Literal* envoy_type_tracing_v3_Custom int options, upb_Arena* arena) { envoy_type_tracing_v3_CustomTag_Literal* ret = envoy_type_tracing_v3_CustomTag_Literal_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_tracing_v3_CustomTag_Literal_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__tracing__v3__CustomTag__Literal_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -231,13 +231,13 @@ UPB_INLINE envoy_type_tracing_v3_CustomTag_Literal* envoy_type_tracing_v3_Custom } UPB_INLINE char* envoy_type_tracing_v3_CustomTag_Literal_serialize(const envoy_type_tracing_v3_CustomTag_Literal* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_tracing_v3_CustomTag_Literal_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__tracing__v3__CustomTag__Literal_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_tracing_v3_CustomTag_Literal_serialize_ex(const envoy_type_tracing_v3_CustomTag_Literal* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_tracing_v3_CustomTag_Literal_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__tracing__v3__CustomTag__Literal_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_type_tracing_v3_CustomTag_Literal_clear_value(envoy_type_tracing_v3_CustomTag_Literal* msg) { @@ -260,12 +260,12 @@ UPB_INLINE void envoy_type_tracing_v3_CustomTag_Literal_set_value(envoy_type_tra /* envoy.type.tracing.v3.CustomTag.Environment */ UPB_INLINE envoy_type_tracing_v3_CustomTag_Environment* envoy_type_tracing_v3_CustomTag_Environment_new(upb_Arena* arena) { - return (envoy_type_tracing_v3_CustomTag_Environment*)_upb_Message_New(&envoy_type_tracing_v3_CustomTag_Environment_msg_init, arena); + return (envoy_type_tracing_v3_CustomTag_Environment*)_upb_Message_New(&envoy__type__tracing__v3__CustomTag__Environment_msg_init, arena); } UPB_INLINE envoy_type_tracing_v3_CustomTag_Environment* envoy_type_tracing_v3_CustomTag_Environment_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_tracing_v3_CustomTag_Environment* ret = envoy_type_tracing_v3_CustomTag_Environment_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_tracing_v3_CustomTag_Environment_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__tracing__v3__CustomTag__Environment_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -275,7 +275,7 @@ UPB_INLINE envoy_type_tracing_v3_CustomTag_Environment* envoy_type_tracing_v3_Cu int options, upb_Arena* arena) { envoy_type_tracing_v3_CustomTag_Environment* ret = envoy_type_tracing_v3_CustomTag_Environment_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_tracing_v3_CustomTag_Environment_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__tracing__v3__CustomTag__Environment_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -283,13 +283,13 @@ UPB_INLINE envoy_type_tracing_v3_CustomTag_Environment* envoy_type_tracing_v3_Cu } UPB_INLINE char* envoy_type_tracing_v3_CustomTag_Environment_serialize(const envoy_type_tracing_v3_CustomTag_Environment* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_tracing_v3_CustomTag_Environment_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__tracing__v3__CustomTag__Environment_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_tracing_v3_CustomTag_Environment_serialize_ex(const envoy_type_tracing_v3_CustomTag_Environment* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_tracing_v3_CustomTag_Environment_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__tracing__v3__CustomTag__Environment_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_type_tracing_v3_CustomTag_Environment_clear_name(envoy_type_tracing_v3_CustomTag_Environment* msg) { @@ -327,12 +327,12 @@ UPB_INLINE void envoy_type_tracing_v3_CustomTag_Environment_set_default_value(en /* envoy.type.tracing.v3.CustomTag.Header */ UPB_INLINE envoy_type_tracing_v3_CustomTag_Header* envoy_type_tracing_v3_CustomTag_Header_new(upb_Arena* arena) { - return (envoy_type_tracing_v3_CustomTag_Header*)_upb_Message_New(&envoy_type_tracing_v3_CustomTag_Header_msg_init, arena); + return (envoy_type_tracing_v3_CustomTag_Header*)_upb_Message_New(&envoy__type__tracing__v3__CustomTag__Header_msg_init, arena); } UPB_INLINE envoy_type_tracing_v3_CustomTag_Header* envoy_type_tracing_v3_CustomTag_Header_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_tracing_v3_CustomTag_Header* ret = envoy_type_tracing_v3_CustomTag_Header_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_tracing_v3_CustomTag_Header_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__tracing__v3__CustomTag__Header_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -342,7 +342,7 @@ UPB_INLINE envoy_type_tracing_v3_CustomTag_Header* envoy_type_tracing_v3_CustomT int options, upb_Arena* arena) { envoy_type_tracing_v3_CustomTag_Header* ret = envoy_type_tracing_v3_CustomTag_Header_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_tracing_v3_CustomTag_Header_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__tracing__v3__CustomTag__Header_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -350,13 +350,13 @@ UPB_INLINE envoy_type_tracing_v3_CustomTag_Header* envoy_type_tracing_v3_CustomT } UPB_INLINE char* envoy_type_tracing_v3_CustomTag_Header_serialize(const envoy_type_tracing_v3_CustomTag_Header* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_tracing_v3_CustomTag_Header_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__tracing__v3__CustomTag__Header_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_tracing_v3_CustomTag_Header_serialize_ex(const envoy_type_tracing_v3_CustomTag_Header* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_tracing_v3_CustomTag_Header_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__tracing__v3__CustomTag__Header_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_type_tracing_v3_CustomTag_Header_clear_name(envoy_type_tracing_v3_CustomTag_Header* msg) { @@ -394,12 +394,12 @@ UPB_INLINE void envoy_type_tracing_v3_CustomTag_Header_set_default_value(envoy_t /* envoy.type.tracing.v3.CustomTag.Metadata */ UPB_INLINE envoy_type_tracing_v3_CustomTag_Metadata* envoy_type_tracing_v3_CustomTag_Metadata_new(upb_Arena* arena) { - return (envoy_type_tracing_v3_CustomTag_Metadata*)_upb_Message_New(&envoy_type_tracing_v3_CustomTag_Metadata_msg_init, arena); + return (envoy_type_tracing_v3_CustomTag_Metadata*)_upb_Message_New(&envoy__type__tracing__v3__CustomTag__Metadata_msg_init, arena); } UPB_INLINE envoy_type_tracing_v3_CustomTag_Metadata* envoy_type_tracing_v3_CustomTag_Metadata_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_tracing_v3_CustomTag_Metadata* ret = envoy_type_tracing_v3_CustomTag_Metadata_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_tracing_v3_CustomTag_Metadata_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__tracing__v3__CustomTag__Metadata_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -409,7 +409,7 @@ UPB_INLINE envoy_type_tracing_v3_CustomTag_Metadata* envoy_type_tracing_v3_Custo int options, upb_Arena* arena) { envoy_type_tracing_v3_CustomTag_Metadata* ret = envoy_type_tracing_v3_CustomTag_Metadata_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_tracing_v3_CustomTag_Metadata_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__tracing__v3__CustomTag__Metadata_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -417,13 +417,13 @@ UPB_INLINE envoy_type_tracing_v3_CustomTag_Metadata* envoy_type_tracing_v3_Custo } UPB_INLINE char* envoy_type_tracing_v3_CustomTag_Metadata_serialize(const envoy_type_tracing_v3_CustomTag_Metadata* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_tracing_v3_CustomTag_Metadata_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__tracing__v3__CustomTag__Metadata_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_tracing_v3_CustomTag_Metadata_serialize_ex(const envoy_type_tracing_v3_CustomTag_Metadata* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_tracing_v3_CustomTag_Metadata_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__tracing__v3__CustomTag__Metadata_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_type_tracing_v3_CustomTag_Metadata_clear_kind(envoy_type_tracing_v3_CustomTag_Metadata* msg) { @@ -475,7 +475,7 @@ UPB_INLINE void envoy_type_tracing_v3_CustomTag_Metadata_set_kind(envoy_type_tra UPB_INLINE struct envoy_type_metadata_v3_MetadataKind* envoy_type_tracing_v3_CustomTag_Metadata_mutable_kind(envoy_type_tracing_v3_CustomTag_Metadata* msg, upb_Arena* arena) { struct envoy_type_metadata_v3_MetadataKind* sub = (struct envoy_type_metadata_v3_MetadataKind*)envoy_type_tracing_v3_CustomTag_Metadata_kind(msg); if (sub == NULL) { - sub = (struct envoy_type_metadata_v3_MetadataKind*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKind_msg_init, arena); + sub = (struct envoy_type_metadata_v3_MetadataKind*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKind_msg_init, arena); if (sub) envoy_type_tracing_v3_CustomTag_Metadata_set_kind(msg, sub); } return sub; @@ -487,7 +487,7 @@ UPB_INLINE void envoy_type_tracing_v3_CustomTag_Metadata_set_metadata_key(envoy_ UPB_INLINE struct envoy_type_metadata_v3_MetadataKey* envoy_type_tracing_v3_CustomTag_Metadata_mutable_metadata_key(envoy_type_tracing_v3_CustomTag_Metadata* msg, upb_Arena* arena) { struct envoy_type_metadata_v3_MetadataKey* sub = (struct envoy_type_metadata_v3_MetadataKey*)envoy_type_tracing_v3_CustomTag_Metadata_metadata_key(msg); if (sub == NULL) { - sub = (struct envoy_type_metadata_v3_MetadataKey*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKey_msg_init, arena); + sub = (struct envoy_type_metadata_v3_MetadataKey*)_upb_Message_New(&envoy__type__metadata__v3__MetadataKey_msg_init, arena); if (sub) envoy_type_tracing_v3_CustomTag_Metadata_set_metadata_key(msg, sub); } return sub; @@ -497,8 +497,6 @@ UPB_INLINE void envoy_type_tracing_v3_CustomTag_Metadata_set_default_value(envoy _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_type_tracing_v3_custom_tag_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c new file mode 100644 index 00000000000..ad696905dae --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c @@ -0,0 +1,139 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/tracing/v3/custom_tag.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/tracing/v3/custom_tag.upb_minitable.h" +#include "envoy/type/metadata/v3/metadata.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_tracing_v3_CustomTag_submsgs[4] = { + {.submsg = &envoy__type__tracing__v3__CustomTag__Literal_msg_init}, + {.submsg = &envoy__type__tracing__v3__CustomTag__Environment_msg_init}, + {.submsg = &envoy__type__tracing__v3__CustomTag__Header_msg_init}, + {.submsg = &envoy__type__tracing__v3__CustomTag__Metadata_msg_init}, +}; + +static const upb_MiniTableField envoy_type_tracing_v3_CustomTag__fields[5] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 24), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 24), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__tracing__v3__CustomTag_msg_init = { + &envoy_type_tracing_v3_CustomTag_submsgs[0], + &envoy_type_tracing_v3_CustomTag__fields[0], + UPB_SIZE(16, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000002000012, &upb_pom_1bt_max64b}, + {0x001800000301001a, &upb_pom_1bt_max64b}, + {0x0018000004020022, &upb_pom_1bt_max64b}, + {0x001800000503002a, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_type_tracing_v3_CustomTag_Literal__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__tracing__v3__CustomTag__Literal_msg_init = { + NULL, + &envoy_type_tracing_v3_CustomTag_Literal__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField envoy_type_tracing_v3_CustomTag_Environment__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__tracing__v3__CustomTag__Environment_msg_init = { + NULL, + &envoy_type_tracing_v3_CustomTag_Environment__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_type_tracing_v3_CustomTag_Header__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__tracing__v3__CustomTag__Header_msg_init = { + NULL, + &envoy_type_tracing_v3_CustomTag_Header__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub envoy_type_tracing_v3_CustomTag_Metadata_submsgs[2] = { + {.submsg = &envoy__type__metadata__v3__MetadataKind_msg_init}, + {.submsg = &envoy__type__metadata__v3__MetadataKey_msg_init}, +}; + +static const upb_MiniTableField envoy_type_tracing_v3_CustomTag_Metadata__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__tracing__v3__CustomTag__Metadata_msg_init = { + &envoy_type_tracing_v3_CustomTag_Metadata_submsgs[0], + &envoy_type_tracing_v3_CustomTag_Metadata__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800003f00001a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[5] = { + &envoy__type__tracing__v3__CustomTag_msg_init, + &envoy__type__tracing__v3__CustomTag__Literal_msg_init, + &envoy__type__tracing__v3__CustomTag__Environment_msg_init, + &envoy__type__tracing__v3__CustomTag__Header_msg_init, + &envoy__type__tracing__v3__CustomTag__Metadata_msg_init, +}; + +const upb_MiniTableFile envoy_type_tracing_v3_custom_tag_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 5, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h new file mode 100644 index 00000000000..df52ab8ae3a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h @@ -0,0 +1,34 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/tracing/v3/custom_tag.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_TRACING_V3_CUSTOM_TAG_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_TRACING_V3_CUSTOM_TAG_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__tracing__v3__CustomTag_msg_init; +extern const upb_MiniTable envoy__type__tracing__v3__CustomTag__Literal_msg_init; +extern const upb_MiniTable envoy__type__tracing__v3__CustomTag__Environment_msg_init; +extern const upb_MiniTable envoy__type__tracing__v3__CustomTag__Header_msg_init; +extern const upb_MiniTable envoy__type__tracing__v3__CustomTag__Metadata_msg_init; + +extern const upb_MiniTableFile envoy_type_tracing_v3_custom_tag_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_TRACING_V3_CUSTOM_TAG_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h b/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h similarity index 84% rename from src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h rename to src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h index f8813bfe696..bcba13a63ab 100644 --- a/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +++ b/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/hash_policy.proto * @@ -10,7 +9,14 @@ #define ENVOY_TYPE_V3_HASH_POLICY_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/type/v3/hash_policy.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -20,21 +26,18 @@ extern "C" { typedef struct envoy_type_v3_HashPolicy envoy_type_v3_HashPolicy; typedef struct envoy_type_v3_HashPolicy_SourceIp envoy_type_v3_HashPolicy_SourceIp; typedef struct envoy_type_v3_HashPolicy_FilterState envoy_type_v3_HashPolicy_FilterState; -extern const upb_MiniTable envoy_type_v3_HashPolicy_msg_init; -extern const upb_MiniTable envoy_type_v3_HashPolicy_SourceIp_msg_init; -extern const upb_MiniTable envoy_type_v3_HashPolicy_FilterState_msg_init; /* envoy.type.v3.HashPolicy */ UPB_INLINE envoy_type_v3_HashPolicy* envoy_type_v3_HashPolicy_new(upb_Arena* arena) { - return (envoy_type_v3_HashPolicy*)_upb_Message_New(&envoy_type_v3_HashPolicy_msg_init, arena); + return (envoy_type_v3_HashPolicy*)_upb_Message_New(&envoy__type__v3__HashPolicy_msg_init, arena); } UPB_INLINE envoy_type_v3_HashPolicy* envoy_type_v3_HashPolicy_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_v3_HashPolicy* ret = envoy_type_v3_HashPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_HashPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__v3__HashPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -44,7 +47,7 @@ UPB_INLINE envoy_type_v3_HashPolicy* envoy_type_v3_HashPolicy_parse_ex(const cha int options, upb_Arena* arena) { envoy_type_v3_HashPolicy* ret = envoy_type_v3_HashPolicy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_HashPolicy_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__v3__HashPolicy_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -52,13 +55,13 @@ UPB_INLINE envoy_type_v3_HashPolicy* envoy_type_v3_HashPolicy_parse_ex(const cha } UPB_INLINE char* envoy_type_v3_HashPolicy_serialize(const envoy_type_v3_HashPolicy* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_HashPolicy_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__HashPolicy_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_v3_HashPolicy_serialize_ex(const envoy_type_v3_HashPolicy* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_HashPolicy_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__HashPolicy_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -108,7 +111,7 @@ UPB_INLINE void envoy_type_v3_HashPolicy_set_source_ip(envoy_type_v3_HashPolicy UPB_INLINE struct envoy_type_v3_HashPolicy_SourceIp* envoy_type_v3_HashPolicy_mutable_source_ip(envoy_type_v3_HashPolicy* msg, upb_Arena* arena) { struct envoy_type_v3_HashPolicy_SourceIp* sub = (struct envoy_type_v3_HashPolicy_SourceIp*)envoy_type_v3_HashPolicy_source_ip(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_HashPolicy_SourceIp*)_upb_Message_New(&envoy_type_v3_HashPolicy_SourceIp_msg_init, arena); + sub = (struct envoy_type_v3_HashPolicy_SourceIp*)_upb_Message_New(&envoy__type__v3__HashPolicy__SourceIp_msg_init, arena); if (sub) envoy_type_v3_HashPolicy_set_source_ip(msg, sub); } return sub; @@ -120,7 +123,7 @@ UPB_INLINE void envoy_type_v3_HashPolicy_set_filter_state(envoy_type_v3_HashPoli UPB_INLINE struct envoy_type_v3_HashPolicy_FilterState* envoy_type_v3_HashPolicy_mutable_filter_state(envoy_type_v3_HashPolicy* msg, upb_Arena* arena) { struct envoy_type_v3_HashPolicy_FilterState* sub = (struct envoy_type_v3_HashPolicy_FilterState*)envoy_type_v3_HashPolicy_filter_state(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_HashPolicy_FilterState*)_upb_Message_New(&envoy_type_v3_HashPolicy_FilterState_msg_init, arena); + sub = (struct envoy_type_v3_HashPolicy_FilterState*)_upb_Message_New(&envoy__type__v3__HashPolicy__FilterState_msg_init, arena); if (sub) envoy_type_v3_HashPolicy_set_filter_state(msg, sub); } return sub; @@ -129,12 +132,12 @@ UPB_INLINE struct envoy_type_v3_HashPolicy_FilterState* envoy_type_v3_HashPolicy /* envoy.type.v3.HashPolicy.SourceIp */ UPB_INLINE envoy_type_v3_HashPolicy_SourceIp* envoy_type_v3_HashPolicy_SourceIp_new(upb_Arena* arena) { - return (envoy_type_v3_HashPolicy_SourceIp*)_upb_Message_New(&envoy_type_v3_HashPolicy_SourceIp_msg_init, arena); + return (envoy_type_v3_HashPolicy_SourceIp*)_upb_Message_New(&envoy__type__v3__HashPolicy__SourceIp_msg_init, arena); } UPB_INLINE envoy_type_v3_HashPolicy_SourceIp* envoy_type_v3_HashPolicy_SourceIp_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_v3_HashPolicy_SourceIp* ret = envoy_type_v3_HashPolicy_SourceIp_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_HashPolicy_SourceIp_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__v3__HashPolicy__SourceIp_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -144,7 +147,7 @@ UPB_INLINE envoy_type_v3_HashPolicy_SourceIp* envoy_type_v3_HashPolicy_SourceIp_ int options, upb_Arena* arena) { envoy_type_v3_HashPolicy_SourceIp* ret = envoy_type_v3_HashPolicy_SourceIp_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_HashPolicy_SourceIp_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__v3__HashPolicy__SourceIp_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -152,13 +155,13 @@ UPB_INLINE envoy_type_v3_HashPolicy_SourceIp* envoy_type_v3_HashPolicy_SourceIp_ } UPB_INLINE char* envoy_type_v3_HashPolicy_SourceIp_serialize(const envoy_type_v3_HashPolicy_SourceIp* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_HashPolicy_SourceIp_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__HashPolicy__SourceIp_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_v3_HashPolicy_SourceIp_serialize_ex(const envoy_type_v3_HashPolicy_SourceIp* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_HashPolicy_SourceIp_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__HashPolicy__SourceIp_msg_init, options, arena, &ptr, len); return ptr; } @@ -166,12 +169,12 @@ UPB_INLINE char* envoy_type_v3_HashPolicy_SourceIp_serialize_ex(const envoy_type /* envoy.type.v3.HashPolicy.FilterState */ UPB_INLINE envoy_type_v3_HashPolicy_FilterState* envoy_type_v3_HashPolicy_FilterState_new(upb_Arena* arena) { - return (envoy_type_v3_HashPolicy_FilterState*)_upb_Message_New(&envoy_type_v3_HashPolicy_FilterState_msg_init, arena); + return (envoy_type_v3_HashPolicy_FilterState*)_upb_Message_New(&envoy__type__v3__HashPolicy__FilterState_msg_init, arena); } UPB_INLINE envoy_type_v3_HashPolicy_FilterState* envoy_type_v3_HashPolicy_FilterState_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_v3_HashPolicy_FilterState* ret = envoy_type_v3_HashPolicy_FilterState_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_HashPolicy_FilterState_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__v3__HashPolicy__FilterState_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -181,7 +184,7 @@ UPB_INLINE envoy_type_v3_HashPolicy_FilterState* envoy_type_v3_HashPolicy_Filter int options, upb_Arena* arena) { envoy_type_v3_HashPolicy_FilterState* ret = envoy_type_v3_HashPolicy_FilterState_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_HashPolicy_FilterState_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__v3__HashPolicy__FilterState_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -189,13 +192,13 @@ UPB_INLINE envoy_type_v3_HashPolicy_FilterState* envoy_type_v3_HashPolicy_Filter } UPB_INLINE char* envoy_type_v3_HashPolicy_FilterState_serialize(const envoy_type_v3_HashPolicy_FilterState* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_HashPolicy_FilterState_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__HashPolicy__FilterState_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_v3_HashPolicy_FilterState_serialize_ex(const envoy_type_v3_HashPolicy_FilterState* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_HashPolicy_FilterState_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__HashPolicy__FilterState_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_type_v3_HashPolicy_FilterState_clear_key(envoy_type_v3_HashPolicy_FilterState* msg) { @@ -215,8 +218,6 @@ UPB_INLINE void envoy_type_v3_HashPolicy_FilterState_set_key(envoy_type_v3_HashP _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_type_v3_hash_policy_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c new file mode 100644 index 00000000000..1828916a368 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c @@ -0,0 +1,76 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/hash_policy.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/v3/hash_policy.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_v3_HashPolicy_submsgs[2] = { + {.submsg = &envoy__type__v3__HashPolicy__SourceIp_msg_init}, + {.submsg = &envoy__type__v3__HashPolicy__FilterState_msg_init}, +}; + +static const upb_MiniTableField envoy_type_v3_HashPolicy__fields[2] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__v3__HashPolicy_msg_init = { + &envoy_type_v3_HashPolicy_submsgs[0], + &envoy_type_v3_HashPolicy__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +const upb_MiniTable envoy__type__v3__HashPolicy__SourceIp_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableField envoy_type_v3_HashPolicy_FilterState__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__v3__HashPolicy__FilterState_msg_init = { + NULL, + &envoy_type_v3_HashPolicy_FilterState__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[3] = { + &envoy__type__v3__HashPolicy_msg_init, + &envoy__type__v3__HashPolicy__SourceIp_msg_init, + &envoy__type__v3__HashPolicy__FilterState_msg_init, +}; + +const upb_MiniTableFile envoy_type_v3_hash_policy_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 3, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h new file mode 100644 index 00000000000..f54a830895f --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h @@ -0,0 +1,32 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/hash_policy.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_V3_HASH_POLICY_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_V3_HASH_POLICY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__v3__HashPolicy_msg_init; +extern const upb_MiniTable envoy__type__v3__HashPolicy__SourceIp_msg_init; +extern const upb_MiniTable envoy__type__v3__HashPolicy__FilterState_msg_init; + +extern const upb_MiniTableFile envoy_type_v3_hash_policy_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_V3_HASH_POLICY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/v3/http.upb.h b/src/core/ext/upb-gen/envoy/type/v3/http.upb.h new file mode 100644 index 00000000000..ff12940bdcf --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/http.upb.h @@ -0,0 +1,38 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/http.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_V3_HTTP_PROTO_UPB_H_ +#define ENVOY_TYPE_V3_HTTP_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/type/v3/http.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum { + envoy_type_v3_HTTP1 = 0, + envoy_type_v3_HTTP2 = 1, + envoy_type_v3_HTTP3 = 2 +} envoy_type_v3_CodecClientType; + + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_V3_HTTP_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c new file mode 100644 index 00000000000..c54e11f451f --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c @@ -0,0 +1,26 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/http.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/v3/http.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +const upb_MiniTableFile envoy_type_v3_http_proto_upb_file_layout = { + NULL, + NULL, + NULL, + 0, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h new file mode 100644 index 00000000000..499d347a67a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h @@ -0,0 +1,29 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/http.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_V3_HTTP_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_V3_HTTP_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + + +extern const upb_MiniTableFile envoy_type_v3_http_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_V3_HTTP_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h b/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h similarity index 86% rename from src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h rename to src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h index d3bd26d3ce7..6cd784dc89d 100644 --- a/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +++ b/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/http_status.proto * @@ -10,7 +9,14 @@ #define ENVOY_TYPE_V3_HTTP_STATUS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/type/v3/http_status.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,7 +24,6 @@ extern "C" { #endif typedef struct envoy_type_v3_HttpStatus envoy_type_v3_HttpStatus; -extern const upb_MiniTable envoy_type_v3_HttpStatus_msg_init; typedef enum { envoy_type_v3_Empty = 0, @@ -85,12 +90,12 @@ typedef enum { /* envoy.type.v3.HttpStatus */ UPB_INLINE envoy_type_v3_HttpStatus* envoy_type_v3_HttpStatus_new(upb_Arena* arena) { - return (envoy_type_v3_HttpStatus*)_upb_Message_New(&envoy_type_v3_HttpStatus_msg_init, arena); + return (envoy_type_v3_HttpStatus*)_upb_Message_New(&envoy__type__v3__HttpStatus_msg_init, arena); } UPB_INLINE envoy_type_v3_HttpStatus* envoy_type_v3_HttpStatus_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_v3_HttpStatus* ret = envoy_type_v3_HttpStatus_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_HttpStatus_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__v3__HttpStatus_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -100,7 +105,7 @@ UPB_INLINE envoy_type_v3_HttpStatus* envoy_type_v3_HttpStatus_parse_ex(const cha int options, upb_Arena* arena) { envoy_type_v3_HttpStatus* ret = envoy_type_v3_HttpStatus_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_HttpStatus_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__v3__HttpStatus_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -108,13 +113,13 @@ UPB_INLINE envoy_type_v3_HttpStatus* envoy_type_v3_HttpStatus_parse_ex(const cha } UPB_INLINE char* envoy_type_v3_HttpStatus_serialize(const envoy_type_v3_HttpStatus* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_HttpStatus_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__HttpStatus_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_v3_HttpStatus_serialize_ex(const envoy_type_v3_HttpStatus* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_HttpStatus_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__HttpStatus_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_type_v3_HttpStatus_clear_code(envoy_type_v3_HttpStatus* msg) { @@ -134,8 +139,6 @@ UPB_INLINE void envoy_type_v3_HttpStatus_set_code(envoy_type_v3_HttpStatus *msg, _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_type_v3_http_status_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c new file mode 100644 index 00000000000..6ecadb83b0a --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c @@ -0,0 +1,46 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/http_status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/v3/http_status.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_type_v3_HttpStatus__fields[1] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__v3__HttpStatus_msg_init = { + NULL, + &envoy_type_v3_HttpStatus__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__type__v3__HttpStatus_msg_init, +}; + +const upb_MiniTableFile envoy_type_v3_http_status_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h new file mode 100644 index 00000000000..1deb302d375 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/http_status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_V3_HTTP_STATUS_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_V3_HTTP_STATUS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__v3__HttpStatus_msg_init; + +extern const upb_MiniTableFile envoy_type_v3_http_status_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_V3_HTTP_STATUS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h b/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h similarity index 83% rename from src/core/ext/upb-generated/envoy/type/v3/percent.upb.h rename to src/core/ext/upb-gen/envoy/type/v3/percent.upb.h index 4a3796b73a5..277abbe0da6 100644 --- a/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +++ b/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/percent.proto * @@ -10,7 +9,14 @@ #define ENVOY_TYPE_V3_PERCENT_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/type/v3/percent.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,8 +25,6 @@ extern "C" { typedef struct envoy_type_v3_Percent envoy_type_v3_Percent; typedef struct envoy_type_v3_FractionalPercent envoy_type_v3_FractionalPercent; -extern const upb_MiniTable envoy_type_v3_Percent_msg_init; -extern const upb_MiniTable envoy_type_v3_FractionalPercent_msg_init; typedef enum { envoy_type_v3_FractionalPercent_HUNDRED = 0, @@ -33,12 +37,12 @@ typedef enum { /* envoy.type.v3.Percent */ UPB_INLINE envoy_type_v3_Percent* envoy_type_v3_Percent_new(upb_Arena* arena) { - return (envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); + return (envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena); } UPB_INLINE envoy_type_v3_Percent* envoy_type_v3_Percent_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_v3_Percent* ret = envoy_type_v3_Percent_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_Percent_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__v3__Percent_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -48,7 +52,7 @@ UPB_INLINE envoy_type_v3_Percent* envoy_type_v3_Percent_parse_ex(const char* buf int options, upb_Arena* arena) { envoy_type_v3_Percent* ret = envoy_type_v3_Percent_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_Percent_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__v3__Percent_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -56,13 +60,13 @@ UPB_INLINE envoy_type_v3_Percent* envoy_type_v3_Percent_parse_ex(const char* buf } UPB_INLINE char* envoy_type_v3_Percent_serialize(const envoy_type_v3_Percent* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_Percent_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__Percent_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_v3_Percent_serialize_ex(const envoy_type_v3_Percent* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_Percent_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__Percent_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_type_v3_Percent_clear_value(envoy_type_v3_Percent* msg) { @@ -85,12 +89,12 @@ UPB_INLINE void envoy_type_v3_Percent_set_value(envoy_type_v3_Percent *msg, doub /* envoy.type.v3.FractionalPercent */ UPB_INLINE envoy_type_v3_FractionalPercent* envoy_type_v3_FractionalPercent_new(upb_Arena* arena) { - return (envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy_type_v3_FractionalPercent_msg_init, arena); + return (envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy__type__v3__FractionalPercent_msg_init, arena); } UPB_INLINE envoy_type_v3_FractionalPercent* envoy_type_v3_FractionalPercent_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_v3_FractionalPercent* ret = envoy_type_v3_FractionalPercent_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_FractionalPercent_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__v3__FractionalPercent_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -100,7 +104,7 @@ UPB_INLINE envoy_type_v3_FractionalPercent* envoy_type_v3_FractionalPercent_pars int options, upb_Arena* arena) { envoy_type_v3_FractionalPercent* ret = envoy_type_v3_FractionalPercent_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_FractionalPercent_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__v3__FractionalPercent_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -108,13 +112,13 @@ UPB_INLINE envoy_type_v3_FractionalPercent* envoy_type_v3_FractionalPercent_pars } UPB_INLINE char* envoy_type_v3_FractionalPercent_serialize(const envoy_type_v3_FractionalPercent* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_FractionalPercent_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__FractionalPercent_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_v3_FractionalPercent_serialize_ex(const envoy_type_v3_FractionalPercent* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_FractionalPercent_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__FractionalPercent_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_type_v3_FractionalPercent_clear_numerator(envoy_type_v3_FractionalPercent* msg) { @@ -149,8 +153,6 @@ UPB_INLINE void envoy_type_v3_FractionalPercent_set_denominator(envoy_type_v3_Fr _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_type_v3_percent_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c new file mode 100644 index 00000000000..0c62048a89d --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c @@ -0,0 +1,64 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/percent.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/v3/percent.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_type_v3_Percent__fields[1] = { + {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__v3__Percent_msg_init = { + NULL, + &envoy_type_v3_Percent__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000009, &upb_psf8_1bt}, + }) +}; + +static const upb_MiniTableField envoy_type_v3_FractionalPercent__fields[2] = { + {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__v3__FractionalPercent_msg_init = { + NULL, + &envoy_type_v3_FractionalPercent__fields[0], + 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__type__v3__Percent_msg_init, + &envoy__type__v3__FractionalPercent_msg_init, +}; + +const upb_MiniTableFile envoy_type_v3_percent_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h new file mode 100644 index 00000000000..de5d7c88e12 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/percent.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_V3_PERCENT_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_V3_PERCENT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__v3__Percent_msg_init; +extern const upb_MiniTable envoy__type__v3__FractionalPercent_msg_init; + +extern const upb_MiniTableFile envoy_type_v3_percent_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_V3_PERCENT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/v3/range.upb.h b/src/core/ext/upb-gen/envoy/type/v3/range.upb.h new file mode 100644 index 00000000000..ac841a0ce0c --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/range.upb.h @@ -0,0 +1,238 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_V3_RANGE_PROTO_UPB_H_ +#define ENVOY_TYPE_V3_RANGE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "envoy/type/v3/range.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct envoy_type_v3_Int64Range envoy_type_v3_Int64Range; +typedef struct envoy_type_v3_Int32Range envoy_type_v3_Int32Range; +typedef struct envoy_type_v3_DoubleRange envoy_type_v3_DoubleRange; + + + +/* envoy.type.v3.Int64Range */ + +UPB_INLINE envoy_type_v3_Int64Range* envoy_type_v3_Int64Range_new(upb_Arena* arena) { + return (envoy_type_v3_Int64Range*)_upb_Message_New(&envoy__type__v3__Int64Range_msg_init, arena); +} +UPB_INLINE envoy_type_v3_Int64Range* envoy_type_v3_Int64Range_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_v3_Int64Range* ret = envoy_type_v3_Int64Range_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__v3__Int64Range_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_v3_Int64Range* envoy_type_v3_Int64Range_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_v3_Int64Range* ret = envoy_type_v3_Int64Range_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__v3__Int64Range_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_v3_Int64Range_serialize(const envoy_type_v3_Int64Range* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__v3__Int64Range_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_v3_Int64Range_serialize_ex(const envoy_type_v3_Int64Range* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__v3__Int64Range_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_v3_Int64Range_clear_start(envoy_type_v3_Int64Range* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int64_t envoy_type_v3_Int64Range_start(const envoy_type_v3_Int64Range* msg) { + int64_t default_val = (int64_t)0ll; + int64_t ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_type_v3_Int64Range_clear_end(envoy_type_v3_Int64Range* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int64_t envoy_type_v3_Int64Range_end(const envoy_type_v3_Int64Range* msg) { + int64_t default_val = (int64_t)0ll; + int64_t ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_type_v3_Int64Range_set_start(envoy_type_v3_Int64Range *msg, int64_t value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_type_v3_Int64Range_set_end(envoy_type_v3_Int64Range *msg, int64_t value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.type.v3.Int32Range */ + +UPB_INLINE envoy_type_v3_Int32Range* envoy_type_v3_Int32Range_new(upb_Arena* arena) { + return (envoy_type_v3_Int32Range*)_upb_Message_New(&envoy__type__v3__Int32Range_msg_init, arena); +} +UPB_INLINE envoy_type_v3_Int32Range* envoy_type_v3_Int32Range_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_v3_Int32Range* ret = envoy_type_v3_Int32Range_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__v3__Int32Range_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_v3_Int32Range* envoy_type_v3_Int32Range_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_v3_Int32Range* ret = envoy_type_v3_Int32Range_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__v3__Int32Range_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_v3_Int32Range_serialize(const envoy_type_v3_Int32Range* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__v3__Int32Range_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_v3_Int32Range_serialize_ex(const envoy_type_v3_Int32Range* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__v3__Int32Range_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_v3_Int32Range_clear_start(envoy_type_v3_Int32Range* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_type_v3_Int32Range_start(const envoy_type_v3_Int32Range* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_type_v3_Int32Range_clear_end(envoy_type_v3_Int32Range* msg) { + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t envoy_type_v3_Int32Range_end(const envoy_type_v3_Int32Range* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_type_v3_Int32Range_set_start(envoy_type_v3_Int32Range *msg, int32_t value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_type_v3_Int32Range_set_end(envoy_type_v3_Int32Range *msg, int32_t value) { + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* envoy.type.v3.DoubleRange */ + +UPB_INLINE envoy_type_v3_DoubleRange* envoy_type_v3_DoubleRange_new(upb_Arena* arena) { + return (envoy_type_v3_DoubleRange*)_upb_Message_New(&envoy__type__v3__DoubleRange_msg_init, arena); +} +UPB_INLINE envoy_type_v3_DoubleRange* envoy_type_v3_DoubleRange_parse(const char* buf, size_t size, upb_Arena* arena) { + envoy_type_v3_DoubleRange* ret = envoy_type_v3_DoubleRange_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__v3__DoubleRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE envoy_type_v3_DoubleRange* envoy_type_v3_DoubleRange_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + envoy_type_v3_DoubleRange* ret = envoy_type_v3_DoubleRange_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &envoy__type__v3__DoubleRange_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* envoy_type_v3_DoubleRange_serialize(const envoy_type_v3_DoubleRange* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__v3__DoubleRange_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* envoy_type_v3_DoubleRange_serialize_ex(const envoy_type_v3_DoubleRange* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &envoy__type__v3__DoubleRange_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void envoy_type_v3_DoubleRange_clear_start(envoy_type_v3_DoubleRange* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE double envoy_type_v3_DoubleRange_start(const envoy_type_v3_DoubleRange* msg) { + double default_val = 0; + double ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void envoy_type_v3_DoubleRange_clear_end(envoy_type_v3_DoubleRange* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE double envoy_type_v3_DoubleRange_end(const envoy_type_v3_DoubleRange* msg) { + double default_val = 0; + double ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void envoy_type_v3_DoubleRange_set_start(envoy_type_v3_DoubleRange *msg, double value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void envoy_type_v3_DoubleRange_set_end(envoy_type_v3_DoubleRange *msg, double value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_V3_RANGE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c new file mode 100644 index 00000000000..d16e792c3a7 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c @@ -0,0 +1,84 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/v3/range.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_type_v3_Int64Range__fields[2] = { + {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__v3__Int64Range_msg_init = { + NULL, + &envoy_type_v3_Int64Range__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv8_1bt}, + {0x000800003f000010, &upb_psv8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_type_v3_Int32Range__fields[2] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__v3__Int32Range_msg_init = { + NULL, + &envoy_type_v3_Int32Range__fields[0], + 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField envoy_type_v3_DoubleRange__fields[2] = { + {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__v3__DoubleRange_msg_init = { + NULL, + &envoy_type_v3_DoubleRange__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000009, &upb_psf8_1bt}, + {0x000800003f000011, &upb_psf8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[3] = { + &envoy__type__v3__Int64Range_msg_init, + &envoy__type__v3__Int32Range_msg_init, + &envoy__type__v3__DoubleRange_msg_init, +}; + +const upb_MiniTableFile envoy_type_v3_range_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 3, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h new file mode 100644 index 00000000000..3e8c29434b5 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h @@ -0,0 +1,32 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_V3_RANGE_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_V3_RANGE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__v3__Int64Range_msg_init; +extern const upb_MiniTable envoy__type__v3__Int32Range_msg_init; +extern const upb_MiniTable envoy__type__v3__DoubleRange_msg_init; + +extern const upb_MiniTableFile envoy_type_v3_range_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_V3_RANGE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h b/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h similarity index 88% rename from src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h rename to src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h index ddd9562d65f..5b1668b4712 100644 --- a/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +++ b/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/ratelimit_strategy.proto * @@ -10,7 +9,16 @@ #define ENVOY_TYPE_V3_RATELIMIT_STRATEGY_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/type/v3/ratelimit_strategy.upb_minitable.h" + +#include "envoy/type/v3/ratelimit_unit.upb_minitable.h" +#include "envoy/type/v3/token_bucket.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,10 +27,7 @@ extern "C" { typedef struct envoy_type_v3_RateLimitStrategy envoy_type_v3_RateLimitStrategy; typedef struct envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit; -extern const upb_MiniTable envoy_type_v3_RateLimitStrategy_msg_init; -extern const upb_MiniTable envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_msg_init; struct envoy_type_v3_TokenBucket; -extern const upb_MiniTable envoy_type_v3_TokenBucket_msg_init; typedef enum { envoy_type_v3_RateLimitStrategy_ALLOW_ALL = 0, @@ -34,12 +39,12 @@ typedef enum { /* envoy.type.v3.RateLimitStrategy */ UPB_INLINE envoy_type_v3_RateLimitStrategy* envoy_type_v3_RateLimitStrategy_new(upb_Arena* arena) { - return (envoy_type_v3_RateLimitStrategy*)_upb_Message_New(&envoy_type_v3_RateLimitStrategy_msg_init, arena); + return (envoy_type_v3_RateLimitStrategy*)_upb_Message_New(&envoy__type__v3__RateLimitStrategy_msg_init, arena); } UPB_INLINE envoy_type_v3_RateLimitStrategy* envoy_type_v3_RateLimitStrategy_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_v3_RateLimitStrategy* ret = envoy_type_v3_RateLimitStrategy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_RateLimitStrategy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__v3__RateLimitStrategy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -49,7 +54,7 @@ UPB_INLINE envoy_type_v3_RateLimitStrategy* envoy_type_v3_RateLimitStrategy_pars int options, upb_Arena* arena) { envoy_type_v3_RateLimitStrategy* ret = envoy_type_v3_RateLimitStrategy_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_RateLimitStrategy_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__v3__RateLimitStrategy_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -57,13 +62,13 @@ UPB_INLINE envoy_type_v3_RateLimitStrategy* envoy_type_v3_RateLimitStrategy_pars } UPB_INLINE char* envoy_type_v3_RateLimitStrategy_serialize(const envoy_type_v3_RateLimitStrategy* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_RateLimitStrategy_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__RateLimitStrategy_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_v3_RateLimitStrategy_serialize_ex(const envoy_type_v3_RateLimitStrategy* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_RateLimitStrategy_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__RateLimitStrategy_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -133,7 +138,7 @@ UPB_INLINE void envoy_type_v3_RateLimitStrategy_set_requests_per_time_unit(envoy UPB_INLINE struct envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit* envoy_type_v3_RateLimitStrategy_mutable_requests_per_time_unit(envoy_type_v3_RateLimitStrategy* msg, upb_Arena* arena) { struct envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit* sub = (struct envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit*)envoy_type_v3_RateLimitStrategy_requests_per_time_unit(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit*)_upb_Message_New(&envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_msg_init, arena); + sub = (struct envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit*)_upb_Message_New(&envoy__type__v3__RateLimitStrategy__RequestsPerTimeUnit_msg_init, arena); if (sub) envoy_type_v3_RateLimitStrategy_set_requests_per_time_unit(msg, sub); } return sub; @@ -145,7 +150,7 @@ UPB_INLINE void envoy_type_v3_RateLimitStrategy_set_token_bucket(envoy_type_v3_R UPB_INLINE struct envoy_type_v3_TokenBucket* envoy_type_v3_RateLimitStrategy_mutable_token_bucket(envoy_type_v3_RateLimitStrategy* msg, upb_Arena* arena) { struct envoy_type_v3_TokenBucket* sub = (struct envoy_type_v3_TokenBucket*)envoy_type_v3_RateLimitStrategy_token_bucket(msg); if (sub == NULL) { - sub = (struct envoy_type_v3_TokenBucket*)_upb_Message_New(&envoy_type_v3_TokenBucket_msg_init, arena); + sub = (struct envoy_type_v3_TokenBucket*)_upb_Message_New(&envoy__type__v3__TokenBucket_msg_init, arena); if (sub) envoy_type_v3_RateLimitStrategy_set_token_bucket(msg, sub); } return sub; @@ -154,12 +159,12 @@ UPB_INLINE struct envoy_type_v3_TokenBucket* envoy_type_v3_RateLimitStrategy_mut /* envoy.type.v3.RateLimitStrategy.RequestsPerTimeUnit */ UPB_INLINE envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit* envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_new(upb_Arena* arena) { - return (envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit*)_upb_Message_New(&envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_msg_init, arena); + return (envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit*)_upb_Message_New(&envoy__type__v3__RateLimitStrategy__RequestsPerTimeUnit_msg_init, arena); } UPB_INLINE envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit* envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit* ret = envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__v3__RateLimitStrategy__RequestsPerTimeUnit_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -169,7 +174,7 @@ UPB_INLINE envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit* envoy_type_v3_Ra int options, upb_Arena* arena) { envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit* ret = envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__v3__RateLimitStrategy__RequestsPerTimeUnit_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -177,13 +182,13 @@ UPB_INLINE envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit* envoy_type_v3_Ra } UPB_INLINE char* envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_serialize(const envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__RateLimitStrategy__RequestsPerTimeUnit_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_serialize_ex(const envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__RateLimitStrategy__RequestsPerTimeUnit_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_clear_requests_per_time_unit(envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit* msg) { @@ -218,8 +223,6 @@ UPB_INLINE void envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_set_time_uni _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_type_v3_ratelimit_strategy_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c new file mode 100644 index 00000000000..2fd8cccb5c9 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c @@ -0,0 +1,75 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/ratelimit_strategy.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/v3/ratelimit_strategy.upb_minitable.h" +#include "envoy/type/v3/ratelimit_unit.upb_minitable.h" +#include "envoy/type/v3/token_bucket.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_v3_RateLimitStrategy_submsgs[2] = { + {.submsg = &envoy__type__v3__RateLimitStrategy__RequestsPerTimeUnit_msg_init}, + {.submsg = &envoy__type__v3__TokenBucket_msg_init}, +}; + +static const upb_MiniTableField envoy_type_v3_RateLimitStrategy__fields[3] = { + {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__v3__RateLimitStrategy_msg_init = { + &envoy_type_v3_RateLimitStrategy_submsgs[0], + &envoy_type_v3_RateLimitStrategy__fields[0], + UPB_SIZE(8, 16), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000008, &upb_pov4_1bt}, + {0x0008000002000012, &upb_pom_1bt_max64b}, + {0x000800000301001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableField envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit__fields[2] = { + {1, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__v3__RateLimitStrategy__RequestsPerTimeUnit_msg_init = { + NULL, + &envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000008, &upb_psv8_1bt}, + {0x000000003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &envoy__type__v3__RateLimitStrategy_msg_init, + &envoy__type__v3__RateLimitStrategy__RequestsPerTimeUnit_msg_init, +}; + +const upb_MiniTableFile envoy_type_v3_ratelimit_strategy_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h new file mode 100644 index 00000000000..6b3623bb9f4 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/ratelimit_strategy.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_V3_RATELIMIT_STRATEGY_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_V3_RATELIMIT_STRATEGY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__v3__RateLimitStrategy_msg_init; +extern const upb_MiniTable envoy__type__v3__RateLimitStrategy__RequestsPerTimeUnit_msg_init; + +extern const upb_MiniTableFile envoy_type_v3_ratelimit_strategy_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_V3_RATELIMIT_STRATEGY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h b/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h similarity index 78% rename from src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h rename to src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h index 0e5ed4b5768..b1b9a9ebc1b 100644 --- a/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +++ b/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/ratelimit_unit.proto * @@ -10,7 +9,12 @@ #define ENVOY_TYPE_V3_RATELIMIT_UNIT_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/type/v3/ratelimit_unit.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -29,8 +33,6 @@ typedef enum { -extern const upb_MiniTableFile envoy_type_v3_ratelimit_unit_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c new file mode 100644 index 00000000000..e6731c1ffa5 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c @@ -0,0 +1,26 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/ratelimit_unit.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/v3/ratelimit_unit.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +const upb_MiniTableFile envoy_type_v3_ratelimit_unit_proto_upb_file_layout = { + NULL, + NULL, + NULL, + 0, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h new file mode 100644 index 00000000000..a20e7d368cd --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h @@ -0,0 +1,29 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/ratelimit_unit.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_V3_RATELIMIT_UNIT_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_V3_RATELIMIT_UNIT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + + +extern const upb_MiniTableFile envoy_type_v3_ratelimit_unit_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_V3_RATELIMIT_UNIT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h b/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h similarity index 87% rename from src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h rename to src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h index 9b5d66f922b..5604cd6c06e 100644 --- a/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +++ b/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/semantic_version.proto * @@ -10,7 +9,13 @@ #define ENVOY_TYPE_V3_SEMANTIC_VERSION_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/type/v3/semantic_version.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,19 +23,18 @@ extern "C" { #endif typedef struct envoy_type_v3_SemanticVersion envoy_type_v3_SemanticVersion; -extern const upb_MiniTable envoy_type_v3_SemanticVersion_msg_init; /* envoy.type.v3.SemanticVersion */ UPB_INLINE envoy_type_v3_SemanticVersion* envoy_type_v3_SemanticVersion_new(upb_Arena* arena) { - return (envoy_type_v3_SemanticVersion*)_upb_Message_New(&envoy_type_v3_SemanticVersion_msg_init, arena); + return (envoy_type_v3_SemanticVersion*)_upb_Message_New(&envoy__type__v3__SemanticVersion_msg_init, arena); } UPB_INLINE envoy_type_v3_SemanticVersion* envoy_type_v3_SemanticVersion_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_v3_SemanticVersion* ret = envoy_type_v3_SemanticVersion_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_SemanticVersion_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__v3__SemanticVersion_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -40,7 +44,7 @@ UPB_INLINE envoy_type_v3_SemanticVersion* envoy_type_v3_SemanticVersion_parse_ex int options, upb_Arena* arena) { envoy_type_v3_SemanticVersion* ret = envoy_type_v3_SemanticVersion_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_SemanticVersion_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__v3__SemanticVersion_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -48,13 +52,13 @@ UPB_INLINE envoy_type_v3_SemanticVersion* envoy_type_v3_SemanticVersion_parse_ex } UPB_INLINE char* envoy_type_v3_SemanticVersion_serialize(const envoy_type_v3_SemanticVersion* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_SemanticVersion_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__SemanticVersion_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_v3_SemanticVersion_serialize_ex(const envoy_type_v3_SemanticVersion* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_SemanticVersion_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__SemanticVersion_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_type_v3_SemanticVersion_clear_major_number(envoy_type_v3_SemanticVersion* msg) { @@ -104,8 +108,6 @@ UPB_INLINE void envoy_type_v3_SemanticVersion_set_patch(envoy_type_v3_SemanticVe _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile envoy_type_v3_semantic_version_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c new file mode 100644 index 00000000000..b4c4c7ac7ed --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c @@ -0,0 +1,49 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/semantic_version.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/v3/semantic_version.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField envoy_type_v3_SemanticVersion__fields[3] = { + {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 8, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__v3__SemanticVersion_msg_init = { + NULL, + &envoy_type_v3_SemanticVersion__fields[0], + 16, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x000800003f000018, &upb_psv4_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__type__v3__SemanticVersion_msg_init, +}; + +const upb_MiniTableFile envoy_type_v3_semantic_version_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h new file mode 100644 index 00000000000..183a79a94f0 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/semantic_version.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_V3_SEMANTIC_VERSION_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_V3_SEMANTIC_VERSION_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__v3__SemanticVersion_msg_init; + +extern const upb_MiniTableFile envoy_type_v3_semantic_version_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_V3_SEMANTIC_VERSION_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h b/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h similarity index 87% rename from src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h rename to src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h index 492f2b4ed19..5f1866f0ca3 100644 --- a/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +++ b/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/token_bucket.proto * @@ -10,7 +9,16 @@ #define ENVOY_TYPE_V3_TOKEN_BUCKET_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "envoy/type/v3/token_bucket.upb_minitable.h" + +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,23 +26,20 @@ extern "C" { #endif typedef struct envoy_type_v3_TokenBucket envoy_type_v3_TokenBucket; -extern const upb_MiniTable envoy_type_v3_TokenBucket_msg_init; struct google_protobuf_Duration; struct google_protobuf_UInt32Value; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; /* envoy.type.v3.TokenBucket */ UPB_INLINE envoy_type_v3_TokenBucket* envoy_type_v3_TokenBucket_new(upb_Arena* arena) { - return (envoy_type_v3_TokenBucket*)_upb_Message_New(&envoy_type_v3_TokenBucket_msg_init, arena); + return (envoy_type_v3_TokenBucket*)_upb_Message_New(&envoy__type__v3__TokenBucket_msg_init, arena); } UPB_INLINE envoy_type_v3_TokenBucket* envoy_type_v3_TokenBucket_parse(const char* buf, size_t size, upb_Arena* arena) { envoy_type_v3_TokenBucket* ret = envoy_type_v3_TokenBucket_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_TokenBucket_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &envoy__type__v3__TokenBucket_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -44,7 +49,7 @@ UPB_INLINE envoy_type_v3_TokenBucket* envoy_type_v3_TokenBucket_parse_ex(const c int options, upb_Arena* arena) { envoy_type_v3_TokenBucket* ret = envoy_type_v3_TokenBucket_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_TokenBucket_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &envoy__type__v3__TokenBucket_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -52,13 +57,13 @@ UPB_INLINE envoy_type_v3_TokenBucket* envoy_type_v3_TokenBucket_parse_ex(const c } UPB_INLINE char* envoy_type_v3_TokenBucket_serialize(const envoy_type_v3_TokenBucket* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_TokenBucket_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__TokenBucket_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* envoy_type_v3_TokenBucket_serialize_ex(const envoy_type_v3_TokenBucket* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_TokenBucket_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &envoy__type__v3__TokenBucket_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void envoy_type_v3_TokenBucket_clear_max_tokens(envoy_type_v3_TokenBucket* msg) { @@ -114,7 +119,7 @@ UPB_INLINE void envoy_type_v3_TokenBucket_set_tokens_per_fill(envoy_type_v3_Toke UPB_INLINE struct google_protobuf_UInt32Value* envoy_type_v3_TokenBucket_mutable_tokens_per_fill(envoy_type_v3_TokenBucket* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_type_v3_TokenBucket_tokens_per_fill(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) envoy_type_v3_TokenBucket_set_tokens_per_fill(msg, sub); } return sub; @@ -126,14 +131,12 @@ UPB_INLINE void envoy_type_v3_TokenBucket_set_fill_interval(envoy_type_v3_TokenB UPB_INLINE struct google_protobuf_Duration* envoy_type_v3_TokenBucket_mutable_fill_interval(envoy_type_v3_TokenBucket* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_type_v3_TokenBucket_fill_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) envoy_type_v3_TokenBucket_set_fill_interval(msg, sub); } return sub; } -extern const upb_MiniTableFile envoy_type_v3_token_bucket_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c b/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c new file mode 100644 index 00000000000..ddc3b6beb67 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c @@ -0,0 +1,57 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/token_bucket.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "envoy/type/v3/token_bucket.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub envoy_type_v3_TokenBucket_submsgs[2] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField envoy_type_v3_TokenBucket__fields[3] = { + {1, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable envoy__type__v3__TokenBucket_msg_init = { + &envoy_type_v3_TokenBucket_submsgs[0], + &envoy_type_v3_TokenBucket__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x0008000001000012, &upb_psm_1bt_maxmaxb}, + {0x001000000201001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &envoy__type__v3__TokenBucket_msg_init, +}; + +const upb_MiniTableFile envoy_type_v3_token_bucket_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h b/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h new file mode 100644 index 00000000000..d9aaac68ba5 --- /dev/null +++ b/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/token_bucket.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_V3_TOKEN_BUCKET_PROTO_UPB_MINITABLE_H_ +#define ENVOY_TYPE_V3_TOKEN_BUCKET_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable envoy__type__v3__TokenBucket_msg_init; + +extern const upb_MiniTableFile envoy_type_v3_token_bucket_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_V3_TOKEN_BUCKET_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/google/api/annotations.upb.h b/src/core/ext/upb-gen/google/api/annotations.upb.h similarity index 85% rename from src/core/ext/upb-generated/google/api/annotations.upb.h rename to src/core/ext/upb-gen/google/api/annotations.upb.h index a08085870d3..2a07e8a88d3 100644 --- a/src/core/ext/upb-generated/google/api/annotations.upb.h +++ b/src/core/ext/upb-gen/google/api/annotations.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/api/annotations.proto * @@ -10,16 +9,20 @@ #define GOOGLE_API_ANNOTATIONS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "google/api/annotations.upb_minitable.h" + +#include "google/api/http.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { #endif -extern const upb_MiniTableExtension google_api_http_ext; struct google_protobuf_MethodOptions; -extern const upb_MiniTable google_protobuf_MethodOptions_msg_init; UPB_INLINE bool google_api_has_http(const struct google_protobuf_MethodOptions* msg) { @@ -44,8 +47,6 @@ UPB_INLINE void google_api_set_http(struct google_protobuf_MethodOptions* msg, c bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); UPB_ASSERT(ok); } -extern const upb_MiniTableFile google_api_annotations_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c b/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c new file mode 100644 index 00000000000..118590edad4 --- /dev/null +++ b/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c @@ -0,0 +1,38 @@ +/* This file was generated by upb_generator from the input file: + * + * google/api/annotations.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "google/api/annotations.upb_minitable.h" +#include "google/api/http.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +const upb_MiniTableExtension google_api_http_ext = { + {72295728, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__MethodOptions_msg_init, + {.submsg = &google__api__HttpRule_msg_init}, + +}; + +static const upb_MiniTableExtension *extensions_layout[1] = { + &google_api_http_ext, +}; + +const upb_MiniTableFile google_api_annotations_proto_upb_file_layout = { + NULL, + NULL, + extensions_layout, + 0, + 0, + 1, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h b/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h new file mode 100644 index 00000000000..d98f0dacdda --- /dev/null +++ b/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * google/api/annotations.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_API_ANNOTATIONS_PROTO_UPB_MINITABLE_H_ +#define GOOGLE_API_ANNOTATIONS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTableExtension google_api_http_ext; + +extern const upb_MiniTableFile google_api_annotations_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_API_ANNOTATIONS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h b/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h similarity index 93% rename from src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h rename to src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h index 1305238a147..e85a6aed895 100644 --- a/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +++ b/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/api/expr/v1alpha1/checked.proto * @@ -10,7 +9,14 @@ #define GOOGLE_API_EXPR_V1ALPHA1_CHECKED_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "google/api/expr/v1alpha1/checked.upb_minitable.h" + +#include "google/api/expr/v1alpha1/syntax.upb_minitable.h" +#include "google/protobuf/empty.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -30,27 +36,10 @@ typedef struct google_api_expr_v1alpha1_Decl_IdentDecl google_api_expr_v1alpha1_ typedef struct google_api_expr_v1alpha1_Decl_FunctionDecl google_api_expr_v1alpha1_Decl_FunctionDecl; typedef struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload google_api_expr_v1alpha1_Decl_FunctionDecl_Overload; typedef struct google_api_expr_v1alpha1_Reference google_api_expr_v1alpha1_Reference; -extern const upb_MiniTable google_api_expr_v1alpha1_CheckedExpr_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Type_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Type_ListType_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Type_MapType_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Type_FunctionType_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Type_AbstractType_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Decl_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Decl_IdentDecl_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Reference_msg_init; struct google_api_expr_v1alpha1_Constant; struct google_api_expr_v1alpha1_Expr; struct google_api_expr_v1alpha1_SourceInfo; struct google_protobuf_Empty; -extern const upb_MiniTable google_api_expr_v1alpha1_Constant_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Expr_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_SourceInfo_msg_init; -extern const upb_MiniTable google_protobuf_Empty_msg_init; typedef enum { google_api_expr_v1alpha1_Type_PRIMITIVE_TYPE_UNSPECIFIED = 0, @@ -74,12 +63,12 @@ typedef enum { /* google.api.expr.v1alpha1.CheckedExpr */ UPB_INLINE google_api_expr_v1alpha1_CheckedExpr* google_api_expr_v1alpha1_CheckedExpr_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_CheckedExpr*)_upb_Message_New(&google_api_expr_v1alpha1_CheckedExpr_msg_init, arena); + return (google_api_expr_v1alpha1_CheckedExpr*)_upb_Message_New(&google__api__expr__v1alpha1__CheckedExpr_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_CheckedExpr* google_api_expr_v1alpha1_CheckedExpr_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_CheckedExpr* ret = google_api_expr_v1alpha1_CheckedExpr_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_CheckedExpr_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__CheckedExpr_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -89,7 +78,7 @@ UPB_INLINE google_api_expr_v1alpha1_CheckedExpr* google_api_expr_v1alpha1_Checke int options, upb_Arena* arena) { google_api_expr_v1alpha1_CheckedExpr* ret = google_api_expr_v1alpha1_CheckedExpr_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_CheckedExpr_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__CheckedExpr_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -97,13 +86,13 @@ UPB_INLINE google_api_expr_v1alpha1_CheckedExpr* google_api_expr_v1alpha1_Checke } UPB_INLINE char* google_api_expr_v1alpha1_CheckedExpr_serialize(const google_api_expr_v1alpha1_CheckedExpr* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_CheckedExpr_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__CheckedExpr_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_CheckedExpr_serialize_ex(const google_api_expr_v1alpha1_CheckedExpr* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_CheckedExpr_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__CheckedExpr_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_clear_reference_map(google_api_expr_v1alpha1_CheckedExpr* msg) { @@ -234,7 +223,7 @@ UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_set_expr(google_api_expr_v1 UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_CheckedExpr_mutable_expr(google_api_expr_v1alpha1_CheckedExpr* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_CheckedExpr_expr(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); if (sub) google_api_expr_v1alpha1_CheckedExpr_set_expr(msg, sub); } return sub; @@ -246,7 +235,7 @@ UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_set_source_info(google_api_ UPB_INLINE struct google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_CheckedExpr_mutable_source_info(google_api_expr_v1alpha1_CheckedExpr* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_SourceInfo* sub = (struct google_api_expr_v1alpha1_SourceInfo*)google_api_expr_v1alpha1_CheckedExpr_source_info(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_SourceInfo*)_upb_Message_New(&google_api_expr_v1alpha1_SourceInfo_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_SourceInfo*)_upb_Message_New(&google__api__expr__v1alpha1__SourceInfo_msg_init, arena); if (sub) google_api_expr_v1alpha1_CheckedExpr_set_source_info(msg, sub); } return sub; @@ -297,12 +286,12 @@ UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_set_value(goog /* google.api.expr.v1alpha1.Type */ UPB_INLINE google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena); + return (google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Type* ret = google_api_expr_v1alpha1_Type_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -312,7 +301,7 @@ UPB_INLINE google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_parse_ex int options, upb_Arena* arena) { google_api_expr_v1alpha1_Type* ret = google_api_expr_v1alpha1_Type_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -320,13 +309,13 @@ UPB_INLINE google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_parse_ex } UPB_INLINE char* google_api_expr_v1alpha1_Type_serialize(const google_api_expr_v1alpha1_Type* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Type_serialize_ex(const google_api_expr_v1alpha1_Type* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -552,7 +541,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Type_set_dyn(google_api_expr_v1alpha1_T UPB_INLINE struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_mutable_dyn(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) { struct google_protobuf_Empty* sub = (struct google_protobuf_Empty*)google_api_expr_v1alpha1_Type_dyn(msg); if (sub == NULL) { - sub = (struct google_protobuf_Empty*)_upb_Message_New(&google_protobuf_Empty_msg_init, arena); + sub = (struct google_protobuf_Empty*)_upb_Message_New(&google__protobuf__Empty_msg_init, arena); if (sub) google_api_expr_v1alpha1_Type_set_dyn(msg, sub); } return sub; @@ -580,7 +569,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Type_set_list_type(google_api_expr_v1al UPB_INLINE struct google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type_mutable_list_type(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Type_ListType* sub = (struct google_api_expr_v1alpha1_Type_ListType*)google_api_expr_v1alpha1_Type_list_type(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Type_ListType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_ListType_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Type_ListType*)_upb_Message_New(&google__api__expr__v1alpha1__Type__ListType_msg_init, arena); if (sub) google_api_expr_v1alpha1_Type_set_list_type(msg, sub); } return sub; @@ -592,7 +581,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Type_set_map_type(google_api_expr_v1alp UPB_INLINE struct google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_mutable_map_type(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Type_MapType* sub = (struct google_api_expr_v1alpha1_Type_MapType*)google_api_expr_v1alpha1_Type_map_type(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Type_MapType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_MapType_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Type_MapType*)_upb_Message_New(&google__api__expr__v1alpha1__Type__MapType_msg_init, arena); if (sub) google_api_expr_v1alpha1_Type_set_map_type(msg, sub); } return sub; @@ -604,7 +593,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Type_set_function(google_api_expr_v1alp UPB_INLINE struct google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_Type_mutable_function(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Type_FunctionType* sub = (struct google_api_expr_v1alpha1_Type_FunctionType*)google_api_expr_v1alpha1_Type_function(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Type_FunctionType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_FunctionType_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Type_FunctionType*)_upb_Message_New(&google__api__expr__v1alpha1__Type__FunctionType_msg_init, arena); if (sub) google_api_expr_v1alpha1_Type_set_function(msg, sub); } return sub; @@ -624,7 +613,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Type_set_type(google_api_expr_v1alpha1_ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_mutable_type(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_type(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena); if (sub) google_api_expr_v1alpha1_Type_set_type(msg, sub); } return sub; @@ -636,7 +625,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Type_set_error(google_api_expr_v1alpha1 UPB_INLINE struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_mutable_error(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) { struct google_protobuf_Empty* sub = (struct google_protobuf_Empty*)google_api_expr_v1alpha1_Type_error(msg); if (sub == NULL) { - sub = (struct google_protobuf_Empty*)_upb_Message_New(&google_protobuf_Empty_msg_init, arena); + sub = (struct google_protobuf_Empty*)_upb_Message_New(&google__protobuf__Empty_msg_init, arena); if (sub) google_api_expr_v1alpha1_Type_set_error(msg, sub); } return sub; @@ -648,7 +637,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Type_set_abstract_type(google_api_expr_ UPB_INLINE struct google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_Type_mutable_abstract_type(google_api_expr_v1alpha1_Type* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Type_AbstractType* sub = (struct google_api_expr_v1alpha1_Type_AbstractType*)google_api_expr_v1alpha1_Type_abstract_type(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Type_AbstractType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_AbstractType_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Type_AbstractType*)_upb_Message_New(&google__api__expr__v1alpha1__Type__AbstractType_msg_init, arena); if (sub) google_api_expr_v1alpha1_Type_set_abstract_type(msg, sub); } return sub; @@ -657,12 +646,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1 /* google.api.expr.v1alpha1.Type.ListType */ UPB_INLINE google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type_ListType_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Type_ListType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_ListType_msg_init, arena); + return (google_api_expr_v1alpha1_Type_ListType*)_upb_Message_New(&google__api__expr__v1alpha1__Type__ListType_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type_ListType_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Type_ListType* ret = google_api_expr_v1alpha1_Type_ListType_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_ListType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__ListType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -672,7 +661,7 @@ UPB_INLINE google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type int options, upb_Arena* arena) { google_api_expr_v1alpha1_Type_ListType* ret = google_api_expr_v1alpha1_Type_ListType_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_ListType_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__ListType_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -680,13 +669,13 @@ UPB_INLINE google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type } UPB_INLINE char* google_api_expr_v1alpha1_Type_ListType_serialize(const google_api_expr_v1alpha1_Type_ListType* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_ListType_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__ListType_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Type_ListType_serialize_ex(const google_api_expr_v1alpha1_Type_ListType* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_ListType_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__ListType_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Type_ListType_clear_elem_type(google_api_expr_v1alpha1_Type_ListType* msg) { @@ -712,7 +701,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Type_ListType_set_elem_type(google_api_ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_ListType_mutable_elem_type(google_api_expr_v1alpha1_Type_ListType* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_ListType_elem_type(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena); if (sub) google_api_expr_v1alpha1_Type_ListType_set_elem_type(msg, sub); } return sub; @@ -721,12 +710,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_L /* google.api.expr.v1alpha1.Type.MapType */ UPB_INLINE google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_MapType_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Type_MapType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_MapType_msg_init, arena); + return (google_api_expr_v1alpha1_Type_MapType*)_upb_Message_New(&google__api__expr__v1alpha1__Type__MapType_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_MapType_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Type_MapType* ret = google_api_expr_v1alpha1_Type_MapType_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_MapType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__MapType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -736,7 +725,7 @@ UPB_INLINE google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_ int options, upb_Arena* arena) { google_api_expr_v1alpha1_Type_MapType* ret = google_api_expr_v1alpha1_Type_MapType_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_MapType_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__MapType_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -744,13 +733,13 @@ UPB_INLINE google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_ } UPB_INLINE char* google_api_expr_v1alpha1_Type_MapType_serialize(const google_api_expr_v1alpha1_Type_MapType* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_MapType_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__MapType_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Type_MapType_serialize_ex(const google_api_expr_v1alpha1_Type_MapType* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_MapType_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__MapType_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_clear_key_type(google_api_expr_v1alpha1_Type_MapType* msg) { @@ -791,7 +780,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_set_key_type(google_api_ex UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_MapType_mutable_key_type(google_api_expr_v1alpha1_Type_MapType* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_MapType_key_type(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena); if (sub) google_api_expr_v1alpha1_Type_MapType_set_key_type(msg, sub); } return sub; @@ -803,7 +792,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_set_value_type(google_api_ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_MapType_mutable_value_type(google_api_expr_v1alpha1_Type_MapType* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_MapType_value_type(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena); if (sub) google_api_expr_v1alpha1_Type_MapType_set_value_type(msg, sub); } return sub; @@ -812,12 +801,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_M /* google.api.expr.v1alpha1.Type.FunctionType */ UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_Type_FunctionType_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Type_FunctionType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_FunctionType_msg_init, arena); + return (google_api_expr_v1alpha1_Type_FunctionType*)_upb_Message_New(&google__api__expr__v1alpha1__Type__FunctionType_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_Type_FunctionType_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Type_FunctionType* ret = google_api_expr_v1alpha1_Type_FunctionType_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_FunctionType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__FunctionType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -827,7 +816,7 @@ UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_ int options, upb_Arena* arena) { google_api_expr_v1alpha1_Type_FunctionType* ret = google_api_expr_v1alpha1_Type_FunctionType_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_FunctionType_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__FunctionType_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -835,13 +824,13 @@ UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_ } UPB_INLINE char* google_api_expr_v1alpha1_Type_FunctionType_serialize(const google_api_expr_v1alpha1_Type_FunctionType* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_FunctionType_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__FunctionType_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Type_FunctionType_serialize_ex(const google_api_expr_v1alpha1_Type_FunctionType* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_FunctionType_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__FunctionType_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Type_FunctionType_clear_result_type(google_api_expr_v1alpha1_Type_FunctionType* msg) { @@ -904,7 +893,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Type_FunctionType_set_result_type(googl UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_FunctionType_mutable_result_type(google_api_expr_v1alpha1_Type_FunctionType* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Type_FunctionType_result_type(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena); if (sub) google_api_expr_v1alpha1_Type_FunctionType_set_result_type(msg, sub); } return sub; @@ -930,7 +919,7 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_F if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena); + struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -939,12 +928,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_F /* google.api.expr.v1alpha1.Type.AbstractType */ UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_Type_AbstractType_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Type_AbstractType*)_upb_Message_New(&google_api_expr_v1alpha1_Type_AbstractType_msg_init, arena); + return (google_api_expr_v1alpha1_Type_AbstractType*)_upb_Message_New(&google__api__expr__v1alpha1__Type__AbstractType_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_Type_AbstractType_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Type_AbstractType* ret = google_api_expr_v1alpha1_Type_AbstractType_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_AbstractType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__AbstractType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -954,7 +943,7 @@ UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_ int options, upb_Arena* arena) { google_api_expr_v1alpha1_Type_AbstractType* ret = google_api_expr_v1alpha1_Type_AbstractType_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Type_AbstractType_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Type__AbstractType_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -962,13 +951,13 @@ UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_ } UPB_INLINE char* google_api_expr_v1alpha1_Type_AbstractType_serialize(const google_api_expr_v1alpha1_Type_AbstractType* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_AbstractType_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__AbstractType_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Type_AbstractType_serialize_ex(const google_api_expr_v1alpha1_Type_AbstractType* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Type_AbstractType_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Type__AbstractType_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Type_AbstractType_clear_name(google_api_expr_v1alpha1_Type_AbstractType* msg) { @@ -1045,7 +1034,7 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_A if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena); + struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1054,12 +1043,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_A /* google.api.expr.v1alpha1.Decl */ UPB_INLINE google_api_expr_v1alpha1_Decl* google_api_expr_v1alpha1_Decl_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Decl*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_msg_init, arena); + return (google_api_expr_v1alpha1_Decl*)_upb_Message_New(&google__api__expr__v1alpha1__Decl_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Decl* google_api_expr_v1alpha1_Decl_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Decl* ret = google_api_expr_v1alpha1_Decl_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1069,7 +1058,7 @@ UPB_INLINE google_api_expr_v1alpha1_Decl* google_api_expr_v1alpha1_Decl_parse_ex int options, upb_Arena* arena) { google_api_expr_v1alpha1_Decl* ret = google_api_expr_v1alpha1_Decl_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1077,13 +1066,13 @@ UPB_INLINE google_api_expr_v1alpha1_Decl* google_api_expr_v1alpha1_Decl_parse_ex } UPB_INLINE char* google_api_expr_v1alpha1_Decl_serialize(const google_api_expr_v1alpha1_Decl* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Decl_serialize_ex(const google_api_expr_v1alpha1_Decl* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1148,7 +1137,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Decl_set_ident(google_api_expr_v1alpha1 UPB_INLINE struct google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Decl_mutable_ident(google_api_expr_v1alpha1_Decl* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Decl_IdentDecl* sub = (struct google_api_expr_v1alpha1_Decl_IdentDecl*)google_api_expr_v1alpha1_Decl_ident(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Decl_IdentDecl*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_IdentDecl_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Decl_IdentDecl*)_upb_Message_New(&google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, arena); if (sub) google_api_expr_v1alpha1_Decl_set_ident(msg, sub); } return sub; @@ -1160,7 +1149,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Decl_set_function(google_api_expr_v1alp UPB_INLINE struct google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_Decl_mutable_function(google_api_expr_v1alpha1_Decl* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Decl_FunctionDecl* sub = (struct google_api_expr_v1alpha1_Decl_FunctionDecl*)google_api_expr_v1alpha1_Decl_function(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Decl_FunctionDecl*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Decl_FunctionDecl*)_upb_Message_New(&google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, arena); if (sub) google_api_expr_v1alpha1_Decl_set_function(msg, sub); } return sub; @@ -1169,12 +1158,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1 /* google.api.expr.v1alpha1.Decl.IdentDecl */ UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Decl_IdentDecl_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Decl_IdentDecl*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_IdentDecl_msg_init, arena); + return (google_api_expr_v1alpha1_Decl_IdentDecl*)_upb_Message_New(&google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Decl_IdentDecl_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Decl_IdentDecl* ret = google_api_expr_v1alpha1_Decl_IdentDecl_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_IdentDecl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1184,7 +1173,7 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Dec int options, upb_Arena* arena) { google_api_expr_v1alpha1_Decl_IdentDecl* ret = google_api_expr_v1alpha1_Decl_IdentDecl_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_IdentDecl_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1192,13 +1181,13 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Dec } UPB_INLINE char* google_api_expr_v1alpha1_Decl_IdentDecl_serialize(const google_api_expr_v1alpha1_Decl_IdentDecl* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_IdentDecl_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Decl_IdentDecl_serialize_ex(const google_api_expr_v1alpha1_Decl_IdentDecl* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_IdentDecl_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_clear_type(google_api_expr_v1alpha1_Decl_IdentDecl* msg) { @@ -1250,7 +1239,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_set_type(google_api_expr UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_IdentDecl_mutable_type(google_api_expr_v1alpha1_Decl_IdentDecl* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Decl_IdentDecl_type(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena); if (sub) google_api_expr_v1alpha1_Decl_IdentDecl_set_type(msg, sub); } return sub; @@ -1262,7 +1251,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_set_value(google_api_exp UPB_INLINE struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Decl_IdentDecl_mutable_value(google_api_expr_v1alpha1_Decl_IdentDecl* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Constant* sub = (struct google_api_expr_v1alpha1_Constant*)google_api_expr_v1alpha1_Decl_IdentDecl_value(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Constant*)_upb_Message_New(&google_api_expr_v1alpha1_Constant_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Constant*)_upb_Message_New(&google__api__expr__v1alpha1__Constant_msg_init, arena); if (sub) google_api_expr_v1alpha1_Decl_IdentDecl_set_value(msg, sub); } return sub; @@ -1275,12 +1264,12 @@ UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_set_doc(google_api_expr_ /* google.api.expr.v1alpha1.Decl.FunctionDecl */ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_Decl_FunctionDecl_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Decl_FunctionDecl*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init, arena); + return (google_api_expr_v1alpha1_Decl_FunctionDecl*)_upb_Message_New(&google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_Decl_FunctionDecl_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Decl_FunctionDecl* ret = google_api_expr_v1alpha1_Decl_FunctionDecl_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1290,7 +1279,7 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_ int options, upb_Arena* arena) { google_api_expr_v1alpha1_Decl_FunctionDecl* ret = google_api_expr_v1alpha1_Decl_FunctionDecl_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1298,13 +1287,13 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_ } UPB_INLINE char* google_api_expr_v1alpha1_Decl_FunctionDecl_serialize(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Decl_FunctionDecl_serialize_ex(const google_api_expr_v1alpha1_Decl_FunctionDecl* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_clear_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl* msg) { @@ -1366,7 +1355,7 @@ UPB_INLINE struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_ap if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* sub = (struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init, arena); + struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* sub = (struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload*)_upb_Message_New(&google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1375,12 +1364,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_ap /* google.api.expr.v1alpha1.Decl.FunctionDecl.Overload */ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Decl_FunctionDecl_Overload*)_upb_Message_New(&google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init, arena); + return (google_api_expr_v1alpha1_Decl_FunctionDecl_Overload*)_upb_Message_New(&google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* ret = google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1390,7 +1379,7 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_api_expr_ int options, upb_Arena* arena) { google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* ret = google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1398,13 +1387,13 @@ UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* google_api_expr_ } UPB_INLINE char* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_serialize(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_serialize_ex(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_clear_overload_id(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg) { @@ -1555,7 +1544,7 @@ UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_F if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena); + struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1591,7 +1580,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_result_t UPB_INLINE struct google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_mutable_result_type(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Type* sub = (struct google_api_expr_v1alpha1_Type*)google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_result_type(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google_api_expr_v1alpha1_Type_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Type*)_upb_Message_New(&google__api__expr__v1alpha1__Type_msg_init, arena); if (sub) google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_result_type(msg, sub); } return sub; @@ -1608,12 +1597,12 @@ UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_doc(goog /* google.api.expr.v1alpha1.Reference */ UPB_INLINE google_api_expr_v1alpha1_Reference* google_api_expr_v1alpha1_Reference_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Reference*)_upb_Message_New(&google_api_expr_v1alpha1_Reference_msg_init, arena); + return (google_api_expr_v1alpha1_Reference*)_upb_Message_New(&google__api__expr__v1alpha1__Reference_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Reference* google_api_expr_v1alpha1_Reference_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Reference* ret = google_api_expr_v1alpha1_Reference_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Reference_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Reference_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1623,7 +1612,7 @@ UPB_INLINE google_api_expr_v1alpha1_Reference* google_api_expr_v1alpha1_Referenc int options, upb_Arena* arena) { google_api_expr_v1alpha1_Reference* ret = google_api_expr_v1alpha1_Reference_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Reference_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Reference_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1631,13 +1620,13 @@ UPB_INLINE google_api_expr_v1alpha1_Reference* google_api_expr_v1alpha1_Referenc } UPB_INLINE char* google_api_expr_v1alpha1_Reference_serialize(const google_api_expr_v1alpha1_Reference* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Reference_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Reference_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Reference_serialize_ex(const google_api_expr_v1alpha1_Reference* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Reference_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Reference_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Reference_clear_name(google_api_expr_v1alpha1_Reference* msg) { @@ -1739,14 +1728,12 @@ UPB_INLINE void google_api_expr_v1alpha1_Reference_set_value(google_api_expr_v1a UPB_INLINE struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Reference_mutable_value(google_api_expr_v1alpha1_Reference* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Constant* sub = (struct google_api_expr_v1alpha1_Constant*)google_api_expr_v1alpha1_Reference_value(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Constant*)_upb_Message_New(&google_api_expr_v1alpha1_Constant_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Constant*)_upb_Message_New(&google__api__expr__v1alpha1__Constant_msg_init, arena); if (sub) google_api_expr_v1alpha1_Reference_set_value(msg, sub); } return sub; } -extern const upb_MiniTableFile google_api_expr_v1alpha1_checked_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c b/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c new file mode 100644 index 00000000000..1acedc72e66 --- /dev/null +++ b/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c @@ -0,0 +1,369 @@ +/* This file was generated by upb_generator from the input file: + * + * google/api/expr/v1alpha1/checked.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "google/api/expr/v1alpha1/checked.upb_minitable.h" +#include "google/api/expr/v1alpha1/syntax.upb_minitable.h" +#include "google/protobuf/empty.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub google_api_expr_v1alpha1_CheckedExpr_submsgs[4] = { + {.submsg = &google__api__expr__v1alpha1__CheckedExpr__ReferenceMapEntry_msg_init}, + {.submsg = &google__api__expr__v1alpha1__CheckedExpr__TypeMapEntry_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, + {.submsg = &google__api__expr__v1alpha1__SourceInfo_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_CheckedExpr__fields[4] = { + {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__CheckedExpr_msg_init = { + &google_api_expr_v1alpha1_CheckedExpr_submsgs[0], + &google_api_expr_v1alpha1_CheckedExpr__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0018000001020022, &upb_psm_1bt_maxmaxb}, + {0x002000000203002a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_submsgs[1] = { + {.submsg = &google__api__expr__v1alpha1__Reference_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__CheckedExpr__ReferenceMapEntry_msg_init = { + &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_submsgs[0], + &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000008, &upb_psv8_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_submsgs[1] = { + {.submsg = &google__api__expr__v1alpha1__Type_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__CheckedExpr__TypeMapEntry_msg_init = { + &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_submsgs[0], + &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000008, &upb_psv8_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Type_submsgs[7] = { + {.submsg = &google__protobuf__Empty_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Type__ListType_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Type__MapType_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Type__FunctionType_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Type_msg_init}, + {.submsg = &google__protobuf__Empty_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Type__AbstractType_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Type__fields[13] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Type_msg_init = { + &google_api_expr_v1alpha1_Type_submsgs[0], + &google_api_expr_v1alpha1_Type__fields[0], + UPB_SIZE(16, 24), 13, kUpb_ExtMode_NonExtendable, 12, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_maxmaxb}, + {0x0008000002000010, &upb_pov4_1bt}, + {0x0008000003000018, &upb_pov4_1bt}, + {0x0008000004000020, &upb_pov4_1bt}, + {0x0008000005000028, &upb_pov4_1bt}, + {0x0008000006010032, &upb_pom_1bt_max64b}, + {0x000800000702003a, &upb_pom_1bt_max64b}, + {0x0008000008030042, &upb_pom_1bt_max64b}, + {0x000800000900004a, &upb_pos_1bt}, + {0x000800000a000052, &upb_pos_1bt}, + {0x000800000b04005a, &upb_pom_1bt_max64b}, + {0x000800000c050062, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000e060072, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Type_ListType_submsgs[1] = { + {.submsg = &google__api__expr__v1alpha1__Type_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Type_ListType__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Type__ListType_msg_init = { + &google_api_expr_v1alpha1_Type_ListType_submsgs[0], + &google_api_expr_v1alpha1_Type_ListType__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Type_MapType_submsgs[2] = { + {.submsg = &google__api__expr__v1alpha1__Type_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Type_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Type_MapType__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Type__MapType_msg_init = { + &google_api_expr_v1alpha1_Type_MapType_submsgs[0], + &google_api_expr_v1alpha1_Type_MapType__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x0010000002010012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Type_FunctionType_submsgs[2] = { + {.submsg = &google__api__expr__v1alpha1__Type_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Type_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Type_FunctionType__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Type__FunctionType_msg_init = { + &google_api_expr_v1alpha1_Type_FunctionType_submsgs[0], + &google_api_expr_v1alpha1_Type_FunctionType__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x001000003f010012, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Type_AbstractType_submsgs[1] = { + {.submsg = &google__api__expr__v1alpha1__Type_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Type_AbstractType__fields[2] = { + {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Type__AbstractType_msg_init = { + &google_api_expr_v1alpha1_Type_AbstractType_submsgs[0], + &google_api_expr_v1alpha1_Type_AbstractType__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Decl_submsgs[2] = { + {.submsg = &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Decl__fields[3] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Decl_msg_init = { + &google_api_expr_v1alpha1_Decl_submsgs[0], + &google_api_expr_v1alpha1_Decl__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000002000012, &upb_pom_1bt_max64b}, + {0x001800000301001a, &upb_pom_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Decl_IdentDecl_submsgs[2] = { + {.submsg = &google__api__expr__v1alpha1__Type_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Constant_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Decl_IdentDecl__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Decl__IdentDecl_msg_init = { + &google_api_expr_v1alpha1_Decl_IdentDecl_submsgs[0], + &google_api_expr_v1alpha1_Decl_IdentDecl__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x001800003f00001a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Decl_FunctionDecl_submsgs[1] = { + {.submsg = &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Decl_FunctionDecl__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init = { + &google_api_expr_v1alpha1_Decl_FunctionDecl_submsgs[0], + &google_api_expr_v1alpha1_Decl_FunctionDecl__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max128b}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_submsgs[2] = { + {.submsg = &google__api__expr__v1alpha1__Type_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Type_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Decl_FunctionDecl_Overload__fields[6] = { + {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init = { + &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_submsgs[0], + &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload__fields[0], + UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prm_1bt_max64b}, + {0x002000003f00001a, &upb_prs_1bt}, + {0x0028000001010022, &upb_psm_1bt_max64b}, + {0x000100003f000028, &upb_psb1_1bt}, + {0x003000003f000032, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Reference_submsgs[1] = { + {.submsg = &google__api__expr__v1alpha1__Constant_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Reference__fields[3] = { + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Reference_msg_init = { + &google_api_expr_v1alpha1_Reference_submsgs[0], + &google_api_expr_v1alpha1_Reference__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f00001a, &upb_prs_1bt}, + {0x0020000001000022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[13] = { + &google__api__expr__v1alpha1__CheckedExpr_msg_init, + &google__api__expr__v1alpha1__CheckedExpr__ReferenceMapEntry_msg_init, + &google__api__expr__v1alpha1__CheckedExpr__TypeMapEntry_msg_init, + &google__api__expr__v1alpha1__Type_msg_init, + &google__api__expr__v1alpha1__Type__ListType_msg_init, + &google__api__expr__v1alpha1__Type__MapType_msg_init, + &google__api__expr__v1alpha1__Type__FunctionType_msg_init, + &google__api__expr__v1alpha1__Type__AbstractType_msg_init, + &google__api__expr__v1alpha1__Decl_msg_init, + &google__api__expr__v1alpha1__Decl__IdentDecl_msg_init, + &google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init, + &google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init, + &google__api__expr__v1alpha1__Reference_msg_init, +}; + +const upb_MiniTableFile google_api_expr_v1alpha1_checked_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 13, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h b/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h new file mode 100644 index 00000000000..2dca15da5fb --- /dev/null +++ b/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h @@ -0,0 +1,42 @@ +/* This file was generated by upb_generator from the input file: + * + * google/api/expr/v1alpha1/checked.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_API_EXPR_V1ALPHA1_CHECKED_PROTO_UPB_MINITABLE_H_ +#define GOOGLE_API_EXPR_V1ALPHA1_CHECKED_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable google__api__expr__v1alpha1__CheckedExpr_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__CheckedExpr__ReferenceMapEntry_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__CheckedExpr__TypeMapEntry_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Type_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Type__ListType_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Type__MapType_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Type__FunctionType_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Type__AbstractType_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Decl_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Decl__IdentDecl_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Decl__FunctionDecl_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Decl__FunctionDecl__Overload_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Reference_msg_init; + +extern const upb_MiniTableFile google_api_expr_v1alpha1_checked_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_API_EXPR_V1ALPHA1_CHECKED_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h b/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h similarity index 93% rename from src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h rename to src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h index 56aaca8dd4c..0fdce4db970 100644 --- a/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +++ b/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/api/expr/v1alpha1/syntax.proto * @@ -10,7 +9,14 @@ #define GOOGLE_API_EXPR_V1ALPHA1_SYNTAX_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "google/api/expr/v1alpha1/syntax.upb_minitable.h" + +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -31,36 +37,20 @@ typedef struct google_api_expr_v1alpha1_SourceInfo google_api_expr_v1alpha1_Sour typedef struct google_api_expr_v1alpha1_SourceInfo_PositionsEntry google_api_expr_v1alpha1_SourceInfo_PositionsEntry; typedef struct google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry; typedef struct google_api_expr_v1alpha1_SourcePosition google_api_expr_v1alpha1_SourcePosition; -extern const upb_MiniTable google_api_expr_v1alpha1_ParsedExpr_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Expr_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Expr_Ident_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Expr_Select_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Expr_Call_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Expr_CreateList_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Expr_CreateStruct_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Expr_CreateStruct_Entry_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Expr_Comprehension_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Constant_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_SourceInfo_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_SourceInfo_PositionsEntry_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_SourcePosition_msg_init; struct google_protobuf_Duration; struct google_protobuf_Timestamp; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_Timestamp_msg_init; /* google.api.expr.v1alpha1.ParsedExpr */ UPB_INLINE google_api_expr_v1alpha1_ParsedExpr* google_api_expr_v1alpha1_ParsedExpr_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_ParsedExpr*)_upb_Message_New(&google_api_expr_v1alpha1_ParsedExpr_msg_init, arena); + return (google_api_expr_v1alpha1_ParsedExpr*)_upb_Message_New(&google__api__expr__v1alpha1__ParsedExpr_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_ParsedExpr* google_api_expr_v1alpha1_ParsedExpr_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_ParsedExpr* ret = google_api_expr_v1alpha1_ParsedExpr_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_ParsedExpr_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__ParsedExpr_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -70,7 +60,7 @@ UPB_INLINE google_api_expr_v1alpha1_ParsedExpr* google_api_expr_v1alpha1_ParsedE int options, upb_Arena* arena) { google_api_expr_v1alpha1_ParsedExpr* ret = google_api_expr_v1alpha1_ParsedExpr_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_ParsedExpr_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__ParsedExpr_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -78,13 +68,13 @@ UPB_INLINE google_api_expr_v1alpha1_ParsedExpr* google_api_expr_v1alpha1_ParsedE } UPB_INLINE char* google_api_expr_v1alpha1_ParsedExpr_serialize(const google_api_expr_v1alpha1_ParsedExpr* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_ParsedExpr_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__ParsedExpr_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_ParsedExpr_serialize_ex(const google_api_expr_v1alpha1_ParsedExpr* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_ParsedExpr_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__ParsedExpr_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_ParsedExpr_clear_expr(google_api_expr_v1alpha1_ParsedExpr* msg) { @@ -125,7 +115,7 @@ UPB_INLINE void google_api_expr_v1alpha1_ParsedExpr_set_expr(google_api_expr_v1a UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_ParsedExpr_mutable_expr(google_api_expr_v1alpha1_ParsedExpr* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_ParsedExpr_expr(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); if (sub) google_api_expr_v1alpha1_ParsedExpr_set_expr(msg, sub); } return sub; @@ -137,7 +127,7 @@ UPB_INLINE void google_api_expr_v1alpha1_ParsedExpr_set_source_info(google_api_e UPB_INLINE struct google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_ParsedExpr_mutable_source_info(google_api_expr_v1alpha1_ParsedExpr* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_SourceInfo* sub = (struct google_api_expr_v1alpha1_SourceInfo*)google_api_expr_v1alpha1_ParsedExpr_source_info(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_SourceInfo*)_upb_Message_New(&google_api_expr_v1alpha1_SourceInfo_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_SourceInfo*)_upb_Message_New(&google__api__expr__v1alpha1__SourceInfo_msg_init, arena); if (sub) google_api_expr_v1alpha1_ParsedExpr_set_source_info(msg, sub); } return sub; @@ -146,12 +136,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_ /* google.api.expr.v1alpha1.Expr */ UPB_INLINE google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + return (google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Expr* ret = google_api_expr_v1alpha1_Expr_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -161,7 +151,7 @@ UPB_INLINE google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_parse_ex int options, upb_Arena* arena) { google_api_expr_v1alpha1_Expr* ret = google_api_expr_v1alpha1_Expr_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -169,13 +159,13 @@ UPB_INLINE google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_parse_ex } UPB_INLINE char* google_api_expr_v1alpha1_Expr_serialize(const google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Expr_serialize_ex(const google_api_expr_v1alpha1_Expr* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -320,7 +310,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_set_const_expr(google_api_expr_v1a UPB_INLINE struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Expr_mutable_const_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Constant* sub = (struct google_api_expr_v1alpha1_Constant*)google_api_expr_v1alpha1_Expr_const_expr(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Constant*)_upb_Message_New(&google_api_expr_v1alpha1_Constant_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Constant*)_upb_Message_New(&google__api__expr__v1alpha1__Constant_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_set_const_expr(msg, sub); } return sub; @@ -332,7 +322,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_set_ident_expr(google_api_expr_v1a UPB_INLINE struct google_api_expr_v1alpha1_Expr_Ident* google_api_expr_v1alpha1_Expr_mutable_ident_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr_Ident* sub = (struct google_api_expr_v1alpha1_Expr_Ident*)google_api_expr_v1alpha1_Expr_ident_expr(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr_Ident*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_Ident_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr_Ident*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__Ident_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_set_ident_expr(msg, sub); } return sub; @@ -344,7 +334,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_set_select_expr(google_api_expr_v1 UPB_INLINE struct google_api_expr_v1alpha1_Expr_Select* google_api_expr_v1alpha1_Expr_mutable_select_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr_Select* sub = (struct google_api_expr_v1alpha1_Expr_Select*)google_api_expr_v1alpha1_Expr_select_expr(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr_Select*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_Select_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr_Select*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__Select_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_set_select_expr(msg, sub); } return sub; @@ -356,7 +346,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_set_call_expr(google_api_expr_v1al UPB_INLINE struct google_api_expr_v1alpha1_Expr_Call* google_api_expr_v1alpha1_Expr_mutable_call_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr_Call* sub = (struct google_api_expr_v1alpha1_Expr_Call*)google_api_expr_v1alpha1_Expr_call_expr(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr_Call*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_Call_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr_Call*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__Call_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_set_call_expr(msg, sub); } return sub; @@ -368,7 +358,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_set_list_expr(google_api_expr_v1al UPB_INLINE struct google_api_expr_v1alpha1_Expr_CreateList* google_api_expr_v1alpha1_Expr_mutable_list_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr_CreateList* sub = (struct google_api_expr_v1alpha1_Expr_CreateList*)google_api_expr_v1alpha1_Expr_list_expr(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr_CreateList*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_CreateList_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr_CreateList*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__CreateList_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_set_list_expr(msg, sub); } return sub; @@ -380,7 +370,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_set_struct_expr(google_api_expr_v1 UPB_INLINE struct google_api_expr_v1alpha1_Expr_CreateStruct* google_api_expr_v1alpha1_Expr_mutable_struct_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr_CreateStruct* sub = (struct google_api_expr_v1alpha1_Expr_CreateStruct*)google_api_expr_v1alpha1_Expr_struct_expr(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr_CreateStruct*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_CreateStruct_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr_CreateStruct*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_set_struct_expr(msg, sub); } return sub; @@ -392,7 +382,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_set_comprehension_expr(google_api_ UPB_INLINE struct google_api_expr_v1alpha1_Expr_Comprehension* google_api_expr_v1alpha1_Expr_mutable_comprehension_expr(google_api_expr_v1alpha1_Expr* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr_Comprehension* sub = (struct google_api_expr_v1alpha1_Expr_Comprehension*)google_api_expr_v1alpha1_Expr_comprehension_expr(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr_Comprehension*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_Comprehension_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr_Comprehension*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__Comprehension_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_set_comprehension_expr(msg, sub); } return sub; @@ -401,12 +391,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr_Comprehension* google_api_expr_v /* google.api.expr.v1alpha1.Expr.Ident */ UPB_INLINE google_api_expr_v1alpha1_Expr_Ident* google_api_expr_v1alpha1_Expr_Ident_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Expr_Ident*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_Ident_msg_init, arena); + return (google_api_expr_v1alpha1_Expr_Ident*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__Ident_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Expr_Ident* google_api_expr_v1alpha1_Expr_Ident_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_Ident* ret = google_api_expr_v1alpha1_Expr_Ident_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_Ident_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Ident_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -416,7 +406,7 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Ident* google_api_expr_v1alpha1_Expr_Id int options, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_Ident* ret = google_api_expr_v1alpha1_Expr_Ident_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_Ident_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Ident_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -424,13 +414,13 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Ident* google_api_expr_v1alpha1_Expr_Id } UPB_INLINE char* google_api_expr_v1alpha1_Expr_Ident_serialize(const google_api_expr_v1alpha1_Expr_Ident* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_Ident_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Ident_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Expr_Ident_serialize_ex(const google_api_expr_v1alpha1_Expr_Ident* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_Ident_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Ident_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Expr_Ident_clear_name(google_api_expr_v1alpha1_Expr_Ident* msg) { @@ -453,12 +443,12 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_Ident_set_name(google_api_expr_v1a /* google.api.expr.v1alpha1.Expr.Select */ UPB_INLINE google_api_expr_v1alpha1_Expr_Select* google_api_expr_v1alpha1_Expr_Select_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Expr_Select*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_Select_msg_init, arena); + return (google_api_expr_v1alpha1_Expr_Select*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__Select_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Expr_Select* google_api_expr_v1alpha1_Expr_Select_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_Select* ret = google_api_expr_v1alpha1_Expr_Select_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_Select_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Select_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -468,7 +458,7 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Select* google_api_expr_v1alpha1_Expr_S int options, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_Select* ret = google_api_expr_v1alpha1_Expr_Select_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_Select_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Select_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -476,13 +466,13 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Select* google_api_expr_v1alpha1_Expr_S } UPB_INLINE char* google_api_expr_v1alpha1_Expr_Select_serialize(const google_api_expr_v1alpha1_Expr_Select* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_Select_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Select_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Expr_Select_serialize_ex(const google_api_expr_v1alpha1_Expr_Select* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_Select_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Select_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Expr_Select_clear_operand(google_api_expr_v1alpha1_Expr_Select* msg) { @@ -530,7 +520,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_Select_set_operand(google_api_expr UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Select_mutable_operand(google_api_expr_v1alpha1_Expr_Select* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Select_operand(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_Select_set_operand(msg, sub); } return sub; @@ -547,12 +537,12 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_Select_set_test_only(google_api_ex /* google.api.expr.v1alpha1.Expr.Call */ UPB_INLINE google_api_expr_v1alpha1_Expr_Call* google_api_expr_v1alpha1_Expr_Call_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Expr_Call*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_Call_msg_init, arena); + return (google_api_expr_v1alpha1_Expr_Call*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__Call_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Expr_Call* google_api_expr_v1alpha1_Expr_Call_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_Call* ret = google_api_expr_v1alpha1_Expr_Call_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_Call_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Call_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -562,7 +552,7 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Call* google_api_expr_v1alpha1_Expr_Cal int options, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_Call* ret = google_api_expr_v1alpha1_Expr_Call_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_Call_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Call_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -570,13 +560,13 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Call* google_api_expr_v1alpha1_Expr_Cal } UPB_INLINE char* google_api_expr_v1alpha1_Expr_Call_serialize(const google_api_expr_v1alpha1_Expr_Call* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_Call_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Call_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Expr_Call_serialize_ex(const google_api_expr_v1alpha1_Expr_Call* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_Call_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Call_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Expr_Call_clear_target(google_api_expr_v1alpha1_Expr_Call* msg) { @@ -650,7 +640,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_Call_set_target(google_api_expr_v1 UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Call_mutable_target(google_api_expr_v1alpha1_Expr_Call* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Call_target(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_Call_set_target(msg, sub); } return sub; @@ -680,7 +670,7 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_C if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -689,12 +679,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_C /* google.api.expr.v1alpha1.Expr.CreateList */ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateList* google_api_expr_v1alpha1_Expr_CreateList_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Expr_CreateList*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_CreateList_msg_init, arena); + return (google_api_expr_v1alpha1_Expr_CreateList*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__CreateList_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Expr_CreateList* google_api_expr_v1alpha1_Expr_CreateList_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_CreateList* ret = google_api_expr_v1alpha1_Expr_CreateList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_CreateList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__CreateList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -704,7 +694,7 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateList* google_api_expr_v1alpha1_Ex int options, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_CreateList* ret = google_api_expr_v1alpha1_Expr_CreateList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_CreateList_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__CreateList_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -712,13 +702,13 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateList* google_api_expr_v1alpha1_Ex } UPB_INLINE char* google_api_expr_v1alpha1_Expr_CreateList_serialize(const google_api_expr_v1alpha1_Expr_CreateList* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_CreateList_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__CreateList_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Expr_CreateList_serialize_ex(const google_api_expr_v1alpha1_Expr_CreateList* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_CreateList_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__CreateList_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateList_clear_elements(google_api_expr_v1alpha1_Expr_CreateList* msg) { @@ -780,7 +770,7 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_C if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -789,12 +779,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_C /* google.api.expr.v1alpha1.Expr.CreateStruct */ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct* google_api_expr_v1alpha1_Expr_CreateStruct_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Expr_CreateStruct*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_CreateStruct_msg_init, arena); + return (google_api_expr_v1alpha1_Expr_CreateStruct*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct* google_api_expr_v1alpha1_Expr_CreateStruct_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_CreateStruct* ret = google_api_expr_v1alpha1_Expr_CreateStruct_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_CreateStruct_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -804,7 +794,7 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct* google_api_expr_v1alpha1_ int options, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_CreateStruct* ret = google_api_expr_v1alpha1_Expr_CreateStruct_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_CreateStruct_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -812,13 +802,13 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct* google_api_expr_v1alpha1_ } UPB_INLINE char* google_api_expr_v1alpha1_Expr_CreateStruct_serialize(const google_api_expr_v1alpha1_Expr_CreateStruct* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_CreateStruct_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Expr_CreateStruct_serialize_ex(const google_api_expr_v1alpha1_Expr_CreateStruct* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_CreateStruct_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_clear_message_name(google_api_expr_v1alpha1_Expr_CreateStruct* msg) { @@ -895,7 +885,7 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr_CreateStruct_Entry* google_api_e if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_api_expr_v1alpha1_Expr_CreateStruct_Entry* sub = (struct google_api_expr_v1alpha1_Expr_CreateStruct_Entry*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_CreateStruct_Entry_msg_init, arena); + struct google_api_expr_v1alpha1_Expr_CreateStruct_Entry* sub = (struct google_api_expr_v1alpha1_Expr_CreateStruct_Entry*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -904,12 +894,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr_CreateStruct_Entry* google_api_e /* google.api.expr.v1alpha1.Expr.CreateStruct.Entry */ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct_Entry* google_api_expr_v1alpha1_Expr_CreateStruct_Entry_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Expr_CreateStruct_Entry*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_CreateStruct_Entry_msg_init, arena); + return (google_api_expr_v1alpha1_Expr_CreateStruct_Entry*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct_Entry* google_api_expr_v1alpha1_Expr_CreateStruct_Entry_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_CreateStruct_Entry* ret = google_api_expr_v1alpha1_Expr_CreateStruct_Entry_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_CreateStruct_Entry_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -919,7 +909,7 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct_Entry* google_api_expr_v1a int options, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_CreateStruct_Entry* ret = google_api_expr_v1alpha1_Expr_CreateStruct_Entry_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_CreateStruct_Entry_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -927,13 +917,13 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_CreateStruct_Entry* google_api_expr_v1a } UPB_INLINE char* google_api_expr_v1alpha1_Expr_CreateStruct_Entry_serialize(const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_CreateStruct_Entry_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Expr_CreateStruct_Entry_serialize_ex(const google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_CreateStruct_Entry_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1017,7 +1007,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_Entry_set_map_key(goo UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_CreateStruct_Entry_mutable_map_key(google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_CreateStruct_Entry_map_key(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_CreateStruct_Entry_set_map_key(msg, sub); } return sub; @@ -1029,7 +1019,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_CreateStruct_Entry_set_value(googl UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_CreateStruct_Entry_mutable_value(google_api_expr_v1alpha1_Expr_CreateStruct_Entry* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_CreateStruct_Entry_value(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_CreateStruct_Entry_set_value(msg, sub); } return sub; @@ -1038,12 +1028,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_C /* google.api.expr.v1alpha1.Expr.Comprehension */ UPB_INLINE google_api_expr_v1alpha1_Expr_Comprehension* google_api_expr_v1alpha1_Expr_Comprehension_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Expr_Comprehension*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_Comprehension_msg_init, arena); + return (google_api_expr_v1alpha1_Expr_Comprehension*)_upb_Message_New(&google__api__expr__v1alpha1__Expr__Comprehension_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Expr_Comprehension* google_api_expr_v1alpha1_Expr_Comprehension_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_Comprehension* ret = google_api_expr_v1alpha1_Expr_Comprehension_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_Comprehension_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Comprehension_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1053,7 +1043,7 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Comprehension* google_api_expr_v1alpha1 int options, upb_Arena* arena) { google_api_expr_v1alpha1_Expr_Comprehension* ret = google_api_expr_v1alpha1_Expr_Comprehension_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Expr_Comprehension_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Expr__Comprehension_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1061,13 +1051,13 @@ UPB_INLINE google_api_expr_v1alpha1_Expr_Comprehension* google_api_expr_v1alpha1 } UPB_INLINE char* google_api_expr_v1alpha1_Expr_Comprehension_serialize(const google_api_expr_v1alpha1_Expr_Comprehension* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_Comprehension_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Comprehension_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Expr_Comprehension_serialize_ex(const google_api_expr_v1alpha1_Expr_Comprehension* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Expr_Comprehension_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Expr__Comprehension_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_clear_iter_var(google_api_expr_v1alpha1_Expr_Comprehension* msg) { @@ -1179,7 +1169,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_set_iter_range(googl UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_mutable_iter_range(google_api_expr_v1alpha1_Expr_Comprehension* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Comprehension_iter_range(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_Comprehension_set_iter_range(msg, sub); } return sub; @@ -1195,7 +1185,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_set_accu_init(google UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_mutable_accu_init(google_api_expr_v1alpha1_Expr_Comprehension* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Comprehension_accu_init(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_Comprehension_set_accu_init(msg, sub); } return sub; @@ -1207,7 +1197,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_set_loop_condition(g UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_mutable_loop_condition(google_api_expr_v1alpha1_Expr_Comprehension* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Comprehension_loop_condition(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_Comprehension_set_loop_condition(msg, sub); } return sub; @@ -1219,7 +1209,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_set_loop_step(google UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_mutable_loop_step(google_api_expr_v1alpha1_Expr_Comprehension* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Comprehension_loop_step(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_Comprehension_set_loop_step(msg, sub); } return sub; @@ -1231,7 +1221,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Expr_Comprehension_set_result(google_ap UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_Comprehension_mutable_result(google_api_expr_v1alpha1_Expr_Comprehension* msg, upb_Arena* arena) { struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)google_api_expr_v1alpha1_Expr_Comprehension_result(msg); if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); + sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google__api__expr__v1alpha1__Expr_msg_init, arena); if (sub) google_api_expr_v1alpha1_Expr_Comprehension_set_result(msg, sub); } return sub; @@ -1240,12 +1230,12 @@ UPB_INLINE struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_Expr_C /* google.api.expr.v1alpha1.Constant */ UPB_INLINE google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Constant_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_Constant*)_upb_Message_New(&google_api_expr_v1alpha1_Constant_msg_init, arena); + return (google_api_expr_v1alpha1_Constant*)_upb_Message_New(&google__api__expr__v1alpha1__Constant_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Constant_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_Constant* ret = google_api_expr_v1alpha1_Constant_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Constant_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Constant_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1255,7 +1245,7 @@ UPB_INLINE google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Constant_ int options, upb_Arena* arena) { google_api_expr_v1alpha1_Constant* ret = google_api_expr_v1alpha1_Constant_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_Constant_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__Constant_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1263,13 +1253,13 @@ UPB_INLINE google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Constant_ } UPB_INLINE char* google_api_expr_v1alpha1_Constant_serialize(const google_api_expr_v1alpha1_Constant* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Constant_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Constant_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_Constant_serialize_ex(const google_api_expr_v1alpha1_Constant* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_Constant_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__Constant_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1459,7 +1449,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Constant_set_duration_value(google_api_ UPB_INLINE struct google_protobuf_Duration* google_api_expr_v1alpha1_Constant_mutable_duration_value(google_api_expr_v1alpha1_Constant* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)google_api_expr_v1alpha1_Constant_duration_value(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) google_api_expr_v1alpha1_Constant_set_duration_value(msg, sub); } return sub; @@ -1471,7 +1461,7 @@ UPB_INLINE void google_api_expr_v1alpha1_Constant_set_timestamp_value(google_api UPB_INLINE struct google_protobuf_Timestamp* google_api_expr_v1alpha1_Constant_mutable_timestamp_value(google_api_expr_v1alpha1_Constant* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)google_api_expr_v1alpha1_Constant_timestamp_value(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) google_api_expr_v1alpha1_Constant_set_timestamp_value(msg, sub); } return sub; @@ -1480,12 +1470,12 @@ UPB_INLINE struct google_protobuf_Timestamp* google_api_expr_v1alpha1_Constant_m /* google.api.expr.v1alpha1.SourceInfo */ UPB_INLINE google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_SourceInfo_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_SourceInfo*)_upb_Message_New(&google_api_expr_v1alpha1_SourceInfo_msg_init, arena); + return (google_api_expr_v1alpha1_SourceInfo*)_upb_Message_New(&google__api__expr__v1alpha1__SourceInfo_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_SourceInfo_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_SourceInfo* ret = google_api_expr_v1alpha1_SourceInfo_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_SourceInfo_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__SourceInfo_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1495,7 +1485,7 @@ UPB_INLINE google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_SourceI int options, upb_Arena* arena) { google_api_expr_v1alpha1_SourceInfo* ret = google_api_expr_v1alpha1_SourceInfo_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_SourceInfo_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__SourceInfo_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1503,13 +1493,13 @@ UPB_INLINE google_api_expr_v1alpha1_SourceInfo* google_api_expr_v1alpha1_SourceI } UPB_INLINE char* google_api_expr_v1alpha1_SourceInfo_serialize(const google_api_expr_v1alpha1_SourceInfo* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_SourceInfo_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__SourceInfo_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_SourceInfo_serialize_ex(const google_api_expr_v1alpha1_SourceInfo* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_SourceInfo_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__SourceInfo_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_SourceInfo_clear_syntax_version(google_api_expr_v1alpha1_SourceInfo* msg) { @@ -1736,12 +1726,12 @@ UPB_INLINE void google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_set_value(go /* google.api.expr.v1alpha1.SourcePosition */ UPB_INLINE google_api_expr_v1alpha1_SourcePosition* google_api_expr_v1alpha1_SourcePosition_new(upb_Arena* arena) { - return (google_api_expr_v1alpha1_SourcePosition*)_upb_Message_New(&google_api_expr_v1alpha1_SourcePosition_msg_init, arena); + return (google_api_expr_v1alpha1_SourcePosition*)_upb_Message_New(&google__api__expr__v1alpha1__SourcePosition_msg_init, arena); } UPB_INLINE google_api_expr_v1alpha1_SourcePosition* google_api_expr_v1alpha1_SourcePosition_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_expr_v1alpha1_SourcePosition* ret = google_api_expr_v1alpha1_SourcePosition_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_SourcePosition_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__SourcePosition_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1751,7 +1741,7 @@ UPB_INLINE google_api_expr_v1alpha1_SourcePosition* google_api_expr_v1alpha1_Sou int options, upb_Arena* arena) { google_api_expr_v1alpha1_SourcePosition* ret = google_api_expr_v1alpha1_SourcePosition_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_expr_v1alpha1_SourcePosition_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__expr__v1alpha1__SourcePosition_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1759,13 +1749,13 @@ UPB_INLINE google_api_expr_v1alpha1_SourcePosition* google_api_expr_v1alpha1_Sou } UPB_INLINE char* google_api_expr_v1alpha1_SourcePosition_serialize(const google_api_expr_v1alpha1_SourcePosition* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_SourcePosition_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__SourcePosition_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_expr_v1alpha1_SourcePosition_serialize_ex(const google_api_expr_v1alpha1_SourcePosition* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_expr_v1alpha1_SourcePosition_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__expr__v1alpha1__SourcePosition_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_expr_v1alpha1_SourcePosition_clear_location(google_api_expr_v1alpha1_SourcePosition* msg) { @@ -1830,8 +1820,6 @@ UPB_INLINE void google_api_expr_v1alpha1_SourcePosition_set_column(google_api_ex _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile google_api_expr_v1alpha1_syntax_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c b/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c new file mode 100644 index 00000000000..1d5b68c2504 --- /dev/null +++ b/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c @@ -0,0 +1,399 @@ +/* This file was generated by upb_generator from the input file: + * + * google/api/expr/v1alpha1/syntax.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "google/api/expr/v1alpha1/syntax.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub google_api_expr_v1alpha1_ParsedExpr_submsgs[2] = { + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, + {.submsg = &google__api__expr__v1alpha1__SourceInfo_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_ParsedExpr__fields[2] = { + {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__ParsedExpr_msg_init = { + &google_api_expr_v1alpha1_ParsedExpr_submsgs[0], + &google_api_expr_v1alpha1_ParsedExpr__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000012, &upb_psm_1bt_max64b}, + {0x001000000201001a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_submsgs[7] = { + {.submsg = &google__api__expr__v1alpha1__Constant_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr__Ident_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr__Select_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr__Call_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr__CreateList_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr__Comprehension_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Expr__fields[8] = { + {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 16), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 16), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 16), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 16), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(4, 16), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(4, 16), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(4, 16), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Expr_msg_init = { + &google_api_expr_v1alpha1_Expr_submsgs[0], + &google_api_expr_v1alpha1_Expr__fields[0], + UPB_SIZE(16, 24), 8, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000010, &upb_psv8_1bt}, + {0x001000000300001a, &upb_pom_1bt_max64b}, + {0x0010000004010022, &upb_pom_1bt_max64b}, + {0x001000000502002a, &upb_pom_1bt_max64b}, + {0x0010000006030032, &upb_pom_1bt_max64b}, + {0x001000000704003a, &upb_pom_1bt_max64b}, + {0x0010000008050042, &upb_pom_1bt_max64b}, + {0x001000000906004a, &upb_pom_1bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Expr_Ident__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Expr__Ident_msg_init = { + NULL, + &google_api_expr_v1alpha1_Expr_Ident__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_Select_submsgs[1] = { + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Expr_Select__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Expr__Select_msg_init = { + &google_api_expr_v1alpha1_Expr_Select_submsgs[0], + &google_api_expr_v1alpha1_Expr_Select__fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x001000003f000012, &upb_pss_1bt}, + {0x000100003f000018, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_Call_submsgs[2] = { + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Expr_Call__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Expr__Call_msg_init = { + &google_api_expr_v1alpha1_Expr_Call_submsgs[0], + &google_api_expr_v1alpha1_Expr_Call__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000003f01001a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_CreateList_submsgs[1] = { + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Expr_CreateList__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Expr__CreateList_msg_init = { + &google_api_expr_v1alpha1_Expr_CreateList_submsgs[0], + &google_api_expr_v1alpha1_Expr_CreateList__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_CreateStruct_submsgs[1] = { + {.submsg = &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Expr_CreateStruct__fields[2] = { + {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Expr__CreateStruct_msg_init = { + &google_api_expr_v1alpha1_Expr_CreateStruct_submsgs[0], + &google_api_expr_v1alpha1_Expr_CreateStruct__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_CreateStruct_Entry_submsgs[2] = { + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Expr_CreateStruct_Entry__fields[4] = { + {1, 24, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 8), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init = { + &google_api_expr_v1alpha1_Expr_CreateStruct_Entry_submsgs[0], + &google_api_expr_v1alpha1_Expr_CreateStruct_Entry__fields[0], + UPB_SIZE(32, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f000008, &upb_psv8_1bt}, + {0x0008000402000012, &upb_pos_1bt}, + {0x000800040300001a, &upb_pom_1bt_max64b}, + {0x0020000001010022, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_Comprehension_submsgs[5] = { + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Expr_Comprehension__fields[7] = { + {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 48), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 56), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 64), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(20, 72), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Expr__Comprehension_msg_init = { + &google_api_expr_v1alpha1_Expr_Comprehension_submsgs[0], + &google_api_expr_v1alpha1_Expr_Comprehension__fields[0], + UPB_SIZE(40, 80), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x002000003f00001a, &upb_pss_1bt}, + {0x0030000002010022, &upb_psm_1bt_max64b}, + {0x003800000302002a, &upb_psm_1bt_max64b}, + {0x0040000004030032, &upb_psm_1bt_max64b}, + {0x004800000504003a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_Constant_submsgs[2] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_Constant__fields[9] = { + {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 8, -1, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, 8, -1, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {6, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, 8, -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, 8, -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__Constant_msg_init = { + &google_api_expr_v1alpha1_Constant_submsgs[0], + &google_api_expr_v1alpha1_Constant__fields[0], + UPB_SIZE(16, 24), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000008, &upb_pov4_1bt}, + {0x0008000002000010, &upb_pob1_1bt}, + {0x0008000003000018, &upb_pov8_1bt}, + {0x0008000004000020, &upb_pov8_1bt}, + {0x0008000005000029, &upb_pof8_1bt}, + {0x0008000006000032, &upb_pos_1bt}, + {0x000800000700003a, &upb_pob_1bt}, + {0x0008000008000042, &upb_pom_1bt_maxmaxb}, + {0x000800000901004a, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_SourceInfo_submsgs[2] = { + {.submsg = &google__api__expr__v1alpha1__SourceInfo__PositionsEntry_msg_init}, + {.submsg = &google__api__expr__v1alpha1__SourceInfo__MacroCallsEntry_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_SourceInfo__fields[5] = { + {1, UPB_SIZE(12, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(0, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 40), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__SourceInfo_msg_init = { + &google_api_expr_v1alpha1_SourceInfo_submsgs[0], + &google_api_expr_v1alpha1_SourceInfo__fields[0], + UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000003f00001a, &upb_ppv4_1bt}, + }) +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_SourceInfo_PositionsEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__SourceInfo__PositionsEntry_msg_init = { + NULL, + &google_api_expr_v1alpha1_SourceInfo_PositionsEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000008, &upb_psv8_1bt}, + {0x001800003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_submsgs[1] = { + {.submsg = &google__api__expr__v1alpha1__Expr_msg_init}, +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__SourceInfo__MacroCallsEntry_msg_init = { + &google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_submsgs[0], + &google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000008, &upb_psv8_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField google_api_expr_v1alpha1_SourcePosition__fields[4] = { + {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__expr__v1alpha1__SourcePosition_msg_init = { + NULL, + &google_api_expr_v1alpha1_SourcePosition__fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f00000a, &upb_pss_1bt}, + {0x000000003f000010, &upb_psv4_1bt}, + {0x000400003f000018, &upb_psv4_1bt}, + {0x000800003f000020, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[14] = { + &google__api__expr__v1alpha1__ParsedExpr_msg_init, + &google__api__expr__v1alpha1__Expr_msg_init, + &google__api__expr__v1alpha1__Expr__Ident_msg_init, + &google__api__expr__v1alpha1__Expr__Select_msg_init, + &google__api__expr__v1alpha1__Expr__Call_msg_init, + &google__api__expr__v1alpha1__Expr__CreateList_msg_init, + &google__api__expr__v1alpha1__Expr__CreateStruct_msg_init, + &google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init, + &google__api__expr__v1alpha1__Expr__Comprehension_msg_init, + &google__api__expr__v1alpha1__Constant_msg_init, + &google__api__expr__v1alpha1__SourceInfo_msg_init, + &google__api__expr__v1alpha1__SourceInfo__PositionsEntry_msg_init, + &google__api__expr__v1alpha1__SourceInfo__MacroCallsEntry_msg_init, + &google__api__expr__v1alpha1__SourcePosition_msg_init, +}; + +const upb_MiniTableFile google_api_expr_v1alpha1_syntax_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 14, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h b/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h new file mode 100644 index 00000000000..c0232345d2b --- /dev/null +++ b/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h @@ -0,0 +1,43 @@ +/* This file was generated by upb_generator from the input file: + * + * google/api/expr/v1alpha1/syntax.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_API_EXPR_V1ALPHA1_SYNTAX_PROTO_UPB_MINITABLE_H_ +#define GOOGLE_API_EXPR_V1ALPHA1_SYNTAX_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable google__api__expr__v1alpha1__ParsedExpr_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Expr_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Expr__Ident_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Expr__Select_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Expr__Call_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Expr__CreateList_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Expr__CreateStruct_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Expr__CreateStruct__Entry_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Expr__Comprehension_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__Constant_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__SourceInfo_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__SourceInfo__PositionsEntry_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__SourceInfo__MacroCallsEntry_msg_init; +extern const upb_MiniTable google__api__expr__v1alpha1__SourcePosition_msg_init; + +extern const upb_MiniTableFile google_api_expr_v1alpha1_syntax_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_API_EXPR_V1ALPHA1_SYNTAX_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/google/api/http.upb.h b/src/core/ext/upb-gen/google/api/http.upb.h new file mode 100644 index 00000000000..2e5bb54bd28 --- /dev/null +++ b/src/core/ext/upb-gen/google/api/http.upb.h @@ -0,0 +1,496 @@ +/* This file was generated by upb_generator from the input file: + * + * google/api/http.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_API_HTTP_PROTO_UPB_H_ +#define GOOGLE_API_HTTP_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "google/api/http.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct google_api_Http google_api_Http; +typedef struct google_api_HttpRule google_api_HttpRule; +typedef struct google_api_CustomHttpPattern google_api_CustomHttpPattern; + + + +/* google.api.Http */ + +UPB_INLINE google_api_Http* google_api_Http_new(upb_Arena* arena) { + return (google_api_Http*)_upb_Message_New(&google__api__Http_msg_init, arena); +} +UPB_INLINE google_api_Http* google_api_Http_parse(const char* buf, size_t size, upb_Arena* arena) { + google_api_Http* ret = google_api_Http_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__api__Http_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_api_Http* google_api_Http_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_api_Http* ret = google_api_Http_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__api__Http_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_api_Http_serialize(const google_api_Http* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__api__Http_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_api_Http_serialize_ex(const google_api_Http* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__api__Http_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_api_Http_clear_rules(google_api_Http* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_api_HttpRule* const* google_api_Http_rules(const google_api_Http* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_api_HttpRule* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_api_Http_rules_upb_array(const google_api_Http* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_api_Http_rules_mutable_upb_array(const google_api_Http* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_api_Http_has_rules(const google_api_Http* msg) { + size_t size; + google_api_Http_rules(msg, &size); + return size != 0; +} +UPB_INLINE void google_api_Http_clear_fully_decode_reserved_expansion(google_api_Http* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_api_Http_fully_decode_reserved_expansion(const google_api_Http* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE google_api_HttpRule** google_api_Http_mutable_rules(google_api_Http* msg, size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_api_HttpRule**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_api_HttpRule** google_api_Http_resize_rules(google_api_Http* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_api_HttpRule**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_api_HttpRule* google_api_Http_add_rules(google_api_Http* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_api_HttpRule* sub = (struct google_api_HttpRule*)_upb_Message_New(&google__api__HttpRule_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void google_api_Http_set_fully_decode_reserved_expansion(google_api_Http *msg, bool value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.api.HttpRule */ + +UPB_INLINE google_api_HttpRule* google_api_HttpRule_new(upb_Arena* arena) { + return (google_api_HttpRule*)_upb_Message_New(&google__api__HttpRule_msg_init, arena); +} +UPB_INLINE google_api_HttpRule* google_api_HttpRule_parse(const char* buf, size_t size, upb_Arena* arena) { + google_api_HttpRule* ret = google_api_HttpRule_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__api__HttpRule_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_api_HttpRule* google_api_HttpRule_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_api_HttpRule* ret = google_api_HttpRule_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__api__HttpRule_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_api_HttpRule_serialize(const google_api_HttpRule* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__api__HttpRule_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_api_HttpRule_serialize_ex(const google_api_HttpRule* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__api__HttpRule_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + google_api_HttpRule_pattern_get = 2, + google_api_HttpRule_pattern_put = 3, + google_api_HttpRule_pattern_post = 4, + google_api_HttpRule_pattern_delete = 5, + google_api_HttpRule_pattern_patch = 6, + google_api_HttpRule_pattern_custom = 8, + google_api_HttpRule_pattern_NOT_SET = 0 +} google_api_HttpRule_pattern_oneofcases; +UPB_INLINE google_api_HttpRule_pattern_oneofcases google_api_HttpRule_pattern_case(const google_api_HttpRule* msg) { + const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return (google_api_HttpRule_pattern_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void google_api_HttpRule_clear_selector(google_api_HttpRule* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_api_HttpRule_selector(const google_api_HttpRule* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void google_api_HttpRule_clear_get(google_api_HttpRule* msg) { + const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_api_HttpRule_get(const google_api_HttpRule* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_api_HttpRule_has_get(const google_api_HttpRule* msg) { + const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_api_HttpRule_clear_put(google_api_HttpRule* msg) { + const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_api_HttpRule_put(const google_api_HttpRule* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_api_HttpRule_has_put(const google_api_HttpRule* msg) { + const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_api_HttpRule_clear_post(google_api_HttpRule* msg) { + const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_api_HttpRule_post(const google_api_HttpRule* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_api_HttpRule_has_post(const google_api_HttpRule* msg) { + const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_api_HttpRule_clear_delete(google_api_HttpRule* msg) { + const upb_MiniTableField field = {5, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_api_HttpRule_delete(const google_api_HttpRule* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {5, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_api_HttpRule_has_delete(const google_api_HttpRule* msg) { + const upb_MiniTableField field = {5, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_api_HttpRule_clear_patch(google_api_HttpRule* msg) { + const upb_MiniTableField field = {6, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_api_HttpRule_patch(const google_api_HttpRule* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {6, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_api_HttpRule_has_patch(const google_api_HttpRule* msg) { + const upb_MiniTableField field = {6, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_api_HttpRule_clear_body(google_api_HttpRule* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_api_HttpRule_body(const google_api_HttpRule* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {7, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void google_api_HttpRule_clear_custom(google_api_HttpRule* msg) { + const upb_MiniTableField field = {8, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_api_CustomHttpPattern* google_api_HttpRule_custom(const google_api_HttpRule* msg) { + const google_api_CustomHttpPattern* default_val = NULL; + const google_api_CustomHttpPattern* ret; + const upb_MiniTableField field = {8, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_api_HttpRule_has_custom(const google_api_HttpRule* msg) { + const upb_MiniTableField field = {8, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_api_HttpRule_clear_additional_bindings(google_api_HttpRule* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_api_HttpRule* const* google_api_HttpRule_additional_bindings(const google_api_HttpRule* msg, size_t* size) { + const upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_api_HttpRule* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_api_HttpRule_additional_bindings_upb_array(const google_api_HttpRule* msg, size_t* size) { + const upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_api_HttpRule_additional_bindings_mutable_upb_array(const google_api_HttpRule* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_api_HttpRule_has_additional_bindings(const google_api_HttpRule* msg) { + size_t size; + google_api_HttpRule_additional_bindings(msg, &size); + return size != 0; +} +UPB_INLINE void google_api_HttpRule_clear_response_body(google_api_HttpRule* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_api_HttpRule_response_body(const google_api_HttpRule* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {12, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void google_api_HttpRule_set_selector(google_api_HttpRule *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_api_HttpRule_set_get(google_api_HttpRule *msg, upb_StringView value) { + const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_api_HttpRule_set_put(google_api_HttpRule *msg, upb_StringView value) { + const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_api_HttpRule_set_post(google_api_HttpRule *msg, upb_StringView value) { + const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_api_HttpRule_set_delete(google_api_HttpRule *msg, upb_StringView value) { + const upb_MiniTableField field = {5, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_api_HttpRule_set_patch(google_api_HttpRule *msg, upb_StringView value) { + const upb_MiniTableField field = {6, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_api_HttpRule_set_body(google_api_HttpRule *msg, upb_StringView value) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_api_HttpRule_set_custom(google_api_HttpRule *msg, google_api_CustomHttpPattern* value) { + const upb_MiniTableField field = {8, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_api_CustomHttpPattern* google_api_HttpRule_mutable_custom(google_api_HttpRule* msg, upb_Arena* arena) { + struct google_api_CustomHttpPattern* sub = (struct google_api_CustomHttpPattern*)google_api_HttpRule_custom(msg); + if (sub == NULL) { + sub = (struct google_api_CustomHttpPattern*)_upb_Message_New(&google__api__CustomHttpPattern_msg_init, arena); + if (sub) google_api_HttpRule_set_custom(msg, sub); + } + return sub; +} +UPB_INLINE google_api_HttpRule** google_api_HttpRule_mutable_additional_bindings(google_api_HttpRule* msg, size_t* size) { + upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_api_HttpRule**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_api_HttpRule** google_api_HttpRule_resize_additional_bindings(google_api_HttpRule* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_api_HttpRule**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_api_HttpRule* google_api_HttpRule_add_additional_bindings(google_api_HttpRule* msg, upb_Arena* arena) { + upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_api_HttpRule* sub = (struct google_api_HttpRule*)_upb_Message_New(&google__api__HttpRule_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void google_api_HttpRule_set_response_body(google_api_HttpRule *msg, upb_StringView value) { + const upb_MiniTableField field = {12, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.api.CustomHttpPattern */ + +UPB_INLINE google_api_CustomHttpPattern* google_api_CustomHttpPattern_new(upb_Arena* arena) { + return (google_api_CustomHttpPattern*)_upb_Message_New(&google__api__CustomHttpPattern_msg_init, arena); +} +UPB_INLINE google_api_CustomHttpPattern* google_api_CustomHttpPattern_parse(const char* buf, size_t size, upb_Arena* arena) { + google_api_CustomHttpPattern* ret = google_api_CustomHttpPattern_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__api__CustomHttpPattern_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_api_CustomHttpPattern* google_api_CustomHttpPattern_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_api_CustomHttpPattern* ret = google_api_CustomHttpPattern_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__api__CustomHttpPattern_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_api_CustomHttpPattern_serialize(const google_api_CustomHttpPattern* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__api__CustomHttpPattern_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_api_CustomHttpPattern_serialize_ex(const google_api_CustomHttpPattern* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__api__CustomHttpPattern_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_api_CustomHttpPattern_clear_kind(google_api_CustomHttpPattern* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_api_CustomHttpPattern_kind(const google_api_CustomHttpPattern* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void google_api_CustomHttpPattern_clear_path(google_api_CustomHttpPattern* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_api_CustomHttpPattern_path(const google_api_CustomHttpPattern* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void google_api_CustomHttpPattern_set_kind(google_api_CustomHttpPattern *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_api_CustomHttpPattern_set_path(google_api_CustomHttpPattern *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_API_HTTP_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/google/api/http.upb_minitable.c b/src/core/ext/upb-gen/google/api/http.upb_minitable.c new file mode 100644 index 00000000000..32fa93ef25a --- /dev/null +++ b/src/core/ext/upb-gen/google/api/http.upb_minitable.c @@ -0,0 +1,111 @@ +/* This file was generated by upb_generator from the input file: + * + * google/api/http.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "google/api/http.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub google_api_Http_submsgs[1] = { + {.submsg = &google__api__HttpRule_msg_init}, +}; + +static const upb_MiniTableField google_api_Http__fields[2] = { + {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__Http_msg_init = { + &google_api_Http_submsgs[0], + &google_api_Http__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_max128b}, + {0x000000003f000010, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_api_HttpRule_submsgs[2] = { + {.submsg = &google__api__CustomHttpPattern_msg_init}, + {.submsg = &google__api__HttpRule_msg_init}, +}; + +static const upb_MiniTableField google_api_HttpRule__fields[10] = { + {1, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__HttpRule_msg_init = { + &google_api_HttpRule_submsgs[0], + &google_api_HttpRule__fields[0], + UPB_SIZE(40, 80), 10, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f00000a, &upb_pss_1bt}, + {0x0008000002000012, &upb_pos_1bt}, + {0x000800000300001a, &upb_pos_1bt}, + {0x0008000004000022, &upb_pos_1bt}, + {0x000800000500002a, &upb_pos_1bt}, + {0x0008000006000032, &upb_pos_1bt}, + {0x002800003f00003a, &upb_pss_1bt}, + {0x0008000008000042, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x003800003f01005a, &upb_prm_1bt_max128b}, + {0x004000003f000062, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField google_api_CustomHttpPattern__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__CustomHttpPattern_msg_init = { + NULL, + &google_api_CustomHttpPattern__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[3] = { + &google__api__Http_msg_init, + &google__api__HttpRule_msg_init, + &google__api__CustomHttpPattern_msg_init, +}; + +const upb_MiniTableFile google_api_http_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 3, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/google/api/http.upb_minitable.h b/src/core/ext/upb-gen/google/api/http.upb_minitable.h new file mode 100644 index 00000000000..83ec6172940 --- /dev/null +++ b/src/core/ext/upb-gen/google/api/http.upb_minitable.h @@ -0,0 +1,32 @@ +/* This file was generated by upb_generator from the input file: + * + * google/api/http.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_API_HTTP_PROTO_UPB_MINITABLE_H_ +#define GOOGLE_API_HTTP_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable google__api__Http_msg_init; +extern const upb_MiniTable google__api__HttpRule_msg_init; +extern const upb_MiniTable google__api__CustomHttpPattern_msg_init; + +extern const upb_MiniTableFile google_api_http_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_API_HTTP_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/google/api/httpbody.upb.h b/src/core/ext/upb-gen/google/api/httpbody.upb.h similarity index 90% rename from src/core/ext/upb-generated/google/api/httpbody.upb.h rename to src/core/ext/upb-gen/google/api/httpbody.upb.h index a7998df5e78..f901110ac23 100644 --- a/src/core/ext/upb-generated/google/api/httpbody.upb.h +++ b/src/core/ext/upb-gen/google/api/httpbody.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/api/httpbody.proto * @@ -10,7 +9,12 @@ #define GOOGLE_API_HTTPBODY_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "google/api/httpbody.upb_minitable.h" + +#include "google/protobuf/any.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +22,19 @@ extern "C" { #endif typedef struct google_api_HttpBody google_api_HttpBody; -extern const upb_MiniTable google_api_HttpBody_msg_init; struct google_protobuf_Any; -extern const upb_MiniTable google_protobuf_Any_msg_init; /* google.api.HttpBody */ UPB_INLINE google_api_HttpBody* google_api_HttpBody_new(upb_Arena* arena) { - return (google_api_HttpBody*)_upb_Message_New(&google_api_HttpBody_msg_init, arena); + return (google_api_HttpBody*)_upb_Message_New(&google__api__HttpBody_msg_init, arena); } UPB_INLINE google_api_HttpBody* google_api_HttpBody_parse(const char* buf, size_t size, upb_Arena* arena) { google_api_HttpBody* ret = google_api_HttpBody_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_HttpBody_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__api__HttpBody_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +44,7 @@ UPB_INLINE google_api_HttpBody* google_api_HttpBody_parse_ex(const char* buf, si int options, upb_Arena* arena) { google_api_HttpBody* ret = google_api_HttpBody_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_HttpBody_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__api__HttpBody_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +52,13 @@ UPB_INLINE google_api_HttpBody* google_api_HttpBody_parse_ex(const char* buf, si } UPB_INLINE char* google_api_HttpBody_serialize(const google_api_HttpBody* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_HttpBody_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__HttpBody_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_api_HttpBody_serialize_ex(const google_api_HttpBody* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_api_HttpBody_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__api__HttpBody_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_api_HttpBody_clear_content_type(google_api_HttpBody* msg) { @@ -148,14 +150,12 @@ UPB_INLINE struct google_protobuf_Any* google_api_HttpBody_add_extensions(google if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; } -extern const upb_MiniTableFile google_api_httpbody_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c b/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c new file mode 100644 index 00000000000..185b8eb03b0 --- /dev/null +++ b/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c @@ -0,0 +1,52 @@ +/* This file was generated by upb_generator from the input file: + * + * google/api/httpbody.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "google/api/httpbody.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub google_api_HttpBody_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField google_api_HttpBody__fields[3] = { + {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(0, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__api__HttpBody_msg_init = { + &google_api_HttpBody_submsgs[0], + &google_api_HttpBody__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_psb_1bt}, + {0x002000003f00001a, &upb_prm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &google__api__HttpBody_msg_init, +}; + +const upb_MiniTableFile google_api_httpbody_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h b/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h new file mode 100644 index 00000000000..58e4859ca95 --- /dev/null +++ b/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * google/api/httpbody.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_API_HTTPBODY_PROTO_UPB_MINITABLE_H_ +#define GOOGLE_API_HTTPBODY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable google__api__HttpBody_msg_init; + +extern const upb_MiniTableFile google_api_httpbody_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_API_HTTPBODY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/google/protobuf/any.upb.h b/src/core/ext/upb-gen/google/protobuf/any.upb.h similarity index 84% rename from src/core/ext/upb-generated/google/protobuf/any.upb.h rename to src/core/ext/upb-gen/google/protobuf/any.upb.h index bf1b5dd5db2..610b7a5ae60 100644 --- a/src/core/ext/upb-generated/google/protobuf/any.upb.h +++ b/src/core/ext/upb-gen/google/protobuf/any.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/any.proto * @@ -10,7 +9,10 @@ #define GOOGLE_PROTOBUF_ANY_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "google/protobuf/any.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,19 +20,18 @@ extern "C" { #endif typedef struct google_protobuf_Any google_protobuf_Any; -extern const upb_MiniTable google_protobuf_Any_msg_init; /* google.protobuf.Any */ UPB_INLINE google_protobuf_Any* google_protobuf_Any_new(upb_Arena* arena) { - return (google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + return (google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); } UPB_INLINE google_protobuf_Any* google_protobuf_Any_parse(const char* buf, size_t size, upb_Arena* arena) { google_protobuf_Any* ret = google_protobuf_Any_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Any_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__protobuf__Any_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -40,7 +41,7 @@ UPB_INLINE google_protobuf_Any* google_protobuf_Any_parse_ex(const char* buf, si int options, upb_Arena* arena) { google_protobuf_Any* ret = google_protobuf_Any_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Any_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__protobuf__Any_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -48,13 +49,13 @@ UPB_INLINE google_protobuf_Any* google_protobuf_Any_parse_ex(const char* buf, si } UPB_INLINE char* google_protobuf_Any_serialize(const google_protobuf_Any* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_Any_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__Any_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_protobuf_Any_serialize_ex(const google_protobuf_Any* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_Any_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__Any_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_protobuf_Any_clear_type_url(google_protobuf_Any* msg) { @@ -89,8 +90,6 @@ UPB_INLINE void google_protobuf_Any_set_value(google_protobuf_Any *msg, upb_Stri _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile google_protobuf_any_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c b/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c new file mode 100644 index 00000000000..7352f2d4b56 --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c @@ -0,0 +1,46 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/any.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "google/protobuf/any.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField google_protobuf_Any__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__Any_msg_init = { + NULL, + &google_protobuf_Any__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_psb_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &google__protobuf__Any_msg_init, +}; + +const upb_MiniTableFile google_protobuf_any_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h b/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h new file mode 100644 index 00000000000..77f2ceee094 --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/any.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_PROTOBUF_ANY_PROTO_UPB_MINITABLE_H_ +#define GOOGLE_PROTOBUF_ANY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable google__protobuf__Any_msg_init; + +extern const upb_MiniTableFile google_protobuf_any_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_PROTOBUF_ANY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h b/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h new file mode 100644 index 00000000000..44a98a31f22 --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h @@ -0,0 +1,6397 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/descriptor.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H_ +#define GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct google_protobuf_FileDescriptorSet google_protobuf_FileDescriptorSet; +typedef struct google_protobuf_FileDescriptorProto google_protobuf_FileDescriptorProto; +typedef struct google_protobuf_DescriptorProto google_protobuf_DescriptorProto; +typedef struct google_protobuf_DescriptorProto_ExtensionRange google_protobuf_DescriptorProto_ExtensionRange; +typedef struct google_protobuf_DescriptorProto_ReservedRange google_protobuf_DescriptorProto_ReservedRange; +typedef struct google_protobuf_ExtensionRangeOptions google_protobuf_ExtensionRangeOptions; +typedef struct google_protobuf_ExtensionRangeOptions_Declaration google_protobuf_ExtensionRangeOptions_Declaration; +typedef struct google_protobuf_FieldDescriptorProto google_protobuf_FieldDescriptorProto; +typedef struct google_protobuf_OneofDescriptorProto google_protobuf_OneofDescriptorProto; +typedef struct google_protobuf_EnumDescriptorProto google_protobuf_EnumDescriptorProto; +typedef struct google_protobuf_EnumDescriptorProto_EnumReservedRange google_protobuf_EnumDescriptorProto_EnumReservedRange; +typedef struct google_protobuf_EnumValueDescriptorProto google_protobuf_EnumValueDescriptorProto; +typedef struct google_protobuf_ServiceDescriptorProto google_protobuf_ServiceDescriptorProto; +typedef struct google_protobuf_MethodDescriptorProto google_protobuf_MethodDescriptorProto; +typedef struct google_protobuf_FileOptions google_protobuf_FileOptions; +typedef struct google_protobuf_MessageOptions google_protobuf_MessageOptions; +typedef struct google_protobuf_FieldOptions google_protobuf_FieldOptions; +typedef struct google_protobuf_FieldOptions_EditionDefault google_protobuf_FieldOptions_EditionDefault; +typedef struct google_protobuf_OneofOptions google_protobuf_OneofOptions; +typedef struct google_protobuf_EnumOptions google_protobuf_EnumOptions; +typedef struct google_protobuf_EnumValueOptions google_protobuf_EnumValueOptions; +typedef struct google_protobuf_ServiceOptions google_protobuf_ServiceOptions; +typedef struct google_protobuf_MethodOptions google_protobuf_MethodOptions; +typedef struct google_protobuf_UninterpretedOption google_protobuf_UninterpretedOption; +typedef struct google_protobuf_UninterpretedOption_NamePart google_protobuf_UninterpretedOption_NamePart; +typedef struct google_protobuf_FeatureSet google_protobuf_FeatureSet; +typedef struct google_protobuf_FeatureSetDefaults google_protobuf_FeatureSetDefaults; +typedef struct google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault; +typedef struct google_protobuf_SourceCodeInfo google_protobuf_SourceCodeInfo; +typedef struct google_protobuf_SourceCodeInfo_Location google_protobuf_SourceCodeInfo_Location; +typedef struct google_protobuf_GeneratedCodeInfo google_protobuf_GeneratedCodeInfo; +typedef struct google_protobuf_GeneratedCodeInfo_Annotation google_protobuf_GeneratedCodeInfo_Annotation; + +typedef enum { + google_protobuf_EDITION_UNKNOWN = 0, + google_protobuf_EDITION_1_TEST_ONLY = 1, + google_protobuf_EDITION_2_TEST_ONLY = 2, + google_protobuf_EDITION_PROTO2 = 998, + google_protobuf_EDITION_PROTO3 = 999, + google_protobuf_EDITION_2023 = 1000, + google_protobuf_EDITION_99997_TEST_ONLY = 99997, + google_protobuf_EDITION_99998_TEST_ONLY = 99998, + google_protobuf_EDITION_99999_TEST_ONLY = 99999 +} google_protobuf_Edition; + +typedef enum { + google_protobuf_ExtensionRangeOptions_DECLARATION = 0, + google_protobuf_ExtensionRangeOptions_UNVERIFIED = 1 +} google_protobuf_ExtensionRangeOptions_VerificationState; + +typedef enum { + google_protobuf_FeatureSet_ENUM_TYPE_UNKNOWN = 0, + google_protobuf_FeatureSet_OPEN = 1, + google_protobuf_FeatureSet_CLOSED = 2 +} google_protobuf_FeatureSet_EnumType; + +typedef enum { + google_protobuf_FeatureSet_FIELD_PRESENCE_UNKNOWN = 0, + google_protobuf_FeatureSet_EXPLICIT = 1, + google_protobuf_FeatureSet_IMPLICIT = 2, + google_protobuf_FeatureSet_LEGACY_REQUIRED = 3 +} google_protobuf_FeatureSet_FieldPresence; + +typedef enum { + google_protobuf_FeatureSet_JSON_FORMAT_UNKNOWN = 0, + google_protobuf_FeatureSet_ALLOW = 1, + google_protobuf_FeatureSet_LEGACY_BEST_EFFORT = 2 +} google_protobuf_FeatureSet_JsonFormat; + +typedef enum { + google_protobuf_FeatureSet_MESSAGE_ENCODING_UNKNOWN = 0, + google_protobuf_FeatureSet_LENGTH_PREFIXED = 1, + google_protobuf_FeatureSet_DELIMITED = 2 +} google_protobuf_FeatureSet_MessageEncoding; + +typedef enum { + google_protobuf_FeatureSet_REPEATED_FIELD_ENCODING_UNKNOWN = 0, + google_protobuf_FeatureSet_PACKED = 1, + google_protobuf_FeatureSet_EXPANDED = 2 +} google_protobuf_FeatureSet_RepeatedFieldEncoding; + +typedef enum { + google_protobuf_FeatureSet_UTF8_VALIDATION_UNKNOWN = 0, + google_protobuf_FeatureSet_NONE = 1, + google_protobuf_FeatureSet_VERIFY = 2 +} google_protobuf_FeatureSet_Utf8Validation; + +typedef enum { + google_protobuf_FieldDescriptorProto_LABEL_OPTIONAL = 1, + google_protobuf_FieldDescriptorProto_LABEL_REQUIRED = 2, + google_protobuf_FieldDescriptorProto_LABEL_REPEATED = 3 +} google_protobuf_FieldDescriptorProto_Label; + +typedef enum { + google_protobuf_FieldDescriptorProto_TYPE_DOUBLE = 1, + google_protobuf_FieldDescriptorProto_TYPE_FLOAT = 2, + google_protobuf_FieldDescriptorProto_TYPE_INT64 = 3, + google_protobuf_FieldDescriptorProto_TYPE_UINT64 = 4, + google_protobuf_FieldDescriptorProto_TYPE_INT32 = 5, + google_protobuf_FieldDescriptorProto_TYPE_FIXED64 = 6, + google_protobuf_FieldDescriptorProto_TYPE_FIXED32 = 7, + google_protobuf_FieldDescriptorProto_TYPE_BOOL = 8, + google_protobuf_FieldDescriptorProto_TYPE_STRING = 9, + google_protobuf_FieldDescriptorProto_TYPE_GROUP = 10, + google_protobuf_FieldDescriptorProto_TYPE_MESSAGE = 11, + google_protobuf_FieldDescriptorProto_TYPE_BYTES = 12, + google_protobuf_FieldDescriptorProto_TYPE_UINT32 = 13, + google_protobuf_FieldDescriptorProto_TYPE_ENUM = 14, + google_protobuf_FieldDescriptorProto_TYPE_SFIXED32 = 15, + google_protobuf_FieldDescriptorProto_TYPE_SFIXED64 = 16, + google_protobuf_FieldDescriptorProto_TYPE_SINT32 = 17, + google_protobuf_FieldDescriptorProto_TYPE_SINT64 = 18 +} google_protobuf_FieldDescriptorProto_Type; + +typedef enum { + google_protobuf_FieldOptions_STRING = 0, + google_protobuf_FieldOptions_CORD = 1, + google_protobuf_FieldOptions_STRING_PIECE = 2 +} google_protobuf_FieldOptions_CType; + +typedef enum { + google_protobuf_FieldOptions_JS_NORMAL = 0, + google_protobuf_FieldOptions_JS_STRING = 1, + google_protobuf_FieldOptions_JS_NUMBER = 2 +} google_protobuf_FieldOptions_JSType; + +typedef enum { + google_protobuf_FieldOptions_RETENTION_UNKNOWN = 0, + google_protobuf_FieldOptions_RETENTION_RUNTIME = 1, + google_protobuf_FieldOptions_RETENTION_SOURCE = 2 +} google_protobuf_FieldOptions_OptionRetention; + +typedef enum { + google_protobuf_FieldOptions_TARGET_TYPE_UNKNOWN = 0, + google_protobuf_FieldOptions_TARGET_TYPE_FILE = 1, + google_protobuf_FieldOptions_TARGET_TYPE_EXTENSION_RANGE = 2, + google_protobuf_FieldOptions_TARGET_TYPE_MESSAGE = 3, + google_protobuf_FieldOptions_TARGET_TYPE_FIELD = 4, + google_protobuf_FieldOptions_TARGET_TYPE_ONEOF = 5, + google_protobuf_FieldOptions_TARGET_TYPE_ENUM = 6, + google_protobuf_FieldOptions_TARGET_TYPE_ENUM_ENTRY = 7, + google_protobuf_FieldOptions_TARGET_TYPE_SERVICE = 8, + google_protobuf_FieldOptions_TARGET_TYPE_METHOD = 9 +} google_protobuf_FieldOptions_OptionTargetType; + +typedef enum { + google_protobuf_FileOptions_SPEED = 1, + google_protobuf_FileOptions_CODE_SIZE = 2, + google_protobuf_FileOptions_LITE_RUNTIME = 3 +} google_protobuf_FileOptions_OptimizeMode; + +typedef enum { + google_protobuf_GeneratedCodeInfo_Annotation_NONE = 0, + google_protobuf_GeneratedCodeInfo_Annotation_SET = 1, + google_protobuf_GeneratedCodeInfo_Annotation_ALIAS = 2 +} google_protobuf_GeneratedCodeInfo_Annotation_Semantic; + +typedef enum { + google_protobuf_MethodOptions_IDEMPOTENCY_UNKNOWN = 0, + google_protobuf_MethodOptions_NO_SIDE_EFFECTS = 1, + google_protobuf_MethodOptions_IDEMPOTENT = 2 +} google_protobuf_MethodOptions_IdempotencyLevel; + + + +/* google.protobuf.FileDescriptorSet */ + +UPB_INLINE google_protobuf_FileDescriptorSet* google_protobuf_FileDescriptorSet_new(upb_Arena* arena) { + return (google_protobuf_FileDescriptorSet*)_upb_Message_New(&google__protobuf__FileDescriptorSet_msg_init, arena); +} +UPB_INLINE google_protobuf_FileDescriptorSet* google_protobuf_FileDescriptorSet_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_FileDescriptorSet* ret = google_protobuf_FileDescriptorSet_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FileDescriptorSet_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_FileDescriptorSet* google_protobuf_FileDescriptorSet_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_FileDescriptorSet* ret = google_protobuf_FileDescriptorSet_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FileDescriptorSet_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_FileDescriptorSet_serialize(const google_protobuf_FileDescriptorSet* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FileDescriptorSet_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_FileDescriptorSet_serialize_ex(const google_protobuf_FileDescriptorSet* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FileDescriptorSet_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_FileDescriptorSet_clear_file(google_protobuf_FileDescriptorSet* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FileDescriptorProto* const* google_protobuf_FileDescriptorSet_file(const google_protobuf_FileDescriptorSet* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_FileDescriptorProto* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorSet_file_upb_array(const google_protobuf_FileDescriptorSet* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_FileDescriptorSet_file_mutable_upb_array(const google_protobuf_FileDescriptorSet* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_FileDescriptorSet_has_file(const google_protobuf_FileDescriptorSet* msg) { + size_t size; + google_protobuf_FileDescriptorSet_file(msg, &size); + return size != 0; +} + +UPB_INLINE google_protobuf_FileDescriptorProto** google_protobuf_FileDescriptorSet_mutable_file(google_protobuf_FileDescriptorSet* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_FileDescriptorProto**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_FileDescriptorProto** google_protobuf_FileDescriptorSet_resize_file(google_protobuf_FileDescriptorSet* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_FileDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_FileDescriptorProto* google_protobuf_FileDescriptorSet_add_file(google_protobuf_FileDescriptorSet* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_FileDescriptorProto* sub = (struct google_protobuf_FileDescriptorProto*)_upb_Message_New(&google__protobuf__FileDescriptorProto_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* google.protobuf.FileDescriptorProto */ + +UPB_INLINE google_protobuf_FileDescriptorProto* google_protobuf_FileDescriptorProto_new(upb_Arena* arena) { + return (google_protobuf_FileDescriptorProto*)_upb_Message_New(&google__protobuf__FileDescriptorProto_msg_init, arena); +} +UPB_INLINE google_protobuf_FileDescriptorProto* google_protobuf_FileDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_FileDescriptorProto* ret = google_protobuf_FileDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FileDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_FileDescriptorProto* google_protobuf_FileDescriptorProto_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_FileDescriptorProto* ret = google_protobuf_FileDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FileDescriptorProto_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_FileDescriptorProto_serialize(const google_protobuf_FileDescriptorProto* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FileDescriptorProto_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_FileDescriptorProto_serialize_ex(const google_protobuf_FileDescriptorProto* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FileDescriptorProto_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_FileDescriptorProto_clear_name(google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(44, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FileDescriptorProto_name(const google_protobuf_FileDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(44, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_has_name(const google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(44, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileDescriptorProto_clear_package(google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(52, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FileDescriptorProto_package(const google_protobuf_FileDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(52, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_has_package(const google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(52, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileDescriptorProto_clear_dependency(google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* google_protobuf_FileDescriptorProto_dependency(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_dependency_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_dependency_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_has_dependency(const google_protobuf_FileDescriptorProto* msg) { + size_t size; + google_protobuf_FileDescriptorProto_dependency(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_FileDescriptorProto_clear_message_type(google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_DescriptorProto* const* google_protobuf_FileDescriptorProto_message_type(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_DescriptorProto* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_message_type_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_message_type_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_has_message_type(const google_protobuf_FileDescriptorProto* msg) { + size_t size; + google_protobuf_FileDescriptorProto_message_type(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_FileDescriptorProto_clear_enum_type(google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_EnumDescriptorProto* const* google_protobuf_FileDescriptorProto_enum_type(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_EnumDescriptorProto* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_enum_type_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_enum_type_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_has_enum_type(const google_protobuf_FileDescriptorProto* msg) { + size_t size; + google_protobuf_FileDescriptorProto_enum_type(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_FileDescriptorProto_clear_service(google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_ServiceDescriptorProto* const* google_protobuf_FileDescriptorProto_service(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_ServiceDescriptorProto* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_service_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_service_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_has_service(const google_protobuf_FileDescriptorProto* msg) { + size_t size; + google_protobuf_FileDescriptorProto_service(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_FileDescriptorProto_clear_extension(google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_FileDescriptorProto_extension(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_FieldDescriptorProto* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_extension_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_extension_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_has_extension(const google_protobuf_FileDescriptorProto* msg) { + size_t size; + google_protobuf_FileDescriptorProto_extension(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_FileDescriptorProto_clear_options(google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(24, 80), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FileOptions* google_protobuf_FileDescriptorProto_options(const google_protobuf_FileDescriptorProto* msg) { + const google_protobuf_FileOptions* default_val = NULL; + const google_protobuf_FileOptions* ret; + const upb_MiniTableField field = {8, UPB_SIZE(24, 80), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_has_options(const google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(24, 80), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileDescriptorProto_clear_source_code_info(google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_SourceCodeInfo* google_protobuf_FileDescriptorProto_source_code_info(const google_protobuf_FileDescriptorProto* msg) { + const google_protobuf_SourceCodeInfo* default_val = NULL; + const google_protobuf_SourceCodeInfo* ret; + const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_has_source_code_info(const google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileDescriptorProto_clear_public_dependency(google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t const* google_protobuf_FileDescriptorProto_public_dependency(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_public_dependency_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_public_dependency_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_has_public_dependency(const google_protobuf_FileDescriptorProto* msg) { + size_t size; + google_protobuf_FileDescriptorProto_public_dependency(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_FileDescriptorProto_clear_weak_dependency(google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t const* google_protobuf_FileDescriptorProto_weak_dependency(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_weak_dependency_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_weak_dependency_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_has_weak_dependency(const google_protobuf_FileDescriptorProto* msg) { + size_t size; + google_protobuf_FileDescriptorProto_weak_dependency(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_FileDescriptorProto_clear_syntax(google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(60, 112), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FileDescriptorProto_syntax(const google_protobuf_FileDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {12, UPB_SIZE(60, 112), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_has_syntax(const google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(60, 112), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileDescriptorProto_clear_edition(google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(40, 4), 6, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FileDescriptorProto_edition(const google_protobuf_FileDescriptorProto* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {14, UPB_SIZE(40, 4), 6, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_has_edition(const google_protobuf_FileDescriptorProto* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(40, 4), 6, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_FileDescriptorProto_set_name(google_protobuf_FileDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(44, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileDescriptorProto_set_package(google_protobuf_FileDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(52, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_mutable_dependency(google_protobuf_FileDescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_resize_dependency(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_add_dependency(google_protobuf_FileDescriptorProto* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_FileDescriptorProto_mutable_message_type(google_protobuf_FileDescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_DescriptorProto**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_FileDescriptorProto_resize_message_type(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_DescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_DescriptorProto* google_protobuf_FileDescriptorProto_add_message_type(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_DescriptorProto* sub = (struct google_protobuf_DescriptorProto*)_upb_Message_New(&google__protobuf__DescriptorProto_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_FileDescriptorProto_mutable_enum_type(google_protobuf_FileDescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_EnumDescriptorProto**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_FileDescriptorProto_resize_enum_type(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_EnumDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_EnumDescriptorProto* google_protobuf_FileDescriptorProto_add_enum_type(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_EnumDescriptorProto* sub = (struct google_protobuf_EnumDescriptorProto*)_upb_Message_New(&google__protobuf__EnumDescriptorProto_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE google_protobuf_ServiceDescriptorProto** google_protobuf_FileDescriptorProto_mutable_service(google_protobuf_FileDescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_ServiceDescriptorProto**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_ServiceDescriptorProto** google_protobuf_FileDescriptorProto_resize_service(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_ServiceDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_ServiceDescriptorProto* google_protobuf_FileDescriptorProto_add_service(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_ServiceDescriptorProto* sub = (struct google_protobuf_ServiceDescriptorProto*)_upb_Message_New(&google__protobuf__ServiceDescriptorProto_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_FileDescriptorProto_mutable_extension(google_protobuf_FileDescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_FieldDescriptorProto**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_FileDescriptorProto_resize_extension(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_FieldDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_FileDescriptorProto_add_extension(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)_upb_Message_New(&google__protobuf__FieldDescriptorProto_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void google_protobuf_FileDescriptorProto_set_options(google_protobuf_FileDescriptorProto *msg, google_protobuf_FileOptions* value) { + const upb_MiniTableField field = {8, UPB_SIZE(24, 80), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_FileOptions* google_protobuf_FileDescriptorProto_mutable_options(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { + struct google_protobuf_FileOptions* sub = (struct google_protobuf_FileOptions*)google_protobuf_FileDescriptorProto_options(msg); + if (sub == NULL) { + sub = (struct google_protobuf_FileOptions*)_upb_Message_New(&google__protobuf__FileOptions_msg_init, arena); + if (sub) google_protobuf_FileDescriptorProto_set_options(msg, sub); + } + return sub; +} +UPB_INLINE void google_protobuf_FileDescriptorProto_set_source_code_info(google_protobuf_FileDescriptorProto *msg, google_protobuf_SourceCodeInfo* value) { + const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_SourceCodeInfo* google_protobuf_FileDescriptorProto_mutable_source_code_info(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { + struct google_protobuf_SourceCodeInfo* sub = (struct google_protobuf_SourceCodeInfo*)google_protobuf_FileDescriptorProto_source_code_info(msg); + if (sub == NULL) { + sub = (struct google_protobuf_SourceCodeInfo*)_upb_Message_New(&google__protobuf__SourceCodeInfo_msg_init, arena); + if (sub) google_protobuf_FileDescriptorProto_set_source_code_info(msg, sub); + } + return sub; +} +UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_mutable_public_dependency(google_protobuf_FileDescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_resize_public_dependency(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_add_public_dependency(google_protobuf_FileDescriptorProto* msg, int32_t val, upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_mutable_weak_dependency(google_protobuf_FileDescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_resize_weak_dependency(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool google_protobuf_FileDescriptorProto_add_weak_dependency(google_protobuf_FileDescriptorProto* msg, int32_t val, upb_Arena* arena) { + upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE void google_protobuf_FileDescriptorProto_set_syntax(google_protobuf_FileDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {12, UPB_SIZE(60, 112), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileDescriptorProto_set_edition(google_protobuf_FileDescriptorProto *msg, int32_t value) { + const upb_MiniTableField field = {14, UPB_SIZE(40, 4), 6, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.protobuf.DescriptorProto */ + +UPB_INLINE google_protobuf_DescriptorProto* google_protobuf_DescriptorProto_new(upb_Arena* arena) { + return (google_protobuf_DescriptorProto*)_upb_Message_New(&google__protobuf__DescriptorProto_msg_init, arena); +} +UPB_INLINE google_protobuf_DescriptorProto* google_protobuf_DescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_DescriptorProto* ret = google_protobuf_DescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__DescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_DescriptorProto* google_protobuf_DescriptorProto_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_DescriptorProto* ret = google_protobuf_DescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__DescriptorProto_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_DescriptorProto_serialize(const google_protobuf_DescriptorProto* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__DescriptorProto_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_DescriptorProto_serialize_ex(const google_protobuf_DescriptorProto* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__DescriptorProto_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_DescriptorProto_clear_name(google_protobuf_DescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_DescriptorProto_name(const google_protobuf_DescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_DescriptorProto_has_name(const google_protobuf_DescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_DescriptorProto_clear_field(google_protobuf_DescriptorProto* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_DescriptorProto_field(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_FieldDescriptorProto* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_field_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_field_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_DescriptorProto_has_field(const google_protobuf_DescriptorProto* msg) { + size_t size; + google_protobuf_DescriptorProto_field(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_DescriptorProto_clear_nested_type(google_protobuf_DescriptorProto* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_DescriptorProto* const* google_protobuf_DescriptorProto_nested_type(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_DescriptorProto* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_nested_type_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_nested_type_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_DescriptorProto_has_nested_type(const google_protobuf_DescriptorProto* msg) { + size_t size; + google_protobuf_DescriptorProto_nested_type(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_DescriptorProto_clear_enum_type(google_protobuf_DescriptorProto* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_EnumDescriptorProto* const* google_protobuf_DescriptorProto_enum_type(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_EnumDescriptorProto* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_enum_type_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_enum_type_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_DescriptorProto_has_enum_type(const google_protobuf_DescriptorProto* msg) { + size_t size; + google_protobuf_DescriptorProto_enum_type(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_DescriptorProto_clear_extension_range(google_protobuf_DescriptorProto* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_DescriptorProto_ExtensionRange* const* google_protobuf_DescriptorProto_extension_range(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_DescriptorProto_ExtensionRange* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_extension_range_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_extension_range_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_DescriptorProto_has_extension_range(const google_protobuf_DescriptorProto* msg) { + size_t size; + google_protobuf_DescriptorProto_extension_range(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_DescriptorProto_clear_extension(google_protobuf_DescriptorProto* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_DescriptorProto_extension(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_FieldDescriptorProto* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_extension_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_extension_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_DescriptorProto_has_extension(const google_protobuf_DescriptorProto* msg) { + size_t size; + google_protobuf_DescriptorProto_extension(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_DescriptorProto_clear_options(google_protobuf_DescriptorProto* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 2, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_MessageOptions* google_protobuf_DescriptorProto_options(const google_protobuf_DescriptorProto* msg) { + const google_protobuf_MessageOptions* default_val = NULL; + const google_protobuf_MessageOptions* ret; + const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 2, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_DescriptorProto_has_options(const google_protobuf_DescriptorProto* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 2, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_DescriptorProto_clear_oneof_decl(google_protobuf_DescriptorProto* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_OneofDescriptorProto* const* google_protobuf_DescriptorProto_oneof_decl(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_OneofDescriptorProto* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_oneof_decl_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_oneof_decl_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_DescriptorProto_has_oneof_decl(const google_protobuf_DescriptorProto* msg) { + size_t size; + google_protobuf_DescriptorProto_oneof_decl(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_DescriptorProto_clear_reserved_range(google_protobuf_DescriptorProto* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_DescriptorProto_ReservedRange* const* google_protobuf_DescriptorProto_reserved_range(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_DescriptorProto_ReservedRange* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_reserved_range_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_reserved_range_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_DescriptorProto_has_reserved_range(const google_protobuf_DescriptorProto* msg) { + size_t size; + google_protobuf_DescriptorProto_reserved_range(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_DescriptorProto_clear_reserved_name(google_protobuf_DescriptorProto* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* google_protobuf_DescriptorProto_reserved_name(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_reserved_name_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_reserved_name_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_DescriptorProto_has_reserved_name(const google_protobuf_DescriptorProto* msg) { + size_t size; + google_protobuf_DescriptorProto_reserved_name(msg, &size); + return size != 0; +} + +UPB_INLINE void google_protobuf_DescriptorProto_set_name(google_protobuf_DescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_mutable_field(google_protobuf_DescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_FieldDescriptorProto**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_resize_field(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_FieldDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_DescriptorProto_add_field(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)_upb_Message_New(&google__protobuf__FieldDescriptorProto_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_DescriptorProto_mutable_nested_type(google_protobuf_DescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_DescriptorProto**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_DescriptorProto_resize_nested_type(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_DescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_DescriptorProto* google_protobuf_DescriptorProto_add_nested_type(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_DescriptorProto* sub = (struct google_protobuf_DescriptorProto*)_upb_Message_New(&google__protobuf__DescriptorProto_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_DescriptorProto_mutable_enum_type(google_protobuf_DescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_EnumDescriptorProto**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_DescriptorProto_resize_enum_type(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_EnumDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_EnumDescriptorProto* google_protobuf_DescriptorProto_add_enum_type(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_EnumDescriptorProto* sub = (struct google_protobuf_EnumDescriptorProto*)_upb_Message_New(&google__protobuf__EnumDescriptorProto_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange** google_protobuf_DescriptorProto_mutable_extension_range(google_protobuf_DescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_DescriptorProto_ExtensionRange**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange** google_protobuf_DescriptorProto_resize_extension_range(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_DescriptorProto_ExtensionRange**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_DescriptorProto_ExtensionRange* google_protobuf_DescriptorProto_add_extension_range(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_DescriptorProto_ExtensionRange* sub = (struct google_protobuf_DescriptorProto_ExtensionRange*)_upb_Message_New(&google__protobuf__DescriptorProto__ExtensionRange_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_mutable_extension(google_protobuf_DescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_FieldDescriptorProto**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_resize_extension(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_FieldDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_DescriptorProto_add_extension(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)_upb_Message_New(&google__protobuf__FieldDescriptorProto_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void google_protobuf_DescriptorProto_set_options(google_protobuf_DescriptorProto *msg, google_protobuf_MessageOptions* value) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 2, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_MessageOptions* google_protobuf_DescriptorProto_mutable_options(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { + struct google_protobuf_MessageOptions* sub = (struct google_protobuf_MessageOptions*)google_protobuf_DescriptorProto_options(msg); + if (sub == NULL) { + sub = (struct google_protobuf_MessageOptions*)_upb_Message_New(&google__protobuf__MessageOptions_msg_init, arena); + if (sub) google_protobuf_DescriptorProto_set_options(msg, sub); + } + return sub; +} +UPB_INLINE google_protobuf_OneofDescriptorProto** google_protobuf_DescriptorProto_mutable_oneof_decl(google_protobuf_DescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_OneofDescriptorProto**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_OneofDescriptorProto** google_protobuf_DescriptorProto_resize_oneof_decl(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_OneofDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_OneofDescriptorProto* google_protobuf_DescriptorProto_add_oneof_decl(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_OneofDescriptorProto* sub = (struct google_protobuf_OneofDescriptorProto*)_upb_Message_New(&google__protobuf__OneofDescriptorProto_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE google_protobuf_DescriptorProto_ReservedRange** google_protobuf_DescriptorProto_mutable_reserved_range(google_protobuf_DescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_DescriptorProto_ReservedRange**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_DescriptorProto_ReservedRange** google_protobuf_DescriptorProto_resize_reserved_range(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_DescriptorProto_ReservedRange**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_DescriptorProto_ReservedRange* google_protobuf_DescriptorProto_add_reserved_range(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_DescriptorProto_ReservedRange* sub = (struct google_protobuf_DescriptorProto_ReservedRange*)_upb_Message_New(&google__protobuf__DescriptorProto__ReservedRange_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE upb_StringView* google_protobuf_DescriptorProto_mutable_reserved_name(google_protobuf_DescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* google_protobuf_DescriptorProto_resize_reserved_name(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool google_protobuf_DescriptorProto_add_reserved_name(google_protobuf_DescriptorProto* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} + +/* google.protobuf.DescriptorProto.ExtensionRange */ + +UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange* google_protobuf_DescriptorProto_ExtensionRange_new(upb_Arena* arena) { + return (google_protobuf_DescriptorProto_ExtensionRange*)_upb_Message_New(&google__protobuf__DescriptorProto__ExtensionRange_msg_init, arena); +} +UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange* google_protobuf_DescriptorProto_ExtensionRange_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_DescriptorProto_ExtensionRange* ret = google_protobuf_DescriptorProto_ExtensionRange_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__DescriptorProto__ExtensionRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange* google_protobuf_DescriptorProto_ExtensionRange_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_DescriptorProto_ExtensionRange* ret = google_protobuf_DescriptorProto_ExtensionRange_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__DescriptorProto__ExtensionRange_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_DescriptorProto_ExtensionRange_serialize(const google_protobuf_DescriptorProto_ExtensionRange* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__DescriptorProto__ExtensionRange_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_DescriptorProto_ExtensionRange_serialize_ex(const google_protobuf_DescriptorProto_ExtensionRange* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__DescriptorProto__ExtensionRange_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_clear_start(google_protobuf_DescriptorProto_ExtensionRange* msg) { + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_DescriptorProto_ExtensionRange_start(const google_protobuf_DescriptorProto_ExtensionRange* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_start(const google_protobuf_DescriptorProto_ExtensionRange* msg) { + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_clear_end(google_protobuf_DescriptorProto_ExtensionRange* msg) { + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_DescriptorProto_ExtensionRange_end(const google_protobuf_DescriptorProto_ExtensionRange* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_end(const google_protobuf_DescriptorProto_ExtensionRange* msg) { + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_clear_options(google_protobuf_DescriptorProto_ExtensionRange* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_ExtensionRangeOptions* google_protobuf_DescriptorProto_ExtensionRange_options(const google_protobuf_DescriptorProto_ExtensionRange* msg) { + const google_protobuf_ExtensionRangeOptions* default_val = NULL; + const google_protobuf_ExtensionRangeOptions* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_options(const google_protobuf_DescriptorProto_ExtensionRange* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_start(google_protobuf_DescriptorProto_ExtensionRange *msg, int32_t value) { + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_end(google_protobuf_DescriptorProto_ExtensionRange *msg, int32_t value) { + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_options(google_protobuf_DescriptorProto_ExtensionRange *msg, google_protobuf_ExtensionRangeOptions* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_ExtensionRangeOptions* google_protobuf_DescriptorProto_ExtensionRange_mutable_options(google_protobuf_DescriptorProto_ExtensionRange* msg, upb_Arena* arena) { + struct google_protobuf_ExtensionRangeOptions* sub = (struct google_protobuf_ExtensionRangeOptions*)google_protobuf_DescriptorProto_ExtensionRange_options(msg); + if (sub == NULL) { + sub = (struct google_protobuf_ExtensionRangeOptions*)_upb_Message_New(&google__protobuf__ExtensionRangeOptions_msg_init, arena); + if (sub) google_protobuf_DescriptorProto_ExtensionRange_set_options(msg, sub); + } + return sub; +} + +/* google.protobuf.DescriptorProto.ReservedRange */ + +UPB_INLINE google_protobuf_DescriptorProto_ReservedRange* google_protobuf_DescriptorProto_ReservedRange_new(upb_Arena* arena) { + return (google_protobuf_DescriptorProto_ReservedRange*)_upb_Message_New(&google__protobuf__DescriptorProto__ReservedRange_msg_init, arena); +} +UPB_INLINE google_protobuf_DescriptorProto_ReservedRange* google_protobuf_DescriptorProto_ReservedRange_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_DescriptorProto_ReservedRange* ret = google_protobuf_DescriptorProto_ReservedRange_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__DescriptorProto__ReservedRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_DescriptorProto_ReservedRange* google_protobuf_DescriptorProto_ReservedRange_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_DescriptorProto_ReservedRange* ret = google_protobuf_DescriptorProto_ReservedRange_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__DescriptorProto__ReservedRange_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_DescriptorProto_ReservedRange_serialize(const google_protobuf_DescriptorProto_ReservedRange* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__DescriptorProto__ReservedRange_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_DescriptorProto_ReservedRange_serialize_ex(const google_protobuf_DescriptorProto_ReservedRange* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__DescriptorProto__ReservedRange_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_clear_start(google_protobuf_DescriptorProto_ReservedRange* msg) { + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_DescriptorProto_ReservedRange_start(const google_protobuf_DescriptorProto_ReservedRange* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_DescriptorProto_ReservedRange_has_start(const google_protobuf_DescriptorProto_ReservedRange* msg) { + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_clear_end(google_protobuf_DescriptorProto_ReservedRange* msg) { + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_DescriptorProto_ReservedRange_end(const google_protobuf_DescriptorProto_ReservedRange* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_DescriptorProto_ReservedRange_has_end(const google_protobuf_DescriptorProto_ReservedRange* msg) { + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_set_start(google_protobuf_DescriptorProto_ReservedRange *msg, int32_t value) { + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_set_end(google_protobuf_DescriptorProto_ReservedRange *msg, int32_t value) { + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.protobuf.ExtensionRangeOptions */ + +UPB_INLINE google_protobuf_ExtensionRangeOptions* google_protobuf_ExtensionRangeOptions_new(upb_Arena* arena) { + return (google_protobuf_ExtensionRangeOptions*)_upb_Message_New(&google__protobuf__ExtensionRangeOptions_msg_init, arena); +} +UPB_INLINE google_protobuf_ExtensionRangeOptions* google_protobuf_ExtensionRangeOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_ExtensionRangeOptions* ret = google_protobuf_ExtensionRangeOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__ExtensionRangeOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_ExtensionRangeOptions* google_protobuf_ExtensionRangeOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_ExtensionRangeOptions* ret = google_protobuf_ExtensionRangeOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__ExtensionRangeOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_ExtensionRangeOptions_serialize(const google_protobuf_ExtensionRangeOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__ExtensionRangeOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_ExtensionRangeOptions_serialize_ex(const google_protobuf_ExtensionRangeOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__ExtensionRangeOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_clear_declaration(google_protobuf_ExtensionRangeOptions* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_ExtensionRangeOptions_Declaration* const* google_protobuf_ExtensionRangeOptions_declaration(const google_protobuf_ExtensionRangeOptions* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_ExtensionRangeOptions_Declaration* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_ExtensionRangeOptions_declaration_upb_array(const google_protobuf_ExtensionRangeOptions* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_ExtensionRangeOptions_declaration_mutable_upb_array(const google_protobuf_ExtensionRangeOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_ExtensionRangeOptions_has_declaration(const google_protobuf_ExtensionRangeOptions* msg) { + size_t size; + google_protobuf_ExtensionRangeOptions_declaration(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_clear_verification(google_protobuf_ExtensionRangeOptions* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_ExtensionRangeOptions_verification(const google_protobuf_ExtensionRangeOptions* msg) { + int32_t default_val = 1; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_ExtensionRangeOptions_has_verification(const google_protobuf_ExtensionRangeOptions* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_clear_features(google_protobuf_ExtensionRangeOptions* msg) { + const upb_MiniTableField field = {50, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_ExtensionRangeOptions_features(const google_protobuf_ExtensionRangeOptions* msg) { + const google_protobuf_FeatureSet* default_val = NULL; + const google_protobuf_FeatureSet* ret; + const upb_MiniTableField field = {50, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_ExtensionRangeOptions_has_features(const google_protobuf_ExtensionRangeOptions* msg) { + const upb_MiniTableField field = {50, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_clear_uninterpreted_option(google_protobuf_ExtensionRangeOptions* msg) { + const upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_ExtensionRangeOptions_uninterpreted_option(const google_protobuf_ExtensionRangeOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_ExtensionRangeOptions_uninterpreted_option_upb_array(const google_protobuf_ExtensionRangeOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_ExtensionRangeOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_ExtensionRangeOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_ExtensionRangeOptions_has_uninterpreted_option(const google_protobuf_ExtensionRangeOptions* msg) { + size_t size; + google_protobuf_ExtensionRangeOptions_uninterpreted_option(msg, &size); + return size != 0; +} + +UPB_INLINE google_protobuf_ExtensionRangeOptions_Declaration** google_protobuf_ExtensionRangeOptions_mutable_declaration(google_protobuf_ExtensionRangeOptions* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_ExtensionRangeOptions_Declaration**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_ExtensionRangeOptions_Declaration** google_protobuf_ExtensionRangeOptions_resize_declaration(google_protobuf_ExtensionRangeOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_ExtensionRangeOptions_Declaration**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_ExtensionRangeOptions_Declaration* google_protobuf_ExtensionRangeOptions_add_declaration(google_protobuf_ExtensionRangeOptions* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_ExtensionRangeOptions_Declaration* sub = (struct google_protobuf_ExtensionRangeOptions_Declaration*)_upb_Message_New(&google__protobuf__ExtensionRangeOptions__Declaration_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_set_verification(google_protobuf_ExtensionRangeOptions *msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_set_features(google_protobuf_ExtensionRangeOptions *msg, google_protobuf_FeatureSet* value) { + const upb_MiniTableField field = {50, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_ExtensionRangeOptions_mutable_features(google_protobuf_ExtensionRangeOptions* msg, upb_Arena* arena) { + struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_ExtensionRangeOptions_features(msg); + if (sub == NULL) { + sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google__protobuf__FeatureSet_msg_init, arena); + if (sub) google_protobuf_ExtensionRangeOptions_set_features(msg, sub); + } + return sub; +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_ExtensionRangeOptions_mutable_uninterpreted_option(google_protobuf_ExtensionRangeOptions* msg, size_t* size) { + upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_ExtensionRangeOptions_resize_uninterpreted_option(google_protobuf_ExtensionRangeOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_ExtensionRangeOptions_add_uninterpreted_option(google_protobuf_ExtensionRangeOptions* msg, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google__protobuf__UninterpretedOption_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* google.protobuf.ExtensionRangeOptions.Declaration */ + +UPB_INLINE google_protobuf_ExtensionRangeOptions_Declaration* google_protobuf_ExtensionRangeOptions_Declaration_new(upb_Arena* arena) { + return (google_protobuf_ExtensionRangeOptions_Declaration*)_upb_Message_New(&google__protobuf__ExtensionRangeOptions__Declaration_msg_init, arena); +} +UPB_INLINE google_protobuf_ExtensionRangeOptions_Declaration* google_protobuf_ExtensionRangeOptions_Declaration_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_ExtensionRangeOptions_Declaration* ret = google_protobuf_ExtensionRangeOptions_Declaration_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__ExtensionRangeOptions__Declaration_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_ExtensionRangeOptions_Declaration* google_protobuf_ExtensionRangeOptions_Declaration_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_ExtensionRangeOptions_Declaration* ret = google_protobuf_ExtensionRangeOptions_Declaration_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__ExtensionRangeOptions__Declaration_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_ExtensionRangeOptions_Declaration_serialize(const google_protobuf_ExtensionRangeOptions_Declaration* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__ExtensionRangeOptions__Declaration_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_ExtensionRangeOptions_Declaration_serialize_ex(const google_protobuf_ExtensionRangeOptions_Declaration* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__ExtensionRangeOptions__Declaration_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_number(google_protobuf_ExtensionRangeOptions_Declaration* msg) { + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_ExtensionRangeOptions_Declaration_number(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_number(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_full_name(google_protobuf_ExtensionRangeOptions_Declaration* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_ExtensionRangeOptions_Declaration_full_name(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_full_name(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_type(google_protobuf_ExtensionRangeOptions_Declaration* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_ExtensionRangeOptions_Declaration_type(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_type(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_reserved(google_protobuf_ExtensionRangeOptions_Declaration* msg) { + const upb_MiniTableField field = {5, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_reserved(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_reserved(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { + const upb_MiniTableField field = {5, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_repeated(google_protobuf_ExtensionRangeOptions_Declaration* msg) { + const upb_MiniTableField field = {6, 9, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_repeated(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 9, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_repeated(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { + const upb_MiniTableField field = {6, 9, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_number(google_protobuf_ExtensionRangeOptions_Declaration *msg, int32_t value) { + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_full_name(google_protobuf_ExtensionRangeOptions_Declaration *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_type(google_protobuf_ExtensionRangeOptions_Declaration *msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_reserved(google_protobuf_ExtensionRangeOptions_Declaration *msg, bool value) { + const upb_MiniTableField field = {5, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_repeated(google_protobuf_ExtensionRangeOptions_Declaration *msg, bool value) { + const upb_MiniTableField field = {6, 9, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.protobuf.FieldDescriptorProto */ + +UPB_INLINE google_protobuf_FieldDescriptorProto* google_protobuf_FieldDescriptorProto_new(upb_Arena* arena) { + return (google_protobuf_FieldDescriptorProto*)_upb_Message_New(&google__protobuf__FieldDescriptorProto_msg_init, arena); +} +UPB_INLINE google_protobuf_FieldDescriptorProto* google_protobuf_FieldDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_FieldDescriptorProto* ret = google_protobuf_FieldDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FieldDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_FieldDescriptorProto* google_protobuf_FieldDescriptorProto_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_FieldDescriptorProto* ret = google_protobuf_FieldDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FieldDescriptorProto_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_FieldDescriptorProto_serialize(const google_protobuf_FieldDescriptorProto* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FieldDescriptorProto_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_FieldDescriptorProto_serialize_ex(const google_protobuf_FieldDescriptorProto* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FieldDescriptorProto_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_name(google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_name(const google_protobuf_FieldDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_name(const google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_extendee(google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_extendee(const google_protobuf_FieldDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_extendee(const google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_number(google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {3, 4, 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_number(const google_protobuf_FieldDescriptorProto* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, 4, 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_number(const google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {3, 4, 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_label(google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {4, 8, 4, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_label(const google_protobuf_FieldDescriptorProto* msg) { + int32_t default_val = 1; + int32_t ret; + const upb_MiniTableField field = {4, 8, 4, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_label(const google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {4, 8, 4, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_type(google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {5, 12, 5, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_type(const google_protobuf_FieldDescriptorProto* msg) { + int32_t default_val = 1; + int32_t ret; + const upb_MiniTableField field = {5, 12, 5, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_type(const google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {5, 12, 5, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_type_name(google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(44, 56), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_type_name(const google_protobuf_FieldDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {6, UPB_SIZE(44, 56), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_type_name(const google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(44, 56), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_default_value(google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(52, 72), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_default_value(const google_protobuf_FieldDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {7, UPB_SIZE(52, 72), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_default_value(const google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(52, 72), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_options(google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(16, 88), 8, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FieldOptions* google_protobuf_FieldDescriptorProto_options(const google_protobuf_FieldDescriptorProto* msg) { + const google_protobuf_FieldOptions* default_val = NULL; + const google_protobuf_FieldOptions* ret; + const upb_MiniTableField field = {8, UPB_SIZE(16, 88), 8, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_options(const google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(16, 88), 8, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_oneof_index(google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(20, 16), 9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_oneof_index(const google_protobuf_FieldDescriptorProto* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(20, 16), 9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_oneof_index(const google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(20, 16), 9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_json_name(google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(60, 96), 10, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_json_name(const google_protobuf_FieldDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {10, UPB_SIZE(60, 96), 10, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_json_name(const google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(60, 96), 10, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_proto3_optional(google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(24, 20), 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FieldDescriptorProto_proto3_optional(const google_protobuf_FieldDescriptorProto* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {17, UPB_SIZE(24, 20), 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_proto3_optional(const google_protobuf_FieldDescriptorProto* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(24, 20), 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_FieldDescriptorProto_set_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_set_extendee(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_set_number(google_protobuf_FieldDescriptorProto *msg, int32_t value) { + const upb_MiniTableField field = {3, 4, 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_set_label(google_protobuf_FieldDescriptorProto *msg, int32_t value) { + const upb_MiniTableField field = {4, 8, 4, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type(google_protobuf_FieldDescriptorProto *msg, int32_t value) { + const upb_MiniTableField field = {5, 12, 5, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {6, UPB_SIZE(44, 56), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_set_default_value(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {7, UPB_SIZE(52, 72), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_set_options(google_protobuf_FieldDescriptorProto *msg, google_protobuf_FieldOptions* value) { + const upb_MiniTableField field = {8, UPB_SIZE(16, 88), 8, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_FieldOptions* google_protobuf_FieldDescriptorProto_mutable_options(google_protobuf_FieldDescriptorProto* msg, upb_Arena* arena) { + struct google_protobuf_FieldOptions* sub = (struct google_protobuf_FieldOptions*)google_protobuf_FieldDescriptorProto_options(msg); + if (sub == NULL) { + sub = (struct google_protobuf_FieldOptions*)_upb_Message_New(&google__protobuf__FieldOptions_msg_init, arena); + if (sub) google_protobuf_FieldDescriptorProto_set_options(msg, sub); + } + return sub; +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_set_oneof_index(google_protobuf_FieldDescriptorProto *msg, int32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(20, 16), 9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_set_json_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {10, UPB_SIZE(60, 96), 10, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldDescriptorProto_set_proto3_optional(google_protobuf_FieldDescriptorProto *msg, bool value) { + const upb_MiniTableField field = {17, UPB_SIZE(24, 20), 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.protobuf.OneofDescriptorProto */ + +UPB_INLINE google_protobuf_OneofDescriptorProto* google_protobuf_OneofDescriptorProto_new(upb_Arena* arena) { + return (google_protobuf_OneofDescriptorProto*)_upb_Message_New(&google__protobuf__OneofDescriptorProto_msg_init, arena); +} +UPB_INLINE google_protobuf_OneofDescriptorProto* google_protobuf_OneofDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_OneofDescriptorProto* ret = google_protobuf_OneofDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__OneofDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_OneofDescriptorProto* google_protobuf_OneofDescriptorProto_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_OneofDescriptorProto* ret = google_protobuf_OneofDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__OneofDescriptorProto_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_OneofDescriptorProto_serialize(const google_protobuf_OneofDescriptorProto* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__OneofDescriptorProto_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_OneofDescriptorProto_serialize_ex(const google_protobuf_OneofDescriptorProto* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__OneofDescriptorProto_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_OneofDescriptorProto_clear_name(google_protobuf_OneofDescriptorProto* msg) { + const upb_MiniTableField field = {1, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_OneofDescriptorProto_name(const google_protobuf_OneofDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_OneofDescriptorProto_has_name(const google_protobuf_OneofDescriptorProto* msg) { + const upb_MiniTableField field = {1, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_OneofDescriptorProto_clear_options(google_protobuf_OneofDescriptorProto* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_OneofOptions* google_protobuf_OneofDescriptorProto_options(const google_protobuf_OneofDescriptorProto* msg) { + const google_protobuf_OneofOptions* default_val = NULL; + const google_protobuf_OneofOptions* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_OneofDescriptorProto_has_options(const google_protobuf_OneofDescriptorProto* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_OneofDescriptorProto_set_name(google_protobuf_OneofDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_OneofDescriptorProto_set_options(google_protobuf_OneofDescriptorProto *msg, google_protobuf_OneofOptions* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_OneofOptions* google_protobuf_OneofDescriptorProto_mutable_options(google_protobuf_OneofDescriptorProto* msg, upb_Arena* arena) { + struct google_protobuf_OneofOptions* sub = (struct google_protobuf_OneofOptions*)google_protobuf_OneofDescriptorProto_options(msg); + if (sub == NULL) { + sub = (struct google_protobuf_OneofOptions*)_upb_Message_New(&google__protobuf__OneofOptions_msg_init, arena); + if (sub) google_protobuf_OneofDescriptorProto_set_options(msg, sub); + } + return sub; +} + +/* google.protobuf.EnumDescriptorProto */ + +UPB_INLINE google_protobuf_EnumDescriptorProto* google_protobuf_EnumDescriptorProto_new(upb_Arena* arena) { + return (google_protobuf_EnumDescriptorProto*)_upb_Message_New(&google__protobuf__EnumDescriptorProto_msg_init, arena); +} +UPB_INLINE google_protobuf_EnumDescriptorProto* google_protobuf_EnumDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_EnumDescriptorProto* ret = google_protobuf_EnumDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__EnumDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_EnumDescriptorProto* google_protobuf_EnumDescriptorProto_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_EnumDescriptorProto* ret = google_protobuf_EnumDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__EnumDescriptorProto_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_EnumDescriptorProto_serialize(const google_protobuf_EnumDescriptorProto* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__EnumDescriptorProto_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_EnumDescriptorProto_serialize_ex(const google_protobuf_EnumDescriptorProto* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__EnumDescriptorProto_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_name(google_protobuf_EnumDescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_EnumDescriptorProto_name(const google_protobuf_EnumDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_name(const google_protobuf_EnumDescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_value(google_protobuf_EnumDescriptorProto* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_EnumValueDescriptorProto* const* google_protobuf_EnumDescriptorProto_value(const google_protobuf_EnumDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_EnumValueDescriptorProto* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_EnumDescriptorProto_value_upb_array(const google_protobuf_EnumDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_EnumDescriptorProto_value_mutable_upb_array(const google_protobuf_EnumDescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_value(const google_protobuf_EnumDescriptorProto* msg) { + size_t size; + google_protobuf_EnumDescriptorProto_value(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_options(google_protobuf_EnumDescriptorProto* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_EnumOptions* google_protobuf_EnumDescriptorProto_options(const google_protobuf_EnumDescriptorProto* msg) { + const google_protobuf_EnumOptions* default_val = NULL; + const google_protobuf_EnumOptions* ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_options(const google_protobuf_EnumDescriptorProto* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_reserved_range(google_protobuf_EnumDescriptorProto* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_EnumDescriptorProto_EnumReservedRange* const* google_protobuf_EnumDescriptorProto_reserved_range(const google_protobuf_EnumDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_EnumDescriptorProto_EnumReservedRange* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_EnumDescriptorProto_reserved_range_upb_array(const google_protobuf_EnumDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_EnumDescriptorProto_reserved_range_mutable_upb_array(const google_protobuf_EnumDescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_reserved_range(const google_protobuf_EnumDescriptorProto* msg) { + size_t size; + google_protobuf_EnumDescriptorProto_reserved_range(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_reserved_name(google_protobuf_EnumDescriptorProto* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* google_protobuf_EnumDescriptorProto_reserved_name(const google_protobuf_EnumDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_EnumDescriptorProto_reserved_name_upb_array(const google_protobuf_EnumDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_EnumDescriptorProto_reserved_name_mutable_upb_array(const google_protobuf_EnumDescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_reserved_name(const google_protobuf_EnumDescriptorProto* msg) { + size_t size; + google_protobuf_EnumDescriptorProto_reserved_name(msg, &size); + return size != 0; +} + +UPB_INLINE void google_protobuf_EnumDescriptorProto_set_name(google_protobuf_EnumDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE google_protobuf_EnumValueDescriptorProto** google_protobuf_EnumDescriptorProto_mutable_value(google_protobuf_EnumDescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_EnumValueDescriptorProto**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_EnumValueDescriptorProto** google_protobuf_EnumDescriptorProto_resize_value(google_protobuf_EnumDescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_EnumValueDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_EnumValueDescriptorProto* google_protobuf_EnumDescriptorProto_add_value(google_protobuf_EnumDescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_EnumValueDescriptorProto* sub = (struct google_protobuf_EnumValueDescriptorProto*)_upb_Message_New(&google__protobuf__EnumValueDescriptorProto_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void google_protobuf_EnumDescriptorProto_set_options(google_protobuf_EnumDescriptorProto *msg, google_protobuf_EnumOptions* value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_EnumOptions* google_protobuf_EnumDescriptorProto_mutable_options(google_protobuf_EnumDescriptorProto* msg, upb_Arena* arena) { + struct google_protobuf_EnumOptions* sub = (struct google_protobuf_EnumOptions*)google_protobuf_EnumDescriptorProto_options(msg); + if (sub == NULL) { + sub = (struct google_protobuf_EnumOptions*)_upb_Message_New(&google__protobuf__EnumOptions_msg_init, arena); + if (sub) google_protobuf_EnumDescriptorProto_set_options(msg, sub); + } + return sub; +} +UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange** google_protobuf_EnumDescriptorProto_mutable_reserved_range(google_protobuf_EnumDescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_EnumDescriptorProto_EnumReservedRange**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange** google_protobuf_EnumDescriptorProto_resize_reserved_range(google_protobuf_EnumDescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_EnumDescriptorProto_EnumReservedRange**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_EnumDescriptorProto_EnumReservedRange* google_protobuf_EnumDescriptorProto_add_reserved_range(google_protobuf_EnumDescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_EnumDescriptorProto_EnumReservedRange* sub = (struct google_protobuf_EnumDescriptorProto_EnumReservedRange*)_upb_Message_New(&google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE upb_StringView* google_protobuf_EnumDescriptorProto_mutable_reserved_name(google_protobuf_EnumDescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* google_protobuf_EnumDescriptorProto_resize_reserved_name(google_protobuf_EnumDescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool google_protobuf_EnumDescriptorProto_add_reserved_name(google_protobuf_EnumDescriptorProto* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} + +/* google.protobuf.EnumDescriptorProto.EnumReservedRange */ + +UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange* google_protobuf_EnumDescriptorProto_EnumReservedRange_new(upb_Arena* arena) { + return (google_protobuf_EnumDescriptorProto_EnumReservedRange*)_upb_Message_New(&google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init, arena); +} +UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange* google_protobuf_EnumDescriptorProto_EnumReservedRange_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_EnumDescriptorProto_EnumReservedRange* ret = google_protobuf_EnumDescriptorProto_EnumReservedRange_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange* google_protobuf_EnumDescriptorProto_EnumReservedRange_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_EnumDescriptorProto_EnumReservedRange* ret = google_protobuf_EnumDescriptorProto_EnumReservedRange_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_EnumDescriptorProto_EnumReservedRange_serialize(const google_protobuf_EnumDescriptorProto_EnumReservedRange* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_EnumDescriptorProto_EnumReservedRange_serialize_ex(const google_protobuf_EnumDescriptorProto_EnumReservedRange* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_clear_start(google_protobuf_EnumDescriptorProto_EnumReservedRange* msg) { + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_EnumDescriptorProto_EnumReservedRange_start(const google_protobuf_EnumDescriptorProto_EnumReservedRange* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumDescriptorProto_EnumReservedRange_has_start(const google_protobuf_EnumDescriptorProto_EnumReservedRange* msg) { + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_clear_end(google_protobuf_EnumDescriptorProto_EnumReservedRange* msg) { + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_EnumDescriptorProto_EnumReservedRange_end(const google_protobuf_EnumDescriptorProto_EnumReservedRange* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumDescriptorProto_EnumReservedRange_has_end(const google_protobuf_EnumDescriptorProto_EnumReservedRange* msg) { + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_set_start(google_protobuf_EnumDescriptorProto_EnumReservedRange *msg, int32_t value) { + const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_set_end(google_protobuf_EnumDescriptorProto_EnumReservedRange *msg, int32_t value) { + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.protobuf.EnumValueDescriptorProto */ + +UPB_INLINE google_protobuf_EnumValueDescriptorProto* google_protobuf_EnumValueDescriptorProto_new(upb_Arena* arena) { + return (google_protobuf_EnumValueDescriptorProto*)_upb_Message_New(&google__protobuf__EnumValueDescriptorProto_msg_init, arena); +} +UPB_INLINE google_protobuf_EnumValueDescriptorProto* google_protobuf_EnumValueDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_EnumValueDescriptorProto* ret = google_protobuf_EnumValueDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__EnumValueDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_EnumValueDescriptorProto* google_protobuf_EnumValueDescriptorProto_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_EnumValueDescriptorProto* ret = google_protobuf_EnumValueDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__EnumValueDescriptorProto_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_EnumValueDescriptorProto_serialize(const google_protobuf_EnumValueDescriptorProto* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__EnumValueDescriptorProto_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_EnumValueDescriptorProto_serialize_ex(const google_protobuf_EnumValueDescriptorProto* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__EnumValueDescriptorProto_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_EnumValueDescriptorProto_clear_name(google_protobuf_EnumValueDescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_EnumValueDescriptorProto_name(const google_protobuf_EnumValueDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_name(const google_protobuf_EnumValueDescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_EnumValueDescriptorProto_clear_number(google_protobuf_EnumValueDescriptorProto* msg) { + const upb_MiniTableField field = {2, 4, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_EnumValueDescriptorProto_number(const google_protobuf_EnumValueDescriptorProto* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, 4, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_number(const google_protobuf_EnumValueDescriptorProto* msg) { + const upb_MiniTableField field = {2, 4, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_EnumValueDescriptorProto_clear_options(google_protobuf_EnumValueDescriptorProto* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 24), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_EnumValueOptions* google_protobuf_EnumValueDescriptorProto_options(const google_protobuf_EnumValueDescriptorProto* msg) { + const google_protobuf_EnumValueOptions* default_val = NULL; + const google_protobuf_EnumValueOptions* ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 24), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_options(const google_protobuf_EnumValueDescriptorProto* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 24), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_name(google_protobuf_EnumValueDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_number(google_protobuf_EnumValueDescriptorProto *msg, int32_t value) { + const upb_MiniTableField field = {2, 4, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_options(google_protobuf_EnumValueDescriptorProto *msg, google_protobuf_EnumValueOptions* value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 24), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_EnumValueOptions* google_protobuf_EnumValueDescriptorProto_mutable_options(google_protobuf_EnumValueDescriptorProto* msg, upb_Arena* arena) { + struct google_protobuf_EnumValueOptions* sub = (struct google_protobuf_EnumValueOptions*)google_protobuf_EnumValueDescriptorProto_options(msg); + if (sub == NULL) { + sub = (struct google_protobuf_EnumValueOptions*)_upb_Message_New(&google__protobuf__EnumValueOptions_msg_init, arena); + if (sub) google_protobuf_EnumValueDescriptorProto_set_options(msg, sub); + } + return sub; +} + +/* google.protobuf.ServiceDescriptorProto */ + +UPB_INLINE google_protobuf_ServiceDescriptorProto* google_protobuf_ServiceDescriptorProto_new(upb_Arena* arena) { + return (google_protobuf_ServiceDescriptorProto*)_upb_Message_New(&google__protobuf__ServiceDescriptorProto_msg_init, arena); +} +UPB_INLINE google_protobuf_ServiceDescriptorProto* google_protobuf_ServiceDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_ServiceDescriptorProto* ret = google_protobuf_ServiceDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__ServiceDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_ServiceDescriptorProto* google_protobuf_ServiceDescriptorProto_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_ServiceDescriptorProto* ret = google_protobuf_ServiceDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__ServiceDescriptorProto_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_ServiceDescriptorProto_serialize(const google_protobuf_ServiceDescriptorProto* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__ServiceDescriptorProto_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_ServiceDescriptorProto_serialize_ex(const google_protobuf_ServiceDescriptorProto* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__ServiceDescriptorProto_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_ServiceDescriptorProto_clear_name(google_protobuf_ServiceDescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_ServiceDescriptorProto_name(const google_protobuf_ServiceDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_name(const google_protobuf_ServiceDescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_ServiceDescriptorProto_clear_method(google_protobuf_ServiceDescriptorProto* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_MethodDescriptorProto* const* google_protobuf_ServiceDescriptorProto_method(const google_protobuf_ServiceDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_MethodDescriptorProto* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_ServiceDescriptorProto_method_upb_array(const google_protobuf_ServiceDescriptorProto* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_ServiceDescriptorProto_method_mutable_upb_array(const google_protobuf_ServiceDescriptorProto* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_method(const google_protobuf_ServiceDescriptorProto* msg) { + size_t size; + google_protobuf_ServiceDescriptorProto_method(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_ServiceDescriptorProto_clear_options(google_protobuf_ServiceDescriptorProto* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_ServiceOptions* google_protobuf_ServiceDescriptorProto_options(const google_protobuf_ServiceDescriptorProto* msg) { + const google_protobuf_ServiceOptions* default_val = NULL; + const google_protobuf_ServiceOptions* ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_options(const google_protobuf_ServiceDescriptorProto* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_name(google_protobuf_ServiceDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE google_protobuf_MethodDescriptorProto** google_protobuf_ServiceDescriptorProto_mutable_method(google_protobuf_ServiceDescriptorProto* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_MethodDescriptorProto**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_MethodDescriptorProto** google_protobuf_ServiceDescriptorProto_resize_method(google_protobuf_ServiceDescriptorProto* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_MethodDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_MethodDescriptorProto* google_protobuf_ServiceDescriptorProto_add_method(google_protobuf_ServiceDescriptorProto* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_MethodDescriptorProto* sub = (struct google_protobuf_MethodDescriptorProto*)_upb_Message_New(&google__protobuf__MethodDescriptorProto_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_options(google_protobuf_ServiceDescriptorProto *msg, google_protobuf_ServiceOptions* value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_ServiceOptions* google_protobuf_ServiceDescriptorProto_mutable_options(google_protobuf_ServiceDescriptorProto* msg, upb_Arena* arena) { + struct google_protobuf_ServiceOptions* sub = (struct google_protobuf_ServiceOptions*)google_protobuf_ServiceDescriptorProto_options(msg); + if (sub == NULL) { + sub = (struct google_protobuf_ServiceOptions*)_upb_Message_New(&google__protobuf__ServiceOptions_msg_init, arena); + if (sub) google_protobuf_ServiceDescriptorProto_set_options(msg, sub); + } + return sub; +} + +/* google.protobuf.MethodDescriptorProto */ + +UPB_INLINE google_protobuf_MethodDescriptorProto* google_protobuf_MethodDescriptorProto_new(upb_Arena* arena) { + return (google_protobuf_MethodDescriptorProto*)_upb_Message_New(&google__protobuf__MethodDescriptorProto_msg_init, arena); +} +UPB_INLINE google_protobuf_MethodDescriptorProto* google_protobuf_MethodDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_MethodDescriptorProto* ret = google_protobuf_MethodDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__MethodDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_MethodDescriptorProto* google_protobuf_MethodDescriptorProto_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_MethodDescriptorProto* ret = google_protobuf_MethodDescriptorProto_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__MethodDescriptorProto_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_MethodDescriptorProto_serialize(const google_protobuf_MethodDescriptorProto* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__MethodDescriptorProto_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_MethodDescriptorProto_serialize_ex(const google_protobuf_MethodDescriptorProto* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__MethodDescriptorProto_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_name(google_protobuf_MethodDescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_MethodDescriptorProto_name(const google_protobuf_MethodDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_name(const google_protobuf_MethodDescriptorProto* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_input_type(google_protobuf_MethodDescriptorProto* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_MethodDescriptorProto_input_type(const google_protobuf_MethodDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_input_type(const google_protobuf_MethodDescriptorProto* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_output_type(google_protobuf_MethodDescriptorProto* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 40), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_MethodDescriptorProto_output_type(const google_protobuf_MethodDescriptorProto* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(28, 40), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_output_type(const google_protobuf_MethodDescriptorProto* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 40), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_options(google_protobuf_MethodDescriptorProto* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 56), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_MethodOptions* google_protobuf_MethodDescriptorProto_options(const google_protobuf_MethodDescriptorProto* msg) { + const google_protobuf_MethodOptions* default_val = NULL; + const google_protobuf_MethodOptions* ret; + const upb_MiniTableField field = {4, UPB_SIZE(4, 56), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_options(const google_protobuf_MethodDescriptorProto* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 56), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_client_streaming(google_protobuf_MethodDescriptorProto* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(8, 1), 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_MethodDescriptorProto_client_streaming(const google_protobuf_MethodDescriptorProto* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, UPB_SIZE(8, 1), 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_client_streaming(const google_protobuf_MethodDescriptorProto* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(8, 1), 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_server_streaming(google_protobuf_MethodDescriptorProto* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(9, 2), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_MethodDescriptorProto_server_streaming(const google_protobuf_MethodDescriptorProto* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, UPB_SIZE(9, 2), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_server_streaming(const google_protobuf_MethodDescriptorProto* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(9, 2), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_MethodDescriptorProto_set_name(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_MethodDescriptorProto_set_input_type(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_MethodDescriptorProto_set_output_type(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 40), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_MethodDescriptorProto_set_options(google_protobuf_MethodDescriptorProto *msg, google_protobuf_MethodOptions* value) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 56), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_MethodOptions* google_protobuf_MethodDescriptorProto_mutable_options(google_protobuf_MethodDescriptorProto* msg, upb_Arena* arena) { + struct google_protobuf_MethodOptions* sub = (struct google_protobuf_MethodOptions*)google_protobuf_MethodDescriptorProto_options(msg); + if (sub == NULL) { + sub = (struct google_protobuf_MethodOptions*)_upb_Message_New(&google__protobuf__MethodOptions_msg_init, arena); + if (sub) google_protobuf_MethodDescriptorProto_set_options(msg, sub); + } + return sub; +} +UPB_INLINE void google_protobuf_MethodDescriptorProto_set_client_streaming(google_protobuf_MethodDescriptorProto *msg, bool value) { + const upb_MiniTableField field = {5, UPB_SIZE(8, 1), 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_MethodDescriptorProto_set_server_streaming(google_protobuf_MethodDescriptorProto *msg, bool value) { + const upb_MiniTableField field = {6, UPB_SIZE(9, 2), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.protobuf.FileOptions */ + +UPB_INLINE google_protobuf_FileOptions* google_protobuf_FileOptions_new(upb_Arena* arena) { + return (google_protobuf_FileOptions*)_upb_Message_New(&google__protobuf__FileOptions_msg_init, arena); +} +UPB_INLINE google_protobuf_FileOptions* google_protobuf_FileOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_FileOptions* ret = google_protobuf_FileOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FileOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_FileOptions* google_protobuf_FileOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_FileOptions* ret = google_protobuf_FileOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FileOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_FileOptions_serialize(const google_protobuf_FileOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FileOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_FileOptions_serialize_ex(const google_protobuf_FileOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FileOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_FileOptions_clear_java_package(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FileOptions_java_package(const google_protobuf_FileOptions* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_java_package(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_java_outer_classname(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FileOptions_java_outer_classname(const google_protobuf_FileOptions* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {8, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_java_outer_classname(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_optimize_for(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {9, 4, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FileOptions_optimize_for(const google_protobuf_FileOptions* msg) { + int32_t default_val = 1; + int32_t ret; + const upb_MiniTableField field = {9, 4, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_optimize_for(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {9, 4, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_java_multiple_files(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {10, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FileOptions_java_multiple_files(const google_protobuf_FileOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {10, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_java_multiple_files(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {10, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_go_package(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(44, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FileOptions_go_package(const google_protobuf_FileOptions* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {11, UPB_SIZE(44, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_go_package(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(44, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_cc_generic_services(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {16, 9, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FileOptions_cc_generic_services(const google_protobuf_FileOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {16, 9, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_cc_generic_services(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {16, 9, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_java_generic_services(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {17, 10, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FileOptions_java_generic_services(const google_protobuf_FileOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {17, 10, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_java_generic_services(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {17, 10, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_py_generic_services(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {18, 11, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FileOptions_py_generic_services(const google_protobuf_FileOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {18, 11, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_py_generic_services(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {18, 11, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_java_generate_equals_and_hash(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {20, 12, 9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FileOptions_java_generate_equals_and_hash(const google_protobuf_FileOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {20, 12, 9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_java_generate_equals_and_hash(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {20, 12, 9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_deprecated(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {23, 13, 10, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FileOptions_deprecated(const google_protobuf_FileOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {23, 13, 10, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_deprecated(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {23, 13, 10, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_java_string_check_utf8(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {27, 14, 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FileOptions_java_string_check_utf8(const google_protobuf_FileOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {27, 14, 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_java_string_check_utf8(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {27, 14, 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_cc_enable_arenas(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {31, 15, 12, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FileOptions_cc_enable_arenas(const google_protobuf_FileOptions* msg) { + bool default_val = true; + bool ret; + const upb_MiniTableField field = {31, 15, 12, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_cc_enable_arenas(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {31, 15, 12, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_objc_class_prefix(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {36, UPB_SIZE(52, 72), 13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FileOptions_objc_class_prefix(const google_protobuf_FileOptions* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {36, UPB_SIZE(52, 72), 13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_objc_class_prefix(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {36, UPB_SIZE(52, 72), 13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_csharp_namespace(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {37, UPB_SIZE(60, 88), 14, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FileOptions_csharp_namespace(const google_protobuf_FileOptions* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {37, UPB_SIZE(60, 88), 14, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_csharp_namespace(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {37, UPB_SIZE(60, 88), 14, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_swift_prefix(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {39, UPB_SIZE(68, 104), 15, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FileOptions_swift_prefix(const google_protobuf_FileOptions* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {39, UPB_SIZE(68, 104), 15, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_swift_prefix(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {39, UPB_SIZE(68, 104), 15, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_php_class_prefix(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {40, UPB_SIZE(76, 120), 16, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FileOptions_php_class_prefix(const google_protobuf_FileOptions* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {40, UPB_SIZE(76, 120), 16, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_php_class_prefix(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {40, UPB_SIZE(76, 120), 16, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_php_namespace(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {41, UPB_SIZE(84, 136), 17, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FileOptions_php_namespace(const google_protobuf_FileOptions* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {41, UPB_SIZE(84, 136), 17, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_php_namespace(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {41, UPB_SIZE(84, 136), 17, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_php_generic_services(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {42, 16, 18, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FileOptions_php_generic_services(const google_protobuf_FileOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {42, 16, 18, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_php_generic_services(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {42, 16, 18, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_php_metadata_namespace(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {44, UPB_SIZE(92, 152), 19, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FileOptions_php_metadata_namespace(const google_protobuf_FileOptions* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {44, UPB_SIZE(92, 152), 19, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_php_metadata_namespace(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {44, UPB_SIZE(92, 152), 19, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_ruby_package(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {45, UPB_SIZE(100, 168), 20, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FileOptions_ruby_package(const google_protobuf_FileOptions* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {45, UPB_SIZE(100, 168), 20, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_ruby_package(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {45, UPB_SIZE(100, 168), 20, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_features(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {50, UPB_SIZE(20, 184), 21, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_FileOptions_features(const google_protobuf_FileOptions* msg) { + const google_protobuf_FeatureSet* default_val = NULL; + const google_protobuf_FeatureSet* ret; + const upb_MiniTableField field = {50, UPB_SIZE(20, 184), 21, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FileOptions_has_features(const google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {50, UPB_SIZE(20, 184), 21, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FileOptions_clear_uninterpreted_option(google_protobuf_FileOptions* msg) { + const upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_FileOptions_uninterpreted_option(const google_protobuf_FileOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_FileOptions_uninterpreted_option_upb_array(const google_protobuf_FileOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_FileOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_FileOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_FileOptions_has_uninterpreted_option(const google_protobuf_FileOptions* msg) { + size_t size; + google_protobuf_FileOptions_uninterpreted_option(msg, &size); + return size != 0; +} + +UPB_INLINE void google_protobuf_FileOptions_set_java_package(google_protobuf_FileOptions *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_java_outer_classname(google_protobuf_FileOptions *msg, upb_StringView value) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_optimize_for(google_protobuf_FileOptions *msg, int32_t value) { + const upb_MiniTableField field = {9, 4, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_java_multiple_files(google_protobuf_FileOptions *msg, bool value) { + const upb_MiniTableField field = {10, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_go_package(google_protobuf_FileOptions *msg, upb_StringView value) { + const upb_MiniTableField field = {11, UPB_SIZE(44, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_cc_generic_services(google_protobuf_FileOptions *msg, bool value) { + const upb_MiniTableField field = {16, 9, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_java_generic_services(google_protobuf_FileOptions *msg, bool value) { + const upb_MiniTableField field = {17, 10, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_py_generic_services(google_protobuf_FileOptions *msg, bool value) { + const upb_MiniTableField field = {18, 11, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_java_generate_equals_and_hash(google_protobuf_FileOptions *msg, bool value) { + const upb_MiniTableField field = {20, 12, 9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_deprecated(google_protobuf_FileOptions *msg, bool value) { + const upb_MiniTableField field = {23, 13, 10, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_java_string_check_utf8(google_protobuf_FileOptions *msg, bool value) { + const upb_MiniTableField field = {27, 14, 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_cc_enable_arenas(google_protobuf_FileOptions *msg, bool value) { + const upb_MiniTableField field = {31, 15, 12, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_objc_class_prefix(google_protobuf_FileOptions *msg, upb_StringView value) { + const upb_MiniTableField field = {36, UPB_SIZE(52, 72), 13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_csharp_namespace(google_protobuf_FileOptions *msg, upb_StringView value) { + const upb_MiniTableField field = {37, UPB_SIZE(60, 88), 14, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_swift_prefix(google_protobuf_FileOptions *msg, upb_StringView value) { + const upb_MiniTableField field = {39, UPB_SIZE(68, 104), 15, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_php_class_prefix(google_protobuf_FileOptions *msg, upb_StringView value) { + const upb_MiniTableField field = {40, UPB_SIZE(76, 120), 16, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_php_namespace(google_protobuf_FileOptions *msg, upb_StringView value) { + const upb_MiniTableField field = {41, UPB_SIZE(84, 136), 17, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_php_generic_services(google_protobuf_FileOptions *msg, bool value) { + const upb_MiniTableField field = {42, 16, 18, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_php_metadata_namespace(google_protobuf_FileOptions *msg, upb_StringView value) { + const upb_MiniTableField field = {44, UPB_SIZE(92, 152), 19, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_ruby_package(google_protobuf_FileOptions *msg, upb_StringView value) { + const upb_MiniTableField field = {45, UPB_SIZE(100, 168), 20, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FileOptions_set_features(google_protobuf_FileOptions *msg, google_protobuf_FeatureSet* value) { + const upb_MiniTableField field = {50, UPB_SIZE(20, 184), 21, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FileOptions_mutable_features(google_protobuf_FileOptions* msg, upb_Arena* arena) { + struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FileOptions_features(msg); + if (sub == NULL) { + sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google__protobuf__FeatureSet_msg_init, arena); + if (sub) google_protobuf_FileOptions_set_features(msg, sub); + } + return sub; +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FileOptions_mutable_uninterpreted_option(google_protobuf_FileOptions* msg, size_t* size) { + upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FileOptions_resize_uninterpreted_option(google_protobuf_FileOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_FileOptions_add_uninterpreted_option(google_protobuf_FileOptions* msg, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google__protobuf__UninterpretedOption_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* google.protobuf.MessageOptions */ + +UPB_INLINE google_protobuf_MessageOptions* google_protobuf_MessageOptions_new(upb_Arena* arena) { + return (google_protobuf_MessageOptions*)_upb_Message_New(&google__protobuf__MessageOptions_msg_init, arena); +} +UPB_INLINE google_protobuf_MessageOptions* google_protobuf_MessageOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_MessageOptions* ret = google_protobuf_MessageOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__MessageOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_MessageOptions* google_protobuf_MessageOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_MessageOptions* ret = google_protobuf_MessageOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__MessageOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_MessageOptions_serialize(const google_protobuf_MessageOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__MessageOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_MessageOptions_serialize_ex(const google_protobuf_MessageOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__MessageOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_MessageOptions_clear_message_set_wire_format(google_protobuf_MessageOptions* msg) { + const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_MessageOptions_message_set_wire_format(const google_protobuf_MessageOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MessageOptions_has_message_set_wire_format(const google_protobuf_MessageOptions* msg) { + const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MessageOptions_clear_no_standard_descriptor_accessor(google_protobuf_MessageOptions* msg) { + const upb_MiniTableField field = {2, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_MessageOptions_no_standard_descriptor_accessor(const google_protobuf_MessageOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MessageOptions_has_no_standard_descriptor_accessor(const google_protobuf_MessageOptions* msg) { + const upb_MiniTableField field = {2, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MessageOptions_clear_deprecated(google_protobuf_MessageOptions* msg) { + const upb_MiniTableField field = {3, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_MessageOptions_deprecated(const google_protobuf_MessageOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MessageOptions_has_deprecated(const google_protobuf_MessageOptions* msg) { + const upb_MiniTableField field = {3, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MessageOptions_clear_map_entry(google_protobuf_MessageOptions* msg) { + const upb_MiniTableField field = {7, 4, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_MessageOptions_map_entry(const google_protobuf_MessageOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 4, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MessageOptions_has_map_entry(const google_protobuf_MessageOptions* msg) { + const upb_MiniTableField field = {7, 4, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MessageOptions_clear_deprecated_legacy_json_field_conflicts(google_protobuf_MessageOptions* msg) { + const upb_MiniTableField field = {11, 5, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_MessageOptions_deprecated_legacy_json_field_conflicts(const google_protobuf_MessageOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {11, 5, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MessageOptions_has_deprecated_legacy_json_field_conflicts(const google_protobuf_MessageOptions* msg) { + const upb_MiniTableField field = {11, 5, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MessageOptions_clear_features(google_protobuf_MessageOptions* msg) { + const upb_MiniTableField field = {12, 8, 6, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_MessageOptions_features(const google_protobuf_MessageOptions* msg) { + const google_protobuf_FeatureSet* default_val = NULL; + const google_protobuf_FeatureSet* ret; + const upb_MiniTableField field = {12, 8, 6, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MessageOptions_has_features(const google_protobuf_MessageOptions* msg) { + const upb_MiniTableField field = {12, 8, 6, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MessageOptions_clear_uninterpreted_option(google_protobuf_MessageOptions* msg) { + const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_MessageOptions_uninterpreted_option(const google_protobuf_MessageOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_MessageOptions_uninterpreted_option_upb_array(const google_protobuf_MessageOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_MessageOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_MessageOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_MessageOptions_has_uninterpreted_option(const google_protobuf_MessageOptions* msg) { + size_t size; + google_protobuf_MessageOptions_uninterpreted_option(msg, &size); + return size != 0; +} + +UPB_INLINE void google_protobuf_MessageOptions_set_message_set_wire_format(google_protobuf_MessageOptions *msg, bool value) { + const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_MessageOptions_set_no_standard_descriptor_accessor(google_protobuf_MessageOptions *msg, bool value) { + const upb_MiniTableField field = {2, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_MessageOptions_set_deprecated(google_protobuf_MessageOptions *msg, bool value) { + const upb_MiniTableField field = {3, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_MessageOptions_set_map_entry(google_protobuf_MessageOptions *msg, bool value) { + const upb_MiniTableField field = {7, 4, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_MessageOptions_set_deprecated_legacy_json_field_conflicts(google_protobuf_MessageOptions *msg, bool value) { + const upb_MiniTableField field = {11, 5, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_MessageOptions_set_features(google_protobuf_MessageOptions *msg, google_protobuf_FeatureSet* value) { + const upb_MiniTableField field = {12, 8, 6, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_MessageOptions_mutable_features(google_protobuf_MessageOptions* msg, upb_Arena* arena) { + struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_MessageOptions_features(msg); + if (sub == NULL) { + sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google__protobuf__FeatureSet_msg_init, arena); + if (sub) google_protobuf_MessageOptions_set_features(msg, sub); + } + return sub; +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_MessageOptions_mutable_uninterpreted_option(google_protobuf_MessageOptions* msg, size_t* size) { + upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_MessageOptions_resize_uninterpreted_option(google_protobuf_MessageOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_MessageOptions_add_uninterpreted_option(google_protobuf_MessageOptions* msg, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google__protobuf__UninterpretedOption_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* google.protobuf.FieldOptions */ + +UPB_INLINE google_protobuf_FieldOptions* google_protobuf_FieldOptions_new(upb_Arena* arena) { + return (google_protobuf_FieldOptions*)_upb_Message_New(&google__protobuf__FieldOptions_msg_init, arena); +} +UPB_INLINE google_protobuf_FieldOptions* google_protobuf_FieldOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_FieldOptions* ret = google_protobuf_FieldOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FieldOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_FieldOptions* google_protobuf_FieldOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_FieldOptions* ret = google_protobuf_FieldOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FieldOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_FieldOptions_serialize(const google_protobuf_FieldOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FieldOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_FieldOptions_serialize_ex(const google_protobuf_FieldOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FieldOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_FieldOptions_clear_ctype(google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {1, 4, 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FieldOptions_ctype(const google_protobuf_FieldOptions* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 4, 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldOptions_has_ctype(const google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {1, 4, 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldOptions_clear_packed(google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FieldOptions_packed(const google_protobuf_FieldOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldOptions_has_packed(const google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldOptions_clear_deprecated(google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {3, 9, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FieldOptions_deprecated(const google_protobuf_FieldOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldOptions_has_deprecated(const google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {3, 9, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldOptions_clear_lazy(google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {5, 10, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FieldOptions_lazy(const google_protobuf_FieldOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 10, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldOptions_has_lazy(const google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {5, 10, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldOptions_clear_jstype(google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {6, 12, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FieldOptions_jstype(const google_protobuf_FieldOptions* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {6, 12, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldOptions_has_jstype(const google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {6, 12, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldOptions_clear_weak(google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {10, 16, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FieldOptions_weak(const google_protobuf_FieldOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {10, 16, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldOptions_has_weak(const google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {10, 16, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldOptions_clear_unverified_lazy(google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {15, 17, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FieldOptions_unverified_lazy(const google_protobuf_FieldOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {15, 17, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldOptions_has_unverified_lazy(const google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {15, 17, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldOptions_clear_debug_redact(google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {16, 18, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_FieldOptions_debug_redact(const google_protobuf_FieldOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {16, 18, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldOptions_has_debug_redact(const google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {16, 18, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldOptions_clear_retention(google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {17, 20, 9, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FieldOptions_retention(const google_protobuf_FieldOptions* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {17, 20, 9, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldOptions_has_retention(const google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {17, 20, 9, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldOptions_clear_targets(google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t const* google_protobuf_FieldOptions_targets(const google_protobuf_FieldOptions* msg, size_t* size) { + const upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_targets_upb_array(const google_protobuf_FieldOptions* msg, size_t* size) { + const upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_FieldOptions_targets_mutable_upb_array(const google_protobuf_FieldOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_FieldOptions_has_targets(const google_protobuf_FieldOptions* msg) { + size_t size; + google_protobuf_FieldOptions_targets(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_FieldOptions_clear_edition_defaults(google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FieldOptions_EditionDefault* const* google_protobuf_FieldOptions_edition_defaults(const google_protobuf_FieldOptions* msg, size_t* size) { + const upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_FieldOptions_EditionDefault* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_edition_defaults_upb_array(const google_protobuf_FieldOptions* msg, size_t* size) { + const upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_FieldOptions_edition_defaults_mutable_upb_array(const google_protobuf_FieldOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_FieldOptions_has_edition_defaults(const google_protobuf_FieldOptions* msg) { + size_t size; + google_protobuf_FieldOptions_edition_defaults(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_FieldOptions_clear_features(google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {21, UPB_SIZE(32, 40), 10, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_FieldOptions_features(const google_protobuf_FieldOptions* msg) { + const google_protobuf_FeatureSet* default_val = NULL; + const google_protobuf_FeatureSet* ret; + const upb_MiniTableField field = {21, UPB_SIZE(32, 40), 10, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldOptions_has_features(const google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {21, UPB_SIZE(32, 40), 10, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldOptions_clear_uninterpreted_option(google_protobuf_FieldOptions* msg) { + const upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_FieldOptions_uninterpreted_option(const google_protobuf_FieldOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_uninterpreted_option_upb_array(const google_protobuf_FieldOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_FieldOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_FieldOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_FieldOptions_has_uninterpreted_option(const google_protobuf_FieldOptions* msg) { + size_t size; + google_protobuf_FieldOptions_uninterpreted_option(msg, &size); + return size != 0; +} + +UPB_INLINE void google_protobuf_FieldOptions_set_ctype(google_protobuf_FieldOptions *msg, int32_t value) { + const upb_MiniTableField field = {1, 4, 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldOptions_set_packed(google_protobuf_FieldOptions *msg, bool value) { + const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldOptions_set_deprecated(google_protobuf_FieldOptions *msg, bool value) { + const upb_MiniTableField field = {3, 9, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldOptions_set_lazy(google_protobuf_FieldOptions *msg, bool value) { + const upb_MiniTableField field = {5, 10, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldOptions_set_jstype(google_protobuf_FieldOptions *msg, int32_t value) { + const upb_MiniTableField field = {6, 12, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldOptions_set_weak(google_protobuf_FieldOptions *msg, bool value) { + const upb_MiniTableField field = {10, 16, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldOptions_set_unverified_lazy(google_protobuf_FieldOptions *msg, bool value) { + const upb_MiniTableField field = {15, 17, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldOptions_set_debug_redact(google_protobuf_FieldOptions *msg, bool value) { + const upb_MiniTableField field = {16, 18, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldOptions_set_retention(google_protobuf_FieldOptions *msg, int32_t value) { + const upb_MiniTableField field = {17, 20, 9, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE int32_t* google_protobuf_FieldOptions_mutable_targets(google_protobuf_FieldOptions* msg, size_t* size) { + upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE int32_t* google_protobuf_FieldOptions_resize_targets(google_protobuf_FieldOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool google_protobuf_FieldOptions_add_targets(google_protobuf_FieldOptions* msg, int32_t val, upb_Arena* arena) { + upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE google_protobuf_FieldOptions_EditionDefault** google_protobuf_FieldOptions_mutable_edition_defaults(google_protobuf_FieldOptions* msg, size_t* size) { + upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_FieldOptions_EditionDefault**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_FieldOptions_EditionDefault** google_protobuf_FieldOptions_resize_edition_defaults(google_protobuf_FieldOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_FieldOptions_EditionDefault**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_FieldOptions_EditionDefault* google_protobuf_FieldOptions_add_edition_defaults(google_protobuf_FieldOptions* msg, upb_Arena* arena) { + upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_FieldOptions_EditionDefault* sub = (struct google_protobuf_FieldOptions_EditionDefault*)_upb_Message_New(&google__protobuf__FieldOptions__EditionDefault_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void google_protobuf_FieldOptions_set_features(google_protobuf_FieldOptions *msg, google_protobuf_FeatureSet* value) { + const upb_MiniTableField field = {21, UPB_SIZE(32, 40), 10, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FieldOptions_mutable_features(google_protobuf_FieldOptions* msg, upb_Arena* arena) { + struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FieldOptions_features(msg); + if (sub == NULL) { + sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google__protobuf__FeatureSet_msg_init, arena); + if (sub) google_protobuf_FieldOptions_set_features(msg, sub); + } + return sub; +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FieldOptions_mutable_uninterpreted_option(google_protobuf_FieldOptions* msg, size_t* size) { + upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FieldOptions_resize_uninterpreted_option(google_protobuf_FieldOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_FieldOptions_add_uninterpreted_option(google_protobuf_FieldOptions* msg, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google__protobuf__UninterpretedOption_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* google.protobuf.FieldOptions.EditionDefault */ + +UPB_INLINE google_protobuf_FieldOptions_EditionDefault* google_protobuf_FieldOptions_EditionDefault_new(upb_Arena* arena) { + return (google_protobuf_FieldOptions_EditionDefault*)_upb_Message_New(&google__protobuf__FieldOptions__EditionDefault_msg_init, arena); +} +UPB_INLINE google_protobuf_FieldOptions_EditionDefault* google_protobuf_FieldOptions_EditionDefault_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_FieldOptions_EditionDefault* ret = google_protobuf_FieldOptions_EditionDefault_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FieldOptions__EditionDefault_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_FieldOptions_EditionDefault* google_protobuf_FieldOptions_EditionDefault_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_FieldOptions_EditionDefault* ret = google_protobuf_FieldOptions_EditionDefault_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FieldOptions__EditionDefault_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_FieldOptions_EditionDefault_serialize(const google_protobuf_FieldOptions_EditionDefault* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FieldOptions__EditionDefault_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_FieldOptions_EditionDefault_serialize_ex(const google_protobuf_FieldOptions_EditionDefault* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FieldOptions__EditionDefault_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_FieldOptions_EditionDefault_clear_value(google_protobuf_FieldOptions_EditionDefault* msg) { + const upb_MiniTableField field = {2, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_FieldOptions_EditionDefault_value(const google_protobuf_FieldOptions_EditionDefault* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldOptions_EditionDefault_has_value(const google_protobuf_FieldOptions_EditionDefault* msg) { + const upb_MiniTableField field = {2, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FieldOptions_EditionDefault_clear_edition(google_protobuf_FieldOptions_EditionDefault* msg) { + const upb_MiniTableField field = {3, 4, 2, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FieldOptions_EditionDefault_edition(const google_protobuf_FieldOptions_EditionDefault* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, 4, 2, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FieldOptions_EditionDefault_has_edition(const google_protobuf_FieldOptions_EditionDefault* msg) { + const upb_MiniTableField field = {3, 4, 2, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_FieldOptions_EditionDefault_set_value(google_protobuf_FieldOptions_EditionDefault *msg, upb_StringView value) { + const upb_MiniTableField field = {2, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FieldOptions_EditionDefault_set_edition(google_protobuf_FieldOptions_EditionDefault *msg, int32_t value) { + const upb_MiniTableField field = {3, 4, 2, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.protobuf.OneofOptions */ + +UPB_INLINE google_protobuf_OneofOptions* google_protobuf_OneofOptions_new(upb_Arena* arena) { + return (google_protobuf_OneofOptions*)_upb_Message_New(&google__protobuf__OneofOptions_msg_init, arena); +} +UPB_INLINE google_protobuf_OneofOptions* google_protobuf_OneofOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_OneofOptions* ret = google_protobuf_OneofOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__OneofOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_OneofOptions* google_protobuf_OneofOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_OneofOptions* ret = google_protobuf_OneofOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__OneofOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_OneofOptions_serialize(const google_protobuf_OneofOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__OneofOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_OneofOptions_serialize_ex(const google_protobuf_OneofOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__OneofOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_OneofOptions_clear_features(google_protobuf_OneofOptions* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_OneofOptions_features(const google_protobuf_OneofOptions* msg) { + const google_protobuf_FeatureSet* default_val = NULL; + const google_protobuf_FeatureSet* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_OneofOptions_has_features(const google_protobuf_OneofOptions* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_OneofOptions_clear_uninterpreted_option(google_protobuf_OneofOptions* msg) { + const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_OneofOptions_uninterpreted_option(const google_protobuf_OneofOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_OneofOptions_uninterpreted_option_upb_array(const google_protobuf_OneofOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_OneofOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_OneofOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_OneofOptions_has_uninterpreted_option(const google_protobuf_OneofOptions* msg) { + size_t size; + google_protobuf_OneofOptions_uninterpreted_option(msg, &size); + return size != 0; +} + +UPB_INLINE void google_protobuf_OneofOptions_set_features(google_protobuf_OneofOptions *msg, google_protobuf_FeatureSet* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_OneofOptions_mutable_features(google_protobuf_OneofOptions* msg, upb_Arena* arena) { + struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_OneofOptions_features(msg); + if (sub == NULL) { + sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google__protobuf__FeatureSet_msg_init, arena); + if (sub) google_protobuf_OneofOptions_set_features(msg, sub); + } + return sub; +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_OneofOptions_mutable_uninterpreted_option(google_protobuf_OneofOptions* msg, size_t* size) { + upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_OneofOptions_resize_uninterpreted_option(google_protobuf_OneofOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_OneofOptions_add_uninterpreted_option(google_protobuf_OneofOptions* msg, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google__protobuf__UninterpretedOption_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* google.protobuf.EnumOptions */ + +UPB_INLINE google_protobuf_EnumOptions* google_protobuf_EnumOptions_new(upb_Arena* arena) { + return (google_protobuf_EnumOptions*)_upb_Message_New(&google__protobuf__EnumOptions_msg_init, arena); +} +UPB_INLINE google_protobuf_EnumOptions* google_protobuf_EnumOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_EnumOptions* ret = google_protobuf_EnumOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__EnumOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_EnumOptions* google_protobuf_EnumOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_EnumOptions* ret = google_protobuf_EnumOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__EnumOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_EnumOptions_serialize(const google_protobuf_EnumOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__EnumOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_EnumOptions_serialize_ex(const google_protobuf_EnumOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__EnumOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_EnumOptions_clear_allow_alias(google_protobuf_EnumOptions* msg) { + const upb_MiniTableField field = {2, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_EnumOptions_allow_alias(const google_protobuf_EnumOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumOptions_has_allow_alias(const google_protobuf_EnumOptions* msg) { + const upb_MiniTableField field = {2, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_EnumOptions_clear_deprecated(google_protobuf_EnumOptions* msg) { + const upb_MiniTableField field = {3, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_EnumOptions_deprecated(const google_protobuf_EnumOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumOptions_has_deprecated(const google_protobuf_EnumOptions* msg) { + const upb_MiniTableField field = {3, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_EnumOptions_clear_deprecated_legacy_json_field_conflicts(google_protobuf_EnumOptions* msg) { + const upb_MiniTableField field = {6, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_EnumOptions_deprecated_legacy_json_field_conflicts(const google_protobuf_EnumOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumOptions_has_deprecated_legacy_json_field_conflicts(const google_protobuf_EnumOptions* msg) { + const upb_MiniTableField field = {6, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_EnumOptions_clear_features(google_protobuf_EnumOptions* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_EnumOptions_features(const google_protobuf_EnumOptions* msg) { + const google_protobuf_FeatureSet* default_val = NULL; + const google_protobuf_FeatureSet* ret; + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumOptions_has_features(const google_protobuf_EnumOptions* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_EnumOptions_clear_uninterpreted_option(google_protobuf_EnumOptions* msg) { + const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_EnumOptions_uninterpreted_option(const google_protobuf_EnumOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_EnumOptions_uninterpreted_option_upb_array(const google_protobuf_EnumOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_EnumOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_EnumOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_EnumOptions_has_uninterpreted_option(const google_protobuf_EnumOptions* msg) { + size_t size; + google_protobuf_EnumOptions_uninterpreted_option(msg, &size); + return size != 0; +} + +UPB_INLINE void google_protobuf_EnumOptions_set_allow_alias(google_protobuf_EnumOptions *msg, bool value) { + const upb_MiniTableField field = {2, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_EnumOptions_set_deprecated(google_protobuf_EnumOptions *msg, bool value) { + const upb_MiniTableField field = {3, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_EnumOptions_set_deprecated_legacy_json_field_conflicts(google_protobuf_EnumOptions *msg, bool value) { + const upb_MiniTableField field = {6, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_EnumOptions_set_features(google_protobuf_EnumOptions *msg, google_protobuf_FeatureSet* value) { + const upb_MiniTableField field = {7, UPB_SIZE(4, 8), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_EnumOptions_mutable_features(google_protobuf_EnumOptions* msg, upb_Arena* arena) { + struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_EnumOptions_features(msg); + if (sub == NULL) { + sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google__protobuf__FeatureSet_msg_init, arena); + if (sub) google_protobuf_EnumOptions_set_features(msg, sub); + } + return sub; +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumOptions_mutable_uninterpreted_option(google_protobuf_EnumOptions* msg, size_t* size) { + upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumOptions_resize_uninterpreted_option(google_protobuf_EnumOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_EnumOptions_add_uninterpreted_option(google_protobuf_EnumOptions* msg, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google__protobuf__UninterpretedOption_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* google.protobuf.EnumValueOptions */ + +UPB_INLINE google_protobuf_EnumValueOptions* google_protobuf_EnumValueOptions_new(upb_Arena* arena) { + return (google_protobuf_EnumValueOptions*)_upb_Message_New(&google__protobuf__EnumValueOptions_msg_init, arena); +} +UPB_INLINE google_protobuf_EnumValueOptions* google_protobuf_EnumValueOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_EnumValueOptions* ret = google_protobuf_EnumValueOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__EnumValueOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_EnumValueOptions* google_protobuf_EnumValueOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_EnumValueOptions* ret = google_protobuf_EnumValueOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__EnumValueOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_EnumValueOptions_serialize(const google_protobuf_EnumValueOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__EnumValueOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_EnumValueOptions_serialize_ex(const google_protobuf_EnumValueOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__EnumValueOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_EnumValueOptions_clear_deprecated(google_protobuf_EnumValueOptions* msg) { + const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_EnumValueOptions_deprecated(const google_protobuf_EnumValueOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumValueOptions_has_deprecated(const google_protobuf_EnumValueOptions* msg) { + const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_EnumValueOptions_clear_features(google_protobuf_EnumValueOptions* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_EnumValueOptions_features(const google_protobuf_EnumValueOptions* msg) { + const google_protobuf_FeatureSet* default_val = NULL; + const google_protobuf_FeatureSet* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumValueOptions_has_features(const google_protobuf_EnumValueOptions* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_EnumValueOptions_clear_debug_redact(google_protobuf_EnumValueOptions* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 2), 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_EnumValueOptions_debug_redact(const google_protobuf_EnumValueOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 2), 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_EnumValueOptions_has_debug_redact(const google_protobuf_EnumValueOptions* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 2), 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_EnumValueOptions_clear_uninterpreted_option(google_protobuf_EnumValueOptions* msg) { + const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_EnumValueOptions_uninterpreted_option(const google_protobuf_EnumValueOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_option_upb_array(const google_protobuf_EnumValueOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_EnumValueOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_EnumValueOptions_has_uninterpreted_option(const google_protobuf_EnumValueOptions* msg) { + size_t size; + google_protobuf_EnumValueOptions_uninterpreted_option(msg, &size); + return size != 0; +} + +UPB_INLINE void google_protobuf_EnumValueOptions_set_deprecated(google_protobuf_EnumValueOptions *msg, bool value) { + const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_EnumValueOptions_set_features(google_protobuf_EnumValueOptions *msg, google_protobuf_FeatureSet* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_EnumValueOptions_mutable_features(google_protobuf_EnumValueOptions* msg, upb_Arena* arena) { + struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_EnumValueOptions_features(msg); + if (sub == NULL) { + sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google__protobuf__FeatureSet_msg_init, arena); + if (sub) google_protobuf_EnumValueOptions_set_features(msg, sub); + } + return sub; +} +UPB_INLINE void google_protobuf_EnumValueOptions_set_debug_redact(google_protobuf_EnumValueOptions *msg, bool value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 2), 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOptions_mutable_uninterpreted_option(google_protobuf_EnumValueOptions* msg, size_t* size) { + upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOptions_resize_uninterpreted_option(google_protobuf_EnumValueOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_EnumValueOptions_add_uninterpreted_option(google_protobuf_EnumValueOptions* msg, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google__protobuf__UninterpretedOption_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* google.protobuf.ServiceOptions */ + +UPB_INLINE google_protobuf_ServiceOptions* google_protobuf_ServiceOptions_new(upb_Arena* arena) { + return (google_protobuf_ServiceOptions*)_upb_Message_New(&google__protobuf__ServiceOptions_msg_init, arena); +} +UPB_INLINE google_protobuf_ServiceOptions* google_protobuf_ServiceOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_ServiceOptions* ret = google_protobuf_ServiceOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__ServiceOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_ServiceOptions* google_protobuf_ServiceOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_ServiceOptions* ret = google_protobuf_ServiceOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__ServiceOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_ServiceOptions_serialize(const google_protobuf_ServiceOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__ServiceOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_ServiceOptions_serialize_ex(const google_protobuf_ServiceOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__ServiceOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_ServiceOptions_clear_deprecated(google_protobuf_ServiceOptions* msg) { + const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_ServiceOptions_deprecated(const google_protobuf_ServiceOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_ServiceOptions_has_deprecated(const google_protobuf_ServiceOptions* msg) { + const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_ServiceOptions_clear_features(google_protobuf_ServiceOptions* msg) { + const upb_MiniTableField field = {34, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_ServiceOptions_features(const google_protobuf_ServiceOptions* msg) { + const google_protobuf_FeatureSet* default_val = NULL; + const google_protobuf_FeatureSet* ret; + const upb_MiniTableField field = {34, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_ServiceOptions_has_features(const google_protobuf_ServiceOptions* msg) { + const upb_MiniTableField field = {34, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_ServiceOptions_clear_uninterpreted_option(google_protobuf_ServiceOptions* msg) { + const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_ServiceOptions_uninterpreted_option(const google_protobuf_ServiceOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_ServiceOptions_uninterpreted_option_upb_array(const google_protobuf_ServiceOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_ServiceOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_ServiceOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_ServiceOptions_has_uninterpreted_option(const google_protobuf_ServiceOptions* msg) { + size_t size; + google_protobuf_ServiceOptions_uninterpreted_option(msg, &size); + return size != 0; +} + +UPB_INLINE void google_protobuf_ServiceOptions_set_deprecated(google_protobuf_ServiceOptions *msg, bool value) { + const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_ServiceOptions_set_features(google_protobuf_ServiceOptions *msg, google_protobuf_FeatureSet* value) { + const upb_MiniTableField field = {34, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_ServiceOptions_mutable_features(google_protobuf_ServiceOptions* msg, upb_Arena* arena) { + struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_ServiceOptions_features(msg); + if (sub == NULL) { + sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google__protobuf__FeatureSet_msg_init, arena); + if (sub) google_protobuf_ServiceOptions_set_features(msg, sub); + } + return sub; +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_ServiceOptions_mutable_uninterpreted_option(google_protobuf_ServiceOptions* msg, size_t* size) { + upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_ServiceOptions_resize_uninterpreted_option(google_protobuf_ServiceOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_ServiceOptions_add_uninterpreted_option(google_protobuf_ServiceOptions* msg, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google__protobuf__UninterpretedOption_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* google.protobuf.MethodOptions */ + +UPB_INLINE google_protobuf_MethodOptions* google_protobuf_MethodOptions_new(upb_Arena* arena) { + return (google_protobuf_MethodOptions*)_upb_Message_New(&google__protobuf__MethodOptions_msg_init, arena); +} +UPB_INLINE google_protobuf_MethodOptions* google_protobuf_MethodOptions_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_MethodOptions* ret = google_protobuf_MethodOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__MethodOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_MethodOptions* google_protobuf_MethodOptions_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_MethodOptions* ret = google_protobuf_MethodOptions_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__MethodOptions_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_MethodOptions_serialize(const google_protobuf_MethodOptions* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__MethodOptions_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_MethodOptions_serialize_ex(const google_protobuf_MethodOptions* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__MethodOptions_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_MethodOptions_clear_deprecated(google_protobuf_MethodOptions* msg) { + const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_MethodOptions_deprecated(const google_protobuf_MethodOptions* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MethodOptions_has_deprecated(const google_protobuf_MethodOptions* msg) { + const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MethodOptions_clear_idempotency_level(google_protobuf_MethodOptions* msg) { + const upb_MiniTableField field = {34, 4, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_MethodOptions_idempotency_level(const google_protobuf_MethodOptions* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {34, 4, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MethodOptions_has_idempotency_level(const google_protobuf_MethodOptions* msg) { + const upb_MiniTableField field = {34, 4, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MethodOptions_clear_features(google_protobuf_MethodOptions* msg) { + const upb_MiniTableField field = {35, 8, 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_MethodOptions_features(const google_protobuf_MethodOptions* msg) { + const google_protobuf_FeatureSet* default_val = NULL; + const google_protobuf_FeatureSet* ret; + const upb_MiniTableField field = {35, 8, 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_MethodOptions_has_features(const google_protobuf_MethodOptions* msg) { + const upb_MiniTableField field = {35, 8, 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_MethodOptions_clear_uninterpreted_option(google_protobuf_MethodOptions* msg) { + const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_MethodOptions_uninterpreted_option(const google_protobuf_MethodOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_MethodOptions_uninterpreted_option_upb_array(const google_protobuf_MethodOptions* msg, size_t* size) { + const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_MethodOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_MethodOptions* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_MethodOptions_has_uninterpreted_option(const google_protobuf_MethodOptions* msg) { + size_t size; + google_protobuf_MethodOptions_uninterpreted_option(msg, &size); + return size != 0; +} + +UPB_INLINE void google_protobuf_MethodOptions_set_deprecated(google_protobuf_MethodOptions *msg, bool value) { + const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_MethodOptions_set_idempotency_level(google_protobuf_MethodOptions *msg, int32_t value) { + const upb_MiniTableField field = {34, 4, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_MethodOptions_set_features(google_protobuf_MethodOptions *msg, google_protobuf_FeatureSet* value) { + const upb_MiniTableField field = {35, 8, 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_MethodOptions_mutable_features(google_protobuf_MethodOptions* msg, upb_Arena* arena) { + struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_MethodOptions_features(msg); + if (sub == NULL) { + sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google__protobuf__FeatureSet_msg_init, arena); + if (sub) google_protobuf_MethodOptions_set_features(msg, sub); + } + return sub; +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_MethodOptions_mutable_uninterpreted_option(google_protobuf_MethodOptions* msg, size_t* size) { + upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_MethodOptions_resize_uninterpreted_option(google_protobuf_MethodOptions* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_MethodOptions_add_uninterpreted_option(google_protobuf_MethodOptions* msg, upb_Arena* arena) { + upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google__protobuf__UninterpretedOption_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* google.protobuf.UninterpretedOption */ + +UPB_INLINE google_protobuf_UninterpretedOption* google_protobuf_UninterpretedOption_new(upb_Arena* arena) { + return (google_protobuf_UninterpretedOption*)_upb_Message_New(&google__protobuf__UninterpretedOption_msg_init, arena); +} +UPB_INLINE google_protobuf_UninterpretedOption* google_protobuf_UninterpretedOption_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_UninterpretedOption* ret = google_protobuf_UninterpretedOption_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__UninterpretedOption_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_UninterpretedOption* google_protobuf_UninterpretedOption_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_UninterpretedOption* ret = google_protobuf_UninterpretedOption_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__UninterpretedOption_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_UninterpretedOption_serialize(const google_protobuf_UninterpretedOption* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__UninterpretedOption_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_UninterpretedOption_serialize_ex(const google_protobuf_UninterpretedOption* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__UninterpretedOption_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_UninterpretedOption_clear_name(google_protobuf_UninterpretedOption* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_UninterpretedOption_NamePart* const* google_protobuf_UninterpretedOption_name(const google_protobuf_UninterpretedOption* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_UninterpretedOption_NamePart* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_UninterpretedOption_name_upb_array(const google_protobuf_UninterpretedOption* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_UninterpretedOption_name_mutable_upb_array(const google_protobuf_UninterpretedOption* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_UninterpretedOption_has_name(const google_protobuf_UninterpretedOption* msg) { + size_t size; + google_protobuf_UninterpretedOption_name(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_UninterpretedOption_clear_identifier_value(google_protobuf_UninterpretedOption* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_identifier_value(const google_protobuf_UninterpretedOption* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_UninterpretedOption_has_identifier_value(const google_protobuf_UninterpretedOption* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_UninterpretedOption_clear_positive_int_value(google_protobuf_UninterpretedOption* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE uint64_t google_protobuf_UninterpretedOption_positive_int_value(const google_protobuf_UninterpretedOption* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_UninterpretedOption_has_positive_int_value(const google_protobuf_UninterpretedOption* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_UninterpretedOption_clear_negative_int_value(google_protobuf_UninterpretedOption* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 3, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int64_t google_protobuf_UninterpretedOption_negative_int_value(const google_protobuf_UninterpretedOption* msg) { + int64_t default_val = (int64_t)0ll; + int64_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 3, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_UninterpretedOption_has_negative_int_value(const google_protobuf_UninterpretedOption* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 3, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_UninterpretedOption_clear_double_value(google_protobuf_UninterpretedOption* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 4, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE double google_protobuf_UninterpretedOption_double_value(const google_protobuf_UninterpretedOption* msg) { + double default_val = 0; + double ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 4, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_UninterpretedOption_has_double_value(const google_protobuf_UninterpretedOption* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 4, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_UninterpretedOption_clear_string_value(google_protobuf_UninterpretedOption* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(40, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_string_value(const google_protobuf_UninterpretedOption* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {7, UPB_SIZE(40, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_UninterpretedOption_has_string_value(const google_protobuf_UninterpretedOption* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(40, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_UninterpretedOption_clear_aggregate_value(google_protobuf_UninterpretedOption* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_aggregate_value(const google_protobuf_UninterpretedOption* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_UninterpretedOption_has_aggregate_value(const google_protobuf_UninterpretedOption* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE google_protobuf_UninterpretedOption_NamePart** google_protobuf_UninterpretedOption_mutable_name(google_protobuf_UninterpretedOption* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_UninterpretedOption_NamePart**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_UninterpretedOption_NamePart** google_protobuf_UninterpretedOption_resize_name(google_protobuf_UninterpretedOption* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_UninterpretedOption_NamePart**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_UninterpretedOption_NamePart* google_protobuf_UninterpretedOption_add_name(google_protobuf_UninterpretedOption* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_UninterpretedOption_NamePart* sub = (struct google_protobuf_UninterpretedOption_NamePart*)_upb_Message_New(&google__protobuf__UninterpretedOption__NamePart_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void google_protobuf_UninterpretedOption_set_identifier_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_UninterpretedOption_set_positive_int_value(google_protobuf_UninterpretedOption *msg, uint64_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_UninterpretedOption_set_negative_int_value(google_protobuf_UninterpretedOption *msg, int64_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 3, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_UninterpretedOption_set_double_value(google_protobuf_UninterpretedOption *msg, double value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 4, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_UninterpretedOption_set_string_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) { + const upb_MiniTableField field = {7, UPB_SIZE(40, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_UninterpretedOption_set_aggregate_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) { + const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.protobuf.UninterpretedOption.NamePart */ + +UPB_INLINE google_protobuf_UninterpretedOption_NamePart* google_protobuf_UninterpretedOption_NamePart_new(upb_Arena* arena) { + return (google_protobuf_UninterpretedOption_NamePart*)_upb_Message_New(&google__protobuf__UninterpretedOption__NamePart_msg_init, arena); +} +UPB_INLINE google_protobuf_UninterpretedOption_NamePart* google_protobuf_UninterpretedOption_NamePart_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_UninterpretedOption_NamePart* ret = google_protobuf_UninterpretedOption_NamePart_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__UninterpretedOption__NamePart_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_UninterpretedOption_NamePart* google_protobuf_UninterpretedOption_NamePart_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_UninterpretedOption_NamePart* ret = google_protobuf_UninterpretedOption_NamePart_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__UninterpretedOption__NamePart_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_UninterpretedOption_NamePart_serialize(const google_protobuf_UninterpretedOption_NamePart* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__UninterpretedOption__NamePart_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_UninterpretedOption_NamePart_serialize_ex(const google_protobuf_UninterpretedOption_NamePart* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__UninterpretedOption__NamePart_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_clear_name_part(google_protobuf_UninterpretedOption_NamePart* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_NamePart_name_part(const google_protobuf_UninterpretedOption_NamePart* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_has_name_part(const google_protobuf_UninterpretedOption_NamePart* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_clear_is_extension(google_protobuf_UninterpretedOption_NamePart* msg) { + const upb_MiniTableField field = {2, 1, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_is_extension(const google_protobuf_UninterpretedOption_NamePart* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 1, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_has_is_extension(const google_protobuf_UninterpretedOption_NamePart* msg) { + const upb_MiniTableField field = {2, 1, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_set_name_part(google_protobuf_UninterpretedOption_NamePart *msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_set_is_extension(google_protobuf_UninterpretedOption_NamePart *msg, bool value) { + const upb_MiniTableField field = {2, 1, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.protobuf.FeatureSet */ + +UPB_INLINE google_protobuf_FeatureSet* google_protobuf_FeatureSet_new(upb_Arena* arena) { + return (google_protobuf_FeatureSet*)_upb_Message_New(&google__protobuf__FeatureSet_msg_init, arena); +} +UPB_INLINE google_protobuf_FeatureSet* google_protobuf_FeatureSet_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_FeatureSet* ret = google_protobuf_FeatureSet_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FeatureSet_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_FeatureSet* google_protobuf_FeatureSet_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_FeatureSet* ret = google_protobuf_FeatureSet_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FeatureSet_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_FeatureSet_serialize(const google_protobuf_FeatureSet* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FeatureSet_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_FeatureSet_serialize_ex(const google_protobuf_FeatureSet* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FeatureSet_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_FeatureSet_clear_field_presence(google_protobuf_FeatureSet* msg) { + const upb_MiniTableField field = {1, 4, 1, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FeatureSet_field_presence(const google_protobuf_FeatureSet* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 4, 1, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FeatureSet_has_field_presence(const google_protobuf_FeatureSet* msg) { + const upb_MiniTableField field = {1, 4, 1, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FeatureSet_clear_enum_type(google_protobuf_FeatureSet* msg) { + const upb_MiniTableField field = {2, 8, 2, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FeatureSet_enum_type(const google_protobuf_FeatureSet* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, 8, 2, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FeatureSet_has_enum_type(const google_protobuf_FeatureSet* msg) { + const upb_MiniTableField field = {2, 8, 2, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FeatureSet_clear_repeated_field_encoding(google_protobuf_FeatureSet* msg) { + const upb_MiniTableField field = {3, 12, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FeatureSet_repeated_field_encoding(const google_protobuf_FeatureSet* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, 12, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FeatureSet_has_repeated_field_encoding(const google_protobuf_FeatureSet* msg) { + const upb_MiniTableField field = {3, 12, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FeatureSet_clear_utf8_validation(google_protobuf_FeatureSet* msg) { + const upb_MiniTableField field = {4, 16, 4, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FeatureSet_utf8_validation(const google_protobuf_FeatureSet* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {4, 16, 4, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FeatureSet_has_utf8_validation(const google_protobuf_FeatureSet* msg) { + const upb_MiniTableField field = {4, 16, 4, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FeatureSet_clear_message_encoding(google_protobuf_FeatureSet* msg) { + const upb_MiniTableField field = {5, 20, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FeatureSet_message_encoding(const google_protobuf_FeatureSet* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {5, 20, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FeatureSet_has_message_encoding(const google_protobuf_FeatureSet* msg) { + const upb_MiniTableField field = {5, 20, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FeatureSet_clear_json_format(google_protobuf_FeatureSet* msg) { + const upb_MiniTableField field = {6, 24, 6, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FeatureSet_json_format(const google_protobuf_FeatureSet* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {6, 24, 6, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FeatureSet_has_json_format(const google_protobuf_FeatureSet* msg) { + const upb_MiniTableField field = {6, 24, 6, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_FeatureSet_set_field_presence(google_protobuf_FeatureSet *msg, int32_t value) { + const upb_MiniTableField field = {1, 4, 1, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FeatureSet_set_enum_type(google_protobuf_FeatureSet *msg, int32_t value) { + const upb_MiniTableField field = {2, 8, 2, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FeatureSet_set_repeated_field_encoding(google_protobuf_FeatureSet *msg, int32_t value) { + const upb_MiniTableField field = {3, 12, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FeatureSet_set_utf8_validation(google_protobuf_FeatureSet *msg, int32_t value) { + const upb_MiniTableField field = {4, 16, 4, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FeatureSet_set_message_encoding(google_protobuf_FeatureSet *msg, int32_t value) { + const upb_MiniTableField field = {5, 20, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FeatureSet_set_json_format(google_protobuf_FeatureSet *msg, int32_t value) { + const upb_MiniTableField field = {6, 24, 6, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.protobuf.FeatureSetDefaults */ + +UPB_INLINE google_protobuf_FeatureSetDefaults* google_protobuf_FeatureSetDefaults_new(upb_Arena* arena) { + return (google_protobuf_FeatureSetDefaults*)_upb_Message_New(&google__protobuf__FeatureSetDefaults_msg_init, arena); +} +UPB_INLINE google_protobuf_FeatureSetDefaults* google_protobuf_FeatureSetDefaults_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_FeatureSetDefaults* ret = google_protobuf_FeatureSetDefaults_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FeatureSetDefaults_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_FeatureSetDefaults* google_protobuf_FeatureSetDefaults_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_FeatureSetDefaults* ret = google_protobuf_FeatureSetDefaults_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FeatureSetDefaults_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_FeatureSetDefaults_serialize(const google_protobuf_FeatureSetDefaults* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FeatureSetDefaults_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_FeatureSetDefaults_serialize_ex(const google_protobuf_FeatureSetDefaults* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FeatureSetDefaults_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_FeatureSetDefaults_clear_defaults(google_protobuf_FeatureSetDefaults* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* const* google_protobuf_FeatureSetDefaults_defaults(const google_protobuf_FeatureSetDefaults* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_FeatureSetDefaults_defaults_upb_array(const google_protobuf_FeatureSetDefaults* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_FeatureSetDefaults_defaults_mutable_upb_array(const google_protobuf_FeatureSetDefaults* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_FeatureSetDefaults_has_defaults(const google_protobuf_FeatureSetDefaults* msg) { + size_t size; + google_protobuf_FeatureSetDefaults_defaults(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_FeatureSetDefaults_clear_minimum_edition(google_protobuf_FeatureSetDefaults* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 4), 1, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FeatureSetDefaults_minimum_edition(const google_protobuf_FeatureSetDefaults* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(8, 4), 1, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FeatureSetDefaults_has_minimum_edition(const google_protobuf_FeatureSetDefaults* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 4), 1, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FeatureSetDefaults_clear_maximum_edition(google_protobuf_FeatureSetDefaults* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 8), 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FeatureSetDefaults_maximum_edition(const google_protobuf_FeatureSetDefaults* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(12, 8), 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FeatureSetDefaults_has_maximum_edition(const google_protobuf_FeatureSetDefaults* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 8), 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault** google_protobuf_FeatureSetDefaults_mutable_defaults(google_protobuf_FeatureSetDefaults* msg, size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault** google_protobuf_FeatureSetDefaults_resize_defaults(google_protobuf_FeatureSetDefaults* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* google_protobuf_FeatureSetDefaults_add_defaults(google_protobuf_FeatureSetDefaults* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* sub = (struct google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault*)_upb_Message_New(&google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void google_protobuf_FeatureSetDefaults_set_minimum_edition(google_protobuf_FeatureSetDefaults *msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(8, 4), 1, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_FeatureSetDefaults_set_maximum_edition(google_protobuf_FeatureSetDefaults *msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 8), 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault */ + +UPB_INLINE google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_new(upb_Arena* arena) { + return (google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault*)_upb_Message_New(&google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init, arena); +} +UPB_INLINE google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* ret = google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* ret = google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_serialize(const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_serialize_ex(const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_clear_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_features(const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) { + const google_protobuf_FeatureSet* default_val = NULL; + const google_protobuf_FeatureSet* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_has_features(const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_clear_edition(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 2, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_edition(const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 2, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_has_edition(const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 2, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault *msg, google_protobuf_FeatureSet* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_mutable_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg, upb_Arena* arena) { + struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_features(msg); + if (sub == NULL) { + sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google__protobuf__FeatureSet_msg_init, arena); + if (sub) google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_features(msg, sub); + } + return sub; +} +UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_edition(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault *msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 2, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* google.protobuf.SourceCodeInfo */ + +UPB_INLINE google_protobuf_SourceCodeInfo* google_protobuf_SourceCodeInfo_new(upb_Arena* arena) { + return (google_protobuf_SourceCodeInfo*)_upb_Message_New(&google__protobuf__SourceCodeInfo_msg_init, arena); +} +UPB_INLINE google_protobuf_SourceCodeInfo* google_protobuf_SourceCodeInfo_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_SourceCodeInfo* ret = google_protobuf_SourceCodeInfo_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__SourceCodeInfo_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_SourceCodeInfo* google_protobuf_SourceCodeInfo_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_SourceCodeInfo* ret = google_protobuf_SourceCodeInfo_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__SourceCodeInfo_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_SourceCodeInfo_serialize(const google_protobuf_SourceCodeInfo* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__SourceCodeInfo_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_SourceCodeInfo_serialize_ex(const google_protobuf_SourceCodeInfo* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__SourceCodeInfo_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_SourceCodeInfo_clear_location(google_protobuf_SourceCodeInfo* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_SourceCodeInfo_Location* const* google_protobuf_SourceCodeInfo_location(const google_protobuf_SourceCodeInfo* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_SourceCodeInfo_Location* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_SourceCodeInfo_location_upb_array(const google_protobuf_SourceCodeInfo* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_SourceCodeInfo_location_mutable_upb_array(const google_protobuf_SourceCodeInfo* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_SourceCodeInfo_has_location(const google_protobuf_SourceCodeInfo* msg) { + size_t size; + google_protobuf_SourceCodeInfo_location(msg, &size); + return size != 0; +} + +UPB_INLINE google_protobuf_SourceCodeInfo_Location** google_protobuf_SourceCodeInfo_mutable_location(google_protobuf_SourceCodeInfo* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_SourceCodeInfo_Location**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_SourceCodeInfo_Location** google_protobuf_SourceCodeInfo_resize_location(google_protobuf_SourceCodeInfo* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_SourceCodeInfo_Location**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_SourceCodeInfo_Location* google_protobuf_SourceCodeInfo_add_location(google_protobuf_SourceCodeInfo* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_SourceCodeInfo_Location* sub = (struct google_protobuf_SourceCodeInfo_Location*)_upb_Message_New(&google__protobuf__SourceCodeInfo__Location_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* google.protobuf.SourceCodeInfo.Location */ + +UPB_INLINE google_protobuf_SourceCodeInfo_Location* google_protobuf_SourceCodeInfo_Location_new(upb_Arena* arena) { + return (google_protobuf_SourceCodeInfo_Location*)_upb_Message_New(&google__protobuf__SourceCodeInfo__Location_msg_init, arena); +} +UPB_INLINE google_protobuf_SourceCodeInfo_Location* google_protobuf_SourceCodeInfo_Location_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_SourceCodeInfo_Location* ret = google_protobuf_SourceCodeInfo_Location_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__SourceCodeInfo__Location_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_SourceCodeInfo_Location* google_protobuf_SourceCodeInfo_Location_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_SourceCodeInfo_Location* ret = google_protobuf_SourceCodeInfo_Location_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__SourceCodeInfo__Location_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_SourceCodeInfo_Location_serialize(const google_protobuf_SourceCodeInfo_Location* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__SourceCodeInfo__Location_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_SourceCodeInfo_Location_serialize_ex(const google_protobuf_SourceCodeInfo_Location* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__SourceCodeInfo__Location_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_path(google_protobuf_SourceCodeInfo_Location* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t const* google_protobuf_SourceCodeInfo_Location_path(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_SourceCodeInfo_Location_path_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_SourceCodeInfo_Location_path_mutable_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_path(const google_protobuf_SourceCodeInfo_Location* msg) { + size_t size; + google_protobuf_SourceCodeInfo_Location_path(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_span(google_protobuf_SourceCodeInfo_Location* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t const* google_protobuf_SourceCodeInfo_Location_span(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_SourceCodeInfo_Location_span_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_SourceCodeInfo_Location_span_mutable_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_span(const google_protobuf_SourceCodeInfo_Location* msg) { + size_t size; + google_protobuf_SourceCodeInfo_Location_span(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_leading_comments(google_protobuf_SourceCodeInfo_Location* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_SourceCodeInfo_Location_leading_comments(const google_protobuf_SourceCodeInfo_Location* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_leading_comments(const google_protobuf_SourceCodeInfo_Location* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_trailing_comments(google_protobuf_SourceCodeInfo_Location* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_SourceCodeInfo_Location_trailing_comments(const google_protobuf_SourceCodeInfo_Location* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_trailing_comments(const google_protobuf_SourceCodeInfo_Location* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_leading_detached_comments(google_protobuf_SourceCodeInfo_Location* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView const* google_protobuf_SourceCodeInfo_Location_leading_detached_comments(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_SourceCodeInfo_Location_leading_detached_comments_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_SourceCodeInfo_Location_leading_detached_comments_mutable_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_leading_detached_comments(const google_protobuf_SourceCodeInfo_Location* msg) { + size_t size; + google_protobuf_SourceCodeInfo_Location_leading_detached_comments(msg, &size); + return size != 0; +} + +UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_mutable_path(google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_resize_path(google_protobuf_SourceCodeInfo_Location* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_path(google_protobuf_SourceCodeInfo_Location* msg, int32_t val, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_mutable_span(google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_resize_span(google_protobuf_SourceCodeInfo_Location* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_span(google_protobuf_SourceCodeInfo_Location* msg, int32_t val, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_leading_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_trailing_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_StringView value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE upb_StringView* google_protobuf_SourceCodeInfo_Location_mutable_leading_detached_comments(google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (upb_StringView*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE upb_StringView* google_protobuf_SourceCodeInfo_Location_resize_leading_detached_comments(google_protobuf_SourceCodeInfo_Location* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_leading_detached_comments(google_protobuf_SourceCodeInfo_Location* msg, upb_StringView val, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} + +/* google.protobuf.GeneratedCodeInfo */ + +UPB_INLINE google_protobuf_GeneratedCodeInfo* google_protobuf_GeneratedCodeInfo_new(upb_Arena* arena) { + return (google_protobuf_GeneratedCodeInfo*)_upb_Message_New(&google__protobuf__GeneratedCodeInfo_msg_init, arena); +} +UPB_INLINE google_protobuf_GeneratedCodeInfo* google_protobuf_GeneratedCodeInfo_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_GeneratedCodeInfo* ret = google_protobuf_GeneratedCodeInfo_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__GeneratedCodeInfo_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_GeneratedCodeInfo* google_protobuf_GeneratedCodeInfo_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_GeneratedCodeInfo* ret = google_protobuf_GeneratedCodeInfo_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__GeneratedCodeInfo_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_GeneratedCodeInfo_serialize(const google_protobuf_GeneratedCodeInfo* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__GeneratedCodeInfo_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_GeneratedCodeInfo_serialize_ex(const google_protobuf_GeneratedCodeInfo* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__GeneratedCodeInfo_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_GeneratedCodeInfo_clear_annotation(google_protobuf_GeneratedCodeInfo* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_GeneratedCodeInfo_Annotation* const* google_protobuf_GeneratedCodeInfo_annotation(const google_protobuf_GeneratedCodeInfo* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_GeneratedCodeInfo_Annotation* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_GeneratedCodeInfo_annotation_upb_array(const google_protobuf_GeneratedCodeInfo* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_GeneratedCodeInfo_annotation_mutable_upb_array(const google_protobuf_GeneratedCodeInfo* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_GeneratedCodeInfo_has_annotation(const google_protobuf_GeneratedCodeInfo* msg) { + size_t size; + google_protobuf_GeneratedCodeInfo_annotation(msg, &size); + return size != 0; +} + +UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation** google_protobuf_GeneratedCodeInfo_mutable_annotation(google_protobuf_GeneratedCodeInfo* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_GeneratedCodeInfo_Annotation**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation** google_protobuf_GeneratedCodeInfo_resize_annotation(google_protobuf_GeneratedCodeInfo* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_GeneratedCodeInfo_Annotation**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_GeneratedCodeInfo_Annotation* google_protobuf_GeneratedCodeInfo_add_annotation(google_protobuf_GeneratedCodeInfo* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_GeneratedCodeInfo_Annotation* sub = (struct google_protobuf_GeneratedCodeInfo_Annotation*)_upb_Message_New(&google__protobuf__GeneratedCodeInfo__Annotation_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* google.protobuf.GeneratedCodeInfo.Annotation */ + +UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation* google_protobuf_GeneratedCodeInfo_Annotation_new(upb_Arena* arena) { + return (google_protobuf_GeneratedCodeInfo_Annotation*)_upb_Message_New(&google__protobuf__GeneratedCodeInfo__Annotation_msg_init, arena); +} +UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation* google_protobuf_GeneratedCodeInfo_Annotation_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_GeneratedCodeInfo_Annotation* ret = google_protobuf_GeneratedCodeInfo_Annotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__GeneratedCodeInfo__Annotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation* google_protobuf_GeneratedCodeInfo_Annotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_GeneratedCodeInfo_Annotation* ret = google_protobuf_GeneratedCodeInfo_Annotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__GeneratedCodeInfo__Annotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_GeneratedCodeInfo_Annotation_serialize(const google_protobuf_GeneratedCodeInfo_Annotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__GeneratedCodeInfo__Annotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_GeneratedCodeInfo_Annotation_serialize_ex(const google_protobuf_GeneratedCodeInfo_Annotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__GeneratedCodeInfo__Annotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_clear_path(google_protobuf_GeneratedCodeInfo_Annotation* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t const* google_protobuf_GeneratedCodeInfo_Annotation_path(const google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_GeneratedCodeInfo_Annotation_path_upb_array(const google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_GeneratedCodeInfo_Annotation_path_mutable_upb_array(const google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_path(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { + size_t size; + google_protobuf_GeneratedCodeInfo_Annotation_path(msg, &size); + return size != 0; +} +UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_clear_source_file(google_protobuf_GeneratedCodeInfo_Annotation* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_GeneratedCodeInfo_Annotation_source_file(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_source_file(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_clear_begin(google_protobuf_GeneratedCodeInfo_Annotation* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_begin(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_begin(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_clear_end(google_protobuf_GeneratedCodeInfo_Annotation* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 8), 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_end(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(12, 8), 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_end(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 8), 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_clear_semantic(google_protobuf_GeneratedCodeInfo_Annotation* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 12), 4, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_semantic(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(16, 12), 4, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_semantic(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 12), 4, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE int32_t* google_protobuf_GeneratedCodeInfo_Annotation_mutable_path(google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (int32_t*)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE int32_t* google_protobuf_GeneratedCodeInfo_Annotation_resize_path(google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_add_path(google_protobuf_GeneratedCodeInfo_Annotation* msg, int32_t val, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return false; + } + _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_source_file(google_protobuf_GeneratedCodeInfo_Annotation *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_begin(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_end(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 8), 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_semantic(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 12), 4, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* Max size 32 is google.protobuf.FileOptions */ +/* Max size 64 is google.protobuf.FileOptions */ +#define _UPB_MAXOPT_SIZE UPB_SIZE(112, 200) + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c b/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c new file mode 100644 index 00000000000..e7cdf4c4b22 --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c @@ -0,0 +1,1357 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/descriptor.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub google_protobuf_FileDescriptorSet_submsgs[1] = { + {.submsg = &google__protobuf__FileDescriptorProto_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_FileDescriptorSet__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__FileDescriptorSet_msg_init = { + &google_protobuf_FileDescriptorSet_submsgs[0], + &google_protobuf_FileDescriptorSet__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max192b}, + }) +}; + +static const upb_MiniTableSub google_protobuf_FileDescriptorProto_submsgs[7] = { + {.submsg = &google__protobuf__DescriptorProto_msg_init}, + {.submsg = &google__protobuf__EnumDescriptorProto_msg_init}, + {.submsg = &google__protobuf__ServiceDescriptorProto_msg_init}, + {.submsg = &google__protobuf__FieldDescriptorProto_msg_init}, + {.submsg = &google__protobuf__FileOptions_msg_init}, + {.submsg = &google__protobuf__SourceCodeInfo_msg_init}, + {.subenum = &google_protobuf_Edition_enum_init}, +}; + +static const upb_MiniTableField google_protobuf_FileDescriptorProto__fields[13] = { + {1, UPB_SIZE(44, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(52, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(24, 80), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(28, 88), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(60, 112), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(40, 4), 6, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__FileDescriptorProto_msg_init = { + &google_protobuf_FileDescriptorProto_submsgs[0], + &google_protobuf_FileDescriptorProto__fields[0], + UPB_SIZE(72, 128), 13, kUpb_ExtMode_NonExtendable, 12, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pss_1bt}, + {0x0018000002000012, &upb_pss_1bt}, + {0x002800003f00001a, &upb_prs_1bt}, + {0x003000003f000022, &upb_prm_1bt_max128b}, + {0x003800003f01002a, &upb_prm_1bt_max64b}, + {0x004000003f020032, &upb_prm_1bt_max64b}, + {0x004800003f03003a, &upb_prm_1bt_max128b}, + {0x0050000003040042, &upb_psm_1bt_max256b}, + {0x005800000405004a, &upb_psm_1bt_max64b}, + {0x006000003f000050, &upb_prv4_1bt}, + {0x006800003f000058, &upb_prv4_1bt}, + {0x0070000005000062, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_DescriptorProto_submsgs[8] = { + {.submsg = &google__protobuf__FieldDescriptorProto_msg_init}, + {.submsg = &google__protobuf__DescriptorProto_msg_init}, + {.submsg = &google__protobuf__EnumDescriptorProto_msg_init}, + {.submsg = &google__protobuf__DescriptorProto__ExtensionRange_msg_init}, + {.submsg = &google__protobuf__FieldDescriptorProto_msg_init}, + {.submsg = &google__protobuf__MessageOptions_msg_init}, + {.submsg = &google__protobuf__OneofDescriptorProto_msg_init}, + {.submsg = &google__protobuf__DescriptorProto__ReservedRange_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_DescriptorProto__fields[10] = { + {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 64), 2, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__DescriptorProto_msg_init = { + &google_protobuf_DescriptorProto_submsgs[0], + &google_protobuf_DescriptorProto__fields[0], + UPB_SIZE(48, 96), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prm_1bt_max128b}, + {0x002000003f01001a, &upb_prm_1bt_max128b}, + {0x002800003f020022, &upb_prm_1bt_max64b}, + {0x003000003f03002a, &upb_prm_1bt_max64b}, + {0x003800003f040032, &upb_prm_1bt_max128b}, + {0x004000000205003a, &upb_psm_1bt_max64b}, + {0x004800003f060042, &upb_prm_1bt_max64b}, + {0x005000003f07004a, &upb_prm_1bt_max64b}, + {0x005800003f000052, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_DescriptorProto_ExtensionRange_submsgs[1] = { + {.submsg = &google__protobuf__ExtensionRangeOptions_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_DescriptorProto_ExtensionRange__fields[3] = { + {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__DescriptorProto__ExtensionRange_msg_init = { + &google_protobuf_DescriptorProto_ExtensionRange_submsgs[0], + &google_protobuf_DescriptorProto_ExtensionRange__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0004000001000008, &upb_psv4_1bt}, + {0x0008000002000010, &upb_psv4_1bt}, + {0x001000000300001a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableField google_protobuf_DescriptorProto_ReservedRange__fields[2] = { + {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__DescriptorProto__ReservedRange_msg_init = { + NULL, + &google_protobuf_DescriptorProto_ReservedRange__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0004000001000008, &upb_psv4_1bt}, + {0x0008000002000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_ExtensionRangeOptions_submsgs[4] = { + {.submsg = &google__protobuf__ExtensionRangeOptions__Declaration_msg_init}, + {.submsg = &google__protobuf__FeatureSet_msg_init}, + {.submsg = &google__protobuf__UninterpretedOption_msg_init}, + {.subenum = &google_protobuf_ExtensionRangeOptions_VerificationState_enum_init}, +}; + +static const upb_MiniTableField google_protobuf_ExtensionRangeOptions__fields[4] = { + {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 4), 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {50, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__ExtensionRangeOptions_msg_init = { + &google_protobuf_ExtensionRangeOptions_submsgs[0], + &google_protobuf_ExtensionRangeOptions__fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000012, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0010000002010392, &upb_psm_2bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f023eba, &upb_prm_2bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField google_protobuf_ExtensionRangeOptions_Declaration__fields[5] = { + {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, 9, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__ExtensionRangeOptions__Declaration_msg_init = { + NULL, + &google_protobuf_ExtensionRangeOptions_Declaration__fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0004000001000008, &upb_psv4_1bt}, + {0x0010000002000012, &upb_pss_1bt}, + {0x002000000300001a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000004000028, &upb_psb1_1bt}, + {0x0009000005000030, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_FieldDescriptorProto_submsgs[3] = { + {.submsg = &google__protobuf__FieldOptions_msg_init}, + {.subenum = &google_protobuf_FieldDescriptorProto_Label_enum_init}, + {.subenum = &google_protobuf_FieldDescriptorProto_Type_enum_init}, +}; + +static const upb_MiniTableField google_protobuf_FieldDescriptorProto__fields[11] = { + {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 4, 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 8, 4, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, 12, 5, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(44, 56), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(52, 72), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(16, 88), 8, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(20, 16), 9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(60, 96), 10, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(24, 20), 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__FieldDescriptorProto_msg_init = { + &google_protobuf_FieldDescriptorProto_submsgs[0], + &google_protobuf_FieldDescriptorProto__fields[0], + UPB_SIZE(72, 112), 11, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000100000a, &upb_pss_1bt}, + {0x0028000002000012, &upb_pss_1bt}, + {0x0004000003000018, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0038000006000032, &upb_pss_1bt}, + {0x004800000700003a, &upb_pss_1bt}, + {0x0058000008000042, &upb_psm_1bt_max64b}, + {0x0010000009000048, &upb_psv4_1bt}, + {0x006000000a000052, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001400000b000188, &upb_psb1_2bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_OneofDescriptorProto_submsgs[1] = { + {.submsg = &google__protobuf__OneofOptions_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_OneofDescriptorProto__fields[2] = { + {1, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__OneofDescriptorProto_msg_init = { + &google_protobuf_OneofDescriptorProto_submsgs[0], + &google_protobuf_OneofDescriptorProto__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pss_1bt}, + {0x0018000002000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_EnumDescriptorProto_submsgs[3] = { + {.submsg = &google__protobuf__EnumValueDescriptorProto_msg_init}, + {.submsg = &google__protobuf__EnumOptions_msg_init}, + {.submsg = &google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_EnumDescriptorProto__fields[5] = { + {1, UPB_SIZE(20, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__EnumDescriptorProto_msg_init = { + &google_protobuf_EnumDescriptorProto_submsgs[0], + &google_protobuf_EnumDescriptorProto__fields[0], + UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prm_1bt_max64b}, + {0x002000000201001a, &upb_psm_1bt_max64b}, + {0x002800003f020022, &upb_prm_1bt_max64b}, + {0x003000003f00002a, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[2] = { + {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init = { + NULL, + &google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0004000001000008, &upb_psv4_1bt}, + {0x0008000002000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_EnumValueDescriptorProto_submsgs[1] = { + {.submsg = &google__protobuf__EnumValueOptions_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_EnumValueDescriptorProto__fields[3] = { + {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 4, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 24), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__EnumValueDescriptorProto_msg_init = { + &google_protobuf_EnumValueDescriptorProto_submsgs[0], + &google_protobuf_EnumValueDescriptorProto__fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pss_1bt}, + {0x0004000002000010, &upb_psv4_1bt}, + {0x001800000300001a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub google_protobuf_ServiceDescriptorProto_submsgs[2] = { + {.submsg = &google__protobuf__MethodDescriptorProto_msg_init}, + {.submsg = &google__protobuf__ServiceOptions_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_ServiceDescriptorProto__fields[3] = { + {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__ServiceDescriptorProto_msg_init = { + &google_protobuf_ServiceDescriptorProto_submsgs[0], + &google_protobuf_ServiceDescriptorProto__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prm_1bt_max128b}, + {0x002000000201001a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub google_protobuf_MethodDescriptorProto_submsgs[1] = { + {.submsg = &google__protobuf__MethodOptions_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_MethodDescriptorProto__fields[6] = { + {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(28, 40), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 56), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 1), 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(9, 2), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__MethodDescriptorProto_msg_init = { + &google_protobuf_MethodDescriptorProto_submsgs[0], + &google_protobuf_MethodDescriptorProto__fields[0], + UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pss_1bt}, + {0x0018000002000012, &upb_pss_1bt}, + {0x002800000300001a, &upb_pss_1bt}, + {0x0038000004000022, &upb_psm_1bt_max64b}, + {0x0001000005000028, &upb_psb1_1bt}, + {0x0002000006000030, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_FileOptions_submsgs[3] = { + {.submsg = &google__protobuf__FeatureSet_msg_init}, + {.submsg = &google__protobuf__UninterpretedOption_msg_init}, + {.subenum = &google_protobuf_FileOptions_OptimizeMode_enum_init}, +}; + +static const upb_MiniTableField google_protobuf_FileOptions__fields[22] = { + {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {9, 4, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {10, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(44, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {16, 9, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {17, 10, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {18, 11, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {20, 12, 9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {23, 13, 10, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {27, 14, 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {31, 15, 12, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {36, UPB_SIZE(52, 72), 13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {37, UPB_SIZE(60, 88), 14, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {39, UPB_SIZE(68, 104), 15, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {40, UPB_SIZE(76, 120), 16, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {41, UPB_SIZE(84, 136), 17, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {42, 16, 18, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {44, UPB_SIZE(92, 152), 19, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {45, UPB_SIZE(100, 168), 20, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {50, UPB_SIZE(20, 184), 21, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__FileOptions_msg_init = { + &google_protobuf_FileOptions_submsgs[0], + &google_protobuf_FileOptions__fields[0], + UPB_SIZE(112, 200), 22, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000100000a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0028000002000042, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000004000050, &upb_psb1_1bt}, + {0x003800000500005a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0009000006000180, &upb_psb1_2bt}, + {0x000a000007000188, &upb_psb1_2bt}, + {0x000b000008000190, &upb_psb1_2bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000c0000090001a0, &upb_psb1_2bt}, + {0x005800000e0002aa, &upb_pss_2bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000d00000a0001b8, &upb_psb1_2bt}, + {0x00780000100002c2, &upb_pss_2bt}, + {0x00880000110002ca, &upb_pss_2bt}, + {0x00100000120002d0, &upb_psb1_2bt}, + {0x000e00000b0001d8, &upb_psb1_2bt}, + {0x00980000130002e2, &upb_pss_2bt}, + {0x00a80000140002ea, &upb_pss_2bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000f00000c0001f8, &upb_psb1_2bt}, + }) +}; + +static const upb_MiniTableSub google_protobuf_MessageOptions_submsgs[2] = { + {.submsg = &google__protobuf__FeatureSet_msg_init}, + {.submsg = &google__protobuf__UninterpretedOption_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_MessageOptions__fields[7] = { + {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 4, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {11, 5, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {12, 8, 6, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__MessageOptions_msg_init = { + &google_protobuf_MessageOptions_submsgs[0], + &google_protobuf_MessageOptions__fields[0], + UPB_SIZE(16, 24), 7, kUpb_ExtMode_Extendable, 3, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0001000001000008, &upb_psb1_1bt}, + {0x0002000002000010, &upb_psb1_1bt}, + {0x0003000003000018, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0004000004000038, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0005000005000058, &upb_psb1_1bt}, + {0x0008000006000062, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f013eba, &upb_prm_2bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_FieldOptions_submsgs[7] = { + {.submsg = &google__protobuf__FieldOptions__EditionDefault_msg_init}, + {.submsg = &google__protobuf__FeatureSet_msg_init}, + {.submsg = &google__protobuf__UninterpretedOption_msg_init}, + {.subenum = &google_protobuf_FieldOptions_CType_enum_init}, + {.subenum = &google_protobuf_FieldOptions_JSType_enum_init}, + {.subenum = &google_protobuf_FieldOptions_OptionRetention_enum_init}, + {.subenum = &google_protobuf_FieldOptions_OptionTargetType_enum_init}, +}; + +static const upb_MiniTableField google_protobuf_FieldOptions__fields[13] = { + {1, 4, 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 9, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 10, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, 12, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {10, 16, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {15, 17, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {16, 18, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {17, 20, 9, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(32, 40), 10, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__FieldOptions_msg_init = { + &google_protobuf_FieldOptions_submsgs[0], + &google_protobuf_FieldOptions__fields[0], + UPB_SIZE(40, 56), 13, kUpb_ExtMode_Extendable, 3, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000002000010, &upb_psb1_1bt}, + {0x0009000003000018, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000a000004000028, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0010000006000050, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0011000007000078, &upb_psb1_1bt}, + {0x0012000008000180, &upb_psb1_2bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002000003f0001a2, &upb_prm_2bt_max64b}, + {0x002800000a0101aa, &upb_psm_2bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x003000003f023eba, &upb_prm_2bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_FieldOptions_EditionDefault_submsgs[1] = { + {.subenum = &google_protobuf_Edition_enum_init}, +}; + +static const upb_MiniTableField google_protobuf_FieldOptions_EditionDefault__fields[2] = { + {2, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 4, 2, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__FieldOptions__EditionDefault_msg_init = { + &google_protobuf_FieldOptions_EditionDefault_submsgs[0], + &google_protobuf_FieldOptions_EditionDefault__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_OneofOptions_submsgs[2] = { + {.submsg = &google__protobuf__FeatureSet_msg_init}, + {.submsg = &google__protobuf__UninterpretedOption_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_OneofOptions__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__OneofOptions_msg_init = { + &google_protobuf_OneofOptions_submsgs[0], + &google_protobuf_OneofOptions__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f013eba, &upb_prm_2bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_EnumOptions_submsgs[2] = { + {.submsg = &google__protobuf__FeatureSet_msg_init}, + {.submsg = &google__protobuf__UninterpretedOption_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_EnumOptions__fields[5] = { + {2, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(4, 8), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__EnumOptions_msg_init = { + &google_protobuf_EnumOptions_submsgs[0], + &google_protobuf_EnumOptions__fields[0], + UPB_SIZE(16, 24), 5, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0001000001000010, &upb_psb1_1bt}, + {0x0002000002000018, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0003000003000030, &upb_psb1_1bt}, + {0x000800000400003a, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f013eba, &upb_prm_2bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_EnumValueOptions_submsgs[2] = { + {.submsg = &google__protobuf__FeatureSet_msg_init}, + {.submsg = &google__protobuf__UninterpretedOption_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_EnumValueOptions__fields[4] = { + {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 2), 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__EnumValueOptions_msg_init = { + &google_protobuf_EnumValueOptions_submsgs[0], + &google_protobuf_EnumValueOptions__fields[0], + UPB_SIZE(16, 24), 4, kUpb_ExtMode_Extendable, 3, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0001000001000008, &upb_psb1_1bt}, + {0x0008000002000012, &upb_psm_1bt_max64b}, + {0x0002000003000018, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f013eba, &upb_prm_2bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_ServiceOptions_submsgs[2] = { + {.submsg = &google__protobuf__FeatureSet_msg_init}, + {.submsg = &google__protobuf__UninterpretedOption_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_ServiceOptions__fields[3] = { + {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {34, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__ServiceOptions_msg_init = { + &google_protobuf_ServiceOptions_submsgs[0], + &google_protobuf_ServiceOptions__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0001000001000288, &upb_psb1_2bt}, + {0x0008000002000292, &upb_psm_2bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f013eba, &upb_prm_2bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_MethodOptions_submsgs[3] = { + {.submsg = &google__protobuf__FeatureSet_msg_init}, + {.submsg = &google__protobuf__UninterpretedOption_msg_init}, + {.subenum = &google_protobuf_MethodOptions_IdempotencyLevel_enum_init}, +}; + +static const upb_MiniTableField google_protobuf_MethodOptions__fields[4] = { + {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {34, 4, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {35, 8, 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__MethodOptions_msg_init = { + &google_protobuf_MethodOptions_submsgs[0], + &google_protobuf_MethodOptions__fields[0], + UPB_SIZE(16, 24), 4, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0001000001000288, &upb_psb1_2bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000300029a, &upb_psm_2bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f013eba, &upb_prm_2bt_max128b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_UninterpretedOption_submsgs[1] = { + {.submsg = &google__protobuf__UninterpretedOption__NamePart_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_UninterpretedOption__fields[7] = { + {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 40), 3, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 48), 4, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(40, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(48, 72), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__UninterpretedOption_msg_init = { + &google_protobuf_UninterpretedOption_submsgs[0], + &google_protobuf_UninterpretedOption__fields[0], + UPB_SIZE(56, 88), 7, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000012, &upb_prm_1bt_max64b}, + {0x001000000100001a, &upb_pss_1bt}, + {0x0020000002000020, &upb_psv8_1bt}, + {0x0028000003000028, &upb_psv8_1bt}, + {0x0030000004000031, &upb_psf8_1bt}, + {0x003800000500003a, &upb_psb_1bt}, + {0x0048000006000042, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField google_protobuf_UninterpretedOption_NamePart__fields[2] = { + {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 1, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__UninterpretedOption__NamePart_msg_init = { + NULL, + &google_protobuf_UninterpretedOption_NamePart__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 2, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pss_1bt}, + {0x0001000002000010, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_FeatureSet_submsgs[6] = { + {.subenum = &google_protobuf_FeatureSet_FieldPresence_enum_init}, + {.subenum = &google_protobuf_FeatureSet_EnumType_enum_init}, + {.subenum = &google_protobuf_FeatureSet_RepeatedFieldEncoding_enum_init}, + {.subenum = &google_protobuf_FeatureSet_Utf8Validation_enum_init}, + {.subenum = &google_protobuf_FeatureSet_MessageEncoding_enum_init}, + {.subenum = &google_protobuf_FeatureSet_JsonFormat_enum_init}, +}; + +static const upb_MiniTableField google_protobuf_FeatureSet__fields[6] = { + {1, 4, 1, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 2, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 12, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 16, 4, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, 20, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, 24, 6, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__FeatureSet_msg_init = { + &google_protobuf_FeatureSet_submsgs[0], + &google_protobuf_FeatureSet__fields[0], + 32, 6, kUpb_ExtMode_Extendable, 6, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub google_protobuf_FeatureSetDefaults_submsgs[3] = { + {.submsg = &google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init}, + {.subenum = &google_protobuf_Edition_enum_init}, + {.subenum = &google_protobuf_Edition_enum_init}, +}; + +static const upb_MiniTableField google_protobuf_FeatureSetDefaults__fields[3] = { + {1, UPB_SIZE(4, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(8, 4), 1, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 8), 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__FeatureSetDefaults_msg_init = { + &google_protobuf_FeatureSetDefaults_submsgs[0], + &google_protobuf_FeatureSetDefaults__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_submsgs[2] = { + {.submsg = &google__protobuf__FeatureSet_msg_init}, + {.subenum = &google_protobuf_Edition_enum_init}, +}; + +static const upb_MiniTableField google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault__fields[2] = { + {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 4), 2, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init = { + &google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_submsgs[0], + &google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_SourceCodeInfo_submsgs[1] = { + {.submsg = &google__protobuf__SourceCodeInfo__Location_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_SourceCodeInfo__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__SourceCodeInfo_msg_init = { + &google_protobuf_SourceCodeInfo_submsgs[0], + &google_protobuf_SourceCodeInfo__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max128b}, + }) +}; + +static const upb_MiniTableField google_protobuf_SourceCodeInfo_Location__fields[5] = { + {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__SourceCodeInfo__Location_msg_init = { + NULL, + &google_protobuf_SourceCodeInfo_Location__fields[0], + UPB_SIZE(32, 64), 5, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_ppv4_1bt}, + {0x001000003f000012, &upb_ppv4_1bt}, + {0x001800000100001a, &upb_pss_1bt}, + {0x0028000002000022, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x003800003f000032, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_GeneratedCodeInfo_submsgs[1] = { + {.submsg = &google__protobuf__GeneratedCodeInfo__Annotation_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_GeneratedCodeInfo__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__GeneratedCodeInfo_msg_init = { + &google_protobuf_GeneratedCodeInfo_submsgs[0], + &google_protobuf_GeneratedCodeInfo__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub google_protobuf_GeneratedCodeInfo_Annotation_submsgs[1] = { + {.subenum = &google_protobuf_GeneratedCodeInfo_Annotation_Semantic_enum_init}, +}; + +static const upb_MiniTableField google_protobuf_GeneratedCodeInfo_Annotation__fields[5] = { + {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 4), 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 8), 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 12), 4, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__GeneratedCodeInfo__Annotation_msg_init = { + &google_protobuf_GeneratedCodeInfo_Annotation_submsgs[0], + &google_protobuf_GeneratedCodeInfo_Annotation__fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000003f00000a, &upb_ppv4_1bt}, + {0x0018000001000012, &upb_pss_1bt}, + {0x0004000002000018, &upb_psv4_1bt}, + {0x0008000003000020, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[32] = { + &google__protobuf__FileDescriptorSet_msg_init, + &google__protobuf__FileDescriptorProto_msg_init, + &google__protobuf__DescriptorProto_msg_init, + &google__protobuf__DescriptorProto__ExtensionRange_msg_init, + &google__protobuf__DescriptorProto__ReservedRange_msg_init, + &google__protobuf__ExtensionRangeOptions_msg_init, + &google__protobuf__ExtensionRangeOptions__Declaration_msg_init, + &google__protobuf__FieldDescriptorProto_msg_init, + &google__protobuf__OneofDescriptorProto_msg_init, + &google__protobuf__EnumDescriptorProto_msg_init, + &google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init, + &google__protobuf__EnumValueDescriptorProto_msg_init, + &google__protobuf__ServiceDescriptorProto_msg_init, + &google__protobuf__MethodDescriptorProto_msg_init, + &google__protobuf__FileOptions_msg_init, + &google__protobuf__MessageOptions_msg_init, + &google__protobuf__FieldOptions_msg_init, + &google__protobuf__FieldOptions__EditionDefault_msg_init, + &google__protobuf__OneofOptions_msg_init, + &google__protobuf__EnumOptions_msg_init, + &google__protobuf__EnumValueOptions_msg_init, + &google__protobuf__ServiceOptions_msg_init, + &google__protobuf__MethodOptions_msg_init, + &google__protobuf__UninterpretedOption_msg_init, + &google__protobuf__UninterpretedOption__NamePart_msg_init, + &google__protobuf__FeatureSet_msg_init, + &google__protobuf__FeatureSetDefaults_msg_init, + &google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init, + &google__protobuf__SourceCodeInfo_msg_init, + &google__protobuf__SourceCodeInfo__Location_msg_init, + &google__protobuf__GeneratedCodeInfo_msg_init, + &google__protobuf__GeneratedCodeInfo__Annotation_msg_init, +}; + +const upb_MiniTableEnum google_protobuf_Edition_enum_init = { + 64, + 6, + { + 0x7, + 0x0, + 0x3e6, + 0x3e7, + 0x3e8, + 0x1869d, + 0x1869e, + 0x1869f, + }, +}; + +const upb_MiniTableEnum google_protobuf_ExtensionRangeOptions_VerificationState_enum_init = { + 64, + 0, + { + 0x3, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_FeatureSet_EnumType_enum_init = { + 64, + 0, + { + 0x7, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_FeatureSet_FieldPresence_enum_init = { + 64, + 0, + { + 0xf, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_FeatureSet_JsonFormat_enum_init = { + 64, + 0, + { + 0x7, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_FeatureSet_MessageEncoding_enum_init = { + 64, + 0, + { + 0x7, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_FeatureSet_RepeatedFieldEncoding_enum_init = { + 64, + 0, + { + 0x7, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_FeatureSet_Utf8Validation_enum_init = { + 64, + 0, + { + 0x7, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_FieldDescriptorProto_Label_enum_init = { + 64, + 0, + { + 0xe, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_FieldDescriptorProto_Type_enum_init = { + 64, + 0, + { + 0x7fffe, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_FieldOptions_CType_enum_init = { + 64, + 0, + { + 0x7, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_FieldOptions_JSType_enum_init = { + 64, + 0, + { + 0x7, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_FieldOptions_OptionRetention_enum_init = { + 64, + 0, + { + 0x7, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_FieldOptions_OptionTargetType_enum_init = { + 64, + 0, + { + 0x3ff, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_FileOptions_OptimizeMode_enum_init = { + 64, + 0, + { + 0xe, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_GeneratedCodeInfo_Annotation_Semantic_enum_init = { + 64, + 0, + { + 0x7, + 0x0, + }, +}; + +const upb_MiniTableEnum google_protobuf_MethodOptions_IdempotencyLevel_enum_init = { + 64, + 0, + { + 0x7, + 0x0, + }, +}; + +static const upb_MiniTableEnum *enums_layout[17] = { + &google_protobuf_Edition_enum_init, + &google_protobuf_ExtensionRangeOptions_VerificationState_enum_init, + &google_protobuf_FeatureSet_EnumType_enum_init, + &google_protobuf_FeatureSet_FieldPresence_enum_init, + &google_protobuf_FeatureSet_JsonFormat_enum_init, + &google_protobuf_FeatureSet_MessageEncoding_enum_init, + &google_protobuf_FeatureSet_RepeatedFieldEncoding_enum_init, + &google_protobuf_FeatureSet_Utf8Validation_enum_init, + &google_protobuf_FieldDescriptorProto_Label_enum_init, + &google_protobuf_FieldDescriptorProto_Type_enum_init, + &google_protobuf_FieldOptions_CType_enum_init, + &google_protobuf_FieldOptions_JSType_enum_init, + &google_protobuf_FieldOptions_OptionRetention_enum_init, + &google_protobuf_FieldOptions_OptionTargetType_enum_init, + &google_protobuf_FileOptions_OptimizeMode_enum_init, + &google_protobuf_GeneratedCodeInfo_Annotation_Semantic_enum_init, + &google_protobuf_MethodOptions_IdempotencyLevel_enum_init, +}; + +const upb_MiniTableFile google_protobuf_descriptor_proto_upb_file_layout = { + messages_layout, + enums_layout, + NULL, + 32, + 17, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h b/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h new file mode 100644 index 00000000000..8416e9a4f50 --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h @@ -0,0 +1,78 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/descriptor.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_MINITABLE_H_ +#define GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable google__protobuf__FileDescriptorSet_msg_init; +extern const upb_MiniTable google__protobuf__FileDescriptorProto_msg_init; +extern const upb_MiniTable google__protobuf__DescriptorProto_msg_init; +extern const upb_MiniTable google__protobuf__DescriptorProto__ExtensionRange_msg_init; +extern const upb_MiniTable google__protobuf__DescriptorProto__ReservedRange_msg_init; +extern const upb_MiniTable google__protobuf__ExtensionRangeOptions_msg_init; +extern const upb_MiniTable google__protobuf__ExtensionRangeOptions__Declaration_msg_init; +extern const upb_MiniTable google__protobuf__FieldDescriptorProto_msg_init; +extern const upb_MiniTable google__protobuf__OneofDescriptorProto_msg_init; +extern const upb_MiniTable google__protobuf__EnumDescriptorProto_msg_init; +extern const upb_MiniTable google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init; +extern const upb_MiniTable google__protobuf__EnumValueDescriptorProto_msg_init; +extern const upb_MiniTable google__protobuf__ServiceDescriptorProto_msg_init; +extern const upb_MiniTable google__protobuf__MethodDescriptorProto_msg_init; +extern const upb_MiniTable google__protobuf__FileOptions_msg_init; +extern const upb_MiniTable google__protobuf__MessageOptions_msg_init; +extern const upb_MiniTable google__protobuf__FieldOptions_msg_init; +extern const upb_MiniTable google__protobuf__FieldOptions__EditionDefault_msg_init; +extern const upb_MiniTable google__protobuf__OneofOptions_msg_init; +extern const upb_MiniTable google__protobuf__EnumOptions_msg_init; +extern const upb_MiniTable google__protobuf__EnumValueOptions_msg_init; +extern const upb_MiniTable google__protobuf__ServiceOptions_msg_init; +extern const upb_MiniTable google__protobuf__MethodOptions_msg_init; +extern const upb_MiniTable google__protobuf__UninterpretedOption_msg_init; +extern const upb_MiniTable google__protobuf__UninterpretedOption__NamePart_msg_init; +extern const upb_MiniTable google__protobuf__FeatureSet_msg_init; +extern const upb_MiniTable google__protobuf__FeatureSetDefaults_msg_init; +extern const upb_MiniTable google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init; +extern const upb_MiniTable google__protobuf__SourceCodeInfo_msg_init; +extern const upb_MiniTable google__protobuf__SourceCodeInfo__Location_msg_init; +extern const upb_MiniTable google__protobuf__GeneratedCodeInfo_msg_init; +extern const upb_MiniTable google__protobuf__GeneratedCodeInfo__Annotation_msg_init; + +extern const upb_MiniTableEnum google_protobuf_Edition_enum_init; +extern const upb_MiniTableEnum google_protobuf_ExtensionRangeOptions_VerificationState_enum_init; +extern const upb_MiniTableEnum google_protobuf_FeatureSet_EnumType_enum_init; +extern const upb_MiniTableEnum google_protobuf_FeatureSet_FieldPresence_enum_init; +extern const upb_MiniTableEnum google_protobuf_FeatureSet_JsonFormat_enum_init; +extern const upb_MiniTableEnum google_protobuf_FeatureSet_MessageEncoding_enum_init; +extern const upb_MiniTableEnum google_protobuf_FeatureSet_RepeatedFieldEncoding_enum_init; +extern const upb_MiniTableEnum google_protobuf_FeatureSet_Utf8Validation_enum_init; +extern const upb_MiniTableEnum google_protobuf_FieldDescriptorProto_Label_enum_init; +extern const upb_MiniTableEnum google_protobuf_FieldDescriptorProto_Type_enum_init; +extern const upb_MiniTableEnum google_protobuf_FieldOptions_CType_enum_init; +extern const upb_MiniTableEnum google_protobuf_FieldOptions_JSType_enum_init; +extern const upb_MiniTableEnum google_protobuf_FieldOptions_OptionRetention_enum_init; +extern const upb_MiniTableEnum google_protobuf_FieldOptions_OptionTargetType_enum_init; +extern const upb_MiniTableEnum google_protobuf_FileOptions_OptimizeMode_enum_init; +extern const upb_MiniTableEnum google_protobuf_GeneratedCodeInfo_Annotation_Semantic_enum_init; +extern const upb_MiniTableEnum google_protobuf_MethodOptions_IdempotencyLevel_enum_init; +extern const upb_MiniTableFile google_protobuf_descriptor_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/google/protobuf/duration.upb.h b/src/core/ext/upb-gen/google/protobuf/duration.upb.h similarity index 83% rename from src/core/ext/upb-generated/google/protobuf/duration.upb.h rename to src/core/ext/upb-gen/google/protobuf/duration.upb.h index 301c6bc2ae1..0052e518396 100644 --- a/src/core/ext/upb-generated/google/protobuf/duration.upb.h +++ b/src/core/ext/upb-gen/google/protobuf/duration.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/duration.proto * @@ -10,7 +9,10 @@ #define GOOGLE_PROTOBUF_DURATION_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "google/protobuf/duration.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,19 +20,18 @@ extern "C" { #endif typedef struct google_protobuf_Duration google_protobuf_Duration; -extern const upb_MiniTable google_protobuf_Duration_msg_init; /* google.protobuf.Duration */ UPB_INLINE google_protobuf_Duration* google_protobuf_Duration_new(upb_Arena* arena) { - return (google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + return (google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); } UPB_INLINE google_protobuf_Duration* google_protobuf_Duration_parse(const char* buf, size_t size, upb_Arena* arena) { google_protobuf_Duration* ret = google_protobuf_Duration_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Duration_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__protobuf__Duration_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -40,7 +41,7 @@ UPB_INLINE google_protobuf_Duration* google_protobuf_Duration_parse_ex(const cha int options, upb_Arena* arena) { google_protobuf_Duration* ret = google_protobuf_Duration_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Duration_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__protobuf__Duration_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -48,13 +49,13 @@ UPB_INLINE google_protobuf_Duration* google_protobuf_Duration_parse_ex(const cha } UPB_INLINE char* google_protobuf_Duration_serialize(const google_protobuf_Duration* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_Duration_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__Duration_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_protobuf_Duration_serialize_ex(const google_protobuf_Duration* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_Duration_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__Duration_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_protobuf_Duration_clear_seconds(google_protobuf_Duration* msg) { @@ -89,8 +90,6 @@ UPB_INLINE void google_protobuf_Duration_set_nanos(google_protobuf_Duration *msg _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile google_protobuf_duration_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c b/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c new file mode 100644 index 00000000000..e8ff8b9bb7c --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c @@ -0,0 +1,46 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/duration.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "google/protobuf/duration.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField google_protobuf_Duration__fields[2] = { + {1, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__Duration_msg_init = { + NULL, + &google_protobuf_Duration__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000008, &upb_psv8_1bt}, + {0x000000003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &google__protobuf__Duration_msg_init, +}; + +const upb_MiniTableFile google_protobuf_duration_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h b/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h new file mode 100644 index 00000000000..24a02156c1a --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/duration.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_PROTOBUF_DURATION_PROTO_UPB_MINITABLE_H_ +#define GOOGLE_PROTOBUF_DURATION_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable google__protobuf__Duration_msg_init; + +extern const upb_MiniTableFile google_protobuf_duration_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_PROTOBUF_DURATION_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/google/protobuf/empty.upb.h b/src/core/ext/upb-gen/google/protobuf/empty.upb.h new file mode 100644 index 00000000000..cef6d325f2e --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/empty.upb.h @@ -0,0 +1,69 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/empty.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_PROTOBUF_EMPTY_PROTO_UPB_H_ +#define GOOGLE_PROTOBUF_EMPTY_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "google/protobuf/empty.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct google_protobuf_Empty google_protobuf_Empty; + + + +/* google.protobuf.Empty */ + +UPB_INLINE google_protobuf_Empty* google_protobuf_Empty_new(upb_Arena* arena) { + return (google_protobuf_Empty*)_upb_Message_New(&google__protobuf__Empty_msg_init, arena); +} +UPB_INLINE google_protobuf_Empty* google_protobuf_Empty_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_Empty* ret = google_protobuf_Empty_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__Empty_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_Empty* google_protobuf_Empty_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_Empty* ret = google_protobuf_Empty_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__Empty_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_Empty_serialize(const google_protobuf_Empty* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__Empty_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_Empty_serialize_ex(const google_protobuf_Empty* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__Empty_msg_init, options, arena, &ptr, len); + return ptr; +} + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_PROTOBUF_EMPTY_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c b/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c new file mode 100644 index 00000000000..6229255c481 --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/empty.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "google/protobuf/empty.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +const upb_MiniTable google__protobuf__Empty_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTable *messages_layout[1] = { + &google__protobuf__Empty_msg_init, +}; + +const upb_MiniTableFile google_protobuf_empty_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h b/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h new file mode 100644 index 00000000000..f3fcccc641a --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/empty.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_PROTOBUF_EMPTY_PROTO_UPB_MINITABLE_H_ +#define GOOGLE_PROTOBUF_EMPTY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable google__protobuf__Empty_msg_init; + +extern const upb_MiniTableFile google_protobuf_empty_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_PROTOBUF_EMPTY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/google/protobuf/struct.upb.h b/src/core/ext/upb-gen/google/protobuf/struct.upb.h new file mode 100644 index 00000000000..713e657b896 --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/struct.upb.h @@ -0,0 +1,422 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/struct.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_H_ +#define GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "google/protobuf/struct.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct google_protobuf_Struct google_protobuf_Struct; +typedef struct google_protobuf_Struct_FieldsEntry google_protobuf_Struct_FieldsEntry; +typedef struct google_protobuf_Value google_protobuf_Value; +typedef struct google_protobuf_ListValue google_protobuf_ListValue; + +typedef enum { + google_protobuf_NULL_VALUE = 0 +} google_protobuf_NullValue; + + + +/* google.protobuf.Struct */ + +UPB_INLINE google_protobuf_Struct* google_protobuf_Struct_new(upb_Arena* arena) { + return (google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); +} +UPB_INLINE google_protobuf_Struct* google_protobuf_Struct_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_Struct* ret = google_protobuf_Struct_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__Struct_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_Struct* google_protobuf_Struct_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_Struct* ret = google_protobuf_Struct_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__Struct_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_Struct_serialize(const google_protobuf_Struct* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__Struct_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_Struct_serialize_ex(const google_protobuf_Struct* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__Struct_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_Struct_clear_fields(google_protobuf_Struct* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE size_t google_protobuf_Struct_fields_size(const google_protobuf_Struct* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + return map ? _upb_Map_Size(map) : 0; +} +UPB_INLINE bool google_protobuf_Struct_fields_get(const google_protobuf_Struct* msg, upb_StringView key, google_protobuf_Value** val) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Get(map, &key, 0, val, sizeof(*val)); +} +UPB_INLINE const google_protobuf_Struct_FieldsEntry* google_protobuf_Struct_fields_next(const google_protobuf_Struct* msg, size_t* iter) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (const google_protobuf_Struct_FieldsEntry*)_upb_map_next(map, iter); +} + +UPB_INLINE void google_protobuf_Struct_fields_clear(google_protobuf_Struct* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return; + _upb_Map_Clear(map); +} +UPB_INLINE bool google_protobuf_Struct_fields_set(google_protobuf_Struct* msg, upb_StringView key, google_protobuf_Value* val, upb_Arena* a) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, sizeof(val), a); + return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) != + kUpb_MapInsertStatus_OutOfMemory; +} +UPB_INLINE bool google_protobuf_Struct_fields_delete(google_protobuf_Struct* msg, upb_StringView key) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Delete(map, &key, 0, NULL); +} +UPB_INLINE google_protobuf_Struct_FieldsEntry* google_protobuf_Struct_fields_nextmutable(google_protobuf_Struct* msg, size_t* iter) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (google_protobuf_Struct_FieldsEntry*)_upb_map_next(map, iter); +} + +/* google.protobuf.Struct.FieldsEntry */ + +UPB_INLINE upb_StringView google_protobuf_Struct_FieldsEntry_key(const google_protobuf_Struct_FieldsEntry* msg) { + upb_StringView ret; + _upb_msg_map_key(msg, &ret, 0); + return ret; +} +UPB_INLINE const google_protobuf_Value* google_protobuf_Struct_FieldsEntry_value(const google_protobuf_Struct_FieldsEntry* msg) { + google_protobuf_Value* ret; + _upb_msg_map_value(msg, &ret, sizeof(ret)); + return ret; +} +UPB_INLINE bool google_protobuf_Struct_FieldsEntry_has_value(const google_protobuf_Struct_FieldsEntry* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_Struct_FieldsEntry_set_value(google_protobuf_Struct_FieldsEntry *msg, google_protobuf_Value* value) { + _upb_msg_map_set_value(msg, &value, sizeof(google_protobuf_Value*)); +} + +/* google.protobuf.Value */ + +UPB_INLINE google_protobuf_Value* google_protobuf_Value_new(upb_Arena* arena) { + return (google_protobuf_Value*)_upb_Message_New(&google__protobuf__Value_msg_init, arena); +} +UPB_INLINE google_protobuf_Value* google_protobuf_Value_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_Value* ret = google_protobuf_Value_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__Value_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_Value* google_protobuf_Value_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_Value* ret = google_protobuf_Value_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__Value_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_Value_serialize(const google_protobuf_Value* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__Value_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_Value_serialize_ex(const google_protobuf_Value* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__Value_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + google_protobuf_Value_kind_null_value = 1, + google_protobuf_Value_kind_number_value = 2, + google_protobuf_Value_kind_string_value = 3, + google_protobuf_Value_kind_bool_value = 4, + google_protobuf_Value_kind_struct_value = 5, + google_protobuf_Value_kind_list_value = 6, + google_protobuf_Value_kind_NOT_SET = 0 +} google_protobuf_Value_kind_oneofcases; +UPB_INLINE google_protobuf_Value_kind_oneofcases google_protobuf_Value_kind_case(const google_protobuf_Value* msg) { + const upb_MiniTableField field = {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return (google_protobuf_Value_kind_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void google_protobuf_Value_clear_null_value(google_protobuf_Value* msg) { + const upb_MiniTableField field = {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_protobuf_Value_null_value(const google_protobuf_Value* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_Value_has_null_value(const google_protobuf_Value* msg) { + const upb_MiniTableField field = {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_Value_clear_number_value(google_protobuf_Value* msg) { + const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE double google_protobuf_Value_number_value(const google_protobuf_Value* msg) { + double default_val = 0; + double ret; + const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_Value_has_number_value(const google_protobuf_Value* msg) { + const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_Value_clear_string_value(google_protobuf_Value* msg) { + const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_protobuf_Value_string_value(const google_protobuf_Value* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_Value_has_string_value(const google_protobuf_Value* msg) { + const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_Value_clear_bool_value(google_protobuf_Value* msg) { + const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool google_protobuf_Value_bool_value(const google_protobuf_Value* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_Value_has_bool_value(const google_protobuf_Value* msg) { + const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_Value_clear_struct_value(google_protobuf_Value* msg) { + const upb_MiniTableField field = {5, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_Struct* google_protobuf_Value_struct_value(const google_protobuf_Value* msg) { + const google_protobuf_Struct* default_val = NULL; + const google_protobuf_Struct* ret; + const upb_MiniTableField field = {5, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_Value_has_struct_value(const google_protobuf_Value* msg) { + const upb_MiniTableField field = {5, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void google_protobuf_Value_clear_list_value(google_protobuf_Value* msg) { + const upb_MiniTableField field = {6, 8, -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_ListValue* google_protobuf_Value_list_value(const google_protobuf_Value* msg) { + const google_protobuf_ListValue* default_val = NULL; + const google_protobuf_ListValue* ret; + const upb_MiniTableField field = {6, 8, -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool google_protobuf_Value_has_list_value(const google_protobuf_Value* msg) { + const upb_MiniTableField field = {6, 8, -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void google_protobuf_Value_set_null_value(google_protobuf_Value *msg, int32_t value) { + const upb_MiniTableField field = {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_Value_set_number_value(google_protobuf_Value *msg, double value) { + const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_Value_set_string_value(google_protobuf_Value *msg, upb_StringView value) { + const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_Value_set_bool_value(google_protobuf_Value *msg, bool value) { + const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_protobuf_Value_set_struct_value(google_protobuf_Value *msg, google_protobuf_Struct* value) { + const upb_MiniTableField field = {5, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Struct* google_protobuf_Value_mutable_struct_value(google_protobuf_Value* msg, upb_Arena* arena) { + struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)google_protobuf_Value_struct_value(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); + if (sub) google_protobuf_Value_set_struct_value(msg, sub); + } + return sub; +} +UPB_INLINE void google_protobuf_Value_set_list_value(google_protobuf_Value *msg, google_protobuf_ListValue* value) { + const upb_MiniTableField field = {6, 8, -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_ListValue* google_protobuf_Value_mutable_list_value(google_protobuf_Value* msg, upb_Arena* arena) { + struct google_protobuf_ListValue* sub = (struct google_protobuf_ListValue*)google_protobuf_Value_list_value(msg); + if (sub == NULL) { + sub = (struct google_protobuf_ListValue*)_upb_Message_New(&google__protobuf__ListValue_msg_init, arena); + if (sub) google_protobuf_Value_set_list_value(msg, sub); + } + return sub; +} + +/* google.protobuf.ListValue */ + +UPB_INLINE google_protobuf_ListValue* google_protobuf_ListValue_new(upb_Arena* arena) { + return (google_protobuf_ListValue*)_upb_Message_New(&google__protobuf__ListValue_msg_init, arena); +} +UPB_INLINE google_protobuf_ListValue* google_protobuf_ListValue_parse(const char* buf, size_t size, upb_Arena* arena) { + google_protobuf_ListValue* ret = google_protobuf_ListValue_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__ListValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_protobuf_ListValue* google_protobuf_ListValue_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_protobuf_ListValue* ret = google_protobuf_ListValue_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__protobuf__ListValue_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_protobuf_ListValue_serialize(const google_protobuf_ListValue* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__ListValue_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_protobuf_ListValue_serialize_ex(const google_protobuf_ListValue* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__protobuf__ListValue_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_protobuf_ListValue_clear_values(google_protobuf_ListValue* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const google_protobuf_Value* const* google_protobuf_ListValue_values(const google_protobuf_ListValue* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const google_protobuf_Value* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_protobuf_ListValue_values_upb_array(const google_protobuf_ListValue* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_protobuf_ListValue_values_mutable_upb_array(const google_protobuf_ListValue* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_protobuf_ListValue_has_values(const google_protobuf_ListValue* msg) { + size_t size; + google_protobuf_ListValue_values(msg, &size); + return size != 0; +} + +UPB_INLINE google_protobuf_Value** google_protobuf_ListValue_mutable_values(google_protobuf_ListValue* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (google_protobuf_Value**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE google_protobuf_Value** google_protobuf_ListValue_resize_values(google_protobuf_ListValue* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (google_protobuf_Value**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_Value* google_protobuf_ListValue_add_values(google_protobuf_ListValue* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_Value* sub = (struct google_protobuf_Value*)_upb_Message_New(&google__protobuf__Value_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c b/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c new file mode 100644 index 00000000000..cc2ddf8fe30 --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c @@ -0,0 +1,115 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/struct.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "google/protobuf/struct.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub google_protobuf_Struct_submsgs[1] = { + {.submsg = &google__protobuf__Struct__FieldsEntry_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_Struct__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__Struct_msg_init = { + &google_protobuf_Struct_submsgs[0], + &google_protobuf_Struct__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub google_protobuf_Struct_FieldsEntry_submsgs[1] = { + {.submsg = &google__protobuf__Value_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_Struct_FieldsEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__Struct__FieldsEntry_msg_init = { + &google_protobuf_Struct_FieldsEntry_submsgs[0], + &google_protobuf_Struct_FieldsEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_Value_submsgs[2] = { + {.submsg = &google__protobuf__Struct_msg_init}, + {.submsg = &google__protobuf__ListValue_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_Value__fields[6] = { + {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, 8, -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, 8, -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__Value_msg_init = { + &google_protobuf_Value_submsgs[0], + &google_protobuf_Value__fields[0], + UPB_SIZE(16, 24), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000008, &upb_pov4_1bt}, + {0x0008000002000011, &upb_pof8_1bt}, + {0x000800000300001a, &upb_pos_1bt}, + {0x0008000004000020, &upb_pob1_1bt}, + {0x000800000500002a, &upb_pom_1bt_max64b}, + {0x0008000006010032, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub google_protobuf_ListValue_submsgs[1] = { + {.submsg = &google__protobuf__Value_msg_init}, +}; + +static const upb_MiniTableField google_protobuf_ListValue__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__ListValue_msg_init = { + &google_protobuf_ListValue_submsgs[0], + &google_protobuf_ListValue__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTable *messages_layout[4] = { + &google__protobuf__Struct_msg_init, + &google__protobuf__Struct__FieldsEntry_msg_init, + &google__protobuf__Value_msg_init, + &google__protobuf__ListValue_msg_init, +}; + +const upb_MiniTableFile google_protobuf_struct_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 4, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h b/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h new file mode 100644 index 00000000000..0f52e89b497 --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h @@ -0,0 +1,33 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/struct.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_MINITABLE_H_ +#define GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable google__protobuf__Struct_msg_init; +extern const upb_MiniTable google__protobuf__Struct__FieldsEntry_msg_init; +extern const upb_MiniTable google__protobuf__Value_msg_init; +extern const upb_MiniTable google__protobuf__ListValue_msg_init; + +extern const upb_MiniTableFile google_protobuf_struct_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h b/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h similarity index 83% rename from src/core/ext/upb-generated/google/protobuf/timestamp.upb.h rename to src/core/ext/upb-gen/google/protobuf/timestamp.upb.h index 582ccbc94ba..2d9295fa6a6 100644 --- a/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +++ b/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/timestamp.proto * @@ -10,7 +9,10 @@ #define GOOGLE_PROTOBUF_TIMESTAMP_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "google/protobuf/timestamp.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,19 +20,18 @@ extern "C" { #endif typedef struct google_protobuf_Timestamp google_protobuf_Timestamp; -extern const upb_MiniTable google_protobuf_Timestamp_msg_init; /* google.protobuf.Timestamp */ UPB_INLINE google_protobuf_Timestamp* google_protobuf_Timestamp_new(upb_Arena* arena) { - return (google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + return (google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); } UPB_INLINE google_protobuf_Timestamp* google_protobuf_Timestamp_parse(const char* buf, size_t size, upb_Arena* arena) { google_protobuf_Timestamp* ret = google_protobuf_Timestamp_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Timestamp_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__protobuf__Timestamp_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -40,7 +41,7 @@ UPB_INLINE google_protobuf_Timestamp* google_protobuf_Timestamp_parse_ex(const c int options, upb_Arena* arena) { google_protobuf_Timestamp* ret = google_protobuf_Timestamp_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Timestamp_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__protobuf__Timestamp_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -48,13 +49,13 @@ UPB_INLINE google_protobuf_Timestamp* google_protobuf_Timestamp_parse_ex(const c } UPB_INLINE char* google_protobuf_Timestamp_serialize(const google_protobuf_Timestamp* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_Timestamp_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__Timestamp_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_protobuf_Timestamp_serialize_ex(const google_protobuf_Timestamp* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_Timestamp_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__Timestamp_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_protobuf_Timestamp_clear_seconds(google_protobuf_Timestamp* msg) { @@ -89,8 +90,6 @@ UPB_INLINE void google_protobuf_Timestamp_set_nanos(google_protobuf_Timestamp *m _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile google_protobuf_timestamp_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c b/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c new file mode 100644 index 00000000000..d6b216bf992 --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c @@ -0,0 +1,46 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/timestamp.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "google/protobuf/timestamp.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField google_protobuf_Timestamp__fields[2] = { + {1, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__Timestamp_msg_init = { + NULL, + &google_protobuf_Timestamp__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000008, &upb_psv8_1bt}, + {0x000000003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &google__protobuf__Timestamp_msg_init, +}; + +const upb_MiniTableFile google_protobuf_timestamp_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h b/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h new file mode 100644 index 00000000000..6aaecbf6cb8 --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/timestamp.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_PROTOBUF_TIMESTAMP_PROTO_UPB_MINITABLE_H_ +#define GOOGLE_PROTOBUF_TIMESTAMP_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable google__protobuf__Timestamp_msg_init; + +extern const upb_MiniTableFile google_protobuf_timestamp_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_PROTOBUF_TIMESTAMP_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h b/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h similarity index 81% rename from src/core/ext/upb-generated/google/protobuf/wrappers.upb.h rename to src/core/ext/upb-gen/google/protobuf/wrappers.upb.h index fa49bfd5047..1c5740291ce 100644 --- a/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +++ b/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/wrappers.proto * @@ -10,7 +9,10 @@ #define GOOGLE_PROTOBUF_WRAPPERS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "google/protobuf/wrappers.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -26,27 +28,18 @@ typedef struct google_protobuf_UInt32Value google_protobuf_UInt32Value; typedef struct google_protobuf_BoolValue google_protobuf_BoolValue; typedef struct google_protobuf_StringValue google_protobuf_StringValue; typedef struct google_protobuf_BytesValue google_protobuf_BytesValue; -extern const upb_MiniTable google_protobuf_DoubleValue_msg_init; -extern const upb_MiniTable google_protobuf_FloatValue_msg_init; -extern const upb_MiniTable google_protobuf_Int64Value_msg_init; -extern const upb_MiniTable google_protobuf_UInt64Value_msg_init; -extern const upb_MiniTable google_protobuf_Int32Value_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_StringValue_msg_init; -extern const upb_MiniTable google_protobuf_BytesValue_msg_init; /* google.protobuf.DoubleValue */ UPB_INLINE google_protobuf_DoubleValue* google_protobuf_DoubleValue_new(upb_Arena* arena) { - return (google_protobuf_DoubleValue*)_upb_Message_New(&google_protobuf_DoubleValue_msg_init, arena); + return (google_protobuf_DoubleValue*)_upb_Message_New(&google__protobuf__DoubleValue_msg_init, arena); } UPB_INLINE google_protobuf_DoubleValue* google_protobuf_DoubleValue_parse(const char* buf, size_t size, upb_Arena* arena) { google_protobuf_DoubleValue* ret = google_protobuf_DoubleValue_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_DoubleValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__protobuf__DoubleValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -56,7 +49,7 @@ UPB_INLINE google_protobuf_DoubleValue* google_protobuf_DoubleValue_parse_ex(con int options, upb_Arena* arena) { google_protobuf_DoubleValue* ret = google_protobuf_DoubleValue_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_DoubleValue_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__protobuf__DoubleValue_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -64,13 +57,13 @@ UPB_INLINE google_protobuf_DoubleValue* google_protobuf_DoubleValue_parse_ex(con } UPB_INLINE char* google_protobuf_DoubleValue_serialize(const google_protobuf_DoubleValue* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_DoubleValue_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__DoubleValue_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_protobuf_DoubleValue_serialize_ex(const google_protobuf_DoubleValue* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_DoubleValue_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__DoubleValue_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_protobuf_DoubleValue_clear_value(google_protobuf_DoubleValue* msg) { @@ -93,12 +86,12 @@ UPB_INLINE void google_protobuf_DoubleValue_set_value(google_protobuf_DoubleValu /* google.protobuf.FloatValue */ UPB_INLINE google_protobuf_FloatValue* google_protobuf_FloatValue_new(upb_Arena* arena) { - return (google_protobuf_FloatValue*)_upb_Message_New(&google_protobuf_FloatValue_msg_init, arena); + return (google_protobuf_FloatValue*)_upb_Message_New(&google__protobuf__FloatValue_msg_init, arena); } UPB_INLINE google_protobuf_FloatValue* google_protobuf_FloatValue_parse(const char* buf, size_t size, upb_Arena* arena) { google_protobuf_FloatValue* ret = google_protobuf_FloatValue_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FloatValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__protobuf__FloatValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -108,7 +101,7 @@ UPB_INLINE google_protobuf_FloatValue* google_protobuf_FloatValue_parse_ex(const int options, upb_Arena* arena) { google_protobuf_FloatValue* ret = google_protobuf_FloatValue_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FloatValue_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__protobuf__FloatValue_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -116,13 +109,13 @@ UPB_INLINE google_protobuf_FloatValue* google_protobuf_FloatValue_parse_ex(const } UPB_INLINE char* google_protobuf_FloatValue_serialize(const google_protobuf_FloatValue* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_FloatValue_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__FloatValue_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_protobuf_FloatValue_serialize_ex(const google_protobuf_FloatValue* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_FloatValue_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__FloatValue_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_protobuf_FloatValue_clear_value(google_protobuf_FloatValue* msg) { @@ -145,12 +138,12 @@ UPB_INLINE void google_protobuf_FloatValue_set_value(google_protobuf_FloatValue /* google.protobuf.Int64Value */ UPB_INLINE google_protobuf_Int64Value* google_protobuf_Int64Value_new(upb_Arena* arena) { - return (google_protobuf_Int64Value*)_upb_Message_New(&google_protobuf_Int64Value_msg_init, arena); + return (google_protobuf_Int64Value*)_upb_Message_New(&google__protobuf__Int64Value_msg_init, arena); } UPB_INLINE google_protobuf_Int64Value* google_protobuf_Int64Value_parse(const char* buf, size_t size, upb_Arena* arena) { google_protobuf_Int64Value* ret = google_protobuf_Int64Value_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Int64Value_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__protobuf__Int64Value_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -160,7 +153,7 @@ UPB_INLINE google_protobuf_Int64Value* google_protobuf_Int64Value_parse_ex(const int options, upb_Arena* arena) { google_protobuf_Int64Value* ret = google_protobuf_Int64Value_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Int64Value_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__protobuf__Int64Value_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -168,13 +161,13 @@ UPB_INLINE google_protobuf_Int64Value* google_protobuf_Int64Value_parse_ex(const } UPB_INLINE char* google_protobuf_Int64Value_serialize(const google_protobuf_Int64Value* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_Int64Value_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__Int64Value_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_protobuf_Int64Value_serialize_ex(const google_protobuf_Int64Value* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_Int64Value_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__Int64Value_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_protobuf_Int64Value_clear_value(google_protobuf_Int64Value* msg) { @@ -197,12 +190,12 @@ UPB_INLINE void google_protobuf_Int64Value_set_value(google_protobuf_Int64Value /* google.protobuf.UInt64Value */ UPB_INLINE google_protobuf_UInt64Value* google_protobuf_UInt64Value_new(upb_Arena* arena) { - return (google_protobuf_UInt64Value*)_upb_Message_New(&google_protobuf_UInt64Value_msg_init, arena); + return (google_protobuf_UInt64Value*)_upb_Message_New(&google__protobuf__UInt64Value_msg_init, arena); } UPB_INLINE google_protobuf_UInt64Value* google_protobuf_UInt64Value_parse(const char* buf, size_t size, upb_Arena* arena) { google_protobuf_UInt64Value* ret = google_protobuf_UInt64Value_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_UInt64Value_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__protobuf__UInt64Value_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -212,7 +205,7 @@ UPB_INLINE google_protobuf_UInt64Value* google_protobuf_UInt64Value_parse_ex(con int options, upb_Arena* arena) { google_protobuf_UInt64Value* ret = google_protobuf_UInt64Value_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_UInt64Value_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__protobuf__UInt64Value_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -220,13 +213,13 @@ UPB_INLINE google_protobuf_UInt64Value* google_protobuf_UInt64Value_parse_ex(con } UPB_INLINE char* google_protobuf_UInt64Value_serialize(const google_protobuf_UInt64Value* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_UInt64Value_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__UInt64Value_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_protobuf_UInt64Value_serialize_ex(const google_protobuf_UInt64Value* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_UInt64Value_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__UInt64Value_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_protobuf_UInt64Value_clear_value(google_protobuf_UInt64Value* msg) { @@ -249,12 +242,12 @@ UPB_INLINE void google_protobuf_UInt64Value_set_value(google_protobuf_UInt64Valu /* google.protobuf.Int32Value */ UPB_INLINE google_protobuf_Int32Value* google_protobuf_Int32Value_new(upb_Arena* arena) { - return (google_protobuf_Int32Value*)_upb_Message_New(&google_protobuf_Int32Value_msg_init, arena); + return (google_protobuf_Int32Value*)_upb_Message_New(&google__protobuf__Int32Value_msg_init, arena); } UPB_INLINE google_protobuf_Int32Value* google_protobuf_Int32Value_parse(const char* buf, size_t size, upb_Arena* arena) { google_protobuf_Int32Value* ret = google_protobuf_Int32Value_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Int32Value_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__protobuf__Int32Value_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -264,7 +257,7 @@ UPB_INLINE google_protobuf_Int32Value* google_protobuf_Int32Value_parse_ex(const int options, upb_Arena* arena) { google_protobuf_Int32Value* ret = google_protobuf_Int32Value_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Int32Value_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__protobuf__Int32Value_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -272,13 +265,13 @@ UPB_INLINE google_protobuf_Int32Value* google_protobuf_Int32Value_parse_ex(const } UPB_INLINE char* google_protobuf_Int32Value_serialize(const google_protobuf_Int32Value* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_Int32Value_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__Int32Value_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_protobuf_Int32Value_serialize_ex(const google_protobuf_Int32Value* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_Int32Value_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__Int32Value_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_protobuf_Int32Value_clear_value(google_protobuf_Int32Value* msg) { @@ -301,12 +294,12 @@ UPB_INLINE void google_protobuf_Int32Value_set_value(google_protobuf_Int32Value /* google.protobuf.UInt32Value */ UPB_INLINE google_protobuf_UInt32Value* google_protobuf_UInt32Value_new(upb_Arena* arena) { - return (google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + return (google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); } UPB_INLINE google_protobuf_UInt32Value* google_protobuf_UInt32Value_parse(const char* buf, size_t size, upb_Arena* arena) { google_protobuf_UInt32Value* ret = google_protobuf_UInt32Value_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_UInt32Value_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__protobuf__UInt32Value_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -316,7 +309,7 @@ UPB_INLINE google_protobuf_UInt32Value* google_protobuf_UInt32Value_parse_ex(con int options, upb_Arena* arena) { google_protobuf_UInt32Value* ret = google_protobuf_UInt32Value_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_UInt32Value_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__protobuf__UInt32Value_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -324,13 +317,13 @@ UPB_INLINE google_protobuf_UInt32Value* google_protobuf_UInt32Value_parse_ex(con } UPB_INLINE char* google_protobuf_UInt32Value_serialize(const google_protobuf_UInt32Value* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_UInt32Value_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__UInt32Value_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_protobuf_UInt32Value_serialize_ex(const google_protobuf_UInt32Value* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_UInt32Value_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__UInt32Value_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_protobuf_UInt32Value_clear_value(google_protobuf_UInt32Value* msg) { @@ -353,12 +346,12 @@ UPB_INLINE void google_protobuf_UInt32Value_set_value(google_protobuf_UInt32Valu /* google.protobuf.BoolValue */ UPB_INLINE google_protobuf_BoolValue* google_protobuf_BoolValue_new(upb_Arena* arena) { - return (google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); + return (google_protobuf_BoolValue*)_upb_Message_New(&google__protobuf__BoolValue_msg_init, arena); } UPB_INLINE google_protobuf_BoolValue* google_protobuf_BoolValue_parse(const char* buf, size_t size, upb_Arena* arena) { google_protobuf_BoolValue* ret = google_protobuf_BoolValue_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_BoolValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__protobuf__BoolValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -368,7 +361,7 @@ UPB_INLINE google_protobuf_BoolValue* google_protobuf_BoolValue_parse_ex(const c int options, upb_Arena* arena) { google_protobuf_BoolValue* ret = google_protobuf_BoolValue_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_BoolValue_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__protobuf__BoolValue_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -376,13 +369,13 @@ UPB_INLINE google_protobuf_BoolValue* google_protobuf_BoolValue_parse_ex(const c } UPB_INLINE char* google_protobuf_BoolValue_serialize(const google_protobuf_BoolValue* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_BoolValue_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__BoolValue_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_protobuf_BoolValue_serialize_ex(const google_protobuf_BoolValue* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_BoolValue_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__BoolValue_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_protobuf_BoolValue_clear_value(google_protobuf_BoolValue* msg) { @@ -405,12 +398,12 @@ UPB_INLINE void google_protobuf_BoolValue_set_value(google_protobuf_BoolValue *m /* google.protobuf.StringValue */ UPB_INLINE google_protobuf_StringValue* google_protobuf_StringValue_new(upb_Arena* arena) { - return (google_protobuf_StringValue*)_upb_Message_New(&google_protobuf_StringValue_msg_init, arena); + return (google_protobuf_StringValue*)_upb_Message_New(&google__protobuf__StringValue_msg_init, arena); } UPB_INLINE google_protobuf_StringValue* google_protobuf_StringValue_parse(const char* buf, size_t size, upb_Arena* arena) { google_protobuf_StringValue* ret = google_protobuf_StringValue_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_StringValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__protobuf__StringValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -420,7 +413,7 @@ UPB_INLINE google_protobuf_StringValue* google_protobuf_StringValue_parse_ex(con int options, upb_Arena* arena) { google_protobuf_StringValue* ret = google_protobuf_StringValue_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_StringValue_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__protobuf__StringValue_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -428,13 +421,13 @@ UPB_INLINE google_protobuf_StringValue* google_protobuf_StringValue_parse_ex(con } UPB_INLINE char* google_protobuf_StringValue_serialize(const google_protobuf_StringValue* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_StringValue_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__StringValue_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_protobuf_StringValue_serialize_ex(const google_protobuf_StringValue* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_StringValue_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__StringValue_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_protobuf_StringValue_clear_value(google_protobuf_StringValue* msg) { @@ -457,12 +450,12 @@ UPB_INLINE void google_protobuf_StringValue_set_value(google_protobuf_StringValu /* google.protobuf.BytesValue */ UPB_INLINE google_protobuf_BytesValue* google_protobuf_BytesValue_new(upb_Arena* arena) { - return (google_protobuf_BytesValue*)_upb_Message_New(&google_protobuf_BytesValue_msg_init, arena); + return (google_protobuf_BytesValue*)_upb_Message_New(&google__protobuf__BytesValue_msg_init, arena); } UPB_INLINE google_protobuf_BytesValue* google_protobuf_BytesValue_parse(const char* buf, size_t size, upb_Arena* arena) { google_protobuf_BytesValue* ret = google_protobuf_BytesValue_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_BytesValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &google__protobuf__BytesValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -472,7 +465,7 @@ UPB_INLINE google_protobuf_BytesValue* google_protobuf_BytesValue_parse_ex(const int options, upb_Arena* arena) { google_protobuf_BytesValue* ret = google_protobuf_BytesValue_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_BytesValue_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &google__protobuf__BytesValue_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -480,13 +473,13 @@ UPB_INLINE google_protobuf_BytesValue* google_protobuf_BytesValue_parse_ex(const } UPB_INLINE char* google_protobuf_BytesValue_serialize(const google_protobuf_BytesValue* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_BytesValue_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__BytesValue_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* google_protobuf_BytesValue_serialize_ex(const google_protobuf_BytesValue* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &google_protobuf_BytesValue_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &google__protobuf__BytesValue_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void google_protobuf_BytesValue_clear_value(google_protobuf_BytesValue* msg) { @@ -506,8 +499,6 @@ UPB_INLINE void google_protobuf_BytesValue_set_value(google_protobuf_BytesValue _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile google_protobuf_wrappers_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c b/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c new file mode 100644 index 00000000000..501ed9fa93b --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c @@ -0,0 +1,163 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/wrappers.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "google/protobuf/wrappers.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField google_protobuf_DoubleValue__fields[1] = { + {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__DoubleValue_msg_init = { + NULL, + &google_protobuf_DoubleValue__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000009, &upb_psf8_1bt}, + }) +}; + +static const upb_MiniTableField google_protobuf_FloatValue__fields[1] = { + {1, 0, 0, kUpb_NoSub, 2, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__FloatValue_msg_init = { + NULL, + &google_protobuf_FloatValue__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000d, &upb_psf4_1bt}, + }) +}; + +static const upb_MiniTableField google_protobuf_Int64Value__fields[1] = { + {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__Int64Value_msg_init = { + NULL, + &google_protobuf_Int64Value__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv8_1bt}, + }) +}; + +static const upb_MiniTableField google_protobuf_UInt64Value__fields[1] = { + {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__UInt64Value_msg_init = { + NULL, + &google_protobuf_UInt64Value__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv8_1bt}, + }) +}; + +static const upb_MiniTableField google_protobuf_Int32Value__fields[1] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__Int32Value_msg_init = { + NULL, + &google_protobuf_Int32Value__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + }) +}; + +static const upb_MiniTableField google_protobuf_UInt32Value__fields[1] = { + {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__UInt32Value_msg_init = { + NULL, + &google_protobuf_UInt32Value__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + }) +}; + +static const upb_MiniTableField google_protobuf_BoolValue__fields[1] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__BoolValue_msg_init = { + NULL, + &google_protobuf_BoolValue__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableField google_protobuf_StringValue__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__StringValue_msg_init = { + NULL, + &google_protobuf_StringValue__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField google_protobuf_BytesValue__fields[1] = { + {1, 0, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__protobuf__BytesValue_msg_init = { + NULL, + &google_protobuf_BytesValue__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_psb_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[9] = { + &google__protobuf__DoubleValue_msg_init, + &google__protobuf__FloatValue_msg_init, + &google__protobuf__Int64Value_msg_init, + &google__protobuf__UInt64Value_msg_init, + &google__protobuf__Int32Value_msg_init, + &google__protobuf__UInt32Value_msg_init, + &google__protobuf__BoolValue_msg_init, + &google__protobuf__StringValue_msg_init, + &google__protobuf__BytesValue_msg_init, +}; + +const upb_MiniTableFile google_protobuf_wrappers_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 9, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h b/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h new file mode 100644 index 00000000000..38ea22f3239 --- /dev/null +++ b/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h @@ -0,0 +1,38 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/wrappers.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_PROTOBUF_WRAPPERS_PROTO_UPB_MINITABLE_H_ +#define GOOGLE_PROTOBUF_WRAPPERS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable google__protobuf__DoubleValue_msg_init; +extern const upb_MiniTable google__protobuf__FloatValue_msg_init; +extern const upb_MiniTable google__protobuf__Int64Value_msg_init; +extern const upb_MiniTable google__protobuf__UInt64Value_msg_init; +extern const upb_MiniTable google__protobuf__Int32Value_msg_init; +extern const upb_MiniTable google__protobuf__UInt32Value_msg_init; +extern const upb_MiniTable google__protobuf__BoolValue_msg_init; +extern const upb_MiniTable google__protobuf__StringValue_msg_init; +extern const upb_MiniTable google__protobuf__BytesValue_msg_init; + +extern const upb_MiniTableFile google_protobuf_wrappers_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_PROTOBUF_WRAPPERS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/google/rpc/status.upb.h b/src/core/ext/upb-gen/google/rpc/status.upb.h new file mode 100644 index 00000000000..262fa20986a --- /dev/null +++ b/src/core/ext/upb-gen/google/rpc/status.upb.h @@ -0,0 +1,165 @@ +/* This file was generated by upb_generator from the input file: + * + * google/rpc/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_RPC_STATUS_PROTO_UPB_H_ +#define GOOGLE_RPC_STATUS_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "google/rpc/status.upb_minitable.h" + +#include "google/protobuf/any.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct google_rpc_Status google_rpc_Status; +struct google_protobuf_Any; + + + +/* google.rpc.Status */ + +UPB_INLINE google_rpc_Status* google_rpc_Status_new(upb_Arena* arena) { + return (google_rpc_Status*)_upb_Message_New(&google__rpc__Status_msg_init, arena); +} +UPB_INLINE google_rpc_Status* google_rpc_Status_parse(const char* buf, size_t size, upb_Arena* arena) { + google_rpc_Status* ret = google_rpc_Status_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__rpc__Status_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE google_rpc_Status* google_rpc_Status_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + google_rpc_Status* ret = google_rpc_Status_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &google__rpc__Status_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* google_rpc_Status_serialize(const google_rpc_Status* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__rpc__Status_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* google_rpc_Status_serialize_ex(const google_rpc_Status* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &google__rpc__Status_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void google_rpc_Status_clear_code(google_rpc_Status* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t google_rpc_Status_code(const google_rpc_Status* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void google_rpc_Status_clear_message(google_rpc_Status* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView google_rpc_Status_message(const google_rpc_Status* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void google_rpc_Status_clear_details(google_rpc_Status* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Any* const* google_rpc_Status_details(const google_rpc_Status* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct google_protobuf_Any* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _google_rpc_Status_details_upb_array(const google_rpc_Status* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _google_rpc_Status_details_mutable_upb_array(const google_rpc_Status* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool google_rpc_Status_has_details(const google_rpc_Status* msg) { + size_t size; + google_rpc_Status_details(msg, &size); + return size != 0; +} + +UPB_INLINE void google_rpc_Status_set_code(google_rpc_Status *msg, int32_t value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void google_rpc_Status_set_message(google_rpc_Status *msg, upb_StringView value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Any** google_rpc_Status_mutable_details(google_rpc_Status* msg, size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct google_protobuf_Any**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct google_protobuf_Any** google_rpc_Status_resize_details(google_rpc_Status* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct google_protobuf_Any**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct google_protobuf_Any* google_rpc_Status_add_details(google_rpc_Status* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_RPC_STATUS_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c b/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c new file mode 100644 index 00000000000..f1ccc440662 --- /dev/null +++ b/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c @@ -0,0 +1,52 @@ +/* This file was generated by upb_generator from the input file: + * + * google/rpc/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "google/rpc/status.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub google_rpc_Status_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField google_rpc_Status__fields[3] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable google__rpc__Status_msg_init = { + &google_rpc_Status_submsgs[0], + &google_rpc_Status__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000800003f000012, &upb_pss_1bt}, + {0x001800003f00001a, &upb_prm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &google__rpc__Status_msg_init, +}; + +const upb_MiniTableFile google_rpc_status_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h b/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h new file mode 100644 index 00000000000..bcd12d149e5 --- /dev/null +++ b/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * google/rpc/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_RPC_STATUS_PROTO_UPB_MINITABLE_H_ +#define GOOGLE_RPC_STATUS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable google__rpc__Status_msg_init; + +extern const upb_MiniTableFile google_rpc_status_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_RPC_STATUS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h b/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h similarity index 89% rename from src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h rename to src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h index 8682a1cf76c..1c52aa6ad55 100644 --- a/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +++ b/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * opencensus/proto/trace/v1/trace_config.proto * @@ -10,7 +9,10 @@ #define OPENCENSUS_PROTO_TRACE_V1_TRACE_CONFIG_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "opencensus/proto/trace/v1/trace_config.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -21,10 +23,6 @@ typedef struct opencensus_proto_trace_v1_TraceConfig opencensus_proto_trace_v1_T typedef struct opencensus_proto_trace_v1_ProbabilitySampler opencensus_proto_trace_v1_ProbabilitySampler; typedef struct opencensus_proto_trace_v1_ConstantSampler opencensus_proto_trace_v1_ConstantSampler; typedef struct opencensus_proto_trace_v1_RateLimitingSampler opencensus_proto_trace_v1_RateLimitingSampler; -extern const upb_MiniTable opencensus_proto_trace_v1_TraceConfig_msg_init; -extern const upb_MiniTable opencensus_proto_trace_v1_ProbabilitySampler_msg_init; -extern const upb_MiniTable opencensus_proto_trace_v1_ConstantSampler_msg_init; -extern const upb_MiniTable opencensus_proto_trace_v1_RateLimitingSampler_msg_init; typedef enum { opencensus_proto_trace_v1_ConstantSampler_ALWAYS_OFF = 0, @@ -37,12 +35,12 @@ typedef enum { /* opencensus.proto.trace.v1.TraceConfig */ UPB_INLINE opencensus_proto_trace_v1_TraceConfig* opencensus_proto_trace_v1_TraceConfig_new(upb_Arena* arena) { - return (opencensus_proto_trace_v1_TraceConfig*)_upb_Message_New(&opencensus_proto_trace_v1_TraceConfig_msg_init, arena); + return (opencensus_proto_trace_v1_TraceConfig*)_upb_Message_New(&opencensus__proto__trace__v1__TraceConfig_msg_init, arena); } UPB_INLINE opencensus_proto_trace_v1_TraceConfig* opencensus_proto_trace_v1_TraceConfig_parse(const char* buf, size_t size, upb_Arena* arena) { opencensus_proto_trace_v1_TraceConfig* ret = opencensus_proto_trace_v1_TraceConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &opencensus_proto_trace_v1_TraceConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &opencensus__proto__trace__v1__TraceConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -52,7 +50,7 @@ UPB_INLINE opencensus_proto_trace_v1_TraceConfig* opencensus_proto_trace_v1_Trac int options, upb_Arena* arena) { opencensus_proto_trace_v1_TraceConfig* ret = opencensus_proto_trace_v1_TraceConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &opencensus_proto_trace_v1_TraceConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &opencensus__proto__trace__v1__TraceConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -60,13 +58,13 @@ UPB_INLINE opencensus_proto_trace_v1_TraceConfig* opencensus_proto_trace_v1_Trac } UPB_INLINE char* opencensus_proto_trace_v1_TraceConfig_serialize(const opencensus_proto_trace_v1_TraceConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &opencensus_proto_trace_v1_TraceConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &opencensus__proto__trace__v1__TraceConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* opencensus_proto_trace_v1_TraceConfig_serialize_ex(const opencensus_proto_trace_v1_TraceConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &opencensus_proto_trace_v1_TraceConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &opencensus__proto__trace__v1__TraceConfig_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -176,7 +174,7 @@ UPB_INLINE void opencensus_proto_trace_v1_TraceConfig_set_probability_sampler(op UPB_INLINE struct opencensus_proto_trace_v1_ProbabilitySampler* opencensus_proto_trace_v1_TraceConfig_mutable_probability_sampler(opencensus_proto_trace_v1_TraceConfig* msg, upb_Arena* arena) { struct opencensus_proto_trace_v1_ProbabilitySampler* sub = (struct opencensus_proto_trace_v1_ProbabilitySampler*)opencensus_proto_trace_v1_TraceConfig_probability_sampler(msg); if (sub == NULL) { - sub = (struct opencensus_proto_trace_v1_ProbabilitySampler*)_upb_Message_New(&opencensus_proto_trace_v1_ProbabilitySampler_msg_init, arena); + sub = (struct opencensus_proto_trace_v1_ProbabilitySampler*)_upb_Message_New(&opencensus__proto__trace__v1__ProbabilitySampler_msg_init, arena); if (sub) opencensus_proto_trace_v1_TraceConfig_set_probability_sampler(msg, sub); } return sub; @@ -188,7 +186,7 @@ UPB_INLINE void opencensus_proto_trace_v1_TraceConfig_set_constant_sampler(openc UPB_INLINE struct opencensus_proto_trace_v1_ConstantSampler* opencensus_proto_trace_v1_TraceConfig_mutable_constant_sampler(opencensus_proto_trace_v1_TraceConfig* msg, upb_Arena* arena) { struct opencensus_proto_trace_v1_ConstantSampler* sub = (struct opencensus_proto_trace_v1_ConstantSampler*)opencensus_proto_trace_v1_TraceConfig_constant_sampler(msg); if (sub == NULL) { - sub = (struct opencensus_proto_trace_v1_ConstantSampler*)_upb_Message_New(&opencensus_proto_trace_v1_ConstantSampler_msg_init, arena); + sub = (struct opencensus_proto_trace_v1_ConstantSampler*)_upb_Message_New(&opencensus__proto__trace__v1__ConstantSampler_msg_init, arena); if (sub) opencensus_proto_trace_v1_TraceConfig_set_constant_sampler(msg, sub); } return sub; @@ -200,7 +198,7 @@ UPB_INLINE void opencensus_proto_trace_v1_TraceConfig_set_rate_limiting_sampler( UPB_INLINE struct opencensus_proto_trace_v1_RateLimitingSampler* opencensus_proto_trace_v1_TraceConfig_mutable_rate_limiting_sampler(opencensus_proto_trace_v1_TraceConfig* msg, upb_Arena* arena) { struct opencensus_proto_trace_v1_RateLimitingSampler* sub = (struct opencensus_proto_trace_v1_RateLimitingSampler*)opencensus_proto_trace_v1_TraceConfig_rate_limiting_sampler(msg); if (sub == NULL) { - sub = (struct opencensus_proto_trace_v1_RateLimitingSampler*)_upb_Message_New(&opencensus_proto_trace_v1_RateLimitingSampler_msg_init, arena); + sub = (struct opencensus_proto_trace_v1_RateLimitingSampler*)_upb_Message_New(&opencensus__proto__trace__v1__RateLimitingSampler_msg_init, arena); if (sub) opencensus_proto_trace_v1_TraceConfig_set_rate_limiting_sampler(msg, sub); } return sub; @@ -225,12 +223,12 @@ UPB_INLINE void opencensus_proto_trace_v1_TraceConfig_set_max_number_of_links(op /* opencensus.proto.trace.v1.ProbabilitySampler */ UPB_INLINE opencensus_proto_trace_v1_ProbabilitySampler* opencensus_proto_trace_v1_ProbabilitySampler_new(upb_Arena* arena) { - return (opencensus_proto_trace_v1_ProbabilitySampler*)_upb_Message_New(&opencensus_proto_trace_v1_ProbabilitySampler_msg_init, arena); + return (opencensus_proto_trace_v1_ProbabilitySampler*)_upb_Message_New(&opencensus__proto__trace__v1__ProbabilitySampler_msg_init, arena); } UPB_INLINE opencensus_proto_trace_v1_ProbabilitySampler* opencensus_proto_trace_v1_ProbabilitySampler_parse(const char* buf, size_t size, upb_Arena* arena) { opencensus_proto_trace_v1_ProbabilitySampler* ret = opencensus_proto_trace_v1_ProbabilitySampler_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &opencensus_proto_trace_v1_ProbabilitySampler_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &opencensus__proto__trace__v1__ProbabilitySampler_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -240,7 +238,7 @@ UPB_INLINE opencensus_proto_trace_v1_ProbabilitySampler* opencensus_proto_trace_ int options, upb_Arena* arena) { opencensus_proto_trace_v1_ProbabilitySampler* ret = opencensus_proto_trace_v1_ProbabilitySampler_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &opencensus_proto_trace_v1_ProbabilitySampler_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &opencensus__proto__trace__v1__ProbabilitySampler_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -248,13 +246,13 @@ UPB_INLINE opencensus_proto_trace_v1_ProbabilitySampler* opencensus_proto_trace_ } UPB_INLINE char* opencensus_proto_trace_v1_ProbabilitySampler_serialize(const opencensus_proto_trace_v1_ProbabilitySampler* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &opencensus_proto_trace_v1_ProbabilitySampler_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &opencensus__proto__trace__v1__ProbabilitySampler_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* opencensus_proto_trace_v1_ProbabilitySampler_serialize_ex(const opencensus_proto_trace_v1_ProbabilitySampler* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &opencensus_proto_trace_v1_ProbabilitySampler_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &opencensus__proto__trace__v1__ProbabilitySampler_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void opencensus_proto_trace_v1_ProbabilitySampler_clear_samplingProbability(opencensus_proto_trace_v1_ProbabilitySampler* msg) { @@ -277,12 +275,12 @@ UPB_INLINE void opencensus_proto_trace_v1_ProbabilitySampler_set_samplingProbabi /* opencensus.proto.trace.v1.ConstantSampler */ UPB_INLINE opencensus_proto_trace_v1_ConstantSampler* opencensus_proto_trace_v1_ConstantSampler_new(upb_Arena* arena) { - return (opencensus_proto_trace_v1_ConstantSampler*)_upb_Message_New(&opencensus_proto_trace_v1_ConstantSampler_msg_init, arena); + return (opencensus_proto_trace_v1_ConstantSampler*)_upb_Message_New(&opencensus__proto__trace__v1__ConstantSampler_msg_init, arena); } UPB_INLINE opencensus_proto_trace_v1_ConstantSampler* opencensus_proto_trace_v1_ConstantSampler_parse(const char* buf, size_t size, upb_Arena* arena) { opencensus_proto_trace_v1_ConstantSampler* ret = opencensus_proto_trace_v1_ConstantSampler_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &opencensus_proto_trace_v1_ConstantSampler_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &opencensus__proto__trace__v1__ConstantSampler_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -292,7 +290,7 @@ UPB_INLINE opencensus_proto_trace_v1_ConstantSampler* opencensus_proto_trace_v1_ int options, upb_Arena* arena) { opencensus_proto_trace_v1_ConstantSampler* ret = opencensus_proto_trace_v1_ConstantSampler_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &opencensus_proto_trace_v1_ConstantSampler_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &opencensus__proto__trace__v1__ConstantSampler_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -300,13 +298,13 @@ UPB_INLINE opencensus_proto_trace_v1_ConstantSampler* opencensus_proto_trace_v1_ } UPB_INLINE char* opencensus_proto_trace_v1_ConstantSampler_serialize(const opencensus_proto_trace_v1_ConstantSampler* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &opencensus_proto_trace_v1_ConstantSampler_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &opencensus__proto__trace__v1__ConstantSampler_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* opencensus_proto_trace_v1_ConstantSampler_serialize_ex(const opencensus_proto_trace_v1_ConstantSampler* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &opencensus_proto_trace_v1_ConstantSampler_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &opencensus__proto__trace__v1__ConstantSampler_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void opencensus_proto_trace_v1_ConstantSampler_clear_decision(opencensus_proto_trace_v1_ConstantSampler* msg) { @@ -329,12 +327,12 @@ UPB_INLINE void opencensus_proto_trace_v1_ConstantSampler_set_decision(opencensu /* opencensus.proto.trace.v1.RateLimitingSampler */ UPB_INLINE opencensus_proto_trace_v1_RateLimitingSampler* opencensus_proto_trace_v1_RateLimitingSampler_new(upb_Arena* arena) { - return (opencensus_proto_trace_v1_RateLimitingSampler*)_upb_Message_New(&opencensus_proto_trace_v1_RateLimitingSampler_msg_init, arena); + return (opencensus_proto_trace_v1_RateLimitingSampler*)_upb_Message_New(&opencensus__proto__trace__v1__RateLimitingSampler_msg_init, arena); } UPB_INLINE opencensus_proto_trace_v1_RateLimitingSampler* opencensus_proto_trace_v1_RateLimitingSampler_parse(const char* buf, size_t size, upb_Arena* arena) { opencensus_proto_trace_v1_RateLimitingSampler* ret = opencensus_proto_trace_v1_RateLimitingSampler_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &opencensus_proto_trace_v1_RateLimitingSampler_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &opencensus__proto__trace__v1__RateLimitingSampler_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -344,7 +342,7 @@ UPB_INLINE opencensus_proto_trace_v1_RateLimitingSampler* opencensus_proto_trace int options, upb_Arena* arena) { opencensus_proto_trace_v1_RateLimitingSampler* ret = opencensus_proto_trace_v1_RateLimitingSampler_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &opencensus_proto_trace_v1_RateLimitingSampler_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &opencensus__proto__trace__v1__RateLimitingSampler_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -352,13 +350,13 @@ UPB_INLINE opencensus_proto_trace_v1_RateLimitingSampler* opencensus_proto_trace } UPB_INLINE char* opencensus_proto_trace_v1_RateLimitingSampler_serialize(const opencensus_proto_trace_v1_RateLimitingSampler* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &opencensus_proto_trace_v1_RateLimitingSampler_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &opencensus__proto__trace__v1__RateLimitingSampler_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* opencensus_proto_trace_v1_RateLimitingSampler_serialize_ex(const opencensus_proto_trace_v1_RateLimitingSampler* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &opencensus_proto_trace_v1_RateLimitingSampler_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &opencensus__proto__trace__v1__RateLimitingSampler_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void opencensus_proto_trace_v1_RateLimitingSampler_clear_qps(opencensus_proto_trace_v1_RateLimitingSampler* msg) { @@ -378,8 +376,6 @@ UPB_INLINE void opencensus_proto_trace_v1_RateLimitingSampler_set_qps(opencensus _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile opencensus_proto_trace_v1_trace_config_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c b/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c new file mode 100644 index 00000000000..ad23e5524bb --- /dev/null +++ b/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c @@ -0,0 +1,106 @@ +/* This file was generated by upb_generator from the input file: + * + * opencensus/proto/trace/v1/trace_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "opencensus/proto/trace/v1/trace_config.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub opencensus_proto_trace_v1_TraceConfig_submsgs[3] = { + {.submsg = &opencensus__proto__trace__v1__ProbabilitySampler_msg_init}, + {.submsg = &opencensus__proto__trace__v1__ConstantSampler_msg_init}, + {.submsg = &opencensus__proto__trace__v1__RateLimitingSampler_msg_init}, +}; + +static const upb_MiniTableField opencensus_proto_trace_v1_TraceConfig__fields[7] = { + {1, UPB_SIZE(4, 40), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 40), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 40), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, 16, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {6, 24, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {7, 32, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable opencensus__proto__trace__v1__TraceConfig_msg_init = { + &opencensus_proto_trace_v1_TraceConfig_submsgs[0], + &opencensus_proto_trace_v1_TraceConfig__fields[0], + UPB_SIZE(40, 48), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002800000100000a, &upb_pom_1bt_max64b}, + {0x0028000002010012, &upb_pom_1bt_max64b}, + {0x002800000302001a, &upb_pom_1bt_max64b}, + {0x000800003f000020, &upb_psv8_1bt}, + {0x001000003f000028, &upb_psv8_1bt}, + {0x001800003f000030, &upb_psv8_1bt}, + {0x002000003f000038, &upb_psv8_1bt}, + }) +}; + +static const upb_MiniTableField opencensus_proto_trace_v1_ProbabilitySampler__fields[1] = { + {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable opencensus__proto__trace__v1__ProbabilitySampler_msg_init = { + NULL, + &opencensus_proto_trace_v1_ProbabilitySampler__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000009, &upb_psf8_1bt}, + }) +}; + +static const upb_MiniTableField opencensus_proto_trace_v1_ConstantSampler__fields[1] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable opencensus__proto__trace__v1__ConstantSampler_msg_init = { + NULL, + &opencensus_proto_trace_v1_ConstantSampler__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + }) +}; + +static const upb_MiniTableField opencensus_proto_trace_v1_RateLimitingSampler__fields[1] = { + {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable opencensus__proto__trace__v1__RateLimitingSampler_msg_init = { + NULL, + &opencensus_proto_trace_v1_RateLimitingSampler__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv8_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[4] = { + &opencensus__proto__trace__v1__TraceConfig_msg_init, + &opencensus__proto__trace__v1__ProbabilitySampler_msg_init, + &opencensus__proto__trace__v1__ConstantSampler_msg_init, + &opencensus__proto__trace__v1__RateLimitingSampler_msg_init, +}; + +const upb_MiniTableFile opencensus_proto_trace_v1_trace_config_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 4, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h b/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h new file mode 100644 index 00000000000..f781fd44a35 --- /dev/null +++ b/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h @@ -0,0 +1,33 @@ +/* This file was generated by upb_generator from the input file: + * + * opencensus/proto/trace/v1/trace_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef OPENCENSUS_PROTO_TRACE_V1_TRACE_CONFIG_PROTO_UPB_MINITABLE_H_ +#define OPENCENSUS_PROTO_TRACE_V1_TRACE_CONFIG_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable opencensus__proto__trace__v1__TraceConfig_msg_init; +extern const upb_MiniTable opencensus__proto__trace__v1__ProbabilitySampler_msg_init; +extern const upb_MiniTable opencensus__proto__trace__v1__ConstantSampler_msg_init; +extern const upb_MiniTable opencensus__proto__trace__v1__RateLimitingSampler_msg_init; + +extern const upb_MiniTableFile opencensus_proto_trace_v1_trace_config_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* OPENCENSUS_PROTO_TRACE_V1_TRACE_CONFIG_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h b/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h similarity index 93% rename from src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h rename to src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h index 02221f0c542..aa615c3ffae 100644 --- a/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +++ b/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * src/proto/grpc/gcp/altscontext.proto * @@ -10,7 +9,12 @@ #define SRC_PROTO_GRPC_GCP_ALTSCONTEXT_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "src/proto/grpc/gcp/altscontext.upb_minitable.h" + +#include "src/proto/grpc/gcp/transport_security_common.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,22 +23,19 @@ extern "C" { typedef struct grpc_gcp_AltsContext grpc_gcp_AltsContext; typedef struct grpc_gcp_AltsContext_PeerAttributesEntry grpc_gcp_AltsContext_PeerAttributesEntry; -extern const upb_MiniTable grpc_gcp_AltsContext_msg_init; -extern const upb_MiniTable grpc_gcp_AltsContext_PeerAttributesEntry_msg_init; struct grpc_gcp_RpcProtocolVersions; -extern const upb_MiniTable grpc_gcp_RpcProtocolVersions_msg_init; /* grpc.gcp.AltsContext */ UPB_INLINE grpc_gcp_AltsContext* grpc_gcp_AltsContext_new(upb_Arena* arena) { - return (grpc_gcp_AltsContext*)_upb_Message_New(&grpc_gcp_AltsContext_msg_init, arena); + return (grpc_gcp_AltsContext*)_upb_Message_New(&grpc__gcp__AltsContext_msg_init, arena); } UPB_INLINE grpc_gcp_AltsContext* grpc_gcp_AltsContext_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_gcp_AltsContext* ret = grpc_gcp_AltsContext_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_AltsContext_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__gcp__AltsContext_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -44,7 +45,7 @@ UPB_INLINE grpc_gcp_AltsContext* grpc_gcp_AltsContext_parse_ex(const char* buf, int options, upb_Arena* arena) { grpc_gcp_AltsContext* ret = grpc_gcp_AltsContext_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_AltsContext_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__gcp__AltsContext_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -52,13 +53,13 @@ UPB_INLINE grpc_gcp_AltsContext* grpc_gcp_AltsContext_parse_ex(const char* buf, } UPB_INLINE char* grpc_gcp_AltsContext_serialize(const grpc_gcp_AltsContext* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_AltsContext_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__AltsContext_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_gcp_AltsContext_serialize_ex(const grpc_gcp_AltsContext* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_AltsContext_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__AltsContext_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_gcp_AltsContext_clear_application_protocol(grpc_gcp_AltsContext* msg) { @@ -180,7 +181,7 @@ UPB_INLINE void grpc_gcp_AltsContext_set_peer_rpc_versions(grpc_gcp_AltsContext UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_AltsContext_mutable_peer_rpc_versions(grpc_gcp_AltsContext* msg, upb_Arena* arena) { struct grpc_gcp_RpcProtocolVersions* sub = (struct grpc_gcp_RpcProtocolVersions*)grpc_gcp_AltsContext_peer_rpc_versions(msg); if (sub == NULL) { - sub = (struct grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc_gcp_RpcProtocolVersions_msg_init, arena); + sub = (struct grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc__gcp__RpcProtocolVersions_msg_init, arena); if (sub) grpc_gcp_AltsContext_set_peer_rpc_versions(msg, sub); } return sub; @@ -227,8 +228,6 @@ UPB_INLINE void grpc_gcp_AltsContext_PeerAttributesEntry_set_value(grpc_gcp_Alts _upb_msg_map_set_value(msg, &value, 0); } -extern const upb_MiniTableFile src_proto_grpc_gcp_altscontext_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c b/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c new file mode 100644 index 00000000000..249eaf8b54b --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c @@ -0,0 +1,79 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/gcp/altscontext.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "src/proto/grpc/gcp/altscontext.upb_minitable.h" +#include "src/proto/grpc/gcp/transport_security_common.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub grpc_gcp_AltsContext_submsgs[2] = { + {.submsg = &grpc__gcp__RpcProtocolVersions_msg_init}, + {.submsg = &grpc__gcp__AltsContext__PeerAttributesEntry_msg_init}, +}; + +static const upb_MiniTableField grpc_gcp_AltsContext__fields[7] = { + {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(40, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(8, 72), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(12, 80), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__AltsContext_msg_init = { + &grpc_gcp_AltsContext_submsgs[0], + &grpc_gcp_AltsContext__fields[0], + UPB_SIZE(48, 88), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x000400003f000018, &upb_psv4_1bt}, + {0x002800003f000022, &upb_pss_1bt}, + {0x003800003f00002a, &upb_pss_1bt}, + {0x0048000001000032, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField grpc_gcp_AltsContext_PeerAttributesEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__AltsContext__PeerAttributesEntry_msg_init = { + NULL, + &grpc_gcp_AltsContext_PeerAttributesEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &grpc__gcp__AltsContext_msg_init, + &grpc__gcp__AltsContext__PeerAttributesEntry_msg_init, +}; + +const upb_MiniTableFile src_proto_grpc_gcp_altscontext_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h b/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h new file mode 100644 index 00000000000..07231cf05c1 --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/gcp/altscontext.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef SRC_PROTO_GRPC_GCP_ALTSCONTEXT_PROTO_UPB_MINITABLE_H_ +#define SRC_PROTO_GRPC_GCP_ALTSCONTEXT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable grpc__gcp__AltsContext_msg_init; +extern const upb_MiniTable grpc__gcp__AltsContext__PeerAttributesEntry_msg_init; + +extern const upb_MiniTableFile src_proto_grpc_gcp_altscontext_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* SRC_PROTO_GRPC_GCP_ALTSCONTEXT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h b/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h similarity index 93% rename from src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h rename to src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h index 51ccd0cfe37..2413e661b9f 100644 --- a/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +++ b/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * src/proto/grpc/gcp/handshaker.proto * @@ -10,7 +9,12 @@ #define SRC_PROTO_GRPC_GCP_HANDSHAKER_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "src/proto/grpc/gcp/handshaker.upb_minitable.h" + +#include "src/proto/grpc/gcp/transport_security_common.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -29,20 +33,7 @@ typedef struct grpc_gcp_HandshakerReq grpc_gcp_HandshakerReq; typedef struct grpc_gcp_HandshakerResult grpc_gcp_HandshakerResult; typedef struct grpc_gcp_HandshakerStatus grpc_gcp_HandshakerStatus; typedef struct grpc_gcp_HandshakerResp grpc_gcp_HandshakerResp; -extern const upb_MiniTable grpc_gcp_Endpoint_msg_init; -extern const upb_MiniTable grpc_gcp_Identity_msg_init; -extern const upb_MiniTable grpc_gcp_Identity_AttributesEntry_msg_init; -extern const upb_MiniTable grpc_gcp_StartClientHandshakeReq_msg_init; -extern const upb_MiniTable grpc_gcp_ServerHandshakeParameters_msg_init; -extern const upb_MiniTable grpc_gcp_StartServerHandshakeReq_msg_init; -extern const upb_MiniTable grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_msg_init; -extern const upb_MiniTable grpc_gcp_NextHandshakeMessageReq_msg_init; -extern const upb_MiniTable grpc_gcp_HandshakerReq_msg_init; -extern const upb_MiniTable grpc_gcp_HandshakerResult_msg_init; -extern const upb_MiniTable grpc_gcp_HandshakerStatus_msg_init; -extern const upb_MiniTable grpc_gcp_HandshakerResp_msg_init; struct grpc_gcp_RpcProtocolVersions; -extern const upb_MiniTable grpc_gcp_RpcProtocolVersions_msg_init; typedef enum { grpc_gcp_HANDSHAKE_PROTOCOL_UNSPECIFIED = 0, @@ -61,12 +52,12 @@ typedef enum { /* grpc.gcp.Endpoint */ UPB_INLINE grpc_gcp_Endpoint* grpc_gcp_Endpoint_new(upb_Arena* arena) { - return (grpc_gcp_Endpoint*)_upb_Message_New(&grpc_gcp_Endpoint_msg_init, arena); + return (grpc_gcp_Endpoint*)_upb_Message_New(&grpc__gcp__Endpoint_msg_init, arena); } UPB_INLINE grpc_gcp_Endpoint* grpc_gcp_Endpoint_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_gcp_Endpoint* ret = grpc_gcp_Endpoint_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_Endpoint_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__gcp__Endpoint_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -76,7 +67,7 @@ UPB_INLINE grpc_gcp_Endpoint* grpc_gcp_Endpoint_parse_ex(const char* buf, size_t int options, upb_Arena* arena) { grpc_gcp_Endpoint* ret = grpc_gcp_Endpoint_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_Endpoint_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__gcp__Endpoint_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -84,13 +75,13 @@ UPB_INLINE grpc_gcp_Endpoint* grpc_gcp_Endpoint_parse_ex(const char* buf, size_t } UPB_INLINE char* grpc_gcp_Endpoint_serialize(const grpc_gcp_Endpoint* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_Endpoint_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__Endpoint_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_gcp_Endpoint_serialize_ex(const grpc_gcp_Endpoint* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_Endpoint_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__Endpoint_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_gcp_Endpoint_clear_ip_address(grpc_gcp_Endpoint* msg) { @@ -143,12 +134,12 @@ UPB_INLINE void grpc_gcp_Endpoint_set_protocol(grpc_gcp_Endpoint *msg, int32_t v /* grpc.gcp.Identity */ UPB_INLINE grpc_gcp_Identity* grpc_gcp_Identity_new(upb_Arena* arena) { - return (grpc_gcp_Identity*)_upb_Message_New(&grpc_gcp_Identity_msg_init, arena); + return (grpc_gcp_Identity*)_upb_Message_New(&grpc__gcp__Identity_msg_init, arena); } UPB_INLINE grpc_gcp_Identity* grpc_gcp_Identity_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_gcp_Identity* ret = grpc_gcp_Identity_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_Identity_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__gcp__Identity_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -158,7 +149,7 @@ UPB_INLINE grpc_gcp_Identity* grpc_gcp_Identity_parse_ex(const char* buf, size_t int options, upb_Arena* arena) { grpc_gcp_Identity* ret = grpc_gcp_Identity_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_Identity_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__gcp__Identity_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -166,13 +157,13 @@ UPB_INLINE grpc_gcp_Identity* grpc_gcp_Identity_parse_ex(const char* buf, size_t } UPB_INLINE char* grpc_gcp_Identity_serialize(const grpc_gcp_Identity* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_Identity_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__Identity_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_gcp_Identity_serialize_ex(const grpc_gcp_Identity* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_Identity_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__Identity_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -289,12 +280,12 @@ UPB_INLINE void grpc_gcp_Identity_AttributesEntry_set_value(grpc_gcp_Identity_At /* grpc.gcp.StartClientHandshakeReq */ UPB_INLINE grpc_gcp_StartClientHandshakeReq* grpc_gcp_StartClientHandshakeReq_new(upb_Arena* arena) { - return (grpc_gcp_StartClientHandshakeReq*)_upb_Message_New(&grpc_gcp_StartClientHandshakeReq_msg_init, arena); + return (grpc_gcp_StartClientHandshakeReq*)_upb_Message_New(&grpc__gcp__StartClientHandshakeReq_msg_init, arena); } UPB_INLINE grpc_gcp_StartClientHandshakeReq* grpc_gcp_StartClientHandshakeReq_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_gcp_StartClientHandshakeReq* ret = grpc_gcp_StartClientHandshakeReq_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_StartClientHandshakeReq_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__gcp__StartClientHandshakeReq_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -304,7 +295,7 @@ UPB_INLINE grpc_gcp_StartClientHandshakeReq* grpc_gcp_StartClientHandshakeReq_pa int options, upb_Arena* arena) { grpc_gcp_StartClientHandshakeReq* ret = grpc_gcp_StartClientHandshakeReq_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_StartClientHandshakeReq_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__gcp__StartClientHandshakeReq_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -312,13 +303,13 @@ UPB_INLINE grpc_gcp_StartClientHandshakeReq* grpc_gcp_StartClientHandshakeReq_pa } UPB_INLINE char* grpc_gcp_StartClientHandshakeReq_serialize(const grpc_gcp_StartClientHandshakeReq* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_StartClientHandshakeReq_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__StartClientHandshakeReq_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_gcp_StartClientHandshakeReq_serialize_ex(const grpc_gcp_StartClientHandshakeReq* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_StartClientHandshakeReq_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__StartClientHandshakeReq_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_gcp_StartClientHandshakeReq_clear_handshake_security_protocol(grpc_gcp_StartClientHandshakeReq* msg) { @@ -599,7 +590,7 @@ UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_StartClientHandshakeReq_add_target if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)_upb_Message_New(&grpc_gcp_Identity_msg_init, arena); + struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)_upb_Message_New(&grpc__gcp__Identity_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -611,7 +602,7 @@ UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_local_identity(grpc_gcp_Sta UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_StartClientHandshakeReq_mutable_local_identity(grpc_gcp_StartClientHandshakeReq* msg, upb_Arena* arena) { struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)grpc_gcp_StartClientHandshakeReq_local_identity(msg); if (sub == NULL) { - sub = (struct grpc_gcp_Identity*)_upb_Message_New(&grpc_gcp_Identity_msg_init, arena); + sub = (struct grpc_gcp_Identity*)_upb_Message_New(&grpc__gcp__Identity_msg_init, arena); if (sub) grpc_gcp_StartClientHandshakeReq_set_local_identity(msg, sub); } return sub; @@ -623,7 +614,7 @@ UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_local_endpoint(grpc_gcp_Sta UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_mutable_local_endpoint(grpc_gcp_StartClientHandshakeReq* msg, upb_Arena* arena) { struct grpc_gcp_Endpoint* sub = (struct grpc_gcp_Endpoint*)grpc_gcp_StartClientHandshakeReq_local_endpoint(msg); if (sub == NULL) { - sub = (struct grpc_gcp_Endpoint*)_upb_Message_New(&grpc_gcp_Endpoint_msg_init, arena); + sub = (struct grpc_gcp_Endpoint*)_upb_Message_New(&grpc__gcp__Endpoint_msg_init, arena); if (sub) grpc_gcp_StartClientHandshakeReq_set_local_endpoint(msg, sub); } return sub; @@ -635,7 +626,7 @@ UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_remote_endpoint(grpc_gcp_St UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_mutable_remote_endpoint(grpc_gcp_StartClientHandshakeReq* msg, upb_Arena* arena) { struct grpc_gcp_Endpoint* sub = (struct grpc_gcp_Endpoint*)grpc_gcp_StartClientHandshakeReq_remote_endpoint(msg); if (sub == NULL) { - sub = (struct grpc_gcp_Endpoint*)_upb_Message_New(&grpc_gcp_Endpoint_msg_init, arena); + sub = (struct grpc_gcp_Endpoint*)_upb_Message_New(&grpc__gcp__Endpoint_msg_init, arena); if (sub) grpc_gcp_StartClientHandshakeReq_set_remote_endpoint(msg, sub); } return sub; @@ -651,7 +642,7 @@ UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_rpc_versions(grpc_gcp_Start UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartClientHandshakeReq_mutable_rpc_versions(grpc_gcp_StartClientHandshakeReq* msg, upb_Arena* arena) { struct grpc_gcp_RpcProtocolVersions* sub = (struct grpc_gcp_RpcProtocolVersions*)grpc_gcp_StartClientHandshakeReq_rpc_versions(msg); if (sub == NULL) { - sub = (struct grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc_gcp_RpcProtocolVersions_msg_init, arena); + sub = (struct grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc__gcp__RpcProtocolVersions_msg_init, arena); if (sub) grpc_gcp_StartClientHandshakeReq_set_rpc_versions(msg, sub); } return sub; @@ -664,12 +655,12 @@ UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_max_frame_size(grpc_gcp_Sta /* grpc.gcp.ServerHandshakeParameters */ UPB_INLINE grpc_gcp_ServerHandshakeParameters* grpc_gcp_ServerHandshakeParameters_new(upb_Arena* arena) { - return (grpc_gcp_ServerHandshakeParameters*)_upb_Message_New(&grpc_gcp_ServerHandshakeParameters_msg_init, arena); + return (grpc_gcp_ServerHandshakeParameters*)_upb_Message_New(&grpc__gcp__ServerHandshakeParameters_msg_init, arena); } UPB_INLINE grpc_gcp_ServerHandshakeParameters* grpc_gcp_ServerHandshakeParameters_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_gcp_ServerHandshakeParameters* ret = grpc_gcp_ServerHandshakeParameters_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_ServerHandshakeParameters_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__gcp__ServerHandshakeParameters_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -679,7 +670,7 @@ UPB_INLINE grpc_gcp_ServerHandshakeParameters* grpc_gcp_ServerHandshakeParameter int options, upb_Arena* arena) { grpc_gcp_ServerHandshakeParameters* ret = grpc_gcp_ServerHandshakeParameters_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_ServerHandshakeParameters_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__gcp__ServerHandshakeParameters_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -687,13 +678,13 @@ UPB_INLINE grpc_gcp_ServerHandshakeParameters* grpc_gcp_ServerHandshakeParameter } UPB_INLINE char* grpc_gcp_ServerHandshakeParameters_serialize(const grpc_gcp_ServerHandshakeParameters* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_ServerHandshakeParameters_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__ServerHandshakeParameters_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_gcp_ServerHandshakeParameters_serialize_ex(const grpc_gcp_ServerHandshakeParameters* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_ServerHandshakeParameters_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__ServerHandshakeParameters_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_gcp_ServerHandshakeParameters_clear_record_protocols(grpc_gcp_ServerHandshakeParameters* msg) { @@ -816,7 +807,7 @@ UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_ServerHandshakeParameters_add_loca if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)_upb_Message_New(&grpc_gcp_Identity_msg_init, arena); + struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)_upb_Message_New(&grpc__gcp__Identity_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -825,12 +816,12 @@ UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_ServerHandshakeParameters_add_loca /* grpc.gcp.StartServerHandshakeReq */ UPB_INLINE grpc_gcp_StartServerHandshakeReq* grpc_gcp_StartServerHandshakeReq_new(upb_Arena* arena) { - return (grpc_gcp_StartServerHandshakeReq*)_upb_Message_New(&grpc_gcp_StartServerHandshakeReq_msg_init, arena); + return (grpc_gcp_StartServerHandshakeReq*)_upb_Message_New(&grpc__gcp__StartServerHandshakeReq_msg_init, arena); } UPB_INLINE grpc_gcp_StartServerHandshakeReq* grpc_gcp_StartServerHandshakeReq_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_gcp_StartServerHandshakeReq* ret = grpc_gcp_StartServerHandshakeReq_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_StartServerHandshakeReq_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__gcp__StartServerHandshakeReq_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -840,7 +831,7 @@ UPB_INLINE grpc_gcp_StartServerHandshakeReq* grpc_gcp_StartServerHandshakeReq_pa int options, upb_Arena* arena) { grpc_gcp_StartServerHandshakeReq* ret = grpc_gcp_StartServerHandshakeReq_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_StartServerHandshakeReq_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__gcp__StartServerHandshakeReq_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -848,13 +839,13 @@ UPB_INLINE grpc_gcp_StartServerHandshakeReq* grpc_gcp_StartServerHandshakeReq_pa } UPB_INLINE char* grpc_gcp_StartServerHandshakeReq_serialize(const grpc_gcp_StartServerHandshakeReq* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_StartServerHandshakeReq_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__StartServerHandshakeReq_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_gcp_StartServerHandshakeReq_serialize_ex(const grpc_gcp_StartServerHandshakeReq* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_StartServerHandshakeReq_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__StartServerHandshakeReq_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_gcp_StartServerHandshakeReq_clear_application_protocols(grpc_gcp_StartServerHandshakeReq* msg) { @@ -1042,7 +1033,7 @@ UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_local_endpoint(grpc_gcp_Sta UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_mutable_local_endpoint(grpc_gcp_StartServerHandshakeReq* msg, upb_Arena* arena) { struct grpc_gcp_Endpoint* sub = (struct grpc_gcp_Endpoint*)grpc_gcp_StartServerHandshakeReq_local_endpoint(msg); if (sub == NULL) { - sub = (struct grpc_gcp_Endpoint*)_upb_Message_New(&grpc_gcp_Endpoint_msg_init, arena); + sub = (struct grpc_gcp_Endpoint*)_upb_Message_New(&grpc__gcp__Endpoint_msg_init, arena); if (sub) grpc_gcp_StartServerHandshakeReq_set_local_endpoint(msg, sub); } return sub; @@ -1054,7 +1045,7 @@ UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_remote_endpoint(grpc_gcp_St UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_mutable_remote_endpoint(grpc_gcp_StartServerHandshakeReq* msg, upb_Arena* arena) { struct grpc_gcp_Endpoint* sub = (struct grpc_gcp_Endpoint*)grpc_gcp_StartServerHandshakeReq_remote_endpoint(msg); if (sub == NULL) { - sub = (struct grpc_gcp_Endpoint*)_upb_Message_New(&grpc_gcp_Endpoint_msg_init, arena); + sub = (struct grpc_gcp_Endpoint*)_upb_Message_New(&grpc__gcp__Endpoint_msg_init, arena); if (sub) grpc_gcp_StartServerHandshakeReq_set_remote_endpoint(msg, sub); } return sub; @@ -1066,7 +1057,7 @@ UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_rpc_versions(grpc_gcp_Start UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartServerHandshakeReq_mutable_rpc_versions(grpc_gcp_StartServerHandshakeReq* msg, upb_Arena* arena) { struct grpc_gcp_RpcProtocolVersions* sub = (struct grpc_gcp_RpcProtocolVersions*)grpc_gcp_StartServerHandshakeReq_rpc_versions(msg); if (sub == NULL) { - sub = (struct grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc_gcp_RpcProtocolVersions_msg_init, arena); + sub = (struct grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc__gcp__RpcProtocolVersions_msg_init, arena); if (sub) grpc_gcp_StartServerHandshakeReq_set_rpc_versions(msg, sub); } return sub; @@ -1100,12 +1091,12 @@ UPB_INLINE void grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_set_va /* grpc.gcp.NextHandshakeMessageReq */ UPB_INLINE grpc_gcp_NextHandshakeMessageReq* grpc_gcp_NextHandshakeMessageReq_new(upb_Arena* arena) { - return (grpc_gcp_NextHandshakeMessageReq*)_upb_Message_New(&grpc_gcp_NextHandshakeMessageReq_msg_init, arena); + return (grpc_gcp_NextHandshakeMessageReq*)_upb_Message_New(&grpc__gcp__NextHandshakeMessageReq_msg_init, arena); } UPB_INLINE grpc_gcp_NextHandshakeMessageReq* grpc_gcp_NextHandshakeMessageReq_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_gcp_NextHandshakeMessageReq* ret = grpc_gcp_NextHandshakeMessageReq_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_NextHandshakeMessageReq_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__gcp__NextHandshakeMessageReq_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1115,7 +1106,7 @@ UPB_INLINE grpc_gcp_NextHandshakeMessageReq* grpc_gcp_NextHandshakeMessageReq_pa int options, upb_Arena* arena) { grpc_gcp_NextHandshakeMessageReq* ret = grpc_gcp_NextHandshakeMessageReq_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_NextHandshakeMessageReq_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__gcp__NextHandshakeMessageReq_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1123,13 +1114,13 @@ UPB_INLINE grpc_gcp_NextHandshakeMessageReq* grpc_gcp_NextHandshakeMessageReq_pa } UPB_INLINE char* grpc_gcp_NextHandshakeMessageReq_serialize(const grpc_gcp_NextHandshakeMessageReq* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_NextHandshakeMessageReq_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__NextHandshakeMessageReq_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_gcp_NextHandshakeMessageReq_serialize_ex(const grpc_gcp_NextHandshakeMessageReq* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_NextHandshakeMessageReq_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__NextHandshakeMessageReq_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_gcp_NextHandshakeMessageReq_clear_in_bytes(grpc_gcp_NextHandshakeMessageReq* msg) { @@ -1152,12 +1143,12 @@ UPB_INLINE void grpc_gcp_NextHandshakeMessageReq_set_in_bytes(grpc_gcp_NextHands /* grpc.gcp.HandshakerReq */ UPB_INLINE grpc_gcp_HandshakerReq* grpc_gcp_HandshakerReq_new(upb_Arena* arena) { - return (grpc_gcp_HandshakerReq*)_upb_Message_New(&grpc_gcp_HandshakerReq_msg_init, arena); + return (grpc_gcp_HandshakerReq*)_upb_Message_New(&grpc__gcp__HandshakerReq_msg_init, arena); } UPB_INLINE grpc_gcp_HandshakerReq* grpc_gcp_HandshakerReq_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_gcp_HandshakerReq* ret = grpc_gcp_HandshakerReq_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_HandshakerReq_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__gcp__HandshakerReq_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1167,7 +1158,7 @@ UPB_INLINE grpc_gcp_HandshakerReq* grpc_gcp_HandshakerReq_parse_ex(const char* b int options, upb_Arena* arena) { grpc_gcp_HandshakerReq* ret = grpc_gcp_HandshakerReq_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_HandshakerReq_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__gcp__HandshakerReq_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1175,13 +1166,13 @@ UPB_INLINE grpc_gcp_HandshakerReq* grpc_gcp_HandshakerReq_parse_ex(const char* b } UPB_INLINE char* grpc_gcp_HandshakerReq_serialize(const grpc_gcp_HandshakerReq* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_HandshakerReq_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__HandshakerReq_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_gcp_HandshakerReq_serialize_ex(const grpc_gcp_HandshakerReq* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_HandshakerReq_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__HandshakerReq_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -1247,7 +1238,7 @@ UPB_INLINE void grpc_gcp_HandshakerReq_set_client_start(grpc_gcp_HandshakerReq * UPB_INLINE struct grpc_gcp_StartClientHandshakeReq* grpc_gcp_HandshakerReq_mutable_client_start(grpc_gcp_HandshakerReq* msg, upb_Arena* arena) { struct grpc_gcp_StartClientHandshakeReq* sub = (struct grpc_gcp_StartClientHandshakeReq*)grpc_gcp_HandshakerReq_client_start(msg); if (sub == NULL) { - sub = (struct grpc_gcp_StartClientHandshakeReq*)_upb_Message_New(&grpc_gcp_StartClientHandshakeReq_msg_init, arena); + sub = (struct grpc_gcp_StartClientHandshakeReq*)_upb_Message_New(&grpc__gcp__StartClientHandshakeReq_msg_init, arena); if (sub) grpc_gcp_HandshakerReq_set_client_start(msg, sub); } return sub; @@ -1259,7 +1250,7 @@ UPB_INLINE void grpc_gcp_HandshakerReq_set_server_start(grpc_gcp_HandshakerReq * UPB_INLINE struct grpc_gcp_StartServerHandshakeReq* grpc_gcp_HandshakerReq_mutable_server_start(grpc_gcp_HandshakerReq* msg, upb_Arena* arena) { struct grpc_gcp_StartServerHandshakeReq* sub = (struct grpc_gcp_StartServerHandshakeReq*)grpc_gcp_HandshakerReq_server_start(msg); if (sub == NULL) { - sub = (struct grpc_gcp_StartServerHandshakeReq*)_upb_Message_New(&grpc_gcp_StartServerHandshakeReq_msg_init, arena); + sub = (struct grpc_gcp_StartServerHandshakeReq*)_upb_Message_New(&grpc__gcp__StartServerHandshakeReq_msg_init, arena); if (sub) grpc_gcp_HandshakerReq_set_server_start(msg, sub); } return sub; @@ -1271,7 +1262,7 @@ UPB_INLINE void grpc_gcp_HandshakerReq_set_next(grpc_gcp_HandshakerReq *msg, grp UPB_INLINE struct grpc_gcp_NextHandshakeMessageReq* grpc_gcp_HandshakerReq_mutable_next(grpc_gcp_HandshakerReq* msg, upb_Arena* arena) { struct grpc_gcp_NextHandshakeMessageReq* sub = (struct grpc_gcp_NextHandshakeMessageReq*)grpc_gcp_HandshakerReq_next(msg); if (sub == NULL) { - sub = (struct grpc_gcp_NextHandshakeMessageReq*)_upb_Message_New(&grpc_gcp_NextHandshakeMessageReq_msg_init, arena); + sub = (struct grpc_gcp_NextHandshakeMessageReq*)_upb_Message_New(&grpc__gcp__NextHandshakeMessageReq_msg_init, arena); if (sub) grpc_gcp_HandshakerReq_set_next(msg, sub); } return sub; @@ -1280,12 +1271,12 @@ UPB_INLINE struct grpc_gcp_NextHandshakeMessageReq* grpc_gcp_HandshakerReq_mutab /* grpc.gcp.HandshakerResult */ UPB_INLINE grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResult_new(upb_Arena* arena) { - return (grpc_gcp_HandshakerResult*)_upb_Message_New(&grpc_gcp_HandshakerResult_msg_init, arena); + return (grpc_gcp_HandshakerResult*)_upb_Message_New(&grpc__gcp__HandshakerResult_msg_init, arena); } UPB_INLINE grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResult_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_gcp_HandshakerResult* ret = grpc_gcp_HandshakerResult_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_HandshakerResult_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__gcp__HandshakerResult_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1295,7 +1286,7 @@ UPB_INLINE grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResult_parse_ex(const c int options, upb_Arena* arena) { grpc_gcp_HandshakerResult* ret = grpc_gcp_HandshakerResult_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_HandshakerResult_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__gcp__HandshakerResult_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1303,13 +1294,13 @@ UPB_INLINE grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResult_parse_ex(const c } UPB_INLINE char* grpc_gcp_HandshakerResult_serialize(const grpc_gcp_HandshakerResult* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_HandshakerResult_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__HandshakerResult_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_gcp_HandshakerResult_serialize_ex(const grpc_gcp_HandshakerResult* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_HandshakerResult_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__HandshakerResult_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_gcp_HandshakerResult_clear_application_protocol(grpc_gcp_HandshakerResult* msg) { @@ -1432,7 +1423,7 @@ UPB_INLINE void grpc_gcp_HandshakerResult_set_peer_identity(grpc_gcp_HandshakerR UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_HandshakerResult_mutable_peer_identity(grpc_gcp_HandshakerResult* msg, upb_Arena* arena) { struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)grpc_gcp_HandshakerResult_peer_identity(msg); if (sub == NULL) { - sub = (struct grpc_gcp_Identity*)_upb_Message_New(&grpc_gcp_Identity_msg_init, arena); + sub = (struct grpc_gcp_Identity*)_upb_Message_New(&grpc__gcp__Identity_msg_init, arena); if (sub) grpc_gcp_HandshakerResult_set_peer_identity(msg, sub); } return sub; @@ -1444,7 +1435,7 @@ UPB_INLINE void grpc_gcp_HandshakerResult_set_local_identity(grpc_gcp_Handshaker UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_HandshakerResult_mutable_local_identity(grpc_gcp_HandshakerResult* msg, upb_Arena* arena) { struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)grpc_gcp_HandshakerResult_local_identity(msg); if (sub == NULL) { - sub = (struct grpc_gcp_Identity*)_upb_Message_New(&grpc_gcp_Identity_msg_init, arena); + sub = (struct grpc_gcp_Identity*)_upb_Message_New(&grpc__gcp__Identity_msg_init, arena); if (sub) grpc_gcp_HandshakerResult_set_local_identity(msg, sub); } return sub; @@ -1460,7 +1451,7 @@ UPB_INLINE void grpc_gcp_HandshakerResult_set_peer_rpc_versions(grpc_gcp_Handsha UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_HandshakerResult_mutable_peer_rpc_versions(grpc_gcp_HandshakerResult* msg, upb_Arena* arena) { struct grpc_gcp_RpcProtocolVersions* sub = (struct grpc_gcp_RpcProtocolVersions*)grpc_gcp_HandshakerResult_peer_rpc_versions(msg); if (sub == NULL) { - sub = (struct grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc_gcp_RpcProtocolVersions_msg_init, arena); + sub = (struct grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc__gcp__RpcProtocolVersions_msg_init, arena); if (sub) grpc_gcp_HandshakerResult_set_peer_rpc_versions(msg, sub); } return sub; @@ -1473,12 +1464,12 @@ UPB_INLINE void grpc_gcp_HandshakerResult_set_max_frame_size(grpc_gcp_Handshaker /* grpc.gcp.HandshakerStatus */ UPB_INLINE grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerStatus_new(upb_Arena* arena) { - return (grpc_gcp_HandshakerStatus*)_upb_Message_New(&grpc_gcp_HandshakerStatus_msg_init, arena); + return (grpc_gcp_HandshakerStatus*)_upb_Message_New(&grpc__gcp__HandshakerStatus_msg_init, arena); } UPB_INLINE grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerStatus_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_gcp_HandshakerStatus* ret = grpc_gcp_HandshakerStatus_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_HandshakerStatus_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__gcp__HandshakerStatus_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1488,7 +1479,7 @@ UPB_INLINE grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerStatus_parse_ex(const c int options, upb_Arena* arena) { grpc_gcp_HandshakerStatus* ret = grpc_gcp_HandshakerStatus_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_HandshakerStatus_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__gcp__HandshakerStatus_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1496,13 +1487,13 @@ UPB_INLINE grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerStatus_parse_ex(const c } UPB_INLINE char* grpc_gcp_HandshakerStatus_serialize(const grpc_gcp_HandshakerStatus* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_HandshakerStatus_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__HandshakerStatus_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_gcp_HandshakerStatus_serialize_ex(const grpc_gcp_HandshakerStatus* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_HandshakerStatus_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__HandshakerStatus_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_gcp_HandshakerStatus_clear_code(grpc_gcp_HandshakerStatus* msg) { @@ -1540,12 +1531,12 @@ UPB_INLINE void grpc_gcp_HandshakerStatus_set_details(grpc_gcp_HandshakerStatus /* grpc.gcp.HandshakerResp */ UPB_INLINE grpc_gcp_HandshakerResp* grpc_gcp_HandshakerResp_new(upb_Arena* arena) { - return (grpc_gcp_HandshakerResp*)_upb_Message_New(&grpc_gcp_HandshakerResp_msg_init, arena); + return (grpc_gcp_HandshakerResp*)_upb_Message_New(&grpc__gcp__HandshakerResp_msg_init, arena); } UPB_INLINE grpc_gcp_HandshakerResp* grpc_gcp_HandshakerResp_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_gcp_HandshakerResp* ret = grpc_gcp_HandshakerResp_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_HandshakerResp_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__gcp__HandshakerResp_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1555,7 +1546,7 @@ UPB_INLINE grpc_gcp_HandshakerResp* grpc_gcp_HandshakerResp_parse_ex(const char* int options, upb_Arena* arena) { grpc_gcp_HandshakerResp* ret = grpc_gcp_HandshakerResp_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_HandshakerResp_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__gcp__HandshakerResp_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1563,13 +1554,13 @@ UPB_INLINE grpc_gcp_HandshakerResp* grpc_gcp_HandshakerResp_parse_ex(const char* } UPB_INLINE char* grpc_gcp_HandshakerResp_serialize(const grpc_gcp_HandshakerResp* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_HandshakerResp_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__HandshakerResp_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_gcp_HandshakerResp_serialize_ex(const grpc_gcp_HandshakerResp* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_HandshakerResp_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__HandshakerResp_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_gcp_HandshakerResp_clear_out_frames(grpc_gcp_HandshakerResp* msg) { @@ -1640,7 +1631,7 @@ UPB_INLINE void grpc_gcp_HandshakerResp_set_result(grpc_gcp_HandshakerResp *msg, UPB_INLINE struct grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResp_mutable_result(grpc_gcp_HandshakerResp* msg, upb_Arena* arena) { struct grpc_gcp_HandshakerResult* sub = (struct grpc_gcp_HandshakerResult*)grpc_gcp_HandshakerResp_result(msg); if (sub == NULL) { - sub = (struct grpc_gcp_HandshakerResult*)_upb_Message_New(&grpc_gcp_HandshakerResult_msg_init, arena); + sub = (struct grpc_gcp_HandshakerResult*)_upb_Message_New(&grpc__gcp__HandshakerResult_msg_init, arena); if (sub) grpc_gcp_HandshakerResp_set_result(msg, sub); } return sub; @@ -1652,14 +1643,12 @@ UPB_INLINE void grpc_gcp_HandshakerResp_set_status(grpc_gcp_HandshakerResp *msg, UPB_INLINE struct grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerResp_mutable_status(grpc_gcp_HandshakerResp* msg, upb_Arena* arena) { struct grpc_gcp_HandshakerStatus* sub = (struct grpc_gcp_HandshakerStatus*)grpc_gcp_HandshakerResp_status(msg); if (sub == NULL) { - sub = (struct grpc_gcp_HandshakerStatus*)_upb_Message_New(&grpc_gcp_HandshakerStatus_msg_init, arena); + sub = (struct grpc_gcp_HandshakerStatus*)_upb_Message_New(&grpc__gcp__HandshakerStatus_msg_init, arena); if (sub) grpc_gcp_HandshakerResp_set_status(msg, sub); } return sub; } -extern const upb_MiniTableFile src_proto_grpc_gcp_handshaker_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c b/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c new file mode 100644 index 00000000000..c9bf100f222 --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c @@ -0,0 +1,342 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/gcp/handshaker.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "src/proto/grpc/gcp/handshaker.upb_minitable.h" +#include "src/proto/grpc/gcp/transport_security_common.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField grpc_gcp_Endpoint__fields[3] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__Endpoint_msg_init = { + NULL, + &grpc_gcp_Endpoint__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x000000003f000010, &upb_psv4_1bt}, + {0x000400003f000018, &upb_psv4_1bt}, + }) +}; + +static const upb_MiniTableSub grpc_gcp_Identity_submsgs[1] = { + {.submsg = &grpc__gcp__Identity__AttributesEntry_msg_init}, +}; + +static const upb_MiniTableField grpc_gcp_Identity__fields[3] = { + {1, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__Identity_msg_init = { + &grpc_gcp_Identity_submsgs[0], + &grpc_gcp_Identity__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pos_1bt}, + {0x0008000002000012, &upb_pos_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField grpc_gcp_Identity_AttributesEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__Identity__AttributesEntry_msg_init = { + NULL, + &grpc_gcp_Identity_AttributesEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub grpc_gcp_StartClientHandshakeReq_submsgs[5] = { + {.submsg = &grpc__gcp__Identity_msg_init}, + {.submsg = &grpc__gcp__Identity_msg_init}, + {.submsg = &grpc__gcp__Endpoint_msg_init}, + {.submsg = &grpc__gcp__Endpoint_msg_init}, + {.submsg = &grpc__gcp__RpcProtocolVersions_msg_init}, +}; + +static const upb_MiniTableField grpc_gcp_StartClientHandshakeReq__fields[10] = { + {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 48), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(32, 80), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(36, 8), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__StartClientHandshakeReq_msg_init = { + &grpc_gcp_StartClientHandshakeReq_submsgs[0], + &grpc_gcp_StartClientHandshakeReq__fields[0], + UPB_SIZE(48, 88), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400003f000008, &upb_psv4_1bt}, + {0x001000003f000012, &upb_prs_1bt}, + {0x001800003f00001a, &upb_prs_1bt}, + {0x002000003f000022, &upb_prm_1bt_max64b}, + {0x002800000101002a, &upb_psm_1bt_max64b}, + {0x0030000002020032, &upb_psm_1bt_max64b}, + {0x003800000303003a, &upb_psm_1bt_max64b}, + {0x004000003f000042, &upb_pss_1bt}, + {0x005000000404004a, &upb_psm_1bt_maxmaxb}, + {0x000800003f000050, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub grpc_gcp_ServerHandshakeParameters_submsgs[1] = { + {.submsg = &grpc__gcp__Identity_msg_init}, +}; + +static const upb_MiniTableField grpc_gcp_ServerHandshakeParameters__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__ServerHandshakeParameters_msg_init = { + &grpc_gcp_ServerHandshakeParameters_submsgs[0], + &grpc_gcp_ServerHandshakeParameters__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prs_1bt}, + {0x000800003f000012, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub grpc_gcp_StartServerHandshakeReq_submsgs[4] = { + {.submsg = &grpc__gcp__StartServerHandshakeReq__HandshakeParametersEntry_msg_init}, + {.submsg = &grpc__gcp__Endpoint_msg_init}, + {.submsg = &grpc__gcp__Endpoint_msg_init}, + {.submsg = &grpc__gcp__RpcProtocolVersions_msg_init}, +}; + +static const upb_MiniTableField grpc_gcp_StartServerHandshakeReq__fields[7] = { + {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(28, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__StartServerHandshakeReq_msg_init = { + &grpc_gcp_StartServerHandshakeReq_submsgs[0], + &grpc_gcp_StartServerHandshakeReq__fields[0], + UPB_SIZE(40, 64), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f00001a, &upb_psb_1bt}, + {0x0028000001010022, &upb_psm_1bt_max64b}, + {0x003000000202002a, &upb_psm_1bt_max64b}, + {0x0038000003030032, &upb_psm_1bt_maxmaxb}, + {0x000400003f000038, &upb_psv4_1bt}, + }) +}; + +static const upb_MiniTableSub grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_submsgs[1] = { + {.submsg = &grpc__gcp__ServerHandshakeParameters_msg_init}, +}; + +static const upb_MiniTableField grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__StartServerHandshakeReq__HandshakeParametersEntry_msg_init = { + &grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_submsgs[0], + &grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f000008, &upb_psv4_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField grpc_gcp_NextHandshakeMessageReq__fields[1] = { + {1, 0, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__NextHandshakeMessageReq_msg_init = { + NULL, + &grpc_gcp_NextHandshakeMessageReq__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_psb_1bt}, + }) +}; + +static const upb_MiniTableSub grpc_gcp_HandshakerReq_submsgs[3] = { + {.submsg = &grpc__gcp__StartClientHandshakeReq_msg_init}, + {.submsg = &grpc__gcp__StartServerHandshakeReq_msg_init}, + {.submsg = &grpc__gcp__NextHandshakeMessageReq_msg_init}, +}; + +static const upb_MiniTableField grpc_gcp_HandshakerReq__fields[3] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__HandshakerReq_msg_init = { + &grpc_gcp_HandshakerReq_submsgs[0], + &grpc_gcp_HandshakerReq__fields[0], + UPB_SIZE(8, 16), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max128b}, + {0x0008000002010012, &upb_pom_1bt_max128b}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub grpc_gcp_HandshakerResult_submsgs[3] = { + {.submsg = &grpc__gcp__Identity_msg_init}, + {.submsg = &grpc__gcp__Identity_msg_init}, + {.submsg = &grpc__gcp__RpcProtocolVersions_msg_init}, +}; + +static const upb_MiniTableField grpc_gcp_HandshakerResult__fields[8] = { + {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(32, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 40, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 56), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 64), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(16, 72), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(20, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__HandshakerResult_msg_init = { + &grpc_gcp_HandshakerResult_submsgs[0], + &grpc_gcp_HandshakerResult__fields[0], + UPB_SIZE(48, 80), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x002800003f00001a, &upb_psb_1bt}, + {0x0038000001000022, &upb_psm_1bt_max64b}, + {0x004000000201002a, &upb_psm_1bt_max64b}, + {0x000100003f000030, &upb_psb1_1bt}, + {0x004800000302003a, &upb_psm_1bt_maxmaxb}, + {0x000400003f000040, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField grpc_gcp_HandshakerStatus__fields[2] = { + {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__HandshakerStatus_msg_init = { + NULL, + &grpc_gcp_HandshakerStatus__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub grpc_gcp_HandshakerResp_submsgs[2] = { + {.submsg = &grpc__gcp__HandshakerResult_msg_init}, + {.submsg = &grpc__gcp__HandshakerStatus_msg_init}, +}; + +static const upb_MiniTableField grpc_gcp_HandshakerResp__fields[4] = { + {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__HandshakerResp_msg_init = { + &grpc_gcp_HandshakerResp_submsgs[0], + &grpc_gcp_HandshakerResp__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_psb_1bt}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x001800000100001a, &upb_psm_1bt_max128b}, + {0x0020000002010022, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[12] = { + &grpc__gcp__Endpoint_msg_init, + &grpc__gcp__Identity_msg_init, + &grpc__gcp__Identity__AttributesEntry_msg_init, + &grpc__gcp__StartClientHandshakeReq_msg_init, + &grpc__gcp__ServerHandshakeParameters_msg_init, + &grpc__gcp__StartServerHandshakeReq_msg_init, + &grpc__gcp__StartServerHandshakeReq__HandshakeParametersEntry_msg_init, + &grpc__gcp__NextHandshakeMessageReq_msg_init, + &grpc__gcp__HandshakerReq_msg_init, + &grpc__gcp__HandshakerResult_msg_init, + &grpc__gcp__HandshakerStatus_msg_init, + &grpc__gcp__HandshakerResp_msg_init, +}; + +const upb_MiniTableFile src_proto_grpc_gcp_handshaker_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 12, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h b/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h new file mode 100644 index 00000000000..52a73951ccc --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h @@ -0,0 +1,41 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/gcp/handshaker.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef SRC_PROTO_GRPC_GCP_HANDSHAKER_PROTO_UPB_MINITABLE_H_ +#define SRC_PROTO_GRPC_GCP_HANDSHAKER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable grpc__gcp__Endpoint_msg_init; +extern const upb_MiniTable grpc__gcp__Identity_msg_init; +extern const upb_MiniTable grpc__gcp__Identity__AttributesEntry_msg_init; +extern const upb_MiniTable grpc__gcp__StartClientHandshakeReq_msg_init; +extern const upb_MiniTable grpc__gcp__ServerHandshakeParameters_msg_init; +extern const upb_MiniTable grpc__gcp__StartServerHandshakeReq_msg_init; +extern const upb_MiniTable grpc__gcp__StartServerHandshakeReq__HandshakeParametersEntry_msg_init; +extern const upb_MiniTable grpc__gcp__NextHandshakeMessageReq_msg_init; +extern const upb_MiniTable grpc__gcp__HandshakerReq_msg_init; +extern const upb_MiniTable grpc__gcp__HandshakerResult_msg_init; +extern const upb_MiniTable grpc__gcp__HandshakerStatus_msg_init; +extern const upb_MiniTable grpc__gcp__HandshakerResp_msg_init; + +extern const upb_MiniTableFile src_proto_grpc_gcp_handshaker_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* SRC_PROTO_GRPC_GCP_HANDSHAKER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h b/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h similarity index 86% rename from src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h rename to src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h index 79b67b20c91..bd0aae3d1c7 100644 --- a/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +++ b/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * src/proto/grpc/gcp/transport_security_common.proto * @@ -10,7 +9,10 @@ #define SRC_PROTO_GRPC_GCP_TRANSPORT_SECURITY_COMMON_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "src/proto/grpc/gcp/transport_security_common.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,8 +21,6 @@ extern "C" { typedef struct grpc_gcp_RpcProtocolVersions grpc_gcp_RpcProtocolVersions; typedef struct grpc_gcp_RpcProtocolVersions_Version grpc_gcp_RpcProtocolVersions_Version; -extern const upb_MiniTable grpc_gcp_RpcProtocolVersions_msg_init; -extern const upb_MiniTable grpc_gcp_RpcProtocolVersions_Version_msg_init; typedef enum { grpc_gcp_SECURITY_NONE = 0, @@ -33,12 +33,12 @@ typedef enum { /* grpc.gcp.RpcProtocolVersions */ UPB_INLINE grpc_gcp_RpcProtocolVersions* grpc_gcp_RpcProtocolVersions_new(upb_Arena* arena) { - return (grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc_gcp_RpcProtocolVersions_msg_init, arena); + return (grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc__gcp__RpcProtocolVersions_msg_init, arena); } UPB_INLINE grpc_gcp_RpcProtocolVersions* grpc_gcp_RpcProtocolVersions_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_gcp_RpcProtocolVersions* ret = grpc_gcp_RpcProtocolVersions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_RpcProtocolVersions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__gcp__RpcProtocolVersions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -48,7 +48,7 @@ UPB_INLINE grpc_gcp_RpcProtocolVersions* grpc_gcp_RpcProtocolVersions_parse_ex(c int options, upb_Arena* arena) { grpc_gcp_RpcProtocolVersions* ret = grpc_gcp_RpcProtocolVersions_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_RpcProtocolVersions_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__gcp__RpcProtocolVersions_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -56,13 +56,13 @@ UPB_INLINE grpc_gcp_RpcProtocolVersions* grpc_gcp_RpcProtocolVersions_parse_ex(c } UPB_INLINE char* grpc_gcp_RpcProtocolVersions_serialize(const grpc_gcp_RpcProtocolVersions* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_RpcProtocolVersions_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__RpcProtocolVersions_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_gcp_RpcProtocolVersions_serialize_ex(const grpc_gcp_RpcProtocolVersions* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_RpcProtocolVersions_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__RpcProtocolVersions_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_gcp_RpcProtocolVersions_clear_max_rpc_version(grpc_gcp_RpcProtocolVersions* msg) { @@ -103,7 +103,7 @@ UPB_INLINE void grpc_gcp_RpcProtocolVersions_set_max_rpc_version(grpc_gcp_RpcPro UPB_INLINE struct grpc_gcp_RpcProtocolVersions_Version* grpc_gcp_RpcProtocolVersions_mutable_max_rpc_version(grpc_gcp_RpcProtocolVersions* msg, upb_Arena* arena) { struct grpc_gcp_RpcProtocolVersions_Version* sub = (struct grpc_gcp_RpcProtocolVersions_Version*)grpc_gcp_RpcProtocolVersions_max_rpc_version(msg); if (sub == NULL) { - sub = (struct grpc_gcp_RpcProtocolVersions_Version*)_upb_Message_New(&grpc_gcp_RpcProtocolVersions_Version_msg_init, arena); + sub = (struct grpc_gcp_RpcProtocolVersions_Version*)_upb_Message_New(&grpc__gcp__RpcProtocolVersions__Version_msg_init, arena); if (sub) grpc_gcp_RpcProtocolVersions_set_max_rpc_version(msg, sub); } return sub; @@ -115,7 +115,7 @@ UPB_INLINE void grpc_gcp_RpcProtocolVersions_set_min_rpc_version(grpc_gcp_RpcPro UPB_INLINE struct grpc_gcp_RpcProtocolVersions_Version* grpc_gcp_RpcProtocolVersions_mutable_min_rpc_version(grpc_gcp_RpcProtocolVersions* msg, upb_Arena* arena) { struct grpc_gcp_RpcProtocolVersions_Version* sub = (struct grpc_gcp_RpcProtocolVersions_Version*)grpc_gcp_RpcProtocolVersions_min_rpc_version(msg); if (sub == NULL) { - sub = (struct grpc_gcp_RpcProtocolVersions_Version*)_upb_Message_New(&grpc_gcp_RpcProtocolVersions_Version_msg_init, arena); + sub = (struct grpc_gcp_RpcProtocolVersions_Version*)_upb_Message_New(&grpc__gcp__RpcProtocolVersions__Version_msg_init, arena); if (sub) grpc_gcp_RpcProtocolVersions_set_min_rpc_version(msg, sub); } return sub; @@ -124,12 +124,12 @@ UPB_INLINE struct grpc_gcp_RpcProtocolVersions_Version* grpc_gcp_RpcProtocolVers /* grpc.gcp.RpcProtocolVersions.Version */ UPB_INLINE grpc_gcp_RpcProtocolVersions_Version* grpc_gcp_RpcProtocolVersions_Version_new(upb_Arena* arena) { - return (grpc_gcp_RpcProtocolVersions_Version*)_upb_Message_New(&grpc_gcp_RpcProtocolVersions_Version_msg_init, arena); + return (grpc_gcp_RpcProtocolVersions_Version*)_upb_Message_New(&grpc__gcp__RpcProtocolVersions__Version_msg_init, arena); } UPB_INLINE grpc_gcp_RpcProtocolVersions_Version* grpc_gcp_RpcProtocolVersions_Version_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_gcp_RpcProtocolVersions_Version* ret = grpc_gcp_RpcProtocolVersions_Version_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_RpcProtocolVersions_Version_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__gcp__RpcProtocolVersions__Version_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -139,7 +139,7 @@ UPB_INLINE grpc_gcp_RpcProtocolVersions_Version* grpc_gcp_RpcProtocolVersions_Ve int options, upb_Arena* arena) { grpc_gcp_RpcProtocolVersions_Version* ret = grpc_gcp_RpcProtocolVersions_Version_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_gcp_RpcProtocolVersions_Version_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__gcp__RpcProtocolVersions__Version_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -147,13 +147,13 @@ UPB_INLINE grpc_gcp_RpcProtocolVersions_Version* grpc_gcp_RpcProtocolVersions_Ve } UPB_INLINE char* grpc_gcp_RpcProtocolVersions_Version_serialize(const grpc_gcp_RpcProtocolVersions_Version* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_RpcProtocolVersions_Version_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__RpcProtocolVersions__Version_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_gcp_RpcProtocolVersions_Version_serialize_ex(const grpc_gcp_RpcProtocolVersions_Version* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_gcp_RpcProtocolVersions_Version_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__gcp__RpcProtocolVersions__Version_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_gcp_RpcProtocolVersions_Version_clear_major(grpc_gcp_RpcProtocolVersions_Version* msg) { @@ -188,8 +188,6 @@ UPB_INLINE void grpc_gcp_RpcProtocolVersions_Version_set_minor(grpc_gcp_RpcProto _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile src_proto_grpc_gcp_transport_security_common_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c b/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c new file mode 100644 index 00000000000..bdd01e0c4b6 --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c @@ -0,0 +1,69 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/gcp/transport_security_common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "src/proto/grpc/gcp/transport_security_common.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub grpc_gcp_RpcProtocolVersions_submsgs[2] = { + {.submsg = &grpc__gcp__RpcProtocolVersions__Version_msg_init}, + {.submsg = &grpc__gcp__RpcProtocolVersions__Version_msg_init}, +}; + +static const upb_MiniTableField grpc_gcp_RpcProtocolVersions__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__RpcProtocolVersions_msg_init = { + &grpc_gcp_RpcProtocolVersions_submsgs[0], + &grpc_gcp_RpcProtocolVersions__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x0010000002010012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField grpc_gcp_RpcProtocolVersions_Version__fields[2] = { + {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__gcp__RpcProtocolVersions__Version_msg_init = { + NULL, + &grpc_gcp_RpcProtocolVersions_Version__fields[0], + 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &grpc__gcp__RpcProtocolVersions_msg_init, + &grpc__gcp__RpcProtocolVersions__Version_msg_init, +}; + +const upb_MiniTableFile src_proto_grpc_gcp_transport_security_common_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h b/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h new file mode 100644 index 00000000000..9a667c071e4 --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/gcp/transport_security_common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef SRC_PROTO_GRPC_GCP_TRANSPORT_SECURITY_COMMON_PROTO_UPB_MINITABLE_H_ +#define SRC_PROTO_GRPC_GCP_TRANSPORT_SECURITY_COMMON_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable grpc__gcp__RpcProtocolVersions_msg_init; +extern const upb_MiniTable grpc__gcp__RpcProtocolVersions__Version_msg_init; + +extern const upb_MiniTableFile src_proto_grpc_gcp_transport_security_common_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* SRC_PROTO_GRPC_GCP_TRANSPORT_SECURITY_COMMON_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h b/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h similarity index 82% rename from src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h rename to src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h index 0d4c43e5e36..9846844d06c 100644 --- a/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +++ b/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * src/proto/grpc/health/v1/health.proto * @@ -10,7 +9,10 @@ #define SRC_PROTO_GRPC_HEALTH_V1_HEALTH_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "src/proto/grpc/health/v1/health.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,8 +21,6 @@ extern "C" { typedef struct grpc_health_v1_HealthCheckRequest grpc_health_v1_HealthCheckRequest; typedef struct grpc_health_v1_HealthCheckResponse grpc_health_v1_HealthCheckResponse; -extern const upb_MiniTable grpc_health_v1_HealthCheckRequest_msg_init; -extern const upb_MiniTable grpc_health_v1_HealthCheckResponse_msg_init; typedef enum { grpc_health_v1_HealthCheckResponse_UNKNOWN = 0, @@ -34,12 +34,12 @@ typedef enum { /* grpc.health.v1.HealthCheckRequest */ UPB_INLINE grpc_health_v1_HealthCheckRequest* grpc_health_v1_HealthCheckRequest_new(upb_Arena* arena) { - return (grpc_health_v1_HealthCheckRequest*)_upb_Message_New(&grpc_health_v1_HealthCheckRequest_msg_init, arena); + return (grpc_health_v1_HealthCheckRequest*)_upb_Message_New(&grpc__health__v1__HealthCheckRequest_msg_init, arena); } UPB_INLINE grpc_health_v1_HealthCheckRequest* grpc_health_v1_HealthCheckRequest_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_health_v1_HealthCheckRequest* ret = grpc_health_v1_HealthCheckRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_health_v1_HealthCheckRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__health__v1__HealthCheckRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -49,7 +49,7 @@ UPB_INLINE grpc_health_v1_HealthCheckRequest* grpc_health_v1_HealthCheckRequest_ int options, upb_Arena* arena) { grpc_health_v1_HealthCheckRequest* ret = grpc_health_v1_HealthCheckRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_health_v1_HealthCheckRequest_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__health__v1__HealthCheckRequest_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -57,13 +57,13 @@ UPB_INLINE grpc_health_v1_HealthCheckRequest* grpc_health_v1_HealthCheckRequest_ } UPB_INLINE char* grpc_health_v1_HealthCheckRequest_serialize(const grpc_health_v1_HealthCheckRequest* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_health_v1_HealthCheckRequest_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__health__v1__HealthCheckRequest_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_health_v1_HealthCheckRequest_serialize_ex(const grpc_health_v1_HealthCheckRequest* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_health_v1_HealthCheckRequest_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__health__v1__HealthCheckRequest_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_health_v1_HealthCheckRequest_clear_service(grpc_health_v1_HealthCheckRequest* msg) { @@ -86,12 +86,12 @@ UPB_INLINE void grpc_health_v1_HealthCheckRequest_set_service(grpc_health_v1_Hea /* grpc.health.v1.HealthCheckResponse */ UPB_INLINE grpc_health_v1_HealthCheckResponse* grpc_health_v1_HealthCheckResponse_new(upb_Arena* arena) { - return (grpc_health_v1_HealthCheckResponse*)_upb_Message_New(&grpc_health_v1_HealthCheckResponse_msg_init, arena); + return (grpc_health_v1_HealthCheckResponse*)_upb_Message_New(&grpc__health__v1__HealthCheckResponse_msg_init, arena); } UPB_INLINE grpc_health_v1_HealthCheckResponse* grpc_health_v1_HealthCheckResponse_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_health_v1_HealthCheckResponse* ret = grpc_health_v1_HealthCheckResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_health_v1_HealthCheckResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__health__v1__HealthCheckResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -101,7 +101,7 @@ UPB_INLINE grpc_health_v1_HealthCheckResponse* grpc_health_v1_HealthCheckRespons int options, upb_Arena* arena) { grpc_health_v1_HealthCheckResponse* ret = grpc_health_v1_HealthCheckResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_health_v1_HealthCheckResponse_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__health__v1__HealthCheckResponse_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -109,13 +109,13 @@ UPB_INLINE grpc_health_v1_HealthCheckResponse* grpc_health_v1_HealthCheckRespons } UPB_INLINE char* grpc_health_v1_HealthCheckResponse_serialize(const grpc_health_v1_HealthCheckResponse* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_health_v1_HealthCheckResponse_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__health__v1__HealthCheckResponse_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_health_v1_HealthCheckResponse_serialize_ex(const grpc_health_v1_HealthCheckResponse* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_health_v1_HealthCheckResponse_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__health__v1__HealthCheckResponse_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_health_v1_HealthCheckResponse_clear_status(grpc_health_v1_HealthCheckResponse* msg) { @@ -135,8 +135,6 @@ UPB_INLINE void grpc_health_v1_HealthCheckResponse_set_status(grpc_health_v1_Hea _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile src_proto_grpc_health_v1_health_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c b/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c new file mode 100644 index 00000000000..2e47b2c0ab5 --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c @@ -0,0 +1,58 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/health/v1/health.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "src/proto/grpc/health/v1/health.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField grpc_health_v1_HealthCheckRequest__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__health__v1__HealthCheckRequest_msg_init = { + NULL, + &grpc_health_v1_HealthCheckRequest__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField grpc_health_v1_HealthCheckResponse__fields[1] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__health__v1__HealthCheckResponse_msg_init = { + NULL, + &grpc_health_v1_HealthCheckResponse__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &grpc__health__v1__HealthCheckRequest_msg_init, + &grpc__health__v1__HealthCheckResponse_msg_init, +}; + +const upb_MiniTableFile src_proto_grpc_health_v1_health_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h b/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h new file mode 100644 index 00000000000..2980e46b791 --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/health/v1/health.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef SRC_PROTO_GRPC_HEALTH_V1_HEALTH_PROTO_UPB_MINITABLE_H_ +#define SRC_PROTO_GRPC_HEALTH_V1_HEALTH_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable grpc__health__v1__HealthCheckRequest_msg_init; +extern const upb_MiniTable grpc__health__v1__HealthCheckResponse_msg_init; + +extern const upb_MiniTableFile src_proto_grpc_health_v1_health_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* SRC_PROTO_GRPC_HEALTH_V1_HEALTH_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h b/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h similarity index 89% rename from src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h rename to src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h index ba1e552936b..81be2c0b7a1 100644 --- a/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +++ b/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * src/proto/grpc/lb/v1/load_balancer.proto * @@ -10,7 +9,13 @@ #define SRC_PROTO_GRPC_LB_V1_LOAD_BALANCER_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "src/proto/grpc/lb/v1/load_balancer.upb_minitable.h" + +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -26,31 +31,20 @@ typedef struct grpc_lb_v1_FallbackResponse grpc_lb_v1_FallbackResponse; typedef struct grpc_lb_v1_InitialLoadBalanceResponse grpc_lb_v1_InitialLoadBalanceResponse; typedef struct grpc_lb_v1_ServerList grpc_lb_v1_ServerList; typedef struct grpc_lb_v1_Server grpc_lb_v1_Server; -extern const upb_MiniTable grpc_lb_v1_LoadBalanceRequest_msg_init; -extern const upb_MiniTable grpc_lb_v1_InitialLoadBalanceRequest_msg_init; -extern const upb_MiniTable grpc_lb_v1_ClientStatsPerToken_msg_init; -extern const upb_MiniTable grpc_lb_v1_ClientStats_msg_init; -extern const upb_MiniTable grpc_lb_v1_LoadBalanceResponse_msg_init; -extern const upb_MiniTable grpc_lb_v1_FallbackResponse_msg_init; -extern const upb_MiniTable grpc_lb_v1_InitialLoadBalanceResponse_msg_init; -extern const upb_MiniTable grpc_lb_v1_ServerList_msg_init; -extern const upb_MiniTable grpc_lb_v1_Server_msg_init; struct google_protobuf_Duration; struct google_protobuf_Timestamp; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_Timestamp_msg_init; /* grpc.lb.v1.LoadBalanceRequest */ UPB_INLINE grpc_lb_v1_LoadBalanceRequest* grpc_lb_v1_LoadBalanceRequest_new(upb_Arena* arena) { - return (grpc_lb_v1_LoadBalanceRequest*)_upb_Message_New(&grpc_lb_v1_LoadBalanceRequest_msg_init, arena); + return (grpc_lb_v1_LoadBalanceRequest*)_upb_Message_New(&grpc__lb__v1__LoadBalanceRequest_msg_init, arena); } UPB_INLINE grpc_lb_v1_LoadBalanceRequest* grpc_lb_v1_LoadBalanceRequest_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lb_v1_LoadBalanceRequest* ret = grpc_lb_v1_LoadBalanceRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_LoadBalanceRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lb__v1__LoadBalanceRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -60,7 +54,7 @@ UPB_INLINE grpc_lb_v1_LoadBalanceRequest* grpc_lb_v1_LoadBalanceRequest_parse_ex int options, upb_Arena* arena) { grpc_lb_v1_LoadBalanceRequest* ret = grpc_lb_v1_LoadBalanceRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_LoadBalanceRequest_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lb__v1__LoadBalanceRequest_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -68,13 +62,13 @@ UPB_INLINE grpc_lb_v1_LoadBalanceRequest* grpc_lb_v1_LoadBalanceRequest_parse_ex } UPB_INLINE char* grpc_lb_v1_LoadBalanceRequest_serialize(const grpc_lb_v1_LoadBalanceRequest* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_LoadBalanceRequest_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__LoadBalanceRequest_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lb_v1_LoadBalanceRequest_serialize_ex(const grpc_lb_v1_LoadBalanceRequest* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_LoadBalanceRequest_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__LoadBalanceRequest_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -124,7 +118,7 @@ UPB_INLINE void grpc_lb_v1_LoadBalanceRequest_set_initial_request(grpc_lb_v1_Loa UPB_INLINE struct grpc_lb_v1_InitialLoadBalanceRequest* grpc_lb_v1_LoadBalanceRequest_mutable_initial_request(grpc_lb_v1_LoadBalanceRequest* msg, upb_Arena* arena) { struct grpc_lb_v1_InitialLoadBalanceRequest* sub = (struct grpc_lb_v1_InitialLoadBalanceRequest*)grpc_lb_v1_LoadBalanceRequest_initial_request(msg); if (sub == NULL) { - sub = (struct grpc_lb_v1_InitialLoadBalanceRequest*)_upb_Message_New(&grpc_lb_v1_InitialLoadBalanceRequest_msg_init, arena); + sub = (struct grpc_lb_v1_InitialLoadBalanceRequest*)_upb_Message_New(&grpc__lb__v1__InitialLoadBalanceRequest_msg_init, arena); if (sub) grpc_lb_v1_LoadBalanceRequest_set_initial_request(msg, sub); } return sub; @@ -136,7 +130,7 @@ UPB_INLINE void grpc_lb_v1_LoadBalanceRequest_set_client_stats(grpc_lb_v1_LoadBa UPB_INLINE struct grpc_lb_v1_ClientStats* grpc_lb_v1_LoadBalanceRequest_mutable_client_stats(grpc_lb_v1_LoadBalanceRequest* msg, upb_Arena* arena) { struct grpc_lb_v1_ClientStats* sub = (struct grpc_lb_v1_ClientStats*)grpc_lb_v1_LoadBalanceRequest_client_stats(msg); if (sub == NULL) { - sub = (struct grpc_lb_v1_ClientStats*)_upb_Message_New(&grpc_lb_v1_ClientStats_msg_init, arena); + sub = (struct grpc_lb_v1_ClientStats*)_upb_Message_New(&grpc__lb__v1__ClientStats_msg_init, arena); if (sub) grpc_lb_v1_LoadBalanceRequest_set_client_stats(msg, sub); } return sub; @@ -145,12 +139,12 @@ UPB_INLINE struct grpc_lb_v1_ClientStats* grpc_lb_v1_LoadBalanceRequest_mutable_ /* grpc.lb.v1.InitialLoadBalanceRequest */ UPB_INLINE grpc_lb_v1_InitialLoadBalanceRequest* grpc_lb_v1_InitialLoadBalanceRequest_new(upb_Arena* arena) { - return (grpc_lb_v1_InitialLoadBalanceRequest*)_upb_Message_New(&grpc_lb_v1_InitialLoadBalanceRequest_msg_init, arena); + return (grpc_lb_v1_InitialLoadBalanceRequest*)_upb_Message_New(&grpc__lb__v1__InitialLoadBalanceRequest_msg_init, arena); } UPB_INLINE grpc_lb_v1_InitialLoadBalanceRequest* grpc_lb_v1_InitialLoadBalanceRequest_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lb_v1_InitialLoadBalanceRequest* ret = grpc_lb_v1_InitialLoadBalanceRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_InitialLoadBalanceRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lb__v1__InitialLoadBalanceRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -160,7 +154,7 @@ UPB_INLINE grpc_lb_v1_InitialLoadBalanceRequest* grpc_lb_v1_InitialLoadBalanceRe int options, upb_Arena* arena) { grpc_lb_v1_InitialLoadBalanceRequest* ret = grpc_lb_v1_InitialLoadBalanceRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_InitialLoadBalanceRequest_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lb__v1__InitialLoadBalanceRequest_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -168,13 +162,13 @@ UPB_INLINE grpc_lb_v1_InitialLoadBalanceRequest* grpc_lb_v1_InitialLoadBalanceRe } UPB_INLINE char* grpc_lb_v1_InitialLoadBalanceRequest_serialize(const grpc_lb_v1_InitialLoadBalanceRequest* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_InitialLoadBalanceRequest_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__InitialLoadBalanceRequest_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lb_v1_InitialLoadBalanceRequest_serialize_ex(const grpc_lb_v1_InitialLoadBalanceRequest* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_InitialLoadBalanceRequest_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__InitialLoadBalanceRequest_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lb_v1_InitialLoadBalanceRequest_clear_name(grpc_lb_v1_InitialLoadBalanceRequest* msg) { @@ -197,12 +191,12 @@ UPB_INLINE void grpc_lb_v1_InitialLoadBalanceRequest_set_name(grpc_lb_v1_Initial /* grpc.lb.v1.ClientStatsPerToken */ UPB_INLINE grpc_lb_v1_ClientStatsPerToken* grpc_lb_v1_ClientStatsPerToken_new(upb_Arena* arena) { - return (grpc_lb_v1_ClientStatsPerToken*)_upb_Message_New(&grpc_lb_v1_ClientStatsPerToken_msg_init, arena); + return (grpc_lb_v1_ClientStatsPerToken*)_upb_Message_New(&grpc__lb__v1__ClientStatsPerToken_msg_init, arena); } UPB_INLINE grpc_lb_v1_ClientStatsPerToken* grpc_lb_v1_ClientStatsPerToken_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lb_v1_ClientStatsPerToken* ret = grpc_lb_v1_ClientStatsPerToken_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_ClientStatsPerToken_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lb__v1__ClientStatsPerToken_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -212,7 +206,7 @@ UPB_INLINE grpc_lb_v1_ClientStatsPerToken* grpc_lb_v1_ClientStatsPerToken_parse_ int options, upb_Arena* arena) { grpc_lb_v1_ClientStatsPerToken* ret = grpc_lb_v1_ClientStatsPerToken_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_ClientStatsPerToken_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lb__v1__ClientStatsPerToken_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -220,13 +214,13 @@ UPB_INLINE grpc_lb_v1_ClientStatsPerToken* grpc_lb_v1_ClientStatsPerToken_parse_ } UPB_INLINE char* grpc_lb_v1_ClientStatsPerToken_serialize(const grpc_lb_v1_ClientStatsPerToken* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_ClientStatsPerToken_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__ClientStatsPerToken_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lb_v1_ClientStatsPerToken_serialize_ex(const grpc_lb_v1_ClientStatsPerToken* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_ClientStatsPerToken_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__ClientStatsPerToken_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lb_v1_ClientStatsPerToken_clear_load_balance_token(grpc_lb_v1_ClientStatsPerToken* msg) { @@ -264,12 +258,12 @@ UPB_INLINE void grpc_lb_v1_ClientStatsPerToken_set_num_calls(grpc_lb_v1_ClientSt /* grpc.lb.v1.ClientStats */ UPB_INLINE grpc_lb_v1_ClientStats* grpc_lb_v1_ClientStats_new(upb_Arena* arena) { - return (grpc_lb_v1_ClientStats*)_upb_Message_New(&grpc_lb_v1_ClientStats_msg_init, arena); + return (grpc_lb_v1_ClientStats*)_upb_Message_New(&grpc__lb__v1__ClientStats_msg_init, arena); } UPB_INLINE grpc_lb_v1_ClientStats* grpc_lb_v1_ClientStats_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lb_v1_ClientStats* ret = grpc_lb_v1_ClientStats_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_ClientStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lb__v1__ClientStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -279,7 +273,7 @@ UPB_INLINE grpc_lb_v1_ClientStats* grpc_lb_v1_ClientStats_parse_ex(const char* b int options, upb_Arena* arena) { grpc_lb_v1_ClientStats* ret = grpc_lb_v1_ClientStats_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_ClientStats_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lb__v1__ClientStats_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -287,13 +281,13 @@ UPB_INLINE grpc_lb_v1_ClientStats* grpc_lb_v1_ClientStats_parse_ex(const char* b } UPB_INLINE char* grpc_lb_v1_ClientStats_serialize(const grpc_lb_v1_ClientStats* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_ClientStats_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__ClientStats_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lb_v1_ClientStats_serialize_ex(const grpc_lb_v1_ClientStats* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_ClientStats_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__ClientStats_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lb_v1_ClientStats_clear_timestamp(grpc_lb_v1_ClientStats* msg) { @@ -400,7 +394,7 @@ UPB_INLINE void grpc_lb_v1_ClientStats_set_timestamp(grpc_lb_v1_ClientStats *msg UPB_INLINE struct google_protobuf_Timestamp* grpc_lb_v1_ClientStats_mutable_timestamp(grpc_lb_v1_ClientStats* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)grpc_lb_v1_ClientStats_timestamp(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) grpc_lb_v1_ClientStats_set_timestamp(msg, sub); } return sub; @@ -442,7 +436,7 @@ UPB_INLINE struct grpc_lb_v1_ClientStatsPerToken* grpc_lb_v1_ClientStats_add_cal if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct grpc_lb_v1_ClientStatsPerToken* sub = (struct grpc_lb_v1_ClientStatsPerToken*)_upb_Message_New(&grpc_lb_v1_ClientStatsPerToken_msg_init, arena); + struct grpc_lb_v1_ClientStatsPerToken* sub = (struct grpc_lb_v1_ClientStatsPerToken*)_upb_Message_New(&grpc__lb__v1__ClientStatsPerToken_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -451,12 +445,12 @@ UPB_INLINE struct grpc_lb_v1_ClientStatsPerToken* grpc_lb_v1_ClientStats_add_cal /* grpc.lb.v1.LoadBalanceResponse */ UPB_INLINE grpc_lb_v1_LoadBalanceResponse* grpc_lb_v1_LoadBalanceResponse_new(upb_Arena* arena) { - return (grpc_lb_v1_LoadBalanceResponse*)_upb_Message_New(&grpc_lb_v1_LoadBalanceResponse_msg_init, arena); + return (grpc_lb_v1_LoadBalanceResponse*)_upb_Message_New(&grpc__lb__v1__LoadBalanceResponse_msg_init, arena); } UPB_INLINE grpc_lb_v1_LoadBalanceResponse* grpc_lb_v1_LoadBalanceResponse_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lb_v1_LoadBalanceResponse* ret = grpc_lb_v1_LoadBalanceResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_LoadBalanceResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lb__v1__LoadBalanceResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -466,7 +460,7 @@ UPB_INLINE grpc_lb_v1_LoadBalanceResponse* grpc_lb_v1_LoadBalanceResponse_parse_ int options, upb_Arena* arena) { grpc_lb_v1_LoadBalanceResponse* ret = grpc_lb_v1_LoadBalanceResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_LoadBalanceResponse_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lb__v1__LoadBalanceResponse_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -474,13 +468,13 @@ UPB_INLINE grpc_lb_v1_LoadBalanceResponse* grpc_lb_v1_LoadBalanceResponse_parse_ } UPB_INLINE char* grpc_lb_v1_LoadBalanceResponse_serialize(const grpc_lb_v1_LoadBalanceResponse* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_LoadBalanceResponse_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__LoadBalanceResponse_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lb_v1_LoadBalanceResponse_serialize_ex(const grpc_lb_v1_LoadBalanceResponse* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_LoadBalanceResponse_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__LoadBalanceResponse_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -546,7 +540,7 @@ UPB_INLINE void grpc_lb_v1_LoadBalanceResponse_set_initial_response(grpc_lb_v1_L UPB_INLINE struct grpc_lb_v1_InitialLoadBalanceResponse* grpc_lb_v1_LoadBalanceResponse_mutable_initial_response(grpc_lb_v1_LoadBalanceResponse* msg, upb_Arena* arena) { struct grpc_lb_v1_InitialLoadBalanceResponse* sub = (struct grpc_lb_v1_InitialLoadBalanceResponse*)grpc_lb_v1_LoadBalanceResponse_initial_response(msg); if (sub == NULL) { - sub = (struct grpc_lb_v1_InitialLoadBalanceResponse*)_upb_Message_New(&grpc_lb_v1_InitialLoadBalanceResponse_msg_init, arena); + sub = (struct grpc_lb_v1_InitialLoadBalanceResponse*)_upb_Message_New(&grpc__lb__v1__InitialLoadBalanceResponse_msg_init, arena); if (sub) grpc_lb_v1_LoadBalanceResponse_set_initial_response(msg, sub); } return sub; @@ -558,7 +552,7 @@ UPB_INLINE void grpc_lb_v1_LoadBalanceResponse_set_server_list(grpc_lb_v1_LoadBa UPB_INLINE struct grpc_lb_v1_ServerList* grpc_lb_v1_LoadBalanceResponse_mutable_server_list(grpc_lb_v1_LoadBalanceResponse* msg, upb_Arena* arena) { struct grpc_lb_v1_ServerList* sub = (struct grpc_lb_v1_ServerList*)grpc_lb_v1_LoadBalanceResponse_server_list(msg); if (sub == NULL) { - sub = (struct grpc_lb_v1_ServerList*)_upb_Message_New(&grpc_lb_v1_ServerList_msg_init, arena); + sub = (struct grpc_lb_v1_ServerList*)_upb_Message_New(&grpc__lb__v1__ServerList_msg_init, arena); if (sub) grpc_lb_v1_LoadBalanceResponse_set_server_list(msg, sub); } return sub; @@ -570,7 +564,7 @@ UPB_INLINE void grpc_lb_v1_LoadBalanceResponse_set_fallback_response(grpc_lb_v1_ UPB_INLINE struct grpc_lb_v1_FallbackResponse* grpc_lb_v1_LoadBalanceResponse_mutable_fallback_response(grpc_lb_v1_LoadBalanceResponse* msg, upb_Arena* arena) { struct grpc_lb_v1_FallbackResponse* sub = (struct grpc_lb_v1_FallbackResponse*)grpc_lb_v1_LoadBalanceResponse_fallback_response(msg); if (sub == NULL) { - sub = (struct grpc_lb_v1_FallbackResponse*)_upb_Message_New(&grpc_lb_v1_FallbackResponse_msg_init, arena); + sub = (struct grpc_lb_v1_FallbackResponse*)_upb_Message_New(&grpc__lb__v1__FallbackResponse_msg_init, arena); if (sub) grpc_lb_v1_LoadBalanceResponse_set_fallback_response(msg, sub); } return sub; @@ -579,12 +573,12 @@ UPB_INLINE struct grpc_lb_v1_FallbackResponse* grpc_lb_v1_LoadBalanceResponse_mu /* grpc.lb.v1.FallbackResponse */ UPB_INLINE grpc_lb_v1_FallbackResponse* grpc_lb_v1_FallbackResponse_new(upb_Arena* arena) { - return (grpc_lb_v1_FallbackResponse*)_upb_Message_New(&grpc_lb_v1_FallbackResponse_msg_init, arena); + return (grpc_lb_v1_FallbackResponse*)_upb_Message_New(&grpc__lb__v1__FallbackResponse_msg_init, arena); } UPB_INLINE grpc_lb_v1_FallbackResponse* grpc_lb_v1_FallbackResponse_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lb_v1_FallbackResponse* ret = grpc_lb_v1_FallbackResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_FallbackResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lb__v1__FallbackResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -594,7 +588,7 @@ UPB_INLINE grpc_lb_v1_FallbackResponse* grpc_lb_v1_FallbackResponse_parse_ex(con int options, upb_Arena* arena) { grpc_lb_v1_FallbackResponse* ret = grpc_lb_v1_FallbackResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_FallbackResponse_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lb__v1__FallbackResponse_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -602,13 +596,13 @@ UPB_INLINE grpc_lb_v1_FallbackResponse* grpc_lb_v1_FallbackResponse_parse_ex(con } UPB_INLINE char* grpc_lb_v1_FallbackResponse_serialize(const grpc_lb_v1_FallbackResponse* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_FallbackResponse_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__FallbackResponse_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lb_v1_FallbackResponse_serialize_ex(const grpc_lb_v1_FallbackResponse* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_FallbackResponse_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__FallbackResponse_msg_init, options, arena, &ptr, len); return ptr; } @@ -616,12 +610,12 @@ UPB_INLINE char* grpc_lb_v1_FallbackResponse_serialize_ex(const grpc_lb_v1_Fallb /* grpc.lb.v1.InitialLoadBalanceResponse */ UPB_INLINE grpc_lb_v1_InitialLoadBalanceResponse* grpc_lb_v1_InitialLoadBalanceResponse_new(upb_Arena* arena) { - return (grpc_lb_v1_InitialLoadBalanceResponse*)_upb_Message_New(&grpc_lb_v1_InitialLoadBalanceResponse_msg_init, arena); + return (grpc_lb_v1_InitialLoadBalanceResponse*)_upb_Message_New(&grpc__lb__v1__InitialLoadBalanceResponse_msg_init, arena); } UPB_INLINE grpc_lb_v1_InitialLoadBalanceResponse* grpc_lb_v1_InitialLoadBalanceResponse_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lb_v1_InitialLoadBalanceResponse* ret = grpc_lb_v1_InitialLoadBalanceResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_InitialLoadBalanceResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lb__v1__InitialLoadBalanceResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -631,7 +625,7 @@ UPB_INLINE grpc_lb_v1_InitialLoadBalanceResponse* grpc_lb_v1_InitialLoadBalanceR int options, upb_Arena* arena) { grpc_lb_v1_InitialLoadBalanceResponse* ret = grpc_lb_v1_InitialLoadBalanceResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_InitialLoadBalanceResponse_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lb__v1__InitialLoadBalanceResponse_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -639,13 +633,13 @@ UPB_INLINE grpc_lb_v1_InitialLoadBalanceResponse* grpc_lb_v1_InitialLoadBalanceR } UPB_INLINE char* grpc_lb_v1_InitialLoadBalanceResponse_serialize(const grpc_lb_v1_InitialLoadBalanceResponse* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_InitialLoadBalanceResponse_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__InitialLoadBalanceResponse_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lb_v1_InitialLoadBalanceResponse_serialize_ex(const grpc_lb_v1_InitialLoadBalanceResponse* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_InitialLoadBalanceResponse_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__InitialLoadBalanceResponse_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lb_v1_InitialLoadBalanceResponse_clear_client_stats_report_interval(grpc_lb_v1_InitialLoadBalanceResponse* msg) { @@ -671,7 +665,7 @@ UPB_INLINE void grpc_lb_v1_InitialLoadBalanceResponse_set_client_stats_report_in UPB_INLINE struct google_protobuf_Duration* grpc_lb_v1_InitialLoadBalanceResponse_mutable_client_stats_report_interval(grpc_lb_v1_InitialLoadBalanceResponse* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)grpc_lb_v1_InitialLoadBalanceResponse_client_stats_report_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) grpc_lb_v1_InitialLoadBalanceResponse_set_client_stats_report_interval(msg, sub); } return sub; @@ -680,12 +674,12 @@ UPB_INLINE struct google_protobuf_Duration* grpc_lb_v1_InitialLoadBalanceRespons /* grpc.lb.v1.ServerList */ UPB_INLINE grpc_lb_v1_ServerList* grpc_lb_v1_ServerList_new(upb_Arena* arena) { - return (grpc_lb_v1_ServerList*)_upb_Message_New(&grpc_lb_v1_ServerList_msg_init, arena); + return (grpc_lb_v1_ServerList*)_upb_Message_New(&grpc__lb__v1__ServerList_msg_init, arena); } UPB_INLINE grpc_lb_v1_ServerList* grpc_lb_v1_ServerList_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lb_v1_ServerList* ret = grpc_lb_v1_ServerList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_ServerList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lb__v1__ServerList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -695,7 +689,7 @@ UPB_INLINE grpc_lb_v1_ServerList* grpc_lb_v1_ServerList_parse_ex(const char* buf int options, upb_Arena* arena) { grpc_lb_v1_ServerList* ret = grpc_lb_v1_ServerList_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_ServerList_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lb__v1__ServerList_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -703,13 +697,13 @@ UPB_INLINE grpc_lb_v1_ServerList* grpc_lb_v1_ServerList_parse_ex(const char* buf } UPB_INLINE char* grpc_lb_v1_ServerList_serialize(const grpc_lb_v1_ServerList* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_ServerList_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__ServerList_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lb_v1_ServerList_serialize_ex(const grpc_lb_v1_ServerList* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_ServerList_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__ServerList_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lb_v1_ServerList_clear_servers(grpc_lb_v1_ServerList* msg) { @@ -771,7 +765,7 @@ UPB_INLINE struct grpc_lb_v1_Server* grpc_lb_v1_ServerList_add_servers(grpc_lb_v if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct grpc_lb_v1_Server* sub = (struct grpc_lb_v1_Server*)_upb_Message_New(&grpc_lb_v1_Server_msg_init, arena); + struct grpc_lb_v1_Server* sub = (struct grpc_lb_v1_Server*)_upb_Message_New(&grpc__lb__v1__Server_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -780,12 +774,12 @@ UPB_INLINE struct grpc_lb_v1_Server* grpc_lb_v1_ServerList_add_servers(grpc_lb_v /* grpc.lb.v1.Server */ UPB_INLINE grpc_lb_v1_Server* grpc_lb_v1_Server_new(upb_Arena* arena) { - return (grpc_lb_v1_Server*)_upb_Message_New(&grpc_lb_v1_Server_msg_init, arena); + return (grpc_lb_v1_Server*)_upb_Message_New(&grpc__lb__v1__Server_msg_init, arena); } UPB_INLINE grpc_lb_v1_Server* grpc_lb_v1_Server_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lb_v1_Server* ret = grpc_lb_v1_Server_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_Server_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lb__v1__Server_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -795,7 +789,7 @@ UPB_INLINE grpc_lb_v1_Server* grpc_lb_v1_Server_parse_ex(const char* buf, size_t int options, upb_Arena* arena) { grpc_lb_v1_Server* ret = grpc_lb_v1_Server_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lb_v1_Server_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lb__v1__Server_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -803,13 +797,13 @@ UPB_INLINE grpc_lb_v1_Server* grpc_lb_v1_Server_parse_ex(const char* buf, size_t } UPB_INLINE char* grpc_lb_v1_Server_serialize(const grpc_lb_v1_Server* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_Server_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__Server_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lb_v1_Server_serialize_ex(const grpc_lb_v1_Server* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lb_v1_Server_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lb__v1__Server_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lb_v1_Server_clear_ip_address(grpc_lb_v1_Server* msg) { @@ -874,8 +868,6 @@ UPB_INLINE void grpc_lb_v1_Server_set_drop(grpc_lb_v1_Server *msg, bool value) { _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile src_proto_grpc_lb_v1_load_balancer_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c b/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c new file mode 100644 index 00000000000..d6f9cc09650 --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c @@ -0,0 +1,221 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/lb/v1/load_balancer.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "src/proto/grpc/lb/v1/load_balancer.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub grpc_lb_v1_LoadBalanceRequest_submsgs[2] = { + {.submsg = &grpc__lb__v1__InitialLoadBalanceRequest_msg_init}, + {.submsg = &grpc__lb__v1__ClientStats_msg_init}, +}; + +static const upb_MiniTableField grpc_lb_v1_LoadBalanceRequest__fields[2] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lb__v1__LoadBalanceRequest_msg_init = { + &grpc_lb_v1_LoadBalanceRequest_submsgs[0], + &grpc_lb_v1_LoadBalanceRequest__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField grpc_lb_v1_InitialLoadBalanceRequest__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lb__v1__InitialLoadBalanceRequest_msg_init = { + NULL, + &grpc_lb_v1_InitialLoadBalanceRequest__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField grpc_lb_v1_ClientStatsPerToken__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lb__v1__ClientStatsPerToken_msg_init = { + NULL, + &grpc_lb_v1_ClientStatsPerToken__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000010, &upb_psv8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub grpc_lb_v1_ClientStats_submsgs[2] = { + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &grpc__lb__v1__ClientStatsPerToken_msg_init}, +}; + +static const upb_MiniTableField grpc_lb_v1_ClientStats__fields[6] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, 24, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {6, 32, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {7, 40, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lb__v1__ClientStats_msg_init = { + &grpc_lb_v1_ClientStats_submsgs[0], + &grpc_lb_v1_ClientStats__fields[0], + UPB_SIZE(48, 56), 6, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000010, &upb_psv8_1bt}, + {0x001800003f000018, &upb_psv8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002000003f000030, &upb_psv8_1bt}, + {0x002800003f000038, &upb_psv8_1bt}, + {0x003000003f010042, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub grpc_lb_v1_LoadBalanceResponse_submsgs[3] = { + {.submsg = &grpc__lb__v1__InitialLoadBalanceResponse_msg_init}, + {.submsg = &grpc__lb__v1__ServerList_msg_init}, + {.submsg = &grpc__lb__v1__FallbackResponse_msg_init}, +}; + +static const upb_MiniTableField grpc_lb_v1_LoadBalanceResponse__fields[3] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lb__v1__LoadBalanceResponse_msg_init = { + &grpc_lb_v1_LoadBalanceResponse_submsgs[0], + &grpc_lb_v1_LoadBalanceResponse__fields[0], + UPB_SIZE(8, 16), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + }) +}; + +const upb_MiniTable grpc__lb__v1__FallbackResponse_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub grpc_lb_v1_InitialLoadBalanceResponse_submsgs[1] = { + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField grpc_lb_v1_InitialLoadBalanceResponse__fields[1] = { + {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lb__v1__InitialLoadBalanceResponse_msg_init = { + &grpc_lb_v1_InitialLoadBalanceResponse_submsgs[0], + &grpc_lb_v1_InitialLoadBalanceResponse__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub grpc_lb_v1_ServerList_submsgs[1] = { + {.submsg = &grpc__lb__v1__Server_msg_init}, +}; + +static const upb_MiniTableField grpc_lb_v1_ServerList__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lb__v1__ServerList_msg_init = { + &grpc_lb_v1_ServerList_submsgs[0], + &grpc_lb_v1_ServerList__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableField grpc_lb_v1_Server__fields[4] = { + {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lb__v1__Server_msg_init = { + NULL, + &grpc_lb_v1_Server__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_psb_1bt}, + {0x000000003f000010, &upb_psv4_1bt}, + {0x001800003f00001a, &upb_pss_1bt}, + {0x000400003f000020, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[9] = { + &grpc__lb__v1__LoadBalanceRequest_msg_init, + &grpc__lb__v1__InitialLoadBalanceRequest_msg_init, + &grpc__lb__v1__ClientStatsPerToken_msg_init, + &grpc__lb__v1__ClientStats_msg_init, + &grpc__lb__v1__LoadBalanceResponse_msg_init, + &grpc__lb__v1__FallbackResponse_msg_init, + &grpc__lb__v1__InitialLoadBalanceResponse_msg_init, + &grpc__lb__v1__ServerList_msg_init, + &grpc__lb__v1__Server_msg_init, +}; + +const upb_MiniTableFile src_proto_grpc_lb_v1_load_balancer_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 9, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h b/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h new file mode 100644 index 00000000000..6178f8c94a3 --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h @@ -0,0 +1,38 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/lb/v1/load_balancer.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef SRC_PROTO_GRPC_LB_V1_LOAD_BALANCER_PROTO_UPB_MINITABLE_H_ +#define SRC_PROTO_GRPC_LB_V1_LOAD_BALANCER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable grpc__lb__v1__LoadBalanceRequest_msg_init; +extern const upb_MiniTable grpc__lb__v1__InitialLoadBalanceRequest_msg_init; +extern const upb_MiniTable grpc__lb__v1__ClientStatsPerToken_msg_init; +extern const upb_MiniTable grpc__lb__v1__ClientStats_msg_init; +extern const upb_MiniTable grpc__lb__v1__LoadBalanceResponse_msg_init; +extern const upb_MiniTable grpc__lb__v1__FallbackResponse_msg_init; +extern const upb_MiniTable grpc__lb__v1__InitialLoadBalanceResponse_msg_init; +extern const upb_MiniTable grpc__lb__v1__ServerList_msg_init; +extern const upb_MiniTable grpc__lb__v1__Server_msg_init; + +extern const upb_MiniTableFile src_proto_grpc_lb_v1_load_balancer_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* SRC_PROTO_GRPC_LB_V1_LOAD_BALANCER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h b/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h similarity index 92% rename from src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h rename to src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h index ba3a53c263a..41bbb0992eb 100644 --- a/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +++ b/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * src/proto/grpc/lookup/v1/rls.proto * @@ -10,7 +9,10 @@ #define SRC_PROTO_GRPC_LOOKUP_V1_RLS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "src/proto/grpc/lookup/v1/rls.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -20,9 +22,6 @@ extern "C" { typedef struct grpc_lookup_v1_RouteLookupRequest grpc_lookup_v1_RouteLookupRequest; typedef struct grpc_lookup_v1_RouteLookupRequest_KeyMapEntry grpc_lookup_v1_RouteLookupRequest_KeyMapEntry; typedef struct grpc_lookup_v1_RouteLookupResponse grpc_lookup_v1_RouteLookupResponse; -extern const upb_MiniTable grpc_lookup_v1_RouteLookupRequest_msg_init; -extern const upb_MiniTable grpc_lookup_v1_RouteLookupRequest_KeyMapEntry_msg_init; -extern const upb_MiniTable grpc_lookup_v1_RouteLookupResponse_msg_init; typedef enum { grpc_lookup_v1_RouteLookupRequest_REASON_UNKNOWN = 0, @@ -35,12 +34,12 @@ typedef enum { /* grpc.lookup.v1.RouteLookupRequest */ UPB_INLINE grpc_lookup_v1_RouteLookupRequest* grpc_lookup_v1_RouteLookupRequest_new(upb_Arena* arena) { - return (grpc_lookup_v1_RouteLookupRequest*)_upb_Message_New(&grpc_lookup_v1_RouteLookupRequest_msg_init, arena); + return (grpc_lookup_v1_RouteLookupRequest*)_upb_Message_New(&grpc__lookup__v1__RouteLookupRequest_msg_init, arena); } UPB_INLINE grpc_lookup_v1_RouteLookupRequest* grpc_lookup_v1_RouteLookupRequest_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lookup_v1_RouteLookupRequest* ret = grpc_lookup_v1_RouteLookupRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_RouteLookupRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__RouteLookupRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -50,7 +49,7 @@ UPB_INLINE grpc_lookup_v1_RouteLookupRequest* grpc_lookup_v1_RouteLookupRequest_ int options, upb_Arena* arena) { grpc_lookup_v1_RouteLookupRequest* ret = grpc_lookup_v1_RouteLookupRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_RouteLookupRequest_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__RouteLookupRequest_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -58,13 +57,13 @@ UPB_INLINE grpc_lookup_v1_RouteLookupRequest* grpc_lookup_v1_RouteLookupRequest_ } UPB_INLINE char* grpc_lookup_v1_RouteLookupRequest_serialize(const grpc_lookup_v1_RouteLookupRequest* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_RouteLookupRequest_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__RouteLookupRequest_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lookup_v1_RouteLookupRequest_serialize_ex(const grpc_lookup_v1_RouteLookupRequest* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_RouteLookupRequest_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__RouteLookupRequest_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lookup_v1_RouteLookupRequest_clear_target_type(grpc_lookup_v1_RouteLookupRequest* msg) { @@ -179,12 +178,12 @@ UPB_INLINE void grpc_lookup_v1_RouteLookupRequest_KeyMapEntry_set_value(grpc_loo /* grpc.lookup.v1.RouteLookupResponse */ UPB_INLINE grpc_lookup_v1_RouteLookupResponse* grpc_lookup_v1_RouteLookupResponse_new(upb_Arena* arena) { - return (grpc_lookup_v1_RouteLookupResponse*)_upb_Message_New(&grpc_lookup_v1_RouteLookupResponse_msg_init, arena); + return (grpc_lookup_v1_RouteLookupResponse*)_upb_Message_New(&grpc__lookup__v1__RouteLookupResponse_msg_init, arena); } UPB_INLINE grpc_lookup_v1_RouteLookupResponse* grpc_lookup_v1_RouteLookupResponse_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lookup_v1_RouteLookupResponse* ret = grpc_lookup_v1_RouteLookupResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_RouteLookupResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__RouteLookupResponse_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -194,7 +193,7 @@ UPB_INLINE grpc_lookup_v1_RouteLookupResponse* grpc_lookup_v1_RouteLookupRespons int options, upb_Arena* arena) { grpc_lookup_v1_RouteLookupResponse* ret = grpc_lookup_v1_RouteLookupResponse_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_RouteLookupResponse_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__RouteLookupResponse_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -202,13 +201,13 @@ UPB_INLINE grpc_lookup_v1_RouteLookupResponse* grpc_lookup_v1_RouteLookupRespons } UPB_INLINE char* grpc_lookup_v1_RouteLookupResponse_serialize(const grpc_lookup_v1_RouteLookupResponse* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_RouteLookupResponse_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__RouteLookupResponse_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lookup_v1_RouteLookupResponse_serialize_ex(const grpc_lookup_v1_RouteLookupResponse* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_RouteLookupResponse_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__RouteLookupResponse_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lookup_v1_RouteLookupResponse_clear_header_data(grpc_lookup_v1_RouteLookupResponse* msg) { @@ -289,8 +288,6 @@ UPB_INLINE bool grpc_lookup_v1_RouteLookupResponse_add_targets(grpc_lookup_v1_Ro return true; } -extern const upb_MiniTableFile src_proto_grpc_lookup_v1_rls_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c b/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c new file mode 100644 index 00000000000..d1c77b94b42 --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c @@ -0,0 +1,92 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/lookup/v1/rls.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "src/proto/grpc/lookup/v1/rls.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub grpc_lookup_v1_RouteLookupRequest_submsgs[1] = { + {.submsg = &grpc__lookup__v1__RouteLookupRequest__KeyMapEntry_msg_init}, +}; + +static const upb_MiniTableField grpc_lookup_v1_RouteLookupRequest__fields[4] = { + {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(0, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 0), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lookup__v1__RouteLookupRequest_msg_init = { + &grpc_lookup_v1_RouteLookupRequest_submsgs[0], + &grpc_lookup_v1_RouteLookupRequest__fields[0], + UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00001a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000028, &upb_psv4_1bt}, + {0x002000003f000032, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField grpc_lookup_v1_RouteLookupRequest_KeyMapEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lookup__v1__RouteLookupRequest__KeyMapEntry_msg_init = { + NULL, + &grpc_lookup_v1_RouteLookupRequest_KeyMapEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField grpc_lookup_v1_RouteLookupResponse__fields[2] = { + {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(0, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lookup__v1__RouteLookupResponse_msg_init = { + NULL, + &grpc_lookup_v1_RouteLookupResponse__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000012, &upb_pss_1bt}, + {0x001000003f00001a, &upb_prs_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[3] = { + &grpc__lookup__v1__RouteLookupRequest_msg_init, + &grpc__lookup__v1__RouteLookupRequest__KeyMapEntry_msg_init, + &grpc__lookup__v1__RouteLookupResponse_msg_init, +}; + +const upb_MiniTableFile src_proto_grpc_lookup_v1_rls_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 3, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h b/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h new file mode 100644 index 00000000000..2f94131cf51 --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h @@ -0,0 +1,32 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/lookup/v1/rls.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef SRC_PROTO_GRPC_LOOKUP_V1_RLS_PROTO_UPB_MINITABLE_H_ +#define SRC_PROTO_GRPC_LOOKUP_V1_RLS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable grpc__lookup__v1__RouteLookupRequest_msg_init; +extern const upb_MiniTable grpc__lookup__v1__RouteLookupRequest__KeyMapEntry_msg_init; +extern const upb_MiniTable grpc__lookup__v1__RouteLookupResponse_msg_init; + +extern const upb_MiniTableFile src_proto_grpc_lookup_v1_rls_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* SRC_PROTO_GRPC_LOOKUP_V1_RLS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h b/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h similarity index 94% rename from src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h rename to src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h index 9c6b93f1ce0..397a5ca1c2e 100644 --- a/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +++ b/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * src/proto/grpc/lookup/v1/rls_config.proto * @@ -10,7 +9,12 @@ #define SRC_PROTO_GRPC_LOOKUP_V1_RLS_CONFIG_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "src/proto/grpc/lookup/v1/rls_config.upb_minitable.h" + +#include "google/protobuf/duration.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -26,29 +30,19 @@ typedef struct grpc_lookup_v1_HttpKeyBuilder grpc_lookup_v1_HttpKeyBuilder; typedef struct grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry; typedef struct grpc_lookup_v1_RouteLookupConfig grpc_lookup_v1_RouteLookupConfig; typedef struct grpc_lookup_v1_RouteLookupClusterSpecifier grpc_lookup_v1_RouteLookupClusterSpecifier; -extern const upb_MiniTable grpc_lookup_v1_NameMatcher_msg_init; -extern const upb_MiniTable grpc_lookup_v1_GrpcKeyBuilder_msg_init; -extern const upb_MiniTable grpc_lookup_v1_GrpcKeyBuilder_Name_msg_init; -extern const upb_MiniTable grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_msg_init; -extern const upb_MiniTable grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry_msg_init; -extern const upb_MiniTable grpc_lookup_v1_HttpKeyBuilder_msg_init; -extern const upb_MiniTable grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry_msg_init; -extern const upb_MiniTable grpc_lookup_v1_RouteLookupConfig_msg_init; -extern const upb_MiniTable grpc_lookup_v1_RouteLookupClusterSpecifier_msg_init; struct google_protobuf_Duration; -extern const upb_MiniTable google_protobuf_Duration_msg_init; /* grpc.lookup.v1.NameMatcher */ UPB_INLINE grpc_lookup_v1_NameMatcher* grpc_lookup_v1_NameMatcher_new(upb_Arena* arena) { - return (grpc_lookup_v1_NameMatcher*)_upb_Message_New(&grpc_lookup_v1_NameMatcher_msg_init, arena); + return (grpc_lookup_v1_NameMatcher*)_upb_Message_New(&grpc__lookup__v1__NameMatcher_msg_init, arena); } UPB_INLINE grpc_lookup_v1_NameMatcher* grpc_lookup_v1_NameMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lookup_v1_NameMatcher* ret = grpc_lookup_v1_NameMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_NameMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__NameMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -58,7 +52,7 @@ UPB_INLINE grpc_lookup_v1_NameMatcher* grpc_lookup_v1_NameMatcher_parse_ex(const int options, upb_Arena* arena) { grpc_lookup_v1_NameMatcher* ret = grpc_lookup_v1_NameMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_NameMatcher_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__NameMatcher_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -66,13 +60,13 @@ UPB_INLINE grpc_lookup_v1_NameMatcher* grpc_lookup_v1_NameMatcher_parse_ex(const } UPB_INLINE char* grpc_lookup_v1_NameMatcher_serialize(const grpc_lookup_v1_NameMatcher* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_NameMatcher_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__NameMatcher_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lookup_v1_NameMatcher_serialize_ex(const grpc_lookup_v1_NameMatcher* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_NameMatcher_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__NameMatcher_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lookup_v1_NameMatcher_clear_key(grpc_lookup_v1_NameMatcher* msg) { @@ -171,12 +165,12 @@ UPB_INLINE void grpc_lookup_v1_NameMatcher_set_required_match(grpc_lookup_v1_Nam /* grpc.lookup.v1.GrpcKeyBuilder */ UPB_INLINE grpc_lookup_v1_GrpcKeyBuilder* grpc_lookup_v1_GrpcKeyBuilder_new(upb_Arena* arena) { - return (grpc_lookup_v1_GrpcKeyBuilder*)_upb_Message_New(&grpc_lookup_v1_GrpcKeyBuilder_msg_init, arena); + return (grpc_lookup_v1_GrpcKeyBuilder*)_upb_Message_New(&grpc__lookup__v1__GrpcKeyBuilder_msg_init, arena); } UPB_INLINE grpc_lookup_v1_GrpcKeyBuilder* grpc_lookup_v1_GrpcKeyBuilder_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lookup_v1_GrpcKeyBuilder* ret = grpc_lookup_v1_GrpcKeyBuilder_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_GrpcKeyBuilder_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__GrpcKeyBuilder_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -186,7 +180,7 @@ UPB_INLINE grpc_lookup_v1_GrpcKeyBuilder* grpc_lookup_v1_GrpcKeyBuilder_parse_ex int options, upb_Arena* arena) { grpc_lookup_v1_GrpcKeyBuilder* ret = grpc_lookup_v1_GrpcKeyBuilder_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_GrpcKeyBuilder_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__GrpcKeyBuilder_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -194,13 +188,13 @@ UPB_INLINE grpc_lookup_v1_GrpcKeyBuilder* grpc_lookup_v1_GrpcKeyBuilder_parse_ex } UPB_INLINE char* grpc_lookup_v1_GrpcKeyBuilder_serialize(const grpc_lookup_v1_GrpcKeyBuilder* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_GrpcKeyBuilder_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__GrpcKeyBuilder_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lookup_v1_GrpcKeyBuilder_serialize_ex(const grpc_lookup_v1_GrpcKeyBuilder* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_GrpcKeyBuilder_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__GrpcKeyBuilder_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lookup_v1_GrpcKeyBuilder_clear_names(grpc_lookup_v1_GrpcKeyBuilder* msg) { @@ -335,7 +329,7 @@ UPB_INLINE struct grpc_lookup_v1_GrpcKeyBuilder_Name* grpc_lookup_v1_GrpcKeyBuil if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct grpc_lookup_v1_GrpcKeyBuilder_Name* sub = (struct grpc_lookup_v1_GrpcKeyBuilder_Name*)_upb_Message_New(&grpc_lookup_v1_GrpcKeyBuilder_Name_msg_init, arena); + struct grpc_lookup_v1_GrpcKeyBuilder_Name* sub = (struct grpc_lookup_v1_GrpcKeyBuilder_Name*)_upb_Message_New(&grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -361,7 +355,7 @@ UPB_INLINE struct grpc_lookup_v1_NameMatcher* grpc_lookup_v1_GrpcKeyBuilder_add_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct grpc_lookup_v1_NameMatcher* sub = (struct grpc_lookup_v1_NameMatcher*)_upb_Message_New(&grpc_lookup_v1_NameMatcher_msg_init, arena); + struct grpc_lookup_v1_NameMatcher* sub = (struct grpc_lookup_v1_NameMatcher*)_upb_Message_New(&grpc__lookup__v1__NameMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -373,7 +367,7 @@ UPB_INLINE void grpc_lookup_v1_GrpcKeyBuilder_set_extra_keys(grpc_lookup_v1_Grpc UPB_INLINE struct grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys* grpc_lookup_v1_GrpcKeyBuilder_mutable_extra_keys(grpc_lookup_v1_GrpcKeyBuilder* msg, upb_Arena* arena) { struct grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys* sub = (struct grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys*)grpc_lookup_v1_GrpcKeyBuilder_extra_keys(msg); if (sub == NULL) { - sub = (struct grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys*)_upb_Message_New(&grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_msg_init, arena); + sub = (struct grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys*)_upb_Message_New(&grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init, arena); if (sub) grpc_lookup_v1_GrpcKeyBuilder_set_extra_keys(msg, sub); } return sub; @@ -406,12 +400,12 @@ UPB_INLINE grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry* grpc_lookup_v1_GrpcK /* grpc.lookup.v1.GrpcKeyBuilder.Name */ UPB_INLINE grpc_lookup_v1_GrpcKeyBuilder_Name* grpc_lookup_v1_GrpcKeyBuilder_Name_new(upb_Arena* arena) { - return (grpc_lookup_v1_GrpcKeyBuilder_Name*)_upb_Message_New(&grpc_lookup_v1_GrpcKeyBuilder_Name_msg_init, arena); + return (grpc_lookup_v1_GrpcKeyBuilder_Name*)_upb_Message_New(&grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init, arena); } UPB_INLINE grpc_lookup_v1_GrpcKeyBuilder_Name* grpc_lookup_v1_GrpcKeyBuilder_Name_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lookup_v1_GrpcKeyBuilder_Name* ret = grpc_lookup_v1_GrpcKeyBuilder_Name_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_GrpcKeyBuilder_Name_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -421,7 +415,7 @@ UPB_INLINE grpc_lookup_v1_GrpcKeyBuilder_Name* grpc_lookup_v1_GrpcKeyBuilder_Nam int options, upb_Arena* arena) { grpc_lookup_v1_GrpcKeyBuilder_Name* ret = grpc_lookup_v1_GrpcKeyBuilder_Name_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_GrpcKeyBuilder_Name_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -429,13 +423,13 @@ UPB_INLINE grpc_lookup_v1_GrpcKeyBuilder_Name* grpc_lookup_v1_GrpcKeyBuilder_Nam } UPB_INLINE char* grpc_lookup_v1_GrpcKeyBuilder_Name_serialize(const grpc_lookup_v1_GrpcKeyBuilder_Name* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_GrpcKeyBuilder_Name_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lookup_v1_GrpcKeyBuilder_Name_serialize_ex(const grpc_lookup_v1_GrpcKeyBuilder_Name* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_GrpcKeyBuilder_Name_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lookup_v1_GrpcKeyBuilder_Name_clear_service(grpc_lookup_v1_GrpcKeyBuilder_Name* msg) { @@ -473,12 +467,12 @@ UPB_INLINE void grpc_lookup_v1_GrpcKeyBuilder_Name_set_method(grpc_lookup_v1_Grp /* grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys */ UPB_INLINE grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys* grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_new(upb_Arena* arena) { - return (grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys*)_upb_Message_New(&grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_msg_init, arena); + return (grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys*)_upb_Message_New(&grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init, arena); } UPB_INLINE grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys* grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys* ret = grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -488,7 +482,7 @@ UPB_INLINE grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys* grpc_lookup_v1_GrpcKeyBuilde int options, upb_Arena* arena) { grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys* ret = grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -496,13 +490,13 @@ UPB_INLINE grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys* grpc_lookup_v1_GrpcKeyBuilde } UPB_INLINE char* grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_serialize(const grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_serialize_ex(const grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_clear_host(grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys* msg) { @@ -572,12 +566,12 @@ UPB_INLINE void grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry_set_value(grpc_l /* grpc.lookup.v1.HttpKeyBuilder */ UPB_INLINE grpc_lookup_v1_HttpKeyBuilder* grpc_lookup_v1_HttpKeyBuilder_new(upb_Arena* arena) { - return (grpc_lookup_v1_HttpKeyBuilder*)_upb_Message_New(&grpc_lookup_v1_HttpKeyBuilder_msg_init, arena); + return (grpc_lookup_v1_HttpKeyBuilder*)_upb_Message_New(&grpc__lookup__v1__HttpKeyBuilder_msg_init, arena); } UPB_INLINE grpc_lookup_v1_HttpKeyBuilder* grpc_lookup_v1_HttpKeyBuilder_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lookup_v1_HttpKeyBuilder* ret = grpc_lookup_v1_HttpKeyBuilder_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_HttpKeyBuilder_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__HttpKeyBuilder_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -587,7 +581,7 @@ UPB_INLINE grpc_lookup_v1_HttpKeyBuilder* grpc_lookup_v1_HttpKeyBuilder_parse_ex int options, upb_Arena* arena) { grpc_lookup_v1_HttpKeyBuilder* ret = grpc_lookup_v1_HttpKeyBuilder_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_HttpKeyBuilder_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__HttpKeyBuilder_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -595,13 +589,13 @@ UPB_INLINE grpc_lookup_v1_HttpKeyBuilder* grpc_lookup_v1_HttpKeyBuilder_parse_ex } UPB_INLINE char* grpc_lookup_v1_HttpKeyBuilder_serialize(const grpc_lookup_v1_HttpKeyBuilder* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_HttpKeyBuilder_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__HttpKeyBuilder_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lookup_v1_HttpKeyBuilder_serialize_ex(const grpc_lookup_v1_HttpKeyBuilder* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_HttpKeyBuilder_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__HttpKeyBuilder_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lookup_v1_HttpKeyBuilder_clear_host_patterns(grpc_lookup_v1_HttpKeyBuilder* msg) { @@ -843,7 +837,7 @@ UPB_INLINE struct grpc_lookup_v1_NameMatcher* grpc_lookup_v1_HttpKeyBuilder_add_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct grpc_lookup_v1_NameMatcher* sub = (struct grpc_lookup_v1_NameMatcher*)_upb_Message_New(&grpc_lookup_v1_NameMatcher_msg_init, arena); + struct grpc_lookup_v1_NameMatcher* sub = (struct grpc_lookup_v1_NameMatcher*)_upb_Message_New(&grpc__lookup__v1__NameMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -869,7 +863,7 @@ UPB_INLINE struct grpc_lookup_v1_NameMatcher* grpc_lookup_v1_HttpKeyBuilder_add_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct grpc_lookup_v1_NameMatcher* sub = (struct grpc_lookup_v1_NameMatcher*)_upb_Message_New(&grpc_lookup_v1_NameMatcher_msg_init, arena); + struct grpc_lookup_v1_NameMatcher* sub = (struct grpc_lookup_v1_NameMatcher*)_upb_Message_New(&grpc__lookup__v1__NameMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -919,12 +913,12 @@ UPB_INLINE void grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry_set_value(grpc_l /* grpc.lookup.v1.RouteLookupConfig */ UPB_INLINE grpc_lookup_v1_RouteLookupConfig* grpc_lookup_v1_RouteLookupConfig_new(upb_Arena* arena) { - return (grpc_lookup_v1_RouteLookupConfig*)_upb_Message_New(&grpc_lookup_v1_RouteLookupConfig_msg_init, arena); + return (grpc_lookup_v1_RouteLookupConfig*)_upb_Message_New(&grpc__lookup__v1__RouteLookupConfig_msg_init, arena); } UPB_INLINE grpc_lookup_v1_RouteLookupConfig* grpc_lookup_v1_RouteLookupConfig_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lookup_v1_RouteLookupConfig* ret = grpc_lookup_v1_RouteLookupConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_RouteLookupConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__RouteLookupConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -934,7 +928,7 @@ UPB_INLINE grpc_lookup_v1_RouteLookupConfig* grpc_lookup_v1_RouteLookupConfig_pa int options, upb_Arena* arena) { grpc_lookup_v1_RouteLookupConfig* ret = grpc_lookup_v1_RouteLookupConfig_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_RouteLookupConfig_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__RouteLookupConfig_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -942,13 +936,13 @@ UPB_INLINE grpc_lookup_v1_RouteLookupConfig* grpc_lookup_v1_RouteLookupConfig_pa } UPB_INLINE char* grpc_lookup_v1_RouteLookupConfig_serialize(const grpc_lookup_v1_RouteLookupConfig* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_RouteLookupConfig_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__RouteLookupConfig_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lookup_v1_RouteLookupConfig_serialize_ex(const grpc_lookup_v1_RouteLookupConfig* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_RouteLookupConfig_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__RouteLookupConfig_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lookup_v1_RouteLookupConfig_clear_http_keybuilders(grpc_lookup_v1_RouteLookupConfig* msg) { @@ -1162,7 +1156,7 @@ UPB_INLINE struct grpc_lookup_v1_HttpKeyBuilder* grpc_lookup_v1_RouteLookupConfi if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct grpc_lookup_v1_HttpKeyBuilder* sub = (struct grpc_lookup_v1_HttpKeyBuilder*)_upb_Message_New(&grpc_lookup_v1_HttpKeyBuilder_msg_init, arena); + struct grpc_lookup_v1_HttpKeyBuilder* sub = (struct grpc_lookup_v1_HttpKeyBuilder*)_upb_Message_New(&grpc__lookup__v1__HttpKeyBuilder_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1188,7 +1182,7 @@ UPB_INLINE struct grpc_lookup_v1_GrpcKeyBuilder* grpc_lookup_v1_RouteLookupConfi if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct grpc_lookup_v1_GrpcKeyBuilder* sub = (struct grpc_lookup_v1_GrpcKeyBuilder*)_upb_Message_New(&grpc_lookup_v1_GrpcKeyBuilder_msg_init, arena); + struct grpc_lookup_v1_GrpcKeyBuilder* sub = (struct grpc_lookup_v1_GrpcKeyBuilder*)_upb_Message_New(&grpc__lookup__v1__GrpcKeyBuilder_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -1204,7 +1198,7 @@ UPB_INLINE void grpc_lookup_v1_RouteLookupConfig_set_lookup_service_timeout(grpc UPB_INLINE struct google_protobuf_Duration* grpc_lookup_v1_RouteLookupConfig_mutable_lookup_service_timeout(grpc_lookup_v1_RouteLookupConfig* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)grpc_lookup_v1_RouteLookupConfig_lookup_service_timeout(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) grpc_lookup_v1_RouteLookupConfig_set_lookup_service_timeout(msg, sub); } return sub; @@ -1216,7 +1210,7 @@ UPB_INLINE void grpc_lookup_v1_RouteLookupConfig_set_max_age(grpc_lookup_v1_Rout UPB_INLINE struct google_protobuf_Duration* grpc_lookup_v1_RouteLookupConfig_mutable_max_age(grpc_lookup_v1_RouteLookupConfig* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)grpc_lookup_v1_RouteLookupConfig_max_age(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) grpc_lookup_v1_RouteLookupConfig_set_max_age(msg, sub); } return sub; @@ -1228,7 +1222,7 @@ UPB_INLINE void grpc_lookup_v1_RouteLookupConfig_set_stale_age(grpc_lookup_v1_Ro UPB_INLINE struct google_protobuf_Duration* grpc_lookup_v1_RouteLookupConfig_mutable_stale_age(grpc_lookup_v1_RouteLookupConfig* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)grpc_lookup_v1_RouteLookupConfig_stale_age(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) grpc_lookup_v1_RouteLookupConfig_set_stale_age(msg, sub); } return sub; @@ -1269,12 +1263,12 @@ UPB_INLINE void grpc_lookup_v1_RouteLookupConfig_set_default_target(grpc_lookup_ /* grpc.lookup.v1.RouteLookupClusterSpecifier */ UPB_INLINE grpc_lookup_v1_RouteLookupClusterSpecifier* grpc_lookup_v1_RouteLookupClusterSpecifier_new(upb_Arena* arena) { - return (grpc_lookup_v1_RouteLookupClusterSpecifier*)_upb_Message_New(&grpc_lookup_v1_RouteLookupClusterSpecifier_msg_init, arena); + return (grpc_lookup_v1_RouteLookupClusterSpecifier*)_upb_Message_New(&grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init, arena); } UPB_INLINE grpc_lookup_v1_RouteLookupClusterSpecifier* grpc_lookup_v1_RouteLookupClusterSpecifier_parse(const char* buf, size_t size, upb_Arena* arena) { grpc_lookup_v1_RouteLookupClusterSpecifier* ret = grpc_lookup_v1_RouteLookupClusterSpecifier_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_RouteLookupClusterSpecifier_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1284,7 +1278,7 @@ UPB_INLINE grpc_lookup_v1_RouteLookupClusterSpecifier* grpc_lookup_v1_RouteLooku int options, upb_Arena* arena) { grpc_lookup_v1_RouteLookupClusterSpecifier* ret = grpc_lookup_v1_RouteLookupClusterSpecifier_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &grpc_lookup_v1_RouteLookupClusterSpecifier_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1292,13 +1286,13 @@ UPB_INLINE grpc_lookup_v1_RouteLookupClusterSpecifier* grpc_lookup_v1_RouteLooku } UPB_INLINE char* grpc_lookup_v1_RouteLookupClusterSpecifier_serialize(const grpc_lookup_v1_RouteLookupClusterSpecifier* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_RouteLookupClusterSpecifier_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* grpc_lookup_v1_RouteLookupClusterSpecifier_serialize_ex(const grpc_lookup_v1_RouteLookupClusterSpecifier* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &grpc_lookup_v1_RouteLookupClusterSpecifier_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void grpc_lookup_v1_RouteLookupClusterSpecifier_clear_route_lookup_config(grpc_lookup_v1_RouteLookupClusterSpecifier* msg) { @@ -1324,14 +1318,12 @@ UPB_INLINE void grpc_lookup_v1_RouteLookupClusterSpecifier_set_route_lookup_conf UPB_INLINE struct grpc_lookup_v1_RouteLookupConfig* grpc_lookup_v1_RouteLookupClusterSpecifier_mutable_route_lookup_config(grpc_lookup_v1_RouteLookupClusterSpecifier* msg, upb_Arena* arena) { struct grpc_lookup_v1_RouteLookupConfig* sub = (struct grpc_lookup_v1_RouteLookupConfig*)grpc_lookup_v1_RouteLookupClusterSpecifier_route_lookup_config(msg); if (sub == NULL) { - sub = (struct grpc_lookup_v1_RouteLookupConfig*)_upb_Message_New(&grpc_lookup_v1_RouteLookupConfig_msg_init, arena); + sub = (struct grpc_lookup_v1_RouteLookupConfig*)_upb_Message_New(&grpc__lookup__v1__RouteLookupConfig_msg_init, arena); if (sub) grpc_lookup_v1_RouteLookupClusterSpecifier_set_route_lookup_config(msg, sub); } return sub; } -extern const upb_MiniTableFile src_proto_grpc_lookup_v1_rls_config_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c b/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c new file mode 100644 index 00000000000..aa54ef6179f --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c @@ -0,0 +1,243 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/lookup/v1/rls_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "src/proto/grpc/lookup/v1/rls_config.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField grpc_lookup_v1_NameMatcher__fields[3] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(0, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lookup__v1__NameMatcher_msg_init = { + NULL, + &grpc_lookup_v1_NameMatcher__fields[0], + UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_prs_1bt}, + {0x000000003f000018, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableSub grpc_lookup_v1_GrpcKeyBuilder_submsgs[4] = { + {.submsg = &grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init}, + {.submsg = &grpc__lookup__v1__NameMatcher_msg_init}, + {.submsg = &grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init}, + {.submsg = &grpc__lookup__v1__GrpcKeyBuilder__ConstantKeysEntry_msg_init}, +}; + +static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder__fields[4] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 32), 0, 3, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder_msg_init = { + &grpc_lookup_v1_GrpcKeyBuilder_submsgs[0], + &grpc_lookup_v1_GrpcKeyBuilder__fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_max64b}, + {0x001000003f010012, &upb_prm_1bt_max64b}, + {0x001800000102001a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder_Name__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init = { + NULL, + &grpc_lookup_v1_GrpcKeyBuilder_Name__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys__fields[3] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init = { + NULL, + &grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys__fields[0], + UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000003f00001a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder__ConstantKeysEntry_msg_init = { + NULL, + &grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub grpc_lookup_v1_HttpKeyBuilder_submsgs[3] = { + {.submsg = &grpc__lookup__v1__NameMatcher_msg_init}, + {.submsg = &grpc__lookup__v1__NameMatcher_msg_init}, + {.submsg = &grpc__lookup__v1__HttpKeyBuilder__ConstantKeysEntry_msg_init}, +}; + +static const upb_MiniTableField grpc_lookup_v1_HttpKeyBuilder__fields[5] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 32), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lookup__v1__HttpKeyBuilder_msg_init = { + &grpc_lookup_v1_HttpKeyBuilder_submsgs[0], + &grpc_lookup_v1_HttpKeyBuilder__fields[0], + UPB_SIZE(24, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prs_1bt}, + {0x000800003f000012, &upb_prs_1bt}, + {0x001000003f00001a, &upb_prm_1bt_max64b}, + {0x001800003f010022, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lookup__v1__HttpKeyBuilder__ConstantKeysEntry_msg_init = { + NULL, + &grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub grpc_lookup_v1_RouteLookupConfig_submsgs[5] = { + {.submsg = &grpc__lookup__v1__HttpKeyBuilder_msg_init}, + {.submsg = &grpc__lookup__v1__GrpcKeyBuilder_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField grpc_lookup_v1_RouteLookupConfig__fields[9] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 40), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 48), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 56), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(40, 64), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(24, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(48, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lookup__v1__RouteLookupConfig_msg_init = { + &grpc_lookup_v1_RouteLookupConfig_submsgs[0], + &grpc_lookup_v1_RouteLookupConfig__fields[0], + UPB_SIZE(56, 96), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_max64b}, + {0x001000003f010012, &upb_prm_1bt_max64b}, + {0x001800003f00001a, &upb_pss_1bt}, + {0x0028000001020022, &upb_psm_1bt_maxmaxb}, + {0x003000000203002a, &upb_psm_1bt_maxmaxb}, + {0x0038000003040032, &upb_psm_1bt_maxmaxb}, + {0x004000003f000038, &upb_psv8_1bt}, + {0x004800003f000042, &upb_prs_1bt}, + {0x005000003f00004a, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub grpc_lookup_v1_RouteLookupClusterSpecifier_submsgs[1] = { + {.submsg = &grpc__lookup__v1__RouteLookupConfig_msg_init}, +}; + +static const upb_MiniTableField grpc_lookup_v1_RouteLookupClusterSpecifier__fields[1] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init = { + &grpc_lookup_v1_RouteLookupClusterSpecifier_submsgs[0], + &grpc_lookup_v1_RouteLookupClusterSpecifier__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max128b}, + }) +}; + +static const upb_MiniTable *messages_layout[9] = { + &grpc__lookup__v1__NameMatcher_msg_init, + &grpc__lookup__v1__GrpcKeyBuilder_msg_init, + &grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init, + &grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init, + &grpc__lookup__v1__GrpcKeyBuilder__ConstantKeysEntry_msg_init, + &grpc__lookup__v1__HttpKeyBuilder_msg_init, + &grpc__lookup__v1__HttpKeyBuilder__ConstantKeysEntry_msg_init, + &grpc__lookup__v1__RouteLookupConfig_msg_init, + &grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init, +}; + +const upb_MiniTableFile src_proto_grpc_lookup_v1_rls_config_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 9, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h b/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h new file mode 100644 index 00000000000..d56e6e943ae --- /dev/null +++ b/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h @@ -0,0 +1,38 @@ +/* This file was generated by upb_generator from the input file: + * + * src/proto/grpc/lookup/v1/rls_config.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef SRC_PROTO_GRPC_LOOKUP_V1_RLS_CONFIG_PROTO_UPB_MINITABLE_H_ +#define SRC_PROTO_GRPC_LOOKUP_V1_RLS_CONFIG_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable grpc__lookup__v1__NameMatcher_msg_init; +extern const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder_msg_init; +extern const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init; +extern const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init; +extern const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder__ConstantKeysEntry_msg_init; +extern const upb_MiniTable grpc__lookup__v1__HttpKeyBuilder_msg_init; +extern const upb_MiniTable grpc__lookup__v1__HttpKeyBuilder__ConstantKeysEntry_msg_init; +extern const upb_MiniTable grpc__lookup__v1__RouteLookupConfig_msg_init; +extern const upb_MiniTable grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init; + +extern const upb_MiniTableFile src_proto_grpc_lookup_v1_rls_config_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* SRC_PROTO_GRPC_LOOKUP_V1_RLS_CONFIG_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h b/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h new file mode 100644 index 00000000000..94ec3622c30 --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h @@ -0,0 +1,322 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/migrate.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_MIGRATE_PROTO_UPB_H_ +#define UDPA_ANNOTATIONS_MIGRATE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "udpa/annotations/migrate.upb_minitable.h" + +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct udpa_annotations_MigrateAnnotation udpa_annotations_MigrateAnnotation; +typedef struct udpa_annotations_FieldMigrateAnnotation udpa_annotations_FieldMigrateAnnotation; +typedef struct udpa_annotations_FileMigrateAnnotation udpa_annotations_FileMigrateAnnotation; +struct google_protobuf_EnumOptions; +struct google_protobuf_EnumValueOptions; +struct google_protobuf_FieldOptions; +struct google_protobuf_FileOptions; +struct google_protobuf_MessageOptions; + + + +/* udpa.annotations.MigrateAnnotation */ + +UPB_INLINE udpa_annotations_MigrateAnnotation* udpa_annotations_MigrateAnnotation_new(upb_Arena* arena) { + return (udpa_annotations_MigrateAnnotation*)_upb_Message_New(&udpa__annotations__MigrateAnnotation_msg_init, arena); +} +UPB_INLINE udpa_annotations_MigrateAnnotation* udpa_annotations_MigrateAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + udpa_annotations_MigrateAnnotation* ret = udpa_annotations_MigrateAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &udpa__annotations__MigrateAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE udpa_annotations_MigrateAnnotation* udpa_annotations_MigrateAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + udpa_annotations_MigrateAnnotation* ret = udpa_annotations_MigrateAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &udpa__annotations__MigrateAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* udpa_annotations_MigrateAnnotation_serialize(const udpa_annotations_MigrateAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &udpa__annotations__MigrateAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* udpa_annotations_MigrateAnnotation_serialize_ex(const udpa_annotations_MigrateAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &udpa__annotations__MigrateAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void udpa_annotations_MigrateAnnotation_clear_rename(udpa_annotations_MigrateAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView udpa_annotations_MigrateAnnotation_rename(const udpa_annotations_MigrateAnnotation* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void udpa_annotations_MigrateAnnotation_set_rename(udpa_annotations_MigrateAnnotation *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* udpa.annotations.FieldMigrateAnnotation */ + +UPB_INLINE udpa_annotations_FieldMigrateAnnotation* udpa_annotations_FieldMigrateAnnotation_new(upb_Arena* arena) { + return (udpa_annotations_FieldMigrateAnnotation*)_upb_Message_New(&udpa__annotations__FieldMigrateAnnotation_msg_init, arena); +} +UPB_INLINE udpa_annotations_FieldMigrateAnnotation* udpa_annotations_FieldMigrateAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + udpa_annotations_FieldMigrateAnnotation* ret = udpa_annotations_FieldMigrateAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &udpa__annotations__FieldMigrateAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE udpa_annotations_FieldMigrateAnnotation* udpa_annotations_FieldMigrateAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + udpa_annotations_FieldMigrateAnnotation* ret = udpa_annotations_FieldMigrateAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &udpa__annotations__FieldMigrateAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* udpa_annotations_FieldMigrateAnnotation_serialize(const udpa_annotations_FieldMigrateAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &udpa__annotations__FieldMigrateAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* udpa_annotations_FieldMigrateAnnotation_serialize_ex(const udpa_annotations_FieldMigrateAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &udpa__annotations__FieldMigrateAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void udpa_annotations_FieldMigrateAnnotation_clear_rename(udpa_annotations_FieldMigrateAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView udpa_annotations_FieldMigrateAnnotation_rename(const udpa_annotations_FieldMigrateAnnotation* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void udpa_annotations_FieldMigrateAnnotation_clear_oneof_promotion(udpa_annotations_FieldMigrateAnnotation* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView udpa_annotations_FieldMigrateAnnotation_oneof_promotion(const udpa_annotations_FieldMigrateAnnotation* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void udpa_annotations_FieldMigrateAnnotation_set_rename(udpa_annotations_FieldMigrateAnnotation *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void udpa_annotations_FieldMigrateAnnotation_set_oneof_promotion(udpa_annotations_FieldMigrateAnnotation *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* udpa.annotations.FileMigrateAnnotation */ + +UPB_INLINE udpa_annotations_FileMigrateAnnotation* udpa_annotations_FileMigrateAnnotation_new(upb_Arena* arena) { + return (udpa_annotations_FileMigrateAnnotation*)_upb_Message_New(&udpa__annotations__FileMigrateAnnotation_msg_init, arena); +} +UPB_INLINE udpa_annotations_FileMigrateAnnotation* udpa_annotations_FileMigrateAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + udpa_annotations_FileMigrateAnnotation* ret = udpa_annotations_FileMigrateAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &udpa__annotations__FileMigrateAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE udpa_annotations_FileMigrateAnnotation* udpa_annotations_FileMigrateAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + udpa_annotations_FileMigrateAnnotation* ret = udpa_annotations_FileMigrateAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &udpa__annotations__FileMigrateAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* udpa_annotations_FileMigrateAnnotation_serialize(const udpa_annotations_FileMigrateAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &udpa__annotations__FileMigrateAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* udpa_annotations_FileMigrateAnnotation_serialize_ex(const udpa_annotations_FileMigrateAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &udpa__annotations__FileMigrateAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void udpa_annotations_FileMigrateAnnotation_clear_move_to_package(udpa_annotations_FileMigrateAnnotation* msg) { + const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView udpa_annotations_FileMigrateAnnotation_move_to_package(const udpa_annotations_FileMigrateAnnotation* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void udpa_annotations_FileMigrateAnnotation_set_move_to_package(udpa_annotations_FileMigrateAnnotation *msg, upb_StringView value) { + const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +UPB_INLINE bool udpa_annotations_has_message_migrate(const struct google_protobuf_MessageOptions* msg) { + return _upb_Message_HasExtensionField(msg, &udpa_annotations_message_migrate_ext); +} +UPB_INLINE void udpa_annotations_clear_message_migrate(struct google_protobuf_MessageOptions* msg) { + _upb_Message_ClearExtensionField(msg, &udpa_annotations_message_migrate_ext); +} +UPB_INLINE const udpa_annotations_MigrateAnnotation* udpa_annotations_message_migrate(const struct google_protobuf_MessageOptions* msg) { + const upb_MiniTableExtension* ext = &udpa_annotations_message_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const udpa_annotations_MigrateAnnotation* default_val = NULL; + const udpa_annotations_MigrateAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void udpa_annotations_set_message_migrate(struct google_protobuf_MessageOptions* msg, const udpa_annotations_MigrateAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &udpa_annotations_message_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +UPB_INLINE bool udpa_annotations_has_field_migrate(const struct google_protobuf_FieldOptions* msg) { + return _upb_Message_HasExtensionField(msg, &udpa_annotations_field_migrate_ext); +} +UPB_INLINE void udpa_annotations_clear_field_migrate(struct google_protobuf_FieldOptions* msg) { + _upb_Message_ClearExtensionField(msg, &udpa_annotations_field_migrate_ext); +} +UPB_INLINE const udpa_annotations_FieldMigrateAnnotation* udpa_annotations_field_migrate(const struct google_protobuf_FieldOptions* msg) { + const upb_MiniTableExtension* ext = &udpa_annotations_field_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const udpa_annotations_FieldMigrateAnnotation* default_val = NULL; + const udpa_annotations_FieldMigrateAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void udpa_annotations_set_field_migrate(struct google_protobuf_FieldOptions* msg, const udpa_annotations_FieldMigrateAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &udpa_annotations_field_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +UPB_INLINE bool udpa_annotations_has_enum_migrate(const struct google_protobuf_EnumOptions* msg) { + return _upb_Message_HasExtensionField(msg, &udpa_annotations_enum_migrate_ext); +} +UPB_INLINE void udpa_annotations_clear_enum_migrate(struct google_protobuf_EnumOptions* msg) { + _upb_Message_ClearExtensionField(msg, &udpa_annotations_enum_migrate_ext); +} +UPB_INLINE const udpa_annotations_MigrateAnnotation* udpa_annotations_enum_migrate(const struct google_protobuf_EnumOptions* msg) { + const upb_MiniTableExtension* ext = &udpa_annotations_enum_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const udpa_annotations_MigrateAnnotation* default_val = NULL; + const udpa_annotations_MigrateAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void udpa_annotations_set_enum_migrate(struct google_protobuf_EnumOptions* msg, const udpa_annotations_MigrateAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &udpa_annotations_enum_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +UPB_INLINE bool udpa_annotations_has_enum_value_migrate(const struct google_protobuf_EnumValueOptions* msg) { + return _upb_Message_HasExtensionField(msg, &udpa_annotations_enum_value_migrate_ext); +} +UPB_INLINE void udpa_annotations_clear_enum_value_migrate(struct google_protobuf_EnumValueOptions* msg) { + _upb_Message_ClearExtensionField(msg, &udpa_annotations_enum_value_migrate_ext); +} +UPB_INLINE const udpa_annotations_MigrateAnnotation* udpa_annotations_enum_value_migrate(const struct google_protobuf_EnumValueOptions* msg) { + const upb_MiniTableExtension* ext = &udpa_annotations_enum_value_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const udpa_annotations_MigrateAnnotation* default_val = NULL; + const udpa_annotations_MigrateAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void udpa_annotations_set_enum_value_migrate(struct google_protobuf_EnumValueOptions* msg, const udpa_annotations_MigrateAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &udpa_annotations_enum_value_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +UPB_INLINE bool udpa_annotations_has_file_migrate(const struct google_protobuf_FileOptions* msg) { + return _upb_Message_HasExtensionField(msg, &udpa_annotations_file_migrate_ext); +} +UPB_INLINE void udpa_annotations_clear_file_migrate(struct google_protobuf_FileOptions* msg) { + _upb_Message_ClearExtensionField(msg, &udpa_annotations_file_migrate_ext); +} +UPB_INLINE const udpa_annotations_FileMigrateAnnotation* udpa_annotations_file_migrate(const struct google_protobuf_FileOptions* msg) { + const upb_MiniTableExtension* ext = &udpa_annotations_file_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const udpa_annotations_FileMigrateAnnotation* default_val = NULL; + const udpa_annotations_FileMigrateAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void udpa_annotations_set_file_migrate(struct google_protobuf_FileOptions* msg, const udpa_annotations_FileMigrateAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &udpa_annotations_file_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_MIGRATE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c b/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c new file mode 100644 index 00000000000..8272341e0a6 --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c @@ -0,0 +1,118 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/migrate.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "udpa/annotations/migrate.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField udpa_annotations_MigrateAnnotation__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable udpa__annotations__MigrateAnnotation_msg_init = { + NULL, + &udpa_annotations_MigrateAnnotation__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField udpa_annotations_FieldMigrateAnnotation__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable udpa__annotations__FieldMigrateAnnotation_msg_init = { + NULL, + &udpa_annotations_FieldMigrateAnnotation__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField udpa_annotations_FileMigrateAnnotation__fields[1] = { + {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable udpa__annotations__FileMigrateAnnotation_msg_init = { + NULL, + &udpa_annotations_FileMigrateAnnotation__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[3] = { + &udpa__annotations__MigrateAnnotation_msg_init, + &udpa__annotations__FieldMigrateAnnotation_msg_init, + &udpa__annotations__FileMigrateAnnotation_msg_init, +}; + +const upb_MiniTableExtension udpa_annotations_message_migrate_ext = { + {171962766, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__MessageOptions_msg_init, + {.submsg = &udpa__annotations__MigrateAnnotation_msg_init}, + +}; +const upb_MiniTableExtension udpa_annotations_field_migrate_ext = { + {171962766, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__FieldOptions_msg_init, + {.submsg = &udpa__annotations__FieldMigrateAnnotation_msg_init}, + +}; +const upb_MiniTableExtension udpa_annotations_enum_migrate_ext = { + {171962766, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__EnumOptions_msg_init, + {.submsg = &udpa__annotations__MigrateAnnotation_msg_init}, + +}; +const upb_MiniTableExtension udpa_annotations_enum_value_migrate_ext = { + {171962766, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__EnumValueOptions_msg_init, + {.submsg = &udpa__annotations__MigrateAnnotation_msg_init}, + +}; +const upb_MiniTableExtension udpa_annotations_file_migrate_ext = { + {171962766, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__FileOptions_msg_init, + {.submsg = &udpa__annotations__FileMigrateAnnotation_msg_init}, + +}; + +static const upb_MiniTableExtension *extensions_layout[5] = { + &udpa_annotations_message_migrate_ext, + &udpa_annotations_field_migrate_ext, + &udpa_annotations_enum_migrate_ext, + &udpa_annotations_enum_value_migrate_ext, + &udpa_annotations_file_migrate_ext, +}; + +const upb_MiniTableFile udpa_annotations_migrate_proto_upb_file_layout = { + messages_layout, + NULL, + extensions_layout, + 3, + 0, + 5, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h b/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h new file mode 100644 index 00000000000..21c1a12b78d --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h @@ -0,0 +1,37 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/migrate.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_MIGRATE_PROTO_UPB_MINITABLE_H_ +#define UDPA_ANNOTATIONS_MIGRATE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable udpa__annotations__MigrateAnnotation_msg_init; +extern const upb_MiniTable udpa__annotations__FieldMigrateAnnotation_msg_init; +extern const upb_MiniTable udpa__annotations__FileMigrateAnnotation_msg_init; +extern const upb_MiniTableExtension udpa_annotations_message_migrate_ext; +extern const upb_MiniTableExtension udpa_annotations_field_migrate_ext; +extern const upb_MiniTableExtension udpa_annotations_enum_migrate_ext; +extern const upb_MiniTableExtension udpa_annotations_enum_value_migrate_ext; +extern const upb_MiniTableExtension udpa_annotations_file_migrate_ext; + +extern const upb_MiniTableFile udpa_annotations_migrate_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_MIGRATE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/udpa/annotations/security.upb.h b/src/core/ext/upb-gen/udpa/annotations/security.upb.h new file mode 100644 index 00000000000..6daef994e40 --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/security.upb.h @@ -0,0 +1,125 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/security.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_SECURITY_PROTO_UPB_H_ +#define UDPA_ANNOTATIONS_SECURITY_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "udpa/annotations/security.upb_minitable.h" + +#include "udpa/annotations/status.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct udpa_annotations_FieldSecurityAnnotation udpa_annotations_FieldSecurityAnnotation; +struct google_protobuf_FieldOptions; + + + +/* udpa.annotations.FieldSecurityAnnotation */ + +UPB_INLINE udpa_annotations_FieldSecurityAnnotation* udpa_annotations_FieldSecurityAnnotation_new(upb_Arena* arena) { + return (udpa_annotations_FieldSecurityAnnotation*)_upb_Message_New(&udpa__annotations__FieldSecurityAnnotation_msg_init, arena); +} +UPB_INLINE udpa_annotations_FieldSecurityAnnotation* udpa_annotations_FieldSecurityAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + udpa_annotations_FieldSecurityAnnotation* ret = udpa_annotations_FieldSecurityAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &udpa__annotations__FieldSecurityAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE udpa_annotations_FieldSecurityAnnotation* udpa_annotations_FieldSecurityAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + udpa_annotations_FieldSecurityAnnotation* ret = udpa_annotations_FieldSecurityAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &udpa__annotations__FieldSecurityAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* udpa_annotations_FieldSecurityAnnotation_serialize(const udpa_annotations_FieldSecurityAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &udpa__annotations__FieldSecurityAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* udpa_annotations_FieldSecurityAnnotation_serialize_ex(const udpa_annotations_FieldSecurityAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &udpa__annotations__FieldSecurityAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void udpa_annotations_FieldSecurityAnnotation_clear_configure_for_untrusted_downstream(udpa_annotations_FieldSecurityAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool udpa_annotations_FieldSecurityAnnotation_configure_for_untrusted_downstream(const udpa_annotations_FieldSecurityAnnotation* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void udpa_annotations_FieldSecurityAnnotation_clear_configure_for_untrusted_upstream(udpa_annotations_FieldSecurityAnnotation* msg) { + const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool udpa_annotations_FieldSecurityAnnotation_configure_for_untrusted_upstream(const udpa_annotations_FieldSecurityAnnotation* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void udpa_annotations_FieldSecurityAnnotation_set_configure_for_untrusted_downstream(udpa_annotations_FieldSecurityAnnotation *msg, bool value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void udpa_annotations_FieldSecurityAnnotation_set_configure_for_untrusted_upstream(udpa_annotations_FieldSecurityAnnotation *msg, bool value) { + const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +UPB_INLINE bool udpa_annotations_has_security(const struct google_protobuf_FieldOptions* msg) { + return _upb_Message_HasExtensionField(msg, &udpa_annotations_security_ext); +} +UPB_INLINE void udpa_annotations_clear_security(struct google_protobuf_FieldOptions* msg) { + _upb_Message_ClearExtensionField(msg, &udpa_annotations_security_ext); +} +UPB_INLINE const udpa_annotations_FieldSecurityAnnotation* udpa_annotations_security(const struct google_protobuf_FieldOptions* msg) { + const upb_MiniTableExtension* ext = &udpa_annotations_security_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const udpa_annotations_FieldSecurityAnnotation* default_val = NULL; + const udpa_annotations_FieldSecurityAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void udpa_annotations_set_security(struct google_protobuf_FieldOptions* msg, const udpa_annotations_FieldSecurityAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &udpa_annotations_security_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_SECURITY_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c b/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c new file mode 100644 index 00000000000..5b63e530a8d --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c @@ -0,0 +1,59 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/security.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "udpa/annotations/security.upb_minitable.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField udpa_annotations_FieldSecurityAnnotation__fields[2] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable udpa__annotations__FieldSecurityAnnotation_msg_init = { + NULL, + &udpa_annotations_FieldSecurityAnnotation__fields[0], + 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &udpa__annotations__FieldSecurityAnnotation_msg_init, +}; + +const upb_MiniTableExtension udpa_annotations_security_ext = { + {11122993, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__FieldOptions_msg_init, + {.submsg = &udpa__annotations__FieldSecurityAnnotation_msg_init}, + +}; + +static const upb_MiniTableExtension *extensions_layout[1] = { + &udpa_annotations_security_ext, +}; + +const upb_MiniTableFile udpa_annotations_security_proto_upb_file_layout = { + messages_layout, + NULL, + extensions_layout, + 1, + 0, + 1, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h b/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h new file mode 100644 index 00000000000..839106b78ca --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/security.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_SECURITY_PROTO_UPB_MINITABLE_H_ +#define UDPA_ANNOTATIONS_SECURITY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable udpa__annotations__FieldSecurityAnnotation_msg_init; +extern const upb_MiniTableExtension udpa_annotations_security_ext; + +extern const upb_MiniTableFile udpa_annotations_security_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_SECURITY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h b/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h new file mode 100644 index 00000000000..9fae4497b0d --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h @@ -0,0 +1,55 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/sensitive.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPB_H_ +#define UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "udpa/annotations/sensitive.upb_minitable.h" + +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +struct google_protobuf_FieldOptions; + + +UPB_INLINE bool udpa_annotations_has_sensitive(const struct google_protobuf_FieldOptions* msg) { + return _upb_Message_HasExtensionField(msg, &udpa_annotations_sensitive_ext); +} +UPB_INLINE void udpa_annotations_clear_sensitive(struct google_protobuf_FieldOptions* msg) { + _upb_Message_ClearExtensionField(msg, &udpa_annotations_sensitive_ext); +} +UPB_INLINE bool udpa_annotations_sensitive(const struct google_protobuf_FieldOptions* msg) { + const upb_MiniTableExtension* ext = &udpa_annotations_sensitive_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_1Byte); + bool default_val = false; + bool ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void udpa_annotations_set_sensitive(struct google_protobuf_FieldOptions* msg, bool val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &udpa_annotations_sensitive_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_1Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c b/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c new file mode 100644 index 00000000000..25b6464a6f7 --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c @@ -0,0 +1,37 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/sensitive.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "udpa/annotations/sensitive.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +const upb_MiniTableExtension udpa_annotations_sensitive_ext = { + {76569463, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__FieldOptions_msg_init, + {.submsg = NULL}, + +}; + +static const upb_MiniTableExtension *extensions_layout[1] = { + &udpa_annotations_sensitive_ext, +}; + +const upb_MiniTableFile udpa_annotations_sensitive_proto_upb_file_layout = { + NULL, + NULL, + extensions_layout, + 0, + 0, + 1, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h b/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h new file mode 100644 index 00000000000..90ac5b1f219 --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/sensitive.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPB_MINITABLE_H_ +#define UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTableExtension udpa_annotations_sensitive_ext; + +extern const upb_MiniTableFile udpa_annotations_sensitive_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/udpa/annotations/status.upb.h b/src/core/ext/upb-gen/udpa/annotations/status.upb.h new file mode 100644 index 00000000000..719962eae1b --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/status.upb.h @@ -0,0 +1,131 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_STATUS_PROTO_UPB_H_ +#define UDPA_ANNOTATIONS_STATUS_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "udpa/annotations/status.upb_minitable.h" + +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct udpa_annotations_StatusAnnotation udpa_annotations_StatusAnnotation; +struct google_protobuf_FileOptions; + +typedef enum { + udpa_annotations_UNKNOWN = 0, + udpa_annotations_FROZEN = 1, + udpa_annotations_ACTIVE = 2, + udpa_annotations_NEXT_MAJOR_VERSION_CANDIDATE = 3 +} udpa_annotations_PackageVersionStatus; + + + +/* udpa.annotations.StatusAnnotation */ + +UPB_INLINE udpa_annotations_StatusAnnotation* udpa_annotations_StatusAnnotation_new(upb_Arena* arena) { + return (udpa_annotations_StatusAnnotation*)_upb_Message_New(&udpa__annotations__StatusAnnotation_msg_init, arena); +} +UPB_INLINE udpa_annotations_StatusAnnotation* udpa_annotations_StatusAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + udpa_annotations_StatusAnnotation* ret = udpa_annotations_StatusAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &udpa__annotations__StatusAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE udpa_annotations_StatusAnnotation* udpa_annotations_StatusAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + udpa_annotations_StatusAnnotation* ret = udpa_annotations_StatusAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &udpa__annotations__StatusAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* udpa_annotations_StatusAnnotation_serialize(const udpa_annotations_StatusAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &udpa__annotations__StatusAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* udpa_annotations_StatusAnnotation_serialize_ex(const udpa_annotations_StatusAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &udpa__annotations__StatusAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void udpa_annotations_StatusAnnotation_clear_work_in_progress(udpa_annotations_StatusAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool udpa_annotations_StatusAnnotation_work_in_progress(const udpa_annotations_StatusAnnotation* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void udpa_annotations_StatusAnnotation_clear_package_version_status(udpa_annotations_StatusAnnotation* msg) { + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t udpa_annotations_StatusAnnotation_package_version_status(const udpa_annotations_StatusAnnotation* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void udpa_annotations_StatusAnnotation_set_work_in_progress(udpa_annotations_StatusAnnotation *msg, bool value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void udpa_annotations_StatusAnnotation_set_package_version_status(udpa_annotations_StatusAnnotation *msg, int32_t value) { + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +UPB_INLINE bool udpa_annotations_has_file_status(const struct google_protobuf_FileOptions* msg) { + return _upb_Message_HasExtensionField(msg, &udpa_annotations_file_status_ext); +} +UPB_INLINE void udpa_annotations_clear_file_status(struct google_protobuf_FileOptions* msg) { + _upb_Message_ClearExtensionField(msg, &udpa_annotations_file_status_ext); +} +UPB_INLINE const udpa_annotations_StatusAnnotation* udpa_annotations_file_status(const struct google_protobuf_FileOptions* msg) { + const upb_MiniTableExtension* ext = &udpa_annotations_file_status_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const udpa_annotations_StatusAnnotation* default_val = NULL; + const udpa_annotations_StatusAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void udpa_annotations_set_file_status(struct google_protobuf_FileOptions* msg, const udpa_annotations_StatusAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &udpa_annotations_file_status_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_STATUS_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c b/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c new file mode 100644 index 00000000000..e2b8ce98a42 --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c @@ -0,0 +1,58 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "udpa/annotations/status.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField udpa_annotations_StatusAnnotation__fields[2] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable udpa__annotations__StatusAnnotation_msg_init = { + NULL, + &udpa_annotations_StatusAnnotation__fields[0], + 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &udpa__annotations__StatusAnnotation_msg_init, +}; + +const upb_MiniTableExtension udpa_annotations_file_status_ext = { + {222707719, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__FileOptions_msg_init, + {.submsg = &udpa__annotations__StatusAnnotation_msg_init}, + +}; + +static const upb_MiniTableExtension *extensions_layout[1] = { + &udpa_annotations_file_status_ext, +}; + +const upb_MiniTableFile udpa_annotations_status_proto_upb_file_layout = { + messages_layout, + NULL, + extensions_layout, + 1, + 0, + 1, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h b/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h new file mode 100644 index 00000000000..67fc1275059 --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_STATUS_PROTO_UPB_MINITABLE_H_ +#define UDPA_ANNOTATIONS_STATUS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable udpa__annotations__StatusAnnotation_msg_init; +extern const upb_MiniTableExtension udpa_annotations_file_status_ext; + +extern const upb_MiniTableFile udpa_annotations_status_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_STATUS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h b/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h new file mode 100644 index 00000000000..c82128f4d51 --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h @@ -0,0 +1,109 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/versioning.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_VERSIONING_PROTO_UPB_H_ +#define UDPA_ANNOTATIONS_VERSIONING_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "udpa/annotations/versioning.upb_minitable.h" + +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct udpa_annotations_VersioningAnnotation udpa_annotations_VersioningAnnotation; +struct google_protobuf_MessageOptions; + + + +/* udpa.annotations.VersioningAnnotation */ + +UPB_INLINE udpa_annotations_VersioningAnnotation* udpa_annotations_VersioningAnnotation_new(upb_Arena* arena) { + return (udpa_annotations_VersioningAnnotation*)_upb_Message_New(&udpa__annotations__VersioningAnnotation_msg_init, arena); +} +UPB_INLINE udpa_annotations_VersioningAnnotation* udpa_annotations_VersioningAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + udpa_annotations_VersioningAnnotation* ret = udpa_annotations_VersioningAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &udpa__annotations__VersioningAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE udpa_annotations_VersioningAnnotation* udpa_annotations_VersioningAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + udpa_annotations_VersioningAnnotation* ret = udpa_annotations_VersioningAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &udpa__annotations__VersioningAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* udpa_annotations_VersioningAnnotation_serialize(const udpa_annotations_VersioningAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &udpa__annotations__VersioningAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* udpa_annotations_VersioningAnnotation_serialize_ex(const udpa_annotations_VersioningAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &udpa__annotations__VersioningAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void udpa_annotations_VersioningAnnotation_clear_previous_message_type(udpa_annotations_VersioningAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView udpa_annotations_VersioningAnnotation_previous_message_type(const udpa_annotations_VersioningAnnotation* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void udpa_annotations_VersioningAnnotation_set_previous_message_type(udpa_annotations_VersioningAnnotation *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +UPB_INLINE bool udpa_annotations_has_versioning(const struct google_protobuf_MessageOptions* msg) { + return _upb_Message_HasExtensionField(msg, &udpa_annotations_versioning_ext); +} +UPB_INLINE void udpa_annotations_clear_versioning(struct google_protobuf_MessageOptions* msg) { + _upb_Message_ClearExtensionField(msg, &udpa_annotations_versioning_ext); +} +UPB_INLINE const udpa_annotations_VersioningAnnotation* udpa_annotations_versioning(const struct google_protobuf_MessageOptions* msg) { + const upb_MiniTableExtension* ext = &udpa_annotations_versioning_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const udpa_annotations_VersioningAnnotation* default_val = NULL; + const udpa_annotations_VersioningAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void udpa_annotations_set_versioning(struct google_protobuf_MessageOptions* msg, const udpa_annotations_VersioningAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &udpa_annotations_versioning_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_VERSIONING_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c b/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c new file mode 100644 index 00000000000..61b770c0255 --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c @@ -0,0 +1,55 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/versioning.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "udpa/annotations/versioning.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField udpa_annotations_VersioningAnnotation__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable udpa__annotations__VersioningAnnotation_msg_init = { + NULL, + &udpa_annotations_VersioningAnnotation__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &udpa__annotations__VersioningAnnotation_msg_init, +}; + +const upb_MiniTableExtension udpa_annotations_versioning_ext = { + {7881811, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__MessageOptions_msg_init, + {.submsg = &udpa__annotations__VersioningAnnotation_msg_init}, + +}; + +static const upb_MiniTableExtension *extensions_layout[1] = { + &udpa_annotations_versioning_ext, +}; + +const upb_MiniTableFile udpa_annotations_versioning_proto_upb_file_layout = { + messages_layout, + NULL, + extensions_layout, + 1, + 0, + 1, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h b/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h new file mode 100644 index 00000000000..752e4ae20cf --- /dev/null +++ b/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/versioning.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_VERSIONING_PROTO_UPB_MINITABLE_H_ +#define UDPA_ANNOTATIONS_VERSIONING_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable udpa__annotations__VersioningAnnotation_msg_init; +extern const upb_MiniTableExtension udpa_annotations_versioning_ext; + +extern const upb_MiniTableFile udpa_annotations_versioning_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_VERSIONING_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/validate/validate.upb.h b/src/core/ext/upb-gen/validate/validate.upb.h similarity index 96% rename from src/core/ext/upb-generated/validate/validate.upb.h rename to src/core/ext/upb-gen/validate/validate.upb.h index f8b0edcfedf..738d1f36289 100644 --- a/src/core/ext/upb-generated/validate/validate.upb.h +++ b/src/core/ext/upb-gen/validate/validate.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * validate/validate.proto * @@ -10,7 +9,14 @@ #define VALIDATE_VALIDATE_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "validate/validate.upb_minitable.h" + +#include "google/protobuf/descriptor.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -40,43 +46,11 @@ typedef struct validate_MapRules validate_MapRules; typedef struct validate_AnyRules validate_AnyRules; typedef struct validate_DurationRules validate_DurationRules; typedef struct validate_TimestampRules validate_TimestampRules; -extern const upb_MiniTable validate_FieldRules_msg_init; -extern const upb_MiniTable validate_FloatRules_msg_init; -extern const upb_MiniTable validate_DoubleRules_msg_init; -extern const upb_MiniTable validate_Int32Rules_msg_init; -extern const upb_MiniTable validate_Int64Rules_msg_init; -extern const upb_MiniTable validate_UInt32Rules_msg_init; -extern const upb_MiniTable validate_UInt64Rules_msg_init; -extern const upb_MiniTable validate_SInt32Rules_msg_init; -extern const upb_MiniTable validate_SInt64Rules_msg_init; -extern const upb_MiniTable validate_Fixed32Rules_msg_init; -extern const upb_MiniTable validate_Fixed64Rules_msg_init; -extern const upb_MiniTable validate_SFixed32Rules_msg_init; -extern const upb_MiniTable validate_SFixed64Rules_msg_init; -extern const upb_MiniTable validate_BoolRules_msg_init; -extern const upb_MiniTable validate_StringRules_msg_init; -extern const upb_MiniTable validate_BytesRules_msg_init; -extern const upb_MiniTable validate_EnumRules_msg_init; -extern const upb_MiniTable validate_MessageRules_msg_init; -extern const upb_MiniTable validate_RepeatedRules_msg_init; -extern const upb_MiniTable validate_MapRules_msg_init; -extern const upb_MiniTable validate_AnyRules_msg_init; -extern const upb_MiniTable validate_DurationRules_msg_init; -extern const upb_MiniTable validate_TimestampRules_msg_init; -extern const upb_MiniTableExtension validate_disabled_ext; -extern const upb_MiniTableExtension validate_ignored_ext; -extern const upb_MiniTableExtension validate_required_ext; -extern const upb_MiniTableExtension validate_rules_ext; struct google_protobuf_Duration; struct google_protobuf_FieldOptions; struct google_protobuf_MessageOptions; struct google_protobuf_OneofOptions; struct google_protobuf_Timestamp; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -extern const upb_MiniTable google_protobuf_MessageOptions_msg_init; -extern const upb_MiniTable google_protobuf_OneofOptions_msg_init; -extern const upb_MiniTable google_protobuf_Timestamp_msg_init; typedef enum { validate_UNKNOWN = 0, @@ -85,17 +59,16 @@ typedef enum { } validate_KnownRegex; -extern const upb_MiniTableEnum validate_KnownRegex_enum_init; /* validate.FieldRules */ UPB_INLINE validate_FieldRules* validate_FieldRules_new(upb_Arena* arena) { - return (validate_FieldRules*)_upb_Message_New(&validate_FieldRules_msg_init, arena); + return (validate_FieldRules*)_upb_Message_New(&validate__FieldRules_msg_init, arena); } UPB_INLINE validate_FieldRules* validate_FieldRules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_FieldRules* ret = validate_FieldRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_FieldRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__FieldRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -105,7 +78,7 @@ UPB_INLINE validate_FieldRules* validate_FieldRules_parse_ex(const char* buf, si int options, upb_Arena* arena) { validate_FieldRules* ret = validate_FieldRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_FieldRules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__FieldRules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -113,13 +86,13 @@ UPB_INLINE validate_FieldRules* validate_FieldRules_parse_ex(const char* buf, si } UPB_INLINE char* validate_FieldRules_serialize(const validate_FieldRules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_FieldRules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__FieldRules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_FieldRules_serialize_ex(const validate_FieldRules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_FieldRules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__FieldRules_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -488,7 +461,7 @@ UPB_INLINE void validate_FieldRules_set_float(validate_FieldRules *msg, validate UPB_INLINE struct validate_FloatRules* validate_FieldRules_mutable_float(validate_FieldRules* msg, upb_Arena* arena) { struct validate_FloatRules* sub = (struct validate_FloatRules*)validate_FieldRules_float(msg); if (sub == NULL) { - sub = (struct validate_FloatRules*)_upb_Message_New(&validate_FloatRules_msg_init, arena); + sub = (struct validate_FloatRules*)_upb_Message_New(&validate__FloatRules_msg_init, arena); if (sub) validate_FieldRules_set_float(msg, sub); } return sub; @@ -500,7 +473,7 @@ UPB_INLINE void validate_FieldRules_set_double(validate_FieldRules *msg, validat UPB_INLINE struct validate_DoubleRules* validate_FieldRules_mutable_double(validate_FieldRules* msg, upb_Arena* arena) { struct validate_DoubleRules* sub = (struct validate_DoubleRules*)validate_FieldRules_double(msg); if (sub == NULL) { - sub = (struct validate_DoubleRules*)_upb_Message_New(&validate_DoubleRules_msg_init, arena); + sub = (struct validate_DoubleRules*)_upb_Message_New(&validate__DoubleRules_msg_init, arena); if (sub) validate_FieldRules_set_double(msg, sub); } return sub; @@ -512,7 +485,7 @@ UPB_INLINE void validate_FieldRules_set_int32(validate_FieldRules *msg, validate UPB_INLINE struct validate_Int32Rules* validate_FieldRules_mutable_int32(validate_FieldRules* msg, upb_Arena* arena) { struct validate_Int32Rules* sub = (struct validate_Int32Rules*)validate_FieldRules_int32(msg); if (sub == NULL) { - sub = (struct validate_Int32Rules*)_upb_Message_New(&validate_Int32Rules_msg_init, arena); + sub = (struct validate_Int32Rules*)_upb_Message_New(&validate__Int32Rules_msg_init, arena); if (sub) validate_FieldRules_set_int32(msg, sub); } return sub; @@ -524,7 +497,7 @@ UPB_INLINE void validate_FieldRules_set_int64(validate_FieldRules *msg, validate UPB_INLINE struct validate_Int64Rules* validate_FieldRules_mutable_int64(validate_FieldRules* msg, upb_Arena* arena) { struct validate_Int64Rules* sub = (struct validate_Int64Rules*)validate_FieldRules_int64(msg); if (sub == NULL) { - sub = (struct validate_Int64Rules*)_upb_Message_New(&validate_Int64Rules_msg_init, arena); + sub = (struct validate_Int64Rules*)_upb_Message_New(&validate__Int64Rules_msg_init, arena); if (sub) validate_FieldRules_set_int64(msg, sub); } return sub; @@ -536,7 +509,7 @@ UPB_INLINE void validate_FieldRules_set_uint32(validate_FieldRules *msg, validat UPB_INLINE struct validate_UInt32Rules* validate_FieldRules_mutable_uint32(validate_FieldRules* msg, upb_Arena* arena) { struct validate_UInt32Rules* sub = (struct validate_UInt32Rules*)validate_FieldRules_uint32(msg); if (sub == NULL) { - sub = (struct validate_UInt32Rules*)_upb_Message_New(&validate_UInt32Rules_msg_init, arena); + sub = (struct validate_UInt32Rules*)_upb_Message_New(&validate__UInt32Rules_msg_init, arena); if (sub) validate_FieldRules_set_uint32(msg, sub); } return sub; @@ -548,7 +521,7 @@ UPB_INLINE void validate_FieldRules_set_uint64(validate_FieldRules *msg, validat UPB_INLINE struct validate_UInt64Rules* validate_FieldRules_mutable_uint64(validate_FieldRules* msg, upb_Arena* arena) { struct validate_UInt64Rules* sub = (struct validate_UInt64Rules*)validate_FieldRules_uint64(msg); if (sub == NULL) { - sub = (struct validate_UInt64Rules*)_upb_Message_New(&validate_UInt64Rules_msg_init, arena); + sub = (struct validate_UInt64Rules*)_upb_Message_New(&validate__UInt64Rules_msg_init, arena); if (sub) validate_FieldRules_set_uint64(msg, sub); } return sub; @@ -560,7 +533,7 @@ UPB_INLINE void validate_FieldRules_set_sint32(validate_FieldRules *msg, validat UPB_INLINE struct validate_SInt32Rules* validate_FieldRules_mutable_sint32(validate_FieldRules* msg, upb_Arena* arena) { struct validate_SInt32Rules* sub = (struct validate_SInt32Rules*)validate_FieldRules_sint32(msg); if (sub == NULL) { - sub = (struct validate_SInt32Rules*)_upb_Message_New(&validate_SInt32Rules_msg_init, arena); + sub = (struct validate_SInt32Rules*)_upb_Message_New(&validate__SInt32Rules_msg_init, arena); if (sub) validate_FieldRules_set_sint32(msg, sub); } return sub; @@ -572,7 +545,7 @@ UPB_INLINE void validate_FieldRules_set_sint64(validate_FieldRules *msg, validat UPB_INLINE struct validate_SInt64Rules* validate_FieldRules_mutable_sint64(validate_FieldRules* msg, upb_Arena* arena) { struct validate_SInt64Rules* sub = (struct validate_SInt64Rules*)validate_FieldRules_sint64(msg); if (sub == NULL) { - sub = (struct validate_SInt64Rules*)_upb_Message_New(&validate_SInt64Rules_msg_init, arena); + sub = (struct validate_SInt64Rules*)_upb_Message_New(&validate__SInt64Rules_msg_init, arena); if (sub) validate_FieldRules_set_sint64(msg, sub); } return sub; @@ -584,7 +557,7 @@ UPB_INLINE void validate_FieldRules_set_fixed32(validate_FieldRules *msg, valida UPB_INLINE struct validate_Fixed32Rules* validate_FieldRules_mutable_fixed32(validate_FieldRules* msg, upb_Arena* arena) { struct validate_Fixed32Rules* sub = (struct validate_Fixed32Rules*)validate_FieldRules_fixed32(msg); if (sub == NULL) { - sub = (struct validate_Fixed32Rules*)_upb_Message_New(&validate_Fixed32Rules_msg_init, arena); + sub = (struct validate_Fixed32Rules*)_upb_Message_New(&validate__Fixed32Rules_msg_init, arena); if (sub) validate_FieldRules_set_fixed32(msg, sub); } return sub; @@ -596,7 +569,7 @@ UPB_INLINE void validate_FieldRules_set_fixed64(validate_FieldRules *msg, valida UPB_INLINE struct validate_Fixed64Rules* validate_FieldRules_mutable_fixed64(validate_FieldRules* msg, upb_Arena* arena) { struct validate_Fixed64Rules* sub = (struct validate_Fixed64Rules*)validate_FieldRules_fixed64(msg); if (sub == NULL) { - sub = (struct validate_Fixed64Rules*)_upb_Message_New(&validate_Fixed64Rules_msg_init, arena); + sub = (struct validate_Fixed64Rules*)_upb_Message_New(&validate__Fixed64Rules_msg_init, arena); if (sub) validate_FieldRules_set_fixed64(msg, sub); } return sub; @@ -608,7 +581,7 @@ UPB_INLINE void validate_FieldRules_set_sfixed32(validate_FieldRules *msg, valid UPB_INLINE struct validate_SFixed32Rules* validate_FieldRules_mutable_sfixed32(validate_FieldRules* msg, upb_Arena* arena) { struct validate_SFixed32Rules* sub = (struct validate_SFixed32Rules*)validate_FieldRules_sfixed32(msg); if (sub == NULL) { - sub = (struct validate_SFixed32Rules*)_upb_Message_New(&validate_SFixed32Rules_msg_init, arena); + sub = (struct validate_SFixed32Rules*)_upb_Message_New(&validate__SFixed32Rules_msg_init, arena); if (sub) validate_FieldRules_set_sfixed32(msg, sub); } return sub; @@ -620,7 +593,7 @@ UPB_INLINE void validate_FieldRules_set_sfixed64(validate_FieldRules *msg, valid UPB_INLINE struct validate_SFixed64Rules* validate_FieldRules_mutable_sfixed64(validate_FieldRules* msg, upb_Arena* arena) { struct validate_SFixed64Rules* sub = (struct validate_SFixed64Rules*)validate_FieldRules_sfixed64(msg); if (sub == NULL) { - sub = (struct validate_SFixed64Rules*)_upb_Message_New(&validate_SFixed64Rules_msg_init, arena); + sub = (struct validate_SFixed64Rules*)_upb_Message_New(&validate__SFixed64Rules_msg_init, arena); if (sub) validate_FieldRules_set_sfixed64(msg, sub); } return sub; @@ -632,7 +605,7 @@ UPB_INLINE void validate_FieldRules_set_bool(validate_FieldRules *msg, validate_ UPB_INLINE struct validate_BoolRules* validate_FieldRules_mutable_bool(validate_FieldRules* msg, upb_Arena* arena) { struct validate_BoolRules* sub = (struct validate_BoolRules*)validate_FieldRules_bool(msg); if (sub == NULL) { - sub = (struct validate_BoolRules*)_upb_Message_New(&validate_BoolRules_msg_init, arena); + sub = (struct validate_BoolRules*)_upb_Message_New(&validate__BoolRules_msg_init, arena); if (sub) validate_FieldRules_set_bool(msg, sub); } return sub; @@ -644,7 +617,7 @@ UPB_INLINE void validate_FieldRules_set_string(validate_FieldRules *msg, validat UPB_INLINE struct validate_StringRules* validate_FieldRules_mutable_string(validate_FieldRules* msg, upb_Arena* arena) { struct validate_StringRules* sub = (struct validate_StringRules*)validate_FieldRules_string(msg); if (sub == NULL) { - sub = (struct validate_StringRules*)_upb_Message_New(&validate_StringRules_msg_init, arena); + sub = (struct validate_StringRules*)_upb_Message_New(&validate__StringRules_msg_init, arena); if (sub) validate_FieldRules_set_string(msg, sub); } return sub; @@ -656,7 +629,7 @@ UPB_INLINE void validate_FieldRules_set_bytes(validate_FieldRules *msg, validate UPB_INLINE struct validate_BytesRules* validate_FieldRules_mutable_bytes(validate_FieldRules* msg, upb_Arena* arena) { struct validate_BytesRules* sub = (struct validate_BytesRules*)validate_FieldRules_bytes(msg); if (sub == NULL) { - sub = (struct validate_BytesRules*)_upb_Message_New(&validate_BytesRules_msg_init, arena); + sub = (struct validate_BytesRules*)_upb_Message_New(&validate__BytesRules_msg_init, arena); if (sub) validate_FieldRules_set_bytes(msg, sub); } return sub; @@ -668,7 +641,7 @@ UPB_INLINE void validate_FieldRules_set_enum(validate_FieldRules *msg, validate_ UPB_INLINE struct validate_EnumRules* validate_FieldRules_mutable_enum(validate_FieldRules* msg, upb_Arena* arena) { struct validate_EnumRules* sub = (struct validate_EnumRules*)validate_FieldRules_enum(msg); if (sub == NULL) { - sub = (struct validate_EnumRules*)_upb_Message_New(&validate_EnumRules_msg_init, arena); + sub = (struct validate_EnumRules*)_upb_Message_New(&validate__EnumRules_msg_init, arena); if (sub) validate_FieldRules_set_enum(msg, sub); } return sub; @@ -680,7 +653,7 @@ UPB_INLINE void validate_FieldRules_set_message(validate_FieldRules *msg, valida UPB_INLINE struct validate_MessageRules* validate_FieldRules_mutable_message(validate_FieldRules* msg, upb_Arena* arena) { struct validate_MessageRules* sub = (struct validate_MessageRules*)validate_FieldRules_message(msg); if (sub == NULL) { - sub = (struct validate_MessageRules*)_upb_Message_New(&validate_MessageRules_msg_init, arena); + sub = (struct validate_MessageRules*)_upb_Message_New(&validate__MessageRules_msg_init, arena); if (sub) validate_FieldRules_set_message(msg, sub); } return sub; @@ -692,7 +665,7 @@ UPB_INLINE void validate_FieldRules_set_repeated(validate_FieldRules *msg, valid UPB_INLINE struct validate_RepeatedRules* validate_FieldRules_mutable_repeated(validate_FieldRules* msg, upb_Arena* arena) { struct validate_RepeatedRules* sub = (struct validate_RepeatedRules*)validate_FieldRules_repeated(msg); if (sub == NULL) { - sub = (struct validate_RepeatedRules*)_upb_Message_New(&validate_RepeatedRules_msg_init, arena); + sub = (struct validate_RepeatedRules*)_upb_Message_New(&validate__RepeatedRules_msg_init, arena); if (sub) validate_FieldRules_set_repeated(msg, sub); } return sub; @@ -704,7 +677,7 @@ UPB_INLINE void validate_FieldRules_set_map(validate_FieldRules *msg, validate_M UPB_INLINE struct validate_MapRules* validate_FieldRules_mutable_map(validate_FieldRules* msg, upb_Arena* arena) { struct validate_MapRules* sub = (struct validate_MapRules*)validate_FieldRules_map(msg); if (sub == NULL) { - sub = (struct validate_MapRules*)_upb_Message_New(&validate_MapRules_msg_init, arena); + sub = (struct validate_MapRules*)_upb_Message_New(&validate__MapRules_msg_init, arena); if (sub) validate_FieldRules_set_map(msg, sub); } return sub; @@ -716,7 +689,7 @@ UPB_INLINE void validate_FieldRules_set_any(validate_FieldRules *msg, validate_A UPB_INLINE struct validate_AnyRules* validate_FieldRules_mutable_any(validate_FieldRules* msg, upb_Arena* arena) { struct validate_AnyRules* sub = (struct validate_AnyRules*)validate_FieldRules_any(msg); if (sub == NULL) { - sub = (struct validate_AnyRules*)_upb_Message_New(&validate_AnyRules_msg_init, arena); + sub = (struct validate_AnyRules*)_upb_Message_New(&validate__AnyRules_msg_init, arena); if (sub) validate_FieldRules_set_any(msg, sub); } return sub; @@ -728,7 +701,7 @@ UPB_INLINE void validate_FieldRules_set_duration(validate_FieldRules *msg, valid UPB_INLINE struct validate_DurationRules* validate_FieldRules_mutable_duration(validate_FieldRules* msg, upb_Arena* arena) { struct validate_DurationRules* sub = (struct validate_DurationRules*)validate_FieldRules_duration(msg); if (sub == NULL) { - sub = (struct validate_DurationRules*)_upb_Message_New(&validate_DurationRules_msg_init, arena); + sub = (struct validate_DurationRules*)_upb_Message_New(&validate__DurationRules_msg_init, arena); if (sub) validate_FieldRules_set_duration(msg, sub); } return sub; @@ -740,7 +713,7 @@ UPB_INLINE void validate_FieldRules_set_timestamp(validate_FieldRules *msg, vali UPB_INLINE struct validate_TimestampRules* validate_FieldRules_mutable_timestamp(validate_FieldRules* msg, upb_Arena* arena) { struct validate_TimestampRules* sub = (struct validate_TimestampRules*)validate_FieldRules_timestamp(msg); if (sub == NULL) { - sub = (struct validate_TimestampRules*)_upb_Message_New(&validate_TimestampRules_msg_init, arena); + sub = (struct validate_TimestampRules*)_upb_Message_New(&validate__TimestampRules_msg_init, arena); if (sub) validate_FieldRules_set_timestamp(msg, sub); } return sub; @@ -749,12 +722,12 @@ UPB_INLINE struct validate_TimestampRules* validate_FieldRules_mutable_timestamp /* validate.FloatRules */ UPB_INLINE validate_FloatRules* validate_FloatRules_new(upb_Arena* arena) { - return (validate_FloatRules*)_upb_Message_New(&validate_FloatRules_msg_init, arena); + return (validate_FloatRules*)_upb_Message_New(&validate__FloatRules_msg_init, arena); } UPB_INLINE validate_FloatRules* validate_FloatRules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_FloatRules* ret = validate_FloatRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_FloatRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__FloatRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -764,7 +737,7 @@ UPB_INLINE validate_FloatRules* validate_FloatRules_parse_ex(const char* buf, si int options, upb_Arena* arena) { validate_FloatRules* ret = validate_FloatRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_FloatRules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__FloatRules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -772,13 +745,13 @@ UPB_INLINE validate_FloatRules* validate_FloatRules_parse_ex(const char* buf, si } UPB_INLINE char* validate_FloatRules_serialize(const validate_FloatRules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_FloatRules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__FloatRules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_FloatRules_serialize_ex(const validate_FloatRules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_FloatRules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__FloatRules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_FloatRules_clear_const(validate_FloatRules* msg) { @@ -1022,12 +995,12 @@ UPB_INLINE void validate_FloatRules_set_ignore_empty(validate_FloatRules *msg, b /* validate.DoubleRules */ UPB_INLINE validate_DoubleRules* validate_DoubleRules_new(upb_Arena* arena) { - return (validate_DoubleRules*)_upb_Message_New(&validate_DoubleRules_msg_init, arena); + return (validate_DoubleRules*)_upb_Message_New(&validate__DoubleRules_msg_init, arena); } UPB_INLINE validate_DoubleRules* validate_DoubleRules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_DoubleRules* ret = validate_DoubleRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_DoubleRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__DoubleRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1037,7 +1010,7 @@ UPB_INLINE validate_DoubleRules* validate_DoubleRules_parse_ex(const char* buf, int options, upb_Arena* arena) { validate_DoubleRules* ret = validate_DoubleRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_DoubleRules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__DoubleRules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1045,13 +1018,13 @@ UPB_INLINE validate_DoubleRules* validate_DoubleRules_parse_ex(const char* buf, } UPB_INLINE char* validate_DoubleRules_serialize(const validate_DoubleRules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_DoubleRules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__DoubleRules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_DoubleRules_serialize_ex(const validate_DoubleRules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_DoubleRules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__DoubleRules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_DoubleRules_clear_const(validate_DoubleRules* msg) { @@ -1295,12 +1268,12 @@ UPB_INLINE void validate_DoubleRules_set_ignore_empty(validate_DoubleRules *msg, /* validate.Int32Rules */ UPB_INLINE validate_Int32Rules* validate_Int32Rules_new(upb_Arena* arena) { - return (validate_Int32Rules*)_upb_Message_New(&validate_Int32Rules_msg_init, arena); + return (validate_Int32Rules*)_upb_Message_New(&validate__Int32Rules_msg_init, arena); } UPB_INLINE validate_Int32Rules* validate_Int32Rules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_Int32Rules* ret = validate_Int32Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_Int32Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__Int32Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1310,7 +1283,7 @@ UPB_INLINE validate_Int32Rules* validate_Int32Rules_parse_ex(const char* buf, si int options, upb_Arena* arena) { validate_Int32Rules* ret = validate_Int32Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_Int32Rules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__Int32Rules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1318,13 +1291,13 @@ UPB_INLINE validate_Int32Rules* validate_Int32Rules_parse_ex(const char* buf, si } UPB_INLINE char* validate_Int32Rules_serialize(const validate_Int32Rules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_Int32Rules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__Int32Rules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_Int32Rules_serialize_ex(const validate_Int32Rules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_Int32Rules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__Int32Rules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_Int32Rules_clear_const(validate_Int32Rules* msg) { @@ -1568,12 +1541,12 @@ UPB_INLINE void validate_Int32Rules_set_ignore_empty(validate_Int32Rules *msg, b /* validate.Int64Rules */ UPB_INLINE validate_Int64Rules* validate_Int64Rules_new(upb_Arena* arena) { - return (validate_Int64Rules*)_upb_Message_New(&validate_Int64Rules_msg_init, arena); + return (validate_Int64Rules*)_upb_Message_New(&validate__Int64Rules_msg_init, arena); } UPB_INLINE validate_Int64Rules* validate_Int64Rules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_Int64Rules* ret = validate_Int64Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_Int64Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__Int64Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1583,7 +1556,7 @@ UPB_INLINE validate_Int64Rules* validate_Int64Rules_parse_ex(const char* buf, si int options, upb_Arena* arena) { validate_Int64Rules* ret = validate_Int64Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_Int64Rules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__Int64Rules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1591,13 +1564,13 @@ UPB_INLINE validate_Int64Rules* validate_Int64Rules_parse_ex(const char* buf, si } UPB_INLINE char* validate_Int64Rules_serialize(const validate_Int64Rules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_Int64Rules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__Int64Rules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_Int64Rules_serialize_ex(const validate_Int64Rules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_Int64Rules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__Int64Rules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_Int64Rules_clear_const(validate_Int64Rules* msg) { @@ -1841,12 +1814,12 @@ UPB_INLINE void validate_Int64Rules_set_ignore_empty(validate_Int64Rules *msg, b /* validate.UInt32Rules */ UPB_INLINE validate_UInt32Rules* validate_UInt32Rules_new(upb_Arena* arena) { - return (validate_UInt32Rules*)_upb_Message_New(&validate_UInt32Rules_msg_init, arena); + return (validate_UInt32Rules*)_upb_Message_New(&validate__UInt32Rules_msg_init, arena); } UPB_INLINE validate_UInt32Rules* validate_UInt32Rules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_UInt32Rules* ret = validate_UInt32Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_UInt32Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__UInt32Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -1856,7 +1829,7 @@ UPB_INLINE validate_UInt32Rules* validate_UInt32Rules_parse_ex(const char* buf, int options, upb_Arena* arena) { validate_UInt32Rules* ret = validate_UInt32Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_UInt32Rules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__UInt32Rules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -1864,13 +1837,13 @@ UPB_INLINE validate_UInt32Rules* validate_UInt32Rules_parse_ex(const char* buf, } UPB_INLINE char* validate_UInt32Rules_serialize(const validate_UInt32Rules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_UInt32Rules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__UInt32Rules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_UInt32Rules_serialize_ex(const validate_UInt32Rules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_UInt32Rules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__UInt32Rules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_UInt32Rules_clear_const(validate_UInt32Rules* msg) { @@ -2114,12 +2087,12 @@ UPB_INLINE void validate_UInt32Rules_set_ignore_empty(validate_UInt32Rules *msg, /* validate.UInt64Rules */ UPB_INLINE validate_UInt64Rules* validate_UInt64Rules_new(upb_Arena* arena) { - return (validate_UInt64Rules*)_upb_Message_New(&validate_UInt64Rules_msg_init, arena); + return (validate_UInt64Rules*)_upb_Message_New(&validate__UInt64Rules_msg_init, arena); } UPB_INLINE validate_UInt64Rules* validate_UInt64Rules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_UInt64Rules* ret = validate_UInt64Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_UInt64Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__UInt64Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2129,7 +2102,7 @@ UPB_INLINE validate_UInt64Rules* validate_UInt64Rules_parse_ex(const char* buf, int options, upb_Arena* arena) { validate_UInt64Rules* ret = validate_UInt64Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_UInt64Rules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__UInt64Rules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2137,13 +2110,13 @@ UPB_INLINE validate_UInt64Rules* validate_UInt64Rules_parse_ex(const char* buf, } UPB_INLINE char* validate_UInt64Rules_serialize(const validate_UInt64Rules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_UInt64Rules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__UInt64Rules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_UInt64Rules_serialize_ex(const validate_UInt64Rules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_UInt64Rules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__UInt64Rules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_UInt64Rules_clear_const(validate_UInt64Rules* msg) { @@ -2387,12 +2360,12 @@ UPB_INLINE void validate_UInt64Rules_set_ignore_empty(validate_UInt64Rules *msg, /* validate.SInt32Rules */ UPB_INLINE validate_SInt32Rules* validate_SInt32Rules_new(upb_Arena* arena) { - return (validate_SInt32Rules*)_upb_Message_New(&validate_SInt32Rules_msg_init, arena); + return (validate_SInt32Rules*)_upb_Message_New(&validate__SInt32Rules_msg_init, arena); } UPB_INLINE validate_SInt32Rules* validate_SInt32Rules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_SInt32Rules* ret = validate_SInt32Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_SInt32Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__SInt32Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2402,7 +2375,7 @@ UPB_INLINE validate_SInt32Rules* validate_SInt32Rules_parse_ex(const char* buf, int options, upb_Arena* arena) { validate_SInt32Rules* ret = validate_SInt32Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_SInt32Rules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__SInt32Rules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2410,13 +2383,13 @@ UPB_INLINE validate_SInt32Rules* validate_SInt32Rules_parse_ex(const char* buf, } UPB_INLINE char* validate_SInt32Rules_serialize(const validate_SInt32Rules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_SInt32Rules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__SInt32Rules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_SInt32Rules_serialize_ex(const validate_SInt32Rules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_SInt32Rules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__SInt32Rules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_SInt32Rules_clear_const(validate_SInt32Rules* msg) { @@ -2660,12 +2633,12 @@ UPB_INLINE void validate_SInt32Rules_set_ignore_empty(validate_SInt32Rules *msg, /* validate.SInt64Rules */ UPB_INLINE validate_SInt64Rules* validate_SInt64Rules_new(upb_Arena* arena) { - return (validate_SInt64Rules*)_upb_Message_New(&validate_SInt64Rules_msg_init, arena); + return (validate_SInt64Rules*)_upb_Message_New(&validate__SInt64Rules_msg_init, arena); } UPB_INLINE validate_SInt64Rules* validate_SInt64Rules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_SInt64Rules* ret = validate_SInt64Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_SInt64Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__SInt64Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2675,7 +2648,7 @@ UPB_INLINE validate_SInt64Rules* validate_SInt64Rules_parse_ex(const char* buf, int options, upb_Arena* arena) { validate_SInt64Rules* ret = validate_SInt64Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_SInt64Rules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__SInt64Rules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2683,13 +2656,13 @@ UPB_INLINE validate_SInt64Rules* validate_SInt64Rules_parse_ex(const char* buf, } UPB_INLINE char* validate_SInt64Rules_serialize(const validate_SInt64Rules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_SInt64Rules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__SInt64Rules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_SInt64Rules_serialize_ex(const validate_SInt64Rules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_SInt64Rules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__SInt64Rules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_SInt64Rules_clear_const(validate_SInt64Rules* msg) { @@ -2933,12 +2906,12 @@ UPB_INLINE void validate_SInt64Rules_set_ignore_empty(validate_SInt64Rules *msg, /* validate.Fixed32Rules */ UPB_INLINE validate_Fixed32Rules* validate_Fixed32Rules_new(upb_Arena* arena) { - return (validate_Fixed32Rules*)_upb_Message_New(&validate_Fixed32Rules_msg_init, arena); + return (validate_Fixed32Rules*)_upb_Message_New(&validate__Fixed32Rules_msg_init, arena); } UPB_INLINE validate_Fixed32Rules* validate_Fixed32Rules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_Fixed32Rules* ret = validate_Fixed32Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_Fixed32Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__Fixed32Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -2948,7 +2921,7 @@ UPB_INLINE validate_Fixed32Rules* validate_Fixed32Rules_parse_ex(const char* buf int options, upb_Arena* arena) { validate_Fixed32Rules* ret = validate_Fixed32Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_Fixed32Rules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__Fixed32Rules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -2956,13 +2929,13 @@ UPB_INLINE validate_Fixed32Rules* validate_Fixed32Rules_parse_ex(const char* buf } UPB_INLINE char* validate_Fixed32Rules_serialize(const validate_Fixed32Rules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_Fixed32Rules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__Fixed32Rules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_Fixed32Rules_serialize_ex(const validate_Fixed32Rules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_Fixed32Rules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__Fixed32Rules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_Fixed32Rules_clear_const(validate_Fixed32Rules* msg) { @@ -3206,12 +3179,12 @@ UPB_INLINE void validate_Fixed32Rules_set_ignore_empty(validate_Fixed32Rules *ms /* validate.Fixed64Rules */ UPB_INLINE validate_Fixed64Rules* validate_Fixed64Rules_new(upb_Arena* arena) { - return (validate_Fixed64Rules*)_upb_Message_New(&validate_Fixed64Rules_msg_init, arena); + return (validate_Fixed64Rules*)_upb_Message_New(&validate__Fixed64Rules_msg_init, arena); } UPB_INLINE validate_Fixed64Rules* validate_Fixed64Rules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_Fixed64Rules* ret = validate_Fixed64Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_Fixed64Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__Fixed64Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3221,7 +3194,7 @@ UPB_INLINE validate_Fixed64Rules* validate_Fixed64Rules_parse_ex(const char* buf int options, upb_Arena* arena) { validate_Fixed64Rules* ret = validate_Fixed64Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_Fixed64Rules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__Fixed64Rules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3229,13 +3202,13 @@ UPB_INLINE validate_Fixed64Rules* validate_Fixed64Rules_parse_ex(const char* buf } UPB_INLINE char* validate_Fixed64Rules_serialize(const validate_Fixed64Rules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_Fixed64Rules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__Fixed64Rules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_Fixed64Rules_serialize_ex(const validate_Fixed64Rules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_Fixed64Rules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__Fixed64Rules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_Fixed64Rules_clear_const(validate_Fixed64Rules* msg) { @@ -3479,12 +3452,12 @@ UPB_INLINE void validate_Fixed64Rules_set_ignore_empty(validate_Fixed64Rules *ms /* validate.SFixed32Rules */ UPB_INLINE validate_SFixed32Rules* validate_SFixed32Rules_new(upb_Arena* arena) { - return (validate_SFixed32Rules*)_upb_Message_New(&validate_SFixed32Rules_msg_init, arena); + return (validate_SFixed32Rules*)_upb_Message_New(&validate__SFixed32Rules_msg_init, arena); } UPB_INLINE validate_SFixed32Rules* validate_SFixed32Rules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_SFixed32Rules* ret = validate_SFixed32Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_SFixed32Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__SFixed32Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3494,7 +3467,7 @@ UPB_INLINE validate_SFixed32Rules* validate_SFixed32Rules_parse_ex(const char* b int options, upb_Arena* arena) { validate_SFixed32Rules* ret = validate_SFixed32Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_SFixed32Rules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__SFixed32Rules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3502,13 +3475,13 @@ UPB_INLINE validate_SFixed32Rules* validate_SFixed32Rules_parse_ex(const char* b } UPB_INLINE char* validate_SFixed32Rules_serialize(const validate_SFixed32Rules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_SFixed32Rules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__SFixed32Rules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_SFixed32Rules_serialize_ex(const validate_SFixed32Rules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_SFixed32Rules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__SFixed32Rules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_SFixed32Rules_clear_const(validate_SFixed32Rules* msg) { @@ -3752,12 +3725,12 @@ UPB_INLINE void validate_SFixed32Rules_set_ignore_empty(validate_SFixed32Rules * /* validate.SFixed64Rules */ UPB_INLINE validate_SFixed64Rules* validate_SFixed64Rules_new(upb_Arena* arena) { - return (validate_SFixed64Rules*)_upb_Message_New(&validate_SFixed64Rules_msg_init, arena); + return (validate_SFixed64Rules*)_upb_Message_New(&validate__SFixed64Rules_msg_init, arena); } UPB_INLINE validate_SFixed64Rules* validate_SFixed64Rules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_SFixed64Rules* ret = validate_SFixed64Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_SFixed64Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__SFixed64Rules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -3767,7 +3740,7 @@ UPB_INLINE validate_SFixed64Rules* validate_SFixed64Rules_parse_ex(const char* b int options, upb_Arena* arena) { validate_SFixed64Rules* ret = validate_SFixed64Rules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_SFixed64Rules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__SFixed64Rules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -3775,13 +3748,13 @@ UPB_INLINE validate_SFixed64Rules* validate_SFixed64Rules_parse_ex(const char* b } UPB_INLINE char* validate_SFixed64Rules_serialize(const validate_SFixed64Rules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_SFixed64Rules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__SFixed64Rules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_SFixed64Rules_serialize_ex(const validate_SFixed64Rules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_SFixed64Rules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__SFixed64Rules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_SFixed64Rules_clear_const(validate_SFixed64Rules* msg) { @@ -4025,12 +3998,12 @@ UPB_INLINE void validate_SFixed64Rules_set_ignore_empty(validate_SFixed64Rules * /* validate.BoolRules */ UPB_INLINE validate_BoolRules* validate_BoolRules_new(upb_Arena* arena) { - return (validate_BoolRules*)_upb_Message_New(&validate_BoolRules_msg_init, arena); + return (validate_BoolRules*)_upb_Message_New(&validate__BoolRules_msg_init, arena); } UPB_INLINE validate_BoolRules* validate_BoolRules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_BoolRules* ret = validate_BoolRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_BoolRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__BoolRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -4040,7 +4013,7 @@ UPB_INLINE validate_BoolRules* validate_BoolRules_parse_ex(const char* buf, size int options, upb_Arena* arena) { validate_BoolRules* ret = validate_BoolRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_BoolRules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__BoolRules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -4048,13 +4021,13 @@ UPB_INLINE validate_BoolRules* validate_BoolRules_parse_ex(const char* buf, size } UPB_INLINE char* validate_BoolRules_serialize(const validate_BoolRules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_BoolRules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__BoolRules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_BoolRules_serialize_ex(const validate_BoolRules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_BoolRules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__BoolRules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_BoolRules_clear_const(validate_BoolRules* msg) { @@ -4081,12 +4054,12 @@ UPB_INLINE void validate_BoolRules_set_const(validate_BoolRules *msg, bool value /* validate.StringRules */ UPB_INLINE validate_StringRules* validate_StringRules_new(upb_Arena* arena) { - return (validate_StringRules*)_upb_Message_New(&validate_StringRules_msg_init, arena); + return (validate_StringRules*)_upb_Message_New(&validate__StringRules_msg_init, arena); } UPB_INLINE validate_StringRules* validate_StringRules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_StringRules* ret = validate_StringRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_StringRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__StringRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -4096,7 +4069,7 @@ UPB_INLINE validate_StringRules* validate_StringRules_parse_ex(const char* buf, int options, upb_Arena* arena) { validate_StringRules* ret = validate_StringRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_StringRules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__StringRules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -4104,13 +4077,13 @@ UPB_INLINE validate_StringRules* validate_StringRules_parse_ex(const char* buf, } UPB_INLINE char* validate_StringRules_serialize(const validate_StringRules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_StringRules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__StringRules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_StringRules_serialize_ex(const validate_StringRules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_StringRules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__StringRules_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -4713,12 +4686,12 @@ UPB_INLINE void validate_StringRules_set_ignore_empty(validate_StringRules *msg, /* validate.BytesRules */ UPB_INLINE validate_BytesRules* validate_BytesRules_new(upb_Arena* arena) { - return (validate_BytesRules*)_upb_Message_New(&validate_BytesRules_msg_init, arena); + return (validate_BytesRules*)_upb_Message_New(&validate__BytesRules_msg_init, arena); } UPB_INLINE validate_BytesRules* validate_BytesRules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_BytesRules* ret = validate_BytesRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_BytesRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__BytesRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -4728,7 +4701,7 @@ UPB_INLINE validate_BytesRules* validate_BytesRules_parse_ex(const char* buf, si int options, upb_Arena* arena) { validate_BytesRules* ret = validate_BytesRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_BytesRules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__BytesRules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -4736,13 +4709,13 @@ UPB_INLINE validate_BytesRules* validate_BytesRules_parse_ex(const char* buf, si } UPB_INLINE char* validate_BytesRules_serialize(const validate_BytesRules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_BytesRules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__BytesRules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_BytesRules_serialize_ex(const validate_BytesRules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_BytesRules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__BytesRules_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -5110,12 +5083,12 @@ UPB_INLINE void validate_BytesRules_set_ignore_empty(validate_BytesRules *msg, b /* validate.EnumRules */ UPB_INLINE validate_EnumRules* validate_EnumRules_new(upb_Arena* arena) { - return (validate_EnumRules*)_upb_Message_New(&validate_EnumRules_msg_init, arena); + return (validate_EnumRules*)_upb_Message_New(&validate__EnumRules_msg_init, arena); } UPB_INLINE validate_EnumRules* validate_EnumRules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_EnumRules* ret = validate_EnumRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_EnumRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__EnumRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5125,7 +5098,7 @@ UPB_INLINE validate_EnumRules* validate_EnumRules_parse_ex(const char* buf, size int options, upb_Arena* arena) { validate_EnumRules* ret = validate_EnumRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_EnumRules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__EnumRules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5133,13 +5106,13 @@ UPB_INLINE validate_EnumRules* validate_EnumRules_parse_ex(const char* buf, size } UPB_INLINE char* validate_EnumRules_serialize(const validate_EnumRules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_EnumRules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__EnumRules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_EnumRules_serialize_ex(const validate_EnumRules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_EnumRules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__EnumRules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_EnumRules_clear_const(validate_EnumRules* msg) { @@ -5307,12 +5280,12 @@ UPB_INLINE bool validate_EnumRules_add_not_in(validate_EnumRules* msg, int32_t v /* validate.MessageRules */ UPB_INLINE validate_MessageRules* validate_MessageRules_new(upb_Arena* arena) { - return (validate_MessageRules*)_upb_Message_New(&validate_MessageRules_msg_init, arena); + return (validate_MessageRules*)_upb_Message_New(&validate__MessageRules_msg_init, arena); } UPB_INLINE validate_MessageRules* validate_MessageRules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_MessageRules* ret = validate_MessageRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_MessageRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__MessageRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5322,7 +5295,7 @@ UPB_INLINE validate_MessageRules* validate_MessageRules_parse_ex(const char* buf int options, upb_Arena* arena) { validate_MessageRules* ret = validate_MessageRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_MessageRules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__MessageRules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5330,13 +5303,13 @@ UPB_INLINE validate_MessageRules* validate_MessageRules_parse_ex(const char* buf } UPB_INLINE char* validate_MessageRules_serialize(const validate_MessageRules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_MessageRules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__MessageRules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_MessageRules_serialize_ex(const validate_MessageRules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_MessageRules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__MessageRules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_MessageRules_clear_skip(validate_MessageRules* msg) { @@ -5382,12 +5355,12 @@ UPB_INLINE void validate_MessageRules_set_required(validate_MessageRules *msg, b /* validate.RepeatedRules */ UPB_INLINE validate_RepeatedRules* validate_RepeatedRules_new(upb_Arena* arena) { - return (validate_RepeatedRules*)_upb_Message_New(&validate_RepeatedRules_msg_init, arena); + return (validate_RepeatedRules*)_upb_Message_New(&validate__RepeatedRules_msg_init, arena); } UPB_INLINE validate_RepeatedRules* validate_RepeatedRules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_RepeatedRules* ret = validate_RepeatedRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_RepeatedRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__RepeatedRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5397,7 +5370,7 @@ UPB_INLINE validate_RepeatedRules* validate_RepeatedRules_parse_ex(const char* b int options, upb_Arena* arena) { validate_RepeatedRules* ret = validate_RepeatedRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_RepeatedRules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__RepeatedRules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5405,13 +5378,13 @@ UPB_INLINE validate_RepeatedRules* validate_RepeatedRules_parse_ex(const char* b } UPB_INLINE char* validate_RepeatedRules_serialize(const validate_RepeatedRules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_RepeatedRules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__RepeatedRules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_RepeatedRules_serialize_ex(const validate_RepeatedRules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_RepeatedRules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__RepeatedRules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_RepeatedRules_clear_min_items(validate_RepeatedRules* msg) { @@ -5509,7 +5482,7 @@ UPB_INLINE void validate_RepeatedRules_set_items(validate_RepeatedRules *msg, va UPB_INLINE struct validate_FieldRules* validate_RepeatedRules_mutable_items(validate_RepeatedRules* msg, upb_Arena* arena) { struct validate_FieldRules* sub = (struct validate_FieldRules*)validate_RepeatedRules_items(msg); if (sub == NULL) { - sub = (struct validate_FieldRules*)_upb_Message_New(&validate_FieldRules_msg_init, arena); + sub = (struct validate_FieldRules*)_upb_Message_New(&validate__FieldRules_msg_init, arena); if (sub) validate_RepeatedRules_set_items(msg, sub); } return sub; @@ -5522,12 +5495,12 @@ UPB_INLINE void validate_RepeatedRules_set_ignore_empty(validate_RepeatedRules * /* validate.MapRules */ UPB_INLINE validate_MapRules* validate_MapRules_new(upb_Arena* arena) { - return (validate_MapRules*)_upb_Message_New(&validate_MapRules_msg_init, arena); + return (validate_MapRules*)_upb_Message_New(&validate__MapRules_msg_init, arena); } UPB_INLINE validate_MapRules* validate_MapRules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_MapRules* ret = validate_MapRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_MapRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__MapRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5537,7 +5510,7 @@ UPB_INLINE validate_MapRules* validate_MapRules_parse_ex(const char* buf, size_t int options, upb_Arena* arena) { validate_MapRules* ret = validate_MapRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_MapRules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__MapRules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5545,13 +5518,13 @@ UPB_INLINE validate_MapRules* validate_MapRules_parse_ex(const char* buf, size_t } UPB_INLINE char* validate_MapRules_serialize(const validate_MapRules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_MapRules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__MapRules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_MapRules_serialize_ex(const validate_MapRules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_MapRules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__MapRules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_MapRules_clear_min_pairs(validate_MapRules* msg) { @@ -5664,7 +5637,7 @@ UPB_INLINE void validate_MapRules_set_keys(validate_MapRules *msg, validate_Fiel UPB_INLINE struct validate_FieldRules* validate_MapRules_mutable_keys(validate_MapRules* msg, upb_Arena* arena) { struct validate_FieldRules* sub = (struct validate_FieldRules*)validate_MapRules_keys(msg); if (sub == NULL) { - sub = (struct validate_FieldRules*)_upb_Message_New(&validate_FieldRules_msg_init, arena); + sub = (struct validate_FieldRules*)_upb_Message_New(&validate__FieldRules_msg_init, arena); if (sub) validate_MapRules_set_keys(msg, sub); } return sub; @@ -5676,7 +5649,7 @@ UPB_INLINE void validate_MapRules_set_values(validate_MapRules *msg, validate_Fi UPB_INLINE struct validate_FieldRules* validate_MapRules_mutable_values(validate_MapRules* msg, upb_Arena* arena) { struct validate_FieldRules* sub = (struct validate_FieldRules*)validate_MapRules_values(msg); if (sub == NULL) { - sub = (struct validate_FieldRules*)_upb_Message_New(&validate_FieldRules_msg_init, arena); + sub = (struct validate_FieldRules*)_upb_Message_New(&validate__FieldRules_msg_init, arena); if (sub) validate_MapRules_set_values(msg, sub); } return sub; @@ -5689,12 +5662,12 @@ UPB_INLINE void validate_MapRules_set_ignore_empty(validate_MapRules *msg, bool /* validate.AnyRules */ UPB_INLINE validate_AnyRules* validate_AnyRules_new(upb_Arena* arena) { - return (validate_AnyRules*)_upb_Message_New(&validate_AnyRules_msg_init, arena); + return (validate_AnyRules*)_upb_Message_New(&validate__AnyRules_msg_init, arena); } UPB_INLINE validate_AnyRules* validate_AnyRules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_AnyRules* ret = validate_AnyRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_AnyRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__AnyRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5704,7 +5677,7 @@ UPB_INLINE validate_AnyRules* validate_AnyRules_parse_ex(const char* buf, size_t int options, upb_Arena* arena) { validate_AnyRules* ret = validate_AnyRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_AnyRules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__AnyRules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5712,13 +5685,13 @@ UPB_INLINE validate_AnyRules* validate_AnyRules_parse_ex(const char* buf, size_t } UPB_INLINE char* validate_AnyRules_serialize(const validate_AnyRules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_AnyRules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__AnyRules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_AnyRules_serialize_ex(const validate_AnyRules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_AnyRules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__AnyRules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_AnyRules_clear_required(validate_AnyRules* msg) { @@ -5867,12 +5840,12 @@ UPB_INLINE bool validate_AnyRules_add_not_in(validate_AnyRules* msg, upb_StringV /* validate.DurationRules */ UPB_INLINE validate_DurationRules* validate_DurationRules_new(upb_Arena* arena) { - return (validate_DurationRules*)_upb_Message_New(&validate_DurationRules_msg_init, arena); + return (validate_DurationRules*)_upb_Message_New(&validate__DurationRules_msg_init, arena); } UPB_INLINE validate_DurationRules* validate_DurationRules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_DurationRules* ret = validate_DurationRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_DurationRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__DurationRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -5882,7 +5855,7 @@ UPB_INLINE validate_DurationRules* validate_DurationRules_parse_ex(const char* b int options, upb_Arena* arena) { validate_DurationRules* ret = validate_DurationRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_DurationRules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__DurationRules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -5890,13 +5863,13 @@ UPB_INLINE validate_DurationRules* validate_DurationRules_parse_ex(const char* b } UPB_INLINE char* validate_DurationRules_serialize(const validate_DurationRules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_DurationRules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__DurationRules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_DurationRules_serialize_ex(const validate_DurationRules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_DurationRules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__DurationRules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_DurationRules_clear_required(validate_DurationRules* msg) { @@ -6075,7 +6048,7 @@ UPB_INLINE void validate_DurationRules_set_const(validate_DurationRules *msg, st UPB_INLINE struct google_protobuf_Duration* validate_DurationRules_mutable_const(validate_DurationRules* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)validate_DurationRules_const(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) validate_DurationRules_set_const(msg, sub); } return sub; @@ -6087,7 +6060,7 @@ UPB_INLINE void validate_DurationRules_set_lt(validate_DurationRules *msg, struc UPB_INLINE struct google_protobuf_Duration* validate_DurationRules_mutable_lt(validate_DurationRules* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)validate_DurationRules_lt(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) validate_DurationRules_set_lt(msg, sub); } return sub; @@ -6099,7 +6072,7 @@ UPB_INLINE void validate_DurationRules_set_lte(validate_DurationRules *msg, stru UPB_INLINE struct google_protobuf_Duration* validate_DurationRules_mutable_lte(validate_DurationRules* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)validate_DurationRules_lte(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) validate_DurationRules_set_lte(msg, sub); } return sub; @@ -6111,7 +6084,7 @@ UPB_INLINE void validate_DurationRules_set_gt(validate_DurationRules *msg, struc UPB_INLINE struct google_protobuf_Duration* validate_DurationRules_mutable_gt(validate_DurationRules* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)validate_DurationRules_gt(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) validate_DurationRules_set_gt(msg, sub); } return sub; @@ -6123,7 +6096,7 @@ UPB_INLINE void validate_DurationRules_set_gte(validate_DurationRules *msg, stru UPB_INLINE struct google_protobuf_Duration* validate_DurationRules_mutable_gte(validate_DurationRules* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)validate_DurationRules_gte(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) validate_DurationRules_set_gte(msg, sub); } return sub; @@ -6149,7 +6122,7 @@ UPB_INLINE struct google_protobuf_Duration* validate_DurationRules_add_in(valida if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -6175,7 +6148,7 @@ UPB_INLINE struct google_protobuf_Duration* validate_DurationRules_add_not_in(va if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -6184,12 +6157,12 @@ UPB_INLINE struct google_protobuf_Duration* validate_DurationRules_add_not_in(va /* validate.TimestampRules */ UPB_INLINE validate_TimestampRules* validate_TimestampRules_new(upb_Arena* arena) { - return (validate_TimestampRules*)_upb_Message_New(&validate_TimestampRules_msg_init, arena); + return (validate_TimestampRules*)_upb_Message_New(&validate__TimestampRules_msg_init, arena); } UPB_INLINE validate_TimestampRules* validate_TimestampRules_parse(const char* buf, size_t size, upb_Arena* arena) { validate_TimestampRules* ret = validate_TimestampRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_TimestampRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &validate__TimestampRules_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -6199,7 +6172,7 @@ UPB_INLINE validate_TimestampRules* validate_TimestampRules_parse_ex(const char* int options, upb_Arena* arena) { validate_TimestampRules* ret = validate_TimestampRules_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &validate_TimestampRules_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &validate__TimestampRules_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -6207,13 +6180,13 @@ UPB_INLINE validate_TimestampRules* validate_TimestampRules_parse_ex(const char* } UPB_INLINE char* validate_TimestampRules_serialize(const validate_TimestampRules* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_TimestampRules_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &validate__TimestampRules_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* validate_TimestampRules_serialize_ex(const validate_TimestampRules* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &validate_TimestampRules_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &validate__TimestampRules_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void validate_TimestampRules_clear_required(validate_TimestampRules* msg) { @@ -6363,7 +6336,7 @@ UPB_INLINE void validate_TimestampRules_set_const(validate_TimestampRules *msg, UPB_INLINE struct google_protobuf_Timestamp* validate_TimestampRules_mutable_const(validate_TimestampRules* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)validate_TimestampRules_const(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) validate_TimestampRules_set_const(msg, sub); } return sub; @@ -6375,7 +6348,7 @@ UPB_INLINE void validate_TimestampRules_set_lt(validate_TimestampRules *msg, str UPB_INLINE struct google_protobuf_Timestamp* validate_TimestampRules_mutable_lt(validate_TimestampRules* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)validate_TimestampRules_lt(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) validate_TimestampRules_set_lt(msg, sub); } return sub; @@ -6387,7 +6360,7 @@ UPB_INLINE void validate_TimestampRules_set_lte(validate_TimestampRules *msg, st UPB_INLINE struct google_protobuf_Timestamp* validate_TimestampRules_mutable_lte(validate_TimestampRules* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)validate_TimestampRules_lte(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) validate_TimestampRules_set_lte(msg, sub); } return sub; @@ -6399,7 +6372,7 @@ UPB_INLINE void validate_TimestampRules_set_gt(validate_TimestampRules *msg, str UPB_INLINE struct google_protobuf_Timestamp* validate_TimestampRules_mutable_gt(validate_TimestampRules* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)validate_TimestampRules_gt(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) validate_TimestampRules_set_gt(msg, sub); } return sub; @@ -6411,7 +6384,7 @@ UPB_INLINE void validate_TimestampRules_set_gte(validate_TimestampRules *msg, st UPB_INLINE struct google_protobuf_Timestamp* validate_TimestampRules_mutable_gte(validate_TimestampRules* msg, upb_Arena* arena) { struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)validate_TimestampRules_gte(msg); if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); + sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google__protobuf__Timestamp_msg_init, arena); if (sub) validate_TimestampRules_set_gte(msg, sub); } return sub; @@ -6431,7 +6404,7 @@ UPB_INLINE void validate_TimestampRules_set_within(validate_TimestampRules *msg, UPB_INLINE struct google_protobuf_Duration* validate_TimestampRules_mutable_within(validate_TimestampRules* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)validate_TimestampRules_within(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) validate_TimestampRules_set_within(msg, sub); } return sub; @@ -6525,8 +6498,6 @@ UPB_INLINE void validate_set_rules(struct google_protobuf_FieldOptions* msg, con bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); UPB_ASSERT(ok); } -extern const upb_MiniTableFile validate_validate_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/validate/validate.upb_minitable.c b/src/core/ext/upb-gen/validate/validate.upb_minitable.c new file mode 100644 index 00000000000..56de8fc6cee --- /dev/null +++ b/src/core/ext/upb-gen/validate/validate.upb_minitable.c @@ -0,0 +1,943 @@ +/* This file was generated by upb_generator from the input file: + * + * validate/validate.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "validate/validate.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" +#include "google/protobuf/timestamp.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub validate_FieldRules_submsgs[22] = { + {.submsg = &validate__FloatRules_msg_init}, + {.submsg = &validate__DoubleRules_msg_init}, + {.submsg = &validate__Int32Rules_msg_init}, + {.submsg = &validate__Int64Rules_msg_init}, + {.submsg = &validate__UInt32Rules_msg_init}, + {.submsg = &validate__UInt64Rules_msg_init}, + {.submsg = &validate__SInt32Rules_msg_init}, + {.submsg = &validate__SInt64Rules_msg_init}, + {.submsg = &validate__Fixed32Rules_msg_init}, + {.submsg = &validate__Fixed64Rules_msg_init}, + {.submsg = &validate__SFixed32Rules_msg_init}, + {.submsg = &validate__SFixed64Rules_msg_init}, + {.submsg = &validate__BoolRules_msg_init}, + {.submsg = &validate__StringRules_msg_init}, + {.submsg = &validate__BytesRules_msg_init}, + {.submsg = &validate__EnumRules_msg_init}, + {.submsg = &validate__MessageRules_msg_init}, + {.submsg = &validate__RepeatedRules_msg_init}, + {.submsg = &validate__MapRules_msg_init}, + {.submsg = &validate__AnyRules_msg_init}, + {.submsg = &validate__DurationRules_msg_init}, + {.submsg = &validate__TimestampRules_msg_init}, +}; + +static const upb_MiniTableField validate_FieldRules__fields[22] = { + {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(4, 8), 1, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__FieldRules_msg_init = { + &validate_FieldRules_submsgs[0], + &validate_FieldRules__fields[0], + UPB_SIZE(16, 24), 22, kUpb_ExtMode_NonExtendable, 22, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000040100000a, &upb_pom_1bt_max64b}, + {0x0010000402010012, &upb_pom_1bt_max128b}, + {0x001000040302001a, &upb_pom_1bt_max64b}, + {0x0010000404030022, &upb_pom_1bt_max128b}, + {0x001000040504002a, &upb_pom_1bt_max64b}, + {0x0010000406050032, &upb_pom_1bt_max128b}, + {0x001000040706003a, &upb_pom_1bt_max64b}, + {0x0010000408070042, &upb_pom_1bt_max128b}, + {0x001000040908004a, &upb_pom_1bt_max64b}, + {0x001000040a090052, &upb_pom_1bt_max128b}, + {0x001000040b0a005a, &upb_pom_1bt_max64b}, + {0x001000040c0b0062, &upb_pom_1bt_max128b}, + {0x001000040d0c006a, &upb_pom_1bt_max64b}, + {0x001000040e0d0072, &upb_pom_1bt_max192b}, + {0x001000040f0e007a, &upb_pom_1bt_max192b}, + {0x00100004100f0182, &upb_pom_2bt_max64b}, + {0x000800000110018a, &upb_psm_2bt_max64b}, + {0x0010000412110192, &upb_pom_2bt_max64b}, + {0x001000041312019a, &upb_pom_2bt_max64b}, + {0x00100004141301a2, &upb_pom_2bt_max64b}, + {0x00100004151401aa, &upb_pom_2bt_max128b}, + {0x00100004161501b2, &upb_pom_2bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_FloatRules__fields[8] = { + {1, 4, 1, kUpb_NoSub, 2, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 2, kUpb_NoSub, 2, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 12, 3, kUpb_NoSub, 2, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 16, 4, kUpb_NoSub, 2, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, 20, 5, kUpb_NoSub, 2, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 32), 0, kUpb_NoSub, 2, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 40), 0, kUpb_NoSub, 2, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 24), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__FloatRules_msg_init = { + NULL, + &validate_FloatRules__fields[0], + UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400000100000d, &upb_psf4_1bt}, + {0x0008000002000015, &upb_psf4_1bt}, + {0x000c00000300001d, &upb_psf4_1bt}, + {0x0010000004000025, &upb_psf4_1bt}, + {0x001400000500002d, &upb_psf4_1bt}, + {0x002000003f000035, &upb_prf4_1bt}, + {0x002800003f00003d, &upb_prf4_1bt}, + {0x0018000006000040, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_DoubleRules__fields[8] = { + {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(32, 24), 3, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(40, 32), 4, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(48, 40), 5, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 48), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(8, 56), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(12, 1), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__DoubleRules_msg_init = { + NULL, + &validate_DoubleRules__fields[0], + UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000009, &upb_psf8_1bt}, + {0x0010000002000011, &upb_psf8_1bt}, + {0x0018000003000019, &upb_psf8_1bt}, + {0x0020000004000021, &upb_psf8_1bt}, + {0x0028000005000029, &upb_psf8_1bt}, + {0x003000003f000031, &upb_prf8_1bt}, + {0x003800003f000039, &upb_prf8_1bt}, + {0x0001000006000040, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_Int32Rules__fields[8] = { + {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 12, 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 16, 4, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, 20, 5, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 24), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__Int32Rules_msg_init = { + NULL, + &validate_Int32Rules__fields[0], + UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0004000001000008, &upb_psv4_1bt}, + {0x0008000002000010, &upb_psv4_1bt}, + {0x000c000003000018, &upb_psv4_1bt}, + {0x0010000004000020, &upb_psv4_1bt}, + {0x0014000005000028, &upb_psv4_1bt}, + {0x002000003f000030, &upb_prv4_1bt}, + {0x002800003f000038, &upb_prv4_1bt}, + {0x0018000006000040, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_Int64Rules__fields[8] = { + {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(32, 24), 3, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(40, 32), 4, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(48, 40), 5, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 48), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(8, 56), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(12, 1), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__Int64Rules_msg_init = { + NULL, + &validate_Int64Rules__fields[0], + UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000008, &upb_psv8_1bt}, + {0x0010000002000010, &upb_psv8_1bt}, + {0x0018000003000018, &upb_psv8_1bt}, + {0x0020000004000020, &upb_psv8_1bt}, + {0x0028000005000028, &upb_psv8_1bt}, + {0x003000003f000030, &upb_prv8_1bt}, + {0x003800003f000038, &upb_prv8_1bt}, + {0x0001000006000040, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_UInt32Rules__fields[8] = { + {1, 4, 1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 2, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 12, 3, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 16, 4, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, 20, 5, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 32), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 40), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 24), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__UInt32Rules_msg_init = { + NULL, + &validate_UInt32Rules__fields[0], + UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0004000001000008, &upb_psv4_1bt}, + {0x0008000002000010, &upb_psv4_1bt}, + {0x000c000003000018, &upb_psv4_1bt}, + {0x0010000004000020, &upb_psv4_1bt}, + {0x0014000005000028, &upb_psv4_1bt}, + {0x002000003f000030, &upb_prv4_1bt}, + {0x002800003f000038, &upb_prv4_1bt}, + {0x0018000006000040, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_UInt64Rules__fields[8] = { + {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(32, 24), 3, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(40, 32), 4, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(48, 40), 5, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 48), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(8, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(12, 1), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__UInt64Rules_msg_init = { + NULL, + &validate_UInt64Rules__fields[0], + UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000008, &upb_psv8_1bt}, + {0x0010000002000010, &upb_psv8_1bt}, + {0x0018000003000018, &upb_psv8_1bt}, + {0x0020000004000020, &upb_psv8_1bt}, + {0x0028000005000028, &upb_psv8_1bt}, + {0x003000003f000030, &upb_prv8_1bt}, + {0x003800003f000038, &upb_prv8_1bt}, + {0x0001000006000040, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_SInt32Rules__fields[8] = { + {1, 4, 1, kUpb_NoSub, 17, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 2, kUpb_NoSub, 17, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 12, 3, kUpb_NoSub, 17, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 16, 4, kUpb_NoSub, 17, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, 20, 5, kUpb_NoSub, 17, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 32), 0, kUpb_NoSub, 17, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 40), 0, kUpb_NoSub, 17, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 24), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__SInt32Rules_msg_init = { + NULL, + &validate_SInt32Rules__fields[0], + UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0004000001000008, &upb_psz4_1bt}, + {0x0008000002000010, &upb_psz4_1bt}, + {0x000c000003000018, &upb_psz4_1bt}, + {0x0010000004000020, &upb_psz4_1bt}, + {0x0014000005000028, &upb_psz4_1bt}, + {0x002000003f000030, &upb_prz4_1bt}, + {0x002800003f000038, &upb_prz4_1bt}, + {0x0018000006000040, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_SInt64Rules__fields[8] = { + {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 18, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 18, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(32, 24), 3, kUpb_NoSub, 18, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(40, 32), 4, kUpb_NoSub, 18, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(48, 40), 5, kUpb_NoSub, 18, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 48), 0, kUpb_NoSub, 18, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(8, 56), 0, kUpb_NoSub, 18, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(12, 1), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__SInt64Rules_msg_init = { + NULL, + &validate_SInt64Rules__fields[0], + UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000008, &upb_psz8_1bt}, + {0x0010000002000010, &upb_psz8_1bt}, + {0x0018000003000018, &upb_psz8_1bt}, + {0x0020000004000020, &upb_psz8_1bt}, + {0x0028000005000028, &upb_psz8_1bt}, + {0x003000003f000030, &upb_prz8_1bt}, + {0x003800003f000038, &upb_prz8_1bt}, + {0x0001000006000040, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_Fixed32Rules__fields[8] = { + {1, 4, 1, kUpb_NoSub, 7, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 2, kUpb_NoSub, 7, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 12, 3, kUpb_NoSub, 7, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 16, 4, kUpb_NoSub, 7, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, 20, 5, kUpb_NoSub, 7, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 32), 0, kUpb_NoSub, 7, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 40), 0, kUpb_NoSub, 7, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 24), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__Fixed32Rules_msg_init = { + NULL, + &validate_Fixed32Rules__fields[0], + UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400000100000d, &upb_psf4_1bt}, + {0x0008000002000015, &upb_psf4_1bt}, + {0x000c00000300001d, &upb_psf4_1bt}, + {0x0010000004000025, &upb_psf4_1bt}, + {0x001400000500002d, &upb_psf4_1bt}, + {0x002000003f000035, &upb_prf4_1bt}, + {0x002800003f00003d, &upb_prf4_1bt}, + {0x0018000006000040, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_Fixed64Rules__fields[8] = { + {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 6, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 6, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(32, 24), 3, kUpb_NoSub, 6, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(40, 32), 4, kUpb_NoSub, 6, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(48, 40), 5, kUpb_NoSub, 6, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 48), 0, kUpb_NoSub, 6, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(8, 56), 0, kUpb_NoSub, 6, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(12, 1), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__Fixed64Rules_msg_init = { + NULL, + &validate_Fixed64Rules__fields[0], + UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000009, &upb_psf8_1bt}, + {0x0010000002000011, &upb_psf8_1bt}, + {0x0018000003000019, &upb_psf8_1bt}, + {0x0020000004000021, &upb_psf8_1bt}, + {0x0028000005000029, &upb_psf8_1bt}, + {0x003000003f000031, &upb_prf8_1bt}, + {0x003800003f000039, &upb_prf8_1bt}, + {0x0001000006000040, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_SFixed32Rules__fields[8] = { + {1, 4, 1, kUpb_NoSub, 15, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 2, kUpb_NoSub, 15, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 12, 3, kUpb_NoSub, 15, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 16, 4, kUpb_NoSub, 15, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, 20, 5, kUpb_NoSub, 15, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 32), 0, kUpb_NoSub, 15, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 40), 0, kUpb_NoSub, 15, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 24), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__SFixed32Rules_msg_init = { + NULL, + &validate_SFixed32Rules__fields[0], + UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000400000100000d, &upb_psf4_1bt}, + {0x0008000002000015, &upb_psf4_1bt}, + {0x000c00000300001d, &upb_psf4_1bt}, + {0x0010000004000025, &upb_psf4_1bt}, + {0x001400000500002d, &upb_psf4_1bt}, + {0x002000003f000035, &upb_prf4_1bt}, + {0x002800003f00003d, &upb_prf4_1bt}, + {0x0018000006000040, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_SFixed64Rules__fields[8] = { + {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 16, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 16, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(32, 24), 3, kUpb_NoSub, 16, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(40, 32), 4, kUpb_NoSub, 16, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(48, 40), 5, kUpb_NoSub, 16, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(4, 48), 0, kUpb_NoSub, 16, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(8, 56), 0, kUpb_NoSub, 16, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(12, 1), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__SFixed64Rules_msg_init = { + NULL, + &validate_SFixed64Rules__fields[0], + UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000009, &upb_psf8_1bt}, + {0x0010000002000011, &upb_psf8_1bt}, + {0x0018000003000019, &upb_psf8_1bt}, + {0x0020000004000021, &upb_psf8_1bt}, + {0x0028000005000029, &upb_psf8_1bt}, + {0x003000003f000031, &upb_prf8_1bt}, + {0x003800003f000039, &upb_prf8_1bt}, + {0x0001000006000040, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_BoolRules__fields[1] = { + {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__BoolRules_msg_init = { + NULL, + &validate_BoolRules__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0001000001000008, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableSub validate_StringRules_submsgs[1] = { + {.subenum = &validate_KnownRegex_enum_init}, +}; + +static const upb_MiniTableField validate_StringRules__fields[26] = { + {1, UPB_SIZE(24, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 32, 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, 40, 3, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, 48, 4, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {5, 56, 5, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {6, 64, 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(72, 80), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(80, 96), 8, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(88, 112), 9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(4, 128), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(8, 136), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(96, 144), 10, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(104, 152), 11, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(112, 160), 12, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(16, 8), 13, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {26, UPB_SIZE(17, 9), 14, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__StringRules_msg_init = { + &validate_StringRules_submsgs[0], + &validate_StringRules__fields[0], + UPB_SIZE(120, 176), 26, kUpb_ExtMode_NonExtendable, 26, UPB_FASTTABLE_MASK(248), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000000100000a, &upb_pss_1bt}, + {0x0020000002000010, &upb_psv8_1bt}, + {0x0028000003000018, &upb_psv8_1bt}, + {0x0030000004000020, &upb_psv8_1bt}, + {0x0038000005000028, &upb_psv8_1bt}, + {0x0040000006000032, &upb_pss_1bt}, + {0x005000000700003a, &upb_pss_1bt}, + {0x0060000008000042, &upb_pss_1bt}, + {0x007000000900004a, &upb_pss_1bt}, + {0x008000003f000052, &upb_prs_1bt}, + {0x008800003f00005a, &upb_prs_1bt}, + {0x000c00040c000060, &upb_pob1_1bt}, + {0x000c00040d000068, &upb_pob1_1bt}, + {0x000c00040e000070, &upb_pob1_1bt}, + {0x000c00040f000078, &upb_pob1_1bt}, + {0x000c000410000180, &upb_pob1_2bt}, + {0x000c000411000188, &upb_pob1_2bt}, + {0x000c000412000190, &upb_pob1_2bt}, + {0x009000000a000198, &upb_psv8_2bt}, + {0x009800000b0001a0, &upb_psv8_2bt}, + {0x000c0004150001a8, &upb_pob1_2bt}, + {0x000c0004160001b0, &upb_pob1_2bt}, + {0x00a000000c0001ba, &upb_pss_2bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000d0001c8, &upb_psb1_2bt}, + {0x000900000e0001d0, &upb_psb1_2bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_BytesRules__fields[14] = { + {1, UPB_SIZE(20, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 32, 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, 40, 3, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, 48, 4, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(56, 64), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(64, 80), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(72, 96), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(4, 112), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(8, 120), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, 2, UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {11, 2, UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {12, 2, UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(80, 128), 8, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(16, 8), 9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__BytesRules_msg_init = { + NULL, + &validate_BytesRules__fields[0], + UPB_SIZE(88, 136), 14, kUpb_ExtMode_NonExtendable, 14, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000000100000a, &upb_psb_1bt}, + {0x0020000002000010, &upb_psv8_1bt}, + {0x0028000003000018, &upb_psv8_1bt}, + {0x0030000004000022, &upb_pss_1bt}, + {0x004000000500002a, &upb_psb_1bt}, + {0x0050000006000032, &upb_psb_1bt}, + {0x006000000700003a, &upb_psb_1bt}, + {0x007000003f000042, &upb_prb_1bt}, + {0x007800003f00004a, &upb_prb_1bt}, + {0x000200040a000050, &upb_pob1_1bt}, + {0x000200040b000058, &upb_pob1_1bt}, + {0x000200040c000060, &upb_pob1_1bt}, + {0x0080000008000068, &upb_psv8_1bt}, + {0x0008000009000070, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_EnumRules__fields[4] = { + {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__EnumRules_msg_init = { + NULL, + &validate_EnumRules__fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0004000001000008, &upb_psv4_1bt}, + {0x0008000002000010, &upb_psb1_1bt}, + {0x001000003f000018, &upb_prv4_1bt}, + {0x001800003f000020, &upb_prv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_MessageRules__fields[2] = { + {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__MessageRules_msg_init = { + NULL, + &validate_MessageRules__fields[0], + 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0001000001000008, &upb_psb1_1bt}, + {0x0002000002000010, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub validate_RepeatedRules_submsgs[1] = { + {.submsg = &validate__FieldRules_msg_init}, +}; + +static const upb_MiniTableField validate_RepeatedRules__fields[5] = { + {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, 1, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 24), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 2), 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__RepeatedRules_msg_init = { + &validate_RepeatedRules_submsgs[0], + &validate_RepeatedRules__fields[0], + 32, 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000008, &upb_psv8_1bt}, + {0x0010000002000010, &upb_psv8_1bt}, + {0x0001000003000018, &upb_psb1_1bt}, + {0x0018000004000022, &upb_psm_1bt_max64b}, + {0x0002000005000028, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub validate_MapRules_submsgs[2] = { + {.submsg = &validate__FieldRules_msg_init}, + {.submsg = &validate__FieldRules_msg_init}, +}; + +static const upb_MiniTableField validate_MapRules__fields[6] = { + {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, 1, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 24), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(8, 32), 5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 2), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__MapRules_msg_init = { + &validate_MapRules_submsgs[0], + &validate_MapRules__fields[0], + UPB_SIZE(32, 40), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0008000001000008, &upb_psv8_1bt}, + {0x0010000002000010, &upb_psv8_1bt}, + {0x0001000003000018, &upb_psb1_1bt}, + {0x0018000004000022, &upb_psm_1bt_max64b}, + {0x002000000501002a, &upb_psm_1bt_max64b}, + {0x0002000006000030, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField validate_AnyRules__fields[3] = { + {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__AnyRules_msg_init = { + NULL, + &validate_AnyRules__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0001000001000008, &upb_psb1_1bt}, + {0x000800003f000012, &upb_prs_1bt}, + {0x001000003f00001a, &upb_prs_1bt}, + }) +}; + +static const upb_MiniTableSub validate_DurationRules_submsgs[7] = { + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField validate_DurationRules__fields[8] = { + {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 16), 3, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 24), 4, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 32), 5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 40), 6, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 48), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(28, 56), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__DurationRules_msg_init = { + &validate_DurationRules_submsgs[0], + &validate_DurationRules__fields[0], + UPB_SIZE(32, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0001000001000008, &upb_psb1_1bt}, + {0x0008000002000012, &upb_psm_1bt_maxmaxb}, + {0x001000000301001a, &upb_psm_1bt_maxmaxb}, + {0x0018000004020022, &upb_psm_1bt_maxmaxb}, + {0x002000000503002a, &upb_psm_1bt_maxmaxb}, + {0x0028000006040032, &upb_psm_1bt_maxmaxb}, + {0x003000003f05003a, &upb_prm_1bt_maxmaxb}, + {0x003800003f060042, &upb_prm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub validate_TimestampRules_submsgs[6] = { + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &google__protobuf__Timestamp_msg_init}, + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField validate_TimestampRules__fields[9] = { + {1, 2, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 16), 3, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 24), 4, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 32), 5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 40), 6, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 3), 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(25, 4), 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(28, 48), 9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable validate__TimestampRules_msg_init = { + &validate_TimestampRules_submsgs[0], + &validate_TimestampRules__fields[0], + UPB_SIZE(32, 56), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0002000001000008, &upb_psb1_1bt}, + {0x0008000002000012, &upb_psm_1bt_maxmaxb}, + {0x001000000301001a, &upb_psm_1bt_maxmaxb}, + {0x0018000004020022, &upb_psm_1bt_maxmaxb}, + {0x002000000503002a, &upb_psm_1bt_maxmaxb}, + {0x0028000006040032, &upb_psm_1bt_maxmaxb}, + {0x0003000007000038, &upb_psb1_1bt}, + {0x0004000008000040, &upb_psb1_1bt}, + {0x003000000905004a, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[23] = { + &validate__FieldRules_msg_init, + &validate__FloatRules_msg_init, + &validate__DoubleRules_msg_init, + &validate__Int32Rules_msg_init, + &validate__Int64Rules_msg_init, + &validate__UInt32Rules_msg_init, + &validate__UInt64Rules_msg_init, + &validate__SInt32Rules_msg_init, + &validate__SInt64Rules_msg_init, + &validate__Fixed32Rules_msg_init, + &validate__Fixed64Rules_msg_init, + &validate__SFixed32Rules_msg_init, + &validate__SFixed64Rules_msg_init, + &validate__BoolRules_msg_init, + &validate__StringRules_msg_init, + &validate__BytesRules_msg_init, + &validate__EnumRules_msg_init, + &validate__MessageRules_msg_init, + &validate__RepeatedRules_msg_init, + &validate__MapRules_msg_init, + &validate__AnyRules_msg_init, + &validate__DurationRules_msg_init, + &validate__TimestampRules_msg_init, +}; + +const upb_MiniTableExtension validate_disabled_ext = { + {1071, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__MessageOptions_msg_init, + {.submsg = NULL}, + +}; +const upb_MiniTableExtension validate_ignored_ext = { + {1072, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__MessageOptions_msg_init, + {.submsg = NULL}, + +}; +const upb_MiniTableExtension validate_required_ext = { + {1071, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__OneofOptions_msg_init, + {.submsg = NULL}, + +}; +const upb_MiniTableExtension validate_rules_ext = { + {1071, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__FieldOptions_msg_init, + {.submsg = &validate__FieldRules_msg_init}, + +}; + +static const upb_MiniTableExtension *extensions_layout[4] = { + &validate_disabled_ext, + &validate_ignored_ext, + &validate_required_ext, + &validate_rules_ext, +}; + +const upb_MiniTableEnum validate_KnownRegex_enum_init = { + 64, + 0, + { + 0x7, + 0x0, + }, +}; + +static const upb_MiniTableEnum *enums_layout[1] = { + &validate_KnownRegex_enum_init, +}; + +const upb_MiniTableFile validate_validate_proto_upb_file_layout = { + messages_layout, + enums_layout, + extensions_layout, + 23, + 1, + 4, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/validate/validate.upb_minitable.h b/src/core/ext/upb-gen/validate/validate.upb_minitable.h new file mode 100644 index 00000000000..c89f6cd4bee --- /dev/null +++ b/src/core/ext/upb-gen/validate/validate.upb_minitable.h @@ -0,0 +1,57 @@ +/* This file was generated by upb_generator from the input file: + * + * validate/validate.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef VALIDATE_VALIDATE_PROTO_UPB_MINITABLE_H_ +#define VALIDATE_VALIDATE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable validate__FieldRules_msg_init; +extern const upb_MiniTable validate__FloatRules_msg_init; +extern const upb_MiniTable validate__DoubleRules_msg_init; +extern const upb_MiniTable validate__Int32Rules_msg_init; +extern const upb_MiniTable validate__Int64Rules_msg_init; +extern const upb_MiniTable validate__UInt32Rules_msg_init; +extern const upb_MiniTable validate__UInt64Rules_msg_init; +extern const upb_MiniTable validate__SInt32Rules_msg_init; +extern const upb_MiniTable validate__SInt64Rules_msg_init; +extern const upb_MiniTable validate__Fixed32Rules_msg_init; +extern const upb_MiniTable validate__Fixed64Rules_msg_init; +extern const upb_MiniTable validate__SFixed32Rules_msg_init; +extern const upb_MiniTable validate__SFixed64Rules_msg_init; +extern const upb_MiniTable validate__BoolRules_msg_init; +extern const upb_MiniTable validate__StringRules_msg_init; +extern const upb_MiniTable validate__BytesRules_msg_init; +extern const upb_MiniTable validate__EnumRules_msg_init; +extern const upb_MiniTable validate__MessageRules_msg_init; +extern const upb_MiniTable validate__RepeatedRules_msg_init; +extern const upb_MiniTable validate__MapRules_msg_init; +extern const upb_MiniTable validate__AnyRules_msg_init; +extern const upb_MiniTable validate__DurationRules_msg_init; +extern const upb_MiniTable validate__TimestampRules_msg_init; +extern const upb_MiniTableExtension validate_disabled_ext; +extern const upb_MiniTableExtension validate_ignored_ext; +extern const upb_MiniTableExtension validate_required_ext; +extern const upb_MiniTableExtension validate_rules_ext; + +extern const upb_MiniTableEnum validate_KnownRegex_enum_init; +extern const upb_MiniTableFile validate_validate_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* VALIDATE_VALIDATE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h b/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h new file mode 100644 index 00000000000..64de9c08f95 --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h @@ -0,0 +1,322 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/migrate.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPB_H_ +#define XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/annotations/v3/migrate.upb_minitable.h" + +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_annotations_v3_MigrateAnnotation xds_annotations_v3_MigrateAnnotation; +typedef struct xds_annotations_v3_FieldMigrateAnnotation xds_annotations_v3_FieldMigrateAnnotation; +typedef struct xds_annotations_v3_FileMigrateAnnotation xds_annotations_v3_FileMigrateAnnotation; +struct google_protobuf_EnumOptions; +struct google_protobuf_EnumValueOptions; +struct google_protobuf_FieldOptions; +struct google_protobuf_FileOptions; +struct google_protobuf_MessageOptions; + + + +/* xds.annotations.v3.MigrateAnnotation */ + +UPB_INLINE xds_annotations_v3_MigrateAnnotation* xds_annotations_v3_MigrateAnnotation_new(upb_Arena* arena) { + return (xds_annotations_v3_MigrateAnnotation*)_upb_Message_New(&xds__annotations__v3__MigrateAnnotation_msg_init, arena); +} +UPB_INLINE xds_annotations_v3_MigrateAnnotation* xds_annotations_v3_MigrateAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_annotations_v3_MigrateAnnotation* ret = xds_annotations_v3_MigrateAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__MigrateAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_annotations_v3_MigrateAnnotation* xds_annotations_v3_MigrateAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_annotations_v3_MigrateAnnotation* ret = xds_annotations_v3_MigrateAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__MigrateAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_annotations_v3_MigrateAnnotation_serialize(const xds_annotations_v3_MigrateAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__MigrateAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_annotations_v3_MigrateAnnotation_serialize_ex(const xds_annotations_v3_MigrateAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__MigrateAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_annotations_v3_MigrateAnnotation_clear_rename(xds_annotations_v3_MigrateAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView xds_annotations_v3_MigrateAnnotation_rename(const xds_annotations_v3_MigrateAnnotation* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_annotations_v3_MigrateAnnotation_set_rename(xds_annotations_v3_MigrateAnnotation *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* xds.annotations.v3.FieldMigrateAnnotation */ + +UPB_INLINE xds_annotations_v3_FieldMigrateAnnotation* xds_annotations_v3_FieldMigrateAnnotation_new(upb_Arena* arena) { + return (xds_annotations_v3_FieldMigrateAnnotation*)_upb_Message_New(&xds__annotations__v3__FieldMigrateAnnotation_msg_init, arena); +} +UPB_INLINE xds_annotations_v3_FieldMigrateAnnotation* xds_annotations_v3_FieldMigrateAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_annotations_v3_FieldMigrateAnnotation* ret = xds_annotations_v3_FieldMigrateAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__FieldMigrateAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_annotations_v3_FieldMigrateAnnotation* xds_annotations_v3_FieldMigrateAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_annotations_v3_FieldMigrateAnnotation* ret = xds_annotations_v3_FieldMigrateAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__FieldMigrateAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_annotations_v3_FieldMigrateAnnotation_serialize(const xds_annotations_v3_FieldMigrateAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__FieldMigrateAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_annotations_v3_FieldMigrateAnnotation_serialize_ex(const xds_annotations_v3_FieldMigrateAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__FieldMigrateAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_annotations_v3_FieldMigrateAnnotation_clear_rename(xds_annotations_v3_FieldMigrateAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView xds_annotations_v3_FieldMigrateAnnotation_rename(const xds_annotations_v3_FieldMigrateAnnotation* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_FieldMigrateAnnotation_clear_oneof_promotion(xds_annotations_v3_FieldMigrateAnnotation* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView xds_annotations_v3_FieldMigrateAnnotation_oneof_promotion(const xds_annotations_v3_FieldMigrateAnnotation* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_annotations_v3_FieldMigrateAnnotation_set_rename(xds_annotations_v3_FieldMigrateAnnotation *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void xds_annotations_v3_FieldMigrateAnnotation_set_oneof_promotion(xds_annotations_v3_FieldMigrateAnnotation *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* xds.annotations.v3.FileMigrateAnnotation */ + +UPB_INLINE xds_annotations_v3_FileMigrateAnnotation* xds_annotations_v3_FileMigrateAnnotation_new(upb_Arena* arena) { + return (xds_annotations_v3_FileMigrateAnnotation*)_upb_Message_New(&xds__annotations__v3__FileMigrateAnnotation_msg_init, arena); +} +UPB_INLINE xds_annotations_v3_FileMigrateAnnotation* xds_annotations_v3_FileMigrateAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_annotations_v3_FileMigrateAnnotation* ret = xds_annotations_v3_FileMigrateAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__FileMigrateAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_annotations_v3_FileMigrateAnnotation* xds_annotations_v3_FileMigrateAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_annotations_v3_FileMigrateAnnotation* ret = xds_annotations_v3_FileMigrateAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__FileMigrateAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_annotations_v3_FileMigrateAnnotation_serialize(const xds_annotations_v3_FileMigrateAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__FileMigrateAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_annotations_v3_FileMigrateAnnotation_serialize_ex(const xds_annotations_v3_FileMigrateAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__FileMigrateAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_annotations_v3_FileMigrateAnnotation_clear_move_to_package(xds_annotations_v3_FileMigrateAnnotation* msg) { + const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView xds_annotations_v3_FileMigrateAnnotation_move_to_package(const xds_annotations_v3_FileMigrateAnnotation* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_annotations_v3_FileMigrateAnnotation_set_move_to_package(xds_annotations_v3_FileMigrateAnnotation *msg, upb_StringView value) { + const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +UPB_INLINE bool xds_annotations_v3_has_message_migrate(const struct google_protobuf_MessageOptions* msg) { + return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_message_migrate_ext); +} +UPB_INLINE void xds_annotations_v3_clear_message_migrate(struct google_protobuf_MessageOptions* msg) { + _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_message_migrate_ext); +} +UPB_INLINE const xds_annotations_v3_MigrateAnnotation* xds_annotations_v3_message_migrate(const struct google_protobuf_MessageOptions* msg) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_message_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const xds_annotations_v3_MigrateAnnotation* default_val = NULL; + const xds_annotations_v3_MigrateAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_set_message_migrate(struct google_protobuf_MessageOptions* msg, const xds_annotations_v3_MigrateAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_message_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +UPB_INLINE bool xds_annotations_v3_has_field_migrate(const struct google_protobuf_FieldOptions* msg) { + return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_field_migrate_ext); +} +UPB_INLINE void xds_annotations_v3_clear_field_migrate(struct google_protobuf_FieldOptions* msg) { + _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_field_migrate_ext); +} +UPB_INLINE const xds_annotations_v3_FieldMigrateAnnotation* xds_annotations_v3_field_migrate(const struct google_protobuf_FieldOptions* msg) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_field_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const xds_annotations_v3_FieldMigrateAnnotation* default_val = NULL; + const xds_annotations_v3_FieldMigrateAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_set_field_migrate(struct google_protobuf_FieldOptions* msg, const xds_annotations_v3_FieldMigrateAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_field_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +UPB_INLINE bool xds_annotations_v3_has_enum_migrate(const struct google_protobuf_EnumOptions* msg) { + return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_enum_migrate_ext); +} +UPB_INLINE void xds_annotations_v3_clear_enum_migrate(struct google_protobuf_EnumOptions* msg) { + _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_enum_migrate_ext); +} +UPB_INLINE const xds_annotations_v3_MigrateAnnotation* xds_annotations_v3_enum_migrate(const struct google_protobuf_EnumOptions* msg) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_enum_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const xds_annotations_v3_MigrateAnnotation* default_val = NULL; + const xds_annotations_v3_MigrateAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_set_enum_migrate(struct google_protobuf_EnumOptions* msg, const xds_annotations_v3_MigrateAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_enum_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +UPB_INLINE bool xds_annotations_v3_has_enum_value_migrate(const struct google_protobuf_EnumValueOptions* msg) { + return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_enum_value_migrate_ext); +} +UPB_INLINE void xds_annotations_v3_clear_enum_value_migrate(struct google_protobuf_EnumValueOptions* msg) { + _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_enum_value_migrate_ext); +} +UPB_INLINE const xds_annotations_v3_MigrateAnnotation* xds_annotations_v3_enum_value_migrate(const struct google_protobuf_EnumValueOptions* msg) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_enum_value_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const xds_annotations_v3_MigrateAnnotation* default_val = NULL; + const xds_annotations_v3_MigrateAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_set_enum_value_migrate(struct google_protobuf_EnumValueOptions* msg, const xds_annotations_v3_MigrateAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_enum_value_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +UPB_INLINE bool xds_annotations_v3_has_file_migrate(const struct google_protobuf_FileOptions* msg) { + return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_file_migrate_ext); +} +UPB_INLINE void xds_annotations_v3_clear_file_migrate(struct google_protobuf_FileOptions* msg) { + _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_file_migrate_ext); +} +UPB_INLINE const xds_annotations_v3_FileMigrateAnnotation* xds_annotations_v3_file_migrate(const struct google_protobuf_FileOptions* msg) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_file_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const xds_annotations_v3_FileMigrateAnnotation* default_val = NULL; + const xds_annotations_v3_FileMigrateAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_set_file_migrate(struct google_protobuf_FileOptions* msg, const xds_annotations_v3_FileMigrateAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_file_migrate_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c b/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c new file mode 100644 index 00000000000..969728f5ffd --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c @@ -0,0 +1,118 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/migrate.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/annotations/v3/migrate.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField xds_annotations_v3_MigrateAnnotation__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__annotations__v3__MigrateAnnotation_msg_init = { + NULL, + &xds_annotations_v3_MigrateAnnotation__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTableField xds_annotations_v3_FieldMigrateAnnotation__fields[2] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__annotations__v3__FieldMigrateAnnotation_msg_init = { + NULL, + &xds_annotations_v3_FieldMigrateAnnotation__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField xds_annotations_v3_FileMigrateAnnotation__fields[1] = { + {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__annotations__v3__FileMigrateAnnotation_msg_init = { + NULL, + &xds_annotations_v3_FileMigrateAnnotation__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[3] = { + &xds__annotations__v3__MigrateAnnotation_msg_init, + &xds__annotations__v3__FieldMigrateAnnotation_msg_init, + &xds__annotations__v3__FileMigrateAnnotation_msg_init, +}; + +const upb_MiniTableExtension xds_annotations_v3_message_migrate_ext = { + {112948430, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__MessageOptions_msg_init, + {.submsg = &xds__annotations__v3__MigrateAnnotation_msg_init}, + +}; +const upb_MiniTableExtension xds_annotations_v3_field_migrate_ext = { + {112948430, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__FieldOptions_msg_init, + {.submsg = &xds__annotations__v3__FieldMigrateAnnotation_msg_init}, + +}; +const upb_MiniTableExtension xds_annotations_v3_enum_migrate_ext = { + {112948430, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__EnumOptions_msg_init, + {.submsg = &xds__annotations__v3__MigrateAnnotation_msg_init}, + +}; +const upb_MiniTableExtension xds_annotations_v3_enum_value_migrate_ext = { + {112948430, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__EnumValueOptions_msg_init, + {.submsg = &xds__annotations__v3__MigrateAnnotation_msg_init}, + +}; +const upb_MiniTableExtension xds_annotations_v3_file_migrate_ext = { + {112948430, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__FileOptions_msg_init, + {.submsg = &xds__annotations__v3__FileMigrateAnnotation_msg_init}, + +}; + +static const upb_MiniTableExtension *extensions_layout[5] = { + &xds_annotations_v3_message_migrate_ext, + &xds_annotations_v3_field_migrate_ext, + &xds_annotations_v3_enum_migrate_ext, + &xds_annotations_v3_enum_value_migrate_ext, + &xds_annotations_v3_file_migrate_ext, +}; + +const upb_MiniTableFile xds_annotations_v3_migrate_proto_upb_file_layout = { + messages_layout, + NULL, + extensions_layout, + 3, + 0, + 5, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h b/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h new file mode 100644 index 00000000000..58a07e59256 --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h @@ -0,0 +1,37 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/migrate.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPB_MINITABLE_H_ +#define XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__annotations__v3__MigrateAnnotation_msg_init; +extern const upb_MiniTable xds__annotations__v3__FieldMigrateAnnotation_msg_init; +extern const upb_MiniTable xds__annotations__v3__FileMigrateAnnotation_msg_init; +extern const upb_MiniTableExtension xds_annotations_v3_message_migrate_ext; +extern const upb_MiniTableExtension xds_annotations_v3_field_migrate_ext; +extern const upb_MiniTableExtension xds_annotations_v3_enum_migrate_ext; +extern const upb_MiniTableExtension xds_annotations_v3_enum_value_migrate_ext; +extern const upb_MiniTableExtension xds_annotations_v3_file_migrate_ext; + +extern const upb_MiniTableFile xds_annotations_v3_migrate_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h b/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h new file mode 100644 index 00000000000..3c7ab0b5678 --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h @@ -0,0 +1,125 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/security.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPB_H_ +#define XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/annotations/v3/security.upb_minitable.h" + +#include "xds/annotations/v3/status.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_annotations_v3_FieldSecurityAnnotation xds_annotations_v3_FieldSecurityAnnotation; +struct google_protobuf_FieldOptions; + + + +/* xds.annotations.v3.FieldSecurityAnnotation */ + +UPB_INLINE xds_annotations_v3_FieldSecurityAnnotation* xds_annotations_v3_FieldSecurityAnnotation_new(upb_Arena* arena) { + return (xds_annotations_v3_FieldSecurityAnnotation*)_upb_Message_New(&xds__annotations__v3__FieldSecurityAnnotation_msg_init, arena); +} +UPB_INLINE xds_annotations_v3_FieldSecurityAnnotation* xds_annotations_v3_FieldSecurityAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_annotations_v3_FieldSecurityAnnotation* ret = xds_annotations_v3_FieldSecurityAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__FieldSecurityAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_annotations_v3_FieldSecurityAnnotation* xds_annotations_v3_FieldSecurityAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_annotations_v3_FieldSecurityAnnotation* ret = xds_annotations_v3_FieldSecurityAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__FieldSecurityAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_annotations_v3_FieldSecurityAnnotation_serialize(const xds_annotations_v3_FieldSecurityAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__FieldSecurityAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_annotations_v3_FieldSecurityAnnotation_serialize_ex(const xds_annotations_v3_FieldSecurityAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__FieldSecurityAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_annotations_v3_FieldSecurityAnnotation_clear_configure_for_untrusted_downstream(xds_annotations_v3_FieldSecurityAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool xds_annotations_v3_FieldSecurityAnnotation_configure_for_untrusted_downstream(const xds_annotations_v3_FieldSecurityAnnotation* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_FieldSecurityAnnotation_clear_configure_for_untrusted_upstream(xds_annotations_v3_FieldSecurityAnnotation* msg) { + const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool xds_annotations_v3_FieldSecurityAnnotation_configure_for_untrusted_upstream(const xds_annotations_v3_FieldSecurityAnnotation* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_annotations_v3_FieldSecurityAnnotation_set_configure_for_untrusted_downstream(xds_annotations_v3_FieldSecurityAnnotation *msg, bool value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void xds_annotations_v3_FieldSecurityAnnotation_set_configure_for_untrusted_upstream(xds_annotations_v3_FieldSecurityAnnotation *msg, bool value) { + const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +UPB_INLINE bool xds_annotations_v3_has_security(const struct google_protobuf_FieldOptions* msg) { + return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_security_ext); +} +UPB_INLINE void xds_annotations_v3_clear_security(struct google_protobuf_FieldOptions* msg) { + _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_security_ext); +} +UPB_INLINE const xds_annotations_v3_FieldSecurityAnnotation* xds_annotations_v3_security(const struct google_protobuf_FieldOptions* msg) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_security_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const xds_annotations_v3_FieldSecurityAnnotation* default_val = NULL; + const xds_annotations_v3_FieldSecurityAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_set_security(struct google_protobuf_FieldOptions* msg, const xds_annotations_v3_FieldSecurityAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_security_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c b/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c new file mode 100644 index 00000000000..1f72822b383 --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c @@ -0,0 +1,59 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/security.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/annotations/v3/security.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField xds_annotations_v3_FieldSecurityAnnotation__fields[2] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__annotations__v3__FieldSecurityAnnotation_msg_init = { + NULL, + &xds_annotations_v3_FieldSecurityAnnotation__fields[0], + 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + {0x000100003f000010, &upb_psb1_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &xds__annotations__v3__FieldSecurityAnnotation_msg_init, +}; + +const upb_MiniTableExtension xds_annotations_v3_security_ext = { + {99044135, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__FieldOptions_msg_init, + {.submsg = &xds__annotations__v3__FieldSecurityAnnotation_msg_init}, + +}; + +static const upb_MiniTableExtension *extensions_layout[1] = { + &xds_annotations_v3_security_ext, +}; + +const upb_MiniTableFile xds_annotations_v3_security_proto_upb_file_layout = { + messages_layout, + NULL, + extensions_layout, + 1, + 0, + 1, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h b/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h new file mode 100644 index 00000000000..29051672adf --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/security.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPB_MINITABLE_H_ +#define XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__annotations__v3__FieldSecurityAnnotation_msg_init; +extern const upb_MiniTableExtension xds_annotations_v3_security_ext; + +extern const upb_MiniTableFile xds_annotations_v3_security_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h b/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h new file mode 100644 index 00000000000..b5359f6f35f --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h @@ -0,0 +1,55 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/sensitive.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_H_ +#define XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/annotations/v3/sensitive.upb_minitable.h" + +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +struct google_protobuf_FieldOptions; + + +UPB_INLINE bool xds_annotations_v3_has_sensitive(const struct google_protobuf_FieldOptions* msg) { + return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_sensitive_ext); +} +UPB_INLINE void xds_annotations_v3_clear_sensitive(struct google_protobuf_FieldOptions* msg) { + _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_sensitive_ext); +} +UPB_INLINE bool xds_annotations_v3_sensitive(const struct google_protobuf_FieldOptions* msg) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_sensitive_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_1Byte); + bool default_val = false; + bool ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_set_sensitive(struct google_protobuf_FieldOptions* msg, bool val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_sensitive_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_1Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c b/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c new file mode 100644 index 00000000000..1b692ae665c --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c @@ -0,0 +1,37 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/sensitive.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/annotations/v3/sensitive.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +const upb_MiniTableExtension xds_annotations_v3_sensitive_ext = { + {61008053, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__FieldOptions_msg_init, + {.submsg = NULL}, + +}; + +static const upb_MiniTableExtension *extensions_layout[1] = { + &xds_annotations_v3_sensitive_ext, +}; + +const upb_MiniTableFile xds_annotations_v3_sensitive_proto_upb_file_layout = { + NULL, + NULL, + extensions_layout, + 0, + 0, + 1, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h b/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h new file mode 100644 index 00000000000..1123f0ecf5f --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/sensitive.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_MINITABLE_H_ +#define XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTableExtension xds_annotations_v3_sensitive_ext; + +extern const upb_MiniTableFile xds_annotations_v3_sensitive_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h b/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h new file mode 100644 index 00000000000..4761ee1b75b --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h @@ -0,0 +1,336 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_STATUS_PROTO_UPB_H_ +#define XDS_ANNOTATIONS_V3_STATUS_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/annotations/v3/status.upb_minitable.h" + +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_annotations_v3_FileStatusAnnotation xds_annotations_v3_FileStatusAnnotation; +typedef struct xds_annotations_v3_MessageStatusAnnotation xds_annotations_v3_MessageStatusAnnotation; +typedef struct xds_annotations_v3_FieldStatusAnnotation xds_annotations_v3_FieldStatusAnnotation; +typedef struct xds_annotations_v3_StatusAnnotation xds_annotations_v3_StatusAnnotation; +struct google_protobuf_FieldOptions; +struct google_protobuf_FileOptions; +struct google_protobuf_MessageOptions; + +typedef enum { + xds_annotations_v3_UNKNOWN = 0, + xds_annotations_v3_FROZEN = 1, + xds_annotations_v3_ACTIVE = 2, + xds_annotations_v3_NEXT_MAJOR_VERSION_CANDIDATE = 3 +} xds_annotations_v3_PackageVersionStatus; + + + +/* xds.annotations.v3.FileStatusAnnotation */ + +UPB_INLINE xds_annotations_v3_FileStatusAnnotation* xds_annotations_v3_FileStatusAnnotation_new(upb_Arena* arena) { + return (xds_annotations_v3_FileStatusAnnotation*)_upb_Message_New(&xds__annotations__v3__FileStatusAnnotation_msg_init, arena); +} +UPB_INLINE xds_annotations_v3_FileStatusAnnotation* xds_annotations_v3_FileStatusAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_annotations_v3_FileStatusAnnotation* ret = xds_annotations_v3_FileStatusAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__FileStatusAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_annotations_v3_FileStatusAnnotation* xds_annotations_v3_FileStatusAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_annotations_v3_FileStatusAnnotation* ret = xds_annotations_v3_FileStatusAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__FileStatusAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_annotations_v3_FileStatusAnnotation_serialize(const xds_annotations_v3_FileStatusAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__FileStatusAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_annotations_v3_FileStatusAnnotation_serialize_ex(const xds_annotations_v3_FileStatusAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__FileStatusAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_annotations_v3_FileStatusAnnotation_clear_work_in_progress(xds_annotations_v3_FileStatusAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool xds_annotations_v3_FileStatusAnnotation_work_in_progress(const xds_annotations_v3_FileStatusAnnotation* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_annotations_v3_FileStatusAnnotation_set_work_in_progress(xds_annotations_v3_FileStatusAnnotation *msg, bool value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* xds.annotations.v3.MessageStatusAnnotation */ + +UPB_INLINE xds_annotations_v3_MessageStatusAnnotation* xds_annotations_v3_MessageStatusAnnotation_new(upb_Arena* arena) { + return (xds_annotations_v3_MessageStatusAnnotation*)_upb_Message_New(&xds__annotations__v3__MessageStatusAnnotation_msg_init, arena); +} +UPB_INLINE xds_annotations_v3_MessageStatusAnnotation* xds_annotations_v3_MessageStatusAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_annotations_v3_MessageStatusAnnotation* ret = xds_annotations_v3_MessageStatusAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__MessageStatusAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_annotations_v3_MessageStatusAnnotation* xds_annotations_v3_MessageStatusAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_annotations_v3_MessageStatusAnnotation* ret = xds_annotations_v3_MessageStatusAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__MessageStatusAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_annotations_v3_MessageStatusAnnotation_serialize(const xds_annotations_v3_MessageStatusAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__MessageStatusAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_annotations_v3_MessageStatusAnnotation_serialize_ex(const xds_annotations_v3_MessageStatusAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__MessageStatusAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_annotations_v3_MessageStatusAnnotation_clear_work_in_progress(xds_annotations_v3_MessageStatusAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool xds_annotations_v3_MessageStatusAnnotation_work_in_progress(const xds_annotations_v3_MessageStatusAnnotation* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_annotations_v3_MessageStatusAnnotation_set_work_in_progress(xds_annotations_v3_MessageStatusAnnotation *msg, bool value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* xds.annotations.v3.FieldStatusAnnotation */ + +UPB_INLINE xds_annotations_v3_FieldStatusAnnotation* xds_annotations_v3_FieldStatusAnnotation_new(upb_Arena* arena) { + return (xds_annotations_v3_FieldStatusAnnotation*)_upb_Message_New(&xds__annotations__v3__FieldStatusAnnotation_msg_init, arena); +} +UPB_INLINE xds_annotations_v3_FieldStatusAnnotation* xds_annotations_v3_FieldStatusAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_annotations_v3_FieldStatusAnnotation* ret = xds_annotations_v3_FieldStatusAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__FieldStatusAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_annotations_v3_FieldStatusAnnotation* xds_annotations_v3_FieldStatusAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_annotations_v3_FieldStatusAnnotation* ret = xds_annotations_v3_FieldStatusAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__FieldStatusAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_annotations_v3_FieldStatusAnnotation_serialize(const xds_annotations_v3_FieldStatusAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__FieldStatusAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_annotations_v3_FieldStatusAnnotation_serialize_ex(const xds_annotations_v3_FieldStatusAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__FieldStatusAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_annotations_v3_FieldStatusAnnotation_clear_work_in_progress(xds_annotations_v3_FieldStatusAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool xds_annotations_v3_FieldStatusAnnotation_work_in_progress(const xds_annotations_v3_FieldStatusAnnotation* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_annotations_v3_FieldStatusAnnotation_set_work_in_progress(xds_annotations_v3_FieldStatusAnnotation *msg, bool value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* xds.annotations.v3.StatusAnnotation */ + +UPB_INLINE xds_annotations_v3_StatusAnnotation* xds_annotations_v3_StatusAnnotation_new(upb_Arena* arena) { + return (xds_annotations_v3_StatusAnnotation*)_upb_Message_New(&xds__annotations__v3__StatusAnnotation_msg_init, arena); +} +UPB_INLINE xds_annotations_v3_StatusAnnotation* xds_annotations_v3_StatusAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_annotations_v3_StatusAnnotation* ret = xds_annotations_v3_StatusAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__StatusAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_annotations_v3_StatusAnnotation* xds_annotations_v3_StatusAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_annotations_v3_StatusAnnotation* ret = xds_annotations_v3_StatusAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__StatusAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_annotations_v3_StatusAnnotation_serialize(const xds_annotations_v3_StatusAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__StatusAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_annotations_v3_StatusAnnotation_serialize_ex(const xds_annotations_v3_StatusAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__StatusAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_annotations_v3_StatusAnnotation_clear_work_in_progress(xds_annotations_v3_StatusAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool xds_annotations_v3_StatusAnnotation_work_in_progress(const xds_annotations_v3_StatusAnnotation* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_StatusAnnotation_clear_package_version_status(xds_annotations_v3_StatusAnnotation* msg) { + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t xds_annotations_v3_StatusAnnotation_package_version_status(const xds_annotations_v3_StatusAnnotation* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_annotations_v3_StatusAnnotation_set_work_in_progress(xds_annotations_v3_StatusAnnotation *msg, bool value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void xds_annotations_v3_StatusAnnotation_set_package_version_status(xds_annotations_v3_StatusAnnotation *msg, int32_t value) { + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +UPB_INLINE bool xds_annotations_v3_has_file_status(const struct google_protobuf_FileOptions* msg) { + return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_file_status_ext); +} +UPB_INLINE void xds_annotations_v3_clear_file_status(struct google_protobuf_FileOptions* msg) { + _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_file_status_ext); +} +UPB_INLINE const xds_annotations_v3_FileStatusAnnotation* xds_annotations_v3_file_status(const struct google_protobuf_FileOptions* msg) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_file_status_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const xds_annotations_v3_FileStatusAnnotation* default_val = NULL; + const xds_annotations_v3_FileStatusAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_set_file_status(struct google_protobuf_FileOptions* msg, const xds_annotations_v3_FileStatusAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_file_status_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +UPB_INLINE bool xds_annotations_v3_has_message_status(const struct google_protobuf_MessageOptions* msg) { + return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_message_status_ext); +} +UPB_INLINE void xds_annotations_v3_clear_message_status(struct google_protobuf_MessageOptions* msg) { + _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_message_status_ext); +} +UPB_INLINE const xds_annotations_v3_MessageStatusAnnotation* xds_annotations_v3_message_status(const struct google_protobuf_MessageOptions* msg) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_message_status_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const xds_annotations_v3_MessageStatusAnnotation* default_val = NULL; + const xds_annotations_v3_MessageStatusAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_set_message_status(struct google_protobuf_MessageOptions* msg, const xds_annotations_v3_MessageStatusAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_message_status_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +UPB_INLINE bool xds_annotations_v3_has_field_status(const struct google_protobuf_FieldOptions* msg) { + return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_field_status_ext); +} +UPB_INLINE void xds_annotations_v3_clear_field_status(struct google_protobuf_FieldOptions* msg) { + _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_field_status_ext); +} +UPB_INLINE const xds_annotations_v3_FieldStatusAnnotation* xds_annotations_v3_field_status(const struct google_protobuf_FieldOptions* msg) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_field_status_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const xds_annotations_v3_FieldStatusAnnotation* default_val = NULL; + const xds_annotations_v3_FieldStatusAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_set_field_status(struct google_protobuf_FieldOptions* msg, const xds_annotations_v3_FieldStatusAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_field_status_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_STATUS_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c b/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c new file mode 100644 index 00000000000..aa0c15acc15 --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c @@ -0,0 +1,117 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField xds_annotations_v3_FileStatusAnnotation__fields[1] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__annotations__v3__FileStatusAnnotation_msg_init = { + NULL, + &xds_annotations_v3_FileStatusAnnotation__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableField xds_annotations_v3_MessageStatusAnnotation__fields[1] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__annotations__v3__MessageStatusAnnotation_msg_init = { + NULL, + &xds_annotations_v3_MessageStatusAnnotation__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableField xds_annotations_v3_FieldStatusAnnotation__fields[1] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__annotations__v3__FieldStatusAnnotation_msg_init = { + NULL, + &xds_annotations_v3_FieldStatusAnnotation__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTableField xds_annotations_v3_StatusAnnotation__fields[2] = { + {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__annotations__v3__StatusAnnotation_msg_init = { + NULL, + &xds_annotations_v3_StatusAnnotation__fields[0], + 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psb1_1bt}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[4] = { + &xds__annotations__v3__FileStatusAnnotation_msg_init, + &xds__annotations__v3__MessageStatusAnnotation_msg_init, + &xds__annotations__v3__FieldStatusAnnotation_msg_init, + &xds__annotations__v3__StatusAnnotation_msg_init, +}; + +const upb_MiniTableExtension xds_annotations_v3_file_status_ext = { + {226829418, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__FileOptions_msg_init, + {.submsg = &xds__annotations__v3__FileStatusAnnotation_msg_init}, + +}; +const upb_MiniTableExtension xds_annotations_v3_message_status_ext = { + {226829418, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__MessageOptions_msg_init, + {.submsg = &xds__annotations__v3__MessageStatusAnnotation_msg_init}, + +}; +const upb_MiniTableExtension xds_annotations_v3_field_status_ext = { + {226829418, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__FieldOptions_msg_init, + {.submsg = &xds__annotations__v3__FieldStatusAnnotation_msg_init}, + +}; + +static const upb_MiniTableExtension *extensions_layout[3] = { + &xds_annotations_v3_file_status_ext, + &xds_annotations_v3_message_status_ext, + &xds_annotations_v3_field_status_ext, +}; + +const upb_MiniTableFile xds_annotations_v3_status_proto_upb_file_layout = { + messages_layout, + NULL, + extensions_layout, + 4, + 0, + 3, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h b/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h new file mode 100644 index 00000000000..a70db6f8f2e --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h @@ -0,0 +1,36 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_STATUS_PROTO_UPB_MINITABLE_H_ +#define XDS_ANNOTATIONS_V3_STATUS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__annotations__v3__FileStatusAnnotation_msg_init; +extern const upb_MiniTable xds__annotations__v3__MessageStatusAnnotation_msg_init; +extern const upb_MiniTable xds__annotations__v3__FieldStatusAnnotation_msg_init; +extern const upb_MiniTable xds__annotations__v3__StatusAnnotation_msg_init; +extern const upb_MiniTableExtension xds_annotations_v3_file_status_ext; +extern const upb_MiniTableExtension xds_annotations_v3_message_status_ext; +extern const upb_MiniTableExtension xds_annotations_v3_field_status_ext; + +extern const upb_MiniTableFile xds_annotations_v3_status_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_STATUS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h b/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h new file mode 100644 index 00000000000..a4f2c9b45d4 --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h @@ -0,0 +1,109 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/versioning.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPB_H_ +#define XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/annotations/v3/versioning.upb_minitable.h" + +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_annotations_v3_VersioningAnnotation xds_annotations_v3_VersioningAnnotation; +struct google_protobuf_MessageOptions; + + + +/* xds.annotations.v3.VersioningAnnotation */ + +UPB_INLINE xds_annotations_v3_VersioningAnnotation* xds_annotations_v3_VersioningAnnotation_new(upb_Arena* arena) { + return (xds_annotations_v3_VersioningAnnotation*)_upb_Message_New(&xds__annotations__v3__VersioningAnnotation_msg_init, arena); +} +UPB_INLINE xds_annotations_v3_VersioningAnnotation* xds_annotations_v3_VersioningAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_annotations_v3_VersioningAnnotation* ret = xds_annotations_v3_VersioningAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__VersioningAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_annotations_v3_VersioningAnnotation* xds_annotations_v3_VersioningAnnotation_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_annotations_v3_VersioningAnnotation* ret = xds_annotations_v3_VersioningAnnotation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__annotations__v3__VersioningAnnotation_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_annotations_v3_VersioningAnnotation_serialize(const xds_annotations_v3_VersioningAnnotation* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__VersioningAnnotation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_annotations_v3_VersioningAnnotation_serialize_ex(const xds_annotations_v3_VersioningAnnotation* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__annotations__v3__VersioningAnnotation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_annotations_v3_VersioningAnnotation_clear_previous_message_type(xds_annotations_v3_VersioningAnnotation* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView xds_annotations_v3_VersioningAnnotation_previous_message_type(const xds_annotations_v3_VersioningAnnotation* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_annotations_v3_VersioningAnnotation_set_previous_message_type(xds_annotations_v3_VersioningAnnotation *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +UPB_INLINE bool xds_annotations_v3_has_versioning(const struct google_protobuf_MessageOptions* msg) { + return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_versioning_ext); +} +UPB_INLINE void xds_annotations_v3_clear_versioning(struct google_protobuf_MessageOptions* msg) { + _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_versioning_ext); +} +UPB_INLINE const xds_annotations_v3_VersioningAnnotation* xds_annotations_v3_versioning(const struct google_protobuf_MessageOptions* msg) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_versioning_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + const xds_annotations_v3_VersioningAnnotation* default_val = NULL; + const xds_annotations_v3_VersioningAnnotation* ret; + _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_annotations_v3_set_versioning(struct google_protobuf_MessageOptions* msg, const xds_annotations_v3_VersioningAnnotation* val, upb_Arena* arena) { + const upb_MiniTableExtension* ext = &xds_annotations_v3_versioning_ext; + UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); + UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); + bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); + UPB_ASSERT(ok); +} +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c b/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c new file mode 100644 index 00000000000..dba740bd7b6 --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c @@ -0,0 +1,55 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/versioning.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/annotations/v3/versioning.upb_minitable.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField xds_annotations_v3_VersioningAnnotation__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__annotations__v3__VersioningAnnotation_msg_init = { + NULL, + &xds_annotations_v3_VersioningAnnotation__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &xds__annotations__v3__VersioningAnnotation_msg_init, +}; + +const upb_MiniTableExtension xds_annotations_v3_versioning_ext = { + {92389011, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + &google__protobuf__MessageOptions_msg_init, + {.submsg = &xds__annotations__v3__VersioningAnnotation_msg_init}, + +}; + +static const upb_MiniTableExtension *extensions_layout[1] = { + &xds_annotations_v3_versioning_ext, +}; + +const upb_MiniTableFile xds_annotations_v3_versioning_proto_upb_file_layout = { + messages_layout, + NULL, + extensions_layout, + 1, + 0, + 1, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h b/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h new file mode 100644 index 00000000000..47a42b3c273 --- /dev/null +++ b/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/versioning.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPB_MINITABLE_H_ +#define XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__annotations__v3__VersioningAnnotation_msg_init; +extern const upb_MiniTableExtension xds_annotations_v3_versioning_ext; + +extern const upb_MiniTableFile xds_annotations_v3_versioning_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/xds/core/v3/authority.upb.h b/src/core/ext/upb-gen/xds/core/v3/authority.upb.h similarity index 78% rename from src/core/ext/upb-generated/xds/core/v3/authority.upb.h rename to src/core/ext/upb-gen/xds/core/v3/authority.upb.h index ece8e9d80f1..8f931b92368 100644 --- a/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +++ b/src/core/ext/upb-gen/xds/core/v3/authority.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/authority.proto * @@ -10,7 +9,13 @@ #define XDS_CORE_V3_AUTHORITY_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "xds/core/v3/authority.upb_minitable.h" + +#include "xds/annotations/v3/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,19 +23,18 @@ extern "C" { #endif typedef struct xds_core_v3_Authority xds_core_v3_Authority; -extern const upb_MiniTable xds_core_v3_Authority_msg_init; /* xds.core.v3.Authority */ UPB_INLINE xds_core_v3_Authority* xds_core_v3_Authority_new(upb_Arena* arena) { - return (xds_core_v3_Authority*)_upb_Message_New(&xds_core_v3_Authority_msg_init, arena); + return (xds_core_v3_Authority*)_upb_Message_New(&xds__core__v3__Authority_msg_init, arena); } UPB_INLINE xds_core_v3_Authority* xds_core_v3_Authority_parse(const char* buf, size_t size, upb_Arena* arena) { xds_core_v3_Authority* ret = xds_core_v3_Authority_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_Authority_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__core__v3__Authority_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -40,7 +44,7 @@ UPB_INLINE xds_core_v3_Authority* xds_core_v3_Authority_parse_ex(const char* buf int options, upb_Arena* arena) { xds_core_v3_Authority* ret = xds_core_v3_Authority_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_Authority_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__core__v3__Authority_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -48,13 +52,13 @@ UPB_INLINE xds_core_v3_Authority* xds_core_v3_Authority_parse_ex(const char* buf } UPB_INLINE char* xds_core_v3_Authority_serialize(const xds_core_v3_Authority* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_Authority_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__Authority_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_core_v3_Authority_serialize_ex(const xds_core_v3_Authority* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_Authority_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__Authority_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void xds_core_v3_Authority_clear_name(xds_core_v3_Authority* msg) { @@ -74,8 +78,6 @@ UPB_INLINE void xds_core_v3_Authority_set_name(xds_core_v3_Authority *msg, upb_S _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile xds_core_v3_authority_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c b/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c new file mode 100644 index 00000000000..bfcc49263ed --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c @@ -0,0 +1,45 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/authority.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/core/v3/authority.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField xds_core_v3_Authority__fields[1] = { + {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__core__v3__Authority_msg_init = { + NULL, + &xds_core_v3_Authority__fields[0], + UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_pss_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &xds__core__v3__Authority_msg_init, +}; + +const upb_MiniTableFile xds_core_v3_authority_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h b/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h new file mode 100644 index 00000000000..b8607ef593b --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/authority.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_CORE_V3_AUTHORITY_PROTO_UPB_MINITABLE_H_ +#define XDS_CORE_V3_AUTHORITY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__core__v3__Authority_msg_init; + +extern const upb_MiniTableFile xds_core_v3_authority_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_CORE_V3_AUTHORITY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h b/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h similarity index 85% rename from src/core/ext/upb-generated/xds/core/v3/cidr.upb.h rename to src/core/ext/upb-gen/xds/core/v3/cidr.upb.h index 57dc04972e5..a502dde0b7a 100644 --- a/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +++ b/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/cidr.proto * @@ -10,7 +9,14 @@ #define XDS_CORE_V3_CIDR_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "xds/core/v3/cidr.upb_minitable.h" + +#include "xds/annotations/v3/status.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +24,19 @@ extern "C" { #endif typedef struct xds_core_v3_CidrRange xds_core_v3_CidrRange; -extern const upb_MiniTable xds_core_v3_CidrRange_msg_init; struct google_protobuf_UInt32Value; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; /* xds.core.v3.CidrRange */ UPB_INLINE xds_core_v3_CidrRange* xds_core_v3_CidrRange_new(upb_Arena* arena) { - return (xds_core_v3_CidrRange*)_upb_Message_New(&xds_core_v3_CidrRange_msg_init, arena); + return (xds_core_v3_CidrRange*)_upb_Message_New(&xds__core__v3__CidrRange_msg_init, arena); } UPB_INLINE xds_core_v3_CidrRange* xds_core_v3_CidrRange_parse(const char* buf, size_t size, upb_Arena* arena) { xds_core_v3_CidrRange* ret = xds_core_v3_CidrRange_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_CidrRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__core__v3__CidrRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +46,7 @@ UPB_INLINE xds_core_v3_CidrRange* xds_core_v3_CidrRange_parse_ex(const char* buf int options, upb_Arena* arena) { xds_core_v3_CidrRange* ret = xds_core_v3_CidrRange_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_CidrRange_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__core__v3__CidrRange_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +54,13 @@ UPB_INLINE xds_core_v3_CidrRange* xds_core_v3_CidrRange_parse_ex(const char* buf } UPB_INLINE char* xds_core_v3_CidrRange_serialize(const xds_core_v3_CidrRange* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_CidrRange_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__CidrRange_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_core_v3_CidrRange_serialize_ex(const xds_core_v3_CidrRange* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_CidrRange_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__CidrRange_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void xds_core_v3_CidrRange_clear_address_prefix(xds_core_v3_CidrRange* msg) { @@ -97,14 +101,12 @@ UPB_INLINE void xds_core_v3_CidrRange_set_prefix_len(xds_core_v3_CidrRange *msg, UPB_INLINE struct google_protobuf_UInt32Value* xds_core_v3_CidrRange_mutable_prefix_len(xds_core_v3_CidrRange* msg, upb_Arena* arena) { struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)xds_core_v3_CidrRange_prefix_len(msg); if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); + sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google__protobuf__UInt32Value_msg_init, arena); if (sub) xds_core_v3_CidrRange_set_prefix_len(msg, sub); } return sub; } -extern const upb_MiniTableFile xds_core_v3_cidr_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c b/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c new file mode 100644 index 00000000000..a2fbd4ebac4 --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c @@ -0,0 +1,53 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/cidr.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/core/v3/cidr.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_core_v3_CidrRange_submsgs[1] = { + {.submsg = &google__protobuf__UInt32Value_msg_init}, +}; + +static const upb_MiniTableField xds_core_v3_CidrRange__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__core__v3__CidrRange_msg_init = { + &xds_core_v3_CidrRange_submsgs[0], + &xds_core_v3_CidrRange__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &xds__core__v3__CidrRange_msg_init, +}; + +const upb_MiniTableFile xds_core_v3_cidr_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h b/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h new file mode 100644 index 00000000000..c70599c9923 --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/cidr.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_CORE_V3_CIDR_PROTO_UPB_MINITABLE_H_ +#define XDS_CORE_V3_CIDR_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__core__v3__CidrRange_msg_init; + +extern const upb_MiniTableFile xds_core_v3_cidr_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_CORE_V3_CIDR_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h b/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h similarity index 88% rename from src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h rename to src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h index 54866ba50de..98a24dfa876 100644 --- a/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +++ b/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/collection_entry.proto * @@ -10,7 +9,15 @@ #define XDS_CORE_V3_COLLECTION_ENTRY_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "xds/core/v3/collection_entry.upb_minitable.h" + +#include "google/protobuf/any.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/resource_locator.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,24 +26,20 @@ extern "C" { typedef struct xds_core_v3_CollectionEntry xds_core_v3_CollectionEntry; typedef struct xds_core_v3_CollectionEntry_InlineEntry xds_core_v3_CollectionEntry_InlineEntry; -extern const upb_MiniTable xds_core_v3_CollectionEntry_msg_init; -extern const upb_MiniTable xds_core_v3_CollectionEntry_InlineEntry_msg_init; struct google_protobuf_Any; struct xds_core_v3_ResourceLocator; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable xds_core_v3_ResourceLocator_msg_init; /* xds.core.v3.CollectionEntry */ UPB_INLINE xds_core_v3_CollectionEntry* xds_core_v3_CollectionEntry_new(upb_Arena* arena) { - return (xds_core_v3_CollectionEntry*)_upb_Message_New(&xds_core_v3_CollectionEntry_msg_init, arena); + return (xds_core_v3_CollectionEntry*)_upb_Message_New(&xds__core__v3__CollectionEntry_msg_init, arena); } UPB_INLINE xds_core_v3_CollectionEntry* xds_core_v3_CollectionEntry_parse(const char* buf, size_t size, upb_Arena* arena) { xds_core_v3_CollectionEntry* ret = xds_core_v3_CollectionEntry_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_CollectionEntry_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__core__v3__CollectionEntry_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -46,7 +49,7 @@ UPB_INLINE xds_core_v3_CollectionEntry* xds_core_v3_CollectionEntry_parse_ex(con int options, upb_Arena* arena) { xds_core_v3_CollectionEntry* ret = xds_core_v3_CollectionEntry_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_CollectionEntry_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__core__v3__CollectionEntry_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -54,13 +57,13 @@ UPB_INLINE xds_core_v3_CollectionEntry* xds_core_v3_CollectionEntry_parse_ex(con } UPB_INLINE char* xds_core_v3_CollectionEntry_serialize(const xds_core_v3_CollectionEntry* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_CollectionEntry_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__CollectionEntry_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_core_v3_CollectionEntry_serialize_ex(const xds_core_v3_CollectionEntry* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_CollectionEntry_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__CollectionEntry_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -110,7 +113,7 @@ UPB_INLINE void xds_core_v3_CollectionEntry_set_locator(xds_core_v3_CollectionEn UPB_INLINE struct xds_core_v3_ResourceLocator* xds_core_v3_CollectionEntry_mutable_locator(xds_core_v3_CollectionEntry* msg, upb_Arena* arena) { struct xds_core_v3_ResourceLocator* sub = (struct xds_core_v3_ResourceLocator*)xds_core_v3_CollectionEntry_locator(msg); if (sub == NULL) { - sub = (struct xds_core_v3_ResourceLocator*)_upb_Message_New(&xds_core_v3_ResourceLocator_msg_init, arena); + sub = (struct xds_core_v3_ResourceLocator*)_upb_Message_New(&xds__core__v3__ResourceLocator_msg_init, arena); if (sub) xds_core_v3_CollectionEntry_set_locator(msg, sub); } return sub; @@ -122,7 +125,7 @@ UPB_INLINE void xds_core_v3_CollectionEntry_set_inline_entry(xds_core_v3_Collect UPB_INLINE struct xds_core_v3_CollectionEntry_InlineEntry* xds_core_v3_CollectionEntry_mutable_inline_entry(xds_core_v3_CollectionEntry* msg, upb_Arena* arena) { struct xds_core_v3_CollectionEntry_InlineEntry* sub = (struct xds_core_v3_CollectionEntry_InlineEntry*)xds_core_v3_CollectionEntry_inline_entry(msg); if (sub == NULL) { - sub = (struct xds_core_v3_CollectionEntry_InlineEntry*)_upb_Message_New(&xds_core_v3_CollectionEntry_InlineEntry_msg_init, arena); + sub = (struct xds_core_v3_CollectionEntry_InlineEntry*)_upb_Message_New(&xds__core__v3__CollectionEntry__InlineEntry_msg_init, arena); if (sub) xds_core_v3_CollectionEntry_set_inline_entry(msg, sub); } return sub; @@ -131,12 +134,12 @@ UPB_INLINE struct xds_core_v3_CollectionEntry_InlineEntry* xds_core_v3_Collectio /* xds.core.v3.CollectionEntry.InlineEntry */ UPB_INLINE xds_core_v3_CollectionEntry_InlineEntry* xds_core_v3_CollectionEntry_InlineEntry_new(upb_Arena* arena) { - return (xds_core_v3_CollectionEntry_InlineEntry*)_upb_Message_New(&xds_core_v3_CollectionEntry_InlineEntry_msg_init, arena); + return (xds_core_v3_CollectionEntry_InlineEntry*)_upb_Message_New(&xds__core__v3__CollectionEntry__InlineEntry_msg_init, arena); } UPB_INLINE xds_core_v3_CollectionEntry_InlineEntry* xds_core_v3_CollectionEntry_InlineEntry_parse(const char* buf, size_t size, upb_Arena* arena) { xds_core_v3_CollectionEntry_InlineEntry* ret = xds_core_v3_CollectionEntry_InlineEntry_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_CollectionEntry_InlineEntry_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__core__v3__CollectionEntry__InlineEntry_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -146,7 +149,7 @@ UPB_INLINE xds_core_v3_CollectionEntry_InlineEntry* xds_core_v3_CollectionEntry_ int options, upb_Arena* arena) { xds_core_v3_CollectionEntry_InlineEntry* ret = xds_core_v3_CollectionEntry_InlineEntry_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_CollectionEntry_InlineEntry_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__core__v3__CollectionEntry__InlineEntry_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -154,13 +157,13 @@ UPB_INLINE xds_core_v3_CollectionEntry_InlineEntry* xds_core_v3_CollectionEntry_ } UPB_INLINE char* xds_core_v3_CollectionEntry_InlineEntry_serialize(const xds_core_v3_CollectionEntry_InlineEntry* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_CollectionEntry_InlineEntry_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__CollectionEntry__InlineEntry_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_core_v3_CollectionEntry_InlineEntry_serialize_ex(const xds_core_v3_CollectionEntry_InlineEntry* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_CollectionEntry_InlineEntry_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__CollectionEntry__InlineEntry_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void xds_core_v3_CollectionEntry_InlineEntry_clear_name(xds_core_v3_CollectionEntry_InlineEntry* msg) { @@ -216,14 +219,12 @@ UPB_INLINE void xds_core_v3_CollectionEntry_InlineEntry_set_resource(xds_core_v3 UPB_INLINE struct google_protobuf_Any* xds_core_v3_CollectionEntry_InlineEntry_mutable_resource(xds_core_v3_CollectionEntry_InlineEntry* msg, upb_Arena* arena) { struct google_protobuf_Any* sub = (struct google_protobuf_Any*)xds_core_v3_CollectionEntry_InlineEntry_resource(msg); if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); if (sub) xds_core_v3_CollectionEntry_InlineEntry_set_resource(msg, sub); } return sub; } -extern const upb_MiniTableFile xds_core_v3_collection_entry_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c b/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c new file mode 100644 index 00000000000..60f380194cd --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c @@ -0,0 +1,78 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/collection_entry.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/core/v3/collection_entry.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/resource_locator.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_core_v3_CollectionEntry_submsgs[2] = { + {.submsg = &xds__core__v3__ResourceLocator_msg_init}, + {.submsg = &xds__core__v3__CollectionEntry__InlineEntry_msg_init}, +}; + +static const upb_MiniTableField xds_core_v3_CollectionEntry__fields[2] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__core__v3__CollectionEntry_msg_init = { + &xds_core_v3_CollectionEntry_submsgs[0], + &xds_core_v3_CollectionEntry__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_maxmaxb}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub xds_core_v3_CollectionEntry_InlineEntry_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField xds_core_v3_CollectionEntry_InlineEntry__fields[3] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__core__v3__CollectionEntry__InlineEntry_msg_init = { + &xds_core_v3_CollectionEntry_InlineEntry_submsgs[0], + &xds_core_v3_CollectionEntry_InlineEntry__fields[0], + UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x002800000100001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &xds__core__v3__CollectionEntry_msg_init, + &xds__core__v3__CollectionEntry__InlineEntry_msg_init, +}; + +const upb_MiniTableFile xds_core_v3_collection_entry_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h b/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h new file mode 100644 index 00000000000..61a9130dac7 --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/collection_entry.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_CORE_V3_COLLECTION_ENTRY_PROTO_UPB_MINITABLE_H_ +#define XDS_CORE_V3_COLLECTION_ENTRY_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__core__v3__CollectionEntry_msg_init; +extern const upb_MiniTable xds__core__v3__CollectionEntry__InlineEntry_msg_init; + +extern const upb_MiniTableFile xds_core_v3_collection_entry_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_CORE_V3_COLLECTION_ENTRY_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h b/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h similarity index 87% rename from src/core/ext/upb-generated/xds/core/v3/context_params.upb.h rename to src/core/ext/upb-gen/xds/core/v3/context_params.upb.h index a8e3d06a074..86e323f8248 100644 --- a/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +++ b/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/context_params.proto * @@ -10,7 +9,12 @@ #define XDS_CORE_V3_CONTEXT_PARAMS_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "xds/core/v3/context_params.upb_minitable.h" + +#include "xds/annotations/v3/status.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,20 +23,18 @@ extern "C" { typedef struct xds_core_v3_ContextParams xds_core_v3_ContextParams; typedef struct xds_core_v3_ContextParams_ParamsEntry xds_core_v3_ContextParams_ParamsEntry; -extern const upb_MiniTable xds_core_v3_ContextParams_msg_init; -extern const upb_MiniTable xds_core_v3_ContextParams_ParamsEntry_msg_init; /* xds.core.v3.ContextParams */ UPB_INLINE xds_core_v3_ContextParams* xds_core_v3_ContextParams_new(upb_Arena* arena) { - return (xds_core_v3_ContextParams*)_upb_Message_New(&xds_core_v3_ContextParams_msg_init, arena); + return (xds_core_v3_ContextParams*)_upb_Message_New(&xds__core__v3__ContextParams_msg_init, arena); } UPB_INLINE xds_core_v3_ContextParams* xds_core_v3_ContextParams_parse(const char* buf, size_t size, upb_Arena* arena) { xds_core_v3_ContextParams* ret = xds_core_v3_ContextParams_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_ContextParams_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__core__v3__ContextParams_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +44,7 @@ UPB_INLINE xds_core_v3_ContextParams* xds_core_v3_ContextParams_parse_ex(const c int options, upb_Arena* arena) { xds_core_v3_ContextParams* ret = xds_core_v3_ContextParams_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_ContextParams_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__core__v3__ContextParams_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +52,13 @@ UPB_INLINE xds_core_v3_ContextParams* xds_core_v3_ContextParams_parse_ex(const c } UPB_INLINE char* xds_core_v3_ContextParams_serialize(const xds_core_v3_ContextParams* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_ContextParams_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__ContextParams_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_core_v3_ContextParams_serialize_ex(const xds_core_v3_ContextParams* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_ContextParams_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__ContextParams_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void xds_core_v3_ContextParams_clear_params(xds_core_v3_ContextParams* msg) { @@ -123,8 +125,6 @@ UPB_INLINE void xds_core_v3_ContextParams_ParamsEntry_set_value(xds_core_v3_Cont _upb_msg_map_set_value(msg, &value, 0); } -extern const upb_MiniTableFile xds_core_v3_context_params_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c b/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c new file mode 100644 index 00000000000..0da827c995b --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c @@ -0,0 +1,62 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/context_params.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/core/v3/context_params.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_core_v3_ContextParams_submsgs[1] = { + {.submsg = &xds__core__v3__ContextParams__ParamsEntry_msg_init}, +}; + +static const upb_MiniTableField xds_core_v3_ContextParams__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__core__v3__ContextParams_msg_init = { + &xds_core_v3_ContextParams_submsgs[0], + &xds_core_v3_ContextParams__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableField xds_core_v3_ContextParams_ParamsEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__core__v3__ContextParams__ParamsEntry_msg_init = { + NULL, + &xds_core_v3_ContextParams_ParamsEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &xds__core__v3__ContextParams_msg_init, + &xds__core__v3__ContextParams__ParamsEntry_msg_init, +}; + +const upb_MiniTableFile xds_core_v3_context_params_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h b/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h new file mode 100644 index 00000000000..1b67d6a1001 --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/context_params.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_CORE_V3_CONTEXT_PARAMS_PROTO_UPB_MINITABLE_H_ +#define XDS_CORE_V3_CONTEXT_PARAMS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__core__v3__ContextParams_msg_init; +extern const upb_MiniTable xds__core__v3__ContextParams__ParamsEntry_msg_init; + +extern const upb_MiniTableFile xds_core_v3_context_params_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_CORE_V3_CONTEXT_PARAMS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/core/v3/extension.upb.h b/src/core/ext/upb-gen/xds/core/v3/extension.upb.h new file mode 100644 index 00000000000..914bc3f876e --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/extension.upb.h @@ -0,0 +1,115 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/extension.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_CORE_V3_EXTENSION_PROTO_UPB_H_ +#define XDS_CORE_V3_EXTENSION_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/core/v3/extension.upb_minitable.h" + +#include "validate/validate.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_core_v3_TypedExtensionConfig xds_core_v3_TypedExtensionConfig; +struct google_protobuf_Any; + + + +/* xds.core.v3.TypedExtensionConfig */ + +UPB_INLINE xds_core_v3_TypedExtensionConfig* xds_core_v3_TypedExtensionConfig_new(upb_Arena* arena) { + return (xds_core_v3_TypedExtensionConfig*)_upb_Message_New(&xds__core__v3__TypedExtensionConfig_msg_init, arena); +} +UPB_INLINE xds_core_v3_TypedExtensionConfig* xds_core_v3_TypedExtensionConfig_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_core_v3_TypedExtensionConfig* ret = xds_core_v3_TypedExtensionConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__core__v3__TypedExtensionConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_core_v3_TypedExtensionConfig* xds_core_v3_TypedExtensionConfig_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_core_v3_TypedExtensionConfig* ret = xds_core_v3_TypedExtensionConfig_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__core__v3__TypedExtensionConfig_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_core_v3_TypedExtensionConfig_serialize(const xds_core_v3_TypedExtensionConfig* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__core__v3__TypedExtensionConfig_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_core_v3_TypedExtensionConfig_serialize_ex(const xds_core_v3_TypedExtensionConfig* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__core__v3__TypedExtensionConfig_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_core_v3_TypedExtensionConfig_clear_name(xds_core_v3_TypedExtensionConfig* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView xds_core_v3_TypedExtensionConfig_name(const xds_core_v3_TypedExtensionConfig* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_core_v3_TypedExtensionConfig_clear_typed_config(xds_core_v3_TypedExtensionConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Any* xds_core_v3_TypedExtensionConfig_typed_config(const xds_core_v3_TypedExtensionConfig* msg) { + const struct google_protobuf_Any* default_val = NULL; + const struct google_protobuf_Any* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_core_v3_TypedExtensionConfig_has_typed_config(const xds_core_v3_TypedExtensionConfig* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void xds_core_v3_TypedExtensionConfig_set_name(xds_core_v3_TypedExtensionConfig *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void xds_core_v3_TypedExtensionConfig_set_typed_config(xds_core_v3_TypedExtensionConfig *msg, struct google_protobuf_Any* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Any* xds_core_v3_TypedExtensionConfig_mutable_typed_config(xds_core_v3_TypedExtensionConfig* msg, upb_Arena* arena) { + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)xds_core_v3_TypedExtensionConfig_typed_config(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); + if (sub) xds_core_v3_TypedExtensionConfig_set_typed_config(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_CORE_V3_EXTENSION_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c b/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c new file mode 100644 index 00000000000..42010f9a6ce --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c @@ -0,0 +1,52 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/extension.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/core/v3/extension.upb_minitable.h" +#include "validate/validate.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_core_v3_TypedExtensionConfig_submsgs[1] = { + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField xds_core_v3_TypedExtensionConfig__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__core__v3__TypedExtensionConfig_msg_init = { + &xds_core_v3_TypedExtensionConfig_submsgs[0], + &xds_core_v3_TypedExtensionConfig__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &xds__core__v3__TypedExtensionConfig_msg_init, +}; + +const upb_MiniTableFile xds_core_v3_extension_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h b/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h new file mode 100644 index 00000000000..600b8ea7d3d --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/extension.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_CORE_V3_EXTENSION_PROTO_UPB_MINITABLE_H_ +#define XDS_CORE_V3_EXTENSION_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__core__v3__TypedExtensionConfig_msg_init; + +extern const upb_MiniTableFile xds_core_v3_extension_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_CORE_V3_EXTENSION_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/core/v3/resource.upb.h b/src/core/ext/upb-gen/xds/core/v3/resource.upb.h new file mode 100644 index 00000000000..cbb33c73bb4 --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/resource.upb.h @@ -0,0 +1,144 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/resource.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_CORE_V3_RESOURCE_PROTO_UPB_H_ +#define XDS_CORE_V3_RESOURCE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/core/v3/resource.upb_minitable.h" + +#include "google/protobuf/any.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/resource_name.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_core_v3_Resource xds_core_v3_Resource; +struct google_protobuf_Any; +struct xds_core_v3_ResourceName; + + + +/* xds.core.v3.Resource */ + +UPB_INLINE xds_core_v3_Resource* xds_core_v3_Resource_new(upb_Arena* arena) { + return (xds_core_v3_Resource*)_upb_Message_New(&xds__core__v3__Resource_msg_init, arena); +} +UPB_INLINE xds_core_v3_Resource* xds_core_v3_Resource_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_core_v3_Resource* ret = xds_core_v3_Resource_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__core__v3__Resource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_core_v3_Resource* xds_core_v3_Resource_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_core_v3_Resource* ret = xds_core_v3_Resource_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__core__v3__Resource_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_core_v3_Resource_serialize(const xds_core_v3_Resource* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__core__v3__Resource_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_core_v3_Resource_serialize_ex(const xds_core_v3_Resource* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__core__v3__Resource_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_core_v3_Resource_clear_name(xds_core_v3_Resource* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_core_v3_ResourceName* xds_core_v3_Resource_name(const xds_core_v3_Resource* msg) { + const struct xds_core_v3_ResourceName* default_val = NULL; + const struct xds_core_v3_ResourceName* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_core_v3_Resource_has_name(const xds_core_v3_Resource* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_core_v3_Resource_clear_version(xds_core_v3_Resource* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView xds_core_v3_Resource_version(const xds_core_v3_Resource* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_core_v3_Resource_clear_resource(xds_core_v3_Resource* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_Any* xds_core_v3_Resource_resource(const xds_core_v3_Resource* msg) { + const struct google_protobuf_Any* default_val = NULL; + const struct google_protobuf_Any* ret; + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_core_v3_Resource_has_resource(const xds_core_v3_Resource* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void xds_core_v3_Resource_set_name(xds_core_v3_Resource *msg, struct xds_core_v3_ResourceName* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_core_v3_ResourceName* xds_core_v3_Resource_mutable_name(xds_core_v3_Resource* msg, upb_Arena* arena) { + struct xds_core_v3_ResourceName* sub = (struct xds_core_v3_ResourceName*)xds_core_v3_Resource_name(msg); + if (sub == NULL) { + sub = (struct xds_core_v3_ResourceName*)_upb_Message_New(&xds__core__v3__ResourceName_msg_init, arena); + if (sub) xds_core_v3_Resource_set_name(msg, sub); + } + return sub; +} +UPB_INLINE void xds_core_v3_Resource_set_version(xds_core_v3_Resource *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void xds_core_v3_Resource_set_resource(xds_core_v3_Resource *msg, struct google_protobuf_Any* value) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_Any* xds_core_v3_Resource_mutable_resource(xds_core_v3_Resource* msg, upb_Arena* arena) { + struct google_protobuf_Any* sub = (struct google_protobuf_Any*)xds_core_v3_Resource_resource(msg); + if (sub == NULL) { + sub = (struct google_protobuf_Any*)_upb_Message_New(&google__protobuf__Any_msg_init, arena); + if (sub) xds_core_v3_Resource_set_resource(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_CORE_V3_RESOURCE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c b/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c new file mode 100644 index 00000000000..25f2f2f92a0 --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c @@ -0,0 +1,55 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/resource.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/core/v3/resource.upb_minitable.h" +#include "google/protobuf/any.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/resource_name.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_core_v3_Resource_submsgs[2] = { + {.submsg = &xds__core__v3__ResourceName_msg_init}, + {.submsg = &google__protobuf__Any_msg_init}, +}; + +static const upb_MiniTableField xds_core_v3_Resource__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__core__v3__Resource_msg_init = { + &xds_core_v3_Resource_submsgs[0], + &xds_core_v3_Resource__fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x002000000201001a, &upb_psm_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &xds__core__v3__Resource_msg_init, +}; + +const upb_MiniTableFile xds_core_v3_resource_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h b/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h new file mode 100644 index 00000000000..070cfe27730 --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/resource.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_CORE_V3_RESOURCE_PROTO_UPB_MINITABLE_H_ +#define XDS_CORE_V3_RESOURCE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__core__v3__Resource_msg_init; + +extern const upb_MiniTableFile xds_core_v3_resource_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_CORE_V3_RESOURCE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h b/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h similarity index 92% rename from src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h rename to src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h index e4732b5c4cb..77c3f706d67 100644 --- a/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +++ b/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/resource_locator.proto * @@ -10,7 +9,14 @@ #define XDS_CORE_V3_RESOURCE_LOCATOR_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "xds/core/v3/resource_locator.upb_minitable.h" + +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/context_params.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,10 +25,7 @@ extern "C" { typedef struct xds_core_v3_ResourceLocator xds_core_v3_ResourceLocator; typedef struct xds_core_v3_ResourceLocator_Directive xds_core_v3_ResourceLocator_Directive; -extern const upb_MiniTable xds_core_v3_ResourceLocator_msg_init; -extern const upb_MiniTable xds_core_v3_ResourceLocator_Directive_msg_init; struct xds_core_v3_ContextParams; -extern const upb_MiniTable xds_core_v3_ContextParams_msg_init; typedef enum { xds_core_v3_ResourceLocator_XDSTP = 0, @@ -35,12 +38,12 @@ typedef enum { /* xds.core.v3.ResourceLocator */ UPB_INLINE xds_core_v3_ResourceLocator* xds_core_v3_ResourceLocator_new(upb_Arena* arena) { - return (xds_core_v3_ResourceLocator*)_upb_Message_New(&xds_core_v3_ResourceLocator_msg_init, arena); + return (xds_core_v3_ResourceLocator*)_upb_Message_New(&xds__core__v3__ResourceLocator_msg_init, arena); } UPB_INLINE xds_core_v3_ResourceLocator* xds_core_v3_ResourceLocator_parse(const char* buf, size_t size, upb_Arena* arena) { xds_core_v3_ResourceLocator* ret = xds_core_v3_ResourceLocator_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_ResourceLocator_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__core__v3__ResourceLocator_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -50,7 +53,7 @@ UPB_INLINE xds_core_v3_ResourceLocator* xds_core_v3_ResourceLocator_parse_ex(con int options, upb_Arena* arena) { xds_core_v3_ResourceLocator* ret = xds_core_v3_ResourceLocator_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_ResourceLocator_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__core__v3__ResourceLocator_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -58,13 +61,13 @@ UPB_INLINE xds_core_v3_ResourceLocator* xds_core_v3_ResourceLocator_parse_ex(con } UPB_INLINE char* xds_core_v3_ResourceLocator_serialize(const xds_core_v3_ResourceLocator* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_ResourceLocator_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__ResourceLocator_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_core_v3_ResourceLocator_serialize_ex(const xds_core_v3_ResourceLocator* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_ResourceLocator_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__ResourceLocator_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -195,7 +198,7 @@ UPB_INLINE void xds_core_v3_ResourceLocator_set_exact_context(xds_core_v3_Resour UPB_INLINE struct xds_core_v3_ContextParams* xds_core_v3_ResourceLocator_mutable_exact_context(xds_core_v3_ResourceLocator* msg, upb_Arena* arena) { struct xds_core_v3_ContextParams* sub = (struct xds_core_v3_ContextParams*)xds_core_v3_ResourceLocator_exact_context(msg); if (sub == NULL) { - sub = (struct xds_core_v3_ContextParams*)_upb_Message_New(&xds_core_v3_ContextParams_msg_init, arena); + sub = (struct xds_core_v3_ContextParams*)_upb_Message_New(&xds__core__v3__ContextParams_msg_init, arena); if (sub) xds_core_v3_ResourceLocator_set_exact_context(msg, sub); } return sub; @@ -221,7 +224,7 @@ UPB_INLINE struct xds_core_v3_ResourceLocator_Directive* xds_core_v3_ResourceLoc if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct xds_core_v3_ResourceLocator_Directive* sub = (struct xds_core_v3_ResourceLocator_Directive*)_upb_Message_New(&xds_core_v3_ResourceLocator_Directive_msg_init, arena); + struct xds_core_v3_ResourceLocator_Directive* sub = (struct xds_core_v3_ResourceLocator_Directive*)_upb_Message_New(&xds__core__v3__ResourceLocator__Directive_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -230,12 +233,12 @@ UPB_INLINE struct xds_core_v3_ResourceLocator_Directive* xds_core_v3_ResourceLoc /* xds.core.v3.ResourceLocator.Directive */ UPB_INLINE xds_core_v3_ResourceLocator_Directive* xds_core_v3_ResourceLocator_Directive_new(upb_Arena* arena) { - return (xds_core_v3_ResourceLocator_Directive*)_upb_Message_New(&xds_core_v3_ResourceLocator_Directive_msg_init, arena); + return (xds_core_v3_ResourceLocator_Directive*)_upb_Message_New(&xds__core__v3__ResourceLocator__Directive_msg_init, arena); } UPB_INLINE xds_core_v3_ResourceLocator_Directive* xds_core_v3_ResourceLocator_Directive_parse(const char* buf, size_t size, upb_Arena* arena) { xds_core_v3_ResourceLocator_Directive* ret = xds_core_v3_ResourceLocator_Directive_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_ResourceLocator_Directive_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__core__v3__ResourceLocator__Directive_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -245,7 +248,7 @@ UPB_INLINE xds_core_v3_ResourceLocator_Directive* xds_core_v3_ResourceLocator_Di int options, upb_Arena* arena) { xds_core_v3_ResourceLocator_Directive* ret = xds_core_v3_ResourceLocator_Directive_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_ResourceLocator_Directive_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__core__v3__ResourceLocator__Directive_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -253,13 +256,13 @@ UPB_INLINE xds_core_v3_ResourceLocator_Directive* xds_core_v3_ResourceLocator_Di } UPB_INLINE char* xds_core_v3_ResourceLocator_Directive_serialize(const xds_core_v3_ResourceLocator_Directive* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_ResourceLocator_Directive_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__ResourceLocator__Directive_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_core_v3_ResourceLocator_Directive_serialize_ex(const xds_core_v3_ResourceLocator_Directive* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_ResourceLocator_Directive_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__ResourceLocator__Directive_msg_init, options, arena, &ptr, len); return ptr; } typedef enum { @@ -309,7 +312,7 @@ UPB_INLINE void xds_core_v3_ResourceLocator_Directive_set_alt(xds_core_v3_Resour UPB_INLINE struct xds_core_v3_ResourceLocator* xds_core_v3_ResourceLocator_Directive_mutable_alt(xds_core_v3_ResourceLocator_Directive* msg, upb_Arena* arena) { struct xds_core_v3_ResourceLocator* sub = (struct xds_core_v3_ResourceLocator*)xds_core_v3_ResourceLocator_Directive_alt(msg); if (sub == NULL) { - sub = (struct xds_core_v3_ResourceLocator*)_upb_Message_New(&xds_core_v3_ResourceLocator_msg_init, arena); + sub = (struct xds_core_v3_ResourceLocator*)_upb_Message_New(&xds__core__v3__ResourceLocator_msg_init, arena); if (sub) xds_core_v3_ResourceLocator_Directive_set_alt(msg, sub); } return sub; @@ -319,8 +322,6 @@ UPB_INLINE void xds_core_v3_ResourceLocator_Directive_set_entry(xds_core_v3_Reso _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile xds_core_v3_resource_locator_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c b/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c new file mode 100644 index 00000000000..3d34fd8c298 --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c @@ -0,0 +1,84 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/resource_locator.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/core/v3/resource_locator.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/context_params.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_core_v3_ResourceLocator_submsgs[2] = { + {.submsg = &xds__core__v3__ContextParams_msg_init}, + {.submsg = &xds__core__v3__ResourceLocator__Directive_msg_init}, +}; + +static const upb_MiniTableField xds_core_v3_ResourceLocator__fields[6] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 64), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(8, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__core__v3__ResourceLocator_msg_init = { + &xds_core_v3_ResourceLocator_submsgs[0], + &xds_core_v3_ResourceLocator__fields[0], + UPB_SIZE(40, 72), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000800003f000012, &upb_pss_1bt}, + {0x001800003f00001a, &upb_pss_1bt}, + {0x002800003f000022, &upb_pss_1bt}, + {0x004000040500002a, &upb_pom_1bt_maxmaxb}, + {0x003800003f010032, &upb_prm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub xds_core_v3_ResourceLocator_Directive_submsgs[1] = { + {.submsg = &xds__core__v3__ResourceLocator_msg_init}, +}; + +static const upb_MiniTableField xds_core_v3_ResourceLocator_Directive__fields[2] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__core__v3__ResourceLocator__Directive_msg_init = { + &xds_core_v3_ResourceLocator_Directive_submsgs[0], + &xds_core_v3_ResourceLocator_Directive__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max128b}, + {0x0008000002000012, &upb_pos_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &xds__core__v3__ResourceLocator_msg_init, + &xds__core__v3__ResourceLocator__Directive_msg_init, +}; + +const upb_MiniTableFile xds_core_v3_resource_locator_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h b/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h new file mode 100644 index 00000000000..c51c2ea2a8d --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/resource_locator.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_CORE_V3_RESOURCE_LOCATOR_PROTO_UPB_MINITABLE_H_ +#define XDS_CORE_V3_RESOURCE_LOCATOR_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__core__v3__ResourceLocator_msg_init; +extern const upb_MiniTable xds__core__v3__ResourceLocator__Directive_msg_init; + +extern const upb_MiniTableFile xds_core_v3_resource_locator_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_CORE_V3_RESOURCE_LOCATOR_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h b/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h similarity index 89% rename from src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h rename to src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h index b21872fe8c0..4e7b4e47b50 100644 --- a/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +++ b/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/resource_name.proto * @@ -10,7 +9,14 @@ #define XDS_CORE_V3_RESOURCE_NAME_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "xds/core/v3/resource_name.upb_minitable.h" + +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/context_params.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +24,19 @@ extern "C" { #endif typedef struct xds_core_v3_ResourceName xds_core_v3_ResourceName; -extern const upb_MiniTable xds_core_v3_ResourceName_msg_init; struct xds_core_v3_ContextParams; -extern const upb_MiniTable xds_core_v3_ContextParams_msg_init; /* xds.core.v3.ResourceName */ UPB_INLINE xds_core_v3_ResourceName* xds_core_v3_ResourceName_new(upb_Arena* arena) { - return (xds_core_v3_ResourceName*)_upb_Message_New(&xds_core_v3_ResourceName_msg_init, arena); + return (xds_core_v3_ResourceName*)_upb_Message_New(&xds__core__v3__ResourceName_msg_init, arena); } UPB_INLINE xds_core_v3_ResourceName* xds_core_v3_ResourceName_parse(const char* buf, size_t size, upb_Arena* arena) { xds_core_v3_ResourceName* ret = xds_core_v3_ResourceName_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_ResourceName_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__core__v3__ResourceName_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +46,7 @@ UPB_INLINE xds_core_v3_ResourceName* xds_core_v3_ResourceName_parse_ex(const cha int options, upb_Arena* arena) { xds_core_v3_ResourceName* ret = xds_core_v3_ResourceName_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_ResourceName_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__core__v3__ResourceName_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +54,13 @@ UPB_INLINE xds_core_v3_ResourceName* xds_core_v3_ResourceName_parse_ex(const cha } UPB_INLINE char* xds_core_v3_ResourceName_serialize(const xds_core_v3_ResourceName* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_ResourceName_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__ResourceName_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_core_v3_ResourceName_serialize_ex(const xds_core_v3_ResourceName* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_core_v3_ResourceName_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__core__v3__ResourceName_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void xds_core_v3_ResourceName_clear_id(xds_core_v3_ResourceName* msg) { @@ -127,14 +131,12 @@ UPB_INLINE void xds_core_v3_ResourceName_set_context(xds_core_v3_ResourceName *m UPB_INLINE struct xds_core_v3_ContextParams* xds_core_v3_ResourceName_mutable_context(xds_core_v3_ResourceName* msg, upb_Arena* arena) { struct xds_core_v3_ContextParams* sub = (struct xds_core_v3_ContextParams*)xds_core_v3_ResourceName_context(msg); if (sub == NULL) { - sub = (struct xds_core_v3_ContextParams*)_upb_Message_New(&xds_core_v3_ContextParams_msg_init, arena); + sub = (struct xds_core_v3_ContextParams*)_upb_Message_New(&xds__core__v3__ContextParams_msg_init, arena); if (sub) xds_core_v3_ResourceName_set_context(msg, sub); } return sub; } -extern const upb_MiniTableFile xds_core_v3_resource_name_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c b/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c new file mode 100644 index 00000000000..19fb64354a1 --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c @@ -0,0 +1,59 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/resource_name.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/core/v3/resource_name.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/context_params.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_core_v3_ResourceName_submsgs[1] = { + {.submsg = &xds__core__v3__ContextParams_msg_init}, +}; + +static const upb_MiniTableField xds_core_v3_ResourceName__fields[4] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 56), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__core__v3__ResourceName_msg_init = { + &xds_core_v3_ResourceName_submsgs[0], + &xds_core_v3_ResourceName__fields[0], + UPB_SIZE(32, 64), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000012, &upb_pss_1bt}, + {0x002800003f00001a, &upb_pss_1bt}, + {0x0038000001000022, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &xds__core__v3__ResourceName_msg_init, +}; + +const upb_MiniTableFile xds_core_v3_resource_name_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h b/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h new file mode 100644 index 00000000000..2a3068ac999 --- /dev/null +++ b/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/resource_name.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_CORE_V3_RESOURCE_NAME_PROTO_UPB_MINITABLE_H_ +#define XDS_CORE_V3_RESOURCE_NAME_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__core__v3__ResourceName_msg_init; + +extern const upb_MiniTableFile xds_core_v3_resource_name_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_CORE_V3_RESOURCE_NAME_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h b/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h similarity index 95% rename from src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h rename to src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h index 8f69910ec6e..0945b931299 100644 --- a/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +++ b/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/data/orca/v3/orca_load_report.proto * @@ -10,7 +9,12 @@ #define XDS_DATA_ORCA_V3_ORCA_LOAD_REPORT_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "xds/data/orca/v3/orca_load_report.upb_minitable.h" + +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -21,22 +25,18 @@ typedef struct xds_data_orca_v3_OrcaLoadReport xds_data_orca_v3_OrcaLoadReport; typedef struct xds_data_orca_v3_OrcaLoadReport_RequestCostEntry xds_data_orca_v3_OrcaLoadReport_RequestCostEntry; typedef struct xds_data_orca_v3_OrcaLoadReport_UtilizationEntry xds_data_orca_v3_OrcaLoadReport_UtilizationEntry; typedef struct xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry; -extern const upb_MiniTable xds_data_orca_v3_OrcaLoadReport_msg_init; -extern const upb_MiniTable xds_data_orca_v3_OrcaLoadReport_RequestCostEntry_msg_init; -extern const upb_MiniTable xds_data_orca_v3_OrcaLoadReport_UtilizationEntry_msg_init; -extern const upb_MiniTable xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry_msg_init; /* xds.data.orca.v3.OrcaLoadReport */ UPB_INLINE xds_data_orca_v3_OrcaLoadReport* xds_data_orca_v3_OrcaLoadReport_new(upb_Arena* arena) { - return (xds_data_orca_v3_OrcaLoadReport*)_upb_Message_New(&xds_data_orca_v3_OrcaLoadReport_msg_init, arena); + return (xds_data_orca_v3_OrcaLoadReport*)_upb_Message_New(&xds__data__orca__v3__OrcaLoadReport_msg_init, arena); } UPB_INLINE xds_data_orca_v3_OrcaLoadReport* xds_data_orca_v3_OrcaLoadReport_parse(const char* buf, size_t size, upb_Arena* arena) { xds_data_orca_v3_OrcaLoadReport* ret = xds_data_orca_v3_OrcaLoadReport_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_data_orca_v3_OrcaLoadReport_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__data__orca__v3__OrcaLoadReport_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -46,7 +46,7 @@ UPB_INLINE xds_data_orca_v3_OrcaLoadReport* xds_data_orca_v3_OrcaLoadReport_pars int options, upb_Arena* arena) { xds_data_orca_v3_OrcaLoadReport* ret = xds_data_orca_v3_OrcaLoadReport_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_data_orca_v3_OrcaLoadReport_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__data__orca__v3__OrcaLoadReport_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -54,13 +54,13 @@ UPB_INLINE xds_data_orca_v3_OrcaLoadReport* xds_data_orca_v3_OrcaLoadReport_pars } UPB_INLINE char* xds_data_orca_v3_OrcaLoadReport_serialize(const xds_data_orca_v3_OrcaLoadReport* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_data_orca_v3_OrcaLoadReport_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__data__orca__v3__OrcaLoadReport_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_data_orca_v3_OrcaLoadReport_serialize_ex(const xds_data_orca_v3_OrcaLoadReport* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_data_orca_v3_OrcaLoadReport_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__data__orca__v3__OrcaLoadReport_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void xds_data_orca_v3_OrcaLoadReport_clear_cpu_utilization(xds_data_orca_v3_OrcaLoadReport* msg) { @@ -341,8 +341,6 @@ UPB_INLINE void xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry_set_value(xds_ _upb_msg_map_set_value(msg, &value, sizeof(double)); } -extern const upb_MiniTableFile xds_data_orca_v3_orca_load_report_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c b/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c new file mode 100644 index 00000000000..3723fd01e83 --- /dev/null +++ b/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c @@ -0,0 +1,126 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/data/orca/v3/orca_load_report.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/data/orca/v3/orca_load_report.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_data_orca_v3_OrcaLoadReport_submsgs[3] = { + {.submsg = &xds__data__orca__v3__OrcaLoadReport__RequestCostEntry_msg_init}, + {.submsg = &xds__data__orca__v3__OrcaLoadReport__UtilizationEntry_msg_init}, + {.submsg = &xds__data__orca__v3__OrcaLoadReport__NamedMetricsEntry_msg_init}, +}; + +static const upb_MiniTableField xds_data_orca_v3_OrcaLoadReport__fields[9] = { + {1, UPB_SIZE(16, 0), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 8), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(32, 16), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(0, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(4, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, 40, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {7, 48, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(8, 56), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(56, 64), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__data__orca__v3__OrcaLoadReport_msg_init = { + &xds_data_orca_v3_OrcaLoadReport_submsgs[0], + &xds_data_orca_v3_OrcaLoadReport__fields[0], + UPB_SIZE(64, 72), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000009, &upb_psf8_1bt}, + {0x000800003f000011, &upb_psf8_1bt}, + {0x001000003f000018, &upb_psv8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002800003f000031, &upb_psf8_1bt}, + {0x003000003f000039, &upb_psf8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x004000003f000049, &upb_psf8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField xds_data_orca_v3_OrcaLoadReport_RequestCostEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__data__orca__v3__OrcaLoadReport__RequestCostEntry_msg_init = { + NULL, + &xds_data_orca_v3_OrcaLoadReport_RequestCostEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000011, &upb_psf8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField xds_data_orca_v3_OrcaLoadReport_UtilizationEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__data__orca__v3__OrcaLoadReport__UtilizationEntry_msg_init = { + NULL, + &xds_data_orca_v3_OrcaLoadReport_UtilizationEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000011, &upb_psf8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__data__orca__v3__OrcaLoadReport__NamedMetricsEntry_msg_init = { + NULL, + &xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x001800003f000011, &upb_psf8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[4] = { + &xds__data__orca__v3__OrcaLoadReport_msg_init, + &xds__data__orca__v3__OrcaLoadReport__RequestCostEntry_msg_init, + &xds__data__orca__v3__OrcaLoadReport__UtilizationEntry_msg_init, + &xds__data__orca__v3__OrcaLoadReport__NamedMetricsEntry_msg_init, +}; + +const upb_MiniTableFile xds_data_orca_v3_orca_load_report_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 4, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h b/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h new file mode 100644 index 00000000000..4dca993433c --- /dev/null +++ b/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h @@ -0,0 +1,33 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/data/orca/v3/orca_load_report.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_DATA_ORCA_V3_ORCA_LOAD_REPORT_PROTO_UPB_MINITABLE_H_ +#define XDS_DATA_ORCA_V3_ORCA_LOAD_REPORT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__data__orca__v3__OrcaLoadReport_msg_init; +extern const upb_MiniTable xds__data__orca__v3__OrcaLoadReport__RequestCostEntry_msg_init; +extern const upb_MiniTable xds__data__orca__v3__OrcaLoadReport__UtilizationEntry_msg_init; +extern const upb_MiniTable xds__data__orca__v3__OrcaLoadReport__NamedMetricsEntry_msg_init; + +extern const upb_MiniTableFile xds_data_orca_v3_orca_load_report_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_DATA_ORCA_V3_ORCA_LOAD_REPORT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h b/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h similarity index 90% rename from src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h rename to src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h index 2937fdab55a..a8607008ade 100644 --- a/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +++ b/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/service/orca/v3/orca.proto * @@ -10,7 +9,13 @@ #define XDS_SERVICE_ORCA_V3_ORCA_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "xds/service/orca/v3/orca.upb_minitable.h" + +#include "xds/data/orca/v3/orca_load_report.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +23,19 @@ extern "C" { #endif typedef struct xds_service_orca_v3_OrcaLoadReportRequest xds_service_orca_v3_OrcaLoadReportRequest; -extern const upb_MiniTable xds_service_orca_v3_OrcaLoadReportRequest_msg_init; struct google_protobuf_Duration; -extern const upb_MiniTable google_protobuf_Duration_msg_init; /* xds.service.orca.v3.OrcaLoadReportRequest */ UPB_INLINE xds_service_orca_v3_OrcaLoadReportRequest* xds_service_orca_v3_OrcaLoadReportRequest_new(upb_Arena* arena) { - return (xds_service_orca_v3_OrcaLoadReportRequest*)_upb_Message_New(&xds_service_orca_v3_OrcaLoadReportRequest_msg_init, arena); + return (xds_service_orca_v3_OrcaLoadReportRequest*)_upb_Message_New(&xds__service__orca__v3__OrcaLoadReportRequest_msg_init, arena); } UPB_INLINE xds_service_orca_v3_OrcaLoadReportRequest* xds_service_orca_v3_OrcaLoadReportRequest_parse(const char* buf, size_t size, upb_Arena* arena) { xds_service_orca_v3_OrcaLoadReportRequest* ret = xds_service_orca_v3_OrcaLoadReportRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_service_orca_v3_OrcaLoadReportRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__service__orca__v3__OrcaLoadReportRequest_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +45,7 @@ UPB_INLINE xds_service_orca_v3_OrcaLoadReportRequest* xds_service_orca_v3_OrcaLo int options, upb_Arena* arena) { xds_service_orca_v3_OrcaLoadReportRequest* ret = xds_service_orca_v3_OrcaLoadReportRequest_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_service_orca_v3_OrcaLoadReportRequest_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__service__orca__v3__OrcaLoadReportRequest_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +53,13 @@ UPB_INLINE xds_service_orca_v3_OrcaLoadReportRequest* xds_service_orca_v3_OrcaLo } UPB_INLINE char* xds_service_orca_v3_OrcaLoadReportRequest_serialize(const xds_service_orca_v3_OrcaLoadReportRequest* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_service_orca_v3_OrcaLoadReportRequest_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__service__orca__v3__OrcaLoadReportRequest_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_service_orca_v3_OrcaLoadReportRequest_serialize_ex(const xds_service_orca_v3_OrcaLoadReportRequest* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_service_orca_v3_OrcaLoadReportRequest_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__service__orca__v3__OrcaLoadReportRequest_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void xds_service_orca_v3_OrcaLoadReportRequest_clear_report_interval(xds_service_orca_v3_OrcaLoadReportRequest* msg) { @@ -119,7 +122,7 @@ UPB_INLINE void xds_service_orca_v3_OrcaLoadReportRequest_set_report_interval(xd UPB_INLINE struct google_protobuf_Duration* xds_service_orca_v3_OrcaLoadReportRequest_mutable_report_interval(xds_service_orca_v3_OrcaLoadReportRequest* msg, upb_Arena* arena) { struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)xds_service_orca_v3_OrcaLoadReportRequest_report_interval(msg); if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); + sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena); if (sub) xds_service_orca_v3_OrcaLoadReportRequest_set_report_interval(msg, sub); } return sub; @@ -149,8 +152,6 @@ UPB_INLINE bool xds_service_orca_v3_OrcaLoadReportRequest_add_request_cost_names return true; } -extern const upb_MiniTableFile xds_service_orca_v3_orca_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c b/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c new file mode 100644 index 00000000000..cffdf252e36 --- /dev/null +++ b/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c @@ -0,0 +1,52 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/service/orca/v3/orca.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/service/orca/v3/orca.upb_minitable.h" +#include "xds/data/orca/v3/orca_load_report.upb_minitable.h" +#include "google/protobuf/duration.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_service_orca_v3_OrcaLoadReportRequest_submsgs[1] = { + {.submsg = &google__protobuf__Duration_msg_init}, +}; + +static const upb_MiniTableField xds_service_orca_v3_OrcaLoadReportRequest__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__service__orca__v3__OrcaLoadReportRequest_msg_init = { + &xds_service_orca_v3_OrcaLoadReportRequest_submsgs[0], + &xds_service_orca_v3_OrcaLoadReportRequest__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_prs_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &xds__service__orca__v3__OrcaLoadReportRequest_msg_init, +}; + +const upb_MiniTableFile xds_service_orca_v3_orca_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h b/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h new file mode 100644 index 00000000000..b0a75eee87f --- /dev/null +++ b/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/service/orca/v3/orca.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_SERVICE_ORCA_V3_ORCA_PROTO_UPB_MINITABLE_H_ +#define XDS_SERVICE_ORCA_V3_ORCA_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__service__orca__v3__OrcaLoadReportRequest_msg_init; + +extern const upb_MiniTableFile xds_service_orca_v3_orca_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_SERVICE_ORCA_V3_ORCA_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h b/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h new file mode 100644 index 00000000000..ae1b60e53be --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h @@ -0,0 +1,116 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/cel.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_CEL_PROTO_UPB_H_ +#define XDS_TYPE_MATCHER_V3_CEL_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/type/matcher/v3/cel.upb_minitable.h" + +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/type/v3/cel.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_type_matcher_v3_CelMatcher xds_type_matcher_v3_CelMatcher; +struct xds_type_v3_CelExpression; + + + +/* xds.type.matcher.v3.CelMatcher */ + +UPB_INLINE xds_type_matcher_v3_CelMatcher* xds_type_matcher_v3_CelMatcher_new(upb_Arena* arena) { + return (xds_type_matcher_v3_CelMatcher*)_upb_Message_New(&xds__type__matcher__v3__CelMatcher_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_CelMatcher* xds_type_matcher_v3_CelMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_CelMatcher* ret = xds_type_matcher_v3_CelMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__CelMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_CelMatcher* xds_type_matcher_v3_CelMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_CelMatcher* ret = xds_type_matcher_v3_CelMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__CelMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_CelMatcher_serialize(const xds_type_matcher_v3_CelMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__CelMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_CelMatcher_serialize_ex(const xds_type_matcher_v3_CelMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__CelMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_matcher_v3_CelMatcher_clear_expr_match(xds_type_matcher_v3_CelMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_type_v3_CelExpression* xds_type_matcher_v3_CelMatcher_expr_match(const xds_type_matcher_v3_CelMatcher* msg) { + const struct xds_type_v3_CelExpression* default_val = NULL; + const struct xds_type_v3_CelExpression* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_CelMatcher_has_expr_match(const xds_type_matcher_v3_CelMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_CelMatcher_clear_description(xds_type_matcher_v3_CelMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView xds_type_matcher_v3_CelMatcher_description(const xds_type_matcher_v3_CelMatcher* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_type_matcher_v3_CelMatcher_set_expr_match(xds_type_matcher_v3_CelMatcher *msg, struct xds_type_v3_CelExpression* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_v3_CelExpression* xds_type_matcher_v3_CelMatcher_mutable_expr_match(xds_type_matcher_v3_CelMatcher* msg, upb_Arena* arena) { + struct xds_type_v3_CelExpression* sub = (struct xds_type_v3_CelExpression*)xds_type_matcher_v3_CelMatcher_expr_match(msg); + if (sub == NULL) { + sub = (struct xds_type_v3_CelExpression*)_upb_Message_New(&xds__type__v3__CelExpression_msg_init, arena); + if (sub) xds_type_matcher_v3_CelMatcher_set_expr_match(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_CelMatcher_set_description(xds_type_matcher_v3_CelMatcher *msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_CEL_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c b/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c new file mode 100644 index 00000000000..13e03824ac0 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c @@ -0,0 +1,53 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/cel.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/type/matcher/v3/cel.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/type/v3/cel.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_type_matcher_v3_CelMatcher_submsgs[1] = { + {.submsg = &xds__type__v3__CelExpression_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_CelMatcher__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__CelMatcher_msg_init = { + &xds_type_matcher_v3_CelMatcher_submsgs[0], + &xds_type_matcher_v3_CelMatcher__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x001000003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &xds__type__matcher__v3__CelMatcher_msg_init, +}; + +const upb_MiniTableFile xds_type_matcher_v3_cel_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h b/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h new file mode 100644 index 00000000000..229c34bfcc7 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/cel.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_CEL_PROTO_UPB_MINITABLE_H_ +#define XDS_TYPE_MATCHER_V3_CEL_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__type__matcher__v3__CelMatcher_msg_init; + +extern const upb_MiniTableFile xds_type_matcher_v3_cel_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_CEL_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h b/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h similarity index 89% rename from src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h rename to src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h index 2896e7f7b2e..9822cb8e3a7 100644 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/type/matcher/v3/domain.proto * @@ -10,7 +9,14 @@ #define XDS_TYPE_MATCHER_V3_DOMAIN_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "xds/type/matcher/v3/domain.upb_minitable.h" + +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,22 +25,19 @@ extern "C" { typedef struct xds_type_matcher_v3_ServerNameMatcher xds_type_matcher_v3_ServerNameMatcher; typedef struct xds_type_matcher_v3_ServerNameMatcher_DomainMatcher xds_type_matcher_v3_ServerNameMatcher_DomainMatcher; -extern const upb_MiniTable xds_type_matcher_v3_ServerNameMatcher_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_msg_init; struct xds_type_matcher_v3_Matcher_OnMatch; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_OnMatch_msg_init; /* xds.type.matcher.v3.ServerNameMatcher */ UPB_INLINE xds_type_matcher_v3_ServerNameMatcher* xds_type_matcher_v3_ServerNameMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_ServerNameMatcher*)_upb_Message_New(&xds_type_matcher_v3_ServerNameMatcher_msg_init, arena); + return (xds_type_matcher_v3_ServerNameMatcher*)_upb_Message_New(&xds__type__matcher__v3__ServerNameMatcher_msg_init, arena); } UPB_INLINE xds_type_matcher_v3_ServerNameMatcher* xds_type_matcher_v3_ServerNameMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { xds_type_matcher_v3_ServerNameMatcher* ret = xds_type_matcher_v3_ServerNameMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_ServerNameMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__ServerNameMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -44,7 +47,7 @@ UPB_INLINE xds_type_matcher_v3_ServerNameMatcher* xds_type_matcher_v3_ServerName int options, upb_Arena* arena) { xds_type_matcher_v3_ServerNameMatcher* ret = xds_type_matcher_v3_ServerNameMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_ServerNameMatcher_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__ServerNameMatcher_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -52,13 +55,13 @@ UPB_INLINE xds_type_matcher_v3_ServerNameMatcher* xds_type_matcher_v3_ServerName } UPB_INLINE char* xds_type_matcher_v3_ServerNameMatcher_serialize(const xds_type_matcher_v3_ServerNameMatcher* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_ServerNameMatcher_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__type__matcher__v3__ServerNameMatcher_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_type_matcher_v3_ServerNameMatcher_serialize_ex(const xds_type_matcher_v3_ServerNameMatcher* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_ServerNameMatcher_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__type__matcher__v3__ServerNameMatcher_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void xds_type_matcher_v3_ServerNameMatcher_clear_domain_matchers(xds_type_matcher_v3_ServerNameMatcher* msg) { @@ -120,7 +123,7 @@ UPB_INLINE struct xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* xds_type_ if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* sub = (struct xds_type_matcher_v3_ServerNameMatcher_DomainMatcher*)_upb_Message_New(&xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_msg_init, arena); + struct xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* sub = (struct xds_type_matcher_v3_ServerNameMatcher_DomainMatcher*)_upb_Message_New(&xds__type__matcher__v3__ServerNameMatcher__DomainMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -129,12 +132,12 @@ UPB_INLINE struct xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* xds_type_ /* xds.type.matcher.v3.ServerNameMatcher.DomainMatcher */ UPB_INLINE xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_ServerNameMatcher_DomainMatcher*)_upb_Message_New(&xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_msg_init, arena); + return (xds_type_matcher_v3_ServerNameMatcher_DomainMatcher*)_upb_Message_New(&xds__type__matcher__v3__ServerNameMatcher__DomainMatcher_msg_init, arena); } UPB_INLINE xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* ret = xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__ServerNameMatcher__DomainMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -144,7 +147,7 @@ UPB_INLINE xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* xds_type_matcher int options, upb_Arena* arena) { xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* ret = xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__ServerNameMatcher__DomainMatcher_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -152,13 +155,13 @@ UPB_INLINE xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* xds_type_matcher } UPB_INLINE char* xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_serialize(const xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__type__matcher__v3__ServerNameMatcher__DomainMatcher_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_serialize_ex(const xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__type__matcher__v3__ServerNameMatcher__DomainMatcher_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_clear_domains(xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* msg) { @@ -245,14 +248,12 @@ UPB_INLINE void xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_set_on_match UPB_INLINE struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_mutable_on_match(xds_type_matcher_v3_ServerNameMatcher_DomainMatcher* msg, upb_Arena* arena) { struct xds_type_matcher_v3_Matcher_OnMatch* sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_on_match(msg); if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds_type_matcher_v3_Matcher_OnMatch_msg_init, arena); + sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds__type__matcher__v3__Matcher__OnMatch_msg_init, arena); if (sub) xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_set_on_match(msg, sub); } return sub; } -extern const upb_MiniTableFile xds_type_matcher_v3_domain_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c b/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c new file mode 100644 index 00000000000..8e3ce6dbf08 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c @@ -0,0 +1,72 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/domain.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/type/matcher/v3/domain.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_type_matcher_v3_ServerNameMatcher_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__ServerNameMatcher__DomainMatcher_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_ServerNameMatcher__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__ServerNameMatcher_msg_init = { + &xds_type_matcher_v3_ServerNameMatcher_submsgs[0], + &xds_type_matcher_v3_ServerNameMatcher__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_ServerNameMatcher_DomainMatcher__fields[2] = { + {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__ServerNameMatcher__DomainMatcher_msg_init = { + &xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_submsgs[0], + &xds_type_matcher_v3_ServerNameMatcher_DomainMatcher__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prs_1bt}, + {0x0010000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &xds__type__matcher__v3__ServerNameMatcher_msg_init, + &xds__type__matcher__v3__ServerNameMatcher__DomainMatcher_msg_init, +}; + +const upb_MiniTableFile xds_type_matcher_v3_domain_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h b/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h new file mode 100644 index 00000000000..40a7d6c72c3 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/domain.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_DOMAIN_PROTO_UPB_MINITABLE_H_ +#define XDS_TYPE_MATCHER_V3_DOMAIN_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__type__matcher__v3__ServerNameMatcher_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__ServerNameMatcher__DomainMatcher_msg_init; + +extern const upb_MiniTableFile xds_type_matcher_v3_domain_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_DOMAIN_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h b/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h new file mode 100644 index 00000000000..be663ce5bd6 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h @@ -0,0 +1,71 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/http_inputs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_H_ +#define XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/type/matcher/v3/http_inputs.upb_minitable.h" + +#include "xds/annotations/v3/status.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_type_matcher_v3_HttpAttributesCelMatchInput xds_type_matcher_v3_HttpAttributesCelMatchInput; + + + +/* xds.type.matcher.v3.HttpAttributesCelMatchInput */ + +UPB_INLINE xds_type_matcher_v3_HttpAttributesCelMatchInput* xds_type_matcher_v3_HttpAttributesCelMatchInput_new(upb_Arena* arena) { + return (xds_type_matcher_v3_HttpAttributesCelMatchInput*)_upb_Message_New(&xds__type__matcher__v3__HttpAttributesCelMatchInput_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_HttpAttributesCelMatchInput* xds_type_matcher_v3_HttpAttributesCelMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_HttpAttributesCelMatchInput* ret = xds_type_matcher_v3_HttpAttributesCelMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__HttpAttributesCelMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_HttpAttributesCelMatchInput* xds_type_matcher_v3_HttpAttributesCelMatchInput_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_HttpAttributesCelMatchInput* ret = xds_type_matcher_v3_HttpAttributesCelMatchInput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__HttpAttributesCelMatchInput_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_HttpAttributesCelMatchInput_serialize(const xds_type_matcher_v3_HttpAttributesCelMatchInput* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__HttpAttributesCelMatchInput_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_HttpAttributesCelMatchInput_serialize_ex(const xds_type_matcher_v3_HttpAttributesCelMatchInput* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__HttpAttributesCelMatchInput_msg_init, options, arena, &ptr, len); + return ptr; +} + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c b/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c new file mode 100644 index 00000000000..286e0bac6c2 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c @@ -0,0 +1,36 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/http_inputs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/type/matcher/v3/http_inputs.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +const upb_MiniTable xds__type__matcher__v3__HttpAttributesCelMatchInput_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTable *messages_layout[1] = { + &xds__type__matcher__v3__HttpAttributesCelMatchInput_msg_init, +}; + +const upb_MiniTableFile xds_type_matcher_v3_http_inputs_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h b/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h new file mode 100644 index 00000000000..11c8ca398dd --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/http_inputs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_MINITABLE_H_ +#define XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__type__matcher__v3__HttpAttributesCelMatchInput_msg_init; + +extern const upb_MiniTableFile xds_type_matcher_v3_http_inputs_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h b/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h similarity index 89% rename from src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h rename to src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h index 022916a9ae3..3a6d5140576 100644 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/type/matcher/v3/ip.proto * @@ -10,7 +9,15 @@ #define XDS_TYPE_MATCHER_V3_IP_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "xds/type/matcher/v3/ip.upb_minitable.h" + +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/cidr.upb_minitable.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -19,24 +26,20 @@ extern "C" { typedef struct xds_type_matcher_v3_IPMatcher xds_type_matcher_v3_IPMatcher; typedef struct xds_type_matcher_v3_IPMatcher_IPRangeMatcher xds_type_matcher_v3_IPMatcher_IPRangeMatcher; -extern const upb_MiniTable xds_type_matcher_v3_IPMatcher_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_IPMatcher_IPRangeMatcher_msg_init; struct xds_core_v3_CidrRange; struct xds_type_matcher_v3_Matcher_OnMatch; -extern const upb_MiniTable xds_core_v3_CidrRange_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_OnMatch_msg_init; /* xds.type.matcher.v3.IPMatcher */ UPB_INLINE xds_type_matcher_v3_IPMatcher* xds_type_matcher_v3_IPMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_IPMatcher*)_upb_Message_New(&xds_type_matcher_v3_IPMatcher_msg_init, arena); + return (xds_type_matcher_v3_IPMatcher*)_upb_Message_New(&xds__type__matcher__v3__IPMatcher_msg_init, arena); } UPB_INLINE xds_type_matcher_v3_IPMatcher* xds_type_matcher_v3_IPMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { xds_type_matcher_v3_IPMatcher* ret = xds_type_matcher_v3_IPMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_IPMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__IPMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -46,7 +49,7 @@ UPB_INLINE xds_type_matcher_v3_IPMatcher* xds_type_matcher_v3_IPMatcher_parse_ex int options, upb_Arena* arena) { xds_type_matcher_v3_IPMatcher* ret = xds_type_matcher_v3_IPMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_IPMatcher_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__IPMatcher_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -54,13 +57,13 @@ UPB_INLINE xds_type_matcher_v3_IPMatcher* xds_type_matcher_v3_IPMatcher_parse_ex } UPB_INLINE char* xds_type_matcher_v3_IPMatcher_serialize(const xds_type_matcher_v3_IPMatcher* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_IPMatcher_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__type__matcher__v3__IPMatcher_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_type_matcher_v3_IPMatcher_serialize_ex(const xds_type_matcher_v3_IPMatcher* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_IPMatcher_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__type__matcher__v3__IPMatcher_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void xds_type_matcher_v3_IPMatcher_clear_range_matchers(xds_type_matcher_v3_IPMatcher* msg) { @@ -122,7 +125,7 @@ UPB_INLINE struct xds_type_matcher_v3_IPMatcher_IPRangeMatcher* xds_type_matcher if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct xds_type_matcher_v3_IPMatcher_IPRangeMatcher* sub = (struct xds_type_matcher_v3_IPMatcher_IPRangeMatcher*)_upb_Message_New(&xds_type_matcher_v3_IPMatcher_IPRangeMatcher_msg_init, arena); + struct xds_type_matcher_v3_IPMatcher_IPRangeMatcher* sub = (struct xds_type_matcher_v3_IPMatcher_IPRangeMatcher*)_upb_Message_New(&xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -131,12 +134,12 @@ UPB_INLINE struct xds_type_matcher_v3_IPMatcher_IPRangeMatcher* xds_type_matcher /* xds.type.matcher.v3.IPMatcher.IPRangeMatcher */ UPB_INLINE xds_type_matcher_v3_IPMatcher_IPRangeMatcher* xds_type_matcher_v3_IPMatcher_IPRangeMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_IPMatcher_IPRangeMatcher*)_upb_Message_New(&xds_type_matcher_v3_IPMatcher_IPRangeMatcher_msg_init, arena); + return (xds_type_matcher_v3_IPMatcher_IPRangeMatcher*)_upb_Message_New(&xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init, arena); } UPB_INLINE xds_type_matcher_v3_IPMatcher_IPRangeMatcher* xds_type_matcher_v3_IPMatcher_IPRangeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { xds_type_matcher_v3_IPMatcher_IPRangeMatcher* ret = xds_type_matcher_v3_IPMatcher_IPRangeMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_IPMatcher_IPRangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -146,7 +149,7 @@ UPB_INLINE xds_type_matcher_v3_IPMatcher_IPRangeMatcher* xds_type_matcher_v3_IPM int options, upb_Arena* arena) { xds_type_matcher_v3_IPMatcher_IPRangeMatcher* ret = xds_type_matcher_v3_IPMatcher_IPRangeMatcher_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_IPMatcher_IPRangeMatcher_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -154,13 +157,13 @@ UPB_INLINE xds_type_matcher_v3_IPMatcher_IPRangeMatcher* xds_type_matcher_v3_IPM } UPB_INLINE char* xds_type_matcher_v3_IPMatcher_IPRangeMatcher_serialize(const xds_type_matcher_v3_IPMatcher_IPRangeMatcher* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_IPMatcher_IPRangeMatcher_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_type_matcher_v3_IPMatcher_IPRangeMatcher_serialize_ex(const xds_type_matcher_v3_IPMatcher_IPRangeMatcher* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_IPMatcher_IPRangeMatcher_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void xds_type_matcher_v3_IPMatcher_IPRangeMatcher_clear_ranges(xds_type_matcher_v3_IPMatcher_IPRangeMatcher* msg) { @@ -248,7 +251,7 @@ UPB_INLINE struct xds_core_v3_CidrRange* xds_type_matcher_v3_IPMatcher_IPRangeMa if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { return NULL; } - struct xds_core_v3_CidrRange* sub = (struct xds_core_v3_CidrRange*)_upb_Message_New(&xds_core_v3_CidrRange_msg_init, arena); + struct xds_core_v3_CidrRange* sub = (struct xds_core_v3_CidrRange*)_upb_Message_New(&xds__core__v3__CidrRange_msg_init, arena); if (!arr || !sub) return NULL; _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); return sub; @@ -260,7 +263,7 @@ UPB_INLINE void xds_type_matcher_v3_IPMatcher_IPRangeMatcher_set_on_match(xds_ty UPB_INLINE struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_IPMatcher_IPRangeMatcher_mutable_on_match(xds_type_matcher_v3_IPMatcher_IPRangeMatcher* msg, upb_Arena* arena) { struct xds_type_matcher_v3_Matcher_OnMatch* sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)xds_type_matcher_v3_IPMatcher_IPRangeMatcher_on_match(msg); if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds_type_matcher_v3_Matcher_OnMatch_msg_init, arena); + sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds__type__matcher__v3__Matcher__OnMatch_msg_init, arena); if (sub) xds_type_matcher_v3_IPMatcher_IPRangeMatcher_set_on_match(msg, sub); } return sub; @@ -270,8 +273,6 @@ UPB_INLINE void xds_type_matcher_v3_IPMatcher_IPRangeMatcher_set_exclusive(xds_t _upb_Message_SetNonExtensionField(msg, &field, &value); } -extern const upb_MiniTableFile xds_type_matcher_v3_ip_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c b/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c new file mode 100644 index 00000000000..04716e43897 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c @@ -0,0 +1,75 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/ip.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/type/matcher/v3/ip.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/cidr.upb_minitable.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_type_matcher_v3_IPMatcher_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_IPMatcher__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__IPMatcher_msg_init = { + &xds_type_matcher_v3_IPMatcher_submsgs[0], + &xds_type_matcher_v3_IPMatcher__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_IPMatcher_IPRangeMatcher_submsgs[2] = { + {.submsg = &xds__core__v3__CidrRange_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_IPMatcher_IPRangeMatcher__fields[3] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init = { + &xds_type_matcher_v3_IPMatcher_IPRangeMatcher_submsgs[0], + &xds_type_matcher_v3_IPMatcher_IPRangeMatcher__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, + {0x0010000001010012, &upb_psm_1bt_maxmaxb}, + {0x000100003f000018, &upb_psb1_1bt}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &xds__type__matcher__v3__IPMatcher_msg_init, + &xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init, +}; + +const upb_MiniTableFile xds_type_matcher_v3_ip_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h b/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h new file mode 100644 index 00000000000..c20f904848f --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/ip.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_IP_PROTO_UPB_MINITABLE_H_ +#define XDS_TYPE_MATCHER_V3_IP_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__type__matcher__v3__IPMatcher_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__IPMatcher__IPRangeMatcher_msg_init; + +extern const upb_MiniTableFile xds_type_matcher_v3_ip_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_IP_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h b/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h new file mode 100644 index 00000000000..692ee144265 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h @@ -0,0 +1,1107 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/matcher.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPB_H_ +#define XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/type/matcher/v3/matcher.upb_minitable.h" + +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/extension.upb_minitable.h" +#include "xds/type/matcher/v3/string.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_type_matcher_v3_Matcher xds_type_matcher_v3_Matcher; +typedef struct xds_type_matcher_v3_Matcher_OnMatch xds_type_matcher_v3_Matcher_OnMatch; +typedef struct xds_type_matcher_v3_Matcher_MatcherList xds_type_matcher_v3_Matcher_MatcherList; +typedef struct xds_type_matcher_v3_Matcher_MatcherList_Predicate xds_type_matcher_v3_Matcher_MatcherList_Predicate; +typedef struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate; +typedef struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList; +typedef struct xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher; +typedef struct xds_type_matcher_v3_Matcher_MatcherTree xds_type_matcher_v3_Matcher_MatcherTree; +typedef struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap xds_type_matcher_v3_Matcher_MatcherTree_MatchMap; +typedef struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry; +struct xds_core_v3_TypedExtensionConfig; +struct xds_type_matcher_v3_StringMatcher; + + + +/* xds.type.matcher.v3.Matcher */ + +UPB_INLINE xds_type_matcher_v3_Matcher* xds_type_matcher_v3_Matcher_new(upb_Arena* arena) { + return (xds_type_matcher_v3_Matcher*)_upb_Message_New(&xds__type__matcher__v3__Matcher_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_Matcher* xds_type_matcher_v3_Matcher_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_Matcher* ret = xds_type_matcher_v3_Matcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_Matcher* xds_type_matcher_v3_Matcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_Matcher* ret = xds_type_matcher_v3_Matcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_serialize(const xds_type_matcher_v3_Matcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_serialize_ex(const xds_type_matcher_v3_Matcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + xds_type_matcher_v3_Matcher_matcher_type_matcher_list = 1, + xds_type_matcher_v3_Matcher_matcher_type_matcher_tree = 2, + xds_type_matcher_v3_Matcher_matcher_type_NOT_SET = 0 +} xds_type_matcher_v3_Matcher_matcher_type_oneofcases; +UPB_INLINE xds_type_matcher_v3_Matcher_matcher_type_oneofcases xds_type_matcher_v3_Matcher_matcher_type_case(const xds_type_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (xds_type_matcher_v3_Matcher_matcher_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_clear_matcher_list(xds_type_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList* xds_type_matcher_v3_Matcher_matcher_list(const xds_type_matcher_v3_Matcher* msg) { + const xds_type_matcher_v3_Matcher_MatcherList* default_val = NULL; + const xds_type_matcher_v3_Matcher_MatcherList* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_has_matcher_list(const xds_type_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_clear_matcher_tree(xds_type_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherTree* xds_type_matcher_v3_Matcher_matcher_tree(const xds_type_matcher_v3_Matcher* msg) { + const xds_type_matcher_v3_Matcher_MatcherTree* default_val = NULL; + const xds_type_matcher_v3_Matcher_MatcherTree* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_has_matcher_tree(const xds_type_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_clear_on_no_match(xds_type_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_on_no_match(const xds_type_matcher_v3_Matcher* msg) { + const xds_type_matcher_v3_Matcher_OnMatch* default_val = NULL; + const xds_type_matcher_v3_Matcher_OnMatch* ret; + const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_has_on_no_match(const xds_type_matcher_v3_Matcher* msg) { + const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void xds_type_matcher_v3_Matcher_set_matcher_list(xds_type_matcher_v3_Matcher *msg, xds_type_matcher_v3_Matcher_MatcherList* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList* xds_type_matcher_v3_Matcher_mutable_matcher_list(xds_type_matcher_v3_Matcher* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_MatcherList* sub = (struct xds_type_matcher_v3_Matcher_MatcherList*)xds_type_matcher_v3_Matcher_matcher_list(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_MatcherList*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherList_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_set_matcher_list(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_set_matcher_tree(xds_type_matcher_v3_Matcher *msg, xds_type_matcher_v3_Matcher_MatcherTree* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherTree* xds_type_matcher_v3_Matcher_mutable_matcher_tree(xds_type_matcher_v3_Matcher* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_MatcherTree* sub = (struct xds_type_matcher_v3_Matcher_MatcherTree*)xds_type_matcher_v3_Matcher_matcher_tree(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_MatcherTree*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherTree_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_set_matcher_tree(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_set_on_no_match(xds_type_matcher_v3_Matcher *msg, xds_type_matcher_v3_Matcher_OnMatch* value) { + const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_mutable_on_no_match(xds_type_matcher_v3_Matcher* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_OnMatch* sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)xds_type_matcher_v3_Matcher_on_no_match(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds__type__matcher__v3__Matcher__OnMatch_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_set_on_no_match(msg, sub); + } + return sub; +} + +/* xds.type.matcher.v3.Matcher.OnMatch */ + +UPB_INLINE xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_OnMatch_new(upb_Arena* arena) { + return (xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds__type__matcher__v3__Matcher__OnMatch_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_OnMatch_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_OnMatch* ret = xds_type_matcher_v3_Matcher_OnMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__OnMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_OnMatch_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_OnMatch* ret = xds_type_matcher_v3_Matcher_OnMatch_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__OnMatch_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_OnMatch_serialize(const xds_type_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__OnMatch_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_OnMatch_serialize_ex(const xds_type_matcher_v3_Matcher_OnMatch* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__OnMatch_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + xds_type_matcher_v3_Matcher_OnMatch_on_match_matcher = 1, + xds_type_matcher_v3_Matcher_OnMatch_on_match_action = 2, + xds_type_matcher_v3_Matcher_OnMatch_on_match_NOT_SET = 0 +} xds_type_matcher_v3_Matcher_OnMatch_on_match_oneofcases; +UPB_INLINE xds_type_matcher_v3_Matcher_OnMatch_on_match_oneofcases xds_type_matcher_v3_Matcher_OnMatch_on_match_case(const xds_type_matcher_v3_Matcher_OnMatch* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (xds_type_matcher_v3_Matcher_OnMatch_on_match_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_OnMatch_clear_matcher(xds_type_matcher_v3_Matcher_OnMatch* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher* xds_type_matcher_v3_Matcher_OnMatch_matcher(const xds_type_matcher_v3_Matcher_OnMatch* msg) { + const xds_type_matcher_v3_Matcher* default_val = NULL; + const xds_type_matcher_v3_Matcher* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_OnMatch_has_matcher(const xds_type_matcher_v3_Matcher_OnMatch* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_OnMatch_clear_action(xds_type_matcher_v3_Matcher_OnMatch* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_OnMatch_action(const xds_type_matcher_v3_Matcher_OnMatch* msg) { + const struct xds_core_v3_TypedExtensionConfig* default_val = NULL; + const struct xds_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_OnMatch_has_action(const xds_type_matcher_v3_Matcher_OnMatch* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void xds_type_matcher_v3_Matcher_OnMatch_set_matcher(xds_type_matcher_v3_Matcher_OnMatch *msg, xds_type_matcher_v3_Matcher* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher* xds_type_matcher_v3_Matcher_OnMatch_mutable_matcher(xds_type_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher* sub = (struct xds_type_matcher_v3_Matcher*)xds_type_matcher_v3_Matcher_OnMatch_matcher(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher*)_upb_Message_New(&xds__type__matcher__v3__Matcher_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_OnMatch_set_matcher(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_OnMatch_set_action(xds_type_matcher_v3_Matcher_OnMatch *msg, struct xds_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_OnMatch_mutable_action(xds_type_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena) { + struct xds_core_v3_TypedExtensionConfig* sub = (struct xds_core_v3_TypedExtensionConfig*)xds_type_matcher_v3_Matcher_OnMatch_action(msg); + if (sub == NULL) { + sub = (struct xds_core_v3_TypedExtensionConfig*)_upb_Message_New(&xds__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_OnMatch_set_action(msg, sub); + } + return sub; +} + +/* xds.type.matcher.v3.Matcher.MatcherList */ + +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList* xds_type_matcher_v3_Matcher_MatcherList_new(upb_Arena* arena) { + return (xds_type_matcher_v3_Matcher_MatcherList*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherList_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList* xds_type_matcher_v3_Matcher_MatcherList_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherList* ret = xds_type_matcher_v3_Matcher_MatcherList_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList* xds_type_matcher_v3_Matcher_MatcherList_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherList* ret = xds_type_matcher_v3_Matcher_MatcherList_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherList_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_serialize(const xds_type_matcher_v3_Matcher_MatcherList* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherList_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherList* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherList_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_clear_matchers(xds_type_matcher_v3_Matcher_MatcherList* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* const* xds_type_matcher_v3_Matcher_MatcherList_matchers(const xds_type_matcher_v3_Matcher_MatcherList* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _xds_type_matcher_v3_Matcher_MatcherList_matchers_upb_array(const xds_type_matcher_v3_Matcher_MatcherList* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _xds_type_matcher_v3_Matcher_MatcherList_matchers_mutable_upb_array(const xds_type_matcher_v3_Matcher_MatcherList* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_has_matchers(const xds_type_matcher_v3_Matcher_MatcherList* msg) { + size_t size; + xds_type_matcher_v3_Matcher_MatcherList_matchers(msg, &size); + return size != 0; +} + +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher** xds_type_matcher_v3_Matcher_MatcherList_mutable_matchers(xds_type_matcher_v3_Matcher_MatcherList* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher** xds_type_matcher_v3_Matcher_MatcherList_resize_matchers(xds_type_matcher_v3_Matcher_MatcherList* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* xds_type_matcher_v3_Matcher_MatcherList_add_matchers(xds_type_matcher_v3_Matcher_MatcherList* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* xds.type.matcher.v3.Matcher.MatcherList.Predicate */ + +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_new(upb_Arena* arena) { + return (xds_type_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherList_Predicate* ret = xds_type_matcher_v3_Matcher_MatcherList_Predicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherList_Predicate* ret = xds_type_matcher_v3_Matcher_MatcherList_Predicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_Predicate_serialize(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_Predicate_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_single_predicate = 1, + xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_or_matcher = 2, + xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_and_matcher = 3, + xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_not_matcher = 4, + xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_NOT_SET = 0 +} xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases; +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_case(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_clear_single_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_single_predicate(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* default_val = NULL; + const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_has_single_predicate(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_clear_or_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_or_matcher(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* default_val = NULL; + const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_has_or_matcher(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_clear_and_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_and_matcher(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* default_val = NULL; + const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret; + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_has_and_matcher(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_clear_not_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_not_matcher(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const xds_type_matcher_v3_Matcher_MatcherList_Predicate* default_val = NULL; + const xds_type_matcher_v3_Matcher_MatcherList_Predicate* ret; + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_has_not_matcher(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_single_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate *msg, xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_mutable_single_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_single_predicate(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_single_predicate(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_or_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate *msg, xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_mutable_or_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_or_matcher(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_or_matcher(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_and_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate *msg, xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* value) { + const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_mutable_and_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_and_matcher(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_and_matcher(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_not_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate *msg, xds_type_matcher_v3_Matcher_MatcherList_Predicate* value) { + const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_mutable_not_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_not_matcher(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_not_matcher(msg, sub); + } + return sub; +} + +/* xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate */ + +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(upb_Arena* arena) { + return (xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret = xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret = xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_serialize(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_value_match = 2, + xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_custom_match = 3, + xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_NOT_SET = 0 +} xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases; +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_case(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_input(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_input(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const struct xds_core_v3_TypedExtensionConfig* default_val = NULL; + const struct xds_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_input(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_value_match(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_type_matcher_v3_StringMatcher* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_value_match(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const struct xds_type_matcher_v3_StringMatcher* default_val = NULL; + const struct xds_type_matcher_v3_StringMatcher* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_value_match(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_custom_match(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_custom_match(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const struct xds_core_v3_TypedExtensionConfig* default_val = NULL; + const struct xds_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_custom_match(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_input(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate *msg, struct xds_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_input(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) { + struct xds_core_v3_TypedExtensionConfig* sub = (struct xds_core_v3_TypedExtensionConfig*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_input(msg); + if (sub == NULL) { + sub = (struct xds_core_v3_TypedExtensionConfig*)_upb_Message_New(&xds__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_input(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_value_match(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate *msg, struct xds_type_matcher_v3_StringMatcher* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_StringMatcher* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_value_match(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_StringMatcher* sub = (struct xds_type_matcher_v3_StringMatcher*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_value_match(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_StringMatcher*)_upb_Message_New(&xds__type__matcher__v3__StringMatcher_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_value_match(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_custom_match(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate *msg, struct xds_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_custom_match(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) { + struct xds_core_v3_TypedExtensionConfig* sub = (struct xds_core_v3_TypedExtensionConfig*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_custom_match(msg); + if (sub == NULL) { + sub = (struct xds_core_v3_TypedExtensionConfig*)_upb_Message_New(&xds__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_custom_match(msg, sub); + } + return sub; +} + +/* xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList */ + +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(upb_Arena* arena) { + return (xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret = xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret = xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_serialize(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_clear_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_Predicate* const* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const xds_type_matcher_v3_Matcher_MatcherList_Predicate* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate_upb_array(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate_mutable_upb_array(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_has_predicate(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg) { + size_t size; + xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate(msg, &size); + return size != 0; +} + +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate** xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_mutable_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (xds_type_matcher_v3_Matcher_MatcherList_Predicate**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate** xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_resize_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (xds_type_matcher_v3_Matcher_MatcherList_Predicate**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_add_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct xds_type_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* xds.type.matcher.v3.Matcher.MatcherList.FieldMatcher */ + +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_new(upb_Arena* arena) { + return (xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* ret = xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* ret = xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_serialize(const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_clear_predicate(xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_predicate(const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { + const xds_type_matcher_v3_Matcher_MatcherList_Predicate* default_val = NULL; + const xds_type_matcher_v3_Matcher_MatcherList_Predicate* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_has_predicate(const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_clear_on_match(xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_on_match(const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { + const xds_type_matcher_v3_Matcher_OnMatch* default_val = NULL; + const xds_type_matcher_v3_Matcher_OnMatch* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_has_on_match(const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_set_predicate(xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher *msg, xds_type_matcher_v3_Matcher_MatcherList_Predicate* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_mutable_predicate(xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate*)xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_predicate(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_set_predicate(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_set_on_match(xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher *msg, xds_type_matcher_v3_Matcher_OnMatch* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_mutable_on_match(xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_OnMatch* sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_on_match(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds__type__matcher__v3__Matcher__OnMatch_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_set_on_match(msg, sub); + } + return sub; +} + +/* xds.type.matcher.v3.Matcher.MatcherTree */ + +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree* xds_type_matcher_v3_Matcher_MatcherTree_new(upb_Arena* arena) { + return (xds_type_matcher_v3_Matcher_MatcherTree*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherTree_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree* xds_type_matcher_v3_Matcher_MatcherTree_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherTree* ret = xds_type_matcher_v3_Matcher_MatcherTree_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherTree_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree* xds_type_matcher_v3_Matcher_MatcherTree_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherTree* ret = xds_type_matcher_v3_Matcher_MatcherTree_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherTree_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherTree_serialize(const xds_type_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherTree_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherTree_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherTree* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherTree_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + xds_type_matcher_v3_Matcher_MatcherTree_tree_type_exact_match_map = 2, + xds_type_matcher_v3_Matcher_MatcherTree_tree_type_prefix_match_map = 3, + xds_type_matcher_v3_Matcher_MatcherTree_tree_type_custom_match = 4, + xds_type_matcher_v3_Matcher_MatcherTree_tree_type_NOT_SET = 0 +} xds_type_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases; +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases xds_type_matcher_v3_Matcher_MatcherTree_tree_type_case(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (xds_type_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_clear_input(xds_type_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherTree_input(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { + const struct xds_core_v3_TypedExtensionConfig* default_val = NULL; + const struct xds_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_has_input(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_clear_exact_match_map(xds_type_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_exact_match_map(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { + const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* default_val = NULL; + const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_has_exact_match_map(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_clear_prefix_match_map(xds_type_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_prefix_match_map(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { + const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* default_val = NULL; + const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_has_prefix_match_map(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_clear_custom_match(xds_type_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherTree_custom_match(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { + const struct xds_core_v3_TypedExtensionConfig* default_val = NULL; + const struct xds_core_v3_TypedExtensionConfig* ret; + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_has_custom_match(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_set_input(xds_type_matcher_v3_Matcher_MatcherTree *msg, struct xds_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherTree_mutable_input(xds_type_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { + struct xds_core_v3_TypedExtensionConfig* sub = (struct xds_core_v3_TypedExtensionConfig*)xds_type_matcher_v3_Matcher_MatcherTree_input(msg); + if (sub == NULL) { + sub = (struct xds_core_v3_TypedExtensionConfig*)_upb_Message_New(&xds__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_MatcherTree_set_input(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_set_exact_match_map(xds_type_matcher_v3_Matcher_MatcherTree *msg, xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_mutable_exact_match_map(xds_type_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* sub = (struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap*)xds_type_matcher_v3_Matcher_MatcherTree_exact_match_map(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_MatcherTree_set_exact_match_map(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_set_prefix_match_map(xds_type_matcher_v3_Matcher_MatcherTree *msg, xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_mutable_prefix_match_map(xds_type_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* sub = (struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap*)xds_type_matcher_v3_Matcher_MatcherTree_prefix_match_map(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_MatcherTree_set_prefix_match_map(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_set_custom_match(xds_type_matcher_v3_Matcher_MatcherTree *msg, struct xds_core_v3_TypedExtensionConfig* value) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherTree_mutable_custom_match(xds_type_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { + struct xds_core_v3_TypedExtensionConfig* sub = (struct xds_core_v3_TypedExtensionConfig*)xds_type_matcher_v3_Matcher_MatcherTree_custom_match(msg); + if (sub == NULL) { + sub = (struct xds_core_v3_TypedExtensionConfig*)_upb_Message_New(&xds__core__v3__TypedExtensionConfig_msg_init, arena); + if (sub) xds_type_matcher_v3_Matcher_MatcherTree_set_custom_match(msg, sub); + } + return sub; +} + +/* xds.type.matcher.v3.Matcher.MatcherTree.MatchMap */ + +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_new(upb_Arena* arena) { + return (xds_type_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* ret = xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* ret = xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_serialize(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_clear_map(xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE size_t xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_size(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + return map ? _upb_Map_Size(map) : 0; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_get(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key, xds_type_matcher_v3_Matcher_OnMatch** val) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Get(map, &key, 0, val, sizeof(*val)); +} +UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_next(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, size_t* iter) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Map* map = upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry*)_upb_map_next(map, iter); +} + +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_clear(xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return; + _upb_Map_Clear(map); +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_set(xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key, xds_type_matcher_v3_Matcher_OnMatch* val, upb_Arena* a) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, sizeof(val), a); + return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) != + kUpb_MapInsertStatus_OutOfMemory; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_delete(xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return false; + return _upb_Map_Delete(map, &key, 0, NULL); +} +UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_nextmutable(xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, size_t* iter) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); + if (!map) return NULL; + return (xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry*)_upb_map_next(map, iter); +} + +/* xds.type.matcher.v3.Matcher.MatcherTree.MatchMap.MapEntry */ + +UPB_INLINE upb_StringView xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_key(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* msg) { + upb_StringView ret; + _upb_msg_map_key(msg, &ret, 0); + return ret; +} +UPB_INLINE const xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_value(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* msg) { + xds_type_matcher_v3_Matcher_OnMatch* ret; + _upb_msg_map_value(msg, &ret, sizeof(ret)); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_has_value(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_set_value(xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry *msg, xds_type_matcher_v3_Matcher_OnMatch* value) { + _upb_msg_map_set_value(msg, &value, sizeof(xds_type_matcher_v3_Matcher_OnMatch*)); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c b/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c new file mode 100644 index 00000000000..aec7f443764 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c @@ -0,0 +1,265 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/matcher.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "xds/core/v3/extension.upb_minitable.h" +#include "xds/type/matcher/v3/string.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_submsgs[3] = { + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__MatcherTree_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher__fields[3] = { + {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher_msg_init = { + &xds_type_matcher_v3_Matcher_submsgs[0], + &xds_type_matcher_v3_Matcher__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001000040100000a, &upb_pom_1bt_max64b}, + {0x0010000402010012, &upb_pom_1bt_max64b}, + {0x000800000102001a, &upb_psm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_OnMatch_submsgs[2] = { + {.submsg = &xds__type__matcher__v3__Matcher_msg_init}, + {.submsg = &xds__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_OnMatch__fields[2] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__OnMatch_msg_init = { + &xds_type_matcher_v3_Matcher_OnMatch_submsgs[0], + &xds_type_matcher_v3_Matcher_OnMatch__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherList_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherList__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_Predicate_submsgs[4] = { + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList_Predicate__fields[4] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherList_Predicate_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherList_Predicate__fields[0], + UPB_SIZE(8, 16), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_max64b}, + {0x0008000002010012, &upb_pom_1bt_max64b}, + {0x000800000302001a, &upb_pom_1bt_max64b}, + {0x0008000004030022, &upb_pom_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_submsgs[3] = { + {.submsg = &xds__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &xds__type__matcher__v3__StringMatcher_msg_init}, + {.submsg = &xds__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate__fields[3] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate__fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000402010012, &upb_pom_1bt_maxmaxb}, + {0x001000040302001a, &upb_pom_1bt_maxmaxb}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_submsgs[2] = { + {.submsg = &xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x0010000002010012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherTree_submsgs[4] = { + {.submsg = &xds__core__v3__TypedExtensionConfig_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init}, + {.submsg = &xds__core__v3__TypedExtensionConfig_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherTree__fields[4] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherTree_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherTree_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherTree__fields[0], + UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_maxmaxb}, + {0x0010000402010012, &upb_pom_1bt_max64b}, + {0x001000040302001a, &upb_pom_1bt_max64b}, + {0x0010000404030022, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherTree_MatchMap__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init = { + &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_submsgs[0], + &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry__fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_max64b}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[10] = { + &xds__type__matcher__v3__Matcher_msg_init, + &xds__type__matcher__v3__Matcher__OnMatch_msg_init, + &xds__type__matcher__v3__Matcher__MatcherList_msg_init, + &xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init, + &xds__type__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init, + &xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init, + &xds__type__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init, + &xds__type__matcher__v3__Matcher__MatcherTree_msg_init, + &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init, + &xds__type__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init, +}; + +const upb_MiniTableFile xds_type_matcher_v3_matcher_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 10, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h b/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h new file mode 100644 index 00000000000..2c7520d58bc --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h @@ -0,0 +1,39 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/matcher.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPB_MINITABLE_H_ +#define XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__type__matcher__v3__Matcher_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__Matcher__OnMatch_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList__Predicate_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList__Predicate__SinglePredicate_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList__Predicate__PredicateList_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherList__FieldMatcher_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherTree_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherTree__MatchMap_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__Matcher__MatcherTree__MatchMap__MapEntry_msg_init; + +extern const upb_MiniTableFile xds_type_matcher_v3_matcher_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h b/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h new file mode 100644 index 00000000000..748babe2f5c --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h @@ -0,0 +1,726 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPB_H_ +#define XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/type/matcher/v3/range.upb_minitable.h" + +#include "xds/type/v3/range.upb_minitable.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_type_matcher_v3_Int64RangeMatcher xds_type_matcher_v3_Int64RangeMatcher; +typedef struct xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher; +typedef struct xds_type_matcher_v3_Int32RangeMatcher xds_type_matcher_v3_Int32RangeMatcher; +typedef struct xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher; +typedef struct xds_type_matcher_v3_DoubleRangeMatcher xds_type_matcher_v3_DoubleRangeMatcher; +typedef struct xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher; +struct xds_type_matcher_v3_Matcher_OnMatch; +struct xds_type_v3_DoubleRange; +struct xds_type_v3_Int32Range; +struct xds_type_v3_Int64Range; + + + +/* xds.type.matcher.v3.Int64RangeMatcher */ + +UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_new(upb_Arena* arena) { + return (xds_type_matcher_v3_Int64RangeMatcher*)_upb_Message_New(&xds__type__matcher__v3__Int64RangeMatcher_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_Int64RangeMatcher* ret = xds_type_matcher_v3_Int64RangeMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Int64RangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_Int64RangeMatcher* ret = xds_type_matcher_v3_Int64RangeMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Int64RangeMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_Int64RangeMatcher_serialize(const xds_type_matcher_v3_Int64RangeMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Int64RangeMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_Int64RangeMatcher_serialize_ex(const xds_type_matcher_v3_Int64RangeMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Int64RangeMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_matcher_v3_Int64RangeMatcher_clear_range_matchers(xds_type_matcher_v3_Int64RangeMatcher* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* const* xds_type_matcher_v3_Int64RangeMatcher_range_matchers(const xds_type_matcher_v3_Int64RangeMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _xds_type_matcher_v3_Int64RangeMatcher_range_matchers_upb_array(const xds_type_matcher_v3_Int64RangeMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _xds_type_matcher_v3_Int64RangeMatcher_range_matchers_mutable_upb_array(const xds_type_matcher_v3_Int64RangeMatcher* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool xds_type_matcher_v3_Int64RangeMatcher_has_range_matchers(const xds_type_matcher_v3_Int64RangeMatcher* msg) { + size_t size; + xds_type_matcher_v3_Int64RangeMatcher_range_matchers(msg, &size); + return size != 0; +} + +UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher** xds_type_matcher_v3_Int64RangeMatcher_mutable_range_matchers(xds_type_matcher_v3_Int64RangeMatcher* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher** xds_type_matcher_v3_Int64RangeMatcher_resize_range_matchers(xds_type_matcher_v3_Int64RangeMatcher* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_add_range_matchers(xds_type_matcher_v3_Int64RangeMatcher* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* sub = (struct xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher*)_upb_Message_New(&xds__type__matcher__v3__Int64RangeMatcher__RangeMatcher_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher */ + +UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_new(upb_Arena* arena) { + return (xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher*)_upb_Message_New(&xds__type__matcher__v3__Int64RangeMatcher__RangeMatcher_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* ret = xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Int64RangeMatcher__RangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* ret = xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Int64RangeMatcher__RangeMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_serialize(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Int64RangeMatcher__RangeMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_serialize_ex(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Int64RangeMatcher__RangeMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_clear_ranges(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_type_v3_Int64Range* const* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_ranges(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct xds_type_v3_Int64Range* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_ranges_upb_array(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_ranges_mutable_upb_array(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_has_ranges(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg) { + size_t size; + xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_ranges(msg, &size); + return size != 0; +} +UPB_INLINE void xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_clear_on_match(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_on_match(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg) { + const struct xds_type_matcher_v3_Matcher_OnMatch* default_val = NULL; + const struct xds_type_matcher_v3_Matcher_OnMatch* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_has_on_match(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE struct xds_type_v3_Int64Range** xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_mutable_ranges(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct xds_type_v3_Int64Range**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct xds_type_v3_Int64Range** xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_resize_ranges(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct xds_type_v3_Int64Range**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct xds_type_v3_Int64Range* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_add_ranges(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct xds_type_v3_Int64Range* sub = (struct xds_type_v3_Int64Range*)_upb_Message_New(&xds__type__v3__Int64Range_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_set_on_match(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher *msg, struct xds_type_matcher_v3_Matcher_OnMatch* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_mutable_on_match(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_OnMatch* sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_on_match(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds__type__matcher__v3__Matcher__OnMatch_msg_init, arena); + if (sub) xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_set_on_match(msg, sub); + } + return sub; +} + +/* xds.type.matcher.v3.Int32RangeMatcher */ + +UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_new(upb_Arena* arena) { + return (xds_type_matcher_v3_Int32RangeMatcher*)_upb_Message_New(&xds__type__matcher__v3__Int32RangeMatcher_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_Int32RangeMatcher* ret = xds_type_matcher_v3_Int32RangeMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Int32RangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_Int32RangeMatcher* ret = xds_type_matcher_v3_Int32RangeMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Int32RangeMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_Int32RangeMatcher_serialize(const xds_type_matcher_v3_Int32RangeMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Int32RangeMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_Int32RangeMatcher_serialize_ex(const xds_type_matcher_v3_Int32RangeMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Int32RangeMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_matcher_v3_Int32RangeMatcher_clear_range_matchers(xds_type_matcher_v3_Int32RangeMatcher* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* const* xds_type_matcher_v3_Int32RangeMatcher_range_matchers(const xds_type_matcher_v3_Int32RangeMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _xds_type_matcher_v3_Int32RangeMatcher_range_matchers_upb_array(const xds_type_matcher_v3_Int32RangeMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _xds_type_matcher_v3_Int32RangeMatcher_range_matchers_mutable_upb_array(const xds_type_matcher_v3_Int32RangeMatcher* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool xds_type_matcher_v3_Int32RangeMatcher_has_range_matchers(const xds_type_matcher_v3_Int32RangeMatcher* msg) { + size_t size; + xds_type_matcher_v3_Int32RangeMatcher_range_matchers(msg, &size); + return size != 0; +} + +UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher** xds_type_matcher_v3_Int32RangeMatcher_mutable_range_matchers(xds_type_matcher_v3_Int32RangeMatcher* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher** xds_type_matcher_v3_Int32RangeMatcher_resize_range_matchers(xds_type_matcher_v3_Int32RangeMatcher* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_add_range_matchers(xds_type_matcher_v3_Int32RangeMatcher* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* sub = (struct xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher*)_upb_Message_New(&xds__type__matcher__v3__Int32RangeMatcher__RangeMatcher_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher */ + +UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_new(upb_Arena* arena) { + return (xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher*)_upb_Message_New(&xds__type__matcher__v3__Int32RangeMatcher__RangeMatcher_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* ret = xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Int32RangeMatcher__RangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* ret = xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__Int32RangeMatcher__RangeMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_serialize(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Int32RangeMatcher__RangeMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_serialize_ex(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__Int32RangeMatcher__RangeMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_clear_ranges(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_type_v3_Int32Range* const* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_ranges(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct xds_type_v3_Int32Range* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_ranges_upb_array(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_ranges_mutable_upb_array(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_has_ranges(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg) { + size_t size; + xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_ranges(msg, &size); + return size != 0; +} +UPB_INLINE void xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_clear_on_match(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_on_match(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg) { + const struct xds_type_matcher_v3_Matcher_OnMatch* default_val = NULL; + const struct xds_type_matcher_v3_Matcher_OnMatch* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_has_on_match(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE struct xds_type_v3_Int32Range** xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_mutable_ranges(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct xds_type_v3_Int32Range**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct xds_type_v3_Int32Range** xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_resize_ranges(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct xds_type_v3_Int32Range**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct xds_type_v3_Int32Range* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_add_ranges(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct xds_type_v3_Int32Range* sub = (struct xds_type_v3_Int32Range*)_upb_Message_New(&xds__type__v3__Int32Range_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_set_on_match(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher *msg, struct xds_type_matcher_v3_Matcher_OnMatch* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_mutable_on_match(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_OnMatch* sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_on_match(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds__type__matcher__v3__Matcher__OnMatch_msg_init, arena); + if (sub) xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_set_on_match(msg, sub); + } + return sub; +} + +/* xds.type.matcher.v3.DoubleRangeMatcher */ + +UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_new(upb_Arena* arena) { + return (xds_type_matcher_v3_DoubleRangeMatcher*)_upb_Message_New(&xds__type__matcher__v3__DoubleRangeMatcher_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_DoubleRangeMatcher* ret = xds_type_matcher_v3_DoubleRangeMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__DoubleRangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_DoubleRangeMatcher* ret = xds_type_matcher_v3_DoubleRangeMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__DoubleRangeMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_DoubleRangeMatcher_serialize(const xds_type_matcher_v3_DoubleRangeMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__DoubleRangeMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_DoubleRangeMatcher_serialize_ex(const xds_type_matcher_v3_DoubleRangeMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__DoubleRangeMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_matcher_v3_DoubleRangeMatcher_clear_range_matchers(xds_type_matcher_v3_DoubleRangeMatcher* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* const* xds_type_matcher_v3_DoubleRangeMatcher_range_matchers(const xds_type_matcher_v3_DoubleRangeMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _xds_type_matcher_v3_DoubleRangeMatcher_range_matchers_upb_array(const xds_type_matcher_v3_DoubleRangeMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _xds_type_matcher_v3_DoubleRangeMatcher_range_matchers_mutable_upb_array(const xds_type_matcher_v3_DoubleRangeMatcher* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool xds_type_matcher_v3_DoubleRangeMatcher_has_range_matchers(const xds_type_matcher_v3_DoubleRangeMatcher* msg) { + size_t size; + xds_type_matcher_v3_DoubleRangeMatcher_range_matchers(msg, &size); + return size != 0; +} + +UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher** xds_type_matcher_v3_DoubleRangeMatcher_mutable_range_matchers(xds_type_matcher_v3_DoubleRangeMatcher* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher** xds_type_matcher_v3_DoubleRangeMatcher_resize_range_matchers(xds_type_matcher_v3_DoubleRangeMatcher* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_add_range_matchers(xds_type_matcher_v3_DoubleRangeMatcher* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* sub = (struct xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher*)_upb_Message_New(&xds__type__matcher__v3__DoubleRangeMatcher__RangeMatcher_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +/* xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher */ + +UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_new(upb_Arena* arena) { + return (xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher*)_upb_Message_New(&xds__type__matcher__v3__DoubleRangeMatcher__RangeMatcher_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* ret = xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__DoubleRangeMatcher__RangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* ret = xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__DoubleRangeMatcher__RangeMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_serialize(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__DoubleRangeMatcher__RangeMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_serialize_ex(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__DoubleRangeMatcher__RangeMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_clear_ranges(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_type_v3_DoubleRange* const* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_ranges(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const struct xds_type_v3_DoubleRange* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_ranges_upb_array(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_ranges_mutable_upb_array(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_has_ranges(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg) { + size_t size; + xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_ranges(msg, &size); + return size != 0; +} +UPB_INLINE void xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_clear_on_match(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_on_match(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg) { + const struct xds_type_matcher_v3_Matcher_OnMatch* default_val = NULL; + const struct xds_type_matcher_v3_Matcher_OnMatch* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_has_on_match(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE struct xds_type_v3_DoubleRange** xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_mutable_ranges(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (struct xds_type_v3_DoubleRange**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE struct xds_type_v3_DoubleRange** xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_resize_ranges(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (struct xds_type_v3_DoubleRange**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct xds_type_v3_DoubleRange* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_add_ranges(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct xds_type_v3_DoubleRange* sub = (struct xds_type_v3_DoubleRange*)_upb_Message_New(&xds__type__v3__DoubleRange_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_set_on_match(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher *msg, struct xds_type_matcher_v3_Matcher_OnMatch* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_mutable_on_match(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_Matcher_OnMatch* sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_on_match(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds__type__matcher__v3__Matcher__OnMatch_msg_init, arena); + if (sub) xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_set_on_match(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c b/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c new file mode 100644 index 00000000000..dcbeb22e436 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c @@ -0,0 +1,157 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/type/matcher/v3/range.upb_minitable.h" +#include "xds/type/v3/range.upb_minitable.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_type_matcher_v3_Int64RangeMatcher_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__Int64RangeMatcher__RangeMatcher_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Int64RangeMatcher__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Int64RangeMatcher_msg_init = { + &xds_type_matcher_v3_Int64RangeMatcher_submsgs[0], + &xds_type_matcher_v3_Int64RangeMatcher__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_submsgs[2] = { + {.submsg = &xds__type__v3__Int64Range_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher__fields[2] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Int64RangeMatcher__RangeMatcher_msg_init = { + &xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_submsgs[0], + &xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, + {0x0010000001010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Int32RangeMatcher_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__Int32RangeMatcher__RangeMatcher_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Int32RangeMatcher__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Int32RangeMatcher_msg_init = { + &xds_type_matcher_v3_Int32RangeMatcher_submsgs[0], + &xds_type_matcher_v3_Int32RangeMatcher__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_submsgs[2] = { + {.submsg = &xds__type__v3__Int32Range_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher__fields[2] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__Int32RangeMatcher__RangeMatcher_msg_init = { + &xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_submsgs[0], + &xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, + {0x0010000001010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_DoubleRangeMatcher_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__DoubleRangeMatcher__RangeMatcher_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_DoubleRangeMatcher__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__DoubleRangeMatcher_msg_init = { + &xds_type_matcher_v3_DoubleRangeMatcher_submsgs[0], + &xds_type_matcher_v3_DoubleRangeMatcher__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_submsgs[2] = { + {.submsg = &xds__type__v3__DoubleRange_msg_init}, + {.submsg = &xds__type__matcher__v3__Matcher__OnMatch_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher__fields[2] = { + {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__DoubleRangeMatcher__RangeMatcher_msg_init = { + &xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_submsgs[0], + &xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, + {0x0010000001010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[6] = { + &xds__type__matcher__v3__Int64RangeMatcher_msg_init, + &xds__type__matcher__v3__Int64RangeMatcher__RangeMatcher_msg_init, + &xds__type__matcher__v3__Int32RangeMatcher_msg_init, + &xds__type__matcher__v3__Int32RangeMatcher__RangeMatcher_msg_init, + &xds__type__matcher__v3__DoubleRangeMatcher_msg_init, + &xds__type__matcher__v3__DoubleRangeMatcher__RangeMatcher_msg_init, +}; + +const upb_MiniTableFile xds_type_matcher_v3_range_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 6, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h b/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h new file mode 100644 index 00000000000..6fee8eb6dea --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPB_MINITABLE_H_ +#define XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__type__matcher__v3__Int64RangeMatcher_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__Int64RangeMatcher__RangeMatcher_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__Int32RangeMatcher_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__Int32RangeMatcher__RangeMatcher_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__DoubleRangeMatcher_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__DoubleRangeMatcher__RangeMatcher_msg_init; + +extern const upb_MiniTableFile xds_type_matcher_v3_range_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h b/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h new file mode 100644 index 00000000000..08c1f00d159 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h @@ -0,0 +1,159 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/regex.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_ +#define XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/type/matcher/v3/regex.upb_minitable.h" + +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_type_matcher_v3_RegexMatcher xds_type_matcher_v3_RegexMatcher; +typedef struct xds_type_matcher_v3_RegexMatcher_GoogleRE2 xds_type_matcher_v3_RegexMatcher_GoogleRE2; + + + +/* xds.type.matcher.v3.RegexMatcher */ + +UPB_INLINE xds_type_matcher_v3_RegexMatcher* xds_type_matcher_v3_RegexMatcher_new(upb_Arena* arena) { + return (xds_type_matcher_v3_RegexMatcher*)_upb_Message_New(&xds__type__matcher__v3__RegexMatcher_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_RegexMatcher* xds_type_matcher_v3_RegexMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_RegexMatcher* ret = xds_type_matcher_v3_RegexMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__RegexMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_RegexMatcher* xds_type_matcher_v3_RegexMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_RegexMatcher* ret = xds_type_matcher_v3_RegexMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__RegexMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_RegexMatcher_serialize(const xds_type_matcher_v3_RegexMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__RegexMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_RegexMatcher_serialize_ex(const xds_type_matcher_v3_RegexMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__RegexMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + xds_type_matcher_v3_RegexMatcher_engine_type_google_re2 = 1, + xds_type_matcher_v3_RegexMatcher_engine_type_NOT_SET = 0 +} xds_type_matcher_v3_RegexMatcher_engine_type_oneofcases; +UPB_INLINE xds_type_matcher_v3_RegexMatcher_engine_type_oneofcases xds_type_matcher_v3_RegexMatcher_engine_type_case(const xds_type_matcher_v3_RegexMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (xds_type_matcher_v3_RegexMatcher_engine_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_RegexMatcher_clear_google_re2(xds_type_matcher_v3_RegexMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_RegexMatcher_GoogleRE2* xds_type_matcher_v3_RegexMatcher_google_re2(const xds_type_matcher_v3_RegexMatcher* msg) { + const xds_type_matcher_v3_RegexMatcher_GoogleRE2* default_val = NULL; + const xds_type_matcher_v3_RegexMatcher_GoogleRE2* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_RegexMatcher_has_google_re2(const xds_type_matcher_v3_RegexMatcher* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_RegexMatcher_clear_regex(xds_type_matcher_v3_RegexMatcher* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView xds_type_matcher_v3_RegexMatcher_regex(const xds_type_matcher_v3_RegexMatcher* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_type_matcher_v3_RegexMatcher_set_google_re2(xds_type_matcher_v3_RegexMatcher *msg, xds_type_matcher_v3_RegexMatcher_GoogleRE2* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_RegexMatcher_GoogleRE2* xds_type_matcher_v3_RegexMatcher_mutable_google_re2(xds_type_matcher_v3_RegexMatcher* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_RegexMatcher_GoogleRE2* sub = (struct xds_type_matcher_v3_RegexMatcher_GoogleRE2*)xds_type_matcher_v3_RegexMatcher_google_re2(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_RegexMatcher_GoogleRE2*)_upb_Message_New(&xds__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, arena); + if (sub) xds_type_matcher_v3_RegexMatcher_set_google_re2(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_RegexMatcher_set_regex(xds_type_matcher_v3_RegexMatcher *msg, upb_StringView value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* xds.type.matcher.v3.RegexMatcher.GoogleRE2 */ + +UPB_INLINE xds_type_matcher_v3_RegexMatcher_GoogleRE2* xds_type_matcher_v3_RegexMatcher_GoogleRE2_new(upb_Arena* arena) { + return (xds_type_matcher_v3_RegexMatcher_GoogleRE2*)_upb_Message_New(&xds__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_RegexMatcher_GoogleRE2* xds_type_matcher_v3_RegexMatcher_GoogleRE2_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_RegexMatcher_GoogleRE2* ret = xds_type_matcher_v3_RegexMatcher_GoogleRE2_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_RegexMatcher_GoogleRE2* xds_type_matcher_v3_RegexMatcher_GoogleRE2_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_RegexMatcher_GoogleRE2* ret = xds_type_matcher_v3_RegexMatcher_GoogleRE2_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_RegexMatcher_GoogleRE2_serialize(const xds_type_matcher_v3_RegexMatcher_GoogleRE2* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_RegexMatcher_GoogleRE2_serialize_ex(const xds_type_matcher_v3_RegexMatcher_GoogleRE2* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, options, arena, &ptr, len); + return ptr; +} + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c b/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c new file mode 100644 index 00000000000..195b8e0ca03 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c @@ -0,0 +1,58 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/regex.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/type/matcher/v3/regex.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_type_matcher_v3_RegexMatcher_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_RegexMatcher__fields[2] = { + {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__RegexMatcher_msg_init = { + &xds_type_matcher_v3_RegexMatcher_submsgs[0], + &xds_type_matcher_v3_RegexMatcher__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800000100000a, &upb_pom_1bt_max64b}, + {0x000800003f000012, &upb_pss_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +const upb_MiniTable xds__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init = { + NULL, + NULL, + 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +}; + +static const upb_MiniTable *messages_layout[2] = { + &xds__type__matcher__v3__RegexMatcher_msg_init, + &xds__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init, +}; + +const upb_MiniTableFile xds_type_matcher_v3_regex_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h b/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h new file mode 100644 index 00000000000..826e3b04e0c --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/regex.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPB_MINITABLE_H_ +#define XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__type__matcher__v3__RegexMatcher_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__RegexMatcher__GoogleRE2_msg_init; + +extern const upb_MiniTableFile xds_type_matcher_v3_regex_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h b/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h new file mode 100644 index 00000000000..05581e7c7c4 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h @@ -0,0 +1,304 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_STRING_PROTO_UPB_H_ +#define XDS_TYPE_MATCHER_V3_STRING_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/type/matcher/v3/string.upb_minitable.h" + +#include "xds/type/matcher/v3/regex.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_type_matcher_v3_StringMatcher xds_type_matcher_v3_StringMatcher; +typedef struct xds_type_matcher_v3_ListStringMatcher xds_type_matcher_v3_ListStringMatcher; +struct xds_type_matcher_v3_RegexMatcher; + + + +/* xds.type.matcher.v3.StringMatcher */ + +UPB_INLINE xds_type_matcher_v3_StringMatcher* xds_type_matcher_v3_StringMatcher_new(upb_Arena* arena) { + return (xds_type_matcher_v3_StringMatcher*)_upb_Message_New(&xds__type__matcher__v3__StringMatcher_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_StringMatcher* xds_type_matcher_v3_StringMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_StringMatcher* ret = xds_type_matcher_v3_StringMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__StringMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_StringMatcher* xds_type_matcher_v3_StringMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_StringMatcher* ret = xds_type_matcher_v3_StringMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__StringMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_StringMatcher_serialize(const xds_type_matcher_v3_StringMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__StringMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_StringMatcher_serialize_ex(const xds_type_matcher_v3_StringMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__StringMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + xds_type_matcher_v3_StringMatcher_match_pattern_exact = 1, + xds_type_matcher_v3_StringMatcher_match_pattern_prefix = 2, + xds_type_matcher_v3_StringMatcher_match_pattern_suffix = 3, + xds_type_matcher_v3_StringMatcher_match_pattern_safe_regex = 5, + xds_type_matcher_v3_StringMatcher_match_pattern_contains = 7, + xds_type_matcher_v3_StringMatcher_match_pattern_NOT_SET = 0 +} xds_type_matcher_v3_StringMatcher_match_pattern_oneofcases; +UPB_INLINE xds_type_matcher_v3_StringMatcher_match_pattern_oneofcases xds_type_matcher_v3_StringMatcher_match_pattern_case(const xds_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return (xds_type_matcher_v3_StringMatcher_match_pattern_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_StringMatcher_clear_exact(xds_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView xds_type_matcher_v3_StringMatcher_exact(const xds_type_matcher_v3_StringMatcher* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_StringMatcher_has_exact(const xds_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_StringMatcher_clear_prefix(xds_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView xds_type_matcher_v3_StringMatcher_prefix(const xds_type_matcher_v3_StringMatcher* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_StringMatcher_has_prefix(const xds_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_StringMatcher_clear_suffix(xds_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView xds_type_matcher_v3_StringMatcher_suffix(const xds_type_matcher_v3_StringMatcher* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_StringMatcher_has_suffix(const xds_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_StringMatcher_clear_safe_regex(xds_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct xds_type_matcher_v3_RegexMatcher* xds_type_matcher_v3_StringMatcher_safe_regex(const xds_type_matcher_v3_StringMatcher* msg) { + const struct xds_type_matcher_v3_RegexMatcher* default_val = NULL; + const struct xds_type_matcher_v3_RegexMatcher* ret; + const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_StringMatcher_has_safe_regex(const xds_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_matcher_v3_StringMatcher_clear_ignore_case(xds_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE bool xds_type_matcher_v3_StringMatcher_ignore_case(const xds_type_matcher_v3_StringMatcher* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_type_matcher_v3_StringMatcher_clear_contains(xds_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE upb_StringView xds_type_matcher_v3_StringMatcher_contains(const xds_type_matcher_v3_StringMatcher* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_matcher_v3_StringMatcher_has_contains(const xds_type_matcher_v3_StringMatcher* msg) { + const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void xds_type_matcher_v3_StringMatcher_set_exact(xds_type_matcher_v3_StringMatcher *msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void xds_type_matcher_v3_StringMatcher_set_prefix(xds_type_matcher_v3_StringMatcher *msg, upb_StringView value) { + const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void xds_type_matcher_v3_StringMatcher_set_suffix(xds_type_matcher_v3_StringMatcher *msg, upb_StringView value) { + const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void xds_type_matcher_v3_StringMatcher_set_safe_regex(xds_type_matcher_v3_StringMatcher *msg, struct xds_type_matcher_v3_RegexMatcher* value) { + const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_matcher_v3_RegexMatcher* xds_type_matcher_v3_StringMatcher_mutable_safe_regex(xds_type_matcher_v3_StringMatcher* msg, upb_Arena* arena) { + struct xds_type_matcher_v3_RegexMatcher* sub = (struct xds_type_matcher_v3_RegexMatcher*)xds_type_matcher_v3_StringMatcher_safe_regex(msg); + if (sub == NULL) { + sub = (struct xds_type_matcher_v3_RegexMatcher*)_upb_Message_New(&xds__type__matcher__v3__RegexMatcher_msg_init, arena); + if (sub) xds_type_matcher_v3_StringMatcher_set_safe_regex(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_matcher_v3_StringMatcher_set_ignore_case(xds_type_matcher_v3_StringMatcher *msg, bool value) { + const upb_MiniTableField field = {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void xds_type_matcher_v3_StringMatcher_set_contains(xds_type_matcher_v3_StringMatcher *msg, upb_StringView value) { + const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* xds.type.matcher.v3.ListStringMatcher */ + +UPB_INLINE xds_type_matcher_v3_ListStringMatcher* xds_type_matcher_v3_ListStringMatcher_new(upb_Arena* arena) { + return (xds_type_matcher_v3_ListStringMatcher*)_upb_Message_New(&xds__type__matcher__v3__ListStringMatcher_msg_init, arena); +} +UPB_INLINE xds_type_matcher_v3_ListStringMatcher* xds_type_matcher_v3_ListStringMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_matcher_v3_ListStringMatcher* ret = xds_type_matcher_v3_ListStringMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__ListStringMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_matcher_v3_ListStringMatcher* xds_type_matcher_v3_ListStringMatcher_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_matcher_v3_ListStringMatcher* ret = xds_type_matcher_v3_ListStringMatcher_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__matcher__v3__ListStringMatcher_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_matcher_v3_ListStringMatcher_serialize(const xds_type_matcher_v3_ListStringMatcher* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__ListStringMatcher_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_matcher_v3_ListStringMatcher_serialize_ex(const xds_type_matcher_v3_ListStringMatcher* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__matcher__v3__ListStringMatcher_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_matcher_v3_ListStringMatcher_clear_patterns(xds_type_matcher_v3_ListStringMatcher* msg) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_matcher_v3_StringMatcher* const* xds_type_matcher_v3_ListStringMatcher_patterns(const xds_type_matcher_v3_ListStringMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (const xds_type_matcher_v3_StringMatcher* const*)_upb_array_constptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE const upb_Array* _xds_type_matcher_v3_ListStringMatcher_patterns_upb_array(const xds_type_matcher_v3_ListStringMatcher* msg, size_t* size) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(msg, &field); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE upb_Array* _xds_type_matcher_v3_ListStringMatcher_patterns_mutable_upb_array(const xds_type_matcher_v3_ListStringMatcher* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + (upb_Message*)msg, &field, arena); + if (size) { + *size = arr ? arr->size : 0; + } + return arr; +} +UPB_INLINE bool xds_type_matcher_v3_ListStringMatcher_has_patterns(const xds_type_matcher_v3_ListStringMatcher* msg) { + size_t size; + xds_type_matcher_v3_ListStringMatcher_patterns(msg, &size); + return size != 0; +} + +UPB_INLINE xds_type_matcher_v3_StringMatcher** xds_type_matcher_v3_ListStringMatcher_mutable_patterns(xds_type_matcher_v3_ListStringMatcher* msg, size_t* size) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(msg, &field); + if (arr) { + if (size) *size = arr->size; + return (xds_type_matcher_v3_StringMatcher**)_upb_array_ptr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} +UPB_INLINE xds_type_matcher_v3_StringMatcher** xds_type_matcher_v3_ListStringMatcher_resize_patterns(xds_type_matcher_v3_ListStringMatcher* msg, size_t size, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (xds_type_matcher_v3_StringMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); +} +UPB_INLINE struct xds_type_matcher_v3_StringMatcher* xds_type_matcher_v3_ListStringMatcher_add_patterns(xds_type_matcher_v3_ListStringMatcher* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); + if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { + return NULL; + } + struct xds_type_matcher_v3_StringMatcher* sub = (struct xds_type_matcher_v3_StringMatcher*)_upb_Message_New(&xds__type__matcher__v3__StringMatcher_msg_init, arena); + if (!arr || !sub) return NULL; + _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_STRING_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c b/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c new file mode 100644 index 00000000000..c2adde68927 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c @@ -0,0 +1,79 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/type/matcher/v3/string.upb_minitable.h" +#include "xds/type/matcher/v3/regex.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_type_matcher_v3_StringMatcher_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__RegexMatcher_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_StringMatcher__fields[6] = { + {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__StringMatcher_msg_init = { + &xds_type_matcher_v3_StringMatcher_submsgs[0], + &xds_type_matcher_v3_StringMatcher__fields[0], + UPB_SIZE(16, 24), 6, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(56), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800040100000a, &upb_pos_1bt}, + {0x0008000402000012, &upb_pos_1bt}, + {0x000800040300001a, &upb_pos_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800040500002a, &upb_pom_1bt_maxmaxb}, + {0x000000003f000030, &upb_psb1_1bt}, + {0x000800040700003a, &upb_pos_1bt}, + }) +}; + +static const upb_MiniTableSub xds_type_matcher_v3_ListStringMatcher_submsgs[1] = { + {.submsg = &xds__type__matcher__v3__StringMatcher_msg_init}, +}; + +static const upb_MiniTableField xds_type_matcher_v3_ListStringMatcher__fields[1] = { + {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__matcher__v3__ListStringMatcher_msg_init = { + &xds_type_matcher_v3_ListStringMatcher_submsgs[0], + &xds_type_matcher_v3_ListStringMatcher__fields[0], + 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f00000a, &upb_prm_1bt_max64b}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &xds__type__matcher__v3__StringMatcher_msg_init, + &xds__type__matcher__v3__ListStringMatcher_msg_init, +}; + +const upb_MiniTableFile xds_type_matcher_v3_string_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h b/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h new file mode 100644 index 00000000000..407e2d72d74 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_STRING_PROTO_UPB_MINITABLE_H_ +#define XDS_TYPE_MATCHER_V3_STRING_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__type__matcher__v3__StringMatcher_msg_init; +extern const upb_MiniTable xds__type__matcher__v3__ListStringMatcher_msg_init; + +extern const upb_MiniTableFile xds_type_matcher_v3_string_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_STRING_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/v3/cel.upb.h b/src/core/ext/upb-gen/xds/type/v3/cel.upb.h new file mode 100644 index 00000000000..8ac1f3c851c --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/v3/cel.upb.h @@ -0,0 +1,233 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/v3/cel.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_V3_CEL_PROTO_UPB_H_ +#define XDS_TYPE_V3_CEL_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/type/v3/cel.upb_minitable.h" + +#include "google/api/expr/v1alpha1/checked.upb_minitable.h" +#include "google/api/expr/v1alpha1/syntax.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_type_v3_CelExpression xds_type_v3_CelExpression; +typedef struct xds_type_v3_CelExtractString xds_type_v3_CelExtractString; +struct google_api_expr_v1alpha1_CheckedExpr; +struct google_api_expr_v1alpha1_ParsedExpr; +struct google_protobuf_StringValue; + + + +/* xds.type.v3.CelExpression */ + +UPB_INLINE xds_type_v3_CelExpression* xds_type_v3_CelExpression_new(upb_Arena* arena) { + return (xds_type_v3_CelExpression*)_upb_Message_New(&xds__type__v3__CelExpression_msg_init, arena); +} +UPB_INLINE xds_type_v3_CelExpression* xds_type_v3_CelExpression_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_v3_CelExpression* ret = xds_type_v3_CelExpression_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__v3__CelExpression_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_v3_CelExpression* xds_type_v3_CelExpression_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_v3_CelExpression* ret = xds_type_v3_CelExpression_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__v3__CelExpression_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_v3_CelExpression_serialize(const xds_type_v3_CelExpression* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__v3__CelExpression_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_v3_CelExpression_serialize_ex(const xds_type_v3_CelExpression* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__v3__CelExpression_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + xds_type_v3_CelExpression_expr_specifier_parsed_expr = 1, + xds_type_v3_CelExpression_expr_specifier_checked_expr = 2, + xds_type_v3_CelExpression_expr_specifier_NOT_SET = 0 +} xds_type_v3_CelExpression_expr_specifier_oneofcases; +UPB_INLINE xds_type_v3_CelExpression_expr_specifier_oneofcases xds_type_v3_CelExpression_expr_specifier_case(const xds_type_v3_CelExpression* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (xds_type_v3_CelExpression_expr_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); +} +UPB_INLINE void xds_type_v3_CelExpression_clear_parsed_expr(xds_type_v3_CelExpression* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_api_expr_v1alpha1_ParsedExpr* xds_type_v3_CelExpression_parsed_expr(const xds_type_v3_CelExpression* msg) { + const struct google_api_expr_v1alpha1_ParsedExpr* default_val = NULL; + const struct google_api_expr_v1alpha1_ParsedExpr* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_v3_CelExpression_has_parsed_expr(const xds_type_v3_CelExpression* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_v3_CelExpression_clear_checked_expr(xds_type_v3_CelExpression* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_api_expr_v1alpha1_CheckedExpr* xds_type_v3_CelExpression_checked_expr(const xds_type_v3_CelExpression* msg) { + const struct google_api_expr_v1alpha1_CheckedExpr* default_val = NULL; + const struct google_api_expr_v1alpha1_CheckedExpr* ret; + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_v3_CelExpression_has_checked_expr(const xds_type_v3_CelExpression* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void xds_type_v3_CelExpression_set_parsed_expr(xds_type_v3_CelExpression *msg, struct google_api_expr_v1alpha1_ParsedExpr* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_api_expr_v1alpha1_ParsedExpr* xds_type_v3_CelExpression_mutable_parsed_expr(xds_type_v3_CelExpression* msg, upb_Arena* arena) { + struct google_api_expr_v1alpha1_ParsedExpr* sub = (struct google_api_expr_v1alpha1_ParsedExpr*)xds_type_v3_CelExpression_parsed_expr(msg); + if (sub == NULL) { + sub = (struct google_api_expr_v1alpha1_ParsedExpr*)_upb_Message_New(&google__api__expr__v1alpha1__ParsedExpr_msg_init, arena); + if (sub) xds_type_v3_CelExpression_set_parsed_expr(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_v3_CelExpression_set_checked_expr(xds_type_v3_CelExpression *msg, struct google_api_expr_v1alpha1_CheckedExpr* value) { + const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_api_expr_v1alpha1_CheckedExpr* xds_type_v3_CelExpression_mutable_checked_expr(xds_type_v3_CelExpression* msg, upb_Arena* arena) { + struct google_api_expr_v1alpha1_CheckedExpr* sub = (struct google_api_expr_v1alpha1_CheckedExpr*)xds_type_v3_CelExpression_checked_expr(msg); + if (sub == NULL) { + sub = (struct google_api_expr_v1alpha1_CheckedExpr*)_upb_Message_New(&google__api__expr__v1alpha1__CheckedExpr_msg_init, arena); + if (sub) xds_type_v3_CelExpression_set_checked_expr(msg, sub); + } + return sub; +} + +/* xds.type.v3.CelExtractString */ + +UPB_INLINE xds_type_v3_CelExtractString* xds_type_v3_CelExtractString_new(upb_Arena* arena) { + return (xds_type_v3_CelExtractString*)_upb_Message_New(&xds__type__v3__CelExtractString_msg_init, arena); +} +UPB_INLINE xds_type_v3_CelExtractString* xds_type_v3_CelExtractString_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_v3_CelExtractString* ret = xds_type_v3_CelExtractString_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__v3__CelExtractString_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_v3_CelExtractString* xds_type_v3_CelExtractString_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_v3_CelExtractString* ret = xds_type_v3_CelExtractString_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__v3__CelExtractString_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_v3_CelExtractString_serialize(const xds_type_v3_CelExtractString* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__v3__CelExtractString_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_v3_CelExtractString_serialize_ex(const xds_type_v3_CelExtractString* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__v3__CelExtractString_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_v3_CelExtractString_clear_expr_extract(xds_type_v3_CelExtractString* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const xds_type_v3_CelExpression* xds_type_v3_CelExtractString_expr_extract(const xds_type_v3_CelExtractString* msg) { + const xds_type_v3_CelExpression* default_val = NULL; + const xds_type_v3_CelExpression* ret; + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_v3_CelExtractString_has_expr_extract(const xds_type_v3_CelExtractString* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} +UPB_INLINE void xds_type_v3_CelExtractString_clear_default_value(xds_type_v3_CelExtractString* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE const struct google_protobuf_StringValue* xds_type_v3_CelExtractString_default_value(const xds_type_v3_CelExtractString* msg) { + const struct google_protobuf_StringValue* default_val = NULL; + const struct google_protobuf_StringValue* ret; + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE bool xds_type_v3_CelExtractString_has_default_value(const xds_type_v3_CelExtractString* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return _upb_Message_HasNonExtensionField(msg, &field); +} + +UPB_INLINE void xds_type_v3_CelExtractString_set_expr_extract(xds_type_v3_CelExtractString *msg, xds_type_v3_CelExpression* value) { + const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct xds_type_v3_CelExpression* xds_type_v3_CelExtractString_mutable_expr_extract(xds_type_v3_CelExtractString* msg, upb_Arena* arena) { + struct xds_type_v3_CelExpression* sub = (struct xds_type_v3_CelExpression*)xds_type_v3_CelExtractString_expr_extract(msg); + if (sub == NULL) { + sub = (struct xds_type_v3_CelExpression*)_upb_Message_New(&xds__type__v3__CelExpression_msg_init, arena); + if (sub) xds_type_v3_CelExtractString_set_expr_extract(msg, sub); + } + return sub; +} +UPB_INLINE void xds_type_v3_CelExtractString_set_default_value(xds_type_v3_CelExtractString *msg, struct google_protobuf_StringValue* value) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE struct google_protobuf_StringValue* xds_type_v3_CelExtractString_mutable_default_value(xds_type_v3_CelExtractString* msg, upb_Arena* arena) { + struct google_protobuf_StringValue* sub = (struct google_protobuf_StringValue*)xds_type_v3_CelExtractString_default_value(msg); + if (sub == NULL) { + sub = (struct google_protobuf_StringValue*)_upb_Message_New(&google__protobuf__StringValue_msg_init, arena); + if (sub) xds_type_v3_CelExtractString_set_default_value(msg, sub); + } + return sub; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_V3_CEL_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c b/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c new file mode 100644 index 00000000000..a066b7dfae2 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c @@ -0,0 +1,79 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/v3/cel.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/type/v3/cel.upb_minitable.h" +#include "google/api/expr/v1alpha1/checked.upb_minitable.h" +#include "google/api/expr/v1alpha1/syntax.upb_minitable.h" +#include "google/protobuf/wrappers.upb_minitable.h" +#include "xds/annotations/v3/status.upb_minitable.h" +#include "validate/validate.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_type_v3_CelExpression_submsgs[2] = { + {.submsg = &google__api__expr__v1alpha1__ParsedExpr_msg_init}, + {.submsg = &google__api__expr__v1alpha1__CheckedExpr_msg_init}, +}; + +static const upb_MiniTableField xds_type_v3_CelExpression__fields[2] = { + {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__v3__CelExpression_msg_init = { + &xds_type_v3_CelExpression_submsgs[0], + &xds_type_v3_CelExpression__fields[0], + UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_pom_1bt_maxmaxb}, + {0x0008000002010012, &upb_pom_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableSub xds_type_v3_CelExtractString_submsgs[2] = { + {.submsg = &xds__type__v3__CelExpression_msg_init}, + {.submsg = &google__protobuf__StringValue_msg_init}, +}; + +static const upb_MiniTableField xds_type_v3_CelExtractString__fields[2] = { + {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__v3__CelExtractString_msg_init = { + &xds_type_v3_CelExtractString_submsgs[0], + &xds_type_v3_CelExtractString__fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800000100000a, &upb_psm_1bt_max64b}, + {0x0010000002010012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[2] = { + &xds__type__v3__CelExpression_msg_init, + &xds__type__v3__CelExtractString_msg_init, +}; + +const upb_MiniTableFile xds_type_v3_cel_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 2, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h b/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h new file mode 100644 index 00000000000..493050da9e4 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h @@ -0,0 +1,31 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/v3/cel.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_V3_CEL_PROTO_UPB_MINITABLE_H_ +#define XDS_TYPE_V3_CEL_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__type__v3__CelExpression_msg_init; +extern const upb_MiniTable xds__type__v3__CelExtractString_msg_init; + +extern const upb_MiniTableFile xds_type_v3_cel_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_V3_CEL_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/v3/range.upb.h b/src/core/ext/upb-gen/xds/type/v3/range.upb.h new file mode 100644 index 00000000000..a92474fb689 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/v3/range.upb.h @@ -0,0 +1,235 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_V3_RANGE_PROTO_UPB_H_ +#define XDS_TYPE_V3_RANGE_PROTO_UPB_H_ + +#include "upb/generated_code_support.h" + +#include "xds/type/v3/range.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct xds_type_v3_Int64Range xds_type_v3_Int64Range; +typedef struct xds_type_v3_Int32Range xds_type_v3_Int32Range; +typedef struct xds_type_v3_DoubleRange xds_type_v3_DoubleRange; + + + +/* xds.type.v3.Int64Range */ + +UPB_INLINE xds_type_v3_Int64Range* xds_type_v3_Int64Range_new(upb_Arena* arena) { + return (xds_type_v3_Int64Range*)_upb_Message_New(&xds__type__v3__Int64Range_msg_init, arena); +} +UPB_INLINE xds_type_v3_Int64Range* xds_type_v3_Int64Range_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_v3_Int64Range* ret = xds_type_v3_Int64Range_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__v3__Int64Range_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_v3_Int64Range* xds_type_v3_Int64Range_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_v3_Int64Range* ret = xds_type_v3_Int64Range_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__v3__Int64Range_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_v3_Int64Range_serialize(const xds_type_v3_Int64Range* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__v3__Int64Range_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_v3_Int64Range_serialize_ex(const xds_type_v3_Int64Range* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__v3__Int64Range_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_v3_Int64Range_clear_start(xds_type_v3_Int64Range* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int64_t xds_type_v3_Int64Range_start(const xds_type_v3_Int64Range* msg) { + int64_t default_val = (int64_t)0ll; + int64_t ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_type_v3_Int64Range_clear_end(xds_type_v3_Int64Range* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int64_t xds_type_v3_Int64Range_end(const xds_type_v3_Int64Range* msg) { + int64_t default_val = (int64_t)0ll; + int64_t ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_type_v3_Int64Range_set_start(xds_type_v3_Int64Range *msg, int64_t value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void xds_type_v3_Int64Range_set_end(xds_type_v3_Int64Range *msg, int64_t value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* xds.type.v3.Int32Range */ + +UPB_INLINE xds_type_v3_Int32Range* xds_type_v3_Int32Range_new(upb_Arena* arena) { + return (xds_type_v3_Int32Range*)_upb_Message_New(&xds__type__v3__Int32Range_msg_init, arena); +} +UPB_INLINE xds_type_v3_Int32Range* xds_type_v3_Int32Range_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_v3_Int32Range* ret = xds_type_v3_Int32Range_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__v3__Int32Range_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_v3_Int32Range* xds_type_v3_Int32Range_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_v3_Int32Range* ret = xds_type_v3_Int32Range_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__v3__Int32Range_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_v3_Int32Range_serialize(const xds_type_v3_Int32Range* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__v3__Int32Range_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_v3_Int32Range_serialize_ex(const xds_type_v3_Int32Range* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__v3__Int32Range_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_v3_Int32Range_clear_start(xds_type_v3_Int32Range* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t xds_type_v3_Int32Range_start(const xds_type_v3_Int32Range* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_type_v3_Int32Range_clear_end(xds_type_v3_Int32Range* msg) { + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE int32_t xds_type_v3_Int32Range_end(const xds_type_v3_Int32Range* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_type_v3_Int32Range_set_start(xds_type_v3_Int32Range *msg, int32_t value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void xds_type_v3_Int32Range_set_end(xds_type_v3_Int32Range *msg, int32_t value) { + const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +/* xds.type.v3.DoubleRange */ + +UPB_INLINE xds_type_v3_DoubleRange* xds_type_v3_DoubleRange_new(upb_Arena* arena) { + return (xds_type_v3_DoubleRange*)_upb_Message_New(&xds__type__v3__DoubleRange_msg_init, arena); +} +UPB_INLINE xds_type_v3_DoubleRange* xds_type_v3_DoubleRange_parse(const char* buf, size_t size, upb_Arena* arena) { + xds_type_v3_DoubleRange* ret = xds_type_v3_DoubleRange_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__v3__DoubleRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE xds_type_v3_DoubleRange* xds_type_v3_DoubleRange_parse_ex(const char* buf, size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + xds_type_v3_DoubleRange* ret = xds_type_v3_DoubleRange_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, ret, &xds__type__v3__DoubleRange_msg_init, extreg, options, arena) != + kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* xds_type_v3_DoubleRange_serialize(const xds_type_v3_DoubleRange* msg, upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__v3__DoubleRange_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* xds_type_v3_DoubleRange_serialize_ex(const xds_type_v3_DoubleRange* msg, int options, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(msg, &xds__type__v3__DoubleRange_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void xds_type_v3_DoubleRange_clear_start(xds_type_v3_DoubleRange* msg) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE double xds_type_v3_DoubleRange_start(const xds_type_v3_DoubleRange* msg) { + double default_val = 0; + double ret; + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} +UPB_INLINE void xds_type_v3_DoubleRange_clear_end(xds_type_v3_DoubleRange* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_ClearNonExtensionField(msg, &field); +} +UPB_INLINE double xds_type_v3_DoubleRange_end(const xds_type_v3_DoubleRange* msg) { + double default_val = 0; + double ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); + return ret; +} + +UPB_INLINE void xds_type_v3_DoubleRange_set_start(xds_type_v3_DoubleRange *msg, double value) { + const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} +UPB_INLINE void xds_type_v3_DoubleRange_set_end(xds_type_v3_DoubleRange *msg, double value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_SetNonExtensionField(msg, &field, &value); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_V3_RANGE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c b/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c new file mode 100644 index 00000000000..04f33c8ba9e --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c @@ -0,0 +1,82 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/type/v3/range.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableField xds_type_v3_Int64Range__fields[2] = { + {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__v3__Int64Range_msg_init = { + NULL, + &xds_type_v3_Int64Range__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv8_1bt}, + {0x000800003f000010, &upb_psv8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField xds_type_v3_Int32Range__fields[2] = { + {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__v3__Int32Range_msg_init = { + NULL, + &xds_type_v3_Int32Range__fields[0], + 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000008, &upb_psv4_1bt}, + {0x000400003f000010, &upb_psv4_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTableField xds_type_v3_DoubleRange__fields[2] = { + {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__v3__DoubleRange_msg_init = { + NULL, + &xds_type_v3_DoubleRange__fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000000003f000009, &upb_psf8_1bt}, + {0x000800003f000011, &upb_psf8_1bt}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[3] = { + &xds__type__v3__Int64Range_msg_init, + &xds__type__v3__Int32Range_msg_init, + &xds__type__v3__DoubleRange_msg_init, +}; + +const upb_MiniTableFile xds_type_v3_range_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 3, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h b/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h new file mode 100644 index 00000000000..be9c19771f7 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h @@ -0,0 +1,32 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_V3_RANGE_PROTO_UPB_MINITABLE_H_ +#define XDS_TYPE_V3_RANGE_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__type__v3__Int64Range_msg_init; +extern const upb_MiniTable xds__type__v3__Int32Range_msg_init; +extern const upb_MiniTable xds__type__v3__DoubleRange_msg_init; + +extern const upb_MiniTableFile xds_type_v3_range_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_V3_RANGE_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h b/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h similarity index 85% rename from src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h rename to src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h index 6393a32bfab..4293d1aea90 100644 --- a/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +++ b/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/type/v3/typed_struct.proto * @@ -10,7 +9,12 @@ #define XDS_TYPE_V3_TYPED_STRUCT_PROTO_UPB_H_ #include "upb/generated_code_support.h" -// Must be last. + +#include "xds/type/v3/typed_struct.upb_minitable.h" + +#include "google/protobuf/struct.upb_minitable.h" + +// Must be last. #include "upb/port/def.inc" #ifdef __cplusplus @@ -18,21 +22,19 @@ extern "C" { #endif typedef struct xds_type_v3_TypedStruct xds_type_v3_TypedStruct; -extern const upb_MiniTable xds_type_v3_TypedStruct_msg_init; struct google_protobuf_Struct; -extern const upb_MiniTable google_protobuf_Struct_msg_init; /* xds.type.v3.TypedStruct */ UPB_INLINE xds_type_v3_TypedStruct* xds_type_v3_TypedStruct_new(upb_Arena* arena) { - return (xds_type_v3_TypedStruct*)_upb_Message_New(&xds_type_v3_TypedStruct_msg_init, arena); + return (xds_type_v3_TypedStruct*)_upb_Message_New(&xds__type__v3__TypedStruct_msg_init, arena); } UPB_INLINE xds_type_v3_TypedStruct* xds_type_v3_TypedStruct_parse(const char* buf, size_t size, upb_Arena* arena) { xds_type_v3_TypedStruct* ret = xds_type_v3_TypedStruct_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_v3_TypedStruct_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { + if (upb_Decode(buf, size, ret, &xds__type__v3__TypedStruct_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { return NULL; } return ret; @@ -42,7 +44,7 @@ UPB_INLINE xds_type_v3_TypedStruct* xds_type_v3_TypedStruct_parse_ex(const char* int options, upb_Arena* arena) { xds_type_v3_TypedStruct* ret = xds_type_v3_TypedStruct_new(arena); if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_v3_TypedStruct_msg_init, extreg, options, arena) != + if (upb_Decode(buf, size, ret, &xds__type__v3__TypedStruct_msg_init, extreg, options, arena) != kUpb_DecodeStatus_Ok) { return NULL; } @@ -50,13 +52,13 @@ UPB_INLINE xds_type_v3_TypedStruct* xds_type_v3_TypedStruct_parse_ex(const char* } UPB_INLINE char* xds_type_v3_TypedStruct_serialize(const xds_type_v3_TypedStruct* msg, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_type_v3_TypedStruct_msg_init, 0, arena, &ptr, len); + (void)upb_Encode(msg, &xds__type__v3__TypedStruct_msg_init, 0, arena, &ptr, len); return ptr; } UPB_INLINE char* xds_type_v3_TypedStruct_serialize_ex(const xds_type_v3_TypedStruct* msg, int options, upb_Arena* arena, size_t* len) { char* ptr; - (void)upb_Encode(msg, &xds_type_v3_TypedStruct_msg_init, options, arena, &ptr, len); + (void)upb_Encode(msg, &xds__type__v3__TypedStruct_msg_init, options, arena, &ptr, len); return ptr; } UPB_INLINE void xds_type_v3_TypedStruct_clear_type_url(xds_type_v3_TypedStruct* msg) { @@ -97,14 +99,12 @@ UPB_INLINE void xds_type_v3_TypedStruct_set_value(xds_type_v3_TypedStruct *msg, UPB_INLINE struct google_protobuf_Struct* xds_type_v3_TypedStruct_mutable_value(xds_type_v3_TypedStruct* msg, upb_Arena* arena) { struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)xds_type_v3_TypedStruct_value(msg); if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); + sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena); if (sub) xds_type_v3_TypedStruct_set_value(msg, sub); } return sub; } -extern const upb_MiniTableFile xds_type_v3_typed_struct_proto_upb_file_layout; - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c b/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c new file mode 100644 index 00000000000..2db979084f2 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c @@ -0,0 +1,51 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/v3/typed_struct.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include +#include "upb/generated_code_support.h" +#include "xds/type/v3/typed_struct.upb_minitable.h" +#include "google/protobuf/struct.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +static const upb_MiniTableSub xds_type_v3_TypedStruct_submsgs[1] = { + {.submsg = &google__protobuf__Struct_msg_init}, +}; + +static const upb_MiniTableField xds_type_v3_TypedStruct__fields[2] = { + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}; + +const upb_MiniTable xds__type__v3__TypedStruct_msg_init = { + &xds_type_v3_TypedStruct_submsgs[0], + &xds_type_v3_TypedStruct__fields[0], + UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x000800003f00000a, &upb_pss_1bt}, + {0x0018000001000012, &upb_psm_1bt_maxmaxb}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + }) +}; + +static const upb_MiniTable *messages_layout[1] = { + &xds__type__v3__TypedStruct_msg_init, +}; + +const upb_MiniTableFile xds_type_v3_typed_struct_proto_upb_file_layout = { + messages_layout, + NULL, + NULL, + 1, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h b/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h new file mode 100644 index 00000000000..d3a98b59d94 --- /dev/null +++ b/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/v3/typed_struct.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_V3_TYPED_STRUCT_PROTO_UPB_MINITABLE_H_ +#define XDS_TYPE_V3_TYPED_STRUCT_PROTO_UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable xds__type__v3__TypedStruct_msg_init; + +extern const upb_MiniTableFile xds_type_v3_typed_struct_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_V3_TYPED_STRUCT_PROTO_UPB_MINITABLE_H_ */ diff --git a/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c b/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c deleted file mode 100644 index ab7727246d2..00000000000 --- a/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +++ /dev/null @@ -1,150 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/admin/v3/certs.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/admin/v3/certs.upb.h" -#include "google/protobuf/timestamp.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_admin_v3_Certificates_submsgs[1] = { - {.submsg = &envoy_admin_v3_Certificate_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_Certificates__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_Certificates_msg_init = { - &envoy_admin_v3_Certificates_submsgs[0], - &envoy_admin_v3_Certificates__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_Certificate_submsgs[2] = { - {.submsg = &envoy_admin_v3_CertificateDetails_msg_init}, - {.submsg = &envoy_admin_v3_CertificateDetails_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_Certificate__fields[2] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_Certificate_msg_init = { - &envoy_admin_v3_Certificate_submsgs[0], - &envoy_admin_v3_Certificate__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max128b}, - {0x000800003f010012, &upb_prm_1bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_CertificateDetails_submsgs[4] = { - {.submsg = &envoy_admin_v3_SubjectAlternateName_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &envoy_admin_v3_CertificateDetails_OcspDetails_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_CertificateDetails__fields[7] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(40, 48), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 56), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 64), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(16, 72), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_CertificateDetails_msg_init = { - &envoy_admin_v3_CertificateDetails_submsgs[0], - &envoy_admin_v3_CertificateDetails__fields[0], - UPB_SIZE(48, 80), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x002800003f00001a, &upb_prm_1bt_max64b}, - {0x003000003f000020, &upb_psv8_1bt}, - {0x003800000101002a, &upb_psm_1bt_maxmaxb}, - {0x0040000002020032, &upb_psm_1bt_maxmaxb}, - {0x004800000303003a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_CertificateDetails_OcspDetails_submsgs[2] = { - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_CertificateDetails_OcspDetails__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_CertificateDetails_OcspDetails_msg_init = { - &envoy_admin_v3_CertificateDetails_OcspDetails_submsgs[0], - &envoy_admin_v3_CertificateDetails_OcspDetails__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_admin_v3_SubjectAlternateName__fields[3] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_SubjectAlternateName_msg_init = { - NULL, - &envoy_admin_v3_SubjectAlternateName__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - {0x0008000002000012, &upb_pos_1bt}, - {0x000800000300001a, &upb_pos_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[5] = { - &envoy_admin_v3_Certificates_msg_init, - &envoy_admin_v3_Certificate_msg_init, - &envoy_admin_v3_CertificateDetails_msg_init, - &envoy_admin_v3_CertificateDetails_OcspDetails_msg_init, - &envoy_admin_v3_SubjectAlternateName_msg_init, -}; - -const upb_MiniTableFile envoy_admin_v3_certs_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 5, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c b/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c deleted file mode 100644 index 7ed727982ba..00000000000 --- a/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +++ /dev/null @@ -1,181 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/admin/v3/clusters.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/admin/v3/clusters.upb.h" -#include "envoy/admin/v3/metrics.upb.h" -#include "envoy/config/cluster/v3/circuit_breaker.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/health_check.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_admin_v3_Clusters_submsgs[1] = { - {.submsg = &envoy_admin_v3_ClusterStatus_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_Clusters__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_Clusters_msg_init = { - &envoy_admin_v3_Clusters_submsgs[0], - &envoy_admin_v3_Clusters__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max128b}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_ClusterStatus_submsgs[4] = { - {.submsg = &envoy_type_v3_Percent_msg_init}, - {.submsg = &envoy_admin_v3_HostStatus_msg_init}, - {.submsg = &envoy_type_v3_Percent_msg_init}, - {.submsg = &envoy_config_cluster_v3_CircuitBreakers_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ClusterStatus__fields[8] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 40), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(16, 48), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(36, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ClusterStatus_msg_init = { - &envoy_admin_v3_ClusterStatus_submsgs[0], - &envoy_admin_v3_ClusterStatus__fields[0], - UPB_SIZE(48, 88), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x001800000100001a, &upb_psm_1bt_maxmaxb}, - {0x002000003f010022, &upb_prm_1bt_max128b}, - {0x002800000202002a, &upb_psm_1bt_maxmaxb}, - {0x0030000003030032, &upb_psm_1bt_maxmaxb}, - {0x003800003f00003a, &upb_pss_1bt}, - {0x004800003f000042, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_HostStatus_submsgs[6] = { - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_admin_v3_SimpleMetric_msg_init}, - {.submsg = &envoy_admin_v3_HostHealthStatus_msg_init}, - {.submsg = &envoy_type_v3_Percent_msg_init}, - {.submsg = &envoy_type_v3_Percent_msg_init}, - {.submsg = &envoy_config_core_v3_Locality_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_HostStatus__fields[9] = { - {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 32), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 40), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(24, 8), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(28, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(32, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_HostStatus_msg_init = { - &envoy_admin_v3_HostStatus_submsgs[0], - &envoy_admin_v3_HostStatus__fields[0], - UPB_SIZE(48, 80), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000000100000a, &upb_psm_1bt_maxmaxb}, - {0x001800003f010012, &upb_prm_1bt_maxmaxb}, - {0x002000000202001a, &upb_psm_1bt_max64b}, - {0x0028000003030022, &upb_psm_1bt_maxmaxb}, - {0x000400003f000028, &upb_psv4_1bt}, - {0x003000003f000032, &upb_pss_1bt}, - {0x000800003f000038, &upb_psv4_1bt}, - {0x0040000004040042, &upb_psm_1bt_maxmaxb}, - {0x004800000505004a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_admin_v3_HostHealthStatus__fields[8] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {8, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_HostHealthStatus_msg_init = { - NULL, - &envoy_admin_v3_HostHealthStatus__fields[0], - 16, 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x000400003f000018, &upb_psv4_1bt}, - {0x000800003f000020, &upb_psb1_1bt}, - {0x000900003f000028, &upb_psb1_1bt}, - {0x000a00003f000030, &upb_psb1_1bt}, - {0x000b00003f000038, &upb_psb1_1bt}, - {0x000c00003f000040, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[4] = { - &envoy_admin_v3_Clusters_msg_init, - &envoy_admin_v3_ClusterStatus_msg_init, - &envoy_admin_v3_HostStatus_msg_init, - &envoy_admin_v3_HostHealthStatus_msg_init, -}; - -const upb_MiniTableFile envoy_admin_v3_clusters_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 4, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c b/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c deleted file mode 100644 index 9e6d48e2b29..00000000000 --- a/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +++ /dev/null @@ -1,158 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/admin/v3/config_dump.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/admin/v3/config_dump.upb.h" -#include "envoy/admin/v3/config_dump_shared.upb.h" -#include "envoy/config/bootstrap/v3/bootstrap.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/timestamp.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_admin_v3_ConfigDump_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ConfigDump__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ConfigDump_msg_init = { - &envoy_admin_v3_ConfigDump_submsgs[0], - &envoy_admin_v3_ConfigDump__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_BootstrapConfigDump_submsgs[2] = { - {.submsg = &envoy_config_bootstrap_v3_Bootstrap_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_BootstrapConfigDump__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_BootstrapConfigDump_msg_init = { - &envoy_admin_v3_BootstrapConfigDump_submsgs[0], - &envoy_admin_v3_BootstrapConfigDump__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_SecretsConfigDump_submsgs[3] = { - {.submsg = &envoy_admin_v3_SecretsConfigDump_StaticSecret_msg_init}, - {.submsg = &envoy_admin_v3_SecretsConfigDump_DynamicSecret_msg_init}, - {.submsg = &envoy_admin_v3_SecretsConfigDump_DynamicSecret_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_SecretsConfigDump__fields[3] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 16), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_SecretsConfigDump_msg_init = { - &envoy_admin_v3_SecretsConfigDump_submsgs[0], - &envoy_admin_v3_SecretsConfigDump__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - {0x000800003f010012, &upb_prm_1bt_max128b}, - {0x001000003f02001a, &upb_prm_1bt_max128b}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_SecretsConfigDump_DynamicSecret_submsgs[3] = { - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &envoy_admin_v3_UpdateFailureState_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_SecretsConfigDump_DynamicSecret__fields[6] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 48), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 56), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_SecretsConfigDump_DynamicSecret_msg_init = { - &envoy_admin_v3_SecretsConfigDump_DynamicSecret_submsgs[0], - &envoy_admin_v3_SecretsConfigDump_DynamicSecret__fields[0], - UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x002800000100001a, &upb_psm_1bt_maxmaxb}, - {0x0030000002010022, &upb_psm_1bt_maxmaxb}, - {0x003800000302002a, &upb_psm_1bt_maxmaxb}, - {0x000400003f000030, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_SecretsConfigDump_StaticSecret_submsgs[2] = { - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_SecretsConfigDump_StaticSecret__fields[3] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_SecretsConfigDump_StaticSecret_msg_init = { - &envoy_admin_v3_SecretsConfigDump_StaticSecret_submsgs[0], - &envoy_admin_v3_SecretsConfigDump_StaticSecret__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[5] = { - &envoy_admin_v3_ConfigDump_msg_init, - &envoy_admin_v3_BootstrapConfigDump_msg_init, - &envoy_admin_v3_SecretsConfigDump_msg_init, - &envoy_admin_v3_SecretsConfigDump_DynamicSecret_msg_init, - &envoy_admin_v3_SecretsConfigDump_StaticSecret_msg_init, -}; - -const upb_MiniTableFile envoy_admin_v3_config_dump_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 5, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c b/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c deleted file mode 100644 index 387d1ad678b..00000000000 --- a/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +++ /dev/null @@ -1,533 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/admin/v3/config_dump_shared.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/admin/v3/config_dump_shared.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/timestamp.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_admin_v3_UpdateFailureState_submsgs[2] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_UpdateFailureState__fields[4] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(20, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_UpdateFailureState_msg_init = { - &envoy_admin_v3_UpdateFailureState_submsgs[0], - &envoy_admin_v3_UpdateFailureState__fields[0], - UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800003f00001a, &upb_pss_1bt}, - {0x002800003f000022, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_ListenersConfigDump_submsgs[2] = { - {.submsg = &envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init}, - {.submsg = &envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ListenersConfigDump__fields[3] = { - {1, UPB_SIZE(8, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ListenersConfigDump_msg_init = { - &envoy_admin_v3_ListenersConfigDump_submsgs[0], - &envoy_admin_v3_ListenersConfigDump__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_prm_1bt_max64b}, - {0x001800003f01001a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_ListenersConfigDump_StaticListener_submsgs[2] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ListenersConfigDump_StaticListener__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init = { - &envoy_admin_v3_ListenersConfigDump_StaticListener_submsgs[0], - &envoy_admin_v3_ListenersConfigDump_StaticListener__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_ListenersConfigDump_DynamicListenerState_submsgs[2] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ListenersConfigDump_DynamicListenerState__fields[3] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init = { - &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_submsgs[0], - &envoy_admin_v3_ListenersConfigDump_DynamicListenerState__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_ListenersConfigDump_DynamicListener_submsgs[4] = { - {.submsg = &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init}, - {.submsg = &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init}, - {.submsg = &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init}, - {.submsg = &envoy_admin_v3_UpdateFailureState_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ListenersConfigDump_DynamicListener__fields[6] = { - {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init = { - &envoy_admin_v3_ListenersConfigDump_DynamicListener_submsgs[0], - &envoy_admin_v3_ListenersConfigDump_DynamicListener__fields[0], - UPB_SIZE(32, 56), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x002000000201001a, &upb_psm_1bt_max64b}, - {0x0028000003020022, &upb_psm_1bt_max64b}, - {0x003000000403002a, &upb_psm_1bt_max64b}, - {0x000400003f000030, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_ClustersConfigDump_submsgs[3] = { - {.submsg = &envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init}, - {.submsg = &envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init}, - {.submsg = &envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ClustersConfigDump__fields[4] = { - {1, UPB_SIZE(12, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ClustersConfigDump_msg_init = { - &envoy_admin_v3_ClustersConfigDump_submsgs[0], - &envoy_admin_v3_ClustersConfigDump__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_prm_1bt_max64b}, - {0x001800003f01001a, &upb_prm_1bt_max64b}, - {0x002000003f020022, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_ClustersConfigDump_StaticCluster_submsgs[2] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ClustersConfigDump_StaticCluster__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init = { - &envoy_admin_v3_ClustersConfigDump_StaticCluster_submsgs[0], - &envoy_admin_v3_ClustersConfigDump_StaticCluster__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_ClustersConfigDump_DynamicCluster_submsgs[3] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &envoy_admin_v3_UpdateFailureState_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ClustersConfigDump_DynamicCluster__fields[5] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init = { - &envoy_admin_v3_ClustersConfigDump_DynamicCluster_submsgs[0], - &envoy_admin_v3_ClustersConfigDump_DynamicCluster__fields[0], - UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - {0x0028000003020022, &upb_psm_1bt_max64b}, - {0x000400003f000028, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_RoutesConfigDump_submsgs[2] = { - {.submsg = &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init}, - {.submsg = &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_RoutesConfigDump__fields[2] = { - {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_RoutesConfigDump_msg_init = { - &envoy_admin_v3_RoutesConfigDump_submsgs[0], - &envoy_admin_v3_RoutesConfigDump__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000012, &upb_prm_1bt_max64b}, - {0x000800003f01001a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_submsgs[2] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_RoutesConfigDump_StaticRouteConfig__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init = { - &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_submsgs[0], - &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_submsgs[3] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &envoy_admin_v3_UpdateFailureState_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig__fields[5] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init = { - &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_submsgs[0], - &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig__fields[0], - UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - {0x0028000003020022, &upb_psm_1bt_max64b}, - {0x000400003f000028, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_ScopedRoutesConfigDump_submsgs[2] = { - {.submsg = &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init}, - {.submsg = &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ScopedRoutesConfigDump__fields[2] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ScopedRoutesConfigDump_msg_init = { - &envoy_admin_v3_ScopedRoutesConfigDump_submsgs[0], - &envoy_admin_v3_ScopedRoutesConfigDump__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - {0x000800003f010012, &upb_prm_1bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_submsgs[2] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs__fields[3] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init = { - &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_submsgs[0], - &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prm_1bt_maxmaxb}, - {0x002000000101001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_submsgs[3] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &envoy_admin_v3_UpdateFailureState_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs__fields[6] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 48), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 56), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init = { - &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_submsgs[0], - &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs__fields[0], - UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x002800003f00001a, &upb_prm_1bt_maxmaxb}, - {0x0030000001010022, &upb_psm_1bt_maxmaxb}, - {0x003800000202002a, &upb_psm_1bt_max64b}, - {0x000400003f000030, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_EndpointsConfigDump_submsgs[2] = { - {.submsg = &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init}, - {.submsg = &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_EndpointsConfigDump__fields[2] = { - {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_EndpointsConfigDump_msg_init = { - &envoy_admin_v3_EndpointsConfigDump_submsgs[0], - &envoy_admin_v3_EndpointsConfigDump__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000012, &upb_prm_1bt_max64b}, - {0x000800003f01001a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_submsgs[2] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init = { - &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_submsgs[0], - &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_submsgs[3] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &envoy_admin_v3_UpdateFailureState_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig__fields[5] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init = { - &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_submsgs[0], - &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig__fields[0], - UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - {0x0028000003020022, &upb_psm_1bt_max64b}, - {0x000400003f000028, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_EcdsConfigDump_submsgs[1] = { - {.submsg = &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_EcdsConfigDump__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_EcdsConfigDump_msg_init = { - &envoy_admin_v3_EcdsConfigDump_submsgs[0], - &envoy_admin_v3_EcdsConfigDump__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_submsgs[3] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &envoy_admin_v3_UpdateFailureState_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig__fields[5] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init = { - &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_submsgs[0], - &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig__fields[0], - UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - {0x0028000003020022, &upb_psm_1bt_max64b}, - {0x000400003f000028, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[19] = { - &envoy_admin_v3_UpdateFailureState_msg_init, - &envoy_admin_v3_ListenersConfigDump_msg_init, - &envoy_admin_v3_ListenersConfigDump_StaticListener_msg_init, - &envoy_admin_v3_ListenersConfigDump_DynamicListenerState_msg_init, - &envoy_admin_v3_ListenersConfigDump_DynamicListener_msg_init, - &envoy_admin_v3_ClustersConfigDump_msg_init, - &envoy_admin_v3_ClustersConfigDump_StaticCluster_msg_init, - &envoy_admin_v3_ClustersConfigDump_DynamicCluster_msg_init, - &envoy_admin_v3_RoutesConfigDump_msg_init, - &envoy_admin_v3_RoutesConfigDump_StaticRouteConfig_msg_init, - &envoy_admin_v3_RoutesConfigDump_DynamicRouteConfig_msg_init, - &envoy_admin_v3_ScopedRoutesConfigDump_msg_init, - &envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_msg_init, - &envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_msg_init, - &envoy_admin_v3_EndpointsConfigDump_msg_init, - &envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_msg_init, - &envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_msg_init, - &envoy_admin_v3_EcdsConfigDump_msg_init, - &envoy_admin_v3_EcdsConfigDump_EcdsFilterConfig_msg_init, -}; - -const upb_MiniTableFile envoy_admin_v3_config_dump_shared_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 19, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c b/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c deleted file mode 100644 index 7970bd7c641..00000000000 --- a/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +++ /dev/null @@ -1,67 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/admin/v3/init_dump.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/admin/v3/init_dump.upb.h" -#include "udpa/annotations/status.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_admin_v3_UnreadyTargetsDumps_submsgs[1] = { - {.submsg = &envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_UnreadyTargetsDumps__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_UnreadyTargetsDumps_msg_init = { - &envoy_admin_v3_UnreadyTargetsDumps_submsgs[0], - &envoy_admin_v3_UnreadyTargetsDumps__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableField envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump__fields[2] = { - {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(0, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_msg_init = { - NULL, - &envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_admin_v3_UnreadyTargetsDumps_msg_init, - &envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_msg_init, -}; - -const upb_MiniTableFile envoy_admin_v3_init_dump_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c b/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c deleted file mode 100644 index 770aae84bf6..00000000000 --- a/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +++ /dev/null @@ -1,75 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/admin/v3/listeners.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/admin/v3/listeners.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_admin_v3_Listeners_submsgs[1] = { - {.submsg = &envoy_admin_v3_ListenerStatus_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_Listeners__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_Listeners_msg_init = { - &envoy_admin_v3_Listeners_submsgs[0], - &envoy_admin_v3_Listeners__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_ListenerStatus_submsgs[2] = { - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_config_core_v3_Address_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ListenerStatus__fields[3] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ListenerStatus_msg_init = { - &envoy_admin_v3_ListenerStatus_submsgs[0], - &envoy_admin_v3_ListenerStatus__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000003f01001a, &upb_prm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_admin_v3_Listeners_msg_init, - &envoy_admin_v3_ListenerStatus_msg_init, -}; - -const upb_MiniTableFile envoy_admin_v3_listeners_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c b/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c deleted file mode 100644 index ed8642320ad..00000000000 --- a/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +++ /dev/null @@ -1,57 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/admin/v3/memory.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/admin/v3/memory.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_admin_v3_Memory__fields[6] = { - {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, 32, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {6, 40, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_Memory_msg_init = { - NULL, - &envoy_admin_v3_Memory__fields[0], - 48, 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv8_1bt}, - {0x000800003f000010, &upb_psv8_1bt}, - {0x001000003f000018, &upb_psv8_1bt}, - {0x001800003f000020, &upb_psv8_1bt}, - {0x002000003f000028, &upb_psv8_1bt}, - {0x002800003f000030, &upb_psv8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_admin_v3_Memory_msg_init, -}; - -const upb_MiniTableFile envoy_admin_v3_memory_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c b/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c deleted file mode 100644 index cf788424298..00000000000 --- a/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +++ /dev/null @@ -1,50 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/admin/v3/metrics.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/admin/v3/metrics.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_admin_v3_SimpleMetric__fields[3] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_SimpleMetric_msg_init = { - NULL, - &envoy_admin_v3_SimpleMetric__fields[0], - UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000800003f000010, &upb_psv8_1bt}, - {0x001000003f00001a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_admin_v3_SimpleMetric_msg_init, -}; - -const upb_MiniTableFile envoy_admin_v3_metrics_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c b/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c deleted file mode 100644 index 398803e9c2f..00000000000 --- a/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +++ /dev/null @@ -1,50 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/admin/v3/mutex_stats.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/admin/v3/mutex_stats.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_admin_v3_MutexStats__fields[3] = { - {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_MutexStats_msg_init = { - NULL, - &envoy_admin_v3_MutexStats__fields[0], - 24, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv8_1bt}, - {0x000800003f000010, &upb_psv8_1bt}, - {0x001000003f000018, &upb_psv8_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_admin_v3_MutexStats_msg_init, -}; - -const upb_MiniTableFile envoy_admin_v3_mutex_stats_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c b/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c deleted file mode 100644 index 0373b230a9e..00000000000 --- a/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +++ /dev/null @@ -1,151 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/admin/v3/server_info.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/admin/v3/server_info.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "google/protobuf/duration.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_admin_v3_ServerInfo_submsgs[4] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_admin_v3_CommandLineOptions_msg_init}, - {.submsg = &envoy_config_core_v3_Node_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_ServerInfo__fields[7] = { - {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(16, 56), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(20, 64), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_ServerInfo_msg_init = { - &envoy_admin_v3_ServerInfo_submsgs[0], - &envoy_admin_v3_ServerInfo__fields[0], - UPB_SIZE(40, 72), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x001800000100001a, &upb_psm_1bt_maxmaxb}, - {0x0020000002010022, &upb_psm_1bt_maxmaxb}, - {0x002800003f00002a, &upb_pss_1bt}, - {0x0038000003020032, &upb_psm_1bt_maxmaxb}, - {0x004000000403003a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_admin_v3_CommandLineOptions_submsgs[3] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_CommandLineOptions__fields[34] = { - {1, UPB_SIZE(72, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(80, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(88, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, 96, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(104, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(112, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(120, 144), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(128, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(136, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(144, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(152, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(16, 224), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(20, 232), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {18, UPB_SIZE(24, 240), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {19, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {22, UPB_SIZE(32, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {23, UPB_SIZE(33, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {24, UPB_SIZE(36, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {25, UPB_SIZE(40, 28), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {26, UPB_SIZE(41, 29), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {27, UPB_SIZE(42, 30), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {28, UPB_SIZE(44, 248), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {30, UPB_SIZE(48, 31), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {31, UPB_SIZE(49, 32), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {32, UPB_SIZE(160, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {33, UPB_SIZE(52, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {34, UPB_SIZE(56, 40), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {35, UPB_SIZE(168, 272), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {36, UPB_SIZE(60, 44), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {37, UPB_SIZE(64, 48), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {38, UPB_SIZE(68, 288), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_CommandLineOptions_msg_init = { - &envoy_admin_v3_CommandLineOptions_submsgs[0], - &envoy_admin_v3_CommandLineOptions__fields[0], - UPB_SIZE(176, 296), 34, kUpb_ExtMode_NonExtendable, 11, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x003800003f000008, &upb_psv8_1bt}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x004000003f00001a, &upb_pss_1bt}, - {0x005000003f000022, &upb_pss_1bt}, - {0x000800003f000028, &upb_psb1_1bt}, - {0x006000003f000032, &upb_pss_1bt}, - {0x000c00003f000038, &upb_psv4_1bt}, - {0x007000003f000042, &upb_pss_1bt}, - {0x008000003f00004a, &upb_pss_1bt}, - {0x009000003f000052, &upb_pss_1bt}, - {0x00a000003f00005a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x00b000003f00006a, &upb_pss_1bt}, - {0x00c000003f000072, &upb_pss_1bt}, - {0x00d000003f00007a, &upb_pss_1bt}, - {0x00e0000001000182, &upb_psm_2bt_maxmaxb}, - {0x00e800000201018a, &upb_psm_2bt_maxmaxb}, - {0x00f0000003020192, &upb_psm_2bt_maxmaxb}, - {0x001000003f000198, &upb_psv4_2bt}, - {0x002c00003f0002a0, &upb_psv4_2bt}, - {0x003000003f0002a8, &upb_psb1_2bt}, - {0x001400003f0001b0, &upb_psb1_2bt}, - {0x001500003f0001b8, &upb_psb1_2bt}, - {0x001800003f0001c0, &upb_psv4_2bt}, - {0x001c00003f0001c8, &upb_psb1_2bt}, - {0x001d00003f0001d0, &upb_psb1_2bt}, - {0x001e00003f0001d8, &upb_psb1_2bt}, - {0x00f800003f0001e2, &upb_prs_2bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001f00003f0001f0, &upb_psb1_2bt}, - {0x002000003f0001f8, &upb_psb1_2bt}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_admin_v3_ServerInfo_msg_init, - &envoy_admin_v3_CommandLineOptions_msg_init, -}; - -const upb_MiniTableFile envoy_admin_v3_server_info_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c b/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c deleted file mode 100644 index d12f40c66de..00000000000 --- a/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +++ /dev/null @@ -1,55 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/admin/v3/tap.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/admin/v3/tap.upb.h" -#include "envoy/config/tap/v3/common.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_admin_v3_TapRequest_submsgs[1] = { - {.submsg = &envoy_config_tap_v3_TapConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_admin_v3_TapRequest__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_admin_v3_TapRequest_msg_init = { - &envoy_admin_v3_TapRequest_submsgs[0], - &envoy_admin_v3_TapRequest__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_admin_v3_TapRequest_msg_init, -}; - -const upb_MiniTableFile envoy_admin_v3_tap_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c b/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c deleted file mode 100644 index d35a0d96e06..00000000000 --- a/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +++ /dev/null @@ -1,61 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/annotations/deprecation.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/annotations/deprecation.upb.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -extern const upb_MiniTable google_protobuf_EnumValueOptions_msg_init; -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -const upb_MiniTableExtension envoy_annotations_disallowed_by_default_ext = { - {189503207, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_FieldOptions_msg_init, - {.submsg = NULL}, - -}; -const upb_MiniTableExtension envoy_annotations_deprecated_at_minor_version_ext = { - {157299826, 0, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - &google_protobuf_FieldOptions_msg_init, - {.submsg = NULL}, - -}; -const upb_MiniTableExtension envoy_annotations_disallowed_by_default_enum_ext = { - {70100853, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_EnumValueOptions_msg_init, - {.submsg = NULL}, - -}; -const upb_MiniTableExtension envoy_annotations_deprecated_at_minor_version_enum_ext = { - {181198657, 0, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - &google_protobuf_EnumValueOptions_msg_init, - {.submsg = NULL}, - -}; - -static const upb_MiniTableExtension *extensions_layout[4] = { - &envoy_annotations_disallowed_by_default_ext, - &envoy_annotations_deprecated_at_minor_version_ext, - &envoy_annotations_disallowed_by_default_enum_ext, - &envoy_annotations_deprecated_at_minor_version_enum_ext, -}; - -const upb_MiniTableFile envoy_annotations_deprecation_proto_upb_file_layout = { - NULL, - NULL, - extensions_layout, - 0, - 0, - 4, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/annotations/resource.upb.c b/src/core/ext/upb-generated/envoy/annotations/resource.upb.c deleted file mode 100644 index fc4c1167ff0..00000000000 --- a/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +++ /dev/null @@ -1,58 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/annotations/resource.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/annotations/resource.upb.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_annotations_ResourceAnnotation__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_annotations_ResourceAnnotation_msg_init = { - NULL, - &envoy_annotations_ResourceAnnotation__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_annotations_ResourceAnnotation_msg_init, -}; - -extern const upb_MiniTable envoy_annotations_ResourceAnnotation_msg_init; -extern const upb_MiniTable google_protobuf_ServiceOptions_msg_init; -const upb_MiniTableExtension envoy_annotations_resource_ext = { - {265073217, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_ServiceOptions_msg_init, - {.submsg = &envoy_annotations_ResourceAnnotation_msg_init}, - -}; - -static const upb_MiniTableExtension *extensions_layout[1] = { - &envoy_annotations_resource_ext, -}; - -const upb_MiniTableFile envoy_annotations_resource_proto_upb_file_layout = { - messages_layout, - NULL, - extensions_layout, - 1, - 0, - 1, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/annotations/resource.upb.h b/src/core/ext/upb-generated/envoy/annotations/resource.upb.h deleted file mode 100644 index 5604387d2ee..00000000000 --- a/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +++ /dev/null @@ -1,110 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/annotations/resource.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPB_H_ -#define ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_annotations_ResourceAnnotation envoy_annotations_ResourceAnnotation; -extern const upb_MiniTable envoy_annotations_ResourceAnnotation_msg_init; -extern const upb_MiniTableExtension envoy_annotations_resource_ext; -struct google_protobuf_ServiceOptions; -extern const upb_MiniTable google_protobuf_ServiceOptions_msg_init; - - - -/* envoy.annotations.ResourceAnnotation */ - -UPB_INLINE envoy_annotations_ResourceAnnotation* envoy_annotations_ResourceAnnotation_new(upb_Arena* arena) { - return (envoy_annotations_ResourceAnnotation*)_upb_Message_New(&envoy_annotations_ResourceAnnotation_msg_init, arena); -} -UPB_INLINE envoy_annotations_ResourceAnnotation* envoy_annotations_ResourceAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_annotations_ResourceAnnotation* ret = envoy_annotations_ResourceAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_annotations_ResourceAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_annotations_ResourceAnnotation* envoy_annotations_ResourceAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_annotations_ResourceAnnotation* ret = envoy_annotations_ResourceAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_annotations_ResourceAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_annotations_ResourceAnnotation_serialize(const envoy_annotations_ResourceAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_annotations_ResourceAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_annotations_ResourceAnnotation_serialize_ex(const envoy_annotations_ResourceAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_annotations_ResourceAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_annotations_ResourceAnnotation_clear_type(envoy_annotations_ResourceAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_annotations_ResourceAnnotation_type(const envoy_annotations_ResourceAnnotation* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_annotations_ResourceAnnotation_set_type(envoy_annotations_ResourceAnnotation *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -UPB_INLINE bool envoy_annotations_has_resource(const struct google_protobuf_ServiceOptions* msg) { - return _upb_Message_HasExtensionField(msg, &envoy_annotations_resource_ext); -} -UPB_INLINE void envoy_annotations_clear_resource(struct google_protobuf_ServiceOptions* msg) { - _upb_Message_ClearExtensionField(msg, &envoy_annotations_resource_ext); -} -UPB_INLINE const envoy_annotations_ResourceAnnotation* envoy_annotations_resource(const struct google_protobuf_ServiceOptions* msg) { - const upb_MiniTableExtension* ext = &envoy_annotations_resource_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const envoy_annotations_ResourceAnnotation* default_val = NULL; - const envoy_annotations_ResourceAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_annotations_set_resource(struct google_protobuf_ServiceOptions* msg, const envoy_annotations_ResourceAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &envoy_annotations_resource_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -extern const upb_MiniTableFile envoy_annotations_resource_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c b/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c deleted file mode 100644 index e1b5468763c..00000000000 --- a/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +++ /dev/null @@ -1,376 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/accesslog/v3/accesslog.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/accesslog/v3/accesslog.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/route/v3/route_components.upb.h" -#include "envoy/data/accesslog/v3/accesslog.upb.h" -#include "envoy/type/matcher/v3/metadata.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_accesslog_v3_AccessLog_submsgs[2] = { - {.submsg = &envoy_config_accesslog_v3_AccessLogFilter_msg_init}, - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_AccessLog__fields[3] = { - {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_AccessLog_msg_init = { - &envoy_config_accesslog_v3_AccessLog_submsgs[0], - &envoy_config_accesslog_v3_AccessLog__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0020000404010022, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_accesslog_v3_AccessLogFilter_submsgs[13] = { - {.submsg = &envoy_config_accesslog_v3_StatusCodeFilter_msg_init}, - {.submsg = &envoy_config_accesslog_v3_DurationFilter_msg_init}, - {.submsg = &envoy_config_accesslog_v3_NotHealthCheckFilter_msg_init}, - {.submsg = &envoy_config_accesslog_v3_TraceableFilter_msg_init}, - {.submsg = &envoy_config_accesslog_v3_RuntimeFilter_msg_init}, - {.submsg = &envoy_config_accesslog_v3_AndFilter_msg_init}, - {.submsg = &envoy_config_accesslog_v3_OrFilter_msg_init}, - {.submsg = &envoy_config_accesslog_v3_HeaderFilter_msg_init}, - {.submsg = &envoy_config_accesslog_v3_ResponseFlagFilter_msg_init}, - {.submsg = &envoy_config_accesslog_v3_GrpcStatusFilter_msg_init}, - {.submsg = &envoy_config_accesslog_v3_ExtensionFilter_msg_init}, - {.submsg = &envoy_config_accesslog_v3_MetadataFilter_msg_init}, - {.submsg = &envoy_config_accesslog_v3_LogTypeFilter_msg_init}, -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_AccessLogFilter__fields[13] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(4, 8), -1, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(4, 8), -1, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_AccessLogFilter_msg_init = { - &envoy_config_accesslog_v3_AccessLogFilter_submsgs[0], - &envoy_config_accesslog_v3_AccessLogFilter__fields[0], - UPB_SIZE(8, 16), 13, kUpb_ExtMode_NonExtendable, 13, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x000800000302001a, &upb_pom_1bt_max64b}, - {0x0008000004030022, &upb_pom_1bt_max64b}, - {0x000800000504002a, &upb_pom_1bt_max64b}, - {0x0008000006050032, &upb_pom_1bt_max64b}, - {0x000800000706003a, &upb_pom_1bt_max64b}, - {0x0008000008070042, &upb_pom_1bt_max64b}, - {0x000800000908004a, &upb_pom_1bt_max64b}, - {0x000800000a090052, &upb_pom_1bt_max64b}, - {0x000800000b0a005a, &upb_pom_1bt_max64b}, - {0x000800000c0b0062, &upb_pom_1bt_max64b}, - {0x000800000d0c006a, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_accesslog_v3_ComparisonFilter_submsgs[1] = { - {.submsg = &envoy_config_core_v3_RuntimeUInt32_msg_init}, -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_ComparisonFilter__fields[2] = { - {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_ComparisonFilter_msg_init = { - &envoy_config_accesslog_v3_ComparisonFilter_submsgs[0], - &envoy_config_accesslog_v3_ComparisonFilter__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x0008000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_accesslog_v3_StatusCodeFilter_submsgs[1] = { - {.submsg = &envoy_config_accesslog_v3_ComparisonFilter_msg_init}, -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_StatusCodeFilter__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_StatusCodeFilter_msg_init = { - &envoy_config_accesslog_v3_StatusCodeFilter_submsgs[0], - &envoy_config_accesslog_v3_StatusCodeFilter__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_accesslog_v3_DurationFilter_submsgs[1] = { - {.submsg = &envoy_config_accesslog_v3_ComparisonFilter_msg_init}, -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_DurationFilter__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_DurationFilter_msg_init = { - &envoy_config_accesslog_v3_DurationFilter_submsgs[0], - &envoy_config_accesslog_v3_DurationFilter__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - }) -}; - -const upb_MiniTable envoy_config_accesslog_v3_NotHealthCheckFilter_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -const upb_MiniTable envoy_config_accesslog_v3_TraceableFilter_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_config_accesslog_v3_RuntimeFilter_submsgs[1] = { - {.submsg = &envoy_type_v3_FractionalPercent_msg_init}, -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_RuntimeFilter__fields[3] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_RuntimeFilter_msg_init = { - &envoy_config_accesslog_v3_RuntimeFilter_submsgs[0], - &envoy_config_accesslog_v3_RuntimeFilter__fields[0], - UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x000100003f000018, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_accesslog_v3_AndFilter_submsgs[1] = { - {.submsg = &envoy_config_accesslog_v3_AccessLogFilter_msg_init}, -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_AndFilter__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_AndFilter_msg_init = { - &envoy_config_accesslog_v3_AndFilter_submsgs[0], - &envoy_config_accesslog_v3_AndFilter__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_accesslog_v3_OrFilter_submsgs[1] = { - {.submsg = &envoy_config_accesslog_v3_AccessLogFilter_msg_init}, -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_OrFilter__fields[1] = { - {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_OrFilter_msg_init = { - &envoy_config_accesslog_v3_OrFilter_submsgs[0], - &envoy_config_accesslog_v3_OrFilter__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000012, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_accesslog_v3_HeaderFilter_submsgs[1] = { - {.submsg = &envoy_config_route_v3_HeaderMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_HeaderFilter__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_HeaderFilter_msg_init = { - &envoy_config_accesslog_v3_HeaderFilter_submsgs[0], - &envoy_config_accesslog_v3_HeaderFilter__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_ResponseFlagFilter__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_ResponseFlagFilter_msg_init = { - NULL, - &envoy_config_accesslog_v3_ResponseFlagFilter__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prs_1bt}, - }) -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_GrpcStatusFilter__fields[2] = { - {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_GrpcStatusFilter_msg_init = { - NULL, - &envoy_config_accesslog_v3_GrpcStatusFilter__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_ppv4_1bt}, - {0x000000003f000010, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_accesslog_v3_MetadataFilter_submsgs[2] = { - {.submsg = &envoy_type_matcher_v3_MetadataMatcher_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_MetadataFilter__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_MetadataFilter_msg_init = { - &envoy_config_accesslog_v3_MetadataFilter_submsgs[0], - &envoy_config_accesslog_v3_MetadataFilter__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_LogTypeFilter__fields[2] = { - {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_LogTypeFilter_msg_init = { - NULL, - &envoy_config_accesslog_v3_LogTypeFilter__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_ppv4_1bt}, - {0x000000003f000010, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_accesslog_v3_ExtensionFilter_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_accesslog_v3_ExtensionFilter__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_accesslog_v3_ExtensionFilter_msg_init = { - &envoy_config_accesslog_v3_ExtensionFilter_submsgs[0], - &envoy_config_accesslog_v3_ExtensionFilter__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000300001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[16] = { - &envoy_config_accesslog_v3_AccessLog_msg_init, - &envoy_config_accesslog_v3_AccessLogFilter_msg_init, - &envoy_config_accesslog_v3_ComparisonFilter_msg_init, - &envoy_config_accesslog_v3_StatusCodeFilter_msg_init, - &envoy_config_accesslog_v3_DurationFilter_msg_init, - &envoy_config_accesslog_v3_NotHealthCheckFilter_msg_init, - &envoy_config_accesslog_v3_TraceableFilter_msg_init, - &envoy_config_accesslog_v3_RuntimeFilter_msg_init, - &envoy_config_accesslog_v3_AndFilter_msg_init, - &envoy_config_accesslog_v3_OrFilter_msg_init, - &envoy_config_accesslog_v3_HeaderFilter_msg_init, - &envoy_config_accesslog_v3_ResponseFlagFilter_msg_init, - &envoy_config_accesslog_v3_GrpcStatusFilter_msg_init, - &envoy_config_accesslog_v3_MetadataFilter_msg_init, - &envoy_config_accesslog_v3_LogTypeFilter_msg_init, - &envoy_config_accesslog_v3_ExtensionFilter_msg_init, -}; - -const upb_MiniTableFile envoy_config_accesslog_v3_accesslog_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 16, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h b/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h deleted file mode 100644 index a70b207759e..00000000000 --- a/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +++ /dev/null @@ -1,1764 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/accesslog/v3/accesslog.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_H_ -#define ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_config_accesslog_v3_AccessLog envoy_config_accesslog_v3_AccessLog; -typedef struct envoy_config_accesslog_v3_AccessLogFilter envoy_config_accesslog_v3_AccessLogFilter; -typedef struct envoy_config_accesslog_v3_ComparisonFilter envoy_config_accesslog_v3_ComparisonFilter; -typedef struct envoy_config_accesslog_v3_StatusCodeFilter envoy_config_accesslog_v3_StatusCodeFilter; -typedef struct envoy_config_accesslog_v3_DurationFilter envoy_config_accesslog_v3_DurationFilter; -typedef struct envoy_config_accesslog_v3_NotHealthCheckFilter envoy_config_accesslog_v3_NotHealthCheckFilter; -typedef struct envoy_config_accesslog_v3_TraceableFilter envoy_config_accesslog_v3_TraceableFilter; -typedef struct envoy_config_accesslog_v3_RuntimeFilter envoy_config_accesslog_v3_RuntimeFilter; -typedef struct envoy_config_accesslog_v3_AndFilter envoy_config_accesslog_v3_AndFilter; -typedef struct envoy_config_accesslog_v3_OrFilter envoy_config_accesslog_v3_OrFilter; -typedef struct envoy_config_accesslog_v3_HeaderFilter envoy_config_accesslog_v3_HeaderFilter; -typedef struct envoy_config_accesslog_v3_ResponseFlagFilter envoy_config_accesslog_v3_ResponseFlagFilter; -typedef struct envoy_config_accesslog_v3_GrpcStatusFilter envoy_config_accesslog_v3_GrpcStatusFilter; -typedef struct envoy_config_accesslog_v3_MetadataFilter envoy_config_accesslog_v3_MetadataFilter; -typedef struct envoy_config_accesslog_v3_LogTypeFilter envoy_config_accesslog_v3_LogTypeFilter; -typedef struct envoy_config_accesslog_v3_ExtensionFilter envoy_config_accesslog_v3_ExtensionFilter; -extern const upb_MiniTable envoy_config_accesslog_v3_AccessLog_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_AccessLogFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_ComparisonFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_StatusCodeFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_DurationFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_NotHealthCheckFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_TraceableFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_RuntimeFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_AndFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_OrFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_HeaderFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_ResponseFlagFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_GrpcStatusFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_MetadataFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_LogTypeFilter_msg_init; -extern const upb_MiniTable envoy_config_accesslog_v3_ExtensionFilter_msg_init; -struct envoy_config_core_v3_RuntimeUInt32; -struct envoy_config_route_v3_HeaderMatcher; -struct envoy_type_matcher_v3_MetadataMatcher; -struct envoy_type_v3_FractionalPercent; -struct google_protobuf_Any; -struct google_protobuf_BoolValue; -extern const upb_MiniTable envoy_config_core_v3_RuntimeUInt32_msg_init; -extern const upb_MiniTable envoy_config_route_v3_HeaderMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_MetadataMatcher_msg_init; -extern const upb_MiniTable envoy_type_v3_FractionalPercent_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; - -typedef enum { - envoy_config_accesslog_v3_ComparisonFilter_EQ = 0, - envoy_config_accesslog_v3_ComparisonFilter_GE = 1, - envoy_config_accesslog_v3_ComparisonFilter_LE = 2 -} envoy_config_accesslog_v3_ComparisonFilter_Op; - -typedef enum { - envoy_config_accesslog_v3_GrpcStatusFilter_OK = 0, - envoy_config_accesslog_v3_GrpcStatusFilter_CANCELED = 1, - envoy_config_accesslog_v3_GrpcStatusFilter_UNKNOWN = 2, - envoy_config_accesslog_v3_GrpcStatusFilter_INVALID_ARGUMENT = 3, - envoy_config_accesslog_v3_GrpcStatusFilter_DEADLINE_EXCEEDED = 4, - envoy_config_accesslog_v3_GrpcStatusFilter_NOT_FOUND = 5, - envoy_config_accesslog_v3_GrpcStatusFilter_ALREADY_EXISTS = 6, - envoy_config_accesslog_v3_GrpcStatusFilter_PERMISSION_DENIED = 7, - envoy_config_accesslog_v3_GrpcStatusFilter_RESOURCE_EXHAUSTED = 8, - envoy_config_accesslog_v3_GrpcStatusFilter_FAILED_PRECONDITION = 9, - envoy_config_accesslog_v3_GrpcStatusFilter_ABORTED = 10, - envoy_config_accesslog_v3_GrpcStatusFilter_OUT_OF_RANGE = 11, - envoy_config_accesslog_v3_GrpcStatusFilter_UNIMPLEMENTED = 12, - envoy_config_accesslog_v3_GrpcStatusFilter_INTERNAL = 13, - envoy_config_accesslog_v3_GrpcStatusFilter_UNAVAILABLE = 14, - envoy_config_accesslog_v3_GrpcStatusFilter_DATA_LOSS = 15, - envoy_config_accesslog_v3_GrpcStatusFilter_UNAUTHENTICATED = 16 -} envoy_config_accesslog_v3_GrpcStatusFilter_Status; - - - -/* envoy.config.accesslog.v3.AccessLog */ - -UPB_INLINE envoy_config_accesslog_v3_AccessLog* envoy_config_accesslog_v3_AccessLog_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_AccessLog*)_upb_Message_New(&envoy_config_accesslog_v3_AccessLog_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_AccessLog* envoy_config_accesslog_v3_AccessLog_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_AccessLog* ret = envoy_config_accesslog_v3_AccessLog_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_AccessLog_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_AccessLog* envoy_config_accesslog_v3_AccessLog_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_AccessLog* ret = envoy_config_accesslog_v3_AccessLog_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_AccessLog_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_AccessLog_serialize(const envoy_config_accesslog_v3_AccessLog* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_AccessLog_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_AccessLog_serialize_ex(const envoy_config_accesslog_v3_AccessLog* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_AccessLog_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_accesslog_v3_AccessLog_config_type_typed_config = 4, - envoy_config_accesslog_v3_AccessLog_config_type_NOT_SET = 0 -} envoy_config_accesslog_v3_AccessLog_config_type_oneofcases; -UPB_INLINE envoy_config_accesslog_v3_AccessLog_config_type_oneofcases envoy_config_accesslog_v3_AccessLog_config_type_case(const envoy_config_accesslog_v3_AccessLog* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_accesslog_v3_AccessLog_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLog_clear_name(envoy_config_accesslog_v3_AccessLog* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_accesslog_v3_AccessLog_name(const envoy_config_accesslog_v3_AccessLog* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLog_clear_filter(envoy_config_accesslog_v3_AccessLog* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AccessLog_filter(const envoy_config_accesslog_v3_AccessLog* msg) { - const envoy_config_accesslog_v3_AccessLogFilter* default_val = NULL; - const envoy_config_accesslog_v3_AccessLogFilter* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLog_has_filter(const envoy_config_accesslog_v3_AccessLog* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLog_clear_typed_config(envoy_config_accesslog_v3_AccessLog* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Any* envoy_config_accesslog_v3_AccessLog_typed_config(const envoy_config_accesslog_v3_AccessLog* msg) { - const struct google_protobuf_Any* default_val = NULL; - const struct google_protobuf_Any* ret; - const upb_MiniTableField field = {4, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLog_has_typed_config(const envoy_config_accesslog_v3_AccessLog* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_accesslog_v3_AccessLog_set_name(envoy_config_accesslog_v3_AccessLog *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLog_set_filter(envoy_config_accesslog_v3_AccessLog *msg, envoy_config_accesslog_v3_AccessLogFilter* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AccessLog_mutable_filter(envoy_config_accesslog_v3_AccessLog* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_AccessLogFilter* sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)envoy_config_accesslog_v3_AccessLog_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)_upb_Message_New(&envoy_config_accesslog_v3_AccessLogFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLog_set_filter(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLog_set_typed_config(envoy_config_accesslog_v3_AccessLog *msg, struct google_protobuf_Any* value) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Any* envoy_config_accesslog_v3_AccessLog_mutable_typed_config(envoy_config_accesslog_v3_AccessLog* msg, upb_Arena* arena) { - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_accesslog_v3_AccessLog_typed_config(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLog_set_typed_config(msg, sub); - } - return sub; -} - -/* envoy.config.accesslog.v3.AccessLogFilter */ - -UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AccessLogFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_AccessLogFilter*)_upb_Message_New(&envoy_config_accesslog_v3_AccessLogFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AccessLogFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_AccessLogFilter* ret = envoy_config_accesslog_v3_AccessLogFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_AccessLogFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AccessLogFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_AccessLogFilter* ret = envoy_config_accesslog_v3_AccessLogFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_AccessLogFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_AccessLogFilter_serialize(const envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_AccessLogFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_AccessLogFilter_serialize_ex(const envoy_config_accesslog_v3_AccessLogFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_AccessLogFilter_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_status_code_filter = 1, - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_duration_filter = 2, - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_not_health_check_filter = 3, - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_traceable_filter = 4, - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_runtime_filter = 5, - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_and_filter = 6, - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_or_filter = 7, - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_header_filter = 8, - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_response_flag_filter = 9, - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_grpc_status_filter = 10, - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_extension_filter = 11, - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_metadata_filter = 12, - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_log_type_filter = 13, - envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_NOT_SET = 0 -} envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_oneofcases; -UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_oneofcases envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_case(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_accesslog_v3_AccessLogFilter_filter_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_status_code_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3_AccessLogFilter_status_code_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const envoy_config_accesslog_v3_StatusCodeFilter* default_val = NULL; - const envoy_config_accesslog_v3_StatusCodeFilter* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_status_code_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_duration_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_AccessLogFilter_duration_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const envoy_config_accesslog_v3_DurationFilter* default_val = NULL; - const envoy_config_accesslog_v3_DurationFilter* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_duration_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_not_health_check_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslog_v3_AccessLogFilter_not_health_check_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const envoy_config_accesslog_v3_NotHealthCheckFilter* default_val = NULL; - const envoy_config_accesslog_v3_NotHealthCheckFilter* ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_not_health_check_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_traceable_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_AccessLogFilter_traceable_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const envoy_config_accesslog_v3_TraceableFilter* default_val = NULL; - const envoy_config_accesslog_v3_TraceableFilter* ret; - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_traceable_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_runtime_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_AccessLogFilter_runtime_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const envoy_config_accesslog_v3_RuntimeFilter* default_val = NULL; - const envoy_config_accesslog_v3_RuntimeFilter* ret; - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_runtime_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_and_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AccessLogFilter_and_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const envoy_config_accesslog_v3_AndFilter* default_val = NULL; - const envoy_config_accesslog_v3_AndFilter* ret; - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_and_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_or_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_AccessLogFilter_or_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const envoy_config_accesslog_v3_OrFilter* default_val = NULL; - const envoy_config_accesslog_v3_OrFilter* ret; - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_or_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_header_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_AccessLogFilter_header_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const envoy_config_accesslog_v3_HeaderFilter* default_val = NULL; - const envoy_config_accesslog_v3_HeaderFilter* ret; - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_header_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_response_flag_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_v3_AccessLogFilter_response_flag_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const envoy_config_accesslog_v3_ResponseFlagFilter* default_val = NULL; - const envoy_config_accesslog_v3_ResponseFlagFilter* ret; - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_response_flag_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_grpc_status_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3_AccessLogFilter_grpc_status_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const envoy_config_accesslog_v3_GrpcStatusFilter* default_val = NULL; - const envoy_config_accesslog_v3_GrpcStatusFilter* ret; - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_grpc_status_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_extension_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_AccessLogFilter_extension_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const envoy_config_accesslog_v3_ExtensionFilter* default_val = NULL; - const envoy_config_accesslog_v3_ExtensionFilter* ret; - const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_extension_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_metadata_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_AccessLogFilter_metadata_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const envoy_config_accesslog_v3_MetadataFilter* default_val = NULL; - const envoy_config_accesslog_v3_MetadataFilter* ret; - const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_metadata_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_clear_log_type_filter(envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(4, 8), -1, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_AccessLogFilter_log_type_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const envoy_config_accesslog_v3_LogTypeFilter* default_val = NULL; - const envoy_config_accesslog_v3_LogTypeFilter* ret; - const upb_MiniTableField field = {13, UPB_SIZE(4, 8), -1, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_AccessLogFilter_has_log_type_filter(const envoy_config_accesslog_v3_AccessLogFilter* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(4, 8), -1, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_status_code_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_StatusCodeFilter* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_status_code_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_StatusCodeFilter* sub = (struct envoy_config_accesslog_v3_StatusCodeFilter*)envoy_config_accesslog_v3_AccessLogFilter_status_code_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_StatusCodeFilter*)_upb_Message_New(&envoy_config_accesslog_v3_StatusCodeFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_status_code_filter(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_duration_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_DurationFilter* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_duration_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_DurationFilter* sub = (struct envoy_config_accesslog_v3_DurationFilter*)envoy_config_accesslog_v3_AccessLogFilter_duration_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_DurationFilter*)_upb_Message_New(&envoy_config_accesslog_v3_DurationFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_duration_filter(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_not_health_check_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_NotHealthCheckFilter* value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_not_health_check_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_NotHealthCheckFilter* sub = (struct envoy_config_accesslog_v3_NotHealthCheckFilter*)envoy_config_accesslog_v3_AccessLogFilter_not_health_check_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_NotHealthCheckFilter*)_upb_Message_New(&envoy_config_accesslog_v3_NotHealthCheckFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_not_health_check_filter(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_traceable_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_TraceableFilter* value) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_traceable_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_TraceableFilter* sub = (struct envoy_config_accesslog_v3_TraceableFilter*)envoy_config_accesslog_v3_AccessLogFilter_traceable_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_TraceableFilter*)_upb_Message_New(&envoy_config_accesslog_v3_TraceableFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_traceable_filter(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_runtime_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_RuntimeFilter* value) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_runtime_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_RuntimeFilter* sub = (struct envoy_config_accesslog_v3_RuntimeFilter*)envoy_config_accesslog_v3_AccessLogFilter_runtime_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_RuntimeFilter*)_upb_Message_New(&envoy_config_accesslog_v3_RuntimeFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_runtime_filter(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_and_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_AndFilter* value) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_and_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_AndFilter* sub = (struct envoy_config_accesslog_v3_AndFilter*)envoy_config_accesslog_v3_AccessLogFilter_and_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_AndFilter*)_upb_Message_New(&envoy_config_accesslog_v3_AndFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_and_filter(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_or_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_OrFilter* value) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_or_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_OrFilter* sub = (struct envoy_config_accesslog_v3_OrFilter*)envoy_config_accesslog_v3_AccessLogFilter_or_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_OrFilter*)_upb_Message_New(&envoy_config_accesslog_v3_OrFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_or_filter(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_header_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_HeaderFilter* value) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_header_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_HeaderFilter* sub = (struct envoy_config_accesslog_v3_HeaderFilter*)envoy_config_accesslog_v3_AccessLogFilter_header_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_HeaderFilter*)_upb_Message_New(&envoy_config_accesslog_v3_HeaderFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_header_filter(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_response_flag_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_ResponseFlagFilter* value) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_response_flag_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_ResponseFlagFilter* sub = (struct envoy_config_accesslog_v3_ResponseFlagFilter*)envoy_config_accesslog_v3_AccessLogFilter_response_flag_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_ResponseFlagFilter*)_upb_Message_New(&envoy_config_accesslog_v3_ResponseFlagFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_response_flag_filter(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_grpc_status_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_GrpcStatusFilter* value) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_grpc_status_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_GrpcStatusFilter* sub = (struct envoy_config_accesslog_v3_GrpcStatusFilter*)envoy_config_accesslog_v3_AccessLogFilter_grpc_status_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_GrpcStatusFilter*)_upb_Message_New(&envoy_config_accesslog_v3_GrpcStatusFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_grpc_status_filter(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_extension_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_ExtensionFilter* value) { - const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_extension_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_ExtensionFilter* sub = (struct envoy_config_accesslog_v3_ExtensionFilter*)envoy_config_accesslog_v3_AccessLogFilter_extension_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_ExtensionFilter*)_upb_Message_New(&envoy_config_accesslog_v3_ExtensionFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_extension_filter(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_metadata_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_MetadataFilter* value) { - const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_metadata_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_MetadataFilter* sub = (struct envoy_config_accesslog_v3_MetadataFilter*)envoy_config_accesslog_v3_AccessLogFilter_metadata_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_MetadataFilter*)_upb_Message_New(&envoy_config_accesslog_v3_MetadataFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_metadata_filter(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_AccessLogFilter_set_log_type_filter(envoy_config_accesslog_v3_AccessLogFilter *msg, envoy_config_accesslog_v3_LogTypeFilter* value) { - const upb_MiniTableField field = {13, UPB_SIZE(4, 8), -1, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_AccessLogFilter_mutable_log_type_filter(envoy_config_accesslog_v3_AccessLogFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_LogTypeFilter* sub = (struct envoy_config_accesslog_v3_LogTypeFilter*)envoy_config_accesslog_v3_AccessLogFilter_log_type_filter(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_LogTypeFilter*)_upb_Message_New(&envoy_config_accesslog_v3_LogTypeFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_AccessLogFilter_set_log_type_filter(msg, sub); - } - return sub; -} - -/* envoy.config.accesslog.v3.ComparisonFilter */ - -UPB_INLINE envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_ComparisonFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_ComparisonFilter*)_upb_Message_New(&envoy_config_accesslog_v3_ComparisonFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_ComparisonFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_ComparisonFilter* ret = envoy_config_accesslog_v3_ComparisonFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_ComparisonFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_ComparisonFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_ComparisonFilter* ret = envoy_config_accesslog_v3_ComparisonFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_ComparisonFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_ComparisonFilter_serialize(const envoy_config_accesslog_v3_ComparisonFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_ComparisonFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_ComparisonFilter_serialize_ex(const envoy_config_accesslog_v3_ComparisonFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_ComparisonFilter_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_accesslog_v3_ComparisonFilter_clear_op(envoy_config_accesslog_v3_ComparisonFilter* msg) { - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_config_accesslog_v3_ComparisonFilter_op(const envoy_config_accesslog_v3_ComparisonFilter* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_accesslog_v3_ComparisonFilter_clear_value(envoy_config_accesslog_v3_ComparisonFilter* msg) { - const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_RuntimeUInt32* envoy_config_accesslog_v3_ComparisonFilter_value(const envoy_config_accesslog_v3_ComparisonFilter* msg) { - const struct envoy_config_core_v3_RuntimeUInt32* default_val = NULL; - const struct envoy_config_core_v3_RuntimeUInt32* ret; - const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_ComparisonFilter_has_value(const envoy_config_accesslog_v3_ComparisonFilter* msg) { - const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_accesslog_v3_ComparisonFilter_set_op(envoy_config_accesslog_v3_ComparisonFilter *msg, int32_t value) { - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_accesslog_v3_ComparisonFilter_set_value(envoy_config_accesslog_v3_ComparisonFilter *msg, struct envoy_config_core_v3_RuntimeUInt32* value) { - const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_RuntimeUInt32* envoy_config_accesslog_v3_ComparisonFilter_mutable_value(envoy_config_accesslog_v3_ComparisonFilter* msg, upb_Arena* arena) { - struct envoy_config_core_v3_RuntimeUInt32* sub = (struct envoy_config_core_v3_RuntimeUInt32*)envoy_config_accesslog_v3_ComparisonFilter_value(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_RuntimeUInt32*)_upb_Message_New(&envoy_config_core_v3_RuntimeUInt32_msg_init, arena); - if (sub) envoy_config_accesslog_v3_ComparisonFilter_set_value(msg, sub); - } - return sub; -} - -/* envoy.config.accesslog.v3.StatusCodeFilter */ - -UPB_INLINE envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3_StatusCodeFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_StatusCodeFilter*)_upb_Message_New(&envoy_config_accesslog_v3_StatusCodeFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3_StatusCodeFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_StatusCodeFilter* ret = envoy_config_accesslog_v3_StatusCodeFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_StatusCodeFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_StatusCodeFilter* envoy_config_accesslog_v3_StatusCodeFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_StatusCodeFilter* ret = envoy_config_accesslog_v3_StatusCodeFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_StatusCodeFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_StatusCodeFilter_serialize(const envoy_config_accesslog_v3_StatusCodeFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_StatusCodeFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_StatusCodeFilter_serialize_ex(const envoy_config_accesslog_v3_StatusCodeFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_StatusCodeFilter_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_accesslog_v3_StatusCodeFilter_clear_comparison(envoy_config_accesslog_v3_StatusCodeFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_StatusCodeFilter_comparison(const envoy_config_accesslog_v3_StatusCodeFilter* msg) { - const envoy_config_accesslog_v3_ComparisonFilter* default_val = NULL; - const envoy_config_accesslog_v3_ComparisonFilter* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_StatusCodeFilter_has_comparison(const envoy_config_accesslog_v3_StatusCodeFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_accesslog_v3_StatusCodeFilter_set_comparison(envoy_config_accesslog_v3_StatusCodeFilter *msg, envoy_config_accesslog_v3_ComparisonFilter* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_StatusCodeFilter_mutable_comparison(envoy_config_accesslog_v3_StatusCodeFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_ComparisonFilter* sub = (struct envoy_config_accesslog_v3_ComparisonFilter*)envoy_config_accesslog_v3_StatusCodeFilter_comparison(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_ComparisonFilter*)_upb_Message_New(&envoy_config_accesslog_v3_ComparisonFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_StatusCodeFilter_set_comparison(msg, sub); - } - return sub; -} - -/* envoy.config.accesslog.v3.DurationFilter */ - -UPB_INLINE envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_DurationFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_DurationFilter*)_upb_Message_New(&envoy_config_accesslog_v3_DurationFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_DurationFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_DurationFilter* ret = envoy_config_accesslog_v3_DurationFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_DurationFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_DurationFilter* envoy_config_accesslog_v3_DurationFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_DurationFilter* ret = envoy_config_accesslog_v3_DurationFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_DurationFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_DurationFilter_serialize(const envoy_config_accesslog_v3_DurationFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_DurationFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_DurationFilter_serialize_ex(const envoy_config_accesslog_v3_DurationFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_DurationFilter_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_accesslog_v3_DurationFilter_clear_comparison(envoy_config_accesslog_v3_DurationFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_DurationFilter_comparison(const envoy_config_accesslog_v3_DurationFilter* msg) { - const envoy_config_accesslog_v3_ComparisonFilter* default_val = NULL; - const envoy_config_accesslog_v3_ComparisonFilter* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_DurationFilter_has_comparison(const envoy_config_accesslog_v3_DurationFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_accesslog_v3_DurationFilter_set_comparison(envoy_config_accesslog_v3_DurationFilter *msg, envoy_config_accesslog_v3_ComparisonFilter* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_accesslog_v3_ComparisonFilter* envoy_config_accesslog_v3_DurationFilter_mutable_comparison(envoy_config_accesslog_v3_DurationFilter* msg, upb_Arena* arena) { - struct envoy_config_accesslog_v3_ComparisonFilter* sub = (struct envoy_config_accesslog_v3_ComparisonFilter*)envoy_config_accesslog_v3_DurationFilter_comparison(msg); - if (sub == NULL) { - sub = (struct envoy_config_accesslog_v3_ComparisonFilter*)_upb_Message_New(&envoy_config_accesslog_v3_ComparisonFilter_msg_init, arena); - if (sub) envoy_config_accesslog_v3_DurationFilter_set_comparison(msg, sub); - } - return sub; -} - -/* envoy.config.accesslog.v3.NotHealthCheckFilter */ - -UPB_INLINE envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslog_v3_NotHealthCheckFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_NotHealthCheckFilter*)_upb_Message_New(&envoy_config_accesslog_v3_NotHealthCheckFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslog_v3_NotHealthCheckFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_NotHealthCheckFilter* ret = envoy_config_accesslog_v3_NotHealthCheckFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_NotHealthCheckFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_NotHealthCheckFilter* envoy_config_accesslog_v3_NotHealthCheckFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_NotHealthCheckFilter* ret = envoy_config_accesslog_v3_NotHealthCheckFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_NotHealthCheckFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_NotHealthCheckFilter_serialize(const envoy_config_accesslog_v3_NotHealthCheckFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_NotHealthCheckFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_NotHealthCheckFilter_serialize_ex(const envoy_config_accesslog_v3_NotHealthCheckFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_NotHealthCheckFilter_msg_init, options, arena, &ptr, len); - return ptr; -} - - -/* envoy.config.accesslog.v3.TraceableFilter */ - -UPB_INLINE envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_TraceableFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_TraceableFilter*)_upb_Message_New(&envoy_config_accesslog_v3_TraceableFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_TraceableFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_TraceableFilter* ret = envoy_config_accesslog_v3_TraceableFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_TraceableFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_TraceableFilter* envoy_config_accesslog_v3_TraceableFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_TraceableFilter* ret = envoy_config_accesslog_v3_TraceableFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_TraceableFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_TraceableFilter_serialize(const envoy_config_accesslog_v3_TraceableFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_TraceableFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_TraceableFilter_serialize_ex(const envoy_config_accesslog_v3_TraceableFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_TraceableFilter_msg_init, options, arena, &ptr, len); - return ptr; -} - - -/* envoy.config.accesslog.v3.RuntimeFilter */ - -UPB_INLINE envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_RuntimeFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_RuntimeFilter*)_upb_Message_New(&envoy_config_accesslog_v3_RuntimeFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_RuntimeFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_RuntimeFilter* ret = envoy_config_accesslog_v3_RuntimeFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_RuntimeFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_RuntimeFilter* envoy_config_accesslog_v3_RuntimeFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_RuntimeFilter* ret = envoy_config_accesslog_v3_RuntimeFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_RuntimeFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_RuntimeFilter_serialize(const envoy_config_accesslog_v3_RuntimeFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_RuntimeFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_RuntimeFilter_serialize_ex(const envoy_config_accesslog_v3_RuntimeFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_RuntimeFilter_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_clear_runtime_key(envoy_config_accesslog_v3_RuntimeFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_accesslog_v3_RuntimeFilter_runtime_key(const envoy_config_accesslog_v3_RuntimeFilter* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_clear_percent_sampled(envoy_config_accesslog_v3_RuntimeFilter* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_v3_FractionalPercent* envoy_config_accesslog_v3_RuntimeFilter_percent_sampled(const envoy_config_accesslog_v3_RuntimeFilter* msg) { - const struct envoy_type_v3_FractionalPercent* default_val = NULL; - const struct envoy_type_v3_FractionalPercent* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_RuntimeFilter_has_percent_sampled(const envoy_config_accesslog_v3_RuntimeFilter* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_clear_use_independent_randomness(envoy_config_accesslog_v3_RuntimeFilter* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_accesslog_v3_RuntimeFilter_use_independent_randomness(const envoy_config_accesslog_v3_RuntimeFilter* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_set_runtime_key(envoy_config_accesslog_v3_RuntimeFilter *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_set_percent_sampled(envoy_config_accesslog_v3_RuntimeFilter *msg, struct envoy_type_v3_FractionalPercent* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_config_accesslog_v3_RuntimeFilter_mutable_percent_sampled(envoy_config_accesslog_v3_RuntimeFilter* msg, upb_Arena* arena) { - struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_config_accesslog_v3_RuntimeFilter_percent_sampled(msg); - if (sub == NULL) { - sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy_type_v3_FractionalPercent_msg_init, arena); - if (sub) envoy_config_accesslog_v3_RuntimeFilter_set_percent_sampled(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_RuntimeFilter_set_use_independent_randomness(envoy_config_accesslog_v3_RuntimeFilter *msg, bool value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.config.accesslog.v3.AndFilter */ - -UPB_INLINE envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AndFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_AndFilter*)_upb_Message_New(&envoy_config_accesslog_v3_AndFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AndFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_AndFilter* ret = envoy_config_accesslog_v3_AndFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_AndFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_AndFilter* envoy_config_accesslog_v3_AndFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_AndFilter* ret = envoy_config_accesslog_v3_AndFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_AndFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_AndFilter_serialize(const envoy_config_accesslog_v3_AndFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_AndFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_AndFilter_serialize_ex(const envoy_config_accesslog_v3_AndFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_AndFilter_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_accesslog_v3_AndFilter_clear_filters(envoy_config_accesslog_v3_AndFilter* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_AccessLogFilter* const* envoy_config_accesslog_v3_AndFilter_filters(const envoy_config_accesslog_v3_AndFilter* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_accesslog_v3_AccessLogFilter* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_AndFilter_filters_upb_array(const envoy_config_accesslog_v3_AndFilter* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_accesslog_v3_AndFilter_filters_mutable_upb_array(const envoy_config_accesslog_v3_AndFilter* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_accesslog_v3_AndFilter_has_filters(const envoy_config_accesslog_v3_AndFilter* msg) { - size_t size; - envoy_config_accesslog_v3_AndFilter_filters(msg, &size); - return size != 0; -} - -UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter** envoy_config_accesslog_v3_AndFilter_mutable_filters(envoy_config_accesslog_v3_AndFilter* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_accesslog_v3_AccessLogFilter**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter** envoy_config_accesslog_v3_AndFilter_resize_filters(envoy_config_accesslog_v3_AndFilter* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_accesslog_v3_AccessLogFilter**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_AndFilter_add_filters(envoy_config_accesslog_v3_AndFilter* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_accesslog_v3_AccessLogFilter* sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)_upb_Message_New(&envoy_config_accesslog_v3_AccessLogFilter_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.accesslog.v3.OrFilter */ - -UPB_INLINE envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_OrFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_OrFilter*)_upb_Message_New(&envoy_config_accesslog_v3_OrFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_OrFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_OrFilter* ret = envoy_config_accesslog_v3_OrFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_OrFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_OrFilter* envoy_config_accesslog_v3_OrFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_OrFilter* ret = envoy_config_accesslog_v3_OrFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_OrFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_OrFilter_serialize(const envoy_config_accesslog_v3_OrFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_OrFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_OrFilter_serialize_ex(const envoy_config_accesslog_v3_OrFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_OrFilter_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_accesslog_v3_OrFilter_clear_filters(envoy_config_accesslog_v3_OrFilter* msg) { - const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_accesslog_v3_AccessLogFilter* const* envoy_config_accesslog_v3_OrFilter_filters(const envoy_config_accesslog_v3_OrFilter* msg, size_t* size) { - const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_accesslog_v3_AccessLogFilter* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_OrFilter_filters_upb_array(const envoy_config_accesslog_v3_OrFilter* msg, size_t* size) { - const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_accesslog_v3_OrFilter_filters_mutable_upb_array(const envoy_config_accesslog_v3_OrFilter* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_accesslog_v3_OrFilter_has_filters(const envoy_config_accesslog_v3_OrFilter* msg) { - size_t size; - envoy_config_accesslog_v3_OrFilter_filters(msg, &size); - return size != 0; -} - -UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter** envoy_config_accesslog_v3_OrFilter_mutable_filters(envoy_config_accesslog_v3_OrFilter* msg, size_t* size) { - upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_accesslog_v3_AccessLogFilter**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_accesslog_v3_AccessLogFilter** envoy_config_accesslog_v3_OrFilter_resize_filters(envoy_config_accesslog_v3_OrFilter* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_accesslog_v3_AccessLogFilter**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_accesslog_v3_AccessLogFilter* envoy_config_accesslog_v3_OrFilter_add_filters(envoy_config_accesslog_v3_OrFilter* msg, upb_Arena* arena) { - upb_MiniTableField field = {2, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_accesslog_v3_AccessLogFilter* sub = (struct envoy_config_accesslog_v3_AccessLogFilter*)_upb_Message_New(&envoy_config_accesslog_v3_AccessLogFilter_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.accesslog.v3.HeaderFilter */ - -UPB_INLINE envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_HeaderFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_HeaderFilter*)_upb_Message_New(&envoy_config_accesslog_v3_HeaderFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_HeaderFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_HeaderFilter* ret = envoy_config_accesslog_v3_HeaderFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_HeaderFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_HeaderFilter* envoy_config_accesslog_v3_HeaderFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_HeaderFilter* ret = envoy_config_accesslog_v3_HeaderFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_HeaderFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_HeaderFilter_serialize(const envoy_config_accesslog_v3_HeaderFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_HeaderFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_HeaderFilter_serialize_ex(const envoy_config_accesslog_v3_HeaderFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_HeaderFilter_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_accesslog_v3_HeaderFilter_clear_header(envoy_config_accesslog_v3_HeaderFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* envoy_config_accesslog_v3_HeaderFilter_header(const envoy_config_accesslog_v3_HeaderFilter* msg) { - const struct envoy_config_route_v3_HeaderMatcher* default_val = NULL; - const struct envoy_config_route_v3_HeaderMatcher* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_HeaderFilter_has_header(const envoy_config_accesslog_v3_HeaderFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_accesslog_v3_HeaderFilter_set_header(envoy_config_accesslog_v3_HeaderFilter *msg, struct envoy_config_route_v3_HeaderMatcher* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_accesslog_v3_HeaderFilter_mutable_header(envoy_config_accesslog_v3_HeaderFilter* msg, upb_Arena* arena) { - struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)envoy_config_accesslog_v3_HeaderFilter_header(msg); - if (sub == NULL) { - sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy_config_route_v3_HeaderMatcher_msg_init, arena); - if (sub) envoy_config_accesslog_v3_HeaderFilter_set_header(msg, sub); - } - return sub; -} - -/* envoy.config.accesslog.v3.ResponseFlagFilter */ - -UPB_INLINE envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_v3_ResponseFlagFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_ResponseFlagFilter*)_upb_Message_New(&envoy_config_accesslog_v3_ResponseFlagFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_v3_ResponseFlagFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_ResponseFlagFilter* ret = envoy_config_accesslog_v3_ResponseFlagFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_ResponseFlagFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_ResponseFlagFilter* envoy_config_accesslog_v3_ResponseFlagFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_ResponseFlagFilter* ret = envoy_config_accesslog_v3_ResponseFlagFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_ResponseFlagFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_ResponseFlagFilter_serialize(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_ResponseFlagFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_ResponseFlagFilter_serialize_ex(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_ResponseFlagFilter_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_accesslog_v3_ResponseFlagFilter_clear_flags(envoy_config_accesslog_v3_ResponseFlagFilter* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* envoy_config_accesslog_v3_ResponseFlagFilter_flags(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_ResponseFlagFilter_flags_upb_array(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_accesslog_v3_ResponseFlagFilter_flags_mutable_upb_array(const envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_accesslog_v3_ResponseFlagFilter_has_flags(const envoy_config_accesslog_v3_ResponseFlagFilter* msg) { - size_t size; - envoy_config_accesslog_v3_ResponseFlagFilter_flags(msg, &size); - return size != 0; -} - -UPB_INLINE upb_StringView* envoy_config_accesslog_v3_ResponseFlagFilter_mutable_flags(envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* envoy_config_accesslog_v3_ResponseFlagFilter_resize_flags(envoy_config_accesslog_v3_ResponseFlagFilter* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool envoy_config_accesslog_v3_ResponseFlagFilter_add_flags(envoy_config_accesslog_v3_ResponseFlagFilter* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} - -/* envoy.config.accesslog.v3.GrpcStatusFilter */ - -UPB_INLINE envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3_GrpcStatusFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_GrpcStatusFilter*)_upb_Message_New(&envoy_config_accesslog_v3_GrpcStatusFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3_GrpcStatusFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_GrpcStatusFilter* ret = envoy_config_accesslog_v3_GrpcStatusFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_GrpcStatusFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_GrpcStatusFilter* envoy_config_accesslog_v3_GrpcStatusFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_GrpcStatusFilter* ret = envoy_config_accesslog_v3_GrpcStatusFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_GrpcStatusFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_GrpcStatusFilter_serialize(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_GrpcStatusFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_GrpcStatusFilter_serialize_ex(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_GrpcStatusFilter_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_accesslog_v3_GrpcStatusFilter_clear_statuses(envoy_config_accesslog_v3_GrpcStatusFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t const* envoy_config_accesslog_v3_GrpcStatusFilter_statuses(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_GrpcStatusFilter_statuses_upb_array(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_accesslog_v3_GrpcStatusFilter_statuses_mutable_upb_array(const envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_accesslog_v3_GrpcStatusFilter_has_statuses(const envoy_config_accesslog_v3_GrpcStatusFilter* msg) { - size_t size; - envoy_config_accesslog_v3_GrpcStatusFilter_statuses(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_config_accesslog_v3_GrpcStatusFilter_clear_exclude(envoy_config_accesslog_v3_GrpcStatusFilter* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_accesslog_v3_GrpcStatusFilter_exclude(const envoy_config_accesslog_v3_GrpcStatusFilter* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE int32_t* envoy_config_accesslog_v3_GrpcStatusFilter_mutable_statuses(envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t* size) { - upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE int32_t* envoy_config_accesslog_v3_GrpcStatusFilter_resize_statuses(envoy_config_accesslog_v3_GrpcStatusFilter* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool envoy_config_accesslog_v3_GrpcStatusFilter_add_statuses(envoy_config_accesslog_v3_GrpcStatusFilter* msg, int32_t val, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE void envoy_config_accesslog_v3_GrpcStatusFilter_set_exclude(envoy_config_accesslog_v3_GrpcStatusFilter *msg, bool value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.config.accesslog.v3.MetadataFilter */ - -UPB_INLINE envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_MetadataFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_MetadataFilter*)_upb_Message_New(&envoy_config_accesslog_v3_MetadataFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_MetadataFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_MetadataFilter* ret = envoy_config_accesslog_v3_MetadataFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_MetadataFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_MetadataFilter* envoy_config_accesslog_v3_MetadataFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_MetadataFilter* ret = envoy_config_accesslog_v3_MetadataFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_MetadataFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_MetadataFilter_serialize(const envoy_config_accesslog_v3_MetadataFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_MetadataFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_MetadataFilter_serialize_ex(const envoy_config_accesslog_v3_MetadataFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_MetadataFilter_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_accesslog_v3_MetadataFilter_clear_matcher(envoy_config_accesslog_v3_MetadataFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_accesslog_v3_MetadataFilter_matcher(const envoy_config_accesslog_v3_MetadataFilter* msg) { - const struct envoy_type_matcher_v3_MetadataMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_MetadataMatcher* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_MetadataFilter_has_matcher(const envoy_config_accesslog_v3_MetadataFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_MetadataFilter_clear_match_if_key_not_found(envoy_config_accesslog_v3_MetadataFilter* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_accesslog_v3_MetadataFilter_match_if_key_not_found(const envoy_config_accesslog_v3_MetadataFilter* msg) { - const struct google_protobuf_BoolValue* default_val = NULL; - const struct google_protobuf_BoolValue* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_MetadataFilter_has_match_if_key_not_found(const envoy_config_accesslog_v3_MetadataFilter* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_accesslog_v3_MetadataFilter_set_matcher(envoy_config_accesslog_v3_MetadataFilter *msg, struct envoy_type_matcher_v3_MetadataMatcher* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_accesslog_v3_MetadataFilter_mutable_matcher(envoy_config_accesslog_v3_MetadataFilter* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_MetadataMatcher* sub = (struct envoy_type_matcher_v3_MetadataMatcher*)envoy_config_accesslog_v3_MetadataFilter_matcher(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_MetadataMatcher*)_upb_Message_New(&envoy_type_matcher_v3_MetadataMatcher_msg_init, arena); - if (sub) envoy_config_accesslog_v3_MetadataFilter_set_matcher(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_accesslog_v3_MetadataFilter_set_match_if_key_not_found(envoy_config_accesslog_v3_MetadataFilter *msg, struct google_protobuf_BoolValue* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_BoolValue* envoy_config_accesslog_v3_MetadataFilter_mutable_match_if_key_not_found(envoy_config_accesslog_v3_MetadataFilter* msg, upb_Arena* arena) { - struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_accesslog_v3_MetadataFilter_match_if_key_not_found(msg); - if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); - if (sub) envoy_config_accesslog_v3_MetadataFilter_set_match_if_key_not_found(msg, sub); - } - return sub; -} - -/* envoy.config.accesslog.v3.LogTypeFilter */ - -UPB_INLINE envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_LogTypeFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_LogTypeFilter*)_upb_Message_New(&envoy_config_accesslog_v3_LogTypeFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_LogTypeFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_LogTypeFilter* ret = envoy_config_accesslog_v3_LogTypeFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_LogTypeFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_LogTypeFilter* envoy_config_accesslog_v3_LogTypeFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_LogTypeFilter* ret = envoy_config_accesslog_v3_LogTypeFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_LogTypeFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_LogTypeFilter_serialize(const envoy_config_accesslog_v3_LogTypeFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_LogTypeFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_LogTypeFilter_serialize_ex(const envoy_config_accesslog_v3_LogTypeFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_LogTypeFilter_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_accesslog_v3_LogTypeFilter_clear_types(envoy_config_accesslog_v3_LogTypeFilter* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t const* envoy_config_accesslog_v3_LogTypeFilter_types(const envoy_config_accesslog_v3_LogTypeFilter* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_accesslog_v3_LogTypeFilter_types_upb_array(const envoy_config_accesslog_v3_LogTypeFilter* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_accesslog_v3_LogTypeFilter_types_mutable_upb_array(const envoy_config_accesslog_v3_LogTypeFilter* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_accesslog_v3_LogTypeFilter_has_types(const envoy_config_accesslog_v3_LogTypeFilter* msg) { - size_t size; - envoy_config_accesslog_v3_LogTypeFilter_types(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_config_accesslog_v3_LogTypeFilter_clear_exclude(envoy_config_accesslog_v3_LogTypeFilter* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_accesslog_v3_LogTypeFilter_exclude(const envoy_config_accesslog_v3_LogTypeFilter* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE int32_t* envoy_config_accesslog_v3_LogTypeFilter_mutable_types(envoy_config_accesslog_v3_LogTypeFilter* msg, size_t* size) { - upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE int32_t* envoy_config_accesslog_v3_LogTypeFilter_resize_types(envoy_config_accesslog_v3_LogTypeFilter* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool envoy_config_accesslog_v3_LogTypeFilter_add_types(envoy_config_accesslog_v3_LogTypeFilter* msg, int32_t val, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE void envoy_config_accesslog_v3_LogTypeFilter_set_exclude(envoy_config_accesslog_v3_LogTypeFilter *msg, bool value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.config.accesslog.v3.ExtensionFilter */ - -UPB_INLINE envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_ExtensionFilter_new(upb_Arena* arena) { - return (envoy_config_accesslog_v3_ExtensionFilter*)_upb_Message_New(&envoy_config_accesslog_v3_ExtensionFilter_msg_init, arena); -} -UPB_INLINE envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_ExtensionFilter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_accesslog_v3_ExtensionFilter* ret = envoy_config_accesslog_v3_ExtensionFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_ExtensionFilter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_accesslog_v3_ExtensionFilter* envoy_config_accesslog_v3_ExtensionFilter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_accesslog_v3_ExtensionFilter* ret = envoy_config_accesslog_v3_ExtensionFilter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_accesslog_v3_ExtensionFilter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_accesslog_v3_ExtensionFilter_serialize(const envoy_config_accesslog_v3_ExtensionFilter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_ExtensionFilter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_accesslog_v3_ExtensionFilter_serialize_ex(const envoy_config_accesslog_v3_ExtensionFilter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_accesslog_v3_ExtensionFilter_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_accesslog_v3_ExtensionFilter_config_type_typed_config = 3, - envoy_config_accesslog_v3_ExtensionFilter_config_type_NOT_SET = 0 -} envoy_config_accesslog_v3_ExtensionFilter_config_type_oneofcases; -UPB_INLINE envoy_config_accesslog_v3_ExtensionFilter_config_type_oneofcases envoy_config_accesslog_v3_ExtensionFilter_config_type_case(const envoy_config_accesslog_v3_ExtensionFilter* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_accesslog_v3_ExtensionFilter_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_accesslog_v3_ExtensionFilter_clear_name(envoy_config_accesslog_v3_ExtensionFilter* msg) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_accesslog_v3_ExtensionFilter_name(const envoy_config_accesslog_v3_ExtensionFilter* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_accesslog_v3_ExtensionFilter_clear_typed_config(envoy_config_accesslog_v3_ExtensionFilter* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Any* envoy_config_accesslog_v3_ExtensionFilter_typed_config(const envoy_config_accesslog_v3_ExtensionFilter* msg) { - const struct google_protobuf_Any* default_val = NULL; - const struct google_protobuf_Any* ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_accesslog_v3_ExtensionFilter_has_typed_config(const envoy_config_accesslog_v3_ExtensionFilter* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_accesslog_v3_ExtensionFilter_set_name(envoy_config_accesslog_v3_ExtensionFilter *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_accesslog_v3_ExtensionFilter_set_typed_config(envoy_config_accesslog_v3_ExtensionFilter *msg, struct google_protobuf_Any* value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Any* envoy_config_accesslog_v3_ExtensionFilter_mutable_typed_config(envoy_config_accesslog_v3_ExtensionFilter* msg, upb_Arena* arena) { - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_accesslog_v3_ExtensionFilter_typed_config(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); - if (sub) envoy_config_accesslog_v3_ExtensionFilter_set_typed_config(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile envoy_config_accesslog_v3_accesslog_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c b/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c deleted file mode 100644 index cbaeab9fc2d..00000000000 --- a/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +++ /dev/null @@ -1,570 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/bootstrap/v3/bootstrap.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/bootstrap/v3/bootstrap.upb.h" -#include "envoy/config/accesslog/v3/accesslog.upb.h" -#include "envoy/config/cluster/v3/cluster.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/config_source.upb.h" -#include "envoy/config/core/v3/event_service_config.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/config/core/v3/resolver.upb.h" -#include "envoy/config/core/v3/socket_option.upb.h" -#include "envoy/config/listener/v3/listener.upb.h" -#include "envoy/config/metrics/v3/stats.upb.h" -#include "envoy/config/overload/v3/overload.upb.h" -#include "envoy/config/trace/v3/http_tracer.upb.h" -#include "envoy/extensions/transport_sockets/tls/v3/secret.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/struct.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/security.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_bootstrap_v3_Bootstrap_submsgs[27] = { - {.submsg = &envoy_config_core_v3_Node_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_Bootstrap_StaticResources_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_Bootstrap_DynamicResources_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_ClusterManager_msg_init}, - {.submsg = &envoy_config_metrics_v3_StatsSink_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_Watchdog_msg_init}, - {.submsg = &envoy_config_trace_v3_Tracing_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_Admin_msg_init}, - {.submsg = &envoy_config_metrics_v3_StatsConfig_msg_init}, - {.submsg = &envoy_config_core_v3_ApiConfigSource_msg_init}, - {.submsg = &envoy_config_overload_v3_OverloadManager_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_LayeredRuntime_msg_init}, - {.submsg = &google_protobuf_UInt64Value_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_Watchdogs_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_FatalAction_msg_init}, - {.submsg = &envoy_config_core_v3_DnsResolutionConfig_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_CustomInlineHeader_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_Bootstrap__fields[35] = { - {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(128, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 64), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(24, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(28, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(32, 88), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(36, 96), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(40, 104), 9, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(44, 112), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(48, 120), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(52, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(56, 128), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {18, 136, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {19, UPB_SIZE(60, 152), 13, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {20, UPB_SIZE(64, 5), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {21, UPB_SIZE(68, 160), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {22, UPB_SIZE(72, 168), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {23, UPB_SIZE(76, 176), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {24, UPB_SIZE(144, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {25, UPB_SIZE(80, 200), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {26, UPB_SIZE(84, 208), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {27, UPB_SIZE(88, 216), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {28, UPB_SIZE(92, 224), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {29, 3, UPB_SIZE(-97, -9), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {30, UPB_SIZE(100, 232), 16, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {31, UPB_SIZE(104, 240), 17, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {32, UPB_SIZE(108, 248), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {33, UPB_SIZE(152, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {34, UPB_SIZE(112, 272), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {35, UPB_SIZE(116, 280), 19, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {36, UPB_SIZE(120, 288), 20, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {37, UPB_SIZE(124, 296), 21, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_Bootstrap_msg_init = { - &envoy_config_bootstrap_v3_Bootstrap_submsgs[0], - &envoy_config_bootstrap_v3_Bootstrap__fields[0], - UPB_SIZE(160, 304), 35, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000000100000a, &upb_psm_1bt_maxmaxb}, - {0x0018000002010012, &upb_psm_1bt_max64b}, - {0x002000000302001a, &upb_psm_1bt_max128b}, - {0x0028000004030022, &upb_psm_1bt_max64b}, - {0x003000003f00002a, &upb_pss_1bt}, - {0x004000003f040032, &upb_prm_1bt_maxmaxb}, - {0x004800000505003a, &upb_psm_1bt_maxmaxb}, - {0x0050000006060042, &upb_psm_1bt_max128b}, - {0x005800000707004a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0060000008080062, &upb_psm_1bt_max128b}, - {0x006800000909006a, &upb_psm_1bt_maxmaxb}, - {0x007000000a0a0072, &upb_psm_1bt_maxmaxb}, - {0x007800000b0b007a, &upb_psm_1bt_maxmaxb}, - {0x000400003f000180, &upb_psb1_2bt}, - {0x008000000c0c018a, &upb_psm_2bt_max64b}, - {0x008800003f000192, &upb_pss_2bt}, - {0x009800000d0d019a, &upb_psm_2bt_maxmaxb}, - {0x000500003f0001a0, &upb_psb1_2bt}, - {0x00a000003f0e01aa, &upb_prm_2bt_maxmaxb}, - {0x00a800003f0f01b2, &upb_prm_2bt_maxmaxb}, - {0x00b000000e1001ba, &upb_psm_2bt_maxmaxb}, - {0x00b800003f0001c2, &upb_pss_2bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x00d000003f0001d2, &upb_prs_2bt}, - {0x00d800000f1201da, &upb_psm_2bt_max64b}, - {0x00e000003f1301e2, &upb_prm_2bt_max64b}, - {0x000300081d0001e8, &upb_pob1_2bt}, - {0x00e80000101401f2, &upb_psm_2bt_maxmaxb}, - {0x00f00000111501fa, &upb_psm_2bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_Bootstrap_StaticResources_submsgs[3] = { - {.submsg = &envoy_config_listener_v3_Listener_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_Secret_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_Bootstrap_StaticResources__fields[3] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 16), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_Bootstrap_StaticResources_msg_init = { - &envoy_config_bootstrap_v3_Bootstrap_StaticResources_submsgs[0], - &envoy_config_bootstrap_v3_Bootstrap_StaticResources__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, - {0x000800003f010012, &upb_prm_1bt_maxmaxb}, - {0x001000003f02001a, &upb_prm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_Bootstrap_DynamicResources_submsgs[3] = { - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, - {.submsg = &envoy_config_core_v3_ApiConfigSource_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_Bootstrap_DynamicResources__fields[5] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_Bootstrap_DynamicResources_msg_init = { - &envoy_config_bootstrap_v3_Bootstrap_DynamicResources_submsgs[0], - &envoy_config_bootstrap_v3_Bootstrap_DynamicResources__fields[0], - UPB_SIZE(32, 64), 5, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x002000003f00002a, &upb_pss_1bt}, - {0x003000003f000032, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_submsgs[1] = { - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_msg_init = { - &envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_submsgs[0], - &envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_Admin_submsgs[3] = { - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_config_core_v3_SocketOption_msg_init}, - {.submsg = &envoy_config_accesslog_v3_AccessLog_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_Admin__fields[6] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_Admin_msg_init = { - &envoy_config_bootstrap_v3_Admin_submsgs[0], - &envoy_config_bootstrap_v3_Admin__fields[0], - UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x002800000100001a, &upb_psm_1bt_maxmaxb}, - {0x003000003f010022, &upb_prm_1bt_maxmaxb}, - {0x003800003f02002a, &upb_prm_1bt_maxmaxb}, - {0x000100003f000030, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_ClusterManager_submsgs[3] = { - {.submsg = &envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_msg_init}, - {.submsg = &envoy_config_core_v3_BindConfig_msg_init}, - {.submsg = &envoy_config_core_v3_ApiConfigSource_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_ClusterManager__fields[4] = { - {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_ClusterManager_msg_init = { - &envoy_config_bootstrap_v3_ClusterManager_submsgs[0], - &envoy_config_bootstrap_v3_ClusterManager__fields[0], - UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - {0x0028000003020022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_submsgs[1] = { - {.submsg = &envoy_config_core_v3_EventServiceConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_ClusterManager_OutlierDetection__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_msg_init = { - &envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_submsgs[0], - &envoy_config_bootstrap_v3_ClusterManager_OutlierDetection__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_Watchdogs_submsgs[2] = { - {.submsg = &envoy_config_bootstrap_v3_Watchdog_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_Watchdog_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_Watchdogs__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_Watchdogs_msg_init = { - &envoy_config_bootstrap_v3_Watchdogs_submsgs[0], - &envoy_config_bootstrap_v3_Watchdogs__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max128b}, - {0x0010000002010012, &upb_psm_1bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_Watchdog_submsgs[7] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_type_v3_Percent_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_Watchdog_WatchdogAction_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_Watchdog__fields[7] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 56), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_Watchdog_msg_init = { - &envoy_config_bootstrap_v3_Watchdog_submsgs[0], - &envoy_config_bootstrap_v3_Watchdog__fields[0], - UPB_SIZE(32, 64), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - {0x0020000004030022, &upb_psm_1bt_maxmaxb}, - {0x002800000504002a, &upb_psm_1bt_maxmaxb}, - {0x0030000006050032, &upb_psm_1bt_maxmaxb}, - {0x003800003f06003a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_Watchdog_WatchdogAction_submsgs[1] = { - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_Watchdog_WatchdogAction__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_Watchdog_WatchdogAction_msg_init = { - &envoy_config_bootstrap_v3_Watchdog_WatchdogAction_submsgs[0], - &envoy_config_bootstrap_v3_Watchdog_WatchdogAction__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_FatalAction_submsgs[1] = { - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_FatalAction__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_FatalAction_msg_init = { - &envoy_config_bootstrap_v3_FatalAction_submsgs[0], - &envoy_config_bootstrap_v3_FatalAction__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_Runtime_submsgs[1] = { - {.submsg = &google_protobuf_Struct_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_Runtime__fields[4] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 56), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_Runtime_msg_init = { - &envoy_config_bootstrap_v3_Runtime_submsgs[0], - &envoy_config_bootstrap_v3_Runtime__fields[0], - UPB_SIZE(32, 64), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x002800003f00001a, &upb_pss_1bt}, - {0x0038000001000022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_RuntimeLayer_submsgs[4] = { - {.submsg = &google_protobuf_Struct_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_msg_init}, - {.submsg = &envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_RuntimeLayer__fields[5] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 24), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 24), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_RuntimeLayer_msg_init = { - &envoy_config_bootstrap_v3_RuntimeLayer_submsgs[0], - &envoy_config_bootstrap_v3_RuntimeLayer__fields[0], - UPB_SIZE(16, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000002000012, &upb_pom_1bt_maxmaxb}, - {0x001800000301001a, &upb_pom_1bt_max64b}, - {0x0018000004020022, &upb_pom_1bt_max64b}, - {0x001800000503002a, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer__fields[3] = { - {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_msg_init = { - NULL, - &envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x000000003f000010, &upb_psb1_1bt}, - {0x001800003f00001a, &upb_pss_1bt}, - }) -}; - -const upb_MiniTable envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_submsgs[1] = { - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_msg_init = { - &envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_submsgs[0], - &envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_bootstrap_v3_LayeredRuntime_submsgs[1] = { - {.submsg = &envoy_config_bootstrap_v3_RuntimeLayer_msg_init}, -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_LayeredRuntime__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_LayeredRuntime_msg_init = { - &envoy_config_bootstrap_v3_LayeredRuntime_submsgs[0], - &envoy_config_bootstrap_v3_LayeredRuntime__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableField envoy_config_bootstrap_v3_CustomInlineHeader__fields[2] = { - {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_bootstrap_v3_CustomInlineHeader_msg_init = { - NULL, - &envoy_config_bootstrap_v3_CustomInlineHeader__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x000000003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[18] = { - &envoy_config_bootstrap_v3_Bootstrap_msg_init, - &envoy_config_bootstrap_v3_Bootstrap_StaticResources_msg_init, - &envoy_config_bootstrap_v3_Bootstrap_DynamicResources_msg_init, - &envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_msg_init, - &envoy_config_bootstrap_v3_Admin_msg_init, - &envoy_config_bootstrap_v3_ClusterManager_msg_init, - &envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_msg_init, - &envoy_config_bootstrap_v3_Watchdogs_msg_init, - &envoy_config_bootstrap_v3_Watchdog_msg_init, - &envoy_config_bootstrap_v3_Watchdog_WatchdogAction_msg_init, - &envoy_config_bootstrap_v3_FatalAction_msg_init, - &envoy_config_bootstrap_v3_Runtime_msg_init, - &envoy_config_bootstrap_v3_RuntimeLayer_msg_init, - &envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_msg_init, - &envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_msg_init, - &envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_msg_init, - &envoy_config_bootstrap_v3_LayeredRuntime_msg_init, - &envoy_config_bootstrap_v3_CustomInlineHeader_msg_init, -}; - -const upb_MiniTableFile envoy_config_bootstrap_v3_bootstrap_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 18, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c b/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c deleted file mode 100644 index 8b31e6b868a..00000000000 --- a/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +++ /dev/null @@ -1,126 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/cluster/v3/circuit_breaker.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/cluster/v3/circuit_breaker.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_cluster_v3_CircuitBreakers_submsgs[2] = { - {.submsg = &envoy_config_cluster_v3_CircuitBreakers_Thresholds_msg_init}, - {.submsg = &envoy_config_cluster_v3_CircuitBreakers_Thresholds_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_CircuitBreakers__fields[2] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_CircuitBreakers_msg_init = { - &envoy_config_cluster_v3_CircuitBreakers_submsgs[0], - &envoy_config_cluster_v3_CircuitBreakers__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max128b}, - {0x000800003f010012, &upb_prm_1bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_CircuitBreakers_Thresholds_submsgs[6] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_CircuitBreakers_Thresholds__fields[8] = { - {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 48), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(32, 56), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_CircuitBreakers_Thresholds_msg_init = { - &envoy_config_cluster_v3_CircuitBreakers_Thresholds_submsgs[0], - &envoy_config_cluster_v3_CircuitBreakers_Thresholds__fields[0], - UPB_SIZE(40, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x0010000001000012, &upb_psm_1bt_maxmaxb}, - {0x001800000201001a, &upb_psm_1bt_maxmaxb}, - {0x0020000003020022, &upb_psm_1bt_maxmaxb}, - {0x002800000403002a, &upb_psm_1bt_maxmaxb}, - {0x000800003f000030, &upb_psb1_1bt}, - {0x003000000504003a, &upb_psm_1bt_maxmaxb}, - {0x0038000006050042, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_submsgs[2] = { - {.submsg = &envoy_type_v3_Percent_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_msg_init = { - &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_submsgs[0], - &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &envoy_config_cluster_v3_CircuitBreakers_msg_init, - &envoy_config_cluster_v3_CircuitBreakers_Thresholds_msg_init, - &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_msg_init, -}; - -const upb_MiniTableFile envoy_config_cluster_v3_circuit_breaker_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 3, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c b/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c deleted file mode 100644 index a0564595fc7..00000000000 --- a/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +++ /dev/null @@ -1,730 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/cluster/v3/cluster.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/cluster/v3/cluster.upb.h" -#include "envoy/config/cluster/v3/circuit_breaker.upb.h" -#include "envoy/config/cluster/v3/filter.upb.h" -#include "envoy/config/cluster/v3/outlier_detection.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/config_source.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/config/core/v3/health_check.upb.h" -#include "envoy/config/core/v3/protocol.upb.h" -#include "envoy/config/core/v3/resolver.upb.h" -#include "envoy/config/endpoint/v3/endpoint.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/struct.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "xds/core/v3/collection_entry.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/security.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_cluster_v3_ClusterCollection_submsgs[1] = { - {.submsg = &xds_core_v3_CollectionEntry_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_ClusterCollection__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_ClusterCollection_msg_init = { - &envoy_config_cluster_v3_ClusterCollection_submsgs[0], - &envoy_config_cluster_v3_ClusterCollection__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_submsgs[39] = { - {.submsg = &envoy_config_cluster_v3_Cluster_EdsClusterConfig_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_HealthCheck_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_cluster_v3_CircuitBreakers_msg_init}, - {.submsg = &envoy_config_core_v3_Http1ProtocolOptions_msg_init}, - {.submsg = &envoy_config_core_v3_Http2ProtocolOptions_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_config_cluster_v3_OutlierDetection_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_core_v3_BindConfig_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_LbSubsetConfig_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_RingHashLbConfig_msg_init}, - {.submsg = &envoy_config_core_v3_TransportSocket_msg_init}, - {.submsg = &envoy_config_core_v3_Metadata_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_CommonLbConfig_msg_init}, - {.submsg = &envoy_config_core_v3_HttpProtocolOptions_msg_init}, - {.submsg = &envoy_config_cluster_v3_UpstreamConnectionOptions_msg_init}, - {.submsg = &envoy_config_endpoint_v3_ClusterLoadAssignment_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_CustomClusterType_msg_init}, - {.submsg = &envoy_config_cluster_v3_Filter_msg_init}, - {.submsg = &envoy_config_cluster_v3_LoadBalancingPolicy_msg_init}, - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_TransportSocketMatch_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_RefreshRate_msg_init}, - {.submsg = &envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_cluster_v3_TrackClusterStats_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_PreconnectPolicy_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_MaglevLbConfig_msg_init}, - {.submsg = &envoy_config_core_v3_DnsResolutionConfig_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster__fields[51] = { - {1, UPB_SIZE(184, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 56), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 64), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(24, 80), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(28, 88), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(32, 96), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(36, 104), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(40, 112), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(44, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {19, UPB_SIZE(52, 128), 9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {20, UPB_SIZE(56, 136), 10, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {21, UPB_SIZE(60, 144), 11, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {22, UPB_SIZE(64, 152), 12, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {23, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {24, UPB_SIZE(68, 160), 13, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {25, UPB_SIZE(72, 168), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {26, UPB_SIZE(76, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {27, UPB_SIZE(80, 176), 15, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {28, UPB_SIZE(192, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {29, UPB_SIZE(84, 200), 16, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {30, UPB_SIZE(88, 208), 17, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {31, UPB_SIZE(92, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {32, UPB_SIZE(93, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {33, UPB_SIZE(96, 216), 18, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {34, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {37, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {38, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {39, UPB_SIZE(108, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {41, UPB_SIZE(116, 240), 19, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {42, UPB_SIZE(120, 248), 20, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {44, UPB_SIZE(128, 264), 21, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {45, UPB_SIZE(132, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {46, UPB_SIZE(136, 272), 22, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {47, UPB_SIZE(140, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {48, UPB_SIZE(144, 280), 23, 31, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {49, UPB_SIZE(148, 288), 24, 32, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {50, UPB_SIZE(152, 296), 25, 33, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {51, UPB_SIZE(156, 27), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {52, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 34, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {53, UPB_SIZE(160, 304), 26, 35, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {54, UPB_SIZE(164, 312), 27, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {55, UPB_SIZE(168, 320), 28, 37, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {56, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 38, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_msg_init = { - &envoy_config_cluster_v3_Cluster_submsgs[0], - &envoy_config_cluster_v3_Cluster__fields[0], - UPB_SIZE(200, 344), 51, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x002000003f00000a, &upb_pss_1bt}, - {0x0148001402000010, &upb_pov4_1bt}, - {0x003000000100001a, &upb_psm_1bt_max64b}, - {0x0038000002010022, &upb_psm_1bt_maxmaxb}, - {0x004000000302002a, &upb_psm_1bt_maxmaxb}, - {0x000400003f000030, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x004800003f030042, &upb_prm_1bt_maxmaxb}, - {0x005000000404004a, &upb_psm_1bt_maxmaxb}, - {0x0058000005050052, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x006000000606006a, &upb_psm_1bt_maxmaxb}, - {0x0068000007070072, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0070000008080182, &upb_psm_2bt_maxmaxb}, - {0x000800003f000188, &upb_psv4_2bt}, - {0x007800003f090192, &upb_prm_2bt_maxmaxb}, - {0x00800000090a019a, &upb_psm_2bt_maxmaxb}, - {0x008800000a0b01a2, &upb_psm_2bt_maxmaxb}, - {0x009000000b0c01aa, &upb_psm_2bt_maxmaxb}, - {0x009800000c0d01b2, &upb_psm_2bt_max64b}, - {0x0150001c170e01ba, &upb_pom_2bt_max64b}, - {0x00a000000d0f01c2, &upb_psm_2bt_maxmaxb}, - {0x00a800000e1001ca, &upb_psm_2bt_maxmaxb}, - {0x000c00003f0001d0, &upb_psv4_2bt}, - {0x00b000000f1101da, &upb_psm_2bt_max64b}, - {0x00b800003f0001e2, &upb_pss_2bt}, - {0x00c80000101201ea, &upb_psm_2bt_maxmaxb}, - {0x00d00000111301f2, &upb_psm_2bt_max64b}, - {0x001000003f0001f8, &upb_psb1_2bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_TransportSocketMatch_submsgs[2] = { - {.submsg = &google_protobuf_Struct_msg_init}, - {.submsg = &envoy_config_core_v3_TransportSocket_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_TransportSocketMatch__fields[3] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_TransportSocketMatch_msg_init = { - &envoy_config_cluster_v3_Cluster_TransportSocketMatch_submsgs[0], - &envoy_config_cluster_v3_Cluster_TransportSocketMatch__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_CustomClusterType_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_CustomClusterType__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_CustomClusterType_msg_init = { - &envoy_config_cluster_v3_Cluster_CustomClusterType_submsgs[0], - &envoy_config_cluster_v3_Cluster_CustomClusterType__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_EdsClusterConfig_submsgs[1] = { - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_EdsClusterConfig__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_EdsClusterConfig_msg_init = { - &envoy_config_cluster_v3_Cluster_EdsClusterConfig_submsgs[0], - &envoy_config_cluster_v3_Cluster_EdsClusterConfig__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_LbSubsetConfig_submsgs[2] = { - {.submsg = &google_protobuf_Struct_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_LbSubsetConfig__fields[8] = { - {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(18, 10), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(19, 11), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_LbSubsetConfig_msg_init = { - &envoy_config_cluster_v3_Cluster_LbSubsetConfig_submsgs[0], - &envoy_config_cluster_v3_Cluster_LbSubsetConfig__fields[0], - UPB_SIZE(24, 32), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x0010000001000012, &upb_psm_1bt_maxmaxb}, - {0x001800003f01001a, &upb_prm_1bt_max64b}, - {0x000800003f000020, &upb_psb1_1bt}, - {0x000900003f000028, &upb_psb1_1bt}, - {0x000a00003f000030, &upb_psb1_1bt}, - {0x000b00003f000038, &upb_psb1_1bt}, - {0x000c00003f000040, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector__fields[4] = { - {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msg_init = { - NULL, - &envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector__fields[0], - UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prs_1bt}, - {0x000000003f000010, &upb_psv4_1bt}, - {0x001000003f00001a, &upb_prs_1bt}, - {0x000400003f000020, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_SlowStartConfig_submsgs[3] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_core_v3_RuntimeDouble_msg_init}, - {.submsg = &envoy_type_v3_Percent_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_SlowStartConfig__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_SlowStartConfig_msg_init = { - &envoy_config_cluster_v3_Cluster_SlowStartConfig_submsgs[0], - &envoy_config_cluster_v3_Cluster_SlowStartConfig__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_submsgs[1] = { - {.submsg = &envoy_config_cluster_v3_Cluster_SlowStartConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_RoundRobinLbConfig__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_msg_init = { - &envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_submsgs[0], - &envoy_config_cluster_v3_Cluster_RoundRobinLbConfig__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_submsgs[3] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_RuntimeDouble_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_SlowStartConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_LeastRequestLbConfig__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msg_init = { - &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_submsgs[0], - &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_RingHashLbConfig_submsgs[2] = { - {.submsg = &google_protobuf_UInt64Value_msg_init}, - {.submsg = &google_protobuf_UInt64Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_RingHashLbConfig__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_RingHashLbConfig_msg_init = { - &envoy_config_cluster_v3_Cluster_RingHashLbConfig_submsgs[0], - &envoy_config_cluster_v3_Cluster_RingHashLbConfig__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000018, &upb_psv4_1bt}, - {0x0010000002010022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_MaglevLbConfig_submsgs[1] = { - {.submsg = &google_protobuf_UInt64Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_MaglevLbConfig__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_MaglevLbConfig_msg_init = { - &envoy_config_cluster_v3_Cluster_MaglevLbConfig_submsgs[0], - &envoy_config_cluster_v3_Cluster_MaglevLbConfig__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_submsgs[1] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_OriginalDstLbConfig__fields[3] = { - {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msg_init = { - &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_submsgs[0], - &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000100003f000008, &upb_psb1_1bt}, - {0x000800003f000012, &upb_pss_1bt}, - {0x001800000100001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_CommonLbConfig_submsgs[6] = { - {.submsg = &envoy_type_v3_Percent_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msg_init}, - {.submsg = &envoy_config_core_v3_HealthStatusSet_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_CommonLbConfig__fields[8] = { - {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 24), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(20, 32), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(24, 40), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_CommonLbConfig_msg_init = { - &envoy_config_cluster_v3_Cluster_CommonLbConfig_submsgs[0], - &envoy_config_cluster_v3_Cluster_CommonLbConfig__fields[0], - UPB_SIZE(32, 56), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000000100000a, &upb_psm_1bt_maxmaxb}, - {0x0030000402010012, &upb_pom_1bt_max64b}, - {0x003000040302001a, &upb_pom_1bt_max64b}, - {0x0018000002030022, &upb_psm_1bt_maxmaxb}, - {0x000800003f000028, &upb_psb1_1bt}, - {0x000900003f000030, &upb_psb1_1bt}, - {0x002000000304003a, &upb_psm_1bt_max64b}, - {0x0028000004050042, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_submsgs[2] = { - {.submsg = &envoy_type_v3_Percent_msg_init}, - {.submsg = &google_protobuf_UInt64Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msg_init = { - &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_submsgs[0], - &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x000100003f000018, &upb_psb1_1bt}, - }) -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_submsgs[1] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig__fields[2] = { - {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msg_init = { - &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_submsgs[0], - &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000100003f000008, &upb_psb1_1bt}, - {0x0008000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_RefreshRate_submsgs[2] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_RefreshRate__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_RefreshRate_msg_init = { - &envoy_config_cluster_v3_Cluster_RefreshRate_submsgs[0], - &envoy_config_cluster_v3_Cluster_RefreshRate__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_PreconnectPolicy_submsgs[2] = { - {.submsg = &google_protobuf_DoubleValue_msg_init}, - {.submsg = &google_protobuf_DoubleValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_PreconnectPolicy__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_PreconnectPolicy_msg_init = { - &envoy_config_cluster_v3_Cluster_PreconnectPolicy_submsgs[0], - &envoy_config_cluster_v3_Cluster_PreconnectPolicy__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_msg_init = { - &envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[0], - &envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_LoadBalancingPolicy_submsgs[1] = { - {.submsg = &envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_LoadBalancingPolicy__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_LoadBalancingPolicy_msg_init = { - &envoy_config_cluster_v3_LoadBalancingPolicy_submsgs[0], - &envoy_config_cluster_v3_LoadBalancingPolicy__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_LoadBalancingPolicy_Policy_submsgs[1] = { - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_LoadBalancingPolicy_Policy__fields[1] = { - {4, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msg_init = { - &envoy_config_cluster_v3_LoadBalancingPolicy_Policy_submsgs[0], - &envoy_config_cluster_v3_LoadBalancingPolicy_Policy__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_cluster_v3_UpstreamConnectionOptions_submsgs[1] = { - {.submsg = &envoy_config_core_v3_TcpKeepalive_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_UpstreamConnectionOptions__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_UpstreamConnectionOptions_msg_init = { - &envoy_config_cluster_v3_UpstreamConnectionOptions_submsgs[0], - &envoy_config_cluster_v3_UpstreamConnectionOptions__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_cluster_v3_TrackClusterStats__fields[2] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_TrackClusterStats_msg_init = { - NULL, - &envoy_config_cluster_v3_TrackClusterStats__fields[0], - 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[24] = { - &envoy_config_cluster_v3_ClusterCollection_msg_init, - &envoy_config_cluster_v3_Cluster_msg_init, - &envoy_config_cluster_v3_Cluster_TransportSocketMatch_msg_init, - &envoy_config_cluster_v3_Cluster_CustomClusterType_msg_init, - &envoy_config_cluster_v3_Cluster_EdsClusterConfig_msg_init, - &envoy_config_cluster_v3_Cluster_LbSubsetConfig_msg_init, - &envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msg_init, - &envoy_config_cluster_v3_Cluster_SlowStartConfig_msg_init, - &envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_msg_init, - &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msg_init, - &envoy_config_cluster_v3_Cluster_RingHashLbConfig_msg_init, - &envoy_config_cluster_v3_Cluster_MaglevLbConfig_msg_init, - &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msg_init, - &envoy_config_cluster_v3_Cluster_CommonLbConfig_msg_init, - &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msg_init, - &envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msg_init, - &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msg_init, - &envoy_config_cluster_v3_Cluster_RefreshRate_msg_init, - &envoy_config_cluster_v3_Cluster_PreconnectPolicy_msg_init, - &envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_msg_init, - &envoy_config_cluster_v3_LoadBalancingPolicy_msg_init, - &envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msg_init, - &envoy_config_cluster_v3_UpstreamConnectionOptions_msg_init, - &envoy_config_cluster_v3_TrackClusterStats_msg_init, -}; - -const upb_MiniTableFile envoy_config_cluster_v3_cluster_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 24, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h b/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h deleted file mode 100644 index 5d6d4984ba9..00000000000 --- a/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +++ /dev/null @@ -1,3918 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/cluster/v3/cluster.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPB_H_ -#define ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_config_cluster_v3_ClusterCollection envoy_config_cluster_v3_ClusterCollection; -typedef struct envoy_config_cluster_v3_Cluster envoy_config_cluster_v3_Cluster; -typedef struct envoy_config_cluster_v3_Cluster_TransportSocketMatch envoy_config_cluster_v3_Cluster_TransportSocketMatch; -typedef struct envoy_config_cluster_v3_Cluster_CustomClusterType envoy_config_cluster_v3_Cluster_CustomClusterType; -typedef struct envoy_config_cluster_v3_Cluster_EdsClusterConfig envoy_config_cluster_v3_Cluster_EdsClusterConfig; -typedef struct envoy_config_cluster_v3_Cluster_LbSubsetConfig envoy_config_cluster_v3_Cluster_LbSubsetConfig; -typedef struct envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector; -typedef struct envoy_config_cluster_v3_Cluster_SlowStartConfig envoy_config_cluster_v3_Cluster_SlowStartConfig; -typedef struct envoy_config_cluster_v3_Cluster_RoundRobinLbConfig envoy_config_cluster_v3_Cluster_RoundRobinLbConfig; -typedef struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig envoy_config_cluster_v3_Cluster_LeastRequestLbConfig; -typedef struct envoy_config_cluster_v3_Cluster_RingHashLbConfig envoy_config_cluster_v3_Cluster_RingHashLbConfig; -typedef struct envoy_config_cluster_v3_Cluster_MaglevLbConfig envoy_config_cluster_v3_Cluster_MaglevLbConfig; -typedef struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig envoy_config_cluster_v3_Cluster_OriginalDstLbConfig; -typedef struct envoy_config_cluster_v3_Cluster_CommonLbConfig envoy_config_cluster_v3_Cluster_CommonLbConfig; -typedef struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig; -typedef struct envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig; -typedef struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig; -typedef struct envoy_config_cluster_v3_Cluster_RefreshRate envoy_config_cluster_v3_Cluster_RefreshRate; -typedef struct envoy_config_cluster_v3_Cluster_PreconnectPolicy envoy_config_cluster_v3_Cluster_PreconnectPolicy; -typedef struct envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry; -typedef struct envoy_config_cluster_v3_LoadBalancingPolicy envoy_config_cluster_v3_LoadBalancingPolicy; -typedef struct envoy_config_cluster_v3_LoadBalancingPolicy_Policy envoy_config_cluster_v3_LoadBalancingPolicy_Policy; -typedef struct envoy_config_cluster_v3_UpstreamConnectionOptions envoy_config_cluster_v3_UpstreamConnectionOptions; -typedef struct envoy_config_cluster_v3_TrackClusterStats envoy_config_cluster_v3_TrackClusterStats; -extern const upb_MiniTable envoy_config_cluster_v3_ClusterCollection_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_TransportSocketMatch_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_CustomClusterType_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_EdsClusterConfig_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_LbSubsetConfig_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_SlowStartConfig_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_RingHashLbConfig_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_MaglevLbConfig_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_CommonLbConfig_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_RefreshRate_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_PreconnectPolicy_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_LoadBalancingPolicy_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_UpstreamConnectionOptions_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_TrackClusterStats_msg_init; -struct envoy_config_cluster_v3_CircuitBreakers; -struct envoy_config_cluster_v3_Filter; -struct envoy_config_cluster_v3_OutlierDetection; -struct envoy_config_core_v3_Address; -struct envoy_config_core_v3_BindConfig; -struct envoy_config_core_v3_ConfigSource; -struct envoy_config_core_v3_DnsResolutionConfig; -struct envoy_config_core_v3_HealthCheck; -struct envoy_config_core_v3_HealthStatusSet; -struct envoy_config_core_v3_Http1ProtocolOptions; -struct envoy_config_core_v3_Http2ProtocolOptions; -struct envoy_config_core_v3_HttpProtocolOptions; -struct envoy_config_core_v3_Metadata; -struct envoy_config_core_v3_RuntimeDouble; -struct envoy_config_core_v3_TcpKeepalive; -struct envoy_config_core_v3_TransportSocket; -struct envoy_config_core_v3_TypedExtensionConfig; -struct envoy_config_core_v3_UpstreamHttpProtocolOptions; -struct envoy_config_endpoint_v3_ClusterLoadAssignment; -struct envoy_type_v3_Percent; -struct google_protobuf_Any; -struct google_protobuf_BoolValue; -struct google_protobuf_DoubleValue; -struct google_protobuf_Duration; -struct google_protobuf_Struct; -struct google_protobuf_UInt32Value; -struct google_protobuf_UInt64Value; -struct xds_core_v3_CollectionEntry; -extern const upb_MiniTable envoy_config_cluster_v3_CircuitBreakers_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_Filter_msg_init; -extern const upb_MiniTable envoy_config_cluster_v3_OutlierDetection_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Address_msg_init; -extern const upb_MiniTable envoy_config_core_v3_BindConfig_msg_init; -extern const upb_MiniTable envoy_config_core_v3_ConfigSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_DnsResolutionConfig_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HealthCheck_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HealthStatusSet_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Http1ProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Http2ProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_HttpProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Metadata_msg_init; -extern const upb_MiniTable envoy_config_core_v3_RuntimeDouble_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TcpKeepalive_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TransportSocket_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init; -extern const upb_MiniTable envoy_config_endpoint_v3_ClusterLoadAssignment_msg_init; -extern const upb_MiniTable envoy_type_v3_Percent_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_DoubleValue_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_Struct_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; -extern const upb_MiniTable google_protobuf_UInt64Value_msg_init; -extern const upb_MiniTable xds_core_v3_CollectionEntry_msg_init; - -typedef enum { - envoy_config_cluster_v3_Cluster_USE_CONFIGURED_PROTOCOL = 0, - envoy_config_cluster_v3_Cluster_USE_DOWNSTREAM_PROTOCOL = 1 -} envoy_config_cluster_v3_Cluster_ClusterProtocolSelection; - -typedef enum { - envoy_config_cluster_v3_Cluster_STATIC = 0, - envoy_config_cluster_v3_Cluster_STRICT_DNS = 1, - envoy_config_cluster_v3_Cluster_LOGICAL_DNS = 2, - envoy_config_cluster_v3_Cluster_EDS = 3, - envoy_config_cluster_v3_Cluster_ORIGINAL_DST = 4 -} envoy_config_cluster_v3_Cluster_DiscoveryType; - -typedef enum { - envoy_config_cluster_v3_Cluster_AUTO = 0, - envoy_config_cluster_v3_Cluster_V4_ONLY = 1, - envoy_config_cluster_v3_Cluster_V6_ONLY = 2, - envoy_config_cluster_v3_Cluster_V4_PREFERRED = 3, - envoy_config_cluster_v3_Cluster_ALL = 4 -} envoy_config_cluster_v3_Cluster_DnsLookupFamily; - -typedef enum { - envoy_config_cluster_v3_Cluster_ROUND_ROBIN = 0, - envoy_config_cluster_v3_Cluster_LEAST_REQUEST = 1, - envoy_config_cluster_v3_Cluster_RING_HASH = 2, - envoy_config_cluster_v3_Cluster_RANDOM = 3, - envoy_config_cluster_v3_Cluster_MAGLEV = 5, - envoy_config_cluster_v3_Cluster_CLUSTER_PROVIDED = 6, - envoy_config_cluster_v3_Cluster_LOAD_BALANCING_POLICY_CONFIG = 7 -} envoy_config_cluster_v3_Cluster_LbPolicy; - -typedef enum { - envoy_config_cluster_v3_Cluster_LbSubsetConfig_NO_FALLBACK = 0, - envoy_config_cluster_v3_Cluster_LbSubsetConfig_ANY_ENDPOINT = 1, - envoy_config_cluster_v3_Cluster_LbSubsetConfig_DEFAULT_SUBSET = 2 -} envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetFallbackPolicy; - -typedef enum { - envoy_config_cluster_v3_Cluster_LbSubsetConfig_METADATA_NO_FALLBACK = 0, - envoy_config_cluster_v3_Cluster_LbSubsetConfig_FALLBACK_LIST = 1 -} envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy; - -typedef enum { - envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_NOT_DEFINED = 0, - envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_NO_FALLBACK = 1, - envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_ANY_ENDPOINT = 2, - envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_DEFAULT_SUBSET = 3, - envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_KEYS_SUBSET = 4 -} envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy; - -typedef enum { - envoy_config_cluster_v3_Cluster_RingHashLbConfig_XX_HASH = 0, - envoy_config_cluster_v3_Cluster_RingHashLbConfig_MURMUR_HASH_2 = 1 -} envoy_config_cluster_v3_Cluster_RingHashLbConfig_HashFunction; - - - -/* envoy.config.cluster.v3.ClusterCollection */ - -UPB_INLINE envoy_config_cluster_v3_ClusterCollection* envoy_config_cluster_v3_ClusterCollection_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_ClusterCollection*)_upb_Message_New(&envoy_config_cluster_v3_ClusterCollection_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_ClusterCollection* envoy_config_cluster_v3_ClusterCollection_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_ClusterCollection* ret = envoy_config_cluster_v3_ClusterCollection_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_ClusterCollection_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_ClusterCollection* envoy_config_cluster_v3_ClusterCollection_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_ClusterCollection* ret = envoy_config_cluster_v3_ClusterCollection_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_ClusterCollection_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_ClusterCollection_serialize(const envoy_config_cluster_v3_ClusterCollection* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_ClusterCollection_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_ClusterCollection_serialize_ex(const envoy_config_cluster_v3_ClusterCollection* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_ClusterCollection_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_ClusterCollection_clear_entries(envoy_config_cluster_v3_ClusterCollection* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_core_v3_CollectionEntry* envoy_config_cluster_v3_ClusterCollection_entries(const envoy_config_cluster_v3_ClusterCollection* msg) { - const struct xds_core_v3_CollectionEntry* default_val = NULL; - const struct xds_core_v3_CollectionEntry* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_ClusterCollection_has_entries(const envoy_config_cluster_v3_ClusterCollection* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_ClusterCollection_set_entries(envoy_config_cluster_v3_ClusterCollection *msg, struct xds_core_v3_CollectionEntry* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_core_v3_CollectionEntry* envoy_config_cluster_v3_ClusterCollection_mutable_entries(envoy_config_cluster_v3_ClusterCollection* msg, upb_Arena* arena) { - struct xds_core_v3_CollectionEntry* sub = (struct xds_core_v3_CollectionEntry*)envoy_config_cluster_v3_ClusterCollection_entries(msg); - if (sub == NULL) { - sub = (struct xds_core_v3_CollectionEntry*)_upb_Message_New(&xds_core_v3_CollectionEntry_msg_init, arena); - if (sub) envoy_config_cluster_v3_ClusterCollection_set_entries(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster */ - -UPB_INLINE envoy_config_cluster_v3_Cluster* envoy_config_cluster_v3_Cluster_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster* envoy_config_cluster_v3_Cluster_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster* ret = envoy_config_cluster_v3_Cluster_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster* envoy_config_cluster_v3_Cluster_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster* ret = envoy_config_cluster_v3_Cluster_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_serialize(const envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_serialize_ex(const envoy_config_cluster_v3_Cluster* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_cluster_v3_Cluster_cluster_discovery_type_type = 2, - envoy_config_cluster_v3_Cluster_cluster_discovery_type_cluster_type = 38, - envoy_config_cluster_v3_Cluster_cluster_discovery_type_NOT_SET = 0 -} envoy_config_cluster_v3_Cluster_cluster_discovery_type_oneofcases; -UPB_INLINE envoy_config_cluster_v3_Cluster_cluster_discovery_type_oneofcases envoy_config_cluster_v3_Cluster_cluster_discovery_type_case(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return (envoy_config_cluster_v3_Cluster_cluster_discovery_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -typedef enum { - envoy_config_cluster_v3_Cluster_lb_config_ring_hash_lb_config = 23, - envoy_config_cluster_v3_Cluster_lb_config_maglev_lb_config = 52, - envoy_config_cluster_v3_Cluster_lb_config_original_dst_lb_config = 34, - envoy_config_cluster_v3_Cluster_lb_config_least_request_lb_config = 37, - envoy_config_cluster_v3_Cluster_lb_config_round_robin_lb_config = 56, - envoy_config_cluster_v3_Cluster_lb_config_NOT_SET = 0 -} envoy_config_cluster_v3_Cluster_lb_config_oneofcases; -UPB_INLINE envoy_config_cluster_v3_Cluster_lb_config_oneofcases envoy_config_cluster_v3_Cluster_lb_config_case(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {23, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_cluster_v3_Cluster_lb_config_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_name(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(184, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_name(const envoy_config_cluster_v3_Cluster* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(184, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_type(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_type(const envoy_config_cluster_v3_Cluster* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {2, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_type(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_eds_cluster_config(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_EdsClusterConfig* envoy_config_cluster_v3_Cluster_eds_cluster_config(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_Cluster_EdsClusterConfig* default_val = NULL; - const envoy_config_cluster_v3_Cluster_EdsClusterConfig* ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_eds_cluster_config(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_connect_timeout(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 56), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_connect_timeout(const envoy_config_cluster_v3_Cluster* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {4, UPB_SIZE(8, 56), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_connect_timeout(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 56), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_per_connection_buffer_limit_bytes(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 64), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_per_connection_buffer_limit_bytes(const envoy_config_cluster_v3_Cluster* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {5, UPB_SIZE(12, 64), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_per_connection_buffer_limit_bytes(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 64), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_lb_policy(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_lb_policy(const envoy_config_cluster_v3_Cluster* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_health_checks(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_HealthCheck* const* envoy_config_cluster_v3_Cluster_health_checks(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { - const upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct envoy_config_core_v3_HealthCheck* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_health_checks_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { - const upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_health_checks_mutable_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_health_checks(const envoy_config_cluster_v3_Cluster* msg) { - size_t size; - envoy_config_cluster_v3_Cluster_health_checks(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_max_requests_per_connection(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(24, 80), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_max_requests_per_connection(const envoy_config_cluster_v3_Cluster* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {9, UPB_SIZE(24, 80), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_max_requests_per_connection(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(24, 80), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_circuit_breakers(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(28, 88), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_cluster_v3_CircuitBreakers* envoy_config_cluster_v3_Cluster_circuit_breakers(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_cluster_v3_CircuitBreakers* default_val = NULL; - const struct envoy_config_cluster_v3_CircuitBreakers* ret; - const upb_MiniTableField field = {10, UPB_SIZE(28, 88), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_circuit_breakers(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(28, 88), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_http_protocol_options(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(32, 96), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_Http1ProtocolOptions* envoy_config_cluster_v3_Cluster_http_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_core_v3_Http1ProtocolOptions* default_val = NULL; - const struct envoy_config_core_v3_Http1ProtocolOptions* ret; - const upb_MiniTableField field = {13, UPB_SIZE(32, 96), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_http_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(32, 96), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_http2_protocol_options(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {14, UPB_SIZE(36, 104), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_Http2ProtocolOptions* envoy_config_cluster_v3_Cluster_http2_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_core_v3_Http2ProtocolOptions* default_val = NULL; - const struct envoy_config_core_v3_Http2ProtocolOptions* ret; - const upb_MiniTableField field = {14, UPB_SIZE(36, 104), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_http2_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {14, UPB_SIZE(36, 104), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_dns_refresh_rate(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {16, UPB_SIZE(40, 112), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_dns_refresh_rate(const envoy_config_cluster_v3_Cluster* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {16, UPB_SIZE(40, 112), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_dns_refresh_rate(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {16, UPB_SIZE(40, 112), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_dns_lookup_family(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {17, UPB_SIZE(44, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_dns_lookup_family(const envoy_config_cluster_v3_Cluster* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {17, UPB_SIZE(44, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_dns_resolvers(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_Address* const* envoy_config_cluster_v3_Cluster_dns_resolvers(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { - const upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct envoy_config_core_v3_Address* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_dns_resolvers_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { - const upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_dns_resolvers_mutable_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_dns_resolvers(const envoy_config_cluster_v3_Cluster* msg) { - size_t size; - envoy_config_cluster_v3_Cluster_dns_resolvers(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_outlier_detection(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {19, UPB_SIZE(52, 128), 9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_cluster_v3_OutlierDetection* envoy_config_cluster_v3_Cluster_outlier_detection(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_cluster_v3_OutlierDetection* default_val = NULL; - const struct envoy_config_cluster_v3_OutlierDetection* ret; - const upb_MiniTableField field = {19, UPB_SIZE(52, 128), 9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_outlier_detection(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {19, UPB_SIZE(52, 128), 9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_cleanup_interval(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {20, UPB_SIZE(56, 136), 10, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_cleanup_interval(const envoy_config_cluster_v3_Cluster* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {20, UPB_SIZE(56, 136), 10, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_cleanup_interval(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {20, UPB_SIZE(56, 136), 10, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_upstream_bind_config(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {21, UPB_SIZE(60, 144), 11, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_BindConfig* envoy_config_cluster_v3_Cluster_upstream_bind_config(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_core_v3_BindConfig* default_val = NULL; - const struct envoy_config_core_v3_BindConfig* ret; - const upb_MiniTableField field = {21, UPB_SIZE(60, 144), 11, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_upstream_bind_config(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {21, UPB_SIZE(60, 144), 11, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_lb_subset_config(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {22, UPB_SIZE(64, 152), 12, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_LbSubsetConfig* envoy_config_cluster_v3_Cluster_lb_subset_config(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_Cluster_LbSubsetConfig* default_val = NULL; - const envoy_config_cluster_v3_Cluster_LbSubsetConfig* ret; - const upb_MiniTableField field = {22, UPB_SIZE(64, 152), 12, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_lb_subset_config(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {22, UPB_SIZE(64, 152), 12, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_ring_hash_lb_config(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {23, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_RingHashLbConfig* envoy_config_cluster_v3_Cluster_ring_hash_lb_config(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_Cluster_RingHashLbConfig* default_val = NULL; - const envoy_config_cluster_v3_Cluster_RingHashLbConfig* ret; - const upb_MiniTableField field = {23, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_ring_hash_lb_config(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {23, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_transport_socket(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {24, UPB_SIZE(68, 160), 13, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TransportSocket* envoy_config_cluster_v3_Cluster_transport_socket(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_core_v3_TransportSocket* default_val = NULL; - const struct envoy_config_core_v3_TransportSocket* ret; - const upb_MiniTableField field = {24, UPB_SIZE(68, 160), 13, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_transport_socket(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {24, UPB_SIZE(68, 160), 13, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_metadata(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {25, UPB_SIZE(72, 168), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_Metadata* envoy_config_cluster_v3_Cluster_metadata(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_core_v3_Metadata* default_val = NULL; - const struct envoy_config_core_v3_Metadata* ret; - const upb_MiniTableField field = {25, UPB_SIZE(72, 168), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_metadata(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {25, UPB_SIZE(72, 168), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_protocol_selection(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {26, UPB_SIZE(76, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_protocol_selection(const envoy_config_cluster_v3_Cluster* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {26, UPB_SIZE(76, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_common_lb_config(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {27, UPB_SIZE(80, 176), 15, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_CommonLbConfig* envoy_config_cluster_v3_Cluster_common_lb_config(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_Cluster_CommonLbConfig* default_val = NULL; - const envoy_config_cluster_v3_Cluster_CommonLbConfig* ret; - const upb_MiniTableField field = {27, UPB_SIZE(80, 176), 15, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_common_lb_config(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {27, UPB_SIZE(80, 176), 15, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_alt_stat_name(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {28, UPB_SIZE(192, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_alt_stat_name(const envoy_config_cluster_v3_Cluster* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {28, UPB_SIZE(192, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_common_http_protocol_options(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {29, UPB_SIZE(84, 200), 16, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_HttpProtocolOptions* envoy_config_cluster_v3_Cluster_common_http_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_core_v3_HttpProtocolOptions* default_val = NULL; - const struct envoy_config_core_v3_HttpProtocolOptions* ret; - const upb_MiniTableField field = {29, UPB_SIZE(84, 200), 16, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_common_http_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {29, UPB_SIZE(84, 200), 16, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_upstream_connection_options(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {30, UPB_SIZE(88, 208), 17, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_UpstreamConnectionOptions* envoy_config_cluster_v3_Cluster_upstream_connection_options(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_UpstreamConnectionOptions* default_val = NULL; - const envoy_config_cluster_v3_UpstreamConnectionOptions* ret; - const upb_MiniTableField field = {30, UPB_SIZE(88, 208), 17, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_upstream_connection_options(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {30, UPB_SIZE(88, 208), 17, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_close_connections_on_host_health_failure(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {31, UPB_SIZE(92, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_close_connections_on_host_health_failure(const envoy_config_cluster_v3_Cluster* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {31, UPB_SIZE(92, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_ignore_health_on_host_removal(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {32, UPB_SIZE(93, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_ignore_health_on_host_removal(const envoy_config_cluster_v3_Cluster* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {32, UPB_SIZE(93, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_load_assignment(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {33, UPB_SIZE(96, 216), 18, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_endpoint_v3_ClusterLoadAssignment* envoy_config_cluster_v3_Cluster_load_assignment(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_endpoint_v3_ClusterLoadAssignment* default_val = NULL; - const struct envoy_config_endpoint_v3_ClusterLoadAssignment* ret; - const upb_MiniTableField field = {33, UPB_SIZE(96, 216), 18, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_load_assignment(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {33, UPB_SIZE(96, 216), 18, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_original_dst_lb_config(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {34, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_config_cluster_v3_Cluster_original_dst_lb_config(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* default_val = NULL; - const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* ret; - const upb_MiniTableField field = {34, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_original_dst_lb_config(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {34, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_typed_extension_protocol_options(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE size_t envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_size(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - return map ? _upb_Map_Size(map) : 0; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_get(const envoy_config_cluster_v3_Cluster* msg, upb_StringView key, struct google_protobuf_Any** val) { - const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Get(map, &key, 0, val, sizeof(*val)); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_next(const envoy_config_cluster_v3_Cluster* msg, size_t* iter) { - const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_least_request_lb_config(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {37, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_config_cluster_v3_Cluster_least_request_lb_config(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* default_val = NULL; - const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* ret; - const upb_MiniTableField field = {37, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_least_request_lb_config(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {37, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_cluster_type(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {38, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_CustomClusterType* envoy_config_cluster_v3_Cluster_cluster_type(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_Cluster_CustomClusterType* default_val = NULL; - const envoy_config_cluster_v3_Cluster_CustomClusterType* ret; - const upb_MiniTableField field = {38, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_cluster_type(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {38, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_respect_dns_ttl(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {39, UPB_SIZE(108, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_respect_dns_ttl(const envoy_config_cluster_v3_Cluster* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {39, UPB_SIZE(108, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_filters(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_cluster_v3_Filter* const* envoy_config_cluster_v3_Cluster_filters(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { - const upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct envoy_config_cluster_v3_Filter* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_filters_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { - const upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_filters_mutable_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_filters(const envoy_config_cluster_v3_Cluster* msg) { - size_t size; - envoy_config_cluster_v3_Cluster_filters(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_load_balancing_policy(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {41, UPB_SIZE(116, 240), 19, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_LoadBalancingPolicy* envoy_config_cluster_v3_Cluster_load_balancing_policy(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_LoadBalancingPolicy* default_val = NULL; - const envoy_config_cluster_v3_LoadBalancingPolicy* ret; - const upb_MiniTableField field = {41, UPB_SIZE(116, 240), 19, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_load_balancing_policy(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {41, UPB_SIZE(116, 240), 19, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_lrs_server(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {42, UPB_SIZE(120, 248), 20, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_cluster_v3_Cluster_lrs_server(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_core_v3_ConfigSource* default_val = NULL; - const struct envoy_config_core_v3_ConfigSource* ret; - const upb_MiniTableField field = {42, UPB_SIZE(120, 248), 20, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_lrs_server(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {42, UPB_SIZE(120, 248), 20, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_transport_socket_matches(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_TransportSocketMatch* const* envoy_config_cluster_v3_Cluster_transport_socket_matches(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { - const upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_cluster_v3_Cluster_TransportSocketMatch* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_transport_socket_matches_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size) { - const upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_transport_socket_matches_mutable_upb_array(const envoy_config_cluster_v3_Cluster* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_transport_socket_matches(const envoy_config_cluster_v3_Cluster* msg) { - size_t size; - envoy_config_cluster_v3_Cluster_transport_socket_matches(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_dns_failure_refresh_rate(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {44, UPB_SIZE(128, 264), 21, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_RefreshRate* envoy_config_cluster_v3_Cluster_dns_failure_refresh_rate(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_Cluster_RefreshRate* default_val = NULL; - const envoy_config_cluster_v3_Cluster_RefreshRate* ret; - const upb_MiniTableField field = {44, UPB_SIZE(128, 264), 21, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_dns_failure_refresh_rate(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {44, UPB_SIZE(128, 264), 21, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_use_tcp_for_dns_lookups(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {45, UPB_SIZE(132, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_use_tcp_for_dns_lookups(const envoy_config_cluster_v3_Cluster* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {45, UPB_SIZE(132, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_upstream_http_protocol_options(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {46, UPB_SIZE(136, 272), 22, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_config_cluster_v3_Cluster_upstream_http_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_core_v3_UpstreamHttpProtocolOptions* default_val = NULL; - const struct envoy_config_core_v3_UpstreamHttpProtocolOptions* ret; - const upb_MiniTableField field = {46, UPB_SIZE(136, 272), 22, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_upstream_http_protocol_options(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {46, UPB_SIZE(136, 272), 22, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_track_timeout_budgets(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {47, UPB_SIZE(140, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_track_timeout_budgets(const envoy_config_cluster_v3_Cluster* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {47, UPB_SIZE(140, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_upstream_config(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {48, UPB_SIZE(144, 280), 23, 31, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_Cluster_upstream_config(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; - const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {48, UPB_SIZE(144, 280), 23, 31, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_upstream_config(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {48, UPB_SIZE(144, 280), 23, 31, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_track_cluster_stats(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {49, UPB_SIZE(148, 288), 24, 32, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_TrackClusterStats* envoy_config_cluster_v3_Cluster_track_cluster_stats(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_TrackClusterStats* default_val = NULL; - const envoy_config_cluster_v3_TrackClusterStats* ret; - const upb_MiniTableField field = {49, UPB_SIZE(148, 288), 24, 32, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_track_cluster_stats(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {49, UPB_SIZE(148, 288), 24, 32, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_preconnect_policy(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {50, UPB_SIZE(152, 296), 25, 33, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_PreconnectPolicy* envoy_config_cluster_v3_Cluster_preconnect_policy(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_Cluster_PreconnectPolicy* default_val = NULL; - const envoy_config_cluster_v3_Cluster_PreconnectPolicy* ret; - const upb_MiniTableField field = {50, UPB_SIZE(152, 296), 25, 33, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_preconnect_policy(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {50, UPB_SIZE(152, 296), 25, 33, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_connection_pool_per_downstream_connection(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {51, UPB_SIZE(156, 27), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_connection_pool_per_downstream_connection(const envoy_config_cluster_v3_Cluster* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {51, UPB_SIZE(156, 27), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_maglev_lb_config(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {52, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 34, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_cluster_v3_Cluster_maglev_lb_config(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_Cluster_MaglevLbConfig* default_val = NULL; - const envoy_config_cluster_v3_Cluster_MaglevLbConfig* ret; - const upb_MiniTableField field = {52, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 34, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_maglev_lb_config(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {52, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 34, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_dns_resolution_config(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {53, UPB_SIZE(160, 304), 26, 35, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_DnsResolutionConfig* envoy_config_cluster_v3_Cluster_dns_resolution_config(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_core_v3_DnsResolutionConfig* default_val = NULL; - const struct envoy_config_core_v3_DnsResolutionConfig* ret; - const upb_MiniTableField field = {53, UPB_SIZE(160, 304), 26, 35, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_dns_resolution_config(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {53, UPB_SIZE(160, 304), 26, 35, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_wait_for_warm_on_init(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {54, UPB_SIZE(164, 312), 27, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_cluster_v3_Cluster_wait_for_warm_on_init(const envoy_config_cluster_v3_Cluster* msg) { - const struct google_protobuf_BoolValue* default_val = NULL; - const struct google_protobuf_BoolValue* ret; - const upb_MiniTableField field = {54, UPB_SIZE(164, 312), 27, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_wait_for_warm_on_init(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {54, UPB_SIZE(164, 312), 27, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_typed_dns_resolver_config(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {55, UPB_SIZE(168, 320), 28, 37, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_Cluster_typed_dns_resolver_config(const envoy_config_cluster_v3_Cluster* msg) { - const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; - const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {55, UPB_SIZE(168, 320), 28, 37, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_typed_dns_resolver_config(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {55, UPB_SIZE(168, 320), 28, 37, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_clear_round_robin_lb_config(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {56, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 38, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* envoy_config_cluster_v3_Cluster_round_robin_lb_config(const envoy_config_cluster_v3_Cluster* msg) { - const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* default_val = NULL; - const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* ret; - const upb_MiniTableField field = {56, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 38, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_round_robin_lb_config(const envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {56, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 38, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_name(envoy_config_cluster_v3_Cluster *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(184, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_type(envoy_config_cluster_v3_Cluster *msg, int32_t value) { - const upb_MiniTableField field = {2, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_eds_cluster_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_EdsClusterConfig* value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_EdsClusterConfig* envoy_config_cluster_v3_Cluster_mutable_eds_cluster_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_EdsClusterConfig* sub = (struct envoy_config_cluster_v3_Cluster_EdsClusterConfig*)envoy_config_cluster_v3_Cluster_eds_cluster_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_EdsClusterConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_EdsClusterConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_eds_cluster_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_connect_timeout(envoy_config_cluster_v3_Cluster *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 56), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_mutable_connect_timeout(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_connect_timeout(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_connect_timeout(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_per_connection_buffer_limit_bytes(envoy_config_cluster_v3_Cluster *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 64), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_mutable_per_connection_buffer_limit_bytes(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_Cluster_per_connection_buffer_limit_bytes(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_per_connection_buffer_limit_bytes(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_lb_policy(envoy_config_cluster_v3_Cluster *msg, int32_t value) { - const upb_MiniTableField field = {6, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_HealthCheck** envoy_config_cluster_v3_Cluster_mutable_health_checks(envoy_config_cluster_v3_Cluster* msg, size_t* size) { - upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct envoy_config_core_v3_HealthCheck**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct envoy_config_core_v3_HealthCheck** envoy_config_cluster_v3_Cluster_resize_health_checks(envoy_config_cluster_v3_Cluster* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct envoy_config_core_v3_HealthCheck**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_core_v3_HealthCheck* envoy_config_cluster_v3_Cluster_add_health_checks(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - upb_MiniTableField field = {8, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_core_v3_HealthCheck* sub = (struct envoy_config_core_v3_HealthCheck*)_upb_Message_New(&envoy_config_core_v3_HealthCheck_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_max_requests_per_connection(envoy_config_cluster_v3_Cluster *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {9, UPB_SIZE(24, 80), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_mutable_max_requests_per_connection(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_Cluster_max_requests_per_connection(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_max_requests_per_connection(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_circuit_breakers(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_cluster_v3_CircuitBreakers* value) { - const upb_MiniTableField field = {10, UPB_SIZE(28, 88), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_CircuitBreakers* envoy_config_cluster_v3_Cluster_mutable_circuit_breakers(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_CircuitBreakers* sub = (struct envoy_config_cluster_v3_CircuitBreakers*)envoy_config_cluster_v3_Cluster_circuit_breakers(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_CircuitBreakers*)_upb_Message_New(&envoy_config_cluster_v3_CircuitBreakers_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_circuit_breakers(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_http_protocol_options(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_Http1ProtocolOptions* value) { - const upb_MiniTableField field = {13, UPB_SIZE(32, 96), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_Http1ProtocolOptions* envoy_config_cluster_v3_Cluster_mutable_http_protocol_options(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_core_v3_Http1ProtocolOptions* sub = (struct envoy_config_core_v3_Http1ProtocolOptions*)envoy_config_cluster_v3_Cluster_http_protocol_options(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_Http1ProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_Http1ProtocolOptions_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_http_protocol_options(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_http2_protocol_options(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_Http2ProtocolOptions* value) { - const upb_MiniTableField field = {14, UPB_SIZE(36, 104), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_Http2ProtocolOptions* envoy_config_cluster_v3_Cluster_mutable_http2_protocol_options(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_core_v3_Http2ProtocolOptions* sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)envoy_config_cluster_v3_Cluster_http2_protocol_options(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_Http2ProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_Http2ProtocolOptions_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_http2_protocol_options(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_dns_refresh_rate(envoy_config_cluster_v3_Cluster *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {16, UPB_SIZE(40, 112), 8, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_mutable_dns_refresh_rate(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_dns_refresh_rate(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_dns_refresh_rate(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_dns_lookup_family(envoy_config_cluster_v3_Cluster *msg, int32_t value) { - const upb_MiniTableField field = {17, UPB_SIZE(44, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_cluster_v3_Cluster_mutable_dns_resolvers(envoy_config_cluster_v3_Cluster* msg, size_t* size) { - upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct envoy_config_core_v3_Address**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_cluster_v3_Cluster_resize_dns_resolvers(envoy_config_cluster_v3_Cluster* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct envoy_config_core_v3_Address**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_cluster_v3_Cluster_add_dns_resolvers(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - upb_MiniTableField field = {18, UPB_SIZE(48, 120), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_outlier_detection(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_cluster_v3_OutlierDetection* value) { - const upb_MiniTableField field = {19, UPB_SIZE(52, 128), 9, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_OutlierDetection* envoy_config_cluster_v3_Cluster_mutable_outlier_detection(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_OutlierDetection* sub = (struct envoy_config_cluster_v3_OutlierDetection*)envoy_config_cluster_v3_Cluster_outlier_detection(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_OutlierDetection*)_upb_Message_New(&envoy_config_cluster_v3_OutlierDetection_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_outlier_detection(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_cleanup_interval(envoy_config_cluster_v3_Cluster *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {20, UPB_SIZE(56, 136), 10, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_mutable_cleanup_interval(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_cleanup_interval(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_cleanup_interval(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_upstream_bind_config(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_BindConfig* value) { - const upb_MiniTableField field = {21, UPB_SIZE(60, 144), 11, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_BindConfig* envoy_config_cluster_v3_Cluster_mutable_upstream_bind_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_core_v3_BindConfig* sub = (struct envoy_config_core_v3_BindConfig*)envoy_config_cluster_v3_Cluster_upstream_bind_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_BindConfig*)_upb_Message_New(&envoy_config_core_v3_BindConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_upstream_bind_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_lb_subset_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_LbSubsetConfig* value) { - const upb_MiniTableField field = {22, UPB_SIZE(64, 152), 12, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_LbSubsetConfig* envoy_config_cluster_v3_Cluster_mutable_lb_subset_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_LbSubsetConfig* sub = (struct envoy_config_cluster_v3_Cluster_LbSubsetConfig*)envoy_config_cluster_v3_Cluster_lb_subset_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_LbSubsetConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_LbSubsetConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_lb_subset_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_ring_hash_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_RingHashLbConfig* value) { - const upb_MiniTableField field = {23, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_RingHashLbConfig* envoy_config_cluster_v3_Cluster_mutable_ring_hash_lb_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_RingHashLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_RingHashLbConfig*)envoy_config_cluster_v3_Cluster_ring_hash_lb_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_RingHashLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_RingHashLbConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_ring_hash_lb_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_transport_socket(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_TransportSocket* value) { - const upb_MiniTableField field = {24, UPB_SIZE(68, 160), 13, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TransportSocket* envoy_config_cluster_v3_Cluster_mutable_transport_socket(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TransportSocket* sub = (struct envoy_config_core_v3_TransportSocket*)envoy_config_cluster_v3_Cluster_transport_socket(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TransportSocket*)_upb_Message_New(&envoy_config_core_v3_TransportSocket_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_transport_socket(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_metadata(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_Metadata* value) { - const upb_MiniTableField field = {25, UPB_SIZE(72, 168), 14, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_cluster_v3_Cluster_mutable_metadata(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_cluster_v3_Cluster_metadata(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy_config_core_v3_Metadata_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_metadata(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_protocol_selection(envoy_config_cluster_v3_Cluster *msg, int32_t value) { - const upb_MiniTableField field = {26, UPB_SIZE(76, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_common_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_CommonLbConfig* value) { - const upb_MiniTableField field = {27, UPB_SIZE(80, 176), 15, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_CommonLbConfig* envoy_config_cluster_v3_Cluster_mutable_common_lb_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_CommonLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig*)envoy_config_cluster_v3_Cluster_common_lb_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_CommonLbConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_common_lb_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_alt_stat_name(envoy_config_cluster_v3_Cluster *msg, upb_StringView value) { - const upb_MiniTableField field = {28, UPB_SIZE(192, 184), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_common_http_protocol_options(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_HttpProtocolOptions* value) { - const upb_MiniTableField field = {29, UPB_SIZE(84, 200), 16, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_HttpProtocolOptions* envoy_config_cluster_v3_Cluster_mutable_common_http_protocol_options(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_core_v3_HttpProtocolOptions* sub = (struct envoy_config_core_v3_HttpProtocolOptions*)envoy_config_cluster_v3_Cluster_common_http_protocol_options(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_HttpProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_HttpProtocolOptions_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_common_http_protocol_options(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_upstream_connection_options(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_UpstreamConnectionOptions* value) { - const upb_MiniTableField field = {30, UPB_SIZE(88, 208), 17, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_UpstreamConnectionOptions* envoy_config_cluster_v3_Cluster_mutable_upstream_connection_options(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_UpstreamConnectionOptions* sub = (struct envoy_config_cluster_v3_UpstreamConnectionOptions*)envoy_config_cluster_v3_Cluster_upstream_connection_options(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_UpstreamConnectionOptions*)_upb_Message_New(&envoy_config_cluster_v3_UpstreamConnectionOptions_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_upstream_connection_options(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_close_connections_on_host_health_failure(envoy_config_cluster_v3_Cluster *msg, bool value) { - const upb_MiniTableField field = {31, UPB_SIZE(92, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_ignore_health_on_host_removal(envoy_config_cluster_v3_Cluster *msg, bool value) { - const upb_MiniTableField field = {32, UPB_SIZE(93, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_load_assignment(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_endpoint_v3_ClusterLoadAssignment* value) { - const upb_MiniTableField field = {33, UPB_SIZE(96, 216), 18, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_endpoint_v3_ClusterLoadAssignment* envoy_config_cluster_v3_Cluster_mutable_load_assignment(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_endpoint_v3_ClusterLoadAssignment* sub = (struct envoy_config_endpoint_v3_ClusterLoadAssignment*)envoy_config_cluster_v3_Cluster_load_assignment(msg); - if (sub == NULL) { - sub = (struct envoy_config_endpoint_v3_ClusterLoadAssignment*)_upb_Message_New(&envoy_config_endpoint_v3_ClusterLoadAssignment_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_load_assignment(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_original_dst_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* value) { - const upb_MiniTableField field = {34, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_config_cluster_v3_Cluster_mutable_original_dst_lb_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig*)envoy_config_cluster_v3_Cluster_original_dst_lb_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_original_dst_lb_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_clear(envoy_config_cluster_v3_Cluster* msg) { - const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return; - _upb_Map_Clear(map); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_set(envoy_config_cluster_v3_Cluster* msg, upb_StringView key, struct google_protobuf_Any* val, upb_Arena* a) { - const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, sizeof(val), a); - return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) != - kUpb_MapInsertStatus_OutOfMemory; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_delete(envoy_config_cluster_v3_Cluster* msg, upb_StringView key) { - const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Delete(map, &key, 0, NULL); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_nextmutable(envoy_config_cluster_v3_Cluster* msg, size_t* iter) { - const upb_MiniTableField field = {36, UPB_SIZE(100, 224), 0, 22, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_least_request_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* value) { - const upb_MiniTableField field = {37, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_config_cluster_v3_Cluster_mutable_least_request_lb_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig*)envoy_config_cluster_v3_Cluster_least_request_lb_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_least_request_lb_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_cluster_type(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_CustomClusterType* value) { - const upb_MiniTableField field = {38, UPB_SIZE(176, 328), UPB_SIZE(-105, -21), 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_CustomClusterType* envoy_config_cluster_v3_Cluster_mutable_cluster_type(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_CustomClusterType* sub = (struct envoy_config_cluster_v3_Cluster_CustomClusterType*)envoy_config_cluster_v3_Cluster_cluster_type(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_CustomClusterType*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_CustomClusterType_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_cluster_type(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_respect_dns_ttl(envoy_config_cluster_v3_Cluster *msg, bool value) { - const upb_MiniTableField field = {39, UPB_SIZE(108, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Filter** envoy_config_cluster_v3_Cluster_mutable_filters(envoy_config_cluster_v3_Cluster* msg, size_t* size) { - upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct envoy_config_cluster_v3_Filter**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct envoy_config_cluster_v3_Filter** envoy_config_cluster_v3_Cluster_resize_filters(envoy_config_cluster_v3_Cluster* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct envoy_config_cluster_v3_Filter**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_cluster_v3_Filter* envoy_config_cluster_v3_Cluster_add_filters(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - upb_MiniTableField field = {40, UPB_SIZE(112, 232), 0, 25, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_cluster_v3_Filter* sub = (struct envoy_config_cluster_v3_Filter*)_upb_Message_New(&envoy_config_cluster_v3_Filter_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_load_balancing_policy(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_LoadBalancingPolicy* value) { - const upb_MiniTableField field = {41, UPB_SIZE(116, 240), 19, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_LoadBalancingPolicy* envoy_config_cluster_v3_Cluster_mutable_load_balancing_policy(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_LoadBalancingPolicy* sub = (struct envoy_config_cluster_v3_LoadBalancingPolicy*)envoy_config_cluster_v3_Cluster_load_balancing_policy(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_LoadBalancingPolicy*)_upb_Message_New(&envoy_config_cluster_v3_LoadBalancingPolicy_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_load_balancing_policy(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_lrs_server(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_ConfigSource* value) { - const upb_MiniTableField field = {42, UPB_SIZE(120, 248), 20, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_cluster_v3_Cluster_mutable_lrs_server(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_cluster_v3_Cluster_lrs_server(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_lrs_server(msg, sub); - } - return sub; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_TransportSocketMatch** envoy_config_cluster_v3_Cluster_mutable_transport_socket_matches(envoy_config_cluster_v3_Cluster* msg, size_t* size) { - upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_cluster_v3_Cluster_TransportSocketMatch**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_cluster_v3_Cluster_TransportSocketMatch** envoy_config_cluster_v3_Cluster_resize_transport_socket_matches(envoy_config_cluster_v3_Cluster* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_cluster_v3_Cluster_TransportSocketMatch**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_TransportSocketMatch* envoy_config_cluster_v3_Cluster_add_transport_socket_matches(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - upb_MiniTableField field = {43, UPB_SIZE(124, 256), 0, 28, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_cluster_v3_Cluster_TransportSocketMatch* sub = (struct envoy_config_cluster_v3_Cluster_TransportSocketMatch*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_TransportSocketMatch_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_dns_failure_refresh_rate(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_RefreshRate* value) { - const upb_MiniTableField field = {44, UPB_SIZE(128, 264), 21, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_RefreshRate* envoy_config_cluster_v3_Cluster_mutable_dns_failure_refresh_rate(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_RefreshRate* sub = (struct envoy_config_cluster_v3_Cluster_RefreshRate*)envoy_config_cluster_v3_Cluster_dns_failure_refresh_rate(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_RefreshRate*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_RefreshRate_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_dns_failure_refresh_rate(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_use_tcp_for_dns_lookups(envoy_config_cluster_v3_Cluster *msg, bool value) { - const upb_MiniTableField field = {45, UPB_SIZE(132, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_upstream_http_protocol_options(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_UpstreamHttpProtocolOptions* value) { - const upb_MiniTableField field = {46, UPB_SIZE(136, 272), 22, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_UpstreamHttpProtocolOptions* envoy_config_cluster_v3_Cluster_mutable_upstream_http_protocol_options(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_core_v3_UpstreamHttpProtocolOptions* sub = (struct envoy_config_core_v3_UpstreamHttpProtocolOptions*)envoy_config_cluster_v3_Cluster_upstream_http_protocol_options(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_UpstreamHttpProtocolOptions*)_upb_Message_New(&envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_upstream_http_protocol_options(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_track_timeout_budgets(envoy_config_cluster_v3_Cluster *msg, bool value) { - const upb_MiniTableField field = {47, UPB_SIZE(140, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_upstream_config(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {48, UPB_SIZE(144, 280), 23, 31, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_Cluster_mutable_upstream_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_cluster_v3_Cluster_upstream_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_upstream_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_track_cluster_stats(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_TrackClusterStats* value) { - const upb_MiniTableField field = {49, UPB_SIZE(148, 288), 24, 32, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_TrackClusterStats* envoy_config_cluster_v3_Cluster_mutable_track_cluster_stats(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_TrackClusterStats* sub = (struct envoy_config_cluster_v3_TrackClusterStats*)envoy_config_cluster_v3_Cluster_track_cluster_stats(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_TrackClusterStats*)_upb_Message_New(&envoy_config_cluster_v3_TrackClusterStats_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_track_cluster_stats(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_preconnect_policy(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_PreconnectPolicy* value) { - const upb_MiniTableField field = {50, UPB_SIZE(152, 296), 25, 33, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_PreconnectPolicy* envoy_config_cluster_v3_Cluster_mutable_preconnect_policy(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_PreconnectPolicy* sub = (struct envoy_config_cluster_v3_Cluster_PreconnectPolicy*)envoy_config_cluster_v3_Cluster_preconnect_policy(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_PreconnectPolicy*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_PreconnectPolicy_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_preconnect_policy(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_connection_pool_per_downstream_connection(envoy_config_cluster_v3_Cluster *msg, bool value) { - const upb_MiniTableField field = {51, UPB_SIZE(156, 27), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_maglev_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_MaglevLbConfig* value) { - const upb_MiniTableField field = {52, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 34, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_cluster_v3_Cluster_mutable_maglev_lb_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_MaglevLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_MaglevLbConfig*)envoy_config_cluster_v3_Cluster_maglev_lb_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_MaglevLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_MaglevLbConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_maglev_lb_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_dns_resolution_config(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_DnsResolutionConfig* value) { - const upb_MiniTableField field = {53, UPB_SIZE(160, 304), 26, 35, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_DnsResolutionConfig* envoy_config_cluster_v3_Cluster_mutable_dns_resolution_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_core_v3_DnsResolutionConfig* sub = (struct envoy_config_core_v3_DnsResolutionConfig*)envoy_config_cluster_v3_Cluster_dns_resolution_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_DnsResolutionConfig*)_upb_Message_New(&envoy_config_core_v3_DnsResolutionConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_dns_resolution_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_wait_for_warm_on_init(envoy_config_cluster_v3_Cluster *msg, struct google_protobuf_BoolValue* value) { - const upb_MiniTableField field = {54, UPB_SIZE(164, 312), 27, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_BoolValue* envoy_config_cluster_v3_Cluster_mutable_wait_for_warm_on_init(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_cluster_v3_Cluster_wait_for_warm_on_init(msg); - if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_wait_for_warm_on_init(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_typed_dns_resolver_config(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {55, UPB_SIZE(168, 320), 28, 37, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_Cluster_mutable_typed_dns_resolver_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_cluster_v3_Cluster_typed_dns_resolver_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_typed_dns_resolver_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_set_round_robin_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* value) { - const upb_MiniTableField field = {56, UPB_SIZE(180, 336), UPB_SIZE(-173, -29), 38, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* envoy_config_cluster_v3_Cluster_mutable_round_robin_lb_config(envoy_config_cluster_v3_Cluster* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_RoundRobinLbConfig*)envoy_config_cluster_v3_Cluster_round_robin_lb_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_RoundRobinLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_set_round_robin_lb_config(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster.TransportSocketMatch */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_TransportSocketMatch* envoy_config_cluster_v3_Cluster_TransportSocketMatch_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_TransportSocketMatch*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_TransportSocketMatch_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_TransportSocketMatch* envoy_config_cluster_v3_Cluster_TransportSocketMatch_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_TransportSocketMatch* ret = envoy_config_cluster_v3_Cluster_TransportSocketMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_TransportSocketMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_TransportSocketMatch* envoy_config_cluster_v3_Cluster_TransportSocketMatch_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_TransportSocketMatch* ret = envoy_config_cluster_v3_Cluster_TransportSocketMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_TransportSocketMatch_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_TransportSocketMatch_serialize(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_TransportSocketMatch_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_TransportSocketMatch_serialize_ex(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_TransportSocketMatch_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_TransportSocketMatch_clear_name(envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_TransportSocketMatch_name(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_TransportSocketMatch_clear_match(envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Struct* envoy_config_cluster_v3_Cluster_TransportSocketMatch_match(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { - const struct google_protobuf_Struct* default_val = NULL; - const struct google_protobuf_Struct* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_TransportSocketMatch_has_match(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_TransportSocketMatch_clear_transport_socket(envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TransportSocket* envoy_config_cluster_v3_Cluster_TransportSocketMatch_transport_socket(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { - const struct envoy_config_core_v3_TransportSocket* default_val = NULL; - const struct envoy_config_core_v3_TransportSocket* ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_TransportSocketMatch_has_transport_socket(const envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_TransportSocketMatch_set_name(envoy_config_cluster_v3_Cluster_TransportSocketMatch *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_TransportSocketMatch_set_match(envoy_config_cluster_v3_Cluster_TransportSocketMatch *msg, struct google_protobuf_Struct* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Struct* envoy_config_cluster_v3_Cluster_TransportSocketMatch_mutable_match(envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg, upb_Arena* arena) { - struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_cluster_v3_Cluster_TransportSocketMatch_match(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_TransportSocketMatch_set_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_TransportSocketMatch_set_transport_socket(envoy_config_cluster_v3_Cluster_TransportSocketMatch *msg, struct envoy_config_core_v3_TransportSocket* value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TransportSocket* envoy_config_cluster_v3_Cluster_TransportSocketMatch_mutable_transport_socket(envoy_config_cluster_v3_Cluster_TransportSocketMatch* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TransportSocket* sub = (struct envoy_config_core_v3_TransportSocket*)envoy_config_cluster_v3_Cluster_TransportSocketMatch_transport_socket(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TransportSocket*)_upb_Message_New(&envoy_config_core_v3_TransportSocket_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_TransportSocketMatch_set_transport_socket(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster.CustomClusterType */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_CustomClusterType* envoy_config_cluster_v3_Cluster_CustomClusterType_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_CustomClusterType*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_CustomClusterType_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_CustomClusterType* envoy_config_cluster_v3_Cluster_CustomClusterType_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_CustomClusterType* ret = envoy_config_cluster_v3_Cluster_CustomClusterType_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_CustomClusterType_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_CustomClusterType* envoy_config_cluster_v3_Cluster_CustomClusterType_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_CustomClusterType* ret = envoy_config_cluster_v3_Cluster_CustomClusterType_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_CustomClusterType_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_CustomClusterType_serialize(const envoy_config_cluster_v3_Cluster_CustomClusterType* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_CustomClusterType_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_CustomClusterType_serialize_ex(const envoy_config_cluster_v3_Cluster_CustomClusterType* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_CustomClusterType_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CustomClusterType_clear_name(envoy_config_cluster_v3_Cluster_CustomClusterType* msg) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_CustomClusterType_name(const envoy_config_cluster_v3_Cluster_CustomClusterType* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CustomClusterType_clear_typed_config(envoy_config_cluster_v3_Cluster_CustomClusterType* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Any* envoy_config_cluster_v3_Cluster_CustomClusterType_typed_config(const envoy_config_cluster_v3_Cluster_CustomClusterType* msg) { - const struct google_protobuf_Any* default_val = NULL; - const struct google_protobuf_Any* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CustomClusterType_has_typed_config(const envoy_config_cluster_v3_Cluster_CustomClusterType* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_CustomClusterType_set_name(envoy_config_cluster_v3_Cluster_CustomClusterType *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CustomClusterType_set_typed_config(envoy_config_cluster_v3_Cluster_CustomClusterType *msg, struct google_protobuf_Any* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Any* envoy_config_cluster_v3_Cluster_CustomClusterType_mutable_typed_config(envoy_config_cluster_v3_Cluster_CustomClusterType* msg, upb_Arena* arena) { - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_cluster_v3_Cluster_CustomClusterType_typed_config(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_CustomClusterType_set_typed_config(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster.EdsClusterConfig */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_EdsClusterConfig* envoy_config_cluster_v3_Cluster_EdsClusterConfig_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_EdsClusterConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_EdsClusterConfig_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_EdsClusterConfig* envoy_config_cluster_v3_Cluster_EdsClusterConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_EdsClusterConfig* ret = envoy_config_cluster_v3_Cluster_EdsClusterConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_EdsClusterConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_EdsClusterConfig* envoy_config_cluster_v3_Cluster_EdsClusterConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_EdsClusterConfig* ret = envoy_config_cluster_v3_Cluster_EdsClusterConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_EdsClusterConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_EdsClusterConfig_serialize(const envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_EdsClusterConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_EdsClusterConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_EdsClusterConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_EdsClusterConfig_clear_eds_config(envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_cluster_v3_Cluster_EdsClusterConfig_eds_config(const envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg) { - const struct envoy_config_core_v3_ConfigSource* default_val = NULL; - const struct envoy_config_core_v3_ConfigSource* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_EdsClusterConfig_has_eds_config(const envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_EdsClusterConfig_clear_service_name(envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_EdsClusterConfig_service_name(const envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_EdsClusterConfig_set_eds_config(envoy_config_cluster_v3_Cluster_EdsClusterConfig *msg, struct envoy_config_core_v3_ConfigSource* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_cluster_v3_Cluster_EdsClusterConfig_mutable_eds_config(envoy_config_cluster_v3_Cluster_EdsClusterConfig* msg, upb_Arena* arena) { - struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_cluster_v3_Cluster_EdsClusterConfig_eds_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy_config_core_v3_ConfigSource_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_EdsClusterConfig_set_eds_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_EdsClusterConfig_set_service_name(envoy_config_cluster_v3_Cluster_EdsClusterConfig *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.config.cluster.v3.Cluster.LbSubsetConfig */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig* envoy_config_cluster_v3_Cluster_LbSubsetConfig_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_LbSubsetConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_LbSubsetConfig_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig* envoy_config_cluster_v3_Cluster_LbSubsetConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_LbSubsetConfig* ret = envoy_config_cluster_v3_Cluster_LbSubsetConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_LbSubsetConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig* envoy_config_cluster_v3_Cluster_LbSubsetConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_LbSubsetConfig* ret = envoy_config_cluster_v3_Cluster_LbSubsetConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_LbSubsetConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_LbSubsetConfig_serialize(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_LbSubsetConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_LbSubsetConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_LbSubsetConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_fallback_policy(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_LbSubsetConfig_fallback_policy(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_default_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Struct* envoy_config_cluster_v3_Cluster_LbSubsetConfig_default_subset(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - const struct google_protobuf_Struct* default_val = NULL; - const struct google_protobuf_Struct* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_has_default_subset(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_subset_selectors(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* const* envoy_config_cluster_v3_Cluster_LbSubsetConfig_subset_selectors(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, size_t* size) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_LbSubsetConfig_subset_selectors_upb_array(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, size_t* size) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_LbSubsetConfig_subset_selectors_mutable_upb_array(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_has_subset_selectors(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - size_t size; - envoy_config_cluster_v3_Cluster_LbSubsetConfig_subset_selectors(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_locality_weight_aware(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_locality_weight_aware(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_scale_locality_weight(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_scale_locality_weight(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {5, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_panic_mode_any(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(18, 10), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_panic_mode_any(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {6, UPB_SIZE(18, 10), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_list_as_any(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(19, 11), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_list_as_any(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {7, UPB_SIZE(19, 11), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_clear_metadata_fallback_policy(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_LbSubsetConfig_metadata_fallback_policy(const envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {8, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_fallback_policy(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, int32_t value) { - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_default_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, struct google_protobuf_Struct* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Struct* envoy_config_cluster_v3_Cluster_LbSubsetConfig_mutable_default_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, upb_Arena* arena) { - struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_cluster_v3_Cluster_LbSubsetConfig_default_subset(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_default_subset(msg, sub); - } - return sub; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector** envoy_config_cluster_v3_Cluster_LbSubsetConfig_mutable_subset_selectors(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, size_t* size) { - upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector** envoy_config_cluster_v3_Cluster_LbSubsetConfig_resize_subset_selectors(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* envoy_config_cluster_v3_Cluster_LbSubsetConfig_add_subset_selectors(envoy_config_cluster_v3_Cluster_LbSubsetConfig* msg, upb_Arena* arena) { - upb_MiniTableField field = {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* sub = (struct envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_locality_weight_aware(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, bool value) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_scale_locality_weight(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, bool value) { - const upb_MiniTableField field = {5, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_panic_mode_any(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, bool value) { - const upb_MiniTableField field = {6, UPB_SIZE(18, 10), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_list_as_any(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, bool value) { - const upb_MiniTableField field = {7, UPB_SIZE(19, 11), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_set_metadata_fallback_policy(envoy_config_cluster_v3_Cluster_LbSubsetConfig *msg, int32_t value) { - const upb_MiniTableField field = {8, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.config.cluster.v3.Cluster.LbSubsetConfig.LbSubsetSelector */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* ret = envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* ret = envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_serialize(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_serialize_ex(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_clear_keys(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_keys(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_keys_upb_array(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_keys_mutable_upb_array(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_has_keys(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { - size_t size; - envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_keys(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_clear_fallback_policy(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_fallback_policy(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_clear_fallback_keys_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_fallback_keys_subset(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_fallback_keys_subset_upb_array(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_fallback_keys_subset_mutable_upb_array(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_has_fallback_keys_subset(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { - size_t size; - envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_fallback_keys_subset(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_clear_single_host_per_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_single_host_per_subset(const envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {4, UPB_SIZE(12, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE upb_StringView* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_mutable_keys(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size) { - upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_resize_keys(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_add_keys(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_set_fallback_policy(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector *msg, int32_t value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE upb_StringView* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_mutable_fallback_keys_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t* size) { - upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_resize_fallback_keys_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_add_fallback_keys_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_set_single_host_per_subset(envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector *msg, bool value) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.config.cluster.v3.Cluster.SlowStartConfig */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_SlowStartConfig_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_SlowStartConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_SlowStartConfig_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_SlowStartConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_SlowStartConfig* ret = envoy_config_cluster_v3_Cluster_SlowStartConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_SlowStartConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_SlowStartConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_SlowStartConfig* ret = envoy_config_cluster_v3_Cluster_SlowStartConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_SlowStartConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_SlowStartConfig_serialize(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_SlowStartConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_SlowStartConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_SlowStartConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_SlowStartConfig_clear_slow_start_window(envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_SlowStartConfig_slow_start_window(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_SlowStartConfig_has_slow_start_window(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_SlowStartConfig_clear_aggression(envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_RuntimeDouble* envoy_config_cluster_v3_Cluster_SlowStartConfig_aggression(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { - const struct envoy_config_core_v3_RuntimeDouble* default_val = NULL; - const struct envoy_config_core_v3_RuntimeDouble* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_SlowStartConfig_has_aggression(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_SlowStartConfig_clear_min_weight_percent(envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_v3_Percent* envoy_config_cluster_v3_Cluster_SlowStartConfig_min_weight_percent(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { - const struct envoy_type_v3_Percent* default_val = NULL; - const struct envoy_type_v3_Percent* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_SlowStartConfig_has_min_weight_percent(const envoy_config_cluster_v3_Cluster_SlowStartConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_SlowStartConfig_set_slow_start_window(envoy_config_cluster_v3_Cluster_SlowStartConfig *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_SlowStartConfig_mutable_slow_start_window(envoy_config_cluster_v3_Cluster_SlowStartConfig* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_SlowStartConfig_slow_start_window(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_SlowStartConfig_set_slow_start_window(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_SlowStartConfig_set_aggression(envoy_config_cluster_v3_Cluster_SlowStartConfig *msg, struct envoy_config_core_v3_RuntimeDouble* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_RuntimeDouble* envoy_config_cluster_v3_Cluster_SlowStartConfig_mutable_aggression(envoy_config_cluster_v3_Cluster_SlowStartConfig* msg, upb_Arena* arena) { - struct envoy_config_core_v3_RuntimeDouble* sub = (struct envoy_config_core_v3_RuntimeDouble*)envoy_config_cluster_v3_Cluster_SlowStartConfig_aggression(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_RuntimeDouble*)_upb_Message_New(&envoy_config_core_v3_RuntimeDouble_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_SlowStartConfig_set_aggression(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_SlowStartConfig_set_min_weight_percent(envoy_config_cluster_v3_Cluster_SlowStartConfig *msg, struct envoy_type_v3_Percent* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_v3_Percent* envoy_config_cluster_v3_Cluster_SlowStartConfig_mutable_min_weight_percent(envoy_config_cluster_v3_Cluster_SlowStartConfig* msg, upb_Arena* arena) { - struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_cluster_v3_Cluster_SlowStartConfig_min_weight_percent(msg); - if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_SlowStartConfig_set_min_weight_percent(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster.RoundRobinLbConfig */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_RoundRobinLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* ret = envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* ret = envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_serialize(const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_clear_slow_start_config(envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_slow_start_config(const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* msg) { - const envoy_config_cluster_v3_Cluster_SlowStartConfig* default_val = NULL; - const envoy_config_cluster_v3_Cluster_SlowStartConfig* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_has_slow_start_config(const envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_set_slow_start_config(envoy_config_cluster_v3_Cluster_RoundRobinLbConfig *msg, envoy_config_cluster_v3_Cluster_SlowStartConfig* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_mutable_slow_start_config(envoy_config_cluster_v3_Cluster_RoundRobinLbConfig* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_SlowStartConfig* sub = (struct envoy_config_cluster_v3_Cluster_SlowStartConfig*)envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_slow_start_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_SlowStartConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_SlowStartConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_set_slow_start_config(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster.LeastRequestLbConfig */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_LeastRequestLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* ret = envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* ret = envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_serialize(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_clear_choice_count(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_choice_count(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_has_choice_count(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_clear_active_request_bias(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_RuntimeDouble* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_active_request_bias(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { - const struct envoy_config_core_v3_RuntimeDouble* default_val = NULL; - const struct envoy_config_core_v3_RuntimeDouble* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_has_active_request_bias(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_clear_slow_start_config(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_slow_start_config(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { - const envoy_config_cluster_v3_Cluster_SlowStartConfig* default_val = NULL; - const envoy_config_cluster_v3_Cluster_SlowStartConfig* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_has_slow_start_config(const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_set_choice_count(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_mutable_choice_count(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_choice_count(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_set_choice_count(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_set_active_request_bias(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig *msg, struct envoy_config_core_v3_RuntimeDouble* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_RuntimeDouble* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_mutable_active_request_bias(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg, upb_Arena* arena) { - struct envoy_config_core_v3_RuntimeDouble* sub = (struct envoy_config_core_v3_RuntimeDouble*)envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_active_request_bias(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_RuntimeDouble*)_upb_Message_New(&envoy_config_core_v3_RuntimeDouble_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_set_active_request_bias(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_set_slow_start_config(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig *msg, envoy_config_cluster_v3_Cluster_SlowStartConfig* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_SlowStartConfig* envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_mutable_slow_start_config(envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_SlowStartConfig* sub = (struct envoy_config_cluster_v3_Cluster_SlowStartConfig*)envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_slow_start_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_SlowStartConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_SlowStartConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_set_slow_start_config(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster.RingHashLbConfig */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_RingHashLbConfig* envoy_config_cluster_v3_Cluster_RingHashLbConfig_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_RingHashLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_RingHashLbConfig_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_RingHashLbConfig* envoy_config_cluster_v3_Cluster_RingHashLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_RingHashLbConfig* ret = envoy_config_cluster_v3_Cluster_RingHashLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_RingHashLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_RingHashLbConfig* envoy_config_cluster_v3_Cluster_RingHashLbConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_RingHashLbConfig* ret = envoy_config_cluster_v3_Cluster_RingHashLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_RingHashLbConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_RingHashLbConfig_serialize(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_RingHashLbConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_RingHashLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_RingHashLbConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_RingHashLbConfig_clear_minimum_ring_size(envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_RingHashLbConfig_minimum_ring_size(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { - const struct google_protobuf_UInt64Value* default_val = NULL; - const struct google_protobuf_UInt64Value* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_RingHashLbConfig_has_minimum_ring_size(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_RingHashLbConfig_clear_hash_function(envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_RingHashLbConfig_hash_function(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_RingHashLbConfig_clear_maximum_ring_size(envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_RingHashLbConfig_maximum_ring_size(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { - const struct google_protobuf_UInt64Value* default_val = NULL; - const struct google_protobuf_UInt64Value* ret; - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_RingHashLbConfig_has_maximum_ring_size(const envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_RingHashLbConfig_set_minimum_ring_size(envoy_config_cluster_v3_Cluster_RingHashLbConfig *msg, struct google_protobuf_UInt64Value* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_RingHashLbConfig_mutable_minimum_ring_size(envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg, upb_Arena* arena) { - struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_cluster_v3_Cluster_RingHashLbConfig_minimum_ring_size(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google_protobuf_UInt64Value_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_RingHashLbConfig_set_minimum_ring_size(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_RingHashLbConfig_set_hash_function(envoy_config_cluster_v3_Cluster_RingHashLbConfig *msg, int32_t value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_RingHashLbConfig_set_maximum_ring_size(envoy_config_cluster_v3_Cluster_RingHashLbConfig *msg, struct google_protobuf_UInt64Value* value) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_RingHashLbConfig_mutable_maximum_ring_size(envoy_config_cluster_v3_Cluster_RingHashLbConfig* msg, upb_Arena* arena) { - struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_cluster_v3_Cluster_RingHashLbConfig_maximum_ring_size(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google_protobuf_UInt64Value_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_RingHashLbConfig_set_maximum_ring_size(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster.MaglevLbConfig */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_cluster_v3_Cluster_MaglevLbConfig_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_MaglevLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_MaglevLbConfig_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_cluster_v3_Cluster_MaglevLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_MaglevLbConfig* ret = envoy_config_cluster_v3_Cluster_MaglevLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_MaglevLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_cluster_v3_Cluster_MaglevLbConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_MaglevLbConfig* ret = envoy_config_cluster_v3_Cluster_MaglevLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_MaglevLbConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_MaglevLbConfig_serialize(const envoy_config_cluster_v3_Cluster_MaglevLbConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_MaglevLbConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_MaglevLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_MaglevLbConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_MaglevLbConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_MaglevLbConfig_clear_table_size(envoy_config_cluster_v3_Cluster_MaglevLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_MaglevLbConfig_table_size(const envoy_config_cluster_v3_Cluster_MaglevLbConfig* msg) { - const struct google_protobuf_UInt64Value* default_val = NULL; - const struct google_protobuf_UInt64Value* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_MaglevLbConfig_has_table_size(const envoy_config_cluster_v3_Cluster_MaglevLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_MaglevLbConfig_set_table_size(envoy_config_cluster_v3_Cluster_MaglevLbConfig *msg, struct google_protobuf_UInt64Value* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_MaglevLbConfig_mutable_table_size(envoy_config_cluster_v3_Cluster_MaglevLbConfig* msg, upb_Arena* arena) { - struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_cluster_v3_Cluster_MaglevLbConfig_table_size(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google_protobuf_UInt64Value_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_MaglevLbConfig_set_table_size(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster.OriginalDstLbConfig */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_OriginalDstLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* ret = envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* ret = envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_serialize(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_clear_use_http_header(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { - const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_use_http_header(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_clear_http_header_name(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_http_header_name(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_clear_upstream_port_override(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_upstream_port_override(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_has_upstream_port_override(const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_set_use_http_header(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig *msg, bool value) { - const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_set_http_header_name(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig *msg, upb_StringView value) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_set_upstream_port_override(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_mutable_upstream_port_override(envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_upstream_port_override(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_set_upstream_port_override(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster.CommonLbConfig */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_CommonLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_CommonLbConfig_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_CommonLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_CommonLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_CommonLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_CommonLbConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_serialize(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_CommonLbConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_CommonLbConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_zone_aware_lb_config = 2, - envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_locality_weighted_lb_config = 3, - envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_NOT_SET = 0 -} envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_oneofcases; -UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_oneofcases envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_case(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_config_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_healthy_panic_threshold(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_v3_Percent* envoy_config_cluster_v3_Cluster_CommonLbConfig_healthy_panic_threshold(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const struct envoy_type_v3_Percent* default_val = NULL; - const struct envoy_type_v3_Percent* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_has_healthy_panic_threshold(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_zone_aware_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_zone_aware_lb_config(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* default_val = NULL; - const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* ret; - const upb_MiniTableField field = {2, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_has_zone_aware_lb_config(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_locality_weighted_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_weighted_lb_config(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* default_val = NULL; - const envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* ret; - const upb_MiniTableField field = {3, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_has_locality_weighted_lb_config(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_update_merge_window(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_CommonLbConfig_update_merge_window(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_has_update_merge_window(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_ignore_new_hosts_until_first_hc(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_ignore_new_hosts_until_first_hc(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {5, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_close_connections_on_host_set_change(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_close_connections_on_host_set_change(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {6, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_consistent_hashing_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(20, 32), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_consistent_hashing_lb_config(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* default_val = NULL; - const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* ret; - const upb_MiniTableField field = {7, UPB_SIZE(20, 32), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_has_consistent_hashing_lb_config(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(20, 32), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_clear_override_host_status(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(24, 40), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_HealthStatusSet* envoy_config_cluster_v3_Cluster_CommonLbConfig_override_host_status(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const struct envoy_config_core_v3_HealthStatusSet* default_val = NULL; - const struct envoy_config_core_v3_HealthStatusSet* ret; - const upb_MiniTableField field = {8, UPB_SIZE(24, 40), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_has_override_host_status(const envoy_config_cluster_v3_Cluster_CommonLbConfig* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(24, 40), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_healthy_panic_threshold(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, struct envoy_type_v3_Percent* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_v3_Percent* envoy_config_cluster_v3_Cluster_CommonLbConfig_mutable_healthy_panic_threshold(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena) { - struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_cluster_v3_Cluster_CommonLbConfig_healthy_panic_threshold(msg); - if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_set_healthy_panic_threshold(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_zone_aware_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* value) { - const upb_MiniTableField field = {2, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_mutable_zone_aware_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig*)envoy_config_cluster_v3_Cluster_CommonLbConfig_zone_aware_lb_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_set_zone_aware_lb_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_locality_weighted_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* value) { - const upb_MiniTableField field = {3, UPB_SIZE(28, 48), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_mutable_locality_weighted_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig*)envoy_config_cluster_v3_Cluster_CommonLbConfig_locality_weighted_lb_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_set_locality_weighted_lb_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_update_merge_window(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 24), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_CommonLbConfig_mutable_update_merge_window(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_CommonLbConfig_update_merge_window(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_set_update_merge_window(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_ignore_new_hosts_until_first_hc(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, bool value) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_close_connections_on_host_set_change(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, bool value) { - const upb_MiniTableField field = {6, UPB_SIZE(17, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_consistent_hashing_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* value) { - const upb_MiniTableField field = {7, UPB_SIZE(20, 32), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_mutable_consistent_hashing_lb_config(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena) { - struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig*)envoy_config_cluster_v3_Cluster_CommonLbConfig_consistent_hashing_lb_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_set_consistent_hashing_lb_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_set_override_host_status(envoy_config_cluster_v3_Cluster_CommonLbConfig *msg, struct envoy_config_core_v3_HealthStatusSet* value) { - const upb_MiniTableField field = {8, UPB_SIZE(24, 40), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_HealthStatusSet* envoy_config_cluster_v3_Cluster_CommonLbConfig_mutable_override_host_status(envoy_config_cluster_v3_Cluster_CommonLbConfig* msg, upb_Arena* arena) { - struct envoy_config_core_v3_HealthStatusSet* sub = (struct envoy_config_core_v3_HealthStatusSet*)envoy_config_cluster_v3_Cluster_CommonLbConfig_override_host_status(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_HealthStatusSet*)_upb_Message_New(&envoy_config_core_v3_HealthStatusSet_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_set_override_host_status(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_serialize(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_clear_routing_enabled(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_v3_Percent* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_routing_enabled(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { - const struct envoy_type_v3_Percent* default_val = NULL; - const struct envoy_type_v3_Percent* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_has_routing_enabled(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_clear_min_cluster_size(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_min_cluster_size(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { - const struct google_protobuf_UInt64Value* default_val = NULL; - const struct google_protobuf_UInt64Value* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_has_min_cluster_size(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_clear_fail_traffic_on_panic(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_fail_traffic_on_panic(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_routing_enabled(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, struct envoy_type_v3_Percent* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_v3_Percent* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_mutable_routing_enabled(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg, upb_Arena* arena) { - struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_routing_enabled(msg); - if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_routing_enabled(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_min_cluster_size(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, struct google_protobuf_UInt64Value* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_mutable_min_cluster_size(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig* msg, upb_Arena* arena) { - struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_min_cluster_size(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google_protobuf_UInt64Value_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_min_cluster_size(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_fail_traffic_on_panic(envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, bool value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_serialize(const envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msg_init, options, arena, &ptr, len); - return ptr; -} - - -/* envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* ret = envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_serialize(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_serialize_ex(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_clear_use_hostname_for_hashing(envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg) { - const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_use_hostname_for_hashing(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_clear_hash_balance_factor(envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_hash_balance_factor(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_has_hash_balance_factor(const envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_set_use_hostname_for_hashing(envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig *msg, bool value) { - const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_set_hash_balance_factor(envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_mutable_hash_balance_factor(envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_hash_balance_factor(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_set_hash_balance_factor(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster.RefreshRate */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_RefreshRate* envoy_config_cluster_v3_Cluster_RefreshRate_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_RefreshRate*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_RefreshRate_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_RefreshRate* envoy_config_cluster_v3_Cluster_RefreshRate_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_RefreshRate* ret = envoy_config_cluster_v3_Cluster_RefreshRate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_RefreshRate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_RefreshRate* envoy_config_cluster_v3_Cluster_RefreshRate_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_RefreshRate* ret = envoy_config_cluster_v3_Cluster_RefreshRate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_RefreshRate_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_RefreshRate_serialize(const envoy_config_cluster_v3_Cluster_RefreshRate* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_RefreshRate_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_RefreshRate_serialize_ex(const envoy_config_cluster_v3_Cluster_RefreshRate* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_RefreshRate_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_RefreshRate_clear_base_interval(envoy_config_cluster_v3_Cluster_RefreshRate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_RefreshRate_base_interval(const envoy_config_cluster_v3_Cluster_RefreshRate* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_RefreshRate_has_base_interval(const envoy_config_cluster_v3_Cluster_RefreshRate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_RefreshRate_clear_max_interval(envoy_config_cluster_v3_Cluster_RefreshRate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_RefreshRate_max_interval(const envoy_config_cluster_v3_Cluster_RefreshRate* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_RefreshRate_has_max_interval(const envoy_config_cluster_v3_Cluster_RefreshRate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_RefreshRate_set_base_interval(envoy_config_cluster_v3_Cluster_RefreshRate *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_RefreshRate_mutable_base_interval(envoy_config_cluster_v3_Cluster_RefreshRate* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_RefreshRate_base_interval(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_RefreshRate_set_base_interval(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_RefreshRate_set_max_interval(envoy_config_cluster_v3_Cluster_RefreshRate *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_RefreshRate_mutable_max_interval(envoy_config_cluster_v3_Cluster_RefreshRate* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_cluster_v3_Cluster_RefreshRate_max_interval(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_RefreshRate_set_max_interval(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster.PreconnectPolicy */ - -UPB_INLINE envoy_config_cluster_v3_Cluster_PreconnectPolicy* envoy_config_cluster_v3_Cluster_PreconnectPolicy_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Cluster_PreconnectPolicy*)_upb_Message_New(&envoy_config_cluster_v3_Cluster_PreconnectPolicy_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Cluster_PreconnectPolicy* envoy_config_cluster_v3_Cluster_PreconnectPolicy_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_PreconnectPolicy* ret = envoy_config_cluster_v3_Cluster_PreconnectPolicy_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_PreconnectPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Cluster_PreconnectPolicy* envoy_config_cluster_v3_Cluster_PreconnectPolicy_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Cluster_PreconnectPolicy* ret = envoy_config_cluster_v3_Cluster_PreconnectPolicy_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Cluster_PreconnectPolicy_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_PreconnectPolicy_serialize(const envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_PreconnectPolicy_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Cluster_PreconnectPolicy_serialize_ex(const envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Cluster_PreconnectPolicy_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_PreconnectPolicy_clear_per_upstream_preconnect_ratio(envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_DoubleValue* envoy_config_cluster_v3_Cluster_PreconnectPolicy_per_upstream_preconnect_ratio(const envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg) { - const struct google_protobuf_DoubleValue* default_val = NULL; - const struct google_protobuf_DoubleValue* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_PreconnectPolicy_has_per_upstream_preconnect_ratio(const envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_PreconnectPolicy_clear_predictive_preconnect_ratio(envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_DoubleValue* envoy_config_cluster_v3_Cluster_PreconnectPolicy_predictive_preconnect_ratio(const envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg) { - const struct google_protobuf_DoubleValue* default_val = NULL; - const struct google_protobuf_DoubleValue* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_PreconnectPolicy_has_predictive_preconnect_ratio(const envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_PreconnectPolicy_set_per_upstream_preconnect_ratio(envoy_config_cluster_v3_Cluster_PreconnectPolicy *msg, struct google_protobuf_DoubleValue* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_DoubleValue* envoy_config_cluster_v3_Cluster_PreconnectPolicy_mutable_per_upstream_preconnect_ratio(envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg, upb_Arena* arena) { - struct google_protobuf_DoubleValue* sub = (struct google_protobuf_DoubleValue*)envoy_config_cluster_v3_Cluster_PreconnectPolicy_per_upstream_preconnect_ratio(msg); - if (sub == NULL) { - sub = (struct google_protobuf_DoubleValue*)_upb_Message_New(&google_protobuf_DoubleValue_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_PreconnectPolicy_set_per_upstream_preconnect_ratio(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_Cluster_PreconnectPolicy_set_predictive_preconnect_ratio(envoy_config_cluster_v3_Cluster_PreconnectPolicy *msg, struct google_protobuf_DoubleValue* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_DoubleValue* envoy_config_cluster_v3_Cluster_PreconnectPolicy_mutable_predictive_preconnect_ratio(envoy_config_cluster_v3_Cluster_PreconnectPolicy* msg, upb_Arena* arena) { - struct google_protobuf_DoubleValue* sub = (struct google_protobuf_DoubleValue*)envoy_config_cluster_v3_Cluster_PreconnectPolicy_predictive_preconnect_ratio(msg); - if (sub == NULL) { - sub = (struct google_protobuf_DoubleValue*)_upb_Message_New(&google_protobuf_DoubleValue_msg_init, arena); - if (sub) envoy_config_cluster_v3_Cluster_PreconnectPolicy_set_predictive_preconnect_ratio(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.Cluster.TypedExtensionProtocolOptionsEntry */ - -UPB_INLINE upb_StringView envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_key(const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* msg) { - upb_StringView ret; - _upb_msg_map_key(msg, &ret, 0); - return ret; -} -UPB_INLINE const struct google_protobuf_Any* envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_value(const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* msg) { - struct google_protobuf_Any* ret; - _upb_msg_map_value(msg, &ret, sizeof(ret)); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_has_value(const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_set_value(envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry *msg, struct google_protobuf_Any* value) { - _upb_msg_map_set_value(msg, &value, sizeof(struct google_protobuf_Any*)); -} - -/* envoy.config.cluster.v3.LoadBalancingPolicy */ - -UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy* envoy_config_cluster_v3_LoadBalancingPolicy_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_LoadBalancingPolicy*)_upb_Message_New(&envoy_config_cluster_v3_LoadBalancingPolicy_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy* envoy_config_cluster_v3_LoadBalancingPolicy_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_LoadBalancingPolicy* ret = envoy_config_cluster_v3_LoadBalancingPolicy_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_LoadBalancingPolicy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy* envoy_config_cluster_v3_LoadBalancingPolicy_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_LoadBalancingPolicy* ret = envoy_config_cluster_v3_LoadBalancingPolicy_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_LoadBalancingPolicy_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_LoadBalancingPolicy_serialize(const envoy_config_cluster_v3_LoadBalancingPolicy* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_LoadBalancingPolicy_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_LoadBalancingPolicy_serialize_ex(const envoy_config_cluster_v3_LoadBalancingPolicy* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_LoadBalancingPolicy_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_LoadBalancingPolicy_clear_policies(envoy_config_cluster_v3_LoadBalancingPolicy* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_cluster_v3_LoadBalancingPolicy_Policy* const* envoy_config_cluster_v3_LoadBalancingPolicy_policies(const envoy_config_cluster_v3_LoadBalancingPolicy* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_cluster_v3_LoadBalancingPolicy_Policy* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_cluster_v3_LoadBalancingPolicy_policies_upb_array(const envoy_config_cluster_v3_LoadBalancingPolicy* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_cluster_v3_LoadBalancingPolicy_policies_mutable_upb_array(const envoy_config_cluster_v3_LoadBalancingPolicy* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_cluster_v3_LoadBalancingPolicy_has_policies(const envoy_config_cluster_v3_LoadBalancingPolicy* msg) { - size_t size; - envoy_config_cluster_v3_LoadBalancingPolicy_policies(msg, &size); - return size != 0; -} - -UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy_Policy** envoy_config_cluster_v3_LoadBalancingPolicy_mutable_policies(envoy_config_cluster_v3_LoadBalancingPolicy* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_cluster_v3_LoadBalancingPolicy_Policy**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy_Policy** envoy_config_cluster_v3_LoadBalancingPolicy_resize_policies(envoy_config_cluster_v3_LoadBalancingPolicy* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_cluster_v3_LoadBalancingPolicy_Policy**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_cluster_v3_LoadBalancingPolicy_Policy* envoy_config_cluster_v3_LoadBalancingPolicy_add_policies(envoy_config_cluster_v3_LoadBalancingPolicy* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_cluster_v3_LoadBalancingPolicy_Policy* sub = (struct envoy_config_cluster_v3_LoadBalancingPolicy_Policy*)_upb_Message_New(&envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.cluster.v3.LoadBalancingPolicy.Policy */ - -UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy_Policy* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_LoadBalancingPolicy_Policy*)_upb_Message_New(&envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy_Policy* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_LoadBalancingPolicy_Policy* ret = envoy_config_cluster_v3_LoadBalancingPolicy_Policy_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_LoadBalancingPolicy_Policy* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_LoadBalancingPolicy_Policy* ret = envoy_config_cluster_v3_LoadBalancingPolicy_Policy_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_serialize(const envoy_config_cluster_v3_LoadBalancingPolicy_Policy* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_serialize_ex(const envoy_config_cluster_v3_LoadBalancingPolicy_Policy* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_LoadBalancingPolicy_Policy_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_LoadBalancingPolicy_Policy_clear_typed_extension_config(envoy_config_cluster_v3_LoadBalancingPolicy_Policy* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_typed_extension_config(const envoy_config_cluster_v3_LoadBalancingPolicy_Policy* msg) { - const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; - const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_LoadBalancingPolicy_Policy_has_typed_extension_config(const envoy_config_cluster_v3_LoadBalancingPolicy_Policy* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_LoadBalancingPolicy_Policy_set_typed_extension_config(envoy_config_cluster_v3_LoadBalancingPolicy_Policy *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_LoadBalancingPolicy_Policy_mutable_typed_extension_config(envoy_config_cluster_v3_LoadBalancingPolicy_Policy* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_cluster_v3_LoadBalancingPolicy_Policy_typed_extension_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) envoy_config_cluster_v3_LoadBalancingPolicy_Policy_set_typed_extension_config(msg, sub); - } - return sub; -} - -/* envoy.config.cluster.v3.UpstreamConnectionOptions */ - -UPB_INLINE envoy_config_cluster_v3_UpstreamConnectionOptions* envoy_config_cluster_v3_UpstreamConnectionOptions_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_UpstreamConnectionOptions*)_upb_Message_New(&envoy_config_cluster_v3_UpstreamConnectionOptions_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_UpstreamConnectionOptions* envoy_config_cluster_v3_UpstreamConnectionOptions_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_UpstreamConnectionOptions* ret = envoy_config_cluster_v3_UpstreamConnectionOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_UpstreamConnectionOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_UpstreamConnectionOptions* envoy_config_cluster_v3_UpstreamConnectionOptions_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_UpstreamConnectionOptions* ret = envoy_config_cluster_v3_UpstreamConnectionOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_UpstreamConnectionOptions_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_UpstreamConnectionOptions_serialize(const envoy_config_cluster_v3_UpstreamConnectionOptions* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_UpstreamConnectionOptions_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_UpstreamConnectionOptions_serialize_ex(const envoy_config_cluster_v3_UpstreamConnectionOptions* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_UpstreamConnectionOptions_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_UpstreamConnectionOptions_clear_tcp_keepalive(envoy_config_cluster_v3_UpstreamConnectionOptions* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TcpKeepalive* envoy_config_cluster_v3_UpstreamConnectionOptions_tcp_keepalive(const envoy_config_cluster_v3_UpstreamConnectionOptions* msg) { - const struct envoy_config_core_v3_TcpKeepalive* default_val = NULL; - const struct envoy_config_core_v3_TcpKeepalive* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_UpstreamConnectionOptions_has_tcp_keepalive(const envoy_config_cluster_v3_UpstreamConnectionOptions* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_cluster_v3_UpstreamConnectionOptions_clear_set_local_interface_name_on_upstream_connections(envoy_config_cluster_v3_UpstreamConnectionOptions* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_UpstreamConnectionOptions_set_local_interface_name_on_upstream_connections(const envoy_config_cluster_v3_UpstreamConnectionOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_config_cluster_v3_UpstreamConnectionOptions_set_tcp_keepalive(envoy_config_cluster_v3_UpstreamConnectionOptions *msg, struct envoy_config_core_v3_TcpKeepalive* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TcpKeepalive* envoy_config_cluster_v3_UpstreamConnectionOptions_mutable_tcp_keepalive(envoy_config_cluster_v3_UpstreamConnectionOptions* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TcpKeepalive* sub = (struct envoy_config_core_v3_TcpKeepalive*)envoy_config_cluster_v3_UpstreamConnectionOptions_tcp_keepalive(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TcpKeepalive*)_upb_Message_New(&envoy_config_core_v3_TcpKeepalive_msg_init, arena); - if (sub) envoy_config_cluster_v3_UpstreamConnectionOptions_set_tcp_keepalive(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_cluster_v3_UpstreamConnectionOptions_set_set_local_interface_name_on_upstream_connections(envoy_config_cluster_v3_UpstreamConnectionOptions *msg, bool value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.config.cluster.v3.TrackClusterStats */ - -UPB_INLINE envoy_config_cluster_v3_TrackClusterStats* envoy_config_cluster_v3_TrackClusterStats_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_TrackClusterStats*)_upb_Message_New(&envoy_config_cluster_v3_TrackClusterStats_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_TrackClusterStats* envoy_config_cluster_v3_TrackClusterStats_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_TrackClusterStats* ret = envoy_config_cluster_v3_TrackClusterStats_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_TrackClusterStats_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_TrackClusterStats* envoy_config_cluster_v3_TrackClusterStats_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_TrackClusterStats* ret = envoy_config_cluster_v3_TrackClusterStats_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_TrackClusterStats_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_TrackClusterStats_serialize(const envoy_config_cluster_v3_TrackClusterStats* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_TrackClusterStats_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_TrackClusterStats_serialize_ex(const envoy_config_cluster_v3_TrackClusterStats* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_TrackClusterStats_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_TrackClusterStats_clear_timeout_budgets(envoy_config_cluster_v3_TrackClusterStats* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_TrackClusterStats_timeout_budgets(const envoy_config_cluster_v3_TrackClusterStats* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_TrackClusterStats_clear_request_response_sizes(envoy_config_cluster_v3_TrackClusterStats* msg) { - const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_cluster_v3_TrackClusterStats_request_response_sizes(const envoy_config_cluster_v3_TrackClusterStats* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_config_cluster_v3_TrackClusterStats_set_timeout_budgets(envoy_config_cluster_v3_TrackClusterStats *msg, bool value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_TrackClusterStats_set_request_response_sizes(envoy_config_cluster_v3_TrackClusterStats *msg, bool value) { - const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -extern const upb_MiniTableFile envoy_config_cluster_v3_cluster_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c b/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c deleted file mode 100644 index 534eacd550d..00000000000 --- a/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +++ /dev/null @@ -1,55 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/cluster/v3/filter.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/cluster/v3/filter.upb.h" -#include "google/protobuf/any.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_cluster_v3_Filter_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_Filter__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_Filter_msg_init = { - &envoy_config_cluster_v3_Filter_submsgs[0], - &envoy_config_cluster_v3_Filter__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_cluster_v3_Filter_msg_init, -}; - -const upb_MiniTableFile envoy_config_cluster_v3_filter_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h b/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h deleted file mode 100644 index 3249f3f9551..00000000000 --- a/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +++ /dev/null @@ -1,114 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/cluster/v3/filter.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_CLUSTER_V3_FILTER_PROTO_UPB_H_ -#define ENVOY_CONFIG_CLUSTER_V3_FILTER_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_config_cluster_v3_Filter envoy_config_cluster_v3_Filter; -extern const upb_MiniTable envoy_config_cluster_v3_Filter_msg_init; -struct google_protobuf_Any; -extern const upb_MiniTable google_protobuf_Any_msg_init; - - - -/* envoy.config.cluster.v3.Filter */ - -UPB_INLINE envoy_config_cluster_v3_Filter* envoy_config_cluster_v3_Filter_new(upb_Arena* arena) { - return (envoy_config_cluster_v3_Filter*)_upb_Message_New(&envoy_config_cluster_v3_Filter_msg_init, arena); -} -UPB_INLINE envoy_config_cluster_v3_Filter* envoy_config_cluster_v3_Filter_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_cluster_v3_Filter* ret = envoy_config_cluster_v3_Filter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Filter_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_cluster_v3_Filter* envoy_config_cluster_v3_Filter_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_cluster_v3_Filter* ret = envoy_config_cluster_v3_Filter_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_cluster_v3_Filter_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_cluster_v3_Filter_serialize(const envoy_config_cluster_v3_Filter* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Filter_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_cluster_v3_Filter_serialize_ex(const envoy_config_cluster_v3_Filter* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_cluster_v3_Filter_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_cluster_v3_Filter_clear_name(envoy_config_cluster_v3_Filter* msg) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_cluster_v3_Filter_name(const envoy_config_cluster_v3_Filter* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_cluster_v3_Filter_clear_typed_config(envoy_config_cluster_v3_Filter* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Any* envoy_config_cluster_v3_Filter_typed_config(const envoy_config_cluster_v3_Filter* msg) { - const struct google_protobuf_Any* default_val = NULL; - const struct google_protobuf_Any* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_cluster_v3_Filter_has_typed_config(const envoy_config_cluster_v3_Filter* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_cluster_v3_Filter_set_name(envoy_config_cluster_v3_Filter *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_cluster_v3_Filter_set_typed_config(envoy_config_cluster_v3_Filter *msg, struct google_protobuf_Any* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Any* envoy_config_cluster_v3_Filter_mutable_typed_config(envoy_config_cluster_v3_Filter* msg, upb_Arena* arena) { - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_cluster_v3_Filter_typed_config(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); - if (sub) envoy_config_cluster_v3_Filter_set_typed_config(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile envoy_config_cluster_v3_filter_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_CLUSTER_V3_FILTER_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c b/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c deleted file mode 100644 index bbd3ee59b7c..00000000000 --- a/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +++ /dev/null @@ -1,124 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/cluster/v3/outlier_detection.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/cluster/v3/outlier_detection.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_cluster_v3_OutlierDetection_submsgs[21] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_cluster_v3_OutlierDetection__fields[22] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 56), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(32, 64), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(36, 72), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(40, 80), 10, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(44, 88), 11, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(48, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(52, 96), 12, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(56, 104), 13, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(60, 112), 14, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(64, 120), 15, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(68, 128), 16, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {18, UPB_SIZE(72, 136), 17, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {19, UPB_SIZE(76, 144), 18, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {20, UPB_SIZE(80, 152), 19, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {21, UPB_SIZE(84, 160), 20, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {22, UPB_SIZE(88, 168), 21, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_cluster_v3_OutlierDetection_msg_init = { - &envoy_config_cluster_v3_OutlierDetection_submsgs[0], - &envoy_config_cluster_v3_OutlierDetection__fields[0], - UPB_SIZE(96, 176), 22, kUpb_ExtMode_NonExtendable, 22, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - {0x0020000004030022, &upb_psm_1bt_maxmaxb}, - {0x002800000504002a, &upb_psm_1bt_maxmaxb}, - {0x0030000006050032, &upb_psm_1bt_maxmaxb}, - {0x003800000706003a, &upb_psm_1bt_maxmaxb}, - {0x0040000008070042, &upb_psm_1bt_maxmaxb}, - {0x004800000908004a, &upb_psm_1bt_maxmaxb}, - {0x005000000a090052, &upb_psm_1bt_maxmaxb}, - {0x005800000b0a005a, &upb_psm_1bt_maxmaxb}, - {0x000300003f000060, &upb_psb1_1bt}, - {0x006000000c0b006a, &upb_psm_1bt_maxmaxb}, - {0x006800000d0c0072, &upb_psm_1bt_maxmaxb}, - {0x007000000e0d007a, &upb_psm_1bt_maxmaxb}, - {0x007800000f0e0182, &upb_psm_2bt_maxmaxb}, - {0x00800000100f018a, &upb_psm_2bt_maxmaxb}, - {0x0088000011100192, &upb_psm_2bt_maxmaxb}, - {0x009000001211019a, &upb_psm_2bt_maxmaxb}, - {0x00980000131201a2, &upb_psm_2bt_maxmaxb}, - {0x00a00000141301aa, &upb_psm_2bt_maxmaxb}, - {0x00a80000151401b2, &upb_psm_2bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_cluster_v3_OutlierDetection_msg_init, -}; - -const upb_MiniTableFile envoy_config_cluster_v3_outlier_detection_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c b/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c deleted file mode 100644 index 7a7fc36292d..00000000000 --- a/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +++ /dev/null @@ -1,396 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/common/matcher/v3/matcher.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/common/matcher/v3/matcher.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/config/route/v3/route_components.upb.h" -#include "envoy/type/matcher/v3/string.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_submsgs[3] = { - {.submsg = &envoy_config_common_matcher_v3_Matcher_MatcherList_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_Matcher_MatcherTree_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_Matcher_OnMatch_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher__fields[3] = { - {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_Matcher_msg_init = { - &envoy_config_common_matcher_v3_Matcher_submsgs[0], - &envoy_config_common_matcher_v3_Matcher__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000040100000a, &upb_pom_1bt_max64b}, - {0x0010000402010012, &upb_pom_1bt_max64b}, - {0x000800000102001a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_OnMatch_submsgs[2] = { - {.submsg = &envoy_config_common_matcher_v3_Matcher_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_OnMatch__fields[2] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_Matcher_OnMatch_msg_init = { - &envoy_config_common_matcher_v3_Matcher_OnMatch_submsgs[0], - &envoy_config_common_matcher_v3_Matcher_OnMatch__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherList_submsgs[1] = { - {.submsg = &envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherList__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherList_msg_init = { - &envoy_config_common_matcher_v3_Matcher_MatcherList_submsgs[0], - &envoy_config_common_matcher_v3_Matcher_MatcherList__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_submsgs[4] = { - {.submsg = &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate__fields[4] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init = { - &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_submsgs[0], - &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate__fields[0], - UPB_SIZE(8, 16), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x000800000302001a, &upb_pom_1bt_max64b}, - {0x0008000004030022, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_submsgs[3] = { - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init = { - &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_submsgs[0], - &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000402010012, &upb_pom_1bt_maxmaxb}, - {0x001000040302001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_submsgs[1] = { - {.submsg = &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init = { - &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_submsgs[0], - &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_submsgs[2] = { - {.submsg = &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_Matcher_OnMatch_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init = { - &envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_submsgs[0], - &envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x0010000002010012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherTree_submsgs[4] = { - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherTree__fields[4] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherTree_msg_init = { - &envoy_config_common_matcher_v3_Matcher_MatcherTree_submsgs[0], - &envoy_config_common_matcher_v3_Matcher_MatcherTree__fields[0], - UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000402010012, &upb_pom_1bt_max64b}, - {0x001000040302001a, &upb_pom_1bt_max64b}, - {0x0010000404030022, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_submsgs[1] = { - {.submsg = &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init = { - &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_submsgs[0], - &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_submsgs[1] = { - {.submsg = &envoy_config_common_matcher_v3_Matcher_OnMatch_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_msg_init = { - &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_submsgs[0], - &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_common_matcher_v3_MatchPredicate_submsgs[9] = { - {.submsg = &envoy_config_common_matcher_v3_MatchPredicate_MatchSet_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_MatchPredicate_MatchSet_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_MatchPredicate_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_HttpGenericBodyMatch_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_HttpGenericBodyMatch_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_MatchPredicate__fields[10] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_MatchPredicate_msg_init = { - &envoy_config_common_matcher_v3_MatchPredicate_submsgs[0], - &envoy_config_common_matcher_v3_MatchPredicate__fields[0], - UPB_SIZE(8, 16), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x000800000302001a, &upb_pom_1bt_max64b}, - {0x0008000004000020, &upb_pob1_1bt}, - {0x000800000503002a, &upb_pom_1bt_max64b}, - {0x0008000006040032, &upb_pom_1bt_max64b}, - {0x000800000705003a, &upb_pom_1bt_max64b}, - {0x0008000008060042, &upb_pom_1bt_max64b}, - {0x000800000907004a, &upb_pom_1bt_max64b}, - {0x000800000a080052, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_common_matcher_v3_MatchPredicate_MatchSet_submsgs[1] = { - {.submsg = &envoy_config_common_matcher_v3_MatchPredicate_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_MatchPredicate_MatchSet__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_MatchPredicate_MatchSet_msg_init = { - &envoy_config_common_matcher_v3_MatchPredicate_MatchSet_submsgs[0], - &envoy_config_common_matcher_v3_MatchPredicate_MatchSet__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_common_matcher_v3_HttpHeadersMatch_submsgs[1] = { - {.submsg = &envoy_config_route_v3_HeaderMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_HttpHeadersMatch__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init = { - &envoy_config_common_matcher_v3_HttpHeadersMatch_submsgs[0], - &envoy_config_common_matcher_v3_HttpHeadersMatch__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_common_matcher_v3_HttpGenericBodyMatch_submsgs[1] = { - {.submsg = &envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init}, -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_HttpGenericBodyMatch__fields[2] = { - {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_HttpGenericBodyMatch_msg_init = { - &envoy_config_common_matcher_v3_HttpGenericBodyMatch_submsgs[0], - &envoy_config_common_matcher_v3_HttpGenericBodyMatch__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000800003f000012, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch__fields[2] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init = { - NULL, - &envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - {0x0008000002000012, &upb_pob_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[15] = { - &envoy_config_common_matcher_v3_Matcher_msg_init, - &envoy_config_common_matcher_v3_Matcher_OnMatch_msg_init, - &envoy_config_common_matcher_v3_Matcher_MatcherList_msg_init, - &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init, - &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, - &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, - &envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, - &envoy_config_common_matcher_v3_Matcher_MatcherTree_msg_init, - &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, - &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_msg_init, - &envoy_config_common_matcher_v3_MatchPredicate_msg_init, - &envoy_config_common_matcher_v3_MatchPredicate_MatchSet_msg_init, - &envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init, - &envoy_config_common_matcher_v3_HttpGenericBodyMatch_msg_init, - &envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, -}; - -const upb_MiniTableFile envoy_config_common_matcher_v3_matcher_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 15, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h b/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h deleted file mode 100644 index 26088ce9b14..00000000000 --- a/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +++ /dev/null @@ -1,1841 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/common/matcher/v3/matcher.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPB_H_ -#define ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_config_common_matcher_v3_Matcher envoy_config_common_matcher_v3_Matcher; -typedef struct envoy_config_common_matcher_v3_Matcher_OnMatch envoy_config_common_matcher_v3_Matcher_OnMatch; -typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList envoy_config_common_matcher_v3_Matcher_MatcherList; -typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate; -typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate; -typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList; -typedef struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher; -typedef struct envoy_config_common_matcher_v3_Matcher_MatcherTree envoy_config_common_matcher_v3_Matcher_MatcherTree; -typedef struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap; -typedef struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry; -typedef struct envoy_config_common_matcher_v3_MatchPredicate envoy_config_common_matcher_v3_MatchPredicate; -typedef struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet envoy_config_common_matcher_v3_MatchPredicate_MatchSet; -typedef struct envoy_config_common_matcher_v3_HttpHeadersMatch envoy_config_common_matcher_v3_HttpHeadersMatch; -typedef struct envoy_config_common_matcher_v3_HttpGenericBodyMatch envoy_config_common_matcher_v3_HttpGenericBodyMatch; -typedef struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch; -extern const upb_MiniTable envoy_config_common_matcher_v3_Matcher_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_Matcher_OnMatch_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherList_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherTree_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_MatchPredicate_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_MatchPredicate_MatchSet_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_HttpGenericBodyMatch_msg_init; -extern const upb_MiniTable envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init; -struct envoy_config_core_v3_TypedExtensionConfig; -struct envoy_config_route_v3_HeaderMatcher; -struct envoy_type_matcher_v3_StringMatcher; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable envoy_config_route_v3_HeaderMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msg_init; - - - -/* envoy.config.common.matcher.v3.Matcher */ - -UPB_INLINE envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_Matcher*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher* ret = envoy_config_common_matcher_v3_Matcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher* ret = envoy_config_common_matcher_v3_Matcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_serialize(const envoy_config_common_matcher_v3_Matcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_serialize_ex(const envoy_config_common_matcher_v3_Matcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_common_matcher_v3_Matcher_matcher_type_matcher_list = 1, - envoy_config_common_matcher_v3_Matcher_matcher_type_matcher_tree = 2, - envoy_config_common_matcher_v3_Matcher_matcher_type_NOT_SET = 0 -} envoy_config_common_matcher_v3_Matcher_matcher_type_oneofcases; -UPB_INLINE envoy_config_common_matcher_v3_Matcher_matcher_type_oneofcases envoy_config_common_matcher_v3_Matcher_matcher_type_case(const envoy_config_common_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_common_matcher_v3_Matcher_matcher_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_clear_matcher_list(envoy_config_common_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_matcher_list(const envoy_config_common_matcher_v3_Matcher* msg) { - const envoy_config_common_matcher_v3_Matcher_MatcherList* default_val = NULL; - const envoy_config_common_matcher_v3_Matcher_MatcherList* ret; - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_has_matcher_list(const envoy_config_common_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_clear_matcher_tree(envoy_config_common_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_matcher_tree(const envoy_config_common_matcher_v3_Matcher* msg) { - const envoy_config_common_matcher_v3_Matcher_MatcherTree* default_val = NULL; - const envoy_config_common_matcher_v3_Matcher_MatcherTree* ret; - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_has_matcher_tree(const envoy_config_common_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_clear_on_no_match(envoy_config_common_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_on_no_match(const envoy_config_common_matcher_v3_Matcher* msg) { - const envoy_config_common_matcher_v3_Matcher_OnMatch* default_val = NULL; - const envoy_config_common_matcher_v3_Matcher_OnMatch* ret; - const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_has_on_no_match(const envoy_config_common_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_set_matcher_list(envoy_config_common_matcher_v3_Matcher *msg, envoy_config_common_matcher_v3_Matcher_MatcherList* value) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_mutable_matcher_list(envoy_config_common_matcher_v3_Matcher* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_Matcher_MatcherList* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList*)envoy_config_common_matcher_v3_Matcher_matcher_list(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherList_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_set_matcher_list(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_set_matcher_tree(envoy_config_common_matcher_v3_Matcher *msg, envoy_config_common_matcher_v3_Matcher_MatcherTree* value) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_mutable_matcher_tree(envoy_config_common_matcher_v3_Matcher* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_Matcher_MatcherTree* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree*)envoy_config_common_matcher_v3_Matcher_matcher_tree(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherTree_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_set_matcher_tree(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_set_on_no_match(envoy_config_common_matcher_v3_Matcher *msg, envoy_config_common_matcher_v3_Matcher_OnMatch* value) { - const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_mutable_on_no_match(envoy_config_common_matcher_v3_Matcher* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_Matcher_OnMatch* sub = (struct envoy_config_common_matcher_v3_Matcher_OnMatch*)envoy_config_common_matcher_v3_Matcher_on_no_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_OnMatch_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_set_on_no_match(msg, sub); - } - return sub; -} - -/* envoy.config.common.matcher.v3.Matcher.OnMatch */ - -UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_OnMatch_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_OnMatch_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_OnMatch_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_OnMatch* ret = envoy_config_common_matcher_v3_Matcher_OnMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_OnMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_OnMatch_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_OnMatch* ret = envoy_config_common_matcher_v3_Matcher_OnMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_OnMatch_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_OnMatch_serialize(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_OnMatch_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_OnMatch_serialize_ex(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_OnMatch_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_matcher = 1, - envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_action = 2, - envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_NOT_SET = 0 -} envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_oneofcases; -UPB_INLINE envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_oneofcases envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_case(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_common_matcher_v3_Matcher_OnMatch_on_match_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_clear_matcher(envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_OnMatch_matcher(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { - const envoy_config_common_matcher_v3_Matcher* default_val = NULL; - const envoy_config_common_matcher_v3_Matcher* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_OnMatch_has_matcher(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_clear_action(envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_OnMatch_action(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { - const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; - const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_OnMatch_has_action(const envoy_config_common_matcher_v3_Matcher_OnMatch* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_set_matcher(envoy_config_common_matcher_v3_Matcher_OnMatch *msg, envoy_config_common_matcher_v3_Matcher* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher* envoy_config_common_matcher_v3_Matcher_OnMatch_mutable_matcher(envoy_config_common_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_Matcher* sub = (struct envoy_config_common_matcher_v3_Matcher*)envoy_config_common_matcher_v3_Matcher_OnMatch_matcher(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_Matcher*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_OnMatch_set_matcher(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_OnMatch_set_action(envoy_config_common_matcher_v3_Matcher_OnMatch *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_OnMatch_mutable_action(envoy_config_common_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_OnMatch_action(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_OnMatch_set_action(msg, sub); - } - return sub; -} - -/* envoy.config.common.matcher.v3.Matcher.MatcherList */ - -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_MatcherList_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_Matcher_MatcherList*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherList_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_MatcherList_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherList* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList* envoy_config_common_matcher_v3_Matcher_MatcherList_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherList* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherList_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherList_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherList_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_clear_matchers(envoy_config_common_matcher_v3_Matcher_MatcherList* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* const* envoy_config_common_matcher_v3_Matcher_MatcherList_matchers(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_matchers_upb_array(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_matchers_mutable_upb_array(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_has_matchers(const envoy_config_common_matcher_v3_Matcher_MatcherList* msg) { - size_t size; - envoy_config_common_matcher_v3_Matcher_MatcherList_matchers(msg, &size); - return size != 0; -} - -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher** envoy_config_common_matcher_v3_Matcher_MatcherList_mutable_matchers(envoy_config_common_matcher_v3_Matcher_MatcherList* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher** envoy_config_common_matcher_v3_Matcher_MatcherList_resize_matchers(envoy_config_common_matcher_v3_Matcher_MatcherList* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_add_matchers(envoy_config_common_matcher_v3_Matcher_MatcherList* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate */ - -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_single_predicate = 1, - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_or_matcher = 2, - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_and_matcher = 3, - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_not_matcher = 4, - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_NOT_SET = 0 -} envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases; -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_case(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_clear_single_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_single_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* default_val = NULL; - const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_has_single_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_clear_or_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_or_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* default_val = NULL; - const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_has_or_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_clear_and_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_and_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* default_val = NULL; - const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_has_and_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_clear_not_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_not_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* default_val = NULL; - const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* ret; - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_has_not_matcher(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_single_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate *msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_single_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_single_predicate(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_single_predicate(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_or_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate *msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_or_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_or_matcher(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_or_matcher(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_and_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate *msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_and_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_and_matcher(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_and_matcher(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_not_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate *msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* value) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_mutable_not_matcher(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_not_matcher(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_set_not_matcher(msg, sub); - } - return sub; -} - -/* envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate */ - -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_value_match = 2, - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_custom_match = 3, - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_NOT_SET = 0 -} envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases; -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_case(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_input(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_input(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; - const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_input(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_value_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_value_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const struct envoy_type_matcher_v3_StringMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_StringMatcher* ret; - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_value_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_custom_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; - const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_custom_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_input(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_input(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_input(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_input(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_value_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate *msg, struct envoy_type_matcher_v3_StringMatcher* value) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_value_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_value_match(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_value_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_custom_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_custom_match(msg, sub); - } - return sub; -} - -/* envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate.PredicateList */ - -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_clear_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* const* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate_upb_array(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate_mutable_upb_array(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_has_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg) { - size_t size; - envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate(msg, &size); - return size != 0; -} - -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate** envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_mutable_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate** envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_resize_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_add_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher */ - -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* ret = envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_clear_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { - const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* default_val = NULL; - const envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_has_predicate(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_clear_on_match(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_on_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { - const envoy_config_common_matcher_v3_Matcher_OnMatch* default_val = NULL; - const envoy_config_common_matcher_v3_Matcher_OnMatch* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_has_on_match(const envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_set_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher *msg, envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_mutable_predicate(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_predicate(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_set_predicate(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_set_on_match(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher *msg, envoy_config_common_matcher_v3_Matcher_OnMatch* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_mutable_on_match(envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_Matcher_OnMatch* sub = (struct envoy_config_common_matcher_v3_Matcher_OnMatch*)envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_on_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_OnMatch_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_set_on_match(msg, sub); - } - return sub; -} - -/* envoy.config.common.matcher.v3.Matcher.MatcherTree */ - -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_MatcherTree_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_Matcher_MatcherTree*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherTree_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_MatcherTree_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherTree* ret = envoy_config_common_matcher_v3_Matcher_MatcherTree_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherTree_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree* envoy_config_common_matcher_v3_Matcher_MatcherTree_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherTree* ret = envoy_config_common_matcher_v3_Matcher_MatcherTree_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherTree_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherTree_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherTree_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_exact_match_map = 2, - envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_prefix_match_map = 3, - envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_custom_match = 4, - envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_NOT_SET = 0 -} envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases; -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_case(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_common_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_clear_input(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_input(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { - const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; - const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_has_input(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_clear_exact_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_exact_match_map(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { - const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* default_val = NULL; - const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* ret; - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_has_exact_match_map(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_clear_prefix_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_prefix_match_map(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { - const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* default_val = NULL; - const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_has_prefix_match_map(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_clear_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_custom_match(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { - const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; - const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_has_custom_match(const envoy_config_common_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_input(envoy_config_common_matcher_v3_Matcher_MatcherTree *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_input(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_MatcherTree_input(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_MatcherTree_set_input(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_exact_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree *msg, envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* value) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_exact_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)envoy_config_common_matcher_v3_Matcher_MatcherTree_exact_match_map(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_MatcherTree_set_exact_match_map(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_prefix_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree *msg, envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_prefix_match_map(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)envoy_config_common_matcher_v3_Matcher_MatcherTree_prefix_match_map(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_MatcherTree_set_prefix_match_map(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_set_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherTree *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_common_matcher_v3_Matcher_MatcherTree_mutable_custom_match(envoy_config_common_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_common_matcher_v3_Matcher_MatcherTree_custom_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_Matcher_MatcherTree_set_custom_match(msg, sub); - } - return sub; -} - -/* envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap */ - -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* ret = envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* ret = envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_serialize(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_serialize_ex(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_clear_map(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE size_t envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_size(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - return map ? _upb_Map_Size(map) : 0; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_get(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key, envoy_config_common_matcher_v3_Matcher_OnMatch** val) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Get(map, &key, 0, val, sizeof(*val)); -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_next(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, size_t* iter) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry*)_upb_map_next(map, iter); -} - -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_clear(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return; - _upb_Map_Clear(map); -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_set(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key, envoy_config_common_matcher_v3_Matcher_OnMatch* val, upb_Arena* a) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, sizeof(val), a); - return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) != - kUpb_MapInsertStatus_OutOfMemory; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_delete(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Delete(map, &key, 0, NULL); -} -UPB_INLINE envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_map_nextmutable(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap* msg, size_t* iter) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry*)_upb_map_next(map, iter); -} - -/* envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap.MapEntry */ - -UPB_INLINE upb_StringView envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_key(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* msg) { - upb_StringView ret; - _upb_msg_map_key(msg, &ret, 0); - return ret; -} -UPB_INLINE const envoy_config_common_matcher_v3_Matcher_OnMatch* envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_value(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* msg) { - envoy_config_common_matcher_v3_Matcher_OnMatch* ret; - _upb_msg_map_value(msg, &ret, sizeof(ret)); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_has_value(const envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_set_value(envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry *msg, envoy_config_common_matcher_v3_Matcher_OnMatch* value) { - _upb_msg_map_set_value(msg, &value, sizeof(envoy_config_common_matcher_v3_Matcher_OnMatch*)); -} - -/* envoy.config.common.matcher.v3.MatchPredicate */ - -UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_MatchPredicate*)_upb_Message_New(&envoy_config_common_matcher_v3_MatchPredicate_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_MatchPredicate* ret = envoy_config_common_matcher_v3_MatchPredicate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_MatchPredicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_MatchPredicate* ret = envoy_config_common_matcher_v3_MatchPredicate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_MatchPredicate_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_serialize(const envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_MatchPredicate_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_serialize_ex(const envoy_config_common_matcher_v3_MatchPredicate* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_MatchPredicate_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_common_matcher_v3_MatchPredicate_rule_or_match = 1, - envoy_config_common_matcher_v3_MatchPredicate_rule_and_match = 2, - envoy_config_common_matcher_v3_MatchPredicate_rule_not_match = 3, - envoy_config_common_matcher_v3_MatchPredicate_rule_any_match = 4, - envoy_config_common_matcher_v3_MatchPredicate_rule_http_request_headers_match = 5, - envoy_config_common_matcher_v3_MatchPredicate_rule_http_request_trailers_match = 6, - envoy_config_common_matcher_v3_MatchPredicate_rule_http_response_headers_match = 7, - envoy_config_common_matcher_v3_MatchPredicate_rule_http_response_trailers_match = 8, - envoy_config_common_matcher_v3_MatchPredicate_rule_http_request_generic_body_match = 9, - envoy_config_common_matcher_v3_MatchPredicate_rule_http_response_generic_body_match = 10, - envoy_config_common_matcher_v3_MatchPredicate_rule_NOT_SET = 0 -} envoy_config_common_matcher_v3_MatchPredicate_rule_oneofcases; -UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_rule_oneofcases envoy_config_common_matcher_v3_MatchPredicate_rule_case(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_common_matcher_v3_MatchPredicate_rule_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_or_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_or_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* default_val = NULL; - const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_or_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_and_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_and_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* default_val = NULL; - const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_and_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_not_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_not_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const envoy_config_common_matcher_v3_MatchPredicate* default_val = NULL; - const envoy_config_common_matcher_v3_MatchPredicate* ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_not_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_any_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_any_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_any_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_request_headers_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_http_request_headers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const envoy_config_common_matcher_v3_HttpHeadersMatch* default_val = NULL; - const envoy_config_common_matcher_v3_HttpHeadersMatch* ret; - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_request_headers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_request_trailers_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_http_request_trailers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const envoy_config_common_matcher_v3_HttpHeadersMatch* default_val = NULL; - const envoy_config_common_matcher_v3_HttpHeadersMatch* ret; - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_request_trailers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_response_headers_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_http_response_headers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const envoy_config_common_matcher_v3_HttpHeadersMatch* default_val = NULL; - const envoy_config_common_matcher_v3_HttpHeadersMatch* ret; - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_response_headers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_response_trailers_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_http_response_trailers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const envoy_config_common_matcher_v3_HttpHeadersMatch* default_val = NULL; - const envoy_config_common_matcher_v3_HttpHeadersMatch* ret; - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_response_trailers_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_request_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_http_request_generic_body_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const envoy_config_common_matcher_v3_HttpGenericBodyMatch* default_val = NULL; - const envoy_config_common_matcher_v3_HttpGenericBodyMatch* ret; - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_request_generic_body_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_clear_http_response_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_http_response_generic_body_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const envoy_config_common_matcher_v3_HttpGenericBodyMatch* default_val = NULL; - const envoy_config_common_matcher_v3_HttpGenericBodyMatch* ret; - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_has_http_response_generic_body_match(const envoy_config_common_matcher_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_or_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_MatchPredicate_MatchSet* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_mutable_or_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* sub = (struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)envoy_config_common_matcher_v3_MatchPredicate_or_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy_config_common_matcher_v3_MatchPredicate_MatchSet_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_or_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_and_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_MatchPredicate_MatchSet* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_mutable_and_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet* sub = (struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)envoy_config_common_matcher_v3_MatchPredicate_and_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy_config_common_matcher_v3_MatchPredicate_MatchSet_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_and_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_not_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_MatchPredicate* value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_mutable_not_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_MatchPredicate* sub = (struct envoy_config_common_matcher_v3_MatchPredicate*)envoy_config_common_matcher_v3_MatchPredicate_not_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_MatchPredicate*)_upb_Message_New(&envoy_config_common_matcher_v3_MatchPredicate_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_not_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_any_match(envoy_config_common_matcher_v3_MatchPredicate *msg, bool value) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_request_headers_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_HttpHeadersMatch* value) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_request_headers_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_HttpHeadersMatch* sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_request_headers_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_http_request_headers_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_request_trailers_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_HttpHeadersMatch* value) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_request_trailers_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_HttpHeadersMatch* sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_request_trailers_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_http_request_trailers_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_response_headers_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_HttpHeadersMatch* value) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_response_headers_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_HttpHeadersMatch* sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_response_headers_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_http_response_headers_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_response_trailers_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_HttpHeadersMatch* value) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_response_trailers_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_HttpHeadersMatch* sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_response_trailers_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_http_response_trailers_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_request_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_HttpGenericBodyMatch* value) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_request_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_request_generic_body_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy_config_common_matcher_v3_HttpGenericBodyMatch_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_http_request_generic_body_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_set_http_response_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate *msg, envoy_config_common_matcher_v3_HttpGenericBodyMatch* value) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_MatchPredicate_mutable_http_response_generic_body_match(envoy_config_common_matcher_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_HttpGenericBodyMatch* sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch*)envoy_config_common_matcher_v3_MatchPredicate_http_response_generic_body_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy_config_common_matcher_v3_HttpGenericBodyMatch_msg_init, arena); - if (sub) envoy_config_common_matcher_v3_MatchPredicate_set_http_response_generic_body_match(msg, sub); - } - return sub; -} - -/* envoy.config.common.matcher.v3.MatchPredicate.MatchSet */ - -UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy_config_common_matcher_v3_MatchPredicate_MatchSet_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_MatchPredicate_MatchSet* ret = envoy_config_common_matcher_v3_MatchPredicate_MatchSet_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_MatchPredicate_MatchSet_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate_MatchSet* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_MatchPredicate_MatchSet* ret = envoy_config_common_matcher_v3_MatchPredicate_MatchSet_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_MatchPredicate_MatchSet_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_serialize(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_MatchPredicate_MatchSet_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_serialize_ex(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_MatchPredicate_MatchSet_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_common_matcher_v3_MatchPredicate_MatchSet_clear_rules(envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_MatchPredicate* const* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_rules(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_common_matcher_v3_MatchPredicate* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_MatchPredicate_MatchSet_rules_upb_array(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_MatchPredicate_MatchSet_rules_mutable_upb_array(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_common_matcher_v3_MatchPredicate_MatchSet_has_rules(const envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg) { - size_t size; - envoy_config_common_matcher_v3_MatchPredicate_MatchSet_rules(msg, &size); - return size != 0; -} - -UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate** envoy_config_common_matcher_v3_MatchPredicate_MatchSet_mutable_rules(envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_common_matcher_v3_MatchPredicate**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_common_matcher_v3_MatchPredicate** envoy_config_common_matcher_v3_MatchPredicate_MatchSet_resize_rules(envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_common_matcher_v3_MatchPredicate**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_common_matcher_v3_MatchPredicate_MatchSet_add_rules(envoy_config_common_matcher_v3_MatchPredicate_MatchSet* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_common_matcher_v3_MatchPredicate* sub = (struct envoy_config_common_matcher_v3_MatchPredicate*)_upb_Message_New(&envoy_config_common_matcher_v3_MatchPredicate_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.common.matcher.v3.HttpHeadersMatch */ - -UPB_INLINE envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_HttpHeadersMatch_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_HttpHeadersMatch*)_upb_Message_New(&envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_HttpHeadersMatch_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_HttpHeadersMatch* ret = envoy_config_common_matcher_v3_HttpHeadersMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_HttpHeadersMatch* envoy_config_common_matcher_v3_HttpHeadersMatch_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_HttpHeadersMatch* ret = envoy_config_common_matcher_v3_HttpHeadersMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_HttpHeadersMatch_serialize(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_HttpHeadersMatch_serialize_ex(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_HttpHeadersMatch_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_common_matcher_v3_HttpHeadersMatch_clear_headers(envoy_config_common_matcher_v3_HttpHeadersMatch* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* const* envoy_config_common_matcher_v3_HttpHeadersMatch_headers(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct envoy_config_route_v3_HeaderMatcher* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_HttpHeadersMatch_headers_upb_array(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_HttpHeadersMatch_headers_mutable_upb_array(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_common_matcher_v3_HttpHeadersMatch_has_headers(const envoy_config_common_matcher_v3_HttpHeadersMatch* msg) { - size_t size; - envoy_config_common_matcher_v3_HttpHeadersMatch_headers(msg, &size); - return size != 0; -} - -UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_common_matcher_v3_HttpHeadersMatch_mutable_headers(envoy_config_common_matcher_v3_HttpHeadersMatch* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct envoy_config_route_v3_HeaderMatcher**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_common_matcher_v3_HttpHeadersMatch_resize_headers(envoy_config_common_matcher_v3_HttpHeadersMatch* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct envoy_config_route_v3_HeaderMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_common_matcher_v3_HttpHeadersMatch_add_headers(envoy_config_common_matcher_v3_HttpHeadersMatch* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy_config_route_v3_HeaderMatcher_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.common.matcher.v3.HttpGenericBodyMatch */ - -UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy_config_common_matcher_v3_HttpGenericBodyMatch_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_HttpGenericBodyMatch* ret = envoy_config_common_matcher_v3_HttpGenericBodyMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_HttpGenericBodyMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_HttpGenericBodyMatch* ret = envoy_config_common_matcher_v3_HttpGenericBodyMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_HttpGenericBodyMatch_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_serialize(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_HttpGenericBodyMatch_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_serialize_ex(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_HttpGenericBodyMatch_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_clear_bytes_limit(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint32_t envoy_config_common_matcher_v3_HttpGenericBodyMatch_bytes_limit(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg) { - uint32_t default_val = (uint32_t)0u; - uint32_t ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_clear_patterns(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* const* envoy_config_common_matcher_v3_HttpGenericBodyMatch_patterns(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_common_matcher_v3_HttpGenericBodyMatch_patterns_upb_array(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_common_matcher_v3_HttpGenericBodyMatch_patterns_mutable_upb_array(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_common_matcher_v3_HttpGenericBodyMatch_has_patterns(const envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg) { - size_t size; - envoy_config_common_matcher_v3_HttpGenericBodyMatch_patterns(msg, &size); - return size != 0; -} - -UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_set_bytes_limit(envoy_config_common_matcher_v3_HttpGenericBodyMatch *msg, uint32_t value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch** envoy_config_common_matcher_v3_HttpGenericBodyMatch_mutable_patterns(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch** envoy_config_common_matcher_v3_HttpGenericBodyMatch_resize_patterns(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_add_patterns(envoy_config_common_matcher_v3_HttpGenericBodyMatch* msg, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* sub = (struct envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch*)_upb_Message_New(&envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.common.matcher.v3.HttpGenericBodyMatch.GenericTextMatch */ - -UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_new(upb_Arena* arena) { - return (envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch*)_upb_Message_New(&envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, arena); -} -UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* ret = envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* ret = envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_serialize(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_serialize_ex(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_string_match = 1, - envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_binary_match = 2, - envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_NOT_SET = 0 -} envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases; -UPB_INLINE envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_case(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return (envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_clear_string_match(envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_string_match(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_has_string_match(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_clear_binary_match(envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_binary_match(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_has_binary_match(const envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_set_string_match(envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_set_binary_match(envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -extern const upb_MiniTableFile envoy_config_common_matcher_v3_matcher_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c deleted file mode 100644 index 8ed19225bf8..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +++ /dev/null @@ -1,225 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/address.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/socket_option.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_config_core_v3_Pipe__fields[2] = { - {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Pipe_msg_init = { - NULL, - &envoy_config_core_v3_Pipe__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x000000003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_EnvoyInternalAddress__fields[2] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_EnvoyInternalAddress_msg_init = { - NULL, - &envoy_config_core_v3_EnvoyInternalAddress__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_SocketAddress__fields[6] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), -5, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 16), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_SocketAddress_msg_init = { - NULL, - &envoy_config_core_v3_SocketAddress__fields[0], - UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x002000003f000012, &upb_pss_1bt}, - {0x0010000403000018, &upb_pov4_1bt}, - {0x0010000404000022, &upb_pos_1bt}, - {0x003000003f00002a, &upb_pss_1bt}, - {0x000800003f000030, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_TcpKeepalive_submsgs[3] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_TcpKeepalive__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_TcpKeepalive_msg_init = { - &envoy_config_core_v3_TcpKeepalive_submsgs[0], - &envoy_config_core_v3_TcpKeepalive__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_ExtraSourceAddress_submsgs[2] = { - {.submsg = &envoy_config_core_v3_SocketAddress_msg_init}, - {.submsg = &envoy_config_core_v3_SocketOptionsOverride_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_ExtraSourceAddress__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_ExtraSourceAddress_msg_init = { - &envoy_config_core_v3_ExtraSourceAddress_submsgs[0], - &envoy_config_core_v3_ExtraSourceAddress__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max128b}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_BindConfig_submsgs[5] = { - {.submsg = &envoy_config_core_v3_SocketAddress_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_core_v3_SocketOption_msg_init}, - {.submsg = &envoy_config_core_v3_SocketAddress_msg_init}, - {.submsg = &envoy_config_core_v3_ExtraSourceAddress_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_BindConfig__fields[5] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_BindConfig_msg_init = { - &envoy_config_core_v3_BindConfig_submsgs[0], - &envoy_config_core_v3_BindConfig__fields[0], - UPB_SIZE(24, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max128b}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800003f02001a, &upb_prm_1bt_maxmaxb}, - {0x002000003f030022, &upb_prm_1bt_max128b}, - {0x002800003f04002a, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_Address_submsgs[3] = { - {.submsg = &envoy_config_core_v3_SocketAddress_msg_init}, - {.submsg = &envoy_config_core_v3_Pipe_msg_init}, - {.submsg = &envoy_config_core_v3_EnvoyInternalAddress_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_Address__fields[3] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Address_msg_init = { - &envoy_config_core_v3_Address_submsgs[0], - &envoy_config_core_v3_Address__fields[0], - UPB_SIZE(8, 16), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max128b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x000800000302001a, &upb_pom_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_CidrRange_submsgs[1] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_CidrRange__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_CidrRange_msg_init = { - &envoy_config_core_v3_CidrRange_submsgs[0], - &envoy_config_core_v3_CidrRange__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[8] = { - &envoy_config_core_v3_Pipe_msg_init, - &envoy_config_core_v3_EnvoyInternalAddress_msg_init, - &envoy_config_core_v3_SocketAddress_msg_init, - &envoy_config_core_v3_TcpKeepalive_msg_init, - &envoy_config_core_v3_ExtraSourceAddress_msg_init, - &envoy_config_core_v3_BindConfig_msg_init, - &envoy_config_core_v3_Address_msg_init, - &envoy_config_core_v3_CidrRange_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_address_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 8, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c deleted file mode 100644 index 4c539857e92..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +++ /dev/null @@ -1,56 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/backoff.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/backoff.upb.h" -#include "google/protobuf/duration.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_core_v3_BackoffStrategy_submsgs[2] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_BackoffStrategy__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_BackoffStrategy_msg_init = { - &envoy_config_core_v3_BackoffStrategy_submsgs[0], - &envoy_config_core_v3_BackoffStrategy__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_core_v3_BackoffStrategy_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_backoff_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c deleted file mode 100644 index c764633f088..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +++ /dev/null @@ -1,578 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/base.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/backoff.upb.h" -#include "envoy/config/core/v3/http_uri.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "envoy/type/v3/semantic_version.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/struct.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "xds/core/v3/context_params.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_config_core_v3_Locality__fields[3] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Locality_msg_init = { - NULL, - &envoy_config_core_v3_Locality__fields[0], - UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x002000003f00001a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_BuildVersion_submsgs[2] = { - {.submsg = &envoy_type_v3_SemanticVersion_msg_init}, - {.submsg = &google_protobuf_Struct_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_BuildVersion__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_BuildVersion_msg_init = { - &envoy_config_core_v3_BuildVersion_submsgs[0], - &envoy_config_core_v3_BuildVersion__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_Extension_submsgs[1] = { - {.submsg = &envoy_config_core_v3_BuildVersion_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_Extension__fields[6] = { - {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 56), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Extension_msg_init = { - &envoy_config_core_v3_Extension_submsgs[0], - &envoy_config_core_v3_Extension__fields[0], - UPB_SIZE(40, 72), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x002800003f00001a, &upb_pss_1bt}, - {0x0038000001000022, &upb_psm_1bt_max64b}, - {0x000100003f000028, &upb_psb1_1bt}, - {0x004000003f000032, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_Node_submsgs[6] = { - {.submsg = &google_protobuf_Struct_msg_init}, - {.submsg = &envoy_config_core_v3_Locality_msg_init}, - {.submsg = &envoy_config_core_v3_BuildVersion_msg_init}, - {.submsg = &envoy_config_core_v3_Extension_msg_init}, - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_config_core_v3_Node_DynamicParametersEntry_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_Node__fields[11] = { - {1, UPB_SIZE(40, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(48, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 56), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 64), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(56, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(32, 8), UPB_SIZE(-13, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(32, 8), UPB_SIZE(-13, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(16, 88), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(20, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(24, 104), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(28, 112), 0, 5, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Node_msg_init = { - &envoy_config_core_v3_Node_submsgs[0], - &envoy_config_core_v3_Node__fields[0], - UPB_SIZE(64, 120), 11, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f00000a, &upb_pss_1bt}, - {0x002800003f000012, &upb_pss_1bt}, - {0x003800000100001a, &upb_psm_1bt_maxmaxb}, - {0x0040000002010022, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x004800003f000032, &upb_pss_1bt}, - {0x000800040700003a, &upb_pos_1bt}, - {0x0008000408020042, &upb_pom_1bt_max64b}, - {0x005800003f03004a, &upb_prm_1bt_max128b}, - {0x006000003f000052, &upb_prs_1bt}, - {0x006800003f04005a, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_Node_DynamicParametersEntry_submsgs[1] = { - {.submsg = &xds_core_v3_ContextParams_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_Node_DynamicParametersEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Node_DynamicParametersEntry_msg_init = { - &envoy_config_core_v3_Node_DynamicParametersEntry_submsgs[0], - &envoy_config_core_v3_Node_DynamicParametersEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_Metadata_submsgs[2] = { - {.submsg = &envoy_config_core_v3_Metadata_FilterMetadataEntry_msg_init}, - {.submsg = &envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_Metadata__fields[2] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Metadata_msg_init = { - &envoy_config_core_v3_Metadata_submsgs[0], - &envoy_config_core_v3_Metadata__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_config_core_v3_Metadata_FilterMetadataEntry_submsgs[1] = { - {.submsg = &google_protobuf_Struct_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_Metadata_FilterMetadataEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Metadata_FilterMetadataEntry_msg_init = { - &envoy_config_core_v3_Metadata_FilterMetadataEntry_submsgs[0], - &envoy_config_core_v3_Metadata_FilterMetadataEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_Metadata_TypedFilterMetadataEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_msg_init = { - &envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_submsgs[0], - &envoy_config_core_v3_Metadata_TypedFilterMetadataEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_RuntimeUInt32__fields[2] = { - {2, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_RuntimeUInt32_msg_init = { - NULL, - &envoy_config_core_v3_RuntimeUInt32__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000010, &upb_psv4_1bt}, - {0x000800003f00001a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_RuntimePercent_submsgs[1] = { - {.submsg = &envoy_type_v3_Percent_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_RuntimePercent__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_RuntimePercent_msg_init = { - &envoy_config_core_v3_RuntimePercent_submsgs[0], - &envoy_config_core_v3_RuntimePercent__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_RuntimeDouble__fields[2] = { - {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_RuntimeDouble_msg_init = { - NULL, - &envoy_config_core_v3_RuntimeDouble__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000009, &upb_psf8_1bt}, - {0x000800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_RuntimeFeatureFlag_submsgs[1] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_RuntimeFeatureFlag__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_RuntimeFeatureFlag_msg_init = { - &envoy_config_core_v3_RuntimeFeatureFlag_submsgs[0], - &envoy_config_core_v3_RuntimeFeatureFlag__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_QueryParameter__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_QueryParameter_msg_init = { - NULL, - &envoy_config_core_v3_QueryParameter__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_HeaderValue__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HeaderValue_msg_init = { - NULL, - &envoy_config_core_v3_HeaderValue__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_HeaderValueOption_submsgs[2] = { - {.submsg = &envoy_config_core_v3_HeaderValue_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_HeaderValueOption__fields[4] = { - {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HeaderValueOption_msg_init = { - &envoy_config_core_v3_HeaderValueOption_submsgs[0], - &envoy_config_core_v3_HeaderValueOption__fields[0], - UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000000100000a, &upb_psm_1bt_max64b}, - {0x0018000002010012, &upb_psm_1bt_maxmaxb}, - {0x000400003f000018, &upb_psv4_1bt}, - {0x000800003f000020, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_HeaderMap_submsgs[1] = { - {.submsg = &envoy_config_core_v3_HeaderValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_HeaderMap__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HeaderMap_msg_init = { - &envoy_config_core_v3_HeaderMap_submsgs[0], - &envoy_config_core_v3_HeaderMap__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_WatchedDirectory__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_WatchedDirectory_msg_init = { - NULL, - &envoy_config_core_v3_WatchedDirectory__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_DataSource__fields[4] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_DataSource_msg_init = { - NULL, - &envoy_config_core_v3_DataSource__fields[0], - UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - {0x0008000002000012, &upb_pob_1bt}, - {0x000800000300001a, &upb_pos_1bt}, - {0x0008000004000022, &upb_pos_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_RetryPolicy_submsgs[2] = { - {.submsg = &envoy_config_core_v3_BackoffStrategy_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_RetryPolicy__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_RetryPolicy_msg_init = { - &envoy_config_core_v3_RetryPolicy_submsgs[0], - &envoy_config_core_v3_RetryPolicy__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_RemoteDataSource_submsgs[2] = { - {.submsg = &envoy_config_core_v3_HttpUri_msg_init}, - {.submsg = &envoy_config_core_v3_RetryPolicy_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_RemoteDataSource__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_RemoteDataSource_msg_init = { - &envoy_config_core_v3_RemoteDataSource_submsgs[0], - &envoy_config_core_v3_RemoteDataSource__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_pss_1bt}, - {0x002000000201001a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_AsyncDataSource_submsgs[2] = { - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, - {.submsg = &envoy_config_core_v3_RemoteDataSource_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_AsyncDataSource__fields[2] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_AsyncDataSource_msg_init = { - &envoy_config_core_v3_AsyncDataSource_submsgs[0], - &envoy_config_core_v3_AsyncDataSource__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_TransportSocket_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_TransportSocket__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_TransportSocket_msg_init = { - &envoy_config_core_v3_TransportSocket_submsgs[0], - &envoy_config_core_v3_TransportSocket__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000300001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_RuntimeFractionalPercent_submsgs[1] = { - {.submsg = &envoy_type_v3_FractionalPercent_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_RuntimeFractionalPercent__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_RuntimeFractionalPercent_msg_init = { - &envoy_config_core_v3_RuntimeFractionalPercent_submsgs[0], - &envoy_config_core_v3_RuntimeFractionalPercent__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_ControlPlane__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_ControlPlane_msg_init = { - NULL, - &envoy_config_core_v3_ControlPlane__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[24] = { - &envoy_config_core_v3_Locality_msg_init, - &envoy_config_core_v3_BuildVersion_msg_init, - &envoy_config_core_v3_Extension_msg_init, - &envoy_config_core_v3_Node_msg_init, - &envoy_config_core_v3_Node_DynamicParametersEntry_msg_init, - &envoy_config_core_v3_Metadata_msg_init, - &envoy_config_core_v3_Metadata_FilterMetadataEntry_msg_init, - &envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_msg_init, - &envoy_config_core_v3_RuntimeUInt32_msg_init, - &envoy_config_core_v3_RuntimePercent_msg_init, - &envoy_config_core_v3_RuntimeDouble_msg_init, - &envoy_config_core_v3_RuntimeFeatureFlag_msg_init, - &envoy_config_core_v3_QueryParameter_msg_init, - &envoy_config_core_v3_HeaderValue_msg_init, - &envoy_config_core_v3_HeaderValueOption_msg_init, - &envoy_config_core_v3_HeaderMap_msg_init, - &envoy_config_core_v3_WatchedDirectory_msg_init, - &envoy_config_core_v3_DataSource_msg_init, - &envoy_config_core_v3_RetryPolicy_msg_init, - &envoy_config_core_v3_RemoteDataSource_msg_init, - &envoy_config_core_v3_AsyncDataSource_msg_init, - &envoy_config_core_v3_TransportSocket_msg_init, - &envoy_config_core_v3_RuntimeFractionalPercent_msg_init, - &envoy_config_core_v3_ControlPlane_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_base_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 24, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c deleted file mode 100644 index fc6fb270621..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +++ /dev/null @@ -1,226 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/config_source.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/config_source.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/config/core/v3/grpc_service.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "xds/core/v3/authority.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_core_v3_ApiConfigSource_submsgs[5] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_core_v3_GrpcService_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_core_v3_RateLimitSettings_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_ApiConfigSource__fields[9] = { - {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 40), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 48), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(32, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(36, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_ApiConfigSource_msg_init = { - &envoy_config_core_v3_ApiConfigSource_submsgs[0], - &envoy_config_core_v3_ApiConfigSource__fields[0], - UPB_SIZE(40, 64), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x001000003f000012, &upb_prs_1bt}, - {0x001800000100001a, &upb_psm_1bt_maxmaxb}, - {0x002000003f010022, &upb_prm_1bt_maxmaxb}, - {0x002800000202002a, &upb_psm_1bt_maxmaxb}, - {0x0030000003030032, &upb_psm_1bt_max64b}, - {0x000800003f000038, &upb_psb1_1bt}, - {0x000c00003f000040, &upb_psv4_1bt}, - {0x003800003f04004a, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable envoy_config_core_v3_AggregatedConfigSource_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableField envoy_config_core_v3_SelfConfigSource__fields[1] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_SelfConfigSource_msg_init = { - NULL, - &envoy_config_core_v3_SelfConfigSource__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_RateLimitSettings_submsgs[2] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_DoubleValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_RateLimitSettings__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_RateLimitSettings_msg_init = { - &envoy_config_core_v3_RateLimitSettings_submsgs[0], - &envoy_config_core_v3_RateLimitSettings__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_PathConfigSource_submsgs[1] = { - {.submsg = &envoy_config_core_v3_WatchedDirectory_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_PathConfigSource__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_PathConfigSource_msg_init = { - &envoy_config_core_v3_PathConfigSource_submsgs[0], - &envoy_config_core_v3_PathConfigSource__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_ConfigSource_submsgs[6] = { - {.submsg = &envoy_config_core_v3_ApiConfigSource_msg_init}, - {.submsg = &envoy_config_core_v3_AggregatedConfigSource_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_core_v3_SelfConfigSource_msg_init}, - {.submsg = &xds_core_v3_Authority_msg_init}, - {.submsg = &envoy_config_core_v3_PathConfigSource_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_ConfigSource__fields[8] = { - {1, UPB_SIZE(20, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(20, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(20, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 32), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(16, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(20, 16), UPB_SIZE(-9, -5), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_ConfigSource_msg_init = { - &envoy_config_core_v3_ConfigSource_submsgs[0], - &envoy_config_core_v3_ConfigSource__fields[0], - UPB_SIZE(32, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000040100000a, &upb_pos_1bt}, - {0x0010000402000012, &upb_pom_1bt_max128b}, - {0x001000040301001a, &upb_pom_1bt_max64b}, - {0x0020000001020022, &upb_psm_1bt_maxmaxb}, - {0x001000040503002a, &upb_pom_1bt_max64b}, - {0x000800003f000030, &upb_psv4_1bt}, - {0x002800003f04003a, &upb_prm_1bt_maxmaxb}, - {0x0010000408050042, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_ExtensionConfigSource_submsgs[2] = { - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_ExtensionConfigSource__fields[4] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_ExtensionConfigSource_msg_init = { - &envoy_config_core_v3_ExtensionConfigSource_submsgs[0], - &envoy_config_core_v3_ExtensionConfigSource__fields[0], - UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x000100003f000018, &upb_psb1_1bt}, - {0x001800003f000022, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[7] = { - &envoy_config_core_v3_ApiConfigSource_msg_init, - &envoy_config_core_v3_AggregatedConfigSource_msg_init, - &envoy_config_core_v3_SelfConfigSource_msg_init, - &envoy_config_core_v3_RateLimitSettings_msg_init, - &envoy_config_core_v3_PathConfigSource_msg_init, - &envoy_config_core_v3_ConfigSource_msg_init, - &envoy_config_core_v3_ExtensionConfigSource_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_config_source_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 7, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c deleted file mode 100644 index 5f9061379aa..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +++ /dev/null @@ -1,52 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/event_service_config.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/event_service_config.upb.h" -#include "envoy/config/core/v3/grpc_service.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_core_v3_EventServiceConfig_submsgs[1] = { - {.submsg = &envoy_config_core_v3_GrpcService_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_EventServiceConfig__fields[1] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_EventServiceConfig_msg_init = { - &envoy_config_core_v3_EventServiceConfig_submsgs[0], - &envoy_config_core_v3_EventServiceConfig__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_core_v3_EventServiceConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_event_service_config_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c deleted file mode 100644 index a79e6d2a757..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +++ /dev/null @@ -1,54 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/extension.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "google/protobuf/any.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_core_v3_TypedExtensionConfig_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_TypedExtensionConfig__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init = { - &envoy_config_core_v3_TypedExtensionConfig_submsgs[0], - &envoy_config_core_v3_TypedExtensionConfig__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_core_v3_TypedExtensionConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_extension_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h b/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h deleted file mode 100644 index c9603c69403..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +++ /dev/null @@ -1,114 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/extension.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPB_H_ -#define ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_config_core_v3_TypedExtensionConfig envoy_config_core_v3_TypedExtensionConfig; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -struct google_protobuf_Any; -extern const upb_MiniTable google_protobuf_Any_msg_init; - - - -/* envoy.config.core.v3.TypedExtensionConfig */ - -UPB_INLINE envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_TypedExtensionConfig_new(upb_Arena* arena) { - return (envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); -} -UPB_INLINE envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_TypedExtensionConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_core_v3_TypedExtensionConfig* ret = envoy_config_core_v3_TypedExtensionConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_TypedExtensionConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_TypedExtensionConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_core_v3_TypedExtensionConfig* ret = envoy_config_core_v3_TypedExtensionConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_TypedExtensionConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_core_v3_TypedExtensionConfig_serialize(const envoy_config_core_v3_TypedExtensionConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_TypedExtensionConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_core_v3_TypedExtensionConfig_serialize_ex(const envoy_config_core_v3_TypedExtensionConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_TypedExtensionConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_core_v3_TypedExtensionConfig_clear_name(envoy_config_core_v3_TypedExtensionConfig* msg) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_core_v3_TypedExtensionConfig_name(const envoy_config_core_v3_TypedExtensionConfig* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_core_v3_TypedExtensionConfig_clear_typed_config(envoy_config_core_v3_TypedExtensionConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Any* envoy_config_core_v3_TypedExtensionConfig_typed_config(const envoy_config_core_v3_TypedExtensionConfig* msg) { - const struct google_protobuf_Any* default_val = NULL; - const struct google_protobuf_Any* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_core_v3_TypedExtensionConfig_has_typed_config(const envoy_config_core_v3_TypedExtensionConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_core_v3_TypedExtensionConfig_set_name(envoy_config_core_v3_TypedExtensionConfig *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_core_v3_TypedExtensionConfig_set_typed_config(envoy_config_core_v3_TypedExtensionConfig *msg, struct google_protobuf_Any* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Any* envoy_config_core_v3_TypedExtensionConfig_mutable_typed_config(envoy_config_core_v3_TypedExtensionConfig* msg, upb_Arena* arena) { - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_config_core_v3_TypedExtensionConfig_typed_config(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); - if (sub) envoy_config_core_v3_TypedExtensionConfig_set_typed_config(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile envoy_config_core_v3_extension_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c deleted file mode 100644 index b1de078dbc7..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +++ /dev/null @@ -1,69 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/grpc_method_list.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/grpc_method_list.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_core_v3_GrpcMethodList_submsgs[1] = { - {.submsg = &envoy_config_core_v3_GrpcMethodList_Service_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcMethodList__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcMethodList_msg_init = { - &envoy_config_core_v3_GrpcMethodList_submsgs[0], - &envoy_config_core_v3_GrpcMethodList__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcMethodList_Service__fields[2] = { - {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(0, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcMethodList_Service_msg_init = { - NULL, - &envoy_config_core_v3_GrpcMethodList_Service__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_config_core_v3_GrpcMethodList_msg_init, - &envoy_config_core_v3_GrpcMethodList_Service_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_grpc_method_list_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c deleted file mode 100644 index 2d3907c377b..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +++ /dev/null @@ -1,379 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/grpc_service.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/grpc_service.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/empty.upb.h" -#include "google/protobuf/struct.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/sensitive.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_core_v3_GrpcService_submsgs[4] = { - {.submsg = &envoy_config_core_v3_GrpcService_EnvoyGrpc_msg_init}, - {.submsg = &envoy_config_core_v3_GrpcService_GoogleGrpc_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_core_v3_HeaderValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcService__fields[4] = { - {1, UPB_SIZE(16, 24), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_msg_init = { - &envoy_config_core_v3_GrpcService_submsgs[0], - &envoy_config_core_v3_GrpcService__fields[0], - UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800040100000a, &upb_pom_1bt_max64b}, - {0x0018000402010012, &upb_pom_1bt_max128b}, - {0x000800000102001a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f03002a, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_GrpcService_EnvoyGrpc_submsgs[1] = { - {.submsg = &envoy_config_core_v3_RetryPolicy_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcService_EnvoyGrpc__fields[3] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_EnvoyGrpc_msg_init = { - &envoy_config_core_v3_GrpcService_EnvoyGrpc_submsgs[0], - &envoy_config_core_v3_GrpcService_EnvoyGrpc__fields[0], - UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x002800000100001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_submsgs[5] = { - {.submsg = &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_msg_init}, - {.submsg = &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_msg_init}, - {.submsg = &google_protobuf_Struct_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc__fields[8] = { - {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(40, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 72), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(16, 80), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(20, 88), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_msg_init = { - &envoy_config_core_v3_GrpcService_GoogleGrpc_submsgs[0], - &envoy_config_core_v3_GrpcService_GoogleGrpc__fields[0], - UPB_SIZE(48, 96), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x002000003f01001a, &upb_prm_1bt_max64b}, - {0x002800003f000022, &upb_pss_1bt}, - {0x003800003f00002a, &upb_pss_1bt}, - {0x0048000002020032, &upb_psm_1bt_maxmaxb}, - {0x005000000303003a, &upb_psm_1bt_maxmaxb}, - {0x0058000004040042, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_submsgs[3] = { - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_msg_init = { - &envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_submsgs[0], - &envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_submsgs[3] = { - {.submsg = &envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_msg_init}, - {.submsg = &google_protobuf_Empty_msg_init}, - {.submsg = &envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials__fields[3] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_msg_init = { - &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_submsgs[0], - &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials__fields[0], - UPB_SIZE(8, 16), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_maxmaxb}, - {0x000800000302001a, &upb_pom_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_submsgs[5] = { - {.submsg = &google_protobuf_Empty_msg_init}, - {.submsg = &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msg_init}, - {.submsg = &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msg_init}, - {.submsg = &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msg_init}, - {.submsg = &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials__fields[7] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_msg_init = { - &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_submsgs[0], - &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials__fields[0], - UPB_SIZE(16, 24), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - {0x0008000002000012, &upb_pom_1bt_maxmaxb}, - {0x000800000300001a, &upb_pos_1bt}, - {0x0008000004010022, &upb_pom_1bt_max64b}, - {0x000800000502002a, &upb_pom_1bt_max64b}, - {0x0008000006030032, &upb_pom_1bt_max64b}, - {0x000800000704003a, &upb_pom_1bt_max192b}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msg_init = { - NULL, - &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000010, &upb_psv8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msg_init = { - NULL, - &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msg_init = { - &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_submsgs[0], - &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000300001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService__fields[9] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(24, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(40, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(48, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(56, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(64, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_msg_init = { - NULL, - &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService__fields[0], - UPB_SIZE(72, 144), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x002000003f00001a, &upb_pss_1bt}, - {0x003000003f000022, &upb_pss_1bt}, - {0x004000003f00002a, &upb_pss_1bt}, - {0x005000003f000032, &upb_pss_1bt}, - {0x006000003f00003a, &upb_pss_1bt}, - {0x007000003f000042, &upb_pss_1bt}, - {0x008000003f00004a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_submsgs[1] = { - {.submsg = &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_msg_init = { - &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_submsgs[0], - &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value__fields[2] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_msg_init = { - NULL, - &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - {0x0008000002000010, &upb_pov8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry_submsgs[1] = { - {.submsg = &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry_msg_init = { - &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry_submsgs[0], - &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[14] = { - &envoy_config_core_v3_GrpcService_msg_init, - &envoy_config_core_v3_GrpcService_EnvoyGrpc_msg_init, - &envoy_config_core_v3_GrpcService_GoogleGrpc_msg_init, - &envoy_config_core_v3_GrpcService_GoogleGrpc_SslCredentials_msg_init, - &envoy_config_core_v3_GrpcService_GoogleGrpc_GoogleLocalCredentials_msg_init, - &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelCredentials_msg_init, - &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_msg_init, - &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msg_init, - &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msg_init, - &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msg_init, - &envoy_config_core_v3_GrpcService_GoogleGrpc_CallCredentials_StsService_msg_init, - &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_msg_init, - &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_Value_msg_init, - &envoy_config_core_v3_GrpcService_GoogleGrpc_ChannelArgs_ArgsEntry_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_grpc_service_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 14, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c deleted file mode 100644 index a586b80dfa5..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +++ /dev/null @@ -1,316 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/health_check.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/health_check.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/event_service_config.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/type/matcher/v3/string.upb.h" -#include "envoy/type/v3/http.upb.h" -#include "envoy/type/v3/range.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/struct.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_config_core_v3_HealthStatusSet__fields[1] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HealthStatusSet_msg_init = { - NULL, - &envoy_config_core_v3_HealthStatusSet__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_ppv4_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_HealthCheck_submsgs[21] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_core_v3_HealthCheck_HttpHealthCheck_msg_init}, - {.submsg = &envoy_config_core_v3_HealthCheck_TcpHealthCheck_msg_init}, - {.submsg = &envoy_config_core_v3_HealthCheck_GrpcHealthCheck_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_core_v3_HealthCheck_CustomHealthCheck_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_core_v3_HealthCheck_TlsOptions_msg_init}, - {.submsg = &envoy_config_core_v3_EventServiceConfig_msg_init}, - {.submsg = &google_protobuf_Struct_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_HealthCheck__fields[24] = { - {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 48), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 56), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 64), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(84, 168), UPB_SIZE(-37, -5), 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(84, 168), UPB_SIZE(-37, -5), 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(84, 168), UPB_SIZE(-37, -5), 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(32, 72), 8, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(84, 168), UPB_SIZE(-37, -5), 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(40, 80), 9, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(44, 88), 10, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(48, 96), 11, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(88, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {18, UPB_SIZE(52, 8), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {19, UPB_SIZE(56, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {20, UPB_SIZE(60, 120), 12, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {21, UPB_SIZE(64, 128), 13, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {22, UPB_SIZE(68, 136), 14, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {23, UPB_SIZE(72, 144), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {24, UPB_SIZE(76, 152), 16, 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {25, UPB_SIZE(80, 160), 0, 20, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HealthCheck_msg_init = { - &envoy_config_core_v3_HealthCheck_submsgs[0], - &envoy_config_core_v3_HealthCheck__fields[0], - UPB_SIZE(96, 176), 24, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000000100000a, &upb_psm_1bt_maxmaxb}, - {0x0018000002010012, &upb_psm_1bt_maxmaxb}, - {0x002000000302001a, &upb_psm_1bt_maxmaxb}, - {0x0028000004030022, &upb_psm_1bt_maxmaxb}, - {0x003000000504002a, &upb_psm_1bt_maxmaxb}, - {0x0038000006050032, &upb_psm_1bt_maxmaxb}, - {0x004000000706003a, &upb_psm_1bt_maxmaxb}, - {0x00a8000408070042, &upb_pom_1bt_max128b}, - {0x00a800040908004a, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x00a800040b09005a, &upb_pom_1bt_max64b}, - {0x00480000080a0062, &upb_psm_1bt_maxmaxb}, - {0x00a800040d0b006a, &upb_pom_1bt_max64b}, - {0x00500000090c0072, &upb_psm_1bt_maxmaxb}, - {0x005800000a0d007a, &upb_psm_1bt_maxmaxb}, - {0x006000000b0e0182, &upb_psm_2bt_maxmaxb}, - {0x006800003f00018a, &upb_pss_2bt}, - {0x000800003f000190, &upb_psv4_2bt}, - {0x000c00003f000198, &upb_psb1_2bt}, - {0x007800000c0f01a2, &upb_psm_2bt_maxmaxb}, - {0x008000000d1001aa, &upb_psm_2bt_max64b}, - {0x008800000e1101b2, &upb_psm_2bt_maxmaxb}, - {0x009000000f1201ba, &upb_psm_2bt_maxmaxb}, - {0x00980000101301c2, &upb_psm_2bt_maxmaxb}, - {0x00a000003f1401ca, &upb_prm_2bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_HealthCheck_Payload__fields[2] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HealthCheck_Payload_msg_init = { - NULL, - &envoy_config_core_v3_HealthCheck_Payload__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - {0x0008000002000012, &upb_pob_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_HealthCheck_HttpHealthCheck_submsgs[7] = { - {.submsg = &envoy_config_core_v3_HealthCheck_Payload_msg_init}, - {.submsg = &envoy_config_core_v3_HealthCheck_Payload_msg_init}, - {.submsg = &envoy_config_core_v3_HeaderValueOption_msg_init}, - {.submsg = &envoy_type_v3_Int64Range_msg_init}, - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, - {.submsg = &envoy_type_v3_Int64Range_msg_init}, - {.submsg = &google_protobuf_UInt64Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_HealthCheck_HttpHealthCheck__fields[12] = { - {1, UPB_SIZE(44, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(52, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(16, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(20, 80), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(24, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(28, 88), 2, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(32, 96), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(36, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(40, 104), 3, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HealthCheck_HttpHealthCheck_msg_init = { - &envoy_config_core_v3_HealthCheck_HttpHealthCheck_submsgs[0], - &envoy_config_core_v3_HealthCheck_HttpHealthCheck__fields[0], - UPB_SIZE(64, 112), 12, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f00000a, &upb_pss_1bt}, - {0x002000003f000012, &upb_pss_1bt}, - {0x003000000100001a, &upb_psm_1bt_max64b}, - {0x003800003f010022, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x004000003f020032, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x004800003f000042, &upb_prs_1bt}, - {0x005000003f03004a, &upb_prm_1bt_maxmaxb}, - {0x000400003f000050, &upb_psv4_1bt}, - {0x005800000204005a, &upb_psm_1bt_maxmaxb}, - {0x006000003f050062, &upb_prm_1bt_maxmaxb}, - {0x000800003f000068, &upb_psv4_1bt}, - {0x0068000003060072, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_HealthCheck_TcpHealthCheck_submsgs[2] = { - {.submsg = &envoy_config_core_v3_HealthCheck_Payload_msg_init}, - {.submsg = &envoy_config_core_v3_HealthCheck_Payload_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_HealthCheck_TcpHealthCheck__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HealthCheck_TcpHealthCheck_msg_init = { - &envoy_config_core_v3_HealthCheck_TcpHealthCheck_submsgs[0], - &envoy_config_core_v3_HealthCheck_TcpHealthCheck__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x001000003f010012, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_HealthCheck_RedisHealthCheck__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HealthCheck_RedisHealthCheck_msg_init = { - NULL, - &envoy_config_core_v3_HealthCheck_RedisHealthCheck__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_HealthCheck_GrpcHealthCheck_submsgs[1] = { - {.submsg = &envoy_config_core_v3_HeaderValueOption_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_HealthCheck_GrpcHealthCheck__fields[3] = { - {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(0, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HealthCheck_GrpcHealthCheck_msg_init = { - &envoy_config_core_v3_HealthCheck_GrpcHealthCheck_submsgs[0], - &envoy_config_core_v3_HealthCheck_GrpcHealthCheck__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x002000003f00001a, &upb_prm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_HealthCheck_CustomHealthCheck_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_HealthCheck_CustomHealthCheck__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HealthCheck_CustomHealthCheck_msg_init = { - &envoy_config_core_v3_HealthCheck_CustomHealthCheck_submsgs[0], - &envoy_config_core_v3_HealthCheck_CustomHealthCheck__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000300001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_HealthCheck_TlsOptions__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HealthCheck_TlsOptions_msg_init = { - NULL, - &envoy_config_core_v3_HealthCheck_TlsOptions__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prs_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[9] = { - &envoy_config_core_v3_HealthStatusSet_msg_init, - &envoy_config_core_v3_HealthCheck_msg_init, - &envoy_config_core_v3_HealthCheck_Payload_msg_init, - &envoy_config_core_v3_HealthCheck_HttpHealthCheck_msg_init, - &envoy_config_core_v3_HealthCheck_TcpHealthCheck_msg_init, - &envoy_config_core_v3_HealthCheck_RedisHealthCheck_msg_init, - &envoy_config_core_v3_HealthCheck_GrpcHealthCheck_msg_init, - &envoy_config_core_v3_HealthCheck_CustomHealthCheck_msg_init, - &envoy_config_core_v3_HealthCheck_TlsOptions_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_health_check_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 9, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c deleted file mode 100644 index 9fa705715ae..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +++ /dev/null @@ -1,56 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/http_uri.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/http_uri.upb.h" -#include "google/protobuf/duration.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_core_v3_HttpUri_submsgs[1] = { - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_HttpUri__fields[3] = { - {1, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HttpUri_msg_init = { - &envoy_config_core_v3_HttpUri_submsgs[0], - &envoy_config_core_v3_HttpUri__fields[0], - UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f00000a, &upb_pss_1bt}, - {0x0008000402000012, &upb_pos_1bt}, - {0x002800000100001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_core_v3_HttpUri_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_http_uri_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c deleted file mode 100644 index 8e8a48c4765..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +++ /dev/null @@ -1,482 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/protocol.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/protocol.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -const upb_MiniTable envoy_config_core_v3_TcpProtocolOptions_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_config_core_v3_QuicKeepAliveSettings_submsgs[2] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_QuicKeepAliveSettings__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_QuicKeepAliveSettings_msg_init = { - &envoy_config_core_v3_QuicKeepAliveSettings_submsgs[0], - &envoy_config_core_v3_QuicKeepAliveSettings__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_QuicProtocolOptions_submsgs[5] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_QuicKeepAliveSettings_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_QuicProtocolOptions__fields[5] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_QuicProtocolOptions_msg_init = { - &envoy_config_core_v3_QuicProtocolOptions_submsgs[0], - &envoy_config_core_v3_QuicProtocolOptions__fields[0], - UPB_SIZE(24, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - {0x0020000004030022, &upb_psm_1bt_maxmaxb}, - {0x002800000504002a, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_UpstreamHttpProtocolOptions__fields[3] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init = { - NULL, - &envoy_config_core_v3_UpstreamHttpProtocolOptions__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x000800003f00001a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_AlternateProtocolsCacheOptions_submsgs[3] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_AlternateProtocolsCacheOptions__fields[5] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init = { - &envoy_config_core_v3_AlternateProtocolsCacheOptions_submsgs[0], - &envoy_config_core_v3_AlternateProtocolsCacheOptions__fields[0], - UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - {0x002800003f020022, &upb_prm_1bt_max64b}, - {0x003000003f00002a, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry__fields[2] = { - {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init = { - NULL, - &envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x000000003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_HttpProtocolOptions_submsgs[5] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_HttpProtocolOptions__fields[6] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_HttpProtocolOptions_msg_init = { - &envoy_config_core_v3_HttpProtocolOptions_submsgs[0], - &envoy_config_core_v3_HttpProtocolOptions__fields[0], - UPB_SIZE(32, 48), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - {0x0020000004030022, &upb_psm_1bt_maxmaxb}, - {0x000400003f000028, &upb_psv4_1bt}, - {0x0028000005040032, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_Http1ProtocolOptions_submsgs[4] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_Http1ProtocolOptions__fields[10] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(36, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(17, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(20, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(24, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(28, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(32, 5), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Http1ProtocolOptions_msg_init = { - &envoy_config_core_v3_Http1ProtocolOptions_submsgs[0], - &envoy_config_core_v3_Http1ProtocolOptions__fields[0], - UPB_SIZE(48, 56), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x001000003f00001a, &upb_pss_1bt}, - {0x0020000002010022, &upb_psm_1bt_max64b}, - {0x000200003f000028, &upb_psb1_1bt}, - {0x000300003f000030, &upb_psb1_1bt}, - {0x002800000302003a, &upb_psm_1bt_maxmaxb}, - {0x000400003f000040, &upb_psb1_1bt}, - {0x003000000403004a, &upb_psm_1bt_maxmaxb}, - {0x000500003f000050, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_submsgs[2] = { - {.submsg = &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat__fields[2] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init = { - &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_submsgs[0], - &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000008010042, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_config_core_v3_KeepaliveSettings_submsgs[4] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_type_v3_Percent_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_KeepaliveSettings__fields[4] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_KeepaliveSettings_msg_init = { - &envoy_config_core_v3_KeepaliveSettings_submsgs[0], - &envoy_config_core_v3_KeepaliveSettings__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - {0x0020000004030022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_Http2ProtocolOptions_submsgs[13] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_core_v3_KeepaliveSettings_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_Http2ProtocolOptions__fields[16] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(21, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(24, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(28, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(32, 56), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(36, 64), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(40, 72), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(44, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(48, 80), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(52, 88), 10, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(56, 96), 11, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(60, 104), 12, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Http2ProtocolOptions_msg_init = { - &envoy_config_core_v3_Http2ProtocolOptions_submsgs[0], - &envoy_config_core_v3_Http2ProtocolOptions__fields[0], - UPB_SIZE(64, 112), 16, kUpb_ExtMode_NonExtendable, 16, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - {0x0020000004030022, &upb_psm_1bt_maxmaxb}, - {0x000200003f000028, &upb_psb1_1bt}, - {0x000300003f000030, &upb_psb1_1bt}, - {0x002800000504003a, &upb_psm_1bt_maxmaxb}, - {0x0030000006050042, &upb_psm_1bt_maxmaxb}, - {0x003800000706004a, &upb_psm_1bt_maxmaxb}, - {0x0040000008070052, &upb_psm_1bt_maxmaxb}, - {0x004800000908005a, &upb_psm_1bt_maxmaxb}, - {0x000400003f000060, &upb_psb1_1bt}, - {0x005000003f09006a, &upb_prm_1bt_max64b}, - {0x005800000a0a0072, &upb_psm_1bt_maxmaxb}, - {0x006000000b0b007a, &upb_psm_1bt_max64b}, - {0x006800000c0c0182, &upb_psm_2bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_submsgs[2] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init = { - &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_submsgs[0], - &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_GrpcProtocolOptions_submsgs[1] = { - {.submsg = &envoy_config_core_v3_Http2ProtocolOptions_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_GrpcProtocolOptions__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_GrpcProtocolOptions_msg_init = { - &envoy_config_core_v3_GrpcProtocolOptions_submsgs[0], - &envoy_config_core_v3_GrpcProtocolOptions__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max128b}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_Http3ProtocolOptions_submsgs[2] = { - {.submsg = &envoy_config_core_v3_QuicProtocolOptions_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_Http3ProtocolOptions__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_Http3ProtocolOptions_msg_init = { - &envoy_config_core_v3_Http3ProtocolOptions_submsgs[0], - &envoy_config_core_v3_Http3ProtocolOptions__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000100003f000028, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_core_v3_SchemeHeaderTransformation__fields[1] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_SchemeHeaderTransformation_msg_init = { - NULL, - &envoy_config_core_v3_SchemeHeaderTransformation__fields[0], - UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[16] = { - &envoy_config_core_v3_TcpProtocolOptions_msg_init, - &envoy_config_core_v3_QuicKeepAliveSettings_msg_init, - &envoy_config_core_v3_QuicProtocolOptions_msg_init, - &envoy_config_core_v3_UpstreamHttpProtocolOptions_msg_init, - &envoy_config_core_v3_AlternateProtocolsCacheOptions_msg_init, - &envoy_config_core_v3_AlternateProtocolsCacheOptions_AlternateProtocolsCacheEntry_msg_init, - &envoy_config_core_v3_HttpProtocolOptions_msg_init, - &envoy_config_core_v3_Http1ProtocolOptions_msg_init, - &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msg_init, - &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msg_init, - &envoy_config_core_v3_KeepaliveSettings_msg_init, - &envoy_config_core_v3_Http2ProtocolOptions_msg_init, - &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msg_init, - &envoy_config_core_v3_GrpcProtocolOptions_msg_init, - &envoy_config_core_v3_Http3ProtocolOptions_msg_init, - &envoy_config_core_v3_SchemeHeaderTransformation_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_protocol_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 16, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c deleted file mode 100644 index ead1817f058..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +++ /dev/null @@ -1,71 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/proxy_protocol.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/proxy_protocol.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_config_core_v3_ProxyProtocolPassThroughTLVs__fields[2] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_ProxyProtocolPassThroughTLVs_msg_init = { - NULL, - &envoy_config_core_v3_ProxyProtocolPassThroughTLVs__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000800003f000012, &upb_ppv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_ProxyProtocolConfig_submsgs[1] = { - {.submsg = &envoy_config_core_v3_ProxyProtocolPassThroughTLVs_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_ProxyProtocolConfig__fields[2] = { - {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_ProxyProtocolConfig_msg_init = { - &envoy_config_core_v3_ProxyProtocolConfig_submsgs[0], - &envoy_config_core_v3_ProxyProtocolConfig__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x0008000001000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_config_core_v3_ProxyProtocolPassThroughTLVs_msg_init, - &envoy_config_core_v3_ProxyProtocolConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_proxy_protocol_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c deleted file mode 100644 index a488ad6a954..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +++ /dev/null @@ -1,73 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/resolver.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/resolver.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_config_core_v3_DnsResolverOptions__fields[2] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_DnsResolverOptions_msg_init = { - NULL, - &envoy_config_core_v3_DnsResolverOptions__fields[0], - 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_DnsResolutionConfig_submsgs[2] = { - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_config_core_v3_DnsResolverOptions_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_DnsResolutionConfig__fields[2] = { - {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_DnsResolutionConfig_msg_init = { - &envoy_config_core_v3_DnsResolutionConfig_submsgs[0], - &envoy_config_core_v3_DnsResolutionConfig__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, - {0x0010000001010012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_config_core_v3_DnsResolverOptions_msg_init, - &envoy_config_core_v3_DnsResolutionConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_resolver_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c deleted file mode 100644 index ca22482993b..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +++ /dev/null @@ -1,77 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/socket_option.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/socket_option.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_config_core_v3_SocketOption__fields[6] = { - {1, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 40), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(24, 48), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(32, 8), -1, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(32, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_SocketOption_msg_init = { - NULL, - &envoy_config_core_v3_SocketOption__fields[0], - UPB_SIZE(40, 56), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f00000a, &upb_pss_1bt}, - {0x002800003f000010, &upb_psv8_1bt}, - {0x003000003f000018, &upb_psv8_1bt}, - {0x0008000004000020, &upb_pov8_1bt}, - {0x000800000500002a, &upb_pob_1bt}, - {0x000400003f000030, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_core_v3_SocketOptionsOverride_submsgs[1] = { - {.submsg = &envoy_config_core_v3_SocketOption_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_SocketOptionsOverride__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_SocketOptionsOverride_msg_init = { - &envoy_config_core_v3_SocketOptionsOverride_submsgs[0], - &envoy_config_core_v3_SocketOptionsOverride__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_config_core_v3_SocketOption_msg_init, - &envoy_config_core_v3_SocketOptionsOverride_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_socket_option_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c deleted file mode 100644 index 26d52c3b593..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +++ /dev/null @@ -1,67 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/substitution_format_string.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/substitution_format_string.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "google/protobuf/struct.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_core_v3_SubstitutionFormatString_submsgs[3] = { - {.submsg = &google_protobuf_Struct_msg_init}, - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_SubstitutionFormatString__fields[6] = { - {1, UPB_SIZE(12, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 8), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 8), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_SubstitutionFormatString_msg_init = { - &envoy_config_core_v3_SubstitutionFormatString_submsgs[0], - &envoy_config_core_v3_SubstitutionFormatString__fields[0], - UPB_SIZE(32, 48), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800040100000a, &upb_pos_1bt}, - {0x0008000402000012, &upb_pom_1bt_maxmaxb}, - {0x000000003f000018, &upb_psb1_1bt}, - {0x001800003f000022, &upb_pss_1bt}, - {0x000800040501002a, &upb_pom_1bt_maxmaxb}, - {0x002800003f020032, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_core_v3_SubstitutionFormatString_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_substitution_format_string_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h b/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h deleted file mode 100644 index d1093e08bc1..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +++ /dev/null @@ -1,252 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/substitution_format_string.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPB_H_ -#define ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_config_core_v3_SubstitutionFormatString envoy_config_core_v3_SubstitutionFormatString; -extern const upb_MiniTable envoy_config_core_v3_SubstitutionFormatString_msg_init; -struct envoy_config_core_v3_DataSource; -struct envoy_config_core_v3_TypedExtensionConfig; -struct google_protobuf_Struct; -extern const upb_MiniTable envoy_config_core_v3_DataSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable google_protobuf_Struct_msg_init; - - - -/* envoy.config.core.v3.SubstitutionFormatString */ - -UPB_INLINE envoy_config_core_v3_SubstitutionFormatString* envoy_config_core_v3_SubstitutionFormatString_new(upb_Arena* arena) { - return (envoy_config_core_v3_SubstitutionFormatString*)_upb_Message_New(&envoy_config_core_v3_SubstitutionFormatString_msg_init, arena); -} -UPB_INLINE envoy_config_core_v3_SubstitutionFormatString* envoy_config_core_v3_SubstitutionFormatString_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_core_v3_SubstitutionFormatString* ret = envoy_config_core_v3_SubstitutionFormatString_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SubstitutionFormatString_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_core_v3_SubstitutionFormatString* envoy_config_core_v3_SubstitutionFormatString_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_core_v3_SubstitutionFormatString* ret = envoy_config_core_v3_SubstitutionFormatString_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_core_v3_SubstitutionFormatString_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_core_v3_SubstitutionFormatString_serialize(const envoy_config_core_v3_SubstitutionFormatString* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_SubstitutionFormatString_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_core_v3_SubstitutionFormatString_serialize_ex(const envoy_config_core_v3_SubstitutionFormatString* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_core_v3_SubstitutionFormatString_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_core_v3_SubstitutionFormatString_format_text_format = 1, - envoy_config_core_v3_SubstitutionFormatString_format_json_format = 2, - envoy_config_core_v3_SubstitutionFormatString_format_text_format_source = 5, - envoy_config_core_v3_SubstitutionFormatString_format_NOT_SET = 0 -} envoy_config_core_v3_SubstitutionFormatString_format_oneofcases; -UPB_INLINE envoy_config_core_v3_SubstitutionFormatString_format_oneofcases envoy_config_core_v3_SubstitutionFormatString_format_case(const envoy_config_core_v3_SubstitutionFormatString* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return (envoy_config_core_v3_SubstitutionFormatString_format_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_clear_text_format(envoy_config_core_v3_SubstitutionFormatString* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_core_v3_SubstitutionFormatString_text_format(const envoy_config_core_v3_SubstitutionFormatString* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_core_v3_SubstitutionFormatString_has_text_format(const envoy_config_core_v3_SubstitutionFormatString* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_clear_json_format(envoy_config_core_v3_SubstitutionFormatString* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 8), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Struct* envoy_config_core_v3_SubstitutionFormatString_json_format(const envoy_config_core_v3_SubstitutionFormatString* msg) { - const struct google_protobuf_Struct* default_val = NULL; - const struct google_protobuf_Struct* ret; - const upb_MiniTableField field = {2, UPB_SIZE(12, 8), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_core_v3_SubstitutionFormatString_has_json_format(const envoy_config_core_v3_SubstitutionFormatString* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 8), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_clear_omit_empty_values(envoy_config_core_v3_SubstitutionFormatString* msg) { - const upb_MiniTableField field = {3, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_core_v3_SubstitutionFormatString_omit_empty_values(const envoy_config_core_v3_SubstitutionFormatString* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {3, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_clear_content_type(envoy_config_core_v3_SubstitutionFormatString* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_core_v3_SubstitutionFormatString_content_type(const envoy_config_core_v3_SubstitutionFormatString* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_clear_text_format_source(envoy_config_core_v3_SubstitutionFormatString* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 8), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_config_core_v3_SubstitutionFormatString_text_format_source(const envoy_config_core_v3_SubstitutionFormatString* msg) { - const struct envoy_config_core_v3_DataSource* default_val = NULL; - const struct envoy_config_core_v3_DataSource* ret; - const upb_MiniTableField field = {5, UPB_SIZE(12, 8), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_core_v3_SubstitutionFormatString_has_text_format_source(const envoy_config_core_v3_SubstitutionFormatString* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 8), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_clear_formatters(envoy_config_core_v3_SubstitutionFormatString* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* const* envoy_config_core_v3_SubstitutionFormatString_formatters(const envoy_config_core_v3_SubstitutionFormatString* msg, size_t* size) { - const upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct envoy_config_core_v3_TypedExtensionConfig* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_core_v3_SubstitutionFormatString_formatters_upb_array(const envoy_config_core_v3_SubstitutionFormatString* msg, size_t* size) { - const upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_core_v3_SubstitutionFormatString_formatters_mutable_upb_array(const envoy_config_core_v3_SubstitutionFormatString* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_core_v3_SubstitutionFormatString_has_formatters(const envoy_config_core_v3_SubstitutionFormatString* msg) { - size_t size; - envoy_config_core_v3_SubstitutionFormatString_formatters(msg, &size); - return size != 0; -} - -UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_set_text_format(envoy_config_core_v3_SubstitutionFormatString *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_set_json_format(envoy_config_core_v3_SubstitutionFormatString *msg, struct google_protobuf_Struct* value) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 8), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Struct* envoy_config_core_v3_SubstitutionFormatString_mutable_json_format(envoy_config_core_v3_SubstitutionFormatString* msg, upb_Arena* arena) { - struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_core_v3_SubstitutionFormatString_json_format(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); - if (sub) envoy_config_core_v3_SubstitutionFormatString_set_json_format(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_set_omit_empty_values(envoy_config_core_v3_SubstitutionFormatString *msg, bool value) { - const upb_MiniTableField field = {3, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_set_content_type(envoy_config_core_v3_SubstitutionFormatString *msg, upb_StringView value) { - const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_core_v3_SubstitutionFormatString_set_text_format_source(envoy_config_core_v3_SubstitutionFormatString *msg, struct envoy_config_core_v3_DataSource* value) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 8), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_config_core_v3_SubstitutionFormatString_mutable_text_format_source(envoy_config_core_v3_SubstitutionFormatString* msg, upb_Arena* arena) { - struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_config_core_v3_SubstitutionFormatString_text_format_source(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); - if (sub) envoy_config_core_v3_SubstitutionFormatString_set_text_format_source(msg, sub); - } - return sub; -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig** envoy_config_core_v3_SubstitutionFormatString_mutable_formatters(envoy_config_core_v3_SubstitutionFormatString* msg, size_t* size) { - upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct envoy_config_core_v3_TypedExtensionConfig**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig** envoy_config_core_v3_SubstitutionFormatString_resize_formatters(envoy_config_core_v3_SubstitutionFormatString* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct envoy_config_core_v3_TypedExtensionConfig**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_core_v3_SubstitutionFormatString_add_formatters(envoy_config_core_v3_SubstitutionFormatString* msg, upb_Arena* arena) { - upb_MiniTableField field = {6, UPB_SIZE(8, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -extern const upb_MiniTableFile envoy_config_core_v3_substitution_format_string_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c b/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c deleted file mode 100644 index 72f3dbbc6e3..00000000000 --- a/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +++ /dev/null @@ -1,55 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/udp_socket_config.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/core/v3/udp_socket_config.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_core_v3_UdpSocketConfig_submsgs[2] = { - {.submsg = &google_protobuf_UInt64Value_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_core_v3_UdpSocketConfig__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_core_v3_UdpSocketConfig_msg_init = { - &envoy_config_core_v3_UdpSocketConfig_submsgs[0], - &envoy_config_core_v3_UdpSocketConfig__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_core_v3_UdpSocketConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_core_v3_udp_socket_config_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c b/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c deleted file mode 100644 index 7c81be7a498..00000000000 --- a/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +++ /dev/null @@ -1,139 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/endpoint/v3/endpoint.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/endpoint/v3/endpoint.upb.h" -#include "envoy/config/endpoint/v3/endpoint_components.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_endpoint_v3_ClusterLoadAssignment_submsgs[3] = { - {.submsg = &envoy_config_endpoint_v3_LocalityLbEndpoints_msg_init}, - {.submsg = &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msg_init}, - {.submsg = &envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_msg_init}, -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_ClusterLoadAssignment__fields[4] = { - {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_ClusterLoadAssignment_msg_init = { - &envoy_config_endpoint_v3_ClusterLoadAssignment_submsgs[0], - &envoy_config_endpoint_v3_ClusterLoadAssignment__fields[0], - UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0020000001010022, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_submsgs[3] = { - {.submsg = &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_ClusterLoadAssignment_Policy__fields[3] = { - {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msg_init = { - &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_submsgs[0], - &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000012, &upb_prm_1bt_max64b}, - {0x001000000101001a, &upb_psm_1bt_maxmaxb}, - {0x0018000002020022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_submsgs[1] = { - {.submsg = &envoy_type_v3_FractionalPercent_msg_init}, -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msg_init = { - &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_submsgs[0], - &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_submsgs[1] = { - {.submsg = &envoy_config_endpoint_v3_Endpoint_msg_init}, -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_msg_init = { - &envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_submsgs[0], - &envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[4] = { - &envoy_config_endpoint_v3_ClusterLoadAssignment_msg_init, - &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msg_init, - &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msg_init, - &envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_msg_init, -}; - -const upb_MiniTableFile envoy_config_endpoint_v3_endpoint_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 4, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c b/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c deleted file mode 100644 index 8072156e3f5..00000000000 --- a/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +++ /dev/null @@ -1,205 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/endpoint/v3/endpoint_components.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/endpoint/v3/endpoint_components.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/config_source.upb.h" -#include "envoy/config/core/v3/health_check.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_endpoint_v3_Endpoint_submsgs[2] = { - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_Endpoint__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_Endpoint_msg_init = { - &envoy_config_endpoint_v3_Endpoint_submsgs[0], - &envoy_config_endpoint_v3_Endpoint__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_max64b}, - {0x001800003f00001a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_submsgs[1] = { - {.submsg = &envoy_config_core_v3_Address_msg_init}, -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_Endpoint_HealthCheckConfig__fields[4] = { - {1, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_msg_init = { - &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_submsgs[0], - &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x002000000100001a, &upb_psm_1bt_maxmaxb}, - {0x000800003f000020, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_endpoint_v3_LbEndpoint_submsgs[3] = { - {.submsg = &envoy_config_endpoint_v3_Endpoint_msg_init}, - {.submsg = &envoy_config_core_v3_Metadata_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_LbEndpoint__fields[5] = { - {1, UPB_SIZE(20, 16), UPB_SIZE(-17, -9), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 16), UPB_SIZE(-17, -9), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_LbEndpoint_msg_init = { - &envoy_config_endpoint_v3_LbEndpoint_submsgs[0], - &envoy_config_endpoint_v3_LbEndpoint__fields[0], - UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000080100000a, &upb_pom_1bt_max64b}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x002000000101001a, &upb_psm_1bt_maxmaxb}, - {0x0028000002020022, &upb_psm_1bt_maxmaxb}, - {0x001000080500002a, &upb_pos_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_endpoint_v3_LedsClusterLocalityConfig_submsgs[1] = { - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_LedsClusterLocalityConfig__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_LedsClusterLocalityConfig_msg_init = { - &envoy_config_endpoint_v3_LedsClusterLocalityConfig_submsgs[0], - &envoy_config_endpoint_v3_LedsClusterLocalityConfig__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_endpoint_v3_LocalityLbEndpoints_submsgs[6] = { - {.submsg = &envoy_config_core_v3_Locality_msg_init}, - {.submsg = &envoy_config_endpoint_v3_LbEndpoint_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_msg_init}, - {.submsg = &envoy_config_endpoint_v3_LedsClusterLocalityConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_LocalityLbEndpoints__fields[7] = { - {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 32), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 40), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 48), UPB_SIZE(-25, -9), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(28, 48), UPB_SIZE(-25, -9), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_LocalityLbEndpoints_msg_init = { - &envoy_config_endpoint_v3_LocalityLbEndpoints_submsgs[0], - &envoy_config_endpoint_v3_LocalityLbEndpoints__fields[0], - UPB_SIZE(32, 56), 7, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000000100000a, &upb_psm_1bt_maxmaxb}, - {0x001800003f010012, &upb_prm_1bt_max64b}, - {0x002000000202001a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000028, &upb_psv4_1bt}, - {0x0028000003030032, &upb_psm_1bt_maxmaxb}, - {0x003000080704003a, &upb_pom_1bt_max64b}, - {0x0030000808050042, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_submsgs[1] = { - {.submsg = &envoy_config_endpoint_v3_LbEndpoint_msg_init}, -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_msg_init = { - &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_submsgs[0], - &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTable *messages_layout[6] = { - &envoy_config_endpoint_v3_Endpoint_msg_init, - &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_msg_init, - &envoy_config_endpoint_v3_LbEndpoint_msg_init, - &envoy_config_endpoint_v3_LedsClusterLocalityConfig_msg_init, - &envoy_config_endpoint_v3_LocalityLbEndpoints_msg_init, - &envoy_config_endpoint_v3_LocalityLbEndpoints_LbEndpointList_msg_init, -}; - -const upb_MiniTableFile envoy_config_endpoint_v3_endpoint_components_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 6, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c b/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c deleted file mode 100644 index f0ba27448da..00000000000 --- a/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +++ /dev/null @@ -1,180 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/endpoint/v3/load_report.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/endpoint/v3/load_report.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/struct.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_endpoint_v3_UpstreamLocalityStats_submsgs[3] = { - {.submsg = &envoy_config_core_v3_Locality_msg_init}, - {.submsg = &envoy_config_endpoint_v3_EndpointLoadMetricStats_msg_init}, - {.submsg = &envoy_config_endpoint_v3_UpstreamEndpointStats_msg_init}, -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_UpstreamLocalityStats__fields[8] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(24, 16), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(32, 24), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(40, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(16, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(48, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_UpstreamLocalityStats_msg_init = { - &envoy_config_endpoint_v3_UpstreamLocalityStats_submsgs[0], - &envoy_config_endpoint_v3_UpstreamLocalityStats__fields[0], - UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000010, &upb_psv8_1bt}, - {0x001800003f000018, &upb_psv8_1bt}, - {0x002000003f000020, &upb_psv8_1bt}, - {0x002800003f01002a, &upb_prm_1bt_max64b}, - {0x000400003f000030, &upb_psv4_1bt}, - {0x003000003f02003a, &upb_prm_1bt_max128b}, - {0x003800003f000040, &upb_psv8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_endpoint_v3_UpstreamEndpointStats_submsgs[3] = { - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_config_endpoint_v3_EndpointLoadMetricStats_msg_init}, - {.submsg = &google_protobuf_Struct_msg_init}, -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_UpstreamEndpointStats__fields[7] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, 32, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 48), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(40, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_UpstreamEndpointStats_msg_init = { - &envoy_config_endpoint_v3_UpstreamEndpointStats_submsgs[0], - &envoy_config_endpoint_v3_UpstreamEndpointStats__fields[0], - UPB_SIZE(48, 64), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000010, &upb_psv8_1bt}, - {0x001800003f000018, &upb_psv8_1bt}, - {0x002000003f000020, &upb_psv8_1bt}, - {0x002800003f01002a, &upb_prm_1bt_max64b}, - {0x0030000002020032, &upb_psm_1bt_maxmaxb}, - {0x003800003f000038, &upb_psv8_1bt}, - }) -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_EndpointLoadMetricStats__fields[3] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(16, 24), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_EndpointLoadMetricStats_msg_init = { - NULL, - &envoy_config_endpoint_v3_EndpointLoadMetricStats__fields[0], - UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000010, &upb_psv8_1bt}, - {0x001800003f000019, &upb_psf8_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_endpoint_v3_ClusterStats_submsgs[3] = { - {.submsg = &envoy_config_endpoint_v3_UpstreamLocalityStats_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_endpoint_v3_ClusterStats_DroppedRequests_msg_init}, -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_ClusterStats__fields[6] = { - {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(24, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 40), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(32, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_ClusterStats_msg_init = { - &envoy_config_endpoint_v3_ClusterStats_submsgs[0], - &envoy_config_endpoint_v3_ClusterStats__fields[0], - UPB_SIZE(40, 72), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prm_1bt_max128b}, - {0x002000003f000018, &upb_psv8_1bt}, - {0x0028000001010022, &upb_psm_1bt_maxmaxb}, - {0x003000003f02002a, &upb_prm_1bt_max64b}, - {0x003800003f000032, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_endpoint_v3_ClusterStats_DroppedRequests__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_endpoint_v3_ClusterStats_DroppedRequests_msg_init = { - NULL, - &envoy_config_endpoint_v3_ClusterStats_DroppedRequests__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000010, &upb_psv8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[5] = { - &envoy_config_endpoint_v3_UpstreamLocalityStats_msg_init, - &envoy_config_endpoint_v3_UpstreamEndpointStats_msg_init, - &envoy_config_endpoint_v3_EndpointLoadMetricStats_msg_init, - &envoy_config_endpoint_v3_ClusterStats_msg_init, - &envoy_config_endpoint_v3_ClusterStats_DroppedRequests_msg_init, -}; - -const upb_MiniTableFile envoy_config_endpoint_v3_load_report_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 5, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c b/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c deleted file mode 100644 index b1be60b5349..00000000000 --- a/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +++ /dev/null @@ -1,51 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/listener/v3/api_listener.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/listener/v3/api_listener.upb.h" -#include "google/protobuf/any.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_listener_v3_ApiListener_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_ApiListener__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_ApiListener_msg_init = { - &envoy_config_listener_v3_ApiListener_submsgs[0], - &envoy_config_listener_v3_ApiListener__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_listener_v3_ApiListener_msg_init, -}; - -const upb_MiniTableFile envoy_config_listener_v3_api_listener_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c b/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c deleted file mode 100644 index 95d99b62b61..00000000000 --- a/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +++ /dev/null @@ -1,267 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/listener/v3/listener.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/listener/v3/listener.upb.h" -#include "envoy/config/accesslog/v3/accesslog.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/config/core/v3/socket_option.upb.h" -#include "envoy/config/listener/v3/api_listener.upb.h" -#include "envoy/config/listener/v3/listener_components.upb.h" -#include "envoy/config/listener/v3/udp_listener_config.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "xds/core/v3/collection_entry.upb.h" -#include "xds/type/matcher/v3/matcher.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/security.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_listener_v3_AdditionalAddress_submsgs[2] = { - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_config_core_v3_SocketOptionsOverride_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_AdditionalAddress__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_AdditionalAddress_msg_init = { - &envoy_config_listener_v3_AdditionalAddress_submsgs[0], - &envoy_config_listener_v3_AdditionalAddress__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_listener_v3_ListenerCollection_submsgs[1] = { - {.submsg = &xds_core_v3_CollectionEntry_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_ListenerCollection__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_ListenerCollection_msg_init = { - &envoy_config_listener_v3_ListenerCollection_submsgs[0], - &envoy_config_listener_v3_ListenerCollection__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_listener_v3_Listener_submsgs[23] = { - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_config_listener_v3_FilterChain_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_Metadata_msg_init}, - {.submsg = &envoy_config_listener_v3_Listener_DeprecatedV1_msg_init}, - {.submsg = &envoy_config_listener_v3_ListenerFilter_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_SocketOption_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_listener_v3_UdpListenerConfig_msg_init}, - {.submsg = &envoy_config_listener_v3_ApiListener_msg_init}, - {.submsg = &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_msg_init}, - {.submsg = &envoy_config_accesslog_v3_AccessLog_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_listener_v3_FilterChain_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_listener_v3_Listener_InternalListenerConfig_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_msg_init}, - {.submsg = &envoy_config_listener_v3_AdditionalAddress_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_Listener__fields[31] = { - {1, UPB_SIZE(120, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 56), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 64), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 72), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(24, 80), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(28, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(32, 88), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(36, 96), 6, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(40, 104), 7, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(44, 112), 8, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(48, 120), 0, 10, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(52, 128), 9, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(56, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(60, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {18, UPB_SIZE(64, 136), 10, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {19, UPB_SIZE(68, 144), 11, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {20, UPB_SIZE(72, 152), 12, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {21, UPB_SIZE(76, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {22, UPB_SIZE(80, 160), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {24, UPB_SIZE(84, 168), 13, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {25, UPB_SIZE(88, 176), 14, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {26, UPB_SIZE(92, 184), 15, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {27, UPB_SIZE(116, 232), UPB_SIZE(-97, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {28, UPB_SIZE(128, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {29, UPB_SIZE(100, 208), 16, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {30, UPB_SIZE(104, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {31, UPB_SIZE(105, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {32, UPB_SIZE(108, 216), 17, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {33, UPB_SIZE(112, 224), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_Listener_msg_init = { - &envoy_config_listener_v3_Listener_submsgs[0], - &envoy_config_listener_v3_Listener__fields[0], - UPB_SIZE(136, 240), 31, kUpb_ExtMode_NonExtendable, 13, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f00000a, &upb_pss_1bt}, - {0x0028000001000012, &upb_psm_1bt_maxmaxb}, - {0x003000003f01001a, &upb_prm_1bt_maxmaxb}, - {0x0038000002020022, &upb_psm_1bt_maxmaxb}, - {0x004000000303002a, &upb_psm_1bt_maxmaxb}, - {0x0048000004040032, &upb_psm_1bt_maxmaxb}, - {0x005000000505003a, &upb_psm_1bt_max64b}, - {0x000400003f000040, &upb_psv4_1bt}, - {0x005800003f06004a, &upb_prm_1bt_maxmaxb}, - {0x0060000006070052, &upb_psm_1bt_maxmaxb}, - {0x006800000708005a, &upb_psm_1bt_maxmaxb}, - {0x0070000008090062, &upb_psm_1bt_maxmaxb}, - {0x007800003f0a006a, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x00800000090b007a, &upb_psm_1bt_maxmaxb}, - {0x000800003f000180, &upb_psv4_2bt}, - {0x000c00003f000188, &upb_psb1_2bt}, - {0x008800000a0c0192, &upb_psm_2bt_maxmaxb}, - {0x009000000b0d019a, &upb_psm_2bt_maxmaxb}, - {0x009800000c0e01a2, &upb_psm_2bt_max64b}, - {0x000d00003f0001a8, &upb_psb1_2bt}, - {0x00a000003f0f01b2, &upb_prm_2bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x00a800000d1001c2, &upb_psm_2bt_maxmaxb}, - {0x00b000000e1101ca, &upb_psm_2bt_maxmaxb}, - {0x00b800000f1201d2, &upb_psm_2bt_maxmaxb}, - {0x00e800101b1301da, &upb_pom_2bt_max64b}, - {0x00c000003f0001e2, &upb_pss_2bt}, - {0x00d00000101401ea, &upb_psm_2bt_maxmaxb}, - {0x001400003f0001f0, &upb_psb1_2bt}, - {0x001500003f0001f8, &upb_psb1_2bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_listener_v3_Listener_DeprecatedV1_submsgs[1] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_Listener_DeprecatedV1__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_Listener_DeprecatedV1_msg_init = { - &envoy_config_listener_v3_Listener_DeprecatedV1_submsgs[0], - &envoy_config_listener_v3_Listener_DeprecatedV1__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_listener_v3_Listener_ConnectionBalanceConfig_submsgs[2] = { - {.submsg = &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_Listener_ConnectionBalanceConfig__fields[2] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_Listener_ConnectionBalanceConfig_msg_init = { - &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_submsgs[0], - &envoy_config_listener_v3_Listener_ConnectionBalanceConfig__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -const upb_MiniTable envoy_config_listener_v3_Listener_InternalListenerConfig_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -const upb_MiniTable envoy_config_listener_v3_ListenerManager_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -const upb_MiniTable envoy_config_listener_v3_ValidationListenerManager_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -const upb_MiniTable envoy_config_listener_v3_ApiListenerManager_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTable *messages_layout[10] = { - &envoy_config_listener_v3_AdditionalAddress_msg_init, - &envoy_config_listener_v3_ListenerCollection_msg_init, - &envoy_config_listener_v3_Listener_msg_init, - &envoy_config_listener_v3_Listener_DeprecatedV1_msg_init, - &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_msg_init, - &envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_msg_init, - &envoy_config_listener_v3_Listener_InternalListenerConfig_msg_init, - &envoy_config_listener_v3_ListenerManager_msg_init, - &envoy_config_listener_v3_ValidationListenerManager_msg_init, - &envoy_config_listener_v3_ApiListenerManager_msg_init, -}; - -const upb_MiniTableFile envoy_config_listener_v3_listener_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 10, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c b/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c deleted file mode 100644 index bfda95582ca..00000000000 --- a/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +++ /dev/null @@ -1,261 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/listener/v3/listener_components.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/listener/v3/listener_components.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/config_source.upb.h" -#include "envoy/type/v3/range.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_listener_v3_Filter_submsgs[2] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &envoy_config_core_v3_ExtensionConfigSource_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_Filter__fields[3] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_Filter_msg_init = { - &envoy_config_listener_v3_Filter_submsgs[0], - &envoy_config_listener_v3_Filter__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0018000004000022, &upb_pom_1bt_maxmaxb}, - {0x001800000501002a, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_listener_v3_FilterChainMatch_submsgs[5] = { - {.submsg = &envoy_config_core_v3_CidrRange_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_CidrRange_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_CidrRange_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_FilterChainMatch__fields[11] = { - {3, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(40, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(16, 48), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(20, 56), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(24, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(28, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(32, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(36, 96), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_FilterChainMatch_msg_init = { - &envoy_config_listener_v3_FilterChainMatch_submsgs[0], - &envoy_config_listener_v3_FilterChainMatch__fields[0], - UPB_SIZE(56, 104), 11, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00001a, &upb_prm_1bt_maxmaxb}, - {0x001000003f000022, &upb_pss_1bt}, - {0x002000000101002a, &upb_psm_1bt_maxmaxb}, - {0x002800003f020032, &upb_prm_1bt_maxmaxb}, - {0x003000003f00003a, &upb_ppv4_1bt}, - {0x0038000002030042, &upb_psm_1bt_maxmaxb}, - {0x004000003f00004a, &upb_pss_1bt}, - {0x005000003f000052, &upb_prs_1bt}, - {0x005800003f00005a, &upb_prs_1bt}, - {0x000400003f000060, &upb_psv4_1bt}, - {0x006000003f04006a, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_listener_v3_FilterChain_submsgs[7] = { - {.submsg = &envoy_config_listener_v3_FilterChainMatch_msg_init}, - {.submsg = &envoy_config_listener_v3_Filter_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_core_v3_Metadata_msg_init}, - {.submsg = &envoy_config_core_v3_TransportSocket_msg_init}, - {.submsg = &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_FilterChain__fields[8] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 32), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 40), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(24, 64), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(28, 72), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_FilterChain_msg_init = { - &envoy_config_listener_v3_FilterChain_submsgs[0], - &envoy_config_listener_v3_FilterChain__fields[0], - UPB_SIZE(40, 80), 8, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f01001a, &upb_prm_1bt_max64b}, - {0x0018000002020022, &upb_psm_1bt_maxmaxb}, - {0x002000000303002a, &upb_psm_1bt_maxmaxb}, - {0x0028000004040032, &upb_psm_1bt_maxmaxb}, - {0x003000003f00003a, &upb_pss_1bt}, - {0x0040000005050042, &upb_psm_1bt_max64b}, - {0x004800000606004a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_listener_v3_FilterChain_OnDemandConfiguration_submsgs[1] = { - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_FilterChain_OnDemandConfiguration__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init = { - &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_submsgs[0], - &envoy_config_listener_v3_FilterChain_OnDemandConfiguration__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_listener_v3_ListenerFilterChainMatchPredicate_submsgs[4] = { - {.submsg = &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init}, - {.submsg = &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init}, - {.submsg = &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init}, - {.submsg = &envoy_type_v3_Int32Range_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_ListenerFilterChainMatchPredicate__fields[5] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init = { - &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_submsgs[0], - &envoy_config_listener_v3_ListenerFilterChainMatchPredicate__fields[0], - UPB_SIZE(8, 16), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x000800000302001a, &upb_pom_1bt_max64b}, - {0x0008000004000020, &upb_pob1_1bt}, - {0x000800000503002a, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_submsgs[1] = { - {.submsg = &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init = { - &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_submsgs[0], - &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_listener_v3_ListenerFilter_submsgs[3] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init}, - {.submsg = &envoy_config_core_v3_ExtensionConfigSource_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_ListenerFilter__fields[4] = { - {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 24), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 32), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_ListenerFilter_msg_init = { - &envoy_config_listener_v3_ListenerFilter_submsgs[0], - &envoy_config_listener_v3_ListenerFilter__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x002000040300001a, &upb_pom_1bt_maxmaxb}, - {0x0018000001010022, &upb_psm_1bt_max64b}, - {0x002000040502002a, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[7] = { - &envoy_config_listener_v3_Filter_msg_init, - &envoy_config_listener_v3_FilterChainMatch_msg_init, - &envoy_config_listener_v3_FilterChain_msg_init, - &envoy_config_listener_v3_FilterChain_OnDemandConfiguration_msg_init, - &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_msg_init, - &envoy_config_listener_v3_ListenerFilterChainMatchPredicate_MatchSet_msg_init, - &envoy_config_listener_v3_ListenerFilter_msg_init, -}; - -const upb_MiniTableFile envoy_config_listener_v3_listener_components_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 7, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c b/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c deleted file mode 100644 index e011690a999..00000000000 --- a/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +++ /dev/null @@ -1,87 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/listener/v3/quic_config.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/listener/v3/quic_config.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/config/core/v3/protocol.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_listener_v3_QuicProtocolOptions_submsgs[9] = { - {.submsg = &envoy_config_core_v3_QuicProtocolOptions_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_core_v3_RuntimeFeatureFlag_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_QuicProtocolOptions__fields[9] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 56), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(32, 64), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(36, 72), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_QuicProtocolOptions_msg_init = { - &envoy_config_listener_v3_QuicProtocolOptions_submsgs[0], - &envoy_config_listener_v3_QuicProtocolOptions__fields[0], - UPB_SIZE(40, 80), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - {0x0020000004030022, &upb_psm_1bt_maxmaxb}, - {0x002800000504002a, &upb_psm_1bt_maxmaxb}, - {0x0030000006050032, &upb_psm_1bt_maxmaxb}, - {0x003800000706003a, &upb_psm_1bt_maxmaxb}, - {0x0040000008070042, &upb_psm_1bt_maxmaxb}, - {0x004800000908004a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_listener_v3_QuicProtocolOptions_msg_init, -}; - -const upb_MiniTableFile envoy_config_listener_v3_quic_config_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c b/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c deleted file mode 100644 index 928ac12d778..00000000000 --- a/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +++ /dev/null @@ -1,78 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/listener/v3/udp_listener_config.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/listener/v3/udp_listener_config.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/config/core/v3/udp_socket_config.upb.h" -#include "envoy/config/listener/v3/quic_config.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_listener_v3_UdpListenerConfig_submsgs[3] = { - {.submsg = &envoy_config_core_v3_UdpSocketConfig_msg_init}, - {.submsg = &envoy_config_listener_v3_QuicProtocolOptions_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_listener_v3_UdpListenerConfig__fields[3] = { - {5, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_listener_v3_UdpListenerConfig_msg_init = { - &envoy_config_listener_v3_UdpListenerConfig_submsgs[0], - &envoy_config_listener_v3_UdpListenerConfig__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100002a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000000201003a, &upb_psm_1bt_maxmaxb}, - {0x0018000003020042, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable envoy_config_listener_v3_ActiveRawUdpListenerConfig_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_config_listener_v3_UdpListenerConfig_msg_init, - &envoy_config_listener_v3_ActiveRawUdpListenerConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_listener_v3_udp_listener_config_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c b/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c deleted file mode 100644 index 0b8294c1380..00000000000 --- a/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +++ /dev/null @@ -1,65 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/metrics/v3/metrics_service.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/metrics/v3/metrics_service.upb.h" -#include "envoy/config/core/v3/config_source.upb.h" -#include "envoy/config/core/v3/grpc_service.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_metrics_v3_MetricsServiceConfig_submsgs[2] = { - {.submsg = &envoy_config_core_v3_GrpcService_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_metrics_v3_MetricsServiceConfig__fields[5] = { - {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_metrics_v3_MetricsServiceConfig_msg_init = { - &envoy_config_metrics_v3_MetricsServiceConfig_submsgs[0], - &envoy_config_metrics_v3_MetricsServiceConfig__fields[0], - UPB_SIZE(24, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000000100000a, &upb_psm_1bt_maxmaxb}, - {0x0018000002010012, &upb_psm_1bt_maxmaxb}, - {0x000400003f000018, &upb_psv4_1bt}, - {0x000800003f000020, &upb_psb1_1bt}, - {0x000c00003f000028, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_metrics_v3_MetricsServiceConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_metrics_v3_metrics_service_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c b/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c deleted file mode 100644 index 4f1b0888b3e..00000000000 --- a/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +++ /dev/null @@ -1,220 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/metrics/v3/stats.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/metrics/v3/stats.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/type/matcher/v3/string.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_metrics_v3_StatsSink_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_metrics_v3_StatsSink__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_metrics_v3_StatsSink_msg_init = { - &envoy_config_metrics_v3_StatsSink_submsgs[0], - &envoy_config_metrics_v3_StatsSink__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000300001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_metrics_v3_StatsConfig_submsgs[4] = { - {.submsg = &envoy_config_metrics_v3_TagSpecifier_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_metrics_v3_StatsMatcher_msg_init}, - {.submsg = &envoy_config_metrics_v3_HistogramBucketSettings_msg_init}, -}; - -static const upb_MiniTableField envoy_config_metrics_v3_StatsConfig__fields[4] = { - {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_metrics_v3_StatsConfig_msg_init = { - &envoy_config_metrics_v3_StatsConfig_submsgs[0], - &envoy_config_metrics_v3_StatsConfig__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_max64b}, - {0x0010000001010012, &upb_psm_1bt_maxmaxb}, - {0x001800000202001a, &upb_psm_1bt_max64b}, - {0x002000003f030022, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_metrics_v3_StatsMatcher_submsgs[2] = { - {.submsg = &envoy_type_matcher_v3_ListStringMatcher_msg_init}, - {.submsg = &envoy_type_matcher_v3_ListStringMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_config_metrics_v3_StatsMatcher__fields[3] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_metrics_v3_StatsMatcher_msg_init = { - &envoy_config_metrics_v3_StatsMatcher_submsgs[0], - &envoy_config_metrics_v3_StatsMatcher__fields[0], - UPB_SIZE(8, 16), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000008, &upb_pob1_1bt}, - {0x0008000002000012, &upb_pom_1bt_maxmaxb}, - {0x000800000301001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableField envoy_config_metrics_v3_TagSpecifier__fields[3] = { - {1, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_metrics_v3_TagSpecifier_msg_init = { - NULL, - &envoy_config_metrics_v3_TagSpecifier__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f00000a, &upb_pss_1bt}, - {0x0008000002000012, &upb_pos_1bt}, - {0x000800000300001a, &upb_pos_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_metrics_v3_HistogramBucketSettings_submsgs[1] = { - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_config_metrics_v3_HistogramBucketSettings__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_metrics_v3_HistogramBucketSettings_msg_init = { - &envoy_config_metrics_v3_HistogramBucketSettings_submsgs[0], - &envoy_config_metrics_v3_HistogramBucketSettings__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_ppf8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_metrics_v3_StatsdSink_submsgs[1] = { - {.submsg = &envoy_config_core_v3_Address_msg_init}, -}; - -static const upb_MiniTableField envoy_config_metrics_v3_StatsdSink__fields[3] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_metrics_v3_StatsdSink_msg_init = { - &envoy_config_metrics_v3_StatsdSink_submsgs[0], - &envoy_config_metrics_v3_StatsdSink__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_maxmaxb}, - {0x0008000002000012, &upb_pos_1bt}, - {0x001800003f00001a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_metrics_v3_DogStatsdSink_submsgs[2] = { - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &google_protobuf_UInt64Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_metrics_v3_DogStatsdSink__fields[3] = { - {1, UPB_SIZE(12, 32), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 24), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_metrics_v3_DogStatsdSink_msg_init = { - &envoy_config_metrics_v3_DogStatsdSink_submsgs[0], - &envoy_config_metrics_v3_DogStatsdSink__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x002000040100000a, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00001a, &upb_pss_1bt}, - {0x0018000001010022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_metrics_v3_HystrixSink__fields[1] = { - {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_metrics_v3_HystrixSink_msg_init = { - NULL, - &envoy_config_metrics_v3_HystrixSink__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv8_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[8] = { - &envoy_config_metrics_v3_StatsSink_msg_init, - &envoy_config_metrics_v3_StatsConfig_msg_init, - &envoy_config_metrics_v3_StatsMatcher_msg_init, - &envoy_config_metrics_v3_TagSpecifier_msg_init, - &envoy_config_metrics_v3_HistogramBucketSettings_msg_init, - &envoy_config_metrics_v3_StatsdSink_msg_init, - &envoy_config_metrics_v3_DogStatsdSink_msg_init, - &envoy_config_metrics_v3_HystrixSink_msg_init, -}; - -const upb_MiniTableFile envoy_config_metrics_v3_stats_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 8, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c b/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c deleted file mode 100644 index 2ddcfa9e996..00000000000 --- a/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +++ /dev/null @@ -1,251 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/overload/v3/overload.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/overload/v3/overload.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/duration.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_overload_v3_ResourceMonitor_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_overload_v3_ResourceMonitor__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_overload_v3_ResourceMonitor_msg_init = { - &envoy_config_overload_v3_ResourceMonitor_submsgs[0], - &envoy_config_overload_v3_ResourceMonitor__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000300001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableField envoy_config_overload_v3_ThresholdTrigger__fields[1] = { - {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_overload_v3_ThresholdTrigger_msg_init = { - NULL, - &envoy_config_overload_v3_ThresholdTrigger__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000009, &upb_psf8_1bt}, - }) -}; - -static const upb_MiniTableField envoy_config_overload_v3_ScaledTrigger__fields[2] = { - {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_overload_v3_ScaledTrigger_msg_init = { - NULL, - &envoy_config_overload_v3_ScaledTrigger__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000009, &upb_psf8_1bt}, - {0x000800003f000011, &upb_psf8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_overload_v3_Trigger_submsgs[2] = { - {.submsg = &envoy_config_overload_v3_ThresholdTrigger_msg_init}, - {.submsg = &envoy_config_overload_v3_ScaledTrigger_msg_init}, -}; - -static const upb_MiniTableField envoy_config_overload_v3_Trigger__fields[3] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_overload_v3_Trigger_msg_init = { - &envoy_config_overload_v3_Trigger_submsgs[0], - &envoy_config_overload_v3_Trigger__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000002000012, &upb_pom_1bt_max64b}, - {0x001800000301001a, &upb_pom_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_overload_v3_ScaleTimersOverloadActionConfig_submsgs[1] = { - {.submsg = &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_msg_init}, -}; - -static const upb_MiniTableField envoy_config_overload_v3_ScaleTimersOverloadActionConfig__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_overload_v3_ScaleTimersOverloadActionConfig_msg_init = { - &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_submsgs[0], - &envoy_config_overload_v3_ScaleTimersOverloadActionConfig__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_submsgs[2] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_type_v3_Percent_msg_init}, -}; - -static const upb_MiniTableField envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer__fields[3] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_msg_init = { - &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_submsgs[0], - &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer__fields[0], - 16, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x0008000402000012, &upb_pom_1bt_maxmaxb}, - {0x000800040301001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_overload_v3_OverloadAction_submsgs[2] = { - {.submsg = &envoy_config_overload_v3_Trigger_msg_init}, - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_overload_v3_OverloadAction__fields[3] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_overload_v3_OverloadAction_msg_init = { - &envoy_config_overload_v3_OverloadAction_submsgs[0], - &envoy_config_overload_v3_OverloadAction__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prm_1bt_max64b}, - {0x002000000101001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_overload_v3_LoadShedPoint_submsgs[1] = { - {.submsg = &envoy_config_overload_v3_Trigger_msg_init}, -}; - -static const upb_MiniTableField envoy_config_overload_v3_LoadShedPoint__fields[2] = { - {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_overload_v3_LoadShedPoint_msg_init = { - &envoy_config_overload_v3_LoadShedPoint_submsgs[0], - &envoy_config_overload_v3_LoadShedPoint__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_overload_v3_BufferFactoryConfig__fields[1] = { - {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_overload_v3_BufferFactoryConfig_msg_init = { - NULL, - &envoy_config_overload_v3_BufferFactoryConfig__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_overload_v3_OverloadManager_submsgs[5] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_overload_v3_ResourceMonitor_msg_init}, - {.submsg = &envoy_config_overload_v3_OverloadAction_msg_init}, - {.submsg = &envoy_config_overload_v3_BufferFactoryConfig_msg_init}, - {.submsg = &envoy_config_overload_v3_LoadShedPoint_msg_init}, -}; - -static const upb_MiniTableField envoy_config_overload_v3_OverloadManager__fields[5] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_overload_v3_OverloadManager_msg_init = { - &envoy_config_overload_v3_OverloadManager_submsgs[0], - &envoy_config_overload_v3_OverloadManager__fields[0], - UPB_SIZE(24, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f010012, &upb_prm_1bt_max64b}, - {0x001800003f02001a, &upb_prm_1bt_max64b}, - {0x0020000002030022, &upb_psm_1bt_max64b}, - {0x002800003f04002a, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[10] = { - &envoy_config_overload_v3_ResourceMonitor_msg_init, - &envoy_config_overload_v3_ThresholdTrigger_msg_init, - &envoy_config_overload_v3_ScaledTrigger_msg_init, - &envoy_config_overload_v3_Trigger_msg_init, - &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_msg_init, - &envoy_config_overload_v3_ScaleTimersOverloadActionConfig_ScaleTimer_msg_init, - &envoy_config_overload_v3_OverloadAction_msg_init, - &envoy_config_overload_v3_LoadShedPoint_msg_init, - &envoy_config_overload_v3_BufferFactoryConfig_msg_init, - &envoy_config_overload_v3_OverloadManager_msg_init, -}; - -const upb_MiniTableFile envoy_config_overload_v3_overload_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 10, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c b/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c deleted file mode 100644 index 977aeb71c71..00000000000 --- a/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +++ /dev/null @@ -1,349 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/rbac/v3/rbac.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/rbac/v3/rbac.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/config/route/v3/route_components.upb.h" -#include "envoy/type/matcher/v3/filter_state.upb.h" -#include "envoy/type/matcher/v3/metadata.upb.h" -#include "envoy/type/matcher/v3/path.upb.h" -#include "envoy/type/matcher/v3/string.upb.h" -#include "envoy/type/v3/range.upb.h" -#include "google/api/expr/v1alpha1/checked.upb.h" -#include "google/api/expr/v1alpha1/syntax.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_rbac_v3_RBAC_submsgs[2] = { - {.submsg = &envoy_config_rbac_v3_RBAC_PoliciesEntry_msg_init}, - {.submsg = &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_msg_init}, -}; - -static const upb_MiniTableField envoy_config_rbac_v3_RBAC__fields[3] = { - {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_rbac_v3_RBAC_msg_init = { - &envoy_config_rbac_v3_RBAC_submsgs[0], - &envoy_config_rbac_v3_RBAC__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000000101001a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_rbac_v3_RBAC_AuditLoggingOptions_submsgs[1] = { - {.submsg = &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_rbac_v3_RBAC_AuditLoggingOptions__fields[2] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_rbac_v3_RBAC_AuditLoggingOptions_msg_init = { - &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_submsgs[0], - &envoy_config_rbac_v3_RBAC_AuditLoggingOptions__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000800003f000012, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_submsgs[1] = { - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_msg_init = { - &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_submsgs[0], - &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_rbac_v3_RBAC_PoliciesEntry_submsgs[1] = { - {.submsg = &envoy_config_rbac_v3_Policy_msg_init}, -}; - -static const upb_MiniTableField envoy_config_rbac_v3_RBAC_PoliciesEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_rbac_v3_RBAC_PoliciesEntry_msg_init = { - &envoy_config_rbac_v3_RBAC_PoliciesEntry_submsgs[0], - &envoy_config_rbac_v3_RBAC_PoliciesEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_rbac_v3_Policy_submsgs[4] = { - {.submsg = &envoy_config_rbac_v3_Permission_msg_init}, - {.submsg = &envoy_config_rbac_v3_Principal_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, - {.submsg = &google_api_expr_v1alpha1_CheckedExpr_msg_init}, -}; - -static const upb_MiniTableField envoy_config_rbac_v3_Policy__fields[4] = { - {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_rbac_v3_Policy_msg_init = { - &envoy_config_rbac_v3_Policy_submsgs[0], - &envoy_config_rbac_v3_Policy__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_max64b}, - {0x001000003f010012, &upb_prm_1bt_max64b}, - {0x001800000102001a, &upb_psm_1bt_maxmaxb}, - {0x0020000002030022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_rbac_v3_Permission_submsgs[10] = { - {.submsg = &envoy_config_rbac_v3_Permission_Set_msg_init}, - {.submsg = &envoy_config_rbac_v3_Permission_Set_msg_init}, - {.submsg = &envoy_config_route_v3_HeaderMatcher_msg_init}, - {.submsg = &envoy_config_core_v3_CidrRange_msg_init}, - {.submsg = &envoy_type_matcher_v3_MetadataMatcher_msg_init}, - {.submsg = &envoy_config_rbac_v3_Permission_msg_init}, - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, - {.submsg = &envoy_type_matcher_v3_PathMatcher_msg_init}, - {.submsg = &envoy_type_v3_Int32Range_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_rbac_v3_Permission__fields[12] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 8), -1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_rbac_v3_Permission_msg_init = { - &envoy_config_rbac_v3_Permission_submsgs[0], - &envoy_config_rbac_v3_Permission__fields[0], - UPB_SIZE(8, 16), 12, kUpb_ExtMode_NonExtendable, 12, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x0008000003000018, &upb_pob1_1bt}, - {0x0008000004020022, &upb_pom_1bt_maxmaxb}, - {0x000800000503002a, &upb_pom_1bt_maxmaxb}, - {0x0008000006000030, &upb_pov4_1bt}, - {0x000800000704003a, &upb_pom_1bt_maxmaxb}, - {0x0008000008050042, &upb_pom_1bt_max64b}, - {0x000800000906004a, &upb_pom_1bt_maxmaxb}, - {0x000800000a070052, &upb_pom_1bt_maxmaxb}, - {0x000800000b08005a, &upb_pom_1bt_maxmaxb}, - {0x000800000c090062, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_rbac_v3_Permission_Set_submsgs[1] = { - {.submsg = &envoy_config_rbac_v3_Permission_msg_init}, -}; - -static const upb_MiniTableField envoy_config_rbac_v3_Permission_Set__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_rbac_v3_Permission_Set_msg_init = { - &envoy_config_rbac_v3_Permission_Set_submsgs[0], - &envoy_config_rbac_v3_Permission_Set__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_rbac_v3_Principal_submsgs[11] = { - {.submsg = &envoy_config_rbac_v3_Principal_Set_msg_init}, - {.submsg = &envoy_config_rbac_v3_Principal_Set_msg_init}, - {.submsg = &envoy_config_rbac_v3_Principal_Authenticated_msg_init}, - {.submsg = &envoy_config_core_v3_CidrRange_msg_init}, - {.submsg = &envoy_config_route_v3_HeaderMatcher_msg_init}, - {.submsg = &envoy_type_matcher_v3_MetadataMatcher_msg_init}, - {.submsg = &envoy_config_rbac_v3_Principal_msg_init}, - {.submsg = &envoy_type_matcher_v3_PathMatcher_msg_init}, - {.submsg = &envoy_config_core_v3_CidrRange_msg_init}, - {.submsg = &envoy_config_core_v3_CidrRange_msg_init}, - {.submsg = &envoy_type_matcher_v3_FilterStateMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_config_rbac_v3_Principal__fields[12] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_rbac_v3_Principal_msg_init = { - &envoy_config_rbac_v3_Principal_submsgs[0], - &envoy_config_rbac_v3_Principal__fields[0], - UPB_SIZE(8, 16), 12, kUpb_ExtMode_NonExtendable, 12, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x0008000003000018, &upb_pob1_1bt}, - {0x0008000004020022, &upb_pom_1bt_max64b}, - {0x000800000503002a, &upb_pom_1bt_maxmaxb}, - {0x0008000006040032, &upb_pom_1bt_maxmaxb}, - {0x000800000705003a, &upb_pom_1bt_maxmaxb}, - {0x0008000008060042, &upb_pom_1bt_max64b}, - {0x000800000907004a, &upb_pom_1bt_maxmaxb}, - {0x000800000a080052, &upb_pom_1bt_maxmaxb}, - {0x000800000b09005a, &upb_pom_1bt_maxmaxb}, - {0x000800000c0a0062, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_rbac_v3_Principal_Set_submsgs[1] = { - {.submsg = &envoy_config_rbac_v3_Principal_msg_init}, -}; - -static const upb_MiniTableField envoy_config_rbac_v3_Principal_Set__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_rbac_v3_Principal_Set_msg_init = { - &envoy_config_rbac_v3_Principal_Set_submsgs[0], - &envoy_config_rbac_v3_Principal_Set__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_rbac_v3_Principal_Authenticated_submsgs[1] = { - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_config_rbac_v3_Principal_Authenticated__fields[1] = { - {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_rbac_v3_Principal_Authenticated_msg_init = { - &envoy_config_rbac_v3_Principal_Authenticated_submsgs[0], - &envoy_config_rbac_v3_Principal_Authenticated__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_rbac_v3_Action__fields[2] = { - {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_rbac_v3_Action_msg_init = { - NULL, - &envoy_config_rbac_v3_Action__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x000000003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[11] = { - &envoy_config_rbac_v3_RBAC_msg_init, - &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_msg_init, - &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_msg_init, - &envoy_config_rbac_v3_RBAC_PoliciesEntry_msg_init, - &envoy_config_rbac_v3_Policy_msg_init, - &envoy_config_rbac_v3_Permission_msg_init, - &envoy_config_rbac_v3_Permission_Set_msg_init, - &envoy_config_rbac_v3_Principal_msg_init, - &envoy_config_rbac_v3_Principal_Set_msg_init, - &envoy_config_rbac_v3_Principal_Authenticated_msg_init, - &envoy_config_rbac_v3_Action_msg_init, -}; - -const upb_MiniTableFile envoy_config_rbac_v3_rbac_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 11, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h b/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h deleted file mode 100644 index 1e9909f7fc9..00000000000 --- a/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +++ /dev/null @@ -1,1709 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/rbac/v3/rbac.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPB_H_ -#define ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_config_rbac_v3_RBAC envoy_config_rbac_v3_RBAC; -typedef struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions envoy_config_rbac_v3_RBAC_AuditLoggingOptions; -typedef struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig; -typedef struct envoy_config_rbac_v3_RBAC_PoliciesEntry envoy_config_rbac_v3_RBAC_PoliciesEntry; -typedef struct envoy_config_rbac_v3_Policy envoy_config_rbac_v3_Policy; -typedef struct envoy_config_rbac_v3_Permission envoy_config_rbac_v3_Permission; -typedef struct envoy_config_rbac_v3_Permission_Set envoy_config_rbac_v3_Permission_Set; -typedef struct envoy_config_rbac_v3_Principal envoy_config_rbac_v3_Principal; -typedef struct envoy_config_rbac_v3_Principal_Set envoy_config_rbac_v3_Principal_Set; -typedef struct envoy_config_rbac_v3_Principal_Authenticated envoy_config_rbac_v3_Principal_Authenticated; -typedef struct envoy_config_rbac_v3_Action envoy_config_rbac_v3_Action; -extern const upb_MiniTable envoy_config_rbac_v3_RBAC_msg_init; -extern const upb_MiniTable envoy_config_rbac_v3_RBAC_AuditLoggingOptions_msg_init; -extern const upb_MiniTable envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_msg_init; -extern const upb_MiniTable envoy_config_rbac_v3_RBAC_PoliciesEntry_msg_init; -extern const upb_MiniTable envoy_config_rbac_v3_Policy_msg_init; -extern const upb_MiniTable envoy_config_rbac_v3_Permission_msg_init; -extern const upb_MiniTable envoy_config_rbac_v3_Permission_Set_msg_init; -extern const upb_MiniTable envoy_config_rbac_v3_Principal_msg_init; -extern const upb_MiniTable envoy_config_rbac_v3_Principal_Set_msg_init; -extern const upb_MiniTable envoy_config_rbac_v3_Principal_Authenticated_msg_init; -extern const upb_MiniTable envoy_config_rbac_v3_Action_msg_init; -struct envoy_config_core_v3_CidrRange; -struct envoy_config_core_v3_TypedExtensionConfig; -struct envoy_config_route_v3_HeaderMatcher; -struct envoy_type_matcher_v3_FilterStateMatcher; -struct envoy_type_matcher_v3_MetadataMatcher; -struct envoy_type_matcher_v3_PathMatcher; -struct envoy_type_matcher_v3_StringMatcher; -struct envoy_type_v3_Int32Range; -struct google_api_expr_v1alpha1_CheckedExpr; -struct google_api_expr_v1alpha1_Expr; -extern const upb_MiniTable envoy_config_core_v3_CidrRange_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable envoy_config_route_v3_HeaderMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_FilterStateMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_MetadataMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_PathMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msg_init; -extern const upb_MiniTable envoy_type_v3_Int32Range_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_CheckedExpr_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_Expr_msg_init; - -typedef enum { - envoy_config_rbac_v3_RBAC_ALLOW = 0, - envoy_config_rbac_v3_RBAC_DENY = 1, - envoy_config_rbac_v3_RBAC_LOG = 2 -} envoy_config_rbac_v3_RBAC_Action; - -typedef enum { - envoy_config_rbac_v3_RBAC_AuditLoggingOptions_NONE = 0, - envoy_config_rbac_v3_RBAC_AuditLoggingOptions_ON_DENY = 1, - envoy_config_rbac_v3_RBAC_AuditLoggingOptions_ON_ALLOW = 2, - envoy_config_rbac_v3_RBAC_AuditLoggingOptions_ON_DENY_AND_ALLOW = 3 -} envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditCondition; - - - -/* envoy.config.rbac.v3.RBAC */ - -UPB_INLINE envoy_config_rbac_v3_RBAC* envoy_config_rbac_v3_RBAC_new(upb_Arena* arena) { - return (envoy_config_rbac_v3_RBAC*)_upb_Message_New(&envoy_config_rbac_v3_RBAC_msg_init, arena); -} -UPB_INLINE envoy_config_rbac_v3_RBAC* envoy_config_rbac_v3_RBAC_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_rbac_v3_RBAC* ret = envoy_config_rbac_v3_RBAC_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_RBAC_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_rbac_v3_RBAC* envoy_config_rbac_v3_RBAC_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_rbac_v3_RBAC* ret = envoy_config_rbac_v3_RBAC_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_RBAC_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_rbac_v3_RBAC_serialize(const envoy_config_rbac_v3_RBAC* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_RBAC_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_rbac_v3_RBAC_serialize_ex(const envoy_config_rbac_v3_RBAC* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_RBAC_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_rbac_v3_RBAC_clear_action(envoy_config_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_config_rbac_v3_RBAC_action(const envoy_config_rbac_v3_RBAC* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_rbac_v3_RBAC_clear_policies(envoy_config_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE size_t envoy_config_rbac_v3_RBAC_policies_size(const envoy_config_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - return map ? _upb_Map_Size(map) : 0; -} -UPB_INLINE bool envoy_config_rbac_v3_RBAC_policies_get(const envoy_config_rbac_v3_RBAC* msg, upb_StringView key, envoy_config_rbac_v3_Policy** val) { - const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Get(map, &key, 0, val, sizeof(*val)); -} -UPB_INLINE const envoy_config_rbac_v3_RBAC_PoliciesEntry* envoy_config_rbac_v3_RBAC_policies_next(const envoy_config_rbac_v3_RBAC* msg, size_t* iter) { - const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (const envoy_config_rbac_v3_RBAC_PoliciesEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_config_rbac_v3_RBAC_clear_audit_logging_options(envoy_config_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* envoy_config_rbac_v3_RBAC_audit_logging_options(const envoy_config_rbac_v3_RBAC* msg) { - const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* default_val = NULL; - const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_RBAC_has_audit_logging_options(const envoy_config_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_rbac_v3_RBAC_set_action(envoy_config_rbac_v3_RBAC *msg, int32_t value) { - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_rbac_v3_RBAC_policies_clear(envoy_config_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return; - _upb_Map_Clear(map); -} -UPB_INLINE bool envoy_config_rbac_v3_RBAC_policies_set(envoy_config_rbac_v3_RBAC* msg, upb_StringView key, envoy_config_rbac_v3_Policy* val, upb_Arena* a) { - const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, sizeof(val), a); - return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) != - kUpb_MapInsertStatus_OutOfMemory; -} -UPB_INLINE bool envoy_config_rbac_v3_RBAC_policies_delete(envoy_config_rbac_v3_RBAC* msg, upb_StringView key) { - const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Delete(map, &key, 0, NULL); -} -UPB_INLINE envoy_config_rbac_v3_RBAC_PoliciesEntry* envoy_config_rbac_v3_RBAC_policies_nextmutable(envoy_config_rbac_v3_RBAC* msg, size_t* iter) { - const upb_MiniTableField field = {2, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (envoy_config_rbac_v3_RBAC_PoliciesEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_config_rbac_v3_RBAC_set_audit_logging_options(envoy_config_rbac_v3_RBAC *msg, envoy_config_rbac_v3_RBAC_AuditLoggingOptions* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions* envoy_config_rbac_v3_RBAC_mutable_audit_logging_options(envoy_config_rbac_v3_RBAC* msg, upb_Arena* arena) { - struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions* sub = (struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions*)envoy_config_rbac_v3_RBAC_audit_logging_options(msg); - if (sub == NULL) { - sub = (struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions*)_upb_Message_New(&envoy_config_rbac_v3_RBAC_AuditLoggingOptions_msg_init, arena); - if (sub) envoy_config_rbac_v3_RBAC_set_audit_logging_options(msg, sub); - } - return sub; -} - -/* envoy.config.rbac.v3.RBAC.AuditLoggingOptions */ - -UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_new(upb_Arena* arena) { - return (envoy_config_rbac_v3_RBAC_AuditLoggingOptions*)_upb_Message_New(&envoy_config_rbac_v3_RBAC_AuditLoggingOptions_msg_init, arena); -} -UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_rbac_v3_RBAC_AuditLoggingOptions* ret = envoy_config_rbac_v3_RBAC_AuditLoggingOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_rbac_v3_RBAC_AuditLoggingOptions* ret = envoy_config_rbac_v3_RBAC_AuditLoggingOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_serialize(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_serialize_ex(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_clear_audit_condition(envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_config_rbac_v3_RBAC_AuditLoggingOptions_audit_condition(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_clear_logger_configs(envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* const* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_logger_configs(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_rbac_v3_RBAC_AuditLoggingOptions_logger_configs_upb_array(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_rbac_v3_RBAC_AuditLoggingOptions_logger_configs_mutable_upb_array(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_rbac_v3_RBAC_AuditLoggingOptions_has_logger_configs(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg) { - size_t size; - envoy_config_rbac_v3_RBAC_AuditLoggingOptions_logger_configs(msg, &size); - return size != 0; -} - -UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_set_audit_condition(envoy_config_rbac_v3_RBAC_AuditLoggingOptions *msg, int32_t value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig** envoy_config_rbac_v3_RBAC_AuditLoggingOptions_mutable_logger_configs(envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig** envoy_config_rbac_v3_RBAC_AuditLoggingOptions_resize_logger_configs(envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_add_logger_configs(envoy_config_rbac_v3_RBAC_AuditLoggingOptions* msg, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* sub = (struct envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig*)_upb_Message_New(&envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.rbac.v3.RBAC.AuditLoggingOptions.AuditLoggerConfig */ - -UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_new(upb_Arena* arena) { - return (envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig*)_upb_Message_New(&envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_msg_init, arena); -} -UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* ret = envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* ret = envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_serialize(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_serialize_ex(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_clear_audit_logger(envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_audit_logger(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg) { - const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; - const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_has_audit_logger(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_clear_is_optional(envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_is_optional(const envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_set_audit_logger(envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_mutable_audit_logger(envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_audit_logger(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_set_audit_logger(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_set_is_optional(envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig *msg, bool value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.config.rbac.v3.RBAC.PoliciesEntry */ - -UPB_INLINE upb_StringView envoy_config_rbac_v3_RBAC_PoliciesEntry_key(const envoy_config_rbac_v3_RBAC_PoliciesEntry* msg) { - upb_StringView ret; - _upb_msg_map_key(msg, &ret, 0); - return ret; -} -UPB_INLINE const envoy_config_rbac_v3_Policy* envoy_config_rbac_v3_RBAC_PoliciesEntry_value(const envoy_config_rbac_v3_RBAC_PoliciesEntry* msg) { - envoy_config_rbac_v3_Policy* ret; - _upb_msg_map_value(msg, &ret, sizeof(ret)); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_RBAC_PoliciesEntry_has_value(const envoy_config_rbac_v3_RBAC_PoliciesEntry* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_rbac_v3_RBAC_PoliciesEntry_set_value(envoy_config_rbac_v3_RBAC_PoliciesEntry *msg, envoy_config_rbac_v3_Policy* value) { - _upb_msg_map_set_value(msg, &value, sizeof(envoy_config_rbac_v3_Policy*)); -} - -/* envoy.config.rbac.v3.Policy */ - -UPB_INLINE envoy_config_rbac_v3_Policy* envoy_config_rbac_v3_Policy_new(upb_Arena* arena) { - return (envoy_config_rbac_v3_Policy*)_upb_Message_New(&envoy_config_rbac_v3_Policy_msg_init, arena); -} -UPB_INLINE envoy_config_rbac_v3_Policy* envoy_config_rbac_v3_Policy_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_rbac_v3_Policy* ret = envoy_config_rbac_v3_Policy_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Policy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_rbac_v3_Policy* envoy_config_rbac_v3_Policy_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_rbac_v3_Policy* ret = envoy_config_rbac_v3_Policy_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Policy_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_rbac_v3_Policy_serialize(const envoy_config_rbac_v3_Policy* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Policy_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_rbac_v3_Policy_serialize_ex(const envoy_config_rbac_v3_Policy* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Policy_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_rbac_v3_Policy_clear_permissions(envoy_config_rbac_v3_Policy* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_rbac_v3_Permission* const* envoy_config_rbac_v3_Policy_permissions(const envoy_config_rbac_v3_Policy* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_rbac_v3_Permission* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_rbac_v3_Policy_permissions_upb_array(const envoy_config_rbac_v3_Policy* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_rbac_v3_Policy_permissions_mutable_upb_array(const envoy_config_rbac_v3_Policy* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_rbac_v3_Policy_has_permissions(const envoy_config_rbac_v3_Policy* msg) { - size_t size; - envoy_config_rbac_v3_Policy_permissions(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_config_rbac_v3_Policy_clear_principals(envoy_config_rbac_v3_Policy* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_rbac_v3_Principal* const* envoy_config_rbac_v3_Policy_principals(const envoy_config_rbac_v3_Policy* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_rbac_v3_Principal* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_rbac_v3_Policy_principals_upb_array(const envoy_config_rbac_v3_Policy* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_rbac_v3_Policy_principals_mutable_upb_array(const envoy_config_rbac_v3_Policy* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_rbac_v3_Policy_has_principals(const envoy_config_rbac_v3_Policy* msg) { - size_t size; - envoy_config_rbac_v3_Policy_principals(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_config_rbac_v3_Policy_clear_condition(envoy_config_rbac_v3_Policy* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_api_expr_v1alpha1_Expr* envoy_config_rbac_v3_Policy_condition(const envoy_config_rbac_v3_Policy* msg) { - const struct google_api_expr_v1alpha1_Expr* default_val = NULL; - const struct google_api_expr_v1alpha1_Expr* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Policy_has_condition(const envoy_config_rbac_v3_Policy* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Policy_clear_checked_condition(envoy_config_rbac_v3_Policy* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_api_expr_v1alpha1_CheckedExpr* envoy_config_rbac_v3_Policy_checked_condition(const envoy_config_rbac_v3_Policy* msg) { - const struct google_api_expr_v1alpha1_CheckedExpr* default_val = NULL; - const struct google_api_expr_v1alpha1_CheckedExpr* ret; - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Policy_has_checked_condition(const envoy_config_rbac_v3_Policy* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE envoy_config_rbac_v3_Permission** envoy_config_rbac_v3_Policy_mutable_permissions(envoy_config_rbac_v3_Policy* msg, size_t* size) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_rbac_v3_Permission**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_rbac_v3_Permission** envoy_config_rbac_v3_Policy_resize_permissions(envoy_config_rbac_v3_Policy* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_rbac_v3_Permission**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Policy_add_permissions(envoy_config_rbac_v3_Policy* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_rbac_v3_Permission* sub = (struct envoy_config_rbac_v3_Permission*)_upb_Message_New(&envoy_config_rbac_v3_Permission_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE envoy_config_rbac_v3_Principal** envoy_config_rbac_v3_Policy_mutable_principals(envoy_config_rbac_v3_Policy* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_rbac_v3_Principal**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_rbac_v3_Principal** envoy_config_rbac_v3_Policy_resize_principals(envoy_config_rbac_v3_Policy* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_rbac_v3_Principal**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Policy_add_principals(envoy_config_rbac_v3_Policy* msg, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_rbac_v3_Principal* sub = (struct envoy_config_rbac_v3_Principal*)_upb_Message_New(&envoy_config_rbac_v3_Principal_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Policy_set_condition(envoy_config_rbac_v3_Policy *msg, struct google_api_expr_v1alpha1_Expr* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_api_expr_v1alpha1_Expr* envoy_config_rbac_v3_Policy_mutable_condition(envoy_config_rbac_v3_Policy* msg, upb_Arena* arena) { - struct google_api_expr_v1alpha1_Expr* sub = (struct google_api_expr_v1alpha1_Expr*)envoy_config_rbac_v3_Policy_condition(msg); - if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_Expr*)_upb_Message_New(&google_api_expr_v1alpha1_Expr_msg_init, arena); - if (sub) envoy_config_rbac_v3_Policy_set_condition(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Policy_set_checked_condition(envoy_config_rbac_v3_Policy *msg, struct google_api_expr_v1alpha1_CheckedExpr* value) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_api_expr_v1alpha1_CheckedExpr* envoy_config_rbac_v3_Policy_mutable_checked_condition(envoy_config_rbac_v3_Policy* msg, upb_Arena* arena) { - struct google_api_expr_v1alpha1_CheckedExpr* sub = (struct google_api_expr_v1alpha1_CheckedExpr*)envoy_config_rbac_v3_Policy_checked_condition(msg); - if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_CheckedExpr*)_upb_Message_New(&google_api_expr_v1alpha1_CheckedExpr_msg_init, arena); - if (sub) envoy_config_rbac_v3_Policy_set_checked_condition(msg, sub); - } - return sub; -} - -/* envoy.config.rbac.v3.Permission */ - -UPB_INLINE envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Permission_new(upb_Arena* arena) { - return (envoy_config_rbac_v3_Permission*)_upb_Message_New(&envoy_config_rbac_v3_Permission_msg_init, arena); -} -UPB_INLINE envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Permission_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_rbac_v3_Permission* ret = envoy_config_rbac_v3_Permission_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Permission_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Permission_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_rbac_v3_Permission* ret = envoy_config_rbac_v3_Permission_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Permission_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_rbac_v3_Permission_serialize(const envoy_config_rbac_v3_Permission* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Permission_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_rbac_v3_Permission_serialize_ex(const envoy_config_rbac_v3_Permission* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Permission_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_rbac_v3_Permission_rule_and_rules = 1, - envoy_config_rbac_v3_Permission_rule_or_rules = 2, - envoy_config_rbac_v3_Permission_rule_any = 3, - envoy_config_rbac_v3_Permission_rule_header = 4, - envoy_config_rbac_v3_Permission_rule_url_path = 10, - envoy_config_rbac_v3_Permission_rule_destination_ip = 5, - envoy_config_rbac_v3_Permission_rule_destination_port = 6, - envoy_config_rbac_v3_Permission_rule_destination_port_range = 11, - envoy_config_rbac_v3_Permission_rule_metadata = 7, - envoy_config_rbac_v3_Permission_rule_not_rule = 8, - envoy_config_rbac_v3_Permission_rule_requested_server_name = 9, - envoy_config_rbac_v3_Permission_rule_matcher = 12, - envoy_config_rbac_v3_Permission_rule_NOT_SET = 0 -} envoy_config_rbac_v3_Permission_rule_oneofcases; -UPB_INLINE envoy_config_rbac_v3_Permission_rule_oneofcases envoy_config_rbac_v3_Permission_rule_case(const envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_rbac_v3_Permission_rule_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_clear_and_rules(envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_and_rules(const envoy_config_rbac_v3_Permission* msg) { - const envoy_config_rbac_v3_Permission_Set* default_val = NULL; - const envoy_config_rbac_v3_Permission_Set* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_has_and_rules(const envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_clear_or_rules(envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_or_rules(const envoy_config_rbac_v3_Permission* msg) { - const envoy_config_rbac_v3_Permission_Set* default_val = NULL; - const envoy_config_rbac_v3_Permission_Set* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_has_or_rules(const envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_clear_any(envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_any(const envoy_config_rbac_v3_Permission* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_has_any(const envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_clear_header(envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* envoy_config_rbac_v3_Permission_header(const envoy_config_rbac_v3_Permission* msg) { - const struct envoy_config_route_v3_HeaderMatcher* default_val = NULL; - const struct envoy_config_route_v3_HeaderMatcher* ret; - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_has_header(const envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_clear_destination_ip(envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Permission_destination_ip(const envoy_config_rbac_v3_Permission* msg) { - const struct envoy_config_core_v3_CidrRange* default_val = NULL; - const struct envoy_config_core_v3_CidrRange* ret; - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_has_destination_ip(const envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_clear_destination_port(envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint32_t envoy_config_rbac_v3_Permission_destination_port(const envoy_config_rbac_v3_Permission* msg) { - uint32_t default_val = (uint32_t)0u; - uint32_t ret; - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_has_destination_port(const envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_clear_metadata(envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_rbac_v3_Permission_metadata(const envoy_config_rbac_v3_Permission* msg) { - const struct envoy_type_matcher_v3_MetadataMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_MetadataMatcher* ret; - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_has_metadata(const envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_clear_not_rule(envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Permission_not_rule(const envoy_config_rbac_v3_Permission* msg) { - const envoy_config_rbac_v3_Permission* default_val = NULL; - const envoy_config_rbac_v3_Permission* ret; - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_has_not_rule(const envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_clear_requested_server_name(envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* envoy_config_rbac_v3_Permission_requested_server_name(const envoy_config_rbac_v3_Permission* msg) { - const struct envoy_type_matcher_v3_StringMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_StringMatcher* ret; - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_has_requested_server_name(const envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_clear_url_path(envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_PathMatcher* envoy_config_rbac_v3_Permission_url_path(const envoy_config_rbac_v3_Permission* msg) { - const struct envoy_type_matcher_v3_PathMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_PathMatcher* ret; - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_has_url_path(const envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_clear_destination_port_range(envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_v3_Int32Range* envoy_config_rbac_v3_Permission_destination_port_range(const envoy_config_rbac_v3_Permission* msg) { - const struct envoy_type_v3_Int32Range* default_val = NULL; - const struct envoy_type_v3_Int32Range* ret; - const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_has_destination_port_range(const envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_clear_matcher(envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_rbac_v3_Permission_matcher(const envoy_config_rbac_v3_Permission* msg) { - const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; - const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_has_matcher(const envoy_config_rbac_v3_Permission* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_rbac_v3_Permission_set_and_rules(envoy_config_rbac_v3_Permission *msg, envoy_config_rbac_v3_Permission_Set* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_mutable_and_rules(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { - struct envoy_config_rbac_v3_Permission_Set* sub = (struct envoy_config_rbac_v3_Permission_Set*)envoy_config_rbac_v3_Permission_and_rules(msg); - if (sub == NULL) { - sub = (struct envoy_config_rbac_v3_Permission_Set*)_upb_Message_New(&envoy_config_rbac_v3_Permission_Set_msg_init, arena); - if (sub) envoy_config_rbac_v3_Permission_set_and_rules(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Permission_set_or_rules(envoy_config_rbac_v3_Permission *msg, envoy_config_rbac_v3_Permission_Set* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_mutable_or_rules(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { - struct envoy_config_rbac_v3_Permission_Set* sub = (struct envoy_config_rbac_v3_Permission_Set*)envoy_config_rbac_v3_Permission_or_rules(msg); - if (sub == NULL) { - sub = (struct envoy_config_rbac_v3_Permission_Set*)_upb_Message_New(&envoy_config_rbac_v3_Permission_Set_msg_init, arena); - if (sub) envoy_config_rbac_v3_Permission_set_or_rules(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Permission_set_any(envoy_config_rbac_v3_Permission *msg, bool value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_set_header(envoy_config_rbac_v3_Permission *msg, struct envoy_config_route_v3_HeaderMatcher* value) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_rbac_v3_Permission_mutable_header(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { - struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)envoy_config_rbac_v3_Permission_header(msg); - if (sub == NULL) { - sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy_config_route_v3_HeaderMatcher_msg_init, arena); - if (sub) envoy_config_rbac_v3_Permission_set_header(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Permission_set_destination_ip(envoy_config_rbac_v3_Permission *msg, struct envoy_config_core_v3_CidrRange* value) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Permission_mutable_destination_ip(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { - struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)envoy_config_rbac_v3_Permission_destination_ip(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena); - if (sub) envoy_config_rbac_v3_Permission_set_destination_ip(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Permission_set_destination_port(envoy_config_rbac_v3_Permission *msg, uint32_t value) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_rbac_v3_Permission_set_metadata(envoy_config_rbac_v3_Permission *msg, struct envoy_type_matcher_v3_MetadataMatcher* value) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_rbac_v3_Permission_mutable_metadata(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_MetadataMatcher* sub = (struct envoy_type_matcher_v3_MetadataMatcher*)envoy_config_rbac_v3_Permission_metadata(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_MetadataMatcher*)_upb_Message_New(&envoy_type_matcher_v3_MetadataMatcher_msg_init, arena); - if (sub) envoy_config_rbac_v3_Permission_set_metadata(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Permission_set_not_rule(envoy_config_rbac_v3_Permission *msg, envoy_config_rbac_v3_Permission* value) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Permission_mutable_not_rule(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { - struct envoy_config_rbac_v3_Permission* sub = (struct envoy_config_rbac_v3_Permission*)envoy_config_rbac_v3_Permission_not_rule(msg); - if (sub == NULL) { - sub = (struct envoy_config_rbac_v3_Permission*)_upb_Message_New(&envoy_config_rbac_v3_Permission_msg_init, arena); - if (sub) envoy_config_rbac_v3_Permission_set_not_rule(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Permission_set_requested_server_name(envoy_config_rbac_v3_Permission *msg, struct envoy_type_matcher_v3_StringMatcher* value) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_rbac_v3_Permission_mutable_requested_server_name(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_config_rbac_v3_Permission_requested_server_name(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); - if (sub) envoy_config_rbac_v3_Permission_set_requested_server_name(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Permission_set_url_path(envoy_config_rbac_v3_Permission *msg, struct envoy_type_matcher_v3_PathMatcher* value) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_PathMatcher* envoy_config_rbac_v3_Permission_mutable_url_path(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_PathMatcher* sub = (struct envoy_type_matcher_v3_PathMatcher*)envoy_config_rbac_v3_Permission_url_path(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_PathMatcher*)_upb_Message_New(&envoy_type_matcher_v3_PathMatcher_msg_init, arena); - if (sub) envoy_config_rbac_v3_Permission_set_url_path(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Permission_set_destination_port_range(envoy_config_rbac_v3_Permission *msg, struct envoy_type_v3_Int32Range* value) { - const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_v3_Int32Range* envoy_config_rbac_v3_Permission_mutable_destination_port_range(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { - struct envoy_type_v3_Int32Range* sub = (struct envoy_type_v3_Int32Range*)envoy_config_rbac_v3_Permission_destination_port_range(msg); - if (sub == NULL) { - sub = (struct envoy_type_v3_Int32Range*)_upb_Message_New(&envoy_type_v3_Int32Range_msg_init, arena); - if (sub) envoy_config_rbac_v3_Permission_set_destination_port_range(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Permission_set_matcher(envoy_config_rbac_v3_Permission *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_rbac_v3_Permission_mutable_matcher(envoy_config_rbac_v3_Permission* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_rbac_v3_Permission_matcher(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) envoy_config_rbac_v3_Permission_set_matcher(msg, sub); - } - return sub; -} - -/* envoy.config.rbac.v3.Permission.Set */ - -UPB_INLINE envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_Set_new(upb_Arena* arena) { - return (envoy_config_rbac_v3_Permission_Set*)_upb_Message_New(&envoy_config_rbac_v3_Permission_Set_msg_init, arena); -} -UPB_INLINE envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_Set_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_rbac_v3_Permission_Set* ret = envoy_config_rbac_v3_Permission_Set_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Permission_Set_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_Set_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_rbac_v3_Permission_Set* ret = envoy_config_rbac_v3_Permission_Set_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Permission_Set_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_rbac_v3_Permission_Set_serialize(const envoy_config_rbac_v3_Permission_Set* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Permission_Set_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_rbac_v3_Permission_Set_serialize_ex(const envoy_config_rbac_v3_Permission_Set* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Permission_Set_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_rbac_v3_Permission_Set_clear_rules(envoy_config_rbac_v3_Permission_Set* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_rbac_v3_Permission* const* envoy_config_rbac_v3_Permission_Set_rules(const envoy_config_rbac_v3_Permission_Set* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_rbac_v3_Permission* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_rbac_v3_Permission_Set_rules_upb_array(const envoy_config_rbac_v3_Permission_Set* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_rbac_v3_Permission_Set_rules_mutable_upb_array(const envoy_config_rbac_v3_Permission_Set* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_rbac_v3_Permission_Set_has_rules(const envoy_config_rbac_v3_Permission_Set* msg) { - size_t size; - envoy_config_rbac_v3_Permission_Set_rules(msg, &size); - return size != 0; -} - -UPB_INLINE envoy_config_rbac_v3_Permission** envoy_config_rbac_v3_Permission_Set_mutable_rules(envoy_config_rbac_v3_Permission_Set* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_rbac_v3_Permission**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_rbac_v3_Permission** envoy_config_rbac_v3_Permission_Set_resize_rules(envoy_config_rbac_v3_Permission_Set* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_rbac_v3_Permission**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Permission_Set_add_rules(envoy_config_rbac_v3_Permission_Set* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_rbac_v3_Permission* sub = (struct envoy_config_rbac_v3_Permission*)_upb_Message_New(&envoy_config_rbac_v3_Permission_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.rbac.v3.Principal */ - -UPB_INLINE envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Principal_new(upb_Arena* arena) { - return (envoy_config_rbac_v3_Principal*)_upb_Message_New(&envoy_config_rbac_v3_Principal_msg_init, arena); -} -UPB_INLINE envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Principal_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_rbac_v3_Principal* ret = envoy_config_rbac_v3_Principal_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Principal_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Principal_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_rbac_v3_Principal* ret = envoy_config_rbac_v3_Principal_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Principal_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_rbac_v3_Principal_serialize(const envoy_config_rbac_v3_Principal* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Principal_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_rbac_v3_Principal_serialize_ex(const envoy_config_rbac_v3_Principal* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Principal_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_rbac_v3_Principal_identifier_and_ids = 1, - envoy_config_rbac_v3_Principal_identifier_or_ids = 2, - envoy_config_rbac_v3_Principal_identifier_any = 3, - envoy_config_rbac_v3_Principal_identifier_authenticated = 4, - envoy_config_rbac_v3_Principal_identifier_source_ip = 5, - envoy_config_rbac_v3_Principal_identifier_direct_remote_ip = 10, - envoy_config_rbac_v3_Principal_identifier_remote_ip = 11, - envoy_config_rbac_v3_Principal_identifier_header = 6, - envoy_config_rbac_v3_Principal_identifier_url_path = 9, - envoy_config_rbac_v3_Principal_identifier_metadata = 7, - envoy_config_rbac_v3_Principal_identifier_filter_state = 12, - envoy_config_rbac_v3_Principal_identifier_not_id = 8, - envoy_config_rbac_v3_Principal_identifier_NOT_SET = 0 -} envoy_config_rbac_v3_Principal_identifier_oneofcases; -UPB_INLINE envoy_config_rbac_v3_Principal_identifier_oneofcases envoy_config_rbac_v3_Principal_identifier_case(const envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_rbac_v3_Principal_identifier_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Principal_clear_and_ids(envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_and_ids(const envoy_config_rbac_v3_Principal* msg) { - const envoy_config_rbac_v3_Principal_Set* default_val = NULL; - const envoy_config_rbac_v3_Principal_Set* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_has_and_ids(const envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Principal_clear_or_ids(envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_or_ids(const envoy_config_rbac_v3_Principal* msg) { - const envoy_config_rbac_v3_Principal_Set* default_val = NULL; - const envoy_config_rbac_v3_Principal_Set* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_has_or_ids(const envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Principal_clear_any(envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_any(const envoy_config_rbac_v3_Principal* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_has_any(const envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Principal_clear_authenticated(envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_rbac_v3_Principal_Authenticated* envoy_config_rbac_v3_Principal_authenticated(const envoy_config_rbac_v3_Principal* msg) { - const envoy_config_rbac_v3_Principal_Authenticated* default_val = NULL; - const envoy_config_rbac_v3_Principal_Authenticated* ret; - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_has_authenticated(const envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Principal_clear_source_ip(envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_source_ip(const envoy_config_rbac_v3_Principal* msg) { - const struct envoy_config_core_v3_CidrRange* default_val = NULL; - const struct envoy_config_core_v3_CidrRange* ret; - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_has_source_ip(const envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Principal_clear_header(envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* envoy_config_rbac_v3_Principal_header(const envoy_config_rbac_v3_Principal* msg) { - const struct envoy_config_route_v3_HeaderMatcher* default_val = NULL; - const struct envoy_config_route_v3_HeaderMatcher* ret; - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_has_header(const envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Principal_clear_metadata(envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_rbac_v3_Principal_metadata(const envoy_config_rbac_v3_Principal* msg) { - const struct envoy_type_matcher_v3_MetadataMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_MetadataMatcher* ret; - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_has_metadata(const envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Principal_clear_not_id(envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Principal_not_id(const envoy_config_rbac_v3_Principal* msg) { - const envoy_config_rbac_v3_Principal* default_val = NULL; - const envoy_config_rbac_v3_Principal* ret; - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_has_not_id(const envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Principal_clear_url_path(envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_PathMatcher* envoy_config_rbac_v3_Principal_url_path(const envoy_config_rbac_v3_Principal* msg) { - const struct envoy_type_matcher_v3_PathMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_PathMatcher* ret; - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_has_url_path(const envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Principal_clear_direct_remote_ip(envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_direct_remote_ip(const envoy_config_rbac_v3_Principal* msg) { - const struct envoy_config_core_v3_CidrRange* default_val = NULL; - const struct envoy_config_core_v3_CidrRange* ret; - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_has_direct_remote_ip(const envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Principal_clear_remote_ip(envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_remote_ip(const envoy_config_rbac_v3_Principal* msg) { - const struct envoy_config_core_v3_CidrRange* default_val = NULL; - const struct envoy_config_core_v3_CidrRange* ret; - const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_has_remote_ip(const envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_rbac_v3_Principal_clear_filter_state(envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_FilterStateMatcher* envoy_config_rbac_v3_Principal_filter_state(const envoy_config_rbac_v3_Principal* msg) { - const struct envoy_type_matcher_v3_FilterStateMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_FilterStateMatcher* ret; - const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_has_filter_state(const envoy_config_rbac_v3_Principal* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_rbac_v3_Principal_set_and_ids(envoy_config_rbac_v3_Principal *msg, envoy_config_rbac_v3_Principal_Set* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_mutable_and_ids(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { - struct envoy_config_rbac_v3_Principal_Set* sub = (struct envoy_config_rbac_v3_Principal_Set*)envoy_config_rbac_v3_Principal_and_ids(msg); - if (sub == NULL) { - sub = (struct envoy_config_rbac_v3_Principal_Set*)_upb_Message_New(&envoy_config_rbac_v3_Principal_Set_msg_init, arena); - if (sub) envoy_config_rbac_v3_Principal_set_and_ids(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Principal_set_or_ids(envoy_config_rbac_v3_Principal *msg, envoy_config_rbac_v3_Principal_Set* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_mutable_or_ids(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { - struct envoy_config_rbac_v3_Principal_Set* sub = (struct envoy_config_rbac_v3_Principal_Set*)envoy_config_rbac_v3_Principal_or_ids(msg); - if (sub == NULL) { - sub = (struct envoy_config_rbac_v3_Principal_Set*)_upb_Message_New(&envoy_config_rbac_v3_Principal_Set_msg_init, arena); - if (sub) envoy_config_rbac_v3_Principal_set_or_ids(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Principal_set_any(envoy_config_rbac_v3_Principal *msg, bool value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_rbac_v3_Principal_set_authenticated(envoy_config_rbac_v3_Principal *msg, envoy_config_rbac_v3_Principal_Authenticated* value) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_rbac_v3_Principal_Authenticated* envoy_config_rbac_v3_Principal_mutable_authenticated(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { - struct envoy_config_rbac_v3_Principal_Authenticated* sub = (struct envoy_config_rbac_v3_Principal_Authenticated*)envoy_config_rbac_v3_Principal_authenticated(msg); - if (sub == NULL) { - sub = (struct envoy_config_rbac_v3_Principal_Authenticated*)_upb_Message_New(&envoy_config_rbac_v3_Principal_Authenticated_msg_init, arena); - if (sub) envoy_config_rbac_v3_Principal_set_authenticated(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Principal_set_source_ip(envoy_config_rbac_v3_Principal *msg, struct envoy_config_core_v3_CidrRange* value) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_mutable_source_ip(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { - struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)envoy_config_rbac_v3_Principal_source_ip(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena); - if (sub) envoy_config_rbac_v3_Principal_set_source_ip(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Principal_set_header(envoy_config_rbac_v3_Principal *msg, struct envoy_config_route_v3_HeaderMatcher* value) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_rbac_v3_Principal_mutable_header(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { - struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)envoy_config_rbac_v3_Principal_header(msg); - if (sub == NULL) { - sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy_config_route_v3_HeaderMatcher_msg_init, arena); - if (sub) envoy_config_rbac_v3_Principal_set_header(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Principal_set_metadata(envoy_config_rbac_v3_Principal *msg, struct envoy_type_matcher_v3_MetadataMatcher* value) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_rbac_v3_Principal_mutable_metadata(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_MetadataMatcher* sub = (struct envoy_type_matcher_v3_MetadataMatcher*)envoy_config_rbac_v3_Principal_metadata(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_MetadataMatcher*)_upb_Message_New(&envoy_type_matcher_v3_MetadataMatcher_msg_init, arena); - if (sub) envoy_config_rbac_v3_Principal_set_metadata(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Principal_set_not_id(envoy_config_rbac_v3_Principal *msg, envoy_config_rbac_v3_Principal* value) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Principal_mutable_not_id(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { - struct envoy_config_rbac_v3_Principal* sub = (struct envoy_config_rbac_v3_Principal*)envoy_config_rbac_v3_Principal_not_id(msg); - if (sub == NULL) { - sub = (struct envoy_config_rbac_v3_Principal*)_upb_Message_New(&envoy_config_rbac_v3_Principal_msg_init, arena); - if (sub) envoy_config_rbac_v3_Principal_set_not_id(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Principal_set_url_path(envoy_config_rbac_v3_Principal *msg, struct envoy_type_matcher_v3_PathMatcher* value) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_PathMatcher* envoy_config_rbac_v3_Principal_mutable_url_path(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_PathMatcher* sub = (struct envoy_type_matcher_v3_PathMatcher*)envoy_config_rbac_v3_Principal_url_path(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_PathMatcher*)_upb_Message_New(&envoy_type_matcher_v3_PathMatcher_msg_init, arena); - if (sub) envoy_config_rbac_v3_Principal_set_url_path(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Principal_set_direct_remote_ip(envoy_config_rbac_v3_Principal *msg, struct envoy_config_core_v3_CidrRange* value) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_mutable_direct_remote_ip(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { - struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)envoy_config_rbac_v3_Principal_direct_remote_ip(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena); - if (sub) envoy_config_rbac_v3_Principal_set_direct_remote_ip(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Principal_set_remote_ip(envoy_config_rbac_v3_Principal *msg, struct envoy_config_core_v3_CidrRange* value) { - const upb_MiniTableField field = {11, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_mutable_remote_ip(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { - struct envoy_config_core_v3_CidrRange* sub = (struct envoy_config_core_v3_CidrRange*)envoy_config_rbac_v3_Principal_remote_ip(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_CidrRange*)_upb_Message_New(&envoy_config_core_v3_CidrRange_msg_init, arena); - if (sub) envoy_config_rbac_v3_Principal_set_remote_ip(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_rbac_v3_Principal_set_filter_state(envoy_config_rbac_v3_Principal *msg, struct envoy_type_matcher_v3_FilterStateMatcher* value) { - const upb_MiniTableField field = {12, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_FilterStateMatcher* envoy_config_rbac_v3_Principal_mutable_filter_state(envoy_config_rbac_v3_Principal* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_FilterStateMatcher* sub = (struct envoy_type_matcher_v3_FilterStateMatcher*)envoy_config_rbac_v3_Principal_filter_state(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_FilterStateMatcher*)_upb_Message_New(&envoy_type_matcher_v3_FilterStateMatcher_msg_init, arena); - if (sub) envoy_config_rbac_v3_Principal_set_filter_state(msg, sub); - } - return sub; -} - -/* envoy.config.rbac.v3.Principal.Set */ - -UPB_INLINE envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_Set_new(upb_Arena* arena) { - return (envoy_config_rbac_v3_Principal_Set*)_upb_Message_New(&envoy_config_rbac_v3_Principal_Set_msg_init, arena); -} -UPB_INLINE envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_Set_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_rbac_v3_Principal_Set* ret = envoy_config_rbac_v3_Principal_Set_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Principal_Set_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_Set_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_rbac_v3_Principal_Set* ret = envoy_config_rbac_v3_Principal_Set_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Principal_Set_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_rbac_v3_Principal_Set_serialize(const envoy_config_rbac_v3_Principal_Set* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Principal_Set_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_rbac_v3_Principal_Set_serialize_ex(const envoy_config_rbac_v3_Principal_Set* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Principal_Set_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_rbac_v3_Principal_Set_clear_ids(envoy_config_rbac_v3_Principal_Set* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_rbac_v3_Principal* const* envoy_config_rbac_v3_Principal_Set_ids(const envoy_config_rbac_v3_Principal_Set* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_rbac_v3_Principal* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_rbac_v3_Principal_Set_ids_upb_array(const envoy_config_rbac_v3_Principal_Set* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_rbac_v3_Principal_Set_ids_mutable_upb_array(const envoy_config_rbac_v3_Principal_Set* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_Set_has_ids(const envoy_config_rbac_v3_Principal_Set* msg) { - size_t size; - envoy_config_rbac_v3_Principal_Set_ids(msg, &size); - return size != 0; -} - -UPB_INLINE envoy_config_rbac_v3_Principal** envoy_config_rbac_v3_Principal_Set_mutable_ids(envoy_config_rbac_v3_Principal_Set* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_rbac_v3_Principal**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_rbac_v3_Principal** envoy_config_rbac_v3_Principal_Set_resize_ids(envoy_config_rbac_v3_Principal_Set* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_rbac_v3_Principal**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Principal_Set_add_ids(envoy_config_rbac_v3_Principal_Set* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_rbac_v3_Principal* sub = (struct envoy_config_rbac_v3_Principal*)_upb_Message_New(&envoy_config_rbac_v3_Principal_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.rbac.v3.Principal.Authenticated */ - -UPB_INLINE envoy_config_rbac_v3_Principal_Authenticated* envoy_config_rbac_v3_Principal_Authenticated_new(upb_Arena* arena) { - return (envoy_config_rbac_v3_Principal_Authenticated*)_upb_Message_New(&envoy_config_rbac_v3_Principal_Authenticated_msg_init, arena); -} -UPB_INLINE envoy_config_rbac_v3_Principal_Authenticated* envoy_config_rbac_v3_Principal_Authenticated_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_rbac_v3_Principal_Authenticated* ret = envoy_config_rbac_v3_Principal_Authenticated_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Principal_Authenticated_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_rbac_v3_Principal_Authenticated* envoy_config_rbac_v3_Principal_Authenticated_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_rbac_v3_Principal_Authenticated* ret = envoy_config_rbac_v3_Principal_Authenticated_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Principal_Authenticated_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_rbac_v3_Principal_Authenticated_serialize(const envoy_config_rbac_v3_Principal_Authenticated* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Principal_Authenticated_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_rbac_v3_Principal_Authenticated_serialize_ex(const envoy_config_rbac_v3_Principal_Authenticated* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Principal_Authenticated_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_rbac_v3_Principal_Authenticated_clear_principal_name(envoy_config_rbac_v3_Principal_Authenticated* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* envoy_config_rbac_v3_Principal_Authenticated_principal_name(const envoy_config_rbac_v3_Principal_Authenticated* msg) { - const struct envoy_type_matcher_v3_StringMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_StringMatcher* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_rbac_v3_Principal_Authenticated_has_principal_name(const envoy_config_rbac_v3_Principal_Authenticated* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_rbac_v3_Principal_Authenticated_set_principal_name(envoy_config_rbac_v3_Principal_Authenticated *msg, struct envoy_type_matcher_v3_StringMatcher* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_config_rbac_v3_Principal_Authenticated_mutable_principal_name(envoy_config_rbac_v3_Principal_Authenticated* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_config_rbac_v3_Principal_Authenticated_principal_name(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); - if (sub) envoy_config_rbac_v3_Principal_Authenticated_set_principal_name(msg, sub); - } - return sub; -} - -/* envoy.config.rbac.v3.Action */ - -UPB_INLINE envoy_config_rbac_v3_Action* envoy_config_rbac_v3_Action_new(upb_Arena* arena) { - return (envoy_config_rbac_v3_Action*)_upb_Message_New(&envoy_config_rbac_v3_Action_msg_init, arena); -} -UPB_INLINE envoy_config_rbac_v3_Action* envoy_config_rbac_v3_Action_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_rbac_v3_Action* ret = envoy_config_rbac_v3_Action_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Action_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_rbac_v3_Action* envoy_config_rbac_v3_Action_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_rbac_v3_Action* ret = envoy_config_rbac_v3_Action_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_rbac_v3_Action_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_rbac_v3_Action_serialize(const envoy_config_rbac_v3_Action* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Action_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_rbac_v3_Action_serialize_ex(const envoy_config_rbac_v3_Action* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_rbac_v3_Action_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_rbac_v3_Action_clear_name(envoy_config_rbac_v3_Action* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_rbac_v3_Action_name(const envoy_config_rbac_v3_Action* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_rbac_v3_Action_clear_action(envoy_config_rbac_v3_Action* msg) { - const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_config_rbac_v3_Action_action(const envoy_config_rbac_v3_Action* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_config_rbac_v3_Action_set_name(envoy_config_rbac_v3_Action *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_rbac_v3_Action_set_action(envoy_config_rbac_v3_Action *msg, int32_t value) { - const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -extern const upb_MiniTableFile envoy_config_rbac_v3_rbac_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c b/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c deleted file mode 100644 index 03cac318586..00000000000 --- a/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +++ /dev/null @@ -1,134 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/route/v3/route.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/route/v3/route.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/config_source.upb.h" -#include "envoy/config/route/v3/route_components.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_route_v3_RouteConfiguration_submsgs[9] = { - {.submsg = &envoy_config_route_v3_VirtualHost_msg_init}, - {.submsg = &envoy_config_core_v3_HeaderValueOption_msg_init}, - {.submsg = &envoy_config_core_v3_HeaderValueOption_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_route_v3_Vhds_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_route_v3_ClusterSpecifierPlugin_msg_init}, - {.submsg = &envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init}, - {.submsg = &envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteConfiguration__fields[16] = { - {1, UPB_SIZE(60, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(24, 64), 1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(28, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(32, 80), 2, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(36, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(40, 88), 3, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(44, 96), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(48, 104), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(52, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(53, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(56, 112), 0, 8, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteConfiguration_msg_init = { - &envoy_config_route_v3_RouteConfiguration_submsgs[0], - &envoy_config_route_v3_RouteConfiguration__fields[0], - UPB_SIZE(72, 120), 16, kUpb_ExtMode_NonExtendable, 16, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prm_1bt_maxmaxb}, - {0x002000003f00001a, &upb_prs_1bt}, - {0x002800003f010022, &upb_prm_1bt_maxmaxb}, - {0x003000003f00002a, &upb_prs_1bt}, - {0x003800003f020032, &upb_prm_1bt_maxmaxb}, - {0x004000000103003a, &upb_psm_1bt_maxmaxb}, - {0x004800003f000042, &upb_prs_1bt}, - {0x005000000204004a, &upb_psm_1bt_max64b}, - {0x000100003f000050, &upb_psb1_1bt}, - {0x005800000305005a, &upb_psm_1bt_maxmaxb}, - {0x006000003f060062, &upb_prm_1bt_maxmaxb}, - {0x006800003f07006a, &upb_prm_1bt_maxmaxb}, - {0x000200003f000070, &upb_psb1_1bt}, - {0x000300003f000078, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry_msg_init = { - &envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry_submsgs[0], - &envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_Vhds_submsgs[1] = { - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_Vhds__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_Vhds_msg_init = { - &envoy_config_route_v3_Vhds_submsgs[0], - &envoy_config_route_v3_Vhds__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &envoy_config_route_v3_RouteConfiguration_msg_init, - &envoy_config_route_v3_RouteConfiguration_TypedPerFilterConfigEntry_msg_init, - &envoy_config_route_v3_Vhds_msg_init, -}; - -const upb_MiniTableFile envoy_config_route_v3_route_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 3, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c b/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c deleted file mode 100644 index 4927630afb5..00000000000 --- a/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +++ /dev/null @@ -1,1644 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/route/v3/route_components.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/route/v3/route_components.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/config/core/v3/proxy_protocol.upb.h" -#include "envoy/type/matcher/v3/metadata.upb.h" -#include "envoy/type/matcher/v3/regex.upb.h" -#include "envoy/type/matcher/v3/string.upb.h" -#include "envoy/type/metadata/v3/metadata.upb.h" -#include "envoy/type/tracing/v3/custom_tag.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "envoy/type/v3/range.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "xds/type/matcher/v3/matcher.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_route_v3_VirtualHost_submsgs[13] = { - {.submsg = &envoy_config_route_v3_Route_msg_init}, - {.submsg = &envoy_config_route_v3_VirtualCluster_msg_init}, - {.submsg = &envoy_config_route_v3_RateLimit_msg_init}, - {.submsg = &envoy_config_core_v3_HeaderValueOption_msg_init}, - {.submsg = &envoy_config_route_v3_CorsPolicy_msg_init}, - {.submsg = &envoy_config_core_v3_HeaderValueOption_msg_init}, - {.submsg = &envoy_config_route_v3_VirtualHost_TypedPerFilterConfigEntry_msg_init}, - {.submsg = &envoy_config_route_v3_RetryPolicy_msg_init}, - {.submsg = &envoy_config_route_v3_HedgePolicy_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_msg_init}, - {.submsg = &envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_VirtualHost__fields[21] = { - {1, UPB_SIZE(84, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(24, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(28, 72), 1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(32, 80), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(36, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(40, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(44, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(48, 104), 0, 6, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(52, 112), 2, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(56, 120), 3, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {18, UPB_SIZE(60, 128), 4, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {19, UPB_SIZE(64, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {20, UPB_SIZE(68, 136), 5, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {21, UPB_SIZE(72, 144), 6, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {22, UPB_SIZE(76, 152), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {23, UPB_SIZE(80, 10), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_VirtualHost_msg_init = { - &envoy_config_route_v3_VirtualHost_submsgs[0], - &envoy_config_route_v3_VirtualHost__fields[0], - UPB_SIZE(96, 160), 21, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f00000a, &upb_pss_1bt}, - {0x002000003f000012, &upb_prs_1bt}, - {0x002800003f00001a, &upb_prm_1bt_max192b}, - {0x000400003f000020, &upb_psv4_1bt}, - {0x003000003f01002a, &upb_prm_1bt_max64b}, - {0x003800003f020032, &upb_prm_1bt_max64b}, - {0x004000003f03003a, &upb_prm_1bt_maxmaxb}, - {0x0048000001040042, &upb_psm_1bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x005000003f050052, &upb_prm_1bt_maxmaxb}, - {0x005800003f00005a, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x006000003f00006a, &upb_prs_1bt}, - {0x000800003f000070, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0070000002070182, &upb_psm_2bt_max128b}, - {0x007800000308018a, &upb_psm_2bt_max64b}, - {0x0080000004090192, &upb_psm_2bt_maxmaxb}, - {0x000900003f000198, &upb_psb1_2bt}, - {0x00880000050a01a2, &upb_psm_2bt_maxmaxb}, - {0x00900000060b01aa, &upb_psm_2bt_maxmaxb}, - {0x009800003f0c01b2, &upb_prm_2bt_max64b}, - {0x000a00003f0001b8, &upb_psb1_2bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_VirtualHost_TypedPerFilterConfigEntry_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_VirtualHost_TypedPerFilterConfigEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_VirtualHost_TypedPerFilterConfigEntry_msg_init = { - &envoy_config_route_v3_VirtualHost_TypedPerFilterConfigEntry_submsgs[0], - &envoy_config_route_v3_VirtualHost_TypedPerFilterConfigEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_FilterAction_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_FilterAction__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_FilterAction_msg_init = { - &envoy_config_route_v3_FilterAction_submsgs[0], - &envoy_config_route_v3_FilterAction__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RouteList_submsgs[1] = { - {.submsg = &envoy_config_route_v3_Route_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteList__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteList_msg_init = { - &envoy_config_route_v3_RouteList_submsgs[0], - &envoy_config_route_v3_RouteList__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max192b}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_Route_submsgs[13] = { - {.submsg = &envoy_config_route_v3_RouteMatch_msg_init}, - {.submsg = &envoy_config_route_v3_RouteAction_msg_init}, - {.submsg = &envoy_config_route_v3_RedirectAction_msg_init}, - {.submsg = &envoy_config_core_v3_Metadata_msg_init}, - {.submsg = &envoy_config_route_v3_Decorator_msg_init}, - {.submsg = &envoy_config_route_v3_DirectResponseAction_msg_init}, - {.submsg = &envoy_config_core_v3_HeaderValueOption_msg_init}, - {.submsg = &envoy_config_core_v3_HeaderValueOption_msg_init}, - {.submsg = &envoy_config_route_v3_Route_TypedPerFilterConfigEntry_msg_init}, - {.submsg = &envoy_config_route_v3_Tracing_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_route_v3_FilterAction_msg_init}, - {.submsg = &envoy_config_route_v3_NonForwardingAction_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_Route__fields[17] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(48, 120), UPB_SIZE(-45, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(48, 120), UPB_SIZE(-45, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 16), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 24), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(48, 120), UPB_SIZE(-45, -5), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(16, 32), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(20, 40), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(24, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(28, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(32, 64), 0, 8, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(52, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(36, 88), 4, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(40, 96), 5, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(48, 120), UPB_SIZE(-45, -5), 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {18, UPB_SIZE(48, 120), UPB_SIZE(-45, -5), 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {19, UPB_SIZE(60, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_Route_msg_init = { - &envoy_config_route_v3_Route_submsgs[0], - &envoy_config_route_v3_Route__fields[0], - UPB_SIZE(72, 128), 17, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max128b}, - {0x0078000402010012, &upb_pom_1bt_max256b}, - {0x007800040302001a, &upb_pom_1bt_max128b}, - {0x0010000002030022, &upb_psm_1bt_maxmaxb}, - {0x001800000304002a, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x007800040705003a, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x002000003f06004a, &upb_prm_1bt_maxmaxb}, - {0x002800003f070052, &upb_prm_1bt_maxmaxb}, - {0x003000003f00005a, &upb_prs_1bt}, - {0x003800003f000062, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x004800003f000072, &upb_pss_1bt}, - {0x005800000409007a, &upb_psm_1bt_max64b}, - {0x00600000050a0182, &upb_psm_2bt_maxmaxb}, - {0x00780004110b018a, &upb_pom_2bt_max64b}, - {0x00780004120c0192, &upb_pom_2bt_max64b}, - {0x006800003f00019a, &upb_pss_2bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_Route_TypedPerFilterConfigEntry_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_Route_TypedPerFilterConfigEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_Route_TypedPerFilterConfigEntry_msg_init = { - &envoy_config_route_v3_Route_TypedPerFilterConfigEntry_submsgs[0], - &envoy_config_route_v3_Route_TypedPerFilterConfigEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_WeightedCluster_submsgs[2] = { - {.submsg = &envoy_config_route_v3_WeightedCluster_ClusterWeight_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_WeightedCluster__fields[4] = { - {1, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 48), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 8), UPB_SIZE(-13, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_WeightedCluster_msg_init = { - &envoy_config_route_v3_WeightedCluster_submsgs[0], - &envoy_config_route_v3_WeightedCluster__fields[0], - UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f00000a, &upb_prm_1bt_max128b}, - {0x002000003f000012, &upb_pss_1bt}, - {0x003000000101001a, &upb_psm_1bt_maxmaxb}, - {0x0008000404000022, &upb_pos_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_WeightedCluster_ClusterWeight_submsgs[5] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_Metadata_msg_init}, - {.submsg = &envoy_config_core_v3_HeaderValueOption_msg_init}, - {.submsg = &envoy_config_core_v3_HeaderValueOption_msg_init}, - {.submsg = &envoy_config_route_v3_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_WeightedCluster_ClusterWeight__fields[10] = { - {1, UPB_SIZE(44, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 48), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(24, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(28, 88), 0, 4, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(52, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_WeightedCluster_ClusterWeight_msg_init = { - &envoy_config_route_v3_WeightedCluster_ClusterWeight_submsgs[0], - &envoy_config_route_v3_WeightedCluster_ClusterWeight__fields[0], - UPB_SIZE(64, 112), 10, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f00000a, &upb_pss_1bt}, - {0x0028000001000012, &upb_psm_1bt_maxmaxb}, - {0x003000000201001a, &upb_psm_1bt_maxmaxb}, - {0x003800003f020022, &upb_prm_1bt_maxmaxb}, - {0x004000003f03002a, &upb_prm_1bt_maxmaxb}, - {0x004800003f000032, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x005000003f00004a, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800040b00005a, &upb_pos_1bt}, - {0x006000003f000062, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry_msg_init = { - &envoy_config_route_v3_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry_submsgs[0], - &envoy_config_route_v3_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_ClusterSpecifierPlugin_submsgs[1] = { - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_ClusterSpecifierPlugin__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_ClusterSpecifierPlugin_msg_init = { - &envoy_config_route_v3_ClusterSpecifierPlugin_submsgs[0], - &envoy_config_route_v3_ClusterSpecifierPlugin__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RouteMatch_submsgs[10] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_route_v3_HeaderMatcher_msg_init}, - {.submsg = &envoy_config_route_v3_QueryParameterMatcher_msg_init}, - {.submsg = &envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_msg_init}, - {.submsg = &envoy_config_core_v3_RuntimeFractionalPercent_msg_init}, - {.submsg = &envoy_type_matcher_v3_RegexMatcher_msg_init}, - {.submsg = &envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_msg_init}, - {.submsg = &envoy_config_route_v3_RouteMatch_ConnectMatcher_msg_init}, - {.submsg = &envoy_type_matcher_v3_MetadataMatcher_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteMatch__fields[13] = { - {1, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(16, 48), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(20, 56), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(24, 64), 4, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(28, 72), 0, 8, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(36, 8), UPB_SIZE(-33, -5), 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteMatch_msg_init = { - &envoy_config_route_v3_RouteMatch_submsgs[0], - &envoy_config_route_v3_RouteMatch__fields[0], - UPB_SIZE(48, 80), 13, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800040100000a, &upb_pos_1bt}, - {0x0008000402000012, &upb_pos_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0018000001000022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x002000003f010032, &upb_prm_1bt_max64b}, - {0x002800003f02003a, &upb_prm_1bt_max64b}, - {0x0030000002030042, &upb_psm_1bt_max64b}, - {0x003800000304004a, &upb_psm_1bt_maxmaxb}, - {0x000800040a050052, &upb_pom_1bt_maxmaxb}, - {0x004000000406005a, &upb_psm_1bt_max64b}, - {0x000800040c070062, &upb_pom_1bt_max64b}, - {0x004800003f08006a, &upb_prm_1bt_maxmaxb}, - {0x000800040e000072, &upb_pos_1bt}, - {0x000800040f09007a, &upb_pom_1bt_maxmaxb}, - }) -}; - -const upb_MiniTable envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_submsgs[2] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteMatch_TlsContextMatchOptions__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_msg_init = { - &envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_submsgs[0], - &envoy_config_route_v3_RouteMatch_TlsContextMatchOptions__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable envoy_config_route_v3_RouteMatch_ConnectMatcher_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_config_route_v3_CorsPolicy_submsgs[5] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_core_v3_RuntimeFractionalPercent_msg_init}, - {.submsg = &envoy_config_core_v3_RuntimeFractionalPercent_msg_init}, - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_CorsPolicy__fields[9] = { - {2, UPB_SIZE(28, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(52, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 72), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(24, 104), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(12, 80), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(16, 88), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(20, 96), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_CorsPolicy_msg_init = { - &envoy_config_route_v3_CorsPolicy_submsgs[0], - &envoy_config_route_v3_CorsPolicy__fields[0], - UPB_SIZE(64, 112), 9, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000012, &upb_pss_1bt}, - {0x001800003f00001a, &upb_pss_1bt}, - {0x002800003f000022, &upb_pss_1bt}, - {0x003800003f00002a, &upb_pss_1bt}, - {0x0048000001000032, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x006800040901004a, &upb_pom_1bt_maxmaxb}, - {0x0050000002020052, &upb_psm_1bt_maxmaxb}, - {0x005800003f03005a, &upb_prm_1bt_maxmaxb}, - {0x0060000003040062, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RouteAction_submsgs[24] = { - {.submsg = &envoy_config_route_v3_WeightedCluster_msg_init}, - {.submsg = &envoy_config_core_v3_Metadata_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_route_v3_RetryPolicy_msg_init}, - {.submsg = &envoy_config_route_v3_RateLimit_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_route_v3_RouteAction_HashPolicy_msg_init}, - {.submsg = &envoy_config_route_v3_CorsPolicy_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_route_v3_RouteAction_UpgradeConfig_msg_init}, - {.submsg = &envoy_config_route_v3_HedgePolicy_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init}, - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &envoy_config_route_v3_InternalRedirectPolicy_msg_init}, - {.submsg = &envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init}, - {.submsg = &envoy_config_route_v3_RouteAction_MaxStreamDuration_msg_init}, - {.submsg = &envoy_config_route_v3_ClusterSpecifierPlugin_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteAction__fields[34] = { - {1, UPB_SIZE(116, 48), UPB_SIZE(-97, -25), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(116, 48), UPB_SIZE(-97, -25), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(116, 48), UPB_SIZE(-97, -25), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 64), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(124, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(108, 32), UPB_SIZE(-85, -17), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(108, 32), UPB_SIZE(-85, -17), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(8, 88), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(12, 96), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(16, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(20, 104), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(24, 112), 4, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(28, 120), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(32, 128), 5, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {20, UPB_SIZE(36, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {23, UPB_SIZE(40, 136), 6, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {24, UPB_SIZE(44, 144), 7, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {25, UPB_SIZE(48, 152), 0, 11, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {26, UPB_SIZE(52, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {27, UPB_SIZE(56, 160), 8, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {28, UPB_SIZE(60, 168), 9, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {29, UPB_SIZE(108, 32), UPB_SIZE(-85, -17), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {30, UPB_SIZE(64, 176), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {31, UPB_SIZE(68, 184), 10, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {32, UPB_SIZE(72, 192), 11, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {33, UPB_SIZE(76, 200), 12, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {34, UPB_SIZE(80, 208), 13, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {35, UPB_SIZE(108, 32), UPB_SIZE(-85, -17), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {36, UPB_SIZE(88, 216), 14, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {37, UPB_SIZE(116, 48), UPB_SIZE(-97, -25), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {38, UPB_SIZE(92, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {39, UPB_SIZE(116, 48), UPB_SIZE(-97, -25), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {40, UPB_SIZE(100, 224), 15, 22, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {41, UPB_SIZE(104, 232), 16, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteAction_msg_init = { - &envoy_config_route_v3_RouteAction_submsgs[0], - &envoy_config_route_v3_RouteAction__fields[0], - UPB_SIZE(136, 240), 34, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x003000180100000a, &upb_pos_1bt}, - {0x0030001802000012, &upb_pos_1bt}, - {0x003000180300001a, &upb_pom_1bt_max64b}, - {0x0040000001010022, &upb_psm_1bt_maxmaxb}, - {0x004800003f00002a, &upb_pss_1bt}, - {0x0020001006000032, &upb_pos_1bt}, - {0x002000100702003a, &upb_pom_1bt_maxmaxb}, - {0x0058000002030042, &upb_psm_1bt_maxmaxb}, - {0x006000000304004a, &upb_psm_1bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000058, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x006800003f05006a, &upb_prm_1bt_max64b}, - {0x0070000004060072, &upb_psm_1bt_maxmaxb}, - {0x007800003f07007a, &upb_prm_1bt_max64b}, - {0x00c000000b100282, &upb_psm_2bt_maxmaxb}, - {0x008000000508018a, &upb_psm_2bt_max128b}, - {0x00d000000d120292, &upb_psm_2bt_max64b}, - {0x002000102313029a, &upb_pom_2bt_maxmaxb}, - {0x000800003f0001a0, &upb_psv4_2bt}, - {0x00300018250002aa, &upb_pos_2bt}, - {0x001400003f0002b0, &upb_psb1_2bt}, - {0x00880000060901ba, &upb_psm_2bt_maxmaxb}, - {0x00900000070a01c2, &upb_psm_2bt_maxmaxb}, - {0x009800003f0b01ca, &upb_prm_2bt_max64b}, - {0x000c00003f0001d0, &upb_psv4_2bt}, - {0x00a00000080c01da, &upb_psm_2bt_max64b}, - {0x00a80000090d01e2, &upb_psm_2bt_maxmaxb}, - {0x002000101d0001ea, &upb_pos_2bt}, - {0x00b000003f0e01f2, &upb_prm_2bt_max64b}, - {0x00b800000a0f01fa, &upb_psm_2bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RouteAction_RequestMirrorPolicy_submsgs[2] = { - {.submsg = &envoy_config_core_v3_RuntimeFractionalPercent_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteAction_RequestMirrorPolicy__fields[4] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init = { - &envoy_config_route_v3_RouteAction_RequestMirrorPolicy_submsgs[0], - &envoy_config_route_v3_RouteAction_RequestMirrorPolicy__fields[0], - UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000100001a, &upb_psm_1bt_maxmaxb}, - {0x0020000002010022, &upb_psm_1bt_maxmaxb}, - {0x002800003f00002a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RouteAction_HashPolicy_submsgs[5] = { - {.submsg = &envoy_config_route_v3_RouteAction_HashPolicy_Header_msg_init}, - {.submsg = &envoy_config_route_v3_RouteAction_HashPolicy_Cookie_msg_init}, - {.submsg = &envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_msg_init}, - {.submsg = &envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_msg_init}, - {.submsg = &envoy_config_route_v3_RouteAction_HashPolicy_FilterState_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteAction_HashPolicy__fields[6] = { - {1, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, 8, -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, 8, -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, 8, -5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteAction_HashPolicy_msg_init = { - &envoy_config_route_v3_RouteAction_HashPolicy_submsgs[0], - &envoy_config_route_v3_RouteAction_HashPolicy__fields[0], - 16, 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800040100000a, &upb_pom_1bt_max64b}, - {0x0008000402010012, &upb_pom_1bt_max64b}, - {0x000800040302001a, &upb_pom_1bt_max64b}, - {0x000000003f000020, &upb_psb1_1bt}, - {0x000800040503002a, &upb_pom_1bt_max64b}, - {0x0008000406040032, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RouteAction_HashPolicy_Header_submsgs[1] = { - {.submsg = &envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteAction_HashPolicy_Header__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteAction_HashPolicy_Header_msg_init = { - &envoy_config_route_v3_RouteAction_HashPolicy_Header_submsgs[0], - &envoy_config_route_v3_RouteAction_HashPolicy_Header__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RouteAction_HashPolicy_Cookie_submsgs[1] = { - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteAction_HashPolicy_Cookie__fields[3] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteAction_HashPolicy_Cookie_msg_init = { - &envoy_config_route_v3_RouteAction_HashPolicy_Cookie_submsgs[0], - &envoy_config_route_v3_RouteAction_HashPolicy_Cookie__fields[0], - UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000003f00001a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties__fields[1] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_msg_init = { - NULL, - &envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_msg_init = { - NULL, - &envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteAction_HashPolicy_FilterState__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteAction_HashPolicy_FilterState_msg_init = { - NULL, - &envoy_config_route_v3_RouteAction_HashPolicy_FilterState__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RouteAction_UpgradeConfig_submsgs[2] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteAction_UpgradeConfig__fields[3] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteAction_UpgradeConfig_msg_init = { - &envoy_config_route_v3_RouteAction_UpgradeConfig_submsgs[0], - &envoy_config_route_v3_RouteAction_UpgradeConfig__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000000201001a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_submsgs[1] = { - {.submsg = &envoy_config_core_v3_ProxyProtocolConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_msg_init = { - &envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_submsgs[0], - &envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RouteAction_MaxStreamDuration_submsgs[3] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RouteAction_MaxStreamDuration__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RouteAction_MaxStreamDuration_msg_init = { - &envoy_config_route_v3_RouteAction_MaxStreamDuration_submsgs[0], - &envoy_config_route_v3_RouteAction_MaxStreamDuration__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RetryPolicy_submsgs[10] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_route_v3_RetryPolicy_RetryPriority_msg_init}, - {.submsg = &envoy_config_route_v3_RetryPolicy_RetryHostPredicate_msg_init}, - {.submsg = &envoy_config_route_v3_RetryPolicy_RetryBackOff_msg_init}, - {.submsg = &envoy_config_route_v3_HeaderMatcher_msg_init}, - {.submsg = &envoy_config_route_v3_HeaderMatcher_msg_init}, - {.submsg = &envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RetryPolicy__fields[13] = { - {1, UPB_SIZE(48, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, 56, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(20, 64), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(24, 72), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(28, 80), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(32, 88), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(36, 96), 5, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(40, 104), 0, 8, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(44, 112), 6, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RetryPolicy_msg_init = { - &envoy_config_route_v3_RetryPolicy_submsgs[0], - &envoy_config_route_v3_RetryPolicy__fields[0], - UPB_SIZE(64, 120), 13, kUpb_ExtMode_NonExtendable, 13, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - {0x0028000003020022, &upb_psm_1bt_max64b}, - {0x003000003f03002a, &upb_prm_1bt_max64b}, - {0x003800003f000030, &upb_psv8_1bt}, - {0x004000003f00003a, &upb_ppv4_1bt}, - {0x0048000004040042, &upb_psm_1bt_max64b}, - {0x005000003f05004a, &upb_prm_1bt_max64b}, - {0x005800003f060052, &upb_prm_1bt_max64b}, - {0x006000000507005a, &upb_psm_1bt_max64b}, - {0x006800003f080062, &upb_prm_1bt_maxmaxb}, - {0x007000000609006a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RetryPolicy_RetryPriority_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RetryPolicy_RetryPriority__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RetryPolicy_RetryPriority_msg_init = { - &envoy_config_route_v3_RetryPolicy_RetryPriority_submsgs[0], - &envoy_config_route_v3_RetryPolicy_RetryPriority__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000300001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RetryPolicy_RetryHostPredicate_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RetryPolicy_RetryHostPredicate__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RetryPolicy_RetryHostPredicate_msg_init = { - &envoy_config_route_v3_RetryPolicy_RetryHostPredicate_submsgs[0], - &envoy_config_route_v3_RetryPolicy_RetryHostPredicate__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000300001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RetryPolicy_RetryBackOff_submsgs[2] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RetryPolicy_RetryBackOff__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RetryPolicy_RetryBackOff_msg_init = { - &envoy_config_route_v3_RetryPolicy_RetryBackOff_submsgs[0], - &envoy_config_route_v3_RetryPolicy_RetryBackOff__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_route_v3_RetryPolicy_ResetHeader__fields[2] = { - {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RetryPolicy_ResetHeader_msg_init = { - NULL, - &envoy_config_route_v3_RetryPolicy_ResetHeader__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x000000003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_submsgs[2] = { - {.submsg = &envoy_config_route_v3_RetryPolicy_ResetHeader_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff__fields[2] = { - {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_msg_init = { - &envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_submsgs[0], - &envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_max64b}, - {0x0010000001010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_HedgePolicy_submsgs[2] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_type_v3_FractionalPercent_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_HedgePolicy__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_HedgePolicy_msg_init = { - &envoy_config_route_v3_HedgePolicy_submsgs[0], - &envoy_config_route_v3_HedgePolicy__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x000100003f000018, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RedirectAction_submsgs[1] = { - {.submsg = &envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RedirectAction__fields[9] = { - {1, UPB_SIZE(36, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(28, 40), -17, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(20, 24), -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(28, 40), -17, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(20, 24), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(28, 40), -17, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RedirectAction_msg_init = { - &envoy_config_route_v3_RedirectAction_submsgs[0], - &envoy_config_route_v3_RedirectAction__fields[0], - UPB_SIZE(48, 72), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x003800003f00000a, &upb_pss_1bt}, - {0x0028001002000012, &upb_pos_1bt}, - {0x000000003f000018, &upb_psv4_1bt}, - {0x0018000804000020, &upb_pob1_1bt}, - {0x002800100500002a, &upb_pos_1bt}, - {0x000400003f000030, &upb_psb1_1bt}, - {0x001800080700003a, &upb_pos_1bt}, - {0x000c00003f000040, &upb_psv4_1bt}, - {0x002800100900004a, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_DirectResponseAction_submsgs[1] = { - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_DirectResponseAction__fields[2] = { - {1, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_DirectResponseAction_msg_init = { - &envoy_config_route_v3_DirectResponseAction_submsgs[0], - &envoy_config_route_v3_DirectResponseAction__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x0008000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable envoy_config_route_v3_NonForwardingAction_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_config_route_v3_Decorator_submsgs[1] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_Decorator__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_Decorator_msg_init = { - &envoy_config_route_v3_Decorator_submsgs[0], - &envoy_config_route_v3_Decorator__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_Tracing_submsgs[4] = { - {.submsg = &envoy_type_v3_FractionalPercent_msg_init}, - {.submsg = &envoy_type_v3_FractionalPercent_msg_init}, - {.submsg = &envoy_type_v3_FractionalPercent_msg_init}, - {.submsg = &envoy_type_tracing_v3_CustomTag_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_Tracing__fields[4] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_Tracing_msg_init = { - &envoy_config_route_v3_Tracing_submsgs[0], - &envoy_config_route_v3_Tracing__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - {0x002000003f030022, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_VirtualCluster_submsgs[1] = { - {.submsg = &envoy_config_route_v3_HeaderMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_VirtualCluster__fields[2] = { - {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_VirtualCluster_msg_init = { - &envoy_config_route_v3_VirtualCluster_submsgs[0], - &envoy_config_route_v3_VirtualCluster__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f000022, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RateLimit_submsgs[3] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_route_v3_RateLimit_Action_msg_init}, - {.submsg = &envoy_config_route_v3_RateLimit_Override_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RateLimit__fields[4] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_msg_init = { - &envoy_config_route_v3_RateLimit_submsgs[0], - &envoy_config_route_v3_RateLimit__fields[0], - UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_pss_1bt}, - {0x002000003f01001a, &upb_prm_1bt_max64b}, - {0x0028000002020022, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Action_submsgs[11] = { - {.submsg = &envoy_config_route_v3_RateLimit_Action_SourceCluster_msg_init}, - {.submsg = &envoy_config_route_v3_RateLimit_Action_DestinationCluster_msg_init}, - {.submsg = &envoy_config_route_v3_RateLimit_Action_RequestHeaders_msg_init}, - {.submsg = &envoy_config_route_v3_RateLimit_Action_RemoteAddress_msg_init}, - {.submsg = &envoy_config_route_v3_RateLimit_Action_GenericKey_msg_init}, - {.submsg = &envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_msg_init}, - {.submsg = &envoy_config_route_v3_RateLimit_Action_DynamicMetaData_msg_init}, - {.submsg = &envoy_config_route_v3_RateLimit_Action_MetaData_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_msg_init}, - {.submsg = &envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action__fields[11] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(4, 8), -1, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(4, 8), -1, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_Action_msg_init = { - &envoy_config_route_v3_RateLimit_Action_submsgs[0], - &envoy_config_route_v3_RateLimit_Action__fields[0], - UPB_SIZE(8, 16), 11, kUpb_ExtMode_NonExtendable, 11, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x000800000302001a, &upb_pom_1bt_max64b}, - {0x0008000004030022, &upb_pom_1bt_max64b}, - {0x000800000504002a, &upb_pom_1bt_max64b}, - {0x0008000006050032, &upb_pom_1bt_max64b}, - {0x000800000706003a, &upb_pom_1bt_max64b}, - {0x0008000008070042, &upb_pom_1bt_max64b}, - {0x000800000908004a, &upb_pom_1bt_maxmaxb}, - {0x000800000a090052, &upb_pom_1bt_max64b}, - {0x000800000b0a005a, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_Action_SourceCluster_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_Action_DestinationCluster_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_RequestHeaders__fields[3] = { - {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_Action_RequestHeaders_msg_init = { - NULL, - &envoy_config_route_v3_RateLimit_Action_RequestHeaders__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x000000003f000018, &upb_psb1_1bt}, - }) -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_Action_RemoteAddress_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_submsgs[2] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_msg_init = { - &envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_submsgs[0], - &envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_GenericKey__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_Action_GenericKey_msg_init = { - NULL, - &envoy_config_route_v3_RateLimit_Action_GenericKey__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_submsgs[2] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_route_v3_HeaderMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_HeaderValueMatch__fields[4] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(20, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_msg_init = { - &envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_submsgs[0], - &envoy_config_route_v3_RateLimit_Action_HeaderValueMatch__fields[0], - UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000003f01001a, &upb_prm_1bt_max64b}, - {0x002800003f000022, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Action_DynamicMetaData_submsgs[1] = { - {.submsg = &envoy_type_metadata_v3_MetadataKey_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_DynamicMetaData__fields[3] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_Action_DynamicMetaData_msg_init = { - &envoy_config_route_v3_RateLimit_Action_DynamicMetaData_submsgs[0], - &envoy_config_route_v3_RateLimit_Action_DynamicMetaData__fields[0], - UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000003f00001a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Action_MetaData_submsgs[1] = { - {.submsg = &envoy_type_metadata_v3_MetadataKey_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_MetaData__fields[5] = { - {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_Action_MetaData_msg_init = { - &envoy_config_route_v3_RateLimit_Action_MetaData_submsgs[0], - &envoy_config_route_v3_RateLimit_Action_MetaData__fields[0], - UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f00000a, &upb_pss_1bt}, - {0x0020000001000012, &upb_psm_1bt_maxmaxb}, - {0x002800003f00001a, &upb_pss_1bt}, - {0x000400003f000020, &upb_psv4_1bt}, - {0x000800003f000028, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_submsgs[2] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_route_v3_QueryParameterMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch__fields[4] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(20, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_msg_init = { - &envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_submsgs[0], - &envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch__fields[0], - UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000003f01001a, &upb_prm_1bt_max64b}, - {0x002800003f000022, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Override_submsgs[1] = { - {.submsg = &envoy_config_route_v3_RateLimit_Override_DynamicMetadata_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RateLimit_Override__fields[1] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_Override_msg_init = { - &envoy_config_route_v3_RateLimit_Override_submsgs[0], - &envoy_config_route_v3_RateLimit_Override__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_RateLimit_Override_DynamicMetadata_submsgs[1] = { - {.submsg = &envoy_type_metadata_v3_MetadataKey_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_RateLimit_Override_DynamicMetadata__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_RateLimit_Override_DynamicMetadata_msg_init = { - &envoy_config_route_v3_RateLimit_Override_DynamicMetadata_submsgs[0], - &envoy_config_route_v3_RateLimit_Override_DynamicMetadata__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_HeaderMatcher_submsgs[3] = { - {.submsg = &envoy_type_v3_Int64Range_msg_init}, - {.submsg = &envoy_type_matcher_v3_RegexMatcher_msg_init}, - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_HeaderMatcher__fields[11] = { - {1, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 16), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(12, 16), -5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {8, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(12, 16), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(12, 16), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(12, 16), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(12, 16), -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_HeaderMatcher_msg_init = { - &envoy_config_route_v3_HeaderMatcher_submsgs[0], - &envoy_config_route_v3_HeaderMatcher__fields[0], - UPB_SIZE(32, 48), 11, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x002000003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0010000404000022, &upb_pos_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0010000406000032, &upb_pom_1bt_maxmaxb}, - {0x0010000407000038, &upb_pob1_1bt}, - {0x000000003f000040, &upb_psb1_1bt}, - {0x001000040900004a, &upb_pos_1bt}, - {0x001000040a000052, &upb_pos_1bt}, - {0x001000040b01005a, &upb_pom_1bt_maxmaxb}, - {0x001000040c000062, &upb_pos_1bt}, - {0x001000040d02006a, &upb_pom_1bt_maxmaxb}, - {0x000800003f000070, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_QueryParameterMatcher_submsgs[1] = { - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_QueryParameterMatcher__fields[3] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 24), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_QueryParameterMatcher_msg_init = { - &envoy_config_route_v3_QueryParameterMatcher_submsgs[0], - &envoy_config_route_v3_QueryParameterMatcher__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000500002a, &upb_pom_1bt_maxmaxb}, - {0x0018000006000030, &upb_pob1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_InternalRedirectPolicy_submsgs[2] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_InternalRedirectPolicy__fields[4] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_InternalRedirectPolicy_msg_init = { - &envoy_config_route_v3_InternalRedirectPolicy_submsgs[0], - &envoy_config_route_v3_InternalRedirectPolicy__fields[0], - UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_ppv4_1bt}, - {0x001800003f01001a, &upb_prm_1bt_maxmaxb}, - {0x000100003f000020, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_FilterConfig_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_FilterConfig__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(9, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_FilterConfig_msg_init = { - &envoy_config_route_v3_FilterConfig_submsgs[0], - &envoy_config_route_v3_FilterConfig__fields[0], - 16, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x000200003f000018, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[57] = { - &envoy_config_route_v3_VirtualHost_msg_init, - &envoy_config_route_v3_VirtualHost_TypedPerFilterConfigEntry_msg_init, - &envoy_config_route_v3_FilterAction_msg_init, - &envoy_config_route_v3_RouteList_msg_init, - &envoy_config_route_v3_Route_msg_init, - &envoy_config_route_v3_Route_TypedPerFilterConfigEntry_msg_init, - &envoy_config_route_v3_WeightedCluster_msg_init, - &envoy_config_route_v3_WeightedCluster_ClusterWeight_msg_init, - &envoy_config_route_v3_WeightedCluster_ClusterWeight_TypedPerFilterConfigEntry_msg_init, - &envoy_config_route_v3_ClusterSpecifierPlugin_msg_init, - &envoy_config_route_v3_RouteMatch_msg_init, - &envoy_config_route_v3_RouteMatch_GrpcRouteMatchOptions_msg_init, - &envoy_config_route_v3_RouteMatch_TlsContextMatchOptions_msg_init, - &envoy_config_route_v3_RouteMatch_ConnectMatcher_msg_init, - &envoy_config_route_v3_CorsPolicy_msg_init, - &envoy_config_route_v3_RouteAction_msg_init, - &envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msg_init, - &envoy_config_route_v3_RouteAction_HashPolicy_msg_init, - &envoy_config_route_v3_RouteAction_HashPolicy_Header_msg_init, - &envoy_config_route_v3_RouteAction_HashPolicy_Cookie_msg_init, - &envoy_config_route_v3_RouteAction_HashPolicy_ConnectionProperties_msg_init, - &envoy_config_route_v3_RouteAction_HashPolicy_QueryParameter_msg_init, - &envoy_config_route_v3_RouteAction_HashPolicy_FilterState_msg_init, - &envoy_config_route_v3_RouteAction_UpgradeConfig_msg_init, - &envoy_config_route_v3_RouteAction_UpgradeConfig_ConnectConfig_msg_init, - &envoy_config_route_v3_RouteAction_MaxStreamDuration_msg_init, - &envoy_config_route_v3_RetryPolicy_msg_init, - &envoy_config_route_v3_RetryPolicy_RetryPriority_msg_init, - &envoy_config_route_v3_RetryPolicy_RetryHostPredicate_msg_init, - &envoy_config_route_v3_RetryPolicy_RetryBackOff_msg_init, - &envoy_config_route_v3_RetryPolicy_ResetHeader_msg_init, - &envoy_config_route_v3_RetryPolicy_RateLimitedRetryBackOff_msg_init, - &envoy_config_route_v3_HedgePolicy_msg_init, - &envoy_config_route_v3_RedirectAction_msg_init, - &envoy_config_route_v3_DirectResponseAction_msg_init, - &envoy_config_route_v3_NonForwardingAction_msg_init, - &envoy_config_route_v3_Decorator_msg_init, - &envoy_config_route_v3_Tracing_msg_init, - &envoy_config_route_v3_VirtualCluster_msg_init, - &envoy_config_route_v3_RateLimit_msg_init, - &envoy_config_route_v3_RateLimit_Action_msg_init, - &envoy_config_route_v3_RateLimit_Action_SourceCluster_msg_init, - &envoy_config_route_v3_RateLimit_Action_DestinationCluster_msg_init, - &envoy_config_route_v3_RateLimit_Action_RequestHeaders_msg_init, - &envoy_config_route_v3_RateLimit_Action_RemoteAddress_msg_init, - &envoy_config_route_v3_RateLimit_Action_MaskedRemoteAddress_msg_init, - &envoy_config_route_v3_RateLimit_Action_GenericKey_msg_init, - &envoy_config_route_v3_RateLimit_Action_HeaderValueMatch_msg_init, - &envoy_config_route_v3_RateLimit_Action_DynamicMetaData_msg_init, - &envoy_config_route_v3_RateLimit_Action_MetaData_msg_init, - &envoy_config_route_v3_RateLimit_Action_QueryParameterValueMatch_msg_init, - &envoy_config_route_v3_RateLimit_Override_msg_init, - &envoy_config_route_v3_RateLimit_Override_DynamicMetadata_msg_init, - &envoy_config_route_v3_HeaderMatcher_msg_init, - &envoy_config_route_v3_QueryParameterMatcher_msg_init, - &envoy_config_route_v3_InternalRedirectPolicy_msg_init, - &envoy_config_route_v3_FilterConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_route_v3_route_components_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 57, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c b/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c deleted file mode 100644 index 18f1859d3de..00000000000 --- a/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +++ /dev/null @@ -1,98 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/route/v3/scoped_route.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/route/v3/scoped_route.upb.h" -#include "envoy/config/route/v3/route.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_route_v3_ScopedRouteConfiguration_submsgs[2] = { - {.submsg = &envoy_config_route_v3_ScopedRouteConfiguration_Key_msg_init}, - {.submsg = &envoy_config_route_v3_RouteConfiguration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_ScopedRouteConfiguration__fields[5] = { - {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 48), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_ScopedRouteConfiguration_msg_init = { - &envoy_config_route_v3_ScopedRouteConfiguration_submsgs[0], - &envoy_config_route_v3_ScopedRouteConfiguration__fields[0], - UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x002800000100001a, &upb_psm_1bt_max64b}, - {0x000100003f000020, &upb_psb1_1bt}, - {0x003000000201002a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_route_v3_ScopedRouteConfiguration_Key_submsgs[1] = { - {.submsg = &envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_msg_init}, -}; - -static const upb_MiniTableField envoy_config_route_v3_ScopedRouteConfiguration_Key__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_ScopedRouteConfiguration_Key_msg_init = { - &envoy_config_route_v3_ScopedRouteConfiguration_Key_submsgs[0], - &envoy_config_route_v3_ScopedRouteConfiguration_Key__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableField envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment__fields[1] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_msg_init = { - NULL, - &envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment__fields[0], - UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &envoy_config_route_v3_ScopedRouteConfiguration_msg_init, - &envoy_config_route_v3_ScopedRouteConfiguration_Key_msg_init, - &envoy_config_route_v3_ScopedRouteConfiguration_Key_Fragment_msg_init, -}; - -const upb_MiniTableFile envoy_config_route_v3_scoped_route_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 3, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c b/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c deleted file mode 100644 index 132caeb6849..00000000000 --- a/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +++ /dev/null @@ -1,326 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/tap/v3/common.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/tap/v3/common.upb.h" -#include "envoy/config/common/matcher/v3/matcher.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/grpc_service.upb.h" -#include "envoy/config/route/v3/route_components.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_tap_v3_TapConfig_submsgs[4] = { - {.submsg = &envoy_config_tap_v3_MatchPredicate_msg_init}, - {.submsg = &envoy_config_tap_v3_OutputConfig_msg_init}, - {.submsg = &envoy_config_core_v3_RuntimeFractionalPercent_msg_init}, - {.submsg = &envoy_config_common_matcher_v3_MatchPredicate_msg_init}, -}; - -static const upb_MiniTableField envoy_config_tap_v3_TapConfig__fields[4] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_tap_v3_TapConfig_msg_init = { - &envoy_config_tap_v3_TapConfig_submsgs[0], - &envoy_config_tap_v3_TapConfig__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x0010000002010012, &upb_psm_1bt_max64b}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - {0x0020000004030022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_tap_v3_MatchPredicate_submsgs[9] = { - {.submsg = &envoy_config_tap_v3_MatchPredicate_MatchSet_msg_init}, - {.submsg = &envoy_config_tap_v3_MatchPredicate_MatchSet_msg_init}, - {.submsg = &envoy_config_tap_v3_MatchPredicate_msg_init}, - {.submsg = &envoy_config_tap_v3_HttpHeadersMatch_msg_init}, - {.submsg = &envoy_config_tap_v3_HttpHeadersMatch_msg_init}, - {.submsg = &envoy_config_tap_v3_HttpHeadersMatch_msg_init}, - {.submsg = &envoy_config_tap_v3_HttpHeadersMatch_msg_init}, - {.submsg = &envoy_config_tap_v3_HttpGenericBodyMatch_msg_init}, - {.submsg = &envoy_config_tap_v3_HttpGenericBodyMatch_msg_init}, -}; - -static const upb_MiniTableField envoy_config_tap_v3_MatchPredicate__fields[10] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_tap_v3_MatchPredicate_msg_init = { - &envoy_config_tap_v3_MatchPredicate_submsgs[0], - &envoy_config_tap_v3_MatchPredicate__fields[0], - UPB_SIZE(8, 16), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x000800000302001a, &upb_pom_1bt_max64b}, - {0x0008000004000020, &upb_pob1_1bt}, - {0x000800000503002a, &upb_pom_1bt_max64b}, - {0x0008000006040032, &upb_pom_1bt_max64b}, - {0x000800000705003a, &upb_pom_1bt_max64b}, - {0x0008000008060042, &upb_pom_1bt_max64b}, - {0x000800000907004a, &upb_pom_1bt_max64b}, - {0x000800000a080052, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_tap_v3_MatchPredicate_MatchSet_submsgs[1] = { - {.submsg = &envoy_config_tap_v3_MatchPredicate_msg_init}, -}; - -static const upb_MiniTableField envoy_config_tap_v3_MatchPredicate_MatchSet__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_tap_v3_MatchPredicate_MatchSet_msg_init = { - &envoy_config_tap_v3_MatchPredicate_MatchSet_submsgs[0], - &envoy_config_tap_v3_MatchPredicate_MatchSet__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_tap_v3_HttpHeadersMatch_submsgs[1] = { - {.submsg = &envoy_config_route_v3_HeaderMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_config_tap_v3_HttpHeadersMatch__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_tap_v3_HttpHeadersMatch_msg_init = { - &envoy_config_tap_v3_HttpHeadersMatch_submsgs[0], - &envoy_config_tap_v3_HttpHeadersMatch__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_config_tap_v3_HttpGenericBodyMatch_submsgs[1] = { - {.submsg = &envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init}, -}; - -static const upb_MiniTableField envoy_config_tap_v3_HttpGenericBodyMatch__fields[2] = { - {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_tap_v3_HttpGenericBodyMatch_msg_init = { - &envoy_config_tap_v3_HttpGenericBodyMatch_submsgs[0], - &envoy_config_tap_v3_HttpGenericBodyMatch__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000800003f000012, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch__fields[2] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init = { - NULL, - &envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - {0x0008000002000012, &upb_pob_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_tap_v3_OutputConfig_submsgs[3] = { - {.submsg = &envoy_config_tap_v3_OutputSink_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_tap_v3_OutputConfig__fields[4] = { - {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_tap_v3_OutputConfig_msg_init = { - &envoy_config_tap_v3_OutputConfig_submsgs[0], - &envoy_config_tap_v3_OutputConfig__fields[0], - UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_max64b}, - {0x0010000001010012, &upb_psm_1bt_maxmaxb}, - {0x001800000202001a, &upb_psm_1bt_maxmaxb}, - {0x000100003f000020, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_tap_v3_OutputSink_submsgs[4] = { - {.submsg = &envoy_config_tap_v3_StreamingAdminSink_msg_init}, - {.submsg = &envoy_config_tap_v3_FilePerTapSink_msg_init}, - {.submsg = &envoy_config_tap_v3_StreamingGrpcSink_msg_init}, - {.submsg = &envoy_config_tap_v3_BufferedAdminSink_msg_init}, -}; - -static const upb_MiniTableField envoy_config_tap_v3_OutputSink__fields[5] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, 8, -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, 8, -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_tap_v3_OutputSink_msg_init = { - &envoy_config_tap_v3_OutputSink_submsgs[0], - &envoy_config_tap_v3_OutputSink__fields[0], - 16, 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x0008000402000012, &upb_pom_1bt_max64b}, - {0x000800040301001a, &upb_pom_1bt_max64b}, - {0x0008000404020022, &upb_pom_1bt_max64b}, - {0x000800040503002a, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable envoy_config_tap_v3_StreamingAdminSink_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_config_tap_v3_BufferedAdminSink_submsgs[1] = { - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_config_tap_v3_BufferedAdminSink__fields[2] = { - {1, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_tap_v3_BufferedAdminSink_msg_init = { - &envoy_config_tap_v3_BufferedAdminSink_submsgs[0], - &envoy_config_tap_v3_BufferedAdminSink__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000008, &upb_psv8_1bt}, - {0x0010000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_config_tap_v3_FilePerTapSink__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_tap_v3_FilePerTapSink_msg_init = { - NULL, - &envoy_config_tap_v3_FilePerTapSink__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_config_tap_v3_StreamingGrpcSink_submsgs[1] = { - {.submsg = &envoy_config_core_v3_GrpcService_msg_init}, -}; - -static const upb_MiniTableField envoy_config_tap_v3_StreamingGrpcSink__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_tap_v3_StreamingGrpcSink_msg_init = { - &envoy_config_tap_v3_StreamingGrpcSink_submsgs[0], - &envoy_config_tap_v3_StreamingGrpcSink__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[12] = { - &envoy_config_tap_v3_TapConfig_msg_init, - &envoy_config_tap_v3_MatchPredicate_msg_init, - &envoy_config_tap_v3_MatchPredicate_MatchSet_msg_init, - &envoy_config_tap_v3_HttpHeadersMatch_msg_init, - &envoy_config_tap_v3_HttpGenericBodyMatch_msg_init, - &envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, - &envoy_config_tap_v3_OutputConfig_msg_init, - &envoy_config_tap_v3_OutputSink_msg_init, - &envoy_config_tap_v3_StreamingAdminSink_msg_init, - &envoy_config_tap_v3_BufferedAdminSink_msg_init, - &envoy_config_tap_v3_FilePerTapSink_msg_init, - &envoy_config_tap_v3_StreamingGrpcSink_msg_init, -}; - -const upb_MiniTableFile envoy_config_tap_v3_common_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 12, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h b/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h deleted file mode 100644 index cc955423943..00000000000 --- a/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +++ /dev/null @@ -1,1522 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/tap/v3/common.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPB_H_ -#define ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_config_tap_v3_TapConfig envoy_config_tap_v3_TapConfig; -typedef struct envoy_config_tap_v3_MatchPredicate envoy_config_tap_v3_MatchPredicate; -typedef struct envoy_config_tap_v3_MatchPredicate_MatchSet envoy_config_tap_v3_MatchPredicate_MatchSet; -typedef struct envoy_config_tap_v3_HttpHeadersMatch envoy_config_tap_v3_HttpHeadersMatch; -typedef struct envoy_config_tap_v3_HttpGenericBodyMatch envoy_config_tap_v3_HttpGenericBodyMatch; -typedef struct envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch; -typedef struct envoy_config_tap_v3_OutputConfig envoy_config_tap_v3_OutputConfig; -typedef struct envoy_config_tap_v3_OutputSink envoy_config_tap_v3_OutputSink; -typedef struct envoy_config_tap_v3_StreamingAdminSink envoy_config_tap_v3_StreamingAdminSink; -typedef struct envoy_config_tap_v3_BufferedAdminSink envoy_config_tap_v3_BufferedAdminSink; -typedef struct envoy_config_tap_v3_FilePerTapSink envoy_config_tap_v3_FilePerTapSink; -typedef struct envoy_config_tap_v3_StreamingGrpcSink envoy_config_tap_v3_StreamingGrpcSink; -extern const upb_MiniTable envoy_config_tap_v3_TapConfig_msg_init; -extern const upb_MiniTable envoy_config_tap_v3_MatchPredicate_msg_init; -extern const upb_MiniTable envoy_config_tap_v3_MatchPredicate_MatchSet_msg_init; -extern const upb_MiniTable envoy_config_tap_v3_HttpHeadersMatch_msg_init; -extern const upb_MiniTable envoy_config_tap_v3_HttpGenericBodyMatch_msg_init; -extern const upb_MiniTable envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init; -extern const upb_MiniTable envoy_config_tap_v3_OutputConfig_msg_init; -extern const upb_MiniTable envoy_config_tap_v3_OutputSink_msg_init; -extern const upb_MiniTable envoy_config_tap_v3_StreamingAdminSink_msg_init; -extern const upb_MiniTable envoy_config_tap_v3_BufferedAdminSink_msg_init; -extern const upb_MiniTable envoy_config_tap_v3_FilePerTapSink_msg_init; -extern const upb_MiniTable envoy_config_tap_v3_StreamingGrpcSink_msg_init; -struct envoy_config_common_matcher_v3_MatchPredicate; -struct envoy_config_core_v3_GrpcService; -struct envoy_config_core_v3_RuntimeFractionalPercent; -struct envoy_config_route_v3_HeaderMatcher; -struct google_protobuf_Duration; -struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_common_matcher_v3_MatchPredicate_msg_init; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_msg_init; -extern const upb_MiniTable envoy_config_core_v3_RuntimeFractionalPercent_msg_init; -extern const upb_MiniTable envoy_config_route_v3_HeaderMatcher_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; - -typedef enum { - envoy_config_tap_v3_OutputSink_JSON_BODY_AS_BYTES = 0, - envoy_config_tap_v3_OutputSink_JSON_BODY_AS_STRING = 1, - envoy_config_tap_v3_OutputSink_PROTO_BINARY = 2, - envoy_config_tap_v3_OutputSink_PROTO_BINARY_LENGTH_DELIMITED = 3, - envoy_config_tap_v3_OutputSink_PROTO_TEXT = 4 -} envoy_config_tap_v3_OutputSink_Format; - - - -/* envoy.config.tap.v3.TapConfig */ - -UPB_INLINE envoy_config_tap_v3_TapConfig* envoy_config_tap_v3_TapConfig_new(upb_Arena* arena) { - return (envoy_config_tap_v3_TapConfig*)_upb_Message_New(&envoy_config_tap_v3_TapConfig_msg_init, arena); -} -UPB_INLINE envoy_config_tap_v3_TapConfig* envoy_config_tap_v3_TapConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_tap_v3_TapConfig* ret = envoy_config_tap_v3_TapConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_TapConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_tap_v3_TapConfig* envoy_config_tap_v3_TapConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_tap_v3_TapConfig* ret = envoy_config_tap_v3_TapConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_TapConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_tap_v3_TapConfig_serialize(const envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_TapConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_tap_v3_TapConfig_serialize_ex(const envoy_config_tap_v3_TapConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_TapConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_tap_v3_TapConfig_clear_match_config(envoy_config_tap_v3_TapConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_TapConfig_match_config(const envoy_config_tap_v3_TapConfig* msg) { - const envoy_config_tap_v3_MatchPredicate* default_val = NULL; - const envoy_config_tap_v3_MatchPredicate* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_TapConfig_has_match_config(const envoy_config_tap_v3_TapConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_TapConfig_clear_output_config(envoy_config_tap_v3_TapConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_TapConfig_output_config(const envoy_config_tap_v3_TapConfig* msg) { - const envoy_config_tap_v3_OutputConfig* default_val = NULL; - const envoy_config_tap_v3_OutputConfig* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_TapConfig_has_output_config(const envoy_config_tap_v3_TapConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_TapConfig_clear_tap_enabled(envoy_config_tap_v3_TapConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_tap_v3_TapConfig_tap_enabled(const envoy_config_tap_v3_TapConfig* msg) { - const struct envoy_config_core_v3_RuntimeFractionalPercent* default_val = NULL; - const struct envoy_config_core_v3_RuntimeFractionalPercent* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_TapConfig_has_tap_enabled(const envoy_config_tap_v3_TapConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_TapConfig_clear_match(envoy_config_tap_v3_TapConfig* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_tap_v3_TapConfig_match(const envoy_config_tap_v3_TapConfig* msg) { - const struct envoy_config_common_matcher_v3_MatchPredicate* default_val = NULL; - const struct envoy_config_common_matcher_v3_MatchPredicate* ret; - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_TapConfig_has_match(const envoy_config_tap_v3_TapConfig* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_tap_v3_TapConfig_set_match_config(envoy_config_tap_v3_TapConfig *msg, envoy_config_tap_v3_MatchPredicate* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_TapConfig_mutable_match_config(envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_MatchPredicate* sub = (struct envoy_config_tap_v3_MatchPredicate*)envoy_config_tap_v3_TapConfig_match_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_MatchPredicate*)_upb_Message_New(&envoy_config_tap_v3_MatchPredicate_msg_init, arena); - if (sub) envoy_config_tap_v3_TapConfig_set_match_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_TapConfig_set_output_config(envoy_config_tap_v3_TapConfig *msg, envoy_config_tap_v3_OutputConfig* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_TapConfig_mutable_output_config(envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_OutputConfig* sub = (struct envoy_config_tap_v3_OutputConfig*)envoy_config_tap_v3_TapConfig_output_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_OutputConfig*)_upb_Message_New(&envoy_config_tap_v3_OutputConfig_msg_init, arena); - if (sub) envoy_config_tap_v3_TapConfig_set_output_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_TapConfig_set_tap_enabled(envoy_config_tap_v3_TapConfig *msg, struct envoy_config_core_v3_RuntimeFractionalPercent* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_RuntimeFractionalPercent* envoy_config_tap_v3_TapConfig_mutable_tap_enabled(envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena) { - struct envoy_config_core_v3_RuntimeFractionalPercent* sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)envoy_config_tap_v3_TapConfig_tap_enabled(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_RuntimeFractionalPercent*)_upb_Message_New(&envoy_config_core_v3_RuntimeFractionalPercent_msg_init, arena); - if (sub) envoy_config_tap_v3_TapConfig_set_tap_enabled(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_TapConfig_set_match(envoy_config_tap_v3_TapConfig *msg, struct envoy_config_common_matcher_v3_MatchPredicate* value) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_common_matcher_v3_MatchPredicate* envoy_config_tap_v3_TapConfig_mutable_match(envoy_config_tap_v3_TapConfig* msg, upb_Arena* arena) { - struct envoy_config_common_matcher_v3_MatchPredicate* sub = (struct envoy_config_common_matcher_v3_MatchPredicate*)envoy_config_tap_v3_TapConfig_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_common_matcher_v3_MatchPredicate*)_upb_Message_New(&envoy_config_common_matcher_v3_MatchPredicate_msg_init, arena); - if (sub) envoy_config_tap_v3_TapConfig_set_match(msg, sub); - } - return sub; -} - -/* envoy.config.tap.v3.MatchPredicate */ - -UPB_INLINE envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_new(upb_Arena* arena) { - return (envoy_config_tap_v3_MatchPredicate*)_upb_Message_New(&envoy_config_tap_v3_MatchPredicate_msg_init, arena); -} -UPB_INLINE envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_tap_v3_MatchPredicate* ret = envoy_config_tap_v3_MatchPredicate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_MatchPredicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_tap_v3_MatchPredicate* ret = envoy_config_tap_v3_MatchPredicate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_MatchPredicate_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_tap_v3_MatchPredicate_serialize(const envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_MatchPredicate_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_tap_v3_MatchPredicate_serialize_ex(const envoy_config_tap_v3_MatchPredicate* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_MatchPredicate_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_tap_v3_MatchPredicate_rule_or_match = 1, - envoy_config_tap_v3_MatchPredicate_rule_and_match = 2, - envoy_config_tap_v3_MatchPredicate_rule_not_match = 3, - envoy_config_tap_v3_MatchPredicate_rule_any_match = 4, - envoy_config_tap_v3_MatchPredicate_rule_http_request_headers_match = 5, - envoy_config_tap_v3_MatchPredicate_rule_http_request_trailers_match = 6, - envoy_config_tap_v3_MatchPredicate_rule_http_response_headers_match = 7, - envoy_config_tap_v3_MatchPredicate_rule_http_response_trailers_match = 8, - envoy_config_tap_v3_MatchPredicate_rule_http_request_generic_body_match = 9, - envoy_config_tap_v3_MatchPredicate_rule_http_response_generic_body_match = 10, - envoy_config_tap_v3_MatchPredicate_rule_NOT_SET = 0 -} envoy_config_tap_v3_MatchPredicate_rule_oneofcases; -UPB_INLINE envoy_config_tap_v3_MatchPredicate_rule_oneofcases envoy_config_tap_v3_MatchPredicate_rule_case(const envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_tap_v3_MatchPredicate_rule_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_or_match(envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_or_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const envoy_config_tap_v3_MatchPredicate_MatchSet* default_val = NULL; - const envoy_config_tap_v3_MatchPredicate_MatchSet* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_or_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_and_match(envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_and_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const envoy_config_tap_v3_MatchPredicate_MatchSet* default_val = NULL; - const envoy_config_tap_v3_MatchPredicate_MatchSet* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_and_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_not_match(envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_not_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const envoy_config_tap_v3_MatchPredicate* default_val = NULL; - const envoy_config_tap_v3_MatchPredicate* ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_not_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_any_match(envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_any_match(const envoy_config_tap_v3_MatchPredicate* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_any_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_request_headers_match(envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_http_request_headers_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const envoy_config_tap_v3_HttpHeadersMatch* default_val = NULL; - const envoy_config_tap_v3_HttpHeadersMatch* ret; - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_request_headers_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_request_trailers_match(envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_http_request_trailers_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const envoy_config_tap_v3_HttpHeadersMatch* default_val = NULL; - const envoy_config_tap_v3_HttpHeadersMatch* ret; - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_request_trailers_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_response_headers_match(envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_http_response_headers_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const envoy_config_tap_v3_HttpHeadersMatch* default_val = NULL; - const envoy_config_tap_v3_HttpHeadersMatch* ret; - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_response_headers_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_response_trailers_match(envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_http_response_trailers_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const envoy_config_tap_v3_HttpHeadersMatch* default_val = NULL; - const envoy_config_tap_v3_HttpHeadersMatch* ret; - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_response_trailers_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_request_generic_body_match(envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_MatchPredicate_http_request_generic_body_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const envoy_config_tap_v3_HttpGenericBodyMatch* default_val = NULL; - const envoy_config_tap_v3_HttpGenericBodyMatch* ret; - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_request_generic_body_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_clear_http_response_generic_body_match(envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_MatchPredicate_http_response_generic_body_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const envoy_config_tap_v3_HttpGenericBodyMatch* default_val = NULL; - const envoy_config_tap_v3_HttpGenericBodyMatch* ret; - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_has_http_response_generic_body_match(const envoy_config_tap_v3_MatchPredicate* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_or_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_MatchPredicate_MatchSet* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_mutable_or_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_MatchPredicate_MatchSet* sub = (struct envoy_config_tap_v3_MatchPredicate_MatchSet*)envoy_config_tap_v3_MatchPredicate_or_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy_config_tap_v3_MatchPredicate_MatchSet_msg_init, arena); - if (sub) envoy_config_tap_v3_MatchPredicate_set_or_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_and_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_MatchPredicate_MatchSet* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_mutable_and_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_MatchPredicate_MatchSet* sub = (struct envoy_config_tap_v3_MatchPredicate_MatchSet*)envoy_config_tap_v3_MatchPredicate_and_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy_config_tap_v3_MatchPredicate_MatchSet_msg_init, arena); - if (sub) envoy_config_tap_v3_MatchPredicate_set_and_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_not_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_MatchPredicate* value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_mutable_not_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_MatchPredicate* sub = (struct envoy_config_tap_v3_MatchPredicate*)envoy_config_tap_v3_MatchPredicate_not_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_MatchPredicate*)_upb_Message_New(&envoy_config_tap_v3_MatchPredicate_msg_init, arena); - if (sub) envoy_config_tap_v3_MatchPredicate_set_not_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_any_match(envoy_config_tap_v3_MatchPredicate *msg, bool value) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_request_headers_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpHeadersMatch* value) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_request_headers_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_HttpHeadersMatch* sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)envoy_config_tap_v3_MatchPredicate_http_request_headers_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)_upb_Message_New(&envoy_config_tap_v3_HttpHeadersMatch_msg_init, arena); - if (sub) envoy_config_tap_v3_MatchPredicate_set_http_request_headers_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_request_trailers_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpHeadersMatch* value) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_request_trailers_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_HttpHeadersMatch* sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)envoy_config_tap_v3_MatchPredicate_http_request_trailers_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)_upb_Message_New(&envoy_config_tap_v3_HttpHeadersMatch_msg_init, arena); - if (sub) envoy_config_tap_v3_MatchPredicate_set_http_request_trailers_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_response_headers_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpHeadersMatch* value) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_response_headers_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_HttpHeadersMatch* sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)envoy_config_tap_v3_MatchPredicate_http_response_headers_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)_upb_Message_New(&envoy_config_tap_v3_HttpHeadersMatch_msg_init, arena); - if (sub) envoy_config_tap_v3_MatchPredicate_set_http_response_headers_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_response_trailers_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpHeadersMatch* value) { - const upb_MiniTableField field = {8, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_response_trailers_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_HttpHeadersMatch* sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)envoy_config_tap_v3_MatchPredicate_http_response_trailers_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_HttpHeadersMatch*)_upb_Message_New(&envoy_config_tap_v3_HttpHeadersMatch_msg_init, arena); - if (sub) envoy_config_tap_v3_MatchPredicate_set_http_response_trailers_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_request_generic_body_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpGenericBodyMatch* value) { - const upb_MiniTableField field = {9, UPB_SIZE(4, 8), -1, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_request_generic_body_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_HttpGenericBodyMatch* sub = (struct envoy_config_tap_v3_HttpGenericBodyMatch*)envoy_config_tap_v3_MatchPredicate_http_request_generic_body_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy_config_tap_v3_HttpGenericBodyMatch_msg_init, arena); - if (sub) envoy_config_tap_v3_MatchPredicate_set_http_request_generic_body_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_set_http_response_generic_body_match(envoy_config_tap_v3_MatchPredicate *msg, envoy_config_tap_v3_HttpGenericBodyMatch* value) { - const upb_MiniTableField field = {10, UPB_SIZE(4, 8), -1, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_MatchPredicate_mutable_http_response_generic_body_match(envoy_config_tap_v3_MatchPredicate* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_HttpGenericBodyMatch* sub = (struct envoy_config_tap_v3_HttpGenericBodyMatch*)envoy_config_tap_v3_MatchPredicate_http_response_generic_body_match(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy_config_tap_v3_HttpGenericBodyMatch_msg_init, arena); - if (sub) envoy_config_tap_v3_MatchPredicate_set_http_response_generic_body_match(msg, sub); - } - return sub; -} - -/* envoy.config.tap.v3.MatchPredicate.MatchSet */ - -UPB_INLINE envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_MatchSet_new(upb_Arena* arena) { - return (envoy_config_tap_v3_MatchPredicate_MatchSet*)_upb_Message_New(&envoy_config_tap_v3_MatchPredicate_MatchSet_msg_init, arena); -} -UPB_INLINE envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_MatchSet_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_tap_v3_MatchPredicate_MatchSet* ret = envoy_config_tap_v3_MatchPredicate_MatchSet_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_MatchPredicate_MatchSet_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_tap_v3_MatchPredicate_MatchSet* envoy_config_tap_v3_MatchPredicate_MatchSet_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_tap_v3_MatchPredicate_MatchSet* ret = envoy_config_tap_v3_MatchPredicate_MatchSet_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_MatchPredicate_MatchSet_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_tap_v3_MatchPredicate_MatchSet_serialize(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_MatchPredicate_MatchSet_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_tap_v3_MatchPredicate_MatchSet_serialize_ex(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_MatchPredicate_MatchSet_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_tap_v3_MatchPredicate_MatchSet_clear_rules(envoy_config_tap_v3_MatchPredicate_MatchSet* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_MatchPredicate* const* envoy_config_tap_v3_MatchPredicate_MatchSet_rules(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_tap_v3_MatchPredicate* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_tap_v3_MatchPredicate_MatchSet_rules_upb_array(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_tap_v3_MatchPredicate_MatchSet_rules_mutable_upb_array(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_tap_v3_MatchPredicate_MatchSet_has_rules(const envoy_config_tap_v3_MatchPredicate_MatchSet* msg) { - size_t size; - envoy_config_tap_v3_MatchPredicate_MatchSet_rules(msg, &size); - return size != 0; -} - -UPB_INLINE envoy_config_tap_v3_MatchPredicate** envoy_config_tap_v3_MatchPredicate_MatchSet_mutable_rules(envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_tap_v3_MatchPredicate**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_tap_v3_MatchPredicate** envoy_config_tap_v3_MatchPredicate_MatchSet_resize_rules(envoy_config_tap_v3_MatchPredicate_MatchSet* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_tap_v3_MatchPredicate**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_tap_v3_MatchPredicate* envoy_config_tap_v3_MatchPredicate_MatchSet_add_rules(envoy_config_tap_v3_MatchPredicate_MatchSet* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_tap_v3_MatchPredicate* sub = (struct envoy_config_tap_v3_MatchPredicate*)_upb_Message_New(&envoy_config_tap_v3_MatchPredicate_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.tap.v3.HttpHeadersMatch */ - -UPB_INLINE envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_HttpHeadersMatch_new(upb_Arena* arena) { - return (envoy_config_tap_v3_HttpHeadersMatch*)_upb_Message_New(&envoy_config_tap_v3_HttpHeadersMatch_msg_init, arena); -} -UPB_INLINE envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_HttpHeadersMatch_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_tap_v3_HttpHeadersMatch* ret = envoy_config_tap_v3_HttpHeadersMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_HttpHeadersMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_tap_v3_HttpHeadersMatch* envoy_config_tap_v3_HttpHeadersMatch_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_tap_v3_HttpHeadersMatch* ret = envoy_config_tap_v3_HttpHeadersMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_HttpHeadersMatch_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_tap_v3_HttpHeadersMatch_serialize(const envoy_config_tap_v3_HttpHeadersMatch* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_HttpHeadersMatch_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_tap_v3_HttpHeadersMatch_serialize_ex(const envoy_config_tap_v3_HttpHeadersMatch* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_HttpHeadersMatch_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_tap_v3_HttpHeadersMatch_clear_headers(envoy_config_tap_v3_HttpHeadersMatch* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* const* envoy_config_tap_v3_HttpHeadersMatch_headers(const envoy_config_tap_v3_HttpHeadersMatch* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct envoy_config_route_v3_HeaderMatcher* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_tap_v3_HttpHeadersMatch_headers_upb_array(const envoy_config_tap_v3_HttpHeadersMatch* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_tap_v3_HttpHeadersMatch_headers_mutable_upb_array(const envoy_config_tap_v3_HttpHeadersMatch* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_tap_v3_HttpHeadersMatch_has_headers(const envoy_config_tap_v3_HttpHeadersMatch* msg) { - size_t size; - envoy_config_tap_v3_HttpHeadersMatch_headers(msg, &size); - return size != 0; -} - -UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_tap_v3_HttpHeadersMatch_mutable_headers(envoy_config_tap_v3_HttpHeadersMatch* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct envoy_config_route_v3_HeaderMatcher**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_config_tap_v3_HttpHeadersMatch_resize_headers(envoy_config_tap_v3_HttpHeadersMatch* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct envoy_config_route_v3_HeaderMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_config_tap_v3_HttpHeadersMatch_add_headers(envoy_config_tap_v3_HttpHeadersMatch* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy_config_route_v3_HeaderMatcher_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.tap.v3.HttpGenericBodyMatch */ - -UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_HttpGenericBodyMatch_new(upb_Arena* arena) { - return (envoy_config_tap_v3_HttpGenericBodyMatch*)_upb_Message_New(&envoy_config_tap_v3_HttpGenericBodyMatch_msg_init, arena); -} -UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_HttpGenericBodyMatch_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_tap_v3_HttpGenericBodyMatch* ret = envoy_config_tap_v3_HttpGenericBodyMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_HttpGenericBodyMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch* envoy_config_tap_v3_HttpGenericBodyMatch_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_tap_v3_HttpGenericBodyMatch* ret = envoy_config_tap_v3_HttpGenericBodyMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_HttpGenericBodyMatch_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_tap_v3_HttpGenericBodyMatch_serialize(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_HttpGenericBodyMatch_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_tap_v3_HttpGenericBodyMatch_serialize_ex(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_HttpGenericBodyMatch_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_clear_bytes_limit(envoy_config_tap_v3_HttpGenericBodyMatch* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint32_t envoy_config_tap_v3_HttpGenericBodyMatch_bytes_limit(const envoy_config_tap_v3_HttpGenericBodyMatch* msg) { - uint32_t default_val = (uint32_t)0u; - uint32_t ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_clear_patterns(envoy_config_tap_v3_HttpGenericBodyMatch* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* const* envoy_config_tap_v3_HttpGenericBodyMatch_patterns(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_tap_v3_HttpGenericBodyMatch_patterns_upb_array(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_tap_v3_HttpGenericBodyMatch_patterns_mutable_upb_array(const envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_tap_v3_HttpGenericBodyMatch_has_patterns(const envoy_config_tap_v3_HttpGenericBodyMatch* msg) { - size_t size; - envoy_config_tap_v3_HttpGenericBodyMatch_patterns(msg, &size); - return size != 0; -} - -UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_set_bytes_limit(envoy_config_tap_v3_HttpGenericBodyMatch *msg, uint32_t value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch** envoy_config_tap_v3_HttpGenericBodyMatch_mutable_patterns(envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch** envoy_config_tap_v3_HttpGenericBodyMatch_resize_patterns(envoy_config_tap_v3_HttpGenericBodyMatch* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_tap_v3_HttpGenericBodyMatch_add_patterns(envoy_config_tap_v3_HttpGenericBodyMatch* msg, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* sub = (struct envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch*)_upb_Message_New(&envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch */ - -UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_new(upb_Arena* arena) { - return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch*)_upb_Message_New(&envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, arena); -} -UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* ret = envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* ret = envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_serialize(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_serialize_ex(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_string_match = 1, - envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_binary_match = 2, - envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_NOT_SET = 0 -} envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases; -UPB_INLINE envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_case(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return (envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_rule_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_clear_string_match(envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_string_match(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_has_string_match(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_clear_binary_match(envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_binary_match(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_has_binary_match(const envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_set_string_match(envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_set_binary_match(envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.config.tap.v3.OutputConfig */ - -UPB_INLINE envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_OutputConfig_new(upb_Arena* arena) { - return (envoy_config_tap_v3_OutputConfig*)_upb_Message_New(&envoy_config_tap_v3_OutputConfig_msg_init, arena); -} -UPB_INLINE envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_OutputConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_tap_v3_OutputConfig* ret = envoy_config_tap_v3_OutputConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_OutputConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_tap_v3_OutputConfig* envoy_config_tap_v3_OutputConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_tap_v3_OutputConfig* ret = envoy_config_tap_v3_OutputConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_OutputConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_tap_v3_OutputConfig_serialize(const envoy_config_tap_v3_OutputConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_OutputConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_tap_v3_OutputConfig_serialize_ex(const envoy_config_tap_v3_OutputConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_OutputConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_tap_v3_OutputConfig_clear_sinks(envoy_config_tap_v3_OutputConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_OutputSink* const* envoy_config_tap_v3_OutputConfig_sinks(const envoy_config_tap_v3_OutputConfig* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_config_tap_v3_OutputSink* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_config_tap_v3_OutputConfig_sinks_upb_array(const envoy_config_tap_v3_OutputConfig* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_config_tap_v3_OutputConfig_sinks_mutable_upb_array(const envoy_config_tap_v3_OutputConfig* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_config_tap_v3_OutputConfig_has_sinks(const envoy_config_tap_v3_OutputConfig* msg) { - size_t size; - envoy_config_tap_v3_OutputConfig_sinks(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_config_tap_v3_OutputConfig_clear_max_buffered_rx_bytes(envoy_config_tap_v3_OutputConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_max_buffered_rx_bytes(const envoy_config_tap_v3_OutputConfig* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_OutputConfig_has_max_buffered_rx_bytes(const envoy_config_tap_v3_OutputConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_OutputConfig_clear_max_buffered_tx_bytes(envoy_config_tap_v3_OutputConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_max_buffered_tx_bytes(const envoy_config_tap_v3_OutputConfig* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_OutputConfig_has_max_buffered_tx_bytes(const envoy_config_tap_v3_OutputConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_OutputConfig_clear_streaming(envoy_config_tap_v3_OutputConfig* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_config_tap_v3_OutputConfig_streaming(const envoy_config_tap_v3_OutputConfig* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {4, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE envoy_config_tap_v3_OutputSink** envoy_config_tap_v3_OutputConfig_mutable_sinks(envoy_config_tap_v3_OutputConfig* msg, size_t* size) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_config_tap_v3_OutputSink**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_config_tap_v3_OutputSink** envoy_config_tap_v3_OutputConfig_resize_sinks(envoy_config_tap_v3_OutputConfig* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_tap_v3_OutputSink**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_tap_v3_OutputSink* envoy_config_tap_v3_OutputConfig_add_sinks(envoy_config_tap_v3_OutputConfig* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_tap_v3_OutputSink* sub = (struct envoy_config_tap_v3_OutputSink*)_upb_Message_New(&envoy_config_tap_v3_OutputSink_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void envoy_config_tap_v3_OutputConfig_set_max_buffered_rx_bytes(envoy_config_tap_v3_OutputConfig *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_mutable_max_buffered_rx_bytes(envoy_config_tap_v3_OutputConfig* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_tap_v3_OutputConfig_max_buffered_rx_bytes(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_config_tap_v3_OutputConfig_set_max_buffered_rx_bytes(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_OutputConfig_set_max_buffered_tx_bytes(envoy_config_tap_v3_OutputConfig *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_tap_v3_OutputConfig_mutable_max_buffered_tx_bytes(envoy_config_tap_v3_OutputConfig* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_tap_v3_OutputConfig_max_buffered_tx_bytes(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_config_tap_v3_OutputConfig_set_max_buffered_tx_bytes(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_OutputConfig_set_streaming(envoy_config_tap_v3_OutputConfig *msg, bool value) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.config.tap.v3.OutputSink */ - -UPB_INLINE envoy_config_tap_v3_OutputSink* envoy_config_tap_v3_OutputSink_new(upb_Arena* arena) { - return (envoy_config_tap_v3_OutputSink*)_upb_Message_New(&envoy_config_tap_v3_OutputSink_msg_init, arena); -} -UPB_INLINE envoy_config_tap_v3_OutputSink* envoy_config_tap_v3_OutputSink_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_tap_v3_OutputSink* ret = envoy_config_tap_v3_OutputSink_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_OutputSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_tap_v3_OutputSink* envoy_config_tap_v3_OutputSink_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_tap_v3_OutputSink* ret = envoy_config_tap_v3_OutputSink_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_OutputSink_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_tap_v3_OutputSink_serialize(const envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_OutputSink_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_tap_v3_OutputSink_serialize_ex(const envoy_config_tap_v3_OutputSink* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_OutputSink_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_config_tap_v3_OutputSink_output_sink_type_streaming_admin = 2, - envoy_config_tap_v3_OutputSink_output_sink_type_file_per_tap = 3, - envoy_config_tap_v3_OutputSink_output_sink_type_streaming_grpc = 4, - envoy_config_tap_v3_OutputSink_output_sink_type_buffered_admin = 5, - envoy_config_tap_v3_OutputSink_output_sink_type_NOT_SET = 0 -} envoy_config_tap_v3_OutputSink_output_sink_type_oneofcases; -UPB_INLINE envoy_config_tap_v3_OutputSink_output_sink_type_oneofcases envoy_config_tap_v3_OutputSink_output_sink_type_case(const envoy_config_tap_v3_OutputSink* msg) { - const upb_MiniTableField field = {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_config_tap_v3_OutputSink_output_sink_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_format(envoy_config_tap_v3_OutputSink* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_config_tap_v3_OutputSink_format(const envoy_config_tap_v3_OutputSink* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_streaming_admin(envoy_config_tap_v3_OutputSink* msg) { - const upb_MiniTableField field = {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_OutputSink_streaming_admin(const envoy_config_tap_v3_OutputSink* msg) { - const envoy_config_tap_v3_StreamingAdminSink* default_val = NULL; - const envoy_config_tap_v3_StreamingAdminSink* ret; - const upb_MiniTableField field = {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_streaming_admin(const envoy_config_tap_v3_OutputSink* msg) { - const upb_MiniTableField field = {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_file_per_tap(envoy_config_tap_v3_OutputSink* msg) { - const upb_MiniTableField field = {3, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_OutputSink_file_per_tap(const envoy_config_tap_v3_OutputSink* msg) { - const envoy_config_tap_v3_FilePerTapSink* default_val = NULL; - const envoy_config_tap_v3_FilePerTapSink* ret; - const upb_MiniTableField field = {3, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_file_per_tap(const envoy_config_tap_v3_OutputSink* msg) { - const upb_MiniTableField field = {3, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_streaming_grpc(envoy_config_tap_v3_OutputSink* msg) { - const upb_MiniTableField field = {4, 8, -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_OutputSink_streaming_grpc(const envoy_config_tap_v3_OutputSink* msg) { - const envoy_config_tap_v3_StreamingGrpcSink* default_val = NULL; - const envoy_config_tap_v3_StreamingGrpcSink* ret; - const upb_MiniTableField field = {4, 8, -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_streaming_grpc(const envoy_config_tap_v3_OutputSink* msg) { - const upb_MiniTableField field = {4, 8, -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_tap_v3_OutputSink_clear_buffered_admin(envoy_config_tap_v3_OutputSink* msg) { - const upb_MiniTableField field = {5, 8, -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_OutputSink_buffered_admin(const envoy_config_tap_v3_OutputSink* msg) { - const envoy_config_tap_v3_BufferedAdminSink* default_val = NULL; - const envoy_config_tap_v3_BufferedAdminSink* ret; - const upb_MiniTableField field = {5, 8, -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_OutputSink_has_buffered_admin(const envoy_config_tap_v3_OutputSink* msg) { - const upb_MiniTableField field = {5, 8, -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_tap_v3_OutputSink_set_format(envoy_config_tap_v3_OutputSink *msg, int32_t value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_tap_v3_OutputSink_set_streaming_admin(envoy_config_tap_v3_OutputSink *msg, envoy_config_tap_v3_StreamingAdminSink* value) { - const upb_MiniTableField field = {2, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_OutputSink_mutable_streaming_admin(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_StreamingAdminSink* sub = (struct envoy_config_tap_v3_StreamingAdminSink*)envoy_config_tap_v3_OutputSink_streaming_admin(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_StreamingAdminSink*)_upb_Message_New(&envoy_config_tap_v3_StreamingAdminSink_msg_init, arena); - if (sub) envoy_config_tap_v3_OutputSink_set_streaming_admin(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_OutputSink_set_file_per_tap(envoy_config_tap_v3_OutputSink *msg, envoy_config_tap_v3_FilePerTapSink* value) { - const upb_MiniTableField field = {3, 8, -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_OutputSink_mutable_file_per_tap(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_FilePerTapSink* sub = (struct envoy_config_tap_v3_FilePerTapSink*)envoy_config_tap_v3_OutputSink_file_per_tap(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_FilePerTapSink*)_upb_Message_New(&envoy_config_tap_v3_FilePerTapSink_msg_init, arena); - if (sub) envoy_config_tap_v3_OutputSink_set_file_per_tap(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_OutputSink_set_streaming_grpc(envoy_config_tap_v3_OutputSink *msg, envoy_config_tap_v3_StreamingGrpcSink* value) { - const upb_MiniTableField field = {4, 8, -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_OutputSink_mutable_streaming_grpc(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_StreamingGrpcSink* sub = (struct envoy_config_tap_v3_StreamingGrpcSink*)envoy_config_tap_v3_OutputSink_streaming_grpc(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_StreamingGrpcSink*)_upb_Message_New(&envoy_config_tap_v3_StreamingGrpcSink_msg_init, arena); - if (sub) envoy_config_tap_v3_OutputSink_set_streaming_grpc(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_tap_v3_OutputSink_set_buffered_admin(envoy_config_tap_v3_OutputSink *msg, envoy_config_tap_v3_BufferedAdminSink* value) { - const upb_MiniTableField field = {5, 8, -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_OutputSink_mutable_buffered_admin(envoy_config_tap_v3_OutputSink* msg, upb_Arena* arena) { - struct envoy_config_tap_v3_BufferedAdminSink* sub = (struct envoy_config_tap_v3_BufferedAdminSink*)envoy_config_tap_v3_OutputSink_buffered_admin(msg); - if (sub == NULL) { - sub = (struct envoy_config_tap_v3_BufferedAdminSink*)_upb_Message_New(&envoy_config_tap_v3_BufferedAdminSink_msg_init, arena); - if (sub) envoy_config_tap_v3_OutputSink_set_buffered_admin(msg, sub); - } - return sub; -} - -/* envoy.config.tap.v3.StreamingAdminSink */ - -UPB_INLINE envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_StreamingAdminSink_new(upb_Arena* arena) { - return (envoy_config_tap_v3_StreamingAdminSink*)_upb_Message_New(&envoy_config_tap_v3_StreamingAdminSink_msg_init, arena); -} -UPB_INLINE envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_StreamingAdminSink_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_tap_v3_StreamingAdminSink* ret = envoy_config_tap_v3_StreamingAdminSink_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_StreamingAdminSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_tap_v3_StreamingAdminSink* envoy_config_tap_v3_StreamingAdminSink_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_tap_v3_StreamingAdminSink* ret = envoy_config_tap_v3_StreamingAdminSink_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_StreamingAdminSink_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_tap_v3_StreamingAdminSink_serialize(const envoy_config_tap_v3_StreamingAdminSink* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_StreamingAdminSink_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_tap_v3_StreamingAdminSink_serialize_ex(const envoy_config_tap_v3_StreamingAdminSink* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_StreamingAdminSink_msg_init, options, arena, &ptr, len); - return ptr; -} - - -/* envoy.config.tap.v3.BufferedAdminSink */ - -UPB_INLINE envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_BufferedAdminSink_new(upb_Arena* arena) { - return (envoy_config_tap_v3_BufferedAdminSink*)_upb_Message_New(&envoy_config_tap_v3_BufferedAdminSink_msg_init, arena); -} -UPB_INLINE envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_BufferedAdminSink_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_tap_v3_BufferedAdminSink* ret = envoy_config_tap_v3_BufferedAdminSink_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_BufferedAdminSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_tap_v3_BufferedAdminSink* envoy_config_tap_v3_BufferedAdminSink_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_tap_v3_BufferedAdminSink* ret = envoy_config_tap_v3_BufferedAdminSink_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_BufferedAdminSink_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_tap_v3_BufferedAdminSink_serialize(const envoy_config_tap_v3_BufferedAdminSink* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_BufferedAdminSink_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_tap_v3_BufferedAdminSink_serialize_ex(const envoy_config_tap_v3_BufferedAdminSink* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_BufferedAdminSink_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_tap_v3_BufferedAdminSink_clear_max_traces(envoy_config_tap_v3_BufferedAdminSink* msg) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_config_tap_v3_BufferedAdminSink_max_traces(const envoy_config_tap_v3_BufferedAdminSink* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_tap_v3_BufferedAdminSink_clear_timeout(envoy_config_tap_v3_BufferedAdminSink* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_config_tap_v3_BufferedAdminSink_timeout(const envoy_config_tap_v3_BufferedAdminSink* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_BufferedAdminSink_has_timeout(const envoy_config_tap_v3_BufferedAdminSink* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_tap_v3_BufferedAdminSink_set_max_traces(envoy_config_tap_v3_BufferedAdminSink *msg, uint64_t value) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_tap_v3_BufferedAdminSink_set_timeout(envoy_config_tap_v3_BufferedAdminSink *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_config_tap_v3_BufferedAdminSink_mutable_timeout(envoy_config_tap_v3_BufferedAdminSink* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_tap_v3_BufferedAdminSink_timeout(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_config_tap_v3_BufferedAdminSink_set_timeout(msg, sub); - } - return sub; -} - -/* envoy.config.tap.v3.FilePerTapSink */ - -UPB_INLINE envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_FilePerTapSink_new(upb_Arena* arena) { - return (envoy_config_tap_v3_FilePerTapSink*)_upb_Message_New(&envoy_config_tap_v3_FilePerTapSink_msg_init, arena); -} -UPB_INLINE envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_FilePerTapSink_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_tap_v3_FilePerTapSink* ret = envoy_config_tap_v3_FilePerTapSink_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_FilePerTapSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_tap_v3_FilePerTapSink* envoy_config_tap_v3_FilePerTapSink_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_tap_v3_FilePerTapSink* ret = envoy_config_tap_v3_FilePerTapSink_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_FilePerTapSink_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_tap_v3_FilePerTapSink_serialize(const envoy_config_tap_v3_FilePerTapSink* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_FilePerTapSink_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_tap_v3_FilePerTapSink_serialize_ex(const envoy_config_tap_v3_FilePerTapSink* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_FilePerTapSink_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_tap_v3_FilePerTapSink_clear_path_prefix(envoy_config_tap_v3_FilePerTapSink* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_tap_v3_FilePerTapSink_path_prefix(const envoy_config_tap_v3_FilePerTapSink* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_config_tap_v3_FilePerTapSink_set_path_prefix(envoy_config_tap_v3_FilePerTapSink *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.config.tap.v3.StreamingGrpcSink */ - -UPB_INLINE envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_StreamingGrpcSink_new(upb_Arena* arena) { - return (envoy_config_tap_v3_StreamingGrpcSink*)_upb_Message_New(&envoy_config_tap_v3_StreamingGrpcSink_msg_init, arena); -} -UPB_INLINE envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_StreamingGrpcSink_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_tap_v3_StreamingGrpcSink* ret = envoy_config_tap_v3_StreamingGrpcSink_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_StreamingGrpcSink_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_tap_v3_StreamingGrpcSink* envoy_config_tap_v3_StreamingGrpcSink_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_tap_v3_StreamingGrpcSink* ret = envoy_config_tap_v3_StreamingGrpcSink_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_tap_v3_StreamingGrpcSink_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_tap_v3_StreamingGrpcSink_serialize(const envoy_config_tap_v3_StreamingGrpcSink* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_StreamingGrpcSink_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_tap_v3_StreamingGrpcSink_serialize_ex(const envoy_config_tap_v3_StreamingGrpcSink* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_tap_v3_StreamingGrpcSink_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_tap_v3_StreamingGrpcSink_clear_tap_id(envoy_config_tap_v3_StreamingGrpcSink* msg) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_tap_v3_StreamingGrpcSink_tap_id(const envoy_config_tap_v3_StreamingGrpcSink* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_config_tap_v3_StreamingGrpcSink_clear_grpc_service(envoy_config_tap_v3_StreamingGrpcSink* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_GrpcService* envoy_config_tap_v3_StreamingGrpcSink_grpc_service(const envoy_config_tap_v3_StreamingGrpcSink* msg) { - const struct envoy_config_core_v3_GrpcService* default_val = NULL; - const struct envoy_config_core_v3_GrpcService* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_tap_v3_StreamingGrpcSink_has_grpc_service(const envoy_config_tap_v3_StreamingGrpcSink* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_config_tap_v3_StreamingGrpcSink_set_tap_id(envoy_config_tap_v3_StreamingGrpcSink *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_config_tap_v3_StreamingGrpcSink_set_grpc_service(envoy_config_tap_v3_StreamingGrpcSink *msg, struct envoy_config_core_v3_GrpcService* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_GrpcService* envoy_config_tap_v3_StreamingGrpcSink_mutable_grpc_service(envoy_config_tap_v3_StreamingGrpcSink* msg, upb_Arena* arena) { - struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)envoy_config_tap_v3_StreamingGrpcSink_grpc_service(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy_config_core_v3_GrpcService_msg_init, arena); - if (sub) envoy_config_tap_v3_StreamingGrpcSink_set_grpc_service(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile envoy_config_tap_v3_common_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c b/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c deleted file mode 100644 index f14ef29fa25..00000000000 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +++ /dev/null @@ -1,52 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/datadog.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/trace/v3/datadog.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_config_trace_v3_DatadogConfig__fields[3] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_trace_v3_DatadogConfig_msg_init = { - NULL, - &envoy_config_trace_v3_DatadogConfig__fields[0], - UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x002000003f00001a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_trace_v3_DatadogConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_trace_v3_datadog_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c b/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c deleted file mode 100644 index 038176ce2ce..00000000000 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +++ /dev/null @@ -1,56 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/dynamic_ot.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/trace/v3/dynamic_ot.upb.h" -#include "google/protobuf/struct.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_trace_v3_DynamicOtConfig_submsgs[1] = { - {.submsg = &google_protobuf_Struct_msg_init}, -}; - -static const upb_MiniTableField envoy_config_trace_v3_DynamicOtConfig__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_trace_v3_DynamicOtConfig_msg_init = { - &envoy_config_trace_v3_DynamicOtConfig_submsgs[0], - &envoy_config_trace_v3_DynamicOtConfig__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_trace_v3_DynamicOtConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_trace_v3_dynamic_ot_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c b/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c deleted file mode 100644 index 5ab92061e7b..00000000000 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +++ /dev/null @@ -1,74 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/http_tracer.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/trace/v3/http_tracer.upb.h" -#include "google/protobuf/any.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_trace_v3_Tracing_submsgs[1] = { - {.submsg = &envoy_config_trace_v3_Tracing_Http_msg_init}, -}; - -static const upb_MiniTableField envoy_config_trace_v3_Tracing__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_trace_v3_Tracing_msg_init = { - &envoy_config_trace_v3_Tracing_submsgs[0], - &envoy_config_trace_v3_Tracing__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_config_trace_v3_Tracing_Http_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_config_trace_v3_Tracing_Http__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_trace_v3_Tracing_Http_msg_init = { - &envoy_config_trace_v3_Tracing_Http_submsgs[0], - &envoy_config_trace_v3_Tracing_Http__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000300001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_config_trace_v3_Tracing_msg_init, - &envoy_config_trace_v3_Tracing_Http_msg_init, -}; - -const upb_MiniTableFile envoy_config_trace_v3_http_tracer_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c b/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c deleted file mode 100644 index b03c0a477ef..00000000000 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +++ /dev/null @@ -1,63 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/lightstep.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/trace/v3/lightstep.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_trace_v3_LightstepConfig_submsgs[1] = { - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, -}; - -static const upb_MiniTableField envoy_config_trace_v3_LightstepConfig__fields[4] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_trace_v3_LightstepConfig_msg_init = { - &envoy_config_trace_v3_LightstepConfig_submsgs[0], - &envoy_config_trace_v3_LightstepConfig__fields[0], - UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x002800003f00001a, &upb_ppv4_1bt}, - {0x0030000001000022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_trace_v3_LightstepConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_trace_v3_lightstep_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c b/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c deleted file mode 100644 index 0da8d50b50b..00000000000 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +++ /dev/null @@ -1,82 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/opencensus.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/trace/v3/opencensus.upb.h" -#include "envoy/config/core/v3/grpc_service.upb.h" -#include "opencensus/proto/trace/v1/trace_config.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_trace_v3_OpenCensusConfig_submsgs[3] = { - {.submsg = &opencensus_proto_trace_v1_TraceConfig_msg_init}, - {.submsg = &envoy_config_core_v3_GrpcService_msg_init}, - {.submsg = &envoy_config_core_v3_GrpcService_msg_init}, -}; - -static const upb_MiniTableField envoy_config_trace_v3_OpenCensusConfig__fields[13] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(9, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(10, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(40, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(12, 48), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(16, 56), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(20, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(56, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(24, 96), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(28, 104), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_trace_v3_OpenCensusConfig_msg_init = { - &envoy_config_trace_v3_OpenCensusConfig_submsgs[0], - &envoy_config_trace_v3_OpenCensusConfig__fields[0], - UPB_SIZE(64, 112), 13, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x000200003f000018, &upb_psb1_1bt}, - {0x001000003f000022, &upb_pss_1bt}, - {0x000300003f000028, &upb_psb1_1bt}, - {0x002000003f000032, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x003000003f000042, &upb_ppv4_1bt}, - {0x003800003f00004a, &upb_ppv4_1bt}, - {0x004000003f000052, &upb_pss_1bt}, - {0x000400003f000058, &upb_psb1_1bt}, - {0x005000003f000062, &upb_pss_1bt}, - {0x006000000201006a, &upb_psm_1bt_maxmaxb}, - {0x0068000003020072, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_trace_v3_OpenCensusConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_trace_v3_opencensus_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c b/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c deleted file mode 100644 index 26f26f98d4a..00000000000 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +++ /dev/null @@ -1,53 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/opentelemetry.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/trace/v3/opentelemetry.upb.h" -#include "envoy/config/core/v3/grpc_service.upb.h" -#include "udpa/annotations/status.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_trace_v3_OpenTelemetryConfig_submsgs[1] = { - {.submsg = &envoy_config_core_v3_GrpcService_msg_init}, -}; - -static const upb_MiniTableField envoy_config_trace_v3_OpenTelemetryConfig__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_trace_v3_OpenTelemetryConfig_msg_init = { - &envoy_config_trace_v3_OpenTelemetryConfig_submsgs[0], - &envoy_config_trace_v3_OpenTelemetryConfig__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_trace_v3_OpenTelemetryConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_trace_v3_opentelemetry_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h b/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h deleted file mode 100644 index 27312f85ada..00000000000 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +++ /dev/null @@ -1,114 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/opentelemetry.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_TRACE_V3_OPENTELEMETRY_PROTO_UPB_H_ -#define ENVOY_CONFIG_TRACE_V3_OPENTELEMETRY_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_config_trace_v3_OpenTelemetryConfig envoy_config_trace_v3_OpenTelemetryConfig; -extern const upb_MiniTable envoy_config_trace_v3_OpenTelemetryConfig_msg_init; -struct envoy_config_core_v3_GrpcService; -extern const upb_MiniTable envoy_config_core_v3_GrpcService_msg_init; - - - -/* envoy.config.trace.v3.OpenTelemetryConfig */ - -UPB_INLINE envoy_config_trace_v3_OpenTelemetryConfig* envoy_config_trace_v3_OpenTelemetryConfig_new(upb_Arena* arena) { - return (envoy_config_trace_v3_OpenTelemetryConfig*)_upb_Message_New(&envoy_config_trace_v3_OpenTelemetryConfig_msg_init, arena); -} -UPB_INLINE envoy_config_trace_v3_OpenTelemetryConfig* envoy_config_trace_v3_OpenTelemetryConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_config_trace_v3_OpenTelemetryConfig* ret = envoy_config_trace_v3_OpenTelemetryConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_OpenTelemetryConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_config_trace_v3_OpenTelemetryConfig* envoy_config_trace_v3_OpenTelemetryConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_config_trace_v3_OpenTelemetryConfig* ret = envoy_config_trace_v3_OpenTelemetryConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_config_trace_v3_OpenTelemetryConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_config_trace_v3_OpenTelemetryConfig_serialize(const envoy_config_trace_v3_OpenTelemetryConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_OpenTelemetryConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_config_trace_v3_OpenTelemetryConfig_serialize_ex(const envoy_config_trace_v3_OpenTelemetryConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_config_trace_v3_OpenTelemetryConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_config_trace_v3_OpenTelemetryConfig_clear_grpc_service(envoy_config_trace_v3_OpenTelemetryConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_GrpcService* envoy_config_trace_v3_OpenTelemetryConfig_grpc_service(const envoy_config_trace_v3_OpenTelemetryConfig* msg) { - const struct envoy_config_core_v3_GrpcService* default_val = NULL; - const struct envoy_config_core_v3_GrpcService* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_config_trace_v3_OpenTelemetryConfig_has_grpc_service(const envoy_config_trace_v3_OpenTelemetryConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_config_trace_v3_OpenTelemetryConfig_clear_service_name(envoy_config_trace_v3_OpenTelemetryConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_config_trace_v3_OpenTelemetryConfig_service_name(const envoy_config_trace_v3_OpenTelemetryConfig* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_config_trace_v3_OpenTelemetryConfig_set_grpc_service(envoy_config_trace_v3_OpenTelemetryConfig *msg, struct envoy_config_core_v3_GrpcService* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_GrpcService* envoy_config_trace_v3_OpenTelemetryConfig_mutable_grpc_service(envoy_config_trace_v3_OpenTelemetryConfig* msg, upb_Arena* arena) { - struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)envoy_config_trace_v3_OpenTelemetryConfig_grpc_service(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy_config_core_v3_GrpcService_msg_init, arena); - if (sub) envoy_config_trace_v3_OpenTelemetryConfig_set_grpc_service(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_config_trace_v3_OpenTelemetryConfig_set_service_name(envoy_config_trace_v3_OpenTelemetryConfig *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -extern const upb_MiniTableFile envoy_config_trace_v3_opentelemetry_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_TRACE_V3_OPENTELEMETRY_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c b/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c deleted file mode 100644 index abe28f393cc..00000000000 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +++ /dev/null @@ -1,52 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/service.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/trace/v3/service.upb.h" -#include "envoy/config/core/v3/grpc_service.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_trace_v3_TraceServiceConfig_submsgs[1] = { - {.submsg = &envoy_config_core_v3_GrpcService_msg_init}, -}; - -static const upb_MiniTableField envoy_config_trace_v3_TraceServiceConfig__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_trace_v3_TraceServiceConfig_msg_init = { - &envoy_config_trace_v3_TraceServiceConfig_submsgs[0], - &envoy_config_trace_v3_TraceServiceConfig__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_trace_v3_TraceServiceConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_trace_v3_service_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c b/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c deleted file mode 100644 index 37dc3f2ccb8..00000000000 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +++ /dev/null @@ -1,86 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/skywalking.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/trace/v3/skywalking.upb.h" -#include "envoy/config/core/v3/grpc_service.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/sensitive.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_trace_v3_SkyWalkingConfig_submsgs[2] = { - {.submsg = &envoy_config_core_v3_GrpcService_msg_init}, - {.submsg = &envoy_config_trace_v3_ClientConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_config_trace_v3_SkyWalkingConfig__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_trace_v3_SkyWalkingConfig_msg_init = { - &envoy_config_trace_v3_SkyWalkingConfig_submsgs[0], - &envoy_config_trace_v3_SkyWalkingConfig__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_trace_v3_ClientConfig_submsgs[1] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_config_trace_v3_ClientConfig__fields[4] = { - {1, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(28, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 56), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_trace_v3_ClientConfig_msg_init = { - &envoy_config_trace_v3_ClientConfig_submsgs[0], - &envoy_config_trace_v3_ClientConfig__fields[0], - UPB_SIZE(40, 64), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f00000a, &upb_pss_1bt}, - {0x002800003f000012, &upb_pss_1bt}, - {0x000800040300001a, &upb_pos_1bt}, - {0x0038000001000022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_config_trace_v3_SkyWalkingConfig_msg_init, - &envoy_config_trace_v3_ClientConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_trace_v3_skywalking_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c b/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c deleted file mode 100644 index 20f705f3827..00000000000 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +++ /dev/null @@ -1,34 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/trace.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/trace/v3/trace.upb.h" -#include "envoy/config/trace/v3/datadog.upb.h" -#include "envoy/config/trace/v3/dynamic_ot.upb.h" -#include "envoy/config/trace/v3/http_tracer.upb.h" -#include "envoy/config/trace/v3/lightstep.upb.h" -#include "envoy/config/trace/v3/opencensus.upb.h" -#include "envoy/config/trace/v3/opentelemetry.upb.h" -#include "envoy/config/trace/v3/service.upb.h" -#include "envoy/config/trace/v3/zipkin.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -const upb_MiniTableFile envoy_config_trace_v3_trace_proto_upb_file_layout = { - NULL, - NULL, - NULL, - 0, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h b/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h deleted file mode 100644 index 159a92bbab6..00000000000 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +++ /dev/null @@ -1,40 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/trace.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_TRACE_V3_TRACE_PROTO_UPB_H_ -#define ENVOY_CONFIG_TRACE_V3_TRACE_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -/* Public Imports. */ -#include "envoy/config/trace/v3/datadog.upb.h" -#include "envoy/config/trace/v3/dynamic_ot.upb.h" -#include "envoy/config/trace/v3/http_tracer.upb.h" -#include "envoy/config/trace/v3/lightstep.upb.h" -#include "envoy/config/trace/v3/opencensus.upb.h" -#include "envoy/config/trace/v3/opentelemetry.upb.h" -#include "envoy/config/trace/v3/service.upb.h" -#include "envoy/config/trace/v3/zipkin.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - - - -extern const upb_MiniTableFile envoy_config_trace_v3_trace_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_TRACE_V3_TRACE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c b/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c deleted file mode 100644 index f15b89f5e68..00000000000 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +++ /dev/null @@ -1,88 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/xray.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/trace/v3/xray.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "google/protobuf/struct.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_trace_v3_XRayConfig_submsgs[3] = { - {.submsg = &envoy_config_core_v3_SocketAddress_msg_init}, - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, - {.submsg = &envoy_config_trace_v3_XRayConfig_SegmentFields_msg_init}, -}; - -static const upb_MiniTableField envoy_config_trace_v3_XRayConfig__fields[4] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_trace_v3_XRayConfig_msg_init = { - &envoy_config_trace_v3_XRayConfig_submsgs[0], - &envoy_config_trace_v3_XRayConfig__fields[0], - UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_pss_1bt}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - {0x0028000003020022, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_config_trace_v3_XRayConfig_SegmentFields_submsgs[1] = { - {.submsg = &google_protobuf_Struct_msg_init}, -}; - -static const upb_MiniTableField envoy_config_trace_v3_XRayConfig_SegmentFields__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_trace_v3_XRayConfig_SegmentFields_msg_init = { - &envoy_config_trace_v3_XRayConfig_SegmentFields_submsgs[0], - &envoy_config_trace_v3_XRayConfig_SegmentFields__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_config_trace_v3_XRayConfig_msg_init, - &envoy_config_trace_v3_XRayConfig_SegmentFields_msg_init, -}; - -const upb_MiniTableFile envoy_config_trace_v3_xray_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c b/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c deleted file mode 100644 index 1a6f02fde80..00000000000 --- a/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +++ /dev/null @@ -1,66 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/zipkin.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/config/trace/v3/zipkin.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_config_trace_v3_ZipkinConfig_submsgs[1] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_config_trace_v3_ZipkinConfig__fields[7] = { - {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 48), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(32, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_config_trace_v3_ZipkinConfig_msg_init = { - &envoy_config_trace_v3_ZipkinConfig_submsgs[0], - &envoy_config_trace_v3_ZipkinConfig__fields[0], - UPB_SIZE(40, 72), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f00000a, &upb_pss_1bt}, - {0x002000003f000012, &upb_pss_1bt}, - {0x000100003f000018, &upb_psb1_1bt}, - {0x0030000001000022, &upb_psm_1bt_maxmaxb}, - {0x000400003f000028, &upb_psv4_1bt}, - {0x003800003f000032, &upb_pss_1bt}, - {0x000800003f000038, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_config_trace_v3_ZipkinConfig_msg_init, -}; - -const upb_MiniTableFile envoy_config_trace_v3_zipkin_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c b/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c deleted file mode 100644 index fb5ff2e1212..00000000000 --- a/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c +++ /dev/null @@ -1,556 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/data/accesslog/v3/accesslog.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/data/accesslog/v3/accesslog.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/timestamp.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_data_accesslog_v3_TCPAccessLogEntry_submsgs[2] = { - {.submsg = &envoy_data_accesslog_v3_AccessLogCommon_msg_init}, - {.submsg = &envoy_data_accesslog_v3_ConnectionProperties_msg_init}, -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_TCPAccessLogEntry__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_TCPAccessLogEntry_msg_init = { - &envoy_data_accesslog_v3_TCPAccessLogEntry_submsgs[0], - &envoy_data_accesslog_v3_TCPAccessLogEntry__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_data_accesslog_v3_HTTPAccessLogEntry_submsgs[3] = { - {.submsg = &envoy_data_accesslog_v3_AccessLogCommon_msg_init}, - {.submsg = &envoy_data_accesslog_v3_HTTPRequestProperties_msg_init}, - {.submsg = &envoy_data_accesslog_v3_HTTPResponseProperties_msg_init}, -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_HTTPAccessLogEntry__fields[4] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_HTTPAccessLogEntry_msg_init = { - &envoy_data_accesslog_v3_HTTPAccessLogEntry_submsgs[0], - &envoy_data_accesslog_v3_HTTPAccessLogEntry__fields[0], - UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x001000000201001a, &upb_psm_1bt_max192b}, - {0x0018000003020022, &upb_psm_1bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_ConnectionProperties__fields[2] = { - {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_ConnectionProperties_msg_init = { - NULL, - &envoy_data_accesslog_v3_ConnectionProperties__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv8_1bt}, - {0x000800003f000010, &upb_psv8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_data_accesslog_v3_AccessLogCommon_submsgs[19] = { - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_data_accesslog_v3_TLSProperties_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_data_accesslog_v3_ResponseFlags_msg_init}, - {.submsg = &envoy_config_core_v3_Metadata_msg_init}, - {.submsg = &envoy_config_core_v3_Address_msg_init}, - {.submsg = &envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_msg_init}, - {.submsg = &envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_AccessLogCommon__fields[33] = { - {1, UPB_SIZE(96, 16), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 56), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(24, 64), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(28, 72), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(32, 80), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(36, 88), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(40, 96), 10, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(44, 104), 11, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(48, 112), 12, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(52, 120), 13, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(104, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(56, 144), 14, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(60, 152), 15, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {18, UPB_SIZE(112, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {19, UPB_SIZE(120, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {20, UPB_SIZE(64, 192), 16, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {23, UPB_SIZE(76, 216), 17, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {24, UPB_SIZE(80, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {25, UPB_SIZE(128, 224), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {26, UPB_SIZE(136, 240), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {27, UPB_SIZE(84, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {28, UPB_SIZE(144, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {29, UPB_SIZE(152, 272), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {30, UPB_SIZE(160, 280), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {31, UPB_SIZE(168, 288), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {32, UPB_SIZE(176, 296), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {33, UPB_SIZE(88, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_AccessLogCommon_msg_init = { - &envoy_data_accesslog_v3_AccessLogCommon_submsgs[0], - &envoy_data_accesslog_v3_AccessLogCommon__fields[0], - UPB_SIZE(184, 304), 33, kUpb_ExtMode_NonExtendable, 33, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f000009, &upb_psf8_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - {0x0028000003020022, &upb_psm_1bt_max128b}, - {0x003000000403002a, &upb_psm_1bt_maxmaxb}, - {0x0038000005040032, &upb_psm_1bt_maxmaxb}, - {0x004000000605003a, &upb_psm_1bt_maxmaxb}, - {0x0048000007060042, &upb_psm_1bt_maxmaxb}, - {0x005000000807004a, &upb_psm_1bt_maxmaxb}, - {0x0058000009080052, &upb_psm_1bt_maxmaxb}, - {0x006000000a09005a, &upb_psm_1bt_maxmaxb}, - {0x006800000b0a0062, &upb_psm_1bt_maxmaxb}, - {0x007000000c0b006a, &upb_psm_1bt_maxmaxb}, - {0x007800000d0c0072, &upb_psm_1bt_maxmaxb}, - {0x008000003f00007a, &upb_pss_1bt}, - {0x009000000e0d0182, &upb_psm_2bt_max64b}, - {0x009800000f0e018a, &upb_psm_2bt_maxmaxb}, - {0x00a000003f000192, &upb_pss_2bt}, - {0x00b000003f00019a, &upb_pss_2bt}, - {0x00c00000100f01a2, &upb_psm_2bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x00d80000111201ba, &upb_psm_2bt_maxmaxb}, - {0x000400003f0001c0, &upb_psv4_2bt}, - {0x00e000003f0001ca, &upb_pss_2bt}, - {0x00f000003f0001d2, &upb_pss_2bt}, - {0x000800003f0001d8, &upb_psb1_2bt}, - {0x010000003f0001e2, &upb_pss_2bt}, - {0x011000003f0001e8, &upb_psv8_2bt}, - {0x011800003f0001f0, &upb_psv8_2bt}, - {0x012000003f0001f8, &upb_psv8_2bt}, - }) -}; - -static const upb_MiniTableSub envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_msg_init = { - &envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_submsgs[0], - &envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry_msg_init = { - NULL, - &envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_data_accesslog_v3_ResponseFlags_submsgs[1] = { - {.submsg = &envoy_data_accesslog_v3_ResponseFlags_Unauthorized_msg_init}, -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_ResponseFlags__fields[27] = { - {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, 3, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, 5, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, 6, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, 7, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {8, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {9, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {10, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {11, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {12, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(16, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(20, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(21, 14), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(22, 15), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(23, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {18, UPB_SIZE(24, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {19, UPB_SIZE(25, 18), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {20, UPB_SIZE(26, 19), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {21, UPB_SIZE(27, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {22, UPB_SIZE(28, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {23, UPB_SIZE(29, 22), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {24, UPB_SIZE(30, 23), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {25, UPB_SIZE(31, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {26, UPB_SIZE(32, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {27, UPB_SIZE(33, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_ResponseFlags_msg_init = { - &envoy_data_accesslog_v3_ResponseFlags_submsgs[0], - &envoy_data_accesslog_v3_ResponseFlags__fields[0], - 40, 27, kUpb_ExtMode_NonExtendable, 27, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000100003f000008, &upb_psb1_1bt}, - {0x000200003f000010, &upb_psb1_1bt}, - {0x000300003f000018, &upb_psb1_1bt}, - {0x000400003f000020, &upb_psb1_1bt}, - {0x000500003f000028, &upb_psb1_1bt}, - {0x000600003f000030, &upb_psb1_1bt}, - {0x000700003f000038, &upb_psb1_1bt}, - {0x000800003f000040, &upb_psb1_1bt}, - {0x000900003f000048, &upb_psb1_1bt}, - {0x000a00003f000050, &upb_psb1_1bt}, - {0x000b00003f000058, &upb_psb1_1bt}, - {0x000c00003f000060, &upb_psb1_1bt}, - {0x002000000100006a, &upb_psm_1bt_max64b}, - {0x000d00003f000070, &upb_psb1_1bt}, - {0x000e00003f000078, &upb_psb1_1bt}, - {0x000f00003f000180, &upb_psb1_2bt}, - {0x001000003f000188, &upb_psb1_2bt}, - {0x001100003f000190, &upb_psb1_2bt}, - {0x001200003f000198, &upb_psb1_2bt}, - {0x001300003f0001a0, &upb_psb1_2bt}, - {0x001400003f0001a8, &upb_psb1_2bt}, - {0x001500003f0001b0, &upb_psb1_2bt}, - {0x001600003f0001b8, &upb_psb1_2bt}, - {0x001700003f0001c0, &upb_psb1_2bt}, - {0x001800003f0001c8, &upb_psb1_2bt}, - {0x001900003f0001d0, &upb_psb1_2bt}, - {0x001a00003f0001d8, &upb_psb1_2bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_ResponseFlags_Unauthorized__fields[1] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_ResponseFlags_Unauthorized_msg_init = { - NULL, - &envoy_data_accesslog_v3_ResponseFlags_Unauthorized__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_data_accesslog_v3_TLSProperties_submsgs[3] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_msg_init}, - {.submsg = &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_msg_init}, -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_TLSProperties__fields[7] = { - {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(36, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_TLSProperties_msg_init = { - &envoy_data_accesslog_v3_TLSProperties_submsgs[0], - &envoy_data_accesslog_v3_TLSProperties__fields[0], - UPB_SIZE(48, 80), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x0008000001000012, &upb_psm_1bt_maxmaxb}, - {0x001000003f00001a, &upb_pss_1bt}, - {0x0020000002010022, &upb_psm_1bt_max64b}, - {0x002800000302002a, &upb_psm_1bt_max64b}, - {0x003000003f000032, &upb_pss_1bt}, - {0x004000003f00003a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_data_accesslog_v3_TLSProperties_CertificateProperties_submsgs[1] = { - {.submsg = &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_msg_init}, -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_TLSProperties_CertificateProperties__fields[2] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_TLSProperties_CertificateProperties_msg_init = { - &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_submsgs[0], - &envoy_data_accesslog_v3_TLSProperties_CertificateProperties__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - {0x000800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName__fields[2] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_msg_init = { - NULL, - &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - {0x0008000002000012, &upb_pos_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_data_accesslog_v3_HTTPRequestProperties_submsgs[2] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry_msg_init}, -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_HTTPRequestProperties__fields[15] = { - {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(48, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(56, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(64, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(72, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(80, 144), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(88, 152), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(96, 168), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(104, 176), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_HTTPRequestProperties_msg_init = { - &envoy_data_accesslog_v3_HTTPRequestProperties_submsgs[0], - &envoy_data_accesslog_v3_HTTPRequestProperties__fields[0], - UPB_SIZE(112, 184), 15, kUpb_ExtMode_NonExtendable, 15, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x000800003f000012, &upb_pss_1bt}, - {0x001800003f00001a, &upb_pss_1bt}, - {0x0028000001000022, &upb_psm_1bt_maxmaxb}, - {0x003000003f00002a, &upb_pss_1bt}, - {0x004000003f000032, &upb_pss_1bt}, - {0x005000003f00003a, &upb_pss_1bt}, - {0x006000003f000042, &upb_pss_1bt}, - {0x007000003f00004a, &upb_pss_1bt}, - {0x008000003f000052, &upb_pss_1bt}, - {0x009000003f000058, &upb_psv8_1bt}, - {0x009800003f000060, &upb_psv8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x00a800003f000070, &upb_psv8_1bt}, - {0x00b000003f000078, &upb_psv8_1bt}, - }) -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry_msg_init = { - NULL, - &envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_data_accesslog_v3_HTTPResponseProperties_submsgs[3] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry_msg_init}, - {.submsg = &envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry_msg_init}, -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_HTTPResponseProperties__fields[8] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(40, 64), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(48, 72), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_HTTPResponseProperties_msg_init = { - &envoy_data_accesslog_v3_HTTPResponseProperties_submsgs[0], - &envoy_data_accesslog_v3_HTTPResponseProperties__fields[0], - UPB_SIZE(56, 80), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000010, &upb_psv8_1bt}, - {0x001800003f000018, &upb_psv8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x003000003f000032, &upb_pss_1bt}, - {0x004000003f000038, &upb_psv8_1bt}, - {0x004800003f000040, &upb_psv8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry_msg_init = { - NULL, - &envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry_msg_init = { - NULL, - &envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[16] = { - &envoy_data_accesslog_v3_TCPAccessLogEntry_msg_init, - &envoy_data_accesslog_v3_HTTPAccessLogEntry_msg_init, - &envoy_data_accesslog_v3_ConnectionProperties_msg_init, - &envoy_data_accesslog_v3_AccessLogCommon_msg_init, - &envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_msg_init, - &envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry_msg_init, - &envoy_data_accesslog_v3_ResponseFlags_msg_init, - &envoy_data_accesslog_v3_ResponseFlags_Unauthorized_msg_init, - &envoy_data_accesslog_v3_TLSProperties_msg_init, - &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_msg_init, - &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_msg_init, - &envoy_data_accesslog_v3_HTTPRequestProperties_msg_init, - &envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry_msg_init, - &envoy_data_accesslog_v3_HTTPResponseProperties_msg_init, - &envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry_msg_init, - &envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry_msg_init, -}; - -const upb_MiniTableFile envoy_data_accesslog_v3_accesslog_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 16, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h b/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h deleted file mode 100644 index 910bfb7f42e..00000000000 --- a/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h +++ /dev/null @@ -1,2702 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/data/accesslog/v3/accesslog.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_H_ -#define ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_data_accesslog_v3_TCPAccessLogEntry envoy_data_accesslog_v3_TCPAccessLogEntry; -typedef struct envoy_data_accesslog_v3_HTTPAccessLogEntry envoy_data_accesslog_v3_HTTPAccessLogEntry; -typedef struct envoy_data_accesslog_v3_ConnectionProperties envoy_data_accesslog_v3_ConnectionProperties; -typedef struct envoy_data_accesslog_v3_AccessLogCommon envoy_data_accesslog_v3_AccessLogCommon; -typedef struct envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry; -typedef struct envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry; -typedef struct envoy_data_accesslog_v3_ResponseFlags envoy_data_accesslog_v3_ResponseFlags; -typedef struct envoy_data_accesslog_v3_ResponseFlags_Unauthorized envoy_data_accesslog_v3_ResponseFlags_Unauthorized; -typedef struct envoy_data_accesslog_v3_TLSProperties envoy_data_accesslog_v3_TLSProperties; -typedef struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties envoy_data_accesslog_v3_TLSProperties_CertificateProperties; -typedef struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName; -typedef struct envoy_data_accesslog_v3_HTTPRequestProperties envoy_data_accesslog_v3_HTTPRequestProperties; -typedef struct envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry; -typedef struct envoy_data_accesslog_v3_HTTPResponseProperties envoy_data_accesslog_v3_HTTPResponseProperties; -typedef struct envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry; -typedef struct envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry; -extern const upb_MiniTable envoy_data_accesslog_v3_TCPAccessLogEntry_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_HTTPAccessLogEntry_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_ConnectionProperties_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_AccessLogCommon_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_ResponseFlags_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_ResponseFlags_Unauthorized_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_TLSProperties_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_TLSProperties_CertificateProperties_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_HTTPRequestProperties_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_HTTPResponseProperties_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry_msg_init; -extern const upb_MiniTable envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry_msg_init; -struct envoy_config_core_v3_Address; -struct envoy_config_core_v3_Metadata; -struct google_protobuf_Any; -struct google_protobuf_Duration; -struct google_protobuf_Timestamp; -struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_core_v3_Address_msg_init; -extern const upb_MiniTable envoy_config_core_v3_Metadata_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_Timestamp_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; - -typedef enum { - envoy_data_accesslog_v3_NotSet = 0, - envoy_data_accesslog_v3_TcpUpstreamConnected = 1, - envoy_data_accesslog_v3_TcpPeriodic = 2, - envoy_data_accesslog_v3_TcpConnectionEnd = 3, - envoy_data_accesslog_v3_DownstreamStart = 4, - envoy_data_accesslog_v3_DownstreamPeriodic = 5, - envoy_data_accesslog_v3_DownstreamEnd = 6, - envoy_data_accesslog_v3_UpstreamPoolReady = 7, - envoy_data_accesslog_v3_UpstreamPeriodic = 8, - envoy_data_accesslog_v3_UpstreamEnd = 9, - envoy_data_accesslog_v3_DownstreamTunnelSuccessfullyEstablished = 10 -} envoy_data_accesslog_v3_AccessLogType; - -typedef enum { - envoy_data_accesslog_v3_HTTPAccessLogEntry_PROTOCOL_UNSPECIFIED = 0, - envoy_data_accesslog_v3_HTTPAccessLogEntry_HTTP10 = 1, - envoy_data_accesslog_v3_HTTPAccessLogEntry_HTTP11 = 2, - envoy_data_accesslog_v3_HTTPAccessLogEntry_HTTP2 = 3, - envoy_data_accesslog_v3_HTTPAccessLogEntry_HTTP3 = 4 -} envoy_data_accesslog_v3_HTTPAccessLogEntry_HTTPVersion; - -typedef enum { - envoy_data_accesslog_v3_ResponseFlags_Unauthorized_REASON_UNSPECIFIED = 0, - envoy_data_accesslog_v3_ResponseFlags_Unauthorized_EXTERNAL_SERVICE = 1 -} envoy_data_accesslog_v3_ResponseFlags_Unauthorized_Reason; - -typedef enum { - envoy_data_accesslog_v3_TLSProperties_VERSION_UNSPECIFIED = 0, - envoy_data_accesslog_v3_TLSProperties_TLSv1 = 1, - envoy_data_accesslog_v3_TLSProperties_TLSv1_1 = 2, - envoy_data_accesslog_v3_TLSProperties_TLSv1_2 = 3, - envoy_data_accesslog_v3_TLSProperties_TLSv1_3 = 4 -} envoy_data_accesslog_v3_TLSProperties_TLSVersion; - - - -/* envoy.data.accesslog.v3.TCPAccessLogEntry */ - -UPB_INLINE envoy_data_accesslog_v3_TCPAccessLogEntry* envoy_data_accesslog_v3_TCPAccessLogEntry_new(upb_Arena* arena) { - return (envoy_data_accesslog_v3_TCPAccessLogEntry*)_upb_Message_New(&envoy_data_accesslog_v3_TCPAccessLogEntry_msg_init, arena); -} -UPB_INLINE envoy_data_accesslog_v3_TCPAccessLogEntry* envoy_data_accesslog_v3_TCPAccessLogEntry_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_data_accesslog_v3_TCPAccessLogEntry* ret = envoy_data_accesslog_v3_TCPAccessLogEntry_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_TCPAccessLogEntry_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_data_accesslog_v3_TCPAccessLogEntry* envoy_data_accesslog_v3_TCPAccessLogEntry_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_data_accesslog_v3_TCPAccessLogEntry* ret = envoy_data_accesslog_v3_TCPAccessLogEntry_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_TCPAccessLogEntry_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_data_accesslog_v3_TCPAccessLogEntry_serialize(const envoy_data_accesslog_v3_TCPAccessLogEntry* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_TCPAccessLogEntry_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_data_accesslog_v3_TCPAccessLogEntry_serialize_ex(const envoy_data_accesslog_v3_TCPAccessLogEntry* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_TCPAccessLogEntry_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_data_accesslog_v3_TCPAccessLogEntry_clear_common_properties(envoy_data_accesslog_v3_TCPAccessLogEntry* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_TCPAccessLogEntry_common_properties(const envoy_data_accesslog_v3_TCPAccessLogEntry* msg) { - const envoy_data_accesslog_v3_AccessLogCommon* default_val = NULL; - const envoy_data_accesslog_v3_AccessLogCommon* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_TCPAccessLogEntry_has_common_properties(const envoy_data_accesslog_v3_TCPAccessLogEntry* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_TCPAccessLogEntry_clear_connection_properties(envoy_data_accesslog_v3_TCPAccessLogEntry* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_data_accesslog_v3_ConnectionProperties* envoy_data_accesslog_v3_TCPAccessLogEntry_connection_properties(const envoy_data_accesslog_v3_TCPAccessLogEntry* msg) { - const envoy_data_accesslog_v3_ConnectionProperties* default_val = NULL; - const envoy_data_accesslog_v3_ConnectionProperties* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_TCPAccessLogEntry_has_connection_properties(const envoy_data_accesslog_v3_TCPAccessLogEntry* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_data_accesslog_v3_TCPAccessLogEntry_set_common_properties(envoy_data_accesslog_v3_TCPAccessLogEntry *msg, envoy_data_accesslog_v3_AccessLogCommon* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_TCPAccessLogEntry_mutable_common_properties(envoy_data_accesslog_v3_TCPAccessLogEntry* msg, upb_Arena* arena) { - struct envoy_data_accesslog_v3_AccessLogCommon* sub = (struct envoy_data_accesslog_v3_AccessLogCommon*)envoy_data_accesslog_v3_TCPAccessLogEntry_common_properties(msg); - if (sub == NULL) { - sub = (struct envoy_data_accesslog_v3_AccessLogCommon*)_upb_Message_New(&envoy_data_accesslog_v3_AccessLogCommon_msg_init, arena); - if (sub) envoy_data_accesslog_v3_TCPAccessLogEntry_set_common_properties(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_TCPAccessLogEntry_set_connection_properties(envoy_data_accesslog_v3_TCPAccessLogEntry *msg, envoy_data_accesslog_v3_ConnectionProperties* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_data_accesslog_v3_ConnectionProperties* envoy_data_accesslog_v3_TCPAccessLogEntry_mutable_connection_properties(envoy_data_accesslog_v3_TCPAccessLogEntry* msg, upb_Arena* arena) { - struct envoy_data_accesslog_v3_ConnectionProperties* sub = (struct envoy_data_accesslog_v3_ConnectionProperties*)envoy_data_accesslog_v3_TCPAccessLogEntry_connection_properties(msg); - if (sub == NULL) { - sub = (struct envoy_data_accesslog_v3_ConnectionProperties*)_upb_Message_New(&envoy_data_accesslog_v3_ConnectionProperties_msg_init, arena); - if (sub) envoy_data_accesslog_v3_TCPAccessLogEntry_set_connection_properties(msg, sub); - } - return sub; -} - -/* envoy.data.accesslog.v3.HTTPAccessLogEntry */ - -UPB_INLINE envoy_data_accesslog_v3_HTTPAccessLogEntry* envoy_data_accesslog_v3_HTTPAccessLogEntry_new(upb_Arena* arena) { - return (envoy_data_accesslog_v3_HTTPAccessLogEntry*)_upb_Message_New(&envoy_data_accesslog_v3_HTTPAccessLogEntry_msg_init, arena); -} -UPB_INLINE envoy_data_accesslog_v3_HTTPAccessLogEntry* envoy_data_accesslog_v3_HTTPAccessLogEntry_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_data_accesslog_v3_HTTPAccessLogEntry* ret = envoy_data_accesslog_v3_HTTPAccessLogEntry_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_HTTPAccessLogEntry_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_data_accesslog_v3_HTTPAccessLogEntry* envoy_data_accesslog_v3_HTTPAccessLogEntry_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_data_accesslog_v3_HTTPAccessLogEntry* ret = envoy_data_accesslog_v3_HTTPAccessLogEntry_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_HTTPAccessLogEntry_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_data_accesslog_v3_HTTPAccessLogEntry_serialize(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_HTTPAccessLogEntry_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_data_accesslog_v3_HTTPAccessLogEntry_serialize_ex(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_HTTPAccessLogEntry_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_clear_common_properties(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_HTTPAccessLogEntry_common_properties(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { - const envoy_data_accesslog_v3_AccessLogCommon* default_val = NULL; - const envoy_data_accesslog_v3_AccessLogCommon* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPAccessLogEntry_has_common_properties(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_clear_protocol_version(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_data_accesslog_v3_HTTPAccessLogEntry_protocol_version(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_clear_request(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_data_accesslog_v3_HTTPRequestProperties* envoy_data_accesslog_v3_HTTPAccessLogEntry_request(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { - const envoy_data_accesslog_v3_HTTPRequestProperties* default_val = NULL; - const envoy_data_accesslog_v3_HTTPRequestProperties* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPAccessLogEntry_has_request(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_clear_response(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_data_accesslog_v3_HTTPResponseProperties* envoy_data_accesslog_v3_HTTPAccessLogEntry_response(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { - const envoy_data_accesslog_v3_HTTPResponseProperties* default_val = NULL; - const envoy_data_accesslog_v3_HTTPResponseProperties* ret; - const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPAccessLogEntry_has_response(const envoy_data_accesslog_v3_HTTPAccessLogEntry* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_set_common_properties(envoy_data_accesslog_v3_HTTPAccessLogEntry *msg, envoy_data_accesslog_v3_AccessLogCommon* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_HTTPAccessLogEntry_mutable_common_properties(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg, upb_Arena* arena) { - struct envoy_data_accesslog_v3_AccessLogCommon* sub = (struct envoy_data_accesslog_v3_AccessLogCommon*)envoy_data_accesslog_v3_HTTPAccessLogEntry_common_properties(msg); - if (sub == NULL) { - sub = (struct envoy_data_accesslog_v3_AccessLogCommon*)_upb_Message_New(&envoy_data_accesslog_v3_AccessLogCommon_msg_init, arena); - if (sub) envoy_data_accesslog_v3_HTTPAccessLogEntry_set_common_properties(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_set_protocol_version(envoy_data_accesslog_v3_HTTPAccessLogEntry *msg, int32_t value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_set_request(envoy_data_accesslog_v3_HTTPAccessLogEntry *msg, envoy_data_accesslog_v3_HTTPRequestProperties* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_data_accesslog_v3_HTTPRequestProperties* envoy_data_accesslog_v3_HTTPAccessLogEntry_mutable_request(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg, upb_Arena* arena) { - struct envoy_data_accesslog_v3_HTTPRequestProperties* sub = (struct envoy_data_accesslog_v3_HTTPRequestProperties*)envoy_data_accesslog_v3_HTTPAccessLogEntry_request(msg); - if (sub == NULL) { - sub = (struct envoy_data_accesslog_v3_HTTPRequestProperties*)_upb_Message_New(&envoy_data_accesslog_v3_HTTPRequestProperties_msg_init, arena); - if (sub) envoy_data_accesslog_v3_HTTPAccessLogEntry_set_request(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPAccessLogEntry_set_response(envoy_data_accesslog_v3_HTTPAccessLogEntry *msg, envoy_data_accesslog_v3_HTTPResponseProperties* value) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_data_accesslog_v3_HTTPResponseProperties* envoy_data_accesslog_v3_HTTPAccessLogEntry_mutable_response(envoy_data_accesslog_v3_HTTPAccessLogEntry* msg, upb_Arena* arena) { - struct envoy_data_accesslog_v3_HTTPResponseProperties* sub = (struct envoy_data_accesslog_v3_HTTPResponseProperties*)envoy_data_accesslog_v3_HTTPAccessLogEntry_response(msg); - if (sub == NULL) { - sub = (struct envoy_data_accesslog_v3_HTTPResponseProperties*)_upb_Message_New(&envoy_data_accesslog_v3_HTTPResponseProperties_msg_init, arena); - if (sub) envoy_data_accesslog_v3_HTTPAccessLogEntry_set_response(msg, sub); - } - return sub; -} - -/* envoy.data.accesslog.v3.ConnectionProperties */ - -UPB_INLINE envoy_data_accesslog_v3_ConnectionProperties* envoy_data_accesslog_v3_ConnectionProperties_new(upb_Arena* arena) { - return (envoy_data_accesslog_v3_ConnectionProperties*)_upb_Message_New(&envoy_data_accesslog_v3_ConnectionProperties_msg_init, arena); -} -UPB_INLINE envoy_data_accesslog_v3_ConnectionProperties* envoy_data_accesslog_v3_ConnectionProperties_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_data_accesslog_v3_ConnectionProperties* ret = envoy_data_accesslog_v3_ConnectionProperties_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_ConnectionProperties_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_data_accesslog_v3_ConnectionProperties* envoy_data_accesslog_v3_ConnectionProperties_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_data_accesslog_v3_ConnectionProperties* ret = envoy_data_accesslog_v3_ConnectionProperties_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_ConnectionProperties_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_data_accesslog_v3_ConnectionProperties_serialize(const envoy_data_accesslog_v3_ConnectionProperties* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_ConnectionProperties_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_data_accesslog_v3_ConnectionProperties_serialize_ex(const envoy_data_accesslog_v3_ConnectionProperties* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_ConnectionProperties_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_data_accesslog_v3_ConnectionProperties_clear_received_bytes(envoy_data_accesslog_v3_ConnectionProperties* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_ConnectionProperties_received_bytes(const envoy_data_accesslog_v3_ConnectionProperties* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ConnectionProperties_clear_sent_bytes(envoy_data_accesslog_v3_ConnectionProperties* msg) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_ConnectionProperties_sent_bytes(const envoy_data_accesslog_v3_ConnectionProperties* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_data_accesslog_v3_ConnectionProperties_set_received_bytes(envoy_data_accesslog_v3_ConnectionProperties *msg, uint64_t value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ConnectionProperties_set_sent_bytes(envoy_data_accesslog_v3_ConnectionProperties *msg, uint64_t value) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.data.accesslog.v3.AccessLogCommon */ - -UPB_INLINE envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_AccessLogCommon_new(upb_Arena* arena) { - return (envoy_data_accesslog_v3_AccessLogCommon*)_upb_Message_New(&envoy_data_accesslog_v3_AccessLogCommon_msg_init, arena); -} -UPB_INLINE envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_AccessLogCommon_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_data_accesslog_v3_AccessLogCommon* ret = envoy_data_accesslog_v3_AccessLogCommon_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_AccessLogCommon_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_data_accesslog_v3_AccessLogCommon* envoy_data_accesslog_v3_AccessLogCommon_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_data_accesslog_v3_AccessLogCommon* ret = envoy_data_accesslog_v3_AccessLogCommon_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_AccessLogCommon_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_data_accesslog_v3_AccessLogCommon_serialize(const envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_AccessLogCommon_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_data_accesslog_v3_AccessLogCommon_serialize_ex(const envoy_data_accesslog_v3_AccessLogCommon* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_AccessLogCommon_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_sample_rate(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(96, 16), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE double envoy_data_accesslog_v3_AccessLogCommon_sample_rate(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - double default_val = 0; - double ret; - const upb_MiniTableField field = {1, UPB_SIZE(96, 16), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_downstream_remote_address(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_downstream_remote_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct envoy_config_core_v3_Address* default_val = NULL; - const struct envoy_config_core_v3_Address* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_downstream_remote_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_downstream_local_address(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_downstream_local_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct envoy_config_core_v3_Address* default_val = NULL; - const struct envoy_config_core_v3_Address* ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_downstream_local_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_tls_properties(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_data_accesslog_v3_TLSProperties* envoy_data_accesslog_v3_AccessLogCommon_tls_properties(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const envoy_data_accesslog_v3_TLSProperties* default_val = NULL; - const envoy_data_accesslog_v3_TLSProperties* ret; - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_tls_properties(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_start_time(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Timestamp* envoy_data_accesslog_v3_AccessLogCommon_start_time(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct google_protobuf_Timestamp* default_val = NULL; - const struct google_protobuf_Timestamp* ret; - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_start_time(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_last_rx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_last_rx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_last_rx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_first_upstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_first_upstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_first_upstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_last_upstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_last_upstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_last_upstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_first_upstream_rx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_first_upstream_rx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_first_upstream_rx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_last_upstream_rx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_last_upstream_rx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_last_upstream_rx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_first_downstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(40, 96), 10, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_first_downstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {11, UPB_SIZE(40, 96), 10, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_first_downstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(40, 96), 10, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_time_to_last_downstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 11, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_time_to_last_downstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 11, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_time_to_last_downstream_tx_byte(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 11, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_remote_address(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 12, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_upstream_remote_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct envoy_config_core_v3_Address* default_val = NULL; - const struct envoy_config_core_v3_Address* ret; - const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 12, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_upstream_remote_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 12, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_local_address(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 13, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_upstream_local_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct envoy_config_core_v3_Address* default_val = NULL; - const struct envoy_config_core_v3_Address* ret; - const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 13, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_upstream_local_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 13, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_cluster(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {15, UPB_SIZE(104, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_upstream_cluster(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {15, UPB_SIZE(104, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_response_flags(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {16, UPB_SIZE(56, 144), 14, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_data_accesslog_v3_ResponseFlags* envoy_data_accesslog_v3_AccessLogCommon_response_flags(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const envoy_data_accesslog_v3_ResponseFlags* default_val = NULL; - const envoy_data_accesslog_v3_ResponseFlags* ret; - const upb_MiniTableField field = {16, UPB_SIZE(56, 144), 14, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_response_flags(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {16, UPB_SIZE(56, 144), 14, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_metadata(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {17, UPB_SIZE(60, 152), 15, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_Metadata* envoy_data_accesslog_v3_AccessLogCommon_metadata(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct envoy_config_core_v3_Metadata* default_val = NULL; - const struct envoy_config_core_v3_Metadata* ret; - const upb_MiniTableField field = {17, UPB_SIZE(60, 152), 15, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_metadata(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {17, UPB_SIZE(60, 152), 15, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_transport_failure_reason(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {18, UPB_SIZE(112, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_upstream_transport_failure_reason(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {18, UPB_SIZE(112, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_route_name(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {19, UPB_SIZE(120, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_route_name(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {19, UPB_SIZE(120, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_downstream_direct_remote_address(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {20, UPB_SIZE(64, 192), 16, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_downstream_direct_remote_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct envoy_config_core_v3_Address* default_val = NULL; - const struct envoy_config_core_v3_Address* ret; - const upb_MiniTableField field = {20, UPB_SIZE(64, 192), 16, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_downstream_direct_remote_address(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {20, UPB_SIZE(64, 192), 16, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_filter_state_objects(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE size_t envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_size(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - return map ? _upb_Map_Size(map) : 0; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_get(const envoy_data_accesslog_v3_AccessLogCommon* msg, upb_StringView key, struct google_protobuf_Any** val) { - const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Get(map, &key, 0, val, sizeof(*val)); -} -UPB_INLINE const envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry* envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_next(const envoy_data_accesslog_v3_AccessLogCommon* msg, size_t* iter) { - const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (const envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_custom_tags(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE size_t envoy_data_accesslog_v3_AccessLogCommon_custom_tags_size(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - return map ? _upb_Map_Size(map) : 0; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_custom_tags_get(const envoy_data_accesslog_v3_AccessLogCommon* msg, upb_StringView key, upb_StringView* val) { - const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Get(map, &key, 0, val, 0); -} -UPB_INLINE const envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry* envoy_data_accesslog_v3_AccessLogCommon_custom_tags_next(const envoy_data_accesslog_v3_AccessLogCommon* msg, size_t* iter) { - const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (const envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_duration(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {23, UPB_SIZE(76, 216), 17, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_duration(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {23, UPB_SIZE(76, 216), 17, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_has_duration(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {23, UPB_SIZE(76, 216), 17, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_request_attempt_count(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {24, UPB_SIZE(80, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint32_t envoy_data_accesslog_v3_AccessLogCommon_upstream_request_attempt_count(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - uint32_t default_val = (uint32_t)0u; - uint32_t ret; - const upb_MiniTableField field = {24, UPB_SIZE(80, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_connection_termination_details(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {25, UPB_SIZE(128, 224), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_connection_termination_details(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {25, UPB_SIZE(128, 224), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_stream_id(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {26, UPB_SIZE(136, 240), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_stream_id(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {26, UPB_SIZE(136, 240), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_intermediate_log_entry(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {27, UPB_SIZE(84, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_intermediate_log_entry(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {27, UPB_SIZE(84, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_downstream_transport_failure_reason(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {28, UPB_SIZE(144, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_downstream_transport_failure_reason(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {28, UPB_SIZE(144, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_downstream_wire_bytes_sent(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {29, UPB_SIZE(152, 272), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_AccessLogCommon_downstream_wire_bytes_sent(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {29, UPB_SIZE(152, 272), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_downstream_wire_bytes_received(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {30, UPB_SIZE(160, 280), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_AccessLogCommon_downstream_wire_bytes_received(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {30, UPB_SIZE(160, 280), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_wire_bytes_sent(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {31, UPB_SIZE(168, 288), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_AccessLogCommon_upstream_wire_bytes_sent(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {31, UPB_SIZE(168, 288), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_upstream_wire_bytes_received(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {32, UPB_SIZE(176, 296), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_AccessLogCommon_upstream_wire_bytes_received(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {32, UPB_SIZE(176, 296), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_clear_access_log_type(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {33, UPB_SIZE(88, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_data_accesslog_v3_AccessLogCommon_access_log_type(const envoy_data_accesslog_v3_AccessLogCommon* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {33, UPB_SIZE(88, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_sample_rate(envoy_data_accesslog_v3_AccessLogCommon *msg, double value) { - const upb_MiniTableField field = {1, UPB_SIZE(96, 16), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_downstream_remote_address(envoy_data_accesslog_v3_AccessLogCommon *msg, struct envoy_config_core_v3_Address* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_mutable_downstream_remote_address(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_data_accesslog_v3_AccessLogCommon_downstream_remote_address(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_downstream_remote_address(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_downstream_local_address(envoy_data_accesslog_v3_AccessLogCommon *msg, struct envoy_config_core_v3_Address* value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_mutable_downstream_local_address(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_data_accesslog_v3_AccessLogCommon_downstream_local_address(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_downstream_local_address(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_tls_properties(envoy_data_accesslog_v3_AccessLogCommon *msg, envoy_data_accesslog_v3_TLSProperties* value) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_data_accesslog_v3_TLSProperties* envoy_data_accesslog_v3_AccessLogCommon_mutable_tls_properties(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct envoy_data_accesslog_v3_TLSProperties* sub = (struct envoy_data_accesslog_v3_TLSProperties*)envoy_data_accesslog_v3_AccessLogCommon_tls_properties(msg); - if (sub == NULL) { - sub = (struct envoy_data_accesslog_v3_TLSProperties*)_upb_Message_New(&envoy_data_accesslog_v3_TLSProperties_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_tls_properties(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_start_time(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Timestamp* value) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Timestamp* envoy_data_accesslog_v3_AccessLogCommon_mutable_start_time(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct google_protobuf_Timestamp* sub = (struct google_protobuf_Timestamp*)envoy_data_accesslog_v3_AccessLogCommon_start_time(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Timestamp*)_upb_Message_New(&google_protobuf_Timestamp_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_start_time(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_rx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_last_rx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_last_rx_byte(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_rx_byte(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_first_upstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_first_upstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_first_upstream_tx_byte(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_first_upstream_tx_byte(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_upstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 7, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_last_upstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_last_upstream_tx_byte(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_upstream_tx_byte(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_first_upstream_rx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 8, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_first_upstream_rx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_first_upstream_rx_byte(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_first_upstream_rx_byte(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_upstream_rx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 9, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_last_upstream_rx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_last_upstream_rx_byte(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_upstream_rx_byte(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_first_downstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {11, UPB_SIZE(40, 96), 10, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_first_downstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_first_downstream_tx_byte(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_first_downstream_tx_byte(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_downstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 11, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_time_to_last_downstream_tx_byte(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_time_to_last_downstream_tx_byte(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_time_to_last_downstream_tx_byte(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_remote_address(envoy_data_accesslog_v3_AccessLogCommon *msg, struct envoy_config_core_v3_Address* value) { - const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 12, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_mutable_upstream_remote_address(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_data_accesslog_v3_AccessLogCommon_upstream_remote_address(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_upstream_remote_address(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_local_address(envoy_data_accesslog_v3_AccessLogCommon *msg, struct envoy_config_core_v3_Address* value) { - const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 13, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_mutable_upstream_local_address(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_data_accesslog_v3_AccessLogCommon_upstream_local_address(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_upstream_local_address(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_cluster(envoy_data_accesslog_v3_AccessLogCommon *msg, upb_StringView value) { - const upb_MiniTableField field = {15, UPB_SIZE(104, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_response_flags(envoy_data_accesslog_v3_AccessLogCommon *msg, envoy_data_accesslog_v3_ResponseFlags* value) { - const upb_MiniTableField field = {16, UPB_SIZE(56, 144), 14, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_data_accesslog_v3_ResponseFlags* envoy_data_accesslog_v3_AccessLogCommon_mutable_response_flags(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct envoy_data_accesslog_v3_ResponseFlags* sub = (struct envoy_data_accesslog_v3_ResponseFlags*)envoy_data_accesslog_v3_AccessLogCommon_response_flags(msg); - if (sub == NULL) { - sub = (struct envoy_data_accesslog_v3_ResponseFlags*)_upb_Message_New(&envoy_data_accesslog_v3_ResponseFlags_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_response_flags(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_metadata(envoy_data_accesslog_v3_AccessLogCommon *msg, struct envoy_config_core_v3_Metadata* value) { - const upb_MiniTableField field = {17, UPB_SIZE(60, 152), 15, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_data_accesslog_v3_AccessLogCommon_mutable_metadata(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_data_accesslog_v3_AccessLogCommon_metadata(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_Metadata*)_upb_Message_New(&envoy_config_core_v3_Metadata_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_metadata(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_transport_failure_reason(envoy_data_accesslog_v3_AccessLogCommon *msg, upb_StringView value) { - const upb_MiniTableField field = {18, UPB_SIZE(112, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_route_name(envoy_data_accesslog_v3_AccessLogCommon *msg, upb_StringView value) { - const upb_MiniTableField field = {19, UPB_SIZE(120, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_downstream_direct_remote_address(envoy_data_accesslog_v3_AccessLogCommon *msg, struct envoy_config_core_v3_Address* value) { - const upb_MiniTableField field = {20, UPB_SIZE(64, 192), 16, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_Address* envoy_data_accesslog_v3_AccessLogCommon_mutable_downstream_direct_remote_address(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_data_accesslog_v3_AccessLogCommon_downstream_direct_remote_address(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy_config_core_v3_Address_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_downstream_direct_remote_address(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_clear(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return; - _upb_Map_Clear(map); -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_set(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_StringView key, struct google_protobuf_Any* val, upb_Arena* a) { - const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, sizeof(val), a); - return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) != - kUpb_MapInsertStatus_OutOfMemory; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_delete(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_StringView key) { - const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Delete(map, &key, 0, NULL); -} -UPB_INLINE envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry* envoy_data_accesslog_v3_AccessLogCommon_filter_state_objects_nextmutable(envoy_data_accesslog_v3_AccessLogCommon* msg, size_t* iter) { - const upb_MiniTableField field = {21, UPB_SIZE(68, 200), 0, 16, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_custom_tags_clear(envoy_data_accesslog_v3_AccessLogCommon* msg) { - const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return; - _upb_Map_Clear(map); -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_custom_tags_set(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_StringView key, upb_StringView val, upb_Arena* a) { - const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, 0, a); - return _upb_Map_Insert(map, &key, 0, &val, 0, a) != - kUpb_MapInsertStatus_OutOfMemory; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_custom_tags_delete(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_StringView key) { - const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Delete(map, &key, 0, NULL); -} -UPB_INLINE envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry* envoy_data_accesslog_v3_AccessLogCommon_custom_tags_nextmutable(envoy_data_accesslog_v3_AccessLogCommon* msg, size_t* iter) { - const upb_MiniTableField field = {22, UPB_SIZE(72, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_duration(envoy_data_accesslog_v3_AccessLogCommon *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {23, UPB_SIZE(76, 216), 17, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_data_accesslog_v3_AccessLogCommon_mutable_duration(envoy_data_accesslog_v3_AccessLogCommon* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_data_accesslog_v3_AccessLogCommon_duration(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_data_accesslog_v3_AccessLogCommon_set_duration(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_request_attempt_count(envoy_data_accesslog_v3_AccessLogCommon *msg, uint32_t value) { - const upb_MiniTableField field = {24, UPB_SIZE(80, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_connection_termination_details(envoy_data_accesslog_v3_AccessLogCommon *msg, upb_StringView value) { - const upb_MiniTableField field = {25, UPB_SIZE(128, 224), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_stream_id(envoy_data_accesslog_v3_AccessLogCommon *msg, upb_StringView value) { - const upb_MiniTableField field = {26, UPB_SIZE(136, 240), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_intermediate_log_entry(envoy_data_accesslog_v3_AccessLogCommon *msg, bool value) { - const upb_MiniTableField field = {27, UPB_SIZE(84, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_downstream_transport_failure_reason(envoy_data_accesslog_v3_AccessLogCommon *msg, upb_StringView value) { - const upb_MiniTableField field = {28, UPB_SIZE(144, 256), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_downstream_wire_bytes_sent(envoy_data_accesslog_v3_AccessLogCommon *msg, uint64_t value) { - const upb_MiniTableField field = {29, UPB_SIZE(152, 272), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_downstream_wire_bytes_received(envoy_data_accesslog_v3_AccessLogCommon *msg, uint64_t value) { - const upb_MiniTableField field = {30, UPB_SIZE(160, 280), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_wire_bytes_sent(envoy_data_accesslog_v3_AccessLogCommon *msg, uint64_t value) { - const upb_MiniTableField field = {31, UPB_SIZE(168, 288), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_upstream_wire_bytes_received(envoy_data_accesslog_v3_AccessLogCommon *msg, uint64_t value) { - const upb_MiniTableField field = {32, UPB_SIZE(176, 296), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_set_access_log_type(envoy_data_accesslog_v3_AccessLogCommon *msg, int32_t value) { - const upb_MiniTableField field = {33, UPB_SIZE(88, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.data.accesslog.v3.AccessLogCommon.FilterStateObjectsEntry */ - -UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_key(const envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry* msg) { - upb_StringView ret; - _upb_msg_map_key(msg, &ret, 0); - return ret; -} -UPB_INLINE const struct google_protobuf_Any* envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_value(const envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry* msg) { - struct google_protobuf_Any* ret; - _upb_msg_map_value(msg, &ret, sizeof(ret)); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_has_value(const envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_set_value(envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry *msg, struct google_protobuf_Any* value) { - _upb_msg_map_set_value(msg, &value, sizeof(struct google_protobuf_Any*)); -} - -/* envoy.data.accesslog.v3.AccessLogCommon.CustomTagsEntry */ - -UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry_key(const envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry* msg) { - upb_StringView ret; - _upb_msg_map_key(msg, &ret, 0); - return ret; -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry_value(const envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry* msg) { - upb_StringView ret; - _upb_msg_map_value(msg, &ret, 0); - return ret; -} - -UPB_INLINE void envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry_set_value(envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry *msg, upb_StringView value) { - _upb_msg_map_set_value(msg, &value, 0); -} - -/* envoy.data.accesslog.v3.ResponseFlags */ - -UPB_INLINE envoy_data_accesslog_v3_ResponseFlags* envoy_data_accesslog_v3_ResponseFlags_new(upb_Arena* arena) { - return (envoy_data_accesslog_v3_ResponseFlags*)_upb_Message_New(&envoy_data_accesslog_v3_ResponseFlags_msg_init, arena); -} -UPB_INLINE envoy_data_accesslog_v3_ResponseFlags* envoy_data_accesslog_v3_ResponseFlags_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_data_accesslog_v3_ResponseFlags* ret = envoy_data_accesslog_v3_ResponseFlags_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_ResponseFlags_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_data_accesslog_v3_ResponseFlags* envoy_data_accesslog_v3_ResponseFlags_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_data_accesslog_v3_ResponseFlags* ret = envoy_data_accesslog_v3_ResponseFlags_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_ResponseFlags_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_data_accesslog_v3_ResponseFlags_serialize(const envoy_data_accesslog_v3_ResponseFlags* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_ResponseFlags_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_data_accesslog_v3_ResponseFlags_serialize_ex(const envoy_data_accesslog_v3_ResponseFlags* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_ResponseFlags_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_failed_local_healthcheck(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_failed_local_healthcheck(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_no_healthy_upstream(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {2, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_no_healthy_upstream(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {2, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_request_timeout(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {3, 3, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_request_timeout(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {3, 3, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_local_reset(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_local_reset(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_remote_reset(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {5, 5, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_remote_reset(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {5, 5, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_connection_failure(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {6, 6, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_connection_failure(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {6, 6, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_connection_termination(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {7, 7, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_connection_termination(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {7, 7, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_overflow(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {8, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_overflow(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {8, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_no_route_found(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {9, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_no_route_found(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {9, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_delay_injected(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {10, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_delay_injected(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {10, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_fault_injected(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {11, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_fault_injected(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {11, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_rate_limited(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {12, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_rate_limited(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {12, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_unauthorized_details(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(16, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_data_accesslog_v3_ResponseFlags_Unauthorized* envoy_data_accesslog_v3_ResponseFlags_unauthorized_details(const envoy_data_accesslog_v3_ResponseFlags* msg) { - const envoy_data_accesslog_v3_ResponseFlags_Unauthorized* default_val = NULL; - const envoy_data_accesslog_v3_ResponseFlags_Unauthorized* ret; - const upb_MiniTableField field = {13, UPB_SIZE(16, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_has_unauthorized_details(const envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(16, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_rate_limit_service_error(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {14, UPB_SIZE(20, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_rate_limit_service_error(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {14, UPB_SIZE(20, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_downstream_connection_termination(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {15, UPB_SIZE(21, 14), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_downstream_connection_termination(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {15, UPB_SIZE(21, 14), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_retry_limit_exceeded(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {16, UPB_SIZE(22, 15), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_retry_limit_exceeded(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {16, UPB_SIZE(22, 15), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_stream_idle_timeout(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {17, UPB_SIZE(23, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_stream_idle_timeout(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {17, UPB_SIZE(23, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_invalid_envoy_request_headers(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {18, UPB_SIZE(24, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_invalid_envoy_request_headers(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {18, UPB_SIZE(24, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_downstream_protocol_error(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {19, UPB_SIZE(25, 18), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_downstream_protocol_error(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {19, UPB_SIZE(25, 18), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_max_stream_duration_reached(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {20, UPB_SIZE(26, 19), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_max_stream_duration_reached(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {20, UPB_SIZE(26, 19), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_response_from_cache_filter(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {21, UPB_SIZE(27, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_response_from_cache_filter(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {21, UPB_SIZE(27, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_no_filter_config_found(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {22, UPB_SIZE(28, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_no_filter_config_found(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {22, UPB_SIZE(28, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_duration_timeout(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {23, UPB_SIZE(29, 22), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_duration_timeout(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {23, UPB_SIZE(29, 22), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_upstream_protocol_error(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {24, UPB_SIZE(30, 23), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_upstream_protocol_error(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {24, UPB_SIZE(30, 23), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_no_cluster_found(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {25, UPB_SIZE(31, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_no_cluster_found(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {25, UPB_SIZE(31, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_overload_manager(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {26, UPB_SIZE(32, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_overload_manager(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {26, UPB_SIZE(32, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_clear_dns_resolution_failure(envoy_data_accesslog_v3_ResponseFlags* msg) { - const upb_MiniTableField field = {27, UPB_SIZE(33, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_data_accesslog_v3_ResponseFlags_dns_resolution_failure(const envoy_data_accesslog_v3_ResponseFlags* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {27, UPB_SIZE(33, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_failed_local_healthcheck(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_no_healthy_upstream(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {2, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_request_timeout(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {3, 3, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_local_reset(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_remote_reset(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {5, 5, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_connection_failure(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {6, 6, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_connection_termination(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {7, 7, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_overflow(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {8, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_no_route_found(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {9, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_delay_injected(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {10, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_fault_injected(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {11, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_rate_limited(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {12, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_unauthorized_details(envoy_data_accesslog_v3_ResponseFlags *msg, envoy_data_accesslog_v3_ResponseFlags_Unauthorized* value) { - const upb_MiniTableField field = {13, UPB_SIZE(16, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_data_accesslog_v3_ResponseFlags_Unauthorized* envoy_data_accesslog_v3_ResponseFlags_mutable_unauthorized_details(envoy_data_accesslog_v3_ResponseFlags* msg, upb_Arena* arena) { - struct envoy_data_accesslog_v3_ResponseFlags_Unauthorized* sub = (struct envoy_data_accesslog_v3_ResponseFlags_Unauthorized*)envoy_data_accesslog_v3_ResponseFlags_unauthorized_details(msg); - if (sub == NULL) { - sub = (struct envoy_data_accesslog_v3_ResponseFlags_Unauthorized*)_upb_Message_New(&envoy_data_accesslog_v3_ResponseFlags_Unauthorized_msg_init, arena); - if (sub) envoy_data_accesslog_v3_ResponseFlags_set_unauthorized_details(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_rate_limit_service_error(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {14, UPB_SIZE(20, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_downstream_connection_termination(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {15, UPB_SIZE(21, 14), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_retry_limit_exceeded(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {16, UPB_SIZE(22, 15), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_stream_idle_timeout(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {17, UPB_SIZE(23, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_invalid_envoy_request_headers(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {18, UPB_SIZE(24, 17), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_downstream_protocol_error(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {19, UPB_SIZE(25, 18), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_max_stream_duration_reached(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {20, UPB_SIZE(26, 19), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_response_from_cache_filter(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {21, UPB_SIZE(27, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_no_filter_config_found(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {22, UPB_SIZE(28, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_duration_timeout(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {23, UPB_SIZE(29, 22), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_upstream_protocol_error(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {24, UPB_SIZE(30, 23), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_no_cluster_found(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {25, UPB_SIZE(31, 24), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_overload_manager(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {26, UPB_SIZE(32, 25), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_set_dns_resolution_failure(envoy_data_accesslog_v3_ResponseFlags *msg, bool value) { - const upb_MiniTableField field = {27, UPB_SIZE(33, 26), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.data.accesslog.v3.ResponseFlags.Unauthorized */ - -UPB_INLINE envoy_data_accesslog_v3_ResponseFlags_Unauthorized* envoy_data_accesslog_v3_ResponseFlags_Unauthorized_new(upb_Arena* arena) { - return (envoy_data_accesslog_v3_ResponseFlags_Unauthorized*)_upb_Message_New(&envoy_data_accesslog_v3_ResponseFlags_Unauthorized_msg_init, arena); -} -UPB_INLINE envoy_data_accesslog_v3_ResponseFlags_Unauthorized* envoy_data_accesslog_v3_ResponseFlags_Unauthorized_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_data_accesslog_v3_ResponseFlags_Unauthorized* ret = envoy_data_accesslog_v3_ResponseFlags_Unauthorized_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_ResponseFlags_Unauthorized_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_data_accesslog_v3_ResponseFlags_Unauthorized* envoy_data_accesslog_v3_ResponseFlags_Unauthorized_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_data_accesslog_v3_ResponseFlags_Unauthorized* ret = envoy_data_accesslog_v3_ResponseFlags_Unauthorized_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_ResponseFlags_Unauthorized_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_data_accesslog_v3_ResponseFlags_Unauthorized_serialize(const envoy_data_accesslog_v3_ResponseFlags_Unauthorized* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_ResponseFlags_Unauthorized_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_data_accesslog_v3_ResponseFlags_Unauthorized_serialize_ex(const envoy_data_accesslog_v3_ResponseFlags_Unauthorized* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_ResponseFlags_Unauthorized_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_Unauthorized_clear_reason(envoy_data_accesslog_v3_ResponseFlags_Unauthorized* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_data_accesslog_v3_ResponseFlags_Unauthorized_reason(const envoy_data_accesslog_v3_ResponseFlags_Unauthorized* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_data_accesslog_v3_ResponseFlags_Unauthorized_set_reason(envoy_data_accesslog_v3_ResponseFlags_Unauthorized *msg, int32_t value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.data.accesslog.v3.TLSProperties */ - -UPB_INLINE envoy_data_accesslog_v3_TLSProperties* envoy_data_accesslog_v3_TLSProperties_new(upb_Arena* arena) { - return (envoy_data_accesslog_v3_TLSProperties*)_upb_Message_New(&envoy_data_accesslog_v3_TLSProperties_msg_init, arena); -} -UPB_INLINE envoy_data_accesslog_v3_TLSProperties* envoy_data_accesslog_v3_TLSProperties_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_data_accesslog_v3_TLSProperties* ret = envoy_data_accesslog_v3_TLSProperties_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_TLSProperties_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_data_accesslog_v3_TLSProperties* envoy_data_accesslog_v3_TLSProperties_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_data_accesslog_v3_TLSProperties* ret = envoy_data_accesslog_v3_TLSProperties_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_TLSProperties_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_data_accesslog_v3_TLSProperties_serialize(const envoy_data_accesslog_v3_TLSProperties* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_TLSProperties_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_data_accesslog_v3_TLSProperties_serialize_ex(const envoy_data_accesslog_v3_TLSProperties* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_TLSProperties_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_tls_version(envoy_data_accesslog_v3_TLSProperties* msg) { - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_data_accesslog_v3_TLSProperties_tls_version(const envoy_data_accesslog_v3_TLSProperties* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_tls_cipher_suite(envoy_data_accesslog_v3_TLSProperties* msg) { - const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_data_accesslog_v3_TLSProperties_tls_cipher_suite(const envoy_data_accesslog_v3_TLSProperties* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_TLSProperties_has_tls_cipher_suite(const envoy_data_accesslog_v3_TLSProperties* msg) { - const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_tls_sni_hostname(envoy_data_accesslog_v3_TLSProperties* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_TLSProperties_tls_sni_hostname(const envoy_data_accesslog_v3_TLSProperties* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_local_certificate_properties(envoy_data_accesslog_v3_TLSProperties* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_local_certificate_properties(const envoy_data_accesslog_v3_TLSProperties* msg) { - const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* default_val = NULL; - const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* ret; - const upb_MiniTableField field = {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_TLSProperties_has_local_certificate_properties(const envoy_data_accesslog_v3_TLSProperties* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_peer_certificate_properties(envoy_data_accesslog_v3_TLSProperties* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_peer_certificate_properties(const envoy_data_accesslog_v3_TLSProperties* msg) { - const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* default_val = NULL; - const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* ret; - const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_TLSProperties_has_peer_certificate_properties(const envoy_data_accesslog_v3_TLSProperties* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_tls_session_id(envoy_data_accesslog_v3_TLSProperties* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_TLSProperties_tls_session_id(const envoy_data_accesslog_v3_TLSProperties* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_clear_ja3_fingerprint(envoy_data_accesslog_v3_TLSProperties* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_TLSProperties_ja3_fingerprint(const envoy_data_accesslog_v3_TLSProperties* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_tls_version(envoy_data_accesslog_v3_TLSProperties *msg, int32_t value) { - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_tls_cipher_suite(envoy_data_accesslog_v3_TLSProperties *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_data_accesslog_v3_TLSProperties_mutable_tls_cipher_suite(envoy_data_accesslog_v3_TLSProperties* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_data_accesslog_v3_TLSProperties_tls_cipher_suite(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_data_accesslog_v3_TLSProperties_set_tls_cipher_suite(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_tls_sni_hostname(envoy_data_accesslog_v3_TLSProperties *msg, upb_StringView value) { - const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_local_certificate_properties(envoy_data_accesslog_v3_TLSProperties *msg, envoy_data_accesslog_v3_TLSProperties_CertificateProperties* value) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_mutable_local_certificate_properties(envoy_data_accesslog_v3_TLSProperties* msg, upb_Arena* arena) { - struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties* sub = (struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties*)envoy_data_accesslog_v3_TLSProperties_local_certificate_properties(msg); - if (sub == NULL) { - sub = (struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties*)_upb_Message_New(&envoy_data_accesslog_v3_TLSProperties_CertificateProperties_msg_init, arena); - if (sub) envoy_data_accesslog_v3_TLSProperties_set_local_certificate_properties(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_peer_certificate_properties(envoy_data_accesslog_v3_TLSProperties *msg, envoy_data_accesslog_v3_TLSProperties_CertificateProperties* value) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_mutable_peer_certificate_properties(envoy_data_accesslog_v3_TLSProperties* msg, upb_Arena* arena) { - struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties* sub = (struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties*)envoy_data_accesslog_v3_TLSProperties_peer_certificate_properties(msg); - if (sub == NULL) { - sub = (struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties*)_upb_Message_New(&envoy_data_accesslog_v3_TLSProperties_CertificateProperties_msg_init, arena); - if (sub) envoy_data_accesslog_v3_TLSProperties_set_peer_certificate_properties(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_tls_session_id(envoy_data_accesslog_v3_TLSProperties *msg, upb_StringView value) { - const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_set_ja3_fingerprint(envoy_data_accesslog_v3_TLSProperties *msg, upb_StringView value) { - const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.data.accesslog.v3.TLSProperties.CertificateProperties */ - -UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_new(upb_Arena* arena) { - return (envoy_data_accesslog_v3_TLSProperties_CertificateProperties*)_upb_Message_New(&envoy_data_accesslog_v3_TLSProperties_CertificateProperties_msg_init, arena); -} -UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_data_accesslog_v3_TLSProperties_CertificateProperties* ret = envoy_data_accesslog_v3_TLSProperties_CertificateProperties_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_data_accesslog_v3_TLSProperties_CertificateProperties* ret = envoy_data_accesslog_v3_TLSProperties_CertificateProperties_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_serialize(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_serialize_ex(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_clear_subject_alt_name(envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* const* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_subject_alt_name(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_data_accesslog_v3_TLSProperties_CertificateProperties_subject_alt_name_upb_array(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_data_accesslog_v3_TLSProperties_CertificateProperties_subject_alt_name_mutable_upb_array(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_data_accesslog_v3_TLSProperties_CertificateProperties_has_subject_alt_name(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg) { - size_t size; - envoy_data_accesslog_v3_TLSProperties_CertificateProperties_subject_alt_name(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_clear_subject(envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_TLSProperties_CertificateProperties_subject(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName** envoy_data_accesslog_v3_TLSProperties_CertificateProperties_mutable_subject_alt_name(envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName** envoy_data_accesslog_v3_TLSProperties_CertificateProperties_resize_subject_alt_name(envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_add_subject_alt_name(envoy_data_accesslog_v3_TLSProperties_CertificateProperties* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* sub = (struct envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName*)_upb_Message_New(&envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_set_subject(envoy_data_accesslog_v3_TLSProperties_CertificateProperties *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName */ - -UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_new(upb_Arena* arena) { - return (envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName*)_upb_Message_New(&envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_msg_init, arena); -} -UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* ret = envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* ret = envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_serialize(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_serialize_ex(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_uri = 1, - envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_dns = 2, - envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_NOT_SET = 0 -} envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_oneofcases; -UPB_INLINE envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_oneofcases envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_case(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return (envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_san_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_clear_uri(envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_uri(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_has_uri(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_clear_dns(envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_dns(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_has_dns(const envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_set_uri(envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_set_dns(envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.data.accesslog.v3.HTTPRequestProperties */ - -UPB_INLINE envoy_data_accesslog_v3_HTTPRequestProperties* envoy_data_accesslog_v3_HTTPRequestProperties_new(upb_Arena* arena) { - return (envoy_data_accesslog_v3_HTTPRequestProperties*)_upb_Message_New(&envoy_data_accesslog_v3_HTTPRequestProperties_msg_init, arena); -} -UPB_INLINE envoy_data_accesslog_v3_HTTPRequestProperties* envoy_data_accesslog_v3_HTTPRequestProperties_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_data_accesslog_v3_HTTPRequestProperties* ret = envoy_data_accesslog_v3_HTTPRequestProperties_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_HTTPRequestProperties_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_data_accesslog_v3_HTTPRequestProperties* envoy_data_accesslog_v3_HTTPRequestProperties_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_data_accesslog_v3_HTTPRequestProperties* ret = envoy_data_accesslog_v3_HTTPRequestProperties_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_HTTPRequestProperties_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_data_accesslog_v3_HTTPRequestProperties_serialize(const envoy_data_accesslog_v3_HTTPRequestProperties* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_HTTPRequestProperties_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_data_accesslog_v3_HTTPRequestProperties_serialize_ex(const envoy_data_accesslog_v3_HTTPRequestProperties* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_HTTPRequestProperties_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_request_method(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_data_accesslog_v3_HTTPRequestProperties_request_method(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_scheme(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_scheme(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_authority(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_authority(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_port(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_data_accesslog_v3_HTTPRequestProperties_port(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {4, UPB_SIZE(8, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPRequestProperties_has_port(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_path(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_path(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {5, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_user_agent(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_user_agent(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_referer(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(48, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_referer(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {7, UPB_SIZE(48, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_forwarded_for(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(56, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_forwarded_for(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {8, UPB_SIZE(56, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_request_id(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(64, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_request_id(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {9, UPB_SIZE(64, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_original_path(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(72, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_original_path(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {10, UPB_SIZE(72, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_request_headers_bytes(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(80, 144), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_bytes(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {11, UPB_SIZE(80, 144), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_request_body_bytes(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(88, 152), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPRequestProperties_request_body_bytes(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {12, UPB_SIZE(88, 152), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_request_headers(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE size_t envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_size(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - return map ? _upb_Map_Size(map) : 0; -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_get(const envoy_data_accesslog_v3_HTTPRequestProperties* msg, upb_StringView key, upb_StringView* val) { - const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Get(map, &key, 0, val, 0); -} -UPB_INLINE const envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry* envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_next(const envoy_data_accesslog_v3_HTTPRequestProperties* msg, size_t* iter) { - const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (const envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_upstream_header_bytes_sent(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {14, UPB_SIZE(96, 168), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPRequestProperties_upstream_header_bytes_sent(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {14, UPB_SIZE(96, 168), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_clear_downstream_header_bytes_received(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {15, UPB_SIZE(104, 176), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPRequestProperties_downstream_header_bytes_received(const envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {15, UPB_SIZE(104, 176), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_request_method(envoy_data_accesslog_v3_HTTPRequestProperties *msg, int32_t value) { - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_scheme(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_authority(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { - const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_port(envoy_data_accesslog_v3_HTTPRequestProperties *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_data_accesslog_v3_HTTPRequestProperties_mutable_port(envoy_data_accesslog_v3_HTTPRequestProperties* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_data_accesslog_v3_HTTPRequestProperties_port(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_data_accesslog_v3_HTTPRequestProperties_set_port(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_path(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { - const upb_MiniTableField field = {5, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_user_agent(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { - const upb_MiniTableField field = {6, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_referer(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { - const upb_MiniTableField field = {7, UPB_SIZE(48, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_forwarded_for(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { - const upb_MiniTableField field = {8, UPB_SIZE(56, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_request_id(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { - const upb_MiniTableField field = {9, UPB_SIZE(64, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_original_path(envoy_data_accesslog_v3_HTTPRequestProperties *msg, upb_StringView value) { - const upb_MiniTableField field = {10, UPB_SIZE(72, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_request_headers_bytes(envoy_data_accesslog_v3_HTTPRequestProperties *msg, uint64_t value) { - const upb_MiniTableField field = {11, UPB_SIZE(80, 144), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_request_body_bytes(envoy_data_accesslog_v3_HTTPRequestProperties *msg, uint64_t value) { - const upb_MiniTableField field = {12, UPB_SIZE(88, 152), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_clear(envoy_data_accesslog_v3_HTTPRequestProperties* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return; - _upb_Map_Clear(map); -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_set(envoy_data_accesslog_v3_HTTPRequestProperties* msg, upb_StringView key, upb_StringView val, upb_Arena* a) { - const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, 0, a); - return _upb_Map_Insert(map, &key, 0, &val, 0, a) != - kUpb_MapInsertStatus_OutOfMemory; -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_delete(envoy_data_accesslog_v3_HTTPRequestProperties* msg, upb_StringView key) { - const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Delete(map, &key, 0, NULL); -} -UPB_INLINE envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry* envoy_data_accesslog_v3_HTTPRequestProperties_request_headers_nextmutable(envoy_data_accesslog_v3_HTTPRequestProperties* msg, size_t* iter) { - const upb_MiniTableField field = {13, UPB_SIZE(12, 160), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_upstream_header_bytes_sent(envoy_data_accesslog_v3_HTTPRequestProperties *msg, uint64_t value) { - const upb_MiniTableField field = {14, UPB_SIZE(96, 168), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_set_downstream_header_bytes_received(envoy_data_accesslog_v3_HTTPRequestProperties *msg, uint64_t value) { - const upb_MiniTableField field = {15, UPB_SIZE(104, 176), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.data.accesslog.v3.HTTPRequestProperties.RequestHeadersEntry */ - -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry_key(const envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry* msg) { - upb_StringView ret; - _upb_msg_map_key(msg, &ret, 0); - return ret; -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry_value(const envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry* msg) { - upb_StringView ret; - _upb_msg_map_value(msg, &ret, 0); - return ret; -} - -UPB_INLINE void envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry_set_value(envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry *msg, upb_StringView value) { - _upb_msg_map_set_value(msg, &value, 0); -} - -/* envoy.data.accesslog.v3.HTTPResponseProperties */ - -UPB_INLINE envoy_data_accesslog_v3_HTTPResponseProperties* envoy_data_accesslog_v3_HTTPResponseProperties_new(upb_Arena* arena) { - return (envoy_data_accesslog_v3_HTTPResponseProperties*)_upb_Message_New(&envoy_data_accesslog_v3_HTTPResponseProperties_msg_init, arena); -} -UPB_INLINE envoy_data_accesslog_v3_HTTPResponseProperties* envoy_data_accesslog_v3_HTTPResponseProperties_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_data_accesslog_v3_HTTPResponseProperties* ret = envoy_data_accesslog_v3_HTTPResponseProperties_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_HTTPResponseProperties_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_data_accesslog_v3_HTTPResponseProperties* envoy_data_accesslog_v3_HTTPResponseProperties_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_data_accesslog_v3_HTTPResponseProperties* ret = envoy_data_accesslog_v3_HTTPResponseProperties_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_data_accesslog_v3_HTTPResponseProperties_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_data_accesslog_v3_HTTPResponseProperties_serialize(const envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_HTTPResponseProperties_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_data_accesslog_v3_HTTPResponseProperties_serialize_ex(const envoy_data_accesslog_v3_HTTPResponseProperties* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_data_accesslog_v3_HTTPResponseProperties_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_response_code(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_data_accesslog_v3_HTTPResponseProperties_response_code(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_has_response_code(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_response_headers_bytes(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_bytes(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_response_body_bytes(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPResponseProperties_response_body_bytes(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_response_headers(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE size_t envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_size(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - return map ? _upb_Map_Size(map) : 0; -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_get(const envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_StringView key, upb_StringView* val) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Get(map, &key, 0, val, 0); -} -UPB_INLINE const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry* envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_next(const envoy_data_accesslog_v3_HTTPResponseProperties* msg, size_t* iter) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_response_trailers(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE size_t envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_size(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - return map ? _upb_Map_Size(map) : 0; -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_get(const envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_StringView key, upb_StringView* val) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Get(map, &key, 0, val, 0); -} -UPB_INLINE const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry* envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_next(const envoy_data_accesslog_v3_HTTPResponseProperties* msg, size_t* iter) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_response_code_details(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPResponseProperties_response_code_details(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_upstream_header_bytes_received(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(40, 64), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPResponseProperties_upstream_header_bytes_received(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {7, UPB_SIZE(40, 64), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_clear_downstream_header_bytes_sent(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_data_accesslog_v3_HTTPResponseProperties_downstream_header_bytes_sent(const envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_set_response_code(envoy_data_accesslog_v3_HTTPResponseProperties *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_data_accesslog_v3_HTTPResponseProperties_mutable_response_code(envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_data_accesslog_v3_HTTPResponseProperties_response_code(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_data_accesslog_v3_HTTPResponseProperties_set_response_code(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_set_response_headers_bytes(envoy_data_accesslog_v3_HTTPResponseProperties *msg, uint64_t value) { - const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_set_response_body_bytes(envoy_data_accesslog_v3_HTTPResponseProperties *msg, uint64_t value) { - const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_clear(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return; - _upb_Map_Clear(map); -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_set(envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_StringView key, upb_StringView val, upb_Arena* a) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, 0, a); - return _upb_Map_Insert(map, &key, 0, &val, 0, a) != - kUpb_MapInsertStatus_OutOfMemory; -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_delete(envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_StringView key) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Delete(map, &key, 0, NULL); -} -UPB_INLINE envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry* envoy_data_accesslog_v3_HTTPResponseProperties_response_headers_nextmutable(envoy_data_accesslog_v3_HTTPResponseProperties* msg, size_t* iter) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_clear(envoy_data_accesslog_v3_HTTPResponseProperties* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return; - _upb_Map_Clear(map); -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_set(envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_StringView key, upb_StringView val, upb_Arena* a) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, 0, a); - return _upb_Map_Insert(map, &key, 0, &val, 0, a) != - kUpb_MapInsertStatus_OutOfMemory; -} -UPB_INLINE bool envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_delete(envoy_data_accesslog_v3_HTTPResponseProperties* msg, upb_StringView key) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Delete(map, &key, 0, NULL); -} -UPB_INLINE envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry* envoy_data_accesslog_v3_HTTPResponseProperties_response_trailers_nextmutable(envoy_data_accesslog_v3_HTTPResponseProperties* msg, size_t* iter) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry*)_upb_map_next(map, iter); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_set_response_code_details(envoy_data_accesslog_v3_HTTPResponseProperties *msg, upb_StringView value) { - const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_set_upstream_header_bytes_received(envoy_data_accesslog_v3_HTTPResponseProperties *msg, uint64_t value) { - const upb_MiniTableField field = {7, UPB_SIZE(40, 64), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_set_downstream_header_bytes_sent(envoy_data_accesslog_v3_HTTPResponseProperties *msg, uint64_t value) { - const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.data.accesslog.v3.HTTPResponseProperties.ResponseHeadersEntry */ - -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry_key(const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry* msg) { - upb_StringView ret; - _upb_msg_map_key(msg, &ret, 0); - return ret; -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry_value(const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry* msg) { - upb_StringView ret; - _upb_msg_map_value(msg, &ret, 0); - return ret; -} - -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry_set_value(envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry *msg, upb_StringView value) { - _upb_msg_map_set_value(msg, &value, 0); -} - -/* envoy.data.accesslog.v3.HTTPResponseProperties.ResponseTrailersEntry */ - -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry_key(const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry* msg) { - upb_StringView ret; - _upb_msg_map_key(msg, &ret, 0); - return ret; -} -UPB_INLINE upb_StringView envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry_value(const envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry* msg) { - upb_StringView ret; - _upb_msg_map_value(msg, &ret, 0); - return ret; -} - -UPB_INLINE void envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry_set_value(envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry *msg, upb_StringView value) { - _upb_msg_map_set_value(msg, &value, 0); -} - -extern const upb_MiniTableFile envoy_data_accesslog_v3_accesslog_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c b/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c deleted file mode 100644 index dc4070a64d9..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +++ /dev/null @@ -1,47 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/clusters/aggregate/v3/cluster.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/clusters/aggregate/v3/cluster.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_extensions_clusters_aggregate_v3_ClusterConfig__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_clusters_aggregate_v3_ClusterConfig_msg_init = { - NULL, - &envoy_extensions_clusters_aggregate_v3_ClusterConfig__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prs_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_extensions_clusters_aggregate_v3_ClusterConfig_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_clusters_aggregate_v3_cluster_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h b/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h deleted file mode 100644 index b33444e2d47..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +++ /dev/null @@ -1,131 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/clusters/aggregate/v3/cluster.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPB_H_ -#define ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_extensions_clusters_aggregate_v3_ClusterConfig envoy_extensions_clusters_aggregate_v3_ClusterConfig; -extern const upb_MiniTable envoy_extensions_clusters_aggregate_v3_ClusterConfig_msg_init; - - - -/* envoy.extensions.clusters.aggregate.v3.ClusterConfig */ - -UPB_INLINE envoy_extensions_clusters_aggregate_v3_ClusterConfig* envoy_extensions_clusters_aggregate_v3_ClusterConfig_new(upb_Arena* arena) { - return (envoy_extensions_clusters_aggregate_v3_ClusterConfig*)_upb_Message_New(&envoy_extensions_clusters_aggregate_v3_ClusterConfig_msg_init, arena); -} -UPB_INLINE envoy_extensions_clusters_aggregate_v3_ClusterConfig* envoy_extensions_clusters_aggregate_v3_ClusterConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_clusters_aggregate_v3_ClusterConfig* ret = envoy_extensions_clusters_aggregate_v3_ClusterConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_clusters_aggregate_v3_ClusterConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_clusters_aggregate_v3_ClusterConfig* envoy_extensions_clusters_aggregate_v3_ClusterConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_clusters_aggregate_v3_ClusterConfig* ret = envoy_extensions_clusters_aggregate_v3_ClusterConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_clusters_aggregate_v3_ClusterConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_clusters_aggregate_v3_ClusterConfig_serialize(const envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_clusters_aggregate_v3_ClusterConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_clusters_aggregate_v3_ClusterConfig_serialize_ex(const envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_clusters_aggregate_v3_ClusterConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_clusters_aggregate_v3_ClusterConfig_clear_clusters(envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* envoy_extensions_clusters_aggregate_v3_ClusterConfig_clusters(const envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_extensions_clusters_aggregate_v3_ClusterConfig_clusters_upb_array(const envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_extensions_clusters_aggregate_v3_ClusterConfig_clusters_mutable_upb_array(const envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_extensions_clusters_aggregate_v3_ClusterConfig_has_clusters(const envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg) { - size_t size; - envoy_extensions_clusters_aggregate_v3_ClusterConfig_clusters(msg, &size); - return size != 0; -} - -UPB_INLINE upb_StringView* envoy_extensions_clusters_aggregate_v3_ClusterConfig_mutable_clusters(envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* envoy_extensions_clusters_aggregate_v3_ClusterConfig_resize_clusters(envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool envoy_extensions_clusters_aggregate_v3_ClusterConfig_add_clusters(envoy_extensions_clusters_aggregate_v3_ClusterConfig* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} - -extern const upb_MiniTableFile envoy_extensions_clusters_aggregate_v3_cluster_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c b/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c deleted file mode 100644 index e2aaa3cfcbb..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +++ /dev/null @@ -1,117 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/common/fault/v3/fault.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/filters/common/fault/v3/fault.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "google/protobuf/duration.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_filters_common_fault_v3_FaultDelay_submsgs[3] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_type_v3_FractionalPercent_msg_init}, - {.submsg = &envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_common_fault_v3_FaultDelay__fields[3] = { - {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_common_fault_v3_FaultDelay_msg_init = { - &envoy_extensions_filters_common_fault_v3_FaultDelay_submsgs[0], - &envoy_extensions_filters_common_fault_v3_FaultDelay__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000040300001a, &upb_pom_1bt_maxmaxb}, - {0x0008000001010022, &upb_psm_1bt_maxmaxb}, - {0x001000040502002a, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_extensions_filters_common_fault_v3_FaultRateLimit_submsgs[3] = { - {.submsg = &envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_msg_init}, - {.submsg = &envoy_type_v3_FractionalPercent_msg_init}, - {.submsg = &envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_common_fault_v3_FaultRateLimit__fields[3] = { - {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_common_fault_v3_FaultRateLimit_msg_init = { - &envoy_extensions_filters_common_fault_v3_FaultRateLimit_submsgs[0], - &envoy_extensions_filters_common_fault_v3_FaultRateLimit__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000040100000a, &upb_pom_1bt_max64b}, - {0x0008000001010012, &upb_psm_1bt_maxmaxb}, - {0x001000040302001a, &upb_pom_1bt_max64b}, - }) -}; - -static const upb_MiniTableField envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit__fields[1] = { - {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_msg_init = { - NULL, - &envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv8_1bt}, - }) -}; - -const upb_MiniTable envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTable *messages_layout[5] = { - &envoy_extensions_filters_common_fault_v3_FaultDelay_msg_init, - &envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_msg_init, - &envoy_extensions_filters_common_fault_v3_FaultRateLimit_msg_init, - &envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_msg_init, - &envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_filters_common_fault_v3_fault_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 5, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h b/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h deleted file mode 100644 index 74ee535ccd6..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +++ /dev/null @@ -1,429 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/common/fault/v3/fault.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPB_H_ -#define ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_extensions_filters_common_fault_v3_FaultDelay envoy_extensions_filters_common_fault_v3_FaultDelay; -typedef struct envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay; -typedef struct envoy_extensions_filters_common_fault_v3_FaultRateLimit envoy_extensions_filters_common_fault_v3_FaultRateLimit; -typedef struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit; -typedef struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit; -extern const upb_MiniTable envoy_extensions_filters_common_fault_v3_FaultDelay_msg_init; -extern const upb_MiniTable envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_msg_init; -extern const upb_MiniTable envoy_extensions_filters_common_fault_v3_FaultRateLimit_msg_init; -extern const upb_MiniTable envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_msg_init; -extern const upb_MiniTable envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_msg_init; -struct envoy_type_v3_FractionalPercent; -struct google_protobuf_Duration; -extern const upb_MiniTable envoy_type_v3_FractionalPercent_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; - -typedef enum { - envoy_extensions_filters_common_fault_v3_FaultDelay_FIXED = 0 -} envoy_extensions_filters_common_fault_v3_FaultDelay_FaultDelayType; - - - -/* envoy.extensions.filters.common.fault.v3.FaultDelay */ - -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_new(upb_Arena* arena) { - return (envoy_extensions_filters_common_fault_v3_FaultDelay*)_upb_Message_New(&envoy_extensions_filters_common_fault_v3_FaultDelay_msg_init, arena); -} -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_filters_common_fault_v3_FaultDelay* ret = envoy_extensions_filters_common_fault_v3_FaultDelay_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_common_fault_v3_FaultDelay_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_filters_common_fault_v3_FaultDelay* ret = envoy_extensions_filters_common_fault_v3_FaultDelay_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_common_fault_v3_FaultDelay_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultDelay_serialize(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_common_fault_v3_FaultDelay_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultDelay_serialize_ex(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_common_fault_v3_FaultDelay_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_fixed_delay = 3, - envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_header_delay = 5, - envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_NOT_SET = 0 -} envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_oneofcases; -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_oneofcases envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_case(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_extensions_filters_common_fault_v3_FaultDelay_fault_delay_secifier_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultDelay_clear_fixed_delay(envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_extensions_filters_common_fault_v3_FaultDelay_fixed_delay(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_common_fault_v3_FaultDelay_has_fixed_delay(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultDelay_clear_percentage(envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_v3_FractionalPercent* envoy_extensions_filters_common_fault_v3_FaultDelay_percentage(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { - const struct envoy_type_v3_FractionalPercent* default_val = NULL; - const struct envoy_type_v3_FractionalPercent* ret; - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_common_fault_v3_FaultDelay_has_percentage(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultDelay_clear_header_delay(envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_header_delay(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { - const envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* default_val = NULL; - const envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* ret; - const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_common_fault_v3_FaultDelay_has_header_delay(const envoy_extensions_filters_common_fault_v3_FaultDelay* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultDelay_set_fixed_delay(envoy_extensions_filters_common_fault_v3_FaultDelay *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_extensions_filters_common_fault_v3_FaultDelay_mutable_fixed_delay(envoy_extensions_filters_common_fault_v3_FaultDelay* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_filters_common_fault_v3_FaultDelay_fixed_delay(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_extensions_filters_common_fault_v3_FaultDelay_set_fixed_delay(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultDelay_set_percentage(envoy_extensions_filters_common_fault_v3_FaultDelay *msg, struct envoy_type_v3_FractionalPercent* value) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_extensions_filters_common_fault_v3_FaultDelay_mutable_percentage(envoy_extensions_filters_common_fault_v3_FaultDelay* msg, upb_Arena* arena) { - struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_extensions_filters_common_fault_v3_FaultDelay_percentage(msg); - if (sub == NULL) { - sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy_type_v3_FractionalPercent_msg_init, arena); - if (sub) envoy_extensions_filters_common_fault_v3_FaultDelay_set_percentage(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultDelay_set_header_delay(envoy_extensions_filters_common_fault_v3_FaultDelay *msg, envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* value) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_mutable_header_delay(envoy_extensions_filters_common_fault_v3_FaultDelay* msg, upb_Arena* arena) { - struct envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* sub = (struct envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay*)envoy_extensions_filters_common_fault_v3_FaultDelay_header_delay(msg); - if (sub == NULL) { - sub = (struct envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay*)_upb_Message_New(&envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_msg_init, arena); - if (sub) envoy_extensions_filters_common_fault_v3_FaultDelay_set_header_delay(msg, sub); - } - return sub; -} - -/* envoy.extensions.filters.common.fault.v3.FaultDelay.HeaderDelay */ - -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_new(upb_Arena* arena) { - return (envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay*)_upb_Message_New(&envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_msg_init, arena); -} -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* ret = envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* ret = envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_serialize(const envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_serialize_ex(const envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_msg_init, options, arena, &ptr, len); - return ptr; -} - - -/* envoy.extensions.filters.common.fault.v3.FaultRateLimit */ - -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_new(upb_Arena* arena) { - return (envoy_extensions_filters_common_fault_v3_FaultRateLimit*)_upb_Message_New(&envoy_extensions_filters_common_fault_v3_FaultRateLimit_msg_init, arena); -} -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_filters_common_fault_v3_FaultRateLimit* ret = envoy_extensions_filters_common_fault_v3_FaultRateLimit_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_common_fault_v3_FaultRateLimit_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_filters_common_fault_v3_FaultRateLimit* ret = envoy_extensions_filters_common_fault_v3_FaultRateLimit_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_common_fault_v3_FaultRateLimit_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultRateLimit_serialize(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_common_fault_v3_FaultRateLimit_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultRateLimit_serialize_ex(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_common_fault_v3_FaultRateLimit_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_fixed_limit = 1, - envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_header_limit = 3, - envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_NOT_SET = 0 -} envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_oneofcases; -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_oneofcases envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_case(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_extensions_filters_common_fault_v3_FaultRateLimit_limit_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_clear_fixed_limit(envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_fixed_limit(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { - const envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* default_val = NULL; - const envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* ret; - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_common_fault_v3_FaultRateLimit_has_fixed_limit(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_clear_percentage(envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_v3_FractionalPercent* envoy_extensions_filters_common_fault_v3_FaultRateLimit_percentage(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { - const struct envoy_type_v3_FractionalPercent* default_val = NULL; - const struct envoy_type_v3_FractionalPercent* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_common_fault_v3_FaultRateLimit_has_percentage(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_clear_header_limit(envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_header_limit(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { - const envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* default_val = NULL; - const envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_common_fault_v3_FaultRateLimit_has_header_limit(const envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_set_fixed_limit(envoy_extensions_filters_common_fault_v3_FaultRateLimit *msg, envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* value) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_mutable_fixed_limit(envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg, upb_Arena* arena) { - struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* sub = (struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit*)envoy_extensions_filters_common_fault_v3_FaultRateLimit_fixed_limit(msg); - if (sub == NULL) { - sub = (struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit*)_upb_Message_New(&envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_msg_init, arena); - if (sub) envoy_extensions_filters_common_fault_v3_FaultRateLimit_set_fixed_limit(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_set_percentage(envoy_extensions_filters_common_fault_v3_FaultRateLimit *msg, struct envoy_type_v3_FractionalPercent* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_extensions_filters_common_fault_v3_FaultRateLimit_mutable_percentage(envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg, upb_Arena* arena) { - struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_extensions_filters_common_fault_v3_FaultRateLimit_percentage(msg); - if (sub == NULL) { - sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy_type_v3_FractionalPercent_msg_init, arena); - if (sub) envoy_extensions_filters_common_fault_v3_FaultRateLimit_set_percentage(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_set_header_limit(envoy_extensions_filters_common_fault_v3_FaultRateLimit *msg, envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_mutable_header_limit(envoy_extensions_filters_common_fault_v3_FaultRateLimit* msg, upb_Arena* arena) { - struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* sub = (struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit*)envoy_extensions_filters_common_fault_v3_FaultRateLimit_header_limit(msg); - if (sub == NULL) { - sub = (struct envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit*)_upb_Message_New(&envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_msg_init, arena); - if (sub) envoy_extensions_filters_common_fault_v3_FaultRateLimit_set_header_limit(msg, sub); - } - return sub; -} - -/* envoy.extensions.filters.common.fault.v3.FaultRateLimit.FixedLimit */ - -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_new(upb_Arena* arena) { - return (envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit*)_upb_Message_New(&envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_msg_init, arena); -} -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* ret = envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* ret = envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_serialize(const envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_serialize_ex(const envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_clear_limit_kbps(envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_limit_kbps(const envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_set_limit_kbps(envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit *msg, uint64_t value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.extensions.filters.common.fault.v3.FaultRateLimit.HeaderLimit */ - -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_new(upb_Arena* arena) { - return (envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit*)_upb_Message_New(&envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_msg_init, arena); -} -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* ret = envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* ret = envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_serialize(const envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_serialize_ex(const envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_msg_init, options, arena, &ptr, len); - return ptr; -} - - -extern const upb_MiniTableFile envoy_extensions_filters_common_fault_v3_fault_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c b/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c deleted file mode 100644 index ef7a5228701..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +++ /dev/null @@ -1,142 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/http/fault/v3/fault.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/filters/http/fault/v3/fault.upb.h" -#include "envoy/config/route/v3/route_components.upb.h" -#include "envoy/extensions/filters/common/fault/v3/fault.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "google/protobuf/struct.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_filters_http_fault_v3_FaultAbort_submsgs[2] = { - {.submsg = &envoy_type_v3_FractionalPercent_msg_init}, - {.submsg = &envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_http_fault_v3_FaultAbort__fields[4] = { - {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_http_fault_v3_FaultAbort_msg_init = { - &envoy_extensions_filters_http_fault_v3_FaultAbort_submsgs[0], - &envoy_extensions_filters_http_fault_v3_FaultAbort__fields[0], - UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0010000402000010, &upb_pov4_1bt}, - {0x000800000100001a, &upb_psm_1bt_maxmaxb}, - {0x0010000404010022, &upb_pom_1bt_max64b}, - {0x0010000405000028, &upb_pov4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_extensions_filters_http_fault_v3_HTTPFault_submsgs[6] = { - {.submsg = &envoy_extensions_filters_common_fault_v3_FaultDelay_msg_init}, - {.submsg = &envoy_extensions_filters_http_fault_v3_FaultAbort_msg_init}, - {.submsg = &envoy_config_route_v3_HeaderMatcher_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_extensions_filters_common_fault_v3_FaultRateLimit_msg_init}, - {.submsg = &google_protobuf_Struct_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_http_fault_v3_HTTPFault__fields[16] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(24, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(44, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(52, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(60, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(68, 120), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(76, 136), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(84, 152), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(92, 168), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(28, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(32, 184), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_http_fault_v3_HTTPFault_msg_init = { - &envoy_extensions_filters_http_fault_v3_HTTPFault_submsgs[0], - &envoy_extensions_filters_http_fault_v3_HTTPFault__fields[0], - UPB_SIZE(104, 192), 16, kUpb_ExtMode_NonExtendable, 16, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_max64b}, - {0x001800003f00001a, &upb_pss_1bt}, - {0x002800003f020022, &upb_prm_1bt_maxmaxb}, - {0x003000003f00002a, &upb_prs_1bt}, - {0x0038000003030032, &upb_psm_1bt_maxmaxb}, - {0x004000000404003a, &upb_psm_1bt_maxmaxb}, - {0x004800003f000042, &upb_pss_1bt}, - {0x005800003f00004a, &upb_pss_1bt}, - {0x006800003f000052, &upb_pss_1bt}, - {0x007800003f00005a, &upb_pss_1bt}, - {0x008800003f000062, &upb_pss_1bt}, - {0x009800003f00006a, &upb_pss_1bt}, - {0x00a800003f000072, &upb_pss_1bt}, - {0x000100003f000078, &upb_psb1_1bt}, - {0x00b8000005050182, &upb_psm_2bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &envoy_extensions_filters_http_fault_v3_FaultAbort_msg_init, - &envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_msg_init, - &envoy_extensions_filters_http_fault_v3_HTTPFault_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_filters_http_fault_v3_fault_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 3, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h b/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h deleted file mode 100644 index d8aa3c3d2b5..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +++ /dev/null @@ -1,656 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/http/fault/v3/fault.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPB_H_ -#define ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_extensions_filters_http_fault_v3_FaultAbort envoy_extensions_filters_http_fault_v3_FaultAbort; -typedef struct envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort; -typedef struct envoy_extensions_filters_http_fault_v3_HTTPFault envoy_extensions_filters_http_fault_v3_HTTPFault; -extern const upb_MiniTable envoy_extensions_filters_http_fault_v3_FaultAbort_msg_init; -extern const upb_MiniTable envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_msg_init; -extern const upb_MiniTable envoy_extensions_filters_http_fault_v3_HTTPFault_msg_init; -struct envoy_config_route_v3_HeaderMatcher; -struct envoy_extensions_filters_common_fault_v3_FaultDelay; -struct envoy_extensions_filters_common_fault_v3_FaultRateLimit; -struct envoy_type_v3_FractionalPercent; -struct google_protobuf_Struct; -struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_route_v3_HeaderMatcher_msg_init; -extern const upb_MiniTable envoy_extensions_filters_common_fault_v3_FaultDelay_msg_init; -extern const upb_MiniTable envoy_extensions_filters_common_fault_v3_FaultRateLimit_msg_init; -extern const upb_MiniTable envoy_type_v3_FractionalPercent_msg_init; -extern const upb_MiniTable google_protobuf_Struct_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; - - - -/* envoy.extensions.filters.http.fault.v3.FaultAbort */ - -UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_new(upb_Arena* arena) { - return (envoy_extensions_filters_http_fault_v3_FaultAbort*)_upb_Message_New(&envoy_extensions_filters_http_fault_v3_FaultAbort_msg_init, arena); -} -UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_filters_http_fault_v3_FaultAbort* ret = envoy_extensions_filters_http_fault_v3_FaultAbort_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_fault_v3_FaultAbort_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_filters_http_fault_v3_FaultAbort* ret = envoy_extensions_filters_http_fault_v3_FaultAbort_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_fault_v3_FaultAbort_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_filters_http_fault_v3_FaultAbort_serialize(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_fault_v3_FaultAbort_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_filters_http_fault_v3_FaultAbort_serialize_ex(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_fault_v3_FaultAbort_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_http_status = 2, - envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_grpc_status = 5, - envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_header_abort = 4, - envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_NOT_SET = 0 -} envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_oneofcases; -UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_oneofcases envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_case(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return (envoy_extensions_filters_http_fault_v3_FaultAbort_error_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_clear_http_status(envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint32_t envoy_extensions_filters_http_fault_v3_FaultAbort_http_status(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { - uint32_t default_val = (uint32_t)0u; - uint32_t ret; - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_fault_v3_FaultAbort_has_http_status(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_clear_percentage(envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_v3_FractionalPercent* envoy_extensions_filters_http_fault_v3_FaultAbort_percentage(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { - const struct envoy_type_v3_FractionalPercent* default_val = NULL; - const struct envoy_type_v3_FractionalPercent* ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_fault_v3_FaultAbort_has_percentage(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_clear_header_abort(envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_header_abort(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { - const envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* default_val = NULL; - const envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* ret; - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_fault_v3_FaultAbort_has_header_abort(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_clear_grpc_status(envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint32_t envoy_extensions_filters_http_fault_v3_FaultAbort_grpc_status(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { - uint32_t default_val = (uint32_t)0u; - uint32_t ret; - const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_fault_v3_FaultAbort_has_grpc_status(const envoy_extensions_filters_http_fault_v3_FaultAbort* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_set_http_status(envoy_extensions_filters_http_fault_v3_FaultAbort *msg, uint32_t value) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_set_percentage(envoy_extensions_filters_http_fault_v3_FaultAbort *msg, struct envoy_type_v3_FractionalPercent* value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_v3_FractionalPercent* envoy_extensions_filters_http_fault_v3_FaultAbort_mutable_percentage(envoy_extensions_filters_http_fault_v3_FaultAbort* msg, upb_Arena* arena) { - struct envoy_type_v3_FractionalPercent* sub = (struct envoy_type_v3_FractionalPercent*)envoy_extensions_filters_http_fault_v3_FaultAbort_percentage(msg); - if (sub == NULL) { - sub = (struct envoy_type_v3_FractionalPercent*)_upb_Message_New(&envoy_type_v3_FractionalPercent_msg_init, arena); - if (sub) envoy_extensions_filters_http_fault_v3_FaultAbort_set_percentage(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_set_header_abort(envoy_extensions_filters_http_fault_v3_FaultAbort *msg, envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* value) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_mutable_header_abort(envoy_extensions_filters_http_fault_v3_FaultAbort* msg, upb_Arena* arena) { - struct envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* sub = (struct envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort*)envoy_extensions_filters_http_fault_v3_FaultAbort_header_abort(msg); - if (sub == NULL) { - sub = (struct envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort*)_upb_Message_New(&envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_msg_init, arena); - if (sub) envoy_extensions_filters_http_fault_v3_FaultAbort_set_header_abort(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_FaultAbort_set_grpc_status(envoy_extensions_filters_http_fault_v3_FaultAbort *msg, uint32_t value) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.extensions.filters.http.fault.v3.FaultAbort.HeaderAbort */ - -UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_new(upb_Arena* arena) { - return (envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort*)_upb_Message_New(&envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_msg_init, arena); -} -UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* ret = envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* ret = envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_serialize(const envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_serialize_ex(const envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_msg_init, options, arena, &ptr, len); - return ptr; -} - - -/* envoy.extensions.filters.http.fault.v3.HTTPFault */ - -UPB_INLINE envoy_extensions_filters_http_fault_v3_HTTPFault* envoy_extensions_filters_http_fault_v3_HTTPFault_new(upb_Arena* arena) { - return (envoy_extensions_filters_http_fault_v3_HTTPFault*)_upb_Message_New(&envoy_extensions_filters_http_fault_v3_HTTPFault_msg_init, arena); -} -UPB_INLINE envoy_extensions_filters_http_fault_v3_HTTPFault* envoy_extensions_filters_http_fault_v3_HTTPFault_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_filters_http_fault_v3_HTTPFault* ret = envoy_extensions_filters_http_fault_v3_HTTPFault_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_fault_v3_HTTPFault_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_filters_http_fault_v3_HTTPFault* envoy_extensions_filters_http_fault_v3_HTTPFault_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_filters_http_fault_v3_HTTPFault* ret = envoy_extensions_filters_http_fault_v3_HTTPFault_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_fault_v3_HTTPFault_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_filters_http_fault_v3_HTTPFault_serialize(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_fault_v3_HTTPFault_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_filters_http_fault_v3_HTTPFault_serialize_ex(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_fault_v3_HTTPFault_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_delay(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_extensions_filters_common_fault_v3_FaultDelay* envoy_extensions_filters_http_fault_v3_HTTPFault_delay(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const struct envoy_extensions_filters_common_fault_v3_FaultDelay* default_val = NULL; - const struct envoy_extensions_filters_common_fault_v3_FaultDelay* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_delay(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_abort(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_extensions_filters_http_fault_v3_FaultAbort* envoy_extensions_filters_http_fault_v3_HTTPFault_abort(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const envoy_extensions_filters_http_fault_v3_FaultAbort* default_val = NULL; - const envoy_extensions_filters_http_fault_v3_FaultAbort* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_abort(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_upstream_cluster(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_upstream_cluster(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {3, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_headers(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* const* envoy_extensions_filters_http_fault_v3_HTTPFault_headers(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct envoy_config_route_v3_HeaderMatcher* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_extensions_filters_http_fault_v3_HTTPFault_headers_upb_array(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_extensions_filters_http_fault_v3_HTTPFault_headers_mutable_upb_array(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_headers(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - size_t size; - envoy_extensions_filters_http_fault_v3_HTTPFault_headers(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_downstream_nodes(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* envoy_extensions_filters_http_fault_v3_HTTPFault_downstream_nodes(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_extensions_filters_http_fault_v3_HTTPFault_downstream_nodes_upb_array(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_extensions_filters_http_fault_v3_HTTPFault_downstream_nodes_mutable_upb_array(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_downstream_nodes(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - size_t size; - envoy_extensions_filters_http_fault_v3_HTTPFault_downstream_nodes(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_max_active_faults(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_extensions_filters_http_fault_v3_HTTPFault_max_active_faults(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_max_active_faults(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_response_rate_limit(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_extensions_filters_common_fault_v3_FaultRateLimit* envoy_extensions_filters_http_fault_v3_HTTPFault_response_rate_limit(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const struct envoy_extensions_filters_common_fault_v3_FaultRateLimit* default_val = NULL; - const struct envoy_extensions_filters_common_fault_v3_FaultRateLimit* ret; - const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_response_rate_limit(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_delay_percent_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(44, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_delay_percent_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {8, UPB_SIZE(44, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_abort_percent_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(52, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_abort_percent_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {9, UPB_SIZE(52, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_delay_duration_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(60, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_delay_duration_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {10, UPB_SIZE(60, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_abort_http_status_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(68, 120), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_abort_http_status_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {11, UPB_SIZE(68, 120), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_max_active_faults_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(76, 136), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_max_active_faults_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {12, UPB_SIZE(76, 136), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_response_rate_limit_percent_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(84, 152), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_response_rate_limit_percent_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {13, UPB_SIZE(84, 152), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_abort_grpc_status_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {14, UPB_SIZE(92, 168), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_extensions_filters_http_fault_v3_HTTPFault_abort_grpc_status_runtime(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {14, UPB_SIZE(92, 168), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_disable_downstream_cluster_stats(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {15, UPB_SIZE(28, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_disable_downstream_cluster_stats(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {15, UPB_SIZE(28, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_clear_filter_metadata(envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {16, UPB_SIZE(32, 184), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Struct* envoy_extensions_filters_http_fault_v3_HTTPFault_filter_metadata(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const struct google_protobuf_Struct* default_val = NULL; - const struct google_protobuf_Struct* ret; - const upb_MiniTableField field = {16, UPB_SIZE(32, 184), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_has_filter_metadata(const envoy_extensions_filters_http_fault_v3_HTTPFault* msg) { - const upb_MiniTableField field = {16, UPB_SIZE(32, 184), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_delay(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, struct envoy_extensions_filters_common_fault_v3_FaultDelay* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_extensions_filters_common_fault_v3_FaultDelay* envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_delay(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena) { - struct envoy_extensions_filters_common_fault_v3_FaultDelay* sub = (struct envoy_extensions_filters_common_fault_v3_FaultDelay*)envoy_extensions_filters_http_fault_v3_HTTPFault_delay(msg); - if (sub == NULL) { - sub = (struct envoy_extensions_filters_common_fault_v3_FaultDelay*)_upb_Message_New(&envoy_extensions_filters_common_fault_v3_FaultDelay_msg_init, arena); - if (sub) envoy_extensions_filters_http_fault_v3_HTTPFault_set_delay(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_abort(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, envoy_extensions_filters_http_fault_v3_FaultAbort* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_extensions_filters_http_fault_v3_FaultAbort* envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_abort(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena) { - struct envoy_extensions_filters_http_fault_v3_FaultAbort* sub = (struct envoy_extensions_filters_http_fault_v3_FaultAbort*)envoy_extensions_filters_http_fault_v3_HTTPFault_abort(msg); - if (sub == NULL) { - sub = (struct envoy_extensions_filters_http_fault_v3_FaultAbort*)_upb_Message_New(&envoy_extensions_filters_http_fault_v3_FaultAbort_msg_init, arena); - if (sub) envoy_extensions_filters_http_fault_v3_HTTPFault_set_abort(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_upstream_cluster(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { - const upb_MiniTableField field = {3, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_headers(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size) { - upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct envoy_config_route_v3_HeaderMatcher**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct envoy_config_route_v3_HeaderMatcher** envoy_extensions_filters_http_fault_v3_HTTPFault_resize_headers(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct envoy_config_route_v3_HeaderMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_route_v3_HeaderMatcher* envoy_extensions_filters_http_fault_v3_HTTPFault_add_headers(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena) { - upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_route_v3_HeaderMatcher* sub = (struct envoy_config_route_v3_HeaderMatcher*)_upb_Message_New(&envoy_config_route_v3_HeaderMatcher_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE upb_StringView* envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_downstream_nodes(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t* size) { - upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* envoy_extensions_filters_http_fault_v3_HTTPFault_resize_downstream_nodes(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool envoy_extensions_filters_http_fault_v3_HTTPFault_add_downstream_nodes(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_max_active_faults(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_max_active_faults(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_extensions_filters_http_fault_v3_HTTPFault_max_active_faults(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_extensions_filters_http_fault_v3_HTTPFault_set_max_active_faults(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_response_rate_limit(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, struct envoy_extensions_filters_common_fault_v3_FaultRateLimit* value) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_extensions_filters_common_fault_v3_FaultRateLimit* envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_response_rate_limit(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena) { - struct envoy_extensions_filters_common_fault_v3_FaultRateLimit* sub = (struct envoy_extensions_filters_common_fault_v3_FaultRateLimit*)envoy_extensions_filters_http_fault_v3_HTTPFault_response_rate_limit(msg); - if (sub == NULL) { - sub = (struct envoy_extensions_filters_common_fault_v3_FaultRateLimit*)_upb_Message_New(&envoy_extensions_filters_common_fault_v3_FaultRateLimit_msg_init, arena); - if (sub) envoy_extensions_filters_http_fault_v3_HTTPFault_set_response_rate_limit(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_delay_percent_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { - const upb_MiniTableField field = {8, UPB_SIZE(44, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_abort_percent_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { - const upb_MiniTableField field = {9, UPB_SIZE(52, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_delay_duration_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { - const upb_MiniTableField field = {10, UPB_SIZE(60, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_abort_http_status_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { - const upb_MiniTableField field = {11, UPB_SIZE(68, 120), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_max_active_faults_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { - const upb_MiniTableField field = {12, UPB_SIZE(76, 136), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_response_rate_limit_percent_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { - const upb_MiniTableField field = {13, UPB_SIZE(84, 152), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_abort_grpc_status_runtime(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, upb_StringView value) { - const upb_MiniTableField field = {14, UPB_SIZE(92, 168), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_disable_downstream_cluster_stats(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, bool value) { - const upb_MiniTableField field = {15, UPB_SIZE(28, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_filters_http_fault_v3_HTTPFault_set_filter_metadata(envoy_extensions_filters_http_fault_v3_HTTPFault *msg, struct google_protobuf_Struct* value) { - const upb_MiniTableField field = {16, UPB_SIZE(32, 184), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Struct* envoy_extensions_filters_http_fault_v3_HTTPFault_mutable_filter_metadata(envoy_extensions_filters_http_fault_v3_HTTPFault* msg, upb_Arena* arena) { - struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_extensions_filters_http_fault_v3_HTTPFault_filter_metadata(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); - if (sub) envoy_extensions_filters_http_fault_v3_HTTPFault_set_filter_metadata(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile envoy_extensions_filters_http_fault_v3_fault_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c b/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c deleted file mode 100644 index 4fbd4016565..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +++ /dev/null @@ -1,88 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/http/rbac/v3/rbac.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/filters/http/rbac/v3/rbac.upb.h" -#include "envoy/config/rbac/v3/rbac.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "xds/type/matcher/v3/matcher.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_filters_http_rbac_v3_RBAC_submsgs[4] = { - {.submsg = &envoy_config_rbac_v3_RBAC_msg_init}, - {.submsg = &envoy_config_rbac_v3_RBAC_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_http_rbac_v3_RBAC__fields[5] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_http_rbac_v3_RBAC_msg_init = { - &envoy_extensions_filters_http_rbac_v3_RBAC_submsgs[0], - &envoy_extensions_filters_http_rbac_v3_RBAC__fields[0], - UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800003f00001a, &upb_pss_1bt}, - {0x0028000003020022, &upb_psm_1bt_maxmaxb}, - {0x003000000403002a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_http_rbac_v3_RBACPerRoute_submsgs[1] = { - {.submsg = &envoy_extensions_filters_http_rbac_v3_RBAC_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_http_rbac_v3_RBACPerRoute__fields[1] = { - {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_http_rbac_v3_RBACPerRoute_msg_init = { - &envoy_extensions_filters_http_rbac_v3_RBACPerRoute_submsgs[0], - &envoy_extensions_filters_http_rbac_v3_RBACPerRoute__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_extensions_filters_http_rbac_v3_RBAC_msg_init, - &envoy_extensions_filters_http_rbac_v3_RBACPerRoute_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_filters_http_rbac_v3_rbac_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h b/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h deleted file mode 100644 index ccf7fb78971..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +++ /dev/null @@ -1,263 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/http/rbac/v3/rbac.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPB_H_ -#define ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_extensions_filters_http_rbac_v3_RBAC envoy_extensions_filters_http_rbac_v3_RBAC; -typedef struct envoy_extensions_filters_http_rbac_v3_RBACPerRoute envoy_extensions_filters_http_rbac_v3_RBACPerRoute; -extern const upb_MiniTable envoy_extensions_filters_http_rbac_v3_RBAC_msg_init; -extern const upb_MiniTable envoy_extensions_filters_http_rbac_v3_RBACPerRoute_msg_init; -struct envoy_config_rbac_v3_RBAC; -struct xds_type_matcher_v3_Matcher; -extern const upb_MiniTable envoy_config_rbac_v3_RBAC_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_msg_init; - - - -/* envoy.extensions.filters.http.rbac.v3.RBAC */ - -UPB_INLINE envoy_extensions_filters_http_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_new(upb_Arena* arena) { - return (envoy_extensions_filters_http_rbac_v3_RBAC*)_upb_Message_New(&envoy_extensions_filters_http_rbac_v3_RBAC_msg_init, arena); -} -UPB_INLINE envoy_extensions_filters_http_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_filters_http_rbac_v3_RBAC* ret = envoy_extensions_filters_http_rbac_v3_RBAC_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_rbac_v3_RBAC_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_filters_http_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_filters_http_rbac_v3_RBAC* ret = envoy_extensions_filters_http_rbac_v3_RBAC_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_rbac_v3_RBAC_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_filters_http_rbac_v3_RBAC_serialize(const envoy_extensions_filters_http_rbac_v3_RBAC* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_rbac_v3_RBAC_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_filters_http_rbac_v3_RBAC_serialize_ex(const envoy_extensions_filters_http_rbac_v3_RBAC* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_rbac_v3_RBAC_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_clear_rules(envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_rules(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - const struct envoy_config_rbac_v3_RBAC* default_val = NULL; - const struct envoy_config_rbac_v3_RBAC* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_rbac_v3_RBAC_has_rules(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_clear_shadow_rules(envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_shadow_rules(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - const struct envoy_config_rbac_v3_RBAC* default_val = NULL; - const struct envoy_config_rbac_v3_RBAC* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_rbac_v3_RBAC_has_shadow_rules(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_clear_shadow_rules_stat_prefix(envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_extensions_filters_http_rbac_v3_RBAC_shadow_rules_stat_prefix(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_clear_matcher(envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_type_matcher_v3_Matcher* envoy_extensions_filters_http_rbac_v3_RBAC_matcher(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - const struct xds_type_matcher_v3_Matcher* default_val = NULL; - const struct xds_type_matcher_v3_Matcher* ret; - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_rbac_v3_RBAC_has_matcher(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_clear_shadow_matcher(envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_type_matcher_v3_Matcher* envoy_extensions_filters_http_rbac_v3_RBAC_shadow_matcher(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - const struct xds_type_matcher_v3_Matcher* default_val = NULL; - const struct xds_type_matcher_v3_Matcher* ret; - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_rbac_v3_RBAC_has_shadow_matcher(const envoy_extensions_filters_http_rbac_v3_RBAC* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_set_rules(envoy_extensions_filters_http_rbac_v3_RBAC *msg, struct envoy_config_rbac_v3_RBAC* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_mutable_rules(envoy_extensions_filters_http_rbac_v3_RBAC* msg, upb_Arena* arena) { - struct envoy_config_rbac_v3_RBAC* sub = (struct envoy_config_rbac_v3_RBAC*)envoy_extensions_filters_http_rbac_v3_RBAC_rules(msg); - if (sub == NULL) { - sub = (struct envoy_config_rbac_v3_RBAC*)_upb_Message_New(&envoy_config_rbac_v3_RBAC_msg_init, arena); - if (sub) envoy_extensions_filters_http_rbac_v3_RBAC_set_rules(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_set_shadow_rules(envoy_extensions_filters_http_rbac_v3_RBAC *msg, struct envoy_config_rbac_v3_RBAC* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBAC_mutable_shadow_rules(envoy_extensions_filters_http_rbac_v3_RBAC* msg, upb_Arena* arena) { - struct envoy_config_rbac_v3_RBAC* sub = (struct envoy_config_rbac_v3_RBAC*)envoy_extensions_filters_http_rbac_v3_RBAC_shadow_rules(msg); - if (sub == NULL) { - sub = (struct envoy_config_rbac_v3_RBAC*)_upb_Message_New(&envoy_config_rbac_v3_RBAC_msg_init, arena); - if (sub) envoy_extensions_filters_http_rbac_v3_RBAC_set_shadow_rules(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_set_shadow_rules_stat_prefix(envoy_extensions_filters_http_rbac_v3_RBAC *msg, upb_StringView value) { - const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_set_matcher(envoy_extensions_filters_http_rbac_v3_RBAC *msg, struct xds_type_matcher_v3_Matcher* value) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher* envoy_extensions_filters_http_rbac_v3_RBAC_mutable_matcher(envoy_extensions_filters_http_rbac_v3_RBAC* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher* sub = (struct xds_type_matcher_v3_Matcher*)envoy_extensions_filters_http_rbac_v3_RBAC_matcher(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher*)_upb_Message_New(&xds_type_matcher_v3_Matcher_msg_init, arena); - if (sub) envoy_extensions_filters_http_rbac_v3_RBAC_set_matcher(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBAC_set_shadow_matcher(envoy_extensions_filters_http_rbac_v3_RBAC *msg, struct xds_type_matcher_v3_Matcher* value) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher* envoy_extensions_filters_http_rbac_v3_RBAC_mutable_shadow_matcher(envoy_extensions_filters_http_rbac_v3_RBAC* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher* sub = (struct xds_type_matcher_v3_Matcher*)envoy_extensions_filters_http_rbac_v3_RBAC_shadow_matcher(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher*)_upb_Message_New(&xds_type_matcher_v3_Matcher_msg_init, arena); - if (sub) envoy_extensions_filters_http_rbac_v3_RBAC_set_shadow_matcher(msg, sub); - } - return sub; -} - -/* envoy.extensions.filters.http.rbac.v3.RBACPerRoute */ - -UPB_INLINE envoy_extensions_filters_http_rbac_v3_RBACPerRoute* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_new(upb_Arena* arena) { - return (envoy_extensions_filters_http_rbac_v3_RBACPerRoute*)_upb_Message_New(&envoy_extensions_filters_http_rbac_v3_RBACPerRoute_msg_init, arena); -} -UPB_INLINE envoy_extensions_filters_http_rbac_v3_RBACPerRoute* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_filters_http_rbac_v3_RBACPerRoute* ret = envoy_extensions_filters_http_rbac_v3_RBACPerRoute_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_rbac_v3_RBACPerRoute_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_filters_http_rbac_v3_RBACPerRoute* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_filters_http_rbac_v3_RBACPerRoute* ret = envoy_extensions_filters_http_rbac_v3_RBACPerRoute_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_filters_http_rbac_v3_RBACPerRoute_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_serialize(const envoy_extensions_filters_http_rbac_v3_RBACPerRoute* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_rbac_v3_RBACPerRoute_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_serialize_ex(const envoy_extensions_filters_http_rbac_v3_RBACPerRoute* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_filters_http_rbac_v3_RBACPerRoute_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBACPerRoute_clear_rbac(envoy_extensions_filters_http_rbac_v3_RBACPerRoute* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_extensions_filters_http_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_rbac(const envoy_extensions_filters_http_rbac_v3_RBACPerRoute* msg) { - const envoy_extensions_filters_http_rbac_v3_RBAC* default_val = NULL; - const envoy_extensions_filters_http_rbac_v3_RBAC* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_filters_http_rbac_v3_RBACPerRoute_has_rbac(const envoy_extensions_filters_http_rbac_v3_RBACPerRoute* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_filters_http_rbac_v3_RBACPerRoute_set_rbac(envoy_extensions_filters_http_rbac_v3_RBACPerRoute *msg, envoy_extensions_filters_http_rbac_v3_RBAC* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_extensions_filters_http_rbac_v3_RBAC* envoy_extensions_filters_http_rbac_v3_RBACPerRoute_mutable_rbac(envoy_extensions_filters_http_rbac_v3_RBACPerRoute* msg, upb_Arena* arena) { - struct envoy_extensions_filters_http_rbac_v3_RBAC* sub = (struct envoy_extensions_filters_http_rbac_v3_RBAC*)envoy_extensions_filters_http_rbac_v3_RBACPerRoute_rbac(msg); - if (sub == NULL) { - sub = (struct envoy_extensions_filters_http_rbac_v3_RBAC*)_upb_Message_New(&envoy_extensions_filters_http_rbac_v3_RBAC_msg_init, arena); - if (sub) envoy_extensions_filters_http_rbac_v3_RBACPerRoute_set_rbac(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile envoy_extensions_filters_http_rbac_v3_rbac_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c b/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c deleted file mode 100644 index 6035bc3c793..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +++ /dev/null @@ -1,102 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/http/router/v3/router.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/filters/http/router/v3/router.upb.h" -#include "envoy/config/accesslog/v3/accesslog.upb.h" -#include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_filters_http_router_v3_Router_submsgs[4] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_accesslog_v3_AccessLog_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init}, - {.submsg = &envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_http_router_v3_Router__fields[9] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(25, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(28, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(32, 40), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_http_router_v3_Router_msg_init = { - &envoy_extensions_filters_http_router_v3_Router_submsgs[0], - &envoy_extensions_filters_http_router_v3_Router__fields[0], - UPB_SIZE(40, 48), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x001000003f01001a, &upb_prm_1bt_maxmaxb}, - {0x000200003f000020, &upb_psb1_1bt}, - {0x001800003f00002a, &upb_prs_1bt}, - {0x000300003f000030, &upb_psb1_1bt}, - {0x000400003f000038, &upb_psb1_1bt}, - {0x002000003f020042, &upb_prm_1bt_maxmaxb}, - {0x002800000203004a, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_submsgs[1] = { - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions__fields[2] = { - {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_msg_init = { - &envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_submsgs[0], - &envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000100003f000008, &upb_psb1_1bt}, - {0x0008000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_extensions_filters_http_router_v3_Router_msg_init, - &envoy_extensions_filters_http_router_v3_Router_UpstreamAccessLogOptions_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_filters_http_router_v3_router_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c b/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c deleted file mode 100644 index 99e7d949935..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +++ /dev/null @@ -1,73 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/http/stateful_session/v3/stateful_session.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_filters_http_stateful_session_v3_StatefulSession_submsgs[1] = { - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_http_stateful_session_v3_StatefulSession__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_http_stateful_session_v3_StatefulSession_msg_init = { - &envoy_extensions_filters_http_stateful_session_v3_StatefulSession_submsgs[0], - &envoy_extensions_filters_http_stateful_session_v3_StatefulSession__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_submsgs[1] = { - {.submsg = &envoy_extensions_filters_http_stateful_session_v3_StatefulSession_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute__fields[2] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_msg_init = { - &envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_submsgs[0], - &envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000008, &upb_pob1_1bt}, - {0x0008000002000012, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_extensions_filters_http_stateful_session_v3_StatefulSession_msg_init, - &envoy_extensions_filters_http_stateful_session_v3_StatefulSessionPerRoute_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_filters_http_stateful_session_v3_stateful_session_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c b/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c deleted file mode 100644 index 3ecf604e992..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +++ /dev/null @@ -1,680 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h" -#include "envoy/config/accesslog/v3/accesslog.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/config_source.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/config/core/v3/protocol.upb.h" -#include "envoy/config/core/v3/substitution_format_string.upb.h" -#include "envoy/config/route/v3/route.upb.h" -#include "envoy/config/route/v3/scoped_route.upb.h" -#include "envoy/config/trace/v3/http_tracer.upb.h" -#include "envoy/type/http/v3/path_transformation.upb.h" -#include "envoy/type/tracing/v3/custom_tag.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/security.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_submsgs[35] = { - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_Rds_msg_init}, - {.submsg = &envoy_config_route_v3_RouteConfiguration_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_msg_init}, - {.submsg = &envoy_config_core_v3_Http1ProtocolOptions_msg_init}, - {.submsg = &envoy_config_core_v3_Http2ProtocolOptions_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_accesslog_v3_AccessLog_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_msg_init}, - {.submsg = &envoy_config_core_v3_HttpProtocolOptions_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_msg_init}, - {.submsg = &envoy_config_core_v3_Http3ProtocolOptions_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_core_v3_SchemeHeaderTransformation_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager__fields[54] = { - {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(200, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(192, 360), UPB_SIZE(-93, -25), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(192, 360), UPB_SIZE(-93, -25), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 72), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 80), 1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(16, 88), 2, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(20, 96), 3, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(24, 104), 4, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(208, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(28, 128), 5, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(32, 136), 0, 8, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(36, 144), 6, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(40, 152), 7, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(44, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(48, 160), 8, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {18, UPB_SIZE(52, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {19, UPB_SIZE(56, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {20, UPB_SIZE(60, 20), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {21, UPB_SIZE(61, 21), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {22, UPB_SIZE(216, 168), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {23, UPB_SIZE(64, 184), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {24, UPB_SIZE(68, 192), 9, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {25, UPB_SIZE(72, 200), 10, 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {26, UPB_SIZE(76, 208), 11, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {28, UPB_SIZE(80, 216), 12, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {29, UPB_SIZE(84, 224), 13, 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {30, UPB_SIZE(88, 232), 14, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {31, UPB_SIZE(192, 360), UPB_SIZE(-93, -25), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {32, UPB_SIZE(96, 28), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {33, UPB_SIZE(97, 29), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {34, UPB_SIZE(100, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {35, UPB_SIZE(104, 240), 15, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {36, UPB_SIZE(108, 248), 16, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {37, UPB_SIZE(112, 36), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {38, UPB_SIZE(116, 256), 17, 22, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {39, UPB_SIZE(120, 37), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {40, UPB_SIZE(124, 264), 18, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {41, UPB_SIZE(128, 272), 19, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {42, UPB_SIZE(196, 368), UPB_SIZE(-133, -41), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {43, UPB_SIZE(136, 280), 20, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {44, UPB_SIZE(140, 288), 21, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {45, UPB_SIZE(144, 44), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {46, UPB_SIZE(148, 296), 0, 27, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {47, UPB_SIZE(152, 48), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {48, UPB_SIZE(156, 304), 22, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {49, UPB_SIZE(160, 312), 23, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {50, UPB_SIZE(164, 320), 24, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {51, UPB_SIZE(168, 49), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {52, UPB_SIZE(172, 328), 0, 31, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {53, UPB_SIZE(176, 336), 25, 32, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {54, UPB_SIZE(180, 344), 26, 33, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {55, UPB_SIZE(184, 50), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {56, UPB_SIZE(188, 352), 27, 34, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager__fields[0], - UPB_SIZE(224, 376), 54, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x003800003f000012, &upb_pss_1bt}, - {0x016800180300001a, &upb_pom_1bt_max64b}, - {0x0168001804010022, &upb_pom_1bt_maxmaxb}, - {0x004800003f02002a, &upb_prm_1bt_max64b}, - {0x0050000001030032, &upb_psm_1bt_maxmaxb}, - {0x005800000204003a, &upb_psm_1bt_max64b}, - {0x0060000003050042, &upb_psm_1bt_maxmaxb}, - {0x006800000406004a, &upb_psm_1bt_maxmaxb}, - {0x007000003f000052, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0080000005070062, &upb_psm_1bt_maxmaxb}, - {0x008800003f08006a, &upb_prm_1bt_maxmaxb}, - {0x0090000006090072, &upb_psm_1bt_maxmaxb}, - {0x00980000070a007a, &upb_psm_1bt_maxmaxb}, - {0x000800003f000180, &upb_psv4_2bt}, - {0x00a00000080b018a, &upb_psm_2bt_max64b}, - {0x000c00003f000190, &upb_psb1_2bt}, - {0x001000003f000198, &upb_psv4_2bt}, - {0x001400003f0001a0, &upb_psb1_2bt}, - {0x001500003f0001a8, &upb_psb1_2bt}, - {0x00a800003f0001b2, &upb_pss_2bt}, - {0x00b800003f0c01ba, &upb_prm_2bt_max64b}, - {0x00c00000090d01c2, &upb_psm_2bt_maxmaxb}, - {0x00c800000a0e01ca, &upb_psm_2bt_max64b}, - {0x00d000000b0f01d2, &upb_psm_2bt_maxmaxb}, - {0x01180000141902da, &upb_psm_2bt_max64b}, - {0x00d800000c1001e2, &upb_psm_2bt_maxmaxb}, - {0x00e000000d1101ea, &upb_psm_2bt_maxmaxb}, - {0x00e800000e1201f2, &upb_psm_2bt_maxmaxb}, - {0x016800181f1301fa, &upb_pom_2bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_submsgs[6] = { - {.submsg = &envoy_type_v3_Percent_msg_init}, - {.submsg = &envoy_type_v3_Percent_msg_init}, - {.submsg = &envoy_type_v3_Percent_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_type_tracing_v3_CustomTag_msg_init}, - {.submsg = &envoy_config_trace_v3_Tracing_Http_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing__fields[7] = { - {3, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(20, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(24, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(28, 48), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing__fields[0], - UPB_SIZE(32, 56), 7, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100001a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010022, &upb_psm_1bt_maxmaxb}, - {0x001800000302002a, &upb_psm_1bt_maxmaxb}, - {0x000100003f000030, &upb_psb1_1bt}, - {0x002000000403003a, &upb_psm_1bt_maxmaxb}, - {0x002800003f040042, &upb_prm_1bt_maxmaxb}, - {0x003000000505004a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_submsgs[1] = { - {.submsg = &envoy_config_core_v3_CidrRange_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig__fields[2] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - {0x000800003f000012, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_submsgs[1] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails__fields[5] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(9, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(10, 3), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(11, 4), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails__fields[0], - 16, 5, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000100003f000018, &upb_psb1_1bt}, - {0x000200003f000020, &upb_psb1_1bt}, - {0x000300003f000028, &upb_psb1_1bt}, - {0x000400003f000030, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_submsgs[2] = { - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig__fields[3] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prm_1bt_max64b}, - {0x002000000101001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_submsgs[2] = { - {.submsg = &envoy_type_http_v3_PathTransformation_msg_init}, - {.submsg = &envoy_type_http_v3_PathTransformation_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig__fields[6] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, 2, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, 3, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, 8, -5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_msg_init = { - NULL, - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig__fields[0], - UPB_SIZE(16, 24), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x000200003f000018, &upb_psb1_1bt}, - {0x000300003f000020, &upb_psb1_1bt}, - {0x0008000405000028, &upb_pob1_1bt}, - {0x0008000406000032, &upb_pos_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_submsgs[1] = { - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(9, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions__fields[0], - 16, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x000200003f000018, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_submsgs[2] = { - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_msg_init}, - {.submsg = &envoy_config_core_v3_SubstitutionFormatString_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig__fields[2] = { - {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_max64b}, - {0x0010000001010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_submsgs[5] = { - {.submsg = &envoy_config_accesslog_v3_AccessLogFilter_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, - {.submsg = &envoy_config_core_v3_SubstitutionFormatString_msg_init}, - {.submsg = &envoy_config_core_v3_HeaderValueOption_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper__fields[5] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper__fields[0], - UPB_SIZE(24, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - {0x0020000004030022, &upb_psm_1bt_maxmaxb}, - {0x002800003f04002a, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_Rds_submsgs[1] = { - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_Rds__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_Rds_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_Rds_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_Rds__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_submsgs[1] = { - {.submsg = &envoy_config_route_v3_ScopedRouteConfiguration_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_submsgs[4] = { - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_msg_init}, - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_msg_init}, - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes__fields[5] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 40), UPB_SIZE(-13, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 40), UPB_SIZE(-13, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes__fields[0], - UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - {0x0028000404020022, &upb_pom_1bt_max64b}, - {0x002800040503002a, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_submsgs[1] = { - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_submsgs[1] = { - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder__fields[1] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_submsgs[1] = { - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor__fields[4] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 40), -1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 40), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor__fields[0], - UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0028000003000018, &upb_pov4_1bt}, - {0x0028000004000022, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_msg_init = { - NULL, - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_submsgs[1] = { - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_submsgs[2] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &envoy_config_core_v3_ExtensionConfigSource_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter__fields[4] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter__fields[0], - UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0018000004000022, &upb_pom_1bt_maxmaxb}, - {0x001800000501002a, &upb_pom_1bt_maxmaxb}, - {0x000400003f000030, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_submsgs[1] = { - {.submsg = &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_msg_init = { - &envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_submsgs[0], - &envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[21] = { - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_Tracing_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_InternalAddressConfig_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_SetCurrentClientCertDetails_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_UpgradeConfig_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_PathNormalizationOptions_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_ProxyStatusConfig_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_HcmAccessLogOptions_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_LocalReplyConfig_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_ResponseMapper_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_Rds_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRouteConfigurationsList_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_ScopedRds_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_HttpFilter_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_RequestIDExtension_msg_init, - &envoy_extensions_filters_network_http_connection_manager_v3_EnvoyMobileHttpConnectionManager_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_filters_network_http_connection_manager_v3_http_connection_manager_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 21, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c b/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c deleted file mode 100644 index 21ce5d4a3d6..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +++ /dev/null @@ -1,51 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/http/stateful_session/cookie/v3/cookie.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h" -#include "envoy/type/http/v3/cookie.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_submsgs[1] = { - {.submsg = &envoy_type_http_v3_Cookie_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_msg_init = { - &envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_submsgs[0], - &envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_http_stateful_session_cookie_v3_cookie_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h b/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h deleted file mode 100644 index b41c708a672..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +++ /dev/null @@ -1,99 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/http/stateful_session/cookie/v3/cookie.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPB_H_ -#define ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState; -extern const upb_MiniTable envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_msg_init; -struct envoy_type_http_v3_Cookie; -extern const upb_MiniTable envoy_type_http_v3_Cookie_msg_init; - - - -/* envoy.extensions.http.stateful_session.cookie.v3.CookieBasedSessionState */ - -UPB_INLINE envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_new(upb_Arena* arena) { - return (envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState*)_upb_Message_New(&envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_msg_init, arena); -} -UPB_INLINE envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* ret = envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* ret = envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_serialize(const envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_serialize_ex(const envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_clear_cookie(envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_http_v3_Cookie* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_cookie(const envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* msg) { - const struct envoy_type_http_v3_Cookie* default_val = NULL; - const struct envoy_type_http_v3_Cookie* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_has_cookie(const envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_set_cookie(envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState *msg, struct envoy_type_http_v3_Cookie* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_http_v3_Cookie* envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_mutable_cookie(envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState* msg, upb_Arena* arena) { - struct envoy_type_http_v3_Cookie* sub = (struct envoy_type_http_v3_Cookie*)envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_cookie(msg); - if (sub == NULL) { - sub = (struct envoy_type_http_v3_Cookie*)_upb_Message_New(&envoy_type_http_v3_Cookie_msg_init, arena); - if (sub) envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_set_cookie(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile envoy_extensions_http_stateful_session_cookie_v3_cookie_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c b/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c deleted file mode 100644 index d5e11ec9e33..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c +++ /dev/null @@ -1,68 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_submsgs[6] = { - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_FloatValue_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin__fields[6] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 40), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 48), 6, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_msg_init = { - &envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_submsgs[0], - &envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin__fields[0], - UPB_SIZE(32, 56), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - {0x0020000004030022, &upb_psm_1bt_maxmaxb}, - {0x002800000504002a, &upb_psm_1bt_maxmaxb}, - {0x0030000006050032, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_ClientSideWeightedRoundRobin_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_load_balancing_policies_client_side_weighted_round_robin_v3_client_side_weighted_round_robin_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c b/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c deleted file mode 100644 index f1f9690e2c1..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +++ /dev/null @@ -1,136 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/load_balancing_policies/common/v3/common.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/load_balancing_policies/common/v3/common.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/type/v3/percent.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_submsgs[2] = { - {.submsg = &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_msg_init}, - {.submsg = &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig__fields[2] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_msg_init = { - &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_submsgs[0], - &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_submsgs[2] = { - {.submsg = &envoy_type_v3_Percent_msg_init}, - {.submsg = &google_protobuf_UInt64Value_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_msg_init = { - &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_submsgs[0], - &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x000100003f000018, &upb_psb1_1bt}, - }) -}; - -const upb_MiniTable envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_submsgs[3] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_config_core_v3_RuntimeDouble_msg_init}, - {.submsg = &envoy_type_v3_Percent_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_msg_init = { - &envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_submsgs[0], - &envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_submsgs[1] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig__fields[2] = { - {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_msg_init = { - &envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_submsgs[0], - &envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000100003f000008, &upb_psb1_1bt}, - {0x0008000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[5] = { - &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_msg_init, - &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_msg_init, - &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_msg_init, - &envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_msg_init, - &envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_load_balancing_policies_common_v3_common_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 5, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h b/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h deleted file mode 100644 index acc36507239..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +++ /dev/null @@ -1,491 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/load_balancing_policies/common/v3/common.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_COMMON_V3_COMMON_PROTO_UPB_H_ -#define ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_COMMON_V3_COMMON_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig; -typedef struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig; -typedef struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig; -typedef struct envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig; -typedef struct envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig; -extern const upb_MiniTable envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_msg_init; -extern const upb_MiniTable envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_msg_init; -extern const upb_MiniTable envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_msg_init; -extern const upb_MiniTable envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_msg_init; -extern const upb_MiniTable envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_msg_init; -struct envoy_config_core_v3_RuntimeDouble; -struct envoy_type_v3_Percent; -struct google_protobuf_Duration; -struct google_protobuf_UInt32Value; -struct google_protobuf_UInt64Value; -extern const upb_MiniTable envoy_config_core_v3_RuntimeDouble_msg_init; -extern const upb_MiniTable envoy_type_v3_Percent_msg_init; -extern const upb_MiniTable google_protobuf_Duration_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; -extern const upb_MiniTable google_protobuf_UInt64Value_msg_init; - - - -/* envoy.extensions.load_balancing_policies.common.v3.LocalityLbConfig */ - -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_new(upb_Arena* arena) { - return (envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig*)_upb_Message_New(&envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_msg_init, arena); -} -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_serialize(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_serialize_ex(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_zone_aware_lb_config = 1, - envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_locality_weighted_lb_config = 2, - envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_NOT_SET = 0 -} envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_oneofcases; -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_oneofcases envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_case(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_config_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_clear_zone_aware_lb_config(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_zone_aware_lb_config(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { - const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* default_val = NULL; - const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_has_zone_aware_lb_config(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_clear_locality_weighted_lb_config(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_weighted_lb_config(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { - const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* default_val = NULL; - const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_has_locality_weighted_lb_config(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_set_zone_aware_lb_config(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig *msg, envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_mutable_zone_aware_lb_config(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg, upb_Arena* arena) { - struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* sub = (struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig*)envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_zone_aware_lb_config(msg); - if (sub == NULL) { - sub = (struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig*)_upb_Message_New(&envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_msg_init, arena); - if (sub) envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_set_zone_aware_lb_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_set_locality_weighted_lb_config(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig *msg, envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_mutable_locality_weighted_lb_config(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig* msg, upb_Arena* arena) { - struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* sub = (struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig*)envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_locality_weighted_lb_config(msg); - if (sub == NULL) { - sub = (struct envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig*)_upb_Message_New(&envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_msg_init, arena); - if (sub) envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_set_locality_weighted_lb_config(msg, sub); - } - return sub; -} - -/* envoy.extensions.load_balancing_policies.common.v3.LocalityLbConfig.ZoneAwareLbConfig */ - -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_new(upb_Arena* arena) { - return (envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig*)_upb_Message_New(&envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_msg_init, arena); -} -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_serialize(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_serialize_ex(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_clear_routing_enabled(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_v3_Percent* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_routing_enabled(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { - const struct envoy_type_v3_Percent* default_val = NULL; - const struct envoy_type_v3_Percent* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_has_routing_enabled(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_clear_min_cluster_size(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt64Value* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_min_cluster_size(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { - const struct google_protobuf_UInt64Value* default_val = NULL; - const struct google_protobuf_UInt64Value* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_has_min_cluster_size(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_clear_fail_traffic_on_panic(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_fail_traffic_on_panic(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_set_routing_enabled(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig *msg, struct envoy_type_v3_Percent* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_v3_Percent* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_mutable_routing_enabled(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg, upb_Arena* arena) { - struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_routing_enabled(msg); - if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); - if (sub) envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_set_routing_enabled(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_set_min_cluster_size(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig *msg, struct google_protobuf_UInt64Value* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt64Value* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_mutable_min_cluster_size(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig* msg, upb_Arena* arena) { - struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_min_cluster_size(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google_protobuf_UInt64Value_msg_init, arena); - if (sub) envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_set_min_cluster_size(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig_set_fail_traffic_on_panic(envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_ZoneAwareLbConfig *msg, bool value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.extensions.load_balancing_policies.common.v3.LocalityLbConfig.LocalityWeightedLbConfig */ - -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_new(upb_Arena* arena) { - return (envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig*)_upb_Message_New(&envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_msg_init, arena); -} -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_serialize(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_serialize_ex(const envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_msg_init, options, arena, &ptr, len); - return ptr; -} - - -/* envoy.extensions.load_balancing_policies.common.v3.SlowStartConfig */ - -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_new(upb_Arena* arena) { - return (envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig*)_upb_Message_New(&envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_msg_init, arena); -} -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* ret = envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* ret = envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_serialize(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_serialize_ex(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_clear_slow_start_window(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_slow_start_window(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_has_slow_start_window(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_clear_aggression(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_RuntimeDouble* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_aggression(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { - const struct envoy_config_core_v3_RuntimeDouble* default_val = NULL; - const struct envoy_config_core_v3_RuntimeDouble* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_has_aggression(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_clear_min_weight_percent(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_v3_Percent* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_min_weight_percent(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { - const struct envoy_type_v3_Percent* default_val = NULL; - const struct envoy_type_v3_Percent* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_has_min_weight_percent(const envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_set_slow_start_window(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_mutable_slow_start_window(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_slow_start_window(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_set_slow_start_window(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_set_aggression(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig *msg, struct envoy_config_core_v3_RuntimeDouble* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_RuntimeDouble* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_mutable_aggression(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg, upb_Arena* arena) { - struct envoy_config_core_v3_RuntimeDouble* sub = (struct envoy_config_core_v3_RuntimeDouble*)envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_aggression(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_RuntimeDouble*)_upb_Message_New(&envoy_config_core_v3_RuntimeDouble_msg_init, arena); - if (sub) envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_set_aggression(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_set_min_weight_percent(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig *msg, struct envoy_type_v3_Percent* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_v3_Percent* envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_mutable_min_weight_percent(envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig* msg, upb_Arena* arena) { - struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_min_weight_percent(msg); - if (sub == NULL) { - sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy_type_v3_Percent_msg_init, arena); - if (sub) envoy_extensions_load_balancing_policies_common_v3_SlowStartConfig_set_min_weight_percent(msg, sub); - } - return sub; -} - -/* envoy.extensions.load_balancing_policies.common.v3.ConsistentHashingLbConfig */ - -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_new(upb_Arena* arena) { - return (envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig*)_upb_Message_New(&envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_msg_init, arena); -} -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* ret = envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_serialize(const envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_serialize_ex(const envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_clear_use_hostname_for_hashing(envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg) { - const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_use_hostname_for_hashing(const envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_clear_hash_balance_factor(envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_hash_balance_factor(const envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_has_hash_balance_factor(const envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_set_use_hostname_for_hashing(envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig *msg, bool value) { - const upb_MiniTableField field = {1, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_set_hash_balance_factor(envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_mutable_hash_balance_factor(envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_hash_balance_factor(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_set_hash_balance_factor(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile envoy_extensions_load_balancing_policies_common_v3_common_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_LOAD_BALANCING_POLICIES_COMMON_V3_COMMON_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c b/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c deleted file mode 100644 index a5cb51598ed..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c +++ /dev/null @@ -1,45 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h" -#include "udpa/annotations/status.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst__fields[1] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_msg_init = { - NULL, - &envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_extensions_load_balancing_policies_pick_first_v3_PickFirst_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_load_balancing_policies_pick_first_v3_pick_first_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c b/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c deleted file mode 100644 index faa142386f4..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +++ /dev/null @@ -1,69 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h" -#include "envoy/extensions/load_balancing_policies/common/v3/common.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_submsgs[5] = { - {.submsg = &google_protobuf_UInt64Value_msg_init}, - {.submsg = &google_protobuf_UInt64Value_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &envoy_extensions_load_balancing_policies_common_v3_ConsistentHashingLbConfig_msg_init}, - {.submsg = &envoy_extensions_load_balancing_policies_common_v3_LocalityLbConfig_LocalityWeightedLbConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash__fields[7] = { - {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 40), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 48), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_msg_init = { - &envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_submsgs[0], - &envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash__fields[0], - UPB_SIZE(32, 56), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x0010000001000012, &upb_psm_1bt_maxmaxb}, - {0x001800000201001a, &upb_psm_1bt_maxmaxb}, - {0x000800003f000020, &upb_psb1_1bt}, - {0x002000000302002a, &upb_psm_1bt_maxmaxb}, - {0x0028000004030032, &upb_psm_1bt_maxmaxb}, - {0x003000000504003a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_load_balancing_policies_ring_hash_v3_ring_hash_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c b/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c deleted file mode 100644 index dd45bf68c8b..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +++ /dev/null @@ -1,51 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h" -#include "envoy/config/cluster/v3/cluster.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_submsgs[1] = { - {.submsg = &envoy_config_cluster_v3_LoadBalancingPolicy_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_msg_init = { - &envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_submsgs[0], - &envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_extensions_load_balancing_policies_wrr_locality_v3_WrrLocality_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_load_balancing_policies_wrr_locality_v3_wrr_locality_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c b/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c deleted file mode 100644 index de732b036b7..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +++ /dev/null @@ -1,29 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/transport_sockets/tls/v3/cert.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/transport_sockets/tls/v3/cert.upb.h" -#include "envoy/extensions/transport_sockets/tls/v3/common.upb.h" -#include "envoy/extensions/transport_sockets/tls/v3/secret.upb.h" -#include "envoy/extensions/transport_sockets/tls/v3/tls.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_cert_proto_upb_file_layout = { - NULL, - NULL, - NULL, - 0, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h b/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h deleted file mode 100644 index 6df3388495f..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +++ /dev/null @@ -1,35 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/transport_sockets/tls/v3/cert.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_CERT_PROTO_UPB_H_ -#define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_CERT_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -/* Public Imports. */ -#include "envoy/extensions/transport_sockets/tls/v3/common.upb.h" -#include "envoy/extensions/transport_sockets/tls/v3/secret.upb.h" -#include "envoy/extensions/transport_sockets/tls/v3/tls.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - - - -extern const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_cert_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_CERT_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c b/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c deleted file mode 100644 index 9bb9f012ee0..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +++ /dev/null @@ -1,263 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/transport_sockets/tls/v3/common.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/transport_sockets/tls/v3/common.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/type/matcher/v3/string.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/migrate.upb.h" -#include "udpa/annotations/sensitive.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_TlsParameters__fields[5] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_TlsParameters_msg_init = { - NULL, - &envoy_extensions_transport_sockets_tls_v3_TlsParameters__fields[0], - UPB_SIZE(24, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x000800003f00001a, &upb_prs_1bt}, - {0x001000003f000022, &upb_prs_1bt}, - {0x001800003f00002a, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000300001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_TlsCertificate_submsgs[8] = { - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_msg_init}, - {.submsg = &envoy_config_core_v3_WatchedDirectory_msg_init}, - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_TlsCertificate__fields[8] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 48), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(32, 64), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_TlsCertificate_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_TlsCertificate__fields[0], - UPB_SIZE(40, 72), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_maxmaxb}, - {0x0020000004030022, &upb_psm_1bt_maxmaxb}, - {0x002800003f04002a, &upb_prm_1bt_maxmaxb}, - {0x0030000005050032, &upb_psm_1bt_max64b}, - {0x003800000606003a, &upb_psm_1bt_maxmaxb}, - {0x0040000007070042, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_submsgs[1] = { - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_msg_init = { - NULL, - &envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_submsgs[1] = { - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher__fields[2] = { - {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x0008000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_submsgs[9] = { - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, - {.submsg = &envoy_config_core_v3_WatchedDirectory_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext__fields[14] = { - {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(16, 40), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(20, 48), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(24, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(32, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(36, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(40, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(44, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(48, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(56, 96), 7, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext__fields[0], - UPB_SIZE(64, 104), 14, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000000100000a, &upb_psm_1bt_maxmaxb}, - {0x001800003f000012, &upb_prs_1bt}, - {0x002000003f00001a, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0028000002010032, &upb_psm_1bt_maxmaxb}, - {0x003000000302003a, &upb_psm_1bt_maxmaxb}, - {0x000100003f000040, &upb_psb1_1bt}, - {0x003800003f03004a, &upb_prm_1bt_maxmaxb}, - {0x000400003f000050, &upb_psv4_1bt}, - {0x004000000404005a, &upb_psm_1bt_maxmaxb}, - {0x0048000005050062, &upb_psm_1bt_maxmaxb}, - {0x005000000606006a, &upb_psm_1bt_max64b}, - {0x000800003f000070, &upb_psb1_1bt}, - {0x005800003f07007a, &upb_prm_1bt_max64b}, - {0x0060000007080182, &upb_psm_2bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[7] = { - &envoy_extensions_transport_sockets_tls_v3_TlsParameters_msg_init, - &envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_msg_init, - &envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init, - &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init, - &envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_msg_init, - &envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_msg_init, - &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_common_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 7, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h b/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h deleted file mode 100644 index 998ff568971..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +++ /dev/null @@ -1,1471 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/transport_sockets/tls/v3/common.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPB_H_ -#define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_extensions_transport_sockets_tls_v3_TlsParameters envoy_extensions_transport_sockets_tls_v3_TlsParameters; -typedef struct envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider; -typedef struct envoy_extensions_transport_sockets_tls_v3_TlsCertificate envoy_extensions_transport_sockets_tls_v3_TlsCertificate; -typedef struct envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys; -typedef struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance; -typedef struct envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher; -typedef struct envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_TlsParameters_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_msg_init; -extern const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init; -struct envoy_config_core_v3_DataSource; -struct envoy_config_core_v3_TypedExtensionConfig; -struct envoy_config_core_v3_WatchedDirectory; -struct envoy_type_matcher_v3_StringMatcher; -struct google_protobuf_Any; -struct google_protobuf_BoolValue; -struct google_protobuf_UInt32Value; -extern const upb_MiniTable envoy_config_core_v3_DataSource_msg_init; -extern const upb_MiniTable envoy_config_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable envoy_config_core_v3_WatchedDirectory_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msg_init; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable google_protobuf_BoolValue_msg_init; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; - -typedef enum { - envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_VERIFY_TRUST_CHAIN = 0, - envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_ACCEPT_UNTRUSTED = 1 -} envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_TrustChainVerification; - -typedef enum { - envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_SAN_TYPE_UNSPECIFIED = 0, - envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_EMAIL = 1, - envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_DNS = 2, - envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_URI = 3, - envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_IP_ADDRESS = 4 -} envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_SanType; - -typedef enum { - envoy_extensions_transport_sockets_tls_v3_TlsParameters_TLS_AUTO = 0, - envoy_extensions_transport_sockets_tls_v3_TlsParameters_TLSv1_0 = 1, - envoy_extensions_transport_sockets_tls_v3_TlsParameters_TLSv1_1 = 2, - envoy_extensions_transport_sockets_tls_v3_TlsParameters_TLSv1_2 = 3, - envoy_extensions_transport_sockets_tls_v3_TlsParameters_TLSv1_3 = 4 -} envoy_extensions_transport_sockets_tls_v3_TlsParameters_TlsProtocol; - - - -/* envoy.extensions.transport_sockets.tls.v3.TlsParameters */ - -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsParameters* envoy_extensions_transport_sockets_tls_v3_TlsParameters_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_TlsParameters*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_TlsParameters_msg_init, arena); -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsParameters* envoy_extensions_transport_sockets_tls_v3_TlsParameters_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_TlsParameters* ret = envoy_extensions_transport_sockets_tls_v3_TlsParameters_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_TlsParameters_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsParameters* envoy_extensions_transport_sockets_tls_v3_TlsParameters_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_TlsParameters* ret = envoy_extensions_transport_sockets_tls_v3_TlsParameters_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_TlsParameters_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsParameters_serialize(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_TlsParameters_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsParameters_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_TlsParameters_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_clear_tls_minimum_protocol_version(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_extensions_transport_sockets_tls_v3_TlsParameters_tls_minimum_protocol_version(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_clear_tls_maximum_protocol_version(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_extensions_transport_sockets_tls_v3_TlsParameters_tls_maximum_protocol_version(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_clear_cipher_suites(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { - const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* envoy_extensions_transport_sockets_tls_v3_TlsParameters_cipher_suites(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { - const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsParameters_cipher_suites_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { - const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsParameters_cipher_suites_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsParameters_has_cipher_suites(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { - size_t size; - envoy_extensions_transport_sockets_tls_v3_TlsParameters_cipher_suites(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_clear_ecdh_curves(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* envoy_extensions_transport_sockets_tls_v3_TlsParameters_ecdh_curves(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsParameters_ecdh_curves_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsParameters_ecdh_curves_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsParameters_has_ecdh_curves(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { - size_t size; - envoy_extensions_transport_sockets_tls_v3_TlsParameters_ecdh_curves(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_clear_signature_algorithms(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* envoy_extensions_transport_sockets_tls_v3_TlsParameters_signature_algorithms(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsParameters_signature_algorithms_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsParameters_signature_algorithms_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsParameters_has_signature_algorithms(const envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg) { - size_t size; - envoy_extensions_transport_sockets_tls_v3_TlsParameters_signature_algorithms(msg, &size); - return size != 0; -} - -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_set_tls_minimum_protocol_version(envoy_extensions_transport_sockets_tls_v3_TlsParameters *msg, int32_t value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsParameters_set_tls_maximum_protocol_version(envoy_extensions_transport_sockets_tls_v3_TlsParameters *msg, int32_t value) { - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_TlsParameters_mutable_cipher_suites(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { - upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_TlsParameters_resize_cipher_suites(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsParameters_add_cipher_suites(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_TlsParameters_mutable_ecdh_curves(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { - upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_TlsParameters_resize_ecdh_curves(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsParameters_add_ecdh_curves(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_TlsParameters_mutable_signature_algorithms(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t* size) { - upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_TlsParameters_resize_signature_algorithms(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsParameters_add_signature_algorithms(envoy_extensions_transport_sockets_tls_v3_TlsParameters* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {5, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} - -/* envoy.extensions.transport_sockets.tls.v3.PrivateKeyProvider */ - -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_msg_init, arena); -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* ret = envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* ret = envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_serialize(const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_config_type_typed_config = 3, - envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_config_type_NOT_SET = 0 -} envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_config_type_oneofcases; -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_config_type_oneofcases envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_config_type_case(const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_config_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_clear_provider_name(envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_provider_name(const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_clear_typed_config(envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Any* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_typed_config(const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { - const struct google_protobuf_Any* default_val = NULL; - const struct google_protobuf_Any* ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_has_typed_config(const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_set_provider_name(envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_set_typed_config(envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider *msg, struct google_protobuf_Any* value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Any* envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_mutable_typed_config(envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* msg, upb_Arena* arena) { - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_typed_config(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_set_typed_config(msg, sub); - } - return sub; -} - -/* envoy.extensions.transport_sockets.tls.v3.TlsCertificate */ - -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsCertificate* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_TlsCertificate*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init, arena); -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsCertificate* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_TlsCertificate* ret = envoy_extensions_transport_sockets_tls_v3_TlsCertificate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsCertificate* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_TlsCertificate* ret = envoy_extensions_transport_sockets_tls_v3_TlsCertificate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_serialize(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_certificate_chain(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_certificate_chain(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const struct envoy_config_core_v3_DataSource* default_val = NULL; - const struct envoy_config_core_v3_DataSource* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_certificate_chain(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_private_key(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_private_key(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const struct envoy_config_core_v3_DataSource* default_val = NULL; - const struct envoy_config_core_v3_DataSource* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_private_key(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_password(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_password(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const struct envoy_config_core_v3_DataSource* default_val = NULL; - const struct envoy_config_core_v3_DataSource* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_password(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_ocsp_staple(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_ocsp_staple(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const struct envoy_config_core_v3_DataSource* default_val = NULL; - const struct envoy_config_core_v3_DataSource* ret; - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_ocsp_staple(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_DataSource* const* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_signed_certificate_timestamp(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, size_t* size) { - const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct envoy_config_core_v3_DataSource* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsCertificate_signed_certificate_timestamp_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, size_t* size) { - const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsCertificate_signed_certificate_timestamp_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_signed_certificate_timestamp(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - size_t size; - envoy_extensions_transport_sockets_tls_v3_TlsCertificate_signed_certificate_timestamp(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_private_key_provider(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_private_key_provider(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* default_val = NULL; - const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* ret; - const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_private_key_provider(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_watched_directory(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(28, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_WatchedDirectory* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_watched_directory(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const struct envoy_config_core_v3_WatchedDirectory* default_val = NULL; - const struct envoy_config_core_v3_WatchedDirectory* ret; - const upb_MiniTableField field = {7, UPB_SIZE(28, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_watched_directory(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(28, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_clear_pkcs12(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(32, 64), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_pkcs12(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const struct envoy_config_core_v3_DataSource* default_val = NULL; - const struct envoy_config_core_v3_DataSource* ret; - const upb_MiniTableField field = {8, UPB_SIZE(32, 64), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsCertificate_has_pkcs12(const envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(32, 64), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_certificate_chain(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, struct envoy_config_core_v3_DataSource* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_certificate_chain(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { - struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_certificate_chain(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_certificate_chain(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_private_key(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, struct envoy_config_core_v3_DataSource* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_private_key(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { - struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_private_key(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_private_key(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_password(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, struct envoy_config_core_v3_DataSource* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_password(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { - struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_password(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_password(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_ocsp_staple(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, struct envoy_config_core_v3_DataSource* value) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_ocsp_staple(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { - struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_ocsp_staple(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_ocsp_staple(msg, sub); - } - return sub; -} -UPB_INLINE struct envoy_config_core_v3_DataSource** envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, size_t* size) { - upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct envoy_config_core_v3_DataSource**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct envoy_config_core_v3_DataSource** envoy_extensions_transport_sockets_tls_v3_TlsCertificate_resize_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct envoy_config_core_v3_DataSource**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_add_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { - upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_private_key_provider(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* value) { - const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_private_key_provider(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { - struct envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider* sub = (struct envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_private_key_provider(msg); - if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_private_key_provider(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_watched_directory(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, struct envoy_config_core_v3_WatchedDirectory* value) { - const upb_MiniTableField field = {7, UPB_SIZE(28, 56), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_WatchedDirectory* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_watched_directory(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { - struct envoy_config_core_v3_WatchedDirectory* sub = (struct envoy_config_core_v3_WatchedDirectory*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_watched_directory(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_WatchedDirectory*)_upb_Message_New(&envoy_config_core_v3_WatchedDirectory_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_watched_directory(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_pkcs12(envoy_extensions_transport_sockets_tls_v3_TlsCertificate *msg, struct envoy_config_core_v3_DataSource* value) { - const upb_MiniTableField field = {8, UPB_SIZE(32, 64), 7, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsCertificate_mutable_pkcs12(envoy_extensions_transport_sockets_tls_v3_TlsCertificate* msg, upb_Arena* arena) { - struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_TlsCertificate_pkcs12(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_TlsCertificate_set_pkcs12(msg, sub); - } - return sub; -} - -/* envoy.extensions.transport_sockets.tls.v3.TlsSessionTicketKeys */ - -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init, arena); -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* ret = envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* ret = envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_serialize(const envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_clear_keys(envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_DataSource* const* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_keys(const envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct envoy_config_core_v3_DataSource* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_keys_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_keys_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_has_keys(const envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg) { - size_t size; - envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_keys(msg, &size); - return size != 0; -} - -UPB_INLINE struct envoy_config_core_v3_DataSource** envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_mutable_keys(envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct envoy_config_core_v3_DataSource**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct envoy_config_core_v3_DataSource** envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_resize_keys(envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct envoy_config_core_v3_DataSource**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_add_keys(envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.extensions.transport_sockets.tls.v3.CertificateProviderPluginInstance */ - -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_msg_init, arena); -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* ret = envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* ret = envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_serialize(const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_clear_instance_name(envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_instance_name(const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_clear_certificate_name(envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_certificate_name(const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_set_instance_name(envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_set_certificate_name(envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.extensions.transport_sockets.tls.v3.SubjectAltNameMatcher */ - -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_msg_init, arena); -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* ret = envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* ret = envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_serialize(const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_clear_san_type(envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg) { - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_san_type(const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_clear_matcher(envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg) { - const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_matcher(const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg) { - const struct envoy_type_matcher_v3_StringMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_StringMatcher* ret; - const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_has_matcher(const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg) { - const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_set_san_type(envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher *msg, int32_t value) { - const upb_MiniTableField field = {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_set_matcher(envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher *msg, struct envoy_type_matcher_v3_StringMatcher* value) { - const upb_MiniTableField field = {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_mutable_matcher(envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_matcher(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_set_matcher(msg, sub); - } - return sub; -} - -/* envoy.extensions.transport_sockets.tls.v3.CertificateValidationContext */ - -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_new(upb_Arena* arena) { - return (envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init, arena); -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* ret = envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* ret = envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_serialize(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_serialize_ex(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_trusted_ca(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_trusted_ca(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const struct envoy_config_core_v3_DataSource* default_val = NULL; - const struct envoy_config_core_v3_DataSource* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_trusted_ca(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_verify_certificate_hash(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_hash(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_hash_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_hash_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_verify_certificate_hash(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - size_t size; - envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_hash(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_verify_certificate_spki(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_spki(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_spki_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_spki_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_verify_certificate_spki(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - size_t size; - envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_verify_certificate_spki(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_require_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(16, 40), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_BoolValue* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_require_signed_certificate_timestamp(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const struct google_protobuf_BoolValue* default_val = NULL; - const struct google_protobuf_BoolValue* ret; - const upb_MiniTableField field = {6, UPB_SIZE(16, 40), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_require_signed_certificate_timestamp(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(16, 40), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_crl(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(20, 48), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_crl(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const struct envoy_config_core_v3_DataSource* default_val = NULL; - const struct envoy_config_core_v3_DataSource* ret; - const upb_MiniTableField field = {7, UPB_SIZE(20, 48), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_crl(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(20, 48), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_allow_expired_certificate(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(24, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_allow_expired_certificate(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {8, UPB_SIZE(24, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_match_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* const* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_subject_alt_names(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { - const upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct envoy_type_matcher_v3_StringMatcher* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_subject_alt_names_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { - const upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_subject_alt_names_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_match_subject_alt_names(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - size_t size; - envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_subject_alt_names(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_trust_chain_verification(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(32, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_trust_chain_verification(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {10, UPB_SIZE(32, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_watched_directory(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(36, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_WatchedDirectory* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_watched_directory(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const struct envoy_config_core_v3_WatchedDirectory* default_val = NULL; - const struct envoy_config_core_v3_WatchedDirectory* ret; - const upb_MiniTableField field = {11, UPB_SIZE(36, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_watched_directory(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(36, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_custom_validator_config(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(40, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_custom_validator_config(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL; - const struct envoy_config_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {12, UPB_SIZE(40, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_custom_validator_config(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(40, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_ca_certificate_provider_instance(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(44, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_ca_certificate_provider_instance(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* default_val = NULL; - const envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* ret; - const upb_MiniTableField field = {13, UPB_SIZE(44, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_ca_certificate_provider_instance(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(44, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_only_verify_leaf_cert_crl(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {14, UPB_SIZE(48, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_only_verify_leaf_cert_crl(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {14, UPB_SIZE(48, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_match_typed_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* const* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_typed_subject_alt_names(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { - const upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_typed_subject_alt_names_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { - const upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_typed_subject_alt_names_mutable_upb_array(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_match_typed_subject_alt_names(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - size_t size; - envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_match_typed_subject_alt_names(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_clear_max_verify_depth(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {16, UPB_SIZE(56, 96), 7, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_max_verify_depth(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {16, UPB_SIZE(56, 96), 7, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_has_max_verify_depth(const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg) { - const upb_MiniTableField field = {16, UPB_SIZE(56, 96), 7, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_trusted_ca(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, struct envoy_config_core_v3_DataSource* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_trusted_ca(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { - struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_trusted_ca(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_trusted_ca(msg, sub); - } - return sub; -} -UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_verify_certificate_hash(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_resize_verify_certificate_hash(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_add_verify_certificate_hash(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_verify_certificate_spki(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { - upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_resize_verify_certificate_spki(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_add_verify_certificate_spki(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_require_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, struct google_protobuf_BoolValue* value) { - const upb_MiniTableField field = {6, UPB_SIZE(16, 40), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_BoolValue* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_require_signed_certificate_timestamp(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { - struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_require_signed_certificate_timestamp(msg); - if (sub == NULL) { - sub = (struct google_protobuf_BoolValue*)_upb_Message_New(&google_protobuf_BoolValue_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_require_signed_certificate_timestamp(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_crl(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, struct envoy_config_core_v3_DataSource* value) { - const upb_MiniTableField field = {7, UPB_SIZE(20, 48), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_DataSource* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_crl(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { - struct envoy_config_core_v3_DataSource* sub = (struct envoy_config_core_v3_DataSource*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_crl(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_DataSource*)_upb_Message_New(&envoy_config_core_v3_DataSource_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_crl(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_allow_expired_certificate(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, bool value) { - const upb_MiniTableField field = {8, UPB_SIZE(24, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_StringMatcher** envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_match_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { - upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct envoy_type_matcher_v3_StringMatcher**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct envoy_type_matcher_v3_StringMatcher** envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_resize_match_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct envoy_type_matcher_v3_StringMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_add_match_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { - upb_MiniTableField field = {9, UPB_SIZE(28, 56), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_trust_chain_verification(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, int32_t value) { - const upb_MiniTableField field = {10, UPB_SIZE(32, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_watched_directory(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, struct envoy_config_core_v3_WatchedDirectory* value) { - const upb_MiniTableField field = {11, UPB_SIZE(36, 64), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_WatchedDirectory* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_watched_directory(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { - struct envoy_config_core_v3_WatchedDirectory* sub = (struct envoy_config_core_v3_WatchedDirectory*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_watched_directory(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_WatchedDirectory*)_upb_Message_New(&envoy_config_core_v3_WatchedDirectory_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_watched_directory(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_custom_validator_config(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {12, UPB_SIZE(40, 72), 5, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_custom_validator_config(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { - struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_custom_validator_config(msg); - if (sub == NULL) { - sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy_config_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_custom_validator_config(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_ca_certificate_provider_instance(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* value) { - const upb_MiniTableField field = {13, UPB_SIZE(44, 80), 6, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_ca_certificate_provider_instance(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { - struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance* sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_ca_certificate_provider_instance(msg); - if (sub == NULL) { - sub = (struct envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_ca_certificate_provider_instance(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_only_verify_leaf_cert_crl(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, bool value) { - const upb_MiniTableField field = {14, UPB_SIZE(48, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher** envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_match_typed_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t* size) { - upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher** envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_resize_match_typed_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_add_match_typed_subject_alt_names(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { - upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher* sub = (struct envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher*)_upb_Message_New(&envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_max_verify_depth(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {16, UPB_SIZE(56, 96), 7, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_mutable_max_verify_depth(envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_max_verify_depth(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_set_max_verify_depth(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_common_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c b/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c deleted file mode 100644 index ba21b8e2988..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +++ /dev/null @@ -1,109 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/transport_sockets/tls/v3/secret.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/transport_sockets/tls/v3/secret.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/core/v3/config_source.upb.h" -#include "envoy/extensions/transport_sockets/tls/v3/common.upb.h" -#include "udpa/annotations/sensitive.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_GenericSecret_submsgs[1] = { - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_GenericSecret__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_GenericSecret_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_GenericSecret_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_GenericSecret__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_submsgs[1] = { - {.submsg = &envoy_config_core_v3_ConfigSource_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_Secret_submsgs[4] = { - {.submsg = &envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_GenericSecret_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_Secret__fields[5] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 24), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 24), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_Secret_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_Secret_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_Secret__fields[0], - UPB_SIZE(16, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000002000012, &upb_pom_1bt_maxmaxb}, - {0x001800000301001a, &upb_pom_1bt_maxmaxb}, - {0x0018000004020022, &upb_pom_1bt_maxmaxb}, - {0x001800000503002a, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &envoy_extensions_transport_sockets_tls_v3_GenericSecret_msg_init, - &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init, - &envoy_extensions_transport_sockets_tls_v3_Secret_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_secret_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 3, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c b/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c deleted file mode 100644 index a25d56d7d76..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +++ /dev/null @@ -1,268 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/transport_sockets/tls/v3/tls.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/transport_sockets/tls/v3/tls.upb.h" -#include "envoy/config/core/v3/address.upb.h" -#include "envoy/config/core/v3/extension.upb.h" -#include "envoy/extensions/transport_sockets/tls/v3/common.upb.h" -#include "envoy/extensions/transport_sockets/tls/v3/secret.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_submsgs[2] = { - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msg_init}, - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext__fields[4] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max128b}, - {0x001000003f000012, &upb_pss_1bt}, - {0x000100003f000018, &upb_psb1_1bt}, - {0x0020000002010022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_submsgs[7] = { - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_BoolValue_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext__fields[9] = { - {1, UPB_SIZE(4, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 24), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 32), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(16, 40), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(32, 56), UPB_SIZE(-21, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(24, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(28, 48), 5, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext__fields[0], - UPB_SIZE(40, 64), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000000100000a, &upb_psm_1bt_max128b}, - {0x0018000002010012, &upb_psm_1bt_maxmaxb}, - {0x002000000302001a, &upb_psm_1bt_maxmaxb}, - {0x0038000404030022, &upb_pom_1bt_maxmaxb}, - {0x003800040504002a, &upb_pom_1bt_maxmaxb}, - {0x0028000004050032, &upb_psm_1bt_maxmaxb}, - {0x0038000407000038, &upb_pob1_1bt}, - {0x000800003f000040, &upb_psv4_1bt}, - {0x003000000506004a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_submsgs[2] = { - {.submsg = &envoy_config_core_v3_CidrRange_msg_init}, - {.submsg = &envoy_config_core_v3_CidrRange_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_TlsKeyLog__fields[3] = { - {1, UPB_SIZE(8, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_TlsKeyLog__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_prm_1bt_maxmaxb}, - {0x001800003f01001a, &upb_prm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_submsgs[13] = { - {.submsg = &envoy_extensions_transport_sockets_tls_v3_TlsParameters_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init}, - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_CommonTlsContext__fields[14] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(44, 80), UPB_SIZE(-29, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(16, 32), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(44, 80), UPB_SIZE(-29, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(44, 80), UPB_SIZE(-29, -5), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(20, 40), 2, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(44, 80), UPB_SIZE(-29, -5), 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(24, 48), 3, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(44, 80), UPB_SIZE(-29, -5), 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(32, 56), 4, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(36, 64), 5, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(40, 72), 6, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext__fields[0], - UPB_SIZE(48, 88), 14, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f010012, &upb_prm_1bt_maxmaxb}, - {0x005000040302001a, &upb_pom_1bt_maxmaxb}, - {0x001800003f000022, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x002000003f030032, &upb_prm_1bt_maxmaxb}, - {0x005000040704003a, &upb_pom_1bt_maxmaxb}, - {0x0050000408050042, &upb_pom_1bt_max64b}, - {0x002800000206004a, &upb_psm_1bt_max64b}, - {0x005000040a070052, &upb_pom_1bt_max64b}, - {0x003000000308005a, &upb_psm_1bt_max64b}, - {0x005000040c090062, &upb_pom_1bt_max64b}, - {0x00380000040a006a, &upb_psm_1bt_maxmaxb}, - {0x00400000050b0072, &upb_psm_1bt_maxmaxb}, - {0x00480000060c007a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_submsgs[1] = { - {.submsg = &envoy_config_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000002000012, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init = { - NULL, - &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_submsgs[4] = { - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init}, - {.submsg = &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext__fields[4] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800000302001a, &upb_psm_1bt_max64b}, - {0x0020000004030022, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[7] = { - &envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_msg_init, - &envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_msg_init, - &envoy_extensions_transport_sockets_tls_v3_TlsKeyLog_msg_init, - &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msg_init, - &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msg_init, - &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msg_init, - &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_tls_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 7, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c b/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c deleted file mode 100644 index f3e5227a8d6..00000000000 --- a/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +++ /dev/null @@ -1,73 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_submsgs[1] = { - {.submsg = &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_submsgs[1] = { - {.submsg = &envoy_config_core_v3_DataSource_msg_init}, -}; - -static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_msg_init = { - &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_submsgs[0], - &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_msg_init, - &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_msg_init, -}; - -const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_tls_spiffe_validator_config_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c b/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c deleted file mode 100644 index 1e6b544b12d..00000000000 --- a/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +++ /dev/null @@ -1,39 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/service/discovery/v3/ads.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/service/discovery/v3/ads.upb.h" -#include "envoy/service/discovery/v3/discovery.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -const upb_MiniTable envoy_service_discovery_v3_AdsDummy_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_service_discovery_v3_AdsDummy_msg_init, -}; - -const upb_MiniTableFile envoy_service_discovery_v3_ads_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h b/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h deleted file mode 100644 index c4b3e2b476f..00000000000 --- a/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +++ /dev/null @@ -1,70 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/service/discovery/v3/ads.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_SERVICE_DISCOVERY_V3_ADS_PROTO_UPB_H_ -#define ENVOY_SERVICE_DISCOVERY_V3_ADS_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_service_discovery_v3_AdsDummy envoy_service_discovery_v3_AdsDummy; -extern const upb_MiniTable envoy_service_discovery_v3_AdsDummy_msg_init; - - - -/* envoy.service.discovery.v3.AdsDummy */ - -UPB_INLINE envoy_service_discovery_v3_AdsDummy* envoy_service_discovery_v3_AdsDummy_new(upb_Arena* arena) { - return (envoy_service_discovery_v3_AdsDummy*)_upb_Message_New(&envoy_service_discovery_v3_AdsDummy_msg_init, arena); -} -UPB_INLINE envoy_service_discovery_v3_AdsDummy* envoy_service_discovery_v3_AdsDummy_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_service_discovery_v3_AdsDummy* ret = envoy_service_discovery_v3_AdsDummy_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_AdsDummy_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_service_discovery_v3_AdsDummy* envoy_service_discovery_v3_AdsDummy_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_service_discovery_v3_AdsDummy* ret = envoy_service_discovery_v3_AdsDummy_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_service_discovery_v3_AdsDummy_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_service_discovery_v3_AdsDummy_serialize(const envoy_service_discovery_v3_AdsDummy* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_AdsDummy_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_service_discovery_v3_AdsDummy_serialize_ex(const envoy_service_discovery_v3_AdsDummy* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_service_discovery_v3_AdsDummy_msg_init, options, arena, &ptr, len); - return ptr; -} - - -extern const upb_MiniTableFile envoy_service_discovery_v3_ads_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_SERVICE_DISCOVERY_V3_ADS_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c b/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c deleted file mode 100644 index 47a9d5b253d..00000000000 --- a/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +++ /dev/null @@ -1,403 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/service/discovery/v3/discovery.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/service/discovery/v3/discovery.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/rpc/status.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_service_discovery_v3_ResourceLocator_submsgs[1] = { - {.submsg = &envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry_msg_init}, -}; - -static const upb_MiniTableField envoy_service_discovery_v3_ResourceLocator__fields[2] = { - {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_discovery_v3_ResourceLocator_msg_init = { - &envoy_service_discovery_v3_ResourceLocator_submsgs[0], - &envoy_service_discovery_v3_ResourceLocator__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry_msg_init = { - NULL, - &envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_service_discovery_v3_ResourceName_submsgs[1] = { - {.submsg = &envoy_service_discovery_v3_DynamicParameterConstraints_msg_init}, -}; - -static const upb_MiniTableField envoy_service_discovery_v3_ResourceName__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_discovery_v3_ResourceName_msg_init = { - &envoy_service_discovery_v3_ResourceName_submsgs[0], - &envoy_service_discovery_v3_ResourceName__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_service_discovery_v3_DiscoveryRequest_submsgs[3] = { - {.submsg = &envoy_config_core_v3_Node_msg_init}, - {.submsg = &google_rpc_Status_msg_init}, - {.submsg = &envoy_service_discovery_v3_ResourceLocator_msg_init}, -}; - -static const upb_MiniTableField envoy_service_discovery_v3_DiscoveryRequest__fields[7] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(28, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(36, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 72), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(16, 80), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_discovery_v3_DiscoveryRequest_msg_init = { - &envoy_service_discovery_v3_DiscoveryRequest_submsgs[0], - &envoy_service_discovery_v3_DiscoveryRequest__fields[0], - UPB_SIZE(48, 88), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000003f00001a, &upb_prs_1bt}, - {0x002800003f000022, &upb_pss_1bt}, - {0x003800003f00002a, &upb_pss_1bt}, - {0x0048000002010032, &upb_psm_1bt_maxmaxb}, - {0x005000003f02003a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_service_discovery_v3_DiscoveryResponse_submsgs[2] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &envoy_config_core_v3_ControlPlane_msg_init}, -}; - -static const upb_MiniTableField envoy_service_discovery_v3_DiscoveryResponse__fields[6] = { - {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 64), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_discovery_v3_DiscoveryResponse_msg_init = { - &envoy_service_discovery_v3_DiscoveryResponse_submsgs[0], - &envoy_service_discovery_v3_DiscoveryResponse__fields[0], - UPB_SIZE(40, 72), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prm_1bt_maxmaxb}, - {0x000100003f000018, &upb_psb1_1bt}, - {0x002000003f000022, &upb_pss_1bt}, - {0x003000003f00002a, &upb_pss_1bt}, - {0x0040000001010032, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_service_discovery_v3_DeltaDiscoveryRequest_submsgs[5] = { - {.submsg = &envoy_config_core_v3_Node_msg_init}, - {.submsg = &envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry_msg_init}, - {.submsg = &google_rpc_Status_msg_init}, - {.submsg = &envoy_service_discovery_v3_ResourceLocator_msg_init}, - {.submsg = &envoy_service_discovery_v3_ResourceLocator_msg_init}, -}; - -static const upb_MiniTableField envoy_service_discovery_v3_DeltaDiscoveryRequest__fields[9] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 48), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(40, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(20, 72), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(24, 80), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(28, 88), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_discovery_v3_DeltaDiscoveryRequest_msg_init = { - &envoy_service_discovery_v3_DeltaDiscoveryRequest_submsgs[0], - &envoy_service_discovery_v3_DeltaDiscoveryRequest__fields[0], - UPB_SIZE(48, 96), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_pss_1bt}, - {0x002000003f00001a, &upb_prs_1bt}, - {0x002800003f000022, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x003800003f000032, &upb_pss_1bt}, - {0x004800000202003a, &upb_psm_1bt_maxmaxb}, - {0x005000003f030042, &upb_prm_1bt_max64b}, - {0x005800003f04004a, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry_msg_init = { - NULL, - &envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_service_discovery_v3_DeltaDiscoveryResponse_submsgs[3] = { - {.submsg = &envoy_service_discovery_v3_Resource_msg_init}, - {.submsg = &envoy_config_core_v3_ControlPlane_msg_init}, - {.submsg = &envoy_service_discovery_v3_ResourceName_msg_init}, -}; - -static const upb_MiniTableField envoy_service_discovery_v3_DeltaDiscoveryResponse__fields[7] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(8, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(12, 72), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(16, 80), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_discovery_v3_DeltaDiscoveryResponse_msg_init = { - &envoy_service_discovery_v3_DeltaDiscoveryResponse_submsgs[0], - &envoy_service_discovery_v3_DeltaDiscoveryResponse__fields[0], - UPB_SIZE(48, 88), 7, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prm_1bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x002000003f000022, &upb_pss_1bt}, - {0x003000003f00002a, &upb_pss_1bt}, - {0x004000003f000032, &upb_prs_1bt}, - {0x004800000101003a, &upb_psm_1bt_maxmaxb}, - {0x005000003f020042, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_service_discovery_v3_DynamicParameterConstraints_submsgs[4] = { - {.submsg = &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_msg_init}, - {.submsg = &envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_msg_init}, - {.submsg = &envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_msg_init}, - {.submsg = &envoy_service_discovery_v3_DynamicParameterConstraints_msg_init}, -}; - -static const upb_MiniTableField envoy_service_discovery_v3_DynamicParameterConstraints__fields[4] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_discovery_v3_DynamicParameterConstraints_msg_init = { - &envoy_service_discovery_v3_DynamicParameterConstraints_submsgs[0], - &envoy_service_discovery_v3_DynamicParameterConstraints__fields[0], - UPB_SIZE(8, 16), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x000800000302001a, &upb_pom_1bt_max64b}, - {0x0008000004030022, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_submsgs[1] = { - {.submsg = &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_msg_init}, -}; - -static const upb_MiniTableField envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint__fields[3] = { - {1, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_msg_init = { - &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_submsgs[0], - &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f00000a, &upb_pss_1bt}, - {0x0008000002000012, &upb_pos_1bt}, - {0x000800000300001a, &upb_pom_1bt_max64b}, - }) -}; - -const upb_MiniTable envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_submsgs[1] = { - {.submsg = &envoy_service_discovery_v3_DynamicParameterConstraints_msg_init}, -}; - -static const upb_MiniTableField envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_msg_init = { - &envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_submsgs[0], - &envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_service_discovery_v3_Resource_submsgs[5] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &envoy_service_discovery_v3_Resource_CacheControl_msg_init}, - {.submsg = &envoy_service_discovery_v3_ResourceName_msg_init}, - {.submsg = &envoy_config_core_v3_Metadata_msg_init}, -}; - -static const upb_MiniTableField envoy_service_discovery_v3_Resource__fields[8] = { - {1, UPB_SIZE(28, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 56), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(16, 64), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(20, 72), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(24, 80), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_discovery_v3_Resource_msg_init = { - &envoy_service_discovery_v3_Resource_submsgs[0], - &envoy_service_discovery_v3_Resource__fields[0], - UPB_SIZE(48, 88), 8, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000003f00001a, &upb_pss_1bt}, - {0x003000003f000022, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0038000002010032, &upb_psm_1bt_maxmaxb}, - {0x004000000302003a, &upb_psm_1bt_max64b}, - {0x0048000004030042, &upb_psm_1bt_max64b}, - {0x005000000504004a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_service_discovery_v3_Resource_CacheControl__fields[1] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_discovery_v3_Resource_CacheControl_msg_init = { - NULL, - &envoy_service_discovery_v3_Resource_CacheControl__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[14] = { - &envoy_service_discovery_v3_ResourceLocator_msg_init, - &envoy_service_discovery_v3_ResourceLocator_DynamicParametersEntry_msg_init, - &envoy_service_discovery_v3_ResourceName_msg_init, - &envoy_service_discovery_v3_DiscoveryRequest_msg_init, - &envoy_service_discovery_v3_DiscoveryResponse_msg_init, - &envoy_service_discovery_v3_DeltaDiscoveryRequest_msg_init, - &envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry_msg_init, - &envoy_service_discovery_v3_DeltaDiscoveryResponse_msg_init, - &envoy_service_discovery_v3_DynamicParameterConstraints_msg_init, - &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_msg_init, - &envoy_service_discovery_v3_DynamicParameterConstraints_SingleConstraint_Exists_msg_init, - &envoy_service_discovery_v3_DynamicParameterConstraints_ConstraintList_msg_init, - &envoy_service_discovery_v3_Resource_msg_init, - &envoy_service_discovery_v3_Resource_CacheControl_msg_init, -}; - -const upb_MiniTableFile envoy_service_discovery_v3_discovery_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 14, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c b/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c deleted file mode 100644 index 9d276e699b5..00000000000 --- a/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +++ /dev/null @@ -1,85 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/service/load_stats/v3/lrs.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/service/load_stats/v3/lrs.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/config/endpoint/v3/load_report.upb.h" -#include "google/protobuf/duration.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_service_load_stats_v3_LoadStatsRequest_submsgs[2] = { - {.submsg = &envoy_config_core_v3_Node_msg_init}, - {.submsg = &envoy_config_endpoint_v3_ClusterStats_msg_init}, -}; - -static const upb_MiniTableField envoy_service_load_stats_v3_LoadStatsRequest__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_load_stats_v3_LoadStatsRequest_msg_init = { - &envoy_service_load_stats_v3_LoadStatsRequest_submsgs[0], - &envoy_service_load_stats_v3_LoadStatsRequest__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f010012, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_service_load_stats_v3_LoadStatsResponse_submsgs[1] = { - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_service_load_stats_v3_LoadStatsResponse__fields[4] = { - {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(13, 2), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_load_stats_v3_LoadStatsResponse_msg_init = { - &envoy_service_load_stats_v3_LoadStatsResponse_submsgs[0], - &envoy_service_load_stats_v3_LoadStatsResponse__fields[0], - UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prs_1bt}, - {0x0010000001000012, &upb_psm_1bt_maxmaxb}, - {0x000100003f000018, &upb_psb1_1bt}, - {0x000200003f000020, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_service_load_stats_v3_LoadStatsRequest_msg_init, - &envoy_service_load_stats_v3_LoadStatsResponse_msg_init, -}; - -const upb_MiniTableFile envoy_service_load_stats_v3_lrs_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c b/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c deleted file mode 100644 index 55598084f90..00000000000 --- a/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +++ /dev/null @@ -1,183 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/service/status/v3/csds.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/service/status/v3/csds.upb.h" -#include "envoy/admin/v3/config_dump_shared.upb.h" -#include "envoy/config/core/v3/base.upb.h" -#include "envoy/type/matcher/v3/node.upb.h" -#include "google/api/annotations.upb.h" -#include "google/protobuf/any.upb.h" -#include "google/protobuf/timestamp.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_service_status_v3_ClientStatusRequest_submsgs[2] = { - {.submsg = &envoy_type_matcher_v3_NodeMatcher_msg_init}, - {.submsg = &envoy_config_core_v3_Node_msg_init}, -}; - -static const upb_MiniTableField envoy_service_status_v3_ClientStatusRequest__fields[2] = { - {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_status_v3_ClientStatusRequest_msg_init = { - &envoy_service_status_v3_ClientStatusRequest_submsgs[0], - &envoy_service_status_v3_ClientStatusRequest__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, - {0x0010000001010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_service_status_v3_PerXdsConfig_submsgs[5] = { - {.submsg = &envoy_admin_v3_ListenersConfigDump_msg_init}, - {.submsg = &envoy_admin_v3_ClustersConfigDump_msg_init}, - {.submsg = &envoy_admin_v3_RoutesConfigDump_msg_init}, - {.submsg = &envoy_admin_v3_ScopedRoutesConfigDump_msg_init}, - {.submsg = &envoy_admin_v3_EndpointsConfigDump_msg_init}, -}; - -static const upb_MiniTableField envoy_service_status_v3_PerXdsConfig__fields[7] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 16), -5, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 16), -5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 16), -5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_status_v3_PerXdsConfig_msg_init = { - &envoy_service_status_v3_PerXdsConfig_submsgs[0], - &envoy_service_status_v3_PerXdsConfig__fields[0], - UPB_SIZE(16, 24), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x0010000402000012, &upb_pom_1bt_maxmaxb}, - {0x001000040301001a, &upb_pom_1bt_maxmaxb}, - {0x0010000404020022, &upb_pom_1bt_maxmaxb}, - {0x001000040503002a, &upb_pom_1bt_maxmaxb}, - {0x0010000406040032, &upb_pom_1bt_maxmaxb}, - {0x000800003f000038, &upb_psv4_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_service_status_v3_ClientConfig_submsgs[3] = { - {.submsg = &envoy_config_core_v3_Node_msg_init}, - {.submsg = &envoy_service_status_v3_PerXdsConfig_msg_init}, - {.submsg = &envoy_service_status_v3_ClientConfig_GenericXdsConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_service_status_v3_ClientConfig__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_status_v3_ClientConfig_msg_init = { - &envoy_service_status_v3_ClientConfig_submsgs[0], - &envoy_service_status_v3_ClientConfig__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f010012, &upb_prm_1bt_max64b}, - {0x001800003f02001a, &upb_prm_1bt_max128b}, - }) -}; - -static const upb_MiniTableSub envoy_service_status_v3_ClientConfig_GenericXdsConfig_submsgs[3] = { - {.submsg = &google_protobuf_Any_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &envoy_admin_v3_UpdateFailureState_msg_init}, -}; - -static const upb_MiniTableField envoy_service_status_v3_ClientConfig_GenericXdsConfig__fields[9] = { - {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(44, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 64), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 72), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 4), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(16, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(20, 80), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(24, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_status_v3_ClientConfig_GenericXdsConfig_msg_init = { - &envoy_service_status_v3_ClientConfig_GenericXdsConfig_submsgs[0], - &envoy_service_status_v3_ClientConfig_GenericXdsConfig__fields[0], - UPB_SIZE(56, 88), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f00000a, &upb_pss_1bt}, - {0x002000003f000012, &upb_pss_1bt}, - {0x003000003f00001a, &upb_pss_1bt}, - {0x0040000001000022, &upb_psm_1bt_maxmaxb}, - {0x004800000201002a, &upb_psm_1bt_maxmaxb}, - {0x000400003f000030, &upb_psv4_1bt}, - {0x000800003f000038, &upb_psv4_1bt}, - {0x0050000003020042, &upb_psm_1bt_maxmaxb}, - {0x000c00003f000048, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_service_status_v3_ClientStatusResponse_submsgs[1] = { - {.submsg = &envoy_service_status_v3_ClientConfig_msg_init}, -}; - -static const upb_MiniTableField envoy_service_status_v3_ClientStatusResponse__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_service_status_v3_ClientStatusResponse_msg_init = { - &envoy_service_status_v3_ClientStatusResponse_submsgs[0], - &envoy_service_status_v3_ClientStatusResponse__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTable *messages_layout[5] = { - &envoy_service_status_v3_ClientStatusRequest_msg_init, - &envoy_service_status_v3_PerXdsConfig_msg_init, - &envoy_service_status_v3_ClientConfig_msg_init, - &envoy_service_status_v3_ClientConfig_GenericXdsConfig_msg_init, - &envoy_service_status_v3_ClientStatusResponse_msg_init, -}; - -const upb_MiniTableFile envoy_service_status_v3_csds_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 5, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c b/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c deleted file mode 100644 index 2e040803320..00000000000 --- a/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +++ /dev/null @@ -1,55 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/http/v3/cookie.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/http/v3/cookie.upb.h" -#include "google/protobuf/duration.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_http_v3_Cookie_submsgs[1] = { - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_type_http_v3_Cookie__fields[3] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_http_v3_Cookie_msg_init = { - &envoy_type_http_v3_Cookie_submsgs[0], - &envoy_type_http_v3_Cookie__fields[0], - UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x002000003f00001a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_type_http_v3_Cookie_msg_init, -}; - -const upb_MiniTableFile envoy_type_http_v3_cookie_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h b/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h deleted file mode 100644 index b17f9d20a8b..00000000000 --- a/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +++ /dev/null @@ -1,129 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/http/v3/cookie.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPB_H_ -#define ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_type_http_v3_Cookie envoy_type_http_v3_Cookie; -extern const upb_MiniTable envoy_type_http_v3_Cookie_msg_init; -struct google_protobuf_Duration; -extern const upb_MiniTable google_protobuf_Duration_msg_init; - - - -/* envoy.type.http.v3.Cookie */ - -UPB_INLINE envoy_type_http_v3_Cookie* envoy_type_http_v3_Cookie_new(upb_Arena* arena) { - return (envoy_type_http_v3_Cookie*)_upb_Message_New(&envoy_type_http_v3_Cookie_msg_init, arena); -} -UPB_INLINE envoy_type_http_v3_Cookie* envoy_type_http_v3_Cookie_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_http_v3_Cookie* ret = envoy_type_http_v3_Cookie_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_http_v3_Cookie_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_http_v3_Cookie* envoy_type_http_v3_Cookie_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_http_v3_Cookie* ret = envoy_type_http_v3_Cookie_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_http_v3_Cookie_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_http_v3_Cookie_serialize(const envoy_type_http_v3_Cookie* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_http_v3_Cookie_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_http_v3_Cookie_serialize_ex(const envoy_type_http_v3_Cookie* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_http_v3_Cookie_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_http_v3_Cookie_clear_name(envoy_type_http_v3_Cookie* msg) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_http_v3_Cookie_name(const envoy_type_http_v3_Cookie* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_type_http_v3_Cookie_clear_ttl(envoy_type_http_v3_Cookie* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Duration* envoy_type_http_v3_Cookie_ttl(const envoy_type_http_v3_Cookie* msg) { - const struct google_protobuf_Duration* default_val = NULL; - const struct google_protobuf_Duration* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_http_v3_Cookie_has_ttl(const envoy_type_http_v3_Cookie* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_http_v3_Cookie_clear_path(envoy_type_http_v3_Cookie* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_http_v3_Cookie_path(const envoy_type_http_v3_Cookie* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_type_http_v3_Cookie_set_name(envoy_type_http_v3_Cookie *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_type_http_v3_Cookie_set_ttl(envoy_type_http_v3_Cookie *msg, struct google_protobuf_Duration* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Duration* envoy_type_http_v3_Cookie_mutable_ttl(envoy_type_http_v3_Cookie* msg, upb_Arena* arena) { - struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_type_http_v3_Cookie_ttl(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Duration*)_upb_Message_New(&google_protobuf_Duration_msg_init, arena); - if (sub) envoy_type_http_v3_Cookie_set_ttl(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_type_http_v3_Cookie_set_path(envoy_type_http_v3_Cookie *msg, upb_StringView value) { - const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -extern const upb_MiniTableFile envoy_type_http_v3_cookie_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c b/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c deleted file mode 100644 index 9119b12f8e2..00000000000 --- a/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +++ /dev/null @@ -1,87 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/http/v3/path_transformation.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/http/v3/path_transformation.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_http_v3_PathTransformation_submsgs[1] = { - {.submsg = &envoy_type_http_v3_PathTransformation_Operation_msg_init}, -}; - -static const upb_MiniTableField envoy_type_http_v3_PathTransformation__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_http_v3_PathTransformation_msg_init = { - &envoy_type_http_v3_PathTransformation_submsgs[0], - &envoy_type_http_v3_PathTransformation__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub envoy_type_http_v3_PathTransformation_Operation_submsgs[2] = { - {.submsg = &envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_msg_init}, - {.submsg = &envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_msg_init}, -}; - -static const upb_MiniTableField envoy_type_http_v3_PathTransformation_Operation__fields[2] = { - {2, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_http_v3_PathTransformation_Operation_msg_init = { - &envoy_type_http_v3_PathTransformation_Operation_submsgs[0], - &envoy_type_http_v3_PathTransformation_Operation__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000002000012, &upb_pom_1bt_max64b}, - {0x000800000301001a, &upb_pom_1bt_max64b}, - }) -}; - -const upb_MiniTable envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -const upb_MiniTable envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTable *messages_layout[4] = { - &envoy_type_http_v3_PathTransformation_msg_init, - &envoy_type_http_v3_PathTransformation_Operation_msg_init, - &envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_msg_init, - &envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_msg_init, -}; - -const upb_MiniTableFile envoy_type_http_v3_path_transformation_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 4, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c b/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c deleted file mode 100644 index 00859f2f1eb..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +++ /dev/null @@ -1,54 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/filter_state.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/matcher/v3/filter_state.upb.h" -#include "envoy/type/matcher/v3/string.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_matcher_v3_FilterStateMatcher_submsgs[1] = { - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_type_matcher_v3_FilterStateMatcher__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_FilterStateMatcher_msg_init = { - &envoy_type_matcher_v3_FilterStateMatcher_submsgs[0], - &envoy_type_matcher_v3_FilterStateMatcher__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000002000012, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_type_matcher_v3_FilterStateMatcher_msg_init, -}; - -const upb_MiniTableFile envoy_type_matcher_v3_filter_state_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c b/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c deleted file mode 100644 index b01deb7c184..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +++ /dev/null @@ -1,106 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/http_inputs.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/matcher/v3/http_inputs.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_type_matcher_v3_HttpRequestHeaderMatchInput__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_HttpRequestHeaderMatchInput_msg_init = { - NULL, - &envoy_type_matcher_v3_HttpRequestHeaderMatchInput__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField envoy_type_matcher_v3_HttpRequestTrailerMatchInput__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_HttpRequestTrailerMatchInput_msg_init = { - NULL, - &envoy_type_matcher_v3_HttpRequestTrailerMatchInput__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField envoy_type_matcher_v3_HttpResponseHeaderMatchInput__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_HttpResponseHeaderMatchInput_msg_init = { - NULL, - &envoy_type_matcher_v3_HttpResponseHeaderMatchInput__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField envoy_type_matcher_v3_HttpResponseTrailerMatchInput__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_HttpResponseTrailerMatchInput_msg_init = { - NULL, - &envoy_type_matcher_v3_HttpResponseTrailerMatchInput__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField envoy_type_matcher_v3_HttpRequestQueryParamMatchInput__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_msg_init = { - NULL, - &envoy_type_matcher_v3_HttpRequestQueryParamMatchInput__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[5] = { - &envoy_type_matcher_v3_HttpRequestHeaderMatchInput_msg_init, - &envoy_type_matcher_v3_HttpRequestTrailerMatchInput_msg_init, - &envoy_type_matcher_v3_HttpResponseHeaderMatchInput_msg_init, - &envoy_type_matcher_v3_HttpResponseTrailerMatchInput_msg_init, - &envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_msg_init, -}; - -const upb_MiniTableFile envoy_type_matcher_v3_http_inputs_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 5, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h b/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h deleted file mode 100644 index ed7f7517fed..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +++ /dev/null @@ -1,301 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/http_inputs.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_H_ -#define ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_type_matcher_v3_HttpRequestHeaderMatchInput envoy_type_matcher_v3_HttpRequestHeaderMatchInput; -typedef struct envoy_type_matcher_v3_HttpRequestTrailerMatchInput envoy_type_matcher_v3_HttpRequestTrailerMatchInput; -typedef struct envoy_type_matcher_v3_HttpResponseHeaderMatchInput envoy_type_matcher_v3_HttpResponseHeaderMatchInput; -typedef struct envoy_type_matcher_v3_HttpResponseTrailerMatchInput envoy_type_matcher_v3_HttpResponseTrailerMatchInput; -typedef struct envoy_type_matcher_v3_HttpRequestQueryParamMatchInput envoy_type_matcher_v3_HttpRequestQueryParamMatchInput; -extern const upb_MiniTable envoy_type_matcher_v3_HttpRequestHeaderMatchInput_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_HttpRequestTrailerMatchInput_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_HttpResponseHeaderMatchInput_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_HttpResponseTrailerMatchInput_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_msg_init; - - - -/* envoy.type.matcher.v3.HttpRequestHeaderMatchInput */ - -UPB_INLINE envoy_type_matcher_v3_HttpRequestHeaderMatchInput* envoy_type_matcher_v3_HttpRequestHeaderMatchInput_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_HttpRequestHeaderMatchInput*)_upb_Message_New(&envoy_type_matcher_v3_HttpRequestHeaderMatchInput_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_HttpRequestHeaderMatchInput* envoy_type_matcher_v3_HttpRequestHeaderMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_HttpRequestHeaderMatchInput* ret = envoy_type_matcher_v3_HttpRequestHeaderMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpRequestHeaderMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_HttpRequestHeaderMatchInput* envoy_type_matcher_v3_HttpRequestHeaderMatchInput_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_HttpRequestHeaderMatchInput* ret = envoy_type_matcher_v3_HttpRequestHeaderMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpRequestHeaderMatchInput_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpRequestHeaderMatchInput_serialize(const envoy_type_matcher_v3_HttpRequestHeaderMatchInput* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpRequestHeaderMatchInput_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpRequestHeaderMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpRequestHeaderMatchInput* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpRequestHeaderMatchInput_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_matcher_v3_HttpRequestHeaderMatchInput_clear_header_name(envoy_type_matcher_v3_HttpRequestHeaderMatchInput* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_HttpRequestHeaderMatchInput_header_name(const envoy_type_matcher_v3_HttpRequestHeaderMatchInput* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_type_matcher_v3_HttpRequestHeaderMatchInput_set_header_name(envoy_type_matcher_v3_HttpRequestHeaderMatchInput *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.type.matcher.v3.HttpRequestTrailerMatchInput */ - -UPB_INLINE envoy_type_matcher_v3_HttpRequestTrailerMatchInput* envoy_type_matcher_v3_HttpRequestTrailerMatchInput_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_HttpRequestTrailerMatchInput*)_upb_Message_New(&envoy_type_matcher_v3_HttpRequestTrailerMatchInput_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_HttpRequestTrailerMatchInput* envoy_type_matcher_v3_HttpRequestTrailerMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_HttpRequestTrailerMatchInput* ret = envoy_type_matcher_v3_HttpRequestTrailerMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpRequestTrailerMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_HttpRequestTrailerMatchInput* envoy_type_matcher_v3_HttpRequestTrailerMatchInput_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_HttpRequestTrailerMatchInput* ret = envoy_type_matcher_v3_HttpRequestTrailerMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpRequestTrailerMatchInput_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpRequestTrailerMatchInput_serialize(const envoy_type_matcher_v3_HttpRequestTrailerMatchInput* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpRequestTrailerMatchInput_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpRequestTrailerMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpRequestTrailerMatchInput* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpRequestTrailerMatchInput_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_matcher_v3_HttpRequestTrailerMatchInput_clear_header_name(envoy_type_matcher_v3_HttpRequestTrailerMatchInput* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_HttpRequestTrailerMatchInput_header_name(const envoy_type_matcher_v3_HttpRequestTrailerMatchInput* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_type_matcher_v3_HttpRequestTrailerMatchInput_set_header_name(envoy_type_matcher_v3_HttpRequestTrailerMatchInput *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.type.matcher.v3.HttpResponseHeaderMatchInput */ - -UPB_INLINE envoy_type_matcher_v3_HttpResponseHeaderMatchInput* envoy_type_matcher_v3_HttpResponseHeaderMatchInput_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_HttpResponseHeaderMatchInput*)_upb_Message_New(&envoy_type_matcher_v3_HttpResponseHeaderMatchInput_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_HttpResponseHeaderMatchInput* envoy_type_matcher_v3_HttpResponseHeaderMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_HttpResponseHeaderMatchInput* ret = envoy_type_matcher_v3_HttpResponseHeaderMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpResponseHeaderMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_HttpResponseHeaderMatchInput* envoy_type_matcher_v3_HttpResponseHeaderMatchInput_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_HttpResponseHeaderMatchInput* ret = envoy_type_matcher_v3_HttpResponseHeaderMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpResponseHeaderMatchInput_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpResponseHeaderMatchInput_serialize(const envoy_type_matcher_v3_HttpResponseHeaderMatchInput* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpResponseHeaderMatchInput_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpResponseHeaderMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpResponseHeaderMatchInput* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpResponseHeaderMatchInput_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_matcher_v3_HttpResponseHeaderMatchInput_clear_header_name(envoy_type_matcher_v3_HttpResponseHeaderMatchInput* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_HttpResponseHeaderMatchInput_header_name(const envoy_type_matcher_v3_HttpResponseHeaderMatchInput* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_type_matcher_v3_HttpResponseHeaderMatchInput_set_header_name(envoy_type_matcher_v3_HttpResponseHeaderMatchInput *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.type.matcher.v3.HttpResponseTrailerMatchInput */ - -UPB_INLINE envoy_type_matcher_v3_HttpResponseTrailerMatchInput* envoy_type_matcher_v3_HttpResponseTrailerMatchInput_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_HttpResponseTrailerMatchInput*)_upb_Message_New(&envoy_type_matcher_v3_HttpResponseTrailerMatchInput_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_HttpResponseTrailerMatchInput* envoy_type_matcher_v3_HttpResponseTrailerMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_HttpResponseTrailerMatchInput* ret = envoy_type_matcher_v3_HttpResponseTrailerMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpResponseTrailerMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_HttpResponseTrailerMatchInput* envoy_type_matcher_v3_HttpResponseTrailerMatchInput_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_HttpResponseTrailerMatchInput* ret = envoy_type_matcher_v3_HttpResponseTrailerMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpResponseTrailerMatchInput_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpResponseTrailerMatchInput_serialize(const envoy_type_matcher_v3_HttpResponseTrailerMatchInput* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpResponseTrailerMatchInput_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpResponseTrailerMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpResponseTrailerMatchInput* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpResponseTrailerMatchInput_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_matcher_v3_HttpResponseTrailerMatchInput_clear_header_name(envoy_type_matcher_v3_HttpResponseTrailerMatchInput* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_HttpResponseTrailerMatchInput_header_name(const envoy_type_matcher_v3_HttpResponseTrailerMatchInput* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_type_matcher_v3_HttpResponseTrailerMatchInput_set_header_name(envoy_type_matcher_v3_HttpResponseTrailerMatchInput *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.type.matcher.v3.HttpRequestQueryParamMatchInput */ - -UPB_INLINE envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_HttpRequestQueryParamMatchInput*)_upb_Message_New(&envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* ret = envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* ret = envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_serialize(const envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_clear_query_param(envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_query_param(const envoy_type_matcher_v3_HttpRequestQueryParamMatchInput* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_set_query_param(envoy_type_matcher_v3_HttpRequestQueryParamMatchInput *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -extern const upb_MiniTableFile envoy_type_matcher_v3_http_inputs_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c b/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c deleted file mode 100644 index ce003207c64..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +++ /dev/null @@ -1,77 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/metadata.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/matcher/v3/metadata.upb.h" -#include "envoy/type/matcher/v3/value.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_matcher_v3_MetadataMatcher_submsgs[2] = { - {.submsg = &envoy_type_matcher_v3_MetadataMatcher_PathSegment_msg_init}, - {.submsg = &envoy_type_matcher_v3_ValueMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_type_matcher_v3_MetadataMatcher__fields[4] = { - {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_MetadataMatcher_msg_init = { - &envoy_type_matcher_v3_MetadataMatcher_submsgs[0], - &envoy_type_matcher_v3_MetadataMatcher__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prm_1bt_max64b}, - {0x002000000101001a, &upb_psm_1bt_maxmaxb}, - {0x000100003f000020, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_type_matcher_v3_MetadataMatcher_PathSegment__fields[1] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_MetadataMatcher_PathSegment_msg_init = { - NULL, - &envoy_type_matcher_v3_MetadataMatcher_PathSegment__fields[0], - UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_type_matcher_v3_MetadataMatcher_msg_init, - &envoy_type_matcher_v3_MetadataMatcher_PathSegment_msg_init, -}; - -const upb_MiniTableFile envoy_type_matcher_v3_metadata_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h b/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h deleted file mode 100644 index 2792f3e57d0..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +++ /dev/null @@ -1,258 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/metadata.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPB_H_ -#define ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_type_matcher_v3_MetadataMatcher envoy_type_matcher_v3_MetadataMatcher; -typedef struct envoy_type_matcher_v3_MetadataMatcher_PathSegment envoy_type_matcher_v3_MetadataMatcher_PathSegment; -extern const upb_MiniTable envoy_type_matcher_v3_MetadataMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_MetadataMatcher_PathSegment_msg_init; -struct envoy_type_matcher_v3_ValueMatcher; -extern const upb_MiniTable envoy_type_matcher_v3_ValueMatcher_msg_init; - - - -/* envoy.type.matcher.v3.MetadataMatcher */ - -UPB_INLINE envoy_type_matcher_v3_MetadataMatcher* envoy_type_matcher_v3_MetadataMatcher_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_MetadataMatcher*)_upb_Message_New(&envoy_type_matcher_v3_MetadataMatcher_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_MetadataMatcher* envoy_type_matcher_v3_MetadataMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_MetadataMatcher* ret = envoy_type_matcher_v3_MetadataMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_MetadataMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_MetadataMatcher* envoy_type_matcher_v3_MetadataMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_MetadataMatcher* ret = envoy_type_matcher_v3_MetadataMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_MetadataMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_MetadataMatcher_serialize(const envoy_type_matcher_v3_MetadataMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_MetadataMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_MetadataMatcher_serialize_ex(const envoy_type_matcher_v3_MetadataMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_MetadataMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_clear_filter(envoy_type_matcher_v3_MetadataMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_MetadataMatcher_filter(const envoy_type_matcher_v3_MetadataMatcher* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_clear_path(envoy_type_matcher_v3_MetadataMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_type_matcher_v3_MetadataMatcher_PathSegment* const* envoy_type_matcher_v3_MetadataMatcher_path(const envoy_type_matcher_v3_MetadataMatcher* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_type_matcher_v3_MetadataMatcher_PathSegment* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_type_matcher_v3_MetadataMatcher_path_upb_array(const envoy_type_matcher_v3_MetadataMatcher* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_type_matcher_v3_MetadataMatcher_path_mutable_upb_array(const envoy_type_matcher_v3_MetadataMatcher* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_type_matcher_v3_MetadataMatcher_has_path(const envoy_type_matcher_v3_MetadataMatcher* msg) { - size_t size; - envoy_type_matcher_v3_MetadataMatcher_path(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_clear_value(envoy_type_matcher_v3_MetadataMatcher* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_MetadataMatcher_value(const envoy_type_matcher_v3_MetadataMatcher* msg) { - const struct envoy_type_matcher_v3_ValueMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_ValueMatcher* ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_MetadataMatcher_has_value(const envoy_type_matcher_v3_MetadataMatcher* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_clear_invert(envoy_type_matcher_v3_MetadataMatcher* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_type_matcher_v3_MetadataMatcher_invert(const envoy_type_matcher_v3_MetadataMatcher* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {4, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_set_filter(envoy_type_matcher_v3_MetadataMatcher *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment** envoy_type_matcher_v3_MetadataMatcher_mutable_path(envoy_type_matcher_v3_MetadataMatcher* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_type_matcher_v3_MetadataMatcher_PathSegment**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment** envoy_type_matcher_v3_MetadataMatcher_resize_path(envoy_type_matcher_v3_MetadataMatcher* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_type_matcher_v3_MetadataMatcher_PathSegment**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher_PathSegment* envoy_type_matcher_v3_MetadataMatcher_add_path(envoy_type_matcher_v3_MetadataMatcher* msg, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_type_matcher_v3_MetadataMatcher_PathSegment* sub = (struct envoy_type_matcher_v3_MetadataMatcher_PathSegment*)_upb_Message_New(&envoy_type_matcher_v3_MetadataMatcher_PathSegment_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_set_value(envoy_type_matcher_v3_MetadataMatcher *msg, struct envoy_type_matcher_v3_ValueMatcher* value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_MetadataMatcher_mutable_value(envoy_type_matcher_v3_MetadataMatcher* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_ValueMatcher* sub = (struct envoy_type_matcher_v3_ValueMatcher*)envoy_type_matcher_v3_MetadataMatcher_value(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_ValueMatcher*)_upb_Message_New(&envoy_type_matcher_v3_ValueMatcher_msg_init, arena); - if (sub) envoy_type_matcher_v3_MetadataMatcher_set_value(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_set_invert(envoy_type_matcher_v3_MetadataMatcher *msg, bool value) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.type.matcher.v3.MetadataMatcher.PathSegment */ - -UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment* envoy_type_matcher_v3_MetadataMatcher_PathSegment_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_MetadataMatcher_PathSegment*)_upb_Message_New(&envoy_type_matcher_v3_MetadataMatcher_PathSegment_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment* envoy_type_matcher_v3_MetadataMatcher_PathSegment_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_MetadataMatcher_PathSegment* ret = envoy_type_matcher_v3_MetadataMatcher_PathSegment_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_MetadataMatcher_PathSegment_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment* envoy_type_matcher_v3_MetadataMatcher_PathSegment_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_MetadataMatcher_PathSegment* ret = envoy_type_matcher_v3_MetadataMatcher_PathSegment_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_MetadataMatcher_PathSegment_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_MetadataMatcher_PathSegment_serialize(const envoy_type_matcher_v3_MetadataMatcher_PathSegment* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_MetadataMatcher_PathSegment_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_MetadataMatcher_PathSegment_serialize_ex(const envoy_type_matcher_v3_MetadataMatcher_PathSegment* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_MetadataMatcher_PathSegment_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_key = 1, - envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_NOT_SET = 0 -} envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_oneofcases; -UPB_INLINE envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_oneofcases envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_case(const envoy_type_matcher_v3_MetadataMatcher_PathSegment* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return (envoy_type_matcher_v3_MetadataMatcher_PathSegment_segment_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_PathSegment_clear_key(envoy_type_matcher_v3_MetadataMatcher_PathSegment* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_MetadataMatcher_PathSegment_key(const envoy_type_matcher_v3_MetadataMatcher_PathSegment* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_MetadataMatcher_PathSegment_has_key(const envoy_type_matcher_v3_MetadataMatcher_PathSegment* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_type_matcher_v3_MetadataMatcher_PathSegment_set_key(envoy_type_matcher_v3_MetadataMatcher_PathSegment *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -extern const upb_MiniTableFile envoy_type_matcher_v3_metadata_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c b/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c deleted file mode 100644 index bf06f80b944..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +++ /dev/null @@ -1,56 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/node.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/matcher/v3/node.upb.h" -#include "envoy/type/matcher/v3/string.upb.h" -#include "envoy/type/matcher/v3/struct.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_matcher_v3_NodeMatcher_submsgs[2] = { - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, - {.submsg = &envoy_type_matcher_v3_StructMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_type_matcher_v3_NodeMatcher__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_NodeMatcher_msg_init = { - &envoy_type_matcher_v3_NodeMatcher_submsgs[0], - &envoy_type_matcher_v3_NodeMatcher__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f010012, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_type_matcher_v3_NodeMatcher_msg_init, -}; - -const upb_MiniTableFile envoy_type_matcher_v3_node_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c b/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c deleted file mode 100644 index fc0b51b521e..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +++ /dev/null @@ -1,55 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/number.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/matcher/v3/number.upb.h" -#include "envoy/type/v3/range.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_matcher_v3_DoubleMatcher_submsgs[1] = { - {.submsg = &envoy_type_v3_DoubleRange_msg_init}, -}; - -static const upb_MiniTableField envoy_type_matcher_v3_DoubleMatcher__fields[2] = { - {1, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_DoubleMatcher_msg_init = { - &envoy_type_matcher_v3_DoubleMatcher_submsgs[0], - &envoy_type_matcher_v3_DoubleMatcher__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_maxmaxb}, - {0x0008000002000011, &upb_pof8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_type_matcher_v3_DoubleMatcher_msg_init, -}; - -const upb_MiniTableFile envoy_type_matcher_v3_number_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c b/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c deleted file mode 100644 index b4837f5c208..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +++ /dev/null @@ -1,52 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/path.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/matcher/v3/path.upb.h" -#include "envoy/type/matcher/v3/string.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_matcher_v3_PathMatcher_submsgs[1] = { - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_type_matcher_v3_PathMatcher__fields[1] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_PathMatcher_msg_init = { - &envoy_type_matcher_v3_PathMatcher_submsgs[0], - &envoy_type_matcher_v3_PathMatcher__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_type_matcher_v3_PathMatcher_msg_init, -}; - -const upb_MiniTableFile envoy_type_matcher_v3_path_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c b/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c deleted file mode 100644 index 32d6b0075ef..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +++ /dev/null @@ -1,97 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/regex.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/matcher/v3/regex.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "envoy/annotations/deprecation.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_matcher_v3_RegexMatcher_submsgs[1] = { - {.submsg = &envoy_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init}, -}; - -static const upb_MiniTableField envoy_type_matcher_v3_RegexMatcher__fields[2] = { - {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_RegexMatcher_msg_init = { - &envoy_type_matcher_v3_RegexMatcher_submsgs[0], - &envoy_type_matcher_v3_RegexMatcher__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000100000a, &upb_pom_1bt_max64b}, - {0x000800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_type_matcher_v3_RegexMatcher_GoogleRE2_submsgs[1] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField envoy_type_matcher_v3_RegexMatcher_GoogleRE2__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init = { - &envoy_type_matcher_v3_RegexMatcher_GoogleRE2_submsgs[0], - &envoy_type_matcher_v3_RegexMatcher_GoogleRE2__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub envoy_type_matcher_v3_RegexMatchAndSubstitute_submsgs[1] = { - {.submsg = &envoy_type_matcher_v3_RegexMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_type_matcher_v3_RegexMatchAndSubstitute__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init = { - &envoy_type_matcher_v3_RegexMatchAndSubstitute_submsgs[0], - &envoy_type_matcher_v3_RegexMatchAndSubstitute__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &envoy_type_matcher_v3_RegexMatcher_msg_init, - &envoy_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, - &envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init, -}; - -const upb_MiniTableFile envoy_type_matcher_v3_regex_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 3, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h b/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h deleted file mode 100644 index 5b698208d47..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +++ /dev/null @@ -1,269 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/regex.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_ -#define ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_type_matcher_v3_RegexMatcher envoy_type_matcher_v3_RegexMatcher; -typedef struct envoy_type_matcher_v3_RegexMatcher_GoogleRE2 envoy_type_matcher_v3_RegexMatcher_GoogleRE2; -typedef struct envoy_type_matcher_v3_RegexMatchAndSubstitute envoy_type_matcher_v3_RegexMatchAndSubstitute; -extern const upb_MiniTable envoy_type_matcher_v3_RegexMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init; -struct google_protobuf_UInt32Value; -extern const upb_MiniTable google_protobuf_UInt32Value_msg_init; - - - -/* envoy.type.matcher.v3.RegexMatcher */ - -UPB_INLINE envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_RegexMatcher_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_RegexMatcher*)_upb_Message_New(&envoy_type_matcher_v3_RegexMatcher_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_RegexMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_RegexMatcher* ret = envoy_type_matcher_v3_RegexMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_RegexMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_RegexMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_RegexMatcher* ret = envoy_type_matcher_v3_RegexMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_RegexMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_RegexMatcher_serialize(const envoy_type_matcher_v3_RegexMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_RegexMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_RegexMatcher_serialize_ex(const envoy_type_matcher_v3_RegexMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_RegexMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_type_matcher_v3_RegexMatcher_engine_type_google_re2 = 1, - envoy_type_matcher_v3_RegexMatcher_engine_type_NOT_SET = 0 -} envoy_type_matcher_v3_RegexMatcher_engine_type_oneofcases; -UPB_INLINE envoy_type_matcher_v3_RegexMatcher_engine_type_oneofcases envoy_type_matcher_v3_RegexMatcher_engine_type_case(const envoy_type_matcher_v3_RegexMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_type_matcher_v3_RegexMatcher_engine_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_clear_google_re2(envoy_type_matcher_v3_RegexMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* envoy_type_matcher_v3_RegexMatcher_google_re2(const envoy_type_matcher_v3_RegexMatcher* msg) { - const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* default_val = NULL; - const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_RegexMatcher_has_google_re2(const envoy_type_matcher_v3_RegexMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_clear_regex(envoy_type_matcher_v3_RegexMatcher* msg) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_RegexMatcher_regex(const envoy_type_matcher_v3_RegexMatcher* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_set_google_re2(envoy_type_matcher_v3_RegexMatcher *msg, envoy_type_matcher_v3_RegexMatcher_GoogleRE2* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_RegexMatcher_GoogleRE2* envoy_type_matcher_v3_RegexMatcher_mutable_google_re2(envoy_type_matcher_v3_RegexMatcher* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_RegexMatcher_GoogleRE2* sub = (struct envoy_type_matcher_v3_RegexMatcher_GoogleRE2*)envoy_type_matcher_v3_RegexMatcher_google_re2(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_RegexMatcher_GoogleRE2*)_upb_Message_New(&envoy_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, arena); - if (sub) envoy_type_matcher_v3_RegexMatcher_set_google_re2(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_set_regex(envoy_type_matcher_v3_RegexMatcher *msg, upb_StringView value) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.type.matcher.v3.RegexMatcher.GoogleRE2 */ - -UPB_INLINE envoy_type_matcher_v3_RegexMatcher_GoogleRE2* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_RegexMatcher_GoogleRE2*)_upb_Message_New(&envoy_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_RegexMatcher_GoogleRE2* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_RegexMatcher_GoogleRE2* ret = envoy_type_matcher_v3_RegexMatcher_GoogleRE2_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_RegexMatcher_GoogleRE2* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_RegexMatcher_GoogleRE2* ret = envoy_type_matcher_v3_RegexMatcher_GoogleRE2_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_serialize(const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_serialize_ex(const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_GoogleRE2_clear_max_program_size(envoy_type_matcher_v3_RegexMatcher_GoogleRE2* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_UInt32Value* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_max_program_size(const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* msg) { - const struct google_protobuf_UInt32Value* default_val = NULL; - const struct google_protobuf_UInt32Value* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_RegexMatcher_GoogleRE2_has_max_program_size(const envoy_type_matcher_v3_RegexMatcher_GoogleRE2* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_type_matcher_v3_RegexMatcher_GoogleRE2_set_max_program_size(envoy_type_matcher_v3_RegexMatcher_GoogleRE2 *msg, struct google_protobuf_UInt32Value* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_UInt32Value* envoy_type_matcher_v3_RegexMatcher_GoogleRE2_mutable_max_program_size(envoy_type_matcher_v3_RegexMatcher_GoogleRE2* msg, upb_Arena* arena) { - struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_type_matcher_v3_RegexMatcher_GoogleRE2_max_program_size(msg); - if (sub == NULL) { - sub = (struct google_protobuf_UInt32Value*)_upb_Message_New(&google_protobuf_UInt32Value_msg_init, arena); - if (sub) envoy_type_matcher_v3_RegexMatcher_GoogleRE2_set_max_program_size(msg, sub); - } - return sub; -} - -/* envoy.type.matcher.v3.RegexMatchAndSubstitute */ - -UPB_INLINE envoy_type_matcher_v3_RegexMatchAndSubstitute* envoy_type_matcher_v3_RegexMatchAndSubstitute_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_RegexMatchAndSubstitute*)_upb_Message_New(&envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_RegexMatchAndSubstitute* envoy_type_matcher_v3_RegexMatchAndSubstitute_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_RegexMatchAndSubstitute* ret = envoy_type_matcher_v3_RegexMatchAndSubstitute_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_RegexMatchAndSubstitute* envoy_type_matcher_v3_RegexMatchAndSubstitute_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_RegexMatchAndSubstitute* ret = envoy_type_matcher_v3_RegexMatchAndSubstitute_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_RegexMatchAndSubstitute_serialize(const envoy_type_matcher_v3_RegexMatchAndSubstitute* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_RegexMatchAndSubstitute_serialize_ex(const envoy_type_matcher_v3_RegexMatchAndSubstitute* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_RegexMatchAndSubstitute_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_matcher_v3_RegexMatchAndSubstitute_clear_pattern(envoy_type_matcher_v3_RegexMatchAndSubstitute* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_RegexMatchAndSubstitute_pattern(const envoy_type_matcher_v3_RegexMatchAndSubstitute* msg) { - const envoy_type_matcher_v3_RegexMatcher* default_val = NULL; - const envoy_type_matcher_v3_RegexMatcher* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_RegexMatchAndSubstitute_has_pattern(const envoy_type_matcher_v3_RegexMatchAndSubstitute* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_RegexMatchAndSubstitute_clear_substitution(envoy_type_matcher_v3_RegexMatchAndSubstitute* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_RegexMatchAndSubstitute_substitution(const envoy_type_matcher_v3_RegexMatchAndSubstitute* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_type_matcher_v3_RegexMatchAndSubstitute_set_pattern(envoy_type_matcher_v3_RegexMatchAndSubstitute *msg, envoy_type_matcher_v3_RegexMatcher* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_RegexMatchAndSubstitute_mutable_pattern(envoy_type_matcher_v3_RegexMatchAndSubstitute* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_RegexMatcher* sub = (struct envoy_type_matcher_v3_RegexMatcher*)envoy_type_matcher_v3_RegexMatchAndSubstitute_pattern(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_RegexMatcher*)_upb_Message_New(&envoy_type_matcher_v3_RegexMatcher_msg_init, arena); - if (sub) envoy_type_matcher_v3_RegexMatchAndSubstitute_set_pattern(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_type_matcher_v3_RegexMatchAndSubstitute_set_substitution(envoy_type_matcher_v3_RegexMatchAndSubstitute *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -extern const upb_MiniTableFile envoy_type_matcher_v3_regex_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c b/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c deleted file mode 100644 index 3fe5718cb4a..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +++ /dev/null @@ -1,44 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/status_code_input.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/matcher/v3/status_code_input.upb.h" -#include "udpa/annotations/status.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -const upb_MiniTable envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -const upb_MiniTable envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_msg_init, - &envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_msg_init, -}; - -const upb_MiniTableFile envoy_type_matcher_v3_status_code_input_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h b/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h deleted file mode 100644 index 5d50a154094..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +++ /dev/null @@ -1,109 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/status_code_input.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_MATCHER_V3_STATUS_CODE_INPUT_PROTO_UPB_H_ -#define ENVOY_TYPE_MATCHER_V3_STATUS_CODE_INPUT_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput; -typedef struct envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput; -extern const upb_MiniTable envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_msg_init; - - - -/* envoy.type.matcher.v3.HttpResponseStatusCodeMatchInput */ - -UPB_INLINE envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput*)_upb_Message_New(&envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* ret = envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* ret = envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_serialize(const envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpResponseStatusCodeMatchInput_msg_init, options, arena, &ptr, len); - return ptr; -} - - -/* envoy.type.matcher.v3.HttpResponseStatusCodeClassMatchInput */ - -UPB_INLINE envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput*)_upb_Message_New(&envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* ret = envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* ret = envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_serialize(const envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_serialize_ex(const envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_HttpResponseStatusCodeClassMatchInput_msg_init, options, arena, &ptr, len); - return ptr; -} - - -extern const upb_MiniTableFile envoy_type_matcher_v3_status_code_input_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_MATCHER_V3_STATUS_CODE_INPUT_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c b/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c deleted file mode 100644 index c45ff0f4475..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +++ /dev/null @@ -1,82 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/string.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/matcher/v3/string.upb.h" -#include "envoy/type/matcher/v3/regex.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_matcher_v3_StringMatcher_submsgs[1] = { - {.submsg = &envoy_type_matcher_v3_RegexMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_type_matcher_v3_StringMatcher__fields[6] = { - {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msg_init = { - &envoy_type_matcher_v3_StringMatcher_submsgs[0], - &envoy_type_matcher_v3_StringMatcher__fields[0], - UPB_SIZE(16, 24), 6, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800040100000a, &upb_pos_1bt}, - {0x0008000402000012, &upb_pos_1bt}, - {0x000800040300001a, &upb_pos_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800040500002a, &upb_pom_1bt_maxmaxb}, - {0x000000003f000030, &upb_psb1_1bt}, - {0x000800040700003a, &upb_pos_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_type_matcher_v3_ListStringMatcher_submsgs[1] = { - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_type_matcher_v3_ListStringMatcher__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_ListStringMatcher_msg_init = { - &envoy_type_matcher_v3_ListStringMatcher_submsgs[0], - &envoy_type_matcher_v3_ListStringMatcher__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_type_matcher_v3_StringMatcher_msg_init, - &envoy_type_matcher_v3_ListStringMatcher_msg_init, -}; - -const upb_MiniTableFile envoy_type_matcher_v3_string_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h b/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h deleted file mode 100644 index d42daf67f49..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +++ /dev/null @@ -1,304 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/string.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPB_H_ -#define ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_type_matcher_v3_StringMatcher envoy_type_matcher_v3_StringMatcher; -typedef struct envoy_type_matcher_v3_ListStringMatcher envoy_type_matcher_v3_ListStringMatcher; -extern const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_ListStringMatcher_msg_init; -struct envoy_type_matcher_v3_RegexMatcher; -extern const upb_MiniTable envoy_type_matcher_v3_RegexMatcher_msg_init; - - - -/* envoy.type.matcher.v3.StringMatcher */ - -UPB_INLINE envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_StringMatcher_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_StringMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_StringMatcher* ret = envoy_type_matcher_v3_StringMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_StringMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_StringMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_StringMatcher* ret = envoy_type_matcher_v3_StringMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_StringMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_StringMatcher_serialize(const envoy_type_matcher_v3_StringMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_StringMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_StringMatcher_serialize_ex(const envoy_type_matcher_v3_StringMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_StringMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_type_matcher_v3_StringMatcher_match_pattern_exact = 1, - envoy_type_matcher_v3_StringMatcher_match_pattern_prefix = 2, - envoy_type_matcher_v3_StringMatcher_match_pattern_suffix = 3, - envoy_type_matcher_v3_StringMatcher_match_pattern_safe_regex = 5, - envoy_type_matcher_v3_StringMatcher_match_pattern_contains = 7, - envoy_type_matcher_v3_StringMatcher_match_pattern_NOT_SET = 0 -} envoy_type_matcher_v3_StringMatcher_match_pattern_oneofcases; -UPB_INLINE envoy_type_matcher_v3_StringMatcher_match_pattern_oneofcases envoy_type_matcher_v3_StringMatcher_match_pattern_case(const envoy_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return (envoy_type_matcher_v3_StringMatcher_match_pattern_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_StringMatcher_clear_exact(envoy_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_StringMatcher_exact(const envoy_type_matcher_v3_StringMatcher* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_has_exact(const envoy_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_StringMatcher_clear_prefix(envoy_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_StringMatcher_prefix(const envoy_type_matcher_v3_StringMatcher* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_has_prefix(const envoy_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_StringMatcher_clear_suffix(envoy_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_StringMatcher_suffix(const envoy_type_matcher_v3_StringMatcher* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_has_suffix(const envoy_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_StringMatcher_clear_safe_regex(envoy_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_StringMatcher_safe_regex(const envoy_type_matcher_v3_StringMatcher* msg) { - const struct envoy_type_matcher_v3_RegexMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_RegexMatcher* ret; - const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_has_safe_regex(const envoy_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_StringMatcher_clear_ignore_case(envoy_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_ignore_case(const envoy_type_matcher_v3_StringMatcher* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_type_matcher_v3_StringMatcher_clear_contains(envoy_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_StringMatcher_contains(const envoy_type_matcher_v3_StringMatcher* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_StringMatcher_has_contains(const envoy_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_exact(envoy_type_matcher_v3_StringMatcher *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_prefix(envoy_type_matcher_v3_StringMatcher *msg, upb_StringView value) { - const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_suffix(envoy_type_matcher_v3_StringMatcher *msg, upb_StringView value) { - const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_safe_regex(envoy_type_matcher_v3_StringMatcher *msg, struct envoy_type_matcher_v3_RegexMatcher* value) { - const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_RegexMatcher* envoy_type_matcher_v3_StringMatcher_mutable_safe_regex(envoy_type_matcher_v3_StringMatcher* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_RegexMatcher* sub = (struct envoy_type_matcher_v3_RegexMatcher*)envoy_type_matcher_v3_StringMatcher_safe_regex(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_RegexMatcher*)_upb_Message_New(&envoy_type_matcher_v3_RegexMatcher_msg_init, arena); - if (sub) envoy_type_matcher_v3_StringMatcher_set_safe_regex(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_ignore_case(envoy_type_matcher_v3_StringMatcher *msg, bool value) { - const upb_MiniTableField field = {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_type_matcher_v3_StringMatcher_set_contains(envoy_type_matcher_v3_StringMatcher *msg, upb_StringView value) { - const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.type.matcher.v3.ListStringMatcher */ - -UPB_INLINE envoy_type_matcher_v3_ListStringMatcher* envoy_type_matcher_v3_ListStringMatcher_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_ListStringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_ListStringMatcher_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_ListStringMatcher* envoy_type_matcher_v3_ListStringMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_ListStringMatcher* ret = envoy_type_matcher_v3_ListStringMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_ListStringMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_ListStringMatcher* envoy_type_matcher_v3_ListStringMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_ListStringMatcher* ret = envoy_type_matcher_v3_ListStringMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_ListStringMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_ListStringMatcher_serialize(const envoy_type_matcher_v3_ListStringMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_ListStringMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_ListStringMatcher_serialize_ex(const envoy_type_matcher_v3_ListStringMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_ListStringMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_matcher_v3_ListStringMatcher_clear_patterns(envoy_type_matcher_v3_ListStringMatcher* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_type_matcher_v3_StringMatcher* const* envoy_type_matcher_v3_ListStringMatcher_patterns(const envoy_type_matcher_v3_ListStringMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_type_matcher_v3_StringMatcher* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_type_matcher_v3_ListStringMatcher_patterns_upb_array(const envoy_type_matcher_v3_ListStringMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_type_matcher_v3_ListStringMatcher_patterns_mutable_upb_array(const envoy_type_matcher_v3_ListStringMatcher* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_type_matcher_v3_ListStringMatcher_has_patterns(const envoy_type_matcher_v3_ListStringMatcher* msg) { - size_t size; - envoy_type_matcher_v3_ListStringMatcher_patterns(msg, &size); - return size != 0; -} - -UPB_INLINE envoy_type_matcher_v3_StringMatcher** envoy_type_matcher_v3_ListStringMatcher_mutable_patterns(envoy_type_matcher_v3_ListStringMatcher* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_type_matcher_v3_StringMatcher**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_type_matcher_v3_StringMatcher** envoy_type_matcher_v3_ListStringMatcher_resize_patterns(envoy_type_matcher_v3_ListStringMatcher* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_type_matcher_v3_StringMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_ListStringMatcher_add_patterns(envoy_type_matcher_v3_ListStringMatcher* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -extern const upb_MiniTableFile envoy_type_matcher_v3_string_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c b/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c deleted file mode 100644 index b76a31ada08..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +++ /dev/null @@ -1,71 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/struct.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/matcher/v3/struct.upb.h" -#include "envoy/type/matcher/v3/value.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_matcher_v3_StructMatcher_submsgs[2] = { - {.submsg = &envoy_type_matcher_v3_StructMatcher_PathSegment_msg_init}, - {.submsg = &envoy_type_matcher_v3_ValueMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_type_matcher_v3_StructMatcher__fields[2] = { - {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_StructMatcher_msg_init = { - &envoy_type_matcher_v3_StructMatcher_submsgs[0], - &envoy_type_matcher_v3_StructMatcher__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000012, &upb_prm_1bt_max64b}, - {0x001000000101001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableField envoy_type_matcher_v3_StructMatcher_PathSegment__fields[1] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_StructMatcher_PathSegment_msg_init = { - NULL, - &envoy_type_matcher_v3_StructMatcher_PathSegment__fields[0], - UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_type_matcher_v3_StructMatcher_msg_init, - &envoy_type_matcher_v3_StructMatcher_PathSegment_msg_init, -}; - -const upb_MiniTableFile envoy_type_matcher_v3_struct_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h b/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h deleted file mode 100644 index 649ea963938..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +++ /dev/null @@ -1,228 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/struct.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPB_H_ -#define ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_type_matcher_v3_StructMatcher envoy_type_matcher_v3_StructMatcher; -typedef struct envoy_type_matcher_v3_StructMatcher_PathSegment envoy_type_matcher_v3_StructMatcher_PathSegment; -extern const upb_MiniTable envoy_type_matcher_v3_StructMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_StructMatcher_PathSegment_msg_init; -struct envoy_type_matcher_v3_ValueMatcher; -extern const upb_MiniTable envoy_type_matcher_v3_ValueMatcher_msg_init; - - - -/* envoy.type.matcher.v3.StructMatcher */ - -UPB_INLINE envoy_type_matcher_v3_StructMatcher* envoy_type_matcher_v3_StructMatcher_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_StructMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StructMatcher_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_StructMatcher* envoy_type_matcher_v3_StructMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_StructMatcher* ret = envoy_type_matcher_v3_StructMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_StructMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_StructMatcher* envoy_type_matcher_v3_StructMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_StructMatcher* ret = envoy_type_matcher_v3_StructMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_StructMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_StructMatcher_serialize(const envoy_type_matcher_v3_StructMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_StructMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_StructMatcher_serialize_ex(const envoy_type_matcher_v3_StructMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_StructMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_matcher_v3_StructMatcher_clear_path(envoy_type_matcher_v3_StructMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_type_matcher_v3_StructMatcher_PathSegment* const* envoy_type_matcher_v3_StructMatcher_path(const envoy_type_matcher_v3_StructMatcher* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_type_matcher_v3_StructMatcher_PathSegment* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_type_matcher_v3_StructMatcher_path_upb_array(const envoy_type_matcher_v3_StructMatcher* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_type_matcher_v3_StructMatcher_path_mutable_upb_array(const envoy_type_matcher_v3_StructMatcher* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_type_matcher_v3_StructMatcher_has_path(const envoy_type_matcher_v3_StructMatcher* msg) { - size_t size; - envoy_type_matcher_v3_StructMatcher_path(msg, &size); - return size != 0; -} -UPB_INLINE void envoy_type_matcher_v3_StructMatcher_clear_value(envoy_type_matcher_v3_StructMatcher* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_StructMatcher_value(const envoy_type_matcher_v3_StructMatcher* msg) { - const struct envoy_type_matcher_v3_ValueMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_ValueMatcher* ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_StructMatcher_has_value(const envoy_type_matcher_v3_StructMatcher* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE envoy_type_matcher_v3_StructMatcher_PathSegment** envoy_type_matcher_v3_StructMatcher_mutable_path(envoy_type_matcher_v3_StructMatcher* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_type_matcher_v3_StructMatcher_PathSegment**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_type_matcher_v3_StructMatcher_PathSegment** envoy_type_matcher_v3_StructMatcher_resize_path(envoy_type_matcher_v3_StructMatcher* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_type_matcher_v3_StructMatcher_PathSegment**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_type_matcher_v3_StructMatcher_PathSegment* envoy_type_matcher_v3_StructMatcher_add_path(envoy_type_matcher_v3_StructMatcher* msg, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_type_matcher_v3_StructMatcher_PathSegment* sub = (struct envoy_type_matcher_v3_StructMatcher_PathSegment*)_upb_Message_New(&envoy_type_matcher_v3_StructMatcher_PathSegment_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void envoy_type_matcher_v3_StructMatcher_set_value(envoy_type_matcher_v3_StructMatcher *msg, struct envoy_type_matcher_v3_ValueMatcher* value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_StructMatcher_mutable_value(envoy_type_matcher_v3_StructMatcher* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_ValueMatcher* sub = (struct envoy_type_matcher_v3_ValueMatcher*)envoy_type_matcher_v3_StructMatcher_value(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_ValueMatcher*)_upb_Message_New(&envoy_type_matcher_v3_ValueMatcher_msg_init, arena); - if (sub) envoy_type_matcher_v3_StructMatcher_set_value(msg, sub); - } - return sub; -} - -/* envoy.type.matcher.v3.StructMatcher.PathSegment */ - -UPB_INLINE envoy_type_matcher_v3_StructMatcher_PathSegment* envoy_type_matcher_v3_StructMatcher_PathSegment_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_StructMatcher_PathSegment*)_upb_Message_New(&envoy_type_matcher_v3_StructMatcher_PathSegment_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_StructMatcher_PathSegment* envoy_type_matcher_v3_StructMatcher_PathSegment_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_StructMatcher_PathSegment* ret = envoy_type_matcher_v3_StructMatcher_PathSegment_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_StructMatcher_PathSegment_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_StructMatcher_PathSegment* envoy_type_matcher_v3_StructMatcher_PathSegment_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_StructMatcher_PathSegment* ret = envoy_type_matcher_v3_StructMatcher_PathSegment_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_StructMatcher_PathSegment_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_StructMatcher_PathSegment_serialize(const envoy_type_matcher_v3_StructMatcher_PathSegment* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_StructMatcher_PathSegment_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_StructMatcher_PathSegment_serialize_ex(const envoy_type_matcher_v3_StructMatcher_PathSegment* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_StructMatcher_PathSegment_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_type_matcher_v3_StructMatcher_PathSegment_segment_key = 1, - envoy_type_matcher_v3_StructMatcher_PathSegment_segment_NOT_SET = 0 -} envoy_type_matcher_v3_StructMatcher_PathSegment_segment_oneofcases; -UPB_INLINE envoy_type_matcher_v3_StructMatcher_PathSegment_segment_oneofcases envoy_type_matcher_v3_StructMatcher_PathSegment_segment_case(const envoy_type_matcher_v3_StructMatcher_PathSegment* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return (envoy_type_matcher_v3_StructMatcher_PathSegment_segment_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_StructMatcher_PathSegment_clear_key(envoy_type_matcher_v3_StructMatcher_PathSegment* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_matcher_v3_StructMatcher_PathSegment_key(const envoy_type_matcher_v3_StructMatcher_PathSegment* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_StructMatcher_PathSegment_has_key(const envoy_type_matcher_v3_StructMatcher_PathSegment* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_type_matcher_v3_StructMatcher_PathSegment_set_key(envoy_type_matcher_v3_StructMatcher_PathSegment *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -extern const upb_MiniTableFile envoy_type_matcher_v3_struct_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c b/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c deleted file mode 100644 index 476f721e447..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +++ /dev/null @@ -1,93 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/value.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/matcher/v3/value.upb.h" -#include "envoy/type/matcher/v3/number.upb.h" -#include "envoy/type/matcher/v3/string.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_matcher_v3_ValueMatcher_submsgs[4] = { - {.submsg = &envoy_type_matcher_v3_ValueMatcher_NullMatch_msg_init}, - {.submsg = &envoy_type_matcher_v3_DoubleMatcher_msg_init}, - {.submsg = &envoy_type_matcher_v3_StringMatcher_msg_init}, - {.submsg = &envoy_type_matcher_v3_ListMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_type_matcher_v3_ValueMatcher__fields[6] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_ValueMatcher_msg_init = { - &envoy_type_matcher_v3_ValueMatcher_submsgs[0], - &envoy_type_matcher_v3_ValueMatcher__fields[0], - UPB_SIZE(8, 16), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_maxmaxb}, - {0x000800000302001a, &upb_pom_1bt_maxmaxb}, - {0x0008000004000020, &upb_pob1_1bt}, - {0x0008000005000028, &upb_pob1_1bt}, - {0x0008000006030032, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable envoy_type_matcher_v3_ValueMatcher_NullMatch_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub envoy_type_matcher_v3_ListMatcher_submsgs[1] = { - {.submsg = &envoy_type_matcher_v3_ValueMatcher_msg_init}, -}; - -static const upb_MiniTableField envoy_type_matcher_v3_ListMatcher__fields[1] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_matcher_v3_ListMatcher_msg_init = { - &envoy_type_matcher_v3_ListMatcher_submsgs[0], - &envoy_type_matcher_v3_ListMatcher__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &envoy_type_matcher_v3_ValueMatcher_msg_init, - &envoy_type_matcher_v3_ValueMatcher_NullMatch_msg_init, - &envoy_type_matcher_v3_ListMatcher_msg_init, -}; - -const upb_MiniTableFile envoy_type_matcher_v3_value_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 3, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h b/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h deleted file mode 100644 index 88564e9d559..00000000000 --- a/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +++ /dev/null @@ -1,346 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/value.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_MATCHER_V3_VALUE_PROTO_UPB_H_ -#define ENVOY_TYPE_MATCHER_V3_VALUE_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_type_matcher_v3_ValueMatcher envoy_type_matcher_v3_ValueMatcher; -typedef struct envoy_type_matcher_v3_ValueMatcher_NullMatch envoy_type_matcher_v3_ValueMatcher_NullMatch; -typedef struct envoy_type_matcher_v3_ListMatcher envoy_type_matcher_v3_ListMatcher; -extern const upb_MiniTable envoy_type_matcher_v3_ValueMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_ValueMatcher_NullMatch_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_ListMatcher_msg_init; -struct envoy_type_matcher_v3_DoubleMatcher; -struct envoy_type_matcher_v3_StringMatcher; -extern const upb_MiniTable envoy_type_matcher_v3_DoubleMatcher_msg_init; -extern const upb_MiniTable envoy_type_matcher_v3_StringMatcher_msg_init; - - - -/* envoy.type.matcher.v3.ValueMatcher */ - -UPB_INLINE envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_ValueMatcher_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_ValueMatcher*)_upb_Message_New(&envoy_type_matcher_v3_ValueMatcher_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_ValueMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_ValueMatcher* ret = envoy_type_matcher_v3_ValueMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_ValueMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_ValueMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_ValueMatcher* ret = envoy_type_matcher_v3_ValueMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_ValueMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_ValueMatcher_serialize(const envoy_type_matcher_v3_ValueMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_ValueMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_ValueMatcher_serialize_ex(const envoy_type_matcher_v3_ValueMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_ValueMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_type_matcher_v3_ValueMatcher_match_pattern_null_match = 1, - envoy_type_matcher_v3_ValueMatcher_match_pattern_double_match = 2, - envoy_type_matcher_v3_ValueMatcher_match_pattern_string_match = 3, - envoy_type_matcher_v3_ValueMatcher_match_pattern_bool_match = 4, - envoy_type_matcher_v3_ValueMatcher_match_pattern_present_match = 5, - envoy_type_matcher_v3_ValueMatcher_match_pattern_list_match = 6, - envoy_type_matcher_v3_ValueMatcher_match_pattern_NOT_SET = 0 -} envoy_type_matcher_v3_ValueMatcher_match_pattern_oneofcases; -UPB_INLINE envoy_type_matcher_v3_ValueMatcher_match_pattern_oneofcases envoy_type_matcher_v3_ValueMatcher_match_pattern_case(const envoy_type_matcher_v3_ValueMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_type_matcher_v3_ValueMatcher_match_pattern_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_clear_null_match(envoy_type_matcher_v3_ValueMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_type_matcher_v3_ValueMatcher_NullMatch* envoy_type_matcher_v3_ValueMatcher_null_match(const envoy_type_matcher_v3_ValueMatcher* msg) { - const envoy_type_matcher_v3_ValueMatcher_NullMatch* default_val = NULL; - const envoy_type_matcher_v3_ValueMatcher_NullMatch* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_has_null_match(const envoy_type_matcher_v3_ValueMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_clear_double_match(envoy_type_matcher_v3_ValueMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_DoubleMatcher* envoy_type_matcher_v3_ValueMatcher_double_match(const envoy_type_matcher_v3_ValueMatcher* msg) { - const struct envoy_type_matcher_v3_DoubleMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_DoubleMatcher* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_has_double_match(const envoy_type_matcher_v3_ValueMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_clear_string_match(envoy_type_matcher_v3_ValueMatcher* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_ValueMatcher_string_match(const envoy_type_matcher_v3_ValueMatcher* msg) { - const struct envoy_type_matcher_v3_StringMatcher* default_val = NULL; - const struct envoy_type_matcher_v3_StringMatcher* ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_has_string_match(const envoy_type_matcher_v3_ValueMatcher* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_clear_bool_match(envoy_type_matcher_v3_ValueMatcher* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_bool_match(const envoy_type_matcher_v3_ValueMatcher* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_has_bool_match(const envoy_type_matcher_v3_ValueMatcher* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_clear_present_match(envoy_type_matcher_v3_ValueMatcher* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_present_match(const envoy_type_matcher_v3_ValueMatcher* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_has_present_match(const envoy_type_matcher_v3_ValueMatcher* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_clear_list_match(envoy_type_matcher_v3_ValueMatcher* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_type_matcher_v3_ListMatcher* envoy_type_matcher_v3_ValueMatcher_list_match(const envoy_type_matcher_v3_ValueMatcher* msg) { - const envoy_type_matcher_v3_ListMatcher* default_val = NULL; - const envoy_type_matcher_v3_ListMatcher* ret; - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_ValueMatcher_has_list_match(const envoy_type_matcher_v3_ValueMatcher* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_set_null_match(envoy_type_matcher_v3_ValueMatcher *msg, envoy_type_matcher_v3_ValueMatcher_NullMatch* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_ValueMatcher_NullMatch* envoy_type_matcher_v3_ValueMatcher_mutable_null_match(envoy_type_matcher_v3_ValueMatcher* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_ValueMatcher_NullMatch* sub = (struct envoy_type_matcher_v3_ValueMatcher_NullMatch*)envoy_type_matcher_v3_ValueMatcher_null_match(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_ValueMatcher_NullMatch*)_upb_Message_New(&envoy_type_matcher_v3_ValueMatcher_NullMatch_msg_init, arena); - if (sub) envoy_type_matcher_v3_ValueMatcher_set_null_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_set_double_match(envoy_type_matcher_v3_ValueMatcher *msg, struct envoy_type_matcher_v3_DoubleMatcher* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_DoubleMatcher* envoy_type_matcher_v3_ValueMatcher_mutable_double_match(envoy_type_matcher_v3_ValueMatcher* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_DoubleMatcher* sub = (struct envoy_type_matcher_v3_DoubleMatcher*)envoy_type_matcher_v3_ValueMatcher_double_match(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_DoubleMatcher*)_upb_Message_New(&envoy_type_matcher_v3_DoubleMatcher_msg_init, arena); - if (sub) envoy_type_matcher_v3_ValueMatcher_set_double_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_set_string_match(envoy_type_matcher_v3_ValueMatcher *msg, struct envoy_type_matcher_v3_StringMatcher* value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_StringMatcher* envoy_type_matcher_v3_ValueMatcher_mutable_string_match(envoy_type_matcher_v3_ValueMatcher* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_StringMatcher* sub = (struct envoy_type_matcher_v3_StringMatcher*)envoy_type_matcher_v3_ValueMatcher_string_match(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_StringMatcher*)_upb_Message_New(&envoy_type_matcher_v3_StringMatcher_msg_init, arena); - if (sub) envoy_type_matcher_v3_ValueMatcher_set_string_match(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_set_bool_match(envoy_type_matcher_v3_ValueMatcher *msg, bool value) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_set_present_match(envoy_type_matcher_v3_ValueMatcher *msg, bool value) { - const upb_MiniTableField field = {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_type_matcher_v3_ValueMatcher_set_list_match(envoy_type_matcher_v3_ValueMatcher *msg, envoy_type_matcher_v3_ListMatcher* value) { - const upb_MiniTableField field = {6, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_ListMatcher* envoy_type_matcher_v3_ValueMatcher_mutable_list_match(envoy_type_matcher_v3_ValueMatcher* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_ListMatcher* sub = (struct envoy_type_matcher_v3_ListMatcher*)envoy_type_matcher_v3_ValueMatcher_list_match(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_ListMatcher*)_upb_Message_New(&envoy_type_matcher_v3_ListMatcher_msg_init, arena); - if (sub) envoy_type_matcher_v3_ValueMatcher_set_list_match(msg, sub); - } - return sub; -} - -/* envoy.type.matcher.v3.ValueMatcher.NullMatch */ - -UPB_INLINE envoy_type_matcher_v3_ValueMatcher_NullMatch* envoy_type_matcher_v3_ValueMatcher_NullMatch_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_ValueMatcher_NullMatch*)_upb_Message_New(&envoy_type_matcher_v3_ValueMatcher_NullMatch_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_ValueMatcher_NullMatch* envoy_type_matcher_v3_ValueMatcher_NullMatch_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_ValueMatcher_NullMatch* ret = envoy_type_matcher_v3_ValueMatcher_NullMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_ValueMatcher_NullMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_ValueMatcher_NullMatch* envoy_type_matcher_v3_ValueMatcher_NullMatch_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_ValueMatcher_NullMatch* ret = envoy_type_matcher_v3_ValueMatcher_NullMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_ValueMatcher_NullMatch_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_ValueMatcher_NullMatch_serialize(const envoy_type_matcher_v3_ValueMatcher_NullMatch* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_ValueMatcher_NullMatch_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_ValueMatcher_NullMatch_serialize_ex(const envoy_type_matcher_v3_ValueMatcher_NullMatch* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_ValueMatcher_NullMatch_msg_init, options, arena, &ptr, len); - return ptr; -} - - -/* envoy.type.matcher.v3.ListMatcher */ - -UPB_INLINE envoy_type_matcher_v3_ListMatcher* envoy_type_matcher_v3_ListMatcher_new(upb_Arena* arena) { - return (envoy_type_matcher_v3_ListMatcher*)_upb_Message_New(&envoy_type_matcher_v3_ListMatcher_msg_init, arena); -} -UPB_INLINE envoy_type_matcher_v3_ListMatcher* envoy_type_matcher_v3_ListMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_matcher_v3_ListMatcher* ret = envoy_type_matcher_v3_ListMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_ListMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_matcher_v3_ListMatcher* envoy_type_matcher_v3_ListMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_matcher_v3_ListMatcher* ret = envoy_type_matcher_v3_ListMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_matcher_v3_ListMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_matcher_v3_ListMatcher_serialize(const envoy_type_matcher_v3_ListMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_ListMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_matcher_v3_ListMatcher_serialize_ex(const envoy_type_matcher_v3_ListMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_matcher_v3_ListMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_type_matcher_v3_ListMatcher_match_pattern_one_of = 1, - envoy_type_matcher_v3_ListMatcher_match_pattern_NOT_SET = 0 -} envoy_type_matcher_v3_ListMatcher_match_pattern_oneofcases; -UPB_INLINE envoy_type_matcher_v3_ListMatcher_match_pattern_oneofcases envoy_type_matcher_v3_ListMatcher_match_pattern_case(const envoy_type_matcher_v3_ListMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_type_matcher_v3_ListMatcher_match_pattern_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_type_matcher_v3_ListMatcher_clear_one_of(envoy_type_matcher_v3_ListMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_ListMatcher_one_of(const envoy_type_matcher_v3_ListMatcher* msg) { - const envoy_type_matcher_v3_ValueMatcher* default_val = NULL; - const envoy_type_matcher_v3_ValueMatcher* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_matcher_v3_ListMatcher_has_one_of(const envoy_type_matcher_v3_ListMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_type_matcher_v3_ListMatcher_set_one_of(envoy_type_matcher_v3_ListMatcher *msg, envoy_type_matcher_v3_ValueMatcher* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_matcher_v3_ValueMatcher* envoy_type_matcher_v3_ListMatcher_mutable_one_of(envoy_type_matcher_v3_ListMatcher* msg, upb_Arena* arena) { - struct envoy_type_matcher_v3_ValueMatcher* sub = (struct envoy_type_matcher_v3_ValueMatcher*)envoy_type_matcher_v3_ListMatcher_one_of(msg); - if (sub == NULL) { - sub = (struct envoy_type_matcher_v3_ValueMatcher*)_upb_Message_New(&envoy_type_matcher_v3_ValueMatcher_msg_init, arena); - if (sub) envoy_type_matcher_v3_ListMatcher_set_one_of(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile envoy_type_matcher_v3_value_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_MATCHER_V3_VALUE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c b/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c deleted file mode 100644 index 874d5d5a674..00000000000 --- a/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +++ /dev/null @@ -1,128 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/metadata/v3/metadata.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/metadata/v3/metadata.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_metadata_v3_MetadataKey_submsgs[1] = { - {.submsg = &envoy_type_metadata_v3_MetadataKey_PathSegment_msg_init}, -}; - -static const upb_MiniTableField envoy_type_metadata_v3_MetadataKey__fields[2] = { - {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_metadata_v3_MetadataKey_msg_init = { - &envoy_type_metadata_v3_MetadataKey_submsgs[0], - &envoy_type_metadata_v3_MetadataKey__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_type_metadata_v3_MetadataKey_PathSegment__fields[1] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_metadata_v3_MetadataKey_PathSegment_msg_init = { - NULL, - &envoy_type_metadata_v3_MetadataKey_PathSegment__fields[0], - UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - }) -}; - -static const upb_MiniTableSub envoy_type_metadata_v3_MetadataKind_submsgs[4] = { - {.submsg = &envoy_type_metadata_v3_MetadataKind_Request_msg_init}, - {.submsg = &envoy_type_metadata_v3_MetadataKind_Route_msg_init}, - {.submsg = &envoy_type_metadata_v3_MetadataKind_Cluster_msg_init}, - {.submsg = &envoy_type_metadata_v3_MetadataKind_Host_msg_init}, -}; - -static const upb_MiniTableField envoy_type_metadata_v3_MetadataKind__fields[4] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_metadata_v3_MetadataKind_msg_init = { - &envoy_type_metadata_v3_MetadataKind_submsgs[0], - &envoy_type_metadata_v3_MetadataKind__fields[0], - UPB_SIZE(8, 16), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x000800000302001a, &upb_pom_1bt_max64b}, - {0x0008000004030022, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable envoy_type_metadata_v3_MetadataKind_Request_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -const upb_MiniTable envoy_type_metadata_v3_MetadataKind_Route_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -const upb_MiniTable envoy_type_metadata_v3_MetadataKind_Cluster_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -const upb_MiniTable envoy_type_metadata_v3_MetadataKind_Host_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTable *messages_layout[7] = { - &envoy_type_metadata_v3_MetadataKey_msg_init, - &envoy_type_metadata_v3_MetadataKey_PathSegment_msg_init, - &envoy_type_metadata_v3_MetadataKind_msg_init, - &envoy_type_metadata_v3_MetadataKind_Request_msg_init, - &envoy_type_metadata_v3_MetadataKind_Route_msg_init, - &envoy_type_metadata_v3_MetadataKind_Cluster_msg_init, - &envoy_type_metadata_v3_MetadataKind_Host_msg_init, -}; - -const upb_MiniTableFile envoy_type_metadata_v3_metadata_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 7, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h b/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h deleted file mode 100644 index 1f5ec3e3c26..00000000000 --- a/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +++ /dev/null @@ -1,528 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/metadata/v3/metadata.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPB_H_ -#define ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_type_metadata_v3_MetadataKey envoy_type_metadata_v3_MetadataKey; -typedef struct envoy_type_metadata_v3_MetadataKey_PathSegment envoy_type_metadata_v3_MetadataKey_PathSegment; -typedef struct envoy_type_metadata_v3_MetadataKind envoy_type_metadata_v3_MetadataKind; -typedef struct envoy_type_metadata_v3_MetadataKind_Request envoy_type_metadata_v3_MetadataKind_Request; -typedef struct envoy_type_metadata_v3_MetadataKind_Route envoy_type_metadata_v3_MetadataKind_Route; -typedef struct envoy_type_metadata_v3_MetadataKind_Cluster envoy_type_metadata_v3_MetadataKind_Cluster; -typedef struct envoy_type_metadata_v3_MetadataKind_Host envoy_type_metadata_v3_MetadataKind_Host; -extern const upb_MiniTable envoy_type_metadata_v3_MetadataKey_msg_init; -extern const upb_MiniTable envoy_type_metadata_v3_MetadataKey_PathSegment_msg_init; -extern const upb_MiniTable envoy_type_metadata_v3_MetadataKind_msg_init; -extern const upb_MiniTable envoy_type_metadata_v3_MetadataKind_Request_msg_init; -extern const upb_MiniTable envoy_type_metadata_v3_MetadataKind_Route_msg_init; -extern const upb_MiniTable envoy_type_metadata_v3_MetadataKind_Cluster_msg_init; -extern const upb_MiniTable envoy_type_metadata_v3_MetadataKind_Host_msg_init; - - - -/* envoy.type.metadata.v3.MetadataKey */ - -UPB_INLINE envoy_type_metadata_v3_MetadataKey* envoy_type_metadata_v3_MetadataKey_new(upb_Arena* arena) { - return (envoy_type_metadata_v3_MetadataKey*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKey_msg_init, arena); -} -UPB_INLINE envoy_type_metadata_v3_MetadataKey* envoy_type_metadata_v3_MetadataKey_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKey* ret = envoy_type_metadata_v3_MetadataKey_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKey_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_metadata_v3_MetadataKey* envoy_type_metadata_v3_MetadataKey_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKey* ret = envoy_type_metadata_v3_MetadataKey_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKey_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKey_serialize(const envoy_type_metadata_v3_MetadataKey* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKey_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKey_serialize_ex(const envoy_type_metadata_v3_MetadataKey* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKey_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_metadata_v3_MetadataKey_clear_key(envoy_type_metadata_v3_MetadataKey* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_metadata_v3_MetadataKey_key(const envoy_type_metadata_v3_MetadataKey* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_type_metadata_v3_MetadataKey_clear_path(envoy_type_metadata_v3_MetadataKey* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_type_metadata_v3_MetadataKey_PathSegment* const* envoy_type_metadata_v3_MetadataKey_path(const envoy_type_metadata_v3_MetadataKey* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const envoy_type_metadata_v3_MetadataKey_PathSegment* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _envoy_type_metadata_v3_MetadataKey_path_upb_array(const envoy_type_metadata_v3_MetadataKey* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _envoy_type_metadata_v3_MetadataKey_path_mutable_upb_array(const envoy_type_metadata_v3_MetadataKey* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool envoy_type_metadata_v3_MetadataKey_has_path(const envoy_type_metadata_v3_MetadataKey* msg) { - size_t size; - envoy_type_metadata_v3_MetadataKey_path(msg, &size); - return size != 0; -} - -UPB_INLINE void envoy_type_metadata_v3_MetadataKey_set_key(envoy_type_metadata_v3_MetadataKey *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE envoy_type_metadata_v3_MetadataKey_PathSegment** envoy_type_metadata_v3_MetadataKey_mutable_path(envoy_type_metadata_v3_MetadataKey* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (envoy_type_metadata_v3_MetadataKey_PathSegment**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE envoy_type_metadata_v3_MetadataKey_PathSegment** envoy_type_metadata_v3_MetadataKey_resize_path(envoy_type_metadata_v3_MetadataKey* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_type_metadata_v3_MetadataKey_PathSegment**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct envoy_type_metadata_v3_MetadataKey_PathSegment* envoy_type_metadata_v3_MetadataKey_add_path(envoy_type_metadata_v3_MetadataKey* msg, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct envoy_type_metadata_v3_MetadataKey_PathSegment* sub = (struct envoy_type_metadata_v3_MetadataKey_PathSegment*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKey_PathSegment_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* envoy.type.metadata.v3.MetadataKey.PathSegment */ - -UPB_INLINE envoy_type_metadata_v3_MetadataKey_PathSegment* envoy_type_metadata_v3_MetadataKey_PathSegment_new(upb_Arena* arena) { - return (envoy_type_metadata_v3_MetadataKey_PathSegment*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKey_PathSegment_msg_init, arena); -} -UPB_INLINE envoy_type_metadata_v3_MetadataKey_PathSegment* envoy_type_metadata_v3_MetadataKey_PathSegment_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKey_PathSegment* ret = envoy_type_metadata_v3_MetadataKey_PathSegment_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKey_PathSegment_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_metadata_v3_MetadataKey_PathSegment* envoy_type_metadata_v3_MetadataKey_PathSegment_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKey_PathSegment* ret = envoy_type_metadata_v3_MetadataKey_PathSegment_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKey_PathSegment_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKey_PathSegment_serialize(const envoy_type_metadata_v3_MetadataKey_PathSegment* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKey_PathSegment_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKey_PathSegment_serialize_ex(const envoy_type_metadata_v3_MetadataKey_PathSegment* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKey_PathSegment_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_type_metadata_v3_MetadataKey_PathSegment_segment_key = 1, - envoy_type_metadata_v3_MetadataKey_PathSegment_segment_NOT_SET = 0 -} envoy_type_metadata_v3_MetadataKey_PathSegment_segment_oneofcases; -UPB_INLINE envoy_type_metadata_v3_MetadataKey_PathSegment_segment_oneofcases envoy_type_metadata_v3_MetadataKey_PathSegment_segment_case(const envoy_type_metadata_v3_MetadataKey_PathSegment* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return (envoy_type_metadata_v3_MetadataKey_PathSegment_segment_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_type_metadata_v3_MetadataKey_PathSegment_clear_key(envoy_type_metadata_v3_MetadataKey_PathSegment* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView envoy_type_metadata_v3_MetadataKey_PathSegment_key(const envoy_type_metadata_v3_MetadataKey_PathSegment* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_metadata_v3_MetadataKey_PathSegment_has_key(const envoy_type_metadata_v3_MetadataKey_PathSegment* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_type_metadata_v3_MetadataKey_PathSegment_set_key(envoy_type_metadata_v3_MetadataKey_PathSegment *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.type.metadata.v3.MetadataKind */ - -UPB_INLINE envoy_type_metadata_v3_MetadataKind* envoy_type_metadata_v3_MetadataKind_new(upb_Arena* arena) { - return (envoy_type_metadata_v3_MetadataKind*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKind_msg_init, arena); -} -UPB_INLINE envoy_type_metadata_v3_MetadataKind* envoy_type_metadata_v3_MetadataKind_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKind* ret = envoy_type_metadata_v3_MetadataKind_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKind_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_metadata_v3_MetadataKind* envoy_type_metadata_v3_MetadataKind_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKind* ret = envoy_type_metadata_v3_MetadataKind_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKind_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_serialize(const envoy_type_metadata_v3_MetadataKind* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKind_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_serialize_ex(const envoy_type_metadata_v3_MetadataKind* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKind_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - envoy_type_metadata_v3_MetadataKind_kind_request = 1, - envoy_type_metadata_v3_MetadataKind_kind_route = 2, - envoy_type_metadata_v3_MetadataKind_kind_cluster = 3, - envoy_type_metadata_v3_MetadataKind_kind_host = 4, - envoy_type_metadata_v3_MetadataKind_kind_NOT_SET = 0 -} envoy_type_metadata_v3_MetadataKind_kind_oneofcases; -UPB_INLINE envoy_type_metadata_v3_MetadataKind_kind_oneofcases envoy_type_metadata_v3_MetadataKind_kind_case(const envoy_type_metadata_v3_MetadataKind* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (envoy_type_metadata_v3_MetadataKind_kind_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void envoy_type_metadata_v3_MetadataKind_clear_request(envoy_type_metadata_v3_MetadataKind* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_type_metadata_v3_MetadataKind_Request* envoy_type_metadata_v3_MetadataKind_request(const envoy_type_metadata_v3_MetadataKind* msg) { - const envoy_type_metadata_v3_MetadataKind_Request* default_val = NULL; - const envoy_type_metadata_v3_MetadataKind_Request* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_metadata_v3_MetadataKind_has_request(const envoy_type_metadata_v3_MetadataKind* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_metadata_v3_MetadataKind_clear_route(envoy_type_metadata_v3_MetadataKind* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_type_metadata_v3_MetadataKind_Route* envoy_type_metadata_v3_MetadataKind_route(const envoy_type_metadata_v3_MetadataKind* msg) { - const envoy_type_metadata_v3_MetadataKind_Route* default_val = NULL; - const envoy_type_metadata_v3_MetadataKind_Route* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_metadata_v3_MetadataKind_has_route(const envoy_type_metadata_v3_MetadataKind* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_metadata_v3_MetadataKind_clear_cluster(envoy_type_metadata_v3_MetadataKind* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_type_metadata_v3_MetadataKind_Cluster* envoy_type_metadata_v3_MetadataKind_cluster(const envoy_type_metadata_v3_MetadataKind* msg) { - const envoy_type_metadata_v3_MetadataKind_Cluster* default_val = NULL; - const envoy_type_metadata_v3_MetadataKind_Cluster* ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_metadata_v3_MetadataKind_has_cluster(const envoy_type_metadata_v3_MetadataKind* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void envoy_type_metadata_v3_MetadataKind_clear_host(envoy_type_metadata_v3_MetadataKind* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const envoy_type_metadata_v3_MetadataKind_Host* envoy_type_metadata_v3_MetadataKind_host(const envoy_type_metadata_v3_MetadataKind* msg) { - const envoy_type_metadata_v3_MetadataKind_Host* default_val = NULL; - const envoy_type_metadata_v3_MetadataKind_Host* ret; - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool envoy_type_metadata_v3_MetadataKind_has_host(const envoy_type_metadata_v3_MetadataKind* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void envoy_type_metadata_v3_MetadataKind_set_request(envoy_type_metadata_v3_MetadataKind *msg, envoy_type_metadata_v3_MetadataKind_Request* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_metadata_v3_MetadataKind_Request* envoy_type_metadata_v3_MetadataKind_mutable_request(envoy_type_metadata_v3_MetadataKind* msg, upb_Arena* arena) { - struct envoy_type_metadata_v3_MetadataKind_Request* sub = (struct envoy_type_metadata_v3_MetadataKind_Request*)envoy_type_metadata_v3_MetadataKind_request(msg); - if (sub == NULL) { - sub = (struct envoy_type_metadata_v3_MetadataKind_Request*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKind_Request_msg_init, arena); - if (sub) envoy_type_metadata_v3_MetadataKind_set_request(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_type_metadata_v3_MetadataKind_set_route(envoy_type_metadata_v3_MetadataKind *msg, envoy_type_metadata_v3_MetadataKind_Route* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_metadata_v3_MetadataKind_Route* envoy_type_metadata_v3_MetadataKind_mutable_route(envoy_type_metadata_v3_MetadataKind* msg, upb_Arena* arena) { - struct envoy_type_metadata_v3_MetadataKind_Route* sub = (struct envoy_type_metadata_v3_MetadataKind_Route*)envoy_type_metadata_v3_MetadataKind_route(msg); - if (sub == NULL) { - sub = (struct envoy_type_metadata_v3_MetadataKind_Route*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKind_Route_msg_init, arena); - if (sub) envoy_type_metadata_v3_MetadataKind_set_route(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_type_metadata_v3_MetadataKind_set_cluster(envoy_type_metadata_v3_MetadataKind *msg, envoy_type_metadata_v3_MetadataKind_Cluster* value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_metadata_v3_MetadataKind_Cluster* envoy_type_metadata_v3_MetadataKind_mutable_cluster(envoy_type_metadata_v3_MetadataKind* msg, upb_Arena* arena) { - struct envoy_type_metadata_v3_MetadataKind_Cluster* sub = (struct envoy_type_metadata_v3_MetadataKind_Cluster*)envoy_type_metadata_v3_MetadataKind_cluster(msg); - if (sub == NULL) { - sub = (struct envoy_type_metadata_v3_MetadataKind_Cluster*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKind_Cluster_msg_init, arena); - if (sub) envoy_type_metadata_v3_MetadataKind_set_cluster(msg, sub); - } - return sub; -} -UPB_INLINE void envoy_type_metadata_v3_MetadataKind_set_host(envoy_type_metadata_v3_MetadataKind *msg, envoy_type_metadata_v3_MetadataKind_Host* value) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct envoy_type_metadata_v3_MetadataKind_Host* envoy_type_metadata_v3_MetadataKind_mutable_host(envoy_type_metadata_v3_MetadataKind* msg, upb_Arena* arena) { - struct envoy_type_metadata_v3_MetadataKind_Host* sub = (struct envoy_type_metadata_v3_MetadataKind_Host*)envoy_type_metadata_v3_MetadataKind_host(msg); - if (sub == NULL) { - sub = (struct envoy_type_metadata_v3_MetadataKind_Host*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKind_Host_msg_init, arena); - if (sub) envoy_type_metadata_v3_MetadataKind_set_host(msg, sub); - } - return sub; -} - -/* envoy.type.metadata.v3.MetadataKind.Request */ - -UPB_INLINE envoy_type_metadata_v3_MetadataKind_Request* envoy_type_metadata_v3_MetadataKind_Request_new(upb_Arena* arena) { - return (envoy_type_metadata_v3_MetadataKind_Request*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKind_Request_msg_init, arena); -} -UPB_INLINE envoy_type_metadata_v3_MetadataKind_Request* envoy_type_metadata_v3_MetadataKind_Request_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKind_Request* ret = envoy_type_metadata_v3_MetadataKind_Request_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKind_Request_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_metadata_v3_MetadataKind_Request* envoy_type_metadata_v3_MetadataKind_Request_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKind_Request* ret = envoy_type_metadata_v3_MetadataKind_Request_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKind_Request_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Request_serialize(const envoy_type_metadata_v3_MetadataKind_Request* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKind_Request_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Request_serialize_ex(const envoy_type_metadata_v3_MetadataKind_Request* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKind_Request_msg_init, options, arena, &ptr, len); - return ptr; -} - - -/* envoy.type.metadata.v3.MetadataKind.Route */ - -UPB_INLINE envoy_type_metadata_v3_MetadataKind_Route* envoy_type_metadata_v3_MetadataKind_Route_new(upb_Arena* arena) { - return (envoy_type_metadata_v3_MetadataKind_Route*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKind_Route_msg_init, arena); -} -UPB_INLINE envoy_type_metadata_v3_MetadataKind_Route* envoy_type_metadata_v3_MetadataKind_Route_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKind_Route* ret = envoy_type_metadata_v3_MetadataKind_Route_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKind_Route_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_metadata_v3_MetadataKind_Route* envoy_type_metadata_v3_MetadataKind_Route_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKind_Route* ret = envoy_type_metadata_v3_MetadataKind_Route_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKind_Route_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Route_serialize(const envoy_type_metadata_v3_MetadataKind_Route* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKind_Route_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Route_serialize_ex(const envoy_type_metadata_v3_MetadataKind_Route* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKind_Route_msg_init, options, arena, &ptr, len); - return ptr; -} - - -/* envoy.type.metadata.v3.MetadataKind.Cluster */ - -UPB_INLINE envoy_type_metadata_v3_MetadataKind_Cluster* envoy_type_metadata_v3_MetadataKind_Cluster_new(upb_Arena* arena) { - return (envoy_type_metadata_v3_MetadataKind_Cluster*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKind_Cluster_msg_init, arena); -} -UPB_INLINE envoy_type_metadata_v3_MetadataKind_Cluster* envoy_type_metadata_v3_MetadataKind_Cluster_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKind_Cluster* ret = envoy_type_metadata_v3_MetadataKind_Cluster_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKind_Cluster_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_metadata_v3_MetadataKind_Cluster* envoy_type_metadata_v3_MetadataKind_Cluster_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKind_Cluster* ret = envoy_type_metadata_v3_MetadataKind_Cluster_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKind_Cluster_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Cluster_serialize(const envoy_type_metadata_v3_MetadataKind_Cluster* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKind_Cluster_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Cluster_serialize_ex(const envoy_type_metadata_v3_MetadataKind_Cluster* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKind_Cluster_msg_init, options, arena, &ptr, len); - return ptr; -} - - -/* envoy.type.metadata.v3.MetadataKind.Host */ - -UPB_INLINE envoy_type_metadata_v3_MetadataKind_Host* envoy_type_metadata_v3_MetadataKind_Host_new(upb_Arena* arena) { - return (envoy_type_metadata_v3_MetadataKind_Host*)_upb_Message_New(&envoy_type_metadata_v3_MetadataKind_Host_msg_init, arena); -} -UPB_INLINE envoy_type_metadata_v3_MetadataKind_Host* envoy_type_metadata_v3_MetadataKind_Host_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKind_Host* ret = envoy_type_metadata_v3_MetadataKind_Host_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKind_Host_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_metadata_v3_MetadataKind_Host* envoy_type_metadata_v3_MetadataKind_Host_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_metadata_v3_MetadataKind_Host* ret = envoy_type_metadata_v3_MetadataKind_Host_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_metadata_v3_MetadataKind_Host_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Host_serialize(const envoy_type_metadata_v3_MetadataKind_Host* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKind_Host_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_metadata_v3_MetadataKind_Host_serialize_ex(const envoy_type_metadata_v3_MetadataKind_Host* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_metadata_v3_MetadataKind_Host_msg_init, options, arena, &ptr, len); - return ptr; -} - - -extern const upb_MiniTableFile envoy_type_metadata_v3_metadata_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c b/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c deleted file mode 100644 index 2704ba4a7c3..00000000000 --- a/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +++ /dev/null @@ -1,140 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/tracing/v3/custom_tag.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/tracing/v3/custom_tag.upb.h" -#include "envoy/type/metadata/v3/metadata.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_tracing_v3_CustomTag_submsgs[4] = { - {.submsg = &envoy_type_tracing_v3_CustomTag_Literal_msg_init}, - {.submsg = &envoy_type_tracing_v3_CustomTag_Environment_msg_init}, - {.submsg = &envoy_type_tracing_v3_CustomTag_Header_msg_init}, - {.submsg = &envoy_type_tracing_v3_CustomTag_Metadata_msg_init}, -}; - -static const upb_MiniTableField envoy_type_tracing_v3_CustomTag__fields[5] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 24), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 24), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_tracing_v3_CustomTag_msg_init = { - &envoy_type_tracing_v3_CustomTag_submsgs[0], - &envoy_type_tracing_v3_CustomTag__fields[0], - UPB_SIZE(16, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000002000012, &upb_pom_1bt_max64b}, - {0x001800000301001a, &upb_pom_1bt_max64b}, - {0x0018000004020022, &upb_pom_1bt_max64b}, - {0x001800000503002a, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_type_tracing_v3_CustomTag_Literal__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_tracing_v3_CustomTag_Literal_msg_init = { - NULL, - &envoy_type_tracing_v3_CustomTag_Literal__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField envoy_type_tracing_v3_CustomTag_Environment__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_tracing_v3_CustomTag_Environment_msg_init = { - NULL, - &envoy_type_tracing_v3_CustomTag_Environment__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_type_tracing_v3_CustomTag_Header__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_tracing_v3_CustomTag_Header_msg_init = { - NULL, - &envoy_type_tracing_v3_CustomTag_Header__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub envoy_type_tracing_v3_CustomTag_Metadata_submsgs[2] = { - {.submsg = &envoy_type_metadata_v3_MetadataKind_msg_init}, - {.submsg = &envoy_type_metadata_v3_MetadataKey_msg_init}, -}; - -static const upb_MiniTableField envoy_type_tracing_v3_CustomTag_Metadata__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_tracing_v3_CustomTag_Metadata_msg_init = { - &envoy_type_tracing_v3_CustomTag_Metadata_submsgs[0], - &envoy_type_tracing_v3_CustomTag_Metadata__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800003f00001a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[5] = { - &envoy_type_tracing_v3_CustomTag_msg_init, - &envoy_type_tracing_v3_CustomTag_Literal_msg_init, - &envoy_type_tracing_v3_CustomTag_Environment_msg_init, - &envoy_type_tracing_v3_CustomTag_Header_msg_init, - &envoy_type_tracing_v3_CustomTag_Metadata_msg_init, -}; - -const upb_MiniTableFile envoy_type_tracing_v3_custom_tag_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 5, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c b/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c deleted file mode 100644 index cd224932c2a..00000000000 --- a/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +++ /dev/null @@ -1,77 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/hash_policy.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/v3/hash_policy.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_v3_HashPolicy_submsgs[2] = { - {.submsg = &envoy_type_v3_HashPolicy_SourceIp_msg_init}, - {.submsg = &envoy_type_v3_HashPolicy_FilterState_msg_init}, -}; - -static const upb_MiniTableField envoy_type_v3_HashPolicy__fields[2] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_v3_HashPolicy_msg_init = { - &envoy_type_v3_HashPolicy_submsgs[0], - &envoy_type_v3_HashPolicy__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable envoy_type_v3_HashPolicy_SourceIp_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableField envoy_type_v3_HashPolicy_FilterState__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_v3_HashPolicy_FilterState_msg_init = { - NULL, - &envoy_type_v3_HashPolicy_FilterState__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &envoy_type_v3_HashPolicy_msg_init, - &envoy_type_v3_HashPolicy_SourceIp_msg_init, - &envoy_type_v3_HashPolicy_FilterState_msg_init, -}; - -const upb_MiniTableFile envoy_type_v3_hash_policy_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 3, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/v3/http.upb.c b/src/core/ext/upb-generated/envoy/type/v3/http.upb.c deleted file mode 100644 index e50790dca9c..00000000000 --- a/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +++ /dev/null @@ -1,27 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/http.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/v3/http.upb.h" -#include "udpa/annotations/status.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -const upb_MiniTableFile envoy_type_v3_http_proto_upb_file_layout = { - NULL, - NULL, - NULL, - 0, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/v3/http.upb.h b/src/core/ext/upb-generated/envoy/type/v3/http.upb.h deleted file mode 100644 index b65979dd647..00000000000 --- a/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/http.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_V3_HTTP_PROTO_UPB_H_ -#define ENVOY_TYPE_V3_HTTP_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef enum { - envoy_type_v3_HTTP1 = 0, - envoy_type_v3_HTTP2 = 1, - envoy_type_v3_HTTP3 = 2 -} envoy_type_v3_CodecClientType; - - - -extern const upb_MiniTableFile envoy_type_v3_http_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_V3_HTTP_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c b/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c deleted file mode 100644 index 0dbfb787eed..00000000000 --- a/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +++ /dev/null @@ -1,47 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/http_status.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/v3/http_status.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_type_v3_HttpStatus__fields[1] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_v3_HttpStatus_msg_init = { - NULL, - &envoy_type_v3_HttpStatus__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_type_v3_HttpStatus_msg_init, -}; - -const upb_MiniTableFile envoy_type_v3_http_status_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c b/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c deleted file mode 100644 index f502132bdbd..00000000000 --- a/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +++ /dev/null @@ -1,65 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/percent.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/v3/percent.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_type_v3_Percent__fields[1] = { - {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_v3_Percent_msg_init = { - NULL, - &envoy_type_v3_Percent__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000009, &upb_psf8_1bt}, - }) -}; - -static const upb_MiniTableField envoy_type_v3_FractionalPercent__fields[2] = { - {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_v3_FractionalPercent_msg_init = { - NULL, - &envoy_type_v3_FractionalPercent__fields[0], - 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_type_v3_Percent_msg_init, - &envoy_type_v3_FractionalPercent_msg_init, -}; - -const upb_MiniTableFile envoy_type_v3_percent_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/v3/range.upb.c b/src/core/ext/upb-generated/envoy/type/v3/range.upb.c deleted file mode 100644 index 1546baffaf9..00000000000 --- a/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +++ /dev/null @@ -1,85 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/range.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/v3/range.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_type_v3_Int64Range__fields[2] = { - {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_v3_Int64Range_msg_init = { - NULL, - &envoy_type_v3_Int64Range__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv8_1bt}, - {0x000800003f000010, &upb_psv8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_type_v3_Int32Range__fields[2] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_v3_Int32Range_msg_init = { - NULL, - &envoy_type_v3_Int32Range__fields[0], - 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField envoy_type_v3_DoubleRange__fields[2] = { - {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_v3_DoubleRange_msg_init = { - NULL, - &envoy_type_v3_DoubleRange__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000009, &upb_psf8_1bt}, - {0x000800003f000011, &upb_psf8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &envoy_type_v3_Int64Range_msg_init, - &envoy_type_v3_Int32Range_msg_init, - &envoy_type_v3_DoubleRange_msg_init, -}; - -const upb_MiniTableFile envoy_type_v3_range_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 3, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/v3/range.upb.h b/src/core/ext/upb-generated/envoy/type/v3/range.upb.h deleted file mode 100644 index e6c85103cd0..00000000000 --- a/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +++ /dev/null @@ -1,238 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/range.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_V3_RANGE_PROTO_UPB_H_ -#define ENVOY_TYPE_V3_RANGE_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct envoy_type_v3_Int64Range envoy_type_v3_Int64Range; -typedef struct envoy_type_v3_Int32Range envoy_type_v3_Int32Range; -typedef struct envoy_type_v3_DoubleRange envoy_type_v3_DoubleRange; -extern const upb_MiniTable envoy_type_v3_Int64Range_msg_init; -extern const upb_MiniTable envoy_type_v3_Int32Range_msg_init; -extern const upb_MiniTable envoy_type_v3_DoubleRange_msg_init; - - - -/* envoy.type.v3.Int64Range */ - -UPB_INLINE envoy_type_v3_Int64Range* envoy_type_v3_Int64Range_new(upb_Arena* arena) { - return (envoy_type_v3_Int64Range*)_upb_Message_New(&envoy_type_v3_Int64Range_msg_init, arena); -} -UPB_INLINE envoy_type_v3_Int64Range* envoy_type_v3_Int64Range_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_v3_Int64Range* ret = envoy_type_v3_Int64Range_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_Int64Range_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_v3_Int64Range* envoy_type_v3_Int64Range_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_v3_Int64Range* ret = envoy_type_v3_Int64Range_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_Int64Range_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_v3_Int64Range_serialize(const envoy_type_v3_Int64Range* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_Int64Range_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_v3_Int64Range_serialize_ex(const envoy_type_v3_Int64Range* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_Int64Range_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_v3_Int64Range_clear_start(envoy_type_v3_Int64Range* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int64_t envoy_type_v3_Int64Range_start(const envoy_type_v3_Int64Range* msg) { - int64_t default_val = (int64_t)0ll; - int64_t ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_type_v3_Int64Range_clear_end(envoy_type_v3_Int64Range* msg) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int64_t envoy_type_v3_Int64Range_end(const envoy_type_v3_Int64Range* msg) { - int64_t default_val = (int64_t)0ll; - int64_t ret; - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_type_v3_Int64Range_set_start(envoy_type_v3_Int64Range *msg, int64_t value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_type_v3_Int64Range_set_end(envoy_type_v3_Int64Range *msg, int64_t value) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.type.v3.Int32Range */ - -UPB_INLINE envoy_type_v3_Int32Range* envoy_type_v3_Int32Range_new(upb_Arena* arena) { - return (envoy_type_v3_Int32Range*)_upb_Message_New(&envoy_type_v3_Int32Range_msg_init, arena); -} -UPB_INLINE envoy_type_v3_Int32Range* envoy_type_v3_Int32Range_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_v3_Int32Range* ret = envoy_type_v3_Int32Range_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_Int32Range_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_v3_Int32Range* envoy_type_v3_Int32Range_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_v3_Int32Range* ret = envoy_type_v3_Int32Range_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_Int32Range_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_v3_Int32Range_serialize(const envoy_type_v3_Int32Range* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_Int32Range_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_v3_Int32Range_serialize_ex(const envoy_type_v3_Int32Range* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_Int32Range_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_v3_Int32Range_clear_start(envoy_type_v3_Int32Range* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_type_v3_Int32Range_start(const envoy_type_v3_Int32Range* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_type_v3_Int32Range_clear_end(envoy_type_v3_Int32Range* msg) { - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t envoy_type_v3_Int32Range_end(const envoy_type_v3_Int32Range* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_type_v3_Int32Range_set_start(envoy_type_v3_Int32Range *msg, int32_t value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_type_v3_Int32Range_set_end(envoy_type_v3_Int32Range *msg, int32_t value) { - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* envoy.type.v3.DoubleRange */ - -UPB_INLINE envoy_type_v3_DoubleRange* envoy_type_v3_DoubleRange_new(upb_Arena* arena) { - return (envoy_type_v3_DoubleRange*)_upb_Message_New(&envoy_type_v3_DoubleRange_msg_init, arena); -} -UPB_INLINE envoy_type_v3_DoubleRange* envoy_type_v3_DoubleRange_parse(const char* buf, size_t size, upb_Arena* arena) { - envoy_type_v3_DoubleRange* ret = envoy_type_v3_DoubleRange_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_DoubleRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE envoy_type_v3_DoubleRange* envoy_type_v3_DoubleRange_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - envoy_type_v3_DoubleRange* ret = envoy_type_v3_DoubleRange_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &envoy_type_v3_DoubleRange_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* envoy_type_v3_DoubleRange_serialize(const envoy_type_v3_DoubleRange* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_DoubleRange_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* envoy_type_v3_DoubleRange_serialize_ex(const envoy_type_v3_DoubleRange* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &envoy_type_v3_DoubleRange_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void envoy_type_v3_DoubleRange_clear_start(envoy_type_v3_DoubleRange* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE double envoy_type_v3_DoubleRange_start(const envoy_type_v3_DoubleRange* msg) { - double default_val = 0; - double ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void envoy_type_v3_DoubleRange_clear_end(envoy_type_v3_DoubleRange* msg) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE double envoy_type_v3_DoubleRange_end(const envoy_type_v3_DoubleRange* msg) { - double default_val = 0; - double ret; - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void envoy_type_v3_DoubleRange_set_start(envoy_type_v3_DoubleRange *msg, double value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void envoy_type_v3_DoubleRange_set_end(envoy_type_v3_DoubleRange *msg, double value) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -extern const upb_MiniTableFile envoy_type_v3_range_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_V3_RANGE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c b/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c deleted file mode 100644 index ab441407a31..00000000000 --- a/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +++ /dev/null @@ -1,76 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/ratelimit_strategy.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/v3/ratelimit_strategy.upb.h" -#include "envoy/type/v3/ratelimit_unit.upb.h" -#include "envoy/type/v3/token_bucket.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "udpa/annotations/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_v3_RateLimitStrategy_submsgs[2] = { - {.submsg = &envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_msg_init}, - {.submsg = &envoy_type_v3_TokenBucket_msg_init}, -}; - -static const upb_MiniTableField envoy_type_v3_RateLimitStrategy__fields[3] = { - {1, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_v3_RateLimitStrategy_msg_init = { - &envoy_type_v3_RateLimitStrategy_submsgs[0], - &envoy_type_v3_RateLimitStrategy__fields[0], - UPB_SIZE(8, 16), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000008, &upb_pov4_1bt}, - {0x0008000002000012, &upb_pom_1bt_max64b}, - {0x000800000301001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableField envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit__fields[2] = { - {1, 8, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_msg_init = { - NULL, - &envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000008, &upb_psv8_1bt}, - {0x000000003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &envoy_type_v3_RateLimitStrategy_msg_init, - &envoy_type_v3_RateLimitStrategy_RequestsPerTimeUnit_msg_init, -}; - -const upb_MiniTableFile envoy_type_v3_ratelimit_strategy_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c b/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c deleted file mode 100644 index 30ac5ed3ccb..00000000000 --- a/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +++ /dev/null @@ -1,27 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/ratelimit_unit.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/v3/ratelimit_unit.upb.h" -#include "udpa/annotations/status.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -const upb_MiniTableFile envoy_type_v3_ratelimit_unit_proto_upb_file_layout = { - NULL, - NULL, - NULL, - 0, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c b/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c deleted file mode 100644 index 48b81763f45..00000000000 --- a/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +++ /dev/null @@ -1,50 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/semantic_version.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/v3/semantic_version.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField envoy_type_v3_SemanticVersion__fields[3] = { - {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, 8, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_v3_SemanticVersion_msg_init = { - NULL, - &envoy_type_v3_SemanticVersion__fields[0], - 16, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x000800003f000018, &upb_psv4_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_type_v3_SemanticVersion_msg_init, -}; - -const upb_MiniTableFile envoy_type_v3_semantic_version_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c b/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c deleted file mode 100644 index 5249f79fa17..00000000000 --- a/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +++ /dev/null @@ -1,58 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/token_bucket.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "envoy/type/v3/token_bucket.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "udpa/annotations/status.upb.h" -#include "udpa/annotations/versioning.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub envoy_type_v3_TokenBucket_submsgs[2] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField envoy_type_v3_TokenBucket__fields[3] = { - {1, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable envoy_type_v3_TokenBucket_msg_init = { - &envoy_type_v3_TokenBucket_submsgs[0], - &envoy_type_v3_TokenBucket__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x0008000001000012, &upb_psm_1bt_maxmaxb}, - {0x001000000201001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &envoy_type_v3_TokenBucket_msg_init, -}; - -const upb_MiniTableFile envoy_type_v3_token_bucket_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/api/annotations.upb.c b/src/core/ext/upb-generated/google/api/annotations.upb.c deleted file mode 100644 index 25ec71d257f..00000000000 --- a/src/core/ext/upb-generated/google/api/annotations.upb.c +++ /dev/null @@ -1,41 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/api/annotations.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "google/api/annotations.upb.h" -#include "google/api/http.upb.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -extern const upb_MiniTable google_api_HttpRule_msg_init; -extern const upb_MiniTable google_protobuf_MethodOptions_msg_init; -const upb_MiniTableExtension google_api_http_ext = { - {72295728, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_MethodOptions_msg_init, - {.submsg = &google_api_HttpRule_msg_init}, - -}; - -static const upb_MiniTableExtension *extensions_layout[1] = { - &google_api_http_ext, -}; - -const upb_MiniTableFile google_api_annotations_proto_upb_file_layout = { - NULL, - NULL, - extensions_layout, - 0, - 0, - 1, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c b/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c deleted file mode 100644 index e4672bdf528..00000000000 --- a/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +++ /dev/null @@ -1,370 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/api/expr/v1alpha1/checked.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "google/api/expr/v1alpha1/checked.upb.h" -#include "google/api/expr/v1alpha1/syntax.upb.h" -#include "google/protobuf/empty.upb.h" -#include "google/protobuf/struct.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub google_api_expr_v1alpha1_CheckedExpr_submsgs[4] = { - {.submsg = &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_msg_init}, - {.submsg = &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, - {.submsg = &google_api_expr_v1alpha1_SourceInfo_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_CheckedExpr__fields[4] = { - {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 32), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_CheckedExpr_msg_init = { - &google_api_expr_v1alpha1_CheckedExpr_submsgs[0], - &google_api_expr_v1alpha1_CheckedExpr__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0018000001020022, &upb_psm_1bt_maxmaxb}, - {0x002000000203002a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_submsgs[1] = { - {.submsg = &google_api_expr_v1alpha1_Reference_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_msg_init = { - &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_submsgs[0], - &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000008, &upb_psv8_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_submsgs[1] = { - {.submsg = &google_api_expr_v1alpha1_Type_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_msg_init = { - &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_submsgs[0], - &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000008, &upb_psv8_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Type_submsgs[7] = { - {.submsg = &google_protobuf_Empty_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Type_ListType_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Type_MapType_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Type_FunctionType_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Type_msg_init}, - {.submsg = &google_protobuf_Empty_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Type_AbstractType_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Type__fields[13] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 8), -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(4, 8), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(4, 8), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(4, 8), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Type_msg_init = { - &google_api_expr_v1alpha1_Type_submsgs[0], - &google_api_expr_v1alpha1_Type__fields[0], - UPB_SIZE(16, 24), 13, kUpb_ExtMode_NonExtendable, 12, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_maxmaxb}, - {0x0008000002000010, &upb_pov4_1bt}, - {0x0008000003000018, &upb_pov4_1bt}, - {0x0008000004000020, &upb_pov4_1bt}, - {0x0008000005000028, &upb_pov4_1bt}, - {0x0008000006010032, &upb_pom_1bt_max64b}, - {0x000800000702003a, &upb_pom_1bt_max64b}, - {0x0008000008030042, &upb_pom_1bt_max64b}, - {0x000800000900004a, &upb_pos_1bt}, - {0x000800000a000052, &upb_pos_1bt}, - {0x000800000b04005a, &upb_pom_1bt_max64b}, - {0x000800000c050062, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000e060072, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Type_ListType_submsgs[1] = { - {.submsg = &google_api_expr_v1alpha1_Type_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Type_ListType__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Type_ListType_msg_init = { - &google_api_expr_v1alpha1_Type_ListType_submsgs[0], - &google_api_expr_v1alpha1_Type_ListType__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Type_MapType_submsgs[2] = { - {.submsg = &google_api_expr_v1alpha1_Type_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Type_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Type_MapType__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Type_MapType_msg_init = { - &google_api_expr_v1alpha1_Type_MapType_submsgs[0], - &google_api_expr_v1alpha1_Type_MapType__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x0010000002010012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Type_FunctionType_submsgs[2] = { - {.submsg = &google_api_expr_v1alpha1_Type_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Type_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Type_FunctionType__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Type_FunctionType_msg_init = { - &google_api_expr_v1alpha1_Type_FunctionType_submsgs[0], - &google_api_expr_v1alpha1_Type_FunctionType__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x001000003f010012, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Type_AbstractType_submsgs[1] = { - {.submsg = &google_api_expr_v1alpha1_Type_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Type_AbstractType__fields[2] = { - {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Type_AbstractType_msg_init = { - &google_api_expr_v1alpha1_Type_AbstractType_submsgs[0], - &google_api_expr_v1alpha1_Type_AbstractType__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Decl_submsgs[2] = { - {.submsg = &google_api_expr_v1alpha1_Decl_IdentDecl_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Decl__fields[3] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Decl_msg_init = { - &google_api_expr_v1alpha1_Decl_submsgs[0], - &google_api_expr_v1alpha1_Decl__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000002000012, &upb_pom_1bt_max64b}, - {0x001800000301001a, &upb_pom_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Decl_IdentDecl_submsgs[2] = { - {.submsg = &google_api_expr_v1alpha1_Type_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Constant_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Decl_IdentDecl__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Decl_IdentDecl_msg_init = { - &google_api_expr_v1alpha1_Decl_IdentDecl_submsgs[0], - &google_api_expr_v1alpha1_Decl_IdentDecl__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x001800003f00001a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Decl_FunctionDecl_submsgs[1] = { - {.submsg = &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Decl_FunctionDecl__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init = { - &google_api_expr_v1alpha1_Decl_FunctionDecl_submsgs[0], - &google_api_expr_v1alpha1_Decl_FunctionDecl__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max128b}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_submsgs[2] = { - {.submsg = &google_api_expr_v1alpha1_Type_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Type_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Decl_FunctionDecl_Overload__fields[6] = { - {1, UPB_SIZE(20, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init = { - &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_submsgs[0], - &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload__fields[0], - UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prm_1bt_max64b}, - {0x002000003f00001a, &upb_prs_1bt}, - {0x0028000001010022, &upb_psm_1bt_max64b}, - {0x000100003f000028, &upb_psb1_1bt}, - {0x003000003f000032, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Reference_submsgs[1] = { - {.submsg = &google_api_expr_v1alpha1_Constant_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Reference__fields[3] = { - {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 32), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Reference_msg_init = { - &google_api_expr_v1alpha1_Reference_submsgs[0], - &google_api_expr_v1alpha1_Reference__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f00001a, &upb_prs_1bt}, - {0x0020000001000022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[13] = { - &google_api_expr_v1alpha1_CheckedExpr_msg_init, - &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_msg_init, - &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_msg_init, - &google_api_expr_v1alpha1_Type_msg_init, - &google_api_expr_v1alpha1_Type_ListType_msg_init, - &google_api_expr_v1alpha1_Type_MapType_msg_init, - &google_api_expr_v1alpha1_Type_FunctionType_msg_init, - &google_api_expr_v1alpha1_Type_AbstractType_msg_init, - &google_api_expr_v1alpha1_Decl_msg_init, - &google_api_expr_v1alpha1_Decl_IdentDecl_msg_init, - &google_api_expr_v1alpha1_Decl_FunctionDecl_msg_init, - &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msg_init, - &google_api_expr_v1alpha1_Reference_msg_init, -}; - -const upb_MiniTableFile google_api_expr_v1alpha1_checked_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 13, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c b/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c deleted file mode 100644 index cf60d4f4d6b..00000000000 --- a/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +++ /dev/null @@ -1,400 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/api/expr/v1alpha1/syntax.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "google/api/expr/v1alpha1/syntax.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/struct.upb.h" -#include "google/protobuf/timestamp.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub google_api_expr_v1alpha1_ParsedExpr_submsgs[2] = { - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, - {.submsg = &google_api_expr_v1alpha1_SourceInfo_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_ParsedExpr__fields[2] = { - {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_ParsedExpr_msg_init = { - &google_api_expr_v1alpha1_ParsedExpr_submsgs[0], - &google_api_expr_v1alpha1_ParsedExpr__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000012, &upb_psm_1bt_max64b}, - {0x001000000201001a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_submsgs[7] = { - {.submsg = &google_api_expr_v1alpha1_Constant_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_Ident_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_Select_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_Call_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_CreateList_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_CreateStruct_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_Comprehension_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Expr__fields[8] = { - {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 16), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 16), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 16), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 16), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(4, 16), -1, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(4, 16), -1, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(4, 16), -1, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Expr_msg_init = { - &google_api_expr_v1alpha1_Expr_submsgs[0], - &google_api_expr_v1alpha1_Expr__fields[0], - UPB_SIZE(16, 24), 8, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000010, &upb_psv8_1bt}, - {0x001000000300001a, &upb_pom_1bt_max64b}, - {0x0010000004010022, &upb_pom_1bt_max64b}, - {0x001000000502002a, &upb_pom_1bt_max64b}, - {0x0010000006030032, &upb_pom_1bt_max64b}, - {0x001000000704003a, &upb_pom_1bt_max64b}, - {0x0010000008050042, &upb_pom_1bt_max64b}, - {0x001000000906004a, &upb_pom_1bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Expr_Ident__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Expr_Ident_msg_init = { - NULL, - &google_api_expr_v1alpha1_Expr_Ident__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_Select_submsgs[1] = { - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Expr_Select__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Expr_Select_msg_init = { - &google_api_expr_v1alpha1_Expr_Select_submsgs[0], - &google_api_expr_v1alpha1_Expr_Select__fields[0], - UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x001000003f000012, &upb_pss_1bt}, - {0x000100003f000018, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_Call_submsgs[2] = { - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Expr_Call__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Expr_Call_msg_init = { - &google_api_expr_v1alpha1_Expr_Call_submsgs[0], - &google_api_expr_v1alpha1_Expr_Call__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x001000003f000012, &upb_pss_1bt}, - {0x002000003f01001a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_CreateList_submsgs[1] = { - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Expr_CreateList__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Expr_CreateList_msg_init = { - &google_api_expr_v1alpha1_Expr_CreateList_submsgs[0], - &google_api_expr_v1alpha1_Expr_CreateList__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_CreateStruct_submsgs[1] = { - {.submsg = &google_api_expr_v1alpha1_Expr_CreateStruct_Entry_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Expr_CreateStruct__fields[2] = { - {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(0, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Expr_CreateStruct_msg_init = { - &google_api_expr_v1alpha1_Expr_CreateStruct_submsgs[0], - &google_api_expr_v1alpha1_Expr_CreateStruct__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_CreateStruct_Entry_submsgs[2] = { - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Expr_CreateStruct_Entry__fields[4] = { - {1, 24, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 8), -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 8), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 32), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Expr_CreateStruct_Entry_msg_init = { - &google_api_expr_v1alpha1_Expr_CreateStruct_Entry_submsgs[0], - &google_api_expr_v1alpha1_Expr_CreateStruct_Entry__fields[0], - UPB_SIZE(32, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f000008, &upb_psv8_1bt}, - {0x0008000402000012, &upb_pos_1bt}, - {0x000800040300001a, &upb_pom_1bt_max64b}, - {0x0020000001010022, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Expr_Comprehension_submsgs[5] = { - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Expr_Comprehension__fields[7] = { - {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 48), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 56), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(16, 64), 4, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(20, 72), 5, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Expr_Comprehension_msg_init = { - &google_api_expr_v1alpha1_Expr_Comprehension_submsgs[0], - &google_api_expr_v1alpha1_Expr_Comprehension__fields[0], - UPB_SIZE(40, 80), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x002000003f00001a, &upb_pss_1bt}, - {0x0030000002010022, &upb_psm_1bt_max64b}, - {0x003800000302002a, &upb_psm_1bt_max64b}, - {0x0040000004030032, &upb_psm_1bt_max64b}, - {0x004800000504003a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_Constant_submsgs[2] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_Constant__fields[9] = { - {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, 8, -1, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, 8, -1, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {6, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, 8, -1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, 8, -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_Constant_msg_init = { - &google_api_expr_v1alpha1_Constant_submsgs[0], - &google_api_expr_v1alpha1_Constant__fields[0], - UPB_SIZE(16, 24), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000008, &upb_pov4_1bt}, - {0x0008000002000010, &upb_pob1_1bt}, - {0x0008000003000018, &upb_pov8_1bt}, - {0x0008000004000020, &upb_pov8_1bt}, - {0x0008000005000029, &upb_pof8_1bt}, - {0x0008000006000032, &upb_pos_1bt}, - {0x000800000700003a, &upb_pob_1bt}, - {0x0008000008000042, &upb_pom_1bt_maxmaxb}, - {0x000800000901004a, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_SourceInfo_submsgs[2] = { - {.submsg = &google_api_expr_v1alpha1_SourceInfo_PositionsEntry_msg_init}, - {.submsg = &google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_SourceInfo__fields[5] = { - {1, UPB_SIZE(12, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(0, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 40), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_SourceInfo_msg_init = { - &google_api_expr_v1alpha1_SourceInfo_submsgs[0], - &google_api_expr_v1alpha1_SourceInfo__fields[0], - UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x002000003f00001a, &upb_ppv4_1bt}, - }) -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_SourceInfo_PositionsEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_SourceInfo_PositionsEntry_msg_init = { - NULL, - &google_api_expr_v1alpha1_SourceInfo_PositionsEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000008, &upb_psv8_1bt}, - {0x001800003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_submsgs[1] = { - {.submsg = &google_api_expr_v1alpha1_Expr_msg_init}, -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_msg_init = { - &google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_submsgs[0], - &google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000008, &upb_psv8_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField google_api_expr_v1alpha1_SourcePosition__fields[4] = { - {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_expr_v1alpha1_SourcePosition_msg_init = { - NULL, - &google_api_expr_v1alpha1_SourcePosition__fields[0], - UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f00000a, &upb_pss_1bt}, - {0x000000003f000010, &upb_psv4_1bt}, - {0x000400003f000018, &upb_psv4_1bt}, - {0x000800003f000020, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[14] = { - &google_api_expr_v1alpha1_ParsedExpr_msg_init, - &google_api_expr_v1alpha1_Expr_msg_init, - &google_api_expr_v1alpha1_Expr_Ident_msg_init, - &google_api_expr_v1alpha1_Expr_Select_msg_init, - &google_api_expr_v1alpha1_Expr_Call_msg_init, - &google_api_expr_v1alpha1_Expr_CreateList_msg_init, - &google_api_expr_v1alpha1_Expr_CreateStruct_msg_init, - &google_api_expr_v1alpha1_Expr_CreateStruct_Entry_msg_init, - &google_api_expr_v1alpha1_Expr_Comprehension_msg_init, - &google_api_expr_v1alpha1_Constant_msg_init, - &google_api_expr_v1alpha1_SourceInfo_msg_init, - &google_api_expr_v1alpha1_SourceInfo_PositionsEntry_msg_init, - &google_api_expr_v1alpha1_SourceInfo_MacroCallsEntry_msg_init, - &google_api_expr_v1alpha1_SourcePosition_msg_init, -}; - -const upb_MiniTableFile google_api_expr_v1alpha1_syntax_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 14, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/api/http.upb.c b/src/core/ext/upb-generated/google/api/http.upb.c deleted file mode 100644 index 1f687da44f9..00000000000 --- a/src/core/ext/upb-generated/google/api/http.upb.c +++ /dev/null @@ -1,112 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/api/http.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "google/api/http.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub google_api_Http_submsgs[1] = { - {.submsg = &google_api_HttpRule_msg_init}, -}; - -static const upb_MiniTableField google_api_Http__fields[2] = { - {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_Http_msg_init = { - &google_api_Http_submsgs[0], - &google_api_Http__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_max128b}, - {0x000000003f000010, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_api_HttpRule_submsgs[2] = { - {.submsg = &google_api_CustomHttpPattern_msg_init}, - {.submsg = &google_api_HttpRule_msg_init}, -}; - -static const upb_MiniTableField google_api_HttpRule__fields[10] = { - {1, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_HttpRule_msg_init = { - &google_api_HttpRule_submsgs[0], - &google_api_HttpRule__fields[0], - UPB_SIZE(40, 80), 10, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f00000a, &upb_pss_1bt}, - {0x0008000002000012, &upb_pos_1bt}, - {0x000800000300001a, &upb_pos_1bt}, - {0x0008000004000022, &upb_pos_1bt}, - {0x000800000500002a, &upb_pos_1bt}, - {0x0008000006000032, &upb_pos_1bt}, - {0x002800003f00003a, &upb_pss_1bt}, - {0x0008000008000042, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x003800003f01005a, &upb_prm_1bt_max128b}, - {0x004000003f000062, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField google_api_CustomHttpPattern__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_CustomHttpPattern_msg_init = { - NULL, - &google_api_CustomHttpPattern__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &google_api_Http_msg_init, - &google_api_HttpRule_msg_init, - &google_api_CustomHttpPattern_msg_init, -}; - -const upb_MiniTableFile google_api_http_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 3, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/api/http.upb.h b/src/core/ext/upb-generated/google/api/http.upb.h deleted file mode 100644 index 10606411300..00000000000 --- a/src/core/ext/upb-generated/google/api/http.upb.h +++ /dev/null @@ -1,499 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/api/http.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef GOOGLE_API_HTTP_PROTO_UPB_H_ -#define GOOGLE_API_HTTP_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct google_api_Http google_api_Http; -typedef struct google_api_HttpRule google_api_HttpRule; -typedef struct google_api_CustomHttpPattern google_api_CustomHttpPattern; -extern const upb_MiniTable google_api_Http_msg_init; -extern const upb_MiniTable google_api_HttpRule_msg_init; -extern const upb_MiniTable google_api_CustomHttpPattern_msg_init; - - - -/* google.api.Http */ - -UPB_INLINE google_api_Http* google_api_Http_new(upb_Arena* arena) { - return (google_api_Http*)_upb_Message_New(&google_api_Http_msg_init, arena); -} -UPB_INLINE google_api_Http* google_api_Http_parse(const char* buf, size_t size, upb_Arena* arena) { - google_api_Http* ret = google_api_Http_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_Http_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_api_Http* google_api_Http_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_api_Http* ret = google_api_Http_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_Http_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_api_Http_serialize(const google_api_Http* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_api_Http_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_api_Http_serialize_ex(const google_api_Http* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_api_Http_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_api_Http_clear_rules(google_api_Http* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_api_HttpRule* const* google_api_Http_rules(const google_api_Http* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_api_HttpRule* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_api_Http_rules_upb_array(const google_api_Http* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_api_Http_rules_mutable_upb_array(const google_api_Http* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_api_Http_has_rules(const google_api_Http* msg) { - size_t size; - google_api_Http_rules(msg, &size); - return size != 0; -} -UPB_INLINE void google_api_Http_clear_fully_decode_reserved_expansion(google_api_Http* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_api_Http_fully_decode_reserved_expansion(const google_api_Http* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE google_api_HttpRule** google_api_Http_mutable_rules(google_api_Http* msg, size_t* size) { - upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_api_HttpRule**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_api_HttpRule** google_api_Http_resize_rules(google_api_Http* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_api_HttpRule**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_api_HttpRule* google_api_Http_add_rules(google_api_Http* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(0, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_api_HttpRule* sub = (struct google_api_HttpRule*)_upb_Message_New(&google_api_HttpRule_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void google_api_Http_set_fully_decode_reserved_expansion(google_api_Http *msg, bool value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* google.api.HttpRule */ - -UPB_INLINE google_api_HttpRule* google_api_HttpRule_new(upb_Arena* arena) { - return (google_api_HttpRule*)_upb_Message_New(&google_api_HttpRule_msg_init, arena); -} -UPB_INLINE google_api_HttpRule* google_api_HttpRule_parse(const char* buf, size_t size, upb_Arena* arena) { - google_api_HttpRule* ret = google_api_HttpRule_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_HttpRule_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_api_HttpRule* google_api_HttpRule_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_api_HttpRule* ret = google_api_HttpRule_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_HttpRule_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_api_HttpRule_serialize(const google_api_HttpRule* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_api_HttpRule_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_api_HttpRule_serialize_ex(const google_api_HttpRule* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_api_HttpRule_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - google_api_HttpRule_pattern_get = 2, - google_api_HttpRule_pattern_put = 3, - google_api_HttpRule_pattern_post = 4, - google_api_HttpRule_pattern_delete = 5, - google_api_HttpRule_pattern_patch = 6, - google_api_HttpRule_pattern_custom = 8, - google_api_HttpRule_pattern_NOT_SET = 0 -} google_api_HttpRule_pattern_oneofcases; -UPB_INLINE google_api_HttpRule_pattern_oneofcases google_api_HttpRule_pattern_case(const google_api_HttpRule* msg) { - const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return (google_api_HttpRule_pattern_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void google_api_HttpRule_clear_selector(google_api_HttpRule* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_api_HttpRule_selector(const google_api_HttpRule* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void google_api_HttpRule_clear_get(google_api_HttpRule* msg) { - const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_api_HttpRule_get(const google_api_HttpRule* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_api_HttpRule_has_get(const google_api_HttpRule* msg) { - const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_api_HttpRule_clear_put(google_api_HttpRule* msg) { - const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_api_HttpRule_put(const google_api_HttpRule* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_api_HttpRule_has_put(const google_api_HttpRule* msg) { - const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_api_HttpRule_clear_post(google_api_HttpRule* msg) { - const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_api_HttpRule_post(const google_api_HttpRule* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_api_HttpRule_has_post(const google_api_HttpRule* msg) { - const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_api_HttpRule_clear_delete(google_api_HttpRule* msg) { - const upb_MiniTableField field = {5, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_api_HttpRule_delete(const google_api_HttpRule* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {5, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_api_HttpRule_has_delete(const google_api_HttpRule* msg) { - const upb_MiniTableField field = {5, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_api_HttpRule_clear_patch(google_api_HttpRule* msg) { - const upb_MiniTableField field = {6, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_api_HttpRule_patch(const google_api_HttpRule* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {6, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_api_HttpRule_has_patch(const google_api_HttpRule* msg) { - const upb_MiniTableField field = {6, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_api_HttpRule_clear_body(google_api_HttpRule* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_api_HttpRule_body(const google_api_HttpRule* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {7, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void google_api_HttpRule_clear_custom(google_api_HttpRule* msg) { - const upb_MiniTableField field = {8, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_api_CustomHttpPattern* google_api_HttpRule_custom(const google_api_HttpRule* msg) { - const google_api_CustomHttpPattern* default_val = NULL; - const google_api_CustomHttpPattern* ret; - const upb_MiniTableField field = {8, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_api_HttpRule_has_custom(const google_api_HttpRule* msg) { - const upb_MiniTableField field = {8, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_api_HttpRule_clear_additional_bindings(google_api_HttpRule* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_api_HttpRule* const* google_api_HttpRule_additional_bindings(const google_api_HttpRule* msg, size_t* size) { - const upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_api_HttpRule* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_api_HttpRule_additional_bindings_upb_array(const google_api_HttpRule* msg, size_t* size) { - const upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_api_HttpRule_additional_bindings_mutable_upb_array(const google_api_HttpRule* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_api_HttpRule_has_additional_bindings(const google_api_HttpRule* msg) { - size_t size; - google_api_HttpRule_additional_bindings(msg, &size); - return size != 0; -} -UPB_INLINE void google_api_HttpRule_clear_response_body(google_api_HttpRule* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_api_HttpRule_response_body(const google_api_HttpRule* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {12, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void google_api_HttpRule_set_selector(google_api_HttpRule *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_api_HttpRule_set_get(google_api_HttpRule *msg, upb_StringView value) { - const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_api_HttpRule_set_put(google_api_HttpRule *msg, upb_StringView value) { - const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_api_HttpRule_set_post(google_api_HttpRule *msg, upb_StringView value) { - const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_api_HttpRule_set_delete(google_api_HttpRule *msg, upb_StringView value) { - const upb_MiniTableField field = {5, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_api_HttpRule_set_patch(google_api_HttpRule *msg, upb_StringView value) { - const upb_MiniTableField field = {6, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_api_HttpRule_set_body(google_api_HttpRule *msg, upb_StringView value) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_api_HttpRule_set_custom(google_api_HttpRule *msg, google_api_CustomHttpPattern* value) { - const upb_MiniTableField field = {8, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_api_CustomHttpPattern* google_api_HttpRule_mutable_custom(google_api_HttpRule* msg, upb_Arena* arena) { - struct google_api_CustomHttpPattern* sub = (struct google_api_CustomHttpPattern*)google_api_HttpRule_custom(msg); - if (sub == NULL) { - sub = (struct google_api_CustomHttpPattern*)_upb_Message_New(&google_api_CustomHttpPattern_msg_init, arena); - if (sub) google_api_HttpRule_set_custom(msg, sub); - } - return sub; -} -UPB_INLINE google_api_HttpRule** google_api_HttpRule_mutable_additional_bindings(google_api_HttpRule* msg, size_t* size) { - upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_api_HttpRule**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_api_HttpRule** google_api_HttpRule_resize_additional_bindings(google_api_HttpRule* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_api_HttpRule**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_api_HttpRule* google_api_HttpRule_add_additional_bindings(google_api_HttpRule* msg, upb_Arena* arena) { - upb_MiniTableField field = {11, UPB_SIZE(4, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_api_HttpRule* sub = (struct google_api_HttpRule*)_upb_Message_New(&google_api_HttpRule_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void google_api_HttpRule_set_response_body(google_api_HttpRule *msg, upb_StringView value) { - const upb_MiniTableField field = {12, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* google.api.CustomHttpPattern */ - -UPB_INLINE google_api_CustomHttpPattern* google_api_CustomHttpPattern_new(upb_Arena* arena) { - return (google_api_CustomHttpPattern*)_upb_Message_New(&google_api_CustomHttpPattern_msg_init, arena); -} -UPB_INLINE google_api_CustomHttpPattern* google_api_CustomHttpPattern_parse(const char* buf, size_t size, upb_Arena* arena) { - google_api_CustomHttpPattern* ret = google_api_CustomHttpPattern_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_CustomHttpPattern_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_api_CustomHttpPattern* google_api_CustomHttpPattern_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_api_CustomHttpPattern* ret = google_api_CustomHttpPattern_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_api_CustomHttpPattern_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_api_CustomHttpPattern_serialize(const google_api_CustomHttpPattern* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_api_CustomHttpPattern_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_api_CustomHttpPattern_serialize_ex(const google_api_CustomHttpPattern* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_api_CustomHttpPattern_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_api_CustomHttpPattern_clear_kind(google_api_CustomHttpPattern* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_api_CustomHttpPattern_kind(const google_api_CustomHttpPattern* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void google_api_CustomHttpPattern_clear_path(google_api_CustomHttpPattern* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_api_CustomHttpPattern_path(const google_api_CustomHttpPattern* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void google_api_CustomHttpPattern_set_kind(google_api_CustomHttpPattern *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_api_CustomHttpPattern_set_path(google_api_CustomHttpPattern *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -extern const upb_MiniTableFile google_api_http_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* GOOGLE_API_HTTP_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/google/api/httpbody.upb.c b/src/core/ext/upb-generated/google/api/httpbody.upb.c deleted file mode 100644 index 260b3b599c2..00000000000 --- a/src/core/ext/upb-generated/google/api/httpbody.upb.c +++ /dev/null @@ -1,53 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/api/httpbody.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "google/api/httpbody.upb.h" -#include "google/protobuf/any.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub google_api_HttpBody_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField google_api_HttpBody__fields[3] = { - {1, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(0, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_api_HttpBody_msg_init = { - &google_api_HttpBody_submsgs[0], - &google_api_HttpBody__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_psb_1bt}, - {0x002000003f00001a, &upb_prm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &google_api_HttpBody_msg_init, -}; - -const upb_MiniTableFile google_api_httpbody_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/protobuf/any.upb.c b/src/core/ext/upb-generated/google/protobuf/any.upb.c deleted file mode 100644 index ec35e6f231a..00000000000 --- a/src/core/ext/upb-generated/google/protobuf/any.upb.c +++ /dev/null @@ -1,47 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/protobuf/any.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "google/protobuf/any.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField google_protobuf_Any__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_Any_msg_init = { - NULL, - &google_protobuf_Any__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_psb_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &google_protobuf_Any_msg_init, -}; - -const upb_MiniTableFile google_protobuf_any_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c b/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c deleted file mode 100644 index 24b4f8a6044..00000000000 --- a/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +++ /dev/null @@ -1,1327 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/protobuf/descriptor.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub google_protobuf_FileDescriptorSet_submsgs[1] = { - {.submsg = &google_protobuf_FileDescriptorProto_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_FileDescriptorSet__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_FileDescriptorSet_msg_init = { - &google_protobuf_FileDescriptorSet_submsgs[0], - &google_protobuf_FileDescriptorSet__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max192b}, - }) -}; - -static const upb_MiniTableSub google_protobuf_FileDescriptorProto_submsgs[6] = { - {.submsg = &google_protobuf_DescriptorProto_msg_init}, - {.submsg = &google_protobuf_EnumDescriptorProto_msg_init}, - {.submsg = &google_protobuf_ServiceDescriptorProto_msg_init}, - {.submsg = &google_protobuf_FieldDescriptorProto_msg_init}, - {.submsg = &google_protobuf_FileOptions_msg_init}, - {.submsg = &google_protobuf_SourceCodeInfo_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_FileDescriptorProto__fields[13] = { - {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(48, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(24, 80), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(28, 88), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(56, 112), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(64, 128), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_FileDescriptorProto_msg_init = { - &google_protobuf_FileDescriptorProto_submsgs[0], - &google_protobuf_FileDescriptorProto__fields[0], - UPB_SIZE(72, 144), 13, kUpb_ExtMode_NonExtendable, 13, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pss_1bt}, - {0x0018000002000012, &upb_pss_1bt}, - {0x002800003f00001a, &upb_prs_1bt}, - {0x003000003f000022, &upb_prm_1bt_max128b}, - {0x003800003f01002a, &upb_prm_1bt_max64b}, - {0x004000003f020032, &upb_prm_1bt_max64b}, - {0x004800003f03003a, &upb_prm_1bt_max128b}, - {0x0050000003040042, &upb_psm_1bt_max256b}, - {0x005800000405004a, &upb_psm_1bt_max64b}, - {0x006000003f000050, &upb_prv4_1bt}, - {0x006800003f000058, &upb_prv4_1bt}, - {0x0070000005000062, &upb_pss_1bt}, - {0x008000000600006a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_DescriptorProto_submsgs[8] = { - {.submsg = &google_protobuf_FieldDescriptorProto_msg_init}, - {.submsg = &google_protobuf_DescriptorProto_msg_init}, - {.submsg = &google_protobuf_EnumDescriptorProto_msg_init}, - {.submsg = &google_protobuf_DescriptorProto_ExtensionRange_msg_init}, - {.submsg = &google_protobuf_FieldDescriptorProto_msg_init}, - {.submsg = &google_protobuf_MessageOptions_msg_init}, - {.submsg = &google_protobuf_OneofDescriptorProto_msg_init}, - {.submsg = &google_protobuf_DescriptorProto_ReservedRange_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_DescriptorProto__fields[10] = { - {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(24, 64), 2, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_DescriptorProto_msg_init = { - &google_protobuf_DescriptorProto_submsgs[0], - &google_protobuf_DescriptorProto__fields[0], - UPB_SIZE(48, 96), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prm_1bt_max128b}, - {0x002000003f01001a, &upb_prm_1bt_max128b}, - {0x002800003f020022, &upb_prm_1bt_max64b}, - {0x003000003f03002a, &upb_prm_1bt_max64b}, - {0x003800003f040032, &upb_prm_1bt_max128b}, - {0x004000000205003a, &upb_psm_1bt_max64b}, - {0x004800003f060042, &upb_prm_1bt_max64b}, - {0x005000003f07004a, &upb_prm_1bt_max64b}, - {0x005800003f000052, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_DescriptorProto_ExtensionRange_submsgs[1] = { - {.submsg = &google_protobuf_ExtensionRangeOptions_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_DescriptorProto_ExtensionRange__fields[3] = { - {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_DescriptorProto_ExtensionRange_msg_init = { - &google_protobuf_DescriptorProto_ExtensionRange_submsgs[0], - &google_protobuf_DescriptorProto_ExtensionRange__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0004000001000008, &upb_psv4_1bt}, - {0x0008000002000010, &upb_psv4_1bt}, - {0x001000000300001a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableField google_protobuf_DescriptorProto_ReservedRange__fields[2] = { - {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_DescriptorProto_ReservedRange_msg_init = { - NULL, - &google_protobuf_DescriptorProto_ReservedRange__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0004000001000008, &upb_psv4_1bt}, - {0x0008000002000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_ExtensionRangeOptions_submsgs[4] = { - {.submsg = &google_protobuf_ExtensionRangeOptions_Declaration_msg_init}, - {.submsg = &google_protobuf_FeatureSet_msg_init}, - {.submsg = &google_protobuf_UninterpretedOption_msg_init}, - {.subenum = &google_protobuf_ExtensionRangeOptions_VerificationState_enum_init}, -}; - -static const upb_MiniTableField google_protobuf_ExtensionRangeOptions__fields[4] = { - {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 4), 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {50, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_ExtensionRangeOptions_msg_init = { - &google_protobuf_ExtensionRangeOptions_submsgs[0], - &google_protobuf_ExtensionRangeOptions__fields[0], - UPB_SIZE(24, 32), 4, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000012, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0010000002010392, &upb_psm_2bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f023eba, &upb_prm_2bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField google_protobuf_ExtensionRangeOptions_Declaration__fields[5] = { - {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(20, 32), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, 9, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_ExtensionRangeOptions_Declaration_msg_init = { - NULL, - &google_protobuf_ExtensionRangeOptions_Declaration__fields[0], - UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0004000001000008, &upb_psv4_1bt}, - {0x0010000002000012, &upb_pss_1bt}, - {0x002000000300001a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000004000028, &upb_psb1_1bt}, - {0x0009000005000030, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_FieldDescriptorProto_submsgs[3] = { - {.submsg = &google_protobuf_FieldOptions_msg_init}, - {.subenum = &google_protobuf_FieldDescriptorProto_Label_enum_init}, - {.subenum = &google_protobuf_FieldDescriptorProto_Type_enum_init}, -}; - -static const upb_MiniTableField google_protobuf_FieldDescriptorProto__fields[11] = { - {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, 4, 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, 8, 4, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {5, 12, 5, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(44, 56), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(52, 72), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(16, 88), 8, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(20, 16), 9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(60, 96), 10, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(24, 20), 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_FieldDescriptorProto_msg_init = { - &google_protobuf_FieldDescriptorProto_submsgs[0], - &google_protobuf_FieldDescriptorProto__fields[0], - UPB_SIZE(72, 112), 11, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000100000a, &upb_pss_1bt}, - {0x0028000002000012, &upb_pss_1bt}, - {0x0004000003000018, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0038000006000032, &upb_pss_1bt}, - {0x004800000700003a, &upb_pss_1bt}, - {0x0058000008000042, &upb_psm_1bt_max64b}, - {0x0010000009000048, &upb_psv4_1bt}, - {0x006000000a000052, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001400000b000188, &upb_psb1_2bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_OneofDescriptorProto_submsgs[1] = { - {.submsg = &google_protobuf_OneofOptions_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_OneofDescriptorProto__fields[2] = { - {1, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_OneofDescriptorProto_msg_init = { - &google_protobuf_OneofDescriptorProto_submsgs[0], - &google_protobuf_OneofDescriptorProto__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pss_1bt}, - {0x0018000002000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_EnumDescriptorProto_submsgs[3] = { - {.submsg = &google_protobuf_EnumValueDescriptorProto_msg_init}, - {.submsg = &google_protobuf_EnumOptions_msg_init}, - {.submsg = &google_protobuf_EnumDescriptorProto_EnumReservedRange_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_EnumDescriptorProto__fields[5] = { - {1, UPB_SIZE(20, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_EnumDescriptorProto_msg_init = { - &google_protobuf_EnumDescriptorProto_submsgs[0], - &google_protobuf_EnumDescriptorProto__fields[0], - UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prm_1bt_max64b}, - {0x002000000201001a, &upb_psm_1bt_max64b}, - {0x002800003f020022, &upb_prm_1bt_max64b}, - {0x003000003f00002a, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[2] = { - {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_EnumDescriptorProto_EnumReservedRange_msg_init = { - NULL, - &google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0004000001000008, &upb_psv4_1bt}, - {0x0008000002000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_EnumValueDescriptorProto_submsgs[1] = { - {.submsg = &google_protobuf_EnumValueOptions_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_EnumValueDescriptorProto__fields[3] = { - {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 4, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 24), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_EnumValueDescriptorProto_msg_init = { - &google_protobuf_EnumValueDescriptorProto_submsgs[0], - &google_protobuf_EnumValueDescriptorProto__fields[0], - UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pss_1bt}, - {0x0004000002000010, &upb_psv4_1bt}, - {0x001800000300001a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub google_protobuf_ServiceDescriptorProto_submsgs[2] = { - {.submsg = &google_protobuf_MethodDescriptorProto_msg_init}, - {.submsg = &google_protobuf_ServiceOptions_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_ServiceDescriptorProto__fields[3] = { - {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_ServiceDescriptorProto_msg_init = { - &google_protobuf_ServiceDescriptorProto_submsgs[0], - &google_protobuf_ServiceDescriptorProto__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prm_1bt_max128b}, - {0x002000000201001a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub google_protobuf_MethodDescriptorProto_submsgs[1] = { - {.submsg = &google_protobuf_MethodOptions_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_MethodDescriptorProto__fields[6] = { - {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(20, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(28, 40), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 56), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 1), 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(9, 2), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_MethodDescriptorProto_msg_init = { - &google_protobuf_MethodDescriptorProto_submsgs[0], - &google_protobuf_MethodDescriptorProto__fields[0], - UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pss_1bt}, - {0x0018000002000012, &upb_pss_1bt}, - {0x002800000300001a, &upb_pss_1bt}, - {0x0038000004000022, &upb_psm_1bt_max64b}, - {0x0001000005000028, &upb_psb1_1bt}, - {0x0002000006000030, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_FileOptions_submsgs[3] = { - {.submsg = &google_protobuf_FeatureSet_msg_init}, - {.submsg = &google_protobuf_UninterpretedOption_msg_init}, - {.subenum = &google_protobuf_FileOptions_OptimizeMode_enum_init}, -}; - -static const upb_MiniTableField google_protobuf_FileOptions__fields[22] = { - {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {9, 4, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {10, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(44, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {16, 9, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {17, 10, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {18, 11, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {20, 12, 9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {23, 13, 10, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {27, 14, 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {31, 15, 12, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {36, UPB_SIZE(52, 72), 13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {37, UPB_SIZE(60, 88), 14, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {39, UPB_SIZE(68, 104), 15, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {40, UPB_SIZE(76, 120), 16, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {41, UPB_SIZE(84, 136), 17, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {42, 16, 18, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {44, UPB_SIZE(92, 152), 19, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {45, UPB_SIZE(100, 168), 20, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {50, UPB_SIZE(20, 184), 21, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_FileOptions_msg_init = { - &google_protobuf_FileOptions_submsgs[0], - &google_protobuf_FileOptions__fields[0], - UPB_SIZE(112, 200), 22, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000100000a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0028000002000042, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000004000050, &upb_psb1_1bt}, - {0x003800000500005a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0009000006000180, &upb_psb1_2bt}, - {0x000a000007000188, &upb_psb1_2bt}, - {0x000b000008000190, &upb_psb1_2bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000c0000090001a0, &upb_psb1_2bt}, - {0x005800000e0002aa, &upb_pss_2bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000d00000a0001b8, &upb_psb1_2bt}, - {0x00780000100002c2, &upb_pss_2bt}, - {0x00880000110002ca, &upb_pss_2bt}, - {0x00100000120002d0, &upb_psb1_2bt}, - {0x000e00000b0001d8, &upb_psb1_2bt}, - {0x00980000130002e2, &upb_pss_2bt}, - {0x00a80000140002ea, &upb_pss_2bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000f00000c0001f8, &upb_psb1_2bt}, - }) -}; - -static const upb_MiniTableSub google_protobuf_MessageOptions_submsgs[2] = { - {.submsg = &google_protobuf_FeatureSet_msg_init}, - {.submsg = &google_protobuf_UninterpretedOption_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_MessageOptions__fields[7] = { - {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, 4, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {11, 5, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {12, 8, 6, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_MessageOptions_msg_init = { - &google_protobuf_MessageOptions_submsgs[0], - &google_protobuf_MessageOptions__fields[0], - UPB_SIZE(16, 24), 7, kUpb_ExtMode_Extendable, 3, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0001000001000008, &upb_psb1_1bt}, - {0x0002000002000010, &upb_psb1_1bt}, - {0x0003000003000018, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0004000004000038, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0005000005000058, &upb_psb1_1bt}, - {0x0008000006000062, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f013eba, &upb_prm_2bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_FieldOptions_submsgs[7] = { - {.submsg = &google_protobuf_FieldOptions_EditionDefault_msg_init}, - {.submsg = &google_protobuf_FeatureSet_msg_init}, - {.submsg = &google_protobuf_UninterpretedOption_msg_init}, - {.subenum = &google_protobuf_FieldOptions_CType_enum_init}, - {.subenum = &google_protobuf_FieldOptions_JSType_enum_init}, - {.subenum = &google_protobuf_FieldOptions_OptionRetention_enum_init}, - {.subenum = &google_protobuf_FieldOptions_OptionTargetType_enum_init}, -}; - -static const upb_MiniTableField google_protobuf_FieldOptions__fields[13] = { - {1, 4, 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, 9, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, 10, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, 12, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {10, 16, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {15, 17, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {16, 18, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {17, 20, 9, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {21, UPB_SIZE(32, 40), 10, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_FieldOptions_msg_init = { - &google_protobuf_FieldOptions_submsgs[0], - &google_protobuf_FieldOptions__fields[0], - UPB_SIZE(40, 56), 13, kUpb_ExtMode_Extendable, 3, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000002000010, &upb_psb1_1bt}, - {0x0009000003000018, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000a000004000028, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0010000006000050, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0011000007000078, &upb_psb1_1bt}, - {0x0012000008000180, &upb_psb1_2bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x002000003f0001a2, &upb_prm_2bt_max64b}, - {0x002800000a0101aa, &upb_psm_2bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x003000003f023eba, &upb_prm_2bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField google_protobuf_FieldOptions_EditionDefault__fields[2] = { - {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_FieldOptions_EditionDefault_msg_init = { - NULL, - &google_protobuf_FieldOptions_EditionDefault__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pss_1bt}, - {0x0018000002000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_OneofOptions_submsgs[2] = { - {.submsg = &google_protobuf_FeatureSet_msg_init}, - {.submsg = &google_protobuf_UninterpretedOption_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_OneofOptions__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_OneofOptions_msg_init = { - &google_protobuf_OneofOptions_submsgs[0], - &google_protobuf_OneofOptions__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f013eba, &upb_prm_2bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_EnumOptions_submsgs[2] = { - {.submsg = &google_protobuf_FeatureSet_msg_init}, - {.submsg = &google_protobuf_UninterpretedOption_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_EnumOptions__fields[5] = { - {2, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {6, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(4, 8), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_EnumOptions_msg_init = { - &google_protobuf_EnumOptions_submsgs[0], - &google_protobuf_EnumOptions__fields[0], - UPB_SIZE(16, 24), 5, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0001000001000010, &upb_psb1_1bt}, - {0x0002000002000018, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0003000003000030, &upb_psb1_1bt}, - {0x000800000400003a, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f013eba, &upb_prm_2bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_EnumValueOptions_submsgs[2] = { - {.submsg = &google_protobuf_FeatureSet_msg_init}, - {.submsg = &google_protobuf_UninterpretedOption_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_EnumValueOptions__fields[4] = { - {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 2), 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_EnumValueOptions_msg_init = { - &google_protobuf_EnumValueOptions_submsgs[0], - &google_protobuf_EnumValueOptions__fields[0], - UPB_SIZE(16, 24), 4, kUpb_ExtMode_Extendable, 3, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0001000001000008, &upb_psb1_1bt}, - {0x0008000002000012, &upb_psm_1bt_max64b}, - {0x0002000003000018, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f013eba, &upb_prm_2bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_ServiceOptions_submsgs[2] = { - {.submsg = &google_protobuf_FeatureSet_msg_init}, - {.submsg = &google_protobuf_UninterpretedOption_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_ServiceOptions__fields[3] = { - {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {34, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_ServiceOptions_msg_init = { - &google_protobuf_ServiceOptions_submsgs[0], - &google_protobuf_ServiceOptions__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0001000001000288, &upb_psb1_2bt}, - {0x0008000002000292, &upb_psm_2bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f013eba, &upb_prm_2bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_MethodOptions_submsgs[3] = { - {.submsg = &google_protobuf_FeatureSet_msg_init}, - {.submsg = &google_protobuf_UninterpretedOption_msg_init}, - {.subenum = &google_protobuf_MethodOptions_IdempotencyLevel_enum_init}, -}; - -static const upb_MiniTableField google_protobuf_MethodOptions__fields[4] = { - {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {34, 4, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {35, 8, 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_MethodOptions_msg_init = { - &google_protobuf_MethodOptions_submsgs[0], - &google_protobuf_MethodOptions__fields[0], - UPB_SIZE(16, 24), 4, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0001000001000288, &upb_psb1_2bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000300029a, &upb_psm_2bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f013eba, &upb_prm_2bt_max128b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_UninterpretedOption_submsgs[1] = { - {.submsg = &google_protobuf_UninterpretedOption_NamePart_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_UninterpretedOption__fields[7] = { - {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(24, 40), 3, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(32, 48), 4, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(40, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(48, 72), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_UninterpretedOption_msg_init = { - &google_protobuf_UninterpretedOption_submsgs[0], - &google_protobuf_UninterpretedOption__fields[0], - UPB_SIZE(56, 88), 7, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000012, &upb_prm_1bt_max64b}, - {0x001000000100001a, &upb_pss_1bt}, - {0x0020000002000020, &upb_psv8_1bt}, - {0x0028000003000028, &upb_psv8_1bt}, - {0x0030000004000031, &upb_psf8_1bt}, - {0x003800000500003a, &upb_psb_1bt}, - {0x0048000006000042, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField google_protobuf_UninterpretedOption_NamePart__fields[2] = { - {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 1, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_UninterpretedOption_NamePart_msg_init = { - NULL, - &google_protobuf_UninterpretedOption_NamePart__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 2, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pss_1bt}, - {0x0001000002000010, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_FeatureSet_submsgs[7] = { - {.submsg = &google_protobuf_FeatureSet_msg_init}, - {.subenum = &google_protobuf_FeatureSet_FieldPresence_enum_init}, - {.subenum = &google_protobuf_FeatureSet_EnumType_enum_init}, - {.subenum = &google_protobuf_FeatureSet_RepeatedFieldEncoding_enum_init}, - {.subenum = &google_protobuf_FeatureSet_StringFieldValidation_enum_init}, - {.subenum = &google_protobuf_FeatureSet_MessageEncoding_enum_init}, - {.subenum = &google_protobuf_FeatureSet_JsonFormat_enum_init}, -}; - -static const upb_MiniTableField google_protobuf_FeatureSet__fields[7] = { - {1, 4, 1, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, 12, 3, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, 16, 4, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {5, 20, 5, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, 24, 6, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {999, UPB_SIZE(28, 32), 7, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_FeatureSet_msg_init = { - &google_protobuf_FeatureSet_submsgs[0], - &google_protobuf_FeatureSet__fields[0], - UPB_SIZE(32, 40), 7, kUpb_ExtMode_Extendable, 6, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0020000007003eba, &upb_psm_2bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_SourceCodeInfo_submsgs[1] = { - {.submsg = &google_protobuf_SourceCodeInfo_Location_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_SourceCodeInfo__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_SourceCodeInfo_msg_init = { - &google_protobuf_SourceCodeInfo_submsgs[0], - &google_protobuf_SourceCodeInfo__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max128b}, - }) -}; - -static const upb_MiniTableField google_protobuf_SourceCodeInfo_Location__fields[5] = { - {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(16, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(24, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_SourceCodeInfo_Location_msg_init = { - NULL, - &google_protobuf_SourceCodeInfo_Location__fields[0], - UPB_SIZE(32, 64), 5, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_ppv4_1bt}, - {0x001000003f000012, &upb_ppv4_1bt}, - {0x001800000100001a, &upb_pss_1bt}, - {0x0028000002000022, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x003800003f000032, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_GeneratedCodeInfo_submsgs[1] = { - {.submsg = &google_protobuf_GeneratedCodeInfo_Annotation_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_GeneratedCodeInfo__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_GeneratedCodeInfo_msg_init = { - &google_protobuf_GeneratedCodeInfo_submsgs[0], - &google_protobuf_GeneratedCodeInfo__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub google_protobuf_GeneratedCodeInfo_Annotation_submsgs[1] = { - {.subenum = &google_protobuf_GeneratedCodeInfo_Annotation_Semantic_enum_init}, -}; - -static const upb_MiniTableField google_protobuf_GeneratedCodeInfo_Annotation__fields[5] = { - {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(20, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 4), 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 8), 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 12), 4, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_GeneratedCodeInfo_Annotation_msg_init = { - &google_protobuf_GeneratedCodeInfo_Annotation_submsgs[0], - &google_protobuf_GeneratedCodeInfo_Annotation__fields[0], - UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000003f00000a, &upb_ppv4_1bt}, - {0x0018000001000012, &upb_pss_1bt}, - {0x0004000002000018, &upb_psv4_1bt}, - {0x0008000003000020, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[30] = { - &google_protobuf_FileDescriptorSet_msg_init, - &google_protobuf_FileDescriptorProto_msg_init, - &google_protobuf_DescriptorProto_msg_init, - &google_protobuf_DescriptorProto_ExtensionRange_msg_init, - &google_protobuf_DescriptorProto_ReservedRange_msg_init, - &google_protobuf_ExtensionRangeOptions_msg_init, - &google_protobuf_ExtensionRangeOptions_Declaration_msg_init, - &google_protobuf_FieldDescriptorProto_msg_init, - &google_protobuf_OneofDescriptorProto_msg_init, - &google_protobuf_EnumDescriptorProto_msg_init, - &google_protobuf_EnumDescriptorProto_EnumReservedRange_msg_init, - &google_protobuf_EnumValueDescriptorProto_msg_init, - &google_protobuf_ServiceDescriptorProto_msg_init, - &google_protobuf_MethodDescriptorProto_msg_init, - &google_protobuf_FileOptions_msg_init, - &google_protobuf_MessageOptions_msg_init, - &google_protobuf_FieldOptions_msg_init, - &google_protobuf_FieldOptions_EditionDefault_msg_init, - &google_protobuf_OneofOptions_msg_init, - &google_protobuf_EnumOptions_msg_init, - &google_protobuf_EnumValueOptions_msg_init, - &google_protobuf_ServiceOptions_msg_init, - &google_protobuf_MethodOptions_msg_init, - &google_protobuf_UninterpretedOption_msg_init, - &google_protobuf_UninterpretedOption_NamePart_msg_init, - &google_protobuf_FeatureSet_msg_init, - &google_protobuf_SourceCodeInfo_msg_init, - &google_protobuf_SourceCodeInfo_Location_msg_init, - &google_protobuf_GeneratedCodeInfo_msg_init, - &google_protobuf_GeneratedCodeInfo_Annotation_msg_init, -}; - -const upb_MiniTableEnum google_protobuf_ExtensionRangeOptions_VerificationState_enum_init = { - 64, - 0, - { - 0x3, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_FeatureSet_EnumType_enum_init = { - 64, - 0, - { - 0x7, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_FeatureSet_FieldPresence_enum_init = { - 64, - 0, - { - 0xf, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_FeatureSet_JsonFormat_enum_init = { - 64, - 0, - { - 0x7, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_FeatureSet_MessageEncoding_enum_init = { - 64, - 0, - { - 0x7, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_FeatureSet_RepeatedFieldEncoding_enum_init = { - 64, - 0, - { - 0x7, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_FeatureSet_StringFieldValidation_enum_init = { - 64, - 0, - { - 0xf, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_FieldDescriptorProto_Label_enum_init = { - 64, - 0, - { - 0xe, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_FieldDescriptorProto_Type_enum_init = { - 64, - 0, - { - 0x7fffe, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_FieldOptions_CType_enum_init = { - 64, - 0, - { - 0x7, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_FieldOptions_JSType_enum_init = { - 64, - 0, - { - 0x7, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_FieldOptions_OptionRetention_enum_init = { - 64, - 0, - { - 0x7, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_FieldOptions_OptionTargetType_enum_init = { - 64, - 0, - { - 0x3ff, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_FileOptions_OptimizeMode_enum_init = { - 64, - 0, - { - 0xe, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_GeneratedCodeInfo_Annotation_Semantic_enum_init = { - 64, - 0, - { - 0x7, - 0x0, - }, -}; - -const upb_MiniTableEnum google_protobuf_MethodOptions_IdempotencyLevel_enum_init = { - 64, - 0, - { - 0x7, - 0x0, - }, -}; - -static const upb_MiniTableEnum *enums_layout[16] = { - &google_protobuf_ExtensionRangeOptions_VerificationState_enum_init, - &google_protobuf_FeatureSet_EnumType_enum_init, - &google_protobuf_FeatureSet_FieldPresence_enum_init, - &google_protobuf_FeatureSet_JsonFormat_enum_init, - &google_protobuf_FeatureSet_MessageEncoding_enum_init, - &google_protobuf_FeatureSet_RepeatedFieldEncoding_enum_init, - &google_protobuf_FeatureSet_StringFieldValidation_enum_init, - &google_protobuf_FieldDescriptorProto_Label_enum_init, - &google_protobuf_FieldDescriptorProto_Type_enum_init, - &google_protobuf_FieldOptions_CType_enum_init, - &google_protobuf_FieldOptions_JSType_enum_init, - &google_protobuf_FieldOptions_OptionRetention_enum_init, - &google_protobuf_FieldOptions_OptionTargetType_enum_init, - &google_protobuf_FileOptions_OptimizeMode_enum_init, - &google_protobuf_GeneratedCodeInfo_Annotation_Semantic_enum_init, - &google_protobuf_MethodOptions_IdempotencyLevel_enum_init, -}; - -const upb_MiniTableFile google_protobuf_descriptor_proto_upb_file_layout = { - messages_layout, - enums_layout, - NULL, - 30, - 16, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h b/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h deleted file mode 100644 index 80cf72e001f..00000000000 --- a/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +++ /dev/null @@ -1,6236 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/protobuf/descriptor.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H_ -#define GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct google_protobuf_FileDescriptorSet google_protobuf_FileDescriptorSet; -typedef struct google_protobuf_FileDescriptorProto google_protobuf_FileDescriptorProto; -typedef struct google_protobuf_DescriptorProto google_protobuf_DescriptorProto; -typedef struct google_protobuf_DescriptorProto_ExtensionRange google_protobuf_DescriptorProto_ExtensionRange; -typedef struct google_protobuf_DescriptorProto_ReservedRange google_protobuf_DescriptorProto_ReservedRange; -typedef struct google_protobuf_ExtensionRangeOptions google_protobuf_ExtensionRangeOptions; -typedef struct google_protobuf_ExtensionRangeOptions_Declaration google_protobuf_ExtensionRangeOptions_Declaration; -typedef struct google_protobuf_FieldDescriptorProto google_protobuf_FieldDescriptorProto; -typedef struct google_protobuf_OneofDescriptorProto google_protobuf_OneofDescriptorProto; -typedef struct google_protobuf_EnumDescriptorProto google_protobuf_EnumDescriptorProto; -typedef struct google_protobuf_EnumDescriptorProto_EnumReservedRange google_protobuf_EnumDescriptorProto_EnumReservedRange; -typedef struct google_protobuf_EnumValueDescriptorProto google_protobuf_EnumValueDescriptorProto; -typedef struct google_protobuf_ServiceDescriptorProto google_protobuf_ServiceDescriptorProto; -typedef struct google_protobuf_MethodDescriptorProto google_protobuf_MethodDescriptorProto; -typedef struct google_protobuf_FileOptions google_protobuf_FileOptions; -typedef struct google_protobuf_MessageOptions google_protobuf_MessageOptions; -typedef struct google_protobuf_FieldOptions google_protobuf_FieldOptions; -typedef struct google_protobuf_FieldOptions_EditionDefault google_protobuf_FieldOptions_EditionDefault; -typedef struct google_protobuf_OneofOptions google_protobuf_OneofOptions; -typedef struct google_protobuf_EnumOptions google_protobuf_EnumOptions; -typedef struct google_protobuf_EnumValueOptions google_protobuf_EnumValueOptions; -typedef struct google_protobuf_ServiceOptions google_protobuf_ServiceOptions; -typedef struct google_protobuf_MethodOptions google_protobuf_MethodOptions; -typedef struct google_protobuf_UninterpretedOption google_protobuf_UninterpretedOption; -typedef struct google_protobuf_UninterpretedOption_NamePart google_protobuf_UninterpretedOption_NamePart; -typedef struct google_protobuf_FeatureSet google_protobuf_FeatureSet; -typedef struct google_protobuf_SourceCodeInfo google_protobuf_SourceCodeInfo; -typedef struct google_protobuf_SourceCodeInfo_Location google_protobuf_SourceCodeInfo_Location; -typedef struct google_protobuf_GeneratedCodeInfo google_protobuf_GeneratedCodeInfo; -typedef struct google_protobuf_GeneratedCodeInfo_Annotation google_protobuf_GeneratedCodeInfo_Annotation; -extern const upb_MiniTable google_protobuf_FileDescriptorSet_msg_init; -extern const upb_MiniTable google_protobuf_FileDescriptorProto_msg_init; -extern const upb_MiniTable google_protobuf_DescriptorProto_msg_init; -extern const upb_MiniTable google_protobuf_DescriptorProto_ExtensionRange_msg_init; -extern const upb_MiniTable google_protobuf_DescriptorProto_ReservedRange_msg_init; -extern const upb_MiniTable google_protobuf_ExtensionRangeOptions_msg_init; -extern const upb_MiniTable google_protobuf_ExtensionRangeOptions_Declaration_msg_init; -extern const upb_MiniTable google_protobuf_FieldDescriptorProto_msg_init; -extern const upb_MiniTable google_protobuf_OneofDescriptorProto_msg_init; -extern const upb_MiniTable google_protobuf_EnumDescriptorProto_msg_init; -extern const upb_MiniTable google_protobuf_EnumDescriptorProto_EnumReservedRange_msg_init; -extern const upb_MiniTable google_protobuf_EnumValueDescriptorProto_msg_init; -extern const upb_MiniTable google_protobuf_ServiceDescriptorProto_msg_init; -extern const upb_MiniTable google_protobuf_MethodDescriptorProto_msg_init; -extern const upb_MiniTable google_protobuf_FileOptions_msg_init; -extern const upb_MiniTable google_protobuf_MessageOptions_msg_init; -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -extern const upb_MiniTable google_protobuf_FieldOptions_EditionDefault_msg_init; -extern const upb_MiniTable google_protobuf_OneofOptions_msg_init; -extern const upb_MiniTable google_protobuf_EnumOptions_msg_init; -extern const upb_MiniTable google_protobuf_EnumValueOptions_msg_init; -extern const upb_MiniTable google_protobuf_ServiceOptions_msg_init; -extern const upb_MiniTable google_protobuf_MethodOptions_msg_init; -extern const upb_MiniTable google_protobuf_UninterpretedOption_msg_init; -extern const upb_MiniTable google_protobuf_UninterpretedOption_NamePart_msg_init; -extern const upb_MiniTable google_protobuf_FeatureSet_msg_init; -extern const upb_MiniTable google_protobuf_SourceCodeInfo_msg_init; -extern const upb_MiniTable google_protobuf_SourceCodeInfo_Location_msg_init; -extern const upb_MiniTable google_protobuf_GeneratedCodeInfo_msg_init; -extern const upb_MiniTable google_protobuf_GeneratedCodeInfo_Annotation_msg_init; - -typedef enum { - google_protobuf_ExtensionRangeOptions_DECLARATION = 0, - google_protobuf_ExtensionRangeOptions_UNVERIFIED = 1 -} google_protobuf_ExtensionRangeOptions_VerificationState; - -typedef enum { - google_protobuf_FeatureSet_ENUM_TYPE_UNKNOWN = 0, - google_protobuf_FeatureSet_OPEN = 1, - google_protobuf_FeatureSet_CLOSED = 2 -} google_protobuf_FeatureSet_EnumType; - -typedef enum { - google_protobuf_FeatureSet_FIELD_PRESENCE_UNKNOWN = 0, - google_protobuf_FeatureSet_EXPLICIT = 1, - google_protobuf_FeatureSet_IMPLICIT = 2, - google_protobuf_FeatureSet_LEGACY_REQUIRED = 3 -} google_protobuf_FeatureSet_FieldPresence; - -typedef enum { - google_protobuf_FeatureSet_JSON_FORMAT_UNKNOWN = 0, - google_protobuf_FeatureSet_ALLOW = 1, - google_protobuf_FeatureSet_LEGACY_BEST_EFFORT = 2 -} google_protobuf_FeatureSet_JsonFormat; - -typedef enum { - google_protobuf_FeatureSet_MESSAGE_ENCODING_UNKNOWN = 0, - google_protobuf_FeatureSet_LENGTH_PREFIXED = 1, - google_protobuf_FeatureSet_DELIMITED = 2 -} google_protobuf_FeatureSet_MessageEncoding; - -typedef enum { - google_protobuf_FeatureSet_REPEATED_FIELD_ENCODING_UNKNOWN = 0, - google_protobuf_FeatureSet_PACKED = 1, - google_protobuf_FeatureSet_EXPANDED = 2 -} google_protobuf_FeatureSet_RepeatedFieldEncoding; - -typedef enum { - google_protobuf_FeatureSet_STRING_FIELD_VALIDATION_UNKNOWN = 0, - google_protobuf_FeatureSet_MANDATORY = 1, - google_protobuf_FeatureSet_HINT = 2, - google_protobuf_FeatureSet_NONE = 3 -} google_protobuf_FeatureSet_StringFieldValidation; - -typedef enum { - google_protobuf_FieldDescriptorProto_LABEL_OPTIONAL = 1, - google_protobuf_FieldDescriptorProto_LABEL_REQUIRED = 2, - google_protobuf_FieldDescriptorProto_LABEL_REPEATED = 3 -} google_protobuf_FieldDescriptorProto_Label; - -typedef enum { - google_protobuf_FieldDescriptorProto_TYPE_DOUBLE = 1, - google_protobuf_FieldDescriptorProto_TYPE_FLOAT = 2, - google_protobuf_FieldDescriptorProto_TYPE_INT64 = 3, - google_protobuf_FieldDescriptorProto_TYPE_UINT64 = 4, - google_protobuf_FieldDescriptorProto_TYPE_INT32 = 5, - google_protobuf_FieldDescriptorProto_TYPE_FIXED64 = 6, - google_protobuf_FieldDescriptorProto_TYPE_FIXED32 = 7, - google_protobuf_FieldDescriptorProto_TYPE_BOOL = 8, - google_protobuf_FieldDescriptorProto_TYPE_STRING = 9, - google_protobuf_FieldDescriptorProto_TYPE_GROUP = 10, - google_protobuf_FieldDescriptorProto_TYPE_MESSAGE = 11, - google_protobuf_FieldDescriptorProto_TYPE_BYTES = 12, - google_protobuf_FieldDescriptorProto_TYPE_UINT32 = 13, - google_protobuf_FieldDescriptorProto_TYPE_ENUM = 14, - google_protobuf_FieldDescriptorProto_TYPE_SFIXED32 = 15, - google_protobuf_FieldDescriptorProto_TYPE_SFIXED64 = 16, - google_protobuf_FieldDescriptorProto_TYPE_SINT32 = 17, - google_protobuf_FieldDescriptorProto_TYPE_SINT64 = 18 -} google_protobuf_FieldDescriptorProto_Type; - -typedef enum { - google_protobuf_FieldOptions_STRING = 0, - google_protobuf_FieldOptions_CORD = 1, - google_protobuf_FieldOptions_STRING_PIECE = 2 -} google_protobuf_FieldOptions_CType; - -typedef enum { - google_protobuf_FieldOptions_JS_NORMAL = 0, - google_protobuf_FieldOptions_JS_STRING = 1, - google_protobuf_FieldOptions_JS_NUMBER = 2 -} google_protobuf_FieldOptions_JSType; - -typedef enum { - google_protobuf_FieldOptions_RETENTION_UNKNOWN = 0, - google_protobuf_FieldOptions_RETENTION_RUNTIME = 1, - google_protobuf_FieldOptions_RETENTION_SOURCE = 2 -} google_protobuf_FieldOptions_OptionRetention; - -typedef enum { - google_protobuf_FieldOptions_TARGET_TYPE_UNKNOWN = 0, - google_protobuf_FieldOptions_TARGET_TYPE_FILE = 1, - google_protobuf_FieldOptions_TARGET_TYPE_EXTENSION_RANGE = 2, - google_protobuf_FieldOptions_TARGET_TYPE_MESSAGE = 3, - google_protobuf_FieldOptions_TARGET_TYPE_FIELD = 4, - google_protobuf_FieldOptions_TARGET_TYPE_ONEOF = 5, - google_protobuf_FieldOptions_TARGET_TYPE_ENUM = 6, - google_protobuf_FieldOptions_TARGET_TYPE_ENUM_ENTRY = 7, - google_protobuf_FieldOptions_TARGET_TYPE_SERVICE = 8, - google_protobuf_FieldOptions_TARGET_TYPE_METHOD = 9 -} google_protobuf_FieldOptions_OptionTargetType; - -typedef enum { - google_protobuf_FileOptions_SPEED = 1, - google_protobuf_FileOptions_CODE_SIZE = 2, - google_protobuf_FileOptions_LITE_RUNTIME = 3 -} google_protobuf_FileOptions_OptimizeMode; - -typedef enum { - google_protobuf_GeneratedCodeInfo_Annotation_NONE = 0, - google_protobuf_GeneratedCodeInfo_Annotation_SET = 1, - google_protobuf_GeneratedCodeInfo_Annotation_ALIAS = 2 -} google_protobuf_GeneratedCodeInfo_Annotation_Semantic; - -typedef enum { - google_protobuf_MethodOptions_IDEMPOTENCY_UNKNOWN = 0, - google_protobuf_MethodOptions_NO_SIDE_EFFECTS = 1, - google_protobuf_MethodOptions_IDEMPOTENT = 2 -} google_protobuf_MethodOptions_IdempotencyLevel; - - -extern const upb_MiniTableEnum google_protobuf_ExtensionRangeOptions_VerificationState_enum_init; -extern const upb_MiniTableEnum google_protobuf_FeatureSet_EnumType_enum_init; -extern const upb_MiniTableEnum google_protobuf_FeatureSet_FieldPresence_enum_init; -extern const upb_MiniTableEnum google_protobuf_FeatureSet_JsonFormat_enum_init; -extern const upb_MiniTableEnum google_protobuf_FeatureSet_MessageEncoding_enum_init; -extern const upb_MiniTableEnum google_protobuf_FeatureSet_RepeatedFieldEncoding_enum_init; -extern const upb_MiniTableEnum google_protobuf_FeatureSet_StringFieldValidation_enum_init; -extern const upb_MiniTableEnum google_protobuf_FieldDescriptorProto_Label_enum_init; -extern const upb_MiniTableEnum google_protobuf_FieldDescriptorProto_Type_enum_init; -extern const upb_MiniTableEnum google_protobuf_FieldOptions_CType_enum_init; -extern const upb_MiniTableEnum google_protobuf_FieldOptions_JSType_enum_init; -extern const upb_MiniTableEnum google_protobuf_FieldOptions_OptionRetention_enum_init; -extern const upb_MiniTableEnum google_protobuf_FieldOptions_OptionTargetType_enum_init; -extern const upb_MiniTableEnum google_protobuf_FileOptions_OptimizeMode_enum_init; -extern const upb_MiniTableEnum google_protobuf_GeneratedCodeInfo_Annotation_Semantic_enum_init; -extern const upb_MiniTableEnum google_protobuf_MethodOptions_IdempotencyLevel_enum_init; - -/* google.protobuf.FileDescriptorSet */ - -UPB_INLINE google_protobuf_FileDescriptorSet* google_protobuf_FileDescriptorSet_new(upb_Arena* arena) { - return (google_protobuf_FileDescriptorSet*)_upb_Message_New(&google_protobuf_FileDescriptorSet_msg_init, arena); -} -UPB_INLINE google_protobuf_FileDescriptorSet* google_protobuf_FileDescriptorSet_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_FileDescriptorSet* ret = google_protobuf_FileDescriptorSet_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FileDescriptorSet_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_FileDescriptorSet* google_protobuf_FileDescriptorSet_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_FileDescriptorSet* ret = google_protobuf_FileDescriptorSet_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FileDescriptorSet_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_FileDescriptorSet_serialize(const google_protobuf_FileDescriptorSet* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FileDescriptorSet_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_FileDescriptorSet_serialize_ex(const google_protobuf_FileDescriptorSet* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FileDescriptorSet_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_FileDescriptorSet_clear_file(google_protobuf_FileDescriptorSet* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FileDescriptorProto* const* google_protobuf_FileDescriptorSet_file(const google_protobuf_FileDescriptorSet* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_FileDescriptorProto* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorSet_file_upb_array(const google_protobuf_FileDescriptorSet* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_FileDescriptorSet_file_mutable_upb_array(const google_protobuf_FileDescriptorSet* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_FileDescriptorSet_has_file(const google_protobuf_FileDescriptorSet* msg) { - size_t size; - google_protobuf_FileDescriptorSet_file(msg, &size); - return size != 0; -} - -UPB_INLINE google_protobuf_FileDescriptorProto** google_protobuf_FileDescriptorSet_mutable_file(google_protobuf_FileDescriptorSet* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_FileDescriptorProto**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_FileDescriptorProto** google_protobuf_FileDescriptorSet_resize_file(google_protobuf_FileDescriptorSet* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_FileDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_FileDescriptorProto* google_protobuf_FileDescriptorSet_add_file(google_protobuf_FileDescriptorSet* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_FileDescriptorProto* sub = (struct google_protobuf_FileDescriptorProto*)_upb_Message_New(&google_protobuf_FileDescriptorProto_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* google.protobuf.FileDescriptorProto */ - -UPB_INLINE google_protobuf_FileDescriptorProto* google_protobuf_FileDescriptorProto_new(upb_Arena* arena) { - return (google_protobuf_FileDescriptorProto*)_upb_Message_New(&google_protobuf_FileDescriptorProto_msg_init, arena); -} -UPB_INLINE google_protobuf_FileDescriptorProto* google_protobuf_FileDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_FileDescriptorProto* ret = google_protobuf_FileDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FileDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_FileDescriptorProto* google_protobuf_FileDescriptorProto_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_FileDescriptorProto* ret = google_protobuf_FileDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FileDescriptorProto_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_FileDescriptorProto_serialize(const google_protobuf_FileDescriptorProto* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FileDescriptorProto_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_FileDescriptorProto_serialize_ex(const google_protobuf_FileDescriptorProto* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FileDescriptorProto_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_FileDescriptorProto_clear_name(google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileDescriptorProto_name(const google_protobuf_FileDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_has_name(const google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileDescriptorProto_clear_package(google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(48, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileDescriptorProto_package(const google_protobuf_FileDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(48, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_has_package(const google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(48, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileDescriptorProto_clear_dependency(google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* google_protobuf_FileDescriptorProto_dependency(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_dependency_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_dependency_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_has_dependency(const google_protobuf_FileDescriptorProto* msg) { - size_t size; - google_protobuf_FileDescriptorProto_dependency(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_FileDescriptorProto_clear_message_type(google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_DescriptorProto* const* google_protobuf_FileDescriptorProto_message_type(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_DescriptorProto* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_message_type_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_message_type_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_has_message_type(const google_protobuf_FileDescriptorProto* msg) { - size_t size; - google_protobuf_FileDescriptorProto_message_type(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_FileDescriptorProto_clear_enum_type(google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_EnumDescriptorProto* const* google_protobuf_FileDescriptorProto_enum_type(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_EnumDescriptorProto* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_enum_type_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_enum_type_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_has_enum_type(const google_protobuf_FileDescriptorProto* msg) { - size_t size; - google_protobuf_FileDescriptorProto_enum_type(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_FileDescriptorProto_clear_service(google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_ServiceDescriptorProto* const* google_protobuf_FileDescriptorProto_service(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_ServiceDescriptorProto* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_service_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_service_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_has_service(const google_protobuf_FileDescriptorProto* msg) { - size_t size; - google_protobuf_FileDescriptorProto_service(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_FileDescriptorProto_clear_extension(google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_FileDescriptorProto_extension(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_FieldDescriptorProto* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_extension_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_extension_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_has_extension(const google_protobuf_FileDescriptorProto* msg) { - size_t size; - google_protobuf_FileDescriptorProto_extension(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_FileDescriptorProto_clear_options(google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(24, 80), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FileOptions* google_protobuf_FileDescriptorProto_options(const google_protobuf_FileDescriptorProto* msg) { - const google_protobuf_FileOptions* default_val = NULL; - const google_protobuf_FileOptions* ret; - const upb_MiniTableField field = {8, UPB_SIZE(24, 80), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_has_options(const google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(24, 80), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileDescriptorProto_clear_source_code_info(google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_SourceCodeInfo* google_protobuf_FileDescriptorProto_source_code_info(const google_protobuf_FileDescriptorProto* msg) { - const google_protobuf_SourceCodeInfo* default_val = NULL; - const google_protobuf_SourceCodeInfo* ret; - const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_has_source_code_info(const google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileDescriptorProto_clear_public_dependency(google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t const* google_protobuf_FileDescriptorProto_public_dependency(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_public_dependency_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_public_dependency_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_has_public_dependency(const google_protobuf_FileDescriptorProto* msg) { - size_t size; - google_protobuf_FileDescriptorProto_public_dependency(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_FileDescriptorProto_clear_weak_dependency(google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t const* google_protobuf_FileDescriptorProto_weak_dependency(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_weak_dependency_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_weak_dependency_mutable_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_has_weak_dependency(const google_protobuf_FileDescriptorProto* msg) { - size_t size; - google_protobuf_FileDescriptorProto_weak_dependency(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_FileDescriptorProto_clear_syntax(google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(56, 112), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileDescriptorProto_syntax(const google_protobuf_FileDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {12, UPB_SIZE(56, 112), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_has_syntax(const google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {12, UPB_SIZE(56, 112), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileDescriptorProto_clear_edition(google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(64, 128), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileDescriptorProto_edition(const google_protobuf_FileDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {13, UPB_SIZE(64, 128), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_has_edition(const google_protobuf_FileDescriptorProto* msg) { - const upb_MiniTableField field = {13, UPB_SIZE(64, 128), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_FileDescriptorProto_set_name(google_protobuf_FileDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileDescriptorProto_set_package(google_protobuf_FileDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(48, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_mutable_dependency(google_protobuf_FileDescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_resize_dependency(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_add_dependency(google_protobuf_FileDescriptorProto* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {3, UPB_SIZE(4, 40), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_FileDescriptorProto_mutable_message_type(google_protobuf_FileDescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_DescriptorProto**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_FileDescriptorProto_resize_message_type(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_DescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_DescriptorProto* google_protobuf_FileDescriptorProto_add_message_type(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {4, UPB_SIZE(8, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_DescriptorProto* sub = (struct google_protobuf_DescriptorProto*)_upb_Message_New(&google_protobuf_DescriptorProto_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_FileDescriptorProto_mutable_enum_type(google_protobuf_FileDescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_EnumDescriptorProto**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_FileDescriptorProto_resize_enum_type(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_EnumDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_EnumDescriptorProto* google_protobuf_FileDescriptorProto_add_enum_type(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {5, UPB_SIZE(12, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_EnumDescriptorProto* sub = (struct google_protobuf_EnumDescriptorProto*)_upb_Message_New(&google_protobuf_EnumDescriptorProto_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE google_protobuf_ServiceDescriptorProto** google_protobuf_FileDescriptorProto_mutable_service(google_protobuf_FileDescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_ServiceDescriptorProto**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_ServiceDescriptorProto** google_protobuf_FileDescriptorProto_resize_service(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_ServiceDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_ServiceDescriptorProto* google_protobuf_FileDescriptorProto_add_service(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {6, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_ServiceDescriptorProto* sub = (struct google_protobuf_ServiceDescriptorProto*)_upb_Message_New(&google_protobuf_ServiceDescriptorProto_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_FileDescriptorProto_mutable_extension(google_protobuf_FileDescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_FieldDescriptorProto**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_FileDescriptorProto_resize_extension(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_FieldDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_FileDescriptorProto_add_extension(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {7, UPB_SIZE(20, 72), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)_upb_Message_New(&google_protobuf_FieldDescriptorProto_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void google_protobuf_FileDescriptorProto_set_options(google_protobuf_FileDescriptorProto *msg, google_protobuf_FileOptions* value) { - const upb_MiniTableField field = {8, UPB_SIZE(24, 80), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_FileOptions* google_protobuf_FileDescriptorProto_mutable_options(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { - struct google_protobuf_FileOptions* sub = (struct google_protobuf_FileOptions*)google_protobuf_FileDescriptorProto_options(msg); - if (sub == NULL) { - sub = (struct google_protobuf_FileOptions*)_upb_Message_New(&google_protobuf_FileOptions_msg_init, arena); - if (sub) google_protobuf_FileDescriptorProto_set_options(msg, sub); - } - return sub; -} -UPB_INLINE void google_protobuf_FileDescriptorProto_set_source_code_info(google_protobuf_FileDescriptorProto *msg, google_protobuf_SourceCodeInfo* value) { - const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 4, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_SourceCodeInfo* google_protobuf_FileDescriptorProto_mutable_source_code_info(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { - struct google_protobuf_SourceCodeInfo* sub = (struct google_protobuf_SourceCodeInfo*)google_protobuf_FileDescriptorProto_source_code_info(msg); - if (sub == NULL) { - sub = (struct google_protobuf_SourceCodeInfo*)_upb_Message_New(&google_protobuf_SourceCodeInfo_msg_init, arena); - if (sub) google_protobuf_FileDescriptorProto_set_source_code_info(msg, sub); - } - return sub; -} -UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_mutable_public_dependency(google_protobuf_FileDescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_resize_public_dependency(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_add_public_dependency(google_protobuf_FileDescriptorProto* msg, int32_t val, upb_Arena* arena) { - upb_MiniTableField field = {10, UPB_SIZE(32, 96), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_mutable_weak_dependency(google_protobuf_FileDescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_resize_weak_dependency(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool google_protobuf_FileDescriptorProto_add_weak_dependency(google_protobuf_FileDescriptorProto* msg, int32_t val, upb_Arena* arena) { - upb_MiniTableField field = {11, UPB_SIZE(36, 104), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE void google_protobuf_FileDescriptorProto_set_syntax(google_protobuf_FileDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {12, UPB_SIZE(56, 112), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileDescriptorProto_set_edition(google_protobuf_FileDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {13, UPB_SIZE(64, 128), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* google.protobuf.DescriptorProto */ - -UPB_INLINE google_protobuf_DescriptorProto* google_protobuf_DescriptorProto_new(upb_Arena* arena) { - return (google_protobuf_DescriptorProto*)_upb_Message_New(&google_protobuf_DescriptorProto_msg_init, arena); -} -UPB_INLINE google_protobuf_DescriptorProto* google_protobuf_DescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_DescriptorProto* ret = google_protobuf_DescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_DescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_DescriptorProto* google_protobuf_DescriptorProto_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_DescriptorProto* ret = google_protobuf_DescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_DescriptorProto_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_DescriptorProto_serialize(const google_protobuf_DescriptorProto* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_DescriptorProto_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_DescriptorProto_serialize_ex(const google_protobuf_DescriptorProto* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_DescriptorProto_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_DescriptorProto_clear_name(google_protobuf_DescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_DescriptorProto_name(const google_protobuf_DescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_DescriptorProto_has_name(const google_protobuf_DescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_DescriptorProto_clear_field(google_protobuf_DescriptorProto* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_DescriptorProto_field(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_FieldDescriptorProto* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_field_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_field_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_DescriptorProto_has_field(const google_protobuf_DescriptorProto* msg) { - size_t size; - google_protobuf_DescriptorProto_field(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_DescriptorProto_clear_nested_type(google_protobuf_DescriptorProto* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_DescriptorProto* const* google_protobuf_DescriptorProto_nested_type(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_DescriptorProto* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_nested_type_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_nested_type_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_DescriptorProto_has_nested_type(const google_protobuf_DescriptorProto* msg) { - size_t size; - google_protobuf_DescriptorProto_nested_type(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_DescriptorProto_clear_enum_type(google_protobuf_DescriptorProto* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_EnumDescriptorProto* const* google_protobuf_DescriptorProto_enum_type(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_EnumDescriptorProto* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_enum_type_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_enum_type_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_DescriptorProto_has_enum_type(const google_protobuf_DescriptorProto* msg) { - size_t size; - google_protobuf_DescriptorProto_enum_type(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_DescriptorProto_clear_extension_range(google_protobuf_DescriptorProto* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_DescriptorProto_ExtensionRange* const* google_protobuf_DescriptorProto_extension_range(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_DescriptorProto_ExtensionRange* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_extension_range_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_extension_range_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_DescriptorProto_has_extension_range(const google_protobuf_DescriptorProto* msg) { - size_t size; - google_protobuf_DescriptorProto_extension_range(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_DescriptorProto_clear_extension(google_protobuf_DescriptorProto* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_DescriptorProto_extension(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_FieldDescriptorProto* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_extension_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_extension_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_DescriptorProto_has_extension(const google_protobuf_DescriptorProto* msg) { - size_t size; - google_protobuf_DescriptorProto_extension(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_DescriptorProto_clear_options(google_protobuf_DescriptorProto* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 2, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_MessageOptions* google_protobuf_DescriptorProto_options(const google_protobuf_DescriptorProto* msg) { - const google_protobuf_MessageOptions* default_val = NULL; - const google_protobuf_MessageOptions* ret; - const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 2, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_DescriptorProto_has_options(const google_protobuf_DescriptorProto* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 2, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_DescriptorProto_clear_oneof_decl(google_protobuf_DescriptorProto* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_OneofDescriptorProto* const* google_protobuf_DescriptorProto_oneof_decl(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_OneofDescriptorProto* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_oneof_decl_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_oneof_decl_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_DescriptorProto_has_oneof_decl(const google_protobuf_DescriptorProto* msg) { - size_t size; - google_protobuf_DescriptorProto_oneof_decl(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_DescriptorProto_clear_reserved_range(google_protobuf_DescriptorProto* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_DescriptorProto_ReservedRange* const* google_protobuf_DescriptorProto_reserved_range(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_DescriptorProto_ReservedRange* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_reserved_range_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_reserved_range_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_DescriptorProto_has_reserved_range(const google_protobuf_DescriptorProto* msg) { - size_t size; - google_protobuf_DescriptorProto_reserved_range(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_DescriptorProto_clear_reserved_name(google_protobuf_DescriptorProto* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* google_protobuf_DescriptorProto_reserved_name(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_DescriptorProto_reserved_name_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_reserved_name_mutable_upb_array(const google_protobuf_DescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_DescriptorProto_has_reserved_name(const google_protobuf_DescriptorProto* msg) { - size_t size; - google_protobuf_DescriptorProto_reserved_name(msg, &size); - return size != 0; -} - -UPB_INLINE void google_protobuf_DescriptorProto_set_name(google_protobuf_DescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(40, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_mutable_field(google_protobuf_DescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_FieldDescriptorProto**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_resize_field(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_FieldDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_DescriptorProto_add_field(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)_upb_Message_New(&google_protobuf_FieldDescriptorProto_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_DescriptorProto_mutable_nested_type(google_protobuf_DescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_DescriptorProto**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_DescriptorProto_resize_nested_type(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_DescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_DescriptorProto* google_protobuf_DescriptorProto_add_nested_type(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_DescriptorProto* sub = (struct google_protobuf_DescriptorProto*)_upb_Message_New(&google_protobuf_DescriptorProto_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_DescriptorProto_mutable_enum_type(google_protobuf_DescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_EnumDescriptorProto**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_DescriptorProto_resize_enum_type(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_EnumDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_EnumDescriptorProto* google_protobuf_DescriptorProto_add_enum_type(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_EnumDescriptorProto* sub = (struct google_protobuf_EnumDescriptorProto*)_upb_Message_New(&google_protobuf_EnumDescriptorProto_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange** google_protobuf_DescriptorProto_mutable_extension_range(google_protobuf_DescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_DescriptorProto_ExtensionRange**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange** google_protobuf_DescriptorProto_resize_extension_range(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_DescriptorProto_ExtensionRange**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_DescriptorProto_ExtensionRange* google_protobuf_DescriptorProto_add_extension_range(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_DescriptorProto_ExtensionRange* sub = (struct google_protobuf_DescriptorProto_ExtensionRange*)_upb_Message_New(&google_protobuf_DescriptorProto_ExtensionRange_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_mutable_extension(google_protobuf_DescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_FieldDescriptorProto**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_resize_extension(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_FieldDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_DescriptorProto_add_extension(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {6, UPB_SIZE(20, 56), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)_upb_Message_New(&google_protobuf_FieldDescriptorProto_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void google_protobuf_DescriptorProto_set_options(google_protobuf_DescriptorProto *msg, google_protobuf_MessageOptions* value) { - const upb_MiniTableField field = {7, UPB_SIZE(24, 64), 2, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_MessageOptions* google_protobuf_DescriptorProto_mutable_options(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { - struct google_protobuf_MessageOptions* sub = (struct google_protobuf_MessageOptions*)google_protobuf_DescriptorProto_options(msg); - if (sub == NULL) { - sub = (struct google_protobuf_MessageOptions*)_upb_Message_New(&google_protobuf_MessageOptions_msg_init, arena); - if (sub) google_protobuf_DescriptorProto_set_options(msg, sub); - } - return sub; -} -UPB_INLINE google_protobuf_OneofDescriptorProto** google_protobuf_DescriptorProto_mutable_oneof_decl(google_protobuf_DescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_OneofDescriptorProto**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_OneofDescriptorProto** google_protobuf_DescriptorProto_resize_oneof_decl(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_OneofDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_OneofDescriptorProto* google_protobuf_DescriptorProto_add_oneof_decl(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {8, UPB_SIZE(28, 72), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_OneofDescriptorProto* sub = (struct google_protobuf_OneofDescriptorProto*)_upb_Message_New(&google_protobuf_OneofDescriptorProto_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE google_protobuf_DescriptorProto_ReservedRange** google_protobuf_DescriptorProto_mutable_reserved_range(google_protobuf_DescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_DescriptorProto_ReservedRange**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_DescriptorProto_ReservedRange** google_protobuf_DescriptorProto_resize_reserved_range(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_DescriptorProto_ReservedRange**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_DescriptorProto_ReservedRange* google_protobuf_DescriptorProto_add_reserved_range(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {9, UPB_SIZE(32, 80), 0, 7, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_DescriptorProto_ReservedRange* sub = (struct google_protobuf_DescriptorProto_ReservedRange*)_upb_Message_New(&google_protobuf_DescriptorProto_ReservedRange_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE upb_StringView* google_protobuf_DescriptorProto_mutable_reserved_name(google_protobuf_DescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* google_protobuf_DescriptorProto_resize_reserved_name(google_protobuf_DescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool google_protobuf_DescriptorProto_add_reserved_name(google_protobuf_DescriptorProto* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {10, UPB_SIZE(36, 88), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} - -/* google.protobuf.DescriptorProto.ExtensionRange */ - -UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange* google_protobuf_DescriptorProto_ExtensionRange_new(upb_Arena* arena) { - return (google_protobuf_DescriptorProto_ExtensionRange*)_upb_Message_New(&google_protobuf_DescriptorProto_ExtensionRange_msg_init, arena); -} -UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange* google_protobuf_DescriptorProto_ExtensionRange_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_DescriptorProto_ExtensionRange* ret = google_protobuf_DescriptorProto_ExtensionRange_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_DescriptorProto_ExtensionRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange* google_protobuf_DescriptorProto_ExtensionRange_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_DescriptorProto_ExtensionRange* ret = google_protobuf_DescriptorProto_ExtensionRange_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_DescriptorProto_ExtensionRange_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_DescriptorProto_ExtensionRange_serialize(const google_protobuf_DescriptorProto_ExtensionRange* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_DescriptorProto_ExtensionRange_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_DescriptorProto_ExtensionRange_serialize_ex(const google_protobuf_DescriptorProto_ExtensionRange* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_DescriptorProto_ExtensionRange_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_clear_start(google_protobuf_DescriptorProto_ExtensionRange* msg) { - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_DescriptorProto_ExtensionRange_start(const google_protobuf_DescriptorProto_ExtensionRange* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_start(const google_protobuf_DescriptorProto_ExtensionRange* msg) { - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_clear_end(google_protobuf_DescriptorProto_ExtensionRange* msg) { - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_DescriptorProto_ExtensionRange_end(const google_protobuf_DescriptorProto_ExtensionRange* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_end(const google_protobuf_DescriptorProto_ExtensionRange* msg) { - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_clear_options(google_protobuf_DescriptorProto_ExtensionRange* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_ExtensionRangeOptions* google_protobuf_DescriptorProto_ExtensionRange_options(const google_protobuf_DescriptorProto_ExtensionRange* msg) { - const google_protobuf_ExtensionRangeOptions* default_val = NULL; - const google_protobuf_ExtensionRangeOptions* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_options(const google_protobuf_DescriptorProto_ExtensionRange* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_start(google_protobuf_DescriptorProto_ExtensionRange *msg, int32_t value) { - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_end(google_protobuf_DescriptorProto_ExtensionRange *msg, int32_t value) { - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_options(google_protobuf_DescriptorProto_ExtensionRange *msg, google_protobuf_ExtensionRangeOptions* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_ExtensionRangeOptions* google_protobuf_DescriptorProto_ExtensionRange_mutable_options(google_protobuf_DescriptorProto_ExtensionRange* msg, upb_Arena* arena) { - struct google_protobuf_ExtensionRangeOptions* sub = (struct google_protobuf_ExtensionRangeOptions*)google_protobuf_DescriptorProto_ExtensionRange_options(msg); - if (sub == NULL) { - sub = (struct google_protobuf_ExtensionRangeOptions*)_upb_Message_New(&google_protobuf_ExtensionRangeOptions_msg_init, arena); - if (sub) google_protobuf_DescriptorProto_ExtensionRange_set_options(msg, sub); - } - return sub; -} - -/* google.protobuf.DescriptorProto.ReservedRange */ - -UPB_INLINE google_protobuf_DescriptorProto_ReservedRange* google_protobuf_DescriptorProto_ReservedRange_new(upb_Arena* arena) { - return (google_protobuf_DescriptorProto_ReservedRange*)_upb_Message_New(&google_protobuf_DescriptorProto_ReservedRange_msg_init, arena); -} -UPB_INLINE google_protobuf_DescriptorProto_ReservedRange* google_protobuf_DescriptorProto_ReservedRange_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_DescriptorProto_ReservedRange* ret = google_protobuf_DescriptorProto_ReservedRange_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_DescriptorProto_ReservedRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_DescriptorProto_ReservedRange* google_protobuf_DescriptorProto_ReservedRange_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_DescriptorProto_ReservedRange* ret = google_protobuf_DescriptorProto_ReservedRange_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_DescriptorProto_ReservedRange_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_DescriptorProto_ReservedRange_serialize(const google_protobuf_DescriptorProto_ReservedRange* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_DescriptorProto_ReservedRange_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_DescriptorProto_ReservedRange_serialize_ex(const google_protobuf_DescriptorProto_ReservedRange* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_DescriptorProto_ReservedRange_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_clear_start(google_protobuf_DescriptorProto_ReservedRange* msg) { - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_DescriptorProto_ReservedRange_start(const google_protobuf_DescriptorProto_ReservedRange* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_DescriptorProto_ReservedRange_has_start(const google_protobuf_DescriptorProto_ReservedRange* msg) { - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_clear_end(google_protobuf_DescriptorProto_ReservedRange* msg) { - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_DescriptorProto_ReservedRange_end(const google_protobuf_DescriptorProto_ReservedRange* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_DescriptorProto_ReservedRange_has_end(const google_protobuf_DescriptorProto_ReservedRange* msg) { - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_set_start(google_protobuf_DescriptorProto_ReservedRange *msg, int32_t value) { - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_set_end(google_protobuf_DescriptorProto_ReservedRange *msg, int32_t value) { - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* google.protobuf.ExtensionRangeOptions */ - -UPB_INLINE google_protobuf_ExtensionRangeOptions* google_protobuf_ExtensionRangeOptions_new(upb_Arena* arena) { - return (google_protobuf_ExtensionRangeOptions*)_upb_Message_New(&google_protobuf_ExtensionRangeOptions_msg_init, arena); -} -UPB_INLINE google_protobuf_ExtensionRangeOptions* google_protobuf_ExtensionRangeOptions_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_ExtensionRangeOptions* ret = google_protobuf_ExtensionRangeOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_ExtensionRangeOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_ExtensionRangeOptions* google_protobuf_ExtensionRangeOptions_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_ExtensionRangeOptions* ret = google_protobuf_ExtensionRangeOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_ExtensionRangeOptions_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_ExtensionRangeOptions_serialize(const google_protobuf_ExtensionRangeOptions* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_ExtensionRangeOptions_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_ExtensionRangeOptions_serialize_ex(const google_protobuf_ExtensionRangeOptions* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_ExtensionRangeOptions_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_clear_declaration(google_protobuf_ExtensionRangeOptions* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_ExtensionRangeOptions_Declaration* const* google_protobuf_ExtensionRangeOptions_declaration(const google_protobuf_ExtensionRangeOptions* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_ExtensionRangeOptions_Declaration* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_ExtensionRangeOptions_declaration_upb_array(const google_protobuf_ExtensionRangeOptions* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_ExtensionRangeOptions_declaration_mutable_upb_array(const google_protobuf_ExtensionRangeOptions* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_ExtensionRangeOptions_has_declaration(const google_protobuf_ExtensionRangeOptions* msg) { - size_t size; - google_protobuf_ExtensionRangeOptions_declaration(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_clear_verification(google_protobuf_ExtensionRangeOptions* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_ExtensionRangeOptions_verification(const google_protobuf_ExtensionRangeOptions* msg) { - int32_t default_val = 1; - int32_t ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_ExtensionRangeOptions_has_verification(const google_protobuf_ExtensionRangeOptions* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_clear_features(google_protobuf_ExtensionRangeOptions* msg) { - const upb_MiniTableField field = {50, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_ExtensionRangeOptions_features(const google_protobuf_ExtensionRangeOptions* msg) { - const google_protobuf_FeatureSet* default_val = NULL; - const google_protobuf_FeatureSet* ret; - const upb_MiniTableField field = {50, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_ExtensionRangeOptions_has_features(const google_protobuf_ExtensionRangeOptions* msg) { - const upb_MiniTableField field = {50, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_clear_uninterpreted_option(google_protobuf_ExtensionRangeOptions* msg) { - const upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_ExtensionRangeOptions_uninterpreted_option(const google_protobuf_ExtensionRangeOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_ExtensionRangeOptions_uninterpreted_option_upb_array(const google_protobuf_ExtensionRangeOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_ExtensionRangeOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_ExtensionRangeOptions* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_ExtensionRangeOptions_has_uninterpreted_option(const google_protobuf_ExtensionRangeOptions* msg) { - size_t size; - google_protobuf_ExtensionRangeOptions_uninterpreted_option(msg, &size); - return size != 0; -} - -UPB_INLINE google_protobuf_ExtensionRangeOptions_Declaration** google_protobuf_ExtensionRangeOptions_mutable_declaration(google_protobuf_ExtensionRangeOptions* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_ExtensionRangeOptions_Declaration**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_ExtensionRangeOptions_Declaration** google_protobuf_ExtensionRangeOptions_resize_declaration(google_protobuf_ExtensionRangeOptions* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_ExtensionRangeOptions_Declaration**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_ExtensionRangeOptions_Declaration* google_protobuf_ExtensionRangeOptions_add_declaration(google_protobuf_ExtensionRangeOptions* msg, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_ExtensionRangeOptions_Declaration* sub = (struct google_protobuf_ExtensionRangeOptions_Declaration*)_upb_Message_New(&google_protobuf_ExtensionRangeOptions_Declaration_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_set_verification(google_protobuf_ExtensionRangeOptions *msg, int32_t value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_set_features(google_protobuf_ExtensionRangeOptions *msg, google_protobuf_FeatureSet* value) { - const upb_MiniTableField field = {50, UPB_SIZE(12, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_ExtensionRangeOptions_mutable_features(google_protobuf_ExtensionRangeOptions* msg, upb_Arena* arena) { - struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_ExtensionRangeOptions_features(msg); - if (sub == NULL) { - sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google_protobuf_FeatureSet_msg_init, arena); - if (sub) google_protobuf_ExtensionRangeOptions_set_features(msg, sub); - } - return sub; -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_ExtensionRangeOptions_mutable_uninterpreted_option(google_protobuf_ExtensionRangeOptions* msg, size_t* size) { - upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_ExtensionRangeOptions_resize_uninterpreted_option(google_protobuf_ExtensionRangeOptions* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_ExtensionRangeOptions_add_uninterpreted_option(google_protobuf_ExtensionRangeOptions* msg, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google_protobuf_UninterpretedOption_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* google.protobuf.ExtensionRangeOptions.Declaration */ - -UPB_INLINE google_protobuf_ExtensionRangeOptions_Declaration* google_protobuf_ExtensionRangeOptions_Declaration_new(upb_Arena* arena) { - return (google_protobuf_ExtensionRangeOptions_Declaration*)_upb_Message_New(&google_protobuf_ExtensionRangeOptions_Declaration_msg_init, arena); -} -UPB_INLINE google_protobuf_ExtensionRangeOptions_Declaration* google_protobuf_ExtensionRangeOptions_Declaration_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_ExtensionRangeOptions_Declaration* ret = google_protobuf_ExtensionRangeOptions_Declaration_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_ExtensionRangeOptions_Declaration_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_ExtensionRangeOptions_Declaration* google_protobuf_ExtensionRangeOptions_Declaration_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_ExtensionRangeOptions_Declaration* ret = google_protobuf_ExtensionRangeOptions_Declaration_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_ExtensionRangeOptions_Declaration_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_ExtensionRangeOptions_Declaration_serialize(const google_protobuf_ExtensionRangeOptions_Declaration* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_ExtensionRangeOptions_Declaration_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_ExtensionRangeOptions_Declaration_serialize_ex(const google_protobuf_ExtensionRangeOptions_Declaration* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_ExtensionRangeOptions_Declaration_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_number(google_protobuf_ExtensionRangeOptions_Declaration* msg) { - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_ExtensionRangeOptions_Declaration_number(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_number(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_full_name(google_protobuf_ExtensionRangeOptions_Declaration* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_ExtensionRangeOptions_Declaration_full_name(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_full_name(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_type(google_protobuf_ExtensionRangeOptions_Declaration* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_ExtensionRangeOptions_Declaration_type(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_type(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_reserved(google_protobuf_ExtensionRangeOptions_Declaration* msg) { - const upb_MiniTableField field = {5, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_reserved(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {5, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_reserved(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { - const upb_MiniTableField field = {5, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_repeated(google_protobuf_ExtensionRangeOptions_Declaration* msg) { - const upb_MiniTableField field = {6, 9, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_repeated(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {6, 9, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_repeated(const google_protobuf_ExtensionRangeOptions_Declaration* msg) { - const upb_MiniTableField field = {6, 9, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_number(google_protobuf_ExtensionRangeOptions_Declaration *msg, int32_t value) { - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_full_name(google_protobuf_ExtensionRangeOptions_Declaration *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_type(google_protobuf_ExtensionRangeOptions_Declaration *msg, upb_StringView value) { - const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_reserved(google_protobuf_ExtensionRangeOptions_Declaration *msg, bool value) { - const upb_MiniTableField field = {5, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_repeated(google_protobuf_ExtensionRangeOptions_Declaration *msg, bool value) { - const upb_MiniTableField field = {6, 9, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* google.protobuf.FieldDescriptorProto */ - -UPB_INLINE google_protobuf_FieldDescriptorProto* google_protobuf_FieldDescriptorProto_new(upb_Arena* arena) { - return (google_protobuf_FieldDescriptorProto*)_upb_Message_New(&google_protobuf_FieldDescriptorProto_msg_init, arena); -} -UPB_INLINE google_protobuf_FieldDescriptorProto* google_protobuf_FieldDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_FieldDescriptorProto* ret = google_protobuf_FieldDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FieldDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_FieldDescriptorProto* google_protobuf_FieldDescriptorProto_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_FieldDescriptorProto* ret = google_protobuf_FieldDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FieldDescriptorProto_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_FieldDescriptorProto_serialize(const google_protobuf_FieldDescriptorProto* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FieldDescriptorProto_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_FieldDescriptorProto_serialize_ex(const google_protobuf_FieldDescriptorProto* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FieldDescriptorProto_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_name(google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_name(const google_protobuf_FieldDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_name(const google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_extendee(google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_extendee(const google_protobuf_FieldDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_extendee(const google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_number(google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {3, 4, 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_number(const google_protobuf_FieldDescriptorProto* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {3, 4, 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_number(const google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {3, 4, 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_label(google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {4, 8, 4, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_label(const google_protobuf_FieldDescriptorProto* msg) { - int32_t default_val = 1; - int32_t ret; - const upb_MiniTableField field = {4, 8, 4, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_label(const google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {4, 8, 4, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_type(google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {5, 12, 5, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_type(const google_protobuf_FieldDescriptorProto* msg) { - int32_t default_val = 1; - int32_t ret; - const upb_MiniTableField field = {5, 12, 5, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_type(const google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {5, 12, 5, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_type_name(google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(44, 56), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_type_name(const google_protobuf_FieldDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {6, UPB_SIZE(44, 56), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_type_name(const google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(44, 56), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_default_value(google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(52, 72), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_default_value(const google_protobuf_FieldDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {7, UPB_SIZE(52, 72), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_default_value(const google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(52, 72), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_options(google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(16, 88), 8, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FieldOptions* google_protobuf_FieldDescriptorProto_options(const google_protobuf_FieldDescriptorProto* msg) { - const google_protobuf_FieldOptions* default_val = NULL; - const google_protobuf_FieldOptions* ret; - const upb_MiniTableField field = {8, UPB_SIZE(16, 88), 8, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_options(const google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(16, 88), 8, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_oneof_index(google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(20, 16), 9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_oneof_index(const google_protobuf_FieldDescriptorProto* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {9, UPB_SIZE(20, 16), 9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_oneof_index(const google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {9, UPB_SIZE(20, 16), 9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_json_name(google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(60, 96), 10, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_json_name(const google_protobuf_FieldDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {10, UPB_SIZE(60, 96), 10, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_json_name(const google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {10, UPB_SIZE(60, 96), 10, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_proto3_optional(google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {17, UPB_SIZE(24, 20), 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FieldDescriptorProto_proto3_optional(const google_protobuf_FieldDescriptorProto* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {17, UPB_SIZE(24, 20), 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_proto3_optional(const google_protobuf_FieldDescriptorProto* msg) { - const upb_MiniTableField field = {17, UPB_SIZE(24, 20), 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_FieldDescriptorProto_set_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_set_extendee(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_set_number(google_protobuf_FieldDescriptorProto *msg, int32_t value) { - const upb_MiniTableField field = {3, 4, 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_set_label(google_protobuf_FieldDescriptorProto *msg, int32_t value) { - const upb_MiniTableField field = {4, 8, 4, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type(google_protobuf_FieldDescriptorProto *msg, int32_t value) { - const upb_MiniTableField field = {5, 12, 5, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {6, UPB_SIZE(44, 56), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_set_default_value(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {7, UPB_SIZE(52, 72), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_set_options(google_protobuf_FieldDescriptorProto *msg, google_protobuf_FieldOptions* value) { - const upb_MiniTableField field = {8, UPB_SIZE(16, 88), 8, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_FieldOptions* google_protobuf_FieldDescriptorProto_mutable_options(google_protobuf_FieldDescriptorProto* msg, upb_Arena* arena) { - struct google_protobuf_FieldOptions* sub = (struct google_protobuf_FieldOptions*)google_protobuf_FieldDescriptorProto_options(msg); - if (sub == NULL) { - sub = (struct google_protobuf_FieldOptions*)_upb_Message_New(&google_protobuf_FieldOptions_msg_init, arena); - if (sub) google_protobuf_FieldDescriptorProto_set_options(msg, sub); - } - return sub; -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_set_oneof_index(google_protobuf_FieldDescriptorProto *msg, int32_t value) { - const upb_MiniTableField field = {9, UPB_SIZE(20, 16), 9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_set_json_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {10, UPB_SIZE(60, 96), 10, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldDescriptorProto_set_proto3_optional(google_protobuf_FieldDescriptorProto *msg, bool value) { - const upb_MiniTableField field = {17, UPB_SIZE(24, 20), 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* google.protobuf.OneofDescriptorProto */ - -UPB_INLINE google_protobuf_OneofDescriptorProto* google_protobuf_OneofDescriptorProto_new(upb_Arena* arena) { - return (google_protobuf_OneofDescriptorProto*)_upb_Message_New(&google_protobuf_OneofDescriptorProto_msg_init, arena); -} -UPB_INLINE google_protobuf_OneofDescriptorProto* google_protobuf_OneofDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_OneofDescriptorProto* ret = google_protobuf_OneofDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_OneofDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_OneofDescriptorProto* google_protobuf_OneofDescriptorProto_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_OneofDescriptorProto* ret = google_protobuf_OneofDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_OneofDescriptorProto_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_OneofDescriptorProto_serialize(const google_protobuf_OneofDescriptorProto* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_OneofDescriptorProto_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_OneofDescriptorProto_serialize_ex(const google_protobuf_OneofDescriptorProto* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_OneofDescriptorProto_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_OneofDescriptorProto_clear_name(google_protobuf_OneofDescriptorProto* msg) { - const upb_MiniTableField field = {1, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_OneofDescriptorProto_name(const google_protobuf_OneofDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_OneofDescriptorProto_has_name(const google_protobuf_OneofDescriptorProto* msg) { - const upb_MiniTableField field = {1, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_OneofDescriptorProto_clear_options(google_protobuf_OneofDescriptorProto* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_OneofOptions* google_protobuf_OneofDescriptorProto_options(const google_protobuf_OneofDescriptorProto* msg) { - const google_protobuf_OneofOptions* default_val = NULL; - const google_protobuf_OneofOptions* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_OneofDescriptorProto_has_options(const google_protobuf_OneofDescriptorProto* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_OneofDescriptorProto_set_name(google_protobuf_OneofDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 8, 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_OneofDescriptorProto_set_options(google_protobuf_OneofDescriptorProto *msg, google_protobuf_OneofOptions* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_OneofOptions* google_protobuf_OneofDescriptorProto_mutable_options(google_protobuf_OneofDescriptorProto* msg, upb_Arena* arena) { - struct google_protobuf_OneofOptions* sub = (struct google_protobuf_OneofOptions*)google_protobuf_OneofDescriptorProto_options(msg); - if (sub == NULL) { - sub = (struct google_protobuf_OneofOptions*)_upb_Message_New(&google_protobuf_OneofOptions_msg_init, arena); - if (sub) google_protobuf_OneofDescriptorProto_set_options(msg, sub); - } - return sub; -} - -/* google.protobuf.EnumDescriptorProto */ - -UPB_INLINE google_protobuf_EnumDescriptorProto* google_protobuf_EnumDescriptorProto_new(upb_Arena* arena) { - return (google_protobuf_EnumDescriptorProto*)_upb_Message_New(&google_protobuf_EnumDescriptorProto_msg_init, arena); -} -UPB_INLINE google_protobuf_EnumDescriptorProto* google_protobuf_EnumDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_EnumDescriptorProto* ret = google_protobuf_EnumDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_EnumDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_EnumDescriptorProto* google_protobuf_EnumDescriptorProto_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_EnumDescriptorProto* ret = google_protobuf_EnumDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_EnumDescriptorProto_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_EnumDescriptorProto_serialize(const google_protobuf_EnumDescriptorProto* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_EnumDescriptorProto_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_EnumDescriptorProto_serialize_ex(const google_protobuf_EnumDescriptorProto* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_EnumDescriptorProto_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_name(google_protobuf_EnumDescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_EnumDescriptorProto_name(const google_protobuf_EnumDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_name(const google_protobuf_EnumDescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_value(google_protobuf_EnumDescriptorProto* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_EnumValueDescriptorProto* const* google_protobuf_EnumDescriptorProto_value(const google_protobuf_EnumDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_EnumValueDescriptorProto* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_EnumDescriptorProto_value_upb_array(const google_protobuf_EnumDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_EnumDescriptorProto_value_mutable_upb_array(const google_protobuf_EnumDescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_value(const google_protobuf_EnumDescriptorProto* msg) { - size_t size; - google_protobuf_EnumDescriptorProto_value(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_options(google_protobuf_EnumDescriptorProto* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_EnumOptions* google_protobuf_EnumDescriptorProto_options(const google_protobuf_EnumDescriptorProto* msg) { - const google_protobuf_EnumOptions* default_val = NULL; - const google_protobuf_EnumOptions* ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_options(const google_protobuf_EnumDescriptorProto* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_reserved_range(google_protobuf_EnumDescriptorProto* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_EnumDescriptorProto_EnumReservedRange* const* google_protobuf_EnumDescriptorProto_reserved_range(const google_protobuf_EnumDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_EnumDescriptorProto_EnumReservedRange* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_EnumDescriptorProto_reserved_range_upb_array(const google_protobuf_EnumDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_EnumDescriptorProto_reserved_range_mutable_upb_array(const google_protobuf_EnumDescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_reserved_range(const google_protobuf_EnumDescriptorProto* msg) { - size_t size; - google_protobuf_EnumDescriptorProto_reserved_range(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_reserved_name(google_protobuf_EnumDescriptorProto* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* google_protobuf_EnumDescriptorProto_reserved_name(const google_protobuf_EnumDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_EnumDescriptorProto_reserved_name_upb_array(const google_protobuf_EnumDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_EnumDescriptorProto_reserved_name_mutable_upb_array(const google_protobuf_EnumDescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_reserved_name(const google_protobuf_EnumDescriptorProto* msg) { - size_t size; - google_protobuf_EnumDescriptorProto_reserved_name(msg, &size); - return size != 0; -} - -UPB_INLINE void google_protobuf_EnumDescriptorProto_set_name(google_protobuf_EnumDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(20, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE google_protobuf_EnumValueDescriptorProto** google_protobuf_EnumDescriptorProto_mutable_value(google_protobuf_EnumDescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_EnumValueDescriptorProto**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_EnumValueDescriptorProto** google_protobuf_EnumDescriptorProto_resize_value(google_protobuf_EnumDescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_EnumValueDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_EnumValueDescriptorProto* google_protobuf_EnumDescriptorProto_add_value(google_protobuf_EnumDescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_EnumValueDescriptorProto* sub = (struct google_protobuf_EnumValueDescriptorProto*)_upb_Message_New(&google_protobuf_EnumValueDescriptorProto_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void google_protobuf_EnumDescriptorProto_set_options(google_protobuf_EnumDescriptorProto *msg, google_protobuf_EnumOptions* value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_EnumOptions* google_protobuf_EnumDescriptorProto_mutable_options(google_protobuf_EnumDescriptorProto* msg, upb_Arena* arena) { - struct google_protobuf_EnumOptions* sub = (struct google_protobuf_EnumOptions*)google_protobuf_EnumDescriptorProto_options(msg); - if (sub == NULL) { - sub = (struct google_protobuf_EnumOptions*)_upb_Message_New(&google_protobuf_EnumOptions_msg_init, arena); - if (sub) google_protobuf_EnumDescriptorProto_set_options(msg, sub); - } - return sub; -} -UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange** google_protobuf_EnumDescriptorProto_mutable_reserved_range(google_protobuf_EnumDescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_EnumDescriptorProto_EnumReservedRange**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange** google_protobuf_EnumDescriptorProto_resize_reserved_range(google_protobuf_EnumDescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_EnumDescriptorProto_EnumReservedRange**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_EnumDescriptorProto_EnumReservedRange* google_protobuf_EnumDescriptorProto_add_reserved_range(google_protobuf_EnumDescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {4, UPB_SIZE(12, 40), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_EnumDescriptorProto_EnumReservedRange* sub = (struct google_protobuf_EnumDescriptorProto_EnumReservedRange*)_upb_Message_New(&google_protobuf_EnumDescriptorProto_EnumReservedRange_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE upb_StringView* google_protobuf_EnumDescriptorProto_mutable_reserved_name(google_protobuf_EnumDescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* google_protobuf_EnumDescriptorProto_resize_reserved_name(google_protobuf_EnumDescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool google_protobuf_EnumDescriptorProto_add_reserved_name(google_protobuf_EnumDescriptorProto* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {5, UPB_SIZE(16, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} - -/* google.protobuf.EnumDescriptorProto.EnumReservedRange */ - -UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange* google_protobuf_EnumDescriptorProto_EnumReservedRange_new(upb_Arena* arena) { - return (google_protobuf_EnumDescriptorProto_EnumReservedRange*)_upb_Message_New(&google_protobuf_EnumDescriptorProto_EnumReservedRange_msg_init, arena); -} -UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange* google_protobuf_EnumDescriptorProto_EnumReservedRange_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_EnumDescriptorProto_EnumReservedRange* ret = google_protobuf_EnumDescriptorProto_EnumReservedRange_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_EnumDescriptorProto_EnumReservedRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange* google_protobuf_EnumDescriptorProto_EnumReservedRange_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_EnumDescriptorProto_EnumReservedRange* ret = google_protobuf_EnumDescriptorProto_EnumReservedRange_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_EnumDescriptorProto_EnumReservedRange_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_EnumDescriptorProto_EnumReservedRange_serialize(const google_protobuf_EnumDescriptorProto_EnumReservedRange* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_EnumDescriptorProto_EnumReservedRange_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_EnumDescriptorProto_EnumReservedRange_serialize_ex(const google_protobuf_EnumDescriptorProto_EnumReservedRange* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_EnumDescriptorProto_EnumReservedRange_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_clear_start(google_protobuf_EnumDescriptorProto_EnumReservedRange* msg) { - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_EnumDescriptorProto_EnumReservedRange_start(const google_protobuf_EnumDescriptorProto_EnumReservedRange* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumDescriptorProto_EnumReservedRange_has_start(const google_protobuf_EnumDescriptorProto_EnumReservedRange* msg) { - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_clear_end(google_protobuf_EnumDescriptorProto_EnumReservedRange* msg) { - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_EnumDescriptorProto_EnumReservedRange_end(const google_protobuf_EnumDescriptorProto_EnumReservedRange* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumDescriptorProto_EnumReservedRange_has_end(const google_protobuf_EnumDescriptorProto_EnumReservedRange* msg) { - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_set_start(google_protobuf_EnumDescriptorProto_EnumReservedRange *msg, int32_t value) { - const upb_MiniTableField field = {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_set_end(google_protobuf_EnumDescriptorProto_EnumReservedRange *msg, int32_t value) { - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* google.protobuf.EnumValueDescriptorProto */ - -UPB_INLINE google_protobuf_EnumValueDescriptorProto* google_protobuf_EnumValueDescriptorProto_new(upb_Arena* arena) { - return (google_protobuf_EnumValueDescriptorProto*)_upb_Message_New(&google_protobuf_EnumValueDescriptorProto_msg_init, arena); -} -UPB_INLINE google_protobuf_EnumValueDescriptorProto* google_protobuf_EnumValueDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_EnumValueDescriptorProto* ret = google_protobuf_EnumValueDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_EnumValueDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_EnumValueDescriptorProto* google_protobuf_EnumValueDescriptorProto_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_EnumValueDescriptorProto* ret = google_protobuf_EnumValueDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_EnumValueDescriptorProto_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_EnumValueDescriptorProto_serialize(const google_protobuf_EnumValueDescriptorProto* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_EnumValueDescriptorProto_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_EnumValueDescriptorProto_serialize_ex(const google_protobuf_EnumValueDescriptorProto* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_EnumValueDescriptorProto_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_EnumValueDescriptorProto_clear_name(google_protobuf_EnumValueDescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_EnumValueDescriptorProto_name(const google_protobuf_EnumValueDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_name(const google_protobuf_EnumValueDescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_EnumValueDescriptorProto_clear_number(google_protobuf_EnumValueDescriptorProto* msg) { - const upb_MiniTableField field = {2, 4, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_EnumValueDescriptorProto_number(const google_protobuf_EnumValueDescriptorProto* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {2, 4, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_number(const google_protobuf_EnumValueDescriptorProto* msg) { - const upb_MiniTableField field = {2, 4, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_EnumValueDescriptorProto_clear_options(google_protobuf_EnumValueDescriptorProto* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 24), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_EnumValueOptions* google_protobuf_EnumValueDescriptorProto_options(const google_protobuf_EnumValueDescriptorProto* msg) { - const google_protobuf_EnumValueOptions* default_val = NULL; - const google_protobuf_EnumValueOptions* ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 24), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_options(const google_protobuf_EnumValueDescriptorProto* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 24), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_name(google_protobuf_EnumValueDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_number(google_protobuf_EnumValueDescriptorProto *msg, int32_t value) { - const upb_MiniTableField field = {2, 4, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_options(google_protobuf_EnumValueDescriptorProto *msg, google_protobuf_EnumValueOptions* value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 24), 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_EnumValueOptions* google_protobuf_EnumValueDescriptorProto_mutable_options(google_protobuf_EnumValueDescriptorProto* msg, upb_Arena* arena) { - struct google_protobuf_EnumValueOptions* sub = (struct google_protobuf_EnumValueOptions*)google_protobuf_EnumValueDescriptorProto_options(msg); - if (sub == NULL) { - sub = (struct google_protobuf_EnumValueOptions*)_upb_Message_New(&google_protobuf_EnumValueOptions_msg_init, arena); - if (sub) google_protobuf_EnumValueDescriptorProto_set_options(msg, sub); - } - return sub; -} - -/* google.protobuf.ServiceDescriptorProto */ - -UPB_INLINE google_protobuf_ServiceDescriptorProto* google_protobuf_ServiceDescriptorProto_new(upb_Arena* arena) { - return (google_protobuf_ServiceDescriptorProto*)_upb_Message_New(&google_protobuf_ServiceDescriptorProto_msg_init, arena); -} -UPB_INLINE google_protobuf_ServiceDescriptorProto* google_protobuf_ServiceDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_ServiceDescriptorProto* ret = google_protobuf_ServiceDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_ServiceDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_ServiceDescriptorProto* google_protobuf_ServiceDescriptorProto_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_ServiceDescriptorProto* ret = google_protobuf_ServiceDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_ServiceDescriptorProto_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_ServiceDescriptorProto_serialize(const google_protobuf_ServiceDescriptorProto* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_ServiceDescriptorProto_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_ServiceDescriptorProto_serialize_ex(const google_protobuf_ServiceDescriptorProto* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_ServiceDescriptorProto_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_ServiceDescriptorProto_clear_name(google_protobuf_ServiceDescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_ServiceDescriptorProto_name(const google_protobuf_ServiceDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_name(const google_protobuf_ServiceDescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_ServiceDescriptorProto_clear_method(google_protobuf_ServiceDescriptorProto* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_MethodDescriptorProto* const* google_protobuf_ServiceDescriptorProto_method(const google_protobuf_ServiceDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_MethodDescriptorProto* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_ServiceDescriptorProto_method_upb_array(const google_protobuf_ServiceDescriptorProto* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_ServiceDescriptorProto_method_mutable_upb_array(const google_protobuf_ServiceDescriptorProto* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_method(const google_protobuf_ServiceDescriptorProto* msg) { - size_t size; - google_protobuf_ServiceDescriptorProto_method(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_ServiceDescriptorProto_clear_options(google_protobuf_ServiceDescriptorProto* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_ServiceOptions* google_protobuf_ServiceDescriptorProto_options(const google_protobuf_ServiceDescriptorProto* msg) { - const google_protobuf_ServiceOptions* default_val = NULL; - const google_protobuf_ServiceOptions* ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_options(const google_protobuf_ServiceDescriptorProto* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_name(google_protobuf_ServiceDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE google_protobuf_MethodDescriptorProto** google_protobuf_ServiceDescriptorProto_mutable_method(google_protobuf_ServiceDescriptorProto* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_MethodDescriptorProto**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_MethodDescriptorProto** google_protobuf_ServiceDescriptorProto_resize_method(google_protobuf_ServiceDescriptorProto* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_MethodDescriptorProto**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_MethodDescriptorProto* google_protobuf_ServiceDescriptorProto_add_method(google_protobuf_ServiceDescriptorProto* msg, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_MethodDescriptorProto* sub = (struct google_protobuf_MethodDescriptorProto*)_upb_Message_New(&google_protobuf_MethodDescriptorProto_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_options(google_protobuf_ServiceDescriptorProto *msg, google_protobuf_ServiceOptions* value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_ServiceOptions* google_protobuf_ServiceDescriptorProto_mutable_options(google_protobuf_ServiceDescriptorProto* msg, upb_Arena* arena) { - struct google_protobuf_ServiceOptions* sub = (struct google_protobuf_ServiceOptions*)google_protobuf_ServiceDescriptorProto_options(msg); - if (sub == NULL) { - sub = (struct google_protobuf_ServiceOptions*)_upb_Message_New(&google_protobuf_ServiceOptions_msg_init, arena); - if (sub) google_protobuf_ServiceDescriptorProto_set_options(msg, sub); - } - return sub; -} - -/* google.protobuf.MethodDescriptorProto */ - -UPB_INLINE google_protobuf_MethodDescriptorProto* google_protobuf_MethodDescriptorProto_new(upb_Arena* arena) { - return (google_protobuf_MethodDescriptorProto*)_upb_Message_New(&google_protobuf_MethodDescriptorProto_msg_init, arena); -} -UPB_INLINE google_protobuf_MethodDescriptorProto* google_protobuf_MethodDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_MethodDescriptorProto* ret = google_protobuf_MethodDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_MethodDescriptorProto_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_MethodDescriptorProto* google_protobuf_MethodDescriptorProto_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_MethodDescriptorProto* ret = google_protobuf_MethodDescriptorProto_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_MethodDescriptorProto_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_MethodDescriptorProto_serialize(const google_protobuf_MethodDescriptorProto* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_MethodDescriptorProto_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_MethodDescriptorProto_serialize_ex(const google_protobuf_MethodDescriptorProto* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_MethodDescriptorProto_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_name(google_protobuf_MethodDescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_MethodDescriptorProto_name(const google_protobuf_MethodDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_name(const google_protobuf_MethodDescriptorProto* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_input_type(google_protobuf_MethodDescriptorProto* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_MethodDescriptorProto_input_type(const google_protobuf_MethodDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_input_type(const google_protobuf_MethodDescriptorProto* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_output_type(google_protobuf_MethodDescriptorProto* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(28, 40), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_MethodDescriptorProto_output_type(const google_protobuf_MethodDescriptorProto* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {3, UPB_SIZE(28, 40), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_output_type(const google_protobuf_MethodDescriptorProto* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(28, 40), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_options(google_protobuf_MethodDescriptorProto* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 56), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_MethodOptions* google_protobuf_MethodDescriptorProto_options(const google_protobuf_MethodDescriptorProto* msg) { - const google_protobuf_MethodOptions* default_val = NULL; - const google_protobuf_MethodOptions* ret; - const upb_MiniTableField field = {4, UPB_SIZE(4, 56), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_options(const google_protobuf_MethodDescriptorProto* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 56), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_client_streaming(google_protobuf_MethodDescriptorProto* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(8, 1), 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_MethodDescriptorProto_client_streaming(const google_protobuf_MethodDescriptorProto* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {5, UPB_SIZE(8, 1), 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_client_streaming(const google_protobuf_MethodDescriptorProto* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(8, 1), 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_server_streaming(google_protobuf_MethodDescriptorProto* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(9, 2), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_MethodDescriptorProto_server_streaming(const google_protobuf_MethodDescriptorProto* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {6, UPB_SIZE(9, 2), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_server_streaming(const google_protobuf_MethodDescriptorProto* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(9, 2), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_MethodDescriptorProto_set_name(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_MethodDescriptorProto_set_input_type(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_MethodDescriptorProto_set_output_type(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) { - const upb_MiniTableField field = {3, UPB_SIZE(28, 40), 3, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_MethodDescriptorProto_set_options(google_protobuf_MethodDescriptorProto *msg, google_protobuf_MethodOptions* value) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 56), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_MethodOptions* google_protobuf_MethodDescriptorProto_mutable_options(google_protobuf_MethodDescriptorProto* msg, upb_Arena* arena) { - struct google_protobuf_MethodOptions* sub = (struct google_protobuf_MethodOptions*)google_protobuf_MethodDescriptorProto_options(msg); - if (sub == NULL) { - sub = (struct google_protobuf_MethodOptions*)_upb_Message_New(&google_protobuf_MethodOptions_msg_init, arena); - if (sub) google_protobuf_MethodDescriptorProto_set_options(msg, sub); - } - return sub; -} -UPB_INLINE void google_protobuf_MethodDescriptorProto_set_client_streaming(google_protobuf_MethodDescriptorProto *msg, bool value) { - const upb_MiniTableField field = {5, UPB_SIZE(8, 1), 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_MethodDescriptorProto_set_server_streaming(google_protobuf_MethodDescriptorProto *msg, bool value) { - const upb_MiniTableField field = {6, UPB_SIZE(9, 2), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* google.protobuf.FileOptions */ - -UPB_INLINE google_protobuf_FileOptions* google_protobuf_FileOptions_new(upb_Arena* arena) { - return (google_protobuf_FileOptions*)_upb_Message_New(&google_protobuf_FileOptions_msg_init, arena); -} -UPB_INLINE google_protobuf_FileOptions* google_protobuf_FileOptions_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_FileOptions* ret = google_protobuf_FileOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FileOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_FileOptions* google_protobuf_FileOptions_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_FileOptions* ret = google_protobuf_FileOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FileOptions_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_FileOptions_serialize(const google_protobuf_FileOptions* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FileOptions_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_FileOptions_serialize_ex(const google_protobuf_FileOptions* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FileOptions_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_FileOptions_clear_java_package(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileOptions_java_package(const google_protobuf_FileOptions* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_java_package(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_java_outer_classname(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileOptions_java_outer_classname(const google_protobuf_FileOptions* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {8, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_java_outer_classname(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_optimize_for(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {9, 4, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FileOptions_optimize_for(const google_protobuf_FileOptions* msg) { - int32_t default_val = 1; - int32_t ret; - const upb_MiniTableField field = {9, 4, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_optimize_for(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {9, 4, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_java_multiple_files(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {10, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FileOptions_java_multiple_files(const google_protobuf_FileOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {10, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_java_multiple_files(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {10, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_go_package(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(44, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileOptions_go_package(const google_protobuf_FileOptions* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {11, UPB_SIZE(44, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_go_package(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {11, UPB_SIZE(44, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_cc_generic_services(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {16, 9, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FileOptions_cc_generic_services(const google_protobuf_FileOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {16, 9, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_cc_generic_services(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {16, 9, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_java_generic_services(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {17, 10, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FileOptions_java_generic_services(const google_protobuf_FileOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {17, 10, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_java_generic_services(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {17, 10, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_py_generic_services(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {18, 11, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FileOptions_py_generic_services(const google_protobuf_FileOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {18, 11, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_py_generic_services(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {18, 11, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_java_generate_equals_and_hash(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {20, 12, 9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FileOptions_java_generate_equals_and_hash(const google_protobuf_FileOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {20, 12, 9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_java_generate_equals_and_hash(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {20, 12, 9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_deprecated(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {23, 13, 10, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FileOptions_deprecated(const google_protobuf_FileOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {23, 13, 10, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_deprecated(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {23, 13, 10, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_java_string_check_utf8(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {27, 14, 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FileOptions_java_string_check_utf8(const google_protobuf_FileOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {27, 14, 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_java_string_check_utf8(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {27, 14, 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_cc_enable_arenas(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {31, 15, 12, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FileOptions_cc_enable_arenas(const google_protobuf_FileOptions* msg) { - bool default_val = true; - bool ret; - const upb_MiniTableField field = {31, 15, 12, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_cc_enable_arenas(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {31, 15, 12, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_objc_class_prefix(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {36, UPB_SIZE(52, 72), 13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileOptions_objc_class_prefix(const google_protobuf_FileOptions* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {36, UPB_SIZE(52, 72), 13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_objc_class_prefix(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {36, UPB_SIZE(52, 72), 13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_csharp_namespace(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {37, UPB_SIZE(60, 88), 14, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileOptions_csharp_namespace(const google_protobuf_FileOptions* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {37, UPB_SIZE(60, 88), 14, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_csharp_namespace(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {37, UPB_SIZE(60, 88), 14, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_swift_prefix(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {39, UPB_SIZE(68, 104), 15, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileOptions_swift_prefix(const google_protobuf_FileOptions* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {39, UPB_SIZE(68, 104), 15, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_swift_prefix(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {39, UPB_SIZE(68, 104), 15, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_php_class_prefix(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {40, UPB_SIZE(76, 120), 16, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileOptions_php_class_prefix(const google_protobuf_FileOptions* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {40, UPB_SIZE(76, 120), 16, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_php_class_prefix(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {40, UPB_SIZE(76, 120), 16, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_php_namespace(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {41, UPB_SIZE(84, 136), 17, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileOptions_php_namespace(const google_protobuf_FileOptions* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {41, UPB_SIZE(84, 136), 17, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_php_namespace(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {41, UPB_SIZE(84, 136), 17, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_php_generic_services(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {42, 16, 18, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FileOptions_php_generic_services(const google_protobuf_FileOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {42, 16, 18, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_php_generic_services(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {42, 16, 18, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_php_metadata_namespace(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {44, UPB_SIZE(92, 152), 19, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileOptions_php_metadata_namespace(const google_protobuf_FileOptions* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {44, UPB_SIZE(92, 152), 19, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_php_metadata_namespace(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {44, UPB_SIZE(92, 152), 19, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_ruby_package(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {45, UPB_SIZE(100, 168), 20, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FileOptions_ruby_package(const google_protobuf_FileOptions* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {45, UPB_SIZE(100, 168), 20, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_ruby_package(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {45, UPB_SIZE(100, 168), 20, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_features(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {50, UPB_SIZE(20, 184), 21, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_FileOptions_features(const google_protobuf_FileOptions* msg) { - const google_protobuf_FeatureSet* default_val = NULL; - const google_protobuf_FeatureSet* ret; - const upb_MiniTableField field = {50, UPB_SIZE(20, 184), 21, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FileOptions_has_features(const google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {50, UPB_SIZE(20, 184), 21, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FileOptions_clear_uninterpreted_option(google_protobuf_FileOptions* msg) { - const upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_FileOptions_uninterpreted_option(const google_protobuf_FileOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_FileOptions_uninterpreted_option_upb_array(const google_protobuf_FileOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_FileOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_FileOptions* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_FileOptions_has_uninterpreted_option(const google_protobuf_FileOptions* msg) { - size_t size; - google_protobuf_FileOptions_uninterpreted_option(msg, &size); - return size != 0; -} - -UPB_INLINE void google_protobuf_FileOptions_set_java_package(google_protobuf_FileOptions *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_java_outer_classname(google_protobuf_FileOptions *msg, upb_StringView value) { - const upb_MiniTableField field = {8, UPB_SIZE(36, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_optimize_for(google_protobuf_FileOptions *msg, int32_t value) { - const upb_MiniTableField field = {9, 4, 3, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_java_multiple_files(google_protobuf_FileOptions *msg, bool value) { - const upb_MiniTableField field = {10, 8, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_go_package(google_protobuf_FileOptions *msg, upb_StringView value) { - const upb_MiniTableField field = {11, UPB_SIZE(44, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_cc_generic_services(google_protobuf_FileOptions *msg, bool value) { - const upb_MiniTableField field = {16, 9, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_java_generic_services(google_protobuf_FileOptions *msg, bool value) { - const upb_MiniTableField field = {17, 10, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_py_generic_services(google_protobuf_FileOptions *msg, bool value) { - const upb_MiniTableField field = {18, 11, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_java_generate_equals_and_hash(google_protobuf_FileOptions *msg, bool value) { - const upb_MiniTableField field = {20, 12, 9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_deprecated(google_protobuf_FileOptions *msg, bool value) { - const upb_MiniTableField field = {23, 13, 10, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_java_string_check_utf8(google_protobuf_FileOptions *msg, bool value) { - const upb_MiniTableField field = {27, 14, 11, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_cc_enable_arenas(google_protobuf_FileOptions *msg, bool value) { - const upb_MiniTableField field = {31, 15, 12, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_objc_class_prefix(google_protobuf_FileOptions *msg, upb_StringView value) { - const upb_MiniTableField field = {36, UPB_SIZE(52, 72), 13, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_csharp_namespace(google_protobuf_FileOptions *msg, upb_StringView value) { - const upb_MiniTableField field = {37, UPB_SIZE(60, 88), 14, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_swift_prefix(google_protobuf_FileOptions *msg, upb_StringView value) { - const upb_MiniTableField field = {39, UPB_SIZE(68, 104), 15, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_php_class_prefix(google_protobuf_FileOptions *msg, upb_StringView value) { - const upb_MiniTableField field = {40, UPB_SIZE(76, 120), 16, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_php_namespace(google_protobuf_FileOptions *msg, upb_StringView value) { - const upb_MiniTableField field = {41, UPB_SIZE(84, 136), 17, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_php_generic_services(google_protobuf_FileOptions *msg, bool value) { - const upb_MiniTableField field = {42, 16, 18, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_php_metadata_namespace(google_protobuf_FileOptions *msg, upb_StringView value) { - const upb_MiniTableField field = {44, UPB_SIZE(92, 152), 19, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_ruby_package(google_protobuf_FileOptions *msg, upb_StringView value) { - const upb_MiniTableField field = {45, UPB_SIZE(100, 168), 20, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FileOptions_set_features(google_protobuf_FileOptions *msg, google_protobuf_FeatureSet* value) { - const upb_MiniTableField field = {50, UPB_SIZE(20, 184), 21, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FileOptions_mutable_features(google_protobuf_FileOptions* msg, upb_Arena* arena) { - struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FileOptions_features(msg); - if (sub == NULL) { - sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google_protobuf_FeatureSet_msg_init, arena); - if (sub) google_protobuf_FileOptions_set_features(msg, sub); - } - return sub; -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FileOptions_mutable_uninterpreted_option(google_protobuf_FileOptions* msg, size_t* size) { - upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FileOptions_resize_uninterpreted_option(google_protobuf_FileOptions* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_FileOptions_add_uninterpreted_option(google_protobuf_FileOptions* msg, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(24, 192), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google_protobuf_UninterpretedOption_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* google.protobuf.MessageOptions */ - -UPB_INLINE google_protobuf_MessageOptions* google_protobuf_MessageOptions_new(upb_Arena* arena) { - return (google_protobuf_MessageOptions*)_upb_Message_New(&google_protobuf_MessageOptions_msg_init, arena); -} -UPB_INLINE google_protobuf_MessageOptions* google_protobuf_MessageOptions_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_MessageOptions* ret = google_protobuf_MessageOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_MessageOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_MessageOptions* google_protobuf_MessageOptions_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_MessageOptions* ret = google_protobuf_MessageOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_MessageOptions_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_MessageOptions_serialize(const google_protobuf_MessageOptions* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_MessageOptions_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_MessageOptions_serialize_ex(const google_protobuf_MessageOptions* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_MessageOptions_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_MessageOptions_clear_message_set_wire_format(google_protobuf_MessageOptions* msg) { - const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_MessageOptions_message_set_wire_format(const google_protobuf_MessageOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MessageOptions_has_message_set_wire_format(const google_protobuf_MessageOptions* msg) { - const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MessageOptions_clear_no_standard_descriptor_accessor(google_protobuf_MessageOptions* msg) { - const upb_MiniTableField field = {2, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_MessageOptions_no_standard_descriptor_accessor(const google_protobuf_MessageOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {2, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MessageOptions_has_no_standard_descriptor_accessor(const google_protobuf_MessageOptions* msg) { - const upb_MiniTableField field = {2, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MessageOptions_clear_deprecated(google_protobuf_MessageOptions* msg) { - const upb_MiniTableField field = {3, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_MessageOptions_deprecated(const google_protobuf_MessageOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {3, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MessageOptions_has_deprecated(const google_protobuf_MessageOptions* msg) { - const upb_MiniTableField field = {3, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MessageOptions_clear_map_entry(google_protobuf_MessageOptions* msg) { - const upb_MiniTableField field = {7, 4, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_MessageOptions_map_entry(const google_protobuf_MessageOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {7, 4, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MessageOptions_has_map_entry(const google_protobuf_MessageOptions* msg) { - const upb_MiniTableField field = {7, 4, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MessageOptions_clear_deprecated_legacy_json_field_conflicts(google_protobuf_MessageOptions* msg) { - const upb_MiniTableField field = {11, 5, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_MessageOptions_deprecated_legacy_json_field_conflicts(const google_protobuf_MessageOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {11, 5, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MessageOptions_has_deprecated_legacy_json_field_conflicts(const google_protobuf_MessageOptions* msg) { - const upb_MiniTableField field = {11, 5, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MessageOptions_clear_features(google_protobuf_MessageOptions* msg) { - const upb_MiniTableField field = {12, 8, 6, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_MessageOptions_features(const google_protobuf_MessageOptions* msg) { - const google_protobuf_FeatureSet* default_val = NULL; - const google_protobuf_FeatureSet* ret; - const upb_MiniTableField field = {12, 8, 6, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MessageOptions_has_features(const google_protobuf_MessageOptions* msg) { - const upb_MiniTableField field = {12, 8, 6, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MessageOptions_clear_uninterpreted_option(google_protobuf_MessageOptions* msg) { - const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_MessageOptions_uninterpreted_option(const google_protobuf_MessageOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_MessageOptions_uninterpreted_option_upb_array(const google_protobuf_MessageOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_MessageOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_MessageOptions* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_MessageOptions_has_uninterpreted_option(const google_protobuf_MessageOptions* msg) { - size_t size; - google_protobuf_MessageOptions_uninterpreted_option(msg, &size); - return size != 0; -} - -UPB_INLINE void google_protobuf_MessageOptions_set_message_set_wire_format(google_protobuf_MessageOptions *msg, bool value) { - const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_MessageOptions_set_no_standard_descriptor_accessor(google_protobuf_MessageOptions *msg, bool value) { - const upb_MiniTableField field = {2, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_MessageOptions_set_deprecated(google_protobuf_MessageOptions *msg, bool value) { - const upb_MiniTableField field = {3, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_MessageOptions_set_map_entry(google_protobuf_MessageOptions *msg, bool value) { - const upb_MiniTableField field = {7, 4, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_MessageOptions_set_deprecated_legacy_json_field_conflicts(google_protobuf_MessageOptions *msg, bool value) { - const upb_MiniTableField field = {11, 5, 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_MessageOptions_set_features(google_protobuf_MessageOptions *msg, google_protobuf_FeatureSet* value) { - const upb_MiniTableField field = {12, 8, 6, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_MessageOptions_mutable_features(google_protobuf_MessageOptions* msg, upb_Arena* arena) { - struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_MessageOptions_features(msg); - if (sub == NULL) { - sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google_protobuf_FeatureSet_msg_init, arena); - if (sub) google_protobuf_MessageOptions_set_features(msg, sub); - } - return sub; -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_MessageOptions_mutable_uninterpreted_option(google_protobuf_MessageOptions* msg, size_t* size) { - upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_MessageOptions_resize_uninterpreted_option(google_protobuf_MessageOptions* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_MessageOptions_add_uninterpreted_option(google_protobuf_MessageOptions* msg, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google_protobuf_UninterpretedOption_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* google.protobuf.FieldOptions */ - -UPB_INLINE google_protobuf_FieldOptions* google_protobuf_FieldOptions_new(upb_Arena* arena) { - return (google_protobuf_FieldOptions*)_upb_Message_New(&google_protobuf_FieldOptions_msg_init, arena); -} -UPB_INLINE google_protobuf_FieldOptions* google_protobuf_FieldOptions_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_FieldOptions* ret = google_protobuf_FieldOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FieldOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_FieldOptions* google_protobuf_FieldOptions_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_FieldOptions* ret = google_protobuf_FieldOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FieldOptions_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_FieldOptions_serialize(const google_protobuf_FieldOptions* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FieldOptions_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_FieldOptions_serialize_ex(const google_protobuf_FieldOptions* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FieldOptions_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_FieldOptions_clear_ctype(google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {1, 4, 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FieldOptions_ctype(const google_protobuf_FieldOptions* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {1, 4, 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldOptions_has_ctype(const google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {1, 4, 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldOptions_clear_packed(google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FieldOptions_packed(const google_protobuf_FieldOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldOptions_has_packed(const google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldOptions_clear_deprecated(google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {3, 9, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FieldOptions_deprecated(const google_protobuf_FieldOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {3, 9, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldOptions_has_deprecated(const google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {3, 9, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldOptions_clear_lazy(google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {5, 10, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FieldOptions_lazy(const google_protobuf_FieldOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {5, 10, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldOptions_has_lazy(const google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {5, 10, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldOptions_clear_jstype(google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {6, 12, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FieldOptions_jstype(const google_protobuf_FieldOptions* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {6, 12, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldOptions_has_jstype(const google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {6, 12, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldOptions_clear_weak(google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {10, 16, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FieldOptions_weak(const google_protobuf_FieldOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {10, 16, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldOptions_has_weak(const google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {10, 16, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldOptions_clear_unverified_lazy(google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {15, 17, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FieldOptions_unverified_lazy(const google_protobuf_FieldOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {15, 17, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldOptions_has_unverified_lazy(const google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {15, 17, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldOptions_clear_debug_redact(google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {16, 18, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_FieldOptions_debug_redact(const google_protobuf_FieldOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {16, 18, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldOptions_has_debug_redact(const google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {16, 18, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldOptions_clear_retention(google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {17, 20, 9, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FieldOptions_retention(const google_protobuf_FieldOptions* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {17, 20, 9, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldOptions_has_retention(const google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {17, 20, 9, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldOptions_clear_targets(google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t const* google_protobuf_FieldOptions_targets(const google_protobuf_FieldOptions* msg, size_t* size) { - const upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_targets_upb_array(const google_protobuf_FieldOptions* msg, size_t* size) { - const upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_FieldOptions_targets_mutable_upb_array(const google_protobuf_FieldOptions* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_FieldOptions_has_targets(const google_protobuf_FieldOptions* msg) { - size_t size; - google_protobuf_FieldOptions_targets(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_FieldOptions_clear_edition_defaults(google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FieldOptions_EditionDefault* const* google_protobuf_FieldOptions_edition_defaults(const google_protobuf_FieldOptions* msg, size_t* size) { - const upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_FieldOptions_EditionDefault* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_edition_defaults_upb_array(const google_protobuf_FieldOptions* msg, size_t* size) { - const upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_FieldOptions_edition_defaults_mutable_upb_array(const google_protobuf_FieldOptions* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_FieldOptions_has_edition_defaults(const google_protobuf_FieldOptions* msg) { - size_t size; - google_protobuf_FieldOptions_edition_defaults(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_FieldOptions_clear_features(google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {21, UPB_SIZE(32, 40), 10, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_FieldOptions_features(const google_protobuf_FieldOptions* msg) { - const google_protobuf_FeatureSet* default_val = NULL; - const google_protobuf_FeatureSet* ret; - const upb_MiniTableField field = {21, UPB_SIZE(32, 40), 10, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldOptions_has_features(const google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {21, UPB_SIZE(32, 40), 10, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldOptions_clear_uninterpreted_option(google_protobuf_FieldOptions* msg) { - const upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_FieldOptions_uninterpreted_option(const google_protobuf_FieldOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_uninterpreted_option_upb_array(const google_protobuf_FieldOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_FieldOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_FieldOptions* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_FieldOptions_has_uninterpreted_option(const google_protobuf_FieldOptions* msg) { - size_t size; - google_protobuf_FieldOptions_uninterpreted_option(msg, &size); - return size != 0; -} - -UPB_INLINE void google_protobuf_FieldOptions_set_ctype(google_protobuf_FieldOptions *msg, int32_t value) { - const upb_MiniTableField field = {1, 4, 1, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldOptions_set_packed(google_protobuf_FieldOptions *msg, bool value) { - const upb_MiniTableField field = {2, 8, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldOptions_set_deprecated(google_protobuf_FieldOptions *msg, bool value) { - const upb_MiniTableField field = {3, 9, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldOptions_set_lazy(google_protobuf_FieldOptions *msg, bool value) { - const upb_MiniTableField field = {5, 10, 4, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldOptions_set_jstype(google_protobuf_FieldOptions *msg, int32_t value) { - const upb_MiniTableField field = {6, 12, 5, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldOptions_set_weak(google_protobuf_FieldOptions *msg, bool value) { - const upb_MiniTableField field = {10, 16, 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldOptions_set_unverified_lazy(google_protobuf_FieldOptions *msg, bool value) { - const upb_MiniTableField field = {15, 17, 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldOptions_set_debug_redact(google_protobuf_FieldOptions *msg, bool value) { - const upb_MiniTableField field = {16, 18, 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldOptions_set_retention(google_protobuf_FieldOptions *msg, int32_t value) { - const upb_MiniTableField field = {17, 20, 9, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE int32_t* google_protobuf_FieldOptions_mutable_targets(google_protobuf_FieldOptions* msg, size_t* size) { - upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE int32_t* google_protobuf_FieldOptions_resize_targets(google_protobuf_FieldOptions* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool google_protobuf_FieldOptions_add_targets(google_protobuf_FieldOptions* msg, int32_t val, upb_Arena* arena) { - upb_MiniTableField field = {19, 24, 0, 6, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE google_protobuf_FieldOptions_EditionDefault** google_protobuf_FieldOptions_mutable_edition_defaults(google_protobuf_FieldOptions* msg, size_t* size) { - upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_FieldOptions_EditionDefault**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_FieldOptions_EditionDefault** google_protobuf_FieldOptions_resize_edition_defaults(google_protobuf_FieldOptions* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_FieldOptions_EditionDefault**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_FieldOptions_EditionDefault* google_protobuf_FieldOptions_add_edition_defaults(google_protobuf_FieldOptions* msg, upb_Arena* arena) { - upb_MiniTableField field = {20, UPB_SIZE(28, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_FieldOptions_EditionDefault* sub = (struct google_protobuf_FieldOptions_EditionDefault*)_upb_Message_New(&google_protobuf_FieldOptions_EditionDefault_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void google_protobuf_FieldOptions_set_features(google_protobuf_FieldOptions *msg, google_protobuf_FeatureSet* value) { - const upb_MiniTableField field = {21, UPB_SIZE(32, 40), 10, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FieldOptions_mutable_features(google_protobuf_FieldOptions* msg, upb_Arena* arena) { - struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FieldOptions_features(msg); - if (sub == NULL) { - sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google_protobuf_FeatureSet_msg_init, arena); - if (sub) google_protobuf_FieldOptions_set_features(msg, sub); - } - return sub; -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FieldOptions_mutable_uninterpreted_option(google_protobuf_FieldOptions* msg, size_t* size) { - upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FieldOptions_resize_uninterpreted_option(google_protobuf_FieldOptions* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_FieldOptions_add_uninterpreted_option(google_protobuf_FieldOptions* msg, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(36, 48), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google_protobuf_UninterpretedOption_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* google.protobuf.FieldOptions.EditionDefault */ - -UPB_INLINE google_protobuf_FieldOptions_EditionDefault* google_protobuf_FieldOptions_EditionDefault_new(upb_Arena* arena) { - return (google_protobuf_FieldOptions_EditionDefault*)_upb_Message_New(&google_protobuf_FieldOptions_EditionDefault_msg_init, arena); -} -UPB_INLINE google_protobuf_FieldOptions_EditionDefault* google_protobuf_FieldOptions_EditionDefault_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_FieldOptions_EditionDefault* ret = google_protobuf_FieldOptions_EditionDefault_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FieldOptions_EditionDefault_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_FieldOptions_EditionDefault* google_protobuf_FieldOptions_EditionDefault_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_FieldOptions_EditionDefault* ret = google_protobuf_FieldOptions_EditionDefault_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FieldOptions_EditionDefault_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_FieldOptions_EditionDefault_serialize(const google_protobuf_FieldOptions_EditionDefault* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FieldOptions_EditionDefault_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_FieldOptions_EditionDefault_serialize_ex(const google_protobuf_FieldOptions_EditionDefault* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FieldOptions_EditionDefault_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_FieldOptions_EditionDefault_clear_edition(google_protobuf_FieldOptions_EditionDefault* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FieldOptions_EditionDefault_edition(const google_protobuf_FieldOptions_EditionDefault* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldOptions_EditionDefault_has_edition(const google_protobuf_FieldOptions_EditionDefault* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FieldOptions_EditionDefault_clear_value(google_protobuf_FieldOptions_EditionDefault* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_FieldOptions_EditionDefault_value(const google_protobuf_FieldOptions_EditionDefault* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(12, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FieldOptions_EditionDefault_has_value(const google_protobuf_FieldOptions_EditionDefault* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_FieldOptions_EditionDefault_set_edition(google_protobuf_FieldOptions_EditionDefault *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FieldOptions_EditionDefault_set_value(google_protobuf_FieldOptions_EditionDefault *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 24), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* google.protobuf.OneofOptions */ - -UPB_INLINE google_protobuf_OneofOptions* google_protobuf_OneofOptions_new(upb_Arena* arena) { - return (google_protobuf_OneofOptions*)_upb_Message_New(&google_protobuf_OneofOptions_msg_init, arena); -} -UPB_INLINE google_protobuf_OneofOptions* google_protobuf_OneofOptions_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_OneofOptions* ret = google_protobuf_OneofOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_OneofOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_OneofOptions* google_protobuf_OneofOptions_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_OneofOptions* ret = google_protobuf_OneofOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_OneofOptions_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_OneofOptions_serialize(const google_protobuf_OneofOptions* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_OneofOptions_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_OneofOptions_serialize_ex(const google_protobuf_OneofOptions* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_OneofOptions_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_OneofOptions_clear_features(google_protobuf_OneofOptions* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_OneofOptions_features(const google_protobuf_OneofOptions* msg) { - const google_protobuf_FeatureSet* default_val = NULL; - const google_protobuf_FeatureSet* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_OneofOptions_has_features(const google_protobuf_OneofOptions* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_OneofOptions_clear_uninterpreted_option(google_protobuf_OneofOptions* msg) { - const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_OneofOptions_uninterpreted_option(const google_protobuf_OneofOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_OneofOptions_uninterpreted_option_upb_array(const google_protobuf_OneofOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_OneofOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_OneofOptions* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_OneofOptions_has_uninterpreted_option(const google_protobuf_OneofOptions* msg) { - size_t size; - google_protobuf_OneofOptions_uninterpreted_option(msg, &size); - return size != 0; -} - -UPB_INLINE void google_protobuf_OneofOptions_set_features(google_protobuf_OneofOptions *msg, google_protobuf_FeatureSet* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_OneofOptions_mutable_features(google_protobuf_OneofOptions* msg, upb_Arena* arena) { - struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_OneofOptions_features(msg); - if (sub == NULL) { - sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google_protobuf_FeatureSet_msg_init, arena); - if (sub) google_protobuf_OneofOptions_set_features(msg, sub); - } - return sub; -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_OneofOptions_mutable_uninterpreted_option(google_protobuf_OneofOptions* msg, size_t* size) { - upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_OneofOptions_resize_uninterpreted_option(google_protobuf_OneofOptions* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_OneofOptions_add_uninterpreted_option(google_protobuf_OneofOptions* msg, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google_protobuf_UninterpretedOption_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* google.protobuf.EnumOptions */ - -UPB_INLINE google_protobuf_EnumOptions* google_protobuf_EnumOptions_new(upb_Arena* arena) { - return (google_protobuf_EnumOptions*)_upb_Message_New(&google_protobuf_EnumOptions_msg_init, arena); -} -UPB_INLINE google_protobuf_EnumOptions* google_protobuf_EnumOptions_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_EnumOptions* ret = google_protobuf_EnumOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_EnumOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_EnumOptions* google_protobuf_EnumOptions_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_EnumOptions* ret = google_protobuf_EnumOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_EnumOptions_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_EnumOptions_serialize(const google_protobuf_EnumOptions* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_EnumOptions_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_EnumOptions_serialize_ex(const google_protobuf_EnumOptions* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_EnumOptions_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_EnumOptions_clear_allow_alias(google_protobuf_EnumOptions* msg) { - const upb_MiniTableField field = {2, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_EnumOptions_allow_alias(const google_protobuf_EnumOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {2, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumOptions_has_allow_alias(const google_protobuf_EnumOptions* msg) { - const upb_MiniTableField field = {2, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_EnumOptions_clear_deprecated(google_protobuf_EnumOptions* msg) { - const upb_MiniTableField field = {3, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_EnumOptions_deprecated(const google_protobuf_EnumOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {3, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumOptions_has_deprecated(const google_protobuf_EnumOptions* msg) { - const upb_MiniTableField field = {3, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_EnumOptions_clear_deprecated_legacy_json_field_conflicts(google_protobuf_EnumOptions* msg) { - const upb_MiniTableField field = {6, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_EnumOptions_deprecated_legacy_json_field_conflicts(const google_protobuf_EnumOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {6, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumOptions_has_deprecated_legacy_json_field_conflicts(const google_protobuf_EnumOptions* msg) { - const upb_MiniTableField field = {6, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_EnumOptions_clear_features(google_protobuf_EnumOptions* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_EnumOptions_features(const google_protobuf_EnumOptions* msg) { - const google_protobuf_FeatureSet* default_val = NULL; - const google_protobuf_FeatureSet* ret; - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumOptions_has_features(const google_protobuf_EnumOptions* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_EnumOptions_clear_uninterpreted_option(google_protobuf_EnumOptions* msg) { - const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_EnumOptions_uninterpreted_option(const google_protobuf_EnumOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_EnumOptions_uninterpreted_option_upb_array(const google_protobuf_EnumOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_EnumOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_EnumOptions* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_EnumOptions_has_uninterpreted_option(const google_protobuf_EnumOptions* msg) { - size_t size; - google_protobuf_EnumOptions_uninterpreted_option(msg, &size); - return size != 0; -} - -UPB_INLINE void google_protobuf_EnumOptions_set_allow_alias(google_protobuf_EnumOptions *msg, bool value) { - const upb_MiniTableField field = {2, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_EnumOptions_set_deprecated(google_protobuf_EnumOptions *msg, bool value) { - const upb_MiniTableField field = {3, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_EnumOptions_set_deprecated_legacy_json_field_conflicts(google_protobuf_EnumOptions *msg, bool value) { - const upb_MiniTableField field = {6, 3, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_EnumOptions_set_features(google_protobuf_EnumOptions *msg, google_protobuf_FeatureSet* value) { - const upb_MiniTableField field = {7, UPB_SIZE(4, 8), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_EnumOptions_mutable_features(google_protobuf_EnumOptions* msg, upb_Arena* arena) { - struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_EnumOptions_features(msg); - if (sub == NULL) { - sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google_protobuf_FeatureSet_msg_init, arena); - if (sub) google_protobuf_EnumOptions_set_features(msg, sub); - } - return sub; -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumOptions_mutable_uninterpreted_option(google_protobuf_EnumOptions* msg, size_t* size) { - upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumOptions_resize_uninterpreted_option(google_protobuf_EnumOptions* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_EnumOptions_add_uninterpreted_option(google_protobuf_EnumOptions* msg, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google_protobuf_UninterpretedOption_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* google.protobuf.EnumValueOptions */ - -UPB_INLINE google_protobuf_EnumValueOptions* google_protobuf_EnumValueOptions_new(upb_Arena* arena) { - return (google_protobuf_EnumValueOptions*)_upb_Message_New(&google_protobuf_EnumValueOptions_msg_init, arena); -} -UPB_INLINE google_protobuf_EnumValueOptions* google_protobuf_EnumValueOptions_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_EnumValueOptions* ret = google_protobuf_EnumValueOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_EnumValueOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_EnumValueOptions* google_protobuf_EnumValueOptions_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_EnumValueOptions* ret = google_protobuf_EnumValueOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_EnumValueOptions_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_EnumValueOptions_serialize(const google_protobuf_EnumValueOptions* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_EnumValueOptions_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_EnumValueOptions_serialize_ex(const google_protobuf_EnumValueOptions* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_EnumValueOptions_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_EnumValueOptions_clear_deprecated(google_protobuf_EnumValueOptions* msg) { - const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_EnumValueOptions_deprecated(const google_protobuf_EnumValueOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumValueOptions_has_deprecated(const google_protobuf_EnumValueOptions* msg) { - const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_EnumValueOptions_clear_features(google_protobuf_EnumValueOptions* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_EnumValueOptions_features(const google_protobuf_EnumValueOptions* msg) { - const google_protobuf_FeatureSet* default_val = NULL; - const google_protobuf_FeatureSet* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumValueOptions_has_features(const google_protobuf_EnumValueOptions* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_EnumValueOptions_clear_debug_redact(google_protobuf_EnumValueOptions* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 2), 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_EnumValueOptions_debug_redact(const google_protobuf_EnumValueOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 2), 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_EnumValueOptions_has_debug_redact(const google_protobuf_EnumValueOptions* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 2), 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_EnumValueOptions_clear_uninterpreted_option(google_protobuf_EnumValueOptions* msg) { - const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_EnumValueOptions_uninterpreted_option(const google_protobuf_EnumValueOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_option_upb_array(const google_protobuf_EnumValueOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_EnumValueOptions* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_EnumValueOptions_has_uninterpreted_option(const google_protobuf_EnumValueOptions* msg) { - size_t size; - google_protobuf_EnumValueOptions_uninterpreted_option(msg, &size); - return size != 0; -} - -UPB_INLINE void google_protobuf_EnumValueOptions_set_deprecated(google_protobuf_EnumValueOptions *msg, bool value) { - const upb_MiniTableField field = {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_EnumValueOptions_set_features(google_protobuf_EnumValueOptions *msg, google_protobuf_FeatureSet* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_EnumValueOptions_mutable_features(google_protobuf_EnumValueOptions* msg, upb_Arena* arena) { - struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_EnumValueOptions_features(msg); - if (sub == NULL) { - sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google_protobuf_FeatureSet_msg_init, arena); - if (sub) google_protobuf_EnumValueOptions_set_features(msg, sub); - } - return sub; -} -UPB_INLINE void google_protobuf_EnumValueOptions_set_debug_redact(google_protobuf_EnumValueOptions *msg, bool value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 2), 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOptions_mutable_uninterpreted_option(google_protobuf_EnumValueOptions* msg, size_t* size) { - upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOptions_resize_uninterpreted_option(google_protobuf_EnumValueOptions* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_EnumValueOptions_add_uninterpreted_option(google_protobuf_EnumValueOptions* msg, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google_protobuf_UninterpretedOption_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* google.protobuf.ServiceOptions */ - -UPB_INLINE google_protobuf_ServiceOptions* google_protobuf_ServiceOptions_new(upb_Arena* arena) { - return (google_protobuf_ServiceOptions*)_upb_Message_New(&google_protobuf_ServiceOptions_msg_init, arena); -} -UPB_INLINE google_protobuf_ServiceOptions* google_protobuf_ServiceOptions_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_ServiceOptions* ret = google_protobuf_ServiceOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_ServiceOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_ServiceOptions* google_protobuf_ServiceOptions_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_ServiceOptions* ret = google_protobuf_ServiceOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_ServiceOptions_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_ServiceOptions_serialize(const google_protobuf_ServiceOptions* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_ServiceOptions_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_ServiceOptions_serialize_ex(const google_protobuf_ServiceOptions* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_ServiceOptions_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_ServiceOptions_clear_deprecated(google_protobuf_ServiceOptions* msg) { - const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_ServiceOptions_deprecated(const google_protobuf_ServiceOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_ServiceOptions_has_deprecated(const google_protobuf_ServiceOptions* msg) { - const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_ServiceOptions_clear_features(google_protobuf_ServiceOptions* msg) { - const upb_MiniTableField field = {34, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_ServiceOptions_features(const google_protobuf_ServiceOptions* msg) { - const google_protobuf_FeatureSet* default_val = NULL; - const google_protobuf_FeatureSet* ret; - const upb_MiniTableField field = {34, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_ServiceOptions_has_features(const google_protobuf_ServiceOptions* msg) { - const upb_MiniTableField field = {34, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_ServiceOptions_clear_uninterpreted_option(google_protobuf_ServiceOptions* msg) { - const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_ServiceOptions_uninterpreted_option(const google_protobuf_ServiceOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_ServiceOptions_uninterpreted_option_upb_array(const google_protobuf_ServiceOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_ServiceOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_ServiceOptions* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_ServiceOptions_has_uninterpreted_option(const google_protobuf_ServiceOptions* msg) { - size_t size; - google_protobuf_ServiceOptions_uninterpreted_option(msg, &size); - return size != 0; -} - -UPB_INLINE void google_protobuf_ServiceOptions_set_deprecated(google_protobuf_ServiceOptions *msg, bool value) { - const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_ServiceOptions_set_features(google_protobuf_ServiceOptions *msg, google_protobuf_FeatureSet* value) { - const upb_MiniTableField field = {34, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_ServiceOptions_mutable_features(google_protobuf_ServiceOptions* msg, upb_Arena* arena) { - struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_ServiceOptions_features(msg); - if (sub == NULL) { - sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google_protobuf_FeatureSet_msg_init, arena); - if (sub) google_protobuf_ServiceOptions_set_features(msg, sub); - } - return sub; -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_ServiceOptions_mutable_uninterpreted_option(google_protobuf_ServiceOptions* msg, size_t* size) { - upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_ServiceOptions_resize_uninterpreted_option(google_protobuf_ServiceOptions* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_ServiceOptions_add_uninterpreted_option(google_protobuf_ServiceOptions* msg, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google_protobuf_UninterpretedOption_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* google.protobuf.MethodOptions */ - -UPB_INLINE google_protobuf_MethodOptions* google_protobuf_MethodOptions_new(upb_Arena* arena) { - return (google_protobuf_MethodOptions*)_upb_Message_New(&google_protobuf_MethodOptions_msg_init, arena); -} -UPB_INLINE google_protobuf_MethodOptions* google_protobuf_MethodOptions_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_MethodOptions* ret = google_protobuf_MethodOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_MethodOptions_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_MethodOptions* google_protobuf_MethodOptions_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_MethodOptions* ret = google_protobuf_MethodOptions_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_MethodOptions_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_MethodOptions_serialize(const google_protobuf_MethodOptions* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_MethodOptions_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_MethodOptions_serialize_ex(const google_protobuf_MethodOptions* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_MethodOptions_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_MethodOptions_clear_deprecated(google_protobuf_MethodOptions* msg) { - const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_MethodOptions_deprecated(const google_protobuf_MethodOptions* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MethodOptions_has_deprecated(const google_protobuf_MethodOptions* msg) { - const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MethodOptions_clear_idempotency_level(google_protobuf_MethodOptions* msg) { - const upb_MiniTableField field = {34, 4, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_MethodOptions_idempotency_level(const google_protobuf_MethodOptions* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {34, 4, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MethodOptions_has_idempotency_level(const google_protobuf_MethodOptions* msg) { - const upb_MiniTableField field = {34, 4, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MethodOptions_clear_features(google_protobuf_MethodOptions* msg) { - const upb_MiniTableField field = {35, 8, 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_MethodOptions_features(const google_protobuf_MethodOptions* msg) { - const google_protobuf_FeatureSet* default_val = NULL; - const google_protobuf_FeatureSet* ret; - const upb_MiniTableField field = {35, 8, 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_MethodOptions_has_features(const google_protobuf_MethodOptions* msg) { - const upb_MiniTableField field = {35, 8, 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_MethodOptions_clear_uninterpreted_option(google_protobuf_MethodOptions* msg) { - const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_MethodOptions_uninterpreted_option(const google_protobuf_MethodOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_UninterpretedOption* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_MethodOptions_uninterpreted_option_upb_array(const google_protobuf_MethodOptions* msg, size_t* size) { - const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_MethodOptions_uninterpreted_option_mutable_upb_array(const google_protobuf_MethodOptions* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_MethodOptions_has_uninterpreted_option(const google_protobuf_MethodOptions* msg) { - size_t size; - google_protobuf_MethodOptions_uninterpreted_option(msg, &size); - return size != 0; -} - -UPB_INLINE void google_protobuf_MethodOptions_set_deprecated(google_protobuf_MethodOptions *msg, bool value) { - const upb_MiniTableField field = {33, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_MethodOptions_set_idempotency_level(google_protobuf_MethodOptions *msg, int32_t value) { - const upb_MiniTableField field = {34, 4, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_MethodOptions_set_features(google_protobuf_MethodOptions *msg, google_protobuf_FeatureSet* value) { - const upb_MiniTableField field = {35, 8, 3, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_MethodOptions_mutable_features(google_protobuf_MethodOptions* msg, upb_Arena* arena) { - struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_MethodOptions_features(msg); - if (sub == NULL) { - sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google_protobuf_FeatureSet_msg_init, arena); - if (sub) google_protobuf_MethodOptions_set_features(msg, sub); - } - return sub; -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_MethodOptions_mutable_uninterpreted_option(google_protobuf_MethodOptions* msg, size_t* size) { - upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_UninterpretedOption**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_MethodOptions_resize_uninterpreted_option(google_protobuf_MethodOptions* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_MethodOptions_add_uninterpreted_option(google_protobuf_MethodOptions* msg, upb_Arena* arena) { - upb_MiniTableField field = {999, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google_protobuf_UninterpretedOption_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* google.protobuf.UninterpretedOption */ - -UPB_INLINE google_protobuf_UninterpretedOption* google_protobuf_UninterpretedOption_new(upb_Arena* arena) { - return (google_protobuf_UninterpretedOption*)_upb_Message_New(&google_protobuf_UninterpretedOption_msg_init, arena); -} -UPB_INLINE google_protobuf_UninterpretedOption* google_protobuf_UninterpretedOption_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_UninterpretedOption* ret = google_protobuf_UninterpretedOption_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_UninterpretedOption_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_UninterpretedOption* google_protobuf_UninterpretedOption_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_UninterpretedOption* ret = google_protobuf_UninterpretedOption_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_UninterpretedOption_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_UninterpretedOption_serialize(const google_protobuf_UninterpretedOption* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_UninterpretedOption_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_UninterpretedOption_serialize_ex(const google_protobuf_UninterpretedOption* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_UninterpretedOption_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_UninterpretedOption_clear_name(google_protobuf_UninterpretedOption* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_UninterpretedOption_NamePart* const* google_protobuf_UninterpretedOption_name(const google_protobuf_UninterpretedOption* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_UninterpretedOption_NamePart* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_UninterpretedOption_name_upb_array(const google_protobuf_UninterpretedOption* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_UninterpretedOption_name_mutable_upb_array(const google_protobuf_UninterpretedOption* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_UninterpretedOption_has_name(const google_protobuf_UninterpretedOption* msg) { - size_t size; - google_protobuf_UninterpretedOption_name(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_UninterpretedOption_clear_identifier_value(google_protobuf_UninterpretedOption* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_identifier_value(const google_protobuf_UninterpretedOption* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_UninterpretedOption_has_identifier_value(const google_protobuf_UninterpretedOption* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_UninterpretedOption_clear_positive_int_value(google_protobuf_UninterpretedOption* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE uint64_t google_protobuf_UninterpretedOption_positive_int_value(const google_protobuf_UninterpretedOption* msg) { - uint64_t default_val = (uint64_t)0ull; - uint64_t ret; - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_UninterpretedOption_has_positive_int_value(const google_protobuf_UninterpretedOption* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_UninterpretedOption_clear_negative_int_value(google_protobuf_UninterpretedOption* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 3, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int64_t google_protobuf_UninterpretedOption_negative_int_value(const google_protobuf_UninterpretedOption* msg) { - int64_t default_val = (int64_t)0ll; - int64_t ret; - const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 3, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_UninterpretedOption_has_negative_int_value(const google_protobuf_UninterpretedOption* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 3, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_UninterpretedOption_clear_double_value(google_protobuf_UninterpretedOption* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 4, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE double google_protobuf_UninterpretedOption_double_value(const google_protobuf_UninterpretedOption* msg) { - double default_val = 0; - double ret; - const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 4, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_UninterpretedOption_has_double_value(const google_protobuf_UninterpretedOption* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 4, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_UninterpretedOption_clear_string_value(google_protobuf_UninterpretedOption* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(40, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_string_value(const google_protobuf_UninterpretedOption* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {7, UPB_SIZE(40, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_UninterpretedOption_has_string_value(const google_protobuf_UninterpretedOption* msg) { - const upb_MiniTableField field = {7, UPB_SIZE(40, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_UninterpretedOption_clear_aggregate_value(google_protobuf_UninterpretedOption* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_aggregate_value(const google_protobuf_UninterpretedOption* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_UninterpretedOption_has_aggregate_value(const google_protobuf_UninterpretedOption* msg) { - const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE google_protobuf_UninterpretedOption_NamePart** google_protobuf_UninterpretedOption_mutable_name(google_protobuf_UninterpretedOption* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_UninterpretedOption_NamePart**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_UninterpretedOption_NamePart** google_protobuf_UninterpretedOption_resize_name(google_protobuf_UninterpretedOption* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_UninterpretedOption_NamePart**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_UninterpretedOption_NamePart* google_protobuf_UninterpretedOption_add_name(google_protobuf_UninterpretedOption* msg, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_UninterpretedOption_NamePart* sub = (struct google_protobuf_UninterpretedOption_NamePart*)_upb_Message_New(&google_protobuf_UninterpretedOption_NamePart_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void google_protobuf_UninterpretedOption_set_identifier_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_UninterpretedOption_set_positive_int_value(google_protobuf_UninterpretedOption *msg, uint64_t value) { - const upb_MiniTableField field = {4, UPB_SIZE(16, 32), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_UninterpretedOption_set_negative_int_value(google_protobuf_UninterpretedOption *msg, int64_t value) { - const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 3, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_UninterpretedOption_set_double_value(google_protobuf_UninterpretedOption *msg, double value) { - const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 4, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_UninterpretedOption_set_string_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) { - const upb_MiniTableField field = {7, UPB_SIZE(40, 56), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_UninterpretedOption_set_aggregate_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) { - const upb_MiniTableField field = {8, UPB_SIZE(48, 72), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* google.protobuf.UninterpretedOption.NamePart */ - -UPB_INLINE google_protobuf_UninterpretedOption_NamePart* google_protobuf_UninterpretedOption_NamePart_new(upb_Arena* arena) { - return (google_protobuf_UninterpretedOption_NamePart*)_upb_Message_New(&google_protobuf_UninterpretedOption_NamePart_msg_init, arena); -} -UPB_INLINE google_protobuf_UninterpretedOption_NamePart* google_protobuf_UninterpretedOption_NamePart_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_UninterpretedOption_NamePart* ret = google_protobuf_UninterpretedOption_NamePart_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_UninterpretedOption_NamePart_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_UninterpretedOption_NamePart* google_protobuf_UninterpretedOption_NamePart_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_UninterpretedOption_NamePart* ret = google_protobuf_UninterpretedOption_NamePart_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_UninterpretedOption_NamePart_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_UninterpretedOption_NamePart_serialize(const google_protobuf_UninterpretedOption_NamePart* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_UninterpretedOption_NamePart_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_UninterpretedOption_NamePart_serialize_ex(const google_protobuf_UninterpretedOption_NamePart* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_UninterpretedOption_NamePart_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_clear_name_part(google_protobuf_UninterpretedOption_NamePart* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_NamePart_name_part(const google_protobuf_UninterpretedOption_NamePart* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_has_name_part(const google_protobuf_UninterpretedOption_NamePart* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_clear_is_extension(google_protobuf_UninterpretedOption_NamePart* msg) { - const upb_MiniTableField field = {2, 1, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_is_extension(const google_protobuf_UninterpretedOption_NamePart* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {2, 1, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_has_is_extension(const google_protobuf_UninterpretedOption_NamePart* msg) { - const upb_MiniTableField field = {2, 1, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_set_name_part(google_protobuf_UninterpretedOption_NamePart *msg, upb_StringView value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_set_is_extension(google_protobuf_UninterpretedOption_NamePart *msg, bool value) { - const upb_MiniTableField field = {2, 1, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* google.protobuf.FeatureSet */ - -UPB_INLINE google_protobuf_FeatureSet* google_protobuf_FeatureSet_new(upb_Arena* arena) { - return (google_protobuf_FeatureSet*)_upb_Message_New(&google_protobuf_FeatureSet_msg_init, arena); -} -UPB_INLINE google_protobuf_FeatureSet* google_protobuf_FeatureSet_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_FeatureSet* ret = google_protobuf_FeatureSet_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FeatureSet_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_FeatureSet* google_protobuf_FeatureSet_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_FeatureSet* ret = google_protobuf_FeatureSet_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_FeatureSet_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_FeatureSet_serialize(const google_protobuf_FeatureSet* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FeatureSet_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_FeatureSet_serialize_ex(const google_protobuf_FeatureSet* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_FeatureSet_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_FeatureSet_clear_field_presence(google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {1, 4, 1, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FeatureSet_field_presence(const google_protobuf_FeatureSet* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {1, 4, 1, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FeatureSet_has_field_presence(const google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {1, 4, 1, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FeatureSet_clear_enum_type(google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {2, 8, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FeatureSet_enum_type(const google_protobuf_FeatureSet* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {2, 8, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FeatureSet_has_enum_type(const google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {2, 8, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FeatureSet_clear_repeated_field_encoding(google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {3, 12, 3, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FeatureSet_repeated_field_encoding(const google_protobuf_FeatureSet* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {3, 12, 3, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FeatureSet_has_repeated_field_encoding(const google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {3, 12, 3, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FeatureSet_clear_string_field_validation(google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {4, 16, 4, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FeatureSet_string_field_validation(const google_protobuf_FeatureSet* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {4, 16, 4, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FeatureSet_has_string_field_validation(const google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {4, 16, 4, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FeatureSet_clear_message_encoding(google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {5, 20, 5, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FeatureSet_message_encoding(const google_protobuf_FeatureSet* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {5, 20, 5, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FeatureSet_has_message_encoding(const google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {5, 20, 5, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FeatureSet_clear_json_format(google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {6, 24, 6, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_FeatureSet_json_format(const google_protobuf_FeatureSet* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {6, 24, 6, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FeatureSet_has_json_format(const google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {6, 24, 6, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_FeatureSet_clear_raw_features(google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {999, UPB_SIZE(28, 32), 7, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_FeatureSet_raw_features(const google_protobuf_FeatureSet* msg) { - const google_protobuf_FeatureSet* default_val = NULL; - const google_protobuf_FeatureSet* ret; - const upb_MiniTableField field = {999, UPB_SIZE(28, 32), 7, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_FeatureSet_has_raw_features(const google_protobuf_FeatureSet* msg) { - const upb_MiniTableField field = {999, UPB_SIZE(28, 32), 7, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_FeatureSet_set_field_presence(google_protobuf_FeatureSet *msg, int32_t value) { - const upb_MiniTableField field = {1, 4, 1, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FeatureSet_set_enum_type(google_protobuf_FeatureSet *msg, int32_t value) { - const upb_MiniTableField field = {2, 8, 2, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FeatureSet_set_repeated_field_encoding(google_protobuf_FeatureSet *msg, int32_t value) { - const upb_MiniTableField field = {3, 12, 3, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FeatureSet_set_string_field_validation(google_protobuf_FeatureSet *msg, int32_t value) { - const upb_MiniTableField field = {4, 16, 4, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FeatureSet_set_message_encoding(google_protobuf_FeatureSet *msg, int32_t value) { - const upb_MiniTableField field = {5, 20, 5, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FeatureSet_set_json_format(google_protobuf_FeatureSet *msg, int32_t value) { - const upb_MiniTableField field = {6, 24, 6, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_FeatureSet_set_raw_features(google_protobuf_FeatureSet *msg, google_protobuf_FeatureSet* value) { - const upb_MiniTableField field = {999, UPB_SIZE(28, 32), 7, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FeatureSet_mutable_raw_features(google_protobuf_FeatureSet* msg, upb_Arena* arena) { - struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FeatureSet_raw_features(msg); - if (sub == NULL) { - sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google_protobuf_FeatureSet_msg_init, arena); - if (sub) google_protobuf_FeatureSet_set_raw_features(msg, sub); - } - return sub; -} - -/* google.protobuf.SourceCodeInfo */ - -UPB_INLINE google_protobuf_SourceCodeInfo* google_protobuf_SourceCodeInfo_new(upb_Arena* arena) { - return (google_protobuf_SourceCodeInfo*)_upb_Message_New(&google_protobuf_SourceCodeInfo_msg_init, arena); -} -UPB_INLINE google_protobuf_SourceCodeInfo* google_protobuf_SourceCodeInfo_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_SourceCodeInfo* ret = google_protobuf_SourceCodeInfo_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_SourceCodeInfo_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_SourceCodeInfo* google_protobuf_SourceCodeInfo_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_SourceCodeInfo* ret = google_protobuf_SourceCodeInfo_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_SourceCodeInfo_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_SourceCodeInfo_serialize(const google_protobuf_SourceCodeInfo* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_SourceCodeInfo_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_SourceCodeInfo_serialize_ex(const google_protobuf_SourceCodeInfo* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_SourceCodeInfo_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_SourceCodeInfo_clear_location(google_protobuf_SourceCodeInfo* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_SourceCodeInfo_Location* const* google_protobuf_SourceCodeInfo_location(const google_protobuf_SourceCodeInfo* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_SourceCodeInfo_Location* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_SourceCodeInfo_location_upb_array(const google_protobuf_SourceCodeInfo* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_SourceCodeInfo_location_mutable_upb_array(const google_protobuf_SourceCodeInfo* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_SourceCodeInfo_has_location(const google_protobuf_SourceCodeInfo* msg) { - size_t size; - google_protobuf_SourceCodeInfo_location(msg, &size); - return size != 0; -} - -UPB_INLINE google_protobuf_SourceCodeInfo_Location** google_protobuf_SourceCodeInfo_mutable_location(google_protobuf_SourceCodeInfo* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_SourceCodeInfo_Location**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_SourceCodeInfo_Location** google_protobuf_SourceCodeInfo_resize_location(google_protobuf_SourceCodeInfo* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_SourceCodeInfo_Location**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_SourceCodeInfo_Location* google_protobuf_SourceCodeInfo_add_location(google_protobuf_SourceCodeInfo* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_SourceCodeInfo_Location* sub = (struct google_protobuf_SourceCodeInfo_Location*)_upb_Message_New(&google_protobuf_SourceCodeInfo_Location_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* google.protobuf.SourceCodeInfo.Location */ - -UPB_INLINE google_protobuf_SourceCodeInfo_Location* google_protobuf_SourceCodeInfo_Location_new(upb_Arena* arena) { - return (google_protobuf_SourceCodeInfo_Location*)_upb_Message_New(&google_protobuf_SourceCodeInfo_Location_msg_init, arena); -} -UPB_INLINE google_protobuf_SourceCodeInfo_Location* google_protobuf_SourceCodeInfo_Location_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_SourceCodeInfo_Location* ret = google_protobuf_SourceCodeInfo_Location_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_SourceCodeInfo_Location_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_SourceCodeInfo_Location* google_protobuf_SourceCodeInfo_Location_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_SourceCodeInfo_Location* ret = google_protobuf_SourceCodeInfo_Location_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_SourceCodeInfo_Location_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_SourceCodeInfo_Location_serialize(const google_protobuf_SourceCodeInfo_Location* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_SourceCodeInfo_Location_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_SourceCodeInfo_Location_serialize_ex(const google_protobuf_SourceCodeInfo_Location* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_SourceCodeInfo_Location_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_path(google_protobuf_SourceCodeInfo_Location* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t const* google_protobuf_SourceCodeInfo_Location_path(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_SourceCodeInfo_Location_path_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_SourceCodeInfo_Location_path_mutable_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_path(const google_protobuf_SourceCodeInfo_Location* msg) { - size_t size; - google_protobuf_SourceCodeInfo_Location_path(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_span(google_protobuf_SourceCodeInfo_Location* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t const* google_protobuf_SourceCodeInfo_Location_span(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_SourceCodeInfo_Location_span_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_SourceCodeInfo_Location_span_mutable_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_span(const google_protobuf_SourceCodeInfo_Location* msg) { - size_t size; - google_protobuf_SourceCodeInfo_Location_span(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_leading_comments(google_protobuf_SourceCodeInfo_Location* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_SourceCodeInfo_Location_leading_comments(const google_protobuf_SourceCodeInfo_Location* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_leading_comments(const google_protobuf_SourceCodeInfo_Location* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_trailing_comments(google_protobuf_SourceCodeInfo_Location* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_SourceCodeInfo_Location_trailing_comments(const google_protobuf_SourceCodeInfo_Location* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_trailing_comments(const google_protobuf_SourceCodeInfo_Location* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_leading_detached_comments(google_protobuf_SourceCodeInfo_Location* msg) { - const upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView const* google_protobuf_SourceCodeInfo_Location_leading_detached_comments(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { - const upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_SourceCodeInfo_Location_leading_detached_comments_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { - const upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_SourceCodeInfo_Location_leading_detached_comments_mutable_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_leading_detached_comments(const google_protobuf_SourceCodeInfo_Location* msg) { - size_t size; - google_protobuf_SourceCodeInfo_Location_leading_detached_comments(msg, &size); - return size != 0; -} - -UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_mutable_path(google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_resize_path(google_protobuf_SourceCodeInfo_Location* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_path(google_protobuf_SourceCodeInfo_Location* msg, int32_t val, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_mutable_span(google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { - upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_resize_span(google_protobuf_SourceCodeInfo_Location* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_span(google_protobuf_SourceCodeInfo_Location* msg, int32_t val, upb_Arena* arena) { - upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_leading_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_StringView value) { - const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_trailing_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_StringView value) { - const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 2, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE upb_StringView* google_protobuf_SourceCodeInfo_Location_mutable_leading_detached_comments(google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { - upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (upb_StringView*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE upb_StringView* google_protobuf_SourceCodeInfo_Location_resize_leading_detached_comments(google_protobuf_SourceCodeInfo_Location* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (upb_StringView*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_leading_detached_comments(google_protobuf_SourceCodeInfo_Location* msg, upb_StringView val, upb_Arena* arena) { - upb_MiniTableField field = {6, UPB_SIZE(12, 56), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} - -/* google.protobuf.GeneratedCodeInfo */ - -UPB_INLINE google_protobuf_GeneratedCodeInfo* google_protobuf_GeneratedCodeInfo_new(upb_Arena* arena) { - return (google_protobuf_GeneratedCodeInfo*)_upb_Message_New(&google_protobuf_GeneratedCodeInfo_msg_init, arena); -} -UPB_INLINE google_protobuf_GeneratedCodeInfo* google_protobuf_GeneratedCodeInfo_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_GeneratedCodeInfo* ret = google_protobuf_GeneratedCodeInfo_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_GeneratedCodeInfo_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_GeneratedCodeInfo* google_protobuf_GeneratedCodeInfo_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_GeneratedCodeInfo* ret = google_protobuf_GeneratedCodeInfo_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_GeneratedCodeInfo_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_GeneratedCodeInfo_serialize(const google_protobuf_GeneratedCodeInfo* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_GeneratedCodeInfo_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_GeneratedCodeInfo_serialize_ex(const google_protobuf_GeneratedCodeInfo* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_GeneratedCodeInfo_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_GeneratedCodeInfo_clear_annotation(google_protobuf_GeneratedCodeInfo* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_GeneratedCodeInfo_Annotation* const* google_protobuf_GeneratedCodeInfo_annotation(const google_protobuf_GeneratedCodeInfo* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_GeneratedCodeInfo_Annotation* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_GeneratedCodeInfo_annotation_upb_array(const google_protobuf_GeneratedCodeInfo* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_GeneratedCodeInfo_annotation_mutable_upb_array(const google_protobuf_GeneratedCodeInfo* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_GeneratedCodeInfo_has_annotation(const google_protobuf_GeneratedCodeInfo* msg) { - size_t size; - google_protobuf_GeneratedCodeInfo_annotation(msg, &size); - return size != 0; -} - -UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation** google_protobuf_GeneratedCodeInfo_mutable_annotation(google_protobuf_GeneratedCodeInfo* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_GeneratedCodeInfo_Annotation**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation** google_protobuf_GeneratedCodeInfo_resize_annotation(google_protobuf_GeneratedCodeInfo* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_GeneratedCodeInfo_Annotation**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_GeneratedCodeInfo_Annotation* google_protobuf_GeneratedCodeInfo_add_annotation(google_protobuf_GeneratedCodeInfo* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_GeneratedCodeInfo_Annotation* sub = (struct google_protobuf_GeneratedCodeInfo_Annotation*)_upb_Message_New(&google_protobuf_GeneratedCodeInfo_Annotation_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* google.protobuf.GeneratedCodeInfo.Annotation */ - -UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation* google_protobuf_GeneratedCodeInfo_Annotation_new(upb_Arena* arena) { - return (google_protobuf_GeneratedCodeInfo_Annotation*)_upb_Message_New(&google_protobuf_GeneratedCodeInfo_Annotation_msg_init, arena); -} -UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation* google_protobuf_GeneratedCodeInfo_Annotation_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_GeneratedCodeInfo_Annotation* ret = google_protobuf_GeneratedCodeInfo_Annotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_GeneratedCodeInfo_Annotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation* google_protobuf_GeneratedCodeInfo_Annotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_GeneratedCodeInfo_Annotation* ret = google_protobuf_GeneratedCodeInfo_Annotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_GeneratedCodeInfo_Annotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_GeneratedCodeInfo_Annotation_serialize(const google_protobuf_GeneratedCodeInfo_Annotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_GeneratedCodeInfo_Annotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_GeneratedCodeInfo_Annotation_serialize_ex(const google_protobuf_GeneratedCodeInfo_Annotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_GeneratedCodeInfo_Annotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_clear_path(google_protobuf_GeneratedCodeInfo_Annotation* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t const* google_protobuf_GeneratedCodeInfo_Annotation_path(const google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_GeneratedCodeInfo_Annotation_path_upb_array(const google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_GeneratedCodeInfo_Annotation_path_mutable_upb_array(const google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_path(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { - size_t size; - google_protobuf_GeneratedCodeInfo_Annotation_path(msg, &size); - return size != 0; -} -UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_clear_source_file(google_protobuf_GeneratedCodeInfo_Annotation* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_GeneratedCodeInfo_Annotation_source_file(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_source_file(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_clear_begin(google_protobuf_GeneratedCodeInfo_Annotation* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_begin(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_begin(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_clear_end(google_protobuf_GeneratedCodeInfo_Annotation* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 8), 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_end(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {4, UPB_SIZE(12, 8), 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_end(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 8), 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_clear_semantic(google_protobuf_GeneratedCodeInfo_Annotation* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 12), 4, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_semantic(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {5, UPB_SIZE(16, 12), 4, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_semantic(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 12), 4, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE int32_t* google_protobuf_GeneratedCodeInfo_Annotation_mutable_path(google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t* size) { - upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (int32_t*)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE int32_t* google_protobuf_GeneratedCodeInfo_Annotation_resize_path(google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (int32_t*)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_add_path(google_protobuf_GeneratedCodeInfo_Annotation* msg, int32_t val, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return false; - } - _upb_Array_Set(arr, arr->size - 1, &val, sizeof(val)); - return true; -} -UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_source_file(google_protobuf_GeneratedCodeInfo_Annotation *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_begin(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 4), 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_end(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 8), 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_semantic(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) { - const upb_MiniTableField field = {5, UPB_SIZE(16, 12), 4, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -extern const upb_MiniTableFile google_protobuf_descriptor_proto_upb_file_layout; - -/* Max size 32 is google.protobuf.FileOptions */ -/* Max size 64 is google.protobuf.FileOptions */ -#define _UPB_MAXOPT_SIZE UPB_SIZE(112, 200) - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/google/protobuf/duration.upb.c b/src/core/ext/upb-generated/google/protobuf/duration.upb.c deleted file mode 100644 index 2dbe9175787..00000000000 --- a/src/core/ext/upb-generated/google/protobuf/duration.upb.c +++ /dev/null @@ -1,47 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/protobuf/duration.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "google/protobuf/duration.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField google_protobuf_Duration__fields[2] = { - {1, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_Duration_msg_init = { - NULL, - &google_protobuf_Duration__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000008, &upb_psv8_1bt}, - {0x000000003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &google_protobuf_Duration_msg_init, -}; - -const upb_MiniTableFile google_protobuf_duration_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/protobuf/empty.upb.c b/src/core/ext/upb-generated/google/protobuf/empty.upb.c deleted file mode 100644 index d19652be9ec..00000000000 --- a/src/core/ext/upb-generated/google/protobuf/empty.upb.c +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/protobuf/empty.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "google/protobuf/empty.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -const upb_MiniTable google_protobuf_Empty_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTable *messages_layout[1] = { - &google_protobuf_Empty_msg_init, -}; - -const upb_MiniTableFile google_protobuf_empty_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/protobuf/empty.upb.h b/src/core/ext/upb-generated/google/protobuf/empty.upb.h deleted file mode 100644 index 13862d744fa..00000000000 --- a/src/core/ext/upb-generated/google/protobuf/empty.upb.h +++ /dev/null @@ -1,70 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/protobuf/empty.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef GOOGLE_PROTOBUF_EMPTY_PROTO_UPB_H_ -#define GOOGLE_PROTOBUF_EMPTY_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct google_protobuf_Empty google_protobuf_Empty; -extern const upb_MiniTable google_protobuf_Empty_msg_init; - - - -/* google.protobuf.Empty */ - -UPB_INLINE google_protobuf_Empty* google_protobuf_Empty_new(upb_Arena* arena) { - return (google_protobuf_Empty*)_upb_Message_New(&google_protobuf_Empty_msg_init, arena); -} -UPB_INLINE google_protobuf_Empty* google_protobuf_Empty_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_Empty* ret = google_protobuf_Empty_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Empty_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_Empty* google_protobuf_Empty_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_Empty* ret = google_protobuf_Empty_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Empty_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_Empty_serialize(const google_protobuf_Empty* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_Empty_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_Empty_serialize_ex(const google_protobuf_Empty* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_Empty_msg_init, options, arena, &ptr, len); - return ptr; -} - - -extern const upb_MiniTableFile google_protobuf_empty_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* GOOGLE_PROTOBUF_EMPTY_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/google/protobuf/struct.upb.c b/src/core/ext/upb-generated/google/protobuf/struct.upb.c deleted file mode 100644 index 1468941fb00..00000000000 --- a/src/core/ext/upb-generated/google/protobuf/struct.upb.c +++ /dev/null @@ -1,116 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/protobuf/struct.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "google/protobuf/struct.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub google_protobuf_Struct_submsgs[1] = { - {.submsg = &google_protobuf_Struct_FieldsEntry_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_Struct__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_Struct_msg_init = { - &google_protobuf_Struct_submsgs[0], - &google_protobuf_Struct__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub google_protobuf_Struct_FieldsEntry_submsgs[1] = { - {.submsg = &google_protobuf_Value_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_Struct_FieldsEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_Struct_FieldsEntry_msg_init = { - &google_protobuf_Struct_FieldsEntry_submsgs[0], - &google_protobuf_Struct_FieldsEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_Value_submsgs[2] = { - {.submsg = &google_protobuf_Struct_msg_init}, - {.submsg = &google_protobuf_ListValue_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_Value__fields[6] = { - {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, 8, -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {5, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, 8, -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_Value_msg_init = { - &google_protobuf_Value_submsgs[0], - &google_protobuf_Value__fields[0], - UPB_SIZE(16, 24), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000008, &upb_pov4_1bt}, - {0x0008000002000011, &upb_pof8_1bt}, - {0x000800000300001a, &upb_pos_1bt}, - {0x0008000004000020, &upb_pob1_1bt}, - {0x000800000500002a, &upb_pom_1bt_max64b}, - {0x0008000006010032, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub google_protobuf_ListValue_submsgs[1] = { - {.submsg = &google_protobuf_Value_msg_init}, -}; - -static const upb_MiniTableField google_protobuf_ListValue__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_ListValue_msg_init = { - &google_protobuf_ListValue_submsgs[0], - &google_protobuf_ListValue__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTable *messages_layout[4] = { - &google_protobuf_Struct_msg_init, - &google_protobuf_Struct_FieldsEntry_msg_init, - &google_protobuf_Value_msg_init, - &google_protobuf_ListValue_msg_init, -}; - -const upb_MiniTableFile google_protobuf_struct_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 4, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/protobuf/struct.upb.h b/src/core/ext/upb-generated/google/protobuf/struct.upb.h deleted file mode 100644 index 515bd8e3b43..00000000000 --- a/src/core/ext/upb-generated/google/protobuf/struct.upb.h +++ /dev/null @@ -1,426 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/protobuf/struct.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_H_ -#define GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct google_protobuf_Struct google_protobuf_Struct; -typedef struct google_protobuf_Struct_FieldsEntry google_protobuf_Struct_FieldsEntry; -typedef struct google_protobuf_Value google_protobuf_Value; -typedef struct google_protobuf_ListValue google_protobuf_ListValue; -extern const upb_MiniTable google_protobuf_Struct_msg_init; -extern const upb_MiniTable google_protobuf_Struct_FieldsEntry_msg_init; -extern const upb_MiniTable google_protobuf_Value_msg_init; -extern const upb_MiniTable google_protobuf_ListValue_msg_init; - -typedef enum { - google_protobuf_NULL_VALUE = 0 -} google_protobuf_NullValue; - - - -/* google.protobuf.Struct */ - -UPB_INLINE google_protobuf_Struct* google_protobuf_Struct_new(upb_Arena* arena) { - return (google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); -} -UPB_INLINE google_protobuf_Struct* google_protobuf_Struct_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_Struct* ret = google_protobuf_Struct_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Struct_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_Struct* google_protobuf_Struct_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_Struct* ret = google_protobuf_Struct_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Struct_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_Struct_serialize(const google_protobuf_Struct* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_Struct_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_Struct_serialize_ex(const google_protobuf_Struct* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_Struct_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_Struct_clear_fields(google_protobuf_Struct* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE size_t google_protobuf_Struct_fields_size(const google_protobuf_Struct* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - return map ? _upb_Map_Size(map) : 0; -} -UPB_INLINE bool google_protobuf_Struct_fields_get(const google_protobuf_Struct* msg, upb_StringView key, google_protobuf_Value** val) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Get(map, &key, 0, val, sizeof(*val)); -} -UPB_INLINE const google_protobuf_Struct_FieldsEntry* google_protobuf_Struct_fields_next(const google_protobuf_Struct* msg, size_t* iter) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (const google_protobuf_Struct_FieldsEntry*)_upb_map_next(map, iter); -} - -UPB_INLINE void google_protobuf_Struct_fields_clear(google_protobuf_Struct* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return; - _upb_Map_Clear(map); -} -UPB_INLINE bool google_protobuf_Struct_fields_set(google_protobuf_Struct* msg, upb_StringView key, google_protobuf_Value* val, upb_Arena* a) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, sizeof(val), a); - return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) != - kUpb_MapInsertStatus_OutOfMemory; -} -UPB_INLINE bool google_protobuf_Struct_fields_delete(google_protobuf_Struct* msg, upb_StringView key) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Delete(map, &key, 0, NULL); -} -UPB_INLINE google_protobuf_Struct_FieldsEntry* google_protobuf_Struct_fields_nextmutable(google_protobuf_Struct* msg, size_t* iter) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (google_protobuf_Struct_FieldsEntry*)_upb_map_next(map, iter); -} - -/* google.protobuf.Struct.FieldsEntry */ - -UPB_INLINE upb_StringView google_protobuf_Struct_FieldsEntry_key(const google_protobuf_Struct_FieldsEntry* msg) { - upb_StringView ret; - _upb_msg_map_key(msg, &ret, 0); - return ret; -} -UPB_INLINE const google_protobuf_Value* google_protobuf_Struct_FieldsEntry_value(const google_protobuf_Struct_FieldsEntry* msg) { - google_protobuf_Value* ret; - _upb_msg_map_value(msg, &ret, sizeof(ret)); - return ret; -} -UPB_INLINE bool google_protobuf_Struct_FieldsEntry_has_value(const google_protobuf_Struct_FieldsEntry* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_Struct_FieldsEntry_set_value(google_protobuf_Struct_FieldsEntry *msg, google_protobuf_Value* value) { - _upb_msg_map_set_value(msg, &value, sizeof(google_protobuf_Value*)); -} - -/* google.protobuf.Value */ - -UPB_INLINE google_protobuf_Value* google_protobuf_Value_new(upb_Arena* arena) { - return (google_protobuf_Value*)_upb_Message_New(&google_protobuf_Value_msg_init, arena); -} -UPB_INLINE google_protobuf_Value* google_protobuf_Value_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_Value* ret = google_protobuf_Value_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Value_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_Value* google_protobuf_Value_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_Value* ret = google_protobuf_Value_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_Value_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_Value_serialize(const google_protobuf_Value* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_Value_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_Value_serialize_ex(const google_protobuf_Value* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_Value_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - google_protobuf_Value_kind_null_value = 1, - google_protobuf_Value_kind_number_value = 2, - google_protobuf_Value_kind_string_value = 3, - google_protobuf_Value_kind_bool_value = 4, - google_protobuf_Value_kind_struct_value = 5, - google_protobuf_Value_kind_list_value = 6, - google_protobuf_Value_kind_NOT_SET = 0 -} google_protobuf_Value_kind_oneofcases; -UPB_INLINE google_protobuf_Value_kind_oneofcases google_protobuf_Value_kind_case(const google_protobuf_Value* msg) { - const upb_MiniTableField field = {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return (google_protobuf_Value_kind_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void google_protobuf_Value_clear_null_value(google_protobuf_Value* msg) { - const upb_MiniTableField field = {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_protobuf_Value_null_value(const google_protobuf_Value* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_Value_has_null_value(const google_protobuf_Value* msg) { - const upb_MiniTableField field = {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_Value_clear_number_value(google_protobuf_Value* msg) { - const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE double google_protobuf_Value_number_value(const google_protobuf_Value* msg) { - double default_val = 0; - double ret; - const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_Value_has_number_value(const google_protobuf_Value* msg) { - const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_Value_clear_string_value(google_protobuf_Value* msg) { - const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_protobuf_Value_string_value(const google_protobuf_Value* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_Value_has_string_value(const google_protobuf_Value* msg) { - const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_Value_clear_bool_value(google_protobuf_Value* msg) { - const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool google_protobuf_Value_bool_value(const google_protobuf_Value* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_Value_has_bool_value(const google_protobuf_Value* msg) { - const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_Value_clear_struct_value(google_protobuf_Value* msg) { - const upb_MiniTableField field = {5, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_Struct* google_protobuf_Value_struct_value(const google_protobuf_Value* msg) { - const google_protobuf_Struct* default_val = NULL; - const google_protobuf_Struct* ret; - const upb_MiniTableField field = {5, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_Value_has_struct_value(const google_protobuf_Value* msg) { - const upb_MiniTableField field = {5, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void google_protobuf_Value_clear_list_value(google_protobuf_Value* msg) { - const upb_MiniTableField field = {6, 8, -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_ListValue* google_protobuf_Value_list_value(const google_protobuf_Value* msg) { - const google_protobuf_ListValue* default_val = NULL; - const google_protobuf_ListValue* ret; - const upb_MiniTableField field = {6, 8, -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool google_protobuf_Value_has_list_value(const google_protobuf_Value* msg) { - const upb_MiniTableField field = {6, 8, -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void google_protobuf_Value_set_null_value(google_protobuf_Value *msg, int32_t value) { - const upb_MiniTableField field = {1, 8, -1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_Value_set_number_value(google_protobuf_Value *msg, double value) { - const upb_MiniTableField field = {2, 8, -1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_Value_set_string_value(google_protobuf_Value *msg, upb_StringView value) { - const upb_MiniTableField field = {3, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_Value_set_bool_value(google_protobuf_Value *msg, bool value) { - const upb_MiniTableField field = {4, 8, -1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_protobuf_Value_set_struct_value(google_protobuf_Value *msg, google_protobuf_Struct* value) { - const upb_MiniTableField field = {5, 8, -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Struct* google_protobuf_Value_mutable_struct_value(google_protobuf_Value* msg, upb_Arena* arena) { - struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)google_protobuf_Value_struct_value(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Struct*)_upb_Message_New(&google_protobuf_Struct_msg_init, arena); - if (sub) google_protobuf_Value_set_struct_value(msg, sub); - } - return sub; -} -UPB_INLINE void google_protobuf_Value_set_list_value(google_protobuf_Value *msg, google_protobuf_ListValue* value) { - const upb_MiniTableField field = {6, 8, -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_ListValue* google_protobuf_Value_mutable_list_value(google_protobuf_Value* msg, upb_Arena* arena) { - struct google_protobuf_ListValue* sub = (struct google_protobuf_ListValue*)google_protobuf_Value_list_value(msg); - if (sub == NULL) { - sub = (struct google_protobuf_ListValue*)_upb_Message_New(&google_protobuf_ListValue_msg_init, arena); - if (sub) google_protobuf_Value_set_list_value(msg, sub); - } - return sub; -} - -/* google.protobuf.ListValue */ - -UPB_INLINE google_protobuf_ListValue* google_protobuf_ListValue_new(upb_Arena* arena) { - return (google_protobuf_ListValue*)_upb_Message_New(&google_protobuf_ListValue_msg_init, arena); -} -UPB_INLINE google_protobuf_ListValue* google_protobuf_ListValue_parse(const char* buf, size_t size, upb_Arena* arena) { - google_protobuf_ListValue* ret = google_protobuf_ListValue_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_ListValue_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_protobuf_ListValue* google_protobuf_ListValue_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_protobuf_ListValue* ret = google_protobuf_ListValue_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_protobuf_ListValue_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_protobuf_ListValue_serialize(const google_protobuf_ListValue* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_ListValue_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_protobuf_ListValue_serialize_ex(const google_protobuf_ListValue* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_protobuf_ListValue_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_protobuf_ListValue_clear_values(google_protobuf_ListValue* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const google_protobuf_Value* const* google_protobuf_ListValue_values(const google_protobuf_ListValue* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const google_protobuf_Value* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_protobuf_ListValue_values_upb_array(const google_protobuf_ListValue* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_protobuf_ListValue_values_mutable_upb_array(const google_protobuf_ListValue* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_protobuf_ListValue_has_values(const google_protobuf_ListValue* msg) { - size_t size; - google_protobuf_ListValue_values(msg, &size); - return size != 0; -} - -UPB_INLINE google_protobuf_Value** google_protobuf_ListValue_mutable_values(google_protobuf_ListValue* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (google_protobuf_Value**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE google_protobuf_Value** google_protobuf_ListValue_resize_values(google_protobuf_ListValue* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (google_protobuf_Value**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_Value* google_protobuf_ListValue_add_values(google_protobuf_ListValue* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_Value* sub = (struct google_protobuf_Value*)_upb_Message_New(&google_protobuf_Value_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -extern const upb_MiniTableFile google_protobuf_struct_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c b/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c deleted file mode 100644 index 8232b8be4e0..00000000000 --- a/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +++ /dev/null @@ -1,47 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/protobuf/timestamp.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "google/protobuf/timestamp.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField google_protobuf_Timestamp__fields[2] = { - {1, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_Timestamp_msg_init = { - NULL, - &google_protobuf_Timestamp__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000008, &upb_psv8_1bt}, - {0x000000003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &google_protobuf_Timestamp_msg_init, -}; - -const upb_MiniTableFile google_protobuf_timestamp_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c b/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c deleted file mode 100644 index 21826cdff52..00000000000 --- a/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +++ /dev/null @@ -1,164 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/protobuf/wrappers.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "google/protobuf/wrappers.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField google_protobuf_DoubleValue__fields[1] = { - {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_DoubleValue_msg_init = { - NULL, - &google_protobuf_DoubleValue__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000009, &upb_psf8_1bt}, - }) -}; - -static const upb_MiniTableField google_protobuf_FloatValue__fields[1] = { - {1, 0, 0, kUpb_NoSub, 2, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_FloatValue_msg_init = { - NULL, - &google_protobuf_FloatValue__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000d, &upb_psf4_1bt}, - }) -}; - -static const upb_MiniTableField google_protobuf_Int64Value__fields[1] = { - {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_Int64Value_msg_init = { - NULL, - &google_protobuf_Int64Value__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv8_1bt}, - }) -}; - -static const upb_MiniTableField google_protobuf_UInt64Value__fields[1] = { - {1, 0, 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_UInt64Value_msg_init = { - NULL, - &google_protobuf_UInt64Value__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv8_1bt}, - }) -}; - -static const upb_MiniTableField google_protobuf_Int32Value__fields[1] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_Int32Value_msg_init = { - NULL, - &google_protobuf_Int32Value__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - }) -}; - -static const upb_MiniTableField google_protobuf_UInt32Value__fields[1] = { - {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_UInt32Value_msg_init = { - NULL, - &google_protobuf_UInt32Value__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - }) -}; - -static const upb_MiniTableField google_protobuf_BoolValue__fields[1] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_BoolValue_msg_init = { - NULL, - &google_protobuf_BoolValue__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTableField google_protobuf_StringValue__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_StringValue_msg_init = { - NULL, - &google_protobuf_StringValue__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField google_protobuf_BytesValue__fields[1] = { - {1, 0, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_protobuf_BytesValue_msg_init = { - NULL, - &google_protobuf_BytesValue__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_psb_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[9] = { - &google_protobuf_DoubleValue_msg_init, - &google_protobuf_FloatValue_msg_init, - &google_protobuf_Int64Value_msg_init, - &google_protobuf_UInt64Value_msg_init, - &google_protobuf_Int32Value_msg_init, - &google_protobuf_UInt32Value_msg_init, - &google_protobuf_BoolValue_msg_init, - &google_protobuf_StringValue_msg_init, - &google_protobuf_BytesValue_msg_init, -}; - -const upb_MiniTableFile google_protobuf_wrappers_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 9, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/rpc/status.upb.c b/src/core/ext/upb-generated/google/rpc/status.upb.c deleted file mode 100644 index 517b927e697..00000000000 --- a/src/core/ext/upb-generated/google/rpc/status.upb.c +++ /dev/null @@ -1,53 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/rpc/status.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "google/rpc/status.upb.h" -#include "google/protobuf/any.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub google_rpc_Status_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField google_rpc_Status__fields[3] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable google_rpc_Status_msg_init = { - &google_rpc_Status_submsgs[0], - &google_rpc_Status__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000800003f000012, &upb_pss_1bt}, - {0x001800003f00001a, &upb_prm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &google_rpc_Status_msg_init, -}; - -const upb_MiniTableFile google_rpc_status_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/google/rpc/status.upb.h b/src/core/ext/upb-generated/google/rpc/status.upb.h deleted file mode 100644 index 1da71c4bdb1..00000000000 --- a/src/core/ext/upb-generated/google/rpc/status.upb.h +++ /dev/null @@ -1,165 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/rpc/status.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef GOOGLE_RPC_STATUS_PROTO_UPB_H_ -#define GOOGLE_RPC_STATUS_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct google_rpc_Status google_rpc_Status; -extern const upb_MiniTable google_rpc_Status_msg_init; -struct google_protobuf_Any; -extern const upb_MiniTable google_protobuf_Any_msg_init; - - - -/* google.rpc.Status */ - -UPB_INLINE google_rpc_Status* google_rpc_Status_new(upb_Arena* arena) { - return (google_rpc_Status*)_upb_Message_New(&google_rpc_Status_msg_init, arena); -} -UPB_INLINE google_rpc_Status* google_rpc_Status_parse(const char* buf, size_t size, upb_Arena* arena) { - google_rpc_Status* ret = google_rpc_Status_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_rpc_Status_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE google_rpc_Status* google_rpc_Status_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - google_rpc_Status* ret = google_rpc_Status_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &google_rpc_Status_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* google_rpc_Status_serialize(const google_rpc_Status* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_rpc_Status_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* google_rpc_Status_serialize_ex(const google_rpc_Status* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &google_rpc_Status_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void google_rpc_Status_clear_code(google_rpc_Status* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t google_rpc_Status_code(const google_rpc_Status* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void google_rpc_Status_clear_message(google_rpc_Status* msg) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView google_rpc_Status_message(const google_rpc_Status* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void google_rpc_Status_clear_details(google_rpc_Status* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Any* const* google_rpc_Status_details(const google_rpc_Status* msg, size_t* size) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct google_protobuf_Any* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _google_rpc_Status_details_upb_array(const google_rpc_Status* msg, size_t* size) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _google_rpc_Status_details_mutable_upb_array(const google_rpc_Status* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool google_rpc_Status_has_details(const google_rpc_Status* msg) { - size_t size; - google_rpc_Status_details(msg, &size); - return size != 0; -} - -UPB_INLINE void google_rpc_Status_set_code(google_rpc_Status *msg, int32_t value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void google_rpc_Status_set_message(google_rpc_Status *msg, upb_StringView value) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Any** google_rpc_Status_mutable_details(google_rpc_Status* msg, size_t* size) { - upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct google_protobuf_Any**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct google_protobuf_Any** google_rpc_Status_resize_details(google_rpc_Status* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct google_protobuf_Any**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct google_protobuf_Any* google_rpc_Status_add_details(google_rpc_Status* msg, upb_Arena* arena) { - upb_MiniTableField field = {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -extern const upb_MiniTableFile google_rpc_status_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* GOOGLE_RPC_STATUS_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c b/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c deleted file mode 100644 index a0cf1ec30e5..00000000000 --- a/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +++ /dev/null @@ -1,107 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * opencensus/proto/trace/v1/trace_config.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "opencensus/proto/trace/v1/trace_config.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub opencensus_proto_trace_v1_TraceConfig_submsgs[3] = { - {.submsg = &opencensus_proto_trace_v1_ProbabilitySampler_msg_init}, - {.submsg = &opencensus_proto_trace_v1_ConstantSampler_msg_init}, - {.submsg = &opencensus_proto_trace_v1_RateLimitingSampler_msg_init}, -}; - -static const upb_MiniTableField opencensus_proto_trace_v1_TraceConfig__fields[7] = { - {1, UPB_SIZE(4, 40), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 40), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 40), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, 16, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {6, 24, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {7, 32, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable opencensus_proto_trace_v1_TraceConfig_msg_init = { - &opencensus_proto_trace_v1_TraceConfig_submsgs[0], - &opencensus_proto_trace_v1_TraceConfig__fields[0], - UPB_SIZE(40, 48), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x002800000100000a, &upb_pom_1bt_max64b}, - {0x0028000002010012, &upb_pom_1bt_max64b}, - {0x002800000302001a, &upb_pom_1bt_max64b}, - {0x000800003f000020, &upb_psv8_1bt}, - {0x001000003f000028, &upb_psv8_1bt}, - {0x001800003f000030, &upb_psv8_1bt}, - {0x002000003f000038, &upb_psv8_1bt}, - }) -}; - -static const upb_MiniTableField opencensus_proto_trace_v1_ProbabilitySampler__fields[1] = { - {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable opencensus_proto_trace_v1_ProbabilitySampler_msg_init = { - NULL, - &opencensus_proto_trace_v1_ProbabilitySampler__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000009, &upb_psf8_1bt}, - }) -}; - -static const upb_MiniTableField opencensus_proto_trace_v1_ConstantSampler__fields[1] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable opencensus_proto_trace_v1_ConstantSampler_msg_init = { - NULL, - &opencensus_proto_trace_v1_ConstantSampler__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - }) -}; - -static const upb_MiniTableField opencensus_proto_trace_v1_RateLimitingSampler__fields[1] = { - {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable opencensus_proto_trace_v1_RateLimitingSampler_msg_init = { - NULL, - &opencensus_proto_trace_v1_RateLimitingSampler__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv8_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[4] = { - &opencensus_proto_trace_v1_TraceConfig_msg_init, - &opencensus_proto_trace_v1_ProbabilitySampler_msg_init, - &opencensus_proto_trace_v1_ConstantSampler_msg_init, - &opencensus_proto_trace_v1_RateLimitingSampler_msg_init, -}; - -const upb_MiniTableFile opencensus_proto_trace_v1_trace_config_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 4, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c b/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c deleted file mode 100644 index 8aec86dd1a9..00000000000 --- a/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +++ /dev/null @@ -1,80 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * src/proto/grpc/gcp/altscontext.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "src/proto/grpc/gcp/altscontext.upb.h" -#include "src/proto/grpc/gcp/transport_security_common.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub grpc_gcp_AltsContext_submsgs[2] = { - {.submsg = &grpc_gcp_RpcProtocolVersions_msg_init}, - {.submsg = &grpc_gcp_AltsContext_PeerAttributesEntry_msg_init}, -}; - -static const upb_MiniTableField grpc_gcp_AltsContext__fields[7] = { - {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(40, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(8, 72), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(12, 80), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_AltsContext_msg_init = { - &grpc_gcp_AltsContext_submsgs[0], - &grpc_gcp_AltsContext__fields[0], - UPB_SIZE(48, 88), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x000400003f000018, &upb_psv4_1bt}, - {0x002800003f000022, &upb_pss_1bt}, - {0x003800003f00002a, &upb_pss_1bt}, - {0x0048000001000032, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField grpc_gcp_AltsContext_PeerAttributesEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_AltsContext_PeerAttributesEntry_msg_init = { - NULL, - &grpc_gcp_AltsContext_PeerAttributesEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &grpc_gcp_AltsContext_msg_init, - &grpc_gcp_AltsContext_PeerAttributesEntry_msg_init, -}; - -const upb_MiniTableFile src_proto_grpc_gcp_altscontext_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c b/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c deleted file mode 100644 index 18e2847a67c..00000000000 --- a/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +++ /dev/null @@ -1,343 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * src/proto/grpc/gcp/handshaker.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "src/proto/grpc/gcp/handshaker.upb.h" -#include "src/proto/grpc/gcp/transport_security_common.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField grpc_gcp_Endpoint__fields[3] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_Endpoint_msg_init = { - NULL, - &grpc_gcp_Endpoint__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x000000003f000010, &upb_psv4_1bt}, - {0x000400003f000018, &upb_psv4_1bt}, - }) -}; - -static const upb_MiniTableSub grpc_gcp_Identity_submsgs[1] = { - {.submsg = &grpc_gcp_Identity_AttributesEntry_msg_init}, -}; - -static const upb_MiniTableField grpc_gcp_Identity__fields[3] = { - {1, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 8, -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_Identity_msg_init = { - &grpc_gcp_Identity_submsgs[0], - &grpc_gcp_Identity__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pos_1bt}, - {0x0008000002000012, &upb_pos_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField grpc_gcp_Identity_AttributesEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_Identity_AttributesEntry_msg_init = { - NULL, - &grpc_gcp_Identity_AttributesEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub grpc_gcp_StartClientHandshakeReq_submsgs[5] = { - {.submsg = &grpc_gcp_Identity_msg_init}, - {.submsg = &grpc_gcp_Identity_msg_init}, - {.submsg = &grpc_gcp_Endpoint_msg_init}, - {.submsg = &grpc_gcp_Endpoint_msg_init}, - {.submsg = &grpc_gcp_RpcProtocolVersions_msg_init}, -}; - -static const upb_MiniTableField grpc_gcp_StartClientHandshakeReq__fields[10] = { - {1, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(20, 40), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 48), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(32, 80), 4, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(36, 8), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_StartClientHandshakeReq_msg_init = { - &grpc_gcp_StartClientHandshakeReq_submsgs[0], - &grpc_gcp_StartClientHandshakeReq__fields[0], - UPB_SIZE(48, 88), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400003f000008, &upb_psv4_1bt}, - {0x001000003f000012, &upb_prs_1bt}, - {0x001800003f00001a, &upb_prs_1bt}, - {0x002000003f000022, &upb_prm_1bt_max64b}, - {0x002800000101002a, &upb_psm_1bt_max64b}, - {0x0030000002020032, &upb_psm_1bt_max64b}, - {0x003800000303003a, &upb_psm_1bt_max64b}, - {0x004000003f000042, &upb_pss_1bt}, - {0x005000000404004a, &upb_psm_1bt_maxmaxb}, - {0x000800003f000050, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub grpc_gcp_ServerHandshakeParameters_submsgs[1] = { - {.submsg = &grpc_gcp_Identity_msg_init}, -}; - -static const upb_MiniTableField grpc_gcp_ServerHandshakeParameters__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_ServerHandshakeParameters_msg_init = { - &grpc_gcp_ServerHandshakeParameters_submsgs[0], - &grpc_gcp_ServerHandshakeParameters__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prs_1bt}, - {0x000800003f000012, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub grpc_gcp_StartServerHandshakeReq_submsgs[4] = { - {.submsg = &grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_msg_init}, - {.submsg = &grpc_gcp_Endpoint_msg_init}, - {.submsg = &grpc_gcp_Endpoint_msg_init}, - {.submsg = &grpc_gcp_RpcProtocolVersions_msg_init}, -}; - -static const upb_MiniTableField grpc_gcp_StartServerHandshakeReq__fields[7] = { - {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(28, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 48), 2, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 56), 3, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(24, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_StartServerHandshakeReq_msg_init = { - &grpc_gcp_StartServerHandshakeReq_submsgs[0], - &grpc_gcp_StartServerHandshakeReq__fields[0], - UPB_SIZE(40, 64), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800003f00001a, &upb_psb_1bt}, - {0x0028000001010022, &upb_psm_1bt_max64b}, - {0x003000000202002a, &upb_psm_1bt_max64b}, - {0x0038000003030032, &upb_psm_1bt_maxmaxb}, - {0x000400003f000038, &upb_psv4_1bt}, - }) -}; - -static const upb_MiniTableSub grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_submsgs[1] = { - {.submsg = &grpc_gcp_ServerHandshakeParameters_msg_init}, -}; - -static const upb_MiniTableField grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_msg_init = { - &grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_submsgs[0], - &grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f000008, &upb_psv4_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField grpc_gcp_NextHandshakeMessageReq__fields[1] = { - {1, 0, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_NextHandshakeMessageReq_msg_init = { - NULL, - &grpc_gcp_NextHandshakeMessageReq__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_psb_1bt}, - }) -}; - -static const upb_MiniTableSub grpc_gcp_HandshakerReq_submsgs[3] = { - {.submsg = &grpc_gcp_StartClientHandshakeReq_msg_init}, - {.submsg = &grpc_gcp_StartServerHandshakeReq_msg_init}, - {.submsg = &grpc_gcp_NextHandshakeMessageReq_msg_init}, -}; - -static const upb_MiniTableField grpc_gcp_HandshakerReq__fields[3] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_HandshakerReq_msg_init = { - &grpc_gcp_HandshakerReq_submsgs[0], - &grpc_gcp_HandshakerReq__fields[0], - UPB_SIZE(8, 16), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max128b}, - {0x0008000002010012, &upb_pom_1bt_max128b}, - {0x000800000302001a, &upb_pom_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub grpc_gcp_HandshakerResult_submsgs[3] = { - {.submsg = &grpc_gcp_Identity_msg_init}, - {.submsg = &grpc_gcp_Identity_msg_init}, - {.submsg = &grpc_gcp_RpcProtocolVersions_msg_init}, -}; - -static const upb_MiniTableField grpc_gcp_HandshakerResult__fields[8] = { - {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(32, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, 40, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 56), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 64), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(16, 72), 3, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(20, 4), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_HandshakerResult_msg_init = { - &grpc_gcp_HandshakerResult_submsgs[0], - &grpc_gcp_HandshakerResult__fields[0], - UPB_SIZE(48, 80), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x002800003f00001a, &upb_psb_1bt}, - {0x0038000001000022, &upb_psm_1bt_max64b}, - {0x004000000201002a, &upb_psm_1bt_max64b}, - {0x000100003f000030, &upb_psb1_1bt}, - {0x004800000302003a, &upb_psm_1bt_maxmaxb}, - {0x000400003f000040, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField grpc_gcp_HandshakerStatus__fields[2] = { - {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_HandshakerStatus_msg_init = { - NULL, - &grpc_gcp_HandshakerStatus__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub grpc_gcp_HandshakerResp_submsgs[2] = { - {.submsg = &grpc_gcp_HandshakerResult_msg_init}, - {.submsg = &grpc_gcp_HandshakerStatus_msg_init}, -}; - -static const upb_MiniTableField grpc_gcp_HandshakerResp__fields[4] = { - {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_HandshakerResp_msg_init = { - &grpc_gcp_HandshakerResp_submsgs[0], - &grpc_gcp_HandshakerResp__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_psb_1bt}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x001800000100001a, &upb_psm_1bt_max128b}, - {0x0020000002010022, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[12] = { - &grpc_gcp_Endpoint_msg_init, - &grpc_gcp_Identity_msg_init, - &grpc_gcp_Identity_AttributesEntry_msg_init, - &grpc_gcp_StartClientHandshakeReq_msg_init, - &grpc_gcp_ServerHandshakeParameters_msg_init, - &grpc_gcp_StartServerHandshakeReq_msg_init, - &grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_msg_init, - &grpc_gcp_NextHandshakeMessageReq_msg_init, - &grpc_gcp_HandshakerReq_msg_init, - &grpc_gcp_HandshakerResult_msg_init, - &grpc_gcp_HandshakerStatus_msg_init, - &grpc_gcp_HandshakerResp_msg_init, -}; - -const upb_MiniTableFile src_proto_grpc_gcp_handshaker_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 12, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c b/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c deleted file mode 100644 index 1d17e290818..00000000000 --- a/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +++ /dev/null @@ -1,70 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * src/proto/grpc/gcp/transport_security_common.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "src/proto/grpc/gcp/transport_security_common.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub grpc_gcp_RpcProtocolVersions_submsgs[2] = { - {.submsg = &grpc_gcp_RpcProtocolVersions_Version_msg_init}, - {.submsg = &grpc_gcp_RpcProtocolVersions_Version_msg_init}, -}; - -static const upb_MiniTableField grpc_gcp_RpcProtocolVersions__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_RpcProtocolVersions_msg_init = { - &grpc_gcp_RpcProtocolVersions_submsgs[0], - &grpc_gcp_RpcProtocolVersions__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x0010000002010012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField grpc_gcp_RpcProtocolVersions_Version__fields[2] = { - {1, 0, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 4, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_gcp_RpcProtocolVersions_Version_msg_init = { - NULL, - &grpc_gcp_RpcProtocolVersions_Version__fields[0], - 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &grpc_gcp_RpcProtocolVersions_msg_init, - &grpc_gcp_RpcProtocolVersions_Version_msg_init, -}; - -const upb_MiniTableFile src_proto_grpc_gcp_transport_security_common_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c b/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c deleted file mode 100644 index 7c74ff85765..00000000000 --- a/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +++ /dev/null @@ -1,59 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * src/proto/grpc/health/v1/health.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "src/proto/grpc/health/v1/health.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField grpc_health_v1_HealthCheckRequest__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_health_v1_HealthCheckRequest_msg_init = { - NULL, - &grpc_health_v1_HealthCheckRequest__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField grpc_health_v1_HealthCheckResponse__fields[1] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_health_v1_HealthCheckResponse_msg_init = { - NULL, - &grpc_health_v1_HealthCheckResponse__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &grpc_health_v1_HealthCheckRequest_msg_init, - &grpc_health_v1_HealthCheckResponse_msg_init, -}; - -const upb_MiniTableFile src_proto_grpc_health_v1_health_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c b/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c deleted file mode 100644 index ada09758b56..00000000000 --- a/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +++ /dev/null @@ -1,222 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * src/proto/grpc/lb/v1/load_balancer.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "src/proto/grpc/lb/v1/load_balancer.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/timestamp.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub grpc_lb_v1_LoadBalanceRequest_submsgs[2] = { - {.submsg = &grpc_lb_v1_InitialLoadBalanceRequest_msg_init}, - {.submsg = &grpc_lb_v1_ClientStats_msg_init}, -}; - -static const upb_MiniTableField grpc_lb_v1_LoadBalanceRequest__fields[2] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lb_v1_LoadBalanceRequest_msg_init = { - &grpc_lb_v1_LoadBalanceRequest_submsgs[0], - &grpc_lb_v1_LoadBalanceRequest__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField grpc_lb_v1_InitialLoadBalanceRequest__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lb_v1_InitialLoadBalanceRequest_msg_init = { - NULL, - &grpc_lb_v1_InitialLoadBalanceRequest__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField grpc_lb_v1_ClientStatsPerToken__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lb_v1_ClientStatsPerToken_msg_init = { - NULL, - &grpc_lb_v1_ClientStatsPerToken__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000010, &upb_psv8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub grpc_lb_v1_ClientStats_submsgs[2] = { - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &grpc_lb_v1_ClientStatsPerToken_msg_init}, -}; - -static const upb_MiniTableField grpc_lb_v1_ClientStats__fields[6] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, 16, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, 24, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {6, 32, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {7, 40, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(8, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lb_v1_ClientStats_msg_init = { - &grpc_lb_v1_ClientStats_submsgs[0], - &grpc_lb_v1_ClientStats__fields[0], - UPB_SIZE(48, 56), 6, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000010, &upb_psv8_1bt}, - {0x001800003f000018, &upb_psv8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x002000003f000030, &upb_psv8_1bt}, - {0x002800003f000038, &upb_psv8_1bt}, - {0x003000003f010042, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub grpc_lb_v1_LoadBalanceResponse_submsgs[3] = { - {.submsg = &grpc_lb_v1_InitialLoadBalanceResponse_msg_init}, - {.submsg = &grpc_lb_v1_ServerList_msg_init}, - {.submsg = &grpc_lb_v1_FallbackResponse_msg_init}, -}; - -static const upb_MiniTableField grpc_lb_v1_LoadBalanceResponse__fields[3] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lb_v1_LoadBalanceResponse_msg_init = { - &grpc_lb_v1_LoadBalanceResponse_submsgs[0], - &grpc_lb_v1_LoadBalanceResponse__fields[0], - UPB_SIZE(8, 16), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x000800000302001a, &upb_pom_1bt_max64b}, - }) -}; - -const upb_MiniTable grpc_lb_v1_FallbackResponse_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub grpc_lb_v1_InitialLoadBalanceResponse_submsgs[1] = { - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField grpc_lb_v1_InitialLoadBalanceResponse__fields[1] = { - {2, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lb_v1_InitialLoadBalanceResponse_msg_init = { - &grpc_lb_v1_InitialLoadBalanceResponse_submsgs[0], - &grpc_lb_v1_InitialLoadBalanceResponse__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub grpc_lb_v1_ServerList_submsgs[1] = { - {.submsg = &grpc_lb_v1_Server_msg_init}, -}; - -static const upb_MiniTableField grpc_lb_v1_ServerList__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lb_v1_ServerList_msg_init = { - &grpc_lb_v1_ServerList_submsgs[0], - &grpc_lb_v1_ServerList__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableField grpc_lb_v1_Server__fields[4] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, 4, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lb_v1_Server_msg_init = { - NULL, - &grpc_lb_v1_Server__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_psb_1bt}, - {0x000000003f000010, &upb_psv4_1bt}, - {0x001800003f00001a, &upb_pss_1bt}, - {0x000400003f000020, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[9] = { - &grpc_lb_v1_LoadBalanceRequest_msg_init, - &grpc_lb_v1_InitialLoadBalanceRequest_msg_init, - &grpc_lb_v1_ClientStatsPerToken_msg_init, - &grpc_lb_v1_ClientStats_msg_init, - &grpc_lb_v1_LoadBalanceResponse_msg_init, - &grpc_lb_v1_FallbackResponse_msg_init, - &grpc_lb_v1_InitialLoadBalanceResponse_msg_init, - &grpc_lb_v1_ServerList_msg_init, - &grpc_lb_v1_Server_msg_init, -}; - -const upb_MiniTableFile src_proto_grpc_lb_v1_load_balancer_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 9, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c b/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c deleted file mode 100644 index 3c523149877..00000000000 --- a/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +++ /dev/null @@ -1,93 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * src/proto/grpc/lookup/v1/rls.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "src/proto/grpc/lookup/v1/rls.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub grpc_lookup_v1_RouteLookupRequest_submsgs[1] = { - {.submsg = &grpc_lookup_v1_RouteLookupRequest_KeyMapEntry_msg_init}, -}; - -static const upb_MiniTableField grpc_lookup_v1_RouteLookupRequest__fields[4] = { - {3, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(0, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 0), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lookup_v1_RouteLookupRequest_msg_init = { - &grpc_lookup_v1_RouteLookupRequest_submsgs[0], - &grpc_lookup_v1_RouteLookupRequest__fields[0], - UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00001a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000028, &upb_psv4_1bt}, - {0x002000003f000032, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField grpc_lookup_v1_RouteLookupRequest_KeyMapEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lookup_v1_RouteLookupRequest_KeyMapEntry_msg_init = { - NULL, - &grpc_lookup_v1_RouteLookupRequest_KeyMapEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField grpc_lookup_v1_RouteLookupResponse__fields[2] = { - {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(0, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lookup_v1_RouteLookupResponse_msg_init = { - NULL, - &grpc_lookup_v1_RouteLookupResponse__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000012, &upb_pss_1bt}, - {0x001000003f00001a, &upb_prs_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &grpc_lookup_v1_RouteLookupRequest_msg_init, - &grpc_lookup_v1_RouteLookupRequest_KeyMapEntry_msg_init, - &grpc_lookup_v1_RouteLookupResponse_msg_init, -}; - -const upb_MiniTableFile src_proto_grpc_lookup_v1_rls_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 3, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c b/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c deleted file mode 100644 index 9ef5f59f3cf..00000000000 --- a/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +++ /dev/null @@ -1,244 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * src/proto/grpc/lookup/v1/rls_config.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "src/proto/grpc/lookup/v1/rls_config.upb.h" -#include "google/protobuf/duration.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField grpc_lookup_v1_NameMatcher__fields[3] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(0, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lookup_v1_NameMatcher_msg_init = { - NULL, - &grpc_lookup_v1_NameMatcher__fields[0], - UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_prs_1bt}, - {0x000000003f000018, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTableSub grpc_lookup_v1_GrpcKeyBuilder_submsgs[4] = { - {.submsg = &grpc_lookup_v1_GrpcKeyBuilder_Name_msg_init}, - {.submsg = &grpc_lookup_v1_NameMatcher_msg_init}, - {.submsg = &grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_msg_init}, - {.submsg = &grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry_msg_init}, -}; - -static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder__fields[4] = { - {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 24), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 32), 0, 3, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lookup_v1_GrpcKeyBuilder_msg_init = { - &grpc_lookup_v1_GrpcKeyBuilder_submsgs[0], - &grpc_lookup_v1_GrpcKeyBuilder__fields[0], - UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_max64b}, - {0x001000003f010012, &upb_prm_1bt_max64b}, - {0x001800000102001a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder_Name__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lookup_v1_GrpcKeyBuilder_Name_msg_init = { - NULL, - &grpc_lookup_v1_GrpcKeyBuilder_Name__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys__fields[3] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(16, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_msg_init = { - NULL, - &grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys__fields[0], - UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x002000003f00001a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry_msg_init = { - NULL, - &grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub grpc_lookup_v1_HttpKeyBuilder_submsgs[3] = { - {.submsg = &grpc_lookup_v1_NameMatcher_msg_init}, - {.submsg = &grpc_lookup_v1_NameMatcher_msg_init}, - {.submsg = &grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry_msg_init}, -}; - -static const upb_MiniTableField grpc_lookup_v1_HttpKeyBuilder__fields[5] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 32), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lookup_v1_HttpKeyBuilder_msg_init = { - &grpc_lookup_v1_HttpKeyBuilder_submsgs[0], - &grpc_lookup_v1_HttpKeyBuilder__fields[0], - UPB_SIZE(24, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prs_1bt}, - {0x000800003f000012, &upb_prs_1bt}, - {0x001000003f00001a, &upb_prm_1bt_max64b}, - {0x001800003f010022, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry_msg_init = { - NULL, - &grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub grpc_lookup_v1_RouteLookupConfig_submsgs[5] = { - {.submsg = &grpc_lookup_v1_HttpKeyBuilder_msg_init}, - {.submsg = &grpc_lookup_v1_GrpcKeyBuilder_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField grpc_lookup_v1_RouteLookupConfig__fields[9] = { - {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 40), 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 48), 2, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 56), 3, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(40, 64), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(24, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(48, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lookup_v1_RouteLookupConfig_msg_init = { - &grpc_lookup_v1_RouteLookupConfig_submsgs[0], - &grpc_lookup_v1_RouteLookupConfig__fields[0], - UPB_SIZE(56, 96), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_max64b}, - {0x001000003f010012, &upb_prm_1bt_max64b}, - {0x001800003f00001a, &upb_pss_1bt}, - {0x0028000001020022, &upb_psm_1bt_maxmaxb}, - {0x003000000203002a, &upb_psm_1bt_maxmaxb}, - {0x0038000003040032, &upb_psm_1bt_maxmaxb}, - {0x004000003f000038, &upb_psv8_1bt}, - {0x004800003f000042, &upb_prs_1bt}, - {0x005000003f00004a, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub grpc_lookup_v1_RouteLookupClusterSpecifier_submsgs[1] = { - {.submsg = &grpc_lookup_v1_RouteLookupConfig_msg_init}, -}; - -static const upb_MiniTableField grpc_lookup_v1_RouteLookupClusterSpecifier__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable grpc_lookup_v1_RouteLookupClusterSpecifier_msg_init = { - &grpc_lookup_v1_RouteLookupClusterSpecifier_submsgs[0], - &grpc_lookup_v1_RouteLookupClusterSpecifier__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max128b}, - }) -}; - -static const upb_MiniTable *messages_layout[9] = { - &grpc_lookup_v1_NameMatcher_msg_init, - &grpc_lookup_v1_GrpcKeyBuilder_msg_init, - &grpc_lookup_v1_GrpcKeyBuilder_Name_msg_init, - &grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys_msg_init, - &grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry_msg_init, - &grpc_lookup_v1_HttpKeyBuilder_msg_init, - &grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry_msg_init, - &grpc_lookup_v1_RouteLookupConfig_msg_init, - &grpc_lookup_v1_RouteLookupClusterSpecifier_msg_init, -}; - -const upb_MiniTableFile src_proto_grpc_lookup_v1_rls_config_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 9, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c b/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c deleted file mode 100644 index de34a1dee98..00000000000 --- a/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +++ /dev/null @@ -1,127 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/migrate.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "udpa/annotations/migrate.upb.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField udpa_annotations_MigrateAnnotation__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable udpa_annotations_MigrateAnnotation_msg_init = { - NULL, - &udpa_annotations_MigrateAnnotation__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField udpa_annotations_FieldMigrateAnnotation__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable udpa_annotations_FieldMigrateAnnotation_msg_init = { - NULL, - &udpa_annotations_FieldMigrateAnnotation__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField udpa_annotations_FileMigrateAnnotation__fields[1] = { - {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable udpa_annotations_FileMigrateAnnotation_msg_init = { - NULL, - &udpa_annotations_FileMigrateAnnotation__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &udpa_annotations_MigrateAnnotation_msg_init, - &udpa_annotations_FieldMigrateAnnotation_msg_init, - &udpa_annotations_FileMigrateAnnotation_msg_init, -}; - -extern const upb_MiniTable google_protobuf_EnumOptions_msg_init; -extern const upb_MiniTable google_protobuf_EnumValueOptions_msg_init; -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -extern const upb_MiniTable google_protobuf_FileOptions_msg_init; -extern const upb_MiniTable google_protobuf_MessageOptions_msg_init; -extern const upb_MiniTable udpa_annotations_FieldMigrateAnnotation_msg_init; -extern const upb_MiniTable udpa_annotations_FileMigrateAnnotation_msg_init; -extern const upb_MiniTable udpa_annotations_MigrateAnnotation_msg_init; -const upb_MiniTableExtension udpa_annotations_message_migrate_ext = { - {171962766, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_MessageOptions_msg_init, - {.submsg = &udpa_annotations_MigrateAnnotation_msg_init}, - -}; -const upb_MiniTableExtension udpa_annotations_field_migrate_ext = { - {171962766, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_FieldOptions_msg_init, - {.submsg = &udpa_annotations_FieldMigrateAnnotation_msg_init}, - -}; -const upb_MiniTableExtension udpa_annotations_enum_migrate_ext = { - {171962766, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_EnumOptions_msg_init, - {.submsg = &udpa_annotations_MigrateAnnotation_msg_init}, - -}; -const upb_MiniTableExtension udpa_annotations_enum_value_migrate_ext = { - {171962766, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_EnumValueOptions_msg_init, - {.submsg = &udpa_annotations_MigrateAnnotation_msg_init}, - -}; -const upb_MiniTableExtension udpa_annotations_file_migrate_ext = { - {171962766, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_FileOptions_msg_init, - {.submsg = &udpa_annotations_FileMigrateAnnotation_msg_init}, - -}; - -static const upb_MiniTableExtension *extensions_layout[5] = { - &udpa_annotations_message_migrate_ext, - &udpa_annotations_field_migrate_ext, - &udpa_annotations_enum_migrate_ext, - &udpa_annotations_enum_value_migrate_ext, - &udpa_annotations_file_migrate_ext, -}; - -const upb_MiniTableFile udpa_annotations_migrate_proto_upb_file_layout = { - messages_layout, - NULL, - extensions_layout, - 3, - 0, - 5, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h b/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h deleted file mode 100644 index 33f040b1bb8..00000000000 --- a/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +++ /dev/null @@ -1,333 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/migrate.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef UDPA_ANNOTATIONS_MIGRATE_PROTO_UPB_H_ -#define UDPA_ANNOTATIONS_MIGRATE_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct udpa_annotations_MigrateAnnotation udpa_annotations_MigrateAnnotation; -typedef struct udpa_annotations_FieldMigrateAnnotation udpa_annotations_FieldMigrateAnnotation; -typedef struct udpa_annotations_FileMigrateAnnotation udpa_annotations_FileMigrateAnnotation; -extern const upb_MiniTable udpa_annotations_MigrateAnnotation_msg_init; -extern const upb_MiniTable udpa_annotations_FieldMigrateAnnotation_msg_init; -extern const upb_MiniTable udpa_annotations_FileMigrateAnnotation_msg_init; -extern const upb_MiniTableExtension udpa_annotations_message_migrate_ext; -extern const upb_MiniTableExtension udpa_annotations_field_migrate_ext; -extern const upb_MiniTableExtension udpa_annotations_enum_migrate_ext; -extern const upb_MiniTableExtension udpa_annotations_enum_value_migrate_ext; -extern const upb_MiniTableExtension udpa_annotations_file_migrate_ext; -struct google_protobuf_EnumOptions; -struct google_protobuf_EnumValueOptions; -struct google_protobuf_FieldOptions; -struct google_protobuf_FileOptions; -struct google_protobuf_MessageOptions; -extern const upb_MiniTable google_protobuf_EnumOptions_msg_init; -extern const upb_MiniTable google_protobuf_EnumValueOptions_msg_init; -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -extern const upb_MiniTable google_protobuf_FileOptions_msg_init; -extern const upb_MiniTable google_protobuf_MessageOptions_msg_init; - - - -/* udpa.annotations.MigrateAnnotation */ - -UPB_INLINE udpa_annotations_MigrateAnnotation* udpa_annotations_MigrateAnnotation_new(upb_Arena* arena) { - return (udpa_annotations_MigrateAnnotation*)_upb_Message_New(&udpa_annotations_MigrateAnnotation_msg_init, arena); -} -UPB_INLINE udpa_annotations_MigrateAnnotation* udpa_annotations_MigrateAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - udpa_annotations_MigrateAnnotation* ret = udpa_annotations_MigrateAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &udpa_annotations_MigrateAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE udpa_annotations_MigrateAnnotation* udpa_annotations_MigrateAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - udpa_annotations_MigrateAnnotation* ret = udpa_annotations_MigrateAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &udpa_annotations_MigrateAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* udpa_annotations_MigrateAnnotation_serialize(const udpa_annotations_MigrateAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &udpa_annotations_MigrateAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* udpa_annotations_MigrateAnnotation_serialize_ex(const udpa_annotations_MigrateAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &udpa_annotations_MigrateAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void udpa_annotations_MigrateAnnotation_clear_rename(udpa_annotations_MigrateAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView udpa_annotations_MigrateAnnotation_rename(const udpa_annotations_MigrateAnnotation* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void udpa_annotations_MigrateAnnotation_set_rename(udpa_annotations_MigrateAnnotation *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* udpa.annotations.FieldMigrateAnnotation */ - -UPB_INLINE udpa_annotations_FieldMigrateAnnotation* udpa_annotations_FieldMigrateAnnotation_new(upb_Arena* arena) { - return (udpa_annotations_FieldMigrateAnnotation*)_upb_Message_New(&udpa_annotations_FieldMigrateAnnotation_msg_init, arena); -} -UPB_INLINE udpa_annotations_FieldMigrateAnnotation* udpa_annotations_FieldMigrateAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - udpa_annotations_FieldMigrateAnnotation* ret = udpa_annotations_FieldMigrateAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &udpa_annotations_FieldMigrateAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE udpa_annotations_FieldMigrateAnnotation* udpa_annotations_FieldMigrateAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - udpa_annotations_FieldMigrateAnnotation* ret = udpa_annotations_FieldMigrateAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &udpa_annotations_FieldMigrateAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* udpa_annotations_FieldMigrateAnnotation_serialize(const udpa_annotations_FieldMigrateAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &udpa_annotations_FieldMigrateAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* udpa_annotations_FieldMigrateAnnotation_serialize_ex(const udpa_annotations_FieldMigrateAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &udpa_annotations_FieldMigrateAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void udpa_annotations_FieldMigrateAnnotation_clear_rename(udpa_annotations_FieldMigrateAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView udpa_annotations_FieldMigrateAnnotation_rename(const udpa_annotations_FieldMigrateAnnotation* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void udpa_annotations_FieldMigrateAnnotation_clear_oneof_promotion(udpa_annotations_FieldMigrateAnnotation* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView udpa_annotations_FieldMigrateAnnotation_oneof_promotion(const udpa_annotations_FieldMigrateAnnotation* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void udpa_annotations_FieldMigrateAnnotation_set_rename(udpa_annotations_FieldMigrateAnnotation *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void udpa_annotations_FieldMigrateAnnotation_set_oneof_promotion(udpa_annotations_FieldMigrateAnnotation *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* udpa.annotations.FileMigrateAnnotation */ - -UPB_INLINE udpa_annotations_FileMigrateAnnotation* udpa_annotations_FileMigrateAnnotation_new(upb_Arena* arena) { - return (udpa_annotations_FileMigrateAnnotation*)_upb_Message_New(&udpa_annotations_FileMigrateAnnotation_msg_init, arena); -} -UPB_INLINE udpa_annotations_FileMigrateAnnotation* udpa_annotations_FileMigrateAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - udpa_annotations_FileMigrateAnnotation* ret = udpa_annotations_FileMigrateAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &udpa_annotations_FileMigrateAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE udpa_annotations_FileMigrateAnnotation* udpa_annotations_FileMigrateAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - udpa_annotations_FileMigrateAnnotation* ret = udpa_annotations_FileMigrateAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &udpa_annotations_FileMigrateAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* udpa_annotations_FileMigrateAnnotation_serialize(const udpa_annotations_FileMigrateAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &udpa_annotations_FileMigrateAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* udpa_annotations_FileMigrateAnnotation_serialize_ex(const udpa_annotations_FileMigrateAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &udpa_annotations_FileMigrateAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void udpa_annotations_FileMigrateAnnotation_clear_move_to_package(udpa_annotations_FileMigrateAnnotation* msg) { - const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView udpa_annotations_FileMigrateAnnotation_move_to_package(const udpa_annotations_FileMigrateAnnotation* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void udpa_annotations_FileMigrateAnnotation_set_move_to_package(udpa_annotations_FileMigrateAnnotation *msg, upb_StringView value) { - const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -UPB_INLINE bool udpa_annotations_has_message_migrate(const struct google_protobuf_MessageOptions* msg) { - return _upb_Message_HasExtensionField(msg, &udpa_annotations_message_migrate_ext); -} -UPB_INLINE void udpa_annotations_clear_message_migrate(struct google_protobuf_MessageOptions* msg) { - _upb_Message_ClearExtensionField(msg, &udpa_annotations_message_migrate_ext); -} -UPB_INLINE const udpa_annotations_MigrateAnnotation* udpa_annotations_message_migrate(const struct google_protobuf_MessageOptions* msg) { - const upb_MiniTableExtension* ext = &udpa_annotations_message_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const udpa_annotations_MigrateAnnotation* default_val = NULL; - const udpa_annotations_MigrateAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void udpa_annotations_set_message_migrate(struct google_protobuf_MessageOptions* msg, const udpa_annotations_MigrateAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &udpa_annotations_message_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -UPB_INLINE bool udpa_annotations_has_field_migrate(const struct google_protobuf_FieldOptions* msg) { - return _upb_Message_HasExtensionField(msg, &udpa_annotations_field_migrate_ext); -} -UPB_INLINE void udpa_annotations_clear_field_migrate(struct google_protobuf_FieldOptions* msg) { - _upb_Message_ClearExtensionField(msg, &udpa_annotations_field_migrate_ext); -} -UPB_INLINE const udpa_annotations_FieldMigrateAnnotation* udpa_annotations_field_migrate(const struct google_protobuf_FieldOptions* msg) { - const upb_MiniTableExtension* ext = &udpa_annotations_field_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const udpa_annotations_FieldMigrateAnnotation* default_val = NULL; - const udpa_annotations_FieldMigrateAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void udpa_annotations_set_field_migrate(struct google_protobuf_FieldOptions* msg, const udpa_annotations_FieldMigrateAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &udpa_annotations_field_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -UPB_INLINE bool udpa_annotations_has_enum_migrate(const struct google_protobuf_EnumOptions* msg) { - return _upb_Message_HasExtensionField(msg, &udpa_annotations_enum_migrate_ext); -} -UPB_INLINE void udpa_annotations_clear_enum_migrate(struct google_protobuf_EnumOptions* msg) { - _upb_Message_ClearExtensionField(msg, &udpa_annotations_enum_migrate_ext); -} -UPB_INLINE const udpa_annotations_MigrateAnnotation* udpa_annotations_enum_migrate(const struct google_protobuf_EnumOptions* msg) { - const upb_MiniTableExtension* ext = &udpa_annotations_enum_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const udpa_annotations_MigrateAnnotation* default_val = NULL; - const udpa_annotations_MigrateAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void udpa_annotations_set_enum_migrate(struct google_protobuf_EnumOptions* msg, const udpa_annotations_MigrateAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &udpa_annotations_enum_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -UPB_INLINE bool udpa_annotations_has_enum_value_migrate(const struct google_protobuf_EnumValueOptions* msg) { - return _upb_Message_HasExtensionField(msg, &udpa_annotations_enum_value_migrate_ext); -} -UPB_INLINE void udpa_annotations_clear_enum_value_migrate(struct google_protobuf_EnumValueOptions* msg) { - _upb_Message_ClearExtensionField(msg, &udpa_annotations_enum_value_migrate_ext); -} -UPB_INLINE const udpa_annotations_MigrateAnnotation* udpa_annotations_enum_value_migrate(const struct google_protobuf_EnumValueOptions* msg) { - const upb_MiniTableExtension* ext = &udpa_annotations_enum_value_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const udpa_annotations_MigrateAnnotation* default_val = NULL; - const udpa_annotations_MigrateAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void udpa_annotations_set_enum_value_migrate(struct google_protobuf_EnumValueOptions* msg, const udpa_annotations_MigrateAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &udpa_annotations_enum_value_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -UPB_INLINE bool udpa_annotations_has_file_migrate(const struct google_protobuf_FileOptions* msg) { - return _upb_Message_HasExtensionField(msg, &udpa_annotations_file_migrate_ext); -} -UPB_INLINE void udpa_annotations_clear_file_migrate(struct google_protobuf_FileOptions* msg) { - _upb_Message_ClearExtensionField(msg, &udpa_annotations_file_migrate_ext); -} -UPB_INLINE const udpa_annotations_FileMigrateAnnotation* udpa_annotations_file_migrate(const struct google_protobuf_FileOptions* msg) { - const upb_MiniTableExtension* ext = &udpa_annotations_file_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const udpa_annotations_FileMigrateAnnotation* default_val = NULL; - const udpa_annotations_FileMigrateAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void udpa_annotations_set_file_migrate(struct google_protobuf_FileOptions* msg, const udpa_annotations_FileMigrateAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &udpa_annotations_file_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -extern const upb_MiniTableFile udpa_annotations_migrate_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* UDPA_ANNOTATIONS_MIGRATE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/udpa/annotations/security.upb.c b/src/core/ext/upb-generated/udpa/annotations/security.upb.c deleted file mode 100644 index 90b3dfc5e71..00000000000 --- a/src/core/ext/upb-generated/udpa/annotations/security.upb.c +++ /dev/null @@ -1,62 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/security.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "udpa/annotations/security.upb.h" -#include "udpa/annotations/status.upb.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField udpa_annotations_FieldSecurityAnnotation__fields[2] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable udpa_annotations_FieldSecurityAnnotation_msg_init = { - NULL, - &udpa_annotations_FieldSecurityAnnotation__fields[0], - 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &udpa_annotations_FieldSecurityAnnotation_msg_init, -}; - -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -extern const upb_MiniTable udpa_annotations_FieldSecurityAnnotation_msg_init; -const upb_MiniTableExtension udpa_annotations_security_ext = { - {11122993, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_FieldOptions_msg_init, - {.submsg = &udpa_annotations_FieldSecurityAnnotation_msg_init}, - -}; - -static const upb_MiniTableExtension *extensions_layout[1] = { - &udpa_annotations_security_ext, -}; - -const upb_MiniTableFile udpa_annotations_security_proto_upb_file_layout = { - messages_layout, - NULL, - extensions_layout, - 1, - 0, - 1, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/udpa/annotations/security.upb.h b/src/core/ext/upb-generated/udpa/annotations/security.upb.h deleted file mode 100644 index 907be461bc6..00000000000 --- a/src/core/ext/upb-generated/udpa/annotations/security.upb.h +++ /dev/null @@ -1,125 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/security.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef UDPA_ANNOTATIONS_SECURITY_PROTO_UPB_H_ -#define UDPA_ANNOTATIONS_SECURITY_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct udpa_annotations_FieldSecurityAnnotation udpa_annotations_FieldSecurityAnnotation; -extern const upb_MiniTable udpa_annotations_FieldSecurityAnnotation_msg_init; -extern const upb_MiniTableExtension udpa_annotations_security_ext; -struct google_protobuf_FieldOptions; -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; - - - -/* udpa.annotations.FieldSecurityAnnotation */ - -UPB_INLINE udpa_annotations_FieldSecurityAnnotation* udpa_annotations_FieldSecurityAnnotation_new(upb_Arena* arena) { - return (udpa_annotations_FieldSecurityAnnotation*)_upb_Message_New(&udpa_annotations_FieldSecurityAnnotation_msg_init, arena); -} -UPB_INLINE udpa_annotations_FieldSecurityAnnotation* udpa_annotations_FieldSecurityAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - udpa_annotations_FieldSecurityAnnotation* ret = udpa_annotations_FieldSecurityAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &udpa_annotations_FieldSecurityAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE udpa_annotations_FieldSecurityAnnotation* udpa_annotations_FieldSecurityAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - udpa_annotations_FieldSecurityAnnotation* ret = udpa_annotations_FieldSecurityAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &udpa_annotations_FieldSecurityAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* udpa_annotations_FieldSecurityAnnotation_serialize(const udpa_annotations_FieldSecurityAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &udpa_annotations_FieldSecurityAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* udpa_annotations_FieldSecurityAnnotation_serialize_ex(const udpa_annotations_FieldSecurityAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &udpa_annotations_FieldSecurityAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void udpa_annotations_FieldSecurityAnnotation_clear_configure_for_untrusted_downstream(udpa_annotations_FieldSecurityAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool udpa_annotations_FieldSecurityAnnotation_configure_for_untrusted_downstream(const udpa_annotations_FieldSecurityAnnotation* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void udpa_annotations_FieldSecurityAnnotation_clear_configure_for_untrusted_upstream(udpa_annotations_FieldSecurityAnnotation* msg) { - const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool udpa_annotations_FieldSecurityAnnotation_configure_for_untrusted_upstream(const udpa_annotations_FieldSecurityAnnotation* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void udpa_annotations_FieldSecurityAnnotation_set_configure_for_untrusted_downstream(udpa_annotations_FieldSecurityAnnotation *msg, bool value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void udpa_annotations_FieldSecurityAnnotation_set_configure_for_untrusted_upstream(udpa_annotations_FieldSecurityAnnotation *msg, bool value) { - const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -UPB_INLINE bool udpa_annotations_has_security(const struct google_protobuf_FieldOptions* msg) { - return _upb_Message_HasExtensionField(msg, &udpa_annotations_security_ext); -} -UPB_INLINE void udpa_annotations_clear_security(struct google_protobuf_FieldOptions* msg) { - _upb_Message_ClearExtensionField(msg, &udpa_annotations_security_ext); -} -UPB_INLINE const udpa_annotations_FieldSecurityAnnotation* udpa_annotations_security(const struct google_protobuf_FieldOptions* msg) { - const upb_MiniTableExtension* ext = &udpa_annotations_security_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const udpa_annotations_FieldSecurityAnnotation* default_val = NULL; - const udpa_annotations_FieldSecurityAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void udpa_annotations_set_security(struct google_protobuf_FieldOptions* msg, const udpa_annotations_FieldSecurityAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &udpa_annotations_security_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -extern const upb_MiniTableFile udpa_annotations_security_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* UDPA_ANNOTATIONS_SECURITY_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c b/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c deleted file mode 100644 index 3faf26298bf..00000000000 --- a/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +++ /dev/null @@ -1,39 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/sensitive.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "udpa/annotations/sensitive.upb.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -const upb_MiniTableExtension udpa_annotations_sensitive_ext = { - {76569463, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_FieldOptions_msg_init, - {.submsg = NULL}, - -}; - -static const upb_MiniTableExtension *extensions_layout[1] = { - &udpa_annotations_sensitive_ext, -}; - -const upb_MiniTableFile udpa_annotations_sensitive_proto_upb_file_layout = { - NULL, - NULL, - extensions_layout, - 0, - 0, - 1, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h b/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h deleted file mode 100644 index b67ff2ff229..00000000000 --- a/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +++ /dev/null @@ -1,55 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/sensitive.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPB_H_ -#define UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -extern const upb_MiniTableExtension udpa_annotations_sensitive_ext; -struct google_protobuf_FieldOptions; -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; - - -UPB_INLINE bool udpa_annotations_has_sensitive(const struct google_protobuf_FieldOptions* msg) { - return _upb_Message_HasExtensionField(msg, &udpa_annotations_sensitive_ext); -} -UPB_INLINE void udpa_annotations_clear_sensitive(struct google_protobuf_FieldOptions* msg) { - _upb_Message_ClearExtensionField(msg, &udpa_annotations_sensitive_ext); -} -UPB_INLINE bool udpa_annotations_sensitive(const struct google_protobuf_FieldOptions* msg) { - const upb_MiniTableExtension* ext = &udpa_annotations_sensitive_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_1Byte); - bool default_val = false; - bool ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void udpa_annotations_set_sensitive(struct google_protobuf_FieldOptions* msg, bool val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &udpa_annotations_sensitive_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_1Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -extern const upb_MiniTableFile udpa_annotations_sensitive_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/udpa/annotations/status.upb.c b/src/core/ext/upb-generated/udpa/annotations/status.upb.c deleted file mode 100644 index 4c1e902e874..00000000000 --- a/src/core/ext/upb-generated/udpa/annotations/status.upb.c +++ /dev/null @@ -1,61 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/status.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "udpa/annotations/status.upb.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField udpa_annotations_StatusAnnotation__fields[2] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable udpa_annotations_StatusAnnotation_msg_init = { - NULL, - &udpa_annotations_StatusAnnotation__fields[0], - 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &udpa_annotations_StatusAnnotation_msg_init, -}; - -extern const upb_MiniTable google_protobuf_FileOptions_msg_init; -extern const upb_MiniTable udpa_annotations_StatusAnnotation_msg_init; -const upb_MiniTableExtension udpa_annotations_file_status_ext = { - {222707719, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_FileOptions_msg_init, - {.submsg = &udpa_annotations_StatusAnnotation_msg_init}, - -}; - -static const upb_MiniTableExtension *extensions_layout[1] = { - &udpa_annotations_file_status_ext, -}; - -const upb_MiniTableFile udpa_annotations_status_proto_upb_file_layout = { - messages_layout, - NULL, - extensions_layout, - 1, - 0, - 1, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/udpa/annotations/status.upb.h b/src/core/ext/upb-generated/udpa/annotations/status.upb.h deleted file mode 100644 index acb9c449b21..00000000000 --- a/src/core/ext/upb-generated/udpa/annotations/status.upb.h +++ /dev/null @@ -1,132 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/status.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef UDPA_ANNOTATIONS_STATUS_PROTO_UPB_H_ -#define UDPA_ANNOTATIONS_STATUS_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct udpa_annotations_StatusAnnotation udpa_annotations_StatusAnnotation; -extern const upb_MiniTable udpa_annotations_StatusAnnotation_msg_init; -extern const upb_MiniTableExtension udpa_annotations_file_status_ext; -struct google_protobuf_FileOptions; -extern const upb_MiniTable google_protobuf_FileOptions_msg_init; - -typedef enum { - udpa_annotations_UNKNOWN = 0, - udpa_annotations_FROZEN = 1, - udpa_annotations_ACTIVE = 2, - udpa_annotations_NEXT_MAJOR_VERSION_CANDIDATE = 3 -} udpa_annotations_PackageVersionStatus; - - - -/* udpa.annotations.StatusAnnotation */ - -UPB_INLINE udpa_annotations_StatusAnnotation* udpa_annotations_StatusAnnotation_new(upb_Arena* arena) { - return (udpa_annotations_StatusAnnotation*)_upb_Message_New(&udpa_annotations_StatusAnnotation_msg_init, arena); -} -UPB_INLINE udpa_annotations_StatusAnnotation* udpa_annotations_StatusAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - udpa_annotations_StatusAnnotation* ret = udpa_annotations_StatusAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &udpa_annotations_StatusAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE udpa_annotations_StatusAnnotation* udpa_annotations_StatusAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - udpa_annotations_StatusAnnotation* ret = udpa_annotations_StatusAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &udpa_annotations_StatusAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* udpa_annotations_StatusAnnotation_serialize(const udpa_annotations_StatusAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &udpa_annotations_StatusAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* udpa_annotations_StatusAnnotation_serialize_ex(const udpa_annotations_StatusAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &udpa_annotations_StatusAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void udpa_annotations_StatusAnnotation_clear_work_in_progress(udpa_annotations_StatusAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool udpa_annotations_StatusAnnotation_work_in_progress(const udpa_annotations_StatusAnnotation* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void udpa_annotations_StatusAnnotation_clear_package_version_status(udpa_annotations_StatusAnnotation* msg) { - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t udpa_annotations_StatusAnnotation_package_version_status(const udpa_annotations_StatusAnnotation* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void udpa_annotations_StatusAnnotation_set_work_in_progress(udpa_annotations_StatusAnnotation *msg, bool value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void udpa_annotations_StatusAnnotation_set_package_version_status(udpa_annotations_StatusAnnotation *msg, int32_t value) { - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -UPB_INLINE bool udpa_annotations_has_file_status(const struct google_protobuf_FileOptions* msg) { - return _upb_Message_HasExtensionField(msg, &udpa_annotations_file_status_ext); -} -UPB_INLINE void udpa_annotations_clear_file_status(struct google_protobuf_FileOptions* msg) { - _upb_Message_ClearExtensionField(msg, &udpa_annotations_file_status_ext); -} -UPB_INLINE const udpa_annotations_StatusAnnotation* udpa_annotations_file_status(const struct google_protobuf_FileOptions* msg) { - const upb_MiniTableExtension* ext = &udpa_annotations_file_status_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const udpa_annotations_StatusAnnotation* default_val = NULL; - const udpa_annotations_StatusAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void udpa_annotations_set_file_status(struct google_protobuf_FileOptions* msg, const udpa_annotations_StatusAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &udpa_annotations_file_status_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -extern const upb_MiniTableFile udpa_annotations_status_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* UDPA_ANNOTATIONS_STATUS_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c b/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c deleted file mode 100644 index 14b5e306f8b..00000000000 --- a/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +++ /dev/null @@ -1,58 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/versioning.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "udpa/annotations/versioning.upb.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField udpa_annotations_VersioningAnnotation__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable udpa_annotations_VersioningAnnotation_msg_init = { - NULL, - &udpa_annotations_VersioningAnnotation__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &udpa_annotations_VersioningAnnotation_msg_init, -}; - -extern const upb_MiniTable google_protobuf_MessageOptions_msg_init; -extern const upb_MiniTable udpa_annotations_VersioningAnnotation_msg_init; -const upb_MiniTableExtension udpa_annotations_versioning_ext = { - {7881811, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_MessageOptions_msg_init, - {.submsg = &udpa_annotations_VersioningAnnotation_msg_init}, - -}; - -static const upb_MiniTableExtension *extensions_layout[1] = { - &udpa_annotations_versioning_ext, -}; - -const upb_MiniTableFile udpa_annotations_versioning_proto_upb_file_layout = { - messages_layout, - NULL, - extensions_layout, - 1, - 0, - 1, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h b/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h deleted file mode 100644 index bf466cfbae0..00000000000 --- a/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +++ /dev/null @@ -1,110 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/versioning.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef UDPA_ANNOTATIONS_VERSIONING_PROTO_UPB_H_ -#define UDPA_ANNOTATIONS_VERSIONING_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct udpa_annotations_VersioningAnnotation udpa_annotations_VersioningAnnotation; -extern const upb_MiniTable udpa_annotations_VersioningAnnotation_msg_init; -extern const upb_MiniTableExtension udpa_annotations_versioning_ext; -struct google_protobuf_MessageOptions; -extern const upb_MiniTable google_protobuf_MessageOptions_msg_init; - - - -/* udpa.annotations.VersioningAnnotation */ - -UPB_INLINE udpa_annotations_VersioningAnnotation* udpa_annotations_VersioningAnnotation_new(upb_Arena* arena) { - return (udpa_annotations_VersioningAnnotation*)_upb_Message_New(&udpa_annotations_VersioningAnnotation_msg_init, arena); -} -UPB_INLINE udpa_annotations_VersioningAnnotation* udpa_annotations_VersioningAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - udpa_annotations_VersioningAnnotation* ret = udpa_annotations_VersioningAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &udpa_annotations_VersioningAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE udpa_annotations_VersioningAnnotation* udpa_annotations_VersioningAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - udpa_annotations_VersioningAnnotation* ret = udpa_annotations_VersioningAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &udpa_annotations_VersioningAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* udpa_annotations_VersioningAnnotation_serialize(const udpa_annotations_VersioningAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &udpa_annotations_VersioningAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* udpa_annotations_VersioningAnnotation_serialize_ex(const udpa_annotations_VersioningAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &udpa_annotations_VersioningAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void udpa_annotations_VersioningAnnotation_clear_previous_message_type(udpa_annotations_VersioningAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView udpa_annotations_VersioningAnnotation_previous_message_type(const udpa_annotations_VersioningAnnotation* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void udpa_annotations_VersioningAnnotation_set_previous_message_type(udpa_annotations_VersioningAnnotation *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -UPB_INLINE bool udpa_annotations_has_versioning(const struct google_protobuf_MessageOptions* msg) { - return _upb_Message_HasExtensionField(msg, &udpa_annotations_versioning_ext); -} -UPB_INLINE void udpa_annotations_clear_versioning(struct google_protobuf_MessageOptions* msg) { - _upb_Message_ClearExtensionField(msg, &udpa_annotations_versioning_ext); -} -UPB_INLINE const udpa_annotations_VersioningAnnotation* udpa_annotations_versioning(const struct google_protobuf_MessageOptions* msg) { - const upb_MiniTableExtension* ext = &udpa_annotations_versioning_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const udpa_annotations_VersioningAnnotation* default_val = NULL; - const udpa_annotations_VersioningAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void udpa_annotations_set_versioning(struct google_protobuf_MessageOptions* msg, const udpa_annotations_VersioningAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &udpa_annotations_versioning_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -extern const upb_MiniTableFile udpa_annotations_versioning_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* UDPA_ANNOTATIONS_VERSIONING_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/validate/validate.upb.c b/src/core/ext/upb-generated/validate/validate.upb.c deleted file mode 100644 index c2a19de697b..00000000000 --- a/src/core/ext/upb-generated/validate/validate.upb.c +++ /dev/null @@ -1,948 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * validate/validate.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "validate/validate.upb.h" -#include "google/protobuf/descriptor.upb.h" -#include "google/protobuf/duration.upb.h" -#include "google/protobuf/timestamp.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub validate_FieldRules_submsgs[22] = { - {.submsg = &validate_FloatRules_msg_init}, - {.submsg = &validate_DoubleRules_msg_init}, - {.submsg = &validate_Int32Rules_msg_init}, - {.submsg = &validate_Int64Rules_msg_init}, - {.submsg = &validate_UInt32Rules_msg_init}, - {.submsg = &validate_UInt64Rules_msg_init}, - {.submsg = &validate_SInt32Rules_msg_init}, - {.submsg = &validate_SInt64Rules_msg_init}, - {.submsg = &validate_Fixed32Rules_msg_init}, - {.submsg = &validate_Fixed64Rules_msg_init}, - {.submsg = &validate_SFixed32Rules_msg_init}, - {.submsg = &validate_SFixed64Rules_msg_init}, - {.submsg = &validate_BoolRules_msg_init}, - {.submsg = &validate_StringRules_msg_init}, - {.submsg = &validate_BytesRules_msg_init}, - {.submsg = &validate_EnumRules_msg_init}, - {.submsg = &validate_MessageRules_msg_init}, - {.submsg = &validate_RepeatedRules_msg_init}, - {.submsg = &validate_MapRules_msg_init}, - {.submsg = &validate_AnyRules_msg_init}, - {.submsg = &validate_DurationRules_msg_init}, - {.submsg = &validate_TimestampRules_msg_init}, -}; - -static const upb_MiniTableField validate_FieldRules__fields[22] = { - {1, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 14, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(4, 8), 1, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {18, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 17, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {19, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {20, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 19, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {21, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {22, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_FieldRules_msg_init = { - &validate_FieldRules_submsgs[0], - &validate_FieldRules__fields[0], - UPB_SIZE(16, 24), 22, kUpb_ExtMode_NonExtendable, 22, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000040100000a, &upb_pom_1bt_max64b}, - {0x0010000402010012, &upb_pom_1bt_max128b}, - {0x001000040302001a, &upb_pom_1bt_max64b}, - {0x0010000404030022, &upb_pom_1bt_max128b}, - {0x001000040504002a, &upb_pom_1bt_max64b}, - {0x0010000406050032, &upb_pom_1bt_max128b}, - {0x001000040706003a, &upb_pom_1bt_max64b}, - {0x0010000408070042, &upb_pom_1bt_max128b}, - {0x001000040908004a, &upb_pom_1bt_max64b}, - {0x001000040a090052, &upb_pom_1bt_max128b}, - {0x001000040b0a005a, &upb_pom_1bt_max64b}, - {0x001000040c0b0062, &upb_pom_1bt_max128b}, - {0x001000040d0c006a, &upb_pom_1bt_max64b}, - {0x001000040e0d0072, &upb_pom_1bt_max192b}, - {0x001000040f0e007a, &upb_pom_1bt_max192b}, - {0x00100004100f0182, &upb_pom_2bt_max64b}, - {0x000800000110018a, &upb_psm_2bt_max64b}, - {0x0010000412110192, &upb_pom_2bt_max64b}, - {0x001000041312019a, &upb_pom_2bt_max64b}, - {0x00100004141301a2, &upb_pom_2bt_max64b}, - {0x00100004151401aa, &upb_pom_2bt_max128b}, - {0x00100004161501b2, &upb_pom_2bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_FloatRules__fields[8] = { - {1, 4, 1, kUpb_NoSub, 2, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 2, kUpb_NoSub, 2, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, 12, 3, kUpb_NoSub, 2, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, 16, 4, kUpb_NoSub, 2, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {5, 20, 5, kUpb_NoSub, 2, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 32), 0, kUpb_NoSub, 2, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 40), 0, kUpb_NoSub, 2, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(32, 24), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_FloatRules_msg_init = { - NULL, - &validate_FloatRules__fields[0], - UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400000100000d, &upb_psf4_1bt}, - {0x0008000002000015, &upb_psf4_1bt}, - {0x000c00000300001d, &upb_psf4_1bt}, - {0x0010000004000025, &upb_psf4_1bt}, - {0x001400000500002d, &upb_psf4_1bt}, - {0x002000003f000035, &upb_prf4_1bt}, - {0x002800003f00003d, &upb_prf4_1bt}, - {0x0018000006000040, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_DoubleRules__fields[8] = { - {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(32, 24), 3, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(40, 32), 4, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(48, 40), 5, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 48), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(8, 56), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(12, 1), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_DoubleRules_msg_init = { - NULL, - &validate_DoubleRules__fields[0], - UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000009, &upb_psf8_1bt}, - {0x0010000002000011, &upb_psf8_1bt}, - {0x0018000003000019, &upb_psf8_1bt}, - {0x0020000004000021, &upb_psf8_1bt}, - {0x0028000005000029, &upb_psf8_1bt}, - {0x003000003f000031, &upb_prf8_1bt}, - {0x003800003f000039, &upb_prf8_1bt}, - {0x0001000006000040, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_Int32Rules__fields[8] = { - {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 2, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, 12, 3, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, 16, 4, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {5, 20, 5, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(32, 24), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_Int32Rules_msg_init = { - NULL, - &validate_Int32Rules__fields[0], - UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0004000001000008, &upb_psv4_1bt}, - {0x0008000002000010, &upb_psv4_1bt}, - {0x000c000003000018, &upb_psv4_1bt}, - {0x0010000004000020, &upb_psv4_1bt}, - {0x0014000005000028, &upb_psv4_1bt}, - {0x002000003f000030, &upb_prv4_1bt}, - {0x002800003f000038, &upb_prv4_1bt}, - {0x0018000006000040, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_Int64Rules__fields[8] = { - {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(32, 24), 3, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(40, 32), 4, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(48, 40), 5, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 48), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(8, 56), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(12, 1), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_Int64Rules_msg_init = { - NULL, - &validate_Int64Rules__fields[0], - UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000008, &upb_psv8_1bt}, - {0x0010000002000010, &upb_psv8_1bt}, - {0x0018000003000018, &upb_psv8_1bt}, - {0x0020000004000020, &upb_psv8_1bt}, - {0x0028000005000028, &upb_psv8_1bt}, - {0x003000003f000030, &upb_prv8_1bt}, - {0x003800003f000038, &upb_prv8_1bt}, - {0x0001000006000040, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_UInt32Rules__fields[8] = { - {1, 4, 1, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 2, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, 12, 3, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, 16, 4, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {5, 20, 5, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 32), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 40), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(32, 24), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_UInt32Rules_msg_init = { - NULL, - &validate_UInt32Rules__fields[0], - UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0004000001000008, &upb_psv4_1bt}, - {0x0008000002000010, &upb_psv4_1bt}, - {0x000c000003000018, &upb_psv4_1bt}, - {0x0010000004000020, &upb_psv4_1bt}, - {0x0014000005000028, &upb_psv4_1bt}, - {0x002000003f000030, &upb_prv4_1bt}, - {0x002800003f000038, &upb_prv4_1bt}, - {0x0018000006000040, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_UInt64Rules__fields[8] = { - {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(32, 24), 3, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(40, 32), 4, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(48, 40), 5, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 48), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(8, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(12, 1), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_UInt64Rules_msg_init = { - NULL, - &validate_UInt64Rules__fields[0], - UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000008, &upb_psv8_1bt}, - {0x0010000002000010, &upb_psv8_1bt}, - {0x0018000003000018, &upb_psv8_1bt}, - {0x0020000004000020, &upb_psv8_1bt}, - {0x0028000005000028, &upb_psv8_1bt}, - {0x003000003f000030, &upb_prv8_1bt}, - {0x003800003f000038, &upb_prv8_1bt}, - {0x0001000006000040, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_SInt32Rules__fields[8] = { - {1, 4, 1, kUpb_NoSub, 17, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 2, kUpb_NoSub, 17, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, 12, 3, kUpb_NoSub, 17, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, 16, 4, kUpb_NoSub, 17, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {5, 20, 5, kUpb_NoSub, 17, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 32), 0, kUpb_NoSub, 17, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 40), 0, kUpb_NoSub, 17, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(32, 24), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_SInt32Rules_msg_init = { - NULL, - &validate_SInt32Rules__fields[0], - UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0004000001000008, &upb_psz4_1bt}, - {0x0008000002000010, &upb_psz4_1bt}, - {0x000c000003000018, &upb_psz4_1bt}, - {0x0010000004000020, &upb_psz4_1bt}, - {0x0014000005000028, &upb_psz4_1bt}, - {0x002000003f000030, &upb_prz4_1bt}, - {0x002800003f000038, &upb_prz4_1bt}, - {0x0018000006000040, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_SInt64Rules__fields[8] = { - {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 18, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 18, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(32, 24), 3, kUpb_NoSub, 18, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(40, 32), 4, kUpb_NoSub, 18, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(48, 40), 5, kUpb_NoSub, 18, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 48), 0, kUpb_NoSub, 18, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(8, 56), 0, kUpb_NoSub, 18, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(12, 1), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_SInt64Rules_msg_init = { - NULL, - &validate_SInt64Rules__fields[0], - UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000008, &upb_psz8_1bt}, - {0x0010000002000010, &upb_psz8_1bt}, - {0x0018000003000018, &upb_psz8_1bt}, - {0x0020000004000020, &upb_psz8_1bt}, - {0x0028000005000028, &upb_psz8_1bt}, - {0x003000003f000030, &upb_prz8_1bt}, - {0x003800003f000038, &upb_prz8_1bt}, - {0x0001000006000040, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_Fixed32Rules__fields[8] = { - {1, 4, 1, kUpb_NoSub, 7, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 2, kUpb_NoSub, 7, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, 12, 3, kUpb_NoSub, 7, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, 16, 4, kUpb_NoSub, 7, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {5, 20, 5, kUpb_NoSub, 7, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 32), 0, kUpb_NoSub, 7, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 40), 0, kUpb_NoSub, 7, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(32, 24), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_Fixed32Rules_msg_init = { - NULL, - &validate_Fixed32Rules__fields[0], - UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400000100000d, &upb_psf4_1bt}, - {0x0008000002000015, &upb_psf4_1bt}, - {0x000c00000300001d, &upb_psf4_1bt}, - {0x0010000004000025, &upb_psf4_1bt}, - {0x001400000500002d, &upb_psf4_1bt}, - {0x002000003f000035, &upb_prf4_1bt}, - {0x002800003f00003d, &upb_prf4_1bt}, - {0x0018000006000040, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_Fixed64Rules__fields[8] = { - {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 6, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 6, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(32, 24), 3, kUpb_NoSub, 6, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(40, 32), 4, kUpb_NoSub, 6, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(48, 40), 5, kUpb_NoSub, 6, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 48), 0, kUpb_NoSub, 6, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(8, 56), 0, kUpb_NoSub, 6, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(12, 1), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_Fixed64Rules_msg_init = { - NULL, - &validate_Fixed64Rules__fields[0], - UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000009, &upb_psf8_1bt}, - {0x0010000002000011, &upb_psf8_1bt}, - {0x0018000003000019, &upb_psf8_1bt}, - {0x0020000004000021, &upb_psf8_1bt}, - {0x0028000005000029, &upb_psf8_1bt}, - {0x003000003f000031, &upb_prf8_1bt}, - {0x003800003f000039, &upb_prf8_1bt}, - {0x0001000006000040, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_SFixed32Rules__fields[8] = { - {1, 4, 1, kUpb_NoSub, 15, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 2, kUpb_NoSub, 15, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {3, 12, 3, kUpb_NoSub, 15, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {4, 16, 4, kUpb_NoSub, 15, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {5, 20, 5, kUpb_NoSub, 15, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(24, 32), 0, kUpb_NoSub, 15, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(28, 40), 0, kUpb_NoSub, 15, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(32, 24), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_SFixed32Rules_msg_init = { - NULL, - &validate_SFixed32Rules__fields[0], - UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000400000100000d, &upb_psf4_1bt}, - {0x0008000002000015, &upb_psf4_1bt}, - {0x000c00000300001d, &upb_psf4_1bt}, - {0x0010000004000025, &upb_psf4_1bt}, - {0x001400000500002d, &upb_psf4_1bt}, - {0x002000003f000035, &upb_prf4_1bt}, - {0x002800003f00003d, &upb_prf4_1bt}, - {0x0018000006000040, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_SFixed64Rules__fields[8] = { - {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 16, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 16, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(32, 24), 3, kUpb_NoSub, 16, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(40, 32), 4, kUpb_NoSub, 16, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(48, 40), 5, kUpb_NoSub, 16, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(4, 48), 0, kUpb_NoSub, 16, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(8, 56), 0, kUpb_NoSub, 16, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(12, 1), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_SFixed64Rules_msg_init = { - NULL, - &validate_SFixed64Rules__fields[0], - UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000009, &upb_psf8_1bt}, - {0x0010000002000011, &upb_psf8_1bt}, - {0x0018000003000019, &upb_psf8_1bt}, - {0x0020000004000021, &upb_psf8_1bt}, - {0x0028000005000029, &upb_psf8_1bt}, - {0x003000003f000031, &upb_prf8_1bt}, - {0x003800003f000039, &upb_prf8_1bt}, - {0x0001000006000040, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_BoolRules__fields[1] = { - {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_BoolRules_msg_init = { - NULL, - &validate_BoolRules__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0001000001000008, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTableSub validate_StringRules_submsgs[1] = { - {.subenum = &validate_KnownRegex_enum_init}, -}; - -static const upb_MiniTableField validate_StringRules__fields[26] = { - {1, UPB_SIZE(24, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 32, 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, 40, 3, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, 48, 4, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {5, 56, 5, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {6, 64, 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(72, 80), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(80, 96), 8, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(88, 112), 9, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {10, UPB_SIZE(4, 128), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {11, UPB_SIZE(8, 136), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {12, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {15, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {16, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {17, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {18, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {19, UPB_SIZE(96, 144), 10, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {20, UPB_SIZE(104, 152), 11, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {21, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {22, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {23, UPB_SIZE(112, 160), 12, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {24, UPB_SIZE(20, 12), UPB_SIZE(-13, -5), 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {25, UPB_SIZE(16, 8), 13, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {26, UPB_SIZE(17, 9), 14, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_StringRules_msg_init = { - &validate_StringRules_submsgs[0], - &validate_StringRules__fields[0], - UPB_SIZE(120, 176), 26, kUpb_ExtMode_NonExtendable, 26, UPB_FASTTABLE_MASK(248), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000000100000a, &upb_pss_1bt}, - {0x0020000002000010, &upb_psv8_1bt}, - {0x0028000003000018, &upb_psv8_1bt}, - {0x0030000004000020, &upb_psv8_1bt}, - {0x0038000005000028, &upb_psv8_1bt}, - {0x0040000006000032, &upb_pss_1bt}, - {0x005000000700003a, &upb_pss_1bt}, - {0x0060000008000042, &upb_pss_1bt}, - {0x007000000900004a, &upb_pss_1bt}, - {0x008000003f000052, &upb_prs_1bt}, - {0x008800003f00005a, &upb_prs_1bt}, - {0x000c00040c000060, &upb_pob1_1bt}, - {0x000c00040d000068, &upb_pob1_1bt}, - {0x000c00040e000070, &upb_pob1_1bt}, - {0x000c00040f000078, &upb_pob1_1bt}, - {0x000c000410000180, &upb_pob1_2bt}, - {0x000c000411000188, &upb_pob1_2bt}, - {0x000c000412000190, &upb_pob1_2bt}, - {0x009000000a000198, &upb_psv8_2bt}, - {0x009800000b0001a0, &upb_psv8_2bt}, - {0x000c0004150001a8, &upb_pob1_2bt}, - {0x000c0004160001b0, &upb_pob1_2bt}, - {0x00a000000c0001ba, &upb_pss_2bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000d0001c8, &upb_psb1_2bt}, - {0x000900000e0001d0, &upb_psb1_2bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_BytesRules__fields[14] = { - {1, UPB_SIZE(20, 16), 1, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 32, 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, 40, 3, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, 48, 4, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(56, 64), 5, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(64, 80), 6, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(72, 96), 7, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(4, 112), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(8, 120), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {10, 2, UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {11, 2, UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {12, 2, UPB_SIZE(-13, -5), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {13, UPB_SIZE(80, 128), 8, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {14, UPB_SIZE(16, 8), 9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_BytesRules_msg_init = { - NULL, - &validate_BytesRules__fields[0], - UPB_SIZE(88, 136), 14, kUpb_ExtMode_NonExtendable, 14, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000000100000a, &upb_psb_1bt}, - {0x0020000002000010, &upb_psv8_1bt}, - {0x0028000003000018, &upb_psv8_1bt}, - {0x0030000004000022, &upb_pss_1bt}, - {0x004000000500002a, &upb_psb_1bt}, - {0x0050000006000032, &upb_psb_1bt}, - {0x006000000700003a, &upb_psb_1bt}, - {0x007000003f000042, &upb_prb_1bt}, - {0x007800003f00004a, &upb_prb_1bt}, - {0x000200040a000050, &upb_pob1_1bt}, - {0x000200040b000058, &upb_pob1_1bt}, - {0x000200040c000060, &upb_pob1_1bt}, - {0x0080000008000068, &upb_psv8_1bt}, - {0x0008000009000070, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_EnumRules__fields[4] = { - {1, 4, 1, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 8, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(16, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_EnumRules_msg_init = { - NULL, - &validate_EnumRules__fields[0], - UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0004000001000008, &upb_psv4_1bt}, - {0x0008000002000010, &upb_psb1_1bt}, - {0x001000003f000018, &upb_prv4_1bt}, - {0x001800003f000020, &upb_prv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_MessageRules__fields[2] = { - {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, 2, 2, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_MessageRules_msg_init = { - NULL, - &validate_MessageRules__fields[0], - 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0001000001000008, &upb_psb1_1bt}, - {0x0002000002000010, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub validate_RepeatedRules_submsgs[1] = { - {.submsg = &validate_FieldRules_msg_init}, -}; - -static const upb_MiniTableField validate_RepeatedRules__fields[5] = { - {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, 1, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 24), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 2), 5, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_RepeatedRules_msg_init = { - &validate_RepeatedRules_submsgs[0], - &validate_RepeatedRules__fields[0], - 32, 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000008, &upb_psv8_1bt}, - {0x0010000002000010, &upb_psv8_1bt}, - {0x0001000003000018, &upb_psb1_1bt}, - {0x0018000004000022, &upb_psm_1bt_max64b}, - {0x0002000005000028, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub validate_MapRules_submsgs[2] = { - {.submsg = &validate_FieldRules_msg_init}, - {.submsg = &validate_FieldRules_msg_init}, -}; - -static const upb_MiniTableField validate_MapRules__fields[6] = { - {1, UPB_SIZE(16, 8), 1, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(24, 16), 2, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, 1, 3, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 24), 4, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(8, 32), 5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(12, 2), 6, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_MapRules_msg_init = { - &validate_MapRules_submsgs[0], - &validate_MapRules__fields[0], - UPB_SIZE(32, 40), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0008000001000008, &upb_psv8_1bt}, - {0x0010000002000010, &upb_psv8_1bt}, - {0x0001000003000018, &upb_psb1_1bt}, - {0x0018000004000022, &upb_psm_1bt_max64b}, - {0x002000000501002a, &upb_psm_1bt_max64b}, - {0x0002000006000030, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField validate_AnyRules__fields[3] = { - {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 16), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_AnyRules_msg_init = { - NULL, - &validate_AnyRules__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0001000001000008, &upb_psb1_1bt}, - {0x000800003f000012, &upb_prs_1bt}, - {0x001000003f00001a, &upb_prs_1bt}, - }) -}; - -static const upb_MiniTableSub validate_DurationRules_submsgs[7] = { - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField validate_DurationRules__fields[8] = { - {1, 1, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 16), 3, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 24), 4, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 32), 5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 40), 6, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(24, 48), 0, 5, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(28, 56), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_DurationRules_msg_init = { - &validate_DurationRules_submsgs[0], - &validate_DurationRules__fields[0], - UPB_SIZE(32, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0001000001000008, &upb_psb1_1bt}, - {0x0008000002000012, &upb_psm_1bt_maxmaxb}, - {0x001000000301001a, &upb_psm_1bt_maxmaxb}, - {0x0018000004020022, &upb_psm_1bt_maxmaxb}, - {0x002000000503002a, &upb_psm_1bt_maxmaxb}, - {0x0028000006040032, &upb_psm_1bt_maxmaxb}, - {0x003000003f05003a, &upb_prm_1bt_maxmaxb}, - {0x003800003f060042, &upb_prm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub validate_TimestampRules_submsgs[6] = { - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &google_protobuf_Timestamp_msg_init}, - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField validate_TimestampRules__fields[9] = { - {1, 2, 1, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), 2, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 16), 3, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 24), 4, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(16, 32), 5, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(20, 40), 6, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {7, UPB_SIZE(24, 3), 7, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(25, 4), 8, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(28, 48), 9, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable validate_TimestampRules_msg_init = { - &validate_TimestampRules_submsgs[0], - &validate_TimestampRules__fields[0], - UPB_SIZE(32, 56), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0002000001000008, &upb_psb1_1bt}, - {0x0008000002000012, &upb_psm_1bt_maxmaxb}, - {0x001000000301001a, &upb_psm_1bt_maxmaxb}, - {0x0018000004020022, &upb_psm_1bt_maxmaxb}, - {0x002000000503002a, &upb_psm_1bt_maxmaxb}, - {0x0028000006040032, &upb_psm_1bt_maxmaxb}, - {0x0003000007000038, &upb_psb1_1bt}, - {0x0004000008000040, &upb_psb1_1bt}, - {0x003000000905004a, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[23] = { - &validate_FieldRules_msg_init, - &validate_FloatRules_msg_init, - &validate_DoubleRules_msg_init, - &validate_Int32Rules_msg_init, - &validate_Int64Rules_msg_init, - &validate_UInt32Rules_msg_init, - &validate_UInt64Rules_msg_init, - &validate_SInt32Rules_msg_init, - &validate_SInt64Rules_msg_init, - &validate_Fixed32Rules_msg_init, - &validate_Fixed64Rules_msg_init, - &validate_SFixed32Rules_msg_init, - &validate_SFixed64Rules_msg_init, - &validate_BoolRules_msg_init, - &validate_StringRules_msg_init, - &validate_BytesRules_msg_init, - &validate_EnumRules_msg_init, - &validate_MessageRules_msg_init, - &validate_RepeatedRules_msg_init, - &validate_MapRules_msg_init, - &validate_AnyRules_msg_init, - &validate_DurationRules_msg_init, - &validate_TimestampRules_msg_init, -}; - -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -extern const upb_MiniTable google_protobuf_MessageOptions_msg_init; -extern const upb_MiniTable google_protobuf_OneofOptions_msg_init; -extern const upb_MiniTable validate_FieldRules_msg_init; -const upb_MiniTableExtension validate_disabled_ext = { - {1071, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_MessageOptions_msg_init, - {.submsg = NULL}, - -}; -const upb_MiniTableExtension validate_ignored_ext = { - {1072, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_MessageOptions_msg_init, - {.submsg = NULL}, - -}; -const upb_MiniTableExtension validate_required_ext = { - {1071, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_OneofOptions_msg_init, - {.submsg = NULL}, - -}; -const upb_MiniTableExtension validate_rules_ext = { - {1071, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_FieldOptions_msg_init, - {.submsg = &validate_FieldRules_msg_init}, - -}; - -static const upb_MiniTableExtension *extensions_layout[4] = { - &validate_disabled_ext, - &validate_ignored_ext, - &validate_required_ext, - &validate_rules_ext, -}; - -const upb_MiniTableEnum validate_KnownRegex_enum_init = { - 64, - 0, - { - 0x7, - 0x0, - }, -}; - -static const upb_MiniTableEnum *enums_layout[1] = { - &validate_KnownRegex_enum_init, -}; - -const upb_MiniTableFile validate_validate_proto_upb_file_layout = { - messages_layout, - enums_layout, - extensions_layout, - 23, - 1, - 4, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c b/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c deleted file mode 100644 index 2835c5dfe88..00000000000 --- a/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +++ /dev/null @@ -1,127 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/migrate.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/annotations/v3/migrate.upb.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField xds_annotations_v3_MigrateAnnotation__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_annotations_v3_MigrateAnnotation_msg_init = { - NULL, - &xds_annotations_v3_MigrateAnnotation__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTableField xds_annotations_v3_FieldMigrateAnnotation__fields[2] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_annotations_v3_FieldMigrateAnnotation_msg_init = { - NULL, - &xds_annotations_v3_FieldMigrateAnnotation__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - {0x001000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField xds_annotations_v3_FileMigrateAnnotation__fields[1] = { - {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_annotations_v3_FileMigrateAnnotation_msg_init = { - NULL, - &xds_annotations_v3_FileMigrateAnnotation__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &xds_annotations_v3_MigrateAnnotation_msg_init, - &xds_annotations_v3_FieldMigrateAnnotation_msg_init, - &xds_annotations_v3_FileMigrateAnnotation_msg_init, -}; - -extern const upb_MiniTable google_protobuf_EnumOptions_msg_init; -extern const upb_MiniTable google_protobuf_EnumValueOptions_msg_init; -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -extern const upb_MiniTable google_protobuf_FileOptions_msg_init; -extern const upb_MiniTable google_protobuf_MessageOptions_msg_init; -extern const upb_MiniTable xds_annotations_v3_FieldMigrateAnnotation_msg_init; -extern const upb_MiniTable xds_annotations_v3_FileMigrateAnnotation_msg_init; -extern const upb_MiniTable xds_annotations_v3_MigrateAnnotation_msg_init; -const upb_MiniTableExtension xds_annotations_v3_message_migrate_ext = { - {112948430, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_MessageOptions_msg_init, - {.submsg = &xds_annotations_v3_MigrateAnnotation_msg_init}, - -}; -const upb_MiniTableExtension xds_annotations_v3_field_migrate_ext = { - {112948430, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_FieldOptions_msg_init, - {.submsg = &xds_annotations_v3_FieldMigrateAnnotation_msg_init}, - -}; -const upb_MiniTableExtension xds_annotations_v3_enum_migrate_ext = { - {112948430, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_EnumOptions_msg_init, - {.submsg = &xds_annotations_v3_MigrateAnnotation_msg_init}, - -}; -const upb_MiniTableExtension xds_annotations_v3_enum_value_migrate_ext = { - {112948430, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_EnumValueOptions_msg_init, - {.submsg = &xds_annotations_v3_MigrateAnnotation_msg_init}, - -}; -const upb_MiniTableExtension xds_annotations_v3_file_migrate_ext = { - {112948430, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_FileOptions_msg_init, - {.submsg = &xds_annotations_v3_FileMigrateAnnotation_msg_init}, - -}; - -static const upb_MiniTableExtension *extensions_layout[5] = { - &xds_annotations_v3_message_migrate_ext, - &xds_annotations_v3_field_migrate_ext, - &xds_annotations_v3_enum_migrate_ext, - &xds_annotations_v3_enum_value_migrate_ext, - &xds_annotations_v3_file_migrate_ext, -}; - -const upb_MiniTableFile xds_annotations_v3_migrate_proto_upb_file_layout = { - messages_layout, - NULL, - extensions_layout, - 3, - 0, - 5, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h b/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h deleted file mode 100644 index 27dc4bd6939..00000000000 --- a/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +++ /dev/null @@ -1,333 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/migrate.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPB_H_ -#define XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_annotations_v3_MigrateAnnotation xds_annotations_v3_MigrateAnnotation; -typedef struct xds_annotations_v3_FieldMigrateAnnotation xds_annotations_v3_FieldMigrateAnnotation; -typedef struct xds_annotations_v3_FileMigrateAnnotation xds_annotations_v3_FileMigrateAnnotation; -extern const upb_MiniTable xds_annotations_v3_MigrateAnnotation_msg_init; -extern const upb_MiniTable xds_annotations_v3_FieldMigrateAnnotation_msg_init; -extern const upb_MiniTable xds_annotations_v3_FileMigrateAnnotation_msg_init; -extern const upb_MiniTableExtension xds_annotations_v3_message_migrate_ext; -extern const upb_MiniTableExtension xds_annotations_v3_field_migrate_ext; -extern const upb_MiniTableExtension xds_annotations_v3_enum_migrate_ext; -extern const upb_MiniTableExtension xds_annotations_v3_enum_value_migrate_ext; -extern const upb_MiniTableExtension xds_annotations_v3_file_migrate_ext; -struct google_protobuf_EnumOptions; -struct google_protobuf_EnumValueOptions; -struct google_protobuf_FieldOptions; -struct google_protobuf_FileOptions; -struct google_protobuf_MessageOptions; -extern const upb_MiniTable google_protobuf_EnumOptions_msg_init; -extern const upb_MiniTable google_protobuf_EnumValueOptions_msg_init; -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -extern const upb_MiniTable google_protobuf_FileOptions_msg_init; -extern const upb_MiniTable google_protobuf_MessageOptions_msg_init; - - - -/* xds.annotations.v3.MigrateAnnotation */ - -UPB_INLINE xds_annotations_v3_MigrateAnnotation* xds_annotations_v3_MigrateAnnotation_new(upb_Arena* arena) { - return (xds_annotations_v3_MigrateAnnotation*)_upb_Message_New(&xds_annotations_v3_MigrateAnnotation_msg_init, arena); -} -UPB_INLINE xds_annotations_v3_MigrateAnnotation* xds_annotations_v3_MigrateAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_annotations_v3_MigrateAnnotation* ret = xds_annotations_v3_MigrateAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_MigrateAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_annotations_v3_MigrateAnnotation* xds_annotations_v3_MigrateAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_annotations_v3_MigrateAnnotation* ret = xds_annotations_v3_MigrateAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_MigrateAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_annotations_v3_MigrateAnnotation_serialize(const xds_annotations_v3_MigrateAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_MigrateAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_annotations_v3_MigrateAnnotation_serialize_ex(const xds_annotations_v3_MigrateAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_MigrateAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_annotations_v3_MigrateAnnotation_clear_rename(xds_annotations_v3_MigrateAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView xds_annotations_v3_MigrateAnnotation_rename(const xds_annotations_v3_MigrateAnnotation* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void xds_annotations_v3_MigrateAnnotation_set_rename(xds_annotations_v3_MigrateAnnotation *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* xds.annotations.v3.FieldMigrateAnnotation */ - -UPB_INLINE xds_annotations_v3_FieldMigrateAnnotation* xds_annotations_v3_FieldMigrateAnnotation_new(upb_Arena* arena) { - return (xds_annotations_v3_FieldMigrateAnnotation*)_upb_Message_New(&xds_annotations_v3_FieldMigrateAnnotation_msg_init, arena); -} -UPB_INLINE xds_annotations_v3_FieldMigrateAnnotation* xds_annotations_v3_FieldMigrateAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_annotations_v3_FieldMigrateAnnotation* ret = xds_annotations_v3_FieldMigrateAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_FieldMigrateAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_annotations_v3_FieldMigrateAnnotation* xds_annotations_v3_FieldMigrateAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_annotations_v3_FieldMigrateAnnotation* ret = xds_annotations_v3_FieldMigrateAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_FieldMigrateAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_annotations_v3_FieldMigrateAnnotation_serialize(const xds_annotations_v3_FieldMigrateAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_FieldMigrateAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_annotations_v3_FieldMigrateAnnotation_serialize_ex(const xds_annotations_v3_FieldMigrateAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_FieldMigrateAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_annotations_v3_FieldMigrateAnnotation_clear_rename(xds_annotations_v3_FieldMigrateAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView xds_annotations_v3_FieldMigrateAnnotation_rename(const xds_annotations_v3_FieldMigrateAnnotation* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_FieldMigrateAnnotation_clear_oneof_promotion(xds_annotations_v3_FieldMigrateAnnotation* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView xds_annotations_v3_FieldMigrateAnnotation_oneof_promotion(const xds_annotations_v3_FieldMigrateAnnotation* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void xds_annotations_v3_FieldMigrateAnnotation_set_rename(xds_annotations_v3_FieldMigrateAnnotation *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void xds_annotations_v3_FieldMigrateAnnotation_set_oneof_promotion(xds_annotations_v3_FieldMigrateAnnotation *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* xds.annotations.v3.FileMigrateAnnotation */ - -UPB_INLINE xds_annotations_v3_FileMigrateAnnotation* xds_annotations_v3_FileMigrateAnnotation_new(upb_Arena* arena) { - return (xds_annotations_v3_FileMigrateAnnotation*)_upb_Message_New(&xds_annotations_v3_FileMigrateAnnotation_msg_init, arena); -} -UPB_INLINE xds_annotations_v3_FileMigrateAnnotation* xds_annotations_v3_FileMigrateAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_annotations_v3_FileMigrateAnnotation* ret = xds_annotations_v3_FileMigrateAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_FileMigrateAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_annotations_v3_FileMigrateAnnotation* xds_annotations_v3_FileMigrateAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_annotations_v3_FileMigrateAnnotation* ret = xds_annotations_v3_FileMigrateAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_FileMigrateAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_annotations_v3_FileMigrateAnnotation_serialize(const xds_annotations_v3_FileMigrateAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_FileMigrateAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_annotations_v3_FileMigrateAnnotation_serialize_ex(const xds_annotations_v3_FileMigrateAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_FileMigrateAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_annotations_v3_FileMigrateAnnotation_clear_move_to_package(xds_annotations_v3_FileMigrateAnnotation* msg) { - const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView xds_annotations_v3_FileMigrateAnnotation_move_to_package(const xds_annotations_v3_FileMigrateAnnotation* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void xds_annotations_v3_FileMigrateAnnotation_set_move_to_package(xds_annotations_v3_FileMigrateAnnotation *msg, upb_StringView value) { - const upb_MiniTableField field = {2, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -UPB_INLINE bool xds_annotations_v3_has_message_migrate(const struct google_protobuf_MessageOptions* msg) { - return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_message_migrate_ext); -} -UPB_INLINE void xds_annotations_v3_clear_message_migrate(struct google_protobuf_MessageOptions* msg) { - _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_message_migrate_ext); -} -UPB_INLINE const xds_annotations_v3_MigrateAnnotation* xds_annotations_v3_message_migrate(const struct google_protobuf_MessageOptions* msg) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_message_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const xds_annotations_v3_MigrateAnnotation* default_val = NULL; - const xds_annotations_v3_MigrateAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_set_message_migrate(struct google_protobuf_MessageOptions* msg, const xds_annotations_v3_MigrateAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_message_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -UPB_INLINE bool xds_annotations_v3_has_field_migrate(const struct google_protobuf_FieldOptions* msg) { - return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_field_migrate_ext); -} -UPB_INLINE void xds_annotations_v3_clear_field_migrate(struct google_protobuf_FieldOptions* msg) { - _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_field_migrate_ext); -} -UPB_INLINE const xds_annotations_v3_FieldMigrateAnnotation* xds_annotations_v3_field_migrate(const struct google_protobuf_FieldOptions* msg) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_field_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const xds_annotations_v3_FieldMigrateAnnotation* default_val = NULL; - const xds_annotations_v3_FieldMigrateAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_set_field_migrate(struct google_protobuf_FieldOptions* msg, const xds_annotations_v3_FieldMigrateAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_field_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -UPB_INLINE bool xds_annotations_v3_has_enum_migrate(const struct google_protobuf_EnumOptions* msg) { - return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_enum_migrate_ext); -} -UPB_INLINE void xds_annotations_v3_clear_enum_migrate(struct google_protobuf_EnumOptions* msg) { - _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_enum_migrate_ext); -} -UPB_INLINE const xds_annotations_v3_MigrateAnnotation* xds_annotations_v3_enum_migrate(const struct google_protobuf_EnumOptions* msg) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_enum_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const xds_annotations_v3_MigrateAnnotation* default_val = NULL; - const xds_annotations_v3_MigrateAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_set_enum_migrate(struct google_protobuf_EnumOptions* msg, const xds_annotations_v3_MigrateAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_enum_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -UPB_INLINE bool xds_annotations_v3_has_enum_value_migrate(const struct google_protobuf_EnumValueOptions* msg) { - return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_enum_value_migrate_ext); -} -UPB_INLINE void xds_annotations_v3_clear_enum_value_migrate(struct google_protobuf_EnumValueOptions* msg) { - _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_enum_value_migrate_ext); -} -UPB_INLINE const xds_annotations_v3_MigrateAnnotation* xds_annotations_v3_enum_value_migrate(const struct google_protobuf_EnumValueOptions* msg) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_enum_value_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const xds_annotations_v3_MigrateAnnotation* default_val = NULL; - const xds_annotations_v3_MigrateAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_set_enum_value_migrate(struct google_protobuf_EnumValueOptions* msg, const xds_annotations_v3_MigrateAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_enum_value_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -UPB_INLINE bool xds_annotations_v3_has_file_migrate(const struct google_protobuf_FileOptions* msg) { - return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_file_migrate_ext); -} -UPB_INLINE void xds_annotations_v3_clear_file_migrate(struct google_protobuf_FileOptions* msg) { - _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_file_migrate_ext); -} -UPB_INLINE const xds_annotations_v3_FileMigrateAnnotation* xds_annotations_v3_file_migrate(const struct google_protobuf_FileOptions* msg) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_file_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const xds_annotations_v3_FileMigrateAnnotation* default_val = NULL; - const xds_annotations_v3_FileMigrateAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_set_file_migrate(struct google_protobuf_FileOptions* msg, const xds_annotations_v3_FileMigrateAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_file_migrate_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -extern const upb_MiniTableFile xds_annotations_v3_migrate_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c b/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c deleted file mode 100644 index 8809908bf5a..00000000000 --- a/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +++ /dev/null @@ -1,62 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/security.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/annotations/v3/security.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField xds_annotations_v3_FieldSecurityAnnotation__fields[2] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_annotations_v3_FieldSecurityAnnotation_msg_init = { - NULL, - &xds_annotations_v3_FieldSecurityAnnotation__fields[0], - 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - {0x000100003f000010, &upb_psb1_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &xds_annotations_v3_FieldSecurityAnnotation_msg_init, -}; - -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -extern const upb_MiniTable xds_annotations_v3_FieldSecurityAnnotation_msg_init; -const upb_MiniTableExtension xds_annotations_v3_security_ext = { - {99044135, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_FieldOptions_msg_init, - {.submsg = &xds_annotations_v3_FieldSecurityAnnotation_msg_init}, - -}; - -static const upb_MiniTableExtension *extensions_layout[1] = { - &xds_annotations_v3_security_ext, -}; - -const upb_MiniTableFile xds_annotations_v3_security_proto_upb_file_layout = { - messages_layout, - NULL, - extensions_layout, - 1, - 0, - 1, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h b/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h deleted file mode 100644 index 888948c8591..00000000000 --- a/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +++ /dev/null @@ -1,125 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/security.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPB_H_ -#define XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_annotations_v3_FieldSecurityAnnotation xds_annotations_v3_FieldSecurityAnnotation; -extern const upb_MiniTable xds_annotations_v3_FieldSecurityAnnotation_msg_init; -extern const upb_MiniTableExtension xds_annotations_v3_security_ext; -struct google_protobuf_FieldOptions; -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; - - - -/* xds.annotations.v3.FieldSecurityAnnotation */ - -UPB_INLINE xds_annotations_v3_FieldSecurityAnnotation* xds_annotations_v3_FieldSecurityAnnotation_new(upb_Arena* arena) { - return (xds_annotations_v3_FieldSecurityAnnotation*)_upb_Message_New(&xds_annotations_v3_FieldSecurityAnnotation_msg_init, arena); -} -UPB_INLINE xds_annotations_v3_FieldSecurityAnnotation* xds_annotations_v3_FieldSecurityAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_annotations_v3_FieldSecurityAnnotation* ret = xds_annotations_v3_FieldSecurityAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_FieldSecurityAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_annotations_v3_FieldSecurityAnnotation* xds_annotations_v3_FieldSecurityAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_annotations_v3_FieldSecurityAnnotation* ret = xds_annotations_v3_FieldSecurityAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_FieldSecurityAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_annotations_v3_FieldSecurityAnnotation_serialize(const xds_annotations_v3_FieldSecurityAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_FieldSecurityAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_annotations_v3_FieldSecurityAnnotation_serialize_ex(const xds_annotations_v3_FieldSecurityAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_FieldSecurityAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_annotations_v3_FieldSecurityAnnotation_clear_configure_for_untrusted_downstream(xds_annotations_v3_FieldSecurityAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool xds_annotations_v3_FieldSecurityAnnotation_configure_for_untrusted_downstream(const xds_annotations_v3_FieldSecurityAnnotation* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_FieldSecurityAnnotation_clear_configure_for_untrusted_upstream(xds_annotations_v3_FieldSecurityAnnotation* msg) { - const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool xds_annotations_v3_FieldSecurityAnnotation_configure_for_untrusted_upstream(const xds_annotations_v3_FieldSecurityAnnotation* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void xds_annotations_v3_FieldSecurityAnnotation_set_configure_for_untrusted_downstream(xds_annotations_v3_FieldSecurityAnnotation *msg, bool value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void xds_annotations_v3_FieldSecurityAnnotation_set_configure_for_untrusted_upstream(xds_annotations_v3_FieldSecurityAnnotation *msg, bool value) { - const upb_MiniTableField field = {2, 1, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -UPB_INLINE bool xds_annotations_v3_has_security(const struct google_protobuf_FieldOptions* msg) { - return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_security_ext); -} -UPB_INLINE void xds_annotations_v3_clear_security(struct google_protobuf_FieldOptions* msg) { - _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_security_ext); -} -UPB_INLINE const xds_annotations_v3_FieldSecurityAnnotation* xds_annotations_v3_security(const struct google_protobuf_FieldOptions* msg) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_security_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const xds_annotations_v3_FieldSecurityAnnotation* default_val = NULL; - const xds_annotations_v3_FieldSecurityAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_set_security(struct google_protobuf_FieldOptions* msg, const xds_annotations_v3_FieldSecurityAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_security_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -extern const upb_MiniTableFile xds_annotations_v3_security_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c b/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c deleted file mode 100644 index da27e92d75a..00000000000 --- a/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +++ /dev/null @@ -1,39 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/sensitive.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/annotations/v3/sensitive.upb.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -const upb_MiniTableExtension xds_annotations_v3_sensitive_ext = { - {61008053, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_FieldOptions_msg_init, - {.submsg = NULL}, - -}; - -static const upb_MiniTableExtension *extensions_layout[1] = { - &xds_annotations_v3_sensitive_ext, -}; - -const upb_MiniTableFile xds_annotations_v3_sensitive_proto_upb_file_layout = { - NULL, - NULL, - extensions_layout, - 0, - 0, - 1, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h b/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h deleted file mode 100644 index f3f0e31e26d..00000000000 --- a/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +++ /dev/null @@ -1,55 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/sensitive.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_H_ -#define XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -extern const upb_MiniTableExtension xds_annotations_v3_sensitive_ext; -struct google_protobuf_FieldOptions; -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; - - -UPB_INLINE bool xds_annotations_v3_has_sensitive(const struct google_protobuf_FieldOptions* msg) { - return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_sensitive_ext); -} -UPB_INLINE void xds_annotations_v3_clear_sensitive(struct google_protobuf_FieldOptions* msg) { - _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_sensitive_ext); -} -UPB_INLINE bool xds_annotations_v3_sensitive(const struct google_protobuf_FieldOptions* msg) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_sensitive_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_1Byte); - bool default_val = false; - bool ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_set_sensitive(struct google_protobuf_FieldOptions* msg, bool val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_sensitive_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_1Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -extern const upb_MiniTableFile xds_annotations_v3_sensitive_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c b/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c deleted file mode 100644 index 7499e5d85ad..00000000000 --- a/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +++ /dev/null @@ -1,124 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/status.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/annotations/v3/status.upb.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField xds_annotations_v3_FileStatusAnnotation__fields[1] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_annotations_v3_FileStatusAnnotation_msg_init = { - NULL, - &xds_annotations_v3_FileStatusAnnotation__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTableField xds_annotations_v3_MessageStatusAnnotation__fields[1] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_annotations_v3_MessageStatusAnnotation_msg_init = { - NULL, - &xds_annotations_v3_MessageStatusAnnotation__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTableField xds_annotations_v3_FieldStatusAnnotation__fields[1] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_annotations_v3_FieldStatusAnnotation_msg_init = { - NULL, - &xds_annotations_v3_FieldStatusAnnotation__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTableField xds_annotations_v3_StatusAnnotation__fields[2] = { - {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_annotations_v3_StatusAnnotation_msg_init = { - NULL, - &xds_annotations_v3_StatusAnnotation__fields[0], - 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psb1_1bt}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[4] = { - &xds_annotations_v3_FileStatusAnnotation_msg_init, - &xds_annotations_v3_MessageStatusAnnotation_msg_init, - &xds_annotations_v3_FieldStatusAnnotation_msg_init, - &xds_annotations_v3_StatusAnnotation_msg_init, -}; - -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -extern const upb_MiniTable google_protobuf_FileOptions_msg_init; -extern const upb_MiniTable google_protobuf_MessageOptions_msg_init; -extern const upb_MiniTable xds_annotations_v3_FieldStatusAnnotation_msg_init; -extern const upb_MiniTable xds_annotations_v3_FileStatusAnnotation_msg_init; -extern const upb_MiniTable xds_annotations_v3_MessageStatusAnnotation_msg_init; -const upb_MiniTableExtension xds_annotations_v3_file_status_ext = { - {226829418, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_FileOptions_msg_init, - {.submsg = &xds_annotations_v3_FileStatusAnnotation_msg_init}, - -}; -const upb_MiniTableExtension xds_annotations_v3_message_status_ext = { - {226829418, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_MessageOptions_msg_init, - {.submsg = &xds_annotations_v3_MessageStatusAnnotation_msg_init}, - -}; -const upb_MiniTableExtension xds_annotations_v3_field_status_ext = { - {226829418, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_FieldOptions_msg_init, - {.submsg = &xds_annotations_v3_FieldStatusAnnotation_msg_init}, - -}; - -static const upb_MiniTableExtension *extensions_layout[3] = { - &xds_annotations_v3_file_status_ext, - &xds_annotations_v3_message_status_ext, - &xds_annotations_v3_field_status_ext, -}; - -const upb_MiniTableFile xds_annotations_v3_status_proto_upb_file_layout = { - messages_layout, - NULL, - extensions_layout, - 4, - 0, - 3, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h b/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h deleted file mode 100644 index 995e2d7b120..00000000000 --- a/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +++ /dev/null @@ -1,344 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/status.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_ANNOTATIONS_V3_STATUS_PROTO_UPB_H_ -#define XDS_ANNOTATIONS_V3_STATUS_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_annotations_v3_FileStatusAnnotation xds_annotations_v3_FileStatusAnnotation; -typedef struct xds_annotations_v3_MessageStatusAnnotation xds_annotations_v3_MessageStatusAnnotation; -typedef struct xds_annotations_v3_FieldStatusAnnotation xds_annotations_v3_FieldStatusAnnotation; -typedef struct xds_annotations_v3_StatusAnnotation xds_annotations_v3_StatusAnnotation; -extern const upb_MiniTable xds_annotations_v3_FileStatusAnnotation_msg_init; -extern const upb_MiniTable xds_annotations_v3_MessageStatusAnnotation_msg_init; -extern const upb_MiniTable xds_annotations_v3_FieldStatusAnnotation_msg_init; -extern const upb_MiniTable xds_annotations_v3_StatusAnnotation_msg_init; -extern const upb_MiniTableExtension xds_annotations_v3_file_status_ext; -extern const upb_MiniTableExtension xds_annotations_v3_message_status_ext; -extern const upb_MiniTableExtension xds_annotations_v3_field_status_ext; -struct google_protobuf_FieldOptions; -struct google_protobuf_FileOptions; -struct google_protobuf_MessageOptions; -extern const upb_MiniTable google_protobuf_FieldOptions_msg_init; -extern const upb_MiniTable google_protobuf_FileOptions_msg_init; -extern const upb_MiniTable google_protobuf_MessageOptions_msg_init; - -typedef enum { - xds_annotations_v3_UNKNOWN = 0, - xds_annotations_v3_FROZEN = 1, - xds_annotations_v3_ACTIVE = 2, - xds_annotations_v3_NEXT_MAJOR_VERSION_CANDIDATE = 3 -} xds_annotations_v3_PackageVersionStatus; - - - -/* xds.annotations.v3.FileStatusAnnotation */ - -UPB_INLINE xds_annotations_v3_FileStatusAnnotation* xds_annotations_v3_FileStatusAnnotation_new(upb_Arena* arena) { - return (xds_annotations_v3_FileStatusAnnotation*)_upb_Message_New(&xds_annotations_v3_FileStatusAnnotation_msg_init, arena); -} -UPB_INLINE xds_annotations_v3_FileStatusAnnotation* xds_annotations_v3_FileStatusAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_annotations_v3_FileStatusAnnotation* ret = xds_annotations_v3_FileStatusAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_FileStatusAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_annotations_v3_FileStatusAnnotation* xds_annotations_v3_FileStatusAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_annotations_v3_FileStatusAnnotation* ret = xds_annotations_v3_FileStatusAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_FileStatusAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_annotations_v3_FileStatusAnnotation_serialize(const xds_annotations_v3_FileStatusAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_FileStatusAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_annotations_v3_FileStatusAnnotation_serialize_ex(const xds_annotations_v3_FileStatusAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_FileStatusAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_annotations_v3_FileStatusAnnotation_clear_work_in_progress(xds_annotations_v3_FileStatusAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool xds_annotations_v3_FileStatusAnnotation_work_in_progress(const xds_annotations_v3_FileStatusAnnotation* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void xds_annotations_v3_FileStatusAnnotation_set_work_in_progress(xds_annotations_v3_FileStatusAnnotation *msg, bool value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* xds.annotations.v3.MessageStatusAnnotation */ - -UPB_INLINE xds_annotations_v3_MessageStatusAnnotation* xds_annotations_v3_MessageStatusAnnotation_new(upb_Arena* arena) { - return (xds_annotations_v3_MessageStatusAnnotation*)_upb_Message_New(&xds_annotations_v3_MessageStatusAnnotation_msg_init, arena); -} -UPB_INLINE xds_annotations_v3_MessageStatusAnnotation* xds_annotations_v3_MessageStatusAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_annotations_v3_MessageStatusAnnotation* ret = xds_annotations_v3_MessageStatusAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_MessageStatusAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_annotations_v3_MessageStatusAnnotation* xds_annotations_v3_MessageStatusAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_annotations_v3_MessageStatusAnnotation* ret = xds_annotations_v3_MessageStatusAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_MessageStatusAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_annotations_v3_MessageStatusAnnotation_serialize(const xds_annotations_v3_MessageStatusAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_MessageStatusAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_annotations_v3_MessageStatusAnnotation_serialize_ex(const xds_annotations_v3_MessageStatusAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_MessageStatusAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_annotations_v3_MessageStatusAnnotation_clear_work_in_progress(xds_annotations_v3_MessageStatusAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool xds_annotations_v3_MessageStatusAnnotation_work_in_progress(const xds_annotations_v3_MessageStatusAnnotation* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void xds_annotations_v3_MessageStatusAnnotation_set_work_in_progress(xds_annotations_v3_MessageStatusAnnotation *msg, bool value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* xds.annotations.v3.FieldStatusAnnotation */ - -UPB_INLINE xds_annotations_v3_FieldStatusAnnotation* xds_annotations_v3_FieldStatusAnnotation_new(upb_Arena* arena) { - return (xds_annotations_v3_FieldStatusAnnotation*)_upb_Message_New(&xds_annotations_v3_FieldStatusAnnotation_msg_init, arena); -} -UPB_INLINE xds_annotations_v3_FieldStatusAnnotation* xds_annotations_v3_FieldStatusAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_annotations_v3_FieldStatusAnnotation* ret = xds_annotations_v3_FieldStatusAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_FieldStatusAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_annotations_v3_FieldStatusAnnotation* xds_annotations_v3_FieldStatusAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_annotations_v3_FieldStatusAnnotation* ret = xds_annotations_v3_FieldStatusAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_FieldStatusAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_annotations_v3_FieldStatusAnnotation_serialize(const xds_annotations_v3_FieldStatusAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_FieldStatusAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_annotations_v3_FieldStatusAnnotation_serialize_ex(const xds_annotations_v3_FieldStatusAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_FieldStatusAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_annotations_v3_FieldStatusAnnotation_clear_work_in_progress(xds_annotations_v3_FieldStatusAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool xds_annotations_v3_FieldStatusAnnotation_work_in_progress(const xds_annotations_v3_FieldStatusAnnotation* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void xds_annotations_v3_FieldStatusAnnotation_set_work_in_progress(xds_annotations_v3_FieldStatusAnnotation *msg, bool value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* xds.annotations.v3.StatusAnnotation */ - -UPB_INLINE xds_annotations_v3_StatusAnnotation* xds_annotations_v3_StatusAnnotation_new(upb_Arena* arena) { - return (xds_annotations_v3_StatusAnnotation*)_upb_Message_New(&xds_annotations_v3_StatusAnnotation_msg_init, arena); -} -UPB_INLINE xds_annotations_v3_StatusAnnotation* xds_annotations_v3_StatusAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_annotations_v3_StatusAnnotation* ret = xds_annotations_v3_StatusAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_StatusAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_annotations_v3_StatusAnnotation* xds_annotations_v3_StatusAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_annotations_v3_StatusAnnotation* ret = xds_annotations_v3_StatusAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_StatusAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_annotations_v3_StatusAnnotation_serialize(const xds_annotations_v3_StatusAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_StatusAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_annotations_v3_StatusAnnotation_serialize_ex(const xds_annotations_v3_StatusAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_StatusAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_annotations_v3_StatusAnnotation_clear_work_in_progress(xds_annotations_v3_StatusAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool xds_annotations_v3_StatusAnnotation_work_in_progress(const xds_annotations_v3_StatusAnnotation* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_StatusAnnotation_clear_package_version_status(xds_annotations_v3_StatusAnnotation* msg) { - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t xds_annotations_v3_StatusAnnotation_package_version_status(const xds_annotations_v3_StatusAnnotation* msg) { - int32_t default_val = 0; - int32_t ret; - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void xds_annotations_v3_StatusAnnotation_set_work_in_progress(xds_annotations_v3_StatusAnnotation *msg, bool value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void xds_annotations_v3_StatusAnnotation_set_package_version_status(xds_annotations_v3_StatusAnnotation *msg, int32_t value) { - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -UPB_INLINE bool xds_annotations_v3_has_file_status(const struct google_protobuf_FileOptions* msg) { - return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_file_status_ext); -} -UPB_INLINE void xds_annotations_v3_clear_file_status(struct google_protobuf_FileOptions* msg) { - _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_file_status_ext); -} -UPB_INLINE const xds_annotations_v3_FileStatusAnnotation* xds_annotations_v3_file_status(const struct google_protobuf_FileOptions* msg) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_file_status_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const xds_annotations_v3_FileStatusAnnotation* default_val = NULL; - const xds_annotations_v3_FileStatusAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_set_file_status(struct google_protobuf_FileOptions* msg, const xds_annotations_v3_FileStatusAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_file_status_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -UPB_INLINE bool xds_annotations_v3_has_message_status(const struct google_protobuf_MessageOptions* msg) { - return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_message_status_ext); -} -UPB_INLINE void xds_annotations_v3_clear_message_status(struct google_protobuf_MessageOptions* msg) { - _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_message_status_ext); -} -UPB_INLINE const xds_annotations_v3_MessageStatusAnnotation* xds_annotations_v3_message_status(const struct google_protobuf_MessageOptions* msg) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_message_status_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const xds_annotations_v3_MessageStatusAnnotation* default_val = NULL; - const xds_annotations_v3_MessageStatusAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_set_message_status(struct google_protobuf_MessageOptions* msg, const xds_annotations_v3_MessageStatusAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_message_status_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -UPB_INLINE bool xds_annotations_v3_has_field_status(const struct google_protobuf_FieldOptions* msg) { - return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_field_status_ext); -} -UPB_INLINE void xds_annotations_v3_clear_field_status(struct google_protobuf_FieldOptions* msg) { - _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_field_status_ext); -} -UPB_INLINE const xds_annotations_v3_FieldStatusAnnotation* xds_annotations_v3_field_status(const struct google_protobuf_FieldOptions* msg) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_field_status_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const xds_annotations_v3_FieldStatusAnnotation* default_val = NULL; - const xds_annotations_v3_FieldStatusAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_set_field_status(struct google_protobuf_FieldOptions* msg, const xds_annotations_v3_FieldStatusAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_field_status_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -extern const upb_MiniTableFile xds_annotations_v3_status_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_ANNOTATIONS_V3_STATUS_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c b/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c deleted file mode 100644 index 6611200f87c..00000000000 --- a/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +++ /dev/null @@ -1,58 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/versioning.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/annotations/v3/versioning.upb.h" -#include "google/protobuf/descriptor.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField xds_annotations_v3_VersioningAnnotation__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_annotations_v3_VersioningAnnotation_msg_init = { - NULL, - &xds_annotations_v3_VersioningAnnotation__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &xds_annotations_v3_VersioningAnnotation_msg_init, -}; - -extern const upb_MiniTable google_protobuf_MessageOptions_msg_init; -extern const upb_MiniTable xds_annotations_v3_VersioningAnnotation_msg_init; -const upb_MiniTableExtension xds_annotations_v3_versioning_ext = { - {92389011, 0, 0, 0, 11, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsExtension | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - &google_protobuf_MessageOptions_msg_init, - {.submsg = &xds_annotations_v3_VersioningAnnotation_msg_init}, - -}; - -static const upb_MiniTableExtension *extensions_layout[1] = { - &xds_annotations_v3_versioning_ext, -}; - -const upb_MiniTableFile xds_annotations_v3_versioning_proto_upb_file_layout = { - messages_layout, - NULL, - extensions_layout, - 1, - 0, - 1, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h b/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h deleted file mode 100644 index eacdd972566..00000000000 --- a/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +++ /dev/null @@ -1,110 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/versioning.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPB_H_ -#define XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_annotations_v3_VersioningAnnotation xds_annotations_v3_VersioningAnnotation; -extern const upb_MiniTable xds_annotations_v3_VersioningAnnotation_msg_init; -extern const upb_MiniTableExtension xds_annotations_v3_versioning_ext; -struct google_protobuf_MessageOptions; -extern const upb_MiniTable google_protobuf_MessageOptions_msg_init; - - - -/* xds.annotations.v3.VersioningAnnotation */ - -UPB_INLINE xds_annotations_v3_VersioningAnnotation* xds_annotations_v3_VersioningAnnotation_new(upb_Arena* arena) { - return (xds_annotations_v3_VersioningAnnotation*)_upb_Message_New(&xds_annotations_v3_VersioningAnnotation_msg_init, arena); -} -UPB_INLINE xds_annotations_v3_VersioningAnnotation* xds_annotations_v3_VersioningAnnotation_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_annotations_v3_VersioningAnnotation* ret = xds_annotations_v3_VersioningAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_VersioningAnnotation_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_annotations_v3_VersioningAnnotation* xds_annotations_v3_VersioningAnnotation_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_annotations_v3_VersioningAnnotation* ret = xds_annotations_v3_VersioningAnnotation_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_annotations_v3_VersioningAnnotation_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_annotations_v3_VersioningAnnotation_serialize(const xds_annotations_v3_VersioningAnnotation* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_VersioningAnnotation_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_annotations_v3_VersioningAnnotation_serialize_ex(const xds_annotations_v3_VersioningAnnotation* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_annotations_v3_VersioningAnnotation_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_annotations_v3_VersioningAnnotation_clear_previous_message_type(xds_annotations_v3_VersioningAnnotation* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView xds_annotations_v3_VersioningAnnotation_previous_message_type(const xds_annotations_v3_VersioningAnnotation* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void xds_annotations_v3_VersioningAnnotation_set_previous_message_type(xds_annotations_v3_VersioningAnnotation *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -UPB_INLINE bool xds_annotations_v3_has_versioning(const struct google_protobuf_MessageOptions* msg) { - return _upb_Message_HasExtensionField(msg, &xds_annotations_v3_versioning_ext); -} -UPB_INLINE void xds_annotations_v3_clear_versioning(struct google_protobuf_MessageOptions* msg) { - _upb_Message_ClearExtensionField(msg, &xds_annotations_v3_versioning_ext); -} -UPB_INLINE const xds_annotations_v3_VersioningAnnotation* xds_annotations_v3_versioning(const struct google_protobuf_MessageOptions* msg) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_versioning_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - const xds_annotations_v3_VersioningAnnotation* default_val = NULL; - const xds_annotations_v3_VersioningAnnotation* ret; - _upb_Message_GetExtensionField(msg, ext, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_annotations_v3_set_versioning(struct google_protobuf_MessageOptions* msg, const xds_annotations_v3_VersioningAnnotation* val, upb_Arena* arena) { - const upb_MiniTableExtension* ext = &xds_annotations_v3_versioning_ext; - UPB_ASSUME(!upb_IsRepeatedOrMap(&ext->field)); - UPB_ASSUME(_upb_MiniTableField_GetRep(&ext->field) == kUpb_FieldRep_8Byte); - bool ok = _upb_Message_SetExtensionField(msg, ext, &val, arena); - UPB_ASSERT(ok); -} -extern const upb_MiniTableFile xds_annotations_v3_versioning_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/core/v3/authority.upb.c b/src/core/ext/upb-generated/xds/core/v3/authority.upb.c deleted file mode 100644 index 2826940c56a..00000000000 --- a/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +++ /dev/null @@ -1,46 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/authority.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/core/v3/authority.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField xds_core_v3_Authority__fields[1] = { - {1, 0, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_core_v3_Authority_msg_init = { - NULL, - &xds_core_v3_Authority__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_pss_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &xds_core_v3_Authority_msg_init, -}; - -const upb_MiniTableFile xds_core_v3_authority_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c b/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c deleted file mode 100644 index efb8ebf3e0b..00000000000 --- a/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +++ /dev/null @@ -1,54 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/cidr.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/core/v3/cidr.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_core_v3_CidrRange_submsgs[1] = { - {.submsg = &google_protobuf_UInt32Value_msg_init}, -}; - -static const upb_MiniTableField xds_core_v3_CidrRange__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_core_v3_CidrRange_msg_init = { - &xds_core_v3_CidrRange_submsgs[0], - &xds_core_v3_CidrRange__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &xds_core_v3_CidrRange_msg_init, -}; - -const upb_MiniTableFile xds_core_v3_cidr_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c b/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c deleted file mode 100644 index 7d3e965ce22..00000000000 --- a/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +++ /dev/null @@ -1,79 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/collection_entry.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/core/v3/collection_entry.upb.h" -#include "google/protobuf/any.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "xds/core/v3/resource_locator.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_core_v3_CollectionEntry_submsgs[2] = { - {.submsg = &xds_core_v3_ResourceLocator_msg_init}, - {.submsg = &xds_core_v3_CollectionEntry_InlineEntry_msg_init}, -}; - -static const upb_MiniTableField xds_core_v3_CollectionEntry__fields[2] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_core_v3_CollectionEntry_msg_init = { - &xds_core_v3_CollectionEntry_submsgs[0], - &xds_core_v3_CollectionEntry__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_maxmaxb}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub xds_core_v3_CollectionEntry_InlineEntry_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField xds_core_v3_CollectionEntry_InlineEntry__fields[3] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 40), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_core_v3_CollectionEntry_InlineEntry_msg_init = { - &xds_core_v3_CollectionEntry_InlineEntry_submsgs[0], - &xds_core_v3_CollectionEntry_InlineEntry__fields[0], - UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x002800000100001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &xds_core_v3_CollectionEntry_msg_init, - &xds_core_v3_CollectionEntry_InlineEntry_msg_init, -}; - -const upb_MiniTableFile xds_core_v3_collection_entry_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c b/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c deleted file mode 100644 index 350882584d8..00000000000 --- a/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +++ /dev/null @@ -1,63 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/context_params.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/core/v3/context_params.upb.h" -#include "xds/annotations/v3/status.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_core_v3_ContextParams_submsgs[1] = { - {.submsg = &xds_core_v3_ContextParams_ParamsEntry_msg_init}, -}; - -static const upb_MiniTableField xds_core_v3_ContextParams__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_core_v3_ContextParams_msg_init = { - &xds_core_v3_ContextParams_submsgs[0], - &xds_core_v3_ContextParams__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableField xds_core_v3_ContextParams_ParamsEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_core_v3_ContextParams_ParamsEntry_msg_init = { - NULL, - &xds_core_v3_ContextParams_ParamsEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &xds_core_v3_ContextParams_msg_init, - &xds_core_v3_ContextParams_ParamsEntry_msg_init, -}; - -const upb_MiniTableFile xds_core_v3_context_params_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/core/v3/extension.upb.c b/src/core/ext/upb-generated/xds/core/v3/extension.upb.c deleted file mode 100644 index e646513c441..00000000000 --- a/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +++ /dev/null @@ -1,53 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/extension.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/core/v3/extension.upb.h" -#include "validate/validate.upb.h" -#include "google/protobuf/any.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_core_v3_TypedExtensionConfig_submsgs[1] = { - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField xds_core_v3_TypedExtensionConfig__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_core_v3_TypedExtensionConfig_msg_init = { - &xds_core_v3_TypedExtensionConfig_submsgs[0], - &xds_core_v3_TypedExtensionConfig__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &xds_core_v3_TypedExtensionConfig_msg_init, -}; - -const upb_MiniTableFile xds_core_v3_extension_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/core/v3/extension.upb.h b/src/core/ext/upb-generated/xds/core/v3/extension.upb.h deleted file mode 100644 index f6e805f5d76..00000000000 --- a/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +++ /dev/null @@ -1,114 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/extension.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_CORE_V3_EXTENSION_PROTO_UPB_H_ -#define XDS_CORE_V3_EXTENSION_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_core_v3_TypedExtensionConfig xds_core_v3_TypedExtensionConfig; -extern const upb_MiniTable xds_core_v3_TypedExtensionConfig_msg_init; -struct google_protobuf_Any; -extern const upb_MiniTable google_protobuf_Any_msg_init; - - - -/* xds.core.v3.TypedExtensionConfig */ - -UPB_INLINE xds_core_v3_TypedExtensionConfig* xds_core_v3_TypedExtensionConfig_new(upb_Arena* arena) { - return (xds_core_v3_TypedExtensionConfig*)_upb_Message_New(&xds_core_v3_TypedExtensionConfig_msg_init, arena); -} -UPB_INLINE xds_core_v3_TypedExtensionConfig* xds_core_v3_TypedExtensionConfig_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_core_v3_TypedExtensionConfig* ret = xds_core_v3_TypedExtensionConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_TypedExtensionConfig_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_core_v3_TypedExtensionConfig* xds_core_v3_TypedExtensionConfig_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_core_v3_TypedExtensionConfig* ret = xds_core_v3_TypedExtensionConfig_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_TypedExtensionConfig_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_core_v3_TypedExtensionConfig_serialize(const xds_core_v3_TypedExtensionConfig* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_core_v3_TypedExtensionConfig_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_core_v3_TypedExtensionConfig_serialize_ex(const xds_core_v3_TypedExtensionConfig* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_core_v3_TypedExtensionConfig_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_core_v3_TypedExtensionConfig_clear_name(xds_core_v3_TypedExtensionConfig* msg) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView xds_core_v3_TypedExtensionConfig_name(const xds_core_v3_TypedExtensionConfig* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_core_v3_TypedExtensionConfig_clear_typed_config(xds_core_v3_TypedExtensionConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Any* xds_core_v3_TypedExtensionConfig_typed_config(const xds_core_v3_TypedExtensionConfig* msg) { - const struct google_protobuf_Any* default_val = NULL; - const struct google_protobuf_Any* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_core_v3_TypedExtensionConfig_has_typed_config(const xds_core_v3_TypedExtensionConfig* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void xds_core_v3_TypedExtensionConfig_set_name(xds_core_v3_TypedExtensionConfig *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void xds_core_v3_TypedExtensionConfig_set_typed_config(xds_core_v3_TypedExtensionConfig *msg, struct google_protobuf_Any* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Any* xds_core_v3_TypedExtensionConfig_mutable_typed_config(xds_core_v3_TypedExtensionConfig* msg, upb_Arena* arena) { - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)xds_core_v3_TypedExtensionConfig_typed_config(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); - if (sub) xds_core_v3_TypedExtensionConfig_set_typed_config(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile xds_core_v3_extension_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_CORE_V3_EXTENSION_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/core/v3/resource.upb.c b/src/core/ext/upb-generated/xds/core/v3/resource.upb.c deleted file mode 100644 index 55b1c52f7be..00000000000 --- a/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +++ /dev/null @@ -1,56 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/resource.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/core/v3/resource.upb.h" -#include "google/protobuf/any.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "xds/core/v3/resource_name.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_core_v3_Resource_submsgs[2] = { - {.submsg = &xds_core_v3_ResourceName_msg_init}, - {.submsg = &google_protobuf_Any_msg_init}, -}; - -static const upb_MiniTableField xds_core_v3_Resource__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_core_v3_Resource_msg_init = { - &xds_core_v3_Resource_submsgs[0], - &xds_core_v3_Resource__fields[0], - UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_pss_1bt}, - {0x002000000201001a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &xds_core_v3_Resource_msg_init, -}; - -const upb_MiniTableFile xds_core_v3_resource_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/core/v3/resource.upb.h b/src/core/ext/upb-generated/xds/core/v3/resource.upb.h deleted file mode 100644 index 0a9d107a922..00000000000 --- a/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/resource.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_CORE_V3_RESOURCE_PROTO_UPB_H_ -#define XDS_CORE_V3_RESOURCE_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_core_v3_Resource xds_core_v3_Resource; -extern const upb_MiniTable xds_core_v3_Resource_msg_init; -struct google_protobuf_Any; -struct xds_core_v3_ResourceName; -extern const upb_MiniTable google_protobuf_Any_msg_init; -extern const upb_MiniTable xds_core_v3_ResourceName_msg_init; - - - -/* xds.core.v3.Resource */ - -UPB_INLINE xds_core_v3_Resource* xds_core_v3_Resource_new(upb_Arena* arena) { - return (xds_core_v3_Resource*)_upb_Message_New(&xds_core_v3_Resource_msg_init, arena); -} -UPB_INLINE xds_core_v3_Resource* xds_core_v3_Resource_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_core_v3_Resource* ret = xds_core_v3_Resource_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_Resource_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_core_v3_Resource* xds_core_v3_Resource_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_core_v3_Resource* ret = xds_core_v3_Resource_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_core_v3_Resource_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_core_v3_Resource_serialize(const xds_core_v3_Resource* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_core_v3_Resource_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_core_v3_Resource_serialize_ex(const xds_core_v3_Resource* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_core_v3_Resource_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_core_v3_Resource_clear_name(xds_core_v3_Resource* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_core_v3_ResourceName* xds_core_v3_Resource_name(const xds_core_v3_Resource* msg) { - const struct xds_core_v3_ResourceName* default_val = NULL; - const struct xds_core_v3_ResourceName* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_core_v3_Resource_has_name(const xds_core_v3_Resource* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_core_v3_Resource_clear_version(xds_core_v3_Resource* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView xds_core_v3_Resource_version(const xds_core_v3_Resource* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_core_v3_Resource_clear_resource(xds_core_v3_Resource* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_Any* xds_core_v3_Resource_resource(const xds_core_v3_Resource* msg) { - const struct google_protobuf_Any* default_val = NULL; - const struct google_protobuf_Any* ret; - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_core_v3_Resource_has_resource(const xds_core_v3_Resource* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void xds_core_v3_Resource_set_name(xds_core_v3_Resource *msg, struct xds_core_v3_ResourceName* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_core_v3_ResourceName* xds_core_v3_Resource_mutable_name(xds_core_v3_Resource* msg, upb_Arena* arena) { - struct xds_core_v3_ResourceName* sub = (struct xds_core_v3_ResourceName*)xds_core_v3_Resource_name(msg); - if (sub == NULL) { - sub = (struct xds_core_v3_ResourceName*)_upb_Message_New(&xds_core_v3_ResourceName_msg_init, arena); - if (sub) xds_core_v3_Resource_set_name(msg, sub); - } - return sub; -} -UPB_INLINE void xds_core_v3_Resource_set_version(xds_core_v3_Resource *msg, upb_StringView value) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void xds_core_v3_Resource_set_resource(xds_core_v3_Resource *msg, struct google_protobuf_Any* value) { - const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_Any* xds_core_v3_Resource_mutable_resource(xds_core_v3_Resource* msg, upb_Arena* arena) { - struct google_protobuf_Any* sub = (struct google_protobuf_Any*)xds_core_v3_Resource_resource(msg); - if (sub == NULL) { - sub = (struct google_protobuf_Any*)_upb_Message_New(&google_protobuf_Any_msg_init, arena); - if (sub) xds_core_v3_Resource_set_resource(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile xds_core_v3_resource_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_CORE_V3_RESOURCE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c b/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c deleted file mode 100644 index dafeae2e37a..00000000000 --- a/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +++ /dev/null @@ -1,85 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/resource_locator.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/core/v3/resource_locator.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "xds/core/v3/context_params.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_core_v3_ResourceLocator_submsgs[2] = { - {.submsg = &xds_core_v3_ContextParams_msg_init}, - {.submsg = &xds_core_v3_ResourceLocator_Directive_msg_init}, -}; - -static const upb_MiniTableField xds_core_v3_ResourceLocator__fields[6] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(12, 64), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, UPB_SIZE(8, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_core_v3_ResourceLocator_msg_init = { - &xds_core_v3_ResourceLocator_submsgs[0], - &xds_core_v3_ResourceLocator__fields[0], - UPB_SIZE(40, 72), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000800003f000012, &upb_pss_1bt}, - {0x001800003f00001a, &upb_pss_1bt}, - {0x002800003f000022, &upb_pss_1bt}, - {0x004000040500002a, &upb_pom_1bt_maxmaxb}, - {0x003800003f010032, &upb_prm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub xds_core_v3_ResourceLocator_Directive_submsgs[1] = { - {.submsg = &xds_core_v3_ResourceLocator_msg_init}, -}; - -static const upb_MiniTableField xds_core_v3_ResourceLocator_Directive__fields[2] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_core_v3_ResourceLocator_Directive_msg_init = { - &xds_core_v3_ResourceLocator_Directive_submsgs[0], - &xds_core_v3_ResourceLocator_Directive__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max128b}, - {0x0008000002000012, &upb_pos_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &xds_core_v3_ResourceLocator_msg_init, - &xds_core_v3_ResourceLocator_Directive_msg_init, -}; - -const upb_MiniTableFile xds_core_v3_resource_locator_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c b/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c deleted file mode 100644 index 70e32a9a900..00000000000 --- a/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +++ /dev/null @@ -1,60 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/resource_name.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/core/v3/resource_name.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "xds/core/v3/context_params.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_core_v3_ResourceName_submsgs[1] = { - {.submsg = &xds_core_v3_ContextParams_msg_init}, -}; - -static const upb_MiniTableField xds_core_v3_ResourceName__fields[4] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 56), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_core_v3_ResourceName_msg_init = { - &xds_core_v3_ResourceName_submsgs[0], - &xds_core_v3_ResourceName__fields[0], - UPB_SIZE(32, 64), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000012, &upb_pss_1bt}, - {0x002800003f00001a, &upb_pss_1bt}, - {0x0038000001000022, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &xds_core_v3_ResourceName_msg_init, -}; - -const upb_MiniTableFile xds_core_v3_resource_name_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c b/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c deleted file mode 100644 index 0cb42db5b1c..00000000000 --- a/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +++ /dev/null @@ -1,127 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/data/orca/v3/orca_load_report.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/data/orca/v3/orca_load_report.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_data_orca_v3_OrcaLoadReport_submsgs[3] = { - {.submsg = &xds_data_orca_v3_OrcaLoadReport_RequestCostEntry_msg_init}, - {.submsg = &xds_data_orca_v3_OrcaLoadReport_UtilizationEntry_msg_init}, - {.submsg = &xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry_msg_init}, -}; - -static const upb_MiniTableField xds_data_orca_v3_OrcaLoadReport__fields[9] = { - {1, UPB_SIZE(16, 0), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(24, 8), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(32, 16), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(0, 24), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {5, UPB_SIZE(4, 32), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, 40, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {7, 48, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {8, UPB_SIZE(8, 56), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {9, UPB_SIZE(56, 64), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_data_orca_v3_OrcaLoadReport_msg_init = { - &xds_data_orca_v3_OrcaLoadReport_submsgs[0], - &xds_data_orca_v3_OrcaLoadReport__fields[0], - UPB_SIZE(64, 72), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000009, &upb_psf8_1bt}, - {0x000800003f000011, &upb_psf8_1bt}, - {0x001000003f000018, &upb_psv8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x002800003f000031, &upb_psf8_1bt}, - {0x003000003f000039, &upb_psf8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x004000003f000049, &upb_psf8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField xds_data_orca_v3_OrcaLoadReport_RequestCostEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_data_orca_v3_OrcaLoadReport_RequestCostEntry_msg_init = { - NULL, - &xds_data_orca_v3_OrcaLoadReport_RequestCostEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000011, &upb_psf8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField xds_data_orca_v3_OrcaLoadReport_UtilizationEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_data_orca_v3_OrcaLoadReport_UtilizationEntry_msg_init = { - NULL, - &xds_data_orca_v3_OrcaLoadReport_UtilizationEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000011, &upb_psf8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry_msg_init = { - NULL, - &xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x001800003f000011, &upb_psf8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[4] = { - &xds_data_orca_v3_OrcaLoadReport_msg_init, - &xds_data_orca_v3_OrcaLoadReport_RequestCostEntry_msg_init, - &xds_data_orca_v3_OrcaLoadReport_UtilizationEntry_msg_init, - &xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry_msg_init, -}; - -const upb_MiniTableFile xds_data_orca_v3_orca_load_report_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 4, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c b/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c deleted file mode 100644 index 968c037df88..00000000000 --- a/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +++ /dev/null @@ -1,53 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/service/orca/v3/orca.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/service/orca/v3/orca.upb.h" -#include "xds/data/orca/v3/orca_load_report.upb.h" -#include "google/protobuf/duration.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_service_orca_v3_OrcaLoadReportRequest_submsgs[1] = { - {.submsg = &google_protobuf_Duration_msg_init}, -}; - -static const upb_MiniTableField xds_service_orca_v3_OrcaLoadReportRequest__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_service_orca_v3_OrcaLoadReportRequest_msg_init = { - &xds_service_orca_v3_OrcaLoadReportRequest_submsgs[0], - &xds_service_orca_v3_OrcaLoadReportRequest__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x001000003f000012, &upb_prs_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &xds_service_orca_v3_OrcaLoadReportRequest_msg_init, -}; - -const upb_MiniTableFile xds_service_orca_v3_orca_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c b/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c deleted file mode 100644 index 103b1a26686..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +++ /dev/null @@ -1,51 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/cel.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/type/matcher/v3/cel.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "xds/type/v3/cel.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_type_matcher_v3_CelMatcher_submsgs[1] = { - {.submsg = &xds_type_v3_CelExpression_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_CelMatcher__fields[1] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_CelMatcher_msg_init = { - &xds_type_matcher_v3_CelMatcher_submsgs[0], - &xds_type_matcher_v3_CelMatcher__fields[0], - UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &xds_type_matcher_v3_CelMatcher_msg_init, -}; - -const upb_MiniTableFile xds_type_matcher_v3_cel_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h b/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h deleted file mode 100644 index 3d3fcccb128..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +++ /dev/null @@ -1,99 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/cel.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_MATCHER_V3_CEL_PROTO_UPB_H_ -#define XDS_TYPE_MATCHER_V3_CEL_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_type_matcher_v3_CelMatcher xds_type_matcher_v3_CelMatcher; -extern const upb_MiniTable xds_type_matcher_v3_CelMatcher_msg_init; -struct xds_type_v3_CelExpression; -extern const upb_MiniTable xds_type_v3_CelExpression_msg_init; - - - -/* xds.type.matcher.v3.CelMatcher */ - -UPB_INLINE xds_type_matcher_v3_CelMatcher* xds_type_matcher_v3_CelMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_CelMatcher*)_upb_Message_New(&xds_type_matcher_v3_CelMatcher_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_CelMatcher* xds_type_matcher_v3_CelMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_CelMatcher* ret = xds_type_matcher_v3_CelMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_CelMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_CelMatcher* xds_type_matcher_v3_CelMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_CelMatcher* ret = xds_type_matcher_v3_CelMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_CelMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_CelMatcher_serialize(const xds_type_matcher_v3_CelMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_CelMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_CelMatcher_serialize_ex(const xds_type_matcher_v3_CelMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_CelMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_matcher_v3_CelMatcher_clear_expr_match(xds_type_matcher_v3_CelMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_type_v3_CelExpression* xds_type_matcher_v3_CelMatcher_expr_match(const xds_type_matcher_v3_CelMatcher* msg) { - const struct xds_type_v3_CelExpression* default_val = NULL; - const struct xds_type_v3_CelExpression* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_CelMatcher_has_expr_match(const xds_type_matcher_v3_CelMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void xds_type_matcher_v3_CelMatcher_set_expr_match(xds_type_matcher_v3_CelMatcher *msg, struct xds_type_v3_CelExpression* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_v3_CelExpression* xds_type_matcher_v3_CelMatcher_mutable_expr_match(xds_type_matcher_v3_CelMatcher* msg, upb_Arena* arena) { - struct xds_type_v3_CelExpression* sub = (struct xds_type_v3_CelExpression*)xds_type_matcher_v3_CelMatcher_expr_match(msg); - if (sub == NULL) { - sub = (struct xds_type_v3_CelExpression*)_upb_Message_New(&xds_type_v3_CelExpression_msg_init, arena); - if (sub) xds_type_matcher_v3_CelMatcher_set_expr_match(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile xds_type_matcher_v3_cel_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_MATCHER_V3_CEL_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c b/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c deleted file mode 100644 index 6f224e2b14f..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +++ /dev/null @@ -1,73 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/domain.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/type/matcher/v3/domain.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "xds/type/matcher/v3/matcher.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_type_matcher_v3_ServerNameMatcher_submsgs[1] = { - {.submsg = &xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_ServerNameMatcher__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_ServerNameMatcher_msg_init = { - &xds_type_matcher_v3_ServerNameMatcher_submsgs[0], - &xds_type_matcher_v3_ServerNameMatcher__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_submsgs[1] = { - {.submsg = &xds_type_matcher_v3_Matcher_OnMatch_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_ServerNameMatcher_DomainMatcher__fields[2] = { - {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_msg_init = { - &xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_submsgs[0], - &xds_type_matcher_v3_ServerNameMatcher_DomainMatcher__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prs_1bt}, - {0x0010000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &xds_type_matcher_v3_ServerNameMatcher_msg_init, - &xds_type_matcher_v3_ServerNameMatcher_DomainMatcher_msg_init, -}; - -const upb_MiniTableFile xds_type_matcher_v3_domain_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c b/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c deleted file mode 100644 index b55b8cf407a..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +++ /dev/null @@ -1,37 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/http_inputs.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/type/matcher/v3/http_inputs.upb.h" -#include "xds/annotations/v3/status.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -const upb_MiniTable xds_type_matcher_v3_HttpAttributesCelMatchInput_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTable *messages_layout[1] = { - &xds_type_matcher_v3_HttpAttributesCelMatchInput_msg_init, -}; - -const upb_MiniTableFile xds_type_matcher_v3_http_inputs_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h b/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h deleted file mode 100644 index 925f2d9cea0..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +++ /dev/null @@ -1,70 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/http_inputs.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_H_ -#define XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_type_matcher_v3_HttpAttributesCelMatchInput xds_type_matcher_v3_HttpAttributesCelMatchInput; -extern const upb_MiniTable xds_type_matcher_v3_HttpAttributesCelMatchInput_msg_init; - - - -/* xds.type.matcher.v3.HttpAttributesCelMatchInput */ - -UPB_INLINE xds_type_matcher_v3_HttpAttributesCelMatchInput* xds_type_matcher_v3_HttpAttributesCelMatchInput_new(upb_Arena* arena) { - return (xds_type_matcher_v3_HttpAttributesCelMatchInput*)_upb_Message_New(&xds_type_matcher_v3_HttpAttributesCelMatchInput_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_HttpAttributesCelMatchInput* xds_type_matcher_v3_HttpAttributesCelMatchInput_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_HttpAttributesCelMatchInput* ret = xds_type_matcher_v3_HttpAttributesCelMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_HttpAttributesCelMatchInput_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_HttpAttributesCelMatchInput* xds_type_matcher_v3_HttpAttributesCelMatchInput_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_HttpAttributesCelMatchInput* ret = xds_type_matcher_v3_HttpAttributesCelMatchInput_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_HttpAttributesCelMatchInput_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_HttpAttributesCelMatchInput_serialize(const xds_type_matcher_v3_HttpAttributesCelMatchInput* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_HttpAttributesCelMatchInput_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_HttpAttributesCelMatchInput_serialize_ex(const xds_type_matcher_v3_HttpAttributesCelMatchInput* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_HttpAttributesCelMatchInput_msg_init, options, arena, &ptr, len); - return ptr; -} - - -extern const upb_MiniTableFile xds_type_matcher_v3_http_inputs_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c b/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c deleted file mode 100644 index 2e096f949e3..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +++ /dev/null @@ -1,76 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/ip.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/type/matcher/v3/ip.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "xds/core/v3/cidr.upb.h" -#include "xds/type/matcher/v3/matcher.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_type_matcher_v3_IPMatcher_submsgs[1] = { - {.submsg = &xds_type_matcher_v3_IPMatcher_IPRangeMatcher_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_IPMatcher__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_IPMatcher_msg_init = { - &xds_type_matcher_v3_IPMatcher_submsgs[0], - &xds_type_matcher_v3_IPMatcher__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_IPMatcher_IPRangeMatcher_submsgs[2] = { - {.submsg = &xds_core_v3_CidrRange_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_OnMatch_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_IPMatcher_IPRangeMatcher__fields[3] = { - {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_IPMatcher_IPRangeMatcher_msg_init = { - &xds_type_matcher_v3_IPMatcher_IPRangeMatcher_submsgs[0], - &xds_type_matcher_v3_IPMatcher_IPRangeMatcher__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, - {0x0010000001010012, &upb_psm_1bt_maxmaxb}, - {0x000100003f000018, &upb_psb1_1bt}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &xds_type_matcher_v3_IPMatcher_msg_init, - &xds_type_matcher_v3_IPMatcher_IPRangeMatcher_msg_init, -}; - -const upb_MiniTableFile xds_type_matcher_v3_ip_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c b/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c deleted file mode 100644 index f4ffac4268a..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +++ /dev/null @@ -1,266 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/matcher.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/type/matcher/v3/matcher.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "xds/core/v3/extension.upb.h" -#include "xds/type/matcher/v3/string.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_type_matcher_v3_Matcher_submsgs[3] = { - {.submsg = &xds_type_matcher_v3_Matcher_MatcherList_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_MatcherTree_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_OnMatch_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Matcher__fields[3] = { - {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Matcher_msg_init = { - &xds_type_matcher_v3_Matcher_submsgs[0], - &xds_type_matcher_v3_Matcher__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001000040100000a, &upb_pom_1bt_max64b}, - {0x0010000402010012, &upb_pom_1bt_max64b}, - {0x000800000102001a, &upb_psm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_Matcher_OnMatch_submsgs[2] = { - {.submsg = &xds_type_matcher_v3_Matcher_msg_init}, - {.submsg = &xds_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Matcher_OnMatch__fields[2] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Matcher_OnMatch_msg_init = { - &xds_type_matcher_v3_Matcher_OnMatch_submsgs[0], - &xds_type_matcher_v3_Matcher_OnMatch__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_submsgs[1] = { - {.submsg = &xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherList_msg_init = { - &xds_type_matcher_v3_Matcher_MatcherList_submsgs[0], - &xds_type_matcher_v3_Matcher_MatcherList__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_Predicate_submsgs[4] = { - {.submsg = &xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList_Predicate__fields[4] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init = { - &xds_type_matcher_v3_Matcher_MatcherList_Predicate_submsgs[0], - &xds_type_matcher_v3_Matcher_MatcherList_Predicate__fields[0], - UPB_SIZE(8, 16), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_max64b}, - {0x0008000002010012, &upb_pom_1bt_max64b}, - {0x000800000302001a, &upb_pom_1bt_max64b}, - {0x0008000004030022, &upb_pom_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_submsgs[3] = { - {.submsg = &xds_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &xds_type_matcher_v3_StringMatcher_msg_init}, - {.submsg = &xds_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate__fields[3] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init = { - &xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_submsgs[0], - &xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate__fields[0], - UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000402010012, &upb_pom_1bt_maxmaxb}, - {0x001000040302001a, &upb_pom_1bt_maxmaxb}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_submsgs[1] = { - {.submsg = &xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init = { - &xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_submsgs[0], - &xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_submsgs[2] = { - {.submsg = &xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_OnMatch_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init = { - &xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_submsgs[0], - &xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x0010000002010012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherTree_submsgs[4] = { - {.submsg = &xds_core_v3_TypedExtensionConfig_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init}, - {.submsg = &xds_core_v3_TypedExtensionConfig_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherTree__fields[4] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherTree_msg_init = { - &xds_type_matcher_v3_Matcher_MatcherTree_submsgs[0], - &xds_type_matcher_v3_Matcher_MatcherTree__fields[0], - UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_maxmaxb}, - {0x0010000402010012, &upb_pom_1bt_max64b}, - {0x001000040302001a, &upb_pom_1bt_max64b}, - {0x0010000404030022, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_submsgs[1] = { - {.submsg = &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherTree_MatchMap__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init = { - &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_submsgs[0], - &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTableSub xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_submsgs[1] = { - {.submsg = &xds_type_matcher_v3_Matcher_OnMatch_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry__fields[2] = { - {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_msg_init = { - &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_submsgs[0], - &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry__fields[0], - UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_max64b}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[10] = { - &xds_type_matcher_v3_Matcher_msg_init, - &xds_type_matcher_v3_Matcher_OnMatch_msg_init, - &xds_type_matcher_v3_Matcher_MatcherList_msg_init, - &xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init, - &xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, - &xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, - &xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, - &xds_type_matcher_v3_Matcher_MatcherTree_msg_init, - &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, - &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_msg_init, -}; - -const upb_MiniTableFile xds_type_matcher_v3_matcher_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 10, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h b/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h deleted file mode 100644 index 1c3282577dc..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +++ /dev/null @@ -1,1114 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/matcher.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPB_H_ -#define XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_type_matcher_v3_Matcher xds_type_matcher_v3_Matcher; -typedef struct xds_type_matcher_v3_Matcher_OnMatch xds_type_matcher_v3_Matcher_OnMatch; -typedef struct xds_type_matcher_v3_Matcher_MatcherList xds_type_matcher_v3_Matcher_MatcherList; -typedef struct xds_type_matcher_v3_Matcher_MatcherList_Predicate xds_type_matcher_v3_Matcher_MatcherList_Predicate; -typedef struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate; -typedef struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList; -typedef struct xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher; -typedef struct xds_type_matcher_v3_Matcher_MatcherTree xds_type_matcher_v3_Matcher_MatcherTree; -typedef struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap xds_type_matcher_v3_Matcher_MatcherTree_MatchMap; -typedef struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_OnMatch_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherList_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherTree_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_msg_init; -struct xds_core_v3_TypedExtensionConfig; -struct xds_type_matcher_v3_StringMatcher; -extern const upb_MiniTable xds_core_v3_TypedExtensionConfig_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_StringMatcher_msg_init; - - - -/* xds.type.matcher.v3.Matcher */ - -UPB_INLINE xds_type_matcher_v3_Matcher* xds_type_matcher_v3_Matcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_Matcher*)_upb_Message_New(&xds_type_matcher_v3_Matcher_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_Matcher* xds_type_matcher_v3_Matcher_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_Matcher* ret = xds_type_matcher_v3_Matcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_Matcher* xds_type_matcher_v3_Matcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_Matcher* ret = xds_type_matcher_v3_Matcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_serialize(const xds_type_matcher_v3_Matcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_serialize_ex(const xds_type_matcher_v3_Matcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - xds_type_matcher_v3_Matcher_matcher_type_matcher_list = 1, - xds_type_matcher_v3_Matcher_matcher_type_matcher_tree = 2, - xds_type_matcher_v3_Matcher_matcher_type_NOT_SET = 0 -} xds_type_matcher_v3_Matcher_matcher_type_oneofcases; -UPB_INLINE xds_type_matcher_v3_Matcher_matcher_type_oneofcases xds_type_matcher_v3_Matcher_matcher_type_case(const xds_type_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (xds_type_matcher_v3_Matcher_matcher_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_clear_matcher_list(xds_type_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList* xds_type_matcher_v3_Matcher_matcher_list(const xds_type_matcher_v3_Matcher* msg) { - const xds_type_matcher_v3_Matcher_MatcherList* default_val = NULL; - const xds_type_matcher_v3_Matcher_MatcherList* ret; - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_has_matcher_list(const xds_type_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_clear_matcher_tree(xds_type_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherTree* xds_type_matcher_v3_Matcher_matcher_tree(const xds_type_matcher_v3_Matcher* msg) { - const xds_type_matcher_v3_Matcher_MatcherTree* default_val = NULL; - const xds_type_matcher_v3_Matcher_MatcherTree* ret; - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_has_matcher_tree(const xds_type_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_clear_on_no_match(xds_type_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_on_no_match(const xds_type_matcher_v3_Matcher* msg) { - const xds_type_matcher_v3_Matcher_OnMatch* default_val = NULL; - const xds_type_matcher_v3_Matcher_OnMatch* ret; - const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_has_on_no_match(const xds_type_matcher_v3_Matcher* msg) { - const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void xds_type_matcher_v3_Matcher_set_matcher_list(xds_type_matcher_v3_Matcher *msg, xds_type_matcher_v3_Matcher_MatcherList* value) { - const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList* xds_type_matcher_v3_Matcher_mutable_matcher_list(xds_type_matcher_v3_Matcher* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_MatcherList* sub = (struct xds_type_matcher_v3_Matcher_MatcherList*)xds_type_matcher_v3_Matcher_matcher_list(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_MatcherList*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherList_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_set_matcher_list(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_set_matcher_tree(xds_type_matcher_v3_Matcher *msg, xds_type_matcher_v3_Matcher_MatcherTree* value) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -5, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherTree* xds_type_matcher_v3_Matcher_mutable_matcher_tree(xds_type_matcher_v3_Matcher* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_MatcherTree* sub = (struct xds_type_matcher_v3_Matcher_MatcherTree*)xds_type_matcher_v3_Matcher_matcher_tree(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_MatcherTree*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherTree_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_set_matcher_tree(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_set_on_no_match(xds_type_matcher_v3_Matcher *msg, xds_type_matcher_v3_Matcher_OnMatch* value) { - const upb_MiniTableField field = {3, 8, 1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_mutable_on_no_match(xds_type_matcher_v3_Matcher* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_OnMatch* sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)xds_type_matcher_v3_Matcher_on_no_match(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds_type_matcher_v3_Matcher_OnMatch_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_set_on_no_match(msg, sub); - } - return sub; -} - -/* xds.type.matcher.v3.Matcher.OnMatch */ - -UPB_INLINE xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_OnMatch_new(upb_Arena* arena) { - return (xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds_type_matcher_v3_Matcher_OnMatch_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_OnMatch_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_OnMatch* ret = xds_type_matcher_v3_Matcher_OnMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_OnMatch_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_OnMatch_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_OnMatch* ret = xds_type_matcher_v3_Matcher_OnMatch_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_OnMatch_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_OnMatch_serialize(const xds_type_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_OnMatch_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_OnMatch_serialize_ex(const xds_type_matcher_v3_Matcher_OnMatch* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_OnMatch_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - xds_type_matcher_v3_Matcher_OnMatch_on_match_matcher = 1, - xds_type_matcher_v3_Matcher_OnMatch_on_match_action = 2, - xds_type_matcher_v3_Matcher_OnMatch_on_match_NOT_SET = 0 -} xds_type_matcher_v3_Matcher_OnMatch_on_match_oneofcases; -UPB_INLINE xds_type_matcher_v3_Matcher_OnMatch_on_match_oneofcases xds_type_matcher_v3_Matcher_OnMatch_on_match_case(const xds_type_matcher_v3_Matcher_OnMatch* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (xds_type_matcher_v3_Matcher_OnMatch_on_match_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_OnMatch_clear_matcher(xds_type_matcher_v3_Matcher_OnMatch* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher* xds_type_matcher_v3_Matcher_OnMatch_matcher(const xds_type_matcher_v3_Matcher_OnMatch* msg) { - const xds_type_matcher_v3_Matcher* default_val = NULL; - const xds_type_matcher_v3_Matcher* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_OnMatch_has_matcher(const xds_type_matcher_v3_Matcher_OnMatch* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_OnMatch_clear_action(xds_type_matcher_v3_Matcher_OnMatch* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_OnMatch_action(const xds_type_matcher_v3_Matcher_OnMatch* msg) { - const struct xds_core_v3_TypedExtensionConfig* default_val = NULL; - const struct xds_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_OnMatch_has_action(const xds_type_matcher_v3_Matcher_OnMatch* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void xds_type_matcher_v3_Matcher_OnMatch_set_matcher(xds_type_matcher_v3_Matcher_OnMatch *msg, xds_type_matcher_v3_Matcher* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher* xds_type_matcher_v3_Matcher_OnMatch_mutable_matcher(xds_type_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher* sub = (struct xds_type_matcher_v3_Matcher*)xds_type_matcher_v3_Matcher_OnMatch_matcher(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher*)_upb_Message_New(&xds_type_matcher_v3_Matcher_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_OnMatch_set_matcher(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_OnMatch_set_action(xds_type_matcher_v3_Matcher_OnMatch *msg, struct xds_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_OnMatch_mutable_action(xds_type_matcher_v3_Matcher_OnMatch* msg, upb_Arena* arena) { - struct xds_core_v3_TypedExtensionConfig* sub = (struct xds_core_v3_TypedExtensionConfig*)xds_type_matcher_v3_Matcher_OnMatch_action(msg); - if (sub == NULL) { - sub = (struct xds_core_v3_TypedExtensionConfig*)_upb_Message_New(&xds_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_OnMatch_set_action(msg, sub); - } - return sub; -} - -/* xds.type.matcher.v3.Matcher.MatcherList */ - -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList* xds_type_matcher_v3_Matcher_MatcherList_new(upb_Arena* arena) { - return (xds_type_matcher_v3_Matcher_MatcherList*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherList_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList* xds_type_matcher_v3_Matcher_MatcherList_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherList* ret = xds_type_matcher_v3_Matcher_MatcherList_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList* xds_type_matcher_v3_Matcher_MatcherList_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherList* ret = xds_type_matcher_v3_Matcher_MatcherList_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherList_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_serialize(const xds_type_matcher_v3_Matcher_MatcherList* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherList_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherList* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherList_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_clear_matchers(xds_type_matcher_v3_Matcher_MatcherList* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* const* xds_type_matcher_v3_Matcher_MatcherList_matchers(const xds_type_matcher_v3_Matcher_MatcherList* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _xds_type_matcher_v3_Matcher_MatcherList_matchers_upb_array(const xds_type_matcher_v3_Matcher_MatcherList* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _xds_type_matcher_v3_Matcher_MatcherList_matchers_mutable_upb_array(const xds_type_matcher_v3_Matcher_MatcherList* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_has_matchers(const xds_type_matcher_v3_Matcher_MatcherList* msg) { - size_t size; - xds_type_matcher_v3_Matcher_MatcherList_matchers(msg, &size); - return size != 0; -} - -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher** xds_type_matcher_v3_Matcher_MatcherList_mutable_matchers(xds_type_matcher_v3_Matcher_MatcherList* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher** xds_type_matcher_v3_Matcher_MatcherList_resize_matchers(xds_type_matcher_v3_Matcher_MatcherList* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* xds_type_matcher_v3_Matcher_MatcherList_add_matchers(xds_type_matcher_v3_Matcher_MatcherList* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* xds.type.matcher.v3.Matcher.MatcherList.Predicate */ - -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_new(upb_Arena* arena) { - return (xds_type_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherList_Predicate* ret = xds_type_matcher_v3_Matcher_MatcherList_Predicate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherList_Predicate* ret = xds_type_matcher_v3_Matcher_MatcherList_Predicate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_Predicate_serialize(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_Predicate_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_single_predicate = 1, - xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_or_matcher = 2, - xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_and_matcher = 3, - xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_not_matcher = 4, - xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_NOT_SET = 0 -} xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases; -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_case(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (xds_type_matcher_v3_Matcher_MatcherList_Predicate_match_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_clear_single_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_single_predicate(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* default_val = NULL; - const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_has_single_predicate(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_clear_or_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_or_matcher(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* default_val = NULL; - const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_has_or_matcher(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_clear_and_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_and_matcher(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* default_val = NULL; - const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret; - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_has_and_matcher(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_clear_not_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_not_matcher(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const xds_type_matcher_v3_Matcher_MatcherList_Predicate* default_val = NULL; - const xds_type_matcher_v3_Matcher_MatcherList_Predicate* ret; - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_has_not_matcher(const xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_single_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate *msg, xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_mutable_single_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_single_predicate(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_single_predicate(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_or_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate *msg, xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_mutable_or_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_or_matcher(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_or_matcher(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_and_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate *msg, xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* value) { - const upb_MiniTableField field = {3, UPB_SIZE(4, 8), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_mutable_and_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_and_matcher(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_and_matcher(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_not_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate *msg, xds_type_matcher_v3_Matcher_MatcherList_Predicate* value) { - const upb_MiniTableField field = {4, UPB_SIZE(4, 8), -1, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_mutable_not_matcher(xds_type_matcher_v3_Matcher_MatcherList_Predicate* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_not_matcher(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_set_not_matcher(msg, sub); - } - return sub; -} - -/* xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate */ - -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(upb_Arena* arena) { - return (xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret = xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* ret = xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_serialize(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_value_match = 2, - xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_custom_match = 3, - xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_NOT_SET = 0 -} xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases; -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_case(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_matcher_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_input(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_input(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const struct xds_core_v3_TypedExtensionConfig* default_val = NULL; - const struct xds_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_input(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_value_match(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_type_matcher_v3_StringMatcher* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_value_match(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const struct xds_type_matcher_v3_StringMatcher* default_val = NULL; - const struct xds_type_matcher_v3_StringMatcher* ret; - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_value_match(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_clear_custom_match(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_custom_match(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const struct xds_core_v3_TypedExtensionConfig* default_val = NULL; - const struct xds_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_has_custom_match(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_input(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate *msg, struct xds_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_input(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) { - struct xds_core_v3_TypedExtensionConfig* sub = (struct xds_core_v3_TypedExtensionConfig*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_input(msg); - if (sub == NULL) { - sub = (struct xds_core_v3_TypedExtensionConfig*)_upb_Message_New(&xds_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_input(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_value_match(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate *msg, struct xds_type_matcher_v3_StringMatcher* value) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_StringMatcher* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_value_match(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_StringMatcher* sub = (struct xds_type_matcher_v3_StringMatcher*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_value_match(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_StringMatcher*)_upb_Message_New(&xds_type_matcher_v3_StringMatcher_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_value_match(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_custom_match(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate *msg, struct xds_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_mutable_custom_match(xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate* msg, upb_Arena* arena) { - struct xds_core_v3_TypedExtensionConfig* sub = (struct xds_core_v3_TypedExtensionConfig*)xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_custom_match(msg); - if (sub == NULL) { - sub = (struct xds_core_v3_TypedExtensionConfig*)_upb_Message_New(&xds_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_set_custom_match(msg, sub); - } - return sub; -} - -/* xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList */ - -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(upb_Arena* arena) { - return (xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret = xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* ret = xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_serialize(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_clear_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_Predicate* const* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const xds_type_matcher_v3_Matcher_MatcherList_Predicate* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate_upb_array(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate_mutable_upb_array(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_has_predicate(const xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg) { - size_t size; - xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_predicate(msg, &size); - return size != 0; -} - -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate** xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_mutable_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (xds_type_matcher_v3_Matcher_MatcherList_Predicate**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_Predicate** xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_resize_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (xds_type_matcher_v3_Matcher_MatcherList_Predicate**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_add_predicate(xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct xds_type_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* xds.type.matcher.v3.Matcher.MatcherList.FieldMatcher */ - -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* ret = xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* ret = xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_serialize(const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_clear_predicate(xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_predicate(const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { - const xds_type_matcher_v3_Matcher_MatcherList_Predicate* default_val = NULL; - const xds_type_matcher_v3_Matcher_MatcherList_Predicate* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_has_predicate(const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_clear_on_match(xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_on_match(const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { - const xds_type_matcher_v3_Matcher_OnMatch* default_val = NULL; - const xds_type_matcher_v3_Matcher_OnMatch* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_has_on_match(const xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_set_predicate(xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher *msg, xds_type_matcher_v3_Matcher_MatcherList_Predicate* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherList_Predicate* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_mutable_predicate(xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_MatcherList_Predicate* sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate*)xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_predicate(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_MatcherList_Predicate*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherList_Predicate_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_set_predicate(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_set_on_match(xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher *msg, xds_type_matcher_v3_Matcher_OnMatch* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_mutable_on_match(xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_OnMatch* sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_on_match(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds_type_matcher_v3_Matcher_OnMatch_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_set_on_match(msg, sub); - } - return sub; -} - -/* xds.type.matcher.v3.Matcher.MatcherTree */ - -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree* xds_type_matcher_v3_Matcher_MatcherTree_new(upb_Arena* arena) { - return (xds_type_matcher_v3_Matcher_MatcherTree*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherTree_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree* xds_type_matcher_v3_Matcher_MatcherTree_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherTree* ret = xds_type_matcher_v3_Matcher_MatcherTree_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherTree_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree* xds_type_matcher_v3_Matcher_MatcherTree_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherTree* ret = xds_type_matcher_v3_Matcher_MatcherTree_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherTree_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherTree_serialize(const xds_type_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherTree_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherTree_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherTree* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherTree_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - xds_type_matcher_v3_Matcher_MatcherTree_tree_type_exact_match_map = 2, - xds_type_matcher_v3_Matcher_MatcherTree_tree_type_prefix_match_map = 3, - xds_type_matcher_v3_Matcher_MatcherTree_tree_type_custom_match = 4, - xds_type_matcher_v3_Matcher_MatcherTree_tree_type_NOT_SET = 0 -} xds_type_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases; -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases xds_type_matcher_v3_Matcher_MatcherTree_tree_type_case(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (xds_type_matcher_v3_Matcher_MatcherTree_tree_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_clear_input(xds_type_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherTree_input(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { - const struct xds_core_v3_TypedExtensionConfig* default_val = NULL; - const struct xds_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_has_input(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_clear_exact_match_map(xds_type_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_exact_match_map(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { - const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* default_val = NULL; - const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* ret; - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_has_exact_match_map(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_clear_prefix_match_map(xds_type_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_prefix_match_map(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { - const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* default_val = NULL; - const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* ret; - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_has_prefix_match_map(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_clear_custom_match(xds_type_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherTree_custom_match(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { - const struct xds_core_v3_TypedExtensionConfig* default_val = NULL; - const struct xds_core_v3_TypedExtensionConfig* ret; - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_has_custom_match(const xds_type_matcher_v3_Matcher_MatcherTree* msg) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_set_input(xds_type_matcher_v3_Matcher_MatcherTree *msg, struct xds_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherTree_mutable_input(xds_type_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { - struct xds_core_v3_TypedExtensionConfig* sub = (struct xds_core_v3_TypedExtensionConfig*)xds_type_matcher_v3_Matcher_MatcherTree_input(msg); - if (sub == NULL) { - sub = (struct xds_core_v3_TypedExtensionConfig*)_upb_Message_New(&xds_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_MatcherTree_set_input(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_set_exact_match_map(xds_type_matcher_v3_Matcher_MatcherTree *msg, xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* value) { - const upb_MiniTableField field = {2, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_mutable_exact_match_map(xds_type_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* sub = (struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap*)xds_type_matcher_v3_Matcher_MatcherTree_exact_match_map(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_MatcherTree_set_exact_match_map(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_set_prefix_match_map(xds_type_matcher_v3_Matcher_MatcherTree *msg, xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* value) { - const upb_MiniTableField field = {3, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_mutable_prefix_match_map(xds_type_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* sub = (struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap*)xds_type_matcher_v3_Matcher_MatcherTree_prefix_match_map(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_MatcherTree_set_prefix_match_map(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_set_custom_match(xds_type_matcher_v3_Matcher_MatcherTree *msg, struct xds_core_v3_TypedExtensionConfig* value) { - const upb_MiniTableField field = {4, UPB_SIZE(12, 16), UPB_SIZE(-9, -5), 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_core_v3_TypedExtensionConfig* xds_type_matcher_v3_Matcher_MatcherTree_mutable_custom_match(xds_type_matcher_v3_Matcher_MatcherTree* msg, upb_Arena* arena) { - struct xds_core_v3_TypedExtensionConfig* sub = (struct xds_core_v3_TypedExtensionConfig*)xds_type_matcher_v3_Matcher_MatcherTree_custom_match(msg); - if (sub == NULL) { - sub = (struct xds_core_v3_TypedExtensionConfig*)_upb_Message_New(&xds_core_v3_TypedExtensionConfig_msg_init, arena); - if (sub) xds_type_matcher_v3_Matcher_MatcherTree_set_custom_match(msg, sub); - } - return sub; -} - -/* xds.type.matcher.v3.Matcher.MatcherTree.MatchMap */ - -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_new(upb_Arena* arena) { - return (xds_type_matcher_v3_Matcher_MatcherTree_MatchMap*)_upb_Message_New(&xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* ret = xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* ret = xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_serialize(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_serialize_ex(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_clear_map(xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE size_t xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_size(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - return map ? _upb_Map_Size(map) : 0; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_get(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key, xds_type_matcher_v3_Matcher_OnMatch** val) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Get(map, &key, 0, val, sizeof(*val)); -} -UPB_INLINE const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_next(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, size_t* iter) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Map* map = upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry*)_upb_map_next(map, iter); -} - -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_clear(xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return; - _upb_Map_Clear(map); -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_set(xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key, xds_type_matcher_v3_Matcher_OnMatch* val, upb_Arena* a) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = _upb_Message_GetOrCreateMutableMap(msg, &field, 0, sizeof(val), a); - return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) != - kUpb_MapInsertStatus_OutOfMemory; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_delete(xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, upb_StringView key) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return false; - return _upb_Map_Delete(map, &key, 0, NULL); -} -UPB_INLINE xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_map_nextmutable(xds_type_matcher_v3_Matcher_MatcherTree_MatchMap* msg, size_t* iter) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Map* map = (upb_Map*)upb_Message_GetMap(msg, &field); - if (!map) return NULL; - return (xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry*)_upb_map_next(map, iter); -} - -/* xds.type.matcher.v3.Matcher.MatcherTree.MatchMap.MapEntry */ - -UPB_INLINE upb_StringView xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_key(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* msg) { - upb_StringView ret; - _upb_msg_map_key(msg, &ret, 0); - return ret; -} -UPB_INLINE const xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_value(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* msg) { - xds_type_matcher_v3_Matcher_OnMatch* ret; - _upb_msg_map_value(msg, &ret, sizeof(ret)); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_has_value(const xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_set_value(xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry *msg, xds_type_matcher_v3_Matcher_OnMatch* value) { - _upb_msg_map_set_value(msg, &value, sizeof(xds_type_matcher_v3_Matcher_OnMatch*)); -} - -extern const upb_MiniTableFile xds_type_matcher_v3_matcher_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c b/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c deleted file mode 100644 index 5010b44f510..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +++ /dev/null @@ -1,158 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/range.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/type/matcher/v3/range.upb.h" -#include "xds/type/v3/range.upb.h" -#include "xds/type/matcher/v3/matcher.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_type_matcher_v3_Int64RangeMatcher_submsgs[1] = { - {.submsg = &xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Int64RangeMatcher__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Int64RangeMatcher_msg_init = { - &xds_type_matcher_v3_Int64RangeMatcher_submsgs[0], - &xds_type_matcher_v3_Int64RangeMatcher__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_submsgs[2] = { - {.submsg = &xds_type_v3_Int64Range_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_OnMatch_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher__fields[2] = { - {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_msg_init = { - &xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_submsgs[0], - &xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, - {0x0010000001010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_Int32RangeMatcher_submsgs[1] = { - {.submsg = &xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Int32RangeMatcher__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Int32RangeMatcher_msg_init = { - &xds_type_matcher_v3_Int32RangeMatcher_submsgs[0], - &xds_type_matcher_v3_Int32RangeMatcher__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_submsgs[2] = { - {.submsg = &xds_type_v3_Int32Range_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_OnMatch_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher__fields[2] = { - {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_msg_init = { - &xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_submsgs[0], - &xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, - {0x0010000001010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_DoubleRangeMatcher_submsgs[1] = { - {.submsg = &xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_DoubleRangeMatcher__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_DoubleRangeMatcher_msg_init = { - &xds_type_matcher_v3_DoubleRangeMatcher_submsgs[0], - &xds_type_matcher_v3_DoubleRangeMatcher__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_submsgs[2] = { - {.submsg = &xds_type_v3_DoubleRange_msg_init}, - {.submsg = &xds_type_matcher_v3_Matcher_OnMatch_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher__fields[2] = { - {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_msg_init = { - &xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_submsgs[0], - &xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, - {0x0010000001010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[6] = { - &xds_type_matcher_v3_Int64RangeMatcher_msg_init, - &xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_msg_init, - &xds_type_matcher_v3_Int32RangeMatcher_msg_init, - &xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_msg_init, - &xds_type_matcher_v3_DoubleRangeMatcher_msg_init, - &xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_msg_init, -}; - -const upb_MiniTableFile xds_type_matcher_v3_range_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 6, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h b/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h deleted file mode 100644 index 6f6bff626ea..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +++ /dev/null @@ -1,732 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/range.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPB_H_ -#define XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_type_matcher_v3_Int64RangeMatcher xds_type_matcher_v3_Int64RangeMatcher; -typedef struct xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher; -typedef struct xds_type_matcher_v3_Int32RangeMatcher xds_type_matcher_v3_Int32RangeMatcher; -typedef struct xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher; -typedef struct xds_type_matcher_v3_DoubleRangeMatcher xds_type_matcher_v3_DoubleRangeMatcher; -typedef struct xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher; -extern const upb_MiniTable xds_type_matcher_v3_Int64RangeMatcher_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Int32RangeMatcher_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_DoubleRangeMatcher_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_msg_init; -struct xds_type_matcher_v3_Matcher_OnMatch; -struct xds_type_v3_DoubleRange; -struct xds_type_v3_Int32Range; -struct xds_type_v3_Int64Range; -extern const upb_MiniTable xds_type_matcher_v3_Matcher_OnMatch_msg_init; -extern const upb_MiniTable xds_type_v3_DoubleRange_msg_init; -extern const upb_MiniTable xds_type_v3_Int32Range_msg_init; -extern const upb_MiniTable xds_type_v3_Int64Range_msg_init; - - - -/* xds.type.matcher.v3.Int64RangeMatcher */ - -UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_Int64RangeMatcher*)_upb_Message_New(&xds_type_matcher_v3_Int64RangeMatcher_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_Int64RangeMatcher* ret = xds_type_matcher_v3_Int64RangeMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Int64RangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_Int64RangeMatcher* ret = xds_type_matcher_v3_Int64RangeMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Int64RangeMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_Int64RangeMatcher_serialize(const xds_type_matcher_v3_Int64RangeMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Int64RangeMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_Int64RangeMatcher_serialize_ex(const xds_type_matcher_v3_Int64RangeMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Int64RangeMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_matcher_v3_Int64RangeMatcher_clear_range_matchers(xds_type_matcher_v3_Int64RangeMatcher* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* const* xds_type_matcher_v3_Int64RangeMatcher_range_matchers(const xds_type_matcher_v3_Int64RangeMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _xds_type_matcher_v3_Int64RangeMatcher_range_matchers_upb_array(const xds_type_matcher_v3_Int64RangeMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _xds_type_matcher_v3_Int64RangeMatcher_range_matchers_mutable_upb_array(const xds_type_matcher_v3_Int64RangeMatcher* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool xds_type_matcher_v3_Int64RangeMatcher_has_range_matchers(const xds_type_matcher_v3_Int64RangeMatcher* msg) { - size_t size; - xds_type_matcher_v3_Int64RangeMatcher_range_matchers(msg, &size); - return size != 0; -} - -UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher** xds_type_matcher_v3_Int64RangeMatcher_mutable_range_matchers(xds_type_matcher_v3_Int64RangeMatcher* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher** xds_type_matcher_v3_Int64RangeMatcher_resize_range_matchers(xds_type_matcher_v3_Int64RangeMatcher* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_add_range_matchers(xds_type_matcher_v3_Int64RangeMatcher* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* sub = (struct xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher*)_upb_Message_New(&xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher */ - -UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher*)_upb_Message_New(&xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* ret = xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* ret = xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_serialize(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_serialize_ex(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_clear_ranges(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_type_v3_Int64Range* const* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_ranges(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct xds_type_v3_Int64Range* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_ranges_upb_array(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_ranges_mutable_upb_array(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_has_ranges(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg) { - size_t size; - xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_ranges(msg, &size); - return size != 0; -} -UPB_INLINE void xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_clear_on_match(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_on_match(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg) { - const struct xds_type_matcher_v3_Matcher_OnMatch* default_val = NULL; - const struct xds_type_matcher_v3_Matcher_OnMatch* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_has_on_match(const xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE struct xds_type_v3_Int64Range** xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_mutable_ranges(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, size_t* size) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct xds_type_v3_Int64Range**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct xds_type_v3_Int64Range** xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_resize_ranges(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct xds_type_v3_Int64Range**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct xds_type_v3_Int64Range* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_add_ranges(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct xds_type_v3_Int64Range* sub = (struct xds_type_v3_Int64Range*)_upb_Message_New(&xds_type_v3_Int64Range_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_set_on_match(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher *msg, struct xds_type_matcher_v3_Matcher_OnMatch* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_mutable_on_match(xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_OnMatch* sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_on_match(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds_type_matcher_v3_Matcher_OnMatch_msg_init, arena); - if (sub) xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_set_on_match(msg, sub); - } - return sub; -} - -/* xds.type.matcher.v3.Int32RangeMatcher */ - -UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_Int32RangeMatcher*)_upb_Message_New(&xds_type_matcher_v3_Int32RangeMatcher_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_Int32RangeMatcher* ret = xds_type_matcher_v3_Int32RangeMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Int32RangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_Int32RangeMatcher* ret = xds_type_matcher_v3_Int32RangeMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Int32RangeMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_Int32RangeMatcher_serialize(const xds_type_matcher_v3_Int32RangeMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Int32RangeMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_Int32RangeMatcher_serialize_ex(const xds_type_matcher_v3_Int32RangeMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Int32RangeMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_matcher_v3_Int32RangeMatcher_clear_range_matchers(xds_type_matcher_v3_Int32RangeMatcher* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* const* xds_type_matcher_v3_Int32RangeMatcher_range_matchers(const xds_type_matcher_v3_Int32RangeMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _xds_type_matcher_v3_Int32RangeMatcher_range_matchers_upb_array(const xds_type_matcher_v3_Int32RangeMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _xds_type_matcher_v3_Int32RangeMatcher_range_matchers_mutable_upb_array(const xds_type_matcher_v3_Int32RangeMatcher* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool xds_type_matcher_v3_Int32RangeMatcher_has_range_matchers(const xds_type_matcher_v3_Int32RangeMatcher* msg) { - size_t size; - xds_type_matcher_v3_Int32RangeMatcher_range_matchers(msg, &size); - return size != 0; -} - -UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher** xds_type_matcher_v3_Int32RangeMatcher_mutable_range_matchers(xds_type_matcher_v3_Int32RangeMatcher* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher** xds_type_matcher_v3_Int32RangeMatcher_resize_range_matchers(xds_type_matcher_v3_Int32RangeMatcher* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_add_range_matchers(xds_type_matcher_v3_Int32RangeMatcher* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* sub = (struct xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher*)_upb_Message_New(&xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher */ - -UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher*)_upb_Message_New(&xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* ret = xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* ret = xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_serialize(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_serialize_ex(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_clear_ranges(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_type_v3_Int32Range* const* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_ranges(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct xds_type_v3_Int32Range* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_ranges_upb_array(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_ranges_mutable_upb_array(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_has_ranges(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg) { - size_t size; - xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_ranges(msg, &size); - return size != 0; -} -UPB_INLINE void xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_clear_on_match(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_on_match(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg) { - const struct xds_type_matcher_v3_Matcher_OnMatch* default_val = NULL; - const struct xds_type_matcher_v3_Matcher_OnMatch* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_has_on_match(const xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE struct xds_type_v3_Int32Range** xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_mutable_ranges(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, size_t* size) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct xds_type_v3_Int32Range**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct xds_type_v3_Int32Range** xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_resize_ranges(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct xds_type_v3_Int32Range**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct xds_type_v3_Int32Range* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_add_ranges(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct xds_type_v3_Int32Range* sub = (struct xds_type_v3_Int32Range*)_upb_Message_New(&xds_type_v3_Int32Range_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_set_on_match(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher *msg, struct xds_type_matcher_v3_Matcher_OnMatch* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_mutable_on_match(xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_OnMatch* sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_on_match(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds_type_matcher_v3_Matcher_OnMatch_msg_init, arena); - if (sub) xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_set_on_match(msg, sub); - } - return sub; -} - -/* xds.type.matcher.v3.DoubleRangeMatcher */ - -UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_DoubleRangeMatcher*)_upb_Message_New(&xds_type_matcher_v3_DoubleRangeMatcher_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_DoubleRangeMatcher* ret = xds_type_matcher_v3_DoubleRangeMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_DoubleRangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_DoubleRangeMatcher* ret = xds_type_matcher_v3_DoubleRangeMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_DoubleRangeMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_DoubleRangeMatcher_serialize(const xds_type_matcher_v3_DoubleRangeMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_DoubleRangeMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_DoubleRangeMatcher_serialize_ex(const xds_type_matcher_v3_DoubleRangeMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_DoubleRangeMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_matcher_v3_DoubleRangeMatcher_clear_range_matchers(xds_type_matcher_v3_DoubleRangeMatcher* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* const* xds_type_matcher_v3_DoubleRangeMatcher_range_matchers(const xds_type_matcher_v3_DoubleRangeMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _xds_type_matcher_v3_DoubleRangeMatcher_range_matchers_upb_array(const xds_type_matcher_v3_DoubleRangeMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _xds_type_matcher_v3_DoubleRangeMatcher_range_matchers_mutable_upb_array(const xds_type_matcher_v3_DoubleRangeMatcher* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool xds_type_matcher_v3_DoubleRangeMatcher_has_range_matchers(const xds_type_matcher_v3_DoubleRangeMatcher* msg) { - size_t size; - xds_type_matcher_v3_DoubleRangeMatcher_range_matchers(msg, &size); - return size != 0; -} - -UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher** xds_type_matcher_v3_DoubleRangeMatcher_mutable_range_matchers(xds_type_matcher_v3_DoubleRangeMatcher* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher** xds_type_matcher_v3_DoubleRangeMatcher_resize_range_matchers(xds_type_matcher_v3_DoubleRangeMatcher* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_add_range_matchers(xds_type_matcher_v3_DoubleRangeMatcher* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* sub = (struct xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher*)_upb_Message_New(&xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -/* xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher */ - -UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher*)_upb_Message_New(&xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* ret = xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* ret = xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_serialize(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_serialize_ex(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_clear_ranges(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_type_v3_DoubleRange* const* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_ranges(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const struct xds_type_v3_DoubleRange* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_ranges_upb_array(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_ranges_mutable_upb_array(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_has_ranges(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg) { - size_t size; - xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_ranges(msg, &size); - return size != 0; -} -UPB_INLINE void xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_clear_on_match(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_on_match(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg) { - const struct xds_type_matcher_v3_Matcher_OnMatch* default_val = NULL; - const struct xds_type_matcher_v3_Matcher_OnMatch* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_has_on_match(const xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE struct xds_type_v3_DoubleRange** xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_mutable_ranges(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, size_t* size) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (struct xds_type_v3_DoubleRange**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE struct xds_type_v3_DoubleRange** xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_resize_ranges(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (struct xds_type_v3_DoubleRange**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct xds_type_v3_DoubleRange* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_add_ranges(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, UPB_SIZE(4, 8), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct xds_type_v3_DoubleRange* sub = (struct xds_type_v3_DoubleRange*)_upb_Message_New(&xds_type_v3_DoubleRange_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} -UPB_INLINE void xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_set_on_match(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher *msg, struct xds_type_matcher_v3_Matcher_OnMatch* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_Matcher_OnMatch* xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_mutable_on_match(xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_Matcher_OnMatch* sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_on_match(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_Matcher_OnMatch*)_upb_Message_New(&xds_type_matcher_v3_Matcher_OnMatch_msg_init, arena); - if (sub) xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_set_on_match(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile xds_type_matcher_v3_range_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c b/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c deleted file mode 100644 index e739f09d49a..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +++ /dev/null @@ -1,59 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/regex.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/type/matcher/v3/regex.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_type_matcher_v3_RegexMatcher_submsgs[1] = { - {.submsg = &xds_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_RegexMatcher__fields[2] = { - {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_RegexMatcher_msg_init = { - &xds_type_matcher_v3_RegexMatcher_submsgs[0], - &xds_type_matcher_v3_RegexMatcher__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x001800000100000a, &upb_pom_1bt_max64b}, - {0x000800003f000012, &upb_pss_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -const upb_MiniTable xds_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init = { - NULL, - NULL, - 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, -}; - -static const upb_MiniTable *messages_layout[2] = { - &xds_type_matcher_v3_RegexMatcher_msg_init, - &xds_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, -}; - -const upb_MiniTableFile xds_type_matcher_v3_regex_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h b/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h deleted file mode 100644 index 2fd4083a499..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +++ /dev/null @@ -1,159 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/regex.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_ -#define XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_type_matcher_v3_RegexMatcher xds_type_matcher_v3_RegexMatcher; -typedef struct xds_type_matcher_v3_RegexMatcher_GoogleRE2 xds_type_matcher_v3_RegexMatcher_GoogleRE2; -extern const upb_MiniTable xds_type_matcher_v3_RegexMatcher_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init; - - - -/* xds.type.matcher.v3.RegexMatcher */ - -UPB_INLINE xds_type_matcher_v3_RegexMatcher* xds_type_matcher_v3_RegexMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_RegexMatcher*)_upb_Message_New(&xds_type_matcher_v3_RegexMatcher_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_RegexMatcher* xds_type_matcher_v3_RegexMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_RegexMatcher* ret = xds_type_matcher_v3_RegexMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_RegexMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_RegexMatcher* xds_type_matcher_v3_RegexMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_RegexMatcher* ret = xds_type_matcher_v3_RegexMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_RegexMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_RegexMatcher_serialize(const xds_type_matcher_v3_RegexMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_RegexMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_RegexMatcher_serialize_ex(const xds_type_matcher_v3_RegexMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_RegexMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - xds_type_matcher_v3_RegexMatcher_engine_type_google_re2 = 1, - xds_type_matcher_v3_RegexMatcher_engine_type_NOT_SET = 0 -} xds_type_matcher_v3_RegexMatcher_engine_type_oneofcases; -UPB_INLINE xds_type_matcher_v3_RegexMatcher_engine_type_oneofcases xds_type_matcher_v3_RegexMatcher_engine_type_case(const xds_type_matcher_v3_RegexMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (xds_type_matcher_v3_RegexMatcher_engine_type_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_RegexMatcher_clear_google_re2(xds_type_matcher_v3_RegexMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_RegexMatcher_GoogleRE2* xds_type_matcher_v3_RegexMatcher_google_re2(const xds_type_matcher_v3_RegexMatcher* msg) { - const xds_type_matcher_v3_RegexMatcher_GoogleRE2* default_val = NULL; - const xds_type_matcher_v3_RegexMatcher_GoogleRE2* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_RegexMatcher_has_google_re2(const xds_type_matcher_v3_RegexMatcher* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_RegexMatcher_clear_regex(xds_type_matcher_v3_RegexMatcher* msg) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView xds_type_matcher_v3_RegexMatcher_regex(const xds_type_matcher_v3_RegexMatcher* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void xds_type_matcher_v3_RegexMatcher_set_google_re2(xds_type_matcher_v3_RegexMatcher *msg, xds_type_matcher_v3_RegexMatcher_GoogleRE2* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 24), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_RegexMatcher_GoogleRE2* xds_type_matcher_v3_RegexMatcher_mutable_google_re2(xds_type_matcher_v3_RegexMatcher* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_RegexMatcher_GoogleRE2* sub = (struct xds_type_matcher_v3_RegexMatcher_GoogleRE2*)xds_type_matcher_v3_RegexMatcher_google_re2(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_RegexMatcher_GoogleRE2*)_upb_Message_New(&xds_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, arena); - if (sub) xds_type_matcher_v3_RegexMatcher_set_google_re2(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_RegexMatcher_set_regex(xds_type_matcher_v3_RegexMatcher *msg, upb_StringView value) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* xds.type.matcher.v3.RegexMatcher.GoogleRE2 */ - -UPB_INLINE xds_type_matcher_v3_RegexMatcher_GoogleRE2* xds_type_matcher_v3_RegexMatcher_GoogleRE2_new(upb_Arena* arena) { - return (xds_type_matcher_v3_RegexMatcher_GoogleRE2*)_upb_Message_New(&xds_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_RegexMatcher_GoogleRE2* xds_type_matcher_v3_RegexMatcher_GoogleRE2_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_RegexMatcher_GoogleRE2* ret = xds_type_matcher_v3_RegexMatcher_GoogleRE2_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_RegexMatcher_GoogleRE2* xds_type_matcher_v3_RegexMatcher_GoogleRE2_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_RegexMatcher_GoogleRE2* ret = xds_type_matcher_v3_RegexMatcher_GoogleRE2_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_RegexMatcher_GoogleRE2_serialize(const xds_type_matcher_v3_RegexMatcher_GoogleRE2* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_RegexMatcher_GoogleRE2_serialize_ex(const xds_type_matcher_v3_RegexMatcher_GoogleRE2* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_RegexMatcher_GoogleRE2_msg_init, options, arena, &ptr, len); - return ptr; -} - - -extern const upb_MiniTableFile xds_type_matcher_v3_regex_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c b/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c deleted file mode 100644 index 8bfe9db78a9..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +++ /dev/null @@ -1,80 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/string.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/type/matcher/v3/string.upb.h" -#include "xds/type/matcher/v3/regex.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_type_matcher_v3_StringMatcher_submsgs[1] = { - {.submsg = &xds_type_matcher_v3_RegexMatcher_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_StringMatcher__fields[6] = { - {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, - {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_StringMatcher_msg_init = { - &xds_type_matcher_v3_StringMatcher_submsgs[0], - &xds_type_matcher_v3_StringMatcher__fields[0], - UPB_SIZE(16, 24), 6, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(56), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800040100000a, &upb_pos_1bt}, - {0x0008000402000012, &upb_pos_1bt}, - {0x000800040300001a, &upb_pos_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800040500002a, &upb_pom_1bt_maxmaxb}, - {0x000000003f000030, &upb_psb1_1bt}, - {0x000800040700003a, &upb_pos_1bt}, - }) -}; - -static const upb_MiniTableSub xds_type_matcher_v3_ListStringMatcher_submsgs[1] = { - {.submsg = &xds_type_matcher_v3_StringMatcher_msg_init}, -}; - -static const upb_MiniTableField xds_type_matcher_v3_ListStringMatcher__fields[1] = { - {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_matcher_v3_ListStringMatcher_msg_init = { - &xds_type_matcher_v3_ListStringMatcher_submsgs[0], - &xds_type_matcher_v3_ListStringMatcher__fields[0], - 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f00000a, &upb_prm_1bt_max64b}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &xds_type_matcher_v3_StringMatcher_msg_init, - &xds_type_matcher_v3_ListStringMatcher_msg_init, -}; - -const upb_MiniTableFile xds_type_matcher_v3_string_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h b/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h deleted file mode 100644 index 6cb749ca62d..00000000000 --- a/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +++ /dev/null @@ -1,304 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/string.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_MATCHER_V3_STRING_PROTO_UPB_H_ -#define XDS_TYPE_MATCHER_V3_STRING_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_type_matcher_v3_StringMatcher xds_type_matcher_v3_StringMatcher; -typedef struct xds_type_matcher_v3_ListStringMatcher xds_type_matcher_v3_ListStringMatcher; -extern const upb_MiniTable xds_type_matcher_v3_StringMatcher_msg_init; -extern const upb_MiniTable xds_type_matcher_v3_ListStringMatcher_msg_init; -struct xds_type_matcher_v3_RegexMatcher; -extern const upb_MiniTable xds_type_matcher_v3_RegexMatcher_msg_init; - - - -/* xds.type.matcher.v3.StringMatcher */ - -UPB_INLINE xds_type_matcher_v3_StringMatcher* xds_type_matcher_v3_StringMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_StringMatcher*)_upb_Message_New(&xds_type_matcher_v3_StringMatcher_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_StringMatcher* xds_type_matcher_v3_StringMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_StringMatcher* ret = xds_type_matcher_v3_StringMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_StringMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_StringMatcher* xds_type_matcher_v3_StringMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_StringMatcher* ret = xds_type_matcher_v3_StringMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_StringMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_StringMatcher_serialize(const xds_type_matcher_v3_StringMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_StringMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_StringMatcher_serialize_ex(const xds_type_matcher_v3_StringMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_StringMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - xds_type_matcher_v3_StringMatcher_match_pattern_exact = 1, - xds_type_matcher_v3_StringMatcher_match_pattern_prefix = 2, - xds_type_matcher_v3_StringMatcher_match_pattern_suffix = 3, - xds_type_matcher_v3_StringMatcher_match_pattern_safe_regex = 5, - xds_type_matcher_v3_StringMatcher_match_pattern_contains = 7, - xds_type_matcher_v3_StringMatcher_match_pattern_NOT_SET = 0 -} xds_type_matcher_v3_StringMatcher_match_pattern_oneofcases; -UPB_INLINE xds_type_matcher_v3_StringMatcher_match_pattern_oneofcases xds_type_matcher_v3_StringMatcher_match_pattern_case(const xds_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return (xds_type_matcher_v3_StringMatcher_match_pattern_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_StringMatcher_clear_exact(xds_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView xds_type_matcher_v3_StringMatcher_exact(const xds_type_matcher_v3_StringMatcher* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_StringMatcher_has_exact(const xds_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_StringMatcher_clear_prefix(xds_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView xds_type_matcher_v3_StringMatcher_prefix(const xds_type_matcher_v3_StringMatcher* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_StringMatcher_has_prefix(const xds_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_StringMatcher_clear_suffix(xds_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView xds_type_matcher_v3_StringMatcher_suffix(const xds_type_matcher_v3_StringMatcher* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_StringMatcher_has_suffix(const xds_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_StringMatcher_clear_safe_regex(xds_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct xds_type_matcher_v3_RegexMatcher* xds_type_matcher_v3_StringMatcher_safe_regex(const xds_type_matcher_v3_StringMatcher* msg) { - const struct xds_type_matcher_v3_RegexMatcher* default_val = NULL; - const struct xds_type_matcher_v3_RegexMatcher* ret; - const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_StringMatcher_has_safe_regex(const xds_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_matcher_v3_StringMatcher_clear_ignore_case(xds_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE bool xds_type_matcher_v3_StringMatcher_ignore_case(const xds_type_matcher_v3_StringMatcher* msg) { - bool default_val = false; - bool ret; - const upb_MiniTableField field = {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_type_matcher_v3_StringMatcher_clear_contains(xds_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE upb_StringView xds_type_matcher_v3_StringMatcher_contains(const xds_type_matcher_v3_StringMatcher* msg) { - upb_StringView default_val = upb_StringView_FromString(""); - upb_StringView ret; - const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_matcher_v3_StringMatcher_has_contains(const xds_type_matcher_v3_StringMatcher* msg) { - const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void xds_type_matcher_v3_StringMatcher_set_exact(xds_type_matcher_v3_StringMatcher *msg, upb_StringView value) { - const upb_MiniTableField field = {1, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void xds_type_matcher_v3_StringMatcher_set_prefix(xds_type_matcher_v3_StringMatcher *msg, upb_StringView value) { - const upb_MiniTableField field = {2, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void xds_type_matcher_v3_StringMatcher_set_suffix(xds_type_matcher_v3_StringMatcher *msg, upb_StringView value) { - const upb_MiniTableField field = {3, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void xds_type_matcher_v3_StringMatcher_set_safe_regex(xds_type_matcher_v3_StringMatcher *msg, struct xds_type_matcher_v3_RegexMatcher* value) { - const upb_MiniTableField field = {5, 8, -5, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_matcher_v3_RegexMatcher* xds_type_matcher_v3_StringMatcher_mutable_safe_regex(xds_type_matcher_v3_StringMatcher* msg, upb_Arena* arena) { - struct xds_type_matcher_v3_RegexMatcher* sub = (struct xds_type_matcher_v3_RegexMatcher*)xds_type_matcher_v3_StringMatcher_safe_regex(msg); - if (sub == NULL) { - sub = (struct xds_type_matcher_v3_RegexMatcher*)_upb_Message_New(&xds_type_matcher_v3_RegexMatcher_msg_init, arena); - if (sub) xds_type_matcher_v3_StringMatcher_set_safe_regex(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_matcher_v3_StringMatcher_set_ignore_case(xds_type_matcher_v3_StringMatcher *msg, bool value) { - const upb_MiniTableField field = {6, 0, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void xds_type_matcher_v3_StringMatcher_set_contains(xds_type_matcher_v3_StringMatcher *msg, upb_StringView value) { - const upb_MiniTableField field = {7, 8, -5, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* xds.type.matcher.v3.ListStringMatcher */ - -UPB_INLINE xds_type_matcher_v3_ListStringMatcher* xds_type_matcher_v3_ListStringMatcher_new(upb_Arena* arena) { - return (xds_type_matcher_v3_ListStringMatcher*)_upb_Message_New(&xds_type_matcher_v3_ListStringMatcher_msg_init, arena); -} -UPB_INLINE xds_type_matcher_v3_ListStringMatcher* xds_type_matcher_v3_ListStringMatcher_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_matcher_v3_ListStringMatcher* ret = xds_type_matcher_v3_ListStringMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_ListStringMatcher_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_matcher_v3_ListStringMatcher* xds_type_matcher_v3_ListStringMatcher_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_matcher_v3_ListStringMatcher* ret = xds_type_matcher_v3_ListStringMatcher_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_matcher_v3_ListStringMatcher_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_matcher_v3_ListStringMatcher_serialize(const xds_type_matcher_v3_ListStringMatcher* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_ListStringMatcher_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_matcher_v3_ListStringMatcher_serialize_ex(const xds_type_matcher_v3_ListStringMatcher* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_matcher_v3_ListStringMatcher_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_matcher_v3_ListStringMatcher_clear_patterns(xds_type_matcher_v3_ListStringMatcher* msg) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_matcher_v3_StringMatcher* const* xds_type_matcher_v3_ListStringMatcher_patterns(const xds_type_matcher_v3_ListStringMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (const xds_type_matcher_v3_StringMatcher* const*)_upb_array_constptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE const upb_Array* _xds_type_matcher_v3_ListStringMatcher_patterns_upb_array(const xds_type_matcher_v3_ListStringMatcher* msg, size_t* size) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - const upb_Array* arr = upb_Message_GetArray(msg, &field); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE upb_Array* _xds_type_matcher_v3_ListStringMatcher_patterns_mutable_upb_array(const xds_type_matcher_v3_ListStringMatcher* msg, size_t* size, upb_Arena* arena) { - const upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray( - (upb_Message*)msg, &field, arena); - if (size) { - *size = arr ? arr->size : 0; - } - return arr; -} -UPB_INLINE bool xds_type_matcher_v3_ListStringMatcher_has_patterns(const xds_type_matcher_v3_ListStringMatcher* msg) { - size_t size; - xds_type_matcher_v3_ListStringMatcher_patterns(msg, &size); - return size != 0; -} - -UPB_INLINE xds_type_matcher_v3_StringMatcher** xds_type_matcher_v3_ListStringMatcher_mutable_patterns(xds_type_matcher_v3_ListStringMatcher* msg, size_t* size) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetMutableArray(msg, &field); - if (arr) { - if (size) *size = arr->size; - return (xds_type_matcher_v3_StringMatcher**)_upb_array_ptr(arr); - } else { - if (size) *size = 0; - return NULL; - } -} -UPB_INLINE xds_type_matcher_v3_StringMatcher** xds_type_matcher_v3_ListStringMatcher_resize_patterns(xds_type_matcher_v3_ListStringMatcher* msg, size_t size, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (xds_type_matcher_v3_StringMatcher**)upb_Message_ResizeArrayUninitialized(msg, &field, size, arena); -} -UPB_INLINE struct xds_type_matcher_v3_StringMatcher* xds_type_matcher_v3_ListStringMatcher_add_patterns(xds_type_matcher_v3_ListStringMatcher* msg, upb_Arena* arena) { - upb_MiniTableField field = {1, 0, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, &field, arena); - if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { - return NULL; - } - struct xds_type_matcher_v3_StringMatcher* sub = (struct xds_type_matcher_v3_StringMatcher*)_upb_Message_New(&xds_type_matcher_v3_StringMatcher_msg_init, arena); - if (!arr || !sub) return NULL; - _upb_Array_Set(arr, arr->size - 1, &sub, sizeof(sub)); - return sub; -} - -extern const upb_MiniTableFile xds_type_matcher_v3_string_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_MATCHER_V3_STRING_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/type/v3/cel.upb.c b/src/core/ext/upb-generated/xds/type/v3/cel.upb.c deleted file mode 100644 index 9d00a5b1afe..00000000000 --- a/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +++ /dev/null @@ -1,80 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/v3/cel.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/type/v3/cel.upb.h" -#include "google/api/expr/v1alpha1/checked.upb.h" -#include "google/api/expr/v1alpha1/syntax.upb.h" -#include "google/protobuf/wrappers.upb.h" -#include "xds/annotations/v3/status.upb.h" -#include "validate/validate.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_type_v3_CelExpression_submsgs[2] = { - {.submsg = &google_api_expr_v1alpha1_ParsedExpr_msg_init}, - {.submsg = &google_api_expr_v1alpha1_CheckedExpr_msg_init}, -}; - -static const upb_MiniTableField xds_type_v3_CelExpression__fields[2] = { - {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_v3_CelExpression_msg_init = { - &xds_type_v3_CelExpression_submsgs[0], - &xds_type_v3_CelExpression__fields[0], - UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_pom_1bt_maxmaxb}, - {0x0008000002010012, &upb_pom_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableSub xds_type_v3_CelExtractString_submsgs[2] = { - {.submsg = &xds_type_v3_CelExpression_msg_init}, - {.submsg = &google_protobuf_StringValue_msg_init}, -}; - -static const upb_MiniTableField xds_type_v3_CelExtractString__fields[2] = { - {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_v3_CelExtractString_msg_init = { - &xds_type_v3_CelExtractString_submsgs[0], - &xds_type_v3_CelExtractString__fields[0], - UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800000100000a, &upb_psm_1bt_max64b}, - {0x0010000002010012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[2] = { - &xds_type_v3_CelExpression_msg_init, - &xds_type_v3_CelExtractString_msg_init, -}; - -const upb_MiniTableFile xds_type_v3_cel_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 2, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/type/v3/cel.upb.h b/src/core/ext/upb-generated/xds/type/v3/cel.upb.h deleted file mode 100644 index b005d04790f..00000000000 --- a/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +++ /dev/null @@ -1,232 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/v3/cel.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_V3_CEL_PROTO_UPB_H_ -#define XDS_TYPE_V3_CEL_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_type_v3_CelExpression xds_type_v3_CelExpression; -typedef struct xds_type_v3_CelExtractString xds_type_v3_CelExtractString; -extern const upb_MiniTable xds_type_v3_CelExpression_msg_init; -extern const upb_MiniTable xds_type_v3_CelExtractString_msg_init; -struct google_api_expr_v1alpha1_CheckedExpr; -struct google_api_expr_v1alpha1_ParsedExpr; -struct google_protobuf_StringValue; -extern const upb_MiniTable google_api_expr_v1alpha1_CheckedExpr_msg_init; -extern const upb_MiniTable google_api_expr_v1alpha1_ParsedExpr_msg_init; -extern const upb_MiniTable google_protobuf_StringValue_msg_init; - - - -/* xds.type.v3.CelExpression */ - -UPB_INLINE xds_type_v3_CelExpression* xds_type_v3_CelExpression_new(upb_Arena* arena) { - return (xds_type_v3_CelExpression*)_upb_Message_New(&xds_type_v3_CelExpression_msg_init, arena); -} -UPB_INLINE xds_type_v3_CelExpression* xds_type_v3_CelExpression_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_v3_CelExpression* ret = xds_type_v3_CelExpression_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_v3_CelExpression_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_v3_CelExpression* xds_type_v3_CelExpression_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_v3_CelExpression* ret = xds_type_v3_CelExpression_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_v3_CelExpression_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_v3_CelExpression_serialize(const xds_type_v3_CelExpression* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_v3_CelExpression_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_v3_CelExpression_serialize_ex(const xds_type_v3_CelExpression* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_v3_CelExpression_msg_init, options, arena, &ptr, len); - return ptr; -} -typedef enum { - xds_type_v3_CelExpression_expr_specifier_parsed_expr = 1, - xds_type_v3_CelExpression_expr_specifier_checked_expr = 2, - xds_type_v3_CelExpression_expr_specifier_NOT_SET = 0 -} xds_type_v3_CelExpression_expr_specifier_oneofcases; -UPB_INLINE xds_type_v3_CelExpression_expr_specifier_oneofcases xds_type_v3_CelExpression_expr_specifier_case(const xds_type_v3_CelExpression* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return (xds_type_v3_CelExpression_expr_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(msg, &field); -} -UPB_INLINE void xds_type_v3_CelExpression_clear_parsed_expr(xds_type_v3_CelExpression* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_api_expr_v1alpha1_ParsedExpr* xds_type_v3_CelExpression_parsed_expr(const xds_type_v3_CelExpression* msg) { - const struct google_api_expr_v1alpha1_ParsedExpr* default_val = NULL; - const struct google_api_expr_v1alpha1_ParsedExpr* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_v3_CelExpression_has_parsed_expr(const xds_type_v3_CelExpression* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_v3_CelExpression_clear_checked_expr(xds_type_v3_CelExpression* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_api_expr_v1alpha1_CheckedExpr* xds_type_v3_CelExpression_checked_expr(const xds_type_v3_CelExpression* msg) { - const struct google_api_expr_v1alpha1_CheckedExpr* default_val = NULL; - const struct google_api_expr_v1alpha1_CheckedExpr* ret; - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_v3_CelExpression_has_checked_expr(const xds_type_v3_CelExpression* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void xds_type_v3_CelExpression_set_parsed_expr(xds_type_v3_CelExpression *msg, struct google_api_expr_v1alpha1_ParsedExpr* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_api_expr_v1alpha1_ParsedExpr* xds_type_v3_CelExpression_mutable_parsed_expr(xds_type_v3_CelExpression* msg, upb_Arena* arena) { - struct google_api_expr_v1alpha1_ParsedExpr* sub = (struct google_api_expr_v1alpha1_ParsedExpr*)xds_type_v3_CelExpression_parsed_expr(msg); - if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_ParsedExpr*)_upb_Message_New(&google_api_expr_v1alpha1_ParsedExpr_msg_init, arena); - if (sub) xds_type_v3_CelExpression_set_parsed_expr(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_v3_CelExpression_set_checked_expr(xds_type_v3_CelExpression *msg, struct google_api_expr_v1alpha1_CheckedExpr* value) { - const upb_MiniTableField field = {2, UPB_SIZE(4, 8), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_api_expr_v1alpha1_CheckedExpr* xds_type_v3_CelExpression_mutable_checked_expr(xds_type_v3_CelExpression* msg, upb_Arena* arena) { - struct google_api_expr_v1alpha1_CheckedExpr* sub = (struct google_api_expr_v1alpha1_CheckedExpr*)xds_type_v3_CelExpression_checked_expr(msg); - if (sub == NULL) { - sub = (struct google_api_expr_v1alpha1_CheckedExpr*)_upb_Message_New(&google_api_expr_v1alpha1_CheckedExpr_msg_init, arena); - if (sub) xds_type_v3_CelExpression_set_checked_expr(msg, sub); - } - return sub; -} - -/* xds.type.v3.CelExtractString */ - -UPB_INLINE xds_type_v3_CelExtractString* xds_type_v3_CelExtractString_new(upb_Arena* arena) { - return (xds_type_v3_CelExtractString*)_upb_Message_New(&xds_type_v3_CelExtractString_msg_init, arena); -} -UPB_INLINE xds_type_v3_CelExtractString* xds_type_v3_CelExtractString_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_v3_CelExtractString* ret = xds_type_v3_CelExtractString_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_v3_CelExtractString_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_v3_CelExtractString* xds_type_v3_CelExtractString_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_v3_CelExtractString* ret = xds_type_v3_CelExtractString_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_v3_CelExtractString_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_v3_CelExtractString_serialize(const xds_type_v3_CelExtractString* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_v3_CelExtractString_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_v3_CelExtractString_serialize_ex(const xds_type_v3_CelExtractString* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_v3_CelExtractString_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_v3_CelExtractString_clear_expr_extract(xds_type_v3_CelExtractString* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const xds_type_v3_CelExpression* xds_type_v3_CelExtractString_expr_extract(const xds_type_v3_CelExtractString* msg) { - const xds_type_v3_CelExpression* default_val = NULL; - const xds_type_v3_CelExpression* ret; - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_v3_CelExtractString_has_expr_extract(const xds_type_v3_CelExtractString* msg) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} -UPB_INLINE void xds_type_v3_CelExtractString_clear_default_value(xds_type_v3_CelExtractString* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE const struct google_protobuf_StringValue* xds_type_v3_CelExtractString_default_value(const xds_type_v3_CelExtractString* msg) { - const struct google_protobuf_StringValue* default_val = NULL; - const struct google_protobuf_StringValue* ret; - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE bool xds_type_v3_CelExtractString_has_default_value(const xds_type_v3_CelExtractString* msg) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - return _upb_Message_HasNonExtensionField(msg, &field); -} - -UPB_INLINE void xds_type_v3_CelExtractString_set_expr_extract(xds_type_v3_CelExtractString *msg, xds_type_v3_CelExpression* value) { - const upb_MiniTableField field = {1, UPB_SIZE(4, 8), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct xds_type_v3_CelExpression* xds_type_v3_CelExtractString_mutable_expr_extract(xds_type_v3_CelExtractString* msg, upb_Arena* arena) { - struct xds_type_v3_CelExpression* sub = (struct xds_type_v3_CelExpression*)xds_type_v3_CelExtractString_expr_extract(msg); - if (sub == NULL) { - sub = (struct xds_type_v3_CelExpression*)_upb_Message_New(&xds_type_v3_CelExpression_msg_init, arena); - if (sub) xds_type_v3_CelExtractString_set_expr_extract(msg, sub); - } - return sub; -} -UPB_INLINE void xds_type_v3_CelExtractString_set_default_value(xds_type_v3_CelExtractString *msg, struct google_protobuf_StringValue* value) { - const upb_MiniTableField field = {2, UPB_SIZE(8, 16), 2, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE struct google_protobuf_StringValue* xds_type_v3_CelExtractString_mutable_default_value(xds_type_v3_CelExtractString* msg, upb_Arena* arena) { - struct google_protobuf_StringValue* sub = (struct google_protobuf_StringValue*)xds_type_v3_CelExtractString_default_value(msg); - if (sub == NULL) { - sub = (struct google_protobuf_StringValue*)_upb_Message_New(&google_protobuf_StringValue_msg_init, arena); - if (sub) xds_type_v3_CelExtractString_set_default_value(msg, sub); - } - return sub; -} - -extern const upb_MiniTableFile xds_type_v3_cel_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_V3_CEL_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/type/v3/range.upb.c b/src/core/ext/upb-generated/xds/type/v3/range.upb.c deleted file mode 100644 index 2452c43c784..00000000000 --- a/src/core/ext/upb-generated/xds/type/v3/range.upb.c +++ /dev/null @@ -1,83 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/v3/range.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/type/v3/range.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableField xds_type_v3_Int64Range__fields[2] = { - {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_v3_Int64Range_msg_init = { - NULL, - &xds_type_v3_Int64Range__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv8_1bt}, - {0x000800003f000010, &upb_psv8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField xds_type_v3_Int32Range__fields[2] = { - {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, - {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_v3_Int32Range_msg_init = { - NULL, - &xds_type_v3_Int32Range__fields[0], - 8, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000008, &upb_psv4_1bt}, - {0x000400003f000010, &upb_psv4_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTableField xds_type_v3_DoubleRange__fields[2] = { - {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, - {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_v3_DoubleRange_msg_init = { - NULL, - &xds_type_v3_DoubleRange__fields[0], - 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000000003f000009, &upb_psf8_1bt}, - {0x000800003f000011, &upb_psf8_1bt}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[3] = { - &xds_type_v3_Int64Range_msg_init, - &xds_type_v3_Int32Range_msg_init, - &xds_type_v3_DoubleRange_msg_init, -}; - -const upb_MiniTableFile xds_type_v3_range_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 3, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upb-generated/xds/type/v3/range.upb.h b/src/core/ext/upb-generated/xds/type/v3/range.upb.h deleted file mode 100644 index 6a435f3773f..00000000000 --- a/src/core/ext/upb-generated/xds/type/v3/range.upb.h +++ /dev/null @@ -1,238 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/v3/range.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_V3_RANGE_PROTO_UPB_H_ -#define XDS_TYPE_V3_RANGE_PROTO_UPB_H_ - -#include "upb/generated_code_support.h" -// Must be last. -#include "upb/port/def.inc" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct xds_type_v3_Int64Range xds_type_v3_Int64Range; -typedef struct xds_type_v3_Int32Range xds_type_v3_Int32Range; -typedef struct xds_type_v3_DoubleRange xds_type_v3_DoubleRange; -extern const upb_MiniTable xds_type_v3_Int64Range_msg_init; -extern const upb_MiniTable xds_type_v3_Int32Range_msg_init; -extern const upb_MiniTable xds_type_v3_DoubleRange_msg_init; - - - -/* xds.type.v3.Int64Range */ - -UPB_INLINE xds_type_v3_Int64Range* xds_type_v3_Int64Range_new(upb_Arena* arena) { - return (xds_type_v3_Int64Range*)_upb_Message_New(&xds_type_v3_Int64Range_msg_init, arena); -} -UPB_INLINE xds_type_v3_Int64Range* xds_type_v3_Int64Range_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_v3_Int64Range* ret = xds_type_v3_Int64Range_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_v3_Int64Range_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_v3_Int64Range* xds_type_v3_Int64Range_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_v3_Int64Range* ret = xds_type_v3_Int64Range_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_v3_Int64Range_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_v3_Int64Range_serialize(const xds_type_v3_Int64Range* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_v3_Int64Range_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_v3_Int64Range_serialize_ex(const xds_type_v3_Int64Range* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_v3_Int64Range_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_v3_Int64Range_clear_start(xds_type_v3_Int64Range* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int64_t xds_type_v3_Int64Range_start(const xds_type_v3_Int64Range* msg) { - int64_t default_val = (int64_t)0ll; - int64_t ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_type_v3_Int64Range_clear_end(xds_type_v3_Int64Range* msg) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int64_t xds_type_v3_Int64Range_end(const xds_type_v3_Int64Range* msg) { - int64_t default_val = (int64_t)0ll; - int64_t ret; - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void xds_type_v3_Int64Range_set_start(xds_type_v3_Int64Range *msg, int64_t value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void xds_type_v3_Int64Range_set_end(xds_type_v3_Int64Range *msg, int64_t value) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* xds.type.v3.Int32Range */ - -UPB_INLINE xds_type_v3_Int32Range* xds_type_v3_Int32Range_new(upb_Arena* arena) { - return (xds_type_v3_Int32Range*)_upb_Message_New(&xds_type_v3_Int32Range_msg_init, arena); -} -UPB_INLINE xds_type_v3_Int32Range* xds_type_v3_Int32Range_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_v3_Int32Range* ret = xds_type_v3_Int32Range_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_v3_Int32Range_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_v3_Int32Range* xds_type_v3_Int32Range_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_v3_Int32Range* ret = xds_type_v3_Int32Range_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_v3_Int32Range_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_v3_Int32Range_serialize(const xds_type_v3_Int32Range* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_v3_Int32Range_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_v3_Int32Range_serialize_ex(const xds_type_v3_Int32Range* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_v3_Int32Range_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_v3_Int32Range_clear_start(xds_type_v3_Int32Range* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t xds_type_v3_Int32Range_start(const xds_type_v3_Int32Range* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_type_v3_Int32Range_clear_end(xds_type_v3_Int32Range* msg) { - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE int32_t xds_type_v3_Int32Range_end(const xds_type_v3_Int32Range* msg) { - int32_t default_val = (int32_t)0; - int32_t ret; - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void xds_type_v3_Int32Range_set_start(xds_type_v3_Int32Range *msg, int32_t value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void xds_type_v3_Int32Range_set_end(xds_type_v3_Int32Range *msg, int32_t value) { - const upb_MiniTableField field = {2, 4, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -/* xds.type.v3.DoubleRange */ - -UPB_INLINE xds_type_v3_DoubleRange* xds_type_v3_DoubleRange_new(upb_Arena* arena) { - return (xds_type_v3_DoubleRange*)_upb_Message_New(&xds_type_v3_DoubleRange_msg_init, arena); -} -UPB_INLINE xds_type_v3_DoubleRange* xds_type_v3_DoubleRange_parse(const char* buf, size_t size, upb_Arena* arena) { - xds_type_v3_DoubleRange* ret = xds_type_v3_DoubleRange_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_v3_DoubleRange_msg_init, NULL, 0, arena) != kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE xds_type_v3_DoubleRange* xds_type_v3_DoubleRange_parse_ex(const char* buf, size_t size, - const upb_ExtensionRegistry* extreg, - int options, upb_Arena* arena) { - xds_type_v3_DoubleRange* ret = xds_type_v3_DoubleRange_new(arena); - if (!ret) return NULL; - if (upb_Decode(buf, size, ret, &xds_type_v3_DoubleRange_msg_init, extreg, options, arena) != - kUpb_DecodeStatus_Ok) { - return NULL; - } - return ret; -} -UPB_INLINE char* xds_type_v3_DoubleRange_serialize(const xds_type_v3_DoubleRange* msg, upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_v3_DoubleRange_msg_init, 0, arena, &ptr, len); - return ptr; -} -UPB_INLINE char* xds_type_v3_DoubleRange_serialize_ex(const xds_type_v3_DoubleRange* msg, int options, - upb_Arena* arena, size_t* len) { - char* ptr; - (void)upb_Encode(msg, &xds_type_v3_DoubleRange_msg_init, options, arena, &ptr, len); - return ptr; -} -UPB_INLINE void xds_type_v3_DoubleRange_clear_start(xds_type_v3_DoubleRange* msg) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE double xds_type_v3_DoubleRange_start(const xds_type_v3_DoubleRange* msg) { - double default_val = 0; - double ret; - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} -UPB_INLINE void xds_type_v3_DoubleRange_clear_end(xds_type_v3_DoubleRange* msg) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_ClearNonExtensionField(msg, &field); -} -UPB_INLINE double xds_type_v3_DoubleRange_end(const xds_type_v3_DoubleRange* msg) { - double default_val = 0; - double ret; - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_GetNonExtensionField(msg, &field, &default_val, &ret); - return ret; -} - -UPB_INLINE void xds_type_v3_DoubleRange_set_start(xds_type_v3_DoubleRange *msg, double value) { - const upb_MiniTableField field = {1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} -UPB_INLINE void xds_type_v3_DoubleRange_set_end(xds_type_v3_DoubleRange *msg, double value) { - const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; - _upb_Message_SetNonExtensionField(msg, &field, &value); -} - -extern const upb_MiniTableFile xds_type_v3_range_proto_upb_file_layout; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_V3_RANGE_PROTO_UPB_H_ */ diff --git a/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c b/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c deleted file mode 100644 index 92b392dff94..00000000000 --- a/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +++ /dev/null @@ -1,52 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/v3/typed_struct.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include -#include "upb/generated_code_support.h" -#include "xds/type/v3/typed_struct.upb.h" -#include "google/protobuf/struct.upb.h" - -// Must be last. -#include "upb/port/def.inc" - -static const upb_MiniTableSub xds_type_v3_TypedStruct_submsgs[1] = { - {.submsg = &google_protobuf_Struct_msg_init}, -}; - -static const upb_MiniTableField xds_type_v3_TypedStruct__fields[2] = { - {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, - {2, UPB_SIZE(4, 24), 1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, -}; - -const upb_MiniTable xds_type_v3_TypedStruct_msg_init = { - &xds_type_v3_TypedStruct_submsgs[0], - &xds_type_v3_TypedStruct__fields[0], - UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, - UPB_FASTTABLE_INIT({ - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - {0x000800003f00000a, &upb_pss_1bt}, - {0x0018000001000012, &upb_psm_1bt_maxmaxb}, - {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, - }) -}; - -static const upb_MiniTable *messages_layout[1] = { - &xds_type_v3_TypedStruct_msg_init, -}; - -const upb_MiniTableFile xds_type_v3_typed_struct_proto_upb_file_layout = { - messages_layout, - NULL, - NULL, - 1, - 0, - 0, -}; - -#include "upb/port/undef.inc" - diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c index aeb3ccf039c..8f6a6748873 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/certs.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/admin/v3/certs.upbdefs.h" -#include "envoy/admin/v3/certs.upb.h" +#include "envoy/admin/v3/certs.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_timestamp_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h similarity index 93% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h index 8235c2f71af..42f538d9bc4 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/certs.proto * @@ -10,7 +9,7 @@ #define ENVOY_ADMIN_V3_CERTS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c index 1cf9d08512c..ed193cd1e3c 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/clusters.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/admin/v3/clusters.upbdefs.h" -#include "envoy/admin/v3/clusters.upb.h" +#include "envoy/admin/v3/clusters.upb_minitable.h" extern _upb_DefPool_Init envoy_admin_v3_metrics_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_cluster_v3_circuit_breaker_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h similarity index 92% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h index 798ec107741..6a707fc74dd 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/clusters.proto * @@ -10,7 +9,7 @@ #define ENVOY_ADMIN_V3_CLUSTERS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c index 574f3a71625..dfc7eef8de0 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/config_dump.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/admin/v3/config_dump.upbdefs.h" -#include "envoy/admin/v3/config_dump.upb.h" +#include "envoy/admin/v3/config_dump.upb_minitable.h" extern _upb_DefPool_Init envoy_admin_v3_config_dump_shared_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_bootstrap_v3_bootstrap_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h similarity index 93% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h index 839bf59506e..bd97aec5c8d 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/config_dump.proto * @@ -10,7 +9,7 @@ #define ENVOY_ADMIN_V3_CONFIG_DUMP_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c index 77d231c96b5..34b51a3babe 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/config_dump_shared.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/admin/v3/config_dump_shared.upbdefs.h" -#include "envoy/admin/v3/config_dump_shared.upb.h" +#include "envoy/admin/v3/config_dump_shared.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_timestamp_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h index a528592c2df..2192701778c 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/config_dump_shared.proto * @@ -10,7 +9,7 @@ #define ENVOY_ADMIN_V3_CONFIG_DUMP_SHARED_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c similarity index 95% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c index c6ff92c6b79..2d79ca5a3a9 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/init_dump.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/admin/v3/init_dump.upbdefs.h" -#include "envoy/admin/v3/init_dump.upb.h" +#include "envoy/admin/v3/init_dump.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; static const char descriptor[416] = {'\n', '\036', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'd', 'm', 'i', 'n', '/', 'v', '3', '/', 'i', 'n', 'i', 't', '_', 'd', 'u', 'm', diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h similarity index 90% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h index b599767c818..4eb11f02e92 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/init_dump.proto * @@ -10,7 +9,7 @@ #define ENVOY_ADMIN_V3_INIT_DUMP_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c index e4aae5b5465..3ed0c4ee6c5 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/listeners.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/admin/v3/listeners.upbdefs.h" -#include "envoy/admin/v3/listeners.upb.h" +#include "envoy/admin/v3/listeners.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h similarity index 89% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h index 40e138b1fee..8e7d96037e5 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/listeners.proto * @@ -10,7 +9,7 @@ #define ENVOY_ADMIN_V3_LISTENERS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c index 31545c72392..0d40cd55ade 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/memory.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/admin/v3/memory.upbdefs.h" -#include "envoy/admin/v3/memory.upb.h" +#include "envoy/admin/v3/memory.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h similarity index 86% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h index 97eda40bc1e..9ea80bec681 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/memory.proto * @@ -10,7 +9,7 @@ #define ENVOY_ADMIN_V3_MEMORY_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c index 6e35cecf6f1..388ee91459f 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/metrics.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/admin/v3/metrics.upbdefs.h" -#include "envoy/admin/v3/metrics.upb.h" +#include "envoy/admin/v3/metrics.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h similarity index 86% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h index 48da546a45b..71297b5c9ee 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/metrics.proto * @@ -10,7 +9,7 @@ #define ENVOY_ADMIN_V3_METRICS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c index 919cd893545..55bb5545d27 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/mutex_stats.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/admin/v3/mutex_stats.upbdefs.h" -#include "envoy/admin/v3/mutex_stats.upb.h" +#include "envoy/admin/v3/mutex_stats.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h index 67ae02284d9..0b34cf49c54 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/mutex_stats.proto * @@ -10,7 +9,7 @@ #define ENVOY_ADMIN_V3_MUTEX_STATS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c index 32cec198a57..9e9cd9db907 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/server_info.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/admin/v3/server_info.upbdefs.h" -#include "envoy/admin/v3/server_info.upb.h" +#include "envoy/admin/v3/server_info.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h similarity index 89% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h index a4eb49b68bf..9d632727852 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/server_info.proto * @@ -10,7 +9,7 @@ #define ENVOY_ADMIN_V3_SERVER_INFO_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c index 795ad092067..472ebda263b 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/tap.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/admin/v3/tap.upbdefs.h" -#include "envoy/admin/v3/tap.upb.h" +#include "envoy/admin/v3/tap.upb_minitable.h" extern _upb_DefPool_Init envoy_config_tap_v3_common_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h similarity index 86% rename from src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h index aa63548daaf..e122ecd5e0c 100644 --- a/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/admin/v3/tap.proto * @@ -10,7 +9,7 @@ #define ENVOY_ADMIN_V3_TAP_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c index db2e159e4c5..2a1cc9edfbc 100644 --- a/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/annotations/deprecation.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/annotations/deprecation.upbdefs.h" -#include "envoy/annotations/deprecation.upb.h" +#include "envoy/annotations/deprecation.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; static const char descriptor[550] = {'\n', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', diff --git a/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h similarity index 83% rename from src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h index 8bcbf9de7ae..b062ac67873 100644 --- a/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/annotations/deprecation.proto * @@ -10,7 +9,7 @@ #define ENVOY_ANNOTATIONS_DEPRECATION_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c new file mode 100644 index 00000000000..b5601d46d45 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c @@ -0,0 +1,37 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/annotations/resource.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/annotations/resource.upbdefs.h" +#include "envoy/annotations/resource.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; +static const char descriptor[300] = {'\n', ' ', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'r', 'e', 's', 'o', 'u', +'r', 'c', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\021', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', +'o', 'n', 's', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', +'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '(', '\n', '\022', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'A', +'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '\022', '\n', '\004', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', +'t', 'y', 'p', 'e', ':', 'e', '\n', '\010', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', '\022', '\037', '.', 'g', 'o', 'o', 'g', 'l', 'e', +'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', +'\301', '\344', '\262', '~', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', +'o', 'n', 's', '.', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\010', 'r', +'e', 's', 'o', 'u', 'r', 'c', 'e', 'B', ':', 'Z', '8', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', +'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', +'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[2] = { + &google_protobuf_descriptor_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_annotations_resource_proto_upbdefinit = { + deps, + &envoy_annotations_resource_proto_upb_file_layout, + "envoy/annotations/resource.proto", + UPB_STRINGVIEW_INIT(descriptor, 300) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h new file mode 100644 index 00000000000..57117e01b46 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/annotations/resource.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPBDEFS_H_ +#define ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_annotations_resource_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_annotations_ResourceAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_annotations_resource_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.annotations.ResourceAnnotation"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c new file mode 100644 index 00000000000..844eec40c7a --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c @@ -0,0 +1,233 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/accesslog/v3/accesslog.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/accesslog/v3/accesslog.upbdefs.h" +#include "envoy/config/accesslog/v3/accesslog.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_route_v3_route_components_proto_upbdefinit; +extern _upb_DefPool_Init envoy_data_accesslog_v3_accesslog_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_matcher_v3_metadata_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[4747] = {'\n', ')', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '/', +'v', '3', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'p', 'r', 'o', 't', 'o', '\022', '\031', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '\032', '\037', 'e', 'n', 'v', +'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', +'o', 't', 'o', '\032', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', +'3', '/', 'r', 'o', 'u', 't', 'e', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', +'\'', 'e', 'n', 'v', 'o', 'y', '/', 'd', 'a', 't', 'a', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '/', 'v', '3', '/', +'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', +'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'p', 'r', +'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', +'t', '.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', +'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', +'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', +'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', +'d', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', +'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', +'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\356', '\001', '\n', '\t', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', '\022', '\022', '\n', '\004', +'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'B', '\n', '\006', 'f', 'i', 'l', 't', 'e', +'r', '\030', '\002', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', +'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'i', 'l', 't', 'e', +'r', 'R', '\006', 'f', 'i', 'l', 't', 'e', 'r', '\022', '9', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', +'\030', '\004', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', +'A', 'n', 'y', 'H', '\000', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', ':', '1', '\232', '\305', '\210', '\036', ',', +'\n', '*', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', +'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'B', '\r', '\n', '\013', 'c', 'o', +'n', 'f', 'i', 'g', '_', 't', 'y', 'p', 'e', 'J', '\004', '\010', '\003', '\020', '\004', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\"', '\312', +'\t', '\n', '\017', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'i', 'l', 't', 'e', 'r', '\022', '[', '\n', '\022', 's', 't', 'a', +'t', 'u', 's', '_', 'c', 'o', 'd', 'e', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '+', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', +'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'd', 'e', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\020', 's', 't', 'a', 't', 'u', +'s', 'C', 'o', 'd', 'e', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'T', '\n', '\017', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '_', 'f', +'i', 'l', 't', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'F', 'i', +'l', 't', 'e', 'r', 'H', '\000', 'R', '\016', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'h', '\n', +'\027', 'n', 'o', 't', '_', 'h', 'e', 'a', 'l', 't', 'h', '_', 'c', 'h', 'e', 'c', 'k', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', +'\003', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', +'s', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'N', 'o', 't', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'F', 'i', +'l', 't', 'e', 'r', 'H', '\000', 'R', '\024', 'n', 'o', 't', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'F', 'i', 'l', +'t', 'e', 'r', '\022', 'W', '\n', '\020', 't', 'r', 'a', 'c', 'e', 'a', 'b', 'l', 'e', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\004', +' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', +'s', 'l', 'o', 'g', '.', 'v', '3', '.', 'T', 'r', 'a', 'c', 'e', 'a', 'b', 'l', 'e', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', +'R', '\017', 't', 'r', 'a', 'c', 'e', 'a', 'b', 'l', 'e', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'Q', '\n', '\016', 'r', 'u', 'n', 't', +'i', 'm', 'e', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\005', ' ', '\001', '(', '\013', '2', '(', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', +'m', 'e', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\r', 'r', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', +'\022', 'E', '\n', '\n', 'a', 'n', 'd', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\006', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', +'n', 'd', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\t', 'a', 'n', 'd', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'B', '\n', '\t', +'o', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\007', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'O', 'r', 'F', 'i', 'l', 't', +'e', 'r', 'H', '\000', 'R', '\010', 'o', 'r', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'N', '\n', '\r', 'h', 'e', 'a', 'd', 'e', 'r', '_', +'f', 'i', 'l', 't', 'e', 'r', '\030', '\010', ' ', '\001', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'i', 'l', +'t', 'e', 'r', 'H', '\000', 'R', '\014', 'h', 'e', 'a', 'd', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'a', '\n', '\024', 'r', 'e', +'s', 'p', 'o', 'n', 's', 'e', '_', 'f', 'l', 'a', 'g', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\t', ' ', '\001', '(', '\013', '2', +'-', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', +'v', '3', '.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\022', +'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 'F', 'i', 'l', 't', 'e', 'r', '\022', '[', '\n', '\022', 'g', 'r', 'p', +'c', '_', 's', 't', 'a', 't', 'u', 's', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\n', ' ', '\001', '(', '\013', '2', '+', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', +'G', 'r', 'p', 'c', 'S', 't', 'a', 't', 'u', 's', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\020', 'g', 'r', 'p', 'c', 'S', +'t', 'a', 't', 'u', 's', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'W', '\n', '\020', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '_', +'f', 'i', 'l', 't', 'e', 'r', '\030', '\013', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', +'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\017', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'F', 'i', 'l', 't', 'e', 'r', +'\022', 'T', '\n', '\017', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\014', ' ', '\001', '(', '\013', +'2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', +'.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\016', 'm', 'e', 't', +'a', 'd', 'a', 't', 'a', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'R', '\n', '\017', 'l', 'o', 'g', '_', 't', 'y', 'p', 'e', '_', 'f', +'i', 'l', 't', 'e', 'r', '\030', '\r', ' ', '\001', '(', '\013', '2', '(', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'L', 'o', 'g', 'T', 'y', 'p', 'e', 'F', 'i', 'l', +'t', 'e', 'r', 'H', '\000', 'R', '\r', 'l', 'o', 'g', 'T', 'y', 'p', 'e', 'F', 'i', 'l', 't', 'e', 'r', ':', '7', '\232', '\305', '\210', +'\036', '2', '\n', '0', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', +'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'i', 'l', 't', +'e', 'r', 'B', '\027', '\n', '\020', 'f', 'i', 'l', 't', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', +'B', '\001', '\"', '\371', '\001', '\n', '\020', 'C', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'H', +'\n', '\002', 'o', 'p', '\030', '\001', ' ', '\001', '(', '\016', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'C', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', 'F', +'i', 'l', 't', 'e', 'r', '.', 'O', 'p', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\002', 'o', 'p', '\022', 'C', '\n', +'\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'U', 'I', 'n', 't', '3', '2', 'B', +'\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'v', 'a', 'l', 'u', 'e', '\"', '\034', '\n', '\002', 'O', 'p', '\022', '\006', '\n', +'\002', 'E', 'Q', '\020', '\000', '\022', '\006', '\n', '\002', 'G', 'E', '\020', '\001', '\022', '\006', '\n', '\002', 'L', 'E', '\020', '\002', ':', '8', '\232', '\305', +'\210', '\036', '3', '\n', '1', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', +'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'C', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', 'F', 'i', +'l', 't', 'e', 'r', '\"', '\243', '\001', '\n', '\020', 'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'd', 'e', 'F', 'i', 'l', 't', 'e', 'r', +'\022', 'U', '\n', '\n', 'c', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '+', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'C', +'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', 'F', 'i', 'l', 't', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', +'R', '\n', 'c', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', ':', '8', '\232', '\305', '\210', '\036', '3', '\n', '1', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', +'.', 'v', '2', '.', 'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'd', 'e', 'F', 'i', 'l', 't', 'e', 'r', '\"', '\237', '\001', '\n', '\016', +'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'U', '\n', '\n', 'c', 'o', 'm', 'p', 'a', 'r', 'i', +'s', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '+', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'C', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', 'F', 'i', +'l', 't', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\n', 'c', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', +'n', ':', '6', '\232', '\305', '\210', '\036', '1', '\n', '/', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', +'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', +'n', 'F', 'i', 'l', 't', 'e', 'r', '\"', 'T', '\n', '\024', 'N', 'o', 't', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', +'F', 'i', 'l', 't', 'e', 'r', ':', '<', '\232', '\305', '\210', '\036', '7', '\n', '5', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'N', 'o', +'t', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'F', 'i', 'l', 't', 'e', 'r', '\"', 'J', '\n', '\017', 'T', 'r', 'a', +'c', 'e', 'a', 'b', 'l', 'e', 'F', 'i', 'l', 't', 'e', 'r', ':', '7', '\232', '\305', '\210', '\036', '2', '\n', '0', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', +'.', 'v', '2', '.', 'T', 'r', 'a', 'c', 'e', 'a', 'b', 'l', 'e', 'F', 'i', 'l', 't', 'e', 'r', '\"', '\371', '\001', '\n', '\r', 'R', +'u', 'n', 't', 'i', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', '\022', '(', '\n', '\013', 'r', 'u', 'n', 't', 'i', 'm', 'e', '_', 'k', +'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\n', 'r', 'u', 'n', 't', 'i', 'm', +'e', 'K', 'e', 'y', '\022', 'I', '\n', '\017', 'p', 'e', 'r', 'c', 'e', 'n', 't', '_', 's', 'a', 'm', 'p', 'l', 'e', 'd', '\030', '\002', +' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', +'t', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\016', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'S', 'a', 'm', +'p', 'l', 'e', 'd', '\022', '<', '\n', '\032', 'u', 's', 'e', '_', 'i', 'n', 'd', 'e', 'p', 'e', 'n', 'd', 'e', 'n', 't', '_', 'r', +'a', 'n', 'd', 'o', 'm', 'n', 'e', 's', 's', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\030', 'u', 's', 'e', 'I', 'n', 'd', 'e', 'p', +'e', 'n', 'd', 'e', 'n', 't', 'R', 'a', 'n', 'd', 'o', 'm', 'n', 'e', 's', 's', ':', '5', '\232', '\305', '\210', '\036', '0', '\n', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', +'s', 'l', 'o', 'g', '.', 'v', '2', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', '\"', '\216', '\001', '\n', +'\t', 'A', 'n', 'd', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'N', '\n', '\007', 'f', 'i', 'l', 't', 'e', 'r', 's', '\030', '\001', ' ', '\003', +'(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', +'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'i', 'l', 't', 'e', 'r', 'B', '\010', '\372', 'B', +'\005', '\222', '\001', '\002', '\010', '\002', 'R', '\007', 'f', 'i', 'l', 't', 'e', 'r', 's', ':', '1', '\232', '\305', '\210', '\036', ',', '\n', '*', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', +'l', 'o', 'g', '.', 'v', '2', '.', 'A', 'n', 'd', 'F', 'i', 'l', 't', 'e', 'r', '\"', '\214', '\001', '\n', '\010', 'O', 'r', 'F', 'i', +'l', 't', 'e', 'r', '\022', 'N', '\n', '\007', 'f', 'i', 'l', 't', 'e', 'r', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', '*', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', +'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'i', 'l', 't', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\002', +'R', '\007', 'f', 'i', 'l', 't', 'e', 'r', 's', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', +'.', 'O', 'r', 'F', 'i', 'l', 't', 'e', 'r', '\"', '\214', '\001', '\n', '\014', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'i', 'l', 't', 'e', +'r', '\022', 'F', '\n', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', +'t', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\006', 'h', 'e', 'a', 'd', 'e', 'r', ':', '4', +'\232', '\305', '\210', '\036', '/', '\n', '-', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', +'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'i', 'l', 't', +'e', 'r', '\"', '\365', '\001', '\n', '\022', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 'F', 'i', 'l', 't', 'e', 'r', +'\022', '\242', '\001', '\n', '\005', 'f', 'l', 'a', 'g', 's', '\030', '\001', ' ', '\003', '(', '\t', 'B', '\213', '\001', '\372', 'B', '\207', '\001', '\222', '\001', +'\203', '\001', '\"', '\200', '\001', 'r', '~', 'R', '\002', 'L', 'H', 'R', '\002', 'U', 'H', 'R', '\002', 'U', 'T', 'R', '\002', 'L', 'R', 'R', '\002', +'U', 'R', 'R', '\002', 'U', 'F', 'R', '\002', 'U', 'C', 'R', '\002', 'U', 'O', 'R', '\002', 'N', 'R', 'R', '\002', 'D', 'I', 'R', '\002', 'F', +'I', 'R', '\002', 'R', 'L', 'R', '\004', 'U', 'A', 'E', 'X', 'R', '\004', 'R', 'L', 'S', 'E', 'R', '\002', 'D', 'C', 'R', '\003', 'U', 'R', +'X', 'R', '\002', 'S', 'I', 'R', '\002', 'I', 'H', 'R', '\003', 'D', 'P', 'E', 'R', '\005', 'U', 'M', 'S', 'D', 'R', 'R', '\004', 'R', 'F', +'C', 'F', 'R', '\004', 'N', 'F', 'C', 'F', 'R', '\002', 'D', 'T', 'R', '\003', 'U', 'P', 'E', 'R', '\002', 'N', 'C', 'R', '\002', 'O', 'M', +'R', '\002', 'D', 'F', 'R', '\002', 'D', 'O', 'R', '\005', 'f', 'l', 'a', 'g', 's', ':', ':', '\232', '\305', '\210', '\036', '5', '\n', '3', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', +'l', 'o', 'g', '.', 'v', '2', '.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 'F', 'i', 'l', 't', 'e', 'r', +'\"', '\200', '\004', '\n', '\020', 'G', 'r', 'p', 'c', 'S', 't', 'a', 't', 'u', 's', 'F', 'i', 'l', 't', 'e', 'r', '\022', ']', '\n', '\010', +'s', 't', 'a', 't', 'u', 's', 'e', 's', '\030', '\001', ' ', '\003', '(', '\016', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'G', 'r', 'p', 'c', 'S', 't', 'a', +'t', 'u', 's', 'F', 'i', 'l', 't', 'e', 'r', '.', 'S', 't', 'a', 't', 'u', 's', 'B', '\r', '\372', 'B', '\n', '\222', '\001', '\007', '\"', +'\005', '\202', '\001', '\002', '\020', '\001', 'R', '\010', 's', 't', 'a', 't', 'u', 's', 'e', 's', '\022', '\030', '\n', '\007', 'e', 'x', 'c', 'l', 'u', +'d', 'e', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\007', 'e', 'x', 'c', 'l', 'u', 'd', 'e', '\"', '\270', '\002', '\n', '\006', 'S', 't', 'a', +'t', 'u', 's', '\022', '\006', '\n', '\002', 'O', 'K', '\020', '\000', '\022', '\014', '\n', '\010', 'C', 'A', 'N', 'C', 'E', 'L', 'E', 'D', '\020', '\001', +'\022', '\013', '\n', '\007', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\002', '\022', '\024', '\n', '\020', 'I', 'N', 'V', 'A', 'L', 'I', 'D', '_', +'A', 'R', 'G', 'U', 'M', 'E', 'N', 'T', '\020', '\003', '\022', '\025', '\n', '\021', 'D', 'E', 'A', 'D', 'L', 'I', 'N', 'E', '_', 'E', 'X', +'C', 'E', 'E', 'D', 'E', 'D', '\020', '\004', '\022', '\r', '\n', '\t', 'N', 'O', 'T', '_', 'F', 'O', 'U', 'N', 'D', '\020', '\005', '\022', '\022', +'\n', '\016', 'A', 'L', 'R', 'E', 'A', 'D', 'Y', '_', 'E', 'X', 'I', 'S', 'T', 'S', '\020', '\006', '\022', '\025', '\n', '\021', 'P', 'E', 'R', +'M', 'I', 'S', 'S', 'I', 'O', 'N', '_', 'D', 'E', 'N', 'I', 'E', 'D', '\020', '\007', '\022', '\026', '\n', '\022', 'R', 'E', 'S', 'O', 'U', +'R', 'C', 'E', '_', 'E', 'X', 'H', 'A', 'U', 'S', 'T', 'E', 'D', '\020', '\010', '\022', '\027', '\n', '\023', 'F', 'A', 'I', 'L', 'E', 'D', +'_', 'P', 'R', 'E', 'C', 'O', 'N', 'D', 'I', 'T', 'I', 'O', 'N', '\020', '\t', '\022', '\013', '\n', '\007', 'A', 'B', 'O', 'R', 'T', 'E', +'D', '\020', '\n', '\022', '\020', '\n', '\014', 'O', 'U', 'T', '_', 'O', 'F', '_', 'R', 'A', 'N', 'G', 'E', '\020', '\013', '\022', '\021', '\n', '\r', +'U', 'N', 'I', 'M', 'P', 'L', 'E', 'M', 'E', 'N', 'T', 'E', 'D', '\020', '\014', '\022', '\014', '\n', '\010', 'I', 'N', 'T', 'E', 'R', 'N', +'A', 'L', '\020', '\r', '\022', '\017', '\n', '\013', 'U', 'N', 'A', 'V', 'A', 'I', 'L', 'A', 'B', 'L', 'E', '\020', '\016', '\022', '\r', '\n', '\t', +'D', 'A', 'T', 'A', '_', 'L', 'O', 'S', 'S', '\020', '\017', '\022', '\023', '\n', '\017', 'U', 'N', 'A', 'U', 'T', 'H', 'E', 'N', 'T', 'I', +'C', 'A', 'T', 'E', 'D', '\020', '\020', ':', '8', '\232', '\305', '\210', '\036', '3', '\n', '1', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'G', +'r', 'p', 'c', 'S', 't', 'a', 't', 'u', 's', 'F', 'i', 'l', 't', 'e', 'r', '\"', '\332', '\001', '\n', '\016', 'M', 'e', 't', 'a', 'd', +'a', 't', 'a', 'F', 'i', 'l', 't', 'e', 'r', '\022', '@', '\n', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\001', ' ', '\001', '(', +'\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', +'.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', +'\022', 'N', '\n', '\026', 'm', 'a', 't', 'c', 'h', '_', 'i', 'f', '_', 'k', 'e', 'y', '_', 'n', 'o', 't', '_', 'f', 'o', 'u', 'n', +'d', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\022', 'm', 'a', 't', 'c', 'h', 'I', 'f', 'K', 'e', 'y', 'N', 'o', 't', +'F', 'o', 'u', 'n', 'd', ':', '6', '\232', '\305', '\210', '\036', '1', '\n', '/', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'M', 'e', 't', +'a', 'd', 'a', 't', 'a', 'F', 'i', 'l', 't', 'e', 'r', '\"', 'v', '\n', '\r', 'L', 'o', 'g', 'T', 'y', 'p', 'e', 'F', 'i', 'l', +'t', 'e', 'r', '\022', 'K', '\n', '\005', 't', 'y', 'p', 'e', 's', '\030', '\001', ' ', '\003', '(', '\016', '2', '&', '.', 'e', 'n', 'v', 'o', +'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', +'s', 'L', 'o', 'g', 'T', 'y', 'p', 'e', 'B', '\r', '\372', 'B', '\n', '\222', '\001', '\007', '\"', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\005', +'t', 'y', 'p', 'e', 's', '\022', '\030', '\n', '\007', 'e', 'x', 'c', 'l', 'u', 'd', 'e', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\007', 'e', +'x', 'c', 'l', 'u', 'd', 'e', '\"', '\266', '\001', '\n', '\017', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'F', 'i', 'l', 't', 'e', +'r', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '9', '\n', '\014', +'t', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', +'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'H', '\000', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', +'o', 'n', 'f', 'i', 'g', ':', '7', '\232', '\305', '\210', '\036', '2', '\n', '0', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'E', 'x', 't', +'e', 'n', 's', 'i', 'o', 'n', 'F', 'i', 'l', 't', 'e', 'r', 'B', '\r', '\n', '\013', 'c', 'o', 'n', 'f', 'i', 'g', '_', 't', 'y', +'p', 'e', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', 'B', '\221', '\001', '\n', '\'', 'i', 'o', '.', 'e', +'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', +'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', 'B', '\016', 'A', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', 'P', 'r', 'o', 't', +'o', 'P', '\001', 'Z', 'L', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', +'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', +'c', 'o', 'n', 'f', 'i', 'g', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '/', 'v', '3', ';', 'a', 'c', 'c', 'e', 's', +'s', 'l', 'o', 'g', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[11] = { + &envoy_config_core_v3_base_proto_upbdefinit, + &envoy_config_route_v3_route_components_proto_upbdefinit, + &envoy_data_accesslog_v3_accesslog_proto_upbdefinit, + &envoy_type_matcher_v3_metadata_proto_upbdefinit, + &envoy_type_v3_percent_proto_upbdefinit, + &google_protobuf_any_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_accesslog_v3_accesslog_proto_upbdefinit = { + deps, + &envoy_config_accesslog_v3_accesslog_proto_upb_file_layout, + "envoy/config/accesslog/v3/accesslog.proto", + UPB_STRINGVIEW_INIT(descriptor, 4747) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h new file mode 100644 index 00000000000..2b520e13acf --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h @@ -0,0 +1,110 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/accesslog/v3/accesslog.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPBDEFS_H_ +#define ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_config_accesslog_v3_accesslog_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_AccessLog_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.AccessLog"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_AccessLogFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.AccessLogFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_ComparisonFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.ComparisonFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_StatusCodeFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.StatusCodeFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_DurationFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.DurationFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_NotHealthCheckFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.NotHealthCheckFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_TraceableFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.TraceableFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_RuntimeFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.RuntimeFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_AndFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.AndFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_OrFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.OrFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_HeaderFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.HeaderFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_ResponseFlagFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.ResponseFlagFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_GrpcStatusFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.GrpcStatusFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_MetadataFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.MetadataFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_LogTypeFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.LogTypeFilter"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_ExtensionFilter_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.ExtensionFilter"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c new file mode 100644 index 00000000000..06d6abbaf7e --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c @@ -0,0 +1,444 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/bootstrap/v3/bootstrap.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/bootstrap/v3/bootstrap.upbdefs.h" +#include "envoy/config/bootstrap/v3/bootstrap.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_accesslog_v3_accesslog_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_cluster_v3_cluster_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_config_source_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_event_service_config_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_resolver_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_socket_option_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_listener_v3_listener_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_metrics_v3_stats_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_overload_v3_overload_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_trace_v3_http_tracer_proto_upbdefinit; +extern _upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_secret_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_security_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[9320] = {'\n', ')', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '/', +'v', '3', '/', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'p', 'r', 'o', 't', 'o', '\022', '\031', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '\032', ')', 'e', 'n', 'v', +'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '/', 'v', '3', '/', 'a', 'c', +'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '%', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', +'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'p', 'r', 'o', +'t', 'o', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', +'a', 'd', 'd', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', +'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', +'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'n', 'f', 'i', 'g', +'_', 's', 'o', 'u', 'r', 'c', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', +'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'v', 'e', 'n', 't', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '_', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', +'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', +'\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'r', 'e', +'s', 'o', 'l', 'v', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', +'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 's', 'o', 'c', 'k', 'e', 't', '_', 'o', 'p', 't', 'i', 'o', 'n', '.', 'p', +'r', 'o', 't', 'o', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'l', 'i', 's', 't', 'e', 'n', +'e', 'r', '/', 'v', '3', '/', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', +'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'm', 'e', 't', 'r', 'i', 'c', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', +'s', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'o', 'v', 'e', +'r', 'l', 'o', 'a', 'd', '/', 'v', '3', '/', 'o', 'v', 'e', 'r', 'l', 'o', 'a', 'd', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', +'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', '/', 'h', 't', 't', +'p', '_', 't', 'r', 'a', 'c', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '6', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', +'e', 'n', 's', 'i', 'o', 'n', 's', '/', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', +'/', 't', 'l', 's', '/', 'v', '3', '/', 's', 'e', 'c', 'r', 'e', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', +'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', +'\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', +'.', 'p', 'r', 'o', 't', 'o', '\032', '\034', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 's', +'t', 'r', 'u', 'c', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', +'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', +'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', +'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', +'t', 'i', 'o', 'n', 's', '/', 's', 'e', 'c', 'u', 'r', 'i', 't', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', +'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', +'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', +'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', +'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\254', '#', '\n', '\t', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', +'\022', '.', '\n', '\004', 'n', 'o', 'd', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'N', 'o', 'd', 'e', 'R', '\004', 'n', 'o', 'd', 'e', '\022', '.', +'\n', '\023', 'n', 'o', 'd', 'e', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', 'p', 'a', 'r', 'a', 'm', 's', '\030', '\032', ' ', '\003', +'(', '\t', 'R', '\021', 'n', 'o', 'd', 'e', 'C', 'o', 'n', 't', 'e', 'x', 't', 'P', 'a', 'r', 'a', 'm', 's', '\022', '_', '\n', '\020', +'s', 't', 'a', 't', 'i', 'c', '_', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '4', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', +'.', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'S', 't', 'a', 't', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', +'s', 'R', '\017', 's', 't', 'a', 't', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '\022', 'b', '\n', '\021', 'd', 'y', 'n', +'a', 'm', 'i', 'c', '_', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '5', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'B', +'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', +'R', '\020', 'd', 'y', 'n', 'a', 'm', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '\022', 'R', '\n', '\017', 'c', 'l', 'u', +'s', 't', 'e', 'r', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '\030', '\004', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'C', 'l', 'u', +'s', 't', 'e', 'r', 'M', 'a', 'n', 'a', 'g', 'e', 'r', 'R', '\016', 'c', 'l', 'u', 's', 't', 'e', 'r', 'M', 'a', 'n', 'a', 'g', +'e', 'r', '\022', 'D', '\n', '\n', 'h', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\016', ' ', '\001', '(', '\013', '2', '%', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'p', 'i', 'C', +'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\t', 'h', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\035', '\n', +'\n', 'f', 'l', 'a', 'g', 's', '_', 'p', 'a', 't', 'h', '\030', '\005', ' ', '\001', '(', '\t', 'R', '\t', 'f', 'l', 'a', 'g', 's', 'P', +'a', 't', 'h', '\022', 'C', '\n', '\013', 's', 't', 'a', 't', 's', '_', 's', 'i', 'n', 'k', 's', '\030', '\006', ' ', '\003', '(', '\013', '2', +'\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'm', 'e', 't', 'r', 'i', 'c', 's', '.', 'v', '3', +'.', 'S', 't', 'a', 't', 's', 'S', 'i', 'n', 'k', 'R', '\n', 's', 't', 'a', 't', 's', 'S', 'i', 'n', 'k', 's', '\022', 'l', '\n', +'\025', 'd', 'e', 'f', 'e', 'r', 'r', 'e', 'd', '_', 's', 't', 'a', 't', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\'', ' ', +'\001', '(', '\013', '2', '8', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', +'r', 'a', 'p', '.', 'v', '3', '.', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'D', 'e', 'f', 'e', 'r', 'r', 'e', 'd', +'S', 't', 'a', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\023', 'd', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'S', 't', 'a', 't', +'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'G', '\n', '\014', 's', 't', 'a', 't', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\r', +' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'm', 'e', 't', 'r', 'i', +'c', 's', '.', 'v', '3', '.', 'S', 't', 'a', 't', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\013', 's', 't', 'a', 't', 's', 'C', +'o', 'n', 'f', 'i', 'g', '\022', 'q', '\n', '\024', 's', 't', 'a', 't', 's', '_', 'f', 'l', 'u', 's', 'h', '_', 'i', 'n', 't', 'e', +'r', 'v', 'a', 'l', '\030', '\007', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '$', '\372', 'B', '\016', '\252', '\001', '\013', '\032', '\003', '\010', '\254', '\002', +'2', '\004', '\020', '\300', '\204', '=', '\362', '\230', '\376', '\217', '\005', '\r', '\022', '\013', 's', 't', 'a', 't', 's', '_', 'f', 'l', 'u', 's', 'h', +'R', '\022', 's', 't', 'a', 't', 's', 'F', 'l', 'u', 's', 'h', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\022', ':', '\n', '\024', 's', +'t', 'a', 't', 's', '_', 'f', 'l', 'u', 's', 'h', '_', 'o', 'n', '_', 'a', 'd', 'm', 'i', 'n', '\030', '\035', ' ', '\001', '(', '\010', +'B', '\007', '\372', 'B', '\004', 'j', '\002', '\010', '\001', 'H', '\000', 'R', '\021', 's', 't', 'a', 't', 's', 'F', 'l', 'u', 's', 'h', 'O', 'n', +'A', 'd', 'm', 'i', 'n', '\022', 'L', '\n', '\010', 'w', 'a', 't', 'c', 'h', 'd', 'o', 'g', '\030', '\010', ' ', '\001', '(', '\013', '2', '#', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', +'3', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\010', +'w', 'a', 't', 'c', 'h', 'd', 'o', 'g', '\022', 'B', '\n', '\t', 'w', 'a', 't', 'c', 'h', 'd', 'o', 'g', 's', '\030', '\033', ' ', '\001', +'(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', +'a', 'p', '.', 'v', '3', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', 's', 'R', '\t', 'w', 'a', 't', 'c', 'h', 'd', 'o', 'g', +'s', '\022', 'E', '\n', '\007', 't', 'r', 'a', 'c', 'i', 'n', 'g', '\030', '\t', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', '.', 'T', 'r', 'a', 'c', 'i', 'n', 'g', +'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\007', 't', 'r', 'a', 'c', 'i', 'n', 'g', '\022', 'R', '\n', +'\017', 'l', 'a', 'y', 'e', 'r', 'e', 'd', '_', 'r', 'u', 'n', 't', 'i', 'm', 'e', '\030', '\021', ' ', '\001', '(', '\013', '2', ')', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', +'.', 'L', 'a', 'y', 'e', 'r', 'e', 'd', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'R', '\016', 'l', 'a', 'y', 'e', 'r', 'e', 'd', 'R', +'u', 'n', 't', 'i', 'm', 'e', '\022', '6', '\n', '\005', 'a', 'd', 'm', 'i', 'n', '\030', '\014', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', +'A', 'd', 'm', 'i', 'n', 'R', '\005', 'a', 'd', 'm', 'i', 'n', '\022', '_', '\n', '\020', 'o', 'v', 'e', 'r', 'l', 'o', 'a', 'd', '_', +'m', 'a', 'n', 'a', 'g', 'e', 'r', '\030', '\017', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'o', 'v', 'e', 'r', 'l', 'o', 'a', 'd', '.', 'v', '3', '.', 'O', 'v', 'e', 'r', 'l', 'o', 'a', 'd', 'M', +'a', 'n', 'a', 'g', 'e', 'r', 'B', '\t', '\212', '\223', '\267', '*', '\004', '\010', '\001', '\020', '\001', 'R', '\017', 'o', 'v', 'e', 'r', 'l', 'o', +'a', 'd', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '\022', '6', '\n', '\027', 'e', 'n', 'a', 'b', 'l', 'e', '_', 'd', 'i', 's', 'p', 'a', +'t', 'c', 'h', 'e', 'r', '_', 's', 't', 'a', 't', 's', '\030', '\020', ' ', '\001', '(', '\010', 'R', '\025', 'e', 'n', 'a', 'b', 'l', 'e', +'D', 'i', 's', 'p', 'a', 't', 'c', 'h', 'e', 'r', 'S', 't', 'a', 't', 's', '\022', '#', '\n', '\r', 'h', 'e', 'a', 'd', 'e', 'r', +'_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\022', ' ', '\001', '(', '\t', 'R', '\014', 'h', 'e', 'a', 'd', 'e', 'r', 'P', 'r', 'e', 'f', +'i', 'x', '\022', '_', '\n', '\035', 's', 't', 'a', 't', 's', '_', 's', 'e', 'r', 'v', 'e', 'r', '_', 'v', 'e', 'r', 's', 'i', 'o', +'n', '_', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '\030', '\023', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', +'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '6', '4', 'V', 'a', 'l', 'u', 'e', 'R', '\032', 's', 't', +'a', 't', 's', 'S', 'e', 'r', 'v', 'e', 'r', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '\022', +'A', '\n', '\027', 'u', 's', 'e', '_', 't', 'c', 'p', '_', 'f', 'o', 'r', '_', 'd', 'n', 's', '_', 'l', 'o', 'o', 'k', 'u', 'p', +'s', '\030', '\024', ' ', '\001', '(', '\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\023', 'u', 's', 'e', +'T', 'c', 'p', 'F', 'o', 'r', 'D', 'n', 's', 'L', 'o', 'o', 'k', 'u', 'p', 's', '\022', 'j', '\n', '\025', 'd', 'n', 's', '_', 'r', +'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\036', ' ', '\001', '(', '\013', '2', ')', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'n', 's', 'R', +'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', +'3', '.', '0', 'R', '\023', 'd', 'n', 's', 'R', 'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', '\022', +'e', '\n', '\031', 't', 'y', 'p', 'e', 'd', '_', 'd', 'n', 's', '_', 'r', 'e', 's', 'o', 'l', 'v', 'e', 'r', '_', 'c', 'o', 'n', +'f', 'i', 'g', '\030', '\037', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', +'f', 'i', 'g', 'R', '\026', 't', 'y', 'p', 'e', 'd', 'D', 'n', 's', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'r', 'C', 'o', 'n', 'f', +'i', 'g', '\022', ']', '\n', '\024', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', +'s', '\030', '\025', ' ', '\003', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', +'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', +'g', 'R', '\023', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '\022', 'K', '\n', +'\r', 'f', 'a', 't', 'a', 'l', '_', 'a', 'c', 't', 'i', 'o', 'n', 's', '\030', '\034', ' ', '\003', '(', '\013', '2', '&', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'F', +'a', 't', 'a', 'l', 'A', 'c', 't', 'i', 'o', 'n', 'R', '\014', 'f', 'a', 't', 'a', 'l', 'A', 'c', 't', 'i', 'o', 'n', 's', '\022', +'I', '\n', '\016', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', 'r', 'c', 'e', 's', '\030', '\026', ' ', '\003', '(', '\013', '2', '\"', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', +'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\r', 'c', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 's', '\022', +'V', '\n', '\025', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', 'r', 'c', 'e', '\030', +'\027', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', +'.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\023', 'd', 'e', 'f', 'a', 'u', 'l', 't', +'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', '\022', '8', '\n', '\030', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 's', +'o', 'c', 'k', 'e', 't', '_', 'i', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', '\030', '\030', ' ', '\001', '(', '\t', 'R', '\026', 'd', 'e', +'f', 'a', 'u', 'l', 't', 'S', 'o', 'c', 'k', 'e', 't', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', '\022', '\214', '\001', '\n', '\036', +'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '_', 'i', 'n', 's', 't', +'a', 'n', 'c', 'e', 's', '\030', '\031', ' ', '\003', '(', '\013', '2', 'F', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', +'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', +'c', 'e', 's', 'E', 'n', 't', 'r', 'y', 'R', '\034', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', +'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', 's', '\022', 'T', '\n', '\016', 'i', 'n', 'l', 'i', 'n', 'e', '_', 'h', +'e', 'a', 'd', 'e', 'r', 's', '\030', ' ', ' ', '\003', '(', '\013', '2', '-', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'C', 'u', 's', 't', 'o', 'm', 'I', 'n', 'l', +'i', 'n', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 'R', '\r', 'i', 'n', 'l', 'i', 'n', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', +'3', '\n', '\026', 'p', 'e', 'r', 'f', '_', 't', 'r', 'a', 'c', 'i', 'n', 'g', '_', 'f', 'i', 'l', 'e', '_', 'p', 'a', 't', 'h', +'\030', '!', ' ', '\001', '(', '\t', 'R', '\023', 'p', 'e', 'r', 'f', 'T', 'r', 'a', 'c', 'i', 'n', 'g', 'F', 'i', 'l', 'e', 'P', 'a', +'t', 'h', '\022', '\\', '\n', '\024', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 'r', 'e', 'g', 'e', 'x', '_', 'e', 'n', 'g', 'i', 'n', +'e', '\030', '\"', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', +'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', +'g', 'R', '\022', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'R', 'e', 'g', 'e', 'x', 'E', 'n', 'g', 'i', 'n', 'e', '\022', '`', '\n', '\026', +'x', 'd', 's', '_', 'd', 'e', 'l', 'e', 'g', 'a', 't', 'e', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '#', ' ', +'\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', +'3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\024', 'x', +'d', 's', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\022', 'k', '\n', '\034', 'x', 'd', +'s', '_', 'c', 'o', 'n', 'f', 'i', 'g', '_', 't', 'r', 'a', 'c', 'k', 'e', 'r', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', +'n', '\030', '$', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', +'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', +'g', 'R', '\031', 'x', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'T', 'r', 'a', 'c', 'k', 'e', 'r', 'E', 'x', 't', 'e', 'n', 's', +'i', 'o', 'n', '\022', 'U', '\n', '\020', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '\030', '%', +' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\017', +'l', 'i', 's', 't', 'e', 'n', 'e', 'r', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '\022', 'o', '\n', '\026', 'a', 'p', 'p', 'l', 'i', 'c', +'a', 't', 'i', 'o', 'n', '_', 'l', 'o', 'g', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '&', ' ', '\001', '(', '\013', '2', '9', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', +'.', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'L', 'o', 'g', +'C', 'o', 'n', 'f', 'i', 'g', 'R', '\024', 'a', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'L', 'o', 'g', 'C', 'o', 'n', +'f', 'i', 'g', '\022', '\211', '\001', '\n', ' ', 'g', 'r', 'p', 'c', '_', 'a', 's', 'y', 'n', 'c', '_', 'c', 'l', 'i', 'e', 'n', 't', +'_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '(', ' ', '\001', '(', '\013', '2', 'A', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', +'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'G', 'r', 'p', 'c', 'A', 's', 'y', 'n', 'c', 'C', 'l', 'i', 'e', 'n', 't', +'M', 'a', 'n', 'a', 'g', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\034', 'g', 'r', 'p', 'c', 'A', 's', 'y', 'n', 'c', 'C', +'l', 'i', 'e', 'n', 't', 'M', 'a', 'n', 'a', 'g', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\232', '\002', '\n', '\017', 'S', 't', +'a', 't', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '\022', '@', '\n', '\t', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', +'s', '\030', '\001', ' ', '\003', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', +'s', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'R', '\t', 'l', 'i', 's', 't', 'e', +'n', 'e', 'r', 's', '\022', '<', '\n', '\010', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', ' ', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', +'l', 'u', 's', 't', 'e', 'r', 'R', '\010', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', '\022', 'K', '\n', '\007', 's', 'e', 'c', 'r', 'e', +'t', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '1', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', +'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', +'v', '3', '.', 'S', 'e', 'c', 'r', 'e', 't', 'R', '\007', 's', 'e', 'c', 'r', 'e', 't', 's', ':', ':', '\232', '\305', '\210', '\036', '5', +'\n', '3', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', +'v', '2', '.', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'S', 't', 'a', 't', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', +'c', 'e', 's', '\032', '\211', '\003', '\n', '\020', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '\022', +'A', '\n', '\n', 'l', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', +'o', 'u', 'r', 'c', 'e', 'R', '\t', 'l', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '2', '\n', '\025', 'l', 'd', 's', '_', 'r', +'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '_', 'l', 'o', 'c', 'a', 't', 'o', 'r', '\030', '\005', ' ', '\001', '(', '\t', 'R', '\023', 'l', +'d', 's', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', 'L', 'o', 'c', 'a', 't', 'o', 'r', '\022', 'A', '\n', '\n', 'c', 'd', 's', +'_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', +'\t', 'c', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '2', '\n', '\025', 'c', 'd', 's', '_', 'r', 'e', 's', 'o', 'u', 'r', 'c', +'e', 's', '_', 'l', 'o', 'c', 'a', 't', 'o', 'r', '\030', '\006', ' ', '\001', '(', '\t', 'R', '\023', 'c', 'd', 's', 'R', 'e', 's', 'o', +'u', 'r', 'c', 'e', 's', 'L', 'o', 'c', 'a', 't', 'o', 'r', '\022', 'D', '\n', '\n', 'a', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', +'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', +'r', 'e', '.', 'v', '3', '.', 'A', 'p', 'i', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\t', 'a', 'd', +'s', 'C', 'o', 'n', 'f', 'i', 'g', ':', ';', '\232', '\305', '\210', '\036', '6', '\n', '4', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', +'p', '.', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', 'J', '\004', '\010', '\004', '\020', '\005', '\032', +'\371', '\001', '\n', '\024', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'L', 'o', 'g', 'C', 'o', 'n', 'f', 'i', 'g', '\022', +'b', '\n', '\n', 'l', 'o', 'g', '_', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', 'C', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'B', 'o', +'o', 't', 's', 't', 'r', 'a', 'p', '.', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'L', 'o', 'g', 'C', 'o', 'n', +'f', 'i', 'g', '.', 'L', 'o', 'g', 'F', 'o', 'r', 'm', 'a', 't', 'R', '\t', 'l', 'o', 'g', 'F', 'o', 'r', 'm', 'a', 't', '\032', +'}', '\n', '\t', 'L', 'o', 'g', 'F', 'o', 'r', 'm', 'a', 't', '\022', ':', '\n', '\013', 'j', 's', 'o', 'n', '_', 'f', 'o', 'r', 'm', +'a', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', +'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'H', '\000', 'R', '\n', 'j', 's', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', '\022', '!', '\n', +'\013', 't', 'e', 'x', 't', '_', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\002', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\n', 't', 'e', 'x', +'t', 'F', 'o', 'r', 'm', 'a', 't', 'B', '\021', '\n', '\n', 'l', 'o', 'g', '_', 'f', 'o', 'r', 'm', 'a', 't', '\022', '\003', '\370', 'B', +'\001', '\032', 'Z', '\n', '\023', 'D', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'S', 't', 'a', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', +'C', '\n', '\036', 'e', 'n', 'a', 'b', 'l', 'e', '_', 'd', 'e', 'f', 'e', 'r', 'r', 'e', 'd', '_', 'c', 'r', 'e', 'a', 't', 'i', +'o', 'n', '_', 's', 't', 'a', 't', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\033', 'e', 'n', 'a', 'b', 'l', 'e', 'D', 'e', 'f', +'e', 'r', 'r', 'e', 'd', 'C', 'r', 'e', 'a', 't', 'i', 'o', 'n', 'S', 't', 'a', 't', 's', '\032', '\211', '\001', '\n', '\034', 'G', 'r', +'p', 'c', 'A', 's', 'y', 'n', 'c', 'C', 'l', 'i', 'e', 'n', 't', 'M', 'a', 'n', 'a', 'g', 'e', 'r', 'C', 'o', 'n', 'f', 'i', +'g', '\022', 'i', '\n', '\036', 'm', 'a', 'x', '_', 'c', 'a', 'c', 'h', 'e', 'd', '_', 'e', 'n', 't', 'r', 'y', '_', 'i', 'd', 'l', +'e', '_', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', +'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\n', '\372', 'B', '\007', '\252', '\001', +'\004', '2', '\002', '\010', '\005', 'R', '\032', 'm', 'a', 'x', 'C', 'a', 'c', 'h', 'e', 'd', 'E', 'n', 't', 'r', 'y', 'I', 'd', 'l', 'e', +'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\032', '{', '\n', '!', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', +'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', +'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '@', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', +'\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', +'3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\005', 'v', +'a', 'l', 'u', 'e', ':', '\002', '8', '\001', ':', '*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'B', 'o', 'o', 't', 's', 't', 'r', +'a', 'p', 'B', '\r', '\n', '\013', 's', 't', 'a', 't', 's', '_', 'f', 'l', 'u', 's', 'h', 'J', '\004', '\010', '\n', '\020', '\013', 'J', '\004', +'\010', '\013', '\020', '\014', 'R', '\007', 'r', 'u', 'n', 't', 'i', 'm', 'e', '\"', '\211', '\003', '\n', '\005', 'A', 'd', 'm', 'i', 'n', '\022', 'C', +'\n', '\n', 'a', 'c', 'c', 'e', 's', 's', '_', 'l', 'o', 'g', '\030', '\005', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', +'e', 's', 's', 'L', 'o', 'g', 'R', '\t', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', '\022', '3', '\n', '\017', 'a', 'c', 'c', 'e', +'s', 's', '_', 'l', 'o', 'g', '_', 'p', 'a', 't', 'h', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', +'\004', '\003', '3', '.', '0', 'R', '\r', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'P', 'a', 't', 'h', '\022', '!', '\n', '\014', 'p', +'r', 'o', 'f', 'i', 'l', 'e', '_', 'p', 'a', 't', 'h', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\013', 'p', 'r', 'o', 'f', 'i', 'l', +'e', 'P', 'a', 't', 'h', '\022', '7', '\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '\035', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', +'e', 's', 's', 'R', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', 'I', '\n', '\016', 's', 'o', 'c', 'k', 'e', 't', '_', 'o', 'p', +'t', 'i', 'o', 'n', 's', '\030', '\004', ' ', '\003', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\r', 's', +'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '7', '\n', '\030', 'i', 'g', 'n', 'o', 'r', 'e', '_', 'g', 'l', +'o', 'b', 'a', 'l', '_', 'c', 'o', 'n', 'n', '_', 'l', 'i', 'm', 'i', 't', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\025', 'i', 'g', +'n', 'o', 'r', 'e', 'G', 'l', 'o', 'b', 'a', 'l', 'C', 'o', 'n', 'n', 'L', 'i', 'm', 'i', 't', ':', '&', '\232', '\305', '\210', '\036', +'!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', +'.', 'v', '2', '.', 'A', 'd', 'm', 'i', 'n', '\"', '\224', '\005', '\n', '\016', 'C', 'l', 'u', 's', 't', 'e', 'r', 'M', 'a', 'n', 'a', +'g', 'e', 'r', '\022', ',', '\n', '\022', 'l', 'o', 'c', 'a', 'l', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'n', 'a', 'm', 'e', +'\030', '\001', ' ', '\001', '(', '\t', 'R', '\020', 'l', 'o', 'c', 'a', 'l', 'C', 'l', 'u', 's', 't', 'e', 'r', 'N', 'a', 'm', 'e', '\022', +'g', '\n', '\021', 'o', 'u', 't', 'l', 'i', 'e', 'r', '_', 'd', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', +'\013', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', +'p', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'O', 'u', 't', 'l', 'i', +'e', 'r', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', 'R', '\020', 'o', 'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', 't', 'e', 'c', +'t', 'i', 'o', 'n', '\022', 'R', '\n', '\024', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'b', 'i', 'n', 'd', '_', 'c', 'o', 'n', +'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'B', 'i', 'n', 'd', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\022', 'u', 'p', 's', 't', 'r', +'e', 'a', 'm', 'B', 'i', 'n', 'd', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'Q', '\n', '\021', 'l', 'o', 'a', 'd', '_', 's', 't', 'a', +'t', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'p', 'i', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', +'u', 'r', 'c', 'e', 'R', '\017', 'l', 'o', 'a', 'd', 'S', 't', 'a', 't', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'G', '\n', ' ', +'e', 'n', 'a', 'b', 'l', 'e', '_', 'd', 'e', 'f', 'e', 'r', 'r', 'e', 'd', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'c', +'r', 'e', 'a', 't', 'i', 'o', 'n', '\030', '\005', ' ', '\001', '(', '\010', 'R', '\035', 'e', 'n', 'a', 'b', 'l', 'e', 'D', 'e', 'f', 'e', +'r', 'r', 'e', 'd', 'C', 'l', 'u', 's', 't', 'e', 'r', 'C', 'r', 'e', 'a', 't', 'i', 'o', 'n', '\032', '\311', '\001', '\n', '\020', 'O', +'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', '\022', '$', '\n', '\016', 'e', 'v', 'e', 'n', 't', '_', +'l', 'o', 'g', '_', 'p', 'a', 't', 'h', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\014', 'e', 'v', 'e', 'n', 't', 'L', 'o', 'g', 'P', +'a', 't', 'h', '\022', 'M', '\n', '\r', 'e', 'v', 'e', 'n', 't', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '\030', '\002', ' ', '\001', '(', +'\013', '2', '(', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', +'E', 'v', 'e', 'n', 't', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\014', 'e', 'v', 'e', 'n', 't', +'S', 'e', 'r', 'v', 'i', 'c', 'e', ':', '@', '\232', '\305', '\210', '\036', ';', '\n', '9', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'M', +'a', 'n', 'a', 'g', 'e', 'r', '.', 'O', 'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', ':', '/', +'\232', '\305', '\210', '\036', '*', '\n', '(', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', +'t', 'r', 'a', 'p', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '\"', '\260', '\001', +'\n', '\t', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', 's', '\022', 'U', '\n', '\024', 'm', 'a', 'i', 'n', '_', 't', 'h', 'r', 'e', 'a', +'d', '_', 'w', 'a', 't', 'c', 'h', 'd', 'o', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'W', 'a', 't', 'c', 'h', +'d', 'o', 'g', 'R', '\022', 'm', 'a', 'i', 'n', 'T', 'h', 'r', 'e', 'a', 'd', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', '\022', 'L', +'\n', '\017', 'w', 'o', 'r', 'k', 'e', 'r', '_', 'w', 'a', 't', 'c', 'h', 'd', 'o', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '#', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', +'3', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', 'R', '\016', 'w', 'o', 'r', 'k', 'e', 'r', 'W', 'a', 't', 'c', 'h', 'd', 'o', +'g', '\"', '\272', '\006', '\n', '\010', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', '\022', 'L', '\n', '\007', 'a', 'c', 't', 'i', 'o', 'n', 's', +'\030', '\007', ' ', '\003', '(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', +'t', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', '.', 'W', 'a', 't', 'c', 'h', 'd', +'o', 'g', 'A', 'c', 't', 'i', 'o', 'n', 'R', '\007', 'a', 'c', 't', 'i', 'o', 'n', 's', '\022', '<', '\n', '\014', 'm', 'i', 's', 's', +'_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\013', 'm', 'i', 's', 's', 'T', 'i', 'm', +'e', 'o', 'u', 't', '\022', 'D', '\n', '\020', 'm', 'e', 'g', 'a', 'm', 'i', 's', 's', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', +'\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', +'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\017', 'm', 'e', 'g', 'a', 'm', 'i', 's', 's', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', +'<', '\n', '\014', 'k', 'i', 'l', 'l', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', +'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\013', +'k', 'i', 'l', 'l', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'Z', '\n', '\027', 'm', 'a', 'x', '_', 'k', 'i', 'l', 'l', '_', 't', +'i', 'm', 'e', 'o', 'u', 't', '_', 'j', 'i', 't', 't', 'e', 'r', '\030', '\006', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', +'\005', '\252', '\001', '\002', '2', '\000', 'R', '\024', 'm', 'a', 'x', 'K', 'i', 'l', 'l', 'T', 'i', 'm', 'e', 'o', 'u', 't', 'J', 'i', 't', +'t', 'e', 'r', '\022', 'F', '\n', '\021', 'm', 'u', 'l', 't', 'i', 'k', 'i', 'l', 'l', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', +'\004', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', +'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\020', 'm', 'u', 'l', 't', 'i', 'k', 'i', 'l', 'l', 'T', 'i', 'm', 'e', 'o', 'u', 't', +'\022', 'G', '\n', '\023', 'm', 'u', 'l', 't', 'i', 'k', 'i', 'l', 'l', '_', 't', 'h', 'r', 'e', 's', 'h', 'o', 'l', 'd', '\030', '\005', +' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'P', 'e', 'r', 'c', +'e', 'n', 't', 'R', '\022', 'm', 'u', 'l', 't', 'i', 'k', 'i', 'l', 'l', 'T', 'h', 'r', 'e', 's', 'h', 'o', 'l', 'd', '\032', '\205', +'\002', '\n', '\016', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', 'A', 'c', 't', 'i', 'o', 'n', '\022', 'B', '\n', '\006', 'c', 'o', 'n', 'f', +'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', +'i', 'g', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\022', '`', '\n', '\005', 'e', 'v', 'e', 'n', 't', '\030', '\002', ' ', '\001', '(', '\016', +'2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', +'.', 'v', '3', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', 'A', 'c', 't', 'i', +'o', 'n', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', 'E', 'v', 'e', 'n', 't', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', +'\001', 'R', '\005', 'e', 'v', 'e', 'n', 't', '\"', 'M', '\n', '\r', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', 'E', 'v', 'e', 'n', 't', +'\022', '\013', '\n', '\007', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\010', '\n', '\004', 'K', 'I', 'L', 'L', '\020', '\001', '\022', '\r', +'\n', '\t', 'M', 'U', 'L', 'T', 'I', 'K', 'I', 'L', 'L', '\020', '\002', '\022', '\014', '\n', '\010', 'M', 'E', 'G', 'A', 'M', 'I', 'S', 'S', +'\020', '\003', '\022', '\010', '\n', '\004', 'M', 'I', 'S', 'S', '\020', '\004', ':', ')', '\232', '\305', '\210', '\036', '$', '\n', '\"', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'W', 'a', 't', +'c', 'h', 'd', 'o', 'g', '\"', 'Q', '\n', '\013', 'F', 'a', 't', 'a', 'l', 'A', 'c', 't', 'i', 'o', 'n', '\022', 'B', '\n', '\006', 'c', +'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', +'o', 'n', 'f', 'i', 'g', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\"', '\334', '\001', '\n', '\007', 'R', 'u', 'n', 't', 'i', 'm', 'e', +'\022', '!', '\n', '\014', 's', 'y', 'm', 'l', 'i', 'n', 'k', '_', 'r', 'o', 'o', 't', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\013', 's', +'y', 'm', 'l', 'i', 'n', 'k', 'R', 'o', 'o', 't', '\022', '\"', '\n', '\014', 's', 'u', 'b', 'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', +'y', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\014', 's', 'u', 'b', 'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\022', '3', '\n', '\025', +'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '_', 's', 'u', 'b', 'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\030', '\003', ' ', '\001', +'(', '\t', 'R', '\024', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'S', 'u', 'b', 'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\022', +'+', '\n', '\004', 'b', 'a', 's', 'e', '\030', '\004', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'R', '\004', 'b', 'a', 's', 'e', ':', '(', '\232', '\305', '\210', '\036', +'#', '\n', '!', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', +'.', 'v', '2', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\"', '\333', '\006', '\n', '\014', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'L', 'a', +'y', 'e', 'r', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', +'\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '<', '\n', '\014', 's', 't', 'a', 't', 'i', 'c', '_', 'l', 'a', 'y', 'e', 'r', '\030', '\002', +' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', +'r', 'u', 'c', 't', 'H', '\000', 'R', '\013', 's', 't', 'a', 't', 'i', 'c', 'L', 'a', 'y', 'e', 'r', '\022', 'R', '\n', '\n', 'd', 'i', +'s', 'k', '_', 'l', 'a', 'y', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', '1', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', +'L', 'a', 'y', 'e', 'r', '.', 'D', 'i', 's', 'k', 'L', 'a', 'y', 'e', 'r', 'H', '\000', 'R', '\t', 'd', 'i', 's', 'k', 'L', 'a', +'y', 'e', 'r', '\022', 'U', '\n', '\013', 'a', 'd', 'm', 'i', 'n', '_', 'l', 'a', 'y', 'e', 'r', '\030', '\004', ' ', '\001', '(', '\013', '2', +'2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', +'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'L', 'a', 'y', 'e', 'r', '.', 'A', 'd', 'm', 'i', 'n', 'L', 'a', 'y', 'e', +'r', 'H', '\000', 'R', '\n', 'a', 'd', 'm', 'i', 'n', 'L', 'a', 'y', 'e', 'r', '\022', 'R', '\n', '\n', 'r', 't', 'd', 's', '_', 'l', +'a', 'y', 'e', 'r', '\030', '\005', ' ', '\001', '(', '\013', '2', '1', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'L', 'a', 'y', 'e', +'r', '.', 'R', 't', 'd', 's', 'L', 'a', 'y', 'e', 'r', 'H', '\000', 'R', '\t', 'r', 't', 'd', 's', 'L', 'a', 'y', 'e', 'r', '\032', +'\301', '\001', '\n', '\t', 'D', 'i', 's', 'k', 'L', 'a', 'y', 'e', 'r', '\022', '!', '\n', '\014', 's', 'y', 'm', 'l', 'i', 'n', 'k', '_', +'r', 'o', 'o', 't', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\013', 's', 'y', 'm', 'l', 'i', 'n', 'k', 'R', 'o', 'o', 't', '\022', '\"', +'\n', '\014', 's', 'u', 'b', 'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\014', 's', 'u', 'b', +'d', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\022', '4', '\n', '\026', 'a', 'p', 'p', 'e', 'n', 'd', '_', 's', 'e', 'r', 'v', 'i', +'c', 'e', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\024', 'a', 'p', 'p', 'e', 'n', 'd', 'S', +'e', 'r', 'v', 'i', 'c', 'e', 'C', 'l', 'u', 's', 't', 'e', 'r', ':', '7', '\232', '\305', '\210', '\036', '2', '\n', '0', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'R', 'u', +'n', 't', 'i', 'm', 'e', 'L', 'a', 'y', 'e', 'r', '.', 'D', 'i', 's', 'k', 'L', 'a', 'y', 'e', 'r', '\032', 'F', '\n', '\n', 'A', +'d', 'm', 'i', 'n', 'L', 'a', 'y', 'e', 'r', ':', '8', '\232', '\305', '\210', '\036', '3', '\n', '1', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'R', 'u', 'n', 't', 'i', 'm', +'e', 'L', 'a', 'y', 'e', 'r', '.', 'A', 'd', 'm', 'i', 'n', 'L', 'a', 'y', 'e', 'r', '\032', '\235', '\001', '\n', '\t', 'R', 't', 'd', +'s', 'L', 'a', 'y', 'e', 'r', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', +'e', '\022', 'C', '\n', '\013', 'r', 't', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '\"', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', +'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\n', 'r', 't', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', ':', '7', '\232', '\305', '\210', +'\036', '2', '\n', '0', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', +'p', '.', 'v', '2', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'L', 'a', 'y', 'e', 'r', '.', 'R', 't', 'd', 's', 'L', 'a', 'y', +'e', 'r', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', +'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'L', 'a', 'y', 'e', 'r', 'B', +'\026', '\n', '\017', 'l', 'a', 'y', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', '\202', +'\001', '\n', '\016', 'L', 'a', 'y', 'e', 'r', 'e', 'd', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', '?', '\n', '\006', 'l', 'a', 'y', 'e', +'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', +'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'L', 'a', 'y', 'e', 'r', 'R', +'\006', 'l', 'a', 'y', 'e', 'r', 's', ':', '/', '\232', '\305', '\210', '\036', '*', '\n', '(', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'L', 'a', 'y', 'e', 'r', 'e', 'd', 'R', +'u', 'n', 't', 'i', 'm', 'e', '\"', '\261', '\002', '\n', '\022', 'C', 'u', 's', 't', 'o', 'm', 'I', 'n', 'l', 'i', 'n', 'e', 'H', 'e', +'a', 'd', 'e', 'r', '\022', ';', '\n', '\022', 'i', 'n', 'l', 'i', 'n', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', +'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\r', '\372', 'B', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\020', 'i', +'n', 'l', 'i', 'n', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 'N', 'a', 'm', 'e', '\022', 'v', '\n', '\022', 'i', 'n', 'l', 'i', 'n', 'e', +'_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 't', 'y', 'p', 'e', '\030', '\002', ' ', '\001', '(', '\016', '2', '>', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'C', 'u', 's', +'t', 'o', 'm', 'I', 'n', 'l', 'i', 'n', 'e', 'H', 'e', 'a', 'd', 'e', 'r', '.', 'I', 'n', 'l', 'i', 'n', 'e', 'H', 'e', 'a', +'d', 'e', 'r', 'T', 'y', 'p', 'e', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\020', 'i', 'n', 'l', 'i', 'n', 'e', +'H', 'e', 'a', 'd', 'e', 'r', 'T', 'y', 'p', 'e', '\"', 'f', '\n', '\020', 'I', 'n', 'l', 'i', 'n', 'e', 'H', 'e', 'a', 'd', 'e', +'r', 'T', 'y', 'p', 'e', '\022', '\022', '\n', '\016', 'R', 'E', 'Q', 'U', 'E', 'S', 'T', '_', 'H', 'E', 'A', 'D', 'E', 'R', '\020', '\000', +'\022', '\023', '\n', '\017', 'R', 'E', 'Q', 'U', 'E', 'S', 'T', '_', 'T', 'R', 'A', 'I', 'L', 'E', 'R', '\020', '\001', '\022', '\023', '\n', '\017', +'R', 'E', 'S', 'P', 'O', 'N', 'S', 'E', '_', 'H', 'E', 'A', 'D', 'E', 'R', '\020', '\002', '\022', '\024', '\n', '\020', 'R', 'E', 'S', 'P', +'O', 'N', 'S', 'E', '_', 'T', 'R', 'A', 'I', 'L', 'E', 'R', '\020', '\003', 'B', '\221', '\001', '\n', '\'', 'i', 'o', '.', 'e', 'n', 'v', +'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', +'s', 't', 'r', 'a', 'p', '.', 'v', '3', 'B', '\016', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', 'P', 'r', 'o', 't', 'o', 'P', +'\001', 'Z', 'L', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', +'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', +'n', 'f', 'i', 'g', '/', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '/', 'v', '3', ';', 'b', 'o', 'o', 't', 's', 't', 'r', +'a', 'p', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[25] = { + &envoy_config_accesslog_v3_accesslog_proto_upbdefinit, + &envoy_config_cluster_v3_cluster_proto_upbdefinit, + &envoy_config_core_v3_address_proto_upbdefinit, + &envoy_config_core_v3_base_proto_upbdefinit, + &envoy_config_core_v3_config_source_proto_upbdefinit, + &envoy_config_core_v3_event_service_config_proto_upbdefinit, + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_config_core_v3_resolver_proto_upbdefinit, + &envoy_config_core_v3_socket_option_proto_upbdefinit, + &envoy_config_listener_v3_listener_proto_upbdefinit, + &envoy_config_metrics_v3_stats_proto_upbdefinit, + &envoy_config_overload_v3_overload_proto_upbdefinit, + &envoy_config_trace_v3_http_tracer_proto_upbdefinit, + &envoy_extensions_transport_sockets_tls_v3_secret_proto_upbdefinit, + &envoy_type_v3_percent_proto_upbdefinit, + &google_protobuf_duration_proto_upbdefinit, + &google_protobuf_struct_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_migrate_proto_upbdefinit, + &udpa_annotations_security_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_bootstrap_v3_bootstrap_proto_upbdefinit = { + deps, + &envoy_config_bootstrap_v3_bootstrap_proto_upb_file_layout, + "envoy/config/bootstrap/v3/bootstrap.proto", + UPB_STRINGVIEW_INIT(descriptor, 9320) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h similarity index 80% rename from src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h index 00b283b5033..702405c7f5f 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/bootstrap/v3/bootstrap.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_BOOTSTRAP_V3_BOOTSTRAP_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { @@ -37,6 +36,26 @@ UPB_INLINE const upb_MessageDef *envoy_config_bootstrap_v3_Bootstrap_DynamicReso return upb_DefPool_FindMessageByName(s, "envoy.config.bootstrap.v3.Bootstrap.DynamicResources"); } +UPB_INLINE const upb_MessageDef *envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_bootstrap_v3_bootstrap_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_bootstrap_v3_bootstrap_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_bootstrap_v3_bootstrap_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_bootstrap_v3_bootstrap_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig"); +} + UPB_INLINE const upb_MessageDef *envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_getmsgdef(upb_DefPool *s) { _upb_DefPool_LoadDefInit(s, &envoy_config_bootstrap_v3_bootstrap_proto_upbdefinit); return upb_DefPool_FindMessageByName(s, "envoy.config.bootstrap.v3.Bootstrap.CertificateProviderInstancesEntry"); diff --git a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c index 3d69ace51d8..b4c31164203 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/cluster/v3/circuit_breaker.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/cluster/v3/circuit_breaker.upbdefs.h" -#include "envoy/config/cluster/v3/circuit_breaker.upb.h" +#include "envoy/config/cluster/v3/circuit_breaker.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h similarity index 92% rename from src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h index fe1abaff964..70605c94e88 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/cluster/v3/circuit_breaker.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CLUSTER_V3_CIRCUIT_BREAKER_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c new file mode 100644 index 00000000000..fe64938bb30 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c @@ -0,0 +1,574 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/cluster/v3/cluster.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/cluster/v3/cluster.upbdefs.h" +#include "envoy/config/cluster/v3/cluster.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_cluster_v3_circuit_breaker_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_cluster_v3_filter_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_cluster_v3_outlier_detection_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_config_source_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_health_check_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_protocol_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_resolver_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_endpoint_v3_endpoint_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_metadata_v3_metadata_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init xds_core_v3_collection_entry_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_security_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[12560] = {'\n', '%', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', +'/', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', '\027', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '\032', '-', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', +'f', 'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', '/', 'c', 'i', 'r', 'c', 'u', 'i', 't', '_', 'b', 'r', +'e', 'a', 'k', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', +'/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', '/', 'f', 'i', 'l', 't', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', +'/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', '/', +'o', 'u', 't', 'l', 'i', 'e', 'r', '_', 'd', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', +'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'a', 'd', 'd', 'r', +'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', +'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', 'v', 'o', 'y', '/', +'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', +'r', 'c', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', +'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', 'e', +'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'h', 'e', 'a', 'l', 't', +'h', '_', 'c', 'h', 'e', 'c', 'k', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', +'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '.', 'p', 'r', 'o', 't', 'o', +'\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'r', 'e', +'s', 'o', 'l', 'v', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', +'g', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '/', 'v', '3', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'p', 'r', +'o', 't', 'o', '\032', '%', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '/', +'v', '3', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', 'o', 'y', '/', +'t', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', +'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', +'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', +'p', 'r', 'o', 't', 'o', '\032', '\034', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 's', 't', +'r', 'u', 'c', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'x', 'd', 's', '/', 'c', 'o', +'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'l', 'l', 'e', 'c', 't', 'i', 'o', 'n', '_', 'e', 'n', 't', 'r', 'y', '.', 'p', 'r', +'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', +'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', +'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'u', +'d', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 'e', 'c', 'u', 'r', 'i', 't', 'y', '.', +'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', +'t', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', +'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', +'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 'K', '\n', '\021', +'C', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', 'l', 'l', 'e', 'c', 't', 'i', 'o', 'n', '\022', '6', '\n', '\007', 'e', 'n', 't', 'r', +'i', 'e', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', +'o', 'l', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'E', 'n', 't', 'r', 'y', 'R', '\007', 'e', 'n', 't', 'r', 'i', 'e', 's', '\"', '\227', +'S', '\n', '\007', 'C', 'l', 'u', 's', 't', 'e', 'r', '\022', 'o', '\n', '\030', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', +'o', 'c', 'k', 'e', 't', '_', 'm', 'a', 't', 'c', 'h', 'e', 's', '\030', '+', ' ', '\003', '(', '\013', '2', '5', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', +'t', 'e', 'r', '.', 'T', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', 'M', 'a', 't', 'c', 'h', 'R', +'\026', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', 'M', 'a', 't', 'c', 'h', 'e', 's', '\022', '\033', +'\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', +'m', 'e', '\022', '>', '\n', '\r', 'a', 'l', 't', '_', 's', 't', 'a', 't', '_', 'n', 'a', 'm', 'e', '\030', '\034', ' ', '\001', '(', '\t', +'B', '\032', '\362', '\230', '\376', '\217', '\005', '\024', '\n', '\022', 'o', 'b', 's', 'e', 'r', 'v', 'a', 'b', 'i', 'l', 'i', 't', 'y', '_', 'n', +'a', 'm', 'e', 'R', '\013', 'a', 'l', 't', 'S', 't', 'a', 't', 'N', 'a', 'm', 'e', '\022', 'N', '\n', '\004', 't', 'y', 'p', 'e', '\030', +'\002', ' ', '\001', '(', '\016', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', +'t', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'D', 'i', 's', 'c', 'o', 'v', 'e', 'r', 'y', 'T', +'y', 'p', 'e', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'H', '\000', 'R', '\004', 't', 'y', 'p', 'e', '\022', 'W', '\n', '\014', +'c', 'l', 'u', 's', 't', 'e', 'r', '_', 't', 'y', 'p', 'e', '\030', '&', ' ', '\001', '(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', +'e', 'r', '.', 'C', 'u', 's', 't', 'o', 'm', 'C', 'l', 'u', 's', 't', 'e', 'r', 'T', 'y', 'p', 'e', 'H', '\000', 'R', '\013', 'c', +'l', 'u', 's', 't', 'e', 'r', 'T', 'y', 'p', 'e', '\022', '_', '\n', '\022', 'e', 'd', 's', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', +'_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '1', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'E', 'd', +'s', 'C', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\020', 'e', 'd', 's', 'C', 'l', 'u', 's', 't', 'e', +'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'L', '\n', '\017', 'c', 'o', 'n', 'n', 'e', 'c', 't', '_', 't', 'i', 'm', 'e', 'o', 'u', +'t', '\030', '\004', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\252', '\001', '\002', '*', '\000', 'R', '\016', 'c', 'o', 'n', 'n', +'e', 'c', 't', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'o', '\n', '!', 'p', 'e', 'r', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', +'i', 'o', 'n', '_', 'b', 'u', 'f', 'f', 'e', 'r', '_', 'l', 'i', 'm', 'i', 't', '_', 'b', 'y', 't', 'e', 's', '\030', '\005', ' ', +'\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', +'t', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\212', '\223', '\267', '*', '\002', '\020', '\001', 'R', '\035', 'p', 'e', 'r', 'C', 'o', 'n', +'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'u', 'f', 'f', 'e', 'r', 'L', 'i', 'm', 'i', 't', 'B', 'y', 't', 'e', 's', '\022', 'P', +'\n', '\t', 'l', 'b', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\006', ' ', '\001', '(', '\016', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', +'r', '.', 'L', 'b', 'P', 'o', 'l', 'i', 'c', 'y', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\010', 'l', 'b', 'P', +'o', 'l', 'i', 'c', 'y', '\022', 'X', '\n', '\017', 'l', 'o', 'a', 'd', '_', 'a', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', '\030', +'!', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', +'o', 'i', 'n', 't', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', +'m', 'e', 'n', 't', 'R', '\016', 'l', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', '\022', 'F', '\n', '\r', 'h', +'e', 'a', 'l', 't', 'h', '_', 'c', 'h', 'e', 'c', 'k', 's', '\030', '\010', ' ', '\003', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', +'e', 'c', 'k', 'R', '\014', 'h', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 's', '\022', 'h', '\n', '\033', 'm', 'a', 'x', '_', +'r', 'e', 'q', 'u', 'e', 's', 't', 's', '_', 'p', 'e', 'r', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '\030', '\t', +' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', +'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\030', 'm', +'a', 'x', 'R', 'e', 'q', 'u', 'e', 's', 't', 's', 'P', 'e', 'r', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '\022', 'S', +'\n', '\020', 'c', 'i', 'r', 'c', 'u', 'i', 't', '_', 'b', 'r', 'e', 'a', 'k', 'e', 'r', 's', '\030', '\n', ' ', '\001', '(', '\013', '2', +'(', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', +'.', 'C', 'i', 'r', 'c', 'u', 'i', 't', 'B', 'r', 'e', 'a', 'k', 'e', 'r', 's', 'R', '\017', 'c', 'i', 'r', 'c', 'u', 'i', 't', +'B', 'r', 'e', 'a', 'k', 'e', 'r', 's', '\022', '\203', '\001', '\n', '\036', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'h', 't', 't', +'p', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '.', ' ', '\001', '(', '\013', '2', +'1', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'U', 'p', +'s', 't', 'r', 'e', 'a', 'm', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', +'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\033', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'H', 't', +'t', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'w', '\n', '\034', 'c', 'o', 'm', 'm', +'o', 'n', '_', 'h', 't', 't', 'p', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', +'\035', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', +'.', 'v', '3', '.', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'B', '\013', +'\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\031', 'c', 'o', 'm', 'm', 'o', 'n', 'H', 't', 't', 'p', 'P', 'r', +'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'k', '\n', '\025', 'h', 't', 't', 'p', '_', 'p', 'r', 'o', +'t', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\r', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '1', 'P', 'r', +'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', +'0', 'R', '\023', 'h', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 't', '\n', +'\026', 'h', 't', 't', 'p', '2', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\016', +' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '.', 'H', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'B', '\022', +'\030', '\001', '\212', '\223', '\267', '*', '\002', '\020', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\024', 'h', 't', 't', 'p', '2', +'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '\214', '\001', '\n', ' ', 't', 'y', 'p', 'e', 'd', +'_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', +'n', 's', '\030', '$', ' ', '\003', '(', '\013', '2', 'C', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'E', 'n', 't', +'r', 'y', 'R', '\035', 't', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'P', 'r', 'o', 't', 'o', 'c', 'o', +'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'Q', '\n', '\020', 'd', 'n', 's', '_', 'r', 'e', 'f', 'r', 'e', 's', 'h', '_', 'r', +'a', 't', 'e', '\030', '\020', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\014', '\372', 'B', '\t', '\252', '\001', '\006', '*', '\004', '\020', '\300', '\204', '=', +'R', '\016', 'd', 'n', 's', 'R', 'e', 'f', 'r', 'e', 's', 'h', 'R', 'a', 't', 'e', '\022', 'e', '\n', '\030', 'd', 'n', 's', '_', 'f', +'a', 'i', 'l', 'u', 'r', 'e', '_', 'r', 'e', 'f', 'r', 'e', 's', 'h', '_', 'r', 'a', 't', 'e', '\030', ',', ' ', '\001', '(', '\013', +'2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', +'3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'R', 'e', 'f', 'r', 'e', 's', 'h', 'R', 'a', 't', 'e', 'R', '\025', 'd', 'n', +'s', 'F', 'a', 'i', 'l', 'u', 'r', 'e', 'R', 'e', 'f', 'r', 'e', 's', 'h', 'R', 'a', 't', 'e', '\022', '&', '\n', '\017', 'r', 'e', +'s', 'p', 'e', 'c', 't', '_', 'd', 'n', 's', '_', 't', 't', 'l', '\030', '\'', ' ', '\001', '(', '\010', 'R', '\r', 'r', 'e', 's', 'p', +'e', 'c', 't', 'D', 'n', 's', 'T', 't', 'l', '\022', 'f', '\n', '\021', 'd', 'n', 's', '_', 'l', 'o', 'o', 'k', 'u', 'p', '_', 'f', +'a', 'm', 'i', 'l', 'y', '\030', '\021', ' ', '\001', '(', '\016', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'D', 'n', 's', 'L', +'o', 'o', 'k', 'u', 'p', 'F', 'a', 'm', 'i', 'l', 'y', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\017', 'd', 'n', +'s', 'L', 'o', 'o', 'k', 'u', 'p', 'F', 'a', 'm', 'i', 'l', 'y', '\022', 'O', '\n', '\r', 'd', 'n', 's', '_', 'r', 'e', 's', 'o', +'l', 'v', 'e', 'r', 's', '\030', '\022', ' ', '\003', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', +'\004', '\003', '3', '.', '0', 'R', '\014', 'd', 'n', 's', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'r', 's', '\022', 'A', '\n', '\027', 'u', 's', +'e', '_', 't', 'c', 'p', '_', 'f', 'o', 'r', '_', 'd', 'n', 's', '_', 'l', 'o', 'o', 'k', 'u', 'p', 's', '\030', '-', ' ', '\001', +'(', '\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\023', 'u', 's', 'e', 'T', 'c', 'p', 'F', 'o', +'r', 'D', 'n', 's', 'L', 'o', 'o', 'k', 'u', 'p', 's', '\022', 'j', '\n', '\025', 'd', 'n', 's', '_', 'r', 'e', 's', 'o', 'l', 'u', +'t', 'i', 'o', 'n', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '5', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'n', 's', 'R', 'e', 's', 'o', 'l', 'u', +'t', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\023', +'d', 'n', 's', 'R', 'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'e', '\n', '\031', 't', 'y', +'p', 'e', 'd', '_', 'd', 'n', 's', '_', 'r', 'e', 's', 'o', 'l', 'v', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '7', +' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\026', +'t', 'y', 'p', 'e', 'd', 'D', 'n', 's', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'L', '\n', +'\025', 'w', 'a', 'i', 't', '_', 'f', 'o', 'r', '_', 'w', 'a', 'r', 'm', '_', 'o', 'n', '_', 'i', 'n', 'i', 't', '\030', '6', ' ', +'\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', +'l', 'V', 'a', 'l', 'u', 'e', 'R', '\021', 'w', 'a', 'i', 't', 'F', 'o', 'r', 'W', 'a', 'r', 'm', 'O', 'n', 'I', 'n', 'i', 't', +'\022', 'V', '\n', '\021', 'o', 'u', 't', 'l', 'i', 'e', 'r', '_', 'd', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', '\030', '\023', ' ', '\001', +'(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', +'.', 'v', '3', '.', 'O', 'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', 'R', '\020', 'o', 'u', 't', +'l', 'i', 'e', 'r', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', '\022', 'N', '\n', '\020', 'c', 'l', 'e', 'a', 'n', 'u', 'p', '_', +'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\024', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\252', '\001', '\002', '*', +'\000', 'R', '\017', 'c', 'l', 'e', 'a', 'n', 'u', 'p', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\022', 'R', '\n', '\024', 'u', 'p', 's', +'t', 'r', 'e', 'a', 'm', '_', 'b', 'i', 'n', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\025', ' ', '\001', '(', '\013', '2', ' ', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'B', 'i', 'n', +'d', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\022', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'B', 'i', 'n', 'd', 'C', 'o', 'n', 'f', +'i', 'g', '\022', 'Y', '\n', '\020', 'l', 'b', '_', 's', 'u', 'b', 's', 'e', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\026', ' ', +'\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', +'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', +'i', 'g', 'R', '\016', 'l', 'b', 'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'b', '\n', '\023', 'r', 'i', 'n', +'g', '_', 'h', 'a', 's', 'h', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\027', ' ', '\001', '(', '\013', '2', '1', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', +'l', 'u', 's', 't', 'e', 'r', '.', 'R', 'i', 'n', 'g', 'H', 'a', 's', 'h', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\001', +'R', '\020', 'r', 'i', 'n', 'g', 'H', 'a', 's', 'h', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '[', '\n', '\020', 'm', 'a', 'g', +'l', 'e', 'v', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '4', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', +'t', 'e', 'r', '.', 'M', 'a', 'g', 'l', 'e', 'v', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\001', 'R', '\016', 'm', 'a', 'g', +'l', 'e', 'v', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'k', '\n', '\026', 'o', 'r', 'i', 'g', 'i', 'n', 'a', 'l', '_', 'd', +'s', 't', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\"', ' ', '\001', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', +'e', 'r', '.', 'O', 'r', 'i', 'g', 'i', 'n', 'a', 'l', 'D', 's', 't', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\001', 'R', +'\023', 'o', 'r', 'i', 'g', 'i', 'n', 'a', 'l', 'D', 's', 't', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'n', '\n', '\027', 'l', +'e', 'a', 's', 't', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '%', ' ', +'\001', '(', '\013', '2', '5', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', +'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'e', 'a', 's', 't', 'R', 'e', 'q', 'u', 'e', 's', 't', +'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\001', 'R', '\024', 'l', 'e', 'a', 's', 't', 'R', 'e', 'q', 'u', 'e', 's', 't', 'L', +'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'h', '\n', '\025', 'r', 'o', 'u', 'n', 'd', '_', 'r', 'o', 'b', 'i', 'n', '_', 'l', 'b', +'_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '8', ' ', '\001', '(', '\013', '2', '3', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'R', 'o', +'u', 'n', 'd', 'R', 'o', 'b', 'i', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\001', 'R', '\022', 'r', 'o', 'u', 'n', 'd', +'R', 'o', 'b', 'i', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'Y', '\n', '\020', 'c', 'o', 'm', 'm', 'o', 'n', '_', 'l', +'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\033', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', +'o', 'm', 'm', 'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\016', 'c', 'o', 'm', 'm', 'o', 'n', 'L', 'b', 'C', 'o', +'n', 'f', 'i', 'g', '\022', 'P', '\n', '\020', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', '\030', +'\030', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', +'.', 'v', '3', '.', 'T', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', 'R', '\017', 't', 'r', 'a', 'n', +'s', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', '\022', ':', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\031', +' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'u', '\n', '\022', +'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 's', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', '\030', '\032', ' ', '\001', '(', '\016', '2', +'9', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', +'.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'S', +'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\021', 'p', 'r', +'o', 't', 'o', 'c', 'o', 'l', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', '\022', 'r', '\n', '\033', 'u', 'p', 's', 't', 'r', 'e', +'a', 'm', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\036', ' ', '\001', +'(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', +'.', 'v', '3', '.', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'O', 'p', 't', +'i', 'o', 'n', 's', 'R', '\031', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'O', +'p', 't', 'i', 'o', 'n', 's', '\022', 'U', '\n', '(', 'c', 'l', 'o', 's', 'e', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', +'n', 's', '_', 'o', 'n', '_', 'h', 'o', 's', 't', '_', 'h', 'e', 'a', 'l', 't', 'h', '_', 'f', 'a', 'i', 'l', 'u', 'r', 'e', +'\030', '\037', ' ', '\001', '(', '\010', 'R', '#', 'c', 'l', 'o', 's', 'e', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 's', 'O', +'n', 'H', 'o', 's', 't', 'H', 'e', 'a', 'l', 't', 'h', 'F', 'a', 'i', 'l', 'u', 'r', 'e', '\022', '@', '\n', '\035', 'i', 'g', 'n', +'o', 'r', 'e', '_', 'h', 'e', 'a', 'l', 't', 'h', '_', 'o', 'n', '_', 'h', 'o', 's', 't', '_', 'r', 'e', 'm', 'o', 'v', 'a', +'l', '\030', ' ', ' ', '\001', '(', '\010', 'R', '\031', 'i', 'g', 'n', 'o', 'r', 'e', 'H', 'e', 'a', 'l', 't', 'h', 'O', 'n', 'H', 'o', +'s', 't', 'R', 'e', 'm', 'o', 'v', 'a', 'l', '\022', '9', '\n', '\007', 'f', 'i', 'l', 't', 'e', 'r', 's', '\030', '(', ' ', '\003', '(', +'\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', +'v', '3', '.', 'F', 'i', 'l', 't', 'e', 'r', 'R', '\007', 'f', 'i', 'l', 't', 'e', 'r', 's', '\022', '`', '\n', '\025', 'l', 'o', 'a', +'d', '_', 'b', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', ')', ' ', '\001', '(', '\013', '2', +',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', +'.', 'L', 'o', 'a', 'd', 'B', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\023', 'l', 'o', 'a', +'d', 'B', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'A', '\n', '\n', 'l', 'r', 's', '_', 's', +'e', 'r', 'v', 'e', 'r', '\030', '*', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\t', 'l', +'r', 's', 'S', 'e', 'r', 'v', 'e', 'r', '\022', '?', '\n', '\025', 't', 'r', 'a', 'c', 'k', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', +'_', 'b', 'u', 'd', 'g', 'e', 't', 's', '\030', '/', ' ', '\001', '(', '\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', +'.', '0', 'R', '\023', 't', 'r', 'a', 'c', 'k', 'T', 'i', 'm', 'e', 'o', 'u', 't', 'B', 'u', 'd', 'g', 'e', 't', 's', '\022', 'S', +'\n', '\017', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '0', ' ', '\001', '(', '\013', '2', '*', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', +'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\016', 'u', 'p', 's', 't', 'r', 'e', +'a', 'm', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'Z', '\n', '\023', 't', 'r', 'a', 'c', 'k', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', +'_', 's', 't', 'a', 't', 's', '\030', '1', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'T', 'r', 'a', 'c', 'k', 'C', 'l', 'u', 's', 't', 'e', +'r', 'S', 't', 'a', 't', 's', 'R', '\021', 't', 'r', 'a', 'c', 'k', 'C', 'l', 'u', 's', 't', 'e', 'r', 'S', 't', 'a', 't', 's', +'\022', '^', '\n', '\021', 'p', 'r', 'e', 'c', 'o', 'n', 'n', 'e', 'c', 't', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '2', ' ', '\001', +'(', '\013', '2', '1', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', +'.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'P', 'r', 'e', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'P', 'o', 'l', +'i', 'c', 'y', 'R', '\020', 'p', 'r', 'e', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'X', '\n', ')', +'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'p', 'o', 'o', 'l', '_', 'p', 'e', 'r', '_', 'd', 'o', 'w', 'n', 's', +'t', 'r', 'e', 'a', 'm', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '\030', '3', ' ', '\001', '(', '\010', 'R', '%', 'c', +'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'o', 'o', 'l', 'P', 'e', 'r', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', +'m', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '\032', '\346', '\001', '\n', '\024', 'T', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', +'S', 'o', 'c', 'k', 'e', 't', 'M', 'a', 't', 'c', 'h', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', +'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '-', '\n', '\005', 'm', 'a', 't', 'c', 'h', '\030', +'\002', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', +'t', 'r', 'u', 'c', 't', 'R', '\005', 'm', 'a', 't', 'c', 'h', '\022', 'P', '\n', '\020', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', +'_', 's', 'o', 'c', 'k', 'e', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', +'e', 't', 'R', '\017', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', ':', '0', '\232', '\305', '\210', '\036', +'+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'T', +'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', 'M', 'a', 't', 'c', 'h', '\032', '\230', '\001', '\n', '\021', 'C', +'u', 's', 't', 'o', 'm', 'C', 'l', 'u', 's', 't', 'e', 'r', 'T', 'y', 'p', 'e', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', +'\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '7', '\n', '\014', 't', +'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', +'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', +'i', 'g', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', +'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'u', 's', 't', 'o', 'm', 'C', 'l', 'u', 's', 't', 'e', 'r', 'T', 'y', 'p', 'e', '\032', +'\246', '\001', '\n', '\020', 'E', 'd', 's', 'C', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'A', '\n', '\n', 'e', +'d', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', +'e', 'R', '\t', 'e', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '!', '\n', '\014', 's', 'e', 'r', 'v', 'i', 'c', 'e', '_', 'n', +'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\013', 's', 'e', 'r', 'v', 'i', 'c', 'e', 'N', 'a', 'm', 'e', ':', ',', '\232', +'\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', +'r', '.', 'E', 'd', 's', 'C', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\244', '\n', '\n', '\016', 'L', 'b', +'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'y', '\n', '\017', 'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', '_', +'p', 'o', 'l', 'i', 'c', 'y', '\030', '\001', ' ', '\001', '(', '\016', '2', 'F', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'b', 'S', +'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'F', 'a', 'l', 'l', 'b', +'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\016', 'f', 'a', 'l', 'l', +'b', 'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '>', '\n', '\016', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 's', 'u', 'b', +'s', 'e', 't', '\030', '\002', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'R', '\r', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'S', 'u', 'b', 's', 'e', 't', '\022', +'k', '\n', '\020', 's', 'u', 'b', 's', 'e', 't', '_', 's', 'e', 'l', 'e', 'c', 't', 'o', 'r', 's', '\030', '\003', ' ', '\003', '(', '\013', +'2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', +'3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '.', +'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', 'R', '\017', 's', 'u', 'b', 's', 'e', 't', 'S', +'e', 'l', 'e', 'c', 't', 'o', 'r', 's', '\022', '2', '\n', '\025', 'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', '_', 'w', 'e', 'i', 'g', +'h', 't', '_', 'a', 'w', 'a', 'r', 'e', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\023', 'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'W', +'e', 'i', 'g', 'h', 't', 'A', 'w', 'a', 'r', 'e', '\022', '2', '\n', '\025', 's', 'c', 'a', 'l', 'e', '_', 'l', 'o', 'c', 'a', 'l', +'i', 't', 'y', '_', 'w', 'e', 'i', 'g', 'h', 't', '\030', '\005', ' ', '\001', '(', '\010', 'R', '\023', 's', 'c', 'a', 'l', 'e', 'L', 'o', +'c', 'a', 'l', 'i', 't', 'y', 'W', 'e', 'i', 'g', 'h', 't', '\022', '$', '\n', '\016', 'p', 'a', 'n', 'i', 'c', '_', 'm', 'o', 'd', +'e', '_', 'a', 'n', 'y', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\014', 'p', 'a', 'n', 'i', 'c', 'M', 'o', 'd', 'e', 'A', 'n', 'y', +'\022', '\036', '\n', '\013', 'l', 'i', 's', 't', '_', 'a', 's', '_', 'a', 'n', 'y', '\030', '\007', ' ', '\001', '(', '\010', 'R', '\t', 'l', 'i', +'s', 't', 'A', 's', 'A', 'n', 'y', '\022', '\222', '\001', '\n', '\030', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '_', 'f', 'a', 'l', 'l', +'b', 'a', 'c', 'k', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\010', ' ', '\001', '(', '\016', '2', 'N', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', +'r', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', +'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'F', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', 'B', '\010', '\372', +'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\026', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', 'F', 'a', 'l', 'l', 'b', 'a', 'c', 'k', +'P', 'o', 'l', 'i', 'c', 'y', '\032', '\332', '\003', '\n', '\020', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', +'o', 'r', '\022', '\022', '\n', '\004', 'k', 'e', 'y', 's', '\030', '\001', ' ', '\003', '(', '\t', 'R', '\004', 'k', 'e', 'y', 's', '\022', '3', '\n', +'\026', 's', 'i', 'n', 'g', 'l', 'e', '_', 'h', 'o', 's', 't', '_', 'p', 'e', 'r', '_', 's', 'u', 'b', 's', 'e', 't', '\030', '\004', +' ', '\001', '(', '\010', 'R', '\023', 's', 'i', 'n', 'g', 'l', 'e', 'H', 'o', 's', 't', 'P', 'e', 'r', 'S', 'u', 'b', 's', 'e', 't', +'\022', '\222', '\001', '\n', '\017', 'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\002', ' ', '\001', '(', +'\016', '2', '_', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', +'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', +'.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', +'t', 'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', 'F', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', 'B', '\010', +'\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\016', 'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', '\022', +'0', '\n', '\024', 'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', '_', 'k', 'e', 'y', 's', '_', 's', 'u', 'b', 's', 'e', 't', '\030', '\003', +' ', '\003', '(', '\t', 'R', '\022', 'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 'K', 'e', 'y', 's', 'S', 'u', 'b', 's', 'e', 't', '\"', +'y', '\n', '\036', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', 'F', 'a', 'l', 'l', 'b', 'a', +'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '\017', '\n', '\013', 'N', 'O', 'T', '_', 'D', 'E', 'F', 'I', 'N', 'E', 'D', '\020', '\000', +'\022', '\017', '\n', '\013', 'N', 'O', '_', 'F', 'A', 'L', 'L', 'B', 'A', 'C', 'K', '\020', '\001', '\022', '\020', '\n', '\014', 'A', 'N', 'Y', '_', +'E', 'N', 'D', 'P', 'O', 'I', 'N', 'T', '\020', '\002', '\022', '\022', '\n', '\016', 'D', 'E', 'F', 'A', 'U', 'L', 'T', '_', 'S', 'U', 'B', +'S', 'E', 'T', '\020', '\003', '\022', '\017', '\n', '\013', 'K', 'E', 'Y', 'S', '_', 'S', 'U', 'B', 'S', 'E', 'T', '\020', '\004', ':', ';', '\232', +'\305', '\210', '\036', '6', '\n', '4', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', +'r', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', +'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', '\"', 'O', '\n', '\026', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'F', 'a', 'l', 'l', 'b', +'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '\017', '\n', '\013', 'N', 'O', '_', 'F', 'A', 'L', 'L', 'B', 'A', 'C', 'K', '\020', +'\000', '\022', '\020', '\n', '\014', 'A', 'N', 'Y', '_', 'E', 'N', 'D', 'P', 'O', 'I', 'N', 'T', '\020', '\001', '\022', '\022', '\n', '\016', 'D', 'E', +'F', 'A', 'U', 'L', 'T', '_', 'S', 'U', 'B', 'S', 'E', 'T', '\020', '\002', '\"', 'M', '\n', '\036', 'L', 'b', 'S', 'u', 'b', 's', 'e', +'t', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'F', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '\030', +'\n', '\024', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', '_', 'N', 'O', '_', 'F', 'A', 'L', 'L', 'B', 'A', 'C', 'K', '\020', '\000', '\022', +'\021', '\n', '\r', 'F', 'A', 'L', 'L', 'B', 'A', 'C', 'K', '_', 'L', 'I', 'S', 'T', '\020', '\001', ':', '*', '\232', '\305', '\210', '\036', '%', +'\n', '#', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'b', +'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\343', '\001', '\n', '\017', 'S', 'l', 'o', 'w', 'S', 't', 'a', 'r', +'t', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'E', '\n', '\021', 's', 'l', 'o', 'w', '_', 's', 't', 'a', 'r', 't', '_', 'w', 'i', 'n', +'d', 'o', 'w', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\017', 's', 'l', 'o', 'w', 'S', 't', 'a', 'r', 't', 'W', 'i', 'n', +'d', 'o', 'w', '\022', 'C', '\n', '\n', 'a', 'g', 'g', 'r', 'e', 's', 's', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\013', '2', '#', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', +'t', 'i', 'm', 'e', 'D', 'o', 'u', 'b', 'l', 'e', 'R', '\n', 'a', 'g', 'g', 'r', 'e', 's', 's', 'i', 'o', 'n', '\022', 'D', '\n', +'\022', 'm', 'i', 'n', '_', 'w', 'e', 'i', 'g', 'h', 't', '_', 'p', 'e', 'r', 'c', 'e', 'n', 't', '\030', '\003', ' ', '\001', '(', '\013', +'2', '\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', +'\020', 'm', 'i', 'n', 'W', 'e', 'i', 'g', 'h', 't', 'P', 'e', 'r', 'c', 'e', 'n', 't', '\032', 'r', '\n', '\022', 'R', 'o', 'u', 'n', +'d', 'R', 'o', 'b', 'i', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\\', '\n', '\021', 's', 'l', 'o', 'w', '_', 's', 't', +'a', 'r', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', +'.', 'S', 'l', 'o', 'w', 'S', 't', 'a', 'r', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\017', 's', 'l', 'o', 'w', 'S', 't', 'a', +'r', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\305', '\002', '\n', '\024', 'L', 'e', 'a', 's', 't', 'R', 'e', 'q', 'u', 'e', 's', 't', +'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'H', '\n', '\014', 'c', 'h', 'o', 'i', 'c', 'e', '_', 'c', 'o', 'u', 'n', 't', '\030', +'\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', +'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\002', 'R', '\013', 'c', 'h', 'o', 'i', +'c', 'e', 'C', 'o', 'u', 'n', 't', '\022', 'S', '\n', '\023', 'a', 'c', 't', 'i', 'v', 'e', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', +'_', 'b', 'i', 'a', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'D', 'o', 'u', 'b', 'l', 'e', 'R', '\021', +'a', 'c', 't', 'i', 'v', 'e', 'R', 'e', 'q', 'u', 'e', 's', 't', 'B', 'i', 'a', 's', '\022', '\\', '\n', '\021', 's', 'l', 'o', 'w', +'_', 's', 't', 'a', 'r', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', +'t', 'e', 'r', '.', 'S', 'l', 'o', 'w', 'S', 't', 'a', 'r', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\017', 's', 'l', 'o', 'w', +'S', 't', 'a', 'r', 't', 'C', 'o', 'n', 'f', 'i', 'g', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', +'.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'e', 'a', 's', 't', 'R', 'e', 'q', 'u', +'e', 's', 't', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\221', '\003', '\n', '\020', 'R', 'i', 'n', 'g', 'H', 'a', 's', 'h', 'L', +'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'T', '\n', '\021', 'm', 'i', 'n', 'i', 'm', 'u', 'm', '_', 'r', 'i', 'n', 'g', '_', 's', +'i', 'z', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'U', 'I', 'n', 't', '6', '4', 'V', 'a', 'l', 'u', 'e', 'B', '\n', '\372', 'B', '\007', '2', '\005', '\030', '\200', '\200', '\200', +'\004', 'R', '\017', 'm', 'i', 'n', 'i', 'm', 'u', 'm', 'R', 'i', 'n', 'g', 'S', 'i', 'z', 'e', '\022', 'm', '\n', '\r', 'h', 'a', 's', +'h', '_', 'f', 'u', 'n', 'c', 't', 'i', 'o', 'n', '\030', '\003', ' ', '\001', '(', '\016', '2', '>', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', +'.', 'R', 'i', 'n', 'g', 'H', 'a', 's', 'h', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'H', 'a', 's', 'h', 'F', 'u', 'n', +'c', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\014', 'h', 'a', 's', 'h', 'F', 'u', 'n', 'c', +'t', 'i', 'o', 'n', '\022', 'T', '\n', '\021', 'm', 'a', 'x', 'i', 'm', 'u', 'm', '_', 'r', 'i', 'n', 'g', '_', 's', 'i', 'z', 'e', +'\030', '\004', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', +'U', 'I', 'n', 't', '6', '4', 'V', 'a', 'l', 'u', 'e', 'B', '\n', '\372', 'B', '\007', '2', '\005', '\030', '\200', '\200', '\200', '\004', 'R', '\017', +'m', 'a', 'x', 'i', 'm', 'u', 'm', 'R', 'i', 'n', 'g', 'S', 'i', 'z', 'e', '\"', '.', '\n', '\014', 'H', 'a', 's', 'h', 'F', 'u', +'n', 'c', 't', 'i', 'o', 'n', '\022', '\013', '\n', '\007', 'X', 'X', '_', 'H', 'A', 'S', 'H', '\020', '\000', '\022', '\021', '\n', '\r', 'M', 'U', +'R', 'M', 'U', 'R', '_', 'H', 'A', 'S', 'H', '_', '2', '\020', '\001', ':', ',', '\232', '\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', +'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'R', 'i', 'n', 'g', 'H', 'a', 's', +'h', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'J', '\004', '\010', '\002', '\020', '\003', '\032', 'Y', '\n', '\016', 'M', 'a', 'g', 'l', 'e', 'v', +'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'G', '\n', '\n', 't', 'a', 'b', 'l', 'e', '_', 's', 'i', 'z', 'e', '\030', '\001', ' ', +'\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', +'t', '6', '4', 'V', 'a', 'l', 'u', 'e', 'B', '\n', '\372', 'B', '\007', '2', '\005', '\030', '\313', '\226', '\261', '\002', 'R', '\t', 't', 'a', 'b', +'l', 'e', 'S', 'i', 'z', 'e', '\032', '\277', '\002', '\n', '\023', 'O', 'r', 'i', 'g', 'i', 'n', 'a', 'l', 'D', 's', 't', 'L', 'b', 'C', +'o', 'n', 'f', 'i', 'g', '\022', '&', '\n', '\017', 'u', 's', 'e', '_', 'h', 't', 't', 'p', '_', 'h', 'e', 'a', 'd', 'e', 'r', '\030', +'\001', ' ', '\001', '(', '\010', 'R', '\r', 'u', 's', 'e', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', '\022', '(', '\n', '\020', 'h', +'t', 't', 'p', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\016', 'h', 't', +'t', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 'N', 'a', 'm', 'e', '\022', ']', '\n', '\026', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', +'p', 'o', 'r', 't', '_', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', +'\t', '\372', 'B', '\006', '*', '\004', '\030', '\377', '\377', '\003', 'R', '\024', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'P', 'o', 'r', 't', 'O', +'v', 'e', 'r', 'r', 'i', 'd', 'e', '\022', 'F', '\n', '\014', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '_', 'k', 'e', 'y', '\030', '\004', +' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', +'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', 'R', '\013', 'm', 'e', 't', 'a', 'd', 'a', 't', +'a', 'K', 'e', 'y', ':', '/', '\232', '\305', '\210', '\036', '*', '\n', '(', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', +'.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'O', 'r', 'i', 'g', 'i', 'n', 'a', 'l', 'D', 's', 't', 'L', 'b', 'C', 'o', 'n', +'f', 'i', 'g', '\032', '\325', '\013', '\n', '\016', 'C', 'o', 'm', 'm', 'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'N', '\n', +'\027', 'h', 'e', 'a', 'l', 't', 'h', 'y', '_', 'p', 'a', 'n', 'i', 'c', '_', 't', 'h', 'r', 'e', 's', 'h', 'o', 'l', 'd', '\030', +'\001', ' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'P', 'e', 'r', +'c', 'e', 'n', 't', 'R', '\025', 'h', 'e', 'a', 'l', 't', 'h', 'y', 'P', 'a', 'n', 'i', 'c', 'T', 'h', 'r', 'e', 's', 'h', 'o', +'l', 'd', '\022', 't', '\n', '\024', 'z', 'o', 'n', 'e', '_', 'a', 'w', 'a', 'r', 'e', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', +'g', '\030', '\002', ' ', '\001', '(', '\013', '2', 'A', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', +'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'L', 'b', +'C', 'o', 'n', 'f', 'i', 'g', '.', 'Z', 'o', 'n', 'e', 'A', 'w', 'a', 'r', 'e', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'H', +'\000', 'R', '\021', 'z', 'o', 'n', 'e', 'A', 'w', 'a', 'r', 'e', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\211', '\001', '\n', '\033', +'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', '_', 'w', 'e', 'i', 'g', 'h', 't', 'e', 'd', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', +'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', 'H', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'L', +'b', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'W', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'L', +'b', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\030', 'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'W', 'e', 'i', 'g', 'h', 't', +'e', 'd', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'I', '\n', '\023', 'u', 'p', 'd', 'a', 't', 'e', '_', 'm', 'e', 'r', 'g', +'e', '_', 'w', 'i', 'n', 'd', 'o', 'w', '\030', '\004', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\021', 'u', 'p', 'd', 'a', 't', 'e', 'M', +'e', 'r', 'g', 'e', 'W', 'i', 'n', 'd', 'o', 'w', '\022', 'C', '\n', '\037', 'i', 'g', 'n', 'o', 'r', 'e', '_', 'n', 'e', 'w', '_', +'h', 'o', 's', 't', 's', '_', 'u', 'n', 't', 'i', 'l', '_', 'f', 'i', 'r', 's', 't', '_', 'h', 'c', '\030', '\005', ' ', '\001', '(', +'\010', 'R', '\032', 'i', 'g', 'n', 'o', 'r', 'e', 'N', 'e', 'w', 'H', 'o', 's', 't', 's', 'U', 'n', 't', 'i', 'l', 'F', 'i', 'r', +'s', 't', 'H', 'c', '\022', 'M', '\n', '$', 'c', 'l', 'o', 's', 'e', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 's', +'_', 'o', 'n', '_', 'h', 'o', 's', 't', '_', 's', 'e', 't', '_', 'c', 'h', 'a', 'n', 'g', 'e', '\030', '\006', ' ', '\001', '(', '\010', +'R', '\037', 'c', 'l', 'o', 's', 'e', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 's', 'O', 'n', 'H', 'o', 's', 't', 'S', +'e', 't', 'C', 'h', 'a', 'n', 'g', 'e', '\022', '\212', '\001', '\n', '\034', 'c', 'o', 'n', 's', 'i', 's', 't', 'e', 'n', 't', '_', 'h', +'a', 's', 'h', 'i', 'n', 'g', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\007', ' ', '\001', '(', '\013', '2', 'I', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', +'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'C', 'o', 'n', +'s', 'i', 's', 't', 'e', 'n', 't', 'H', 'a', 's', 'h', 'i', 'n', 'g', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\031', 'c', +'o', 'n', 's', 'i', 's', 't', 'e', 'n', 't', 'H', 'a', 's', 'h', 'i', 'n', 'g', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', +'W', '\n', '\024', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '_', 'h', 'o', 's', 't', '_', 's', 't', 'a', 't', 'u', 's', '\030', '\010', +' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '.', 'H', 'e', 'a', 'l', 't', 'h', 'S', 't', 'a', 't', 'u', 's', 'S', 'e', 't', 'R', '\022', 'o', 'v', 'e', 'r', 'r', +'i', 'd', 'e', 'H', 'o', 's', 't', 'S', 't', 'a', 't', 'u', 's', '\032', '\215', '\002', '\n', '\021', 'Z', 'o', 'n', 'e', 'A', 'w', 'a', +'r', 'e', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '?', '\n', '\017', 'r', 'o', 'u', 't', 'i', 'n', 'g', '_', 'e', 'n', 'a', +'b', 'l', 'e', 'd', '\030', '\001', ' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', +'3', '.', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\016', 'r', 'o', 'u', 't', 'i', 'n', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', +'\022', 'F', '\n', '\020', 'm', 'i', 'n', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 'i', 'z', 'e', '\030', '\002', ' ', '\001', '(', +'\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '6', +'4', 'V', 'a', 'l', 'u', 'e', 'R', '\016', 'm', 'i', 'n', 'C', 'l', 'u', 's', 't', 'e', 'r', 'S', 'i', 'z', 'e', '\022', '1', '\n', +'\025', 'f', 'a', 'i', 'l', '_', 't', 'r', 'a', 'f', 'f', 'i', 'c', '_', 'o', 'n', '_', 'p', 'a', 'n', 'i', 'c', '\030', '\003', ' ', +'\001', '(', '\010', 'R', '\022', 'f', 'a', 'i', 'l', 'T', 'r', 'a', 'f', 'f', 'i', 'c', 'O', 'n', 'P', 'a', 'n', 'i', 'c', ':', '<', +'\232', '\305', '\210', '\036', '7', '\n', '5', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', +'e', 'r', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'Z', 'o', 'n', 'e', 'A', 'w', 'a', +'r', 'e', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '_', '\n', '\030', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'W', 'e', 'i', +'g', 'h', 't', 'e', 'd', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', ':', 'C', '\232', '\305', '\210', '\036', '>', '\n', '<', 'e', 'n', 'v', +'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'L', +'b', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'W', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'L', +'b', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\361', '\001', '\n', '\031', 'C', 'o', 'n', 's', 'i', 's', 't', 'e', 'n', 't', 'H', 'a', 's', +'h', 'i', 'n', 'g', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '7', '\n', '\030', 'u', 's', 'e', '_', 'h', 'o', 's', 't', 'n', +'a', 'm', 'e', '_', 'f', 'o', 'r', '_', 'h', 'a', 's', 'h', 'i', 'n', 'g', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\025', 'u', 's', +'e', 'H', 'o', 's', 't', 'n', 'a', 'm', 'e', 'F', 'o', 'r', 'H', 'a', 's', 'h', 'i', 'n', 'g', '\022', 'U', '\n', '\023', 'h', 'a', +'s', 'h', '_', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '_', 'f', 'a', 'c', 't', 'o', 'r', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', +'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', +'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', 'd', 'R', '\021', 'h', 'a', 's', 'h', 'B', 'a', 'l', 'a', 'n', 'c', 'e', +'F', 'a', 'c', 't', 'o', 'r', ':', 'D', '\232', '\305', '\210', '\036', '?', '\n', '=', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', +'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', +'.', 'C', 'o', 'n', 's', 'i', 's', 't', 'e', 'n', 't', 'H', 'a', 's', 'h', 'i', 'n', 'g', 'L', 'b', 'C', 'o', 'n', 'f', 'i', +'g', ':', '*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', +'u', 's', 't', 'e', 'r', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\033', '\n', '\031', 'l', +'o', 'c', 'a', 'l', 'i', 't', 'y', '_', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\032', +'\322', '\001', '\n', '\013', 'R', 'e', 'f', 'r', 'e', 's', 'h', 'R', 'a', 't', 'e', '\022', 'N', '\n', '\r', 'b', 'a', 's', 'e', '_', 'i', +'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\016', '\372', 'B', '\013', '\252', '\001', '\010', '\010', '\001', +'*', '\004', '\020', '\300', '\204', '=', 'R', '\014', 'b', 'a', 's', 'e', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\022', 'J', '\n', '\014', 'm', +'a', 'x', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', +'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\014', '\372', 'B', '\t', '\252', +'\001', '\006', '*', '\004', '\020', '\300', '\204', '=', 'R', '\013', 'm', 'a', 'x', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', ':', '\'', '\232', '\305', +'\210', '\036', '\"', '\n', ' ', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', +'.', 'R', 'e', 'f', 'r', 'e', 's', 'h', 'R', 'a', 't', 'e', '\032', '\203', '\002', '\n', '\020', 'P', 'r', 'e', 'c', 'o', 'n', 'n', 'e', +'c', 't', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'x', '\n', '\035', 'p', 'e', 'r', '_', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', +'p', 'r', 'e', 'c', 'o', 'n', 'n', 'e', 'c', 't', '_', 'r', 'a', 't', 'i', 'o', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'o', 'u', 'b', 'l', 'e', 'V', 'a', 'l', +'u', 'e', 'B', '\027', '\372', 'B', '\024', '\022', '\022', '\031', '\000', '\000', '\000', '\000', '\000', '\000', '\010', '@', ')', '\000', '\000', '\000', '\000', '\000', '\000', +'\360', '?', 'R', '\032', 'p', 'e', 'r', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'P', 'r', 'e', 'c', 'o', 'n', 'n', 'e', 'c', 't', +'R', 'a', 't', 'i', 'o', '\022', 'u', '\n', '\033', 'p', 'r', 'e', 'd', 'i', 'c', 't', 'i', 'v', 'e', '_', 'p', 'r', 'e', 'c', 'o', +'n', 'n', 'e', 'c', 't', '_', 'r', 'a', 't', 'i', 'o', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', +'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'o', 'u', 'b', 'l', 'e', 'V', 'a', 'l', 'u', 'e', 'B', '\027', '\372', +'B', '\024', '\022', '\022', '\031', '\000', '\000', '\000', '\000', '\000', '\000', '\010', '@', ')', '\000', '\000', '\000', '\000', '\000', '\000', '\360', '?', 'R', '\031', 'p', +'r', 'e', 'd', 'i', 'c', 't', 'i', 'v', 'e', 'P', 'r', 'e', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', '\032', +'f', '\n', '\"', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', +'O', 'p', 't', 'i', 'o', 'n', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', +'R', '\003', 'k', 'e', 'y', '\022', '*', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', +'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', +'\002', '8', '\001', '\"', 'W', '\n', '\r', 'D', 'i', 's', 'c', 'o', 'v', 'e', 'r', 'y', 'T', 'y', 'p', 'e', '\022', '\n', '\n', '\006', 'S', +'T', 'A', 'T', 'I', 'C', '\020', '\000', '\022', '\016', '\n', '\n', 'S', 'T', 'R', 'I', 'C', 'T', '_', 'D', 'N', 'S', '\020', '\001', '\022', '\017', +'\n', '\013', 'L', 'O', 'G', 'I', 'C', 'A', 'L', '_', 'D', 'N', 'S', '\020', '\002', '\022', '\007', '\n', '\003', 'E', 'D', 'S', '\020', '\003', '\022', +'\020', '\n', '\014', 'O', 'R', 'I', 'G', 'I', 'N', 'A', 'L', '_', 'D', 'S', 'T', '\020', '\004', '\"', '\244', '\001', '\n', '\010', 'L', 'b', 'P', +'o', 'l', 'i', 'c', 'y', '\022', '\017', '\n', '\013', 'R', 'O', 'U', 'N', 'D', '_', 'R', 'O', 'B', 'I', 'N', '\020', '\000', '\022', '\021', '\n', +'\r', 'L', 'E', 'A', 'S', 'T', '_', 'R', 'E', 'Q', 'U', 'E', 'S', 'T', '\020', '\001', '\022', '\r', '\n', '\t', 'R', 'I', 'N', 'G', '_', +'H', 'A', 'S', 'H', '\020', '\002', '\022', '\n', '\n', '\006', 'R', 'A', 'N', 'D', 'O', 'M', '\020', '\003', '\022', '\n', '\n', '\006', 'M', 'A', 'G', +'L', 'E', 'V', '\020', '\005', '\022', '\024', '\n', '\020', 'C', 'L', 'U', 'S', 'T', 'E', 'R', '_', 'P', 'R', 'O', 'V', 'I', 'D', 'E', 'D', +'\020', '\006', '\022', ' ', '\n', '\034', 'L', 'O', 'A', 'D', '_', 'B', 'A', 'L', 'A', 'N', 'C', 'I', 'N', 'G', '_', 'P', 'O', 'L', 'I', +'C', 'Y', '_', 'C', 'O', 'N', 'F', 'I', 'G', '\020', '\007', '\"', '\004', '\010', '\004', '\020', '\004', '*', '\017', 'O', 'R', 'I', 'G', 'I', 'N', +'A', 'L', '_', 'D', 'S', 'T', '_', 'L', 'B', '\"', 'P', '\n', '\017', 'D', 'n', 's', 'L', 'o', 'o', 'k', 'u', 'p', 'F', 'a', 'm', +'i', 'l', 'y', '\022', '\010', '\n', '\004', 'A', 'U', 'T', 'O', '\020', '\000', '\022', '\013', '\n', '\007', 'V', '4', '_', 'O', 'N', 'L', 'Y', '\020', +'\001', '\022', '\013', '\n', '\007', 'V', '6', '_', 'O', 'N', 'L', 'Y', '\020', '\002', '\022', '\020', '\n', '\014', 'V', '4', '_', 'P', 'R', 'E', 'F', +'E', 'R', 'R', 'E', 'D', '\020', '\003', '\022', '\007', '\n', '\003', 'A', 'L', 'L', '\020', '\004', '\"', 'T', '\n', '\030', 'C', 'l', 'u', 's', 't', +'e', 'r', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', '\022', '\033', '\n', '\027', 'U', 'S', +'E', '_', 'C', 'O', 'N', 'F', 'I', 'G', 'U', 'R', 'E', 'D', '_', 'P', 'R', 'O', 'T', 'O', 'C', 'O', 'L', '\020', '\000', '\022', '\033', +'\n', '\027', 'U', 'S', 'E', '_', 'D', 'O', 'W', 'N', 'S', 'T', 'R', 'E', 'A', 'M', '_', 'P', 'R', 'O', 'T', 'O', 'C', 'O', 'L', +'\020', '\001', ':', '\033', '\232', '\305', '\210', '\036', '\026', '\n', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', +'l', 'u', 's', 't', 'e', 'r', 'B', '\030', '\n', '\026', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'd', 'i', 's', 'c', 'o', 'v', 'e', +'r', 'y', '_', 't', 'y', 'p', 'e', 'B', '\013', '\n', '\t', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', 'J', '\004', '\010', '\014', '\020', +'\r', 'J', '\004', '\010', '\017', '\020', '\020', 'J', '\004', '\010', '\007', '\020', '\010', 'J', '\004', '\010', '\013', '\020', '\014', 'J', '\004', '\010', '#', '\020', '$', +'R', '\005', 'h', 'o', 's', 't', 's', 'R', '\013', 't', 'l', 's', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', 'R', '\032', 'e', 'x', 't', +'e', 'n', 's', 'i', 'o', 'n', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\"', '\332', +'\002', '\n', '\023', 'L', 'o', 'a', 'd', 'B', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'O', '\n', +'\010', 'p', 'o', 'l', 'i', 'c', 'i', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '3', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'L', 'o', 'a', 'd', 'B', 'a', 'l', 'a', +'n', 'c', 'i', 'n', 'g', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\010', 'p', 'o', 'l', 'i', 'c', +'i', 'e', 's', '\032', '\310', '\001', '\n', '\006', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '`', '\n', '\026', 't', 'y', 'p', 'e', 'd', '_', 'e', +'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', '*', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', +'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\024', 't', 'y', 'p', 'e', 'd', 'E', 'x', 't', +'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', ':', '.', '\232', '\305', '\210', '\036', ')', '\n', '\'', 'e', 'n', 'v', 'o', +'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'L', 'o', 'a', 'd', 'B', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', 'P', 'o', 'l', +'i', 'c', 'y', '.', 'P', 'o', 'l', 'i', 'c', 'y', 'J', '\004', '\010', '\002', '\020', '\003', 'J', '\004', '\010', '\001', '\020', '\002', 'J', '\004', '\010', +'\003', '\020', '\004', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', 'R', '\004', 'n', 'a', 'm', 'e', 'R', '\014', 't', 'y', 'p', 'e', 'd', '_', +'c', 'o', 'n', 'f', 'i', 'g', ':', '\'', '\232', '\305', '\210', '\036', '\"', '\n', ' ', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', +'v', '2', '.', 'L', 'o', 'a', 'd', 'B', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', 'P', 'o', 'l', 'i', 'c', 'y', '\"', '\371', '\001', +'\n', '\031', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', +'n', 's', '\022', 'G', '\n', '\r', 't', 'c', 'p', '_', 'k', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '\030', '\001', ' ', '\001', '(', '\013', +'2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', +'c', 'p', 'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', 'R', '\014', 't', 'c', 'p', 'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', +'\022', 'd', '\n', '0', 's', 'e', 't', '_', 'l', 'o', 'c', 'a', 'l', '_', 'i', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', '_', 'n', +'a', 'm', 'e', '_', 'o', 'n', '_', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', +'n', 's', '\030', '\002', ' ', '\001', '(', '\010', 'R', '*', 's', 'e', 't', 'L', 'o', 'c', 'a', 'l', 'I', 'n', 't', 'e', 'r', 'f', 'a', +'c', 'e', 'N', 'a', 'm', 'e', 'O', 'n', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', +'n', 's', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'U', +'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', '\"', +'\240', '\001', '\n', '\021', 'T', 'r', 'a', 'c', 'k', 'C', 'l', 'u', 's', 't', 'e', 'r', 'S', 't', 'a', 't', 's', '\022', '\'', '\n', '\017', +'t', 'i', 'm', 'e', 'o', 'u', 't', '_', 'b', 'u', 'd', 'g', 'e', 't', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\016', 't', 'i', +'m', 'e', 'o', 'u', 't', 'B', 'u', 'd', 'g', 'e', 't', 's', '\022', '4', '\n', '\026', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'r', +'e', 's', 'p', 'o', 'n', 's', 'e', '_', 's', 'i', 'z', 'e', 's', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\024', 'r', 'e', 'q', 'u', +'e', 's', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'S', 'i', 'z', 'e', 's', '\022', ',', '\n', '\022', 'p', 'e', 'r', '_', 'e', +'n', 'd', 'p', 'o', 'i', 'n', 't', '_', 's', 't', 'a', 't', 's', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\020', 'p', 'e', 'r', 'E', +'n', 'd', 'p', 'o', 'i', 'n', 't', 'S', 't', 'a', 't', 's', 'B', '\211', '\001', '\n', '%', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', +'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', +'r', '.', 'v', '3', 'B', '\014', 'C', 'l', 'u', 's', 't', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'H', 'g', 'i', 't', +'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', +'t', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', +'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', ';', 'c', 'l', 'u', 's', 't', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', +'\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[25] = { + &envoy_config_cluster_v3_circuit_breaker_proto_upbdefinit, + &envoy_config_cluster_v3_filter_proto_upbdefinit, + &envoy_config_cluster_v3_outlier_detection_proto_upbdefinit, + &envoy_config_core_v3_address_proto_upbdefinit, + &envoy_config_core_v3_base_proto_upbdefinit, + &envoy_config_core_v3_config_source_proto_upbdefinit, + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_config_core_v3_health_check_proto_upbdefinit, + &envoy_config_core_v3_protocol_proto_upbdefinit, + &envoy_config_core_v3_resolver_proto_upbdefinit, + &envoy_config_endpoint_v3_endpoint_proto_upbdefinit, + &envoy_type_metadata_v3_metadata_proto_upbdefinit, + &envoy_type_v3_percent_proto_upbdefinit, + &google_protobuf_any_proto_upbdefinit, + &google_protobuf_duration_proto_upbdefinit, + &google_protobuf_struct_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &xds_core_v3_collection_entry_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_migrate_proto_upbdefinit, + &udpa_annotations_security_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_cluster_v3_cluster_proto_upbdefinit = { + deps, + &envoy_config_cluster_v3_cluster_proto_upb_file_layout, + "envoy/config/cluster/v3/cluster.proto", + UPB_STRINGVIEW_INIT(descriptor, 12560) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h new file mode 100644 index 00000000000..614d3843b9a --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h @@ -0,0 +1,150 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/cluster/v3/cluster.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPBDEFS_H_ +#define ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_config_cluster_v3_cluster_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_ClusterCollection_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.ClusterCollection"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_TransportSocketMatch_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.TransportSocketMatch"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_CustomClusterType_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.CustomClusterType"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_EdsClusterConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.EdsClusterConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_LbSubsetConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.LbSubsetConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.LbSubsetConfig.LbSubsetSelector"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_SlowStartConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.SlowStartConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.RoundRobinLbConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.LeastRequestLbConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_RingHashLbConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.RingHashLbConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_MaglevLbConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.MaglevLbConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.OriginalDstLbConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_CommonLbConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.CommonLbConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_RefreshRate_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.RefreshRate"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_PreconnectPolicy_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.PreconnectPolicy"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.TypedExtensionProtocolOptionsEntry"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_LoadBalancingPolicy_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.LoadBalancingPolicy"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_LoadBalancingPolicy_Policy_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.LoadBalancingPolicy.Policy"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_UpstreamConnectionOptions_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.UpstreamConnectionOptions"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_TrackClusterStats_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.TrackClusterStats"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c new file mode 100644 index 00000000000..725e5954b8e --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c @@ -0,0 +1,57 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/cluster/v3/filter.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/cluster/v3/filter.upbdefs.h" +#include "envoy/config/cluster/v3/filter.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_config_source_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[591] = {'\n', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', +'/', 'f', 'i', 'l', 't', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', '\027', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '\032', '(', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', +'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', 'r', 'c', 'e', '.', +'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', 'n', +'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', +'/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', +'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', +'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\332', +'\001', '\n', '\006', 'F', 'i', 'l', 't', 'e', 'r', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', +'\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '7', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', +'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'V', '\n', '\020', 'c', +'o', 'n', 'f', 'i', 'g', '_', 'd', 'i', 's', 'c', 'o', 'v', 'e', 'r', 'y', '\030', '\003', ' ', '\001', '(', '\013', '2', '+', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'E', 'x', 't', 'e', 'n', +'s', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\017', 'c', 'o', 'n', 'f', 'i', 'g', 'D', +'i', 's', 'c', 'o', 'v', 'e', 'r', 'y', ':', '\"', '\232', '\305', '\210', '\036', '\035', '\n', '\033', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', +'i', '.', 'v', '2', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'F', 'i', 'l', 't', 'e', 'r', 'B', '\210', '\001', '\n', '%', 'i', +'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', 'B', '\013', 'F', 'i', 'l', 't', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'P', +'\001', 'Z', 'H', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', +'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', +'n', 'f', 'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', ';', 'c', 'l', 'u', 's', 't', 'e', 'r', 'v', '3', +'\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[6] = { + &envoy_config_core_v3_config_source_proto_upbdefinit, + &google_protobuf_any_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_cluster_v3_filter_proto_upbdefinit = { + deps, + &envoy_config_cluster_v3_filter_proto_upb_file_layout, + "envoy/config/cluster/v3/filter.proto", + UPB_STRINGVIEW_INIT(descriptor, 591) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h index 9ab3f174aa9..9dc23d501a7 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/cluster/v3/filter.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CLUSTER_V3_FILTER_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c index cfdabc00d6a..b2ba2760462 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/cluster/v3/outlier_detection.proto * @@ -8,14 +7,14 @@ #include "upb/reflection/def.h" #include "envoy/config/cluster/v3/outlier_detection.upbdefs.h" -#include "envoy/config/cluster/v3/outlier_detection.upb.h" +#include "envoy/config/cluster/v3/outlier_detection.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[2582] = {'\n', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', +static const char descriptor[2703] = {'\n', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', '/', 'o', 'u', 't', 'l', 'i', 'e', 'r', '_', 'd', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\022', '\027', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', @@ -24,7 +23,7 @@ static const char descriptor[2582] = {'\n', '/', 'e', 'n', 'v', 'o', 'y', '/', ' 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', -'r', 'o', 't', 'o', '\"', '\221', '\021', '\n', '\020', 'O', 'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', +'r', 'o', 't', 'o', '\"', '\212', '\022', '\n', '\020', 'O', 'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', '\022', 'E', '\n', '\017', 'c', 'o', 'n', 's', 'e', 'c', 'u', 't', 'i', 'v', 'e', '_', '5', 'x', 'x', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\016', 'c', 'o', 'n', 's', 'e', 'c', 'u', 't', 'i', 'v', 'e', '5', 'x', 'x', '\022', '?', '\n', '\010', @@ -110,15 +109,20 @@ static const char descriptor[2582] = {'\n', '/', 'e', 'n', 'v', 'o', 'y', '/', ' 'a', 'x', '_', 'e', 'j', 'e', 'c', 't', 'i', 'o', 'n', '_', 't', 'i', 'm', 'e', '_', 'j', 'i', 't', 't', 'e', 'r', '\030', '\026', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\025', 'm', 'a', 'x', 'E', 'j', 'e', 'c', 't', 'i', 'o', 'n', 'T', 'i', 'm', 'e', 'J', 'i', -'t', 't', 'e', 'r', ':', ',', '\232', '\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', -'.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'O', 'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', -'B', '\222', '\001', '\n', '%', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', 'B', '\025', 'O', 'u', 't', 'l', 'i', 'e', -'r', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'H', 'g', 'i', 't', 'h', 'u', 'b', -'.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', -'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'l', 'u', 's', -'t', 'e', 'r', '/', 'v', '3', ';', 'c', 'l', 'u', 's', 't', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', -'\006', 'p', 'r', 'o', 't', 'o', '3', +'t', 't', 'e', 'r', '\022', 'w', '\n', '+', 's', 'u', 'c', 'c', 'e', 's', 's', 'f', 'u', 'l', '_', 'a', 'c', 't', 'i', 'v', 'e', +'_', 'h', 'e', 'a', 'l', 't', 'h', '_', 'c', 'h', 'e', 'c', 'k', '_', 'u', 'n', 'e', 'j', 'e', 'c', 't', '_', 'h', 'o', 's', +'t', '\030', '\027', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '&', 's', 'u', 'c', 'c', 'e', 's', 's', 'f', 'u', 'l', 'A', 'c', 't', +'i', 'v', 'e', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'U', 'n', 'e', 'j', 'e', 'c', 't', 'H', 'o', 's', 't', +':', ',', '\232', '\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'l', 'u', +'s', 't', 'e', 'r', '.', 'O', 'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', 'B', '\222', '\001', '\n', +'%', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', 'B', '\025', 'O', 'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', 't', +'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'H', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', +'/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', +'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', +'v', '3', ';', 'c', 'l', 'u', 's', 't', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', +'t', 'o', '3', }; static _upb_DefPool_Init *deps[6] = { @@ -134,5 +138,5 @@ _upb_DefPool_Init envoy_config_cluster_v3_outlier_detection_proto_upbdefinit = { deps, &envoy_config_cluster_v3_outlier_detection_proto_upb_file_layout, "envoy/config/cluster/v3/outlier_detection.proto", - UPB_STRINGVIEW_INIT(descriptor, 2582) + UPB_STRINGVIEW_INIT(descriptor, 2703) }; diff --git a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h similarity index 88% rename from src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h index 0a0b0f59b2e..433a6f45801 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/cluster/v3/outlier_detection.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CLUSTER_V3_OUTLIER_DETECTION_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c new file mode 100644 index 00000000000..1d703ca43d7 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c @@ -0,0 +1,201 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/common/matcher/v3/matcher.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/common/matcher/v3/matcher.upbdefs.h" +#include "envoy/config/common/matcher/v3/matcher.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_route_v3_route_components_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[4192] = {'\n', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'm', 'm', 'o', 'n', '/', 'm', 'a', 't', +'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', '\036', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', +'.', 'v', '3', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', +'/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', +'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 'r', 'o', 'u', 't', 'e', '_', 'c', 'o', 'm', 'p', +'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', +'m', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', 't', 'r', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', +'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', +'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', +'r', 'o', 't', 'o', '\"', '\332', '\021', '\n', '\007', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'X', '\n', '\014', 'm', 'a', 't', 'c', 'h', +'e', 'r', '_', 'l', 'i', 's', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '3', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', +'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', 'H', '\000', 'R', '\013', 'm', 'a', 't', 'c', 'h', +'e', 'r', 'L', 'i', 's', 't', '\022', 'X', '\n', '\014', 'm', 'a', 't', 'c', 'h', 'e', 'r', '_', 't', 'r', 'e', 'e', '\030', '\002', ' ', +'\001', '(', '\013', '2', '3', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', +'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', +'e', 'r', 'T', 'r', 'e', 'e', 'H', '\000', 'R', '\013', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '\022', 'O', '\n', '\013', +'o', 'n', '_', 'n', 'o', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', +'.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', 'n', 'M', 'a', 't', 'c', 'h', 'R', '\t', 'o', 'n', 'N', 'o', 'M', 'a', 't', +'c', 'h', '\032', '\245', '\001', '\n', '\007', 'O', 'n', 'M', 'a', 't', 'c', 'h', '\022', 'C', '\n', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', +'\030', '\001', ' ', '\001', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', +'m', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', +'\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'D', '\n', '\006', 'a', 'c', 't', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\013', '2', +'*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', +'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\006', 'a', 'c', 't', +'i', 'o', 'n', 'B', '\017', '\n', '\010', 'o', 'n', '_', 'm', 'a', 't', 'c', 'h', '\022', '\003', '\370', 'B', '\001', '\032', '\242', '\t', '\n', '\013', +'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '\022', 'f', '\n', '\010', 'm', 'a', 't', 'c', 'h', 'e', 'r', 's', '\030', '\001', +' ', '\003', '(', '\013', '2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', +'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', +'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'F', 'i', 'e', 'l', 'd', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', +'\222', '\001', '\002', '\010', '\001', 'R', '\010', 'm', 'a', 't', 'c', 'h', 'e', 'r', 's', '\032', '\334', '\006', '\n', '\t', 'P', 'r', 'e', 'd', 'i', +'c', 'a', 't', 'e', '\022', 'z', '\n', '\020', 's', 'i', 'n', 'g', 'l', 'e', '_', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\030', +'\001', ' ', '\001', '(', '\013', '2', 'M', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', +'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', +'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'S', 'i', 'n', 'g', 'l', 'e', +'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'H', '\000', 'R', '\017', 's', 'i', 'n', 'g', 'l', 'e', 'P', 'r', 'e', 'd', 'i', 'c', +'a', 't', 'e', '\022', 'l', '\n', '\n', 'o', 'r', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\013', '2', 'K', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', +'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', +'t', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'L', 'i', 's', 't', +'H', '\000', 'R', '\t', 'o', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'n', '\n', '\013', 'a', 'n', 'd', '_', 'm', 'a', 't', 'c', +'h', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', 'K', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', +'.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'P', 'r', +'e', 'd', 'i', 'c', 'a', 't', 'e', 'L', 'i', 's', 't', 'H', '\000', 'R', '\n', 'a', 'n', 'd', 'M', 'a', 't', 'c', 'h', 'e', 'r', +'\022', '`', '\n', '\013', 'n', 'o', 't', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\004', ' ', '\001', '(', '\013', '2', '=', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', +'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', +'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'H', '\000', 'R', '\n', 'n', 'o', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\032', '\207', +'\002', '\n', '\017', 'S', 'i', 'n', 'g', 'l', 'e', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'J', '\n', '\005', 'i', 'n', 'p', +'u', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', +'i', 'g', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'i', 'n', 'p', 'u', 't', '\022', 'G', '\n', '\013', 'v', 'a', +'l', 'u', 'e', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', +'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', +'h', 'e', 'r', 'H', '\000', 'R', '\n', 'v', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', '\022', 'O', '\n', '\014', 'c', 'u', 's', 't', +'o', 'm', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', +'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\013', 'c', 'u', 's', 't', 'o', 'm', 'M', 'a', 't', 'c', 'h', 'B', '\016', +'\n', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\032', 'v', '\n', '\r', 'P', 'r', 'e', 'd', 'i', 'c', 'a', +'t', 'e', 'L', 'i', 's', 't', '\022', 'e', '\n', '\t', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\030', '\001', ' ', '\003', '(', '\013', +'2', '=', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', +'t', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', +'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\002', 'R', '\t', +'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\021', '\n', '\n', 'm', 'a', 't', 'c', 'h', '_', 't', 'y', 'p', 'e', '\022', '\003', +'\370', 'B', '\001', '\032', '\313', '\001', '\n', '\014', 'F', 'i', 'e', 'l', 'd', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'e', '\n', '\t', 'p', +'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '=', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', +'t', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', +'t', 'e', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\t', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'T', +'\n', '\010', 'o', 'n', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', +'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', 'n', 'M', 'a', 't', 'c', 'h', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', +'R', '\007', 'o', 'n', 'M', 'a', 't', 'c', 'h', '\032', '\347', '\004', '\n', '\013', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', +'\022', 'J', '\n', '\005', 'i', 'n', 'p', 'u', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', +'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'i', 'n', 'p', 'u', +'t', '\022', 'f', '\n', '\017', 'e', 'x', 'a', 'c', 't', '_', 'm', 'a', 't', 'c', 'h', '_', 'm', 'a', 'p', '\030', '\002', ' ', '\001', '(', +'\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', +'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', +'T', 'r', 'e', 'e', '.', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', 'H', '\000', 'R', '\r', 'e', 'x', 'a', 'c', 't', 'M', 'a', 't', +'c', 'h', 'M', 'a', 'p', '\022', 'h', '\n', '\020', 'p', 'r', 'e', 'f', 'i', 'x', '_', 'm', 'a', 't', 'c', 'h', '_', 'm', 'a', 'p', +'\030', '\003', ' ', '\001', '(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', +'m', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', +'t', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '.', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', 'H', '\000', 'R', '\016', 'p', 'r', 'e', +'f', 'i', 'x', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', '\022', 'O', '\n', '\014', 'c', 'u', 's', 't', 'o', 'm', '_', 'm', 'a', 't', +'c', 'h', '\030', '\004', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', +'i', 'g', 'H', '\000', 'R', '\013', 'c', 'u', 's', 't', 'o', 'm', 'M', 'a', 't', 'c', 'h', '\032', '\326', '\001', '\n', '\010', 'M', 'a', 't', +'c', 'h', 'M', 'a', 'p', '\022', 'a', '\n', '\003', 'm', 'a', 'p', '\030', '\001', ' ', '\003', '(', '\013', '2', 'E', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', +'3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '.', 'M', 'a', 't', +'c', 'h', 'M', 'a', 'p', '.', 'M', 'a', 'p', 'E', 'n', 't', 'r', 'y', 'B', '\010', '\372', 'B', '\005', '\232', '\001', '\002', '\010', '\001', 'R', +'\003', 'm', 'a', 'p', '\032', 'g', '\n', '\010', 'M', 'a', 'p', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', +' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', 'E', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', +'/', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', +'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', 'n', 'M', 'a', 't', 'c', 'h', 'R', '\005', +'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', 'B', '\020', '\n', '\t', 't', 'r', 'e', 'e', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', +'B', '\001', 'B', '\023', '\n', '\014', 'm', 'a', 't', 'c', 'h', 'e', 'r', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', '\"', '\350', +'\010', '\n', '\016', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'T', '\n', '\010', 'o', 'r', '_', 'm', +'a', 't', 'c', 'h', '\030', '\001', ' ', '\001', '(', '\013', '2', '7', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', +'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'M', 'a', 't', 'c', 'h', 'S', 'e', 't', 'H', '\000', 'R', '\007', 'o', 'r', 'M', 'a', +'t', 'c', 'h', '\022', 'V', '\n', '\t', 'a', 'n', 'd', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '7', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', +'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'M', 'a', 't', 'c', +'h', 'S', 'e', 't', 'H', '\000', 'R', '\010', 'a', 'n', 'd', 'M', 'a', 't', 'c', 'h', '\022', 'M', '\n', '\t', 'n', 'o', 't', '_', 'm', +'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', +'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'H', '\000', 'R', '\010', 'n', 'o', 't', 'M', 'a', 't', 'c', 'h', '\022', '&', '\n', '\t', 'a', +'n', 'y', '_', 'm', 'a', 't', 'c', 'h', '\030', '\004', ' ', '\001', '(', '\010', 'B', '\007', '\372', 'B', '\004', 'j', '\002', '\010', '\001', 'H', '\000', +'R', '\010', 'a', 'n', 'y', 'M', 'a', 't', 'c', 'h', '\022', 'o', '\n', '\032', 'h', 't', 't', 'p', '_', 'r', 'e', 'q', 'u', 'e', 's', +'t', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\005', ' ', '\001', '(', '\013', '2', '0', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', +'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\027', +'h', 't', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', 'q', +'\n', '\033', 'h', 't', 't', 'p', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 't', 'r', 'a', 'i', 'l', 'e', 'r', 's', '_', 'm', +'a', 't', 'c', 'h', '\030', '\006', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'H', 'e', +'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\030', 'h', 't', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', +'T', 'r', 'a', 'i', 'l', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', 'q', '\n', '\033', 'h', 't', 't', 'p', '_', 'r', 'e', 's', +'p', 'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\007', ' ', '\001', '(', '\013', +'2', '0', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', +'t', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', +'H', '\000', 'R', '\030', 'h', 't', 't', 'p', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', +'t', 'c', 'h', '\022', 's', '\n', '\034', 'h', 't', 't', 'p', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 't', 'r', 'a', 'i', +'l', 'e', 'r', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\010', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', +'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\031', 'h', 't', 't', 'p', 'R', +'e', 's', 'p', 'o', 'n', 's', 'e', 'T', 'r', 'a', 'i', 'l', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', '|', '\n', '\037', 'h', +'t', 't', 'p', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 'b', 'o', 'd', 'y', '_', +'m', 'a', 't', 'c', 'h', '\030', '\t', ' ', '\001', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'G', +'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\033', 'h', 't', 't', 'p', 'R', 'e', +'q', 'u', 'e', 's', 't', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', '\022', '~', '\n', ' ', +'h', 't', 't', 'p', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 'b', 'o', 'd', +'y', '_', 'm', 'a', 't', 'c', 'h', '\030', '\n', ' ', '\001', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', +'p', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\034', 'h', 't', 't', 'p', +'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', '\032', +'Z', '\n', '\010', 'M', 'a', 't', 'c', 'h', 'S', 'e', 't', '\022', 'N', '\n', '\005', 'r', 'u', 'l', 'e', 's', '\030', '\001', ' ', '\003', '(', +'\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', +'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', +'\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\002', 'R', '\005', 'r', 'u', 'l', 'e', 's', 'B', '\013', '\n', '\004', 'r', 'u', 'l', 'e', '\022', +'\003', '\370', 'B', '\001', '\"', 'R', '\n', '\020', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', +'>', '\n', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', +'c', 'h', 'e', 'r', 'R', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\"', '\241', '\002', '\n', '\024', 'H', 't', 't', 'p', 'G', 'e', 'n', +'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', '\022', '\037', '\n', '\013', 'b', 'y', 't', 'e', 's', '_', 'l', 'i', +'m', 'i', 't', '\030', '\001', ' ', '\001', '(', '\r', 'R', '\n', 'b', 'y', 't', 'e', 's', 'L', 'i', 'm', 'i', 't', '\022', 'k', '\n', '\010', +'p', 'a', 't', 't', 'e', 'r', 'n', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', 'E', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'H', 't', +'t', 'p', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', '.', 'G', 'e', 'n', 'e', 'r', 'i', +'c', 'T', 'e', 'x', 't', 'M', 'a', 't', 'c', 'h', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\010', 'p', 'a', 't', +'t', 'e', 'r', 'n', 's', '\032', '{', '\n', '\020', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'T', 'e', 'x', 't', 'M', 'a', 't', 'c', 'h', +'\022', ',', '\n', '\014', 's', 't', 'r', 'i', 'n', 'g', '_', 'm', 'a', 't', 'c', 'h', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', +'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\013', 's', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', '\022', ',', '\n', '\014', +'b', 'i', 'n', 'a', 'r', 'y', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\014', 'B', '\007', '\372', 'B', '\004', 'z', '\002', +'\020', '\001', 'H', '\000', 'R', '\013', 'b', 'i', 'n', 'a', 'r', 'y', 'M', 'a', 't', 'c', 'h', 'B', '\013', '\n', '\004', 'r', 'u', 'l', 'e', +'\022', '\003', '\370', 'B', '\001', 'B', '\227', '\001', '\n', ',', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', +'r', '.', 'v', '3', 'B', '\014', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'O', 'g', 'i', 't', +'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', +'t', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', +'o', 'm', 'm', 'o', 'n', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', ';', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'v', +'3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[6] = { + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_config_route_v3_route_components_proto_upbdefinit, + &envoy_type_matcher_v3_string_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_common_matcher_v3_matcher_proto_upbdefinit = { + deps, + &envoy_config_common_matcher_v3_matcher_proto_upb_file_layout, + "envoy/config/common/matcher/v3/matcher.proto", + UPB_STRINGVIEW_INIT(descriptor, 4192) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h new file mode 100644 index 00000000000..9326f7f7c61 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h @@ -0,0 +1,105 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/common/matcher/v3/matcher.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPBDEFS_H_ +#define ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_config_common_matcher_v3_matcher_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_OnMatch_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.OnMatch"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherList_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherList"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate.PredicateList"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherTree_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherTree"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap.MapEntry"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_MatchPredicate_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.MatchPredicate"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_MatchPredicate_MatchSet_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.MatchPredicate.MatchSet"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_HttpHeadersMatch_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.HttpHeadersMatch"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_HttpGenericBodyMatch_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.HttpGenericBodyMatch"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.HttpGenericBodyMatch.GenericTextMatch"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c new file mode 100644 index 00000000000..3b0dcf1f4b7 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c @@ -0,0 +1,139 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/address.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/core/v3/address.upbdefs.h" +#include "envoy/config/core/v3/address.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_socket_option_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[2534] = {'\n', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'a', 'd', +'d', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'c', 'o', 'r', 'e', '.', 'v', '3', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', +'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', +'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 's', 'o', 'c', 'k', 'e', 't', +'_', 'o', 'p', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', +'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', +'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', +'/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', +'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', +'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '`', +'\n', '\004', 'P', 'i', 'p', 'e', '\022', '\033', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', +'r', '\002', '\020', '\001', 'R', '\004', 'p', 'a', 't', 'h', '\022', '\034', '\n', '\004', 'm', 'o', 'd', 'e', '\030', '\002', ' ', '\001', '(', '\r', 'B', +'\010', '\372', 'B', '\005', '*', '\003', '\030', '\377', '\003', 'R', '\004', 'm', 'o', 'd', 'e', ':', '\035', '\232', '\305', '\210', '\036', '\030', '\n', '\026', 'e', +'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'P', 'i', 'p', 'e', '\"', '\212', '\001', '\n', +'\024', 'E', 'n', 'v', 'o', 'y', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', '2', '\n', '\024', +'s', 'e', 'r', 'v', 'e', 'r', '_', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', +'\t', 'H', '\000', 'R', '\022', 's', 'e', 'r', 'v', 'e', 'r', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'N', 'a', 'm', 'e', '\022', '\037', +'\n', '\013', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '_', 'i', 'd', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\n', 'e', 'n', 'd', 'p', +'o', 'i', 'n', 't', 'I', 'd', 'B', '\035', '\n', '\026', 'a', 'd', 'd', 'r', 'e', 's', 's', '_', 'n', 'a', 'm', 'e', '_', 's', 'p', +'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', '\366', '\002', '\n', '\r', 'S', 'o', 'c', 'k', 'e', 't', 'A', 'd', +'d', 'r', 'e', 's', 's', '\022', 'R', '\n', '\010', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '\030', '\001', ' ', '\001', '(', '\016', '2', ',', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', +'k', 'e', 't', 'A', 'd', 'd', 'r', 'e', 's', 's', '.', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'B', '\010', '\372', 'B', '\005', '\202', +'\001', '\002', '\020', '\001', 'R', '\010', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '\022', '!', '\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', +'\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', +'*', '\n', '\n', 'p', 'o', 'r', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\003', ' ', '\001', '(', '\r', 'B', '\t', '\372', 'B', '\006', '*', +'\004', '\030', '\377', '\377', '\003', 'H', '\000', 'R', '\t', 'p', 'o', 'r', 't', 'V', 'a', 'l', 'u', 'e', '\022', '\037', '\n', '\n', 'n', 'a', 'm', +'e', 'd', '_', 'p', 'o', 'r', 't', '\030', '\004', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\t', 'n', 'a', 'm', 'e', 'd', 'P', 'o', 'r', +'t', '\022', '#', '\n', '\r', 'r', 'e', 's', 'o', 'l', 'v', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\005', ' ', '\001', '(', '\t', 'R', +'\014', 'r', 'e', 's', 'o', 'l', 'v', 'e', 'r', 'N', 'a', 'm', 'e', '\022', '\037', '\n', '\013', 'i', 'p', 'v', '4', '_', 'c', 'o', 'm', +'p', 'a', 't', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\n', 'i', 'p', 'v', '4', 'C', 'o', 'm', 'p', 'a', 't', '\"', '\034', '\n', '\010', +'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', '\022', '\007', '\n', '\003', 'T', 'C', 'P', '\020', '\000', '\022', '\007', '\n', '\003', 'U', 'D', 'P', '\020', +'\001', ':', '&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', +'r', 'e', '.', 'S', 'o', 'c', 'k', 'e', 't', 'A', 'd', 'd', 'r', 'e', 's', 's', 'B', '\025', '\n', '\016', 'p', 'o', 'r', 't', '_', +'s', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', '\220', '\002', '\n', '\014', 'T', 'c', 'p', 'K', 'e', 'e', +'p', 'a', 'l', 'i', 'v', 'e', '\022', 'G', '\n', '\020', 'k', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '_', 'p', 'r', 'o', 'b', 'e', +'s', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\017', 'k', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', 'P', 'r', +'o', 'b', 'e', 's', '\022', 'C', '\n', '\016', 'k', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '_', 't', 'i', 'm', 'e', '\030', '\002', ' ', +'\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', +'t', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\r', 'k', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', 'T', 'i', 'm', 'e', '\022', 'K', +'\n', '\022', 'k', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\003', ' ', '\001', '(', +'\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', +'2', 'V', 'a', 'l', 'u', 'e', 'R', '\021', 'k', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', +':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', +'e', '.', 'T', 'c', 'p', 'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '\"', '\261', '\001', '\n', '\022', 'E', 'x', 't', 'r', 'a', 'S', +'o', 'u', 'r', 'c', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'G', '\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\001', +' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'A', 'd', 'd', 'r', 'e', 's', 's', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', +'\001', 'R', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', 'R', '\n', '\016', 's', 'o', 'c', 'k', 'e', 't', '_', 'o', 'p', 't', 'i', +'o', 'n', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '+', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', 'O', 'v', 'e', 'r', +'r', 'i', 'd', 'e', 'R', '\r', 's', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', '\"', '\264', '\004', '\n', '\n', 'B', +'i', 'n', 'd', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'J', '\n', '\016', 's', 'o', 'u', 'r', 'c', 'e', '_', 'a', 'd', 'd', 'r', 'e', +'s', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\r', 's', 'o', 'u', +'r', 'c', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', '6', '\n', '\010', 'f', 'r', 'e', 'e', 'b', 'i', 'n', 'd', '\030', '\002', ' ', +'\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', +'l', 'V', 'a', 'l', 'u', 'e', 'R', '\010', 'f', 'r', 'e', 'e', 'b', 'i', 'n', 'd', '\022', 'I', '\n', '\016', 's', 'o', 'c', 'k', 'e', +'t', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', +'n', 'R', '\r', 's', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '^', '\n', '\026', 'e', 'x', 't', 'r', 'a', +'_', 's', 'o', 'u', 'r', 'c', 'e', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', 'e', 's', '\030', '\005', ' ', '\003', '(', '\013', '2', '(', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'E', 'x', 't', +'r', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\024', 'e', 'x', 't', 'r', 'a', 'S', 'o', 'u', +'r', 'c', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', 'e', 's', '\022', 'p', '\n', '\033', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', +'l', '_', 's', 'o', 'u', 'r', 'c', 'e', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', 'e', 's', '\030', '\004', ' ', '\003', '(', '\013', '2', +'#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', +'c', 'k', 'e', 't', 'A', 'd', 'd', 'r', 'e', 's', 's', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', +'\031', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'S', 'o', 'u', 'r', 'c', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', 'e', +'s', '\022', '`', '\n', '\026', 'l', 'o', 'c', 'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '_', 's', 'e', 'l', 'e', 'c', 't', +'o', 'r', '\030', '\006', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', +'i', 'g', 'R', '\024', 'l', 'o', 'c', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', 'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', ':', +'#', '\232', '\305', '\210', '\036', '\036', '\n', '\034', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', +'.', 'B', 'i', 'n', 'd', 'C', 'o', 'n', 'f', 'i', 'g', '\"', '\237', '\002', '\n', '\007', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'L', +'\n', '\016', 's', 'o', 'c', 'k', 'e', 't', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', +'e', 't', 'A', 'd', 'd', 'r', 'e', 's', 's', 'H', '\000', 'R', '\r', 's', 'o', 'c', 'k', 'e', 't', 'A', 'd', 'd', 'r', 'e', 's', +'s', '\022', '0', '\n', '\004', 'p', 'i', 'p', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'P', 'i', 'p', 'e', 'H', '\000', 'R', '\004', 'p', 'i', 'p', +'e', '\022', 'b', '\n', '\026', 'e', 'n', 'v', 'o', 'y', '_', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', +'s', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'E', 'n', 'v', 'o', 'y', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', +'s', 's', 'H', '\000', 'R', '\024', 'e', 'n', 'v', 'o', 'y', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', +'s', ':', ' ', '\232', '\305', '\210', '\036', '\033', '\n', '\031', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', +'r', 'e', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'B', '\016', '\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', '\003', '\370', 'B', +'\001', '\"', '\246', '\001', '\n', '\t', 'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', '\022', '.', '\n', '\016', 'a', 'd', 'd', 'r', 'e', 's', +'s', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\r', +'a', 'd', 'd', 'r', 'e', 's', 's', 'P', 'r', 'e', 'f', 'i', 'x', '\022', 'E', '\n', '\n', 'p', 'r', 'e', 'f', 'i', 'x', '_', 'l', +'e', 'n', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', +'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\010', '\372', 'B', '\005', '*', '\003', '\030', '\200', '\001', 'R', '\t', +'p', 'r', 'e', 'f', 'i', 'x', 'L', 'e', 'n', ':', '\"', '\232', '\305', '\210', '\036', '\035', '\n', '\033', 'e', 'n', 'v', 'o', 'y', '.', 'a', +'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 'B', '\200', '\001', '\n', '\"', +'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\014', 'A', 'd', 'd', 'r', 'e', 's', 's', 'P', 'r', 'o', 't', 'o', 'P', '\001', +'Z', 'B', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', +'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', +'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', ';', 'c', 'o', 'r', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', +'\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[8] = { + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_config_core_v3_socket_option_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit = { + deps, + &envoy_config_core_v3_address_proto_upb_file_layout, + "envoy/config/core/v3/address.proto", + UPB_STRINGVIEW_INIT(descriptor, 2534) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h similarity index 95% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h index 1a9be780f1b..9b7a99d8679 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/address.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_ADDRESS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c index 156fda8046d..492197f7f79 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/backoff.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/core/v3/backoff.upbdefs.h" -#include "envoy/config/core/v3/backoff.upb.h" +#include "envoy/config/core/v3/backoff.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h index c032117edd9..394736d66e4 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/backoff.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_BACKOFF_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c new file mode 100644 index 00000000000..3c9eaceba33 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c @@ -0,0 +1,274 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/base.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/core/v3/base.upbdefs.h" +#include "envoy/config/core/v3/base.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_backoff_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_http_uri_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_v3_semantic_version_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init xds_core_v3_context_params_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[5559] = {'\n', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', +'s', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', +'r', 'e', '.', 'v', '3', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', +'v', '3', '/', 'a', 'd', 'd', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', +'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 'c', 'k', 'o', 'f', 'f', '.', 'p', 'r', 'o', +'t', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', +'h', 't', 't', 'p', '_', 'u', 'r', 'i', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', +'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', +'/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 's', 'e', 'm', 'a', 'n', 't', 'i', 'c', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', +'.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', +'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\034', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'/', 's', 't', 'r', 'u', 'c', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', ' ', 'x', 'd', 's', +'/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', 'p', 'a', 'r', 'a', 'm', 's', '.', 'p', +'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', +'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', +'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', +'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', +'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', +'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', +'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 't', '\n', '\010', 'L', 'o', 'c', 'a', 'l', 'i', 't', +'y', '\022', '\026', '\n', '\006', 'r', 'e', 'g', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\006', 'r', 'e', 'g', 'i', 'o', 'n', +'\022', '\022', '\n', '\004', 'z', 'o', 'n', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\004', 'z', 'o', 'n', 'e', '\022', '\031', '\n', '\010', 's', +'u', 'b', '_', 'z', 'o', 'n', 'e', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\007', 's', 'u', 'b', 'Z', 'o', 'n', 'e', ':', '!', '\232', +'\305', '\210', '\036', '\034', '\n', '\032', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'L', +'o', 'c', 'a', 'l', 'i', 't', 'y', '\"', '\244', '\001', '\n', '\014', 'B', 'u', 'i', 'l', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\022', +'8', '\n', '\007', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', +'t', 'y', 'p', 'e', '.', 'v', '3', '.', 'S', 'e', 'm', 'a', 'n', 't', 'i', 'c', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'R', '\007', +'v', 'e', 'r', 's', 'i', 'o', 'n', '\022', '3', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\002', ' ', '\001', '(', '\013', +'2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', +'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', ':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', +'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'B', 'u', 'i', 'l', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\"', +'\214', '\002', '\n', '\t', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', +'(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '\032', '\n', '\010', 'c', 'a', 't', 'e', 'g', 'o', 'r', 'y', '\030', '\002', ' ', '\001', '(', +'\t', 'R', '\010', 'c', 'a', 't', 'e', 'g', 'o', 'r', 'y', '\022', '4', '\n', '\017', 't', 'y', 'p', 'e', '_', 'd', 'e', 's', 'c', 'r', +'i', 'p', 't', 'o', 'r', '\030', '\003', ' ', '\001', '(', '\t', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', +'\016', 't', 'y', 'p', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '\022', '<', '\n', '\007', 'v', 'e', 'r', 's', 'i', 'o', +'n', '\030', '\004', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', +'r', 'e', '.', 'v', '3', '.', 'B', 'u', 'i', 'l', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'R', '\007', 'v', 'e', 'r', 's', 'i', +'o', 'n', '\022', '\032', '\n', '\010', 'd', 'i', 's', 'a', 'b', 'l', 'e', 'd', '\030', '\005', ' ', '\001', '(', '\010', 'R', '\010', 'd', 'i', 's', +'a', 'b', 'l', 'e', 'd', '\022', '\033', '\n', '\t', 't', 'y', 'p', 'e', '_', 'u', 'r', 'l', 's', '\030', '\006', ' ', '\003', '(', '\t', 'R', +'\010', 't', 'y', 'p', 'e', 'U', 'r', 'l', 's', ':', '\"', '\232', '\305', '\210', '\036', '\035', '\n', '\033', 'e', 'n', 'v', 'o', 'y', '.', 'a', +'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\"', '\262', '\006', '\n', '\004', +'N', 'o', 'd', 'e', '\022', '\016', '\n', '\002', 'i', 'd', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\002', 'i', 'd', '\022', '\030', '\n', '\007', 'c', +'l', 'u', 's', 't', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\007', 'c', 'l', 'u', 's', 't', 'e', 'r', '\022', '3', '\n', '\010', +'m', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\003', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', +'`', '\n', '\022', 'd', 'y', 'n', 'a', 'm', 'i', 'c', '_', 'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '\030', '\014', ' ', '\003', +'(', '\013', '2', '1', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', +'.', 'N', 'o', 'd', 'e', '.', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', 'E', 'n', +'t', 'r', 'y', 'R', '\021', 'd', 'y', 'n', 'a', 'm', 'i', 'c', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '\022', ':', '\n', +'\010', 'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', '\030', '\004', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'R', '\010', 'l', +'o', 'c', 'a', 'l', 'i', 't', 'y', '\022', '&', '\n', '\017', 'u', 's', 'e', 'r', '_', 'a', 'g', 'e', 'n', 't', '_', 'n', 'a', 'm', +'e', '\030', '\006', ' ', '\001', '(', '\t', 'R', '\r', 'u', 's', 'e', 'r', 'A', 'g', 'e', 'n', 't', 'N', 'a', 'm', 'e', '\022', '.', '\n', +'\022', 'u', 's', 'e', 'r', '_', 'a', 'g', 'e', 'n', 't', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\030', '\007', ' ', '\001', '(', '\t', +'H', '\000', 'R', '\020', 'u', 's', 'e', 'r', 'A', 'g', 'e', 'n', 't', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\022', ']', '\n', '\030', 'u', +'s', 'e', 'r', '_', 'a', 'g', 'e', 'n', 't', '_', 'b', 'u', 'i', 'l', 'd', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\030', '\010', +' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '.', 'B', 'u', 'i', 'l', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'H', '\000', 'R', '\025', 'u', 's', 'e', 'r', 'A', 'g', +'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\022', '?', '\n', '\n', 'e', 'x', 't', 'e', 'n', 's', +'i', 'o', 'n', 's', '\030', '\t', ' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', '\n', 'e', 'x', 't', 'e', 'n', +'s', 'i', 'o', 'n', 's', '\022', '\'', '\n', '\017', 'c', 'l', 'i', 'e', 'n', 't', '_', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', +'\n', ' ', '\003', '(', '\t', 'R', '\016', 'c', 'l', 'i', 'e', 'n', 't', 'F', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', '[', '\n', '\023', +'l', 'i', 's', 't', 'e', 'n', 'i', 'n', 'g', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', 'e', 's', '\030', '\013', ' ', '\003', '(', '\013', +'2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', +'d', 'd', 'r', 'e', 's', 's', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\022', 'l', 'i', 's', 't', +'e', 'n', 'i', 'n', 'g', 'A', 'd', 'd', 'r', 'e', 's', 's', 'e', 's', '\032', '`', '\n', '\026', 'D', 'y', 'n', 'a', 'm', 'i', 'c', +'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', +'\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '0', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', +'.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 't', 'e', 'x', 't', 'P', 'a', 'r', 'a', 'm', +'s', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', ':', '\035', '\232', '\305', '\210', '\036', '\030', '\n', '\026', 'e', 'n', 'v', 'o', +'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'N', 'o', 'd', 'e', 'B', '\031', '\n', '\027', 'u', 's', 'e', +'r', '_', 'a', 'g', 'e', 'n', 't', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '_', 't', 'y', 'p', 'e', 'J', '\004', '\010', '\005', '\020', +'\006', 'R', '\r', 'b', 'u', 'i', 'l', 'd', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\"', '\261', '\003', '\n', '\010', 'M', 'e', 't', 'a', +'d', 'a', 't', 'a', '\022', '[', '\n', '\017', 'f', 'i', 'l', 't', 'e', 'r', '_', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\001', +' ', '\003', '(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'F', 'i', 'l', 't', 'e', 'r', 'M', 'e', 't', 'a', 'd', 'a', 't', +'a', 'E', 'n', 't', 'r', 'y', 'R', '\016', 'f', 'i', 'l', 't', 'e', 'r', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'k', '\n', +'\025', 't', 'y', 'p', 'e', 'd', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\002', ' ', +'\003', '(', '\013', '2', '7', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', +'3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'T', 'y', 'p', 'e', 'd', 'F', 'i', 'l', 't', 'e', 'r', 'M', 'e', 't', +'a', 'd', 'a', 't', 'a', 'E', 'n', 't', 'r', 'y', 'R', '\023', 't', 'y', 'p', 'e', 'd', 'F', 'i', 'l', 't', 'e', 'r', 'M', 'e', +'t', 'a', 'd', 'a', 't', 'a', '\032', 'Z', '\n', '\023', 'F', 'i', 'l', 't', 'e', 'r', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'E', +'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '-', '\n', +'\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', '\032', '\\', +'\n', '\030', 'T', 'y', 'p', 'e', 'd', 'F', 'i', 'l', 't', 'e', 'r', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'E', 'n', 't', 'r', +'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '*', '\n', '\005', 'v', 'a', +'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'A', 'n', 'y', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', ':', '!', '\232', '\305', '\210', '\036', '\034', '\n', +'\032', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'M', 'e', 't', 'a', 'd', 'a', +'t', 'a', '\"', '\206', '\001', '\n', '\r', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'U', 'I', 'n', 't', '3', '2', '\022', '#', '\n', '\r', 'd', +'e', 'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\r', 'R', '\014', 'd', 'e', 'f', 'a', 'u', +'l', 't', 'V', 'a', 'l', 'u', 'e', '\022', '(', '\n', '\013', 'r', 'u', 'n', 't', 'i', 'm', 'e', '_', 'k', 'e', 'y', '\030', '\003', ' ', +'\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\n', 'r', 'u', 'n', 't', 'i', 'm', 'e', 'K', 'e', 'y', ':', +'&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', +'.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'U', 'I', 'n', 't', '3', '2', '\"', 'w', '\n', '\016', 'R', 'u', 'n', 't', 'i', 'm', 'e', +'P', 'e', 'r', 'c', 'e', 'n', 't', '\022', ';', '\n', '\r', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', +'\001', ' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'P', 'e', 'r', +'c', 'e', 'n', 't', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', '\022', '(', '\n', '\013', 'r', 'u', 'n', +'t', 'i', 'm', 'e', '_', 'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\n', +'r', 'u', 'n', 't', 'i', 'm', 'e', 'K', 'e', 'y', '\"', '\206', '\001', '\n', '\r', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'D', 'o', 'u', +'b', 'l', 'e', '\022', '#', '\n', '\r', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', +'\001', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', '\022', '(', '\n', '\013', 'r', 'u', 'n', 't', 'i', 'm', +'e', '_', 'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\n', 'r', 'u', 'n', +'t', 'i', 'm', 'e', 'K', 'e', 'y', ':', '&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', +'.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'D', 'o', 'u', 'b', 'l', 'e', '\"', '\266', '\001', +'\n', '\022', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'F', 'l', 'a', 'g', '\022', 'I', '\n', '\r', 'd', +'e', 'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', +'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'B', '\010', '\372', 'B', +'\005', '\212', '\001', '\002', '\020', '\001', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', '\022', '(', '\n', '\013', 'r', +'u', 'n', 't', 'i', 'm', 'e', '_', 'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', +'R', '\n', 'r', 'u', 'n', 't', 'i', 'm', 'e', 'K', 'e', 'y', ':', '+', '\232', '\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', +'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'e', 'a', 't', +'u', 'r', 'e', 'F', 'l', 'a', 'g', '\"', 'A', '\n', '\016', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', +'\022', '\031', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\003', 'k', +'e', 'y', '\022', '\024', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\005', 'v', 'a', 'l', 'u', 'e', '\"', +'\315', '\001', '\n', '\013', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', '\022', '#', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', +'\001', '(', '\t', 'B', '\021', '\372', 'B', '\016', 'r', '\014', '\020', '\001', '(', '\200', '\200', '\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\003', 'k', +'e', 'y', '\022', '7', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'B', '!', '\372', 'B', '\014', 'r', '\n', '(', +'\200', '\200', '\001', '\300', '\001', '\002', '\310', '\001', '\000', '\362', '\230', '\376', '\217', '\005', '\014', '\022', '\n', 'v', 'a', 'l', 'u', 'e', '_', 't', 'y', +'p', 'e', 'R', '\005', 'v', 'a', 'l', 'u', 'e', '\022', ':', '\n', '\t', 'r', 'a', 'w', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\003', ' ', +'\001', '(', '\014', 'B', '\035', '\372', 'B', '\010', 'z', '\006', '\020', '\000', '\030', '\200', '\200', '\001', '\362', '\230', '\376', '\217', '\005', '\014', '\022', '\n', 'v', +'a', 'l', 'u', 'e', '_', 't', 'y', 'p', 'e', 'R', '\010', 'r', 'a', 'w', 'V', 'a', 'l', 'u', 'e', ':', '$', '\232', '\305', '\210', '\036', +'\037', '\n', '\035', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 'e', 'a', 'd', +'e', 'r', 'V', 'a', 'l', 'u', 'e', '\"', '\331', '\003', '\n', '\021', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', +'t', 'i', 'o', 'n', '\022', 'C', '\n', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', +'V', 'a', 'l', 'u', 'e', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\022', '?', +'\n', '\006', 'a', 'p', 'p', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', +'\004', '\003', '3', '.', '0', 'R', '\006', 'a', 'p', 'p', 'e', 'n', 'd', '\022', 'i', '\n', '\r', 'a', 'p', 'p', 'e', 'n', 'd', '_', 'a', +'c', 't', 'i', 'o', 'n', '\030', '\003', ' ', '\001', '(', '\016', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', +'o', 'n', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'A', 'p', 'p', 'e', 'n', 'd', 'A', 'c', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', +'\005', '\202', '\001', '\002', '\020', '\001', 'R', '\014', 'a', 'p', 'p', 'e', 'n', 'd', 'A', 'c', 't', 'i', 'o', 'n', '\022', '(', '\n', '\020', 'k', +'e', 'e', 'p', '_', 'e', 'm', 'p', 't', 'y', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\016', 'k', 'e', +'e', 'p', 'E', 'm', 'p', 't', 'y', 'V', 'a', 'l', 'u', 'e', '\"', '}', '\n', '\022', 'H', 'e', 'a', 'd', 'e', 'r', 'A', 'p', 'p', +'e', 'n', 'd', 'A', 'c', 't', 'i', 'o', 'n', '\022', '\033', '\n', '\027', 'A', 'P', 'P', 'E', 'N', 'D', '_', 'I', 'F', '_', 'E', 'X', +'I', 'S', 'T', 'S', '_', 'O', 'R', '_', 'A', 'D', 'D', '\020', '\000', '\022', '\021', '\n', '\r', 'A', 'D', 'D', '_', 'I', 'F', '_', 'A', +'B', 'S', 'E', 'N', 'T', '\020', '\001', '\022', '\036', '\n', '\032', 'O', 'V', 'E', 'R', 'W', 'R', 'I', 'T', 'E', '_', 'I', 'F', '_', 'E', +'X', 'I', 'S', 'T', 'S', '_', 'O', 'R', '_', 'A', 'D', 'D', '\020', '\002', '\022', '\027', '\n', '\023', 'O', 'V', 'E', 'R', 'W', 'R', 'I', +'T', 'E', '_', 'I', 'F', '_', 'E', 'X', 'I', 'S', 'T', 'S', '\020', '\003', ':', '*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', 'n', +'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', +'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', '\"', 'l', '\n', '\t', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 'p', '\022', ';', '\n', '\007', +'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'R', '\007', +'h', 'e', 'a', 'd', 'e', 'r', 's', ':', '\"', '\232', '\305', '\210', '\036', '\035', '\n', '\033', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', +'.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 'p', '\"', '/', '\n', '\020', 'W', 'a', 't', +'c', 'h', 'e', 'd', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\022', '\033', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\001', ' ', '\001', +'(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'p', 'a', 't', 'h', '\"', '\364', '\001', '\n', '\n', 'D', 'a', 't', +'a', 'S', 'o', 'u', 'r', 'c', 'e', '\022', '%', '\n', '\010', 'f', 'i', 'l', 'e', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', +'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\010', 'f', 'i', 'l', 'e', 'n', 'a', 'm', 'e', '\022', '#', '\n', '\014', +'i', 'n', 'l', 'i', 'n', 'e', '_', 'b', 'y', 't', 'e', 's', '\030', '\002', ' ', '\001', '(', '\014', 'H', '\000', 'R', '\013', 'i', 'n', 'l', +'i', 'n', 'e', 'B', 'y', 't', 'e', 's', '\022', '%', '\n', '\r', 'i', 'n', 'l', 'i', 'n', 'e', '_', 's', 't', 'r', 'i', 'n', 'g', +'\030', '\003', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\014', 'i', 'n', 'l', 'i', 'n', 'e', 'S', 't', 'r', 'i', 'n', 'g', '\022', '<', '\n', +'\024', 'e', 'n', 'v', 'i', 'r', 'o', 'n', 'm', 'e', 'n', 't', '_', 'v', 'a', 'r', 'i', 'a', 'b', 'l', 'e', '\030', '\004', ' ', '\001', +'(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\023', 'e', 'n', 'v', 'i', 'r', 'o', 'n', 'm', 'e', 'n', +'t', 'V', 'a', 'r', 'i', 'a', 'b', 'l', 'e', ':', '#', '\232', '\305', '\210', '\036', '\036', '\n', '\034', 'e', 'n', 'v', 'o', 'y', '.', 'a', +'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\020', '\n', '\t', +'s', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', '\324', '\001', '\n', '\013', 'R', 'e', 't', 'r', 'y', 'P', +'o', 'l', 'i', 'c', 'y', '\022', 'K', '\n', '\016', 'r', 'e', 't', 'r', 'y', '_', 'b', 'a', 'c', 'k', '_', 'o', 'f', 'f', '\030', '\001', +' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '.', 'B', 'a', 'c', 'k', 'o', 'f', 'f', 'S', 't', 'r', 'a', 't', 'e', 'g', 'y', 'R', '\014', 'r', 'e', 't', 'r', 'y', +'B', 'a', 'c', 'k', 'O', 'f', 'f', '\022', 'R', '\n', '\013', 'n', 'u', 'm', '_', 'r', 'e', 't', 'r', 'i', 'e', 's', '\030', '\002', ' ', +'\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', +'t', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\023', '\362', '\230', '\376', '\217', '\005', '\r', '\n', '\013', 'm', 'a', 'x', '_', 'r', 'e', 't', +'r', 'i', 'e', 's', 'R', '\n', 'n', 'u', 'm', 'R', 'e', 't', 'r', 'i', 'e', 's', ':', '$', '\232', '\305', '\210', '\036', '\037', '\n', '\035', +'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', +'l', 'i', 'c', 'y', '\"', '\350', '\001', '\n', '\020', 'R', 'e', 'm', 'o', 't', 'e', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', +'\022', 'B', '\n', '\010', 'h', 't', 't', 'p', '_', 'u', 'r', 'i', '\030', '\001', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'U', 'r', 'i', 'B', +'\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\007', 'h', 't', 't', 'p', 'U', 'r', 'i', '\022', '\037', '\n', '\006', 's', 'h', 'a', +'2', '5', '6', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\006', 's', 'h', 'a', '2', '5', +'6', '\022', 'D', '\n', '\014', 'r', 'e', 't', 'r', 'y', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\003', ' ', '\001', '(', '\013', '2', '!', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'e', 't', +'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\013', 'r', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', ':', ')', '\232', '\305', +'\210', '\036', '$', '\n', '\"', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'R', 'e', +'m', 'o', 't', 'e', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', '\"', '\311', '\001', '\n', '\017', 'A', 's', 'y', 'n', 'c', 'D', +'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', '\022', '8', '\n', '\005', 'l', 'o', 'c', 'a', 'l', '\030', '\001', ' ', '\001', '(', '\013', '2', +' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', +'t', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'H', '\000', 'R', '\005', 'l', 'o', 'c', 'a', 'l', '\022', '@', '\n', '\006', 'r', 'e', 'm', 'o', +'t', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'e', 'm', 'o', 't', 'e', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'H', '\000', +'R', '\006', 'r', 'e', 'm', 'o', 't', 'e', ':', '(', '\232', '\305', '\210', '\036', '#', '\n', '!', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', +'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'A', 's', 'y', 'n', 'c', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', +'B', '\020', '\n', '\t', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', '\260', '\001', '\n', '\017', 'T', 'r', +'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', +'(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '9', '\n', '\014', 't', 'y', 'p', 'e', +'d', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'H', '\000', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', +'g', ':', '(', '\232', '\305', '\210', '\036', '#', '\n', '!', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', +'r', 'e', '.', 'T', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', 'B', '\r', '\n', '\013', 'c', 'o', 'n', +'f', 'i', 'g', '_', 't', 'y', 'p', 'e', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\"', '\277', '\001', +'\n', '\030', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', +'t', '\022', 'O', '\n', '\r', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', +' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', +'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\014', 'd', 'e', 'f', 'a', 'u', +'l', 't', 'V', 'a', 'l', 'u', 'e', '\022', '\037', '\n', '\013', 'r', 'u', 'n', 't', 'i', 'm', 'e', '_', 'k', 'e', 'y', '\030', '\002', ' ', +'\001', '(', '\t', 'R', '\n', 'r', 'u', 'n', 't', 'i', 'm', 'e', 'K', 'e', 'y', ':', '1', '\232', '\305', '\210', '\036', ',', '\n', '*', 'e', +'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', +'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', '\"', 'U', '\n', '\014', 'C', 'o', 'n', 't', 'r', +'o', 'l', 'P', 'l', 'a', 'n', 'e', '\022', '\036', '\n', '\n', 'i', 'd', 'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', '\030', '\001', ' ', '\001', +'(', '\t', 'R', '\n', 'i', 'd', 'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', ':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', +'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'C', 'o', 'n', 't', 'r', 'o', 'l', 'P', 'l', +'a', 'n', 'e', '*', '(', '\n', '\017', 'R', 'o', 'u', 't', 'i', 'n', 'g', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', '\022', '\013', '\n', +'\007', 'D', 'E', 'F', 'A', 'U', 'L', 'T', '\020', '\000', '\022', '\010', '\n', '\004', 'H', 'I', 'G', 'H', '\020', '\001', '*', '\211', '\001', '\n', '\r', +'R', 'e', 'q', 'u', 'e', 's', 't', 'M', 'e', 't', 'h', 'o', 'd', '\022', '\026', '\n', '\022', 'M', 'E', 'T', 'H', 'O', 'D', '_', 'U', +'N', 'S', 'P', 'E', 'C', 'I', 'F', 'I', 'E', 'D', '\020', '\000', '\022', '\007', '\n', '\003', 'G', 'E', 'T', '\020', '\001', '\022', '\010', '\n', '\004', +'H', 'E', 'A', 'D', '\020', '\002', '\022', '\010', '\n', '\004', 'P', 'O', 'S', 'T', '\020', '\003', '\022', '\007', '\n', '\003', 'P', 'U', 'T', '\020', '\004', +'\022', '\n', '\n', '\006', 'D', 'E', 'L', 'E', 'T', 'E', '\020', '\005', '\022', '\013', '\n', '\007', 'C', 'O', 'N', 'N', 'E', 'C', 'T', '\020', '\006', +'\022', '\013', '\n', '\007', 'O', 'P', 'T', 'I', 'O', 'N', 'S', '\020', '\007', '\022', '\t', '\n', '\005', 'T', 'R', 'A', 'C', 'E', '\020', '\010', '\022', +'\t', '\n', '\005', 'P', 'A', 'T', 'C', 'H', '\020', '\t', '*', '>', '\n', '\020', 'T', 'r', 'a', 'f', 'f', 'i', 'c', 'D', 'i', 'r', 'e', +'c', 't', 'i', 'o', 'n', '\022', '\017', '\n', '\013', 'U', 'N', 'S', 'P', 'E', 'C', 'I', 'F', 'I', 'E', 'D', '\020', '\000', '\022', '\013', '\n', +'\007', 'I', 'N', 'B', 'O', 'U', 'N', 'D', '\020', '\001', '\022', '\014', '\n', '\010', 'O', 'U', 'T', 'B', 'O', 'U', 'N', 'D', '\020', '\002', 'B', +'}', '\n', '\"', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\t', 'B', 'a', 's', 'e', 'P', 'r', 'o', 't', 'o', 'P', '\001', +'Z', 'B', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', +'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', +'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', ';', 'c', 'o', 'r', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', +'\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[15] = { + &envoy_config_core_v3_address_proto_upbdefinit, + &envoy_config_core_v3_backoff_proto_upbdefinit, + &envoy_config_core_v3_http_uri_proto_upbdefinit, + &envoy_type_v3_percent_proto_upbdefinit, + &envoy_type_v3_semantic_version_proto_upbdefinit, + &google_protobuf_any_proto_upbdefinit, + &google_protobuf_struct_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &xds_core_v3_context_params_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_migrate_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit = { + deps, + &envoy_config_core_v3_base_proto_upb_file_layout, + "envoy/config/core/v3/base.proto", + UPB_STRINGVIEW_INIT(descriptor, 5559) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h index 1e7b578efdf..232c4e1d667 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/base.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_BASE_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c index 2c764f532f0..cf943048106 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/config_source.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/core/v3/config_source.upbdefs.h" -#include "envoy/config/core/v3/config_source.upb.h" +#include "envoy/config/core/v3/config_source.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h similarity index 95% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h index 19930b588a3..69aad26a382 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/config_source.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_CONFIG_SOURCE_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c index c0cb49a847d..7d691df12fe 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/event_service_config.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/core/v3/event_service_config.upbdefs.h" -#include "envoy/config/core/v3/event_service_config.upb.h" +#include "envoy/config/core/v3/event_service_config.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_grpc_service_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h similarity index 88% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h index 9705fd4fba0..25a6619b3a1 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/event_service_config.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_EVENT_SERVICE_CONFIG_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c new file mode 100644 index 00000000000..119ccab9cb3 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c @@ -0,0 +1,46 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/extension.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/core/v3/extension.upbdefs.h" +#include "envoy/config/core/v3/extension.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[404] = {'\n', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', +'t', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', +'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 'v', '\n', '\024', 'T', 'y', 'p', +'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', +'\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'A', '\n', '\014', +'t', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', +'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'B', '\010', '\372', 'B', '\005', '\242', '\001', '\002', '\010', '\001', +'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\202', '\001', '\n', '\"', 'i', 'o', '.', 'e', 'n', 'v', 'o', +'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', 'B', '\016', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'B', 'g', 'i', 't', +'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', +'t', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', +'o', 'r', 'e', '/', 'v', '3', ';', 'c', 'o', 'r', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', +'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[4] = { + &google_protobuf_any_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit = { + deps, + &envoy_config_core_v3_extension_proto_upb_file_layout, + "envoy/config/core/v3/extension.proto", + UPB_STRINGVIEW_INIT(descriptor, 404) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h new file mode 100644 index 00000000000..9dcffd8b5ef --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/extension.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPBDEFS_H_ +#define ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_config_core_v3_TypedExtensionConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_core_v3_extension_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.core.v3.TypedExtensionConfig"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c index cd6bc69fc92..ecccc67a5da 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/grpc_method_list.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/core/v3/grpc_method_list.upbdefs.h" -#include "envoy/config/core/v3/grpc_method_list.upb.h" +#include "envoy/config/core/v3/grpc_method_list.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h similarity index 90% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h index 95eaa858ae0..80acfdb80fc 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/grpc_method_list.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_GRPC_METHOD_LIST_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c index 4718786b986..a6fd22a0176 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/grpc_service.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/core/v3/grpc_service.upbdefs.h" -#include "envoy/config/core/v3/grpc_service.upb.h" +#include "envoy/config/core/v3/grpc_service.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h index ee189489f2e..96d95cf303e 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/grpc_service.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_GRPC_SERVICE_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c index 2625bf14b6a..35509436377 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/health_check.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/core/v3/health_check.upbdefs.h" -#include "envoy/config/core/v3/health_check.upb.h" +#include "envoy/config/core/v3/health_check.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_core_v3_event_service_config_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h index 0f02cfab6ee..5a4dc981bf9 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/health_check.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_HEALTH_CHECK_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c new file mode 100644 index 00000000000..b285c81b45d --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c @@ -0,0 +1,52 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/http_service.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/core/v3/http_service.upbdefs.h" +#include "envoy/config/core/v3/http_service.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_http_uri_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[511] = {'\n', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'h', 't', +'t', 'p', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', +'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', +'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'h', 't', 't', 'p', '_', 'u', +'r', 'i', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', +'s', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', +'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\260', '\001', '\n', '\013', 'H', 't', 't', 'p', 'S', 'e', +'r', 'v', 'i', 'c', 'e', '\022', '8', '\n', '\010', 'h', 't', 't', 'p', '_', 'u', 'r', 'i', '\030', '\001', ' ', '\001', '(', '\013', '2', '\035', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', +'p', 'U', 'r', 'i', 'R', '\007', 'h', 't', 't', 'p', 'U', 'r', 'i', '\022', 'g', '\n', '\026', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', +'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'a', 'd', 'd', '\030', '\002', ' ', '\003', '(', '\013', '2', '\'', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', +'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'B', '\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', '\350', '\007', 'R', '\023', 'r', +'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'A', 'd', 'd', 'B', '\204', '\001', '\n', '\"', 'i', 'o', +'.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\020', 'H', 't', 't', 'p', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'P', 'r', 'o', 't', 'o', +'P', '\001', 'Z', 'B', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', +'/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', +'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', ';', 'c', 'o', 'r', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', +'\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[5] = { + &envoy_config_core_v3_base_proto_upbdefinit, + &envoy_config_core_v3_http_uri_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_core_v3_http_service_proto_upbdefinit = { + deps, + &envoy_config_core_v3_http_service_proto_upb_file_layout, + "envoy/config/core/v3/http_service.proto", + UPB_STRINGVIEW_INIT(descriptor, 511) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h new file mode 100644 index 00000000000..b5f55d429fc --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/http_service.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_HTTP_SERVICE_PROTO_UPBDEFS_H_ +#define ENVOY_CONFIG_CORE_V3_HTTP_SERVICE_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_config_core_v3_http_service_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_config_core_v3_HttpService_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_core_v3_http_service_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.core.v3.HttpService"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_HTTP_SERVICE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c new file mode 100644 index 00000000000..d8aec228ee6 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c @@ -0,0 +1,53 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/http_uri.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/core/v3/http_uri.upbdefs.h" +#include "envoy/config/core/v3/http_uri.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[531] = {'\n', '#', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'h', 't', +'t', 'p', '_', 'u', 'r', 'i', '.', 'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', +'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', +'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', +'d', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', +'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', +'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\317', '\001', '\n', '\007', 'H', 't', 't', 'p', 'U', 'r', 'i', '\022', '\031', '\n', '\003', 'u', 'r', +'i', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\003', 'u', 'r', 'i', '\022', '#', '\n', '\007', +'c', 'l', 'u', 's', 't', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', +'\007', 'c', 'l', 'u', 's', 't', 'e', 'r', '\022', 'G', '\n', '\007', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\003', ' ', '\001', '(', '\013', +'2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', +'o', 'n', 'B', '\022', '\372', 'B', '\017', '\252', '\001', '\014', '\010', '\001', '\032', '\006', '\010', '\200', '\200', '\200', '\200', '\020', '2', '\000', 'R', '\007', 't', +'i', 'm', 'e', 'o', 'u', 't', ':', ' ', '\232', '\305', '\210', '\036', '\033', '\n', '\031', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', +'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 't', 't', 'p', 'U', 'r', 'i', 'B', '\031', '\n', '\022', 'h', 't', 't', 'p', '_', 'u', +'p', 's', 't', 'r', 'e', 'a', 'm', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', 'B', '\200', '\001', '\n', '\"', 'i', 'o', '.', +'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', 'B', '\014', 'H', 't', 't', 'p', 'U', 'r', 'i', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'B', 'g', +'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', +'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', +'/', 'c', 'o', 'r', 'e', '/', 'v', '3', ';', 'c', 'o', 'r', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', +'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[5] = { + &google_protobuf_duration_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_core_v3_http_uri_proto_upbdefinit = { + deps, + &envoy_config_core_v3_http_uri_proto_upb_file_layout, + "envoy/config/core/v3/http_uri.proto", + UPB_STRINGVIEW_INIT(descriptor, 531) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h index c8336748afc..f6d9fa5bf3c 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/http_uri.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_HTTP_URI_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c new file mode 100644 index 00000000000..713bf4cff28 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c @@ -0,0 +1,314 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/protocol.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/core/v3/protocol.upbdefs.h" +#include "envoy/config/core/v3/protocol.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[6815] = {'\n', '#', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'p', 'r', +'o', 't', 'o', 'c', 'o', 'l', '.', 'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', +'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', +'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', +'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', +'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', +'t', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', +'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', +'t', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', +'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', +'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', +'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', +'o', '\"', 'A', '\n', '\022', 'T', 'c', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', ':', '+', +'\232', '\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', +'T', 'c', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\"', '\267', '\001', '\n', '\025', 'Q', 'u', +'i', 'c', 'K', 'e', 'e', 'p', 'A', 'l', 'i', 'v', 'e', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', '\022', 'J', '\n', '\014', 'm', 'a', +'x', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', +'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\014', '\372', 'B', '\t', '\252', '\001', +'\006', '\"', '\000', '2', '\002', '\010', '\001', 'R', '\013', 'm', 'a', 'x', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\022', 'R', '\n', '\020', 'i', +'n', 'i', 't', 'i', 'a', 'l', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', +'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\014', +'\372', 'B', '\t', '\252', '\001', '\006', '\"', '\000', '2', '\002', '\010', '\001', 'R', '\017', 'i', 'n', 'i', 't', 'i', 'a', 'l', 'I', 'n', 't', 'e', +'r', 'v', 'a', 'l', '\"', '\223', '\005', '\n', '\023', 'Q', 'u', 'i', 'c', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', +'o', 'n', 's', '\022', '[', '\n', '\026', 'm', 'a', 'x', '_', 'c', 'o', 'n', 'c', 'u', 'r', 'r', 'e', 'n', 't', '_', 's', 't', 'r', +'e', 'a', 'm', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', +'\024', 'm', 'a', 'x', 'C', 'o', 'n', 'c', 'u', 'r', 'r', 'e', 'n', 't', 'S', 't', 'r', 'e', 'a', 'm', 's', '\022', 'g', '\n', '\032', +'i', 'n', 'i', 't', 'i', 'a', 'l', '_', 's', 't', 'r', 'e', 'a', 'm', '_', 'w', 'i', 'n', 'd', 'o', 'w', '_', 's', 'i', 'z', +'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\014', '\372', 'B', '\t', '*', '\007', '\030', '\200', '\200', '\200', '\010', '(', +'\001', 'R', '\027', 'i', 'n', 'i', 't', 'i', 'a', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'S', 'i', 'z', +'e', '\022', 'o', '\n', '\036', 'i', 'n', 'i', 't', 'i', 'a', 'l', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'w', +'i', 'n', 'd', 'o', 'w', '_', 's', 'i', 'z', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', +'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\014', '\372', 'B', +'\t', '*', '\007', '\030', '\200', '\200', '\200', '\014', '(', '\001', 'R', '\033', 'i', 'n', 'i', 't', 'i', 'a', 'l', 'C', 'o', 'n', 'n', 'e', 'c', +'t', 'i', 'o', 'n', 'W', 'i', 'n', 'd', 'o', 'w', 'S', 'i', 'z', 'e', '\022', 'z', '\n', '&', 'n', 'u', 'm', '_', 't', 'i', 'm', +'e', 'o', 'u', 't', 's', '_', 't', 'o', '_', 't', 'r', 'i', 'g', 'g', 'e', 'r', '_', 'p', 'o', 'r', 't', '_', 'm', 'i', 'g', +'r', 'a', 't', 'i', 'o', 'n', '\030', '\004', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\t', '\372', 'B', '\006', '*', '\004', '\030', +'\005', '(', '\000', 'R', '!', 'n', 'u', 'm', 'T', 'i', 'm', 'e', 'o', 'u', 't', 's', 'T', 'o', 'T', 'r', 'i', 'g', 'g', 'e', 'r', +'P', 'o', 'r', 't', 'M', 'i', 'g', 'r', 'a', 't', 'i', 'o', 'n', '\022', '^', '\n', '\024', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', +'o', 'n', '_', 'k', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '\030', '\005', ' ', '\001', '(', '\013', '2', '+', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'Q', 'u', 'i', 'c', 'K', 'e', 'e', 'p', +'A', 'l', 'i', 'v', 'e', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 'R', '\023', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', +'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '\022', '-', '\n', '\022', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'o', +'p', 't', 'i', 'o', 'n', 's', '\030', '\006', ' ', '\001', '(', '\t', 'R', '\021', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'O', +'p', 't', 'i', 'o', 'n', 's', '\022', ':', '\n', '\031', 'c', 'l', 'i', 'e', 'n', 't', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', +'o', 'n', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\007', ' ', '\001', '(', '\t', 'R', '\027', 'c', 'l', 'i', 'e', 'n', 't', 'C', +'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', '\"', '\344', '\001', '\n', '\033', 'U', 'p', 's', 't', +'r', 'e', 'a', 'm', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '\031', +'\n', '\010', 'a', 'u', 't', 'o', '_', 's', 'n', 'i', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\007', 'a', 'u', 't', 'o', 'S', 'n', 'i', +'\022', '.', '\n', '\023', 'a', 'u', 't', 'o', '_', 's', 'a', 'n', '_', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '\030', '\002', +' ', '\001', '(', '\010', 'R', '\021', 'a', 'u', 't', 'o', 'S', 'a', 'n', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '\022', 'D', +'\n', '\030', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '_', 'a', 'u', 't', 'o', '_', 's', 'n', 'i', '_', 'h', 'e', 'a', 'd', 'e', +'r', '\030', '\003', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\320', '\001', '\001', 'R', '\025', 'o', 'v', 'e', +'r', 'r', 'i', 'd', 'e', 'A', 'u', 't', 'o', 'S', 'n', 'i', 'H', 'e', 'a', 'd', 'e', 'r', ':', '4', '\232', '\305', '\210', '\036', '/', +'\n', '-', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'U', 'p', 's', 't', 'r', +'e', 'a', 'm', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\"', '\206', '\004', +'\n', '\036', 'A', 'l', 't', 'e', 'r', 'n', 'a', 't', 'e', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 's', 'C', 'a', 'c', 'h', 'e', +'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', +'\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'F', '\n', '\013', 'm', 'a', 'x', '_', 'e', 'n', 't', 'r', 'i', 'e', +'s', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', ' ', '\000', 'R', '\n', 'm', 'a', +'x', 'E', 'n', 't', 'r', 'i', 'e', 's', '\022', '_', '\n', '\026', 'k', 'e', 'y', '_', 'v', 'a', 'l', 'u', 'e', '_', 's', 't', 'o', +'r', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', +'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\023', 'k', 'e', 'y', 'V', 'a', 'l', 'u', 'e', 'S', 't', 'o', 'r', 'e', 'C', +'o', 'n', 'f', 'i', 'g', '\022', '\204', '\001', '\n', '\024', 'p', 'r', 'e', 'p', 'o', 'p', 'u', 'l', 'a', 't', 'e', 'd', '_', 'e', 'n', +'t', 'r', 'i', 'e', 's', '\030', '\004', ' ', '\003', '(', '\013', '2', 'Q', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'l', 't', 'e', 'r', 'n', 'a', 't', 'e', 'P', 'r', 'o', 't', 'o', 'c', +'o', 'l', 's', 'C', 'a', 'c', 'h', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'A', 'l', 't', 'e', 'r', 'n', 'a', 't', 'e', +'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 's', 'C', 'a', 'c', 'h', 'e', 'E', 'n', 't', 'r', 'y', 'R', '\023', 'p', 'r', 'e', 'p', +'o', 'p', 'u', 'l', 'a', 't', 'e', 'd', 'E', 'n', 't', 'r', 'i', 'e', 's', '\022', '-', '\n', '\022', 'c', 'a', 'n', 'o', 'n', 'i', +'c', 'a', 'l', '_', 's', 'u', 'f', 'f', 'i', 'x', 'e', 's', '\030', '\005', ' ', '\003', '(', '\t', 'R', '\021', 'c', 'a', 'n', 'o', 'n', +'i', 'c', 'a', 'l', 'S', 'u', 'f', 'f', 'i', 'x', 'e', 's', '\032', 'h', '\n', '\034', 'A', 'l', 't', 'e', 'r', 'n', 'a', 't', 'e', +'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 's', 'C', 'a', 'c', 'h', 'e', 'E', 'n', 't', 'r', 'y', '\022', '\'', '\n', '\010', 'h', 'o', +'s', 't', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\320', '\001', '\001', +'R', '\010', 'h', 'o', 's', 't', 'n', 'a', 'm', 'e', '\022', '\037', '\n', '\004', 'p', 'o', 'r', 't', '\030', '\002', ' ', '\001', '(', '\r', 'B', +'\013', '\372', 'B', '\010', '*', '\006', '\020', '\377', '\377', '\003', ' ', '\000', 'R', '\004', 'p', 'o', 'r', 't', '\"', '\257', '\005', '\n', '\023', 'H', 't', +'t', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '<', '\n', '\014', 'i', 'd', 'l', 'e', +'_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\013', 'i', 'd', 'l', 'e', 'T', 'i', 'm', +'e', 'o', 'u', 't', '\022', 'Q', '\n', '\027', 'm', 'a', 'x', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'd', 'u', +'r', 'a', 't', 'i', 'o', 'n', '\030', '\003', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\025', 'm', 'a', 'x', 'C', 'o', 'n', 'n', 'e', 'c', +'t', 'i', 'o', 'n', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\022', 'Q', '\n', '\021', 'm', 'a', 'x', '_', 'h', 'e', 'a', 'd', 'e', +'r', 's', '_', 'c', 'o', 'u', 'n', 't', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', +'\002', '(', '\001', 'R', '\017', 'm', 'a', 'x', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'C', 'o', 'u', 'n', 't', '\022', 'I', '\n', '\023', 'm', +'a', 'x', '_', 's', 't', 'r', 'e', 'a', 'm', '_', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\030', '\004', ' ', '\001', '(', '\013', '2', +'\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', +'n', 'R', '\021', 'm', 'a', 'x', 'S', 't', 'r', 'e', 'a', 'm', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\022', '\215', '\001', '\n', '\037', +'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 'w', 'i', 't', 'h', '_', 'u', 'n', 'd', 'e', 'r', 's', 'c', 'o', 'r', 'e', 's', '_', +'a', 'c', 't', 'i', 'o', 'n', '\030', '\005', ' ', '\001', '(', '\016', '2', 'F', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', +'t', 'i', 'o', 'n', 's', '.', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'W', 'i', 't', 'h', 'U', 'n', 'd', 'e', 'r', 's', 'c', 'o', +'r', 'e', 's', 'A', 'c', 't', 'i', 'o', 'n', 'R', '\034', 'h', 'e', 'a', 'd', 'e', 'r', 's', 'W', 'i', 't', 'h', 'U', 'n', 'd', +'e', 'r', 's', 'c', 'o', 'r', 'e', 's', 'A', 'c', 't', 'i', 'o', 'n', '\022', '[', '\n', '\033', 'm', 'a', 'x', '_', 'r', 'e', 'q', +'u', 'e', 's', 't', 's', '_', 'p', 'e', 'r', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '\030', '\006', ' ', '\001', '(', +'\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', +'2', 'V', 'a', 'l', 'u', 'e', 'R', '\030', 'm', 'a', 'x', 'R', 'e', 'q', 'u', 'e', 's', 't', 's', 'P', 'e', 'r', 'C', 'o', 'n', +'n', 'e', 'c', 't', 'i', 'o', 'n', '\"', 'N', '\n', '\034', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'W', 'i', 't', 'h', 'U', 'n', 'd', +'e', 'r', 's', 'c', 'o', 'r', 'e', 's', 'A', 'c', 't', 'i', 'o', 'n', '\022', '\t', '\n', '\005', 'A', 'L', 'L', 'O', 'W', '\020', '\000', +'\022', '\022', '\n', '\016', 'R', 'E', 'J', 'E', 'C', 'T', '_', 'R', 'E', 'Q', 'U', 'E', 'S', 'T', '\020', '\001', '\022', '\017', '\n', '\013', 'D', +'R', 'O', 'P', '_', 'H', 'E', 'A', 'D', 'E', 'R', '\020', '\002', ':', ',', '\232', '\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', +'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', +'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\"', '\223', '\t', '\n', '\024', 'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', +'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'H', '\n', '\022', 'a', 'l', 'l', 'o', 'w', '_', 'a', 'b', 's', 'o', 'l', 'u', 't', +'e', '_', 'u', 'r', 'l', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', +'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\020', 'a', 'l', 'l', 'o', 'w', 'A', 'b', 's', 'o', +'l', 'u', 't', 'e', 'U', 'r', 'l', '\022', '$', '\n', '\016', 'a', 'c', 'c', 'e', 'p', 't', '_', 'h', 't', 't', 'p', '_', '1', '0', +'\030', '\002', ' ', '\001', '(', '\010', 'R', '\014', 'a', 'c', 'c', 'e', 'p', 't', 'H', 't', 't', 'p', '1', '0', '\022', '6', '\n', '\030', 'd', +'e', 'f', 'a', 'u', 'l', 't', '_', 'h', 'o', 's', 't', '_', 'f', 'o', 'r', '_', 'h', 't', 't', 'p', '_', '1', '0', '\030', '\003', +' ', '\001', '(', '\t', 'R', '\024', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'H', 'o', 's', 't', 'F', 'o', 'r', 'H', 't', 't', 'p', '1', +'0', '\022', 'f', '\n', '\021', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'k', 'e', 'y', '_', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\004', ' ', +'\001', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', +'3', '.', 'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'H', 'e', +'a', 'd', 'e', 'r', 'K', 'e', 'y', 'F', 'o', 'r', 'm', 'a', 't', 'R', '\017', 'h', 'e', 'a', 'd', 'e', 'r', 'K', 'e', 'y', 'F', +'o', 'r', 'm', 'a', 't', '\022', '\'', '\n', '\017', 'e', 'n', 'a', 'b', 'l', 'e', '_', 't', 'r', 'a', 'i', 'l', 'e', 'r', 's', '\030', +'\005', ' ', '\001', '(', '\010', 'R', '\016', 'e', 'n', 'a', 'b', 'l', 'e', 'T', 'r', 'a', 'i', 'l', 'e', 'r', 's', '\022', '0', '\n', '\024', +'a', 'l', 'l', 'o', 'w', '_', 'c', 'h', 'u', 'n', 'k', 'e', 'd', '_', 'l', 'e', 'n', 'g', 't', 'h', '\030', '\006', ' ', '\001', '(', +'\010', 'R', '\022', 'a', 'l', 'l', 'o', 'w', 'C', 'h', 'u', 'n', 'k', 'e', 'd', 'L', 'e', 'n', 'g', 't', 'h', '\022', 'z', '\n', '-', +'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '_', 's', 't', 'r', 'e', 'a', 'm', '_', 'e', 'r', 'r', 'o', 'r', '_', 'o', 'n', '_', +'i', 'n', 'v', 'a', 'l', 'i', 'd', '_', 'h', 't', 't', 'p', '_', 'm', 'e', 's', 's', 'a', 'g', 'e', '\030', '\007', ' ', '\001', '(', +'\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', +'a', 'l', 'u', 'e', 'R', '\'', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'S', 't', 'r', 'e', 'a', 'm', 'E', 'r', 'r', 'o', 'r', +'O', 'n', 'I', 'n', 'v', 'a', 'l', 'i', 'd', 'H', 't', 't', 'p', 'M', 'e', 's', 's', 'a', 'g', 'e', '\022', '7', '\n', '\030', 's', +'e', 'n', 'd', '_', 'f', 'u', 'l', 'l', 'y', '_', 'q', 'u', 'a', 'l', 'i', 'f', 'i', 'e', 'd', '_', 'u', 'r', 'l', '\030', '\010', +' ', '\001', '(', '\010', 'R', '\025', 's', 'e', 'n', 'd', 'F', 'u', 'l', 'l', 'y', 'Q', 'u', 'a', 'l', 'i', 'f', 'i', 'e', 'd', 'U', +'r', 'l', '\022', 'N', '\n', '\020', 'u', 's', 'e', '_', 'b', 'a', 'l', 's', 'a', '_', 'p', 'a', 'r', 's', 'e', 'r', '\030', '\t', ' ', +'\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', +'l', 'V', 'a', 'l', 'u', 'e', 'B', '\010', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'R', '\016', 'u', 's', 'e', 'B', 'a', 'l', 's', +'a', 'P', 'a', 'r', 's', 'e', 'r', '\022', ':', '\n', '\024', 'a', 'l', 'l', 'o', 'w', '_', 'c', 'u', 's', 't', 'o', 'm', '_', 'm', +'e', 't', 'h', 'o', 'd', 's', '\030', '\n', ' ', '\001', '(', '\010', 'B', '\010', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'R', '\022', 'a', +'l', 'l', 'o', 'w', 'C', 'u', 's', 't', 'o', 'm', 'M', 'e', 't', 'h', 'o', 'd', 's', '\032', '\237', '\003', '\n', '\017', 'H', 'e', 'a', +'d', 'e', 'r', 'K', 'e', 'y', 'F', 'o', 'r', 'm', 'a', 't', '\022', 'x', '\n', '\021', 'p', 'r', 'o', 'p', 'e', 'r', '_', 'c', 'a', +'s', 'e', '_', 'w', 'o', 'r', 'd', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', 'J', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', +'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'K', 'e', 'y', 'F', 'o', 'r', 'm', 'a', 't', '.', +'P', 'r', 'o', 'p', 'e', 'r', 'C', 'a', 's', 'e', 'W', 'o', 'r', 'd', 's', 'H', '\000', 'R', '\017', 'p', 'r', 'o', 'p', 'e', 'r', +'C', 'a', 's', 'e', 'W', 'o', 'r', 'd', 's', '\022', '[', '\n', '\022', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 'f', 'o', 'r', +'m', 'a', 't', 't', 'e', 'r', '\030', '\010', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', +'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\021', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', 'F', 'o', 'r', 'm', 'a', 't', 't', +'e', 'r', '\032', '`', '\n', '\017', 'P', 'r', 'o', 'p', 'e', 'r', 'C', 'a', 's', 'e', 'W', 'o', 'r', 'd', 's', ':', 'M', '\232', '\305', +'\210', '\036', 'H', '\n', 'F', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 't', +'t', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'H', 'e', 'a', 'd', 'e', 'r', +'K', 'e', 'y', 'F', 'o', 'r', 'm', 'a', 't', '.', 'P', 'r', 'o', 'p', 'e', 'r', 'C', 'a', 's', 'e', 'W', 'o', 'r', 'd', 's', +':', '=', '\232', '\305', '\210', '\036', '8', '\n', '6', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', +'e', '.', 'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'H', 'e', +'a', 'd', 'e', 'r', 'K', 'e', 'y', 'F', 'o', 'r', 'm', 'a', 't', 'B', '\024', '\n', '\r', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'f', +'o', 'r', 'm', 'a', 't', '\022', '\003', '\370', 'B', '\001', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', +'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', +'O', 'p', 't', 'i', 'o', 'n', 's', '\"', '\301', '\002', '\n', '\021', 'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', 'S', 'e', 't', 't', +'i', 'n', 'g', 's', '\022', 'C', '\n', '\010', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', +'\014', '\372', 'B', '\t', '\252', '\001', '\006', '2', '\004', '\020', '\300', '\204', '=', 'R', '\010', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\022', 'C', +'\n', '\007', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', +'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\016', '\372', 'B', '\013', '\252', '\001', '\010', +'\010', '\001', '2', '\004', '\020', '\300', '\204', '=', 'R', '\007', 't', 'i', 'm', 'e', 'o', 'u', 't', '\022', '?', '\n', '\017', 'i', 'n', 't', 'e', +'r', 'v', 'a', 'l', '_', 'j', 'i', 't', 't', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', +'.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\016', 'i', 'n', 't', 'e', 'r', 'v', 'a', +'l', 'J', 'i', 't', 't', 'e', 'r', '\022', 'a', '\n', '\030', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'i', 'd', 'l', +'e', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\004', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', +'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\014', '\372', 'B', '\t', '\252', '\001', +'\006', '2', '\004', '\020', '\300', '\204', '=', 'R', '\026', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'I', 'd', 'l', 'e', 'I', 'n', +'t', 'e', 'r', 'v', 'a', 'l', '\"', '\320', '\016', '\n', '\024', 'H', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', +'p', 't', 'i', 'o', 'n', 's', '\022', 'F', '\n', '\020', 'h', 'p', 'a', 'c', 'k', '_', 't', 'a', 'b', 'l', 'e', '_', 's', 'i', 'z', +'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\016', 'h', 'p', 'a', 'c', 'k', 'T', 'a', 'b', 'l', 'e', 'S', +'i', 'z', 'e', '\022', 'a', '\n', '\026', 'm', 'a', 'x', '_', 'c', 'o', 'n', 'c', 'u', 'r', 'r', 'e', 'n', 't', '_', 's', 't', 'r', +'e', 'a', 'm', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\r', '\372', 'B', '\n', '*', '\010', '\030', '\377', '\377', +'\377', '\377', '\007', '(', '\001', 'R', '\024', 'm', 'a', 'x', 'C', 'o', 'n', 'c', 'u', 'r', 'r', 'e', 'n', 't', 'S', 't', 'r', 'e', 'a', +'m', 's', '\022', 'j', '\n', '\032', 'i', 'n', 'i', 't', 'i', 'a', 'l', '_', 's', 't', 'r', 'e', 'a', 'm', '_', 'w', 'i', 'n', 'd', +'o', 'w', '_', 's', 'i', 'z', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\017', '\372', 'B', '\014', '*', '\n', +'\030', '\377', '\377', '\377', '\377', '\007', '(', '\377', '\377', '\003', 'R', '\027', 'i', 'n', 'i', 't', 'i', 'a', 'l', 'S', 't', 'r', 'e', 'a', 'm', +'W', 'i', 'n', 'd', 'o', 'w', 'S', 'i', 'z', 'e', '\022', 'r', '\n', '\036', 'i', 'n', 'i', 't', 'i', 'a', 'l', '_', 'c', 'o', 'n', +'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'w', 'i', 'n', 'd', 'o', 'w', '_', 's', 'i', 'z', 'e', '\030', '\004', ' ', '\001', '(', '\013', +'2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', +'V', 'a', 'l', 'u', 'e', 'B', '\017', '\372', 'B', '\014', '*', '\n', '\030', '\377', '\377', '\377', '\377', '\007', '(', '\377', '\377', '\003', 'R', '\033', 'i', +'n', 'i', 't', 'i', 'a', 'l', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'W', 'i', 'n', 'd', 'o', 'w', 'S', 'i', 'z', +'e', '\022', '#', '\n', '\r', 'a', 'l', 'l', 'o', 'w', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', '\030', '\005', ' ', '\001', '(', '\010', 'R', +'\014', 'a', 'l', 'l', 'o', 'w', 'C', 'o', 'n', 'n', 'e', 'c', 't', '\022', '%', '\n', '\016', 'a', 'l', 'l', 'o', 'w', '_', 'm', 'e', +'t', 'a', 'd', 'a', 't', 'a', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\r', 'a', 'l', 'l', 'o', 'w', 'M', 'e', 't', 'a', 'd', 'a', +'t', 'a', '\022', 'U', '\n', '\023', 'm', 'a', 'x', '_', 'o', 'u', 't', 'b', 'o', 'u', 'n', 'd', '_', 'f', 'r', 'a', 'm', 'e', 's', +'\030', '\007', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', +'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', '\021', 'm', 'a', 'x', +'O', 'u', 't', 'b', 'o', 'u', 'n', 'd', 'F', 'r', 'a', 'm', 'e', 's', '\022', 'd', '\n', '\033', 'm', 'a', 'x', '_', 'o', 'u', 't', +'b', 'o', 'u', 'n', 'd', '_', 'c', 'o', 'n', 't', 'r', 'o', 'l', '_', 'f', 'r', 'a', 'm', 'e', 's', '\030', '\010', ' ', '\001', '(', +'\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', +'2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', '\030', 'm', 'a', 'x', 'O', 'u', 't', 'b', 'o', +'u', 'n', 'd', 'C', 'o', 'n', 't', 'r', 'o', 'l', 'F', 'r', 'a', 'm', 'e', 's', '\022', '\204', '\001', '\n', '1', 'm', 'a', 'x', '_', +'c', 'o', 'n', 's', 'e', 'c', 'u', 't', 'i', 'v', 'e', '_', 'i', 'n', 'b', 'o', 'u', 'n', 'd', '_', 'f', 'r', 'a', 'm', 'e', +'s', '_', 'w', 'i', 't', 'h', '_', 'e', 'm', 'p', 't', 'y', '_', 'p', 'a', 'y', 'l', 'o', 'a', 'd', '\030', '\t', ' ', '\001', '(', +'\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', +'2', 'V', 'a', 'l', 'u', 'e', 'R', '+', 'm', 'a', 'x', 'C', 'o', 'n', 's', 'e', 'c', 'u', 't', 'i', 'v', 'e', 'I', 'n', 'b', +'o', 'u', 'n', 'd', 'F', 'r', 'a', 'm', 'e', 's', 'W', 'i', 't', 'h', 'E', 'm', 'p', 't', 'y', 'P', 'a', 'y', 'l', 'o', 'a', +'d', '\022', 'o', '\n', '&', 'm', 'a', 'x', '_', 'i', 'n', 'b', 'o', 'u', 'n', 'd', '_', 'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', +'_', 'f', 'r', 'a', 'm', 'e', 's', '_', 'p', 'e', 'r', '_', 's', 't', 'r', 'e', 'a', 'm', '\030', '\n', ' ', '\001', '(', '\013', '2', +'\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', +'a', 'l', 'u', 'e', 'R', '!', 'm', 'a', 'x', 'I', 'n', 'b', 'o', 'u', 'n', 'd', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 'F', +'r', 'a', 'm', 'e', 's', 'P', 'e', 'r', 'S', 't', 'r', 'e', 'a', 'm', '\022', '\221', '\001', '\n', '4', 'm', 'a', 'x', '_', 'i', 'n', +'b', 'o', 'u', 'n', 'd', '_', 'w', 'i', 'n', 'd', 'o', 'w', '_', 'u', 'p', 'd', 'a', 't', 'e', '_', 'f', 'r', 'a', 'm', 'e', +'s', '_', 'p', 'e', 'r', '_', 'd', 'a', 't', 'a', '_', 'f', 'r', 'a', 'm', 'e', '_', 's', 'e', 'n', 't', '\030', '\013', ' ', '\001', +'(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', +'3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', ',', 'm', 'a', 'x', 'I', 'n', 'b', 'o', +'u', 'n', 'd', 'W', 'i', 'n', 'd', 'o', 'w', 'U', 'p', 'd', 'a', 't', 'e', 'F', 'r', 'a', 'm', 'e', 's', 'P', 'e', 'r', 'D', +'a', 't', 'a', 'F', 'r', 'a', 'm', 'e', 'S', 'e', 'n', 't', '\022', '^', '\n', '&', 's', 't', 'r', 'e', 'a', 'm', '_', 'e', 'r', +'r', 'o', 'r', '_', 'o', 'n', '_', 'i', 'n', 'v', 'a', 'l', 'i', 'd', '_', 'h', 't', 't', 'p', '_', 'm', 'e', 's', 's', 'a', +'g', 'i', 'n', 'g', '\030', '\014', ' ', '\001', '(', '\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '!', +'s', 't', 'r', 'e', 'a', 'm', 'E', 'r', 'r', 'o', 'r', 'O', 'n', 'I', 'n', 'v', 'a', 'l', 'i', 'd', 'H', 't', 't', 'p', 'M', +'e', 's', 's', 'a', 'g', 'i', 'n', 'g', '\022', 'z', '\n', '-', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '_', 's', 't', 'r', 'e', +'a', 'm', '_', 'e', 'r', 'r', 'o', 'r', '_', 'o', 'n', '_', 'i', 'n', 'v', 'a', 'l', 'i', 'd', '_', 'h', 't', 't', 'p', '_', +'m', 'e', 's', 's', 'a', 'g', 'e', '\030', '\016', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\'', 'o', 'v', 'e', 'r', 'r', 'i', 'd', +'e', 'S', 't', 'r', 'e', 'a', 'm', 'E', 'r', 'r', 'o', 'r', 'O', 'n', 'I', 'n', 'v', 'a', 'l', 'i', 'd', 'H', 't', 't', 'p', +'M', 'e', 's', 's', 'a', 'g', 'e', '\022', 'z', '\n', '\032', 'c', 'u', 's', 't', 'o', 'm', '_', 's', 'e', 't', 't', 'i', 'n', 'g', +'s', '_', 'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '\030', '\r', ' ', '\003', '(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '2', 'P', 'r', 'o', +'t', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 'P', 'a', 'r', 'a', +'m', 'e', 't', 'e', 'r', 'R', '\030', 'c', 'u', 's', 't', 'o', 'm', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 'P', 'a', 'r', 'a', +'m', 'e', 't', 'e', 'r', 's', '\022', 'Z', '\n', '\024', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'k', 'e', 'e', 'p', +'a', 'l', 'i', 'v', 'e', '\030', '\017', ' ', '\001', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', 'S', 'e', 't', 't', 'i', 'n', +'g', 's', 'R', '\023', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '\022', 'P', +'\n', '\021', 'u', 's', 'e', '_', 'o', 'g', 'h', 't', 't', 'p', '2', '_', 'c', 'o', 'd', 'e', 'c', '\030', '\020', ' ', '\001', '(', '\013', +'2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', +'l', 'u', 'e', 'B', '\010', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'R', '\017', 'u', 's', 'e', 'O', 'g', 'h', 't', 't', 'p', '2', +'C', 'o', 'd', 'e', 'c', '\032', '\342', '\001', '\n', '\021', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 'P', 'a', 'r', 'a', 'm', 'e', 't', +'e', 'r', '\022', 'N', '\n', '\n', 'i', 'd', 'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', +'u', 'e', 'B', '\020', '\372', 'B', '\r', '*', '\006', '\030', '\377', '\377', '\003', '(', '\000', '\212', '\001', '\002', '\020', '\001', 'R', '\n', 'i', 'd', 'e', +'n', 't', 'i', 'f', 'i', 'e', 'r', '\022', '<', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', +'u', 'e', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '?', '\232', '\305', '\210', '\036', +':', '\n', '8', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 't', 't', 'p', +'2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', +'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', 'a', +'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', +'p', 't', 'i', 'o', 'n', 's', '\"', '\245', '\001', '\n', '\023', 'G', 'r', 'p', 'c', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', +'t', 'i', 'o', 'n', 's', '\022', '`', '\n', '\026', 'h', 't', 't', 'p', '2', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', +'p', 't', 'i', 'o', 'n', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', +'p', 't', 'i', 'o', 'n', 's', 'R', '\024', 'h', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', +'o', 'n', 's', ':', ',', '\232', '\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', +'c', 'o', 'r', 'e', '.', 'G', 'r', 'p', 'c', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\"', +'\261', '\002', '\n', '\024', 'H', 't', 't', 'p', '3', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', +']', '\n', '\025', 'q', 'u', 'i', 'c', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', +'\001', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', +'.', 'v', '3', '.', 'Q', 'u', 'i', 'c', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\023', +'q', 'u', 'i', 'c', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'z', '\n', '-', 'o', 'v', +'e', 'r', 'r', 'i', 'd', 'e', '_', 's', 't', 'r', 'e', 'a', 'm', '_', 'e', 'r', 'r', 'o', 'r', '_', 'o', 'n', '_', 'i', 'n', +'v', 'a', 'l', 'i', 'd', '_', 'h', 't', 't', 'p', '_', 'm', 'e', 's', 's', 'a', 'g', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', +'\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', +'u', 'e', 'R', '\'', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'S', 't', 'r', 'e', 'a', 'm', 'E', 'r', 'r', 'o', 'r', 'O', 'n', +'I', 'n', 'v', 'a', 'l', 'i', 'd', 'H', 't', 't', 'p', 'M', 'e', 's', 's', 'a', 'g', 'e', '\022', '>', '\n', '\026', 'a', 'l', 'l', +'o', 'w', '_', 'e', 'x', 't', 'e', 'n', 'd', 'e', 'd', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', '\030', '\005', ' ', '\001', '(', '\010', +'B', '\010', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'R', '\024', 'a', 'l', 'l', 'o', 'w', 'E', 'x', 't', 'e', 'n', 'd', 'e', 'd', +'C', 'o', 'n', 'n', 'e', 'c', 't', '\"', 't', '\n', '\032', 'S', 'c', 'h', 'e', 'm', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 'T', 'r', +'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', '\022', 'D', '\n', '\023', 's', 'c', 'h', 'e', 'm', 'e', '_', 't', 'o', +'_', 'o', 'v', 'e', 'r', 'w', 'r', 'i', 't', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\022', '\372', 'B', '\017', 'r', '\r', 'R', '\004', +'h', 't', 't', 'p', 'R', '\005', 'h', 't', 't', 'p', 's', 'H', '\000', 'R', '\021', 's', 'c', 'h', 'e', 'm', 'e', 'T', 'o', 'O', 'v', +'e', 'r', 'w', 'r', 'i', 't', 'e', 'B', '\020', '\n', '\016', 't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', +'B', '\201', '\001', '\n', '\"', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\r', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'P', +'r', 'o', 't', 'o', 'P', '\001', 'Z', 'B', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', +'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', +'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', ';', 'c', 'o', 'r', 'e', 'v', '3', '\272', +'\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[10] = { + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_type_v3_percent_proto_upbdefinit, + &google_protobuf_duration_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &xds_annotations_v3_status_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_core_v3_protocol_proto_upbdefinit = { + deps, + &envoy_config_core_v3_protocol_proto_upb_file_layout, + "envoy/config/core/v3/protocol.proto", + UPB_STRINGVIEW_INIT(descriptor, 6815) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h index b2616486ab0..0e8b9dd3fbe 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/protocol.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_PROTOCOL_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c index d3c71a93490..9ddf49f9bc9 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/proxy_protocol.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/core/v3/proxy_protocol.upbdefs.h" -#include "envoy/config/core/v3/proxy_protocol.upb.h" +#include "envoy/config/core/v3/proxy_protocol.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init validate_validate_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h similarity index 90% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h index e2d1af4b6d1..6c70366f256 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/proxy_protocol.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_PROXY_PROTOCOL_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c index b916b0f2eaa..dd563910285 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/resolver.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/core/v3/resolver.upbdefs.h" -#include "envoy/config/core/v3/resolver.upb.h" +#include "envoy/config/core/v3/resolver.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h similarity index 90% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h index 7aef9b303d3..e82289a9bb6 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/resolver.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_RESOLVER_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c index c8f578f068e..53f3134013a 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/socket_option.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/core/v3/socket_option.upbdefs.h" -#include "envoy/config/core/v3/socket_option.upb.h" +#include "envoy/config/core/v3/socket_option.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h similarity index 90% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h index 0c69f176369..3b1149ff7f6 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/socket_option.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_SOCKET_OPTION_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c new file mode 100644 index 00000000000..08af6ee647c --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c @@ -0,0 +1,75 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/substitution_format_string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/core/v3/substitution_format_string.upbdefs.h" +#include "envoy/config/core/v3/substitution_format_string.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[990] = {'\n', '5', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 's', 'u', +'b', 's', 't', 'i', 't', 'u', 't', 'i', 'o', 'n', '_', 'f', 'o', 'r', 'm', 'a', 't', '_', 's', 't', 'r', 'i', 'n', 'g', '.', +'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', +'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', +'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\034', +'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 's', 't', 'r', 'u', 'c', 't', '.', 'p', 'r', +'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', +'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', +'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', +'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '<', '\n', '\021', +'J', 's', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '\'', '\n', '\017', 's', 'o', 'r', 't', +'_', 'p', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\016', 's', 'o', 'r', 't', 'P', 'r', +'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\"', '\362', '\003', '\n', '\030', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'i', 'o', 'n', +'F', 'o', 'r', 'm', 'a', 't', 'S', 't', 'r', 'i', 'n', 'g', '\022', '.', '\n', '\013', 't', 'e', 'x', 't', '_', 'f', 'o', 'r', 'm', +'a', 't', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', '\n', +'t', 'e', 'x', 't', 'F', 'o', 'r', 'm', 'a', 't', '\022', 'D', '\n', '\013', 'j', 's', 'o', 'n', '_', 'f', 'o', 'r', 'm', 'a', 't', +'\030', '\002', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', +'S', 't', 'r', 'u', 'c', 't', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'H', '\000', 'R', '\n', 'j', 's', 'o', 'n', 'F', +'o', 'r', 'm', 'a', 't', '\022', 'P', '\n', '\022', 't', 'e', 'x', 't', '_', 'f', 'o', 'r', 'm', 'a', 't', '_', 's', 'o', 'u', 'r', +'c', 'e', '\030', '\005', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'H', '\000', 'R', '\020', 't', 'e', 'x', 't', +'F', 'o', 'r', 'm', 'a', 't', 'S', 'o', 'u', 'r', 'c', 'e', '\022', '*', '\n', '\021', 'o', 'm', 'i', 't', '_', 'e', 'm', 'p', 't', +'y', '_', 'v', 'a', 'l', 'u', 'e', 's', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\017', 'o', 'm', 'i', 't', 'E', 'm', 'p', 't', 'y', +'V', 'a', 'l', 'u', 'e', 's', '\022', '.', '\n', '\014', 'c', 'o', 'n', 't', 'e', 'n', 't', '_', 't', 'y', 'p', 'e', '\030', '\004', ' ', +'\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\002', '\310', '\001', '\000', 'R', '\013', 'c', 'o', 'n', 't', 'e', 'n', 't', +'T', 'y', 'p', 'e', '\022', 'J', '\n', '\n', 'f', 'o', 'r', 'm', 'a', 't', 't', 'e', 'r', 's', '\030', '\006', ' ', '\003', '(', '\013', '2', +'*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', +'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\n', 'f', 'o', 'r', 'm', 'a', +'t', 't', 'e', 'r', 's', '\022', 'W', '\n', '\023', 'j', 's', 'o', 'n', '_', 'f', 'o', 'r', 'm', 'a', 't', '_', 'o', 'p', 't', 'i', +'o', 'n', 's', '\030', '\007', ' ', '\001', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'J', 's', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', +'R', '\021', 'j', 's', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', 'B', '\r', '\n', '\006', 'f', 'o', +'r', 'm', 'a', 't', '\022', '\003', '\370', 'B', '\001', 'B', '\221', '\001', '\n', '\"', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', +'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\035', +'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'i', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', 'S', 't', 'r', 'i', 'n', 'g', 'P', +'r', 'o', 't', 'o', 'P', '\001', 'Z', 'B', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', +'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', +'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', ';', 'c', 'o', 'r', 'e', 'v', '3', '\272', +'\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[7] = { + &envoy_config_core_v3_base_proto_upbdefinit, + &envoy_config_core_v3_extension_proto_upbdefinit, + &google_protobuf_struct_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_core_v3_substitution_format_string_proto_upbdefinit = { + deps, + &envoy_config_core_v3_substitution_format_string_proto_upb_file_layout, + "envoy/config/core/v3/substitution_format_string.proto", + UPB_STRINGVIEW_INIT(descriptor, 990) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h new file mode 100644 index 00000000000..1651ed3ddb8 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h @@ -0,0 +1,40 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/core/v3/substitution_format_string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPBDEFS_H_ +#define ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_config_core_v3_substitution_format_string_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_config_core_v3_JsonFormatOptions_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_core_v3_substitution_format_string_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.core.v3.JsonFormatOptions"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_core_v3_SubstitutionFormatString_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_core_v3_substitution_format_string_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.core.v3.SubstitutionFormatString"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c index 6b5e3086053..4940161ef98 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/udp_socket_config.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/core/v3/udp_socket_config.upbdefs.h" -#include "envoy/config/core/v3/udp_socket_config.upb.h" +#include "envoy/config/core/v3/udp_socket_config.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h similarity index 88% rename from src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h index 0d836e69b98..0fca023ac55 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/core/v3/udp_socket_config.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_CORE_V3_UDP_SOCKET_CONFIG_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c new file mode 100644 index 00000000000..b52b451e81d --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c @@ -0,0 +1,101 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/endpoint/v3/endpoint.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/endpoint/v3/endpoint.upbdefs.h" +#include "envoy/config/endpoint/v3/endpoint.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_endpoint_v3_endpoint_components_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[1578] = {'\n', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '/', 'v', +'3', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', '\022', '\030', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', '\032', '2', 'e', 'n', 'v', 'o', 'y', '/', +'c', 'o', 'n', 'f', 'i', 'g', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '/', 'v', '3', '/', 'e', 'n', 'd', 'p', 'o', 'i', +'n', 't', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', 'o', +'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', +'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', +'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', +'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', +'t', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', +'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', +'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', +'o', 't', 'o', '\"', '\340', '\010', '\n', '\025', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', +'m', 'e', 'n', 't', '\022', '*', '\n', '\014', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', +'\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\013', 'c', 'l', 'u', 's', 't', 'e', 'r', 'N', 'a', 'm', 'e', '\022', 'K', +'\n', '\t', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', '-', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', '.', 'L', 'o', 'c', 'a', 'l', +'i', 't', 'y', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', 'R', '\t', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', +'\022', 'l', '\n', '\017', 'n', 'a', 'm', 'e', 'd', '_', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\030', '\005', ' ', '\003', '(', '\013', +'2', 'C', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', +'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', '.', +'N', 'a', 'm', 'e', 'd', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', 'E', 'n', 't', 'r', 'y', 'R', '\016', 'n', 'a', 'm', 'e', +'d', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\022', 'N', '\n', '\006', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\004', ' ', '\001', '(', +'\013', '2', '6', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', +'.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', +'.', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\006', 'p', 'o', 'l', 'i', 'c', 'y', '\032', '\375', '\004', '\n', '\006', 'P', 'o', 'l', 'i', 'c', +'y', '\022', 'j', '\n', '\016', 'd', 'r', 'o', 'p', '_', 'o', 'v', 'e', 'r', 'l', 'o', 'a', 'd', 's', '\030', '\002', ' ', '\003', '(', '\013', +'2', 'C', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', +'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', '.', +'P', 'o', 'l', 'i', 'c', 'y', '.', 'D', 'r', 'o', 'p', 'O', 'v', 'e', 'r', 'l', 'o', 'a', 'd', 'R', '\r', 'd', 'r', 'o', 'p', +'O', 'v', 'e', 'r', 'l', 'o', 'a', 'd', 's', '\022', '^', '\n', '\027', 'o', 'v', 'e', 'r', 'p', 'r', 'o', 'v', 'i', 's', 'i', 'o', +'n', 'i', 'n', 'g', '_', 'f', 'a', 'c', 't', 'o', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', +'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', +'B', '\004', '*', '\002', ' ', '\000', 'R', '\026', 'o', 'v', 'e', 'r', 'p', 'r', 'o', 'v', 'i', 's', 'i', 'o', 'n', 'i', 'n', 'g', 'F', +'a', 'c', 't', 'o', 'r', '\022', 'U', '\n', '\024', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '_', 's', 't', 'a', 'l', 'e', '_', 'a', +'f', 't', 'e', 'r', '\030', '\004', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\252', '\001', '\002', '*', '\000', 'R', '\022', 'e', +'n', 'd', 'p', 'o', 'i', 'n', 't', 'S', 't', 'a', 'l', 'e', 'A', 'f', 't', 'e', 'r', '\022', '8', '\n', '\030', 'w', 'e', 'i', 'g', +'h', 't', 'e', 'd', '_', 'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', '_', 'h', 'e', 'a', 'l', 't', 'h', '\030', '\006', ' ', '\001', '(', +'\010', 'R', '\026', 'w', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 'H', 'e', 'a', 'l', 't', 'h', +'\032', '\275', '\001', '\n', '\014', 'D', 'r', 'o', 'p', 'O', 'v', 'e', 'r', 'l', 'o', 'a', 'd', '\022', '#', '\n', '\010', 'c', 'a', 't', 'e', +'g', 'o', 'r', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\010', 'c', 'a', 't', 'e', +'g', 'o', 'r', 'y', '\022', 'I', '\n', '\017', 'd', 'r', 'o', 'p', '_', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'a', 'g', 'e', '\030', '\002', +' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', +'t', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\016', 'd', 'r', 'o', 'p', 'P', 'e', 'r', 'c', 'e', 'n', +'t', 'a', 'g', 'e', ':', '=', '\232', '\305', '\210', '\036', '8', '\n', '6', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', +'.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', '.', 'P', 'o', +'l', 'i', 'c', 'y', '.', 'D', 'r', 'o', 'p', 'O', 'v', 'e', 'r', 'l', 'o', 'a', 'd', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', +')', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'a', 'd', +'A', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', '.', 'P', 'o', 'l', 'i', 'c', 'y', 'J', '\004', '\010', '\001', '\020', '\002', 'J', '\004', +'\010', '\005', '\020', '\006', 'R', '\030', 'd', 'i', 's', 'a', 'b', 'l', 'e', '_', 'o', 'v', 'e', 'r', 'p', 'r', 'o', 'v', 'i', 's', 'i', +'o', 'n', 'i', 'n', 'g', '\032', 'e', '\n', '\023', 'N', 'a', 'm', 'e', 'd', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', 'E', 'n', +'t', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '8', '\n', '\005', +'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', '.', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'R', '\005', 'v', +'a', 'l', 'u', 'e', ':', '\002', '8', '\001', ':', ')', '\232', '\305', '\210', '\036', '$', '\n', '\"', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', +'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', +'t', 'B', '\215', '\001', '\n', '&', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', 'B', '\r', 'E', 'n', 'd', 'p', +'o', 'i', 'n', 't', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'J', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', +'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', +'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '/', 'v', +'3', ';', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', +'t', 'o', '3', +}; + +static _upb_DefPool_Init *deps[8] = { + &envoy_config_endpoint_v3_endpoint_components_proto_upbdefinit, + &envoy_type_v3_percent_proto_upbdefinit, + &google_protobuf_duration_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_endpoint_v3_endpoint_proto_upbdefinit = { + deps, + &envoy_config_endpoint_v3_endpoint_proto_upb_file_layout, + "envoy/config/endpoint/v3/endpoint.proto", + UPB_STRINGVIEW_INIT(descriptor, 1578) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h similarity index 93% rename from src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h index ca331dc9da5..f4a257c8b7c 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/endpoint/v3/endpoint.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_ENDPOINT_V3_ENDPOINT_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c new file mode 100644 index 00000000000..62e23df756d --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c @@ -0,0 +1,139 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/endpoint/v3/endpoint_components.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/endpoint/v3/endpoint_components.upbdefs.h" +#include "envoy/config/endpoint/v3/endpoint_components.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_config_source_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_health_check_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[2499] = {'\n', '2', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '/', 'v', +'3', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', +'t', 'o', '\022', '\030', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', +'.', 'v', '3', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', +'/', 'a', 'd', 'd', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', +'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', +'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'n', 'f', 'i', +'g', '_', 's', 'o', 'u', 'r', 'c', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', +'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'h', 'e', 'a', 'l', 't', 'h', '_', 'c', 'h', 'e', 'c', 'k', '.', +'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', +'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', +'t', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', +'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', +'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', +'o', 't', 'o', '\"', '\260', '\005', '\n', '\010', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', '\022', '7', '\n', '\007', 'a', 'd', 'd', 'r', 'e', +'s', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', 'd', +'\n', '\023', 'h', 'e', 'a', 'l', 't', 'h', '_', 'c', 'h', 'e', 'c', 'k', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', +'(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', +'t', '.', 'v', '3', '.', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', +'C', 'o', 'n', 'f', 'i', 'g', 'R', '\021', 'h', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'C', 'o', 'n', 'f', 'i', 'g', +'\022', '\032', '\n', '\010', 'h', 'o', 's', 't', 'n', 'a', 'm', 'e', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\010', 'h', 'o', 's', 't', 'n', +'a', 'm', 'e', '\022', 'g', '\n', '\024', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', +'e', 's', '\030', '\004', ' ', '\003', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', +'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', '.', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'A', 'd', 'd', 'i', 't', +'i', 'o', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\023', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'A', +'d', 'd', 'r', 'e', 's', 's', 'e', 's', '\032', '\212', '\002', '\n', '\021', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'C', +'o', 'n', 'f', 'i', 'g', '\022', '(', '\n', '\n', 'p', 'o', 'r', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', '\r', +'B', '\t', '\372', 'B', '\006', '*', '\004', '\030', '\377', '\377', '\003', 'R', '\t', 'p', 'o', 'r', 't', 'V', 'a', 'l', 'u', 'e', '\022', '\032', '\n', +'\010', 'h', 'o', 's', 't', 'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\010', 'h', 'o', 's', 't', 'n', 'a', 'm', 'e', +'\022', '7', '\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\007', +'a', 'd', 'd', 'r', 'e', 's', 's', '\022', '=', '\n', '\033', 'd', 'i', 's', 'a', 'b', 'l', 'e', '_', 'a', 'c', 't', 'i', 'v', 'e', +'_', 'h', 'e', 'a', 'l', 't', 'h', '_', 'c', 'h', 'e', 'c', 'k', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\030', 'd', 'i', 's', 'a', +'b', 'l', 'e', 'A', 'c', 't', 'i', 'v', 'e', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', ':', '7', '\232', '\305', '\210', +'\036', '2', '\n', '0', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', +'.', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'C', 'o', 'n', 'f', +'i', 'g', '\032', 'L', '\n', '\021', 'A', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', '7', +'\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\007', 'a', 'd', +'d', 'r', 'e', 's', 's', ':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', +'2', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', '\"', '\221', '\003', '\n', '\n', 'L', +'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', '\022', '@', '\n', '\010', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '\030', '\001', ' ', '\001', +'(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', +'t', '.', 'v', '3', '.', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'H', '\000', 'R', '\010', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', +'\022', '%', '\n', '\r', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '_', 'n', 'a', 'm', 'e', '\030', '\005', ' ', '\001', '(', '\t', 'H', '\000', +'R', '\014', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'N', 'a', 'm', 'e', '\022', 'G', '\n', '\r', 'h', 'e', 'a', 'l', 't', 'h', '_', +'s', 't', 'a', 't', 'u', 's', '\030', '\002', ' ', '\001', '(', '\016', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'l', 't', 'h', 'S', 't', 'a', 't', 'u', 's', 'R', '\014', +'h', 'e', 'a', 'l', 't', 'h', 'S', 't', 'a', 't', 'u', 's', '\022', ':', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', +'\003', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', +'.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'Y', '\n', +'\025', 'l', 'o', 'a', 'd', '_', 'b', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', '_', 'w', 'e', 'i', 'g', 'h', 't', '\030', '\004', ' ', +'\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', +'t', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', '\023', 'l', 'o', 'a', 'd', 'B', 'a', +'l', 'a', 'n', 'c', 'i', 'n', 'g', 'W', 'e', 'i', 'g', 'h', 't', ':', '\'', '\232', '\305', '\210', '\036', '\"', '\n', ' ', 'e', 'n', 'v', +'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'L', 'b', 'E', 'n', 'd', 'p', +'o', 'i', 'n', 't', 'B', '\021', '\n', '\017', 'h', 'o', 's', 't', '_', 'i', 'd', 'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', '\"', '\222', +'\001', '\n', '\031', 'L', 'e', 'd', 's', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'C', 'o', 'n', +'f', 'i', 'g', '\022', 'C', '\n', '\013', 'l', 'e', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', +'\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', +'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\n', 'l', 'e', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '0', '\n', +'\024', 'l', 'e', 'd', 's', '_', 'c', 'o', 'l', 'l', 'e', 'c', 't', 'i', 'o', 'n', '_', 'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', +'(', '\t', 'R', '\022', 'l', 'e', 'd', 's', 'C', 'o', 'l', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'N', 'a', 'm', 'e', '\"', '\341', '\005', +'\n', '\023', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\022', ':', '\n', '\010', +'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', '\030', '\001', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'R', '\010', 'l', 'o', +'c', 'a', 'l', 'i', 't', 'y', '\022', 'G', '\n', '\014', 'l', 'b', '_', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\030', '\002', ' ', +'\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', +'n', 't', '.', 'v', '3', '.', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'R', '\013', 'l', 'b', 'E', 'n', 'd', 'p', 'o', +'i', 'n', 't', 's', '\022', 'v', '\n', '\027', 'l', 'o', 'a', 'd', '_', 'b', 'a', 'l', 'a', 'n', 'c', 'e', 'r', '_', 'e', 'n', 'd', +'p', 'o', 'i', 'n', 't', 's', '\030', '\007', ' ', '\001', '(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', '.', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'L', 'b', +'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '.', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'L', 'i', 's', 't', 'H', +'\000', 'R', '\025', 'l', 'o', 'a', 'd', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'r', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\022', +'v', '\n', '\034', 'l', 'e', 'd', 's', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', '_', +'c', 'o', 'n', 'f', 'i', 'g', '\030', '\010', ' ', '\001', '(', '\013', '2', '3', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', '.', 'L', 'e', 'd', 's', 'C', 'l', 'u', 's', 't', 'e', +'r', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\031', 'l', 'e', 'd', 's', 'C', 'l', +'u', 's', 't', 'e', 'r', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'Y', '\n', '\025', 'l', 'o', +'a', 'd', '_', 'b', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', '_', 'w', 'e', 'i', 'g', 'h', 't', '\030', '\003', ' ', '\001', '(', '\013', +'2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', +'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', '\023', 'l', 'o', 'a', 'd', 'B', 'a', 'l', 'a', 'n', +'c', 'i', 'n', 'g', 'W', 'e', 'i', 'g', 'h', 't', '\022', '$', '\n', '\010', 'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', '\030', '\005', ' ', +'\001', '(', '\r', 'B', '\010', '\372', 'B', '\005', '*', '\003', '\030', '\200', '\001', 'R', '\010', 'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', '\022', ':', +'\n', '\t', 'p', 'r', 'o', 'x', 'i', 'm', 'i', 't', 'y', '\030', '\006', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', +'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\t', 'p', +'r', 'o', 'x', 'i', 'm', 'i', 't', 'y', '\032', 'Y', '\n', '\016', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'L', 'i', 's', +'t', '\022', 'G', '\n', '\014', 'l', 'b', '_', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '$', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', +'.', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'R', '\013', 'l', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', ':', +'0', '\232', '\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'e', 'n', 'd', 'p', +'o', 'i', 'n', 't', '.', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', 'B', +'\013', '\n', '\t', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', 'B', '\227', '\001', '\n', '&', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', +'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', +'n', 't', '.', 'v', '3', 'B', '\027', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', +'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'J', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', +'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', +'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '/', 'v', '3', ';', 'e', 'n', +'d', 'p', 'o', 'i', 'n', 't', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[9] = { + &envoy_config_core_v3_address_proto_upbdefinit, + &envoy_config_core_v3_base_proto_upbdefinit, + &envoy_config_core_v3_config_source_proto_upbdefinit, + &envoy_config_core_v3_health_check_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_endpoint_v3_endpoint_components_proto_upbdefinit = { + deps, + &envoy_config_endpoint_v3_endpoint_components_proto_upb_file_layout, + "envoy/config/endpoint/v3/endpoint_components.proto", + UPB_STRINGVIEW_INIT(descriptor, 2499) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h similarity index 85% rename from src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h index cb0a881dc11..76818e3d4fd 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/endpoint/v3/endpoint_components.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_ENDPOINT_V3_ENDPOINT_COMPONENTS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { @@ -32,6 +31,11 @@ UPB_INLINE const upb_MessageDef *envoy_config_endpoint_v3_Endpoint_HealthCheckCo return upb_DefPool_FindMessageByName(s, "envoy.config.endpoint.v3.Endpoint.HealthCheckConfig"); } +UPB_INLINE const upb_MessageDef *envoy_config_endpoint_v3_Endpoint_AdditionalAddress_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_endpoint_v3_endpoint_components_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.endpoint.v3.Endpoint.AdditionalAddress"); +} + UPB_INLINE const upb_MessageDef *envoy_config_endpoint_v3_LbEndpoint_getmsgdef(upb_DefPool *s) { _upb_DefPool_LoadDefInit(s, &envoy_config_endpoint_v3_endpoint_components_proto_upbdefinit); return upb_DefPool_FindMessageByName(s, "envoy.config.endpoint.v3.LbEndpoint"); diff --git a/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c index 1e02cbd1861..a086dc1b148 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/endpoint/v3/load_report.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/endpoint/v3/load_report.upbdefs.h" -#include "envoy/config/endpoint/v3/load_report.upb.h" +#include "envoy/config/endpoint/v3/load_report.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h similarity index 94% rename from src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h index 0d1775beaab..4e3f495427b 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/endpoint/v3/load_report.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_ENDPOINT_V3_LOAD_REPORT_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c index 781b5d35f2a..2404f0fce56 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/api_listener.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/listener/v3/api_listener.upbdefs.h" -#include "envoy/config/listener/v3/api_listener.upb.h" +#include "envoy/config/listener/v3/api_listener.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h similarity index 88% rename from src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h index 7cf0bd783db..02966a47e92 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/api_listener.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_LISTENER_V3_API_LISTENER_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c new file mode 100644 index 00000000000..ac79c461393 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c @@ -0,0 +1,231 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/listener/v3/listener.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/listener/v3/listener.upbdefs.h" +#include "envoy/config/listener/v3/listener.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_accesslog_v3_accesslog_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_socket_option_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_listener_v3_api_listener_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_listener_v3_listener_components_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_listener_v3_udp_listener_config_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; +extern _upb_DefPool_Init xds_core_v3_collection_entry_proto_upbdefinit; +extern _upb_DefPool_Init xds_type_matcher_v3_matcher_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_security_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[4281] = {'\n', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '/', 'v', +'3', '/', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', '\030', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '\032', ')', 'e', 'n', 'v', 'o', 'y', '/', +'c', 'o', 'n', 'f', 'i', 'g', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '/', 'v', '3', '/', 'a', 'c', 'c', 'e', 's', +'s', 'l', 'o', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', +'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'a', 'd', 'd', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'e', 'n', +'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', +'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', +'3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', 'v', 'o', 'y', '/', +'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 's', 'o', 'c', 'k', 'e', 't', '_', 'o', 'p', 't', +'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '+', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'l', +'i', 's', 't', 'e', 'n', 'e', 'r', '/', 'v', '3', '/', 'a', 'p', 'i', '_', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'p', +'r', 'o', 't', 'o', '\032', '2', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'l', 'i', 's', 't', 'e', 'n', +'e', 'r', '/', 'v', '3', '/', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', +'.', 'p', 'r', 'o', 't', 'o', '\032', '2', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'l', 'i', 's', 't', +'e', 'n', 'e', 'r', '/', 'v', '3', '/', 'u', 'd', 'p', '_', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'x', +'d', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', +'p', 'r', 'o', 't', 'o', '\032', '\"', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'l', 'l', 'e', 'c', +'t', 'i', 'o', 'n', '_', 'e', 'n', 't', 'r', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'x', 'd', 's', '/', 't', 'y', 'p', +'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', +'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', +'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', +'a', 't', 'i', 'o', 'n', 's', '/', 's', 'e', 'c', 'u', 'r', 'i', 't', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', +'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', +'t', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', +'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', +'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\240', '\001', '\n', '\021', 'A', 'd', 'd', 'i', 't', 'i', 'o', 'n', +'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', '7', '\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\001', ' ', '\001', '(', +'\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', +'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', 'R', '\n', '\016', 's', 'o', 'c', 'k', 'e', +'t', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '+', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', +'n', 's', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'R', '\r', 's', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', +'\"', 'L', '\n', '\022', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'C', 'o', 'l', 'l', 'e', 'c', 't', 'i', 'o', 'n', '\022', '6', '\n', +'\007', 'e', 'n', 't', 'r', 'i', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\034', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', +'.', 'v', '3', '.', 'C', 'o', 'l', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'E', 'n', 't', 'r', 'y', 'R', '\007', 'e', 'n', 't', 'r', +'i', 'e', 's', '\"', '\206', '\030', '\n', '\010', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', +'\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '7', '\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\002', ' ', +'\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', +'3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', '^', '\n', '\024', 'a', 'd', 'd', +'i', 't', 'i', 'o', 'n', 'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', 'e', 's', '\030', '!', ' ', '\003', '(', '\013', '2', '+', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', +'.', 'A', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\023', 'a', 'd', 'd', 'i', 't', +'i', 'o', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', 'e', 's', '\022', '\037', '\n', '\013', 's', 't', 'a', 't', '_', 'p', 'r', +'e', 'f', 'i', 'x', '\030', '\034', ' ', '\001', '(', '\t', 'R', '\n', 's', 't', 'a', 't', 'P', 'r', 'e', 'f', 'i', 'x', '\022', 'J', '\n', +'\r', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'h', 'a', 'i', 'n', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '%', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'F', 'i', +'l', 't', 'e', 'r', 'C', 'h', 'a', 'i', 'n', 'R', '\014', 'f', 'i', 'l', 't', 'e', 'r', 'C', 'h', 'a', 'i', 'n', 's', '\022', 'X', +'\n', '\024', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'h', 'a', 'i', 'n', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', ' ', ' ', +'\001', '(', '\013', '2', '\034', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', +'.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'R', '\022', 'f', 'i', 'l', 't', 'e', +'r', 'C', 'h', 'a', 'i', 'n', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'D', '\n', '\020', 'u', 's', 'e', '_', 'o', 'r', 'i', 'g', +'i', 'n', 'a', 'l', '_', 'd', 's', 't', '\030', '\004', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\016', 'u', 's', 'e', 'O', 'r', 'i', +'g', 'i', 'n', 'a', 'l', 'D', 's', 't', '\022', 'W', '\n', '\024', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 'f', 'i', 'l', 't', 'e', +'r', '_', 'c', 'h', 'a', 'i', 'n', '\030', '\031', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'h', 'a', +'i', 'n', 'R', '\022', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'h', 'a', 'i', 'n', '\022', 'o', '\n', +'!', 'p', 'e', 'r', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'b', 'u', 'f', 'f', 'e', 'r', '_', 'l', 'i', +'m', 'i', 't', '_', 'b', 'y', 't', 'e', 's', '\030', '\005', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', +'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\212', '\223', '\267', +'*', '\002', '\010', '\001', 'R', '\035', 'p', 'e', 'r', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'u', 'f', 'f', 'e', 'r', +'L', 'i', 'm', 'i', 't', 'B', 'y', 't', 'e', 's', '\022', ':', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\006', ' ', +'\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', +'3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'a', '\n', '\r', 'd', +'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '_', 'v', '1', '\030', '\007', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'L', 'i', 's', 't', +'e', 'n', 'e', 'r', '.', 'D', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', 'V', '1', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', +'\004', '\003', '3', '.', '0', 'R', '\014', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', 'V', '1', '\022', 'K', '\n', '\n', 'd', 'r', +'a', 'i', 'n', '_', 't', 'y', 'p', 'e', '\030', '\010', ' ', '\001', '(', '\016', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', +'.', 'D', 'r', 'a', 'i', 'n', 'T', 'y', 'p', 'e', 'R', '\t', 'd', 'r', 'a', 'i', 'n', 'T', 'y', 'p', 'e', '\022', 'S', '\n', '\020', +'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', 's', '\030', '\t', ' ', '\003', '(', '\013', '2', '(', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', +'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 'R', '\017', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', 'F', +'i', 'l', 't', 'e', 'r', 's', '\022', 'S', '\n', '\030', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', +'s', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\017', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', +'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\026', 'l', 'i', 's', 't', 'e', 'n', +'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 's', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'N', '\n', '$', 'c', 'o', 'n', 't', 'i', +'n', 'u', 'e', '_', 'o', 'n', '_', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', 's', '_', 't', +'i', 'm', 'e', 'o', 'u', 't', '\030', '\021', ' ', '\001', '(', '\010', 'R', ' ', 'c', 'o', 'n', 't', 'i', 'n', 'u', 'e', 'O', 'n', 'L', +'i', 's', 't', 'e', 'n', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 's', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', '<', '\n', '\013', +'t', 'r', 'a', 'n', 's', 'p', 'a', 'r', 'e', 'n', 't', '\030', '\n', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', +'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\013', 't', 'r', 'a', +'n', 's', 'p', 'a', 'r', 'e', 'n', 't', '\022', '6', '\n', '\010', 'f', 'r', 'e', 'e', 'b', 'i', 'n', 'd', '\030', '\013', ' ', '\001', '(', +'\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', +'a', 'l', 'u', 'e', 'R', '\010', 'f', 'r', 'e', 'e', 'b', 'i', 'n', 'd', '\022', 'I', '\n', '\016', 's', 'o', 'c', 'k', 'e', 't', '_', +'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\r', ' ', '\003', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 'R', +'\r', 's', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'X', '\n', '\032', 't', 'c', 'p', '_', 'f', 'a', 's', +'t', '_', 'o', 'p', 'e', 'n', '_', 'q', 'u', 'e', 'u', 'e', '_', 'l', 'e', 'n', 'g', 't', 'h', '\030', '\014', ' ', '\001', '(', '\013', +'2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', +'V', 'a', 'l', 'u', 'e', 'R', '\026', 't', 'c', 'p', 'F', 'a', 's', 't', 'O', 'p', 'e', 'n', 'Q', 'u', 'e', 'u', 'e', 'L', 'e', +'n', 'g', 't', 'h', '\022', 'S', '\n', '\021', 't', 'r', 'a', 'f', 'f', 'i', 'c', '_', 'd', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', +'\030', '\020', ' ', '\001', '(', '\016', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', +'e', '.', 'v', '3', '.', 'T', 'r', 'a', 'f', 'f', 'i', 'c', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 'R', '\020', 't', 'r', +'a', 'f', 'f', 'i', 'c', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', '\022', '[', '\n', '\023', 'u', 'd', 'p', '_', 'l', 'i', 's', +'t', 'e', 'n', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\022', ' ', '\001', '(', '\013', '2', '+', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'U', 'd', 'p', 'L', +'i', 's', 't', 'e', 'n', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\021', 'u', 'd', 'p', 'L', 'i', 's', 't', 'e', 'n', 'e', +'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'H', '\n', '\014', 'a', 'p', 'i', '_', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '\030', '\023', +' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', +'n', 'e', 'r', '.', 'v', '3', '.', 'A', 'p', 'i', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'R', '\013', 'a', 'p', 'i', 'L', 'i', +'s', 't', 'e', 'n', 'e', 'r', '\022', 'v', '\n', '\031', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'b', 'a', 'l', 'a', +'n', 'c', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\024', ' ', '\001', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'L', 'i', 's', 't', 'e', 'n', +'e', 'r', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'C', 'o', 'n', 'f', 'i', +'g', 'R', '\027', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'C', 'o', 'n', 'f', 'i', +'g', '\022', '*', '\n', '\n', 'r', 'e', 'u', 's', 'e', '_', 'p', 'o', 'r', 't', '\030', '\025', ' ', '\001', '(', '\010', 'B', '\013', '\030', '\001', +'\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\t', 'r', 'e', 'u', 's', 'e', 'P', 'o', 'r', 't', '\022', 'F', '\n', '\021', 'e', +'n', 'a', 'b', 'l', 'e', '_', 'r', 'e', 'u', 's', 'e', '_', 'p', 'o', 'r', 't', '\030', '\035', ' ', '\001', '(', '\013', '2', '\032', '.', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', +'R', '\017', 'e', 'n', 'a', 'b', 'l', 'e', 'R', 'e', 'u', 's', 'e', 'P', 'o', 'r', 't', '\022', 'C', '\n', '\n', 'a', 'c', 'c', 'e', +'s', 's', '_', 'l', 'o', 'g', '\030', '\026', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', +'R', '\t', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', '\022', 'F', '\n', '\020', 't', 'c', 'p', '_', 'b', 'a', 'c', 'k', 'l', 'o', +'g', '_', 's', 'i', 'z', 'e', '\030', '\030', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\016', 't', 'c', 'p', 'B', 'a', 'c', +'k', 'l', 'o', 'g', 'S', 'i', 'z', 'e', '\022', '\177', '\n', '*', 'm', 'a', 'x', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', +'n', 's', '_', 't', 'o', '_', 'a', 'c', 'c', 'e', 'p', 't', '_', 'p', 'e', 'r', '_', 's', 'o', 'c', 'k', 'e', 't', '_', 'e', +'v', 'e', 'n', 't', '\030', '\"', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', ' ', '\000', 'R', +'$', 'm', 'a', 'x', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 's', 'T', 'o', 'A', 'c', 'c', 'e', 'p', 't', 'P', 'e', +'r', 'S', 'o', 'c', 'k', 'e', 't', 'E', 'v', 'e', 'n', 't', '\022', '<', '\n', '\014', 'b', 'i', 'n', 'd', '_', 't', 'o', '_', 'p', +'o', 'r', 't', '\030', '\032', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\n', 'b', 'i', 'n', 'd', 'T', 'o', 'P', 'o', 'r', 't', '\022', +'h', '\n', '\021', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '\030', '\033', ' ', '\001', '(', +'\013', '2', '9', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', +'.', 'v', '3', '.', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'L', 'i', 's', 't', +'e', 'n', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\020', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'L', 'i', 's', +'t', 'e', 'n', 'e', 'r', '\022', '!', '\n', '\014', 'e', 'n', 'a', 'b', 'l', 'e', '_', 'm', 'p', 't', 'c', 'p', '\030', '\036', ' ', '\001', +'(', '\010', 'R', '\013', 'e', 'n', 'a', 'b', 'l', 'e', 'M', 'p', 't', 'c', 'p', '\022', '7', '\n', '\030', 'i', 'g', 'n', 'o', 'r', 'e', +'_', 'g', 'l', 'o', 'b', 'a', 'l', '_', 'c', 'o', 'n', 'n', '_', 'l', 'i', 'm', 'i', 't', '\030', '\037', ' ', '\001', '(', '\010', 'R', +'\025', 'i', 'g', 'n', 'o', 'r', 'e', 'G', 'l', 'o', 'b', 'a', 'l', 'C', 'o', 'n', 'n', 'L', 'i', 'm', 'i', 't', '\032', 'w', '\n', +'\014', 'D', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', 'V', '1', '\022', '<', '\n', '\014', 'b', 'i', 'n', 'd', '_', 't', 'o', '_', +'p', 'o', 'r', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\n', 'b', 'i', 'n', 'd', 'T', 'o', 'P', 'o', 'r', 't', +':', ')', '\232', '\305', '\210', '\036', '$', '\n', '\"', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'L', 'i', 's', +'t', 'e', 'n', 'e', 'r', '.', 'D', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', 'V', '1', '\032', '\374', '\002', '\n', '\027', 'C', 'o', +'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'n', '\n', '\r', +'e', 'x', 'a', 'c', 't', '_', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', 'G', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'L', 'i', 's', +'t', 'e', 'n', 'e', 'r', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'C', 'o', +'n', 'f', 'i', 'g', '.', 'E', 'x', 'a', 'c', 't', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'H', '\000', 'R', '\014', 'e', 'x', 'a', 'c', +'t', 'B', 'a', 'l', 'a', 'n', 'c', 'e', '\022', 'S', '\n', '\016', 'e', 'x', 't', 'e', 'n', 'd', '_', 'b', 'a', 'l', 'a', 'n', 'c', +'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', +'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', +'g', 'H', '\000', 'R', '\r', 'e', 'x', 't', 'e', 'n', 'd', 'B', 'a', 'l', 'a', 'n', 'c', 'e', '\032', 'Q', '\n', '\014', 'E', 'x', 'a', +'c', 't', 'B', 'a', 'l', 'a', 'n', 'c', 'e', ':', 'A', '\232', '\305', '\210', '\036', '<', '\n', ':', 'e', 'n', 'v', 'o', 'y', '.', 'a', +'p', 'i', '.', 'v', '2', '.', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', +'B', 'a', 'l', 'a', 'n', 'c', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'E', 'x', 'a', 'c', 't', 'B', 'a', 'l', 'a', 'n', 'c', +'e', ':', '4', '\232', '\305', '\210', '\036', '/', '\n', '-', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'L', 'i', +'s', 't', 'e', 'n', 'e', 'r', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'C', +'o', 'n', 'f', 'i', 'g', 'B', '\023', '\n', '\014', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', +'\001', '\032', '\030', '\n', '\026', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'C', 'o', 'n', 'f', +'i', 'g', '\"', ')', '\n', '\t', 'D', 'r', 'a', 'i', 'n', 'T', 'y', 'p', 'e', '\022', '\013', '\n', '\007', 'D', 'E', 'F', 'A', 'U', 'L', +'T', '\020', '\000', '\022', '\017', '\n', '\013', 'M', 'O', 'D', 'I', 'F', 'Y', '_', 'O', 'N', 'L', 'Y', '\020', '\001', ':', '\034', '\232', '\305', '\210', +'\036', '\027', '\n', '\025', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', +'B', '\024', '\n', '\022', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'J', '\004', '\010', +'\016', '\020', '\017', 'J', '\004', '\010', '\027', '\020', '\030', '\"', '\021', '\n', '\017', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'M', 'a', 'n', 'a', +'g', 'e', 'r', '\"', '\033', '\n', '\031', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', +'M', 'a', 'n', 'a', 'g', 'e', 'r', '\"', '\024', '\n', '\022', 'A', 'p', 'i', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'M', 'a', 'n', +'a', 'g', 'e', 'r', 'B', '\215', '\001', '\n', '&', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', 'B', '\r', 'L', +'i', 's', 't', 'e', 'n', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'J', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', +'m', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', +'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'l', 'i', 's', 't', 'e', 'n', 'e', +'r', '/', 'v', '3', ';', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', +'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[19] = { + &envoy_config_accesslog_v3_accesslog_proto_upbdefinit, + &envoy_config_core_v3_address_proto_upbdefinit, + &envoy_config_core_v3_base_proto_upbdefinit, + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_config_core_v3_socket_option_proto_upbdefinit, + &envoy_config_listener_v3_api_listener_proto_upbdefinit, + &envoy_config_listener_v3_listener_components_proto_upbdefinit, + &envoy_config_listener_v3_udp_listener_config_proto_upbdefinit, + &google_protobuf_duration_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &xds_annotations_v3_status_proto_upbdefinit, + &xds_core_v3_collection_entry_proto_upbdefinit, + &xds_type_matcher_v3_matcher_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_security_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_listener_v3_listener_proto_upbdefinit = { + deps, + &envoy_config_listener_v3_listener_proto_upb_file_layout, + "envoy/config/listener/v3/listener.proto", + UPB_STRINGVIEW_INIT(descriptor, 4281) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h index 8f84d6654f6..a643aadf7c1 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/listener.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_LISTENER_V3_LISTENER_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c index 50ad4ded4ae..575d0a81b46 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/listener_components.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/listener/v3/listener_components.upbdefs.h" -#include "envoy/config/listener/v3/listener_components.upb.h" +#include "envoy/config/listener/v3/listener_components.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h similarity index 95% rename from src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h index 0df2792aaff..b5acc80e05a 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/listener_components.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_LISTENER_V3_LISTENER_COMPONENTS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c index d665703b3a1..a3d587f4e0e 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/quic_config.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/listener/v3/quic_config.upbdefs.h" -#include "envoy/config/listener/v3/quic_config.upb.h" +#include "envoy/config/listener/v3/quic_config.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h similarity index 88% rename from src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h index 5000854a3dc..fa4d3e78524 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/quic_config.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_LISTENER_V3_QUIC_CONFIG_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c index 6142edb7c40..f62523979b7 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/udp_listener_config.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/listener/v3/udp_listener_config.upbdefs.h" -#include "envoy/config/listener/v3/udp_listener_config.upb.h" +#include "envoy/config/listener/v3/udp_listener_config.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_core_v3_udp_socket_config_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h similarity index 91% rename from src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h index cd488ee65f5..272b547a1d1 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/listener/v3/udp_listener_config.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_LISTENER_V3_UDP_LISTENER_CONFIG_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c index 3cc5c8866c6..1f04a2e5e23 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/metrics/v3/metrics_service.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/metrics/v3/metrics_service.upbdefs.h" -#include "envoy/config/metrics/v3/metrics_service.upb.h" +#include "envoy/config/metrics/v3/metrics_service.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_config_source_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_core_v3_grpc_service_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h similarity index 88% rename from src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h index ab650f2ab9e..cecb88736b1 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/metrics/v3/metrics_service.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_METRICS_V3_METRICS_SERVICE_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c index 1b3f11dedad..6e4a0b0e2ff 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/metrics/v3/stats.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/metrics/v3/stats.upbdefs.h" -#include "envoy/config/metrics/v3/stats.upb.h" +#include "envoy/config/metrics/v3/stats.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h similarity index 95% rename from src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h index 427e8068673..7cec60520ee 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/metrics/v3/stats.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_METRICS_V3_STATS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c index 04438001b91..8d91bca08b4 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/overload/v3/overload.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/overload/v3/overload.upbdefs.h" -#include "envoy/config/overload/v3/overload.upb.h" +#include "envoy/config/overload/v3/overload.upb_minitable.h" extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h index 2d123619624..8c8357279b0 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/overload/v3/overload.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_OVERLOAD_V3_OVERLOAD_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c new file mode 100644 index 00000000000..863f58c3f99 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c @@ -0,0 +1,222 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/rbac/v3/rbac.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/rbac/v3/rbac.upbdefs.h" +#include "envoy/config/rbac/v3/rbac.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_route_v3_route_components_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_matcher_v3_filter_state_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_matcher_v3_metadata_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_matcher_v3_path_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_v3_range_proto_upbdefinit; +extern _upb_DefPool_Init google_api_expr_v1alpha1_checked_proto_upbdefinit; +extern _upb_DefPool_Init google_api_expr_v1alpha1_syntax_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[4221] = {'\n', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'b', 'a', 'c', '/', 'v', '3', '/', 'r', 'b', +'a', 'c', '.', 'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', +'a', 'c', '.', 'v', '3', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', +'v', '3', '/', 'a', 'd', 'd', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', +'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', +'r', 'o', 't', 'o', '\032', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', +'v', '3', '/', 'r', 'o', 'u', 't', 'e', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', +'\032', '(', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'f', +'i', 'l', 't', 'e', 'r', '_', 's', 't', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', +'t', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', +'p', 'r', 'o', 't', 'o', '\032', ' ', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', +'/', 'v', '3', '/', 'p', 'a', 't', 'h', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', +'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', 't', 'r', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', +'\032', '\031', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'r', 'a', 'n', 'g', 'e', '.', 'p', 'r', 'o', +'t', 'o', '\032', '&', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'a', 'p', 'i', '/', 'e', 'x', 'p', 'r', '/', 'v', '1', 'a', 'l', 'p', +'h', 'a', '1', '/', 'c', 'h', 'e', 'c', 'k', 'e', 'd', '.', 'p', 'r', 'o', 't', 'o', '\032', '%', 'g', 'o', 'o', 'g', 'l', 'e', +'/', 'a', 'p', 'i', '/', 'e', 'x', 'p', 'r', '/', 'v', '1', 'a', 'l', 'p', 'h', 'a', '1', '/', 's', 'y', 'n', 't', 'a', 'x', +'.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', +'/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', +'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', +'\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', +'.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', +'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', +'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\341', '\006', '\n', '\004', 'R', 'B', 'A', 'C', +'\022', 'C', '\n', '\006', 'a', 'c', 't', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\016', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', '.', 'A', 'c', 't', 'i', 'o', +'n', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\006', 'a', 'c', 't', 'i', 'o', 'n', '\022', 'D', '\n', '\010', 'p', 'o', +'l', 'i', 'c', 'i', 'e', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', '(', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', '.', 'P', 'o', 'l', 'i', 'c', 'i', 'e', 's', 'E', +'n', 't', 'r', 'y', 'R', '\010', 'p', 'o', 'l', 'i', 'c', 'i', 'e', 's', '\022', 'b', '\n', '\025', 'a', 'u', 'd', 'i', 't', '_', 'l', +'o', 'g', 'g', 'i', 'n', 'g', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', '.', 'A', +'u', 'd', 'i', 't', 'L', 'o', 'g', 'g', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\023', 'a', 'u', 'd', 'i', 't', +'L', 'o', 'g', 'g', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', '\032', '\304', '\003', '\n', '\023', 'A', 'u', 'd', 'i', 't', 'L', +'o', 'g', 'g', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'p', '\n', '\017', 'a', 'u', 'd', 'i', 't', '_', 'c', 'o', +'n', 'd', 'i', 't', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\016', '2', '=', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', '.', 'A', 'u', 'd', 'i', 't', 'L', 'o', 'g', +'g', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'A', 'u', 'd', 'i', 't', 'C', 'o', 'n', 'd', 'i', 't', 'i', 'o', +'n', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\016', 'a', 'u', 'd', 'i', 't', 'C', 'o', 'n', 'd', 'i', 't', 'i', +'o', 'n', '\022', 'g', '\n', '\016', 'l', 'o', 'g', 'g', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', 's', '\030', '\002', ' ', '\003', '(', +'\013', '2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', +'R', 'B', 'A', 'C', '.', 'A', 'u', 'd', 'i', 't', 'L', 'o', 'g', 'g', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', +'A', 'u', 'd', 'i', 't', 'L', 'o', 'g', 'g', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\r', 'l', 'o', 'g', 'g', 'e', 'r', +'C', 'o', 'n', 'f', 'i', 'g', 's', '\032', '\203', '\001', '\n', '\021', 'A', 'u', 'd', 'i', 't', 'L', 'o', 'g', 'g', 'e', 'r', 'C', 'o', +'n', 'f', 'i', 'g', '\022', 'M', '\n', '\014', 'a', 'u', 'd', 'i', 't', '_', 'l', 'o', 'g', 'g', 'e', 'r', '\030', '\001', ' ', '\001', '(', +'\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', +'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\013', 'a', 'u', 'd', +'i', 't', 'L', 'o', 'g', 'g', 'e', 'r', '\022', '\037', '\n', '\013', 'i', 's', '_', 'o', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\030', '\002', +' ', '\001', '(', '\010', 'R', '\n', 'i', 's', 'O', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\"', 'L', '\n', '\016', 'A', 'u', 'd', 'i', 't', +'C', 'o', 'n', 'd', 'i', 't', 'i', 'o', 'n', '\022', '\010', '\n', '\004', 'N', 'O', 'N', 'E', '\020', '\000', '\022', '\013', '\n', '\007', 'O', 'N', +'_', 'D', 'E', 'N', 'Y', '\020', '\001', '\022', '\014', '\n', '\010', 'O', 'N', '_', 'A', 'L', 'L', 'O', 'W', '\020', '\002', '\022', '\025', '\n', '\021', +'O', 'N', '_', 'D', 'E', 'N', 'Y', '_', 'A', 'N', 'D', '_', 'A', 'L', 'L', 'O', 'W', '\020', '\003', '\032', 'Y', '\n', '\r', 'P', 'o', +'l', 'i', 'c', 'i', 'e', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', +'\003', 'k', 'e', 'y', '\022', '2', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'o', 'l', 'i', 'c', 'y', 'R', +'\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', '\"', '&', '\n', '\006', 'A', 'c', 't', 'i', 'o', 'n', '\022', '\t', '\n', '\005', 'A', +'L', 'L', 'O', 'W', '\020', '\000', '\022', '\010', '\n', '\004', 'D', 'E', 'N', 'Y', '\020', '\001', '\022', '\007', '\n', '\003', 'L', 'O', 'G', '\020', '\002', +':', ' ', '\232', '\305', '\210', '\036', '\033', '\n', '\031', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', +'c', '.', 'v', '2', '.', 'R', 'B', 'A', 'C', '\"', '\223', '\003', '\n', '\006', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'L', '\n', '\013', 'p', +'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', +'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\013', 'p', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 's', '\022', 'I', +'\n', '\n', 'p', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', +'l', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\n', 'p', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', 's', '\022', 'Z', +'\n', '\t', 'c', 'o', 'n', 'd', 'i', 't', 'i', 'o', 'n', '\030', '\003', ' ', '\001', '(', '\013', '2', '\036', '.', 'g', 'o', 'o', 'g', 'l', +'e', '.', 'a', 'p', 'i', '.', 'e', 'x', 'p', 'r', '.', 'v', '1', 'a', 'l', 'p', 'h', 'a', '1', '.', 'E', 'x', 'p', 'r', 'B', +'\034', '\362', '\230', '\376', '\217', '\005', '\026', '\022', '\024', 'e', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', '_', 's', 'p', 'e', 'c', 'i', +'f', 'i', 'e', 'r', 'R', '\t', 'c', 'o', 'n', 'd', 'i', 't', 'i', 'o', 'n', '\022', 'p', '\n', '\021', 'c', 'h', 'e', 'c', 'k', 'e', +'d', '_', 'c', 'o', 'n', 'd', 'i', 't', 'i', 'o', 'n', '\030', '\004', ' ', '\001', '(', '\013', '2', '%', '.', 'g', 'o', 'o', 'g', 'l', +'e', '.', 'a', 'p', 'i', '.', 'e', 'x', 'p', 'r', '.', 'v', '1', 'a', 'l', 'p', 'h', 'a', '1', '.', 'C', 'h', 'e', 'c', 'k', +'e', 'd', 'E', 'x', 'p', 'r', 'B', '\034', '\362', '\230', '\376', '\217', '\005', '\026', '\022', '\024', 'e', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', +'n', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'R', '\020', 'c', 'h', 'e', 'c', 'k', 'e', 'd', 'C', 'o', 'n', 'd', 'i', +'t', 'i', 'o', 'n', ':', '\"', '\232', '\305', '\210', '\036', '\035', '\n', '\033', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'r', 'b', 'a', 'c', '.', 'v', '2', '.', 'P', 'o', 'l', 'i', 'c', 'y', '\"', '\332', '\007', '\n', '\n', 'P', 'e', 'r', 'm', 'i', +'s', 's', 'i', 'o', 'n', '\022', 'C', '\n', '\t', 'a', 'n', 'd', '_', 'r', 'u', 'l', 'e', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', +'$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'e', +'r', 'm', 'i', 's', 's', 'i', 'o', 'n', '.', 'S', 'e', 't', 'H', '\000', 'R', '\010', 'a', 'n', 'd', 'R', 'u', 'l', 'e', 's', '\022', +'A', '\n', '\010', 'o', 'r', '_', 'r', 'u', 'l', 'e', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', +'n', '.', 'S', 'e', 't', 'H', '\000', 'R', '\007', 'o', 'r', 'R', 'u', 'l', 'e', 's', '\022', '\033', '\n', '\003', 'a', 'n', 'y', '\030', '\003', +' ', '\001', '(', '\010', 'B', '\007', '\372', 'B', '\004', 'j', '\002', '\010', '\001', 'H', '\000', 'R', '\003', 'a', 'n', 'y', '\022', '>', '\n', '\006', 'h', +'e', 'a', 'd', 'e', 'r', '\030', '\004', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', +'\000', 'R', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\022', '?', '\n', '\010', 'u', 'r', 'l', '_', 'p', 'a', 't', 'h', '\030', '\n', ' ', '\001', +'(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', +'3', '.', 'P', 'a', 't', 'h', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\007', 'u', 'r', 'l', 'P', 'a', 't', 'h', '\022', +'H', '\n', '\016', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', '_', 'i', 'p', '\030', '\005', ' ', '\001', '(', '\013', '2', '\037', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'i', 'd', +'r', 'R', 'a', 'n', 'g', 'e', 'H', '\000', 'R', '\r', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'I', 'p', '\022', '6', +'\n', '\020', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', '_', 'p', 'o', 'r', 't', '\030', '\006', ' ', '\001', '(', '\r', 'B', +'\t', '\372', 'B', '\006', '*', '\004', '\030', '\377', '\377', '\003', 'H', '\000', 'R', '\017', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', +'P', 'o', 'r', 't', '\022', 'Q', '\n', '\026', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', '_', 'p', 'o', 'r', 't', '_', +'r', 'a', 'n', 'g', 'e', '\030', '\013', ' ', '\001', '(', '\013', '2', '\031', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', +'v', '3', '.', 'I', 'n', 't', '3', '2', 'R', 'a', 'n', 'g', 'e', 'H', '\000', 'R', '\024', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', +'i', 'o', 'n', 'P', 'o', 'r', 't', 'R', 'a', 'n', 'g', 'e', '\022', 'D', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', +'\007', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', +'r', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\010', 'm', +'e', 't', 'a', 'd', 'a', 't', 'a', '\022', '=', '\n', '\010', 'n', 'o', 't', '_', 'r', 'u', 'l', 'e', '\030', '\010', ' ', '\001', '(', '\013', +'2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', +'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 'H', '\000', 'R', '\007', 'n', 'o', 't', 'R', 'u', 'l', 'e', '\022', 'Z', '\n', '\025', 'r', +'e', 'q', 'u', 'e', 's', 't', 'e', 'd', '_', 's', 'e', 'r', 'v', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\t', ' ', '\001', '(', +'\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', +'.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\023', 'r', 'e', 'q', 'u', 'e', 's', 't', +'e', 'd', 'S', 'e', 'r', 'v', 'e', 'r', 'N', 'a', 'm', 'e', '\022', 'F', '\n', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\014', +' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', +'R', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\032', 's', '\n', '\003', 'S', 'e', 't', '\022', '@', '\n', '\005', 'r', 'u', 'l', 'e', 's', +'\030', '\001', ' ', '\003', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', +'c', '.', 'v', '3', '.', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', +'R', '\005', 'r', 'u', 'l', 'e', 's', ':', '*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '2', '.', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', '.', 'S', 'e', +'t', ':', '&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', +'a', 'c', '.', 'v', '2', '.', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 'B', '\013', '\n', '\004', 'r', 'u', 'l', 'e', '\022', +'\003', '\370', 'B', '\001', '\"', '\353', '\010', '\n', '\t', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', '\022', '>', '\n', '\007', 'a', 'n', 'd', +'_', 'i', 'd', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', '.', 'S', 'e', 't', 'H', '\000', 'R', +'\006', 'a', 'n', 'd', 'I', 'd', 's', '\022', '<', '\n', '\006', 'o', 'r', '_', 'i', 'd', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '#', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'r', 'i', +'n', 'c', 'i', 'p', 'a', 'l', '.', 'S', 'e', 't', 'H', '\000', 'R', '\005', 'o', 'r', 'I', 'd', 's', '\022', '\033', '\n', '\003', 'a', 'n', +'y', '\030', '\003', ' ', '\001', '(', '\010', 'B', '\007', '\372', 'B', '\004', 'j', '\002', '\010', '\001', 'H', '\000', 'R', '\003', 'a', 'n', 'y', '\022', 'U', +'\n', '\r', 'a', 'u', 't', 'h', 'e', 'n', 't', 'i', 'c', 'a', 't', 'e', 'd', '\030', '\004', ' ', '\001', '(', '\013', '2', '-', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'r', 'i', 'n', 'c', +'i', 'p', 'a', 'l', '.', 'A', 'u', 't', 'h', 'e', 'n', 't', 'i', 'c', 'a', 't', 'e', 'd', 'H', '\000', 'R', '\r', 'a', 'u', 't', +'h', 'e', 'n', 't', 'i', 'c', 'a', 't', 'e', 'd', '\022', 'K', '\n', '\t', 's', 'o', 'u', 'r', 'c', 'e', '_', 'i', 'p', '\030', '\005', +' ', '\001', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '.', 'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', +'H', '\000', 'R', '\010', 's', 'o', 'u', 'r', 'c', 'e', 'I', 'p', '\022', 'K', '\n', '\020', 'd', 'i', 'r', 'e', 'c', 't', '_', 'r', 'e', +'m', 'o', 't', 'e', '_', 'i', 'p', '\030', '\n', ' ', '\001', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 'H', '\000', 'R', '\016', +'d', 'i', 'r', 'e', 'c', 't', 'R', 'e', 'm', 'o', 't', 'e', 'I', 'p', '\022', '>', '\n', '\t', 'r', 'e', 'm', 'o', 't', 'e', '_', +'i', 'p', '\030', '\013', ' ', '\001', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 'H', '\000', 'R', '\010', 'r', 'e', 'm', 'o', 't', +'e', 'I', 'p', '\022', '>', '\n', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\006', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', +'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\022', '?', '\n', '\010', 'u', 'r', 'l', '_', +'p', 'a', 't', 'h', '\030', '\t', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', +'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'P', 'a', 't', 'h', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\007', +'u', 'r', 'l', 'P', 'a', 't', 'h', '\022', 'D', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\007', ' ', '\001', '(', '\013', +'2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', +'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', +'t', 'a', '\022', 'N', '\n', '\014', 'f', 'i', 'l', 't', 'e', 'r', '_', 's', 't', 'a', 't', 'e', '\030', '\014', ' ', '\001', '(', '\013', '2', +')', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'F', +'i', 'l', 't', 'e', 'r', 'S', 't', 'a', 't', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\013', 'f', 'i', 'l', 't', +'e', 'r', 'S', 't', 'a', 't', 'e', '\022', '8', '\n', '\006', 'n', 'o', 't', '_', 'i', 'd', '\030', '\010', ' ', '\001', '(', '\013', '2', '\037', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'r', 'i', +'n', 'c', 'i', 'p', 'a', 'l', 'H', '\000', 'R', '\005', 'n', 'o', 't', 'I', 'd', '\032', 'm', '\n', '\003', 'S', 'e', 't', '\022', ';', '\n', +'\003', 'i', 'd', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', 'B', '\010', '\372', 'B', '\005', '\222', '\001', +'\002', '\010', '\001', 'R', '\003', 'i', 'd', 's', ':', ')', '\232', '\305', '\210', '\036', '$', '\n', '\"', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '2', '.', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', '.', 'S', 'e', +'t', '\032', '\227', '\001', '\n', '\r', 'A', 'u', 't', 'h', 'e', 'n', 't', 'i', 'c', 'a', 't', 'e', 'd', '\022', 'K', '\n', '\016', 'p', 'r', +'i', 'n', 'c', 'i', 'p', 'a', 'l', '_', 'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', +'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', +'a', 't', 'c', 'h', 'e', 'r', 'R', '\r', 'p', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', 'N', 'a', 'm', 'e', ':', '3', '\232', '\305', +'\210', '\036', '.', '\n', ',', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '2', +'.', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', '.', 'A', 'u', 't', 'h', 'e', 'n', 't', 'i', 'c', 'a', 't', 'e', 'd', 'J', +'\004', '\010', '\001', '\020', '\002', ':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '2', '.', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', 'B', '\021', '\n', '\n', 'i', 'd', +'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', '`', '\n', '\006', 'A', 'c', 't', 'i', 'o', 'n', '\022', '\033', +'\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', +'m', 'e', '\022', '9', '\n', '\006', 'a', 'c', 't', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\016', '2', '!', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', '.', 'A', 'c', 't', +'i', 'o', 'n', 'R', '\006', 'a', 'c', 't', 'i', 'o', 'n', 'B', '}', '\n', '\"', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', +'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', 'B', +'\t', 'R', 'b', 'a', 'c', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'B', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', +'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', +'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'b', 'a', 'c', '/', 'v', '3', ';', 'r', +'b', 'a', 'c', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[16] = { + &envoy_config_core_v3_address_proto_upbdefinit, + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_config_route_v3_route_components_proto_upbdefinit, + &envoy_type_matcher_v3_filter_state_proto_upbdefinit, + &envoy_type_matcher_v3_metadata_proto_upbdefinit, + &envoy_type_matcher_v3_path_proto_upbdefinit, + &envoy_type_matcher_v3_string_proto_upbdefinit, + &envoy_type_v3_range_proto_upbdefinit, + &google_api_expr_v1alpha1_checked_proto_upbdefinit, + &google_api_expr_v1alpha1_syntax_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_migrate_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_rbac_v3_rbac_proto_upbdefinit = { + deps, + &envoy_config_rbac_v3_rbac_proto_upb_file_layout, + "envoy/config/rbac/v3/rbac.proto", + UPB_STRINGVIEW_INIT(descriptor, 4221) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h new file mode 100644 index 00000000000..d6d70374459 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h @@ -0,0 +1,85 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/rbac/v3/rbac.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPBDEFS_H_ +#define ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_config_rbac_v3_rbac_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_RBAC_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.RBAC"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_RBAC_AuditLoggingOptions_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.RBAC.AuditLoggingOptions"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.RBAC.AuditLoggingOptions.AuditLoggerConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_RBAC_PoliciesEntry_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.RBAC.PoliciesEntry"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Policy_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Policy"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Permission_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Permission"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Permission_Set_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Permission.Set"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Principal_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Principal"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Principal_Set_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Principal.Set"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Principal_Authenticated_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Principal.Authenticated"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Action_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Action"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c similarity index 78% rename from src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c index e01bc3c00d9..df1ac0bf2fe 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/route/v3/route.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/route/v3/route.upbdefs.h" -#include "envoy/config/route/v3/route.upb.h" +#include "envoy/config/route/v3/route.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_core_v3_config_source_proto_upbdefinit; @@ -18,7 +17,7 @@ extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[2074] = {'\n', '!', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 'r', +static const char descriptor[2134] = {'\n', '!', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 'r', 'o', 'u', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', 'v', 'o', 'y', '/', 'c', @@ -31,7 +30,7 @@ static const char descriptor[2074] = {'\n', '!', 'e', 'n', 'v', 'o', 'y', '/', ' 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', -'r', 'o', 't', 'o', '\"', '\315', '\013', '\n', '\022', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', +'r', 'o', 't', 'o', '\"', '\211', '\014', '\n', '\022', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'G', '\n', '\r', 'v', 'i', 'r', 't', 'u', 'a', 'l', '_', 'h', 'o', 's', 't', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'V', 'i', 'r', 't', 'u', @@ -85,22 +84,25 @@ static const char descriptor[2074] = {'\n', '!', 'e', 'n', 'v', 'o', 'y', '/', ' 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'T', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', 'R', '\024', 't', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', -'r', 'C', 'o', 'n', 'f', 'i', 'g', '\032', ']', '\n', '\031', 'T', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', -'C', 'o', 'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', -'\003', 'k', 'e', 'y', '\022', '*', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', -'8', '\001', ':', '&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'R', -'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\"', 's', '\n', '\004', 'V', 'h', 'd', 's', -'\022', 'Q', '\n', '\r', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', 'r', 'c', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\"', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', -'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\014', 'c', 'o', 'n', 'f', -'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', ':', '\030', '\232', '\305', '\210', '\036', '\023', '\n', '\021', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', -'i', '.', 'v', '2', '.', 'V', 'h', 'd', 's', 'B', '\201', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', -'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', 'B', -'\n', 'R', 'o', 'u', 't', 'e', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'D', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', -'/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', -'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', -';', 'r', 'o', 'u', 't', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', ':', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\021', ' ', '\001', '(', '\013', +'2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'M', +'e', 't', 'a', 'd', 'a', 't', 'a', 'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\032', ']', '\n', '\031', 'T', 'y', 'p', 'e', +'d', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', +'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '*', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', +' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', +'y', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', ':', '&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', +'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', +'o', 'n', '\"', 's', '\n', '\004', 'V', 'h', 'd', 's', '\022', 'Q', '\n', '\r', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', 'r', +'c', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\010', '\372', 'B', '\005', '\212', +'\001', '\002', '\020', '\001', 'R', '\014', 'c', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', ':', '\030', '\232', '\305', '\210', '\036', '\023', +'\n', '\021', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'V', 'h', 'd', 's', 'B', '\201', '\001', '\n', '#', 'i', +'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', 'B', '\n', 'R', 'o', 'u', 't', 'e', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'D', +'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', +'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', +'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', ';', 'r', 'o', 'u', 't', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', +'\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', }; static _upb_DefPool_Init *deps[9] = { @@ -119,5 +121,5 @@ _upb_DefPool_Init envoy_config_route_v3_route_proto_upbdefinit = { deps, &envoy_config_route_v3_route_proto_upb_file_layout, "envoy/config/route/v3/route.proto", - UPB_STRINGVIEW_INIT(descriptor, 2074) + UPB_STRINGVIEW_INIT(descriptor, 2134) }; diff --git a/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h similarity index 92% rename from src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h index b10c83d8ad2..d09e43aeb08 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/route/v3/route.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_ROUTE_V3_ROUTE_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c new file mode 100644 index 00000000000..ba5da3f3326 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c @@ -0,0 +1,984 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/route/v3/route_components.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/route/v3/route_components.upbdefs.h" +#include "envoy/config/route/v3/route_components.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_proxy_protocol_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_matcher_v3_metadata_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_matcher_v3_regex_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_metadata_v3_metadata_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_tracing_v3_custom_tag_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_v3_range_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; +extern _upb_DefPool_Init xds_type_matcher_v3_matcher_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[23013] = {'\n', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 'r', +'o', 'u', 't', 'e', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '\032', '\037', 'e', 'n', 'v', 'o', +'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', 'o', +'t', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', +'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', ')', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', +'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'p', 'r', 'o', 'x', 'y', '_', 'p', 'r', 'o', 't', 'o', 'c', +'o', 'l', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', +'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'e', 'n', +'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'r', 'e', 'g', 'e', 'x', +'.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', +'r', '/', 'v', '3', '/', 's', 't', 'r', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '%', 'e', 'n', 'v', 'o', 'y', '/', +'t', 'y', 'p', 'e', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '/', 'v', '3', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', +'.', 'p', 'r', 'o', 't', 'o', '\032', '&', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 't', 'r', 'a', 'c', 'i', 'n', +'g', '/', 'v', '3', '/', 'c', 'u', 's', 't', 'o', 'm', '_', 't', 'a', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', 'n', +'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', +'\032', '\031', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'r', 'a', 'n', 'g', 'e', '.', 'p', 'r', 'o', +'t', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', +'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', +'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'x', 'd', 's', '/', 'a', +'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', +'o', '\032', '!', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'a', +'t', 'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', +'t', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', +'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', +'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', +'t', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', +'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', +'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\225', '\017', '\n', +'\013', 'V', 'i', 'r', 't', 'u', 'a', 'l', 'H', 'o', 's', 't', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', +'\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', ',', '\n', '\007', 'd', 'o', 'm', 'a', 'i', +'n', 's', '\030', '\002', ' ', '\003', '(', '\t', 'B', '\022', '\372', 'B', '\017', '\222', '\001', '\014', '\010', '\001', '\"', '\010', 'r', '\006', '\300', '\001', '\002', +'\310', '\001', '\000', 'R', '\007', 'd', 'o', 'm', 'a', 'i', 'n', 's', '\022', '4', '\n', '\006', 'r', 'o', 'u', 't', 'e', 's', '\030', '\003', ' ', +'\003', '(', '\013', '2', '\034', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', +'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'R', '\006', 'r', 'o', 'u', 't', 'e', 's', '\022', '@', '\n', '\007', 'm', 'a', 't', 'c', 'h', +'e', 'r', '\030', '\025', ' ', '\001', '(', '\013', '2', '\034', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', +'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'R', '\007', +'m', 'a', 't', 'c', 'h', 'e', 'r', '\022', '`', '\n', '\013', 'r', 'e', 'q', 'u', 'i', 'r', 'e', '_', 't', 'l', 's', '\030', '\004', ' ', +'\001', '(', '\016', '2', '5', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', +'v', '3', '.', 'V', 'i', 'r', 't', 'u', 'a', 'l', 'H', 'o', 's', 't', '.', 'T', 'l', 's', 'R', 'e', 'q', 'u', 'i', 'r', 'e', +'m', 'e', 'n', 't', 'T', 'y', 'p', 'e', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\n', 'r', 'e', 'q', 'u', 'i', +'r', 'e', 'T', 'l', 's', '\022', 'P', '\n', '\020', 'v', 'i', 'r', 't', 'u', 'a', 'l', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', +'\030', '\005', ' ', '\003', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', +'t', 'e', '.', 'v', '3', '.', 'V', 'i', 'r', 't', 'u', 'a', 'l', 'C', 'l', 'u', 's', 't', 'e', 'r', 'R', '\017', 'v', 'i', 'r', +'t', 'u', 'a', 'l', 'C', 'l', 'u', 's', 't', 'e', 'r', 's', '\022', 'A', '\n', '\013', 'r', 'a', 't', 'e', '_', 'l', 'i', 'm', 'i', +'t', 's', '\030', '\006', ' ', '\003', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', +'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 'R', '\n', 'r', 'a', 't', 'e', 'L', 'i', +'m', 'i', 't', 's', '\022', 'g', '\n', '\026', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', +'o', '_', 'a', 'd', 'd', '\030', '\007', ' ', '\003', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', +'o', 'n', 'B', '\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', '\350', '\007', 'R', '\023', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', +'d', 'e', 'r', 's', 'T', 'o', 'A', 'd', 'd', '\022', 'M', '\n', '\031', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', +'e', 'r', 's', '_', 't', 'o', '_', 'r', 'e', 'm', 'o', 'v', 'e', '\030', '\r', ' ', '\003', '(', '\t', 'B', '\022', '\372', 'B', '\017', '\222', +'\001', '\014', '\"', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\026', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', +'a', 'd', 'e', 'r', 's', 'T', 'o', 'R', 'e', 'm', 'o', 'v', 'e', '\022', 'i', '\n', '\027', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', +'_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'a', 'd', 'd', '\030', '\n', ' ', '\003', '(', '\013', '2', '\'', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', +'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'B', '\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', '\350', '\007', 'R', '\024', +'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'A', 'd', 'd', '\022', 'O', '\n', '\032', 'r', +'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'r', 'e', 'm', 'o', 'v', 'e', +'\030', '\013', ' ', '\003', '(', '\t', 'B', '\022', '\372', 'B', '\017', '\222', '\001', '\014', '\"', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', '\310', '\001', +'\000', 'R', '\027', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'R', 'e', 'm', 'o', 'v', +'e', '\022', 'B', '\n', '\004', 'c', 'o', 'r', 's', '\030', '\010', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'C', 'o', 'r', 's', 'P', 'o', 'l', 'i', 'c', 'y', +'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\004', 'c', 'o', 'r', 's', '\022', 's', '\n', '\027', 't', 'y', +'p', 'e', 'd', '_', 'p', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\017', ' ', '\003', +'(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', +'3', '.', 'V', 'i', 'r', 't', 'u', 'a', 'l', 'H', 'o', 's', 't', '.', 'T', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', +'t', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', 'R', '\024', 't', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', +'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'A', '\n', '\035', 'i', 'n', 'c', 'l', 'u', 'd', 'e', '_', 'r', 'e', +'q', 'u', 'e', 's', 't', '_', 'a', 't', 't', 'e', 'm', 'p', 't', '_', 'c', 'o', 'u', 'n', 't', '\030', '\016', ' ', '\001', '(', '\010', +'R', '\032', 'i', 'n', 'c', 'l', 'u', 'd', 'e', 'R', 'e', 'q', 'u', 'e', 's', 't', 'A', 't', 't', 'e', 'm', 'p', 't', 'C', 'o', +'u', 'n', 't', '\022', 'H', '\n', '!', 'i', 'n', 'c', 'l', 'u', 'd', 'e', '_', 'a', 't', 't', 'e', 'm', 'p', 't', '_', 'c', 'o', +'u', 'n', 't', '_', 'i', 'n', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '\030', '\023', ' ', '\001', '(', '\010', 'R', '\035', 'i', 'n', +'c', 'l', 'u', 'd', 'e', 'A', 't', 't', 'e', 'm', 'p', 't', 'C', 'o', 'u', 'n', 't', 'I', 'n', 'R', 'e', 's', 'p', 'o', 'n', +'s', 'e', '\022', 'E', '\n', '\014', 'r', 'e', 't', 'r', 'y', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\020', ' ', '\001', '(', '\013', '2', +'\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', +'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\013', 'r', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'O', +'\n', '\031', 'r', 'e', 't', 'r', 'y', '_', 'p', 'o', 'l', 'i', 'c', 'y', '_', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', +'i', 'g', '\030', '\024', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', +'f', '.', 'A', 'n', 'y', 'R', '\026', 'r', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', 'T', 'y', 'p', 'e', 'd', 'C', 'o', +'n', 'f', 'i', 'g', '\022', 'E', '\n', '\014', 'h', 'e', 'd', 'g', 'e', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\021', ' ', '\001', '(', +'\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', +'.', 'H', 'e', 'd', 'g', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\013', 'h', 'e', 'd', 'g', 'e', 'P', 'o', 'l', 'i', 'c', 'y', +'\022', 'D', '\n', '\037', 'i', 'n', 'c', 'l', 'u', 'd', 'e', '_', 'i', 's', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '_', 'r', 'e', +'t', 'r', 'y', '_', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\027', ' ', '\001', '(', '\010', 'R', '\033', 'i', 'n', 'c', 'l', 'u', 'd', 'e', +'I', 's', 'T', 'i', 'm', 'e', 'o', 'u', 't', 'R', 'e', 't', 'r', 'y', 'H', 'e', 'a', 'd', 'e', 'r', '\022', '`', '\n', '\036', 'p', +'e', 'r', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'b', 'u', 'f', 'f', 'e', 'r', '_', 'l', 'i', 'm', 'i', 't', '_', 'b', +'y', 't', 'e', 's', '\030', '\022', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\032', 'p', 'e', 'r', 'R', 'e', 'q', 'u', 'e', +'s', 't', 'B', 'u', 'f', 'f', 'e', 'r', 'L', 'i', 'm', 'i', 't', 'B', 'y', 't', 'e', 's', '\022', 'n', '\n', '\027', 'r', 'e', 'q', +'u', 'e', 's', 't', '_', 'm', 'i', 'r', 'r', 'o', 'r', '_', 'p', 'o', 'l', 'i', 'c', 'i', 'e', 's', '\030', '\026', ' ', '\003', '(', +'\013', '2', '6', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', +'.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'M', 'i', 'r', 'r', 'o', +'r', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\025', 'r', 'e', 'q', 'u', 'e', 's', 't', 'M', 'i', 'r', 'r', 'o', 'r', 'P', 'o', 'l', +'i', 'c', 'i', 'e', 's', '\022', ':', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\030', ' ', '\001', '(', '\013', '2', '\036', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'M', 'e', 't', +'a', 'd', 'a', 't', 'a', 'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\032', ']', '\n', '\031', 'T', 'y', 'p', 'e', 'd', 'P', +'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', +'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '*', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', +'(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', +'\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', '\"', ':', '\n', '\022', 'T', 'l', 's', 'R', 'e', 'q', 'u', 'i', 'r', 'e', 'm', +'e', 'n', 't', 'T', 'y', 'p', 'e', '\022', '\010', '\n', '\004', 'N', 'O', 'N', 'E', '\020', '\000', '\022', '\021', '\n', '\r', 'E', 'X', 'T', 'E', +'R', 'N', 'A', 'L', '_', 'O', 'N', 'L', 'Y', '\020', '\001', '\022', '\007', '\n', '\003', 'A', 'L', 'L', '\020', '\002', ':', '%', '\232', '\305', '\210', +'\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'V', 'i', +'r', 't', 'u', 'a', 'l', 'H', 'o', 's', 't', 'J', '\004', '\010', '\t', '\020', '\n', 'J', '\004', '\010', '\014', '\020', '\r', 'R', '\021', 'p', 'e', +'r', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\"', 'd', '\n', '\014', 'F', 'i', 'l', 't', 'e', 'r', +'A', 'c', 't', 'i', 'o', 'n', '\022', ',', '\n', '\006', 'a', 'c', 't', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '\024', '.', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\006', 'a', 'c', 't', 'i', +'o', 'n', ':', '&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', +'o', 'u', 't', 'e', '.', 'F', 'i', 'l', 't', 'e', 'r', 'A', 'c', 't', 'i', 'o', 'n', '\"', 'A', '\n', '\t', 'R', 'o', 'u', 't', +'e', 'L', 'i', 's', 't', '\022', '4', '\n', '\006', 'r', 'o', 'u', 't', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\034', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', +'e', 'R', '\006', 'r', 'o', 'u', 't', 'e', 's', '\"', '\257', '\013', '\n', '\005', 'R', 'o', 'u', 't', 'e', '\022', '\022', '\n', '\004', 'n', 'a', +'m', 'e', '\030', '\016', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'A', '\n', '\005', 'm', 'a', 't', 'c', 'h', '\030', '\001', +' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', +'.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', +'\005', 'm', 'a', 't', 'c', 'h', '\022', ':', '\n', '\005', 'r', 'o', 'u', 't', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', +'e', 'A', 'c', 't', 'i', 'o', 'n', 'H', '\000', 'R', '\005', 'r', 'o', 'u', 't', 'e', '\022', 'C', '\n', '\010', 'r', 'e', 'd', 'i', 'r', +'e', 'c', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'A', 'c', 't', 'i', 'o', 'n', 'H', '\000', +'R', '\010', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\022', 'V', '\n', '\017', 'd', 'i', 'r', 'e', 'c', 't', '_', 'r', 'e', 's', 'p', +'o', 'n', 's', 'e', '\030', '\007', ' ', '\001', '(', '\013', '2', '+', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'D', 'i', 'r', 'e', 'c', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'A', +'c', 't', 'i', 'o', 'n', 'H', '\000', 'R', '\016', 'd', 'i', 'r', 'e', 'c', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', '\022', 'J', +'\n', '\r', 'f', 'i', 'l', 't', 'e', 'r', '_', 'a', 'c', 't', 'i', 'o', 'n', '\030', '\021', ' ', '\001', '(', '\013', '2', '#', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'F', 'i', 'l', 't', +'e', 'r', 'A', 'c', 't', 'i', 'o', 'n', 'H', '\000', 'R', '\014', 'f', 'i', 'l', 't', 'e', 'r', 'A', 'c', 't', 'i', 'o', 'n', '\022', +'`', '\n', '\025', 'n', 'o', 'n', '_', 'f', 'o', 'r', 'w', 'a', 'r', 'd', 'i', 'n', 'g', '_', 'a', 'c', 't', 'i', 'o', 'n', '\030', +'\022', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', +'e', '.', 'v', '3', '.', 'N', 'o', 'n', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 'i', 'n', 'g', 'A', 'c', 't', 'i', 'o', 'n', 'H', +'\000', 'R', '\023', 'n', 'o', 'n', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 'i', 'n', 'g', 'A', 'c', 't', 'i', 'o', 'n', '\022', ':', '\n', +'\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\004', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'R', '\010', 'm', +'e', 't', 'a', 'd', 'a', 't', 'a', '\022', '>', '\n', '\t', 'd', 'e', 'c', 'o', 'r', 'a', 't', 'o', 'r', '\030', '\005', ' ', '\001', '(', +'\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', +'.', 'D', 'e', 'c', 'o', 'r', 'a', 't', 'o', 'r', 'R', '\t', 'd', 'e', 'c', 'o', 'r', 'a', 't', 'o', 'r', '\022', 'm', '\n', '\027', +'t', 'y', 'p', 'e', 'd', '_', 'p', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\r', +' ', '\003', '(', '\013', '2', '6', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', +'.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', '.', 'T', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 'C', +'o', 'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', 'R', '\024', 't', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', +'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'g', '\n', '\026', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', +'s', '_', 't', 'o', '_', 'a', 'd', 'd', '\030', '\t', ' ', '\003', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', +'p', 't', 'i', 'o', 'n', 'B', '\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', '\350', '\007', 'R', '\023', 'r', 'e', 'q', 'u', 'e', 's', 't', +'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'A', 'd', 'd', '\022', 'M', '\n', '\031', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', +'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'r', 'e', 'm', 'o', 'v', 'e', '\030', '\014', ' ', '\003', '(', '\t', 'B', '\022', '\372', +'B', '\017', '\222', '\001', '\014', '\"', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\026', 'r', 'e', 'q', 'u', 'e', 's', +'t', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'R', 'e', 'm', 'o', 'v', 'e', '\022', 'i', '\n', '\027', 'r', 'e', 's', 'p', 'o', +'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'a', 'd', 'd', '\030', '\n', ' ', '\003', '(', '\013', '2', +'\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', +'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'B', '\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', '\350', +'\007', 'R', '\024', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'A', 'd', 'd', '\022', 'O', +'\n', '\032', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'r', 'e', 'm', +'o', 'v', 'e', '\030', '\013', ' ', '\003', '(', '\t', 'B', '\022', '\372', 'B', '\017', '\222', '\001', '\014', '\"', '\n', 'r', '\010', '\020', '\001', '\300', '\001', +'\001', '\310', '\001', '\000', 'R', '\027', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'R', 'e', +'m', 'o', 'v', 'e', '\022', '8', '\n', '\007', 't', 'r', 'a', 'c', 'i', 'n', 'g', '\030', '\017', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'T', 'r', 'a', 'c', +'i', 'n', 'g', 'R', '\007', 't', 'r', 'a', 'c', 'i', 'n', 'g', '\022', '`', '\n', '\036', 'p', 'e', 'r', '_', 'r', 'e', 'q', 'u', 'e', +'s', 't', '_', 'b', 'u', 'f', 'f', 'e', 'r', '_', 'l', 'i', 'm', 'i', 't', '_', 'b', 'y', 't', 'e', 's', '\030', '\020', ' ', '\001', +'(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', +'3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\032', 'p', 'e', 'r', 'R', 'e', 'q', 'u', 'e', 's', 't', 'B', 'u', 'f', 'f', 'e', 'r', +'L', 'i', 'm', 'i', 't', 'B', 'y', 't', 'e', 's', '\022', '\037', '\n', '\013', 's', 't', 'a', 't', '_', 'p', 'r', 'e', 'f', 'i', 'x', +'\030', '\023', ' ', '\001', '(', '\t', 'R', '\n', 's', 't', 'a', 't', 'P', 'r', 'e', 'f', 'i', 'x', '\032', ']', '\n', '\031', 'T', 'y', 'p', +'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', +'\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '*', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', +'\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', +'n', 'y', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', ':', '\037', '\232', '\305', '\210', '\036', '\032', '\n', '\030', 'e', 'n', 'v', +'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'B', '\r', '\n', '\006', +'a', 'c', 't', 'i', 'o', 'n', '\022', '\003', '\370', 'B', '\001', 'J', '\004', '\010', '\006', '\020', '\007', 'J', '\004', '\010', '\010', '\020', '\t', 'R', '\021', +'p', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\"', '\363', '\n', '\n', '\017', 'W', 'e', 'i', +'g', 'h', 't', 'e', 'd', 'C', 'l', 'u', 's', 't', 'e', 'r', '\022', 'Z', '\n', '\010', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', '\030', +'\001', ' ', '\003', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', +'e', '.', 'v', '3', '.', 'W', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'l', 'u', 's', +'t', 'e', 'r', 'W', 'e', 'i', 'g', 'h', 't', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\010', 'c', 'l', 'u', 's', +'t', 'e', 'r', 's', '\022', 'L', '\n', '\014', 't', 'o', 't', 'a', 'l', '_', 'w', 'e', 'i', 'g', 'h', 't', '\030', '\003', ' ', '\001', '(', +'\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', +'2', 'V', 'a', 'l', 'u', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\013', 't', 'o', 't', 'a', +'l', 'W', 'e', 'i', 'g', 'h', 't', '\022', ',', '\n', '\022', 'r', 'u', 'n', 't', 'i', 'm', 'e', '_', 'k', 'e', 'y', '_', 'p', 'r', +'e', 'f', 'i', 'x', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\020', 'r', 'u', 'n', 't', 'i', 'm', 'e', 'K', 'e', 'y', 'P', 'r', 'e', +'f', 'i', 'x', '\022', '.', '\n', '\013', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\004', ' ', '\001', '(', '\t', 'B', +'\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', 'H', '\000', 'R', '\n', 'h', 'e', 'a', 'd', 'e', 'r', 'N', 'a', 'm', +'e', '\032', '\222', '\010', '\n', '\r', 'C', 'l', 'u', 's', 't', 'e', 'r', 'W', 'e', 'i', 'g', 'h', 't', '\022', '-', '\n', '\004', 'n', 'a', +'m', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\031', '\362', '\230', '\376', '\217', '\005', '\023', '\022', '\021', 'c', 'l', 'u', 's', 't', 'e', 'r', +'_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'K', '\n', '\016', 'c', 'l', 'u', 's', 't', +'e', 'r', '_', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\014', ' ', '\001', '(', '\t', 'B', '$', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', +'\310', '\001', '\000', '\362', '\230', '\376', '\217', '\005', '\023', '\022', '\021', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', +'i', 'e', 'r', 'R', '\r', 'c', 'l', 'u', 's', 't', 'e', 'r', 'H', 'e', 'a', 'd', 'e', 'r', '\022', '4', '\n', '\006', 'w', 'e', 'i', +'g', 'h', 't', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\006', 'w', 'e', 'i', 'g', 'h', 't', '\022', 'E', '\n', +'\016', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', +'a', 't', 'a', 'R', '\r', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', '\022', 'g', '\n', '\026', 'r', 'e', 'q', +'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'a', 'd', 'd', '\030', '\004', ' ', '\003', '(', '\013', +'2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', +'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'B', '\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', +'\350', '\007', 'R', '\023', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'A', 'd', 'd', '\022', 'K', +'\n', '\031', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'r', 'e', 'm', 'o', +'v', 'e', '\030', '\t', ' ', '\003', '(', '\t', 'B', '\020', '\372', 'B', '\r', '\222', '\001', '\n', '\"', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', +'\000', 'R', '\026', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'R', 'e', 'm', 'o', 'v', 'e', +'\022', 'i', '\n', '\027', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'a', +'d', 'd', '\030', '\005', ' ', '\003', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'B', +'\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', '\350', '\007', 'R', '\024', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', +'r', 's', 'T', 'o', 'A', 'd', 'd', '\022', 'M', '\n', '\032', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', +'r', 's', '_', 't', 'o', '_', 'r', 'e', 'm', 'o', 'v', 'e', '\030', '\006', ' ', '\003', '(', '\t', 'B', '\020', '\372', 'B', '\r', '\222', '\001', +'\n', '\"', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\027', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', +'e', 'r', 's', 'T', 'o', 'R', 'e', 'm', 'o', 'v', 'e', '\022', '\205', '\001', '\n', '\027', 't', 'y', 'p', 'e', 'd', '_', 'p', 'e', 'r', +'_', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\n', ' ', '\003', '(', '\013', '2', 'N', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'W', 'e', 'i', 'g', 'h', +'t', 'e', 'd', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'W', 'e', 'i', 'g', 'h', 't', '.', +'T', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', +'R', '\024', 't', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '?', '\n', +'\024', 'h', 'o', 's', 't', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '_', 'l', 'i', 't', 'e', 'r', 'a', 'l', '\030', '\013', ' ', '\001', +'(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\002', '\310', '\001', '\000', 'H', '\000', 'R', '\022', 'h', 'o', 's', 't', 'R', 'e', +'w', 'r', 'i', 't', 'e', 'L', 'i', 't', 'e', 'r', 'a', 'l', '\032', ']', '\n', '\031', 'T', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', +'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', +' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '*', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', +'\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\005', 'v', 'a', +'l', 'u', 'e', ':', '\002', '8', '\001', ':', '7', '\232', '\305', '\210', '\036', '2', '\n', '0', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', +'.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'W', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'C', 'l', 'u', 's', 't', 'e', 'r', +'.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'W', 'e', 'i', 'g', 'h', 't', 'B', '\030', '\n', '\026', 'h', 'o', 's', 't', '_', 'r', 'e', +'w', 'r', 'i', 't', 'e', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'J', '\004', '\010', '\007', '\020', '\010', 'J', '\004', '\010', '\010', +'\020', '\t', 'R', '\021', 'p', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', ':', ')', '\232', '\305', +'\210', '\036', '$', '\n', '\"', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'W', +'e', 'i', 'g', 'h', 't', 'e', 'd', 'C', 'l', 'u', 's', 't', 'e', 'r', 'B', '\030', '\n', '\026', 'r', 'a', 'n', 'd', 'o', 'm', '_', +'v', 'a', 'l', 'u', 'e', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\"', '\215', '\001', '\n', '\026', 'C', 'l', 'u', 's', 't', +'e', 'r', 'S', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'P', 'l', 'u', 'g', 'i', 'n', '\022', 'R', '\n', '\t', 'e', 'x', 't', 'e', +'n', 's', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', +'o', 'n', 'f', 'i', 'g', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\t', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', +'n', '\022', '\037', '\n', '\013', 'i', 's', '_', 'o', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\n', 'i', +'s', 'O', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\"', '\305', '\n', '\n', '\n', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', '\022', +'\030', '\n', '\006', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\001', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\006', 'p', 'r', 'e', 'f', 'i', 'x', +'\022', '\024', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\002', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\004', 'p', 'a', 't', 'h', '\022', 'N', '\n', +'\n', 's', 'a', 'f', 'e', '_', 'r', 'e', 'g', 'e', 'x', '\030', '\n', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', +'.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', +'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'H', '\000', 'R', '\t', 's', 'a', 'f', 'e', 'R', 'e', 'g', +'e', 'x', '\022', '[', '\n', '\017', 'c', 'o', 'n', 'n', 'e', 'c', 't', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\014', ' ', '\001', +'(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', +'3', '.', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'M', 'a', 't', 'c', 'h', +'e', 'r', 'H', '\000', 'R', '\016', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'K', '\n', '\025', 'p', +'a', 't', 'h', '_', 's', 'e', 'p', 'a', 'r', 'a', 't', 'e', 'd', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\016', ' ', '\001', '(', +'\t', 'B', '\025', '\372', 'B', '\022', 'r', '\020', '2', '\016', '^', '[', '^', '?', '#', ']', '+', '[', '^', '?', '#', '/', ']', '$', 'H', +'\000', 'R', '\023', 'p', 'a', 't', 'h', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'e', 'd', 'P', 'r', 'e', 'f', 'i', 'x', '\022', 'X', '\n', +'\021', 'p', 'a', 't', 'h', '_', 'm', 'a', 't', 'c', 'h', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\017', ' ', '\001', '(', '\013', '2', +'*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', +'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\017', 'p', 'a', 't', +'h', 'M', 'a', 't', 'c', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'A', '\n', '\016', 'c', 'a', 's', 'e', '_', 's', 'e', 'n', 's', +'i', 't', 'i', 'v', 'e', '\030', '\004', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', +'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\r', 'c', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', +'t', 'i', 'v', 'e', '\022', 'Y', '\n', '\020', 'r', 'u', 'n', 't', 'i', 'm', 'e', '_', 'f', 'r', 'a', 'c', 't', 'i', 'o', 'n', '\030', +'\t', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', +'.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', +'e', 'n', 't', 'R', '\017', 'r', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', '\022', '>', '\n', '\007', 'h', +'e', 'a', 'd', 'e', 'r', 's', '\030', '\006', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', +'R', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\022', 'W', '\n', '\020', 'q', 'u', 'e', 'r', 'y', '_', 'p', 'a', 'r', 'a', 'm', 'e', +'t', 'e', 'r', 's', '\030', '\007', ' ', '\003', '(', '\013', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'M', +'a', 't', 'c', 'h', 'e', 'r', 'R', '\017', 'q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '\022', 'K', +'\n', '\004', 'g', 'r', 'p', 'c', '\030', '\010', ' ', '\001', '(', '\013', '2', '7', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', '.', 'G', 'r', +'p', 'c', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\004', 'g', 'r', 'p', 'c', +'\022', 'Y', '\n', '\013', 't', 'l', 's', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '\030', '\013', ' ', '\001', '(', '\013', '2', '8', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', +'e', 'M', 'a', 't', 'c', 'h', '.', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', +'i', 'o', 'n', 's', 'R', '\n', 't', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', 'Q', '\n', '\020', 'd', 'y', 'n', 'a', 'm', +'i', 'c', '_', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\r', ' ', '\003', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', +'.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', +'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\017', 'd', 'y', 'n', 'a', 'm', 'i', 'c', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', '\032', +'S', '\n', '\025', 'G', 'r', 'p', 'c', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 's', ':', +':', '\232', '\305', '\210', '\036', '5', '\n', '3', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', +'e', '.', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', '.', 'G', 'r', 'p', 'c', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', +'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 's', '\032', '\311', '\001', '\n', '\026', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', +'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '8', '\n', '\t', 'p', 'r', 'e', 's', 'e', 'n', 't', 'e', 'd', '\030', +'\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', +'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\t', 'p', 'r', 'e', 's', 'e', 'n', 't', 'e', 'd', '\022', '8', '\n', '\t', 'v', 'a', +'l', 'i', 'd', 'a', 't', 'e', 'd', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\t', 'v', 'a', 'l', 'i', 'd', 'a', 't', +'e', 'd', ':', ';', '\232', '\305', '\210', '\036', '6', '\n', '4', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', +'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', '.', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', +'t', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 's', '\032', '\020', '\n', '\016', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'M', +'a', 't', 'c', 'h', 'e', 'r', ':', '$', '\232', '\305', '\210', '\036', '\037', '\n', '\035', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', +'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', 'B', '\025', '\n', '\016', 'p', 'a', +'t', 'h', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', 'J', '\004', '\010', '\005', '\020', '\006', 'J', '\004', +'\010', '\003', '\020', '\004', 'R', '\005', 'r', 'e', 'g', 'e', 'x', '\"', '\305', '\005', '\n', '\n', 'C', 'o', 'r', 's', 'P', 'o', 'l', 'i', 'c', +'y', '\022', '_', '\n', '\031', 'a', 'l', 'l', 'o', 'w', '_', 'o', 'r', 'i', 'g', 'i', 'n', '_', 's', 't', 'r', 'i', 'n', 'g', '_', +'m', 'a', 't', 'c', 'h', '\030', '\013', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', +'m', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', +'\026', 'a', 'l', 'l', 'o', 'w', 'O', 'r', 'i', 'g', 'i', 'n', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', '\022', '#', +'\n', '\r', 'a', 'l', 'l', 'o', 'w', '_', 'm', 'e', 't', 'h', 'o', 'd', 's', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\014', 'a', 'l', +'l', 'o', 'w', 'M', 'e', 't', 'h', 'o', 'd', 's', '\022', '#', '\n', '\r', 'a', 'l', 'l', 'o', 'w', '_', 'h', 'e', 'a', 'd', 'e', +'r', 's', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\014', 'a', 'l', 'l', 'o', 'w', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', '%', '\n', +'\016', 'e', 'x', 'p', 'o', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\004', ' ', '\001', '(', '\t', 'R', '\r', 'e', 'x', +'p', 'o', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', '\027', '\n', '\007', 'm', 'a', 'x', '_', 'a', 'g', 'e', '\030', '\005', ' ', +'\001', '(', '\t', 'R', '\006', 'm', 'a', 'x', 'A', 'g', 'e', '\022', 'G', '\n', '\021', 'a', 'l', 'l', 'o', 'w', '_', 'c', 'r', 'e', 'd', +'e', 'n', 't', 'i', 'a', 'l', 's', '\030', '\006', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\020', 'a', 'l', 'l', 'o', 'w', 'C', 'r', +'e', 'd', 'e', 'n', 't', 'i', 'a', 'l', 's', '\022', 'W', '\n', '\016', 'f', 'i', 'l', 't', 'e', 'r', '_', 'e', 'n', 'a', 'b', 'l', +'e', 'd', '\030', '\t', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', +'e', 'r', 'c', 'e', 'n', 't', 'H', '\000', 'R', '\r', 'f', 'i', 'l', 't', 'e', 'r', 'E', 'n', 'a', 'b', 'l', 'e', 'd', '\022', 'U', +'\n', '\016', 's', 'h', 'a', 'd', 'o', 'w', '_', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\030', '\n', ' ', '\001', '(', '\013', '2', '.', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', 't', +'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\r', 's', 'h', 'a', +'d', 'o', 'w', 'E', 'n', 'a', 'b', 'l', 'e', 'd', '\022', '[', '\n', '\034', 'a', 'l', 'l', 'o', 'w', '_', 'p', 'r', 'i', 'v', 'a', +'t', 'e', '_', 'n', 'e', 't', 'w', 'o', 'r', 'k', '_', 'a', 'c', 'c', 'e', 's', 's', '\030', '\014', ' ', '\001', '(', '\013', '2', '\032', +'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', +'e', 'R', '\031', 'a', 'l', 'l', 'o', 'w', 'P', 'r', 'i', 'v', 'a', 't', 'e', 'N', 'e', 't', 'w', 'o', 'r', 'k', 'A', 'c', 'c', +'e', 's', 's', ':', '$', '\232', '\305', '\210', '\036', '\037', '\n', '\035', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', +'r', 'o', 'u', 't', 'e', '.', 'C', 'o', 'r', 's', 'P', 'o', 'l', 'i', 'c', 'y', 'B', '\023', '\n', '\021', 'e', 'n', 'a', 'b', 'l', +'e', 'd', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'J', '\004', '\010', '\001', '\020', '\002', 'J', '\004', '\010', '\010', '\020', '\t', 'J', +'\004', '\010', '\007', '\020', '\010', 'R', '\014', 'a', 'l', 'l', 'o', 'w', '_', 'o', 'r', 'i', 'g', 'i', 'n', 'R', '\022', 'a', 'l', 'l', 'o', +'w', '_', 'o', 'r', 'i', 'g', 'i', 'n', '_', 'r', 'e', 'g', 'e', 'x', 'R', '\007', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\"', '\334', +',', '\n', '\013', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '\022', '#', '\n', '\007', 'c', 'l', 'u', 's', 't', 'e', 'r', +'\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\007', 'c', 'l', 'u', 's', 't', 'e', +'r', '\022', '6', '\n', '\016', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\t', +'B', '\r', '\372', 'B', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', '\310', '\001', '\000', 'H', '\000', 'R', '\r', 'c', 'l', 'u', 's', 't', 'e', +'r', 'H', 'e', 'a', 'd', 'e', 'r', '\022', 'U', '\n', '\021', 'w', 'e', 'i', 'g', 'h', 't', 'e', 'd', '_', 'c', 'l', 'u', 's', 't', +'e', 'r', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'W', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'C', 'l', 'u', 's', 't', 'e', 'r', 'H', +'\000', 'R', '\020', 'w', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'C', 'l', 'u', 's', 't', 'e', 'r', 's', '\022', ':', '\n', '\030', 'c', 'l', +'u', 's', 't', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '_', 'p', 'l', 'u', 'g', 'i', 'n', '\030', '%', ' ', +'\001', '(', '\t', 'H', '\000', 'R', '\026', 'c', 'l', 'u', 's', 't', 'e', 'r', 'S', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'P', 'l', +'u', 'g', 'i', 'n', '\022', 'v', '\n', '\037', 'i', 'n', 'l', 'i', 'n', 'e', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 'p', +'e', 'c', 'i', 'f', 'i', 'e', 'r', '_', 'p', 'l', 'u', 'g', 'i', 'n', '\030', '\'', ' ', '\001', '(', '\013', '2', '-', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', +'e', 'r', 'S', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'P', 'l', 'u', 'g', 'i', 'n', 'H', '\000', 'R', '\034', 'i', 'n', 'l', 'i', +'n', 'e', 'C', 'l', 'u', 's', 't', 'e', 'r', 'S', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'P', 'l', 'u', 'g', 'i', 'n', '\022', +'\216', '\001', '\n', '\037', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'n', 'o', 't', '_', 'f', 'o', 'u', 'n', 'd', '_', 'r', 'e', 's', +'p', 'o', 'n', 's', 'e', '_', 'c', 'o', 'd', 'e', '\030', '\024', ' ', '\001', '(', '\016', '2', '>', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', +'o', 'n', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'N', 'o', 't', 'F', 'o', 'u', 'n', 'd', 'R', 'e', 's', 'p', 'o', 'n', 's', +'e', 'C', 'o', 'd', 'e', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\033', 'c', 'l', 'u', 's', 't', 'e', 'r', 'N', +'o', 't', 'F', 'o', 'u', 'n', 'd', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'C', 'o', 'd', 'e', '\022', 'E', '\n', '\016', 'm', 'e', +'t', 'a', 'd', 'a', 't', 'a', '_', 'm', 'a', 't', 'c', 'h', '\030', '\004', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', +'R', '\r', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', '\022', '2', '\n', '\016', 'p', 'r', 'e', 'f', 'i', 'x', +'_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '\030', '\005', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\002', '\310', +'\001', '\000', 'R', '\r', 'p', 'r', 'e', 'f', 'i', 'x', 'R', 'e', 'w', 'r', 'i', 't', 'e', '\022', 'S', '\n', '\r', 'r', 'e', 'g', 'e', +'x', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '\030', ' ', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', +'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', +'A', 'n', 'd', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'e', 'R', '\014', 'r', 'e', 'g', 'e', 'x', 'R', 'e', 'w', 'r', 'i', +'t', 'e', '\022', 'Z', '\n', '\023', 'p', 'a', 't', 'h', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '_', 'p', 'o', 'l', 'i', 'c', 'y', +'\030', ')', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', +'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', +'R', '\021', 'p', 'a', 't', 'h', 'R', 'e', 'w', 'r', 'i', 't', 'e', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '?', '\n', '\024', 'h', 'o', +'s', 't', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '_', 'l', 'i', 't', 'e', 'r', 'a', 'l', '\030', '\006', ' ', '\001', '(', '\t', 'B', +'\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\002', '\310', '\001', '\000', 'H', '\001', 'R', '\022', 'h', 'o', 's', 't', 'R', 'e', 'w', 'r', 'i', +'t', 'e', 'L', 'i', 't', 'e', 'r', 'a', 'l', '\022', 'H', '\n', '\021', 'a', 'u', 't', 'o', '_', 'h', 'o', 's', 't', '_', 'r', 'e', +'w', 'r', 'i', 't', 'e', '\030', '\007', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', +'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'H', '\001', 'R', '\017', 'a', 'u', 't', 'o', 'H', 'o', 's', +'t', 'R', 'e', 'w', 'r', 'i', 't', 'e', '\022', '=', '\n', '\023', 'h', 'o', 's', 't', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '_', +'h', 'e', 'a', 'd', 'e', 'r', '\030', '\035', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', +'H', '\001', 'R', '\021', 'h', 'o', 's', 't', 'R', 'e', 'w', 'r', 'i', 't', 'e', 'H', 'e', 'a', 'd', 'e', 'r', '\022', 'g', '\n', '\027', +'h', 'o', 's', 't', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '_', 'p', 'a', 't', 'h', '_', 'r', 'e', 'g', 'e', 'x', '\030', '#', +' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', +'.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'A', 'n', 'd', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', +'t', 'e', 'H', '\001', 'R', '\024', 'h', 'o', 's', 't', 'R', 'e', 'w', 'r', 'i', 't', 'e', 'P', 'a', 't', 'h', 'R', 'e', 'g', 'e', +'x', '\022', '5', '\n', '\027', 'a', 'p', 'p', 'e', 'n', 'd', '_', 'x', '_', 'f', 'o', 'r', 'w', 'a', 'r', 'd', 'e', 'd', '_', 'h', +'o', 's', 't', '\030', '&', ' ', '\001', '(', '\010', 'R', '\024', 'a', 'p', 'p', 'e', 'n', 'd', 'X', 'F', 'o', 'r', 'w', 'a', 'r', 'd', +'e', 'd', 'H', 'o', 's', 't', '\022', '3', '\n', '\007', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\010', ' ', '\001', '(', '\013', '2', '\031', +'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', +'R', '\007', 't', 'i', 'm', 'e', 'o', 'u', 't', '\022', '<', '\n', '\014', 'i', 'd', 'l', 'e', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', +'\030', '\030', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', +'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\013', 'i', 'd', 'l', 'e', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'V', '\n', '\021', +'e', 'a', 'r', 'l', 'y', '_', 'd', 'a', 't', 'a', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '(', ' ', '\001', '(', '\013', '2', '*', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', +'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\017', 'e', 'a', 'r', 'l', 'y', 'D', +'a', 't', 'a', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'E', '\n', '\014', 'r', 'e', 't', 'r', 'y', '_', 'p', 'o', 'l', 'i', 'c', 'y', +'\030', '\t', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', +'t', 'e', '.', 'v', '3', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\013', 'r', 'e', 't', 'r', 'y', 'P', +'o', 'l', 'i', 'c', 'y', '\022', 'O', '\n', '\031', 'r', 'e', 't', 'r', 'y', '_', 'p', 'o', 'l', 'i', 'c', 'y', '_', 't', 'y', 'p', +'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '!', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', +'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\026', 'r', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', +'T', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'n', '\n', '\027', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'm', 'i', +'r', 'r', 'o', 'r', '_', 'p', 'o', 'l', 'i', 'c', 'i', 'e', 's', '\030', '\036', ' ', '\003', '(', '\013', '2', '6', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', +'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'M', 'i', 'r', 'r', 'o', 'r', 'P', 'o', 'l', 'i', 'c', 'y', +'R', '\025', 'r', 'e', 'q', 'u', 'e', 's', 't', 'M', 'i', 'r', 'r', 'o', 'r', 'P', 'o', 'l', 'i', 'c', 'i', 'e', 's', '\022', 'K', +'\n', '\010', 'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', '\030', '\013', ' ', '\001', '(', '\016', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'i', 'n', 'g', 'P', 'r', 'i', +'o', 'r', 'i', 't', 'y', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\010', 'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', +'\022', 'A', '\n', '\013', 'r', 'a', 't', 'e', '_', 'l', 'i', 'm', 'i', 't', 's', '\030', '\r', ' ', '\003', '(', '\013', '2', ' ', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', +'L', 'i', 'm', 'i', 't', 'R', '\n', 'r', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 's', '\022', '\\', '\n', '\026', 'i', 'n', 'c', 'l', +'u', 'd', 'e', '_', 'v', 'h', '_', 'r', 'a', 't', 'e', '_', 'l', 'i', 'm', 'i', 't', 's', '\030', '\016', ' ', '\001', '(', '\013', '2', +'\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', +'u', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\023', 'i', 'n', 'c', 'l', 'u', 'd', 'e', 'V', +'h', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 's', '\022', 'N', '\n', '\013', 'h', 'a', 's', 'h', '_', 'p', 'o', 'l', 'i', 'c', +'y', '\030', '\017', ' ', '\003', '(', '\013', '2', '-', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', +'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', +'l', 'i', 'c', 'y', 'R', '\n', 'h', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'B', '\n', '\004', 'c', 'o', 'r', 's', '\030', +'\021', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', +'e', '.', 'v', '3', '.', 'C', 'o', 'r', 's', 'P', 'o', 'l', 'i', 'c', 'y', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', +'3', '.', '0', 'R', '\004', 'c', 'o', 'r', 's', '\022', 'P', '\n', '\020', 'm', 'a', 'x', '_', 'g', 'r', 'p', 'c', '_', 't', 'i', 'm', +'e', 'o', 'u', 't', '\030', '\027', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', +'R', '\016', 'm', 'a', 'x', 'G', 'r', 'p', 'c', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'V', '\n', '\023', 'g', 'r', 'p', 'c', '_', +'t', 'i', 'm', 'e', 'o', 'u', 't', '_', 'o', 'f', 'f', 's', 'e', 't', '\030', '\034', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', +'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\013', '\030', +'\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\021', 'g', 'r', 'p', 'c', 'T', 'i', 'm', 'e', 'o', 'u', 't', 'O', 'f', +'f', 's', 'e', 't', '\022', 'Y', '\n', '\017', 'u', 'p', 'g', 'r', 'a', 'd', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', 's', '\030', '\031', +' ', '\003', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', +'.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'U', 'p', 'g', 'r', 'a', 'd', 'e', 'C', 'o', +'n', 'f', 'i', 'g', 'R', '\016', 'u', 'p', 'g', 'r', 'a', 'd', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 's', '\022', 'g', '\n', '\030', 'i', +'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\"', +' ', '\001', '(', '\013', '2', '-', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', +'.', 'v', '3', '.', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'P', 'o', 'l', 'i', 'c', +'y', 'R', '\026', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'P', 'o', 'l', 'i', 'c', 'y', +'\022', '\200', '\001', '\n', '\030', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '_', 'a', 'c', +'t', 'i', 'o', 'n', '\030', '\032', ' ', '\001', '(', '\016', '2', '9', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'I', 'n', 't', +'e', 'r', 'n', 'a', 'l', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'A', 'c', 't', 'i', 'o', 'n', 'B', '\013', '\030', '\001', '\222', '\307', +'\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\026', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', +'A', 'c', 't', 'i', 'o', 'n', '\022', '_', '\n', '\026', 'm', 'a', 'x', '_', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'r', 'e', +'d', 'i', 'r', 'e', 'c', 't', 's', '\030', '\037', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', +'\330', '\004', '\003', '3', '.', '0', 'R', '\024', 'm', 'a', 'x', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'd', 'i', 'r', 'e', +'c', 't', 's', '\022', 'E', '\n', '\014', 'h', 'e', 'd', 'g', 'e', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\033', ' ', '\001', '(', '\013', +'2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', +'H', 'e', 'd', 'g', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\013', 'h', 'e', 'd', 'g', 'e', 'P', 'o', 'l', 'i', 'c', 'y', '\022', +'d', '\n', '\023', 'm', 'a', 'x', '_', 's', 't', 'r', 'e', 'a', 'm', '_', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\030', '$', ' ', +'\001', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', +'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'M', 'a', 'x', 'S', 't', 'r', 'e', 'a', 'm', 'D', +'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\021', 'm', 'a', 'x', 'S', 't', 'r', 'e', 'a', 'm', 'D', 'u', 'r', 'a', 't', 'i', 'o', +'n', '\032', '\201', '\003', '\n', '\023', 'R', 'e', 'q', 'u', 'e', 's', 't', 'M', 'i', 'r', 'r', 'o', 'r', 'P', 'o', 'l', 'i', 'c', 'y', +'\022', '3', '\n', '\007', 'c', 'l', 'u', 's', 't', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\031', '\362', '\230', '\376', '\217', '\005', '\023', +'\022', '\021', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'R', '\007', 'c', 'l', 'u', 's', +'t', 'e', 'r', '\022', 'K', '\n', '\016', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\005', ' ', '\001', +'(', '\t', 'B', '$', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', '\362', '\230', '\376', '\217', '\005', '\023', '\022', '\021', 'c', 'l', +'u', 's', 't', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'R', '\r', 'c', 'l', 'u', 's', 't', 'e', 'r', 'H', +'e', 'a', 'd', 'e', 'r', '\022', 'Y', '\n', '\020', 'r', 'u', 'n', 't', 'i', 'm', 'e', '_', 'f', 'r', 'a', 'c', 't', 'i', 'o', 'n', +'\030', '\003', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', +'e', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', +'c', 'e', 'n', 't', 'R', '\017', 'r', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', '\022', '?', '\n', '\r', +'t', 'r', 'a', 'c', 'e', '_', 's', 'a', 'm', 'p', 'l', 'e', 'd', '\030', '\004', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\014', 't', +'r', 'a', 'c', 'e', 'S', 'a', 'm', 'p', 'l', 'e', 'd', ':', '9', '\232', '\305', '\210', '\036', '4', '\n', '2', 'e', 'n', 'v', 'o', 'y', +'.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', +'.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'M', 'i', 'r', 'r', 'o', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 'J', '\004', '\010', '\002', '\020', +'\003', 'R', '\013', 'r', 'u', 'n', 't', 'i', 'm', 'e', '_', 'k', 'e', 'y', '\032', '\326', '\013', '\n', '\n', 'H', 'a', 's', 'h', 'P', 'o', +'l', 'i', 'c', 'y', '\022', 'N', '\n', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '4', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', +'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'H', +'\000', 'R', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\022', 'N', '\n', '\006', 'c', 'o', 'o', 'k', 'i', 'e', '\030', '\002', ' ', '\001', '(', '\013', +'2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', +'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'C', 'o', +'o', 'k', 'i', 'e', 'H', '\000', 'R', '\006', 'c', 'o', 'o', 'k', 'i', 'e', '\022', 'y', '\n', '\025', 'c', 'o', 'n', 'n', 'e', 'c', 't', +'i', 'o', 'n', '_', 'p', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', 'B', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', +'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', +'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'H', '\000', 'R', '\024', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', +'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', 'g', '\n', '\017', 'q', 'u', 'e', 'r', 'y', '_', 'p', 'a', 'r', +'a', 'm', 'e', 't', 'e', 'r', '\030', '\005', ' ', '\001', '(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', +'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'H', +'\000', 'R', '\016', 'q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', '\022', '^', '\n', '\014', 'f', 'i', 'l', 't', +'e', 'r', '_', 's', 't', 'a', 't', 'e', '\030', '\006', ' ', '\001', '(', '\013', '2', '9', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', +'.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'F', 'i', 'l', 't', 'e', 'r', 'S', 't', 'a', 't', 'e', 'H', '\000', +'R', '\013', 'f', 'i', 'l', 't', 'e', 'r', 'S', 't', 'a', 't', 'e', '\022', '\032', '\n', '\010', 't', 'e', 'r', 'm', 'i', 'n', 'a', 'l', +'\030', '\004', ' ', '\001', '(', '\010', 'R', '\010', 't', 'e', 'r', 'm', 'i', 'n', 'a', 'l', '\032', '\306', '\001', '\n', '\006', 'H', 'e', 'a', 'd', +'e', 'r', '\022', '.', '\n', '\013', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\r', +'\372', 'B', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\n', 'h', 'e', 'a', 'd', 'e', 'r', 'N', 'a', 'm', 'e', +'\022', 'S', '\n', '\r', 'r', 'e', 'g', 'e', 'x', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '.', +'.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', +'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'A', 'n', 'd', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'e', 'R', '\014', 'r', 'e', +'g', 'e', 'x', 'R', 'e', 'w', 'r', 'i', 't', 'e', ':', '7', '\232', '\305', '\210', '\036', '2', '\n', '0', 'e', 'n', 'v', 'o', 'y', '.', +'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', +'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'H', 'e', 'a', 'd', 'e', 'r', '\032', '_', '\n', '\017', 'C', 'o', 'o', 'k', +'i', 'e', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', '\022', '%', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', +'B', '\021', '\372', 'B', '\016', 'r', '\014', '\020', '\001', '(', '\200', '\200', '\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\004', 'n', 'a', 'm', 'e', +'\022', '%', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\017', '\372', 'B', '\014', 'r', '\n', '(', '\200', '\200', +'\001', '\300', '\001', '\002', '\310', '\001', '\000', 'R', '\005', 'v', 'a', 'l', 'u', 'e', '\032', '\376', '\001', '\n', '\006', 'C', 'o', 'o', 'k', 'i', 'e', +'\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', +'n', 'a', 'm', 'e', '\022', '+', '\n', '\003', 't', 't', 'l', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', +'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\003', 't', 't', 'l', '\022', +'\022', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\004', 'p', 'a', 't', 'h', '\022', ']', '\n', '\n', 'a', 't', +'t', 'r', 'i', 'b', 'u', 't', 'e', 's', '\030', '\004', ' ', '\003', '(', '\013', '2', '=', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', +'.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'C', 'o', 'o', 'k', 'i', 'e', 'A', 't', 't', 'r', 'i', 'b', 'u', +'t', 'e', 'R', '\n', 'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', ':', '7', '\232', '\305', '\210', '\036', '2', '\n', '0', 'e', 'n', +'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', +'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'C', 'o', 'o', 'k', 'i', 'e', '\032', 'z', '\n', '\024', +'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', '\033', '\n', '\t', 's', +'o', 'u', 'r', 'c', 'e', '_', 'i', 'p', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\010', 's', 'o', 'u', 'r', 'c', 'e', 'I', 'p', ':', +'E', '\232', '\305', '\210', '\036', '@', '\n', '>', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', +'e', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', +'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\032', 'n', '\n', '\016', 'Q', +'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', +'(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', ':', '?', '\232', '\305', '\210', '\036', ':', '\n', +'8', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', +'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', +'r', 'a', 'm', 'e', 't', 'e', 'r', '\032', 'f', '\n', '\013', 'F', 'i', 'l', 't', 'e', 'r', 'S', 't', 'a', 't', 'e', '\022', '\031', '\n', +'\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\003', 'k', 'e', 'y', ':', +'<', '\232', '\305', '\210', '\036', '7', '\n', '5', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', +'e', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', +'F', 'i', 'l', 't', 'e', 'r', 'S', 't', 'a', 't', 'e', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', +'.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', +'.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', 'B', '\027', '\n', '\020', 'p', 'o', 'l', 'i', 'c', 'y', '_', 's', 'p', 'e', +'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\032', '\243', '\003', '\n', '\r', 'U', 'p', 'g', 'r', 'a', 'd', 'e', 'C', 'o', +'n', 'f', 'i', 'g', '\022', '0', '\n', '\014', 'u', 'p', 'g', 'r', 'a', 'd', 'e', '_', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', +'\t', 'B', '\r', '\372', 'B', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\002', '\310', '\001', '\000', 'R', '\013', 'u', 'p', 'g', 'r', 'a', 'd', 'e', +'T', 'y', 'p', 'e', '\022', '4', '\n', '\007', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', +'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', +'\007', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\022', 'e', '\n', '\016', 'c', 'o', 'n', 'n', 'e', 'c', 't', '_', 'c', 'o', 'n', 'f', 'i', +'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '>', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', +'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'U', 'p', 'g', 'r', 'a', 'd', +'e', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\r', 'c', 'o', +'n', 'n', 'e', 'c', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\215', '\001', '\n', '\r', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'C', 'o', +'n', 'f', 'i', 'g', '\022', ']', '\n', '\025', 'p', 'r', 'o', 'x', 'y', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'c', 'o', +'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'P', 'r', 'o', 'x', 'y', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'C', 'o', 'n', +'f', 'i', 'g', 'R', '\023', 'p', 'r', 'o', 'x', 'y', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'C', 'o', 'n', 'f', 'i', 'g', '\022', +'\035', '\n', '\n', 'a', 'l', 'l', 'o', 'w', '_', 'p', 'o', 's', 't', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\t', 'a', 'l', 'l', 'o', +'w', 'P', 'o', 's', 't', ':', '3', '\232', '\305', '\210', '\036', '.', '\n', ',', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', +'2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'U', 'p', 'g', 'r', 'a', +'d', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\210', '\002', '\n', '\021', 'M', 'a', 'x', 'S', 't', 'r', 'e', 'a', 'm', 'D', 'u', 'r', +'a', 't', 'i', 'o', 'n', '\022', 'I', '\n', '\023', 'm', 'a', 'x', '_', 's', 't', 'r', 'e', 'a', 'm', '_', 'd', 'u', 'r', 'a', 't', +'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\021', 'm', 'a', 'x', 'S', 't', 'r', 'e', 'a', 'm', 'D', 'u', 'r', +'a', 't', 'i', 'o', 'n', '\022', 'P', '\n', '\027', 'g', 'r', 'p', 'c', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '_', 'h', 'e', 'a', +'d', 'e', 'r', '_', 'm', 'a', 'x', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\024', 'g', 'r', 'p', 'c', 'T', 'i', 'm', 'e', +'o', 'u', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 'x', '\022', 'V', '\n', '\032', 'g', 'r', 'p', 'c', '_', 't', 'i', 'm', 'e', +'o', 'u', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'o', 'f', 'f', 's', 'e', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', '\031', +'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', +'R', '\027', 'g', 'r', 'p', 'c', 'T', 'i', 'm', 'e', 'o', 'u', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'O', 'f', 'f', 's', 'e', 't', +'\"', '`', '\n', '\033', 'C', 'l', 'u', 's', 't', 'e', 'r', 'N', 'o', 't', 'F', 'o', 'u', 'n', 'd', 'R', 'e', 's', 'p', 'o', 'n', +'s', 'e', 'C', 'o', 'd', 'e', '\022', '\027', '\n', '\023', 'S', 'E', 'R', 'V', 'I', 'C', 'E', '_', 'U', 'N', 'A', 'V', 'A', 'I', 'L', +'A', 'B', 'L', 'E', '\020', '\000', '\022', '\r', '\n', '\t', 'N', 'O', 'T', '_', 'F', 'O', 'U', 'N', 'D', '\020', '\001', '\022', '\031', '\n', '\025', +'I', 'N', 'T', 'E', 'R', 'N', 'A', 'L', '_', 'S', 'E', 'R', 'V', 'E', 'R', '_', 'E', 'R', 'R', 'O', 'R', '\020', '\002', '\"', '^', +'\n', '\026', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'A', 'c', 't', 'i', 'o', 'n', '\022', +'\"', '\n', '\036', 'P', 'A', 'S', 'S', '_', 'T', 'H', 'R', 'O', 'U', 'G', 'H', '_', 'I', 'N', 'T', 'E', 'R', 'N', 'A', 'L', '_', +'R', 'E', 'D', 'I', 'R', 'E', 'C', 'T', '\020', '\000', '\022', '\034', '\n', '\030', 'H', 'A', 'N', 'D', 'L', 'E', '_', 'I', 'N', 'T', 'E', +'R', 'N', 'A', 'L', '_', 'R', 'E', 'D', 'I', 'R', 'E', 'C', 'T', '\020', '\001', '\032', '\002', '\030', '\001', ':', '%', '\232', '\305', '\210', '\036', +' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', +'t', 'e', 'A', 'c', 't', 'i', 'o', 'n', 'B', '\030', '\n', '\021', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', +'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', 'B', '\030', '\n', '\026', 'h', 'o', 's', 't', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', +'_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'J', '\004', '\010', '\014', '\020', '\r', 'J', '\004', '\010', '\022', '\020', '\023', 'J', '\004', '\010', +'\023', '\020', '\024', 'J', '\004', '\010', '\020', '\020', '\021', 'J', '\004', '\010', '\026', '\020', '\027', 'J', '\004', '\010', '\025', '\020', '\026', 'J', '\004', '\010', '\n', +'\020', '\013', 'R', '\025', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'm', 'i', 'r', 'r', 'o', 'r', '_', 'p', 'o', 'l', 'i', 'c', 'y', +'\"', '\277', '\020', '\n', '\013', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '\031', '\n', '\010', 'r', 'e', 't', 'r', 'y', +'_', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\007', 'r', 'e', 't', 'r', 'y', 'O', 'n', '\022', 'R', '\n', '\013', 'n', 'u', 'm', +'_', 'r', 'e', 't', 'r', 'i', 'e', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\023', '\362', '\230', '\376', '\217', +'\005', '\r', '\n', '\013', 'm', 'a', 'x', '_', 'r', 'e', 't', 'r', 'i', 'e', 's', 'R', '\n', 'n', 'u', 'm', 'R', 'e', 't', 'r', 'i', +'e', 's', '\022', 'A', '\n', '\017', 'p', 'e', 'r', '_', 't', 'r', 'y', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\003', ' ', '\001', +'(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', +'t', 'i', 'o', 'n', 'R', '\r', 'p', 'e', 'r', 'T', 'r', 'y', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'J', '\n', '\024', 'p', 'e', +'r', '_', 't', 'r', 'y', '_', 'i', 'd', 'l', 'e', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\r', ' ', '\001', '(', '\013', '2', +'\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', +'n', 'R', '\021', 'p', 'e', 'r', 'T', 'r', 'y', 'I', 'd', 'l', 'e', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'W', '\n', '\016', 'r', +'e', 't', 'r', 'y', '_', 'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', '\030', '\004', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'e', 't', 'r', 'y', 'P', +'o', 'l', 'i', 'c', 'y', '.', 'R', 'e', 't', 'r', 'y', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 'R', '\r', 'r', 'e', 't', 'r', +'y', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', '\022', 'g', '\n', '\024', 'r', 'e', 't', 'r', 'y', '_', 'h', 'o', 's', 't', '_', 'p', +'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\030', '\005', ' ', '\003', '(', '\013', '2', '5', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', +'.', 'R', 'e', 't', 'r', 'y', 'H', 'o', 's', 't', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'R', '\022', 'r', 'e', 't', 'r', +'y', 'H', 'o', 's', 't', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'd', '\n', '\030', 'r', 'e', 't', 'r', 'y', '_', 'o', +'p', 't', 'i', 'o', 'n', 's', '_', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 's', '\030', '\014', ' ', '\003', '(', '\013', '2', '*', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', +'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\026', 'r', 'e', 't', 'r', 'y', 'O', +'p', 't', 'i', 'o', 'n', 's', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 's', '\022', 'H', '\n', '!', 'h', 'o', 's', 't', '_', +'s', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', '_', 'r', 'e', 't', 'r', 'y', '_', 'm', 'a', 'x', '_', 'a', 't', 't', 'e', 'm', +'p', 't', 's', '\030', '\006', ' ', '\001', '(', '\003', 'R', '\035', 'h', 'o', 's', 't', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'R', +'e', 't', 'r', 'y', 'M', 'a', 'x', 'A', 't', 't', 'e', 'm', 'p', 't', 's', '\022', '4', '\n', '\026', 'r', 'e', 't', 'r', 'i', 'a', +'b', 'l', 'e', '_', 's', 't', 'a', 't', 'u', 's', '_', 'c', 'o', 'd', 'e', 's', '\030', '\007', ' ', '\003', '(', '\r', 'R', '\024', 'r', +'e', 't', 'r', 'i', 'a', 'b', 'l', 'e', 'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'd', 'e', 's', '\022', 'U', '\n', '\016', 'r', 'e', +'t', 'r', 'y', '_', 'b', 'a', 'c', 'k', '_', 'o', 'f', 'f', '\030', '\010', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', +'l', 'i', 'c', 'y', '.', 'R', 'e', 't', 'r', 'y', 'B', 'a', 'c', 'k', 'O', 'f', 'f', 'R', '\014', 'r', 'e', 't', 'r', 'y', 'B', +'a', 'c', 'k', 'O', 'f', 'f', '\022', 'x', '\n', '\033', 'r', 'a', 't', 'e', '_', 'l', 'i', 'm', 'i', 't', 'e', 'd', '_', 'r', 'e', +'t', 'r', 'y', '_', 'b', 'a', 'c', 'k', '_', 'o', 'f', 'f', '\030', '\013', ' ', '\001', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', +'l', 'i', 'c', 'y', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 'e', 'd', 'R', 'e', 't', 'r', 'y', 'B', 'a', 'c', 'k', +'O', 'f', 'f', 'R', '\027', 'r', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 'e', 'd', 'R', 'e', 't', 'r', 'y', 'B', 'a', 'c', 'k', +'O', 'f', 'f', '\022', 'Q', '\n', '\021', 'r', 'e', 't', 'r', 'i', 'a', 'b', 'l', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', +'\t', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', +'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\020', 'r', 'e', 't', 'r', 'i', +'a', 'b', 'l', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', '`', '\n', '\031', 'r', 'e', 't', 'r', 'i', 'a', 'b', 'l', 'e', '_', +'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\n', ' ', '\003', '(', '\013', '2', '$', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', +'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\027', 'r', 'e', 't', 'r', 'i', 'a', 'b', 'l', 'e', 'R', 'e', 'q', 'u', 'e', +'s', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\032', '\271', '\001', '\n', '\r', 'R', 'e', 't', 'r', 'y', 'P', 'r', 'i', 'o', 'r', 'i', +'t', 'y', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', +'R', '\004', 'n', 'a', 'm', 'e', '\022', '9', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', +'\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', +'H', '\000', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', ':', '3', '\232', '\305', '\210', '\036', '.', '\n', ',', 'e', +'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', +'l', 'i', 'c', 'y', '.', 'R', 'e', 't', 'r', 'y', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 'B', '\r', '\n', '\013', 'c', 'o', 'n', +'f', 'i', 'g', '_', 't', 'y', 'p', 'e', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\032', '\303', '\001', +'\n', '\022', 'R', 'e', 't', 'r', 'y', 'H', 'o', 's', 't', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', '\033', '\n', '\004', 'n', +'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', +'9', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', +'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'H', '\000', 'R', '\013', 't', 'y', 'p', +'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', ':', '8', '\232', '\305', '\210', '\036', '3', '\n', '1', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', +'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'R', 'e', +'t', 'r', 'y', 'H', 'o', 's', 't', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\r', '\n', '\013', 'c', 'o', 'n', 'f', 'i', +'g', '_', 't', 'y', 'p', 'e', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\032', '\326', '\001', '\n', '\014', +'R', 'e', 't', 'r', 'y', 'B', 'a', 'c', 'k', 'O', 'f', 'f', '\022', 'J', '\n', '\r', 'b', 'a', 's', 'e', '_', 'i', 'n', 't', 'e', +'r', 'v', 'a', 'l', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\n', '\372', 'B', '\007', '\252', '\001', '\004', '\010', '\001', '*', '\000', 'R', +'\014', 'b', 'a', 's', 'e', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\022', 'F', '\n', '\014', 'm', 'a', 'x', '_', 'i', 'n', 't', 'e', +'r', 'v', 'a', 'l', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\252', '\001', '\002', '*', '\000', 'R', '\013', 'm', +'a', 'x', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', ':', '2', '\232', '\305', '\210', '\036', '-', '\n', '+', 'e', 'n', 'v', 'o', 'y', '.', +'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '.', +'R', 'e', 't', 'r', 'y', 'B', 'a', 'c', 'k', 'O', 'f', 'f', '\032', '\210', '\001', '\n', '\013', 'R', 'e', 's', 'e', 't', 'H', 'e', 'a', +'d', 'e', 'r', '\022', '!', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\r', '\372', 'B', '\n', 'r', '\010', '\020', +'\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'V', '\n', '\006', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\002', +' ', '\001', '(', '\016', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', +'.', 'v', '3', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'R', 'e', 's', 'e', 't', 'H', 'e', 'a', 'd', +'e', 'r', 'F', 'o', 'r', 'm', 'a', 't', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\006', 'f', 'o', 'r', 'm', 'a', +'t', '\032', '\300', '\001', '\n', '\027', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 'e', 'd', 'R', 'e', 't', 'r', 'y', 'B', 'a', 'c', +'k', 'O', 'f', 'f', '\022', ']', '\n', '\r', 'r', 'e', 's', 'e', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\001', ' ', '\003', +'(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', +'3', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'R', 'e', 's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', +'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\014', 'r', 'e', 's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', +'F', '\n', '\014', 'm', 'a', 'x', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', +'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', +'\372', 'B', '\005', '\252', '\001', '\002', '*', '\000', 'R', '\013', 'm', 'a', 'x', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\"', '4', '\n', '\021', +'R', 'e', 's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'o', 'r', 'm', 'a', 't', '\022', '\013', '\n', '\007', 'S', 'E', 'C', 'O', +'N', 'D', 'S', '\020', '\000', '\022', '\022', '\n', '\016', 'U', 'N', 'I', 'X', '_', 'T', 'I', 'M', 'E', 'S', 'T', 'A', 'M', 'P', '\020', '\001', +':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', +'t', 'e', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '\"', '\234', '\002', '\n', '\013', 'H', 'e', 'd', 'g', 'e', 'P', +'o', 'l', 'i', 'c', 'y', '\022', 'P', '\n', '\020', 'i', 'n', 'i', 't', 'i', 'a', 'l', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', 's', +'\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', +'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', '\017', 'i', 'n', 'i', +'t', 'i', 'a', 'l', 'R', 'e', 'q', 'u', 'e', 's', 't', 's', '\022', '\\', '\n', '\031', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', +'l', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'c', 'h', 'a', 'n', 'c', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', ' ', '.', +'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', +'e', 'r', 'c', 'e', 'n', 't', 'R', '\027', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'R', 'e', 'q', 'u', 'e', 's', 't', +'C', 'h', 'a', 'n', 'c', 'e', '\022', '6', '\n', '\030', 'h', 'e', 'd', 'g', 'e', '_', 'o', 'n', '_', 'p', 'e', 'r', '_', 't', 'r', +'y', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\024', 'h', 'e', 'd', 'g', 'e', 'O', 'n', 'P', +'e', 'r', 'T', 'r', 'y', 'T', 'i', 'm', 'e', 'o', 'u', 't', ':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', +'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'H', 'e', 'd', 'g', 'e', 'P', 'o', 'l', 'i', 'c', +'y', '\"', '\341', '\005', '\n', '\016', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'A', 'c', 't', 'i', 'o', 'n', '\022', '\'', '\n', '\016', 'h', +'t', 't', 'p', 's', '_', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\030', '\004', ' ', '\001', '(', '\010', 'H', '\000', 'R', '\r', 'h', 't', +'t', 'p', 's', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\022', ')', '\n', '\017', 's', 'c', 'h', 'e', 'm', 'e', '_', 'r', 'e', 'd', +'i', 'r', 'e', 'c', 't', '\030', '\007', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\016', 's', 'c', 'h', 'e', 'm', 'e', 'R', 'e', 'd', 'i', +'r', 'e', 'c', 't', '\022', '0', '\n', '\r', 'h', 'o', 's', 't', '_', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\030', '\001', ' ', '\001', +'(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\002', '\310', '\001', '\000', 'R', '\014', 'h', 'o', 's', 't', 'R', 'e', 'd', 'i', +'r', 'e', 'c', 't', '\022', '#', '\n', '\r', 'p', 'o', 'r', 't', '_', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\030', '\010', ' ', '\001', +'(', '\r', 'R', '\014', 'p', 'o', 'r', 't', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\022', '2', '\n', '\r', 'p', 'a', 't', 'h', '_', +'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\002', '\310', +'\001', '\000', 'H', '\001', 'R', '\014', 'p', 'a', 't', 'h', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\022', '4', '\n', '\016', 'p', 'r', 'e', +'f', 'i', 'x', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '\030', '\005', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', +'\001', '\002', '\310', '\001', '\000', 'H', '\001', 'R', '\r', 'p', 'r', 'e', 'f', 'i', 'x', 'R', 'e', 'w', 'r', 'i', 't', 'e', '\022', 'U', '\n', +'\r', 'r', 'e', 'g', 'e', 'x', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '\030', '\t', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', +'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', +'M', 'a', 't', 'c', 'h', 'A', 'n', 'd', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'e', 'H', '\001', 'R', '\014', 'r', 'e', 'g', +'e', 'x', 'R', 'e', 'w', 'r', 'i', 't', 'e', '\022', 'i', '\n', '\r', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'c', 'o', 'd', +'e', '\030', '\003', ' ', '\001', '(', '\016', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', +'u', 't', 'e', '.', 'v', '3', '.', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'A', 'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'd', +'i', 'r', 'e', 'c', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'C', 'o', 'd', 'e', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', +'\020', '\001', 'R', '\014', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'C', 'o', 'd', 'e', '\022', '\037', '\n', '\013', 's', 't', 'r', 'i', 'p', +'_', 'q', 'u', 'e', 'r', 'y', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\n', 's', 't', 'r', 'i', 'p', 'Q', 'u', 'e', 'r', 'y', '\"', +'w', '\n', '\024', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'C', 'o', 'd', 'e', '\022', '\025', +'\n', '\021', 'M', 'O', 'V', 'E', 'D', '_', 'P', 'E', 'R', 'M', 'A', 'N', 'E', 'N', 'T', 'L', 'Y', '\020', '\000', '\022', '\t', '\n', '\005', +'F', 'O', 'U', 'N', 'D', '\020', '\001', '\022', '\r', '\n', '\t', 'S', 'E', 'E', '_', 'O', 'T', 'H', 'E', 'R', '\020', '\002', '\022', '\026', '\n', +'\022', 'T', 'E', 'M', 'P', 'O', 'R', 'A', 'R', 'Y', '_', 'R', 'E', 'D', 'I', 'R', 'E', 'C', 'T', '\020', '\003', '\022', '\026', '\n', '\022', +'P', 'E', 'R', 'M', 'A', 'N', 'E', 'N', 'T', '_', 'R', 'E', 'D', 'I', 'R', 'E', 'C', 'T', '\020', '\004', ':', '(', '\232', '\305', '\210', +'\036', '#', '\n', '!', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'e', +'d', 'i', 'r', 'e', 'c', 't', 'A', 'c', 't', 'i', 'o', 'n', 'B', '\032', '\n', '\030', 's', 'c', 'h', 'e', 'm', 'e', '_', 'r', 'e', +'w', 'r', 'i', 't', 'e', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'B', '\030', '\n', '\026', 'p', 'a', 't', 'h', '_', 'r', +'e', 'w', 'r', 'i', 't', 'e', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\"', '\241', '\001', '\n', '\024', 'D', 'i', 'r', 'e', +'c', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'A', 'c', 't', 'i', 'o', 'n', '\022', '#', '\n', '\006', 's', 't', 'a', 't', 'u', +'s', '\030', '\001', ' ', '\001', '(', '\r', 'B', '\013', '\372', 'B', '\010', '*', '\006', '\020', '\330', '\004', '(', '\310', '\001', 'R', '\006', 's', 't', 'a', +'t', 'u', 's', '\022', '4', '\n', '\004', 'b', 'o', 'd', 'y', '\030', '\002', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', +'e', 'R', '\004', 'b', 'o', 'd', 'y', ':', '.', '\232', '\305', '\210', '\036', ')', '\n', '\'', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', +'.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'D', 'i', 'r', 'e', 'c', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'A', +'c', 't', 'i', 'o', 'n', '\"', '\025', '\n', '\023', 'N', 'o', 'n', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 'i', 'n', 'g', 'A', 'c', 't', +'i', 'o', 'n', '\"', '\221', '\001', '\n', '\t', 'D', 'e', 'c', 'o', 'r', 'a', 't', 'o', 'r', '\022', '%', '\n', '\t', 'o', 'p', 'e', 'r', +'a', 't', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\t', 'o', 'p', 'e', +'r', 'a', 't', 'i', 'o', 'n', '\022', '8', '\n', '\t', 'p', 'r', 'o', 'p', 'a', 'g', 'a', 't', 'e', '\030', '\002', ' ', '\001', '(', '\013', +'2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', +'l', 'u', 'e', 'R', '\t', 'p', 'r', 'o', 'p', 'a', 'g', 'a', 't', 'e', ':', '#', '\232', '\305', '\210', '\036', '\036', '\n', '\034', 'e', 'n', +'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'D', 'e', 'c', 'o', 'r', 'a', 't', 'o', +'r', '\"', '\322', '\002', '\n', '\007', 'T', 'r', 'a', 'c', 'i', 'n', 'g', '\022', 'I', '\n', '\017', 'c', 'l', 'i', 'e', 'n', 't', '_', 's', +'a', 'm', 'p', 'l', 'i', 'n', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', +'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\016', 'c', +'l', 'i', 'e', 'n', 't', 'S', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\022', 'I', '\n', '\017', 'r', 'a', 'n', 'd', 'o', 'm', '_', 's', +'a', 'm', 'p', 'l', 'i', 'n', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', +'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\016', 'r', +'a', 'n', 'd', 'o', 'm', 'S', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\022', 'K', '\n', '\020', 'o', 'v', 'e', 'r', 'a', 'l', 'l', '_', +'s', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', +'p', 'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\017', +'o', 'v', 'e', 'r', 'a', 'l', 'l', 'S', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\022', 'A', '\n', '\013', 'c', 'u', 's', 't', 'o', 'm', +'_', 't', 'a', 'g', 's', '\030', '\004', ' ', '\003', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', +'t', 'r', 'a', 'c', 'i', 'n', 'g', '.', 'v', '3', '.', 'C', 'u', 's', 't', 'o', 'm', 'T', 'a', 'g', 'R', '\n', 'c', 'u', 's', +'t', 'o', 'm', 'T', 'a', 'g', 's', ':', '!', '\232', '\305', '\210', '\036', '\034', '\n', '\032', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', +'.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'T', 'r', 'a', 'c', 'i', 'n', 'g', '\"', '\264', '\001', '\n', '\016', 'V', 'i', 'r', +'t', 'u', 'a', 'l', 'C', 'l', 'u', 's', 't', 'e', 'r', '\022', '>', '\n', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\004', ' ', +'\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', +'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', +'\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', +'n', 'a', 'm', 'e', ':', '(', '\232', '\305', '\210', '\036', '#', '\n', '!', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', +'.', 'r', 'o', 'u', 't', 'e', '.', 'V', 'i', 'r', 't', 'u', 'a', 'l', 'C', 'l', 'u', 's', 't', 'e', 'r', 'J', '\004', '\010', '\001', +'\020', '\002', 'J', '\004', '\010', '\003', '\020', '\004', 'R', '\007', 'p', 'a', 't', 't', 'e', 'r', 'n', 'R', '\006', 'm', 'e', 't', 'h', 'o', 'd', +'\"', '\311', '\034', '\n', '\t', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '\022', ';', '\n', '\005', 's', 't', 'a', 'g', 'e', '\030', '\001', +' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', +'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '\030', '\n', 'R', '\005', 's', 't', 'a', 'g', 'e', +'\022', '\037', '\n', '\013', 'd', 'i', 's', 'a', 'b', 'l', 'e', '_', 'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\n', 'd', 'i', +'s', 'a', 'b', 'l', 'e', 'K', 'e', 'y', '\022', 'K', '\n', '\007', 'a', 'c', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\003', '(', '\013', +'2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', +'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', +'\001', 'R', '\007', 'a', 'c', 't', 'i', 'o', 'n', 's', '\022', '?', '\n', '\005', 'l', 'i', 'm', 'i', 't', '\030', '\004', ' ', '\001', '(', '\013', +'2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', +'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'R', '\005', 'l', 'i', 'm', 'i', 't', +'\032', '\265', '\030', '\n', '\006', 'A', 'c', 't', 'i', 'o', 'n', '\022', '^', '\n', '\016', 's', 'o', 'u', 'r', 'c', 'e', '_', 'c', 'l', 'u', +'s', 't', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '5', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', +'n', '.', 'S', 'o', 'u', 'r', 'c', 'e', 'C', 'l', 'u', 's', 't', 'e', 'r', 'H', '\000', 'R', '\r', 's', 'o', 'u', 'r', 'c', 'e', +'C', 'l', 'u', 's', 't', 'e', 'r', '\022', 'm', '\n', '\023', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', '_', 'c', 'l', +'u', 's', 't', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', +'o', 'n', '.', 'D', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'C', 'l', 'u', 's', 't', 'e', 'r', 'H', '\000', 'R', '\022', +'d', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'C', 'l', 'u', 's', 't', 'e', 'r', '\022', 'a', '\n', '\017', 'r', 'e', 'q', +'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '6', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', +'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'H', +'\000', 'R', '\016', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', '^', '\n', '\016', 'r', 'e', 'm', 'o', +'t', 'e', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\004', ' ', '\001', '(', '\013', '2', '5', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', +'.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', 'H', '\000', 'R', '\r', +'r', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'U', '\n', '\013', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', +'k', 'e', 'y', '\030', '\005', ' ', '\001', '(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', +'.', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'K', 'e', 'y', 'H', '\000', 'R', '\n', 'g', 'e', 'n', 'e', 'r', 'i', 'c', 'K', 'e', 'y', +'\022', 'h', '\n', '\022', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'v', 'a', 'l', 'u', 'e', '_', 'm', 'a', 't', 'c', 'h', '\030', '\006', ' ', +'\001', '(', '\013', '2', '8', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', +'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'e', 'a', 'd', 'e', +'r', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\020', 'h', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', +'e', 'M', 'a', 't', 'c', 'h', '\022', 'w', '\n', '\020', 'd', 'y', 'n', 'a', 'm', 'i', 'c', '_', 'm', 'e', 't', 'a', 'd', 'a', 't', +'a', '\030', '\007', ' ', '\001', '(', '\013', '2', '7', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', +'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'D', +'y', 'n', 'a', 'm', 'i', 'c', 'M', 'e', 't', 'a', 'D', 'a', 't', 'a', 'B', '\021', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', +'.', '0', '\270', '\356', '\362', '\322', '\005', '\001', 'H', '\000', 'R', '\017', 'd', 'y', 'n', 'a', 'm', 'i', 'c', 'M', 'e', 't', 'a', 'd', 'a', +'t', 'a', '\022', 'N', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\010', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', +'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'M', 'e', 't', 'a', 'D', 'a', 't', 'a', 'H', '\000', 'R', '\010', 'm', +'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'J', '\n', '\t', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '\t', ' ', '\001', '(', +'\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', +'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\t', 'e', +'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\022', 'q', '\n', '\025', 'm', 'a', 's', 'k', 'e', 'd', '_', 'r', 'e', 'm', 'o', 't', 'e', +'_', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\n', ' ', '\001', '(', '\013', '2', ';', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', +'c', 't', 'i', 'o', 'n', '.', 'M', 'a', 's', 'k', 'e', 'd', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', +'H', '\000', 'R', '\023', 'm', 'a', 's', 'k', 'e', 'd', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', '\201', +'\001', '\n', '\033', 'q', 'u', 'e', 'r', 'y', '_', 'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', '_', 'v', 'a', 'l', 'u', 'e', '_', +'m', 'a', 't', 'c', 'h', '\030', '\013', ' ', '\001', '(', '\013', '2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', +'o', 'n', '.', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', +'c', 'h', 'H', '\000', 'R', '\030', 'q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'V', 'a', 'l', 'u', 'e', +'M', 'a', 't', 'c', 'h', '\032', 'I', '\n', '\r', 'S', 'o', 'u', 'r', 'c', 'e', 'C', 'l', 'u', 's', 't', 'e', 'r', ':', '8', '\232', +'\305', '\210', '\036', '3', '\n', '1', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', +'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'S', 'o', 'u', 'r', 'c', 'e', 'C', 'l', +'u', 's', 't', 'e', 'r', '\032', 'S', '\n', '\022', 'D', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'C', 'l', 'u', 's', 't', +'e', 'r', ':', '=', '\232', '\305', '\210', '\036', '8', '\n', '6', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', +'o', 'u', 't', 'e', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'D', 'e', 's', +'t', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'C', 'l', 'u', 's', 't', 'e', 'r', '\032', '\321', '\001', '\n', '\016', 'R', 'e', 'q', 'u', 'e', +'s', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', '.', '\n', '\013', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', +'\001', ' ', '\001', '(', '\t', 'B', '\r', '\372', 'B', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\n', 'h', 'e', 'a', +'d', 'e', 'r', 'N', 'a', 'm', 'e', '\022', '.', '\n', '\016', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '_', 'k', 'e', 'y', +'\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\r', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', +'o', 'r', 'K', 'e', 'y', '\022', '$', '\n', '\016', 's', 'k', 'i', 'p', '_', 'i', 'f', '_', 'a', 'b', 's', 'e', 'n', 't', '\030', '\003', +' ', '\001', '(', '\010', 'R', '\014', 's', 'k', 'i', 'p', 'I', 'f', 'A', 'b', 's', 'e', 'n', 't', ':', '9', '\232', '\305', '\210', '\036', '4', +'\n', '2', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'a', 't', 'e', +'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', +'r', 's', '\032', 'I', '\n', '\r', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', ':', '8', '\232', '\305', '\210', '\036', +'3', '\n', '1', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'a', 't', +'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', +'s', 's', '\032', '\276', '\001', '\n', '\023', 'M', 'a', 's', 'k', 'e', 'd', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', +'s', '\022', 'R', '\n', '\022', 'v', '4', '_', 'p', 'r', 'e', 'f', 'i', 'x', '_', 'm', 'a', 's', 'k', '_', 'l', 'e', 'n', '\030', '\001', +' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', +'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '\030', ' ', 'R', '\017', 'v', '4', 'P', 'r', 'e', +'f', 'i', 'x', 'M', 'a', 's', 'k', 'L', 'e', 'n', '\022', 'S', '\n', '\022', 'v', '6', '_', 'p', 'r', 'e', 'f', 'i', 'x', '_', 'm', +'a', 's', 'k', '_', 'l', 'e', 'n', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\010', '\372', 'B', '\005', '*', '\003', +'\030', '\200', '\001', 'R', '\017', 'v', '6', 'P', 'r', 'e', 'f', 'i', 'x', 'M', 'a', 's', 'k', 'L', 'e', 'n', '\032', '\236', '\001', '\n', '\n', +'G', 'e', 'n', 'e', 'r', 'i', 'c', 'K', 'e', 'y', '\022', '2', '\n', '\020', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '_', +'v', 'a', 'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\017', 'd', 'e', 's', +'c', 'r', 'i', 'p', 't', 'o', 'r', 'V', 'a', 'l', 'u', 'e', '\022', '%', '\n', '\016', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', +'r', '_', 'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\r', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'K', 'e', +'y', ':', '5', '\232', '\305', '\210', '\036', '0', '\n', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', +'u', 't', 'e', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'G', 'e', 'n', 'e', +'r', 'i', 'c', 'K', 'e', 'y', '\032', '\263', '\002', '\n', '\020', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', +'c', 'h', '\022', '%', '\n', '\016', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '_', 'k', 'e', 'y', '\030', '\004', ' ', '\001', '(', +'\t', 'R', '\r', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'K', 'e', 'y', '\022', '2', '\n', '\020', 'd', 'e', 's', 'c', 'r', +'i', 'p', 't', 'o', 'r', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', +'\001', 'R', '\017', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'V', 'a', 'l', 'u', 'e', '\022', '=', '\n', '\014', 'e', 'x', 'p', +'e', 'c', 't', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', +'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\013', 'e', 'x', 'p', 'e', 'c', +'t', 'M', 'a', 't', 'c', 'h', '\022', 'H', '\n', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '$', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', +'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\007', 'h', 'e', +'a', 'd', 'e', 'r', 's', ':', ';', '\232', '\305', '\210', '\036', '6', '\n', '4', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', +'2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', +'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', '\032', '\270', '\001', '\n', '\017', 'D', 'y', 'n', 'a', +'m', 'i', 'c', 'M', 'e', 't', 'a', 'D', 'a', 't', 'a', '\022', '.', '\n', '\016', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', +'_', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\r', 'd', 'e', 's', 'c', +'r', 'i', 'p', 't', 'o', 'r', 'K', 'e', 'y', '\022', 'P', '\n', '\014', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '_', 'k', 'e', 'y', +'\030', '\002', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', +'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', 'B', '\010', '\372', 'B', '\005', '\212', '\001', +'\002', '\020', '\001', 'R', '\013', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', '\022', '#', '\n', '\r', 'd', 'e', 'f', 'a', 'u', +'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', +'l', 'u', 'e', '\032', '\332', '\002', '\n', '\010', 'M', 'e', 't', 'a', 'D', 'a', 't', 'a', '\022', '.', '\n', '\016', 'd', 'e', 's', 'c', 'r', +'i', 'p', 't', 'o', 'r', '_', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', +'\r', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'K', 'e', 'y', '\022', 'P', '\n', '\014', 'm', 'e', 't', 'a', 'd', 'a', 't', +'a', '_', 'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', +'m', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', 'B', '\010', +'\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\013', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', '\022', '#', '\n', '\r', +'d', 'e', 'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\014', 'd', 'e', 'f', 'a', +'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', '\022', 'Y', '\n', '\006', 's', 'o', 'u', 'r', 'c', 'e', '\030', '\004', ' ', '\001', '(', '\016', '2', +'7', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', +'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'M', 'e', 't', 'a', 'D', 'a', 't', 'a', '.', +'S', 'o', 'u', 'r', 'c', 'e', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\006', 's', 'o', 'u', 'r', 'c', 'e', '\022', +'$', '\n', '\016', 's', 'k', 'i', 'p', '_', 'i', 'f', '_', 'a', 'b', 's', 'e', 'n', 't', '\030', '\005', ' ', '\001', '(', '\010', 'R', '\014', +'s', 'k', 'i', 'p', 'I', 'f', 'A', 'b', 's', 'e', 'n', 't', '\"', '&', '\n', '\006', 'S', 'o', 'u', 'r', 'c', 'e', '\022', '\013', '\n', +'\007', 'D', 'Y', 'N', 'A', 'M', 'I', 'C', '\020', '\000', '\022', '\017', '\n', '\013', 'R', 'O', 'U', 'T', 'E', '_', 'E', 'N', 'T', 'R', 'Y', +'\020', '\001', '\032', '\227', '\002', '\n', '\030', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'V', 'a', 'l', 'u', +'e', 'M', 'a', 't', 'c', 'h', '\022', '%', '\n', '\016', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '_', 'k', 'e', 'y', '\030', +'\004', ' ', '\001', '(', '\t', 'R', '\r', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'K', 'e', 'y', '\022', '2', '\n', '\020', 'd', +'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', +'\004', 'r', '\002', '\020', '\001', 'R', '\017', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'V', 'a', 'l', 'u', 'e', '\022', '=', '\n', +'\014', 'e', 'x', 'p', 'e', 'c', 't', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\013', 'e', +'x', 'p', 'e', 'c', 't', 'M', 'a', 't', 'c', 'h', '\022', 'a', '\n', '\020', 'q', 'u', 'e', 'r', 'y', '_', 'p', 'a', 'r', 'a', 'm', +'e', 't', 'e', 'r', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', +'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\017', 'q', 'u', 'e', 'r', 'y', 'P', +'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', ':', '*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', 'n', 'v', 'o', 'y', '.', 'a', +'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', +'i', 'o', 'n', 'B', '\027', '\n', '\020', 'a', 'c', 't', 'i', 'o', 'n', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', +'\370', 'B', '\001', '\032', '\362', '\001', '\n', '\010', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '\022', 'f', '\n', '\020', 'd', 'y', 'n', 'a', 'm', +'i', 'c', '_', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\001', ' ', '\001', '(', '\013', '2', '9', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', +'t', '.', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '.', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'M', 'e', 't', 'a', 'd', 'a', 't', +'a', 'H', '\000', 'R', '\017', 'd', 'y', 'n', 'a', 'm', 'i', 'c', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', '\032', 'c', '\n', '\017', 'D', +'y', 'n', 'a', 'm', 'i', 'c', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'P', '\n', '\014', 'm', 'e', 't', 'a', 'd', 'a', 't', +'a', '_', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', +'m', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', 'B', '\010', +'\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\013', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', 'B', '\031', '\n', '\022', +'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', ':', '#', +'\232', '\305', '\210', '\036', '\036', '\n', '\034', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', +'.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '\"', '\346', '\005', '\n', '\r', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', +'h', 'e', 'r', '\022', '!', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\r', '\372', 'B', '\n', 'r', '\010', '\020', +'\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '.', '\n', '\013', 'e', 'x', 'a', 'c', 't', '_', 'm', 'a', +'t', 'c', 'h', '\030', '\004', ' ', '\001', '(', '\t', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', +'\n', 'e', 'x', 'a', 'c', 't', 'M', 'a', 't', 'c', 'h', '\022', '\\', '\n', '\020', 's', 'a', 'f', 'e', '_', 'r', 'e', 'g', 'e', 'x', +'_', 'm', 'a', 't', 'c', 'h', '\030', '\013', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', +'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', +'\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', '\016', 's', 'a', 'f', 'e', 'R', 'e', 'g', 'e', 'x', +'M', 'a', 't', 'c', 'h', '\022', '<', '\n', '\013', 'r', 'a', 'n', 'g', 'e', '_', 'm', 'a', 't', 'c', 'h', '\030', '\006', ' ', '\001', '(', +'\013', '2', '\031', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'I', 'n', 't', '6', '4', 'R', 'a', +'n', 'g', 'e', 'H', '\000', 'R', '\n', 'r', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', '\022', '%', '\n', '\r', 'p', 'r', 'e', 's', +'e', 'n', 't', '_', 'm', 'a', 't', 'c', 'h', '\030', '\007', ' ', '\001', '(', '\010', 'H', '\000', 'R', '\014', 'p', 'r', 'e', 's', 'e', 'n', +'t', 'M', 'a', 't', 'c', 'h', '\022', '7', '\n', '\014', 'p', 'r', 'e', 'f', 'i', 'x', '_', 'm', 'a', 't', 'c', 'h', '\030', '\t', ' ', +'\001', '(', '\t', 'B', '\022', '\030', '\001', '\372', 'B', '\004', 'r', '\002', '\020', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', +'R', '\013', 'p', 'r', 'e', 'f', 'i', 'x', 'M', 'a', 't', 'c', 'h', '\022', '7', '\n', '\014', 's', 'u', 'f', 'f', 'i', 'x', '_', 'm', +'a', 't', 'c', 'h', '\030', '\n', ' ', '\001', '(', '\t', 'B', '\022', '\030', '\001', '\372', 'B', '\004', 'r', '\002', '\020', '\001', '\222', '\307', '\206', '\330', +'\004', '\003', '3', '.', '0', 'H', '\000', 'R', '\013', 's', 'u', 'f', 'f', 'i', 'x', 'M', 'a', 't', 'c', 'h', '\022', ';', '\n', '\016', 'c', +'o', 'n', 't', 'a', 'i', 'n', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\014', ' ', '\001', '(', '\t', 'B', '\022', '\030', '\001', '\372', 'B', +'\004', 'r', '\002', '\020', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', '\r', 'c', 'o', 'n', 't', 'a', 'i', 'n', +'s', 'M', 'a', 't', 'c', 'h', '\022', 'I', '\n', '\014', 's', 't', 'r', 'i', 'n', 'g', '_', 'm', 'a', 't', 'c', 'h', '\030', '\r', ' ', +'\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', +'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\013', 's', 't', 'r', 'i', 'n', +'g', 'M', 'a', 't', 'c', 'h', '\022', '!', '\n', '\014', 'i', 'n', 'v', 'e', 'r', 't', '_', 'm', 'a', 't', 'c', 'h', '\030', '\010', ' ', +'\001', '(', '\010', 'R', '\013', 'i', 'n', 'v', 'e', 'r', 't', 'M', 'a', 't', 'c', 'h', '\022', '@', '\n', '\035', 't', 'r', 'e', 'a', 't', +'_', 'm', 'i', 's', 's', 'i', 'n', 'g', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'a', 's', '_', 'e', 'm', 'p', 't', 'y', '\030', +'\016', ' ', '\001', '(', '\010', 'R', '\031', 't', 'r', 'e', 'a', 't', 'M', 'i', 's', 's', 'i', 'n', 'g', 'H', 'e', 'a', 'd', 'e', 'r', +'A', 's', 'E', 'm', 'p', 't', 'y', ':', '\'', '\232', '\305', '\210', '\036', '\"', '\n', ' ', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', +'.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\030', +'\n', '\026', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'm', 'a', 't', 'c', 'h', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'J', +'\004', '\010', '\002', '\020', '\003', 'J', '\004', '\010', '\003', '\020', '\004', 'J', '\004', '\010', '\005', '\020', '\006', 'R', '\013', 'r', 'e', 'g', 'e', 'x', '_', +'m', 'a', 't', 'c', 'h', '\"', '\241', '\002', '\n', '\025', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'M', +'a', 't', 'c', 'h', 'e', 'r', '\022', '\036', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\n', '\372', 'B', '\007', +'r', '\005', '\020', '\001', '(', '\200', '\010', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'S', '\n', '\014', 's', 't', 'r', 'i', 'n', 'g', '_', 'm', +'a', 't', 'c', 'h', '\030', '\005', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', +'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', +'\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'H', '\000', 'R', '\013', 's', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', '\022', '%', +'\n', '\r', 'p', 'r', 'e', 's', 'e', 'n', 't', '_', 'm', 'a', 't', 'c', 'h', '\030', '\006', ' ', '\001', '(', '\010', 'H', '\000', 'R', '\014', +'p', 'r', 'e', 's', 'e', 'n', 't', 'M', 'a', 't', 'c', 'h', ':', '/', '\232', '\305', '\210', '\036', '*', '\n', '(', 'e', 'n', 'v', 'o', +'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', +'e', 't', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '!', '\n', '\037', 'q', 'u', 'e', 'r', 'y', '_', 'p', 'a', 'r', 'a', +'m', 'e', 't', 'e', 'r', '_', 'm', 'a', 't', 'c', 'h', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'J', '\004', '\010', '\003', +'\020', '\004', 'J', '\004', '\010', '\004', '\020', '\005', 'R', '\005', 'v', 'a', 'l', 'u', 'e', 'R', '\005', 'r', 'e', 'g', 'e', 'x', '\"', '\206', '\003', +'\n', '\026', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'P', 'o', 'l', 'i', 'c', 'y', '\022', +'R', '\n', '\026', 'm', 'a', 'x', '_', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', 's', +'\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', +'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\024', 'm', 'a', 'x', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'R', +'e', 'd', 'i', 'r', 'e', 'c', 't', 's', '\022', '@', '\n', '\027', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '_', 'r', 'e', 's', 'p', +'o', 'n', 's', 'e', '_', 'c', 'o', 'd', 'e', 's', '\030', '\002', ' ', '\003', '(', '\r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\020', +'\005', 'R', '\025', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'C', 'o', 'd', 'e', 's', '\022', +'J', '\n', '\n', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '*', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\n', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 's', +'\022', '=', '\n', '\033', 'a', 'l', 'l', 'o', 'w', '_', 'c', 'r', 'o', 's', 's', '_', 's', 'c', 'h', 'e', 'm', 'e', '_', 'r', 'e', +'d', 'i', 'r', 'e', 'c', 't', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\030', 'a', 'l', 'l', 'o', 'w', 'C', 'r', 'o', 's', 's', 'S', +'c', 'h', 'e', 'm', 'e', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\022', 'K', '\n', '\030', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', +'_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'c', 'o', 'p', 'y', '\030', '\005', ' ', '\003', '(', '\t', 'B', '\022', '\372', +'B', '\017', '\222', '\001', '\014', '\030', '\001', '\"', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\025', 'r', 'e', 's', 'p', 'o', 'n', +'s', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'C', 'o', 'p', 'y', '\"', 'y', '\n', '\014', 'F', 'i', 'l', 't', 'e', 'r', +'C', 'o', 'n', 'f', 'i', 'g', '\022', ',', '\n', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '\024', '.', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\006', 'c', 'o', 'n', 'f', +'i', 'g', '\022', '\037', '\n', '\013', 'i', 's', '_', 'o', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\n', +'i', 's', 'O', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\022', '\032', '\n', '\010', 'd', 'i', 's', 'a', 'b', 'l', 'e', 'd', '\030', '\003', ' ', +'\001', '(', '\010', 'R', '\010', 'd', 'i', 's', 'a', 'b', 'l', 'e', 'd', 'B', '\213', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', +'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', +'.', 'v', '3', 'B', '\024', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', 'P', 'r', 'o', 't', 'o', +'P', '\001', 'Z', 'D', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', +'/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', +'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', ';', 'r', 'o', 'u', 't', 'e', 'v', '3', '\272', '\200', '\310', +'\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[21] = { + &envoy_config_core_v3_base_proto_upbdefinit, + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_config_core_v3_proxy_protocol_proto_upbdefinit, + &envoy_type_matcher_v3_metadata_proto_upbdefinit, + &envoy_type_matcher_v3_regex_proto_upbdefinit, + &envoy_type_matcher_v3_string_proto_upbdefinit, + &envoy_type_metadata_v3_metadata_proto_upbdefinit, + &envoy_type_tracing_v3_custom_tag_proto_upbdefinit, + &envoy_type_v3_percent_proto_upbdefinit, + &envoy_type_v3_range_proto_upbdefinit, + &google_protobuf_any_proto_upbdefinit, + &google_protobuf_duration_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &xds_annotations_v3_status_proto_upbdefinit, + &xds_type_matcher_v3_matcher_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_migrate_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_route_v3_route_components_proto_upbdefinit = { + deps, + &envoy_config_route_v3_route_components_proto_upb_file_layout, + "envoy/config/route/v3/route_components.proto", + UPB_STRINGVIEW_INIT(descriptor, 23013) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h index 91a440d90a9..9923b99acc3 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/route/v3/route_components.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_ROUTE_V3_ROUTE_COMPONENTS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { @@ -117,6 +116,11 @@ UPB_INLINE const upb_MessageDef *envoy_config_route_v3_RouteAction_HashPolicy_He return upb_DefPool_FindMessageByName(s, "envoy.config.route.v3.RouteAction.HashPolicy.Header"); } +UPB_INLINE const upb_MessageDef *envoy_config_route_v3_RouteAction_HashPolicy_CookieAttribute_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_route_v3_route_components_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.route.v3.RouteAction.HashPolicy.CookieAttribute"); +} + UPB_INLINE const upb_MessageDef *envoy_config_route_v3_RouteAction_HashPolicy_Cookie_getmsgdef(upb_DefPool *s) { _upb_DefPool_LoadDefInit(s, &envoy_config_route_v3_route_components_proto_upbdefinit); return upb_DefPool_FindMessageByName(s, "envoy.config.route.v3.RouteAction.HashPolicy.Cookie"); diff --git a/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c index f3e4f07766a..2aae2647e50 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/route/v3/scoped_route.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/route/v3/scoped_route.upbdefs.h" -#include "envoy/config/route/v3/scoped_route.upb.h" +#include "envoy/config/route/v3/scoped_route.upb_minitable.h" extern _upb_DefPool_Init envoy_config_route_v3_route_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h similarity index 92% rename from src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h index 9ec5807ac12..40dcb1ced35 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/route/v3/scoped_route.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_ROUTE_V3_SCOPED_ROUTE_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c new file mode 100644 index 00000000000..1c2038af439 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c @@ -0,0 +1,205 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/tap/v3/common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/tap/v3/common.upbdefs.h" +#include "envoy/config/tap/v3/common.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_common_matcher_v3_matcher_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_grpc_service_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_route_v3_route_components_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[3990] = {'\n', ' ', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'a', 'p', '/', 'v', '3', '/', 'c', 'o', 'm', +'m', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', +'a', 'p', '.', 'v', '3', '\032', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'm', 'm', 'o', +'n', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', +'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', +'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', +'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', 'e', +'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'g', 'r', 'p', 'c', '_', +'s', 'e', 'r', 'v', 'i', 'c', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', +'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 'r', 'o', 'u', 't', 'e', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', +'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', +'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', +'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', +'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', +'t', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', +'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', +'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', +'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', +'o', '\"', '\365', '\002', '\n', '\t', 'T', 'a', 'p', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'S', '\n', '\014', 'm', 'a', 't', 'c', 'h', '_', +'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', +'\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\013', 'm', 'a', 't', 'c', 'h', 'C', 'o', 'n', 'f', 'i', 'g', +'\022', 'D', '\n', '\005', 'm', 'a', 't', 'c', 'h', '\030', '\004', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', +'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'R', '\005', 'm', 'a', 't', 'c', 'h', '\022', 'P', '\n', '\r', 'o', +'u', 't', 'p', 'u', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'O', 'u', 't', 'p', 'u', 't', 'C', 'o', 'n', +'f', 'i', 'g', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\014', 'o', 'u', 't', 'p', 'u', 't', 'C', 'o', 'n', 'f', +'i', 'g', '\022', 'O', '\n', '\013', 't', 'a', 'p', '_', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\030', '\003', ' ', '\001', '(', '\013', '2', '.', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', +'t', 'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\n', 't', 'a', +'p', 'E', 'n', 'a', 'b', 'l', 'e', 'd', ':', '*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', +'r', 'v', 'i', 'c', 'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'T', 'a', 'p', 'C', 'o', 'n', 'f', +'i', 'g', '\"', '\346', '\010', '\n', '\016', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'I', '\n', '\010', +'o', 'r', '_', 'm', 'a', 't', 'c', 'h', '\030', '\001', ' ', '\001', '(', '\013', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', +'e', '.', 'M', 'a', 't', 'c', 'h', 'S', 'e', 't', 'H', '\000', 'R', '\007', 'o', 'r', 'M', 'a', 't', 'c', 'h', '\022', 'K', '\n', '\t', +'a', 'n', 'd', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', +'t', 'e', '.', 'M', 'a', 't', 'c', 'h', 'S', 'e', 't', 'H', '\000', 'R', '\010', 'a', 'n', 'd', 'M', 'a', 't', 'c', 'h', '\022', 'B', +'\n', '\t', 'n', 'o', 't', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', +'c', 'a', 't', 'e', 'H', '\000', 'R', '\010', 'n', 'o', 't', 'M', 'a', 't', 'c', 'h', '\022', '&', '\n', '\t', 'a', 'n', 'y', '_', 'm', +'a', 't', 'c', 'h', '\030', '\004', ' ', '\001', '(', '\010', 'B', '\007', '\372', 'B', '\004', 'j', '\002', '\010', '\001', 'H', '\000', 'R', '\010', 'a', 'n', +'y', 'M', 'a', 't', 'c', 'h', '\022', 'd', '\n', '\032', 'h', 't', 't', 'p', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', +'a', 'd', 'e', 'r', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\005', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', +'s', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\027', 'h', 't', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', +'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', 'f', '\n', '\033', 'h', 't', 't', 'p', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', +'t', 'r', 'a', 'i', 'l', 'e', 'r', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\006', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'H', 'e', 'a', +'d', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\030', 'h', 't', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'T', +'r', 'a', 'i', 'l', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', 'f', '\n', '\033', 'h', 't', 't', 'p', '_', 'r', 'e', 's', 'p', +'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\007', ' ', '\001', '(', '\013', '2', +'%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'H', 't', 't', +'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\030', 'h', 't', 't', 'p', 'R', 'e', 's', 'p', +'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', 'h', '\n', '\034', 'h', 't', 't', 'p', '_', +'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 't', 'r', 'a', 'i', 'l', 'e', 'r', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\010', +' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', +'3', '.', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\031', 'h', 't', 't', +'p', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'T', 'r', 'a', 'i', 'l', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', 'q', '\n', +'\037', 'h', 't', 't', 'p', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 'b', 'o', 'd', +'y', '_', 'm', 'a', 't', 'c', 'h', '\030', '\t', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', +'y', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\033', 'h', 't', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'G', 'e', 'n', 'e', +'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', '\022', 's', '\n', ' ', 'h', 't', 't', 'p', '_', 'r', 'e', 's', 'p', +'o', 'n', 's', 'e', '_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 'b', 'o', 'd', 'y', '_', 'm', 'a', 't', 'c', 'h', '\030', '\n', +' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', +'3', '.', 'H', 't', 't', 'p', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', +'\034', 'h', 't', 't', 'p', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', +'a', 't', 'c', 'h', '\032', '\211', '\001', '\n', '\010', 'M', 'a', 't', 'c', 'h', 'S', 'e', 't', '\022', 'C', '\n', '\005', 'r', 'u', 'l', 'e', +'s', '\030', '\001', ' ', '\003', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', +'p', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\010', '\372', 'B', '\005', '\222', +'\001', '\002', '\010', '\002', 'R', '\005', 'r', 'u', 'l', 'e', 's', ':', '8', '\232', '\305', '\210', '\036', '3', '\n', '1', 'e', 'n', 'v', 'o', 'y', +'.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'M', 'a', 't', 'c', +'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'M', 'a', 't', 'c', 'h', 'S', 'e', 't', ':', '/', '\232', '\305', '\210', '\036', +'*', '\n', '(', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', +'p', 'h', 'a', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\013', '\n', '\004', 'r', 'u', 'l', +'e', '\022', '\003', '\370', 'B', '\001', '\"', '\205', '\001', '\n', '\020', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', +'c', 'h', '\022', '>', '\n', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', +'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', ':', '1', '\232', '\305', '\210', '\036', ',', '\n', '*', +'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', +'.', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\"', '\226', '\002', '\n', '\024', 'H', 't', 't', +'p', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', '\022', '\037', '\n', '\013', 'b', 'y', 't', 'e', +'s', '_', 'l', 'i', 'm', 'i', 't', '\030', '\001', ' ', '\001', '(', '\r', 'R', '\n', 'b', 'y', 't', 'e', 's', 'L', 'i', 'm', 'i', 't', +'\022', '`', '\n', '\010', 'p', 'a', 't', 't', 'e', 'r', 'n', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'G', 'e', 'n', 'e', 'r', +'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', '.', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'T', 'e', 'x', 't', 'M', 'a', +'t', 'c', 'h', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\010', 'p', 'a', 't', 't', 'e', 'r', 'n', 's', '\032', '{', +'\n', '\020', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'T', 'e', 'x', 't', 'M', 'a', 't', 'c', 'h', '\022', ',', '\n', '\014', 's', 't', 'r', +'i', 'n', 'g', '_', 'm', 'a', 't', 'c', 'h', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', +'\000', 'R', '\013', 's', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', '\022', ',', '\n', '\014', 'b', 'i', 'n', 'a', 'r', 'y', '_', +'m', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\014', 'B', '\007', '\372', 'B', '\004', 'z', '\002', '\020', '\001', 'H', '\000', 'R', '\013', 'b', +'i', 'n', 'a', 'r', 'y', 'M', 'a', 't', 'c', 'h', 'B', '\013', '\n', '\004', 'r', 'u', 'l', 'e', '\022', '\003', '\370', 'B', '\001', '\"', '\300', +'\002', '\n', '\014', 'O', 'u', 't', 'p', 'u', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'A', '\n', '\005', 's', 'i', 'n', 'k', 's', '\030', +'\001', ' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', +'v', '3', '.', 'O', 'u', 't', 'p', 'u', 't', 'S', 'i', 'n', 'k', 'B', '\n', '\372', 'B', '\007', '\222', '\001', '\004', '\010', '\001', '\020', '\001', +'R', '\005', 's', 'i', 'n', 'k', 's', '\022', 'O', '\n', '\025', 'm', 'a', 'x', '_', 'b', 'u', 'f', 'f', 'e', 'r', 'e', 'd', '_', 'r', +'x', '_', 'b', 'y', 't', 'e', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\022', 'm', 'a', 'x', 'B', 'u', +'f', 'f', 'e', 'r', 'e', 'd', 'R', 'x', 'B', 'y', 't', 'e', 's', '\022', 'O', '\n', '\025', 'm', 'a', 'x', '_', 'b', 'u', 'f', 'f', +'e', 'r', 'e', 'd', '_', 't', 'x', '_', 'b', 'y', 't', 'e', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', +'\022', 'm', 'a', 'x', 'B', 'u', 'f', 'f', 'e', 'r', 'e', 'd', 'T', 'x', 'B', 'y', 't', 'e', 's', '\022', '\034', '\n', '\t', 's', 't', +'r', 'e', 'a', 'm', 'i', 'n', 'g', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\t', 's', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', ':', +'-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 't', 'a', 'p', +'.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'O', 'u', 't', 'p', 'u', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\"', '\252', '\005', '\n', +'\n', 'O', 'u', 't', 'p', 'u', 't', 'S', 'i', 'n', 'k', '\022', 'H', '\n', '\006', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\001', ' ', '\001', +'(', '\016', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', +'O', 'u', 't', 'p', 'u', 't', 'S', 'i', 'n', 'k', '.', 'F', 'o', 'r', 'm', 'a', 't', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', +'\020', '\001', 'R', '\006', 'f', 'o', 'r', 'm', 'a', 't', '\022', 'R', '\n', '\017', 's', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', '_', 'a', +'d', 'm', 'i', 'n', '\030', '\002', ' ', '\001', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 't', 'a', 'p', '.', 'v', '3', '.', 'S', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', 'A', 'd', 'm', 'i', 'n', 'S', 'i', 'n', +'k', 'H', '\000', 'R', '\016', 's', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', 'A', 'd', 'm', 'i', 'n', '\022', 'G', '\n', '\014', 'f', 'i', +'l', 'e', '_', 'p', 'e', 'r', '_', 't', 'a', 'p', '\030', '\003', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'F', 'i', 'l', 'e', 'P', 'e', 'r', 'T', 'a', 'p', 'S', +'i', 'n', 'k', 'H', '\000', 'R', '\n', 'f', 'i', 'l', 'e', 'P', 'e', 'r', 'T', 'a', 'p', '\022', 'O', '\n', '\016', 's', 't', 'r', 'e', +'a', 'm', 'i', 'n', 'g', '_', 'g', 'r', 'p', 'c', '\030', '\004', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'S', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', 'G', 'r', +'p', 'c', 'S', 'i', 'n', 'k', 'H', '\000', 'R', '\r', 's', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', 'G', 'r', 'p', 'c', '\022', 'O', +'\n', '\016', 'b', 'u', 'f', 'f', 'e', 'r', 'e', 'd', '_', 'a', 'd', 'm', 'i', 'n', '\030', '\005', ' ', '\001', '(', '\013', '2', '&', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'B', 'u', 'f', 'f', 'e', +'r', 'e', 'd', 'A', 'd', 'm', 'i', 'n', 'S', 'i', 'n', 'k', 'H', '\000', 'R', '\r', 'b', 'u', 'f', 'f', 'e', 'r', 'e', 'd', 'A', +'d', 'm', 'i', 'n', '\022', 'M', '\n', '\013', 'c', 'u', 's', 't', 'o', 'm', '_', 's', 'i', 'n', 'k', '\030', '\006', ' ', '\001', '(', '\013', +'2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', +'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\n', 'c', 'u', +'s', 't', 'o', 'm', 'S', 'i', 'n', 'k', '\"', '~', '\n', '\006', 'F', 'o', 'r', 'm', 'a', 't', '\022', '\026', '\n', '\022', 'J', 'S', 'O', +'N', '_', 'B', 'O', 'D', 'Y', '_', 'A', 'S', '_', 'B', 'Y', 'T', 'E', 'S', '\020', '\000', '\022', '\027', '\n', '\023', 'J', 'S', 'O', 'N', +'_', 'B', 'O', 'D', 'Y', '_', 'A', 'S', '_', 'S', 'T', 'R', 'I', 'N', 'G', '\020', '\001', '\022', '\020', '\n', '\014', 'P', 'R', 'O', 'T', +'O', '_', 'B', 'I', 'N', 'A', 'R', 'Y', '\020', '\002', '\022', '!', '\n', '\035', 'P', 'R', 'O', 'T', 'O', '_', 'B', 'I', 'N', 'A', 'R', +'Y', '_', 'L', 'E', 'N', 'G', 'T', 'H', '_', 'D', 'E', 'L', 'I', 'M', 'I', 'T', 'E', 'D', '\020', '\003', '\022', '\016', '\n', '\n', 'P', +'R', 'O', 'T', 'O', '_', 'T', 'E', 'X', 'T', '\020', '\004', ':', '+', '\232', '\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', 'y', +'.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'O', 'u', 't', 'p', +'u', 't', 'S', 'i', 'n', 'k', 'B', '\027', '\n', '\020', 'o', 'u', 't', 'p', 'u', 't', '_', 's', 'i', 'n', 'k', '_', 't', 'y', 'p', +'e', '\022', '\003', '\370', 'B', '\001', '\"', 'I', '\n', '\022', 'S', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', 'A', 'd', 'm', 'i', 'n', 'S', +'i', 'n', 'k', ':', '3', '\232', '\305', '\210', '\036', '.', '\n', ',', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', +'.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'S', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', 'A', 'd', 'm', +'i', 'n', 'S', 'i', 'n', 'k', '\"', 'p', '\n', '\021', 'B', 'u', 'f', 'f', 'e', 'r', 'e', 'd', 'A', 'd', 'm', 'i', 'n', 'S', 'i', +'n', 'k', '\022', '&', '\n', '\n', 'm', 'a', 'x', '_', 't', 'r', 'a', 'c', 'e', 's', '\030', '\001', ' ', '\001', '(', '\004', 'B', '\007', '\372', +'B', '\004', '2', '\002', ' ', '\000', 'R', '\t', 'm', 'a', 'x', 'T', 'r', 'a', 'c', 'e', 's', '\022', '3', '\n', '\007', 't', 'i', 'm', 'e', +'o', 'u', 't', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\007', 't', 'i', 'm', 'e', 'o', 'u', 't', '\"', 'k', '\n', '\016', 'F', +'i', 'l', 'e', 'P', 'e', 'r', 'T', 'a', 'p', 'S', 'i', 'n', 'k', '\022', '(', '\n', '\013', 'p', 'a', 't', 'h', '_', 'p', 'r', 'e', +'f', 'i', 'x', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\n', 'p', 'a', 't', 'h', 'P', +'r', 'e', 'f', 'i', 'x', ':', '/', '\232', '\305', '\210', '\036', '*', '\n', '(', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', +'c', 'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'F', 'i', 'l', 'e', 'P', 'e', 'r', 'T', 'a', 'p', +'S', 'i', 'n', 'k', '\"', '\256', '\001', '\n', '\021', 'S', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', 'G', 'r', 'p', 'c', 'S', 'i', 'n', +'k', '\022', '\025', '\n', '\006', 't', 'a', 'p', '_', 'i', 'd', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\005', 't', 'a', 'p', 'I', 'd', '\022', +'N', '\n', '\014', 'g', 'r', 'p', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '!', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'G', 'r', 'p', 'c', 'S', +'e', 'r', 'v', 'i', 'c', 'e', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\013', 'g', 'r', 'p', 'c', 'S', 'e', 'r', +'v', 'i', 'c', 'e', ':', '2', '\232', '\305', '\210', '\036', '-', '\n', '+', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', +'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'S', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', 'G', 'r', +'p', 'c', 'S', 'i', 'n', 'k', 'B', '|', '\n', '!', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', 'B', '\013', 'C', 'o', 'm', 'm', 'o', +'n', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '@', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', +'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', +'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'a', 'p', '/', 'v', '3', ';', 't', 'a', 'p', 'v', '3', '\272', +'\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[12] = { + &envoy_config_common_matcher_v3_matcher_proto_upbdefinit, + &envoy_config_core_v3_base_proto_upbdefinit, + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_config_core_v3_grpc_service_proto_upbdefinit, + &envoy_config_route_v3_route_components_proto_upbdefinit, + &google_protobuf_duration_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_tap_v3_common_proto_upbdefinit = { + deps, + &envoy_config_tap_v3_common_proto_upb_file_layout, + "envoy/config/tap/v3/common.proto", + UPB_STRINGVIEW_INIT(descriptor, 3990) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h new file mode 100644 index 00000000000..8f93d94b19c --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h @@ -0,0 +1,90 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/tap/v3/common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPBDEFS_H_ +#define ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_config_tap_v3_common_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_TapConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.TapConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_MatchPredicate_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.MatchPredicate"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_MatchPredicate_MatchSet_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.MatchPredicate.MatchSet"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_HttpHeadersMatch_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.HttpHeadersMatch"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_HttpGenericBodyMatch_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.HttpGenericBodyMatch"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_OutputConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.OutputConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_OutputSink_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.OutputSink"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_StreamingAdminSink_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.StreamingAdminSink"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_BufferedAdminSink_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.BufferedAdminSink"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_FilePerTapSink_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.FilePerTapSink"); +} + +UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_StreamingGrpcSink_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.StreamingGrpcSink"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c index fca5f0a1c99..dc1736c01e6 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/datadog.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/trace/v3/datadog.upbdefs.h" -#include "envoy/config/trace/v3/datadog.upb.h" +#include "envoy/config/trace/v3/datadog.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h index 9afc2d832fe..cf801548464 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/datadog.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_TRACE_V3_DATADOG_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c new file mode 100644 index 00000000000..a7df08e9c3f --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c @@ -0,0 +1,60 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/dynamic_ot.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/trace/v3/dynamic_ot.upbdefs.h" +#include "envoy/config/trace/v3/dynamic_ot.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[622] = {'\n', '&', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', '/', 'd', +'y', 'n', 'a', 'm', 'i', 'c', '_', 'o', 't', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', '\032', '\034', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '/', 's', 't', 'r', 'u', 'c', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', +'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', +'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', +'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', +'t', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', +'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', +'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', +'o', 't', 'o', '\"', '\253', '\001', '\n', '\017', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'O', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', ',', +'\n', '\007', 'l', 'i', 'b', 'r', 'a', 'r', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\022', '\030', '\001', '\372', 'B', '\004', 'r', '\002', '\020', +'\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\007', 'l', 'i', 'b', 'r', 'a', 'r', 'y', '\022', '<', '\n', '\006', 'c', 'o', +'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\006', +'c', 'o', 'n', 'f', 'i', 'g', ':', ',', '\232', '\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '2', '.', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'O', 't', 'C', 'o', 'n', 'f', +'i', 'g', 'B', '\270', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', 'B', '\016', 'D', 'y', 'n', 'a', 'm', 'i', +'c', 'O', 't', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'D', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', +'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', +'/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', ';', 't', 'r', +'a', 'c', 'e', 'v', '3', '\362', '\230', '\376', '\217', '\005', '-', '\022', '+', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', +'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'c', 'e', 'r', 's', '.', 'd', 'y', 'n', 'a', 'm', 'i', 'c', '_', 'o', 't', '.', 'v', +'4', 'a', 'l', 'p', 'h', 'a', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[7] = { + &google_protobuf_struct_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_migrate_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_trace_v3_dynamic_ot_proto_upbdefinit = { + deps, + &envoy_config_trace_v3_dynamic_ot_proto_upb_file_layout, + "envoy/config/trace/v3/dynamic_ot.proto", + UPB_STRINGVIEW_INIT(descriptor, 622) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h index 30563f83df5..6bf69e209a4 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/dynamic_ot.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_TRACE_V3_DYNAMIC_OT_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c index 4b6a4acfd34..4fad20ab31b 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/http_tracer.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/trace/v3/http_tracer.upbdefs.h" -#include "envoy/config/trace/v3/http_tracer.upb.h" +#include "envoy/config/trace/v3/http_tracer.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h similarity index 90% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h index 2acbfd7ebed..35c465bf64c 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/http_tracer.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_TRACE_V3_HTTP_TRACER_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c index 11f7d5a6476..59c3c42b5e1 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/lightstep.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/trace/v3/lightstep.upbdefs.h" -#include "envoy/config/trace/v3/lightstep.upb.h" +#include "envoy/config/trace/v3/lightstep.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h index f9efa7ca5e6..d40263c7ed7 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/lightstep.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_TRACE_V3_LIGHTSTEP_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c new file mode 100644 index 00000000000..97870865859 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c @@ -0,0 +1,104 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/opencensus.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/trace/v3/opencensus.upbdefs.h" +#include "envoy/config/trace/v3/opencensus.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_grpc_service_proto_upbdefinit; +extern _upb_DefPool_Init opencensus_proto_trace_v1_trace_config_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +static const char descriptor[1702] = {'\n', '&', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', '/', 'o', +'p', 'e', 'n', 'c', 'e', 'n', 's', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', +'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'g', 'r', 'p', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 'p', +'r', 'o', 't', 'o', '\032', ',', 'o', 'p', 'e', 'n', 'c', 'e', 'n', 's', 'u', 's', '/', 'p', 'r', 'o', 't', 'o', '/', 't', 'r', +'a', 'c', 'e', '/', 'v', '1', '/', 't', 'r', 'a', 'c', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'p', 'r', 'o', 't', 'o', +'\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', +'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', +'t', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', +'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', +'\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', +'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\"', '\302', '\t', '\n', '\020', 'O', 'p', 'e', 'n', 'C', 'e', 'n', 's', 'u', 's', +'C', 'o', 'n', 'f', 'i', 'g', '\022', 'V', '\n', '\014', 't', 'r', 'a', 'c', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', +'\001', '(', '\013', '2', '&', '.', 'o', 'p', 'e', 'n', 'c', 'e', 'n', 's', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '.', 't', 'r', +'a', 'c', 'e', '.', 'v', '1', '.', 'T', 'r', 'a', 'c', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\013', '\030', '\001', '\222', '\307', '\206', +'\330', '\004', '\003', '3', '.', '0', 'R', '\013', 't', 'r', 'a', 'c', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'C', '\n', '\027', 's', 't', +'d', 'o', 'u', 't', '_', 'e', 'x', 'p', 'o', 'r', 't', 'e', 'r', '_', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\030', '\002', ' ', '\001', +'(', '\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\025', 's', 't', 'd', 'o', 'u', 't', 'E', 'x', +'p', 'o', 'r', 't', 'e', 'r', 'E', 'n', 'a', 'b', 'l', 'e', 'd', '\022', 'M', '\n', '\034', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', +'v', 'e', 'r', '_', 'e', 'x', 'p', 'o', 'r', 't', 'e', 'r', '_', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\030', '\003', ' ', '\001', '(', +'\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\032', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', +'e', 'r', 'E', 'x', 'p', 'o', 'r', 't', 'e', 'r', 'E', 'n', 'a', 'b', 'l', 'e', 'd', '\022', 'A', '\n', '\026', 's', 't', 'a', 'c', +'k', 'd', 'r', 'i', 'v', 'e', 'r', '_', 'p', 'r', 'o', 'j', 'e', 'c', 't', '_', 'i', 'd', '\030', '\004', ' ', '\001', '(', '\t', 'B', +'\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\024', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', 'e', 'r', +'P', 'r', 'o', 'j', 'e', 'c', 't', 'I', 'd', '\022', '<', '\n', '\023', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', 'e', 'r', '_', +'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\n', ' ', '\001', '(', '\t', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', +'0', 'R', '\022', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', 'e', 'r', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'h', '\n', '\030', +'s', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', 'e', 'r', '_', 'g', 'r', 'p', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '\030', +'\r', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', +'.', 'v', '3', '.', 'G', 'r', 'p', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', +'3', '.', '0', 'R', '\026', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', 'e', 'r', 'G', 'r', 'p', 'c', 'S', 'e', 'r', 'v', 'i', +'c', 'e', '\022', 'C', '\n', '\027', 'z', 'i', 'p', 'k', 'i', 'n', '_', 'e', 'x', 'p', 'o', 'r', 't', 'e', 'r', '_', 'e', 'n', 'a', +'b', 'l', 'e', 'd', '\030', '\005', ' ', '\001', '(', '\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\025', +'z', 'i', 'p', 'k', 'i', 'n', 'E', 'x', 'p', 'o', 'r', 't', 'e', 'r', 'E', 'n', 'a', 'b', 'l', 'e', 'd', '\022', '*', '\n', '\n', +'z', 'i', 'p', 'k', 'i', 'n', '_', 'u', 'r', 'l', '\030', '\006', ' ', '\001', '(', '\t', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', +'\003', '3', '.', '0', 'R', '\t', 'z', 'i', 'p', 'k', 'i', 'n', 'U', 'r', 'l', '\022', 'E', '\n', '\030', 'o', 'c', 'a', 'g', 'e', 'n', +'t', '_', 'e', 'x', 'p', 'o', 'r', 't', 'e', 'r', '_', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\030', '\013', ' ', '\001', '(', '\010', 'B', +'\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\026', 'o', 'c', 'a', 'g', 'e', 'n', 't', 'E', 'x', 'p', 'o', +'r', 't', 'e', 'r', 'E', 'n', 'a', 'b', 'l', 'e', 'd', '\022', '4', '\n', '\017', 'o', 'c', 'a', 'g', 'e', 'n', 't', '_', 'a', 'd', +'d', 'r', 'e', 's', 's', '\030', '\014', ' ', '\001', '(', '\t', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', +'\016', 'o', 'c', 'a', 'g', 'e', 'n', 't', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', '`', '\n', '\024', 'o', 'c', 'a', 'g', 'e', 'n', +'t', '_', 'g', 'r', 'p', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '\030', '\016', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'G', 'r', 'p', 'c', 'S', 'e', +'r', 'v', 'i', 'c', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\022', 'o', 'c', 'a', 'g', 'e', +'n', 't', 'G', 'r', 'p', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', '\022', 'w', '\n', '\026', 'i', 'n', 'c', 'o', 'm', 'i', 'n', 'g', +'_', 't', 'r', 'a', 'c', 'e', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '\030', '\010', ' ', '\003', '(', '\016', '2', '4', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', '.', 'O', 'p', 'e', 'n', 'C', +'e', 'n', 's', 'u', 's', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'T', 'r', 'a', 'c', 'e', 'C', 'o', 'n', 't', 'e', 'x', 't', 'B', +'\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\024', 'i', 'n', 'c', 'o', 'm', 'i', 'n', 'g', 'T', 'r', 'a', +'c', 'e', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', 'w', '\n', '\026', 'o', 'u', 't', 'g', 'o', 'i', 'n', 'g', '_', 't', 'r', 'a', +'c', 'e', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '\030', '\t', ' ', '\003', '(', '\016', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', '.', 'O', 'p', 'e', 'n', 'C', 'e', 'n', 's', 'u', +'s', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'T', 'r', 'a', 'c', 'e', 'C', 'o', 'n', 't', 'e', 'x', 't', 'B', '\013', '\030', '\001', '\222', +'\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\024', 'o', 'u', 't', 'g', 'o', 'i', 'n', 'g', 'T', 'r', 'a', 'c', 'e', 'C', 'o', +'n', 't', 'e', 'x', 't', '\"', '`', '\n', '\014', 'T', 'r', 'a', 'c', 'e', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', '\010', '\n', '\004', +'N', 'O', 'N', 'E', '\020', '\000', '\022', '\021', '\n', '\r', 'T', 'R', 'A', 'C', 'E', '_', 'C', 'O', 'N', 'T', 'E', 'X', 'T', '\020', '\001', +'\022', '\022', '\n', '\016', 'G', 'R', 'P', 'C', '_', 'T', 'R', 'A', 'C', 'E', '_', 'B', 'I', 'N', '\020', '\002', '\022', '\027', '\n', '\023', 'C', +'L', 'O', 'U', 'D', '_', 'T', 'R', 'A', 'C', 'E', '_', 'C', 'O', 'N', 'T', 'E', 'X', 'T', '\020', '\003', '\022', '\006', '\n', '\002', 'B', +'3', '\020', '\004', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'t', 'r', 'a', 'c', 'e', '.', 'v', '2', '.', 'O', 'p', 'e', 'n', 'C', 'e', 'n', 's', 'u', 's', 'C', 'o', 'n', 'f', 'i', 'g', +'J', '\004', '\010', '\007', '\020', '\010', 'B', '\271', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', 'B', '\017', 'O', 'p', +'e', 'n', 'c', 'e', 'n', 's', 'u', 's', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'D', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', +'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', +'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', +'v', '3', ';', 't', 'r', 'a', 'c', 'e', 'v', '3', '\362', '\230', '\376', '\217', '\005', '-', '\022', '+', 'e', 'n', 'v', 'o', 'y', '.', 'e', +'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'c', 'e', 'r', 's', '.', 'o', 'p', 'e', 'n', 'c', 'e', 'n', +'s', 'u', 's', '.', 'v', '4', 'a', 'l', 'p', 'h', 'a', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', +'o', '3', +}; + +static _upb_DefPool_Init *deps[7] = { + &envoy_config_core_v3_grpc_service_proto_upbdefinit, + &opencensus_proto_trace_v1_trace_config_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_migrate_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_trace_v3_opencensus_proto_upbdefinit = { + deps, + &envoy_config_trace_v3_opencensus_proto_upb_file_layout, + "envoy/config/trace/v3/opencensus.proto", + UPB_STRINGVIEW_INIT(descriptor, 1702) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h index d71fe83c617..ebc941ff475 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/opencensus.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_TRACE_V3_OPENCENSUS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c new file mode 100644 index 00000000000..be624cc1b56 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c @@ -0,0 +1,66 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/config/trace/v3/opentelemetry.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/config/trace/v3/opentelemetry.upbdefs.h" +#include "envoy/config/trace/v3/opentelemetry.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_grpc_service_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_http_service_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +static const char descriptor[803] = {'\n', ')', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', '/', 'o', +'p', 'e', 'n', 't', 'e', 'l', 'e', 'm', 'e', 't', 'r', 'y', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', +'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', +'r', 'o', 't', 'o', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', +'3', '/', 'g', 'r', 'p', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', 'e', 'n', 'v', +'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'h', 't', 't', 'p', '_', 's', 'e', +'r', 'v', 'i', 'c', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', +'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', +'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\"', +'\223', '\003', '\n', '\023', 'O', 'p', 'e', 'n', 'T', 'e', 'l', 'e', 'm', 'e', 't', 'r', 'y', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '[', +'\n', '\014', 'g', 'r', 'p', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'G', 'r', 'p', 'c', 'S', 'e', +'r', 'v', 'i', 'c', 'e', 'B', '\025', '\362', '\230', '\376', '\217', '\005', '\017', '\022', '\r', 'o', 't', 'l', 'p', '_', 'e', 'x', 'p', 'o', 'r', +'t', 'e', 'r', 'R', '\013', 'g', 'r', 'p', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', '\022', '[', '\n', '\014', 'h', 't', 't', 'p', '_', +'s', 'e', 'r', 'v', 'i', 'c', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'B', '\025', +'\362', '\230', '\376', '\217', '\005', '\017', '\022', '\r', 'o', 't', 'l', 'p', '_', 'e', 'x', 'p', 'o', 'r', 't', 'e', 'r', 'R', '\013', 'h', 't', +'t', 'p', 'S', 'e', 'r', 'v', 'i', 'c', 'e', '\022', '!', '\n', '\014', 's', 'e', 'r', 'v', 'i', 'c', 'e', '_', 'n', 'a', 'm', 'e', +'\030', '\002', ' ', '\001', '(', '\t', 'R', '\013', 's', 'e', 'r', 'v', 'i', 'c', 'e', 'N', 'a', 'm', 'e', '\022', 'Y', '\n', '\022', 'r', 'e', +'s', 'o', 'u', 'r', 'c', 'e', '_', 'd', 'e', 't', 'e', 'c', 't', 'o', 'r', 's', '\030', '\004', ' ', '\003', '(', '\013', '2', '*', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', +'d', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\021', 'r', 'e', 's', 'o', 'u', 'r', 'c', +'e', 'D', 'e', 't', 'e', 'c', 't', 'o', 'r', 's', '\022', 'D', '\n', '\007', 's', 'a', 'm', 'p', 'l', 'e', 'r', '\030', '\005', ' ', '\001', +'(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', +'.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\007', 's', 'a', +'m', 'p', 'l', 'e', 'r', 'B', '\211', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', 'B', '\022', 'O', 'p', 'e', +'n', 't', 'e', 'l', 'e', 'm', 'e', 't', 'r', 'y', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'D', 'g', 'i', 't', 'h', 'u', 'b', +'.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', +'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'r', 'a', 'c', +'e', '/', 'v', '3', ';', 't', 'r', 'a', 'c', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', +'t', 'o', '3', +}; + +static _upb_DefPool_Init *deps[6] = { + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_config_core_v3_grpc_service_proto_upbdefinit, + &envoy_config_core_v3_http_service_proto_upbdefinit, + &udpa_annotations_migrate_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_config_trace_v3_opentelemetry_proto_upbdefinit = { + deps, + &envoy_config_trace_v3_opentelemetry_proto_upb_file_layout, + "envoy/config/trace/v3/opentelemetry.proto", + UPB_STRINGVIEW_INIT(descriptor, 803) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h similarity index 88% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h index 2d73369bb87..d2ece6bd535 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/opentelemetry.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_TRACE_V3_OPENTELEMETRY_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c index c18d54a968b..57ab06ee26d 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/service.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/trace/v3/service.upbdefs.h" -#include "envoy/config/trace/v3/service.upb.h" +#include "envoy/config/trace/v3/service.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_grpc_service_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h index 11825fa998e..e51cf919627 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/service.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_TRACE_V3_SERVICE_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c index a59b203b57f..374827888ef 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/skywalking.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/trace/v3/skywalking.upbdefs.h" -#include "envoy/config/trace/v3/skywalking.upb.h" +#include "envoy/config/trace/v3/skywalking.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_grpc_service_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h similarity index 90% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h index a85af64a1e1..1b45f3bd5d5 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/skywalking.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_TRACE_V3_SKYWALKING_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c index fa785fb5b9f..8628a6b4b0e 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/trace.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/trace/v3/trace.upbdefs.h" -#include "envoy/config/trace/v3/trace.upb.h" +#include "envoy/config/trace/v3/trace.upb_minitable.h" extern _upb_DefPool_Init envoy_config_trace_v3_datadog_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_trace_v3_dynamic_ot_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h similarity index 83% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h index 64328cf33bb..f7f80cee453 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/trace.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_TRACE_V3_TRACE_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c index eff30ec62b5..6f1f19c108c 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/xray.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/trace/v3/xray.upbdefs.h" -#include "envoy/config/trace/v3/xray.upb.h" +#include "envoy/config/trace/v3/xray.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h similarity index 90% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h index 99d033c0f62..d9a3b36ec47 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/xray.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_TRACE_V3_XRAY_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c index f1dd8f028d9..61ad81a946b 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/zipkin.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/config/trace/v3/zipkin.upbdefs.h" -#include "envoy/config/trace/v3/zipkin.upb.h" +#include "envoy/config/trace/v3/zipkin.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h index d935c6b83e0..309028483e1 100644 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/config/trace/v3/zipkin.proto * @@ -10,7 +9,7 @@ #define ENVOY_CONFIG_TRACE_V3_ZIPKIN_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c new file mode 100644 index 00000000000..79783887b85 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c @@ -0,0 +1,404 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/data/accesslog/v3/accesslog.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/data/accesslog/v3/accesslog.upbdefs.h" +#include "envoy/data/accesslog/v3/accesslog.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_timestamp_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[9023] = {'\n', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'd', 'a', 't', 'a', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '/', 'v', '3', +'/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'p', 'r', 'o', 't', 'o', '\022', '\027', 'e', 'n', 'v', 'o', 'y', '.', 'd', +'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', +'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'a', 'd', 'd', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', +'t', 'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', +'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', +'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'g', 'o', 'o', 'g', +'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 't', 'i', 'm', 'e', 's', 't', 'a', 'm', 'p', '.', 'p', 'r', 'o', +'t', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', +'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', +'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', +'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', +'t', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', +'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', +'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\200', '\002', '\n', '\021', 'T', 'C', 'P', 'A', 'c', 'c', 'e', 's', +'s', 'L', 'o', 'g', 'E', 'n', 't', 'r', 'y', '\022', 'U', '\n', '\021', 'c', 'o', 'm', 'm', 'o', 'n', '_', 'p', 'r', 'o', 'p', 'e', +'r', 't', 'i', 'e', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '(', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', +'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'C', 'o', 'm', +'m', 'o', 'n', 'R', '\020', 'c', 'o', 'm', 'm', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', 'b', '\n', '\025', +'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'p', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\030', '\002', ' ', '\001', +'(', '\013', '2', '-', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', +'.', 'v', '3', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'R', +'\024', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', ':', '0', '\232', '\305', +'\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', +'.', 'v', '2', '.', 'T', 'C', 'P', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'E', 'n', 't', 'r', 'y', '\"', '\360', '\003', '\n', +'\022', 'H', 'T', 'T', 'P', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'E', 'n', 't', 'r', 'y', '\022', 'U', '\n', '\021', 'c', 'o', +'m', 'm', 'o', 'n', '_', 'p', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '(', '.', 'e', +'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', +'c', 'e', 's', 's', 'L', 'o', 'g', 'C', 'o', 'm', 'm', 'o', 'n', 'R', '\020', 'c', 'o', 'm', 'm', 'o', 'n', 'P', 'r', 'o', 'p', +'e', 'r', 't', 'i', 'e', 's', '\022', 'b', '\n', '\020', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'v', 'e', 'r', 's', 'i', 'o', +'n', '\030', '\002', ' ', '\001', '(', '\016', '2', '7', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', +'s', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'H', 'T', 'T', 'P', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'E', 'n', 't', +'r', 'y', '.', 'H', 'T', 'T', 'P', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'R', '\017', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'V', +'e', 'r', 's', 'i', 'o', 'n', '\022', 'H', '\n', '\007', 'r', 'e', 'q', 'u', 'e', 's', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', '.', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', +'H', 'T', 'T', 'P', 'R', 'e', 'q', 'u', 'e', 's', 't', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'R', '\007', 'r', 'e', +'q', 'u', 'e', 's', 't', '\022', 'K', '\n', '\010', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '\030', '\004', ' ', '\001', '(', '\013', '2', '/', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', +'H', 'T', 'T', 'P', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'R', '\010', 'r', +'e', 's', 'p', 'o', 'n', 's', 'e', '\"', 'U', '\n', '\013', 'H', 'T', 'T', 'P', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\022', '\030', '\n', +'\024', 'P', 'R', 'O', 'T', 'O', 'C', 'O', 'L', '_', 'U', 'N', 'S', 'P', 'E', 'C', 'I', 'F', 'I', 'E', 'D', '\020', '\000', '\022', '\n', +'\n', '\006', 'H', 'T', 'T', 'P', '1', '0', '\020', '\001', '\022', '\n', '\n', '\006', 'H', 'T', 'T', 'P', '1', '1', '\020', '\002', '\022', '\t', '\n', +'\005', 'H', 'T', 'T', 'P', '2', '\020', '\003', '\022', '\t', '\n', '\005', 'H', 'T', 'T', 'P', '3', '\020', '\004', ':', '1', '\232', '\305', '\210', '\036', +',', '\n', '*', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', +'2', '.', 'H', 'T', 'T', 'P', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'E', 'n', 't', 'r', 'y', '\"', '\221', '\001', '\n', '\024', +'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', '%', '\n', '\016', 'r', +'e', 'c', 'e', 'i', 'v', 'e', 'd', '_', 'b', 'y', 't', 'e', 's', '\030', '\001', ' ', '\001', '(', '\004', 'R', '\r', 'r', 'e', 'c', 'e', +'i', 'v', 'e', 'd', 'B', 'y', 't', 'e', 's', '\022', '\035', '\n', '\n', 's', 'e', 'n', 't', '_', 'b', 'y', 't', 'e', 's', '\030', '\002', +' ', '\001', '(', '\004', 'R', '\t', 's', 'e', 'n', 't', 'B', 'y', 't', 'e', 's', ':', '3', '\232', '\305', '\210', '\036', '.', '\n', ',', 'e', +'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'C', 'o', +'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\"', '\226', '\025', '\n', '\017', 'A', 'c', +'c', 'e', 's', 's', 'L', 'o', 'g', 'C', 'o', 'm', 'm', 'o', 'n', '\022', '8', '\n', '\013', 's', 'a', 'm', 'p', 'l', 'e', '_', 'r', +'a', 't', 'e', '\030', '\001', ' ', '\001', '(', '\001', 'B', '\027', '\372', 'B', '\024', '\022', '\022', '\031', '\000', '\000', '\000', '\000', '\000', '\000', '\360', '?', +'!', '\000', '\000', '\000', '\000', '\000', '\000', '\000', '\000', 'R', '\n', 's', 'a', 'm', 'p', 'l', 'e', 'R', 'a', 't', 'e', '\022', 'Y', '\n', '\031', +'d', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'r', 'e', 'm', 'o', 't', 'e', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', +'\030', '\002', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', +'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\027', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'R', +'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'W', '\n', '\030', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', +'m', '_', 'l', 'o', 'c', 'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', +'s', 's', 'R', '\026', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'L', 'o', 'c', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', +'s', '\022', 'M', '\n', '\016', 't', 'l', 's', '_', 'p', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\030', '\004', ' ', '\001', '(', '\013', +'2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', +'3', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'R', '\r', 't', 'l', 's', 'P', 'r', 'o', 'p', 'e', +'r', 't', 'i', 'e', 's', '\022', '9', '\n', '\n', 's', 't', 'a', 'r', 't', '_', 't', 'i', 'm', 'e', '\030', '\005', ' ', '\001', '(', '\013', +'2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'T', 'i', 'm', 'e', 's', 't', +'a', 'm', 'p', 'R', '\t', 's', 't', 'a', 'r', 't', 'T', 'i', 'm', 'e', '\022', 'I', '\n', '\024', 't', 'i', 'm', 'e', '_', 't', 'o', +'_', 'l', 'a', 's', 't', '_', 'r', 'x', '_', 'b', 'y', 't', 'e', '\030', '\006', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\020', 't', 'i', +'m', 'e', 'T', 'o', 'L', 'a', 's', 't', 'R', 'x', 'B', 'y', 't', 'e', '\022', '\\', '\n', '\036', 't', 'i', 'm', 'e', '_', 't', 'o', +'_', 'f', 'i', 'r', 's', 't', '_', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 't', 'x', '_', 'b', 'y', 't', 'e', '\030', '\007', +' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', +'r', 'a', 't', 'i', 'o', 'n', 'R', '\031', 't', 'i', 'm', 'e', 'T', 'o', 'F', 'i', 'r', 's', 't', 'U', 'p', 's', 't', 'r', 'e', +'a', 'm', 'T', 'x', 'B', 'y', 't', 'e', '\022', 'Z', '\n', '\035', 't', 'i', 'm', 'e', '_', 't', 'o', '_', 'l', 'a', 's', 't', '_', +'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 't', 'x', '_', 'b', 'y', 't', 'e', '\030', '\010', ' ', '\001', '(', '\013', '2', '\031', '.', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', +'\030', 't', 'i', 'm', 'e', 'T', 'o', 'L', 'a', 's', 't', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'T', 'x', 'B', 'y', 't', 'e', +'\022', '\\', '\n', '\036', 't', 'i', 'm', 'e', '_', 't', 'o', '_', 'f', 'i', 'r', 's', 't', '_', 'u', 'p', 's', 't', 'r', 'e', 'a', +'m', '_', 'r', 'x', '_', 'b', 'y', 't', 'e', '\030', '\t', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', +'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\031', 't', 'i', 'm', 'e', 'T', 'o', +'F', 'i', 'r', 's', 't', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'R', 'x', 'B', 'y', 't', 'e', '\022', 'Z', '\n', '\035', 't', 'i', +'m', 'e', '_', 't', 'o', '_', 'l', 'a', 's', 't', '_', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'r', 'x', '_', 'b', 'y', +'t', 'e', '\030', '\n', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', +'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\030', 't', 'i', 'm', 'e', 'T', 'o', 'L', 'a', 's', 't', 'U', 'p', 's', +'t', 'r', 'e', 'a', 'm', 'R', 'x', 'B', 'y', 't', 'e', '\022', '`', '\n', ' ', 't', 'i', 'm', 'e', '_', 't', 'o', '_', 'f', 'i', +'r', 's', 't', '_', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 't', 'x', '_', 'b', 'y', 't', 'e', '\030', '\013', ' ', +'\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', +'a', 't', 'i', 'o', 'n', 'R', '\033', 't', 'i', 'm', 'e', 'T', 'o', 'F', 'i', 'r', 's', 't', 'D', 'o', 'w', 'n', 's', 't', 'r', +'e', 'a', 'm', 'T', 'x', 'B', 'y', 't', 'e', '\022', '^', '\n', '\037', 't', 'i', 'm', 'e', '_', 't', 'o', '_', 'l', 'a', 's', 't', +'_', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 't', 'x', '_', 'b', 'y', 't', 'e', '\030', '\014', ' ', '\001', '(', '\013', +'2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', +'o', 'n', 'R', '\032', 't', 'i', 'm', 'e', 'T', 'o', 'L', 'a', 's', 't', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'T', +'x', 'B', 'y', 't', 'e', '\022', 'U', '\n', '\027', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'r', 'e', 'm', 'o', 't', 'e', '_', +'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\r', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\025', 'u', 'p', 's', 't', +'r', 'e', 'a', 'm', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'S', '\n', '\026', 'u', 'p', 's', 't', +'r', 'e', 'a', 'm', '_', 'l', 'o', 'c', 'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\016', ' ', '\001', '(', '\013', '2', +'\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', +'d', 'r', 'e', 's', 's', 'R', '\024', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'L', 'o', 'c', 'a', 'l', 'A', 'd', 'd', 'r', 'e', +'s', 's', '\022', ')', '\n', '\020', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '\030', '\017', ' ', +'\001', '(', '\t', 'R', '\017', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'l', 'u', 's', 't', 'e', 'r', '\022', 'M', '\n', '\016', 'r', +'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'f', 'l', 'a', 'g', 's', '\030', '\020', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', +'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'R', 'e', 's', 'p', +'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', 'R', '\r', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', '\022', +':', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\021', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'R', +'\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'I', '\n', '!', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 't', 'r', 'a', +'n', 's', 'p', 'o', 'r', 't', '_', 'f', 'a', 'i', 'l', 'u', 'r', 'e', '_', 'r', 'e', 'a', 's', 'o', 'n', '\030', '\022', ' ', '\001', +'(', '\t', 'R', '\036', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'T', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'F', 'a', 'i', 'l', +'u', 'r', 'e', 'R', 'e', 'a', 's', 'o', 'n', '\022', '\035', '\n', '\n', 'r', 'o', 'u', 't', 'e', '_', 'n', 'a', 'm', 'e', '\030', '\023', +' ', '\001', '(', '\t', 'R', '\t', 'r', 'o', 'u', 't', 'e', 'N', 'a', 'm', 'e', '\022', 'f', '\n', ' ', 'd', 'o', 'w', 'n', 's', 't', +'r', 'e', 'a', 'm', '_', 'd', 'i', 'r', 'e', 'c', 't', '_', 'r', 'e', 'm', 'o', 't', 'e', '_', 'a', 'd', 'd', 'r', 'e', 's', +'s', '\030', '\024', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', +'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\035', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', +'D', 'i', 'r', 'e', 'c', 't', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'r', '\n', '\024', 'f', 'i', +'l', 't', 'e', 'r', '_', 's', 't', 'a', 't', 'e', '_', 'o', 'b', 'j', 'e', 'c', 't', 's', '\030', '\025', ' ', '\003', '(', '\013', '2', +'@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', +'.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'C', 'o', 'm', 'm', 'o', 'n', '.', 'F', 'i', 'l', 't', 'e', 'r', 'S', 't', +'a', 't', 'e', 'O', 'b', 'j', 'e', 'c', 't', 's', 'E', 'n', 't', 'r', 'y', 'R', '\022', 'f', 'i', 'l', 't', 'e', 'r', 'S', 't', +'a', 't', 'e', 'O', 'b', 'j', 'e', 'c', 't', 's', '\022', 'Y', '\n', '\013', 'c', 'u', 's', 't', 'o', 'm', '_', 't', 'a', 'g', 's', +'\030', '\026', ' ', '\003', '(', '\013', '2', '8', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', +'s', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'C', 'o', 'm', 'm', 'o', 'n', '.', 'C', +'u', 's', 't', 'o', 'm', 'T', 'a', 'g', 's', 'E', 'n', 't', 'r', 'y', 'R', '\n', 'c', 'u', 's', 't', 'o', 'm', 'T', 'a', 'g', +'s', '\022', '5', '\n', '\010', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\030', '\027', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\010', 'd', 'u', +'r', 'a', 't', 'i', 'o', 'n', '\022', 'C', '\n', '\036', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'r', 'e', 'q', 'u', 'e', 's', +'t', '_', 'a', 't', 't', 'e', 'm', 'p', 't', '_', 'c', 'o', 'u', 'n', 't', '\030', '\030', ' ', '\001', '(', '\r', 'R', '\033', 'u', 'p', +'s', 't', 'r', 'e', 'a', 'm', 'R', 'e', 'q', 'u', 'e', 's', 't', 'A', 't', 't', 'e', 'm', 'p', 't', 'C', 'o', 'u', 'n', 't', +'\022', 'D', '\n', '\036', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 't', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', +'n', '_', 'd', 'e', 't', 'a', 'i', 'l', 's', '\030', '\031', ' ', '\001', '(', '\t', 'R', '\034', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', +'o', 'n', 'T', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', '\033', '\n', '\t', 's', +'t', 'r', 'e', 'a', 'm', '_', 'i', 'd', '\030', '\032', ' ', '\001', '(', '\t', 'R', '\010', 's', 't', 'r', 'e', 'a', 'm', 'I', 'd', '\022', +'A', '\n', '\026', 'i', 'n', 't', 'e', 'r', 'm', 'e', 'd', 'i', 'a', 't', 'e', '_', 'l', 'o', 'g', '_', 'e', 'n', 't', 'r', 'y', +'\030', '\033', ' ', '\001', '(', '\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\024', 'i', 'n', 't', 'e', +'r', 'm', 'e', 'd', 'i', 'a', 't', 'e', 'L', 'o', 'g', 'E', 'n', 't', 'r', 'y', '\022', 'M', '\n', '#', 'd', 'o', 'w', 'n', 's', +'t', 'r', 'e', 'a', 'm', '_', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 'f', 'a', 'i', 'l', 'u', 'r', 'e', '_', 'r', +'e', 'a', 's', 'o', 'n', '\030', '\034', ' ', '\001', '(', '\t', 'R', ' ', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'T', 'r', +'a', 'n', 's', 'p', 'o', 'r', 't', 'F', 'a', 'i', 'l', 'u', 'r', 'e', 'R', 'e', 'a', 's', 'o', 'n', '\022', ';', '\n', '\032', 'd', +'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'w', 'i', 'r', 'e', '_', 'b', 'y', 't', 'e', 's', '_', 's', 'e', 'n', 't', +'\030', '\035', ' ', '\001', '(', '\004', 'R', '\027', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'W', 'i', 'r', 'e', 'B', 'y', 't', +'e', 's', 'S', 'e', 'n', 't', '\022', 'C', '\n', '\036', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'w', 'i', 'r', 'e', +'_', 'b', 'y', 't', 'e', 's', '_', 'r', 'e', 'c', 'e', 'i', 'v', 'e', 'd', '\030', '\036', ' ', '\001', '(', '\004', 'R', '\033', 'd', 'o', +'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'W', 'i', 'r', 'e', 'B', 'y', 't', 'e', 's', 'R', 'e', 'c', 'e', 'i', 'v', 'e', 'd', +'\022', '7', '\n', '\030', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'w', 'i', 'r', 'e', '_', 'b', 'y', 't', 'e', 's', '_', 's', +'e', 'n', 't', '\030', '\037', ' ', '\001', '(', '\004', 'R', '\025', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'W', 'i', 'r', 'e', 'B', 'y', +'t', 'e', 's', 'S', 'e', 'n', 't', '\022', '?', '\n', '\034', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'w', 'i', 'r', 'e', '_', +'b', 'y', 't', 'e', 's', '_', 'r', 'e', 'c', 'e', 'i', 'v', 'e', 'd', '\030', ' ', ' ', '\001', '(', '\004', 'R', '\031', 'u', 'p', 's', +'t', 'r', 'e', 'a', 'm', 'W', 'i', 'r', 'e', 'B', 'y', 't', 'e', 's', 'R', 'e', 'c', 'e', 'i', 'v', 'e', 'd', '\022', 'N', '\n', +'\017', 'a', 'c', 'c', 'e', 's', 's', '_', 'l', 'o', 'g', '_', 't', 'y', 'p', 'e', '\030', '!', ' ', '\001', '(', '\016', '2', '&', '.', +'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', +'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'T', 'y', 'p', 'e', 'R', '\r', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'T', 'y', +'p', 'e', '\032', '[', '\n', '\027', 'F', 'i', 'l', 't', 'e', 'r', 'S', 't', 'a', 't', 'e', 'O', 'b', 'j', 'e', 'c', 't', 's', 'E', +'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '*', '\n', +'\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', '\032', '=', '\n', '\017', 'C', +'u', 's', 't', 'o', 'm', 'T', 'a', 'g', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', +'(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '\024', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\005', 'v', +'a', 'l', 'u', 'e', ':', '\002', '8', '\001', ':', '.', '\232', '\305', '\210', '\036', ')', '\n', '\'', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', +'t', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', +'C', 'o', 'm', 'm', 'o', 'n', '\"', '\351', '\r', '\n', '\r', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', '\022', +'8', '\n', '\030', 'f', 'a', 'i', 'l', 'e', 'd', '_', 'l', 'o', 'c', 'a', 'l', '_', 'h', 'e', 'a', 'l', 't', 'h', 'c', 'h', 'e', +'c', 'k', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\026', 'f', 'a', 'i', 'l', 'e', 'd', 'L', 'o', 'c', 'a', 'l', 'H', 'e', 'a', 'l', +'t', 'h', 'c', 'h', 'e', 'c', 'k', '\022', '.', '\n', '\023', 'n', 'o', '_', 'h', 'e', 'a', 'l', 't', 'h', 'y', '_', 'u', 'p', 's', +'t', 'r', 'e', 'a', 'm', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\021', 'n', 'o', 'H', 'e', 'a', 'l', 't', 'h', 'y', 'U', 'p', 's', +'t', 'r', 'e', 'a', 'm', '\022', '8', '\n', '\030', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', +'_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\026', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'R', +'e', 'q', 'u', 'e', 's', 't', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', '\037', '\n', '\013', 'l', 'o', 'c', 'a', 'l', '_', 'r', 'e', +'s', 'e', 't', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\n', 'l', 'o', 'c', 'a', 'l', 'R', 'e', 's', 'e', 't', '\022', '2', '\n', '\025', +'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'r', 'e', 'm', 'o', 't', 'e', '_', 'r', 'e', 's', 'e', 't', '\030', '\005', ' ', '\001', +'(', '\010', 'R', '\023', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'R', 'e', 'm', 'o', 't', 'e', 'R', 'e', 's', 'e', 't', '\022', '>', +'\n', '\033', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'f', 'a', 'i', +'l', 'u', 'r', 'e', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\031', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', 'e', +'c', 't', 'i', 'o', 'n', 'F', 'a', 'i', 'l', 'u', 'r', 'e', '\022', 'F', '\n', '\037', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', +'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 't', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', '\030', '\007', ' ', +'\001', '(', '\010', 'R', '\035', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'T', 'e', +'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', '\022', '+', '\n', '\021', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'o', 'v', 'e', +'r', 'f', 'l', 'o', 'w', '\030', '\010', ' ', '\001', '(', '\010', 'R', '\020', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'O', 'v', 'e', 'r', +'f', 'l', 'o', 'w', '\022', '$', '\n', '\016', 'n', 'o', '_', 'r', 'o', 'u', 't', 'e', '_', 'f', 'o', 'u', 'n', 'd', '\030', '\t', ' ', +'\001', '(', '\010', 'R', '\014', 'n', 'o', 'R', 'o', 'u', 't', 'e', 'F', 'o', 'u', 'n', 'd', '\022', '%', '\n', '\016', 'd', 'e', 'l', 'a', +'y', '_', 'i', 'n', 'j', 'e', 'c', 't', 'e', 'd', '\030', '\n', ' ', '\001', '(', '\010', 'R', '\r', 'd', 'e', 'l', 'a', 'y', 'I', 'n', +'j', 'e', 'c', 't', 'e', 'd', '\022', '%', '\n', '\016', 'f', 'a', 'u', 'l', 't', '_', 'i', 'n', 'j', 'e', 'c', 't', 'e', 'd', '\030', +'\013', ' ', '\001', '(', '\010', 'R', '\r', 'f', 'a', 'u', 'l', 't', 'I', 'n', 'j', 'e', 'c', 't', 'e', 'd', '\022', '!', '\n', '\014', 'r', +'a', 't', 'e', '_', 'l', 'i', 'm', 'i', 't', 'e', 'd', '\030', '\014', ' ', '\001', '(', '\010', 'R', '\013', 'r', 'a', 't', 'e', 'L', 'i', +'m', 'i', 't', 'e', 'd', '\022', 'f', '\n', '\024', 'u', 'n', 'a', 'u', 't', 'h', 'o', 'r', 'i', 'z', 'e', 'd', '_', 'd', 'e', 't', +'a', 'i', 'l', 's', '\030', '\r', ' ', '\001', '(', '\013', '2', '3', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', +'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', +'.', 'U', 'n', 'a', 'u', 't', 'h', 'o', 'r', 'i', 'z', 'e', 'd', 'R', '\023', 'u', 'n', 'a', 'u', 't', 'h', 'o', 'r', 'i', 'z', +'e', 'd', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', '7', '\n', '\030', 'r', 'a', 't', 'e', '_', 'l', 'i', 'm', 'i', 't', '_', 's', +'e', 'r', 'v', 'i', 'c', 'e', '_', 'e', 'r', 'r', 'o', 'r', '\030', '\016', ' ', '\001', '(', '\010', 'R', '\025', 'r', 'a', 't', 'e', 'L', +'i', 'm', 'i', 't', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'E', 'r', 'r', 'o', 'r', '\022', 'J', '\n', '!', 'd', 'o', 'w', 'n', 's', +'t', 'r', 'e', 'a', 'm', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 't', 'e', 'r', 'm', 'i', 'n', 'a', 't', +'i', 'o', 'n', '\030', '\017', ' ', '\001', '(', '\010', 'R', '\037', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', +'e', 'c', 't', 'i', 'o', 'n', 'T', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', '\022', 'A', '\n', '\035', 'u', 'p', 's', 't', +'r', 'e', 'a', 'm', '_', 'r', 'e', 't', 'r', 'y', '_', 'l', 'i', 'm', 'i', 't', '_', 'e', 'x', 'c', 'e', 'e', 'd', 'e', 'd', +'\030', '\020', ' ', '\001', '(', '\010', 'R', '\032', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'R', 'e', 't', 'r', 'y', 'L', 'i', 'm', 'i', +'t', 'E', 'x', 'c', 'e', 'e', 'd', 'e', 'd', '\022', '.', '\n', '\023', 's', 't', 'r', 'e', 'a', 'm', '_', 'i', 'd', 'l', 'e', '_', +'t', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\021', ' ', '\001', '(', '\010', 'R', '\021', 's', 't', 'r', 'e', 'a', 'm', 'I', 'd', 'l', 'e', +'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'A', '\n', '\035', 'i', 'n', 'v', 'a', 'l', 'i', 'd', '_', 'e', 'n', 'v', 'o', 'y', '_', +'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\022', ' ', '\001', '(', '\010', 'R', '\032', 'i', 'n', +'v', 'a', 'l', 'i', 'd', 'E', 'n', 'v', 'o', 'y', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', +':', '\n', '\031', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'e', 'r', +'r', 'o', 'r', '\030', '\023', ' ', '\001', '(', '\010', 'R', '\027', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'P', 'r', 'o', 't', +'o', 'c', 'o', 'l', 'E', 'r', 'r', 'o', 'r', '\022', 'N', '\n', '$', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'm', 'a', 'x', +'_', 's', 't', 'r', 'e', 'a', 'm', '_', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '_', 'r', 'e', 'a', 'c', 'h', 'e', 'd', '\030', +'\024', ' ', '\001', '(', '\010', 'R', ' ', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'M', 'a', 'x', 'S', 't', 'r', 'e', 'a', 'm', 'D', +'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', 'e', 'a', 'c', 'h', 'e', 'd', '\022', ';', '\n', '\032', 'r', 'e', 's', 'p', 'o', 'n', 's', +'e', '_', 'f', 'r', 'o', 'm', '_', 'c', 'a', 'c', 'h', 'e', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\025', ' ', '\001', '(', '\010', +'R', '\027', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'r', 'o', 'm', 'C', 'a', 'c', 'h', 'e', 'F', 'i', 'l', 't', 'e', 'r', +'\022', '3', '\n', '\026', 'n', 'o', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '_', 'f', 'o', 'u', 'n', +'d', '\030', '\026', ' ', '\001', '(', '\010', 'R', '\023', 'n', 'o', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'F', 'o', +'u', 'n', 'd', '\022', ')', '\n', '\020', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\027', +' ', '\001', '(', '\010', 'R', '\017', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', '6', '\n', '\027', +'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'e', 'r', 'r', 'o', 'r', '\030', '\030', +' ', '\001', '(', '\010', 'R', '\025', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'E', 'r', 'r', +'o', 'r', '\022', '(', '\n', '\020', 'n', 'o', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'f', 'o', 'u', 'n', 'd', '\030', '\031', ' ', +'\001', '(', '\010', 'R', '\016', 'n', 'o', 'C', 'l', 'u', 's', 't', 'e', 'r', 'F', 'o', 'u', 'n', 'd', '\022', ')', '\n', '\020', 'o', 'v', +'e', 'r', 'l', 'o', 'a', 'd', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '\030', '\032', ' ', '\001', '(', '\010', 'R', '\017', 'o', 'v', 'e', +'r', 'l', 'o', 'a', 'd', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '\022', '4', '\n', '\026', 'd', 'n', 's', '_', 'r', 'e', 's', 'o', 'l', +'u', 't', 'i', 'o', 'n', '_', 'f', 'a', 'i', 'l', 'u', 'r', 'e', '\030', '\033', ' ', '\001', '(', '\010', 'R', '\024', 'd', 'n', 's', 'R', +'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', 'F', 'a', 'i', 'l', 'u', 'r', 'e', '\032', '\325', '\001', '\n', '\014', 'U', 'n', 'a', 'u', +'t', 'h', 'o', 'r', 'i', 'z', 'e', 'd', '\022', 'R', '\n', '\006', 'r', 'e', 'a', 's', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\016', '2', +':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', +'.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', '.', 'U', 'n', 'a', 'u', 't', 'h', 'o', 'r', 'i', 'z', +'e', 'd', '.', 'R', 'e', 'a', 's', 'o', 'n', 'R', '\006', 'r', 'e', 'a', 's', 'o', 'n', '\"', '6', '\n', '\006', 'R', 'e', 'a', 's', +'o', 'n', '\022', '\026', '\n', '\022', 'R', 'E', 'A', 'S', 'O', 'N', '_', 'U', 'N', 'S', 'P', 'E', 'C', 'I', 'F', 'I', 'E', 'D', '\020', +'\000', '\022', '\024', '\n', '\020', 'E', 'X', 'T', 'E', 'R', 'N', 'A', 'L', '_', 'S', 'E', 'R', 'V', 'I', 'C', 'E', '\020', '\001', ':', '9', +'\232', '\305', '\210', '\036', '4', '\n', '2', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', +'o', 'g', '.', 'v', '2', '.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', '.', 'U', 'n', 'a', 'u', 't', +'h', 'o', 'r', 'i', 'z', 'e', 'd', ':', ',', '\232', '\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', +'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', +'a', 'g', 's', '\"', '\305', '\010', '\n', '\r', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', 'R', '\n', '\013', +'t', 'l', 's', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\016', '2', '1', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'T', 'L', 'S', 'P', 'r', 'o', +'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'T', 'L', 'S', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'R', '\n', 't', 'l', 's', 'V', 'e', +'r', 's', 'i', 'o', 'n', '\022', 'F', '\n', '\020', 't', 'l', 's', '_', 'c', 'i', 'p', 'h', 'e', 'r', '_', 's', 'u', 'i', 't', 'e', +'\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', +'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\016', 't', 'l', 's', 'C', 'i', 'p', 'h', 'e', 'r', 'S', 'u', 'i', +'t', 'e', '\022', '(', '\n', '\020', 't', 'l', 's', '_', 's', 'n', 'i', '_', 'h', 'o', 's', 't', 'n', 'a', 'm', 'e', '\030', '\003', ' ', +'\001', '(', '\t', 'R', '\016', 't', 'l', 's', 'S', 'n', 'i', 'H', 'o', 's', 't', 'n', 'a', 'm', 'e', '\022', '~', '\n', '\034', 'l', 'o', +'c', 'a', 'l', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', +'s', '\030', '\004', ' ', '\001', '(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', +'s', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'C', 'e', +'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'R', '\032', 'l', 'o', 'c', 'a', +'l', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', '|', '\n', +'\033', 'p', 'e', 'e', 'r', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'p', 'e', 'r', 't', +'i', 'e', 's', '\030', '\005', ' ', '\001', '(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', +'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', +'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'R', '\031', 'p', 'e', +'e', 'r', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', '$', +'\n', '\016', 't', 'l', 's', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 'i', 'd', '\030', '\006', ' ', '\001', '(', '\t', 'R', '\014', 't', +'l', 's', 'S', 'e', 's', 's', 'i', 'o', 'n', 'I', 'd', '\022', '\'', '\n', '\017', 'j', 'a', '3', '_', 'f', 'i', 'n', 'g', 'e', 'r', +'p', 'r', 'i', 'n', 't', '\030', '\007', ' ', '\001', '(', '\t', 'R', '\016', 'j', 'a', '3', 'F', 'i', 'n', 'g', 'e', 'r', 'p', 'r', 'i', +'n', 't', '\032', '\231', '\003', '\n', '\025', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', +'i', 'e', 's', '\022', 'u', '\n', '\020', 's', 'u', 'b', 'j', 'e', 'c', 't', '_', 'a', 'l', 't', '_', 'n', 'a', 'm', 'e', '\030', '\001', +' ', '\003', '(', '\013', '2', 'K', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', +'o', 'g', '.', 'v', '3', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'C', 'e', 'r', 't', 'i', +'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', +'l', 't', 'N', 'a', 'm', 'e', 'R', '\016', 's', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', 'm', 'e', '\022', '\030', '\n', +'\007', 's', 'u', 'b', 'j', 'e', 'c', 't', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\007', 's', 'u', 'b', 'j', 'e', 'c', 't', '\022', '\026', +'\n', '\006', 'i', 's', 's', 'u', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\006', 'i', 's', 's', 'u', 'e', 'r', '\032', '\222', '\001', +'\n', '\016', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', 'm', 'e', '\022', '\022', '\n', '\003', 'u', 'r', 'i', '\030', '\001', +' ', '\001', '(', '\t', 'H', '\000', 'R', '\003', 'u', 'r', 'i', '\022', '\022', '\n', '\003', 'd', 'n', 's', '\030', '\002', ' ', '\001', '(', '\t', 'H', +'\000', 'R', '\003', 'd', 'n', 's', ':', 'Q', '\232', '\305', '\210', '\036', 'L', '\n', 'J', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', +'.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', +'e', 's', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', +'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', 'm', 'e', 'B', '\005', '\n', '\003', 's', 'a', 'n', ':', 'B', '\232', '\305', +'\210', '\036', '=', '\n', ';', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', +'.', 'v', '2', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', +'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\"', 'W', '\n', '\n', 'T', 'L', 'S', 'V', 'e', 'r', 's', +'i', 'o', 'n', '\022', '\027', '\n', '\023', 'V', 'E', 'R', 'S', 'I', 'O', 'N', '_', 'U', 'N', 'S', 'P', 'E', 'C', 'I', 'F', 'I', 'E', +'D', '\020', '\000', '\022', '\t', '\n', '\005', 'T', 'L', 'S', 'v', '1', '\020', '\001', '\022', '\013', '\n', '\007', 'T', 'L', 'S', 'v', '1', '_', '1', +'\020', '\002', '\022', '\013', '\n', '\007', 'T', 'L', 'S', 'v', '1', '_', '2', '\020', '\003', '\022', '\013', '\n', '\007', 'T', 'L', 'S', 'v', '1', '_', +'3', '\020', '\004', ':', ',', '\232', '\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', +'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\"', +'\331', '\006', '\n', '\025', 'H', 'T', 'T', 'P', 'R', 'e', 'q', 'u', 'e', 's', 't', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', +'\022', 'T', '\n', '\016', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'm', 'e', 't', 'h', 'o', 'd', '\030', '\001', ' ', '\001', '(', '\016', '2', +'#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'e', +'q', 'u', 'e', 's', 't', 'M', 'e', 't', 'h', 'o', 'd', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\r', 'r', 'e', +'q', 'u', 'e', 's', 't', 'M', 'e', 't', 'h', 'o', 'd', '\022', '\026', '\n', '\006', 's', 'c', 'h', 'e', 'm', 'e', '\030', '\002', ' ', '\001', +'(', '\t', 'R', '\006', 's', 'c', 'h', 'e', 'm', 'e', '\022', '\034', '\n', '\t', 'a', 'u', 't', 'h', 'o', 'r', 'i', 't', 'y', '\030', '\003', +' ', '\001', '(', '\t', 'R', '\t', 'a', 'u', 't', 'h', 'o', 'r', 'i', 't', 'y', '\022', '0', '\n', '\004', 'p', 'o', 'r', 't', '\030', '\004', +' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', +'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\004', 'p', 'o', 'r', 't', '\022', '\022', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\005', +' ', '\001', '(', '\t', 'R', '\004', 'p', 'a', 't', 'h', '\022', '\035', '\n', '\n', 'u', 's', 'e', 'r', '_', 'a', 'g', 'e', 'n', 't', '\030', +'\006', ' ', '\001', '(', '\t', 'R', '\t', 'u', 's', 'e', 'r', 'A', 'g', 'e', 'n', 't', '\022', '\030', '\n', '\007', 'r', 'e', 'f', 'e', 'r', +'e', 'r', '\030', '\007', ' ', '\001', '(', '\t', 'R', '\007', 'r', 'e', 'f', 'e', 'r', 'e', 'r', '\022', '#', '\n', '\r', 'f', 'o', 'r', 'w', +'a', 'r', 'd', 'e', 'd', '_', 'f', 'o', 'r', '\030', '\010', ' ', '\001', '(', '\t', 'R', '\014', 'f', 'o', 'r', 'w', 'a', 'r', 'd', 'e', +'d', 'F', 'o', 'r', '\022', '\035', '\n', '\n', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'i', 'd', '\030', '\t', ' ', '\001', '(', '\t', 'R', +'\t', 'r', 'e', 'q', 'u', 'e', 's', 't', 'I', 'd', '\022', '#', '\n', '\r', 'o', 'r', 'i', 'g', 'i', 'n', 'a', 'l', '_', 'p', 'a', +'t', 'h', '\030', '\n', ' ', '\001', '(', '\t', 'R', '\014', 'o', 'r', 'i', 'g', 'i', 'n', 'a', 'l', 'P', 'a', 't', 'h', '\022', '2', '\n', +'\025', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 'b', 'y', 't', 'e', 's', '\030', '\013', ' ', +'\001', '(', '\004', 'R', '\023', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'B', 'y', 't', 'e', 's', '\022', +',', '\n', '\022', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'b', 'o', 'd', 'y', '_', 'b', 'y', 't', 'e', 's', '\030', '\014', ' ', '\001', +'(', '\004', 'R', '\020', 'r', 'e', 'q', 'u', 'e', 's', 't', 'B', 'o', 'd', 'y', 'B', 'y', 't', 'e', 's', '\022', 'k', '\n', '\017', 'r', +'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\r', ' ', '\003', '(', '\013', '2', 'B', '.', 'e', 'n', +'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'H', 'T', 'T', +'P', 'R', 'e', 'q', 'u', 'e', 's', 't', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'R', 'e', 'q', 'u', 'e', 's', +'t', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'E', 'n', 't', 'r', 'y', 'R', '\016', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', +'d', 'e', 'r', 's', '\022', ';', '\n', '\032', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'b', +'y', 't', 'e', 's', '_', 's', 'e', 'n', 't', '\030', '\016', ' ', '\001', '(', '\004', 'R', '\027', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', +'H', 'e', 'a', 'd', 'e', 'r', 'B', 'y', 't', 'e', 's', 'S', 'e', 'n', 't', '\022', 'G', '\n', ' ', 'd', 'o', 'w', 'n', 's', 't', +'r', 'e', 'a', 'm', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'b', 'y', 't', 'e', 's', '_', 'r', 'e', 'c', 'e', 'i', 'v', 'e', +'d', '\030', '\017', ' ', '\001', '(', '\004', 'R', '\035', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'H', 'e', 'a', 'd', 'e', 'r', +'B', 'y', 't', 'e', 's', 'R', 'e', 'c', 'e', 'i', 'v', 'e', 'd', '\032', 'A', '\n', '\023', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', +'e', 'a', 'd', 'e', 'r', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', +'\003', 'k', 'e', 'y', '\022', '\024', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\005', 'v', 'a', 'l', 'u', +'e', ':', '\002', '8', '\001', ':', '4', '\232', '\305', '\210', '\036', '/', '\n', '-', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', +'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'H', 'T', 'T', 'P', 'R', 'e', 'q', 'u', 'e', 's', 't', 'P', +'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\"', '\240', '\006', '\n', '\026', 'H', 'T', 'T', 'P', 'R', 'e', 's', 'p', 'o', 'n', 's', +'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', 'A', '\n', '\r', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'c', +'o', 'd', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\014', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'C', +'o', 'd', 'e', '\022', '4', '\n', '\026', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 'b', +'y', 't', 'e', 's', '\030', '\002', ' ', '\001', '(', '\004', 'R', '\024', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', +'r', 's', 'B', 'y', 't', 'e', 's', '\022', '.', '\n', '\023', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'b', 'o', 'd', 'y', '_', +'b', 'y', 't', 'e', 's', '\030', '\003', ' ', '\001', '(', '\004', 'R', '\021', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'B', 'o', 'd', 'y', +'B', 'y', 't', 'e', 's', '\022', 'o', '\n', '\020', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', +'\030', '\004', ' ', '\003', '(', '\013', '2', 'D', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', +'s', 'l', 'o', 'g', '.', 'v', '3', '.', 'H', 'T', 'T', 'P', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'P', 'r', 'o', 'p', 'e', +'r', 't', 'i', 'e', 's', '.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'E', 'n', 't', 'r', +'y', 'R', '\017', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', 'r', '\n', '\021', 'r', 'e', 's', +'p', 'o', 'n', 's', 'e', '_', 't', 'r', 'a', 'i', 'l', 'e', 'r', 's', '\030', '\005', ' ', '\003', '(', '\013', '2', 'E', '.', 'e', 'n', +'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'H', 'T', 'T', +'P', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'R', 'e', 's', 'p', 'o', +'n', 's', 'e', 'T', 'r', 'a', 'i', 'l', 'e', 'r', 's', 'E', 'n', 't', 'r', 'y', 'R', '\020', 'r', 'e', 's', 'p', 'o', 'n', 's', +'e', 'T', 'r', 'a', 'i', 'l', 'e', 'r', 's', '\022', '2', '\n', '\025', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'c', 'o', 'd', +'e', '_', 'd', 'e', 't', 'a', 'i', 'l', 's', '\030', '\006', ' ', '\001', '(', '\t', 'R', '\023', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', +'C', 'o', 'd', 'e', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', 'C', '\n', '\036', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'h', +'e', 'a', 'd', 'e', 'r', '_', 'b', 'y', 't', 'e', 's', '_', 'r', 'e', 'c', 'e', 'i', 'v', 'e', 'd', '\030', '\007', ' ', '\001', '(', +'\004', 'R', '\033', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'H', 'e', 'a', 'd', 'e', 'r', 'B', 'y', 't', 'e', 's', 'R', 'e', 'c', +'e', 'i', 'v', 'e', 'd', '\022', '?', '\n', '\034', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'h', 'e', 'a', 'd', 'e', +'r', '_', 'b', 'y', 't', 'e', 's', '_', 's', 'e', 'n', 't', '\030', '\010', ' ', '\001', '(', '\004', 'R', '\031', 'd', 'o', 'w', 'n', 's', +'t', 'r', 'e', 'a', 'm', 'H', 'e', 'a', 'd', 'e', 'r', 'B', 'y', 't', 'e', 's', 'S', 'e', 'n', 't', '\032', 'B', '\n', '\024', 'R', +'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', +'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '\024', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', +'(', '\t', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', '\032', 'C', '\n', '\025', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', +'T', 'r', 'a', 'i', 'l', 'e', 'r', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', +'\t', 'R', '\003', 'k', 'e', 'y', '\022', '\024', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\005', 'v', 'a', +'l', 'u', 'e', ':', '\002', '8', '\001', ':', '5', '\232', '\305', '\210', '\036', '0', '\n', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', +'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'H', 'T', 'T', 'P', 'R', 'e', 's', 'p', 'o', 'n', +'s', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '*', '\313', '\002', '\n', '\r', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', +'g', 'T', 'y', 'p', 'e', '\022', '\n', '\n', '\006', 'N', 'o', 't', 'S', 'e', 't', '\020', '\000', '\022', '\030', '\n', '\024', 'T', 'c', 'p', 'U', +'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'e', 'd', '\020', '\001', '\022', '\017', '\n', '\013', 'T', 'c', 'p', +'P', 'e', 'r', 'i', 'o', 'd', 'i', 'c', '\020', '\002', '\022', '\024', '\n', '\020', 'T', 'c', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', +'o', 'n', 'E', 'n', 'd', '\020', '\003', '\022', '\023', '\n', '\017', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'S', 't', 'a', 'r', +'t', '\020', '\004', '\022', '\026', '\n', '\022', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'P', 'e', 'r', 'i', 'o', 'd', 'i', 'c', +'\020', '\005', '\022', '\021', '\n', '\r', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'E', 'n', 'd', '\020', '\006', '\022', '\025', '\n', '\021', +'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'P', 'o', 'o', 'l', 'R', 'e', 'a', 'd', 'y', '\020', '\007', '\022', '\024', '\n', '\020', 'U', 'p', +'s', 't', 'r', 'e', 'a', 'm', 'P', 'e', 'r', 'i', 'o', 'd', 'i', 'c', '\020', '\010', '\022', '\017', '\n', '\013', 'U', 'p', 's', 't', 'r', +'e', 'a', 'm', 'E', 'n', 'd', '\020', '\t', '\022', '+', '\n', '\'', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'T', 'u', 'n', +'n', 'e', 'l', 'S', 'u', 'c', 'c', 'e', 's', 's', 'f', 'u', 'l', 'l', 'y', 'E', 's', 't', 'a', 'b', 'l', 'i', 's', 'h', 'e', +'d', '\020', '\n', '\022', '\036', '\n', '\032', 'U', 'd', 'p', 'T', 'u', 'n', 'n', 'e', 'l', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', +'o', 'n', 'n', 'e', 'c', 't', 'e', 'd', '\020', '\013', '\022', '\017', '\n', '\013', 'U', 'd', 'p', 'P', 'e', 'r', 'i', 'o', 'd', 'i', 'c', +'\020', '\014', '\022', '\021', '\n', '\r', 'U', 'd', 'p', 'S', 'e', 's', 's', 'i', 'o', 'n', 'E', 'n', 'd', '\020', '\r', 'B', '\215', '\001', '\n', +'%', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', +'.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', 'B', '\016', 'A', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', 'P', +'r', 'o', 't', 'o', 'P', '\001', 'Z', 'J', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', +'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', +'o', 'y', '/', 'd', 'a', 't', 'a', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '/', 'v', '3', ';', 'a', 'c', 'c', 'e', +'s', 's', 'l', 'o', 'g', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[11] = { + &envoy_config_core_v3_address_proto_upbdefinit, + &envoy_config_core_v3_base_proto_upbdefinit, + &google_protobuf_any_proto_upbdefinit, + &google_protobuf_duration_proto_upbdefinit, + &google_protobuf_timestamp_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_data_accesslog_v3_accesslog_proto_upbdefinit = { + deps, + &envoy_data_accesslog_v3_accesslog_proto_upb_file_layout, + "envoy/data/accesslog/v3/accesslog.proto", + UPB_STRINGVIEW_INIT(descriptor, 9023) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h new file mode 100644 index 00000000000..beca037fac2 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h @@ -0,0 +1,110 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/data/accesslog/v3/accesslog.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPBDEFS_H_ +#define ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_data_accesslog_v3_accesslog_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_TCPAccessLogEntry_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.TCPAccessLogEntry"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_HTTPAccessLogEntry_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.HTTPAccessLogEntry"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_ConnectionProperties_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.ConnectionProperties"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_AccessLogCommon_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.AccessLogCommon"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.AccessLogCommon.FilterStateObjectsEntry"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.AccessLogCommon.CustomTagsEntry"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_ResponseFlags_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.ResponseFlags"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_ResponseFlags_Unauthorized_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.ResponseFlags.Unauthorized"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_TLSProperties_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.TLSProperties"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_TLSProperties_CertificateProperties_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.TLSProperties.CertificateProperties"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_HTTPRequestProperties_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.HTTPRequestProperties"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.HTTPRequestProperties.RequestHeadersEntry"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_HTTPResponseProperties_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.HTTPResponseProperties"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.HTTPResponseProperties.ResponseHeadersEntry"); +} + +UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.HTTPResponseProperties.ResponseTrailersEntry"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c new file mode 100644 index 00000000000..0e4fc786335 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c @@ -0,0 +1,49 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/clusters/aggregate/v3/cluster.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h" +#include "envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h" + +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[481] = {'\n', '4', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'c', 'l', 'u', 's', 't', 'e', +'r', 's', '/', 'a', 'g', 'g', 'r', 'e', 'g', 'a', 't', 'e', '/', 'v', '3', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'p', +'r', 'o', 't', 'o', '\022', '&', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'c', 'l', +'u', 's', 't', 'e', 'r', 's', '.', 'a', 'g', 'g', 'r', 'e', 'g', 'a', 't', 'e', '.', 'v', '3', '\032', '\035', 'u', 'd', 'p', 'a', +'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', +'\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', +'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', +'d', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 'r', '\n', '\r', 'C', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', 'n', 'f', +'i', 'g', '\022', '$', '\n', '\010', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\t', 'B', '\010', '\372', 'B', '\005', +'\222', '\001', '\002', '\010', '\001', 'R', '\010', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', ':', ';', '\232', '\305', '\210', '\036', '6', '\n', '4', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'a', 'g', 'g', 'r', 'e', +'g', 'a', 't', 'e', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', +'g', 'B', '\251', '\001', '\n', '4', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', '.', 'a', 'g', 'g', 'r', +'e', 'g', 'a', 't', 'e', '.', 'v', '3', 'B', '\014', 'C', 'l', 'u', 's', 't', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', +'Y', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', +'-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', +'n', 's', 'i', 'o', 'n', 's', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', '/', 'a', 'g', 'g', 'r', 'e', 'g', 'a', 't', 'e', +'/', 'v', '3', ';', 'a', 'g', 'g', 'r', 'e', 'g', 'a', 't', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', +'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[4] = { + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_extensions_clusters_aggregate_v3_cluster_proto_upbdefinit = { + deps, + &envoy_extensions_clusters_aggregate_v3_cluster_proto_upb_file_layout, + "envoy/extensions/clusters/aggregate/v3/cluster.proto", + UPB_STRINGVIEW_INIT(descriptor, 481) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h new file mode 100644 index 00000000000..447a6200c52 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/clusters/aggregate/v3/cluster.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPBDEFS_H_ +#define ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_extensions_clusters_aggregate_v3_cluster_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_extensions_clusters_aggregate_v3_ClusterConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_clusters_aggregate_v3_cluster_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.clusters.aggregate.v3.ClusterConfig"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c new file mode 100644 index 00000000000..6ddf9e396cf --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c @@ -0,0 +1,91 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/common/fault/v3/fault.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/extensions/filters/common/fault/v3/fault.upbdefs.h" +#include "envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h" + +extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[1444] = {'\n', '4', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', +'s', '/', 'c', 'o', 'm', 'm', 'o', 'n', '/', 'f', 'a', 'u', 'l', 't', '/', 'v', '3', '/', 'f', 'a', 'u', 'l', 't', '.', 'p', +'r', 'o', 't', 'o', '\022', '(', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', +'l', 't', 'e', 'r', 's', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '\032', '\033', 'e', 'n', +'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', +'\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', +'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', +'/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', +'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', +'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\304', +'\003', '\n', '\n', 'F', 'a', 'u', 'l', 't', 'D', 'e', 'l', 'a', 'y', '\022', 'F', '\n', '\013', 'f', 'i', 'x', 'e', 'd', '_', 'd', 'e', +'l', 'a', 'y', '\030', '\003', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\252', '\001', '\002', '*', '\000', 'H', '\000', 'R', '\n', +'f', 'i', 'x', 'e', 'd', 'D', 'e', 'l', 'a', 'y', '\022', 'e', '\n', '\014', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'd', 'e', 'l', 'a', +'y', '\030', '\005', ' ', '\001', '(', '\013', '2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', +'s', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', +'.', 'F', 'a', 'u', 'l', 't', 'D', 'e', 'l', 'a', 'y', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'D', 'e', 'l', 'a', 'y', 'H', '\000', +'R', '\013', 'h', 'e', 'a', 'd', 'e', 'r', 'D', 'e', 'l', 'a', 'y', '\022', '@', '\n', '\n', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'a', +'g', 'e', '\030', '\004', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', +'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\n', 'p', 'e', 'r', 'c', 'e', 'n', +'t', 'a', 'g', 'e', '\032', 'I', '\n', '\013', 'H', 'e', 'a', 'd', 'e', 'r', 'D', 'e', 'l', 'a', 'y', ':', ':', '\232', '\305', '\210', '\036', +'5', '\n', '3', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'f', 'a', +'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', 'l', 't', 'D', 'e', 'l', 'a', 'y', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'D', +'e', 'l', 'a', 'y', '\"', '\033', '\n', '\016', 'F', 'a', 'u', 'l', 't', 'D', 'e', 'l', 'a', 'y', 'T', 'y', 'p', 'e', '\022', '\t', '\n', +'\005', 'F', 'I', 'X', 'E', 'D', '\020', '\000', ':', '.', '\232', '\305', '\210', '\036', ')', '\n', '\'', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', +'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', 'l', +'t', 'D', 'e', 'l', 'a', 'y', 'B', '\033', '\n', '\024', 'f', 'a', 'u', 'l', 't', '_', 'd', 'e', 'l', 'a', 'y', '_', 's', 'e', 'c', +'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', 'J', '\004', '\010', '\002', '\020', '\003', 'J', '\004', '\010', '\001', '\020', '\002', 'R', '\004', 't', +'y', 'p', 'e', '\"', '\260', '\004', '\n', '\016', 'F', 'a', 'u', 'l', 't', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '\022', 'f', '\n', +'\013', 'f', 'i', 'x', 'e', 'd', '_', 'l', 'i', 'm', 'i', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', 'C', '.', 'e', 'n', 'v', 'o', +'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'c', 'o', 'm', 'm', +'o', 'n', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '.', 'F', 'a', 'u', 'l', 't', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', +'t', '.', 'F', 'i', 'x', 'e', 'd', 'L', 'i', 'm', 'i', 't', 'H', '\000', 'R', '\n', 'f', 'i', 'x', 'e', 'd', 'L', 'i', 'm', 'i', +'t', '\022', 'i', '\n', '\014', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'l', 'i', 'm', 'i', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', 'D', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', +'.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '.', 'F', 'a', 'u', 'l', 't', 'R', 'a', 't', +'e', 'L', 'i', 'm', 'i', 't', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'L', 'i', 'm', 'i', 't', 'H', '\000', 'R', '\013', 'h', 'e', 'a', +'d', 'e', 'r', 'L', 'i', 'm', 'i', 't', '\022', '@', '\n', '\n', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'a', 'g', 'e', '\030', '\002', ' ', +'\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', 't', +'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\n', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'a', 'g', 'e', '\032', +'s', '\n', '\n', 'F', 'i', 'x', 'e', 'd', 'L', 'i', 'm', 'i', 't', '\022', '&', '\n', '\n', 'l', 'i', 'm', 'i', 't', '_', 'k', 'b', +'p', 's', '\030', '\001', ' ', '\001', '(', '\004', 'B', '\007', '\372', 'B', '\004', '2', '\002', '(', '\001', 'R', '\t', 'l', 'i', 'm', 'i', 't', 'K', +'b', 'p', 's', ':', '=', '\232', '\305', '\210', '\036', '8', '\n', '6', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'f', 'i', 'l', 't', 'e', 'r', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', 'l', 't', 'R', 'a', 't', 'e', +'L', 'i', 'm', 'i', 't', '.', 'F', 'i', 'x', 'e', 'd', 'L', 'i', 'm', 'i', 't', '\032', 'M', '\n', '\013', 'H', 'e', 'a', 'd', 'e', +'r', 'L', 'i', 'm', 'i', 't', ':', '>', '\232', '\305', '\210', '\036', '9', '\n', '7', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', 'l', 't', 'R', +'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'L', 'i', 'm', 'i', 't', ':', '2', '\232', '\305', '\210', +'\036', '-', '\n', '+', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'f', +'a', 'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', 'l', 't', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 'B', '\021', '\n', +'\n', 'l', 'i', 'm', 'i', 't', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', 'B', '\247', '\001', '\n', '6', 'i', 'o', '.', 'e', +'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', +'s', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', +'B', '\n', 'F', 'a', 'u', 'l', 't', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'W', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', +'m', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', +'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', +'t', 'e', 'r', 's', '/', 'c', 'o', 'm', 'm', 'o', 'n', '/', 'f', 'a', 'u', 'l', 't', '/', 'v', '3', ';', 'f', 'a', 'u', 'l', +'t', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[6] = { + &envoy_type_v3_percent_proto_upbdefinit, + &google_protobuf_duration_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit = { + deps, + &envoy_extensions_filters_common_fault_v3_fault_proto_upb_file_layout, + "envoy/extensions/filters/common/fault/v3/fault.proto", + UPB_STRINGVIEW_INIT(descriptor, 1444) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h new file mode 100644 index 00000000000..056735bb974 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h @@ -0,0 +1,55 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/common/fault/v3/fault.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPBDEFS_H_ +#define ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_extensions_filters_common_fault_v3_FaultDelay_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.common.fault.v3.FaultDelay"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.common.fault.v3.FaultDelay.HeaderDelay"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_filters_common_fault_v3_FaultRateLimit_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.common.fault.v3.FaultRateLimit"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.common.fault.v3.FaultRateLimit.FixedLimit"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.common.fault.v3.FaultRateLimit.HeaderLimit"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c new file mode 100644 index 00000000000..27dab7a0e0e --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c @@ -0,0 +1,122 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/fault/v3/fault.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/extensions/filters/http/fault/v3/fault.upbdefs.h" +#include "envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_route_v3_route_components_proto_upbdefinit; +extern _upb_DefPool_Init envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[2069] = {'\n', '2', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', +'s', '/', 'h', 't', 't', 'p', '/', 'f', 'a', 'u', 'l', 't', '/', 'v', '3', '/', 'f', 'a', 'u', 'l', 't', '.', 'p', 'r', 'o', +'t', 'o', '\022', '&', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', +'e', 'r', 's', '.', 'h', 't', 't', 'p', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '\032', ',', 'e', 'n', 'v', 'o', 'y', '/', +'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 'r', 'o', 'u', 't', 'e', '_', 'c', 'o', 'm', +'p', 'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '4', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', +'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', 's', '/', 'c', 'o', 'm', 'm', 'o', 'n', '/', 'f', 'a', 'u', +'l', 't', '/', 'v', '3', '/', 'f', 'a', 'u', 'l', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', 'o', 'y', '/', +'t', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\034', 'g', 'o', +'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 's', 't', 'r', 'u', 'c', 't', '.', 'p', 'r', 'o', 't', +'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', +'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', +'s', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', +'t', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', +'\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', +'\244', '\003', '\n', '\n', 'F', 'a', 'u', 'l', 't', 'A', 'b', 'o', 'r', 't', '\022', '.', '\n', '\013', 'h', 't', 't', 'p', '_', 's', 't', +'a', 't', 'u', 's', '\030', '\002', ' ', '\001', '(', '\r', 'B', '\013', '\372', 'B', '\010', '*', '\006', '\020', '\330', '\004', '(', '\310', '\001', 'H', '\000', +'R', '\n', 'h', 't', 't', 'p', 'S', 't', 'a', 't', 'u', 's', '\022', '!', '\n', '\013', 'g', 'r', 'p', 'c', '_', 's', 't', 'a', 't', +'u', 's', '\030', '\005', ' ', '\001', '(', '\r', 'H', '\000', 'R', '\n', 'g', 'r', 'p', 'c', 'S', 't', 'a', 't', 'u', 's', '\022', 'c', '\n', +'\014', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'a', 'b', 'o', 'r', 't', '\030', '\004', ' ', '\001', '(', '\013', '2', '>', '.', 'e', 'n', 'v', +'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'h', 't', 't', +'p', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '.', 'F', 'a', 'u', 'l', 't', 'A', 'b', 'o', 'r', 't', '.', 'H', 'e', 'a', +'d', 'e', 'r', 'A', 'b', 'o', 'r', 't', 'H', '\000', 'R', '\013', 'h', 'e', 'a', 'd', 'e', 'r', 'A', 'b', 'o', 'r', 't', '\022', '@', +'\n', '\n', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'a', 'g', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', +'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', +'n', 't', 'R', '\n', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'a', 'g', 'e', '\032', 'N', '\n', '\013', 'H', 'e', 'a', 'd', 'e', 'r', 'A', +'b', 'o', 'r', 't', ':', '?', '\232', '\305', '\210', '\036', ':', '\n', '8', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'h', 't', 't', 'p', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', +'l', 't', 'A', 'b', 'o', 'r', 't', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'A', 'b', 'o', 'r', 't', ':', '3', '\232', '\305', '\210', '\036', +'.', '\n', ',', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'h', 't', +'t', 'p', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', 'l', 't', 'A', 'b', 'o', 'r', 't', 'B', '\021', '\n', +'\n', 'e', 'r', 'r', 'o', 'r', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', 'J', '\004', '\010', '\001', '\020', '\002', '\"', '\307', '\010', +'\n', '\t', 'H', 'T', 'T', 'P', 'F', 'a', 'u', 'l', 't', '\022', 'J', '\n', '\005', 'd', 'e', 'l', 'a', 'y', '\030', '\001', ' ', '\001', '(', +'\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', +'e', 'r', 's', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '.', 'F', 'a', 'u', 'l', 't', +'D', 'e', 'l', 'a', 'y', 'R', '\005', 'd', 'e', 'l', 'a', 'y', '\022', 'H', '\n', '\005', 'a', 'b', 'o', 'r', 't', '\030', '\002', ' ', '\001', +'(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', +'t', 'e', 'r', 's', '.', 'h', 't', 't', 'p', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '.', 'F', 'a', 'u', 'l', 't', 'A', +'b', 'o', 'r', 't', 'R', '\005', 'a', 'b', 'o', 'r', 't', '\022', ')', '\n', '\020', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'c', +'l', 'u', 's', 't', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\017', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'l', 'u', +'s', 't', 'e', 'r', '\022', '>', '\n', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\004', ' ', '\003', '(', '\013', '2', '$', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', +'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\022', ')', '\n', '\020', 'd', 'o', 'w', +'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'n', 'o', 'd', 'e', 's', '\030', '\005', ' ', '\003', '(', '\t', 'R', '\017', 'd', 'o', 'w', 'n', +'s', 't', 'r', 'e', 'a', 'm', 'N', 'o', 'd', 'e', 's', '\022', 'H', '\n', '\021', 'm', 'a', 'x', '_', 'a', 'c', 't', 'i', 'v', 'e', +'_', 'f', 'a', 'u', 'l', 't', 's', '\030', '\006', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\017', 'm', 'a', 'x', 'A', 'c', +'t', 'i', 'v', 'e', 'F', 'a', 'u', 'l', 't', 's', '\022', 'h', '\n', '\023', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'r', 'a', +'t', 'e', '_', 'l', 'i', 'm', 'i', 't', '\030', '\007', ' ', '\001', '(', '\013', '2', '8', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'f', +'a', 'u', 'l', 't', '.', 'v', '3', '.', 'F', 'a', 'u', 'l', 't', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 'R', '\021', 'r', +'e', 's', 'p', 'o', 'n', 's', 'e', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '\022', '2', '\n', '\025', 'd', 'e', 'l', 'a', 'y', +'_', 'p', 'e', 'r', 'c', 'e', 'n', 't', '_', 'r', 'u', 'n', 't', 'i', 'm', 'e', '\030', '\010', ' ', '\001', '(', '\t', 'R', '\023', 'd', +'e', 'l', 'a', 'y', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', '2', '\n', '\025', 'a', 'b', 'o', +'r', 't', '_', 'p', 'e', 'r', 'c', 'e', 'n', 't', '_', 'r', 'u', 'n', 't', 'i', 'm', 'e', '\030', '\t', ' ', '\001', '(', '\t', 'R', +'\023', 'a', 'b', 'o', 'r', 't', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', '4', '\n', '\026', 'd', +'e', 'l', 'a', 'y', '_', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '_', 'r', 'u', 'n', 't', 'i', 'm', 'e', '\030', '\n', ' ', '\001', +'(', '\t', 'R', '\024', 'd', 'e', 'l', 'a', 'y', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', +'9', '\n', '\031', 'a', 'b', 'o', 'r', 't', '_', 'h', 't', 't', 'p', '_', 's', 't', 'a', 't', 'u', 's', '_', 'r', 'u', 'n', 't', +'i', 'm', 'e', '\030', '\013', ' ', '\001', '(', '\t', 'R', '\026', 'a', 'b', 'o', 'r', 't', 'H', 't', 't', 'p', 'S', 't', 'a', 't', 'u', +'s', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', '9', '\n', '\031', 'm', 'a', 'x', '_', 'a', 'c', 't', 'i', 'v', 'e', '_', 'f', 'a', +'u', 'l', 't', 's', '_', 'r', 'u', 'n', 't', 'i', 'm', 'e', '\030', '\014', ' ', '\001', '(', '\t', 'R', '\026', 'm', 'a', 'x', 'A', 'c', +'t', 'i', 'v', 'e', 'F', 'a', 'u', 'l', 't', 's', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', 'L', '\n', '#', 'r', 'e', 's', 'p', +'o', 'n', 's', 'e', '_', 'r', 'a', 't', 'e', '_', 'l', 'i', 'm', 'i', 't', '_', 'p', 'e', 'r', 'c', 'e', 'n', 't', '_', 'r', +'u', 'n', 't', 'i', 'm', 'e', '\030', '\r', ' ', '\001', '(', '\t', 'R', '\037', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'R', 'a', 't', +'e', 'L', 'i', 'm', 'i', 't', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', '9', '\n', '\031', 'a', +'b', 'o', 'r', 't', '_', 'g', 'r', 'p', 'c', '_', 's', 't', 'a', 't', 'u', 's', '_', 'r', 'u', 'n', 't', 'i', 'm', 'e', '\030', +'\016', ' ', '\001', '(', '\t', 'R', '\026', 'a', 'b', 'o', 'r', 't', 'G', 'r', 'p', 'c', 'S', 't', 'a', 't', 'u', 's', 'R', 'u', 'n', +'t', 'i', 'm', 'e', '\022', 'G', '\n', ' ', 'd', 'i', 's', 'a', 'b', 'l', 'e', '_', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', +'m', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 't', 'a', 't', 's', '\030', '\017', ' ', '\001', '(', '\010', 'R', '\035', 'd', 'i', +'s', 'a', 'b', 'l', 'e', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'C', 'l', 'u', 's', 't', 'e', 'r', 'S', 't', 'a', +'t', 's', '\022', '@', '\n', '\017', 'f', 'i', 'l', 't', 'e', 'r', '_', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\020', ' ', '\001', +'(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', +'c', 't', 'R', '\016', 'f', 'i', 'l', 't', 'e', 'r', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', ':', '2', '\232', '\305', '\210', '\036', '-', +'\n', '+', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'h', 't', 't', +'p', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '2', '.', 'H', 'T', 'T', 'P', 'F', 'a', 'u', 'l', 't', 'B', '\243', '\001', '\n', '4', +'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', +'s', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'h', 't', 't', 'p', '.', 'f', 'a', 'u', 'l', 't', '.', +'v', '3', 'B', '\n', 'F', 'a', 'u', 'l', 't', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'U', 'g', 'i', 't', 'h', 'u', 'b', '.', +'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', +'-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', +'i', 'l', 't', 'e', 'r', 's', '/', 'h', 't', 't', 'p', '/', 'f', 'a', 'u', 'l', 't', '/', 'v', '3', ';', 'f', 'a', 'u', 'l', +'t', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[9] = { + &envoy_config_route_v3_route_components_proto_upbdefinit, + &envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit, + &envoy_type_v3_percent_proto_upbdefinit, + &google_protobuf_struct_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_extensions_filters_http_fault_v3_fault_proto_upbdefinit = { + deps, + &envoy_extensions_filters_http_fault_v3_fault_proto_upb_file_layout, + "envoy/extensions/filters/http/fault/v3/fault.proto", + UPB_STRINGVIEW_INIT(descriptor, 2069) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h new file mode 100644 index 00000000000..1c0eecd5082 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h @@ -0,0 +1,45 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/fault/v3/fault.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPBDEFS_H_ +#define ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_extensions_filters_http_fault_v3_fault_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_extensions_filters_http_fault_v3_FaultAbort_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_http_fault_v3_fault_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.http.fault.v3.FaultAbort"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_http_fault_v3_fault_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.http.fault.v3.FaultAbort.HeaderAbort"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_filters_http_fault_v3_HTTPFault_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_http_fault_v3_fault_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.http.fault.v3.HTTPFault"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c new file mode 100644 index 00000000000..9f0197369f5 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c @@ -0,0 +1,79 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/rbac/v3/rbac.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h" +#include "envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_rbac_v3_rbac_proto_upbdefinit; +extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; +extern _upb_DefPool_Init xds_type_matcher_v3_matcher_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +static const char descriptor[1080] = {'\n', '0', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', +'s', '/', 'h', 't', 't', 'p', '/', 'r', 'b', 'a', 'c', '/', 'v', '3', '/', 'r', 'b', 'a', 'c', '.', 'p', 'r', 'o', 't', 'o', +'\022', '%', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', +'s', '.', 'h', 't', 't', 'p', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', +'f', 'i', 'g', '/', 'r', 'b', 'a', 'c', '/', 'v', '3', '/', 'r', 'b', 'a', 'c', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'x', +'d', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', +'p', 'r', 'o', 't', 'o', '\032', '!', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', +'3', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', +'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', +'d', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', +'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', +'s', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\"', '\335', '\003', '\n', '\004', 'R', 'B', 'A', 'C', '\022', 'I', '\n', +'\005', 'r', 'u', 'l', 'e', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', 'B', '\027', '\362', '\230', '\376', '\217', '\005', '\021', '\022', '\017', +'r', 'u', 'l', 'e', 's', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'R', '\005', 'r', 'u', 'l', 'e', 's', '\022', 'W', '\n', +'\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\004', ' ', '\001', '(', '\013', '2', '\034', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', +'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\037', '\362', '\230', '\376', '\217', +'\005', '\021', '\022', '\017', 'r', 'u', 'l', 'e', 's', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\322', '\306', '\244', '\341', '\006', '\002', +'\010', '\001', 'R', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\022', ']', '\n', '\014', 's', 'h', 'a', 'd', 'o', 'w', '_', 'r', 'u', 'l', +'e', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', +'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', 'B', '\036', '\362', '\230', '\376', '\217', '\005', '\030', '\022', '\026', 's', 'h', 'a', 'd', +'o', 'w', '_', 'r', 'u', 'l', 'e', 's', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'R', '\013', 's', 'h', 'a', 'd', 'o', +'w', 'R', 'u', 'l', 'e', 's', '\022', 'k', '\n', '\016', 's', 'h', 'a', 'd', 'o', 'w', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', +'\005', ' ', '\001', '(', '\013', '2', '\034', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', +'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '&', '\362', '\230', '\376', '\217', '\005', '\030', '\022', '\026', 's', 'h', 'a', 'd', 'o', +'w', '_', 'r', 'u', 'l', 'e', 's', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', +'R', '\r', 's', 'h', 'a', 'd', 'o', 'w', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', '7', '\n', '\030', 's', 'h', 'a', 'd', 'o', 'w', +'_', 'r', 'u', 'l', 'e', 's', '_', 's', 't', 'a', 't', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\003', ' ', '\001', '(', '\t', 'R', +'\025', 's', 'h', 'a', 'd', 'o', 'w', 'R', 'u', 'l', 'e', 's', 'S', 't', 'a', 't', 'P', 'r', 'e', 'f', 'i', 'x', ':', ',', '\232', +'\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', +'.', 'h', 't', 't', 'p', '.', 'r', 'b', 'a', 'c', '.', 'v', '2', '.', 'R', 'B', 'A', 'C', '\"', '\213', '\001', '\n', '\014', 'R', 'B', +'A', 'C', 'P', 'e', 'r', 'R', 'o', 'u', 't', 'e', '\022', '?', '\n', '\004', 'r', 'b', 'a', 'c', '\030', '\002', ' ', '\001', '(', '\013', '2', +'+', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', +'s', '.', 'h', 't', 't', 'p', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', 'R', '\004', 'r', 'b', 'a', 'c', +':', '4', '\232', '\305', '\210', '\036', '/', '\n', '-', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', +'t', 'e', 'r', '.', 'h', 't', 't', 'p', '.', 'r', 'b', 'a', 'c', '.', 'v', '2', '.', 'R', 'B', 'A', 'C', 'P', 'e', 'r', 'R', +'o', 'u', 't', 'e', 'J', '\004', '\010', '\001', '\020', '\002', 'B', '\237', '\001', '\n', '3', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', +'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', +'e', 'r', 's', '.', 'h', 't', 't', 'p', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', 'B', '\t', 'R', 'b', 'a', 'c', 'P', 'r', 'o', +'t', 'o', 'P', '\001', 'Z', 'S', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', +'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', +'/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', 's', '/', 'h', 't', 't', 'p', '/', +'r', 'b', 'a', 'c', '/', 'v', '3', ';', 'r', 'b', 'a', 'c', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', +'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[7] = { + &envoy_config_rbac_v3_rbac_proto_upbdefinit, + &xds_annotations_v3_status_proto_upbdefinit, + &xds_type_matcher_v3_matcher_proto_upbdefinit, + &udpa_annotations_migrate_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_extensions_filters_http_rbac_v3_rbac_proto_upbdefinit = { + deps, + &envoy_extensions_filters_http_rbac_v3_rbac_proto_upb_file_layout, + "envoy/extensions/filters/http/rbac/v3/rbac.proto", + UPB_STRINGVIEW_INIT(descriptor, 1080) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h new file mode 100644 index 00000000000..1decddcd339 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h @@ -0,0 +1,40 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/rbac/v3/rbac.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPBDEFS_H_ +#define ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_extensions_filters_http_rbac_v3_rbac_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_extensions_filters_http_rbac_v3_RBAC_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_http_rbac_v3_rbac_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.http.rbac.v3.RBAC"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_filters_http_rbac_v3_RBACPerRoute_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_http_rbac_v3_rbac_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.http.rbac.v3.RBACPerRoute"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c similarity index 83% rename from src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c index 5019b043f1d..ca3010adadd 100644 --- a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/filters/http/router/v3/router.proto * @@ -8,16 +7,17 @@ #include "upb/reflection/def.h" #include "envoy/extensions/filters/http/router/v3/router.upbdefs.h" -#include "envoy/extensions/filters/http/router/v3/router.upb.h" +#include "envoy/extensions/filters/http/router/v3/router.upb_minitable.h" extern _upb_DefPool_Init envoy_config_accesslog_v3_accesslog_proto_upbdefinit; extern _upb_DefPool_Init envoy_extensions_filters_network_http_connection_manager_v3_http_connection_manager_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[1672] = {'\n', '4', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', +static const char descriptor[1722] = {'\n', '4', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', 's', '/', 'h', 't', 't', 'p', '/', 'r', 'o', 'u', 't', 'e', 'r', '/', 'v', '3', '/', 'r', 'o', 'u', 't', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', '\'', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'h', 't', 't', 'p', '.', 'r', 'o', 'u', 't', 'e', 'r', '.', 'v', '3', '\032', ')', 'e', 'n', 'v', @@ -28,15 +28,17 @@ static const char descriptor[1672] = {'\n', '4', 'e', 'n', 'v', 'o', 'y', '/', ' 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', -'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', -'!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', -'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', -'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\323', '\010', '\n', '\006', 'R', 'o', 'u', 't', 'e', 'r', '\022', '?', '\n', '\r', 'd', -'y', 'n', 'a', 'm', 'i', 'c', '_', 's', 't', 'a', 't', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\014', 'd', 'y', -'n', 'a', 'm', 'i', 'c', 'S', 't', 'a', 't', 's', '\022', '(', '\n', '\020', 's', 't', 'a', 'r', 't', '_', 'c', 'h', 'i', 'l', 'd', -'_', 's', 'p', 'a', 'n', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\016', 's', 't', 'a', 'r', 't', 'C', 'h', 'i', 'l', 'd', 'S', 'p', +'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', +'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', +'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', +'t', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', +'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', +'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\340', '\010', '\n', +'\006', 'R', 'o', 'u', 't', 'e', 'r', '\022', '?', '\n', '\r', 'd', 'y', 'n', 'a', 'm', 'i', 'c', '_', 's', 't', 'a', 't', 's', '\030', +'\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', +'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\014', 'd', 'y', 'n', 'a', 'm', 'i', 'c', 'S', 't', 'a', 't', 's', '\022', '5', '\n', +'\020', 's', 't', 'a', 'r', 't', '_', 'c', 'h', 'i', 'l', 'd', '_', 's', 'p', 'a', 'n', '\030', '\002', ' ', '\001', '(', '\010', 'B', '\013', +'\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\016', 's', 't', 'a', 'r', 't', 'C', 'h', 'i', 'l', 'd', 'S', 'p', 'a', 'n', '\022', 'G', '\n', '\014', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'l', 'o', 'g', '\030', '\003', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'R', '\013', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'L', 'o', 'g', @@ -86,11 +88,12 @@ static const char descriptor[1672] = {'\n', '4', 'e', 'n', 'v', 'o', 'y', '/', ' 'u', 't', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', }; -static _upb_DefPool_Init *deps[8] = { +static _upb_DefPool_Init *deps[9] = { &envoy_config_accesslog_v3_accesslog_proto_upbdefinit, &envoy_extensions_filters_network_http_connection_manager_v3_http_connection_manager_proto_upbdefinit, &google_protobuf_duration_proto_upbdefinit, &google_protobuf_wrappers_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, &udpa_annotations_status_proto_upbdefinit, &udpa_annotations_versioning_proto_upbdefinit, &validate_validate_proto_upbdefinit, @@ -101,5 +104,5 @@ _upb_DefPool_Init envoy_extensions_filters_http_router_v3_router_proto_upbdefini deps, &envoy_extensions_filters_http_router_v3_router_proto_upb_file_layout, "envoy/extensions/filters/http/router/v3/router.proto", - UPB_STRINGVIEW_INIT(descriptor, 1672) + UPB_STRINGVIEW_INIT(descriptor, 1722) }; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h similarity index 91% rename from src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h index 67989461c9c..2797e801c03 100644 --- a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/filters/http/router/v3/router.proto * @@ -10,7 +9,7 @@ #define ENVOY_EXTENSIONS_FILTERS_HTTP_ROUTER_V3_ROUTER_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c new file mode 100644 index 00000000000..1ac52efcb13 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c @@ -0,0 +1,60 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/http/stateful_session/v3/stateful_session.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h" +#include "envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[757] = {'\n', 'H', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', +'s', '/', 'h', 't', 't', 'p', '/', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '/', 'v', +'3', '/', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\022', +'1', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', +'.', 'h', 't', 't', 'p', '.', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '.', 'v', '3', +'\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', +'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', +'d', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 'z', '\n', '\017', 'S', 't', +'a', 't', 'e', 'f', 'u', 'l', 'S', 'e', 's', 's', 'i', 'o', 'n', '\022', 'O', '\n', '\r', 's', 'e', 's', 's', 'i', 'o', 'n', '_', +'s', 't', 'a', 't', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', +'o', 'n', 'f', 'i', 'g', 'R', '\014', 's', 'e', 's', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'e', '\022', '\026', '\n', '\006', 's', 't', +'r', 'i', 'c', 't', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\006', 's', 't', 'r', 'i', 'c', 't', '\"', '\302', '\001', '\n', '\027', 'S', 't', +'a', 't', 'e', 'f', 'u', 'l', 'S', 'e', 's', 's', 'i', 'o', 'n', 'P', 'e', 'r', 'R', 'o', 'u', 't', 'e', '\022', '%', '\n', '\010', +'d', 'i', 's', 'a', 'b', 'l', 'e', 'd', '\030', '\001', ' ', '\001', '(', '\010', 'B', '\007', '\372', 'B', '\004', 'j', '\002', '\010', '\001', 'H', '\000', +'R', '\010', 'd', 'i', 's', 'a', 'b', 'l', 'e', 'd', '\022', 'o', '\n', '\020', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', +'s', 's', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\013', '2', 'B', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', +'s', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'h', 't', 't', 'p', '.', 's', 't', 'a', 't', 'e', 'f', +'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '.', 'v', '3', '.', 'S', 't', 'a', 't', 'e', 'f', 'u', 'l', 'S', 'e', 's', +'s', 'i', 'o', 'n', 'H', '\000', 'R', '\017', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', 'S', 'e', 's', 's', 'i', 'o', 'n', 'B', '\017', +'\n', '\010', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '\022', '\003', '\370', 'B', '\001', 'B', '\316', '\001', '\n', '?', 'i', 'o', '.', 'e', 'n', +'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', +'.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'h', 't', 't', 'p', '.', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', +'s', 's', 'i', 'o', 'n', '.', 'v', '3', 'B', '\024', 'S', 't', 'a', 't', 'e', 'f', 'u', 'l', 'S', 'e', 's', 's', 'i', 'o', 'n', +'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'k', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', +'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', +'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', 's', '/', 'h', 't', +'t', 'p', '/', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '/', 'v', '3', ';', 's', 't', +'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', +'\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[4] = { + &envoy_config_core_v3_extension_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_extensions_filters_http_stateful_session_v3_stateful_session_proto_upbdefinit = { + deps, + &envoy_extensions_filters_http_stateful_session_v3_stateful_session_proto_upb_file_layout, + "envoy/extensions/filters/http/stateful_session/v3/stateful_session.proto", + UPB_STRINGVIEW_INIT(descriptor, 757) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h similarity index 92% rename from src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h index 0968558d0e5..0c263b98bca 100644 --- a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/filters/http/stateful_session/v3/stateful_session.proto * @@ -10,7 +9,7 @@ #define ENVOY_EXTENSIONS_FILTERS_HTTP_STATEFUL_SESSION_V3_STATEFUL_SESSION_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c new file mode 100644 index 00000000000..b5a197ca70c --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c @@ -0,0 +1,605 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h" +#include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_accesslog_v3_accesslog_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_config_source_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_protocol_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_substitution_format_string_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_route_v3_route_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_route_v3_scoped_route_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_trace_v3_http_tracer_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_http_v3_path_transformation_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_tracing_v3_custom_tag_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_security_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[13438] = {'\n', 'Y', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', +'s', '/', 'n', 'e', 't', 'w', 'o', 'r', 'k', '/', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', +'_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '/', 'v', '3', '/', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', +'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', ';', 'e', 'n', 'v', 'o', 'y', '.', 'e', +'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', +'.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', +'v', '3', '\032', ')', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', +'g', '/', 'v', '3', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', +'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'a', 'd', 'd', 'r', 'e', 's', 's', +'.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', +'/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', +'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', 'r', 'c', 'e', +'.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', +'/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', +'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', +'.', 'p', 'r', 'o', 't', 'o', '\032', '5', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', +'/', 'v', '3', '/', 's', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'i', 'o', 'n', '_', 'f', 'o', 'r', 'm', 'a', 't', '_', 's', +'t', 'r', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', +'/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 'r', 'o', 'u', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', +'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 's', 'c', 'o', 'p', 'e', +'d', '_', 'r', 'o', 'u', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', +'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', '/', 'h', 't', 't', 'p', '_', 't', 'r', 'a', 'c', 'e', 'r', '.', 'p', +'r', 'o', 't', 'o', '\032', ',', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'h', 't', 't', 'p', '/', 'v', '3', '/', +'p', 'a', 't', 'h', '_', 't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', +'\032', '&', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 't', 'r', 'a', 'c', 'i', 'n', 'g', '/', 'v', '3', '/', 'c', +'u', 's', 't', 'o', 'm', '_', 't', 'a', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', +'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', +'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', +'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', +'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', +'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', +'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', +'d', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', 'p', +'r', 'o', 't', 'o', '\032', '\037', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 'e', +'c', 'u', 'r', 'i', 't', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', +'t', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', +'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', +'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', +'o', 't', 'o', '\"', '\236', 'A', '\n', '\025', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', +'a', 'g', 'e', 'r', '\022', '\205', '\001', '\n', '\n', 'c', 'o', 'd', 'e', 'c', '_', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\016', +'2', '\\', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', +'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', +'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', +'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'C', 'o', 'd', 'e', 'c', 'T', 'y', 'p', 'e', 'B', '\010', '\372', 'B', '\005', '\202', +'\001', '\002', '\020', '\001', 'R', '\t', 'c', 'o', 'd', 'e', 'c', 'T', 'y', 'p', 'e', '\022', '(', '\n', '\013', 's', 't', 'a', 't', '_', 'p', +'r', 'e', 'f', 'i', 'x', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\n', 's', 't', 'a', +'t', 'P', 'r', 'e', 'f', 'i', 'x', '\022', 'T', '\n', '\003', 'r', 'd', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '@', '.', 'e', 'n', +'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', +'t', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', +'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'R', 'd', 's', 'H', '\000', 'R', '\003', 'r', 'd', 's', '\022', 'N', '\n', '\014', 'r', 'o', 'u', +'t', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', +'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'H', '\000', 'R', '\013', 'r', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'p', +'\n', '\r', 's', 'c', 'o', 'p', 'e', 'd', '_', 'r', 'o', 'u', 't', 'e', 's', '\030', '\037', ' ', '\001', '(', '\013', '2', 'I', '.', 'e', +'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', +'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', +'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', 'H', '\000', 'R', '\014', +'s', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '\022', 'j', '\n', '\014', 'h', 't', 't', 'p', '_', 'f', 'i', 'l', 't', +'e', 'r', 's', '\030', '\005', ' ', '\003', '(', '\013', '2', 'G', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', +'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', +'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', +'p', 'F', 'i', 'l', 't', 'e', 'r', 'R', '\013', 'h', 't', 't', 'p', 'F', 'i', 'l', 't', 'e', 'r', 's', '\022', '@', '\n', '\016', 'a', +'d', 'd', '_', 'u', 's', 'e', 'r', '_', 'a', 'g', 'e', 'n', 't', '\030', '\006', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\014', 'a', +'d', 'd', 'U', 's', 'e', 'r', 'A', 'g', 'e', 'n', 't', '\022', 't', '\n', '\007', 't', 'r', 'a', 'c', 'i', 'n', 'g', '\030', '\007', ' ', +'\001', '(', '\013', '2', 'Z', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', +'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', +'t', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', +'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'T', 'r', 'a', 'c', 'i', 'n', 'g', 'R', '\007', 't', 'r', 'a', +'c', 'i', 'n', 'g', '\022', 's', '\n', '\034', 'c', 'o', 'm', 'm', 'o', 'n', '_', 'h', 't', 't', 'p', '_', 'p', 'r', 'o', 't', 'o', +'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '#', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', +'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'B', '\007', '\212', '\223', '\267', '*', '\002', '\010', '\001', 'R', '\031', 'c', 'o', 'm', 'm', +'o', 'n', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '^', '\n', '\025', +'h', 't', 't', 'p', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\010', ' ', '\001', +'(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', +'.', 'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\023', 'h', 't', +'t', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'i', '\n', '\026', 'h', 't', 't', 'p', +'2', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\t', ' ', '\001', '(', '\013', '2', +'*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', +'t', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'B', '\007', '\212', '\223', '\267', '*', '\002', +'\010', '\001', 'R', '\024', 'h', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', +'`', '\n', '\026', 'h', 't', 't', 'p', '3', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', +'\030', ',', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', +'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '3', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', +'R', '\024', 'h', 't', 't', 'p', '3', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', ',', '\n', +'\013', 's', 'e', 'r', 'v', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\n', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', +'\300', '\001', '\002', '\310', '\001', '\000', 'R', '\n', 's', 'e', 'r', 'v', 'e', 'r', 'N', 'a', 'm', 'e', '\022', '\271', '\001', '\n', '\034', 's', 'e', +'r', 'v', 'e', 'r', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', +'n', '\030', '\"', ' ', '\001', '(', '\016', '2', 'm', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', +'s', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', +'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', +'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'S', 'e', 'r', 'v', 'e', 'r', 'H', 'e', +'a', 'd', 'e', 'r', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\202', '\001', +'\002', '\020', '\001', 'R', '\032', 's', 'e', 'r', 'v', 'e', 'r', 'H', 'e', 'a', 'd', 'e', 'r', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', +'m', 'a', 't', 'i', 'o', 'n', '\022', 'r', '\n', '\034', 's', 'c', 'h', 'e', 'm', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 't', +'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', '\030', '0', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'c', 'h', 'e', 'm', 'e', 'H', +'e', 'a', 'd', 'e', 'r', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 'R', '\032', 's', 'c', 'h', 'e', +'m', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', '\022', ']', '\n', +'\026', 'm', 'a', 'x', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 'k', 'b', '\030', '\035', +' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', +'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\n', '\372', 'B', '\007', '*', '\005', '\030', '\200', '@', ' ', '\000', 'R', '\023', 'm', 'a', +'x', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'K', 'b', '\022', 'R', '\n', '\023', 's', 't', 'r', 'e', +'a', 'm', '_', 'i', 'd', 'l', 'e', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\030', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', +'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\007', +'\212', '\223', '\267', '*', '\002', '\010', '\001', 'R', '\021', 's', 't', 'r', 'e', 'a', 'm', 'I', 'd', 'l', 'e', 'T', 'i', 'm', 'e', 'o', 'u', +'t', '\022', 'K', '\n', '\017', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\034', ' ', '\001', '(', +'\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', +'i', 'o', 'n', 'B', '\007', '\212', '\223', '\267', '*', '\002', '\010', '\001', 'R', '\016', 'r', 'e', 'q', 'u', 'e', 's', 't', 'T', 'i', 'm', 'e', +'o', 'u', 't', '\022', 'b', '\n', '\027', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'i', +'m', 'e', 'o', 'u', 't', '\030', ')', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', +'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\017', '\372', 'B', '\005', '\252', '\001', '\002', '2', '\000', '\212', '\223', +'\267', '*', '\002', '\010', '\001', 'R', '\025', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'i', 'm', 'e', +'o', 'u', 't', '\022', '>', '\n', '\r', 'd', 'r', 'a', 'i', 'n', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\014', ' ', '\001', '(', +'\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', +'i', 'o', 'n', 'R', '\014', 'd', 'r', 'a', 'i', 'n', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'M', '\n', '\025', 'd', 'e', 'l', 'a', +'y', 'e', 'd', '_', 'c', 'l', 'o', 's', 'e', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\032', ' ', '\001', '(', '\013', '2', '\031', +'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', +'R', '\023', 'd', 'e', 'l', 'a', 'y', 'e', 'd', 'C', 'l', 'o', 's', 'e', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'C', '\n', '\n', +'a', 'c', 'c', 'e', 's', 's', '_', 'l', 'o', 'g', '\030', '\r', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', +'s', 'L', 'o', 'g', 'R', '\t', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', '\022', 'm', '\n', '\031', 'a', 'c', 'c', 'e', 's', 's', +'_', 'l', 'o', 'g', '_', 'f', 'l', 'u', 's', 'h', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '6', ' ', '\001', '(', '\013', +'2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', +'o', 'n', 'B', '\027', '\030', '\001', '\372', 'B', '\t', '\252', '\001', '\006', '2', '\004', '\020', '\300', '\204', '=', '\222', '\307', '\206', '\330', '\004', '\003', '3', +'.', '0', 'R', '\026', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'l', 'u', 's', 'h', 'I', 'n', 't', 'e', 'r', 'v', 'a', +'l', '\022', 'P', '\n', '\037', 'f', 'l', 'u', 's', 'h', '_', 'a', 'c', 'c', 'e', 's', 's', '_', 'l', 'o', 'g', '_', 'o', 'n', '_', +'n', 'e', 'w', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '\030', '7', ' ', '\001', '(', '\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', +'\004', '\003', '3', '.', '0', 'R', '\032', 'f', 'l', 'u', 's', 'h', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'O', 'n', 'N', 'e', +'w', 'R', 'e', 'q', 'u', 'e', 's', 't', '\022', '\224', '\001', '\n', '\022', 'a', 'c', 'c', 'e', 's', 's', '_', 'l', 'o', 'g', '_', 'o', +'p', 't', 'i', 'o', 'n', 's', '\030', '8', ' ', '\001', '(', '\013', '2', 'f', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', +'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', +'t', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', +'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'H', 'c', 'm', +'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\020', 'a', 'c', 'c', 'e', 's', 's', 'L', +'o', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'Q', '\n', '\022', 'u', 's', 'e', '_', 'r', 'e', 'm', 'o', 't', 'e', '_', 'a', +'d', 'd', 'r', 'e', 's', 's', '\030', '\016', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\212', '\223', '\267', '*', '\002', '\010', '\001', 'R', +'\020', 'u', 's', 'e', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', '/', '\n', '\024', 'x', 'f', 'f', '_', +'n', 'u', 'm', '_', 't', 'r', 'u', 's', 't', 'e', 'd', '_', 'h', 'o', 'p', 's', '\030', '\023', ' ', '\001', '(', '\r', 'R', '\021', 'x', +'f', 'f', 'N', 'u', 'm', 'T', 'r', 'u', 's', 't', 'e', 'd', 'H', 'o', 'p', 's', '\022', 's', '\n', ' ', 'o', 'r', 'i', 'g', 'i', +'n', 'a', 'l', '_', 'i', 'p', '_', 'd', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', +'n', 's', '\030', '.', ' ', '\003', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', +'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', +'i', 'g', 'R', '\035', 'o', 'r', 'i', 'g', 'i', 'n', 'a', 'l', 'I', 'p', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', 'E', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', 's', '\022', 's', '\n', ' ', 'e', 'a', 'r', 'l', 'y', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', +'m', 'u', 't', 'a', 't', 'i', 'o', 'n', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '\030', '4', ' ', '\003', '(', '\013', +'2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', +'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\035', 'e', 'a', 'r', 'l', +'y', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'u', 't', 'a', 't', 'i', 'o', 'n', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', +'\022', '\240', '\001', '\n', '\027', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '_', 'c', 'o', 'n', +'f', 'i', 'g', '\030', '\031', ' ', '\001', '(', '\013', '2', 'h', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', +'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', +'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', +'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'I', 'n', 't', 'e', 'r', 'n', +'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\025', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', +'A', 'd', 'd', 'r', 'e', 's', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '&', '\n', '\017', 's', 'k', 'i', 'p', '_', 'x', 'f', 'f', +'_', 'a', 'p', 'p', 'e', 'n', 'd', '\030', '\025', ' ', '\001', '(', '\010', 'R', '\r', 's', 'k', 'i', 'p', 'X', 'f', 'f', 'A', 'p', 'p', +'e', 'n', 'd', '\022', '\035', '\n', '\003', 'v', 'i', 'a', '\030', '\026', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', +'\002', '\310', '\001', '\000', 'R', '\003', 'v', 'i', 'a', '\022', 'J', '\n', '\023', 'g', 'e', 'n', 'e', 'r', 'a', 't', 'e', '_', 'r', 'e', 'q', +'u', 'e', 's', 't', '_', 'i', 'd', '\030', '\017', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\021', 'g', 'e', 'n', 'e', 'r', 'a', 't', +'e', 'R', 'e', 'q', 'u', 'e', 's', 't', 'I', 'd', '\022', '?', '\n', '\034', 'p', 'r', 'e', 's', 'e', 'r', 'v', 'e', '_', 'e', 'x', +'t', 'e', 'r', 'n', 'a', 'l', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'i', 'd', '\030', ' ', ' ', '\001', '(', '\010', 'R', '\031', +'p', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'E', 'x', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'q', 'u', 'e', 's', 't', 'I', 'd', +'\022', 'G', '\n', '!', 'a', 'l', 'w', 'a', 'y', 's', '_', 's', 'e', 't', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'i', 'd', +'_', 'i', 'n', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '\030', '%', ' ', '\001', '(', '\010', 'R', '\034', 'a', 'l', 'w', 'a', 'y', +'s', 'S', 'e', 't', 'R', 'e', 'q', 'u', 'e', 's', 't', 'I', 'd', 'I', 'n', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', '\022', '\264', +'\001', '\n', '\033', 'f', 'o', 'r', 'w', 'a', 'r', 'd', '_', 'c', 'l', 'i', 'e', 'n', 't', '_', 'c', 'e', 'r', 't', '_', 'd', 'e', +'t', 'a', 'i', 'l', 's', '\030', '\020', ' ', '\001', '(', '\016', '2', 'k', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', +'s', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', +'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', +'t', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'F', 'o', 'r', 'w', +'a', 'r', 'd', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'e', 'r', 't', 'D', 'e', 't', 'a', 'i', 'l', 's', 'B', '\010', '\372', 'B', '\005', +'\202', '\001', '\002', '\020', '\001', 'R', '\030', 'f', 'o', 'r', 'w', 'a', 'r', 'd', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'e', 'r', 't', 'D', +'e', 't', 'a', 'i', 'l', 's', '\022', '\264', '\001', '\n', '\037', 's', 'e', 't', '_', 'c', 'u', 'r', 'r', 'e', 'n', 't', '_', 'c', 'l', +'i', 'e', 'n', 't', '_', 'c', 'e', 'r', 't', '_', 'd', 'e', 't', 'a', 'i', 'l', 's', '\030', '\021', ' ', '\001', '(', '\013', '2', 'n', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', +'.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', +'m', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', +'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'S', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'l', 'i', 'e', 'n', 't', 'C', +'e', 'r', 't', 'D', 'e', 't', 'a', 'i', 'l', 's', 'R', '\033', 's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'l', 'i', +'e', 'n', 't', 'C', 'e', 'r', 't', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', ',', '\n', '\022', 'p', 'r', 'o', 'x', 'y', '_', '1', +'0', '0', '_', 'c', 'o', 'n', 't', 'i', 'n', 'u', 'e', '\030', '\022', ' ', '\001', '(', '\010', 'R', '\020', 'p', 'r', 'o', 'x', 'y', '1', +'0', '0', 'C', 'o', 'n', 't', 'i', 'n', 'u', 'e', '\022', 'e', '\n', '1', 'r', 'e', 'p', 'r', 'e', 's', 'e', 'n', 't', '_', 'i', +'p', 'v', '4', '_', 'r', 'e', 'm', 'o', 't', 'e', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '_', 'a', 's', '_', 'i', 'p', 'v', +'4', '_', 'm', 'a', 'p', 'p', 'e', 'd', '_', 'i', 'p', 'v', '6', '\030', '\024', ' ', '\001', '(', '\010', 'R', '*', 'r', 'e', 'p', 'r', +'e', 's', 'e', 'n', 't', 'I', 'p', 'v', '4', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', 'A', 's', 'I', +'p', 'v', '4', 'M', 'a', 'p', 'p', 'e', 'd', 'I', 'p', 'v', '6', '\022', '\211', '\001', '\n', '\017', 'u', 'p', 'g', 'r', 'a', 'd', 'e', +'_', 'c', 'o', 'n', 'f', 'i', 'g', 's', '\030', '\027', ' ', '\003', '(', '\013', '2', '`', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', +'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', +'3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'U', +'p', 'g', 'r', 'a', 'd', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\016', 'u', 'p', 'g', 'r', 'a', 'd', 'e', 'C', 'o', 'n', 'f', +'i', 'g', 's', '\022', 'A', '\n', '\016', 'n', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', '_', 'p', 'a', 't', 'h', '\030', '\036', ' ', '\001', +'(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', +'V', 'a', 'l', 'u', 'e', 'R', '\r', 'n', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', 'P', 'a', 't', 'h', '\022', '#', '\n', '\r', 'm', +'e', 'r', 'g', 'e', '_', 's', 'l', 'a', 's', 'h', 'e', 's', '\030', '!', ' ', '\001', '(', '\010', 'R', '\014', 'm', 'e', 'r', 'g', 'e', +'S', 'l', 'a', 's', 'h', 'e', 's', '\022', '\267', '\001', '\n', ' ', 'p', 'a', 't', 'h', '_', 'w', 'i', 't', 'h', '_', 'e', 's', 'c', +'a', 'p', 'e', 'd', '_', 's', 'l', 'a', 's', 'h', 'e', 's', '_', 'a', 'c', 't', 'i', 'o', 'n', '\030', '-', ' ', '\001', '(', '\016', +'2', 'o', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', +'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', +'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', +'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'P', 'a', 't', 'h', 'W', 'i', 't', 'h', 'E', 's', 'c', 'a', 'p', 'e', 'd', +'S', 'l', 'a', 's', 'h', 'e', 's', 'A', 'c', 't', 'i', 'o', 'n', 'R', '\034', 'p', 'a', 't', 'h', 'W', 'i', 't', 'h', 'E', 's', +'c', 'a', 'p', 'e', 'd', 'S', 'l', 'a', 's', 'h', 'e', 's', 'A', 'c', 't', 'i', 'o', 'n', '\022', '\201', '\001', '\n', '\024', 'r', 'e', +'q', 'u', 'e', 's', 't', '_', 'i', 'd', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '$', ' ', '\001', '(', '\013', '2', +'O', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', +'s', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', +'_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'I', 'D', 'E', 'x', 't', 'e', +'n', 's', 'i', 'o', 'n', 'R', '\022', 'r', 'e', 'q', 'u', 'e', 's', 't', 'I', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', +'\022', '{', '\n', '\022', 'l', 'o', 'c', 'a', 'l', '_', 'r', 'e', 'p', 'l', 'y', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '&', ' ', +'\001', '(', '\013', '2', 'M', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', +'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', +'t', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'L', 'o', 'c', 'a', 'l', 'R', 'e', 'p', 'l', +'y', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\020', 'l', 'o', 'c', 'a', 'l', 'R', 'e', 'p', 'l', 'y', 'C', 'o', 'n', 'f', 'i', 'g', +'\022', 'P', '\n', '\030', 's', 't', 'r', 'i', 'p', '_', 'm', 'a', 't', 'c', 'h', 'i', 'n', 'g', '_', 'h', 'o', 's', 't', '_', 'p', +'o', 'r', 't', '\030', '\'', ' ', '\001', '(', '\010', 'B', '\027', '\362', '\230', '\376', '\217', '\005', '\021', '\022', '\017', 's', 't', 'r', 'i', 'p', '_', +'p', 'o', 'r', 't', '_', 'm', 'o', 'd', 'e', 'R', '\025', 's', 't', 'r', 'i', 'p', 'M', 'a', 't', 'c', 'h', 'i', 'n', 'g', 'H', +'o', 's', 't', 'P', 'o', 'r', 't', '\022', '/', '\n', '\023', 's', 't', 'r', 'i', 'p', '_', 'a', 'n', 'y', '_', 'h', 'o', 's', 't', +'_', 'p', 'o', 'r', 't', '\030', '*', ' ', '\001', '(', '\010', 'H', '\001', 'R', '\020', 's', 't', 'r', 'i', 'p', 'A', 'n', 'y', 'H', 'o', +'s', 't', 'P', 'o', 'r', 't', '\022', 'i', '\n', '$', 's', 't', 'r', 'e', 'a', 'm', '_', 'e', 'r', 'r', 'o', 'r', '_', 'o', 'n', +'_', 'i', 'n', 'v', 'a', 'l', 'i', 'd', '_', 'h', 't', 't', 'p', '_', 'm', 'e', 's', 's', 'a', 'g', 'e', '\030', '(', ' ', '\001', +'(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', +'V', 'a', 'l', 'u', 'e', 'R', '\037', 's', 't', 'r', 'e', 'a', 'm', 'E', 'r', 'r', 'o', 'r', 'O', 'n', 'I', 'n', 'v', 'a', 'l', +'i', 'd', 'H', 't', 't', 'p', 'M', 'e', 's', 's', 'a', 'g', 'e', '\022', '\251', '\001', '\n', '\032', 'p', 'a', 't', 'h', '_', 'n', 'o', +'r', 'm', 'a', 'l', 'i', 'z', 'a', 't', 'i', 'o', 'n', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '+', ' ', '\001', '(', '\013', +'2', 'k', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', +'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', +'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', +'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'P', 'a', 't', 'h', 'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'a', 't', 'i', +'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\030', 'p', 'a', 't', 'h', 'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'a', 't', +'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '5', '\n', '\027', 's', 't', 'r', 'i', 'p', '_', 't', 'r', 'a', 'i', 'l', +'i', 'n', 'g', '_', 'h', 'o', 's', 't', '_', 'd', 'o', 't', '\030', '/', ' ', '\001', '(', '\010', 'R', '\024', 's', 't', 'r', 'i', 'p', +'T', 'r', 'a', 'i', 'l', 'i', 'n', 'g', 'H', 'o', 's', 't', 'D', 'o', 't', '\022', '\224', '\001', '\n', '\023', 'p', 'r', 'o', 'x', 'y', +'_', 's', 't', 'a', 't', 'u', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '1', ' ', '\001', '(', '\013', '2', 'd', '.', 'e', 'n', +'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', +'t', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', +'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', +'a', 'g', 'e', 'r', '.', 'P', 'r', 'o', 'x', 'y', 'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\021', 'p', +'r', 'o', 'x', 'y', 'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'o', '\n', '\036', 't', 'y', 'p', 'e', 'd', +'_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 'f', 'i', 'g', +'\030', '2', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', +'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', +'R', '\033', 't', 'y', 'p', 'e', 'd', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', +'n', 'f', 'i', 'g', '\022', '5', '\n', '\027', 'a', 'p', 'p', 'e', 'n', 'd', '_', 'x', '_', 'f', 'o', 'r', 'w', 'a', 'r', 'd', 'e', +'d', '_', 'p', 'o', 'r', 't', '\030', '3', ' ', '\001', '(', '\010', 'R', '\024', 'a', 'p', 'p', 'e', 'n', 'd', 'X', 'F', 'o', 'r', 'w', +'a', 'r', 'd', 'e', 'd', 'P', 'o', 'r', 't', '\022', 'h', '\n', '#', 'a', 'd', 'd', '_', 'p', 'r', 'o', 'x', 'y', '_', 'p', 'r', +'o', 't', 'o', 'c', 'o', 'l', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 's', 't', 'a', 't', 'e', '\030', '5', +' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', +'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\037', 'a', 'd', 'd', 'P', 'r', 'o', 'x', 'y', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', +'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'S', 't', 'a', 't', 'e', '\032', '\302', '\005', '\n', '\007', 'T', 'r', 'a', 'c', 'i', +'n', 'g', '\022', '?', '\n', '\017', 'c', 'l', 'i', 'e', 'n', 't', '_', 's', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\030', '\003', ' ', '\001', +'(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'P', 'e', 'r', 'c', 'e', 'n', +'t', 'R', '\016', 'c', 'l', 'i', 'e', 'n', 't', 'S', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\022', '?', '\n', '\017', 'r', 'a', 'n', 'd', +'o', 'm', '_', 's', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', +'.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\016', 'r', 'a', 'n', 'd', 'o', 'm', 'S', +'a', 'm', 'p', 'l', 'i', 'n', 'g', '\022', 'A', '\n', '\020', 'o', 'v', 'e', 'r', 'a', 'l', 'l', '_', 's', 'a', 'm', 'p', 'l', 'i', +'n', 'g', '\030', '\005', ' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', +'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\017', 'o', 'v', 'e', 'r', 'a', 'l', 'l', 'S', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\022', +'\030', '\n', '\007', 'v', 'e', 'r', 'b', 'o', 's', 'e', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\007', 'v', 'e', 'r', 'b', 'o', 's', 'e', +'\022', 'K', '\n', '\023', 'm', 'a', 'x', '_', 'p', 'a', 't', 'h', '_', 't', 'a', 'g', '_', 'l', 'e', 'n', 'g', 't', 'h', '\030', '\007', +' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', +'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\020', 'm', 'a', 'x', 'P', 'a', 't', 'h', 'T', 'a', 'g', 'L', 'e', 'n', 'g', +'t', 'h', '\022', 'A', '\n', '\013', 'c', 'u', 's', 't', 'o', 'm', '_', 't', 'a', 'g', 's', '\030', '\010', ' ', '\003', '(', '\013', '2', ' ', +'.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 't', 'r', 'a', 'c', 'i', 'n', 'g', '.', 'v', '3', '.', 'C', 'u', +'s', 't', 'o', 'm', 'T', 'a', 'g', 'R', '\n', 'c', 'u', 's', 't', 'o', 'm', 'T', 'a', 'g', 's', '\022', '?', '\n', '\010', 'p', 'r', +'o', 'v', 'i', 'd', 'e', 'r', '\030', '\t', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', '.', 'T', 'r', 'a', 'c', 'i', 'n', 'g', '.', 'H', 't', 't', 'p', 'R', +'\010', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\022', 'J', '\n', '\023', 's', 'p', 'a', 'w', 'n', '_', 'u', 'p', 's', 't', 'r', 'e', +'a', 'm', '_', 's', 'p', 'a', 'n', '\030', '\n', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\021', 's', 'p', 'a', 'w', 'n', 'U', 'p', +'s', 't', 'r', 'e', 'a', 'm', 'S', 'p', 'a', 'n', '\"', '(', '\n', '\r', 'O', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 'N', 'a', +'m', 'e', '\022', '\013', '\n', '\007', 'I', 'N', 'G', 'R', 'E', 'S', 'S', '\020', '\000', '\022', '\n', '\n', '\006', 'E', 'G', 'R', 'E', 'S', 'S', +'\020', '\001', ':', '[', '\232', '\305', '\210', '\036', 'V', '\n', 'T', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', +'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', +'t', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', +'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'T', 'r', 'a', 'c', 'i', 'n', 'g', 'J', '\004', '\010', '\001', '\020', +'\002', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\016', 'o', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', '_', 'n', 'a', 'm', 'e', 'R', '\030', +'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 'f', 'o', 'r', '_', 't', 'a', 'g', 's', '\032', +'\347', '\001', '\n', '\025', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', 'C', 'o', 'n', 'f', 'i', 'g', +'\022', '!', '\n', '\014', 'u', 'n', 'i', 'x', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\013', 'u', +'n', 'i', 'x', 'S', 'o', 'c', 'k', 'e', 't', 's', '\022', '@', '\n', '\013', 'c', 'i', 'd', 'r', '_', 'r', 'a', 'n', 'g', 'e', 's', +'\030', '\002', ' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', +'e', '.', 'v', '3', '.', 'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 'R', '\n', 'c', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', +'s', ':', 'i', '\232', '\305', '\210', '\036', 'd', '\n', 'b', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', +'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', +'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', +'t', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', +'s', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\230', '\002', '\n', '\033', 'S', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'l', +'i', 'e', 'n', 't', 'C', 'e', 'r', 't', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', '4', '\n', '\007', 's', 'u', 'b', 'j', 'e', 'c', +'t', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\007', 's', 'u', 'b', 'j', 'e', 'c', 't', '\022', '\022', '\n', '\004', 'c', 'e', +'r', 't', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\004', 'c', 'e', 'r', 't', '\022', '\024', '\n', '\005', 'c', 'h', 'a', 'i', 'n', '\030', '\006', +' ', '\001', '(', '\010', 'R', '\005', 'c', 'h', 'a', 'i', 'n', '\022', '\020', '\n', '\003', 'd', 'n', 's', '\030', '\004', ' ', '\001', '(', '\010', 'R', +'\003', 'd', 'n', 's', '\022', '\020', '\n', '\003', 'u', 'r', 'i', '\030', '\005', ' ', '\001', '(', '\010', 'R', '\003', 'u', 'r', 'i', ':', 'o', '\232', +'\305', '\210', '\036', 'j', '\n', 'h', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', +'.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', +'m', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', +'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'S', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'l', 'i', 'e', 'n', 't', 'C', +'e', 'r', 't', 'D', 'e', 't', 'a', 'i', 'l', 's', 'J', '\004', '\010', '\002', '\020', '\003', '\032', '\256', '\002', '\n', '\r', 'U', 'p', 'g', 'r', +'a', 'd', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '!', '\n', '\014', 'u', 'p', 'g', 'r', 'a', 'd', 'e', '_', 't', 'y', 'p', 'e', +'\030', '\001', ' ', '\001', '(', '\t', 'R', '\013', 'u', 'p', 'g', 'r', 'a', 'd', 'e', 'T', 'y', 'p', 'e', '\022', 'a', '\n', '\007', 'f', 'i', +'l', 't', 'e', 'r', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', 'G', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', +'s', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', +'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', +'t', 't', 'p', 'F', 'i', 'l', 't', 'e', 'r', 'R', '\007', 'f', 'i', 'l', 't', 'e', 'r', 's', '\022', '4', '\n', '\007', 'e', 'n', 'a', +'b', 'l', 'e', 'd', '\030', '\003', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\007', 'e', 'n', 'a', 'b', 'l', 'e', 'd', ':', 'a', '\232', +'\305', '\210', '\036', '\\', '\n', 'Z', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', +'.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', +'m', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', +'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'U', 'p', 'g', 'r', 'a', 'd', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\345', '\001', '\n', +'\030', 'P', 'a', 't', 'h', 'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', +'\022', 'c', '\n', '\031', 'f', 'o', 'r', 'w', 'a', 'r', 'd', 'i', 'n', 'g', '_', 't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', +'t', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'h', +'t', 't', 'p', '.', 'v', '3', '.', 'P', 'a', 't', 'h', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', +'R', '\030', 'f', 'o', 'r', 'w', 'a', 'r', 'd', 'i', 'n', 'g', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', +'n', '\022', 'd', '\n', '\032', 'h', 't', 't', 'p', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 't', 'r', 'a', 'n', 's', 'f', 'o', 'r', +'m', 'a', 't', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', +'.', 'h', 't', 't', 'p', '.', 'v', '3', '.', 'P', 'a', 't', 'h', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', +'o', 'n', 'R', '\030', 'h', 't', 't', 'p', 'F', 'i', 'l', 't', 'e', 'r', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', +'i', 'o', 'n', '\032', '\344', '\002', '\n', '\021', 'P', 'r', 'o', 'x', 'y', 'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'n', 'f', 'i', 'g', +'\022', '%', '\n', '\016', 'r', 'e', 'm', 'o', 'v', 'e', '_', 'd', 'e', 't', 'a', 'i', 'l', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', +'\r', 'r', 'e', 'm', 'o', 'v', 'e', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', 'Q', '\n', '%', 'r', 'e', 'm', 'o', 'v', 'e', '_', +'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 't', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', '_', 'd', 'e', +'t', 'a', 'i', 'l', 's', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\"', 'r', 'e', 'm', 'o', 'v', 'e', 'C', 'o', 'n', 'n', 'e', 'c', +'t', 'i', 'o', 'n', 'T', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', '2', '\n', +'\025', 'r', 'e', 'm', 'o', 'v', 'e', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'f', 'l', 'a', 'g', 's', '\030', '\003', ' ', +'\001', '(', '\010', 'R', '\023', 'r', 'e', 'm', 'o', 'v', 'e', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', '\022', +'A', '\n', '\035', 's', 'e', 't', '_', 'r', 'e', 'c', 'o', 'm', 'm', 'e', 'n', 'd', 'e', 'd', '_', 'r', 'e', 's', 'p', 'o', 'n', +'s', 'e', '_', 'c', 'o', 'd', 'e', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\032', 's', 'e', 't', 'R', 'e', 'c', 'o', 'm', 'm', 'e', +'n', 'd', 'e', 'd', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'C', 'o', 'd', 'e', '\022', ' ', '\n', '\013', 'u', 's', 'e', '_', 'n', +'o', 'd', 'e', '_', 'i', 'd', '\030', '\005', ' ', '\001', '(', '\010', 'H', '\000', 'R', '\t', 'u', 's', 'e', 'N', 'o', 'd', 'e', 'I', 'd', +'\022', '.', '\n', '\022', 'l', 'i', 't', 'e', 'r', 'a', 'l', '_', 'p', 'r', 'o', 'x', 'y', '_', 'n', 'a', 'm', 'e', '\030', '\006', ' ', +'\001', '(', '\t', 'H', '\000', 'R', '\020', 'l', 'i', 't', 'e', 'r', 'a', 'l', 'P', 'r', 'o', 'x', 'y', 'N', 'a', 'm', 'e', 'B', '\014', +'\n', '\n', 'p', 'r', 'o', 'x', 'y', '_', 'n', 'a', 'm', 'e', '\032', '\235', '\002', '\n', '\023', 'H', 'c', 'm', 'A', 'c', 'c', 'e', 's', +'s', 'L', 'o', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'b', '\n', '\031', 'a', 'c', 'c', 'e', 's', 's', '_', 'l', 'o', 'g', +'_', 'f', 'l', 'u', 's', 'h', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', +'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\014', +'\372', 'B', '\t', '\252', '\001', '\006', '2', '\004', '\020', '\300', '\204', '=', 'R', '\026', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'l', +'u', 's', 'h', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\022', 'C', '\n', '\037', 'f', 'l', 'u', 's', 'h', '_', 'a', 'c', 'c', 'e', +'s', 's', '_', 'l', 'o', 'g', '_', 'o', 'n', '_', 'n', 'e', 'w', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '\030', '\002', ' ', '\001', +'(', '\010', 'R', '\032', 'f', 'l', 'u', 's', 'h', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'O', 'n', 'N', 'e', 'w', 'R', 'e', +'q', 'u', 'e', 's', 't', '\022', ']', '\n', ',', 'f', 'l', 'u', 's', 'h', '_', 'l', 'o', 'g', '_', 'o', 'n', '_', 't', 'u', 'n', +'n', 'e', 'l', '_', 's', 'u', 'c', 'c', 'e', 's', 's', 'f', 'u', 'l', 'l', 'y', '_', 'e', 's', 't', 'a', 'b', 'l', 'i', 's', +'h', 'e', 'd', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\'', 'f', 'l', 'u', 's', 'h', 'L', 'o', 'g', 'O', 'n', 'T', 'u', 'n', 'n', +'e', 'l', 'S', 'u', 'c', 'c', 'e', 's', 's', 'f', 'u', 'l', 'l', 'y', 'E', 's', 't', 'a', 'b', 'l', 'i', 's', 'h', 'e', 'd', +'\"', '6', '\n', '\t', 'C', 'o', 'd', 'e', 'c', 'T', 'y', 'p', 'e', '\022', '\010', '\n', '\004', 'A', 'U', 'T', 'O', '\020', '\000', '\022', '\t', +'\n', '\005', 'H', 'T', 'T', 'P', '1', '\020', '\001', '\022', '\t', '\n', '\005', 'H', 'T', 'T', 'P', '2', '\020', '\002', '\022', '\t', '\n', '\005', 'H', +'T', 'T', 'P', '3', '\020', '\003', '\"', 'S', '\n', '\032', 'S', 'e', 'r', 'v', 'e', 'r', 'H', 'e', 'a', 'd', 'e', 'r', 'T', 'r', 'a', +'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', '\022', '\r', '\n', '\t', 'O', 'V', 'E', 'R', 'W', 'R', 'I', 'T', 'E', '\020', +'\000', '\022', '\024', '\n', '\020', 'A', 'P', 'P', 'E', 'N', 'D', '_', 'I', 'F', '_', 'A', 'B', 'S', 'E', 'N', 'T', '\020', '\001', '\022', '\020', +'\n', '\014', 'P', 'A', 'S', 'S', '_', 'T', 'H', 'R', 'O', 'U', 'G', 'H', '\020', '\002', '\"', 'y', '\n', '\030', 'F', 'o', 'r', 'w', 'a', +'r', 'd', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'e', 'r', 't', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', '\014', '\n', '\010', 'S', 'A', +'N', 'I', 'T', 'I', 'Z', 'E', '\020', '\000', '\022', '\020', '\n', '\014', 'F', 'O', 'R', 'W', 'A', 'R', 'D', '_', 'O', 'N', 'L', 'Y', '\020', +'\001', '\022', '\022', '\n', '\016', 'A', 'P', 'P', 'E', 'N', 'D', '_', 'F', 'O', 'R', 'W', 'A', 'R', 'D', '\020', '\002', '\022', '\020', '\n', '\014', +'S', 'A', 'N', 'I', 'T', 'I', 'Z', 'E', '_', 'S', 'E', 'T', '\020', '\003', '\022', '\027', '\n', '\023', 'A', 'L', 'W', 'A', 'Y', 'S', '_', +'F', 'O', 'R', 'W', 'A', 'R', 'D', '_', 'O', 'N', 'L', 'Y', '\020', '\004', '\"', '\240', '\001', '\n', '\034', 'P', 'a', 't', 'h', 'W', 'i', +'t', 'h', 'E', 's', 'c', 'a', 'p', 'e', 'd', 'S', 'l', 'a', 's', 'h', 'e', 's', 'A', 'c', 't', 'i', 'o', 'n', '\022', '#', '\n', +'\037', 'I', 'M', 'P', 'L', 'E', 'M', 'E', 'N', 'T', 'A', 'T', 'I', 'O', 'N', '_', 'S', 'P', 'E', 'C', 'I', 'F', 'I', 'C', '_', +'D', 'E', 'F', 'A', 'U', 'L', 'T', '\020', '\000', '\022', '\022', '\n', '\016', 'K', 'E', 'E', 'P', '_', 'U', 'N', 'C', 'H', 'A', 'N', 'G', +'E', 'D', '\020', '\001', '\022', '\022', '\n', '\016', 'R', 'E', 'J', 'E', 'C', 'T', '_', 'R', 'E', 'Q', 'U', 'E', 'S', 'T', '\020', '\002', '\022', +'\031', '\n', '\025', 'U', 'N', 'E', 'S', 'C', 'A', 'P', 'E', '_', 'A', 'N', 'D', '_', 'R', 'E', 'D', 'I', 'R', 'E', 'C', 'T', '\020', +'\003', '\022', '\030', '\n', '\024', 'U', 'N', 'E', 'S', 'C', 'A', 'P', 'E', '_', 'A', 'N', 'D', '_', 'F', 'O', 'R', 'W', 'A', 'R', 'D', +'\020', '\004', ':', 'S', '\232', '\305', '\210', '\036', 'N', '\n', 'L', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', +'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', +'t', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', +'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', 'B', '\026', '\n', '\017', 'r', 'o', 'u', 't', 'e', '_', 's', 'p', 'e', +'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', 'B', '\021', '\n', '\017', 's', 't', 'r', 'i', 'p', '_', 'p', 'o', 'r', 't', +'_', 'm', 'o', 'd', 'e', 'J', '\004', '\010', '\033', '\020', '\034', 'J', '\004', '\010', '\013', '\020', '\014', 'R', '\014', 'i', 'd', 'l', 'e', '_', 't', +'i', 'm', 'e', 'o', 'u', 't', '\"', '\312', '\001', '\n', '\020', 'L', 'o', 'c', 'a', 'l', 'R', 'e', 'p', 'l', 'y', 'C', 'o', 'n', 'f', +'i', 'g', '\022', 'e', '\n', '\007', 'm', 'a', 'p', 'p', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', 'K', '.', 'e', 'n', 'v', +'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', +'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', +'g', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'M', 'a', 'p', 'p', 'e', 'r', 'R', '\007', 'm', 'a', +'p', 'p', 'e', 'r', 's', '\022', 'O', '\n', '\013', 'b', 'o', 'd', 'y', '_', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\002', ' ', '\001', '(', +'\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', +'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'i', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', 'S', 't', 'r', 'i', 'n', 'g', 'R', +'\n', 'b', 'o', 'd', 'y', 'F', 'o', 'r', 'm', 'a', 't', '\"', '\234', '\003', '\n', '\016', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'M', +'a', 'p', 'p', 'e', 'r', '\022', 'L', '\n', '\006', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', +'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'i', 'l', 't', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', +'R', '\006', 'f', 'i', 'l', 't', 'e', 'r', '\022', 'J', '\n', '\013', 's', 't', 'a', 't', 'u', 's', '_', 'c', 'o', 'd', 'e', '\030', '\002', +' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', +'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\013', '\372', 'B', '\010', '*', '\006', '\020', '\330', '\004', '(', '\310', '\001', 'R', '\n', 's', +'t', 'a', 't', 'u', 's', 'C', 'o', 'd', 'e', '\022', '4', '\n', '\004', 'b', 'o', 'd', 'y', '\030', '\003', ' ', '\001', '(', '\013', '2', ' ', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', +'a', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\004', 'b', 'o', 'd', 'y', '\022', '`', '\n', '\024', 'b', 'o', 'd', 'y', '_', 'f', 'o', 'r', +'m', 'a', 't', '_', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '\030', '\004', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', +'t', 'i', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', 'S', 't', 'r', 'i', 'n', 'g', 'R', '\022', 'b', 'o', 'd', 'y', 'F', 'o', 'r', +'m', 'a', 't', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '\022', 'X', '\n', '\016', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', +'_', 'a', 'd', 'd', '\030', '\005', ' ', '\003', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', +'.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', +'n', 'B', '\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', '\350', '\007', 'R', '\014', 'h', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'A', 'd', +'d', '\"', '\307', '\001', '\n', '\003', 'R', 'd', 's', '\022', 'Q', '\n', '\r', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', 'r', 'c', +'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', +'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\010', '\372', 'B', '\005', '\212', '\001', +'\002', '\020', '\001', 'R', '\014', 'c', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', '\022', '*', '\n', '\021', 'r', 'o', 'u', 't', +'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '_', 'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\017', 'r', 'o', 'u', 't', +'e', 'C', 'o', 'n', 'f', 'i', 'g', 'N', 'a', 'm', 'e', ':', 'A', '\232', '\305', '\210', '\036', '<', '\n', ':', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', +'t', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', +'R', 'd', 's', '\"', '\367', '\001', '\n', '\035', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', +'u', 'r', 'a', 't', 'i', 'o', 'n', 's', 'L', 'i', 's', 't', '\022', 'y', '\n', '\033', 's', 'c', 'o', 'p', 'e', 'd', '_', 'r', 'o', +'u', 't', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', +'/', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'S', +'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', +'\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\031', 's', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', +'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 's', ':', '[', '\232', '\305', '\210', '\036', 'V', '\n', 'T', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', +'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'S', +'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 's', 'L', +'i', 's', 't', '\"', '\345', '\016', '\n', '\014', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '\022', '\033', '\n', '\004', 'n', +'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', +'\217', '\001', '\n', '\021', 's', 'c', 'o', 'p', 'e', '_', 'k', 'e', 'y', '_', 'b', 'u', 'i', 'l', 'd', 'e', 'r', '\030', '\002', ' ', '\001', +'(', '\013', '2', 'Y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', +'t', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', +'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', +'e', 's', '.', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', +'\002', '\020', '\001', 'R', '\017', 's', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '\022', 'N', '\n', '\021', 'r', +'d', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', 'r', 'c', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', '\"', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', +'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\017', 'r', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', +'\022', '\245', '\001', '\n', ' ', 's', 'c', 'o', 'p', 'e', 'd', '_', 'r', 'o', 'u', 't', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', 'u', +'r', 'a', 't', 'i', 'o', 'n', 's', '_', 'l', 'i', 's', 't', '\030', '\004', ' ', '\001', '(', '\013', '2', 'Z', '.', 'e', 'n', 'v', 'o', +'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', +'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', +'e', 'r', '.', 'v', '3', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', +'a', 't', 'i', 'o', 'n', 's', 'L', 'i', 's', 't', 'H', '\000', 'R', '\035', 's', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', +'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 's', 'L', 'i', 's', 't', '\022', 'g', '\n', '\n', 's', 'c', 'o', +'p', 'e', 'd', '_', 'r', 'd', 's', '\030', '\005', ' ', '\001', '(', '\013', '2', 'F', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', +'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', +'t', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', +'.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'd', 's', 'H', '\000', 'R', '\t', 's', 'c', 'o', 'p', 'e', 'd', 'R', 'd', 's', '\032', '\337', +'\t', '\n', '\017', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '\022', '\221', '\001', '\n', '\t', 'f', 'r', +'a', 'g', 'm', 'e', 'n', 't', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', 'i', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', +'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', +'t', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', +'.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '.', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', +'l', 'd', 'e', 'r', '.', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'e', 'r', 'B', '\010', '\372', 'B', '\005', +'\222', '\001', '\002', '\010', '\001', 'R', '\t', 'f', 'r', 'a', 'g', 'm', 'e', 'n', 't', 's', '\032', '\333', '\007', '\n', '\017', 'F', 'r', 'a', 'g', +'m', 'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '\022', '\266', '\001', '\n', '\026', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'v', 'a', +'l', 'u', 'e', '_', 'e', 'x', 't', 'r', 'a', 'c', 't', 'o', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '~', '.', 'e', 'n', 'v', +'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', +'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', +'g', 'e', 'r', '.', 'v', '3', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '.', 'S', 'c', 'o', 'p', 'e', +'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '.', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'e', +'r', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'E', 'x', 't', 'r', 'a', 'c', 't', 'o', 'r', 'H', '\000', 'R', +'\024', 'h', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'E', 'x', 't', 'r', 'a', 'c', 't', 'o', 'r', '\032', '\225', '\005', '\n', +'\024', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'E', 'x', 't', 'r', 'a', 'c', 't', 'o', 'r', '\022', '!', '\n', '\004', +'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\r', '\372', 'B', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', '\310', '\001', '\000', +'R', '\004', 'n', 'a', 'm', 'e', '\022', '+', '\n', '\021', 'e', 'l', 'e', 'm', 'e', 'n', 't', '_', 's', 'e', 'p', 'a', 'r', 'a', 't', +'o', 'r', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\020', 'e', 'l', 'e', 'm', 'e', 'n', 't', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', +'r', '\022', '\026', '\n', '\005', 'i', 'n', 'd', 'e', 'x', '\030', '\003', ' ', '\001', '(', '\r', 'H', '\000', 'R', '\005', 'i', 'n', 'd', 'e', 'x', +'\022', '\245', '\001', '\n', '\007', 'e', 'l', 'e', 'm', 'e', 'n', 't', '\030', '\004', ' ', '\001', '(', '\013', '2', '\210', '\001', '.', 'e', 'n', 'v', +'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', +'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', +'g', 'e', 'r', '.', 'v', '3', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '.', 'S', 'c', 'o', 'p', 'e', +'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '.', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'e', +'r', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'E', 'x', 't', 'r', 'a', 'c', 't', 'o', 'r', '.', 'K', 'v', +'E', 'l', 'e', 'm', 'e', 'n', 't', 'H', '\000', 'R', '\007', 'e', 'l', 'e', 'm', 'e', 'n', 't', '\032', '\333', '\001', '\n', '\t', 'K', 'v', +'E', 'l', 'e', 'm', 'e', 'n', 't', '\022', '%', '\n', '\t', 's', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', '\030', '\001', ' ', '\001', '(', +'\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\t', 's', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', '\022', '\031', '\n', '\003', +'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\003', 'k', 'e', 'y', ':', '\213', +'\001', '\232', '\305', '\210', '\036', '\205', '\001', '\n', '\202', '\001', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', +'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', +'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', +'e', 's', '.', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '.', 'F', 'r', 'a', 'g', 'm', 'e', +'n', 't', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'E', 'x', 't', 'r', +'a', 'c', 't', 'o', 'r', '.', 'K', 'v', 'E', 'l', 'e', 'm', 'e', 'n', 't', ':', '\177', '\232', '\305', '\210', '\036', 'z', '\n', 'x', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', +'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', +'.', 'v', '2', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '.', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', +'B', 'u', 'i', 'l', 'd', 'e', 'r', '.', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '.', 'H', +'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'E', 'x', 't', 'r', 'a', 'c', 't', 'o', 'r', 'B', '\016', '\n', '\014', 'e', 'x', +'t', 'r', 'a', 'c', 't', '_', 't', 'y', 'p', 'e', ':', 'j', '\232', '\305', '\210', '\036', 'e', '\n', 'c', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', +'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'S', +'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '.', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', +'e', 'r', '.', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'e', 'r', 'B', '\013', '\n', '\004', 't', 'y', 'p', +'e', '\022', '\003', '\370', 'B', '\001', ':', 'Z', '\232', '\305', '\210', '\036', 'U', '\n', 'S', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', +'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'S', 'c', 'o', 'p', 'e', +'d', 'R', 'o', 'u', 't', 'e', 's', '.', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', ':', 'J', +'\232', '\305', '\210', '\036', 'E', '\n', 'C', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', +'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', +'_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', 'B', +'\027', '\n', '\020', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', +'\361', '\001', '\n', '\t', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'd', 's', '\022', 'e', '\n', '\030', 's', 'c', 'o', 'p', 'e', 'd', '_', 'r', +'d', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', 'r', 'c', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\"', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', +'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\025', 's', 'c', 'o', 'p', 'e', +'d', 'R', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', '\022', '4', '\n', '\026', 's', 'r', 'd', 's', '_', +'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '_', 'l', 'o', 'c', 'a', 't', 'o', 'r', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\024', +'s', 'r', 'd', 's', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', 'L', 'o', 'c', 'a', 't', 'o', 'r', ':', 'G', '\232', '\305', '\210', +'\036', 'B', '\n', '@', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', +'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', +'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'd', 's', '\"', '\350', '\002', '\n', '\n', 'H', 't', +'t', 'p', 'F', 'i', 'l', 't', 'e', 'r', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', +'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '9', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', +'f', 'i', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'A', 'n', 'y', 'H', '\000', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'X', '\n', '\020', +'c', 'o', 'n', 'f', 'i', 'g', '_', 'd', 'i', 's', 'c', 'o', 'v', 'e', 'r', 'y', '\030', '\005', ' ', '\001', '(', '\013', '2', '+', '.', +'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'E', 'x', 't', 'e', +'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'H', '\000', 'R', '\017', 'c', 'o', 'n', 'f', +'i', 'g', 'D', 'i', 's', 'c', 'o', 'v', 'e', 'r', 'y', '\022', '\037', '\n', '\013', 'i', 's', '_', 'o', 'p', 't', 'i', 'o', 'n', 'a', +'l', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\n', 'i', 's', 'O', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\022', '\032', '\n', '\010', 'd', 'i', +'s', 'a', 'b', 'l', 'e', 'd', '\030', '\007', ' ', '\001', '(', '\010', 'R', '\010', 'd', 'i', 's', 'a', 'b', 'l', 'e', 'd', ':', 'H', '\232', +'\305', '\210', '\036', 'C', '\n', 'A', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', +'.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', +'m', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'H', 't', 't', 'p', 'F', 'i', 'l', 't', 'e', 'r', 'B', '\r', '\n', '\013', +'c', 'o', 'n', 'f', 'i', 'g', '_', 't', 'y', 'p', 'e', 'J', '\004', '\010', '\003', '\020', '\004', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\006', +'c', 'o', 'n', 'f', 'i', 'g', '\"', '\237', '\001', '\n', '\022', 'R', 'e', 'q', 'u', 'e', 's', 't', 'I', 'D', 'E', 'x', 't', 'e', 'n', +'s', 'i', 'o', 'n', '\022', '7', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', +'\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\013', +'t', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', ':', 'P', '\232', '\305', '\210', '\036', 'K', '\n', 'I', 'e', 'n', 'v', 'o', 'y', +'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', +'t', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', +'R', 'e', 'q', 'u', 'e', 's', 't', 'I', 'D', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\"', '\216', '\001', '\n', ' ', 'E', 'n', +'v', 'o', 'y', 'M', 'o', 'b', 'i', 'l', 'e', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', +'n', 'a', 'g', 'e', 'r', '\022', 'j', '\n', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', 'R', '.', 'e', +'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', +'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', +'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', +'n', 'a', 'g', 'e', 'r', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', 'B', '\357', '\001', '\n', 'I', 'i', 'o', '.', 'e', 'n', 'v', 'o', +'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', +'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', +'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', 'B', '\032', 'H', 't', 't', 'p', 'C', 'o', 'n', +'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '|', 'g', 'i', +'t', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', +'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', +'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', 's', '/', 'n', 'e', 't', 'w', 'o', 'r', 'k', '/', 'h', 't', 't', 'p', '_', +'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '/', 'v', '3', ';', 'h', 't', 't', +'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', 'v', '3', '\272', '\200', '\310', +'\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[23] = { + &envoy_config_accesslog_v3_accesslog_proto_upbdefinit, + &envoy_config_core_v3_address_proto_upbdefinit, + &envoy_config_core_v3_base_proto_upbdefinit, + &envoy_config_core_v3_config_source_proto_upbdefinit, + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_config_core_v3_protocol_proto_upbdefinit, + &envoy_config_core_v3_substitution_format_string_proto_upbdefinit, + &envoy_config_route_v3_route_proto_upbdefinit, + &envoy_config_route_v3_scoped_route_proto_upbdefinit, + &envoy_config_trace_v3_http_tracer_proto_upbdefinit, + &envoy_type_http_v3_path_transformation_proto_upbdefinit, + &envoy_type_tracing_v3_custom_tag_proto_upbdefinit, + &envoy_type_v3_percent_proto_upbdefinit, + &google_protobuf_any_proto_upbdefinit, + &google_protobuf_duration_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_migrate_proto_upbdefinit, + &udpa_annotations_security_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_extensions_filters_network_http_connection_manager_v3_http_connection_manager_proto_upbdefinit = { + deps, + &envoy_extensions_filters_network_http_connection_manager_v3_http_connection_manager_proto_upb_file_layout, + "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto", + UPB_STRINGVIEW_INIT(descriptor, 13438) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h index 20480bc16cc..af7d9705bdb 100644 --- a/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto * @@ -10,7 +9,7 @@ #define ENVOY_EXTENSIONS_FILTERS_NETWORK_HTTP_CONNECTION_MANAGER_V3_HTTP_CONNECTION_MANAGER_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c new file mode 100644 index 00000000000..54427e9234c --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c @@ -0,0 +1,49 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/http/stateful_session/cookie/v3/cookie.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h" +#include "envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h" + +extern _upb_DefPool_Init envoy_type_http_v3_cookie_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[487] = {'\n', '=', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'h', 't', 't', 'p', '/', 's', +'t', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '/', 'c', 'o', 'o', 'k', 'i', 'e', '/', 'v', '3', +'/', 'c', 'o', 'o', 'k', 'i', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '0', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', +'n', 's', 'i', 'o', 'n', 's', '.', 'h', 't', 't', 'p', '.', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', +'i', 'o', 'n', '.', 'c', 'o', 'o', 'k', 'i', 'e', '.', 'v', '3', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', +'/', 'h', 't', 't', 'p', '/', 'v', '3', '/', 'c', 'o', 'o', 'k', 'i', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', +'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', +'t', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', +'t', 'o', '\"', 'W', '\n', '\027', 'C', 'o', 'o', 'k', 'i', 'e', 'B', 'a', 's', 'e', 'd', 'S', 'e', 's', 's', 'i', 'o', 'n', 'S', +'t', 'a', 't', 'e', '\022', '<', '\n', '\006', 'c', 'o', 'o', 'k', 'i', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'e', 'n', +'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'h', 't', 't', 'p', '.', 'v', '3', '.', 'C', 'o', 'o', 'k', 'i', 'e', 'B', '\010', +'\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\006', 'c', 'o', 'o', 'k', 'i', 'e', 'B', '\271', '\001', '\n', '>', 'i', 'o', '.', 'e', +'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', +'s', '.', 'h', 't', 't', 'p', '.', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '.', 'c', +'o', 'o', 'k', 'i', 'e', '.', 'v', '3', 'B', '\013', 'C', 'o', 'o', 'k', 'i', 'e', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '`', +'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', +'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', +'s', 'i', 'o', 'n', 's', '/', 'h', 't', 't', 'p', '/', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', +'o', 'n', '/', 'c', 'o', 'o', 'k', 'i', 'e', '/', 'v', '3', ';', 'c', 'o', 'o', 'k', 'i', 'e', 'v', '3', '\272', '\200', '\310', '\321', +'\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[4] = { + &envoy_type_http_v3_cookie_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_extensions_http_stateful_session_cookie_v3_cookie_proto_upbdefinit = { + deps, + &envoy_extensions_http_stateful_session_cookie_v3_cookie_proto_upb_file_layout, + "envoy/extensions/http/stateful_session/cookie/v3/cookie.proto", + UPB_STRINGVIEW_INIT(descriptor, 487) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h new file mode 100644 index 00000000000..84b5be9c2b0 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/http/stateful_session/cookie/v3/cookie.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPBDEFS_H_ +#define ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_extensions_http_stateful_session_cookie_v3_cookie_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_http_stateful_session_cookie_v3_cookie_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.http.stateful_session.cookie.v3.CookieBasedSessionState"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c similarity index 95% rename from src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c index 3c0f14863a4..5f6ce4bef03 100644 --- a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/transport_sockets/tls/v3/cert.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h" -#include "envoy/extensions/transport_sockets/tls/v3/cert.upb.h" +#include "envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h" extern _upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit; extern _upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_secret_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h similarity index 85% rename from src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h index 38b861fb6f0..74fc505ba56 100644 --- a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/transport_sockets/tls/v3/cert.proto * @@ -10,7 +9,7 @@ #define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_CERT_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c new file mode 100644 index 00000000000..8245d7f2be0 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c @@ -0,0 +1,216 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h" +#include "envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_sensitive_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[4252] = {'\n', '6', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 't', 'r', 'a', 'n', 's', 'p', +'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '/', 't', 'l', 's', '/', 'v', '3', '/', 'c', 'o', 'm', 'm', 'o', 'n', +'.', 'p', 'r', 'o', 't', 'o', '\022', ')', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', +'t', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '\032', +'\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', +'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', +'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', +'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', 't', 'r', 'i', 'n', 'g', +'.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', +'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', +'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', +'t', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', +'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', ' ', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', +'n', 's', '/', 's', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', +'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', +'!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', +'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', +'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\245', '\004', '\n', '\r', 'T', 'l', 's', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', +'r', 's', '\022', '\217', '\001', '\n', '\034', 't', 'l', 's', '_', 'm', 'i', 'n', 'i', 'm', 'u', 'm', '_', 'p', 'r', 'o', 't', 'o', 'c', +'o', 'l', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\016', '2', 'D', '.', 'e', 'n', 'v', 'o', 'y', '.', +'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', +'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'T', 'l', 's', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '.', +'T', 'l', 's', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\031', 't', 'l', +'s', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\022', '\217', +'\001', '\n', '\034', 't', 'l', 's', '_', 'm', 'a', 'x', 'i', 'm', 'u', 'm', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'v', +'e', 'r', 's', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\016', '2', 'D', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', +'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', +'t', 'l', 's', '.', 'v', '3', '.', 'T', 'l', 's', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '.', 'T', 'l', 's', 'P', +'r', 'o', 't', 'o', 'c', 'o', 'l', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\031', 't', 'l', 's', 'M', 'a', 'x', +'i', 'm', 'u', 'm', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\022', '#', '\n', '\r', 'c', 'i', +'p', 'h', 'e', 'r', '_', 's', 'u', 'i', 't', 'e', 's', '\030', '\003', ' ', '\003', '(', '\t', 'R', '\014', 'c', 'i', 'p', 'h', 'e', 'r', +'S', 'u', 'i', 't', 'e', 's', '\022', '\037', '\n', '\013', 'e', 'c', 'd', 'h', '_', 'c', 'u', 'r', 'v', 'e', 's', '\030', '\004', ' ', '\003', +'(', '\t', 'R', '\n', 'e', 'c', 'd', 'h', 'C', 'u', 'r', 'v', 'e', 's', '\022', '1', '\n', '\024', 's', 'i', 'g', 'n', 'a', 't', 'u', +'r', 'e', '_', 'a', 'l', 'g', 'o', 'r', 'i', 't', 'h', 'm', 's', '\030', '\005', ' ', '\003', '(', '\t', 'R', '\023', 's', 'i', 'g', 'n', +'a', 't', 'u', 'r', 'e', 'A', 'l', 'g', 'o', 'r', 'i', 't', 'h', 'm', 's', '\"', 'O', '\n', '\013', 'T', 'l', 's', 'P', 'r', 'o', +'t', 'o', 'c', 'o', 'l', '\022', '\014', '\n', '\010', 'T', 'L', 'S', '_', 'A', 'U', 'T', 'O', '\020', '\000', '\022', '\013', '\n', '\007', 'T', 'L', +'S', 'v', '1', '_', '0', '\020', '\001', '\022', '\013', '\n', '\007', 'T', 'L', 'S', 'v', '1', '_', '1', '\020', '\002', '\022', '\013', '\n', '\007', 'T', +'L', 'S', 'v', '1', '_', '2', '\020', '\003', '\022', '\013', '\n', '\007', 'T', 'L', 'S', 'v', '1', '_', '3', '\020', '\004', ':', '&', '\232', '\305', +'\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'a', 'u', 't', 'h', '.', 'T', 'l', +'s', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '\"', '\353', '\001', '\n', '\022', 'P', 'r', 'i', 'v', 'a', 't', 'e', 'K', 'e', +'y', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\022', ',', '\n', '\r', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '_', 'n', 'a', 'm', +'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\014', 'p', 'r', 'o', 'v', 'i', 'd', 'e', +'r', 'N', 'a', 'm', 'e', '\022', 'A', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', +'(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'B', +'\006', '\270', '\267', '\213', '\244', '\002', '\001', 'H', '\000', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\032', '\n', +'\010', 'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\010', 'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', +':', '+', '\232', '\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'a', 'u', 't', +'h', '.', 'P', 'r', 'i', 'v', 'a', 't', 'e', 'K', 'e', 'y', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'B', '\r', '\n', '\013', 'c', +'o', 'n', 'f', 'i', 'g', '_', 't', 'y', 'p', 'e', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\"', +'\310', '\005', '\n', '\016', 'T', 'l', 's', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '\022', 'M', '\n', '\021', 'c', 'e', 'r', +'t', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'c', 'h', 'a', 'i', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', +'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', +'u', 'r', 'c', 'e', 'R', '\020', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'C', 'h', 'a', 'i', 'n', '\022', 'I', '\n', +'\013', 'p', 'r', 'i', 'v', 'a', 't', 'e', '_', 'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', +'c', 'e', 'B', '\006', '\270', '\267', '\213', '\244', '\002', '\001', 'R', '\n', 'p', 'r', 'i', 'v', 'a', 't', 'e', 'K', 'e', 'y', '\022', '@', '\n', +'\006', 'p', 'k', 'c', 's', '1', '2', '\030', '\010', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', +'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\006', '\270', +'\267', '\213', '\244', '\002', '\001', 'R', '\006', 'p', 'k', 'c', 's', '1', '2', '\022', 'S', '\n', '\021', 'w', 'a', 't', 'c', 'h', 'e', 'd', '_', +'d', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\030', '\007', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', +'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'W', 'a', 't', 'c', 'h', 'e', 'd', 'D', 'i', 'r', 'e', +'c', 't', 'o', 'r', 'y', 'R', '\020', 'w', 'a', 't', 'c', 'h', 'e', 'd', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\022', 'o', +'\n', '\024', 'p', 'r', 'i', 'v', 'a', 't', 'e', '_', 'k', 'e', 'y', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\030', '\006', ' ', +'\001', '(', '\013', '2', '=', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', +'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'P', 'r', +'i', 'v', 'a', 't', 'e', 'K', 'e', 'y', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'R', '\022', 'p', 'r', 'i', 'v', 'a', 't', 'e', +'K', 'e', 'y', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\022', 'D', '\n', '\010', 'p', 'a', 's', 's', 'w', 'o', 'r', 'd', '\030', '\003', +' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\006', '\270', '\267', '\213', '\244', '\002', '\001', 'R', '\010', 'p', 'a', +'s', 's', 'w', 'o', 'r', 'd', '\022', 'A', '\n', '\013', 'o', 'c', 's', 'p', '_', 's', 't', 'a', 'p', 'l', 'e', '\030', '\004', ' ', '\001', +'(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', +'.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\n', 'o', 'c', 's', 'p', 'S', 't', 'a', 'p', 'l', 'e', '\022', 'b', +'\n', '\034', 's', 'i', 'g', 'n', 'e', 'd', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 't', 'i', 'm', 'e', +'s', 't', 'a', 'm', 'p', '\030', '\005', ' ', '\003', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\032', 's', 'i', 'g', +'n', 'e', 'd', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'T', 'i', 'm', 'e', 's', 't', 'a', 'm', 'p', ':', '\'', +'\232', '\305', '\210', '\036', '\"', '\n', ' ', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'a', 'u', 't', 'h', '.', +'T', 'l', 's', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '\"', '\213', '\001', '\n', '\024', 'T', 'l', 's', 'S', 'e', 's', +'s', 'i', 'o', 'n', 'T', 'i', 'c', 'k', 'e', 't', 'K', 'e', 'y', 's', '\022', 'D', '\n', '\004', 'k', 'e', 'y', 's', '\030', '\001', ' ', +'\003', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', +'3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\016', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', '\270', '\267', '\213', +'\244', '\002', '\001', 'R', '\004', 'k', 'e', 'y', 's', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', 'a', +'p', 'i', '.', 'v', '2', '.', 'a', 'u', 't', 'h', '.', 'T', 'l', 's', 'S', 'e', 's', 's', 'i', 'o', 'n', 'T', 'i', 'c', 'k', +'e', 't', 'K', 'e', 'y', 's', '\"', 's', '\n', '!', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', +'i', 'd', 'e', 'r', 'P', 'l', 'u', 'g', 'i', 'n', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', '\022', '#', '\n', '\r', 'i', 'n', 's', +'t', 'a', 'n', 'c', 'e', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\014', 'i', 'n', 's', 't', 'a', 'n', 'c', +'e', 'N', 'a', 'm', 'e', '\022', ')', '\n', '\020', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'n', 'a', 'm', 'e', +'\030', '\002', ' ', '\001', '(', '\t', 'R', '\017', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'N', 'a', 'm', 'e', '\"', '\244', +'\002', '\n', '\025', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', 'm', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', +'o', '\n', '\010', 's', 'a', 'n', '_', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\016', '2', 'H', '.', 'e', 'n', 'v', 'o', 'y', +'.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', +'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', 'm', +'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'S', 'a', 'n', 'T', 'y', 'p', 'e', 'B', '\n', '\372', 'B', '\007', '\202', '\001', '\004', '\020', +'\001', ' ', '\000', 'R', '\007', 's', 'a', 'n', 'T', 'y', 'p', 'e', '\022', 'H', '\n', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\002', +' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', +'.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', +'\020', '\001', 'R', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\"', 'P', '\n', '\007', 'S', 'a', 'n', 'T', 'y', 'p', 'e', '\022', '\030', '\n', +'\024', 'S', 'A', 'N', '_', 'T', 'Y', 'P', 'E', '_', 'U', 'N', 'S', 'P', 'E', 'C', 'I', 'F', 'I', 'E', 'D', '\020', '\000', '\022', '\t', +'\n', '\005', 'E', 'M', 'A', 'I', 'L', '\020', '\001', '\022', '\007', '\n', '\003', 'D', 'N', 'S', '\020', '\002', '\022', '\007', '\n', '\003', 'U', 'R', 'I', +'\020', '\003', '\022', '\016', '\n', '\n', 'I', 'P', '_', 'A', 'D', 'D', 'R', 'E', 'S', 'S', '\020', '\004', '\"', '\220', '\014', '\n', '\034', 'C', 'e', +'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', +'t', '\022', 'W', '\n', '\n', 't', 'r', 'u', 's', 't', 'e', 'd', '_', 'c', 'a', '\030', '\001', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', +'o', 'u', 'r', 'c', 'e', 'B', '\026', '\362', '\230', '\376', '\217', '\005', '\020', '\022', '\016', 'c', 'a', '_', 'c', 'e', 'r', 't', '_', 's', 'o', +'u', 'r', 'c', 'e', 'R', '\t', 't', 'r', 'u', 's', 't', 'e', 'd', 'C', 'a', '\022', '\255', '\001', '\n', ' ', 'c', 'a', '_', 'c', 'e', +'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '_', 'i', 'n', 's', 't', 'a', 'n', +'c', 'e', '\030', '\r', ' ', '\001', '(', '\013', '2', 'L', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', +'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', +'v', '3', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'P', 'l', 'u', +'g', 'i', 'n', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', 'B', '\026', '\362', '\230', '\376', '\217', '\005', '\020', '\022', '\016', 'c', 'a', '_', 'c', +'e', 'r', 't', '_', 's', 'o', 'u', 'r', 'c', 'e', 'R', '\035', 'c', 'a', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', +'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', '\022', 'S', '\n', '\021', 'w', 'a', 't', 'c', 'h', +'e', 'd', '_', 'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\030', '\013', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', +'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'W', 'a', 't', 'c', 'h', 'e', 'd', 'D', +'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 'R', '\020', 'w', 'a', 't', 'c', 'h', 'e', 'd', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', +'y', '\022', 'F', '\n', '\027', 'v', 'e', 'r', 'i', 'f', 'y', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 's', +'p', 'k', 'i', '\030', '\003', ' ', '\003', '(', '\t', 'B', '\016', '\372', 'B', '\013', '\222', '\001', '\010', '\"', '\006', 'r', '\004', '\020', ',', '(', ',', +'R', '\025', 'v', 'e', 'r', 'i', 'f', 'y', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'S', 'p', 'k', 'i', '\022', 'F', +'\n', '\027', 'v', 'e', 'r', 'i', 'f', 'y', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'h', 'a', 's', 'h', +'\030', '\002', ' ', '\003', '(', '\t', 'B', '\016', '\372', 'B', '\013', '\222', '\001', '\010', '\"', '\006', 'r', '\004', '\020', '@', '(', '_', 'R', '\025', 'v', +'e', 'r', 'i', 'f', 'y', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'H', 'a', 's', 'h', '\022', '\202', '\001', '\n', '\035', +'m', 'a', 't', 'c', 'h', '_', 't', 'y', 'p', 'e', 'd', '_', 's', 'u', 'b', 'j', 'e', 'c', 't', '_', 'a', 'l', 't', '_', 'n', +'a', 'm', 'e', 's', '\030', '\017', ' ', '\003', '(', '\013', '2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', +'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', +'s', '.', 'v', '3', '.', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', 'm', 'e', 'M', 'a', 't', 'c', 'h', 'e', +'r', 'R', '\031', 'm', 'a', 't', 'c', 'h', 'T', 'y', 'p', 'e', 'd', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', +'m', 'e', 's', '\022', 'h', '\n', '\027', 'm', 'a', 't', 'c', 'h', '_', 's', 'u', 'b', 'j', 'e', 'c', 't', '_', 'a', 'l', 't', '_', +'n', 'a', 'm', 'e', 's', '\030', '\t', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', +'m', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', +'\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\024', 'm', 'a', 't', 'c', 'h', 'S', 'u', 'b', 'j', 'e', 'c', +'t', 'A', 'l', 't', 'N', 'a', 'm', 'e', 's', '\022', 'k', '\n', '$', 'r', 'e', 'q', 'u', 'i', 'r', 'e', '_', 's', 'i', 'g', 'n', +'e', 'd', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 't', 'i', 'm', 'e', 's', 't', 'a', 'm', 'p', '\030', +'\006', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', +'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '!', 'r', 'e', 'q', 'u', 'i', 'r', 'e', 'S', 'i', 'g', 'n', 'e', 'd', 'C', 'e', +'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'T', 'i', 'm', 'e', 's', 't', 'a', 'm', 'p', '\022', '2', '\n', '\003', 'c', 'r', 'l', +'\030', '\007', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', +'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\003', 'c', 'r', 'l', '\022', ':', '\n', '\031', 'a', +'l', 'l', 'o', 'w', '_', 'e', 'x', 'p', 'i', 'r', 'e', 'd', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '\030', +'\010', ' ', '\001', '(', '\010', 'R', '\027', 'a', 'l', 'l', 'o', 'w', 'E', 'x', 'p', 'i', 'r', 'e', 'd', 'C', 'e', 'r', 't', 'i', 'f', +'i', 'c', 'a', 't', 'e', '\022', '\242', '\001', '\n', '\030', 't', 'r', 'u', 's', 't', '_', 'c', 'h', 'a', 'i', 'n', '_', 'v', 'e', 'r', +'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', '\030', '\n', ' ', '\001', '(', '\016', '2', '^', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', +'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', +'t', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', +'d', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', '.', 'T', 'r', 'u', 's', 't', 'C', 'h', 'a', 'i', 'n', 'V', +'e', 'r', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\026', 't', 'r', +'u', 's', 't', 'C', 'h', 'a', 'i', 'n', 'V', 'e', 'r', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', '\022', 'b', '\n', '\027', 'c', +'u', 's', 't', 'o', 'm', '_', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'o', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\014', ' ', +'\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', +'3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\025', 'c', +'u', 's', 't', 'o', 'm', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'o', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '8', '\n', '\031', 'o', +'n', 'l', 'y', '_', 'v', 'e', 'r', 'i', 'f', 'y', '_', 'l', 'e', 'a', 'f', '_', 'c', 'e', 'r', 't', '_', 'c', 'r', 'l', '\030', +'\016', ' ', '\001', '(', '\010', 'R', '\025', 'o', 'n', 'l', 'y', 'V', 'e', 'r', 'i', 'f', 'y', 'L', 'e', 'a', 'f', 'C', 'e', 'r', 't', +'C', 'r', 'l', '\022', 'O', '\n', '\020', 'm', 'a', 'x', '_', 'v', 'e', 'r', 'i', 'f', 'y', '_', 'd', 'e', 'p', 't', 'h', '\030', '\020', +' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', +'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '\030', 'd', 'R', '\016', 'm', 'a', 'x', 'V', 'e', +'r', 'i', 'f', 'y', 'D', 'e', 'p', 't', 'h', '\"', 'F', '\n', '\026', 'T', 'r', 'u', 's', 't', 'C', 'h', 'a', 'i', 'n', 'V', 'e', +'r', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\022', 'V', 'E', 'R', 'I', 'F', 'Y', '_', 'T', 'R', 'U', 'S', +'T', '_', 'C', 'H', 'A', 'I', 'N', '\020', '\000', '\022', '\024', '\n', '\020', 'A', 'C', 'C', 'E', 'P', 'T', '_', 'U', 'N', 'T', 'R', 'U', +'S', 'T', 'E', 'D', '\020', '\001', ':', '5', '\232', '\305', '\210', '\036', '0', '\n', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', +'v', '2', '.', 'a', 'u', 't', 'h', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', 'd', 'a', +'t', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'J', '\004', '\010', '\004', '\020', '\005', 'J', '\004', '\010', '\005', '\020', '\006', 'R', '\027', +'v', 'e', 'r', 'i', 'f', 'y', '_', 's', 'u', 'b', 'j', 'e', 'c', 't', '_', 'a', 'l', 't', '_', 'n', 'a', 'm', 'e', 'B', '\250', +'\001', '\n', '7', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', +'s', '.', 't', 'l', 's', '.', 'v', '3', 'B', '\013', 'C', 'o', 'm', 'm', 'o', 'n', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'V', +'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', +'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', +'s', 'i', 'o', 'n', 's', '/', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '/', 't', +'l', 's', '/', 'v', '3', ';', 't', 'l', 's', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', +'o', '3', +}; + +static _upb_DefPool_Init *deps[12] = { + &envoy_config_core_v3_base_proto_upbdefinit, + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_type_matcher_v3_string_proto_upbdefinit, + &google_protobuf_any_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_migrate_proto_upbdefinit, + &udpa_annotations_sensitive_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit = { + deps, + &envoy_extensions_transport_sockets_tls_v3_common_proto_upb_file_layout, + "envoy/extensions/transport_sockets/tls/v3/common.proto", + UPB_STRINGVIEW_INIT(descriptor, 4252) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h new file mode 100644 index 00000000000..cf645b172d5 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h @@ -0,0 +1,65 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/common.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPBDEFS_H_ +#define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_TlsParameters_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.TlsParameters"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.PrivateKeyProvider"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_TlsCertificate_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.TlsCertificate"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.TlsSessionTicketKeys"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.CertificateProviderPluginInstance"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.SubjectAltNameMatcher"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.CertificateValidationContext"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c index f1de5914b49..b4fa286c307 100644 --- a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/transport_sockets/tls/v3/secret.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h" -#include "envoy/extensions/transport_sockets/tls/v3/secret.upb.h" +#include "envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_core_v3_config_source_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h similarity index 93% rename from src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h index ebd44449573..393fc633ee8 100644 --- a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/transport_sockets/tls/v3/secret.proto * @@ -10,7 +9,7 @@ #define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_SECRET_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c new file mode 100644 index 00000000000..8364d7e1edc --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c @@ -0,0 +1,263 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/transport_sockets/tls/v3/tls.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h" +#include "envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit; +extern _upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_secret_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[5494] = {'\n', '3', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 't', 'r', 'a', 'n', 's', 'p', +'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '/', 't', 'l', 's', '/', 'v', '3', '/', 't', 'l', 's', '.', 'p', 'r', +'o', 't', 'o', '\022', ')', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', +'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '\032', '\"', 'e', 'n', +'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'a', 'd', 'd', 'r', 'e', 's', +'s', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', +'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '6', 'e', 'n', 'v', +'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', +'o', 'c', 'k', 'e', 't', 's', '/', 't', 'l', 's', '/', 'v', '3', '/', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'p', 'r', 'o', 't', +'o', '\032', '6', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 't', 'r', 'a', 'n', 's', +'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '/', 't', 'l', 's', '/', 'v', '3', '/', 's', 'e', 'c', 'r', 'e', +'t', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', +'d', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', +'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', +'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', +'s', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', +'t', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', +'\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', +'\220', '\003', '\n', '\022', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', 'i', '\n', +'\022', 'c', 'o', 'm', 'm', 'o', 'n', '_', 't', 'l', 's', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '\030', '\001', ' ', '\001', '(', '\013', +'2', ';', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', +'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', +'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', 'R', '\020', 'c', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', +'t', 'e', 'x', 't', '\022', '\032', '\n', '\003', 's', 'n', 'i', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\010', '\372', 'B', '\005', 'r', '\003', '(', +'\377', '\001', 'R', '\003', 's', 'n', 'i', '\022', '/', '\n', '\023', 'a', 'l', 'l', 'o', 'w', '_', 'r', 'e', 'n', 'e', 'g', 'o', 't', 'i', +'a', 't', 'i', 'o', 'n', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\022', 'a', 'l', 'l', 'o', 'w', 'R', 'e', 'n', 'e', 'g', 'o', 't', +'i', 'a', 't', 'i', 'o', 'n', '\022', 'F', '\n', '\020', 'm', 'a', 'x', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 'k', 'e', 'y', +'s', '\030', '\004', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\016', 'm', 'a', 'x', 'S', 'e', 's', 's', 'i', 'o', 'n', 'K', +'e', 'y', 's', '\022', 'M', '\n', '\025', 'e', 'n', 'f', 'o', 'r', 'c', 'e', '_', 'r', 's', 'a', '_', 'k', 'e', 'y', '_', 'u', 's', +'a', 'g', 'e', '\030', '\005', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\022', 'e', 'n', 'f', 'o', 'r', 'c', 'e', 'R', 's', 'a', 'K', +'e', 'y', 'U', 's', 'a', 'g', 'e', ':', '+', '\232', '\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', +'.', 'v', '2', '.', 'a', 'u', 't', 'h', '.', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', +'x', 't', '\"', '\232', '\t', '\n', '\024', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', +'x', 't', '\022', 'i', '\n', '\022', 'c', 'o', 'm', 'm', 'o', 'n', '_', 't', 'l', 's', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '\030', +'\001', ' ', '\001', '(', '\013', '2', ';', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', +'t', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', +'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', 'R', '\020', 'c', 'o', 'm', 'm', 'o', 'n', 'T', +'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', 'X', '\n', '\032', 'r', 'e', 'q', 'u', 'i', 'r', 'e', '_', 'c', 'l', 'i', 'e', +'n', 't', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', +'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\030', +'r', 'e', 'q', 'u', 'i', 'r', 'e', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '\022', +';', '\n', '\013', 'r', 'e', 'q', 'u', 'i', 'r', 'e', '_', 's', 'n', 'i', '\030', '\003', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', +'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\n', +'r', 'e', 'q', 'u', 'i', 'r', 'e', 'S', 'n', 'i', '\022', 'q', '\n', '\023', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 't', 'i', 'c', +'k', 'e', 't', '_', 'k', 'e', 'y', 's', '\030', '\004', ' ', '\001', '(', '\013', '2', '?', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', +'s', '.', 't', 'l', 's', '.', 'v', '3', '.', 'T', 'l', 's', 'S', 'e', 's', 's', 'i', 'o', 'n', 'T', 'i', 'c', 'k', 'e', 't', +'K', 'e', 'y', 's', 'H', '\000', 'R', '\021', 's', 'e', 's', 's', 'i', 'o', 'n', 'T', 'i', 'c', 'k', 'e', 't', 'K', 'e', 'y', 's', +'\022', '\215', '\001', '\n', '%', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 't', 'i', 'c', 'k', 'e', 't', '_', 'k', 'e', 'y', 's', '_', +'s', 'd', 's', '_', 's', 'e', 'c', 'r', 'e', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\005', ' ', '\001', '(', '\013', '2', ':', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', +'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'S', 'd', 's', 'S', 'e', 'c', 'r', +'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', ' ', 's', 'e', 's', 's', 'i', 'o', 'n', 'T', 'i', 'c', 'k', 'e', 't', +'K', 'e', 'y', 's', 'S', 'd', 's', 'S', 'e', 'c', 'r', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'Q', '\n', '$', 'd', 'i', +'s', 'a', 'b', 'l', 'e', '_', 's', 't', 'a', 't', 'e', 'l', 'e', 's', 's', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 'r', +'e', 's', 'u', 'm', 'p', 't', 'i', 'o', 'n', '\030', '\007', ' ', '\001', '(', '\010', 'H', '\000', 'R', '!', 'd', 'i', 's', 'a', 'b', 'l', +'e', 'S', 't', 'a', 't', 'e', 'l', 'e', 's', 's', 'S', 'e', 's', 's', 'i', 'o', 'n', 'R', 'e', 's', 'u', 'm', 'p', 't', 'i', +'o', 'n', '\022', 'M', '\n', '#', 'd', 'i', 's', 'a', 'b', 'l', 'e', '_', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', +'s', 's', 'i', 'o', 'n', '_', 'r', 'e', 's', 'u', 'm', 'p', 't', 'i', 'o', 'n', '\030', '\n', ' ', '\001', '(', '\010', 'R', ' ', 'd', +'i', 's', 'a', 'b', 'l', 'e', 'S', 't', 'a', 't', 'e', 'f', 'u', 'l', 'S', 'e', 's', 's', 'i', 'o', 'n', 'R', 'e', 's', 'u', +'m', 'p', 't', 'i', 'o', 'n', '\022', 'T', '\n', '\017', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', +'\030', '\006', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', +'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\020', '\372', 'B', '\r', '\252', '\001', '\n', '\032', '\006', '\010', '\200', '\200', '\200', '\200', '\020', '2', +'\000', 'R', '\016', 's', 'e', 's', 's', 'i', 'o', 'n', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', '\210', '\001', '\n', '\022', 'o', 'c', 's', +'p', '_', 's', 't', 'a', 'p', 'l', 'e', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\010', ' ', '\001', '(', '\016', '2', 'P', '.', 'e', +'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', +'_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', +'m', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '.', 'O', 'c', 's', 'p', 'S', 't', 'a', 'p', 'l', 'e', 'P', 'o', 'l', +'i', 'c', 'y', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\020', 'o', 'c', 's', 'p', 'S', 't', 'a', 'p', 'l', 'e', +'P', 'o', 'l', 'i', 'c', 'y', '\022', '_', '\n', '\037', 'f', 'u', 'l', 'l', '_', 's', 'c', 'a', 'n', '_', 'c', 'e', 'r', 't', 's', +'_', 'o', 'n', '_', 's', 'n', 'i', '_', 'm', 'i', 's', 'm', 'a', 't', 'c', 'h', '\030', '\t', ' ', '\001', '(', '\013', '2', '\032', '.', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', +'R', '\032', 'f', 'u', 'l', 'l', 'S', 'c', 'a', 'n', 'C', 'e', 'r', 't', 's', 'O', 'n', 'S', 'n', 'i', 'M', 'i', 's', 'm', 'a', +'t', 'c', 'h', '\"', 'N', '\n', '\020', 'O', 'c', 's', 'p', 'S', 't', 'a', 'p', 'l', 'e', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '\024', +'\n', '\020', 'L', 'E', 'N', 'I', 'E', 'N', 'T', '_', 'S', 'T', 'A', 'P', 'L', 'I', 'N', 'G', '\020', '\000', '\022', '\023', '\n', '\017', 'S', +'T', 'R', 'I', 'C', 'T', '_', 'S', 'T', 'A', 'P', 'L', 'I', 'N', 'G', '\020', '\001', '\022', '\017', '\n', '\013', 'M', 'U', 'S', 'T', '_', +'S', 'T', 'A', 'P', 'L', 'E', '\020', '\002', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', +'i', '.', 'v', '2', '.', 'a', 'u', 't', 'h', '.', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'T', 'l', 's', 'C', 'o', +'n', 't', 'e', 'x', 't', 'B', '\032', '\n', '\030', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 't', 'i', 'c', 'k', 'e', 't', '_', 'k', +'e', 'y', 's', '_', 't', 'y', 'p', 'e', '\"', '\314', '\001', '\n', '\t', 'T', 'l', 's', 'K', 'e', 'y', 'L', 'o', 'g', '\022', '\033', '\n', +'\004', 'p', 'a', 't', 'h', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'p', 'a', 't', +'h', '\022', 'O', '\n', '\023', 'l', 'o', 'c', 'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '_', 'r', 'a', 'n', 'g', 'e', '\030', +'\002', ' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', +'.', 'v', '3', '.', 'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 'R', '\021', 'l', 'o', 'c', 'a', 'l', 'A', 'd', 'd', 'r', 'e', +'s', 's', 'R', 'a', 'n', 'g', 'e', '\022', 'Q', '\n', '\024', 'r', 'e', 'm', 'o', 't', 'e', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', +'_', 'r', 'a', 'n', 'g', 'e', '\030', '\003', ' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 'R', '\022', 'r', 'e', 'm', +'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', 'a', 'n', 'g', 'e', '\"', '\352', '\027', '\n', '\020', 'C', 'o', 'm', 'm', 'o', +'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', 'W', '\n', '\n', 't', 'l', 's', '_', 'p', 'a', 'r', 'a', 'm', 's', +'\030', '\001', ' ', '\001', '(', '\013', '2', '8', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', +'.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', +'.', 'T', 'l', 's', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', 'R', '\t', 't', 'l', 's', 'P', 'a', 'r', 'a', 'm', 's', +'\022', 'd', '\n', '\020', 't', 'l', 's', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 's', '\030', '\002', ' ', '\003', '(', +'\013', '2', '9', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', +'s', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'T', 'l', 's', 'C', +'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'R', '\017', 't', 'l', 's', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', +'e', 's', '\022', '\206', '\001', '\n', '\"', 't', 'l', 's', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 's', 'd', +'s', '_', 's', 'e', 'c', 'r', 'e', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', 's', '\030', '\006', ' ', '\003', '(', '\013', '2', ':', '.', +'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', +'t', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'S', 'd', 's', 'S', 'e', 'c', 'r', 'e', +'t', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\036', 't', 'l', 's', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'S', 'd', +'s', 'S', 'e', 'c', 'r', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', 's', '\022', '\227', '\001', '\n', '!', 't', 'l', 's', '_', 'c', 'e', +'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '_', 'i', 'n', 's', 't', 'a', 'n', +'c', 'e', '\030', '\016', ' ', '\001', '(', '\013', '2', 'L', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', +'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', +'v', '3', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'P', 'l', 'u', +'g', 'i', 'n', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', 'R', '\036', 't', 'l', 's', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', +'t', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', '\022', '\255', '\001', '\n', '$', 't', 'l', +'s', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', +'_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\030', '\t', ' ', '\001', '(', '\013', '2', 'O', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', +'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', +'t', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', +'t', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'B', '\013', '\030', '\001', +'\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '!', 't', 'l', 's', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', +'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\022', '\306', '\001', '\n', '-', 't', +'l', 's', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', +'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '_', 'i', 'n', 's', 't', 'a', 'n', 'c', 'e', '\030', '\013', ' ', '\001', '(', '\013', +'2', 'W', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', +'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', +'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', +'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', +'.', '0', 'R', ')', 't', 'l', 's', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'C', 'e', 'r', 't', 'i', 'f', 'i', +'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', '\022', 'x', '\n', '\022', 'v', +'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', 'G', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', +'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', +'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'H', '\000', 'R', '\021', +'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', '\214', '\001', '\n', '$', 'v', 'a', 'l', +'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', 's', 'd', 's', '_', 's', 'e', 'c', 'r', 'e', +'t', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\007', ' ', '\001', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', +'s', '.', 't', 'l', 's', '.', 'v', '3', '.', 'S', 'd', 's', 'S', 'e', 'c', 'r', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'H', +'\000', 'R', ' ', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'S', 'd', 's', 'S', 'e', +'c', 'r', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\242', '\001', '\n', '\033', 'c', 'o', 'm', 'b', 'i', 'n', 'e', 'd', '_', 'v', +'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '\030', '\010', ' ', '\001', '(', '\013', '2', '`', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', +'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', +'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '.', 'C', 'o', 'm', 'b', 'i', 'n', 'e', 'd', 'C', 'e', 'r', 't', 'i', 'f', 'i', +'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'H', '\000', 'R', '\031', +'c', 'o', 'm', 'b', 'i', 'n', 'e', 'd', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', +'\022', '\265', '\001', '\n', '\'', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', 'c', +'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\030', '\n', ' ', '\001', '(', '\013', +'2', 'O', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', +'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', +'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', +'o', 'v', 'i', 'd', 'e', 'r', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', '$', 'v', 'a', +'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', +'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\022', '\316', '\001', '\n', '0', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', +'c', 'o', 'n', 't', 'e', 'x', 't', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'v', 'i', +'d', 'e', 'r', '_', 'i', 'n', 's', 't', 'a', 'n', 'c', 'e', '\030', '\014', ' ', '\001', '(', '\013', '2', 'W', '.', 'e', 'n', 'v', 'o', +'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', +'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', +'t', 'e', 'x', 't', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', +'n', 's', 't', 'a', 'n', 'c', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', ',', 'v', +'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', +'t', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', '\022', '%', '\n', '\016', 'a', 'l', 'p', +'n', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', 's', '\030', '\004', ' ', '\003', '(', '\t', 'R', '\r', 'a', 'l', 'p', 'n', 'P', 'r', +'o', 't', 'o', 'c', 'o', 'l', 's', '\022', 'W', '\n', '\021', 'c', 'u', 's', 't', 'o', 'm', '_', 'h', 'a', 'n', 'd', 's', 'h', 'a', +'k', 'e', 'r', '\030', '\r', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', +'f', 'i', 'g', 'R', '\020', 'c', 'u', 's', 't', 'o', 'm', 'H', 'a', 'n', 'd', 's', 'h', 'a', 'k', 'e', 'r', '\022', 'M', '\n', '\007', +'k', 'e', 'y', '_', 'l', 'o', 'g', '\030', '\017', ' ', '\001', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', +'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', +'.', 't', 'l', 's', '.', 'v', '3', '.', 'T', 'l', 's', 'K', 'e', 'y', 'L', 'o', 'g', 'R', '\006', 'k', 'e', 'y', 'L', 'o', 'g', +'\032', '\222', '\001', '\n', '\023', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\022', +'\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', +'a', 'm', 'e', '\022', 'O', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', +'2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', +'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\013', 't', 'y', +'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\r', '\n', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\022', '\003', '\370', 'B', '\001', '\032', +'m', '\n', '\033', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', +'t', 'a', 'n', 'c', 'e', '\022', '#', '\n', '\r', 'i', 'n', 's', 't', 'a', 'n', 'c', 'e', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', +'\001', '(', '\t', 'R', '\014', 'i', 'n', 's', 't', 'a', 'n', 'c', 'e', 'N', 'a', 'm', 'e', '\022', ')', '\n', '\020', 'c', 'e', 'r', 't', +'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\017', 'c', 'e', 'r', 't', 'i', +'f', 'i', 'c', 'a', 't', 'e', 'N', 'a', 'm', 'e', '\032', '\244', '\006', '\n', '$', 'C', 'o', 'm', 'b', 'i', 'n', 'e', 'd', 'C', 'e', +'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', +'t', '\022', '\217', '\001', '\n', '\032', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', +'c', 'o', 'n', 't', 'e', 'x', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', 'G', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', +'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', +'.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', 'd', 'a', +'t', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\030', 'd', 'e', +'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', '\224', '\001', +'\n', '$', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', 's', 'd', 's', '_', +'s', 'e', 'c', 'r', 'e', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', ':', '.', 'e', 'n', 'v', +'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', +'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'S', 'd', 's', 'S', 'e', 'c', 'r', 'e', 't', 'C', 'o', +'n', 'f', 'i', 'g', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', ' ', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', +'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'S', 'd', 's', 'S', 'e', 'c', 'r', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\263', +'\001', '\n', '\'', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', 'c', 'e', 'r', +'t', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', 'O', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', +'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', +'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', +'i', 'd', 'e', 'r', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '$', 'v', 'a', 'l', 'i', 'd', 'a', +'t', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', +'v', 'i', 'd', 'e', 'r', '\022', '\314', '\001', '\n', '0', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', +'e', 'x', 't', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '_', +'i', 'n', 's', 't', 'a', 'n', 'c', 'e', '\030', '\004', ' ', '\001', '(', '\013', '2', 'W', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', +'s', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', +'.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', +'n', 'c', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', ',', 'v', 'a', 'l', 'i', 'd', 'a', 't', +'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', +'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', ':', 'N', '\232', '\305', '\210', '\036', 'I', '\n', 'G', 'e', 'n', 'v', 'o', +'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'a', 'u', 't', 'h', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', +'n', 't', 'e', 'x', 't', '.', 'C', 'o', 'm', 'b', 'i', 'n', 'e', 'd', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', +'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', ':', ')', '\232', '\305', '\210', '\036', '$', '\n', +'\"', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'a', 'u', 't', 'h', '.', 'C', 'o', 'm', 'm', 'o', 'n', +'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', 'B', '\031', '\n', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', +'c', 'o', 'n', 't', 'e', 'x', 't', '_', 't', 'y', 'p', 'e', 'J', '\004', '\010', '\005', '\020', '\006', 'B', '\245', '\001', '\n', '7', 'i', 'o', +'.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', +'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', +'.', 'v', '3', 'B', '\010', 'T', 'l', 's', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'V', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', +'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', +'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 't', 'r', +'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '/', 't', 'l', 's', '/', 'v', '3', ';', 't', 'l', +'s', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[11] = { + &envoy_config_core_v3_address_proto_upbdefinit, + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit, + &envoy_extensions_transport_sockets_tls_v3_secret_proto_upbdefinit, + &google_protobuf_duration_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_tls_proto_upbdefinit = { + deps, + &envoy_extensions_transport_sockets_tls_v3_tls_proto_upb_file_layout, + "envoy/extensions/transport_sockets/tls/v3/tls.proto", + UPB_STRINGVIEW_INIT(descriptor, 5494) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h index f4fc1fe9a08..561ba85d070 100644 --- a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/transport_sockets/tls/v3/tls.proto * @@ -10,7 +9,7 @@ #define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_TLS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c index 41ed52262e8..8c18a00c0f5 100644 --- a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h" -#include "envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h" +#include "envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h similarity index 92% rename from src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h index 7ad4637dbeb..fbb90a97de7 100644 --- a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.proto * @@ -10,7 +9,7 @@ #define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_TLS_SPIFFE_VALIDATOR_CONFIG_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c new file mode 100644 index 00000000000..1f40ce54ae4 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c @@ -0,0 +1,133 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/upstreams/http/v3/http_protocol_options.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h" +#include "envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h" + +extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_protocol_proto_upbdefinit; +extern _upb_DefPool_Init envoy_extensions_filters_network_http_connection_manager_v3_http_connection_manager_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[2490] = {'\n', '>', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'u', 'p', 's', 't', 'r', 'e', +'a', 'm', 's', '/', 'h', 't', 't', 'p', '/', 'v', '3', '/', 'h', 't', 't', 'p', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', +'_', 'o', 'p', 't', 'i', 'o', 'n', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\"', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', +'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 's', '.', 'h', 't', 't', 'p', '.', 'v', '3', +'\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', +'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '.', 'p', 'r', 'o', 't', 'o', +'\032', 'Y', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', +'s', '/', 'n', 'e', 't', 'w', 'o', 'r', 'k', '/', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', +'_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '/', 'v', '3', '/', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', +'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', +'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', +'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\302', '\017', +'\n', '\023', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'j', '\n', '\034', +'c', 'o', 'm', 'm', 'o', 'n', '_', 'h', 't', 't', 'p', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', +'o', 'n', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', +'n', 's', 'R', '\031', 'c', 'o', 'm', 'm', 'o', 'n', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', +'i', 'o', 'n', 's', '\022', 'v', '\n', '\036', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'h', 't', 't', 'p', '_', 'p', 'r', 'o', +'t', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '1', '.', 'e', 'n', 'v', +'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'U', 'p', 's', 't', 'r', 'e', 'a', +'m', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\033', 'u', 'p', 's', +'t', 'r', 'e', 'a', 'm', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', +'~', '\n', '\024', 'e', 'x', 'p', 'l', 'i', 'c', 'i', 't', '_', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', +' ', '\001', '(', '\013', '2', 'J', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'u', +'p', 's', 't', 'r', 'e', 'a', 'm', 's', '.', 'h', 't', 't', 'p', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', +'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'E', 'x', 'p', 'l', 'i', 'c', 'i', 't', 'H', 't', 't', 'p', 'C', +'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\022', 'e', 'x', 'p', 'l', 'i', 'c', 'i', 't', 'H', 't', 't', 'p', 'C', 'o', 'n', 'f', +'i', 'g', '\022', '\226', '\001', '\n', '\036', 'u', 's', 'e', '_', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'p', 'r', 'o', +'t', 'o', 'c', 'o', 'l', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', 'O', '.', 'e', 'n', 'v', 'o', +'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 's', '.', 'h', 't', +'t', 'p', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', +'.', 'U', 's', 'e', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'H', 't', 't', 'p', 'C', 'o', 'n', 'f', 'i', 'g', 'H', +'\000', 'R', '\033', 'u', 's', 'e', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'C', +'o', 'n', 'f', 'i', 'g', '\022', 'i', '\n', '\013', 'a', 'u', 't', 'o', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\005', ' ', '\001', '(', +'\013', '2', 'F', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'u', 'p', 's', 't', +'r', 'e', 'a', 'm', 's', '.', 'h', 't', 't', 'p', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', +'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'A', 'u', 't', 'o', 'H', 't', 't', 'p', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', +'R', '\n', 'a', 'u', 't', 'o', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'j', '\n', '\014', 'h', 't', 't', 'p', '_', 'f', 'i', 'l', 't', +'e', 'r', 's', '\030', '\006', ' ', '\003', '(', '\013', '2', 'G', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', +'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', +'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', +'p', 'F', 'i', 'l', 't', 'e', 'r', 'R', '\013', 'h', 't', 't', 'p', 'F', 'i', 'l', 't', 'e', 'r', 's', '\022', 'd', '\n', '\030', 'h', +'e', 'a', 'd', 'e', 'r', '_', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\007', +' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', +'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\026', +'h', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\326', '\002', +'\n', '\022', 'E', 'x', 'p', 'l', 'i', 'c', 'i', 't', 'H', 't', 't', 'p', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '`', '\n', '\025', 'h', +'t', 't', 'p', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\001', ' ', '\001', '(', +'\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', +'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'H', '\000', 'R', '\023', 'h', +'t', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'b', '\n', '\026', 'h', 't', 't', +'p', '2', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\002', ' ', '\001', '(', '\013', +'2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', +'t', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'H', '\000', 'R', '\024', 'h', 't', +'t', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'b', '\n', '\026', 'h', 't', 't', +'p', '3', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\001', '(', '\013', +'2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', +'t', 't', 'p', '3', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'H', '\000', 'R', '\024', 'h', 't', +'t', 'p', '3', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'B', '\026', '\n', '\017', 'p', 'r', 'o', +'t', 'o', 'c', 'o', 'l', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\022', '\003', '\370', 'B', '\001', '\032', '\275', '\002', '\n', '\027', 'U', 's', 'e', +'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'H', 't', 't', 'p', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '^', '\n', '\025', 'h', +'t', 't', 'p', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\001', ' ', '\001', '(', +'\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', +'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\023', 'h', 't', 't', +'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '`', '\n', '\026', 'h', 't', 't', 'p', '2', +'_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '*', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', +'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\024', 'h', 't', 't', 'p', '2', 'P', +'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '`', '\n', '\026', 'h', 't', 't', 'p', '3', '_', 'p', +'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '*', '.', 'e', +'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '3', +'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\024', 'h', 't', 't', 'p', '3', 'P', 'r', 'o', +'t', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\032', '\265', '\003', '\n', '\016', 'A', 'u', 't', 'o', 'H', 't', 't', 'p', +'C', 'o', 'n', 'f', 'i', 'g', '\022', '^', '\n', '\025', 'h', 't', 't', 'p', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', +'p', 't', 'i', 'o', 'n', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', +'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', +'p', 't', 'i', 'o', 'n', 's', 'R', '\023', 'h', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', +'n', 's', '\022', '`', '\n', '\026', 'h', 't', 't', 'p', '2', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', +'o', 'n', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', +'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', +'o', 'n', 's', 'R', '\024', 'h', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', +'\022', '`', '\n', '\026', 'h', 't', 't', 'p', '3', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', +'s', '\030', '\003', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', +'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '3', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', +'s', 'R', '\024', 'h', 't', 't', 'p', '3', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '\177', +'\n', '!', 'a', 'l', 't', 'e', 'r', 'n', 'a', 't', 'e', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', 's', '_', 'c', 'a', 'c', +'h', 'e', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\004', ' ', '\001', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', +'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'l', 't', 'e', 'r', 'n', 'a', 't', 'e', 'P', +'r', 'o', 't', 'o', 'c', 'o', 'l', 's', 'C', 'a', 'c', 'h', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\036', 'a', 'l', 't', +'e', 'r', 'n', 'a', 't', 'e', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 's', 'C', 'a', 'c', 'h', 'e', 'O', 'p', 't', 'i', 'o', +'n', 's', 'B', ' ', '\n', '\031', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', +'p', 't', 'i', 'o', 'n', 's', '\022', '\003', '\370', 'B', '\001', 'B', '\250', '\001', '\n', '0', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', +'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'u', 'p', 's', +'t', 'r', 'e', 'a', 'm', 's', '.', 'h', 't', 't', 'p', '.', 'v', '3', 'B', '\030', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', +'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'P', 'g', 'i', 't', 'h', 'u', 'b', +'.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', +'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', +'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 's', '/', 'h', 't', 't', 'p', '/', 'v', '3', ';', 'h', 't', 't', 'p', 'v', '3', '\272', +'\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[6] = { + &envoy_config_core_v3_extension_proto_upbdefinit, + &envoy_config_core_v3_protocol_proto_upbdefinit, + &envoy_extensions_filters_network_http_connection_manager_v3_http_connection_manager_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_extensions_upstreams_http_v3_http_protocol_options_proto_upbdefinit = { + deps, + &envoy_extensions_upstreams_http_v3_http_protocol_options_proto_upb_file_layout, + "envoy/extensions/upstreams/http/v3/http_protocol_options.proto", + UPB_STRINGVIEW_INIT(descriptor, 2490) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h new file mode 100644 index 00000000000..9f2805d7578 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h @@ -0,0 +1,50 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/extensions/upstreams/http/v3/http_protocol_options.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_EXTENSIONS_UPSTREAMS_HTTP_V3_HTTP_PROTOCOL_OPTIONS_PROTO_UPBDEFS_H_ +#define ENVOY_EXTENSIONS_UPSTREAMS_HTTP_V3_HTTP_PROTOCOL_OPTIONS_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_extensions_upstreams_http_v3_http_protocol_options_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_extensions_upstreams_http_v3_HttpProtocolOptions_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_upstreams_http_v3_http_protocol_options_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.upstreams.http.v3.HttpProtocolOptions"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_upstreams_http_v3_HttpProtocolOptions_ExplicitHttpConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_upstreams_http_v3_http_protocol_options_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_upstreams_http_v3_HttpProtocolOptions_UseDownstreamHttpConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_upstreams_http_v3_http_protocol_options_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig"); +} + +UPB_INLINE const upb_MessageDef *envoy_extensions_upstreams_http_v3_HttpProtocolOptions_AutoHttpConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_extensions_upstreams_http_v3_http_protocol_options_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_EXTENSIONS_UPSTREAMS_HTTP_V3_HTTP_PROTOCOL_OPTIONS_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c index 5e1f3780e06..1b1ae9f0928 100644 --- a/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/service/discovery/v3/ads.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/service/discovery/v3/ads.upbdefs.h" -#include "envoy/service/discovery/v3/ads.upb.h" +#include "envoy/service/discovery/v3/ads.upb_minitable.h" extern _upb_DefPool_Init envoy_service_discovery_v3_discovery_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h index 500249a4d8b..7289da6e7c8 100644 --- a/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/service/discovery/v3/ads.proto * @@ -10,7 +9,7 @@ #define ENVOY_SERVICE_DISCOVERY_V3_ADS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c index 2fdfc54dd4f..0ba9e04f386 100644 --- a/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/service/discovery/v3/discovery.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/service/discovery/v3/discovery.upbdefs.h" -#include "envoy/service/discovery/v3/discovery.upb.h" +#include "envoy/service/discovery/v3/discovery.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h index 9ca66b035c6..d8217792ffb 100644 --- a/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/service/discovery/v3/discovery.proto * @@ -10,7 +9,7 @@ #define ENVOY_SERVICE_DISCOVERY_V3_DISCOVERY_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c index b377963d5c2..033b3d61a49 100644 --- a/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/service/load_stats/v3/lrs.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/service/load_stats/v3/lrs.upbdefs.h" -#include "envoy/service/load_stats/v3/lrs.upb.h" +#include "envoy/service/load_stats/v3/lrs.upb_minitable.h" extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; extern _upb_DefPool_Init envoy_config_endpoint_v3_load_report_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h similarity index 90% rename from src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h index 7f168e5df47..5108d6ad164 100644 --- a/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/service/load_stats/v3/lrs.proto * @@ -10,7 +9,7 @@ #define ENVOY_SERVICE_LOAD_STATS_V3_LRS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c new file mode 100644 index 00000000000..544f267a743 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c @@ -0,0 +1,155 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/service/status/v3/csds.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/service/status/v3/csds.upbdefs.h" +#include "envoy/service/status/v3/csds.upb_minitable.h" + +extern _upb_DefPool_Init envoy_admin_v3_config_dump_shared_proto_upbdefinit; +extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_matcher_v3_node_proto_upbdefinit; +extern _upb_DefPool_Init google_api_annotations_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_timestamp_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +static const char descriptor[2844] = {'\n', '\"', 'e', 'n', 'v', 'o', 'y', '/', 's', 'e', 'r', 'v', 'i', 'c', 'e', '/', 's', 't', 'a', 't', 'u', 's', '/', 'v', '3', +'/', 'c', 's', 'd', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\027', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', +'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'd', 'm', 'i', 'n', '/', +'v', '3', '/', 'c', 'o', 'n', 'f', 'i', 'g', '_', 'd', 'u', 'm', 'p', '_', 's', 'h', 'a', 'r', 'e', 'd', '.', 'p', 'r', 'o', +'t', 'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', +'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', ' ', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', +'t', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'n', 'o', 'd', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\034', 'g', 'o', 'o', 'g', +'l', 'e', '/', 'a', 'p', 'i', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', +'\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', +'o', '\032', '\037', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 't', 'i', 'm', 'e', 's', 't', +'a', 'm', 'p', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', +'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', +'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', +'t', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', +'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\"', '\376', '\001', '\n', '\023', 'C', 'l', 'i', 'e', 'n', 't', 'S', 't', +'a', 't', 'u', 's', 'R', 'e', 'q', 'u', 'e', 's', 't', '\022', 'G', '\n', '\r', 'n', 'o', 'd', 'e', '_', 'm', 'a', 't', 'c', 'h', +'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', +'t', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'N', 'o', 'd', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\014', 'n', 'o', 'd', +'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 's', '\022', '.', '\n', '\004', 'n', 'o', 'd', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'N', 'o', 'd', +'e', 'R', '\004', 'n', 'o', 'd', 'e', '\022', ':', '\n', '\031', 'e', 'x', 'c', 'l', 'u', 'd', 'e', '_', 'r', 'e', 's', 'o', 'u', 'r', +'c', 'e', '_', 'c', 'o', 'n', 't', 'e', 'n', 't', 's', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\027', 'e', 'x', 'c', 'l', 'u', 'd', +'e', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', ':', '2', '\232', '\305', '\210', '\036', '-', '\n', +'+', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '2', '.', +'C', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', 'R', 'e', 'q', 'u', 'e', 's', 't', '\"', '\371', '\004', '\n', '\014', 'P', +'e', 'r', 'X', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '=', '\n', '\006', 's', 't', 'a', 't', 'u', 's', '\030', '\001', ' ', '\001', +'(', '\016', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', +'.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 't', 'a', 't', 'u', 's', 'R', '\006', 's', 't', 'a', 't', 'u', 's', '\022', +']', '\n', '\r', 'c', 'l', 'i', 'e', 'n', 't', '_', 's', 't', 'a', 't', 'u', 's', '\030', '\007', ' ', '\001', '(', '\016', '2', '+', '.', +'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', +'l', 'i', 'e', 'n', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 't', 'a', 't', 'u', 's', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', +'\004', '\003', '3', '.', '0', 'R', '\014', 'c', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', '\022', 'N', '\n', '\017', 'l', 'i', +'s', 't', 'e', 'n', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', +'o', 'y', '.', 'a', 'd', 'm', 'i', 'n', '.', 'v', '3', '.', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 's', 'C', 'o', 'n', 'f', +'i', 'g', 'D', 'u', 'm', 'p', 'H', '\000', 'R', '\016', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', +'K', '\n', '\016', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '\"', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'd', 'm', 'i', 'n', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 's', 'C', +'o', 'n', 'f', 'i', 'g', 'D', 'u', 'm', 'p', 'H', '\000', 'R', '\r', 'c', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', +'g', '\022', 'E', '\n', '\014', 'r', 'o', 'u', 't', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', ' ', +'.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'd', 'm', 'i', 'n', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 's', 'C', 'o', 'n', +'f', 'i', 'g', 'D', 'u', 'm', 'p', 'H', '\000', 'R', '\013', 'r', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'X', '\n', +'\023', 's', 'c', 'o', 'p', 'e', 'd', '_', 'r', 'o', 'u', 't', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\005', ' ', '\001', '(', +'\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'd', 'm', 'i', 'n', '.', 'v', '3', '.', 'S', 'c', 'o', 'p', 'e', 'd', +'R', 'o', 'u', 't', 'e', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'D', 'u', 'm', 'p', 'H', '\000', 'R', '\021', 's', 'c', 'o', 'p', 'e', +'d', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'N', '\n', '\017', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '_', +'c', 'o', 'n', 'f', 'i', 'g', '\030', '\006', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'd', 'm', 'i', +'n', '.', 'v', '3', '.', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'D', 'u', 'm', 'p', 'H', +'\000', 'R', '\016', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'C', 'o', 'n', 'f', 'i', 'g', ':', '+', '\232', '\305', '\210', '\036', '&', '\n', +'$', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '2', '.', +'P', 'e', 'r', 'X', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\020', '\n', '\016', 'p', 'e', 'r', '_', 'x', 'd', 's', '_', 'c', +'o', 'n', 'f', 'i', 'g', '\"', '\256', '\006', '\n', '\014', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '.', '\n', +'\004', 'n', 'o', 'd', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', +'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'N', 'o', 'd', 'e', 'R', '\004', 'n', 'o', 'd', 'e', '\022', 'Q', '\n', '\n', 'x', +'d', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\003', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 's', +'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'P', 'e', 'r', 'X', 'd', 's', 'C', 'o', +'n', 'f', 'i', 'g', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\t', 'x', 'd', 's', 'C', 'o', 'n', +'f', 'i', 'g', '\022', 'f', '\n', '\023', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 'x', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', +'s', '\030', '\003', ' ', '\003', '(', '\013', '2', '6', '.', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', +'t', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'G', 'e', 'n', +'e', 'r', 'i', 'c', 'X', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\021', 'g', 'e', 'n', 'e', 'r', 'i', 'c', 'X', 'd', 's', +'C', 'o', 'n', 'f', 'i', 'g', 's', '\022', '!', '\n', '\014', 'c', 'l', 'i', 'e', 'n', 't', '_', 's', 'c', 'o', 'p', 'e', '\030', '\004', +' ', '\001', '(', '\t', 'R', '\013', 'c', 'l', 'i', 'e', 'n', 't', 'S', 'c', 'o', 'p', 'e', '\032', '\342', '\003', '\n', '\020', 'G', 'e', 'n', +'e', 'r', 'i', 'c', 'X', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\031', '\n', '\010', 't', 'y', 'p', 'e', '_', 'u', 'r', 'l', +'\030', '\001', ' ', '\001', '(', '\t', 'R', '\007', 't', 'y', 'p', 'e', 'U', 'r', 'l', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\002', +' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '!', '\n', '\014', 'v', 'e', 'r', 's', 'i', 'o', 'n', '_', 'i', 'n', 'f', +'o', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\013', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'I', 'n', 'f', 'o', '\022', '3', '\n', '\n', 'x', +'d', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', +'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\t', 'x', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '=', +'\n', '\014', 'l', 'a', 's', 't', '_', 'u', 'p', 'd', 'a', 't', 'e', 'd', '\030', '\005', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', +'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'T', 'i', 'm', 'e', 's', 't', 'a', 'm', 'p', 'R', '\013', +'l', 'a', 's', 't', 'U', 'p', 'd', 'a', 't', 'e', 'd', '\022', 'J', '\n', '\r', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 't', 'a', +'t', 'u', 's', '\030', '\006', ' ', '\001', '(', '\016', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', +'.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 't', 'a', 't', 'u', 's', 'R', '\014', +'c', 'o', 'n', 'f', 'i', 'g', 'S', 't', 'a', 't', 'u', 's', '\022', 'I', '\n', '\r', 'c', 'l', 'i', 'e', 'n', 't', '_', 's', 't', +'a', 't', 'u', 's', '\030', '\007', ' ', '\001', '(', '\016', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'd', 'm', 'i', 'n', '.', +'v', '3', '.', 'C', 'l', 'i', 'e', 'n', 't', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'S', 't', 'a', 't', 'u', 's', 'R', '\014', +'c', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', '\022', 'C', '\n', '\013', 'e', 'r', 'r', 'o', 'r', '_', 's', 't', 'a', +'t', 'e', '\030', '\010', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'd', 'm', 'i', 'n', '.', 'v', '3', +'.', 'U', 'p', 'd', 'a', 't', 'e', 'F', 'a', 'i', 'l', 'u', 'r', 'e', 'S', 't', 'a', 't', 'e', 'R', '\n', 'e', 'r', 'r', 'o', +'r', 'S', 't', 'a', 't', 'e', '\022', ',', '\n', '\022', 'i', 's', '_', 's', 't', 'a', 't', 'i', 'c', '_', 'r', 'e', 's', 'o', 'u', +'r', 'c', 'e', '\030', '\t', ' ', '\001', '(', '\010', 'R', '\020', 'i', 's', 'S', 't', 'a', 't', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', +'c', 'e', ':', '+', '\232', '\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', +'s', 't', 'a', 't', 'u', 's', '.', 'v', '2', '.', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\"', '\212', '\001', +'\n', '\024', 'C', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', '\022', '=', '\n', +'\006', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\003', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', +'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'o', 'n', 'f', +'i', 'g', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', ':', '3', '\232', '\305', '\210', '\036', '.', '\n', ',', 'e', 'n', 'v', 'o', 'y', '.', +'s', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '2', '.', 'C', 'l', 'i', 'e', 'n', 't', 'S', +'t', 'a', 't', 'u', 's', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', '*', 'K', '\n', '\014', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 't', +'a', 't', 'u', 's', '\022', '\013', '\n', '\007', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\n', '\n', '\006', 'S', 'Y', 'N', 'C', +'E', 'D', '\020', '\001', '\022', '\014', '\n', '\010', 'N', 'O', 'T', '_', 'S', 'E', 'N', 'T', '\020', '\002', '\022', '\t', '\n', '\005', 'S', 'T', 'A', +'L', 'E', '\020', '\003', '\022', '\t', '\n', '\005', 'E', 'R', 'R', 'O', 'R', '\020', '\004', '*', 'c', '\n', '\022', 'C', 'l', 'i', 'e', 'n', 't', +'C', 'o', 'n', 'f', 'i', 'g', 'S', 't', 'a', 't', 'u', 's', '\022', '\022', '\n', '\016', 'C', 'L', 'I', 'E', 'N', 'T', '_', 'U', 'N', +'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\024', '\n', '\020', 'C', 'L', 'I', 'E', 'N', 'T', '_', 'R', 'E', 'Q', 'U', 'E', 'S', 'T', +'E', 'D', '\020', '\001', '\022', '\020', '\n', '\014', 'C', 'L', 'I', 'E', 'N', 'T', '_', 'A', 'C', 'K', 'E', 'D', '\020', '\002', '\022', '\021', '\n', +'\r', 'C', 'L', 'I', 'E', 'N', 'T', '_', 'N', 'A', 'C', 'K', 'E', 'D', '\020', '\003', '2', '\262', '\002', '\n', '\034', 'C', 'l', 'i', 'e', +'n', 't', 'S', 't', 'a', 't', 'u', 's', 'D', 'i', 's', 'c', 'o', 'v', 'e', 'r', 'y', 'S', 'e', 'r', 'v', 'i', 'c', 'e', '\022', +'w', '\n', '\022', 'S', 't', 'r', 'e', 'a', 'm', 'C', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', '\022', ',', '.', 'e', +'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', 'l', +'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', 'R', 'e', 'q', 'u', 'e', 's', 't', '\032', '-', '.', 'e', 'n', 'v', 'o', 'y', +'.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', 'l', 'i', 'e', 'n', 't', +'S', 't', 'a', 't', 'u', 's', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', '\"', '\000', '(', '\001', '0', '\001', '\022', '\230', '\001', '\n', '\021', +'F', 'e', 't', 'c', 'h', 'C', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', '\022', ',', '.', 'e', 'n', 'v', 'o', 'y', +'.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', 'l', 'i', 'e', 'n', 't', +'S', 't', 'a', 't', 'u', 's', 'R', 'e', 'q', 'u', 'e', 's', 't', '\032', '-', '.', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', +'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', +'u', 's', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', '\"', '&', '\202', '\323', '\344', '\223', '\002', ' ', '\"', '\033', '/', 'v', '3', '/', 'd', +'i', 's', 'c', 'o', 'v', 'e', 'r', 'y', ':', 'c', 'l', 'i', 'e', 'n', 't', '_', 's', 't', 'a', 't', 'u', 's', ':', '\001', '*', +'B', '\205', '\001', '\n', '%', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', +'s', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', 'B', '\t', 'C', 's', 'd', 's', 'P', 'r', +'o', 't', 'o', 'P', '\001', 'Z', 'G', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', +'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', +'y', '/', 's', 'e', 'r', 'v', 'i', 'c', 'e', '/', 's', 't', 'a', 't', 'u', 's', '/', 'v', '3', ';', 's', 't', 'a', 't', 'u', +'s', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[10] = { + &envoy_admin_v3_config_dump_shared_proto_upbdefinit, + &envoy_config_core_v3_base_proto_upbdefinit, + &envoy_type_matcher_v3_node_proto_upbdefinit, + &google_api_annotations_proto_upbdefinit, + &google_protobuf_any_proto_upbdefinit, + &google_protobuf_timestamp_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_service_status_v3_csds_proto_upbdefinit = { + deps, + &envoy_service_status_v3_csds_proto_upb_file_layout, + "envoy/service/status/v3/csds.proto", + UPB_STRINGVIEW_INIT(descriptor, 2844) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h similarity index 94% rename from src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h index be58e5d0de4..aae2867d429 100644 --- a/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/service/status/v3/csds.proto * @@ -10,7 +9,7 @@ #define ENVOY_SERVICE_STATUS_V3_CSDS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c new file mode 100644 index 00000000000..5895d44efee --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c @@ -0,0 +1,45 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/http/v3/cookie.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/type/http/v3/cookie.upbdefs.h" +#include "envoy/type/http/v3/cookie.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[388] = {'\n', '\037', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'h', 't', 't', 'p', '/', 'v', '3', '/', 'c', 'o', 'o', 'k', +'i', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\022', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'h', 't', 't', 'p', +'.', 'v', '3', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', +'t', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', +'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', +'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 'p', '\n', '\006', 'C', 'o', 'o', 'k', 'i', +'e', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', +'\004', 'n', 'a', 'm', 'e', '\022', '5', '\n', '\003', 't', 't', 'l', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', +'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', +'\252', '\001', '\002', '2', '\000', 'R', '\003', 't', 't', 'l', '\022', '\022', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\003', ' ', '\001', '(', '\t', 'R', +'\004', 'p', 'a', 't', 'h', 'B', '{', '\n', ' ', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', +'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'h', 't', 't', 'p', '.', 'v', '3', 'B', '\013', 'C', 'o', 'o', 'k', 'i', 'e', 'P', +'r', 'o', 't', 'o', 'P', '\001', 'Z', '@', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', +'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', +'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'h', 't', 't', 'p', '/', 'v', '3', ';', 'h', 't', 't', 'p', 'v', '3', '\272', '\200', '\310', +'\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[4] = { + &google_protobuf_duration_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_type_http_v3_cookie_proto_upbdefinit = { + deps, + &envoy_type_http_v3_cookie_proto_upb_file_layout, + "envoy/type/http/v3/cookie.proto", + UPB_STRINGVIEW_INIT(descriptor, 388) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h new file mode 100644 index 00000000000..47084ee25d1 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/http/v3/cookie.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPBDEFS_H_ +#define ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_type_http_v3_cookie_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_type_http_v3_Cookie_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_http_v3_cookie_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.http.v3.Cookie"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c index 700dccb3852..d897eae71fd 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/http/v3/path_transformation.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/http/v3/path_transformation.upbdefs.h" -#include "envoy/type/http/v3/path_transformation.upb.h" +#include "envoy/type/http/v3/path_transformation.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init validate_validate_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h similarity index 93% rename from src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h index beefc3d761c..d029014fcd5 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/http/v3/path_transformation.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_HTTP_V3_PATH_TRANSFORMATION_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c index 6dae34d0a53..2f54b89fc29 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/filter_state.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/matcher/v3/filter_state.upbdefs.h" -#include "envoy/type/matcher/v3/filter_state.upb.h" +#include "envoy/type/matcher/v3/filter_state.upb_minitable.h" extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h similarity index 88% rename from src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h index b9a0da8378c..63b785e0e0d 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/filter_state.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_MATCHER_V3_FILTER_STATE_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c new file mode 100644 index 00000000000..b4f053fd760 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c @@ -0,0 +1,54 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/http_inputs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/type/matcher/v3/http_inputs.upbdefs.h" +#include "envoy/type/matcher/v3/http_inputs.upb_minitable.h" + +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[656] = {'\n', '\'', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'h', +'t', 't', 'p', '_', 'i', 'n', 'p', 'u', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', +'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', +'t', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', +'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 'K', '\n', '\033', 'H', +'t', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'I', 'n', 'p', 'u', +'t', '\022', ',', '\n', '\013', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\013', '\372', +'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\n', 'h', 'e', 'a', 'd', 'e', 'r', 'N', 'a', 'm', 'e', '\"', 'L', '\n', +'\034', 'H', 't', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'T', 'r', 'a', 'i', 'l', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'I', +'n', 'p', 'u', 't', '\022', ',', '\n', '\013', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', +'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\n', 'h', 'e', 'a', 'd', 'e', 'r', 'N', 'a', 'm', 'e', +'\"', 'L', '\n', '\034', 'H', 't', 't', 'p', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', +'c', 'h', 'I', 'n', 'p', 'u', 't', '\022', ',', '\n', '\013', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', +'\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\n', 'h', 'e', 'a', 'd', 'e', 'r', 'N', +'a', 'm', 'e', '\"', 'M', '\n', '\035', 'H', 't', 't', 'p', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'T', 'r', 'a', 'i', 'l', 'e', +'r', 'M', 'a', 't', 'c', 'h', 'I', 'n', 'p', 'u', 't', '\022', ',', '\n', '\013', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', +'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\n', 'h', 'e', 'a', +'d', 'e', 'r', 'N', 'a', 'm', 'e', '\"', 'K', '\n', '\037', 'H', 't', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'Q', 'u', 'e', +'r', 'y', 'P', 'a', 'r', 'a', 'm', 'M', 'a', 't', 'c', 'h', 'I', 'n', 'p', 'u', 't', '\022', '(', '\n', '\013', 'q', 'u', 'e', 'r', +'y', '_', 'p', 'a', 'r', 'a', 'm', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\n', 'q', +'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'B', '\210', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', +'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', +'\017', 'H', 't', 't', 'p', 'I', 'n', 'p', 'u', 't', 's', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'F', 'g', 'i', 't', 'h', 'u', +'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', +'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', +'e', 'r', '/', 'v', '3', ';', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', +'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[3] = { + &udpa_annotations_status_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_type_matcher_v3_http_inputs_proto_upbdefinit = { + deps, + &envoy_type_matcher_v3_http_inputs_proto_upb_file_layout, + "envoy/type/matcher/v3/http_inputs.proto", + UPB_STRINGVIEW_INIT(descriptor, 656) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h new file mode 100644 index 00000000000..4da68056025 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h @@ -0,0 +1,55 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/http_inputs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPBDEFS_H_ +#define ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_type_matcher_v3_http_inputs_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_HttpRequestHeaderMatchInput_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_http_inputs_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.HttpRequestHeaderMatchInput"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_HttpRequestTrailerMatchInput_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_http_inputs_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.HttpRequestTrailerMatchInput"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_HttpResponseHeaderMatchInput_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_http_inputs_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.HttpResponseHeaderMatchInput"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_HttpResponseTrailerMatchInput_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_http_inputs_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.HttpResponseTrailerMatchInput"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_http_inputs_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.HttpRequestQueryParamMatchInput"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c new file mode 100644 index 00000000000..204b8b71f7d --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c @@ -0,0 +1,60 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/metadata.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/type/matcher/v3/metadata.upbdefs.h" +#include "envoy/type/matcher/v3/metadata.upb_minitable.h" + +extern _upb_DefPool_Init envoy_type_matcher_v3_value_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[718] = {'\n', '$', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', +'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', +'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '!', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', +'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'v', 'a', 'l', 'u', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', +'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', +'t', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', +'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', +'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\377', '\002', '\n', '\017', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', +'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', '\037', '\n', '\006', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', +'\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\006', 'f', 'i', 'l', 't', 'e', 'r', '\022', 'P', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\002', +' ', '\003', '(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', +'.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'P', 'a', 't', 'h', 'S', +'e', 'g', 'm', 'e', 'n', 't', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\004', 'p', 'a', 't', 'h', '\022', 'C', '\n', +'\005', 'v', 'a', 'l', 'u', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', +'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', +'\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'v', 'a', 'l', 'u', 'e', '\022', '\026', '\n', '\006', 'i', 'n', 'v', 'e', 'r', +'t', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\006', 'i', 'n', 'v', 'e', 'r', 't', '\032', 'q', '\n', '\013', 'P', 'a', 't', 'h', 'S', 'e', +'g', 'm', 'e', 'n', 't', '\022', '\033', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', +'\020', '\001', 'H', '\000', 'R', '\003', 'k', 'e', 'y', ':', '5', '\232', '\305', '\210', '\036', '0', '\n', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', +'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', +'e', 'r', '.', 'P', 'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', 'B', '\016', '\n', '\007', 's', 'e', 'g', 'm', 'e', 'n', 't', +'\022', '\003', '\370', 'B', '\001', ':', ')', '\232', '\305', '\210', '\036', '$', '\n', '\"', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', +'m', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\206', +'\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', +'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\r', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'P', 'r', +'o', 't', 'o', 'P', '\001', 'Z', 'F', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', +'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', +'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', ';', 'm', 'a', 't', 'c', 'h', 'e', 'r', +'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[5] = { + &envoy_type_matcher_v3_value_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_type_matcher_v3_metadata_proto_upbdefinit = { + deps, + &envoy_type_matcher_v3_metadata_proto_upb_file_layout, + "envoy/type/matcher/v3/metadata.proto", + UPB_STRINGVIEW_INIT(descriptor, 718) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h new file mode 100644 index 00000000000..c03c4fbbdbc --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h @@ -0,0 +1,40 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/metadata.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPBDEFS_H_ +#define ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_type_matcher_v3_metadata_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_MetadataMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_metadata_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.MetadataMatcher"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_MetadataMatcher_PathSegment_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_metadata_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.MetadataMatcher.PathSegment"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c index 4d9f5744d21..827b8bdab62 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/node.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/matcher/v3/node.upbdefs.h" -#include "envoy/type/matcher/v3/node.upb.h" +#include "envoy/type/matcher/v3/node.upb_minitable.h" extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; extern _upb_DefPool_Init envoy_type_matcher_v3_struct_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h index 18cae4d6e84..9a3e52d61a5 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/node.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_MATCHER_V3_NODE_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c index 217e91808c7..4f5a781f00b 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/number.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/matcher/v3/number.upbdefs.h" -#include "envoy/type/matcher/v3/number.upb.h" +#include "envoy/type/matcher/v3/number.upb_minitable.h" extern _upb_DefPool_Init envoy_type_v3_range_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h index ea4abd8235a..ff1977bb32c 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/number.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_MATCHER_V3_NUMBER_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c index 075cd1756a7..edd2b67f40b 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/path.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/matcher/v3/path.upbdefs.h" -#include "envoy/type/matcher/v3/path.upb.h" +#include "envoy/type/matcher/v3/path.upb_minitable.h" extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h index 9524ef55a66..8120a71c53e 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/path.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_MATCHER_V3_PATH_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c new file mode 100644 index 00000000000..1ddda7e27aa --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c @@ -0,0 +1,70 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/regex.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/type/matcher/v3/regex.upbdefs.h" +#include "envoy/type/matcher/v3/regex.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[906] = {'\n', '!', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'r', +'e', 'g', 'e', 'x', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', +'t', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', +'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', +'t', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', +'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', +'s', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', +'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\326', '\002', '\n', '\014', 'R', 'e', +'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', '[', '\n', '\n', 'g', 'o', 'o', 'g', 'l', 'e', '_', 'r', 'e', '2', '\030', +'\001', ' ', '\001', '(', '\013', '2', '-', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', +'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'G', 'o', 'o', 'g', 'l', 'e', 'R', +'E', '2', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', '\t', 'g', 'o', 'o', 'g', 'l', 'e', +'R', 'e', '2', '\022', '\035', '\n', '\005', 'r', 'e', 'g', 'e', 'x', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', +'\020', '\001', 'R', '\005', 'r', 'e', 'g', 'e', 'x', '\032', '\222', '\001', '\n', '\t', 'G', 'o', 'o', 'g', 'l', 'e', 'R', 'E', '2', '\022', 'S', +'\n', '\020', 'm', 'a', 'x', '_', 'p', 'r', 'o', 'g', 'r', 'a', 'm', '_', 's', 'i', 'z', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', +'\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', +'a', 'l', 'u', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\016', 'm', 'a', 'x', 'P', 'r', 'o', +'g', 'r', 'a', 'm', 'S', 'i', 'z', 'e', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', +'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'G', +'o', 'o', 'g', 'l', 'e', 'R', 'E', '2', ':', '&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', +'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\r', +'\n', '\013', 'e', 'n', 'g', 'i', 'n', 'e', '_', 't', 'y', 'p', 'e', '\"', '\306', '\001', '\n', '\027', 'R', 'e', 'g', 'e', 'x', 'M', 'a', +'t', 'c', 'h', 'A', 'n', 'd', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'e', '\022', 'G', '\n', '\007', 'p', 'a', 't', 't', 'e', +'r', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', +'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', +'\212', '\001', '\002', '\020', '\001', 'R', '\007', 'p', 'a', 't', 't', 'e', 'r', 'n', '\022', '/', '\n', '\014', 's', 'u', 'b', 's', 't', 'i', 't', +'u', 't', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\002', '\310', '\001', '\000', 'R', +'\014', 's', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'i', 'o', 'n', ':', '1', '\232', '\305', '\210', '\036', ',', '\n', '*', 'e', 'n', 'v', +'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', +'h', 'A', 'n', 'd', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'e', 'B', '\203', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', +'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', +'r', '.', 'v', '3', 'B', '\n', 'R', 'e', 'g', 'e', 'x', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'F', 'g', 'i', 't', 'h', 'u', +'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', +'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', +'e', 'r', '/', 'v', '3', ';', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', +'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[6] = { + &google_protobuf_wrappers_proto_upbdefinit, + &envoy_annotations_deprecation_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_type_matcher_v3_regex_proto_upbdefinit = { + deps, + &envoy_type_matcher_v3_regex_proto_upb_file_layout, + "envoy/type/matcher/v3/regex.proto", + UPB_STRINGVIEW_INIT(descriptor, 906) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h new file mode 100644 index 00000000000..bf365eb9596 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h @@ -0,0 +1,45 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/regex.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPBDEFS_H_ +#define ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_type_matcher_v3_regex_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_RegexMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_regex_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.RegexMatcher"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_RegexMatcher_GoogleRE2_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_regex_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.RegexMatcher.GoogleRE2"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_RegexMatchAndSubstitute_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_regex_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.RegexMatchAndSubstitute"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c similarity index 94% rename from src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c index bece9319dfa..97f4f8de8cf 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/status_code_input.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/matcher/v3/status_code_input.upbdefs.h" -#include "envoy/type/matcher/v3/status_code_input.upb.h" +#include "envoy/type/matcher/v3/status_code_input.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; static const char descriptor[330] = {'\n', '-', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h similarity index 91% rename from src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h index 35a40f3d484..3bab42c85b1 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/status_code_input.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_MATCHER_V3_STATUS_CODE_INPUT_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c new file mode 100644 index 00000000000..a20340c53c8 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c @@ -0,0 +1,64 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/type/matcher/v3/string.upbdefs.h" +#include "envoy/type/matcher/v3/string.upb_minitable.h" + +extern _upb_DefPool_Init envoy_type_matcher_v3_regex_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[811] = {'\n', '\"', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', +'t', 'r', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', +'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '!', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', +'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'r', 'e', 'g', 'e', 'x', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', +'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', +'\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', +'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', +'d', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\321', '\002', '\n', '\r', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', +'h', 'e', 'r', '\022', '\026', '\n', '\005', 'e', 'x', 'a', 'c', 't', '\030', '\001', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\005', 'e', 'x', 'a', +'c', 't', '\022', '!', '\n', '\006', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', +'\020', '\001', 'H', '\000', 'R', '\006', 'p', 'r', 'e', 'f', 'i', 'x', '\022', '!', '\n', '\006', 's', 'u', 'f', 'f', 'i', 'x', '\030', '\003', ' ', +'\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\006', 's', 'u', 'f', 'f', 'i', 'x', '\022', 'N', '\n', +'\n', 's', 'a', 'f', 'e', '_', 'r', 'e', 'g', 'e', 'x', '\030', '\005', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', +'.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', +'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'H', '\000', 'R', '\t', 's', 'a', 'f', 'e', 'R', 'e', 'g', +'e', 'x', '\022', '%', '\n', '\010', 'c', 'o', 'n', 't', 'a', 'i', 'n', 's', '\030', '\007', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', +'r', '\002', '\020', '\001', 'H', '\000', 'R', '\010', 'c', 'o', 'n', 't', 'a', 'i', 'n', 's', '\022', '\037', '\n', '\013', 'i', 'g', 'n', 'o', 'r', +'e', '_', 'c', 'a', 's', 'e', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\n', 'i', 'g', 'n', 'o', 'r', 'e', 'C', 'a', 's', 'e', ':', +'\'', '\232', '\305', '\210', '\036', '\"', '\n', ' ', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', +'r', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\024', '\n', '\r', 'm', 'a', 't', 'c', 'h', '_', +'p', 'a', 't', 't', 'e', 'r', 'n', '\022', '\003', '\370', 'B', '\001', 'J', '\004', '\010', '\004', '\020', '\005', 'R', '\005', 'r', 'e', 'g', 'e', 'x', +'\"', '\214', '\001', '\n', '\021', 'L', 'i', 's', 't', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'J', '\n', +'\010', 'p', 'a', 't', 't', 'e', 'r', 'n', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', +'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', +'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\010', 'p', 'a', 't', 't', 'e', 'r', 'n', 's', ':', '+', +'\232', '\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', +'.', 'L', 'i', 's', 't', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\204', '\001', '\n', '#', 'i', 'o', +'.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', +'t', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\013', 'S', 't', 'r', 'i', 'n', 'g', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'F', +'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', +'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', +'m', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', ';', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', +'\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[5] = { + &envoy_type_matcher_v3_regex_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit = { + deps, + &envoy_type_matcher_v3_string_proto_upb_file_layout, + "envoy/type/matcher/v3/string.proto", + UPB_STRINGVIEW_INIT(descriptor, 811) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h new file mode 100644 index 00000000000..9a0f5566a61 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h @@ -0,0 +1,40 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPBDEFS_H_ +#define ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_StringMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_string_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.StringMatcher"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_ListStringMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_string_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.ListStringMatcher"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c new file mode 100644 index 00000000000..34db3612251 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c @@ -0,0 +1,57 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/struct.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/type/matcher/v3/struct.upbdefs.h" +#include "envoy/type/matcher/v3/struct.upb_minitable.h" + +extern _upb_DefPool_Init envoy_type_matcher_v3_value_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[649] = {'\n', '\"', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', +'t', 'r', 'u', 'c', 't', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', +'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '!', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', +'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'v', 'a', 'l', 'u', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', +'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', +'\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', +'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', +'d', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\276', '\002', '\n', '\r', 'S', 't', 'r', 'u', 'c', 't', 'M', 'a', 't', 'c', +'h', 'e', 'r', '\022', 'N', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\002', ' ', '\003', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', +'.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'u', 'c', 't', 'M', 'a', +'t', 'c', 'h', 'e', 'r', '.', 'P', 'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', +'\010', '\001', 'R', '\004', 'p', 'a', 't', 'h', '\022', 'C', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', '#', +'.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'V', 'a', +'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'v', 'a', 'l', +'u', 'e', '\032', 'o', '\n', '\013', 'P', 'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', '\022', '\033', '\n', '\003', 'k', 'e', 'y', '\030', +'\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\003', 'k', 'e', 'y', ':', '3', '\232', '\305', +'\210', '\036', '.', '\n', ',', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'S', +'t', 'r', 'u', 'c', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'P', 'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', 'B', +'\016', '\n', '\007', 's', 'e', 'g', 'm', 'e', 'n', 't', '\022', '\003', '\370', 'B', '\001', ':', '\'', '\232', '\305', '\210', '\036', '\"', '\n', ' ', 'e', +'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'S', 't', 'r', 'u', 'c', 't', 'M', +'a', 't', 'c', 'h', 'e', 'r', 'B', '\204', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', +'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\013', 'S', 't', +'r', 'u', 'c', 't', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'F', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', +'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', +'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', ';', 'm', +'a', 't', 'c', 'h', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[5] = { + &envoy_type_matcher_v3_value_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_type_matcher_v3_struct_proto_upbdefinit = { + deps, + &envoy_type_matcher_v3_struct_proto_upb_file_layout, + "envoy/type/matcher/v3/struct.proto", + UPB_STRINGVIEW_INIT(descriptor, 649) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h new file mode 100644 index 00000000000..f24827de18c --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h @@ -0,0 +1,40 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/struct.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPBDEFS_H_ +#define ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_type_matcher_v3_struct_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_StructMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_struct_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.StructMatcher"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_StructMatcher_PathSegment_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_struct_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.StructMatcher.PathSegment"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c new file mode 100644 index 00000000000..462a3ab356a --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c @@ -0,0 +1,81 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/matcher/v3/value.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/type/matcher/v3/value.upbdefs.h" +#include "envoy/type/matcher/v3/value.upb_minitable.h" + +extern _upb_DefPool_Init envoy_type_matcher_v3_number_proto_upbdefinit; +extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[1177] = {'\n', '!', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'v', +'a', 'l', 'u', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', +'t', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', +'h', 'e', 'r', '/', 'v', '3', '/', 'n', 'u', 'm', 'b', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', 'o', +'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', 't', 'r', 'i', 'n', 'g', '.', +'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', +'t', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', +'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', +'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\275', '\004', '\n', +'\014', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'N', '\n', '\n', 'n', 'u', 'l', 'l', '_', 'm', 'a', 't', +'c', 'h', '\030', '\001', ' ', '\001', '(', '\013', '2', '-', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', +'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'N', 'u', 'l', 'l', +'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\t', 'n', 'u', 'l', 'l', 'M', 'a', 't', 'c', 'h', '\022', 'I', '\n', '\014', 'd', 'o', 'u', +'b', 'l', 'e', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', +'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'D', 'o', 'u', 'b', 'l', 'e', 'M', 'a', 't', 'c', +'h', 'e', 'r', 'H', '\000', 'R', '\013', 'd', 'o', 'u', 'b', 'l', 'e', 'M', 'a', 't', 'c', 'h', '\022', 'I', '\n', '\014', 's', 't', 'r', +'i', 'n', 'g', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', +'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', +'h', 'e', 'r', 'H', '\000', 'R', '\013', 's', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', '\022', '\037', '\n', '\n', 'b', 'o', 'o', +'l', '_', 'm', 'a', 't', 'c', 'h', '\030', '\004', ' ', '\001', '(', '\010', 'H', '\000', 'R', '\t', 'b', 'o', 'o', 'l', 'M', 'a', 't', 'c', +'h', '\022', '%', '\n', '\r', 'p', 'r', 'e', 's', 'e', 'n', 't', '_', 'm', 'a', 't', 'c', 'h', '\030', '\005', ' ', '\001', '(', '\010', 'H', +'\000', 'R', '\014', 'p', 'r', 'e', 's', 'e', 'n', 't', 'M', 'a', 't', 'c', 'h', '\022', 'C', '\n', '\n', 'l', 'i', 's', 't', '_', 'm', +'a', 't', 'c', 'h', '\030', '\006', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', +'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'L', 'i', 's', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\t', +'l', 'i', 's', 't', 'M', 'a', 't', 'c', 'h', '\022', '=', '\n', '\010', 'o', 'r', '_', 'm', 'a', 't', 'c', 'h', '\030', '\007', ' ', '\001', +'(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', +'3', '.', 'O', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\007', 'o', 'r', 'M', 'a', 't', 'c', 'h', '\032', '=', '\n', +'\t', 'N', 'u', 'l', 'l', 'M', 'a', 't', 'c', 'h', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', +'t', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', +'.', 'N', 'u', 'l', 'l', 'M', 'a', 't', 'c', 'h', ':', '&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', +'t', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', +'B', '\024', '\n', '\r', 'm', 'a', 't', 'c', 'h', '_', 'p', 'a', 't', 't', 'e', 'r', 'n', '\022', '\003', '\370', 'B', '\001', '\"', '\210', '\001', +'\n', '\013', 'L', 'i', 's', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', '<', '\n', '\006', 'o', 'n', 'e', '_', 'o', 'f', '\030', '\001', +' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', +'.', 'v', '3', '.', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\005', 'o', 'n', 'e', 'O', 'f', +':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', +'e', 'r', '.', 'L', 'i', 's', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\024', '\n', '\r', 'm', 'a', 't', 'c', 'h', '_', 'p', +'a', 't', 't', 'e', 'r', 'n', '\022', '\003', '\370', 'B', '\001', '\"', 'a', '\n', '\t', 'O', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', +'T', '\n', '\016', 'v', 'a', 'l', 'u', 'e', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '#', +'.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'V', 'a', +'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\002', 'R', '\r', 'v', 'a', 'l', +'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 's', 'B', '\203', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', +'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', +'B', '\n', 'V', 'a', 'l', 'u', 'e', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'F', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', +'m', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', +'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', +'3', ';', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', +'o', '3', +}; + +static _upb_DefPool_Init *deps[6] = { + &envoy_type_matcher_v3_number_proto_upbdefinit, + &envoy_type_matcher_v3_string_proto_upbdefinit, + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_type_matcher_v3_value_proto_upbdefinit = { + deps, + &envoy_type_matcher_v3_value_proto_upb_file_layout, + "envoy/type/matcher/v3/value.proto", + UPB_STRINGVIEW_INIT(descriptor, 1177) +}; diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h similarity index 79% rename from src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h index 1d3ae18369b..cb4ececa6c8 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/matcher/v3/value.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_MATCHER_V3_VALUE_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { @@ -37,6 +36,11 @@ UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_ListMatcher_getmsgdef(upb return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.ListMatcher"); } +UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_OrMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_value_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.OrMatcher"); +} + #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c new file mode 100644 index 00000000000..3d48afd746d --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c @@ -0,0 +1,77 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/metadata/v3/metadata.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/type/metadata/v3/metadata.upbdefs.h" +#include "envoy/type/metadata/v3/metadata.upb_minitable.h" + +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[1179] = {'\n', '%', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '/', 'v', '3', '/', +'m', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'p', 'r', 'o', 't', 'o', '\022', '\026', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', +'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', +'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', +'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', +'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', +'r', 'o', 't', 'o', '\"', '\225', '\002', '\n', '\013', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', '\022', '\031', '\n', '\003', 'k', +'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\003', 'k', 'e', 'y', '\022', 'M', '\n', +'\004', 'p', 'a', 't', 'h', '\030', '\002', ' ', '\003', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', +'m', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', '.', 'P', +'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\004', 'p', 'a', 't', +'h', '\032', 'q', '\n', '\013', 'P', 'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', '\022', '\033', '\n', '\003', 'k', 'e', 'y', '\030', '\001', +' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\003', 'k', 'e', 'y', ':', '5', '\232', '\305', '\210', +'\036', '0', '\n', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', +'2', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', '.', 'P', 'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', +'B', '\016', '\n', '\007', 's', 'e', 'g', 'm', 'e', 'n', 't', '\022', '\003', '\370', 'B', '\001', ':', ')', '\232', '\305', '\210', '\036', '$', '\n', '\"', +'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '2', '.', 'M', 'e', +'t', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', '\"', '\322', '\004', '\n', '\014', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', +'d', '\022', 'H', '\n', '\007', 'r', 'e', 'q', 'u', 'e', 's', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', ',', '.', 'e', 'n', 'v', 'o', +'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', +'t', 'a', 'K', 'i', 'n', 'd', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', '\000', 'R', '\007', 'r', 'e', 'q', 'u', 'e', 's', 't', +'\022', 'B', '\n', '\005', 'r', 'o', 'u', 't', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', +'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', +'i', 'n', 'd', '.', 'R', 'o', 'u', 't', 'e', 'H', '\000', 'R', '\005', 'r', 'o', 'u', 't', 'e', '\022', 'H', '\n', '\007', 'c', 'l', 'u', +'s', 't', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', +'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', '.', 'C', +'l', 'u', 's', 't', 'e', 'r', 'H', '\000', 'R', '\007', 'c', 'l', 'u', 's', 't', 'e', 'r', '\022', '?', '\n', '\004', 'h', 'o', 's', 't', +'\030', '\004', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', +'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', '.', 'H', 'o', 's', 't', 'H', +'\000', 'R', '\004', 'h', 'o', 's', 't', '\032', '=', '\n', '\007', 'R', 'e', 'q', 'u', 'e', 's', 't', ':', '2', '\232', '\305', '\210', '\036', '-', +'\n', '+', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '2', '.', +'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', '\032', '9', '\n', '\005', 'R', +'o', 'u', 't', 'e', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', +'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '2', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', '.', 'R', +'o', 'u', 't', 'e', '\032', '=', '\n', '\007', 'C', 'l', 'u', 's', 't', 'e', 'r', ':', '2', '\232', '\305', '\210', '\036', '-', '\n', '+', 'e', +'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '2', '.', 'M', 'e', 't', +'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '\032', '7', '\n', '\004', 'H', 'o', 's', 't', +':', '/', '\232', '\305', '\210', '\036', '*', '\n', '(', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', +'a', 't', 'a', '.', 'v', '2', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', '.', 'H', 'o', 's', 't', ':', +'*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', +'t', 'a', '.', 'v', '2', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', 'B', '\013', '\n', '\004', 'k', 'i', 'n', +'d', '\022', '\003', '\370', 'B', '\001', 'B', '\211', '\001', '\n', '$', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', +'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', 'B', '\r', 'M', +'e', 't', 'a', 'd', 'a', 't', 'a', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'H', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', +'m', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', +'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '/', +'v', '3', ';', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', +'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[4] = { + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_type_metadata_v3_metadata_proto_upbdefinit = { + deps, + &envoy_type_metadata_v3_metadata_proto_upb_file_layout, + "envoy/type/metadata/v3/metadata.proto", + UPB_STRINGVIEW_INIT(descriptor, 1179) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h new file mode 100644 index 00000000000..f4213f1656d --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h @@ -0,0 +1,65 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/metadata/v3/metadata.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPBDEFS_H_ +#define ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_type_metadata_v3_metadata_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKey_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKey"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKey_PathSegment_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKey.PathSegment"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKind_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKind"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKind_Request_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKind.Request"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKind_Route_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKind.Route"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKind_Cluster_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKind.Cluster"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKind_Host_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKind.Host"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c index 808f49434df..3f6701f1d10 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/tracing/v3/custom_tag.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/tracing/v3/custom_tag.upbdefs.h" -#include "envoy/type/tracing/v3/custom_tag.upb.h" +#include "envoy/type/tracing/v3/custom_tag.upb_minitable.h" extern _upb_DefPool_Init envoy_type_metadata_v3_metadata_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h similarity index 94% rename from src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h index 8a87f4c720c..10c41f05409 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/tracing/v3/custom_tag.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_TRACING_V3_CUSTOM_TAG_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c index d2473dacf8f..c5f17553bf5 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/hash_policy.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/v3/hash_policy.upbdefs.h" -#include "envoy/type/v3/hash_policy.upb.h" +#include "envoy/type/v3/hash_policy.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h similarity index 91% rename from src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h index ac8904a961e..d89020f66fe 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/hash_policy.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_V3_HASH_POLICY_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c new file mode 100644 index 00000000000..045af7c785e --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/http.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/type/v3/http.upbdefs.h" +#include "envoy/type/v3/http.upb_minitable.h" + +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +static const char descriptor[245] = {'\n', '\030', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'h', 't', 't', 'p', '.', 'p', 'r', 'o', 't', +'o', '\022', '\r', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', +'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '*', '2', '\n', +'\017', 'C', 'o', 'd', 'e', 'c', 'C', 'l', 'i', 'e', 'n', 't', 'T', 'y', 'p', 'e', '\022', '\t', '\n', '\005', 'H', 'T', 'T', 'P', '1', +'\020', '\000', '\022', '\t', '\n', '\005', 'H', 'T', 'T', 'P', '2', '\020', '\001', '\022', '\t', '\n', '\005', 'H', 'T', 'T', 'P', '3', '\020', '\002', 'B', +'o', '\n', '\033', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', +'p', 'e', '.', 'v', '3', 'B', '\t', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', ';', 'g', 'i', 't', 'h', 'u', +'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', +'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', ';', 't', 'y', +'p', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[2] = { + &udpa_annotations_status_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_type_v3_http_proto_upbdefinit = { + deps, + &envoy_type_v3_http_proto_upb_file_layout, + "envoy/type/v3/http.proto", + UPB_STRINGVIEW_INIT(descriptor, 245) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h new file mode 100644 index 00000000000..7be49e49451 --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/http.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_V3_HTTP_PROTO_UPBDEFS_H_ +#define ENVOY_TYPE_V3_HTTP_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_type_v3_http_proto_upbdefinit; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_V3_HTTP_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c similarity index 98% rename from src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c index 9c64e8059d3..f62b1e213ef 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/http_status.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/v3/http_status.upbdefs.h" -#include "envoy/type/v3/http_status.upb.h" +#include "envoy/type/v3/http_status.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h index 846eca98d6d..3d806e8f483 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/http_status.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_V3_HTTP_STATUS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c index 865adf5c3df..dbef106d9c6 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/percent.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/v3/percent.upbdefs.h" -#include "envoy/type/v3/percent.upb.h" +#include "envoy/type/v3/percent.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h similarity index 89% rename from src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h index 952671b0e72..859c35578d3 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/percent.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_V3_PERCENT_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c new file mode 100644 index 00000000000..6e182349d1a --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c @@ -0,0 +1,47 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "envoy/type/v3/range.upbdefs.h" +#include "envoy/type/v3/range.upb_minitable.h" + +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; +static const char descriptor[484] = {'\n', '\031', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'r', 'a', 'n', 'g', 'e', '.', 'p', 'r', 'o', +'t', 'o', '\022', '\r', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', +'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', +'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', +'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\"', 'R', '\n', '\n', 'I', 'n', 't', '6', '4', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', +'\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', '(', '\003', 'R', '\005', 's', 't', 'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', +'d', '\030', '\002', ' ', '\001', '(', '\003', 'R', '\003', 'e', 'n', 'd', ':', '\034', '\232', '\305', '\210', '\036', '\027', '\n', '\025', 'e', 'n', 'v', 'o', +'y', '.', 't', 'y', 'p', 'e', '.', 'I', 'n', 't', '6', '4', 'R', 'a', 'n', 'g', 'e', '\"', 'R', '\n', '\n', 'I', 'n', 't', '3', +'2', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', '(', '\005', 'R', '\005', 's', 't', +'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\005', 'R', '\003', 'e', 'n', 'd', ':', '\034', '\232', '\305', +'\210', '\036', '\027', '\n', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'I', 'n', 't', '3', '2', 'R', 'a', 'n', 'g', +'e', '\"', 'T', '\n', '\013', 'D', 'o', 'u', 'b', 'l', 'e', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', +'\030', '\001', ' ', '\001', '(', '\001', 'R', '\005', 's', 't', 'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', +'\001', 'R', '\003', 'e', 'n', 'd', ':', '\035', '\232', '\305', '\210', '\036', '\030', '\n', '\026', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', +'.', 'D', 'o', 'u', 'b', 'l', 'e', 'R', 'a', 'n', 'g', 'e', 'B', 'p', '\n', '\033', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', +'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', 'B', '\n', 'R', 'a', 'n', 'g', 'e', +'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', ';', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', +'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', +'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', ';', 't', 'y', 'p', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', +'\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[3] = { + &udpa_annotations_status_proto_upbdefinit, + &udpa_annotations_versioning_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init envoy_type_v3_range_proto_upbdefinit = { + deps, + &envoy_type_v3_range_proto_upb_file_layout, + "envoy/type/v3/range.proto", + UPB_STRINGVIEW_INIT(descriptor, 484) +}; diff --git a/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h new file mode 100644 index 00000000000..caad602fddd --- /dev/null +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h @@ -0,0 +1,45 @@ +/* This file was generated by upb_generator from the input file: + * + * envoy/type/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef ENVOY_TYPE_V3_RANGE_PROTO_UPBDEFS_H_ +#define ENVOY_TYPE_V3_RANGE_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init envoy_type_v3_range_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *envoy_type_v3_Int64Range_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_v3_range_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.v3.Int64Range"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_v3_Int32Range_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_v3_range_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.v3.Int32Range"); +} + +UPB_INLINE const upb_MessageDef *envoy_type_v3_DoubleRange_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &envoy_type_v3_range_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "envoy.type.v3.DoubleRange"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* ENVOY_TYPE_V3_RANGE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c index c72f908c41c..77a3cf2857f 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/ratelimit_strategy.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/v3/ratelimit_strategy.upbdefs.h" -#include "envoy/type/v3/ratelimit_strategy.upb.h" +#include "envoy/type/v3/ratelimit_strategy.upb_minitable.h" extern _upb_DefPool_Init envoy_type_v3_ratelimit_unit_proto_upbdefinit; extern _upb_DefPool_Init envoy_type_v3_token_bucket_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h similarity index 90% rename from src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h index 9157f71ac5d..ea616811095 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/ratelimit_strategy.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_V3_RATELIMIT_STRATEGY_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c similarity index 94% rename from src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c index 0362f30f011..bef953604ff 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/ratelimit_unit.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/v3/ratelimit_unit.upbdefs.h" -#include "envoy/type/v3/ratelimit_unit.upb.h" +#include "envoy/type/v3/ratelimit_unit.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; static const char descriptor[306] = {'\n', '\"', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'r', 'a', 't', 'e', 'l', 'i', 'm', 'i', 't', diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h similarity index 83% rename from src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h index 6b564cf7a12..65e011066dd 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/ratelimit_unit.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_V3_RATELIMIT_UNIT_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c similarity index 95% rename from src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c index 56155d794f2..386cda22638 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/semantic_version.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/v3/semantic_version.upbdefs.h" -#include "envoy/type/v3/semantic_version.upb.h" +#include "envoy/type/v3/semantic_version.upb_minitable.h" extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h index d65924ffda6..6c995fe2914 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/semantic_version.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_V3_SEMANTIC_VERSION_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c b/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c rename to src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c index 10a4c120068..847262b4439 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/token_bucket.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "envoy/type/v3/token_bucket.upbdefs.h" -#include "envoy/type/v3/token_bucket.upb.h" +#include "envoy/type/v3/token_bucket.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h b/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h rename to src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h index 4e88dfe11e9..d581562b413 100644 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +++ b/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * envoy/type/v3/token_bucket.proto * @@ -10,7 +9,7 @@ #define ENVOY_TYPE_V3_TOKEN_BUCKET_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c b/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c similarity index 95% rename from src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c rename to src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c index d6f5e44346e..56e65c853f3 100644 --- a/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +++ b/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/api/annotations.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "google/api/annotations.upbdefs.h" -#include "google/api/annotations.upb.h" +#include "google/api/annotations.upb_minitable.h" extern _upb_DefPool_Init google_api_http_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h b/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h similarity index 82% rename from src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h rename to src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h index 50a974c32ec..53146fd6782 100644 --- a/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +++ b/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/api/annotations.proto * @@ -10,7 +9,7 @@ #define GOOGLE_API_ANNOTATIONS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c b/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c rename to src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c index 978f33b3644..d664aa3531b 100644 --- a/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +++ b/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/api/expr/v1alpha1/checked.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "google/api/expr/v1alpha1/checked.upbdefs.h" -#include "google/api/expr/v1alpha1/checked.upb.h" +#include "google/api/expr/v1alpha1/checked.upb_minitable.h" extern _upb_DefPool_Init google_api_expr_v1alpha1_syntax_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_empty_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h b/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h similarity index 97% rename from src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h rename to src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h index 850228b5a30..7ac40f8e963 100644 --- a/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +++ b/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/api/expr/v1alpha1/checked.proto * @@ -10,7 +9,7 @@ #define GOOGLE_API_EXPR_V1ALPHA1_CHECKED_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c b/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c rename to src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c index e531fb31793..1bc7aafdd35 100644 --- a/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +++ b/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/api/expr/v1alpha1/syntax.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "google/api/expr/v1alpha1/syntax.upbdefs.h" -#include "google/api/expr/v1alpha1/syntax.upb.h" +#include "google/api/expr/v1alpha1/syntax.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h b/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h similarity index 97% rename from src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h rename to src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h index 6e4908c547f..44d17f05180 100644 --- a/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +++ b/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/api/expr/v1alpha1/syntax.proto * @@ -10,7 +9,7 @@ #define GOOGLE_API_EXPR_V1ALPHA1_SYNTAX_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c b/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c new file mode 100644 index 00000000000..af8bd971772 --- /dev/null +++ b/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c @@ -0,0 +1,51 @@ +/* This file was generated by upb_generator from the input file: + * + * google/api/http.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "google/api/http.upbdefs.h" +#include "google/api/http.upb_minitable.h" + +static const char descriptor[684] = {'\n', '\025', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'a', 'p', 'i', '/', 'h', 't', 't', 'p', '.', 'p', 'r', 'o', 't', 'o', '\022', '\n', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'a', 'p', 'i', '\"', 'y', '\n', '\004', 'H', 't', 't', 'p', '\022', '*', '\n', '\005', 'r', 'u', 'l', +'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'a', 'p', 'i', '.', 'H', 't', 't', +'p', 'R', 'u', 'l', 'e', 'R', '\005', 'r', 'u', 'l', 'e', 's', '\022', 'E', '\n', '\037', 'f', 'u', 'l', 'l', 'y', '_', 'd', 'e', 'c', +'o', 'd', 'e', '_', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', '_', 'e', 'x', 'p', 'a', 'n', 's', 'i', 'o', 'n', '\030', '\002', ' ', +'\001', '(', '\010', 'R', '\034', 'f', 'u', 'l', 'l', 'y', 'D', 'e', 'c', 'o', 'd', 'e', 'R', 'e', 's', 'e', 'r', 'v', 'e', 'd', 'E', +'x', 'p', 'a', 'n', 's', 'i', 'o', 'n', '\"', '\332', '\002', '\n', '\010', 'H', 't', 't', 'p', 'R', 'u', 'l', 'e', '\022', '\032', '\n', '\010', +'s', 'e', 'l', 'e', 'c', 't', 'o', 'r', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\010', 's', 'e', 'l', 'e', 'c', 't', 'o', 'r', '\022', +'\022', '\n', '\003', 'g', 'e', 't', '\030', '\002', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\003', 'g', 'e', 't', '\022', '\022', '\n', '\003', 'p', 'u', +'t', '\030', '\003', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\003', 'p', 'u', 't', '\022', '\024', '\n', '\004', 'p', 'o', 's', 't', '\030', '\004', ' ', +'\001', '(', '\t', 'H', '\000', 'R', '\004', 'p', 'o', 's', 't', '\022', '\030', '\n', '\006', 'd', 'e', 'l', 'e', 't', 'e', '\030', '\005', ' ', '\001', +'(', '\t', 'H', '\000', 'R', '\006', 'd', 'e', 'l', 'e', 't', 'e', '\022', '\026', '\n', '\005', 'p', 'a', 't', 'c', 'h', '\030', '\006', ' ', '\001', +'(', '\t', 'H', '\000', 'R', '\005', 'p', 'a', 't', 'c', 'h', '\022', '7', '\n', '\006', 'c', 'u', 's', 't', 'o', 'm', '\030', '\010', ' ', '\001', +'(', '\013', '2', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'a', 'p', 'i', '.', 'C', 'u', 's', 't', 'o', 'm', 'H', 't', 't', +'p', 'P', 'a', 't', 't', 'e', 'r', 'n', 'H', '\000', 'R', '\006', 'c', 'u', 's', 't', 'o', 'm', '\022', '\022', '\n', '\004', 'b', 'o', 'd', +'y', '\030', '\007', ' ', '\001', '(', '\t', 'R', '\004', 'b', 'o', 'd', 'y', '\022', '#', '\n', '\r', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', +'_', 'b', 'o', 'd', 'y', '\030', '\014', ' ', '\001', '(', '\t', 'R', '\014', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'B', 'o', 'd', 'y', +'\022', 'E', '\n', '\023', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', '_', 'b', 'i', 'n', 'd', 'i', 'n', 'g', 's', '\030', '\013', +' ', '\003', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'a', 'p', 'i', '.', 'H', 't', 't', 'p', 'R', 'u', 'l', +'e', 'R', '\022', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'B', 'i', 'n', 'd', 'i', 'n', 'g', 's', 'B', '\t', '\n', '\007', +'p', 'a', 't', 't', 'e', 'r', 'n', '\"', ';', '\n', '\021', 'C', 'u', 's', 't', 'o', 'm', 'H', 't', 't', 'p', 'P', 'a', 't', 't', +'e', 'r', 'n', '\022', '\022', '\n', '\004', 'k', 'i', 'n', 'd', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'k', 'i', 'n', 'd', '\022', '\022', +'\n', '\004', 'p', 'a', 't', 'h', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\004', 'p', 'a', 't', 'h', 'B', 'j', '\n', '\016', 'c', 'o', 'm', +'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'a', 'p', 'i', 'B', '\t', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', +'A', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'g', 'o', 'l', 'a', 'n', 'g', '.', 'o', 'r', 'g', '/', 'g', 'e', 'n', 'p', 'r', 'o', +'t', 'o', '/', 'g', 'o', 'o', 'g', 'l', 'e', 'a', 'p', 'i', 's', '/', 'a', 'p', 'i', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', +'i', 'o', 'n', 's', ';', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '\370', '\001', '\001', '\242', '\002', '\004', 'G', 'A', 'P', +'I', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[1] = { + NULL +}; + +_upb_DefPool_Init google_api_http_proto_upbdefinit = { + deps, + &google_api_http_proto_upb_file_layout, + "google/api/http.proto", + UPB_STRINGVIEW_INIT(descriptor, 684) +}; diff --git a/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h b/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h new file mode 100644 index 00000000000..e2b6bf0e334 --- /dev/null +++ b/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h @@ -0,0 +1,45 @@ +/* This file was generated by upb_generator from the input file: + * + * google/api/http.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_API_HTTP_PROTO_UPBDEFS_H_ +#define GOOGLE_API_HTTP_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init google_api_http_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *google_api_Http_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &google_api_http_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "google.api.Http"); +} + +UPB_INLINE const upb_MessageDef *google_api_HttpRule_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &google_api_http_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "google.api.HttpRule"); +} + +UPB_INLINE const upb_MessageDef *google_api_CustomHttpPattern_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &google_api_http_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "google.api.CustomHttpPattern"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_API_HTTP_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c b/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c similarity index 95% rename from src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c rename to src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c index 2a6c7d2c381..aa6c5dc51c9 100644 --- a/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +++ b/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/api/httpbody.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "google/api/httpbody.upbdefs.h" -#include "google/api/httpbody.upb.h" +#include "google/api/httpbody.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; static const char descriptor[301] = {'\n', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'a', 'p', 'i', '/', 'h', 't', 't', 'p', 'b', 'o', 'd', 'y', '.', 'p', 'r', 'o', diff --git a/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h b/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h similarity index 86% rename from src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h rename to src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h index 7fb51affa96..fdbb639612e 100644 --- a/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +++ b/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/api/httpbody.proto * @@ -10,7 +9,7 @@ #define GOOGLE_API_HTTPBODY_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c b/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c similarity index 93% rename from src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c rename to src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c index 6ad80239767..2c58aa2862b 100644 --- a/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +++ b/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/any.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "google/protobuf/any.upbdefs.h" -#include "google/protobuf/any.upb.h" +#include "google/protobuf/any.upb_minitable.h" static const char descriptor[228] = {'\n', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\022', '\017', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '\"', '6', '\n', '\003', 'A', 'n', diff --git a/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h b/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h similarity index 86% rename from src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h rename to src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h index f7a87fec915..4d6644b59ae 100644 --- a/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +++ b/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/any.proto * @@ -10,7 +9,7 @@ #define GOOGLE_PROTOBUF_ANY_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c b/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c new file mode 100644 index 00000000000..5a56d3b5192 --- /dev/null +++ b/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c @@ -0,0 +1,488 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/descriptor.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "google/protobuf/descriptor.upbdefs.h" +#include "google/protobuf/descriptor.upb_minitable.h" + +static const char descriptor[11620] = {'\n', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', 'r', 'i', 'p', +'t', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', '\017', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', +'f', '\"', 'M', '\n', '\021', 'F', 'i', 'l', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'S', 'e', 't', '\022', '8', '\n', +'\004', 'f', 'i', 'l', 'e', '\030', '\001', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', +'o', 'b', 'u', 'f', '.', 'F', 'i', 'l', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', +'\004', 'f', 'i', 'l', 'e', '\"', '\230', '\005', '\n', '\023', 'F', 'i', 'l', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', +'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', +'\030', '\n', '\007', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\007', 'p', 'a', 'c', 'k', 'a', 'g', 'e', +'\022', '\036', '\n', '\n', 'd', 'e', 'p', 'e', 'n', 'd', 'e', 'n', 'c', 'y', '\030', '\003', ' ', '\003', '(', '\t', 'R', '\n', 'd', 'e', 'p', +'e', 'n', 'd', 'e', 'n', 'c', 'y', '\022', '+', '\n', '\021', 'p', 'u', 'b', 'l', 'i', 'c', '_', 'd', 'e', 'p', 'e', 'n', 'd', 'e', +'n', 'c', 'y', '\030', '\n', ' ', '\003', '(', '\005', 'R', '\020', 'p', 'u', 'b', 'l', 'i', 'c', 'D', 'e', 'p', 'e', 'n', 'd', 'e', 'n', +'c', 'y', '\022', '\'', '\n', '\017', 'w', 'e', 'a', 'k', '_', 'd', 'e', 'p', 'e', 'n', 'd', 'e', 'n', 'c', 'y', '\030', '\013', ' ', '\003', +'(', '\005', 'R', '\016', 'w', 'e', 'a', 'k', 'D', 'e', 'p', 'e', 'n', 'd', 'e', 'n', 'c', 'y', '\022', 'C', '\n', '\014', 'm', 'e', 's', +'s', 'a', 'g', 'e', '_', 't', 'y', 'p', 'e', '\030', '\004', ' ', '\003', '(', '\013', '2', ' ', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', +'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', +'\013', 'm', 'e', 's', 's', 'a', 'g', 'e', 'T', 'y', 'p', 'e', '\022', 'A', '\n', '\t', 'e', 'n', 'u', 'm', '_', 't', 'y', 'p', 'e', +'\030', '\005', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', +'E', 'n', 'u', 'm', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', '\010', 'e', 'n', 'u', 'm', +'T', 'y', 'p', 'e', '\022', 'A', '\n', '\007', 's', 'e', 'r', 'v', 'i', 'c', 'e', '\030', '\006', ' ', '\003', '(', '\013', '2', '\'', '.', 'g', +'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'D', 'e', 's', +'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', '\007', 's', 'e', 'r', 'v', 'i', 'c', 'e', '\022', 'C', '\n', '\t', +'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '\007', ' ', '\003', '(', '\013', '2', '%', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', +'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', +'r', 'o', 't', 'o', 'R', '\t', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\022', '6', '\n', '\007', 'o', 'p', 't', 'i', 'o', 'n', +'s', '\030', '\010', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'F', 'i', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\022', 'I', '\n', '\020', +'s', 'o', 'u', 'r', 'c', 'e', '_', 'c', 'o', 'd', 'e', '_', 'i', 'n', 'f', 'o', '\030', '\t', ' ', '\001', '(', '\013', '2', '\037', '.', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 'o', 'u', 'r', 'c', 'e', 'C', 'o', 'd', +'e', 'I', 'n', 'f', 'o', 'R', '\016', 's', 'o', 'u', 'r', 'c', 'e', 'C', 'o', 'd', 'e', 'I', 'n', 'f', 'o', '\022', '\026', '\n', '\006', +'s', 'y', 'n', 't', 'a', 'x', '\030', '\014', ' ', '\001', '(', '\t', 'R', '\006', 's', 'y', 'n', 't', 'a', 'x', '\022', '2', '\n', '\007', 'e', +'d', 'i', 't', 'i', 'o', 'n', '\030', '\016', ' ', '\001', '(', '\016', '2', '\030', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'E', 'd', 'i', 't', 'i', 'o', 'n', 'R', '\007', 'e', 'd', 'i', 't', 'i', 'o', 'n', '\"', '\271', '\006', +'\n', '\017', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', +'\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', ';', '\n', '\005', 'f', 'i', 'e', 'l', 'd', '\030', '\002', ' ', '\003', +'(', '\013', '2', '%', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', +'d', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', '\005', 'f', 'i', 'e', 'l', 'd', '\022', 'C', +'\n', '\t', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '\006', ' ', '\003', '(', '\013', '2', '%', '.', 'g', 'o', 'o', 'g', 'l', +'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', +'r', 'P', 'r', 'o', 't', 'o', 'R', '\t', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\022', 'A', '\n', '\013', 'n', 'e', 's', 't', +'e', 'd', '_', 't', 'y', 'p', 'e', '\030', '\003', ' ', '\003', '(', '\013', '2', ' ', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', '\n', 'n', +'e', 's', 't', 'e', 'd', 'T', 'y', 'p', 'e', '\022', 'A', '\n', '\t', 'e', 'n', 'u', 'm', '_', 't', 'y', 'p', 'e', '\030', '\004', ' ', +'\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', +'m', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', '\010', 'e', 'n', 'u', 'm', 'T', 'y', 'p', +'e', '\022', 'X', '\n', '\017', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '_', 'r', 'a', 'n', 'g', 'e', '\030', '\005', ' ', '\003', '(', +'\013', '2', '/', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'e', 's', 'c', 'r', +'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', +'R', '\016', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', '\022', 'D', '\n', '\n', 'o', 'n', 'e', 'o', 'f', +'_', 'd', 'e', 'c', 'l', '\030', '\010', ' ', '\003', '(', '\013', '2', '%', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', +'o', 'b', 'u', 'f', '.', 'O', 'n', 'e', 'o', 'f', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', +'R', '\t', 'o', 'n', 'e', 'o', 'f', 'D', 'e', 'c', 'l', '\022', '9', '\n', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\007', ' ', +'\001', '(', '\013', '2', '\037', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'M', 'e', 's', +'s', 'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\022', 'U', '\n', '\016', 'r', +'e', 's', 'e', 'r', 'v', 'e', 'd', '_', 'r', 'a', 'n', 'g', 'e', '\030', '\t', ' ', '\003', '(', '\013', '2', '.', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', +'o', 't', 'o', '.', 'R', 'e', 's', 'e', 'r', 'v', 'e', 'd', 'R', 'a', 'n', 'g', 'e', 'R', '\r', 'r', 'e', 's', 'e', 'r', 'v', +'e', 'd', 'R', 'a', 'n', 'g', 'e', '\022', '#', '\n', '\r', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', '_', 'n', 'a', 'm', 'e', '\030', +'\n', ' ', '\003', '(', '\t', 'R', '\014', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', 'N', 'a', 'm', 'e', '\032', 'z', '\n', '\016', 'E', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', +'(', '\005', 'R', '\005', 's', 't', 'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\005', 'R', '\003', 'e', +'n', 'd', '\022', '@', '\n', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '&', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', +'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\032', '7', '\n', '\r', 'R', 'e', 's', +'e', 'r', 'v', 'e', 'd', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', '(', '\005', +'R', '\005', 's', 't', 'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\005', 'R', '\003', 'e', 'n', 'd', +'\"', '\307', '\004', '\n', '\025', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', +'s', '\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', '_', 'o', 'p', 't', 'i', 'o', 'n', +'\030', '\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', 'u', 'n', 'i', +'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '\022', 'Y', '\n', '\013', 'd', 'e', 'c', 'l', 'a', +'r', 'a', 't', 'i', 'o', 'n', '\030', '\002', ' ', '\003', '(', '\013', '2', '2', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', 'O', 'p', 't', 'i', 'o', +'n', 's', '.', 'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\003', '\210', '\001', '\002', 'R', '\013', 'd', 'e', 'c', 'l', +'a', 'r', 'a', 't', 'i', 'o', 'n', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '2', ' ', '\001', '(', '\013', +'2', '\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', +'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', 'h', '\n', '\014', 'v', 'e', 'r', 'i', 'f', 'i', 'c', +'a', 't', 'i', 'o', 'n', '\030', '\003', ' ', '\001', '(', '\016', '2', '8', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', +'o', 'b', 'u', 'f', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', +'s', '.', 'V', 'e', 'r', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'S', 't', 'a', 't', 'e', ':', '\n', 'U', 'N', 'V', 'E', +'R', 'I', 'F', 'I', 'E', 'D', 'R', '\014', 'v', 'e', 'r', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', '\032', '\224', '\001', '\n', '\013', +'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\006', 'n', 'u', 'm', 'b', 'e', 'r', '\030', '\001', ' ', '\001', +'(', '\005', 'R', '\006', 'n', 'u', 'm', 'b', 'e', 'r', '\022', '\033', '\n', '\t', 'f', 'u', 'l', 'l', '_', 'n', 'a', 'm', 'e', '\030', '\002', +' ', '\001', '(', '\t', 'R', '\010', 'f', 'u', 'l', 'l', 'N', 'a', 'm', 'e', '\022', '\022', '\n', '\004', 't', 'y', 'p', 'e', '\030', '\003', ' ', +'\001', '(', '\t', 'R', '\004', 't', 'y', 'p', 'e', '\022', '\032', '\n', '\010', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', '\030', '\005', ' ', '\001', +'(', '\010', 'R', '\010', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', '\022', '\032', '\n', '\010', 'r', 'e', 'p', 'e', 'a', 't', 'e', 'd', '\030', +'\006', ' ', '\001', '(', '\010', 'R', '\010', 'r', 'e', 'p', 'e', 'a', 't', 'e', 'd', 'J', '\004', '\010', '\004', '\020', '\005', '\"', '4', '\n', '\021', +'V', 'e', 'r', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'S', 't', 'a', 't', 'e', '\022', '\017', '\n', '\013', 'D', 'E', 'C', 'L', +'A', 'R', 'A', 'T', 'I', 'O', 'N', '\020', '\000', '\022', '\016', '\n', '\n', 'U', 'N', 'V', 'E', 'R', 'I', 'F', 'I', 'E', 'D', '\020', '\001', +'*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', '\002', '\"', '\301', '\006', '\n', '\024', 'F', 'i', 'e', 'l', 'd', 'D', 'e', 's', 'c', +'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', +'R', '\004', 'n', 'a', 'm', 'e', '\022', '\026', '\n', '\006', 'n', 'u', 'm', 'b', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\005', 'R', '\006', 'n', +'u', 'm', 'b', 'e', 'r', '\022', 'A', '\n', '\005', 'l', 'a', 'b', 'e', 'l', '\030', '\004', ' ', '\001', '(', '\016', '2', '+', '.', 'g', 'o', +'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'D', 'e', 's', 'c', 'r', 'i', +'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '.', 'L', 'a', 'b', 'e', 'l', 'R', '\005', 'l', 'a', 'b', 'e', 'l', '\022', '>', '\n', +'\004', 't', 'y', 'p', 'e', '\030', '\005', ' ', '\001', '(', '\016', '2', '*', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', +'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', +'.', 'T', 'y', 'p', 'e', 'R', '\004', 't', 'y', 'p', 'e', '\022', '\033', '\n', '\t', 't', 'y', 'p', 'e', '_', 'n', 'a', 'm', 'e', '\030', +'\006', ' ', '\001', '(', '\t', 'R', '\010', 't', 'y', 'p', 'e', 'N', 'a', 'm', 'e', '\022', '\032', '\n', '\010', 'e', 'x', 't', 'e', 'n', 'd', +'e', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\010', 'e', 'x', 't', 'e', 'n', 'd', 'e', 'e', '\022', '#', '\n', '\r', 'd', 'e', 'f', +'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\007', ' ', '\001', '(', '\t', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', 't', +'V', 'a', 'l', 'u', 'e', '\022', '\037', '\n', '\013', 'o', 'n', 'e', 'o', 'f', '_', 'i', 'n', 'd', 'e', 'x', '\030', '\t', ' ', '\001', '(', +'\005', 'R', '\n', 'o', 'n', 'e', 'o', 'f', 'I', 'n', 'd', 'e', 'x', '\022', '\033', '\n', '\t', 'j', 's', 'o', 'n', '_', 'n', 'a', 'm', +'e', '\030', '\n', ' ', '\001', '(', '\t', 'R', '\010', 'j', 's', 'o', 'n', 'N', 'a', 'm', 'e', '\022', '7', '\n', '\007', 'o', 'p', 't', 'i', +'o', 'n', 's', '\030', '\010', ' ', '\001', '(', '\013', '2', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\022', +'\'', '\n', '\017', 'p', 'r', 'o', 't', 'o', '3', '_', 'o', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\030', '\021', ' ', '\001', '(', '\010', 'R', +'\016', 'p', 'r', 'o', 't', 'o', '3', 'O', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\"', '\266', '\002', '\n', '\004', 'T', 'y', 'p', 'e', '\022', +'\017', '\n', '\013', 'T', 'Y', 'P', 'E', '_', 'D', 'O', 'U', 'B', 'L', 'E', '\020', '\001', '\022', '\016', '\n', '\n', 'T', 'Y', 'P', 'E', '_', +'F', 'L', 'O', 'A', 'T', '\020', '\002', '\022', '\016', '\n', '\n', 'T', 'Y', 'P', 'E', '_', 'I', 'N', 'T', '6', '4', '\020', '\003', '\022', '\017', +'\n', '\013', 'T', 'Y', 'P', 'E', '_', 'U', 'I', 'N', 'T', '6', '4', '\020', '\004', '\022', '\016', '\n', '\n', 'T', 'Y', 'P', 'E', '_', 'I', +'N', 'T', '3', '2', '\020', '\005', '\022', '\020', '\n', '\014', 'T', 'Y', 'P', 'E', '_', 'F', 'I', 'X', 'E', 'D', '6', '4', '\020', '\006', '\022', +'\020', '\n', '\014', 'T', 'Y', 'P', 'E', '_', 'F', 'I', 'X', 'E', 'D', '3', '2', '\020', '\007', '\022', '\r', '\n', '\t', 'T', 'Y', 'P', 'E', +'_', 'B', 'O', 'O', 'L', '\020', '\010', '\022', '\017', '\n', '\013', 'T', 'Y', 'P', 'E', '_', 'S', 'T', 'R', 'I', 'N', 'G', '\020', '\t', '\022', +'\016', '\n', '\n', 'T', 'Y', 'P', 'E', '_', 'G', 'R', 'O', 'U', 'P', '\020', '\n', '\022', '\020', '\n', '\014', 'T', 'Y', 'P', 'E', '_', 'M', +'E', 'S', 'S', 'A', 'G', 'E', '\020', '\013', '\022', '\016', '\n', '\n', 'T', 'Y', 'P', 'E', '_', 'B', 'Y', 'T', 'E', 'S', '\020', '\014', '\022', +'\017', '\n', '\013', 'T', 'Y', 'P', 'E', '_', 'U', 'I', 'N', 'T', '3', '2', '\020', '\r', '\022', '\r', '\n', '\t', 'T', 'Y', 'P', 'E', '_', +'E', 'N', 'U', 'M', '\020', '\016', '\022', '\021', '\n', '\r', 'T', 'Y', 'P', 'E', '_', 'S', 'F', 'I', 'X', 'E', 'D', '3', '2', '\020', '\017', +'\022', '\021', '\n', '\r', 'T', 'Y', 'P', 'E', '_', 'S', 'F', 'I', 'X', 'E', 'D', '6', '4', '\020', '\020', '\022', '\017', '\n', '\013', 'T', 'Y', +'P', 'E', '_', 'S', 'I', 'N', 'T', '3', '2', '\020', '\021', '\022', '\017', '\n', '\013', 'T', 'Y', 'P', 'E', '_', 'S', 'I', 'N', 'T', '6', +'4', '\020', '\022', '\"', 'C', '\n', '\005', 'L', 'a', 'b', 'e', 'l', '\022', '\022', '\n', '\016', 'L', 'A', 'B', 'E', 'L', '_', 'O', 'P', 'T', +'I', 'O', 'N', 'A', 'L', '\020', '\001', '\022', '\022', '\n', '\016', 'L', 'A', 'B', 'E', 'L', '_', 'R', 'E', 'P', 'E', 'A', 'T', 'E', 'D', +'\020', '\003', '\022', '\022', '\n', '\016', 'L', 'A', 'B', 'E', 'L', '_', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '\020', '\002', '\"', 'c', '\n', +'\024', 'O', 'n', 'e', 'o', 'f', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', +'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '7', '\n', '\007', 'o', 'p', 't', 'i', 'o', +'n', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', +'f', '.', 'O', 'n', 'e', 'o', 'f', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\"', '\343', +'\002', '\n', '\023', 'E', 'n', 'u', 'm', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', +'\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '?', '\n', '\005', 'v', 'a', 'l', 'u', +'e', '\030', '\002', ' ', '\003', '(', '\013', '2', ')', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'E', 'n', 'u', 'm', 'V', 'a', 'l', 'u', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', +'R', '\005', 'v', 'a', 'l', 'u', 'e', '\022', '6', '\n', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', +'\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', 'm', 'O', 'p', 't', +'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\022', ']', '\n', '\016', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', +'_', 'r', 'a', 'n', 'g', 'e', '\030', '\004', ' ', '\003', '(', '\013', '2', '6', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', 'm', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', +'.', 'E', 'n', 'u', 'm', 'R', 'e', 's', 'e', 'r', 'v', 'e', 'd', 'R', 'a', 'n', 'g', 'e', 'R', '\r', 'r', 'e', 's', 'e', 'r', +'v', 'e', 'd', 'R', 'a', 'n', 'g', 'e', '\022', '#', '\n', '\r', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', '_', 'n', 'a', 'm', 'e', +'\030', '\005', ' ', '\003', '(', '\t', 'R', '\014', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', 'N', 'a', 'm', 'e', '\032', ';', '\n', '\021', 'E', +'n', 'u', 'm', 'R', 'e', 's', 'e', 'r', 'v', 'e', 'd', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', +'\030', '\001', ' ', '\001', '(', '\005', 'R', '\005', 's', 't', 'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', +'\005', 'R', '\003', 'e', 'n', 'd', '\"', '\203', '\001', '\n', '\030', 'E', 'n', 'u', 'm', 'V', 'a', 'l', 'u', 'e', 'D', 'e', 's', 'c', 'r', +'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', +'\004', 'n', 'a', 'm', 'e', '\022', '\026', '\n', '\006', 'n', 'u', 'm', 'b', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\005', 'R', '\006', 'n', 'u', +'m', 'b', 'e', 'r', '\022', ';', '\n', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '!', '.', 'g', +'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', 'm', 'V', 'a', 'l', 'u', 'e', 'O', +'p', 't', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\"', '\247', '\001', '\n', '\026', 'S', 'e', 'r', 'v', 'i', +'c', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', +'\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '>', '\n', '\006', 'm', 'e', 't', 'h', 'o', 'd', '\030', '\002', ' ', +'\003', '(', '\013', '2', '&', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'M', 'e', 't', +'h', 'o', 'd', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', '\006', 'm', 'e', 't', 'h', 'o', +'d', '\022', '9', '\n', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '\037', '.', 'g', 'o', 'o', 'g', +'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'O', 'p', 't', 'i', 'o', 'n', +'s', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\"', '\211', '\002', '\n', '\025', 'M', 'e', 't', 'h', 'o', 'd', 'D', 'e', 's', 'c', +'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', +'R', '\004', 'n', 'a', 'm', 'e', '\022', '\035', '\n', '\n', 'i', 'n', 'p', 'u', 't', '_', 't', 'y', 'p', 'e', '\030', '\002', ' ', '\001', '(', +'\t', 'R', '\t', 'i', 'n', 'p', 'u', 't', 'T', 'y', 'p', 'e', '\022', '\037', '\n', '\013', 'o', 'u', 't', 'p', 'u', 't', '_', 't', 'y', +'p', 'e', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\n', 'o', 'u', 't', 'p', 'u', 't', 'T', 'y', 'p', 'e', '\022', '8', '\n', '\007', 'o', +'p', 't', 'i', 'o', 'n', 's', '\030', '\004', ' ', '\001', '(', '\013', '2', '\036', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'M', 'e', 't', 'h', 'o', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', +'o', 'n', 's', '\022', '0', '\n', '\020', 'c', 'l', 'i', 'e', 'n', 't', '_', 's', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', '\030', '\005', +' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\017', 'c', 'l', 'i', 'e', 'n', 't', 'S', 't', 'r', 'e', 'a', 'm', +'i', 'n', 'g', '\022', '0', '\n', '\020', 's', 'e', 'r', 'v', 'e', 'r', '_', 's', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', '\030', '\006', +' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\017', 's', 'e', 'r', 'v', 'e', 'r', 'S', 't', 'r', 'e', 'a', 'm', +'i', 'n', 'g', '\"', '\312', '\t', '\n', '\013', 'F', 'i', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '!', '\n', '\014', 'j', 'a', +'v', 'a', '_', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\013', 'j', 'a', 'v', 'a', 'P', 'a', 'c', +'k', 'a', 'g', 'e', '\022', '0', '\n', '\024', 'j', 'a', 'v', 'a', '_', 'o', 'u', 't', 'e', 'r', '_', 'c', 'l', 'a', 's', 's', 'n', +'a', 'm', 'e', '\030', '\010', ' ', '\001', '(', '\t', 'R', '\022', 'j', 'a', 'v', 'a', 'O', 'u', 't', 'e', 'r', 'C', 'l', 'a', 's', 's', +'n', 'a', 'm', 'e', '\022', '5', '\n', '\023', 'j', 'a', 'v', 'a', '_', 'm', 'u', 'l', 't', 'i', 'p', 'l', 'e', '_', 'f', 'i', 'l', +'e', 's', '\030', '\n', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\021', 'j', 'a', 'v', 'a', 'M', 'u', 'l', 't', +'i', 'p', 'l', 'e', 'F', 'i', 'l', 'e', 's', '\022', 'D', '\n', '\035', 'j', 'a', 'v', 'a', '_', 'g', 'e', 'n', 'e', 'r', 'a', 't', +'e', '_', 'e', 'q', 'u', 'a', 'l', 's', '_', 'a', 'n', 'd', '_', 'h', 'a', 's', 'h', '\030', '\024', ' ', '\001', '(', '\010', 'B', '\002', +'\030', '\001', 'R', '\031', 'j', 'a', 'v', 'a', 'G', 'e', 'n', 'e', 'r', 'a', 't', 'e', 'E', 'q', 'u', 'a', 'l', 's', 'A', 'n', 'd', +'H', 'a', 's', 'h', '\022', ':', '\n', '\026', 'j', 'a', 'v', 'a', '_', 's', 't', 'r', 'i', 'n', 'g', '_', 'c', 'h', 'e', 'c', 'k', +'_', 'u', 't', 'f', '8', '\030', '\033', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\023', 'j', 'a', 'v', 'a', 'S', +'t', 'r', 'i', 'n', 'g', 'C', 'h', 'e', 'c', 'k', 'U', 't', 'f', '8', '\022', 'S', '\n', '\014', 'o', 'p', 't', 'i', 'm', 'i', 'z', +'e', '_', 'f', 'o', 'r', '\030', '\t', ' ', '\001', '(', '\016', '2', ')', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', +'o', 'b', 'u', 'f', '.', 'F', 'i', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'O', 'p', 't', 'i', 'm', 'i', 'z', 'e', +'M', 'o', 'd', 'e', ':', '\005', 'S', 'P', 'E', 'E', 'D', 'R', '\013', 'o', 'p', 't', 'i', 'm', 'i', 'z', 'e', 'F', 'o', 'r', '\022', +'\035', '\n', '\n', 'g', 'o', '_', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '\030', '\013', ' ', '\001', '(', '\t', 'R', '\t', 'g', 'o', 'P', 'a', +'c', 'k', 'a', 'g', 'e', '\022', '5', '\n', '\023', 'c', 'c', '_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 's', 'e', 'r', 'v', 'i', +'c', 'e', 's', '\030', '\020', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\021', 'c', 'c', 'G', 'e', 'n', 'e', 'r', +'i', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 's', '\022', '9', '\n', '\025', 'j', 'a', 'v', 'a', '_', 'g', 'e', 'n', 'e', 'r', 'i', +'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', 's', '\030', '\021', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\023', +'j', 'a', 'v', 'a', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 's', '\022', '5', '\n', '\023', 'p', 'y', +'_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', 's', '\030', '\022', ' ', '\001', '(', '\010', ':', '\005', +'f', 'a', 'l', 's', 'e', 'R', '\021', 'p', 'y', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 's', '\022', +'7', '\n', '\024', 'p', 'h', 'p', '_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', 's', '\030', '*', +' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\022', 'p', 'h', 'p', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'S', 'e', +'r', 'v', 'i', 'c', 'e', 's', '\022', '%', '\n', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\030', '\027', ' ', '\001', '(', +'\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\022', '.', '\n', '\020', 'c', +'c', '_', 'e', 'n', 'a', 'b', 'l', 'e', '_', 'a', 'r', 'e', 'n', 'a', 's', '\030', '\037', ' ', '\001', '(', '\010', ':', '\004', 't', 'r', +'u', 'e', 'R', '\016', 'c', 'c', 'E', 'n', 'a', 'b', 'l', 'e', 'A', 'r', 'e', 'n', 'a', 's', '\022', '*', '\n', '\021', 'o', 'b', 'j', +'c', '_', 'c', 'l', 'a', 's', 's', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '$', ' ', '\001', '(', '\t', 'R', '\017', 'o', 'b', 'j', +'c', 'C', 'l', 'a', 's', 's', 'P', 'r', 'e', 'f', 'i', 'x', '\022', ')', '\n', '\020', 'c', 's', 'h', 'a', 'r', 'p', '_', 'n', 'a', +'m', 'e', 's', 'p', 'a', 'c', 'e', '\030', '%', ' ', '\001', '(', '\t', 'R', '\017', 'c', 's', 'h', 'a', 'r', 'p', 'N', 'a', 'm', 'e', +'s', 'p', 'a', 'c', 'e', '\022', '!', '\n', '\014', 's', 'w', 'i', 'f', 't', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\'', ' ', '\001', +'(', '\t', 'R', '\013', 's', 'w', 'i', 'f', 't', 'P', 'r', 'e', 'f', 'i', 'x', '\022', '(', '\n', '\020', 'p', 'h', 'p', '_', 'c', 'l', +'a', 's', 's', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '(', ' ', '\001', '(', '\t', 'R', '\016', 'p', 'h', 'p', 'C', 'l', 'a', 's', +'s', 'P', 'r', 'e', 'f', 'i', 'x', '\022', '#', '\n', '\r', 'p', 'h', 'p', '_', 'n', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', '\030', +')', ' ', '\001', '(', '\t', 'R', '\014', 'p', 'h', 'p', 'N', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', '\022', '4', '\n', '\026', 'p', 'h', +'p', '_', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '_', 'n', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', '\030', ',', ' ', '\001', '(', +'\t', 'R', '\024', 'p', 'h', 'p', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'N', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', '\022', '!', +'\n', '\014', 'r', 'u', 'b', 'y', '_', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '\030', '-', ' ', '\001', '(', '\t', 'R', '\013', 'r', 'u', 'b', +'y', 'P', 'a', 'c', 'k', 'a', 'g', 'e', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '2', ' ', '\001', '(', +'\013', '2', '\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', +'r', 'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', +'r', 'p', 'r', 'e', 't', 'e', 'd', '_', 'o', 'p', 't', 'i', 'o', 'n', '\030', '\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', +'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', +'t', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', +'p', 't', 'i', 'o', 'n', '\"', ':', '\n', '\014', 'O', 'p', 't', 'i', 'm', 'i', 'z', 'e', 'M', 'o', 'd', 'e', '\022', '\t', '\n', '\005', +'S', 'P', 'E', 'E', 'D', '\020', '\001', '\022', '\r', '\n', '\t', 'C', 'O', 'D', 'E', '_', 'S', 'I', 'Z', 'E', '\020', '\002', '\022', '\020', '\n', +'\014', 'L', 'I', 'T', 'E', '_', 'R', 'U', 'N', 'T', 'I', 'M', 'E', '\020', '\003', '*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', +'\002', 'J', '\004', '\010', '&', '\020', '\'', '\"', '\364', '\003', '\n', '\016', 'M', 'e', 's', 's', 'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', +'s', '\022', '<', '\n', '\027', 'm', 'e', 's', 's', 'a', 'g', 'e', '_', 's', 'e', 't', '_', 'w', 'i', 'r', 'e', '_', 'f', 'o', 'r', +'m', 'a', 't', '\030', '\001', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\024', 'm', 'e', 's', 's', 'a', 'g', 'e', +'S', 'e', 't', 'W', 'i', 'r', 'e', 'F', 'o', 'r', 'm', 'a', 't', '\022', 'L', '\n', '\037', 'n', 'o', '_', 's', 't', 'a', 'n', 'd', +'a', 'r', 'd', '_', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '_', 'a', 'c', 'c', 'e', 's', 's', 'o', 'r', '\030', '\002', +' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\034', 'n', 'o', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'D', 'e', +'s', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'A', 'c', 'c', 'e', 's', 's', 'o', 'r', '\022', '%', '\n', '\n', 'd', 'e', 'p', 'r', 'e', +'c', 'a', 't', 'e', 'd', '\030', '\003', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\n', 'd', 'e', 'p', 'r', 'e', +'c', 'a', 't', 'e', 'd', '\022', '\033', '\n', '\t', 'm', 'a', 'p', '_', 'e', 'n', 't', 'r', 'y', '\030', '\007', ' ', '\001', '(', '\010', 'R', +'\010', 'm', 'a', 'p', 'E', 'n', 't', 'r', 'y', '\022', 'V', '\n', '&', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '_', 'l', +'e', 'g', 'a', 'c', 'y', '_', 'j', 's', 'o', 'n', '_', 'f', 'i', 'e', 'l', 'd', '_', 'c', 'o', 'n', 'f', 'l', 'i', 'c', 't', +'s', '\030', '\013', ' ', '\001', '(', '\010', 'B', '\002', '\030', '\001', 'R', '\"', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', 'L', 'e', +'g', 'a', 'c', 'y', 'J', 's', 'o', 'n', 'F', 'i', 'e', 'l', 'd', 'C', 'o', 'n', 'f', 'l', 'i', 'c', 't', 's', '\022', '7', '\n', +'\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '\014', ' ', '\001', '(', '\013', '2', '\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', +'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', +'u', 'r', 'e', 's', '\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', '_', 'o', 'p', 't', +'i', 'o', 'n', '\030', '\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', +'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', +'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '*', '\t', '\010', '\350', '\007', '\020', +'\200', '\200', '\200', '\200', '\002', 'J', '\004', '\010', '\004', '\020', '\005', 'J', '\004', '\010', '\005', '\020', '\006', 'J', '\004', '\010', '\006', '\020', '\007', 'J', '\004', +'\010', '\010', '\020', '\t', 'J', '\004', '\010', '\t', '\020', '\n', '\"', '\255', '\n', '\n', '\014', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', +'n', 's', '\022', 'A', '\n', '\005', 'c', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\016', '2', '#', '.', 'g', 'o', 'o', 'g', 'l', +'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'C', +'T', 'y', 'p', 'e', ':', '\006', 'S', 'T', 'R', 'I', 'N', 'G', 'R', '\005', 'c', 't', 'y', 'p', 'e', '\022', '\026', '\n', '\006', 'p', 'a', +'c', 'k', 'e', 'd', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\006', 'p', 'a', 'c', 'k', 'e', 'd', '\022', 'G', '\n', '\006', 'j', 's', 't', +'y', 'p', 'e', '\030', '\006', ' ', '\001', '(', '\016', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'J', 'S', 'T', 'y', 'p', 'e', ':', '\t', 'J', +'S', '_', 'N', 'O', 'R', 'M', 'A', 'L', 'R', '\006', 'j', 's', 't', 'y', 'p', 'e', '\022', '\031', '\n', '\004', 'l', 'a', 'z', 'y', '\030', +'\005', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\004', 'l', 'a', 'z', 'y', '\022', '.', '\n', '\017', 'u', 'n', 'v', +'e', 'r', 'i', 'f', 'i', 'e', 'd', '_', 'l', 'a', 'z', 'y', '\030', '\017', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', +'R', '\016', 'u', 'n', 'v', 'e', 'r', 'i', 'f', 'i', 'e', 'd', 'L', 'a', 'z', 'y', '\022', '%', '\n', '\n', 'd', 'e', 'p', 'r', 'e', +'c', 'a', 't', 'e', 'd', '\030', '\003', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\n', 'd', 'e', 'p', 'r', 'e', +'c', 'a', 't', 'e', 'd', '\022', '\031', '\n', '\004', 'w', 'e', 'a', 'k', '\030', '\n', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', +'e', 'R', '\004', 'w', 'e', 'a', 'k', '\022', '(', '\n', '\014', 'd', 'e', 'b', 'u', 'g', '_', 'r', 'e', 'd', 'a', 'c', 't', '\030', '\020', +' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\013', 'd', 'e', 'b', 'u', 'g', 'R', 'e', 'd', 'a', 'c', 't', '\022', +'K', '\n', '\t', 'r', 'e', 't', 'e', 'n', 't', 'i', 'o', 'n', '\030', '\021', ' ', '\001', '(', '\016', '2', '-', '.', 'g', 'o', 'o', 'g', +'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', +'O', 'p', 't', 'i', 'o', 'n', 'R', 'e', 't', 'e', 'n', 't', 'i', 'o', 'n', 'R', '\t', 'r', 'e', 't', 'e', 'n', 't', 'i', 'o', +'n', '\022', 'H', '\n', '\007', 't', 'a', 'r', 'g', 'e', 't', 's', '\030', '\023', ' ', '\003', '(', '\016', '2', '.', '.', 'g', 'o', 'o', 'g', +'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', +'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'r', 'g', 'e', 't', 'T', 'y', 'p', 'e', 'R', '\007', 't', 'a', 'r', 'g', 'e', 't', 's', +'\022', 'W', '\n', '\020', 'e', 'd', 'i', 't', 'i', 'o', 'n', '_', 'd', 'e', 'f', 'a', 'u', 'l', 't', 's', '\030', '\024', ' ', '\003', '(', +'\013', '2', ',', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', +'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'E', 'd', 'i', 't', 'i', 'o', 'n', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'R', '\017', 'e', +'d', 'i', 't', 'i', 'o', 'n', 'D', 'e', 'f', 'a', 'u', 'l', 't', 's', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', +'s', '\030', '\025', ' ', '\001', '(', '\013', '2', '\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', 'X', '\n', '\024', +'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', '_', 'o', 'p', 't', 'i', 'o', 'n', '\030', '\347', '\007', ' ', '\003', +'(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', +'t', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', +'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '\032', 'Z', '\n', '\016', 'E', 'd', 'i', 't', 'i', 'o', 'n', 'D', 'e', 'f', +'a', 'u', 'l', 't', '\022', '2', '\n', '\007', 'e', 'd', 'i', 't', 'i', 'o', 'n', '\030', '\003', ' ', '\001', '(', '\016', '2', '\030', '.', 'g', +'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'd', 'i', 't', 'i', 'o', 'n', 'R', '\007', 'e', +'d', 'i', 't', 'i', 'o', 'n', '\022', '\024', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\005', 'v', 'a', +'l', 'u', 'e', '\"', '/', '\n', '\005', 'C', 'T', 'y', 'p', 'e', '\022', '\n', '\n', '\006', 'S', 'T', 'R', 'I', 'N', 'G', '\020', '\000', '\022', +'\010', '\n', '\004', 'C', 'O', 'R', 'D', '\020', '\001', '\022', '\020', '\n', '\014', 'S', 'T', 'R', 'I', 'N', 'G', '_', 'P', 'I', 'E', 'C', 'E', +'\020', '\002', '\"', '5', '\n', '\006', 'J', 'S', 'T', 'y', 'p', 'e', '\022', '\r', '\n', '\t', 'J', 'S', '_', 'N', 'O', 'R', 'M', 'A', 'L', +'\020', '\000', '\022', '\r', '\n', '\t', 'J', 'S', '_', 'S', 'T', 'R', 'I', 'N', 'G', '\020', '\001', '\022', '\r', '\n', '\t', 'J', 'S', '_', 'N', +'U', 'M', 'B', 'E', 'R', '\020', '\002', '\"', 'U', '\n', '\017', 'O', 'p', 't', 'i', 'o', 'n', 'R', 'e', 't', 'e', 'n', 't', 'i', 'o', +'n', '\022', '\025', '\n', '\021', 'R', 'E', 'T', 'E', 'N', 'T', 'I', 'O', 'N', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', +'\025', '\n', '\021', 'R', 'E', 'T', 'E', 'N', 'T', 'I', 'O', 'N', '_', 'R', 'U', 'N', 'T', 'I', 'M', 'E', '\020', '\001', '\022', '\024', '\n', +'\020', 'R', 'E', 'T', 'E', 'N', 'T', 'I', 'O', 'N', '_', 'S', 'O', 'U', 'R', 'C', 'E', '\020', '\002', '\"', '\214', '\002', '\n', '\020', 'O', +'p', 't', 'i', 'o', 'n', 'T', 'a', 'r', 'g', 'e', 't', 'T', 'y', 'p', 'e', '\022', '\027', '\n', '\023', 'T', 'A', 'R', 'G', 'E', 'T', +'_', 'T', 'Y', 'P', 'E', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\024', '\n', '\020', 'T', 'A', 'R', 'G', 'E', 'T', +'_', 'T', 'Y', 'P', 'E', '_', 'F', 'I', 'L', 'E', '\020', '\001', '\022', '\037', '\n', '\033', 'T', 'A', 'R', 'G', 'E', 'T', '_', 'T', 'Y', +'P', 'E', '_', 'E', 'X', 'T', 'E', 'N', 'S', 'I', 'O', 'N', '_', 'R', 'A', 'N', 'G', 'E', '\020', '\002', '\022', '\027', '\n', '\023', 'T', +'A', 'R', 'G', 'E', 'T', '_', 'T', 'Y', 'P', 'E', '_', 'M', 'E', 'S', 'S', 'A', 'G', 'E', '\020', '\003', '\022', '\025', '\n', '\021', 'T', +'A', 'R', 'G', 'E', 'T', '_', 'T', 'Y', 'P', 'E', '_', 'F', 'I', 'E', 'L', 'D', '\020', '\004', '\022', '\025', '\n', '\021', 'T', 'A', 'R', +'G', 'E', 'T', '_', 'T', 'Y', 'P', 'E', '_', 'O', 'N', 'E', 'O', 'F', '\020', '\005', '\022', '\024', '\n', '\020', 'T', 'A', 'R', 'G', 'E', +'T', '_', 'T', 'Y', 'P', 'E', '_', 'E', 'N', 'U', 'M', '\020', '\006', '\022', '\032', '\n', '\026', 'T', 'A', 'R', 'G', 'E', 'T', '_', 'T', +'Y', 'P', 'E', '_', 'E', 'N', 'U', 'M', '_', 'E', 'N', 'T', 'R', 'Y', '\020', '\007', '\022', '\027', '\n', '\023', 'T', 'A', 'R', 'G', 'E', +'T', '_', 'T', 'Y', 'P', 'E', '_', 'S', 'E', 'R', 'V', 'I', 'C', 'E', '\020', '\010', '\022', '\026', '\n', '\022', 'T', 'A', 'R', 'G', 'E', +'T', '_', 'T', 'Y', 'P', 'E', '_', 'M', 'E', 'T', 'H', 'O', 'D', '\020', '\t', '*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', +'\002', 'J', '\004', '\010', '\004', '\020', '\005', 'J', '\004', '\010', '\022', '\020', '\023', '\"', '\254', '\001', '\n', '\014', 'O', 'n', 'e', 'o', 'f', 'O', 'p', +'t', 'i', 'o', 'n', 's', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '\033', +'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', +'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', +'e', 't', 'e', 'd', '_', 'o', 'p', 't', 'i', 'o', 'n', '\030', '\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', +'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', +'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', +'o', 'n', '*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', '\002', '\"', '\321', '\002', '\n', '\013', 'E', 'n', 'u', 'm', 'O', 'p', 't', +'i', 'o', 'n', 's', '\022', '\037', '\n', '\013', 'a', 'l', 'l', 'o', 'w', '_', 'a', 'l', 'i', 'a', 's', '\030', '\002', ' ', '\001', '(', '\010', +'R', '\n', 'a', 'l', 'l', 'o', 'w', 'A', 'l', 'i', 'a', 's', '\022', '%', '\n', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', +'d', '\030', '\003', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', +'d', '\022', 'V', '\n', '&', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '_', 'l', 'e', 'g', 'a', 'c', 'y', '_', 'j', 's', +'o', 'n', '_', 'f', 'i', 'e', 'l', 'd', '_', 'c', 'o', 'n', 'f', 'l', 'i', 'c', 't', 's', '\030', '\006', ' ', '\001', '(', '\010', 'B', +'\002', '\030', '\001', 'R', '\"', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', 'L', 'e', 'g', 'a', 'c', 'y', 'J', 's', 'o', 'n', +'F', 'i', 'e', 'l', 'd', 'C', 'o', 'n', 'f', 'l', 'i', 'c', 't', 's', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', +'s', '\030', '\007', ' ', '\001', '(', '\013', '2', '\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', 'X', '\n', '\024', +'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', '_', 'o', 'p', 't', 'i', 'o', 'n', '\030', '\347', '\007', ' ', '\003', +'(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', +'t', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', +'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', '\002', 'J', '\004', '\010', +'\005', '\020', '\006', '\"', '\201', '\002', '\n', '\020', 'E', 'n', 'u', 'm', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', +'%', '\n', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\030', '\001', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', +'e', 'R', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', +'\030', '\002', ' ', '\001', '(', '\013', '2', '\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', +'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', '(', '\n', '\014', 'd', +'e', 'b', 'u', 'g', '_', 'r', 'e', 'd', 'a', 'c', 't', '\030', '\003', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', +'\013', 'd', 'e', 'b', 'u', 'g', 'R', 'e', 'd', 'a', 'c', 't', '\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', +'e', 't', 'e', 'd', '_', 'o', 'p', 't', 'i', 'o', 'n', '\030', '\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', +'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', +'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', +'o', 'n', '*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', '\002', '\"', '\325', '\001', '\n', '\016', 'S', 'e', 'r', 'v', 'i', 'c', 'e', +'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '\"', ' ', '\001', '(', '\013', +'2', '\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', +'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', '%', '\n', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', +'t', 'e', 'd', '\030', '!', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', +'t', 'e', 'd', '\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', '_', 'o', 'p', 't', 'i', +'o', 'n', '\030', '\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', +'u', 'f', '.', 'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', 'u', +'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '*', '\t', '\010', '\350', '\007', '\020', '\200', +'\200', '\200', '\200', '\002', '\"', '\231', '\003', '\n', '\r', 'M', 'e', 't', 'h', 'o', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '%', '\n', +'\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\030', '!', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', +'\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\022', 'q', '\n', '\021', 'i', 'd', 'e', 'm', 'p', 'o', 't', 'e', 'n', 'c', +'y', '_', 'l', 'e', 'v', 'e', 'l', '\030', '\"', ' ', '\001', '(', '\016', '2', '/', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'M', 'e', 't', 'h', 'o', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'I', 'd', 'e', 'm', +'p', 'o', 't', 'e', 'n', 'c', 'y', 'L', 'e', 'v', 'e', 'l', ':', '\023', 'I', 'D', 'E', 'M', 'P', 'O', 'T', 'E', 'N', 'C', 'Y', +'_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', 'R', '\020', 'i', 'd', 'e', 'm', 'p', 'o', 't', 'e', 'n', 'c', 'y', 'L', 'e', 'v', 'e', +'l', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '#', ' ', '\001', '(', '\013', '2', '\033', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'R', '\010', +'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', +'_', 'o', 'p', 't', 'i', 'o', 'n', '\030', '\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', +'o', 'n', 'R', '\023', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '\"', 'P', +'\n', '\020', 'I', 'd', 'e', 'm', 'p', 'o', 't', 'e', 'n', 'c', 'y', 'L', 'e', 'v', 'e', 'l', '\022', '\027', '\n', '\023', 'I', 'D', 'E', +'M', 'P', 'O', 'T', 'E', 'N', 'C', 'Y', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\023', '\n', '\017', 'N', 'O', '_', +'S', 'I', 'D', 'E', '_', 'E', 'F', 'F', 'E', 'C', 'T', 'S', '\020', '\001', '\022', '\016', '\n', '\n', 'I', 'D', 'E', 'M', 'P', 'O', 'T', +'E', 'N', 'T', '\020', '\002', '*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', '\002', '\"', '\232', '\003', '\n', '\023', 'U', 'n', 'i', 'n', +'t', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '\022', 'A', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\002', +' ', '\003', '(', '\013', '2', '-', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'n', +'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '.', 'N', 'a', 'm', 'e', 'P', 'a', 'r', +'t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', ')', '\n', '\020', 'i', 'd', 'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', '_', 'v', 'a', 'l', +'u', 'e', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\017', 'i', 'd', 'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', 'V', 'a', 'l', 'u', 'e', +'\022', ',', '\n', '\022', 'p', 'o', 's', 'i', 't', 'i', 'v', 'e', '_', 'i', 'n', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\004', ' ', +'\001', '(', '\004', 'R', '\020', 'p', 'o', 's', 'i', 't', 'i', 'v', 'e', 'I', 'n', 't', 'V', 'a', 'l', 'u', 'e', '\022', ',', '\n', '\022', +'n', 'e', 'g', 'a', 't', 'i', 'v', 'e', '_', 'i', 'n', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\005', ' ', '\001', '(', '\003', 'R', +'\020', 'n', 'e', 'g', 'a', 't', 'i', 'v', 'e', 'I', 'n', 't', 'V', 'a', 'l', 'u', 'e', '\022', '!', '\n', '\014', 'd', 'o', 'u', 'b', +'l', 'e', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\006', ' ', '\001', '(', '\001', 'R', '\013', 'd', 'o', 'u', 'b', 'l', 'e', 'V', 'a', 'l', +'u', 'e', '\022', '!', '\n', '\014', 's', 't', 'r', 'i', 'n', 'g', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\007', ' ', '\001', '(', '\014', 'R', +'\013', 's', 't', 'r', 'i', 'n', 'g', 'V', 'a', 'l', 'u', 'e', '\022', '\'', '\n', '\017', 'a', 'g', 'g', 'r', 'e', 'g', 'a', 't', 'e', +'_', 'v', 'a', 'l', 'u', 'e', '\030', '\010', ' ', '\001', '(', '\t', 'R', '\016', 'a', 'g', 'g', 'r', 'e', 'g', 'a', 't', 'e', 'V', 'a', +'l', 'u', 'e', '\032', 'J', '\n', '\010', 'N', 'a', 'm', 'e', 'P', 'a', 'r', 't', '\022', '\033', '\n', '\t', 'n', 'a', 'm', 'e', '_', 'p', +'a', 'r', 't', '\030', '\001', ' ', '\002', '(', '\t', 'R', '\010', 'n', 'a', 'm', 'e', 'P', 'a', 'r', 't', '\022', '!', '\n', '\014', 'i', 's', +'_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '\002', ' ', '\002', '(', '\010', 'R', '\013', 'i', 's', 'E', 'x', 't', 'e', 'n', +'s', 'i', 'o', 'n', '\"', '\374', '\t', '\n', '\n', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', '\022', '\213', '\001', '\n', '\016', 'f', +'i', 'e', 'l', 'd', '_', 'p', 'r', 'e', 's', 'e', 'n', 'c', 'e', '\030', '\001', ' ', '\001', '(', '\016', '2', ')', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', '.', 'F', +'i', 'e', 'l', 'd', 'P', 'r', 'e', 's', 'e', 'n', 'c', 'e', 'B', '9', '\210', '\001', '\001', '\230', '\001', '\004', '\230', '\001', '\001', '\242', '\001', +'\r', '\022', '\010', 'E', 'X', 'P', 'L', 'I', 'C', 'I', 'T', '\030', '\346', '\007', '\242', '\001', '\r', '\022', '\010', 'I', 'M', 'P', 'L', 'I', 'C', +'I', 'T', '\030', '\347', '\007', '\242', '\001', '\r', '\022', '\010', 'E', 'X', 'P', 'L', 'I', 'C', 'I', 'T', '\030', '\350', '\007', 'R', '\r', 'f', 'i', +'e', 'l', 'd', 'P', 'r', 'e', 's', 'e', 'n', 'c', 'e', '\022', 'f', '\n', '\t', 'e', 'n', 'u', 'm', '_', 't', 'y', 'p', 'e', '\030', +'\002', ' ', '\001', '(', '\016', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', +'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', '.', 'E', 'n', 'u', 'm', 'T', 'y', 'p', 'e', 'B', '#', '\210', '\001', '\001', '\230', '\001', +'\006', '\230', '\001', '\001', '\242', '\001', '\013', '\022', '\006', 'C', 'L', 'O', 'S', 'E', 'D', '\030', '\346', '\007', '\242', '\001', '\t', '\022', '\004', 'O', 'P', +'E', 'N', '\030', '\347', '\007', 'R', '\010', 'e', 'n', 'u', 'm', 'T', 'y', 'p', 'e', '\022', '\222', '\001', '\n', '\027', 'r', 'e', 'p', 'e', 'a', +'t', 'e', 'd', '_', 'f', 'i', 'e', 'l', 'd', '_', 'e', 'n', 'c', 'o', 'd', 'i', 'n', 'g', '\030', '\003', ' ', '\001', '(', '\016', '2', +'1', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', +'S', 'e', 't', '.', 'R', 'e', 'p', 'e', 'a', 't', 'e', 'd', 'F', 'i', 'e', 'l', 'd', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', +'B', '\'', '\210', '\001', '\001', '\230', '\001', '\004', '\230', '\001', '\001', '\242', '\001', '\r', '\022', '\010', 'E', 'X', 'P', 'A', 'N', 'D', 'E', 'D', '\030', +'\346', '\007', '\242', '\001', '\013', '\022', '\006', 'P', 'A', 'C', 'K', 'E', 'D', '\030', '\347', '\007', 'R', '\025', 'r', 'e', 'p', 'e', 'a', 't', 'e', +'d', 'F', 'i', 'e', 'l', 'd', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', '\022', 'x', '\n', '\017', 'u', 't', 'f', '8', '_', 'v', 'a', +'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '\030', '\004', ' ', '\001', '(', '\016', '2', '*', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', '.', 'U', 't', 'f', '8', 'V', 'a', +'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'B', '#', '\210', '\001', '\001', '\230', '\001', '\004', '\230', '\001', '\001', '\242', '\001', '\t', '\022', '\004', 'N', +'O', 'N', 'E', '\030', '\346', '\007', '\242', '\001', '\013', '\022', '\006', 'V', 'E', 'R', 'I', 'F', 'Y', '\030', '\347', '\007', 'R', '\016', 'u', 't', 'f', +'8', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '\022', 'x', '\n', '\020', 'm', 'e', 's', 's', 'a', 'g', 'e', '_', 'e', 'n', +'c', 'o', 'd', 'i', 'n', 'g', '\030', '\005', ' ', '\001', '(', '\016', '2', '+', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', '.', 'M', 'e', 's', 's', 'a', 'g', 'e', 'E', +'n', 'c', 'o', 'd', 'i', 'n', 'g', 'B', ' ', '\210', '\001', '\001', '\230', '\001', '\004', '\230', '\001', '\001', '\242', '\001', '\024', '\022', '\017', 'L', 'E', +'N', 'G', 'T', 'H', '_', 'P', 'R', 'E', 'F', 'I', 'X', 'E', 'D', '\030', '\346', '\007', 'R', '\017', 'm', 'e', 's', 's', 'a', 'g', 'e', +'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', '\022', '|', '\n', '\013', 'j', 's', 'o', 'n', '_', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\006', +' ', '\001', '(', '\016', '2', '&', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', +'a', 't', 'u', 'r', 'e', 'S', 'e', 't', '.', 'J', 's', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', 'B', '3', '\210', '\001', '\001', '\230', +'\001', '\003', '\230', '\001', '\006', '\230', '\001', '\001', '\242', '\001', '\027', '\022', '\022', 'L', 'E', 'G', 'A', 'C', 'Y', '_', 'B', 'E', 'S', 'T', '_', +'E', 'F', 'F', 'O', 'R', 'T', '\030', '\346', '\007', '\242', '\001', '\n', '\022', '\005', 'A', 'L', 'L', 'O', 'W', '\030', '\347', '\007', 'R', '\n', 'j', +'s', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', '\"', '\\', '\n', '\r', 'F', 'i', 'e', 'l', 'd', 'P', 'r', 'e', 's', 'e', 'n', 'c', +'e', '\022', '\032', '\n', '\026', 'F', 'I', 'E', 'L', 'D', '_', 'P', 'R', 'E', 'S', 'E', 'N', 'C', 'E', '_', 'U', 'N', 'K', 'N', 'O', +'W', 'N', '\020', '\000', '\022', '\014', '\n', '\010', 'E', 'X', 'P', 'L', 'I', 'C', 'I', 'T', '\020', '\001', '\022', '\014', '\n', '\010', 'I', 'M', 'P', +'L', 'I', 'C', 'I', 'T', '\020', '\002', '\022', '\023', '\n', '\017', 'L', 'E', 'G', 'A', 'C', 'Y', '_', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', +'D', '\020', '\003', '\"', '7', '\n', '\010', 'E', 'n', 'u', 'm', 'T', 'y', 'p', 'e', '\022', '\025', '\n', '\021', 'E', 'N', 'U', 'M', '_', 'T', +'Y', 'P', 'E', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\010', '\n', '\004', 'O', 'P', 'E', 'N', '\020', '\001', '\022', '\n', +'\n', '\006', 'C', 'L', 'O', 'S', 'E', 'D', '\020', '\002', '\"', 'V', '\n', '\025', 'R', 'e', 'p', 'e', 'a', 't', 'e', 'd', 'F', 'i', 'e', +'l', 'd', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', '\022', '#', '\n', '\037', 'R', 'E', 'P', 'E', 'A', 'T', 'E', 'D', '_', 'F', 'I', +'E', 'L', 'D', '_', 'E', 'N', 'C', 'O', 'D', 'I', 'N', 'G', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\n', '\n', +'\006', 'P', 'A', 'C', 'K', 'E', 'D', '\020', '\001', '\022', '\014', '\n', '\010', 'E', 'X', 'P', 'A', 'N', 'D', 'E', 'D', '\020', '\002', '\"', 'C', +'\n', '\016', 'U', 't', 'f', '8', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '\022', '\033', '\n', '\027', 'U', 'T', 'F', '8', '_', +'V', 'A', 'L', 'I', 'D', 'A', 'T', 'I', 'O', 'N', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\010', '\n', '\004', 'N', +'O', 'N', 'E', '\020', '\001', '\022', '\n', '\n', '\006', 'V', 'E', 'R', 'I', 'F', 'Y', '\020', '\002', '\"', 'S', '\n', '\017', 'M', 'e', 's', 's', +'a', 'g', 'e', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', '\022', '\034', '\n', '\030', 'M', 'E', 'S', 'S', 'A', 'G', 'E', '_', 'E', 'N', +'C', 'O', 'D', 'I', 'N', 'G', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\023', '\n', '\017', 'L', 'E', 'N', 'G', 'T', +'H', '_', 'P', 'R', 'E', 'F', 'I', 'X', 'E', 'D', '\020', '\001', '\022', '\r', '\n', '\t', 'D', 'E', 'L', 'I', 'M', 'I', 'T', 'E', 'D', +'\020', '\002', '\"', 'H', '\n', '\n', 'J', 's', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', '\022', '\027', '\n', '\023', 'J', 'S', 'O', 'N', '_', +'F', 'O', 'R', 'M', 'A', 'T', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\t', '\n', '\005', 'A', 'L', 'L', 'O', 'W', +'\020', '\001', '\022', '\026', '\n', '\022', 'L', 'E', 'G', 'A', 'C', 'Y', '_', 'B', 'E', 'S', 'T', '_', 'E', 'F', 'F', 'O', 'R', 'T', '\020', +'\002', '*', '\006', '\010', '\350', '\007', '\020', '\351', '\007', '*', '\006', '\010', '\351', '\007', '\020', '\352', '\007', '*', '\006', '\010', '\213', 'N', '\020', '\220', 'N', +'J', '\006', '\010', '\347', '\007', '\020', '\350', '\007', '\"', '\376', '\002', '\n', '\022', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'D', 'e', +'f', 'a', 'u', 'l', 't', 's', '\022', 'X', '\n', '\010', 'd', 'e', 'f', 'a', 'u', 'l', 't', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', +'<', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', +'S', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 's', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'E', 'd', 'i', +'t', 'i', 'o', 'n', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'R', '\010', 'd', 'e', 'f', 'a', 'u', 'l', 't', 's', '\022', 'A', '\n', '\017', +'m', 'i', 'n', 'i', 'm', 'u', 'm', '_', 'e', 'd', 'i', 't', 'i', 'o', 'n', '\030', '\004', ' ', '\001', '(', '\016', '2', '\030', '.', 'g', +'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'd', 'i', 't', 'i', 'o', 'n', 'R', '\016', 'm', +'i', 'n', 'i', 'm', 'u', 'm', 'E', 'd', 'i', 't', 'i', 'o', 'n', '\022', 'A', '\n', '\017', 'm', 'a', 'x', 'i', 'm', 'u', 'm', '_', +'e', 'd', 'i', 't', 'i', 'o', 'n', '\030', '\005', ' ', '\001', '(', '\016', '2', '\030', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'd', 'i', 't', 'i', 'o', 'n', 'R', '\016', 'm', 'a', 'x', 'i', 'm', 'u', 'm', 'E', 'd', +'i', 't', 'i', 'o', 'n', '\032', '\207', '\001', '\n', '\030', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'E', 'd', 'i', 't', 'i', +'o', 'n', 'D', 'e', 'f', 'a', 'u', 'l', 't', '\022', '2', '\n', '\007', 'e', 'd', 'i', 't', 'i', 'o', 'n', '\030', '\003', ' ', '\001', '(', +'\016', '2', '\030', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'd', 'i', 't', 'i', +'o', 'n', 'R', '\007', 'e', 'd', 'i', 't', 'i', 'o', 'n', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '\002', +' ', '\001', '(', '\013', '2', '\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', +'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\"', '\247', '\002', '\n', '\016', 'S', 'o', +'u', 'r', 'c', 'e', 'C', 'o', 'd', 'e', 'I', 'n', 'f', 'o', '\022', 'D', '\n', '\010', 'l', 'o', 'c', 'a', 't', 'i', 'o', 'n', '\030', +'\001', ' ', '\003', '(', '\013', '2', '(', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', +'o', 'u', 'r', 'c', 'e', 'C', 'o', 'd', 'e', 'I', 'n', 'f', 'o', '.', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 'R', '\010', 'l', +'o', 'c', 'a', 't', 'i', 'o', 'n', '\032', '\316', '\001', '\n', '\010', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\004', 'p', +'a', 't', 'h', '\030', '\001', ' ', '\003', '(', '\005', 'B', '\002', '\020', '\001', 'R', '\004', 'p', 'a', 't', 'h', '\022', '\026', '\n', '\004', 's', 'p', +'a', 'n', '\030', '\002', ' ', '\003', '(', '\005', 'B', '\002', '\020', '\001', 'R', '\004', 's', 'p', 'a', 'n', '\022', ')', '\n', '\020', 'l', 'e', 'a', +'d', 'i', 'n', 'g', '_', 'c', 'o', 'm', 'm', 'e', 'n', 't', 's', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\017', 'l', 'e', 'a', 'd', +'i', 'n', 'g', 'C', 'o', 'm', 'm', 'e', 'n', 't', 's', '\022', '+', '\n', '\021', 't', 'r', 'a', 'i', 'l', 'i', 'n', 'g', '_', 'c', +'o', 'm', 'm', 'e', 'n', 't', 's', '\030', '\004', ' ', '\001', '(', '\t', 'R', '\020', 't', 'r', 'a', 'i', 'l', 'i', 'n', 'g', 'C', 'o', +'m', 'm', 'e', 'n', 't', 's', '\022', ':', '\n', '\031', 'l', 'e', 'a', 'd', 'i', 'n', 'g', '_', 'd', 'e', 't', 'a', 'c', 'h', 'e', +'d', '_', 'c', 'o', 'm', 'm', 'e', 'n', 't', 's', '\030', '\006', ' ', '\003', '(', '\t', 'R', '\027', 'l', 'e', 'a', 'd', 'i', 'n', 'g', +'D', 'e', 't', 'a', 'c', 'h', 'e', 'd', 'C', 'o', 'm', 'm', 'e', 'n', 't', 's', '\"', '\320', '\002', '\n', '\021', 'G', 'e', 'n', 'e', +'r', 'a', 't', 'e', 'd', 'C', 'o', 'd', 'e', 'I', 'n', 'f', 'o', '\022', 'M', '\n', '\n', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', +'o', 'n', '\030', '\001', ' ', '\003', '(', '\013', '2', '-', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', +'f', '.', 'G', 'e', 'n', 'e', 'r', 'a', 't', 'e', 'd', 'C', 'o', 'd', 'e', 'I', 'n', 'f', 'o', '.', 'A', 'n', 'n', 'o', 't', +'a', 't', 'i', 'o', 'n', 'R', '\n', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\032', '\353', '\001', '\n', '\n', 'A', 'n', 'n', +'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\001', ' ', '\003', '(', '\005', 'B', '\002', '\020', '\001', +'R', '\004', 'p', 'a', 't', 'h', '\022', '\037', '\n', '\013', 's', 'o', 'u', 'r', 'c', 'e', '_', 'f', 'i', 'l', 'e', '\030', '\002', ' ', '\001', +'(', '\t', 'R', '\n', 's', 'o', 'u', 'r', 'c', 'e', 'F', 'i', 'l', 'e', '\022', '\024', '\n', '\005', 'b', 'e', 'g', 'i', 'n', '\030', '\003', +' ', '\001', '(', '\005', 'R', '\005', 'b', 'e', 'g', 'i', 'n', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\004', ' ', '\001', '(', '\005', 'R', +'\003', 'e', 'n', 'd', '\022', 'R', '\n', '\010', 's', 'e', 'm', 'a', 'n', 't', 'i', 'c', '\030', '\005', ' ', '\001', '(', '\016', '2', '6', '.', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'G', 'e', 'n', 'e', 'r', 'a', 't', 'e', 'd', +'C', 'o', 'd', 'e', 'I', 'n', 'f', 'o', '.', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '.', 'S', 'e', 'm', 'a', 'n', +'t', 'i', 'c', 'R', '\010', 's', 'e', 'm', 'a', 'n', 't', 'i', 'c', '\"', '(', '\n', '\010', 'S', 'e', 'm', 'a', 'n', 't', 'i', 'c', +'\022', '\010', '\n', '\004', 'N', 'O', 'N', 'E', '\020', '\000', '\022', '\007', '\n', '\003', 'S', 'E', 'T', '\020', '\001', '\022', '\t', '\n', '\005', 'A', 'L', +'I', 'A', 'S', '\020', '\002', '*', '\352', '\001', '\n', '\007', 'E', 'd', 'i', 't', 'i', 'o', 'n', '\022', '\023', '\n', '\017', 'E', 'D', 'I', 'T', +'I', 'O', 'N', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\023', '\n', '\016', 'E', 'D', 'I', 'T', 'I', 'O', 'N', '_', +'P', 'R', 'O', 'T', 'O', '2', '\020', '\346', '\007', '\022', '\023', '\n', '\016', 'E', 'D', 'I', 'T', 'I', 'O', 'N', '_', 'P', 'R', 'O', 'T', +'O', '3', '\020', '\347', '\007', '\022', '\021', '\n', '\014', 'E', 'D', 'I', 'T', 'I', 'O', 'N', '_', '2', '0', '2', '3', '\020', '\350', '\007', '\022', +'\027', '\n', '\023', 'E', 'D', 'I', 'T', 'I', 'O', 'N', '_', '1', '_', 'T', 'E', 'S', 'T', '_', 'O', 'N', 'L', 'Y', '\020', '\001', '\022', +'\027', '\n', '\023', 'E', 'D', 'I', 'T', 'I', 'O', 'N', '_', '2', '_', 'T', 'E', 'S', 'T', '_', 'O', 'N', 'L', 'Y', '\020', '\002', '\022', +'\035', '\n', '\027', 'E', 'D', 'I', 'T', 'I', 'O', 'N', '_', '9', '9', '9', '9', '7', '_', 'T', 'E', 'S', 'T', '_', 'O', 'N', 'L', +'Y', '\020', '\235', '\215', '\006', '\022', '\035', '\n', '\027', 'E', 'D', 'I', 'T', 'I', 'O', 'N', '_', '9', '9', '9', '9', '8', '_', 'T', 'E', +'S', 'T', '_', 'O', 'N', 'L', 'Y', '\020', '\236', '\215', '\006', '\022', '\035', '\n', '\027', 'E', 'D', 'I', 'T', 'I', 'O', 'N', '_', '9', '9', +'9', '9', '9', '_', 'T', 'E', 'S', 'T', '_', 'O', 'N', 'L', 'Y', '\020', '\237', '\215', '\006', 'B', '~', '\n', '\023', 'c', 'o', 'm', '.', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', 'B', '\020', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', +'o', 'r', 'P', 'r', 'o', 't', 'o', 's', 'H', '\001', 'Z', '-', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'g', 'o', 'l', 'a', 'n', 'g', +'.', 'o', 'r', 'g', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 't', 'y', 'p', 'e', 's', '/', 'd', 'e', 's', 'c', 'r', +'i', 'p', 't', 'o', 'r', 'p', 'b', '\370', '\001', '\001', '\242', '\002', '\003', 'G', 'P', 'B', '\252', '\002', '\032', 'G', 'o', 'o', 'g', 'l', 'e', +'.', 'P', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'R', 'e', 'f', 'l', 'e', 'c', 't', 'i', 'o', 'n', +}; + +static _upb_DefPool_Init *deps[1] = { + NULL +}; + +_upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit = { + deps, + &google_protobuf_descriptor_proto_upb_file_layout, + "google/protobuf/descriptor.proto", + UPB_STRINGVIEW_INIT(descriptor, 11620) +}; diff --git a/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h b/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h similarity index 92% rename from src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h rename to src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h index 8919a24e1c6..1969662c802 100644 --- a/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +++ b/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/descriptor.proto * @@ -10,7 +9,7 @@ #define GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { @@ -152,6 +151,16 @@ UPB_INLINE const upb_MessageDef *google_protobuf_FeatureSet_getmsgdef(upb_DefPoo return upb_DefPool_FindMessageByName(s, "google.protobuf.FeatureSet"); } +UPB_INLINE const upb_MessageDef *google_protobuf_FeatureSetDefaults_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "google.protobuf.FeatureSetDefaults"); +} + +UPB_INLINE const upb_MessageDef *google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"); +} + UPB_INLINE const upb_MessageDef *google_protobuf_SourceCodeInfo_getmsgdef(upb_DefPool *s) { _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit); return upb_DefPool_FindMessageByName(s, "google.protobuf.SourceCodeInfo"); diff --git a/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c b/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c similarity index 93% rename from src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c rename to src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c index c14903bb6ae..d32af46fa47 100644 --- a/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +++ b/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/duration.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "google/protobuf/duration.upbdefs.h" -#include "google/protobuf/duration.upb.h" +#include "google/protobuf/duration.upb_minitable.h" static const char descriptor[251] = {'\n', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\022', '\017', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '\"', diff --git a/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h b/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h rename to src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h index 365cdea98a1..f907868f7a8 100644 --- a/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +++ b/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/duration.proto * @@ -10,7 +9,7 @@ #define GOOGLE_PROTOBUF_DURATION_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c b/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c similarity index 92% rename from src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c rename to src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c index f61e5e0a018..7b783dacd6d 100644 --- a/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +++ b/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/empty.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "google/protobuf/empty.upbdefs.h" -#include "google/protobuf/empty.upb.h" +#include "google/protobuf/empty.upb_minitable.h" static const char descriptor[190] = {'\n', '\033', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'e', 'm', 'p', 't', 'y', '.', 'p', 'r', 'o', 't', 'o', '\022', '\017', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '\"', '\007', '\n', '\005', diff --git a/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h b/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h similarity index 86% rename from src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h rename to src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h index 388d85a6a2a..b80312214af 100644 --- a/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +++ b/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/empty.proto * @@ -10,7 +9,7 @@ #define GOOGLE_PROTOBUF_EMPTY_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c b/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c new file mode 100644 index 00000000000..1ec9baec952 --- /dev/null +++ b/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c @@ -0,0 +1,53 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/struct.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "google/protobuf/struct.upbdefs.h" +#include "google/protobuf/struct.upb_minitable.h" + +static const char descriptor[738] = {'\n', '\034', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 's', 't', 'r', 'u', 'c', 't', '.', +'p', 'r', 'o', 't', 'o', '\022', '\017', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '\"', '\230', '\001', +'\n', '\006', 'S', 't', 'r', 'u', 'c', 't', '\022', ';', '\n', '\006', 'f', 'i', 'e', 'l', 'd', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', +'#', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', '.', +'F', 'i', 'e', 'l', 'd', 's', 'E', 'n', 't', 'r', 'y', 'R', '\006', 'f', 'i', 'e', 'l', 'd', 's', '\032', 'Q', '\n', '\013', 'F', 'i', +'e', 'l', 'd', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', +'e', 'y', '\022', ',', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\026', '.', 'g', 'o', 'o', 'g', 'l', +'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'V', 'a', 'l', 'u', 'e', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', +'8', '\001', '\"', '\262', '\002', '\n', '\005', 'V', 'a', 'l', 'u', 'e', '\022', ';', '\n', '\n', 'n', 'u', 'l', 'l', '_', 'v', 'a', 'l', 'u', +'e', '\030', '\001', ' ', '\001', '(', '\016', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', +'.', 'N', 'u', 'l', 'l', 'V', 'a', 'l', 'u', 'e', 'H', '\000', 'R', '\t', 'n', 'u', 'l', 'l', 'V', 'a', 'l', 'u', 'e', '\022', '#', +'\n', '\014', 'n', 'u', 'm', 'b', 'e', 'r', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\001', 'H', '\000', 'R', '\013', 'n', +'u', 'm', 'b', 'e', 'r', 'V', 'a', 'l', 'u', 'e', '\022', '#', '\n', '\014', 's', 't', 'r', 'i', 'n', 'g', '_', 'v', 'a', 'l', 'u', +'e', '\030', '\003', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\013', 's', 't', 'r', 'i', 'n', 'g', 'V', 'a', 'l', 'u', 'e', '\022', '\037', '\n', +'\n', 'b', 'o', 'o', 'l', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\004', ' ', '\001', '(', '\010', 'H', '\000', 'R', '\t', 'b', 'o', 'o', 'l', +'V', 'a', 'l', 'u', 'e', '\022', '<', '\n', '\014', 's', 't', 'r', 'u', 'c', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\005', ' ', '\001', +'(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', +'c', 't', 'H', '\000', 'R', '\013', 's', 't', 'r', 'u', 'c', 't', 'V', 'a', 'l', 'u', 'e', '\022', ';', '\n', '\n', 'l', 'i', 's', 't', +'_', 'v', 'a', 'l', 'u', 'e', '\030', '\006', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'L', 'i', 's', 't', 'V', 'a', 'l', 'u', 'e', 'H', '\000', 'R', '\t', 'l', 'i', 's', 't', 'V', 'a', +'l', 'u', 'e', 'B', '\006', '\n', '\004', 'k', 'i', 'n', 'd', '\"', ';', '\n', '\t', 'L', 'i', 's', 't', 'V', 'a', 'l', 'u', 'e', '\022', +'.', '\n', '\006', 'v', 'a', 'l', 'u', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\026', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', +'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'V', 'a', 'l', 'u', 'e', 'R', '\006', 'v', 'a', 'l', 'u', 'e', 's', '*', '\033', '\n', +'\t', 'N', 'u', 'l', 'l', 'V', 'a', 'l', 'u', 'e', '\022', '\016', '\n', '\n', 'N', 'U', 'L', 'L', '_', 'V', 'A', 'L', 'U', 'E', '\020', +'\000', 'B', '\177', '\n', '\023', 'c', 'o', 'm', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', 'B', +'\013', 'S', 't', 'r', 'u', 'c', 't', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '/', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'g', 'o', +'l', 'a', 'n', 'g', '.', 'o', 'r', 'g', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 't', 'y', 'p', 'e', 's', '/', 'k', +'n', 'o', 'w', 'n', '/', 's', 't', 'r', 'u', 'c', 't', 'p', 'b', '\370', '\001', '\001', '\242', '\002', '\003', 'G', 'P', 'B', '\252', '\002', '\036', +'G', 'o', 'o', 'g', 'l', 'e', '.', 'P', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'W', 'e', 'l', 'l', 'K', 'n', 'o', 'w', 'n', +'T', 'y', 'p', 'e', 's', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[1] = { + NULL +}; + +_upb_DefPool_Init google_protobuf_struct_proto_upbdefinit = { + deps, + &google_protobuf_struct_proto_upb_file_layout, + "google/protobuf/struct.proto", + UPB_STRINGVIEW_INIT(descriptor, 738) +}; diff --git a/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h b/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h new file mode 100644 index 00000000000..62a91df6c98 --- /dev/null +++ b/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h @@ -0,0 +1,50 @@ +/* This file was generated by upb_generator from the input file: + * + * google/protobuf/struct.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_PROTOBUF_STRUCT_PROTO_UPBDEFS_H_ +#define GOOGLE_PROTOBUF_STRUCT_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *google_protobuf_Struct_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "google.protobuf.Struct"); +} + +UPB_INLINE const upb_MessageDef *google_protobuf_Struct_FieldsEntry_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "google.protobuf.Struct.FieldsEntry"); +} + +UPB_INLINE const upb_MessageDef *google_protobuf_Value_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "google.protobuf.Value"); +} + +UPB_INLINE const upb_MessageDef *google_protobuf_ListValue_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "google.protobuf.ListValue"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_PROTOBUF_STRUCT_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c b/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c similarity index 94% rename from src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c rename to src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c index 8104f835535..11010f4408a 100644 --- a/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +++ b/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/timestamp.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "google/protobuf/timestamp.upbdefs.h" -#include "google/protobuf/timestamp.upb.h" +#include "google/protobuf/timestamp.upb_minitable.h" static const char descriptor[255] = {'\n', '\037', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 't', 'i', 'm', 'e', 's', 't', 'a', 'm', 'p', '.', 'p', 'r', 'o', 't', 'o', '\022', '\017', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', diff --git a/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h b/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h rename to src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h index c27e7e3227d..25b3a4fbcb8 100644 --- a/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +++ b/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/timestamp.proto * @@ -10,7 +9,7 @@ #define GOOGLE_PROTOBUF_TIMESTAMP_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c b/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c rename to src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c index fa1758c6916..68283c39b50 100644 --- a/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +++ b/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/wrappers.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "google/protobuf/wrappers.upbdefs.h" -#include "google/protobuf/wrappers.upb.h" +#include "google/protobuf/wrappers.upb_minitable.h" static const char descriptor[518] = {'\n', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\017', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '\"', diff --git a/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h b/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h similarity index 95% rename from src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h rename to src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h index d57bead9476..0a5052fc757 100644 --- a/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +++ b/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * google/protobuf/wrappers.proto * @@ -10,7 +9,7 @@ #define GOOGLE_PROTOBUF_WRAPPERS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c b/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c new file mode 100644 index 00000000000..8961336b75f --- /dev/null +++ b/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c @@ -0,0 +1,36 @@ +/* This file was generated by upb_generator from the input file: + * + * google/rpc/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "google/rpc/status.upbdefs.h" +#include "google/rpc/status.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; +static const char descriptor[275] = {'\n', '\027', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'r', 'p', 'c', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', +'\022', '\n', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'r', 'p', 'c', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', +'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\"', 'f', '\n', '\006', 'S', 't', 'a', 't', 'u', 's', '\022', +'\022', '\n', '\004', 'c', 'o', 'd', 'e', '\030', '\001', ' ', '\001', '(', '\005', 'R', '\004', 'c', 'o', 'd', 'e', '\022', '\030', '\n', '\007', 'm', 'e', +'s', 's', 'a', 'g', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\007', 'm', 'e', 's', 's', 'a', 'g', 'e', '\022', '.', '\n', '\007', 'd', +'e', 't', 'a', 'i', 'l', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\007', 'd', 'e', 't', 'a', 'i', 'l', 's', 'B', 'a', '\n', '\016', 'c', 'o', 'm', +'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'r', 'p', 'c', 'B', '\013', 'S', 't', 'a', 't', 'u', 's', 'P', 'r', 'o', 't', 'o', 'P', +'\001', 'Z', '7', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'g', 'o', 'l', 'a', 'n', 'g', '.', 'o', 'r', 'g', '/', 'g', 'e', 'n', 'p', +'r', 'o', 't', 'o', '/', 'g', 'o', 'o', 'g', 'l', 'e', 'a', 'p', 'i', 's', '/', 'r', 'p', 'c', '/', 's', 't', 'a', 't', 'u', +'s', ';', 's', 't', 'a', 't', 'u', 's', '\370', '\001', '\001', '\242', '\002', '\003', 'R', 'P', 'C', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[2] = { + &google_protobuf_any_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init google_rpc_status_proto_upbdefinit = { + deps, + &google_rpc_status_proto_upb_file_layout, + "google/rpc/status.proto", + UPB_STRINGVIEW_INIT(descriptor, 275) +}; diff --git a/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h b/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h new file mode 100644 index 00000000000..21f154d6c59 --- /dev/null +++ b/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * google/rpc/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef GOOGLE_RPC_STATUS_PROTO_UPBDEFS_H_ +#define GOOGLE_RPC_STATUS_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init google_rpc_status_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *google_rpc_Status_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &google_rpc_status_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "google.rpc.Status"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* GOOGLE_RPC_STATUS_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c b/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c rename to src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c index c71dfd975c6..569fd34f2b4 100644 --- a/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +++ b/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * opencensus/proto/trace/v1/trace_config.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "opencensus/proto/trace/v1/trace_config.upbdefs.h" -#include "opencensus/proto/trace/v1/trace_config.upb.h" +#include "opencensus/proto/trace/v1/trace_config.upb_minitable.h" static const char descriptor[1065] = {'\n', ',', 'o', 'p', 'e', 'n', 'c', 'e', 'n', 's', 'u', 's', '/', 'p', 'r', 'o', 't', 'o', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '1', '/', 't', 'r', 'a', 'c', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'p', 'r', 'o', 't', 'o', '\022', '\031', 'o', 'p', diff --git a/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h b/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h similarity index 93% rename from src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h rename to src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h index 1f4a6e02c45..40a0fc2823e 100644 --- a/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +++ b/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * opencensus/proto/trace/v1/trace_config.proto * @@ -10,7 +9,7 @@ #define OPENCENSUS_PROTO_TRACE_V1_TRACE_CONFIG_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c b/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c similarity index 98% rename from src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c rename to src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c index 774222114db..2579622d56c 100644 --- a/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +++ b/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * src/proto/grpc/lookup/v1/rls_config.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "src/proto/grpc/lookup/v1/rls_config.upbdefs.h" -#include "src/proto/grpc/lookup/v1/rls_config.upb.h" +#include "src/proto/grpc/lookup/v1/rls_config.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; static const char descriptor[1816] = {'\n', ')', 's', 'r', 'c', '/', 'p', 'r', 'o', 't', 'o', '/', 'g', 'r', 'p', 'c', '/', 'l', 'o', 'o', 'k', 'u', 'p', '/', 'v', diff --git a/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h b/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h similarity index 96% rename from src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h rename to src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h index 5de7ea16086..626c738b315 100644 --- a/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +++ b/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * src/proto/grpc/lookup/v1/rls_config.proto * @@ -10,7 +9,7 @@ #define SRC_PROTO_GRPC_LOOKUP_V1_RLS_CONFIG_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c b/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c new file mode 100644 index 00000000000..d0589404fbe --- /dev/null +++ b/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c @@ -0,0 +1,61 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/migrate.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "udpa/annotations/migrate.upbdefs.h" +#include "udpa/annotations/migrate.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; +static const char descriptor[893] = {'\n', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', +'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\020', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', +'\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', 'r', 'i', 'p', +'t', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '+', '\n', '\021', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', +'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\006', 'r', 'e', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\006', 'r', 'e', +'n', 'a', 'm', 'e', '\"', 'Y', '\n', '\026', 'F', 'i', 'e', 'l', 'd', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', +'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\006', 'r', 'e', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\006', 'r', 'e', +'n', 'a', 'm', 'e', '\022', '\'', '\n', '\017', 'o', 'n', 'e', 'o', 'f', '_', 'p', 'r', 'o', 'm', 'o', 't', 'i', 'o', 'n', '\030', '\002', +' ', '\001', '(', '\t', 'R', '\016', 'o', 'n', 'e', 'o', 'f', 'P', 'r', 'o', 'm', 'o', 't', 'i', 'o', 'n', '\"', '?', '\n', '\025', 'F', +'i', 'l', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '&', '\n', '\017', 'm', +'o', 'v', 'e', '_', 't', 'o', '_', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\r', 'm', 'o', 'v', +'e', 'T', 'o', 'P', 'a', 'c', 'k', 'a', 'g', 'e', ':', 'p', '\n', '\017', 'm', 'e', 's', 's', 'a', 'g', 'e', '_', 'm', 'i', 'g', +'r', 'a', 't', 'e', '\022', '\037', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'M', 'e', +'s', 's', 'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\216', '\343', '\377', 'Q', ' ', '\001', '(', '\013', '2', '#', '.', 'u', +'d', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', +'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\016', 'm', 'e', 's', 's', 'a', 'g', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', ':', +'o', '\n', '\r', 'f', 'i', 'e', 'l', 'd', '_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', +'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\216', '\343', +'\377', 'Q', ' ', '\001', '(', '\013', '2', '(', '.', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', +'.', 'F', 'i', 'e', 'l', 'd', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\014', +'f', 'i', 'e', 'l', 'd', 'M', 'i', 'g', 'r', 'a', 't', 'e', ':', 'g', '\n', '\014', 'e', 'n', 'u', 'm', '_', 'm', 'i', 'g', 'r', +'a', 't', 'e', '\022', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', +'m', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\216', '\343', '\377', 'Q', ' ', '\001', '(', '\013', '2', '#', '.', 'u', 'd', 'p', 'a', '.', +'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', +'t', 'i', 'o', 'n', 'R', '\013', 'e', 'n', 'u', 'm', 'M', 'i', 'g', 'r', 'a', 't', 'e', ':', 'w', '\n', '\022', 'e', 'n', 'u', 'm', +'_', 'v', 'a', 'l', 'u', 'e', '_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', '!', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', 'm', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', +'\216', '\343', '\377', 'Q', ' ', '\001', '(', '\013', '2', '#', '.', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', +'n', 's', '.', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\020', 'e', 'n', 'u', +'m', 'V', 'a', 'l', 'u', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', ':', 'k', '\n', '\014', 'f', 'i', 'l', 'e', '_', 'm', 'i', 'g', +'r', 'a', 't', 'e', '\022', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', +'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\216', '\343', '\377', 'Q', ' ', '\001', '(', '\013', '2', '\'', '.', 'u', 'd', 'p', 'a', +'.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'F', 'i', 'l', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', +'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\013', 'f', 'i', 'l', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'B', '$', 'Z', +'\"', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'a', +'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[2] = { + &google_protobuf_descriptor_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit = { + deps, + &udpa_annotations_migrate_proto_upb_file_layout, + "udpa/annotations/migrate.proto", + UPB_STRINGVIEW_INIT(descriptor, 893) +}; diff --git a/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h b/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h new file mode 100644 index 00000000000..a621a2f8273 --- /dev/null +++ b/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h @@ -0,0 +1,45 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/migrate.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_MIGRATE_PROTO_UPBDEFS_H_ +#define UDPA_ANNOTATIONS_MIGRATE_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *udpa_annotations_MigrateAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &udpa_annotations_migrate_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "udpa.annotations.MigrateAnnotation"); +} + +UPB_INLINE const upb_MessageDef *udpa_annotations_FieldMigrateAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &udpa_annotations_migrate_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "udpa.annotations.FieldMigrateAnnotation"); +} + +UPB_INLINE const upb_MessageDef *udpa_annotations_FileMigrateAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &udpa_annotations_migrate_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "udpa.annotations.FileMigrateAnnotation"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_MIGRATE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c b/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c new file mode 100644 index 00000000000..b41a62130a9 --- /dev/null +++ b/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c @@ -0,0 +1,46 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/security.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "udpa/annotations/security.upbdefs.h" +#include "udpa/annotations/security.upb_minitable.h" + +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; +static const char descriptor[453] = {'\n', '\037', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 'e', 'c', 'u', 'r', 'i', +'t', 'y', '.', 'p', 'r', 'o', 't', 'o', '\022', '\020', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', +'s', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', +'s', '.', 'p', 'r', 'o', 't', 'o', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', +'d', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '\257', '\001', '\n', '\027', 'F', 'i', 'e', 'l', +'d', 'S', 'e', 'c', 'u', 'r', 'i', 't', 'y', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', 'K', '\n', '\"', 'c', 'o', +'n', 'f', 'i', 'g', 'u', 'r', 'e', '_', 'f', 'o', 'r', '_', 'u', 'n', 't', 'r', 'u', 's', 't', 'e', 'd', '_', 'd', 'o', 'w', +'n', 's', 't', 'r', 'e', 'a', 'm', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\037', 'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'e', 'F', +'o', 'r', 'U', 'n', 't', 'r', 'u', 's', 't', 'e', 'd', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '\022', 'G', '\n', ' ', +'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'e', '_', 'f', 'o', 'r', '_', 'u', 'n', 't', 'r', 'u', 's', 't', 'e', 'd', '_', 'u', +'p', 's', 't', 'r', 'e', 'a', 'm', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\035', 'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'e', 'F', +'o', 'r', 'U', 'n', 't', 'r', 'u', 's', 't', 'e', 'd', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', ':', 'g', '\n', '\010', 's', 'e', +'c', 'u', 'r', 'i', 't', 'y', '\022', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', +'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\261', '\362', '\246', '\005', ' ', '\001', '(', '\013', '2', ')', '.', 'u', +'d', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'F', 'i', 'e', 'l', 'd', 'S', 'e', 'c', 'u', +'r', 'i', 't', 'y', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\010', 's', 'e', 'c', 'u', 'r', 'i', 't', 'y', 'B', +',', 'Z', '\"', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', +'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '\272', '\200', '\310', '\321', '\006', '\002', '\010', '\001', 'b', '\006', 'p', 'r', 'o', +'t', 'o', '3', +}; + +static _upb_DefPool_Init *deps[3] = { + &udpa_annotations_status_proto_upbdefinit, + &google_protobuf_descriptor_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init udpa_annotations_security_proto_upbdefinit = { + deps, + &udpa_annotations_security_proto_upb_file_layout, + "udpa/annotations/security.proto", + UPB_STRINGVIEW_INIT(descriptor, 453) +}; diff --git a/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h b/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h new file mode 100644 index 00000000000..65e48272aae --- /dev/null +++ b/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/security.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_SECURITY_PROTO_UPBDEFS_H_ +#define UDPA_ANNOTATIONS_SECURITY_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init udpa_annotations_security_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *udpa_annotations_FieldSecurityAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &udpa_annotations_security_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "udpa.annotations.FieldSecurityAnnotation"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_SECURITY_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c b/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c new file mode 100644 index 00000000000..0f7412d47db --- /dev/null +++ b/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c @@ -0,0 +1,33 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/sensitive.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "udpa/annotations/sensitive.upbdefs.h" +#include "udpa/annotations/sensitive.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; +static const char descriptor[196] = {'\n', ' ', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 'e', 'n', 's', 'i', 't', +'i', 'v', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\020', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', +'n', 's', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', 'r', +'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', ':', '>', '\n', '\t', 's', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', '\022', +'\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', +'t', 'i', 'o', 'n', 's', '\030', '\367', '\266', '\301', '$', ' ', '\001', '(', '\010', 'R', '\t', 's', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', +'B', '$', 'Z', '\"', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', +'o', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[2] = { + &google_protobuf_descriptor_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init udpa_annotations_sensitive_proto_upbdefinit = { + deps, + &udpa_annotations_sensitive_proto_upb_file_layout, + "udpa/annotations/sensitive.proto", + UPB_STRINGVIEW_INIT(descriptor, 196) +}; diff --git a/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h b/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h new file mode 100644 index 00000000000..85783dfb63b --- /dev/null +++ b/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/sensitive.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPBDEFS_H_ +#define UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init udpa_annotations_sensitive_proto_upbdefinit; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c b/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c new file mode 100644 index 00000000000..056281057cc --- /dev/null +++ b/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c @@ -0,0 +1,45 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "udpa/annotations/status.upbdefs.h" +#include "udpa/annotations/status.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; +static const char descriptor[483] = {'\n', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', +'.', 'p', 'r', 'o', 't', 'o', '\022', '\020', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '\032', +' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', +'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '\232', '\001', '\n', '\020', 'S', 't', 'a', 't', 'u', 's', 'A', 'n', 'n', 'o', 't', 'a', +'t', 'i', 'o', 'n', '\022', '(', '\n', '\020', 'w', 'o', 'r', 'k', '_', 'i', 'n', '_', 'p', 'r', 'o', 'g', 'r', 'e', 's', 's', '\030', +'\001', ' ', '\001', '(', '\010', 'R', '\016', 'w', 'o', 'r', 'k', 'I', 'n', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', '\022', '\\', '\n', '\026', +'p', 'a', 'c', 'k', 'a', 'g', 'e', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '_', 's', 't', 'a', 't', 'u', 's', '\030', '\002', ' ', +'\001', '(', '\016', '2', '&', '.', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'P', 'a', +'c', 'k', 'a', 'g', 'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'u', 's', 'R', '\024', 'p', 'a', 'c', 'k', 'a', +'g', 'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'u', 's', '*', ']', '\n', '\024', 'P', 'a', 'c', 'k', 'a', 'g', +'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'u', 's', '\022', '\013', '\n', '\007', 'U', 'N', 'K', 'N', 'O', 'W', 'N', +'\020', '\000', '\022', '\n', '\n', '\006', 'F', 'R', 'O', 'Z', 'E', 'N', '\020', '\001', '\022', '\n', '\n', '\006', 'A', 'C', 'T', 'I', 'V', 'E', '\020', +'\002', '\022', ' ', '\n', '\034', 'N', 'E', 'X', 'T', '_', 'M', 'A', 'J', 'O', 'R', '_', 'V', 'E', 'R', 'S', 'I', 'O', 'N', '_', 'C', +'A', 'N', 'D', 'I', 'D', 'A', 'T', 'E', '\020', '\003', ':', 'd', '\n', '\013', 'f', 'i', 'l', 'e', '_', 's', 't', 'a', 't', 'u', 's', +'\022', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'l', 'e', 'O', 'p', +'t', 'i', 'o', 'n', 's', '\030', '\207', '\200', '\231', 'j', ' ', '\001', '(', '\013', '2', '\"', '.', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', +'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'S', 't', 'a', 't', 'u', 's', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', +'R', '\n', 'f', 'i', 'l', 'e', 'S', 't', 'a', 't', 'u', 's', 'B', '$', 'Z', '\"', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', +'m', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', +'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[2] = { + &google_protobuf_descriptor_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init udpa_annotations_status_proto_upbdefinit = { + deps, + &udpa_annotations_status_proto_upb_file_layout, + "udpa/annotations/status.proto", + UPB_STRINGVIEW_INIT(descriptor, 483) +}; diff --git a/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h b/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h new file mode 100644 index 00000000000..a7dc02f1cca --- /dev/null +++ b/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_STATUS_PROTO_UPBDEFS_H_ +#define UDPA_ANNOTATIONS_STATUS_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *udpa_annotations_StatusAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &udpa_annotations_status_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "udpa.annotations.StatusAnnotation"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_STATUS_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c b/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c new file mode 100644 index 00000000000..64f08b05dfd --- /dev/null +++ b/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c @@ -0,0 +1,38 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/versioning.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "udpa/annotations/versioning.upbdefs.h" +#include "udpa/annotations/versioning.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; +static const char descriptor[317] = {'\n', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', +'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\022', '\020', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', +'o', 'n', 's', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', +'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', 'J', '\n', '\024', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', +'g', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '2', '\n', '\025', 'p', 'r', 'e', 'v', 'i', 'o', 'u', 's', '_', 'm', +'e', 's', 's', 'a', 'g', 'e', '_', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\023', 'p', 'r', 'e', 'v', 'i', 'o', +'u', 's', 'M', 'e', 's', 's', 'a', 'g', 'e', 'T', 'y', 'p', 'e', ':', 'j', '\n', '\n', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', +'n', 'g', '\022', '\037', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'M', 'e', 's', 's', +'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\323', '\210', '\341', '\003', ' ', '\001', '(', '\013', '2', '&', '.', 'u', 'd', 'p', +'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', 'A', +'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\n', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', 'B', '$', 'Z', '\"', +'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'a', 'n', +'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[2] = { + &google_protobuf_descriptor_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit = { + deps, + &udpa_annotations_versioning_proto_upb_file_layout, + "udpa/annotations/versioning.proto", + UPB_STRINGVIEW_INIT(descriptor, 317) +}; diff --git a/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h b/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h new file mode 100644 index 00000000000..ca735349f47 --- /dev/null +++ b/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * udpa/annotations/versioning.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef UDPA_ANNOTATIONS_VERSIONING_PROTO_UPBDEFS_H_ +#define UDPA_ANNOTATIONS_VERSIONING_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *udpa_annotations_VersioningAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &udpa_annotations_versioning_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "udpa.annotations.VersioningAnnotation"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* UDPA_ANNOTATIONS_VERSIONING_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c b/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c similarity index 99% rename from src/core/ext/upbdefs-generated/validate/validate.upbdefs.c rename to src/core/ext/upbdefs-gen/validate/validate.upbdefs.c index d6212485af8..cd7577f0e2a 100644 --- a/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +++ b/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * validate/validate.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "validate/validate.upbdefs.h" -#include "validate/validate.upb.h" +#include "validate/validate.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h b/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h similarity index 97% rename from src/core/ext/upbdefs-generated/validate/validate.upbdefs.h rename to src/core/ext/upbdefs-gen/validate/validate.upbdefs.h index 7ff2808c98f..351f6f77c59 100644 --- a/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +++ b/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * validate/validate.proto * @@ -10,7 +9,7 @@ #define VALIDATE_VALIDATE_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c b/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c new file mode 100644 index 00000000000..ad9ebb954c3 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c @@ -0,0 +1,62 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/migrate.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/annotations/v3/migrate.upbdefs.h" +#include "xds/annotations/v3/migrate.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; +static const char descriptor[914] = {'\n', ' ', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 'm', 'i', 'g', 'r', +'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\022', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', +'s', '.', 'v', '3', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', +'c', 'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '+', '\n', '\021', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', +'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\006', 'r', 'e', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', +'R', '\006', 'r', 'e', 'n', 'a', 'm', 'e', '\"', 'Y', '\n', '\026', 'F', 'i', 'e', 'l', 'd', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', +'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\006', 'r', 'e', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', +'R', '\006', 'r', 'e', 'n', 'a', 'm', 'e', '\022', '\'', '\n', '\017', 'o', 'n', 'e', 'o', 'f', '_', 'p', 'r', 'o', 'm', 'o', 't', 'i', +'o', 'n', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\016', 'o', 'n', 'e', 'o', 'f', 'P', 'r', 'o', 'm', 'o', 't', 'i', 'o', 'n', '\"', +'?', '\n', '\025', 'F', 'i', 'l', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', +'&', '\n', '\017', 'm', 'o', 'v', 'e', '_', 't', 'o', '_', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', +'\r', 'm', 'o', 'v', 'e', 'T', 'o', 'P', 'a', 'c', 'k', 'a', 'g', 'e', ':', 'r', '\n', '\017', 'm', 'e', 's', 's', 'a', 'g', 'e', +'_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', '\037', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', +'f', '.', 'M', 'e', 's', 's', 'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\316', '\351', '\355', '5', ' ', '\001', '(', '\013', +'2', '%', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'M', 'i', 'g', +'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\016', 'm', 'e', 's', 's', 'a', 'g', 'e', 'M', 'i', +'g', 'r', 'a', 't', 'e', ':', 'q', '\n', '\r', 'f', 'i', 'e', 'l', 'd', '_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', '\035', '.', +'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', +'o', 'n', 's', '\030', '\316', '\351', '\355', '5', ' ', '\001', '(', '\013', '2', '*', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', +'t', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'F', 'i', 'e', 'l', 'd', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', +'t', 'a', 't', 'i', 'o', 'n', 'R', '\014', 'f', 'i', 'e', 'l', 'd', 'M', 'i', 'g', 'r', 'a', 't', 'e', ':', 'i', '\n', '\014', 'e', +'n', 'u', 'm', '_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', +'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', 'm', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\316', '\351', '\355', '5', ' ', '\001', '(', '\013', +'2', '%', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'M', 'i', 'g', +'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\013', 'e', 'n', 'u', 'm', 'M', 'i', 'g', 'r', 'a', +'t', 'e', ':', 'y', '\n', '\022', 'e', 'n', 'u', 'm', '_', 'v', 'a', 'l', 'u', 'e', '_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', +'!', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', 'm', 'V', 'a', 'l', +'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\316', '\351', '\355', '5', ' ', '\001', '(', '\013', '2', '%', '.', 'x', 'd', 's', '.', +'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', +'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\020', 'e', 'n', 'u', 'm', 'V', 'a', 'l', 'u', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', +':', 'm', '\n', '\014', 'f', 'i', 'l', 'e', '_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', +'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\316', '\351', '\355', +'5', ' ', '\001', '(', '\013', '2', ')', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', +'3', '.', 'F', 'i', 'l', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\013', +'f', 'i', 'l', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'B', '+', 'Z', ')', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', +'/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', +'o', 'n', 's', '/', 'v', '3', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[2] = { + &google_protobuf_descriptor_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_annotations_v3_migrate_proto_upbdefinit = { + deps, + &xds_annotations_v3_migrate_proto_upb_file_layout, + "xds/annotations/v3/migrate.proto", + UPB_STRINGVIEW_INIT(descriptor, 914) +}; diff --git a/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h b/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h new file mode 100644 index 00000000000..d9d4803006e --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h @@ -0,0 +1,45 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/migrate.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPBDEFS_H_ +#define XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_annotations_v3_migrate_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_annotations_v3_MigrateAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_migrate_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.MigrateAnnotation"); +} + +UPB_INLINE const upb_MessageDef *xds_annotations_v3_FieldMigrateAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_migrate_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.FieldMigrateAnnotation"); +} + +UPB_INLINE const upb_MessageDef *xds_annotations_v3_FileMigrateAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_migrate_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.FileMigrateAnnotation"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c b/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c new file mode 100644 index 00000000000..b1ab8e792cd --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c @@ -0,0 +1,46 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/security.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/annotations/v3/security.upbdefs.h" +#include "xds/annotations/v3/security.upb_minitable.h" + +extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; +static const char descriptor[468] = {'\n', '!', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 'e', 'c', 'u', +'r', 'i', 't', 'y', '.', 'p', 'r', 'o', 't', 'o', '\022', '\022', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', +'n', 's', '.', 'v', '3', '\032', '\037', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', +'/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '\257', '\001', +'\n', '\027', 'F', 'i', 'e', 'l', 'd', 'S', 'e', 'c', 'u', 'r', 'i', 't', 'y', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', +'\022', 'K', '\n', '\"', 'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'e', '_', 'f', 'o', 'r', '_', 'u', 'n', 't', 'r', 'u', 's', 't', +'e', 'd', '_', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\037', 'c', 'o', 'n', 'f', +'i', 'g', 'u', 'r', 'e', 'F', 'o', 'r', 'U', 'n', 't', 'r', 'u', 's', 't', 'e', 'd', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', +'a', 'm', '\022', 'G', '\n', ' ', 'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'e', '_', 'f', 'o', 'r', '_', 'u', 'n', 't', 'r', 'u', +'s', 't', 'e', 'd', '_', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\035', 'c', 'o', 'n', 'f', +'i', 'g', 'u', 'r', 'e', 'F', 'o', 'r', 'U', 'n', 't', 'r', 'u', 's', 't', 'e', 'd', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', +':', 'i', '\n', '\010', 's', 'e', 'c', 'u', 'r', 'i', 't', 'y', '\022', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\247', '\226', '\235', '/', ' ', '\001', +'(', '\013', '2', '+', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'F', +'i', 'e', 'l', 'd', 'S', 'e', 'c', 'u', 'r', 'i', 't', 'y', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\010', 's', +'e', 'c', 'u', 'r', 'i', 't', 'y', 'B', '3', 'Z', ')', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', +'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', +'v', '3', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[3] = { + &xds_annotations_v3_status_proto_upbdefinit, + &google_protobuf_descriptor_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_annotations_v3_security_proto_upbdefinit = { + deps, + &xds_annotations_v3_security_proto_upb_file_layout, + "xds/annotations/v3/security.proto", + UPB_STRINGVIEW_INIT(descriptor, 468) +}; diff --git a/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h b/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h new file mode 100644 index 00000000000..ab0fc83d466 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/security.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPBDEFS_H_ +#define XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_annotations_v3_security_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_annotations_v3_FieldSecurityAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_security_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.FieldSecurityAnnotation"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c b/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c new file mode 100644 index 00000000000..d3286b2b6e2 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c @@ -0,0 +1,34 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/sensitive.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/annotations/v3/sensitive.upbdefs.h" +#include "xds/annotations/v3/sensitive.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; +static const char descriptor[207] = {'\n', '\"', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 'e', 'n', 's', +'i', 't', 'i', 'v', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\022', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', +'o', 'n', 's', '.', 'v', '3', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', +'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', ':', '>', '\n', '\t', 's', 'e', 'n', 's', 'i', 't', +'i', 'v', 'e', '\022', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', +'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\265', '\321', '\213', '\035', ' ', '\001', '(', '\010', 'R', '\t', 's', 'e', 'n', 's', 'i', +'t', 'i', 'v', 'e', 'B', '+', 'Z', ')', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', +'d', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', 'b', +'\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[2] = { + &google_protobuf_descriptor_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_annotations_v3_sensitive_proto_upbdefinit = { + deps, + &xds_annotations_v3_sensitive_proto_upb_file_layout, + "xds/annotations/v3/sensitive.proto", + UPB_STRINGVIEW_INIT(descriptor, 207) +}; diff --git a/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h b/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h new file mode 100644 index 00000000000..a7b2e50ed87 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h @@ -0,0 +1,30 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/sensitive.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPBDEFS_H_ +#define XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_annotations_v3_sensitive_proto_upbdefinit; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c b/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c new file mode 100644 index 00000000000..e008b6c16d3 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c @@ -0,0 +1,63 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/annotations/v3/status.upbdefs.h" +#include "xds/annotations/v3/status.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; +static const char descriptor[936] = {'\n', '\037', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', +'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\022', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', +'.', 'v', '3', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', +'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '@', '\n', '\024', 'F', 'i', 'l', 'e', 'S', 't', 'a', 't', 'u', +'s', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '(', '\n', '\020', 'w', 'o', 'r', 'k', '_', 'i', 'n', '_', 'p', 'r', +'o', 'g', 'r', 'e', 's', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\016', 'w', 'o', 'r', 'k', 'I', 'n', 'P', 'r', 'o', 'g', 'r', +'e', 's', 's', '\"', 'C', '\n', '\027', 'M', 'e', 's', 's', 'a', 'g', 'e', 'S', 't', 'a', 't', 'u', 's', 'A', 'n', 'n', 'o', 't', +'a', 't', 'i', 'o', 'n', '\022', '(', '\n', '\020', 'w', 'o', 'r', 'k', '_', 'i', 'n', '_', 'p', 'r', 'o', 'g', 'r', 'e', 's', 's', +'\030', '\001', ' ', '\001', '(', '\010', 'R', '\016', 'w', 'o', 'r', 'k', 'I', 'n', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', '\"', 'A', '\n', +'\025', 'F', 'i', 'e', 'l', 'd', 'S', 't', 'a', 't', 'u', 's', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '(', '\n', +'\020', 'w', 'o', 'r', 'k', '_', 'i', 'n', '_', 'p', 'r', 'o', 'g', 'r', 'e', 's', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\016', +'w', 'o', 'r', 'k', 'I', 'n', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', '\"', '\234', '\001', '\n', '\020', 'S', 't', 'a', 't', 'u', 's', +'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '(', '\n', '\020', 'w', 'o', 'r', 'k', '_', 'i', 'n', '_', 'p', 'r', 'o', +'g', 'r', 'e', 's', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\016', 'w', 'o', 'r', 'k', 'I', 'n', 'P', 'r', 'o', 'g', 'r', 'e', +'s', 's', '\022', '^', '\n', '\026', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '_', 's', 't', 'a', +'t', 'u', 's', '\030', '\002', ' ', '\001', '(', '\016', '2', '(', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', +'n', 's', '.', 'v', '3', '.', 'P', 'a', 'c', 'k', 'a', 'g', 'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'u', +'s', 'R', '\024', 'p', 'a', 'c', 'k', 'a', 'g', 'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'u', 's', '*', ']', +'\n', '\024', 'P', 'a', 'c', 'k', 'a', 'g', 'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'u', 's', '\022', '\013', '\n', +'\007', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\n', '\n', '\006', 'F', 'R', 'O', 'Z', 'E', 'N', '\020', '\001', '\022', '\n', '\n', +'\006', 'A', 'C', 'T', 'I', 'V', 'E', '\020', '\002', '\022', ' ', '\n', '\034', 'N', 'E', 'X', 'T', '_', 'M', 'A', 'J', 'O', 'R', '_', 'V', +'E', 'R', 'S', 'I', 'O', 'N', '_', 'C', 'A', 'N', 'D', 'I', 'D', 'A', 'T', 'E', '\020', '\003', ':', 'j', '\n', '\013', 'f', 'i', 'l', +'e', '_', 's', 't', 'a', 't', 'u', 's', '\022', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', +'f', '.', 'F', 'i', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\352', '\310', '\224', 'l', ' ', '\001', '(', '\013', '2', '(', '.', +'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'F', 'i', 'l', 'e', 'S', 't', +'a', 't', 'u', 's', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\n', 'f', 'i', 'l', 'e', 'S', 't', 'a', 't', 'u', +'s', ':', 'v', '\n', '\016', 'm', 'e', 's', 's', 'a', 'g', 'e', '_', 's', 't', 'a', 't', 'u', 's', '\022', '\037', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'M', 'e', 's', 's', 'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', +'n', 's', '\030', '\352', '\310', '\224', 'l', ' ', '\001', '(', '\013', '2', '+', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', +'i', 'o', 'n', 's', '.', 'v', '3', '.', 'M', 'e', 's', 's', 'a', 'g', 'e', 'S', 't', 'a', 't', 'u', 's', 'A', 'n', 'n', 'o', +'t', 'a', 't', 'i', 'o', 'n', 'R', '\r', 'm', 'e', 's', 's', 'a', 'g', 'e', 'S', 't', 'a', 't', 'u', 's', ':', 'n', '\n', '\014', +'f', 'i', 'e', 'l', 'd', '_', 's', 't', 'a', 't', 'u', 's', '\022', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\352', '\310', '\224', 'l', ' ', '\001', +'(', '\013', '2', ')', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'F', +'i', 'e', 'l', 'd', 'S', 't', 'a', 't', 'u', 's', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\013', 'f', 'i', 'e', +'l', 'd', 'S', 't', 'a', 't', 'u', 's', 'B', '+', 'Z', ')', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', +'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', +'/', 'v', '3', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[2] = { + &google_protobuf_descriptor_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit = { + deps, + &xds_annotations_v3_status_proto_upb_file_layout, + "xds/annotations/v3/status.proto", + UPB_STRINGVIEW_INIT(descriptor, 936) +}; diff --git a/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h b/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h new file mode 100644 index 00000000000..b97899e4976 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h @@ -0,0 +1,50 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/status.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_STATUS_PROTO_UPBDEFS_H_ +#define XDS_ANNOTATIONS_V3_STATUS_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_annotations_v3_FileStatusAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_status_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.FileStatusAnnotation"); +} + +UPB_INLINE const upb_MessageDef *xds_annotations_v3_MessageStatusAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_status_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.MessageStatusAnnotation"); +} + +UPB_INLINE const upb_MessageDef *xds_annotations_v3_FieldStatusAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_status_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.FieldStatusAnnotation"); +} + +UPB_INLINE const upb_MessageDef *xds_annotations_v3_StatusAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_status_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.StatusAnnotation"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_STATUS_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c b/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c new file mode 100644 index 00000000000..f49fafe6aad --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c @@ -0,0 +1,39 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/versioning.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/annotations/v3/versioning.upbdefs.h" +#include "xds/annotations/v3/versioning.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; +static const char descriptor[330] = {'\n', '#', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 'v', 'e', 'r', 's', +'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\022', '\022', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', +'i', 'o', 'n', 's', '.', 'v', '3', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', +'d', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', 'J', '\n', '\024', 'V', 'e', 'r', 's', 'i', +'o', 'n', 'i', 'n', 'g', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '2', '\n', '\025', 'p', 'r', 'e', 'v', 'i', 'o', +'u', 's', '_', 'm', 'e', 's', 's', 'a', 'g', 'e', '_', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\023', 'p', 'r', +'e', 'v', 'i', 'o', 'u', 's', 'M', 'e', 's', 's', 'a', 'g', 'e', 'T', 'y', 'p', 'e', ':', 'l', '\n', '\n', 'v', 'e', 'r', 's', +'i', 'o', 'n', 'i', 'n', 'g', '\022', '\037', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', +'M', 'e', 's', 's', 'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\223', '\375', '\206', ',', ' ', '\001', '(', '\013', '2', '(', +'.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'V', 'e', 'r', 's', 'i', +'o', 'n', 'i', 'n', 'g', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\n', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', +'n', 'g', 'B', '+', 'Z', ')', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', +'/', 'g', 'o', '/', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', 'b', '\006', 'p', +'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[2] = { + &google_protobuf_descriptor_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_annotations_v3_versioning_proto_upbdefinit = { + deps, + &xds_annotations_v3_versioning_proto_upb_file_layout, + "xds/annotations/v3/versioning.proto", + UPB_STRINGVIEW_INIT(descriptor, 330) +}; diff --git a/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h b/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h new file mode 100644 index 00000000000..f6a5bc4e573 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/annotations/v3/versioning.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPBDEFS_H_ +#define XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_annotations_v3_versioning_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_annotations_v3_VersioningAnnotation_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_versioning_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.VersioningAnnotation"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c b/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c similarity index 94% rename from src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c rename to src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c index 8e9fc22e0d0..236f473b62c 100644 --- a/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +++ b/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/authority.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "xds/core/v3/authority.upbdefs.h" -#include "xds/core/v3/authority.upb.h" +#include "xds/core/v3/authority.upb_minitable.h" extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; extern _upb_DefPool_Init validate_validate_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h b/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h similarity index 86% rename from src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h rename to src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h index 95da63a1c52..130cde65b73 100644 --- a/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +++ b/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/authority.proto * @@ -10,7 +9,7 @@ #define XDS_CORE_V3_AUTHORITY_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c b/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c rename to src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c index 38cdba655d0..8109d0becfc 100644 --- a/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +++ b/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/cidr.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "xds/core/v3/cidr.upbdefs.h" -#include "xds/core/v3/cidr.upb.h" +#include "xds/core/v3/cidr.upb_minitable.h" extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h b/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h similarity index 86% rename from src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h rename to src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h index 3e932b37ee3..fd30c8a8a72 100644 --- a/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +++ b/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/cidr.proto * @@ -10,7 +9,7 @@ #define XDS_CORE_V3_CIDR_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c b/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c rename to src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c index b6516993597..e4c4a4877ed 100644 --- a/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +++ b/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/collection_entry.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "xds/core/v3/collection_entry.upbdefs.h" -#include "xds/core/v3/collection_entry.upb.h" +#include "xds/core/v3/collection_entry.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h b/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h similarity index 90% rename from src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h rename to src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h index 49fd3223f14..18513688279 100644 --- a/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +++ b/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/collection_entry.proto * @@ -10,7 +9,7 @@ #define XDS_CORE_V3_COLLECTION_ENTRY_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c b/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c similarity index 95% rename from src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c rename to src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c index c4f3fdd7a46..9de28ae7307 100644 --- a/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +++ b/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/context_params.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "xds/core/v3/context_params.upbdefs.h" -#include "xds/core/v3/context_params.upb.h" +#include "xds/core/v3/context_params.upb_minitable.h" extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; static const char descriptor[321] = {'\n', ' ', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', 'p', 'a', 'r', diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h b/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h similarity index 89% rename from src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h rename to src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h index 435cd0e6c6a..15c097be1d3 100644 --- a/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +++ b/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/context_params.proto * @@ -10,7 +9,7 @@ #define XDS_CORE_V3_CONTEXT_PARAMS_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c b/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c new file mode 100644 index 00000000000..718c0229029 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c @@ -0,0 +1,40 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/extension.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/core/v3/extension.upbdefs.h" +#include "xds/core/v3/extension.upb_minitable.h" + +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; +static const char descriptor[302] = {'\n', '\033', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', +'r', 'o', 't', 'o', '\022', '\013', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', +'t', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', +'/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\"', 'v', '\n', '\024', 'T', 'y', +'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\033', '\n', '\004', 'n', 'a', 'm', +'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'A', '\n', +'\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'B', '\010', '\372', 'B', '\005', '\242', '\001', '\002', '\010', +'\001', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', 'B', 'N', '\n', '\026', 'c', 'o', 'm', '.', 'g', 'i', 't', +'h', 'u', 'b', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\016', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', +'n', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '\"', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', +'/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', 'b', '\006', 'p', 'r', 'o', 't', +'o', '3', +}; + +static _upb_DefPool_Init *deps[3] = { + &validate_validate_proto_upbdefinit, + &google_protobuf_any_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_core_v3_extension_proto_upbdefinit = { + deps, + &xds_core_v3_extension_proto_upb_file_layout, + "xds/core/v3/extension.proto", + UPB_STRINGVIEW_INIT(descriptor, 302) +}; diff --git a/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h b/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h new file mode 100644 index 00000000000..f7022ddfb02 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/extension.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_CORE_V3_EXTENSION_PROTO_UPBDEFS_H_ +#define XDS_CORE_V3_EXTENSION_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_core_v3_extension_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_core_v3_TypedExtensionConfig_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_core_v3_extension_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.core.v3.TypedExtensionConfig"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_CORE_V3_EXTENSION_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c b/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c new file mode 100644 index 00000000000..812eaf3e30a --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c @@ -0,0 +1,44 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/resource.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/core/v3/resource.upbdefs.h" +#include "xds/core/v3/resource.upb_minitable.h" + +extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; +extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; +extern _upb_DefPool_Init xds_core_v3_resource_name_proto_upbdefinit; +static const char descriptor[365] = {'\n', '\032', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', '.', 'p', 'r', +'o', 't', 'o', '\022', '\013', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', +'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'x', 'd', 's', '/', 'a', +'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', +'o', '\032', '\037', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', '_', 'n', +'a', 'm', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\205', '\001', '\n', '\010', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', '\022', '-', '\n', +'\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', +'.', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'N', 'a', 'm', 'e', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '\030', '\n', '\007', 'v', 'e', +'r', 's', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\007', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\022', '0', '\n', '\010', 'r', +'e', 's', 'o', 'u', 'r', 'c', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', +'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\010', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'B', 'U', '\n', '\026', 'c', +'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\r', 'R', 'e', +'s', 'o', 'u', 'r', 'c', 'e', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '\"', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', +'/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '\322', +'\306', '\244', '\341', '\006', '\002', '\010', '\001', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[4] = { + &google_protobuf_any_proto_upbdefinit, + &xds_annotations_v3_status_proto_upbdefinit, + &xds_core_v3_resource_name_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_core_v3_resource_proto_upbdefinit = { + deps, + &xds_core_v3_resource_proto_upb_file_layout, + "xds/core/v3/resource.proto", + UPB_STRINGVIEW_INIT(descriptor, 365) +}; diff --git a/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h b/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h new file mode 100644 index 00000000000..b51596277e3 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/core/v3/resource.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_CORE_V3_RESOURCE_PROTO_UPBDEFS_H_ +#define XDS_CORE_V3_RESOURCE_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_core_v3_resource_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_core_v3_Resource_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_core_v3_resource_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.core.v3.Resource"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_CORE_V3_RESOURCE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c b/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c rename to src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c index a3c5d6bf3df..1b991ebcc4d 100644 --- a/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +++ b/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/resource_locator.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "xds/core/v3/resource_locator.upbdefs.h" -#include "xds/core/v3/resource_locator.upb.h" +#include "xds/core/v3/resource_locator.upb_minitable.h" extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; extern _upb_DefPool_Init xds_core_v3_context_params_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h b/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h similarity index 90% rename from src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h rename to src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h index 9033d858d59..66607ed0b47 100644 --- a/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +++ b/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/resource_locator.proto * @@ -10,7 +9,7 @@ #define XDS_CORE_V3_RESOURCE_LOCATOR_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c b/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c rename to src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c index eae12a90dd7..25f1628261f 100644 --- a/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +++ b/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/resource_name.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "xds/core/v3/resource_name.upbdefs.h" -#include "xds/core/v3/resource_name.upb.h" +#include "xds/core/v3/resource_name.upb_minitable.h" extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; extern _upb_DefPool_Init xds_core_v3_context_params_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h b/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h similarity index 87% rename from src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h rename to src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h index e9ccafd26a6..c2e8b68f5a2 100644 --- a/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +++ b/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/core/v3/resource_name.proto * @@ -10,7 +9,7 @@ #define XDS_CORE_V3_RESOURCE_NAME_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c new file mode 100644 index 00000000000..412db4f8fcc --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c @@ -0,0 +1,44 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/cel.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/type/matcher/v3/cel.upbdefs.h" +#include "xds/type/matcher/v3/cel.upb_minitable.h" + +extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; +extern _upb_DefPool_Init xds_type_v3_cel_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[356] = {'\n', '\035', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'c', 'e', 'l', +'.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', +'v', '3', '\032', '\037', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', +'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\025', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'c', +'e', 'l', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', +'t', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 's', '\n', '\n', 'C', 'e', 'l', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'C', '\n', +'\n', 'e', 'x', 'p', 'r', '_', 'm', 'a', 't', 'c', 'h', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'x', 'd', 's', '.', 't', +'y', 'p', 'e', '.', 'v', '3', '.', 'C', 'e', 'l', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', +'\212', '\001', '\002', '\020', '\001', 'R', '\t', 'e', 'x', 'p', 'r', 'M', 'a', 't', 'c', 'h', '\022', ' ', '\n', '\013', 'd', 'e', 's', 'c', 'r', +'i', 'p', 't', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\013', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', +'B', '`', '\n', '\036', 'c', 'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', +'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\010', 'C', 'e', 'l', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '*', 'g', 'i', +'t', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', +'t', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'b', '\006', +'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[4] = { + &xds_annotations_v3_status_proto_upbdefinit, + &xds_type_v3_cel_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_type_matcher_v3_cel_proto_upbdefinit = { + deps, + &xds_type_matcher_v3_cel_proto_upb_file_layout, + "xds/type/matcher/v3/cel.proto", + UPB_STRINGVIEW_INIT(descriptor, 356) +}; diff --git a/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h new file mode 100644 index 00000000000..4d5bd051c70 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/cel.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_CEL_PROTO_UPBDEFS_H_ +#define XDS_TYPE_MATCHER_V3_CEL_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_type_matcher_v3_cel_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_CelMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_cel_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.CelMatcher"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_CEL_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c similarity index 96% rename from src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c rename to src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c index c171cdc7cc6..aa58b273b72 100644 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/type/matcher/v3/domain.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "xds/type/matcher/v3/domain.upbdefs.h" -#include "xds/type/matcher/v3/domain.upb.h" +#include "xds/type/matcher/v3/domain.upb_minitable.h" extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; extern _upb_DefPool_Init xds_type_matcher_v3_matcher_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h similarity index 90% rename from src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h rename to src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h index 8060f378ca7..96151575ad8 100644 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/type/matcher/v3/domain.proto * @@ -10,7 +9,7 @@ #define XDS_TYPE_MATCHER_V3_DOMAIN_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c new file mode 100644 index 00000000000..9f6212d38e2 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/http_inputs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/type/matcher/v3/http_inputs.upbdefs.h" +#include "xds/type/matcher/v3/http_inputs.upb_minitable.h" + +extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; +static const char descriptor[237] = {'\n', '%', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'h', 't', 't', +'p', '_', 'i', 'n', 'p', 'u', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', +'m', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '\037', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', +'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\"', '\035', '\n', '\033', 'H', 't', 't', +'p', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', 'C', 'e', 'l', 'M', 'a', 't', 'c', 'h', 'I', 'n', 'p', 'u', 't', 'B', +'g', '\n', '\036', 'c', 'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', +'t', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\017', 'H', 't', 't', 'p', 'I', 'n', 'p', 'u', 't', 's', 'P', 'r', 'o', 't', 'o', +'P', '\001', 'Z', '*', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', +'o', '/', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '\322', '\306', '\244', '\341', +'\006', '\002', '\010', '\001', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[2] = { + &xds_annotations_v3_status_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_type_matcher_v3_http_inputs_proto_upbdefinit = { + deps, + &xds_type_matcher_v3_http_inputs_proto_upb_file_layout, + "xds/type/matcher/v3/http_inputs.proto", + UPB_STRINGVIEW_INIT(descriptor, 237) +}; diff --git a/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h new file mode 100644 index 00000000000..874f6b60898 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/http_inputs.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPBDEFS_H_ +#define XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_type_matcher_v3_http_inputs_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_HttpAttributesCelMatchInput_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_http_inputs_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.HttpAttributesCelMatchInput"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c similarity index 97% rename from src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c rename to src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c index fdfd4ee6120..86aad83753f 100644 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/type/matcher/v3/ip.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "xds/type/matcher/v3/ip.upbdefs.h" -#include "xds/type/matcher/v3/ip.upb.h" +#include "xds/type/matcher/v3/ip.upb_minitable.h" extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; extern _upb_DefPool_Init xds_core_v3_cidr_proto_upbdefinit; diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h similarity index 89% rename from src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h rename to src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h index 28e385b4533..bb18c3c9a88 100644 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/type/matcher/v3/ip.proto * @@ -10,7 +9,7 @@ #define XDS_TYPE_MATCHER_V3_IP_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c new file mode 100644 index 00000000000..69d2bc942a9 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c @@ -0,0 +1,125 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/matcher.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/type/matcher/v3/matcher.upbdefs.h" +#include "xds/type/matcher/v3/matcher.upb_minitable.h" + +extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; +extern _upb_DefPool_Init xds_core_v3_extension_proto_upbdefinit; +extern _upb_DefPool_Init xds_type_matcher_v3_string_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[2330] = {'\n', '!', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'a', 't', +'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', +'h', 'e', 'r', '.', 'v', '3', '\032', '\037', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', +'3', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', +'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', ' ', 'x', 'd', 's', '/', 't', +'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', 't', 'r', 'i', 'n', 'g', '.', 'p', 'r', 'o', +'t', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', +'t', 'o', '\"', '\200', '\020', '\n', '\007', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'M', '\n', '\014', 'm', 'a', 't', 'c', 'h', 'e', 'r', +'_', 'l', 'i', 's', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '(', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', +'t', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', +'i', 's', 't', 'H', '\000', 'R', '\013', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '\022', 'M', '\n', '\014', 'm', 'a', 't', +'c', 'h', 'e', 'r', '_', 't', 'r', 'e', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '(', '.', 'x', 'd', 's', '.', 't', 'y', 'p', +'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', +'h', 'e', 'r', 'T', 'r', 'e', 'e', 'H', '\000', 'R', '\013', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '\022', 'D', '\n', +'\013', 'o', 'n', '_', 'n', 'o', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', '2', '$', '.', 'x', 'd', 's', '.', +'t', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', +'n', 'M', 'a', 't', 'c', 'h', 'R', '\t', 'o', 'n', 'N', 'o', 'M', 'a', 't', 'c', 'h', '\032', '\221', '\001', '\n', '\007', 'O', 'n', 'M', +'a', 't', 'c', 'h', '\022', '8', '\n', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'x', +'d', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', +'r', 'H', '\000', 'R', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\022', ';', '\n', '\006', 'a', 'c', 't', 'i', 'o', 'n', '\030', '\002', ' ', +'\001', '(', '\013', '2', '!', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', +'t', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\006', 'a', 'c', 't', 'i', 'o', 'n', 'B', '\017', +'\n', '\010', 'o', 'n', '_', 'm', 'a', 't', 'c', 'h', '\022', '\003', '\370', 'B', '\001', '\032', '\266', '\010', '\n', '\013', 'M', 'a', 't', 'c', 'h', +'e', 'r', 'L', 'i', 's', 't', '\022', '[', '\n', '\010', 'm', 'a', 't', 'c', 'h', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', +'5', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', +'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'F', 'i', 'e', 'l', 'd', 'M', 'a', 't', +'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\010', 'm', 'a', 't', 'c', 'h', 'e', 'r', 's', '\032', +'\221', '\006', '\n', '\t', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'o', '\n', '\020', 's', 'i', 'n', 'g', 'l', 'e', '_', 'p', +'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', 'B', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', +'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', +'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'S', 'i', 'n', 'g', 'l', 'e', 'P', 'r', +'e', 'd', 'i', 'c', 'a', 't', 'e', 'H', '\000', 'R', '\017', 's', 'i', 'n', 'g', 'l', 'e', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', +'e', '\022', 'a', '\n', '\n', 'o', 'r', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\013', '2', '@', '.', 'x', +'d', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', +'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'P', +'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'L', 'i', 's', 't', 'H', '\000', 'R', '\t', 'o', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', +'\022', 'c', '\n', '\013', 'a', 'n', 'd', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', '@', '.', 'x', +'d', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', +'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'P', +'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'L', 'i', 's', 't', 'H', '\000', 'R', '\n', 'a', 'n', 'd', 'M', 'a', 't', 'c', 'h', 'e', +'r', '\022', 'U', '\n', '\013', 'n', 'o', 't', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\004', ' ', '\001', '(', '\013', '2', '2', '.', +'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', +'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'H', +'\000', 'R', '\n', 'n', 'o', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\032', '\363', '\001', '\n', '\017', 'S', 'i', 'n', 'g', 'l', 'e', 'P', +'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'A', '\n', '\005', 'i', 'n', 'p', 'u', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '!', +'.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', +'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'i', 'n', 'p', 'u', 't', +'\022', 'E', '\n', '\013', 'v', 'a', 'l', 'u', 'e', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '\"', '.', 'x', +'d', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', +'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\n', 'v', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', '\022', 'F', '\n', '\014', +'c', 'u', 's', 't', 'o', 'm', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', '2', '!', '.', 'x', 'd', 's', '.', +'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', +'f', 'i', 'g', 'H', '\000', 'R', '\013', 'c', 'u', 's', 't', 'o', 'm', 'M', 'a', 't', 'c', 'h', 'B', '\016', '\n', '\007', 'm', 'a', 't', +'c', 'h', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\032', 'k', '\n', '\r', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'L', 'i', 's', +'t', '\022', 'Z', '\n', '\t', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\030', '\001', ' ', '\003', '(', '\013', '2', '2', '.', 'x', 'd', +'s', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', +'.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\010', '\372', +'B', '\005', '\222', '\001', '\002', '\010', '\002', 'R', '\t', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\021', '\n', '\n', 'm', 'a', 't', +'c', 'h', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', '\032', '\265', '\001', '\n', '\014', 'F', 'i', 'e', 'l', 'd', 'M', 'a', 't', +'c', 'h', 'e', 'r', '\022', 'Z', '\n', '\t', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '2', +'.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', +'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', +'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\t', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'I', '\n', '\010', +'o', 'n', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', +'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', 'n', 'M', 'a', 't', +'c', 'h', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\007', 'o', 'n', 'M', 'a', 't', 'c', 'h', '\032', '\251', '\004', '\n', +'\013', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '\022', 'A', '\n', '\005', 'i', 'n', 'p', 'u', 't', '\030', '\001', ' ', '\001', +'(', '\013', '2', '!', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', +'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'i', +'n', 'p', 'u', 't', '\022', '[', '\n', '\017', 'e', 'x', 'a', 'c', 't', '_', 'm', 'a', 't', 'c', 'h', '_', 'm', 'a', 'p', '\030', '\002', +' ', '\001', '(', '\013', '2', '1', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', +'3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '.', 'M', 'a', 't', +'c', 'h', 'M', 'a', 'p', 'H', '\000', 'R', '\r', 'e', 'x', 'a', 'c', 't', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', '\022', ']', '\n', +'\020', 'p', 'r', 'e', 'f', 'i', 'x', '_', 'm', 'a', 't', 'c', 'h', '_', 'm', 'a', 'p', '\030', '\003', ' ', '\001', '(', '\013', '2', '1', +'.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', +'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '.', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', 'H', +'\000', 'R', '\016', 'p', 'r', 'e', 'f', 'i', 'x', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', '\022', 'F', '\n', '\014', 'c', 'u', 's', 't', +'o', 'm', '_', 'm', 'a', 't', 'c', 'h', '\030', '\004', ' ', '\001', '(', '\013', '2', '!', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', +'.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', +'\000', 'R', '\013', 'c', 'u', 's', 't', 'o', 'm', 'M', 'a', 't', 'c', 'h', '\032', '\300', '\001', '\n', '\010', 'M', 'a', 't', 'c', 'h', 'M', +'a', 'p', '\022', 'V', '\n', '\003', 'm', 'a', 'p', '\030', '\001', ' ', '\003', '(', '\013', '2', ':', '.', 'x', 'd', 's', '.', 't', 'y', 'p', +'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', +'h', 'e', 'r', 'T', 'r', 'e', 'e', '.', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', '.', 'M', 'a', 'p', 'E', 'n', 't', 'r', 'y', +'B', '\010', '\372', 'B', '\005', '\232', '\001', '\002', '\010', '\001', 'R', '\003', 'm', 'a', 'p', '\032', '\\', '\n', '\010', 'M', 'a', 'p', 'E', 'n', 't', +'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', ':', '\n', '\005', 'v', +'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', +'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', 'n', 'M', 'a', 't', 'c', 'h', 'R', '\005', +'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', 'B', '\020', '\n', '\t', 't', 'r', 'e', 'e', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', +'B', '\001', ':', '\010', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'B', '\016', '\n', '\014', 'm', 'a', 't', 'c', 'h', 'e', 'r', '_', 't', +'y', 'p', 'e', 'B', '\\', '\n', '\036', 'c', 'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 't', 'y', 'p', +'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\014', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'P', 'r', 'o', 't', +'o', 'P', '\001', 'Z', '*', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', +'g', 'o', '/', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', 'b', '\006', 'p', +'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[5] = { + &xds_annotations_v3_status_proto_upbdefinit, + &xds_core_v3_extension_proto_upbdefinit, + &xds_type_matcher_v3_string_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_type_matcher_v3_matcher_proto_upbdefinit = { + deps, + &xds_type_matcher_v3_matcher_proto_upb_file_layout, + "xds/type/matcher/v3/matcher.proto", + UPB_STRINGVIEW_INIT(descriptor, 2330) +}; diff --git a/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h new file mode 100644 index 00000000000..19531db5c8f --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h @@ -0,0 +1,80 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/matcher.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPBDEFS_H_ +#define XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_type_matcher_v3_matcher_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_OnMatch_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.OnMatch"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherList_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherList"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherList_Predicate_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherList.Predicate"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherList.FieldMatcher"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherTree_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherTree"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherTree.MatchMap"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherTree.MatchMap.MapEntry"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c new file mode 100644 index 00000000000..181008e0886 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c @@ -0,0 +1,70 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/type/matcher/v3/range.upbdefs.h" +#include "xds/type/matcher/v3/range.upb_minitable.h" + +extern _upb_DefPool_Init xds_type_v3_range_proto_upbdefinit; +extern _upb_DefPool_Init xds_type_matcher_v3_matcher_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[1007] = {'\n', '\037', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'r', 'a', 'n', +'g', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', +'r', '.', 'v', '3', '\032', '\027', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'r', 'a', 'n', 'g', 'e', '.', 'p', +'r', 'o', 't', 'o', '\032', '!', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', +'/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', +'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\374', '\001', '\n', '\021', 'I', 'n', 't', '6', '4', 'R', +'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'Z', '\n', '\016', 'r', 'a', 'n', 'g', 'e', '_', 'm', 'a', 't', 'c', +'h', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '3', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', +'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'I', 'n', 't', '6', '4', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', +'.', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\r', 'r', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', +'e', 'r', 's', '\032', '\212', '\001', '\n', '\014', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', '9', '\n', '\006', 'r', +'a', 'n', 'g', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\027', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'v', '3', +'.', 'I', 'n', 't', '6', '4', 'R', 'a', 'n', 'g', 'e', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\006', 'r', 'a', +'n', 'g', 'e', 's', '\022', '?', '\n', '\010', 'o', 'n', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', +'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', +'e', 'r', '.', 'O', 'n', 'M', 'a', 't', 'c', 'h', 'R', '\007', 'o', 'n', 'M', 'a', 't', 'c', 'h', '\"', '\374', '\001', '\n', '\021', 'I', +'n', 't', '3', '2', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'Z', '\n', '\016', 'r', 'a', 'n', 'g', 'e', +'_', 'm', 'a', 't', 'c', 'h', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '3', '.', 'x', 'd', 's', '.', 't', 'y', 'p', +'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'I', 'n', 't', '3', '2', 'R', 'a', 'n', 'g', 'e', 'M', 'a', +'t', 'c', 'h', 'e', 'r', '.', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\r', 'r', 'a', 'n', 'g', 'e', +'M', 'a', 't', 'c', 'h', 'e', 'r', 's', '\032', '\212', '\001', '\n', '\014', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', +'\022', '9', '\n', '\006', 'r', 'a', 'n', 'g', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\027', '.', 'x', 'd', 's', '.', 't', 'y', +'p', 'e', '.', 'v', '3', '.', 'I', 'n', 't', '3', '2', 'R', 'a', 'n', 'g', 'e', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', +'\001', 'R', '\006', 'r', 'a', 'n', 'g', 'e', 's', '\022', '?', '\n', '\010', 'o', 'n', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', +'(', '\013', '2', '$', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', +'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', 'n', 'M', 'a', 't', 'c', 'h', 'R', '\007', 'o', 'n', 'M', 'a', 't', 'c', 'h', '\"', +'\377', '\001', '\n', '\022', 'D', 'o', 'u', 'b', 'l', 'e', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', '[', '\n', +'\016', 'r', 'a', 'n', 'g', 'e', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '4', '.', 'x', +'d', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'D', 'o', 'u', 'b', 'l', 'e', +'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', +'R', '\r', 'r', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 's', '\032', '\213', '\001', '\n', '\014', 'R', 'a', 'n', 'g', 'e', +'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', ':', '\n', '\006', 'r', 'a', 'n', 'g', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\030', +'.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'D', 'o', 'u', 'b', 'l', 'e', 'R', 'a', 'n', 'g', 'e', 'B', +'\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\006', 'r', 'a', 'n', 'g', 'e', 's', '\022', '?', '\n', '\010', 'o', 'n', '_', 'm', +'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', +'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', 'n', 'M', 'a', 't', 'c', 'h', 'R', '\007', +'o', 'n', 'M', 'a', 't', 'c', 'h', 'B', 'Z', '\n', '\036', 'c', 'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', +'.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\n', 'R', 'a', 'n', 'g', 'e', 'P', 'r', +'o', 't', 'o', 'P', '\001', 'Z', '*', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', +'s', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', 'b', +'\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[4] = { + &xds_type_v3_range_proto_upbdefinit, + &xds_type_matcher_v3_matcher_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_type_matcher_v3_range_proto_upbdefinit = { + deps, + &xds_type_matcher_v3_range_proto_upb_file_layout, + "xds/type/matcher/v3/range.proto", + UPB_STRINGVIEW_INIT(descriptor, 1007) +}; diff --git a/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h new file mode 100644 index 00000000000..cfb45605bd7 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h @@ -0,0 +1,60 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPBDEFS_H_ +#define XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_type_matcher_v3_range_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Int64RangeMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_range_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Int64RangeMatcher"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_range_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Int32RangeMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_range_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Int32RangeMatcher"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_range_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_DoubleRangeMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_range_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.DoubleRangeMatcher"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_range_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c new file mode 100644 index 00000000000..e9b0341404a --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c @@ -0,0 +1,39 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/regex.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/type/matcher/v3/regex.upbdefs.h" +#include "xds/type/matcher/v3/regex.upb_minitable.h" + +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[348] = {'\n', '\037', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'r', 'e', 'g', +'e', 'x', '.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', +'r', '.', 'v', '3', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', +'r', 'o', 't', 'o', '\"', '\246', '\001', '\n', '\014', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'V', '\n', '\n', +'g', 'o', 'o', 'g', 'l', 'e', '_', 'r', 'e', '2', '\030', '\001', ' ', '\001', '(', '\013', '2', '+', '.', 'x', 'd', 's', '.', 't', 'y', +'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', +'r', '.', 'G', 'o', 'o', 'g', 'l', 'e', 'R', 'E', '2', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'H', '\000', 'R', '\t', +'g', 'o', 'o', 'g', 'l', 'e', 'R', 'e', '2', '\022', '\035', '\n', '\005', 'r', 'e', 'g', 'e', 'x', '\030', '\002', ' ', '\001', '(', '\t', 'B', +'\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\005', 'r', 'e', 'g', 'e', 'x', '\032', '\013', '\n', '\t', 'G', 'o', 'o', 'g', 'l', 'e', +'R', 'E', '2', 'B', '\022', '\n', '\013', 'e', 'n', 'g', 'i', 'n', 'e', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', 'B', 'Z', +'\n', '\036', 'c', 'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', +'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\n', 'R', 'e', 'g', 'e', 'x', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '*', 'g', 'i', +'t', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', +'t', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[2] = { + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_type_matcher_v3_regex_proto_upbdefinit = { + deps, + &xds_type_matcher_v3_regex_proto_upb_file_layout, + "xds/type/matcher/v3/regex.proto", + UPB_STRINGVIEW_INIT(descriptor, 348) +}; diff --git a/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h new file mode 100644 index 00000000000..9d25ee519f8 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h @@ -0,0 +1,40 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/regex.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPBDEFS_H_ +#define XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_type_matcher_v3_regex_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_RegexMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_regex_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.RegexMatcher"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_RegexMatcher_GoogleRE2_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_regex_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.RegexMatcher.GoogleRE2"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c new file mode 100644 index 00000000000..392bbab9ba5 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c @@ -0,0 +1,51 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/type/matcher/v3/string.upbdefs.h" +#include "xds/type/matcher/v3/string.upb_minitable.h" + +extern _upb_DefPool_Init xds_type_matcher_v3_regex_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[593] = {'\n', ' ', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', 't', 'r', +'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', +'e', 'r', '.', 'v', '3', '\032', '\037', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', +'3', '/', 'r', 'e', 'g', 'e', 'x', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', +'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\231', '\002', '\n', '\r', 'S', 't', 'r', 'i', 'n', 'g', 'M', +'a', 't', 'c', 'h', 'e', 'r', '\022', '\026', '\n', '\005', 'e', 'x', 'a', 'c', 't', '\030', '\001', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\005', +'e', 'x', 'a', 'c', 't', '\022', '!', '\n', '\006', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', +'\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\006', 'p', 'r', 'e', 'f', 'i', 'x', '\022', '!', '\n', '\006', 's', 'u', 'f', 'f', 'i', 'x', +'\030', '\003', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\006', 's', 'u', 'f', 'f', 'i', 'x', +'\022', 'L', '\n', '\n', 's', 'a', 'f', 'e', '_', 'r', 'e', 'g', 'e', 'x', '\030', '\005', ' ', '\001', '(', '\013', '2', '!', '.', 'x', 'd', +'s', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', +'t', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'H', '\000', 'R', '\t', 's', 'a', 'f', 'e', 'R', 'e', +'g', 'e', 'x', '\022', '%', '\n', '\010', 'c', 'o', 'n', 't', 'a', 'i', 'n', 's', '\030', '\007', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', +'\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\010', 'c', 'o', 'n', 't', 'a', 'i', 'n', 's', '\022', '\037', '\n', '\013', 'i', 'g', 'n', 'o', +'r', 'e', '_', 'c', 'a', 's', 'e', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\n', 'i', 'g', 'n', 'o', 'r', 'e', 'C', 'a', 's', 'e', +'B', '\024', '\n', '\r', 'm', 'a', 't', 'c', 'h', '_', 'p', 'a', 't', 't', 'e', 'r', 'n', '\022', '\003', '\370', 'B', '\001', '\"', ']', '\n', +'\021', 'L', 'i', 's', 't', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'H', '\n', '\010', 'p', 'a', 't', +'t', 'e', 'r', 'n', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\"', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', +'t', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', +'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\010', 'p', 'a', 't', 't', 'e', 'r', 'n', 's', 'B', '[', '\n', '\036', 'c', 'o', 'm', '.', +'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', +'3', 'B', '\013', 'S', 't', 'r', 'i', 'n', 'g', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '*', 'g', 'i', 't', 'h', 'u', 'b', '.', +'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', +'m', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[3] = { + &xds_type_matcher_v3_regex_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_type_matcher_v3_string_proto_upbdefinit = { + deps, + &xds_type_matcher_v3_string_proto_upb_file_layout, + "xds/type/matcher/v3/string.proto", + UPB_STRINGVIEW_INIT(descriptor, 593) +}; diff --git a/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h new file mode 100644 index 00000000000..e9d37bfce9f --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h @@ -0,0 +1,40 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/matcher/v3/string.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_MATCHER_V3_STRING_PROTO_UPBDEFS_H_ +#define XDS_TYPE_MATCHER_V3_STRING_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_type_matcher_v3_string_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_StringMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_string_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.StringMatcher"); +} + +UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_ListStringMatcher_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_string_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.ListStringMatcher"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_MATCHER_V3_STRING_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c b/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c new file mode 100644 index 00000000000..f0ff9412fe1 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c @@ -0,0 +1,59 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/v3/cel.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/type/v3/cel.upbdefs.h" +#include "xds/type/v3/cel.upb_minitable.h" + +extern _upb_DefPool_Init google_api_expr_v1alpha1_checked_proto_upbdefinit; +extern _upb_DefPool_Init google_api_expr_v1alpha1_syntax_proto_upbdefinit; +extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; +extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; +extern _upb_DefPool_Init validate_validate_proto_upbdefinit; +static const char descriptor[646] = {'\n', '\025', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'c', 'e', 'l', '.', 'p', 'r', 'o', 't', 'o', '\022', '\013', +'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '\032', '&', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'a', 'p', 'i', '/', 'e', +'x', 'p', 'r', '/', 'v', '1', 'a', 'l', 'p', 'h', 'a', '1', '/', 'c', 'h', 'e', 'c', 'k', 'e', 'd', '.', 'p', 'r', 'o', 't', +'o', '\032', '%', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'a', 'p', 'i', '/', 'e', 'x', 'p', 'r', '/', 'v', '1', 'a', 'l', 'p', 'h', +'a', '1', '/', 's', 'y', 'n', 't', 'a', 'x', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', +'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'x', +'d', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', +'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', +'p', 'r', 'o', 't', 'o', '\"', '\273', '\001', '\n', '\r', 'C', 'e', 'l', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', '\022', 'G', +'\n', '\013', 'p', 'a', 'r', 's', 'e', 'd', '_', 'e', 'x', 'p', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '$', '.', 'g', 'o', 'o', +'g', 'l', 'e', '.', 'a', 'p', 'i', '.', 'e', 'x', 'p', 'r', '.', 'v', '1', 'a', 'l', 'p', 'h', 'a', '1', '.', 'P', 'a', 'r', +'s', 'e', 'd', 'E', 'x', 'p', 'r', 'H', '\000', 'R', '\n', 'p', 'a', 'r', 's', 'e', 'd', 'E', 'x', 'p', 'r', '\022', 'J', '\n', '\014', +'c', 'h', 'e', 'c', 'k', 'e', 'd', '_', 'e', 'x', 'p', 'r', '\030', '\002', ' ', '\001', '(', '\013', '2', '%', '.', 'g', 'o', 'o', 'g', +'l', 'e', '.', 'a', 'p', 'i', '.', 'e', 'x', 'p', 'r', '.', 'v', '1', 'a', 'l', 'p', 'h', 'a', '1', '.', 'C', 'h', 'e', 'c', +'k', 'e', 'd', 'E', 'x', 'p', 'r', 'H', '\000', 'R', '\013', 'c', 'h', 'e', 'c', 'k', 'e', 'd', 'E', 'x', 'p', 'r', 'B', '\025', '\n', +'\016', 'e', 'x', 'p', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', '\236', '\001', '\n', '\020', +'C', 'e', 'l', 'E', 'x', 't', 'r', 'a', 'c', 't', 'S', 't', 'r', 'i', 'n', 'g', '\022', 'G', '\n', '\014', 'e', 'x', 'p', 'r', '_', +'e', 'x', 't', 'r', 'a', 'c', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', +'v', '3', '.', 'C', 'e', 'l', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', +'\001', 'R', '\013', 'e', 'x', 'p', 'r', 'E', 'x', 't', 'r', 'a', 'c', 't', '\022', 'A', '\n', '\r', 'd', 'e', 'f', 'a', 'u', 'l', 't', +'_', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', +'t', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'i', 'n', 'g', 'V', 'a', 'l', 'u', 'e', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', +'t', 'V', 'a', 'l', 'u', 'e', 'B', 'P', '\n', '\026', 'c', 'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', +'t', 'y', 'p', 'e', '.', 'v', '3', 'B', '\010', 'C', 'e', 'l', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '\"', 'g', 'i', 't', 'h', +'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 't', 'y', +'p', 'e', '/', 'v', '3', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[6] = { + &google_api_expr_v1alpha1_checked_proto_upbdefinit, + &google_api_expr_v1alpha1_syntax_proto_upbdefinit, + &google_protobuf_wrappers_proto_upbdefinit, + &xds_annotations_v3_status_proto_upbdefinit, + &validate_validate_proto_upbdefinit, + NULL +}; + +_upb_DefPool_Init xds_type_v3_cel_proto_upbdefinit = { + deps, + &xds_type_v3_cel_proto_upb_file_layout, + "xds/type/v3/cel.proto", + UPB_STRINGVIEW_INIT(descriptor, 646) +}; diff --git a/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h b/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h new file mode 100644 index 00000000000..a6fe1cd4377 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h @@ -0,0 +1,40 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/v3/cel.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_V3_CEL_PROTO_UPBDEFS_H_ +#define XDS_TYPE_V3_CEL_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_type_v3_cel_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_type_v3_CelExpression_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_v3_cel_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.v3.CelExpression"); +} + +UPB_INLINE const upb_MessageDef *xds_type_v3_CelExtractString_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_v3_cel_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.v3.CelExtractString"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_V3_CEL_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c b/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c new file mode 100644 index 00000000000..5bef88f312a --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c @@ -0,0 +1,35 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#include "upb/reflection/def.h" +#include "xds/type/v3/range.upbdefs.h" +#include "xds/type/v3/range.upb_minitable.h" + +static const char descriptor[285] = {'\n', '\027', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'r', 'a', 'n', 'g', 'e', '.', 'p', 'r', 'o', 't', 'o', +'\022', '\013', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '\"', '4', '\n', '\n', 'I', 'n', 't', '6', '4', 'R', 'a', 'n', +'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', '(', '\003', 'R', '\005', 's', 't', 'a', 'r', 't', '\022', +'\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\003', 'R', '\003', 'e', 'n', 'd', '\"', '4', '\n', '\n', 'I', 'n', 't', '3', +'2', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', '(', '\005', 'R', '\005', 's', 't', +'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\005', 'R', '\003', 'e', 'n', 'd', '\"', '5', '\n', '\013', +'D', 'o', 'u', 'b', 'l', 'e', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', '(', +'\001', 'R', '\005', 's', 't', 'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\001', 'R', '\003', 'e', 'n', +'d', 'B', 'J', '\n', '\026', 'c', 'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', +'v', '3', 'B', '\n', 'R', 'a', 'n', 'g', 'e', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '\"', 'g', 'i', 't', 'h', 'u', 'b', '.', +'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', +'v', '3', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', +}; + +static _upb_DefPool_Init *deps[1] = { + NULL +}; + +_upb_DefPool_Init xds_type_v3_range_proto_upbdefinit = { + deps, + &xds_type_v3_range_proto_upb_file_layout, + "xds/type/v3/range.proto", + UPB_STRINGVIEW_INIT(descriptor, 285) +}; diff --git a/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h b/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h new file mode 100644 index 00000000000..8a8083e6922 --- /dev/null +++ b/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h @@ -0,0 +1,45 @@ +/* This file was generated by upb_generator from the input file: + * + * xds/type/v3/range.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. */ + +#ifndef XDS_TYPE_V3_RANGE_PROTO_UPBDEFS_H_ +#define XDS_TYPE_V3_RANGE_PROTO_UPBDEFS_H_ + +#include "upb/reflection/def.h" +#include "upb/reflection/internal/def_pool.h" +#include "upb/port/def.inc" +#ifdef __cplusplus +extern "C" { +#endif + +#include "upb/reflection/def.h" + +#include "upb/port/def.inc" + +extern _upb_DefPool_Init xds_type_v3_range_proto_upbdefinit; + +UPB_INLINE const upb_MessageDef *xds_type_v3_Int64Range_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_v3_range_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.v3.Int64Range"); +} + +UPB_INLINE const upb_MessageDef *xds_type_v3_Int32Range_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_v3_range_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.v3.Int32Range"); +} + +UPB_INLINE const upb_MessageDef *xds_type_v3_DoubleRange_getmsgdef(upb_DefPool *s) { + _upb_DefPool_LoadDefInit(s, &xds_type_v3_range_proto_upbdefinit); + return upb_DefPool_FindMessageByName(s, "xds.type.v3.DoubleRange"); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* XDS_TYPE_V3_RANGE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c b/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c similarity index 94% rename from src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c rename to src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c index 26d5b7ebd18..2d0514bd7ae 100644 --- a/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +++ b/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/type/v3/typed_struct.proto * @@ -8,7 +7,7 @@ #include "upb/reflection/def.h" #include "xds/type/v3/typed_struct.upbdefs.h" -#include "xds/type/v3/typed_struct.upb.h" +#include "xds/type/v3/typed_struct.upb_minitable.h" extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; static const char descriptor[254] = {'\n', '\036', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 't', 'y', 'p', 'e', 'd', '_', 's', 't', 'r', 'u', 'c', diff --git a/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h b/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h similarity index 86% rename from src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h rename to src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h index 03119edf801..a035ec6d68d 100644 --- a/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +++ b/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h @@ -1,5 +1,4 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: +/* This file was generated by upb_generator from the input file: * * xds/type/v3/typed_struct.proto * @@ -10,7 +9,7 @@ #define XDS_TYPE_V3_TYPED_STRUCT_PROTO_UPBDEFS_H_ #include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" +#include "upb/reflection/internal/def_pool.h" #include "upb/port/def.inc" #ifdef __cplusplus extern "C" { diff --git a/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c deleted file mode 100644 index 78b5244b569..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +++ /dev/null @@ -1,38 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/annotations/resource.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/annotations/resource.upbdefs.h" -#include "envoy/annotations/resource.upb.h" - -extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; -static const char descriptor[300] = {'\n', ' ', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'r', 'e', 's', 'o', 'u', -'r', 'c', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\021', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', -'o', 'n', 's', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', -'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '(', '\n', '\022', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'A', -'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '\022', '\n', '\004', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', -'t', 'y', 'p', 'e', ':', 'e', '\n', '\010', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', '\022', '\037', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', -'\301', '\344', '\262', '~', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', -'o', 'n', 's', '.', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\010', 'r', -'e', 's', 'o', 'u', 'r', 'c', 'e', 'B', ':', 'Z', '8', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', -'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', -'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[2] = { - &google_protobuf_descriptor_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_annotations_resource_proto_upbdefinit = { - deps, - &envoy_annotations_resource_proto_upb_file_layout, - "envoy/annotations/resource.proto", - UPB_STRINGVIEW_INIT(descriptor, 300) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h deleted file mode 100644 index 2aac38a3806..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/annotations/resource.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPBDEFS_H_ -#define ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_annotations_resource_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_annotations_ResourceAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_annotations_resource_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.annotations.ResourceAnnotation"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_ANNOTATIONS_RESOURCE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c deleted file mode 100644 index 40a199ef58a..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +++ /dev/null @@ -1,234 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/accesslog/v3/accesslog.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/accesslog/v3/accesslog.upbdefs.h" -#include "envoy/config/accesslog/v3/accesslog.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_route_v3_route_components_proto_upbdefinit; -extern _upb_DefPool_Init envoy_data_accesslog_v3_accesslog_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_matcher_v3_metadata_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[4736] = {'\n', ')', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '/', -'v', '3', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'p', 'r', 'o', 't', 'o', '\022', '\031', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '\032', '\037', 'e', 'n', 'v', -'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', -'o', 't', 'o', '\032', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', -'3', '/', 'r', 'o', 'u', 't', 'e', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', -'\'', 'e', 'n', 'v', 'o', 'y', '/', 'd', 'a', 't', 'a', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '/', 'v', '3', '/', -'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', -'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'p', 'r', -'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', -'t', '.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', -'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', -'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', -'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', -'d', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', -'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', -'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\356', '\001', '\n', '\t', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', '\022', '\022', '\n', '\004', -'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'B', '\n', '\006', 'f', 'i', 'l', 't', 'e', -'r', '\030', '\002', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', -'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'i', 'l', 't', 'e', -'r', 'R', '\006', 'f', 'i', 'l', 't', 'e', 'r', '\022', '9', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', -'\030', '\004', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'A', 'n', 'y', 'H', '\000', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', ':', '1', '\232', '\305', '\210', '\036', ',', -'\n', '*', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', -'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'B', '\r', '\n', '\013', 'c', 'o', -'n', 'f', 'i', 'g', '_', 't', 'y', 'p', 'e', 'J', '\004', '\010', '\003', '\020', '\004', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\"', '\312', -'\t', '\n', '\017', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'i', 'l', 't', 'e', 'r', '\022', '[', '\n', '\022', 's', 't', 'a', -'t', 'u', 's', '_', 'c', 'o', 'd', 'e', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '+', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', -'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'd', 'e', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\020', 's', 't', 'a', 't', 'u', -'s', 'C', 'o', 'd', 'e', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'T', '\n', '\017', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '_', 'f', -'i', 'l', 't', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'F', 'i', -'l', 't', 'e', 'r', 'H', '\000', 'R', '\016', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'h', '\n', -'\027', 'n', 'o', 't', '_', 'h', 'e', 'a', 'l', 't', 'h', '_', 'c', 'h', 'e', 'c', 'k', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', -'\003', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', -'s', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'N', 'o', 't', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'F', 'i', -'l', 't', 'e', 'r', 'H', '\000', 'R', '\024', 'n', 'o', 't', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'F', 'i', 'l', -'t', 'e', 'r', '\022', 'W', '\n', '\020', 't', 'r', 'a', 'c', 'e', 'a', 'b', 'l', 'e', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\004', -' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', -'s', 'l', 'o', 'g', '.', 'v', '3', '.', 'T', 'r', 'a', 'c', 'e', 'a', 'b', 'l', 'e', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', -'R', '\017', 't', 'r', 'a', 'c', 'e', 'a', 'b', 'l', 'e', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'Q', '\n', '\016', 'r', 'u', 'n', 't', -'i', 'm', 'e', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\005', ' ', '\001', '(', '\013', '2', '(', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', -'m', 'e', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\r', 'r', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', -'\022', 'E', '\n', '\n', 'a', 'n', 'd', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\006', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', -'n', 'd', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\t', 'a', 'n', 'd', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'B', '\n', '\t', -'o', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\007', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'O', 'r', 'F', 'i', 'l', 't', -'e', 'r', 'H', '\000', 'R', '\010', 'o', 'r', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'N', '\n', '\r', 'h', 'e', 'a', 'd', 'e', 'r', '_', -'f', 'i', 'l', 't', 'e', 'r', '\030', '\010', ' ', '\001', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'i', 'l', -'t', 'e', 'r', 'H', '\000', 'R', '\014', 'h', 'e', 'a', 'd', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'a', '\n', '\024', 'r', 'e', -'s', 'p', 'o', 'n', 's', 'e', '_', 'f', 'l', 'a', 'g', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\t', ' ', '\001', '(', '\013', '2', -'-', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', -'v', '3', '.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\022', -'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 'F', 'i', 'l', 't', 'e', 'r', '\022', '[', '\n', '\022', 'g', 'r', 'p', -'c', '_', 's', 't', 'a', 't', 'u', 's', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\n', ' ', '\001', '(', '\013', '2', '+', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', -'G', 'r', 'p', 'c', 'S', 't', 'a', 't', 'u', 's', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\020', 'g', 'r', 'p', 'c', 'S', -'t', 'a', 't', 'u', 's', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'W', '\n', '\020', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '_', -'f', 'i', 'l', 't', 'e', 'r', '\030', '\013', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', -'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\017', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'F', 'i', 'l', 't', 'e', 'r', -'\022', 'T', '\n', '\017', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\014', ' ', '\001', '(', '\013', -'2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', -'.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'F', 'i', 'l', 't', 'e', 'r', 'H', '\000', 'R', '\016', 'm', 'e', 't', -'a', 'd', 'a', 't', 'a', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'R', '\n', '\017', 'l', 'o', 'g', '_', 't', 'y', 'p', 'e', '_', 'f', -'i', 'l', 't', 'e', 'r', '\030', '\r', ' ', '\001', '(', '\013', '2', '(', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'L', 'o', 'g', 'T', 'y', 'p', 'e', 'F', 'i', 'l', -'t', 'e', 'r', 'H', '\000', 'R', '\r', 'l', 'o', 'g', 'T', 'y', 'p', 'e', 'F', 'i', 'l', 't', 'e', 'r', ':', '7', '\232', '\305', '\210', -'\036', '2', '\n', '0', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', -'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'i', 'l', 't', -'e', 'r', 'B', '\027', '\n', '\020', 'f', 'i', 'l', 't', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', -'B', '\001', '\"', '\371', '\001', '\n', '\020', 'C', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'H', -'\n', '\002', 'o', 'p', '\030', '\001', ' ', '\001', '(', '\016', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'C', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', 'F', -'i', 'l', 't', 'e', 'r', '.', 'O', 'p', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\002', 'o', 'p', '\022', 'C', '\n', -'\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'U', 'I', 'n', 't', '3', '2', 'B', -'\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'v', 'a', 'l', 'u', 'e', '\"', '\034', '\n', '\002', 'O', 'p', '\022', '\006', '\n', -'\002', 'E', 'Q', '\020', '\000', '\022', '\006', '\n', '\002', 'G', 'E', '\020', '\001', '\022', '\006', '\n', '\002', 'L', 'E', '\020', '\002', ':', '8', '\232', '\305', -'\210', '\036', '3', '\n', '1', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', -'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'C', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', 'F', 'i', -'l', 't', 'e', 'r', '\"', '\243', '\001', '\n', '\020', 'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'd', 'e', 'F', 'i', 'l', 't', 'e', 'r', -'\022', 'U', '\n', '\n', 'c', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '+', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'C', -'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', 'F', 'i', 'l', 't', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', -'R', '\n', 'c', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', ':', '8', '\232', '\305', '\210', '\036', '3', '\n', '1', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', -'.', 'v', '2', '.', 'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'd', 'e', 'F', 'i', 'l', 't', 'e', 'r', '\"', '\237', '\001', '\n', '\016', -'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'U', '\n', '\n', 'c', 'o', 'm', 'p', 'a', 'r', 'i', -'s', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '+', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'C', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', 'n', 'F', 'i', -'l', 't', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\n', 'c', 'o', 'm', 'p', 'a', 'r', 'i', 's', 'o', -'n', ':', '6', '\232', '\305', '\210', '\036', '1', '\n', '/', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', -'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', -'n', 'F', 'i', 'l', 't', 'e', 'r', '\"', 'T', '\n', '\024', 'N', 'o', 't', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', -'F', 'i', 'l', 't', 'e', 'r', ':', '<', '\232', '\305', '\210', '\036', '7', '\n', '5', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'N', 'o', -'t', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'F', 'i', 'l', 't', 'e', 'r', '\"', 'J', '\n', '\017', 'T', 'r', 'a', -'c', 'e', 'a', 'b', 'l', 'e', 'F', 'i', 'l', 't', 'e', 'r', ':', '7', '\232', '\305', '\210', '\036', '2', '\n', '0', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', -'.', 'v', '2', '.', 'T', 'r', 'a', 'c', 'e', 'a', 'b', 'l', 'e', 'F', 'i', 'l', 't', 'e', 'r', '\"', '\371', '\001', '\n', '\r', 'R', -'u', 'n', 't', 'i', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', '\022', '(', '\n', '\013', 'r', 'u', 'n', 't', 'i', 'm', 'e', '_', 'k', -'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\n', 'r', 'u', 'n', 't', 'i', 'm', -'e', 'K', 'e', 'y', '\022', 'I', '\n', '\017', 'p', 'e', 'r', 'c', 'e', 'n', 't', '_', 's', 'a', 'm', 'p', 'l', 'e', 'd', '\030', '\002', -' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', -'t', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\016', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'S', 'a', 'm', -'p', 'l', 'e', 'd', '\022', '<', '\n', '\032', 'u', 's', 'e', '_', 'i', 'n', 'd', 'e', 'p', 'e', 'n', 'd', 'e', 'n', 't', '_', 'r', -'a', 'n', 'd', 'o', 'm', 'n', 'e', 's', 's', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\030', 'u', 's', 'e', 'I', 'n', 'd', 'e', 'p', -'e', 'n', 'd', 'e', 'n', 't', 'R', 'a', 'n', 'd', 'o', 'm', 'n', 'e', 's', 's', ':', '5', '\232', '\305', '\210', '\036', '0', '\n', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', -'s', 'l', 'o', 'g', '.', 'v', '2', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', '\"', '\216', '\001', '\n', -'\t', 'A', 'n', 'd', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'N', '\n', '\007', 'f', 'i', 'l', 't', 'e', 'r', 's', '\030', '\001', ' ', '\003', -'(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', -'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'i', 'l', 't', 'e', 'r', 'B', '\010', '\372', 'B', -'\005', '\222', '\001', '\002', '\010', '\002', 'R', '\007', 'f', 'i', 'l', 't', 'e', 'r', 's', ':', '1', '\232', '\305', '\210', '\036', ',', '\n', '*', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', -'l', 'o', 'g', '.', 'v', '2', '.', 'A', 'n', 'd', 'F', 'i', 'l', 't', 'e', 'r', '\"', '\214', '\001', '\n', '\010', 'O', 'r', 'F', 'i', -'l', 't', 'e', 'r', '\022', 'N', '\n', '\007', 'f', 'i', 'l', 't', 'e', 'r', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', '*', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', -'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'i', 'l', 't', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\002', -'R', '\007', 'f', 'i', 'l', 't', 'e', 'r', 's', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', -'.', 'O', 'r', 'F', 'i', 'l', 't', 'e', 'r', '\"', '\214', '\001', '\n', '\014', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'i', 'l', 't', 'e', -'r', '\022', 'F', '\n', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', -'t', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\006', 'h', 'e', 'a', 'd', 'e', 'r', ':', '4', -'\232', '\305', '\210', '\036', '/', '\n', '-', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', -'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'i', 'l', 't', -'e', 'r', '\"', '\352', '\001', '\n', '\022', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 'F', 'i', 'l', 't', 'e', 'r', -'\022', '\227', '\001', '\n', '\005', 'f', 'l', 'a', 'g', 's', '\030', '\001', ' ', '\003', '(', '\t', 'B', '\200', '\001', '\372', 'B', '}', '\222', '\001', 'z', -'\"', 'x', 'r', 'v', 'R', '\002', 'L', 'H', 'R', '\002', 'U', 'H', 'R', '\002', 'U', 'T', 'R', '\002', 'L', 'R', 'R', '\002', 'U', 'R', 'R', -'\002', 'U', 'F', 'R', '\002', 'U', 'C', 'R', '\002', 'U', 'O', 'R', '\002', 'N', 'R', 'R', '\002', 'D', 'I', 'R', '\002', 'F', 'I', 'R', '\002', -'R', 'L', 'R', '\004', 'U', 'A', 'E', 'X', 'R', '\004', 'R', 'L', 'S', 'E', 'R', '\002', 'D', 'C', 'R', '\003', 'U', 'R', 'X', 'R', '\002', -'S', 'I', 'R', '\002', 'I', 'H', 'R', '\003', 'D', 'P', 'E', 'R', '\005', 'U', 'M', 'S', 'D', 'R', 'R', '\004', 'R', 'F', 'C', 'F', 'R', -'\004', 'N', 'F', 'C', 'F', 'R', '\002', 'D', 'T', 'R', '\003', 'U', 'P', 'E', 'R', '\002', 'N', 'C', 'R', '\002', 'O', 'M', 'R', '\005', 'f', -'l', 'a', 'g', 's', ':', ':', '\232', '\305', '\210', '\036', '5', '\n', '3', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'R', 'e', 's', 'p', -'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 'F', 'i', 'l', 't', 'e', 'r', '\"', '\200', '\004', '\n', '\020', 'G', 'r', 'p', 'c', 'S', 't', -'a', 't', 'u', 's', 'F', 'i', 'l', 't', 'e', 'r', '\022', ']', '\n', '\010', 's', 't', 'a', 't', 'u', 's', 'e', 's', '\030', '\001', ' ', -'\003', '(', '\016', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', -'l', 'o', 'g', '.', 'v', '3', '.', 'G', 'r', 'p', 'c', 'S', 't', 'a', 't', 'u', 's', 'F', 'i', 'l', 't', 'e', 'r', '.', 'S', -'t', 'a', 't', 'u', 's', 'B', '\r', '\372', 'B', '\n', '\222', '\001', '\007', '\"', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\010', 's', 't', 'a', -'t', 'u', 's', 'e', 's', '\022', '\030', '\n', '\007', 'e', 'x', 'c', 'l', 'u', 'd', 'e', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\007', 'e', -'x', 'c', 'l', 'u', 'd', 'e', '\"', '\270', '\002', '\n', '\006', 'S', 't', 'a', 't', 'u', 's', '\022', '\006', '\n', '\002', 'O', 'K', '\020', '\000', -'\022', '\014', '\n', '\010', 'C', 'A', 'N', 'C', 'E', 'L', 'E', 'D', '\020', '\001', '\022', '\013', '\n', '\007', 'U', 'N', 'K', 'N', 'O', 'W', 'N', -'\020', '\002', '\022', '\024', '\n', '\020', 'I', 'N', 'V', 'A', 'L', 'I', 'D', '_', 'A', 'R', 'G', 'U', 'M', 'E', 'N', 'T', '\020', '\003', '\022', -'\025', '\n', '\021', 'D', 'E', 'A', 'D', 'L', 'I', 'N', 'E', '_', 'E', 'X', 'C', 'E', 'E', 'D', 'E', 'D', '\020', '\004', '\022', '\r', '\n', -'\t', 'N', 'O', 'T', '_', 'F', 'O', 'U', 'N', 'D', '\020', '\005', '\022', '\022', '\n', '\016', 'A', 'L', 'R', 'E', 'A', 'D', 'Y', '_', 'E', -'X', 'I', 'S', 'T', 'S', '\020', '\006', '\022', '\025', '\n', '\021', 'P', 'E', 'R', 'M', 'I', 'S', 'S', 'I', 'O', 'N', '_', 'D', 'E', 'N', -'I', 'E', 'D', '\020', '\007', '\022', '\026', '\n', '\022', 'R', 'E', 'S', 'O', 'U', 'R', 'C', 'E', '_', 'E', 'X', 'H', 'A', 'U', 'S', 'T', -'E', 'D', '\020', '\010', '\022', '\027', '\n', '\023', 'F', 'A', 'I', 'L', 'E', 'D', '_', 'P', 'R', 'E', 'C', 'O', 'N', 'D', 'I', 'T', 'I', -'O', 'N', '\020', '\t', '\022', '\013', '\n', '\007', 'A', 'B', 'O', 'R', 'T', 'E', 'D', '\020', '\n', '\022', '\020', '\n', '\014', 'O', 'U', 'T', '_', -'O', 'F', '_', 'R', 'A', 'N', 'G', 'E', '\020', '\013', '\022', '\021', '\n', '\r', 'U', 'N', 'I', 'M', 'P', 'L', 'E', 'M', 'E', 'N', 'T', -'E', 'D', '\020', '\014', '\022', '\014', '\n', '\010', 'I', 'N', 'T', 'E', 'R', 'N', 'A', 'L', '\020', '\r', '\022', '\017', '\n', '\013', 'U', 'N', 'A', -'V', 'A', 'I', 'L', 'A', 'B', 'L', 'E', '\020', '\016', '\022', '\r', '\n', '\t', 'D', 'A', 'T', 'A', '_', 'L', 'O', 'S', 'S', '\020', '\017', -'\022', '\023', '\n', '\017', 'U', 'N', 'A', 'U', 'T', 'H', 'E', 'N', 'T', 'I', 'C', 'A', 'T', 'E', 'D', '\020', '\020', ':', '8', '\232', '\305', -'\210', '\036', '3', '\n', '1', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', -'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'G', 'r', 'p', 'c', 'S', 't', 'a', 't', 'u', 's', 'F', 'i', -'l', 't', 'e', 'r', '\"', '\332', '\001', '\n', '\016', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'F', 'i', 'l', 't', 'e', 'r', '\022', '@', -'\n', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', -'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', -'t', 'c', 'h', 'e', 'r', 'R', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'N', '\n', '\026', 'm', 'a', 't', 'c', 'h', '_', 'i', -'f', '_', 'k', 'e', 'y', '_', 'n', 'o', 't', '_', 'f', 'o', 'u', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', -'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', -'\022', 'm', 'a', 't', 'c', 'h', 'I', 'f', 'K', 'e', 'y', 'N', 'o', 't', 'F', 'o', 'u', 'n', 'd', ':', '6', '\232', '\305', '\210', '\036', -'1', '\n', '/', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', -'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'F', 'i', 'l', 't', 'e', 'r', -'\"', 'v', '\n', '\r', 'L', 'o', 'g', 'T', 'y', 'p', 'e', 'F', 'i', 'l', 't', 'e', 'r', '\022', 'K', '\n', '\005', 't', 'y', 'p', 'e', -'s', '\030', '\001', ' ', '\003', '(', '\016', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', -'s', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'T', 'y', 'p', 'e', 'B', '\r', '\372', -'B', '\n', '\222', '\001', '\007', '\"', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\005', 't', 'y', 'p', 'e', 's', '\022', '\030', '\n', '\007', 'e', 'x', -'c', 'l', 'u', 'd', 'e', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\007', 'e', 'x', 'c', 'l', 'u', 'd', 'e', '\"', '\266', '\001', '\n', '\017', -'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'F', 'i', 'l', 't', 'e', 'r', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', -' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '9', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', -'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'.', 'A', 'n', 'y', 'H', '\000', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', ':', '7', '\232', '\305', '\210', '\036', -'2', '\n', '0', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'a', 'c', -'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'F', 'i', 'l', 't', 'e', -'r', 'B', '\r', '\n', '\013', 'c', 'o', 'n', 'f', 'i', 'g', '_', 't', 'y', 'p', 'e', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\006', 'c', -'o', 'n', 'f', 'i', 'g', 'B', '\221', '\001', '\n', '\'', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', 'B', -'\016', 'A', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'L', 'g', 'i', 't', 'h', 'u', 'b', -'.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', -'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'a', 'c', 'c', 'e', -'s', 's', 'l', 'o', 'g', '/', 'v', '3', ';', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', 'v', '3', '\272', '\200', '\310', '\321', '\006', -'\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[11] = { - &envoy_config_core_v3_base_proto_upbdefinit, - &envoy_config_route_v3_route_components_proto_upbdefinit, - &envoy_data_accesslog_v3_accesslog_proto_upbdefinit, - &envoy_type_matcher_v3_metadata_proto_upbdefinit, - &envoy_type_v3_percent_proto_upbdefinit, - &google_protobuf_any_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_accesslog_v3_accesslog_proto_upbdefinit = { - deps, - &envoy_config_accesslog_v3_accesslog_proto_upb_file_layout, - "envoy/config/accesslog/v3/accesslog.proto", - UPB_STRINGVIEW_INIT(descriptor, 4736) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h deleted file mode 100644 index bf6a0e85958..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +++ /dev/null @@ -1,111 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/accesslog/v3/accesslog.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPBDEFS_H_ -#define ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_config_accesslog_v3_accesslog_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_AccessLog_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.AccessLog"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_AccessLogFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.AccessLogFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_ComparisonFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.ComparisonFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_StatusCodeFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.StatusCodeFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_DurationFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.DurationFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_NotHealthCheckFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.NotHealthCheckFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_TraceableFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.TraceableFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_RuntimeFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.RuntimeFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_AndFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.AndFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_OrFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.OrFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_HeaderFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.HeaderFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_ResponseFlagFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.ResponseFlagFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_GrpcStatusFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.GrpcStatusFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_MetadataFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.MetadataFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_LogTypeFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.LogTypeFilter"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_accesslog_v3_ExtensionFilter_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.accesslog.v3.ExtensionFilter"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_ACCESSLOG_V3_ACCESSLOG_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c deleted file mode 100644 index 6deaf808563..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +++ /dev/null @@ -1,408 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/bootstrap/v3/bootstrap.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/bootstrap/v3/bootstrap.upbdefs.h" -#include "envoy/config/bootstrap/v3/bootstrap.upb.h" - -extern _upb_DefPool_Init envoy_config_accesslog_v3_accesslog_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_cluster_v3_cluster_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_config_source_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_event_service_config_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_resolver_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_socket_option_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_listener_v3_listener_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_metrics_v3_stats_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_overload_v3_overload_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_trace_v3_http_tracer_proto_upbdefinit; -extern _upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_secret_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_security_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[8400] = {'\n', ')', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '/', -'v', '3', '/', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'p', 'r', 'o', 't', 'o', '\022', '\031', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '\032', ')', 'e', 'n', 'v', -'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '/', 'v', '3', '/', 'a', 'c', -'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '%', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', -'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'p', 'r', 'o', -'t', 'o', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', -'a', 'd', 'd', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', -'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', -'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'n', 'f', 'i', 'g', -'_', 's', 'o', 'u', 'r', 'c', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', -'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'v', 'e', 'n', 't', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '_', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', -'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', -'\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'r', 'e', -'s', 'o', 'l', 'v', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', -'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 's', 'o', 'c', 'k', 'e', 't', '_', 'o', 'p', 't', 'i', 'o', 'n', '.', 'p', -'r', 'o', 't', 'o', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'l', 'i', 's', 't', 'e', 'n', -'e', 'r', '/', 'v', '3', '/', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', -'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'm', 'e', 't', 'r', 'i', 'c', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', -'s', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'o', 'v', 'e', -'r', 'l', 'o', 'a', 'd', '/', 'v', '3', '/', 'o', 'v', 'e', 'r', 'l', 'o', 'a', 'd', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', -'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', '/', 'h', 't', 't', -'p', '_', 't', 'r', 'a', 'c', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '6', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', -'e', 'n', 's', 'i', 'o', 'n', 's', '/', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', -'/', 't', 'l', 's', '/', 'v', '3', '/', 's', 'e', 'c', 'r', 'e', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', -'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', -'\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', -'.', 'p', 'r', 'o', 't', 'o', '\032', '\034', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 's', -'t', 'r', 'u', 'c', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', -'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', -'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', -'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', -'t', 'i', 'o', 'n', 's', '/', 's', 'e', 'c', 'u', 'r', 'i', 't', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', -'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', -'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', -'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', -'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\335', '\034', '\n', '\t', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', -'\022', '.', '\n', '\004', 'n', 'o', 'd', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'N', 'o', 'd', 'e', 'R', '\004', 'n', 'o', 'd', 'e', '\022', '.', -'\n', '\023', 'n', 'o', 'd', 'e', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', 'p', 'a', 'r', 'a', 'm', 's', '\030', '\032', ' ', '\003', -'(', '\t', 'R', '\021', 'n', 'o', 'd', 'e', 'C', 'o', 'n', 't', 'e', 'x', 't', 'P', 'a', 'r', 'a', 'm', 's', '\022', '_', '\n', '\020', -'s', 't', 'a', 't', 'i', 'c', '_', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '4', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', -'.', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'S', 't', 'a', 't', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', -'s', 'R', '\017', 's', 't', 'a', 't', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '\022', 'b', '\n', '\021', 'd', 'y', 'n', -'a', 'm', 'i', 'c', '_', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '5', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'B', -'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', -'R', '\020', 'd', 'y', 'n', 'a', 'm', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '\022', 'R', '\n', '\017', 'c', 'l', 'u', -'s', 't', 'e', 'r', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '\030', '\004', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'C', 'l', 'u', -'s', 't', 'e', 'r', 'M', 'a', 'n', 'a', 'g', 'e', 'r', 'R', '\016', 'c', 'l', 'u', 's', 't', 'e', 'r', 'M', 'a', 'n', 'a', 'g', -'e', 'r', '\022', 'D', '\n', '\n', 'h', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\016', ' ', '\001', '(', '\013', '2', '%', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'p', 'i', 'C', -'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\t', 'h', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\035', '\n', -'\n', 'f', 'l', 'a', 'g', 's', '_', 'p', 'a', 't', 'h', '\030', '\005', ' ', '\001', '(', '\t', 'R', '\t', 'f', 'l', 'a', 'g', 's', 'P', -'a', 't', 'h', '\022', 'C', '\n', '\013', 's', 't', 'a', 't', 's', '_', 's', 'i', 'n', 'k', 's', '\030', '\006', ' ', '\003', '(', '\013', '2', -'\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'm', 'e', 't', 'r', 'i', 'c', 's', '.', 'v', '3', -'.', 'S', 't', 'a', 't', 's', 'S', 'i', 'n', 'k', 'R', '\n', 's', 't', 'a', 't', 's', 'S', 'i', 'n', 'k', 's', '\022', 'G', '\n', -'\014', 's', 't', 'a', 't', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\r', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'm', 'e', 't', 'r', 'i', 'c', 's', '.', 'v', '3', '.', 'S', 't', 'a', 't', -'s', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\013', 's', 't', 'a', 't', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'q', '\n', '\024', 's', -'t', 'a', 't', 's', '_', 'f', 'l', 'u', 's', 'h', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\007', ' ', '\001', '(', '\013', -'2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', -'o', 'n', 'B', '$', '\372', 'B', '\016', '\252', '\001', '\013', '\032', '\003', '\010', '\254', '\002', '2', '\004', '\020', '\300', '\204', '=', '\362', '\230', '\376', '\217', -'\005', '\r', '\022', '\013', 's', 't', 'a', 't', 's', '_', 'f', 'l', 'u', 's', 'h', 'R', '\022', 's', 't', 'a', 't', 's', 'F', 'l', 'u', -'s', 'h', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\022', ':', '\n', '\024', 's', 't', 'a', 't', 's', '_', 'f', 'l', 'u', 's', 'h', -'_', 'o', 'n', '_', 'a', 'd', 'm', 'i', 'n', '\030', '\035', ' ', '\001', '(', '\010', 'B', '\007', '\372', 'B', '\004', 'j', '\002', '\010', '\001', 'H', -'\000', 'R', '\021', 's', 't', 'a', 't', 's', 'F', 'l', 'u', 's', 'h', 'O', 'n', 'A', 'd', 'm', 'i', 'n', '\022', 'L', '\n', '\010', 'w', -'a', 't', 'c', 'h', 'd', 'o', 'g', '\030', '\010', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', -'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\010', 'w', 'a', 't', 'c', 'h', 'd', 'o', 'g', '\022', 'B', -'\n', '\t', 'w', 'a', 't', 'c', 'h', 'd', 'o', 'g', 's', '\030', '\033', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'W', 'a', 't', 'c', -'h', 'd', 'o', 'g', 's', 'R', '\t', 'w', 'a', 't', 'c', 'h', 'd', 'o', 'g', 's', '\022', 'E', '\n', '\007', 't', 'r', 'a', 'c', 'i', -'n', 'g', '\030', '\t', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', -'r', 'a', 'c', 'e', '.', 'v', '3', '.', 'T', 'r', 'a', 'c', 'i', 'n', 'g', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', -'3', '.', '0', 'R', '\007', 't', 'r', 'a', 'c', 'i', 'n', 'g', '\022', 'R', '\n', '\017', 'l', 'a', 'y', 'e', 'r', 'e', 'd', '_', 'r', -'u', 'n', 't', 'i', 'm', 'e', '\030', '\021', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'L', 'a', 'y', 'e', 'r', 'e', 'd', 'R', 'u', -'n', 't', 'i', 'm', 'e', 'R', '\016', 'l', 'a', 'y', 'e', 'r', 'e', 'd', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', '6', '\n', '\005', -'a', 'd', 'm', 'i', 'n', '\030', '\014', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'A', 'd', 'm', 'i', 'n', 'R', '\005', 'a', 'd', 'm', -'i', 'n', '\022', '_', '\n', '\020', 'o', 'v', 'e', 'r', 'l', 'o', 'a', 'd', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '\030', '\017', ' ', -'\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'o', 'v', 'e', 'r', 'l', 'o', -'a', 'd', '.', 'v', '3', '.', 'O', 'v', 'e', 'r', 'l', 'o', 'a', 'd', 'M', 'a', 'n', 'a', 'g', 'e', 'r', 'B', '\t', '\212', '\223', -'\267', '*', '\004', '\010', '\001', '\020', '\001', 'R', '\017', 'o', 'v', 'e', 'r', 'l', 'o', 'a', 'd', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '\022', -'6', '\n', '\027', 'e', 'n', 'a', 'b', 'l', 'e', '_', 'd', 'i', 's', 'p', 'a', 't', 'c', 'h', 'e', 'r', '_', 's', 't', 'a', 't', -'s', '\030', '\020', ' ', '\001', '(', '\010', 'R', '\025', 'e', 'n', 'a', 'b', 'l', 'e', 'D', 'i', 's', 'p', 'a', 't', 'c', 'h', 'e', 'r', -'S', 't', 'a', 't', 's', '\022', '#', '\n', '\r', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\022', ' ', -'\001', '(', '\t', 'R', '\014', 'h', 'e', 'a', 'd', 'e', 'r', 'P', 'r', 'e', 'f', 'i', 'x', '\022', '_', '\n', '\035', 's', 't', 'a', 't', -'s', '_', 's', 'e', 'r', 'v', 'e', 'r', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '_', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', -'\030', '\023', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'U', 'I', 'n', 't', '6', '4', 'V', 'a', 'l', 'u', 'e', 'R', '\032', 's', 't', 'a', 't', 's', 'S', 'e', 'r', 'v', 'e', 'r', 'V', -'e', 'r', 's', 'i', 'o', 'n', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '\022', 'A', '\n', '\027', 'u', 's', 'e', '_', 't', 'c', 'p', -'_', 'f', 'o', 'r', '_', 'd', 'n', 's', '_', 'l', 'o', 'o', 'k', 'u', 'p', 's', '\030', '\024', ' ', '\001', '(', '\010', 'B', '\013', '\030', -'\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\023', 'u', 's', 'e', 'T', 'c', 'p', 'F', 'o', 'r', 'D', 'n', 's', 'L', -'o', 'o', 'k', 'u', 'p', 's', '\022', 'j', '\n', '\025', 'd', 'n', 's', '_', 'r', 'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', '_', -'c', 'o', 'n', 'f', 'i', 'g', '\030', '\036', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'n', 's', 'R', 'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', 'C', -'o', 'n', 'f', 'i', 'g', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\023', 'd', 'n', 's', 'R', 'e', -'s', 'o', 'l', 'u', 't', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'e', '\n', '\031', 't', 'y', 'p', 'e', 'd', '_', 'd', -'n', 's', '_', 'r', 'e', 's', 'o', 'l', 'v', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\037', ' ', '\001', '(', '\013', '2', -'*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', -'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\026', 't', 'y', 'p', 'e', 'd', -'D', 'n', 's', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', ']', '\n', '\024', 'b', 'o', 'o', 't', -'s', 't', 'r', 'a', 'p', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '\030', '\025', ' ', '\003', '(', '\013', '2', '*', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', -'d', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\023', 'b', 'o', 'o', 't', 's', 't', 'r', -'a', 'p', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '\022', 'K', '\n', '\r', 'f', 'a', 't', 'a', 'l', '_', 'a', 'c', 't', -'i', 'o', 'n', 's', '\030', '\034', ' ', '\003', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'F', 'a', 't', 'a', 'l', 'A', 'c', 't', 'i', 'o', 'n', -'R', '\014', 'f', 'a', 't', 'a', 'l', 'A', 'c', 't', 'i', 'o', 'n', 's', '\022', 'I', '\n', '\016', 'c', 'o', 'n', 'f', 'i', 'g', '_', -'s', 'o', 'u', 'r', 'c', 'e', 's', '\030', '\026', ' ', '\003', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', -'\r', 'c', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 's', '\022', 'V', '\n', '\025', 'd', 'e', 'f', 'a', 'u', 'l', 't', -'_', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', 'r', 'c', 'e', '\030', '\027', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', -'S', 'o', 'u', 'r', 'c', 'e', 'R', '\023', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', -'c', 'e', '\022', '8', '\n', '\030', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 's', 'o', 'c', 'k', 'e', 't', '_', 'i', 'n', 't', 'e', -'r', 'f', 'a', 'c', 'e', '\030', '\030', ' ', '\001', '(', '\t', 'R', '\026', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'S', 'o', 'c', 'k', 'e', -'t', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', '\022', '\214', '\001', '\n', '\036', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', -'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '_', 'i', 'n', 's', 't', 'a', 'n', 'c', 'e', 's', '\030', '\031', ' ', '\003', '(', -'\013', '2', 'F', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', -'p', '.', 'v', '3', '.', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', -'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', 's', 'E', 'n', 't', 'r', 'y', 'R', '\034', -'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', -'c', 'e', 's', '\022', 'T', '\n', '\016', 'i', 'n', 'l', 'i', 'n', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', ' ', ' ', '\003', -'(', '\013', '2', '-', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', -'a', 'p', '.', 'v', '3', '.', 'C', 'u', 's', 't', 'o', 'm', 'I', 'n', 'l', 'i', 'n', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 'R', -'\r', 'i', 'n', 'l', 'i', 'n', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', '3', '\n', '\026', 'p', 'e', 'r', 'f', '_', 't', 'r', -'a', 'c', 'i', 'n', 'g', '_', 'f', 'i', 'l', 'e', '_', 'p', 'a', 't', 'h', '\030', '!', ' ', '\001', '(', '\t', 'R', '\023', 'p', 'e', -'r', 'f', 'T', 'r', 'a', 'c', 'i', 'n', 'g', 'F', 'i', 'l', 'e', 'P', 'a', 't', 'h', '\022', '\\', '\n', '\024', 'd', 'e', 'f', 'a', -'u', 'l', 't', '_', 'r', 'e', 'g', 'e', 'x', '_', 'e', 'n', 'g', 'i', 'n', 'e', '\030', '\"', ' ', '\001', '(', '\013', '2', '*', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', -'d', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\022', 'd', 'e', 'f', 'a', 'u', 'l', 't', -'R', 'e', 'g', 'e', 'x', 'E', 'n', 'g', 'i', 'n', 'e', '\022', '`', '\n', '\026', 'x', 'd', 's', '_', 'd', 'e', 'l', 'e', 'g', 'a', -'t', 'e', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '#', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', -'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\024', 'x', 'd', 's', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', -'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\022', 'k', '\n', '\034', 'x', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '_', 't', -'r', 'a', 'c', 'k', 'e', 'r', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '$', ' ', '\001', '(', '\013', '2', '*', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', -'d', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\031', 'x', 'd', 's', 'C', 'o', 'n', 'f', -'i', 'g', 'T', 'r', 'a', 'c', 'k', 'e', 'r', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\022', 'U', '\n', '\020', 'l', 'i', 's', -'t', 'e', 'n', 'e', 'r', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '\030', '%', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', -'t', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\017', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', 'M', 'a', -'n', 'a', 'g', 'e', 'r', '\032', '\232', '\002', '\n', '\017', 'S', 't', 'a', 't', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', -'\022', '@', '\n', '\t', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'L', 'i', 's', -'t', 'e', 'n', 'e', 'r', 'R', '\t', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', 's', '\022', '<', '\n', '\010', 'c', 'l', 'u', 's', 't', -'e', 'r', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'R', '\010', 'c', 'l', 'u', 's', 't', -'e', 'r', 's', '\022', 'K', '\n', '\007', 's', 'e', 'c', 'r', 'e', 't', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '1', '.', 'e', 'n', -'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', -'s', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'S', 'e', 'c', 'r', 'e', 't', 'R', '\007', 's', 'e', -'c', 'r', 'e', 't', 's', ':', ':', '\232', '\305', '\210', '\036', '5', '\n', '3', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', -'S', 't', 'a', 't', 'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '\032', '\211', '\003', '\n', '\020', 'D', 'y', 'n', 'a', 'm', -'i', 'c', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '\022', 'A', '\n', '\n', 'l', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', -'\030', '\001', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', -'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\t', 'l', 'd', 's', 'C', 'o', 'n', -'f', 'i', 'g', '\022', '2', '\n', '\025', 'l', 'd', 's', '_', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '_', 'l', 'o', 'c', 'a', -'t', 'o', 'r', '\030', '\005', ' ', '\001', '(', '\t', 'R', '\023', 'l', 'd', 's', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', 'L', 'o', -'c', 'a', 't', 'o', 'r', '\022', 'A', '\n', '\n', 'c', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', -'2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', -'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\t', 'c', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '2', '\n', -'\025', 'c', 'd', 's', '_', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', '_', 'l', 'o', 'c', 'a', 't', 'o', 'r', '\030', '\006', ' ', -'\001', '(', '\t', 'R', '\023', 'c', 'd', 's', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', 'L', 'o', 'c', 'a', 't', 'o', 'r', '\022', -'D', '\n', '\n', 'a', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'p', 'i', 'C', 'o', 'n', 'f', -'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\t', 'a', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', ':', ';', '\232', '\305', '\210', '\036', -'6', '\n', '4', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', -'.', 'v', '2', '.', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'R', 'e', 's', 'o', -'u', 'r', 'c', 'e', 's', 'J', '\004', '\010', '\004', '\020', '\005', '\032', '{', '\n', '!', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', -'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', -'\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '@', '\n', '\005', 'v', 'a', 'l', 'u', 'e', -'\030', '\002', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', -'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', -'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', ':', '*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'B', 'o', 'o', 't', -'s', 't', 'r', 'a', 'p', 'B', '\r', '\n', '\013', 's', 't', 'a', 't', 's', '_', 'f', 'l', 'u', 's', 'h', 'J', '\004', '\010', '\n', '\020', -'\013', 'J', '\004', '\010', '\013', '\020', '\014', 'R', '\007', 'r', 'u', 'n', 't', 'i', 'm', 'e', '\"', '\211', '\003', '\n', '\005', 'A', 'd', 'm', 'i', -'n', '\022', 'C', '\n', '\n', 'a', 'c', 'c', 'e', 's', 's', '_', 'l', 'o', 'g', '\030', '\005', ' ', '\003', '(', '\013', '2', '$', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', -'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'R', '\t', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', '\022', '3', '\n', '\017', 'a', -'c', 'c', 'e', 's', 's', '_', 'l', 'o', 'g', '_', 'p', 'a', 't', 'h', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\013', '\030', '\001', '\222', -'\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\r', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'P', 'a', 't', 'h', '\022', '!', -'\n', '\014', 'p', 'r', 'o', 'f', 'i', 'l', 'e', '_', 'p', 'a', 't', 'h', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\013', 'p', 'r', 'o', -'f', 'i', 'l', 'e', 'P', 'a', 't', 'h', '\022', '7', '\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\003', ' ', '\001', '(', '\013', -'2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', -'d', 'd', 'r', 'e', 's', 's', 'R', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', 'I', '\n', '\016', 's', 'o', 'c', 'k', 'e', 't', -'_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\004', ' ', '\003', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', -'R', '\r', 's', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '7', '\n', '\030', 'i', 'g', 'n', 'o', 'r', 'e', -'_', 'g', 'l', 'o', 'b', 'a', 'l', '_', 'c', 'o', 'n', 'n', '_', 'l', 'i', 'm', 'i', 't', '\030', '\006', ' ', '\001', '(', '\010', 'R', -'\025', 'i', 'g', 'n', 'o', 'r', 'e', 'G', 'l', 'o', 'b', 'a', 'l', 'C', 'o', 'n', 'n', 'L', 'i', 'm', 'i', 't', ':', '&', '\232', -'\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', -'r', 'a', 'p', '.', 'v', '2', '.', 'A', 'd', 'm', 'i', 'n', '\"', '\313', '\004', '\n', '\016', 'C', 'l', 'u', 's', 't', 'e', 'r', 'M', -'a', 'n', 'a', 'g', 'e', 'r', '\022', ',', '\n', '\022', 'l', 'o', 'c', 'a', 'l', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'n', -'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\020', 'l', 'o', 'c', 'a', 'l', 'C', 'l', 'u', 's', 't', 'e', 'r', 'N', 'a', -'m', 'e', '\022', 'g', '\n', '\021', 'o', 'u', 't', 'l', 'i', 'e', 'r', '_', 'd', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', '\030', '\002', -' ', '\001', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', -'t', 'r', 'a', 'p', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'O', 'u', -'t', 'l', 'i', 'e', 'r', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', 'R', '\020', 'o', 'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', -'t', 'e', 'c', 't', 'i', 'o', 'n', '\022', 'R', '\n', '\024', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'b', 'i', 'n', 'd', '_', -'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'B', 'i', 'n', 'd', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\022', 'u', 'p', -'s', 't', 'r', 'e', 'a', 'm', 'B', 'i', 'n', 'd', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'Q', '\n', '\021', 'l', 'o', 'a', 'd', '_', -'s', 't', 'a', 't', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'p', 'i', 'C', 'o', 'n', 'f', 'i', -'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\017', 'l', 'o', 'a', 'd', 'S', 't', 'a', 't', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\032', -'\311', '\001', '\n', '\020', 'O', 'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', '\022', '$', '\n', '\016', 'e', -'v', 'e', 'n', 't', '_', 'l', 'o', 'g', '_', 'p', 'a', 't', 'h', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\014', 'e', 'v', 'e', 'n', -'t', 'L', 'o', 'g', 'P', 'a', 't', 'h', '\022', 'M', '\n', '\r', 'e', 'v', 'e', 'n', 't', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', -'\030', '\002', ' ', '\001', '(', '\013', '2', '(', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', -'e', '.', 'v', '3', '.', 'E', 'v', 'e', 'n', 't', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\014', -'e', 'v', 'e', 'n', 't', 'S', 'e', 'r', 'v', 'i', 'c', 'e', ':', '@', '\232', '\305', '\210', '\036', ';', '\n', '9', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'C', 'l', 'u', -'s', 't', 'e', 'r', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'O', 'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', 't', 'e', 'c', 't', -'i', 'o', 'n', ':', '/', '\232', '\305', '\210', '\036', '*', '\n', '(', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'M', 'a', 'n', 'a', 'g', -'e', 'r', '\"', '\260', '\001', '\n', '\t', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', 's', '\022', 'U', '\n', '\024', 'm', 'a', 'i', 'n', '_', -'t', 'h', 'r', 'e', 'a', 'd', '_', 'w', 'a', 't', 'c', 'h', 'd', 'o', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', -'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', 'R', '\022', 'm', 'a', 'i', 'n', 'T', 'h', 'r', 'e', 'a', 'd', 'W', 'a', 't', 'c', 'h', -'d', 'o', 'g', '\022', 'L', '\n', '\017', 'w', 'o', 'r', 'k', 'e', 'r', '_', 'w', 'a', 't', 'c', 'h', 'd', 'o', 'g', '\030', '\002', ' ', -'\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', -'r', 'a', 'p', '.', 'v', '3', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', 'R', '\016', 'w', 'o', 'r', 'k', 'e', 'r', 'W', 'a', -'t', 'c', 'h', 'd', 'o', 'g', '\"', '\272', '\006', '\n', '\010', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', '\022', 'L', '\n', '\007', 'a', 'c', -'t', 'i', 'o', 'n', 's', '\030', '\007', ' ', '\003', '(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', '.', 'W', -'a', 't', 'c', 'h', 'd', 'o', 'g', 'A', 'c', 't', 'i', 'o', 'n', 'R', '\007', 'a', 'c', 't', 'i', 'o', 'n', 's', '\022', '<', '\n', -'\014', 'm', 'i', 's', 's', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\013', 'm', 'i', -'s', 's', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'D', '\n', '\020', 'm', 'e', 'g', 'a', 'm', 'i', 's', 's', '_', 't', 'i', 'm', -'e', 'o', 'u', 't', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\017', 'm', 'e', 'g', 'a', 'm', 'i', 's', 's', 'T', 'i', 'm', -'e', 'o', 'u', 't', '\022', '<', '\n', '\014', 'k', 'i', 'l', 'l', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\003', ' ', '\001', '(', -'\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', -'i', 'o', 'n', 'R', '\013', 'k', 'i', 'l', 'l', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'Z', '\n', '\027', 'm', 'a', 'x', '_', 'k', -'i', 'l', 'l', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '_', 'j', 'i', 't', 't', 'e', 'r', '\030', '\006', ' ', '\001', '(', '\013', '2', -'\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', -'n', 'B', '\010', '\372', 'B', '\005', '\252', '\001', '\002', '2', '\000', 'R', '\024', 'm', 'a', 'x', 'K', 'i', 'l', 'l', 'T', 'i', 'm', 'e', 'o', -'u', 't', 'J', 'i', 't', 't', 'e', 'r', '\022', 'F', '\n', '\021', 'm', 'u', 'l', 't', 'i', 'k', 'i', 'l', 'l', '_', 't', 'i', 'm', -'e', 'o', 'u', 't', '\030', '\004', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\020', 'm', 'u', 'l', 't', 'i', 'k', 'i', 'l', 'l', 'T', 'i', -'m', 'e', 'o', 'u', 't', '\022', 'G', '\n', '\023', 'm', 'u', 'l', 't', 'i', 'k', 'i', 'l', 'l', '_', 't', 'h', 'r', 'e', 's', 'h', -'o', 'l', 'd', '\030', '\005', ' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', -'.', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\022', 'm', 'u', 'l', 't', 'i', 'k', 'i', 'l', 'l', 'T', 'h', 'r', 'e', 's', 'h', -'o', 'l', 'd', '\032', '\205', '\002', '\n', '\016', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', 'A', 'c', 't', 'i', 'o', 'n', '\022', 'B', '\n', -'\006', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', -'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\022', '`', '\n', '\005', 'e', 'v', 'e', 'n', 't', '\030', -'\002', ' ', '\001', '(', '\016', '2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', -'s', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', -'g', 'A', 'c', 't', 'i', 'o', 'n', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', 'E', 'v', 'e', 'n', 't', 'B', '\010', '\372', 'B', -'\005', '\202', '\001', '\002', '\020', '\001', 'R', '\005', 'e', 'v', 'e', 'n', 't', '\"', 'M', '\n', '\r', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', -'E', 'v', 'e', 'n', 't', '\022', '\013', '\n', '\007', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\010', '\n', '\004', 'K', 'I', 'L', -'L', '\020', '\001', '\022', '\r', '\n', '\t', 'M', 'U', 'L', 'T', 'I', 'K', 'I', 'L', 'L', '\020', '\002', '\022', '\014', '\n', '\010', 'M', 'E', 'G', -'A', 'M', 'I', 'S', 'S', '\020', '\003', '\022', '\010', '\n', '\004', 'M', 'I', 'S', 'S', '\020', '\004', ':', ')', '\232', '\305', '\210', '\036', '$', '\n', -'\"', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', -'2', '.', 'W', 'a', 't', 'c', 'h', 'd', 'o', 'g', '\"', 'Q', '\n', '\013', 'F', 'a', 't', 'a', 'l', 'A', 'c', 't', 'i', 'o', 'n', -'\022', 'B', '\n', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', -'s', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\"', '\334', '\001', '\n', '\007', 'R', 'u', -'n', 't', 'i', 'm', 'e', '\022', '!', '\n', '\014', 's', 'y', 'm', 'l', 'i', 'n', 'k', '_', 'r', 'o', 'o', 't', '\030', '\001', ' ', '\001', -'(', '\t', 'R', '\013', 's', 'y', 'm', 'l', 'i', 'n', 'k', 'R', 'o', 'o', 't', '\022', '\"', '\n', '\014', 's', 'u', 'b', 'd', 'i', 'r', -'e', 'c', 't', 'o', 'r', 'y', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\014', 's', 'u', 'b', 'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', -'y', '\022', '3', '\n', '\025', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '_', 's', 'u', 'b', 'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', -'y', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\024', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'S', 'u', 'b', 'd', 'i', 'r', 'e', 'c', -'t', 'o', 'r', 'y', '\022', '+', '\n', '\004', 'b', 'a', 's', 'e', '\030', '\004', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'R', '\004', 'b', 'a', 's', 'e', ':', -'(', '\232', '\305', '\210', '\036', '#', '\n', '!', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', -'s', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\"', '\333', '\006', '\n', '\014', 'R', 'u', 'n', 't', -'i', 'm', 'e', 'L', 'a', 'y', 'e', 'r', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', -'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '<', '\n', '\014', 's', 't', 'a', 't', 'i', 'c', '_', 'l', 'a', -'y', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', -'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'H', '\000', 'R', '\013', 's', 't', 'a', 't', 'i', 'c', 'L', 'a', 'y', 'e', 'r', '\022', -'R', '\n', '\n', 'd', 'i', 's', 'k', '_', 'l', 'a', 'y', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', '1', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'R', 'u', -'n', 't', 'i', 'm', 'e', 'L', 'a', 'y', 'e', 'r', '.', 'D', 'i', 's', 'k', 'L', 'a', 'y', 'e', 'r', 'H', '\000', 'R', '\t', 'd', -'i', 's', 'k', 'L', 'a', 'y', 'e', 'r', '\022', 'U', '\n', '\013', 'a', 'd', 'm', 'i', 'n', '_', 'l', 'a', 'y', 'e', 'r', '\030', '\004', -' ', '\001', '(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', -'t', 'r', 'a', 'p', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'L', 'a', 'y', 'e', 'r', '.', 'A', 'd', 'm', 'i', -'n', 'L', 'a', 'y', 'e', 'r', 'H', '\000', 'R', '\n', 'a', 'd', 'm', 'i', 'n', 'L', 'a', 'y', 'e', 'r', '\022', 'R', '\n', '\n', 'r', -'t', 'd', 's', '_', 'l', 'a', 'y', 'e', 'r', '\030', '\005', ' ', '\001', '(', '\013', '2', '1', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', -'e', 'L', 'a', 'y', 'e', 'r', '.', 'R', 't', 'd', 's', 'L', 'a', 'y', 'e', 'r', 'H', '\000', 'R', '\t', 'r', 't', 'd', 's', 'L', -'a', 'y', 'e', 'r', '\032', '\301', '\001', '\n', '\t', 'D', 'i', 's', 'k', 'L', 'a', 'y', 'e', 'r', '\022', '!', '\n', '\014', 's', 'y', 'm', -'l', 'i', 'n', 'k', '_', 'r', 'o', 'o', 't', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\013', 's', 'y', 'm', 'l', 'i', 'n', 'k', 'R', -'o', 'o', 't', '\022', '\"', '\n', '\014', 's', 'u', 'b', 'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\030', '\003', ' ', '\001', '(', '\t', -'R', '\014', 's', 'u', 'b', 'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\022', '4', '\n', '\026', 'a', 'p', 'p', 'e', 'n', 'd', '_', -'s', 'e', 'r', 'v', 'i', 'c', 'e', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\024', 'a', 'p', -'p', 'e', 'n', 'd', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'C', 'l', 'u', 's', 't', 'e', 'r', ':', '7', '\232', '\305', '\210', '\036', '2', -'\n', '0', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', -'v', '2', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'L', 'a', 'y', 'e', 'r', '.', 'D', 'i', 's', 'k', 'L', 'a', 'y', 'e', 'r', -'\032', 'F', '\n', '\n', 'A', 'd', 'm', 'i', 'n', 'L', 'a', 'y', 'e', 'r', ':', '8', '\232', '\305', '\210', '\036', '3', '\n', '1', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'R', -'u', 'n', 't', 'i', 'm', 'e', 'L', 'a', 'y', 'e', 'r', '.', 'A', 'd', 'm', 'i', 'n', 'L', 'a', 'y', 'e', 'r', '\032', '\235', '\001', -'\n', '\t', 'R', 't', 'd', 's', 'L', 'a', 'y', 'e', 'r', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', -'R', '\004', 'n', 'a', 'm', 'e', '\022', 'C', '\n', '\013', 'r', 't', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', -'(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', -'.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\n', 'r', 't', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', -':', '7', '\232', '\305', '\210', '\036', '2', '\n', '0', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', -'t', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'L', 'a', 'y', 'e', 'r', '.', 'R', 't', -'d', 's', 'L', 'a', 'y', 'e', 'r', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'L', -'a', 'y', 'e', 'r', 'B', '\026', '\n', '\017', 'l', 'a', 'y', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', -'\370', 'B', '\001', '\"', '\202', '\001', '\n', '\016', 'L', 'a', 'y', 'e', 'r', 'e', 'd', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', '?', '\n', -'\006', 'l', 'a', 'y', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'L', -'a', 'y', 'e', 'r', 'R', '\006', 'l', 'a', 'y', 'e', 'r', 's', ':', '/', '\232', '\305', '\210', '\036', '*', '\n', '(', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '2', '.', 'L', 'a', 'y', -'e', 'r', 'e', 'd', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\"', '\261', '\002', '\n', '\022', 'C', 'u', 's', 't', 'o', 'm', 'I', 'n', 'l', -'i', 'n', 'e', 'H', 'e', 'a', 'd', 'e', 'r', '\022', ';', '\n', '\022', 'i', 'n', 'l', 'i', 'n', 'e', '_', 'h', 'e', 'a', 'd', 'e', -'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\r', '\372', 'B', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', '\310', -'\001', '\000', 'R', '\020', 'i', 'n', 'l', 'i', 'n', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 'N', 'a', 'm', 'e', '\022', 'v', '\n', '\022', 'i', -'n', 'l', 'i', 'n', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 't', 'y', 'p', 'e', '\030', '\002', ' ', '\001', '(', '\016', '2', '>', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', -'3', '.', 'C', 'u', 's', 't', 'o', 'm', 'I', 'n', 'l', 'i', 'n', 'e', 'H', 'e', 'a', 'd', 'e', 'r', '.', 'I', 'n', 'l', 'i', -'n', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 'T', 'y', 'p', 'e', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\020', 'i', -'n', 'l', 'i', 'n', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 'T', 'y', 'p', 'e', '\"', 'f', '\n', '\020', 'I', 'n', 'l', 'i', 'n', 'e', -'H', 'e', 'a', 'd', 'e', 'r', 'T', 'y', 'p', 'e', '\022', '\022', '\n', '\016', 'R', 'E', 'Q', 'U', 'E', 'S', 'T', '_', 'H', 'E', 'A', -'D', 'E', 'R', '\020', '\000', '\022', '\023', '\n', '\017', 'R', 'E', 'Q', 'U', 'E', 'S', 'T', '_', 'T', 'R', 'A', 'I', 'L', 'E', 'R', '\020', -'\001', '\022', '\023', '\n', '\017', 'R', 'E', 'S', 'P', 'O', 'N', 'S', 'E', '_', 'H', 'E', 'A', 'D', 'E', 'R', '\020', '\002', '\022', '\024', '\n', -'\020', 'R', 'E', 'S', 'P', 'O', 'N', 'S', 'E', '_', 'T', 'R', 'A', 'I', 'L', 'E', 'R', '\020', '\003', 'B', '\221', '\001', '\n', '\'', 'i', -'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '.', 'v', '3', 'B', '\016', 'B', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', 'P', -'r', 'o', 't', 'o', 'P', '\001', 'Z', 'L', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', -'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', -'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'b', 'o', 'o', 't', 's', 't', 'r', 'a', 'p', '/', 'v', '3', ';', 'b', 'o', -'o', 't', 's', 't', 'r', 'a', 'p', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[25] = { - &envoy_config_accesslog_v3_accesslog_proto_upbdefinit, - &envoy_config_cluster_v3_cluster_proto_upbdefinit, - &envoy_config_core_v3_address_proto_upbdefinit, - &envoy_config_core_v3_base_proto_upbdefinit, - &envoy_config_core_v3_config_source_proto_upbdefinit, - &envoy_config_core_v3_event_service_config_proto_upbdefinit, - &envoy_config_core_v3_extension_proto_upbdefinit, - &envoy_config_core_v3_resolver_proto_upbdefinit, - &envoy_config_core_v3_socket_option_proto_upbdefinit, - &envoy_config_listener_v3_listener_proto_upbdefinit, - &envoy_config_metrics_v3_stats_proto_upbdefinit, - &envoy_config_overload_v3_overload_proto_upbdefinit, - &envoy_config_trace_v3_http_tracer_proto_upbdefinit, - &envoy_extensions_transport_sockets_tls_v3_secret_proto_upbdefinit, - &envoy_type_v3_percent_proto_upbdefinit, - &google_protobuf_duration_proto_upbdefinit, - &google_protobuf_struct_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_migrate_proto_upbdefinit, - &udpa_annotations_security_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_bootstrap_v3_bootstrap_proto_upbdefinit = { - deps, - &envoy_config_bootstrap_v3_bootstrap_proto_upb_file_layout, - "envoy/config/bootstrap/v3/bootstrap.proto", - UPB_STRINGVIEW_INIT(descriptor, 8400) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c deleted file mode 100644 index 596abbadf1c..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +++ /dev/null @@ -1,567 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/cluster/v3/cluster.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/cluster/v3/cluster.upbdefs.h" -#include "envoy/config/cluster/v3/cluster.upb.h" - -extern _upb_DefPool_Init envoy_config_cluster_v3_circuit_breaker_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_cluster_v3_filter_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_cluster_v3_outlier_detection_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_config_source_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_health_check_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_protocol_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_resolver_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_endpoint_v3_endpoint_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init xds_core_v3_collection_entry_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_security_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[12402] = {'\n', '%', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', -'/', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', '\027', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '\032', '-', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', -'f', 'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', '/', 'c', 'i', 'r', 'c', 'u', 'i', 't', '_', 'b', 'r', -'e', 'a', 'k', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', -'/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', '/', 'f', 'i', 'l', 't', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', -'/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', '/', -'o', 'u', 't', 'l', 'i', 'e', 'r', '_', 'd', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', -'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'a', 'd', 'd', 'r', -'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', -'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', 'v', 'o', 'y', '/', -'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', -'r', 'c', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', -'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', 'e', -'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'h', 'e', 'a', 'l', 't', -'h', '_', 'c', 'h', 'e', 'c', 'k', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', -'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '.', 'p', 'r', 'o', 't', 'o', -'\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'r', 'e', -'s', 'o', 'l', 'v', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', -'g', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '/', 'v', '3', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'p', 'r', -'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', -'t', '.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', -'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', -'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\034', 'g', 'o', 'o', 'g', 'l', 'e', '/', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 's', 't', 'r', 'u', 'c', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', -'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', -'o', 't', 'o', '\032', '\"', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'l', 'l', 'e', 'c', 't', 'i', -'o', 'n', '_', 'e', 'n', 't', 'r', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', -'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', -'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', -'t', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', -'s', '/', 's', 'e', 'c', 'u', 'r', 'i', 't', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', -'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', -'d', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', -'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', -'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 'K', '\n', '\021', 'C', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', 'l', 'l', 'e', 'c', 't', -'i', 'o', 'n', '\022', '6', '\n', '\007', 'e', 'n', 't', 'r', 'i', 'e', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'x', 'd', -'s', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'l', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'E', 'n', 't', 'r', 'y', -'R', '\007', 'e', 'n', 't', 'r', 'i', 'e', 's', '\"', '\317', 'R', '\n', '\007', 'C', 'l', 'u', 's', 't', 'e', 'r', '\022', 'o', '\n', '\030', -'t', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', '_', 'm', 'a', 't', 'c', 'h', 'e', 's', '\030', -'+', ' ', '\003', '(', '\013', '2', '5', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', -'t', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'T', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', -'o', 'c', 'k', 'e', 't', 'M', 'a', 't', 'c', 'h', 'R', '\026', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', -'e', 't', 'M', 'a', 't', 'c', 'h', 'e', 's', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', -'\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '>', '\n', '\r', 'a', 'l', 't', '_', 's', 't', 'a', 't', -'_', 'n', 'a', 'm', 'e', '\030', '\034', ' ', '\001', '(', '\t', 'B', '\032', '\362', '\230', '\376', '\217', '\005', '\024', '\n', '\022', 'o', 'b', 's', 'e', -'r', 'v', 'a', 'b', 'i', 'l', 'i', 't', 'y', '_', 'n', 'a', 'm', 'e', 'R', '\013', 'a', 'l', 't', 'S', 't', 'a', 't', 'N', 'a', -'m', 'e', '\022', 'N', '\n', '\004', 't', 'y', 'p', 'e', '\030', '\002', ' ', '\001', '(', '\016', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', -'.', 'D', 'i', 's', 'c', 'o', 'v', 'e', 'r', 'y', 'T', 'y', 'p', 'e', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'H', -'\000', 'R', '\004', 't', 'y', 'p', 'e', '\022', 'W', '\n', '\014', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 't', 'y', 'p', 'e', '\030', '&', -' ', '\001', '(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', -'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'u', 's', 't', 'o', 'm', 'C', 'l', 'u', 's', 't', -'e', 'r', 'T', 'y', 'p', 'e', 'H', '\000', 'R', '\013', 'c', 'l', 'u', 's', 't', 'e', 'r', 'T', 'y', 'p', 'e', '\022', '_', '\n', '\022', -'e', 'd', 's', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', -'1', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', -'.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'E', 'd', 's', 'C', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', -'R', '\020', 'e', 'd', 's', 'C', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'L', '\n', '\017', 'c', 'o', 'n', -'n', 'e', 'c', 't', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\004', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', -'\252', '\001', '\002', '*', '\000', 'R', '\016', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'o', '\n', '!', -'p', 'e', 'r', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'b', 'u', 'f', 'f', 'e', 'r', '_', 'l', 'i', 'm', -'i', 't', '_', 'b', 'y', 't', 'e', 's', '\030', '\005', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', -'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\212', '\223', '\267', '*', -'\002', '\020', '\001', 'R', '\035', 'p', 'e', 'r', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'u', 'f', 'f', 'e', 'r', 'L', -'i', 'm', 'i', 't', 'B', 'y', 't', 'e', 's', '\022', 'P', '\n', '\t', 'l', 'b', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\006', ' ', -'\001', '(', '\016', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', -'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'b', 'P', 'o', 'l', 'i', 'c', 'y', 'B', '\010', '\372', 'B', -'\005', '\202', '\001', '\002', '\020', '\001', 'R', '\010', 'l', 'b', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'X', '\n', '\017', 'l', 'o', 'a', 'd', '_', -'a', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', '\030', '!', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', -'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', 'R', '\016', 'l', 'o', 'a', 'd', 'A', 's', 's', 'i', -'g', 'n', 'm', 'e', 'n', 't', '\022', 'F', '\n', '\r', 'h', 'e', 'a', 'l', 't', 'h', '_', 'c', 'h', 'e', 'c', 'k', 's', '\030', '\010', -' ', '\003', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '.', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'R', '\014', 'h', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', -'c', 'k', 's', '\022', 'h', '\n', '\033', 'm', 'a', 'x', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', 's', '_', 'p', 'e', 'r', '_', 'c', -'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '\030', '\t', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\013', '\030', '\001', '\222', -'\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\030', 'm', 'a', 'x', 'R', 'e', 'q', 'u', 'e', 's', 't', 's', 'P', 'e', 'r', 'C', -'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '\022', 'S', '\n', '\020', 'c', 'i', 'r', 'c', 'u', 'i', 't', '_', 'b', 'r', 'e', 'a', -'k', 'e', 'r', 's', '\030', '\n', ' ', '\001', '(', '\013', '2', '(', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'i', 'r', 'c', 'u', 'i', 't', 'B', 'r', 'e', 'a', 'k', 'e', -'r', 's', 'R', '\017', 'c', 'i', 'r', 'c', 'u', 'i', 't', 'B', 'r', 'e', 'a', 'k', 'e', 'r', 's', '\022', '\203', '\001', '\n', '\036', 'u', -'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'h', 't', 't', 'p', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', -'i', 'o', 'n', 's', '\030', '.', ' ', '\001', '(', '\013', '2', '1', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', -'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', -'\033', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', -'o', 'n', 's', '\022', 'w', '\n', '\034', 'c', 'o', 'm', 'm', 'o', 'n', '_', 'h', 't', 't', 'p', '_', 'p', 'r', 'o', 't', 'o', 'c', -'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\035', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', -'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\031', 'c', -'o', 'm', 'm', 'o', 'n', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', -'k', '\n', '\025', 'h', 't', 't', 'p', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', -'\r', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', -'.', 'v', '3', '.', 'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'B', -'\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\023', 'h', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', -'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 't', '\n', '\026', 'h', 't', 't', 'p', '2', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', -'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\016', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', -'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'B', '\022', '\030', '\001', '\212', '\223', '\267', '*', '\002', '\020', '\001', '\222', '\307', '\206', '\330', '\004', -'\003', '3', '.', '0', 'R', '\024', 'h', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', -'s', '\022', '\214', '\001', '\n', ' ', 't', 'y', 'p', 'e', 'd', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '_', 'p', 'r', 'o', -'t', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '$', ' ', '\003', '(', '\013', '2', 'C', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', -'t', 'e', 'r', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'P', 'r', 'o', 't', 'o', 'c', 'o', -'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'E', 'n', 't', 'r', 'y', 'R', '\035', 't', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', -'s', 'i', 'o', 'n', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'Q', '\n', '\020', 'd', 'n', -'s', '_', 'r', 'e', 'f', 'r', 'e', 's', 'h', '_', 'r', 'a', 't', 'e', '\030', '\020', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', -'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\014', '\372', -'B', '\t', '\252', '\001', '\006', '*', '\004', '\020', '\300', '\204', '=', 'R', '\016', 'd', 'n', 's', 'R', 'e', 'f', 'r', 'e', 's', 'h', 'R', 'a', -'t', 'e', '\022', 'e', '\n', '\030', 'd', 'n', 's', '_', 'f', 'a', 'i', 'l', 'u', 'r', 'e', '_', 'r', 'e', 'f', 'r', 'e', 's', 'h', -'_', 'r', 'a', 't', 'e', '\030', ',', ' ', '\001', '(', '\013', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'R', 'e', 'f', 'r', -'e', 's', 'h', 'R', 'a', 't', 'e', 'R', '\025', 'd', 'n', 's', 'F', 'a', 'i', 'l', 'u', 'r', 'e', 'R', 'e', 'f', 'r', 'e', 's', -'h', 'R', 'a', 't', 'e', '\022', '&', '\n', '\017', 'r', 'e', 's', 'p', 'e', 'c', 't', '_', 'd', 'n', 's', '_', 't', 't', 'l', '\030', -'\'', ' ', '\001', '(', '\010', 'R', '\r', 'r', 'e', 's', 'p', 'e', 'c', 't', 'D', 'n', 's', 'T', 't', 'l', '\022', 'f', '\n', '\021', 'd', -'n', 's', '_', 'l', 'o', 'o', 'k', 'u', 'p', '_', 'f', 'a', 'm', 'i', 'l', 'y', '\030', '\021', ' ', '\001', '(', '\016', '2', '0', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', -'l', 'u', 's', 't', 'e', 'r', '.', 'D', 'n', 's', 'L', 'o', 'o', 'k', 'u', 'p', 'F', 'a', 'm', 'i', 'l', 'y', 'B', '\010', '\372', -'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\017', 'd', 'n', 's', 'L', 'o', 'o', 'k', 'u', 'p', 'F', 'a', 'm', 'i', 'l', 'y', '\022', -'O', '\n', '\r', 'd', 'n', 's', '_', 'r', 'e', 's', 'o', 'l', 'v', 'e', 'r', 's', '\030', '\022', ' ', '\003', '(', '\013', '2', '\035', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', -'e', 's', 's', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\014', 'd', 'n', 's', 'R', 'e', 's', 'o', -'l', 'v', 'e', 'r', 's', '\022', 'A', '\n', '\027', 'u', 's', 'e', '_', 't', 'c', 'p', '_', 'f', 'o', 'r', '_', 'd', 'n', 's', '_', -'l', 'o', 'o', 'k', 'u', 'p', 's', '\030', '-', ' ', '\001', '(', '\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', -'0', 'R', '\023', 'u', 's', 'e', 'T', 'c', 'p', 'F', 'o', 'r', 'D', 'n', 's', 'L', 'o', 'o', 'k', 'u', 'p', 's', '\022', 'j', '\n', -'\025', 'd', 'n', 's', '_', 'r', 'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '5', ' ', -'\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', -'3', '.', 'D', 'n', 's', 'R', 'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\013', '\030', '\001', -'\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\023', 'd', 'n', 's', 'R', 'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', 'C', -'o', 'n', 'f', 'i', 'g', '\022', 'e', '\n', '\031', 't', 'y', 'p', 'e', 'd', '_', 'd', 'n', 's', '_', 'r', 'e', 's', 'o', 'l', 'v', -'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '7', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', -'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\026', 't', 'y', 'p', 'e', 'd', 'D', 'n', 's', 'R', 'e', 's', 'o', 'l', 'v', -'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'L', '\n', '\025', 'w', 'a', 'i', 't', '_', 'f', 'o', 'r', '_', 'w', 'a', 'r', 'm', -'_', 'o', 'n', '_', 'i', 'n', 'i', 't', '\030', '6', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', -'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\021', 'w', 'a', 'i', 't', 'F', 'o', -'r', 'W', 'a', 'r', 'm', 'O', 'n', 'I', 'n', 'i', 't', '\022', 'V', '\n', '\021', 'o', 'u', 't', 'l', 'i', 'e', 'r', '_', 'd', 'e', -'t', 'e', 'c', 't', 'i', 'o', 'n', '\030', '\023', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'O', 'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', 't', -'e', 'c', 't', 'i', 'o', 'n', 'R', '\020', 'o', 'u', 't', 'l', 'i', 'e', 'r', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', '\022', -'N', '\n', '\020', 'c', 'l', 'e', 'a', 'n', 'u', 'p', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\024', ' ', '\001', '(', '\013', -'2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', -'o', 'n', 'B', '\010', '\372', 'B', '\005', '\252', '\001', '\002', '*', '\000', 'R', '\017', 'c', 'l', 'e', 'a', 'n', 'u', 'p', 'I', 'n', 't', 'e', -'r', 'v', 'a', 'l', '\022', 'R', '\n', '\024', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'b', 'i', 'n', 'd', '_', 'c', 'o', 'n', -'f', 'i', 'g', '\030', '\025', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'B', 'i', 'n', 'd', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\022', 'u', 'p', 's', 't', 'r', -'e', 'a', 'm', 'B', 'i', 'n', 'd', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'Y', '\n', '\020', 'l', 'b', '_', 's', 'u', 'b', 's', 'e', -'t', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\026', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', -'b', 'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\016', 'l', 'b', 'S', 'u', 'b', 's', 'e', 't', 'C', 'o', -'n', 'f', 'i', 'g', '\022', 'b', '\n', '\023', 'r', 'i', 'n', 'g', '_', 'h', 'a', 's', 'h', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', -'i', 'g', '\030', '\027', ' ', '\001', '(', '\013', '2', '1', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', -'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'R', 'i', 'n', 'g', 'H', 'a', 's', -'h', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\001', 'R', '\020', 'r', 'i', 'n', 'g', 'H', 'a', 's', 'h', 'L', 'b', 'C', 'o', -'n', 'f', 'i', 'g', '\022', '[', '\n', '\020', 'm', 'a', 'g', 'l', 'e', 'v', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', -'4', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', -'t', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'M', 'a', 'g', 'l', 'e', 'v', 'L', 'b', 'C', 'o', -'n', 'f', 'i', 'g', 'H', '\001', 'R', '\016', 'm', 'a', 'g', 'l', 'e', 'v', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'k', '\n', -'\026', 'o', 'r', 'i', 'g', 'i', 'n', 'a', 'l', '_', 'd', 's', 't', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\"', -' ', '\001', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', -'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'O', 'r', 'i', 'g', 'i', 'n', 'a', 'l', 'D', 's', 't', -'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\001', 'R', '\023', 'o', 'r', 'i', 'g', 'i', 'n', 'a', 'l', 'D', 's', 't', 'L', 'b', -'C', 'o', 'n', 'f', 'i', 'g', '\022', 'n', '\n', '\027', 'l', 'e', 'a', 's', 't', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'l', -'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '%', ' ', '\001', '(', '\013', '2', '5', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', -'e', 'a', 's', 't', 'R', 'e', 'q', 'u', 'e', 's', 't', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\001', 'R', '\024', 'l', 'e', -'a', 's', 't', 'R', 'e', 'q', 'u', 'e', 's', 't', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'h', '\n', '\025', 'r', 'o', 'u', -'n', 'd', '_', 'r', 'o', 'b', 'i', 'n', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '8', ' ', '\001', '(', '\013', '2', -'3', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', -'.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'R', 'o', 'u', 'n', 'd', 'R', 'o', 'b', 'i', 'n', 'L', 'b', 'C', 'o', 'n', 'f', -'i', 'g', 'H', '\001', 'R', '\022', 'r', 'o', 'u', 'n', 'd', 'R', 'o', 'b', 'i', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', -'Y', '\n', '\020', 'c', 'o', 'm', 'm', 'o', 'n', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\033', ' ', '\001', '(', '\013', -'2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', -'3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'R', -'\016', 'c', 'o', 'm', 'm', 'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'P', '\n', '\020', 't', 'r', 'a', 'n', 's', 'p', -'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', '\030', '\030', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', -'o', 'c', 'k', 'e', 't', 'R', '\017', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', '\022', ':', '\n', -'\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\031', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'R', '\010', 'm', -'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'u', '\n', '\022', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 's', 'e', 'l', 'e', 'c', -'t', 'i', 'o', 'n', '\030', '\032', ' ', '\001', '(', '\016', '2', '9', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'l', 'u', 's', 't', -'e', 'r', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'B', '\013', '\030', '\001', '\222', '\307', -'\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\021', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', -'n', '\022', 'r', '\n', '\033', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', -'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\036', ' ', '\001', '(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', -'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\031', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', -'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'U', '\n', '(', 'c', 'l', 'o', 's', -'e', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 's', '_', 'o', 'n', '_', 'h', 'o', 's', 't', '_', 'h', 'e', 'a', -'l', 't', 'h', '_', 'f', 'a', 'i', 'l', 'u', 'r', 'e', '\030', '\037', ' ', '\001', '(', '\010', 'R', '#', 'c', 'l', 'o', 's', 'e', 'C', -'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 's', 'O', 'n', 'H', 'o', 's', 't', 'H', 'e', 'a', 'l', 't', 'h', 'F', 'a', 'i', -'l', 'u', 'r', 'e', '\022', '@', '\n', '\035', 'i', 'g', 'n', 'o', 'r', 'e', '_', 'h', 'e', 'a', 'l', 't', 'h', '_', 'o', 'n', '_', -'h', 'o', 's', 't', '_', 'r', 'e', 'm', 'o', 'v', 'a', 'l', '\030', ' ', ' ', '\001', '(', '\010', 'R', '\031', 'i', 'g', 'n', 'o', 'r', -'e', 'H', 'e', 'a', 'l', 't', 'h', 'O', 'n', 'H', 'o', 's', 't', 'R', 'e', 'm', 'o', 'v', 'a', 'l', '\022', '9', '\n', '\007', 'f', -'i', 'l', 't', 'e', 'r', 's', '\030', '(', ' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'F', 'i', 'l', 't', 'e', 'r', 'R', '\007', 'f', 'i', 'l', -'t', 'e', 'r', 's', '\022', '`', '\n', '\025', 'l', 'o', 'a', 'd', '_', 'b', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', '_', 'p', 'o', -'l', 'i', 'c', 'y', '\030', ')', ' ', '\001', '(', '\013', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'L', 'o', 'a', 'd', 'B', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', -'P', 'o', 'l', 'i', 'c', 'y', 'R', '\023', 'l', 'o', 'a', 'd', 'B', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', 'P', 'o', 'l', 'i', -'c', 'y', '\022', 'A', '\n', '\n', 'l', 'r', 's', '_', 's', 'e', 'r', 'v', 'e', 'r', '\030', '*', ' ', '\001', '(', '\013', '2', '\"', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', -'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\t', 'l', 'r', 's', 'S', 'e', 'r', 'v', 'e', 'r', '\022', '?', '\n', '\025', 't', 'r', -'a', 'c', 'k', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '_', 'b', 'u', 'd', 'g', 'e', 't', 's', '\030', '/', ' ', '\001', '(', '\010', -'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\023', 't', 'r', 'a', 'c', 'k', 'T', 'i', 'm', 'e', 'o', -'u', 't', 'B', 'u', 'd', 'g', 'e', 't', 's', '\022', 'S', '\n', '\017', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'c', 'o', 'n', -'f', 'i', 'g', '\030', '0', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', -'f', 'i', 'g', 'R', '\016', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'Z', '\n', '\023', 't', 'r', -'a', 'c', 'k', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 't', 'a', 't', 's', '\030', '1', ' ', '\001', '(', '\013', '2', '*', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', -'T', 'r', 'a', 'c', 'k', 'C', 'l', 'u', 's', 't', 'e', 'r', 'S', 't', 'a', 't', 's', 'R', '\021', 't', 'r', 'a', 'c', 'k', 'C', -'l', 'u', 's', 't', 'e', 'r', 'S', 't', 'a', 't', 's', '\022', '^', '\n', '\021', 'p', 'r', 'e', 'c', 'o', 'n', 'n', 'e', 'c', 't', -'_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '2', ' ', '\001', '(', '\013', '2', '1', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'P', 'r', -'e', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\020', 'p', 'r', 'e', 'c', 'o', 'n', 'n', 'e', 'c', -'t', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'X', '\n', ')', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'p', 'o', 'o', -'l', '_', 'p', 'e', 'r', '_', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', -'o', 'n', '\030', '3', ' ', '\001', '(', '\010', 'R', '%', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'o', 'o', 'l', 'P', -'e', 'r', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '\032', '\346', '\001', -'\n', '\024', 'T', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', 'M', 'a', 't', 'c', 'h', '\022', '\033', '\n', -'\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', -'e', '\022', '-', '\n', '\005', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'R', '\005', 'm', 'a', 't', 'c', 'h', '\022', 'P', -'\n', '\020', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', -'%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'r', -'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', 'R', '\017', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', -'o', 'c', 'k', 'e', 't', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', -'2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'T', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', -'M', 'a', 't', 'c', 'h', '\032', '\230', '\001', '\n', '\021', 'C', 'u', 's', 't', 'o', 'm', 'C', 'l', 'u', 's', 't', 'e', 'r', 'T', 'y', -'p', 'e', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', -'R', '\004', 'n', 'a', 'm', 'e', '\022', '7', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', -'\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', -'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', -'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'u', 's', 't', 'o', 'm', 'C', -'l', 'u', 's', 't', 'e', 'r', 'T', 'y', 'p', 'e', '\032', '\246', '\001', '\n', '\020', 'E', 'd', 's', 'C', 'l', 'u', 's', 't', 'e', 'r', -'C', 'o', 'n', 'f', 'i', 'g', '\022', 'A', '\n', '\n', 'e', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', -'\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', -'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\t', 'e', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '!', -'\n', '\014', 's', 'e', 'r', 'v', 'i', 'c', 'e', '_', 'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\013', 's', 'e', 'r', -'v', 'i', 'c', 'e', 'N', 'a', 'm', 'e', ':', ',', '\232', '\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', -'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'E', 'd', 's', 'C', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', -'n', 'f', 'i', 'g', '\032', '\244', '\n', '\n', '\016', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'y', -'\n', '\017', 'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\001', ' ', '\001', '(', '\016', '2', 'F', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', -'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'L', 'b', -'S', 'u', 'b', 's', 'e', 't', 'F', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', 'B', '\010', '\372', 'B', '\005', -'\202', '\001', '\002', '\020', '\001', 'R', '\016', 'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '>', '\n', '\016', -'d', 'e', 'f', 'a', 'u', 'l', 't', '_', 's', 'u', 'b', 's', 'e', 't', '\030', '\002', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', -'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'R', '\r', 'd', 'e', 'f', -'a', 'u', 'l', 't', 'S', 'u', 'b', 's', 'e', 't', '\022', 'k', '\n', '\020', 's', 'u', 'b', 's', 'e', 't', '_', 's', 'e', 'l', 'e', -'c', 't', 'o', 'r', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'b', 'S', 'u', -'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', -'o', 'r', 'R', '\017', 's', 'u', 'b', 's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', 's', '\022', '2', '\n', '\025', 'l', 'o', -'c', 'a', 'l', 'i', 't', 'y', '_', 'w', 'e', 'i', 'g', 'h', 't', '_', 'a', 'w', 'a', 'r', 'e', '\030', '\004', ' ', '\001', '(', '\010', -'R', '\023', 'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'W', 'e', 'i', 'g', 'h', 't', 'A', 'w', 'a', 'r', 'e', '\022', '2', '\n', '\025', -'s', 'c', 'a', 'l', 'e', '_', 'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', '_', 'w', 'e', 'i', 'g', 'h', 't', '\030', '\005', ' ', '\001', -'(', '\010', 'R', '\023', 's', 'c', 'a', 'l', 'e', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'W', 'e', 'i', 'g', 'h', 't', '\022', '$', -'\n', '\016', 'p', 'a', 'n', 'i', 'c', '_', 'm', 'o', 'd', 'e', '_', 'a', 'n', 'y', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\014', 'p', -'a', 'n', 'i', 'c', 'M', 'o', 'd', 'e', 'A', 'n', 'y', '\022', '\036', '\n', '\013', 'l', 'i', 's', 't', '_', 'a', 's', '_', 'a', 'n', -'y', '\030', '\007', ' ', '\001', '(', '\010', 'R', '\t', 'l', 'i', 's', 't', 'A', 's', 'A', 'n', 'y', '\022', '\222', '\001', '\n', '\030', 'm', 'e', -'t', 'a', 'd', 'a', 't', 'a', '_', 'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\010', ' ', -'\001', '(', '\016', '2', 'N', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', -'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', -'i', 'g', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'F', 'a', 'l', 'l', 'b', 'a', -'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\026', 'm', 'e', 't', 'a', 'd', -'a', 't', 'a', 'F', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', '\032', '\332', '\003', '\n', '\020', 'L', 'b', 'S', -'u', 'b', 's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', '\022', '\022', '\n', '\004', 'k', 'e', 'y', 's', '\030', '\001', ' ', '\003', -'(', '\t', 'R', '\004', 'k', 'e', 'y', 's', '\022', '3', '\n', '\026', 's', 'i', 'n', 'g', 'l', 'e', '_', 'h', 'o', 's', 't', '_', 'p', -'e', 'r', '_', 's', 'u', 'b', 's', 'e', 't', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\023', 's', 'i', 'n', 'g', 'l', 'e', 'H', 'o', -'s', 't', 'P', 'e', 'r', 'S', 'u', 'b', 's', 'e', 't', '\022', '\222', '\001', '\n', '\017', 'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', '_', -'p', 'o', 'l', 'i', 'c', 'y', '\030', '\002', ' ', '\001', '(', '\016', '2', '_', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'b', 'S', -'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'S', 'e', 'l', 'e', 'c', -'t', 'o', 'r', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', 'F', 'a', 'l', 'l', 'b', -'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\016', 'f', 'a', 'l', 'l', -'b', 'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '0', '\n', '\024', 'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', '_', 'k', 'e', -'y', 's', '_', 's', 'u', 'b', 's', 'e', 't', '\030', '\003', ' ', '\003', '(', '\t', 'R', '\022', 'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', -'K', 'e', 'y', 's', 'S', 'u', 'b', 's', 'e', 't', '\"', 'y', '\n', '\036', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'S', 'e', 'l', -'e', 'c', 't', 'o', 'r', 'F', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '\017', '\n', '\013', 'N', 'O', -'T', '_', 'D', 'E', 'F', 'I', 'N', 'E', 'D', '\020', '\000', '\022', '\017', '\n', '\013', 'N', 'O', '_', 'F', 'A', 'L', 'L', 'B', 'A', 'C', -'K', '\020', '\001', '\022', '\020', '\n', '\014', 'A', 'N', 'Y', '_', 'E', 'N', 'D', 'P', 'O', 'I', 'N', 'T', '\020', '\002', '\022', '\022', '\n', '\016', -'D', 'E', 'F', 'A', 'U', 'L', 'T', '_', 'S', 'U', 'B', 'S', 'E', 'T', '\020', '\003', '\022', '\017', '\n', '\013', 'K', 'E', 'Y', 'S', '_', -'S', 'U', 'B', 'S', 'E', 'T', '\020', '\004', ':', ';', '\232', '\305', '\210', '\036', '6', '\n', '4', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', -'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', -'i', 'g', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', '\"', 'O', '\n', '\026', 'L', 'b', -'S', 'u', 'b', 's', 'e', 't', 'F', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '\017', '\n', '\013', 'N', -'O', '_', 'F', 'A', 'L', 'L', 'B', 'A', 'C', 'K', '\020', '\000', '\022', '\020', '\n', '\014', 'A', 'N', 'Y', '_', 'E', 'N', 'D', 'P', 'O', -'I', 'N', 'T', '\020', '\001', '\022', '\022', '\n', '\016', 'D', 'E', 'F', 'A', 'U', 'L', 'T', '_', 'S', 'U', 'B', 'S', 'E', 'T', '\020', '\002', -'\"', 'M', '\n', '\036', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'F', 'a', 'l', 'l', 'b', -'a', 'c', 'k', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '\030', '\n', '\024', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', '_', 'N', 'O', '_', -'F', 'A', 'L', 'L', 'B', 'A', 'C', 'K', '\020', '\000', '\022', '\021', '\n', '\r', 'F', 'A', 'L', 'L', 'B', 'A', 'C', 'K', '_', 'L', 'I', -'S', 'T', '\020', '\001', ':', '*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', -'.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'L', 'b', 'S', 'u', 'b', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\343', -'\001', '\n', '\017', 'S', 'l', 'o', 'w', 'S', 't', 'a', 'r', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'E', '\n', '\021', 's', 'l', 'o', -'w', '_', 's', 't', 'a', 'r', 't', '_', 'w', 'i', 'n', 'd', 'o', 'w', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', -'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\017', 's', -'l', 'o', 'w', 'S', 't', 'a', 'r', 't', 'W', 'i', 'n', 'd', 'o', 'w', '\022', 'C', '\n', '\n', 'a', 'g', 'g', 'r', 'e', 's', 's', -'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'D', 'o', 'u', 'b', 'l', 'e', 'R', '\n', 'a', 'g', -'g', 'r', 'e', 's', 's', 'i', 'o', 'n', '\022', 'D', '\n', '\022', 'm', 'i', 'n', '_', 'w', 'e', 'i', 'g', 'h', 't', '_', 'p', 'e', -'r', 'c', 'e', 'n', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', -'v', '3', '.', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\020', 'm', 'i', 'n', 'W', 'e', 'i', 'g', 'h', 't', 'P', 'e', 'r', 'c', -'e', 'n', 't', '\032', 'r', '\n', '\022', 'R', 'o', 'u', 'n', 'd', 'R', 'o', 'b', 'i', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', -'\022', '\\', '\n', '\021', 's', 'l', 'o', 'w', '_', 's', 't', 'a', 'r', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', -'(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', -'.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'S', 'l', 'o', 'w', 'S', 't', 'a', 'r', 't', 'C', 'o', 'n', 'f', -'i', 'g', 'R', '\017', 's', 'l', 'o', 'w', 'S', 't', 'a', 'r', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\305', '\002', '\n', '\024', 'L', -'e', 'a', 's', 't', 'R', 'e', 'q', 'u', 'e', 's', 't', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'H', '\n', '\014', 'c', 'h', -'o', 'i', 'c', 'e', '_', 'c', 'o', 'u', 'n', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', -'\004', '*', '\002', '(', '\002', 'R', '\013', 'c', 'h', 'o', 'i', 'c', 'e', 'C', 'o', 'u', 'n', 't', '\022', 'S', '\n', '\023', 'a', 'c', 't', -'i', 'v', 'e', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'b', 'i', 'a', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '#', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', 't', -'i', 'm', 'e', 'D', 'o', 'u', 'b', 'l', 'e', 'R', '\021', 'a', 'c', 't', 'i', 'v', 'e', 'R', 'e', 'q', 'u', 'e', 's', 't', 'B', -'i', 'a', 's', '\022', '\\', '\n', '\021', 's', 'l', 'o', 'w', '_', 's', 't', 'a', 'r', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', -'\003', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', -'t', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'S', 'l', 'o', 'w', 'S', 't', 'a', 'r', 't', 'C', -'o', 'n', 'f', 'i', 'g', 'R', '\017', 's', 'l', 'o', 'w', 'S', 't', 'a', 'r', 't', 'C', 'o', 'n', 'f', 'i', 'g', ':', '0', '\232', -'\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', -'r', '.', 'L', 'e', 'a', 's', 't', 'R', 'e', 'q', 'u', 'e', 's', 't', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\221', '\003', -'\n', '\020', 'R', 'i', 'n', 'g', 'H', 'a', 's', 'h', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'T', '\n', '\021', 'm', 'i', 'n', -'i', 'm', 'u', 'm', '_', 'r', 'i', 'n', 'g', '_', 's', 'i', 'z', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', -'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '6', '4', 'V', 'a', 'l', 'u', 'e', -'B', '\n', '\372', 'B', '\007', '2', '\005', '\030', '\200', '\200', '\200', '\004', 'R', '\017', 'm', 'i', 'n', 'i', 'm', 'u', 'm', 'R', 'i', 'n', 'g', -'S', 'i', 'z', 'e', '\022', 'm', '\n', '\r', 'h', 'a', 's', 'h', '_', 'f', 'u', 'n', 'c', 't', 'i', 'o', 'n', '\030', '\003', ' ', '\001', -'(', '\016', '2', '>', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', -'.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'R', 'i', 'n', 'g', 'H', 'a', 's', 'h', 'L', 'b', 'C', 'o', 'n', -'f', 'i', 'g', '.', 'H', 'a', 's', 'h', 'F', 'u', 'n', 'c', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', -'\001', 'R', '\014', 'h', 'a', 's', 'h', 'F', 'u', 'n', 'c', 't', 'i', 'o', 'n', '\022', 'T', '\n', '\021', 'm', 'a', 'x', 'i', 'm', 'u', -'m', '_', 'r', 'i', 'n', 'g', '_', 's', 'i', 'z', 'e', '\030', '\004', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '6', '4', 'V', 'a', 'l', 'u', 'e', 'B', '\n', '\372', -'B', '\007', '2', '\005', '\030', '\200', '\200', '\200', '\004', 'R', '\017', 'm', 'a', 'x', 'i', 'm', 'u', 'm', 'R', 'i', 'n', 'g', 'S', 'i', 'z', -'e', '\"', '.', '\n', '\014', 'H', 'a', 's', 'h', 'F', 'u', 'n', 'c', 't', 'i', 'o', 'n', '\022', '\013', '\n', '\007', 'X', 'X', '_', 'H', -'A', 'S', 'H', '\020', '\000', '\022', '\021', '\n', '\r', 'M', 'U', 'R', 'M', 'U', 'R', '_', 'H', 'A', 'S', 'H', '_', '2', '\020', '\001', ':', -',', '\232', '\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', -'t', 'e', 'r', '.', 'R', 'i', 'n', 'g', 'H', 'a', 's', 'h', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'J', '\004', '\010', '\002', '\020', -'\003', '\032', 'Y', '\n', '\016', 'M', 'a', 'g', 'l', 'e', 'v', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'G', '\n', '\n', 't', 'a', -'b', 'l', 'e', '_', 's', 'i', 'z', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', -'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '6', '4', 'V', 'a', 'l', 'u', 'e', 'B', '\n', '\372', 'B', '\007', '2', -'\005', '\030', '\313', '\226', '\261', '\002', 'R', '\t', 't', 'a', 'b', 'l', 'e', 'S', 'i', 'z', 'e', '\032', '\367', '\001', '\n', '\023', 'O', 'r', 'i', -'g', 'i', 'n', 'a', 'l', 'D', 's', 't', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '&', '\n', '\017', 'u', 's', 'e', '_', 'h', -'t', 't', 'p', '_', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\r', 'u', 's', 'e', 'H', 't', 't', 'p', -'H', 'e', 'a', 'd', 'e', 'r', '\022', '(', '\n', '\020', 'h', 't', 't', 'p', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', -'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\016', 'h', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 'N', 'a', 'm', 'e', '\022', ']', -'\n', '\026', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'p', 'o', 'r', 't', '_', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '\030', -'\003', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', -'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\t', '\372', 'B', '\006', '*', '\004', '\030', '\377', '\377', '\003', 'R', '\024', 'u', 'p', -'s', 't', 'r', 'e', 'a', 'm', 'P', 'o', 'r', 't', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', ':', '/', '\232', '\305', '\210', '\036', '*', -'\n', '(', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'O', 'r', -'i', 'g', 'i', 'n', 'a', 'l', 'D', 's', 't', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\325', '\013', '\n', '\016', 'C', 'o', 'm', -'m', 'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'N', '\n', '\027', 'h', 'e', 'a', 'l', 't', 'h', 'y', '_', 'p', 'a', -'n', 'i', 'c', '_', 't', 'h', 'r', 'e', 's', 'h', 'o', 'l', 'd', '\030', '\001', ' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', -'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\025', 'h', 'e', 'a', 'l', 't', -'h', 'y', 'P', 'a', 'n', 'i', 'c', 'T', 'h', 'r', 'e', 's', 'h', 'o', 'l', 'd', '\022', 't', '\n', '\024', 'z', 'o', 'n', 'e', '_', -'a', 'w', 'a', 'r', 'e', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', 'A', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', -'u', 's', 't', 'e', 'r', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'Z', 'o', 'n', 'e', -'A', 'w', 'a', 'r', 'e', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\021', 'z', 'o', 'n', 'e', 'A', 'w', 'a', 'r', -'e', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\211', '\001', '\n', '\033', 'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', '_', 'w', 'e', -'i', 'g', 'h', 't', 'e', 'd', '_', 'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', 'H', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', -'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'L', 'o', 'c', -'a', 'l', 'i', 't', 'y', 'W', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\030', -'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'W', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', -'I', '\n', '\023', 'u', 'p', 'd', 'a', 't', 'e', '_', 'm', 'e', 'r', 'g', 'e', '_', 'w', 'i', 'n', 'd', 'o', 'w', '\030', '\004', ' ', -'\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', -'a', 't', 'i', 'o', 'n', 'R', '\021', 'u', 'p', 'd', 'a', 't', 'e', 'M', 'e', 'r', 'g', 'e', 'W', 'i', 'n', 'd', 'o', 'w', '\022', -'C', '\n', '\037', 'i', 'g', 'n', 'o', 'r', 'e', '_', 'n', 'e', 'w', '_', 'h', 'o', 's', 't', 's', '_', 'u', 'n', 't', 'i', 'l', -'_', 'f', 'i', 'r', 's', 't', '_', 'h', 'c', '\030', '\005', ' ', '\001', '(', '\010', 'R', '\032', 'i', 'g', 'n', 'o', 'r', 'e', 'N', 'e', -'w', 'H', 'o', 's', 't', 's', 'U', 'n', 't', 'i', 'l', 'F', 'i', 'r', 's', 't', 'H', 'c', '\022', 'M', '\n', '$', 'c', 'l', 'o', -'s', 'e', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 's', '_', 'o', 'n', '_', 'h', 'o', 's', 't', '_', 's', 'e', -'t', '_', 'c', 'h', 'a', 'n', 'g', 'e', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\037', 'c', 'l', 'o', 's', 'e', 'C', 'o', 'n', 'n', -'e', 'c', 't', 'i', 'o', 'n', 's', 'O', 'n', 'H', 'o', 's', 't', 'S', 'e', 't', 'C', 'h', 'a', 'n', 'g', 'e', '\022', '\212', '\001', -'\n', '\034', 'c', 'o', 'n', 's', 'i', 's', 't', 'e', 'n', 't', '_', 'h', 'a', 's', 'h', 'i', 'n', 'g', '_', 'l', 'b', '_', 'c', -'o', 'n', 'f', 'i', 'g', '\030', '\007', ' ', '\001', '(', '\013', '2', 'I', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'o', 'm', 'm', -'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'C', 'o', 'n', 's', 'i', 's', 't', 'e', 'n', 't', 'H', 'a', 's', 'h', -'i', 'n', 'g', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\031', 'c', 'o', 'n', 's', 'i', 's', 't', 'e', 'n', 't', 'H', 'a', -'s', 'h', 'i', 'n', 'g', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'W', '\n', '\024', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', -'_', 'h', 'o', 's', 't', '_', 's', 't', 'a', 't', 'u', 's', '\030', '\010', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'l', 't', 'h', 'S', 't', -'a', 't', 'u', 's', 'S', 'e', 't', 'R', '\022', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'H', 'o', 's', 't', 'S', 't', 'a', 't', -'u', 's', '\032', '\215', '\002', '\n', '\021', 'Z', 'o', 'n', 'e', 'A', 'w', 'a', 'r', 'e', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\022', -'?', '\n', '\017', 'r', 'o', 'u', 't', 'i', 'n', 'g', '_', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\030', '\001', ' ', '\001', '(', '\013', '2', -'\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\016', -'r', 'o', 'u', 't', 'i', 'n', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', '\022', 'F', '\n', '\020', 'm', 'i', 'n', '_', 'c', 'l', 'u', -'s', 't', 'e', 'r', '_', 's', 'i', 'z', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '6', '4', 'V', 'a', 'l', 'u', 'e', 'R', '\016', 'm', 'i', 'n', -'C', 'l', 'u', 's', 't', 'e', 'r', 'S', 'i', 'z', 'e', '\022', '1', '\n', '\025', 'f', 'a', 'i', 'l', '_', 't', 'r', 'a', 'f', 'f', -'i', 'c', '_', 'o', 'n', '_', 'p', 'a', 'n', 'i', 'c', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\022', 'f', 'a', 'i', 'l', 'T', 'r', -'a', 'f', 'f', 'i', 'c', 'O', 'n', 'P', 'a', 'n', 'i', 'c', ':', '<', '\232', '\305', '\210', '\036', '7', '\n', '5', 'e', 'n', 'v', 'o', -'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'L', 'b', -'C', 'o', 'n', 'f', 'i', 'g', '.', 'Z', 'o', 'n', 'e', 'A', 'w', 'a', 'r', 'e', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\032', -'_', '\n', '\030', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'W', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'L', 'b', 'C', 'o', 'n', 'f', -'i', 'g', ':', 'C', '\232', '\305', '\210', '\036', '>', '\n', '<', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', -'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'L', 'o', 'c', -'a', 'l', 'i', 't', 'y', 'W', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\361', '\001', '\n', -'\031', 'C', 'o', 'n', 's', 'i', 's', 't', 'e', 'n', 't', 'H', 'a', 's', 'h', 'i', 'n', 'g', 'L', 'b', 'C', 'o', 'n', 'f', 'i', -'g', '\022', '7', '\n', '\030', 'u', 's', 'e', '_', 'h', 'o', 's', 't', 'n', 'a', 'm', 'e', '_', 'f', 'o', 'r', '_', 'h', 'a', 's', -'h', 'i', 'n', 'g', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\025', 'u', 's', 'e', 'H', 'o', 's', 't', 'n', 'a', 'm', 'e', 'F', 'o', -'r', 'H', 'a', 's', 'h', 'i', 'n', 'g', '\022', 'U', '\n', '\023', 'h', 'a', 's', 'h', '_', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '_', -'f', 'a', 'c', 't', 'o', 'r', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', -'d', 'R', '\021', 'h', 'a', 's', 'h', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'F', 'a', 'c', 't', 'o', 'r', ':', 'D', '\232', '\305', '\210', -'\036', '?', '\n', '=', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', -'C', 'o', 'm', 'm', 'o', 'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'C', 'o', 'n', 's', 'i', 's', 't', 'e', 'n', 't', -'H', 'a', 's', 'h', 'i', 'n', 'g', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', ':', '*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', -'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'o', 'm', 'm', 'o', -'n', 'L', 'b', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\033', '\n', '\031', 'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', '_', 'c', 'o', 'n', -'f', 'i', 'g', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\032', '\322', '\001', '\n', '\013', 'R', 'e', 'f', 'r', 'e', 's', 'h', -'R', 'a', 't', 'e', '\022', 'N', '\n', '\r', 'b', 'a', 's', 'e', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\001', ' ', '\001', -'(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', -'t', 'i', 'o', 'n', 'B', '\016', '\372', 'B', '\013', '\252', '\001', '\010', '\010', '\001', '*', '\004', '\020', '\300', '\204', '=', 'R', '\014', 'b', 'a', 's', -'e', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\022', 'J', '\n', '\014', 'm', 'a', 'x', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', -'\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\014', '\372', 'B', '\t', '\252', '\001', '\006', '*', '\004', '\020', '\300', '\204', '=', 'R', '\013', 'm', -'a', 'x', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', ':', '\'', '\232', '\305', '\210', '\036', '\"', '\n', ' ', 'e', 'n', 'v', 'o', 'y', '.', -'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'R', 'e', 'f', 'r', 'e', 's', 'h', 'R', 'a', 't', -'e', '\032', '\203', '\002', '\n', '\020', 'P', 'r', 'e', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'x', '\n', -'\035', 'p', 'e', 'r', '_', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'p', 'r', 'e', 'c', 'o', 'n', 'n', 'e', 'c', 't', '_', -'r', 'a', 't', 'i', 'o', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', -'o', 'b', 'u', 'f', '.', 'D', 'o', 'u', 'b', 'l', 'e', 'V', 'a', 'l', 'u', 'e', 'B', '\027', '\372', 'B', '\024', '\022', '\022', '\031', '\000', -'\000', '\000', '\000', '\000', '\000', '\010', '@', ')', '\000', '\000', '\000', '\000', '\000', '\000', '\360', '?', 'R', '\032', 'p', 'e', 'r', 'U', 'p', 's', 't', -'r', 'e', 'a', 'm', 'P', 'r', 'e', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', '\022', 'u', '\n', '\033', 'p', 'r', -'e', 'd', 'i', 'c', 't', 'i', 'v', 'e', '_', 'p', 'r', 'e', 'c', 'o', 'n', 'n', 'e', 'c', 't', '_', 'r', 'a', 't', 'i', 'o', -'\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'D', 'o', 'u', 'b', 'l', 'e', 'V', 'a', 'l', 'u', 'e', 'B', '\027', '\372', 'B', '\024', '\022', '\022', '\031', '\000', '\000', '\000', '\000', '\000', '\000', -'\010', '@', ')', '\000', '\000', '\000', '\000', '\000', '\000', '\360', '?', 'R', '\031', 'p', 'r', 'e', 'd', 'i', 'c', 't', 'i', 'v', 'e', 'P', 'r', -'e', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', '\032', 'f', '\n', '\"', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', -'e', 'n', 's', 'i', 'o', 'n', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'E', 'n', 't', 'r', -'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '*', '\n', '\005', 'v', 'a', -'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', -'u', 'f', '.', 'A', 'n', 'y', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', '\"', 'W', '\n', '\r', 'D', 'i', 's', 'c', -'o', 'v', 'e', 'r', 'y', 'T', 'y', 'p', 'e', '\022', '\n', '\n', '\006', 'S', 'T', 'A', 'T', 'I', 'C', '\020', '\000', '\022', '\016', '\n', '\n', -'S', 'T', 'R', 'I', 'C', 'T', '_', 'D', 'N', 'S', '\020', '\001', '\022', '\017', '\n', '\013', 'L', 'O', 'G', 'I', 'C', 'A', 'L', '_', 'D', -'N', 'S', '\020', '\002', '\022', '\007', '\n', '\003', 'E', 'D', 'S', '\020', '\003', '\022', '\020', '\n', '\014', 'O', 'R', 'I', 'G', 'I', 'N', 'A', 'L', -'_', 'D', 'S', 'T', '\020', '\004', '\"', '\244', '\001', '\n', '\010', 'L', 'b', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '\017', '\n', '\013', 'R', 'O', -'U', 'N', 'D', '_', 'R', 'O', 'B', 'I', 'N', '\020', '\000', '\022', '\021', '\n', '\r', 'L', 'E', 'A', 'S', 'T', '_', 'R', 'E', 'Q', 'U', -'E', 'S', 'T', '\020', '\001', '\022', '\r', '\n', '\t', 'R', 'I', 'N', 'G', '_', 'H', 'A', 'S', 'H', '\020', '\002', '\022', '\n', '\n', '\006', 'R', -'A', 'N', 'D', 'O', 'M', '\020', '\003', '\022', '\n', '\n', '\006', 'M', 'A', 'G', 'L', 'E', 'V', '\020', '\005', '\022', '\024', '\n', '\020', 'C', 'L', -'U', 'S', 'T', 'E', 'R', '_', 'P', 'R', 'O', 'V', 'I', 'D', 'E', 'D', '\020', '\006', '\022', ' ', '\n', '\034', 'L', 'O', 'A', 'D', '_', -'B', 'A', 'L', 'A', 'N', 'C', 'I', 'N', 'G', '_', 'P', 'O', 'L', 'I', 'C', 'Y', '_', 'C', 'O', 'N', 'F', 'I', 'G', '\020', '\007', -'\"', '\004', '\010', '\004', '\020', '\004', '*', '\017', 'O', 'R', 'I', 'G', 'I', 'N', 'A', 'L', '_', 'D', 'S', 'T', '_', 'L', 'B', '\"', 'P', -'\n', '\017', 'D', 'n', 's', 'L', 'o', 'o', 'k', 'u', 'p', 'F', 'a', 'm', 'i', 'l', 'y', '\022', '\010', '\n', '\004', 'A', 'U', 'T', 'O', -'\020', '\000', '\022', '\013', '\n', '\007', 'V', '4', '_', 'O', 'N', 'L', 'Y', '\020', '\001', '\022', '\013', '\n', '\007', 'V', '6', '_', 'O', 'N', 'L', -'Y', '\020', '\002', '\022', '\020', '\n', '\014', 'V', '4', '_', 'P', 'R', 'E', 'F', 'E', 'R', 'R', 'E', 'D', '\020', '\003', '\022', '\007', '\n', '\003', -'A', 'L', 'L', '\020', '\004', '\"', 'T', '\n', '\030', 'C', 'l', 'u', 's', 't', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'S', -'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', '\022', '\033', '\n', '\027', 'U', 'S', 'E', '_', 'C', 'O', 'N', 'F', 'I', 'G', 'U', 'R', 'E', -'D', '_', 'P', 'R', 'O', 'T', 'O', 'C', 'O', 'L', '\020', '\000', '\022', '\033', '\n', '\027', 'U', 'S', 'E', '_', 'D', 'O', 'W', 'N', 'S', -'T', 'R', 'E', 'A', 'M', '_', 'P', 'R', 'O', 'T', 'O', 'C', 'O', 'L', '\020', '\001', ':', '\033', '\232', '\305', '\210', '\036', '\026', '\n', '\024', -'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'B', '\030', '\n', '\026', 'c', -'l', 'u', 's', 't', 'e', 'r', '_', 'd', 'i', 's', 'c', 'o', 'v', 'e', 'r', 'y', '_', 't', 'y', 'p', 'e', 'B', '\013', '\n', '\t', -'l', 'b', '_', 'c', 'o', 'n', 'f', 'i', 'g', 'J', '\004', '\010', '\014', '\020', '\r', 'J', '\004', '\010', '\017', '\020', '\020', 'J', '\004', '\010', '\007', -'\020', '\010', 'J', '\004', '\010', '\013', '\020', '\014', 'J', '\004', '\010', '#', '\020', '$', 'R', '\005', 'h', 'o', 's', 't', 's', 'R', '\013', 't', 'l', -'s', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', 'R', '\032', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '_', 'p', 'r', 'o', 't', -'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\"', '\332', '\002', '\n', '\023', 'L', 'o', 'a', 'd', 'B', 'a', 'l', 'a', -'n', 'c', 'i', 'n', 'g', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'O', '\n', '\010', 'p', 'o', 'l', 'i', 'c', 'i', 'e', 's', '\030', '\001', -' ', '\003', '(', '\013', '2', '3', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', -'e', 'r', '.', 'v', '3', '.', 'L', 'o', 'a', 'd', 'B', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', 'P', 'o', 'l', 'i', 'c', 'y', -'.', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\010', 'p', 'o', 'l', 'i', 'c', 'i', 'e', 's', '\032', '\310', '\001', '\n', '\006', 'P', 'o', 'l', -'i', 'c', 'y', '\022', '`', '\n', '\026', 't', 'y', 'p', 'e', 'd', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '_', 'c', 'o', -'n', 'f', 'i', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', -'n', 'f', 'i', 'g', 'R', '\024', 't', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', -'g', ':', '.', '\232', '\305', '\210', '\036', ')', '\n', '\'', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'L', 'o', -'a', 'd', 'B', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'P', 'o', 'l', 'i', 'c', 'y', 'J', -'\004', '\010', '\002', '\020', '\003', 'J', '\004', '\010', '\001', '\020', '\002', 'J', '\004', '\010', '\003', '\020', '\004', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', -'R', '\004', 'n', 'a', 'm', 'e', 'R', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', ':', '\'', '\232', '\305', '\210', -'\036', '\"', '\n', ' ', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'L', 'o', 'a', 'd', 'B', 'a', 'l', 'a', -'n', 'c', 'i', 'n', 'g', 'P', 'o', 'l', 'i', 'c', 'y', '\"', '\371', '\001', '\n', '\031', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', -'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'G', '\n', '\r', 't', 'c', 'p', '_', 'k', -'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'c', 'p', 'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', -'R', '\014', 't', 'c', 'p', 'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '\022', 'd', '\n', '0', 's', 'e', 't', '_', 'l', 'o', 'c', -'a', 'l', '_', 'i', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', '_', 'n', 'a', 'm', 'e', '_', 'o', 'n', '_', 'u', 'p', 's', 't', -'r', 'e', 'a', 'm', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 's', '\030', '\002', ' ', '\001', '(', '\010', 'R', '*', 's', -'e', 't', 'L', 'o', 'c', 'a', 'l', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 'N', 'a', 'm', 'e', 'O', 'n', 'U', 'p', 's', -'t', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 's', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', -'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', -'e', 'c', 't', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', '\"', 'r', '\n', '\021', 'T', 'r', 'a', 'c', 'k', 'C', 'l', 'u', -'s', 't', 'e', 'r', 'S', 't', 'a', 't', 's', '\022', '\'', '\n', '\017', 't', 'i', 'm', 'e', 'o', 'u', 't', '_', 'b', 'u', 'd', 'g', -'e', 't', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\016', 't', 'i', 'm', 'e', 'o', 'u', 't', 'B', 'u', 'd', 'g', 'e', 't', 's', -'\022', '4', '\n', '\026', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 's', 'i', 'z', 'e', -'s', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\024', 'r', 'e', 'q', 'u', 'e', 's', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'S', -'i', 'z', 'e', 's', 'B', '\211', '\001', '\n', '%', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', 'B', '\014', 'C', 'l', -'u', 's', 't', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'H', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', -'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', -'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', -'3', ';', 'c', 'l', 'u', 's', 't', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', -'o', '3', -}; - -static _upb_DefPool_Init *deps[24] = { - &envoy_config_cluster_v3_circuit_breaker_proto_upbdefinit, - &envoy_config_cluster_v3_filter_proto_upbdefinit, - &envoy_config_cluster_v3_outlier_detection_proto_upbdefinit, - &envoy_config_core_v3_address_proto_upbdefinit, - &envoy_config_core_v3_base_proto_upbdefinit, - &envoy_config_core_v3_config_source_proto_upbdefinit, - &envoy_config_core_v3_extension_proto_upbdefinit, - &envoy_config_core_v3_health_check_proto_upbdefinit, - &envoy_config_core_v3_protocol_proto_upbdefinit, - &envoy_config_core_v3_resolver_proto_upbdefinit, - &envoy_config_endpoint_v3_endpoint_proto_upbdefinit, - &envoy_type_v3_percent_proto_upbdefinit, - &google_protobuf_any_proto_upbdefinit, - &google_protobuf_duration_proto_upbdefinit, - &google_protobuf_struct_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &xds_core_v3_collection_entry_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_migrate_proto_upbdefinit, - &udpa_annotations_security_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_cluster_v3_cluster_proto_upbdefinit = { - deps, - &envoy_config_cluster_v3_cluster_proto_upb_file_layout, - "envoy/config/cluster/v3/cluster.proto", - UPB_STRINGVIEW_INIT(descriptor, 12402) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h deleted file mode 100644 index e761c6ecbd8..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +++ /dev/null @@ -1,151 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/cluster/v3/cluster.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPBDEFS_H_ -#define ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_config_cluster_v3_cluster_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_ClusterCollection_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.ClusterCollection"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_TransportSocketMatch_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.TransportSocketMatch"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_CustomClusterType_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.CustomClusterType"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_EdsClusterConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.EdsClusterConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_LbSubsetConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.LbSubsetConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_LbSubsetConfig_LbSubsetSelector_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.LbSubsetConfig.LbSubsetSelector"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_SlowStartConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.SlowStartConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_RoundRobinLbConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.RoundRobinLbConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_LeastRequestLbConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.LeastRequestLbConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_RingHashLbConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.RingHashLbConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_MaglevLbConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.MaglevLbConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_OriginalDstLbConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.OriginalDstLbConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_CommonLbConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.CommonLbConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_CommonLbConfig_ZoneAwareLbConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_CommonLbConfig_LocalityWeightedLbConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_CommonLbConfig_ConsistentHashingLbConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_RefreshRate_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.RefreshRate"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_PreconnectPolicy_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.PreconnectPolicy"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.Cluster.TypedExtensionProtocolOptionsEntry"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_LoadBalancingPolicy_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.LoadBalancingPolicy"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_LoadBalancingPolicy_Policy_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.LoadBalancingPolicy.Policy"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_UpstreamConnectionOptions_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.UpstreamConnectionOptions"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_cluster_v3_TrackClusterStats_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_cluster_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.cluster.v3.TrackClusterStats"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_CLUSTER_V3_CLUSTER_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c deleted file mode 100644 index 830a748d189..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +++ /dev/null @@ -1,51 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/cluster/v3/filter.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/cluster/v3/filter.upbdefs.h" -#include "envoy/config/cluster/v3/filter.upb.h" - -extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[461] = {'\n', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', -'/', 'f', 'i', 'l', 't', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', '\027', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'v', '3', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', -'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', -'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', -'.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', -'.', 'p', 'r', 'o', 't', 'o', '\"', '\202', '\001', '\n', '\006', 'F', 'i', 'l', 't', 'e', 'r', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', -'\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '7', '\n', '\014', -'t', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', -'f', 'i', 'g', ':', '\"', '\232', '\305', '\210', '\036', '\035', '\n', '\033', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', -'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'F', 'i', 'l', 't', 'e', 'r', 'B', '\210', '\001', '\n', '%', 'i', 'o', '.', 'e', 'n', 'v', -'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', -'t', 'e', 'r', '.', 'v', '3', 'B', '\013', 'F', 'i', 'l', 't', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'H', 'g', 'i', -'t', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', -'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', -'c', 'l', 'u', 's', 't', 'e', 'r', '/', 'v', '3', ';', 'c', 'l', 'u', 's', 't', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', -'\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[5] = { - &google_protobuf_any_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_cluster_v3_filter_proto_upbdefinit = { - deps, - &envoy_config_cluster_v3_filter_proto_upb_file_layout, - "envoy/config/cluster/v3/filter.proto", - UPB_STRINGVIEW_INIT(descriptor, 461) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c deleted file mode 100644 index ea67ff71cdf..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +++ /dev/null @@ -1,206 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/common/matcher/v3/matcher.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/common/matcher/v3/matcher.upbdefs.h" -#include "envoy/config/common/matcher/v3/matcher.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_route_v3_route_components_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; -extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[4235] = {'\n', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'm', 'm', 'o', 'n', '/', 'm', 'a', 't', -'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', '\036', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', -'.', 'v', '3', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', -'/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', -'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 'r', 'o', 'u', 't', 'e', '_', 'c', 'o', 'm', 'p', -'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', -'m', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', 't', 'r', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', -'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', -'.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', -'s', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', -'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\344', '\021', '\n', '\007', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', -'X', '\n', '\014', 'm', 'a', 't', 'c', 'h', 'e', 'r', '_', 'l', 'i', 's', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '3', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', -'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', 'H', -'\000', 'R', '\013', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '\022', 'X', '\n', '\014', 'm', 'a', 't', 'c', 'h', 'e', 'r', -'_', 't', 'r', 'e', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '3', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', -'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', 'H', '\000', 'R', '\013', 'm', 'a', 't', 'c', 'h', 'e', 'r', -'T', 'r', 'e', 'e', '\022', 'O', '\n', '\013', 'o', 'n', '_', 'n', 'o', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', -'2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', -'t', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', 'n', 'M', 'a', 't', 'c', 'h', 'R', -'\t', 'o', 'n', 'N', 'o', 'M', 'a', 't', 'c', 'h', '\032', '\245', '\001', '\n', '\007', 'O', 'n', 'M', 'a', 't', 'c', 'h', '\022', 'C', '\n', -'\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', -'t', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'D', '\n', '\006', 'a', 'c', 't', 'i', 'o', -'n', '\030', '\002', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', -'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', -'g', 'H', '\000', 'R', '\006', 'a', 'c', 't', 'i', 'o', 'n', 'B', '\017', '\n', '\010', 'o', 'n', '_', 'm', 'a', 't', 'c', 'h', '\022', '\003', -'\370', 'B', '\001', '\032', '\242', '\t', '\n', '\013', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '\022', 'f', '\n', '\010', 'm', 'a', -'t', 'c', 'h', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', -'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'F', 'i', 'e', 'l', 'd', 'M', 'a', 't', 'c', -'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\010', 'm', 'a', 't', 'c', 'h', 'e', 'r', 's', '\032', '\334', -'\006', '\n', '\t', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'z', '\n', '\020', 's', 'i', 'n', 'g', 'l', 'e', '_', 'p', 'r', -'e', 'd', 'i', 'c', 'a', 't', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', 'M', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', -'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', -'e', '.', 'S', 'i', 'n', 'g', 'l', 'e', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'H', '\000', 'R', '\017', 's', 'i', 'n', 'g', -'l', 'e', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'l', '\n', '\n', 'o', 'r', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', -'\030', '\002', ' ', '\001', '(', '\013', '2', 'K', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', -'m', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', -'t', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'P', 'r', 'e', 'd', 'i', -'c', 'a', 't', 'e', 'L', 'i', 's', 't', 'H', '\000', 'R', '\t', 'o', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'n', '\n', '\013', -'a', 'n', 'd', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', 'K', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', -'.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', -'i', 'c', 'a', 't', 'e', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'L', 'i', 's', 't', 'H', '\000', 'R', '\n', 'a', 'n', -'d', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', '`', '\n', '\013', 'n', 'o', 't', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\004', -' ', '\001', '(', '\013', '2', '=', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', -'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', -'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'H', '\000', 'R', '\n', 'n', 'o', 't', 'M', -'a', 't', 'c', 'h', 'e', 'r', '\032', '\207', '\002', '\n', '\017', 'S', 'i', 'n', 'g', 'l', 'e', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', -'e', '\022', 'J', '\n', '\005', 'i', 'n', 'p', 'u', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', -'s', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'i', 'n', 'p', -'u', 't', '\022', 'G', '\n', '\013', 'v', 'a', 'l', 'u', 'e', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', -'.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', -'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\n', 'v', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', -'\022', 'O', '\n', '\014', 'c', 'u', 's', 't', 'o', 'm', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', '2', '*', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', -'d', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\013', 'c', 'u', 's', 't', 'o', -'m', 'M', 'a', 't', 'c', 'h', 'B', '\016', '\n', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\032', 'v', '\n', -'\r', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'L', 'i', 's', 't', '\022', 'e', '\n', '\t', 'p', 'r', 'e', 'd', 'i', 'c', 'a', -'t', 'e', '\030', '\001', ' ', '\003', '(', '\013', '2', '=', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', -'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', -'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\010', '\372', 'B', -'\005', '\222', '\001', '\002', '\010', '\002', 'R', '\t', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\021', '\n', '\n', 'm', 'a', 't', 'c', -'h', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', '\032', '\313', '\001', '\n', '\014', 'F', 'i', 'e', 'l', 'd', 'M', 'a', 't', 'c', -'h', 'e', 'r', '\022', 'e', '\n', '\t', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '=', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', -'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', -'.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\t', 'p', 'r', 'e', -'d', 'i', 'c', 'a', 't', 'e', '\022', 'T', '\n', '\010', 'o', 'n', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', -'/', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', -'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', 'n', 'M', 'a', 't', 'c', 'h', 'B', '\010', -'\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\007', 'o', 'n', 'M', 'a', 't', 'c', 'h', '\032', '\347', '\004', '\n', '\013', 'M', 'a', 't', -'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '\022', 'J', '\n', '\005', 'i', 'n', 'p', 'u', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', -'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', -'\020', '\001', 'R', '\005', 'i', 'n', 'p', 'u', 't', '\022', 'f', '\n', '\017', 'e', 'x', 'a', 'c', 't', '_', 'm', 'a', 't', 'c', 'h', '_', -'m', 'a', 'p', '\030', '\002', ' ', '\001', '(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', -'.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '.', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', 'H', '\000', 'R', '\r', -'e', 'x', 'a', 'c', 't', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', '\022', 'h', '\n', '\020', 'p', 'r', 'e', 'f', 'i', 'x', '_', 'm', -'a', 't', 'c', 'h', '_', 'm', 'a', 'p', '\030', '\003', ' ', '\001', '(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', -'t', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '.', 'M', 'a', 't', 'c', 'h', 'M', 'a', -'p', 'H', '\000', 'R', '\016', 'p', 'r', 'e', 'f', 'i', 'x', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', '\022', 'O', '\n', '\014', 'c', 'u', -'s', 't', 'o', 'm', '_', 'm', 'a', 't', 'c', 'h', '\030', '\004', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', -'s', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\013', 'c', 'u', 's', 't', 'o', 'm', 'M', 'a', 't', 'c', 'h', -'\032', '\326', '\001', '\n', '\010', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', '\022', 'a', '\n', '\003', 'm', 'a', 'p', '\030', '\001', ' ', '\003', '(', -'\013', '2', 'E', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', -'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', -'T', 'r', 'e', 'e', '.', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', '.', 'M', 'a', 'p', 'E', 'n', 't', 'r', 'y', 'B', '\010', '\372', -'B', '\005', '\232', '\001', '\002', '\010', '\001', 'R', '\003', 'm', 'a', 'p', '\032', 'g', '\n', '\010', 'M', 'a', 'p', 'E', 'n', 't', 'r', 'y', '\022', -'\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', 'E', '\n', '\005', 'v', 'a', 'l', 'u', -'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', -'m', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', -'n', 'M', 'a', 't', 'c', 'h', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', 'B', '\020', '\n', '\t', 't', 'r', 'e', 'e', -'_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', ':', '\010', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'B', '\023', '\n', '\014', 'm', -'a', 't', 'c', 'h', 'e', 'r', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', '\"', '\350', '\010', '\n', '\016', 'M', 'a', 't', 'c', -'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'T', '\n', '\010', 'o', 'r', '_', 'm', 'a', 't', 'c', 'h', '\030', '\001', ' ', -'\001', '(', '\013', '2', '7', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', -'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', -'e', '.', 'M', 'a', 't', 'c', 'h', 'S', 'e', 't', 'H', '\000', 'R', '\007', 'o', 'r', 'M', 'a', 't', 'c', 'h', '\022', 'V', '\n', '\t', -'a', 'n', 'd', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '7', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', -'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'M', 'a', 't', 'c', 'h', 'S', 'e', 't', 'H', '\000', 'R', -'\010', 'a', 'n', 'd', 'M', 'a', 't', 'c', 'h', '\022', 'M', '\n', '\t', 'n', 'o', 't', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', ' ', -'\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', -'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', -'e', 'H', '\000', 'R', '\010', 'n', 'o', 't', 'M', 'a', 't', 'c', 'h', '\022', '&', '\n', '\t', 'a', 'n', 'y', '_', 'm', 'a', 't', 'c', -'h', '\030', '\004', ' ', '\001', '(', '\010', 'B', '\007', '\372', 'B', '\004', 'j', '\002', '\010', '\001', 'H', '\000', 'R', '\010', 'a', 'n', 'y', 'M', 'a', -'t', 'c', 'h', '\022', 'o', '\n', '\032', 'h', 't', 't', 'p', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', -'r', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\005', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'H', 't', -'t', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\027', 'h', 't', 't', 'p', 'R', 'e', 'q', -'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', 'q', '\n', '\033', 'h', 't', 't', 'p', '_', -'r', 'e', 'q', 'u', 'e', 's', 't', '_', 't', 'r', 'a', 'i', 'l', 'e', 'r', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\006', ' ', -'\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', -'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', -'t', 'c', 'h', 'H', '\000', 'R', '\030', 'h', 't', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'T', 'r', 'a', 'i', 'l', 'e', 'r', -'s', 'M', 'a', 't', 'c', 'h', '\022', 'q', '\n', '\033', 'h', 't', 't', 'p', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'h', -'e', 'a', 'd', 'e', 'r', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\007', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', -'3', '.', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\030', 'h', 't', 't', -'p', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', 's', '\n', '\034', -'h', 't', 't', 'p', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 't', 'r', 'a', 'i', 'l', 'e', 'r', 's', '_', 'm', 'a', -'t', 'c', 'h', '\030', '\010', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'H', 'e', 'a', -'d', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\031', 'h', 't', 't', 'p', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', -'T', 'r', 'a', 'i', 'l', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', '|', '\n', '\037', 'h', 't', 't', 'p', '_', 'r', 'e', 'q', -'u', 'e', 's', 't', '_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 'b', 'o', 'd', 'y', '_', 'm', 'a', 't', 'c', 'h', '\030', '\t', -' ', '\001', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', -'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', -'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\033', 'h', 't', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'G', 'e', -'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', '\022', '~', '\n', ' ', 'h', 't', 't', 'p', '_', 'r', 'e', -'s', 'p', 'o', 'n', 's', 'e', '_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 'b', 'o', 'd', 'y', '_', 'm', 'a', 't', 'c', 'h', -'\030', '\n', ' ', '\001', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', -'m', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'G', 'e', 'n', 'e', 'r', 'i', -'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\034', 'h', 't', 't', 'p', 'R', 'e', 's', 'p', 'o', 'n', 's', -'e', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', '\032', 'Z', '\n', '\010', 'M', 'a', 't', 'c', -'h', 'S', 'e', 't', '\022', 'N', '\n', '\005', 'r', 'u', 'l', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '.', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', -'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', -'\010', '\002', 'R', '\005', 'r', 'u', 'l', 'e', 's', 'B', '\013', '\n', '\004', 'r', 'u', 'l', 'e', '\022', '\003', '\370', 'B', '\001', '\"', 'R', '\n', -'\020', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', '>', '\n', '\007', 'h', 'e', 'a', 'd', -'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\007', 'h', -'e', 'a', 'd', 'e', 'r', 's', '\"', '\241', '\002', '\n', '\024', 'H', 't', 't', 'p', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', -'y', 'M', 'a', 't', 'c', 'h', '\022', '\037', '\n', '\013', 'b', 'y', 't', 'e', 's', '_', 'l', 'i', 'm', 'i', 't', '\030', '\001', ' ', '\001', -'(', '\r', 'R', '\n', 'b', 'y', 't', 'e', 's', 'L', 'i', 'm', 'i', 't', '\022', 'k', '\n', '\010', 'p', 'a', 't', 't', 'e', 'r', 'n', -'s', '\030', '\002', ' ', '\003', '(', '\013', '2', 'E', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', -'m', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'G', 'e', 'n', 'e', 'r', -'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', '.', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'T', 'e', 'x', 't', 'M', 'a', -'t', 'c', 'h', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\010', 'p', 'a', 't', 't', 'e', 'r', 'n', 's', '\032', '{', -'\n', '\020', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'T', 'e', 'x', 't', 'M', 'a', 't', 'c', 'h', '\022', ',', '\n', '\014', 's', 't', 'r', -'i', 'n', 'g', '_', 'm', 'a', 't', 'c', 'h', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', -'\000', 'R', '\013', 's', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', '\022', ',', '\n', '\014', 'b', 'i', 'n', 'a', 'r', 'y', '_', -'m', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\014', 'B', '\007', '\372', 'B', '\004', 'z', '\002', '\020', '\001', 'H', '\000', 'R', '\013', 'b', -'i', 'n', 'a', 'r', 'y', 'M', 'a', 't', 'c', 'h', 'B', '\013', '\n', '\004', 'r', 'u', 'l', 'e', '\022', '\003', '\370', 'B', '\001', 'B', '\227', -'\001', '\n', ',', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\014', 'M', -'a', 't', 'c', 'h', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'O', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', -'/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', -'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'm', 'm', 'o', 'n', '/', 'm', -'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', ';', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', -'\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[7] = { - &envoy_config_core_v3_extension_proto_upbdefinit, - &envoy_config_route_v3_route_components_proto_upbdefinit, - &envoy_type_matcher_v3_string_proto_upbdefinit, - &xds_annotations_v3_status_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_common_matcher_v3_matcher_proto_upbdefinit = { - deps, - &envoy_config_common_matcher_v3_matcher_proto_upb_file_layout, - "envoy/config/common/matcher/v3/matcher.proto", - UPB_STRINGVIEW_INIT(descriptor, 4235) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h deleted file mode 100644 index d337e0b22da..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +++ /dev/null @@ -1,106 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/common/matcher/v3/matcher.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPBDEFS_H_ -#define ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_config_common_matcher_v3_matcher_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_OnMatch_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.OnMatch"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherList_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherList"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherList.Predicate.PredicateList"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherList_FieldMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherTree_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherTree"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap.MapEntry"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_MatchPredicate_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.MatchPredicate"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_MatchPredicate_MatchSet_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.MatchPredicate.MatchSet"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_HttpHeadersMatch_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.HttpHeadersMatch"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_HttpGenericBodyMatch_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.HttpGenericBodyMatch"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_common_matcher_v3_HttpGenericBodyMatch_GenericTextMatch_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_common_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.common.matcher.v3.HttpGenericBodyMatch.GenericTextMatch"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_COMMON_MATCHER_V3_MATCHER_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c deleted file mode 100644 index e2909d32808..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +++ /dev/null @@ -1,132 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/address.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/core/v3/address.upbdefs.h" -#include "envoy/config/core/v3/address.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_socket_option_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[2398] = {'\n', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'a', 'd', -'d', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'c', 'o', 'r', 'e', '.', 'v', '3', '\032', '(', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', -'r', 'e', '/', 'v', '3', '/', 's', 'o', 'c', 'k', 'e', 't', '_', 'o', 'p', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', -'\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', -'s', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', -'s', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', -'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', -'\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', -'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', -'d', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '`', '\n', '\004', 'P', 'i', 'p', 'e', '\022', '\033', '\n', '\004', 'p', 'a', 't', -'h', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'p', 'a', 't', 'h', '\022', '\034', '\n', -'\004', 'm', 'o', 'd', 'e', '\030', '\002', ' ', '\001', '(', '\r', 'B', '\010', '\372', 'B', '\005', '*', '\003', '\030', '\377', '\003', 'R', '\004', 'm', 'o', -'d', 'e', ':', '\035', '\232', '\305', '\210', '\036', '\030', '\n', '\026', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', -'o', 'r', 'e', '.', 'P', 'i', 'p', 'e', '\"', '\212', '\001', '\n', '\024', 'E', 'n', 'v', 'o', 'y', 'I', 'n', 't', 'e', 'r', 'n', 'a', -'l', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', '2', '\n', '\024', 's', 'e', 'r', 'v', 'e', 'r', '_', 'l', 'i', 's', 't', 'e', 'n', -'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\022', 's', 'e', 'r', 'v', 'e', 'r', 'L', 'i', -'s', 't', 'e', 'n', 'e', 'r', 'N', 'a', 'm', 'e', '\022', '\037', '\n', '\013', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '_', 'i', 'd', -'\030', '\002', ' ', '\001', '(', '\t', 'R', '\n', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'I', 'd', 'B', '\035', '\n', '\026', 'a', 'd', 'd', -'r', 'e', 's', 's', '_', 'n', 'a', 'm', 'e', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', -'\366', '\002', '\n', '\r', 'S', 'o', 'c', 'k', 'e', 't', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'R', '\n', '\010', 'p', 'r', 'o', 't', -'o', 'c', 'o', 'l', '\030', '\001', ' ', '\001', '(', '\016', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'A', 'd', 'd', 'r', 'e', 's', 's', '.', 'P', 'r', -'o', 't', 'o', 'c', 'o', 'l', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\010', 'p', 'r', 'o', 't', 'o', 'c', 'o', -'l', '\022', '!', '\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', -'\020', '\001', 'R', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', '*', '\n', '\n', 'p', 'o', 'r', 't', '_', 'v', 'a', 'l', 'u', 'e', -'\030', '\003', ' ', '\001', '(', '\r', 'B', '\t', '\372', 'B', '\006', '*', '\004', '\030', '\377', '\377', '\003', 'H', '\000', 'R', '\t', 'p', 'o', 'r', 't', -'V', 'a', 'l', 'u', 'e', '\022', '\037', '\n', '\n', 'n', 'a', 'm', 'e', 'd', '_', 'p', 'o', 'r', 't', '\030', '\004', ' ', '\001', '(', '\t', -'H', '\000', 'R', '\t', 'n', 'a', 'm', 'e', 'd', 'P', 'o', 'r', 't', '\022', '#', '\n', '\r', 'r', 'e', 's', 'o', 'l', 'v', 'e', 'r', -'_', 'n', 'a', 'm', 'e', '\030', '\005', ' ', '\001', '(', '\t', 'R', '\014', 'r', 'e', 's', 'o', 'l', 'v', 'e', 'r', 'N', 'a', 'm', 'e', -'\022', '\037', '\n', '\013', 'i', 'p', 'v', '4', '_', 'c', 'o', 'm', 'p', 'a', 't', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\n', 'i', 'p', -'v', '4', 'C', 'o', 'm', 'p', 'a', 't', '\"', '\034', '\n', '\010', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', '\022', '\007', '\n', '\003', 'T', -'C', 'P', '\020', '\000', '\022', '\007', '\n', '\003', 'U', 'D', 'P', '\020', '\001', ':', '&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', -'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'S', 'o', 'c', 'k', 'e', 't', 'A', 'd', 'd', 'r', -'e', 's', 's', 'B', '\025', '\n', '\016', 'p', 'o', 'r', 't', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', -'\001', '\"', '\220', '\002', '\n', '\014', 'T', 'c', 'p', 'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '\022', 'G', '\n', '\020', 'k', 'e', 'e', -'p', 'a', 'l', 'i', 'v', 'e', '_', 'p', 'r', 'o', 'b', 'e', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', -'\017', 'k', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', 'P', 'r', 'o', 'b', 'e', 's', '\022', 'C', '\n', '\016', 'k', 'e', 'e', 'p', 'a', -'l', 'i', 'v', 'e', '_', 't', 'i', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\r', 'k', 'e', 'e', -'p', 'a', 'l', 'i', 'v', 'e', 'T', 'i', 'm', 'e', '\022', 'K', '\n', '\022', 'k', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '_', 'i', -'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\003', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', -'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\021', 'k', 'e', 'e', 'p', 'a', -'l', 'i', 'v', 'e', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', ':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', -'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'T', 'c', 'p', 'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', -'e', '\"', '\261', '\001', '\n', '\022', 'E', 'x', 't', 'r', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', -'G', '\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'A', 'd', 'd', 'r', -'e', 's', 's', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', 'R', '\n', -'\016', 's', 'o', 'c', 'k', 'e', 't', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '+', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', -'t', 'O', 'p', 't', 'i', 'o', 'n', 's', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'R', '\r', 's', 'o', 'c', 'k', 'e', 't', 'O', -'p', 't', 'i', 'o', 'n', 's', '\"', '\322', '\003', '\n', '\n', 'B', 'i', 'n', 'd', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'J', '\n', '\016', -'s', 'o', 'u', 'r', 'c', 'e', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', -'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\r', 's', 'o', 'u', 'r', 'c', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', '6', '\n', -'\010', 'f', 'r', 'e', 'e', 'b', 'i', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\010', 'f', 'r', 'e', 'e', 'b', -'i', 'n', 'd', '\022', 'I', '\n', '\016', 's', 'o', 'c', 'k', 'e', 't', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\003', -'(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', -'.', 'S', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\r', 's', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', -'o', 'n', 's', '\022', '^', '\n', '\026', 'e', 'x', 't', 'r', 'a', '_', 's', 'o', 'u', 'r', 'c', 'e', '_', 'a', 'd', 'd', 'r', 'e', -'s', 's', 'e', 's', '\030', '\005', ' ', '\003', '(', '\013', '2', '(', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'E', 'x', 't', 'r', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'A', 'd', 'd', 'r', 'e', -'s', 's', 'R', '\024', 'e', 'x', 't', 'r', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', 'e', 's', '\022', -'p', '\n', '\033', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', '_', 's', 'o', 'u', 'r', 'c', 'e', '_', 'a', 'd', 'd', 'r', -'e', 's', 's', 'e', 's', '\030', '\004', ' ', '\003', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'A', 'd', 'd', 'r', 'e', 's', 's', 'B', '\013', -'\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\031', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'S', 'o', -'u', 'r', 'c', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', 'e', 's', ':', '#', '\232', '\305', '\210', '\036', '\036', '\n', '\034', 'e', 'n', 'v', -'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'B', 'i', 'n', 'd', 'C', 'o', 'n', 'f', 'i', 'g', -'\"', '\237', '\002', '\n', '\007', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'L', '\n', '\016', 's', 'o', 'c', 'k', 'e', 't', '_', 'a', 'd', -'d', 'r', 'e', 's', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'A', 'd', 'd', 'r', 'e', 's', 's', 'H', '\000', -'R', '\r', 's', 'o', 'c', 'k', 'e', 't', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', '0', '\n', '\004', 'p', 'i', 'p', 'e', '\030', '\002', -' ', '\001', '(', '\013', '2', '\032', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '.', 'P', 'i', 'p', 'e', 'H', '\000', 'R', '\004', 'p', 'i', 'p', 'e', '\022', 'b', '\n', '\026', 'e', 'n', 'v', 'o', 'y', '_', -'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '*', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'E', 'n', 'v', 'o', -'y', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', 'H', '\000', 'R', '\024', 'e', 'n', 'v', 'o', 'y', -'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', ':', ' ', '\232', '\305', '\210', '\036', '\033', '\n', '\031', 'e', -'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'B', -'\016', '\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', '\003', '\370', 'B', '\001', '\"', '\246', '\001', '\n', '\t', 'C', 'i', 'd', 'r', 'R', -'a', 'n', 'g', 'e', '\022', '.', '\n', '\016', 'a', 'd', 'd', 'r', 'e', 's', 's', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\001', ' ', -'\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\r', 'a', 'd', 'd', 'r', 'e', 's', 's', 'P', 'r', 'e', 'f', -'i', 'x', '\022', 'E', '\n', '\n', 'p', 'r', 'e', 'f', 'i', 'x', '_', 'l', 'e', 'n', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', -'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', -'u', 'e', 'B', '\010', '\372', 'B', '\005', '*', '\003', '\030', '\200', '\001', 'R', '\t', 'p', 'r', 'e', 'f', 'i', 'x', 'L', 'e', 'n', ':', '\"', -'\232', '\305', '\210', '\036', '\035', '\n', '\033', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', -'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 'B', '\200', '\001', '\n', '\"', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', -'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\014', -'A', 'd', 'd', 'r', 'e', 's', 's', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'B', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', -'m', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', -'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', -';', 'c', 'o', 'r', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[7] = { - &envoy_config_core_v3_socket_option_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit = { - deps, - &envoy_config_core_v3_address_proto_upb_file_layout, - "envoy/config/core/v3/address.proto", - UPB_STRINGVIEW_INIT(descriptor, 2398) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c deleted file mode 100644 index 4f71e6de56c..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +++ /dev/null @@ -1,271 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/base.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/core/v3/base.upbdefs.h" -#include "envoy/config/core/v3/base.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_backoff_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_http_uri_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_v3_semantic_version_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init xds_core_v3_context_params_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[5455] = {'\n', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', -'s', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', -'r', 'e', '.', 'v', '3', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', -'v', '3', '/', 'a', 'd', 'd', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', -'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 'c', 'k', 'o', 'f', 'f', '.', 'p', 'r', 'o', -'t', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', -'h', 't', 't', 'p', '_', 'u', 'r', 'i', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', -'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', -'/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 's', 'e', 'm', 'a', 'n', 't', 'i', 'c', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', -'.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', -'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\034', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'/', 's', 't', 'r', 'u', 'c', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', ' ', 'x', 'd', 's', -'/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', 'p', 'a', 'r', 'a', 'm', 's', '.', 'p', -'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', -'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', -'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', -'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', -'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', -'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', -'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 't', '\n', '\010', 'L', 'o', 'c', 'a', 'l', 'i', 't', -'y', '\022', '\026', '\n', '\006', 'r', 'e', 'g', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\006', 'r', 'e', 'g', 'i', 'o', 'n', -'\022', '\022', '\n', '\004', 'z', 'o', 'n', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\004', 'z', 'o', 'n', 'e', '\022', '\031', '\n', '\010', 's', -'u', 'b', '_', 'z', 'o', 'n', 'e', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\007', 's', 'u', 'b', 'Z', 'o', 'n', 'e', ':', '!', '\232', -'\305', '\210', '\036', '\034', '\n', '\032', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'L', -'o', 'c', 'a', 'l', 'i', 't', 'y', '\"', '\244', '\001', '\n', '\014', 'B', 'u', 'i', 'l', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\022', -'8', '\n', '\007', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', -'t', 'y', 'p', 'e', '.', 'v', '3', '.', 'S', 'e', 'm', 'a', 'n', 't', 'i', 'c', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'R', '\007', -'v', 'e', 'r', 's', 'i', 'o', 'n', '\022', '3', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\002', ' ', '\001', '(', '\013', -'2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', -'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', ':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', -'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'B', 'u', 'i', 'l', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\"', -'\214', '\002', '\n', '\t', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', -'(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '\032', '\n', '\010', 'c', 'a', 't', 'e', 'g', 'o', 'r', 'y', '\030', '\002', ' ', '\001', '(', -'\t', 'R', '\010', 'c', 'a', 't', 'e', 'g', 'o', 'r', 'y', '\022', '4', '\n', '\017', 't', 'y', 'p', 'e', '_', 'd', 'e', 's', 'c', 'r', -'i', 'p', 't', 'o', 'r', '\030', '\003', ' ', '\001', '(', '\t', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', -'\016', 't', 'y', 'p', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '\022', '<', '\n', '\007', 'v', 'e', 'r', 's', 'i', 'o', -'n', '\030', '\004', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', -'r', 'e', '.', 'v', '3', '.', 'B', 'u', 'i', 'l', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'R', '\007', 'v', 'e', 'r', 's', 'i', -'o', 'n', '\022', '\032', '\n', '\010', 'd', 'i', 's', 'a', 'b', 'l', 'e', 'd', '\030', '\005', ' ', '\001', '(', '\010', 'R', '\010', 'd', 'i', 's', -'a', 'b', 'l', 'e', 'd', '\022', '\033', '\n', '\t', 't', 'y', 'p', 'e', '_', 'u', 'r', 'l', 's', '\030', '\006', ' ', '\003', '(', '\t', 'R', -'\010', 't', 'y', 'p', 'e', 'U', 'r', 'l', 's', ':', '\"', '\232', '\305', '\210', '\036', '\035', '\n', '\033', 'e', 'n', 'v', 'o', 'y', '.', 'a', -'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\"', '\262', '\006', '\n', '\004', -'N', 'o', 'd', 'e', '\022', '\016', '\n', '\002', 'i', 'd', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\002', 'i', 'd', '\022', '\030', '\n', '\007', 'c', -'l', 'u', 's', 't', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\007', 'c', 'l', 'u', 's', 't', 'e', 'r', '\022', '3', '\n', '\010', -'m', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\003', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', -'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', -'`', '\n', '\022', 'd', 'y', 'n', 'a', 'm', 'i', 'c', '_', 'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '\030', '\014', ' ', '\003', -'(', '\013', '2', '1', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', -'.', 'N', 'o', 'd', 'e', '.', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', 'E', 'n', -'t', 'r', 'y', 'R', '\021', 'd', 'y', 'n', 'a', 'm', 'i', 'c', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '\022', ':', '\n', -'\010', 'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', '\030', '\004', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'R', '\010', 'l', -'o', 'c', 'a', 'l', 'i', 't', 'y', '\022', '&', '\n', '\017', 'u', 's', 'e', 'r', '_', 'a', 'g', 'e', 'n', 't', '_', 'n', 'a', 'm', -'e', '\030', '\006', ' ', '\001', '(', '\t', 'R', '\r', 'u', 's', 'e', 'r', 'A', 'g', 'e', 'n', 't', 'N', 'a', 'm', 'e', '\022', '.', '\n', -'\022', 'u', 's', 'e', 'r', '_', 'a', 'g', 'e', 'n', 't', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\030', '\007', ' ', '\001', '(', '\t', -'H', '\000', 'R', '\020', 'u', 's', 'e', 'r', 'A', 'g', 'e', 'n', 't', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\022', ']', '\n', '\030', 'u', -'s', 'e', 'r', '_', 'a', 'g', 'e', 'n', 't', '_', 'b', 'u', 'i', 'l', 'd', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\030', '\010', -' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '.', 'B', 'u', 'i', 'l', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'H', '\000', 'R', '\025', 'u', 's', 'e', 'r', 'A', 'g', -'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\022', '?', '\n', '\n', 'e', 'x', 't', 'e', 'n', 's', -'i', 'o', 'n', 's', '\030', '\t', ' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', '\n', 'e', 'x', 't', 'e', 'n', -'s', 'i', 'o', 'n', 's', '\022', '\'', '\n', '\017', 'c', 'l', 'i', 'e', 'n', 't', '_', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', -'\n', ' ', '\003', '(', '\t', 'R', '\016', 'c', 'l', 'i', 'e', 'n', 't', 'F', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', '[', '\n', '\023', -'l', 'i', 's', 't', 'e', 'n', 'i', 'n', 'g', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', 'e', 's', '\030', '\013', ' ', '\003', '(', '\013', -'2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', -'d', 'd', 'r', 'e', 's', 's', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\022', 'l', 'i', 's', 't', -'e', 'n', 'i', 'n', 'g', 'A', 'd', 'd', 'r', 'e', 's', 's', 'e', 's', '\032', '`', '\n', '\026', 'D', 'y', 'n', 'a', 'm', 'i', 'c', -'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', -'\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '0', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', -'.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 't', 'e', 'x', 't', 'P', 'a', 'r', 'a', 'm', -'s', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', ':', '\035', '\232', '\305', '\210', '\036', '\030', '\n', '\026', 'e', 'n', 'v', 'o', -'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'N', 'o', 'd', 'e', 'B', '\031', '\n', '\027', 'u', 's', 'e', -'r', '_', 'a', 'g', 'e', 'n', 't', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '_', 't', 'y', 'p', 'e', 'J', '\004', '\010', '\005', '\020', -'\006', 'R', '\r', 'b', 'u', 'i', 'l', 'd', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\"', '\261', '\003', '\n', '\010', 'M', 'e', 't', 'a', -'d', 'a', 't', 'a', '\022', '[', '\n', '\017', 'f', 'i', 'l', 't', 'e', 'r', '_', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\001', -' ', '\003', '(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'F', 'i', 'l', 't', 'e', 'r', 'M', 'e', 't', 'a', 'd', 'a', 't', -'a', 'E', 'n', 't', 'r', 'y', 'R', '\016', 'f', 'i', 'l', 't', 'e', 'r', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'k', '\n', -'\025', 't', 'y', 'p', 'e', 'd', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\002', ' ', -'\003', '(', '\013', '2', '7', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', -'3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'T', 'y', 'p', 'e', 'd', 'F', 'i', 'l', 't', 'e', 'r', 'M', 'e', 't', -'a', 'd', 'a', 't', 'a', 'E', 'n', 't', 'r', 'y', 'R', '\023', 't', 'y', 'p', 'e', 'd', 'F', 'i', 'l', 't', 'e', 'r', 'M', 'e', -'t', 'a', 'd', 'a', 't', 'a', '\032', 'Z', '\n', '\023', 'F', 'i', 'l', 't', 'e', 'r', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'E', -'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '-', '\n', -'\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', '\032', '\\', -'\n', '\030', 'T', 'y', 'p', 'e', 'd', 'F', 'i', 'l', 't', 'e', 'r', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'E', 'n', 't', 'r', -'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '*', '\n', '\005', 'v', 'a', -'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', -'u', 'f', '.', 'A', 'n', 'y', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', ':', '!', '\232', '\305', '\210', '\036', '\034', '\n', -'\032', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'M', 'e', 't', 'a', 'd', 'a', -'t', 'a', '\"', '\206', '\001', '\n', '\r', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'U', 'I', 'n', 't', '3', '2', '\022', '#', '\n', '\r', 'd', -'e', 'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\r', 'R', '\014', 'd', 'e', 'f', 'a', 'u', -'l', 't', 'V', 'a', 'l', 'u', 'e', '\022', '(', '\n', '\013', 'r', 'u', 'n', 't', 'i', 'm', 'e', '_', 'k', 'e', 'y', '\030', '\003', ' ', -'\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\n', 'r', 'u', 'n', 't', 'i', 'm', 'e', 'K', 'e', 'y', ':', -'&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', -'.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'U', 'I', 'n', 't', '3', '2', '\"', 'w', '\n', '\016', 'R', 'u', 'n', 't', 'i', 'm', 'e', -'P', 'e', 'r', 'c', 'e', 'n', 't', '\022', ';', '\n', '\r', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', -'\001', ' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'P', 'e', 'r', -'c', 'e', 'n', 't', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', '\022', '(', '\n', '\013', 'r', 'u', 'n', -'t', 'i', 'm', 'e', '_', 'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\n', -'r', 'u', 'n', 't', 'i', 'm', 'e', 'K', 'e', 'y', '\"', '\206', '\001', '\n', '\r', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'D', 'o', 'u', -'b', 'l', 'e', '\022', '#', '\n', '\r', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', -'\001', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', '\022', '(', '\n', '\013', 'r', 'u', 'n', 't', 'i', 'm', -'e', '_', 'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\n', 'r', 'u', 'n', -'t', 'i', 'm', 'e', 'K', 'e', 'y', ':', '&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', -'.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'D', 'o', 'u', 'b', 'l', 'e', '\"', '\266', '\001', -'\n', '\022', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'F', 'l', 'a', 'g', '\022', 'I', '\n', '\r', 'd', -'e', 'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'B', '\010', '\372', 'B', -'\005', '\212', '\001', '\002', '\020', '\001', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', '\022', '(', '\n', '\013', 'r', -'u', 'n', 't', 'i', 'm', 'e', '_', 'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', -'R', '\n', 'r', 'u', 'n', 't', 'i', 'm', 'e', 'K', 'e', 'y', ':', '+', '\232', '\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', -'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'e', 'a', 't', -'u', 'r', 'e', 'F', 'l', 'a', 'g', '\"', 'A', '\n', '\016', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', -'\022', '\031', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\003', 'k', -'e', 'y', '\022', '\024', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\005', 'v', 'a', 'l', 'u', 'e', '\"', -'\177', '\n', '\013', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', '\022', '#', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', -'(', '\t', 'B', '\021', '\372', 'B', '\016', 'r', '\014', '\020', '\001', '(', '\200', '\200', '\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\003', 'k', 'e', -'y', '\022', '%', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\017', '\372', 'B', '\014', 'r', '\n', '(', '\200', -'\200', '\001', '\300', '\001', '\002', '\310', '\001', '\000', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '$', '\232', '\305', '\210', '\036', '\037', '\n', '\035', 'e', -'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', -'l', 'u', 'e', '\"', '\300', '\003', '\n', '\021', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', -'\022', 'C', '\n', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', -'e', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\022', '?', '\n', '\006', 'a', 'p', -'p', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', -'0', 'R', '\006', 'a', 'p', 'p', 'e', 'n', 'd', '\022', 'i', '\n', '\r', 'a', 'p', 'p', 'e', 'n', 'd', '_', 'a', 'c', 't', 'i', 'o', -'n', '\030', '\003', ' ', '\001', '(', '\016', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', -'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', '.', 'H', -'e', 'a', 'd', 'e', 'r', 'A', 'p', 'p', 'e', 'n', 'd', 'A', 'c', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', -'\020', '\001', 'R', '\014', 'a', 'p', 'p', 'e', 'n', 'd', 'A', 'c', 't', 'i', 'o', 'n', '\022', '(', '\n', '\020', 'k', 'e', 'e', 'p', '_', -'e', 'm', 'p', 't', 'y', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\016', 'k', 'e', 'e', 'p', 'E', 'm', -'p', 't', 'y', 'V', 'a', 'l', 'u', 'e', '\"', 'd', '\n', '\022', 'H', 'e', 'a', 'd', 'e', 'r', 'A', 'p', 'p', 'e', 'n', 'd', 'A', -'c', 't', 'i', 'o', 'n', '\022', '\033', '\n', '\027', 'A', 'P', 'P', 'E', 'N', 'D', '_', 'I', 'F', '_', 'E', 'X', 'I', 'S', 'T', 'S', -'_', 'O', 'R', '_', 'A', 'D', 'D', '\020', '\000', '\022', '\021', '\n', '\r', 'A', 'D', 'D', '_', 'I', 'F', '_', 'A', 'B', 'S', 'E', 'N', -'T', '\020', '\001', '\022', '\036', '\n', '\032', 'O', 'V', 'E', 'R', 'W', 'R', 'I', 'T', 'E', '_', 'I', 'F', '_', 'E', 'X', 'I', 'S', 'T', -'S', '_', 'O', 'R', '_', 'A', 'D', 'D', '\020', '\002', ':', '*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', 'n', 'v', 'o', 'y', '.', -'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', -'t', 'i', 'o', 'n', '\"', 'l', '\n', '\t', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 'p', '\022', ';', '\n', '\007', 'h', 'e', 'a', 'd', -'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'R', '\007', 'h', 'e', 'a', 'd', -'e', 'r', 's', ':', '\"', '\232', '\305', '\210', '\036', '\035', '\n', '\033', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', -'c', 'o', 'r', 'e', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 'p', '\"', '/', '\n', '\020', 'W', 'a', 't', 'c', 'h', 'e', 'd', -'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\022', '\033', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', -'\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'p', 'a', 't', 'h', '\"', '\364', '\001', '\n', '\n', 'D', 'a', 't', 'a', 'S', 'o', 'u', -'r', 'c', 'e', '\022', '%', '\n', '\010', 'f', 'i', 'l', 'e', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', -'\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\010', 'f', 'i', 'l', 'e', 'n', 'a', 'm', 'e', '\022', '#', '\n', '\014', 'i', 'n', 'l', 'i', -'n', 'e', '_', 'b', 'y', 't', 'e', 's', '\030', '\002', ' ', '\001', '(', '\014', 'H', '\000', 'R', '\013', 'i', 'n', 'l', 'i', 'n', 'e', 'B', -'y', 't', 'e', 's', '\022', '%', '\n', '\r', 'i', 'n', 'l', 'i', 'n', 'e', '_', 's', 't', 'r', 'i', 'n', 'g', '\030', '\003', ' ', '\001', -'(', '\t', 'H', '\000', 'R', '\014', 'i', 'n', 'l', 'i', 'n', 'e', 'S', 't', 'r', 'i', 'n', 'g', '\022', '<', '\n', '\024', 'e', 'n', 'v', -'i', 'r', 'o', 'n', 'm', 'e', 'n', 't', '_', 'v', 'a', 'r', 'i', 'a', 'b', 'l', 'e', '\030', '\004', ' ', '\001', '(', '\t', 'B', '\007', -'\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\023', 'e', 'n', 'v', 'i', 'r', 'o', 'n', 'm', 'e', 'n', 't', 'V', 'a', 'r', -'i', 'a', 'b', 'l', 'e', ':', '#', '\232', '\305', '\210', '\036', '\036', '\n', '\034', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', -'2', '.', 'c', 'o', 'r', 'e', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\020', '\n', '\t', 's', 'p', 'e', 'c', -'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', '\324', '\001', '\n', '\013', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', -'y', '\022', 'K', '\n', '\016', 'r', 'e', 't', 'r', 'y', '_', 'b', 'a', 'c', 'k', '_', 'o', 'f', 'f', '\030', '\001', ' ', '\001', '(', '\013', -'2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'B', -'a', 'c', 'k', 'o', 'f', 'f', 'S', 't', 'r', 'a', 't', 'e', 'g', 'y', 'R', '\014', 'r', 'e', 't', 'r', 'y', 'B', 'a', 'c', 'k', -'O', 'f', 'f', '\022', 'R', '\n', '\013', 'n', 'u', 'm', '_', 'r', 'e', 't', 'r', 'i', 'e', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', -'\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', -'a', 'l', 'u', 'e', 'B', '\023', '\362', '\230', '\376', '\217', '\005', '\r', '\n', '\013', 'm', 'a', 'x', '_', 'r', 'e', 't', 'r', 'i', 'e', 's', -'R', '\n', 'n', 'u', 'm', 'R', 'e', 't', 'r', 'i', 'e', 's', ':', '$', '\232', '\305', '\210', '\036', '\037', '\n', '\035', 'e', 'n', 'v', 'o', -'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', -'\"', '\350', '\001', '\n', '\020', 'R', 'e', 'm', 'o', 't', 'e', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', '\022', 'B', '\n', '\010', -'h', 't', 't', 'p', '_', 'u', 'r', 'i', '\030', '\001', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'U', 'r', 'i', 'B', '\010', '\372', 'B', '\005', -'\212', '\001', '\002', '\020', '\001', 'R', '\007', 'h', 't', 't', 'p', 'U', 'r', 'i', '\022', '\037', '\n', '\006', 's', 'h', 'a', '2', '5', '6', '\030', -'\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\006', 's', 'h', 'a', '2', '5', '6', '\022', 'D', '\n', -'\014', 'r', 'e', 't', 'r', 'y', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\003', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', -'l', 'i', 'c', 'y', 'R', '\013', 'r', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', ':', ')', '\232', '\305', '\210', '\036', '$', '\n', -'\"', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'R', 'e', 'm', 'o', 't', 'e', -'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', '\"', '\311', '\001', '\n', '\017', 'A', 's', 'y', 'n', 'c', 'D', 'a', 't', 'a', 'S', -'o', 'u', 'r', 'c', 'e', '\022', '8', '\n', '\005', 'l', 'o', 'c', 'a', 'l', '\030', '\001', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', -'u', 'r', 'c', 'e', 'H', '\000', 'R', '\005', 'l', 'o', 'c', 'a', 'l', '\022', '@', '\n', '\006', 'r', 'e', 'm', 'o', 't', 'e', '\030', '\002', -' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '.', 'R', 'e', 'm', 'o', 't', 'e', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'H', '\000', 'R', '\006', 'r', 'e', -'m', 'o', 't', 'e', ':', '(', '\232', '\305', '\210', '\036', '#', '\n', '!', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', -'.', 'c', 'o', 'r', 'e', '.', 'A', 's', 'y', 'n', 'c', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\020', '\n', '\t', -'s', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', '\260', '\001', '\n', '\017', 'T', 'r', 'a', 'n', 's', 'p', -'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', -'\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '9', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', -'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'A', 'n', 'y', 'H', '\000', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', ':', '(', '\232', -'\305', '\210', '\036', '#', '\n', '!', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'T', -'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'S', 'o', 'c', 'k', 'e', 't', 'B', '\r', '\n', '\013', 'c', 'o', 'n', 'f', 'i', 'g', '_', -'t', 'y', 'p', 'e', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\"', '\277', '\001', '\n', '\030', 'R', 'u', -'n', 't', 'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', '\022', 'O', '\n', -'\r', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', -'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', -'c', 'e', 'n', 't', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', -'l', 'u', 'e', '\022', '\037', '\n', '\013', 'r', 'u', 'n', 't', 'i', 'm', 'e', '_', 'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\t', 'R', -'\n', 'r', 'u', 'n', 't', 'i', 'm', 'e', 'K', 'e', 'y', ':', '1', '\232', '\305', '\210', '\036', ',', '\n', '*', 'e', 'n', 'v', 'o', 'y', -'.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', -'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', '\"', 'U', '\n', '\014', 'C', 'o', 'n', 't', 'r', 'o', 'l', 'P', 'l', -'a', 'n', 'e', '\022', '\036', '\n', '\n', 'i', 'd', 'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\n', -'i', 'd', 'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', ':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', -'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'C', 'o', 'n', 't', 'r', 'o', 'l', 'P', 'l', 'a', 'n', 'e', '*', -'(', '\n', '\017', 'R', 'o', 'u', 't', 'i', 'n', 'g', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', '\022', '\013', '\n', '\007', 'D', 'E', 'F', -'A', 'U', 'L', 'T', '\020', '\000', '\022', '\010', '\n', '\004', 'H', 'I', 'G', 'H', '\020', '\001', '*', '\211', '\001', '\n', '\r', 'R', 'e', 'q', 'u', -'e', 's', 't', 'M', 'e', 't', 'h', 'o', 'd', '\022', '\026', '\n', '\022', 'M', 'E', 'T', 'H', 'O', 'D', '_', 'U', 'N', 'S', 'P', 'E', -'C', 'I', 'F', 'I', 'E', 'D', '\020', '\000', '\022', '\007', '\n', '\003', 'G', 'E', 'T', '\020', '\001', '\022', '\010', '\n', '\004', 'H', 'E', 'A', 'D', -'\020', '\002', '\022', '\010', '\n', '\004', 'P', 'O', 'S', 'T', '\020', '\003', '\022', '\007', '\n', '\003', 'P', 'U', 'T', '\020', '\004', '\022', '\n', '\n', '\006', -'D', 'E', 'L', 'E', 'T', 'E', '\020', '\005', '\022', '\013', '\n', '\007', 'C', 'O', 'N', 'N', 'E', 'C', 'T', '\020', '\006', '\022', '\013', '\n', '\007', -'O', 'P', 'T', 'I', 'O', 'N', 'S', '\020', '\007', '\022', '\t', '\n', '\005', 'T', 'R', 'A', 'C', 'E', '\020', '\010', '\022', '\t', '\n', '\005', 'P', -'A', 'T', 'C', 'H', '\020', '\t', '*', '>', '\n', '\020', 'T', 'r', 'a', 'f', 'f', 'i', 'c', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', -'n', '\022', '\017', '\n', '\013', 'U', 'N', 'S', 'P', 'E', 'C', 'I', 'F', 'I', 'E', 'D', '\020', '\000', '\022', '\013', '\n', '\007', 'I', 'N', 'B', -'O', 'U', 'N', 'D', '\020', '\001', '\022', '\014', '\n', '\010', 'O', 'U', 'T', 'B', 'O', 'U', 'N', 'D', '\020', '\002', 'B', '}', '\n', '\"', 'i', -'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\t', 'B', 'a', 's', 'e', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'B', 'g', 'i', -'t', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', -'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', -'c', 'o', 'r', 'e', '/', 'v', '3', ';', 'c', 'o', 'r', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', -'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[15] = { - &envoy_config_core_v3_address_proto_upbdefinit, - &envoy_config_core_v3_backoff_proto_upbdefinit, - &envoy_config_core_v3_http_uri_proto_upbdefinit, - &envoy_type_v3_percent_proto_upbdefinit, - &envoy_type_v3_semantic_version_proto_upbdefinit, - &google_protobuf_any_proto_upbdefinit, - &google_protobuf_struct_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &xds_core_v3_context_params_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_migrate_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit = { - deps, - &envoy_config_core_v3_base_proto_upb_file_layout, - "envoy/config/core/v3/base.proto", - UPB_STRINGVIEW_INIT(descriptor, 5455) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c deleted file mode 100644 index 69fb716cf20..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +++ /dev/null @@ -1,47 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/extension.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/core/v3/extension.upbdefs.h" -#include "envoy/config/core/v3/extension.upb.h" - -extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[404] = {'\n', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', -'t', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', -'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', -'t', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', -'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 'v', '\n', '\024', 'T', 'y', 'p', -'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', -'\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'A', '\n', '\014', -'t', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'B', '\010', '\372', 'B', '\005', '\242', '\001', '\002', '\010', '\001', -'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\202', '\001', '\n', '\"', 'i', 'o', '.', 'e', 'n', 'v', 'o', -'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', 'B', '\016', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'B', 'g', 'i', 't', -'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', -'t', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', -'o', 'r', 'e', '/', 'v', '3', ';', 'c', 'o', 'r', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', -'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[4] = { - &google_protobuf_any_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit = { - deps, - &envoy_config_core_v3_extension_proto_upb_file_layout, - "envoy/config/core/v3/extension.proto", - UPB_STRINGVIEW_INIT(descriptor, 404) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h deleted file mode 100644 index 08d745115db..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/extension.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPBDEFS_H_ -#define ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_config_core_v3_TypedExtensionConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_core_v3_extension_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.core.v3.TypedExtensionConfig"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_CORE_V3_EXTENSION_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c deleted file mode 100644 index 50de24e3256..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +++ /dev/null @@ -1,53 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/http_uri.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/core/v3/http_uri.upbdefs.h" -#include "envoy/config/core/v3/http_uri.upb.h" - -extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[523] = {'\n', '#', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'h', 't', -'t', 'p', '_', 'u', 'r', 'i', '.', 'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', -'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', -'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', -'d', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', -'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', -'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\307', '\001', '\n', '\007', 'H', 't', 't', 'p', 'U', 'r', 'i', '\022', '\031', '\n', '\003', 'u', 'r', -'i', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\003', 'u', 'r', 'i', '\022', '#', '\n', '\007', -'c', 'l', 'u', 's', 't', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', -'\007', 'c', 'l', 'u', 's', 't', 'e', 'r', '\022', '?', '\n', '\007', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\003', ' ', '\001', '(', '\013', -'2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', -'o', 'n', 'B', '\n', '\372', 'B', '\007', '\252', '\001', '\004', '\010', '\001', '2', '\000', 'R', '\007', 't', 'i', 'm', 'e', 'o', 'u', 't', ':', ' ', -'\232', '\305', '\210', '\036', '\033', '\n', '\031', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', -'H', 't', 't', 'p', 'U', 'r', 'i', 'B', '\031', '\n', '\022', 'h', 't', 't', 'p', '_', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', -'t', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', 'B', '\200', '\001', '\n', '\"', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', -'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\014', -'H', 't', 't', 'p', 'U', 'r', 'i', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'B', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', -'m', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', -'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', -';', 'c', 'o', 'r', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[5] = { - &google_protobuf_duration_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_core_v3_http_uri_proto_upbdefinit = { - deps, - &envoy_config_core_v3_http_uri_proto_upb_file_layout, - "envoy/config/core/v3/http_uri.proto", - UPB_STRINGVIEW_INIT(descriptor, 523) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c deleted file mode 100644 index 39d3ef949df..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +++ /dev/null @@ -1,311 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/protocol.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/core/v3/protocol.upbdefs.h" -#include "envoy/config/core/v3/protocol.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[6708] = {'\n', '#', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'p', 'r', -'o', 't', 'o', 'c', 'o', 'l', '.', 'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', -'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', -'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', -'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', -'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', -'t', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', -'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', -'t', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', -'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', -'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', -'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', -'o', '\"', 'A', '\n', '\022', 'T', 'c', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', ':', '+', -'\232', '\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', -'T', 'c', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\"', '\267', '\001', '\n', '\025', 'Q', 'u', -'i', 'c', 'K', 'e', 'e', 'p', 'A', 'l', 'i', 'v', 'e', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', '\022', 'J', '\n', '\014', 'm', 'a', -'x', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\014', '\372', 'B', '\t', '\252', '\001', -'\006', '\"', '\000', '2', '\002', '\010', '\001', 'R', '\013', 'm', 'a', 'x', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\022', 'R', '\n', '\020', 'i', -'n', 'i', 't', 'i', 'a', 'l', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', -'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\014', -'\372', 'B', '\t', '\252', '\001', '\006', '\"', '\000', '2', '\002', '\010', '\001', 'R', '\017', 'i', 'n', 'i', 't', 'i', 'a', 'l', 'I', 'n', 't', 'e', -'r', 'v', 'a', 'l', '\"', '\250', '\004', '\n', '\023', 'Q', 'u', 'i', 'c', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', -'o', 'n', 's', '\022', '[', '\n', '\026', 'm', 'a', 'x', '_', 'c', 'o', 'n', 'c', 'u', 'r', 'r', 'e', 'n', 't', '_', 's', 't', 'r', -'e', 'a', 'm', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', -'\024', 'm', 'a', 'x', 'C', 'o', 'n', 'c', 'u', 'r', 'r', 'e', 'n', 't', 'S', 't', 'r', 'e', 'a', 'm', 's', '\022', 'g', '\n', '\032', -'i', 'n', 'i', 't', 'i', 'a', 'l', '_', 's', 't', 'r', 'e', 'a', 'm', '_', 'w', 'i', 'n', 'd', 'o', 'w', '_', 's', 'i', 'z', -'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\014', '\372', 'B', '\t', '*', '\007', '\030', '\200', '\200', '\200', '\010', '(', -'\001', 'R', '\027', 'i', 'n', 'i', 't', 'i', 'a', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'S', 'i', 'z', -'e', '\022', 'o', '\n', '\036', 'i', 'n', 'i', 't', 'i', 'a', 'l', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'w', -'i', 'n', 'd', 'o', 'w', '_', 's', 'i', 'z', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\014', '\372', 'B', -'\t', '*', '\007', '\030', '\200', '\200', '\200', '\014', '(', '\001', 'R', '\033', 'i', 'n', 'i', 't', 'i', 'a', 'l', 'C', 'o', 'n', 'n', 'e', 'c', -'t', 'i', 'o', 'n', 'W', 'i', 'n', 'd', 'o', 'w', 'S', 'i', 'z', 'e', '\022', 'z', '\n', '&', 'n', 'u', 'm', '_', 't', 'i', 'm', -'e', 'o', 'u', 't', 's', '_', 't', 'o', '_', 't', 'r', 'i', 'g', 'g', 'e', 'r', '_', 'p', 'o', 'r', 't', '_', 'm', 'i', 'g', -'r', 'a', 't', 'i', 'o', 'n', '\030', '\004', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\t', '\372', 'B', '\006', '*', '\004', '\030', -'\005', '(', '\000', 'R', '!', 'n', 'u', 'm', 'T', 'i', 'm', 'e', 'o', 'u', 't', 's', 'T', 'o', 'T', 'r', 'i', 'g', 'g', 'e', 'r', -'P', 'o', 'r', 't', 'M', 'i', 'g', 'r', 'a', 't', 'i', 'o', 'n', '\022', '^', '\n', '\024', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', -'o', 'n', '_', 'k', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '\030', '\005', ' ', '\001', '(', '\013', '2', '+', '.', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'Q', 'u', 'i', 'c', 'K', 'e', 'e', 'p', -'A', 'l', 'i', 'v', 'e', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 'R', '\023', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', -'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '\"', '\344', '\001', '\n', '\033', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'H', 't', 't', -'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '\031', '\n', '\010', 'a', 'u', 't', 'o', '_', -'s', 'n', 'i', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\007', 'a', 'u', 't', 'o', 'S', 'n', 'i', '\022', '.', '\n', '\023', 'a', 'u', 't', -'o', '_', 's', 'a', 'n', '_', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\021', 'a', -'u', 't', 'o', 'S', 'a', 'n', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '\022', 'D', '\n', '\030', 'o', 'v', 'e', 'r', 'r', -'i', 'd', 'e', '_', 'a', 'u', 't', 'o', '_', 's', 'n', 'i', '_', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\t', -'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\320', '\001', '\001', 'R', '\025', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'A', 'u', -'t', 'o', 'S', 'n', 'i', 'H', 'e', 'a', 'd', 'e', 'r', ':', '4', '\232', '\305', '\210', '\036', '/', '\n', '-', 'e', 'n', 'v', 'o', 'y', -'.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'H', 't', 't', 'p', -'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\"', '\206', '\004', '\n', '\036', 'A', 'l', 't', 'e', 'r', -'n', 'a', 't', 'e', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 's', 'C', 'a', 'c', 'h', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', -'\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', -'n', 'a', 'm', 'e', '\022', 'F', '\n', '\013', 'm', 'a', 'x', '_', 'e', 'n', 't', 'r', 'i', 'e', 's', '\030', '\002', ' ', '\001', '(', '\013', -'2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', -'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', ' ', '\000', 'R', '\n', 'm', 'a', 'x', 'E', 'n', 't', 'r', 'i', 'e', -'s', '\022', '_', '\n', '\026', 'k', 'e', 'y', '_', 'v', 'a', 'l', 'u', 'e', '_', 's', 't', 'o', 'r', 'e', '_', 'c', 'o', 'n', 'f', -'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', -'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', -'i', 'g', 'R', '\023', 'k', 'e', 'y', 'V', 'a', 'l', 'u', 'e', 'S', 't', 'o', 'r', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\204', -'\001', '\n', '\024', 'p', 'r', 'e', 'p', 'o', 'p', 'u', 'l', 'a', 't', 'e', 'd', '_', 'e', 'n', 't', 'r', 'i', 'e', 's', '\030', '\004', -' ', '\003', '(', '\013', '2', 'Q', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '.', 'A', 'l', 't', 'e', 'r', 'n', 'a', 't', 'e', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 's', 'C', 'a', 'c', 'h', -'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'A', 'l', 't', 'e', 'r', 'n', 'a', 't', 'e', 'P', 'r', 'o', 't', 'o', 'c', 'o', -'l', 's', 'C', 'a', 'c', 'h', 'e', 'E', 'n', 't', 'r', 'y', 'R', '\023', 'p', 'r', 'e', 'p', 'o', 'p', 'u', 'l', 'a', 't', 'e', -'d', 'E', 'n', 't', 'r', 'i', 'e', 's', '\022', '-', '\n', '\022', 'c', 'a', 'n', 'o', 'n', 'i', 'c', 'a', 'l', '_', 's', 'u', 'f', -'f', 'i', 'x', 'e', 's', '\030', '\005', ' ', '\003', '(', '\t', 'R', '\021', 'c', 'a', 'n', 'o', 'n', 'i', 'c', 'a', 'l', 'S', 'u', 'f', -'f', 'i', 'x', 'e', 's', '\032', 'h', '\n', '\034', 'A', 'l', 't', 'e', 'r', 'n', 'a', 't', 'e', 'P', 'r', 'o', 't', 'o', 'c', 'o', -'l', 's', 'C', 'a', 'c', 'h', 'e', 'E', 'n', 't', 'r', 'y', '\022', '\'', '\n', '\010', 'h', 'o', 's', 't', 'n', 'a', 'm', 'e', '\030', -'\001', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\320', '\001', '\001', 'R', '\010', 'h', 'o', 's', 't', 'n', -'a', 'm', 'e', '\022', '\037', '\n', '\004', 'p', 'o', 'r', 't', '\030', '\002', ' ', '\001', '(', '\r', 'B', '\013', '\372', 'B', '\010', '*', '\006', '\020', -'\377', '\377', '\003', ' ', '\000', 'R', '\004', 'p', 'o', 'r', 't', '\"', '\257', '\005', '\n', '\023', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', -'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '<', '\n', '\014', 'i', 'd', 'l', 'e', '_', 't', 'i', 'm', 'e', 'o', 'u', -'t', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\013', 'i', 'd', 'l', 'e', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'Q', '\n', -'\027', 'm', 'a', 'x', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\030', -'\003', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', -'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\025', 'm', 'a', 'x', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'D', 'u', 'r', -'a', 't', 'i', 'o', 'n', '\022', 'Q', '\n', '\021', 'm', 'a', 'x', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 'c', 'o', 'u', 'n', -'t', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', '\017', 'm', 'a', -'x', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'C', 'o', 'u', 'n', 't', '\022', 'I', '\n', '\023', 'm', 'a', 'x', '_', 's', 't', 'r', 'e', -'a', 'm', '_', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\030', '\004', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\021', 'm', 'a', 'x', 'S', -'t', 'r', 'e', 'a', 'm', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\022', '\215', '\001', '\n', '\037', 'h', 'e', 'a', 'd', 'e', 'r', 's', -'_', 'w', 'i', 't', 'h', '_', 'u', 'n', 'd', 'e', 'r', 's', 'c', 'o', 'r', 'e', 's', '_', 'a', 'c', 't', 'i', 'o', 'n', '\030', -'\005', ' ', '\001', '(', '\016', '2', 'F', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', -'.', 'v', '3', '.', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'H', -'e', 'a', 'd', 'e', 'r', 's', 'W', 'i', 't', 'h', 'U', 'n', 'd', 'e', 'r', 's', 'c', 'o', 'r', 'e', 's', 'A', 'c', 't', 'i', -'o', 'n', 'R', '\034', 'h', 'e', 'a', 'd', 'e', 'r', 's', 'W', 'i', 't', 'h', 'U', 'n', 'd', 'e', 'r', 's', 'c', 'o', 'r', 'e', -'s', 'A', 'c', 't', 'i', 'o', 'n', '\022', '[', '\n', '\033', 'm', 'a', 'x', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', 's', '_', 'p', -'e', 'r', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '\030', '\006', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', -'\030', 'm', 'a', 'x', 'R', 'e', 'q', 'u', 'e', 's', 't', 's', 'P', 'e', 'r', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', -'\"', 'N', '\n', '\034', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'W', 'i', 't', 'h', 'U', 'n', 'd', 'e', 'r', 's', 'c', 'o', 'r', 'e', -'s', 'A', 'c', 't', 'i', 'o', 'n', '\022', '\t', '\n', '\005', 'A', 'L', 'L', 'O', 'W', '\020', '\000', '\022', '\022', '\n', '\016', 'R', 'E', 'J', -'E', 'C', 'T', '_', 'R', 'E', 'Q', 'U', 'E', 'S', 'T', '\020', '\001', '\022', '\017', '\n', '\013', 'D', 'R', 'O', 'P', '_', 'H', 'E', 'A', -'D', 'E', 'R', '\020', '\002', ':', ',', '\232', '\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', -'2', '.', 'c', 'o', 'r', 'e', '.', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', -'s', '\"', '\223', '\t', '\n', '\024', 'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', -'s', '\022', 'H', '\n', '\022', 'a', 'l', 'l', 'o', 'w', '_', 'a', 'b', 's', 'o', 'l', 'u', 't', 'e', '_', 'u', 'r', 'l', '\030', '\001', -' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', -'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\020', 'a', 'l', 'l', 'o', 'w', 'A', 'b', 's', 'o', 'l', 'u', 't', 'e', 'U', 'r', 'l', -'\022', '$', '\n', '\016', 'a', 'c', 'c', 'e', 'p', 't', '_', 'h', 't', 't', 'p', '_', '1', '0', '\030', '\002', ' ', '\001', '(', '\010', 'R', -'\014', 'a', 'c', 'c', 'e', 'p', 't', 'H', 't', 't', 'p', '1', '0', '\022', '6', '\n', '\030', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', -'h', 'o', 's', 't', '_', 'f', 'o', 'r', '_', 'h', 't', 't', 'p', '_', '1', '0', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\024', 'd', -'e', 'f', 'a', 'u', 'l', 't', 'H', 'o', 's', 't', 'F', 'o', 'r', 'H', 't', 't', 'p', '1', '0', '\022', 'f', '\n', '\021', 'h', 'e', -'a', 'd', 'e', 'r', '_', 'k', 'e', 'y', '_', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\004', ' ', '\001', '(', '\013', '2', ':', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '1', -'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'K', 'e', 'y', -'F', 'o', 'r', 'm', 'a', 't', 'R', '\017', 'h', 'e', 'a', 'd', 'e', 'r', 'K', 'e', 'y', 'F', 'o', 'r', 'm', 'a', 't', '\022', '\'', -'\n', '\017', 'e', 'n', 'a', 'b', 'l', 'e', '_', 't', 'r', 'a', 'i', 'l', 'e', 'r', 's', '\030', '\005', ' ', '\001', '(', '\010', 'R', '\016', -'e', 'n', 'a', 'b', 'l', 'e', 'T', 'r', 'a', 'i', 'l', 'e', 'r', 's', '\022', '0', '\n', '\024', 'a', 'l', 'l', 'o', 'w', '_', 'c', -'h', 'u', 'n', 'k', 'e', 'd', '_', 'l', 'e', 'n', 'g', 't', 'h', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\022', 'a', 'l', 'l', 'o', -'w', 'C', 'h', 'u', 'n', 'k', 'e', 'd', 'L', 'e', 'n', 'g', 't', 'h', '\022', 'z', '\n', '-', 'o', 'v', 'e', 'r', 'r', 'i', 'd', -'e', '_', 's', 't', 'r', 'e', 'a', 'm', '_', 'e', 'r', 'r', 'o', 'r', '_', 'o', 'n', '_', 'i', 'n', 'v', 'a', 'l', 'i', 'd', -'_', 'h', 't', 't', 'p', '_', 'm', 'e', 's', 's', 'a', 'g', 'e', '\030', '\007', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\'', 'o', -'v', 'e', 'r', 'r', 'i', 'd', 'e', 'S', 't', 'r', 'e', 'a', 'm', 'E', 'r', 'r', 'o', 'r', 'O', 'n', 'I', 'n', 'v', 'a', 'l', -'i', 'd', 'H', 't', 't', 'p', 'M', 'e', 's', 's', 'a', 'g', 'e', '\022', '7', '\n', '\030', 's', 'e', 'n', 'd', '_', 'f', 'u', 'l', -'l', 'y', '_', 'q', 'u', 'a', 'l', 'i', 'f', 'i', 'e', 'd', '_', 'u', 'r', 'l', '\030', '\010', ' ', '\001', '(', '\010', 'R', '\025', 's', -'e', 'n', 'd', 'F', 'u', 'l', 'l', 'y', 'Q', 'u', 'a', 'l', 'i', 'f', 'i', 'e', 'd', 'U', 'r', 'l', '\022', 'N', '\n', '\020', 'u', -'s', 'e', '_', 'b', 'a', 'l', 's', 'a', '_', 'p', 'a', 'r', 's', 'e', 'r', '\030', '\t', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', -'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'B', -'\010', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'R', '\016', 'u', 's', 'e', 'B', 'a', 'l', 's', 'a', 'P', 'a', 'r', 's', 'e', 'r', -'\022', ':', '\n', '\024', 'a', 'l', 'l', 'o', 'w', '_', 'c', 'u', 's', 't', 'o', 'm', '_', 'm', 'e', 't', 'h', 'o', 'd', 's', '\030', -'\n', ' ', '\001', '(', '\010', 'B', '\010', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'R', '\022', 'a', 'l', 'l', 'o', 'w', 'C', 'u', 's', -'t', 'o', 'm', 'M', 'e', 't', 'h', 'o', 'd', 's', '\032', '\237', '\003', '\n', '\017', 'H', 'e', 'a', 'd', 'e', 'r', 'K', 'e', 'y', 'F', -'o', 'r', 'm', 'a', 't', '\022', 'x', '\n', '\021', 'p', 'r', 'o', 'p', 'e', 'r', '_', 'c', 'a', 's', 'e', '_', 'w', 'o', 'r', 'd', -'s', '\030', '\001', ' ', '\001', '(', '\013', '2', 'J', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', -'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', -'s', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'K', 'e', 'y', 'F', 'o', 'r', 'm', 'a', 't', '.', 'P', 'r', 'o', 'p', 'e', 'r', 'C', -'a', 's', 'e', 'W', 'o', 'r', 'd', 's', 'H', '\000', 'R', '\017', 'p', 'r', 'o', 'p', 'e', 'r', 'C', 'a', 's', 'e', 'W', 'o', 'r', -'d', 's', '\022', '[', '\n', '\022', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 'f', 'o', 'r', 'm', 'a', 't', 't', 'e', 'r', '\030', -'\010', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', -'.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', -'\000', 'R', '\021', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', 'F', 'o', 'r', 'm', 'a', 't', 't', 'e', 'r', '\032', '`', '\n', '\017', 'P', -'r', 'o', 'p', 'e', 'r', 'C', 'a', 's', 'e', 'W', 'o', 'r', 'd', 's', ':', 'M', '\232', '\305', '\210', '\036', 'H', '\n', 'F', 'e', 'n', -'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', -'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'K', 'e', 'y', 'F', 'o', 'r', 'm', -'a', 't', '.', 'P', 'r', 'o', 'p', 'e', 'r', 'C', 'a', 's', 'e', 'W', 'o', 'r', 'd', 's', ':', '=', '\232', '\305', '\210', '\036', '8', -'\n', '6', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 't', 't', 'p', '1', -'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'K', 'e', 'y', -'F', 'o', 'r', 'm', 'a', 't', 'B', '\024', '\n', '\r', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'f', 'o', 'r', 'm', 'a', 't', '\022', '\003', -'\370', 'B', '\001', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', -'c', 'o', 'r', 'e', '.', 'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', -'\"', '\301', '\002', '\n', '\021', 'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', '\022', 'C', '\n', -'\010', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\014', '\372', 'B', '\t', '\252', '\001', '\006', -'2', '\004', '\020', '\300', '\204', '=', 'R', '\010', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\022', 'C', '\n', '\007', 't', 'i', 'm', 'e', 'o', -'u', 't', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', -'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\016', '\372', 'B', '\013', '\252', '\001', '\010', '\010', '\001', '2', '\004', '\020', '\300', '\204', -'=', 'R', '\007', 't', 'i', 'm', 'e', 'o', 'u', 't', '\022', '?', '\n', '\017', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '_', 'j', 'i', -'t', 't', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', -'3', '.', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\016', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', 'J', 'i', 't', 't', 'e', 'r', -'\022', 'a', '\n', '\030', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'i', 'd', 'l', 'e', '_', 'i', 'n', 't', 'e', 'r', -'v', 'a', 'l', '\030', '\004', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', -'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\014', '\372', 'B', '\t', '\252', '\001', '\006', '2', '\004', '\020', '\300', '\204', '=', -'R', '\026', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'I', 'd', 'l', 'e', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\"', -'\320', '\016', '\n', '\024', 'H', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', -'F', '\n', '\020', 'h', 'p', 'a', 'c', 'k', '_', 't', 'a', 'b', 'l', 'e', '_', 's', 'i', 'z', 'e', '\030', '\001', ' ', '\001', '(', '\013', -'2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', -'V', 'a', 'l', 'u', 'e', 'R', '\016', 'h', 'p', 'a', 'c', 'k', 'T', 'a', 'b', 'l', 'e', 'S', 'i', 'z', 'e', '\022', 'a', '\n', '\026', -'m', 'a', 'x', '_', 'c', 'o', 'n', 'c', 'u', 'r', 'r', 'e', 'n', 't', '_', 's', 't', 'r', 'e', 'a', 'm', 's', '\030', '\002', ' ', -'\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', -'t', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\r', '\372', 'B', '\n', '*', '\010', '\030', '\377', '\377', '\377', '\377', '\007', '(', '\001', 'R', '\024', -'m', 'a', 'x', 'C', 'o', 'n', 'c', 'u', 'r', 'r', 'e', 'n', 't', 'S', 't', 'r', 'e', 'a', 'm', 's', '\022', 'j', '\n', '\032', 'i', -'n', 'i', 't', 'i', 'a', 'l', '_', 's', 't', 'r', 'e', 'a', 'm', '_', 'w', 'i', 'n', 'd', 'o', 'w', '_', 's', 'i', 'z', 'e', -'\030', '\003', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\017', '\372', 'B', '\014', '*', '\n', '\030', '\377', '\377', '\377', '\377', '\007', '(', -'\377', '\377', '\003', 'R', '\027', 'i', 'n', 'i', 't', 'i', 'a', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'S', -'i', 'z', 'e', '\022', 'r', '\n', '\036', 'i', 'n', 'i', 't', 'i', 'a', 'l', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', -'_', 'w', 'i', 'n', 'd', 'o', 'w', '_', 's', 'i', 'z', 'e', '\030', '\004', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\017', -'\372', 'B', '\014', '*', '\n', '\030', '\377', '\377', '\377', '\377', '\007', '(', '\377', '\377', '\003', 'R', '\033', 'i', 'n', 'i', 't', 'i', 'a', 'l', 'C', -'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'W', 'i', 'n', 'd', 'o', 'w', 'S', 'i', 'z', 'e', '\022', '#', '\n', '\r', 'a', 'l', -'l', 'o', 'w', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', '\030', '\005', ' ', '\001', '(', '\010', 'R', '\014', 'a', 'l', 'l', 'o', 'w', 'C', -'o', 'n', 'n', 'e', 'c', 't', '\022', '%', '\n', '\016', 'a', 'l', 'l', 'o', 'w', '_', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', -'\006', ' ', '\001', '(', '\010', 'R', '\r', 'a', 'l', 'l', 'o', 'w', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'U', '\n', '\023', 'm', -'a', 'x', '_', 'o', 'u', 't', 'b', 'o', 'u', 'n', 'd', '_', 'f', 'r', 'a', 'm', 'e', 's', '\030', '\007', ' ', '\001', '(', '\013', '2', -'\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', -'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', '\021', 'm', 'a', 'x', 'O', 'u', 't', 'b', 'o', 'u', 'n', -'d', 'F', 'r', 'a', 'm', 'e', 's', '\022', 'd', '\n', '\033', 'm', 'a', 'x', '_', 'o', 'u', 't', 'b', 'o', 'u', 'n', 'd', '_', 'c', -'o', 'n', 't', 'r', 'o', 'l', '_', 'f', 'r', 'a', 'm', 'e', 's', '\030', '\010', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', -'\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', '\030', 'm', 'a', 'x', 'O', 'u', 't', 'b', 'o', 'u', 'n', 'd', 'C', 'o', 'n', 't', -'r', 'o', 'l', 'F', 'r', 'a', 'm', 'e', 's', '\022', '\204', '\001', '\n', '1', 'm', 'a', 'x', '_', 'c', 'o', 'n', 's', 'e', 'c', 'u', -'t', 'i', 'v', 'e', '_', 'i', 'n', 'b', 'o', 'u', 'n', 'd', '_', 'f', 'r', 'a', 'm', 'e', 's', '_', 'w', 'i', 't', 'h', '_', -'e', 'm', 'p', 't', 'y', '_', 'p', 'a', 'y', 'l', 'o', 'a', 'd', '\030', '\t', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', -'+', 'm', 'a', 'x', 'C', 'o', 'n', 's', 'e', 'c', 'u', 't', 'i', 'v', 'e', 'I', 'n', 'b', 'o', 'u', 'n', 'd', 'F', 'r', 'a', -'m', 'e', 's', 'W', 'i', 't', 'h', 'E', 'm', 'p', 't', 'y', 'P', 'a', 'y', 'l', 'o', 'a', 'd', '\022', 'o', '\n', '&', 'm', 'a', -'x', '_', 'i', 'n', 'b', 'o', 'u', 'n', 'd', '_', 'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', '_', 'f', 'r', 'a', 'm', 'e', 's', -'_', 'p', 'e', 'r', '_', 's', 't', 'r', 'e', 'a', 'm', '\030', '\n', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '!', 'm', -'a', 'x', 'I', 'n', 'b', 'o', 'u', 'n', 'd', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 'F', 'r', 'a', 'm', 'e', 's', 'P', 'e', -'r', 'S', 't', 'r', 'e', 'a', 'm', '\022', '\221', '\001', '\n', '4', 'm', 'a', 'x', '_', 'i', 'n', 'b', 'o', 'u', 'n', 'd', '_', 'w', -'i', 'n', 'd', 'o', 'w', '_', 'u', 'p', 'd', 'a', 't', 'e', '_', 'f', 'r', 'a', 'm', 'e', 's', '_', 'p', 'e', 'r', '_', 'd', -'a', 't', 'a', '_', 'f', 'r', 'a', 'm', 'e', '_', 's', 'e', 'n', 't', '\030', '\013', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', -'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', -'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', ',', 'm', 'a', 'x', 'I', 'n', 'b', 'o', 'u', 'n', 'd', 'W', 'i', 'n', 'd', -'o', 'w', 'U', 'p', 'd', 'a', 't', 'e', 'F', 'r', 'a', 'm', 'e', 's', 'P', 'e', 'r', 'D', 'a', 't', 'a', 'F', 'r', 'a', 'm', -'e', 'S', 'e', 'n', 't', '\022', '^', '\n', '&', 's', 't', 'r', 'e', 'a', 'm', '_', 'e', 'r', 'r', 'o', 'r', '_', 'o', 'n', '_', -'i', 'n', 'v', 'a', 'l', 'i', 'd', '_', 'h', 't', 't', 'p', '_', 'm', 'e', 's', 's', 'a', 'g', 'i', 'n', 'g', '\030', '\014', ' ', -'\001', '(', '\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '!', 's', 't', 'r', 'e', 'a', 'm', 'E', -'r', 'r', 'o', 'r', 'O', 'n', 'I', 'n', 'v', 'a', 'l', 'i', 'd', 'H', 't', 't', 'p', 'M', 'e', 's', 's', 'a', 'g', 'i', 'n', -'g', '\022', 'z', '\n', '-', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '_', 's', 't', 'r', 'e', 'a', 'm', '_', 'e', 'r', 'r', 'o', -'r', '_', 'o', 'n', '_', 'i', 'n', 'v', 'a', 'l', 'i', 'd', '_', 'h', 't', 't', 'p', '_', 'm', 'e', 's', 's', 'a', 'g', 'e', -'\030', '\016', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\'', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'S', 't', 'r', 'e', 'a', 'm', -'E', 'r', 'r', 'o', 'r', 'O', 'n', 'I', 'n', 'v', 'a', 'l', 'i', 'd', 'H', 't', 't', 'p', 'M', 'e', 's', 's', 'a', 'g', 'e', -'\022', 'z', '\n', '\032', 'c', 'u', 's', 't', 'o', 'm', '_', 's', 'e', 't', 't', 'i', 'n', 'g', 's', '_', 'p', 'a', 'r', 'a', 'm', -'e', 't', 'e', 'r', 's', '\030', '\r', ' ', '\003', '(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', -'t', 'i', 'o', 'n', 's', '.', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'R', '\030', -'c', 'u', 's', 't', 'o', 'm', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '\022', -'Z', '\n', '\024', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'k', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '\030', '\017', -' ', '\001', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '.', 'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 'R', '\023', 'c', 'o', 'n', -'n', 'e', 'c', 't', 'i', 'o', 'n', 'K', 'e', 'e', 'p', 'a', 'l', 'i', 'v', 'e', '\022', 'P', '\n', '\021', 'u', 's', 'e', '_', 'o', -'g', 'h', 't', 't', 'p', '2', '_', 'c', 'o', 'd', 'e', 'c', '\030', '\020', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'B', '\010', '\322', '\306', -'\244', '\341', '\006', '\002', '\010', '\001', 'R', '\017', 'u', 's', 'e', 'O', 'g', 'h', 't', 't', 'p', '2', 'C', 'o', 'd', 'e', 'c', '\032', '\342', -'\001', '\n', '\021', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', '\022', 'N', '\n', '\n', 'i', -'d', 'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\020', '\372', 'B', '\r', -'*', '\006', '\030', '\377', '\377', '\003', '(', '\000', '\212', '\001', '\002', '\020', '\001', 'R', '\n', 'i', 'd', 'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', -'\022', '<', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\010', '\372', 'B', '\005', -'\212', '\001', '\002', '\020', '\001', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '?', '\232', '\305', '\210', '\036', ':', '\n', '8', 'e', 'n', 'v', 'o', -'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'H', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', -'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 'P', 'a', 'r', 'a', 'm', 'e', 't', -'e', 'r', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', -'o', 'r', 'e', '.', 'H', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\"', -'\245', '\001', '\n', '\023', 'G', 'r', 'p', 'c', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '`', -'\n', '\026', 'h', 't', 't', 'p', '2', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', -'\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', -'.', 'v', '3', '.', 'H', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', -'\024', 'h', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', ':', ',', '\232', '\305', -'\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'c', 'o', 'r', 'e', '.', 'G', 'r', -'p', 'c', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\"', '\261', '\002', '\n', '\024', 'H', 't', 't', -'p', '3', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', ']', '\n', '\025', 'q', 'u', 'i', 'c', -'_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', ')', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'Q', 'u', 'i', -'c', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\023', 'q', 'u', 'i', 'c', 'P', 'r', 'o', -'t', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'z', '\n', '-', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '_', -'s', 't', 'r', 'e', 'a', 'm', '_', 'e', 'r', 'r', 'o', 'r', '_', 'o', 'n', '_', 'i', 'n', 'v', 'a', 'l', 'i', 'd', '_', 'h', -'t', 't', 'p', '_', 'm', 'e', 's', 's', 'a', 'g', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\'', 'o', 'v', 'e', -'r', 'r', 'i', 'd', 'e', 'S', 't', 'r', 'e', 'a', 'm', 'E', 'r', 'r', 'o', 'r', 'O', 'n', 'I', 'n', 'v', 'a', 'l', 'i', 'd', -'H', 't', 't', 'p', 'M', 'e', 's', 's', 'a', 'g', 'e', '\022', '>', '\n', '\026', 'a', 'l', 'l', 'o', 'w', '_', 'e', 'x', 't', 'e', -'n', 'd', 'e', 'd', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', '\030', '\005', ' ', '\001', '(', '\010', 'B', '\010', '\322', '\306', '\244', '\341', '\006', -'\002', '\010', '\001', 'R', '\024', 'a', 'l', 'l', 'o', 'w', 'E', 'x', 't', 'e', 'n', 'd', 'e', 'd', 'C', 'o', 'n', 'n', 'e', 'c', 't', -'\"', 't', '\n', '\032', 'S', 'c', 'h', 'e', 'm', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', -'a', 't', 'i', 'o', 'n', '\022', 'D', '\n', '\023', 's', 'c', 'h', 'e', 'm', 'e', '_', 't', 'o', '_', 'o', 'v', 'e', 'r', 'w', 'r', -'i', 't', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\022', '\372', 'B', '\017', 'r', '\r', 'R', '\004', 'h', 't', 't', 'p', 'R', '\005', 'h', -'t', 't', 'p', 's', 'H', '\000', 'R', '\021', 's', 'c', 'h', 'e', 'm', 'e', 'T', 'o', 'O', 'v', 'e', 'r', 'w', 'r', 'i', 't', 'e', -'B', '\020', '\n', '\016', 't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 'B', '\201', '\001', '\n', '\"', 'i', 'o', -'.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\r', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', -'B', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', -'-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', -'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', ';', 'c', 'o', 'r', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', -'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[10] = { - &envoy_config_core_v3_extension_proto_upbdefinit, - &envoy_type_v3_percent_proto_upbdefinit, - &google_protobuf_duration_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &xds_annotations_v3_status_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_core_v3_protocol_proto_upbdefinit = { - deps, - &envoy_config_core_v3_protocol_proto_upb_file_layout, - "envoy/config/core/v3/protocol.proto", - UPB_STRINGVIEW_INIT(descriptor, 6708) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c deleted file mode 100644 index 51fbd332256..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +++ /dev/null @@ -1,70 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/substitution_format_string.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/core/v3/substitution_format_string.upbdefs.h" -#include "envoy/config/core/v3/substitution_format_string.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[839] = {'\n', '5', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 's', 'u', -'b', 's', 't', 'i', 't', 'u', 't', 'i', 'o', 'n', '_', 'f', 'o', 'r', 'm', 'a', 't', '_', 's', 't', 'r', 'i', 'n', 'g', '.', -'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', -'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', -'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\034', -'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 's', 't', 'r', 'u', 'c', 't', '.', 'p', 'r', -'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', -'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', -'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', -'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\231', '\003', '\n', -'\030', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'i', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', 'S', 't', 'r', 'i', 'n', 'g', -'\022', '.', '\n', '\013', 't', 'e', 'x', 't', '_', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\013', '\030', '\001', -'\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', '\n', 't', 'e', 'x', 't', 'F', 'o', 'r', 'm', 'a', 't', '\022', 'D', -'\n', '\013', 'j', 's', 'o', 'n', '_', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\002', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'B', '\010', '\372', 'B', '\005', '\212', -'\001', '\002', '\020', '\001', 'H', '\000', 'R', '\n', 'j', 's', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', '\022', 'P', '\n', '\022', 't', 'e', 'x', -'t', '_', 'f', 'o', 'r', 'm', 'a', 't', '_', 's', 'o', 'u', 'r', 'c', 'e', '\030', '\005', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', -'o', 'u', 'r', 'c', 'e', 'H', '\000', 'R', '\020', 't', 'e', 'x', 't', 'F', 'o', 'r', 'm', 'a', 't', 'S', 'o', 'u', 'r', 'c', 'e', -'\022', '*', '\n', '\021', 'o', 'm', 'i', 't', '_', 'e', 'm', 'p', 't', 'y', '_', 'v', 'a', 'l', 'u', 'e', 's', '\030', '\003', ' ', '\001', -'(', '\010', 'R', '\017', 'o', 'm', 'i', 't', 'E', 'm', 'p', 't', 'y', 'V', 'a', 'l', 'u', 'e', 's', '\022', '.', '\n', '\014', 'c', 'o', -'n', 't', 'e', 'n', 't', '_', 't', 'y', 'p', 'e', '\030', '\004', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', -'\002', '\310', '\001', '\000', 'R', '\013', 'c', 'o', 'n', 't', 'e', 'n', 't', 'T', 'y', 'p', 'e', '\022', 'J', '\n', '\n', 'f', 'o', 'r', 'm', -'a', 't', 't', 'e', 'r', 's', '\030', '\006', ' ', '\003', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', -'C', 'o', 'n', 'f', 'i', 'g', 'R', '\n', 'f', 'o', 'r', 'm', 'a', 't', 't', 'e', 'r', 's', 'B', '\r', '\n', '\006', 'f', 'o', 'r', -'m', 'a', 't', '\022', '\003', '\370', 'B', '\001', 'B', '\221', '\001', '\n', '\"', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', -'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\035', 'S', -'u', 'b', 's', 't', 'i', 't', 'u', 't', 'i', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', 'S', 't', 'r', 'i', 'n', 'g', 'P', 'r', -'o', 't', 'o', 'P', '\001', 'Z', 'B', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', -'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', -'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', ';', 'c', 'o', 'r', 'e', 'v', '3', '\272', '\200', -'\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[7] = { - &envoy_config_core_v3_base_proto_upbdefinit, - &envoy_config_core_v3_extension_proto_upbdefinit, - &google_protobuf_struct_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_core_v3_substitution_format_string_proto_upbdefinit = { - deps, - &envoy_config_core_v3_substitution_format_string_proto_upb_file_layout, - "envoy/config/core/v3/substitution_format_string.proto", - UPB_STRINGVIEW_INIT(descriptor, 839) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h deleted file mode 100644 index 1054fe0131f..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/core/v3/substitution_format_string.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPBDEFS_H_ -#define ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_config_core_v3_substitution_format_string_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_config_core_v3_SubstitutionFormatString_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_core_v3_substitution_format_string_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.core.v3.SubstitutionFormatString"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_CORE_V3_SUBSTITUTION_FORMAT_STRING_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c deleted file mode 100644 index 15e186ab5aa..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +++ /dev/null @@ -1,99 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/endpoint/v3/endpoint.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/endpoint/v3/endpoint.upbdefs.h" -#include "envoy/config/endpoint/v3/endpoint.upb.h" - -extern _upb_DefPool_Init envoy_config_endpoint_v3_endpoint_components_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[1520] = {'\n', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '/', 'v', -'3', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', '\022', '\030', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', '\032', '2', 'e', 'n', 'v', 'o', 'y', '/', -'c', 'o', 'n', 'f', 'i', 'g', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '/', 'v', '3', '/', 'e', 'n', 'd', 'p', 'o', 'i', -'n', 't', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', 'o', -'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', -'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', -'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', -'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', -'t', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', -'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', -'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', -'o', 't', 'o', '\"', '\246', '\010', '\n', '\025', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', -'m', 'e', 'n', 't', '\022', '*', '\n', '\014', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', -'\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\013', 'c', 'l', 'u', 's', 't', 'e', 'r', 'N', 'a', 'm', 'e', '\022', 'K', -'\n', '\t', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', '-', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', '.', 'L', 'o', 'c', 'a', 'l', -'i', 't', 'y', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', 'R', '\t', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', -'\022', 'l', '\n', '\017', 'n', 'a', 'm', 'e', 'd', '_', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\030', '\005', ' ', '\003', '(', '\013', -'2', 'C', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', -'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', '.', -'N', 'a', 'm', 'e', 'd', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', 'E', 'n', 't', 'r', 'y', 'R', '\016', 'n', 'a', 'm', 'e', -'d', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\022', 'N', '\n', '\006', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\004', ' ', '\001', '(', -'\013', '2', '6', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', -'.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', -'.', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\006', 'p', 'o', 'l', 'i', 'c', 'y', '\032', '\303', '\004', '\n', '\006', 'P', 'o', 'l', 'i', 'c', -'y', '\022', 'j', '\n', '\016', 'd', 'r', 'o', 'p', '_', 'o', 'v', 'e', 'r', 'l', 'o', 'a', 'd', 's', '\030', '\002', ' ', '\003', '(', '\013', -'2', 'C', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', -'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', '.', -'P', 'o', 'l', 'i', 'c', 'y', '.', 'D', 'r', 'o', 'p', 'O', 'v', 'e', 'r', 'l', 'o', 'a', 'd', 'R', '\r', 'd', 'r', 'o', 'p', -'O', 'v', 'e', 'r', 'l', 'o', 'a', 'd', 's', '\022', '^', '\n', '\027', 'o', 'v', 'e', 'r', 'p', 'r', 'o', 'v', 'i', 's', 'i', 'o', -'n', 'i', 'n', 'g', '_', 'f', 'a', 'c', 't', 'o', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', -'B', '\004', '*', '\002', ' ', '\000', 'R', '\026', 'o', 'v', 'e', 'r', 'p', 'r', 'o', 'v', 'i', 's', 'i', 'o', 'n', 'i', 'n', 'g', 'F', -'a', 'c', 't', 'o', 'r', '\022', 'U', '\n', '\024', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '_', 's', 't', 'a', 'l', 'e', '_', 'a', -'f', 't', 'e', 'r', '\030', '\004', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\252', '\001', '\002', '*', '\000', 'R', '\022', 'e', -'n', 'd', 'p', 'o', 'i', 'n', 't', 'S', 't', 'a', 'l', 'e', 'A', 'f', 't', 'e', 'r', '\032', '\275', '\001', '\n', '\014', 'D', 'r', 'o', -'p', 'O', 'v', 'e', 'r', 'l', 'o', 'a', 'd', '\022', '#', '\n', '\010', 'c', 'a', 't', 'e', 'g', 'o', 'r', 'y', '\030', '\001', ' ', '\001', -'(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\010', 'c', 'a', 't', 'e', 'g', 'o', 'r', 'y', '\022', 'I', '\n', '\017', -'d', 'r', 'o', 'p', '_', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'a', 'g', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', -'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', -'r', 'c', 'e', 'n', 't', 'R', '\016', 'd', 'r', 'o', 'p', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'a', 'g', 'e', ':', '=', '\232', '\305', -'\210', '\036', '8', '\n', '6', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', -'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', '.', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'D', 'r', 'o', -'p', 'O', 'v', 'e', 'r', 'l', 'o', 'a', 'd', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 'a', -'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', 'm', 'e', -'n', 't', '.', 'P', 'o', 'l', 'i', 'c', 'y', 'J', '\004', '\010', '\001', '\020', '\002', 'J', '\004', '\010', '\005', '\020', '\006', 'R', '\030', 'd', 'i', -'s', 'a', 'b', 'l', 'e', '_', 'o', 'v', 'e', 'r', 'p', 'r', 'o', 'v', 'i', 's', 'i', 'o', 'n', 'i', 'n', 'g', '\032', 'e', '\n', -'\023', 'N', 'a', 'm', 'e', 'd', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', -'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '8', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', -'\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', -'n', 't', '.', 'v', '3', '.', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', -':', ')', '\232', '\305', '\210', '\036', '$', '\n', '\"', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'C', 'l', 'u', -'s', 't', 'e', 'r', 'L', 'o', 'a', 'd', 'A', 's', 's', 'i', 'g', 'n', 'm', 'e', 'n', 't', 'B', '\215', '\001', '\n', '&', 'i', 'o', -'.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', 'B', '\r', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'P', 'r', 'o', 't', -'o', 'P', '\001', 'Z', 'J', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', -'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', -'c', 'o', 'n', 'f', 'i', 'g', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '/', 'v', '3', ';', 'e', 'n', 'd', 'p', 'o', 'i', -'n', 't', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[8] = { - &envoy_config_endpoint_v3_endpoint_components_proto_upbdefinit, - &envoy_type_v3_percent_proto_upbdefinit, - &google_protobuf_duration_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_endpoint_v3_endpoint_proto_upbdefinit = { - deps, - &envoy_config_endpoint_v3_endpoint_proto_upb_file_layout, - "envoy/config/endpoint/v3/endpoint.proto", - UPB_STRINGVIEW_INIT(descriptor, 1520) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c deleted file mode 100644 index b02cf56b064..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +++ /dev/null @@ -1,133 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/endpoint/v3/endpoint_components.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/endpoint/v3/endpoint_components.upbdefs.h" -#include "envoy/config/endpoint/v3/endpoint_components.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_config_source_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_health_check_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[2316] = {'\n', '2', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '/', 'v', -'3', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', -'t', 'o', '\022', '\030', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', -'.', 'v', '3', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', -'/', 'a', 'd', 'd', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', -'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', -'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'n', 'f', 'i', -'g', '_', 's', 'o', 'u', 'r', 'c', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', -'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'h', 'e', 'a', 'l', 't', 'h', '_', 'c', 'h', 'e', 'c', 'k', '.', -'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', -'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', -'t', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', -'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', -'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', -'o', 't', 'o', '\"', '\371', '\003', '\n', '\010', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', '\022', '7', '\n', '\007', 'a', 'd', 'd', 'r', 'e', -'s', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', -'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', 'd', -'\n', '\023', 'h', 'e', 'a', 'l', 't', 'h', '_', 'c', 'h', 'e', 'c', 'k', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', -'(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', -'t', '.', 'v', '3', '.', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', -'C', 'o', 'n', 'f', 'i', 'g', 'R', '\021', 'h', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'C', 'o', 'n', 'f', 'i', 'g', -'\022', '\032', '\n', '\010', 'h', 'o', 's', 't', 'n', 'a', 'm', 'e', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\010', 'h', 'o', 's', 't', 'n', -'a', 'm', 'e', '\032', '\212', '\002', '\n', '\021', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'C', 'o', 'n', 'f', 'i', 'g', -'\022', '(', '\n', '\n', 'p', 'o', 'r', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', '\r', 'B', '\t', '\372', 'B', '\006', -'*', '\004', '\030', '\377', '\377', '\003', 'R', '\t', 'p', 'o', 'r', 't', 'V', 'a', 'l', 'u', 'e', '\022', '\032', '\n', '\010', 'h', 'o', 's', 't', -'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\010', 'h', 'o', 's', 't', 'n', 'a', 'm', 'e', '\022', '7', '\n', '\007', 'a', -'d', 'd', 'r', 'e', 's', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\007', 'a', 'd', 'd', 'r', 'e', -'s', 's', '\022', '=', '\n', '\033', 'd', 'i', 's', 'a', 'b', 'l', 'e', '_', 'a', 'c', 't', 'i', 'v', 'e', '_', 'h', 'e', 'a', 'l', -'t', 'h', '_', 'c', 'h', 'e', 'c', 'k', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\030', 'd', 'i', 's', 'a', 'b', 'l', 'e', 'A', 'c', -'t', 'i', 'v', 'e', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', ':', '7', '\232', '\305', '\210', '\036', '2', '\n', '0', 'e', -'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'E', 'n', 'd', 'p', -'o', 'i', 'n', 't', '.', 'H', 'e', 'a', 'l', 't', 'h', 'C', 'h', 'e', 'c', 'k', 'C', 'o', 'n', 'f', 'i', 'g', ':', '%', '\232', -'\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'e', 'n', 'd', 'p', 'o', 'i', -'n', 't', '.', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', '\"', '\221', '\003', '\n', '\n', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', -'t', '\022', '@', '\n', '\010', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', '.', 'E', 'n', 'd', -'p', 'o', 'i', 'n', 't', 'H', '\000', 'R', '\010', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '\022', '%', '\n', '\r', 'e', 'n', 'd', 'p', -'o', 'i', 'n', 't', '_', 'n', 'a', 'm', 'e', '\030', '\005', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\014', 'e', 'n', 'd', 'p', 'o', 'i', -'n', 't', 'N', 'a', 'm', 'e', '\022', 'G', '\n', '\r', 'h', 'e', 'a', 'l', 't', 'h', '_', 's', 't', 'a', 't', 'u', 's', '\030', '\002', -' ', '\001', '(', '\016', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '.', 'H', 'e', 'a', 'l', 't', 'h', 'S', 't', 'a', 't', 'u', 's', 'R', '\014', 'h', 'e', 'a', 'l', 't', 'h', 'S', 't', -'a', 't', 'u', 's', '\022', ':', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\003', ' ', '\001', '(', '\013', '2', '\036', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'M', 'e', 't', 'a', -'d', 'a', 't', 'a', 'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'Y', '\n', '\025', 'l', 'o', 'a', 'd', '_', 'b', 'a', -'l', 'a', 'n', 'c', 'i', 'n', 'g', '_', 'w', 'e', 'i', 'g', 'h', 't', '\030', '\004', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', -'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', -'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', '\023', 'l', 'o', 'a', 'd', 'B', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', 'W', -'e', 'i', 'g', 'h', 't', ':', '\'', '\232', '\305', '\210', '\036', '\"', '\n', ' ', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', -'2', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'B', '\021', '\n', '\017', -'h', 'o', 's', 't', '_', 'i', 'd', 'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', '\"', '\222', '\001', '\n', '\031', 'L', 'e', 'd', 's', 'C', -'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'C', '\n', '\013', 'l', -'e', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', -'c', 'e', 'R', '\n', 'l', 'e', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '0', '\n', '\024', 'l', 'e', 'd', 's', '_', 'c', 'o', -'l', 'l', 'e', 'c', 't', 'i', 'o', 'n', '_', 'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\022', 'l', 'e', 'd', 's', -'C', 'o', 'l', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'N', 'a', 'm', 'e', '\"', '\341', '\005', '\n', '\023', 'L', 'o', 'c', 'a', 'l', 'i', -'t', 'y', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\022', ':', '\n', '\010', 'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', -'\030', '\001', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', -'e', '.', 'v', '3', '.', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'R', '\010', 'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', '\022', 'G', -'\n', '\014', 'l', 'b', '_', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', '.', 'L', 'b', -'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'R', '\013', 'l', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\022', 'v', '\n', '\027', -'l', 'o', 'a', 'd', '_', 'b', 'a', 'l', 'a', 'n', 'c', 'e', 'r', '_', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\030', '\007', -' ', '\001', '(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', -'i', 'n', 't', '.', 'v', '3', '.', 'L', 'o', 'c', 'a', 'l', 'i', 't', 'y', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', -'s', '.', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'L', 'i', 's', 't', 'H', '\000', 'R', '\025', 'l', 'o', 'a', 'd', 'B', -'a', 'l', 'a', 'n', 'c', 'e', 'r', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\022', 'v', '\n', '\034', 'l', 'e', 'd', 's', '_', -'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'l', 'o', 'c', 'a', 'l', 'i', 't', 'y', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\010', -' ', '\001', '(', '\013', '2', '3', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', -'i', 'n', 't', '.', 'v', '3', '.', 'L', 'e', 'd', 's', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'c', 'a', 'l', 'i', 't', -'y', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\031', 'l', 'e', 'd', 's', 'C', 'l', 'u', 's', 't', 'e', 'r', 'L', 'o', 'c', -'a', 'l', 'i', 't', 'y', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'Y', '\n', '\025', 'l', 'o', 'a', 'd', '_', 'b', 'a', 'l', 'a', 'n', -'c', 'i', 'n', 'g', '_', 'w', 'e', 'i', 'g', 'h', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', -'B', '\004', '*', '\002', '(', '\001', 'R', '\023', 'l', 'o', 'a', 'd', 'B', 'a', 'l', 'a', 'n', 'c', 'i', 'n', 'g', 'W', 'e', 'i', 'g', -'h', 't', '\022', '$', '\n', '\010', 'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', '\030', '\005', ' ', '\001', '(', '\r', 'B', '\010', '\372', 'B', '\005', -'*', '\003', '\030', '\200', '\001', 'R', '\010', 'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', '\022', ':', '\n', '\t', 'p', 'r', 'o', 'x', 'i', 'm', -'i', 't', 'y', '\030', '\006', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', -'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\t', 'p', 'r', 'o', 'x', 'i', 'm', 'i', 't', 'y', -'\032', 'Y', '\n', '\016', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'L', 'i', 's', 't', '\022', 'G', '\n', '\014', 'l', 'b', '_', -'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', '.', 'L', 'b', 'E', 'n', 'd', 'p', 'o', -'i', 'n', 't', 'R', '\013', 'l', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', ')', -'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'L', 'o', 'c', -'a', 'l', 'i', 't', 'y', 'L', 'b', 'E', 'n', 'd', 'p', 'o', 'i', 'n', 't', 's', 'B', '\013', '\n', '\t', 'l', 'b', '_', 'c', 'o', -'n', 'f', 'i', 'g', 'B', '\227', '\001', '\n', '&', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '.', 'v', '3', 'B', '\027', 'E', -'n', 'd', 'p', 'o', 'i', 'n', 't', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', -'J', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', -'-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', -'i', 'g', '/', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '/', 'v', '3', ';', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', 'v', '3', -'\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[9] = { - &envoy_config_core_v3_address_proto_upbdefinit, - &envoy_config_core_v3_base_proto_upbdefinit, - &envoy_config_core_v3_config_source_proto_upbdefinit, - &envoy_config_core_v3_health_check_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_endpoint_v3_endpoint_components_proto_upbdefinit = { - deps, - &envoy_config_endpoint_v3_endpoint_components_proto_upb_file_layout, - "envoy/config/endpoint/v3/endpoint_components.proto", - UPB_STRINGVIEW_INIT(descriptor, 2316) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c deleted file mode 100644 index b3858c6ecd1..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +++ /dev/null @@ -1,227 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/listener/v3/listener.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/listener/v3/listener.upbdefs.h" -#include "envoy/config/listener/v3/listener.upb.h" - -extern _upb_DefPool_Init envoy_config_accesslog_v3_accesslog_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_socket_option_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_listener_v3_api_listener_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_listener_v3_listener_components_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_listener_v3_udp_listener_config_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; -extern _upb_DefPool_Init xds_core_v3_collection_entry_proto_upbdefinit; -extern _upb_DefPool_Init xds_type_matcher_v3_matcher_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_security_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[4152] = {'\n', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '/', 'v', -'3', '/', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', '\030', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '\032', ')', 'e', 'n', 'v', 'o', 'y', '/', -'c', 'o', 'n', 'f', 'i', 'g', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '/', 'v', '3', '/', 'a', 'c', 'c', 'e', 's', -'s', 'l', 'o', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', -'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'a', 'd', 'd', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'e', 'n', -'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', -'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', -'3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', 'v', 'o', 'y', '/', -'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 's', 'o', 'c', 'k', 'e', 't', '_', 'o', 'p', 't', -'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '+', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'l', -'i', 's', 't', 'e', 'n', 'e', 'r', '/', 'v', '3', '/', 'a', 'p', 'i', '_', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'p', -'r', 'o', 't', 'o', '\032', '2', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'l', 'i', 's', 't', 'e', 'n', -'e', 'r', '/', 'v', '3', '/', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', -'.', 'p', 'r', 'o', 't', 'o', '\032', '2', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'l', 'i', 's', 't', -'e', 'n', 'e', 'r', '/', 'v', '3', '/', 'u', 'd', 'p', '_', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', -'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'x', -'d', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', -'p', 'r', 'o', 't', 'o', '\032', '\"', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'l', 'l', 'e', 'c', -'t', 'i', 'o', 'n', '_', 'e', 'n', 't', 'r', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'x', 'd', 's', '/', 't', 'y', 'p', -'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', -'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', -'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', -'a', 't', 'i', 'o', 'n', 's', '/', 's', 'e', 'c', 'u', 'r', 'i', 't', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', -'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', -'t', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', -'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', -'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\240', '\001', '\n', '\021', 'A', 'd', 'd', 'i', 't', 'i', 'o', 'n', -'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', '7', '\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\001', ' ', '\001', '(', -'\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', -'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', 'R', '\n', '\016', 's', 'o', 'c', 'k', 'e', -'t', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '+', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', -'n', 's', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'R', '\r', 's', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', -'\"', 'L', '\n', '\022', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'C', 'o', 'l', 'l', 'e', 'c', 't', 'i', 'o', 'n', '\022', '6', '\n', -'\007', 'e', 'n', 't', 'r', 'i', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\034', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', -'.', 'v', '3', '.', 'C', 'o', 'l', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'E', 'n', 't', 'r', 'y', 'R', '\007', 'e', 'n', 't', 'r', -'i', 'e', 's', '\"', '\205', '\027', '\n', '\010', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', -'\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '7', '\n', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\002', ' ', -'\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', -'3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\007', 'a', 'd', 'd', 'r', 'e', 's', 's', '\022', '^', '\n', '\024', 'a', 'd', 'd', -'i', 't', 'i', 'o', 'n', 'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', 'e', 's', '\030', '!', ' ', '\003', '(', '\013', '2', '+', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', -'.', 'A', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\023', 'a', 'd', 'd', 'i', 't', -'i', 'o', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', 'e', 's', '\022', '\037', '\n', '\013', 's', 't', 'a', 't', '_', 'p', 'r', -'e', 'f', 'i', 'x', '\030', '\034', ' ', '\001', '(', '\t', 'R', '\n', 's', 't', 'a', 't', 'P', 'r', 'e', 'f', 'i', 'x', '\022', 'J', '\n', -'\r', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'h', 'a', 'i', 'n', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '%', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'F', 'i', -'l', 't', 'e', 'r', 'C', 'h', 'a', 'i', 'n', 'R', '\014', 'f', 'i', 'l', 't', 'e', 'r', 'C', 'h', 'a', 'i', 'n', 's', '\022', 'X', -'\n', '\024', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'h', 'a', 'i', 'n', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', ' ', ' ', -'\001', '(', '\013', '2', '\034', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', -'.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'R', '\022', 'f', 'i', 'l', 't', 'e', -'r', 'C', 'h', 'a', 'i', 'n', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'D', '\n', '\020', 'u', 's', 'e', '_', 'o', 'r', 'i', 'g', -'i', 'n', 'a', 'l', '_', 'd', 's', 't', '\030', '\004', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', -'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\016', 'u', 's', 'e', 'O', 'r', 'i', -'g', 'i', 'n', 'a', 'l', 'D', 's', 't', '\022', 'W', '\n', '\024', 'd', 'e', 'f', 'a', 'u', 'l', 't', '_', 'f', 'i', 'l', 't', 'e', -'r', '_', 'c', 'h', 'a', 'i', 'n', '\030', '\031', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'h', 'a', -'i', 'n', 'R', '\022', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'h', 'a', 'i', 'n', '\022', 'o', '\n', -'!', 'p', 'e', 'r', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'b', 'u', 'f', 'f', 'e', 'r', '_', 'l', 'i', -'m', 'i', 't', '_', 'b', 'y', 't', 'e', 's', '\030', '\005', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\212', '\223', '\267', -'*', '\002', '\010', '\001', 'R', '\035', 'p', 'e', 'r', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'u', 'f', 'f', 'e', 'r', -'L', 'i', 'm', 'i', 't', 'B', 'y', 't', 'e', 's', '\022', ':', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\006', ' ', -'\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', -'3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'a', '\n', '\r', 'd', -'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '_', 'v', '1', '\030', '\007', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'L', 'i', 's', 't', -'e', 'n', 'e', 'r', '.', 'D', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', 'V', '1', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', -'\004', '\003', '3', '.', '0', 'R', '\014', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', 'V', '1', '\022', 'K', '\n', '\n', 'd', 'r', -'a', 'i', 'n', '_', 't', 'y', 'p', 'e', '\030', '\010', ' ', '\001', '(', '\016', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', -'.', 'D', 'r', 'a', 'i', 'n', 'T', 'y', 'p', 'e', 'R', '\t', 'd', 'r', 'a', 'i', 'n', 'T', 'y', 'p', 'e', '\022', 'S', '\n', '\020', -'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', 's', '\030', '\t', ' ', '\003', '(', '\013', '2', '(', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', -'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 'R', '\017', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', 'F', -'i', 'l', 't', 'e', 'r', 's', '\022', 'S', '\n', '\030', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', -'s', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\017', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\026', 'l', 'i', 's', 't', 'e', 'n', -'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 's', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'N', '\n', '$', 'c', 'o', 'n', 't', 'i', -'n', 'u', 'e', '_', 'o', 'n', '_', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', 's', '_', 't', -'i', 'm', 'e', 'o', 'u', 't', '\030', '\021', ' ', '\001', '(', '\010', 'R', ' ', 'c', 'o', 'n', 't', 'i', 'n', 'u', 'e', 'O', 'n', 'L', -'i', 's', 't', 'e', 'n', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 's', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', '<', '\n', '\013', -'t', 'r', 'a', 'n', 's', 'p', 'a', 'r', 'e', 'n', 't', '\030', '\n', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\013', 't', 'r', 'a', -'n', 's', 'p', 'a', 'r', 'e', 'n', 't', '\022', '6', '\n', '\010', 'f', 'r', 'e', 'e', 'b', 'i', 'n', 'd', '\030', '\013', ' ', '\001', '(', -'\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', -'a', 'l', 'u', 'e', 'R', '\010', 'f', 'r', 'e', 'e', 'b', 'i', 'n', 'd', '\022', 'I', '\n', '\016', 's', 'o', 'c', 'k', 'e', 't', '_', -'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\r', ' ', '\003', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 'R', -'\r', 's', 'o', 'c', 'k', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'X', '\n', '\032', 't', 'c', 'p', '_', 'f', 'a', 's', -'t', '_', 'o', 'p', 'e', 'n', '_', 'q', 'u', 'e', 'u', 'e', '_', 'l', 'e', 'n', 'g', 't', 'h', '\030', '\014', ' ', '\001', '(', '\013', -'2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', -'V', 'a', 'l', 'u', 'e', 'R', '\026', 't', 'c', 'p', 'F', 'a', 's', 't', 'O', 'p', 'e', 'n', 'Q', 'u', 'e', 'u', 'e', 'L', 'e', -'n', 'g', 't', 'h', '\022', 'S', '\n', '\021', 't', 'r', 'a', 'f', 'f', 'i', 'c', '_', 'd', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', -'\030', '\020', ' ', '\001', '(', '\016', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', -'e', '.', 'v', '3', '.', 'T', 'r', 'a', 'f', 'f', 'i', 'c', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 'R', '\020', 't', 'r', -'a', 'f', 'f', 'i', 'c', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', '\022', '[', '\n', '\023', 'u', 'd', 'p', '_', 'l', 'i', 's', -'t', 'e', 'n', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\022', ' ', '\001', '(', '\013', '2', '+', '.', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'U', 'd', 'p', 'L', -'i', 's', 't', 'e', 'n', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\021', 'u', 'd', 'p', 'L', 'i', 's', 't', 'e', 'n', 'e', -'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'H', '\n', '\014', 'a', 'p', 'i', '_', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '\030', '\023', -' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', -'n', 'e', 'r', '.', 'v', '3', '.', 'A', 'p', 'i', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'R', '\013', 'a', 'p', 'i', 'L', 'i', -'s', 't', 'e', 'n', 'e', 'r', '\022', 'v', '\n', '\031', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'b', 'a', 'l', 'a', -'n', 'c', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\024', ' ', '\001', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'L', 'i', 's', 't', 'e', 'n', -'e', 'r', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'C', 'o', 'n', 'f', 'i', -'g', 'R', '\027', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'C', 'o', 'n', 'f', 'i', -'g', '\022', '*', '\n', '\n', 'r', 'e', 'u', 's', 'e', '_', 'p', 'o', 'r', 't', '\030', '\025', ' ', '\001', '(', '\010', 'B', '\013', '\030', '\001', -'\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\t', 'r', 'e', 'u', 's', 'e', 'P', 'o', 'r', 't', '\022', 'F', '\n', '\021', 'e', -'n', 'a', 'b', 'l', 'e', '_', 'r', 'e', 'u', 's', 'e', '_', 'p', 'o', 'r', 't', '\030', '\035', ' ', '\001', '(', '\013', '2', '\032', '.', -'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', -'R', '\017', 'e', 'n', 'a', 'b', 'l', 'e', 'R', 'e', 'u', 's', 'e', 'P', 'o', 'r', 't', '\022', 'C', '\n', '\n', 'a', 'c', 'c', 'e', -'s', 's', '_', 'l', 'o', 'g', '\030', '\026', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', -'R', '\t', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', '\022', 'F', '\n', '\020', 't', 'c', 'p', '_', 'b', 'a', 'c', 'k', 'l', 'o', -'g', '_', 's', 'i', 'z', 'e', '\030', '\030', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\016', 't', 'c', 'p', 'B', 'a', 'c', -'k', 'l', 'o', 'g', 'S', 'i', 'z', 'e', '\022', '<', '\n', '\014', 'b', 'i', 'n', 'd', '_', 't', 'o', '_', 'p', 'o', 'r', 't', '\030', -'\032', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', -'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\n', 'b', 'i', 'n', 'd', 'T', 'o', 'P', 'o', 'r', 't', '\022', 'h', '\n', '\021', 'i', -'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '\030', '\033', ' ', '\001', '(', '\013', '2', '9', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', -'L', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', -'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\020', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'L', 'i', 's', 't', 'e', 'n', 'e', -'r', '\022', '!', '\n', '\014', 'e', 'n', 'a', 'b', 'l', 'e', '_', 'm', 'p', 't', 'c', 'p', '\030', '\036', ' ', '\001', '(', '\010', 'R', '\013', -'e', 'n', 'a', 'b', 'l', 'e', 'M', 'p', 't', 'c', 'p', '\022', '7', '\n', '\030', 'i', 'g', 'n', 'o', 'r', 'e', '_', 'g', 'l', 'o', -'b', 'a', 'l', '_', 'c', 'o', 'n', 'n', '_', 'l', 'i', 'm', 'i', 't', '\030', '\037', ' ', '\001', '(', '\010', 'R', '\025', 'i', 'g', 'n', -'o', 'r', 'e', 'G', 'l', 'o', 'b', 'a', 'l', 'C', 'o', 'n', 'n', 'L', 'i', 'm', 'i', 't', '\032', 'w', '\n', '\014', 'D', 'e', 'p', -'r', 'e', 'c', 'a', 't', 'e', 'd', 'V', '1', '\022', '<', '\n', '\014', 'b', 'i', 'n', 'd', '_', 't', 'o', '_', 'p', 'o', 'r', 't', -'\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\n', 'b', 'i', 'n', 'd', 'T', 'o', 'P', 'o', 'r', 't', ':', ')', '\232', '\305', -'\210', '\036', '$', '\n', '\"', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'L', 'i', 's', 't', 'e', 'n', 'e', -'r', '.', 'D', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', 'V', '1', '\032', '\374', '\002', '\n', '\027', 'C', 'o', 'n', 'n', 'e', 'c', -'t', 'i', 'o', 'n', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'n', '\n', '\r', 'e', 'x', 'a', 'c', -'t', '_', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', 'G', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', '.', 'L', 'i', 's', 't', 'e', 'n', 'e', -'r', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'C', 'o', 'n', 'f', 'i', 'g', -'.', 'E', 'x', 'a', 'c', 't', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'H', '\000', 'R', '\014', 'e', 'x', 'a', 'c', 't', 'B', 'a', 'l', -'a', 'n', 'c', 'e', '\022', 'S', '\n', '\016', 'e', 'x', 't', 'e', 'n', 'd', '_', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\030', '\002', ' ', -'\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', -'3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', -'\r', 'e', 'x', 't', 'e', 'n', 'd', 'B', 'a', 'l', 'a', 'n', 'c', 'e', '\032', 'Q', '\n', '\014', 'E', 'x', 'a', 'c', 't', 'B', 'a', -'l', 'a', 'n', 'c', 'e', ':', 'A', '\232', '\305', '\210', '\036', '<', '\n', ':', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', -'2', '.', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'a', 'l', 'a', -'n', 'c', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'E', 'x', 'a', 'c', 't', 'B', 'a', 'l', 'a', 'n', 'c', 'e', ':', '4', '\232', -'\305', '\210', '\036', '/', '\n', '-', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'L', 'i', 's', 't', 'e', 'n', -'e', 'r', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'a', 'l', 'a', 'n', 'c', 'e', 'C', 'o', 'n', 'f', 'i', -'g', 'B', '\023', '\n', '\014', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', '\032', '\030', '\n', -'\026', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\"', ')', -'\n', '\t', 'D', 'r', 'a', 'i', 'n', 'T', 'y', 'p', 'e', '\022', '\013', '\n', '\007', 'D', 'E', 'F', 'A', 'U', 'L', 'T', '\020', '\000', '\022', -'\017', '\n', '\013', 'M', 'O', 'D', 'I', 'F', 'Y', '_', 'O', 'N', 'L', 'Y', '\020', '\001', ':', '\034', '\232', '\305', '\210', '\036', '\027', '\n', '\025', -'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'B', '\024', '\n', '\022', -'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'J', '\004', '\010', '\016', '\020', '\017', 'J', -'\004', '\010', '\027', '\020', '\030', '\"', '\021', '\n', '\017', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '\"', -'\033', '\n', '\031', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'M', 'a', 'n', 'a', -'g', 'e', 'r', '\"', '\024', '\n', '\022', 'A', 'p', 'i', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 'M', 'a', 'n', 'a', 'g', 'e', 'r', -'B', '\215', '\001', '\n', '&', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '.', 'v', '3', 'B', '\r', 'L', 'i', 's', 't', 'e', -'n', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'J', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', -'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', -'/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '/', 'v', '3', -';', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', -'o', '3', -}; - -static _upb_DefPool_Init *deps[19] = { - &envoy_config_accesslog_v3_accesslog_proto_upbdefinit, - &envoy_config_core_v3_address_proto_upbdefinit, - &envoy_config_core_v3_base_proto_upbdefinit, - &envoy_config_core_v3_extension_proto_upbdefinit, - &envoy_config_core_v3_socket_option_proto_upbdefinit, - &envoy_config_listener_v3_api_listener_proto_upbdefinit, - &envoy_config_listener_v3_listener_components_proto_upbdefinit, - &envoy_config_listener_v3_udp_listener_config_proto_upbdefinit, - &google_protobuf_duration_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &xds_annotations_v3_status_proto_upbdefinit, - &xds_core_v3_collection_entry_proto_upbdefinit, - &xds_type_matcher_v3_matcher_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_security_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_listener_v3_listener_proto_upbdefinit = { - deps, - &envoy_config_listener_v3_listener_proto_upb_file_layout, - "envoy/config/listener/v3/listener.proto", - UPB_STRINGVIEW_INIT(descriptor, 4152) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c deleted file mode 100644 index 0b043ad7dae..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +++ /dev/null @@ -1,223 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/rbac/v3/rbac.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/rbac/v3/rbac.upbdefs.h" -#include "envoy/config/rbac/v3/rbac.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_route_v3_route_components_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_matcher_v3_filter_state_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_matcher_v3_metadata_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_matcher_v3_path_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_v3_range_proto_upbdefinit; -extern _upb_DefPool_Init google_api_expr_v1alpha1_checked_proto_upbdefinit; -extern _upb_DefPool_Init google_api_expr_v1alpha1_syntax_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[4221] = {'\n', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'b', 'a', 'c', '/', 'v', '3', '/', 'r', 'b', -'a', 'c', '.', 'p', 'r', 'o', 't', 'o', '\022', '\024', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', -'a', 'c', '.', 'v', '3', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', -'v', '3', '/', 'a', 'd', 'd', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', -'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', -'r', 'o', 't', 'o', '\032', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', -'v', '3', '/', 'r', 'o', 'u', 't', 'e', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', -'\032', '(', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'f', -'i', 'l', 't', 'e', 'r', '_', 's', 't', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', -'t', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', -'p', 'r', 'o', 't', 'o', '\032', ' ', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', -'/', 'v', '3', '/', 'p', 'a', 't', 'h', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', -'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', 't', 'r', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', -'\032', '\031', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'r', 'a', 'n', 'g', 'e', '.', 'p', 'r', 'o', -'t', 'o', '\032', '&', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'a', 'p', 'i', '/', 'e', 'x', 'p', 'r', '/', 'v', '1', 'a', 'l', 'p', -'h', 'a', '1', '/', 'c', 'h', 'e', 'c', 'k', 'e', 'd', '.', 'p', 'r', 'o', 't', 'o', '\032', '%', 'g', 'o', 'o', 'g', 'l', 'e', -'/', 'a', 'p', 'i', '/', 'e', 'x', 'p', 'r', '/', 'v', '1', 'a', 'l', 'p', 'h', 'a', '1', '/', 's', 'y', 'n', 't', 'a', 'x', -'.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', -'/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', -'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', -'\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', -'.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', -'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', -'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\341', '\006', '\n', '\004', 'R', 'B', 'A', 'C', -'\022', 'C', '\n', '\006', 'a', 'c', 't', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\016', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', '.', 'A', 'c', 't', 'i', 'o', -'n', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\006', 'a', 'c', 't', 'i', 'o', 'n', '\022', 'D', '\n', '\010', 'p', 'o', -'l', 'i', 'c', 'i', 'e', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', '(', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', '.', 'P', 'o', 'l', 'i', 'c', 'i', 'e', 's', 'E', -'n', 't', 'r', 'y', 'R', '\010', 'p', 'o', 'l', 'i', 'c', 'i', 'e', 's', '\022', 'b', '\n', '\025', 'a', 'u', 'd', 'i', 't', '_', 'l', -'o', 'g', 'g', 'i', 'n', 'g', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', '.', 'A', -'u', 'd', 'i', 't', 'L', 'o', 'g', 'g', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\023', 'a', 'u', 'd', 'i', 't', -'L', 'o', 'g', 'g', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', '\032', '\304', '\003', '\n', '\023', 'A', 'u', 'd', 'i', 't', 'L', -'o', 'g', 'g', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'p', '\n', '\017', 'a', 'u', 'd', 'i', 't', '_', 'c', 'o', -'n', 'd', 'i', 't', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\016', '2', '=', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', '.', 'A', 'u', 'd', 'i', 't', 'L', 'o', 'g', -'g', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'A', 'u', 'd', 'i', 't', 'C', 'o', 'n', 'd', 'i', 't', 'i', 'o', -'n', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\016', 'a', 'u', 'd', 'i', 't', 'C', 'o', 'n', 'd', 'i', 't', 'i', -'o', 'n', '\022', 'g', '\n', '\016', 'l', 'o', 'g', 'g', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', 's', '\030', '\002', ' ', '\003', '(', -'\013', '2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', -'R', 'B', 'A', 'C', '.', 'A', 'u', 'd', 'i', 't', 'L', 'o', 'g', 'g', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', -'A', 'u', 'd', 'i', 't', 'L', 'o', 'g', 'g', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\r', 'l', 'o', 'g', 'g', 'e', 'r', -'C', 'o', 'n', 'f', 'i', 'g', 's', '\032', '\203', '\001', '\n', '\021', 'A', 'u', 'd', 'i', 't', 'L', 'o', 'g', 'g', 'e', 'r', 'C', 'o', -'n', 'f', 'i', 'g', '\022', 'M', '\n', '\014', 'a', 'u', 'd', 'i', 't', '_', 'l', 'o', 'g', 'g', 'e', 'r', '\030', '\001', ' ', '\001', '(', -'\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', -'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\013', 'a', 'u', 'd', -'i', 't', 'L', 'o', 'g', 'g', 'e', 'r', '\022', '\037', '\n', '\013', 'i', 's', '_', 'o', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\030', '\002', -' ', '\001', '(', '\010', 'R', '\n', 'i', 's', 'O', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\"', 'L', '\n', '\016', 'A', 'u', 'd', 'i', 't', -'C', 'o', 'n', 'd', 'i', 't', 'i', 'o', 'n', '\022', '\010', '\n', '\004', 'N', 'O', 'N', 'E', '\020', '\000', '\022', '\013', '\n', '\007', 'O', 'N', -'_', 'D', 'E', 'N', 'Y', '\020', '\001', '\022', '\014', '\n', '\010', 'O', 'N', '_', 'A', 'L', 'L', 'O', 'W', '\020', '\002', '\022', '\025', '\n', '\021', -'O', 'N', '_', 'D', 'E', 'N', 'Y', '_', 'A', 'N', 'D', '_', 'A', 'L', 'L', 'O', 'W', '\020', '\003', '\032', 'Y', '\n', '\r', 'P', 'o', -'l', 'i', 'c', 'i', 'e', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', -'\003', 'k', 'e', 'y', '\022', '2', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'o', 'l', 'i', 'c', 'y', 'R', -'\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', '\"', '&', '\n', '\006', 'A', 'c', 't', 'i', 'o', 'n', '\022', '\t', '\n', '\005', 'A', -'L', 'L', 'O', 'W', '\020', '\000', '\022', '\010', '\n', '\004', 'D', 'E', 'N', 'Y', '\020', '\001', '\022', '\007', '\n', '\003', 'L', 'O', 'G', '\020', '\002', -':', ' ', '\232', '\305', '\210', '\036', '\033', '\n', '\031', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', -'c', '.', 'v', '2', '.', 'R', 'B', 'A', 'C', '\"', '\223', '\003', '\n', '\006', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'L', '\n', '\013', 'p', -'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', -'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\013', 'p', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 's', '\022', 'I', -'\n', '\n', 'p', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', -'l', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\n', 'p', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', 's', '\022', 'Z', -'\n', '\t', 'c', 'o', 'n', 'd', 'i', 't', 'i', 'o', 'n', '\030', '\003', ' ', '\001', '(', '\013', '2', '\036', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'a', 'p', 'i', '.', 'e', 'x', 'p', 'r', '.', 'v', '1', 'a', 'l', 'p', 'h', 'a', '1', '.', 'E', 'x', 'p', 'r', 'B', -'\034', '\362', '\230', '\376', '\217', '\005', '\026', '\022', '\024', 'e', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', '_', 's', 'p', 'e', 'c', 'i', -'f', 'i', 'e', 'r', 'R', '\t', 'c', 'o', 'n', 'd', 'i', 't', 'i', 'o', 'n', '\022', 'p', '\n', '\021', 'c', 'h', 'e', 'c', 'k', 'e', -'d', '_', 'c', 'o', 'n', 'd', 'i', 't', 'i', 'o', 'n', '\030', '\004', ' ', '\001', '(', '\013', '2', '%', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'a', 'p', 'i', '.', 'e', 'x', 'p', 'r', '.', 'v', '1', 'a', 'l', 'p', 'h', 'a', '1', '.', 'C', 'h', 'e', 'c', 'k', -'e', 'd', 'E', 'x', 'p', 'r', 'B', '\034', '\362', '\230', '\376', '\217', '\005', '\026', '\022', '\024', 'e', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', -'n', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'R', '\020', 'c', 'h', 'e', 'c', 'k', 'e', 'd', 'C', 'o', 'n', 'd', 'i', -'t', 'i', 'o', 'n', ':', '\"', '\232', '\305', '\210', '\036', '\035', '\n', '\033', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'r', 'b', 'a', 'c', '.', 'v', '2', '.', 'P', 'o', 'l', 'i', 'c', 'y', '\"', '\332', '\007', '\n', '\n', 'P', 'e', 'r', 'm', 'i', -'s', 's', 'i', 'o', 'n', '\022', 'C', '\n', '\t', 'a', 'n', 'd', '_', 'r', 'u', 'l', 'e', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', -'$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'e', -'r', 'm', 'i', 's', 's', 'i', 'o', 'n', '.', 'S', 'e', 't', 'H', '\000', 'R', '\010', 'a', 'n', 'd', 'R', 'u', 'l', 'e', 's', '\022', -'A', '\n', '\010', 'o', 'r', '_', 'r', 'u', 'l', 'e', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', -'n', '.', 'S', 'e', 't', 'H', '\000', 'R', '\007', 'o', 'r', 'R', 'u', 'l', 'e', 's', '\022', '\033', '\n', '\003', 'a', 'n', 'y', '\030', '\003', -' ', '\001', '(', '\010', 'B', '\007', '\372', 'B', '\004', 'j', '\002', '\010', '\001', 'H', '\000', 'R', '\003', 'a', 'n', 'y', '\022', '>', '\n', '\006', 'h', -'e', 'a', 'd', 'e', 'r', '\030', '\004', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', -'\000', 'R', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\022', '?', '\n', '\010', 'u', 'r', 'l', '_', 'p', 'a', 't', 'h', '\030', '\n', ' ', '\001', -'(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', -'3', '.', 'P', 'a', 't', 'h', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\007', 'u', 'r', 'l', 'P', 'a', 't', 'h', '\022', -'H', '\n', '\016', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', '_', 'i', 'p', '\030', '\005', ' ', '\001', '(', '\013', '2', '\037', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'i', 'd', -'r', 'R', 'a', 'n', 'g', 'e', 'H', '\000', 'R', '\r', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'I', 'p', '\022', '6', -'\n', '\020', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', '_', 'p', 'o', 'r', 't', '\030', '\006', ' ', '\001', '(', '\r', 'B', -'\t', '\372', 'B', '\006', '*', '\004', '\030', '\377', '\377', '\003', 'H', '\000', 'R', '\017', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', -'P', 'o', 'r', 't', '\022', 'Q', '\n', '\026', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', '_', 'p', 'o', 'r', 't', '_', -'r', 'a', 'n', 'g', 'e', '\030', '\013', ' ', '\001', '(', '\013', '2', '\031', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', -'v', '3', '.', 'I', 'n', 't', '3', '2', 'R', 'a', 'n', 'g', 'e', 'H', '\000', 'R', '\024', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', -'i', 'o', 'n', 'P', 'o', 'r', 't', 'R', 'a', 'n', 'g', 'e', '\022', 'D', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', -'\007', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', -'r', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\010', 'm', -'e', 't', 'a', 'd', 'a', 't', 'a', '\022', '=', '\n', '\010', 'n', 'o', 't', '_', 'r', 'u', 'l', 'e', '\030', '\010', ' ', '\001', '(', '\013', -'2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', -'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 'H', '\000', 'R', '\007', 'n', 'o', 't', 'R', 'u', 'l', 'e', '\022', 'Z', '\n', '\025', 'r', -'e', 'q', 'u', 'e', 's', 't', 'e', 'd', '_', 's', 'e', 'r', 'v', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\t', ' ', '\001', '(', -'\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', -'.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\023', 'r', 'e', 'q', 'u', 'e', 's', 't', -'e', 'd', 'S', 'e', 'r', 'v', 'e', 'r', 'N', 'a', 'm', 'e', '\022', 'F', '\n', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\014', -' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', -'R', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\032', 's', '\n', '\003', 'S', 'e', 't', '\022', '@', '\n', '\005', 'r', 'u', 'l', 'e', 's', -'\030', '\001', ' ', '\003', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', -'c', '.', 'v', '3', '.', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', -'R', '\005', 'r', 'u', 'l', 'e', 's', ':', '*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '2', '.', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', '.', 'S', 'e', -'t', ':', '&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', -'a', 'c', '.', 'v', '2', '.', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 'B', '\013', '\n', '\004', 'r', 'u', 'l', 'e', '\022', -'\003', '\370', 'B', '\001', '\"', '\353', '\010', '\n', '\t', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', '\022', '>', '\n', '\007', 'a', 'n', 'd', -'_', 'i', 'd', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', '.', 'S', 'e', 't', 'H', '\000', 'R', -'\006', 'a', 'n', 'd', 'I', 'd', 's', '\022', '<', '\n', '\006', 'o', 'r', '_', 'i', 'd', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '#', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'r', 'i', -'n', 'c', 'i', 'p', 'a', 'l', '.', 'S', 'e', 't', 'H', '\000', 'R', '\005', 'o', 'r', 'I', 'd', 's', '\022', '\033', '\n', '\003', 'a', 'n', -'y', '\030', '\003', ' ', '\001', '(', '\010', 'B', '\007', '\372', 'B', '\004', 'j', '\002', '\010', '\001', 'H', '\000', 'R', '\003', 'a', 'n', 'y', '\022', 'U', -'\n', '\r', 'a', 'u', 't', 'h', 'e', 'n', 't', 'i', 'c', 'a', 't', 'e', 'd', '\030', '\004', ' ', '\001', '(', '\013', '2', '-', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'r', 'i', 'n', 'c', -'i', 'p', 'a', 'l', '.', 'A', 'u', 't', 'h', 'e', 'n', 't', 'i', 'c', 'a', 't', 'e', 'd', 'H', '\000', 'R', '\r', 'a', 'u', 't', -'h', 'e', 'n', 't', 'i', 'c', 'a', 't', 'e', 'd', '\022', 'K', '\n', '\t', 's', 'o', 'u', 'r', 'c', 'e', '_', 'i', 'p', '\030', '\005', -' ', '\001', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '.', 'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', -'H', '\000', 'R', '\010', 's', 'o', 'u', 'r', 'c', 'e', 'I', 'p', '\022', 'K', '\n', '\020', 'd', 'i', 'r', 'e', 'c', 't', '_', 'r', 'e', -'m', 'o', 't', 'e', '_', 'i', 'p', '\030', '\n', ' ', '\001', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 'H', '\000', 'R', '\016', -'d', 'i', 'r', 'e', 'c', 't', 'R', 'e', 'm', 'o', 't', 'e', 'I', 'p', '\022', '>', '\n', '\t', 'r', 'e', 'm', 'o', 't', 'e', '_', -'i', 'p', '\030', '\013', ' ', '\001', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', -'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 'H', '\000', 'R', '\010', 'r', 'e', 'm', 'o', 't', -'e', 'I', 'p', '\022', '>', '\n', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\006', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', -'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\022', '?', '\n', '\010', 'u', 'r', 'l', '_', -'p', 'a', 't', 'h', '\030', '\t', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', -'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'P', 'a', 't', 'h', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\007', -'u', 'r', 'l', 'P', 'a', 't', 'h', '\022', 'D', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\007', ' ', '\001', '(', '\013', -'2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', -'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', -'t', 'a', '\022', 'N', '\n', '\014', 'f', 'i', 'l', 't', 'e', 'r', '_', 's', 't', 'a', 't', 'e', '\030', '\014', ' ', '\001', '(', '\013', '2', -')', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'F', -'i', 'l', 't', 'e', 'r', 'S', 't', 'a', 't', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\013', 'f', 'i', 'l', 't', -'e', 'r', 'S', 't', 'a', 't', 'e', '\022', '8', '\n', '\006', 'n', 'o', 't', '_', 'i', 'd', '\030', '\010', ' ', '\001', '(', '\013', '2', '\037', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'r', 'i', -'n', 'c', 'i', 'p', 'a', 'l', 'H', '\000', 'R', '\005', 'n', 'o', 't', 'I', 'd', '\032', 'm', '\n', '\003', 'S', 'e', 't', '\022', ';', '\n', -'\003', 'i', 'd', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', 'B', '\010', '\372', 'B', '\005', '\222', '\001', -'\002', '\010', '\001', 'R', '\003', 'i', 'd', 's', ':', ')', '\232', '\305', '\210', '\036', '$', '\n', '\"', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '2', '.', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', '.', 'S', 'e', -'t', '\032', '\227', '\001', '\n', '\r', 'A', 'u', 't', 'h', 'e', 'n', 't', 'i', 'c', 'a', 't', 'e', 'd', '\022', 'K', '\n', '\016', 'p', 'r', -'i', 'n', 'c', 'i', 'p', 'a', 'l', '_', 'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', -'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', -'a', 't', 'c', 'h', 'e', 'r', 'R', '\r', 'p', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', 'N', 'a', 'm', 'e', ':', '3', '\232', '\305', -'\210', '\036', '.', '\n', ',', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '2', -'.', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', '.', 'A', 'u', 't', 'h', 'e', 'n', 't', 'i', 'c', 'a', 't', 'e', 'd', 'J', -'\004', '\010', '\001', '\020', '\002', ':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '2', '.', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'a', 'l', 'B', '\021', '\n', '\n', 'i', 'd', -'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', '`', '\n', '\006', 'A', 'c', 't', 'i', 'o', 'n', '\022', '\033', -'\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', -'m', 'e', '\022', '9', '\n', '\006', 'a', 'c', 't', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\016', '2', '!', '.', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', '.', 'A', 'c', 't', -'i', 'o', 'n', 'R', '\006', 'a', 'c', 't', 'i', 'o', 'n', 'B', '}', '\n', '\"', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', -'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', 'B', -'\t', 'R', 'b', 'a', 'c', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'B', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', -'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', -'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'b', 'a', 'c', '/', 'v', '3', ';', 'r', -'b', 'a', 'c', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[16] = { - &envoy_config_core_v3_address_proto_upbdefinit, - &envoy_config_core_v3_extension_proto_upbdefinit, - &envoy_config_route_v3_route_components_proto_upbdefinit, - &envoy_type_matcher_v3_filter_state_proto_upbdefinit, - &envoy_type_matcher_v3_metadata_proto_upbdefinit, - &envoy_type_matcher_v3_path_proto_upbdefinit, - &envoy_type_matcher_v3_string_proto_upbdefinit, - &envoy_type_v3_range_proto_upbdefinit, - &google_api_expr_v1alpha1_checked_proto_upbdefinit, - &google_api_expr_v1alpha1_syntax_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_migrate_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_rbac_v3_rbac_proto_upbdefinit = { - deps, - &envoy_config_rbac_v3_rbac_proto_upb_file_layout, - "envoy/config/rbac/v3/rbac.proto", - UPB_STRINGVIEW_INIT(descriptor, 4221) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h deleted file mode 100644 index f3077438a8f..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +++ /dev/null @@ -1,86 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/rbac/v3/rbac.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPBDEFS_H_ -#define ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_config_rbac_v3_rbac_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_RBAC_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.RBAC"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_RBAC_AuditLoggingOptions_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.RBAC.AuditLoggingOptions"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_RBAC_AuditLoggingOptions_AuditLoggerConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.RBAC.AuditLoggingOptions.AuditLoggerConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_RBAC_PoliciesEntry_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.RBAC.PoliciesEntry"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Policy_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Policy"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Permission_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Permission"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Permission_Set_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Permission.Set"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Principal_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Principal"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Principal_Set_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Principal.Set"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Principal_Authenticated_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Principal.Authenticated"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_rbac_v3_Action_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_rbac_v3_rbac_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.rbac.v3.Action"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c deleted file mode 100644 index 247a3b74337..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +++ /dev/null @@ -1,972 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/route/v3/route_components.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/route/v3/route_components.upbdefs.h" -#include "envoy/config/route/v3/route_components.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_proxy_protocol_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_matcher_v3_metadata_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_matcher_v3_regex_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_metadata_v3_metadata_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_tracing_v3_custom_tag_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_v3_range_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; -extern _upb_DefPool_Init xds_type_matcher_v3_matcher_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[22684] = {'\n', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 'r', -'o', 'u', 't', 'e', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '\032', '\037', 'e', 'n', 'v', 'o', -'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', 'o', -'t', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', -'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', ')', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', -'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'p', 'r', 'o', 'x', 'y', '_', 'p', 'r', 'o', 't', 'o', 'c', -'o', 'l', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', -'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'e', 'n', -'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'r', 'e', 'g', 'e', 'x', -'.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', -'r', '/', 'v', '3', '/', 's', 't', 'r', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '%', 'e', 'n', 'v', 'o', 'y', '/', -'t', 'y', 'p', 'e', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '/', 'v', '3', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', -'.', 'p', 'r', 'o', 't', 'o', '\032', '&', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 't', 'r', 'a', 'c', 'i', 'n', -'g', '/', 'v', '3', '/', 'c', 'u', 's', 't', 'o', 'm', '_', 't', 'a', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', 'n', -'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', -'\032', '\031', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'r', 'a', 'n', 'g', 'e', '.', 'p', 'r', 'o', -'t', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', -'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', -'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'x', 'd', 's', '/', 'a', -'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', -'o', '\032', '!', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'a', -'t', 'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', -'t', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', -'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', -'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', -'t', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', -'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', -'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\331', '\016', '\n', -'\013', 'V', 'i', 'r', 't', 'u', 'a', 'l', 'H', 'o', 's', 't', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', -'\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', ',', '\n', '\007', 'd', 'o', 'm', 'a', 'i', -'n', 's', '\030', '\002', ' ', '\003', '(', '\t', 'B', '\022', '\372', 'B', '\017', '\222', '\001', '\014', '\010', '\001', '\"', '\010', 'r', '\006', '\300', '\001', '\002', -'\310', '\001', '\000', 'R', '\007', 'd', 'o', 'm', 'a', 'i', 'n', 's', '\022', '4', '\n', '\006', 'r', 'o', 'u', 't', 'e', 's', '\030', '\003', ' ', -'\003', '(', '\013', '2', '\034', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', -'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'R', '\006', 'r', 'o', 'u', 't', 'e', 's', '\022', '@', '\n', '\007', 'm', 'a', 't', 'c', 'h', -'e', 'r', '\030', '\025', ' ', '\001', '(', '\013', '2', '\034', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', -'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'R', '\007', -'m', 'a', 't', 'c', 'h', 'e', 'r', '\022', '`', '\n', '\013', 'r', 'e', 'q', 'u', 'i', 'r', 'e', '_', 't', 'l', 's', '\030', '\004', ' ', -'\001', '(', '\016', '2', '5', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', -'v', '3', '.', 'V', 'i', 'r', 't', 'u', 'a', 'l', 'H', 'o', 's', 't', '.', 'T', 'l', 's', 'R', 'e', 'q', 'u', 'i', 'r', 'e', -'m', 'e', 'n', 't', 'T', 'y', 'p', 'e', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\n', 'r', 'e', 'q', 'u', 'i', -'r', 'e', 'T', 'l', 's', '\022', 'P', '\n', '\020', 'v', 'i', 'r', 't', 'u', 'a', 'l', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', -'\030', '\005', ' ', '\003', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', -'t', 'e', '.', 'v', '3', '.', 'V', 'i', 'r', 't', 'u', 'a', 'l', 'C', 'l', 'u', 's', 't', 'e', 'r', 'R', '\017', 'v', 'i', 'r', -'t', 'u', 'a', 'l', 'C', 'l', 'u', 's', 't', 'e', 'r', 's', '\022', 'A', '\n', '\013', 'r', 'a', 't', 'e', '_', 'l', 'i', 'm', 'i', -'t', 's', '\030', '\006', ' ', '\003', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', -'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 'R', '\n', 'r', 'a', 't', 'e', 'L', 'i', -'m', 'i', 't', 's', '\022', 'g', '\n', '\026', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', -'o', '_', 'a', 'd', 'd', '\030', '\007', ' ', '\003', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', -'o', 'n', 'B', '\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', '\350', '\007', 'R', '\023', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', -'d', 'e', 'r', 's', 'T', 'o', 'A', 'd', 'd', '\022', 'M', '\n', '\031', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', -'e', 'r', 's', '_', 't', 'o', '_', 'r', 'e', 'm', 'o', 'v', 'e', '\030', '\r', ' ', '\003', '(', '\t', 'B', '\022', '\372', 'B', '\017', '\222', -'\001', '\014', '\"', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\026', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', -'a', 'd', 'e', 'r', 's', 'T', 'o', 'R', 'e', 'm', 'o', 'v', 'e', '\022', 'i', '\n', '\027', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', -'_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'a', 'd', 'd', '\030', '\n', ' ', '\003', '(', '\013', '2', '\'', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', -'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'B', '\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', '\350', '\007', 'R', '\024', -'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'A', 'd', 'd', '\022', 'O', '\n', '\032', 'r', -'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'r', 'e', 'm', 'o', 'v', 'e', -'\030', '\013', ' ', '\003', '(', '\t', 'B', '\022', '\372', 'B', '\017', '\222', '\001', '\014', '\"', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', '\310', '\001', -'\000', 'R', '\027', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'R', 'e', 'm', 'o', 'v', -'e', '\022', 'B', '\n', '\004', 'c', 'o', 'r', 's', '\030', '\010', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'C', 'o', 'r', 's', 'P', 'o', 'l', 'i', 'c', 'y', -'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\004', 'c', 'o', 'r', 's', '\022', 's', '\n', '\027', 't', 'y', -'p', 'e', 'd', '_', 'p', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\017', ' ', '\003', -'(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', -'3', '.', 'V', 'i', 'r', 't', 'u', 'a', 'l', 'H', 'o', 's', 't', '.', 'T', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', -'t', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', 'R', '\024', 't', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', -'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'A', '\n', '\035', 'i', 'n', 'c', 'l', 'u', 'd', 'e', '_', 'r', 'e', -'q', 'u', 'e', 's', 't', '_', 'a', 't', 't', 'e', 'm', 'p', 't', '_', 'c', 'o', 'u', 'n', 't', '\030', '\016', ' ', '\001', '(', '\010', -'R', '\032', 'i', 'n', 'c', 'l', 'u', 'd', 'e', 'R', 'e', 'q', 'u', 'e', 's', 't', 'A', 't', 't', 'e', 'm', 'p', 't', 'C', 'o', -'u', 'n', 't', '\022', 'H', '\n', '!', 'i', 'n', 'c', 'l', 'u', 'd', 'e', '_', 'a', 't', 't', 'e', 'm', 'p', 't', '_', 'c', 'o', -'u', 'n', 't', '_', 'i', 'n', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '\030', '\023', ' ', '\001', '(', '\010', 'R', '\035', 'i', 'n', -'c', 'l', 'u', 'd', 'e', 'A', 't', 't', 'e', 'm', 'p', 't', 'C', 'o', 'u', 'n', 't', 'I', 'n', 'R', 'e', 's', 'p', 'o', 'n', -'s', 'e', '\022', 'E', '\n', '\014', 'r', 'e', 't', 'r', 'y', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\020', ' ', '\001', '(', '\013', '2', -'\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', -'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\013', 'r', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'O', -'\n', '\031', 'r', 'e', 't', 'r', 'y', '_', 'p', 'o', 'l', 'i', 'c', 'y', '_', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', -'i', 'g', '\030', '\024', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', -'f', '.', 'A', 'n', 'y', 'R', '\026', 'r', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', 'T', 'y', 'p', 'e', 'd', 'C', 'o', -'n', 'f', 'i', 'g', '\022', 'E', '\n', '\014', 'h', 'e', 'd', 'g', 'e', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\021', ' ', '\001', '(', -'\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', -'.', 'H', 'e', 'd', 'g', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\013', 'h', 'e', 'd', 'g', 'e', 'P', 'o', 'l', 'i', 'c', 'y', -'\022', 'D', '\n', '\037', 'i', 'n', 'c', 'l', 'u', 'd', 'e', '_', 'i', 's', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '_', 'r', 'e', -'t', 'r', 'y', '_', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\027', ' ', '\001', '(', '\010', 'R', '\033', 'i', 'n', 'c', 'l', 'u', 'd', 'e', -'I', 's', 'T', 'i', 'm', 'e', 'o', 'u', 't', 'R', 'e', 't', 'r', 'y', 'H', 'e', 'a', 'd', 'e', 'r', '\022', '`', '\n', '\036', 'p', -'e', 'r', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'b', 'u', 'f', 'f', 'e', 'r', '_', 'l', 'i', 'm', 'i', 't', '_', 'b', -'y', 't', 'e', 's', '\030', '\022', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\032', 'p', 'e', 'r', 'R', 'e', 'q', 'u', 'e', -'s', 't', 'B', 'u', 'f', 'f', 'e', 'r', 'L', 'i', 'm', 'i', 't', 'B', 'y', 't', 'e', 's', '\022', 'n', '\n', '\027', 'r', 'e', 'q', -'u', 'e', 's', 't', '_', 'm', 'i', 'r', 'r', 'o', 'r', '_', 'p', 'o', 'l', 'i', 'c', 'i', 'e', 's', '\030', '\026', ' ', '\003', '(', -'\013', '2', '6', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', -'.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'M', 'i', 'r', 'r', 'o', -'r', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\025', 'r', 'e', 'q', 'u', 'e', 's', 't', 'M', 'i', 'r', 'r', 'o', 'r', 'P', 'o', 'l', -'i', 'c', 'i', 'e', 's', '\032', ']', '\n', '\031', 'T', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', -'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', -'e', 'y', '\022', '*', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', -'\"', ':', '\n', '\022', 'T', 'l', 's', 'R', 'e', 'q', 'u', 'i', 'r', 'e', 'm', 'e', 'n', 't', 'T', 'y', 'p', 'e', '\022', '\010', '\n', -'\004', 'N', 'O', 'N', 'E', '\020', '\000', '\022', '\021', '\n', '\r', 'E', 'X', 'T', 'E', 'R', 'N', 'A', 'L', '_', 'O', 'N', 'L', 'Y', '\020', -'\001', '\022', '\007', '\n', '\003', 'A', 'L', 'L', '\020', '\002', ':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', -'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'V', 'i', 'r', 't', 'u', 'a', 'l', 'H', 'o', 's', 't', 'J', -'\004', '\010', '\t', '\020', '\n', 'J', '\004', '\010', '\014', '\020', '\r', 'R', '\021', 'p', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', -'o', 'n', 'f', 'i', 'g', '\"', 'd', '\n', '\014', 'F', 'i', 'l', 't', 'e', 'r', 'A', 'c', 't', 'i', 'o', 'n', '\022', ',', '\n', '\006', -'a', 'c', 't', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\006', 'a', 'c', 't', 'i', 'o', 'n', ':', '&', '\232', '\305', '\210', '\036', '!', '\n', -'\037', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'F', 'i', 'l', 't', 'e', -'r', 'A', 'c', 't', 'i', 'o', 'n', '\"', 'A', '\n', '\t', 'R', 'o', 'u', 't', 'e', 'L', 'i', 's', 't', '\022', '4', '\n', '\006', 'r', -'o', 'u', 't', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\034', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'R', '\006', 'r', 'o', 'u', 't', 'e', 's', '\"', -'\257', '\013', '\n', '\005', 'R', 'o', 'u', 't', 'e', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\016', ' ', '\001', '(', '\t', 'R', '\004', -'n', 'a', 'm', 'e', '\022', 'A', '\n', '\005', 'm', 'a', 't', 'c', 'h', '\030', '\001', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'M', -'a', 't', 'c', 'h', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'm', 'a', 't', 'c', 'h', '\022', ':', '\n', '\005', -'r', 'o', 'u', 't', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', 'H', '\000', 'R', -'\005', 'r', 'o', 'u', 't', 'e', '\022', 'C', '\n', '\010', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', -'%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', -'e', 'd', 'i', 'r', 'e', 'c', 't', 'A', 'c', 't', 'i', 'o', 'n', 'H', '\000', 'R', '\010', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', -'\022', 'V', '\n', '\017', 'd', 'i', 'r', 'e', 'c', 't', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '\030', '\007', ' ', '\001', '(', '\013', -'2', '+', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', -'D', 'i', 'r', 'e', 'c', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'A', 'c', 't', 'i', 'o', 'n', 'H', '\000', 'R', '\016', 'd', -'i', 'r', 'e', 'c', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', '\022', 'J', '\n', '\r', 'f', 'i', 'l', 't', 'e', 'r', '_', 'a', -'c', 't', 'i', 'o', 'n', '\030', '\021', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'F', 'i', 'l', 't', 'e', 'r', 'A', 'c', 't', 'i', 'o', 'n', 'H', '\000', -'R', '\014', 'f', 'i', 'l', 't', 'e', 'r', 'A', 'c', 't', 'i', 'o', 'n', '\022', '`', '\n', '\025', 'n', 'o', 'n', '_', 'f', 'o', 'r', -'w', 'a', 'r', 'd', 'i', 'n', 'g', '_', 'a', 'c', 't', 'i', 'o', 'n', '\030', '\022', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'N', 'o', 'n', 'F', 'o', -'r', 'w', 'a', 'r', 'd', 'i', 'n', 'g', 'A', 'c', 't', 'i', 'o', 'n', 'H', '\000', 'R', '\023', 'n', 'o', 'n', 'F', 'o', 'r', 'w', -'a', 'r', 'd', 'i', 'n', 'g', 'A', 'c', 't', 'i', 'o', 'n', '\022', ':', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', -'\004', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', -'.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'R', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', '>', '\n', -'\t', 'd', 'e', 'c', 'o', 'r', 'a', 't', 'o', 'r', '\030', '\005', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'D', 'e', 'c', 'o', 'r', 'a', 't', 'o', 'r', -'R', '\t', 'd', 'e', 'c', 'o', 'r', 'a', 't', 'o', 'r', '\022', 'm', '\n', '\027', 't', 'y', 'p', 'e', 'd', '_', 'p', 'e', 'r', '_', -'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\r', ' ', '\003', '(', '\013', '2', '6', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', '.', -'T', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', -'R', '\024', 't', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'g', '\n', -'\026', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'a', 'd', 'd', '\030', '\t', -' ', '\003', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'B', '\t', '\372', 'B', '\006', -'\222', '\001', '\003', '\020', '\350', '\007', 'R', '\023', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'A', -'d', 'd', '\022', 'M', '\n', '\031', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', -'r', 'e', 'm', 'o', 'v', 'e', '\030', '\014', ' ', '\003', '(', '\t', 'B', '\022', '\372', 'B', '\017', '\222', '\001', '\014', '\"', '\n', 'r', '\010', '\020', -'\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\026', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', -'R', 'e', 'm', 'o', 'v', 'e', '\022', 'i', '\n', '\027', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', -'s', '_', 't', 'o', '_', 'a', 'd', 'd', '\030', '\n', ' ', '\003', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', -'p', 't', 'i', 'o', 'n', 'B', '\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', '\350', '\007', 'R', '\024', 'r', 'e', 's', 'p', 'o', 'n', 's', -'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'A', 'd', 'd', '\022', 'O', '\n', '\032', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', -'_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'r', 'e', 'm', 'o', 'v', 'e', '\030', '\013', ' ', '\003', '(', '\t', 'B', -'\022', '\372', 'B', '\017', '\222', '\001', '\014', '\"', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\027', 'r', 'e', 's', 'p', -'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'R', 'e', 'm', 'o', 'v', 'e', '\022', '8', '\n', '\007', 't', 'r', -'a', 'c', 'i', 'n', 'g', '\030', '\017', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'T', 'r', 'a', 'c', 'i', 'n', 'g', 'R', '\007', 't', 'r', 'a', 'c', 'i', -'n', 'g', '\022', '`', '\n', '\036', 'p', 'e', 'r', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'b', 'u', 'f', 'f', 'e', 'r', '_', -'l', 'i', 'm', 'i', 't', '_', 'b', 'y', 't', 'e', 's', '\030', '\020', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\032', 'p', -'e', 'r', 'R', 'e', 'q', 'u', 'e', 's', 't', 'B', 'u', 'f', 'f', 'e', 'r', 'L', 'i', 'm', 'i', 't', 'B', 'y', 't', 'e', 's', -'\022', '\037', '\n', '\013', 's', 't', 'a', 't', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\023', ' ', '\001', '(', '\t', 'R', '\n', 's', 't', -'a', 't', 'P', 'r', 'e', 'f', 'i', 'x', '\032', ']', '\n', '\031', 'T', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', -'r', 'C', 'o', 'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', -'R', '\003', 'k', 'e', 'y', '\022', '*', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', -'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', -'\002', '8', '\001', ':', '\037', '\232', '\305', '\210', '\036', '\032', '\n', '\030', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', -'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'B', '\r', '\n', '\006', 'a', 'c', 't', 'i', 'o', 'n', '\022', '\003', '\370', 'B', -'\001', 'J', '\004', '\010', '\006', '\020', '\007', 'J', '\004', '\010', '\010', '\020', '\t', 'R', '\021', 'p', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', -'_', 'c', 'o', 'n', 'f', 'i', 'g', '\"', '\363', '\n', '\n', '\017', 'W', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'C', 'l', 'u', 's', 't', -'e', 'r', '\022', 'Z', '\n', '\010', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '4', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'W', 'e', 'i', 'g', 'h', -'t', 'e', 'd', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'W', 'e', 'i', 'g', 'h', 't', 'B', -'\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\010', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', '\022', 'L', '\n', '\014', 't', 'o', -'t', 'a', 'l', '_', 'w', 'e', 'i', 'g', 'h', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\013', '\030', '\001', -'\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\013', 't', 'o', 't', 'a', 'l', 'W', 'e', 'i', 'g', 'h', 't', '\022', ',', '\n', -'\022', 'r', 'u', 'n', 't', 'i', 'm', 'e', '_', 'k', 'e', 'y', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\002', ' ', '\001', '(', '\t', -'R', '\020', 'r', 'u', 'n', 't', 'i', 'm', 'e', 'K', 'e', 'y', 'P', 'r', 'e', 'f', 'i', 'x', '\022', '.', '\n', '\013', 'h', 'e', 'a', -'d', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\004', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', -'\001', '\000', 'H', '\000', 'R', '\n', 'h', 'e', 'a', 'd', 'e', 'r', 'N', 'a', 'm', 'e', '\032', '\222', '\010', '\n', '\r', 'C', 'l', 'u', 's', -'t', 'e', 'r', 'W', 'e', 'i', 'g', 'h', 't', '\022', '-', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\031', -'\362', '\230', '\376', '\217', '\005', '\023', '\022', '\021', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', -'R', '\004', 'n', 'a', 'm', 'e', '\022', 'K', '\n', '\016', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'h', 'e', 'a', 'd', 'e', 'r', '\030', -'\014', ' ', '\001', '(', '\t', 'B', '$', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', '\362', '\230', '\376', '\217', '\005', '\023', '\022', -'\021', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'R', '\r', 'c', 'l', 'u', 's', 't', -'e', 'r', 'H', 'e', 'a', 'd', 'e', 'r', '\022', '4', '\n', '\006', 'w', 'e', 'i', 'g', 'h', 't', '\030', '\002', ' ', '\001', '(', '\013', '2', -'\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', -'a', 'l', 'u', 'e', 'R', '\006', 'w', 'e', 'i', 'g', 'h', 't', '\022', 'E', '\n', '\016', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '_', -'m', 'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'R', '\r', 'm', 'e', 't', 'a', 'd', -'a', 't', 'a', 'M', 'a', 't', 'c', 'h', '\022', 'g', '\n', '\026', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', -'r', 's', '_', 't', 'o', '_', 'a', 'd', 'd', '\030', '\004', ' ', '\003', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', -'O', 'p', 't', 'i', 'o', 'n', 'B', '\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', '\350', '\007', 'R', '\023', 'r', 'e', 'q', 'u', 'e', 's', -'t', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'A', 'd', 'd', '\022', 'K', '\n', '\031', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', -'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'r', 'e', 'm', 'o', 'v', 'e', '\030', '\t', ' ', '\003', '(', '\t', 'B', '\020', -'\372', 'B', '\r', '\222', '\001', '\n', '\"', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\026', 'r', 'e', 'q', 'u', 'e', 's', 't', -'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'R', 'e', 'm', 'o', 'v', 'e', '\022', 'i', '\n', '\027', 'r', 'e', 's', 'p', 'o', 'n', -'s', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'a', 'd', 'd', '\030', '\005', ' ', '\003', '(', '\013', '2', '\'', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', -'d', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'B', '\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', '\350', '\007', -'R', '\024', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'A', 'd', 'd', '\022', 'M', '\n', -'\032', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', 'r', 'e', 'm', 'o', -'v', 'e', '\030', '\006', ' ', '\003', '(', '\t', 'B', '\020', '\372', 'B', '\r', '\222', '\001', '\n', '\"', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', -'\000', 'R', '\027', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'R', 'e', 'm', 'o', 'v', -'e', '\022', '\205', '\001', '\n', '\027', 't', 'y', 'p', 'e', 'd', '_', 'p', 'e', 'r', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'o', -'n', 'f', 'i', 'g', '\030', '\n', ' ', '\003', '(', '\013', '2', 'N', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'W', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'C', 'l', 'u', 's', 't', 'e', 'r', -'.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'W', 'e', 'i', 'g', 'h', 't', '.', 'T', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', -'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'E', 'n', 't', 'r', 'y', 'R', '\024', 't', 'y', 'p', 'e', 'd', 'P', 'e', 'r', -'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '?', '\n', '\024', 'h', 'o', 's', 't', '_', 'r', 'e', 'w', 'r', -'i', 't', 'e', '_', 'l', 'i', 't', 'e', 'r', 'a', 'l', '\030', '\013', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', -'\001', '\002', '\310', '\001', '\000', 'H', '\000', 'R', '\022', 'h', 'o', 's', 't', 'R', 'e', 'w', 'r', 'i', 't', 'e', 'L', 'i', 't', 'e', 'r', -'a', 'l', '\032', ']', '\n', '\031', 'T', 'y', 'p', 'e', 'd', 'P', 'e', 'r', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', -'g', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', -'*', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', -'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', ':', '7', '\232', -'\305', '\210', '\036', '2', '\n', '0', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', -'W', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'C', 'l', 'u', 's', 't', 'e', 'r', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'W', 'e', -'i', 'g', 'h', 't', 'B', '\030', '\n', '\026', 'h', 'o', 's', 't', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '_', 's', 'p', 'e', 'c', -'i', 'f', 'i', 'e', 'r', 'J', '\004', '\010', '\007', '\020', '\010', 'J', '\004', '\010', '\010', '\020', '\t', 'R', '\021', 'p', 'e', 'r', '_', 'f', 'i', -'l', 't', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', ':', ')', '\232', '\305', '\210', '\036', '$', '\n', '\"', 'e', 'n', 'v', 'o', 'y', -'.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'W', 'e', 'i', 'g', 'h', 't', 'e', 'd', 'C', 'l', 'u', -'s', 't', 'e', 'r', 'B', '\030', '\n', '\026', 'r', 'a', 'n', 'd', 'o', 'm', '_', 'v', 'a', 'l', 'u', 'e', '_', 's', 'p', 'e', 'c', -'i', 'f', 'i', 'e', 'r', '\"', '\215', '\001', '\n', '\026', 'C', 'l', 'u', 's', 't', 'e', 'r', 'S', 'p', 'e', 'c', 'i', 'f', 'i', 'e', -'r', 'P', 'l', 'u', 'g', 'i', 'n', '\022', 'R', '\n', '\t', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', -'\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', -'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\010', '\372', 'B', '\005', -'\212', '\001', '\002', '\020', '\001', 'R', '\t', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\022', '\037', '\n', '\013', 'i', 's', '_', 'o', 'p', -'t', 'i', 'o', 'n', 'a', 'l', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\n', 'i', 's', 'O', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\"', -'\305', '\n', '\n', '\n', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', '\022', '\030', '\n', '\006', 'p', 'r', 'e', 'f', 'i', 'x', '\030', -'\001', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\006', 'p', 'r', 'e', 'f', 'i', 'x', '\022', '\024', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\002', -' ', '\001', '(', '\t', 'H', '\000', 'R', '\004', 'p', 'a', 't', 'h', '\022', 'N', '\n', '\n', 's', 'a', 'f', 'e', '_', 'r', 'e', 'g', 'e', -'x', '\030', '\n', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', -'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', -'\001', '\002', '\020', '\001', 'H', '\000', 'R', '\t', 's', 'a', 'f', 'e', 'R', 'e', 'g', 'e', 'x', '\022', '[', '\n', '\017', 'c', 'o', 'n', 'n', -'e', 'c', 't', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\014', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', -'c', 'h', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\016', 'c', 'o', 'n', 'n', -'e', 'c', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'K', '\n', '\025', 'p', 'a', 't', 'h', '_', 's', 'e', 'p', 'a', 'r', 'a', -'t', 'e', 'd', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\016', ' ', '\001', '(', '\t', 'B', '\025', '\372', 'B', '\022', 'r', '\020', '2', '\016', -'^', '[', '^', '?', '#', ']', '+', '[', '^', '?', '#', '/', ']', '$', 'H', '\000', 'R', '\023', 'p', 'a', 't', 'h', 'S', 'e', 'p', -'a', 'r', 'a', 't', 'e', 'd', 'P', 'r', 'e', 'f', 'i', 'x', '\022', 'X', '\n', '\021', 'p', 'a', 't', 'h', '_', 'm', 'a', 't', 'c', -'h', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\017', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', -'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\017', 'p', 'a', 't', 'h', 'M', 'a', 't', 'c', 'h', 'P', 'o', 'l', 'i', -'c', 'y', '\022', 'A', '\n', '\016', 'c', 'a', 's', 'e', '_', 's', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', '\030', '\004', ' ', '\001', '(', -'\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', -'a', 'l', 'u', 'e', 'R', '\r', 'c', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', '\022', 'Y', '\n', '\020', 'r', 'u', -'n', 't', 'i', 'm', 'e', '_', 'f', 'r', 'a', 'c', 't', 'i', 'o', 'n', '\030', '\t', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', -'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\017', 'r', 'u', 'n', 't', 'i', -'m', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', '\022', '>', '\n', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\006', ' ', '\003', -'(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', -'3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\022', -'W', '\n', '\020', 'q', 'u', 'e', 'r', 'y', '_', 'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '\030', '\007', ' ', '\003', '(', '\013', -'2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', -'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\017', 'q', 'u', -'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '\022', 'K', '\n', '\004', 'g', 'r', 'p', 'c', '\030', '\010', ' ', '\001', -'(', '\013', '2', '7', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', -'3', '.', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', '.', 'G', 'r', 'p', 'c', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', -'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\004', 'g', 'r', 'p', 'c', '\022', 'Y', '\n', '\013', 't', 'l', 's', '_', 'c', 'o', -'n', 't', 'e', 'x', 't', '\030', '\013', ' ', '\001', '(', '\013', '2', '8', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', '.', 'T', 'l', 's', -'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\n', 't', 'l', 's', 'C', -'o', 'n', 't', 'e', 'x', 't', '\022', 'Q', '\n', '\020', 'd', 'y', 'n', 'a', 'm', 'i', 'c', '_', 'm', 'e', 't', 'a', 'd', 'a', 't', -'a', '\030', '\r', ' ', '\003', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', -'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\017', 'd', -'y', 'n', 'a', 'm', 'i', 'c', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', '\032', 'S', '\n', '\025', 'G', 'r', 'p', 'c', 'R', 'o', 'u', -'t', 'e', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 's', ':', ':', '\232', '\305', '\210', '\036', '5', '\n', '3', 'e', 'n', -'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', -'c', 'h', '.', 'G', 'r', 'p', 'c', 'R', 'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 's', '\032', -'\311', '\001', '\n', '\026', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', -'s', '\022', '8', '\n', '\t', 'p', 'r', 'e', 's', 'e', 'n', 't', 'e', 'd', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', -'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\t', -'p', 'r', 'e', 's', 'e', 'n', 't', 'e', 'd', '\022', '8', '\n', '\t', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', 'd', '\030', '\002', ' ', -'\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', -'l', 'V', 'a', 'l', 'u', 'e', 'R', '\t', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', 'd', ':', ';', '\232', '\305', '\210', '\036', '6', '\n', -'4', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', -'M', 'a', 't', 'c', 'h', '.', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', -'o', 'n', 's', '\032', '\020', '\n', '\016', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', ':', '$', '\232', '\305', -'\210', '\036', '\037', '\n', '\035', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', -'o', 'u', 't', 'e', 'M', 'a', 't', 'c', 'h', 'B', '\025', '\n', '\016', 'p', 'a', 't', 'h', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', -'e', 'r', '\022', '\003', '\370', 'B', '\001', 'J', '\004', '\010', '\005', '\020', '\006', 'J', '\004', '\010', '\003', '\020', '\004', 'R', '\005', 'r', 'e', 'g', 'e', -'x', '\"', '\305', '\005', '\n', '\n', 'C', 'o', 'r', 's', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '_', '\n', '\031', 'a', 'l', 'l', 'o', 'w', -'_', 'o', 'r', 'i', 'g', 'i', 'n', '_', 's', 't', 'r', 'i', 'n', 'g', '_', 'm', 'a', 't', 'c', 'h', '\030', '\013', ' ', '\003', '(', -'\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', -'.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\026', 'a', 'l', 'l', 'o', 'w', 'O', 'r', 'i', 'g', -'i', 'n', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', '\022', '#', '\n', '\r', 'a', 'l', 'l', 'o', 'w', '_', 'm', 'e', -'t', 'h', 'o', 'd', 's', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\014', 'a', 'l', 'l', 'o', 'w', 'M', 'e', 't', 'h', 'o', 'd', 's', -'\022', '#', '\n', '\r', 'a', 'l', 'l', 'o', 'w', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\014', -'a', 'l', 'l', 'o', 'w', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', '%', '\n', '\016', 'e', 'x', 'p', 'o', 's', 'e', '_', 'h', 'e', -'a', 'd', 'e', 'r', 's', '\030', '\004', ' ', '\001', '(', '\t', 'R', '\r', 'e', 'x', 'p', 'o', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', -'s', '\022', '\027', '\n', '\007', 'm', 'a', 'x', '_', 'a', 'g', 'e', '\030', '\005', ' ', '\001', '(', '\t', 'R', '\006', 'm', 'a', 'x', 'A', 'g', -'e', '\022', 'G', '\n', '\021', 'a', 'l', 'l', 'o', 'w', '_', 'c', 'r', 'e', 'd', 'e', 'n', 't', 'i', 'a', 'l', 's', '\030', '\006', ' ', -'\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', -'l', 'V', 'a', 'l', 'u', 'e', 'R', '\020', 'a', 'l', 'l', 'o', 'w', 'C', 'r', 'e', 'd', 'e', 'n', 't', 'i', 'a', 'l', 's', '\022', -'W', '\n', '\016', 'f', 'i', 'l', 't', 'e', 'r', '_', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\030', '\t', ' ', '\001', '(', '\013', '2', '.', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', -'t', 'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'H', '\000', 'R', '\r', -'f', 'i', 'l', 't', 'e', 'r', 'E', 'n', 'a', 'b', 'l', 'e', 'd', '\022', 'U', '\n', '\016', 's', 'h', 'a', 'd', 'o', 'w', '_', 'e', -'n', 'a', 'b', 'l', 'e', 'd', '\030', '\n', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', -'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\r', 's', 'h', 'a', 'd', 'o', 'w', 'E', 'n', 'a', 'b', 'l', 'e', 'd', -'\022', '[', '\n', '\034', 'a', 'l', 'l', 'o', 'w', '_', 'p', 'r', 'i', 'v', 'a', 't', 'e', '_', 'n', 'e', 't', 'w', 'o', 'r', 'k', -'_', 'a', 'c', 'c', 'e', 's', 's', '\030', '\014', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', -'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\031', 'a', 'l', 'l', 'o', 'w', 'P', 'r', -'i', 'v', 'a', 't', 'e', 'N', 'e', 't', 'w', 'o', 'r', 'k', 'A', 'c', 'c', 'e', 's', 's', ':', '$', '\232', '\305', '\210', '\036', '\037', -'\n', '\035', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'C', 'o', 'r', 's', -'P', 'o', 'l', 'i', 'c', 'y', 'B', '\023', '\n', '\021', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', -'e', 'r', 'J', '\004', '\010', '\001', '\020', '\002', 'J', '\004', '\010', '\010', '\020', '\t', 'J', '\004', '\010', '\007', '\020', '\010', 'R', '\014', 'a', 'l', 'l', -'o', 'w', '_', 'o', 'r', 'i', 'g', 'i', 'n', 'R', '\022', 'a', 'l', 'l', 'o', 'w', '_', 'o', 'r', 'i', 'g', 'i', 'n', '_', 'r', -'e', 'g', 'e', 'x', 'R', '\007', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\"', '\234', '+', '\n', '\013', 'R', 'o', 'u', 't', 'e', 'A', 'c', -'t', 'i', 'o', 'n', '\022', '#', '\n', '\007', 'c', 'l', 'u', 's', 't', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', -'\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\007', 'c', 'l', 'u', 's', 't', 'e', 'r', '\022', '6', '\n', '\016', 'c', 'l', 'u', 's', 't', -'e', 'r', '_', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\r', '\372', 'B', '\n', 'r', '\010', '\020', '\001', '\300', -'\001', '\001', '\310', '\001', '\000', 'H', '\000', 'R', '\r', 'c', 'l', 'u', 's', 't', 'e', 'r', 'H', 'e', 'a', 'd', 'e', 'r', '\022', 'U', '\n', -'\021', 'w', 'e', 'i', 'g', 'h', 't', 'e', 'd', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', -'&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'W', -'e', 'i', 'g', 'h', 't', 'e', 'd', 'C', 'l', 'u', 's', 't', 'e', 'r', 'H', '\000', 'R', '\020', 'w', 'e', 'i', 'g', 'h', 't', 'e', -'d', 'C', 'l', 'u', 's', 't', 'e', 'r', 's', '\022', ':', '\n', '\030', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 'p', 'e', 'c', -'i', 'f', 'i', 'e', 'r', '_', 'p', 'l', 'u', 'g', 'i', 'n', '\030', '%', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\026', 'c', 'l', 'u', -'s', 't', 'e', 'r', 'S', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'P', 'l', 'u', 'g', 'i', 'n', '\022', 'v', '\n', '\037', 'i', 'n', -'l', 'i', 'n', 'e', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '_', 'p', 'l', -'u', 'g', 'i', 'n', '\030', '\'', ' ', '\001', '(', '\013', '2', '-', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'S', 'p', 'e', 'c', 'i', 'f', 'i', 'e', -'r', 'P', 'l', 'u', 'g', 'i', 'n', 'H', '\000', 'R', '\034', 'i', 'n', 'l', 'i', 'n', 'e', 'C', 'l', 'u', 's', 't', 'e', 'r', 'S', -'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'P', 'l', 'u', 'g', 'i', 'n', '\022', '\216', '\001', '\n', '\037', 'c', 'l', 'u', 's', 't', 'e', -'r', '_', 'n', 'o', 't', '_', 'f', 'o', 'u', 'n', 'd', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'c', 'o', 'd', 'e', -'\030', '\024', ' ', '\001', '(', '\016', '2', '>', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', -'t', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', -'N', 'o', 't', 'F', 'o', 'u', 'n', 'd', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'C', 'o', 'd', 'e', 'B', '\010', '\372', 'B', '\005', -'\202', '\001', '\002', '\020', '\001', 'R', '\033', 'c', 'l', 'u', 's', 't', 'e', 'r', 'N', 'o', 't', 'F', 'o', 'u', 'n', 'd', 'R', 'e', 's', -'p', 'o', 'n', 's', 'e', 'C', 'o', 'd', 'e', '\022', 'E', '\n', '\016', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '_', 'm', 'a', 't', -'c', 'h', '\030', '\004', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', -'o', 'r', 'e', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'R', '\r', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', -'M', 'a', 't', 'c', 'h', '\022', '2', '\n', '\016', 'p', 'r', 'e', 'f', 'i', 'x', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '\030', '\005', -' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\002', '\310', '\001', '\000', 'R', '\r', 'p', 'r', 'e', 'f', 'i', 'x', -'R', 'e', 'w', 'r', 'i', 't', 'e', '\022', 'S', '\n', '\r', 'r', 'e', 'g', 'e', 'x', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '\030', -' ', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', -'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'A', 'n', 'd', 'S', 'u', 'b', 's', 't', 'i', 't', -'u', 't', 'e', 'R', '\014', 'r', 'e', 'g', 'e', 'x', 'R', 'e', 'w', 'r', 'i', 't', 'e', '\022', 'Z', '\n', '\023', 'p', 'a', 't', 'h', -'_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', ')', ' ', '\001', '(', '\013', '2', '*', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', -'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\021', 'p', 'a', 't', 'h', 'R', 'e', 'w', 'r', -'i', 't', 'e', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '?', '\n', '\024', 'h', 'o', 's', 't', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', -'_', 'l', 'i', 't', 'e', 'r', 'a', 'l', '\030', '\006', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\002', '\310', -'\001', '\000', 'H', '\001', 'R', '\022', 'h', 'o', 's', 't', 'R', 'e', 'w', 'r', 'i', 't', 'e', 'L', 'i', 't', 'e', 'r', 'a', 'l', '\022', -'H', '\n', '\021', 'a', 'u', 't', 'o', '_', 'h', 'o', 's', 't', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '\030', '\007', ' ', '\001', '(', -'\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', -'a', 'l', 'u', 'e', 'H', '\001', 'R', '\017', 'a', 'u', 't', 'o', 'H', 'o', 's', 't', 'R', 'e', 'w', 'r', 'i', 't', 'e', '\022', '=', -'\n', '\023', 'h', 'o', 's', 't', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\035', ' ', '\001', -'(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', 'H', '\001', 'R', '\021', 'h', 'o', 's', 't', 'R', 'e', -'w', 'r', 'i', 't', 'e', 'H', 'e', 'a', 'd', 'e', 'r', '\022', 'g', '\n', '\027', 'h', 'o', 's', 't', '_', 'r', 'e', 'w', 'r', 'i', -'t', 'e', '_', 'p', 'a', 't', 'h', '_', 'r', 'e', 'g', 'e', 'x', '\030', '#', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', -'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', -'a', 't', 'c', 'h', 'A', 'n', 'd', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'e', 'H', '\001', 'R', '\024', 'h', 'o', 's', 't', -'R', 'e', 'w', 'r', 'i', 't', 'e', 'P', 'a', 't', 'h', 'R', 'e', 'g', 'e', 'x', '\022', '5', '\n', '\027', 'a', 'p', 'p', 'e', 'n', -'d', '_', 'x', '_', 'f', 'o', 'r', 'w', 'a', 'r', 'd', 'e', 'd', '_', 'h', 'o', 's', 't', '\030', '&', ' ', '\001', '(', '\010', 'R', -'\024', 'a', 'p', 'p', 'e', 'n', 'd', 'X', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 'e', 'd', 'H', 'o', 's', 't', '\022', '3', '\n', '\007', -'t', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\010', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', -'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\007', 't', 'i', 'm', 'e', 'o', 'u', 't', '\022', -'<', '\n', '\014', 'i', 'd', 'l', 'e', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\030', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', -'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\013', -'i', 'd', 'l', 'e', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'V', '\n', '\021', 'e', 'a', 'r', 'l', 'y', '_', 'd', 'a', 't', 'a', -'_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '(', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', -'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\017', 'e', 'a', 'r', 'l', 'y', 'D', 'a', 't', 'a', 'P', 'o', 'l', 'i', 'c', 'y', '\022', -'E', '\n', '\014', 'r', 'e', 't', 'r', 'y', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\t', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'e', 't', 'r', -'y', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\013', 'r', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'O', '\n', '\031', 'r', -'e', 't', 'r', 'y', '_', 'p', 'o', 'l', 'i', 'c', 'y', '_', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', -'!', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', -'n', 'y', 'R', '\026', 'r', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', 'T', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', -'g', '\022', 'n', '\n', '\027', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'm', 'i', 'r', 'r', 'o', 'r', '_', 'p', 'o', 'l', 'i', 'c', -'i', 'e', 's', '\030', '\036', ' ', '\003', '(', '\013', '2', '6', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'q', 'u', -'e', 's', 't', 'M', 'i', 'r', 'r', 'o', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\025', 'r', 'e', 'q', 'u', 'e', 's', 't', 'M', -'i', 'r', 'r', 'o', 'r', 'P', 'o', 'l', 'i', 'c', 'i', 'e', 's', '\022', 'K', '\n', '\010', 'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', -'\030', '\013', ' ', '\001', '(', '\016', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', -'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'i', 'n', 'g', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 'B', '\010', '\372', 'B', '\005', -'\202', '\001', '\002', '\020', '\001', 'R', '\010', 'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', '\022', 'A', '\n', '\013', 'r', 'a', 't', 'e', '_', 'l', -'i', 'm', 'i', 't', 's', '\030', '\r', ' ', '\003', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 'R', '\n', 'r', 'a', 't', -'e', 'L', 'i', 'm', 'i', 't', 's', '\022', '\\', '\n', '\026', 'i', 'n', 'c', 'l', 'u', 'd', 'e', '_', 'v', 'h', '_', 'r', 'a', 't', -'e', '_', 'l', 'i', 'm', 'i', 't', 's', '\030', '\016', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', -'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', -'\004', '\003', '3', '.', '0', 'R', '\023', 'i', 'n', 'c', 'l', 'u', 'd', 'e', 'V', 'h', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', -'s', '\022', 'N', '\n', '\013', 'h', 'a', 's', 'h', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\017', ' ', '\003', '(', '\013', '2', '-', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', -'t', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\n', 'h', 'a', 's', 'h', -'P', 'o', 'l', 'i', 'c', 'y', '\022', 'B', '\n', '\004', 'c', 'o', 'r', 's', '\030', '\021', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'C', 'o', 'r', 's', 'P', -'o', 'l', 'i', 'c', 'y', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\004', 'c', 'o', 'r', 's', '\022', -'P', '\n', '\020', 'm', 'a', 'x', '_', 'g', 'r', 'p', 'c', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\027', ' ', '\001', '(', '\013', -'2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', -'o', 'n', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\016', 'm', 'a', 'x', 'G', 'r', 'p', 'c', 'T', -'i', 'm', 'e', 'o', 'u', 't', '\022', 'V', '\n', '\023', 'g', 'r', 'p', 'c', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '_', 'o', 'f', -'f', 's', 'e', 't', '\030', '\034', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', -'R', '\021', 'g', 'r', 'p', 'c', 'T', 'i', 'm', 'e', 'o', 'u', 't', 'O', 'f', 'f', 's', 'e', 't', '\022', 'Y', '\n', '\017', 'u', 'p', -'g', 'r', 'a', 'd', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', 's', '\030', '\031', ' ', '\003', '(', '\013', '2', '0', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', -'c', 't', 'i', 'o', 'n', '.', 'U', 'p', 'g', 'r', 'a', 'd', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\016', 'u', 'p', 'g', 'r', -'a', 'd', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 's', '\022', 'g', '\n', '\030', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'r', 'e', -'d', 'i', 'r', 'e', 'c', 't', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\"', ' ', '\001', '(', '\013', '2', '-', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'I', 'n', 't', 'e', 'r', 'n', -'a', 'l', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'P', 'o', 'l', 'i', 'c', 'y', 'R', '\026', 'i', 'n', 't', 'e', 'r', 'n', 'a', -'l', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '\200', '\001', '\n', '\030', 'i', 'n', 't', 'e', 'r', -'n', 'a', 'l', '_', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '_', 'a', 'c', 't', 'i', 'o', 'n', '\030', '\032', ' ', '\001', '(', '\016', -'2', '9', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', -'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'd', 'i', 'r', -'e', 'c', 't', 'A', 'c', 't', 'i', 'o', 'n', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\026', 'i', -'n', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'A', 'c', 't', 'i', 'o', 'n', '\022', '_', '\n', '\026', -'m', 'a', 'x', '_', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', 's', '\030', '\037', ' ', -'\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', -'t', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\024', 'm', 'a', -'x', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 's', '\022', 'E', '\n', '\014', 'h', 'e', 'd', -'g', 'e', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\033', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'd', 'g', 'e', 'P', 'o', 'l', 'i', 'c', -'y', 'R', '\013', 'h', 'e', 'd', 'g', 'e', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'd', '\n', '\023', 'm', 'a', 'x', '_', 's', 't', 'r', -'e', 'a', 'm', '_', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\030', '$', ' ', '\001', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', -'t', 'i', 'o', 'n', '.', 'M', 'a', 'x', 'S', 't', 'r', 'e', 'a', 'm', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\021', 'm', -'a', 'x', 'S', 't', 'r', 'e', 'a', 'm', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\032', '\201', '\003', '\n', '\023', 'R', 'e', 'q', 'u', -'e', 's', 't', 'M', 'i', 'r', 'r', 'o', 'r', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '3', '\n', '\007', 'c', 'l', 'u', 's', 't', 'e', -'r', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\031', '\362', '\230', '\376', '\217', '\005', '\023', '\022', '\021', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', -'s', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'R', '\007', 'c', 'l', 'u', 's', 't', 'e', 'r', '\022', 'K', '\n', '\016', 'c', 'l', 'u', -'s', 't', 'e', 'r', '_', 'h', 'e', 'a', 'd', 'e', 'r', '\030', '\005', ' ', '\001', '(', '\t', 'B', '$', '\372', 'B', '\010', 'r', '\006', '\300', -'\001', '\001', '\310', '\001', '\000', '\362', '\230', '\376', '\217', '\005', '\023', '\022', '\021', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 'p', 'e', 'c', -'i', 'f', 'i', 'e', 'r', 'R', '\r', 'c', 'l', 'u', 's', 't', 'e', 'r', 'H', 'e', 'a', 'd', 'e', 'r', '\022', 'Y', '\n', '\020', 'r', -'u', 'n', 't', 'i', 'm', 'e', '_', 'f', 'r', 'a', 'c', 't', 'i', 'o', 'n', '\030', '\003', ' ', '\001', '(', '\013', '2', '.', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', -'m', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\017', 'r', 'u', 'n', 't', -'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', '\022', '?', '\n', '\r', 't', 'r', 'a', 'c', 'e', '_', 's', 'a', 'm', 'p', -'l', 'e', 'd', '\030', '\004', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', -'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\014', 't', 'r', 'a', 'c', 'e', 'S', 'a', 'm', 'p', 'l', 'e', -'d', ':', '9', '\232', '\305', '\210', '\036', '4', '\n', '2', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', -'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'M', 'i', -'r', 'r', 'o', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\013', 'r', 'u', 'n', 't', 'i', 'm', 'e', -'_', 'k', 'e', 'y', '\032', '\226', '\n', '\n', '\n', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'N', '\n', '\006', 'h', 'e', -'a', 'd', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', -'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'H', '\000', 'R', '\006', 'h', 'e', 'a', 'd', 'e', 'r', '\022', -'N', '\n', '\006', 'c', 'o', 'o', 'k', 'i', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', -'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'C', 'o', 'o', 'k', 'i', 'e', 'H', '\000', 'R', '\006', 'c', 'o', -'o', 'k', 'i', 'e', '\022', 'y', '\n', '\025', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'p', 'r', 'o', 'p', 'e', 'r', -'t', 'i', 'e', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', 'B', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', -'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', -'i', 'e', 's', 'H', '\000', 'R', '\024', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', -'e', 's', '\022', 'g', '\n', '\017', 'q', 'u', 'e', 'r', 'y', '_', 'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', '\030', '\005', ' ', '\001', -'(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', -'3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', -'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'H', '\000', 'R', '\016', 'q', 'u', 'e', 'r', 'y', 'P', 'a', -'r', 'a', 'm', 'e', 't', 'e', 'r', '\022', '^', '\n', '\014', 'f', 'i', 'l', 't', 'e', 'r', '_', 's', 't', 'a', 't', 'e', '\030', '\006', -' ', '\001', '(', '\013', '2', '9', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', -'.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', -'y', '.', 'F', 'i', 'l', 't', 'e', 'r', 'S', 't', 'a', 't', 'e', 'H', '\000', 'R', '\013', 'f', 'i', 'l', 't', 'e', 'r', 'S', 't', -'a', 't', 'e', '\022', '\032', '\n', '\010', 't', 'e', 'r', 'm', 'i', 'n', 'a', 'l', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\010', 't', 'e', -'r', 'm', 'i', 'n', 'a', 'l', '\032', '\306', '\001', '\n', '\006', 'H', 'e', 'a', 'd', 'e', 'r', '\022', '.', '\n', '\013', 'h', 'e', 'a', 'd', -'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\r', '\372', 'B', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', -'\310', '\001', '\000', 'R', '\n', 'h', 'e', 'a', 'd', 'e', 'r', 'N', 'a', 'm', 'e', '\022', 'S', '\n', '\r', 'r', 'e', 'g', 'e', 'x', '_', -'r', 'e', 'w', 'r', 'i', 't', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', -'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'A', 'n', -'d', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'e', 'R', '\014', 'r', 'e', 'g', 'e', 'x', 'R', 'e', 'w', 'r', 'i', 't', 'e', -':', '7', '\232', '\305', '\210', '\036', '2', '\n', '0', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', -'t', 'e', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', -'.', 'H', 'e', 'a', 'd', 'e', 'r', '\032', '\237', '\001', '\n', '\006', 'C', 'o', 'o', 'k', 'i', 'e', '\022', '\033', '\n', '\004', 'n', 'a', 'm', -'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '+', '\n', -'\003', 't', 't', 'l', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\003', 't', 't', 'l', '\022', '\022', '\n', '\004', 'p', 'a', 't', 'h', -'\030', '\003', ' ', '\001', '(', '\t', 'R', '\004', 'p', 'a', 't', 'h', ':', '7', '\232', '\305', '\210', '\036', '2', '\n', '0', 'e', 'n', 'v', 'o', -'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', -'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'C', 'o', 'o', 'k', 'i', 'e', '\032', 'z', '\n', '\024', 'C', 'o', -'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', '\033', '\n', '\t', 's', 'o', 'u', -'r', 'c', 'e', '_', 'i', 'p', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\010', 's', 'o', 'u', 'r', 'c', 'e', 'I', 'p', ':', 'E', '\232', -'\305', '\210', '\036', '@', '\n', '>', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', -'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'C', 'o', -'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\032', 'n', '\n', '\016', 'Q', 'u', 'e', -'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', -'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', ':', '?', '\232', '\305', '\210', '\036', ':', '\n', '8', 'e', -'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', -'t', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', -'m', 'e', 't', 'e', 'r', '\032', 'f', '\n', '\013', 'F', 'i', 'l', 't', 'e', 'r', 'S', 't', 'a', 't', 'e', '\022', '\031', '\n', '\003', 'k', -'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\003', 'k', 'e', 'y', ':', '<', '\232', -'\305', '\210', '\036', '7', '\n', '5', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', -'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'F', 'i', -'l', 't', 'e', 'r', 'S', 't', 'a', 't', 'e', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 'a', -'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', -'a', 's', 'h', 'P', 'o', 'l', 'i', 'c', 'y', 'B', '\027', '\n', '\020', 'p', 'o', 'l', 'i', 'c', 'y', '_', 's', 'p', 'e', 'c', 'i', -'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\032', '\243', '\003', '\n', '\r', 'U', 'p', 'g', 'r', 'a', 'd', 'e', 'C', 'o', 'n', 'f', -'i', 'g', '\022', '0', '\n', '\014', 'u', 'p', 'g', 'r', 'a', 'd', 'e', '_', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', -'\r', '\372', 'B', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\002', '\310', '\001', '\000', 'R', '\013', 'u', 'p', 'g', 'r', 'a', 'd', 'e', 'T', 'y', -'p', 'e', '\022', '4', '\n', '\007', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\007', 'e', -'n', 'a', 'b', 'l', 'e', 'd', '\022', 'e', '\n', '\016', 'c', 'o', 'n', 'n', 'e', 'c', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', -'\003', ' ', '\001', '(', '\013', '2', '>', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', -'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'U', 'p', 'g', 'r', 'a', 'd', 'e', 'C', -'o', 'n', 'f', 'i', 'g', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\r', 'c', 'o', 'n', 'n', -'e', 'c', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\215', '\001', '\n', '\r', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'C', 'o', 'n', 'f', -'i', 'g', '\022', ']', '\n', '\025', 'p', 'r', 'o', 'x', 'y', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'c', 'o', 'n', 'f', -'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', -'o', 'r', 'e', '.', 'v', '3', '.', 'P', 'r', 'o', 'x', 'y', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'C', 'o', 'n', 'f', 'i', -'g', 'R', '\023', 'p', 'r', 'o', 'x', 'y', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\035', '\n', -'\n', 'a', 'l', 'l', 'o', 'w', '_', 'p', 'o', 's', 't', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\t', 'a', 'l', 'l', 'o', 'w', 'P', -'o', 's', 't', ':', '3', '\232', '\305', '\210', '\036', '.', '\n', ',', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', -'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', '.', 'U', 'p', 'g', 'r', 'a', 'd', 'e', -'C', 'o', 'n', 'f', 'i', 'g', '\032', '\210', '\002', '\n', '\021', 'M', 'a', 'x', 'S', 't', 'r', 'e', 'a', 'm', 'D', 'u', 'r', 'a', 't', -'i', 'o', 'n', '\022', 'I', '\n', '\023', 'm', 'a', 'x', '_', 's', 't', 'r', 'e', 'a', 'm', '_', 'd', 'u', 'r', 'a', 't', 'i', 'o', -'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\021', 'm', 'a', 'x', 'S', 't', 'r', 'e', 'a', 'm', 'D', 'u', 'r', 'a', 't', -'i', 'o', 'n', '\022', 'P', '\n', '\027', 'g', 'r', 'p', 'c', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '_', 'h', 'e', 'a', 'd', 'e', -'r', '_', 'm', 'a', 'x', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', -'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\024', 'g', 'r', 'p', 'c', 'T', 'i', 'm', 'e', 'o', 'u', -'t', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 'x', '\022', 'V', '\n', '\032', 'g', 'r', 'p', 'c', '_', 't', 'i', 'm', 'e', 'o', 'u', -'t', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'o', 'f', 'f', 's', 'e', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', -'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\027', -'g', 'r', 'p', 'c', 'T', 'i', 'm', 'e', 'o', 'u', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'O', 'f', 'f', 's', 'e', 't', '\"', '`', -'\n', '\033', 'C', 'l', 'u', 's', 't', 'e', 'r', 'N', 'o', 't', 'F', 'o', 'u', 'n', 'd', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', -'C', 'o', 'd', 'e', '\022', '\027', '\n', '\023', 'S', 'E', 'R', 'V', 'I', 'C', 'E', '_', 'U', 'N', 'A', 'V', 'A', 'I', 'L', 'A', 'B', -'L', 'E', '\020', '\000', '\022', '\r', '\n', '\t', 'N', 'O', 'T', '_', 'F', 'O', 'U', 'N', 'D', '\020', '\001', '\022', '\031', '\n', '\025', 'I', 'N', -'T', 'E', 'R', 'N', 'A', 'L', '_', 'S', 'E', 'R', 'V', 'E', 'R', '_', 'E', 'R', 'R', 'O', 'R', '\020', '\002', '\"', '^', '\n', '\026', -'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'A', 'c', 't', 'i', 'o', 'n', '\022', '\"', '\n', -'\036', 'P', 'A', 'S', 'S', '_', 'T', 'H', 'R', 'O', 'U', 'G', 'H', '_', 'I', 'N', 'T', 'E', 'R', 'N', 'A', 'L', '_', 'R', 'E', -'D', 'I', 'R', 'E', 'C', 'T', '\020', '\000', '\022', '\034', '\n', '\030', 'H', 'A', 'N', 'D', 'L', 'E', '_', 'I', 'N', 'T', 'E', 'R', 'N', -'A', 'L', '_', 'R', 'E', 'D', 'I', 'R', 'E', 'C', 'T', '\020', '\001', '\032', '\002', '\030', '\001', ':', '%', '\232', '\305', '\210', '\036', ' ', '\n', -'\036', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'o', 'u', 't', 'e', -'A', 'c', 't', 'i', 'o', 'n', 'B', '\030', '\n', '\021', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', -'e', 'r', '\022', '\003', '\370', 'B', '\001', 'B', '\030', '\n', '\026', 'h', 'o', 's', 't', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '_', 's', -'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'J', '\004', '\010', '\014', '\020', '\r', 'J', '\004', '\010', '\022', '\020', '\023', 'J', '\004', '\010', '\023', '\020', -'\024', 'J', '\004', '\010', '\020', '\020', '\021', 'J', '\004', '\010', '\026', '\020', '\027', 'J', '\004', '\010', '\025', '\020', '\026', 'J', '\004', '\010', '\n', '\020', '\013', -'R', '\025', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'm', 'i', 'r', 'r', 'o', 'r', '_', 'p', 'o', 'l', 'i', 'c', 'y', '\"', '\277', -'\020', '\n', '\013', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '\031', '\n', '\010', 'r', 'e', 't', 'r', 'y', '_', 'o', -'n', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\007', 'r', 'e', 't', 'r', 'y', 'O', 'n', '\022', 'R', '\n', '\013', 'n', 'u', 'm', '_', 'r', -'e', 't', 'r', 'i', 'e', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\023', '\362', '\230', '\376', '\217', '\005', '\r', -'\n', '\013', 'm', 'a', 'x', '_', 'r', 'e', 't', 'r', 'i', 'e', 's', 'R', '\n', 'n', 'u', 'm', 'R', 'e', 't', 'r', 'i', 'e', 's', -'\022', 'A', '\n', '\017', 'p', 'e', 'r', '_', 't', 'r', 'y', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\003', ' ', '\001', '(', '\013', -'2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', -'o', 'n', 'R', '\r', 'p', 'e', 'r', 'T', 'r', 'y', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'J', '\n', '\024', 'p', 'e', 'r', '_', -'t', 'r', 'y', '_', 'i', 'd', 'l', 'e', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\r', ' ', '\001', '(', '\013', '2', '\031', '.', -'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', -'\021', 'p', 'e', 'r', 'T', 'r', 'y', 'I', 'd', 'l', 'e', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'W', '\n', '\016', 'r', 'e', 't', -'r', 'y', '_', 'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', '\030', '\004', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', -'i', 'c', 'y', '.', 'R', 'e', 't', 'r', 'y', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 'R', '\r', 'r', 'e', 't', 'r', 'y', 'P', -'r', 'i', 'o', 'r', 'i', 't', 'y', '\022', 'g', '\n', '\024', 'r', 'e', 't', 'r', 'y', '_', 'h', 'o', 's', 't', '_', 'p', 'r', 'e', -'d', 'i', 'c', 'a', 't', 'e', '\030', '\005', ' ', '\003', '(', '\013', '2', '5', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'R', -'e', 't', 'r', 'y', 'H', 'o', 's', 't', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'R', '\022', 'r', 'e', 't', 'r', 'y', 'H', -'o', 's', 't', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'd', '\n', '\030', 'r', 'e', 't', 'r', 'y', '_', 'o', 'p', 't', -'i', 'o', 'n', 's', '_', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 's', '\030', '\014', ' ', '\003', '(', '\013', '2', '*', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', -'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\026', 'r', 'e', 't', 'r', 'y', 'O', 'p', 't', -'i', 'o', 'n', 's', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 's', '\022', 'H', '\n', '!', 'h', 'o', 's', 't', '_', 's', 'e', -'l', 'e', 'c', 't', 'i', 'o', 'n', '_', 'r', 'e', 't', 'r', 'y', '_', 'm', 'a', 'x', '_', 'a', 't', 't', 'e', 'm', 'p', 't', -'s', '\030', '\006', ' ', '\001', '(', '\003', 'R', '\035', 'h', 'o', 's', 't', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'R', 'e', 't', -'r', 'y', 'M', 'a', 'x', 'A', 't', 't', 'e', 'm', 'p', 't', 's', '\022', '4', '\n', '\026', 'r', 'e', 't', 'r', 'i', 'a', 'b', 'l', -'e', '_', 's', 't', 'a', 't', 'u', 's', '_', 'c', 'o', 'd', 'e', 's', '\030', '\007', ' ', '\003', '(', '\r', 'R', '\024', 'r', 'e', 't', -'r', 'i', 'a', 'b', 'l', 'e', 'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'd', 'e', 's', '\022', 'U', '\n', '\016', 'r', 'e', 't', 'r', -'y', '_', 'b', 'a', 'c', 'k', '_', 'o', 'f', 'f', '\030', '\010', ' ', '\001', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', -'c', 'y', '.', 'R', 'e', 't', 'r', 'y', 'B', 'a', 'c', 'k', 'O', 'f', 'f', 'R', '\014', 'r', 'e', 't', 'r', 'y', 'B', 'a', 'c', -'k', 'O', 'f', 'f', '\022', 'x', '\n', '\033', 'r', 'a', 't', 'e', '_', 'l', 'i', 'm', 'i', 't', 'e', 'd', '_', 'r', 'e', 't', 'r', -'y', '_', 'b', 'a', 'c', 'k', '_', 'o', 'f', 'f', '\030', '\013', ' ', '\001', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', -'c', 'y', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 'e', 'd', 'R', 'e', 't', 'r', 'y', 'B', 'a', 'c', 'k', 'O', 'f', -'f', 'R', '\027', 'r', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 'e', 'd', 'R', 'e', 't', 'r', 'y', 'B', 'a', 'c', 'k', 'O', 'f', -'f', '\022', 'Q', '\n', '\021', 'r', 'e', 't', 'r', 'i', 'a', 'b', 'l', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\t', ' ', -'\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', -'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\020', 'r', 'e', 't', 'r', 'i', 'a', 'b', -'l', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', '`', '\n', '\031', 'r', 'e', 't', 'r', 'i', 'a', 'b', 'l', 'e', '_', 'r', 'e', -'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\n', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', -'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\027', 'r', 'e', 't', 'r', 'i', 'a', 'b', 'l', 'e', 'R', 'e', 'q', 'u', 'e', 's', 't', -'H', 'e', 'a', 'd', 'e', 'r', 's', '\032', '\271', '\001', '\n', '\r', 'R', 'e', 't', 'r', 'y', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', -'\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', -'n', 'a', 'm', 'e', '\022', '9', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', -'\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'H', '\000', -'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', ':', '3', '\232', '\305', '\210', '\036', '.', '\n', ',', 'e', 'n', 'v', -'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', -'c', 'y', '.', 'R', 'e', 't', 'r', 'y', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 'B', '\r', '\n', '\013', 'c', 'o', 'n', 'f', 'i', -'g', '_', 't', 'y', 'p', 'e', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\032', '\303', '\001', '\n', '\022', -'R', 'e', 't', 'r', 'y', 'H', 'o', 's', 't', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', '\033', '\n', '\004', 'n', 'a', 'm', -'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '9', '\n', -'\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'H', '\000', 'R', '\013', 't', 'y', 'p', 'e', 'd', -'C', 'o', 'n', 'f', 'i', 'g', ':', '8', '\232', '\305', '\210', '\036', '3', '\n', '1', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', -'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'R', 'e', 't', 'r', -'y', 'H', 'o', 's', 't', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\r', '\n', '\013', 'c', 'o', 'n', 'f', 'i', 'g', '_', -'t', 'y', 'p', 'e', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\032', '\326', '\001', '\n', '\014', 'R', 'e', -'t', 'r', 'y', 'B', 'a', 'c', 'k', 'O', 'f', 'f', '\022', 'J', '\n', '\r', 'b', 'a', 's', 'e', '_', 'i', 'n', 't', 'e', 'r', 'v', -'a', 'l', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', -'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\n', '\372', 'B', '\007', '\252', '\001', '\004', '\010', '\001', '*', '\000', 'R', '\014', 'b', -'a', 's', 'e', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\022', 'F', '\n', '\014', 'm', 'a', 'x', '_', 'i', 'n', 't', 'e', 'r', 'v', -'a', 'l', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', -'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\252', '\001', '\002', '*', '\000', 'R', '\013', 'm', 'a', 'x', -'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', ':', '2', '\232', '\305', '\210', '\036', '-', '\n', '+', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', -'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'R', 'e', -'t', 'r', 'y', 'B', 'a', 'c', 'k', 'O', 'f', 'f', '\032', '\210', '\001', '\n', '\013', 'R', 'e', 's', 'e', 't', 'H', 'e', 'a', 'd', 'e', -'r', '\022', '!', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\r', '\372', 'B', '\n', 'r', '\010', '\020', '\001', '\300', -'\001', '\001', '\310', '\001', '\000', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'V', '\n', '\006', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\002', ' ', '\001', -'(', '\016', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', -'3', '.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'R', 'e', 's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', -'F', 'o', 'r', 'm', 'a', 't', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\006', 'f', 'o', 'r', 'm', 'a', 't', '\032', -'\300', '\001', '\n', '\027', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 'e', 'd', 'R', 'e', 't', 'r', 'y', 'B', 'a', 'c', 'k', 'O', -'f', 'f', '\022', ']', '\n', '\r', 'r', 'e', 's', 'e', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', -'2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', -'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '.', 'R', 'e', 's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'B', '\010', -'\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\014', 'r', 'e', 's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', 'F', '\n', -'\014', 'm', 'a', 'x', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', -'\005', '\252', '\001', '\002', '*', '\000', 'R', '\013', 'm', 'a', 'x', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\"', '4', '\n', '\021', 'R', 'e', -'s', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'o', 'r', 'm', 'a', 't', '\022', '\013', '\n', '\007', 'S', 'E', 'C', 'O', 'N', 'D', -'S', '\020', '\000', '\022', '\022', '\n', '\016', 'U', 'N', 'I', 'X', '_', 'T', 'I', 'M', 'E', 'S', 'T', 'A', 'M', 'P', '\020', '\001', ':', '%', -'\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', -'.', 'R', 'e', 't', 'r', 'y', 'P', 'o', 'l', 'i', 'c', 'y', '\"', '\234', '\002', '\n', '\013', 'H', 'e', 'd', 'g', 'e', 'P', 'o', 'l', -'i', 'c', 'y', '\022', 'P', '\n', '\020', 'i', 'n', 'i', 't', 'i', 'a', 'l', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', 's', '\030', '\001', -' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', -'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '(', '\001', 'R', '\017', 'i', 'n', 'i', 't', 'i', -'a', 'l', 'R', 'e', 'q', 'u', 'e', 's', 't', 's', '\022', '\\', '\n', '\031', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', '_', -'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'c', 'h', 'a', 'n', 'c', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', -'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', -'c', 'e', 'n', 't', 'R', '\027', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'R', 'e', 'q', 'u', 'e', 's', 't', 'C', 'h', -'a', 'n', 'c', 'e', '\022', '6', '\n', '\030', 'h', 'e', 'd', 'g', 'e', '_', 'o', 'n', '_', 'p', 'e', 'r', '_', 't', 'r', 'y', '_', -'t', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\024', 'h', 'e', 'd', 'g', 'e', 'O', 'n', 'P', 'e', 'r', -'T', 'r', 'y', 'T', 'i', 'm', 'e', 'o', 'u', 't', ':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', 'y', '.', -'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'H', 'e', 'd', 'g', 'e', 'P', 'o', 'l', 'i', 'c', 'y', '\"', -'\341', '\005', '\n', '\016', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'A', 'c', 't', 'i', 'o', 'n', '\022', '\'', '\n', '\016', 'h', 't', 't', -'p', 's', '_', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\030', '\004', ' ', '\001', '(', '\010', 'H', '\000', 'R', '\r', 'h', 't', 't', 'p', -'s', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\022', ')', '\n', '\017', 's', 'c', 'h', 'e', 'm', 'e', '_', 'r', 'e', 'd', 'i', 'r', -'e', 'c', 't', '\030', '\007', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\016', 's', 'c', 'h', 'e', 'm', 'e', 'R', 'e', 'd', 'i', 'r', 'e', -'c', 't', '\022', '0', '\n', '\r', 'h', 'o', 's', 't', '_', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\030', '\001', ' ', '\001', '(', '\t', -'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\002', '\310', '\001', '\000', 'R', '\014', 'h', 'o', 's', 't', 'R', 'e', 'd', 'i', 'r', 'e', -'c', 't', '\022', '#', '\n', '\r', 'p', 'o', 'r', 't', '_', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\030', '\010', ' ', '\001', '(', '\r', -'R', '\014', 'p', 'o', 'r', 't', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\022', '2', '\n', '\r', 'p', 'a', 't', 'h', '_', 'r', 'e', -'d', 'i', 'r', 'e', 'c', 't', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\002', '\310', '\001', '\000', -'H', '\001', 'R', '\014', 'p', 'a', 't', 'h', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\022', '4', '\n', '\016', 'p', 'r', 'e', 'f', 'i', -'x', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '\030', '\005', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\002', -'\310', '\001', '\000', 'H', '\001', 'R', '\r', 'p', 'r', 'e', 'f', 'i', 'x', 'R', 'e', 'w', 'r', 'i', 't', 'e', '\022', 'U', '\n', '\r', 'r', -'e', 'g', 'e', 'x', '_', 'r', 'e', 'w', 'r', 'i', 't', 'e', '\030', '\t', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', -'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', -'t', 'c', 'h', 'A', 'n', 'd', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'e', 'H', '\001', 'R', '\014', 'r', 'e', 'g', 'e', 'x', -'R', 'e', 'w', 'r', 'i', 't', 'e', '\022', 'i', '\n', '\r', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'c', 'o', 'd', 'e', '\030', -'\003', ' ', '\001', '(', '\016', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', -'e', '.', 'v', '3', '.', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'A', 'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'd', 'i', 'r', -'e', 'c', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'C', 'o', 'd', 'e', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', -'R', '\014', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'C', 'o', 'd', 'e', '\022', '\037', '\n', '\013', 's', 't', 'r', 'i', 'p', '_', 'q', -'u', 'e', 'r', 'y', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\n', 's', 't', 'r', 'i', 'p', 'Q', 'u', 'e', 'r', 'y', '\"', 'w', '\n', -'\024', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'C', 'o', 'd', 'e', '\022', '\025', '\n', '\021', -'M', 'O', 'V', 'E', 'D', '_', 'P', 'E', 'R', 'M', 'A', 'N', 'E', 'N', 'T', 'L', 'Y', '\020', '\000', '\022', '\t', '\n', '\005', 'F', 'O', -'U', 'N', 'D', '\020', '\001', '\022', '\r', '\n', '\t', 'S', 'E', 'E', '_', 'O', 'T', 'H', 'E', 'R', '\020', '\002', '\022', '\026', '\n', '\022', 'T', -'E', 'M', 'P', 'O', 'R', 'A', 'R', 'Y', '_', 'R', 'E', 'D', 'I', 'R', 'E', 'C', 'T', '\020', '\003', '\022', '\026', '\n', '\022', 'P', 'E', -'R', 'M', 'A', 'N', 'E', 'N', 'T', '_', 'R', 'E', 'D', 'I', 'R', 'E', 'C', 'T', '\020', '\004', ':', '(', '\232', '\305', '\210', '\036', '#', -'\n', '!', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'e', 'd', 'i', -'r', 'e', 'c', 't', 'A', 'c', 't', 'i', 'o', 'n', 'B', '\032', '\n', '\030', 's', 'c', 'h', 'e', 'm', 'e', '_', 'r', 'e', 'w', 'r', -'i', 't', 'e', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'B', '\030', '\n', '\026', 'p', 'a', 't', 'h', '_', 'r', 'e', 'w', -'r', 'i', 't', 'e', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\"', '\241', '\001', '\n', '\024', 'D', 'i', 'r', 'e', 'c', 't', -'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'A', 'c', 't', 'i', 'o', 'n', '\022', '#', '\n', '\006', 's', 't', 'a', 't', 'u', 's', '\030', -'\001', ' ', '\001', '(', '\r', 'B', '\013', '\372', 'B', '\010', '*', '\006', '\020', '\330', '\004', '(', '\310', '\001', 'R', '\006', 's', 't', 'a', 't', 'u', -'s', '\022', '4', '\n', '\004', 'b', 'o', 'd', 'y', '\030', '\002', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'R', -'\004', 'b', 'o', 'd', 'y', ':', '.', '\232', '\305', '\210', '\036', ')', '\n', '\'', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', -'2', '.', 'r', 'o', 'u', 't', 'e', '.', 'D', 'i', 'r', 'e', 'c', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'A', 'c', 't', -'i', 'o', 'n', '\"', '\025', '\n', '\023', 'N', 'o', 'n', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 'i', 'n', 'g', 'A', 'c', 't', 'i', 'o', -'n', '\"', '\221', '\001', '\n', '\t', 'D', 'e', 'c', 'o', 'r', 'a', 't', 'o', 'r', '\022', '%', '\n', '\t', 'o', 'p', 'e', 'r', 'a', 't', -'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\t', 'o', 'p', 'e', 'r', 'a', -'t', 'i', 'o', 'n', '\022', '8', '\n', '\t', 'p', 'r', 'o', 'p', 'a', 'g', 'a', 't', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', -'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', -'e', 'R', '\t', 'p', 'r', 'o', 'p', 'a', 'g', 'a', 't', 'e', ':', '#', '\232', '\305', '\210', '\036', '\036', '\n', '\034', 'e', 'n', 'v', 'o', -'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'D', 'e', 'c', 'o', 'r', 'a', 't', 'o', 'r', '\"', -'\322', '\002', '\n', '\007', 'T', 'r', 'a', 'c', 'i', 'n', 'g', '\022', 'I', '\n', '\017', 'c', 'l', 'i', 'e', 'n', 't', '_', 's', 'a', 'm', -'p', 'l', 'i', 'n', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', -'v', '3', '.', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\016', 'c', 'l', 'i', -'e', 'n', 't', 'S', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\022', 'I', '\n', '\017', 'r', 'a', 'n', 'd', 'o', 'm', '_', 's', 'a', 'm', -'p', 'l', 'i', 'n', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', -'v', '3', '.', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\016', 'r', 'a', 'n', -'d', 'o', 'm', 'S', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\022', 'K', '\n', '\020', 'o', 'v', 'e', 'r', 'a', 'l', 'l', '_', 's', 'a', -'m', 'p', 'l', 'i', 'n', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', -'.', 'v', '3', '.', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\017', 'o', 'v', -'e', 'r', 'a', 'l', 'l', 'S', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\022', 'A', '\n', '\013', 'c', 'u', 's', 't', 'o', 'm', '_', 't', -'a', 'g', 's', '\030', '\004', ' ', '\003', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 't', 'r', -'a', 'c', 'i', 'n', 'g', '.', 'v', '3', '.', 'C', 'u', 's', 't', 'o', 'm', 'T', 'a', 'g', 'R', '\n', 'c', 'u', 's', 't', 'o', -'m', 'T', 'a', 'g', 's', ':', '!', '\232', '\305', '\210', '\036', '\034', '\n', '\032', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', -'2', '.', 'r', 'o', 'u', 't', 'e', '.', 'T', 'r', 'a', 'c', 'i', 'n', 'g', '\"', '\264', '\001', '\n', '\016', 'V', 'i', 'r', 't', 'u', -'a', 'l', 'C', 'l', 'u', 's', 't', 'e', 'r', '\022', '>', '\n', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\004', ' ', '\003', '(', -'\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', -'.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\022', '\033', -'\n', '\004', 'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', -'m', 'e', ':', '(', '\232', '\305', '\210', '\036', '#', '\n', '!', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', -'o', 'u', 't', 'e', '.', 'V', 'i', 'r', 't', 'u', 'a', 'l', 'C', 'l', 'u', 's', 't', 'e', 'r', 'J', '\004', '\010', '\001', '\020', '\002', -'J', '\004', '\010', '\003', '\020', '\004', 'R', '\007', 'p', 'a', 't', 't', 'e', 'r', 'n', 'R', '\006', 'm', 'e', 't', 'h', 'o', 'd', '\"', '\311', -'\034', '\n', '\t', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '\022', ';', '\n', '\005', 's', 't', 'a', 'g', 'e', '\030', '\001', ' ', '\001', -'(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', -'3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '\030', '\n', 'R', '\005', 's', 't', 'a', 'g', 'e', '\022', '\037', -'\n', '\013', 'd', 'i', 's', 'a', 'b', 'l', 'e', '_', 'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\n', 'd', 'i', 's', 'a', -'b', 'l', 'e', 'K', 'e', 'y', '\022', 'K', '\n', '\007', 'a', 'c', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '\'', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', -'t', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', -'\007', 'a', 'c', 't', 'i', 'o', 'n', 's', '\022', '?', '\n', '\005', 'l', 'i', 'm', 'i', 't', '\030', '\004', ' ', '\001', '(', '\013', '2', ')', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', -'t', 'e', 'L', 'i', 'm', 'i', 't', '.', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'R', '\005', 'l', 'i', 'm', 'i', 't', '\032', '\265', -'\030', '\n', '\006', 'A', 'c', 't', 'i', 'o', 'n', '\022', '^', '\n', '\016', 's', 'o', 'u', 'r', 'c', 'e', '_', 'c', 'l', 'u', 's', 't', -'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '5', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', -'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', -'S', 'o', 'u', 'r', 'c', 'e', 'C', 'l', 'u', 's', 't', 'e', 'r', 'H', '\000', 'R', '\r', 's', 'o', 'u', 'r', 'c', 'e', 'C', 'l', -'u', 's', 't', 'e', 'r', '\022', 'm', '\n', '\023', 'd', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', '_', 'c', 'l', 'u', 's', -'t', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', -'.', 'D', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'C', 'l', 'u', 's', 't', 'e', 'r', 'H', '\000', 'R', '\022', 'd', 'e', -'s', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'C', 'l', 'u', 's', 't', 'e', 'r', '\022', 'a', '\n', '\017', 'r', 'e', 'q', 'u', 'e', -'s', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '6', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', -'.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'H', '\000', 'R', -'\016', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', '^', '\n', '\016', 'r', 'e', 'm', 'o', 't', 'e', -'_', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\004', ' ', '\001', '(', '\013', '2', '5', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', -'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', 'H', '\000', 'R', '\r', 'r', 'e', -'m', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'U', '\n', '\013', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 'k', 'e', -'y', '\030', '\005', ' ', '\001', '(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', -'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'G', -'e', 'n', 'e', 'r', 'i', 'c', 'K', 'e', 'y', 'H', '\000', 'R', '\n', 'g', 'e', 'n', 'e', 'r', 'i', 'c', 'K', 'e', 'y', '\022', 'h', -'\n', '\022', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'v', 'a', 'l', 'u', 'e', '_', 'm', 'a', 't', 'c', 'h', '\030', '\006', ' ', '\001', '(', -'\013', '2', '8', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', -'.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', -'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\020', 'h', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'M', -'a', 't', 'c', 'h', '\022', 'w', '\n', '\020', 'd', 'y', 'n', 'a', 'm', 'i', 'c', '_', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', -'\007', ' ', '\001', '(', '\013', '2', '7', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', -'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'D', 'y', 'n', -'a', 'm', 'i', 'c', 'M', 'e', 't', 'a', 'D', 'a', 't', 'a', 'B', '\021', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', -'\270', '\356', '\362', '\322', '\005', '\001', 'H', '\000', 'R', '\017', 'd', 'y', 'n', 'a', 'm', 'i', 'c', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', -'\022', 'N', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\010', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', -'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'M', 'e', 't', 'a', 'D', 'a', 't', 'a', 'H', '\000', 'R', '\010', 'm', 'e', 't', -'a', 'd', 'a', 't', 'a', '\022', 'J', '\n', '\t', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '\t', ' ', '\001', '(', '\013', '2', -'*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', -'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\t', 'e', 'x', 't', -'e', 'n', 's', 'i', 'o', 'n', '\022', 'q', '\n', '\025', 'm', 'a', 's', 'k', 'e', 'd', '_', 'r', 'e', 'm', 'o', 't', 'e', '_', 'a', -'d', 'd', 'r', 'e', 's', 's', '\030', '\n', ' ', '\001', '(', '\013', '2', ';', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', -'i', 'o', 'n', '.', 'M', 'a', 's', 'k', 'e', 'd', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', 'H', '\000', -'R', '\023', 'm', 'a', 's', 'k', 'e', 'd', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', '\201', '\001', '\n', -'\033', 'q', 'u', 'e', 'r', 'y', '_', 'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', '_', 'v', 'a', 'l', 'u', 'e', '_', 'm', 'a', -'t', 'c', 'h', '\030', '\013', ' ', '\001', '(', '\013', '2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', -'.', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', -'H', '\000', 'R', '\030', 'q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'M', 'a', -'t', 'c', 'h', '\032', 'I', '\n', '\r', 'S', 'o', 'u', 'r', 'c', 'e', 'C', 'l', 'u', 's', 't', 'e', 'r', ':', '8', '\232', '\305', '\210', -'\036', '3', '\n', '1', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'a', -'t', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'S', 'o', 'u', 'r', 'c', 'e', 'C', 'l', 'u', 's', -'t', 'e', 'r', '\032', 'S', '\n', '\022', 'D', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'C', 'l', 'u', 's', 't', 'e', 'r', -':', '=', '\232', '\305', '\210', '\036', '8', '\n', '6', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', -'t', 'e', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'D', 'e', 's', 't', 'i', -'n', 'a', 't', 'i', 'o', 'n', 'C', 'l', 'u', 's', 't', 'e', 'r', '\032', '\321', '\001', '\n', '\016', 'R', 'e', 'q', 'u', 'e', 's', 't', -'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', '.', '\n', '\013', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', -'\001', '(', '\t', 'B', '\r', '\372', 'B', '\n', 'r', '\010', '\020', '\001', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\n', 'h', 'e', 'a', 'd', 'e', -'r', 'N', 'a', 'm', 'e', '\022', '.', '\n', '\016', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '_', 'k', 'e', 'y', '\030', '\002', -' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\r', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', -'K', 'e', 'y', '\022', '$', '\n', '\016', 's', 'k', 'i', 'p', '_', 'i', 'f', '_', 'a', 'b', 's', 'e', 'n', 't', '\030', '\003', ' ', '\001', -'(', '\010', 'R', '\014', 's', 'k', 'i', 'p', 'I', 'f', 'A', 'b', 's', 'e', 'n', 't', ':', '9', '\232', '\305', '\210', '\036', '4', '\n', '2', -'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'a', 't', 'e', 'L', 'i', -'m', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', -'\032', 'I', '\n', '\r', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', ':', '8', '\232', '\305', '\210', '\036', '3', '\n', -'1', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'a', 't', 'e', 'L', -'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', -'\032', '\276', '\001', '\n', '\023', 'M', 'a', 's', 'k', 'e', 'd', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', -'R', '\n', '\022', 'v', '4', '_', 'p', 'r', 'e', 'f', 'i', 'x', '_', 'm', 'a', 's', 'k', '_', 'l', 'e', 'n', '\030', '\001', ' ', '\001', -'(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', -'3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '\030', ' ', 'R', '\017', 'v', '4', 'P', 'r', 'e', 'f', 'i', -'x', 'M', 'a', 's', 'k', 'L', 'e', 'n', '\022', 'S', '\n', '\022', 'v', '6', '_', 'p', 'r', 'e', 'f', 'i', 'x', '_', 'm', 'a', 's', -'k', '_', 'l', 'e', 'n', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', -'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\010', '\372', 'B', '\005', '*', '\003', '\030', '\200', -'\001', 'R', '\017', 'v', '6', 'P', 'r', 'e', 'f', 'i', 'x', 'M', 'a', 's', 'k', 'L', 'e', 'n', '\032', '\236', '\001', '\n', '\n', 'G', 'e', -'n', 'e', 'r', 'i', 'c', 'K', 'e', 'y', '\022', '2', '\n', '\020', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '_', 'v', 'a', -'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\017', 'd', 'e', 's', 'c', 'r', -'i', 'p', 't', 'o', 'r', 'V', 'a', 'l', 'u', 'e', '\022', '%', '\n', '\016', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '_', -'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\r', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'K', 'e', 'y', ':', -'5', '\232', '\305', '\210', '\036', '0', '\n', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', -'e', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'G', 'e', 'n', 'e', 'r', 'i', -'c', 'K', 'e', 'y', '\032', '\263', '\002', '\n', '\020', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', -'\022', '%', '\n', '\016', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '_', 'k', 'e', 'y', '\030', '\004', ' ', '\001', '(', '\t', 'R', -'\r', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'K', 'e', 'y', '\022', '2', '\n', '\020', 'd', 'e', 's', 'c', 'r', 'i', 'p', -'t', 'o', 'r', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', -'\017', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'V', 'a', 'l', 'u', 'e', '\022', '=', '\n', '\014', 'e', 'x', 'p', 'e', 'c', -'t', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', -'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\013', 'e', 'x', 'p', 'e', 'c', 't', 'M', -'a', 't', 'c', 'h', '\022', 'H', '\n', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '$', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', -'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\007', 'h', 'e', 'a', 'd', -'e', 'r', 's', ':', ';', '\232', '\305', '\210', '\036', '6', '\n', '4', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', -'r', 'o', 'u', 't', 'e', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'H', 'e', -'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', '\032', '\270', '\001', '\n', '\017', 'D', 'y', 'n', 'a', 'm', 'i', -'c', 'M', 'e', 't', 'a', 'D', 'a', 't', 'a', '\022', '.', '\n', '\016', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '_', 'k', -'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\r', 'd', 'e', 's', 'c', 'r', 'i', -'p', 't', 'o', 'r', 'K', 'e', 'y', '\022', 'P', '\n', '\014', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '_', 'k', 'e', 'y', '\030', '\002', -' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', -'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', -'\001', 'R', '\013', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', '\022', '#', '\n', '\r', 'd', 'e', 'f', 'a', 'u', 'l', 't', -'_', 'v', 'a', 'l', 'u', 'e', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', -'e', '\032', '\332', '\002', '\n', '\010', 'M', 'e', 't', 'a', 'D', 'a', 't', 'a', '\022', '.', '\n', '\016', 'd', 'e', 's', 'c', 'r', 'i', 'p', -'t', 'o', 'r', '_', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\r', 'd', -'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'K', 'e', 'y', '\022', 'P', '\n', '\014', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '_', -'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', -'t', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', 'B', '\010', '\372', 'B', -'\005', '\212', '\001', '\002', '\020', '\001', 'R', '\013', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', '\022', '#', '\n', '\r', 'd', 'e', -'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', -'t', 'V', 'a', 'l', 'u', 'e', '\022', 'Y', '\n', '\006', 's', 'o', 'u', 'r', 'c', 'e', '\030', '\004', ' ', '\001', '(', '\016', '2', '7', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', -'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', 'n', '.', 'M', 'e', 't', 'a', 'D', 'a', 't', 'a', '.', 'S', 'o', -'u', 'r', 'c', 'e', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\006', 's', 'o', 'u', 'r', 'c', 'e', '\022', '$', '\n', -'\016', 's', 'k', 'i', 'p', '_', 'i', 'f', '_', 'a', 'b', 's', 'e', 'n', 't', '\030', '\005', ' ', '\001', '(', '\010', 'R', '\014', 's', 'k', -'i', 'p', 'I', 'f', 'A', 'b', 's', 'e', 'n', 't', '\"', '&', '\n', '\006', 'S', 'o', 'u', 'r', 'c', 'e', '\022', '\013', '\n', '\007', 'D', -'Y', 'N', 'A', 'M', 'I', 'C', '\020', '\000', '\022', '\017', '\n', '\013', 'R', 'O', 'U', 'T', 'E', '_', 'E', 'N', 'T', 'R', 'Y', '\020', '\001', -'\032', '\227', '\002', '\n', '\030', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'M', -'a', 't', 'c', 'h', '\022', '%', '\n', '\016', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '_', 'k', 'e', 'y', '\030', '\004', ' ', -'\001', '(', '\t', 'R', '\r', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'K', 'e', 'y', '\022', '2', '\n', '\020', 'd', 'e', 's', -'c', 'r', 'i', 'p', 't', 'o', 'r', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', -'\002', '\020', '\001', 'R', '\017', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'V', 'a', 'l', 'u', 'e', '\022', '=', '\n', '\014', 'e', -'x', 'p', 'e', 'c', 't', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\013', 'e', 'x', 'p', -'e', 'c', 't', 'M', 'a', 't', 'c', 'h', '\022', 'a', '\n', '\020', 'q', 'u', 'e', 'r', 'y', '_', 'p', 'a', 'r', 'a', 'm', 'e', 't', -'e', 'r', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'M', 'a', -'t', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\017', 'q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', -'a', 'm', 'e', 't', 'e', 'r', 's', ':', '*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', -'.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'A', 'c', 't', 'i', 'o', -'n', 'B', '\027', '\n', '\020', 'a', 'c', 't', 'i', 'o', 'n', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', -'\001', '\032', '\362', '\001', '\n', '\010', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '\022', 'f', '\n', '\020', 'd', 'y', 'n', 'a', 'm', 'i', 'c', -'_', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\001', ' ', '\001', '(', '\013', '2', '9', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', -'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '.', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'H', -'\000', 'R', '\017', 'd', 'y', 'n', 'a', 'm', 'i', 'c', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', '\032', 'c', '\n', '\017', 'D', 'y', 'n', -'a', 'm', 'i', 'c', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'P', '\n', '\014', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '_', -'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', -'t', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', 'B', '\010', '\372', 'B', -'\005', '\212', '\001', '\002', '\020', '\001', 'R', '\013', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', 'B', '\031', '\n', '\022', 'o', 'v', -'e', 'r', 'r', 'i', 'd', 'e', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', ':', '#', '\232', '\305', -'\210', '\036', '\036', '\n', '\034', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'R', -'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '\"', '\346', '\005', '\n', '\r', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', -'r', '\022', '!', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\r', '\372', 'B', '\n', 'r', '\010', '\020', '\001', '\300', -'\001', '\001', '\310', '\001', '\000', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '.', '\n', '\013', 'e', 'x', 'a', 'c', 't', '_', 'm', 'a', 't', 'c', -'h', '\030', '\004', ' ', '\001', '(', '\t', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', '\n', 'e', -'x', 'a', 'c', 't', 'M', 'a', 't', 'c', 'h', '\022', '\\', '\n', '\020', 's', 'a', 'f', 'e', '_', 'r', 'e', 'g', 'e', 'x', '_', 'm', -'a', 't', 'c', 'h', '\030', '\013', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', -'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\013', '\030', -'\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', '\016', 's', 'a', 'f', 'e', 'R', 'e', 'g', 'e', 'x', 'M', 'a', -'t', 'c', 'h', '\022', '<', '\n', '\013', 'r', 'a', 'n', 'g', 'e', '_', 'm', 'a', 't', 'c', 'h', '\030', '\006', ' ', '\001', '(', '\013', '2', -'\031', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'I', 'n', 't', '6', '4', 'R', 'a', 'n', 'g', -'e', 'H', '\000', 'R', '\n', 'r', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', '\022', '%', '\n', '\r', 'p', 'r', 'e', 's', 'e', 'n', -'t', '_', 'm', 'a', 't', 'c', 'h', '\030', '\007', ' ', '\001', '(', '\010', 'H', '\000', 'R', '\014', 'p', 'r', 'e', 's', 'e', 'n', 't', 'M', -'a', 't', 'c', 'h', '\022', '7', '\n', '\014', 'p', 'r', 'e', 'f', 'i', 'x', '_', 'm', 'a', 't', 'c', 'h', '\030', '\t', ' ', '\001', '(', -'\t', 'B', '\022', '\030', '\001', '\372', 'B', '\004', 'r', '\002', '\020', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', '\013', -'p', 'r', 'e', 'f', 'i', 'x', 'M', 'a', 't', 'c', 'h', '\022', '7', '\n', '\014', 's', 'u', 'f', 'f', 'i', 'x', '_', 'm', 'a', 't', -'c', 'h', '\030', '\n', ' ', '\001', '(', '\t', 'B', '\022', '\030', '\001', '\372', 'B', '\004', 'r', '\002', '\020', '\001', '\222', '\307', '\206', '\330', '\004', '\003', -'3', '.', '0', 'H', '\000', 'R', '\013', 's', 'u', 'f', 'f', 'i', 'x', 'M', 'a', 't', 'c', 'h', '\022', ';', '\n', '\016', 'c', 'o', 'n', -'t', 'a', 'i', 'n', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\014', ' ', '\001', '(', '\t', 'B', '\022', '\030', '\001', '\372', 'B', '\004', 'r', -'\002', '\020', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', '\r', 'c', 'o', 'n', 't', 'a', 'i', 'n', 's', 'M', -'a', 't', 'c', 'h', '\022', 'I', '\n', '\014', 's', 't', 'r', 'i', 'n', 'g', '_', 'm', 'a', 't', 'c', 'h', '\030', '\r', ' ', '\001', '(', -'\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', -'.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\013', 's', 't', 'r', 'i', 'n', 'g', 'M', -'a', 't', 'c', 'h', '\022', '!', '\n', '\014', 'i', 'n', 'v', 'e', 'r', 't', '_', 'm', 'a', 't', 'c', 'h', '\030', '\010', ' ', '\001', '(', -'\010', 'R', '\013', 'i', 'n', 'v', 'e', 'r', 't', 'M', 'a', 't', 'c', 'h', '\022', '@', '\n', '\035', 't', 'r', 'e', 'a', 't', '_', 'm', -'i', 's', 's', 'i', 'n', 'g', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'a', 's', '_', 'e', 'm', 'p', 't', 'y', '\030', '\016', ' ', -'\001', '(', '\010', 'R', '\031', 't', 'r', 'e', 'a', 't', 'M', 'i', 's', 's', 'i', 'n', 'g', 'H', 'e', 'a', 'd', 'e', 'r', 'A', 's', -'E', 'm', 'p', 't', 'y', ':', '\'', '\232', '\305', '\210', '\036', '\"', '\n', ' ', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', -'2', '.', 'r', 'o', 'u', 't', 'e', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\030', '\n', '\026', -'h', 'e', 'a', 'd', 'e', 'r', '_', 'm', 'a', 't', 'c', 'h', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'J', '\004', '\010', -'\002', '\020', '\003', 'J', '\004', '\010', '\003', '\020', '\004', 'J', '\004', '\010', '\005', '\020', '\006', 'R', '\013', 'r', 'e', 'g', 'e', 'x', '_', 'm', 'a', -'t', 'c', 'h', '\"', '\241', '\002', '\n', '\025', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'M', 'a', 't', -'c', 'h', 'e', 'r', '\022', '\036', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\n', '\372', 'B', '\007', 'r', '\005', -'\020', '\001', '(', '\200', '\010', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'S', '\n', '\014', 's', 't', 'r', 'i', 'n', 'g', '_', 'm', 'a', 't', -'c', 'h', '\030', '\005', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', -'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', -'\005', '\212', '\001', '\002', '\020', '\001', 'H', '\000', 'R', '\013', 's', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', '\022', '%', '\n', '\r', -'p', 'r', 'e', 's', 'e', 'n', 't', '_', 'm', 'a', 't', 'c', 'h', '\030', '\006', ' ', '\001', '(', '\010', 'H', '\000', 'R', '\014', 'p', 'r', -'e', 's', 'e', 'n', 't', 'M', 'a', 't', 'c', 'h', ':', '/', '\232', '\305', '\210', '\036', '*', '\n', '(', 'e', 'n', 'v', 'o', 'y', '.', -'a', 'p', 'i', '.', 'v', '2', '.', 'r', 'o', 'u', 't', 'e', '.', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'e', 't', -'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '!', '\n', '\037', 'q', 'u', 'e', 'r', 'y', '_', 'p', 'a', 'r', 'a', 'm', 'e', -'t', 'e', 'r', '_', 'm', 'a', 't', 'c', 'h', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'J', '\004', '\010', '\003', '\020', '\004', -'J', '\004', '\010', '\004', '\020', '\005', 'R', '\005', 'v', 'a', 'l', 'u', 'e', 'R', '\005', 'r', 'e', 'g', 'e', 'x', '\"', '\271', '\002', '\n', '\026', -'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'P', 'o', 'l', 'i', 'c', 'y', '\022', 'R', '\n', -'\026', 'm', 'a', 'x', '_', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', 's', '\030', '\001', -' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', -'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\024', 'm', 'a', 'x', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'd', -'i', 'r', 'e', 'c', 't', 's', '\022', '@', '\n', '\027', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', '_', 'r', 'e', 's', 'p', 'o', 'n', -'s', 'e', '_', 'c', 'o', 'd', 'e', 's', '\030', '\002', ' ', '\003', '(', '\r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\020', '\005', 'R', -'\025', 'r', 'e', 'd', 'i', 'r', 'e', 'c', 't', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'C', 'o', 'd', 'e', 's', '\022', 'J', '\n', -'\n', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', -'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\n', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 's', '\022', '=', -'\n', '\033', 'a', 'l', 'l', 'o', 'w', '_', 'c', 'r', 'o', 's', 's', '_', 's', 'c', 'h', 'e', 'm', 'e', '_', 'r', 'e', 'd', 'i', -'r', 'e', 'c', 't', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\030', 'a', 'l', 'l', 'o', 'w', 'C', 'r', 'o', 's', 's', 'S', 'c', 'h', -'e', 'm', 'e', 'R', 'e', 'd', 'i', 'r', 'e', 'c', 't', '\"', 'y', '\n', '\014', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', -'i', 'g', '\022', ',', '\n', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\022', '\037', -'\n', '\013', 'i', 's', '_', 'o', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\n', 'i', 's', 'O', 'p', -'t', 'i', 'o', 'n', 'a', 'l', '\022', '\032', '\n', '\010', 'd', 'i', 's', 'a', 'b', 'l', 'e', 'd', '\030', '\003', ' ', '\001', '(', '\010', 'R', -'\010', 'd', 'i', 's', 'a', 'b', 'l', 'e', 'd', 'B', '\213', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', -'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', 'B', -'\024', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'D', -'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', -'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', -'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', ';', 'r', 'o', 'u', 't', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', -'\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[21] = { - &envoy_config_core_v3_base_proto_upbdefinit, - &envoy_config_core_v3_extension_proto_upbdefinit, - &envoy_config_core_v3_proxy_protocol_proto_upbdefinit, - &envoy_type_matcher_v3_metadata_proto_upbdefinit, - &envoy_type_matcher_v3_regex_proto_upbdefinit, - &envoy_type_matcher_v3_string_proto_upbdefinit, - &envoy_type_metadata_v3_metadata_proto_upbdefinit, - &envoy_type_tracing_v3_custom_tag_proto_upbdefinit, - &envoy_type_v3_percent_proto_upbdefinit, - &envoy_type_v3_range_proto_upbdefinit, - &google_protobuf_any_proto_upbdefinit, - &google_protobuf_duration_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &xds_annotations_v3_status_proto_upbdefinit, - &xds_type_matcher_v3_matcher_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_migrate_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_route_v3_route_components_proto_upbdefinit = { - deps, - &envoy_config_route_v3_route_components_proto_upb_file_layout, - "envoy/config/route/v3/route_components.proto", - UPB_STRINGVIEW_INIT(descriptor, 22684) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c deleted file mode 100644 index 0d7600f12c2..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +++ /dev/null @@ -1,199 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/tap/v3/common.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/tap/v3/common.upbdefs.h" -#include "envoy/config/tap/v3/common.upb.h" - -extern _upb_DefPool_Init envoy_config_common_matcher_v3_matcher_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_grpc_service_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_route_v3_route_components_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[3873] = {'\n', ' ', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'a', 'p', '/', 'v', '3', '/', 'c', 'o', 'm', -'m', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', -'a', 'p', '.', 'v', '3', '\032', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'm', 'm', 'o', -'n', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', -'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', -'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', -'o', 'r', 'e', '/', 'v', '3', '/', 'g', 'r', 'p', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 'p', 'r', 'o', 't', 'o', -'\032', ',', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 'r', -'o', 'u', 't', 'e', '_', 'c', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', -'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', -'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', -'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', -'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', -'d', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', -'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', -'s', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', -'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\365', '\002', '\n', '\t', 'T', 'a', 'p', 'C', 'o', 'n', 'f', -'i', 'g', '\022', 'S', '\n', '\014', 'm', 'a', 't', 'c', 'h', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', -'#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'M', 'a', 't', -'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', -'\013', 'm', 'a', 't', 'c', 'h', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'D', '\n', '\005', 'm', 'a', 't', 'c', 'h', '\030', '\004', ' ', '\001', -'(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', -'m', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', -'R', '\005', 'm', 'a', 't', 'c', 'h', '\022', 'P', '\n', '\r', 'o', 'u', 't', 'p', 'u', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', -'\002', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', -'v', '3', '.', 'O', 'u', 't', 'p', 'u', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', -'R', '\014', 'o', 'u', 't', 'p', 'u', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'O', '\n', '\013', 't', 'a', 'p', '_', 'e', 'n', 'a', -'b', 'l', 'e', 'd', '\030', '\003', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', 'u', 'n', 't', 'i', 'm', 'e', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', -'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\n', 't', 'a', 'p', 'E', 'n', 'a', 'b', 'l', 'e', 'd', ':', '*', '\232', '\305', '\210', -'\036', '%', '\n', '#', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', -'l', 'p', 'h', 'a', '.', 'T', 'a', 'p', 'C', 'o', 'n', 'f', 'i', 'g', '\"', '\346', '\010', '\n', '\016', 'M', 'a', 't', 'c', 'h', 'P', -'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'I', '\n', '\010', 'o', 'r', '_', 'm', 'a', 't', 'c', 'h', '\030', '\001', ' ', '\001', '(', -'\013', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'M', -'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'M', 'a', 't', 'c', 'h', 'S', 'e', 't', 'H', '\000', 'R', -'\007', 'o', 'r', 'M', 'a', 't', 'c', 'h', '\022', 'K', '\n', '\t', 'a', 'n', 'd', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', -'(', '\013', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', -'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'M', 'a', 't', 'c', 'h', 'S', 'e', 't', 'H', '\000', -'R', '\010', 'a', 'n', 'd', 'M', 'a', 't', 'c', 'h', '\022', 'B', '\n', '\t', 'n', 'o', 't', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', -' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', -'3', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'H', '\000', 'R', '\010', 'n', 'o', 't', 'M', 'a', -'t', 'c', 'h', '\022', '&', '\n', '\t', 'a', 'n', 'y', '_', 'm', 'a', 't', 'c', 'h', '\030', '\004', ' ', '\001', '(', '\010', 'B', '\007', '\372', -'B', '\004', 'j', '\002', '\010', '\001', 'H', '\000', 'R', '\010', 'a', 'n', 'y', 'M', 'a', 't', 'c', 'h', '\022', 'd', '\n', '\032', 'h', 't', 't', -'p', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\005', -' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', -'3', '.', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\027', 'h', 't', 't', -'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', 'f', '\n', '\033', 'h', -'t', 't', 'p', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 't', 'r', 'a', 'i', 'l', 'e', 'r', 's', '_', 'm', 'a', 't', 'c', -'h', '\030', '\006', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', -'p', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\030', -'h', 't', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'T', 'r', 'a', 'i', 'l', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', -'f', '\n', '\033', 'h', 't', 't', 'p', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', -'m', 'a', 't', 'c', 'h', '\030', '\007', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', -'H', '\000', 'R', '\030', 'h', 't', 't', 'p', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', -'t', 'c', 'h', '\022', 'h', '\n', '\034', 'h', 't', 't', 'p', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 't', 'r', 'a', 'i', -'l', 'e', 'r', 's', '_', 'm', 'a', 't', 'c', 'h', '\030', '\010', ' ', '\001', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', -'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\031', 'h', 't', 't', 'p', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'T', 'r', 'a', 'i', -'l', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', 'q', '\n', '\037', 'h', 't', 't', 'p', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', -'_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 'b', 'o', 'd', 'y', '_', 'm', 'a', 't', 'c', 'h', '\030', '\t', ' ', '\001', '(', '\013', -'2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'H', 't', -'t', 'p', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\033', 'h', 't', 't', -'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', '\022', -'s', '\n', ' ', 'h', 't', 't', 'p', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', -'b', 'o', 'd', 'y', '_', 'm', 'a', 't', 'c', 'h', '\030', '\n', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'G', 'e', 'n', 'e', 'r', 'i', 'c', -'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\034', 'h', 't', 't', 'p', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', -'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', '\032', '\211', '\001', '\n', '\010', 'M', 'a', 't', 'c', -'h', 'S', 'e', 't', '\022', 'C', '\n', '\005', 'r', 'u', 'l', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '#', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', -'d', 'i', 'c', 'a', 't', 'e', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\002', 'R', '\005', 'r', 'u', 'l', 'e', 's', ':', '8', -'\232', '\305', '\210', '\036', '3', '\n', '1', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 't', 'a', 'p', '.', -'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'M', 'a', -'t', 'c', 'h', 'S', 'e', 't', ':', '/', '\232', '\305', '\210', '\036', '*', '\n', '(', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', -'i', 'c', 'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'M', 'a', 't', 'c', 'h', 'P', 'r', 'e', 'd', -'i', 'c', 'a', 't', 'e', 'B', '\013', '\n', '\004', 'r', 'u', 'l', 'e', '\022', '\003', '\370', 'B', '\001', '\"', '\205', '\001', '\n', '\020', 'H', 't', -'t', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', 'a', 't', 'c', 'h', '\022', '>', '\n', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', -'\030', '\001', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', -'t', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\007', 'h', 'e', 'a', 'd', -'e', 'r', 's', ':', '1', '\232', '\305', '\210', '\036', ',', '\n', '*', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', -'.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'H', 't', 't', 'p', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'M', -'a', 't', 'c', 'h', '\"', '\226', '\002', '\n', '\024', 'H', 't', 't', 'p', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', -'a', 't', 'c', 'h', '\022', '\037', '\n', '\013', 'b', 'y', 't', 'e', 's', '_', 'l', 'i', 'm', 'i', 't', '\030', '\001', ' ', '\001', '(', '\r', -'R', '\n', 'b', 'y', 't', 'e', 's', 'L', 'i', 'm', 'i', 't', '\022', '`', '\n', '\010', 'p', 'a', 't', 't', 'e', 'r', 'n', 's', '\030', -'\002', ' ', '\003', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', -'v', '3', '.', 'H', 't', 't', 'p', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'B', 'o', 'd', 'y', 'M', 'a', 't', 'c', 'h', '.', 'G', -'e', 'n', 'e', 'r', 'i', 'c', 'T', 'e', 'x', 't', 'M', 'a', 't', 'c', 'h', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', -'R', '\010', 'p', 'a', 't', 't', 'e', 'r', 'n', 's', '\032', '{', '\n', '\020', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'T', 'e', 'x', 't', -'M', 'a', 't', 'c', 'h', '\022', ',', '\n', '\014', 's', 't', 'r', 'i', 'n', 'g', '_', 'm', 'a', 't', 'c', 'h', '\030', '\001', ' ', '\001', -'(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\013', 's', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', -'h', '\022', ',', '\n', '\014', 'b', 'i', 'n', 'a', 'r', 'y', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\014', 'B', '\007', -'\372', 'B', '\004', 'z', '\002', '\020', '\001', 'H', '\000', 'R', '\013', 'b', 'i', 'n', 'a', 'r', 'y', 'M', 'a', 't', 'c', 'h', 'B', '\013', '\n', -'\004', 'r', 'u', 'l', 'e', '\022', '\003', '\370', 'B', '\001', '\"', '\300', '\002', '\n', '\014', 'O', 'u', 't', 'p', 'u', 't', 'C', 'o', 'n', 'f', -'i', 'g', '\022', 'A', '\n', '\005', 's', 'i', 'n', 'k', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'O', 'u', 't', 'p', 'u', 't', 'S', 'i', 'n', 'k', -'B', '\n', '\372', 'B', '\007', '\222', '\001', '\004', '\010', '\001', '\020', '\001', 'R', '\005', 's', 'i', 'n', 'k', 's', '\022', 'O', '\n', '\025', 'm', 'a', -'x', '_', 'b', 'u', 'f', 'f', 'e', 'r', 'e', 'd', '_', 'r', 'x', '_', 'b', 'y', 't', 'e', 's', '\030', '\002', ' ', '\001', '(', '\013', -'2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', -'V', 'a', 'l', 'u', 'e', 'R', '\022', 'm', 'a', 'x', 'B', 'u', 'f', 'f', 'e', 'r', 'e', 'd', 'R', 'x', 'B', 'y', 't', 'e', 's', -'\022', 'O', '\n', '\025', 'm', 'a', 'x', '_', 'b', 'u', 'f', 'f', 'e', 'r', 'e', 'd', '_', 't', 'x', '_', 'b', 'y', 't', 'e', 's', -'\030', '\003', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\022', 'm', 'a', 'x', 'B', 'u', 'f', 'f', 'e', 'r', 'e', 'd', 'T', -'x', 'B', 'y', 't', 'e', 's', '\022', '\034', '\n', '\t', 's', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', '\030', '\004', ' ', '\001', '(', '\010', -'R', '\t', 's', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', -'.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'O', 'u', 't', 'p', -'u', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\"', '\333', '\004', '\n', '\n', 'O', 'u', 't', 'p', 'u', 't', 'S', 'i', 'n', 'k', '\022', 'H', -'\n', '\006', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\001', ' ', '\001', '(', '\016', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'O', 'u', 't', 'p', 'u', 't', 'S', 'i', 'n', 'k', '.', 'F', 'o', -'r', 'm', 'a', 't', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\006', 'f', 'o', 'r', 'm', 'a', 't', '\022', 'R', '\n', -'\017', 's', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', '_', 'a', 'd', 'm', 'i', 'n', '\030', '\002', ' ', '\001', '(', '\013', '2', '\'', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', '.', 'S', 't', 'r', 'e', 'a', -'m', 'i', 'n', 'g', 'A', 'd', 'm', 'i', 'n', 'S', 'i', 'n', 'k', 'H', '\000', 'R', '\016', 's', 't', 'r', 'e', 'a', 'm', 'i', 'n', -'g', 'A', 'd', 'm', 'i', 'n', '\022', 'G', '\n', '\014', 'f', 'i', 'l', 'e', '_', 'p', 'e', 'r', '_', 't', 'a', 'p', '\030', '\003', ' ', -'\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', -'.', 'F', 'i', 'l', 'e', 'P', 'e', 'r', 'T', 'a', 'p', 'S', 'i', 'n', 'k', 'H', '\000', 'R', '\n', 'f', 'i', 'l', 'e', 'P', 'e', -'r', 'T', 'a', 'p', '\022', 'O', '\n', '\016', 's', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', '_', 'g', 'r', 'p', 'c', '\030', '\004', ' ', -'\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', '3', -'.', 'S', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', 'G', 'r', 'p', 'c', 'S', 'i', 'n', 'k', 'H', '\000', 'R', '\r', 's', 't', 'r', -'e', 'a', 'm', 'i', 'n', 'g', 'G', 'r', 'p', 'c', '\022', 'O', '\n', '\016', 'b', 'u', 'f', 'f', 'e', 'r', 'e', 'd', '_', 'a', 'd', -'m', 'i', 'n', '\030', '\005', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'t', 'a', 'p', '.', 'v', '3', '.', 'B', 'u', 'f', 'f', 'e', 'r', 'e', 'd', 'A', 'd', 'm', 'i', 'n', 'S', 'i', 'n', 'k', 'H', -'\000', 'R', '\r', 'b', 'u', 'f', 'f', 'e', 'r', 'e', 'd', 'A', 'd', 'm', 'i', 'n', '\"', '~', '\n', '\006', 'F', 'o', 'r', 'm', 'a', -'t', '\022', '\026', '\n', '\022', 'J', 'S', 'O', 'N', '_', 'B', 'O', 'D', 'Y', '_', 'A', 'S', '_', 'B', 'Y', 'T', 'E', 'S', '\020', '\000', -'\022', '\027', '\n', '\023', 'J', 'S', 'O', 'N', '_', 'B', 'O', 'D', 'Y', '_', 'A', 'S', '_', 'S', 'T', 'R', 'I', 'N', 'G', '\020', '\001', -'\022', '\020', '\n', '\014', 'P', 'R', 'O', 'T', 'O', '_', 'B', 'I', 'N', 'A', 'R', 'Y', '\020', '\002', '\022', '!', '\n', '\035', 'P', 'R', 'O', -'T', 'O', '_', 'B', 'I', 'N', 'A', 'R', 'Y', '_', 'L', 'E', 'N', 'G', 'T', 'H', '_', 'D', 'E', 'L', 'I', 'M', 'I', 'T', 'E', -'D', '\020', '\003', '\022', '\016', '\n', '\n', 'P', 'R', 'O', 'T', 'O', '_', 'T', 'E', 'X', 'T', '\020', '\004', ':', '+', '\232', '\305', '\210', '\036', -'&', '\n', '$', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', -'p', 'h', 'a', '.', 'O', 'u', 't', 'p', 'u', 't', 'S', 'i', 'n', 'k', 'B', '\027', '\n', '\020', 'o', 'u', 't', 'p', 'u', 't', '_', -'s', 'i', 'n', 'k', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', '\"', 'I', '\n', '\022', 'S', 't', 'r', 'e', 'a', 'm', 'i', -'n', 'g', 'A', 'd', 'm', 'i', 'n', 'S', 'i', 'n', 'k', ':', '3', '\232', '\305', '\210', '\036', '.', '\n', ',', 'e', 'n', 'v', 'o', 'y', -'.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'S', 't', 'r', 'e', -'a', 'm', 'i', 'n', 'g', 'A', 'd', 'm', 'i', 'n', 'S', 'i', 'n', 'k', '\"', 'p', '\n', '\021', 'B', 'u', 'f', 'f', 'e', 'r', 'e', -'d', 'A', 'd', 'm', 'i', 'n', 'S', 'i', 'n', 'k', '\022', '&', '\n', '\n', 'm', 'a', 'x', '_', 't', 'r', 'a', 'c', 'e', 's', '\030', -'\001', ' ', '\001', '(', '\004', 'B', '\007', '\372', 'B', '\004', '2', '\002', ' ', '\000', 'R', '\t', 'm', 'a', 'x', 'T', 'r', 'a', 'c', 'e', 's', -'\022', '3', '\n', '\007', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\007', 't', 'i', 'm', 'e', -'o', 'u', 't', '\"', 'k', '\n', '\016', 'F', 'i', 'l', 'e', 'P', 'e', 'r', 'T', 'a', 'p', 'S', 'i', 'n', 'k', '\022', '(', '\n', '\013', -'p', 'a', 't', 'h', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', -'\001', 'R', '\n', 'p', 'a', 't', 'h', 'P', 'r', 'e', 'f', 'i', 'x', ':', '/', '\232', '\305', '\210', '\036', '*', '\n', '(', 'e', 'n', 'v', -'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'F', 'i', -'l', 'e', 'P', 'e', 'r', 'T', 'a', 'p', 'S', 'i', 'n', 'k', '\"', '\256', '\001', '\n', '\021', 'S', 't', 'r', 'e', 'a', 'm', 'i', 'n', -'g', 'G', 'r', 'p', 'c', 'S', 'i', 'n', 'k', '\022', '\025', '\n', '\006', 't', 'a', 'p', '_', 'i', 'd', '\030', '\001', ' ', '\001', '(', '\t', -'R', '\005', 't', 'a', 'p', 'I', 'd', '\022', 'N', '\n', '\014', 'g', 'r', 'p', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '\030', '\002', -' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '.', 'G', 'r', 'p', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', -'\013', 'g', 'r', 'p', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', ':', '2', '\232', '\305', '\210', '\036', '-', '\n', '+', 'e', 'n', 'v', 'o', -'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 't', 'a', 'p', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'S', 't', 'r', -'e', 'a', 'm', 'i', 'n', 'g', 'G', 'r', 'p', 'c', 'S', 'i', 'n', 'k', 'B', '|', '\n', '!', 'i', 'o', '.', 'e', 'n', 'v', 'o', -'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'a', 'p', '.', 'v', -'3', 'B', '\013', 'C', 'o', 'm', 'm', 'o', 'n', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '@', 'g', 'i', 't', 'h', 'u', 'b', '.', -'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', -'-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'a', 'p', '/', 'v', -'3', ';', 't', 'a', 'p', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[11] = { - &envoy_config_common_matcher_v3_matcher_proto_upbdefinit, - &envoy_config_core_v3_base_proto_upbdefinit, - &envoy_config_core_v3_grpc_service_proto_upbdefinit, - &envoy_config_route_v3_route_components_proto_upbdefinit, - &google_protobuf_duration_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_tap_v3_common_proto_upbdefinit = { - deps, - &envoy_config_tap_v3_common_proto_upb_file_layout, - "envoy/config/tap/v3/common.proto", - UPB_STRINGVIEW_INIT(descriptor, 3873) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h deleted file mode 100644 index 364ff113e83..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +++ /dev/null @@ -1,91 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/tap/v3/common.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPBDEFS_H_ -#define ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_config_tap_v3_common_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_TapConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.TapConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_MatchPredicate_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.MatchPredicate"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_MatchPredicate_MatchSet_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.MatchPredicate.MatchSet"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_HttpHeadersMatch_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.HttpHeadersMatch"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_HttpGenericBodyMatch_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.HttpGenericBodyMatch"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_HttpGenericBodyMatch_GenericTextMatch_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_OutputConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.OutputConfig"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_OutputSink_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.OutputSink"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_StreamingAdminSink_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.StreamingAdminSink"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_BufferedAdminSink_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.BufferedAdminSink"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_FilePerTapSink_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.FilePerTapSink"); -} - -UPB_INLINE const upb_MessageDef *envoy_config_tap_v3_StreamingGrpcSink_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_config_tap_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.config.tap.v3.StreamingGrpcSink"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_CONFIG_TAP_V3_COMMON_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c deleted file mode 100644 index d7528c3b0b0..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +++ /dev/null @@ -1,57 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/dynamic_ot.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/trace/v3/dynamic_ot.upbdefs.h" -#include "envoy/config/trace/v3/dynamic_ot.upb.h" - -extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[561] = {'\n', '&', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', '/', 'd', -'y', 'n', 'a', 'm', 'i', 'c', '_', 'o', 't', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', '\032', '\034', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '/', 's', 't', 'r', 'u', 'c', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', -'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', -'\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', -'.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', -'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', -'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\223', '\001', '\n', '\017', 'D', 'y', 'n', 'a', -'m', 'i', 'c', 'O', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '!', '\n', '\007', 'l', 'i', 'b', 'r', 'a', 'r', 'y', '\030', '\001', ' ', -'\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\007', 'l', 'i', 'b', 'r', 'a', 'r', 'y', '\022', '/', '\n', '\006', -'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', ':', ',', '\232', '\305', '\210', -'\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '2', -'.', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'O', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\270', '\001', '\n', '#', 'i', 'o', '.', 'e', -'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', -'a', 'c', 'e', '.', 'v', '3', 'B', '\016', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'O', 't', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', -'D', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', -'-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', -'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', ';', 't', 'r', 'a', 'c', 'e', 'v', '3', '\362', '\230', '\376', '\217', '\005', '-', -'\022', '+', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'c', 'e', 'r', -'s', '.', 'd', 'y', 'n', 'a', 'm', 'i', 'c', '_', 'o', 't', '.', 'v', '4', 'a', 'l', 'p', 'h', 'a', '\272', '\200', '\310', '\321', '\006', -'\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[6] = { - &google_protobuf_struct_proto_upbdefinit, - &udpa_annotations_migrate_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_trace_v3_dynamic_ot_proto_upbdefinit = { - deps, - &envoy_config_trace_v3_dynamic_ot_proto_upb_file_layout, - "envoy/config/trace/v3/dynamic_ot.proto", - UPB_STRINGVIEW_INIT(descriptor, 561) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c deleted file mode 100644 index 20478958fcd..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +++ /dev/null @@ -1,99 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/opencensus.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/trace/v3/opencensus.upbdefs.h" -#include "envoy/config/trace/v3/opencensus.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_grpc_service_proto_upbdefinit; -extern _upb_DefPool_Init opencensus_proto_trace_v1_trace_config_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -static const char descriptor[1559] = {'\n', '&', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', '/', 'o', -'p', 'e', 'n', 'c', 'e', 'n', 's', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', -'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'g', 'r', 'p', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 'p', -'r', 'o', 't', 'o', '\032', ',', 'o', 'p', 'e', 'n', 'c', 'e', 'n', 's', 'u', 's', '/', 'p', 'r', 'o', 't', 'o', '/', 't', 'r', -'a', 'c', 'e', '/', 'v', '1', '/', 't', 'r', 'a', 'c', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'p', 'r', 'o', 't', 'o', -'\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', -'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', -'t', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', -'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', -'\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', -'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\"', '\263', '\010', '\n', '\020', 'O', 'p', 'e', 'n', 'C', 'e', 'n', 's', 'u', 's', -'C', 'o', 'n', 'f', 'i', 'g', '\022', 'I', '\n', '\014', 't', 'r', 'a', 'c', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', -'\001', '(', '\013', '2', '&', '.', 'o', 'p', 'e', 'n', 'c', 'e', 'n', 's', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '.', 't', 'r', -'a', 'c', 'e', '.', 'v', '1', '.', 'T', 'r', 'a', 'c', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\013', 't', 'r', 'a', 'c', 'e', -'C', 'o', 'n', 'f', 'i', 'g', '\022', '6', '\n', '\027', 's', 't', 'd', 'o', 'u', 't', '_', 'e', 'x', 'p', 'o', 'r', 't', 'e', 'r', -'_', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\025', 's', 't', 'd', 'o', 'u', 't', 'E', 'x', 'p', -'o', 'r', 't', 'e', 'r', 'E', 'n', 'a', 'b', 'l', 'e', 'd', '\022', '@', '\n', '\034', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', -'e', 'r', '_', 'e', 'x', 'p', 'o', 'r', 't', 'e', 'r', '_', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\030', '\003', ' ', '\001', '(', '\010', -'R', '\032', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', 'e', 'r', 'E', 'x', 'p', 'o', 'r', 't', 'e', 'r', 'E', 'n', 'a', 'b', -'l', 'e', 'd', '\022', '4', '\n', '\026', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', 'e', 'r', '_', 'p', 'r', 'o', 'j', 'e', 'c', -'t', '_', 'i', 'd', '\030', '\004', ' ', '\001', '(', '\t', 'R', '\024', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', 'e', 'r', 'P', 'r', -'o', 'j', 'e', 'c', 't', 'I', 'd', '\022', '/', '\n', '\023', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', 'e', 'r', '_', 'a', 'd', -'d', 'r', 'e', 's', 's', '\030', '\n', ' ', '\001', '(', '\t', 'R', '\022', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', 'e', 'r', 'A', -'d', 'd', 'r', 'e', 's', 's', '\022', '[', '\n', '\030', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', 'e', 'r', '_', 'g', 'r', 'p', -'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '\030', '\r', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'G', 'r', 'p', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', -'R', '\026', 's', 't', 'a', 'c', 'k', 'd', 'r', 'i', 'v', 'e', 'r', 'G', 'r', 'p', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', '\022', -'C', '\n', '\027', 'z', 'i', 'p', 'k', 'i', 'n', '_', 'e', 'x', 'p', 'o', 'r', 't', 'e', 'r', '_', 'e', 'n', 'a', 'b', 'l', 'e', -'d', '\030', '\005', ' ', '\001', '(', '\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\025', 'z', 'i', 'p', -'k', 'i', 'n', 'E', 'x', 'p', 'o', 'r', 't', 'e', 'r', 'E', 'n', 'a', 'b', 'l', 'e', 'd', '\022', '*', '\n', '\n', 'z', 'i', 'p', -'k', 'i', 'n', '_', 'u', 'r', 'l', '\030', '\006', ' ', '\001', '(', '\t', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', -'0', 'R', '\t', 'z', 'i', 'p', 'k', 'i', 'n', 'U', 'r', 'l', '\022', '8', '\n', '\030', 'o', 'c', 'a', 'g', 'e', 'n', 't', '_', 'e', -'x', 'p', 'o', 'r', 't', 'e', 'r', '_', 'e', 'n', 'a', 'b', 'l', 'e', 'd', '\030', '\013', ' ', '\001', '(', '\010', 'R', '\026', 'o', 'c', -'a', 'g', 'e', 'n', 't', 'E', 'x', 'p', 'o', 'r', 't', 'e', 'r', 'E', 'n', 'a', 'b', 'l', 'e', 'd', '\022', '\'', '\n', '\017', 'o', -'c', 'a', 'g', 'e', 'n', 't', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\014', ' ', '\001', '(', '\t', 'R', '\016', 'o', 'c', 'a', -'g', 'e', 'n', 't', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'S', '\n', '\024', 'o', 'c', 'a', 'g', 'e', 'n', 't', '_', 'g', 'r', -'p', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', '\030', '\016', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'G', 'r', 'p', 'c', 'S', 'e', 'r', 'v', 'i', 'c', -'e', 'R', '\022', 'o', 'c', 'a', 'g', 'e', 'n', 't', 'G', 'r', 'p', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', '\022', 'j', '\n', '\026', -'i', 'n', 'c', 'o', 'm', 'i', 'n', 'g', '_', 't', 'r', 'a', 'c', 'e', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '\030', '\010', ' ', -'\003', '(', '\016', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', -'v', '3', '.', 'O', 'p', 'e', 'n', 'C', 'e', 'n', 's', 'u', 's', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'T', 'r', 'a', 'c', 'e', -'C', 'o', 'n', 't', 'e', 'x', 't', 'R', '\024', 'i', 'n', 'c', 'o', 'm', 'i', 'n', 'g', 'T', 'r', 'a', 'c', 'e', 'C', 'o', 'n', -'t', 'e', 'x', 't', '\022', 'j', '\n', '\026', 'o', 'u', 't', 'g', 'o', 'i', 'n', 'g', '_', 't', 'r', 'a', 'c', 'e', '_', 'c', 'o', -'n', 't', 'e', 'x', 't', '\030', '\t', ' ', '\003', '(', '\016', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', '.', 'O', 'p', 'e', 'n', 'C', 'e', 'n', 's', 'u', 's', 'C', 'o', 'n', 'f', -'i', 'g', '.', 'T', 'r', 'a', 'c', 'e', 'C', 'o', 'n', 't', 'e', 'x', 't', 'R', '\024', 'o', 'u', 't', 'g', 'o', 'i', 'n', 'g', -'T', 'r', 'a', 'c', 'e', 'C', 'o', 'n', 't', 'e', 'x', 't', '\"', '`', '\n', '\014', 'T', 'r', 'a', 'c', 'e', 'C', 'o', 'n', 't', -'e', 'x', 't', '\022', '\010', '\n', '\004', 'N', 'O', 'N', 'E', '\020', '\000', '\022', '\021', '\n', '\r', 'T', 'R', 'A', 'C', 'E', '_', 'C', 'O', -'N', 'T', 'E', 'X', 'T', '\020', '\001', '\022', '\022', '\n', '\016', 'G', 'R', 'P', 'C', '_', 'T', 'R', 'A', 'C', 'E', '_', 'B', 'I', 'N', -'\020', '\002', '\022', '\027', '\n', '\023', 'C', 'L', 'O', 'U', 'D', '_', 'T', 'R', 'A', 'C', 'E', '_', 'C', 'O', 'N', 'T', 'E', 'X', 'T', -'\020', '\003', '\022', '\006', '\n', '\002', 'B', '3', '\020', '\004', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '2', '.', 'O', 'p', 'e', 'n', 'C', 'e', 'n', 's', 'u', -'s', 'C', 'o', 'n', 'f', 'i', 'g', 'J', '\004', '\010', '\007', '\020', '\010', 'B', '\271', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', -'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', -'.', 'v', '3', 'B', '\017', 'O', 'p', 'e', 'n', 'c', 'e', 'n', 's', 'u', 's', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'D', 'g', -'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', -'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', -'/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', ';', 't', 'r', 'a', 'c', 'e', 'v', '3', '\362', '\230', '\376', '\217', '\005', '-', '\022', '+', -'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'c', 'e', 'r', 's', '.', -'o', 'p', 'e', 'n', 'c', 'e', 'n', 's', 'u', 's', '.', 'v', '4', 'a', 'l', 'p', 'h', 'a', '\272', '\200', '\310', '\321', '\006', '\002', '\020', -'\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[7] = { - &envoy_config_core_v3_grpc_service_proto_upbdefinit, - &opencensus_proto_trace_v1_trace_config_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_migrate_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_trace_v3_opencensus_proto_upbdefinit = { - deps, - &envoy_config_trace_v3_opencensus_proto_upb_file_layout, - "envoy/config/trace/v3/opencensus.proto", - UPB_STRINGVIEW_INIT(descriptor, 1559) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c deleted file mode 100644 index a9910c1853c..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +++ /dev/null @@ -1,45 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/config/trace/v3/opentelemetry.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/config/trace/v3/opentelemetry.upbdefs.h" -#include "envoy/config/trace/v3/opentelemetry.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_grpc_service_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -static const char descriptor[414] = {'\n', ')', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', '/', 'o', -'p', 'e', 'n', 't', 'e', 'l', 'e', 'm', 'e', 't', 'r', 'y', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', -'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'g', 'r', 'p', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', -'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', -'/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\"', '~', '\n', '\023', 'O', 'p', 'e', 'n', 'T', 'e', 'l', 'e', -'m', 'e', 't', 'r', 'y', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'D', '\n', '\014', 'g', 'r', 'p', 'c', '_', 's', 'e', 'r', 'v', 'i', -'c', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '!', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', -'o', 'r', 'e', '.', 'v', '3', '.', 'G', 'r', 'p', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'R', '\013', 'g', 'r', 'p', 'c', 'S', -'e', 'r', 'v', 'i', 'c', 'e', '\022', '!', '\n', '\014', 's', 'e', 'r', 'v', 'i', 'c', 'e', '_', 'n', 'a', 'm', 'e', '\030', '\002', ' ', -'\001', '(', '\t', 'R', '\013', 's', 'e', 'r', 'v', 'i', 'c', 'e', 'N', 'a', 'm', 'e', 'B', '\211', '\001', '\n', '#', 'i', 'o', '.', 'e', -'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 't', 'r', -'a', 'c', 'e', '.', 'v', '3', 'B', '\022', 'O', 'p', 'e', 'n', 't', 'e', 'l', 'e', 'm', 'e', 't', 'r', 'y', 'P', 'r', 'o', 't', -'o', 'P', '\001', 'Z', 'D', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', -'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', -'c', 'o', 'n', 'f', 'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', ';', 't', 'r', 'a', 'c', 'e', 'v', '3', '\272', '\200', -'\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[3] = { - &envoy_config_core_v3_grpc_service_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_config_trace_v3_opentelemetry_proto_upbdefinit = { - deps, - &envoy_config_trace_v3_opentelemetry_proto_upb_file_layout, - "envoy/config/trace/v3/opentelemetry.proto", - UPB_STRINGVIEW_INIT(descriptor, 414) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c deleted file mode 100644 index ae55a40f32f..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.c +++ /dev/null @@ -1,402 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/data/accesslog/v3/accesslog.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/data/accesslog/v3/accesslog.upbdefs.h" -#include "envoy/data/accesslog/v3/accesslog.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_timestamp_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[8931] = {'\n', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'd', 'a', 't', 'a', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '/', 'v', '3', -'/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'p', 'r', 'o', 't', 'o', '\022', '\027', 'e', 'n', 'v', 'o', 'y', '.', 'd', -'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 'c', -'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'a', 'd', 'd', 'r', 'e', 's', 's', '.', 'p', 'r', 'o', -'t', 'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', -'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', -'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', -'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'g', 'o', 'o', 'g', -'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 't', 'i', 'm', 'e', 's', 't', 'a', 'm', 'p', '.', 'p', 'r', 'o', -'t', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', -'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', -'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', -'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', -'t', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', -'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', -'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\200', '\002', '\n', '\021', 'T', 'C', 'P', 'A', 'c', 'c', 'e', 's', -'s', 'L', 'o', 'g', 'E', 'n', 't', 'r', 'y', '\022', 'U', '\n', '\021', 'c', 'o', 'm', 'm', 'o', 'n', '_', 'p', 'r', 'o', 'p', 'e', -'r', 't', 'i', 'e', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '(', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', -'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'C', 'o', 'm', -'m', 'o', 'n', 'R', '\020', 'c', 'o', 'm', 'm', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', 'b', '\n', '\025', -'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'p', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\030', '\002', ' ', '\001', -'(', '\013', '2', '-', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', -'.', 'v', '3', '.', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'R', -'\024', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', ':', '0', '\232', '\305', -'\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', -'.', 'v', '2', '.', 'T', 'C', 'P', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'E', 'n', 't', 'r', 'y', '\"', '\360', '\003', '\n', -'\022', 'H', 'T', 'T', 'P', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'E', 'n', 't', 'r', 'y', '\022', 'U', '\n', '\021', 'c', 'o', -'m', 'm', 'o', 'n', '_', 'p', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '(', '.', 'e', -'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', -'c', 'e', 's', 's', 'L', 'o', 'g', 'C', 'o', 'm', 'm', 'o', 'n', 'R', '\020', 'c', 'o', 'm', 'm', 'o', 'n', 'P', 'r', 'o', 'p', -'e', 'r', 't', 'i', 'e', 's', '\022', 'b', '\n', '\020', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'v', 'e', 'r', 's', 'i', 'o', -'n', '\030', '\002', ' ', '\001', '(', '\016', '2', '7', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', -'s', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'H', 'T', 'T', 'P', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'E', 'n', 't', -'r', 'y', '.', 'H', 'T', 'T', 'P', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'R', '\017', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'V', -'e', 'r', 's', 'i', 'o', 'n', '\022', 'H', '\n', '\007', 'r', 'e', 'q', 'u', 'e', 's', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', '.', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', -'H', 'T', 'T', 'P', 'R', 'e', 'q', 'u', 'e', 's', 't', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'R', '\007', 'r', 'e', -'q', 'u', 'e', 's', 't', '\022', 'K', '\n', '\010', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '\030', '\004', ' ', '\001', '(', '\013', '2', '/', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', -'H', 'T', 'T', 'P', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'R', '\010', 'r', -'e', 's', 'p', 'o', 'n', 's', 'e', '\"', 'U', '\n', '\013', 'H', 'T', 'T', 'P', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\022', '\030', '\n', -'\024', 'P', 'R', 'O', 'T', 'O', 'C', 'O', 'L', '_', 'U', 'N', 'S', 'P', 'E', 'C', 'I', 'F', 'I', 'E', 'D', '\020', '\000', '\022', '\n', -'\n', '\006', 'H', 'T', 'T', 'P', '1', '0', '\020', '\001', '\022', '\n', '\n', '\006', 'H', 'T', 'T', 'P', '1', '1', '\020', '\002', '\022', '\t', '\n', -'\005', 'H', 'T', 'T', 'P', '2', '\020', '\003', '\022', '\t', '\n', '\005', 'H', 'T', 'T', 'P', '3', '\020', '\004', ':', '1', '\232', '\305', '\210', '\036', -',', '\n', '*', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', -'2', '.', 'H', 'T', 'T', 'P', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'E', 'n', 't', 'r', 'y', '\"', '\221', '\001', '\n', '\024', -'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', '%', '\n', '\016', 'r', -'e', 'c', 'e', 'i', 'v', 'e', 'd', '_', 'b', 'y', 't', 'e', 's', '\030', '\001', ' ', '\001', '(', '\004', 'R', '\r', 'r', 'e', 'c', 'e', -'i', 'v', 'e', 'd', 'B', 'y', 't', 'e', 's', '\022', '\035', '\n', '\n', 's', 'e', 'n', 't', '_', 'b', 'y', 't', 'e', 's', '\030', '\002', -' ', '\001', '(', '\004', 'R', '\t', 's', 'e', 'n', 't', 'B', 'y', 't', 'e', 's', ':', '3', '\232', '\305', '\210', '\036', '.', '\n', ',', 'e', -'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'C', 'o', -'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\"', '\226', '\025', '\n', '\017', 'A', 'c', -'c', 'e', 's', 's', 'L', 'o', 'g', 'C', 'o', 'm', 'm', 'o', 'n', '\022', '8', '\n', '\013', 's', 'a', 'm', 'p', 'l', 'e', '_', 'r', -'a', 't', 'e', '\030', '\001', ' ', '\001', '(', '\001', 'B', '\027', '\372', 'B', '\024', '\022', '\022', '\031', '\000', '\000', '\000', '\000', '\000', '\000', '\360', '?', -'!', '\000', '\000', '\000', '\000', '\000', '\000', '\000', '\000', 'R', '\n', 's', 'a', 'm', 'p', 'l', 'e', 'R', 'a', 't', 'e', '\022', 'Y', '\n', '\031', -'d', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'r', 'e', 'm', 'o', 't', 'e', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', -'\030', '\002', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', -'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\027', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'R', -'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'W', '\n', '\030', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', -'m', '_', 'l', 'o', 'c', 'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', -'s', 's', 'R', '\026', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'L', 'o', 'c', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', -'s', '\022', 'M', '\n', '\016', 't', 'l', 's', '_', 'p', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\030', '\004', ' ', '\001', '(', '\013', -'2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', -'3', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'R', '\r', 't', 'l', 's', 'P', 'r', 'o', 'p', 'e', -'r', 't', 'i', 'e', 's', '\022', '9', '\n', '\n', 's', 't', 'a', 'r', 't', '_', 't', 'i', 'm', 'e', '\030', '\005', ' ', '\001', '(', '\013', -'2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'T', 'i', 'm', 'e', 's', 't', -'a', 'm', 'p', 'R', '\t', 's', 't', 'a', 'r', 't', 'T', 'i', 'm', 'e', '\022', 'I', '\n', '\024', 't', 'i', 'm', 'e', '_', 't', 'o', -'_', 'l', 'a', 's', 't', '_', 'r', 'x', '_', 'b', 'y', 't', 'e', '\030', '\006', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\020', 't', 'i', -'m', 'e', 'T', 'o', 'L', 'a', 's', 't', 'R', 'x', 'B', 'y', 't', 'e', '\022', '\\', '\n', '\036', 't', 'i', 'm', 'e', '_', 't', 'o', -'_', 'f', 'i', 'r', 's', 't', '_', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 't', 'x', '_', 'b', 'y', 't', 'e', '\030', '\007', -' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', -'r', 'a', 't', 'i', 'o', 'n', 'R', '\031', 't', 'i', 'm', 'e', 'T', 'o', 'F', 'i', 'r', 's', 't', 'U', 'p', 's', 't', 'r', 'e', -'a', 'm', 'T', 'x', 'B', 'y', 't', 'e', '\022', 'Z', '\n', '\035', 't', 'i', 'm', 'e', '_', 't', 'o', '_', 'l', 'a', 's', 't', '_', -'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 't', 'x', '_', 'b', 'y', 't', 'e', '\030', '\010', ' ', '\001', '(', '\013', '2', '\031', '.', -'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', -'\030', 't', 'i', 'm', 'e', 'T', 'o', 'L', 'a', 's', 't', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'T', 'x', 'B', 'y', 't', 'e', -'\022', '\\', '\n', '\036', 't', 'i', 'm', 'e', '_', 't', 'o', '_', 'f', 'i', 'r', 's', 't', '_', 'u', 'p', 's', 't', 'r', 'e', 'a', -'m', '_', 'r', 'x', '_', 'b', 'y', 't', 'e', '\030', '\t', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\031', 't', 'i', 'm', 'e', 'T', 'o', -'F', 'i', 'r', 's', 't', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'R', 'x', 'B', 'y', 't', 'e', '\022', 'Z', '\n', '\035', 't', 'i', -'m', 'e', '_', 't', 'o', '_', 'l', 'a', 's', 't', '_', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'r', 'x', '_', 'b', 'y', -'t', 'e', '\030', '\n', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', -'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\030', 't', 'i', 'm', 'e', 'T', 'o', 'L', 'a', 's', 't', 'U', 'p', 's', -'t', 'r', 'e', 'a', 'm', 'R', 'x', 'B', 'y', 't', 'e', '\022', '`', '\n', ' ', 't', 'i', 'm', 'e', '_', 't', 'o', '_', 'f', 'i', -'r', 's', 't', '_', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 't', 'x', '_', 'b', 'y', 't', 'e', '\030', '\013', ' ', -'\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', -'a', 't', 'i', 'o', 'n', 'R', '\033', 't', 'i', 'm', 'e', 'T', 'o', 'F', 'i', 'r', 's', 't', 'D', 'o', 'w', 'n', 's', 't', 'r', -'e', 'a', 'm', 'T', 'x', 'B', 'y', 't', 'e', '\022', '^', '\n', '\037', 't', 'i', 'm', 'e', '_', 't', 'o', '_', 'l', 'a', 's', 't', -'_', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 't', 'x', '_', 'b', 'y', 't', 'e', '\030', '\014', ' ', '\001', '(', '\013', -'2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', -'o', 'n', 'R', '\032', 't', 'i', 'm', 'e', 'T', 'o', 'L', 'a', 's', 't', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'T', -'x', 'B', 'y', 't', 'e', '\022', 'U', '\n', '\027', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'r', 'e', 'm', 'o', 't', 'e', '_', -'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\r', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', -'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\025', 'u', 'p', 's', 't', -'r', 'e', 'a', 'm', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'S', '\n', '\026', 'u', 'p', 's', 't', -'r', 'e', 'a', 'm', '_', 'l', 'o', 'c', 'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '\030', '\016', ' ', '\001', '(', '\013', '2', -'\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'A', 'd', -'d', 'r', 'e', 's', 's', 'R', '\024', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'L', 'o', 'c', 'a', 'l', 'A', 'd', 'd', 'r', 'e', -'s', 's', '\022', ')', '\n', '\020', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '\030', '\017', ' ', -'\001', '(', '\t', 'R', '\017', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'l', 'u', 's', 't', 'e', 'r', '\022', 'M', '\n', '\016', 'r', -'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'f', 'l', 'a', 'g', 's', '\030', '\020', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', -'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'R', 'e', 's', 'p', -'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', 'R', '\r', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', '\022', -':', '\n', '\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\021', ' ', '\001', '(', '\013', '2', '\036', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'R', -'\010', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\022', 'I', '\n', '!', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 't', 'r', 'a', -'n', 's', 'p', 'o', 'r', 't', '_', 'f', 'a', 'i', 'l', 'u', 'r', 'e', '_', 'r', 'e', 'a', 's', 'o', 'n', '\030', '\022', ' ', '\001', -'(', '\t', 'R', '\036', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'T', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', 'F', 'a', 'i', 'l', -'u', 'r', 'e', 'R', 'e', 'a', 's', 'o', 'n', '\022', '\035', '\n', '\n', 'r', 'o', 'u', 't', 'e', '_', 'n', 'a', 'm', 'e', '\030', '\023', -' ', '\001', '(', '\t', 'R', '\t', 'r', 'o', 'u', 't', 'e', 'N', 'a', 'm', 'e', '\022', 'f', '\n', ' ', 'd', 'o', 'w', 'n', 's', 't', -'r', 'e', 'a', 'm', '_', 'd', 'i', 'r', 'e', 'c', 't', '_', 'r', 'e', 'm', 'o', 't', 'e', '_', 'a', 'd', 'd', 'r', 'e', 's', -'s', '\030', '\024', ' ', '\001', '(', '\013', '2', '\035', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', -'r', 'e', '.', 'v', '3', '.', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', '\035', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', -'D', 'i', 'r', 'e', 'c', 't', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', 'r', '\n', '\024', 'f', 'i', -'l', 't', 'e', 'r', '_', 's', 't', 'a', 't', 'e', '_', 'o', 'b', 'j', 'e', 'c', 't', 's', '\030', '\025', ' ', '\003', '(', '\013', '2', -'@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', -'.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'C', 'o', 'm', 'm', 'o', 'n', '.', 'F', 'i', 'l', 't', 'e', 'r', 'S', 't', -'a', 't', 'e', 'O', 'b', 'j', 'e', 'c', 't', 's', 'E', 'n', 't', 'r', 'y', 'R', '\022', 'f', 'i', 'l', 't', 'e', 'r', 'S', 't', -'a', 't', 'e', 'O', 'b', 'j', 'e', 'c', 't', 's', '\022', 'Y', '\n', '\013', 'c', 'u', 's', 't', 'o', 'm', '_', 't', 'a', 'g', 's', -'\030', '\026', ' ', '\003', '(', '\013', '2', '8', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', -'s', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'C', 'o', 'm', 'm', 'o', 'n', '.', 'C', -'u', 's', 't', 'o', 'm', 'T', 'a', 'g', 's', 'E', 'n', 't', 'r', 'y', 'R', '\n', 'c', 'u', 's', 't', 'o', 'm', 'T', 'a', 'g', -'s', '\022', '5', '\n', '\010', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '\030', '\027', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', '\010', 'd', 'u', -'r', 'a', 't', 'i', 'o', 'n', '\022', 'C', '\n', '\036', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'r', 'e', 'q', 'u', 'e', 's', -'t', '_', 'a', 't', 't', 'e', 'm', 'p', 't', '_', 'c', 'o', 'u', 'n', 't', '\030', '\030', ' ', '\001', '(', '\r', 'R', '\033', 'u', 'p', -'s', 't', 'r', 'e', 'a', 'm', 'R', 'e', 'q', 'u', 'e', 's', 't', 'A', 't', 't', 'e', 'm', 'p', 't', 'C', 'o', 'u', 'n', 't', -'\022', 'D', '\n', '\036', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 't', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', -'n', '_', 'd', 'e', 't', 'a', 'i', 'l', 's', '\030', '\031', ' ', '\001', '(', '\t', 'R', '\034', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', -'o', 'n', 'T', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', '\033', '\n', '\t', 's', -'t', 'r', 'e', 'a', 'm', '_', 'i', 'd', '\030', '\032', ' ', '\001', '(', '\t', 'R', '\010', 's', 't', 'r', 'e', 'a', 'm', 'I', 'd', '\022', -'A', '\n', '\026', 'i', 'n', 't', 'e', 'r', 'm', 'e', 'd', 'i', 'a', 't', 'e', '_', 'l', 'o', 'g', '_', 'e', 'n', 't', 'r', 'y', -'\030', '\033', ' ', '\001', '(', '\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\024', 'i', 'n', 't', 'e', -'r', 'm', 'e', 'd', 'i', 'a', 't', 'e', 'L', 'o', 'g', 'E', 'n', 't', 'r', 'y', '\022', 'M', '\n', '#', 'd', 'o', 'w', 'n', 's', -'t', 'r', 'e', 'a', 'm', '_', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 'f', 'a', 'i', 'l', 'u', 'r', 'e', '_', 'r', -'e', 'a', 's', 'o', 'n', '\030', '\034', ' ', '\001', '(', '\t', 'R', ' ', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'T', 'r', -'a', 'n', 's', 'p', 'o', 'r', 't', 'F', 'a', 'i', 'l', 'u', 'r', 'e', 'R', 'e', 'a', 's', 'o', 'n', '\022', ';', '\n', '\032', 'd', -'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'w', 'i', 'r', 'e', '_', 'b', 'y', 't', 'e', 's', '_', 's', 'e', 'n', 't', -'\030', '\035', ' ', '\001', '(', '\004', 'R', '\027', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'W', 'i', 'r', 'e', 'B', 'y', 't', -'e', 's', 'S', 'e', 'n', 't', '\022', 'C', '\n', '\036', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'w', 'i', 'r', 'e', -'_', 'b', 'y', 't', 'e', 's', '_', 'r', 'e', 'c', 'e', 'i', 'v', 'e', 'd', '\030', '\036', ' ', '\001', '(', '\004', 'R', '\033', 'd', 'o', -'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'W', 'i', 'r', 'e', 'B', 'y', 't', 'e', 's', 'R', 'e', 'c', 'e', 'i', 'v', 'e', 'd', -'\022', '7', '\n', '\030', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'w', 'i', 'r', 'e', '_', 'b', 'y', 't', 'e', 's', '_', 's', -'e', 'n', 't', '\030', '\037', ' ', '\001', '(', '\004', 'R', '\025', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'W', 'i', 'r', 'e', 'B', 'y', -'t', 'e', 's', 'S', 'e', 'n', 't', '\022', '?', '\n', '\034', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'w', 'i', 'r', 'e', '_', -'b', 'y', 't', 'e', 's', '_', 'r', 'e', 'c', 'e', 'i', 'v', 'e', 'd', '\030', ' ', ' ', '\001', '(', '\004', 'R', '\031', 'u', 'p', 's', -'t', 'r', 'e', 'a', 'm', 'W', 'i', 'r', 'e', 'B', 'y', 't', 'e', 's', 'R', 'e', 'c', 'e', 'i', 'v', 'e', 'd', '\022', 'N', '\n', -'\017', 'a', 'c', 'c', 'e', 's', 's', '_', 'l', 'o', 'g', '_', 't', 'y', 'p', 'e', '\030', '!', ' ', '\001', '(', '\016', '2', '&', '.', -'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', -'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'T', 'y', 'p', 'e', 'R', '\r', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'T', 'y', -'p', 'e', '\032', '[', '\n', '\027', 'F', 'i', 'l', 't', 'e', 'r', 'S', 't', 'a', 't', 'e', 'O', 'b', 'j', 'e', 'c', 't', 's', 'E', -'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '*', '\n', -'\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', '\032', '=', '\n', '\017', 'C', -'u', 's', 't', 'o', 'm', 'T', 'a', 'g', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', -'(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '\024', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\005', 'v', -'a', 'l', 'u', 'e', ':', '\002', '8', '\001', ':', '.', '\232', '\305', '\210', '\036', ')', '\n', '\'', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', -'t', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', -'C', 'o', 'm', 'm', 'o', 'n', '\"', '\351', '\r', '\n', '\r', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', '\022', -'8', '\n', '\030', 'f', 'a', 'i', 'l', 'e', 'd', '_', 'l', 'o', 'c', 'a', 'l', '_', 'h', 'e', 'a', 'l', 't', 'h', 'c', 'h', 'e', -'c', 'k', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\026', 'f', 'a', 'i', 'l', 'e', 'd', 'L', 'o', 'c', 'a', 'l', 'H', 'e', 'a', 'l', -'t', 'h', 'c', 'h', 'e', 'c', 'k', '\022', '.', '\n', '\023', 'n', 'o', '_', 'h', 'e', 'a', 'l', 't', 'h', 'y', '_', 'u', 'p', 's', -'t', 'r', 'e', 'a', 'm', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\021', 'n', 'o', 'H', 'e', 'a', 'l', 't', 'h', 'y', 'U', 'p', 's', -'t', 'r', 'e', 'a', 'm', '\022', '8', '\n', '\030', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', -'_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\026', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'R', -'e', 'q', 'u', 'e', 's', 't', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', '\037', '\n', '\013', 'l', 'o', 'c', 'a', 'l', '_', 'r', 'e', -'s', 'e', 't', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\n', 'l', 'o', 'c', 'a', 'l', 'R', 'e', 's', 'e', 't', '\022', '2', '\n', '\025', -'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'r', 'e', 'm', 'o', 't', 'e', '_', 'r', 'e', 's', 'e', 't', '\030', '\005', ' ', '\001', -'(', '\010', 'R', '\023', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'R', 'e', 'm', 'o', 't', 'e', 'R', 'e', 's', 'e', 't', '\022', '>', -'\n', '\033', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'f', 'a', 'i', -'l', 'u', 'r', 'e', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\031', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', 'e', -'c', 't', 'i', 'o', 'n', 'F', 'a', 'i', 'l', 'u', 'r', 'e', '\022', 'F', '\n', '\037', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', -'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 't', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', '\030', '\007', ' ', -'\001', '(', '\010', 'R', '\035', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'T', 'e', -'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', '\022', '+', '\n', '\021', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'o', 'v', 'e', -'r', 'f', 'l', 'o', 'w', '\030', '\010', ' ', '\001', '(', '\010', 'R', '\020', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'O', 'v', 'e', 'r', -'f', 'l', 'o', 'w', '\022', '$', '\n', '\016', 'n', 'o', '_', 'r', 'o', 'u', 't', 'e', '_', 'f', 'o', 'u', 'n', 'd', '\030', '\t', ' ', -'\001', '(', '\010', 'R', '\014', 'n', 'o', 'R', 'o', 'u', 't', 'e', 'F', 'o', 'u', 'n', 'd', '\022', '%', '\n', '\016', 'd', 'e', 'l', 'a', -'y', '_', 'i', 'n', 'j', 'e', 'c', 't', 'e', 'd', '\030', '\n', ' ', '\001', '(', '\010', 'R', '\r', 'd', 'e', 'l', 'a', 'y', 'I', 'n', -'j', 'e', 'c', 't', 'e', 'd', '\022', '%', '\n', '\016', 'f', 'a', 'u', 'l', 't', '_', 'i', 'n', 'j', 'e', 'c', 't', 'e', 'd', '\030', -'\013', ' ', '\001', '(', '\010', 'R', '\r', 'f', 'a', 'u', 'l', 't', 'I', 'n', 'j', 'e', 'c', 't', 'e', 'd', '\022', '!', '\n', '\014', 'r', -'a', 't', 'e', '_', 'l', 'i', 'm', 'i', 't', 'e', 'd', '\030', '\014', ' ', '\001', '(', '\010', 'R', '\013', 'r', 'a', 't', 'e', 'L', 'i', -'m', 'i', 't', 'e', 'd', '\022', 'f', '\n', '\024', 'u', 'n', 'a', 'u', 't', 'h', 'o', 'r', 'i', 'z', 'e', 'd', '_', 'd', 'e', 't', -'a', 'i', 'l', 's', '\030', '\r', ' ', '\001', '(', '\013', '2', '3', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', -'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', -'.', 'U', 'n', 'a', 'u', 't', 'h', 'o', 'r', 'i', 'z', 'e', 'd', 'R', '\023', 'u', 'n', 'a', 'u', 't', 'h', 'o', 'r', 'i', 'z', -'e', 'd', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', '7', '\n', '\030', 'r', 'a', 't', 'e', '_', 'l', 'i', 'm', 'i', 't', '_', 's', -'e', 'r', 'v', 'i', 'c', 'e', '_', 'e', 'r', 'r', 'o', 'r', '\030', '\016', ' ', '\001', '(', '\010', 'R', '\025', 'r', 'a', 't', 'e', 'L', -'i', 'm', 'i', 't', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'E', 'r', 'r', 'o', 'r', '\022', 'J', '\n', '!', 'd', 'o', 'w', 'n', 's', -'t', 'r', 'e', 'a', 'm', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 't', 'e', 'r', 'm', 'i', 'n', 'a', 't', -'i', 'o', 'n', '\030', '\017', ' ', '\001', '(', '\010', 'R', '\037', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', -'e', 'c', 't', 'i', 'o', 'n', 'T', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', '\022', 'A', '\n', '\035', 'u', 'p', 's', 't', -'r', 'e', 'a', 'm', '_', 'r', 'e', 't', 'r', 'y', '_', 'l', 'i', 'm', 'i', 't', '_', 'e', 'x', 'c', 'e', 'e', 'd', 'e', 'd', -'\030', '\020', ' ', '\001', '(', '\010', 'R', '\032', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'R', 'e', 't', 'r', 'y', 'L', 'i', 'm', 'i', -'t', 'E', 'x', 'c', 'e', 'e', 'd', 'e', 'd', '\022', '.', '\n', '\023', 's', 't', 'r', 'e', 'a', 'm', '_', 'i', 'd', 'l', 'e', '_', -'t', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\021', ' ', '\001', '(', '\010', 'R', '\021', 's', 't', 'r', 'e', 'a', 'm', 'I', 'd', 'l', 'e', -'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'A', '\n', '\035', 'i', 'n', 'v', 'a', 'l', 'i', 'd', '_', 'e', 'n', 'v', 'o', 'y', '_', -'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\022', ' ', '\001', '(', '\010', 'R', '\032', 'i', 'n', -'v', 'a', 'l', 'i', 'd', 'E', 'n', 'v', 'o', 'y', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', -':', '\n', '\031', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'e', 'r', -'r', 'o', 'r', '\030', '\023', ' ', '\001', '(', '\010', 'R', '\027', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'P', 'r', 'o', 't', -'o', 'c', 'o', 'l', 'E', 'r', 'r', 'o', 'r', '\022', 'N', '\n', '$', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'm', 'a', 'x', -'_', 's', 't', 'r', 'e', 'a', 'm', '_', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '_', 'r', 'e', 'a', 'c', 'h', 'e', 'd', '\030', -'\024', ' ', '\001', '(', '\010', 'R', ' ', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'M', 'a', 'x', 'S', 't', 'r', 'e', 'a', 'm', 'D', -'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', 'e', 'a', 'c', 'h', 'e', 'd', '\022', ';', '\n', '\032', 'r', 'e', 's', 'p', 'o', 'n', 's', -'e', '_', 'f', 'r', 'o', 'm', '_', 'c', 'a', 'c', 'h', 'e', '_', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\025', ' ', '\001', '(', '\010', -'R', '\027', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'r', 'o', 'm', 'C', 'a', 'c', 'h', 'e', 'F', 'i', 'l', 't', 'e', 'r', -'\022', '3', '\n', '\026', 'n', 'o', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '_', 'f', 'o', 'u', 'n', -'d', '\030', '\026', ' ', '\001', '(', '\010', 'R', '\023', 'n', 'o', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', 'F', 'o', -'u', 'n', 'd', '\022', ')', '\n', '\020', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\027', -' ', '\001', '(', '\010', 'R', '\017', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', '6', '\n', '\027', -'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'e', 'r', 'r', 'o', 'r', '\030', '\030', -' ', '\001', '(', '\010', 'R', '\025', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'E', 'r', 'r', -'o', 'r', '\022', '(', '\n', '\020', 'n', 'o', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 'f', 'o', 'u', 'n', 'd', '\030', '\031', ' ', -'\001', '(', '\010', 'R', '\016', 'n', 'o', 'C', 'l', 'u', 's', 't', 'e', 'r', 'F', 'o', 'u', 'n', 'd', '\022', ')', '\n', '\020', 'o', 'v', -'e', 'r', 'l', 'o', 'a', 'd', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '\030', '\032', ' ', '\001', '(', '\010', 'R', '\017', 'o', 'v', 'e', -'r', 'l', 'o', 'a', 'd', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '\022', '4', '\n', '\026', 'd', 'n', 's', '_', 'r', 'e', 's', 'o', 'l', -'u', 't', 'i', 'o', 'n', '_', 'f', 'a', 'i', 'l', 'u', 'r', 'e', '\030', '\033', ' ', '\001', '(', '\010', 'R', '\024', 'd', 'n', 's', 'R', -'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', 'F', 'a', 'i', 'l', 'u', 'r', 'e', '\032', '\325', '\001', '\n', '\014', 'U', 'n', 'a', 'u', -'t', 'h', 'o', 'r', 'i', 'z', 'e', 'd', '\022', 'R', '\n', '\006', 'r', 'e', 'a', 's', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\016', '2', -':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', -'.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', '.', 'U', 'n', 'a', 'u', 't', 'h', 'o', 'r', 'i', 'z', -'e', 'd', '.', 'R', 'e', 'a', 's', 'o', 'n', 'R', '\006', 'r', 'e', 'a', 's', 'o', 'n', '\"', '6', '\n', '\006', 'R', 'e', 'a', 's', -'o', 'n', '\022', '\026', '\n', '\022', 'R', 'E', 'A', 'S', 'O', 'N', '_', 'U', 'N', 'S', 'P', 'E', 'C', 'I', 'F', 'I', 'E', 'D', '\020', -'\000', '\022', '\024', '\n', '\020', 'E', 'X', 'T', 'E', 'R', 'N', 'A', 'L', '_', 'S', 'E', 'R', 'V', 'I', 'C', 'E', '\020', '\001', ':', '9', -'\232', '\305', '\210', '\036', '4', '\n', '2', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', -'o', 'g', '.', 'v', '2', '.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', '.', 'U', 'n', 'a', 'u', 't', -'h', 'o', 'r', 'i', 'z', 'e', 'd', ':', ',', '\232', '\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', -'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', -'a', 'g', 's', '\"', '\255', '\010', '\n', '\r', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', 'R', '\n', '\013', -'t', 'l', 's', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\016', '2', '1', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'T', 'L', 'S', 'P', 'r', 'o', -'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'T', 'L', 'S', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'R', '\n', 't', 'l', 's', 'V', 'e', -'r', 's', 'i', 'o', 'n', '\022', 'F', '\n', '\020', 't', 'l', 's', '_', 'c', 'i', 'p', 'h', 'e', 'r', '_', 's', 'u', 'i', 't', 'e', -'\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\016', 't', 'l', 's', 'C', 'i', 'p', 'h', 'e', 'r', 'S', 'u', 'i', -'t', 'e', '\022', '(', '\n', '\020', 't', 'l', 's', '_', 's', 'n', 'i', '_', 'h', 'o', 's', 't', 'n', 'a', 'm', 'e', '\030', '\003', ' ', -'\001', '(', '\t', 'R', '\016', 't', 'l', 's', 'S', 'n', 'i', 'H', 'o', 's', 't', 'n', 'a', 'm', 'e', '\022', '~', '\n', '\034', 'l', 'o', -'c', 'a', 'l', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', -'s', '\030', '\004', ' ', '\001', '(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', -'s', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'C', 'e', -'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'R', '\032', 'l', 'o', 'c', 'a', -'l', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', '|', '\n', -'\033', 'p', 'e', 'e', 'r', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'p', 'e', 'r', 't', -'i', 'e', 's', '\030', '\005', ' ', '\001', '(', '\013', '2', '<', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', -'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', -'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'R', '\031', 'p', 'e', -'e', 'r', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', '$', -'\n', '\016', 't', 'l', 's', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 'i', 'd', '\030', '\006', ' ', '\001', '(', '\t', 'R', '\014', 't', -'l', 's', 'S', 'e', 's', 's', 'i', 'o', 'n', 'I', 'd', '\022', '\'', '\n', '\017', 'j', 'a', '3', '_', 'f', 'i', 'n', 'g', 'e', 'r', -'p', 'r', 'i', 'n', 't', '\030', '\007', ' ', '\001', '(', '\t', 'R', '\016', 'j', 'a', '3', 'F', 'i', 'n', 'g', 'e', 'r', 'p', 'r', 'i', -'n', 't', '\032', '\201', '\003', '\n', '\025', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', -'i', 'e', 's', '\022', 'u', '\n', '\020', 's', 'u', 'b', 'j', 'e', 'c', 't', '_', 'a', 'l', 't', '_', 'n', 'a', 'm', 'e', '\030', '\001', -' ', '\003', '(', '\013', '2', 'K', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', -'o', 'g', '.', 'v', '3', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'C', 'e', 'r', 't', 'i', -'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', -'l', 't', 'N', 'a', 'm', 'e', 'R', '\016', 's', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', 'm', 'e', '\022', '\030', '\n', -'\007', 's', 'u', 'b', 'j', 'e', 'c', 't', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\007', 's', 'u', 'b', 'j', 'e', 'c', 't', '\032', '\222', -'\001', '\n', '\016', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', 'm', 'e', '\022', '\022', '\n', '\003', 'u', 'r', 'i', '\030', -'\001', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\003', 'u', 'r', 'i', '\022', '\022', '\n', '\003', 'd', 'n', 's', '\030', '\002', ' ', '\001', '(', '\t', -'H', '\000', 'R', '\003', 'd', 'n', 's', ':', 'Q', '\232', '\305', '\210', '\036', 'L', '\n', 'J', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', -'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', -'i', 'e', 's', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', -'.', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', 'm', 'e', 'B', '\005', '\n', '\003', 's', 'a', 'n', ':', 'B', '\232', -'\305', '\210', '\036', '=', '\n', ';', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', -'g', '.', 'v', '2', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'C', 'e', 'r', 't', 'i', 'f', -'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\"', 'W', '\n', '\n', 'T', 'L', 'S', 'V', 'e', 'r', -'s', 'i', 'o', 'n', '\022', '\027', '\n', '\023', 'V', 'E', 'R', 'S', 'I', 'O', 'N', '_', 'U', 'N', 'S', 'P', 'E', 'C', 'I', 'F', 'I', -'E', 'D', '\020', '\000', '\022', '\t', '\n', '\005', 'T', 'L', 'S', 'v', '1', '\020', '\001', '\022', '\013', '\n', '\007', 'T', 'L', 'S', 'v', '1', '_', -'1', '\020', '\002', '\022', '\013', '\n', '\007', 'T', 'L', 'S', 'v', '1', '_', '2', '\020', '\003', '\022', '\013', '\n', '\007', 'T', 'L', 'S', 'v', '1', -'_', '3', '\020', '\004', ':', ',', '\232', '\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', -'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'T', 'L', 'S', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', -'\"', '\331', '\006', '\n', '\025', 'H', 'T', 'T', 'P', 'R', 'e', 'q', 'u', 'e', 's', 't', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', -'s', '\022', 'T', '\n', '\016', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'm', 'e', 't', 'h', 'o', 'd', '\030', '\001', ' ', '\001', '(', '\016', -'2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'R', -'e', 'q', 'u', 'e', 's', 't', 'M', 'e', 't', 'h', 'o', 'd', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\r', 'r', -'e', 'q', 'u', 'e', 's', 't', 'M', 'e', 't', 'h', 'o', 'd', '\022', '\026', '\n', '\006', 's', 'c', 'h', 'e', 'm', 'e', '\030', '\002', ' ', -'\001', '(', '\t', 'R', '\006', 's', 'c', 'h', 'e', 'm', 'e', '\022', '\034', '\n', '\t', 'a', 'u', 't', 'h', 'o', 'r', 'i', 't', 'y', '\030', -'\003', ' ', '\001', '(', '\t', 'R', '\t', 'a', 'u', 't', 'h', 'o', 'r', 'i', 't', 'y', '\022', '0', '\n', '\004', 'p', 'o', 'r', 't', '\030', -'\004', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', -'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\004', 'p', 'o', 'r', 't', '\022', '\022', '\n', '\004', 'p', 'a', 't', 'h', '\030', -'\005', ' ', '\001', '(', '\t', 'R', '\004', 'p', 'a', 't', 'h', '\022', '\035', '\n', '\n', 'u', 's', 'e', 'r', '_', 'a', 'g', 'e', 'n', 't', -'\030', '\006', ' ', '\001', '(', '\t', 'R', '\t', 'u', 's', 'e', 'r', 'A', 'g', 'e', 'n', 't', '\022', '\030', '\n', '\007', 'r', 'e', 'f', 'e', -'r', 'e', 'r', '\030', '\007', ' ', '\001', '(', '\t', 'R', '\007', 'r', 'e', 'f', 'e', 'r', 'e', 'r', '\022', '#', '\n', '\r', 'f', 'o', 'r', -'w', 'a', 'r', 'd', 'e', 'd', '_', 'f', 'o', 'r', '\030', '\010', ' ', '\001', '(', '\t', 'R', '\014', 'f', 'o', 'r', 'w', 'a', 'r', 'd', -'e', 'd', 'F', 'o', 'r', '\022', '\035', '\n', '\n', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'i', 'd', '\030', '\t', ' ', '\001', '(', '\t', -'R', '\t', 'r', 'e', 'q', 'u', 'e', 's', 't', 'I', 'd', '\022', '#', '\n', '\r', 'o', 'r', 'i', 'g', 'i', 'n', 'a', 'l', '_', 'p', -'a', 't', 'h', '\030', '\n', ' ', '\001', '(', '\t', 'R', '\014', 'o', 'r', 'i', 'g', 'i', 'n', 'a', 'l', 'P', 'a', 't', 'h', '\022', '2', -'\n', '\025', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 'b', 'y', 't', 'e', 's', '\030', '\013', -' ', '\001', '(', '\004', 'R', '\023', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'B', 'y', 't', 'e', 's', -'\022', ',', '\n', '\022', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'b', 'o', 'd', 'y', '_', 'b', 'y', 't', 'e', 's', '\030', '\014', ' ', -'\001', '(', '\004', 'R', '\020', 'r', 'e', 'q', 'u', 'e', 's', 't', 'B', 'o', 'd', 'y', 'B', 'y', 't', 'e', 's', '\022', 'k', '\n', '\017', -'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\r', ' ', '\003', '(', '\013', '2', 'B', '.', 'e', -'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'H', 'T', -'T', 'P', 'R', 'e', 'q', 'u', 'e', 's', 't', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'R', 'e', 'q', 'u', 'e', -'s', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'E', 'n', 't', 'r', 'y', 'R', '\016', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', -'a', 'd', 'e', 'r', 's', '\022', ';', '\n', '\032', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', -'b', 'y', 't', 'e', 's', '_', 's', 'e', 'n', 't', '\030', '\016', ' ', '\001', '(', '\004', 'R', '\027', 'u', 'p', 's', 't', 'r', 'e', 'a', -'m', 'H', 'e', 'a', 'd', 'e', 'r', 'B', 'y', 't', 'e', 's', 'S', 'e', 'n', 't', '\022', 'G', '\n', ' ', 'd', 'o', 'w', 'n', 's', -'t', 'r', 'e', 'a', 'm', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'b', 'y', 't', 'e', 's', '_', 'r', 'e', 'c', 'e', 'i', 'v', -'e', 'd', '\030', '\017', ' ', '\001', '(', '\004', 'R', '\035', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'H', 'e', 'a', 'd', 'e', -'r', 'B', 'y', 't', 'e', 's', 'R', 'e', 'c', 'e', 'i', 'v', 'e', 'd', '\032', 'A', '\n', '\023', 'R', 'e', 'q', 'u', 'e', 's', 't', -'H', 'e', 'a', 'd', 'e', 'r', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', -'R', '\003', 'k', 'e', 'y', '\022', '\024', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\005', 'v', 'a', 'l', -'u', 'e', ':', '\002', '8', '\001', ':', '4', '\232', '\305', '\210', '\036', '/', '\n', '-', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', -'.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'H', 'T', 'T', 'P', 'R', 'e', 'q', 'u', 'e', 's', 't', -'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\"', '\240', '\006', '\n', '\026', 'H', 'T', 'T', 'P', 'R', 'e', 's', 'p', 'o', 'n', -'s', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '\022', 'A', '\n', '\r', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', -'c', 'o', 'd', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\014', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', -'C', 'o', 'd', 'e', '\022', '4', '\n', '\026', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', -'b', 'y', 't', 'e', 's', '\030', '\002', ' ', '\001', '(', '\004', 'R', '\024', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', -'e', 'r', 's', 'B', 'y', 't', 'e', 's', '\022', '.', '\n', '\023', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'b', 'o', 'd', 'y', -'_', 'b', 'y', 't', 'e', 's', '\030', '\003', ' ', '\001', '(', '\004', 'R', '\021', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'B', 'o', 'd', -'y', 'B', 'y', 't', 'e', 's', '\022', 'o', '\n', '\020', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', -'s', '\030', '\004', ' ', '\003', '(', '\013', '2', 'D', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', -'s', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'H', 'T', 'T', 'P', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'P', 'r', 'o', 'p', -'e', 'r', 't', 'i', 'e', 's', '.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'E', 'n', 't', -'r', 'y', 'R', '\017', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', '\022', 'r', '\n', '\021', 'r', 'e', -'s', 'p', 'o', 'n', 's', 'e', '_', 't', 'r', 'a', 'i', 'l', 'e', 'r', 's', '\030', '\005', ' ', '\003', '(', '\013', '2', 'E', '.', 'e', -'n', 'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'H', 'T', -'T', 'P', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '.', 'R', 'e', 's', 'p', -'o', 'n', 's', 'e', 'T', 'r', 'a', 'i', 'l', 'e', 'r', 's', 'E', 'n', 't', 'r', 'y', 'R', '\020', 'r', 'e', 's', 'p', 'o', 'n', -'s', 'e', 'T', 'r', 'a', 'i', 'l', 'e', 'r', 's', '\022', '2', '\n', '\025', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'c', 'o', -'d', 'e', '_', 'd', 'e', 't', 'a', 'i', 'l', 's', '\030', '\006', ' ', '\001', '(', '\t', 'R', '\023', 'r', 'e', 's', 'p', 'o', 'n', 's', -'e', 'C', 'o', 'd', 'e', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', 'C', '\n', '\036', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', -'h', 'e', 'a', 'd', 'e', 'r', '_', 'b', 'y', 't', 'e', 's', '_', 'r', 'e', 'c', 'e', 'i', 'v', 'e', 'd', '\030', '\007', ' ', '\001', -'(', '\004', 'R', '\033', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'H', 'e', 'a', 'd', 'e', 'r', 'B', 'y', 't', 'e', 's', 'R', 'e', -'c', 'e', 'i', 'v', 'e', 'd', '\022', '?', '\n', '\034', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'h', 'e', 'a', 'd', -'e', 'r', '_', 'b', 'y', 't', 'e', 's', '_', 's', 'e', 'n', 't', '\030', '\010', ' ', '\001', '(', '\004', 'R', '\031', 'd', 'o', 'w', 'n', -'s', 't', 'r', 'e', 'a', 'm', 'H', 'e', 'a', 'd', 'e', 'r', 'B', 'y', 't', 'e', 's', 'S', 'e', 'n', 't', '\032', 'B', '\n', '\024', -'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', -'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '\024', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', -'\001', '(', '\t', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', '\032', 'C', '\n', '\025', 'R', 'e', 's', 'p', 'o', 'n', 's', -'e', 'T', 'r', 'a', 'i', 'l', 'e', 'r', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', -'(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', '\024', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\005', 'v', -'a', 'l', 'u', 'e', ':', '\002', '8', '\001', ':', '5', '\232', '\305', '\210', '\036', '0', '\n', '.', 'e', 'n', 'v', 'o', 'y', '.', 'd', 'a', -'t', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '2', '.', 'H', 'T', 'T', 'P', 'R', 'e', 's', 'p', 'o', -'n', 's', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', '*', '\207', '\002', '\n', '\r', 'A', 'c', 'c', 'e', 's', 's', 'L', -'o', 'g', 'T', 'y', 'p', 'e', '\022', '\n', '\n', '\006', 'N', 'o', 't', 'S', 'e', 't', '\020', '\000', '\022', '\030', '\n', '\024', 'T', 'c', 'p', -'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'e', 'd', '\020', '\001', '\022', '\017', '\n', '\013', 'T', 'c', -'p', 'P', 'e', 'r', 'i', 'o', 'd', 'i', 'c', '\020', '\002', '\022', '\024', '\n', '\020', 'T', 'c', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', -'i', 'o', 'n', 'E', 'n', 'd', '\020', '\003', '\022', '\023', '\n', '\017', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'S', 't', 'a', -'r', 't', '\020', '\004', '\022', '\026', '\n', '\022', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'P', 'e', 'r', 'i', 'o', 'd', 'i', -'c', '\020', '\005', '\022', '\021', '\n', '\r', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'E', 'n', 'd', '\020', '\006', '\022', '\025', '\n', -'\021', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'P', 'o', 'o', 'l', 'R', 'e', 'a', 'd', 'y', '\020', '\007', '\022', '\024', '\n', '\020', 'U', -'p', 's', 't', 'r', 'e', 'a', 'm', 'P', 'e', 'r', 'i', 'o', 'd', 'i', 'c', '\020', '\010', '\022', '\017', '\n', '\013', 'U', 'p', 's', 't', -'r', 'e', 'a', 'm', 'E', 'n', 'd', '\020', '\t', '\022', '+', '\n', '\'', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'T', 'u', -'n', 'n', 'e', 'l', 'S', 'u', 'c', 'c', 'e', 's', 's', 'f', 'u', 'l', 'l', 'y', 'E', 's', 't', 'a', 'b', 'l', 'i', 's', 'h', -'e', 'd', '\020', '\n', 'B', '\215', '\001', '\n', '%', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', -'v', 'o', 'y', '.', 'd', 'a', 't', 'a', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', 'B', '\016', 'A', 'c', -'c', 'e', 's', 's', 'l', 'o', 'g', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'J', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', -'m', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', -'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'd', 'a', 't', 'a', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', -'/', 'v', '3', ';', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', -'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[11] = { - &envoy_config_core_v3_address_proto_upbdefinit, - &envoy_config_core_v3_base_proto_upbdefinit, - &google_protobuf_any_proto_upbdefinit, - &google_protobuf_duration_proto_upbdefinit, - &google_protobuf_timestamp_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_data_accesslog_v3_accesslog_proto_upbdefinit = { - deps, - &envoy_data_accesslog_v3_accesslog_proto_upb_file_layout, - "envoy/data/accesslog/v3/accesslog.proto", - UPB_STRINGVIEW_INIT(descriptor, 8931) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h deleted file mode 100644 index 0365fbab046..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/data/accesslog/v3/accesslog.upbdefs.h +++ /dev/null @@ -1,111 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/data/accesslog/v3/accesslog.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPBDEFS_H_ -#define ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_data_accesslog_v3_accesslog_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_TCPAccessLogEntry_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.TCPAccessLogEntry"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_HTTPAccessLogEntry_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.HTTPAccessLogEntry"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_ConnectionProperties_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.ConnectionProperties"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_AccessLogCommon_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.AccessLogCommon"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.AccessLogCommon.FilterStateObjectsEntry"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.AccessLogCommon.CustomTagsEntry"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_ResponseFlags_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.ResponseFlags"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_ResponseFlags_Unauthorized_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.ResponseFlags.Unauthorized"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_TLSProperties_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.TLSProperties"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_TLSProperties_CertificateProperties_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.TLSProperties.CertificateProperties"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_HTTPRequestProperties_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.HTTPRequestProperties"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_HTTPRequestProperties_RequestHeadersEntry_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.HTTPRequestProperties.RequestHeadersEntry"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_HTTPResponseProperties_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.HTTPResponseProperties"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_HTTPResponseProperties_ResponseHeadersEntry_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.HTTPResponseProperties.ResponseHeadersEntry"); -} - -UPB_INLINE const upb_MessageDef *envoy_data_accesslog_v3_HTTPResponseProperties_ResponseTrailersEntry_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_data_accesslog_v3_accesslog_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.data.accesslog.v3.HTTPResponseProperties.ResponseTrailersEntry"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_DATA_ACCESSLOG_V3_ACCESSLOG_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c deleted file mode 100644 index 35ed7d31ce8..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +++ /dev/null @@ -1,50 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/clusters/aggregate/v3/cluster.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h" -#include "envoy/extensions/clusters/aggregate/v3/cluster.upb.h" - -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[481] = {'\n', '4', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'c', 'l', 'u', 's', 't', 'e', -'r', 's', '/', 'a', 'g', 'g', 'r', 'e', 'g', 'a', 't', 'e', '/', 'v', '3', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'p', -'r', 'o', 't', 'o', '\022', '&', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'c', 'l', -'u', 's', 't', 'e', 'r', 's', '.', 'a', 'g', 'g', 'r', 'e', 'g', 'a', 't', 'e', '.', 'v', '3', '\032', '\035', 'u', 'd', 'p', 'a', -'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', -'\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', -'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', -'d', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 'r', '\n', '\r', 'C', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', 'n', 'f', -'i', 'g', '\022', '$', '\n', '\010', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\t', 'B', '\010', '\372', 'B', '\005', -'\222', '\001', '\002', '\010', '\001', 'R', '\010', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', ':', ';', '\232', '\305', '\210', '\036', '6', '\n', '4', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', '.', 'a', 'g', 'g', 'r', 'e', -'g', 'a', 't', 'e', '.', 'v', '2', 'a', 'l', 'p', 'h', 'a', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', -'g', 'B', '\251', '\001', '\n', '4', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', '.', 'a', 'g', 'g', 'r', -'e', 'g', 'a', 't', 'e', '.', 'v', '3', 'B', '\014', 'C', 'l', 'u', 's', 't', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', -'Y', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', -'-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', -'n', 's', 'i', 'o', 'n', 's', '/', 'c', 'l', 'u', 's', 't', 'e', 'r', 's', '/', 'a', 'g', 'g', 'r', 'e', 'g', 'a', 't', 'e', -'/', 'v', '3', ';', 'a', 'g', 'g', 'r', 'e', 'g', 'a', 't', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', -'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[4] = { - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_extensions_clusters_aggregate_v3_cluster_proto_upbdefinit = { - deps, - &envoy_extensions_clusters_aggregate_v3_cluster_proto_upb_file_layout, - "envoy/extensions/clusters/aggregate/v3/cluster.proto", - UPB_STRINGVIEW_INIT(descriptor, 481) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h deleted file mode 100644 index 85a63d8d0c0..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/clusters/aggregate/v3/cluster.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPBDEFS_H_ -#define ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_extensions_clusters_aggregate_v3_cluster_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_extensions_clusters_aggregate_v3_ClusterConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_clusters_aggregate_v3_cluster_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.clusters.aggregate.v3.ClusterConfig"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_CLUSTERS_AGGREGATE_V3_CLUSTER_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c deleted file mode 100644 index fa1c04d29b9..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +++ /dev/null @@ -1,92 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/common/fault/v3/fault.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/extensions/filters/common/fault/v3/fault.upbdefs.h" -#include "envoy/extensions/filters/common/fault/v3/fault.upb.h" - -extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[1444] = {'\n', '4', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', -'s', '/', 'c', 'o', 'm', 'm', 'o', 'n', '/', 'f', 'a', 'u', 'l', 't', '/', 'v', '3', '/', 'f', 'a', 'u', 'l', 't', '.', 'p', -'r', 'o', 't', 'o', '\022', '(', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', -'l', 't', 'e', 'r', 's', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '\032', '\033', 'e', 'n', -'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', -'\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', -'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', -'/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', -'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', -'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\304', -'\003', '\n', '\n', 'F', 'a', 'u', 'l', 't', 'D', 'e', 'l', 'a', 'y', '\022', 'F', '\n', '\013', 'f', 'i', 'x', 'e', 'd', '_', 'd', 'e', -'l', 'a', 'y', '\030', '\003', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', -'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\252', '\001', '\002', '*', '\000', 'H', '\000', 'R', '\n', -'f', 'i', 'x', 'e', 'd', 'D', 'e', 'l', 'a', 'y', '\022', 'e', '\n', '\014', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'd', 'e', 'l', 'a', -'y', '\030', '\005', ' ', '\001', '(', '\013', '2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', -'s', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', -'.', 'F', 'a', 'u', 'l', 't', 'D', 'e', 'l', 'a', 'y', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'D', 'e', 'l', 'a', 'y', 'H', '\000', -'R', '\013', 'h', 'e', 'a', 'd', 'e', 'r', 'D', 'e', 'l', 'a', 'y', '\022', '@', '\n', '\n', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'a', -'g', 'e', '\030', '\004', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', -'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\n', 'p', 'e', 'r', 'c', 'e', 'n', -'t', 'a', 'g', 'e', '\032', 'I', '\n', '\013', 'H', 'e', 'a', 'd', 'e', 'r', 'D', 'e', 'l', 'a', 'y', ':', ':', '\232', '\305', '\210', '\036', -'5', '\n', '3', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'f', 'a', -'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', 'l', 't', 'D', 'e', 'l', 'a', 'y', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'D', -'e', 'l', 'a', 'y', '\"', '\033', '\n', '\016', 'F', 'a', 'u', 'l', 't', 'D', 'e', 'l', 'a', 'y', 'T', 'y', 'p', 'e', '\022', '\t', '\n', -'\005', 'F', 'I', 'X', 'E', 'D', '\020', '\000', ':', '.', '\232', '\305', '\210', '\036', ')', '\n', '\'', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', 'l', -'t', 'D', 'e', 'l', 'a', 'y', 'B', '\033', '\n', '\024', 'f', 'a', 'u', 'l', 't', '_', 'd', 'e', 'l', 'a', 'y', '_', 's', 'e', 'c', -'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', 'J', '\004', '\010', '\002', '\020', '\003', 'J', '\004', '\010', '\001', '\020', '\002', 'R', '\004', 't', -'y', 'p', 'e', '\"', '\260', '\004', '\n', '\016', 'F', 'a', 'u', 'l', 't', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '\022', 'f', '\n', -'\013', 'f', 'i', 'x', 'e', 'd', '_', 'l', 'i', 'm', 'i', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', 'C', '.', 'e', 'n', 'v', 'o', -'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'c', 'o', 'm', 'm', -'o', 'n', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '.', 'F', 'a', 'u', 'l', 't', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', -'t', '.', 'F', 'i', 'x', 'e', 'd', 'L', 'i', 'm', 'i', 't', 'H', '\000', 'R', '\n', 'f', 'i', 'x', 'e', 'd', 'L', 'i', 'm', 'i', -'t', '\022', 'i', '\n', '\014', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'l', 'i', 'm', 'i', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', 'D', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', -'.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '.', 'F', 'a', 'u', 'l', 't', 'R', 'a', 't', -'e', 'L', 'i', 'm', 'i', 't', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'L', 'i', 'm', 'i', 't', 'H', '\000', 'R', '\013', 'h', 'e', 'a', -'d', 'e', 'r', 'L', 'i', 'm', 'i', 't', '\022', '@', '\n', '\n', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'a', 'g', 'e', '\030', '\002', ' ', -'\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', 't', -'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\n', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'a', 'g', 'e', '\032', -'s', '\n', '\n', 'F', 'i', 'x', 'e', 'd', 'L', 'i', 'm', 'i', 't', '\022', '&', '\n', '\n', 'l', 'i', 'm', 'i', 't', '_', 'k', 'b', -'p', 's', '\030', '\001', ' ', '\001', '(', '\004', 'B', '\007', '\372', 'B', '\004', '2', '\002', '(', '\001', 'R', '\t', 'l', 'i', 'm', 'i', 't', 'K', -'b', 'p', 's', ':', '=', '\232', '\305', '\210', '\036', '8', '\n', '6', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'f', 'i', 'l', 't', 'e', 'r', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', 'l', 't', 'R', 'a', 't', 'e', -'L', 'i', 'm', 'i', 't', '.', 'F', 'i', 'x', 'e', 'd', 'L', 'i', 'm', 'i', 't', '\032', 'M', '\n', '\013', 'H', 'e', 'a', 'd', 'e', -'r', 'L', 'i', 'm', 'i', 't', ':', '>', '\232', '\305', '\210', '\036', '9', '\n', '7', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', 'l', 't', 'R', -'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'L', 'i', 'm', 'i', 't', ':', '2', '\232', '\305', '\210', -'\036', '-', '\n', '+', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'f', -'a', 'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', 'l', 't', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 'B', '\021', '\n', -'\n', 'l', 'i', 'm', 'i', 't', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', 'B', '\247', '\001', '\n', '6', 'i', 'o', '.', 'e', -'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', -'s', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', -'B', '\n', 'F', 'a', 'u', 'l', 't', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'W', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', -'m', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', -'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', -'t', 'e', 'r', 's', '/', 'c', 'o', 'm', 'm', 'o', 'n', '/', 'f', 'a', 'u', 'l', 't', '/', 'v', '3', ';', 'f', 'a', 'u', 'l', -'t', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[6] = { - &envoy_type_v3_percent_proto_upbdefinit, - &google_protobuf_duration_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit = { - deps, - &envoy_extensions_filters_common_fault_v3_fault_proto_upb_file_layout, - "envoy/extensions/filters/common/fault/v3/fault.proto", - UPB_STRINGVIEW_INIT(descriptor, 1444) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h deleted file mode 100644 index 7466f434977..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +++ /dev/null @@ -1,56 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/common/fault/v3/fault.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPBDEFS_H_ -#define ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_extensions_filters_common_fault_v3_FaultDelay_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.common.fault.v3.FaultDelay"); -} - -UPB_INLINE const upb_MessageDef *envoy_extensions_filters_common_fault_v3_FaultDelay_HeaderDelay_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.common.fault.v3.FaultDelay.HeaderDelay"); -} - -UPB_INLINE const upb_MessageDef *envoy_extensions_filters_common_fault_v3_FaultRateLimit_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.common.fault.v3.FaultRateLimit"); -} - -UPB_INLINE const upb_MessageDef *envoy_extensions_filters_common_fault_v3_FaultRateLimit_FixedLimit_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.common.fault.v3.FaultRateLimit.FixedLimit"); -} - -UPB_INLINE const upb_MessageDef *envoy_extensions_filters_common_fault_v3_FaultRateLimit_HeaderLimit_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.common.fault.v3.FaultRateLimit.HeaderLimit"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_FILTERS_COMMON_FAULT_V3_FAULT_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c deleted file mode 100644 index 9453b2e2db8..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +++ /dev/null @@ -1,123 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/http/fault/v3/fault.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/extensions/filters/http/fault/v3/fault.upbdefs.h" -#include "envoy/extensions/filters/http/fault/v3/fault.upb.h" - -extern _upb_DefPool_Init envoy_config_route_v3_route_components_proto_upbdefinit; -extern _upb_DefPool_Init envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[2069] = {'\n', '2', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', -'s', '/', 'h', 't', 't', 'p', '/', 'f', 'a', 'u', 'l', 't', '/', 'v', '3', '/', 'f', 'a', 'u', 'l', 't', '.', 'p', 'r', 'o', -'t', 'o', '\022', '&', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', -'e', 'r', 's', '.', 'h', 't', 't', 'p', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '\032', ',', 'e', 'n', 'v', 'o', 'y', '/', -'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 'r', 'o', 'u', 't', 'e', '_', 'c', 'o', 'm', -'p', 'o', 'n', 'e', 'n', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '4', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', -'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', 's', '/', 'c', 'o', 'm', 'm', 'o', 'n', '/', 'f', 'a', 'u', -'l', 't', '/', 'v', '3', '/', 'f', 'a', 'u', 'l', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', 'o', 'y', '/', -'t', 'y', 'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\034', 'g', 'o', -'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 's', 't', 'r', 'u', 'c', 't', '.', 'p', 'r', 'o', 't', -'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', -'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', -'s', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', -'t', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', -'\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', -'\244', '\003', '\n', '\n', 'F', 'a', 'u', 'l', 't', 'A', 'b', 'o', 'r', 't', '\022', '.', '\n', '\013', 'h', 't', 't', 'p', '_', 's', 't', -'a', 't', 'u', 's', '\030', '\002', ' ', '\001', '(', '\r', 'B', '\013', '\372', 'B', '\010', '*', '\006', '\020', '\330', '\004', '(', '\310', '\001', 'H', '\000', -'R', '\n', 'h', 't', 't', 'p', 'S', 't', 'a', 't', 'u', 's', '\022', '!', '\n', '\013', 'g', 'r', 'p', 'c', '_', 's', 't', 'a', 't', -'u', 's', '\030', '\005', ' ', '\001', '(', '\r', 'H', '\000', 'R', '\n', 'g', 'r', 'p', 'c', 'S', 't', 'a', 't', 'u', 's', '\022', 'c', '\n', -'\014', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'a', 'b', 'o', 'r', 't', '\030', '\004', ' ', '\001', '(', '\013', '2', '>', '.', 'e', 'n', 'v', -'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'h', 't', 't', -'p', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '.', 'F', 'a', 'u', 'l', 't', 'A', 'b', 'o', 'r', 't', '.', 'H', 'e', 'a', -'d', 'e', 'r', 'A', 'b', 'o', 'r', 't', 'H', '\000', 'R', '\013', 'h', 'e', 'a', 'd', 'e', 'r', 'A', 'b', 'o', 'r', 't', '\022', '@', -'\n', '\n', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'a', 'g', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', -'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'F', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'e', 'r', 'c', 'e', -'n', 't', 'R', '\n', 'p', 'e', 'r', 'c', 'e', 'n', 't', 'a', 'g', 'e', '\032', 'N', '\n', '\013', 'H', 'e', 'a', 'd', 'e', 'r', 'A', -'b', 'o', 'r', 't', ':', '?', '\232', '\305', '\210', '\036', ':', '\n', '8', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'h', 't', 't', 'p', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', -'l', 't', 'A', 'b', 'o', 'r', 't', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'A', 'b', 'o', 'r', 't', ':', '3', '\232', '\305', '\210', '\036', -'.', '\n', ',', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'h', 't', -'t', 'p', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '2', '.', 'F', 'a', 'u', 'l', 't', 'A', 'b', 'o', 'r', 't', 'B', '\021', '\n', -'\n', 'e', 'r', 'r', 'o', 'r', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', 'J', '\004', '\010', '\001', '\020', '\002', '\"', '\307', '\010', -'\n', '\t', 'H', 'T', 'T', 'P', 'F', 'a', 'u', 'l', 't', '\022', 'J', '\n', '\005', 'd', 'e', 'l', 'a', 'y', '\030', '\001', ' ', '\001', '(', -'\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', -'e', 'r', 's', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '.', 'F', 'a', 'u', 'l', 't', -'D', 'e', 'l', 'a', 'y', 'R', '\005', 'd', 'e', 'l', 'a', 'y', '\022', 'H', '\n', '\005', 'a', 'b', 'o', 'r', 't', '\030', '\002', ' ', '\001', -'(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', -'t', 'e', 'r', 's', '.', 'h', 't', 't', 'p', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '3', '.', 'F', 'a', 'u', 'l', 't', 'A', -'b', 'o', 'r', 't', 'R', '\005', 'a', 'b', 'o', 'r', 't', '\022', ')', '\n', '\020', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '_', 'c', -'l', 'u', 's', 't', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\017', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', 'C', 'l', 'u', -'s', 't', 'e', 'r', '\022', '>', '\n', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\030', '\004', ' ', '\003', '(', '\013', '2', '$', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', -'e', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\007', 'h', 'e', 'a', 'd', 'e', 'r', 's', '\022', ')', '\n', '\020', 'd', 'o', 'w', -'n', 's', 't', 'r', 'e', 'a', 'm', '_', 'n', 'o', 'd', 'e', 's', '\030', '\005', ' ', '\003', '(', '\t', 'R', '\017', 'd', 'o', 'w', 'n', -'s', 't', 'r', 'e', 'a', 'm', 'N', 'o', 'd', 'e', 's', '\022', 'H', '\n', '\021', 'm', 'a', 'x', '_', 'a', 'c', 't', 'i', 'v', 'e', -'_', 'f', 'a', 'u', 'l', 't', 's', '\030', '\006', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', -'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\017', 'm', 'a', 'x', 'A', 'c', -'t', 'i', 'v', 'e', 'F', 'a', 'u', 'l', 't', 's', '\022', 'h', '\n', '\023', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'r', 'a', -'t', 'e', '_', 'l', 'i', 'm', 'i', 't', '\030', '\007', ' ', '\001', '(', '\013', '2', '8', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', -'t', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'f', -'a', 'u', 'l', 't', '.', 'v', '3', '.', 'F', 'a', 'u', 'l', 't', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', 'R', '\021', 'r', -'e', 's', 'p', 'o', 'n', 's', 'e', 'R', 'a', 't', 'e', 'L', 'i', 'm', 'i', 't', '\022', '2', '\n', '\025', 'd', 'e', 'l', 'a', 'y', -'_', 'p', 'e', 'r', 'c', 'e', 'n', 't', '_', 'r', 'u', 'n', 't', 'i', 'm', 'e', '\030', '\010', ' ', '\001', '(', '\t', 'R', '\023', 'd', -'e', 'l', 'a', 'y', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', '2', '\n', '\025', 'a', 'b', 'o', -'r', 't', '_', 'p', 'e', 'r', 'c', 'e', 'n', 't', '_', 'r', 'u', 'n', 't', 'i', 'm', 'e', '\030', '\t', ' ', '\001', '(', '\t', 'R', -'\023', 'a', 'b', 'o', 'r', 't', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', '4', '\n', '\026', 'd', -'e', 'l', 'a', 'y', '_', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '_', 'r', 'u', 'n', 't', 'i', 'm', 'e', '\030', '\n', ' ', '\001', -'(', '\t', 'R', '\024', 'd', 'e', 'l', 'a', 'y', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', -'9', '\n', '\031', 'a', 'b', 'o', 'r', 't', '_', 'h', 't', 't', 'p', '_', 's', 't', 'a', 't', 'u', 's', '_', 'r', 'u', 'n', 't', -'i', 'm', 'e', '\030', '\013', ' ', '\001', '(', '\t', 'R', '\026', 'a', 'b', 'o', 'r', 't', 'H', 't', 't', 'p', 'S', 't', 'a', 't', 'u', -'s', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', '9', '\n', '\031', 'm', 'a', 'x', '_', 'a', 'c', 't', 'i', 'v', 'e', '_', 'f', 'a', -'u', 'l', 't', 's', '_', 'r', 'u', 'n', 't', 'i', 'm', 'e', '\030', '\014', ' ', '\001', '(', '\t', 'R', '\026', 'm', 'a', 'x', 'A', 'c', -'t', 'i', 'v', 'e', 'F', 'a', 'u', 'l', 't', 's', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', 'L', '\n', '#', 'r', 'e', 's', 'p', -'o', 'n', 's', 'e', '_', 'r', 'a', 't', 'e', '_', 'l', 'i', 'm', 'i', 't', '_', 'p', 'e', 'r', 'c', 'e', 'n', 't', '_', 'r', -'u', 'n', 't', 'i', 'm', 'e', '\030', '\r', ' ', '\001', '(', '\t', 'R', '\037', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'R', 'a', 't', -'e', 'L', 'i', 'm', 'i', 't', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', 'u', 'n', 't', 'i', 'm', 'e', '\022', '9', '\n', '\031', 'a', -'b', 'o', 'r', 't', '_', 'g', 'r', 'p', 'c', '_', 's', 't', 'a', 't', 'u', 's', '_', 'r', 'u', 'n', 't', 'i', 'm', 'e', '\030', -'\016', ' ', '\001', '(', '\t', 'R', '\026', 'a', 'b', 'o', 'r', 't', 'G', 'r', 'p', 'c', 'S', 't', 'a', 't', 'u', 's', 'R', 'u', 'n', -'t', 'i', 'm', 'e', '\022', 'G', '\n', ' ', 'd', 'i', 's', 'a', 'b', 'l', 'e', '_', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', -'m', '_', 'c', 'l', 'u', 's', 't', 'e', 'r', '_', 's', 't', 'a', 't', 's', '\030', '\017', ' ', '\001', '(', '\010', 'R', '\035', 'd', 'i', -'s', 'a', 'b', 'l', 'e', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'C', 'l', 'u', 's', 't', 'e', 'r', 'S', 't', 'a', -'t', 's', '\022', '@', '\n', '\017', 'f', 'i', 'l', 't', 'e', 'r', '_', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '\030', '\020', ' ', '\001', -'(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', -'c', 't', 'R', '\016', 'f', 'i', 'l', 't', 'e', 'r', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', ':', '2', '\232', '\305', '\210', '\036', '-', -'\n', '+', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'h', 't', 't', -'p', '.', 'f', 'a', 'u', 'l', 't', '.', 'v', '2', '.', 'H', 'T', 'T', 'P', 'F', 'a', 'u', 'l', 't', 'B', '\243', '\001', '\n', '4', -'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', -'s', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'h', 't', 't', 'p', '.', 'f', 'a', 'u', 'l', 't', '.', -'v', '3', 'B', '\n', 'F', 'a', 'u', 'l', 't', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'U', 'g', 'i', 't', 'h', 'u', 'b', '.', -'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', -'-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', -'i', 'l', 't', 'e', 'r', 's', '/', 'h', 't', 't', 'p', '/', 'f', 'a', 'u', 'l', 't', '/', 'v', '3', ';', 'f', 'a', 'u', 'l', -'t', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[9] = { - &envoy_config_route_v3_route_components_proto_upbdefinit, - &envoy_extensions_filters_common_fault_v3_fault_proto_upbdefinit, - &envoy_type_v3_percent_proto_upbdefinit, - &google_protobuf_struct_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_extensions_filters_http_fault_v3_fault_proto_upbdefinit = { - deps, - &envoy_extensions_filters_http_fault_v3_fault_proto_upb_file_layout, - "envoy/extensions/filters/http/fault/v3/fault.proto", - UPB_STRINGVIEW_INIT(descriptor, 2069) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h deleted file mode 100644 index 63d7d6f2132..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +++ /dev/null @@ -1,46 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/http/fault/v3/fault.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPBDEFS_H_ -#define ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_extensions_filters_http_fault_v3_fault_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_extensions_filters_http_fault_v3_FaultAbort_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_http_fault_v3_fault_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.http.fault.v3.FaultAbort"); -} - -UPB_INLINE const upb_MessageDef *envoy_extensions_filters_http_fault_v3_FaultAbort_HeaderAbort_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_http_fault_v3_fault_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.http.fault.v3.FaultAbort.HeaderAbort"); -} - -UPB_INLINE const upb_MessageDef *envoy_extensions_filters_http_fault_v3_HTTPFault_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_http_fault_v3_fault_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.http.fault.v3.HTTPFault"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_FILTERS_HTTP_FAULT_V3_FAULT_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c deleted file mode 100644 index 03e2cc930ec..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +++ /dev/null @@ -1,80 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/http/rbac/v3/rbac.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h" -#include "envoy/extensions/filters/http/rbac/v3/rbac.upb.h" - -extern _upb_DefPool_Init envoy_config_rbac_v3_rbac_proto_upbdefinit; -extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; -extern _upb_DefPool_Init xds_type_matcher_v3_matcher_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -static const char descriptor[1080] = {'\n', '0', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', -'s', '/', 'h', 't', 't', 'p', '/', 'r', 'b', 'a', 'c', '/', 'v', '3', '/', 'r', 'b', 'a', 'c', '.', 'p', 'r', 'o', 't', 'o', -'\022', '%', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', -'s', '.', 'h', 't', 't', 'p', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', -'f', 'i', 'g', '/', 'r', 'b', 'a', 'c', '/', 'v', '3', '/', 'r', 'b', 'a', 'c', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'x', -'d', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', -'p', 'r', 'o', 't', 'o', '\032', '!', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', -'3', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', -'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', -'d', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', -'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', -'s', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\"', '\335', '\003', '\n', '\004', 'R', 'B', 'A', 'C', '\022', 'I', '\n', -'\005', 'r', 'u', 'l', 'e', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', 'B', '\027', '\362', '\230', '\376', '\217', '\005', '\021', '\022', '\017', -'r', 'u', 'l', 'e', 's', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'R', '\005', 'r', 'u', 'l', 'e', 's', '\022', 'W', '\n', -'\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\004', ' ', '\001', '(', '\013', '2', '\034', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', -'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\037', '\362', '\230', '\376', '\217', -'\005', '\021', '\022', '\017', 'r', 'u', 'l', 'e', 's', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\322', '\306', '\244', '\341', '\006', '\002', -'\010', '\001', 'R', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\022', ']', '\n', '\014', 's', 'h', 'a', 'd', 'o', 'w', '_', 'r', 'u', 'l', -'e', 's', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', -'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', 'B', '\036', '\362', '\230', '\376', '\217', '\005', '\030', '\022', '\026', 's', 'h', 'a', 'd', -'o', 'w', '_', 'r', 'u', 'l', 'e', 's', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', 'R', '\013', 's', 'h', 'a', 'd', 'o', -'w', 'R', 'u', 'l', 'e', 's', '\022', 'k', '\n', '\016', 's', 'h', 'a', 'd', 'o', 'w', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', -'\005', ' ', '\001', '(', '\013', '2', '\034', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', -'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '&', '\362', '\230', '\376', '\217', '\005', '\030', '\022', '\026', 's', 'h', 'a', 'd', 'o', -'w', '_', 'r', 'u', 'l', 'e', 's', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', -'R', '\r', 's', 'h', 'a', 'd', 'o', 'w', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', '7', '\n', '\030', 's', 'h', 'a', 'd', 'o', 'w', -'_', 'r', 'u', 'l', 'e', 's', '_', 's', 't', 'a', 't', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\003', ' ', '\001', '(', '\t', 'R', -'\025', 's', 'h', 'a', 'd', 'o', 'w', 'R', 'u', 'l', 'e', 's', 'S', 't', 'a', 't', 'P', 'r', 'e', 'f', 'i', 'x', ':', ',', '\232', -'\305', '\210', '\036', '\'', '\n', '%', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', -'.', 'h', 't', 't', 'p', '.', 'r', 'b', 'a', 'c', '.', 'v', '2', '.', 'R', 'B', 'A', 'C', '\"', '\213', '\001', '\n', '\014', 'R', 'B', -'A', 'C', 'P', 'e', 'r', 'R', 'o', 'u', 't', 'e', '\022', '?', '\n', '\004', 'r', 'b', 'a', 'c', '\030', '\002', ' ', '\001', '(', '\013', '2', -'+', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', -'s', '.', 'h', 't', 't', 'p', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', '.', 'R', 'B', 'A', 'C', 'R', '\004', 'r', 'b', 'a', 'c', -':', '4', '\232', '\305', '\210', '\036', '/', '\n', '-', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', -'t', 'e', 'r', '.', 'h', 't', 't', 'p', '.', 'r', 'b', 'a', 'c', '.', 'v', '2', '.', 'R', 'B', 'A', 'C', 'P', 'e', 'r', 'R', -'o', 'u', 't', 'e', 'J', '\004', '\010', '\001', '\020', '\002', 'B', '\237', '\001', '\n', '3', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', -'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', -'e', 'r', 's', '.', 'h', 't', 't', 'p', '.', 'r', 'b', 'a', 'c', '.', 'v', '3', 'B', '\t', 'R', 'b', 'a', 'c', 'P', 'r', 'o', -'t', 'o', 'P', '\001', 'Z', 'S', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', -'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', -'/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', 's', '/', 'h', 't', 't', 'p', '/', -'r', 'b', 'a', 'c', '/', 'v', '3', ';', 'r', 'b', 'a', 'c', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', -'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[7] = { - &envoy_config_rbac_v3_rbac_proto_upbdefinit, - &xds_annotations_v3_status_proto_upbdefinit, - &xds_type_matcher_v3_matcher_proto_upbdefinit, - &udpa_annotations_migrate_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_extensions_filters_http_rbac_v3_rbac_proto_upbdefinit = { - deps, - &envoy_extensions_filters_http_rbac_v3_rbac_proto_upb_file_layout, - "envoy/extensions/filters/http/rbac/v3/rbac.proto", - UPB_STRINGVIEW_INIT(descriptor, 1080) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h deleted file mode 100644 index ec65dcc99fb..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +++ /dev/null @@ -1,41 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/http/rbac/v3/rbac.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPBDEFS_H_ -#define ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_extensions_filters_http_rbac_v3_rbac_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_extensions_filters_http_rbac_v3_RBAC_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_http_rbac_v3_rbac_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.http.rbac.v3.RBAC"); -} - -UPB_INLINE const upb_MessageDef *envoy_extensions_filters_http_rbac_v3_RBACPerRoute_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_filters_http_rbac_v3_rbac_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.filters.http.rbac.v3.RBACPerRoute"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_FILTERS_HTTP_RBAC_V3_RBAC_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c deleted file mode 100644 index 9812b6091c7..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +++ /dev/null @@ -1,60 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/http/stateful_session/v3/stateful_session.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h" -#include "envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[733] = {'\n', 'H', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', -'s', '/', 'h', 't', 't', 'p', '/', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '/', 'v', -'3', '/', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\022', -'1', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', -'.', 'h', 't', 't', 'p', '.', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '.', 'v', '3', -'\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', -'t', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', -'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', -'d', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 'b', '\n', '\017', 'S', 't', -'a', 't', 'e', 'f', 'u', 'l', 'S', 'e', 's', 's', 'i', 'o', 'n', '\022', 'O', '\n', '\r', 's', 'e', 's', 's', 'i', 'o', 'n', '_', -'s', 't', 'a', 't', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', -'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', -'o', 'n', 'f', 'i', 'g', 'R', '\014', 's', 'e', 's', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'e', '\"', '\302', '\001', '\n', '\027', 'S', -'t', 'a', 't', 'e', 'f', 'u', 'l', 'S', 'e', 's', 's', 'i', 'o', 'n', 'P', 'e', 'r', 'R', 'o', 'u', 't', 'e', '\022', '%', '\n', -'\010', 'd', 'i', 's', 'a', 'b', 'l', 'e', 'd', '\030', '\001', ' ', '\001', '(', '\010', 'B', '\007', '\372', 'B', '\004', 'j', '\002', '\010', '\001', 'H', -'\000', 'R', '\010', 'd', 'i', 's', 'a', 'b', 'l', 'e', 'd', '\022', 'o', '\n', '\020', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', -'e', 's', 's', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\013', '2', 'B', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', -'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'h', 't', 't', 'p', '.', 's', 't', 'a', 't', 'e', -'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '.', 'v', '3', '.', 'S', 't', 'a', 't', 'e', 'f', 'u', 'l', 'S', 'e', -'s', 's', 'i', 'o', 'n', 'H', '\000', 'R', '\017', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', 'S', 'e', 's', 's', 'i', 'o', 'n', 'B', -'\017', '\n', '\010', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '\022', '\003', '\370', 'B', '\001', 'B', '\316', '\001', '\n', '?', 'i', 'o', '.', 'e', -'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', -'s', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'h', 't', 't', 'p', '.', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', -'e', 's', 's', 'i', 'o', 'n', '.', 'v', '3', 'B', '\024', 'S', 't', 'a', 't', 'e', 'f', 'u', 'l', 'S', 'e', 's', 's', 'i', 'o', -'n', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'k', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', -'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', -'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', 's', '/', 'h', -'t', 't', 'p', '/', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '/', 'v', '3', ';', 's', -'t', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', -'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[4] = { - &envoy_config_core_v3_extension_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_extensions_filters_http_stateful_session_v3_stateful_session_proto_upbdefinit = { - deps, - &envoy_extensions_filters_http_stateful_session_v3_stateful_session_proto_upb_file_layout, - "envoy/extensions/filters/http/stateful_session/v3/stateful_session.proto", - UPB_STRINGVIEW_INIT(descriptor, 733) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c deleted file mode 100644 index 2df43770652..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +++ /dev/null @@ -1,602 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h" -#include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h" - -extern _upb_DefPool_Init envoy_config_accesslog_v3_accesslog_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_config_source_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_protocol_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_substitution_format_string_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_route_v3_route_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_route_v3_scoped_route_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_trace_v3_http_tracer_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_http_v3_path_transformation_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_tracing_v3_custom_tag_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_v3_percent_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_security_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[13328] = {'\n', 'Y', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', -'s', '/', 'n', 'e', 't', 'w', 'o', 'r', 'k', '/', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', -'_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '/', 'v', '3', '/', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', -'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', ';', 'e', 'n', 'v', 'o', 'y', '.', 'e', -'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', -'.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', -'v', '3', '\032', ')', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', -'g', '/', 'v', '3', '/', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', -'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'a', 'd', 'd', 'r', 'e', 's', 's', -'.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', -'/', 'v', '3', '/', 'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', -'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', 'r', 'c', 'e', -'.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', -'/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', -'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', -'.', 'p', 'r', 'o', 't', 'o', '\032', '5', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', -'/', 'v', '3', '/', 's', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'i', 'o', 'n', '_', 'f', 'o', 'r', 'm', 'a', 't', '_', 's', -'t', 'r', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', -'/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 'r', 'o', 'u', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '(', 'e', 'n', -'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'r', 'o', 'u', 't', 'e', '/', 'v', '3', '/', 's', 'c', 'o', 'p', 'e', -'d', '_', 'r', 'o', 'u', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', -'i', 'g', '/', 't', 'r', 'a', 'c', 'e', '/', 'v', '3', '/', 'h', 't', 't', 'p', '_', 't', 'r', 'a', 'c', 'e', 'r', '.', 'p', -'r', 'o', 't', 'o', '\032', ',', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'h', 't', 't', 'p', '/', 'v', '3', '/', -'p', 'a', 't', 'h', '_', 't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', -'\032', '&', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 't', 'r', 'a', 'c', 'i', 'n', 'g', '/', 'v', '3', '/', 'c', -'u', 's', 't', 'o', 'm', '_', 't', 'a', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', -'p', 'e', '/', 'v', '3', '/', 'p', 'e', 'r', 'c', 'e', 'n', 't', '.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', -'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', -'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', -'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', -'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', -'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'u', -'d', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', 'e', '.', 'p', -'r', 'o', 't', 'o', '\032', '\037', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 'e', -'c', 'u', 'r', 'i', 't', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', -'t', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', -'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', -'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', -'o', 't', 'o', '\"', '\322', '@', '\n', '\025', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', -'a', 'g', 'e', 'r', '\022', '\205', '\001', '\n', '\n', 'c', 'o', 'd', 'e', 'c', '_', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\016', -'2', '\\', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', -'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', -'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', -'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'C', 'o', 'd', 'e', 'c', 'T', 'y', 'p', 'e', 'B', '\010', '\372', 'B', '\005', '\202', -'\001', '\002', '\020', '\001', 'R', '\t', 'c', 'o', 'd', 'e', 'c', 'T', 'y', 'p', 'e', '\022', '(', '\n', '\013', 's', 't', 'a', 't', '_', 'p', -'r', 'e', 'f', 'i', 'x', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\n', 's', 't', 'a', -'t', 'P', 'r', 'e', 'f', 'i', 'x', '\022', 'T', '\n', '\003', 'r', 'd', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '@', '.', 'e', 'n', -'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', -'t', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', -'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'R', 'd', 's', 'H', '\000', 'R', '\003', 'r', 'd', 's', '\022', 'N', '\n', '\014', 'r', 'o', 'u', -'t', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', -'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'H', '\000', 'R', '\013', 'r', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'p', -'\n', '\r', 's', 'c', 'o', 'p', 'e', 'd', '_', 'r', 'o', 'u', 't', 'e', 's', '\030', '\037', ' ', '\001', '(', '\013', '2', 'I', '.', 'e', -'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', -'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', -'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', 'H', '\000', 'R', '\014', -'s', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '\022', 'j', '\n', '\014', 'h', 't', 't', 'p', '_', 'f', 'i', 'l', 't', -'e', 'r', 's', '\030', '\005', ' ', '\003', '(', '\013', '2', 'G', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', -'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', -'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', -'p', 'F', 'i', 'l', 't', 'e', 'r', 'R', '\013', 'h', 't', 't', 'p', 'F', 'i', 'l', 't', 'e', 'r', 's', '\022', '@', '\n', '\016', 'a', -'d', 'd', '_', 'u', 's', 'e', 'r', '_', 'a', 'g', 'e', 'n', 't', '\030', '\006', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\014', 'a', -'d', 'd', 'U', 's', 'e', 'r', 'A', 'g', 'e', 'n', 't', '\022', 't', '\n', '\007', 't', 'r', 'a', 'c', 'i', 'n', 'g', '\030', '\007', ' ', -'\001', '(', '\013', '2', 'Z', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', -'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', -'t', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', -'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'T', 'r', 'a', 'c', 'i', 'n', 'g', 'R', '\007', 't', 'r', 'a', -'c', 'i', 'n', 'g', '\022', 's', '\n', '\034', 'c', 'o', 'm', 'm', 'o', 'n', '_', 'h', 't', 't', 'p', '_', 'p', 'r', 'o', 't', 'o', -'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '#', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', -'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'B', '\007', '\212', '\223', '\267', '*', '\002', '\010', '\001', 'R', '\031', 'c', 'o', 'm', 'm', -'o', 'n', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '^', '\n', '\025', -'h', 't', 't', 'p', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\010', ' ', '\001', -'(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', -'.', 'H', 't', 't', 'p', '1', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\023', 'h', 't', -'t', 'p', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'i', '\n', '\026', 'h', 't', 't', 'p', -'2', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\t', ' ', '\001', '(', '\013', '2', -'*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 't', -'t', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', 'B', '\007', '\212', '\223', '\267', '*', '\002', -'\010', '\001', 'R', '\024', 'h', 't', 't', 'p', '2', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', -'`', '\n', '\026', 'h', 't', 't', 'p', '3', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', -'\030', ',', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', -'e', '.', 'v', '3', '.', 'H', 't', 't', 'p', '3', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', -'R', '\024', 'h', 't', 't', 'p', '3', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', ',', '\n', -'\013', 's', 'e', 'r', 'v', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\n', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', -'\300', '\001', '\002', '\310', '\001', '\000', 'R', '\n', 's', 'e', 'r', 'v', 'e', 'r', 'N', 'a', 'm', 'e', '\022', '\271', '\001', '\n', '\034', 's', 'e', -'r', 'v', 'e', 'r', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', -'n', '\030', '\"', ' ', '\001', '(', '\016', '2', 'm', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', -'s', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', -'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', -'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'S', 'e', 'r', 'v', 'e', 'r', 'H', 'e', -'a', 'd', 'e', 'r', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\202', '\001', -'\002', '\020', '\001', 'R', '\032', 's', 'e', 'r', 'v', 'e', 'r', 'H', 'e', 'a', 'd', 'e', 'r', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', -'m', 'a', 't', 'i', 'o', 'n', '\022', 'r', '\n', '\034', 's', 'c', 'h', 'e', 'm', 'e', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 't', -'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', '\030', '0', ' ', '\001', '(', '\013', '2', '0', '.', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'c', 'h', 'e', 'm', 'e', 'H', -'e', 'a', 'd', 'e', 'r', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 'R', '\032', 's', 'c', 'h', 'e', -'m', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', '\022', ']', '\n', -'\026', 'm', 'a', 'x', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 'k', 'b', '\030', '\035', -' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', -'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\n', '\372', 'B', '\007', '*', '\005', '\030', '\200', '@', ' ', '\000', 'R', '\023', 'm', 'a', -'x', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'K', 'b', '\022', 'R', '\n', '\023', 's', 't', 'r', 'e', -'a', 'm', '_', 'i', 'd', 'l', 'e', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\030', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', -'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\007', -'\212', '\223', '\267', '*', '\002', '\010', '\001', 'R', '\021', 's', 't', 'r', 'e', 'a', 'm', 'I', 'd', 'l', 'e', 'T', 'i', 'm', 'e', 'o', 'u', -'t', '\022', 'K', '\n', '\017', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\034', ' ', '\001', '(', -'\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', -'i', 'o', 'n', 'B', '\007', '\212', '\223', '\267', '*', '\002', '\010', '\001', 'R', '\016', 'r', 'e', 'q', 'u', 'e', 's', 't', 'T', 'i', 'm', 'e', -'o', 'u', 't', '\022', 'b', '\n', '\027', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'i', -'m', 'e', 'o', 'u', 't', '\030', ')', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', -'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\017', '\372', 'B', '\005', '\252', '\001', '\002', '2', '\000', '\212', '\223', -'\267', '*', '\002', '\010', '\001', 'R', '\025', 'r', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'i', 'm', 'e', -'o', 'u', 't', '\022', '>', '\n', '\r', 'd', 'r', 'a', 'i', 'n', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\014', ' ', '\001', '(', -'\013', '2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', -'i', 'o', 'n', 'R', '\014', 'd', 'r', 'a', 'i', 'n', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'M', '\n', '\025', 'd', 'e', 'l', 'a', -'y', 'e', 'd', '_', 'c', 'l', 'o', 's', 'e', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\032', ' ', '\001', '(', '\013', '2', '\031', -'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', -'R', '\023', 'd', 'e', 'l', 'a', 'y', 'e', 'd', 'C', 'l', 'o', 's', 'e', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', 'C', '\n', '\n', -'a', 'c', 'c', 'e', 's', 's', '_', 'l', 'o', 'g', '\030', '\r', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', 'c', 'c', 'e', 's', -'s', 'L', 'o', 'g', 'R', '\t', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', '\022', 'm', '\n', '\031', 'a', 'c', 'c', 'e', 's', 's', -'_', 'l', 'o', 'g', '_', 'f', 'l', 'u', 's', 'h', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '6', ' ', '\001', '(', '\013', -'2', '\031', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', -'o', 'n', 'B', '\027', '\030', '\001', '\372', 'B', '\t', '\252', '\001', '\006', '2', '\004', '\020', '\300', '\204', '=', '\222', '\307', '\206', '\330', '\004', '\003', '3', -'.', '0', 'R', '\026', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'l', 'u', 's', 'h', 'I', 'n', 't', 'e', 'r', 'v', 'a', -'l', '\022', 'P', '\n', '\037', 'f', 'l', 'u', 's', 'h', '_', 'a', 'c', 'c', 'e', 's', 's', '_', 'l', 'o', 'g', '_', 'o', 'n', '_', -'n', 'e', 'w', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '\030', '7', ' ', '\001', '(', '\010', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', -'\004', '\003', '3', '.', '0', 'R', '\032', 'f', 'l', 'u', 's', 'h', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'O', 'n', 'N', 'e', -'w', 'R', 'e', 'q', 'u', 'e', 's', 't', '\022', '\224', '\001', '\n', '\022', 'a', 'c', 'c', 'e', 's', 's', '_', 'l', 'o', 'g', '_', 'o', -'p', 't', 'i', 'o', 'n', 's', '\030', '8', ' ', '\001', '(', '\013', '2', 'f', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', -'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', -'t', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', -'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'H', 'c', 'm', -'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\020', 'a', 'c', 'c', 'e', 's', 's', 'L', -'o', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'Q', '\n', '\022', 'u', 's', 'e', '_', 'r', 'e', 'm', 'o', 't', 'e', '_', 'a', -'d', 'd', 'r', 'e', 's', 's', '\030', '\016', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\212', '\223', '\267', '*', '\002', '\010', '\001', 'R', -'\020', 'u', 's', 'e', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', '\022', '/', '\n', '\024', 'x', 'f', 'f', '_', -'n', 'u', 'm', '_', 't', 'r', 'u', 's', 't', 'e', 'd', '_', 'h', 'o', 'p', 's', '\030', '\023', ' ', '\001', '(', '\r', 'R', '\021', 'x', -'f', 'f', 'N', 'u', 'm', 'T', 'r', 'u', 's', 't', 'e', 'd', 'H', 'o', 'p', 's', '\022', 's', '\n', ' ', 'o', 'r', 'i', 'g', 'i', -'n', 'a', 'l', '_', 'i', 'p', '_', 'd', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', -'n', 's', '\030', '.', ' ', '\003', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', -'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', -'i', 'g', 'R', '\035', 'o', 'r', 'i', 'g', 'i', 'n', 'a', 'l', 'I', 'p', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', 'E', 'x', -'t', 'e', 'n', 's', 'i', 'o', 'n', 's', '\022', 's', '\n', ' ', 'e', 'a', 'r', 'l', 'y', '_', 'h', 'e', 'a', 'd', 'e', 'r', '_', -'m', 'u', 't', 'a', 't', 'i', 'o', 'n', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '\030', '4', ' ', '\003', '(', '\013', -'2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', -'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\035', 'e', 'a', 'r', 'l', -'y', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'u', 't', 'a', 't', 'i', 'o', 'n', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', -'\022', '\240', '\001', '\n', '\027', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '_', 'c', 'o', 'n', -'f', 'i', 'g', '\030', '\031', ' ', '\001', '(', '\013', '2', 'h', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', -'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', -'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', -'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'I', 'n', 't', 'e', 'r', 'n', -'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\025', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', -'A', 'd', 'd', 'r', 'e', 's', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '&', '\n', '\017', 's', 'k', 'i', 'p', '_', 'x', 'f', 'f', -'_', 'a', 'p', 'p', 'e', 'n', 'd', '\030', '\025', ' ', '\001', '(', '\010', 'R', '\r', 's', 'k', 'i', 'p', 'X', 'f', 'f', 'A', 'p', 'p', -'e', 'n', 'd', '\022', '\035', '\n', '\003', 'v', 'i', 'a', '\030', '\026', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', -'\002', '\310', '\001', '\000', 'R', '\003', 'v', 'i', 'a', '\022', 'J', '\n', '\023', 'g', 'e', 'n', 'e', 'r', 'a', 't', 'e', '_', 'r', 'e', 'q', -'u', 'e', 's', 't', '_', 'i', 'd', '\030', '\017', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', -'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\021', 'g', 'e', 'n', 'e', 'r', 'a', 't', -'e', 'R', 'e', 'q', 'u', 'e', 's', 't', 'I', 'd', '\022', '?', '\n', '\034', 'p', 'r', 'e', 's', 'e', 'r', 'v', 'e', '_', 'e', 'x', -'t', 'e', 'r', 'n', 'a', 'l', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'i', 'd', '\030', ' ', ' ', '\001', '(', '\010', 'R', '\031', -'p', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'E', 'x', 't', 'e', 'r', 'n', 'a', 'l', 'R', 'e', 'q', 'u', 'e', 's', 't', 'I', 'd', -'\022', 'G', '\n', '!', 'a', 'l', 'w', 'a', 'y', 's', '_', 's', 'e', 't', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '_', 'i', 'd', -'_', 'i', 'n', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '\030', '%', ' ', '\001', '(', '\010', 'R', '\034', 'a', 'l', 'w', 'a', 'y', -'s', 'S', 'e', 't', 'R', 'e', 'q', 'u', 'e', 's', 't', 'I', 'd', 'I', 'n', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', '\022', '\264', -'\001', '\n', '\033', 'f', 'o', 'r', 'w', 'a', 'r', 'd', '_', 'c', 'l', 'i', 'e', 'n', 't', '_', 'c', 'e', 'r', 't', '_', 'd', 'e', -'t', 'a', 'i', 'l', 's', '\030', '\020', ' ', '\001', '(', '\016', '2', 'k', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', -'s', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', -'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', -'t', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'F', 'o', 'r', 'w', -'a', 'r', 'd', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'e', 'r', 't', 'D', 'e', 't', 'a', 'i', 'l', 's', 'B', '\010', '\372', 'B', '\005', -'\202', '\001', '\002', '\020', '\001', 'R', '\030', 'f', 'o', 'r', 'w', 'a', 'r', 'd', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'e', 'r', 't', 'D', -'e', 't', 'a', 'i', 'l', 's', '\022', '\264', '\001', '\n', '\037', 's', 'e', 't', '_', 'c', 'u', 'r', 'r', 'e', 'n', 't', '_', 'c', 'l', -'i', 'e', 'n', 't', '_', 'c', 'e', 'r', 't', '_', 'd', 'e', 't', 'a', 'i', 'l', 's', '\030', '\021', ' ', '\001', '(', '\013', '2', 'n', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', -'.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', -'m', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', -'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'S', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'l', 'i', 'e', 'n', 't', 'C', -'e', 'r', 't', 'D', 'e', 't', 'a', 'i', 'l', 's', 'R', '\033', 's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'l', 'i', -'e', 'n', 't', 'C', 'e', 'r', 't', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', ',', '\n', '\022', 'p', 'r', 'o', 'x', 'y', '_', '1', -'0', '0', '_', 'c', 'o', 'n', 't', 'i', 'n', 'u', 'e', '\030', '\022', ' ', '\001', '(', '\010', 'R', '\020', 'p', 'r', 'o', 'x', 'y', '1', -'0', '0', 'C', 'o', 'n', 't', 'i', 'n', 'u', 'e', '\022', 'e', '\n', '1', 'r', 'e', 'p', 'r', 'e', 's', 'e', 'n', 't', '_', 'i', -'p', 'v', '4', '_', 'r', 'e', 'm', 'o', 't', 'e', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '_', 'a', 's', '_', 'i', 'p', 'v', -'4', '_', 'm', 'a', 'p', 'p', 'e', 'd', '_', 'i', 'p', 'v', '6', '\030', '\024', ' ', '\001', '(', '\010', 'R', '*', 'r', 'e', 'p', 'r', -'e', 's', 'e', 'n', 't', 'I', 'p', 'v', '4', 'R', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', 's', 's', 'A', 's', 'I', -'p', 'v', '4', 'M', 'a', 'p', 'p', 'e', 'd', 'I', 'p', 'v', '6', '\022', '\211', '\001', '\n', '\017', 'u', 'p', 'g', 'r', 'a', 'd', 'e', -'_', 'c', 'o', 'n', 'f', 'i', 'g', 's', '\030', '\027', ' ', '\003', '(', '\013', '2', '`', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', -'t', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', -'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', -'3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'U', -'p', 'g', 'r', 'a', 'd', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\016', 'u', 'p', 'g', 'r', 'a', 'd', 'e', 'C', 'o', 'n', 'f', -'i', 'g', 's', '\022', 'A', '\n', '\016', 'n', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', '_', 'p', 'a', 't', 'h', '\030', '\036', ' ', '\001', -'(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', -'V', 'a', 'l', 'u', 'e', 'R', '\r', 'n', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', 'P', 'a', 't', 'h', '\022', '#', '\n', '\r', 'm', -'e', 'r', 'g', 'e', '_', 's', 'l', 'a', 's', 'h', 'e', 's', '\030', '!', ' ', '\001', '(', '\010', 'R', '\014', 'm', 'e', 'r', 'g', 'e', -'S', 'l', 'a', 's', 'h', 'e', 's', '\022', '\267', '\001', '\n', ' ', 'p', 'a', 't', 'h', '_', 'w', 'i', 't', 'h', '_', 'e', 's', 'c', -'a', 'p', 'e', 'd', '_', 's', 'l', 'a', 's', 'h', 'e', 's', '_', 'a', 'c', 't', 'i', 'o', 'n', '\030', '-', ' ', '\001', '(', '\016', -'2', 'o', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', -'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', -'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', -'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'P', 'a', 't', 'h', 'W', 'i', 't', 'h', 'E', 's', 'c', 'a', 'p', 'e', 'd', -'S', 'l', 'a', 's', 'h', 'e', 's', 'A', 'c', 't', 'i', 'o', 'n', 'R', '\034', 'p', 'a', 't', 'h', 'W', 'i', 't', 'h', 'E', 's', -'c', 'a', 'p', 'e', 'd', 'S', 'l', 'a', 's', 'h', 'e', 's', 'A', 'c', 't', 'i', 'o', 'n', '\022', '\201', '\001', '\n', '\024', 'r', 'e', -'q', 'u', 'e', 's', 't', '_', 'i', 'd', '_', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '$', ' ', '\001', '(', '\013', '2', -'O', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', -'s', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', -'_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'I', 'D', 'E', 'x', 't', 'e', -'n', 's', 'i', 'o', 'n', 'R', '\022', 'r', 'e', 'q', 'u', 'e', 's', 't', 'I', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', -'\022', '{', '\n', '\022', 'l', 'o', 'c', 'a', 'l', '_', 'r', 'e', 'p', 'l', 'y', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '&', ' ', -'\001', '(', '\013', '2', 'M', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', -'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', -'t', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'L', 'o', 'c', 'a', 'l', 'R', 'e', 'p', 'l', -'y', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\020', 'l', 'o', 'c', 'a', 'l', 'R', 'e', 'p', 'l', 'y', 'C', 'o', 'n', 'f', 'i', 'g', -'\022', 'P', '\n', '\030', 's', 't', 'r', 'i', 'p', '_', 'm', 'a', 't', 'c', 'h', 'i', 'n', 'g', '_', 'h', 'o', 's', 't', '_', 'p', -'o', 'r', 't', '\030', '\'', ' ', '\001', '(', '\010', 'B', '\027', '\362', '\230', '\376', '\217', '\005', '\021', '\022', '\017', 's', 't', 'r', 'i', 'p', '_', -'p', 'o', 'r', 't', '_', 'm', 'o', 'd', 'e', 'R', '\025', 's', 't', 'r', 'i', 'p', 'M', 'a', 't', 'c', 'h', 'i', 'n', 'g', 'H', -'o', 's', 't', 'P', 'o', 'r', 't', '\022', '/', '\n', '\023', 's', 't', 'r', 'i', 'p', '_', 'a', 'n', 'y', '_', 'h', 'o', 's', 't', -'_', 'p', 'o', 'r', 't', '\030', '*', ' ', '\001', '(', '\010', 'H', '\001', 'R', '\020', 's', 't', 'r', 'i', 'p', 'A', 'n', 'y', 'H', 'o', -'s', 't', 'P', 'o', 'r', 't', '\022', 'i', '\n', '$', 's', 't', 'r', 'e', 'a', 'm', '_', 'e', 'r', 'r', 'o', 'r', '_', 'o', 'n', -'_', 'i', 'n', 'v', 'a', 'l', 'i', 'd', '_', 'h', 't', 't', 'p', '_', 'm', 'e', 's', 's', 'a', 'g', 'e', '\030', '(', ' ', '\001', -'(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', -'V', 'a', 'l', 'u', 'e', 'R', '\037', 's', 't', 'r', 'e', 'a', 'm', 'E', 'r', 'r', 'o', 'r', 'O', 'n', 'I', 'n', 'v', 'a', 'l', -'i', 'd', 'H', 't', 't', 'p', 'M', 'e', 's', 's', 'a', 'g', 'e', '\022', '\251', '\001', '\n', '\032', 'p', 'a', 't', 'h', '_', 'n', 'o', -'r', 'm', 'a', 'l', 'i', 'z', 'a', 't', 'i', 'o', 'n', '_', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '+', ' ', '\001', '(', '\013', -'2', 'k', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', -'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', -'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', -'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'P', 'a', 't', 'h', 'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'a', 't', 'i', -'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\030', 'p', 'a', 't', 'h', 'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'a', 't', -'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '5', '\n', '\027', 's', 't', 'r', 'i', 'p', '_', 't', 'r', 'a', 'i', 'l', -'i', 'n', 'g', '_', 'h', 'o', 's', 't', '_', 'd', 'o', 't', '\030', '/', ' ', '\001', '(', '\010', 'R', '\024', 's', 't', 'r', 'i', 'p', -'T', 'r', 'a', 'i', 'l', 'i', 'n', 'g', 'H', 'o', 's', 't', 'D', 'o', 't', '\022', '\224', '\001', '\n', '\023', 'p', 'r', 'o', 'x', 'y', -'_', 's', 't', 'a', 't', 'u', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '1', ' ', '\001', '(', '\013', '2', 'd', '.', 'e', 'n', -'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', -'t', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', -'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', -'a', 'g', 'e', 'r', '.', 'P', 'r', 'o', 'x', 'y', 'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\021', 'p', -'r', 'o', 'x', 'y', 'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'o', '\n', '\036', 't', 'y', 'p', 'e', 'd', -'_', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 'f', 'i', 'g', -'\030', '2', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', -'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', -'R', '\033', 't', 'y', 'p', 'e', 'd', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', -'n', 'f', 'i', 'g', '\022', '5', '\n', '\027', 'a', 'p', 'p', 'e', 'n', 'd', '_', 'x', '_', 'f', 'o', 'r', 'w', 'a', 'r', 'd', 'e', -'d', '_', 'p', 'o', 'r', 't', '\030', '3', ' ', '\001', '(', '\010', 'R', '\024', 'a', 'p', 'p', 'e', 'n', 'd', 'X', 'F', 'o', 'r', 'w', -'a', 'r', 'd', 'e', 'd', 'P', 'o', 'r', 't', '\022', 'h', '\n', '#', 'a', 'd', 'd', '_', 'p', 'r', 'o', 'x', 'y', '_', 'p', 'r', -'o', 't', 'o', 'c', 'o', 'l', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 's', 't', 'a', 't', 'e', '\030', '5', -' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', -'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\037', 'a', 'd', 'd', 'P', 'r', 'o', 'x', 'y', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', -'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'S', 't', 'a', 't', 'e', '\032', '\366', '\004', '\n', '\007', 'T', 'r', 'a', 'c', 'i', -'n', 'g', '\022', '?', '\n', '\017', 'c', 'l', 'i', 'e', 'n', 't', '_', 's', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\030', '\003', ' ', '\001', -'(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'P', 'e', 'r', 'c', 'e', 'n', -'t', 'R', '\016', 'c', 'l', 'i', 'e', 'n', 't', 'S', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\022', '?', '\n', '\017', 'r', 'a', 'n', 'd', -'o', 'm', '_', 's', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', -'.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\016', 'r', 'a', 'n', 'd', 'o', 'm', 'S', -'a', 'm', 'p', 'l', 'i', 'n', 'g', '\022', 'A', '\n', '\020', 'o', 'v', 'e', 'r', 'a', 'l', 'l', '_', 's', 'a', 'm', 'p', 'l', 'i', -'n', 'g', '\030', '\005', ' ', '\001', '(', '\013', '2', '\026', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', -'P', 'e', 'r', 'c', 'e', 'n', 't', 'R', '\017', 'o', 'v', 'e', 'r', 'a', 'l', 'l', 'S', 'a', 'm', 'p', 'l', 'i', 'n', 'g', '\022', -'\030', '\n', '\007', 'v', 'e', 'r', 'b', 'o', 's', 'e', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\007', 'v', 'e', 'r', 'b', 'o', 's', 'e', -'\022', 'K', '\n', '\023', 'm', 'a', 'x', '_', 'p', 'a', 't', 'h', '_', 't', 'a', 'g', '_', 'l', 'e', 'n', 'g', 't', 'h', '\030', '\007', -' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', -'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\020', 'm', 'a', 'x', 'P', 'a', 't', 'h', 'T', 'a', 'g', 'L', 'e', 'n', 'g', -'t', 'h', '\022', 'A', '\n', '\013', 'c', 'u', 's', 't', 'o', 'm', '_', 't', 'a', 'g', 's', '\030', '\010', ' ', '\003', '(', '\013', '2', ' ', -'.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 't', 'r', 'a', 'c', 'i', 'n', 'g', '.', 'v', '3', '.', 'C', 'u', -'s', 't', 'o', 'm', 'T', 'a', 'g', 'R', '\n', 'c', 'u', 's', 't', 'o', 'm', 'T', 'a', 'g', 's', '\022', '?', '\n', '\010', 'p', 'r', -'o', 'v', 'i', 'd', 'e', 'r', '\030', '\t', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 't', 'r', 'a', 'c', 'e', '.', 'v', '3', '.', 'T', 'r', 'a', 'c', 'i', 'n', 'g', '.', 'H', 't', 't', 'p', 'R', -'\010', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\"', '(', '\n', '\r', 'O', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 'N', 'a', 'm', -'e', '\022', '\013', '\n', '\007', 'I', 'N', 'G', 'R', 'E', 'S', 'S', '\020', '\000', '\022', '\n', '\n', '\006', 'E', 'G', 'R', 'E', 'S', 'S', '\020', -'\001', ':', '[', '\232', '\305', '\210', '\036', 'V', '\n', 'T', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', -'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', -'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', -'t', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'T', 'r', 'a', 'c', 'i', 'n', 'g', 'J', '\004', '\010', '\001', '\020', '\002', -'J', '\004', '\010', '\002', '\020', '\003', 'R', '\016', 'o', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', '_', 'n', 'a', 'm', 'e', 'R', '\030', 'r', -'e', 'q', 'u', 'e', 's', 't', '_', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 'f', 'o', 'r', '_', 't', 'a', 'g', 's', '\032', '\347', -'\001', '\n', '\025', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', -'!', '\n', '\014', 'u', 'n', 'i', 'x', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\013', 'u', 'n', -'i', 'x', 'S', 'o', 'c', 'k', 'e', 't', 's', '\022', '@', '\n', '\013', 'c', 'i', 'd', 'r', '_', 'r', 'a', 'n', 'g', 'e', 's', '\030', -'\002', ' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', -'.', 'v', '3', '.', 'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 'R', '\n', 'c', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 's', -':', 'i', '\232', '\305', '\210', '\036', 'd', '\n', 'b', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', -'t', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', -'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', -'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', -'s', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\230', '\002', '\n', '\033', 'S', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'l', 'i', -'e', 'n', 't', 'C', 'e', 'r', 't', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', '4', '\n', '\007', 's', 'u', 'b', 'j', 'e', 'c', 't', -'\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\007', 's', 'u', 'b', 'j', 'e', 'c', 't', '\022', '\022', '\n', '\004', 'c', 'e', 'r', -'t', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\004', 'c', 'e', 'r', 't', '\022', '\024', '\n', '\005', 'c', 'h', 'a', 'i', 'n', '\030', '\006', ' ', -'\001', '(', '\010', 'R', '\005', 'c', 'h', 'a', 'i', 'n', '\022', '\020', '\n', '\003', 'd', 'n', 's', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\003', -'d', 'n', 's', '\022', '\020', '\n', '\003', 'u', 'r', 'i', '\030', '\005', ' ', '\001', '(', '\010', 'R', '\003', 'u', 'r', 'i', ':', 'o', '\232', '\305', -'\210', '\036', 'j', '\n', 'h', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', -'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', -'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', -'a', 'n', 'a', 'g', 'e', 'r', '.', 'S', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'e', -'r', 't', 'D', 'e', 't', 'a', 'i', 'l', 's', 'J', '\004', '\010', '\002', '\020', '\003', '\032', '\256', '\002', '\n', '\r', 'U', 'p', 'g', 'r', 'a', -'d', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '!', '\n', '\014', 'u', 'p', 'g', 'r', 'a', 'd', 'e', '_', 't', 'y', 'p', 'e', '\030', -'\001', ' ', '\001', '(', '\t', 'R', '\013', 'u', 'p', 'g', 'r', 'a', 'd', 'e', 'T', 'y', 'p', 'e', '\022', 'a', '\n', '\007', 'f', 'i', 'l', -'t', 'e', 'r', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', 'G', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', -'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', -'_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', 't', -'t', 'p', 'F', 'i', 'l', 't', 'e', 'r', 'R', '\007', 'f', 'i', 'l', 't', 'e', 'r', 's', '\022', '4', '\n', '\007', 'e', 'n', 'a', 'b', -'l', 'e', 'd', '\030', '\003', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', -'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\007', 'e', 'n', 'a', 'b', 'l', 'e', 'd', ':', 'a', '\232', '\305', -'\210', '\036', '\\', '\n', 'Z', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', -'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', -'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', -'a', 'n', 'a', 'g', 'e', 'r', '.', 'U', 'p', 'g', 'r', 'a', 'd', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\032', '\345', '\001', '\n', '\030', -'P', 'a', 't', 'h', 'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', -'c', '\n', '\031', 'f', 'o', 'r', 'w', 'a', 'r', 'd', 'i', 'n', 'g', '_', 't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', -'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'h', 't', -'t', 'p', '.', 'v', '3', '.', 'P', 'a', 't', 'h', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 'R', -'\030', 'f', 'o', 'r', 'w', 'a', 'r', 'd', 'i', 'n', 'g', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', -'\022', 'd', '\n', '\032', 'h', 't', 't', 'p', '_', 'f', 'i', 'l', 't', 'e', 'r', '_', 't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', -'a', 't', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', -'h', 't', 't', 'p', '.', 'v', '3', '.', 'P', 'a', 't', 'h', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', -'n', 'R', '\030', 'h', 't', 't', 'p', 'F', 'i', 'l', 't', 'e', 'r', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', -'o', 'n', '\032', '\344', '\002', '\n', '\021', 'P', 'r', 'o', 'x', 'y', 'S', 't', 'a', 't', 'u', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', -'%', '\n', '\016', 'r', 'e', 'm', 'o', 'v', 'e', '_', 'd', 'e', 't', 'a', 'i', 'l', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\r', -'r', 'e', 'm', 'o', 'v', 'e', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', 'Q', '\n', '%', 'r', 'e', 'm', 'o', 'v', 'e', '_', 'c', -'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 't', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', '_', 'd', 'e', 't', -'a', 'i', 'l', 's', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\"', 'r', 'e', 'm', 'o', 'v', 'e', 'C', 'o', 'n', 'n', 'e', 'c', 't', -'i', 'o', 'n', 'T', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', '2', '\n', '\025', -'r', 'e', 'm', 'o', 'v', 'e', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', '_', 'f', 'l', 'a', 'g', 's', '\030', '\003', ' ', '\001', -'(', '\010', 'R', '\023', 'r', 'e', 'm', 'o', 'v', 'e', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'F', 'l', 'a', 'g', 's', '\022', 'A', -'\n', '\035', 's', 'e', 't', '_', 'r', 'e', 'c', 'o', 'm', 'm', 'e', 'n', 'd', 'e', 'd', '_', 'r', 'e', 's', 'p', 'o', 'n', 's', -'e', '_', 'c', 'o', 'd', 'e', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\032', 's', 'e', 't', 'R', 'e', 'c', 'o', 'm', 'm', 'e', 'n', -'d', 'e', 'd', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'C', 'o', 'd', 'e', '\022', ' ', '\n', '\013', 'u', 's', 'e', '_', 'n', 'o', -'d', 'e', '_', 'i', 'd', '\030', '\005', ' ', '\001', '(', '\010', 'H', '\000', 'R', '\t', 'u', 's', 'e', 'N', 'o', 'd', 'e', 'I', 'd', '\022', -'.', '\n', '\022', 'l', 'i', 't', 'e', 'r', 'a', 'l', '_', 'p', 'r', 'o', 'x', 'y', '_', 'n', 'a', 'm', 'e', '\030', '\006', ' ', '\001', -'(', '\t', 'H', '\000', 'R', '\020', 'l', 'i', 't', 'e', 'r', 'a', 'l', 'P', 'r', 'o', 'x', 'y', 'N', 'a', 'm', 'e', 'B', '\014', '\n', -'\n', 'p', 'r', 'o', 'x', 'y', '_', 'n', 'a', 'm', 'e', '\032', '\235', '\002', '\n', '\023', 'H', 'c', 'm', 'A', 'c', 'c', 'e', 's', 's', -'L', 'o', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', 'b', '\n', '\031', 'a', 'c', 'c', 'e', 's', 's', '_', 'l', 'o', 'g', '_', -'f', 'l', 'u', 's', 'h', '_', 'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', -'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\014', '\372', -'B', '\t', '\252', '\001', '\006', '2', '\004', '\020', '\300', '\204', '=', 'R', '\026', 'a', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'l', 'u', -'s', 'h', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', '\022', 'C', '\n', '\037', 'f', 'l', 'u', 's', 'h', '_', 'a', 'c', 'c', 'e', 's', -'s', '_', 'l', 'o', 'g', '_', 'o', 'n', '_', 'n', 'e', 'w', '_', 'r', 'e', 'q', 'u', 'e', 's', 't', '\030', '\002', ' ', '\001', '(', -'\010', 'R', '\032', 'f', 'l', 'u', 's', 'h', 'A', 'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'O', 'n', 'N', 'e', 'w', 'R', 'e', 'q', -'u', 'e', 's', 't', '\022', ']', '\n', ',', 'f', 'l', 'u', 's', 'h', '_', 'l', 'o', 'g', '_', 'o', 'n', '_', 't', 'u', 'n', 'n', -'e', 'l', '_', 's', 'u', 'c', 'c', 'e', 's', 's', 'f', 'u', 'l', 'l', 'y', '_', 'e', 's', 't', 'a', 'b', 'l', 'i', 's', 'h', -'e', 'd', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\'', 'f', 'l', 'u', 's', 'h', 'L', 'o', 'g', 'O', 'n', 'T', 'u', 'n', 'n', 'e', -'l', 'S', 'u', 'c', 'c', 'e', 's', 's', 'f', 'u', 'l', 'l', 'y', 'E', 's', 't', 'a', 'b', 'l', 'i', 's', 'h', 'e', 'd', '\"', -'6', '\n', '\t', 'C', 'o', 'd', 'e', 'c', 'T', 'y', 'p', 'e', '\022', '\010', '\n', '\004', 'A', 'U', 'T', 'O', '\020', '\000', '\022', '\t', '\n', -'\005', 'H', 'T', 'T', 'P', '1', '\020', '\001', '\022', '\t', '\n', '\005', 'H', 'T', 'T', 'P', '2', '\020', '\002', '\022', '\t', '\n', '\005', 'H', 'T', -'T', 'P', '3', '\020', '\003', '\"', 'S', '\n', '\032', 'S', 'e', 'r', 'v', 'e', 'r', 'H', 'e', 'a', 'd', 'e', 'r', 'T', 'r', 'a', 'n', -'s', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', '\022', '\r', '\n', '\t', 'O', 'V', 'E', 'R', 'W', 'R', 'I', 'T', 'E', '\020', '\000', -'\022', '\024', '\n', '\020', 'A', 'P', 'P', 'E', 'N', 'D', '_', 'I', 'F', '_', 'A', 'B', 'S', 'E', 'N', 'T', '\020', '\001', '\022', '\020', '\n', -'\014', 'P', 'A', 'S', 'S', '_', 'T', 'H', 'R', 'O', 'U', 'G', 'H', '\020', '\002', '\"', 'y', '\n', '\030', 'F', 'o', 'r', 'w', 'a', 'r', -'d', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'e', 'r', 't', 'D', 'e', 't', 'a', 'i', 'l', 's', '\022', '\014', '\n', '\010', 'S', 'A', 'N', -'I', 'T', 'I', 'Z', 'E', '\020', '\000', '\022', '\020', '\n', '\014', 'F', 'O', 'R', 'W', 'A', 'R', 'D', '_', 'O', 'N', 'L', 'Y', '\020', '\001', -'\022', '\022', '\n', '\016', 'A', 'P', 'P', 'E', 'N', 'D', '_', 'F', 'O', 'R', 'W', 'A', 'R', 'D', '\020', '\002', '\022', '\020', '\n', '\014', 'S', -'A', 'N', 'I', 'T', 'I', 'Z', 'E', '_', 'S', 'E', 'T', '\020', '\003', '\022', '\027', '\n', '\023', 'A', 'L', 'W', 'A', 'Y', 'S', '_', 'F', -'O', 'R', 'W', 'A', 'R', 'D', '_', 'O', 'N', 'L', 'Y', '\020', '\004', '\"', '\240', '\001', '\n', '\034', 'P', 'a', 't', 'h', 'W', 'i', 't', -'h', 'E', 's', 'c', 'a', 'p', 'e', 'd', 'S', 'l', 'a', 's', 'h', 'e', 's', 'A', 'c', 't', 'i', 'o', 'n', '\022', '#', '\n', '\037', -'I', 'M', 'P', 'L', 'E', 'M', 'E', 'N', 'T', 'A', 'T', 'I', 'O', 'N', '_', 'S', 'P', 'E', 'C', 'I', 'F', 'I', 'C', '_', 'D', -'E', 'F', 'A', 'U', 'L', 'T', '\020', '\000', '\022', '\022', '\n', '\016', 'K', 'E', 'E', 'P', '_', 'U', 'N', 'C', 'H', 'A', 'N', 'G', 'E', -'D', '\020', '\001', '\022', '\022', '\n', '\016', 'R', 'E', 'J', 'E', 'C', 'T', '_', 'R', 'E', 'Q', 'U', 'E', 'S', 'T', '\020', '\002', '\022', '\031', -'\n', '\025', 'U', 'N', 'E', 'S', 'C', 'A', 'P', 'E', '_', 'A', 'N', 'D', '_', 'R', 'E', 'D', 'I', 'R', 'E', 'C', 'T', '\020', '\003', -'\022', '\030', '\n', '\024', 'U', 'N', 'E', 'S', 'C', 'A', 'P', 'E', '_', 'A', 'N', 'D', '_', 'F', 'O', 'R', 'W', 'A', 'R', 'D', '\020', -'\004', ':', 'S', '\232', '\305', '\210', '\036', 'N', '\n', 'L', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', -'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', -'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', -'t', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', 'B', '\026', '\n', '\017', 'r', 'o', 'u', 't', 'e', '_', 's', 'p', 'e', 'c', -'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', 'B', '\021', '\n', '\017', 's', 't', 'r', 'i', 'p', '_', 'p', 'o', 'r', 't', '_', -'m', 'o', 'd', 'e', 'J', '\004', '\010', '\033', '\020', '\034', 'J', '\004', '\010', '\013', '\020', '\014', 'R', '\014', 'i', 'd', 'l', 'e', '_', 't', 'i', -'m', 'e', 'o', 'u', 't', '\"', '\312', '\001', '\n', '\020', 'L', 'o', 'c', 'a', 'l', 'R', 'e', 'p', 'l', 'y', 'C', 'o', 'n', 'f', 'i', -'g', '\022', 'e', '\n', '\007', 'm', 'a', 'p', 'p', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', 'K', '.', 'e', 'n', 'v', 'o', -'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', -'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', -'e', 'r', '.', 'v', '3', '.', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'M', 'a', 'p', 'p', 'e', 'r', 'R', '\007', 'm', 'a', 'p', -'p', 'e', 'r', 's', '\022', 'O', '\n', '\013', 'b', 'o', 'd', 'y', '_', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\002', ' ', '\001', '(', '\013', -'2', '.', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', -'u', 'b', 's', 't', 'i', 't', 'u', 't', 'i', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', 'S', 't', 'r', 'i', 'n', 'g', 'R', '\n', -'b', 'o', 'd', 'y', 'F', 'o', 'r', 'm', 'a', 't', '\"', '\234', '\003', '\n', '\016', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'M', 'a', -'p', 'p', 'e', 'r', '\022', 'L', '\n', '\006', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', -'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'a', 'c', 'c', 'e', 's', 's', 'l', 'o', 'g', '.', 'v', '3', '.', 'A', -'c', 'c', 'e', 's', 's', 'L', 'o', 'g', 'F', 'i', 'l', 't', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', -'\006', 'f', 'i', 'l', 't', 'e', 'r', '\022', 'J', '\n', '\013', 's', 't', 'a', 't', 'u', 's', '_', 'c', 'o', 'd', 'e', '\030', '\002', ' ', -'\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', -'t', '3', '2', 'V', 'a', 'l', 'u', 'e', 'B', '\013', '\372', 'B', '\010', '*', '\006', '\020', '\330', '\004', '(', '\310', '\001', 'R', '\n', 's', 't', -'a', 't', 'u', 's', 'C', 'o', 'd', 'e', '\022', '4', '\n', '\004', 'b', 'o', 'd', 'y', '\030', '\003', ' ', '\001', '(', '\013', '2', ' ', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', -'S', 'o', 'u', 'r', 'c', 'e', 'R', '\004', 'b', 'o', 'd', 'y', '\022', '`', '\n', '\024', 'b', 'o', 'd', 'y', '_', 'f', 'o', 'r', 'm', -'a', 't', '_', 'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '\030', '\004', ' ', '\001', '(', '\013', '2', '.', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', -'i', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', 'S', 't', 'r', 'i', 'n', 'g', 'R', '\022', 'b', 'o', 'd', 'y', 'F', 'o', 'r', 'm', -'a', 't', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', '\022', 'X', '\n', '\016', 'h', 'e', 'a', 'd', 'e', 'r', 's', '_', 't', 'o', '_', -'a', 'd', 'd', '\030', '\005', ' ', '\003', '(', '\013', '2', '\'', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', -'B', '\t', '\372', 'B', '\006', '\222', '\001', '\003', '\020', '\350', '\007', 'R', '\014', 'h', 'e', 'a', 'd', 'e', 'r', 's', 'T', 'o', 'A', 'd', 'd', -'\"', '\307', '\001', '\n', '\003', 'R', 'd', 's', '\022', 'Q', '\n', '\r', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', 'r', 'c', 'e', -'\030', '\001', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', -'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', -'\020', '\001', 'R', '\014', 'c', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', '\022', '*', '\n', '\021', 'r', 'o', 'u', 't', 'e', -'_', 'c', 'o', 'n', 'f', 'i', 'g', '_', 'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\017', 'r', 'o', 'u', 't', 'e', -'C', 'o', 'n', 'f', 'i', 'g', 'N', 'a', 'm', 'e', ':', 'A', '\232', '\305', '\210', '\036', '<', '\n', ':', 'e', 'n', 'v', 'o', 'y', '.', -'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', -'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'R', -'d', 's', '\"', '\367', '\001', '\n', '\035', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'u', -'r', 'a', 't', 'i', 'o', 'n', 's', 'L', 'i', 's', 't', '\022', 'y', '\n', '\033', 's', 'c', 'o', 'p', 'e', 'd', '_', 'r', 'o', 'u', -'t', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '/', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'r', 'o', 'u', 't', 'e', '.', 'v', '3', '.', 'S', 'c', -'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', -'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\031', 's', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', -'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 's', ':', '[', '\232', '\305', '\210', '\036', 'V', '\n', 'T', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', -'_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'S', 'c', -'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 's', 'L', 'i', -'s', 't', '\"', '\337', '\016', '\n', '\014', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '\022', '\033', '\n', '\004', 'n', 'a', -'m', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '\217', -'\001', '\n', '\021', 's', 'c', 'o', 'p', 'e', '_', 'k', 'e', 'y', '_', 'b', 'u', 'i', 'l', 'd', 'e', 'r', '\030', '\002', ' ', '\001', '(', -'\013', '2', 'Y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', -'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', -'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', -'s', '.', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', -'\020', '\001', 'R', '\017', 's', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '\022', 'N', '\n', '\021', 'r', 'd', -'s', '_', 'c', 'o', 'n', 'f', 'i', 'g', '_', 's', 'o', 'u', 'r', 'c', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', -'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', -'g', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\017', 'r', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', '\022', -'\245', '\001', '\n', ' ', 's', 'c', 'o', 'p', 'e', 'd', '_', 'r', 'o', 'u', 't', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', -'a', 't', 'i', 'o', 'n', 's', '_', 'l', 'i', 's', 't', '\030', '\004', ' ', '\001', '(', '\013', '2', 'Z', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', -'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', -'r', '.', 'v', '3', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', -'t', 'i', 'o', 'n', 's', 'L', 'i', 's', 't', 'H', '\000', 'R', '\035', 's', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 'C', -'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 's', 'L', 'i', 's', 't', '\022', 'g', '\n', '\n', 's', 'c', 'o', 'p', -'e', 'd', '_', 'r', 'd', 's', '\030', '\005', ' ', '\001', '(', '\013', '2', 'F', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', -'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', -'t', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', -'S', 'c', 'o', 'p', 'e', 'd', 'R', 'd', 's', 'H', '\000', 'R', '\t', 's', 'c', 'o', 'p', 'e', 'd', 'R', 'd', 's', '\032', '\331', '\t', -'\n', '\017', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '\022', '\221', '\001', '\n', '\t', 'f', 'r', 'a', -'g', 'm', 'e', 'n', 't', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', 'i', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', -'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', -'t', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', -'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '.', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', -'d', 'e', 'r', '.', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\222', -'\001', '\002', '\010', '\001', 'R', '\t', 'f', 'r', 'a', 'g', 'm', 'e', 'n', 't', 's', '\032', '\325', '\007', '\n', '\017', 'F', 'r', 'a', 'g', 'm', -'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '\022', '\266', '\001', '\n', '\026', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'v', 'a', 'l', -'u', 'e', '_', 'e', 'x', 't', 'r', 'a', 'c', 't', 'o', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '~', '.', 'e', 'n', 'v', 'o', -'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', -'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', -'e', 'r', '.', 'v', '3', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '.', 'S', 'c', 'o', 'p', 'e', 'K', -'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '.', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'e', 'r', -'.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'E', 'x', 't', 'r', 'a', 'c', 't', 'o', 'r', 'H', '\000', 'R', '\024', -'h', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'E', 'x', 't', 'r', 'a', 'c', 't', 'o', 'r', '\032', '\217', '\005', '\n', '\024', -'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'E', 'x', 't', 'r', 'a', 'c', 't', 'o', 'r', '\022', '\033', '\n', '\004', 'n', -'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', -'+', '\n', '\021', 'e', 'l', 'e', 'm', 'e', 'n', 't', '_', 's', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', '\030', '\002', ' ', '\001', '(', -'\t', 'R', '\020', 'e', 'l', 'e', 'm', 'e', 'n', 't', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', '\022', '\026', '\n', '\005', 'i', 'n', -'d', 'e', 'x', '\030', '\003', ' ', '\001', '(', '\r', 'H', '\000', 'R', '\005', 'i', 'n', 'd', 'e', 'x', '\022', '\245', '\001', '\n', '\007', 'e', 'l', -'e', 'm', 'e', 'n', 't', '\030', '\004', ' ', '\001', '(', '\013', '2', '\210', '\001', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', -'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', -'t', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', -'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '.', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', -'d', 'e', 'r', '.', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '.', 'H', 'e', 'a', 'd', 'e', -'r', 'V', 'a', 'l', 'u', 'e', 'E', 'x', 't', 'r', 'a', 'c', 't', 'o', 'r', '.', 'K', 'v', 'E', 'l', 'e', 'm', 'e', 'n', 't', -'H', '\000', 'R', '\007', 'e', 'l', 'e', 'm', 'e', 'n', 't', '\032', '\333', '\001', '\n', '\t', 'K', 'v', 'E', 'l', 'e', 'm', 'e', 'n', 't', -'\022', '%', '\n', '\t', 's', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', -'\002', '\020', '\001', 'R', '\t', 's', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', '\022', '\031', '\n', '\003', 'k', 'e', 'y', '\030', '\002', ' ', '\001', -'(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\003', 'k', 'e', 'y', ':', '\213', '\001', '\232', '\305', '\210', '\036', '\205', '\001', -'\n', '\202', '\001', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', -'t', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', -'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '.', 'S', 'c', 'o', 'p', -'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '.', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', -'e', 'r', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'E', 'x', 't', 'r', 'a', 'c', 't', 'o', 'r', '.', 'K', -'v', 'E', 'l', 'e', 'm', 'e', 'n', 't', ':', '\177', '\232', '\305', '\210', '\036', 'z', '\n', 'x', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', -'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', -'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'S', 'c', 'o', -'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', '.', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', -'.', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '.', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'a', -'l', 'u', 'e', 'E', 'x', 't', 'r', 'a', 'c', 't', 'o', 'r', 'B', '\016', '\n', '\014', 'e', 'x', 't', 'r', 'a', 'c', 't', '_', 't', -'y', 'p', 'e', ':', 'j', '\232', '\305', '\210', '\036', 'e', '\n', 'c', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', -'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', -'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', -'u', 't', 'e', 's', '.', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', '.', 'F', 'r', 'a', 'g', -'m', 'e', 'n', 't', 'B', 'u', 'i', 'l', 'd', 'e', 'r', 'B', '\013', '\n', '\004', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', ':', -'Z', '\232', '\305', '\210', '\036', 'U', '\n', 'S', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', -'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', -'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', -'.', 'S', 'c', 'o', 'p', 'e', 'K', 'e', 'y', 'B', 'u', 'i', 'l', 'd', 'e', 'r', ':', 'J', '\232', '\305', '\210', '\036', 'E', '\n', 'C', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', -'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', -'r', '.', 'v', '2', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', 'B', '\027', '\n', '\020', 'c', 'o', 'n', 'f', -'i', 'g', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', '\361', '\001', '\n', '\t', 'S', 'c', 'o', -'p', 'e', 'd', 'R', 'd', 's', '\022', 'e', '\n', '\030', 's', 'c', 'o', 'p', 'e', 'd', '_', 'r', 'd', 's', '_', 'c', 'o', 'n', 'f', -'i', 'g', '_', 's', 'o', 'u', 'r', 'c', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', -'e', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\025', 's', 'c', 'o', 'p', 'e', 'd', 'R', 'd', 's', 'C', 'o', 'n', -'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', '\022', '4', '\n', '\026', 's', 'r', 'd', 's', '_', 'r', 'e', 's', 'o', 'u', 'r', 'c', -'e', 's', '_', 'l', 'o', 'c', 'a', 't', 'o', 'r', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\024', 's', 'r', 'd', 's', 'R', 'e', 's', -'o', 'u', 'r', 'c', 'e', 's', 'L', 'o', 'c', 'a', 't', 'o', 'r', ':', 'G', '\232', '\305', '\210', '\036', 'B', '\n', '@', 'e', 'n', 'v', -'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', -'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', -'2', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'd', 's', '\"', '\314', '\002', '\n', '\n', 'H', 't', 't', 'p', 'F', 'i', 'l', 't', 'e', -'r', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', -'\004', 'n', 'a', 'm', 'e', '\022', '9', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\004', ' ', '\001', -'(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'H', -'\000', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'X', '\n', '\020', 'c', 'o', 'n', 'f', 'i', 'g', '_', -'d', 'i', 's', 'c', 'o', 'v', 'e', 'r', 'y', '\030', '\005', ' ', '\001', '(', '\013', '2', '+', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', -'n', 'f', 'i', 'g', 'S', 'o', 'u', 'r', 'c', 'e', 'H', '\000', 'R', '\017', 'c', 'o', 'n', 'f', 'i', 'g', 'D', 'i', 's', 'c', 'o', -'v', 'e', 'r', 'y', '\022', '\037', '\n', '\013', 'i', 's', '_', 'o', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\030', '\006', ' ', '\001', '(', '\010', -'R', '\n', 'i', 's', 'O', 'p', 't', 'i', 'o', 'n', 'a', 'l', ':', 'H', '\232', '\305', '\210', '\036', 'C', '\n', 'A', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', 'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', -'t', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', -'.', 'H', 't', 't', 'p', 'F', 'i', 'l', 't', 'e', 'r', 'B', '\r', '\n', '\013', 'c', 'o', 'n', 'f', 'i', 'g', '_', 't', 'y', 'p', -'e', 'J', '\004', '\010', '\003', '\020', '\004', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\"', '\237', '\001', '\n', -'\022', 'R', 'e', 'q', 'u', 'e', 's', 't', 'I', 'D', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\022', '7', '\n', '\014', 't', 'y', -'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', -'g', ':', 'P', '\232', '\305', '\210', '\036', 'K', '\n', 'I', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'f', 'i', -'l', 't', 'e', 'r', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', -'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '2', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'I', 'D', 'E', -'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\"', '\216', '\001', '\n', ' ', 'E', 'n', 'v', 'o', 'y', 'M', 'o', 'b', 'i', 'l', 'e', 'H', -'t', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', '\022', 'j', '\n', '\006', 'c', -'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\001', '(', '\013', '2', 'R', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', -'s', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', 'w', 'o', 'r', 'k', '.', 'h', 't', 't', -'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '.', 'v', '3', '.', 'H', -'t', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', 'a', 'g', 'e', 'r', 'R', '\006', 'c', 'o', 'n', -'f', 'i', 'g', 'B', '\357', '\001', '\n', 'I', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', -'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 'f', 'i', 'l', 't', 'e', 'r', 's', '.', 'n', 'e', 't', -'w', 'o', 'r', 'k', '.', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', '_', 'm', 'a', 'n', 'a', -'g', 'e', 'r', '.', 'v', '3', 'B', '\032', 'H', 't', 't', 'p', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'a', 'n', -'a', 'g', 'e', 'r', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '|', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', -'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', -'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'f', 'i', 'l', 't', 'e', 'r', -'s', '/', 'n', 'e', 't', 'w', 'o', 'r', 'k', '/', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', -'_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', '/', 'v', '3', ';', 'h', 't', 't', 'p', '_', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', -'o', 'n', '_', 'm', 'a', 'n', 'a', 'g', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', -'t', 'o', '3', -}; - -static _upb_DefPool_Init *deps[23] = { - &envoy_config_accesslog_v3_accesslog_proto_upbdefinit, - &envoy_config_core_v3_address_proto_upbdefinit, - &envoy_config_core_v3_base_proto_upbdefinit, - &envoy_config_core_v3_config_source_proto_upbdefinit, - &envoy_config_core_v3_extension_proto_upbdefinit, - &envoy_config_core_v3_protocol_proto_upbdefinit, - &envoy_config_core_v3_substitution_format_string_proto_upbdefinit, - &envoy_config_route_v3_route_proto_upbdefinit, - &envoy_config_route_v3_scoped_route_proto_upbdefinit, - &envoy_config_trace_v3_http_tracer_proto_upbdefinit, - &envoy_type_http_v3_path_transformation_proto_upbdefinit, - &envoy_type_tracing_v3_custom_tag_proto_upbdefinit, - &envoy_type_v3_percent_proto_upbdefinit, - &google_protobuf_any_proto_upbdefinit, - &google_protobuf_duration_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_migrate_proto_upbdefinit, - &udpa_annotations_security_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_extensions_filters_network_http_connection_manager_v3_http_connection_manager_proto_upbdefinit = { - deps, - &envoy_extensions_filters_network_http_connection_manager_v3_http_connection_manager_proto_upb_file_layout, - "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto", - UPB_STRINGVIEW_INIT(descriptor, 13328) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c deleted file mode 100644 index c440af64eaa..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +++ /dev/null @@ -1,50 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/http/stateful_session/cookie/v3/cookie.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h" -#include "envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h" - -extern _upb_DefPool_Init envoy_type_http_v3_cookie_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[487] = {'\n', '=', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 'h', 't', 't', 'p', '/', 's', -'t', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '/', 'c', 'o', 'o', 'k', 'i', 'e', '/', 'v', '3', -'/', 'c', 'o', 'o', 'k', 'i', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '0', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', -'n', 's', 'i', 'o', 'n', 's', '.', 'h', 't', 't', 'p', '.', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', -'i', 'o', 'n', '.', 'c', 'o', 'o', 'k', 'i', 'e', '.', 'v', '3', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', -'/', 'h', 't', 't', 'p', '/', 'v', '3', '/', 'c', 'o', 'o', 'k', 'i', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', -'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', -'t', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', -'t', 'o', '\"', 'W', '\n', '\027', 'C', 'o', 'o', 'k', 'i', 'e', 'B', 'a', 's', 'e', 'd', 'S', 'e', 's', 's', 'i', 'o', 'n', 'S', -'t', 'a', 't', 'e', '\022', '<', '\n', '\006', 'c', 'o', 'o', 'k', 'i', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'e', 'n', -'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'h', 't', 't', 'p', '.', 'v', '3', '.', 'C', 'o', 'o', 'k', 'i', 'e', 'B', '\010', -'\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\006', 'c', 'o', 'o', 'k', 'i', 'e', 'B', '\271', '\001', '\n', '>', 'i', 'o', '.', 'e', -'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', -'s', '.', 'h', 't', 't', 'p', '.', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '.', 'c', -'o', 'o', 'k', 'i', 'e', '.', 'v', '3', 'B', '\013', 'C', 'o', 'o', 'k', 'i', 'e', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '`', -'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', -'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', -'s', 'i', 'o', 'n', 's', '/', 'h', 't', 't', 'p', '/', 's', 't', 'a', 't', 'e', 'f', 'u', 'l', '_', 's', 'e', 's', 's', 'i', -'o', 'n', '/', 'c', 'o', 'o', 'k', 'i', 'e', '/', 'v', '3', ';', 'c', 'o', 'o', 'k', 'i', 'e', 'v', '3', '\272', '\200', '\310', '\321', -'\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[4] = { - &envoy_type_http_v3_cookie_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_extensions_http_stateful_session_cookie_v3_cookie_proto_upbdefinit = { - deps, - &envoy_extensions_http_stateful_session_cookie_v3_cookie_proto_upb_file_layout, - "envoy/extensions/http/stateful_session/cookie/v3/cookie.proto", - UPB_STRINGVIEW_INIT(descriptor, 487) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h deleted file mode 100644 index 3afb4063c9a..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/http/stateful_session/cookie/v3/cookie.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPBDEFS_H_ -#define ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_extensions_http_stateful_session_cookie_v3_cookie_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_extensions_http_stateful_session_cookie_v3_CookieBasedSessionState_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_http_stateful_session_cookie_v3_cookie_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.http.stateful_session.cookie.v3.CookieBasedSessionState"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_HTTP_STATEFUL_SESSION_COOKIE_V3_COOKIE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c deleted file mode 100644 index c3820d55745..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +++ /dev/null @@ -1,215 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/transport_sockets/tls/v3/common.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h" -#include "envoy/extensions/transport_sockets/tls/v3/common.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_sensitive_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[4224] = {'\n', '6', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 't', 'r', 'a', 'n', 's', 'p', -'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '/', 't', 'l', 's', '/', 'v', '3', '/', 'c', 'o', 'm', 'm', 'o', 'n', -'.', 'p', 'r', 'o', 't', 'o', '\022', ')', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', -'t', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '\032', -'\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'b', 'a', 's', -'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', -'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', -'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', 't', 'r', 'i', 'n', 'g', -'.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', -'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', -'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', -'t', 'o', '\032', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', -'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', ' ', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', -'n', 's', '/', 's', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', -'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', -'!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', -'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', -'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\245', '\004', '\n', '\r', 'T', 'l', 's', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', -'r', 's', '\022', '\217', '\001', '\n', '\034', 't', 'l', 's', '_', 'm', 'i', 'n', 'i', 'm', 'u', 'm', '_', 'p', 'r', 'o', 't', 'o', 'c', -'o', 'l', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\016', '2', 'D', '.', 'e', 'n', 'v', 'o', 'y', '.', -'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', -'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'T', 'l', 's', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '.', -'T', 'l', 's', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\031', 't', 'l', -'s', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\022', '\217', -'\001', '\n', '\034', 't', 'l', 's', '_', 'm', 'a', 'x', 'i', 'm', 'u', 'm', '_', 'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', '_', 'v', -'e', 'r', 's', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\016', '2', 'D', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', -'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', -'t', 'l', 's', '.', 'v', '3', '.', 'T', 'l', 's', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '.', 'T', 'l', 's', 'P', -'r', 'o', 't', 'o', 'c', 'o', 'l', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\031', 't', 'l', 's', 'M', 'a', 'x', -'i', 'm', 'u', 'm', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 'V', 'e', 'r', 's', 'i', 'o', 'n', '\022', '#', '\n', '\r', 'c', 'i', -'p', 'h', 'e', 'r', '_', 's', 'u', 'i', 't', 'e', 's', '\030', '\003', ' ', '\003', '(', '\t', 'R', '\014', 'c', 'i', 'p', 'h', 'e', 'r', -'S', 'u', 'i', 't', 'e', 's', '\022', '\037', '\n', '\013', 'e', 'c', 'd', 'h', '_', 'c', 'u', 'r', 'v', 'e', 's', '\030', '\004', ' ', '\003', -'(', '\t', 'R', '\n', 'e', 'c', 'd', 'h', 'C', 'u', 'r', 'v', 'e', 's', '\022', '1', '\n', '\024', 's', 'i', 'g', 'n', 'a', 't', 'u', -'r', 'e', '_', 'a', 'l', 'g', 'o', 'r', 'i', 't', 'h', 'm', 's', '\030', '\005', ' ', '\003', '(', '\t', 'R', '\023', 's', 'i', 'g', 'n', -'a', 't', 'u', 'r', 'e', 'A', 'l', 'g', 'o', 'r', 'i', 't', 'h', 'm', 's', '\"', 'O', '\n', '\013', 'T', 'l', 's', 'P', 'r', 'o', -'t', 'o', 'c', 'o', 'l', '\022', '\014', '\n', '\010', 'T', 'L', 'S', '_', 'A', 'U', 'T', 'O', '\020', '\000', '\022', '\013', '\n', '\007', 'T', 'L', -'S', 'v', '1', '_', '0', '\020', '\001', '\022', '\013', '\n', '\007', 'T', 'L', 'S', 'v', '1', '_', '1', '\020', '\002', '\022', '\013', '\n', '\007', 'T', -'L', 'S', 'v', '1', '_', '2', '\020', '\003', '\022', '\013', '\n', '\007', 'T', 'L', 'S', 'v', '1', '_', '3', '\020', '\004', ':', '&', '\232', '\305', -'\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'a', 'u', 't', 'h', '.', 'T', 'l', -'s', 'P', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', '\"', '\317', '\001', '\n', '\022', 'P', 'r', 'i', 'v', 'a', 't', 'e', 'K', 'e', -'y', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\022', ',', '\n', '\r', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '_', 'n', 'a', 'm', -'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\014', 'p', 'r', 'o', 'v', 'i', 'd', 'e', -'r', 'N', 'a', 'm', 'e', '\022', 'A', '\n', '\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', -'(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'B', -'\006', '\270', '\267', '\213', '\244', '\002', '\001', 'H', '\000', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', ':', '+', '\232', -'\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'a', 'u', 't', 'h', '.', 'P', -'r', 'i', 'v', 'a', 't', 'e', 'K', 'e', 'y', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'B', '\r', '\n', '\013', 'c', 'o', 'n', 'f', -'i', 'g', '_', 't', 'y', 'p', 'e', 'J', '\004', '\010', '\002', '\020', '\003', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\"', '\310', '\005', '\n', -'\016', 'T', 'l', 's', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '\022', 'M', '\n', '\021', 'c', 'e', 'r', 't', 'i', 'f', -'i', 'c', 'a', 't', 'e', '_', 'c', 'h', 'a', 'i', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', -'e', 'R', '\020', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'C', 'h', 'a', 'i', 'n', '\022', 'I', '\n', '\013', 'p', 'r', -'i', 'v', 'a', 't', 'e', '_', 'k', 'e', 'y', '\030', '\002', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'B', -'\006', '\270', '\267', '\213', '\244', '\002', '\001', 'R', '\n', 'p', 'r', 'i', 'v', 'a', 't', 'e', 'K', 'e', 'y', '\022', '@', '\n', '\006', 'p', 'k', -'c', 's', '1', '2', '\030', '\010', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', -'.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\006', '\270', '\267', '\213', '\244', -'\002', '\001', 'R', '\006', 'p', 'k', 'c', 's', '1', '2', '\022', 'S', '\n', '\021', 'w', 'a', 't', 'c', 'h', 'e', 'd', '_', 'd', 'i', 'r', -'e', 'c', 't', 'o', 'r', 'y', '\030', '\007', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', -'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'W', 'a', 't', 'c', 'h', 'e', 'd', 'D', 'i', 'r', 'e', 'c', 't', 'o', -'r', 'y', 'R', '\020', 'w', 'a', 't', 'c', 'h', 'e', 'd', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\022', 'o', '\n', '\024', 'p', -'r', 'i', 'v', 'a', 't', 'e', '_', 'k', 'e', 'y', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\030', '\006', ' ', '\001', '(', '\013', -'2', '=', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', -'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'P', 'r', 'i', 'v', 'a', -'t', 'e', 'K', 'e', 'y', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'R', '\022', 'p', 'r', 'i', 'v', 'a', 't', 'e', 'K', 'e', 'y', -'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\022', 'D', '\n', '\010', 'p', 'a', 's', 's', 'w', 'o', 'r', 'd', '\030', '\003', ' ', '\001', '(', -'\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', -'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\006', '\270', '\267', '\213', '\244', '\002', '\001', 'R', '\010', 'p', 'a', 's', 's', 'w', -'o', 'r', 'd', '\022', 'A', '\n', '\013', 'o', 'c', 's', 'p', '_', 's', 't', 'a', 'p', 'l', 'e', '\030', '\004', ' ', '\001', '(', '\013', '2', -' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', -'t', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\n', 'o', 'c', 's', 'p', 'S', 't', 'a', 'p', 'l', 'e', '\022', 'b', '\n', '\034', 's', -'i', 'g', 'n', 'e', 'd', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 't', 'i', 'm', 'e', 's', 't', 'a', -'m', 'p', '\030', '\005', ' ', '\003', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', -'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\032', 's', 'i', 'g', 'n', 'e', 'd', -'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'T', 'i', 'm', 'e', 's', 't', 'a', 'm', 'p', ':', '\'', '\232', '\305', '\210', -'\036', '\"', '\n', ' ', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'a', 'u', 't', 'h', '.', 'T', 'l', 's', -'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '\"', '\213', '\001', '\n', '\024', 'T', 'l', 's', 'S', 'e', 's', 's', 'i', 'o', -'n', 'T', 'i', 'c', 'k', 'e', 't', 'K', 'e', 'y', 's', '\022', 'D', '\n', '\004', 'k', 'e', 'y', 's', '\030', '\001', ' ', '\003', '(', '\013', -'2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', -'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'B', '\016', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', '\270', '\267', '\213', '\244', '\002', '\001', -'R', '\004', 'k', 'e', 'y', 's', ':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', -'v', '2', '.', 'a', 'u', 't', 'h', '.', 'T', 'l', 's', 'S', 'e', 's', 's', 'i', 'o', 'n', 'T', 'i', 'c', 'k', 'e', 't', 'K', -'e', 'y', 's', '\"', 's', '\n', '!', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', -'r', 'P', 'l', 'u', 'g', 'i', 'n', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', '\022', '#', '\n', '\r', 'i', 'n', 's', 't', 'a', 'n', -'c', 'e', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\014', 'i', 'n', 's', 't', 'a', 'n', 'c', 'e', 'N', 'a', -'m', 'e', '\022', ')', '\n', '\020', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'n', 'a', 'm', 'e', '\030', '\002', ' ', -'\001', '(', '\t', 'R', '\017', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'N', 'a', 'm', 'e', '\"', '\244', '\002', '\n', '\025', -'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', 'm', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'o', '\n', '\010', -'s', 'a', 'n', '_', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\016', '2', 'H', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', -'t', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', -'s', '.', 't', 'l', 's', '.', 'v', '3', '.', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', 'm', 'e', 'M', 'a', -'t', 'c', 'h', 'e', 'r', '.', 'S', 'a', 'n', 'T', 'y', 'p', 'e', 'B', '\n', '\372', 'B', '\007', '\202', '\001', '\004', '\020', '\001', ' ', '\000', -'R', '\007', 's', 'a', 'n', 'T', 'y', 'p', 'e', '\022', 'H', '\n', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\002', ' ', '\001', '(', -'\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', -'.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', -'\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\"', 'P', '\n', '\007', 'S', 'a', 'n', 'T', 'y', 'p', 'e', '\022', '\030', '\n', '\024', 'S', 'A', -'N', '_', 'T', 'Y', 'P', 'E', '_', 'U', 'N', 'S', 'P', 'E', 'C', 'I', 'F', 'I', 'E', 'D', '\020', '\000', '\022', '\t', '\n', '\005', 'E', -'M', 'A', 'I', 'L', '\020', '\001', '\022', '\007', '\n', '\003', 'D', 'N', 'S', '\020', '\002', '\022', '\007', '\n', '\003', 'U', 'R', 'I', '\020', '\003', '\022', -'\016', '\n', '\n', 'I', 'P', '_', 'A', 'D', 'D', 'R', 'E', 'S', 'S', '\020', '\004', '\"', '\220', '\014', '\n', '\034', 'C', 'e', 'r', 't', 'i', -'f', 'i', 'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', 'W', -'\n', '\n', 't', 'r', 'u', 's', 't', 'e', 'd', '_', 'c', 'a', '\030', '\001', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', -'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', -'c', 'e', 'B', '\026', '\362', '\230', '\376', '\217', '\005', '\020', '\022', '\016', 'c', 'a', '_', 'c', 'e', 'r', 't', '_', 's', 'o', 'u', 'r', 'c', -'e', 'R', '\t', 't', 'r', 'u', 's', 't', 'e', 'd', 'C', 'a', '\022', '\255', '\001', '\n', ' ', 'c', 'a', '_', 'c', 'e', 'r', 't', 'i', -'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '_', 'i', 'n', 's', 't', 'a', 'n', 'c', 'e', '\030', -'\r', ' ', '\001', '(', '\013', '2', 'L', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', -'t', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', -'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'P', 'l', 'u', 'g', 'i', 'n', -'I', 'n', 's', 't', 'a', 'n', 'c', 'e', 'B', '\026', '\362', '\230', '\376', '\217', '\005', '\020', '\022', '\016', 'c', 'a', '_', 'c', 'e', 'r', 't', -'_', 's', 'o', 'u', 'r', 'c', 'e', 'R', '\035', 'c', 'a', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', -'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', '\022', 'S', '\n', '\021', 'w', 'a', 't', 'c', 'h', 'e', 'd', '_', -'d', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\030', '\013', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', -'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'W', 'a', 't', 'c', 'h', 'e', 'd', 'D', 'i', 'r', 'e', -'c', 't', 'o', 'r', 'y', 'R', '\020', 'w', 'a', 't', 'c', 'h', 'e', 'd', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', '\022', 'F', -'\n', '\027', 'v', 'e', 'r', 'i', 'f', 'y', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 's', 'p', 'k', 'i', -'\030', '\003', ' ', '\003', '(', '\t', 'B', '\016', '\372', 'B', '\013', '\222', '\001', '\010', '\"', '\006', 'r', '\004', '\020', ',', '(', ',', 'R', '\025', 'v', -'e', 'r', 'i', 'f', 'y', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'S', 'p', 'k', 'i', '\022', 'F', '\n', '\027', 'v', -'e', 'r', 'i', 'f', 'y', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'h', 'a', 's', 'h', '\030', '\002', ' ', -'\003', '(', '\t', 'B', '\016', '\372', 'B', '\013', '\222', '\001', '\010', '\"', '\006', 'r', '\004', '\020', '@', '(', '_', 'R', '\025', 'v', 'e', 'r', 'i', -'f', 'y', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'H', 'a', 's', 'h', '\022', '\202', '\001', '\n', '\035', 'm', 'a', 't', -'c', 'h', '_', 't', 'y', 'p', 'e', 'd', '_', 's', 'u', 'b', 'j', 'e', 'c', 't', '_', 'a', 'l', 't', '_', 'n', 'a', 'm', 'e', -'s', '\030', '\017', ' ', '\003', '(', '\013', '2', '@', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', -'s', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', -'3', '.', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', 'm', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\031', -'m', 'a', 't', 'c', 'h', 'T', 'y', 'p', 'e', 'd', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', 't', 'N', 'a', 'm', 'e', 's', -'\022', 'h', '\n', '\027', 'm', 'a', 't', 'c', 'h', '_', 's', 'u', 'b', 'j', 'e', 'c', 't', '_', 'a', 'l', 't', '_', 'n', 'a', 'm', -'e', 's', '\030', '\t', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', -'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\013', '\030', '\001', -'\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\024', 'm', 'a', 't', 'c', 'h', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'A', 'l', -'t', 'N', 'a', 'm', 'e', 's', '\022', 'k', '\n', '$', 'r', 'e', 'q', 'u', 'i', 'r', 'e', '_', 's', 'i', 'g', 'n', 'e', 'd', '_', -'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 't', 'i', 'm', 'e', 's', 't', 'a', 'm', 'p', '\030', '\006', ' ', '\001', -'(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', -'V', 'a', 'l', 'u', 'e', 'R', '!', 'r', 'e', 'q', 'u', 'i', 'r', 'e', 'S', 'i', 'g', 'n', 'e', 'd', 'C', 'e', 'r', 't', 'i', -'f', 'i', 'c', 'a', 't', 'e', 'T', 'i', 'm', 'e', 's', 't', 'a', 'm', 'p', '\022', '2', '\n', '\003', 'c', 'r', 'l', '\030', '\007', ' ', -'\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', -'3', '.', 'D', 'a', 't', 'a', 'S', 'o', 'u', 'r', 'c', 'e', 'R', '\003', 'c', 'r', 'l', '\022', ':', '\n', '\031', 'a', 'l', 'l', 'o', -'w', '_', 'e', 'x', 'p', 'i', 'r', 'e', 'd', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '\030', '\010', ' ', '\001', -'(', '\010', 'R', '\027', 'a', 'l', 'l', 'o', 'w', 'E', 'x', 'p', 'i', 'r', 'e', 'd', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', -'t', 'e', '\022', '\242', '\001', '\n', '\030', 't', 'r', 'u', 's', 't', '_', 'c', 'h', 'a', 'i', 'n', '_', 'v', 'e', 'r', 'i', 'f', 'i', -'c', 'a', 't', 'i', 'o', 'n', '\030', '\n', ' ', '\001', '(', '\016', '2', '^', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', -'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', -'t', 'l', 's', '.', 'v', '3', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', 'd', 'a', 't', -'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', '.', 'T', 'r', 'u', 's', 't', 'C', 'h', 'a', 'i', 'n', 'V', 'e', 'r', 'i', -'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\202', '\001', '\002', '\020', '\001', 'R', '\026', 't', 'r', 'u', 's', 't', -'C', 'h', 'a', 'i', 'n', 'V', 'e', 'r', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', '\022', 'b', '\n', '\027', 'c', 'u', 's', 't', -'o', 'm', '_', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'o', 'r', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\014', ' ', '\001', '(', '\013', -'2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', -'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\025', 'c', 'u', 's', 't', -'o', 'm', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'o', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '8', '\n', '\031', 'o', 'n', 'l', 'y', -'_', 'v', 'e', 'r', 'i', 'f', 'y', '_', 'l', 'e', 'a', 'f', '_', 'c', 'e', 'r', 't', '_', 'c', 'r', 'l', '\030', '\016', ' ', '\001', -'(', '\010', 'R', '\025', 'o', 'n', 'l', 'y', 'V', 'e', 'r', 'i', 'f', 'y', 'L', 'e', 'a', 'f', 'C', 'e', 'r', 't', 'C', 'r', 'l', -'\022', 'O', '\n', '\020', 'm', 'a', 'x', '_', 'v', 'e', 'r', 'i', 'f', 'y', '_', 'd', 'e', 'p', 't', 'h', '\030', '\020', ' ', '\001', '(', -'\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', -'2', 'V', 'a', 'l', 'u', 'e', 'B', '\007', '\372', 'B', '\004', '*', '\002', '\030', 'd', 'R', '\016', 'm', 'a', 'x', 'V', 'e', 'r', 'i', 'f', -'y', 'D', 'e', 'p', 't', 'h', '\"', 'F', '\n', '\026', 'T', 'r', 'u', 's', 't', 'C', 'h', 'a', 'i', 'n', 'V', 'e', 'r', 'i', 'f', -'i', 'c', 'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\022', 'V', 'E', 'R', 'I', 'F', 'Y', '_', 'T', 'R', 'U', 'S', 'T', '_', 'C', -'H', 'A', 'I', 'N', '\020', '\000', '\022', '\024', '\n', '\020', 'A', 'C', 'C', 'E', 'P', 'T', '_', 'U', 'N', 'T', 'R', 'U', 'S', 'T', 'E', -'D', '\020', '\001', ':', '5', '\232', '\305', '\210', '\036', '0', '\n', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', -'a', 'u', 't', 'h', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', -'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'J', '\004', '\010', '\004', '\020', '\005', 'J', '\004', '\010', '\005', '\020', '\006', 'R', '\027', 'v', 'e', 'r', -'i', 'f', 'y', '_', 's', 'u', 'b', 'j', 'e', 'c', 't', '_', 'a', 'l', 't', '_', 'n', 'a', 'm', 'e', 'B', '\250', '\001', '\n', '7', -'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', -'s', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', -'l', 's', '.', 'v', '3', 'B', '\013', 'C', 'o', 'm', 'm', 'o', 'n', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'V', 'g', 'i', 't', -'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', -'t', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', -'n', 's', '/', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '/', 't', 'l', 's', '/', -'v', '3', ';', 't', 'l', 's', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[12] = { - &envoy_config_core_v3_base_proto_upbdefinit, - &envoy_config_core_v3_extension_proto_upbdefinit, - &envoy_type_matcher_v3_string_proto_upbdefinit, - &google_protobuf_any_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_migrate_proto_upbdefinit, - &udpa_annotations_sensitive_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit = { - deps, - &envoy_extensions_transport_sockets_tls_v3_common_proto_upb_file_layout, - "envoy/extensions/transport_sockets/tls/v3/common.proto", - UPB_STRINGVIEW_INIT(descriptor, 4224) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h deleted file mode 100644 index d21f54107b9..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +++ /dev/null @@ -1,66 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/transport_sockets/tls/v3/common.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPBDEFS_H_ -#define ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_TlsParameters_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.TlsParameters"); -} - -UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.PrivateKeyProvider"); -} - -UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_TlsCertificate_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.TlsCertificate"); -} - -UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.TlsSessionTicketKeys"); -} - -UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_CertificateProviderPluginInstance_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.CertificateProviderPluginInstance"); -} - -UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_SubjectAltNameMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.SubjectAltNameMatcher"); -} - -UPB_INLINE const upb_MessageDef *envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.extensions.transport_sockets.tls.v3.CertificateValidationContext"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c deleted file mode 100644 index 4cf6fdb8fa0..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +++ /dev/null @@ -1,258 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/extensions/transport_sockets/tls/v3/tls.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h" -#include "envoy/extensions/transport_sockets/tls/v3/tls.upb.h" - -extern _upb_DefPool_Init envoy_config_core_v3_address_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_extension_proto_upbdefinit; -extern _upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit; -extern _upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_secret_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[5336] = {'\n', '3', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 't', 'r', 'a', 'n', 's', 'p', -'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '/', 't', 'l', 's', '/', 'v', '3', '/', 't', 'l', 's', '.', 'p', 'r', -'o', 't', 'o', '\022', ')', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', -'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '\032', '\"', 'e', 'n', -'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'a', 'd', 'd', 'r', 'e', 's', -'s', '.', 'p', 'r', 'o', 't', 'o', '\032', '$', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', -'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '6', 'e', 'n', 'v', -'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', -'o', 'c', 'k', 'e', 't', 's', '/', 't', 'l', 's', '/', 'v', '3', '/', 'c', 'o', 'm', 'm', 'o', 'n', '.', 'p', 'r', 'o', 't', -'o', '\032', '6', 'e', 'n', 'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 't', 'r', 'a', 'n', 's', -'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '/', 't', 'l', 's', '/', 'v', '3', '/', 's', 'e', 'c', 'r', 'e', -'t', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', -'d', 'u', 'r', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', -'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', -'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', -'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', -'s', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', -'t', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', -'\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', -'\301', '\002', '\n', '\022', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', 'i', '\n', -'\022', 'c', 'o', 'm', 'm', 'o', 'n', '_', 't', 'l', 's', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '\030', '\001', ' ', '\001', '(', '\013', -'2', ';', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', -'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', -'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', 'R', '\020', 'c', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', -'t', 'e', 'x', 't', '\022', '\032', '\n', '\003', 's', 'n', 'i', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\010', '\372', 'B', '\005', 'r', '\003', '(', -'\377', '\001', 'R', '\003', 's', 'n', 'i', '\022', '/', '\n', '\023', 'a', 'l', 'l', 'o', 'w', '_', 'r', 'e', 'n', 'e', 'g', 'o', 't', 'i', -'a', 't', 'i', 'o', 'n', '\030', '\003', ' ', '\001', '(', '\010', 'R', '\022', 'a', 'l', 'l', 'o', 'w', 'R', 'e', 'n', 'e', 'g', 'o', 't', -'i', 'a', 't', 'i', 'o', 'n', '\022', 'F', '\n', '\020', 'm', 'a', 'x', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 'k', 'e', 'y', -'s', '\030', '\004', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'.', 'U', 'I', 'n', 't', '3', '2', 'V', 'a', 'l', 'u', 'e', 'R', '\016', 'm', 'a', 'x', 'S', 'e', 's', 's', 'i', 'o', 'n', 'K', -'e', 'y', 's', ':', '+', '\232', '\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', -'a', 'u', 't', 'h', '.', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '\"', '\313', -'\010', '\n', '\024', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', 'i', -'\n', '\022', 'c', 'o', 'm', 'm', 'o', 'n', '_', 't', 'l', 's', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '\030', '\001', ' ', '\001', '(', -'\013', '2', ';', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', -'s', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', -'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', 'R', '\020', 'c', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', -'n', 't', 'e', 'x', 't', '\022', 'X', '\n', '\032', 'r', 'e', 'q', 'u', 'i', 'r', 'e', '_', 'c', 'l', 'i', 'e', 'n', 't', '_', 'c', -'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\030', 'r', 'e', 'q', 'u', -'i', 'r', 'e', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '\022', ';', '\n', '\013', 'r', -'e', 'q', 'u', 'i', 'r', 'e', '_', 's', 'n', 'i', '\030', '\003', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\n', 'r', 'e', 'q', 'u', -'i', 'r', 'e', 'S', 'n', 'i', '\022', 'q', '\n', '\023', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 't', 'i', 'c', 'k', 'e', 't', '_', -'k', 'e', 'y', 's', '\030', '\004', ' ', '\001', '(', '\013', '2', '?', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', -'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', -'s', '.', 'v', '3', '.', 'T', 'l', 's', 'S', 'e', 's', 's', 'i', 'o', 'n', 'T', 'i', 'c', 'k', 'e', 't', 'K', 'e', 'y', 's', -'H', '\000', 'R', '\021', 's', 'e', 's', 's', 'i', 'o', 'n', 'T', 'i', 'c', 'k', 'e', 't', 'K', 'e', 'y', 's', '\022', '\215', '\001', '\n', -'%', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 't', 'i', 'c', 'k', 'e', 't', '_', 'k', 'e', 'y', 's', '_', 's', 'd', 's', '_', -'s', 'e', 'c', 'r', 'e', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\005', ' ', '\001', '(', '\013', '2', ':', '.', 'e', 'n', 'v', -'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', -'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'S', 'd', 's', 'S', 'e', 'c', 'r', 'e', 't', 'C', 'o', -'n', 'f', 'i', 'g', 'H', '\000', 'R', ' ', 's', 'e', 's', 's', 'i', 'o', 'n', 'T', 'i', 'c', 'k', 'e', 't', 'K', 'e', 'y', 's', -'S', 'd', 's', 'S', 'e', 'c', 'r', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'Q', '\n', '$', 'd', 'i', 's', 'a', 'b', 'l', -'e', '_', 's', 't', 'a', 't', 'e', 'l', 'e', 's', 's', '_', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 'r', 'e', 's', 'u', 'm', -'p', 't', 'i', 'o', 'n', '\030', '\007', ' ', '\001', '(', '\010', 'H', '\000', 'R', '!', 'd', 'i', 's', 'a', 'b', 'l', 'e', 'S', 't', 'a', -'t', 'e', 'l', 'e', 's', 's', 'S', 'e', 's', 's', 'i', 'o', 'n', 'R', 'e', 's', 'u', 'm', 'p', 't', 'i', 'o', 'n', '\022', 'T', -'\n', '\017', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 't', 'i', 'm', 'e', 'o', 'u', 't', '\030', '\006', ' ', '\001', '(', '\013', '2', '\031', -'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', -'B', '\020', '\372', 'B', '\r', '\252', '\001', '\n', '\032', '\006', '\010', '\200', '\200', '\200', '\200', '\020', '2', '\000', 'R', '\016', 's', 'e', 's', 's', 'i', -'o', 'n', 'T', 'i', 'm', 'e', 'o', 'u', 't', '\022', '\210', '\001', '\n', '\022', 'o', 'c', 's', 'p', '_', 's', 't', 'a', 'p', 'l', 'e', -'_', 'p', 'o', 'l', 'i', 'c', 'y', '\030', '\010', ' ', '\001', '(', '\016', '2', 'P', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', -'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', -'.', 't', 'l', 's', '.', 'v', '3', '.', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'T', 'l', 's', 'C', 'o', 'n', 't', -'e', 'x', 't', '.', 'O', 'c', 's', 'p', 'S', 't', 'a', 'p', 'l', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 'B', '\010', '\372', 'B', '\005', -'\202', '\001', '\002', '\020', '\001', 'R', '\020', 'o', 'c', 's', 'p', 'S', 't', 'a', 'p', 'l', 'e', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '_', -'\n', '\037', 'f', 'u', 'l', 'l', '_', 's', 'c', 'a', 'n', '_', 'c', 'e', 'r', 't', 's', '_', 'o', 'n', '_', 's', 'n', 'i', '_', -'m', 'i', 's', 'm', 'a', 't', 'c', 'h', '\030', '\t', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', -'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'B', 'o', 'o', 'l', 'V', 'a', 'l', 'u', 'e', 'R', '\032', 'f', 'u', 'l', 'l', 'S', 'c', -'a', 'n', 'C', 'e', 'r', 't', 's', 'O', 'n', 'S', 'n', 'i', 'M', 'i', 's', 'm', 'a', 't', 'c', 'h', '\"', 'N', '\n', '\020', 'O', -'c', 's', 'p', 'S', 't', 'a', 'p', 'l', 'e', 'P', 'o', 'l', 'i', 'c', 'y', '\022', '\024', '\n', '\020', 'L', 'E', 'N', 'I', 'E', 'N', -'T', '_', 'S', 'T', 'A', 'P', 'L', 'I', 'N', 'G', '\020', '\000', '\022', '\023', '\n', '\017', 'S', 'T', 'R', 'I', 'C', 'T', '_', 'S', 'T', -'A', 'P', 'L', 'I', 'N', 'G', '\020', '\001', '\022', '\017', '\n', '\013', 'M', 'U', 'S', 'T', '_', 'S', 'T', 'A', 'P', 'L', 'E', '\020', '\002', -':', '-', '\232', '\305', '\210', '\036', '(', '\n', '&', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', '.', 'a', 'u', 't', -'h', '.', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', 'B', '\032', '\n', -'\030', 's', 'e', 's', 's', 'i', 'o', 'n', '_', 't', 'i', 'c', 'k', 'e', 't', '_', 'k', 'e', 'y', 's', '_', 't', 'y', 'p', 'e', -'\"', '\314', '\001', '\n', '\t', 'T', 'l', 's', 'K', 'e', 'y', 'L', 'o', 'g', '\022', '\033', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\001', ' ', -'\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'p', 'a', 't', 'h', '\022', 'O', '\n', '\023', 'l', 'o', 'c', -'a', 'l', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '_', 'r', 'a', 'n', 'g', 'e', '\030', '\002', ' ', '\003', '(', '\013', '2', '\037', '.', -'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'C', 'i', 'd', 'r', -'R', 'a', 'n', 'g', 'e', 'R', '\021', 'l', 'o', 'c', 'a', 'l', 'A', 'd', 'd', 'r', 'e', 's', 's', 'R', 'a', 'n', 'g', 'e', '\022', -'Q', '\n', '\024', 'r', 'e', 'm', 'o', 't', 'e', '_', 'a', 'd', 'd', 'r', 'e', 's', 's', '_', 'r', 'a', 'n', 'g', 'e', '\030', '\003', -' ', '\003', '(', '\013', '2', '\037', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', -'v', '3', '.', 'C', 'i', 'd', 'r', 'R', 'a', 'n', 'g', 'e', 'R', '\022', 'r', 'e', 'm', 'o', 't', 'e', 'A', 'd', 'd', 'r', 'e', -'s', 's', 'R', 'a', 'n', 'g', 'e', '\"', '\352', '\027', '\n', '\020', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', -'e', 'x', 't', '\022', 'W', '\n', '\n', 't', 'l', 's', '_', 'p', 'a', 'r', 'a', 'm', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '8', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', -'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'T', 'l', 's', 'P', 'a', 'r', 'a', -'m', 'e', 't', 'e', 'r', 's', 'R', '\t', 't', 'l', 's', 'P', 'a', 'r', 'a', 'm', 's', '\022', 'd', '\n', '\020', 't', 'l', 's', '_', -'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 's', '\030', '\002', ' ', '\003', '(', '\013', '2', '9', '.', 'e', 'n', 'v', 'o', -'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', -'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'T', 'l', 's', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', -'t', 'e', 'R', '\017', 't', 'l', 's', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 's', '\022', '\206', '\001', '\n', '\"', 't', -'l', 's', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 's', 'd', 's', '_', 's', 'e', 'c', 'r', 'e', 't', -'_', 'c', 'o', 'n', 'f', 'i', 'g', 's', '\030', '\006', ' ', '\003', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', -'t', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', -'s', '.', 't', 'l', 's', '.', 'v', '3', '.', 'S', 'd', 's', 'S', 'e', 'c', 'r', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'R', -'\036', 't', 'l', 's', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'S', 'd', 's', 'S', 'e', 'c', 'r', 'e', 't', 'C', -'o', 'n', 'f', 'i', 'g', 's', '\022', '\227', '\001', '\n', '!', 't', 'l', 's', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', -'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '_', 'i', 'n', 's', 't', 'a', 'n', 'c', 'e', '\030', '\016', ' ', '\001', '(', '\013', -'2', 'L', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', -'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'e', 'r', 't', 'i', -'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'P', 'l', 'u', 'g', 'i', 'n', 'I', 'n', 's', 't', 'a', -'n', 'c', 'e', 'R', '\036', 't', 'l', 's', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', -'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', '\022', '\255', '\001', '\n', '$', 't', 'l', 's', '_', 'c', 'e', 'r', 't', 'i', 'f', -'i', 'c', 'a', 't', 'e', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', -'r', '\030', '\t', ' ', '\001', '(', '\013', '2', 'O', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', -'s', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', -'3', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '.', 'C', 'e', 'r', 't', 'i', 'f', -'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', -'0', 'R', '!', 't', 'l', 's', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', -'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\022', '\306', '\001', '\n', '-', 't', 'l', 's', '_', 'c', 'e', 'r', 't', 'i', -'f', 'i', 'c', 'a', 't', 'e', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', -'e', 'r', '_', 'i', 'n', 's', 't', 'a', 'n', 'c', 'e', '\030', '\013', ' ', '\001', '(', '\013', '2', 'W', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', -'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', -'e', 'x', 't', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', -'s', 't', 'a', 'n', 'c', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', ')', 't', 'l', 's', 'C', -'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', -'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', '\022', 'x', '\n', '\022', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', -'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '\030', '\003', ' ', '\001', '(', '\013', '2', 'G', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', -'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', -'t', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', -'d', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'H', '\000', 'R', '\021', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', -'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', '\214', '\001', '\n', '$', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', -'c', 'o', 'n', 't', 'e', 'x', 't', '_', 's', 'd', 's', '_', 's', 'e', 'c', 'r', 'e', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', -'\030', '\007', ' ', '\001', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', -'.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', -'.', 'S', 'd', 's', 'S', 'e', 'c', 'r', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', ' ', 'v', 'a', 'l', 'i', 'd', -'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'S', 'd', 's', 'S', 'e', 'c', 'r', 'e', 't', 'C', 'o', 'n', 'f', -'i', 'g', '\022', '\242', '\001', '\n', '\033', 'c', 'o', 'm', 'b', 'i', 'n', 'e', 'd', '_', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', -'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '\030', '\010', ' ', '\001', '(', '\013', '2', '`', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', -'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', -'t', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', -'t', '.', 'C', 'o', 'm', 'b', 'i', 'n', 'e', 'd', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', -'d', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'H', '\000', 'R', '\031', 'c', 'o', 'm', 'b', 'i', 'n', 'e', 'd', -'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', '\265', '\001', '\n', '\'', 'v', 'a', 'l', -'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', -'t', 'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\030', '\n', ' ', '\001', '(', '\013', '2', 'O', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', -'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', -'e', 'x', 't', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'B', '\013', -'\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', '$', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', -'C', 'o', 'n', 't', 'e', 'x', 't', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', -'r', '\022', '\316', '\001', '\n', '0', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', -'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '_', 'i', 'n', 's', 't', -'a', 'n', 'c', 'e', '\030', '\014', ' ', '\001', '(', '\013', '2', 'W', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', -'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', -'s', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '.', 'C', 'e', 'r', -'t', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', 'B', -'\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', ',', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', -'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', -'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', '\022', '%', '\n', '\016', 'a', 'l', 'p', 'n', '_', 'p', 'r', 'o', 't', 'o', 'c', -'o', 'l', 's', '\030', '\004', ' ', '\003', '(', '\t', 'R', '\r', 'a', 'l', 'p', 'n', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 's', '\022', -'W', '\n', '\021', 'c', 'u', 's', 't', 'o', 'm', '_', 'h', 'a', 'n', 'd', 's', 'h', 'a', 'k', 'e', 'r', '\030', '\r', ' ', '\001', '(', -'\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', -'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\020', 'c', 'u', 's', -'t', 'o', 'm', 'H', 'a', 'n', 'd', 's', 'h', 'a', 'k', 'e', 'r', '\022', 'M', '\n', '\007', 'k', 'e', 'y', '_', 'l', 'o', 'g', '\030', -'\017', ' ', '\001', '(', '\013', '2', '4', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', -'t', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', -'T', 'l', 's', 'K', 'e', 'y', 'L', 'o', 'g', 'R', '\006', 'k', 'e', 'y', 'L', 'o', 'g', '\032', '\222', '\001', '\n', '\023', 'C', 'e', 'r', -'t', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', -'\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'O', '\n', '\014', 't', -'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', -'.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', -'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', -'g', 'B', '\r', '\n', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\022', '\003', '\370', 'B', '\001', '\032', 'm', '\n', '\033', 'C', 'e', 'r', 't', 'i', -'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', '\022', '#', '\n', -'\r', 'i', 'n', 's', 't', 'a', 'n', 'c', 'e', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\014', 'i', 'n', 's', -'t', 'a', 'n', 'c', 'e', 'N', 'a', 'm', 'e', '\022', ')', '\n', '\020', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', '_', -'n', 'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\017', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'N', 'a', -'m', 'e', '\032', '\244', '\006', '\n', '$', 'C', 'o', 'm', 'b', 'i', 'n', 'e', 'd', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', -'e', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', '\217', '\001', '\n', '\032', 'd', 'e', -'f', 'a', 'u', 'l', 't', '_', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '\030', -'\001', ' ', '\001', '(', '\013', '2', 'G', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', -'t', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', -'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', -'e', 'x', 't', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\030', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', -'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', '\022', '\224', '\001', '\n', '$', 'v', 'a', 'l', 'i', 'd', 'a', -'t', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', 's', 'd', 's', '_', 's', 'e', 'c', 'r', 'e', 't', '_', 'c', -'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', ':', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', -'s', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', -'l', 's', '.', 'v', '3', '.', 'S', 'd', 's', 'S', 'e', 'c', 'r', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\010', '\372', 'B', -'\005', '\212', '\001', '\002', '\020', '\001', 'R', ' ', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', -'S', 'd', 's', 'S', 'e', 'c', 'r', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\263', '\001', '\n', '\'', 'v', 'a', 'l', 'i', 'd', -'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', 'c', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', -'_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', 'O', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', -'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', -'t', 's', '.', 't', 'l', 's', '.', 'v', '3', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', -'t', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'B', '\013', '\030', '\001', -'\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '$', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', -'e', 'x', 't', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\022', '\314', '\001', -'\n', '0', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', 'c', 'e', 'r', 't', -'i', 'f', 'i', 'c', 'a', 't', 'e', '_', 'p', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '_', 'i', 'n', 's', 't', 'a', 'n', 'c', 'e', -'\030', '\004', ' ', '\001', '(', '\013', '2', 'W', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', -'.', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', -'.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '.', 'C', 'e', 'r', 't', 'i', 'f', 'i', -'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', 'B', '\013', '\030', '\001', '\222', -'\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', ',', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 't', 'e', -'x', 't', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 'I', 'n', 's', 't', -'a', 'n', 'c', 'e', ':', 'N', '\232', '\305', '\210', '\036', 'I', '\n', 'G', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'p', 'i', '.', 'v', '2', -'.', 'a', 'u', 't', 'h', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', '.', 'C', 'o', -'m', 'b', 'i', 'n', 'e', 'd', 'C', 'e', 'r', 't', 'i', 'f', 'i', 'c', 'a', 't', 'e', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', -'o', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', ':', ')', '\232', '\305', '\210', '\036', '$', '\n', '\"', 'e', 'n', 'v', 'o', 'y', '.', 'a', -'p', 'i', '.', 'v', '2', '.', 'a', 'u', 't', 'h', '.', 'C', 'o', 'm', 'm', 'o', 'n', 'T', 'l', 's', 'C', 'o', 'n', 't', 'e', -'x', 't', 'B', '\031', '\n', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '_', 'c', 'o', 'n', 't', 'e', 'x', 't', '_', -'t', 'y', 'p', 'e', 'J', '\004', '\010', '\005', '\020', '\006', 'B', '\245', '\001', '\n', '7', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', -'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '.', 't', 'r', 'a', 'n', -'s', 'p', 'o', 'r', 't', '_', 's', 'o', 'c', 'k', 'e', 't', 's', '.', 't', 'l', 's', '.', 'v', '3', 'B', '\010', 'T', 'l', 's', -'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'V', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', -'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', -'v', 'o', 'y', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', '/', 't', 'r', 'a', 'n', 's', 'p', 'o', 'r', 't', '_', -'s', 'o', 'c', 'k', 'e', 't', 's', '/', 't', 'l', 's', '/', 'v', '3', ';', 't', 'l', 's', 'v', '3', '\272', '\200', '\310', '\321', '\006', -'\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[11] = { - &envoy_config_core_v3_address_proto_upbdefinit, - &envoy_config_core_v3_extension_proto_upbdefinit, - &envoy_extensions_transport_sockets_tls_v3_common_proto_upbdefinit, - &envoy_extensions_transport_sockets_tls_v3_secret_proto_upbdefinit, - &google_protobuf_duration_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_extensions_transport_sockets_tls_v3_tls_proto_upbdefinit = { - deps, - &envoy_extensions_transport_sockets_tls_v3_tls_proto_upb_file_layout, - "envoy/extensions/transport_sockets/tls/v3/tls.proto", - UPB_STRINGVIEW_INIT(descriptor, 5336) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c deleted file mode 100644 index ab2c1f4677e..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +++ /dev/null @@ -1,152 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/service/status/v3/csds.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/service/status/v3/csds.upbdefs.h" -#include "envoy/service/status/v3/csds.upb.h" - -extern _upb_DefPool_Init envoy_admin_v3_config_dump_shared_proto_upbdefinit; -extern _upb_DefPool_Init envoy_config_core_v3_base_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_matcher_v3_node_proto_upbdefinit; -extern _upb_DefPool_Init google_api_annotations_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_timestamp_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -static const char descriptor[2749] = {'\n', '\"', 'e', 'n', 'v', 'o', 'y', '/', 's', 'e', 'r', 'v', 'i', 'c', 'e', '/', 's', 't', 'a', 't', 'u', 's', '/', 'v', '3', -'/', 'c', 's', 'd', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\027', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', -'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '\032', '\'', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'd', 'm', 'i', 'n', '/', -'v', '3', '/', 'c', 'o', 'n', 'f', 'i', 'g', '_', 'd', 'u', 'm', 'p', '_', 's', 'h', 'a', 'r', 'e', 'd', '.', 'p', 'r', 'o', -'t', 'o', '\032', '\037', 'e', 'n', 'v', 'o', 'y', '/', 'c', 'o', 'n', 'f', 'i', 'g', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', -'b', 'a', 's', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', ' ', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', -'t', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'n', 'o', 'd', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\034', 'g', 'o', 'o', 'g', -'l', 'e', '/', 'a', 'p', 'i', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', -'\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', -'o', '\032', '\037', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 't', 'i', 'm', 'e', 's', 't', -'a', 'm', 'p', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', -'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', -'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', -'t', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', -'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\"', '\302', '\001', '\n', '\023', 'C', 'l', 'i', 'e', 'n', 't', 'S', 't', -'a', 't', 'u', 's', 'R', 'e', 'q', 'u', 'e', 's', 't', '\022', 'G', '\n', '\r', 'n', 'o', 'd', 'e', '_', 'm', 'a', 't', 'c', 'h', -'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', -'t', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'N', 'o', 'd', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\014', 'n', 'o', 'd', -'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 's', '\022', '.', '\n', '\004', 'n', 'o', 'd', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\032', -'.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'N', 'o', 'd', -'e', 'R', '\004', 'n', 'o', 'd', 'e', ':', '2', '\232', '\305', '\210', '\036', '-', '\n', '+', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', -'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '2', '.', 'C', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', -'u', 's', 'R', 'e', 'q', 'u', 'e', 's', 't', '\"', '\371', '\004', '\n', '\014', 'P', 'e', 'r', 'X', 'd', 's', 'C', 'o', 'n', 'f', 'i', -'g', '\022', '=', '\n', '\006', 's', 't', 'a', 't', 'u', 's', '\030', '\001', ' ', '\001', '(', '\016', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', -'.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', -'S', 't', 'a', 't', 'u', 's', 'R', '\006', 's', 't', 'a', 't', 'u', 's', '\022', ']', '\n', '\r', 'c', 'l', 'i', 'e', 'n', 't', '_', -'s', 't', 'a', 't', 'u', 's', '\030', '\007', ' ', '\001', '(', '\016', '2', '+', '.', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', -'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'o', 'n', 'f', 'i', -'g', 'S', 't', 'a', 't', 'u', 's', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\014', 'c', 'l', 'i', -'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', '\022', 'N', '\n', '\017', 'l', 'i', 's', 't', 'e', 'n', 'e', 'r', '_', 'c', 'o', 'n', -'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'd', 'm', 'i', 'n', '.', 'v', -'3', '.', 'L', 'i', 's', 't', 'e', 'n', 'e', 'r', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'D', 'u', 'm', 'p', 'H', '\000', 'R', '\016', -'l', 'i', 's', 't', 'e', 'n', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'K', '\n', '\016', 'c', 'l', 'u', 's', 't', 'e', 'r', -'_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\003', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'd', 'm', -'i', 'n', '.', 'v', '3', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'D', 'u', 'm', 'p', 'H', -'\000', 'R', '\r', 'c', 'l', 'u', 's', 't', 'e', 'r', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'E', '\n', '\014', 'r', 'o', 'u', 't', 'e', -'_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', ' ', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'd', 'm', -'i', 'n', '.', 'v', '3', '.', 'R', 'o', 'u', 't', 'e', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'D', 'u', 'm', 'p', 'H', '\000', 'R', -'\013', 'r', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'X', '\n', '\023', 's', 'c', 'o', 'p', 'e', 'd', '_', 'r', 'o', -'u', 't', 'e', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\005', ' ', '\001', '(', '\013', '2', '&', '.', 'e', 'n', 'v', 'o', 'y', '.', -'a', 'd', 'm', 'i', 'n', '.', 'v', '3', '.', 'S', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 's', 'C', 'o', 'n', 'f', -'i', 'g', 'D', 'u', 'm', 'p', 'H', '\000', 'R', '\021', 's', 'c', 'o', 'p', 'e', 'd', 'R', 'o', 'u', 't', 'e', 'C', 'o', 'n', 'f', -'i', 'g', '\022', 'N', '\n', '\017', 'e', 'n', 'd', 'p', 'o', 'i', 'n', 't', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\006', ' ', '\001', -'(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'd', 'm', 'i', 'n', '.', 'v', '3', '.', 'E', 'n', 'd', 'p', 'o', -'i', 'n', 't', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'D', 'u', 'm', 'p', 'H', '\000', 'R', '\016', 'e', 'n', 'd', 'p', 'o', 'i', 'n', -'t', 'C', 'o', 'n', 'f', 'i', 'g', ':', '+', '\232', '\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', -'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '2', '.', 'P', 'e', 'r', 'X', 'd', 's', 'C', 'o', 'n', 'f', -'i', 'g', 'B', '\020', '\n', '\016', 'p', 'e', 'r', '_', 'x', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\"', '\213', '\006', '\n', '\014', -'C', 'l', 'i', 'e', 'n', 't', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '.', '\n', '\004', 'n', 'o', 'd', 'e', '\030', '\001', ' ', '\001', '(', -'\013', '2', '\032', '.', 'e', 'n', 'v', 'o', 'y', '.', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', -'N', 'o', 'd', 'e', 'R', '\004', 'n', 'o', 'd', 'e', '\022', 'Q', '\n', '\n', 'x', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', -'\002', ' ', '\003', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', -'t', 'u', 's', '.', 'v', '3', '.', 'P', 'e', 'r', 'X', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\013', '\030', '\001', '\222', '\307', -'\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\t', 'x', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', 'f', '\n', '\023', 'g', 'e', 'n', -'e', 'r', 'i', 'c', '_', 'x', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '6', '.', -'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', -'l', 'i', 'e', 'n', 't', 'C', 'o', 'n', 'f', 'i', 'g', '.', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'X', 'd', 's', 'C', 'o', 'n', -'f', 'i', 'g', 'R', '\021', 'g', 'e', 'n', 'e', 'r', 'i', 'c', 'X', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', 's', '\032', '\342', '\003', -'\n', '\020', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'X', 'd', 's', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\031', '\n', '\010', 't', 'y', 'p', -'e', '_', 'u', 'r', 'l', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\007', 't', 'y', 'p', 'e', 'U', 'r', 'l', '\022', '\022', '\n', '\004', 'n', -'a', 'm', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '!', '\n', '\014', 'v', 'e', 'r', 's', 'i', 'o', -'n', '_', 'i', 'n', 'f', 'o', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\013', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'I', 'n', 'f', 'o', -'\022', '3', '\n', '\n', 'x', 'd', 's', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\004', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', -'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\t', 'x', 'd', 's', 'C', 'o', 'n', -'f', 'i', 'g', '\022', '=', '\n', '\014', 'l', 'a', 's', 't', '_', 'u', 'p', 'd', 'a', 't', 'e', 'd', '\030', '\005', ' ', '\001', '(', '\013', -'2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'T', 'i', 'm', 'e', 's', 't', -'a', 'm', 'p', 'R', '\013', 'l', 'a', 's', 't', 'U', 'p', 'd', 'a', 't', 'e', 'd', '\022', 'J', '\n', '\r', 'c', 'o', 'n', 'f', 'i', -'g', '_', 's', 't', 'a', 't', 'u', 's', '\030', '\006', ' ', '\001', '(', '\016', '2', '%', '.', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', -'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 't', 'a', -'t', 'u', 's', 'R', '\014', 'c', 'o', 'n', 'f', 'i', 'g', 'S', 't', 'a', 't', 'u', 's', '\022', 'I', '\n', '\r', 'c', 'l', 'i', 'e', -'n', 't', '_', 's', 't', 'a', 't', 'u', 's', '\030', '\007', ' ', '\001', '(', '\016', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', -'d', 'm', 'i', 'n', '.', 'v', '3', '.', 'C', 'l', 'i', 'e', 'n', 't', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'S', 't', 'a', -'t', 'u', 's', 'R', '\014', 'c', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', '\022', 'C', '\n', '\013', 'e', 'r', 'r', 'o', -'r', '_', 's', 't', 'a', 't', 'e', '\030', '\010', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 'a', 'd', 'm', -'i', 'n', '.', 'v', '3', '.', 'U', 'p', 'd', 'a', 't', 'e', 'F', 'a', 'i', 'l', 'u', 'r', 'e', 'S', 't', 'a', 't', 'e', 'R', -'\n', 'e', 'r', 'r', 'o', 'r', 'S', 't', 'a', 't', 'e', '\022', ',', '\n', '\022', 'i', 's', '_', 's', 't', 'a', 't', 'i', 'c', '_', -'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', '\030', '\t', ' ', '\001', '(', '\010', 'R', '\020', 'i', 's', 'S', 't', 'a', 't', 'i', 'c', 'R', -'e', 's', 'o', 'u', 'r', 'c', 'e', ':', '+', '\232', '\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', -'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '2', '.', 'C', 'l', 'i', 'e', 'n', 't', 'C', 'o', 'n', 'f', -'i', 'g', '\"', '\212', '\001', '\n', '\024', 'C', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', 'R', 'e', 's', 'p', 'o', 'n', -'s', 'e', '\022', '=', '\n', '\006', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\001', ' ', '\003', '(', '\013', '2', '%', '.', 'e', 'n', 'v', 'o', -'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', 'l', 'i', 'e', 'n', -'t', 'C', 'o', 'n', 'f', 'i', 'g', 'R', '\006', 'c', 'o', 'n', 'f', 'i', 'g', ':', '3', '\232', '\305', '\210', '\036', '.', '\n', ',', 'e', -'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '2', '.', 'C', 'l', -'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', '*', 'K', '\n', '\014', 'C', 'o', 'n', -'f', 'i', 'g', 'S', 't', 'a', 't', 'u', 's', '\022', '\013', '\n', '\007', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\n', '\n', -'\006', 'S', 'Y', 'N', 'C', 'E', 'D', '\020', '\001', '\022', '\014', '\n', '\010', 'N', 'O', 'T', '_', 'S', 'E', 'N', 'T', '\020', '\002', '\022', '\t', -'\n', '\005', 'S', 'T', 'A', 'L', 'E', '\020', '\003', '\022', '\t', '\n', '\005', 'E', 'R', 'R', 'O', 'R', '\020', '\004', '*', 'c', '\n', '\022', 'C', -'l', 'i', 'e', 'n', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 't', 'a', 't', 'u', 's', '\022', '\022', '\n', '\016', 'C', 'L', 'I', 'E', -'N', 'T', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\024', '\n', '\020', 'C', 'L', 'I', 'E', 'N', 'T', '_', 'R', 'E', -'Q', 'U', 'E', 'S', 'T', 'E', 'D', '\020', '\001', '\022', '\020', '\n', '\014', 'C', 'L', 'I', 'E', 'N', 'T', '_', 'A', 'C', 'K', 'E', 'D', -'\020', '\002', '\022', '\021', '\n', '\r', 'C', 'L', 'I', 'E', 'N', 'T', '_', 'N', 'A', 'C', 'K', 'E', 'D', '\020', '\003', '2', '\262', '\002', '\n', -'\034', 'C', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', 'D', 'i', 's', 'c', 'o', 'v', 'e', 'r', 'y', 'S', 'e', 'r', -'v', 'i', 'c', 'e', '\022', 'w', '\n', '\022', 'S', 't', 'r', 'e', 'a', 'm', 'C', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', -'s', '\022', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', -'v', '3', '.', 'C', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', 'R', 'e', 'q', 'u', 'e', 's', 't', '\032', '-', '.', -'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', -'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', '\"', '\000', '(', '\001', '0', '\001', -'\022', '\230', '\001', '\n', '\021', 'F', 'e', 't', 'c', 'h', 'C', 'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', '\022', ',', '.', -'e', 'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', -'l', 'i', 'e', 'n', 't', 'S', 't', 'a', 't', 'u', 's', 'R', 'e', 'q', 'u', 'e', 's', 't', '\032', '-', '.', 'e', 'n', 'v', 'o', -'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', '.', 'C', 'l', 'i', 'e', 'n', -'t', 'S', 't', 'a', 't', 'u', 's', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', '\"', '&', '\202', '\323', '\344', '\223', '\002', ' ', '\"', '\033', -'/', 'v', '3', '/', 'd', 'i', 's', 'c', 'o', 'v', 'e', 'r', 'y', ':', 'c', 'l', 'i', 'e', 'n', 't', '_', 's', 't', 'a', 't', -'u', 's', ':', '\001', '*', 'B', '\205', '\001', '\n', '%', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', -'n', 'v', 'o', 'y', '.', 's', 'e', 'r', 'v', 'i', 'c', 'e', '.', 's', 't', 'a', 't', 'u', 's', '.', 'v', '3', 'B', '\t', 'C', -'s', 'd', 's', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'G', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', -'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', -'/', 'e', 'n', 'v', 'o', 'y', '/', 's', 'e', 'r', 'v', 'i', 'c', 'e', '/', 's', 't', 'a', 't', 'u', 's', '/', 'v', '3', ';', -'s', 't', 'a', 't', 'u', 's', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[10] = { - &envoy_admin_v3_config_dump_shared_proto_upbdefinit, - &envoy_config_core_v3_base_proto_upbdefinit, - &envoy_type_matcher_v3_node_proto_upbdefinit, - &google_api_annotations_proto_upbdefinit, - &google_protobuf_any_proto_upbdefinit, - &google_protobuf_timestamp_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_service_status_v3_csds_proto_upbdefinit = { - deps, - &envoy_service_status_v3_csds_proto_upb_file_layout, - "envoy/service/status/v3/csds.proto", - UPB_STRINGVIEW_INIT(descriptor, 2749) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c deleted file mode 100644 index 6d8a6e74607..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +++ /dev/null @@ -1,46 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/http/v3/cookie.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/type/http/v3/cookie.upbdefs.h" -#include "envoy/type/http/v3/cookie.upb.h" - -extern _upb_DefPool_Init google_protobuf_duration_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[388] = {'\n', '\037', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'h', 't', 't', 'p', '/', 'v', '3', '/', 'c', 'o', 'o', 'k', -'i', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\022', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'h', 't', 't', 'p', -'.', 'v', '3', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'u', 'r', 'a', -'t', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', -'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', -'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 'p', '\n', '\006', 'C', 'o', 'o', 'k', 'i', -'e', '\022', '\033', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', -'\004', 'n', 'a', 'm', 'e', '\022', '5', '\n', '\003', 't', 't', 'l', '\030', '\002', ' ', '\001', '(', '\013', '2', '\031', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', -'\252', '\001', '\002', '2', '\000', 'R', '\003', 't', 't', 'l', '\022', '\022', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\003', ' ', '\001', '(', '\t', 'R', -'\004', 'p', 'a', 't', 'h', 'B', '{', '\n', ' ', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', -'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'h', 't', 't', 'p', '.', 'v', '3', 'B', '\013', 'C', 'o', 'o', 'k', 'i', 'e', 'P', -'r', 'o', 't', 'o', 'P', '\001', 'Z', '@', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', -'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', -'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'h', 't', 't', 'p', '/', 'v', '3', ';', 'h', 't', 't', 'p', 'v', '3', '\272', '\200', '\310', -'\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[4] = { - &google_protobuf_duration_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_type_http_v3_cookie_proto_upbdefinit = { - deps, - &envoy_type_http_v3_cookie_proto_upb_file_layout, - "envoy/type/http/v3/cookie.proto", - UPB_STRINGVIEW_INIT(descriptor, 388) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h deleted file mode 100644 index 638eb3fec1a..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/http/v3/cookie.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPBDEFS_H_ -#define ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_type_http_v3_cookie_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_type_http_v3_Cookie_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_http_v3_cookie_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.http.v3.Cookie"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_HTTP_V3_COOKIE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c deleted file mode 100644 index cdfbf61cdbc..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +++ /dev/null @@ -1,55 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/http_inputs.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/type/matcher/v3/http_inputs.upbdefs.h" -#include "envoy/type/matcher/v3/http_inputs.upb.h" - -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[656] = {'\n', '\'', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'h', -'t', 't', 'p', '_', 'i', 'n', 'p', 'u', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', -'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', -'t', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', -'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 'K', '\n', '\033', 'H', -'t', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'I', 'n', 'p', 'u', -'t', '\022', ',', '\n', '\013', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\013', '\372', -'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\n', 'h', 'e', 'a', 'd', 'e', 'r', 'N', 'a', 'm', 'e', '\"', 'L', '\n', -'\034', 'H', 't', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'T', 'r', 'a', 'i', 'l', 'e', 'r', 'M', 'a', 't', 'c', 'h', 'I', -'n', 'p', 'u', 't', '\022', ',', '\n', '\013', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', -'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\n', 'h', 'e', 'a', 'd', 'e', 'r', 'N', 'a', 'm', 'e', -'\"', 'L', '\n', '\034', 'H', 't', 't', 'p', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 't', -'c', 'h', 'I', 'n', 'p', 'u', 't', '\022', ',', '\n', '\013', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', 'e', '\030', '\001', ' ', -'\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\n', 'h', 'e', 'a', 'd', 'e', 'r', 'N', -'a', 'm', 'e', '\"', 'M', '\n', '\035', 'H', 't', 't', 'p', 'R', 'e', 's', 'p', 'o', 'n', 's', 'e', 'T', 'r', 'a', 'i', 'l', 'e', -'r', 'M', 'a', 't', 'c', 'h', 'I', 'n', 'p', 'u', 't', '\022', ',', '\n', '\013', 'h', 'e', 'a', 'd', 'e', 'r', '_', 'n', 'a', 'm', -'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\001', '\310', '\001', '\000', 'R', '\n', 'h', 'e', 'a', -'d', 'e', 'r', 'N', 'a', 'm', 'e', '\"', 'K', '\n', '\037', 'H', 't', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'Q', 'u', 'e', -'r', 'y', 'P', 'a', 'r', 'a', 'm', 'M', 'a', 't', 'c', 'h', 'I', 'n', 'p', 'u', 't', '\022', '(', '\n', '\013', 'q', 'u', 'e', 'r', -'y', '_', 'p', 'a', 'r', 'a', 'm', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\n', 'q', -'u', 'e', 'r', 'y', 'P', 'a', 'r', 'a', 'm', 'B', '\210', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', -'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', -'\017', 'H', 't', 't', 'p', 'I', 'n', 'p', 'u', 't', 's', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'F', 'g', 'i', 't', 'h', 'u', -'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', -'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', -'e', 'r', '/', 'v', '3', ';', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', -'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[3] = { - &udpa_annotations_status_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_type_matcher_v3_http_inputs_proto_upbdefinit = { - deps, - &envoy_type_matcher_v3_http_inputs_proto_upb_file_layout, - "envoy/type/matcher/v3/http_inputs.proto", - UPB_STRINGVIEW_INIT(descriptor, 656) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h deleted file mode 100644 index a416f6ad772..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +++ /dev/null @@ -1,56 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/http_inputs.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPBDEFS_H_ -#define ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_type_matcher_v3_http_inputs_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_HttpRequestHeaderMatchInput_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_http_inputs_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.HttpRequestHeaderMatchInput"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_HttpRequestTrailerMatchInput_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_http_inputs_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.HttpRequestTrailerMatchInput"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_HttpResponseHeaderMatchInput_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_http_inputs_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.HttpResponseHeaderMatchInput"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_HttpResponseTrailerMatchInput_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_http_inputs_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.HttpResponseTrailerMatchInput"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_HttpRequestQueryParamMatchInput_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_http_inputs_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.HttpRequestQueryParamMatchInput"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c deleted file mode 100644 index 206169d75cf..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +++ /dev/null @@ -1,61 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/metadata.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/type/matcher/v3/metadata.upbdefs.h" -#include "envoy/type/matcher/v3/metadata.upb.h" - -extern _upb_DefPool_Init envoy_type_matcher_v3_value_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[718] = {'\n', '$', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', -'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', -'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '!', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', -'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'v', 'a', 'l', 'u', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', -'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', -'t', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', -'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', -'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\377', '\002', '\n', '\017', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', -'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', '\037', '\n', '\006', 'f', 'i', 'l', 't', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', -'\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\006', 'f', 'i', 'l', 't', 'e', 'r', '\022', 'P', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\002', -' ', '\003', '(', '\013', '2', '2', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', -'.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'P', 'a', 't', 'h', 'S', -'e', 'g', 'm', 'e', 'n', 't', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\004', 'p', 'a', 't', 'h', '\022', 'C', '\n', -'\005', 'v', 'a', 'l', 'u', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', -'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', -'\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'v', 'a', 'l', 'u', 'e', '\022', '\026', '\n', '\006', 'i', 'n', 'v', 'e', 'r', -'t', '\030', '\004', ' ', '\001', '(', '\010', 'R', '\006', 'i', 'n', 'v', 'e', 'r', 't', '\032', 'q', '\n', '\013', 'P', 'a', 't', 'h', 'S', 'e', -'g', 'm', 'e', 'n', 't', '\022', '\033', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', -'\020', '\001', 'H', '\000', 'R', '\003', 'k', 'e', 'y', ':', '5', '\232', '\305', '\210', '\036', '0', '\n', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', -'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', -'e', 'r', '.', 'P', 'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', 'B', '\016', '\n', '\007', 's', 'e', 'g', 'm', 'e', 'n', 't', -'\022', '\003', '\370', 'B', '\001', ':', ')', '\232', '\305', '\210', '\036', '$', '\n', '\"', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', -'m', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\206', -'\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', -'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\r', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'P', 'r', -'o', 't', 'o', 'P', '\001', 'Z', 'F', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', -'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', -'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', ';', 'm', 'a', 't', 'c', 'h', 'e', 'r', -'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[5] = { - &envoy_type_matcher_v3_value_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_type_matcher_v3_metadata_proto_upbdefinit = { - deps, - &envoy_type_matcher_v3_metadata_proto_upb_file_layout, - "envoy/type/matcher/v3/metadata.proto", - UPB_STRINGVIEW_INIT(descriptor, 718) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h deleted file mode 100644 index 02e18645608..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +++ /dev/null @@ -1,41 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/metadata.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPBDEFS_H_ -#define ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_type_matcher_v3_metadata_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_MetadataMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_metadata_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.MetadataMatcher"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_MetadataMatcher_PathSegment_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_metadata_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.MetadataMatcher.PathSegment"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_MATCHER_V3_METADATA_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c deleted file mode 100644 index 7f1f40c4c99..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +++ /dev/null @@ -1,71 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/regex.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/type/matcher/v3/regex.upbdefs.h" -#include "envoy/type/matcher/v3/regex.upb.h" - -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init envoy_annotations_deprecation_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[906] = {'\n', '!', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'r', -'e', 'g', 'e', 'x', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', -'t', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '#', 'e', 'n', 'v', 'o', 'y', '/', 'a', 'n', -'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'i', 'o', 'n', '.', 'p', 'r', 'o', -'t', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', -'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', -'s', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', -'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\326', '\002', '\n', '\014', 'R', 'e', -'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', '[', '\n', '\n', 'g', 'o', 'o', 'g', 'l', 'e', '_', 'r', 'e', '2', '\030', -'\001', ' ', '\001', '(', '\013', '2', '-', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', -'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'G', 'o', 'o', 'g', 'l', 'e', 'R', -'E', '2', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'H', '\000', 'R', '\t', 'g', 'o', 'o', 'g', 'l', 'e', -'R', 'e', '2', '\022', '\035', '\n', '\005', 'r', 'e', 'g', 'e', 'x', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', -'\020', '\001', 'R', '\005', 'r', 'e', 'g', 'e', 'x', '\032', '\222', '\001', '\n', '\t', 'G', 'o', 'o', 'g', 'l', 'e', 'R', 'E', '2', '\022', 'S', -'\n', '\020', 'm', 'a', 'x', '_', 'p', 'r', 'o', 'g', 'r', 'a', 'm', '_', 's', 'i', 'z', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', -'\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'I', 'n', 't', '3', '2', 'V', -'a', 'l', 'u', 'e', 'B', '\013', '\030', '\001', '\222', '\307', '\206', '\330', '\004', '\003', '3', '.', '0', 'R', '\016', 'm', 'a', 'x', 'P', 'r', 'o', -'g', 'r', 'a', 'm', 'S', 'i', 'z', 'e', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', -'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'G', -'o', 'o', 'g', 'l', 'e', 'R', 'E', '2', ':', '&', '\232', '\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', -'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\r', -'\n', '\013', 'e', 'n', 'g', 'i', 'n', 'e', '_', 't', 'y', 'p', 'e', '\"', '\306', '\001', '\n', '\027', 'R', 'e', 'g', 'e', 'x', 'M', 'a', -'t', 'c', 'h', 'A', 'n', 'd', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'e', '\022', 'G', '\n', '\007', 'p', 'a', 't', 't', 'e', -'r', 'n', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', -'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', -'\212', '\001', '\002', '\020', '\001', 'R', '\007', 'p', 'a', 't', 't', 'e', 'r', 'n', '\022', '/', '\n', '\014', 's', 'u', 'b', 's', 't', 'i', 't', -'u', 't', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\013', '\372', 'B', '\010', 'r', '\006', '\300', '\001', '\002', '\310', '\001', '\000', 'R', -'\014', 's', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'i', 'o', 'n', ':', '1', '\232', '\305', '\210', '\036', ',', '\n', '*', 'e', 'n', 'v', -'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', -'h', 'A', 'n', 'd', 'S', 'u', 'b', 's', 't', 'i', 't', 'u', 't', 'e', 'B', '\203', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', -'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', -'r', '.', 'v', '3', 'B', '\n', 'R', 'e', 'g', 'e', 'x', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'F', 'g', 'i', 't', 'h', 'u', -'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', -'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', -'e', 'r', '/', 'v', '3', ';', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', -'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[6] = { - &google_protobuf_wrappers_proto_upbdefinit, - &envoy_annotations_deprecation_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_type_matcher_v3_regex_proto_upbdefinit = { - deps, - &envoy_type_matcher_v3_regex_proto_upb_file_layout, - "envoy/type/matcher/v3/regex.proto", - UPB_STRINGVIEW_INIT(descriptor, 906) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h deleted file mode 100644 index 91cb6e36d71..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +++ /dev/null @@ -1,46 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/regex.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPBDEFS_H_ -#define ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_type_matcher_v3_regex_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_RegexMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_regex_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.RegexMatcher"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_RegexMatcher_GoogleRE2_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_regex_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.RegexMatcher.GoogleRE2"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_RegexMatchAndSubstitute_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_regex_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.RegexMatchAndSubstitute"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_MATCHER_V3_REGEX_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c deleted file mode 100644 index b7b22d63cd8..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +++ /dev/null @@ -1,65 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/string.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/type/matcher/v3/string.upbdefs.h" -#include "envoy/type/matcher/v3/string.upb.h" - -extern _upb_DefPool_Init envoy_type_matcher_v3_regex_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[811] = {'\n', '\"', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', -'t', 'r', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', -'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '!', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', -'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'r', 'e', 'g', 'e', 'x', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', -'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', -'\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', -'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', -'d', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\321', '\002', '\n', '\r', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', -'h', 'e', 'r', '\022', '\026', '\n', '\005', 'e', 'x', 'a', 'c', 't', '\030', '\001', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\005', 'e', 'x', 'a', -'c', 't', '\022', '!', '\n', '\006', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', -'\020', '\001', 'H', '\000', 'R', '\006', 'p', 'r', 'e', 'f', 'i', 'x', '\022', '!', '\n', '\006', 's', 'u', 'f', 'f', 'i', 'x', '\030', '\003', ' ', -'\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\006', 's', 'u', 'f', 'f', 'i', 'x', '\022', 'N', '\n', -'\n', 's', 'a', 'f', 'e', '_', 'r', 'e', 'g', 'e', 'x', '\030', '\005', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', -'.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', -'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'H', '\000', 'R', '\t', 's', 'a', 'f', 'e', 'R', 'e', 'g', -'e', 'x', '\022', '%', '\n', '\010', 'c', 'o', 'n', 't', 'a', 'i', 'n', 's', '\030', '\007', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', -'r', '\002', '\020', '\001', 'H', '\000', 'R', '\010', 'c', 'o', 'n', 't', 'a', 'i', 'n', 's', '\022', '\037', '\n', '\013', 'i', 'g', 'n', 'o', 'r', -'e', '_', 'c', 'a', 's', 'e', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\n', 'i', 'g', 'n', 'o', 'r', 'e', 'C', 'a', 's', 'e', ':', -'\'', '\232', '\305', '\210', '\036', '\"', '\n', ' ', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', -'r', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\024', '\n', '\r', 'm', 'a', 't', 'c', 'h', '_', -'p', 'a', 't', 't', 'e', 'r', 'n', '\022', '\003', '\370', 'B', '\001', 'J', '\004', '\010', '\004', '\020', '\005', 'R', '\005', 'r', 'e', 'g', 'e', 'x', -'\"', '\214', '\001', '\n', '\021', 'L', 'i', 's', 't', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'J', '\n', -'\010', 'p', 'a', 't', 't', 'e', 'r', 'n', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', -'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', -'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\010', 'p', 'a', 't', 't', 'e', 'r', 'n', 's', ':', '+', -'\232', '\305', '\210', '\036', '&', '\n', '$', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', -'.', 'L', 'i', 's', 't', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\204', '\001', '\n', '#', 'i', 'o', -'.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', -'t', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\013', 'S', 't', 'r', 'i', 'n', 'g', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'F', -'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', -'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', -'m', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', ';', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', -'\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[5] = { - &envoy_type_matcher_v3_regex_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit = { - deps, - &envoy_type_matcher_v3_string_proto_upb_file_layout, - "envoy/type/matcher/v3/string.proto", - UPB_STRINGVIEW_INIT(descriptor, 811) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h deleted file mode 100644 index 190a145d287..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +++ /dev/null @@ -1,41 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/string.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPBDEFS_H_ -#define ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_StringMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_string_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.StringMatcher"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_ListStringMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_string_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.ListStringMatcher"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_MATCHER_V3_STRING_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c deleted file mode 100644 index 6bc6267ee58..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +++ /dev/null @@ -1,58 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/struct.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/type/matcher/v3/struct.upbdefs.h" -#include "envoy/type/matcher/v3/struct.upb.h" - -extern _upb_DefPool_Init envoy_type_matcher_v3_value_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[649] = {'\n', '\"', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', -'t', 'r', 'u', 'c', 't', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', -'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '!', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', -'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'v', 'a', 'l', 'u', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', -'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', -'\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', -'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', -'d', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\276', '\002', '\n', '\r', 'S', 't', 'r', 'u', 'c', 't', 'M', 'a', 't', 'c', -'h', 'e', 'r', '\022', 'N', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\002', ' ', '\003', '(', '\013', '2', '0', '.', 'e', 'n', 'v', 'o', 'y', -'.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'u', 'c', 't', 'M', 'a', -'t', 'c', 'h', 'e', 'r', '.', 'P', 'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', -'\010', '\001', 'R', '\004', 'p', 'a', 't', 'h', '\022', 'C', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', '#', -'.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'V', 'a', -'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'v', 'a', 'l', -'u', 'e', '\032', 'o', '\n', '\013', 'P', 'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', '\022', '\033', '\n', '\003', 'k', 'e', 'y', '\030', -'\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\003', 'k', 'e', 'y', ':', '3', '\232', '\305', -'\210', '\036', '.', '\n', ',', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'S', -'t', 'r', 'u', 'c', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'P', 'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', 'B', -'\016', '\n', '\007', 's', 'e', 'g', 'm', 'e', 'n', 't', '\022', '\003', '\370', 'B', '\001', ':', '\'', '\232', '\305', '\210', '\036', '\"', '\n', ' ', 'e', -'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'S', 't', 'r', 'u', 'c', 't', 'M', -'a', 't', 'c', 'h', 'e', 'r', 'B', '\204', '\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', -'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\013', 'S', 't', -'r', 'u', 'c', 't', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'F', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', -'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', -'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', ';', 'm', -'a', 't', 'c', 'h', 'e', 'r', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[5] = { - &envoy_type_matcher_v3_value_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_type_matcher_v3_struct_proto_upbdefinit = { - deps, - &envoy_type_matcher_v3_struct_proto_upb_file_layout, - "envoy/type/matcher/v3/struct.proto", - UPB_STRINGVIEW_INIT(descriptor, 649) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h deleted file mode 100644 index b9bfd088859..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +++ /dev/null @@ -1,41 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/struct.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPBDEFS_H_ -#define ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_type_matcher_v3_struct_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_StructMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_struct_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.StructMatcher"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_matcher_v3_StructMatcher_PathSegment_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_matcher_v3_struct_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.matcher.v3.StructMatcher.PathSegment"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_MATCHER_V3_STRUCT_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c deleted file mode 100644 index deb6425c951..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +++ /dev/null @@ -1,75 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/matcher/v3/value.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/type/matcher/v3/value.upbdefs.h" -#include "envoy/type/matcher/v3/value.upb.h" - -extern _upb_DefPool_Init envoy_type_matcher_v3_number_proto_upbdefinit; -extern _upb_DefPool_Init envoy_type_matcher_v3_string_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[1015] = {'\n', '!', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'v', -'a', 'l', 'u', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', -'t', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '\"', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', -'h', 'e', 'r', '/', 'v', '3', '/', 'n', 'u', 'm', 'b', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '\"', 'e', 'n', 'v', 'o', -'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', 't', 'r', 'i', 'n', 'g', '.', -'p', 'r', 'o', 't', 'o', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', -'t', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', -'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', -'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\376', '\003', '\n', -'\014', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'N', '\n', '\n', 'n', 'u', 'l', 'l', '_', 'm', 'a', 't', -'c', 'h', '\030', '\001', ' ', '\001', '(', '\013', '2', '-', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', -'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'N', 'u', 'l', 'l', -'M', 'a', 't', 'c', 'h', 'H', '\000', 'R', '\t', 'n', 'u', 'l', 'l', 'M', 'a', 't', 'c', 'h', '\022', 'I', '\n', '\014', 'd', 'o', 'u', -'b', 'l', 'e', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', -'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'D', 'o', 'u', 'b', 'l', 'e', 'M', 'a', 't', 'c', -'h', 'e', 'r', 'H', '\000', 'R', '\013', 'd', 'o', 'u', 'b', 'l', 'e', 'M', 'a', 't', 'c', 'h', '\022', 'I', '\n', '\014', 's', 't', 'r', -'i', 'n', 'g', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', '2', '$', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', -'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', -'h', 'e', 'r', 'H', '\000', 'R', '\013', 's', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', '\022', '\037', '\n', '\n', 'b', 'o', 'o', -'l', '_', 'm', 'a', 't', 'c', 'h', '\030', '\004', ' ', '\001', '(', '\010', 'H', '\000', 'R', '\t', 'b', 'o', 'o', 'l', 'M', 'a', 't', 'c', -'h', '\022', '%', '\n', '\r', 'p', 'r', 'e', 's', 'e', 'n', 't', '_', 'm', 'a', 't', 'c', 'h', '\030', '\005', ' ', '\001', '(', '\010', 'H', -'\000', 'R', '\014', 'p', 'r', 'e', 's', 'e', 'n', 't', 'M', 'a', 't', 'c', 'h', '\022', 'C', '\n', '\n', 'l', 'i', 's', 't', '_', 'm', -'a', 't', 'c', 'h', '\030', '\006', ' ', '\001', '(', '\013', '2', '\"', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', -'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'L', 'i', 's', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\t', -'l', 'i', 's', 't', 'M', 'a', 't', 'c', 'h', '\032', '=', '\n', '\t', 'N', 'u', 'l', 'l', 'M', 'a', 't', 'c', 'h', ':', '0', '\232', -'\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', -'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'N', 'u', 'l', 'l', 'M', 'a', 't', 'c', 'h', ':', '&', '\232', -'\305', '\210', '\036', '!', '\n', '\037', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', -'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\024', '\n', '\r', 'm', 'a', 't', 'c', 'h', '_', 'p', 'a', 't', -'t', 'e', 'r', 'n', '\022', '\003', '\370', 'B', '\001', '\"', '\210', '\001', '\n', '\013', 'L', 'i', 's', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', -'\022', '<', '\n', '\006', 'o', 'n', 'e', '_', 'o', 'f', '\030', '\001', ' ', '\001', '(', '\013', '2', '#', '.', 'e', 'n', 'v', 'o', 'y', '.', -'t', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'V', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', -'h', 'e', 'r', 'H', '\000', 'R', '\005', 'o', 'n', 'e', 'O', 'f', ':', '%', '\232', '\305', '\210', '\036', ' ', '\n', '\036', 'e', 'n', 'v', 'o', -'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'L', 'i', 's', 't', 'M', 'a', 't', 'c', 'h', 'e', -'r', 'B', '\024', '\n', '\r', 'm', 'a', 't', 'c', 'h', '_', 'p', 'a', 't', 't', 'e', 'r', 'n', '\022', '\003', '\370', 'B', '\001', 'B', '\203', -'\001', '\n', '#', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', -'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\n', 'V', 'a', 'l', 'u', 'e', 'P', 'r', 'o', 't', 'o', -'P', '\001', 'Z', 'F', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', -'/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', -'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', ';', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'v', '3', '\272', -'\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[6] = { - &envoy_type_matcher_v3_number_proto_upbdefinit, - &envoy_type_matcher_v3_string_proto_upbdefinit, - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_type_matcher_v3_value_proto_upbdefinit = { - deps, - &envoy_type_matcher_v3_value_proto_upb_file_layout, - "envoy/type/matcher/v3/value.proto", - UPB_STRINGVIEW_INIT(descriptor, 1015) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c deleted file mode 100644 index 6a128d9080d..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +++ /dev/null @@ -1,78 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/metadata/v3/metadata.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/type/metadata/v3/metadata.upbdefs.h" -#include "envoy/type/metadata/v3/metadata.upb.h" - -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[1179] = {'\n', '%', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '/', 'v', '3', '/', -'m', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'p', 'r', 'o', 't', 'o', '\022', '\026', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', -'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', -'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', 'u', 'd', 'p', 'a', -'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', -'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', -'r', 'o', 't', 'o', '\"', '\225', '\002', '\n', '\013', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', '\022', '\031', '\n', '\003', 'k', -'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\003', 'k', 'e', 'y', '\022', 'M', '\n', -'\004', 'p', 'a', 't', 'h', '\030', '\002', ' ', '\003', '(', '\013', '2', '/', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', -'m', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', '.', 'P', -'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\004', 'p', 'a', 't', -'h', '\032', 'q', '\n', '\013', 'P', 'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', '\022', '\033', '\n', '\003', 'k', 'e', 'y', '\030', '\001', -' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\003', 'k', 'e', 'y', ':', '5', '\232', '\305', '\210', -'\036', '0', '\n', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', -'2', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', '.', 'P', 'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', -'B', '\016', '\n', '\007', 's', 'e', 'g', 'm', 'e', 'n', 't', '\022', '\003', '\370', 'B', '\001', ':', ')', '\232', '\305', '\210', '\036', '$', '\n', '\"', -'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '2', '.', 'M', 'e', -'t', 'a', 'd', 'a', 't', 'a', 'K', 'e', 'y', '\"', '\322', '\004', '\n', '\014', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', -'d', '\022', 'H', '\n', '\007', 'r', 'e', 'q', 'u', 'e', 's', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', ',', '.', 'e', 'n', 'v', 'o', -'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', -'t', 'a', 'K', 'i', 'n', 'd', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', 'H', '\000', 'R', '\007', 'r', 'e', 'q', 'u', 'e', 's', 't', -'\022', 'B', '\n', '\005', 'r', 'o', 'u', 't', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '*', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', -'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', -'i', 'n', 'd', '.', 'R', 'o', 'u', 't', 'e', 'H', '\000', 'R', '\005', 'r', 'o', 'u', 't', 'e', '\022', 'H', '\n', '\007', 'c', 'l', 'u', -'s', 't', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', ',', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', -'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', '.', 'C', -'l', 'u', 's', 't', 'e', 'r', 'H', '\000', 'R', '\007', 'c', 'l', 'u', 's', 't', 'e', 'r', '\022', '?', '\n', '\004', 'h', 'o', 's', 't', -'\030', '\004', ' ', '\001', '(', '\013', '2', ')', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', -'a', 't', 'a', '.', 'v', '3', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', '.', 'H', 'o', 's', 't', 'H', -'\000', 'R', '\004', 'h', 'o', 's', 't', '\032', '=', '\n', '\007', 'R', 'e', 'q', 'u', 'e', 's', 't', ':', '2', '\232', '\305', '\210', '\036', '-', -'\n', '+', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '2', '.', -'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', '.', 'R', 'e', 'q', 'u', 'e', 's', 't', '\032', '9', '\n', '\005', 'R', -'o', 'u', 't', 'e', ':', '0', '\232', '\305', '\210', '\036', '+', '\n', ')', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', -'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '2', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', '.', 'R', -'o', 'u', 't', 'e', '\032', '=', '\n', '\007', 'C', 'l', 'u', 's', 't', 'e', 'r', ':', '2', '\232', '\305', '\210', '\036', '-', '\n', '+', 'e', -'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '2', '.', 'M', 'e', 't', -'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', '.', 'C', 'l', 'u', 's', 't', 'e', 'r', '\032', '7', '\n', '\004', 'H', 'o', 's', 't', -':', '/', '\232', '\305', '\210', '\036', '*', '\n', '(', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', -'a', 't', 'a', '.', 'v', '2', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', '.', 'H', 'o', 's', 't', ':', -'*', '\232', '\305', '\210', '\036', '%', '\n', '#', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', -'t', 'a', '.', 'v', '2', '.', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'K', 'i', 'n', 'd', 'B', '\013', '\n', '\004', 'k', 'i', 'n', -'d', '\022', '\003', '\370', 'B', '\001', 'B', '\211', '\001', '\n', '$', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', -'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '.', 'v', '3', 'B', '\r', 'M', -'e', 't', 'a', 'd', 'a', 't', 'a', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', 'H', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', -'m', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', -'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '/', -'v', '3', ';', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', -'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[4] = { - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_type_metadata_v3_metadata_proto_upbdefinit = { - deps, - &envoy_type_metadata_v3_metadata_proto_upb_file_layout, - "envoy/type/metadata/v3/metadata.proto", - UPB_STRINGVIEW_INIT(descriptor, 1179) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h deleted file mode 100644 index c9231195375..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +++ /dev/null @@ -1,66 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/metadata/v3/metadata.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPBDEFS_H_ -#define ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_type_metadata_v3_metadata_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKey_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKey"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKey_PathSegment_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKey.PathSegment"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKind_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKind"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKind_Request_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKind.Request"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKind_Route_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKind.Route"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKind_Cluster_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKind.Cluster"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_metadata_v3_MetadataKind_Host_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_metadata_v3_metadata_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.metadata.v3.MetadataKind.Host"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_METADATA_V3_METADATA_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c deleted file mode 100644 index cc1a3b453e7..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/http.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/type/v3/http.upbdefs.h" -#include "envoy/type/v3/http.upb.h" - -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -static const char descriptor[245] = {'\n', '\030', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'h', 't', 't', 'p', '.', 'p', 'r', 'o', 't', -'o', '\022', '\r', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', -'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '*', '2', '\n', -'\017', 'C', 'o', 'd', 'e', 'c', 'C', 'l', 'i', 'e', 'n', 't', 'T', 'y', 'p', 'e', '\022', '\t', '\n', '\005', 'H', 'T', 'T', 'P', '1', -'\020', '\000', '\022', '\t', '\n', '\005', 'H', 'T', 'T', 'P', '2', '\020', '\001', '\022', '\t', '\n', '\005', 'H', 'T', 'T', 'P', '3', '\020', '\002', 'B', -'o', '\n', '\033', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', -'p', 'e', '.', 'v', '3', 'B', '\t', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', ';', 'g', 'i', 't', 'h', 'u', -'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', 'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', -'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', ';', 't', 'y', -'p', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', '\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[2] = { - &udpa_annotations_status_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_type_v3_http_proto_upbdefinit = { - deps, - &envoy_type_v3_http_proto_upb_file_layout, - "envoy/type/v3/http.proto", - UPB_STRINGVIEW_INIT(descriptor, 245) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h deleted file mode 100644 index 484bce20fab..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +++ /dev/null @@ -1,31 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/http.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_V3_HTTP_PROTO_UPBDEFS_H_ -#define ENVOY_TYPE_V3_HTTP_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_type_v3_http_proto_upbdefinit; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_V3_HTTP_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c b/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c deleted file mode 100644 index 2c2413edd13..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +++ /dev/null @@ -1,48 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/range.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "envoy/type/v3/range.upbdefs.h" -#include "envoy/type/v3/range.upb.h" - -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; -static const char descriptor[484] = {'\n', '\031', 'e', 'n', 'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'r', 'a', 'n', 'g', 'e', '.', 'p', 'r', 'o', -'t', 'o', '\022', '\r', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', -'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '!', -'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', -'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\"', 'R', '\n', '\n', 'I', 'n', 't', '6', '4', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', -'\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', '(', '\003', 'R', '\005', 's', 't', 'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', -'d', '\030', '\002', ' ', '\001', '(', '\003', 'R', '\003', 'e', 'n', 'd', ':', '\034', '\232', '\305', '\210', '\036', '\027', '\n', '\025', 'e', 'n', 'v', 'o', -'y', '.', 't', 'y', 'p', 'e', '.', 'I', 'n', 't', '6', '4', 'R', 'a', 'n', 'g', 'e', '\"', 'R', '\n', '\n', 'I', 'n', 't', '3', -'2', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', '(', '\005', 'R', '\005', 's', 't', -'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\005', 'R', '\003', 'e', 'n', 'd', ':', '\034', '\232', '\305', -'\210', '\036', '\027', '\n', '\025', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'I', 'n', 't', '3', '2', 'R', 'a', 'n', 'g', -'e', '\"', 'T', '\n', '\013', 'D', 'o', 'u', 'b', 'l', 'e', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', -'\030', '\001', ' ', '\001', '(', '\001', 'R', '\005', 's', 't', 'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', -'\001', 'R', '\003', 'e', 'n', 'd', ':', '\035', '\232', '\305', '\210', '\036', '\030', '\n', '\026', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', -'.', 'D', 'o', 'u', 'b', 'l', 'e', 'R', 'a', 'n', 'g', 'e', 'B', 'p', '\n', '\033', 'i', 'o', '.', 'e', 'n', 'v', 'o', 'y', 'p', -'r', 'o', 'x', 'y', '.', 'e', 'n', 'v', 'o', 'y', '.', 't', 'y', 'p', 'e', '.', 'v', '3', 'B', '\n', 'R', 'a', 'n', 'g', 'e', -'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', ';', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'e', 'n', 'v', 'o', 'y', -'p', 'r', 'o', 'x', 'y', '/', 'g', 'o', '-', 'c', 'o', 'n', 't', 'r', 'o', 'l', '-', 'p', 'l', 'a', 'n', 'e', '/', 'e', 'n', -'v', 'o', 'y', '/', 't', 'y', 'p', 'e', '/', 'v', '3', ';', 't', 'y', 'p', 'e', 'v', '3', '\272', '\200', '\310', '\321', '\006', '\002', '\020', -'\002', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[3] = { - &udpa_annotations_status_proto_upbdefinit, - &udpa_annotations_versioning_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init envoy_type_v3_range_proto_upbdefinit = { - deps, - &envoy_type_v3_range_proto_upb_file_layout, - "envoy/type/v3/range.proto", - UPB_STRINGVIEW_INIT(descriptor, 484) -}; diff --git a/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h b/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h deleted file mode 100644 index 78c8491acba..00000000000 --- a/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +++ /dev/null @@ -1,46 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * envoy/type/v3/range.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef ENVOY_TYPE_V3_RANGE_PROTO_UPBDEFS_H_ -#define ENVOY_TYPE_V3_RANGE_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init envoy_type_v3_range_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *envoy_type_v3_Int64Range_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_v3_range_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.v3.Int64Range"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_v3_Int32Range_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_v3_range_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.v3.Int32Range"); -} - -UPB_INLINE const upb_MessageDef *envoy_type_v3_DoubleRange_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &envoy_type_v3_range_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "envoy.type.v3.DoubleRange"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* ENVOY_TYPE_V3_RANGE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c b/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c deleted file mode 100644 index fbfc9b627d3..00000000000 --- a/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +++ /dev/null @@ -1,52 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/api/http.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "google/api/http.upbdefs.h" -#include "google/api/http.upb.h" - -static const char descriptor[684] = {'\n', '\025', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'a', 'p', 'i', '/', 'h', 't', 't', 'p', '.', 'p', 'r', 'o', 't', 'o', '\022', '\n', -'g', 'o', 'o', 'g', 'l', 'e', '.', 'a', 'p', 'i', '\"', 'y', '\n', '\004', 'H', 't', 't', 'p', '\022', '*', '\n', '\005', 'r', 'u', 'l', -'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'a', 'p', 'i', '.', 'H', 't', 't', -'p', 'R', 'u', 'l', 'e', 'R', '\005', 'r', 'u', 'l', 'e', 's', '\022', 'E', '\n', '\037', 'f', 'u', 'l', 'l', 'y', '_', 'd', 'e', 'c', -'o', 'd', 'e', '_', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', '_', 'e', 'x', 'p', 'a', 'n', 's', 'i', 'o', 'n', '\030', '\002', ' ', -'\001', '(', '\010', 'R', '\034', 'f', 'u', 'l', 'l', 'y', 'D', 'e', 'c', 'o', 'd', 'e', 'R', 'e', 's', 'e', 'r', 'v', 'e', 'd', 'E', -'x', 'p', 'a', 'n', 's', 'i', 'o', 'n', '\"', '\332', '\002', '\n', '\010', 'H', 't', 't', 'p', 'R', 'u', 'l', 'e', '\022', '\032', '\n', '\010', -'s', 'e', 'l', 'e', 'c', 't', 'o', 'r', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\010', 's', 'e', 'l', 'e', 'c', 't', 'o', 'r', '\022', -'\022', '\n', '\003', 'g', 'e', 't', '\030', '\002', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\003', 'g', 'e', 't', '\022', '\022', '\n', '\003', 'p', 'u', -'t', '\030', '\003', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\003', 'p', 'u', 't', '\022', '\024', '\n', '\004', 'p', 'o', 's', 't', '\030', '\004', ' ', -'\001', '(', '\t', 'H', '\000', 'R', '\004', 'p', 'o', 's', 't', '\022', '\030', '\n', '\006', 'd', 'e', 'l', 'e', 't', 'e', '\030', '\005', ' ', '\001', -'(', '\t', 'H', '\000', 'R', '\006', 'd', 'e', 'l', 'e', 't', 'e', '\022', '\026', '\n', '\005', 'p', 'a', 't', 'c', 'h', '\030', '\006', ' ', '\001', -'(', '\t', 'H', '\000', 'R', '\005', 'p', 'a', 't', 'c', 'h', '\022', '7', '\n', '\006', 'c', 'u', 's', 't', 'o', 'm', '\030', '\010', ' ', '\001', -'(', '\013', '2', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'a', 'p', 'i', '.', 'C', 'u', 's', 't', 'o', 'm', 'H', 't', 't', -'p', 'P', 'a', 't', 't', 'e', 'r', 'n', 'H', '\000', 'R', '\006', 'c', 'u', 's', 't', 'o', 'm', '\022', '\022', '\n', '\004', 'b', 'o', 'd', -'y', '\030', '\007', ' ', '\001', '(', '\t', 'R', '\004', 'b', 'o', 'd', 'y', '\022', '#', '\n', '\r', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', -'_', 'b', 'o', 'd', 'y', '\030', '\014', ' ', '\001', '(', '\t', 'R', '\014', 'r', 'e', 's', 'p', 'o', 'n', 's', 'e', 'B', 'o', 'd', 'y', -'\022', 'E', '\n', '\023', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', '_', 'b', 'i', 'n', 'd', 'i', 'n', 'g', 's', '\030', '\013', -' ', '\003', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'a', 'p', 'i', '.', 'H', 't', 't', 'p', 'R', 'u', 'l', -'e', 'R', '\022', 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'B', 'i', 'n', 'd', 'i', 'n', 'g', 's', 'B', '\t', '\n', '\007', -'p', 'a', 't', 't', 'e', 'r', 'n', '\"', ';', '\n', '\021', 'C', 'u', 's', 't', 'o', 'm', 'H', 't', 't', 'p', 'P', 'a', 't', 't', -'e', 'r', 'n', '\022', '\022', '\n', '\004', 'k', 'i', 'n', 'd', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'k', 'i', 'n', 'd', '\022', '\022', -'\n', '\004', 'p', 'a', 't', 'h', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\004', 'p', 'a', 't', 'h', 'B', 'j', '\n', '\016', 'c', 'o', 'm', -'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'a', 'p', 'i', 'B', '\t', 'H', 't', 't', 'p', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', -'A', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'g', 'o', 'l', 'a', 'n', 'g', '.', 'o', 'r', 'g', '/', 'g', 'e', 'n', 'p', 'r', 'o', -'t', 'o', '/', 'g', 'o', 'o', 'g', 'l', 'e', 'a', 'p', 'i', 's', '/', 'a', 'p', 'i', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', -'i', 'o', 'n', 's', ';', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '\370', '\001', '\001', '\242', '\002', '\004', 'G', 'A', 'P', -'I', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[1] = { - NULL -}; - -_upb_DefPool_Init google_api_http_proto_upbdefinit = { - deps, - &google_api_http_proto_upb_file_layout, - "google/api/http.proto", - UPB_STRINGVIEW_INIT(descriptor, 684) -}; diff --git a/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h b/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h deleted file mode 100644 index 8ee6c892ba4..00000000000 --- a/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +++ /dev/null @@ -1,46 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/api/http.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef GOOGLE_API_HTTP_PROTO_UPBDEFS_H_ -#define GOOGLE_API_HTTP_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init google_api_http_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *google_api_Http_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &google_api_http_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "google.api.Http"); -} - -UPB_INLINE const upb_MessageDef *google_api_HttpRule_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &google_api_http_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "google.api.HttpRule"); -} - -UPB_INLINE const upb_MessageDef *google_api_CustomHttpPattern_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &google_api_http_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "google.api.CustomHttpPattern"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* GOOGLE_API_HTTP_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c b/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c deleted file mode 100644 index 3255e7ad94b..00000000000 --- a/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +++ /dev/null @@ -1,464 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/protobuf/descriptor.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "google/protobuf/descriptor.upbdefs.h" -#include "google/protobuf/descriptor.upb.h" - -static const char descriptor[10979] = {'\n', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', 'r', 'i', 'p', -'t', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', '\017', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', -'f', '\"', 'M', '\n', '\021', 'F', 'i', 'l', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'S', 'e', 't', '\022', '8', '\n', -'\004', 'f', 'i', 'l', 'e', '\030', '\001', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', -'o', 'b', 'u', 'f', '.', 'F', 'i', 'l', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', -'\004', 'f', 'i', 'l', 'e', '\"', '\376', '\004', '\n', '\023', 'F', 'i', 'l', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', -'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', -'\030', '\n', '\007', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\007', 'p', 'a', 'c', 'k', 'a', 'g', 'e', -'\022', '\036', '\n', '\n', 'd', 'e', 'p', 'e', 'n', 'd', 'e', 'n', 'c', 'y', '\030', '\003', ' ', '\003', '(', '\t', 'R', '\n', 'd', 'e', 'p', -'e', 'n', 'd', 'e', 'n', 'c', 'y', '\022', '+', '\n', '\021', 'p', 'u', 'b', 'l', 'i', 'c', '_', 'd', 'e', 'p', 'e', 'n', 'd', 'e', -'n', 'c', 'y', '\030', '\n', ' ', '\003', '(', '\005', 'R', '\020', 'p', 'u', 'b', 'l', 'i', 'c', 'D', 'e', 'p', 'e', 'n', 'd', 'e', 'n', -'c', 'y', '\022', '\'', '\n', '\017', 'w', 'e', 'a', 'k', '_', 'd', 'e', 'p', 'e', 'n', 'd', 'e', 'n', 'c', 'y', '\030', '\013', ' ', '\003', -'(', '\005', 'R', '\016', 'w', 'e', 'a', 'k', 'D', 'e', 'p', 'e', 'n', 'd', 'e', 'n', 'c', 'y', '\022', 'C', '\n', '\014', 'm', 'e', 's', -'s', 'a', 'g', 'e', '_', 't', 'y', 'p', 'e', '\030', '\004', ' ', '\003', '(', '\013', '2', ' ', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', -'\013', 'm', 'e', 's', 's', 'a', 'g', 'e', 'T', 'y', 'p', 'e', '\022', 'A', '\n', '\t', 'e', 'n', 'u', 'm', '_', 't', 'y', 'p', 'e', -'\030', '\005', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'E', 'n', 'u', 'm', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', '\010', 'e', 'n', 'u', 'm', -'T', 'y', 'p', 'e', '\022', 'A', '\n', '\007', 's', 'e', 'r', 'v', 'i', 'c', 'e', '\030', '\006', ' ', '\003', '(', '\013', '2', '\'', '.', 'g', -'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'D', 'e', 's', -'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', '\007', 's', 'e', 'r', 'v', 'i', 'c', 'e', '\022', 'C', '\n', '\t', -'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '\007', ' ', '\003', '(', '\013', '2', '%', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', -'r', 'o', 't', 'o', 'R', '\t', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\022', '6', '\n', '\007', 'o', 'p', 't', 'i', 'o', 'n', -'s', '\030', '\010', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'.', 'F', 'i', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\022', 'I', '\n', '\020', -'s', 'o', 'u', 'r', 'c', 'e', '_', 'c', 'o', 'd', 'e', '_', 'i', 'n', 'f', 'o', '\030', '\t', ' ', '\001', '(', '\013', '2', '\037', '.', -'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 'o', 'u', 'r', 'c', 'e', 'C', 'o', 'd', -'e', 'I', 'n', 'f', 'o', 'R', '\016', 's', 'o', 'u', 'r', 'c', 'e', 'C', 'o', 'd', 'e', 'I', 'n', 'f', 'o', '\022', '\026', '\n', '\006', -'s', 'y', 'n', 't', 'a', 'x', '\030', '\014', ' ', '\001', '(', '\t', 'R', '\006', 's', 'y', 'n', 't', 'a', 'x', '\022', '\030', '\n', '\007', 'e', -'d', 'i', 't', 'i', 'o', 'n', '\030', '\r', ' ', '\001', '(', '\t', 'R', '\007', 'e', 'd', 'i', 't', 'i', 'o', 'n', '\"', '\271', '\006', '\n', -'\017', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', -'\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', ';', '\n', '\005', 'f', 'i', 'e', 'l', 'd', '\030', '\002', ' ', '\003', '(', -'\013', '2', '%', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', -'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', '\005', 'f', 'i', 'e', 'l', 'd', '\022', 'C', '\n', -'\t', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '\006', ' ', '\003', '(', '\013', '2', '%', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', -'P', 'r', 'o', 't', 'o', 'R', '\t', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\022', 'A', '\n', '\013', 'n', 'e', 's', 't', 'e', -'d', '_', 't', 'y', 'p', 'e', '\030', '\003', ' ', '\003', '(', '\013', '2', ' ', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', '\n', 'n', 'e', -'s', 't', 'e', 'd', 'T', 'y', 'p', 'e', '\022', 'A', '\n', '\t', 'e', 'n', 'u', 'm', '_', 't', 'y', 'p', 'e', '\030', '\004', ' ', '\003', -'(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', 'm', -'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', '\010', 'e', 'n', 'u', 'm', 'T', 'y', 'p', 'e', -'\022', 'X', '\n', '\017', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '_', 'r', 'a', 'n', 'g', 'e', '\030', '\005', ' ', '\003', '(', '\013', -'2', '/', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'e', 's', 'c', 'r', 'i', -'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', 'R', -'\016', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', '\022', 'D', '\n', '\n', 'o', 'n', 'e', 'o', 'f', '_', -'d', 'e', 'c', 'l', '\030', '\010', ' ', '\003', '(', '\013', '2', '%', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'O', 'n', 'e', 'o', 'f', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', -'\t', 'o', 'n', 'e', 'o', 'f', 'D', 'e', 'c', 'l', '\022', '9', '\n', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\007', ' ', '\001', -'(', '\013', '2', '\037', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'M', 'e', 's', 's', -'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\022', 'U', '\n', '\016', 'r', 'e', -'s', 'e', 'r', 'v', 'e', 'd', '_', 'r', 'a', 'n', 'g', 'e', '\030', '\t', ' ', '\003', '(', '\013', '2', '.', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', -'t', 'o', '.', 'R', 'e', 's', 'e', 'r', 'v', 'e', 'd', 'R', 'a', 'n', 'g', 'e', 'R', '\r', 'r', 'e', 's', 'e', 'r', 'v', 'e', -'d', 'R', 'a', 'n', 'g', 'e', '\022', '#', '\n', '\r', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', '_', 'n', 'a', 'm', 'e', '\030', '\n', -' ', '\003', '(', '\t', 'R', '\014', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', 'N', 'a', 'm', 'e', '\032', 'z', '\n', '\016', 'E', 'x', 't', -'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', '(', -'\005', 'R', '\005', 's', 't', 'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\005', 'R', '\003', 'e', 'n', -'d', '\022', '@', '\n', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '&', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', 'g', -'e', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\032', '7', '\n', '\r', 'R', 'e', 's', 'e', -'r', 'v', 'e', 'd', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', '(', '\005', 'R', -'\005', 's', 't', 'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\005', 'R', '\003', 'e', 'n', 'd', '\"', -'\307', '\004', '\n', '\025', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', -'\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', '_', 'o', 'p', 't', 'i', 'o', 'n', '\030', -'\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', 'u', 'n', 'i', 'n', -'t', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '\022', 'Y', '\n', '\013', 'd', 'e', 'c', 'l', 'a', 'r', -'a', 't', 'i', 'o', 'n', '\030', '\002', ' ', '\003', '(', '\013', '2', '2', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', -'o', 'b', 'u', 'f', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', -'s', '.', 'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', 'B', '\003', '\210', '\001', '\002', 'R', '\013', 'd', 'e', 'c', 'l', 'a', -'r', 'a', 't', 'i', 'o', 'n', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '2', ' ', '\001', '(', '\013', '2', -'\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', -'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', 'h', '\n', '\014', 'v', 'e', 'r', 'i', 'f', 'i', 'c', 'a', -'t', 'i', 'o', 'n', '\030', '\003', ' ', '\001', '(', '\016', '2', '8', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', -'.', 'V', 'e', 'r', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'S', 't', 'a', 't', 'e', ':', '\n', 'U', 'N', 'V', 'E', 'R', -'I', 'F', 'I', 'E', 'D', 'R', '\014', 'v', 'e', 'r', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', '\032', '\224', '\001', '\n', '\013', 'D', -'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\006', 'n', 'u', 'm', 'b', 'e', 'r', '\030', '\001', ' ', '\001', '(', -'\005', 'R', '\006', 'n', 'u', 'm', 'b', 'e', 'r', '\022', '\033', '\n', '\t', 'f', 'u', 'l', 'l', '_', 'n', 'a', 'm', 'e', '\030', '\002', ' ', -'\001', '(', '\t', 'R', '\010', 'f', 'u', 'l', 'l', 'N', 'a', 'm', 'e', '\022', '\022', '\n', '\004', 't', 'y', 'p', 'e', '\030', '\003', ' ', '\001', -'(', '\t', 'R', '\004', 't', 'y', 'p', 'e', '\022', '\032', '\n', '\010', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', '\030', '\005', ' ', '\001', '(', -'\010', 'R', '\010', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', '\022', '\032', '\n', '\010', 'r', 'e', 'p', 'e', 'a', 't', 'e', 'd', '\030', '\006', -' ', '\001', '(', '\010', 'R', '\010', 'r', 'e', 'p', 'e', 'a', 't', 'e', 'd', 'J', '\004', '\010', '\004', '\020', '\005', '\"', '4', '\n', '\021', 'V', -'e', 'r', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'S', 't', 'a', 't', 'e', '\022', '\017', '\n', '\013', 'D', 'E', 'C', 'L', 'A', -'R', 'A', 'T', 'I', 'O', 'N', '\020', '\000', '\022', '\016', '\n', '\n', 'U', 'N', 'V', 'E', 'R', 'I', 'F', 'I', 'E', 'D', '\020', '\001', '*', -'\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', '\002', '\"', '\301', '\006', '\n', '\024', 'F', 'i', 'e', 'l', 'd', 'D', 'e', 's', 'c', 'r', -'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', -'\004', 'n', 'a', 'm', 'e', '\022', '\026', '\n', '\006', 'n', 'u', 'm', 'b', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\005', 'R', '\006', 'n', 'u', -'m', 'b', 'e', 'r', '\022', 'A', '\n', '\005', 'l', 'a', 'b', 'e', 'l', '\030', '\004', ' ', '\001', '(', '\016', '2', '+', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'D', 'e', 's', 'c', 'r', 'i', 'p', -'t', 'o', 'r', 'P', 'r', 'o', 't', 'o', '.', 'L', 'a', 'b', 'e', 'l', 'R', '\005', 'l', 'a', 'b', 'e', 'l', '\022', '>', '\n', '\004', -'t', 'y', 'p', 'e', '\030', '\005', ' ', '\001', '(', '\016', '2', '*', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '.', -'T', 'y', 'p', 'e', 'R', '\004', 't', 'y', 'p', 'e', '\022', '\033', '\n', '\t', 't', 'y', 'p', 'e', '_', 'n', 'a', 'm', 'e', '\030', '\006', -' ', '\001', '(', '\t', 'R', '\010', 't', 'y', 'p', 'e', 'N', 'a', 'm', 'e', '\022', '\032', '\n', '\010', 'e', 'x', 't', 'e', 'n', 'd', 'e', -'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\010', 'e', 'x', 't', 'e', 'n', 'd', 'e', 'e', '\022', '#', '\n', '\r', 'd', 'e', 'f', 'a', -'u', 'l', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\007', ' ', '\001', '(', '\t', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', -'a', 'l', 'u', 'e', '\022', '\037', '\n', '\013', 'o', 'n', 'e', 'o', 'f', '_', 'i', 'n', 'd', 'e', 'x', '\030', '\t', ' ', '\001', '(', '\005', -'R', '\n', 'o', 'n', 'e', 'o', 'f', 'I', 'n', 'd', 'e', 'x', '\022', '\033', '\n', '\t', 'j', 's', 'o', 'n', '_', 'n', 'a', 'm', 'e', -'\030', '\n', ' ', '\001', '(', '\t', 'R', '\010', 'j', 's', 'o', 'n', 'N', 'a', 'm', 'e', '\022', '7', '\n', '\007', 'o', 'p', 't', 'i', 'o', -'n', 's', '\030', '\010', ' ', '\001', '(', '\013', '2', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', -'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\022', '\'', -'\n', '\017', 'p', 'r', 'o', 't', 'o', '3', '_', 'o', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\030', '\021', ' ', '\001', '(', '\010', 'R', '\016', -'p', 'r', 'o', 't', 'o', '3', 'O', 'p', 't', 'i', 'o', 'n', 'a', 'l', '\"', '\266', '\002', '\n', '\004', 'T', 'y', 'p', 'e', '\022', '\017', -'\n', '\013', 'T', 'Y', 'P', 'E', '_', 'D', 'O', 'U', 'B', 'L', 'E', '\020', '\001', '\022', '\016', '\n', '\n', 'T', 'Y', 'P', 'E', '_', 'F', -'L', 'O', 'A', 'T', '\020', '\002', '\022', '\016', '\n', '\n', 'T', 'Y', 'P', 'E', '_', 'I', 'N', 'T', '6', '4', '\020', '\003', '\022', '\017', '\n', -'\013', 'T', 'Y', 'P', 'E', '_', 'U', 'I', 'N', 'T', '6', '4', '\020', '\004', '\022', '\016', '\n', '\n', 'T', 'Y', 'P', 'E', '_', 'I', 'N', -'T', '3', '2', '\020', '\005', '\022', '\020', '\n', '\014', 'T', 'Y', 'P', 'E', '_', 'F', 'I', 'X', 'E', 'D', '6', '4', '\020', '\006', '\022', '\020', -'\n', '\014', 'T', 'Y', 'P', 'E', '_', 'F', 'I', 'X', 'E', 'D', '3', '2', '\020', '\007', '\022', '\r', '\n', '\t', 'T', 'Y', 'P', 'E', '_', -'B', 'O', 'O', 'L', '\020', '\010', '\022', '\017', '\n', '\013', 'T', 'Y', 'P', 'E', '_', 'S', 'T', 'R', 'I', 'N', 'G', '\020', '\t', '\022', '\016', -'\n', '\n', 'T', 'Y', 'P', 'E', '_', 'G', 'R', 'O', 'U', 'P', '\020', '\n', '\022', '\020', '\n', '\014', 'T', 'Y', 'P', 'E', '_', 'M', 'E', -'S', 'S', 'A', 'G', 'E', '\020', '\013', '\022', '\016', '\n', '\n', 'T', 'Y', 'P', 'E', '_', 'B', 'Y', 'T', 'E', 'S', '\020', '\014', '\022', '\017', -'\n', '\013', 'T', 'Y', 'P', 'E', '_', 'U', 'I', 'N', 'T', '3', '2', '\020', '\r', '\022', '\r', '\n', '\t', 'T', 'Y', 'P', 'E', '_', 'E', -'N', 'U', 'M', '\020', '\016', '\022', '\021', '\n', '\r', 'T', 'Y', 'P', 'E', '_', 'S', 'F', 'I', 'X', 'E', 'D', '3', '2', '\020', '\017', '\022', -'\021', '\n', '\r', 'T', 'Y', 'P', 'E', '_', 'S', 'F', 'I', 'X', 'E', 'D', '6', '4', '\020', '\020', '\022', '\017', '\n', '\013', 'T', 'Y', 'P', -'E', '_', 'S', 'I', 'N', 'T', '3', '2', '\020', '\021', '\022', '\017', '\n', '\013', 'T', 'Y', 'P', 'E', '_', 'S', 'I', 'N', 'T', '6', '4', -'\020', '\022', '\"', 'C', '\n', '\005', 'L', 'a', 'b', 'e', 'l', '\022', '\022', '\n', '\016', 'L', 'A', 'B', 'E', 'L', '_', 'O', 'P', 'T', 'I', -'O', 'N', 'A', 'L', '\020', '\001', '\022', '\022', '\n', '\016', 'L', 'A', 'B', 'E', 'L', '_', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '\020', -'\002', '\022', '\022', '\n', '\016', 'L', 'A', 'B', 'E', 'L', '_', 'R', 'E', 'P', 'E', 'A', 'T', 'E', 'D', '\020', '\003', '\"', 'c', '\n', '\024', -'O', 'n', 'e', 'o', 'f', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', 'n', -'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '7', '\n', '\007', 'o', 'p', 't', 'i', 'o', 'n', -'s', '\030', '\002', ' ', '\001', '(', '\013', '2', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'.', 'O', 'n', 'e', 'o', 'f', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\"', '\343', '\002', -'\n', '\023', 'E', 'n', 'u', 'm', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', -'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '?', '\n', '\005', 'v', 'a', 'l', 'u', 'e', -'\030', '\002', ' ', '\003', '(', '\013', '2', ')', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'E', 'n', 'u', 'm', 'V', 'a', 'l', 'u', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', -'\005', 'v', 'a', 'l', 'u', 'e', '\022', '6', '\n', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '\034', -'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', 'm', 'O', 'p', 't', 'i', -'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\022', ']', '\n', '\016', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', '_', -'r', 'a', 'n', 'g', 'e', '\030', '\004', ' ', '\003', '(', '\013', '2', '6', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', -'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', 'm', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '.', -'E', 'n', 'u', 'm', 'R', 'e', 's', 'e', 'r', 'v', 'e', 'd', 'R', 'a', 'n', 'g', 'e', 'R', '\r', 'r', 'e', 's', 'e', 'r', 'v', -'e', 'd', 'R', 'a', 'n', 'g', 'e', '\022', '#', '\n', '\r', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', '_', 'n', 'a', 'm', 'e', '\030', -'\005', ' ', '\003', '(', '\t', 'R', '\014', 'r', 'e', 's', 'e', 'r', 'v', 'e', 'd', 'N', 'a', 'm', 'e', '\032', ';', '\n', '\021', 'E', 'n', -'u', 'm', 'R', 'e', 's', 'e', 'r', 'v', 'e', 'd', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', '\030', -'\001', ' ', '\001', '(', '\005', 'R', '\005', 's', 't', 'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\005', -'R', '\003', 'e', 'n', 'd', '\"', '\203', '\001', '\n', '\030', 'E', 'n', 'u', 'm', 'V', 'a', 'l', 'u', 'e', 'D', 'e', 's', 'c', 'r', 'i', -'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\004', -'n', 'a', 'm', 'e', '\022', '\026', '\n', '\006', 'n', 'u', 'm', 'b', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\005', 'R', '\006', 'n', 'u', 'm', -'b', 'e', 'r', '\022', ';', '\n', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '!', '.', 'g', 'o', -'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', 'm', 'V', 'a', 'l', 'u', 'e', 'O', 'p', -'t', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\"', '\247', '\001', '\n', '\026', 'S', 'e', 'r', 'v', 'i', 'c', -'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', -'\001', ' ', '\001', '(', '\t', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '>', '\n', '\006', 'm', 'e', 't', 'h', 'o', 'd', '\030', '\002', ' ', '\003', -'(', '\013', '2', '&', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'M', 'e', 't', 'h', -'o', 'd', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 'R', '\006', 'm', 'e', 't', 'h', 'o', 'd', -'\022', '9', '\n', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\030', '\003', ' ', '\001', '(', '\013', '2', '\037', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', -'R', '\007', 'o', 'p', 't', 'i', 'o', 'n', 's', '\"', '\211', '\002', '\n', '\025', 'M', 'e', 't', 'h', 'o', 'd', 'D', 'e', 's', 'c', 'r', -'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', '\022', '\022', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', -'\004', 'n', 'a', 'm', 'e', '\022', '\035', '\n', '\n', 'i', 'n', 'p', 'u', 't', '_', 't', 'y', 'p', 'e', '\030', '\002', ' ', '\001', '(', '\t', -'R', '\t', 'i', 'n', 'p', 'u', 't', 'T', 'y', 'p', 'e', '\022', '\037', '\n', '\013', 'o', 'u', 't', 'p', 'u', 't', '_', 't', 'y', 'p', -'e', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\n', 'o', 'u', 't', 'p', 'u', 't', 'T', 'y', 'p', 'e', '\022', '8', '\n', '\007', 'o', 'p', -'t', 'i', 'o', 'n', 's', '\030', '\004', ' ', '\001', '(', '\013', '2', '\036', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', -'o', 'b', 'u', 'f', '.', 'M', 'e', 't', 'h', 'o', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', 'R', '\007', 'o', 'p', 't', 'i', 'o', -'n', 's', '\022', '0', '\n', '\020', 'c', 'l', 'i', 'e', 'n', 't', '_', 's', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', '\030', '\005', ' ', -'\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\017', 'c', 'l', 'i', 'e', 'n', 't', 'S', 't', 'r', 'e', 'a', 'm', 'i', -'n', 'g', '\022', '0', '\n', '\020', 's', 'e', 'r', 'v', 'e', 'r', '_', 's', 't', 'r', 'e', 'a', 'm', 'i', 'n', 'g', '\030', '\006', ' ', -'\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\017', 's', 'e', 'r', 'v', 'e', 'r', 'S', 't', 'r', 'e', 'a', 'm', 'i', -'n', 'g', '\"', '\312', '\t', '\n', '\013', 'F', 'i', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '!', '\n', '\014', 'j', 'a', 'v', -'a', '_', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\013', 'j', 'a', 'v', 'a', 'P', 'a', 'c', 'k', -'a', 'g', 'e', '\022', '0', '\n', '\024', 'j', 'a', 'v', 'a', '_', 'o', 'u', 't', 'e', 'r', '_', 'c', 'l', 'a', 's', 's', 'n', 'a', -'m', 'e', '\030', '\010', ' ', '\001', '(', '\t', 'R', '\022', 'j', 'a', 'v', 'a', 'O', 'u', 't', 'e', 'r', 'C', 'l', 'a', 's', 's', 'n', -'a', 'm', 'e', '\022', '5', '\n', '\023', 'j', 'a', 'v', 'a', '_', 'm', 'u', 'l', 't', 'i', 'p', 'l', 'e', '_', 'f', 'i', 'l', 'e', -'s', '\030', '\n', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\021', 'j', 'a', 'v', 'a', 'M', 'u', 'l', 't', 'i', -'p', 'l', 'e', 'F', 'i', 'l', 'e', 's', '\022', 'D', '\n', '\035', 'j', 'a', 'v', 'a', '_', 'g', 'e', 'n', 'e', 'r', 'a', 't', 'e', -'_', 'e', 'q', 'u', 'a', 'l', 's', '_', 'a', 'n', 'd', '_', 'h', 'a', 's', 'h', '\030', '\024', ' ', '\001', '(', '\010', 'B', '\002', '\030', -'\001', 'R', '\031', 'j', 'a', 'v', 'a', 'G', 'e', 'n', 'e', 'r', 'a', 't', 'e', 'E', 'q', 'u', 'a', 'l', 's', 'A', 'n', 'd', 'H', -'a', 's', 'h', '\022', ':', '\n', '\026', 'j', 'a', 'v', 'a', '_', 's', 't', 'r', 'i', 'n', 'g', '_', 'c', 'h', 'e', 'c', 'k', '_', -'u', 't', 'f', '8', '\030', '\033', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\023', 'j', 'a', 'v', 'a', 'S', 't', -'r', 'i', 'n', 'g', 'C', 'h', 'e', 'c', 'k', 'U', 't', 'f', '8', '\022', 'S', '\n', '\014', 'o', 'p', 't', 'i', 'm', 'i', 'z', 'e', -'_', 'f', 'o', 'r', '\030', '\t', ' ', '\001', '(', '\016', '2', ')', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', -'b', 'u', 'f', '.', 'F', 'i', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'O', 'p', 't', 'i', 'm', 'i', 'z', 'e', 'M', -'o', 'd', 'e', ':', '\005', 'S', 'P', 'E', 'E', 'D', 'R', '\013', 'o', 'p', 't', 'i', 'm', 'i', 'z', 'e', 'F', 'o', 'r', '\022', '\035', -'\n', '\n', 'g', 'o', '_', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '\030', '\013', ' ', '\001', '(', '\t', 'R', '\t', 'g', 'o', 'P', 'a', 'c', -'k', 'a', 'g', 'e', '\022', '5', '\n', '\023', 'c', 'c', '_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', -'e', 's', '\030', '\020', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\021', 'c', 'c', 'G', 'e', 'n', 'e', 'r', 'i', -'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 's', '\022', '9', '\n', '\025', 'j', 'a', 'v', 'a', '_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', -'_', 's', 'e', 'r', 'v', 'i', 'c', 'e', 's', '\030', '\021', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\023', 'j', -'a', 'v', 'a', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 's', '\022', '5', '\n', '\023', 'p', 'y', '_', -'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', 's', '\030', '\022', ' ', '\001', '(', '\010', ':', '\005', 'f', -'a', 'l', 's', 'e', 'R', '\021', 'p', 'y', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 's', '\022', '7', -'\n', '\024', 'p', 'h', 'p', '_', 'g', 'e', 'n', 'e', 'r', 'i', 'c', '_', 's', 'e', 'r', 'v', 'i', 'c', 'e', 's', '\030', '*', ' ', -'\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\022', 'p', 'h', 'p', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'S', 'e', 'r', -'v', 'i', 'c', 'e', 's', '\022', '%', '\n', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\030', '\027', ' ', '\001', '(', '\010', -':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\022', '.', '\n', '\020', 'c', 'c', -'_', 'e', 'n', 'a', 'b', 'l', 'e', '_', 'a', 'r', 'e', 'n', 'a', 's', '\030', '\037', ' ', '\001', '(', '\010', ':', '\004', 't', 'r', 'u', -'e', 'R', '\016', 'c', 'c', 'E', 'n', 'a', 'b', 'l', 'e', 'A', 'r', 'e', 'n', 'a', 's', '\022', '*', '\n', '\021', 'o', 'b', 'j', 'c', -'_', 'c', 'l', 'a', 's', 's', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '$', ' ', '\001', '(', '\t', 'R', '\017', 'o', 'b', 'j', 'c', -'C', 'l', 'a', 's', 's', 'P', 'r', 'e', 'f', 'i', 'x', '\022', ')', '\n', '\020', 'c', 's', 'h', 'a', 'r', 'p', '_', 'n', 'a', 'm', -'e', 's', 'p', 'a', 'c', 'e', '\030', '%', ' ', '\001', '(', '\t', 'R', '\017', 'c', 's', 'h', 'a', 'r', 'p', 'N', 'a', 'm', 'e', 's', -'p', 'a', 'c', 'e', '\022', '!', '\n', '\014', 's', 'w', 'i', 'f', 't', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\'', ' ', '\001', '(', -'\t', 'R', '\013', 's', 'w', 'i', 'f', 't', 'P', 'r', 'e', 'f', 'i', 'x', '\022', '(', '\n', '\020', 'p', 'h', 'p', '_', 'c', 'l', 'a', -'s', 's', '_', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '(', ' ', '\001', '(', '\t', 'R', '\016', 'p', 'h', 'p', 'C', 'l', 'a', 's', 's', -'P', 'r', 'e', 'f', 'i', 'x', '\022', '#', '\n', '\r', 'p', 'h', 'p', '_', 'n', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', '\030', ')', -' ', '\001', '(', '\t', 'R', '\014', 'p', 'h', 'p', 'N', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', '\022', '4', '\n', '\026', 'p', 'h', 'p', -'_', 'm', 'e', 't', 'a', 'd', 'a', 't', 'a', '_', 'n', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', '\030', ',', ' ', '\001', '(', '\t', -'R', '\024', 'p', 'h', 'p', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 'N', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', '\022', '!', '\n', -'\014', 'r', 'u', 'b', 'y', '_', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '\030', '-', ' ', '\001', '(', '\t', 'R', '\013', 'r', 'u', 'b', 'y', -'P', 'a', 'c', 'k', 'a', 'g', 'e', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '2', ' ', '\001', '(', '\013', -'2', '\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', -'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', 'r', -'p', 'r', 'e', 't', 'e', 'd', '_', 'o', 'p', 't', 'i', 'o', 'n', '\030', '\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', -'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', -'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', -'t', 'i', 'o', 'n', '\"', ':', '\n', '\014', 'O', 'p', 't', 'i', 'm', 'i', 'z', 'e', 'M', 'o', 'd', 'e', '\022', '\t', '\n', '\005', 'S', -'P', 'E', 'E', 'D', '\020', '\001', '\022', '\r', '\n', '\t', 'C', 'O', 'D', 'E', '_', 'S', 'I', 'Z', 'E', '\020', '\002', '\022', '\020', '\n', '\014', -'L', 'I', 'T', 'E', '_', 'R', 'U', 'N', 'T', 'I', 'M', 'E', '\020', '\003', '*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', '\002', -'J', '\004', '\010', '&', '\020', '\'', '\"', '\364', '\003', '\n', '\016', 'M', 'e', 's', 's', 'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', -'\022', '<', '\n', '\027', 'm', 'e', 's', 's', 'a', 'g', 'e', '_', 's', 'e', 't', '_', 'w', 'i', 'r', 'e', '_', 'f', 'o', 'r', 'm', -'a', 't', '\030', '\001', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\024', 'm', 'e', 's', 's', 'a', 'g', 'e', 'S', -'e', 't', 'W', 'i', 'r', 'e', 'F', 'o', 'r', 'm', 'a', 't', '\022', 'L', '\n', '\037', 'n', 'o', '_', 's', 't', 'a', 'n', 'd', 'a', -'r', 'd', '_', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '_', 'a', 'c', 'c', 'e', 's', 's', 'o', 'r', '\030', '\002', ' ', -'\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\034', 'n', 'o', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'D', 'e', 's', -'c', 'r', 'i', 'p', 't', 'o', 'r', 'A', 'c', 'c', 'e', 's', 's', 'o', 'r', '\022', '%', '\n', '\n', 'd', 'e', 'p', 'r', 'e', 'c', -'a', 't', 'e', 'd', '\030', '\003', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\n', 'd', 'e', 'p', 'r', 'e', 'c', -'a', 't', 'e', 'd', '\022', '\033', '\n', '\t', 'm', 'a', 'p', '_', 'e', 'n', 't', 'r', 'y', '\030', '\007', ' ', '\001', '(', '\010', 'R', '\010', -'m', 'a', 'p', 'E', 'n', 't', 'r', 'y', '\022', 'V', '\n', '&', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '_', 'l', 'e', -'g', 'a', 'c', 'y', '_', 'j', 's', 'o', 'n', '_', 'f', 'i', 'e', 'l', 'd', '_', 'c', 'o', 'n', 'f', 'l', 'i', 'c', 't', 's', -'\030', '\013', ' ', '\001', '(', '\010', 'B', '\002', '\030', '\001', 'R', '\"', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', 'L', 'e', 'g', -'a', 'c', 'y', 'J', 's', 'o', 'n', 'F', 'i', 'e', 'l', 'd', 'C', 'o', 'n', 'f', 'l', 'i', 'c', 't', 's', '\022', '7', '\n', '\010', -'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '\014', ' ', '\001', '(', '\013', '2', '\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', -'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', -'r', 'e', 's', '\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', '_', 'o', 'p', 't', 'i', -'o', 'n', '\030', '\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', -'u', 'f', '.', 'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', 'u', -'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '*', '\t', '\010', '\350', '\007', '\020', '\200', -'\200', '\200', '\200', '\002', 'J', '\004', '\010', '\004', '\020', '\005', 'J', '\004', '\010', '\005', '\020', '\006', 'J', '\004', '\010', '\006', '\020', '\007', 'J', '\004', '\010', -'\010', '\020', '\t', 'J', '\004', '\010', '\t', '\020', '\n', '\"', '\223', '\n', '\n', '\014', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', -'s', '\022', 'A', '\n', '\005', 'c', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\016', '2', '#', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'C', 'T', -'y', 'p', 'e', ':', '\006', 'S', 'T', 'R', 'I', 'N', 'G', 'R', '\005', 'c', 't', 'y', 'p', 'e', '\022', '\026', '\n', '\006', 'p', 'a', 'c', -'k', 'e', 'd', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\006', 'p', 'a', 'c', 'k', 'e', 'd', '\022', 'G', '\n', '\006', 'j', 's', 't', 'y', -'p', 'e', '\030', '\006', ' ', '\001', '(', '\016', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', -'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'J', 'S', 'T', 'y', 'p', 'e', ':', '\t', 'J', 'S', -'_', 'N', 'O', 'R', 'M', 'A', 'L', 'R', '\006', 'j', 's', 't', 'y', 'p', 'e', '\022', '\031', '\n', '\004', 'l', 'a', 'z', 'y', '\030', '\005', -' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\004', 'l', 'a', 'z', 'y', '\022', '.', '\n', '\017', 'u', 'n', 'v', 'e', -'r', 'i', 'f', 'i', 'e', 'd', '_', 'l', 'a', 'z', 'y', '\030', '\017', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', -'\016', 'u', 'n', 'v', 'e', 'r', 'i', 'f', 'i', 'e', 'd', 'L', 'a', 'z', 'y', '\022', '%', '\n', '\n', 'd', 'e', 'p', 'r', 'e', 'c', -'a', 't', 'e', 'd', '\030', '\003', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\n', 'd', 'e', 'p', 'r', 'e', 'c', -'a', 't', 'e', 'd', '\022', '\031', '\n', '\004', 'w', 'e', 'a', 'k', '\030', '\n', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', -'R', '\004', 'w', 'e', 'a', 'k', '\022', '(', '\n', '\014', 'd', 'e', 'b', 'u', 'g', '_', 'r', 'e', 'd', 'a', 'c', 't', '\030', '\020', ' ', -'\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\013', 'd', 'e', 'b', 'u', 'g', 'R', 'e', 'd', 'a', 'c', 't', '\022', 'K', -'\n', '\t', 'r', 'e', 't', 'e', 'n', 't', 'i', 'o', 'n', '\030', '\021', ' ', '\001', '(', '\016', '2', '-', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'O', -'p', 't', 'i', 'o', 'n', 'R', 'e', 't', 'e', 'n', 't', 'i', 'o', 'n', 'R', '\t', 'r', 'e', 't', 'e', 'n', 't', 'i', 'o', 'n', -'\022', 'H', '\n', '\007', 't', 'a', 'r', 'g', 'e', 't', 's', '\030', '\023', ' ', '\003', '(', '\016', '2', '.', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'O', -'p', 't', 'i', 'o', 'n', 'T', 'a', 'r', 'g', 'e', 't', 'T', 'y', 'p', 'e', 'R', '\007', 't', 'a', 'r', 'g', 'e', 't', 's', '\022', -'W', '\n', '\020', 'e', 'd', 'i', 't', 'i', 'o', 'n', '_', 'd', 'e', 'f', 'a', 'u', 'l', 't', 's', '\030', '\024', ' ', '\003', '(', '\013', -'2', ',', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', -'p', 't', 'i', 'o', 'n', 's', '.', 'E', 'd', 'i', 't', 'i', 'o', 'n', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'R', '\017', 'e', 'd', -'i', 't', 'i', 'o', 'n', 'D', 'e', 'f', 'a', 'u', 'l', 't', 's', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', -'\030', '\025', ' ', '\001', '(', '\013', '2', '\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', 'X', '\n', '\024', 'u', -'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', '_', 'o', 'p', 't', 'i', 'o', 'n', '\030', '\347', '\007', ' ', '\003', '(', -'\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', 't', -'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', -'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '\032', '@', '\n', '\016', 'E', 'd', 'i', 't', 'i', 'o', 'n', 'D', 'e', 'f', 'a', -'u', 'l', 't', '\022', '\030', '\n', '\007', 'e', 'd', 'i', 't', 'i', 'o', 'n', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\007', 'e', 'd', 'i', -'t', 'i', 'o', 'n', '\022', '\024', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\005', 'v', 'a', 'l', 'u', -'e', '\"', '/', '\n', '\005', 'C', 'T', 'y', 'p', 'e', '\022', '\n', '\n', '\006', 'S', 'T', 'R', 'I', 'N', 'G', '\020', '\000', '\022', '\010', '\n', -'\004', 'C', 'O', 'R', 'D', '\020', '\001', '\022', '\020', '\n', '\014', 'S', 'T', 'R', 'I', 'N', 'G', '_', 'P', 'I', 'E', 'C', 'E', '\020', '\002', -'\"', '5', '\n', '\006', 'J', 'S', 'T', 'y', 'p', 'e', '\022', '\r', '\n', '\t', 'J', 'S', '_', 'N', 'O', 'R', 'M', 'A', 'L', '\020', '\000', -'\022', '\r', '\n', '\t', 'J', 'S', '_', 'S', 'T', 'R', 'I', 'N', 'G', '\020', '\001', '\022', '\r', '\n', '\t', 'J', 'S', '_', 'N', 'U', 'M', -'B', 'E', 'R', '\020', '\002', '\"', 'U', '\n', '\017', 'O', 'p', 't', 'i', 'o', 'n', 'R', 'e', 't', 'e', 'n', 't', 'i', 'o', 'n', '\022', -'\025', '\n', '\021', 'R', 'E', 'T', 'E', 'N', 'T', 'I', 'O', 'N', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\025', '\n', -'\021', 'R', 'E', 'T', 'E', 'N', 'T', 'I', 'O', 'N', '_', 'R', 'U', 'N', 'T', 'I', 'M', 'E', '\020', '\001', '\022', '\024', '\n', '\020', 'R', -'E', 'T', 'E', 'N', 'T', 'I', 'O', 'N', '_', 'S', 'O', 'U', 'R', 'C', 'E', '\020', '\002', '\"', '\214', '\002', '\n', '\020', 'O', 'p', 't', -'i', 'o', 'n', 'T', 'a', 'r', 'g', 'e', 't', 'T', 'y', 'p', 'e', '\022', '\027', '\n', '\023', 'T', 'A', 'R', 'G', 'E', 'T', '_', 'T', -'Y', 'P', 'E', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\024', '\n', '\020', 'T', 'A', 'R', 'G', 'E', 'T', '_', 'T', -'Y', 'P', 'E', '_', 'F', 'I', 'L', 'E', '\020', '\001', '\022', '\037', '\n', '\033', 'T', 'A', 'R', 'G', 'E', 'T', '_', 'T', 'Y', 'P', 'E', -'_', 'E', 'X', 'T', 'E', 'N', 'S', 'I', 'O', 'N', '_', 'R', 'A', 'N', 'G', 'E', '\020', '\002', '\022', '\027', '\n', '\023', 'T', 'A', 'R', -'G', 'E', 'T', '_', 'T', 'Y', 'P', 'E', '_', 'M', 'E', 'S', 'S', 'A', 'G', 'E', '\020', '\003', '\022', '\025', '\n', '\021', 'T', 'A', 'R', -'G', 'E', 'T', '_', 'T', 'Y', 'P', 'E', '_', 'F', 'I', 'E', 'L', 'D', '\020', '\004', '\022', '\025', '\n', '\021', 'T', 'A', 'R', 'G', 'E', -'T', '_', 'T', 'Y', 'P', 'E', '_', 'O', 'N', 'E', 'O', 'F', '\020', '\005', '\022', '\024', '\n', '\020', 'T', 'A', 'R', 'G', 'E', 'T', '_', -'T', 'Y', 'P', 'E', '_', 'E', 'N', 'U', 'M', '\020', '\006', '\022', '\032', '\n', '\026', 'T', 'A', 'R', 'G', 'E', 'T', '_', 'T', 'Y', 'P', -'E', '_', 'E', 'N', 'U', 'M', '_', 'E', 'N', 'T', 'R', 'Y', '\020', '\007', '\022', '\027', '\n', '\023', 'T', 'A', 'R', 'G', 'E', 'T', '_', -'T', 'Y', 'P', 'E', '_', 'S', 'E', 'R', 'V', 'I', 'C', 'E', '\020', '\010', '\022', '\026', '\n', '\022', 'T', 'A', 'R', 'G', 'E', 'T', '_', -'T', 'Y', 'P', 'E', '_', 'M', 'E', 'T', 'H', 'O', 'D', '\020', '\t', '*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', '\002', 'J', -'\004', '\010', '\004', '\020', '\005', 'J', '\004', '\010', '\022', '\020', '\023', '\"', '\254', '\001', '\n', '\014', 'O', 'n', 'e', 'o', 'f', 'O', 'p', 't', 'i', -'o', 'n', 's', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '\001', ' ', '\001', '(', '\013', '2', '\033', '.', 'g', -'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', -'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', -'e', 'd', '_', 'o', 'p', 't', 'i', 'o', 'n', '\030', '\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', -'t', 'i', 'o', 'n', 'R', '\023', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', -'*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', '\002', '\"', '\321', '\002', '\n', '\013', 'E', 'n', 'u', 'm', 'O', 'p', 't', 'i', 'o', -'n', 's', '\022', '\037', '\n', '\013', 'a', 'l', 'l', 'o', 'w', '_', 'a', 'l', 'i', 'a', 's', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\n', -'a', 'l', 'l', 'o', 'w', 'A', 'l', 'i', 'a', 's', '\022', '%', '\n', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\030', -'\003', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\022', -'V', '\n', '&', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '_', 'l', 'e', 'g', 'a', 'c', 'y', '_', 'j', 's', 'o', 'n', -'_', 'f', 'i', 'e', 'l', 'd', '_', 'c', 'o', 'n', 'f', 'l', 'i', 'c', 't', 's', '\030', '\006', ' ', '\001', '(', '\010', 'B', '\002', '\030', -'\001', 'R', '\"', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', 'L', 'e', 'g', 'a', 'c', 'y', 'J', 's', 'o', 'n', 'F', 'i', -'e', 'l', 'd', 'C', 'o', 'n', 'f', 'l', 'i', 'c', 't', 's', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', -'\007', ' ', '\001', '(', '\013', '2', '\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', -'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', 'X', '\n', '\024', 'u', 'n', -'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', '_', 'o', 'p', 't', 'i', 'o', 'n', '\030', '\347', '\007', ' ', '\003', '(', '\013', -'2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', 't', 'e', -'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', -'t', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', '\002', 'J', '\004', '\010', '\005', '\020', -'\006', '\"', '\201', '\002', '\n', '\020', 'E', 'n', 'u', 'm', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '%', '\n', -'\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\030', '\001', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', -'\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '\002', -' ', '\001', '(', '\013', '2', '\033', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', -'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', '(', '\n', '\014', 'd', 'e', 'b', -'u', 'g', '_', 'r', 'e', 'd', 'a', 'c', 't', '\030', '\003', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\013', 'd', -'e', 'b', 'u', 'g', 'R', 'e', 'd', 'a', 'c', 't', '\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', -'e', 'd', '_', 'o', 'p', 't', 'i', 'o', 'n', '\030', '\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', -'t', 'i', 'o', 'n', 'R', '\023', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', -'*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', '\002', '\"', '\325', '\001', '\n', '\016', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'O', 'p', -'t', 'i', 'o', 'n', 's', '\022', '7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '\"', ' ', '\001', '(', '\013', '2', '\033', -'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', -'e', 't', 'R', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\022', '%', '\n', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', -'d', '\030', '!', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\n', 'd', 'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', -'d', '\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', '_', 'o', 'p', 't', 'i', 'o', 'n', -'\030', '\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'.', 'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'R', '\023', 'u', 'n', 'i', -'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', -'\200', '\002', '\"', '\231', '\003', '\n', '\r', 'M', 'e', 't', 'h', 'o', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '\022', '%', '\n', '\n', 'd', -'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\030', '!', ' ', '\001', '(', '\010', ':', '\005', 'f', 'a', 'l', 's', 'e', 'R', '\n', 'd', -'e', 'p', 'r', 'e', 'c', 'a', 't', 'e', 'd', '\022', 'q', '\n', '\021', 'i', 'd', 'e', 'm', 'p', 'o', 't', 'e', 'n', 'c', 'y', '_', -'l', 'e', 'v', 'e', 'l', '\030', '\"', ' ', '\001', '(', '\016', '2', '/', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', -'o', 'b', 'u', 'f', '.', 'M', 'e', 't', 'h', 'o', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '.', 'I', 'd', 'e', 'm', 'p', 'o', -'t', 'e', 'n', 'c', 'y', 'L', 'e', 'v', 'e', 'l', ':', '\023', 'I', 'D', 'E', 'M', 'P', 'O', 'T', 'E', 'N', 'C', 'Y', '_', 'U', -'N', 'K', 'N', 'O', 'W', 'N', 'R', '\020', 'i', 'd', 'e', 'm', 'p', 'o', 't', 'e', 'n', 'c', 'y', 'L', 'e', 'v', 'e', 'l', '\022', -'7', '\n', '\010', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '#', ' ', '\001', '(', '\013', '2', '\033', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', 'R', '\010', 'f', 'e', -'a', 't', 'u', 'r', 'e', 's', '\022', 'X', '\n', '\024', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', '_', 'o', -'p', 't', 'i', 'o', 'n', '\030', '\347', '\007', ' ', '\003', '(', '\013', '2', '$', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', -'R', '\023', 'u', 'n', 'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '\"', 'P', '\n', '\020', -'I', 'd', 'e', 'm', 'p', 'o', 't', 'e', 'n', 'c', 'y', 'L', 'e', 'v', 'e', 'l', '\022', '\027', '\n', '\023', 'I', 'D', 'E', 'M', 'P', -'O', 'T', 'E', 'N', 'C', 'Y', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\023', '\n', '\017', 'N', 'O', '_', 'S', 'I', -'D', 'E', '_', 'E', 'F', 'F', 'E', 'C', 'T', 'S', '\020', '\001', '\022', '\016', '\n', '\n', 'I', 'D', 'E', 'M', 'P', 'O', 'T', 'E', 'N', -'T', '\020', '\002', '*', '\t', '\010', '\350', '\007', '\020', '\200', '\200', '\200', '\200', '\002', '\"', '\232', '\003', '\n', '\023', 'U', 'n', 'i', 'n', 't', 'e', -'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '\022', 'A', '\n', '\004', 'n', 'a', 'm', 'e', '\030', '\002', ' ', '\003', -'(', '\013', '2', '-', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'U', 'n', 'i', 'n', -'t', 'e', 'r', 'p', 'r', 'e', 't', 'e', 'd', 'O', 'p', 't', 'i', 'o', 'n', '.', 'N', 'a', 'm', 'e', 'P', 'a', 'r', 't', 'R', -'\004', 'n', 'a', 'm', 'e', '\022', ')', '\n', '\020', 'i', 'd', 'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', '_', 'v', 'a', 'l', 'u', 'e', -'\030', '\003', ' ', '\001', '(', '\t', 'R', '\017', 'i', 'd', 'e', 'n', 't', 'i', 'f', 'i', 'e', 'r', 'V', 'a', 'l', 'u', 'e', '\022', ',', -'\n', '\022', 'p', 'o', 's', 'i', 't', 'i', 'v', 'e', '_', 'i', 'n', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\004', ' ', '\001', '(', -'\004', 'R', '\020', 'p', 'o', 's', 'i', 't', 'i', 'v', 'e', 'I', 'n', 't', 'V', 'a', 'l', 'u', 'e', '\022', ',', '\n', '\022', 'n', 'e', -'g', 'a', 't', 'i', 'v', 'e', '_', 'i', 'n', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\005', ' ', '\001', '(', '\003', 'R', '\020', 'n', -'e', 'g', 'a', 't', 'i', 'v', 'e', 'I', 'n', 't', 'V', 'a', 'l', 'u', 'e', '\022', '!', '\n', '\014', 'd', 'o', 'u', 'b', 'l', 'e', -'_', 'v', 'a', 'l', 'u', 'e', '\030', '\006', ' ', '\001', '(', '\001', 'R', '\013', 'd', 'o', 'u', 'b', 'l', 'e', 'V', 'a', 'l', 'u', 'e', -'\022', '!', '\n', '\014', 's', 't', 'r', 'i', 'n', 'g', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\007', ' ', '\001', '(', '\014', 'R', '\013', 's', -'t', 'r', 'i', 'n', 'g', 'V', 'a', 'l', 'u', 'e', '\022', '\'', '\n', '\017', 'a', 'g', 'g', 'r', 'e', 'g', 'a', 't', 'e', '_', 'v', -'a', 'l', 'u', 'e', '\030', '\010', ' ', '\001', '(', '\t', 'R', '\016', 'a', 'g', 'g', 'r', 'e', 'g', 'a', 't', 'e', 'V', 'a', 'l', 'u', -'e', '\032', 'J', '\n', '\010', 'N', 'a', 'm', 'e', 'P', 'a', 'r', 't', '\022', '\033', '\n', '\t', 'n', 'a', 'm', 'e', '_', 'p', 'a', 'r', -'t', '\030', '\001', ' ', '\002', '(', '\t', 'R', '\010', 'n', 'a', 'm', 'e', 'P', 'a', 'r', 't', '\022', '!', '\n', '\014', 'i', 's', '_', 'e', -'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '\030', '\002', ' ', '\002', '(', '\010', 'R', '\013', 'i', 's', 'E', 'x', 't', 'e', 'n', 's', 'i', -'o', 'n', '\"', '\235', '\n', '\n', '\n', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', '\022', 'n', '\n', '\016', 'f', 'i', 'e', 'l', -'d', '_', 'p', 'r', 'e', 's', 'e', 'n', 'c', 'e', '\030', '\001', ' ', '\001', '(', '\016', '2', ')', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', '.', 'F', 'i', 'e', 'l', -'d', 'P', 'r', 'e', 's', 'e', 'n', 'c', 'e', 'B', '\034', '\210', '\001', '\001', '\230', '\001', '\004', '\230', '\001', '\001', '\242', '\001', '\020', '\n', '\004', -'2', '0', '2', '3', '\022', '\010', 'E', 'X', 'P', 'L', 'I', 'C', 'I', 'T', 'R', '\r', 'f', 'i', 'e', 'l', 'd', 'P', 'r', 'e', 's', -'e', 'n', 'c', 'e', '\022', '[', '\n', '\t', 'e', 'n', 'u', 'm', '_', 't', 'y', 'p', 'e', '\030', '\002', ' ', '\001', '(', '\016', '2', '$', -'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', -'e', 't', '.', 'E', 'n', 'u', 'm', 'T', 'y', 'p', 'e', 'B', '\030', '\210', '\001', '\001', '\230', '\001', '\006', '\230', '\001', '\001', '\242', '\001', '\014', -'\n', '\004', '2', '0', '2', '3', '\022', '\004', 'O', 'P', 'E', 'N', 'R', '\010', 'e', 'n', 'u', 'm', 'T', 'y', 'p', 'e', '\022', '\205', '\001', -'\n', '\027', 'r', 'e', 'p', 'e', 'a', 't', 'e', 'd', '_', 'f', 'i', 'e', 'l', 'd', '_', 'e', 'n', 'c', 'o', 'd', 'i', 'n', 'g', -'\030', '\003', ' ', '\001', '(', '\016', '2', '1', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', '.', 'R', 'e', 'p', 'e', 'a', 't', 'e', 'd', 'F', 'i', 'e', 'l', 'd', 'E', -'n', 'c', 'o', 'd', 'i', 'n', 'g', 'B', '\032', '\210', '\001', '\001', '\230', '\001', '\004', '\230', '\001', '\001', '\242', '\001', '\016', '\n', '\004', '2', '0', -'2', '3', '\022', '\006', 'P', 'A', 'C', 'K', 'E', 'D', 'R', '\025', 'r', 'e', 'p', 'e', 'a', 't', 'e', 'd', 'F', 'i', 'e', 'l', 'd', -'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', '\022', '\210', '\001', '\n', '\027', 's', 't', 'r', 'i', 'n', 'g', '_', 'f', 'i', 'e', 'l', 'd', -'_', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '\030', '\004', ' ', '\001', '(', '\016', '2', '1', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', '.', 'S', 't', 'r', -'i', 'n', 'g', 'F', 'i', 'e', 'l', 'd', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 'B', '\035', '\210', '\001', '\001', '\230', '\001', -'\004', '\230', '\001', '\001', '\242', '\001', '\021', '\n', '\004', '2', '0', '2', '3', '\022', '\t', 'M', 'A', 'N', 'D', 'A', 'T', 'O', 'R', 'Y', 'R', -'\025', 's', 't', 'r', 'i', 'n', 'g', 'F', 'i', 'e', 'l', 'd', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '\022', '{', '\n', -'\020', 'm', 'e', 's', 's', 'a', 'g', 'e', '_', 'e', 'n', 'c', 'o', 'd', 'i', 'n', 'g', '\030', '\005', ' ', '\001', '(', '\016', '2', '+', -'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', -'e', 't', '.', 'M', 'e', 's', 's', 'a', 'g', 'e', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 'B', '#', '\210', '\001', '\001', '\230', '\001', -'\004', '\230', '\001', '\001', '\242', '\001', '\027', '\n', '\004', '2', '0', '2', '3', '\022', '\017', 'L', 'E', 'N', 'G', 'T', 'H', '_', 'P', 'R', 'E', -'F', 'I', 'X', 'E', 'D', 'R', '\017', 'm', 'e', 's', 's', 'a', 'g', 'e', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', '\022', 'e', '\n', -'\013', 'j', 's', 'o', 'n', '_', 'f', 'o', 'r', 'm', 'a', 't', '\030', '\006', ' ', '\001', '(', '\016', '2', '&', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', 'e', 't', '.', 'J', 's', -'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', 'B', '\034', '\210', '\001', '\001', '\230', '\001', '\003', '\230', '\001', '\006', '\230', '\001', '\001', '\242', '\001', '\r', -'\n', '\004', '2', '0', '2', '3', '\022', '\005', 'A', 'L', 'L', 'O', 'W', 'R', '\n', 'j', 's', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', -'\022', 'D', '\n', '\014', 'r', 'a', 'w', '_', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '\030', '\347', '\007', ' ', '\001', '(', '\013', '2', '\033', -'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'e', 'a', 't', 'u', 'r', 'e', 'S', -'e', 't', 'B', '\003', '\230', '\001', '\000', 'R', '\013', 'r', 'a', 'w', 'F', 'e', 'a', 't', 'u', 'r', 'e', 's', '\"', '\\', '\n', '\r', 'F', -'i', 'e', 'l', 'd', 'P', 'r', 'e', 's', 'e', 'n', 'c', 'e', '\022', '\032', '\n', '\026', 'F', 'I', 'E', 'L', 'D', '_', 'P', 'R', 'E', -'S', 'E', 'N', 'C', 'E', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\014', '\n', '\010', 'E', 'X', 'P', 'L', 'I', 'C', -'I', 'T', '\020', '\001', '\022', '\014', '\n', '\010', 'I', 'M', 'P', 'L', 'I', 'C', 'I', 'T', '\020', '\002', '\022', '\023', '\n', '\017', 'L', 'E', 'G', -'A', 'C', 'Y', '_', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '\020', '\003', '\"', '7', '\n', '\010', 'E', 'n', 'u', 'm', 'T', 'y', 'p', -'e', '\022', '\025', '\n', '\021', 'E', 'N', 'U', 'M', '_', 'T', 'Y', 'P', 'E', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', -'\010', '\n', '\004', 'O', 'P', 'E', 'N', '\020', '\001', '\022', '\n', '\n', '\006', 'C', 'L', 'O', 'S', 'E', 'D', '\020', '\002', '\"', 'V', '\n', '\025', -'R', 'e', 'p', 'e', 'a', 't', 'e', 'd', 'F', 'i', 'e', 'l', 'd', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', '\022', '#', '\n', '\037', -'R', 'E', 'P', 'E', 'A', 'T', 'E', 'D', '_', 'F', 'I', 'E', 'L', 'D', '_', 'E', 'N', 'C', 'O', 'D', 'I', 'N', 'G', '_', 'U', -'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\n', '\n', '\006', 'P', 'A', 'C', 'K', 'E', 'D', '\020', '\001', '\022', '\014', '\n', '\010', 'E', -'X', 'P', 'A', 'N', 'D', 'E', 'D', '\020', '\002', '\"', '_', '\n', '\025', 'S', 't', 'r', 'i', 'n', 'g', 'F', 'i', 'e', 'l', 'd', 'V', -'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', '\022', '#', '\n', '\037', 'S', 'T', 'R', 'I', 'N', 'G', '_', 'F', 'I', 'E', 'L', 'D', -'_', 'V', 'A', 'L', 'I', 'D', 'A', 'T', 'I', 'O', 'N', '_', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\r', '\n', '\t', -'M', 'A', 'N', 'D', 'A', 'T', 'O', 'R', 'Y', '\020', '\001', '\022', '\010', '\n', '\004', 'H', 'I', 'N', 'T', '\020', '\002', '\022', '\010', '\n', '\004', -'N', 'O', 'N', 'E', '\020', '\003', '\"', 'S', '\n', '\017', 'M', 'e', 's', 's', 'a', 'g', 'e', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', -'\022', '\034', '\n', '\030', 'M', 'E', 'S', 'S', 'A', 'G', 'E', '_', 'E', 'N', 'C', 'O', 'D', 'I', 'N', 'G', '_', 'U', 'N', 'K', 'N', -'O', 'W', 'N', '\020', '\000', '\022', '\023', '\n', '\017', 'L', 'E', 'N', 'G', 'T', 'H', '_', 'P', 'R', 'E', 'F', 'I', 'X', 'E', 'D', '\020', -'\001', '\022', '\r', '\n', '\t', 'D', 'E', 'L', 'I', 'M', 'I', 'T', 'E', 'D', '\020', '\002', '\"', 'H', '\n', '\n', 'J', 's', 'o', 'n', 'F', -'o', 'r', 'm', 'a', 't', '\022', '\027', '\n', '\023', 'J', 'S', 'O', 'N', '_', 'F', 'O', 'R', 'M', 'A', 'T', '_', 'U', 'N', 'K', 'N', -'O', 'W', 'N', '\020', '\000', '\022', '\t', '\n', '\005', 'A', 'L', 'L', 'O', 'W', '\020', '\001', '\022', '\026', '\n', '\022', 'L', 'E', 'G', 'A', 'C', -'Y', '_', 'B', 'E', 'S', 'T', '_', 'E', 'F', 'F', 'O', 'R', 'T', '\020', '\002', '*', '\006', '\010', '\350', '\007', '\020', '\351', '\007', '*', '\006', -'\010', '\351', '\007', '\020', '\352', '\007', '*', '\006', '\010', '\213', 'N', '\020', '\220', 'N', '\"', '\247', '\002', '\n', '\016', 'S', 'o', 'u', 'r', 'c', 'e', -'C', 'o', 'd', 'e', 'I', 'n', 'f', 'o', '\022', 'D', '\n', '\010', 'l', 'o', 'c', 'a', 't', 'i', 'o', 'n', '\030', '\001', ' ', '\003', '(', -'\013', '2', '(', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 'o', 'u', 'r', 'c', -'e', 'C', 'o', 'd', 'e', 'I', 'n', 'f', 'o', '.', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 'R', '\010', 'l', 'o', 'c', 'a', 't', -'i', 'o', 'n', '\032', '\316', '\001', '\n', '\010', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\004', 'p', 'a', 't', 'h', '\030', -'\001', ' ', '\003', '(', '\005', 'B', '\002', '\020', '\001', 'R', '\004', 'p', 'a', 't', 'h', '\022', '\026', '\n', '\004', 's', 'p', 'a', 'n', '\030', '\002', -' ', '\003', '(', '\005', 'B', '\002', '\020', '\001', 'R', '\004', 's', 'p', 'a', 'n', '\022', ')', '\n', '\020', 'l', 'e', 'a', 'd', 'i', 'n', 'g', -'_', 'c', 'o', 'm', 'm', 'e', 'n', 't', 's', '\030', '\003', ' ', '\001', '(', '\t', 'R', '\017', 'l', 'e', 'a', 'd', 'i', 'n', 'g', 'C', -'o', 'm', 'm', 'e', 'n', 't', 's', '\022', '+', '\n', '\021', 't', 'r', 'a', 'i', 'l', 'i', 'n', 'g', '_', 'c', 'o', 'm', 'm', 'e', -'n', 't', 's', '\030', '\004', ' ', '\001', '(', '\t', 'R', '\020', 't', 'r', 'a', 'i', 'l', 'i', 'n', 'g', 'C', 'o', 'm', 'm', 'e', 'n', -'t', 's', '\022', ':', '\n', '\031', 'l', 'e', 'a', 'd', 'i', 'n', 'g', '_', 'd', 'e', 't', 'a', 'c', 'h', 'e', 'd', '_', 'c', 'o', -'m', 'm', 'e', 'n', 't', 's', '\030', '\006', ' ', '\003', '(', '\t', 'R', '\027', 'l', 'e', 'a', 'd', 'i', 'n', 'g', 'D', 'e', 't', 'a', -'c', 'h', 'e', 'd', 'C', 'o', 'm', 'm', 'e', 'n', 't', 's', '\"', '\320', '\002', '\n', '\021', 'G', 'e', 'n', 'e', 'r', 'a', 't', 'e', -'d', 'C', 'o', 'd', 'e', 'I', 'n', 'f', 'o', '\022', 'M', '\n', '\n', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\030', '\001', -' ', '\003', '(', '\013', '2', '-', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'G', 'e', -'n', 'e', 'r', 'a', 't', 'e', 'd', 'C', 'o', 'd', 'e', 'I', 'n', 'f', 'o', '.', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', -'n', 'R', '\n', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\032', '\353', '\001', '\n', '\n', 'A', 'n', 'n', 'o', 't', 'a', 't', -'i', 'o', 'n', '\022', '\026', '\n', '\004', 'p', 'a', 't', 'h', '\030', '\001', ' ', '\003', '(', '\005', 'B', '\002', '\020', '\001', 'R', '\004', 'p', 'a', -'t', 'h', '\022', '\037', '\n', '\013', 's', 'o', 'u', 'r', 'c', 'e', '_', 'f', 'i', 'l', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\n', -'s', 'o', 'u', 'r', 'c', 'e', 'F', 'i', 'l', 'e', '\022', '\024', '\n', '\005', 'b', 'e', 'g', 'i', 'n', '\030', '\003', ' ', '\001', '(', '\005', -'R', '\005', 'b', 'e', 'g', 'i', 'n', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\004', ' ', '\001', '(', '\005', 'R', '\003', 'e', 'n', 'd', -'\022', 'R', '\n', '\010', 's', 'e', 'm', 'a', 'n', 't', 'i', 'c', '\030', '\005', ' ', '\001', '(', '\016', '2', '6', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'G', 'e', 'n', 'e', 'r', 'a', 't', 'e', 'd', 'C', 'o', 'd', 'e', -'I', 'n', 'f', 'o', '.', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '.', 'S', 'e', 'm', 'a', 'n', 't', 'i', 'c', 'R', -'\010', 's', 'e', 'm', 'a', 'n', 't', 'i', 'c', '\"', '(', '\n', '\010', 'S', 'e', 'm', 'a', 'n', 't', 'i', 'c', '\022', '\010', '\n', '\004', -'N', 'O', 'N', 'E', '\020', '\000', '\022', '\007', '\n', '\003', 'S', 'E', 'T', '\020', '\001', '\022', '\t', '\n', '\005', 'A', 'L', 'I', 'A', 'S', '\020', -'\002', 'B', '~', '\n', '\023', 'c', 'o', 'm', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', 'B', -'\020', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'r', 'o', 't', 'o', 's', 'H', '\001', 'Z', '-', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'g', 'o', 'l', 'a', 'n', 'g', '.', 'o', 'r', 'g', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 't', 'y', -'p', 'e', 's', '/', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'p', 'b', '\370', '\001', '\001', '\242', '\002', '\003', 'G', 'P', 'B', -'\252', '\002', '\032', 'G', 'o', 'o', 'g', 'l', 'e', '.', 'P', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'R', 'e', 'f', 'l', 'e', 'c', -'t', 'i', 'o', 'n', -}; - -static _upb_DefPool_Init *deps[1] = { - NULL -}; - -_upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit = { - deps, - &google_protobuf_descriptor_proto_upb_file_layout, - "google/protobuf/descriptor.proto", - UPB_STRINGVIEW_INIT(descriptor, 10979) -}; diff --git a/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c b/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c deleted file mode 100644 index fc235b21270..00000000000 --- a/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +++ /dev/null @@ -1,54 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/protobuf/struct.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "google/protobuf/struct.upbdefs.h" -#include "google/protobuf/struct.upb.h" - -static const char descriptor[738] = {'\n', '\034', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 's', 't', 'r', 'u', 'c', 't', '.', -'p', 'r', 'o', 't', 'o', '\022', '\017', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '\"', '\230', '\001', -'\n', '\006', 'S', 't', 'r', 'u', 'c', 't', '\022', ';', '\n', '\006', 'f', 'i', 'e', 'l', 'd', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', -'#', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', 'c', 't', '.', -'F', 'i', 'e', 'l', 'd', 's', 'E', 'n', 't', 'r', 'y', 'R', '\006', 'f', 'i', 'e', 'l', 'd', 's', '\032', 'Q', '\n', '\013', 'F', 'i', -'e', 'l', 'd', 's', 'E', 'n', 't', 'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', -'e', 'y', '\022', ',', '\n', '\005', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\026', '.', 'g', 'o', 'o', 'g', 'l', -'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'V', 'a', 'l', 'u', 'e', 'R', '\005', 'v', 'a', 'l', 'u', 'e', ':', '\002', -'8', '\001', '\"', '\262', '\002', '\n', '\005', 'V', 'a', 'l', 'u', 'e', '\022', ';', '\n', '\n', 'n', 'u', 'l', 'l', '_', 'v', 'a', 'l', 'u', -'e', '\030', '\001', ' ', '\001', '(', '\016', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', -'.', 'N', 'u', 'l', 'l', 'V', 'a', 'l', 'u', 'e', 'H', '\000', 'R', '\t', 'n', 'u', 'l', 'l', 'V', 'a', 'l', 'u', 'e', '\022', '#', -'\n', '\014', 'n', 'u', 'm', 'b', 'e', 'r', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\001', 'H', '\000', 'R', '\013', 'n', -'u', 'm', 'b', 'e', 'r', 'V', 'a', 'l', 'u', 'e', '\022', '#', '\n', '\014', 's', 't', 'r', 'i', 'n', 'g', '_', 'v', 'a', 'l', 'u', -'e', '\030', '\003', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\013', 's', 't', 'r', 'i', 'n', 'g', 'V', 'a', 'l', 'u', 'e', '\022', '\037', '\n', -'\n', 'b', 'o', 'o', 'l', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\004', ' ', '\001', '(', '\010', 'H', '\000', 'R', '\t', 'b', 'o', 'o', 'l', -'V', 'a', 'l', 'u', 'e', '\022', '<', '\n', '\014', 's', 't', 'r', 'u', 'c', 't', '_', 'v', 'a', 'l', 'u', 'e', '\030', '\005', ' ', '\001', -'(', '\013', '2', '\027', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'u', -'c', 't', 'H', '\000', 'R', '\013', 's', 't', 'r', 'u', 'c', 't', 'V', 'a', 'l', 'u', 'e', '\022', ';', '\n', '\n', 'l', 'i', 's', 't', -'_', 'v', 'a', 'l', 'u', 'e', '\030', '\006', ' ', '\001', '(', '\013', '2', '\032', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'L', 'i', 's', 't', 'V', 'a', 'l', 'u', 'e', 'H', '\000', 'R', '\t', 'l', 'i', 's', 't', 'V', 'a', -'l', 'u', 'e', 'B', '\006', '\n', '\004', 'k', 'i', 'n', 'd', '\"', ';', '\n', '\t', 'L', 'i', 's', 't', 'V', 'a', 'l', 'u', 'e', '\022', -'.', '\n', '\006', 'v', 'a', 'l', 'u', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\026', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'V', 'a', 'l', 'u', 'e', 'R', '\006', 'v', 'a', 'l', 'u', 'e', 's', '*', '\033', '\n', -'\t', 'N', 'u', 'l', 'l', 'V', 'a', 'l', 'u', 'e', '\022', '\016', '\n', '\n', 'N', 'U', 'L', 'L', '_', 'V', 'A', 'L', 'U', 'E', '\020', -'\000', 'B', '\177', '\n', '\023', 'c', 'o', 'm', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', 'B', -'\013', 'S', 't', 'r', 'u', 'c', 't', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '/', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'g', 'o', -'l', 'a', 'n', 'g', '.', 'o', 'r', 'g', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 't', 'y', 'p', 'e', 's', '/', 'k', -'n', 'o', 'w', 'n', '/', 's', 't', 'r', 'u', 'c', 't', 'p', 'b', '\370', '\001', '\001', '\242', '\002', '\003', 'G', 'P', 'B', '\252', '\002', '\036', -'G', 'o', 'o', 'g', 'l', 'e', '.', 'P', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'W', 'e', 'l', 'l', 'K', 'n', 'o', 'w', 'n', -'T', 'y', 'p', 'e', 's', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[1] = { - NULL -}; - -_upb_DefPool_Init google_protobuf_struct_proto_upbdefinit = { - deps, - &google_protobuf_struct_proto_upb_file_layout, - "google/protobuf/struct.proto", - UPB_STRINGVIEW_INIT(descriptor, 738) -}; diff --git a/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h b/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h deleted file mode 100644 index 066aa6a1a8c..00000000000 --- a/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +++ /dev/null @@ -1,51 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/protobuf/struct.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef GOOGLE_PROTOBUF_STRUCT_PROTO_UPBDEFS_H_ -#define GOOGLE_PROTOBUF_STRUCT_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *google_protobuf_Struct_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "google.protobuf.Struct"); -} - -UPB_INLINE const upb_MessageDef *google_protobuf_Struct_FieldsEntry_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "google.protobuf.Struct.FieldsEntry"); -} - -UPB_INLINE const upb_MessageDef *google_protobuf_Value_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "google.protobuf.Value"); -} - -UPB_INLINE const upb_MessageDef *google_protobuf_ListValue_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "google.protobuf.ListValue"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* GOOGLE_PROTOBUF_STRUCT_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c b/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c deleted file mode 100644 index 436f8656200..00000000000 --- a/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +++ /dev/null @@ -1,37 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/rpc/status.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "google/rpc/status.upbdefs.h" -#include "google/rpc/status.upb.h" - -extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; -static const char descriptor[275] = {'\n', '\027', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'r', 'p', 'c', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', -'\022', '\n', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'r', 'p', 'c', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', -'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\"', 'f', '\n', '\006', 'S', 't', 'a', 't', 'u', 's', '\022', -'\022', '\n', '\004', 'c', 'o', 'd', 'e', '\030', '\001', ' ', '\001', '(', '\005', 'R', '\004', 'c', 'o', 'd', 'e', '\022', '\030', '\n', '\007', 'm', 'e', -'s', 's', 'a', 'g', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\007', 'm', 'e', 's', 's', 'a', 'g', 'e', '\022', '.', '\n', '\007', 'd', -'e', 't', 'a', 'i', 'l', 's', '\030', '\003', ' ', '\003', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\007', 'd', 'e', 't', 'a', 'i', 'l', 's', 'B', 'a', '\n', '\016', 'c', 'o', 'm', -'.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'r', 'p', 'c', 'B', '\013', 'S', 't', 'a', 't', 'u', 's', 'P', 'r', 'o', 't', 'o', 'P', -'\001', 'Z', '7', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'g', 'o', 'l', 'a', 'n', 'g', '.', 'o', 'r', 'g', '/', 'g', 'e', 'n', 'p', -'r', 'o', 't', 'o', '/', 'g', 'o', 'o', 'g', 'l', 'e', 'a', 'p', 'i', 's', '/', 'r', 'p', 'c', '/', 's', 't', 'a', 't', 'u', -'s', ';', 's', 't', 'a', 't', 'u', 's', '\370', '\001', '\001', '\242', '\002', '\003', 'R', 'P', 'C', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[2] = { - &google_protobuf_any_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init google_rpc_status_proto_upbdefinit = { - deps, - &google_rpc_status_proto_upb_file_layout, - "google/rpc/status.proto", - UPB_STRINGVIEW_INIT(descriptor, 275) -}; diff --git a/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h b/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h deleted file mode 100644 index 5c3ea07e212..00000000000 --- a/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * google/rpc/status.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef GOOGLE_RPC_STATUS_PROTO_UPBDEFS_H_ -#define GOOGLE_RPC_STATUS_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init google_rpc_status_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *google_rpc_Status_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &google_rpc_status_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "google.rpc.Status"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* GOOGLE_RPC_STATUS_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c b/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c deleted file mode 100644 index 02b05f7b84f..00000000000 --- a/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +++ /dev/null @@ -1,62 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/migrate.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "udpa/annotations/migrate.upbdefs.h" -#include "udpa/annotations/migrate.upb.h" - -extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; -static const char descriptor[893] = {'\n', '\036', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'm', 'i', 'g', 'r', 'a', 't', -'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\020', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', -'\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', 'r', 'i', 'p', -'t', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '+', '\n', '\021', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', -'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\006', 'r', 'e', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\006', 'r', 'e', -'n', 'a', 'm', 'e', '\"', 'Y', '\n', '\026', 'F', 'i', 'e', 'l', 'd', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', -'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\006', 'r', 'e', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\006', 'r', 'e', -'n', 'a', 'm', 'e', '\022', '\'', '\n', '\017', 'o', 'n', 'e', 'o', 'f', '_', 'p', 'r', 'o', 'm', 'o', 't', 'i', 'o', 'n', '\030', '\002', -' ', '\001', '(', '\t', 'R', '\016', 'o', 'n', 'e', 'o', 'f', 'P', 'r', 'o', 'm', 'o', 't', 'i', 'o', 'n', '\"', '?', '\n', '\025', 'F', -'i', 'l', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '&', '\n', '\017', 'm', -'o', 'v', 'e', '_', 't', 'o', '_', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\r', 'm', 'o', 'v', -'e', 'T', 'o', 'P', 'a', 'c', 'k', 'a', 'g', 'e', ':', 'p', '\n', '\017', 'm', 'e', 's', 's', 'a', 'g', 'e', '_', 'm', 'i', 'g', -'r', 'a', 't', 'e', '\022', '\037', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'M', 'e', -'s', 's', 'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\216', '\343', '\377', 'Q', ' ', '\001', '(', '\013', '2', '#', '.', 'u', -'d', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', -'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\016', 'm', 'e', 's', 's', 'a', 'g', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', ':', -'o', '\n', '\r', 'f', 'i', 'e', 'l', 'd', '_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\216', '\343', -'\377', 'Q', ' ', '\001', '(', '\013', '2', '(', '.', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', -'.', 'F', 'i', 'e', 'l', 'd', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\014', -'f', 'i', 'e', 'l', 'd', 'M', 'i', 'g', 'r', 'a', 't', 'e', ':', 'g', '\n', '\014', 'e', 'n', 'u', 'm', '_', 'm', 'i', 'g', 'r', -'a', 't', 'e', '\022', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', -'m', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\216', '\343', '\377', 'Q', ' ', '\001', '(', '\013', '2', '#', '.', 'u', 'd', 'p', 'a', '.', -'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', -'t', 'i', 'o', 'n', 'R', '\013', 'e', 'n', 'u', 'm', 'M', 'i', 'g', 'r', 'a', 't', 'e', ':', 'w', '\n', '\022', 'e', 'n', 'u', 'm', -'_', 'v', 'a', 'l', 'u', 'e', '_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', '!', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', -'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', 'm', 'V', 'a', 'l', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', -'\216', '\343', '\377', 'Q', ' ', '\001', '(', '\013', '2', '#', '.', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', -'n', 's', '.', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\020', 'e', 'n', 'u', -'m', 'V', 'a', 'l', 'u', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', ':', 'k', '\n', '\014', 'f', 'i', 'l', 'e', '_', 'm', 'i', 'g', -'r', 'a', 't', 'e', '\022', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', -'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\216', '\343', '\377', 'Q', ' ', '\001', '(', '\013', '2', '\'', '.', 'u', 'd', 'p', 'a', -'.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'F', 'i', 'l', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', -'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\013', 'f', 'i', 'l', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'B', '$', 'Z', -'\"', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'a', -'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[2] = { - &google_protobuf_descriptor_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit = { - deps, - &udpa_annotations_migrate_proto_upb_file_layout, - "udpa/annotations/migrate.proto", - UPB_STRINGVIEW_INIT(descriptor, 893) -}; diff --git a/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h b/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h deleted file mode 100644 index 6a8b3b53304..00000000000 --- a/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +++ /dev/null @@ -1,46 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/migrate.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef UDPA_ANNOTATIONS_MIGRATE_PROTO_UPBDEFS_H_ -#define UDPA_ANNOTATIONS_MIGRATE_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init udpa_annotations_migrate_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *udpa_annotations_MigrateAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &udpa_annotations_migrate_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "udpa.annotations.MigrateAnnotation"); -} - -UPB_INLINE const upb_MessageDef *udpa_annotations_FieldMigrateAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &udpa_annotations_migrate_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "udpa.annotations.FieldMigrateAnnotation"); -} - -UPB_INLINE const upb_MessageDef *udpa_annotations_FileMigrateAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &udpa_annotations_migrate_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "udpa.annotations.FileMigrateAnnotation"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* UDPA_ANNOTATIONS_MIGRATE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c b/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c deleted file mode 100644 index 23bea230d81..00000000000 --- a/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +++ /dev/null @@ -1,47 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/security.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "udpa/annotations/security.upbdefs.h" -#include "udpa/annotations/security.upb.h" - -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; -static const char descriptor[453] = {'\n', '\037', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 'e', 'c', 'u', 'r', 'i', -'t', 'y', '.', 'p', 'r', 'o', 't', 'o', '\022', '\020', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', -'s', '\032', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', -'s', '.', 'p', 'r', 'o', 't', 'o', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', -'d', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '\257', '\001', '\n', '\027', 'F', 'i', 'e', 'l', -'d', 'S', 'e', 'c', 'u', 'r', 'i', 't', 'y', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', 'K', '\n', '\"', 'c', 'o', -'n', 'f', 'i', 'g', 'u', 'r', 'e', '_', 'f', 'o', 'r', '_', 'u', 'n', 't', 'r', 'u', 's', 't', 'e', 'd', '_', 'd', 'o', 'w', -'n', 's', 't', 'r', 'e', 'a', 'm', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\037', 'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'e', 'F', -'o', 'r', 'U', 'n', 't', 'r', 'u', 's', 't', 'e', 'd', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '\022', 'G', '\n', ' ', -'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'e', '_', 'f', 'o', 'r', '_', 'u', 'n', 't', 'r', 'u', 's', 't', 'e', 'd', '_', 'u', -'p', 's', 't', 'r', 'e', 'a', 'm', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\035', 'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'e', 'F', -'o', 'r', 'U', 'n', 't', 'r', 'u', 's', 't', 'e', 'd', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', ':', 'g', '\n', '\010', 's', 'e', -'c', 'u', 'r', 'i', 't', 'y', '\022', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\261', '\362', '\246', '\005', ' ', '\001', '(', '\013', '2', ')', '.', 'u', -'d', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'F', 'i', 'e', 'l', 'd', 'S', 'e', 'c', 'u', -'r', 'i', 't', 'y', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\010', 's', 'e', 'c', 'u', 'r', 'i', 't', 'y', 'B', -',', 'Z', '\"', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', -'/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '\272', '\200', '\310', '\321', '\006', '\002', '\010', '\001', 'b', '\006', 'p', 'r', 'o', -'t', 'o', '3', -}; - -static _upb_DefPool_Init *deps[3] = { - &udpa_annotations_status_proto_upbdefinit, - &google_protobuf_descriptor_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init udpa_annotations_security_proto_upbdefinit = { - deps, - &udpa_annotations_security_proto_upb_file_layout, - "udpa/annotations/security.proto", - UPB_STRINGVIEW_INIT(descriptor, 453) -}; diff --git a/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h b/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h deleted file mode 100644 index 6ccb4e45bac..00000000000 --- a/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/security.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef UDPA_ANNOTATIONS_SECURITY_PROTO_UPBDEFS_H_ -#define UDPA_ANNOTATIONS_SECURITY_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init udpa_annotations_security_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *udpa_annotations_FieldSecurityAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &udpa_annotations_security_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "udpa.annotations.FieldSecurityAnnotation"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* UDPA_ANNOTATIONS_SECURITY_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c b/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c deleted file mode 100644 index 1a96d4458fb..00000000000 --- a/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +++ /dev/null @@ -1,34 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/sensitive.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "udpa/annotations/sensitive.upbdefs.h" -#include "udpa/annotations/sensitive.upb.h" - -extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; -static const char descriptor[196] = {'\n', ' ', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 'e', 'n', 's', 'i', 't', -'i', 'v', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\020', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', -'n', 's', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', 'r', -'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', ':', '>', '\n', '\t', 's', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', '\022', -'\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', -'t', 'i', 'o', 'n', 's', '\030', '\367', '\266', '\301', '$', ' ', '\001', '(', '\010', 'R', '\t', 's', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', -'B', '$', 'Z', '\"', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', -'o', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[2] = { - &google_protobuf_descriptor_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init udpa_annotations_sensitive_proto_upbdefinit = { - deps, - &udpa_annotations_sensitive_proto_upb_file_layout, - "udpa/annotations/sensitive.proto", - UPB_STRINGVIEW_INIT(descriptor, 196) -}; diff --git a/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h b/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h deleted file mode 100644 index 8a7297dcf9f..00000000000 --- a/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +++ /dev/null @@ -1,31 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/sensitive.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPBDEFS_H_ -#define UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init udpa_annotations_sensitive_proto_upbdefinit; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* UDPA_ANNOTATIONS_SENSITIVE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c b/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c deleted file mode 100644 index 710d4c020ae..00000000000 --- a/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +++ /dev/null @@ -1,46 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/status.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "udpa/annotations/status.upbdefs.h" -#include "udpa/annotations/status.upb.h" - -extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; -static const char descriptor[483] = {'\n', '\035', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 's', 't', 'a', 't', 'u', 's', -'.', 'p', 'r', 'o', 't', 'o', '\022', '\020', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '\032', -' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', -'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '\232', '\001', '\n', '\020', 'S', 't', 'a', 't', 'u', 's', 'A', 'n', 'n', 'o', 't', 'a', -'t', 'i', 'o', 'n', '\022', '(', '\n', '\020', 'w', 'o', 'r', 'k', '_', 'i', 'n', '_', 'p', 'r', 'o', 'g', 'r', 'e', 's', 's', '\030', -'\001', ' ', '\001', '(', '\010', 'R', '\016', 'w', 'o', 'r', 'k', 'I', 'n', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', '\022', '\\', '\n', '\026', -'p', 'a', 'c', 'k', 'a', 'g', 'e', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '_', 's', 't', 'a', 't', 'u', 's', '\030', '\002', ' ', -'\001', '(', '\016', '2', '&', '.', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'P', 'a', -'c', 'k', 'a', 'g', 'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'u', 's', 'R', '\024', 'p', 'a', 'c', 'k', 'a', -'g', 'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'u', 's', '*', ']', '\n', '\024', 'P', 'a', 'c', 'k', 'a', 'g', -'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'u', 's', '\022', '\013', '\n', '\007', 'U', 'N', 'K', 'N', 'O', 'W', 'N', -'\020', '\000', '\022', '\n', '\n', '\006', 'F', 'R', 'O', 'Z', 'E', 'N', '\020', '\001', '\022', '\n', '\n', '\006', 'A', 'C', 'T', 'I', 'V', 'E', '\020', -'\002', '\022', ' ', '\n', '\034', 'N', 'E', 'X', 'T', '_', 'M', 'A', 'J', 'O', 'R', '_', 'V', 'E', 'R', 'S', 'I', 'O', 'N', '_', 'C', -'A', 'N', 'D', 'I', 'D', 'A', 'T', 'E', '\020', '\003', ':', 'd', '\n', '\013', 'f', 'i', 'l', 'e', '_', 's', 't', 'a', 't', 'u', 's', -'\022', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'l', 'e', 'O', 'p', -'t', 'i', 'o', 'n', 's', '\030', '\207', '\200', '\231', 'j', ' ', '\001', '(', '\013', '2', '\"', '.', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', -'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'S', 't', 'a', 't', 'u', 's', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', -'R', '\n', 'f', 'i', 'l', 'e', 'S', 't', 'a', 't', 'u', 's', 'B', '$', 'Z', '\"', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', -'m', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', -'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[2] = { - &google_protobuf_descriptor_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init udpa_annotations_status_proto_upbdefinit = { - deps, - &udpa_annotations_status_proto_upb_file_layout, - "udpa/annotations/status.proto", - UPB_STRINGVIEW_INIT(descriptor, 483) -}; diff --git a/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h b/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h deleted file mode 100644 index 8b01f1dc210..00000000000 --- a/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/status.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef UDPA_ANNOTATIONS_STATUS_PROTO_UPBDEFS_H_ -#define UDPA_ANNOTATIONS_STATUS_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init udpa_annotations_status_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *udpa_annotations_StatusAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &udpa_annotations_status_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "udpa.annotations.StatusAnnotation"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* UDPA_ANNOTATIONS_STATUS_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c b/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c deleted file mode 100644 index 2fd242f37a0..00000000000 --- a/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +++ /dev/null @@ -1,39 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/versioning.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "udpa/annotations/versioning.upbdefs.h" -#include "udpa/annotations/versioning.upb.h" - -extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; -static const char descriptor[317] = {'\n', '!', 'u', 'd', 'p', 'a', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', -'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\022', '\020', 'u', 'd', 'p', 'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', -'o', 'n', 's', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', -'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', 'J', '\n', '\024', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', -'g', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '2', '\n', '\025', 'p', 'r', 'e', 'v', 'i', 'o', 'u', 's', '_', 'm', -'e', 's', 's', 'a', 'g', 'e', '_', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\023', 'p', 'r', 'e', 'v', 'i', 'o', -'u', 's', 'M', 'e', 's', 's', 'a', 'g', 'e', 'T', 'y', 'p', 'e', ':', 'j', '\n', '\n', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', -'n', 'g', '\022', '\037', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'M', 'e', 's', 's', -'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\323', '\210', '\341', '\003', ' ', '\001', '(', '\013', '2', '&', '.', 'u', 'd', 'p', -'a', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', 'A', -'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\n', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', 'n', 'g', 'B', '$', 'Z', '\"', -'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'a', 'n', -'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[2] = { - &google_protobuf_descriptor_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit = { - deps, - &udpa_annotations_versioning_proto_upb_file_layout, - "udpa/annotations/versioning.proto", - UPB_STRINGVIEW_INIT(descriptor, 317) -}; diff --git a/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h b/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h deleted file mode 100644 index 4722513a24b..00000000000 --- a/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * udpa/annotations/versioning.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef UDPA_ANNOTATIONS_VERSIONING_PROTO_UPBDEFS_H_ -#define UDPA_ANNOTATIONS_VERSIONING_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init udpa_annotations_versioning_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *udpa_annotations_VersioningAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &udpa_annotations_versioning_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "udpa.annotations.VersioningAnnotation"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* UDPA_ANNOTATIONS_VERSIONING_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c b/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c deleted file mode 100644 index 32c1273be5c..00000000000 --- a/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +++ /dev/null @@ -1,63 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/migrate.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/annotations/v3/migrate.upbdefs.h" -#include "xds/annotations/v3/migrate.upb.h" - -extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; -static const char descriptor[914] = {'\n', ' ', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 'm', 'i', 'g', 'r', -'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\022', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', -'s', '.', 'v', '3', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', -'c', 'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '+', '\n', '\021', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', -'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\006', 'r', 'e', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', -'R', '\006', 'r', 'e', 'n', 'a', 'm', 'e', '\"', 'Y', '\n', '\026', 'F', 'i', 'e', 'l', 'd', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', -'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '\026', '\n', '\006', 'r', 'e', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\t', -'R', '\006', 'r', 'e', 'n', 'a', 'm', 'e', '\022', '\'', '\n', '\017', 'o', 'n', 'e', 'o', 'f', '_', 'p', 'r', 'o', 'm', 'o', 't', 'i', -'o', 'n', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\016', 'o', 'n', 'e', 'o', 'f', 'P', 'r', 'o', 'm', 'o', 't', 'i', 'o', 'n', '\"', -'?', '\n', '\025', 'F', 'i', 'l', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', -'&', '\n', '\017', 'm', 'o', 'v', 'e', '_', 't', 'o', '_', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '\030', '\002', ' ', '\001', '(', '\t', 'R', -'\r', 'm', 'o', 'v', 'e', 'T', 'o', 'P', 'a', 'c', 'k', 'a', 'g', 'e', ':', 'r', '\n', '\017', 'm', 'e', 's', 's', 'a', 'g', 'e', -'_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', '\037', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', -'f', '.', 'M', 'e', 's', 's', 'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\316', '\351', '\355', '5', ' ', '\001', '(', '\013', -'2', '%', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'M', 'i', 'g', -'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\016', 'm', 'e', 's', 's', 'a', 'g', 'e', 'M', 'i', -'g', 'r', 'a', 't', 'e', ':', 'q', '\n', '\r', 'f', 'i', 'e', 'l', 'd', '_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', '\035', '.', -'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', -'o', 'n', 's', '\030', '\316', '\351', '\355', '5', ' ', '\001', '(', '\013', '2', '*', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', -'t', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'F', 'i', 'e', 'l', 'd', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', -'t', 'a', 't', 'i', 'o', 'n', 'R', '\014', 'f', 'i', 'e', 'l', 'd', 'M', 'i', 'g', 'r', 'a', 't', 'e', ':', 'i', '\n', '\014', 'e', -'n', 'u', 'm', '_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', -'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', 'm', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\316', '\351', '\355', '5', ' ', '\001', '(', '\013', -'2', '%', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'M', 'i', 'g', -'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\013', 'e', 'n', 'u', 'm', 'M', 'i', 'g', 'r', 'a', -'t', 'e', ':', 'y', '\n', '\022', 'e', 'n', 'u', 'm', '_', 'v', 'a', 'l', 'u', 'e', '_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', -'!', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'E', 'n', 'u', 'm', 'V', 'a', 'l', -'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\316', '\351', '\355', '5', ' ', '\001', '(', '\013', '2', '%', '.', 'x', 'd', 's', '.', -'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', -'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\020', 'e', 'n', 'u', 'm', 'V', 'a', 'l', 'u', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', -':', 'm', '\n', '\014', 'f', 'i', 'l', 'e', '_', 'm', 'i', 'g', 'r', 'a', 't', 'e', '\022', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', -'.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\316', '\351', '\355', -'5', ' ', '\001', '(', '\013', '2', ')', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', -'3', '.', 'F', 'i', 'l', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\013', -'f', 'i', 'l', 'e', 'M', 'i', 'g', 'r', 'a', 't', 'e', 'B', '+', 'Z', ')', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', -'/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', -'o', 'n', 's', '/', 'v', '3', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[2] = { - &google_protobuf_descriptor_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_annotations_v3_migrate_proto_upbdefinit = { - deps, - &xds_annotations_v3_migrate_proto_upb_file_layout, - "xds/annotations/v3/migrate.proto", - UPB_STRINGVIEW_INIT(descriptor, 914) -}; diff --git a/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h b/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h deleted file mode 100644 index c1b5e12d428..00000000000 --- a/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +++ /dev/null @@ -1,46 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/migrate.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPBDEFS_H_ -#define XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_annotations_v3_migrate_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_annotations_v3_MigrateAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_migrate_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.MigrateAnnotation"); -} - -UPB_INLINE const upb_MessageDef *xds_annotations_v3_FieldMigrateAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_migrate_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.FieldMigrateAnnotation"); -} - -UPB_INLINE const upb_MessageDef *xds_annotations_v3_FileMigrateAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_migrate_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.FileMigrateAnnotation"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_ANNOTATIONS_V3_MIGRATE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c b/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c deleted file mode 100644 index 37f208dd4f9..00000000000 --- a/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +++ /dev/null @@ -1,47 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/security.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/annotations/v3/security.upbdefs.h" -#include "xds/annotations/v3/security.upb.h" - -extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; -static const char descriptor[468] = {'\n', '!', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 'e', 'c', 'u', -'r', 'i', 't', 'y', '.', 'p', 'r', 'o', 't', 'o', '\022', '\022', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', -'n', 's', '.', 'v', '3', '\032', '\037', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', -'/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '\257', '\001', -'\n', '\027', 'F', 'i', 'e', 'l', 'd', 'S', 'e', 'c', 'u', 'r', 'i', 't', 'y', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', -'\022', 'K', '\n', '\"', 'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'e', '_', 'f', 'o', 'r', '_', 'u', 'n', 't', 'r', 'u', 's', 't', -'e', 'd', '_', 'd', 'o', 'w', 'n', 's', 't', 'r', 'e', 'a', 'm', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\037', 'c', 'o', 'n', 'f', -'i', 'g', 'u', 'r', 'e', 'F', 'o', 'r', 'U', 'n', 't', 'r', 'u', 's', 't', 'e', 'd', 'D', 'o', 'w', 'n', 's', 't', 'r', 'e', -'a', 'm', '\022', 'G', '\n', ' ', 'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'e', '_', 'f', 'o', 'r', '_', 'u', 'n', 't', 'r', 'u', -'s', 't', 'e', 'd', '_', 'u', 'p', 's', 't', 'r', 'e', 'a', 'm', '\030', '\002', ' ', '\001', '(', '\010', 'R', '\035', 'c', 'o', 'n', 'f', -'i', 'g', 'u', 'r', 'e', 'F', 'o', 'r', 'U', 'n', 't', 'r', 'u', 's', 't', 'e', 'd', 'U', 'p', 's', 't', 'r', 'e', 'a', 'm', -':', 'i', '\n', '\010', 's', 'e', 'c', 'u', 'r', 'i', 't', 'y', '\022', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\247', '\226', '\235', '/', ' ', '\001', -'(', '\013', '2', '+', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'F', -'i', 'e', 'l', 'd', 'S', 'e', 'c', 'u', 'r', 'i', 't', 'y', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\010', 's', -'e', 'c', 'u', 'r', 'i', 't', 'y', 'B', '3', 'Z', ')', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', -'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', -'v', '3', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[3] = { - &xds_annotations_v3_status_proto_upbdefinit, - &google_protobuf_descriptor_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_annotations_v3_security_proto_upbdefinit = { - deps, - &xds_annotations_v3_security_proto_upb_file_layout, - "xds/annotations/v3/security.proto", - UPB_STRINGVIEW_INIT(descriptor, 468) -}; diff --git a/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h b/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h deleted file mode 100644 index c20092233e4..00000000000 --- a/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/security.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPBDEFS_H_ -#define XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_annotations_v3_security_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_annotations_v3_FieldSecurityAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_security_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.FieldSecurityAnnotation"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_ANNOTATIONS_V3_SECURITY_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c b/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c deleted file mode 100644 index 6223cceb407..00000000000 --- a/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +++ /dev/null @@ -1,35 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/sensitive.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/annotations/v3/sensitive.upbdefs.h" -#include "xds/annotations/v3/sensitive.upb.h" - -extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; -static const char descriptor[207] = {'\n', '\"', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 'e', 'n', 's', -'i', 't', 'i', 'v', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\022', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', -'o', 'n', 's', '.', 'v', '3', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', -'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', ':', '>', '\n', '\t', 's', 'e', 'n', 's', 'i', 't', -'i', 'v', 'e', '\022', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', -'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\265', '\321', '\213', '\035', ' ', '\001', '(', '\010', 'R', '\t', 's', 'e', 'n', 's', 'i', -'t', 'i', 'v', 'e', 'B', '+', 'Z', ')', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', -'d', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', 'b', -'\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[2] = { - &google_protobuf_descriptor_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_annotations_v3_sensitive_proto_upbdefinit = { - deps, - &xds_annotations_v3_sensitive_proto_upb_file_layout, - "xds/annotations/v3/sensitive.proto", - UPB_STRINGVIEW_INIT(descriptor, 207) -}; diff --git a/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h b/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h deleted file mode 100644 index 774071b67d4..00000000000 --- a/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +++ /dev/null @@ -1,31 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/sensitive.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPBDEFS_H_ -#define XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_annotations_v3_sensitive_proto_upbdefinit; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_ANNOTATIONS_V3_SENSITIVE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c b/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c deleted file mode 100644 index 85f887ced0f..00000000000 --- a/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +++ /dev/null @@ -1,64 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/status.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/annotations/v3/status.upbdefs.h" -#include "xds/annotations/v3/status.upb.h" - -extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; -static const char descriptor[936] = {'\n', '\037', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', -'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\022', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', -'.', 'v', '3', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'd', 'e', 's', 'c', -'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', '@', '\n', '\024', 'F', 'i', 'l', 'e', 'S', 't', 'a', 't', 'u', -'s', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '(', '\n', '\020', 'w', 'o', 'r', 'k', '_', 'i', 'n', '_', 'p', 'r', -'o', 'g', 'r', 'e', 's', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\016', 'w', 'o', 'r', 'k', 'I', 'n', 'P', 'r', 'o', 'g', 'r', -'e', 's', 's', '\"', 'C', '\n', '\027', 'M', 'e', 's', 's', 'a', 'g', 'e', 'S', 't', 'a', 't', 'u', 's', 'A', 'n', 'n', 'o', 't', -'a', 't', 'i', 'o', 'n', '\022', '(', '\n', '\020', 'w', 'o', 'r', 'k', '_', 'i', 'n', '_', 'p', 'r', 'o', 'g', 'r', 'e', 's', 's', -'\030', '\001', ' ', '\001', '(', '\010', 'R', '\016', 'w', 'o', 'r', 'k', 'I', 'n', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', '\"', 'A', '\n', -'\025', 'F', 'i', 'e', 'l', 'd', 'S', 't', 'a', 't', 'u', 's', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '(', '\n', -'\020', 'w', 'o', 'r', 'k', '_', 'i', 'n', '_', 'p', 'r', 'o', 'g', 'r', 'e', 's', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\016', -'w', 'o', 'r', 'k', 'I', 'n', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', '\"', '\234', '\001', '\n', '\020', 'S', 't', 'a', 't', 'u', 's', -'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '(', '\n', '\020', 'w', 'o', 'r', 'k', '_', 'i', 'n', '_', 'p', 'r', 'o', -'g', 'r', 'e', 's', 's', '\030', '\001', ' ', '\001', '(', '\010', 'R', '\016', 'w', 'o', 'r', 'k', 'I', 'n', 'P', 'r', 'o', 'g', 'r', 'e', -'s', 's', '\022', '^', '\n', '\026', 'p', 'a', 'c', 'k', 'a', 'g', 'e', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '_', 's', 't', 'a', -'t', 'u', 's', '\030', '\002', ' ', '\001', '(', '\016', '2', '(', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', -'n', 's', '.', 'v', '3', '.', 'P', 'a', 'c', 'k', 'a', 'g', 'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'u', -'s', 'R', '\024', 'p', 'a', 'c', 'k', 'a', 'g', 'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'u', 's', '*', ']', -'\n', '\024', 'P', 'a', 'c', 'k', 'a', 'g', 'e', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'S', 't', 'a', 't', 'u', 's', '\022', '\013', '\n', -'\007', 'U', 'N', 'K', 'N', 'O', 'W', 'N', '\020', '\000', '\022', '\n', '\n', '\006', 'F', 'R', 'O', 'Z', 'E', 'N', '\020', '\001', '\022', '\n', '\n', -'\006', 'A', 'C', 'T', 'I', 'V', 'E', '\020', '\002', '\022', ' ', '\n', '\034', 'N', 'E', 'X', 'T', '_', 'M', 'A', 'J', 'O', 'R', '_', 'V', -'E', 'R', 'S', 'I', 'O', 'N', '_', 'C', 'A', 'N', 'D', 'I', 'D', 'A', 'T', 'E', '\020', '\003', ':', 'j', '\n', '\013', 'f', 'i', 'l', -'e', '_', 's', 't', 'a', 't', 'u', 's', '\022', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', -'f', '.', 'F', 'i', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\352', '\310', '\224', 'l', ' ', '\001', '(', '\013', '2', '(', '.', -'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'F', 'i', 'l', 'e', 'S', 't', -'a', 't', 'u', 's', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\n', 'f', 'i', 'l', 'e', 'S', 't', 'a', 't', 'u', -'s', ':', 'v', '\n', '\016', 'm', 'e', 's', 's', 'a', 'g', 'e', '_', 's', 't', 'a', 't', 'u', 's', '\022', '\037', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'M', 'e', 's', 's', 'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', -'n', 's', '\030', '\352', '\310', '\224', 'l', ' ', '\001', '(', '\013', '2', '+', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', -'i', 'o', 'n', 's', '.', 'v', '3', '.', 'M', 'e', 's', 's', 'a', 'g', 'e', 'S', 't', 'a', 't', 'u', 's', 'A', 'n', 'n', 'o', -'t', 'a', 't', 'i', 'o', 'n', 'R', '\r', 'm', 'e', 's', 's', 'a', 'g', 'e', 'S', 't', 'a', 't', 'u', 's', ':', 'n', '\n', '\014', -'f', 'i', 'e', 'l', 'd', '_', 's', 't', 'a', 't', 'u', 's', '\022', '\035', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'F', 'i', 'e', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\352', '\310', '\224', 'l', ' ', '\001', -'(', '\013', '2', ')', '.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'F', -'i', 'e', 'l', 'd', 'S', 't', 'a', 't', 'u', 's', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\013', 'f', 'i', 'e', -'l', 'd', 'S', 't', 'a', 't', 'u', 's', 'B', '+', 'Z', ')', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', -'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', -'/', 'v', '3', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[2] = { - &google_protobuf_descriptor_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit = { - deps, - &xds_annotations_v3_status_proto_upb_file_layout, - "xds/annotations/v3/status.proto", - UPB_STRINGVIEW_INIT(descriptor, 936) -}; diff --git a/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h b/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h deleted file mode 100644 index 9076b90c422..00000000000 --- a/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +++ /dev/null @@ -1,51 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/status.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_ANNOTATIONS_V3_STATUS_PROTO_UPBDEFS_H_ -#define XDS_ANNOTATIONS_V3_STATUS_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_annotations_v3_FileStatusAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_status_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.FileStatusAnnotation"); -} - -UPB_INLINE const upb_MessageDef *xds_annotations_v3_MessageStatusAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_status_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.MessageStatusAnnotation"); -} - -UPB_INLINE const upb_MessageDef *xds_annotations_v3_FieldStatusAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_status_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.FieldStatusAnnotation"); -} - -UPB_INLINE const upb_MessageDef *xds_annotations_v3_StatusAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_status_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.StatusAnnotation"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_ANNOTATIONS_V3_STATUS_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c b/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c deleted file mode 100644 index 4bb508389a4..00000000000 --- a/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +++ /dev/null @@ -1,40 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/versioning.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/annotations/v3/versioning.upbdefs.h" -#include "xds/annotations/v3/versioning.upb.h" - -extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit; -static const char descriptor[330] = {'\n', '#', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 'v', 'e', 'r', 's', -'i', 'o', 'n', 'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\022', '\022', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', -'i', 'o', 'n', 's', '.', 'v', '3', '\032', ' ', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', -'d', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', '.', 'p', 'r', 'o', 't', 'o', '\"', 'J', '\n', '\024', 'V', 'e', 'r', 's', 'i', -'o', 'n', 'i', 'n', 'g', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', '\022', '2', '\n', '\025', 'p', 'r', 'e', 'v', 'i', 'o', -'u', 's', '_', 'm', 'e', 's', 's', 'a', 'g', 'e', '_', 't', 'y', 'p', 'e', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\023', 'p', 'r', -'e', 'v', 'i', 'o', 'u', 's', 'M', 'e', 's', 's', 'a', 'g', 'e', 'T', 'y', 'p', 'e', ':', 'l', '\n', '\n', 'v', 'e', 'r', 's', -'i', 'o', 'n', 'i', 'n', 'g', '\022', '\037', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', -'M', 'e', 's', 's', 'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', '\030', '\223', '\375', '\206', ',', ' ', '\001', '(', '\013', '2', '(', -'.', 'x', 'd', 's', '.', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '.', 'v', '3', '.', 'V', 'e', 'r', 's', 'i', -'o', 'n', 'i', 'n', 'g', 'A', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'R', '\n', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'i', -'n', 'g', 'B', '+', 'Z', ')', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', -'/', 'g', 'o', '/', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', 'b', '\006', 'p', -'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[2] = { - &google_protobuf_descriptor_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_annotations_v3_versioning_proto_upbdefinit = { - deps, - &xds_annotations_v3_versioning_proto_upb_file_layout, - "xds/annotations/v3/versioning.proto", - UPB_STRINGVIEW_INIT(descriptor, 330) -}; diff --git a/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h b/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h deleted file mode 100644 index 377bc10023b..00000000000 --- a/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/annotations/v3/versioning.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPBDEFS_H_ -#define XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_annotations_v3_versioning_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_annotations_v3_VersioningAnnotation_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_annotations_v3_versioning_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.annotations.v3.VersioningAnnotation"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_ANNOTATIONS_V3_VERSIONING_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c b/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c deleted file mode 100644 index eaacb51dee1..00000000000 --- a/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +++ /dev/null @@ -1,41 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/extension.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/core/v3/extension.upbdefs.h" -#include "xds/core/v3/extension.upb.h" - -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; -static const char descriptor[302] = {'\n', '\033', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', -'r', 'o', 't', 'o', '\022', '\013', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', -'t', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', -'/', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\"', 'v', '\n', '\024', 'T', 'y', -'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', '\022', '\033', '\n', '\004', 'n', 'a', 'm', -'e', '\030', '\001', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\004', 'n', 'a', 'm', 'e', '\022', 'A', '\n', -'\014', 't', 'y', 'p', 'e', 'd', '_', 'c', 'o', 'n', 'f', 'i', 'g', '\030', '\002', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'B', '\010', '\372', 'B', '\005', '\242', '\001', '\002', '\010', -'\001', 'R', '\013', 't', 'y', 'p', 'e', 'd', 'C', 'o', 'n', 'f', 'i', 'g', 'B', 'N', '\n', '\026', 'c', 'o', 'm', '.', 'g', 'i', 't', -'h', 'u', 'b', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\016', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', -'n', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '\"', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', -'/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', 'b', '\006', 'p', 'r', 'o', 't', -'o', '3', -}; - -static _upb_DefPool_Init *deps[3] = { - &validate_validate_proto_upbdefinit, - &google_protobuf_any_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_core_v3_extension_proto_upbdefinit = { - deps, - &xds_core_v3_extension_proto_upb_file_layout, - "xds/core/v3/extension.proto", - UPB_STRINGVIEW_INIT(descriptor, 302) -}; diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h b/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h deleted file mode 100644 index 3252d711b9c..00000000000 --- a/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/extension.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_CORE_V3_EXTENSION_PROTO_UPBDEFS_H_ -#define XDS_CORE_V3_EXTENSION_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_core_v3_extension_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_core_v3_TypedExtensionConfig_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_core_v3_extension_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.core.v3.TypedExtensionConfig"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_CORE_V3_EXTENSION_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c b/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c deleted file mode 100644 index 8f829c2ceba..00000000000 --- a/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +++ /dev/null @@ -1,45 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/resource.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/core/v3/resource.upbdefs.h" -#include "xds/core/v3/resource.upb.h" - -extern _upb_DefPool_Init google_protobuf_any_proto_upbdefinit; -extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; -extern _upb_DefPool_Init xds_core_v3_resource_name_proto_upbdefinit; -static const char descriptor[365] = {'\n', '\032', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', '.', 'p', 'r', -'o', 't', 'o', '\022', '\013', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '\032', '\031', 'g', 'o', 'o', 'g', 'l', 'e', '/', -'p', 'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'a', 'n', 'y', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'x', 'd', 's', '/', 'a', -'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', -'o', '\032', '\037', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '/', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', '_', 'n', -'a', 'm', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\205', '\001', '\n', '\010', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', '\022', '-', '\n', -'\004', 'n', 'a', 'm', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '\031', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', -'.', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'N', 'a', 'm', 'e', 'R', '\004', 'n', 'a', 'm', 'e', '\022', '\030', '\n', '\007', 'v', 'e', -'r', 's', 'i', 'o', 'n', '\030', '\002', ' ', '\001', '(', '\t', 'R', '\007', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\022', '0', '\n', '\010', 'r', -'e', 's', 'o', 'u', 'r', 'c', 'e', '\030', '\003', ' ', '\001', '(', '\013', '2', '\024', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', -'o', 't', 'o', 'b', 'u', 'f', '.', 'A', 'n', 'y', 'R', '\010', 'r', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'B', 'U', '\n', '\026', 'c', -'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', 'B', '\r', 'R', 'e', -'s', 'o', 'u', 'r', 'c', 'e', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '\"', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', -'/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', 'v', '3', '\322', -'\306', '\244', '\341', '\006', '\002', '\010', '\001', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[4] = { - &google_protobuf_any_proto_upbdefinit, - &xds_annotations_v3_status_proto_upbdefinit, - &xds_core_v3_resource_name_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_core_v3_resource_proto_upbdefinit = { - deps, - &xds_core_v3_resource_proto_upb_file_layout, - "xds/core/v3/resource.proto", - UPB_STRINGVIEW_INIT(descriptor, 365) -}; diff --git a/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h b/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h deleted file mode 100644 index ecbc918b40c..00000000000 --- a/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/core/v3/resource.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_CORE_V3_RESOURCE_PROTO_UPBDEFS_H_ -#define XDS_CORE_V3_RESOURCE_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_core_v3_resource_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_core_v3_Resource_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_core_v3_resource_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.core.v3.Resource"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_CORE_V3_RESOURCE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c b/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c deleted file mode 100644 index 4f1850e8e3e..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +++ /dev/null @@ -1,43 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/cel.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/type/matcher/v3/cel.upbdefs.h" -#include "xds/type/matcher/v3/cel.upb.h" - -extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; -extern _upb_DefPool_Init xds_type_v3_cel_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[322] = {'\n', '\035', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'c', 'e', 'l', -'.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', -'v', '3', '\032', '\037', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', -'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\025', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'c', -'e', 'l', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', -'t', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', 'Q', '\n', '\n', 'C', 'e', 'l', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'C', '\n', -'\n', 'e', 'x', 'p', 'r', '_', 'm', 'a', 't', 'c', 'h', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'x', 'd', 's', '.', 't', -'y', 'p', 'e', '.', 'v', '3', '.', 'C', 'e', 'l', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', -'\212', '\001', '\002', '\020', '\001', 'R', '\t', 'e', 'x', 'p', 'r', 'M', 'a', 't', 'c', 'h', 'B', '`', '\n', '\036', 'c', 'o', 'm', '.', 'g', -'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', -'B', '\010', 'C', 'e', 'l', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '*', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', -'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', -'h', 'e', 'r', '/', 'v', '3', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[4] = { - &xds_annotations_v3_status_proto_upbdefinit, - &xds_type_v3_cel_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_type_matcher_v3_cel_proto_upbdefinit = { - deps, - &xds_type_matcher_v3_cel_proto_upb_file_layout, - "xds/type/matcher/v3/cel.proto", - UPB_STRINGVIEW_INIT(descriptor, 322) -}; diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h b/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h deleted file mode 100644 index 7ff71b97e53..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/cel.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_MATCHER_V3_CEL_PROTO_UPBDEFS_H_ -#define XDS_TYPE_MATCHER_V3_CEL_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_type_matcher_v3_cel_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_CelMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_cel_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.CelMatcher"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_MATCHER_V3_CEL_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c b/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c deleted file mode 100644 index 4d83ad6978a..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/http_inputs.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/type/matcher/v3/http_inputs.upbdefs.h" -#include "xds/type/matcher/v3/http_inputs.upb.h" - -extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; -static const char descriptor[237] = {'\n', '%', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'h', 't', 't', -'p', '_', 'i', 'n', 'p', 'u', 't', 's', '.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', -'m', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '\032', '\037', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', -'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\"', '\035', '\n', '\033', 'H', 't', 't', -'p', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', 'C', 'e', 'l', 'M', 'a', 't', 'c', 'h', 'I', 'n', 'p', 'u', 't', 'B', -'g', '\n', '\036', 'c', 'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', -'t', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\017', 'H', 't', 't', 'p', 'I', 'n', 'p', 'u', 't', 's', 'P', 'r', 'o', 't', 'o', -'P', '\001', 'Z', '*', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', -'o', '/', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '\322', '\306', '\244', '\341', -'\006', '\002', '\010', '\001', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[2] = { - &xds_annotations_v3_status_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_type_matcher_v3_http_inputs_proto_upbdefinit = { - deps, - &xds_type_matcher_v3_http_inputs_proto_upb_file_layout, - "xds/type/matcher/v3/http_inputs.proto", - UPB_STRINGVIEW_INIT(descriptor, 237) -}; diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h b/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h deleted file mode 100644 index 1458b630683..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/http_inputs.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPBDEFS_H_ -#define XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_type_matcher_v3_http_inputs_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_HttpAttributesCelMatchInput_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_http_inputs_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.HttpAttributesCelMatchInput"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_MATCHER_V3_HTTP_INPUTS_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c b/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c deleted file mode 100644 index 42a1b3acfac..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +++ /dev/null @@ -1,126 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/matcher.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/type/matcher/v3/matcher.upbdefs.h" -#include "xds/type/matcher/v3/matcher.upb.h" - -extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; -extern _upb_DefPool_Init xds_core_v3_extension_proto_upbdefinit; -extern _upb_DefPool_Init xds_type_matcher_v3_string_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[2330] = {'\n', '!', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'm', 'a', 't', -'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', -'h', 'e', 'r', '.', 'v', '3', '\032', '\037', 'x', 'd', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', -'3', '/', 's', 't', 'a', 't', 'u', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\033', 'x', 'd', 's', '/', 'c', 'o', 'r', 'e', '/', -'v', '3', '/', 'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', '.', 'p', 'r', 'o', 't', 'o', '\032', ' ', 'x', 'd', 's', '/', 't', -'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', 't', 'r', 'i', 'n', 'g', '.', 'p', 'r', 'o', -'t', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', -'t', 'o', '\"', '\200', '\020', '\n', '\007', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'M', '\n', '\014', 'm', 'a', 't', 'c', 'h', 'e', 'r', -'_', 'l', 'i', 's', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '(', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', -'t', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', -'i', 's', 't', 'H', '\000', 'R', '\013', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '\022', 'M', '\n', '\014', 'm', 'a', 't', -'c', 'h', 'e', 'r', '_', 't', 'r', 'e', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '(', '.', 'x', 'd', 's', '.', 't', 'y', 'p', -'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', -'h', 'e', 'r', 'T', 'r', 'e', 'e', 'H', '\000', 'R', '\013', 'm', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '\022', 'D', '\n', -'\013', 'o', 'n', '_', 'n', 'o', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', '2', '$', '.', 'x', 'd', 's', '.', -'t', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', -'n', 'M', 'a', 't', 'c', 'h', 'R', '\t', 'o', 'n', 'N', 'o', 'M', 'a', 't', 'c', 'h', '\032', '\221', '\001', '\n', '\007', 'O', 'n', 'M', -'a', 't', 'c', 'h', '\022', '8', '\n', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '\034', '.', 'x', -'d', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', -'r', 'H', '\000', 'R', '\007', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\022', ';', '\n', '\006', 'a', 'c', 't', 'i', 'o', 'n', '\030', '\002', ' ', -'\001', '(', '\013', '2', '!', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', -'t', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', '\000', 'R', '\006', 'a', 'c', 't', 'i', 'o', 'n', 'B', '\017', -'\n', '\010', 'o', 'n', '_', 'm', 'a', 't', 'c', 'h', '\022', '\003', '\370', 'B', '\001', '\032', '\266', '\010', '\n', '\013', 'M', 'a', 't', 'c', 'h', -'e', 'r', 'L', 'i', 's', 't', '\022', '[', '\n', '\010', 'm', 'a', 't', 'c', 'h', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', -'5', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', -'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'F', 'i', 'e', 'l', 'd', 'M', 'a', 't', -'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\010', 'm', 'a', 't', 'c', 'h', 'e', 'r', 's', '\032', -'\221', '\006', '\n', '\t', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'o', '\n', '\020', 's', 'i', 'n', 'g', 'l', 'e', '_', 'p', -'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', 'B', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', -'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', -'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'S', 'i', 'n', 'g', 'l', 'e', 'P', 'r', -'e', 'd', 'i', 'c', 'a', 't', 'e', 'H', '\000', 'R', '\017', 's', 'i', 'n', 'g', 'l', 'e', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', -'e', '\022', 'a', '\n', '\n', 'o', 'r', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\002', ' ', '\001', '(', '\013', '2', '@', '.', 'x', -'d', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', -'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'P', -'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'L', 'i', 's', 't', 'H', '\000', 'R', '\t', 'o', 'r', 'M', 'a', 't', 'c', 'h', 'e', 'r', -'\022', 'c', '\n', '\013', 'a', 'n', 'd', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\003', ' ', '\001', '(', '\013', '2', '@', '.', 'x', -'d', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', -'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '.', 'P', -'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'L', 'i', 's', 't', 'H', '\000', 'R', '\n', 'a', 'n', 'd', 'M', 'a', 't', 'c', 'h', 'e', -'r', '\022', 'U', '\n', '\013', 'n', 'o', 't', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', '\030', '\004', ' ', '\001', '(', '\013', '2', '2', '.', -'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', -'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'H', -'\000', 'R', '\n', 'n', 'o', 't', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\032', '\363', '\001', '\n', '\017', 'S', 'i', 'n', 'g', 'l', 'e', 'P', -'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'A', '\n', '\005', 'i', 'n', 'p', 'u', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '!', -'.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', -'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'i', 'n', 'p', 'u', 't', -'\022', 'E', '\n', '\013', 'v', 'a', 'l', 'u', 'e', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '\"', '.', 'x', -'d', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', -'M', 'a', 't', 'c', 'h', 'e', 'r', 'H', '\000', 'R', '\n', 'v', 'a', 'l', 'u', 'e', 'M', 'a', 't', 'c', 'h', '\022', 'F', '\n', '\014', -'c', 'u', 's', 't', 'o', 'm', '_', 'm', 'a', 't', 'c', 'h', '\030', '\003', ' ', '\001', '(', '\013', '2', '!', '.', 'x', 'd', 's', '.', -'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', -'f', 'i', 'g', 'H', '\000', 'R', '\013', 'c', 'u', 's', 't', 'o', 'm', 'M', 'a', 't', 'c', 'h', 'B', '\016', '\n', '\007', 'm', 'a', 't', -'c', 'h', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\032', 'k', '\n', '\r', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'L', 'i', 's', -'t', '\022', 'Z', '\n', '\t', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\030', '\001', ' ', '\003', '(', '\013', '2', '2', '.', 'x', 'd', -'s', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', -'.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\010', '\372', -'B', '\005', '\222', '\001', '\002', '\010', '\002', 'R', '\t', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', 'B', '\021', '\n', '\n', 'm', 'a', 't', -'c', 'h', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', '\032', '\265', '\001', '\n', '\014', 'F', 'i', 'e', 'l', 'd', 'M', 'a', 't', -'c', 'h', 'e', 'r', '\022', 'Z', '\n', '\t', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\030', '\001', ' ', '\001', '(', '\013', '2', '2', -'.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', -'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'L', 'i', 's', 't', '.', 'P', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', -'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\t', 'p', 'r', 'e', 'd', 'i', 'c', 'a', 't', 'e', '\022', 'I', '\n', '\010', -'o', 'n', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', -'.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', 'n', 'M', 'a', 't', -'c', 'h', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\007', 'o', 'n', 'M', 'a', 't', 'c', 'h', '\032', '\251', '\004', '\n', -'\013', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '\022', 'A', '\n', '\005', 'i', 'n', 'p', 'u', 't', '\030', '\001', ' ', '\001', -'(', '\013', '2', '!', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', '.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', -'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'R', '\005', 'i', -'n', 'p', 'u', 't', '\022', '[', '\n', '\017', 'e', 'x', 'a', 'c', 't', '_', 'm', 'a', 't', 'c', 'h', '_', 'm', 'a', 'p', '\030', '\002', -' ', '\001', '(', '\013', '2', '1', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', -'3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '.', 'M', 'a', 't', -'c', 'h', 'M', 'a', 'p', 'H', '\000', 'R', '\r', 'e', 'x', 'a', 'c', 't', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', '\022', ']', '\n', -'\020', 'p', 'r', 'e', 'f', 'i', 'x', '_', 'm', 'a', 't', 'c', 'h', '_', 'm', 'a', 'p', '\030', '\003', ' ', '\001', '(', '\013', '2', '1', -'.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', -'h', 'e', 'r', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'T', 'r', 'e', 'e', '.', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', 'H', -'\000', 'R', '\016', 'p', 'r', 'e', 'f', 'i', 'x', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', '\022', 'F', '\n', '\014', 'c', 'u', 's', 't', -'o', 'm', '_', 'm', 'a', 't', 'c', 'h', '\030', '\004', ' ', '\001', '(', '\013', '2', '!', '.', 'x', 'd', 's', '.', 'c', 'o', 'r', 'e', -'.', 'v', '3', '.', 'T', 'y', 'p', 'e', 'd', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'C', 'o', 'n', 'f', 'i', 'g', 'H', -'\000', 'R', '\013', 'c', 'u', 's', 't', 'o', 'm', 'M', 'a', 't', 'c', 'h', '\032', '\300', '\001', '\n', '\010', 'M', 'a', 't', 'c', 'h', 'M', -'a', 'p', '\022', 'V', '\n', '\003', 'm', 'a', 'p', '\030', '\001', ' ', '\003', '(', '\013', '2', ':', '.', 'x', 'd', 's', '.', 't', 'y', 'p', -'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'M', 'a', 't', 'c', -'h', 'e', 'r', 'T', 'r', 'e', 'e', '.', 'M', 'a', 't', 'c', 'h', 'M', 'a', 'p', '.', 'M', 'a', 'p', 'E', 'n', 't', 'r', 'y', -'B', '\010', '\372', 'B', '\005', '\232', '\001', '\002', '\010', '\001', 'R', '\003', 'm', 'a', 'p', '\032', '\\', '\n', '\010', 'M', 'a', 'p', 'E', 'n', 't', -'r', 'y', '\022', '\020', '\n', '\003', 'k', 'e', 'y', '\030', '\001', ' ', '\001', '(', '\t', 'R', '\003', 'k', 'e', 'y', '\022', ':', '\n', '\005', 'v', -'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', -'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', 'n', 'M', 'a', 't', 'c', 'h', 'R', '\005', -'v', 'a', 'l', 'u', 'e', ':', '\002', '8', '\001', 'B', '\020', '\n', '\t', 't', 'r', 'e', 'e', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', -'B', '\001', ':', '\010', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'B', '\016', '\n', '\014', 'm', 'a', 't', 'c', 'h', 'e', 'r', '_', 't', -'y', 'p', 'e', 'B', '\\', '\n', '\036', 'c', 'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 't', 'y', 'p', -'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\014', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'P', 'r', 'o', 't', -'o', 'P', '\001', 'Z', '*', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', -'g', 'o', '/', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', 'b', '\006', 'p', -'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[5] = { - &xds_annotations_v3_status_proto_upbdefinit, - &xds_core_v3_extension_proto_upbdefinit, - &xds_type_matcher_v3_string_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_type_matcher_v3_matcher_proto_upbdefinit = { - deps, - &xds_type_matcher_v3_matcher_proto_upb_file_layout, - "xds/type/matcher/v3/matcher.proto", - UPB_STRINGVIEW_INIT(descriptor, 2330) -}; diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h b/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h deleted file mode 100644 index 2819f37b4a3..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +++ /dev/null @@ -1,81 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/matcher.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPBDEFS_H_ -#define XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_type_matcher_v3_matcher_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_OnMatch_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.OnMatch"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherList_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherList"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherList_Predicate_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherList.Predicate"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherList_Predicate_SinglePredicate_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherList_Predicate_PredicateList_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherList_FieldMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherList.FieldMatcher"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherTree_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherTree"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherTree.MatchMap"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Matcher_MatcherTree_MatchMap_MapEntry_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_matcher_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Matcher.MatcherTree.MatchMap.MapEntry"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_MATCHER_V3_MATCHER_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c b/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c deleted file mode 100644 index 206516ca407..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +++ /dev/null @@ -1,71 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/range.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/type/matcher/v3/range.upbdefs.h" -#include "xds/type/matcher/v3/range.upb.h" - -extern _upb_DefPool_Init xds_type_v3_range_proto_upbdefinit; -extern _upb_DefPool_Init xds_type_matcher_v3_matcher_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[1007] = {'\n', '\037', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'r', 'a', 'n', -'g', 'e', '.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', -'r', '.', 'v', '3', '\032', '\027', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'r', 'a', 'n', 'g', 'e', '.', 'p', -'r', 'o', 't', 'o', '\032', '!', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', -'/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', -'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\374', '\001', '\n', '\021', 'I', 'n', 't', '6', '4', 'R', -'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'Z', '\n', '\016', 'r', 'a', 'n', 'g', 'e', '_', 'm', 'a', 't', 'c', -'h', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '3', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', -'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'I', 'n', 't', '6', '4', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', -'.', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\r', 'r', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', -'e', 'r', 's', '\032', '\212', '\001', '\n', '\014', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', '9', '\n', '\006', 'r', -'a', 'n', 'g', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\027', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'v', '3', -'.', 'I', 'n', 't', '6', '4', 'R', 'a', 'n', 'g', 'e', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\006', 'r', 'a', -'n', 'g', 'e', 's', '\022', '?', '\n', '\010', 'o', 'n', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', -'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', -'e', 'r', '.', 'O', 'n', 'M', 'a', 't', 'c', 'h', 'R', '\007', 'o', 'n', 'M', 'a', 't', 'c', 'h', '\"', '\374', '\001', '\n', '\021', 'I', -'n', 't', '3', '2', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'Z', '\n', '\016', 'r', 'a', 'n', 'g', 'e', -'_', 'm', 'a', 't', 'c', 'h', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '3', '.', 'x', 'd', 's', '.', 't', 'y', 'p', -'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'I', 'n', 't', '3', '2', 'R', 'a', 'n', 'g', 'e', 'M', 'a', -'t', 'c', 'h', 'e', 'r', '.', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'R', '\r', 'r', 'a', 'n', 'g', 'e', -'M', 'a', 't', 'c', 'h', 'e', 'r', 's', '\032', '\212', '\001', '\n', '\014', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', -'\022', '9', '\n', '\006', 'r', 'a', 'n', 'g', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\027', '.', 'x', 'd', 's', '.', 't', 'y', -'p', 'e', '.', 'v', '3', '.', 'I', 'n', 't', '3', '2', 'R', 'a', 'n', 'g', 'e', 'B', '\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', -'\001', 'R', '\006', 'r', 'a', 'n', 'g', 'e', 's', '\022', '?', '\n', '\010', 'o', 'n', '_', 'm', 'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', -'(', '\013', '2', '$', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', -'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', 'n', 'M', 'a', 't', 'c', 'h', 'R', '\007', 'o', 'n', 'M', 'a', 't', 'c', 'h', '\"', -'\377', '\001', '\n', '\022', 'D', 'o', 'u', 'b', 'l', 'e', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', '[', '\n', -'\016', 'r', 'a', 'n', 'g', 'e', '_', 'm', 'a', 't', 'c', 'h', 'e', 'r', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '4', '.', 'x', -'d', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'D', 'o', 'u', 'b', 'l', 'e', -'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'R', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', -'R', '\r', 'r', 'a', 'n', 'g', 'e', 'M', 'a', 't', 'c', 'h', 'e', 'r', 's', '\032', '\213', '\001', '\n', '\014', 'R', 'a', 'n', 'g', 'e', -'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', ':', '\n', '\006', 'r', 'a', 'n', 'g', 'e', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\030', -'.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '.', 'D', 'o', 'u', 'b', 'l', 'e', 'R', 'a', 'n', 'g', 'e', 'B', -'\010', '\372', 'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\006', 'r', 'a', 'n', 'g', 'e', 's', '\022', '?', '\n', '\010', 'o', 'n', '_', 'm', -'a', 't', 'c', 'h', '\030', '\002', ' ', '\001', '(', '\013', '2', '$', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', -'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'M', 'a', 't', 'c', 'h', 'e', 'r', '.', 'O', 'n', 'M', 'a', 't', 'c', 'h', 'R', '\007', -'o', 'n', 'M', 'a', 't', 'c', 'h', 'B', 'Z', '\n', '\036', 'c', 'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', -'.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\n', 'R', 'a', 'n', 'g', 'e', 'P', 'r', -'o', 't', 'o', 'P', '\001', 'Z', '*', 'g', 'i', 't', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', -'s', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', 'b', -'\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[4] = { - &xds_type_v3_range_proto_upbdefinit, - &xds_type_matcher_v3_matcher_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_type_matcher_v3_range_proto_upbdefinit = { - deps, - &xds_type_matcher_v3_range_proto_upb_file_layout, - "xds/type/matcher/v3/range.proto", - UPB_STRINGVIEW_INIT(descriptor, 1007) -}; diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h b/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h deleted file mode 100644 index 1ff4138a395..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +++ /dev/null @@ -1,61 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/range.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPBDEFS_H_ -#define XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_type_matcher_v3_range_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Int64RangeMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_range_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Int64RangeMatcher"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Int64RangeMatcher_RangeMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_range_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Int32RangeMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_range_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Int32RangeMatcher"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_Int32RangeMatcher_RangeMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_range_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_DoubleRangeMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_range_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.DoubleRangeMatcher"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_DoubleRangeMatcher_RangeMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_range_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_MATCHER_V3_RANGE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c b/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c deleted file mode 100644 index 9398f026522..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +++ /dev/null @@ -1,40 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/regex.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/type/matcher/v3/regex.upbdefs.h" -#include "xds/type/matcher/v3/regex.upb.h" - -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[348] = {'\n', '\037', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 'r', 'e', 'g', -'e', 'x', '.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', -'r', '.', 'v', '3', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', -'r', 'o', 't', 'o', '\"', '\246', '\001', '\n', '\014', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'V', '\n', '\n', -'g', 'o', 'o', 'g', 'l', 'e', '_', 'r', 'e', '2', '\030', '\001', ' ', '\001', '(', '\013', '2', '+', '.', 'x', 'd', 's', '.', 't', 'y', -'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', 't', 'c', 'h', 'e', -'r', '.', 'G', 'o', 'o', 'g', 'l', 'e', 'R', 'E', '2', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'H', '\000', 'R', '\t', -'g', 'o', 'o', 'g', 'l', 'e', 'R', 'e', '2', '\022', '\035', '\n', '\005', 'r', 'e', 'g', 'e', 'x', '\030', '\002', ' ', '\001', '(', '\t', 'B', -'\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'R', '\005', 'r', 'e', 'g', 'e', 'x', '\032', '\013', '\n', '\t', 'G', 'o', 'o', 'g', 'l', 'e', -'R', 'E', '2', 'B', '\022', '\n', '\013', 'e', 'n', 'g', 'i', 'n', 'e', '_', 't', 'y', 'p', 'e', '\022', '\003', '\370', 'B', '\001', 'B', 'Z', -'\n', '\036', 'c', 'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', -'c', 'h', 'e', 'r', '.', 'v', '3', 'B', '\n', 'R', 'e', 'g', 'e', 'x', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '*', 'g', 'i', -'t', 'h', 'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', -'t', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[2] = { - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_type_matcher_v3_regex_proto_upbdefinit = { - deps, - &xds_type_matcher_v3_regex_proto_upb_file_layout, - "xds/type/matcher/v3/regex.proto", - UPB_STRINGVIEW_INIT(descriptor, 348) -}; diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h b/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h deleted file mode 100644 index 8f89d23c3c3..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +++ /dev/null @@ -1,41 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/regex.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPBDEFS_H_ -#define XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_type_matcher_v3_regex_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_RegexMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_regex_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.RegexMatcher"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_RegexMatcher_GoogleRE2_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_regex_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.RegexMatcher.GoogleRE2"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_MATCHER_V3_REGEX_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c b/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c deleted file mode 100644 index 3c9d09069ae..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +++ /dev/null @@ -1,52 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/string.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/type/matcher/v3/string.upbdefs.h" -#include "xds/type/matcher/v3/string.upb.h" - -extern _upb_DefPool_Init xds_type_matcher_v3_regex_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[593] = {'\n', ' ', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', '/', 's', 't', 'r', -'i', 'n', 'g', '.', 'p', 'r', 'o', 't', 'o', '\022', '\023', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', -'e', 'r', '.', 'v', '3', '\032', '\037', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'm', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', -'3', '/', 'r', 'e', 'g', 'e', 'x', '.', 'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', -'a', 'l', 'i', 'd', 'a', 't', 'e', '.', 'p', 'r', 'o', 't', 'o', '\"', '\231', '\002', '\n', '\r', 'S', 't', 'r', 'i', 'n', 'g', 'M', -'a', 't', 'c', 'h', 'e', 'r', '\022', '\026', '\n', '\005', 'e', 'x', 'a', 'c', 't', '\030', '\001', ' ', '\001', '(', '\t', 'H', '\000', 'R', '\005', -'e', 'x', 'a', 'c', 't', '\022', '!', '\n', '\006', 'p', 'r', 'e', 'f', 'i', 'x', '\030', '\002', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', -'\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\006', 'p', 'r', 'e', 'f', 'i', 'x', '\022', '!', '\n', '\006', 's', 'u', 'f', 'f', 'i', 'x', -'\030', '\003', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', '\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\006', 's', 'u', 'f', 'f', 'i', 'x', -'\022', 'L', '\n', '\n', 's', 'a', 'f', 'e', '_', 'r', 'e', 'g', 'e', 'x', '\030', '\005', ' ', '\001', '(', '\013', '2', '!', '.', 'x', 'd', -'s', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'R', 'e', 'g', 'e', 'x', 'M', 'a', -'t', 'c', 'h', 'e', 'r', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', '\001', 'H', '\000', 'R', '\t', 's', 'a', 'f', 'e', 'R', 'e', -'g', 'e', 'x', '\022', '%', '\n', '\010', 'c', 'o', 'n', 't', 'a', 'i', 'n', 's', '\030', '\007', ' ', '\001', '(', '\t', 'B', '\007', '\372', 'B', -'\004', 'r', '\002', '\020', '\001', 'H', '\000', 'R', '\010', 'c', 'o', 'n', 't', 'a', 'i', 'n', 's', '\022', '\037', '\n', '\013', 'i', 'g', 'n', 'o', -'r', 'e', '_', 'c', 'a', 's', 'e', '\030', '\006', ' ', '\001', '(', '\010', 'R', '\n', 'i', 'g', 'n', 'o', 'r', 'e', 'C', 'a', 's', 'e', -'B', '\024', '\n', '\r', 'm', 'a', 't', 'c', 'h', '_', 'p', 'a', 't', 't', 'e', 'r', 'n', '\022', '\003', '\370', 'B', '\001', '\"', ']', '\n', -'\021', 'L', 'i', 's', 't', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', '\022', 'H', '\n', '\010', 'p', 'a', 't', -'t', 'e', 'r', 'n', 's', '\030', '\001', ' ', '\003', '(', '\013', '2', '\"', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', -'t', 'c', 'h', 'e', 'r', '.', 'v', '3', '.', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'e', 'r', 'B', '\010', '\372', -'B', '\005', '\222', '\001', '\002', '\010', '\001', 'R', '\010', 'p', 'a', 't', 't', 'e', 'r', 'n', 's', 'B', '[', '\n', '\036', 'c', 'o', 'm', '.', -'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'm', 'a', 't', 'c', 'h', 'e', 'r', '.', 'v', -'3', 'B', '\013', 'S', 't', 'r', 'i', 'n', 'g', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '*', 'g', 'i', 't', 'h', 'u', 'b', '.', -'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', -'m', 'a', 't', 'c', 'h', 'e', 'r', '/', 'v', '3', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[3] = { - &xds_type_matcher_v3_regex_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_type_matcher_v3_string_proto_upbdefinit = { - deps, - &xds_type_matcher_v3_string_proto_upb_file_layout, - "xds/type/matcher/v3/string.proto", - UPB_STRINGVIEW_INIT(descriptor, 593) -}; diff --git a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h b/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h deleted file mode 100644 index ee567fc062e..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +++ /dev/null @@ -1,41 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/matcher/v3/string.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_MATCHER_V3_STRING_PROTO_UPBDEFS_H_ -#define XDS_TYPE_MATCHER_V3_STRING_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_type_matcher_v3_string_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_StringMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_string_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.StringMatcher"); -} - -UPB_INLINE const upb_MessageDef *xds_type_matcher_v3_ListStringMatcher_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_matcher_v3_string_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.matcher.v3.ListStringMatcher"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_MATCHER_V3_STRING_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c b/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c deleted file mode 100644 index 8926c53bad4..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +++ /dev/null @@ -1,60 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/v3/cel.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/type/v3/cel.upbdefs.h" -#include "xds/type/v3/cel.upb.h" - -extern _upb_DefPool_Init google_api_expr_v1alpha1_checked_proto_upbdefinit; -extern _upb_DefPool_Init google_api_expr_v1alpha1_syntax_proto_upbdefinit; -extern _upb_DefPool_Init google_protobuf_wrappers_proto_upbdefinit; -extern _upb_DefPool_Init xds_annotations_v3_status_proto_upbdefinit; -extern _upb_DefPool_Init validate_validate_proto_upbdefinit; -static const char descriptor[646] = {'\n', '\025', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'c', 'e', 'l', '.', 'p', 'r', 'o', 't', 'o', '\022', '\013', -'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '\032', '&', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'a', 'p', 'i', '/', 'e', -'x', 'p', 'r', '/', 'v', '1', 'a', 'l', 'p', 'h', 'a', '1', '/', 'c', 'h', 'e', 'c', 'k', 'e', 'd', '.', 'p', 'r', 'o', 't', -'o', '\032', '%', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'a', 'p', 'i', '/', 'e', 'x', 'p', 'r', '/', 'v', '1', 'a', 'l', 'p', 'h', -'a', '1', '/', 's', 'y', 'n', 't', 'a', 'x', '.', 'p', 'r', 'o', 't', 'o', '\032', '\036', 'g', 'o', 'o', 'g', 'l', 'e', '/', 'p', -'r', 'o', 't', 'o', 'b', 'u', 'f', '/', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 's', '.', 'p', 'r', 'o', 't', 'o', '\032', '\037', 'x', -'d', 's', '/', 'a', 'n', 'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', '/', 'v', '3', '/', 's', 't', 'a', 't', 'u', 's', '.', -'p', 'r', 'o', 't', 'o', '\032', '\027', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '/', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', '.', -'p', 'r', 'o', 't', 'o', '\"', '\273', '\001', '\n', '\r', 'C', 'e', 'l', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', '\022', 'G', -'\n', '\013', 'p', 'a', 'r', 's', 'e', 'd', '_', 'e', 'x', 'p', 'r', '\030', '\001', ' ', '\001', '(', '\013', '2', '$', '.', 'g', 'o', 'o', -'g', 'l', 'e', '.', 'a', 'p', 'i', '.', 'e', 'x', 'p', 'r', '.', 'v', '1', 'a', 'l', 'p', 'h', 'a', '1', '.', 'P', 'a', 'r', -'s', 'e', 'd', 'E', 'x', 'p', 'r', 'H', '\000', 'R', '\n', 'p', 'a', 'r', 's', 'e', 'd', 'E', 'x', 'p', 'r', '\022', 'J', '\n', '\014', -'c', 'h', 'e', 'c', 'k', 'e', 'd', '_', 'e', 'x', 'p', 'r', '\030', '\002', ' ', '\001', '(', '\013', '2', '%', '.', 'g', 'o', 'o', 'g', -'l', 'e', '.', 'a', 'p', 'i', '.', 'e', 'x', 'p', 'r', '.', 'v', '1', 'a', 'l', 'p', 'h', 'a', '1', '.', 'C', 'h', 'e', 'c', -'k', 'e', 'd', 'E', 'x', 'p', 'r', 'H', '\000', 'R', '\013', 'c', 'h', 'e', 'c', 'k', 'e', 'd', 'E', 'x', 'p', 'r', 'B', '\025', '\n', -'\016', 'e', 'x', 'p', 'r', '_', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'r', '\022', '\003', '\370', 'B', '\001', '\"', '\236', '\001', '\n', '\020', -'C', 'e', 'l', 'E', 'x', 't', 'r', 'a', 'c', 't', 'S', 't', 'r', 'i', 'n', 'g', '\022', 'G', '\n', '\014', 'e', 'x', 'p', 'r', '_', -'e', 'x', 't', 'r', 'a', 'c', 't', '\030', '\001', ' ', '\001', '(', '\013', '2', '\032', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', -'v', '3', '.', 'C', 'e', 'l', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', 'B', '\010', '\372', 'B', '\005', '\212', '\001', '\002', '\020', -'\001', 'R', '\013', 'e', 'x', 'p', 'r', 'E', 'x', 't', 'r', 'a', 'c', 't', '\022', 'A', '\n', '\r', 'd', 'e', 'f', 'a', 'u', 'l', 't', -'_', 'v', 'a', 'l', 'u', 'e', '\030', '\002', ' ', '\001', '(', '\013', '2', '\034', '.', 'g', 'o', 'o', 'g', 'l', 'e', '.', 'p', 'r', 'o', -'t', 'o', 'b', 'u', 'f', '.', 'S', 't', 'r', 'i', 'n', 'g', 'V', 'a', 'l', 'u', 'e', 'R', '\014', 'd', 'e', 'f', 'a', 'u', 'l', -'t', 'V', 'a', 'l', 'u', 'e', 'B', 'P', '\n', '\026', 'c', 'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', -'t', 'y', 'p', 'e', '.', 'v', '3', 'B', '\010', 'C', 'e', 'l', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '\"', 'g', 'i', 't', 'h', -'u', 'b', '.', 'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 't', 'y', -'p', 'e', '/', 'v', '3', '\322', '\306', '\244', '\341', '\006', '\002', '\010', '\001', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[6] = { - &google_api_expr_v1alpha1_checked_proto_upbdefinit, - &google_api_expr_v1alpha1_syntax_proto_upbdefinit, - &google_protobuf_wrappers_proto_upbdefinit, - &xds_annotations_v3_status_proto_upbdefinit, - &validate_validate_proto_upbdefinit, - NULL -}; - -_upb_DefPool_Init xds_type_v3_cel_proto_upbdefinit = { - deps, - &xds_type_v3_cel_proto_upb_file_layout, - "xds/type/v3/cel.proto", - UPB_STRINGVIEW_INIT(descriptor, 646) -}; diff --git a/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h b/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h deleted file mode 100644 index d6ebaadb80c..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +++ /dev/null @@ -1,41 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/v3/cel.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_V3_CEL_PROTO_UPBDEFS_H_ -#define XDS_TYPE_V3_CEL_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_type_v3_cel_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_type_v3_CelExpression_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_v3_cel_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.v3.CelExpression"); -} - -UPB_INLINE const upb_MessageDef *xds_type_v3_CelExtractString_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_v3_cel_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.v3.CelExtractString"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_V3_CEL_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c b/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c deleted file mode 100644 index 3e47187448c..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +++ /dev/null @@ -1,36 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/v3/range.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#include "upb/reflection/def.h" -#include "xds/type/v3/range.upbdefs.h" -#include "xds/type/v3/range.upb.h" - -static const char descriptor[285] = {'\n', '\027', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', 'v', '3', '/', 'r', 'a', 'n', 'g', 'e', '.', 'p', 'r', 'o', 't', 'o', -'\022', '\013', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', 'v', '3', '\"', '4', '\n', '\n', 'I', 'n', 't', '6', '4', 'R', 'a', 'n', -'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', '(', '\003', 'R', '\005', 's', 't', 'a', 'r', 't', '\022', -'\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\003', 'R', '\003', 'e', 'n', 'd', '\"', '4', '\n', '\n', 'I', 'n', 't', '3', -'2', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', '(', '\005', 'R', '\005', 's', 't', -'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\005', 'R', '\003', 'e', 'n', 'd', '\"', '5', '\n', '\013', -'D', 'o', 'u', 'b', 'l', 'e', 'R', 'a', 'n', 'g', 'e', '\022', '\024', '\n', '\005', 's', 't', 'a', 'r', 't', '\030', '\001', ' ', '\001', '(', -'\001', 'R', '\005', 's', 't', 'a', 'r', 't', '\022', '\020', '\n', '\003', 'e', 'n', 'd', '\030', '\002', ' ', '\001', '(', '\001', 'R', '\003', 'e', 'n', -'d', 'B', 'J', '\n', '\026', 'c', 'o', 'm', '.', 'g', 'i', 't', 'h', 'u', 'b', '.', 'x', 'd', 's', '.', 't', 'y', 'p', 'e', '.', -'v', '3', 'B', '\n', 'R', 'a', 'n', 'g', 'e', 'P', 'r', 'o', 't', 'o', 'P', '\001', 'Z', '\"', 'g', 'i', 't', 'h', 'u', 'b', '.', -'c', 'o', 'm', '/', 'c', 'n', 'c', 'f', '/', 'x', 'd', 's', '/', 'g', 'o', '/', 'x', 'd', 's', '/', 't', 'y', 'p', 'e', '/', -'v', '3', 'b', '\006', 'p', 'r', 'o', 't', 'o', '3', -}; - -static _upb_DefPool_Init *deps[1] = { - NULL -}; - -_upb_DefPool_Init xds_type_v3_range_proto_upbdefinit = { - deps, - &xds_type_v3_range_proto_upb_file_layout, - "xds/type/v3/range.proto", - UPB_STRINGVIEW_INIT(descriptor, 285) -}; diff --git a/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h b/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h deleted file mode 100644 index 2f8552e0572..00000000000 --- a/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +++ /dev/null @@ -1,46 +0,0 @@ -/* This file was generated by upbc (the upb compiler) from the input - * file: - * - * xds/type/v3/range.proto - * - * Do not edit -- your changes will be discarded when the file is - * regenerated. */ - -#ifndef XDS_TYPE_V3_RANGE_PROTO_UPBDEFS_H_ -#define XDS_TYPE_V3_RANGE_PROTO_UPBDEFS_H_ - -#include "upb/reflection/def.h" -#include "upb/reflection/def_pool_internal.h" -#include "upb/port/def.inc" -#ifdef __cplusplus -extern "C" { -#endif - -#include "upb/reflection/def.h" - -#include "upb/port/def.inc" - -extern _upb_DefPool_Init xds_type_v3_range_proto_upbdefinit; - -UPB_INLINE const upb_MessageDef *xds_type_v3_Int64Range_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_v3_range_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.v3.Int64Range"); -} - -UPB_INLINE const upb_MessageDef *xds_type_v3_Int32Range_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_v3_range_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.v3.Int32Range"); -} - -UPB_INLINE const upb_MessageDef *xds_type_v3_DoubleRange_getmsgdef(upb_DefPool *s) { - _upb_DefPool_LoadDefInit(s, &xds_type_v3_range_proto_upbdefinit); - return upb_DefPool_FindMessageByName(s, "xds.type.v3.DoubleRange"); -} - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#include "upb/port/undef.inc" - -#endif /* XDS_TYPE_V3_RANGE_PROTO_UPBDEFS_H_ */ diff --git a/src/core/ext/xds/OWNERS b/src/core/ext/xds/OWNERS deleted file mode 100644 index 14a326486e3..00000000000 --- a/src/core/ext/xds/OWNERS +++ /dev/null @@ -1,3 +0,0 @@ -set noparent -@markdroth - diff --git a/src/core/ext/xds/certificate_provider_store.cc b/src/core/ext/xds/certificate_provider_store.cc index b4a13067707..ed631dabcfb 100644 --- a/src/core/ext/xds/certificate_provider_store.cc +++ b/src/core/ext/xds/certificate_provider_store.cc @@ -106,7 +106,8 @@ CertificateProviderStore::CreateOrGetCertificateProvider( certificate_providers_map_.insert({result->key(), result.get()}); } } else { - result = it->second->RefIfNonZero(); + result = + it->second->RefIfNonZero().TakeAsSubclass(); if (result == nullptr) { result = CreateCertificateProviderLocked(key); it->second = result.get(); diff --git a/src/core/ext/xds/certificate_provider_store.h b/src/core/ext/xds/certificate_provider_store.h index 24b172ac32d..aba287f9789 100644 --- a/src/core/ext/xds/certificate_provider_store.h +++ b/src/core/ext/xds/certificate_provider_store.h @@ -36,7 +36,6 @@ #include "src/core/lib/gprpp/sync.h" #include "src/core/lib/gprpp/unique_type_name.h" #include "src/core/lib/gprpp/validation_errors.h" -#include "src/core/lib/iomgr/iomgr_fwd.h" #include "src/core/lib/json/json.h" #include "src/core/lib/json/json_args.h" #include "src/core/lib/json/json_object_loader.h" @@ -96,10 +95,6 @@ class CertificateProviderStore return certificate_provider_->distributor(); } - grpc_pollset_set* interested_parties() const override { - return certificate_provider_->interested_parties(); - } - int CompareImpl(const grpc_tls_certificate_provider* other) const override { // TODO(yashykt): This should probably delegate to the `Compare` method of // the wrapped certificate_provider_ object. diff --git a/src/core/ext/xds/file_watcher_certificate_provider_factory.cc b/src/core/ext/xds/file_watcher_certificate_provider_factory.cc index 8053fc6e470..3f5c17461ae 100644 --- a/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +++ b/src/core/ext/xds/file_watcher_certificate_provider_factory.cc @@ -21,7 +21,6 @@ #include "src/core/ext/xds/file_watcher_certificate_provider_factory.h" #include -#include #include #include #include diff --git a/src/core/ext/xds/xds_api.cc b/src/core/ext/xds/xds_api.cc index 6da587ed9aa..937428edf66 100644 --- a/src/core/ext/xds/xds_api.cc +++ b/src/core/ext/xds/xds_api.cc @@ -21,7 +21,6 @@ #include #include -#include #include #include #include @@ -41,9 +40,9 @@ #include "google/protobuf/timestamp.upb.h" #include "google/rpc/status.upb.h" #include "upb/base/string_view.h" +#include "upb/mem/arena.hpp" #include "upb/reflection/def.h" #include "upb/text/encode.h" -#include "upb/upb.hpp" #include #include @@ -58,12 +57,12 @@ namespace grpc_core { XdsApi::XdsApi(XdsClient* client, TraceFlag* tracer, - const XdsBootstrap::Node* node, upb::SymbolTable* symtab, + const XdsBootstrap::Node* node, upb::DefPool* def_pool, std::string user_agent_name, std::string user_agent_version) : client_(client), tracer_(tracer), node_(node), - symtab_(symtab), + def_pool_(def_pool), user_agent_name_(std::move(user_agent_name)), user_agent_version_(std::move(user_agent_version)) {} @@ -72,36 +71,33 @@ namespace { struct XdsApiContext { XdsClient* client; TraceFlag* tracer; - upb_DefPool* symtab; + upb_DefPool* def_pool; upb_Arena* arena; }; -void PopulateMetadataValue(const XdsApiContext& context, - google_protobuf_Value* value_pb, const Json& value); +void PopulateMetadataValue(google_protobuf_Value* value_pb, const Json& value, + upb_Arena* arena); -void PopulateListValue(const XdsApiContext& context, - google_protobuf_ListValue* list_value, - const Json::Array& values) { +void PopulateListValue(google_protobuf_ListValue* list_value, + const Json::Array& values, upb_Arena* arena) { for (const auto& value : values) { - auto* value_pb = - google_protobuf_ListValue_add_values(list_value, context.arena); - PopulateMetadataValue(context, value_pb, value); + auto* value_pb = google_protobuf_ListValue_add_values(list_value, arena); + PopulateMetadataValue(value_pb, value, arena); } } -void PopulateMetadata(const XdsApiContext& context, - google_protobuf_Struct* metadata_pb, - const Json::Object& metadata) { +void PopulateMetadata(google_protobuf_Struct* metadata_pb, + const Json::Object& metadata, upb_Arena* arena) { for (const auto& p : metadata) { - google_protobuf_Value* value = google_protobuf_Value_new(context.arena); - PopulateMetadataValue(context, value, p.second); + google_protobuf_Value* value = google_protobuf_Value_new(arena); + PopulateMetadataValue(value, p.second, arena); google_protobuf_Struct_fields_set( - metadata_pb, StdStringToUpbString(p.first), value, context.arena); + metadata_pb, StdStringToUpbString(p.first), value, arena); } } -void PopulateMetadataValue(const XdsApiContext& context, - google_protobuf_Value* value_pb, const Json& value) { +void PopulateMetadataValue(google_protobuf_Value* value_pb, const Json& value, + upb_Arena* arena) { switch (value.type()) { case Json::Type::kNull: google_protobuf_Value_set_null_value(value_pb, 0); @@ -119,74 +115,29 @@ void PopulateMetadataValue(const XdsApiContext& context, break; case Json::Type::kObject: { google_protobuf_Struct* struct_value = - google_protobuf_Value_mutable_struct_value(value_pb, context.arena); - PopulateMetadata(context, struct_value, value.object()); + google_protobuf_Value_mutable_struct_value(value_pb, arena); + PopulateMetadata(struct_value, value.object(), arena); break; } case Json::Type::kArray: { google_protobuf_ListValue* list_value = - google_protobuf_Value_mutable_list_value(value_pb, context.arena); - PopulateListValue(context, list_value, value.array()); + google_protobuf_Value_mutable_list_value(value_pb, arena); + PopulateListValue(list_value, value.array(), arena); break; } } } -void PopulateNode(const XdsApiContext& context, const XdsBootstrap::Node* node, - const std::string& user_agent_name, - const std::string& user_agent_version, - envoy_config_core_v3_Node* node_msg) { - if (node != nullptr) { - if (!node->id().empty()) { - envoy_config_core_v3_Node_set_id(node_msg, - StdStringToUpbString(node->id())); - } - if (!node->cluster().empty()) { - envoy_config_core_v3_Node_set_cluster( - node_msg, StdStringToUpbString(node->cluster())); - } - if (!node->metadata().empty()) { - google_protobuf_Struct* metadata = - envoy_config_core_v3_Node_mutable_metadata(node_msg, context.arena); - PopulateMetadata(context, metadata, node->metadata()); - } - if (!node->locality_region().empty() || !node->locality_zone().empty() || - !node->locality_sub_zone().empty()) { - envoy_config_core_v3_Locality* locality = - envoy_config_core_v3_Node_mutable_locality(node_msg, context.arena); - if (!node->locality_region().empty()) { - envoy_config_core_v3_Locality_set_region( - locality, StdStringToUpbString(node->locality_region())); - } - if (!node->locality_zone().empty()) { - envoy_config_core_v3_Locality_set_zone( - locality, StdStringToUpbString(node->locality_zone())); - } - if (!node->locality_sub_zone().empty()) { - envoy_config_core_v3_Locality_set_sub_zone( - locality, StdStringToUpbString(node->locality_sub_zone())); - } - } - } - envoy_config_core_v3_Node_set_user_agent_name( - node_msg, StdStringToUpbString(user_agent_name)); - envoy_config_core_v3_Node_set_user_agent_version( - node_msg, StdStringToUpbString(user_agent_version)); - envoy_config_core_v3_Node_add_client_features( - node_msg, - upb_StringView_FromString("envoy.lb.does_not_support_overprovisioning"), - context.arena); -} - void MaybeLogDiscoveryRequest( const XdsApiContext& context, const envoy_service_discovery_v3_DiscoveryRequest* request) { if (GRPC_TRACE_FLAG_ENABLED(*context.tracer) && gpr_should_log(GPR_LOG_SEVERITY_DEBUG)) { const upb_MessageDef* msg_type = - envoy_service_discovery_v3_DiscoveryRequest_getmsgdef(context.symtab); + envoy_service_discovery_v3_DiscoveryRequest_getmsgdef(context.def_pool); char buf[10240]; - upb_TextEncode(request, msg_type, nullptr, 0, buf, sizeof(buf)); + upb_TextEncode(reinterpret_cast(request), msg_type, + nullptr, 0, buf, sizeof(buf)); gpr_log(GPR_DEBUG, "[xds_client %p] constructed ADS request: %s", context.client, buf); } @@ -203,12 +154,57 @@ std::string SerializeDiscoveryRequest( } // namespace +void XdsApi::PopulateNode(envoy_config_core_v3_Node* node_msg, + upb_Arena* arena) { + if (node_ != nullptr) { + if (!node_->id().empty()) { + envoy_config_core_v3_Node_set_id(node_msg, + StdStringToUpbString(node_->id())); + } + if (!node_->cluster().empty()) { + envoy_config_core_v3_Node_set_cluster( + node_msg, StdStringToUpbString(node_->cluster())); + } + if (!node_->metadata().empty()) { + google_protobuf_Struct* metadata = + envoy_config_core_v3_Node_mutable_metadata(node_msg, arena); + PopulateMetadata(metadata, node_->metadata(), arena); + } + if (!node_->locality_region().empty() || !node_->locality_zone().empty() || + !node_->locality_sub_zone().empty()) { + envoy_config_core_v3_Locality* locality = + envoy_config_core_v3_Node_mutable_locality(node_msg, arena); + if (!node_->locality_region().empty()) { + envoy_config_core_v3_Locality_set_region( + locality, StdStringToUpbString(node_->locality_region())); + } + if (!node_->locality_zone().empty()) { + envoy_config_core_v3_Locality_set_zone( + locality, StdStringToUpbString(node_->locality_zone())); + } + if (!node_->locality_sub_zone().empty()) { + envoy_config_core_v3_Locality_set_sub_zone( + locality, StdStringToUpbString(node_->locality_sub_zone())); + } + } + } + envoy_config_core_v3_Node_set_user_agent_name( + node_msg, StdStringToUpbString(user_agent_name_)); + envoy_config_core_v3_Node_set_user_agent_version( + node_msg, StdStringToUpbString(user_agent_version_)); + envoy_config_core_v3_Node_add_client_features( + node_msg, + upb_StringView_FromString("envoy.lb.does_not_support_overprovisioning"), + arena); +} + std::string XdsApi::CreateAdsRequest( absl::string_view type_url, absl::string_view version, absl::string_view nonce, const std::vector& resource_names, absl::Status status, bool populate_node) { upb::Arena arena; - const XdsApiContext context = {client_, tracer_, symtab_->ptr(), arena.ptr()}; + const XdsApiContext context = {client_, tracer_, def_pool_->ptr(), + arena.ptr()}; // Create a request. envoy_service_discovery_v3_DiscoveryRequest* request = envoy_service_discovery_v3_DiscoveryRequest_new(arena.ptr()); @@ -248,8 +244,7 @@ std::string XdsApi::CreateAdsRequest( envoy_config_core_v3_Node* node_msg = envoy_service_discovery_v3_DiscoveryRequest_mutable_node(request, arena.ptr()); - PopulateNode(context, node_, user_agent_name_, user_agent_version_, - node_msg); + PopulateNode(node_msg, arena.ptr()); envoy_config_core_v3_Node_add_client_features( node_msg, upb_StringView_FromString("xds.config.resource-in-sotw"), context.arena); @@ -271,9 +266,11 @@ void MaybeLogDiscoveryResponse( if (GRPC_TRACE_FLAG_ENABLED(*context.tracer) && gpr_should_log(GPR_LOG_SEVERITY_DEBUG)) { const upb_MessageDef* msg_type = - envoy_service_discovery_v3_DiscoveryResponse_getmsgdef(context.symtab); + envoy_service_discovery_v3_DiscoveryResponse_getmsgdef( + context.def_pool); char buf[10240]; - upb_TextEncode(response, msg_type, nullptr, 0, buf, sizeof(buf)); + upb_TextEncode(reinterpret_cast(response), msg_type, + nullptr, 0, buf, sizeof(buf)); gpr_log(GPR_DEBUG, "[xds_client %p] received response: %s", context.client, buf); } @@ -284,7 +281,8 @@ void MaybeLogDiscoveryResponse( absl::Status XdsApi::ParseAdsResponse(absl::string_view encoded_response, AdsResponseParserInterface* parser) { upb::Arena arena; - const XdsApiContext context = {client_, tracer_, symtab_->ptr(), arena.ptr()}; + const XdsApiContext context = {client_, tracer_, def_pool_->ptr(), + arena.ptr()}; // Decode the response. const envoy_service_discovery_v3_DiscoveryResponse* response = envoy_service_discovery_v3_DiscoveryResponse_parse( @@ -357,9 +355,11 @@ void MaybeLogLrsRequest( if (GRPC_TRACE_FLAG_ENABLED(*context.tracer) && gpr_should_log(GPR_LOG_SEVERITY_DEBUG)) { const upb_MessageDef* msg_type = - envoy_service_load_stats_v3_LoadStatsRequest_getmsgdef(context.symtab); + envoy_service_load_stats_v3_LoadStatsRequest_getmsgdef( + context.def_pool); char buf[10240]; - upb_TextEncode(request, msg_type, nullptr, 0, buf, sizeof(buf)); + upb_TextEncode(reinterpret_cast(request), msg_type, + nullptr, 0, buf, sizeof(buf)); gpr_log(GPR_DEBUG, "[xds_client %p] constructed LRS request: %s", context.client, buf); } @@ -378,7 +378,8 @@ std::string SerializeLrsRequest( std::string XdsApi::CreateLrsInitialRequest() { upb::Arena arena; - const XdsApiContext context = {client_, tracer_, symtab_->ptr(), arena.ptr()}; + const XdsApiContext context = {client_, tracer_, def_pool_->ptr(), + arena.ptr()}; // Create a request. envoy_service_load_stats_v3_LoadStatsRequest* request = envoy_service_load_stats_v3_LoadStatsRequest_new(arena.ptr()); @@ -386,7 +387,7 @@ std::string XdsApi::CreateLrsInitialRequest() { envoy_config_core_v3_Node* node_msg = envoy_service_load_stats_v3_LoadStatsRequest_mutable_node(request, arena.ptr()); - PopulateNode(context, node_, user_agent_name_, user_agent_version_, node_msg); + PopulateNode(node_msg, arena.ptr()); envoy_config_core_v3_Node_add_client_features( node_msg, upb_StringView_FromString("envoy.lrs.supports_send_all_clusters"), @@ -448,7 +449,8 @@ void LocalityStatsPopulate( std::string XdsApi::CreateLrsRequest( ClusterLoadReportMap cluster_load_report_map) { upb::Arena arena; - const XdsApiContext context = {client_, tracer_, symtab_->ptr(), arena.ptr()}; + const XdsApiContext context = {client_, tracer_, def_pool_->ptr(), + arena.ptr()}; // Create a request. envoy_service_load_stats_v3_LoadStatsRequest* request = envoy_service_load_stats_v3_LoadStatsRequest_new(arena.ptr()); @@ -515,9 +517,11 @@ void MaybeLogLrsResponse( if (GRPC_TRACE_FLAG_ENABLED(*context.tracer) && gpr_should_log(GPR_LOG_SEVERITY_DEBUG)) { const upb_MessageDef* msg_type = - envoy_service_load_stats_v3_LoadStatsResponse_getmsgdef(context.symtab); + envoy_service_load_stats_v3_LoadStatsResponse_getmsgdef( + context.def_pool); char buf[10240]; - upb_TextEncode(response, msg_type, nullptr, 0, buf, sizeof(buf)); + upb_TextEncode(reinterpret_cast(response), msg_type, + nullptr, 0, buf, sizeof(buf)); gpr_log(GPR_DEBUG, "[xds_client %p] received LRS response: %s", context.client, buf); } @@ -538,7 +542,8 @@ absl::Status XdsApi::ParseLrsResponse(absl::string_view encoded_response, if (decoded_response == nullptr) { return absl::UnavailableError("Can't decode response."); } - const XdsApiContext context = {client_, tracer_, symtab_->ptr(), arena.ptr()}; + const XdsApiContext context = {client_, tracer_, def_pool_->ptr(), + arena.ptr()}; MaybeLogLrsResponse(context, decoded_response); // Check send_all_clusters. if (envoy_service_load_stats_v3_LoadStatsResponse_send_all_clusters( @@ -564,84 +569,4 @@ absl::Status XdsApi::ParseLrsResponse(absl::string_view encoded_response, return absl::OkStatus(); } -namespace { - -google_protobuf_Timestamp* EncodeTimestamp(const XdsApiContext& context, - Timestamp value) { - google_protobuf_Timestamp* timestamp = - google_protobuf_Timestamp_new(context.arena); - gpr_timespec timespec = value.as_timespec(GPR_CLOCK_REALTIME); - google_protobuf_Timestamp_set_seconds(timestamp, timespec.tv_sec); - google_protobuf_Timestamp_set_nanos(timestamp, timespec.tv_nsec); - return timestamp; -} - -} // namespace - -std::string XdsApi::AssembleClientConfig( - const ResourceTypeMetadataMap& resource_type_metadata_map) { - upb::Arena arena; - // Create the ClientConfig for resource metadata from XdsClient - auto* client_config = envoy_service_status_v3_ClientConfig_new(arena.ptr()); - // Fill-in the node information - auto* node = envoy_service_status_v3_ClientConfig_mutable_node(client_config, - arena.ptr()); - const XdsApiContext context = {client_, tracer_, symtab_->ptr(), arena.ptr()}; - PopulateNode(context, node_, user_agent_name_, user_agent_version_, node); - // Dump each resource. - std::vector type_url_storage; - for (const auto& p : resource_type_metadata_map) { - absl::string_view type_url = p.first; - const ResourceMetadataMap& resource_metadata_map = p.second; - type_url_storage.emplace_back( - absl::StrCat("type.googleapis.com/", type_url)); - for (const auto& q : resource_metadata_map) { - absl::string_view resource_name = q.first; - const ResourceMetadata& metadata = *q.second; - auto* entry = - envoy_service_status_v3_ClientConfig_add_generic_xds_configs( - client_config, context.arena); - envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_type_url( - entry, StdStringToUpbString(type_url_storage.back())); - envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_name( - entry, StdStringToUpbString(resource_name)); - envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_client_status( - entry, metadata.client_status); - if (!metadata.serialized_proto.empty()) { - envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_version_info( - entry, StdStringToUpbString(metadata.version)); - envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_last_updated( - entry, EncodeTimestamp(context, metadata.update_time)); - auto* any_field = - envoy_service_status_v3_ClientConfig_GenericXdsConfig_mutable_xds_config( - entry, context.arena); - google_protobuf_Any_set_type_url( - any_field, StdStringToUpbString(type_url_storage.back())); - google_protobuf_Any_set_value( - any_field, StdStringToUpbString(metadata.serialized_proto)); - } - if (metadata.client_status == XdsApi::ResourceMetadata::NACKED) { - auto* update_failure_state = - envoy_admin_v3_UpdateFailureState_new(context.arena); - envoy_admin_v3_UpdateFailureState_set_details( - update_failure_state, - StdStringToUpbString(metadata.failed_details)); - envoy_admin_v3_UpdateFailureState_set_version_info( - update_failure_state, - StdStringToUpbString(metadata.failed_version)); - envoy_admin_v3_UpdateFailureState_set_last_update_attempt( - update_failure_state, - EncodeTimestamp(context, metadata.failed_update_time)); - envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_error_state( - entry, update_failure_state); - } - } - } - // Serialize the upb message to bytes - size_t output_length; - char* output = envoy_service_status_v3_ClientConfig_serialize( - client_config, arena.ptr(), &output_length); - return std::string(output, output_length); -} - } // namespace grpc_core diff --git a/src/core/ext/xds/xds_api.h b/src/core/ext/xds/xds_api.h index 256998cc24d..e8ab904eb14 100644 --- a/src/core/ext/xds/xds_api.h +++ b/src/core/ext/xds/xds_api.h @@ -30,6 +30,7 @@ #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "envoy/admin/v3/config_dump_shared.upb.h" +#include "envoy/service/status/v3/csds.upb.h" #include "upb/mem/arena.h" #include "upb/reflection/def.hpp" @@ -126,10 +127,6 @@ class XdsApi { // Timestamp of the last failed update attempt. Timestamp failed_update_time; }; - using ResourceMetadataMap = - std::map; - using ResourceTypeMetadataMap = - std::map; static_assert(static_cast( envoy_admin_v3_REQUESTED) == ResourceMetadata::ClientResourceStatus::REQUESTED, @@ -148,7 +145,7 @@ class XdsApi { ""); XdsApi(XdsClient* client, TraceFlag* tracer, const XdsBootstrap::Node* node, - upb::SymbolTable* symtab, std::string user_agent_name, + upb::DefPool* def_pool, std::string user_agent_name, std::string user_agent_version); // Creates an ADS request. @@ -176,15 +173,13 @@ class XdsApi { std::set* cluster_names, Duration* load_reporting_interval); - // Assemble the client config proto message and return the serialized result. - std::string AssembleClientConfig( - const ResourceTypeMetadataMap& resource_type_metadata_map); + void PopulateNode(envoy_config_core_v3_Node* node_msg, upb_Arena* arena); private: XdsClient* client_; TraceFlag* tracer_; const XdsBootstrap::Node* node_; // Do not own. - upb::SymbolTable* symtab_; // Do not own. + upb::DefPool* def_pool_; // Do not own. const std::string user_agent_name_; const std::string user_agent_version_; }; diff --git a/src/core/ext/xds/xds_bootstrap.h b/src/core/ext/xds/xds_bootstrap.h index 23ba5ea8e2d..8a1a8214f65 100644 --- a/src/core/ext/xds/xds_bootstrap.h +++ b/src/core/ext/xds/xds_bootstrap.h @@ -50,9 +50,15 @@ class XdsBootstrap { virtual bool Equals(const XdsServer& other) const = 0; + // Returns a key to be used for uniquely identifying this XdsServer. + virtual std::string Key() const = 0; + friend bool operator==(const XdsServer& a, const XdsServer& b) { return a.Equals(b); } + friend bool operator!=(const XdsServer& a, const XdsServer& b) { + return !a.Equals(b); + } }; class Authority { @@ -77,10 +83,6 @@ class XdsBootstrap { // Returns a pointer to the specified authority, or null if it does // not exist in this bootstrap config. virtual const Authority* LookupAuthority(const std::string& name) const = 0; - - // If the server exists in the bootstrap config, returns a pointer to - // the XdsServer instance in the config. Otherwise, returns null. - virtual const XdsServer* FindXdsServer(const XdsServer& server) const = 0; }; } // namespace grpc_core diff --git a/src/core/ext/xds/xds_bootstrap_grpc.cc b/src/core/ext/xds/xds_bootstrap_grpc.cc index 20da6a7f0f2..dd2b3da3c87 100644 --- a/src/core/ext/xds/xds_bootstrap_grpc.cc +++ b/src/core/ext/xds/xds_bootstrap_grpc.cc @@ -21,7 +21,6 @@ #include #include -#include #include #include #include @@ -102,6 +101,10 @@ bool GrpcXdsBootstrap::GrpcXdsServer::Equals(const XdsServer& other) const { server_features_ == o.server_features_); } +std::string GrpcXdsBootstrap::GrpcXdsServer::Key() const { + return JsonDump(ToJson()); +} + const JsonLoaderInterface* GrpcXdsBootstrap::GrpcXdsServer::JsonLoader( const JsonArgs&) { static const auto* loader = @@ -359,19 +362,4 @@ const XdsBootstrap::Authority* GrpcXdsBootstrap::LookupAuthority( return nullptr; } -const XdsBootstrap::XdsServer* GrpcXdsBootstrap::FindXdsServer( - const XdsBootstrap::XdsServer& server) const { - if (static_cast(server) == servers_[0]) { - return &servers_[0]; - } - for (auto& p : authorities_) { - const auto* authority_server = - static_cast(p.second.server()); - if (authority_server != nullptr && *authority_server == server) { - return authority_server; - } - } - return nullptr; -} - } // namespace grpc_core diff --git a/src/core/ext/xds/xds_bootstrap_grpc.h b/src/core/ext/xds/xds_bootstrap_grpc.h index ecc9f519fd5..e3506833c65 100644 --- a/src/core/ext/xds/xds_bootstrap_grpc.h +++ b/src/core/ext/xds/xds_bootstrap_grpc.h @@ -84,6 +84,8 @@ class GrpcXdsBootstrap : public XdsBootstrap { bool Equals(const XdsServer& other) const override; + std::string Key() const override; + RefCountedPtr channel_creds_config() const { return channel_creds_config_; } @@ -132,7 +134,6 @@ class GrpcXdsBootstrap : public XdsBootstrap { return node_.has_value() ? &*node_ : nullptr; } const Authority* LookupAuthority(const std::string& name) const override; - const XdsServer* FindXdsServer(const XdsServer& server) const override; const std::string& client_default_listener_resource_name_template() const { return client_default_listener_resource_name_template_; diff --git a/src/core/ext/xds/xds_certificate_provider.cc b/src/core/ext/xds/xds_certificate_provider.cc index 0ca497939ee..b97f0acb05f 100644 --- a/src/core/ext/xds/xds_certificate_provider.cc +++ b/src/core/ext/xds/xds_certificate_provider.cc @@ -43,16 +43,15 @@ class RootCertificatesWatcher // presently, the watcher is immediately deleted when // CancelTlsCertificatesWatch() is called, but that can potentially change in // the future. - RootCertificatesWatcher( - RefCountedPtr parent, - std::string cert_name) - : parent_(std::move(parent)), cert_name_(std::move(cert_name)) {} + explicit RootCertificatesWatcher( + RefCountedPtr parent) + : parent_(std::move(parent)) {} void OnCertificatesChanged(absl::optional root_certs, absl::optional /* key_cert_pairs */) override { if (root_certs.has_value()) { - parent_->SetKeyMaterials(cert_name_, std::string(root_certs.value()), + parent_->SetKeyMaterials("", std::string(root_certs.value()), absl::nullopt); } } @@ -60,14 +59,13 @@ class RootCertificatesWatcher void OnError(grpc_error_handle root_cert_error, grpc_error_handle /*identity_cert_error*/) override { if (!root_cert_error.ok()) { - parent_->SetErrorForCert(cert_name_, root_cert_error /* pass the ref */, + parent_->SetErrorForCert("", root_cert_error /* pass the ref */, absl::nullopt); } } private: RefCountedPtr parent_; - std::string cert_name_; }; class IdentityCertificatesWatcher @@ -78,339 +76,142 @@ class IdentityCertificatesWatcher // presently, the watcher is immediately deleted when // CancelTlsCertificatesWatch() is called, but that can potentially change in // the future. - IdentityCertificatesWatcher( - RefCountedPtr parent, - std::string cert_name) - : parent_(std::move(parent)), cert_name_(std::move(cert_name)) {} + explicit IdentityCertificatesWatcher( + RefCountedPtr parent) + : parent_(std::move(parent)) {} void OnCertificatesChanged( absl::optional /* root_certs */, absl::optional key_cert_pairs) override { if (key_cert_pairs.has_value()) { - parent_->SetKeyMaterials(cert_name_, absl::nullopt, key_cert_pairs); + parent_->SetKeyMaterials("", absl::nullopt, key_cert_pairs); } } void OnError(grpc_error_handle /*root_cert_error*/, grpc_error_handle identity_cert_error) override { if (!identity_cert_error.ok()) { - parent_->SetErrorForCert(cert_name_, absl::nullopt, + parent_->SetErrorForCert("", absl::nullopt, identity_cert_error /* pass the ref */); } } private: RefCountedPtr parent_; - std::string cert_name_; }; } // namespace // -// XdsCertificateProvider::ClusterCertificateState +// XdsCertificateProvider // -XdsCertificateProvider::ClusterCertificateState::~ClusterCertificateState() { - if (root_cert_watcher_ != nullptr) { - root_cert_distributor_->CancelTlsCertificatesWatch(root_cert_watcher_); - } - if (identity_cert_watcher_ != nullptr) { - identity_cert_distributor_->CancelTlsCertificatesWatch( - identity_cert_watcher_); - } +XdsCertificateProvider::XdsCertificateProvider( + RefCountedPtr root_cert_provider, + absl::string_view root_cert_name, + RefCountedPtr identity_cert_provider, + absl::string_view identity_cert_name, + std::vector san_matchers) + : distributor_(MakeRefCounted()), + root_cert_provider_(std::move(root_cert_provider)), + root_cert_name_(root_cert_name), + identity_cert_provider_(std::move(identity_cert_provider)), + identity_cert_name_(identity_cert_name), + san_matchers_(std::move(san_matchers)), + require_client_certificate_(false) { + distributor_->SetWatchStatusCallback( + absl::bind_front(&XdsCertificateProvider::WatchStatusCallback, this)); } -bool XdsCertificateProvider::ClusterCertificateState::IsSafeToRemove() const { - return !watching_root_certs_ && !watching_identity_certs_ && - root_cert_distributor_ == nullptr && - identity_cert_distributor_ == nullptr; +XdsCertificateProvider::XdsCertificateProvider( + RefCountedPtr root_cert_provider, + absl::string_view root_cert_name, + RefCountedPtr identity_cert_provider, + absl::string_view identity_cert_name, bool require_client_certificate) + : distributor_(MakeRefCounted()), + root_cert_provider_(std::move(root_cert_provider)), + root_cert_name_(root_cert_name), + identity_cert_provider_(std::move(identity_cert_provider)), + identity_cert_name_(identity_cert_name), + require_client_certificate_(require_client_certificate) { + distributor_->SetWatchStatusCallback( + absl::bind_front(&XdsCertificateProvider::WatchStatusCallback, this)); } -void XdsCertificateProvider::ClusterCertificateState:: - UpdateRootCertNameAndDistributor( - const std::string& cert_name, absl::string_view root_cert_name, - RefCountedPtr root_cert_distributor) { - if (root_cert_name_ == root_cert_name && - root_cert_distributor_ == root_cert_distributor) { - return; - } - root_cert_name_ = std::string(root_cert_name); - if (watching_root_certs_) { - // The root certificates are being watched. Swap out the watcher. - if (root_cert_distributor_ != nullptr) { - root_cert_distributor_->CancelTlsCertificatesWatch(root_cert_watcher_); - } - if (root_cert_distributor != nullptr) { - UpdateRootCertWatcher(cert_name, root_cert_distributor.get()); - } else { - root_cert_watcher_ = nullptr; - xds_certificate_provider_->distributor_->SetErrorForCert( - "", +XdsCertificateProvider::~XdsCertificateProvider() { + distributor_->SetWatchStatusCallback(nullptr); +} + +UniqueTypeName XdsCertificateProvider::type() const { + static UniqueTypeName::Factory kFactory("Xds"); + return kFactory.Create(); +} + +void XdsCertificateProvider::WatchStatusCallback(std::string cert_name, + bool root_being_watched, + bool identity_being_watched) { + if (!cert_name.empty()) { + if (root_being_watched) { + distributor_->SetErrorForCert( + cert_name, GRPC_ERROR_CREATE( "No certificate provider available for root certificates"), absl::nullopt); } - } - // Swap out the root certificate distributor - root_cert_distributor_ = std::move(root_cert_distributor); -} - -void XdsCertificateProvider::ClusterCertificateState:: - UpdateIdentityCertNameAndDistributor( - const std::string& cert_name, absl::string_view identity_cert_name, - RefCountedPtr - identity_cert_distributor) { - if (identity_cert_name_ == identity_cert_name && - identity_cert_distributor_ == identity_cert_distributor) { - return; - } - identity_cert_name_ = std::string(identity_cert_name); - if (watching_identity_certs_) { - // The identity certificates are being watched. Swap out the watcher. - if (identity_cert_distributor_ != nullptr) { - identity_cert_distributor_->CancelTlsCertificatesWatch( - identity_cert_watcher_); - } - if (identity_cert_distributor != nullptr) { - UpdateIdentityCertWatcher(cert_name, identity_cert_distributor.get()); - } else { - identity_cert_watcher_ = nullptr; - xds_certificate_provider_->distributor_->SetErrorForCert( - "", absl::nullopt, + if (identity_being_watched) { + distributor_->SetErrorForCert( + cert_name, absl::nullopt, GRPC_ERROR_CREATE( "No certificate provider available for identity certificates")); } + return; } - // Swap out the identity certificate distributor - identity_cert_distributor_ = std::move(identity_cert_distributor); -} - -void XdsCertificateProvider::ClusterCertificateState::UpdateRootCertWatcher( - const std::string& cert_name, - grpc_tls_certificate_distributor* root_cert_distributor) { - auto watcher = std::make_unique( - xds_certificate_provider_->distributor_, cert_name); - root_cert_watcher_ = watcher.get(); - root_cert_distributor->WatchTlsCertificates(std::move(watcher), - root_cert_name_, absl::nullopt); -} - -void XdsCertificateProvider::ClusterCertificateState::UpdateIdentityCertWatcher( - const std::string& cert_name, - grpc_tls_certificate_distributor* identity_cert_distributor) { - auto watcher = std::make_unique( - xds_certificate_provider_->distributor_, cert_name); - identity_cert_watcher_ = watcher.get(); - identity_cert_distributor->WatchTlsCertificates( - std::move(watcher), absl::nullopt, identity_cert_name_); -} - -void XdsCertificateProvider::ClusterCertificateState::WatchStatusCallback( - const std::string& cert_name, bool root_being_watched, - bool identity_being_watched) { // We aren't specially handling the case where root_cert_distributor is same // as identity_cert_distributor. Always using two separate watchers // irrespective of the fact results in a straightforward design, and using a // single watcher does not seem to provide any benefit other than cutting down // on the number of callbacks. - if (root_being_watched && !watching_root_certs_) { - // We need to start watching root certs. - watching_root_certs_ = true; - if (root_cert_distributor_ == nullptr) { - xds_certificate_provider_->distributor_->SetErrorForCert( + if (root_being_watched && root_cert_watcher_ == nullptr) { + // Start watching root cert. + if (root_cert_provider_ == nullptr) { + distributor_->SetErrorForCert( cert_name, GRPC_ERROR_CREATE( "No certificate provider available for root certificates"), absl::nullopt); } else { - UpdateRootCertWatcher(cert_name, root_cert_distributor_.get()); - } - } else if (!root_being_watched && watching_root_certs_) { - // We need to cancel root certs watch. - watching_root_certs_ = false; - if (root_cert_distributor_ != nullptr) { - root_cert_distributor_->CancelTlsCertificatesWatch(root_cert_watcher_); - root_cert_watcher_ = nullptr; + auto watcher = std::make_unique(distributor_); + root_cert_watcher_ = watcher.get(); + root_cert_provider_->distributor()->WatchTlsCertificates( + std::move(watcher), root_cert_name_, absl::nullopt); } - GPR_ASSERT(root_cert_watcher_ == nullptr); - } - if (identity_being_watched && !watching_identity_certs_) { - watching_identity_certs_ = true; - if (identity_cert_distributor_ == nullptr) { - xds_certificate_provider_->distributor_->SetErrorForCert( + } else if (!root_being_watched && root_cert_watcher_ != nullptr) { + // Cancel root cert watch. + GPR_ASSERT(root_cert_provider_ != nullptr); + root_cert_provider_->distributor()->CancelTlsCertificatesWatch( + root_cert_watcher_); + root_cert_watcher_ = nullptr; + } + if (identity_being_watched && identity_cert_watcher_ == nullptr) { + // Start watching identity cert. + if (identity_cert_provider_ == nullptr) { + distributor_->SetErrorForCert( cert_name, absl::nullopt, GRPC_ERROR_CREATE( "No certificate provider available for identity certificates")); } else { - UpdateIdentityCertWatcher(cert_name, identity_cert_distributor_.get()); + auto watcher = + std::make_unique(distributor_); + identity_cert_watcher_ = watcher.get(); + identity_cert_provider_->distributor()->WatchTlsCertificates( + std::move(watcher), absl::nullopt, identity_cert_name_); } - } else if (!identity_being_watched && watching_identity_certs_) { - watching_identity_certs_ = false; - if (identity_cert_distributor_ != nullptr) { - identity_cert_distributor_->CancelTlsCertificatesWatch( - identity_cert_watcher_); - identity_cert_watcher_ = nullptr; - } - GPR_ASSERT(identity_cert_watcher_ == nullptr); - } -} - -// -// XdsCertificateProvider -// - -XdsCertificateProvider::XdsCertificateProvider() - : distributor_(MakeRefCounted()) { - distributor_->SetWatchStatusCallback( - absl::bind_front(&XdsCertificateProvider::WatchStatusCallback, this)); -} - -XdsCertificateProvider::~XdsCertificateProvider() { - distributor_->SetWatchStatusCallback(nullptr); -} - -UniqueTypeName XdsCertificateProvider::type() const { - static UniqueTypeName::Factory kFactory("Xds"); - return kFactory.Create(); -} - -bool XdsCertificateProvider::ProvidesRootCerts(const std::string& cert_name) { - MutexLock lock(&mu_); - auto it = certificate_state_map_.find(cert_name); - if (it == certificate_state_map_.end()) return false; - return it->second->ProvidesRootCerts(); -} - -void XdsCertificateProvider::UpdateRootCertNameAndDistributor( - const std::string& cert_name, absl::string_view root_cert_name, - RefCountedPtr root_cert_distributor) { - MutexLock lock(&mu_); - auto it = certificate_state_map_.find(cert_name); - if (it == certificate_state_map_.end()) { - it = - certificate_state_map_ - .emplace(cert_name, std::make_unique(this)) - .first; - } - it->second->UpdateRootCertNameAndDistributor(cert_name, root_cert_name, - root_cert_distributor); - // Delete unused entries. - if (it->second->IsSafeToRemove()) certificate_state_map_.erase(it); -} - -bool XdsCertificateProvider::ProvidesIdentityCerts( - const std::string& cert_name) { - MutexLock lock(&mu_); - auto it = certificate_state_map_.find(cert_name); - if (it == certificate_state_map_.end()) return false; - return it->second->ProvidesIdentityCerts(); -} - -void XdsCertificateProvider::UpdateIdentityCertNameAndDistributor( - const std::string& cert_name, absl::string_view identity_cert_name, - RefCountedPtr identity_cert_distributor) { - MutexLock lock(&mu_); - auto it = certificate_state_map_.find(cert_name); - if (it == certificate_state_map_.end()) { - it = - certificate_state_map_ - .emplace(cert_name, std::make_unique(this)) - .first; - } - it->second->UpdateIdentityCertNameAndDistributor( - cert_name, identity_cert_name, identity_cert_distributor); - // Delete unused entries. - if (it->second->IsSafeToRemove()) certificate_state_map_.erase(it); -} - -bool XdsCertificateProvider::GetRequireClientCertificate( - const std::string& cert_name) { - MutexLock lock(&mu_); - auto it = certificate_state_map_.find(cert_name); - if (it == certificate_state_map_.end()) return false; - return it->second->require_client_certificate(); -} - -void XdsCertificateProvider::UpdateRequireClientCertificate( - const std::string& cert_name, bool require_client_certificate) { - MutexLock lock(&mu_); - auto it = certificate_state_map_.find(cert_name); - if (it == certificate_state_map_.end()) return; - it->second->set_require_client_certificate(require_client_certificate); -} - -std::vector XdsCertificateProvider::GetSanMatchers( - const std::string& cluster) { - MutexLock lock(&san_matchers_mu_); - auto it = san_matcher_map_.find(cluster); - if (it == san_matcher_map_.end()) return {}; - return it->second; -} - -void XdsCertificateProvider::UpdateSubjectAlternativeNameMatchers( - const std::string& cluster, std::vector matchers) { - MutexLock lock(&san_matchers_mu_); - if (matchers.empty()) { - san_matcher_map_.erase(cluster); - } else { - san_matcher_map_[cluster] = std::move(matchers); - } -} - -void XdsCertificateProvider::WatchStatusCallback(std::string cert_name, - bool root_being_watched, - bool identity_being_watched) { - MutexLock lock(&mu_); - auto it = certificate_state_map_.find(cert_name); - if (it == certificate_state_map_.end()) { - it = - certificate_state_map_ - .emplace(cert_name, std::make_unique(this)) - .first; + } else if (!identity_being_watched && identity_cert_watcher_ != nullptr) { + GPR_ASSERT(identity_cert_provider_ != nullptr); + identity_cert_provider_->distributor()->CancelTlsCertificatesWatch( + identity_cert_watcher_); + identity_cert_watcher_ = nullptr; } - it->second->WatchStatusCallback(cert_name, root_being_watched, - identity_being_watched); - // Delete unused entries. - if (it->second->IsSafeToRemove()) certificate_state_map_.erase(it); -} - -namespace { - -void* XdsCertificateProviderArgCopy(void* p) { - XdsCertificateProvider* xds_certificate_provider = - static_cast(p); - return xds_certificate_provider->Ref().release(); -} - -void XdsCertificateProviderArgDestroy(void* p) { - XdsCertificateProvider* xds_certificate_provider = - static_cast(p); - xds_certificate_provider->Unref(); -} - -int XdsCertificateProviderArgCmp(void* p, void* q) { - return QsortCompare(p, q); -} - -const grpc_arg_pointer_vtable kChannelArgVtable = { - XdsCertificateProviderArgCopy, XdsCertificateProviderArgDestroy, - XdsCertificateProviderArgCmp}; - -} // namespace - -grpc_arg XdsCertificateProvider::MakeChannelArg() const { - return grpc_channel_arg_pointer_create( - const_cast(GRPC_ARG_XDS_CERTIFICATE_PROVIDER), - const_cast(this), &kChannelArgVtable); -} - -RefCountedPtr -XdsCertificateProvider::GetFromChannelArgs(const grpc_channel_args* args) { - XdsCertificateProvider* xds_certificate_provider = - grpc_channel_args_find_pointer( - args, GRPC_ARG_XDS_CERTIFICATE_PROVIDER); - return xds_certificate_provider != nullptr ? xds_certificate_provider->Ref() - : nullptr; } } // namespace grpc_core diff --git a/src/core/ext/xds/xds_certificate_provider.h b/src/core/ext/xds/xds_certificate_provider.h index c17a7fa5cb7..3d6dca2f59b 100644 --- a/src/core/ext/xds/xds_certificate_provider.h +++ b/src/core/ext/xds/xds_certificate_provider.h @@ -40,24 +40,26 @@ #include "src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h" #include "src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h" -#define GRPC_ARG_XDS_CERTIFICATE_PROVIDER \ - "grpc.internal.xds_certificate_provider" - namespace grpc_core { class XdsCertificateProvider : public grpc_tls_certificate_provider { public: - XdsCertificateProvider(); - ~XdsCertificateProvider() override; - - static absl::string_view ChannelArgName() { - return GRPC_ARG_XDS_CERTIFICATE_PROVIDER; - } + // ctor for client side + XdsCertificateProvider( + RefCountedPtr root_cert_provider, + absl::string_view root_cert_name, + RefCountedPtr identity_cert_provider, + absl::string_view identity_cert_name, + std::vector san_matchers); + + // ctor for server side + XdsCertificateProvider( + RefCountedPtr root_cert_provider, + absl::string_view root_cert_name, + RefCountedPtr identity_cert_provider, + absl::string_view identity_cert_name, bool require_client_certificate); - static int ChannelArgsCompare(const XdsCertificateProvider* a, - const XdsCertificateProvider* b) { - return QsortCompare(a, b); - } + ~XdsCertificateProvider() override; RefCountedPtr distributor() const override { return distributor_; @@ -65,91 +67,27 @@ class XdsCertificateProvider : public grpc_tls_certificate_provider { UniqueTypeName type() const override; - bool ProvidesRootCerts(const std::string& cert_name); - void UpdateRootCertNameAndDistributor( - const std::string& cert_name, absl::string_view root_cert_name, - RefCountedPtr root_cert_distributor); - - bool ProvidesIdentityCerts(const std::string& cert_name); - void UpdateIdentityCertNameAndDistributor( - const std::string& cert_name, absl::string_view identity_cert_name, - RefCountedPtr - identity_cert_distributor); - - bool GetRequireClientCertificate(const std::string& cert_name); - // Updating \a require_client_certificate for a non-existing \a cert_name has - // no effect. - void UpdateRequireClientCertificate(const std::string& cert_name, - bool require_client_certificate); - - std::vector GetSanMatchers(const std::string& cluster); - void UpdateSubjectAlternativeNameMatchers( - const std::string& cluster, std::vector matchers); - - grpc_arg MakeChannelArg() const; + bool ProvidesRootCerts() const { return root_cert_provider_ != nullptr; } + bool ProvidesIdentityCerts() const { + return identity_cert_provider_ != nullptr; + } + bool require_client_certificate() const { + return require_client_certificate_; + } + const std::vector& san_matchers() const { + return san_matchers_; + } - static RefCountedPtr GetFromChannelArgs( - const grpc_channel_args* args); + static absl::string_view ChannelArgName() { + return "grpc.internal.xds_certificate_provider"; + } + static int ChannelArgsCompare(const XdsCertificateProvider* a, + const XdsCertificateProvider* b) { + if (a == nullptr || b == nullptr) return QsortCompare(a, b); + return a->Compare(b); + } private: - class ClusterCertificateState { - public: - explicit ClusterCertificateState( - XdsCertificateProvider* xds_certificate_provider) - : xds_certificate_provider_(xds_certificate_provider) {} - - ~ClusterCertificateState(); - - // Returns true if the certs aren't being watched and there are no - // distributors configured. - bool IsSafeToRemove() const; - - bool ProvidesRootCerts() const { return root_cert_distributor_ != nullptr; } - bool ProvidesIdentityCerts() const { - return identity_cert_distributor_ != nullptr; - } - - void UpdateRootCertNameAndDistributor( - const std::string& cert_name, absl::string_view root_cert_name, - RefCountedPtr root_cert_distributor); - void UpdateIdentityCertNameAndDistributor( - const std::string& cert_name, absl::string_view identity_cert_name, - RefCountedPtr - identity_cert_distributor); - - void UpdateRootCertWatcher( - const std::string& cert_name, - grpc_tls_certificate_distributor* root_cert_distributor); - void UpdateIdentityCertWatcher( - const std::string& cert_name, - grpc_tls_certificate_distributor* identity_cert_distributor); - - bool require_client_certificate() const { - return require_client_certificate_; - } - void set_require_client_certificate(bool require_client_certificate) { - require_client_certificate_ = require_client_certificate; - } - - void WatchStatusCallback(const std::string& cert_name, - bool root_being_watched, - bool identity_being_watched); - - private: - XdsCertificateProvider* xds_certificate_provider_; - bool watching_root_certs_ = false; - bool watching_identity_certs_ = false; - std::string root_cert_name_; - std::string identity_cert_name_; - RefCountedPtr root_cert_distributor_; - RefCountedPtr identity_cert_distributor_; - grpc_tls_certificate_distributor::TlsCertificatesWatcherInterface* - root_cert_watcher_ = nullptr; - grpc_tls_certificate_distributor::TlsCertificatesWatcherInterface* - identity_cert_watcher_ = nullptr; - bool require_client_certificate_ = false; - }; - int CompareImpl(const grpc_tls_certificate_provider* other) const override { // TODO(yashykt): Maybe do something better here. return QsortCompare(static_cast(this), @@ -160,22 +98,17 @@ class XdsCertificateProvider : public grpc_tls_certificate_provider { bool identity_being_watched); RefCountedPtr distributor_; - - Mutex mu_; - std::map> - certificate_state_map_ ABSL_GUARDED_BY(mu_); - - // Use a separate mutex for san_matchers_ to avoid deadlocks since - // san_matchers_ needs to be accessed when a handshake is being done and we - // run into a possible deadlock scenario if using the same mutex. The mutex - // deadlock cycle is formed as - - // WatchStatusCallback() -> SetKeyMaterials() -> - // TlsChannelSecurityConnector::TlsChannelCertificateWatcher::OnCertificatesChanged() - // -> HandshakeManager::Add() -> SecurityHandshaker::DoHandshake() -> - // subject_alternative_names_matchers() - Mutex san_matchers_mu_; - std::map> - san_matcher_map_ ABSL_GUARDED_BY(san_matchers_mu_); + RefCountedPtr root_cert_provider_; + std::string root_cert_name_; + RefCountedPtr identity_cert_provider_; + std::string identity_cert_name_; + std::vector san_matchers_; + bool require_client_certificate_ = false; + + grpc_tls_certificate_distributor::TlsCertificatesWatcherInterface* + root_cert_watcher_ = nullptr; + grpc_tls_certificate_distributor::TlsCertificatesWatcherInterface* + identity_cert_watcher_ = nullptr; }; } // namespace grpc_core diff --git a/src/core/ext/xds/xds_channel_stack_modifier.cc b/src/core/ext/xds/xds_channel_stack_modifier.cc index ff4acbdfb4e..15f0c5210fb 100644 --- a/src/core/ext/xds/xds_channel_stack_modifier.cc +++ b/src/core/ext/xds/xds_channel_stack_modifier.cc @@ -20,15 +20,15 @@ #include "src/core/ext/xds/xds_channel_stack_modifier.h" -#include -#include - #include +#include +#include #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_stack.h" #include "src/core/lib/config/core_configuration.h" #include "src/core/lib/gpr/useful.h" +#include "src/core/lib/surface/channel_init.h" #include "src/core/lib/surface/channel_stack_type.h" namespace grpc_core { @@ -57,31 +57,19 @@ const char* kXdsChannelStackModifierChannelArgName = } // namespace -bool XdsChannelStackModifier::ModifyChannelStack(ChannelStackBuilder* builder) { - // Insert the filters after the census filter if present. - auto it = builder->mutable_stack()->begin(); - while (it != builder->mutable_stack()->end()) { - const char* filter_name_at_it = (*it)->name; - if (strcmp("census_server", filter_name_at_it) == 0) { - break; +void XdsChannelStackModifier::ModifyChannelStack(ChannelStackBuilder& builder) { + // Insert the filters after predicate filters if present. + auto insert_before = builder.mutable_stack()->end(); + for (auto it = builder.mutable_stack()->begin(); + it != builder.mutable_stack()->end(); ++it) { + for (absl::string_view predicate_name : {"server", "census_server"}) { + if (predicate_name == (*it)->name) insert_before = it + 1; } - ++it; - } - if (it == builder->mutable_stack()->end()) { - // No census filter found. Reset iterator to the beginning. This will result - // in prepending the list of xDS HTTP filters to the current stack. Note - // that this stage is run before the stage that adds the top server filter, - // resulting in these filters being finally placed after the `server` - // filter. - it = builder->mutable_stack()->begin(); - } else { - ++it; } for (const grpc_channel_filter* filter : filters_) { - it = builder->mutable_stack()->insert(it, filter); - ++it; + insert_before = builder.mutable_stack()->insert(insert_before, filter); + ++insert_before; } - return true; } grpc_arg XdsChannelStackModifier::MakeChannelArg() const { @@ -104,14 +92,15 @@ XdsChannelStackModifier::GetFromChannelArgs(const grpc_channel_args& args) { } void RegisterXdsChannelStackModifier(CoreConfiguration::Builder* builder) { - builder->channel_init()->RegisterStage( - GRPC_SERVER_CHANNEL, INT_MAX, [](ChannelStackBuilder* builder) { + builder->channel_init()->RegisterPostProcessor( + GRPC_SERVER_CHANNEL, + ChannelInit::PostProcessorSlot::kXdsChannelStackModifier, + [](ChannelStackBuilder& builder) { auto channel_stack_modifier = - builder->channel_args().GetObjectRef(); + builder.channel_args().GetObjectRef(); if (channel_stack_modifier != nullptr) { return channel_stack_modifier->ModifyChannelStack(builder); } - return true; }); } diff --git a/src/core/ext/xds/xds_channel_stack_modifier.h b/src/core/ext/xds/xds_channel_stack_modifier.h index 2a27724f79c..2c0df207cd8 100644 --- a/src/core/ext/xds/xds_channel_stack_modifier.h +++ b/src/core/ext/xds/xds_channel_stack_modifier.h @@ -37,16 +37,14 @@ namespace grpc_core { // XdsChannelStackModifier allows for inserting xDS HTTP filters into the -// channel stack. It is registered to mutate the -// `ChannelStackBuilder` object via -// ChannelInit::Builder::RegisterStage. +// channel stack. It is registered to mutate the `ChannelStackBuilder` object +// via ChannelInit::Builder::RegisterPostProcessor. class XdsChannelStackModifier : public RefCounted { public: explicit XdsChannelStackModifier( std::vector filters) : filters_(std::move(filters)) {} - // Returns true on success, false otherwise. - bool ModifyChannelStack(ChannelStackBuilder* builder); + void ModifyChannelStack(ChannelStackBuilder& builder); grpc_arg MakeChannelArg() const; static RefCountedPtr GetFromChannelArgs( const grpc_channel_args& args); diff --git a/src/core/ext/xds/xds_client.cc b/src/core/ext/xds/xds_client.cc index a77707a89f3..08493a414ac 100644 --- a/src/core/ext/xds/xds_client.cc +++ b/src/core/ext/xds/xds_client.cc @@ -22,8 +22,11 @@ #include #include +#include +#include #include +#include "absl/cleanup/cleanup.h" #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" @@ -31,11 +34,17 @@ #include "absl/strings/string_view.h" #include "absl/strings/strip.h" #include "absl/types/optional.h" +#include "envoy/config/core/v3/base.upb.h" +#include "envoy/service/status/v3/csds.upb.h" +#include "google/protobuf/any.upb.h" +#include "google/protobuf/timestamp.upb.h" +#include "upb/base/string_view.h" #include "upb/mem/arena.h" #include #include +#include "src/core/ext/xds/upb_utils.h" #include "src/core/ext/xds/xds_api.h" #include "src/core/ext/xds/xds_bootstrap.h" #include "src/core/ext/xds/xds_client_stats.h" @@ -67,10 +76,10 @@ TraceFlag grpc_xds_client_refcount_trace(false, "xds_client_refcount"); // An xds call wrapper that can restart a call upon failure. Holds a ref to // the xds channel. The template parameter is the kind of wrapped xds call. template -class XdsClient::ChannelState::RetryableCall +class XdsClient::XdsChannel::RetryableCall : public InternallyRefCounted> { public: - explicit RetryableCall(WeakRefCountedPtr chand); + explicit RetryableCall(WeakRefCountedPtr xds_channel); // Disable thread-safety analysis because this method is called via // OrphanablePtr<>, but there's no way to pass the lock annotation @@ -79,8 +88,8 @@ class XdsClient::ChannelState::RetryableCall void OnCallFinishedLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_); - T* calld() const { return calld_.get(); } - ChannelState* chand() const { return chand_.get(); } + T* call() const { return call_.get(); } + XdsChannel* xds_channel() const { return xds_channel_.get(); } bool IsCurrentCallOnChannel() const; @@ -92,9 +101,9 @@ class XdsClient::ChannelState::RetryableCall // The wrapped xds call that talks to the xds server. It's instantiated // every time we start a new call. It's null during call retry backoff. - OrphanablePtr calld_; + OrphanablePtr call_; // The owning xds channel. - WeakRefCountedPtr chand_; + WeakRefCountedPtr xds_channel_; // Retry state. BackOff backoff_; @@ -105,17 +114,18 @@ class XdsClient::ChannelState::RetryableCall }; // Contains an ADS call to the xds server. -class XdsClient::ChannelState::AdsCallState - : public InternallyRefCounted { +class XdsClient::XdsChannel::AdsCall : public InternallyRefCounted { public: // The ctor and dtor should not be used directly. - explicit AdsCallState(RefCountedPtr> parent); + explicit AdsCall(RefCountedPtr> retryable_call); void Orphan() override; - RetryableCall* parent() const { return parent_.get(); } - ChannelState* chand() const { return parent_->chand(); } - XdsClient* xds_client() const { return chand()->xds_client(); } + RetryableCall* retryable_call() const { + return retryable_call_.get(); + } + XdsChannel* xds_channel() const { return retryable_call_->xds_channel(); } + XdsClient* xds_client() const { return xds_channel()->xds_client(); } bool seen_response() const { return seen_response_; } void SubscribeLocked(const XdsResourceType* type, const XdsResourceName& name, @@ -128,6 +138,8 @@ class XdsClient::ChannelState::AdsCallState bool HasSubscribedResources() const; private: + class AdsReadDelayHandle; + class AdsResponseParser : public XdsApi::AdsResponseParserInterface { public: struct Result { @@ -139,10 +151,10 @@ class XdsClient::ChannelState::AdsCallState std::map> resources_seen; bool have_valid_resources = false; + RefCountedPtr read_delay_handle; }; - explicit AdsResponseParser(AdsCallState* ads_call_state) - : ads_call_state_(ads_call_state) {} + explicit AdsResponseParser(AdsCall* ads_call) : ads_call_(ads_call) {} absl::Status ProcessAdsResponseFields(AdsResponseFields fields) override ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_); @@ -158,9 +170,9 @@ class XdsClient::ChannelState::AdsCallState Result TakeResult() { return std::move(result_); } private: - XdsClient* xds_client() const { return ads_call_state_->xds_client(); } + XdsClient* xds_client() const { return ads_call_->xds_client(); } - AdsCallState* ads_call_state_; + AdsCall* ads_call_; const Timestamp update_time_ = Timestamp::Now(); Result result_; }; @@ -183,10 +195,9 @@ class XdsClient::ChannelState::AdsCallState subscription_sent_ = true; } - void MaybeMarkSubscriptionSendComplete( - RefCountedPtr ads_calld) + void MaybeMarkSubscriptionSendComplete(RefCountedPtr ads_call) ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_) { - if (subscription_sent_) MaybeStartTimer(std::move(ads_calld)); + if (subscription_sent_) MaybeStartTimer(std::move(ads_call)); } void MarkSeen() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_) { @@ -196,13 +207,13 @@ class XdsClient::ChannelState::AdsCallState void MaybeCancelTimer() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_) { if (timer_handle_.has_value() && - ads_calld_->xds_client()->engine()->Cancel(*timer_handle_)) { + ads_call_->xds_client()->engine()->Cancel(*timer_handle_)) { timer_handle_.reset(); } } private: - void MaybeStartTimer(RefCountedPtr ads_calld) + void MaybeStartTimer(RefCountedPtr ads_call) ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_) { // Don't start timer if we've already either seen the resource or // marked it as non-existing. @@ -223,13 +234,13 @@ class XdsClient::ChannelState::AdsCallState // (a) we already have the resource and (b) the server may // optimize by not resending the resource that we already have. auto& authority_state = - ads_calld->xds_client()->authority_state_map_[name_.authority]; + ads_call->xds_client()->authority_state_map_[name_.authority]; ResourceState& state = authority_state.resource_map[type_][name_.key]; if (state.resource != nullptr) return; // Start timer. - ads_calld_ = std::move(ads_calld); - timer_handle_ = ads_calld_->xds_client()->engine()->RunAfter( - ads_calld_->xds_client()->request_timeout_, + ads_call_ = std::move(ads_call); + timer_handle_ = ads_call_->xds_client()->engine()->RunAfter( + ads_call_->xds_client()->request_timeout_, [self = Ref(DEBUG_LOCATION, "timer")]() { ApplicationCallbackExecCtx callback_exec_ctx; ExecCtx exec_ctx; @@ -242,32 +253,32 @@ class XdsClient::ChannelState::AdsCallState gpr_log(GPR_INFO, "[xds_client %p] xds server %s: timeout obtaining resource " "{type=%s name=%s} from xds server", - ads_calld_->xds_client(), - ads_calld_->chand()->server_.server_uri().c_str(), + ads_call_->xds_client(), + ads_call_->xds_channel()->server_.server_uri().c_str(), std::string(type_->type_url()).c_str(), XdsClient::ConstructFullXdsResourceName( name_.authority, type_->type_url(), name_.key) .c_str()); } { - MutexLock lock(&ads_calld_->xds_client()->mu_); + MutexLock lock(&ads_call_->xds_client()->mu_); timer_handle_.reset(); resource_seen_ = true; auto& authority_state = - ads_calld_->xds_client()->authority_state_map_[name_.authority]; + ads_call_->xds_client()->authority_state_map_[name_.authority]; ResourceState& state = authority_state.resource_map[type_][name_.key]; state.meta.client_status = XdsApi::ResourceMetadata::DOES_NOT_EXIST; - ads_calld_->xds_client()->NotifyWatchersOnResourceDoesNotExist( - state.watchers); + ads_call_->xds_client()->NotifyWatchersOnResourceDoesNotExist( + state.watchers, ReadDelayHandle::NoWait()); } - ads_calld_->xds_client()->work_serializer_.DrainQueue(); - ads_calld_.reset(); + ads_call_->xds_client()->work_serializer_.DrainQueue(); + ads_call_.reset(); } const XdsResourceType* type_; const XdsResourceName name_; - RefCountedPtr ads_calld_; + RefCountedPtr ads_call_; // True if we have sent the initial subscription request for this // resource on this ADS stream. bool subscription_sent_ ABSL_GUARDED_BY(&XdsClient::mu_) = false; @@ -282,19 +293,19 @@ class XdsClient::ChannelState::AdsCallState class StreamEventHandler : public XdsTransportFactory::XdsTransport::StreamingCall::EventHandler { public: - explicit StreamEventHandler(RefCountedPtr ads_calld) - : ads_calld_(std::move(ads_calld)) {} + explicit StreamEventHandler(RefCountedPtr ads_call) + : ads_call_(std::move(ads_call)) {} - void OnRequestSent(bool ok) override { ads_calld_->OnRequestSent(ok); } + void OnRequestSent(bool ok) override { ads_call_->OnRequestSent(ok); } void OnRecvMessage(absl::string_view payload) override { - ads_calld_->OnRecvMessage(payload); + ads_call_->OnRecvMessage(payload); } void OnStatusReceived(absl::Status status) override { - ads_calld_->OnStatusReceived(std::move(status)); + ads_call_->OnStatusReceived(std::move(status)); } private: - RefCountedPtr ads_calld_; + RefCountedPtr ads_call_; }; struct ResourceTypeState { @@ -323,9 +334,10 @@ class XdsClient::ChannelState::AdsCallState ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_); // The owning RetryableCall<>. - RefCountedPtr> parent_; + RefCountedPtr> retryable_call_; - OrphanablePtr call_; + OrphanablePtr + streaming_call_; bool sent_initial_message_ = false; bool seen_response_ = false; @@ -341,87 +353,86 @@ class XdsClient::ChannelState::AdsCallState }; // Contains an LRS call to the xds server. -class XdsClient::ChannelState::LrsCallState - : public InternallyRefCounted { +class XdsClient::XdsChannel::LrsCall : public InternallyRefCounted { public: // The ctor and dtor should not be used directly. - explicit LrsCallState(RefCountedPtr> parent); + explicit LrsCall(RefCountedPtr> retryable_call); void Orphan() override; - void MaybeStartReportingLocked() - ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_); - - RetryableCall* parent() { return parent_.get(); } - ChannelState* chand() const { return parent_->chand(); } - XdsClient* xds_client() const { return chand()->xds_client(); } + RetryableCall* retryable_call() { return retryable_call_.get(); } + XdsChannel* xds_channel() const { return retryable_call_->xds_channel(); } + XdsClient* xds_client() const { return xds_channel()->xds_client(); } bool seen_response() const { return seen_response_; } private: class StreamEventHandler : public XdsTransportFactory::XdsTransport::StreamingCall::EventHandler { public: - explicit StreamEventHandler(RefCountedPtr lrs_calld) - : lrs_calld_(std::move(lrs_calld)) {} + explicit StreamEventHandler(RefCountedPtr lrs_call) + : lrs_call_(std::move(lrs_call)) {} - void OnRequestSent(bool ok) override { lrs_calld_->OnRequestSent(ok); } + void OnRequestSent(bool /*ok*/) override { lrs_call_->OnRequestSent(); } void OnRecvMessage(absl::string_view payload) override { - lrs_calld_->OnRecvMessage(payload); + lrs_call_->OnRecvMessage(payload); } void OnStatusReceived(absl::Status status) override { - lrs_calld_->OnStatusReceived(std::move(status)); + lrs_call_->OnStatusReceived(std::move(status)); } private: - RefCountedPtr lrs_calld_; + RefCountedPtr lrs_call_; }; - // Reports client-side load stats according to a fixed interval. - class Reporter : public InternallyRefCounted { + // A repeating timer for a particular duration. + class Timer : public InternallyRefCounted { public: - Reporter(RefCountedPtr parent, Duration report_interval) - : parent_(std::move(parent)), report_interval_(report_interval) { - ScheduleNextReportLocked(); - } + explicit Timer(RefCountedPtr lrs_call) + : lrs_call_(std::move(lrs_call)) {} + ~Timer() override { lrs_call_.reset(DEBUG_LOCATION, "LRS timer"); } // Disable thread-safety analysis because this method is called via // OrphanablePtr<>, but there's no way to pass the lock annotation // through there. void Orphan() override ABSL_NO_THREAD_SAFETY_ANALYSIS; - void OnReportDoneLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_); - - private: void ScheduleNextReportLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_); - bool OnNextReportTimer(); - bool SendReportLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_); - bool IsCurrentReporterOnCall() const { - return this == parent_->reporter_.get(); + private: + bool IsCurrentTimerOnCall() const { + return this == lrs_call_->timer_.get(); } - XdsClient* xds_client() const { return parent_->xds_client(); } + XdsClient* xds_client() const { return lrs_call_->xds_client(); } + + void OnNextReportTimer(); // The owning LRS call. - RefCountedPtr parent_; + RefCountedPtr lrs_call_; - // The load reporting state. - const Duration report_interval_; - bool last_report_counters_were_zero_ = false; absl::optional timer_handle_ ABSL_GUARDED_BY(&XdsClient::mu_); }; - void OnRequestSent(bool ok); + void MaybeScheduleNextReportLocked() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_); + + void SendReportLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_); + + void SendMessageLocked(std::string payload) + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_); + + void OnRequestSent(); void OnRecvMessage(absl::string_view payload); void OnStatusReceived(absl::Status status); bool IsCurrentCallOnChannel() const; // The owning RetryableCall<>. - RefCountedPtr> parent_; + RefCountedPtr> retryable_call_; - OrphanablePtr call_; + OrphanablePtr + streaming_call_; bool seen_response_ = false; bool send_message_pending_ ABSL_GUARDED_BY(&XdsClient::mu_) = false; @@ -430,19 +441,19 @@ class XdsClient::ChannelState::LrsCallState bool send_all_clusters_ = false; std::set cluster_names_; // Asked for by the LRS server. Duration load_reporting_interval_; - OrphanablePtr reporter_; + bool last_report_counters_were_zero_ = false; + OrphanablePtr timer_; }; // -// XdsClient::ChannelState +// XdsClient::XdsChannel // -XdsClient::ChannelState::ChannelState(WeakRefCountedPtr xds_client, - const XdsBootstrap::XdsServer& server) - : DualRefCounted( - GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_refcount_trace) - ? "ChannelState" - : nullptr), +XdsClient::XdsChannel::XdsChannel(WeakRefCountedPtr xds_client, + const XdsBootstrap::XdsServer& server) + : DualRefCounted( + GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_refcount_trace) ? "XdsChannel" + : nullptr), xds_client_(std::move(xds_client)), server_(server) { if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { @@ -461,19 +472,19 @@ XdsClient::ChannelState::ChannelState(WeakRefCountedPtr xds_client, if (!status.ok()) SetChannelStatusLocked(std::move(status)); } -XdsClient::ChannelState::~ChannelState() { +XdsClient::XdsChannel::~XdsChannel() { if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log(GPR_INFO, "[xds_client %p] destroying xds channel %p for server %s", xds_client(), this, server_.server_uri().c_str()); } - xds_client_.reset(DEBUG_LOCATION, "ChannelState"); + xds_client_.reset(DEBUG_LOCATION, "XdsChannel"); } // This method should only ever be called when holding the lock, but we can't // use a ABSL_EXCLUSIVE_LOCKS_REQUIRED annotation, because Orphan() will be // called from DualRefCounted::Unref, which cannot have a lock annotation for // a lock in this subclass. -void XdsClient::ChannelState::Orphan() ABSL_NO_THREAD_SAFETY_ANALYSIS { +void XdsClient::XdsChannel::Orphan() ABSL_NO_THREAD_SAFETY_ANALYSIS { if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log(GPR_INFO, "[xds_client %p] orphaning xds channel %p for server %s", xds_client(), this, server_.server_uri().c_str()); @@ -481,69 +492,67 @@ void XdsClient::ChannelState::Orphan() ABSL_NO_THREAD_SAFETY_ANALYSIS { shutting_down_ = true; transport_.reset(); // At this time, all strong refs are removed, remove from channel map to - // prevent subsequent subscription from trying to use this ChannelState as + // prevent subsequent subscription from trying to use this XdsChannel as // it is shutting down. - xds_client_->xds_server_channel_map_.erase(&server_); - ads_calld_.reset(); - lrs_calld_.reset(); + xds_client_->xds_channel_map_.erase(server_.Key()); + ads_call_.reset(); + lrs_call_.reset(); } -void XdsClient::ChannelState::ResetBackoff() { transport_->ResetBackoff(); } +void XdsClient::XdsChannel::ResetBackoff() { transport_->ResetBackoff(); } -XdsClient::ChannelState::AdsCallState* XdsClient::ChannelState::ads_calld() - const { - return ads_calld_->calld(); +XdsClient::XdsChannel::AdsCall* XdsClient::XdsChannel::ads_call() const { + return ads_call_->call(); } -XdsClient::ChannelState::LrsCallState* XdsClient::ChannelState::lrs_calld() - const { - return lrs_calld_->calld(); +XdsClient::XdsChannel::LrsCall* XdsClient::XdsChannel::lrs_call() const { + return lrs_call_->call(); } -void XdsClient::ChannelState::MaybeStartLrsCall() { - if (lrs_calld_ != nullptr) return; - lrs_calld_.reset(new RetryableCall( - WeakRef(DEBUG_LOCATION, "ChannelState+lrs"))); +void XdsClient::XdsChannel::MaybeStartLrsCall() { + if (lrs_call_ != nullptr) return; + lrs_call_.reset( + new RetryableCall(WeakRef(DEBUG_LOCATION, "XdsChannel+lrs"))); } -void XdsClient::ChannelState::StopLrsCallLocked() { - xds_client_->xds_load_report_server_map_.erase(&server_); - lrs_calld_.reset(); +void XdsClient::XdsChannel::StopLrsCallLocked() { + xds_client_->xds_load_report_server_map_.erase(server_.Key()); + lrs_call_.reset(); } -void XdsClient::ChannelState::SubscribeLocked(const XdsResourceType* type, - const XdsResourceName& name) { - if (ads_calld_ == nullptr) { +void XdsClient::XdsChannel::SubscribeLocked(const XdsResourceType* type, + const XdsResourceName& name) { + if (ads_call_ == nullptr) { // Start the ADS call if this is the first request. - ads_calld_.reset(new RetryableCall( - WeakRef(DEBUG_LOCATION, "ChannelState+ads"))); - // Note: AdsCallState's ctor will automatically subscribe to all + ads_call_.reset( + new RetryableCall(WeakRef(DEBUG_LOCATION, "XdsChannel+ads"))); + // Note: AdsCall's ctor will automatically subscribe to all // resources that the XdsClient already has watchers for, so we can // return here. return; } // If the ADS call is in backoff state, we don't need to do anything now // because when the call is restarted it will resend all necessary requests. - if (ads_calld() == nullptr) return; + if (ads_call() == nullptr) return; // Subscribe to this resource if the ADS call is active. - ads_calld()->SubscribeLocked(type, name, /*delay_send=*/false); -} - -void XdsClient::ChannelState::UnsubscribeLocked(const XdsResourceType* type, - const XdsResourceName& name, - bool delay_unsubscription) { - if (ads_calld_ != nullptr) { - auto* calld = ads_calld_->calld(); - if (calld != nullptr) { - calld->UnsubscribeLocked(type, name, delay_unsubscription); - if (!calld->HasSubscribedResources()) { - ads_calld_.reset(); + ads_call()->SubscribeLocked(type, name, /*delay_send=*/false); +} + +void XdsClient::XdsChannel::UnsubscribeLocked(const XdsResourceType* type, + const XdsResourceName& name, + bool delay_unsubscription) { + if (ads_call_ != nullptr) { + auto* call = ads_call_->call(); + if (call != nullptr) { + call->UnsubscribeLocked(type, name, delay_unsubscription); + if (!call->HasSubscribedResources()) { + ads_call_.reset(); } } } } -void XdsClient::ChannelState::OnConnectivityFailure(absl::Status status) { +void XdsClient::XdsChannel::OnConnectivityFailure(absl::Status status) { { MutexLock lock(&xds_client_->mu_); SetChannelStatusLocked(std::move(status)); @@ -551,7 +560,7 @@ void XdsClient::ChannelState::OnConnectivityFailure(absl::Status status) { xds_client_->work_serializer_.DrainQueue(); } -void XdsClient::ChannelState::SetChannelStatusLocked(absl::Status status) { +void XdsClient::XdsChannel::SetChannelStatusLocked(absl::Status status) { if (shutting_down_) return; status = absl::Status(status.code(), absl::StrCat("xDS channel for server ", server_.server_uri(), ": ", @@ -573,7 +582,7 @@ void XdsClient::ChannelState::SetChannelStatusLocked(absl::Status status) { // Find all watchers for this channel. std::set> watchers; for (const auto& a : xds_client_->authority_state_map_) { // authority - if (a.second.channel_state != this) continue; + if (a.second.xds_channel != this) continue; for (const auto& t : a.second.resource_map) { // type for (const auto& r : t.second) { // resource id for (const auto& w : r.second.watchers) { // watchers @@ -587,20 +596,20 @@ void XdsClient::ChannelState::SetChannelStatusLocked(absl::Status status) { [watchers = std::move(watchers), status = std::move(status)]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(xds_client_->work_serializer_) { for (const auto& watcher : watchers) { - watcher->OnError(status); + watcher->OnError(status, ReadDelayHandle::NoWait()); } }, DEBUG_LOCATION); } // -// XdsClient::ChannelState::RetryableCall<> +// XdsClient::XdsChannel::RetryableCall<> // template -XdsClient::ChannelState::RetryableCall::RetryableCall( - WeakRefCountedPtr chand) - : chand_(std::move(chand)), +XdsClient::XdsChannel::RetryableCall::RetryableCall( + WeakRefCountedPtr xds_channel) + : xds_channel_(std::move(xds_channel)), backoff_(BackOff::Options() .set_initial_backoff(Duration::Seconds( GRPC_XDS_INITIAL_CONNECT_BACKOFF_SECONDS)) @@ -612,42 +621,43 @@ XdsClient::ChannelState::RetryableCall::RetryableCall( } template -void XdsClient::ChannelState::RetryableCall::Orphan() { +void XdsClient::XdsChannel::RetryableCall::Orphan() { shutting_down_ = true; - calld_.reset(); + call_.reset(); if (timer_handle_.has_value()) { - chand()->xds_client()->engine()->Cancel(*timer_handle_); + xds_channel()->xds_client()->engine()->Cancel(*timer_handle_); timer_handle_.reset(); } this->Unref(DEBUG_LOCATION, "RetryableCall+orphaned"); } template -void XdsClient::ChannelState::RetryableCall::OnCallFinishedLocked() { +void XdsClient::XdsChannel::RetryableCall::OnCallFinishedLocked() { // If we saw a response on the current stream, reset backoff. - if (calld_->seen_response()) backoff_.Reset(); - calld_.reset(); + if (call_->seen_response()) backoff_.Reset(); + call_.reset(); // Start retry timer. StartRetryTimerLocked(); } template -void XdsClient::ChannelState::RetryableCall::StartNewCallLocked() { +void XdsClient::XdsChannel::RetryableCall::StartNewCallLocked() { if (shutting_down_) return; - GPR_ASSERT(chand_->transport_ != nullptr); - GPR_ASSERT(calld_ == nullptr); + GPR_ASSERT(xds_channel_->transport_ != nullptr); + GPR_ASSERT(call_ == nullptr); if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log(GPR_INFO, "[xds_client %p] xds server %s: start new call from retryable " "call %p", - chand()->xds_client(), chand()->server_.server_uri().c_str(), this); + xds_channel()->xds_client(), + xds_channel()->server_.server_uri().c_str(), this); } - calld_ = MakeOrphanable( + call_ = MakeOrphanable( this->Ref(DEBUG_LOCATION, "RetryableCall+start_new_call")); } template -void XdsClient::ChannelState::RetryableCall::StartRetryTimerLocked() { +void XdsClient::XdsChannel::RetryableCall::StartRetryTimerLocked() { if (shutting_down_) return; const Timestamp next_attempt_time = backoff_.NextAttemptTime(); const Duration timeout = @@ -656,10 +666,10 @@ void XdsClient::ChannelState::RetryableCall::StartRetryTimerLocked() { gpr_log(GPR_INFO, "[xds_client %p] xds server %s: call attempt failed; " "retry timer will fire in %" PRId64 "ms.", - chand()->xds_client(), chand()->server_.server_uri().c_str(), - timeout.millis()); + xds_channel()->xds_client(), + xds_channel()->server_.server_uri().c_str(), timeout.millis()); } - timer_handle_ = chand()->xds_client()->engine()->RunAfter( + timer_handle_ = xds_channel()->xds_client()->engine()->RunAfter( timeout, [self = this->Ref(DEBUG_LOCATION, "RetryableCall+retry_timer_start")]() { ApplicationCallbackExecCtx callback_exec_ctx; @@ -669,8 +679,8 @@ void XdsClient::ChannelState::RetryableCall::StartRetryTimerLocked() { } template -void XdsClient::ChannelState::RetryableCall::OnRetryTimer() { - MutexLock lock(&chand_->xds_client()->mu_); +void XdsClient::XdsChannel::RetryableCall::OnRetryTimer() { + MutexLock lock(&xds_channel_->xds_client()->mu_); if (timer_handle_.has_value()) { timer_handle_.reset(); if (shutting_down_) return; @@ -678,31 +688,52 @@ void XdsClient::ChannelState::RetryableCall::OnRetryTimer() { gpr_log(GPR_INFO, "[xds_client %p] xds server %s: retry timer fired (retryable " "call: %p)", - chand()->xds_client(), chand()->server_.server_uri().c_str(), - this); + xds_channel()->xds_client(), + xds_channel()->server_.server_uri().c_str(), this); } StartNewCallLocked(); } } // -// XdsClient::ChannelState::AdsCallState::AdsResponseParser +// XdsClient::XdsChannel::AdsCall::AdsReadDelayHandle // -absl::Status XdsClient::ChannelState::AdsCallState::AdsResponseParser:: - ProcessAdsResponseFields(AdsResponseFields fields) { +class XdsClient::XdsChannel::AdsCall::AdsReadDelayHandle + : public XdsClient::ReadDelayHandle { + public: + explicit AdsReadDelayHandle(RefCountedPtr ads_call) + : ads_call_(std::move(ads_call)) {} + + ~AdsReadDelayHandle() override { + MutexLock lock(&ads_call_->xds_client()->mu_); + auto call = ads_call_->streaming_call_.get(); + if (call != nullptr) call->StartRecvMessage(); + } + + private: + RefCountedPtr ads_call_; +}; + +// +// XdsClient::XdsChannel::AdsCall::AdsResponseParser +// + +absl::Status +XdsClient::XdsChannel::AdsCall::AdsResponseParser::ProcessAdsResponseFields( + AdsResponseFields fields) { if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log( GPR_INFO, "[xds_client %p] xds server %s: received ADS response: type_url=%s, " "version=%s, nonce=%s, num_resources=%" PRIuPTR, - ads_call_state_->xds_client(), - ads_call_state_->chand()->server_.server_uri().c_str(), + ads_call_->xds_client(), + ads_call_->xds_channel()->server_.server_uri().c_str(), fields.type_url.c_str(), fields.version.c_str(), fields.nonce.c_str(), fields.num_resources); } result_.type = - ads_call_state_->xds_client()->GetResourceTypeLocked(fields.type_url); + ads_call_->xds_client()->GetResourceTypeLocked(fields.type_url); if (result_.type == nullptr) { return absl::InvalidArgumentError( absl::StrCat("unknown resource type ", fields.type_url)); @@ -710,6 +741,8 @@ absl::Status XdsClient::ChannelState::AdsCallState::AdsResponseParser:: result_.type_url = std::move(fields.type_url); result_.version = std::move(fields.version); result_.nonce = std::move(fields.nonce); + result_.read_delay_handle = + MakeRefCounted(ads_call_->Ref()); return absl::OkStatus(); } @@ -739,7 +772,7 @@ void UpdateResourceMetadataNacked(const std::string& version, } // namespace -void XdsClient::ChannelState::AdsCallState::AdsResponseParser::ParseResource( +void XdsClient::XdsChannel::AdsCall::AdsResponseParser::ParseResource( upb_Arena* arena, size_t idx, absl::string_view type_url, absl::string_view resource_name, absl::string_view serialized_resource) { std::string error_prefix = absl::StrCat( @@ -754,8 +787,8 @@ void XdsClient::ChannelState::AdsCallState::AdsResponseParser::ParseResource( } // Parse the resource. XdsResourceType::DecodeContext context = { - xds_client(), ads_call_state_->chand()->server_, &grpc_xds_client_trace, - xds_client()->symtab_.ptr(), arena}; + xds_client(), ads_call_->xds_channel()->server_, &grpc_xds_client_trace, + xds_client()->def_pool_.ptr(), arena}; XdsResourceType::DecodeResult decode_result = result_.type->Decode(context, serialized_resource); // If we didn't already have the resource name from the Resource @@ -788,8 +821,8 @@ void XdsClient::ChannelState::AdsCallState::AdsResponseParser::ParseResource( return; } // Cancel resource-does-not-exist timer, if needed. - auto timer_it = ads_call_state_->state_map_.find(result_.type); - if (timer_it != ads_call_state_->state_map_.end()) { + auto timer_it = ads_call_->state_map_.find(result_.type); + if (timer_it != ads_call_->state_map_.end()) { auto it = timer_it->second.subscribed_resources.find( parsed_resource_name->authority); if (it != timer_it->second.subscribed_resources.end()) { @@ -831,7 +864,7 @@ void XdsClient::ChannelState::AdsCallState::AdsResponseParser::ParseResource( "resource for which we previously ignored a deletion: type %s " "name %s", xds_client(), - ads_call_state_->chand()->server_.server_uri().c_str(), + ads_call_->xds_channel()->server_.server_uri().c_str(), std::string(type_url).c_str(), std::string(resource_name).c_str()); resource_state.ignored_deletion = false; } @@ -840,7 +873,8 @@ void XdsClient::ChannelState::AdsCallState::AdsResponseParser::ParseResource( xds_client()->NotifyWatchersOnErrorLocked( resource_state.watchers, absl::UnavailableError( - absl::StrCat("invalid resource: ", decode_status.ToString()))); + absl::StrCat("invalid resource: ", decode_status.ToString())), + result_.read_delay_handle); UpdateResourceMetadataNacked(result_.version, decode_status.ToString(), update_time_, &resource_state.meta); return; @@ -866,57 +900,57 @@ void XdsClient::ChannelState::AdsCallState::AdsResponseParser::ParseResource( // Notify watchers. auto& watchers_list = resource_state.watchers; xds_client()->work_serializer_.Schedule( - [watchers_list, value = resource_state.resource]() + [watchers_list, value = resource_state.resource, + read_delay_handle = result_.read_delay_handle]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&xds_client()->work_serializer_) { for (const auto& p : watchers_list) { - p.first->OnGenericResourceChanged(value); + p.first->OnGenericResourceChanged(value, read_delay_handle); } }, DEBUG_LOCATION); } -void XdsClient::ChannelState::AdsCallState::AdsResponseParser:: +void XdsClient::XdsChannel::AdsCall::AdsResponseParser:: ResourceWrapperParsingFailed(size_t idx, absl::string_view message) { result_.errors.emplace_back( absl::StrCat("resource index ", idx, ": ", message)); } // -// XdsClient::ChannelState::AdsCallState +// XdsClient::XdsChannel::AdsCall // -XdsClient::ChannelState::AdsCallState::AdsCallState( - RefCountedPtr> parent) - : InternallyRefCounted( - GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_refcount_trace) - ? "AdsCallState" - : nullptr), - parent_(std::move(parent)) { +XdsClient::XdsChannel::AdsCall::AdsCall( + RefCountedPtr> retryable_call) + : InternallyRefCounted( + GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_refcount_trace) ? "AdsCall" + : nullptr), + retryable_call_(std::move(retryable_call)) { GPR_ASSERT(xds_client() != nullptr); // Init the ADS call. const char* method = "/envoy.service.discovery.v3.AggregatedDiscoveryService/" "StreamAggregatedResources"; - call_ = chand()->transport_->CreateStreamingCall( + streaming_call_ = xds_channel()->transport_->CreateStreamingCall( method, std::make_unique( // Passing the initial ref here. This ref will go away when // the StreamEventHandler is destroyed. - RefCountedPtr(this))); - GPR_ASSERT(call_ != nullptr); + RefCountedPtr(this))); + GPR_ASSERT(streaming_call_ != nullptr); // Start the call. if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log(GPR_INFO, "[xds_client %p] xds server %s: starting ADS call " - "(calld: %p, call: %p)", - xds_client(), chand()->server_.server_uri().c_str(), this, - call_.get()); + "(ads_call: %p, streaming_call: %p)", + xds_client(), xds_channel()->server_.server_uri().c_str(), this, + streaming_call_.get()); } // If this is a reconnect, add any necessary subscriptions from what's // already in the cache. for (const auto& a : xds_client()->authority_state_map_) { const std::string& authority = a.first; // Skip authorities that are not using this xDS channel. - if (a.second.channel_state != chand()) continue; + if (a.second.xds_channel != xds_channel()) continue; for (const auto& t : a.second.resource_map) { const XdsResourceType* type = t.first; for (const auto& r : t.second) { @@ -929,17 +963,19 @@ XdsClient::ChannelState::AdsCallState::AdsCallState( for (const auto& p : state_map_) { SendMessageLocked(p.first); } + streaming_call_->StartRecvMessage(); } -void XdsClient::ChannelState::AdsCallState::Orphan() { +void XdsClient::XdsChannel::AdsCall::Orphan() { state_map_.clear(); // Note that the initial ref is held by the StreamEventHandler, which - // will be destroyed when call_ is destroyed, which may not happen - // here, since there may be other refs held to call_ by internal callbacks. - call_.reset(); + // will be destroyed when streaming_call_ is destroyed, which may not happen + // here, since there may be other refs held to streaming_call_ by internal + // callbacks. + streaming_call_.reset(); } -void XdsClient::ChannelState::AdsCallState::SendMessageLocked( +void XdsClient::XdsChannel::AdsCall::SendMessageLocked( const XdsResourceType* type) ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsClient::mu_) { // Buffer message sending if an existing message is in flight. @@ -949,24 +985,25 @@ void XdsClient::ChannelState::AdsCallState::SendMessageLocked( } auto& state = state_map_[type]; std::string serialized_message = xds_client()->api_.CreateAdsRequest( - type->type_url(), chand()->resource_type_version_map_[type], state.nonce, - ResourceNamesForRequest(type), state.status, !sent_initial_message_); + type->type_url(), xds_channel()->resource_type_version_map_[type], + state.nonce, ResourceNamesForRequest(type), state.status, + !sent_initial_message_); sent_initial_message_ = true; if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log(GPR_INFO, "[xds_client %p] xds server %s: sending ADS request: type=%s " "version=%s nonce=%s error=%s", - xds_client(), chand()->server_.server_uri().c_str(), + xds_client(), xds_channel()->server_.server_uri().c_str(), std::string(type->type_url()).c_str(), - chand()->resource_type_version_map_[type].c_str(), + xds_channel()->resource_type_version_map_[type].c_str(), state.nonce.c_str(), state.status.ToString().c_str()); } state.status = absl::OkStatus(); - call_->SendMessage(std::move(serialized_message)); + streaming_call_->SendMessage(std::move(serialized_message)); send_message_pending_ = type; } -void XdsClient::ChannelState::AdsCallState::SubscribeLocked( +void XdsClient::XdsChannel::AdsCall::SubscribeLocked( const XdsResourceType* type, const XdsResourceName& name, bool delay_send) { auto& state = state_map_[type].subscribed_resources[name.authority][name.key]; if (state == nullptr) { @@ -975,7 +1012,7 @@ void XdsClient::ChannelState::AdsCallState::SubscribeLocked( } } -void XdsClient::ChannelState::AdsCallState::UnsubscribeLocked( +void XdsClient::XdsChannel::AdsCall::UnsubscribeLocked( const XdsResourceType* type, const XdsResourceName& name, bool delay_unsubscription) { auto& type_state_map = state_map_[type]; @@ -992,14 +1029,14 @@ void XdsClient::ChannelState::AdsCallState::UnsubscribeLocked( } } -bool XdsClient::ChannelState::AdsCallState::HasSubscribedResources() const { +bool XdsClient::XdsChannel::AdsCall::HasSubscribedResources() const { for (const auto& p : state_map_) { if (!p.second.subscribed_resources.empty()) return true; } return false; } -void XdsClient::ChannelState::AdsCallState::OnRequestSent(bool ok) { +void XdsClient::XdsChannel::AdsCall::OnRequestSent(bool ok) { MutexLock lock(&xds_client()->mu_); // For each resource that was in the message we just sent, start the // resource timer if needed. @@ -1031,25 +1068,28 @@ void XdsClient::ChannelState::AdsCallState::OnRequestSent(bool ok) { } } -void XdsClient::ChannelState::AdsCallState::OnRecvMessage( - absl::string_view payload) { +void XdsClient::XdsChannel::AdsCall::OnRecvMessage(absl::string_view payload) { + // Needs to be destroyed after the mutex is released. + RefCountedPtr read_delay_handle; { MutexLock lock(&xds_client()->mu_); if (!IsCurrentCallOnChannel()) return; // Parse and validate the response. AdsResponseParser parser(this); absl::Status status = xds_client()->api_.ParseAdsResponse(payload, &parser); + // This includes a handle that will trigger an ADS read. + AdsResponseParser::Result result = parser.TakeResult(); + read_delay_handle = std::move(result.read_delay_handle); if (!status.ok()) { // Ignore unparsable response. gpr_log(GPR_ERROR, "[xds_client %p] xds server %s: error parsing ADS response (%s) " "-- ignoring", - xds_client(), chand()->server_.server_uri().c_str(), + xds_client(), xds_channel()->server_.server_uri().c_str(), status.ToString().c_str()); } else { seen_response_ = true; - chand()->status_ = absl::OkStatus(); - AdsResponseParser::Result result = parser.TakeResult(); + xds_channel()->status_ = absl::OkStatus(); // Update nonce. auto& state = state_map_[result.type]; state.nonce = result.nonce; @@ -1062,7 +1102,7 @@ void XdsClient::ChannelState::AdsCallState::OnRecvMessage( "[xds_client %p] xds server %s: ADS response invalid for " "resource " "type %s version %s, will NACK: nonce=%s status=%s", - xds_client(), chand()->server_.server_uri().c_str(), + xds_client(), xds_channel()->server_.server_uri().c_str(), result.type_url.c_str(), result.version.c_str(), state.nonce.c_str(), state.status.ToString().c_str()); } @@ -1072,7 +1112,7 @@ void XdsClient::ChannelState::AdsCallState::OnRecvMessage( const std::string& authority = a.first; AuthorityState& authority_state = a.second; // Skip authorities that are not using this xDS channel. - if (authority_state.channel_state != chand()) continue; + if (authority_state.xds_channel != xds_channel()) continue; auto seen_authority_it = result.resources_seen.find(authority); // Find this resource type. auto type_it = authority_state.resource_map.find(result.type); @@ -1092,12 +1132,13 @@ void XdsClient::ChannelState::AdsCallState::OnRecvMessage( // that the resource does not exist. For that case, we rely on // the request timeout instead. if (resource_state.resource == nullptr) continue; - if (chand()->server_.IgnoreResourceDeletion()) { + if (xds_channel()->server_.IgnoreResourceDeletion()) { if (!resource_state.ignored_deletion) { gpr_log(GPR_ERROR, "[xds_client %p] xds server %s: ignoring deletion " "for resource type %s name %s", - xds_client(), chand()->server_.server_uri().c_str(), + xds_client(), + xds_channel()->server_.server_uri().c_str(), result.type_url.c_str(), XdsClient::ConstructFullXdsResourceName( authority, result.type_url.c_str(), resource_key) @@ -1109,7 +1150,7 @@ void XdsClient::ChannelState::AdsCallState::OnRecvMessage( resource_state.meta.client_status = XdsApi::ResourceMetadata::DOES_NOT_EXIST; xds_client()->NotifyWatchersOnResourceDoesNotExist( - resource_state.watchers); + resource_state.watchers, read_delay_handle); } } } @@ -1117,14 +1158,8 @@ void XdsClient::ChannelState::AdsCallState::OnRecvMessage( } // If we had valid resources or the update was empty, update the version. if (result.have_valid_resources || result.errors.empty()) { - chand()->resource_type_version_map_[result.type] = + xds_channel()->resource_type_version_map_[result.type] = std::move(result.version); - // Start load reporting if needed. - auto& lrs_call = chand()->lrs_calld_; - if (lrs_call != nullptr) { - LrsCallState* lrs_calld = lrs_call->calld(); - if (lrs_calld != nullptr) lrs_calld->MaybeStartReportingLocked(); - } } // Send ACK or NACK. SendMessageLocked(result.type); @@ -1133,16 +1168,16 @@ void XdsClient::ChannelState::AdsCallState::OnRecvMessage( xds_client()->work_serializer_.DrainQueue(); } -void XdsClient::ChannelState::AdsCallState::OnStatusReceived( - absl::Status status) { +void XdsClient::XdsChannel::AdsCall::OnStatusReceived(absl::Status status) { { MutexLock lock(&xds_client()->mu_); if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log(GPR_INFO, "[xds_client %p] xds server %s: ADS call status received " - "(chand=%p, ads_calld=%p, call=%p): %s", - xds_client(), chand()->server_.server_uri().c_str(), chand(), - this, call_.get(), status.ToString().c_str()); + "(xds_channel=%p, ads_call=%p, streaming_call=%p): %s", + xds_client(), xds_channel()->server_.server_uri().c_str(), + xds_channel(), this, streaming_call_.get(), + status.ToString().c_str()); } // Cancel any does-not-exist timers that may be pending. for (const auto& p : state_map_) { @@ -1155,12 +1190,12 @@ void XdsClient::ChannelState::AdsCallState::OnStatusReceived( // Ignore status from a stale call. if (IsCurrentCallOnChannel()) { // Try to restart the call. - parent_->OnCallFinishedLocked(); + retryable_call_->OnCallFinishedLocked(); // If we didn't receive a response on the stream, report the // stream failure as a connectivity failure, which will report the // error to all watchers of resources on this channel. if (!seen_response_) { - chand()->SetChannelStatusLocked(absl::UnavailableError( + xds_channel()->SetChannelStatusLocked(absl::UnavailableError( absl::StrCat("xDS call failed with no responses received; status: ", status.ToString()))); } @@ -1169,15 +1204,15 @@ void XdsClient::ChannelState::AdsCallState::OnStatusReceived( xds_client()->work_serializer_.DrainQueue(); } -bool XdsClient::ChannelState::AdsCallState::IsCurrentCallOnChannel() const { +bool XdsClient::XdsChannel::AdsCall::IsCurrentCallOnChannel() const { // If the retryable ADS call is null (which only happens when the xds // channel is shutting down), all the ADS calls are stale. - if (chand()->ads_calld_ == nullptr) return false; - return this == chand()->ads_calld_->calld(); + if (xds_channel()->ads_call_ == nullptr) return false; + return this == xds_channel()->ads_call_->call(); } std::vector -XdsClient::ChannelState::AdsCallState::ResourceNamesForRequest( +XdsClient::XdsChannel::AdsCall::ResourceNamesForRequest( const XdsResourceType* type) { std::vector resource_names; auto it = state_map_.find(type); @@ -1197,39 +1232,107 @@ XdsClient::ChannelState::AdsCallState::ResourceNamesForRequest( } // -// XdsClient::ChannelState::LrsCallState::Reporter +// XdsClient::XdsChannel::LrsCall::Timer // -void XdsClient::ChannelState::LrsCallState::Reporter::Orphan() { - if (timer_handle_.has_value() && - xds_client()->engine()->Cancel(*timer_handle_)) { +void XdsClient::XdsChannel::LrsCall::Timer::Orphan() { + if (timer_handle_.has_value()) { + xds_client()->engine()->Cancel(*timer_handle_); timer_handle_.reset(); - Unref(DEBUG_LOCATION, "Orphan"); } + Unref(DEBUG_LOCATION, "Orphan"); } -void XdsClient::ChannelState::LrsCallState::Reporter:: - ScheduleNextReportLocked() { +void XdsClient::XdsChannel::LrsCall::Timer::ScheduleNextReportLocked() { if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log(GPR_INFO, - "[xds_client %p] xds server %s: scheduling load report timer", - xds_client(), parent_->chand()->server_.server_uri().c_str()); - } - timer_handle_ = xds_client()->engine()->RunAfter(report_interval_, [this]() { - ApplicationCallbackExecCtx callback_exec_ctx; - ExecCtx exec_ctx; - if (OnNextReportTimer()) { - Unref(DEBUG_LOCATION, "OnNextReportTimer()"); - } - }); + "[xds_client %p] xds server %s: scheduling next load report in %s", + xds_client(), + lrs_call_->xds_channel()->server_.server_uri().c_str(), + lrs_call_->load_reporting_interval_.ToString().c_str()); + } + timer_handle_ = xds_client()->engine()->RunAfter( + lrs_call_->load_reporting_interval_, + [self = Ref(DEBUG_LOCATION, "timer")]() { + ApplicationCallbackExecCtx callback_exec_ctx; + ExecCtx exec_ctx; + self->OnNextReportTimer(); + }); } -bool XdsClient::ChannelState::LrsCallState::Reporter::OnNextReportTimer() { +void XdsClient::XdsChannel::LrsCall::Timer::OnNextReportTimer() { MutexLock lock(&xds_client()->mu_); timer_handle_.reset(); - if (!IsCurrentReporterOnCall()) return true; - SendReportLocked(); - return false; + if (IsCurrentTimerOnCall()) lrs_call_->SendReportLocked(); +} + +// +// XdsClient::XdsChannel::LrsCall +// + +XdsClient::XdsChannel::LrsCall::LrsCall( + RefCountedPtr> retryable_call) + : InternallyRefCounted( + GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_refcount_trace) ? "LrsCall" + : nullptr), + retryable_call_(std::move(retryable_call)) { + // Init the LRS call. Note that the call will progress every time there's + // activity in xds_client()->interested_parties_, which is comprised of + // the polling entities from client_channel. + GPR_ASSERT(xds_client() != nullptr); + const char* method = + "/envoy.service.load_stats.v3.LoadReportingService/StreamLoadStats"; + streaming_call_ = xds_channel()->transport_->CreateStreamingCall( + method, std::make_unique( + // Passing the initial ref here. This ref will go away when + // the StreamEventHandler is destroyed. + RefCountedPtr(this))); + GPR_ASSERT(streaming_call_ != nullptr); + // Start the call. + if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { + gpr_log(GPR_INFO, + "[xds_client %p] xds server %s: starting LRS call (lrs_call=%p, " + "streaming_call=%p)", + xds_client(), xds_channel()->server_.server_uri().c_str(), this, + streaming_call_.get()); + } + // Send the initial request. + std::string serialized_payload = xds_client()->api_.CreateLrsInitialRequest(); + SendMessageLocked(std::move(serialized_payload)); + // Read initial response. + streaming_call_->StartRecvMessage(); +} + +void XdsClient::XdsChannel::LrsCall::Orphan() { + timer_.reset(); + // Note that the initial ref is held by the StreamEventHandler, which + // will be destroyed when streaming_call_ is destroyed, which may not happen + // here, since there may be other refs held to streaming_call_ by internal + // callbacks. + streaming_call_.reset(); +} + +void XdsClient::XdsChannel::LrsCall::MaybeScheduleNextReportLocked() { + // If there are no more registered stats to report, cancel the call. + auto it = xds_client()->xds_load_report_server_map_.find( + xds_channel()->server_.Key()); + if (it == xds_client()->xds_load_report_server_map_.end() || + it->second.load_report_map.empty()) { + it->second.xds_channel->StopLrsCallLocked(); + return; + } + // Don't start if the previous send_message op hasn't completed yet. + // If this happens, we'll be called again from OnRequestSent(). + if (send_message_pending_) return; + // Don't start if no LRS response has arrived. + if (!seen_response()) return; + // If there is no timer, create one. + // This happens on the initial response and whenever the interval changes. + if (timer_ == nullptr) { + timer_ = MakeOrphanable(Ref(DEBUG_LOCATION, "LRS timer")); + } + // Schedule the next load report. + timer_->ScheduleNextReportLocked(); } namespace { @@ -1248,142 +1351,43 @@ bool LoadReportCountersAreZero(const XdsApi::ClusterLoadReportMap& snapshot) { } // namespace -bool XdsClient::ChannelState::LrsCallState::Reporter::SendReportLocked() { +void XdsClient::XdsChannel::LrsCall::SendReportLocked() { // Construct snapshot from all reported stats. XdsApi::ClusterLoadReportMap snapshot = - xds_client()->BuildLoadReportSnapshotLocked(parent_->chand()->server_, - parent_->send_all_clusters_, - parent_->cluster_names_); + xds_client()->BuildLoadReportSnapshotLocked( + xds_channel()->server_, send_all_clusters_, cluster_names_); // Skip client load report if the counters were all zero in the last // report and they are still zero in this one. const bool old_val = last_report_counters_were_zero_; last_report_counters_were_zero_ = LoadReportCountersAreZero(snapshot); if (old_val && last_report_counters_were_zero_) { - auto it = xds_client()->xds_load_report_server_map_.find( - &parent_->chand()->server_); - if (it == xds_client()->xds_load_report_server_map_.end() || - it->second.load_report_map.empty()) { - it->second.channel_state->StopLrsCallLocked(); - return true; - } - ScheduleNextReportLocked(); - return false; + MaybeScheduleNextReportLocked(); + return; } // Send a request that contains the snapshot. std::string serialized_payload = xds_client()->api_.CreateLrsRequest(std::move(snapshot)); - parent_->call_->SendMessage(std::move(serialized_payload)); - parent_->send_message_pending_ = true; - return false; + SendMessageLocked(std::move(serialized_payload)); } -void XdsClient::ChannelState::LrsCallState::Reporter::OnReportDoneLocked() { - // If a reporter starts a send_message op, then the reporting interval - // changes and we destroy that reporter and create a new one, and then - // the send_message op started by the old reporter finishes, this - // method will be called even though it was for a completion started - // by the old reporter. In that case, the timer will be pending, so - // we just ignore the completion and wait for the timer to fire. - if (timer_handle_.has_value()) return; - // If there are no more registered stats to report, cancel the call. - auto it = xds_client()->xds_load_report_server_map_.find( - &parent_->chand()->server_); - if (it == xds_client()->xds_load_report_server_map_.end()) return; - if (it->second.load_report_map.empty()) { - if (it->second.channel_state != nullptr) { - it->second.channel_state->StopLrsCallLocked(); - } - return; - } - // Otherwise, schedule the next load report. - ScheduleNextReportLocked(); -} - -// -// XdsClient::ChannelState::LrsCallState -// - -XdsClient::ChannelState::LrsCallState::LrsCallState( - RefCountedPtr> parent) - : InternallyRefCounted( - GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_refcount_trace) - ? "LrsCallState" - : nullptr), - parent_(std::move(parent)) { - // Init the LRS call. Note that the call will progress every time there's - // activity in xds_client()->interested_parties_, which is comprised of - // the polling entities from client_channel. - GPR_ASSERT(xds_client() != nullptr); - const char* method = - "/envoy.service.load_stats.v3.LoadReportingService/StreamLoadStats"; - call_ = chand()->transport_->CreateStreamingCall( - method, std::make_unique( - // Passing the initial ref here. This ref will go away when - // the StreamEventHandler is destroyed. - RefCountedPtr(this))); - GPR_ASSERT(call_ != nullptr); - // Start the call. - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { - gpr_log(GPR_INFO, - "[xds_client %p] xds server %s: starting LRS call (calld=%p, " - "call=%p)", - xds_client(), chand()->server_.server_uri().c_str(), this, - call_.get()); - } - // Send the initial request. - std::string serialized_payload = xds_client()->api_.CreateLrsInitialRequest(); - call_->SendMessage(std::move(serialized_payload)); +void XdsClient::XdsChannel::LrsCall::SendMessageLocked(std::string payload) { send_message_pending_ = true; + streaming_call_->SendMessage(std::move(payload)); } -void XdsClient::ChannelState::LrsCallState::Orphan() { - reporter_.reset(); - // Note that the initial ref is held by the StreamEventHandler, which - // will be destroyed when call_ is destroyed, which may not happen - // here, since there may be other refs held to call_ by internal callbacks. - call_.reset(); -} - -void XdsClient::ChannelState::LrsCallState::MaybeStartReportingLocked() { - // Don't start again if already started. - if (reporter_ != nullptr) return; - // Don't start if the previous send_message op (of the initial request or - // the last report of the previous reporter) hasn't completed. - if (call_ != nullptr && send_message_pending_) return; - // Don't start if no LRS response has arrived. - if (!seen_response()) return; - // Don't start if the ADS call hasn't received any valid response. Note that - // this must be the first channel because it is the current channel but its - // ADS call hasn't seen any response. - if (chand()->ads_calld_ == nullptr || - chand()->ads_calld_->calld() == nullptr || - !chand()->ads_calld_->calld()->seen_response()) { - return; - } - // Start reporting. - if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { - gpr_log(GPR_INFO, "[xds_client %p] xds server %s: creating load reporter", - xds_client(), chand()->server_.server_uri().c_str()); - } - reporter_ = MakeOrphanable( - Ref(DEBUG_LOCATION, "LRS+load_report+start"), load_reporting_interval_); -} - -void XdsClient::ChannelState::LrsCallState::OnRequestSent(bool /*ok*/) { +void XdsClient::XdsChannel::LrsCall::OnRequestSent() { MutexLock lock(&xds_client()->mu_); send_message_pending_ = false; - if (reporter_ != nullptr) { - reporter_->OnReportDoneLocked(); - } else { - MaybeStartReportingLocked(); - } + if (IsCurrentCallOnChannel()) MaybeScheduleNextReportLocked(); } -void XdsClient::ChannelState::LrsCallState::OnRecvMessage( - absl::string_view payload) { +void XdsClient::XdsChannel::LrsCall::OnRecvMessage(absl::string_view payload) { MutexLock lock(&xds_client()->mu_); // If we're no longer the current call, ignore the result. if (!IsCurrentCallOnChannel()) return; + // Start recv after any code branch + auto cleanup = absl::MakeCleanup( + [call = streaming_call_.get()]() { call->StartRecvMessage(); }); // Parse the response. bool send_all_clusters = false; std::set new_cluster_names; @@ -1394,7 +1398,7 @@ void XdsClient::ChannelState::LrsCallState::OnRecvMessage( if (!status.ok()) { gpr_log(GPR_ERROR, "[xds_client %p] xds server %s: LRS response parsing failed: %s", - xds_client(), chand()->server_.server_uri().c_str(), + xds_client(), xds_channel()->server_.server_uri().c_str(), status.ToString().c_str()); return; } @@ -1405,7 +1409,7 @@ void XdsClient::ChannelState::LrsCallState::OnRecvMessage( "[xds_client %p] xds server %s: LRS response received, %" PRIuPTR " cluster names, send_all_clusters=%d, load_report_interval=%" PRId64 "ms", - xds_client(), chand()->server_.server_uri().c_str(), + xds_client(), xds_channel()->server_.server_uri().c_str(), new_cluster_names.size(), send_all_clusters, new_load_reporting_interval.millis()); size_t i = 0; @@ -1422,7 +1426,7 @@ void XdsClient::ChannelState::LrsCallState::OnRecvMessage( gpr_log(GPR_INFO, "[xds_client %p] xds server %s: increased load_report_interval " "to minimum value %dms", - xds_client(), chand()->server_.server_uri().c_str(), + xds_client(), xds_channel()->server_.server_uri().c_str(), GRPC_XDS_MIN_CLIENT_LOAD_REPORTING_INTERVAL_MS); } } @@ -1434,42 +1438,46 @@ void XdsClient::ChannelState::LrsCallState::OnRecvMessage( gpr_log(GPR_INFO, "[xds_client %p] xds server %s: incoming LRS response identical " "to current, ignoring.", - xds_client(), chand()->server_.server_uri().c_str()); + xds_client(), xds_channel()->server_.server_uri().c_str()); } return; } - // Stop current load reporting (if any) to adopt the new config. - reporter_.reset(); + // If the interval has changed, we'll need to restart the timer below. + const bool restart_timer = + load_reporting_interval_ != new_load_reporting_interval; // Record the new config. send_all_clusters_ = send_all_clusters; cluster_names_ = std::move(new_cluster_names); load_reporting_interval_ = new_load_reporting_interval; - // Try starting sending load report. - MaybeStartReportingLocked(); + // Restart timer if needed. + if (restart_timer) { + timer_.reset(); + MaybeScheduleNextReportLocked(); + } } -void XdsClient::ChannelState::LrsCallState::OnStatusReceived( - absl::Status status) { +void XdsClient::XdsChannel::LrsCall::OnStatusReceived(absl::Status status) { MutexLock lock(&xds_client()->mu_); if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log(GPR_INFO, "[xds_client %p] xds server %s: LRS call status received " - "(chand=%p, calld=%p, call=%p): %s", - xds_client(), chand()->server_.server_uri().c_str(), chand(), this, - call_.get(), status.ToString().c_str()); + "(xds_channel=%p, lrs_call=%p, streaming_call=%p): %s", + xds_client(), xds_channel()->server_.server_uri().c_str(), + xds_channel(), this, streaming_call_.get(), + status.ToString().c_str()); } // Ignore status from a stale call. if (IsCurrentCallOnChannel()) { // Try to restart the call. - parent_->OnCallFinishedLocked(); + retryable_call_->OnCallFinishedLocked(); } } -bool XdsClient::ChannelState::LrsCallState::IsCurrentCallOnChannel() const { +bool XdsClient::XdsChannel::LrsCall::IsCurrentCallOnChannel() const { // If the retryable LRS call is null (which only happens when the xds // channel is shutting down), all the LRS calls are stale. - if (chand()->lrs_calld_ == nullptr) return false; - return this == chand()->lrs_calld_->calld(); + if (xds_channel()->lrs_call_ == nullptr) return false; + return this == xds_channel()->lrs_call_->call(); } // @@ -1489,7 +1497,7 @@ XdsClient::XdsClient( transport_factory_(std::move(transport_factory)), request_timeout_(resource_request_timeout), xds_federation_enabled_(XdsFederationEnabled()), - api_(this, &grpc_xds_client_trace, bootstrap_->node(), &symtab_, + api_(this, &grpc_xds_client_trace, bootstrap_->node(), &def_pool_, std::move(user_agent_name), std::move(user_agent_version)), work_serializer_(engine), engine_(std::move(engine)) { @@ -1520,24 +1528,25 @@ void XdsClient::Orphan() { invalid_watchers_.clear(); // We may still be sending lingering queued load report data, so don't // just clear the load reporting map, but we do want to clear the refs - // we're holding to the ChannelState objects, to make sure that + // we're holding to the XdsChannel objects, to make sure that // everything shuts down properly. for (auto& p : xds_load_report_server_map_) { - p.second.channel_state.reset(DEBUG_LOCATION, "XdsClient::Orphan()"); + p.second.xds_channel.reset(DEBUG_LOCATION, "XdsClient::Orphan()"); } } -RefCountedPtr XdsClient::GetOrCreateChannelStateLocked( +RefCountedPtr XdsClient::GetOrCreateXdsChannelLocked( const XdsBootstrap::XdsServer& server, const char* reason) { - auto it = xds_server_channel_map_.find(&server); - if (it != xds_server_channel_map_.end()) { + std::string key = server.Key(); + auto it = xds_channel_map_.find(key); + if (it != xds_channel_map_.end()) { return it->second->Ref(DEBUG_LOCATION, reason); } // Channel not found, so create a new one. - auto channel_state = MakeRefCounted( - WeakRef(DEBUG_LOCATION, "ChannelState"), server); - xds_server_channel_map_[&server] = channel_state.get(); - return channel_state; + auto xds_channel = + MakeRefCounted(WeakRef(DEBUG_LOCATION, "XdsChannel"), server); + xds_channel_map_[std::move(key)] = xds_channel.get(); + return xds_channel; } void XdsClient::WatchResource(const XdsResourceType* type, @@ -1554,7 +1563,7 @@ void XdsClient::WatchResource(const XdsResourceType* type, work_serializer_.Run( [watcher = std::move(watcher), status = std::move(status)]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&work_serializer_) { - watcher->OnError(status); + watcher->OnError(status, ReadDelayHandle::NoWait()); }, DEBUG_LOCATION); }; @@ -1578,14 +1587,6 @@ void XdsClient::WatchResource(const XdsResourceType* type, xds_server = authority->server(); } if (xds_server == nullptr) xds_server = &bootstrap_->server(); - // Canonify the xDS server instance, so that we make sure we're using - // the same instance as will be used in AddClusterDropStats() and - // AddClusterLocalityStats(). This may yield a different result than - // the logic above if the same server is listed both in the authority - // and as the top-level server. - // TODO(roth): This is really ugly -- need to find a better way to - // index the xDS server than by address here. - xds_server = bootstrap_->FindXdsServer(*xds_server); { MutexLock lock(&mu_); MaybeRegisterResourceTypeLocked(type); @@ -1605,7 +1606,8 @@ void XdsClient::WatchResource(const XdsResourceType* type, work_serializer_.Schedule( [watcher, value = resource_state.resource]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&work_serializer_) { - watcher->OnGenericResourceChanged(value); + watcher->OnGenericResourceChanged(value, + ReadDelayHandle::NoWait()); }, DEBUG_LOCATION); } else if (resource_state.meta.client_status == @@ -1617,7 +1619,7 @@ void XdsClient::WatchResource(const XdsResourceType* type, } work_serializer_.Schedule( [watcher]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&work_serializer_) { - watcher->OnResourceDoesNotExist(); + watcher->OnResourceDoesNotExist(ReadDelayHandle::NoWait()); }, DEBUG_LOCATION); } else if (resource_state.meta.client_status == @@ -1637,18 +1639,19 @@ void XdsClient::WatchResource(const XdsResourceType* type, work_serializer_.Schedule( [watcher, details = std::move(details)]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&work_serializer_) { - watcher->OnError(absl::UnavailableError( - absl::StrCat("invalid resource: ", details))); + watcher->OnError(absl::UnavailableError(absl::StrCat( + "invalid resource: ", details)), + ReadDelayHandle::NoWait()); }, DEBUG_LOCATION); } // If the authority doesn't yet have a channel, set it, creating it if // needed. - if (authority_state.channel_state == nullptr) { - authority_state.channel_state = - GetOrCreateChannelStateLocked(*xds_server, "start watch"); + if (authority_state.xds_channel == nullptr) { + authority_state.xds_channel = + GetOrCreateXdsChannelLocked(*xds_server, "start watch"); } - absl::Status channel_status = authority_state.channel_state->status(); + absl::Status channel_status = authority_state.xds_channel->status(); if (!channel_status.ok()) { if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log(GPR_INFO, @@ -1659,11 +1662,11 @@ void XdsClient::WatchResource(const XdsResourceType* type, work_serializer_.Schedule( [watcher = std::move(watcher), status = std::move(channel_status)]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&work_serializer_) mutable { - watcher->OnError(std::move(status)); + watcher->OnError(std::move(status), ReadDelayHandle::NoWait()); }, DEBUG_LOCATION); } - authority_state.channel_state->SubscribeLocked(type, *resource_name); + authority_state.xds_channel->SubscribeLocked(type, *resource_name); } work_serializer_.DrainQueue(); } @@ -1701,13 +1704,13 @@ void XdsClient::CancelResourceWatch(const XdsResourceType* type, this, std::string(type->type_url()).c_str(), std::string(name).c_str()); } - authority_state.channel_state->UnsubscribeLocked(type, *resource_name, - delay_unsubscription); + authority_state.xds_channel->UnsubscribeLocked(type, *resource_name, + delay_unsubscription); type_map.erase(resource_it); if (type_map.empty()) { authority_state.resource_map.erase(type_it); if (authority_state.resource_map.empty()) { - authority_state.channel_state.reset(); + authority_state.xds_channel.reset(); } } } @@ -1721,7 +1724,7 @@ void XdsClient::MaybeRegisterResourceTypeLocked( return; } resource_types_.emplace(resource_type->type_url(), resource_type); - resource_type->InitUpbSymtab(this, symtab_.ptr()); + resource_type->InitUpbSymtab(this, def_pool_.ptr()); } const XdsResourceType* XdsClient::GetResourceTypeLocked( @@ -1777,23 +1780,21 @@ std::string XdsClient::ConstructFullXdsResourceName( RefCountedPtr XdsClient::AddClusterDropStats( const XdsBootstrap::XdsServer& xds_server, absl::string_view cluster_name, absl::string_view eds_service_name) { - const auto* server = bootstrap_->FindXdsServer(xds_server); - if (server == nullptr) return nullptr; auto key = std::make_pair(std::string(cluster_name), std::string(eds_service_name)); RefCountedPtr cluster_drop_stats; { MutexLock lock(&mu_); - // We jump through some hoops here to make sure that the const - // XdsBootstrap::XdsServer& and absl::string_views - // stored in the XdsClusterDropStats object point to the - // XdsBootstrap::XdsServer and strings - // in the load_report_map_ key, so that they have the same lifetime. - auto server_it = - xds_load_report_server_map_.emplace(server, LoadReportServer()).first; - if (server_it->second.channel_state == nullptr) { - server_it->second.channel_state = GetOrCreateChannelStateLocked( - *server, "load report map (drop stats)"); + // We jump through some hoops here to make sure that the + // absl::string_views stored in the XdsClusterDropStats object point + // to the strings in the xds_load_report_server_map_ keys, so that + // they have the same lifetime. + auto server_it = xds_load_report_server_map_ + .emplace(xds_server.Key(), LoadReportServer()) + .first; + if (server_it->second.xds_channel == nullptr) { + server_it->second.xds_channel = GetOrCreateXdsChannelLocked( + xds_server, "load report map (drop stats)"); } auto load_report_it = server_it->second.load_report_map .emplace(std::move(key), LoadReportState()) @@ -1808,25 +1809,23 @@ RefCountedPtr XdsClient::AddClusterDropStats( load_report_state.drop_stats->GetSnapshotAndReset(); } cluster_drop_stats = MakeRefCounted( - Ref(DEBUG_LOCATION, "DropStats"), *server, + Ref(DEBUG_LOCATION, "DropStats"), server_it->first /*xds_server*/, load_report_it->first.first /*cluster_name*/, load_report_it->first.second /*eds_service_name*/); load_report_state.drop_stats = cluster_drop_stats.get(); } - server_it->second.channel_state->MaybeStartLrsCall(); + server_it->second.xds_channel->MaybeStartLrsCall(); } work_serializer_.DrainQueue(); return cluster_drop_stats; } void XdsClient::RemoveClusterDropStats( - const XdsBootstrap::XdsServer& xds_server, absl::string_view cluster_name, + absl::string_view xds_server_key, absl::string_view cluster_name, absl::string_view eds_service_name, XdsClusterDropStats* cluster_drop_stats) { - const auto* server = bootstrap_->FindXdsServer(xds_server); - if (server == nullptr) return; MutexLock lock(&mu_); - auto server_it = xds_load_report_server_map_.find(server); + auto server_it = xds_load_report_server_map_.find(xds_server_key); if (server_it == xds_load_report_server_map_.end()) return; auto load_report_it = server_it->second.load_report_map.find( std::make_pair(std::string(cluster_name), std::string(eds_service_name))); @@ -1845,23 +1844,21 @@ RefCountedPtr XdsClient::AddClusterLocalityStats( const XdsBootstrap::XdsServer& xds_server, absl::string_view cluster_name, absl::string_view eds_service_name, RefCountedPtr locality) { - const auto* server = bootstrap_->FindXdsServer(xds_server); - if (server == nullptr) return nullptr; auto key = std::make_pair(std::string(cluster_name), std::string(eds_service_name)); RefCountedPtr cluster_locality_stats; { MutexLock lock(&mu_); - // We jump through some hoops here to make sure that the const - // XdsBootstrap::XdsServer& and absl::string_views - // stored in the XdsClusterDropStats object point to the - // XdsBootstrap::XdsServer and strings - // in the load_report_map_ key, so that they have the same lifetime. - auto server_it = - xds_load_report_server_map_.emplace(server, LoadReportServer()).first; - if (server_it->second.channel_state == nullptr) { - server_it->second.channel_state = GetOrCreateChannelStateLocked( - *server, "load report map (locality stats)"); + // We jump through some hoops here to make sure that the + // absl::string_views stored in the XdsClusterDropStats object point + // to the strings in the xds_load_report_server_map_ keys, so that + // they have the same lifetime. + auto server_it = xds_load_report_server_map_ + .emplace(xds_server.Key(), LoadReportServer()) + .first; + if (server_it->second.xds_channel == nullptr) { + server_it->second.xds_channel = GetOrCreateXdsChannelLocked( + xds_server, "load report map (locality stats)"); } auto load_report_it = server_it->second.load_report_map .emplace(std::move(key), LoadReportState()) @@ -1878,27 +1875,25 @@ RefCountedPtr XdsClient::AddClusterLocalityStats( locality_state.locality_stats->GetSnapshotAndReset(); } cluster_locality_stats = MakeRefCounted( - Ref(DEBUG_LOCATION, "LocalityStats"), *server, + Ref(DEBUG_LOCATION, "LocalityStats"), server_it->first /*xds_server*/, load_report_it->first.first /*cluster_name*/, load_report_it->first.second /*eds_service_name*/, std::move(locality)); locality_state.locality_stats = cluster_locality_stats.get(); } - server_it->second.channel_state->MaybeStartLrsCall(); + server_it->second.xds_channel->MaybeStartLrsCall(); } work_serializer_.DrainQueue(); return cluster_locality_stats; } void XdsClient::RemoveClusterLocalityStats( - const XdsBootstrap::XdsServer& xds_server, absl::string_view cluster_name, + absl::string_view xds_server_key, absl::string_view cluster_name, absl::string_view eds_service_name, const RefCountedPtr& locality, XdsClusterLocalityStats* cluster_locality_stats) { - const auto* server = bootstrap_->FindXdsServer(xds_server); - if (server == nullptr) return; MutexLock lock(&mu_); - auto server_it = xds_load_report_server_map_.find(server); + auto server_it = xds_load_report_server_map_.find(xds_server_key); if (server_it == xds_load_report_server_map_.end()) return; auto load_report_it = server_it->second.load_report_map.find( std::make_pair(std::string(cluster_name), std::string(eds_service_name))); @@ -1918,7 +1913,7 @@ void XdsClient::RemoveClusterLocalityStats( void XdsClient::ResetBackoff() { MutexLock lock(&mu_); - for (auto& p : xds_server_channel_map_) { + for (auto& p : xds_channel_map_) { p.second->ResetBackoff(); } } @@ -1926,7 +1921,7 @@ void XdsClient::ResetBackoff() { void XdsClient::NotifyWatchersOnErrorLocked( const std::map>& watchers, - absl::Status status) { + absl::Status status, RefCountedPtr read_delay_handle) { const auto* node = bootstrap_->node(); if (node != nullptr) { status = absl::Status( @@ -1934,10 +1929,11 @@ void XdsClient::NotifyWatchersOnErrorLocked( absl::StrCat(status.message(), " (node ID:", node->id(), ")")); } work_serializer_.Schedule( - [watchers, status = std::move(status)]() + [watchers, status = std::move(status), + read_delay_handle = std::move(read_delay_handle)]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&work_serializer_) { for (const auto& p : watchers) { - p.first->OnError(status); + p.first->OnError(status, read_delay_handle); } }, DEBUG_LOCATION); @@ -1945,13 +1941,15 @@ void XdsClient::NotifyWatchersOnErrorLocked( void XdsClient::NotifyWatchersOnResourceDoesNotExist( const std::map>& watchers) { + RefCountedPtr>& watchers, + RefCountedPtr read_delay_handle) { work_serializer_.Schedule( - [watchers]() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&work_serializer_) { - for (const auto& p : watchers) { - p.first->OnResourceDoesNotExist(); - } - }, + [watchers, read_delay_handle = std::move(read_delay_handle)]() + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&work_serializer_) { + for (const auto& p : watchers) { + p.first->OnResourceDoesNotExist(read_delay_handle); + } + }, DEBUG_LOCATION); } @@ -1962,7 +1960,7 @@ XdsApi::ClusterLoadReportMap XdsClient::BuildLoadReportSnapshotLocked( gpr_log(GPR_INFO, "[xds_client %p] start building load report", this); } XdsApi::ClusterLoadReportMap snapshot_map; - auto server_it = xds_load_report_server_map_.find(&xds_server); + auto server_it = xds_load_report_server_map_.find(xds_server.Key()); if (server_it == xds_load_report_server_map_.end()) return snapshot_map; auto& load_report_map = server_it->second.load_report_map; for (auto load_report_it = load_report_map.begin(); @@ -2040,25 +2038,86 @@ XdsApi::ClusterLoadReportMap XdsClient::BuildLoadReportSnapshotLocked( return snapshot_map; } -std::string XdsClient::DumpClientConfigBinary() { - MutexLock lock(&mu_); - XdsApi::ResourceTypeMetadataMap resource_type_metadata_map; +namespace { + +google_protobuf_Timestamp* EncodeTimestamp(Timestamp value, upb_Arena* arena) { + google_protobuf_Timestamp* timestamp = google_protobuf_Timestamp_new(arena); + gpr_timespec timespec = value.as_timespec(GPR_CLOCK_REALTIME); + google_protobuf_Timestamp_set_seconds(timestamp, timespec.tv_sec); + google_protobuf_Timestamp_set_nanos(timestamp, timespec.tv_nsec); + return timestamp; +} + +void FillGenericXdsConfig( + const XdsApi::ResourceMetadata& metadata, upb_StringView type_url, + upb_StringView resource_name, upb_Arena* arena, + envoy_service_status_v3_ClientConfig_GenericXdsConfig* entry) { + envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_type_url(entry, + type_url); + envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_name(entry, + resource_name); + envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_client_status( + entry, metadata.client_status); + if (!metadata.serialized_proto.empty()) { + envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_version_info( + entry, StdStringToUpbString(metadata.version)); + envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_last_updated( + entry, EncodeTimestamp(metadata.update_time, arena)); + auto* any_field = + envoy_service_status_v3_ClientConfig_GenericXdsConfig_mutable_xds_config( + entry, arena); + google_protobuf_Any_set_type_url(any_field, type_url); + google_protobuf_Any_set_value( + any_field, StdStringToUpbString(metadata.serialized_proto)); + } + if (metadata.client_status == XdsApi::ResourceMetadata::NACKED) { + auto* update_failure_state = envoy_admin_v3_UpdateFailureState_new(arena); + envoy_admin_v3_UpdateFailureState_set_details( + update_failure_state, StdStringToUpbString(metadata.failed_details)); + envoy_admin_v3_UpdateFailureState_set_version_info( + update_failure_state, StdStringToUpbString(metadata.failed_version)); + envoy_admin_v3_UpdateFailureState_set_last_update_attempt( + update_failure_state, + EncodeTimestamp(metadata.failed_update_time, arena)); + envoy_service_status_v3_ClientConfig_GenericXdsConfig_set_error_state( + entry, update_failure_state); + } +} + +} // namespace + +void XdsClient::DumpClientConfig( + std::set* string_pool, upb_Arena* arena, + envoy_service_status_v3_ClientConfig* client_config) { + // Assemble config dump messages + // Fill-in the node information + auto* node = + envoy_service_status_v3_ClientConfig_mutable_node(client_config, arena); + api_.PopulateNode(node, arena); + // Dump each resource. for (const auto& a : authority_state_map_) { // authority const std::string& authority = a.first; for (const auto& t : a.second.resource_map) { // type const XdsResourceType* type = t.first; - auto& resource_metadata_map = - resource_type_metadata_map[type->type_url()]; + auto it = + string_pool + ->emplace(absl::StrCat("type.googleapis.com/", type->type_url())) + .first; + upb_StringView type_url = StdStringToUpbString(*it); for (const auto& r : t.second) { // resource id - const XdsResourceKey& resource_key = r.first; - const ResourceState& resource_state = r.second; - resource_metadata_map[ConstructFullXdsResourceName( - authority, type->type_url(), resource_key)] = &resource_state.meta; + auto it2 = string_pool + ->emplace(ConstructFullXdsResourceName( + authority, type->type_url(), r.first)) + .first; + upb_StringView resource_name = StdStringToUpbString(*it2); + envoy_service_status_v3_ClientConfig_GenericXdsConfig* entry = + envoy_service_status_v3_ClientConfig_add_generic_xds_configs( + client_config, arena); + FillGenericXdsConfig(r.second.meta, type_url, resource_name, arena, + entry); } } } - // Assemble config dump messages - return api_.AssembleClientConfig(resource_type_metadata_map); } } // namespace grpc_core diff --git a/src/core/ext/xds/xds_client.h b/src/core/ext/xds/xds_client.h index bd24d8ae193..038abfe5f29 100644 --- a/src/core/ext/xds/xds_client.h +++ b/src/core/ext/xds/xds_client.h @@ -51,11 +51,20 @@ namespace grpc_core { +namespace testing { +class XdsClientTestPeer; +} + extern TraceFlag grpc_xds_client_trace; extern TraceFlag grpc_xds_client_refcount_trace; class XdsClient : public DualRefCounted { public: + class ReadDelayHandle : public RefCounted { + public: + static RefCountedPtr NoWait() { return nullptr; } + }; + // Resource watcher interface. Implemented by callers. // Note: Most callers will not use this API directly but rather via a // resource-type-specific wrapper API provided by the relevant @@ -63,11 +72,14 @@ class XdsClient : public DualRefCounted { class ResourceWatcherInterface : public RefCounted { public: virtual void OnGenericResourceChanged( - std::shared_ptr resource) + std::shared_ptr resource, + RefCountedPtr read_delay_handle) ABSL_EXCLUSIVE_LOCKS_REQUIRED(&work_serializer_) = 0; - virtual void OnError(absl::Status status) + virtual void OnError(absl::Status status, + RefCountedPtr read_delay_handle) ABSL_EXCLUSIVE_LOCKS_REQUIRED(&work_serializer_) = 0; - virtual void OnResourceDoesNotExist() + virtual void OnResourceDoesNotExist( + RefCountedPtr read_delay_handle) ABSL_EXCLUSIVE_LOCKS_REQUIRED(&work_serializer_) = 0; }; @@ -119,7 +131,7 @@ class XdsClient : public DualRefCounted { RefCountedPtr AddClusterDropStats( const XdsBootstrap::XdsServer& xds_server, absl::string_view cluster_name, absl::string_view eds_service_name); - void RemoveClusterDropStats(const XdsBootstrap::XdsServer& xds_server, + void RemoveClusterDropStats(absl::string_view xds_server, absl::string_view cluster_name, absl::string_view eds_service_name, XdsClusterDropStats* cluster_drop_stats); @@ -131,7 +143,7 @@ class XdsClient : public DualRefCounted { absl::string_view eds_service_name, RefCountedPtr locality); void RemoveClusterLocalityStats( - const XdsBootstrap::XdsServer& xds_server, absl::string_view cluster_name, + absl::string_view xds_server, absl::string_view cluster_name, absl::string_view eds_service_name, const RefCountedPtr& locality, XdsClusterLocalityStats* cluster_locality_stats); @@ -139,20 +151,23 @@ class XdsClient : public DualRefCounted { // Resets connection backoff state. void ResetBackoff(); - // Dumps the active xDS config in JSON format. - // Individual xDS resource is encoded as envoy.admin.v3.*ConfigDump. Returns - // envoy.service.status.v3.ClientConfig which also includes the config - // status (e.g., CLIENT_REQUESTED, CLIENT_ACKED, CLIENT_NACKED). - // - // Expected to be invoked by wrapper languages in their CSDS service - // implementation. - std::string DumpClientConfigBinary(); - grpc_event_engine::experimental::EventEngine* engine() { return engine_.get(); } + protected: + // Dumps the active xDS config to the provided + // envoy.service.status.v3.ClientConfig message including the config status + // (e.g., CLIENT_REQUESTED, CLIENT_ACKED, CLIENT_NACKED). + void DumpClientConfig(std::set* string_pool, upb_Arena* arena, + envoy_service_status_v3_ClientConfig* client_config) + ABSL_EXCLUSIVE_LOCKS_REQUIRED(&mu_); + + Mutex* mu() ABSL_LOCK_RETURNED(&mu_) { return &mu_; } + private: + friend testing::XdsClientTestPeer; + struct XdsResourceKey { std::string id; std::vector query_params; @@ -171,23 +186,23 @@ class XdsClient : public DualRefCounted { // Contains a channel to the xds server and all the data related to the // channel. Holds a ref to the xds client object. - class ChannelState : public DualRefCounted { + class XdsChannel : public DualRefCounted { public: template class RetryableCall; - class AdsCallState; - class LrsCallState; + class AdsCall; + class LrsCall; - ChannelState(WeakRefCountedPtr xds_client, - const XdsBootstrap::XdsServer& server); - ~ChannelState() override; + XdsChannel(WeakRefCountedPtr xds_client, + const XdsBootstrap::XdsServer& server); + ~XdsChannel() override; void Orphan() override; XdsClient* xds_client() const { return xds_client_.get(); } - AdsCallState* ads_calld() const; - LrsCallState* lrs_calld() const; + AdsCall* ads_call() const; + LrsCall* lrs_call() const; void ResetBackoff(); @@ -223,9 +238,9 @@ class XdsClient : public DualRefCounted { bool shutting_down_ = false; - // The retryable XDS calls. - OrphanablePtr> ads_calld_; - OrphanablePtr> lrs_calld_; + // The retryable ADS and LRS calls. + OrphanablePtr> ads_call_; + OrphanablePtr> lrs_call_; // Stores the most recent accepted resource version for each resource type. std::map @@ -244,7 +259,7 @@ class XdsClient : public DualRefCounted { }; struct AuthorityState { - RefCountedPtr channel_state; + RefCountedPtr xds_channel; std::map> resource_map; }; @@ -269,7 +284,7 @@ class XdsClient : public DualRefCounted { LoadReportState>; struct LoadReportServer { - RefCountedPtr channel_state; + RefCountedPtr xds_channel; LoadReportMap load_report_map; }; @@ -277,11 +292,12 @@ class XdsClient : public DualRefCounted { void NotifyWatchersOnErrorLocked( const std::map>& watchers, - absl::Status status); + absl::Status status, RefCountedPtr read_delay_handle); // Sends a resource-does-not-exist notification to a specific set of watchers. void NotifyWatchersOnResourceDoesNotExist( const std::map>& watchers); + RefCountedPtr>& watchers, + RefCountedPtr read_delay_handle); void MaybeRegisterResourceTypeLocked(const XdsResourceType* resource_type) ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_); @@ -300,7 +316,7 @@ class XdsClient : public DualRefCounted { const XdsBootstrap::XdsServer& xds_server, bool send_all_clusters, const std::set& clusters) ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_); - RefCountedPtr GetOrCreateChannelStateLocked( + RefCountedPtr GetOrCreateXdsChannelLocked( const XdsBootstrap::XdsServer& server, const char* reason) ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_); @@ -317,18 +333,16 @@ class XdsClient : public DualRefCounted { // Stores resource type objects seen by type URL. std::map resource_types_ ABSL_GUARDED_BY(mu_); - upb::SymbolTable symtab_ ABSL_GUARDED_BY(mu_); + upb::DefPool def_pool_ ABSL_GUARDED_BY(mu_); // Map of existing xDS server channels. - // Key is owned by the bootstrap config. - std::map - xds_server_channel_map_ ABSL_GUARDED_BY(mu_); + std::map xds_channel_map_ + ABSL_GUARDED_BY(mu_); std::map authority_state_map_ ABSL_GUARDED_BY(mu_); - // Key is owned by the bootstrap config. - std::map + std::map> xds_load_report_server_map_ ABSL_GUARDED_BY(mu_); // Stores started watchers whose resource name was not parsed successfully, diff --git a/src/core/ext/xds/xds_client_grpc.cc b/src/core/ext/xds/xds_client_grpc.cc index 7df4c36a5b2..d5e4447cc02 100644 --- a/src/core/ext/xds/xds_client_grpc.cc +++ b/src/core/ext/xds/xds_client_grpc.cc @@ -19,15 +19,19 @@ #include "src/core/ext/xds/xds_client_grpc.h" #include +#include #include #include #include +#include #include "absl/base/thread_annotations.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/types/optional.h" +#include "envoy/service/status/v3/csds.upb.h" +#include "upb/base/string_view.h" #include #include @@ -36,9 +40,12 @@ #include #include +#include "src/core/ext/xds/upb_utils.h" +#include "src/core/ext/xds/xds_api.h" #include "src/core/ext/xds/xds_bootstrap.h" #include "src/core/ext/xds/xds_bootstrap_grpc.h" #include "src/core/ext/xds/xds_channel_args.h" +#include "src/core/ext/xds/xds_client.h" #include "src/core/ext/xds/xds_transport.h" #include "src/core/ext/xds/xds_transport_grpc.h" #include "src/core/lib/channel/channel_args.h" @@ -46,13 +53,13 @@ #include "src/core/lib/event_engine/default_event_engine.h" #include "src/core/lib/gprpp/debug_location.h" #include "src/core/lib/gprpp/env.h" +#include "src/core/lib/gprpp/load_file.h" #include "src/core/lib/gprpp/orphanable.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/gprpp/sync.h" #include "src/core/lib/gprpp/time.h" #include "src/core/lib/iomgr/error.h" #include "src/core/lib/iomgr/exec_ctx.h" -#include "src/core/lib/iomgr/load_file.h" #include "src/core/lib/slice/slice.h" #include "src/core/lib/slice/slice_internal.h" #include "src/core/lib/transport/error_utils.h" @@ -85,7 +92,9 @@ namespace { Mutex* g_mu = new Mutex; const grpc_channel_args* g_channel_args ABSL_GUARDED_BY(*g_mu) = nullptr; -GrpcXdsClient* g_xds_client ABSL_GUARDED_BY(*g_mu) = nullptr; +// Key bytes live in clients so they outlive the entries in this map +NoDestruct> g_xds_client_map + ABSL_GUARDED_BY(*g_mu); char* g_fallback_bootstrap_config ABSL_GUARDED_BY(*g_mu) = nullptr; } // namespace @@ -102,13 +111,9 @@ absl::StatusOr GetBootstrapContents(const char* fallback_config) { "environment variable: %s", path->c_str()); } - grpc_slice contents; - grpc_error_handle error = - grpc_load_file(path->c_str(), /*add_null_terminator=*/true, &contents); - if (!error.ok()) return grpc_error_to_absl_status(error); - std::string contents_str(StringViewFromSlice(contents)); - CSliceUnref(contents); - return contents_str; + auto contents = LoadFile(*path, /*add_null_terminator=*/true); + if (!contents.ok()) return contents.status(); + return std::string(contents->as_string_view()); } // Next, try GRPC_XDS_BOOTSTRAP_CONFIG env var. auto env_config = GetEnv("GRPC_XDS_BOOTSTRAP_CONFIG"); @@ -133,10 +138,23 @@ absl::StatusOr GetBootstrapContents(const char* fallback_config) { "not defined"); } +std::vector> GetAllXdsClients() { + MutexLock lock(g_mu); + std::vector> xds_clients; + for (const auto& key_client : *g_xds_client_map) { + auto xds_client = + key_client.second->RefIfNonZero(DEBUG_LOCATION, "DumpAllClientConfigs"); + if (xds_client != nullptr) { + xds_clients.emplace_back(xds_client.TakeAsSubclass()); + } + } + return xds_clients; +} + } // namespace absl::StatusOr> GrpcXdsClient::GetOrCreate( - const ChannelArgs& args, const char* reason) { + absl::string_view key, const ChannelArgs& args, const char* reason) { // If getting bootstrap from channel args, create a local XdsClient // instance for the channel or server instead of using the global instance. absl::optional bootstrap_config = args.GetString( @@ -148,14 +166,17 @@ absl::StatusOr> GrpcXdsClient::GetOrCreate( GRPC_ARG_TEST_ONLY_DO_NOT_USE_IN_PROD_XDS_CLIENT_CHANNEL_ARGS); auto channel_args = ChannelArgs::FromC(xds_channel_args); return MakeRefCounted( - std::move(*bootstrap), channel_args, + key, std::move(*bootstrap), channel_args, MakeOrphanable(channel_args)); } // Otherwise, use the global instance. MutexLock lock(g_mu); - if (g_xds_client != nullptr) { - auto xds_client = g_xds_client->RefIfNonZero(DEBUG_LOCATION, reason); - if (xds_client != nullptr) return xds_client; + auto it = g_xds_client_map->find(key); + if (it != g_xds_client_map->end()) { + auto xds_client = it->second->RefIfNonZero(DEBUG_LOCATION, reason); + if (xds_client != nullptr) { + return xds_client.TakeAsSubclass(); + } } // Find bootstrap contents. auto bootstrap_contents = GetBootstrapContents(g_fallback_bootstrap_config); @@ -170,14 +191,49 @@ absl::StatusOr> GrpcXdsClient::GetOrCreate( // Instantiate XdsClient. auto channel_args = ChannelArgs::FromC(g_channel_args); auto xds_client = MakeRefCounted( - std::move(*bootstrap), channel_args, + key, std::move(*bootstrap), channel_args, MakeOrphanable(channel_args)); - g_xds_client = xds_client.get(); + g_xds_client_map->emplace(xds_client->key(), xds_client.get()); + if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { + gpr_log(GPR_INFO, "xDS client for key: %s was created", + std::string(key).c_str()); + } return xds_client; } +// ABSL_NO_THREAD_SAFETY_ANALYSIS because we have to manually manage locks for +// individual XdsClients and compiler struggles with checking the validity +grpc_slice GrpcXdsClient::DumpAllClientConfigs() + ABSL_NO_THREAD_SAFETY_ANALYSIS { + auto xds_clients = GetAllXdsClients(); + upb::Arena arena; + // Contains strings that should survive till serialization + std::set string_pool; + auto response = envoy_service_status_v3_ClientStatusResponse_new(arena.ptr()); + // We lock each XdsClient mutex till we are done with the serialization to + // ensure that all data referenced from the UPB proto message stays alive. + for (const auto& xds_client : xds_clients) { + auto client_config = + envoy_service_status_v3_ClientStatusResponse_add_config(response, + arena.ptr()); + xds_client->mu()->Lock(); + xds_client->DumpClientConfig(&string_pool, arena.ptr(), client_config); + envoy_service_status_v3_ClientConfig_set_client_scope( + client_config, StdStringToUpbString(xds_client->key())); + } + // Serialize the upb message to bytes + size_t output_length; + char* output = envoy_service_status_v3_ClientStatusResponse_serialize( + response, arena.ptr(), &output_length); + for (const auto& xds_client : xds_clients) { + xds_client->mu()->Unlock(); + } + return grpc_slice_from_cpp_string(std::string(output, output_length)); +} + GrpcXdsClient::GrpcXdsClient( - std::unique_ptr bootstrap, const ChannelArgs& args, + absl::string_view key, std::unique_ptr bootstrap, + const ChannelArgs& args, OrphanablePtr transport_factory) : XdsClient( std::move(bootstrap), std::move(transport_factory), @@ -191,13 +247,18 @@ GrpcXdsClient::GrpcXdsClient( args.GetDurationFromIntMillis( GRPC_ARG_XDS_RESOURCE_DOES_NOT_EXIST_TIMEOUT_MS) .value_or(Duration::Seconds(15)))), + key_(key), certificate_provider_store_(MakeOrphanable( static_cast(this->bootstrap()) .certificate_providers())) {} -GrpcXdsClient::~GrpcXdsClient() { +void GrpcXdsClient::Orphan() { MutexLock lock(g_mu); - if (g_xds_client == this) g_xds_client = nullptr; + auto it = g_xds_client_map->find(key_); + if (it != g_xds_client_map->end() && it->second == this) { + g_xds_client_map->erase(it); + } + XdsClient::Orphan(); } grpc_pollset_set* GrpcXdsClient::interested_parties() const { @@ -212,9 +273,9 @@ void SetXdsChannelArgsForTest(grpc_channel_args* args) { g_channel_args = args; } -void UnsetGlobalXdsClientForTest() { +void UnsetGlobalXdsClientsForTest() { MutexLock lock(g_mu); - g_xds_client = nullptr; + g_xds_client_map->clear(); } void SetXdsFallbackBootstrapConfig(const char* config) { @@ -231,11 +292,5 @@ void SetXdsFallbackBootstrapConfig(const char* config) { grpc_slice grpc_dump_xds_configs(void) { grpc_core::ApplicationCallbackExecCtx callback_exec_ctx; grpc_core::ExecCtx exec_ctx; - auto xds_client = grpc_core::GrpcXdsClient::GetOrCreate( - grpc_core::ChannelArgs(), "grpc_dump_xds_configs()"); - if (!xds_client.ok()) { - // If we aren't using xDS, just return an empty string. - return grpc_empty_slice(); - } - return grpc_slice_from_cpp_string((*xds_client)->DumpClientConfigBinary()); + return grpc_core::GrpcXdsClient::DumpAllClientConfigs(); } diff --git a/src/core/ext/xds/xds_client_grpc.h b/src/core/ext/xds/xds_client_grpc.h index 7ecb96cb52a..72df525ab6e 100644 --- a/src/core/ext/xds/xds_client_grpc.h +++ b/src/core/ext/xds/xds_client_grpc.h @@ -35,7 +35,7 @@ #include "src/core/lib/gprpp/orphanable.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/iomgr/iomgr_fwd.h" -#include "src/core/lib/resolver/server_address.h" +#include "src/core/resolver/endpoint_addresses.h" namespace grpc_core { @@ -43,7 +43,10 @@ class GrpcXdsClient : public XdsClient { public: // Factory function to get or create the global XdsClient instance. static absl::StatusOr> GetOrCreate( - const ChannelArgs& args, const char* reason); + absl::string_view key, const ChannelArgs& args, const char* reason); + + // Builds ClientStatusResponse containing all resources from all XdsClients + static grpc_slice DumpAllClientConfigs(); // Do not instantiate directly -- use GetOrCreate() instead. // TODO(roth): The transport factory is injectable here to support @@ -57,10 +60,12 @@ class GrpcXdsClient : public XdsClient { // work for callers that use interested_parties() but not for callers // that also use certificate_provider_store(), but we should consider // alternatives for that case as well. - GrpcXdsClient(std::unique_ptr bootstrap, + GrpcXdsClient(absl::string_view key, + std::unique_ptr bootstrap, const ChannelArgs& args, OrphanablePtr transport_factory); - ~GrpcXdsClient() override; + + void Orphan() override; // Helpers for encoding the XdsClient object in channel args. static absl::string_view ChannelArgName() { @@ -76,13 +81,16 @@ class GrpcXdsClient : public XdsClient { return *certificate_provider_store_; } + absl::string_view key() const { return key_; } + private: + std::string key_; OrphanablePtr certificate_provider_store_; }; namespace internal { void SetXdsChannelArgsForTest(grpc_channel_args* args); -void UnsetGlobalXdsClientForTest(); +void UnsetGlobalXdsClientsForTest(); // Sets bootstrap config to be used when no env var is set. // Does not take ownership of config. void SetXdsFallbackBootstrapConfig(const char* config); diff --git a/src/core/ext/xds/xds_client_stats.cc b/src/core/ext/xds/xds_client_stats.cc index 512d5996b12..bb29f906f0b 100644 --- a/src/core/ext/xds/xds_client_stats.cc +++ b/src/core/ext/xds/xds_client_stats.cc @@ -40,10 +40,10 @@ uint64_t GetAndResetCounter(std::atomic* from) { // XdsClusterDropStats // -XdsClusterDropStats::XdsClusterDropStats( - RefCountedPtr xds_client, - const XdsBootstrap::XdsServer& lrs_server, absl::string_view cluster_name, - absl::string_view eds_service_name) +XdsClusterDropStats::XdsClusterDropStats(RefCountedPtr xds_client, + absl::string_view lrs_server, + absl::string_view cluster_name, + absl::string_view eds_service_name) : RefCounted(GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_refcount_trace) ? "XdsClusterDropStats" : nullptr), @@ -53,7 +53,7 @@ XdsClusterDropStats::XdsClusterDropStats( eds_service_name_(eds_service_name) { if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log(GPR_INFO, "[xds_client %p] created drop stats %p for {%s, %s, %s}", - xds_client_.get(), this, lrs_server_.server_uri().c_str(), + xds_client_.get(), this, std::string(lrs_server_).c_str(), std::string(cluster_name_).c_str(), std::string(eds_service_name_).c_str()); } @@ -63,7 +63,7 @@ XdsClusterDropStats::~XdsClusterDropStats() { if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log(GPR_INFO, "[xds_client %p] destroying drop stats %p for {%s, %s, %s}", - xds_client_.get(), this, lrs_server_.server_uri().c_str(), + xds_client_.get(), this, std::string(lrs_server_).c_str(), std::string(cluster_name_).c_str(), std::string(eds_service_name_).c_str()); } @@ -94,9 +94,9 @@ void XdsClusterDropStats::AddCallDropped(const std::string& category) { // XdsClusterLocalityStats::XdsClusterLocalityStats( - RefCountedPtr xds_client, - const XdsBootstrap::XdsServer& lrs_server, absl::string_view cluster_name, - absl::string_view eds_service_name, RefCountedPtr name) + RefCountedPtr xds_client, absl::string_view lrs_server, + absl::string_view cluster_name, absl::string_view eds_service_name, + RefCountedPtr name) : RefCounted(GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_refcount_trace) ? "XdsClusterLocalityStats" : nullptr), @@ -108,7 +108,7 @@ XdsClusterLocalityStats::XdsClusterLocalityStats( if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log(GPR_INFO, "[xds_client %p] created locality stats %p for {%s, %s, %s, %s}", - xds_client_.get(), this, lrs_server_.server_uri().c_str(), + xds_client_.get(), this, std::string(lrs_server_).c_str(), std::string(cluster_name_).c_str(), std::string(eds_service_name_).c_str(), name_->AsHumanReadableString().c_str()); @@ -119,7 +119,7 @@ XdsClusterLocalityStats::~XdsClusterLocalityStats() { if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_client_trace)) { gpr_log(GPR_INFO, "[xds_client %p] destroying locality stats %p for {%s, %s, %s, %s}", - xds_client_.get(), this, lrs_server_.server_uri().c_str(), + xds_client_.get(), this, std::string(lrs_server_).c_str(), std::string(cluster_name_).c_str(), std::string(eds_service_name_).c_str(), name_->AsHumanReadableString().c_str()); diff --git a/src/core/ext/xds/xds_client_stats.h b/src/core/ext/xds/xds_client_stats.h index 0a5a293ba68..55385fa2e90 100644 --- a/src/core/ext/xds/xds_client_stats.h +++ b/src/core/ext/xds/xds_client_stats.h @@ -23,7 +23,6 @@ #include #include -#include #include #include #include @@ -38,7 +37,7 @@ #include "src/core/lib/gprpp/ref_counted.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/gprpp/sync.h" -#include "src/core/lib/resolver/server_address.h" +#include "src/core/resolver/endpoint_addresses.h" namespace grpc_core { @@ -87,13 +86,9 @@ class XdsLocalityName : public RefCounted { const std::string& zone() const { return zone_; } const std::string& sub_zone() const { return sub_zone_; } - const std::string& AsHumanReadableString() { - if (human_readable_string_.empty()) { - human_readable_string_ = - absl::StrFormat("{region=\"%s\", zone=\"%s\", sub_zone=\"%s\"}", - region_, zone_, sub_zone_); - } - return human_readable_string_; + std::string AsHumanReadableString() const { + return absl::StrFormat("{region=\"%s\", zone=\"%s\", sub_zone=\"%s\"}", + region_, zone_, sub_zone_); } // Channel args traits. @@ -109,7 +104,6 @@ class XdsLocalityName : public RefCounted { std::string region_; std::string zone_; std::string sub_zone_; - std::string human_readable_string_; }; // Drop stats for an xds cluster. @@ -142,7 +136,7 @@ class XdsClusterDropStats : public RefCounted { }; XdsClusterDropStats(RefCountedPtr xds_client, - const XdsBootstrap::XdsServer& lrs_server, + absl::string_view lrs_server, absl::string_view cluster_name, absl::string_view eds_service_name); ~XdsClusterDropStats() override; @@ -155,7 +149,7 @@ class XdsClusterDropStats : public RefCounted { private: RefCountedPtr xds_client_; - const XdsBootstrap::XdsServer& lrs_server_; + absl::string_view lrs_server_; absl::string_view cluster_name_; absl::string_view eds_service_name_; std::atomic uncategorized_drops_{0}; @@ -216,7 +210,7 @@ class XdsClusterLocalityStats : public RefCounted { }; XdsClusterLocalityStats(RefCountedPtr xds_client, - const XdsBootstrap::XdsServer& lrs_server_, + absl::string_view lrs_server, absl::string_view cluster_name, absl::string_view eds_service_name, RefCountedPtr name); @@ -245,7 +239,7 @@ class XdsClusterLocalityStats : public RefCounted { }; RefCountedPtr xds_client_; - const XdsBootstrap::XdsServer& lrs_server_; + absl::string_view lrs_server_; absl::string_view cluster_name_; absl::string_view eds_service_name_; RefCountedPtr name_; diff --git a/src/core/ext/xds/xds_cluster.cc b/src/core/ext/xds/xds_cluster.cc index f4cddf8f959..a12b20d8252 100644 --- a/src/core/ext/xds/xds_cluster.cc +++ b/src/core/ext/xds/xds_cluster.cc @@ -38,13 +38,17 @@ #include "envoy/config/core/v3/address.upb.h" #include "envoy/config/core/v3/base.upb.h" #include "envoy/config/core/v3/config_source.upb.h" +#include "envoy/config/core/v3/extension.upb.h" #include "envoy/config/core/v3/health_check.upb.h" +#include "envoy/config/core/v3/protocol.upb.h" #include "envoy/config/endpoint/v3/endpoint.upb.h" #include "envoy/config/endpoint/v3/endpoint_components.upb.h" #include "envoy/extensions/clusters/aggregate/v3/cluster.upb.h" #include "envoy/extensions/transport_sockets/tls/v3/tls.upb.h" +#include "envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h" #include "google/protobuf/any.upb.h" #include "google/protobuf/duration.upb.h" +#include "google/protobuf/struct.upb.h" #include "google/protobuf/wrappers.upb.h" #include "upb/base/string_view.h" #include "upb/text/encode.h" @@ -65,8 +69,8 @@ #include "src/core/lib/gprpp/time.h" #include "src/core/lib/gprpp/validation_errors.h" #include "src/core/lib/json/json_writer.h" -#include "src/core/lib/load_balancing/lb_policy_registry.h" #include "src/core/lib/matchers/matchers.h" +#include "src/core/load_balancing/lb_policy_registry.h" namespace grpc_core { @@ -105,17 +109,14 @@ std::string XdsClusterResource::ToString() const { contents.push_back( absl::StrCat("common_tls_context=", common_tls_context.ToString())); } + if (connection_idle_timeout != Duration::Zero()) { + contents.push_back(absl::StrCat("connection_idle_timeout=", + connection_idle_timeout.ToString())); + } contents.push_back( absl::StrCat("max_concurrent_requests=", max_concurrent_requests)); - if (!override_host_statuses.empty()) { - std::vector statuses; - statuses.reserve(override_host_statuses.size()); - for (const auto& status : override_host_statuses) { - statuses.push_back(status.ToString()); - } - contents.push_back(absl::StrCat("override_host_statuses={", - absl::StrJoin(statuses, ", "), "}")); - } + contents.push_back(absl::StrCat("override_host_statuses=", + override_host_statuses.ToString())); return absl::StrCat("{", absl::StrJoin(contents, ", "), "}"); } @@ -407,6 +408,50 @@ void ParseLbPolicyConfig(const XdsResourceType::DecodeContext& context, } } +void ParseUpstreamConfig( + const XdsResourceType::DecodeContext& context, + const envoy_config_core_v3_TypedExtensionConfig* upstream_config, + XdsClusterResource* cds_update, ValidationErrors* errors) { + ValidationErrors::ScopedField field(errors, ".typed_config"); + const auto* typed_config = + envoy_config_core_v3_TypedExtensionConfig_typed_config(upstream_config); + auto extension = ExtractXdsExtension(context, typed_config, errors); + if (!extension.has_value()) return; + if (extension->type != + "envoy.extensions.upstreams.http.v3.HttpProtocolOptions") { + ValidationErrors::ScopedField field(errors, ".type_url"); + errors->AddError("unsupported upstream config type"); + return; + } + absl::string_view* serialized_http_protocol_options = + absl::get_if(&extension->value); + if (serialized_http_protocol_options == nullptr) { + errors->AddError("can't decode HttpProtocolOptions"); + return; + } + const auto* http_protocol_options = + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_parse( + serialized_http_protocol_options->data(), + serialized_http_protocol_options->size(), context.arena); + if (http_protocol_options == nullptr) { + errors->AddError("can't decode HttpProtocolOptions"); + return; + } + ValidationErrors::ScopedField field2(errors, ".common_http_protocol_options"); + const auto* common_http_protocol_options = + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_common_http_protocol_options( + http_protocol_options); + if (common_http_protocol_options != nullptr) { + const auto* idle_timeout = + envoy_config_core_v3_HttpProtocolOptions_idle_timeout( + common_http_protocol_options); + if (idle_timeout != nullptr) { + ValidationErrors::ScopedField field(errors, ".idle_timeout"); + cds_update->connection_idle_timeout = ParseDuration(idle_timeout, errors); + } + } +} + absl::StatusOr> CdsResourceParse( const XdsResourceType::DecodeContext& context, const envoy_config_cluster_v3_Cluster* cluster) { @@ -474,6 +519,13 @@ absl::StatusOr> CdsResourceParse( cds_update->lrs_load_reporting_server.emplace( static_cast(context.server)); } + // Protocol options. + auto* upstream_config = + envoy_config_cluster_v3_Cluster_upstream_config(cluster); + if (upstream_config != nullptr) { + ValidationErrors::ScopedField field(&errors, ".upstream_config"); + ParseUpstreamConfig(context, upstream_config, cds_update.get(), &errors); + } // The Cluster resource encodes the circuit breaking parameters in a list of // Thresholds messages, where each message specifies the parameters for a // particular RoutingPriority. we will look only at the first entry in the @@ -625,6 +677,7 @@ absl::StatusOr> CdsResourceParse( // Validate override host status. const auto* common_lb_config = envoy_config_cluster_v3_Cluster_common_lb_config(cluster); + bool override_host_status_found = false; if (common_lb_config != nullptr) { ValidationErrors::ScopedField field(&errors, ".common_lb_config"); const auto* override_host_status = @@ -638,9 +691,48 @@ absl::StatusOr> CdsResourceParse( for (size_t i = 0; i < size; ++i) { auto status = XdsHealthStatus::FromUpb(statuses[i]); if (status.has_value()) { - cds_update->override_host_statuses.insert(*status); + cds_update->override_host_statuses.Add(*status); + } + } + override_host_status_found = true; + } + } + // If the field is not set, we default to [UNKNOWN, HEALTHY]. + if (!override_host_status_found) { + cds_update->override_host_statuses.Add( + XdsHealthStatus(XdsHealthStatus::kUnknown)); + cds_update->override_host_statuses.Add( + XdsHealthStatus(XdsHealthStatus::kHealthy)); + } + // Record telemetry labels (if any). + const envoy_config_core_v3_Metadata* metadata = + envoy_config_cluster_v3_Cluster_metadata(cluster); + if (metadata != nullptr) { + google_protobuf_Struct* telemetry_labels_struct; + if (envoy_config_core_v3_Metadata_filter_metadata_get( + metadata, + StdStringToUpbString( + absl::string_view("com.google.csm.telemetry_labels")), + &telemetry_labels_struct)) { + auto telemetry_labels = + std::make_shared>(); + size_t iter = kUpb_Map_Begin; + const google_protobuf_Struct_FieldsEntry* fields_entry; + while ((fields_entry = google_protobuf_Struct_fields_next( + telemetry_labels_struct, &iter)) != nullptr) { + // Adds any entry whose value is a string to telemetry_labels. + const google_protobuf_Value* value = + google_protobuf_Struct_FieldsEntry_value(fields_entry); + if (google_protobuf_Value_has_string_value(value)) { + telemetry_labels->emplace( + UpbStringToStdString( + google_protobuf_Struct_FieldsEntry_key(fields_entry)), + UpbStringToStdString(google_protobuf_Value_string_value(value))); } } + if (!telemetry_labels->empty()) { + cds_update->telemetry_labels = std::move(telemetry_labels); + } } } // Return result. @@ -658,7 +750,8 @@ void MaybeLogCluster(const XdsResourceType::DecodeContext& context, const upb_MessageDef* msg_type = envoy_config_cluster_v3_Cluster_getmsgdef(context.symtab); char buf[10240]; - upb_TextEncode(cluster, msg_type, nullptr, 0, buf, sizeof(buf)); + upb_TextEncode(reinterpret_cast(cluster), msg_type, + nullptr, 0, buf, sizeof(buf)); gpr_log(GPR_DEBUG, "[xds_client %p] Cluster: %s", context.client, buf); } } diff --git a/src/core/ext/xds/xds_cluster.h b/src/core/ext/xds/xds_cluster.h index aa3ac67baec..a8bf915a22c 100644 --- a/src/core/ext/xds/xds_cluster.h +++ b/src/core/ext/xds/xds_cluster.h @@ -31,9 +31,11 @@ #include "envoy/config/cluster/v3/cluster.upbdefs.h" #include "envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h" #include "envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h" +#include "envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h" #include "upb/reflection/def.h" -#include "src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h" +#include + #include "src/core/ext/xds/xds_bootstrap.h" #include "src/core/ext/xds/xds_bootstrap_grpc.h" #include "src/core/ext/xds/xds_client.h" @@ -42,6 +44,7 @@ #include "src/core/ext/xds/xds_resource_type.h" #include "src/core/ext/xds/xds_resource_type_impl.h" #include "src/core/lib/json/json.h" +#include "src/core/load_balancing/outlier_detection/outlier_detection.h" namespace grpc_core { @@ -87,18 +90,24 @@ struct XdsClusterResource : public XdsResourceType::ResourceData { // Tls Context used by clients CommonTlsContext common_tls_context; + // Connection idle timeout. Currently used only for SSA. + Duration connection_idle_timeout = Duration::Hours(1); + // Maximum number of outstanding requests can be made to the upstream // cluster. uint32_t max_concurrent_requests = 1024; absl::optional outlier_detection; - std::set override_host_statuses; + XdsHealthStatusSet override_host_statuses; + + std::shared_ptr> telemetry_labels; bool operator==(const XdsClusterResource& other) const { return type == other.type && lb_policy_config == other.lb_policy_config && lrs_load_reporting_server == other.lrs_load_reporting_server && common_tls_context == other.common_tls_context && + connection_idle_timeout == other.connection_idle_timeout && max_concurrent_requests == other.max_concurrent_requests && outlier_detection == other.outlier_detection && override_host_statuses == other.override_host_statuses; @@ -124,6 +133,7 @@ class XdsClusterResourceType envoy_extensions_clusters_aggregate_v3_ClusterConfig_getmsgdef(symtab); envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_getmsgdef( symtab); + envoy_extensions_upstreams_http_v3_HttpProtocolOptions_getmsgdef(symtab); } }; diff --git a/src/core/ext/xds/xds_cluster_specifier_plugin.cc b/src/core/ext/xds/xds_cluster_specifier_plugin.cc index 97b6229df39..08e1ceb894d 100644 --- a/src/core/ext/xds/xds_cluster_specifier_plugin.cc +++ b/src/core/ext/xds/xds_cluster_specifier_plugin.cc @@ -26,9 +26,9 @@ #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/types/variant.h" -#include "upb/base/status.h" +#include "upb/base/status.hpp" #include "upb/json/encode.h" -#include "upb/upb.hpp" +#include "upb/mem/arena.hpp" #include #include @@ -70,8 +70,9 @@ Json XdsRouteLookupClusterSpecifierPlugin::GenerateLoadBalancingPolicyConfig( errors->AddError("could not parse plugin config"); return {}; } - const auto* plugin_config = - grpc_lookup_v1_RouteLookupClusterSpecifier_route_lookup_config(specifier); + const auto* plugin_config = reinterpret_cast( + grpc_lookup_v1_RouteLookupClusterSpecifier_route_lookup_config( + specifier)); if (plugin_config == nullptr) { ValidationErrors::ScopedField field(errors, ".route_lookup_config"); errors->AddError("field not present"); @@ -98,7 +99,10 @@ Json XdsRouteLookupClusterSpecifierPlugin::GenerateLoadBalancingPolicyConfig( {"routeLookupConfig", std::move(*json)}, {"childPolicy", Json::FromArray({ - Json::FromObject({{"cds_experimental", Json::FromObject({})}}), + Json::FromObject({{"cds_experimental", + Json::FromObject({ + {"isDynamic", Json::FromBool(true)}, + })}}), })}, {"childPolicyConfigTargetFieldName", Json::FromString("cluster")}, })}})}); diff --git a/src/core/ext/xds/xds_common_types.cc b/src/core/ext/xds/xds_common_types.cc index 73985d17258..d91e19d569d 100644 --- a/src/core/ext/xds/xds_common_types.cc +++ b/src/core/ext/xds/xds_common_types.cc @@ -22,7 +22,6 @@ #include #include -#include #include #include @@ -39,10 +38,9 @@ #include "google/protobuf/struct.upb.h" #include "google/protobuf/struct.upbdefs.h" #include "google/protobuf/wrappers.upb.h" -#include "upb/base/status.h" +#include "upb/base/status.hpp" #include "upb/json/encode.h" #include "upb/mem/arena.h" -#include "upb/upb.hpp" #include "xds/type/v3/typed_struct.upb.h" #include @@ -386,13 +384,16 @@ CommonTlsContext CommonTlsContext::Parse( CertificateProviderInstanceParse( context, tls_certificate_certificate_provider_instance, errors); } else { - if (envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_has_tls_certificates( - common_tls_context_proto)) { + size_t size; + envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_tls_certificates( + common_tls_context_proto, &size); + if (size != 0) { ValidationErrors::ScopedField field(errors, ".tls_certificates"); errors->AddError("feature unsupported"); } - if (envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_has_tls_certificate_sds_secret_configs( - common_tls_context_proto)) { + envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_tls_certificate_sds_secret_configs( + common_tls_context_proto, &size); + if (size != 0) { ValidationErrors::ScopedField field( errors, ".tls_certificate_sds_secret_configs"); errors->AddError("feature unsupported"); @@ -423,16 +424,18 @@ absl::StatusOr ParseProtobufStructToJson( const google_protobuf_Struct* resource) { upb::Status status; const auto* msg_def = google_protobuf_Struct_getmsgdef(context.symtab); - size_t json_size = upb_JsonEncode(resource, msg_def, context.symtab, 0, - nullptr, 0, status.ptr()); + size_t json_size = + upb_JsonEncode(reinterpret_cast(resource), msg_def, + context.symtab, 0, nullptr, 0, status.ptr()); if (json_size == static_cast(-1)) { return absl::InvalidArgumentError( absl::StrCat("error encoding google::Protobuf::Struct as JSON: ", upb_Status_ErrorMessage(status.ptr()))); } void* buf = upb_Arena_Malloc(context.arena, json_size + 1); - upb_JsonEncode(resource, msg_def, context.symtab, 0, - reinterpret_cast(buf), json_size + 1, status.ptr()); + upb_JsonEncode(reinterpret_cast(resource), msg_def, + context.symtab, 0, reinterpret_cast(buf), json_size + 1, + status.ptr()); auto json = JsonParse(reinterpret_cast(buf)); if (!json.ok()) { // This should never happen. diff --git a/src/core/ext/xds/xds_endpoint.cc b/src/core/ext/xds/xds_endpoint.cc index 26aa7e789f5..761d54969e1 100644 --- a/src/core/ext/xds/xds_endpoint.cc +++ b/src/core/ext/xds/xds_endpoint.cc @@ -50,18 +50,35 @@ #include "src/core/lib/address_utils/sockaddr_utils.h" #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/debug/trace.h" +#include "src/core/lib/gpr/string.h" +#include "src/core/lib/gprpp/env.h" #include "src/core/lib/gprpp/validation_errors.h" #include "src/core/lib/iomgr/resolved_address.h" +// IWYU pragma: no_include "absl/meta/type_traits.h" + namespace grpc_core { +namespace { + +// TODO(roth): Remove this once dualstack support is stable. +bool XdsDualstackEndpointsEnabled() { + auto value = GetEnv("GRPC_EXPERIMENTAL_XDS_DUALSTACK_ENDPOINTS"); + if (!value.has_value()) return false; + bool parsed_value; + bool parse_succeeded = gpr_parse_bool_value(value->c_str(), &parsed_value); + return parse_succeeded && parsed_value; +} + +} // namespace + // // XdsEndpointResource // std::string XdsEndpointResource::Priority::Locality::ToString() const { std::vector endpoint_strings; - for (const ServerAddress& endpoint : endpoints) { + for (const EndpointAddresses& endpoint : endpoints) { endpoint_strings.emplace_back(endpoint.ToString()); } return absl::StrCat("{name=", name->AsHumanReadableString(), @@ -125,8 +142,9 @@ std::string XdsEndpointResource::ToString() const { priority_strings.emplace_back( absl::StrCat("priority ", i, ": ", priority.ToString())); } - return absl::StrCat("priorities=[", absl::StrJoin(priority_strings, ", "), - "], drop_config=", drop_config->ToString()); + return absl::StrCat( + "priorities=[", absl::StrJoin(priority_strings, ", "), "], drop_config=", + drop_config == nullptr ? "" : drop_config->ToString()); } // @@ -144,13 +162,46 @@ void MaybeLogClusterLoadAssignment( envoy_config_endpoint_v3_ClusterLoadAssignment_getmsgdef( context.symtab); char buf[10240]; - upb_TextEncode(cla, msg_type, nullptr, 0, buf, sizeof(buf)); + upb_TextEncode(reinterpret_cast(cla), msg_type, nullptr, + 0, buf, sizeof(buf)); gpr_log(GPR_DEBUG, "[xds_client %p] ClusterLoadAssignment: %s", context.client, buf); } } -absl::optional ServerAddressParse( +absl::optional ParseCoreAddress( + const envoy_config_core_v3_Address* address, ValidationErrors* errors) { + if (address == nullptr) { + errors->AddError("field not present"); + return absl::nullopt; + } + ValidationErrors::ScopedField field(errors, ".socket_address"); + const envoy_config_core_v3_SocketAddress* socket_address = + envoy_config_core_v3_Address_socket_address(address); + if (socket_address == nullptr) { + errors->AddError("field not present"); + return absl::nullopt; + } + std::string address_str = UpbStringToStdString( + envoy_config_core_v3_SocketAddress_address(socket_address)); + uint32_t port; + { + ValidationErrors::ScopedField field(errors, ".port_value"); + port = envoy_config_core_v3_SocketAddress_port_value(socket_address); + if (GPR_UNLIKELY(port >> 16) != 0) { + errors->AddError("invalid port"); + return absl::nullopt; + } + } + auto addr = StringToSockaddr(address_str, port); + if (!addr.ok()) { + errors->AddError(addr.status().message()); + return absl::nullopt; + } + return *addr; +} + +absl::optional EndpointAddressesParse( const envoy_config_endpoint_v3_LbEndpoint* lb_endpoint, ValidationErrors* errors) { // health_status @@ -172,7 +223,7 @@ absl::optional ServerAddressParse( } } // endpoint - grpc_resolved_address grpc_address; + std::vector addresses; { ValidationErrors::ScopedField field(errors, ".endpoint"); const envoy_config_endpoint_v3_Endpoint* endpoint = @@ -181,43 +232,34 @@ absl::optional ServerAddressParse( errors->AddError("field not present"); return absl::nullopt; } - ValidationErrors::ScopedField field2(errors, ".address"); - const envoy_config_core_v3_Address* address = - envoy_config_endpoint_v3_Endpoint_address(endpoint); - if (address == nullptr) { - errors->AddError("field not present"); - return absl::nullopt; - } - ValidationErrors::ScopedField field3(errors, ".socket_address"); - const envoy_config_core_v3_SocketAddress* socket_address = - envoy_config_core_v3_Address_socket_address(address); - if (socket_address == nullptr) { - errors->AddError("field not present"); - return absl::nullopt; - } - std::string address_str = UpbStringToStdString( - envoy_config_core_v3_SocketAddress_address(socket_address)); - uint32_t port; { - ValidationErrors::ScopedField field(errors, ".port_value"); - port = envoy_config_core_v3_SocketAddress_port_value(socket_address); - if (GPR_UNLIKELY(port >> 16) != 0) { - errors->AddError("invalid port"); - return absl::nullopt; - } + ValidationErrors::ScopedField field(errors, ".address"); + auto address = ParseCoreAddress( + envoy_config_endpoint_v3_Endpoint_address(endpoint), errors); + if (address.has_value()) addresses.push_back(*address); } - auto addr = StringToSockaddr(address_str, port); - if (!addr.ok()) { - errors->AddError(addr.status().message()); - } else { - grpc_address = *addr; + if (XdsDualstackEndpointsEnabled()) { + size_t size; + auto* additional_addresses = + envoy_config_endpoint_v3_Endpoint_additional_addresses(endpoint, + &size); + for (size_t i = 0; i < size; ++i) { + ValidationErrors::ScopedField field( + errors, absl::StrCat(".additional_addresses[", i, "].address")); + auto address = ParseCoreAddress( + envoy_config_endpoint_v3_Endpoint_AdditionalAddress_address( + additional_addresses[i]), + errors); + if (address.has_value()) addresses.push_back(*address); + } } } - // Convert to ServerAddress. - return ServerAddress(grpc_address, - ChannelArgs() - .Set(GRPC_ARG_ADDRESS_WEIGHT, weight) - .Set(GRPC_ARG_XDS_HEALTH_STATUS, status->status())); + if (addresses.empty()) return absl::nullopt; + // Convert to EndpointAddresses. + return EndpointAddresses( + addresses, ChannelArgs() + .Set(GRPC_ARG_ADDRESS_WEIGHT, weight) + .Set(GRPC_ARG_XDS_HEALTH_STATUS, status->status())); } struct ParsedLocality { @@ -277,16 +319,17 @@ absl::optional LocalityParse( for (size_t i = 0; i < size; ++i) { ValidationErrors::ScopedField field(errors, absl::StrCat(".lb_endpoints[", i, "]")); - auto address = ServerAddressParse(lb_endpoints[i], errors); - if (address.has_value()) { - bool inserted = address_set->insert(address->address()).second; - if (!inserted) { - errors->AddError(absl::StrCat( - "duplicate endpoint address \"", - grpc_sockaddr_to_uri(&address->address()).value_or(""), - "\"")); + auto endpoint = EndpointAddressesParse(lb_endpoints[i], errors); + if (endpoint.has_value()) { + for (const auto& address : endpoint->addresses()) { + bool inserted = address_set->insert(address).second; + if (!inserted) { + errors->AddError(absl::StrCat( + "duplicate endpoint address \"", + grpc_sockaddr_to_uri(&address).value_or(""), "\"")); + } } - parsed_locality.locality.endpoints.push_back(std::move(*address)); + parsed_locality.locality.endpoints.push_back(std::move(*endpoint)); } } // priority @@ -406,7 +449,6 @@ absl::StatusOr> EdsResourceParse( } } // policy - eds_resource->drop_config = MakeRefCounted(); const auto* policy = envoy_config_endpoint_v3_ClusterLoadAssignment_policy( cluster_load_assignment); if (policy != nullptr) { @@ -415,6 +457,10 @@ absl::StatusOr> EdsResourceParse( const auto* const* drop_overload = envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_drop_overloads( policy, &drop_size); + if (drop_size > 0) { + eds_resource->drop_config = + MakeRefCounted(); + } for (size_t i = 0; i < drop_size; ++i) { ValidationErrors::ScopedField field( &errors, absl::StrCat(".drop_overloads[", i, "]")); diff --git a/src/core/ext/xds/xds_endpoint.h b/src/core/ext/xds/xds_endpoint.h index f2bdfff5c92..faa33192c33 100644 --- a/src/core/ext/xds/xds_endpoint.h +++ b/src/core/ext/xds/xds_endpoint.h @@ -40,7 +40,7 @@ #include "src/core/lib/gprpp/ref_counted.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/gprpp/sync.h" -#include "src/core/lib/resolver/server_address.h" +#include "src/core/resolver/endpoint_addresses.h" namespace grpc_core { @@ -49,7 +49,7 @@ struct XdsEndpointResource : public XdsResourceType::ResourceData { struct Locality { RefCountedPtr name; uint32_t lb_weight; - ServerAddressList endpoints; + EndpointAddressesList endpoints; bool operator==(const Locality& other) const { return *name == *other.name && lb_weight == other.lb_weight && @@ -62,6 +62,7 @@ struct XdsEndpointResource : public XdsResourceType::ResourceData { std::map localities; bool operator==(const Priority& other) const; + bool operator!=(const Priority& other) const { return !(*this == other); } std::string ToString() const; }; using PriorityList = std::vector; @@ -121,7 +122,10 @@ struct XdsEndpointResource : public XdsResourceType::ResourceData { RefCountedPtr drop_config; bool operator==(const XdsEndpointResource& other) const { - return priorities == other.priorities && *drop_config == *other.drop_config; + if (priorities != other.priorities) return false; + if (drop_config == nullptr) return other.drop_config == nullptr; + if (other.drop_config == nullptr) return false; + return *drop_config == *other.drop_config; } std::string ToString() const; }; diff --git a/src/core/ext/xds/xds_health_status.cc b/src/core/ext/xds/xds_health_status.cc index 8626a6f46f6..ad504ad91d0 100644 --- a/src/core/ext/xds/xds_health_status.cc +++ b/src/core/ext/xds/xds_health_status.cc @@ -18,6 +18,10 @@ #include "src/core/ext/xds/xds_health_status.h" +#include + +#include "absl/strings/str_cat.h" +#include "absl/strings/str_join.h" #include "envoy/config/core/v3/health_check.upb.h" namespace grpc_core { @@ -56,8 +60,16 @@ const char* XdsHealthStatus::ToString() const { } } -bool operator<(const XdsHealthStatus& hs1, const XdsHealthStatus& hs2) { - return hs1.status() < hs2.status(); +std::string XdsHealthStatusSet::ToString() const { + std::vector set; + set.reserve(3); + for (const auto& status : + {XdsHealthStatus::kUnknown, XdsHealthStatus::kHealthy, + XdsHealthStatus::kDraining}) { + const XdsHealthStatus health_status(status); + if (Contains(health_status)) set.push_back(health_status.ToString()); + } + return absl::StrCat("{", absl::StrJoin(set, ", "), "}"); } } // namespace grpc_core diff --git a/src/core/ext/xds/xds_health_status.h b/src/core/ext/xds/xds_health_status.h index c680a03aa6a..2ad46f082f3 100644 --- a/src/core/ext/xds/xds_health_status.h +++ b/src/core/ext/xds/xds_health_status.h @@ -25,7 +25,7 @@ #include "absl/types/optional.h" #include "absl/types/span.h" -#include "src/core/lib/resolver/server_address.h" +#include "src/core/resolver/endpoint_addresses.h" // Channel arg key for xDS health status. // Value is an XdsHealthStatus::HealthStatus enum. @@ -70,6 +70,8 @@ class XdsHealthStatusSet { return status_mask_ == other.status_mask_; } + bool Empty() const { return status_mask_ == 0; } + void Clear() { status_mask_ = 0; } void Add(XdsHealthStatus status) { status_mask_ |= (0x1 << status.status()); } @@ -78,12 +80,12 @@ class XdsHealthStatusSet { return status_mask_ & (0x1 << status.status()); } + std::string ToString() const; + private: int status_mask_ = 0; }; -bool operator<(const XdsHealthStatus& hs1, const XdsHealthStatus& hs2); - } // namespace grpc_core #endif // GRPC_SRC_CORE_EXT_XDS_XDS_HEALTH_STATUS_H diff --git a/src/core/ext/xds/xds_http_filters.cc b/src/core/ext/xds/xds_http_filters.cc index d773e9908bc..b724b5facdd 100644 --- a/src/core/ext/xds/xds_http_filters.cc +++ b/src/core/ext/xds/xds_http_filters.cc @@ -18,7 +18,6 @@ #include "src/core/ext/xds/xds_http_filters.h" -#include #include #include #include diff --git a/src/core/ext/xds/xds_http_rbac_filter.cc b/src/core/ext/xds/xds_http_rbac_filter.cc index ed107c37a37..7ceb4a13e6e 100644 --- a/src/core/ext/xds/xds_http_rbac_filter.cc +++ b/src/core/ext/xds/xds_http_rbac_filter.cc @@ -40,7 +40,7 @@ #include "envoy/type/matcher/v3/string.upb.h" #include "envoy/type/v3/range.upb.h" #include "google/protobuf/wrappers.upb.h" -#include "upb/collections/map.h" +#include "upb/message/map.h" #include @@ -486,8 +486,10 @@ Json ParseHttpRbacToJson(const XdsResourceType::DecodeContext& context, ValidationErrors::ScopedField field(errors, ".audit_condition"); errors->AddError("invalid audit condition"); } - if (envoy_config_rbac_v3_RBAC_AuditLoggingOptions_has_logger_configs( - audit_logging_options)) { + size_t size; + envoy_config_rbac_v3_RBAC_AuditLoggingOptions_logger_configs( + audit_logging_options, &size); + if (size != 0) { inner_rbac_json.emplace("audit_loggers", ParseAuditLoggerConfigsToJson( context, audit_logging_options, errors)); diff --git a/src/core/ext/xds/xds_lb_policy_registry.cc b/src/core/ext/xds/xds_lb_policy_registry.cc index a8cb6de128e..e10b55d4b6f 100644 --- a/src/core/ext/xds/xds_lb_policy_registry.cc +++ b/src/core/ext/xds/xds_lb_policy_registry.cc @@ -40,7 +40,7 @@ #include "src/core/lib/config/core_configuration.h" #include "src/core/lib/gprpp/time.h" #include "src/core/lib/gprpp/validation_errors.h" -#include "src/core/lib/load_balancing/lb_policy_registry.h" +#include "src/core/load_balancing/lb_policy_registry.h" namespace grpc_core { diff --git a/src/core/ext/xds/xds_listener.cc b/src/core/ext/xds/xds_listener.cc index c4b12f53883..df7bf59e02c 100644 --- a/src/core/ext/xds/xds_listener.cc +++ b/src/core/ext/xds/xds_listener.cc @@ -20,7 +20,6 @@ #include -#include #include #include @@ -37,7 +36,6 @@ #include "envoy/config/listener/v3/listener.upb.h" #include "envoy/config/listener/v3/listener.upbdefs.h" #include "envoy/config/listener/v3/listener_components.upb.h" -#include "envoy/config/rbac/v3/rbac.upb.h" #include "envoy/config/route/v3/route.upb.h" #include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h" #include "envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h" @@ -45,7 +43,6 @@ #include "google/protobuf/any.upb.h" #include "google/protobuf/duration.upb.h" #include "google/protobuf/wrappers.upb.h" -#include "upb/base/string_view.h" #include "upb/text/encode.h" #include @@ -60,6 +57,7 @@ #include "src/core/lib/gprpp/match.h" #include "src/core/lib/gprpp/validation_errors.h" #include "src/core/lib/iomgr/sockaddr.h" +#include "src/core/lib/matchers/matchers.h" namespace grpc_core { @@ -293,8 +291,9 @@ void MaybeLogHttpConnectionManager( envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_getmsgdef( context.symtab); char buf[10240]; - upb_TextEncode(http_connection_manager_config, msg_type, nullptr, 0, buf, - sizeof(buf)); + upb_TextEncode( + reinterpret_cast(http_connection_manager_config), + msg_type, nullptr, 0, buf, sizeof(buf)); gpr_log(GPR_DEBUG, "[xds_client %p] HttpConnectionManager: %s", context.client, buf); } @@ -334,11 +333,15 @@ XdsListenerResource::HttpConnectionManager HttpConnectionManagerParse( } // original_ip_detection_extensions -- must be empty as per // https://github.com/grpc/proposal/blob/master/A41-xds-rbac.md - if (envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_has_original_ip_detection_extensions( - http_connection_manager_proto)) { - ValidationErrors::ScopedField field(errors, - ".original_ip_detection_extensions"); - errors->AddError("must be empty"); + { + size_t size; + envoy_extensions_filters_network_http_connection_manager_v3_HttpConnectionManager_original_ip_detection_extensions( + http_connection_manager_proto, &size); + if (size != 0) { + ValidationErrors::ScopedField field(errors, + ".original_ip_detection_extensions"); + errors->AddError("must be empty"); + } } // common_http_protocol_options const envoy_config_core_v3_HttpProtocolOptions* options = @@ -1093,7 +1096,8 @@ void MaybeLogListener(const XdsResourceType::DecodeContext& context, const upb_MessageDef* msg_type = envoy_config_listener_v3_Listener_getmsgdef(context.symtab); char buf[10240]; - upb_TextEncode(listener, msg_type, nullptr, 0, buf, sizeof(buf)); + upb_TextEncode(reinterpret_cast(listener), msg_type, + nullptr, 0, buf, sizeof(buf)); gpr_log(GPR_DEBUG, "[xds_client %p] Listener: %s", context.client, buf); } } diff --git a/src/core/ext/xds/xds_resource_type_impl.h b/src/core/ext/xds/xds_resource_type_impl.h index 35dfbbfcb4c..ed3d2d6387b 100644 --- a/src/core/ext/xds/xds_resource_type_impl.h +++ b/src/core/ext/xds/xds_resource_type_impl.h @@ -42,16 +42,18 @@ class XdsResourceTypeImpl : public XdsResourceType { class WatcherInterface : public XdsClient::ResourceWatcherInterface { public: virtual void OnResourceChanged( - std::shared_ptr resource) = 0; + std::shared_ptr resource, + RefCountedPtr read_delay_handle) = 0; private: // Get result from XdsClient generic watcher interface, perform // down-casting, and invoke the caller's OnResourceChanged() method. void OnGenericResourceChanged( - std::shared_ptr resource) - override { + std::shared_ptr resource, + RefCountedPtr read_delay_handle) override { OnResourceChanged( - std::static_pointer_cast(std::move(resource))); + std::static_pointer_cast(std::move(resource)), + std::move(read_delay_handle)); } }; diff --git a/src/core/ext/xds/xds_route_config.cc b/src/core/ext/xds/xds_route_config.cc index 178757fbd59..d248721b333 100644 --- a/src/core/ext/xds/xds_route_config.cc +++ b/src/core/ext/xds/xds_route_config.cc @@ -21,7 +21,6 @@ #include #include -#include #include #include #include @@ -53,7 +52,7 @@ #include "google/protobuf/wrappers.upb.h" #include "re2/re2.h" #include "upb/base/string_view.h" -#include "upb/collections/map.h" +#include "upb/message/map.h" #include "upb/text/encode.h" #include @@ -75,8 +74,8 @@ #include "src/core/lib/gprpp/time.h" #include "src/core/lib/json/json.h" #include "src/core/lib/json/json_writer.h" -#include "src/core/lib/load_balancing/lb_policy_registry.h" #include "src/core/lib/matchers/matchers.h" +#include "src/core/load_balancing/lb_policy_registry.h" namespace grpc_core { @@ -289,33 +288,44 @@ std::string XdsRouteConfigResource::Route::ToString() const { return absl::StrJoin(contents, "\n"); } +// +// XdsRouteConfigResource::Route +// + +std::string XdsRouteConfigResource::VirtualHost::ToString() const { + std::vector parts; + parts.push_back( + absl::StrCat("vhost={\n" + " domains=[", + absl::StrJoin(domains, ", "), + "]\n" + " routes=[\n")); + for (const XdsRouteConfigResource::Route& route : routes) { + parts.push_back(" {\n"); + parts.push_back(route.ToString()); + parts.push_back("\n }\n"); + } + parts.push_back(" ]\n"); + parts.push_back(" typed_per_filter_config={\n"); + for (const auto& p : typed_per_filter_config) { + const std::string& name = p.first; + const auto& config = p.second; + parts.push_back(absl::StrCat(" ", name, "=", config.ToString(), "\n")); + } + parts.push_back(" }\n"); + parts.push_back("}\n"); + return absl::StrJoin(parts, ""); +} + // // XdsRouteConfigResource // std::string XdsRouteConfigResource::ToString() const { std::vector parts; + parts.reserve(virtual_hosts.size()); for (const VirtualHost& vhost : virtual_hosts) { - parts.push_back( - absl::StrCat("vhost={\n" - " domains=[", - absl::StrJoin(vhost.domains, ", "), - "]\n" - " routes=[\n")); - for (const XdsRouteConfigResource::Route& route : vhost.routes) { - parts.push_back(" {\n"); - parts.push_back(route.ToString()); - parts.push_back("\n }\n"); - } - parts.push_back(" ]\n"); - parts.push_back(" typed_per_filter_config={\n"); - for (const auto& p : vhost.typed_per_filter_config) { - const std::string& name = p.first; - const auto& config = p.second; - parts.push_back(absl::StrCat(" ", name, "=", config.ToString(), "\n")); - } - parts.push_back(" }\n"); - parts.push_back("]\n"); + parts.push_back(vhost.ToString()); } parts.push_back("cluster_specifier_plugins={\n"); for (const auto& it : cluster_specifier_plugin_map) { @@ -1138,7 +1148,8 @@ void MaybeLogRouteConfiguration( const upb_MessageDef* msg_type = envoy_config_route_v3_RouteConfiguration_getmsgdef(context.symtab); char buf[10240]; - upb_TextEncode(route_config, msg_type, nullptr, 0, buf, sizeof(buf)); + upb_TextEncode(reinterpret_cast(route_config), msg_type, + nullptr, 0, buf, sizeof(buf)); gpr_log(GPR_DEBUG, "[xds_client %p] RouteConfiguration: %s", context.client, buf); } diff --git a/src/core/ext/xds/xds_route_config.h b/src/core/ext/xds/xds_route_config.h index 96aeb83c8fb..e9cc39efc57 100644 --- a/src/core/ext/xds/xds_route_config.h +++ b/src/core/ext/xds/xds_route_config.h @@ -209,6 +209,7 @@ struct XdsRouteConfigResource : public XdsResourceType::ResourceData { return domains == other.domains && routes == other.routes && typed_per_filter_config == other.typed_per_filter_config; } + std::string ToString() const; }; std::vector virtual_hosts; diff --git a/src/core/ext/xds/xds_server_config_fetcher.cc b/src/core/ext/xds/xds_server_config_fetcher.cc index a1efdf1a995..6e406843a64 100644 --- a/src/core/ext/xds/xds_server_config_fetcher.cc +++ b/src/core/ext/xds/xds_server_config_fetcher.cc @@ -52,6 +52,7 @@ #include "src/core/ext/xds/xds_bootstrap_grpc.h" #include "src/core/ext/xds/xds_certificate_provider.h" #include "src/core/ext/xds/xds_channel_stack_modifier.h" +#include "src/core/ext/xds/xds_client.h" #include "src/core/ext/xds/xds_client_grpc.h" #include "src/core/ext/xds/xds_common_types.h" #include "src/core/ext/xds/xds_http_filters.h" @@ -81,16 +82,20 @@ #include "src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h" #include "src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h" #include "src/core/lib/security/credentials/xds/xds_credentials.h" -#include "src/core/lib/service_config/service_config.h" -#include "src/core/lib/service_config/service_config_impl.h" #include "src/core/lib/surface/api_trace.h" #include "src/core/lib/surface/server.h" #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/uri/uri_parser.h" +#include "src/core/service_config/service_config.h" +#include "src/core/service_config/service_config_impl.h" namespace grpc_core { namespace { +using ReadDelayHandle = XdsClient::ReadDelayHandle; + +constexpr absl::string_view kServerXdsClientKey = "#server"; + TraceFlag grpc_xds_server_config_fetcher_trace(false, "xds_server_config_fetcher"); @@ -151,11 +156,14 @@ class XdsServerConfigFetcher::ListenerWatcher } void OnResourceChanged( - std::shared_ptr listener) override; + std::shared_ptr listener, + RefCountedPtr read_delay_handle) override; - void OnError(absl::Status status) override; + void OnError(absl::Status status, + RefCountedPtr read_delay_handle) override; - void OnResourceDoesNotExist() override; + void OnResourceDoesNotExist( + RefCountedPtr read_delay_handle) override; const std::string& listening_address() const { return listening_address_; } @@ -225,15 +233,6 @@ class XdsServerConfigFetcher::ListenerWatcher::FilterChainMatchManager } private: - struct CertificateProviders { - // We need to save our own refs to the root and instance certificate - // providers since the xds certificate provider just stores a ref to their - // distributors. - RefCountedPtr root; - RefCountedPtr instance; - RefCountedPtr xds; - }; - class RouteConfigWatcher; struct RdsUpdateState { RouteConfigWatcher* watcher; @@ -271,7 +270,8 @@ class XdsServerConfigFetcher::ListenerWatcher::FilterChainMatchManager size_t rds_resources_yet_to_fetch_ ABSL_GUARDED_BY(mu_) = 0; std::map rds_map_ ABSL_GUARDED_BY(mu_); - std::map + std::map> certificate_providers_map_ ABSL_GUARDED_BY(mu_); }; @@ -292,16 +292,20 @@ class XdsServerConfigFetcher::ListenerWatcher::FilterChainMatchManager:: filter_chain_match_manager_(std::move(filter_chain_match_manager)) {} void OnResourceChanged( - std::shared_ptr route_config) override { + std::shared_ptr route_config, + RefCountedPtr /* read_delay_handle */) override { filter_chain_match_manager_->OnRouteConfigChanged(resource_name_, std::move(route_config)); } - void OnError(absl::Status status) override { + void OnError( + absl::Status status, + RefCountedPtr /* read_delay_handle */) override { filter_chain_match_manager_->OnError(resource_name_, status); } - void OnResourceDoesNotExist() override { + void OnResourceDoesNotExist( + RefCountedPtr /* read_delay_handle */) override { filter_chain_match_manager_->OnResourceDoesNotExist(resource_name_); } @@ -488,13 +492,21 @@ class XdsServerConfigFetcher::ListenerWatcher::FilterChainMatchManager:: : parent_(std::move(parent)) {} void OnResourceChanged( - std::shared_ptr route_config) override { + std::shared_ptr route_config, + RefCountedPtr /* read_delay_handle */) override { parent_->OnRouteConfigChanged(std::move(route_config)); } - void OnError(absl::Status status) override { parent_->OnError(status); } + void OnError( + absl::Status status, + RefCountedPtr /* read_delay_handle */) override { + parent_->OnError(status); + } - void OnResourceDoesNotExist() override { parent_->OnResourceDoesNotExist(); } + void OnResourceDoesNotExist( + RefCountedPtr /* read_delay_handle */) override { + parent_->OnResourceDoesNotExist(); + } private: WeakRefCountedPtr parent_; @@ -527,7 +539,7 @@ void XdsServerConfigFetcher::StartWatch( std::unique_ptr watcher) { grpc_server_config_fetcher::WatcherInterface* watcher_ptr = watcher.get(); auto listener_watcher = MakeRefCounted( - xds_client_->Ref(DEBUG_LOCATION, "ListenerWatcher"), std::move(watcher), + xds_client_.Ref(DEBUG_LOCATION, "ListenerWatcher"), std::move(watcher), serving_status_notifier_, listening_address); auto* listener_watcher_ptr = listener_watcher.get(); XdsListenerResourceType::StartWatch( @@ -574,7 +586,8 @@ XdsServerConfigFetcher::ListenerWatcher::ListenerWatcher( listening_address_(std::move(listening_address)) {} void XdsServerConfigFetcher::ListenerWatcher::OnResourceChanged( - std::shared_ptr listener) { + std::shared_ptr listener, + RefCountedPtr /* read_delay_handle */) { if (GRPC_TRACE_FLAG_ENABLED(grpc_xds_server_config_fetcher_trace)) { gpr_log(GPR_INFO, "[ListenerWatcher %p] Received LDS update from xds client %p: %s", @@ -595,7 +608,7 @@ void XdsServerConfigFetcher::ListenerWatcher::OnResourceChanged( return; } auto new_filter_chain_match_manager = MakeRefCounted( - xds_client_->Ref(DEBUG_LOCATION, "FilterChainMatchManager"), + xds_client_.Ref(DEBUG_LOCATION, "FilterChainMatchManager"), tcp_listener->filter_chain_map, tcp_listener->default_filter_chain); MutexLock lock(&mu_); if (filter_chain_match_manager_ == nullptr || @@ -605,11 +618,14 @@ void XdsServerConfigFetcher::ListenerWatcher::OnResourceChanged( filter_chain_match_manager_->default_filter_chain())) { pending_filter_chain_match_manager_ = std::move(new_filter_chain_match_manager); - pending_filter_chain_match_manager_->StartRdsWatch(Ref()); + pending_filter_chain_match_manager_->StartRdsWatch( + RefAsSubclass()); } } -void XdsServerConfigFetcher::ListenerWatcher::OnError(absl::Status status) { +void XdsServerConfigFetcher::ListenerWatcher::OnError( + absl::Status status, + RefCountedPtr /* read_delay_handle */) { MutexLock lock(&mu_); if (filter_chain_match_manager_ != nullptr || pending_filter_chain_match_manager_ != nullptr) { @@ -652,7 +668,8 @@ void XdsServerConfigFetcher::ListenerWatcher::OnFatalError( } } -void XdsServerConfigFetcher::ListenerWatcher::OnResourceDoesNotExist() { +void XdsServerConfigFetcher::ListenerWatcher::OnResourceDoesNotExist( + RefCountedPtr /* read_delay_handle */) { MutexLock lock(&mu_); OnFatalError(absl::NotFoundError("Requested listener does not exist")); } @@ -743,8 +760,8 @@ void XdsServerConfigFetcher::ListenerWatcher::FilterChainMatchManager:: MutexLock lock(&mu_); for (const auto& resource_name : resource_names) { ++rds_resources_yet_to_fetch_; - auto route_config_watcher = - MakeRefCounted(resource_name, WeakRef()); + auto route_config_watcher = MakeRefCounted( + resource_name, WeakRefAsSubclass()); rds_map_.emplace(resource_name, RdsUpdateState{route_config_watcher.get(), absl::nullopt}); watchers_to_start.push_back( @@ -786,10 +803,7 @@ XdsServerConfigFetcher::ListenerWatcher::FilterChainMatchManager:: const XdsListenerResource::FilterChainData* filter_chain) { MutexLock lock(&mu_); auto it = certificate_providers_map_.find(filter_chain); - if (it != certificate_providers_map_.end()) { - return it->second.xds; - } - CertificateProviders certificate_providers; + if (it != certificate_providers_map_.end()) return it->second; // Configure root cert. absl::string_view root_provider_instance_name = filter_chain->downstream_tls_context.common_tls_context @@ -799,11 +813,12 @@ XdsServerConfigFetcher::ListenerWatcher::FilterChainMatchManager:: filter_chain->downstream_tls_context.common_tls_context .certificate_validation_context.ca_certificate_provider_instance .certificate_name; + RefCountedPtr root_cert_provider; if (!root_provider_instance_name.empty()) { - certificate_providers.root = + root_cert_provider = xds_client_->certificate_provider_store() .CreateOrGetCertificateProvider(root_provider_instance_name); - if (certificate_providers.root == nullptr) { + if (root_cert_provider == nullptr) { return absl::NotFoundError( absl::StrCat("Certificate provider instance name: \"", root_provider_instance_name, "\" not recognized.")); @@ -816,33 +831,23 @@ XdsServerConfigFetcher::ListenerWatcher::FilterChainMatchManager:: absl::string_view identity_provider_cert_name = filter_chain->downstream_tls_context.common_tls_context .tls_certificate_provider_instance.certificate_name; + RefCountedPtr identity_cert_provider; if (!identity_provider_instance_name.empty()) { - certificate_providers.instance = + identity_cert_provider = xds_client_->certificate_provider_store() .CreateOrGetCertificateProvider(identity_provider_instance_name); - if (certificate_providers.instance == nullptr) { + if (identity_cert_provider == nullptr) { return absl::NotFoundError( absl::StrCat("Certificate provider instance name: \"", identity_provider_instance_name, "\" not recognized.")); } } - certificate_providers.xds = MakeRefCounted(); - certificate_providers.xds->UpdateRootCertNameAndDistributor( - "", root_provider_cert_name, - certificate_providers.root == nullptr - ? nullptr - : certificate_providers.root->distributor()); - certificate_providers.xds->UpdateIdentityCertNameAndDistributor( - "", identity_provider_cert_name, - certificate_providers.instance == nullptr - ? nullptr - : certificate_providers.instance->distributor()); - certificate_providers.xds->UpdateRequireClientCertificate( - "", filter_chain->downstream_tls_context.require_client_certificate); - auto xds_certificate_provider = certificate_providers.xds; - certificate_providers_map_.emplace(filter_chain, - std::move(certificate_providers)); - return xds_certificate_provider; + auto xds_cert_provider = MakeRefCounted( + std::move(root_cert_provider), root_provider_cert_name, + std::move(identity_cert_provider), identity_provider_cert_name, + filter_chain->downstream_tls_context.require_client_certificate); + certificate_providers_map_.emplace(filter_chain, xds_cert_provider); + return xds_cert_provider; } void XdsServerConfigFetcher::ListenerWatcher::FilterChainMatchManager:: @@ -1122,8 +1127,8 @@ absl::StatusOr XdsServerConfigFetcher::ListenerWatcher:: } server_config_selector_provider = MakeRefCounted( - xds_client_->Ref(DEBUG_LOCATION, - "DynamicXdsServerConfigSelectorProvider"), + xds_client_.Ref(DEBUG_LOCATION, + "DynamicXdsServerConfigSelectorProvider"), rds_name, std::move(initial_resource), filter_chain->http_connection_manager.http_filters); }, @@ -1131,8 +1136,8 @@ absl::StatusOr XdsServerConfigFetcher::ListenerWatcher:: [&](const std::shared_ptr& route_config) { server_config_selector_provider = MakeRefCounted( - xds_client_->Ref(DEBUG_LOCATION, - "StaticXdsServerConfigSelectorProvider"), + xds_client_.Ref(DEBUG_LOCATION, + "StaticXdsServerConfigSelectorProvider"), route_config, filter_chain->http_connection_manager.http_filters); }); @@ -1270,7 +1275,8 @@ XdsServerConfigFetcher::ListenerWatcher::FilterChainMatchManager:: // RouteConfigWatcher is being created here instead of in Watch() to avoid // deadlocks from invoking XdsRouteConfigResourceType::StartWatch whilst in a // critical region. - auto route_config_watcher = MakeRefCounted(WeakRef()); + auto route_config_watcher = MakeRefCounted( + WeakRefAsSubclass()); route_config_watcher_ = route_config_watcher.get(); XdsRouteConfigResourceType::StartWatch(xds_client_.get(), resource_name_, std::move(route_config_watcher)); @@ -1368,7 +1374,7 @@ grpc_server_config_fetcher* grpc_server_config_fetcher_xds_create( "update=%p, user_data=%p}, args=%p)", 3, (notifier.on_serving_status_update, notifier.user_data, args)); auto xds_client = grpc_core::GrpcXdsClient::GetOrCreate( - channel_args, "XdsServerConfigFetcher"); + grpc_core::kServerXdsClientKey, channel_args, "XdsServerConfigFetcher"); if (!xds_client.ok()) { gpr_log(GPR_ERROR, "Failed to create xds client: %s", xds_client.status().ToString().c_str()); diff --git a/src/core/ext/xds/xds_transport.h b/src/core/ext/xds/xds_transport.h index 40be0fb1e63..66155475903 100644 --- a/src/core/ext/xds/xds_transport.h +++ b/src/core/ext/xds/xds_transport.h @@ -58,6 +58,9 @@ class XdsTransportFactory : public InternallyRefCounted { // Only one message will be in flight at a time; subsequent // messages will not be sent until this one is done. virtual void SendMessage(std::string payload) = 0; + + // Starts a recv_message operation on the stream. + virtual void StartRecvMessage() = 0; }; // Create a streaming call on this transport for the specified method. diff --git a/src/core/ext/xds/xds_transport_grpc.cc b/src/core/ext/xds/xds_transport_grpc.cc index 844e570ada8..136a514e131 100644 --- a/src/core/ext/xds/xds_transport_grpc.cc +++ b/src/core/ext/xds/xds_transport_grpc.cc @@ -22,6 +22,7 @@ #include #include +#include #include #include "absl/strings/str_cat.h" @@ -36,7 +37,7 @@ #include #include -#include "src/core/ext/filters/client_channel/client_channel.h" +#include "src/core/client_channel/client_channel_filter.h" #include "src/core/ext/xds/xds_bootstrap.h" #include "src/core/ext/xds/xds_bootstrap_grpc.h" #include "src/core/lib/channel/channel_args.h" @@ -85,39 +86,31 @@ GrpcXdsTransportFactory::GrpcXdsTransport::GrpcStreamingCall::GrpcStreamingCall( GRPC_CLOSURE_INIT(&on_request_sent_, OnRequestSent, this, nullptr); // Start ops on the call. grpc_call_error call_error; - grpc_op ops[3]; + grpc_op ops[2]; memset(ops, 0, sizeof(ops)); - // Send initial metadata. No callback for this, since we don't really - // care when it finishes. + // Send initial metadata. grpc_op* op = ops; op->op = GRPC_OP_SEND_INITIAL_METADATA; op->data.send_initial_metadata.count = 0; op->flags = GRPC_INITIAL_METADATA_WAIT_FOR_READY | GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET; op->reserved = nullptr; - op++; - call_error = grpc_call_start_batch_and_execute( - call_, ops, static_cast(op - ops), nullptr); - GPR_ASSERT(GRPC_CALL_OK == call_error); - // Start a batch with recv_initial_metadata and recv_message. - op = ops; + ++op; op->op = GRPC_OP_RECV_INITIAL_METADATA; op->data.recv_initial_metadata.recv_initial_metadata = &initial_metadata_recv_; op->flags = 0; op->reserved = nullptr; - op++; - op->op = GRPC_OP_RECV_MESSAGE; - op->data.recv_message.recv_message = &recv_message_payload_; - op->flags = 0; - op->reserved = nullptr; - op++; - Ref(DEBUG_LOCATION, "OnResponseReceived").release(); - GRPC_CLOSURE_INIT(&on_response_received_, OnResponseReceived, this, nullptr); + ++op; + // Ref will be released in the callback + GRPC_CLOSURE_INIT( + &on_recv_initial_metadata_, OnRecvInitialMetadata, + this->Ref(DEBUG_LOCATION, "OnRecvInitialMetadata").release(), nullptr); call_error = grpc_call_start_batch_and_execute( - call_, ops, static_cast(op - ops), &on_response_received_); + call_, ops, static_cast(op - ops), &on_recv_initial_metadata_); GPR_ASSERT(GRPC_CALL_OK == call_error); // Start a batch for recv_trailing_metadata. + memset(ops, 0, sizeof(ops)); op = ops; op->op = GRPC_OP_RECV_STATUS_ON_CLIENT; op->data.recv_status_on_client.trailing_metadata = &trailing_metadata_recv_; @@ -125,7 +118,7 @@ GrpcXdsTransportFactory::GrpcXdsTransport::GrpcStreamingCall::GrpcStreamingCall( op->data.recv_status_on_client.status_details = &status_details_; op->flags = 0; op->reserved = nullptr; - op++; + ++op; // This callback signals the end of the call, so it relies on the initial // ref instead of a new ref. When it's invoked, it's the initial ref that is // unreffed. @@ -133,11 +126,11 @@ GrpcXdsTransportFactory::GrpcXdsTransport::GrpcStreamingCall::GrpcStreamingCall( call_error = grpc_call_start_batch_and_execute( call_, ops, static_cast(op - ops), &on_status_received_); GPR_ASSERT(GRPC_CALL_OK == call_error); + GRPC_CLOSURE_INIT(&on_response_received_, OnResponseReceived, this, nullptr); } GrpcXdsTransportFactory::GrpcXdsTransport::GrpcStreamingCall:: ~GrpcStreamingCall() { - grpc_metadata_array_destroy(&initial_metadata_recv_); grpc_metadata_array_destroy(&trailing_metadata_recv_); grpc_byte_buffer_destroy(send_message_payload_); grpc_byte_buffer_destroy(recv_message_payload_); @@ -174,55 +167,59 @@ void GrpcXdsTransportFactory::GrpcXdsTransport::GrpcStreamingCall::SendMessage( GPR_ASSERT(GRPC_CALL_OK == call_error); } +void GrpcXdsTransportFactory::GrpcXdsTransport::GrpcStreamingCall:: + StartRecvMessage() { + Ref(DEBUG_LOCATION, "StartRecvMessage").release(); + grpc_op op; + memset(&op, 0, sizeof(op)); + op.op = GRPC_OP_RECV_MESSAGE; + op.data.recv_message.recv_message = &recv_message_payload_; + GPR_ASSERT(call_ != nullptr); + const grpc_call_error call_error = + grpc_call_start_batch_and_execute(call_, &op, 1, &on_response_received_); + GPR_ASSERT(GRPC_CALL_OK == call_error); +} + +void GrpcXdsTransportFactory::GrpcXdsTransport::GrpcStreamingCall:: + OnRecvInitialMetadata(void* arg, grpc_error_handle /*error*/) { + RefCountedPtr self(static_cast(arg)); + grpc_metadata_array_destroy(&self->initial_metadata_recv_); +} + void GrpcXdsTransportFactory::GrpcXdsTransport::GrpcStreamingCall:: OnRequestSent(void* arg, grpc_error_handle error) { - auto* self = static_cast(arg); + RefCountedPtr self(static_cast(arg)); // Clean up the sent message. grpc_byte_buffer_destroy(self->send_message_payload_); self->send_message_payload_ = nullptr; // Invoke request handler. self->event_handler_->OnRequestSent(error.ok()); - // Drop the ref. - self->Unref(DEBUG_LOCATION, "OnRequestSent"); } void GrpcXdsTransportFactory::GrpcXdsTransport::GrpcStreamingCall:: OnResponseReceived(void* arg, grpc_error_handle /*error*/) { - auto* self = static_cast(arg); + RefCountedPtr self(static_cast(arg)); // If there was no payload, then we received status before we received // another message, so we stop reading. - if (self->recv_message_payload_ == nullptr) { - self->Unref(DEBUG_LOCATION, "OnResponseReceived"); - return; + if (self->recv_message_payload_ != nullptr) { + // Process the response. + grpc_byte_buffer_reader bbr; + grpc_byte_buffer_reader_init(&bbr, self->recv_message_payload_); + grpc_slice response_slice = grpc_byte_buffer_reader_readall(&bbr); + grpc_byte_buffer_reader_destroy(&bbr); + grpc_byte_buffer_destroy(self->recv_message_payload_); + self->recv_message_payload_ = nullptr; + self->event_handler_->OnRecvMessage(StringViewFromSlice(response_slice)); + CSliceUnref(response_slice); } - // Process the response. - grpc_byte_buffer_reader bbr; - grpc_byte_buffer_reader_init(&bbr, self->recv_message_payload_); - grpc_slice response_slice = grpc_byte_buffer_reader_readall(&bbr); - grpc_byte_buffer_reader_destroy(&bbr); - grpc_byte_buffer_destroy(self->recv_message_payload_); - self->recv_message_payload_ = nullptr; - self->event_handler_->OnRecvMessage(StringViewFromSlice(response_slice)); - CSliceUnref(response_slice); - // Keep reading. - grpc_op op; - memset(&op, 0, sizeof(op)); - op.op = GRPC_OP_RECV_MESSAGE; - op.data.recv_message.recv_message = &self->recv_message_payload_; - GPR_ASSERT(self->call_ != nullptr); - // Reuses the "OnResponseReceived" ref taken in ctor. - const grpc_call_error call_error = grpc_call_start_batch_and_execute( - self->call_, &op, 1, &self->on_response_received_); - GPR_ASSERT(GRPC_CALL_OK == call_error); } void GrpcXdsTransportFactory::GrpcXdsTransport::GrpcStreamingCall:: OnStatusReceived(void* arg, grpc_error_handle /*error*/) { - auto* self = static_cast(arg); + RefCountedPtr self(static_cast(arg)); self->event_handler_->OnStatusReceived( absl::Status(static_cast(self->status_code_), StringViewFromSlice(self->status_details_))); - self->Unref(DEBUG_LOCATION, "OnStatusReceived"); } // @@ -284,8 +281,8 @@ GrpcXdsTransportFactory::GrpcXdsTransport::GrpcXdsTransport( if (IsLameChannel(channel_)) { *status = absl::UnavailableError("xds client has a lame channel"); } else { - ClientChannel* client_channel = - ClientChannel::GetFromChannel(Channel::FromC(channel_)); + ClientChannelFilter* client_channel = + ClientChannelFilter::GetFromChannel(Channel::FromC(channel_)); GPR_ASSERT(client_channel != nullptr); watcher_ = new StateWatcher(std::move(on_connectivity_failure)); client_channel->AddConnectivityWatcher( @@ -300,8 +297,8 @@ GrpcXdsTransportFactory::GrpcXdsTransport::~GrpcXdsTransport() { void GrpcXdsTransportFactory::GrpcXdsTransport::Orphan() { if (!IsLameChannel(channel_)) { - ClientChannel* client_channel = - ClientChannel::GetFromChannel(Channel::FromC(channel_)); + ClientChannelFilter* client_channel = + ClientChannelFilter::GetFromChannel(Channel::FromC(channel_)); GPR_ASSERT(client_channel != nullptr); client_channel->RemoveConnectivityWatcher(watcher_); } @@ -320,8 +317,9 @@ GrpcXdsTransportFactory::GrpcXdsTransport::CreateStreamingCall( const char* method, std::unique_ptr event_handler) { return MakeOrphanable( - factory_->Ref(DEBUG_LOCATION, "StreamingCall"), channel_, method, - std::move(event_handler)); + factory_->RefAsSubclass(DEBUG_LOCATION, + "StreamingCall"), + channel_, method, std::move(event_handler)); } void GrpcXdsTransportFactory::GrpcXdsTransport::ResetBackoff() { diff --git a/src/core/ext/xds/xds_transport_grpc.h b/src/core/ext/xds/xds_transport_grpc.h index f9e29fc0e4c..a4d25ff75c9 100644 --- a/src/core/ext/xds/xds_transport_grpc.h +++ b/src/core/ext/xds/xds_transport_grpc.h @@ -100,7 +100,10 @@ class GrpcXdsTransportFactory::GrpcXdsTransport::GrpcStreamingCall void SendMessage(std::string payload) override; + void StartRecvMessage() override; + private: + static void OnRecvInitialMetadata(void* arg, grpc_error_handle /*error*/); static void OnRequestSent(void* arg, grpc_error_handle error); static void OnResponseReceived(void* arg, grpc_error_handle /*error*/); static void OnStatusReceived(void* arg, grpc_error_handle /*error*/); @@ -114,6 +117,7 @@ class GrpcXdsTransportFactory::GrpcXdsTransport::GrpcStreamingCall // recv_initial_metadata grpc_metadata_array initial_metadata_recv_; + grpc_closure on_recv_initial_metadata_; // send_message grpc_byte_buffer* send_message_payload_ = nullptr; diff --git a/src/core/lib/address_utils/parse_address.cc b/src/core/lib/address_utils/parse_address.cc index deb2b079723..4806d170988 100644 --- a/src/core/lib/address_utils/parse_address.cc +++ b/src/core/lib/address_utils/parse_address.cc @@ -30,8 +30,15 @@ #include #include #ifdef GRPC_HAVE_UNIX_SOCKET +#ifdef GPR_WINDOWS +// clang-format off +#include +#include +// clang-format on +#else #include -#endif +#endif // GPR_WINDOWS +#endif // GRPC_HAVE_UNIX_SOCKET #include #include "absl/status/status.h" diff --git a/src/core/lib/address_utils/sockaddr_utils.cc b/src/core/lib/address_utils/sockaddr_utils.cc index 74bc7d29b1f..c82efe927a1 100644 --- a/src/core/lib/address_utils/sockaddr_utils.cc +++ b/src/core/lib/address_utils/sockaddr_utils.cc @@ -27,7 +27,6 @@ #endif #include -#include #include #include @@ -45,8 +44,15 @@ #include "src/core/lib/uri/uri_parser.h" #ifdef GRPC_HAVE_UNIX_SOCKET +#ifdef GPR_WINDOWS +// clang-format off +#include +#include +// clang-format on +#else #include -#endif +#endif // GPR_WINDOWS +#endif // GRPC_HAVE_UNIX_SOCKET #ifdef GRPC_HAVE_UNIX_SOCKET static absl::StatusOr grpc_sockaddr_to_uri_unix_if_possible( diff --git a/src/core/lib/avl/avl.h b/src/core/lib/avl/avl.h index 269bdb85c70..4df3a0c1e4a 100644 --- a/src/core/lib/avl/avl.h +++ b/src/core/lib/avl/avl.h @@ -20,6 +20,7 @@ #include #include // IWYU pragma: keep +#include #include #include "src/core/lib/gpr/useful.h" diff --git a/src/core/lib/backoff/random_early_detection.cc b/src/core/lib/backoff/random_early_detection.cc index eea11d02a8b..d9cd1a31700 100644 --- a/src/core/lib/backoff/random_early_detection.cc +++ b/src/core/lib/backoff/random_early_detection.cc @@ -16,12 +16,14 @@ #include "src/core/lib/backoff/random_early_detection.h" +#include "absl/random/distributions.h" + namespace grpc_core { -bool RandomEarlyDetection::Reject(uint64_t size) { +bool RandomEarlyDetection::Reject(uint64_t size, absl::BitGenRef bitsrc) const { if (size <= soft_limit_) return false; if (size < hard_limit_) { - return absl::Bernoulli(bitgen_, + return absl::Bernoulli(bitsrc, static_cast(size - soft_limit_) / static_cast(hard_limit_ - soft_limit_)); } diff --git a/src/core/lib/backoff/random_early_detection.h b/src/core/lib/backoff/random_early_detection.h index 2cce4469ed8..e233c136149 100644 --- a/src/core/lib/backoff/random_early_detection.h +++ b/src/core/lib/backoff/random_early_detection.h @@ -21,7 +21,7 @@ #include -#include "absl/random/random.h" +#include "absl/random/bit_gen_ref.h" namespace grpc_core { @@ -38,7 +38,7 @@ class RandomEarlyDetection { bool MustReject(uint64_t size) { return size >= hard_limit_; } // Returns true if the item should be rejected. - bool Reject(uint64_t size); + bool Reject(uint64_t size, absl::BitGenRef bitsrc) const; uint64_t soft_limit() const { return soft_limit_; } uint64_t hard_limit() const { return hard_limit_; } @@ -55,8 +55,6 @@ class RandomEarlyDetection { uint64_t soft_limit_; // The hard limit is the size at which we reject all items. uint64_t hard_limit_; - // The bit generator used to generate random numbers. - absl::InsecureBitGen bitgen_; }; } // namespace grpc_core diff --git a/src/core/lib/channel/call_tracer.cc b/src/core/lib/channel/call_tracer.cc index 9763b89469f..83a8ec8b22c 100644 --- a/src/core/lib/channel/call_tracer.cc +++ b/src/core/lib/channel/call_tracer.cc @@ -20,12 +20,13 @@ #include "src/core/lib/channel/call_tracer.h" -#include +#include #include #include #include +#include "src/core/lib/channel/tcp_tracer.h" #include "src/core/lib/promise/context.h" namespace grpc_core { @@ -59,6 +60,11 @@ void ServerCallTracerFactory::RegisterGlobal(ServerCallTracerFactory* factory) { g_server_call_tracer_factory_ = factory; } +void ServerCallTracerFactory::TestOnlyReset() { + delete g_server_call_tracer_factory_; + g_server_call_tracer_factory_ = nullptr; +} + absl::string_view ServerCallTracerFactory::ChannelArgName() { return kServerCallTracerFactoryChannelArgName; } @@ -142,6 +148,16 @@ class DelegatingClientCallTracer : public ClientCallTracer { tracer->RecordAnnotation(annotation); } } + std::shared_ptr StartNewTcpTrace() override { + return nullptr; + } + void AddOptionalLabels( + OptionalLabelComponent component, + std::shared_ptr> labels) override { + for (auto* tracer : tracers_) { + tracer->AddOptionalLabels(component, labels); + } + } std::string TraceId() override { return tracers_[0]->TraceId(); } std::string SpanId() override { return tracers_[0]->SpanId(); } bool IsSampled() override { return tracers_[0]->IsSampled(); } @@ -265,6 +281,9 @@ class DelegatingServerCallTracer : public ServerCallTracer { tracer->RecordAnnotation(annotation); } } + std::shared_ptr StartNewTcpTrace() override { + return nullptr; + } std::string TraceId() override { return tracers_[0]->TraceId(); } std::string SpanId() override { return tracers_[0]->SpanId(); } bool IsSampled() override { return tracers_[0]->IsSampled(); } diff --git a/src/core/lib/channel/call_tracer.h b/src/core/lib/channel/call_tracer.h index 4410817be47..67191d1bc8a 100644 --- a/src/core/lib/channel/call_tracer.h +++ b/src/core/lib/channel/call_tracer.h @@ -21,6 +21,7 @@ #include +#include #include #include "absl/status/status.h" @@ -29,8 +30,8 @@ #include #include "src/core/lib/channel/channel_args.h" -#include "src/core/lib/channel/channel_stack.h" #include "src/core/lib/channel/context.h" +#include "src/core/lib/channel/tcp_tracer.h" #include "src/core/lib/config/core_configuration.h" #include "src/core/lib/iomgr/error.h" #include "src/core/lib/resource_quota/arena.h" @@ -42,9 +43,9 @@ namespace grpc_core { // The interface hierarchy is as follows - // CallTracerAnnotationInterface -// / \ +// | | // ClientCallTracer CallTracerInterface -// / \ +// | | // CallAttemptTracer ServerCallTracer // The base class for all tracer implementations. @@ -53,6 +54,7 @@ class CallTracerAnnotationInterface { // Enum associated with types of Annotations. enum class AnnotationType { kMetadataSizes, + kHttpTransport, kDoNotUse_MustBeLast, }; @@ -108,6 +110,10 @@ class CallTracerInterface : public CallTracerAnnotationInterface { virtual void RecordReceivedDecompressedMessage( const SliceBuffer& recv_decompressed_message) = 0; virtual void RecordCancel(grpc_error_handle cancel_error) = 0; + // Traces a new TCP transport attempt for this call attempt. Note the TCP + // transport may finish tracing and unref the TCP tracer before or after the + // call completion in gRPC core. No TCP tracing when null is returned. + virtual std::shared_ptr StartNewTcpTrace() = 0; }; // Interface for a tracer that records activities on a call. Actual attempts for @@ -121,6 +127,11 @@ class ClientCallTracer : public CallTracerAnnotationInterface { // as transparent retry attempts.) class CallAttemptTracer : public CallTracerInterface { public: + enum class OptionalLabelComponent : std::uint8_t { + kXdsServiceLabels = 0, + kSize = 1, // keep last + }; + ~CallAttemptTracer() override {} // TODO(yashykt): The following two methods `RecordReceivedTrailingMetadata` // and `RecordEnd` should be moved into CallTracerInterface. @@ -133,6 +144,11 @@ class ClientCallTracer : public CallTracerAnnotationInterface { // Should be the last API call to the object. Once invoked, the tracer // library is free to destroy the object. virtual void RecordEnd(const gpr_timespec& latency) = 0; + + // Adds optional labels to be reported by the underlying tracer in a call. + virtual void AddOptionalLabels( + OptionalLabelComponent component, + std::shared_ptr> labels) = 0; }; ~ClientCallTracer() override {} @@ -168,7 +184,8 @@ class ServerCallTracerFactory { virtual ~ServerCallTracerFactory() {} - virtual ServerCallTracer* CreateNewServerCallTracer(Arena* arena) = 0; + virtual ServerCallTracer* CreateNewServerCallTracer( + Arena* arena, const ChannelArgs& channel_args) = 0; // Returns true if a server is to be traced, false otherwise. virtual bool IsServerTraced(const ChannelArgs& /*args*/) { return true; } @@ -183,6 +200,9 @@ class ServerCallTracerFactory { // this for the lifetime of the process. static void RegisterGlobal(ServerCallTracerFactory* factory); + // Deletes any previous registered ServerCallTracerFactory. + static void TestOnlyReset(); + static absl::string_view ChannelArgName(); }; diff --git a/src/core/lib/channel/channel_args.cc b/src/core/lib/channel/channel_args.cc index 3d8c04c3456..80ac7f7569c 100644 --- a/src/core/lib/channel/channel_args.cc +++ b/src/core/lib/channel/channel_args.cc @@ -25,7 +25,6 @@ #include #include -#include #include #include #include @@ -281,25 +280,35 @@ absl::optional ChannelArgs::GetBool(absl::string_view name) const { } } -std::string ChannelArgs::Value::ToString() const { - if (rep_.c_vtable() == &int_vtable_) { - return std::to_string(reinterpret_cast(rep_.c_pointer())); - } +absl::string_view ChannelArgs::Value::ToString( + std::list& backing_strings) const { if (rep_.c_vtable() == &string_vtable_) { - return std::string( - static_cast(rep_.c_pointer())->as_string_view()); + return static_cast(rep_.c_pointer())->as_string_view(); + } + if (rep_.c_vtable() == &int_vtable_) { + backing_strings.emplace_back( + std::to_string(reinterpret_cast(rep_.c_pointer()))); + return backing_strings.back(); } - return absl::StrFormat("%p", rep_.c_pointer()); + backing_strings.emplace_back(absl::StrFormat("%p", rep_.c_pointer())); + return backing_strings.back(); } std::string ChannelArgs::ToString() const { - std::vector arg_strings; - args_.ForEach( - [&arg_strings](const RefCountedStringValue& key, const Value& value) { - arg_strings.push_back( - absl::StrCat(key.as_string_view(), "=", value.ToString())); - }); - return absl::StrCat("{", absl::StrJoin(arg_strings, ", "), "}"); + std::vector strings; + std::list backing_strings; + strings.push_back("{"); + bool first = true; + args_.ForEach([&strings, &first, &backing_strings]( + const RefCountedStringValue& key, const Value& value) { + if (!first) strings.push_back(", "); + first = false; + strings.push_back(key.as_string_view()); + strings.push_back("="); + strings.push_back(value.ToString(backing_strings)); + }); + strings.push_back("}"); + return absl::StrJoin(strings, ""); } ChannelArgs ChannelArgs::UnionWith(ChannelArgs other) const { diff --git a/src/core/lib/channel/channel_args.h b/src/core/lib/channel/channel_args.h index 38bb070213c..0a8a12879e4 100644 --- a/src/core/lib/channel/channel_args.h +++ b/src/core/lib/channel/channel_args.h @@ -125,6 +125,16 @@ struct ChannelArgTypeTraits< }; }; +// Define a check for shared_ptr supported types, which must extend +// enable_shared_from_this. +template +struct SupportedSharedPtrType + : std::integral_constant< + bool, std::is_base_of, T>::value> {}; +template <> +struct SupportedSharedPtrType + : std::true_type {}; + // Specialization for shared_ptr // Incurs an allocation because shared_ptr.release is not a thing. template @@ -173,19 +183,27 @@ struct ChannelArgTypeTraits +struct ChannelArgPointerShouldBeConst { + static constexpr bool kValue = false; +}; + template -struct WrapInSharedPtr - : std::integral_constant< - bool, std::is_base_of, T>::value> {}; -template <> -struct WrapInSharedPtr - : std::true_type {}; +struct ChannelArgPointerShouldBeConst< + T, absl::void_t> { + static constexpr bool kValue = T::ChannelArgUseConstPtr(); +}; + +// GetObject support for shared_ptr and RefCountedPtr template struct GetObjectImpl; // std::shared_ptr implementation template -struct GetObjectImpl::value, void>> { +struct GetObjectImpl< + T, absl::enable_if_t::kValue && + SupportedSharedPtrType::value, + void>> { using Result = T*; using ReffedResult = std::shared_ptr; using StoredType = std::shared_ptr*; @@ -205,11 +223,34 @@ struct GetObjectImpl::value, void>> { }; // RefCountedPtr template -struct GetObjectImpl::value, void>> { +struct GetObjectImpl< + T, absl::enable_if_t::kValue && + !SupportedSharedPtrType::value, + void>> { using Result = T*; using ReffedResult = RefCountedPtr; using StoredType = Result; static Result Get(StoredType p) { return p; }; + static ReffedResult GetReffed(StoredType p) { + if (p == nullptr) return nullptr; + return p->template RefAsSubclass(); + }; + static ReffedResult GetReffed(StoredType p, const DebugLocation& location, + const char* reason) { + if (p == nullptr) return nullptr; + return p->template RefAsSubclass(location, reason); + }; +}; + +template +struct GetObjectImpl< + T, absl::enable_if_t::kValue && + !SupportedSharedPtrType::value, + void>> { + using Result = const T*; + using ReffedResult = RefCountedPtr; + using StoredType = Result; + static Result Get(StoredType p) { return p; }; static ReffedResult GetReffed(StoredType p) { if (p == nullptr) return nullptr; return p->Ref(); @@ -237,6 +278,7 @@ struct ChannelArgNameTraits { return GRPC_INTERNAL_ARG_EVENT_ENGINE; } }; + class ChannelArgs { public: class Pointer { @@ -282,9 +324,23 @@ class ChannelArgs { const grpc_arg_pointer_vtable* vtable_; }; + // Helper to create a `Pointer` object to an object that is not owned by the + // `ChannelArgs` object. Useful for tests, a code smell for production code. + template + static Pointer UnownedPointer(T* p) { + static const grpc_arg_pointer_vtable vtable = { + [](void* p) -> void* { return p; }, + [](void*) {}, + [](void* p, void* q) { return QsortCompare(p, q); }, + }; + return Pointer(p, &vtable); + } + class Value { public: - explicit Value(int n) : rep_(reinterpret_cast(n), &int_vtable_) {} + explicit Value(int n) + : rep_(reinterpret_cast(static_cast(n)), + &int_vtable_) {} explicit Value(std::string s) : rep_(RefCountedString::Make(s).release(), &string_vtable_) {} explicit Value(Pointer p) : rep_(std::move(p)) {} @@ -303,7 +359,7 @@ class ChannelArgs { return &rep_; } - std::string ToString() const; + absl::string_view ToString(std::list& backing) const; grpc_arg MakeCArg(const char* name) const; @@ -376,21 +432,38 @@ class ChannelArgs { GRPC_MUST_USE_RESULT auto Set(absl::string_view name, RefCountedPtr value) const -> absl::enable_if_t< - std::is_same>::VTable())>::value, + !ChannelArgPointerShouldBeConst::kValue && + std::is_same>::VTable())>::value, ChannelArgs> { return Set( name, Pointer(value.release(), ChannelArgTypeTraits>::VTable())); } template + GRPC_MUST_USE_RESULT auto Set(absl::string_view name, + RefCountedPtr value) const + -> absl::enable_if_t< + ChannelArgPointerShouldBeConst::kValue && + std::is_same>::VTable())>::value, + ChannelArgs> { + return Set( + name, Pointer(const_cast(value.release()), + ChannelArgTypeTraits>::VTable())); + } + template GRPC_MUST_USE_RESULT absl::enable_if_t< std::is_same< const grpc_arg_pointer_vtable*, decltype(ChannelArgTypeTraits>::VTable())>::value, ChannelArgs> Set(absl::string_view name, std::shared_ptr value) const { + static_assert(SupportedSharedPtrType::value, + "Type T must extend std::enable_shared_from_this to be added " + "into ChannelArgs as a shared_ptr"); auto* store_value = new std::shared_ptr(value); return Set( name, @@ -418,6 +491,8 @@ class ChannelArgs { absl::optional GetInt(absl::string_view name) const; absl::optional GetString(absl::string_view name) const; absl::optional GetOwnedString(absl::string_view name) const; + // WARNING: this is broken if `name` represents something that was stored as a + // RefCounted - we will discard the const-ness. void* GetVoidPointer(absl::string_view name) const; template typename GetObjectImpl::StoredType GetPointer( diff --git a/src/core/lib/channel/channel_args_preconditioning.cc b/src/core/lib/channel/channel_args_preconditioning.cc index a251be38a10..1fe51ad6879 100644 --- a/src/core/lib/channel/channel_args_preconditioning.cc +++ b/src/core/lib/channel/channel_args_preconditioning.cc @@ -16,7 +16,6 @@ #include "src/core/lib/channel/channel_args_preconditioning.h" -#include #include namespace grpc_core { diff --git a/src/core/lib/channel/channel_stack.cc b/src/core/lib/channel/channel_stack.cc index e4577f073f0..ee1c1d9e943 100644 --- a/src/core/lib/channel/channel_stack.cc +++ b/src/core/lib/channel/channel_stack.cc @@ -28,12 +28,21 @@ #include #include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/channel/channel_fwd.h" +#include "src/core/lib/channel/channel_stack_trace.h" #include "src/core/lib/gpr/alloc.h" +#include "src/core/lib/surface/channel_init.h" using grpc_event_engine::experimental::EventEngine; grpc_core::TraceFlag grpc_trace_channel(false, "channel"); -grpc_core::TraceFlag grpc_trace_channel_stack(false, "channel_stack"); + +static int register_get_name_fn = []() { + grpc_core::NameFromChannelFilter = [](const grpc_channel_filter* filter) { + return filter->name; + }; + return 0; +}(); // Memory layouts. @@ -312,3 +321,36 @@ grpc_channel_stack::MakeServerCallPromise(grpc_core::CallArgs call_args) { return ServerNext(grpc_channel_stack_element(this, this->count - 1))( std::move(call_args)); } + +void grpc_channel_stack::InitClientCallSpine( + grpc_core::CallSpineInterface* call) { + for (size_t i = 0; i < count; i++) { + auto* elem = grpc_channel_stack_element(this, i); + if (elem->filter->init_call == nullptr) { + grpc_core::Crash( + absl::StrCat("Filter '", elem->filter->name, + "' does not support the call-v3 interface")); + } + elem->filter->init_call(elem, call); + } +} + +void grpc_channel_stack::InitServerCallSpine( + grpc_core::CallSpineInterface* call) { + for (size_t i = 0; i < count; i++) { + auto* elem = grpc_channel_stack_element(this, count - 1 - i); + if (elem->filter->init_call == nullptr) { + grpc_core::Crash( + absl::StrCat("Filter '", elem->filter->name, + "' does not support the call-v3 interface")); + } + elem->filter->init_call(elem, call); + } +} + +void grpc_call_log_op(const char* file, int line, gpr_log_severity severity, + grpc_call_element* elem, + grpc_transport_stream_op_batch* op) { + gpr_log(file, line, severity, "OP[%s:%p]: %s", elem->filter->name, elem, + grpc_transport_stream_op_batch_string(op, false).c_str()); +} diff --git a/src/core/lib/channel/channel_stack.h b/src/core/lib/channel/channel_stack.h index 918628856b0..32c67017b3c 100644 --- a/src/core/lib/channel/channel_stack.h +++ b/src/core/lib/channel/channel_stack.h @@ -72,6 +72,7 @@ #include "src/core/lib/iomgr/polling_entity.h" #include "src/core/lib/promise/arena_promise.h" #include "src/core/lib/resource_quota/arena.h" +#include "src/core/lib/transport/call_final_info.h" #include "src/core/lib/transport/transport.h" struct grpc_channel_element_args { @@ -90,16 +91,6 @@ struct grpc_call_element_args { grpc_core::Arena* arena; grpc_core::CallCombiner* call_combiner; }; -struct grpc_call_stats { - grpc_transport_stream_stats transport_stream_stats; - gpr_timespec latency; // From call creating to enqueing of received status -}; -/// Information about the call upon completion. -struct grpc_call_final_info { - grpc_call_stats stats; - grpc_status_code final_status = GRPC_STATUS_OK; - const char* error_string = nullptr; -}; // Channel filters specify: // 1. the amount of memory needed in the channel & call (via the sizeof_XXX @@ -128,6 +119,12 @@ struct grpc_channel_filter { grpc_core::ArenaPromise (*make_call_promise)( grpc_channel_element* elem, grpc_core::CallArgs call_args, grpc_core::NextPromiseFactory next_promise_factory); + // Register interceptors into a call. + // If this is non-null it may be used in preference to make_call_promise. + // There is an on-going migration to move all filters to providing this, and + // then to drop start_transport_stream_op_batch. + void (*init_call)(grpc_channel_element* elem, + grpc_core::CallSpineInterface* call_spine); // Called to handle channel level operations - e.g. new calls, or transport // closure. // See grpc_channel_next_op on how to call the next element in the stack @@ -238,6 +235,9 @@ struct grpc_channel_stack { MakeClientCallPromise(grpc_core::CallArgs call_args); grpc_core::ArenaPromise MakeServerCallPromise(grpc_core::CallArgs call_args); + + void InitClientCallSpine(grpc_core::CallSpineInterface* call); + void InitServerCallSpine(grpc_core::CallSpineInterface* call); }; // A call stack tracks a set of related filters for one call, and guarantees diff --git a/src/core/lib/channel/channel_stack_builder.h b/src/core/lib/channel/channel_stack_builder.h index af18baa8976..b0e66d46f64 100644 --- a/src/core/lib/channel/channel_stack_builder.h +++ b/src/core/lib/channel/channel_stack_builder.h @@ -23,13 +23,10 @@ #include "absl/status/statusor.h" #include "absl/strings/string_view.h" -#include - #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/surface/channel_stack_type.h" -#include "src/core/lib/transport/transport_fwd.h" namespace grpc_core { @@ -53,16 +50,6 @@ class ChannelStackBuilder { // Query the target. absl::string_view target() const { return target_; } - // Set the transport. - ChannelStackBuilder& SetTransport(grpc_transport* transport) { - GPR_ASSERT(transport_ == nullptr); - transport_ = transport; - return *this; - } - - // Query the transport. - grpc_transport* transport() const { return transport_; } - // Query the channel args. const ChannelArgs& channel_args() const { return args_; } @@ -77,6 +64,10 @@ class ChannelStackBuilder { // The type of channel stack being built. grpc_channel_stack_type channel_stack_type() const { return type_; } + // TODO(ctiller): re-evaluate the need for AppendFilter, PrependFilter. + // Their usefulness is largely zero now that we have ordering constraints in + // channel init. + // Helper to add a filter to the front of the stack. void PrependFilter(const grpc_channel_filter* filter); @@ -107,8 +98,6 @@ class ChannelStackBuilder { const grpc_channel_stack_type type_; // The target std::string target_{unknown_target()}; - // The transport - grpc_transport* transport_ = nullptr; // Channel args ChannelArgs args_; // The in-progress stack diff --git a/src/core/lib/channel/channel_stack_builder_impl.cc b/src/core/lib/channel/channel_stack_builder_impl.cc index 98cb7a0a4c8..a900e4580cc 100644 --- a/src/core/lib/channel/channel_stack_builder_impl.cc +++ b/src/core/lib/channel/channel_stack_builder_impl.cc @@ -23,26 +23,162 @@ #include #include +#include +#include +#include +#include #include +#include "absl/base/thread_annotations.h" +#include "absl/container/flat_hash_map.h" #include "absl/status/status.h" +#include "absl/strings/str_cat.h" -#include #include +#include -#include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/channel_stack.h" #include "src/core/lib/debug/trace.h" -#include "src/core/lib/gpr/useful.h" +#include "src/core/lib/gprpp/no_destruct.h" +#include "src/core/lib/gprpp/sync.h" +#include "src/core/lib/iomgr/closure.h" #include "src/core/lib/iomgr/error.h" +#include "src/core/lib/promise/activity.h" +#include "src/core/lib/promise/arena_promise.h" +#include "src/core/lib/promise/poll.h" #include "src/core/lib/surface/call_trace.h" #include "src/core/lib/surface/channel_stack_type.h" #include "src/core/lib/transport/error_utils.h" +#include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" namespace grpc_core { +namespace { + +const grpc_channel_filter* PromiseTracingFilterFor( + const grpc_channel_filter* filter) { + struct DerivedFilter : public grpc_channel_filter { + explicit DerivedFilter(const grpc_channel_filter* filter) + : grpc_channel_filter{ + // start_transport_stream_op_batch: + grpc_call_next_op, + // make_call_promise: + [](grpc_channel_element* elem, CallArgs call_args, + NextPromiseFactory next_promise_factory) + -> ArenaPromise { + auto* source_filter = + static_cast(elem->filter)->filter; + gpr_log( + GPR_DEBUG, + "%s[%s] CreateCallPromise: client_initial_metadata=%s", + GetContext()->DebugTag().c_str(), + source_filter->name, + call_args.client_initial_metadata->DebugString().c_str()); + return [source_filter, child = next_promise_factory( + std::move(call_args))]() mutable { + gpr_log(GPR_DEBUG, "%s[%s] PollCallPromise: begin", + GetContext()->DebugTag().c_str(), + source_filter->name); + auto r = child(); + if (auto* p = r.value_if_ready()) { + gpr_log(GPR_DEBUG, "%s[%s] PollCallPromise: done: %s", + GetContext()->DebugTag().c_str(), + source_filter->name, (*p)->DebugString().c_str()); + } else { + gpr_log(GPR_DEBUG, "%s[%s] PollCallPromise: <>", + GetContext()->DebugTag().c_str(), + source_filter->name); + } + return r; + }; + }, + /* init_call: */ + [](grpc_channel_element* elem, CallSpineInterface* call) { + auto* source_filter = + static_cast(elem->filter)->filter; + call->client_initial_metadata().receiver.InterceptAndMap( + [source_filter](ClientMetadataHandle md) { + gpr_log(GPR_DEBUG, "%s[%s] OnClientInitialMetadata: %s", + GetContext()->DebugTag().c_str(), + source_filter->name, md->DebugString().c_str()); + return md; + }); + call->client_to_server_messages().receiver.InterceptAndMap( + [source_filter](MessageHandle msg) { + gpr_log(GPR_DEBUG, "%s[%s] OnClientToServerMessage: %s", + GetContext()->DebugTag().c_str(), + source_filter->name, msg->DebugString().c_str()); + return msg; + }); + call->server_initial_metadata().sender.InterceptAndMap( + [source_filter](ServerMetadataHandle md) { + gpr_log(GPR_DEBUG, "%s[%s] OnServerInitialMetadata: %s", + GetContext()->DebugTag().c_str(), + source_filter->name, md->DebugString().c_str()); + return md; + }); + call->server_to_client_messages().sender.InterceptAndMap( + [source_filter](MessageHandle msg) { + gpr_log(GPR_DEBUG, "%s[%s] OnServerToClientMessage: %s", + GetContext()->DebugTag().c_str(), + source_filter->name, msg->DebugString().c_str()); + return msg; + }); + call->server_trailing_metadata().sender.InterceptAndMap( + [source_filter](ServerMetadataHandle md) { + gpr_log(GPR_DEBUG, "%s[%s] OnServerTrailingMetadata: %s", + GetContext()->DebugTag().c_str(), + source_filter->name, md->DebugString().c_str()); + return md; + }); + }, + grpc_channel_next_op, + /* sizeof_call_data: */ 0, + // init_call_elem: + [](grpc_call_element*, const grpc_call_element_args*) { + return absl::OkStatus(); + }, + grpc_call_stack_ignore_set_pollset_or_pollset_set, + // destroy_call_elem: + [](grpc_call_element*, const grpc_call_final_info*, + grpc_closure*) {}, + // sizeof_channel_data: + 0, + // init_channel_elem: + [](grpc_channel_element*, grpc_channel_element_args*) { + return absl::OkStatus(); + }, + // post_init_channel_elem: + [](grpc_channel_stack*, grpc_channel_element*) {}, + // destroy_channel_elem: + [](grpc_channel_element*) {}, grpc_channel_next_get_info, + // name: + nullptr}, + filter(filter), + name_str(absl::StrCat(filter->name, ".trace")) { + this->name = name_str.c_str(); + } + const grpc_channel_filter* const filter; + const std::string name_str; + }; + struct Globals { + Mutex mu; + absl::flat_hash_map> + map ABSL_GUARDED_BY(mu); + }; + auto* globals = NoDestructSingleton::Get(); + MutexLock lock(&globals->mu); + auto it = globals->map.find(filter); + if (it != globals->map.end()) return it->second.get(); + return globals->map.emplace(filter, std::make_unique(filter)) + .first->second.get(); +} + +} // namespace + bool ChannelStackBuilderImpl::IsPromising() const { for (const auto* filter : stack()) { if (filter->make_call_promise == nullptr) return false; @@ -82,20 +218,6 @@ ChannelStackBuilderImpl::Build() { auto* channel_stack = static_cast(gpr_zalloc(channel_stack_size)); - ChannelArgs final_args = channel_args(); - if (transport() != nullptr) { - static const grpc_arg_pointer_vtable vtable = { - // copy - [](void* p) { return p; }, - // destroy - [](void*) {}, - // cmp - [](void* a, void* b) { return QsortCompare(a, b); }, - }; - final_args = final_args.Set(GRPC_ARG_TRANSPORT, - ChannelArgs::Pointer(transport(), &vtable)); - } - // and initialize it grpc_error_handle error = grpc_channel_stack_init( 1, @@ -104,7 +226,7 @@ ChannelStackBuilderImpl::Build() { grpc_channel_stack_destroy(stk); gpr_free(stk); }, - channel_stack, stack.data(), stack.size(), final_args, name(), + channel_stack, stack.data(), stack.size(), channel_args(), name(), channel_stack); if (!error.ok()) { diff --git a/src/core/lib/channel/channel_stack_trace.cc b/src/core/lib/channel/channel_stack_trace.cc new file mode 100644 index 00000000000..59a49ddfbbf --- /dev/null +++ b/src/core/lib/channel/channel_stack_trace.cc @@ -0,0 +1,19 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include + +#include "src/core/lib/channel/channel_stack_trace.h" + +grpc_core::TraceFlag grpc_trace_channel_stack(false, "channel_stack"); diff --git a/src/core/lib/channel/channel_stack_trace.h b/src/core/lib/channel/channel_stack_trace.h new file mode 100644 index 00000000000..9e7b720d66c --- /dev/null +++ b/src/core/lib/channel/channel_stack_trace.h @@ -0,0 +1,24 @@ +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_LIB_CHANNEL_CHANNEL_STACK_TRACE_H +#define GRPC_SRC_CORE_LIB_CHANNEL_CHANNEL_STACK_TRACE_H + +#include + +#include "src/core/lib/debug/trace.h" + +extern grpc_core::TraceFlag grpc_trace_channel_stack; + +#endif // GRPC_SRC_CORE_LIB_CHANNEL_CHANNEL_STACK_TRACE_H diff --git a/src/core/lib/channel/channel_trace.cc b/src/core/lib/channel/channel_trace.cc index aa7913f1e55..4ba57020dc8 100644 --- a/src/core/lib/channel/channel_trace.cc +++ b/src/core/lib/channel/channel_trace.cc @@ -20,7 +20,7 @@ #include "src/core/lib/channel/channel_trace.h" -#include +#include #include #include "absl/strings/str_cat.h" diff --git a/src/core/lib/channel/connected_channel.cc b/src/core/lib/channel/connected_channel.cc index 7cf9423f4e7..2e0689bd54f 100644 --- a/src/core/lib/channel/connected_channel.cc +++ b/src/core/lib/channel/connected_channel.cc @@ -23,7 +23,6 @@ #include #include -#include #include #include #include @@ -32,7 +31,6 @@ #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/types/optional.h" -#include "absl/types/variant.h" #include #include @@ -43,6 +41,7 @@ #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/channel_stack.h" +#include "src/core/lib/config/core_configuration.h" #include "src/core/lib/debug/trace.h" #include "src/core/lib/experiments/experiments.h" #include "src/core/lib/gpr/alloc.h" @@ -80,11 +79,9 @@ #include "src/core/lib/transport/error_utils.h" #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" -#include "src/core/lib/transport/transport_fwd.h" -#include "src/core/lib/transport/transport_impl.h" typedef struct connected_channel_channel_data { - grpc_transport* transport; + grpc_core::Transport* transport; } channel_data; struct callback_state { @@ -183,15 +180,15 @@ static void connected_channel_start_transport_stream_op_batch( callback_state* state = get_state_for_batch(calld, batch); intercept_callback(calld, state, false, "on_complete", &batch->on_complete); } - grpc_transport_perform_stream_op( - chand->transport, TRANSPORT_STREAM_FROM_CALL_DATA(calld), batch); + chand->transport->filter_stack_transport()->PerformStreamOp( + TRANSPORT_STREAM_FROM_CALL_DATA(calld), batch); GRPC_CALL_COMBINER_STOP(calld->call_combiner, "passed batch to transport"); } static void connected_channel_start_transport_op(grpc_channel_element* elem, grpc_transport_op* op) { channel_data* chand = static_cast(elem->channel_data); - grpc_transport_perform_op(chand->transport, op); + chand->transport->PerformOp(op); } // Constructor for call_data @@ -200,19 +197,18 @@ static grpc_error_handle connected_channel_init_call_elem( call_data* calld = static_cast(elem->call_data); channel_data* chand = static_cast(elem->channel_data); calld->call_combiner = args->call_combiner; - int r = grpc_transport_init_stream( - chand->transport, TRANSPORT_STREAM_FROM_CALL_DATA(calld), - &args->call_stack->refcount, args->server_transport_data, args->arena); - return r == 0 ? absl::OkStatus() - : GRPC_ERROR_CREATE("transport stream initialization failed"); + chand->transport->filter_stack_transport()->InitStream( + TRANSPORT_STREAM_FROM_CALL_DATA(calld), &args->call_stack->refcount, + args->server_transport_data, args->arena); + return absl::OkStatus(); } static void set_pollset_or_pollset_set(grpc_call_element* elem, grpc_polling_entity* pollent) { call_data* calld = static_cast(elem->call_data); channel_data* chand = static_cast(elem->channel_data); - grpc_transport_set_pops(chand->transport, - TRANSPORT_STREAM_FROM_CALL_DATA(calld), pollent); + chand->transport->SetPollingEntity(TRANSPORT_STREAM_FROM_CALL_DATA(calld), + pollent); } // Destructor for call_data @@ -221,9 +217,8 @@ static void connected_channel_destroy_call_elem( grpc_closure* then_schedule_closure) { call_data* calld = static_cast(elem->call_data); channel_data* chand = static_cast(elem->channel_data); - grpc_transport_destroy_stream(chand->transport, - TRANSPORT_STREAM_FROM_CALL_DATA(calld), - then_schedule_closure); + chand->transport->filter_stack_transport()->DestroyStream( + TRANSPORT_STREAM_FROM_CALL_DATA(calld), then_schedule_closure); } // Constructor for channel_data @@ -231,7 +226,7 @@ static grpc_error_handle connected_channel_init_channel_elem( grpc_channel_element* elem, grpc_channel_element_args* args) { channel_data* cd = static_cast(elem->channel_data); GPR_ASSERT(args->is_last); - cd->transport = args->channel_args.GetObject(); + cd->transport = args->channel_args.GetObject(); return absl::OkStatus(); } @@ -239,7 +234,7 @@ static grpc_error_handle connected_channel_init_channel_elem( static void connected_channel_destroy_channel_elem(grpc_channel_element* elem) { channel_data* cd = static_cast(elem->channel_data); if (cd->transport) { - grpc_transport_destroy(cd->transport); + cd->transport->Orphan(); } } @@ -255,7 +250,7 @@ namespace { defined(GRPC_EXPERIMENT_IS_INCLUDED_PROMISE_BASED_SERVER_CALL) class ConnectedChannelStream : public Orphanable { public: - explicit ConnectedChannelStream(grpc_transport* transport) + explicit ConnectedChannelStream(Transport* transport) : transport_(transport), stream_(nullptr, StreamDeleter(this)) { GRPC_STREAM_REF_INIT( &stream_refcount_, 1, @@ -265,7 +260,7 @@ class ConnectedChannelStream : public Orphanable { this, "ConnectedChannelStream"); } - grpc_transport* transport() { return transport_; } + Transport* transport() { return transport_; } grpc_closure* stream_destroyed_closure() { return &stream_destroyed_; } BatchBuilder::Target batch_target() { @@ -338,8 +333,8 @@ class ConnectedChannelStream : public Orphanable { explicit StreamDeleter(ConnectedChannelStream* impl) : impl_(impl) {} void operator()(grpc_stream* stream) const { if (stream == nullptr) return; - grpc_transport_destroy_stream(impl_->transport(), stream, - impl_->stream_destroyed_closure()); + impl_->transport()->filter_stack_transport()->DestroyStream( + stream, impl_->stream_destroyed_closure()); } private: @@ -359,7 +354,7 @@ class ConnectedChannelStream : public Orphanable { } } - grpc_transport* const transport_; + Transport* const transport_; RefCountedPtr const call_context_{ GetContext()->Ref()}; grpc_closure stream_destroyed_ = @@ -369,7 +364,7 @@ class ConnectedChannelStream : public Orphanable { grpc_stream_refcount stream_refcount_; StreamPtr stream_; Arena* arena_ = GetContext(); - Party* const party_ = static_cast(Activity::current()); + Party* const party_ = GetContext(); ExternallyObservableLatch finished_; }; @@ -388,17 +383,18 @@ auto ConnectedChannelStream::RecvMessages( gpr_log(GPR_INFO, "%s[connected] RecvMessage: received payload of %" PRIdPTR " bytes", - Activity::current()->DebugTag().c_str(), + GetContext()->DebugTag().c_str(), pending_message->payload()->Length()); } return Map(incoming_messages.Push(std::move(pending_message)), [](bool ok) -> LoopCtl { if (!ok) { if (grpc_call_trace.enabled()) { - gpr_log(GPR_INFO, - "%s[connected] RecvMessage: failed to " - "push message towards the application", - Activity::current()->DebugTag().c_str()); + gpr_log( + GPR_INFO, + "%s[connected] RecvMessage: failed to " + "push message towards the application", + GetContext()->DebugTag().c_str()); } return absl::OkStatus(); } @@ -411,11 +407,13 @@ auto ConnectedChannelStream::RecvMessages( gpr_log(GPR_INFO, "%s[connected] RecvMessage: reached end of stream with " "status:%s", - Activity::current()->DebugTag().c_str(), + GetContext()->DebugTag().c_str(), status.status().ToString().c_str()); } if (cancel_on_error && !status.ok()) { incoming_messages.CloseWithError(); + } else { + incoming_messages.Close(); } return Immediate(LoopCtl(status.status())); }; @@ -437,22 +435,22 @@ auto ConnectedChannelStream::SendMessages( // defined(GRPC_EXPERIMENT_IS_INCLUDED_PROMISE_BASED_SERVER_CALL) #ifdef GRPC_EXPERIMENT_IS_INCLUDED_PROMISE_BASED_CLIENT_CALL -ArenaPromise MakeClientCallPromise( - grpc_transport* transport, CallArgs call_args, NextPromiseFactory) { +ArenaPromise MakeClientCallPromise(Transport* transport, + CallArgs call_args, + NextPromiseFactory) { OrphanablePtr stream( GetContext()->New(transport)); - stream->SetStream(static_cast( - GetContext()->Alloc(transport->vtable->sizeof_stream))); - grpc_transport_init_stream(transport, stream->stream(), - stream->stream_refcount(), nullptr, - GetContext()); - auto* party = static_cast(Activity::current()); - party->Spawn( - "set_polling_entity", call_args.polling_entity->Wait(), - [transport, - stream = stream->InternalRef()](grpc_polling_entity polling_entity) { - grpc_transport_set_pops(transport, stream->stream(), &polling_entity); - }); + stream->SetStream(static_cast(GetContext()->Alloc( + transport->filter_stack_transport()->SizeOfStream()))); + transport->filter_stack_transport()->InitStream(stream->stream(), + stream->stream_refcount(), + nullptr, GetContext()); + auto* party = GetContext(); + party->Spawn("set_polling_entity", call_args.polling_entity->Wait(), + [transport, stream = stream->InternalRef()]( + grpc_polling_entity polling_entity) { + transport->SetPollingEntity(stream->stream(), &polling_entity); + }); // Start a loop to send messages from client_to_server_messages to the // transport. When the pipe closes and the loop completes, send a trailing // metadata batch to close the stream. @@ -477,7 +475,7 @@ ArenaPromise MakeClientCallPromise( if (grpc_call_trace.enabled()) { gpr_log(GPR_DEBUG, "%s[connected] Publish client initial metadata: %s", - Activity::current()->DebugTag().c_str(), + GetContext()->DebugTag().c_str(), server_initial_metadata->DebugString().c_str()); } return Map(pipe->Push(std::move(server_initial_metadata)), @@ -574,18 +572,17 @@ ArenaPromise MakeClientCallPromise( #ifdef GRPC_EXPERIMENT_IS_INCLUDED_PROMISE_BASED_SERVER_CALL ArenaPromise MakeServerCallPromise( - grpc_transport* transport, CallArgs, - NextPromiseFactory next_promise_factory) { + Transport* transport, CallArgs, NextPromiseFactory next_promise_factory) { OrphanablePtr stream( GetContext()->New(transport)); - stream->SetStream(static_cast( - GetContext()->Alloc(transport->vtable->sizeof_stream))); - grpc_transport_init_stream( - transport, stream->stream(), stream->stream_refcount(), + stream->SetStream(static_cast(GetContext()->Alloc( + transport->filter_stack_transport()->SizeOfStream()))); + transport->filter_stack_transport()->InitStream( + stream->stream(), stream->stream_refcount(), GetContext()->server_call_context()->server_stream_data(), GetContext()); - auto* party = static_cast(Activity::current()); + auto* party = GetContext(); // Arifacts we need for the lifetime of the call. struct CallData { @@ -601,12 +598,11 @@ ArenaPromise MakeServerCallPromise( GetContext()->Add( [call_data](const grpc_call_final_info*) { call_data->~CallData(); }); - party->Spawn( - "set_polling_entity", call_data->polling_entity_latch.Wait(), - [transport, - stream = stream->InternalRef()](grpc_polling_entity polling_entity) { - grpc_transport_set_pops(transport, stream->stream(), &polling_entity); - }); + party->Spawn("set_polling_entity", call_data->polling_entity_latch.Wait(), + [transport, stream = stream->InternalRef()]( + grpc_polling_entity polling_entity) { + transport->SetPollingEntity(stream->stream(), &polling_entity); + }); auto server_to_client_empty = call_data->server_to_client.receiver.AwaitEmpty(); @@ -752,7 +748,7 @@ ArenaPromise MakeServerCallPromise( : nullptr; if (md != nullptr) { call_data->sent_initial_metadata = true; - auto* party = static_cast(Activity::current()); + auto* party = GetContext(); party->Spawn("connected/send_initial_metadata", GetContext()->SendServerInitialMetadata( stream->batch_target(), std::move(md)), @@ -782,7 +778,7 @@ ArenaPromise MakeServerCallPromise( gpr_log( GPR_DEBUG, "%s[connected] Got trailing metadata; status=%s metadata=%s", - Activity::current()->DebugTag().c_str(), + GetContext()->DebugTag().c_str(), status.status().ToString().c_str(), status.ok() ? (*status)->DebugString().c_str() : ""); } @@ -847,7 +843,7 @@ ArenaPromise MakeServerCallPromise( #endif template (*make_call_promise)( - grpc_transport*, CallArgs, NextPromiseFactory)> + Transport*, CallArgs, NextPromiseFactory)> grpc_channel_filter MakeConnectedFilter() { // Create a vtable that contains both the legacy call methods (for filter // stack based calls) and the new promise based method for creating @@ -857,13 +853,14 @@ grpc_channel_filter MakeConnectedFilter() { // call be promise based. auto make_call_wrapper = +[](grpc_channel_element* elem, CallArgs call_args, NextPromiseFactory next) { - grpc_transport* transport = + Transport* transport = static_cast(elem->channel_data)->transport; return make_call_promise(transport, std::move(call_args), std::move(next)); }; return { connected_channel_start_transport_stream_op_batch, make_call_promise != nullptr ? make_call_wrapper : nullptr, + /* init_call: */ nullptr, connected_channel_start_transport_op, sizeof(call_data), connected_channel_init_call_elem, @@ -877,8 +874,12 @@ grpc_channel_filter MakeConnectedFilter() { // do this, and I'm not sure what that is yet. This is only "safe" // because call stacks place no additional data after the last call // element, and the last call element MUST be the connected channel. - channel_stack->call_stack_size += grpc_transport_stream_size( - static_cast(elem->channel_data)->transport); + auto* transport = + static_cast(elem->channel_data)->transport; + if (transport->filter_stack_transport() != nullptr) { + channel_stack->call_stack_size += + transport->filter_stack_transport()->SizeOfStream(); + } }, connected_channel_destroy_channel_elem, connected_channel_get_channel_info, @@ -886,13 +887,27 @@ grpc_channel_filter MakeConnectedFilter() { }; } -ArenaPromise MakeTransportCallPromise( - grpc_transport* transport, CallArgs call_args, NextPromiseFactory) { - return transport->vtable->make_call_promise(transport, std::move(call_args)); +ArenaPromise MakeClientTransportCallPromise( + Transport* transport, CallArgs call_args, NextPromiseFactory) { + auto spine = GetContext()->MakeCallSpine(std::move(call_args)); + transport->client_transport()->StartCall(CallHandler{spine}); + return Map(spine->server_trailing_metadata().receiver.Next(), + [](NextResult r) { + if (r.has_value()) { + auto md = std::move(r.value()); + md->Set(GrpcStatusFromWire(), true); + return md; + } + auto m = GetContext()->MakePooled( + GetContext()); + m->Set(GrpcStatusMetadata(), GRPC_STATUS_CANCELLED); + m->Set(GrpcCallWasCancelled(), true); + return m; + }); } -const grpc_channel_filter kPromiseBasedTransportFilter = - MakeConnectedFilter(); +const grpc_channel_filter kClientPromiseBasedTransportFilter = + MakeConnectedFilter(); #ifdef GRPC_EXPERIMENT_IS_INCLUDED_PROMISE_BASED_CLIENT_CALL const grpc_channel_filter kClientEmulatedFilter = @@ -910,31 +925,76 @@ const grpc_channel_filter kServerEmulatedFilter = MakeConnectedFilter(); #endif +// noop filter for the v3 stack: placeholder for now because other code requires +// we have a terminator. +// TODO(ctiller): delete when v3 transition is complete. +const grpc_channel_filter kServerPromiseBasedTransportFilter = { + nullptr, + [](grpc_channel_element*, CallArgs, NextPromiseFactory) + -> ArenaPromise { Crash("not implemented"); }, + /* init_call: */ [](grpc_channel_element*, CallSpineInterface*) {}, + connected_channel_start_transport_op, + 0, + nullptr, + set_pollset_or_pollset_set, + nullptr, + sizeof(channel_data), + connected_channel_init_channel_elem, + +[](grpc_channel_stack*, grpc_channel_element*) {}, + connected_channel_destroy_channel_elem, + connected_channel_get_channel_info, + "connected", +}; + +bool TransportSupportsClientPromiseBasedCalls(const ChannelArgs& args) { + auto* transport = args.GetObject(); + return transport->client_transport() != nullptr; +} + +bool TransportSupportsServerPromiseBasedCalls(const ChannelArgs& args) { + auto* transport = args.GetObject(); + return transport->server_transport() != nullptr; +} + } // namespace -} // namespace grpc_core -bool grpc_add_connected_filter(grpc_core::ChannelStackBuilder* builder) { - grpc_transport* t = builder->transport(); - GPR_ASSERT(t != nullptr); - // Choose the right vtable for the connected filter. +void RegisterConnectedChannel(CoreConfiguration::Builder* builder) { // We can't know promise based call or not here (that decision needs the // collaboration of all of the filters on the channel, and we don't want // ordering constraints on when we add filters). // We can know if this results in a promise based call how we'll create // our promise (if indeed we can), and so that is the choice made here. - if (t->vtable->make_call_promise != nullptr) { - // Option 1, and our ideal: the transport supports promise based calls, - // and so we simply use the transport directly. - builder->AppendFilter(&grpc_core::kPromiseBasedTransportFilter); - } else if (grpc_channel_stack_type_is_client(builder->channel_stack_type())) { - // Option 2: the transport does not support promise based calls, but - // we're on the client and so we have an implementation that we can use - // to convert to batches. - builder->AppendFilter(&grpc_core::kClientEmulatedFilter); - } else { - // Option 3: the transport does not support promise based calls, and - // we're on the server so we use the server filter. - builder->AppendFilter(&grpc_core::kServerEmulatedFilter); - } - return true; + + // Option 1, and our ideal: the transport supports promise based calls, + // and so we simply use the transport directly. + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_SUBCHANNEL, + &kClientPromiseBasedTransportFilter) + .Terminal() + .If(TransportSupportsClientPromiseBasedCalls); + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_DIRECT_CHANNEL, + &kClientPromiseBasedTransportFilter) + .Terminal() + .If(TransportSupportsClientPromiseBasedCalls); + builder->channel_init() + ->RegisterFilter(GRPC_SERVER_CHANNEL, &kServerPromiseBasedTransportFilter) + .Terminal() + .If(TransportSupportsServerPromiseBasedCalls); + + // Option 2: the transport does not support promise based calls. + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_SUBCHANNEL, &kClientEmulatedFilter) + .Terminal() + .IfNot(TransportSupportsClientPromiseBasedCalls); + builder->channel_init() + ->RegisterFilter(GRPC_CLIENT_DIRECT_CHANNEL, &kClientEmulatedFilter) + .Terminal() + .IfNot(TransportSupportsClientPromiseBasedCalls); + builder->channel_init() + ->RegisterFilter(GRPC_SERVER_CHANNEL, &kServerEmulatedFilter) + .Terminal() + .IfNot(TransportSupportsServerPromiseBasedCalls); } + +} // namespace grpc_core diff --git a/src/core/lib/channel/context.h b/src/core/lib/channel/context.h index 3325d1d577d..ac2e1aeda49 100644 --- a/src/core/lib/channel/context.h +++ b/src/core/lib/channel/context.h @@ -56,6 +56,9 @@ typedef enum { /// the server. GRPC_CONTEXT_BACKEND_METRIC_PROVIDER, + /// Special Google context + GRPC_CONTEXT_GOOGLE, + GRPC_CONTEXT_COUNT } grpc_context_index; diff --git a/src/core/lib/channel/metrics.cc b/src/core/lib/channel/metrics.cc new file mode 100644 index 00000000000..3e108580e38 --- /dev/null +++ b/src/core/lib/channel/metrics.cc @@ -0,0 +1,188 @@ +// Copyright 2024 The gRPC Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include + +#include "src/core/lib/channel/metrics.h" + +#include "absl/container/flat_hash_map.h" + +#include "src/core/lib/gprpp/crash.h" + +namespace grpc_core { +namespace { +// Uses the Construct-on-First-Use idiom to avoid the static initialization +// order fiasco. +absl::flat_hash_map& +GetInstrumentList() { + static NoDestruct> + instruments; + return *instruments; +} +} // namespace + +GlobalInstrumentsRegistry::GlobalUInt64CounterHandle +GlobalInstrumentsRegistry::RegisterUInt64Counter( + absl::string_view name, absl::string_view description, + absl::string_view unit, absl::Span label_keys, + absl::Span optional_label_keys, + bool enable_by_default) { + auto& instruments = GetInstrumentList(); + if (instruments.find(name) != instruments.end()) { + Crash(absl::StrFormat("Metric name %s has already been registered.", name)); + } + uint32_t index = instruments.size(); + GPR_ASSERT(index < std::numeric_limits::max()); + GlobalInstrumentDescriptor descriptor; + descriptor.value_type = ValueType::kUInt64; + descriptor.instrument_type = InstrumentType::kCounter; + descriptor.index = index; + descriptor.enable_by_default = enable_by_default; + descriptor.name = name; + descriptor.description = description; + descriptor.unit = unit; + descriptor.label_keys = {label_keys.begin(), label_keys.end()}; + descriptor.optional_label_keys = {optional_label_keys.begin(), + optional_label_keys.end()}; + instruments.emplace(name, std::move(descriptor)); + GlobalUInt64CounterHandle handle; + handle.index = index; + return handle; +} + +GlobalInstrumentsRegistry::GlobalDoubleCounterHandle +GlobalInstrumentsRegistry::RegisterDoubleCounter( + absl::string_view name, absl::string_view description, + absl::string_view unit, absl::Span label_keys, + absl::Span optional_label_keys, + bool enable_by_default) { + auto& instruments = GetInstrumentList(); + if (instruments.find(name) != instruments.end()) { + Crash(absl::StrFormat("Metric name %s has already been registered.", name)); + } + uint32_t index = instruments.size(); + GPR_ASSERT(index < std::numeric_limits::max()); + GlobalInstrumentDescriptor descriptor; + descriptor.value_type = ValueType::kDouble; + descriptor.instrument_type = InstrumentType::kCounter; + descriptor.index = index; + descriptor.enable_by_default = enable_by_default; + descriptor.name = name; + descriptor.description = description; + descriptor.unit = unit; + descriptor.label_keys = {label_keys.begin(), label_keys.end()}; + descriptor.optional_label_keys = {optional_label_keys.begin(), + optional_label_keys.end()}; + instruments.emplace(name, std::move(descriptor)); + GlobalDoubleCounterHandle handle; + handle.index = index; + return handle; +} + +GlobalInstrumentsRegistry::GlobalUInt64HistogramHandle +GlobalInstrumentsRegistry::RegisterUInt64Histogram( + absl::string_view name, absl::string_view description, + absl::string_view unit, absl::Span label_keys, + absl::Span optional_label_keys, + bool enable_by_default) { + auto& instruments = GetInstrumentList(); + if (instruments.find(name) != instruments.end()) { + Crash(absl::StrFormat("Metric name %s has already been registered.", name)); + } + uint32_t index = instruments.size(); + GPR_ASSERT(index < std::numeric_limits::max()); + GlobalInstrumentDescriptor descriptor; + descriptor.value_type = ValueType::kUInt64; + descriptor.instrument_type = InstrumentType::kHistogram; + descriptor.index = index; + descriptor.enable_by_default = enable_by_default; + descriptor.name = name; + descriptor.description = description; + descriptor.unit = unit; + descriptor.label_keys = {label_keys.begin(), label_keys.end()}; + descriptor.optional_label_keys = {optional_label_keys.begin(), + optional_label_keys.end()}; + instruments.emplace(name, std::move(descriptor)); + GlobalUInt64HistogramHandle handle; + handle.index = index; + return handle; +} + +GlobalInstrumentsRegistry::GlobalDoubleHistogramHandle +GlobalInstrumentsRegistry::RegisterDoubleHistogram( + absl::string_view name, absl::string_view description, + absl::string_view unit, absl::Span label_keys, + absl::Span optional_label_keys, + bool enable_by_default) { + auto& instruments = GetInstrumentList(); + if (instruments.find(name) != instruments.end()) { + Crash(absl::StrFormat("Metric name %s has already been registered.", name)); + } + uint32_t index = instruments.size(); + GPR_ASSERT(index < std::numeric_limits::max()); + GlobalInstrumentDescriptor descriptor; + descriptor.value_type = ValueType::kDouble; + descriptor.instrument_type = InstrumentType::kHistogram; + descriptor.index = index; + descriptor.enable_by_default = enable_by_default; + descriptor.name = name; + descriptor.description = description; + descriptor.unit = unit; + descriptor.label_keys = {label_keys.begin(), label_keys.end()}; + descriptor.optional_label_keys = {optional_label_keys.begin(), + optional_label_keys.end()}; + instruments.emplace(name, std::move(descriptor)); + GlobalDoubleHistogramHandle handle; + handle.index = index; + return handle; +} + +void GlobalInstrumentsRegistry::ForEach( + absl::FunctionRef f) { + for (const auto& instrument : GetInstrumentList()) { + f(instrument.second); + } +} + +void GlobalInstrumentsRegistry::TestOnlyResetGlobalInstrumentsRegistry() { + auto& instruments = GetInstrumentList(); + instruments.clear(); +} + +NoDestruct GlobalStatsPluginRegistry::mutex_; +NoDestruct>> + GlobalStatsPluginRegistry::plugins_; + +void GlobalStatsPluginRegistry::RegisterStatsPlugin( + std::shared_ptr plugin) { + MutexLock lock(&*mutex_); + plugins_->push_back(std::move(plugin)); +} + +GlobalStatsPluginRegistry::StatsPluginGroup +GlobalStatsPluginRegistry::GetStatsPluginsForChannel( + const StatsPlugin::ChannelScope& scope) { + MutexLock lock(&*mutex_); + StatsPluginGroup group; + for (const auto& plugin : *plugins_) { + if (plugin->IsEnabledForChannel(scope)) { + group.push_back(plugin); + } + } + return group; +} + +} // namespace grpc_core diff --git a/src/core/lib/channel/metrics.h b/src/core/lib/channel/metrics.h new file mode 100644 index 00000000000..994ba36f5aa --- /dev/null +++ b/src/core/lib/channel/metrics.h @@ -0,0 +1,231 @@ +// Copyright 2024 The gRPC Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_LIB_CHANNEL_METRICS_H +#define GRPC_SRC_CORE_LIB_CHANNEL_METRICS_H + +#include + +#include +#include +#include + +#include "absl/functional/function_ref.h" +#include "absl/strings/string_view.h" +#include "absl/types/span.h" + +#include + +#include "src/core/lib/channel/channel_args.h" +#include "src/core/lib/gprpp/no_destruct.h" +#include "src/core/lib/gprpp/sync.h" + +namespace grpc_core { + +// A global registry of instruments(metrics). This API is designed to be used to +// register instruments (Counter and Histogram) as part of program startup, +// before the execution of the main function (during dynamic initialization +// time). Using this API after the main function begins may result into missing +// instruments. This API is thread-unsafe. +class GlobalInstrumentsRegistry { + public: + enum class ValueType { + kUndefined, + kUInt64, + kDouble, + }; + enum class InstrumentType { + kUndefined, + kCounter, + kHistogram, + }; + struct GlobalInstrumentDescriptor { + ValueType value_type; + InstrumentType instrument_type; + uint32_t index; + bool enable_by_default; + absl::string_view name; + absl::string_view description; + absl::string_view unit; + std::vector label_keys; + std::vector optional_label_keys; + }; + struct GlobalHandle { + // This is the index for the corresponding registered instrument that + // StatsPlugins can use to uniquely identify an instrument in the current + // process. Though this is not guaranteed to be stable between different + // runs or between different versions. + uint32_t index; + }; + struct GlobalUInt64CounterHandle : public GlobalHandle {}; + struct GlobalDoubleCounterHandle : public GlobalHandle {}; + struct GlobalUInt64HistogramHandle : public GlobalHandle {}; + struct GlobalDoubleHistogramHandle : public GlobalHandle {}; + + // Creates instrument in the GlobalInstrumentsRegistry. + static GlobalUInt64CounterHandle RegisterUInt64Counter( + absl::string_view name, absl::string_view description, + absl::string_view unit, absl::Span label_keys, + absl::Span optional_label_keys, + bool enable_by_default); + static GlobalDoubleCounterHandle RegisterDoubleCounter( + absl::string_view name, absl::string_view description, + absl::string_view unit, absl::Span label_keys, + absl::Span optional_label_keys, + bool enable_by_default); + static GlobalUInt64HistogramHandle RegisterUInt64Histogram( + absl::string_view name, absl::string_view description, + absl::string_view unit, absl::Span label_keys, + absl::Span optional_label_keys, + bool enable_by_default); + static GlobalDoubleHistogramHandle RegisterDoubleHistogram( + absl::string_view name, absl::string_view description, + absl::string_view unit, absl::Span label_keys, + absl::Span optional_label_keys, + bool enable_by_default); + static void ForEach( + absl::FunctionRef f); + + static void TestOnlyResetGlobalInstrumentsRegistry(); + + GlobalInstrumentsRegistry() = delete; +}; + +// The StatsPlugin interface. +class StatsPlugin { + public: + class ChannelScope { + public: + ChannelScope(absl::string_view target, absl::string_view authority) + : target_(target), authority_(authority) {} + + absl::string_view target() const { return target_; } + absl::string_view authority() const { return authority_; } + + private: + absl::string_view target_; + absl::string_view authority_; + }; + + virtual ~StatsPlugin() = default; + + virtual bool IsEnabledForChannel(const ChannelScope& scope) const = 0; + virtual bool IsEnabledForServer(const ChannelArgs& args) const = 0; + + virtual void AddCounter( + GlobalInstrumentsRegistry::GlobalUInt64CounterHandle handle, + uint64_t value, absl::Span label_values, + absl::Span optional_values) = 0; + virtual void AddCounter( + GlobalInstrumentsRegistry::GlobalDoubleCounterHandle handle, double value, + absl::Span label_values, + absl::Span optional_values) = 0; + virtual void RecordHistogram( + GlobalInstrumentsRegistry::GlobalUInt64HistogramHandle handle, + uint64_t value, absl::Span label_values, + absl::Span optional_values) = 0; + virtual void RecordHistogram( + GlobalInstrumentsRegistry::GlobalDoubleHistogramHandle handle, + double value, absl::Span label_values, + absl::Span optional_values) = 0; + // TODO(yijiem): Details pending. + // std::unique_ptr GetObservableGauge( + // absl::string_view name, absl::string_view description, + // absl::string_view unit); + // AsyncInstrument* GetObservableCounter( + // absl::string_view name, absl::string_view description, + // absl::string_view unit); + + // TODO(yijiem): This is an optimization for the StatsPlugin to create its own + // representation of the label_values and use it multiple times. We would + // change AddCounter and RecordHistogram to take RefCountedPtr + // and also change the StatsPluginsGroup to support this. + // Use the StatsPlugin to get a representation of label values that can be + // saved for multiple uses later. + // virtual RefCountedPtr MakeLabelValueSet( + // absl::Span label_values) = 0; +}; + +// A global registry of StatsPlugins. It has shared ownership to the registered +// StatsPlugins. This API is supposed to be used during runtime after the main +// function begins. This API is thread-safe. +class GlobalStatsPluginRegistry { + public: + class StatsPluginGroup { + public: + void push_back(std::shared_ptr plugin) { + plugins_.push_back(std::move(plugin)); + } + + void AddCounter(GlobalInstrumentsRegistry::GlobalUInt64CounterHandle handle, + uint64_t value, + absl::Span label_values, + absl::Span optional_values) { + for (auto& plugin : plugins_) { + plugin->AddCounter(handle, value, label_values, optional_values); + } + } + void AddCounter(GlobalInstrumentsRegistry::GlobalDoubleCounterHandle handle, + double value, + absl::Span label_values, + absl::Span optional_values) { + for (auto& plugin : plugins_) { + plugin->AddCounter(handle, value, label_values, optional_values); + } + } + void RecordHistogram( + GlobalInstrumentsRegistry::GlobalUInt64HistogramHandle handle, + uint64_t value, absl::Span label_values, + absl::Span optional_values) { + for (auto& plugin : plugins_) { + plugin->RecordHistogram(handle, value, label_values, optional_values); + } + } + void RecordHistogram( + GlobalInstrumentsRegistry::GlobalDoubleHistogramHandle handle, + double value, absl::Span label_values, + absl::Span optional_values) { + for (auto& plugin : plugins_) { + plugin->RecordHistogram(handle, value, label_values, optional_values); + } + } + + private: + std::vector> plugins_; + }; + + static void RegisterStatsPlugin(std::shared_ptr plugin); + // The following two functions can be invoked to get a StatsPluginGroup for + // a specified scope. + static StatsPluginGroup GetStatsPluginsForChannel( + const StatsPlugin::ChannelScope& scope); + // TODO(yijiem): Implement this. + // StatsPluginsGroup GetStatsPluginsForServer(ChannelArgs& args); + + static void TestOnlyResetGlobalStatsPluginRegistry() { + MutexLock lock(&*mutex_); + plugins_->clear(); + } + + private: + GlobalStatsPluginRegistry() = default; + + static NoDestruct mutex_; + static NoDestruct>> plugins_ + ABSL_GUARDED_BY(mutex_); +}; + +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_LIB_CHANNEL_METRICS_H diff --git a/src/core/lib/channel/promise_based_filter.cc b/src/core/lib/channel/promise_based_filter.cc index f81bcc08ca2..96a22a2fb0d 100644 --- a/src/core/lib/channel/promise_based_filter.cc +++ b/src/core/lib/channel/promise_based_filter.cc @@ -17,7 +17,6 @@ #include "src/core/lib/channel/promise_based_filter.h" #include -#include #include #include #include @@ -375,11 +374,11 @@ void BaseCallData::SendMessage::GotPipe(T* pipe_end) { switch (state_) { case State::kInitial: state_ = State::kIdle; - Activity::current()->ForceImmediateRepoll(); + GetContext()->ForceImmediateRepoll(); break; case State::kGotBatchNoPipe: state_ = State::kGotBatch; - Activity::current()->ForceImmediateRepoll(); + GetContext()->ForceImmediateRepoll(); break; case State::kIdle: case State::kGotBatch: @@ -568,7 +567,7 @@ void BaseCallData::SendMessage::WakeInsideCombiner(Flusher* flusher, } if (completed_status_.ok()) { state_ = State::kIdle; - Activity::current()->ForceImmediateRepoll(); + GetContext()->ForceImmediateRepoll(); } else { state_ = State::kCancelled; } @@ -676,7 +675,7 @@ void BaseCallData::ReceiveMessage::GotPipe(T* pipe_end) { break; case State::kBatchCompletedNoPipe: state_ = State::kBatchCompleted; - Activity::current()->ForceImmediateRepoll(); + GetContext()->ForceImmediateRepoll(); break; case State::kIdle: case State::kForwardedBatch: @@ -721,7 +720,7 @@ void BaseCallData::ReceiveMessage::OnComplete(absl::Status status) { Crash(absl::StrFormat("ILLEGAL STATE: %s", StateString(state_))); case State::kForwardedBatchNoPipe: state_ = State::kBatchCompletedNoPipe; - return; + break; case State::kForwardedBatch: state_ = State::kBatchCompleted; break; @@ -784,6 +783,8 @@ void BaseCallData::ReceiveMessage::Done(const ServerMetadata& metadata, } } break; case State::kBatchCompletedNoPipe: + state_ = State::kBatchCompletedButCancelledNoPipe; + break; case State::kBatchCompletedButCancelled: case State::kBatchCompletedButCancelledNoPipe: Crash(absl::StrFormat("ILLEGAL STATE: %s", StateString(state_))); @@ -1313,10 +1314,13 @@ ClientCallData::ClientCallData(grpc_call_element* elem, } ClientCallData::~ClientCallData() { + ScopedActivity scoped_activity(this); GPR_ASSERT(poll_ctx_ == nullptr); if (recv_initial_metadata_ != nullptr) { recv_initial_metadata_->~RecvInitialMetadata(); } + initial_metadata_outstanding_token_ = + ClientInitialMetadataOutstandingToken::Empty(); } std::string ClientCallData::DebugTag() const { @@ -2047,7 +2051,8 @@ void ServerCallData::StartBatch(grpc_transport_stream_op_batch* b) { !batch->recv_initial_metadata && !batch->recv_message && !batch->recv_trailing_metadata); PollContext poll_ctx(this, &flusher); - Completed(batch->payload->cancel_stream.cancel_error, &flusher); + Completed(batch->payload->cancel_stream.cancel_error, + batch->payload->cancel_stream.tarpit, &flusher); if (is_last()) { batch.CompleteWith(&flusher); } else { @@ -2166,7 +2171,8 @@ void ServerCallData::StartBatch(grpc_transport_stream_op_batch* b) { } // Handle cancellation. -void ServerCallData::Completed(grpc_error_handle error, Flusher* flusher) { +void ServerCallData::Completed(grpc_error_handle error, + bool tarpit_cancellation, Flusher* flusher) { if (grpc_trace_channel.enabled()) { gpr_log( GPR_DEBUG, @@ -2196,6 +2202,7 @@ void ServerCallData::Completed(grpc_error_handle error, Flusher* flusher) { })); batch->cancel_stream = true; batch->payload->cancel_stream.cancel_error = error; + batch->payload->cancel_stream.tarpit = tarpit_cancellation; flusher->Resume(batch); } break; @@ -2331,7 +2338,8 @@ void ServerCallData::RecvTrailingMetadataReady(grpc_error_handle error) { } Flusher flusher(this); PollContext poll_ctx(this, &flusher); - Completed(error, &flusher); + Completed(error, recv_trailing_metadata_->get(GrpcTarPit()).has_value(), + &flusher); flusher.AddClosure(original_recv_trailing_metadata_ready_, std::move(error), "continue recv trailing"); } @@ -2551,7 +2559,8 @@ void ServerCallData::WakeInsideCombiner(Flusher* flusher) { break; case SendTrailingState::kInitial: { GPR_ASSERT(*md->get_pointer(GrpcStatusMetadata()) != GRPC_STATUS_OK); - Completed(StatusFromMetadata(*md), flusher); + Completed(StatusFromMetadata(*md), md->get(GrpcTarPit()).has_value(), + flusher); } break; case SendTrailingState::kCancelled: // Nothing to do. diff --git a/src/core/lib/channel/promise_based_filter.h b/src/core/lib/channel/promise_based_filter.h index 23181395da7..971e98895b1 100644 --- a/src/core/lib/channel/promise_based_filter.h +++ b/src/core/lib/channel/promise_based_filter.h @@ -25,7 +25,6 @@ #include #include -#include #include #include #include @@ -44,6 +43,7 @@ #include #include "src/core/lib/channel/call_finalization.h" +#include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/channel_stack.h" #include "src/core/lib/channel/context.h" @@ -61,15 +61,25 @@ #include "src/core/lib/promise/context.h" #include "src/core/lib/promise/pipe.h" #include "src/core/lib/promise/poll.h" +#include "src/core/lib/promise/promise.h" +#include "src/core/lib/promise/race.h" +#include "src/core/lib/promise/try_seq.h" #include "src/core/lib/resource_quota/arena.h" #include "src/core/lib/slice/slice_buffer.h" #include "src/core/lib/surface/call.h" +#include "src/core/lib/transport/call_filters.h" #include "src/core/lib/transport/error_utils.h" #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" namespace grpc_core { +// HACK: If a filter has this type as a base class it will be skipped in +// v3 filter stacks. This is a temporary measure to allow the v3 filter stack +// to be bought up whilst some tests inadvertently rely on hard to convert +// filters. +class HackyHackyHackySkipInV3FilterStacks {}; + class ChannelFilter { public: class Args { @@ -123,6 +133,997 @@ class ChannelFilter { grpc_event_engine::experimental::GetDefaultEventEngine(); }; +namespace promise_filter_detail { + +// Determine if a list of interceptors has any that need to asyncronously error +// the promise. If so, we need to allocate a latch for the generated promise for +// the original promise stack polyfill code that's generated. + +inline constexpr bool HasAsyncErrorInterceptor() { return false; } + +inline constexpr bool HasAsyncErrorInterceptor(const NoInterceptor*) { + return false; +} + +template +inline constexpr bool HasAsyncErrorInterceptor(A0 (T::*)(A0, As...)) { + return false; +} + +template +inline constexpr bool HasAsyncErrorInterceptor(absl::Status (T::*)(A...)) { + return true; +} + +template +inline constexpr bool HasAsyncErrorInterceptor(absl::StatusOr (T::*)(A...)) { + return true; +} + +template +inline constexpr bool HasAsyncErrorInterceptor( + ServerMetadataHandle (T::*)(A...)) { + return true; +} + +template +inline constexpr bool HasAsyncErrorInterceptor(void (T::*)(A...)) { + return false; +} + +// For the list case we do two interceptors to avoid amiguities with the single +// argument forms above. +template +inline constexpr bool HasAsyncErrorInterceptor(I1 i1, I2 i2, + Interceptors... interceptors) { + return HasAsyncErrorInterceptor(i1) || HasAsyncErrorInterceptor(i2) || + HasAsyncErrorInterceptor(interceptors...); +} + +// Composite for a given channel type to determine if any of its interceptors +// fall into this category: later code should use this. +template +inline constexpr bool CallHasAsyncErrorInterceptor() { + return HasAsyncErrorInterceptor(&Derived::Call::OnClientToServerMessage, + &Derived::Call::OnServerInitialMetadata, + &Derived::Call::OnServerToClientMessage); +} + +// Determine if an interceptor needs to access the channel via one of its +// arguments. If so, we need to allocate a pointer to the channel for the +// generated polyfill promise for the original promise stack. + +inline constexpr bool HasChannelAccess() { return false; } + +inline constexpr bool HasChannelAccess(const NoInterceptor*) { return false; } + +template +inline constexpr bool HasChannelAccess(R (T::*)(A)) { + return false; +} + +template +inline constexpr bool HasChannelAccess(R (T::*)()) { + return false; +} + +template +inline constexpr bool HasChannelAccess(R (T::*)(A, C)) { + return true; +} + +// For the list case we do two interceptors to avoid amiguities with the single +// argument forms above. +template +inline constexpr bool HasChannelAccess(I1 i1, I2 i2, + Interceptors... interceptors) { + return HasChannelAccess(i1) || HasChannelAccess(i2) || + HasChannelAccess(interceptors...); +} + +// Composite for a given channel type to determine if any of its interceptors +// fall into this category: later code should use this. +template +inline constexpr bool CallHasChannelAccess() { + return HasChannelAccess(&Derived::Call::OnClientInitialMetadata, + &Derived::Call::OnClientToServerMessage, + &Derived::Call::OnServerInitialMetadata, + &Derived::Call::OnServerToClientMessage, + &Derived::Call::OnServerTrailingMetadata, + &Derived::Call::OnFinalize); +} + +// Given a boolean X export a type: +// either T if X is true +// or an empty type if it is false +template +struct TypeIfNeeded; + +template +struct TypeIfNeeded { + struct Type { + Type() = default; + template + explicit Type(Whatever) : Type() {} + }; +}; + +template +struct TypeIfNeeded { + using Type = T; +}; + +// For the original promise scheme polyfill: +// If a set of interceptors might fail asynchronously, wrap the main +// promise in a race with the cancellation latch. +// If not, just return the main promise. +template +struct RaceAsyncCompletion; + +template <> +struct RaceAsyncCompletion { + template + static Promise Run(Promise x, void*) { + return x; + } +}; + +template <> +struct RaceAsyncCompletion { + template + static Promise Run(Promise x, Latch* latch) { + return Race(latch->Wait(), std::move(x)); + } +}; + +// Zero-member wrapper to make sure that Call always has a constructor +// that takes a channel pointer (even if it's thrown away) +template +class CallWrapper; + +template +class CallWrapper()))>> + : public Derived::Call { + public: + explicit CallWrapper(Derived* channel) : Derived::Call(channel) {} +}; + +template +class CallWrapper> + : public Derived::Call { + public: + explicit CallWrapper(Derived*) : Derived::Call() {} +}; + +// For the original promise scheme polyfill: data associated with once call. +template +struct FilterCallData { + explicit FilterCallData(Derived* channel) : call(channel), channel(channel) {} + GPR_NO_UNIQUE_ADDRESS CallWrapper call; + GPR_NO_UNIQUE_ADDRESS + typename TypeIfNeeded, + CallHasAsyncErrorInterceptor()>::Type + error_latch; + GPR_NO_UNIQUE_ADDRESS + typename TypeIfNeeded()>::Type + channel; +}; + +template +auto MapResult(const NoInterceptor*, Promise x, void*) { + return x; +} + +template +auto MapResult(absl::Status (Derived::Call::*fn)(ServerMetadata&), Promise x, + FilterCallData* call_data) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerTrailingMetadata); + return Map(std::move(x), [call_data](ServerMetadataHandle md) { + auto status = call_data->call.OnServerTrailingMetadata(*md); + if (!status.ok()) return ServerMetadataFromStatus(status); + return md; + }); +} + +template +auto MapResult(void (Derived::Call::*fn)(ServerMetadata&), Promise x, + FilterCallData* call_data) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerTrailingMetadata); + return Map(std::move(x), [call_data](ServerMetadataHandle md) { + call_data->call.OnServerTrailingMetadata(*md); + return md; + }); +} + +template +auto MapResult(void (Derived::Call::*fn)(ServerMetadata&, Derived*), Promise x, + FilterCallData* call_data) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerTrailingMetadata); + return Map(std::move(x), [call_data](ServerMetadataHandle md) { + call_data->call.OnServerTrailingMetadata(*md, call_data->channel); + return md; + }); +} + +template +struct RunCallImpl; + +template +struct RunCallImpl { + static auto Run(CallArgs call_args, NextPromiseFactory next_promise_factory, + void*) { + return next_promise_factory(std::move(call_args)); + } +}; + +template +struct RunCallImpl { + static auto Run(CallArgs call_args, NextPromiseFactory next_promise_factory, + FilterCallData* call_data) { + call_data->call.OnClientInitialMetadata(*call_args.client_initial_metadata); + return next_promise_factory(std::move(call_args)); + } +}; + +template +struct RunCallImpl { + static auto Run(CallArgs call_args, NextPromiseFactory next_promise_factory, + FilterCallData* call_data) + -> ArenaPromise { + auto return_md = call_data->call.OnClientInitialMetadata( + *call_args.client_initial_metadata); + if (return_md == nullptr) return next_promise_factory(std::move(call_args)); + return Immediate(std::move(return_md)); + } +}; + +template +struct RunCallImpl { + static auto Run(CallArgs call_args, NextPromiseFactory next_promise_factory, + FilterCallData* call_data) + -> ArenaPromise { + auto return_md = call_data->call.OnClientInitialMetadata( + *call_args.client_initial_metadata, call_data->channel); + if (return_md == nullptr) return next_promise_factory(std::move(call_args)); + return Immediate(std::move(return_md)); + } +}; + +template +struct RunCallImpl { + static auto Run(CallArgs call_args, NextPromiseFactory next_promise_factory, + FilterCallData* call_data) + -> ArenaPromise { + auto status = call_data->call.OnClientInitialMetadata( + *call_args.client_initial_metadata); + if (status.ok()) return next_promise_factory(std::move(call_args)); + return Immediate(ServerMetadataFromStatus(status)); + } +}; + +template +struct RunCallImpl { + static auto Run(CallArgs call_args, NextPromiseFactory next_promise_factory, + FilterCallData* call_data) + -> ArenaPromise { + auto status = call_data->call.OnClientInitialMetadata( + *call_args.client_initial_metadata, call_data->channel); + if (status.ok()) return next_promise_factory(std::move(call_args)); + return Immediate(ServerMetadataFromStatus(status)); + } +}; + +template +struct RunCallImpl< + void (Derived::Call::*)(ClientMetadata& md, Derived* channel), Derived> { + static auto Run(CallArgs call_args, NextPromiseFactory next_promise_factory, + FilterCallData* call_data) { + call_data->call.OnClientInitialMetadata(*call_args.client_initial_metadata, + call_data->channel); + return next_promise_factory(std::move(call_args)); + } +}; + +template +struct RunCallImpl< + Promise (Derived::Call::*)(ClientMetadata& md, Derived* channel), Derived, + absl::void_t( + std::declval>))>> { + static auto Run(CallArgs call_args, NextPromiseFactory next_promise_factory, + FilterCallData* call_data) { + ClientMetadata& md_ref = *call_args.client_initial_metadata; + return TrySeq( + call_data->call.OnClientInitialMetadata(md_ref, call_data->channel), + [call_args = std::move(call_args), + next_promise_factory = std::move(next_promise_factory)]() mutable { + return next_promise_factory(std::move(call_args)); + }); + } +}; + +template +auto RunCall(Interceptor interceptor, CallArgs call_args, + NextPromiseFactory next_promise_factory, + FilterCallData* call_data) { + GPR_DEBUG_ASSERT(interceptor == &Derived::Call::OnClientInitialMetadata); + return RunCallImpl::Run( + std::move(call_args), std::move(next_promise_factory), call_data); +} + +inline void InterceptClientToServerMessage(const NoInterceptor*, void*, + const CallArgs&) {} + +template +inline void InterceptClientToServerMessage( + ServerMetadataHandle (Derived::Call::*fn)(const Message&), + FilterCallData* call_data, const CallArgs& call_args) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientToServerMessage); + call_args.client_to_server_messages->InterceptAndMap( + [call_data](MessageHandle msg) -> absl::optional { + auto return_md = call_data->call.OnClientToServerMessage(*msg); + if (return_md == nullptr) return std::move(msg); + if (call_data->error_latch.is_set()) return absl::nullopt; + call_data->error_latch.Set(std::move(return_md)); + return absl::nullopt; + }); +} + +template +inline void InterceptClientToServerMessage( + ServerMetadataHandle (Derived::Call::*fn)(const Message&, Derived*), + FilterCallData* call_data, const CallArgs& call_args) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientToServerMessage); + call_args.client_to_server_messages->InterceptAndMap( + [call_data](MessageHandle msg) -> absl::optional { + auto return_md = + call_data->call.OnClientToServerMessage(*msg, call_data->channel); + if (return_md == nullptr) return std::move(msg); + if (call_data->error_latch.is_set()) return absl::nullopt; + call_data->error_latch.Set(std::move(return_md)); + return absl::nullopt; + }); +} + +template +inline void InterceptClientToServerMessage( + MessageHandle (Derived::Call::*fn)(MessageHandle, Derived*), + FilterCallData* call_data, const CallArgs& call_args) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientToServerMessage); + call_args.client_to_server_messages->InterceptAndMap( + [call_data](MessageHandle msg) -> absl::optional { + return call_data->call.OnClientToServerMessage(std::move(msg), + call_data->channel); + }); +} + +template +inline void InterceptClientToServerMessage( + absl::StatusOr (Derived::Call::*fn)(MessageHandle, Derived*), + FilterCallData* call_data, const CallArgs& call_args) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientToServerMessage); + call_args.client_to_server_messages->InterceptAndMap( + [call_data](MessageHandle msg) -> absl::optional { + auto r = call_data->call.OnClientToServerMessage(std::move(msg), + call_data->channel); + if (r.ok()) return std::move(*r); + if (call_data->error_latch.is_set()) return absl::nullopt; + call_data->error_latch.Set(ServerMetadataFromStatus(r.status())); + return absl::nullopt; + }); +} + +inline void InterceptClientToServerMessage(const NoInterceptor*, void*, void*, + CallSpineInterface*) {} + +template +inline void InterceptClientToServerMessage( + ServerMetadataHandle (Derived::Call::*fn)(const Message&), + typename Derived::Call* call, Derived*, CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientToServerMessage); + call_spine->client_to_server_messages().receiver.InterceptAndMap( + [call, call_spine](MessageHandle msg) -> absl::optional { + auto return_md = call->OnClientToServerMessage(*msg); + if (return_md == nullptr) return std::move(msg); + return call_spine->Cancel(std::move(return_md)); + }); +} + +template +inline void InterceptClientToServerMessage( + ServerMetadataHandle (Derived::Call::*fn)(const Message&, Derived*), + typename Derived::Call* call, Derived* channel, + CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientToServerMessage); + call_spine->client_to_server_messages().receiver.InterceptAndMap( + [call, call_spine, + channel](MessageHandle msg) -> absl::optional { + auto return_md = call->OnClientToServerMessage(*msg, channel); + if (return_md == nullptr) return std::move(msg); + return call_spine->Cancel(std::move(return_md)); + }); +} + +template +inline void InterceptClientToServerMessage( + MessageHandle (Derived::Call::*fn)(MessageHandle, Derived*), + typename Derived::Call* call, Derived* channel, + CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientToServerMessage); + call_spine->client_to_server_messages().receiver.InterceptAndMap( + [call, channel](MessageHandle msg) { + return call->OnClientToServerMessage(std::move(msg), channel); + }); +} + +template +inline void InterceptClientToServerMessage( + absl::StatusOr (Derived::Call::*fn)(MessageHandle, Derived*), + typename Derived::Call* call, Derived* channel, + CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientToServerMessage); + call_spine->client_to_server_messages().receiver.InterceptAndMap( + [call, call_spine, + channel](MessageHandle msg) -> absl::optional { + auto r = call->OnClientToServerMessage(std::move(msg), channel); + if (r.ok()) return std::move(*r); + return call_spine->Cancel(ServerMetadataFromStatus(r.status())); + }); +} + +inline void InterceptClientInitialMetadata(const NoInterceptor*, void*, void*, + CallSpineInterface*) {} + +template +inline void InterceptClientInitialMetadata( + void (Derived::Call::*fn)(ClientMetadata& md), typename Derived::Call* call, + Derived*, CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientInitialMetadata); + call_spine->client_initial_metadata().receiver.InterceptAndMap( + [call](ClientMetadataHandle md) { + call->OnClientInitialMetadata(*md); + return md; + }); +} + +template +inline void InterceptClientInitialMetadata( + void (Derived::Call::*fn)(ClientMetadata& md, Derived* channel), + typename Derived::Call* call, Derived* channel, + CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientInitialMetadata); + call_spine->client_initial_metadata().receiver.InterceptAndMap( + [call, channel](ClientMetadataHandle md) { + call->OnClientInitialMetadata(*md, channel); + return md; + }); +} + +template +inline void InterceptClientInitialMetadata( + ServerMetadataHandle (Derived::Call::*fn)(ClientMetadata& md), + typename Derived::Call* call, Derived*, CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientInitialMetadata); + call_spine->client_initial_metadata().receiver.InterceptAndMap( + [call_spine, + call](ClientMetadataHandle md) -> absl::optional { + auto return_md = call->OnClientInitialMetadata(*md); + if (return_md == nullptr) return std::move(md); + return call_spine->Cancel(std::move(return_md)); + }); +} + +template +inline void InterceptClientInitialMetadata( + ServerMetadataHandle (Derived::Call::*fn)(ClientMetadata& md, + Derived* channel), + typename Derived::Call* call, Derived* channel, + CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientInitialMetadata); + call_spine->client_initial_metadata().receiver.InterceptAndMap( + [call_spine, call, channel]( + ClientMetadataHandle md) -> absl::optional { + auto return_md = call->OnClientInitialMetadata(*md, channel); + if (return_md == nullptr) return std::move(md); + return call_spine->Cancel(std::move(return_md)); + }); +} + +template +inline void InterceptClientInitialMetadata( + absl::Status (Derived::Call::*fn)(ClientMetadata& md), + typename Derived::Call* call, Derived*, CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientInitialMetadata); + call_spine->client_initial_metadata().receiver.InterceptAndMap( + [call_spine, + call](ClientMetadataHandle md) -> absl::optional { + auto status = call->OnClientInitialMetadata(*md); + if (status.ok()) return std::move(md); + return call_spine->Cancel(ServerMetadataFromStatus(status)); + }); +} + +template +inline void InterceptClientInitialMetadata( + absl::Status (Derived::Call::*fn)(ClientMetadata& md, Derived* channel), + typename Derived::Call* call, Derived* channel, + CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientInitialMetadata); + call_spine->client_initial_metadata().receiver.InterceptAndMap( + [call_spine, call, channel]( + ClientMetadataHandle md) -> absl::optional { + auto status = call->OnClientInitialMetadata(*md, channel); + if (status.ok()) return std::move(md); + return call_spine->Cancel(ServerMetadataFromStatus(status)); + }); +} + +// Returning a promise that resolves to something that can be cast to +// ServerMetadataHandle also counts +template +absl::void_t( + std::declval>))> +InterceptClientInitialMetadata(Promise (Derived::Call::*promise_factory)( + ClientMetadata& md, Derived* channel), + typename Derived::Call* call, Derived* channel, + CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(promise_factory == &Derived::Call::OnClientInitialMetadata); + call_spine->client_initial_metadata().receiver.InterceptAndMap( + [call, call_spine, channel](ClientMetadataHandle md) { + ClientMetadata& md_ref = *md; + return Map(call->OnClientInitialMetadata(md_ref, channel), + [md = std::move(md), + call_spine](PromiseResult status) mutable + -> absl::optional { + if (IsStatusOk(status)) return std::move(md); + return call_spine->Cancel( + StatusCast(std::move(status))); + }); + }); +} + +template +inline void InterceptServerInitialMetadata(const NoInterceptor*, void*, + const CallArgs&) {} + +template +inline void InterceptServerInitialMetadata( + void (Derived::Call::*fn)(ServerMetadata&), + FilterCallData* call_data, const CallArgs& call_args) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerInitialMetadata); + call_args.server_initial_metadata->InterceptAndMap( + [call_data](ServerMetadataHandle md) { + call_data->call.OnServerInitialMetadata(*md); + return md; + }); +} + +template +inline void InterceptServerInitialMetadata( + absl::Status (Derived::Call::*fn)(ServerMetadata&), + FilterCallData* call_data, const CallArgs& call_args) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerInitialMetadata); + call_args.server_initial_metadata->InterceptAndMap( + [call_data]( + ServerMetadataHandle md) -> absl::optional { + auto status = call_data->call.OnServerInitialMetadata(*md); + if (!status.ok() && !call_data->error_latch.is_set()) { + call_data->error_latch.Set(ServerMetadataFromStatus(status)); + return absl::nullopt; + } + return std::move(md); + }); +} + +template +inline void InterceptServerInitialMetadata( + void (Derived::Call::*fn)(ServerMetadata&, Derived*), + FilterCallData* call_data, const CallArgs& call_args) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerInitialMetadata); + call_args.server_initial_metadata->InterceptAndMap( + [call_data](ServerMetadataHandle md) { + call_data->call.OnServerInitialMetadata(*md, call_data->channel); + return md; + }); +} + +template +inline void InterceptServerInitialMetadata( + absl::Status (Derived::Call::*fn)(ServerMetadata&, Derived*), + FilterCallData* call_data, const CallArgs& call_args) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerInitialMetadata); + call_args.server_initial_metadata->InterceptAndMap( + [call_data]( + ServerMetadataHandle md) -> absl::optional { + auto status = + call_data->call.OnServerInitialMetadata(*md, call_data->channel); + if (!status.ok() && !call_data->error_latch.is_set()) { + call_data->error_latch.Set(ServerMetadataFromStatus(status)); + return absl::nullopt; + } + return std::move(md); + }); +} + +inline void InterceptServerInitialMetadata(const NoInterceptor*, void*, void*, + CallSpineInterface*) {} + +template +inline void InterceptServerInitialMetadata( + void (Derived::Call::*fn)(ServerMetadata&), typename Derived::Call* call, + Derived*, CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerInitialMetadata); + call_spine->server_initial_metadata().sender.InterceptAndMap( + [call](ServerMetadataHandle md) { + call->OnServerInitialMetadata(*md); + return md; + }); +} + +template +inline void InterceptServerInitialMetadata( + absl::Status (Derived::Call::*fn)(ServerMetadata&), + typename Derived::Call* call, Derived*, CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerInitialMetadata); + call_spine->server_initial_metadata().sender.InterceptAndMap( + [call, call_spine]( + ServerMetadataHandle md) -> absl::optional { + auto status = call->OnServerInitialMetadata(*md); + if (status.ok()) return std::move(md); + return call_spine->Cancel(ServerMetadataFromStatus(status)); + }); +} + +template +inline void InterceptServerInitialMetadata( + void (Derived::Call::*fn)(ServerMetadata&, Derived*), + typename Derived::Call* call, Derived* channel, + CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerInitialMetadata); + call_spine->server_initial_metadata().sender.InterceptAndMap( + [call, channel](ServerMetadataHandle md) { + call->OnServerInitialMetadata(*md, channel); + return md; + }); +} + +template +inline void InterceptServerInitialMetadata( + absl::Status (Derived::Call::*fn)(ServerMetadata&, Derived*), + typename Derived::Call* call, Derived* channel, + CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerInitialMetadata); + call_spine->server_initial_metadata().sender.InterceptAndMap( + [call, call_spine, channel]( + ServerMetadataHandle md) -> absl::optional { + auto status = call->OnServerInitialMetadata(*md, channel); + if (status.ok()) return std::move(md); + return call_spine->Cancel(ServerMetadataFromStatus(status)); + }); +} + +inline void InterceptServerToClientMessage(const NoInterceptor*, void*, + const CallArgs&) {} + +template +inline void InterceptServerToClientMessage( + ServerMetadataHandle (Derived::Call::*fn)(const Message&), + FilterCallData* call_data, const CallArgs& call_args) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerToClientMessage); + call_args.server_to_client_messages->InterceptAndMap( + [call_data](MessageHandle msg) -> absl::optional { + auto return_md = call_data->call.OnServerToClientMessage(*msg); + if (return_md == nullptr) return std::move(msg); + if (call_data->error_latch.is_set()) return absl::nullopt; + call_data->error_latch.Set(std::move(return_md)); + return absl::nullopt; + }); +} + +template +inline void InterceptServerToClientMessage( + ServerMetadataHandle (Derived::Call::*fn)(const Message&, Derived*), + FilterCallData* call_data, const CallArgs& call_args) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerToClientMessage); + call_args.server_to_client_messages->InterceptAndMap( + [call_data](MessageHandle msg) -> absl::optional { + auto return_md = + call_data->call.OnServerToClientMessage(*msg, call_data->channel); + if (return_md == nullptr) return std::move(msg); + if (call_data->error_latch.is_set()) return absl::nullopt; + call_data->error_latch.Set(std::move(return_md)); + return absl::nullopt; + }); +} + +template +inline void InterceptServerToClientMessage( + MessageHandle (Derived::Call::*fn)(MessageHandle, Derived*), + FilterCallData* call_data, const CallArgs& call_args) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerToClientMessage); + call_args.server_to_client_messages->InterceptAndMap( + [call_data](MessageHandle msg) -> absl::optional { + return call_data->call.OnServerToClientMessage(std::move(msg), + call_data->channel); + }); +} + +template +inline void InterceptServerToClientMessage( + absl::StatusOr (Derived::Call::*fn)(MessageHandle, Derived*), + FilterCallData* call_data, const CallArgs& call_args) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerToClientMessage); + call_args.server_to_client_messages->InterceptAndMap( + [call_data](MessageHandle msg) -> absl::optional { + auto r = call_data->call.OnServerToClientMessage(std::move(msg), + call_data->channel); + if (r.ok()) return std::move(*r); + if (call_data->error_latch.is_set()) return absl::nullopt; + call_data->error_latch.Set(ServerMetadataFromStatus(r.status())); + return absl::nullopt; + }); +} + +inline void InterceptServerToClientMessage(const NoInterceptor*, void*, void*, + CallSpineInterface*) {} + +template +inline void InterceptServerToClientMessage( + ServerMetadataHandle (Derived::Call::*fn)(const Message&), + typename Derived::Call* call, Derived*, CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerToClientMessage); + call_spine->server_to_client_messages().sender.InterceptAndMap( + [call, call_spine](MessageHandle msg) -> absl::optional { + auto return_md = call->OnServerToClientMessage(*msg); + if (return_md == nullptr) return std::move(msg); + return call_spine->Cancel(std::move(return_md)); + }); +} + +template +inline void InterceptServerToClientMessage( + ServerMetadataHandle (Derived::Call::*fn)(const Message&, Derived*), + typename Derived::Call* call, Derived* channel, + CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerToClientMessage); + call_spine->server_to_client_messages().sender.InterceptAndMap( + [call, call_spine, + channel](MessageHandle msg) -> absl::optional { + auto return_md = call->OnServerToClientMessage(*msg, channel); + if (return_md == nullptr) return std::move(msg); + return call_spine->Cancel(std::move(return_md)); + }); +} + +template +inline void InterceptServerToClientMessage( + MessageHandle (Derived::Call::*fn)(MessageHandle, Derived*), + typename Derived::Call* call, Derived* channel, + CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerToClientMessage); + call_spine->server_to_client_messages().sender.InterceptAndMap( + [call, channel](MessageHandle msg) { + return call->OnServerToClientMessage(std::move(msg), channel); + }); +} + +template +inline void InterceptServerToClientMessage( + absl::StatusOr (Derived::Call::*fn)(MessageHandle, Derived*), + typename Derived::Call* call, Derived* channel, + CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerToClientMessage); + call_spine->server_to_client_messages().sender.InterceptAndMap( + [call, call_spine, + channel](MessageHandle msg) -> absl::optional { + auto r = call->OnServerToClientMessage(std::move(msg), channel); + if (r.ok()) return std::move(*r); + return call_spine->Cancel(ServerMetadataFromStatus(r.status())); + }); +} + +inline void InterceptServerTrailingMetadata(const NoInterceptor*, void*, void*, + CallSpineInterface*) {} + +template +inline void InterceptServerTrailingMetadata( + void (Derived::Call::*fn)(ServerMetadata&), typename Derived::Call* call, + Derived*, CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerTrailingMetadata); + call_spine->server_trailing_metadata().sender.InterceptAndMap( + [call](ServerMetadataHandle md) { + call->OnServerTrailingMetadata(*md); + return md; + }); +} + +template +inline void InterceptServerTrailingMetadata( + void (Derived::Call::*fn)(ServerMetadata&, Derived*), + typename Derived::Call* call, Derived* channel, + CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerTrailingMetadata); + call_spine->server_trailing_metadata().sender.InterceptAndMap( + [call, channel](ServerMetadataHandle md) { + call->OnServerTrailingMetadata(*md, channel); + return md; + }); +} + +template +inline void InterceptServerTrailingMetadata( + absl::Status (Derived::Call::*fn)(ServerMetadata&), + typename Derived::Call* call, Derived*, CallSpineInterface* call_spine) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerTrailingMetadata); + call_spine->server_trailing_metadata().sender.InterceptAndMap( + [call](ServerMetadataHandle md) -> absl::optional { + auto status = call->OnServerTrailingMetadata(*md); + if (status.ok()) return std::move(md); + return ServerMetadataFromStatus(status); + }); +} + +inline void InterceptFinalize(const NoInterceptor*, void*, void*) {} + +template +inline void InterceptFinalize(void (Call::*fn)(const grpc_call_final_info*), + void*, Call* call) { + GPR_DEBUG_ASSERT(fn == &Call::OnFinalize); + GetContext()->Add( + [call](const grpc_call_final_info* final_info) { + call->OnFinalize(final_info); + }); +} + +template +inline void InterceptFinalize( + void (Derived::Call::*fn)(const grpc_call_final_info*, Derived*), + Derived* channel, typename Derived::Call* call) { + GPR_DEBUG_ASSERT(fn == &Derived::Call::OnFinalize); + GetContext()->Add( + [call, channel](const grpc_call_final_info* final_info) { + call->OnFinalize(final_info, channel); + }); +} + +template +absl::enable_if_t>::value, + FilterCallData*> +MakeFilterCall(Derived*) { + static FilterCallData call{nullptr}; + return &call; +} + +template +absl::enable_if_t>::value, + FilterCallData*> +MakeFilterCall(Derived* derived) { + return GetContext()->ManagedNew>(derived); +} + +} // namespace promise_filter_detail + +// Base class for promise-based channel filters. +// Eventually this machinery will move elsewhere (the interception logic will +// move directly into the channel stack, and so filters will just directly +// derive from `ChannelFilter`) +// +// Implements new-style call filters, and polyfills them into the previous +// scheme. +// +// Call filters: +// Derived types should declare a class `Call` with the following members: +// - OnClientInitialMetadata - $VALUE_TYPE = ClientMetadata +// - OnServerInitialMetadata - $VALUE_TYPE = ServerMetadata +// - OnServerToClientMessage - $VALUE_TYPE = Message +// - OnClientToServerMessage - $VALUE_TYPE = Message +// - OnServerTrailingMetadata - $VALUE_TYPE = ServerMetadata +// - OnFinalize - special, see below +// These members define an interception point for a particular event in +// the call lifecycle. +// The type of these members matters, and is selectable by the class +// author. For $INTERCEPTOR_NAME in the above list: +// - static const NoInterceptor $INTERCEPTOR_NAME: +// defines that this filter does not intercept this event. +// there is zero runtime cost added to handling that event by this filter. +// - void $INTERCEPTOR_NAME($VALUE_TYPE&): +// the filter intercepts this event, and can modify the value. +// it never fails. +// - absl::Status $INTERCEPTOR_NAME($VALUE_TYPE&): +// the filter intercepts this event, and can modify the value. +// it can fail, in which case the call will be aborted. +// - ServerMetadataHandle $INTERCEPTOR_NAME($VALUE_TYPE&) +// the filter intercepts this event, and can modify the value. +// the filter can return nullptr for success, or a metadata handle for +// failure (in which case the call will be aborted). +// useful for cases where the exact metadata returned needs to be customized. +// - void $INTERCEPTOR_NAME($VALUE_TYPE&, Derived*): +// the filter intercepts this event, and can modify the value. +// it can access the channel via the second argument. +// it never fails. +// - absl::Status $INTERCEPTOR_NAME($VALUE_TYPE&, Derived*): +// the filter intercepts this event, and can modify the value. +// it can access the channel via the second argument. +// it can fail, in which case the call will be aborted. +// - ServerMetadataHandle $INTERCEPTOR_NAME($VALUE_TYPE&, Derived*) +// the filter intercepts this event, and can modify the value. +// it can access the channel via the second argument. +// the filter can return nullptr for success, or a metadata handle for +// failure (in which case the call will be aborted). +// useful for cases where the exact metadata returned needs to be customized. +// It's also acceptable to return a promise that resolves to the +// relevant return type listed above. +// Finally, OnFinalize can be added to intecept call finalization. +// It must have one of the signatures: +// - static const NoInterceptor OnFinalize: +// the filter does not intercept call finalization. +// - void OnFinalize(const grpc_call_final_info*): +// the filter intercepts call finalization. +class ImplementChannelFilterTag {}; +template +class ImplementChannelFilter : public ChannelFilter, + public ImplementChannelFilterTag { + public: + // Natively construct a v3 call. + void InitCall(CallSpineInterface* call_spine) { + typename Derived::Call* call = + GetContext() + ->ManagedNew>( + static_cast(this)); + promise_filter_detail::InterceptClientInitialMetadata( + &Derived::Call::OnClientInitialMetadata, call, + static_cast(this), call_spine); + promise_filter_detail::InterceptClientToServerMessage( + &Derived::Call::OnClientToServerMessage, call, + static_cast(this), call_spine); + promise_filter_detail::InterceptServerInitialMetadata( + &Derived::Call::OnServerInitialMetadata, call, + static_cast(this), call_spine); + promise_filter_detail::InterceptServerToClientMessage( + &Derived::Call::OnServerToClientMessage, call, + static_cast(this), call_spine); + promise_filter_detail::InterceptServerTrailingMetadata( + &Derived::Call::OnServerTrailingMetadata, call, + static_cast(this), call_spine); + promise_filter_detail::InterceptFinalize(&Derived::Call::OnFinalize, + static_cast(this), call); + } + + // Polyfill for the original promise scheme. + // Allows writing v3 filters that work with v2 stacks. + // (and consequently also v1 stacks since we can polyfill back to that too). + ArenaPromise MakeCallPromise( + CallArgs call_args, NextPromiseFactory next_promise_factory) final { + auto* call = promise_filter_detail::MakeFilterCall( + static_cast(this)); + promise_filter_detail::InterceptClientToServerMessage( + &Derived::Call::OnClientToServerMessage, call, call_args); + promise_filter_detail::InterceptServerInitialMetadata( + &Derived::Call::OnServerInitialMetadata, call, call_args); + promise_filter_detail::InterceptServerToClientMessage( + &Derived::Call::OnServerToClientMessage, call, call_args); + promise_filter_detail::InterceptFinalize( + &Derived::Call::OnFinalize, static_cast(this), + static_cast(&call->call)); + return promise_filter_detail::MapResult( + &Derived::Call::OnServerTrailingMetadata, + promise_filter_detail::RaceAsyncCompletion< + promise_filter_detail::CallHasAsyncErrorInterceptor()>:: + Run(promise_filter_detail::RunCall( + &Derived::Call::OnClientInitialMetadata, + std::move(call_args), std::move(next_promise_factory), + call), + &call->error_latch), + call); + } +}; + // Designator for whether a filter is client side or server side. // Please don't use this outside calls to MakePromiseBasedFilter - it's // intended to be deleted once the promise conversion is complete. @@ -739,7 +1740,8 @@ class ServerCallData : public BaseCallData { struct SendInitialMetadata; // Shut things down when the call completes. - void Completed(grpc_error_handle error, Flusher* flusher); + void Completed(grpc_error_handle error, bool tarpit_cancellation, + Flusher* flusher); // Construct a promise that will "call" the next filter. // Effectively: // - put the modified initial metadata into the batch being sent up. @@ -912,7 +1914,97 @@ struct ChannelFilterWithFlagsMethods { // ChannelArgs channel_args, ChannelFilter::Args filter_args); // }; template -absl::enable_if_t::value, grpc_channel_filter> +absl::enable_if_t< + std::is_base_of::value && + !std::is_base_of::value && + !std::is_base_of::value, + grpc_channel_filter> +MakePromiseBasedFilter(const char* name) { + using CallData = promise_filter_detail::CallData; + + return grpc_channel_filter{ + // start_transport_stream_op_batch + promise_filter_detail::BaseCallDataMethods::StartTransportStreamOpBatch, + // make_call_promise + promise_filter_detail::ChannelFilterMethods::MakeCallPromise, + nullptr, + // start_transport_op + promise_filter_detail::ChannelFilterMethods::StartTransportOp, + // sizeof_call_data + sizeof(CallData), + // init_call_elem + promise_filter_detail::CallDataFilterWithFlagsMethods< + CallData, kFlags>::InitCallElem, + // set_pollset_or_pollset_set + promise_filter_detail::BaseCallDataMethods::SetPollsetOrPollsetSet, + // destroy_call_elem + promise_filter_detail::CallDataFilterWithFlagsMethods< + CallData, kFlags>::DestroyCallElem, + // sizeof_channel_data + sizeof(F), + // init_channel_elem + promise_filter_detail::ChannelFilterWithFlagsMethods< + F, kFlags>::InitChannelElem, + // post_init_channel_elem + promise_filter_detail::ChannelFilterMethods::PostInitChannelElem, + // destroy_channel_elem + promise_filter_detail::ChannelFilterMethods::DestroyChannelElem, + // get_channel_info + promise_filter_detail::ChannelFilterMethods::GetChannelInfo, + // name + name, + }; +} + +template +absl::enable_if_t< + std::is_base_of::value, + grpc_channel_filter> +MakePromiseBasedFilter(const char* name) { + using CallData = promise_filter_detail::CallData; + + return grpc_channel_filter{ + // start_transport_stream_op_batch + promise_filter_detail::BaseCallDataMethods::StartTransportStreamOpBatch, + // make_call_promise + promise_filter_detail::ChannelFilterMethods::MakeCallPromise, + [](grpc_channel_element* elem, CallSpineInterface*) { + GRPC_LOG_EVERY_N_SEC( + 1, GPR_ERROR, + "gRPC V3 call stack in use, with a filter ('%s') that is not V3.", + elem->filter->name); + }, + // start_transport_op + promise_filter_detail::ChannelFilterMethods::StartTransportOp, + // sizeof_call_data + sizeof(CallData), + // init_call_elem + promise_filter_detail::CallDataFilterWithFlagsMethods< + CallData, kFlags>::InitCallElem, + // set_pollset_or_pollset_set + promise_filter_detail::BaseCallDataMethods::SetPollsetOrPollsetSet, + // destroy_call_elem + promise_filter_detail::CallDataFilterWithFlagsMethods< + CallData, kFlags>::DestroyCallElem, + // sizeof_channel_data + sizeof(F), + // init_channel_elem + promise_filter_detail::ChannelFilterWithFlagsMethods< + F, kFlags>::InitChannelElem, + // post_init_channel_elem + promise_filter_detail::ChannelFilterMethods::PostInitChannelElem, + // destroy_channel_elem + promise_filter_detail::ChannelFilterMethods::DestroyChannelElem, + // get_channel_info + promise_filter_detail::ChannelFilterMethods::GetChannelInfo, + // name + name, + }; +} + +template +absl::enable_if_t::value, + grpc_channel_filter> MakePromiseBasedFilter(const char* name) { using CallData = promise_filter_detail::CallData; @@ -921,6 +2013,9 @@ MakePromiseBasedFilter(const char* name) { promise_filter_detail::BaseCallDataMethods::StartTransportStreamOpBatch, // make_call_promise promise_filter_detail::ChannelFilterMethods::MakeCallPromise, + [](grpc_channel_element* elem, CallSpineInterface* args) { + static_cast(elem->channel_data)->InitCall(args); + }, // start_transport_op promise_filter_detail::ChannelFilterMethods::StartTransportOp, // sizeof_call_data diff --git a/src/core/lib/channel/server_call_tracer_filter.cc b/src/core/lib/channel/server_call_tracer_filter.cc index 893f33e4e5b..2858d4ca0ad 100644 --- a/src/core/lib/channel/server_call_tracer_filter.cc +++ b/src/core/lib/channel/server_call_tracer_filter.cc @@ -27,7 +27,6 @@ #include "src/core/lib/channel/channel_args.h" #include "src/core/lib/channel/channel_fwd.h" #include "src/core/lib/channel/channel_stack.h" -#include "src/core/lib/channel/channel_stack_builder.h" #include "src/core/lib/channel/context.h" #include "src/core/lib/channel/promise_based_filter.h" #include "src/core/lib/config/core_configuration.h" @@ -36,8 +35,6 @@ #include "src/core/lib/promise/context.h" #include "src/core/lib/promise/map.h" #include "src/core/lib/promise/pipe.h" -#include "src/core/lib/promise/poll.h" -#include "src/core/lib/surface/channel_init.h" #include "src/core/lib/surface/channel_stack_type.h" #include "src/core/lib/transport/transport.h" @@ -45,19 +42,55 @@ namespace grpc_core { namespace { -// TODO(yashykt): This filter is not really needed. We should be able to move -// this to the connected filter. -class ServerCallTracerFilter : public ChannelFilter { +class ServerCallTracerFilter + : public ImplementChannelFilter { public: static const grpc_channel_filter kFilter; static absl::StatusOr Create( const ChannelArgs& /*args*/, ChannelFilter::Args /*filter_args*/); - ArenaPromise MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) override; + class Call { + public: + void OnClientInitialMetadata(ClientMetadata& client_initial_metadata) { + auto* call_tracer = CallTracer(); + if (call_tracer == nullptr) return; + call_tracer->RecordReceivedInitialMetadata(&client_initial_metadata); + } + + void OnServerInitialMetadata(ServerMetadata& server_initial_metadata) { + auto* call_tracer = CallTracer(); + if (call_tracer == nullptr) return; + call_tracer->RecordSendInitialMetadata(&server_initial_metadata); + } + + void OnFinalize(const grpc_call_final_info* final_info) { + auto* call_tracer = CallTracer(); + if (call_tracer == nullptr) return; + call_tracer->RecordEnd(final_info); + } + + void OnServerTrailingMetadata(ServerMetadata& server_trailing_metadata) { + auto* call_tracer = CallTracer(); + if (call_tracer == nullptr) return; + call_tracer->RecordSendTrailingMetadata(&server_trailing_metadata); + } + + static const NoInterceptor OnClientToServerMessage; + static const NoInterceptor OnServerToClientMessage; + + private: + static ServerCallTracer* CallTracer() { + auto* call_context = GetContext(); + return static_cast( + call_context[GRPC_CONTEXT_CALL_TRACER].value); + } + }; }; +const NoInterceptor ServerCallTracerFilter::Call::OnClientToServerMessage; +const NoInterceptor ServerCallTracerFilter::Call::OnServerToClientMessage; + const grpc_channel_filter ServerCallTracerFilter::kFilter = MakePromiseBasedFilter( @@ -68,43 +101,11 @@ absl::StatusOr ServerCallTracerFilter::Create( return ServerCallTracerFilter(); } -ArenaPromise ServerCallTracerFilter::MakeCallPromise( - CallArgs call_args, NextPromiseFactory next_promise_factory) { - auto* call_context = GetContext(); - auto* call_tracer = static_cast( - call_context[GRPC_CONTEXT_CALL_TRACER].value); - if (call_tracer == nullptr) { - return next_promise_factory(std::move(call_args)); - } - call_tracer->RecordReceivedInitialMetadata( - call_args.client_initial_metadata.get()); - call_args.server_initial_metadata->InterceptAndMap( - [call_tracer](ServerMetadataHandle metadata) { - call_tracer->RecordSendInitialMetadata(metadata.get()); - return metadata; - }); - GetContext()->Add( - [call_tracer](const grpc_call_final_info* final_info) { - call_tracer->RecordEnd(final_info); - }); - return OnCancel( - Map(next_promise_factory(std::move(call_args)), - [call_tracer](ServerMetadataHandle md) { - call_tracer->RecordSendTrailingMetadata(md.get()); - return md; - }), - [call_tracer]() { call_tracer->RecordCancel(absl::CancelledError()); }); -} - } // namespace void RegisterServerCallTracerFilter(CoreConfiguration::Builder* builder) { - builder->channel_init()->RegisterStage( - GRPC_SERVER_CHANNEL, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, - [](ChannelStackBuilder* builder) { - builder->AppendFilter(&ServerCallTracerFilter::kFilter); - return true; - }); + builder->channel_init()->RegisterFilter( + GRPC_SERVER_CHANNEL); } } // namespace grpc_core diff --git a/src/core/lib/channel/status_util.cc b/src/core/lib/channel/status_util.cc index bd6bb3845e3..742043a00f1 100644 --- a/src/core/lib/channel/status_util.cc +++ b/src/core/lib/channel/status_util.cc @@ -22,7 +22,6 @@ #include -#include #include #include "absl/strings/str_cat.h" diff --git a/src/core/lib/channel/tcp_tracer.h b/src/core/lib/channel/tcp_tracer.h new file mode 100644 index 00000000000..f93b0e139d8 --- /dev/null +++ b/src/core/lib/channel/tcp_tracer.h @@ -0,0 +1,140 @@ +// +// +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// + +#ifndef GRPC_SRC_CORE_LIB_CHANNEL_TCP_TRACER_H +#define GRPC_SRC_CORE_LIB_CHANNEL_TCP_TRACER_H + +#include + +#include +#include + +#include + +#include "absl/time/time.h" +#include "absl/types/optional.h" + +namespace grpc_core { + +// Interface for TCP tracer implementations. Created by CallTracerInterface. +class TcpTracerInterface { + public: + enum class Type { + kUnknown = 0, + // When the sendmsg system call or its variants returned for the traced byte + // offset. + kSendMsg, + // When the traced byte offset is enqueued in kernel schedulers (aka, + // qdiscs). There can be multiple schedulers. + kScheduled, + // When the traced byte offset is handed over to the NIC. + kSent, + // When the acknowledgement for the traced byte offset was received. + kAcked, + // When the connection is closed. This is not associated with a byte offset. + kClosed, + }; + + struct ConnectionMetrics { + // Congestion control name. + std::string congestion_ctrl; + // Delivery rate in Bps. + absl::optional delivery_rate; + // Total bytes retransmitted so far. + absl::optional data_retx; + // Total bytes sent so far. + absl::optional data_sent; + // Total packets lost so far. + // Includes lost or spuriously retransmitted packets. + absl::optional packet_retx; + // Total packets spuriously retransmitted so far. + absl::optional packet_spurious_retx; + // Total packets sent so far. + absl::optional packet_sent; + // Total packets delivered so far. + absl::optional packet_delivered; + // Total packets delivered so far with ECE marked. + // This metric is smaller than or equal to packet_delivered. + absl::optional packet_delivered_ce; + // Total bytes in write queue but not sent. + absl::optional data_notsent; + // Minimum RTT observed in usec. + absl::optional min_rtt; + // Smoothed RTT in usec + absl::optional srtt; + // TTL or hop limit of a packet received + // Only available with ACKED timestamps. + absl::optional ttl; + // Represents the number of recurring retransmissions of + // the first sequence that is not acknowledged yet. + absl::optional recurring_retrans; + // Network RTT using hardware timestamps (in usec). + // A value of -1 indicates that net_rtt could not be measured. + absl::optional net_rtt_usec; + // Timeout-triggered rehash attempts. + absl::optional timeout_rehash; + // Rehash due to ECN congestion. + absl::optional ecn_rehash; + // Earliest departure time (CLOCK_MONOTONIC). + // Only available with SCHEDULED and SENT timestamps. + absl::optional edt; + // If the delivery rate is limited by the application, this is set to + // true. + absl::optional is_delivery_rate_app_limited; + // Pacing rate of the connection in Bps. + absl::optional pacing_rate; + // Send congestion window in packets. + absl::optional congestion_window; + // Maximum degree of reordering (i.e., maximum number of packets reodered) + // on the connection. + absl::optional reordering; + // Cumulative duration (in usec) that the transport protocol + // was busy sending time. + absl::optional busy_usec; + // Cumulative duration (in usec) that the transport protocol + // was limited by the receive window size. + absl::optional rwnd_limited_usec; + // Cumulative duration (in usec) that the transport protocol + // was limited by the send buffer size. + absl::optional sndbuf_limited_usec; + // Slow start size threshold in packets. + // Set to TCP_INFINITE_SSTHRESH when still in slow start. + absl::optional snd_ssthresh; + // The extra time it takes for the receiver to generate the + // acknowledgement after receiving the last packet. This metric is not + // cumulative. Only available with ACKED timestamps. + absl::optional time_to_ack_usec; + // Last socket error code. Only populated for CLOSED timestamps. + absl::optional socket_errno; + // Peer's receive window after scaling (tcpi_snd_wnd). + // Only available with SENDMSG timestamps. + absl::optional peer_rwnd; + // Receive queue drops. + absl::optional rcvq_drops; + // The NIC Rx delay reported by the remote host. + absl::optional nic_rx_delay_usec; + }; + + virtual ~TcpTracerInterface() = default; + virtual void RecordEvent(Type type, absl::Time time, size_t byte_offset, + absl::optional metrics) = 0; +}; + +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_LIB_CHANNEL_TCP_TRACER_H diff --git a/src/core/lib/compression/compression_internal.cc b/src/core/lib/compression/compression_internal.cc index 6b18915b668..484b101b79e 100644 --- a/src/core/lib/compression/compression_internal.cc +++ b/src/core/lib/compression/compression_internal.cc @@ -22,6 +22,8 @@ #include +#include + #include "absl/container/inlined_vector.h" #include "absl/strings/ascii.h" #include "absl/strings/str_format.h" @@ -34,7 +36,6 @@ #include "src/core/lib/gprpp/crash.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/gprpp/ref_counted_string.h" -#include "src/core/lib/surface/api_trace.h" namespace grpc_core { @@ -110,8 +111,6 @@ absl::optional ParseCompressionAlgorithm( grpc_compression_algorithm CompressionAlgorithmSet::CompressionAlgorithmForLevel( grpc_compression_level level) const { - GRPC_API_TRACE("grpc_message_compression_algorithm_for_level(level=%d)", 1, - ((int)level)); if (level > GRPC_COMPRESS_LEVEL_HIGH) { Crash(absl::StrFormat("Unknown message compression level %d.", static_cast(level))); diff --git a/src/core/lib/config/config_vars.cc b/src/core/lib/config/config_vars.cc index b00017c763d..75b56d344c7 100644 --- a/src/core/lib/config/config_vars.cc +++ b/src/core/lib/config/config_vars.cc @@ -20,7 +20,6 @@ #include "src/core/lib/config/config_vars.h" -#include #include #include "absl/flags/flag.h" diff --git a/src/core/lib/config/config_vars_non_generated.cc b/src/core/lib/config/config_vars_non_generated.cc index 2261d968680..78af08c1d8d 100644 --- a/src/core/lib/config/config_vars_non_generated.cc +++ b/src/core/lib/config/config_vars_non_generated.cc @@ -14,8 +14,6 @@ #include -#include - #include #include diff --git a/src/core/lib/config/core_configuration.cc b/src/core/lib/config/core_configuration.cc index 7ae1b099d52..782b0621154 100644 --- a/src/core/lib/config/core_configuration.cc +++ b/src/core/lib/config/core_configuration.cc @@ -16,7 +16,6 @@ #include "src/core/lib/config/core_configuration.h" -#include #include #include #include diff --git a/src/core/lib/config/core_configuration.h b/src/core/lib/config/core_configuration.h index 88e19038557..761eb5d1fc0 100644 --- a/src/core/lib/config/core_configuration.h +++ b/src/core/lib/config/core_configuration.h @@ -25,13 +25,13 @@ #include "src/core/lib/channel/channel_args_preconditioning.h" #include "src/core/lib/handshaker/proxy_mapper_registry.h" -#include "src/core/lib/load_balancing/lb_policy_registry.h" -#include "src/core/lib/resolver/resolver_registry.h" #include "src/core/lib/security/certificate_provider/certificate_provider_registry.h" #include "src/core/lib/security/credentials/channel_creds_registry.h" -#include "src/core/lib/service_config/service_config_parser.h" #include "src/core/lib/surface/channel_init.h" #include "src/core/lib/transport/handshaker_registry.h" +#include "src/core/load_balancing/lb_policy_registry.h" +#include "src/core/resolver/resolver_registry.h" +#include "src/core/service_config/service_config_parser.h" namespace grpc_core { diff --git a/src/core/lib/event_engine/ares_resolver.cc b/src/core/lib/event_engine/ares_resolver.cc index 7e6160e1299..a51b94630fe 100644 --- a/src/core/lib/event_engine/ares_resolver.cc +++ b/src/core/lib/event_engine/ares_resolver.cc @@ -15,8 +15,6 @@ #include "src/core/lib/event_engine/ares_resolver.h" -#include - #include #include @@ -34,6 +32,7 @@ #if GRPC_ARES == 1 +#include #include #if ARES_VERSION >= 0x011200 @@ -47,7 +46,6 @@ #include #include -#include #include #include #include @@ -65,10 +63,12 @@ #include "src/core/lib/address_utils/parse_address.h" #include "src/core/lib/address_utils/sockaddr_utils.h" +#include "src/core/lib/debug/trace.h" #include "src/core/lib/event_engine/grpc_polled_fd.h" #include "src/core/lib/event_engine/time_util.h" #include "src/core/lib/gprpp/debug_location.h" #include "src/core/lib/gprpp/host_port.h" +#include "src/core/lib/gprpp/orphanable.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/iomgr/resolved_address.h" #include "src/core/lib/iomgr/sockaddr.h" @@ -145,6 +145,28 @@ absl::Status SetRequestDNSServer(absl::string_view dns_server, return absl::OkStatus(); } +std::vector SortAddresses( + const std::vector& addresses) { + address_sorting_sortable* sortables = static_cast( + gpr_zalloc(sizeof(address_sorting_sortable) * addresses.size())); + for (size_t i = 0; i < addresses.size(); i++) { + sortables[i].user_data = + const_cast(&addresses[i]); + memcpy(&sortables[i].dest_addr.addr, addresses[i].address(), + addresses[i].size()); + sortables[i].dest_addr.len = addresses[i].size(); + } + address_sorting_rfc_6724_sort(sortables, addresses.size()); + std::vector sorted_addresses; + sorted_addresses.reserve(addresses.size()); + for (size_t i = 0; i < addresses.size(); ++i) { + sorted_addresses.emplace_back( + *static_cast(sortables[i].user_data)); + } + gpr_free(sortables); + return sorted_addresses; +} + struct QueryArg { QueryArg(AresResolver* ar, int id, absl::string_view name) : ares_resolver(ar), callback_map_id(id), query_name(name) {} @@ -157,6 +179,9 @@ struct HostnameQueryArg : public QueryArg { HostnameQueryArg(AresResolver* ar, int id, absl::string_view name, int p) : QueryArg(ar, id, name), port(p) {} int port; + int pending_requests; + absl::Status error_status; + std::vector result; }; } // namespace @@ -191,6 +216,18 @@ AresResolver::CreateAresResolver( std::move(polled_fd_factory), std::move(event_engine), channel); } +AresResolver::AresResolver( + std::unique_ptr polled_fd_factory, + std::shared_ptr event_engine, ares_channel channel) + : RefCountedDNSResolverInterface( + GRPC_TRACE_FLAG_ENABLED(grpc_trace_ares_resolver) ? "AresResolver" + : nullptr), + channel_(channel), + polled_fd_factory_(std::move(polled_fd_factory)), + event_engine_(std::move(event_engine)) { + polled_fd_factory_->Initialize(&mutex_, event_engine_.get()); +} + AresResolver::~AresResolver() { GPR_ASSERT(fd_node_list_.empty()); GPR_ASSERT(callback_map_.empty()); @@ -209,8 +246,8 @@ void AresResolver::Orphan() { if (!fd_node->already_shutdown) { GRPC_ARES_RESOLVER_TRACE_LOG("resolver: %p shutdown fd: %s", this, fd_node->polled_fd->GetName()); - fd_node->polled_fd->ShutdownLocked( - absl::CancelledError("AresResolver::Orphan")); + GPR_ASSERT(fd_node->polled_fd->ShutdownLocked( + absl::CancelledError("AresResolver::Orphan"))); fd_node->already_shutdown = true; } } @@ -219,8 +256,8 @@ void AresResolver::Orphan() { } void AresResolver::LookupHostname( - absl::string_view name, absl::string_view default_port, - EventEngine::DNSResolver::LookupHostnameCallback callback) { + EventEngine::DNSResolver::LookupHostnameCallback callback, + absl::string_view name, absl::string_view default_port) { absl::string_view host; absl::string_view port_string; if (!grpc_core::SplitHostPort(name, &host, &port_string)) { @@ -230,7 +267,13 @@ void AresResolver::LookupHostname( "Unparseable name: ", name))]() mutable { callback(status); }); return; } - GPR_ASSERT(!host.empty()); + if (host.empty()) { + event_engine_->Run([callback = std::move(callback), + status = absl::InvalidArgumentError(absl::StrCat( + "host must not be empty in name: ", + name))]() mutable { callback(status); }); + return; + } if (port_string.empty()) { if (default_port.empty()) { event_engine_->Run([callback = std::move(callback), @@ -274,9 +317,16 @@ void AresResolver::LookupHostname( callback_map_.emplace(++id_, std::move(callback)); auto* resolver_arg = new HostnameQueryArg(this, id_, name, port); if (IsIpv6LoopbackAvailable()) { - ares_gethostbyname(channel_, std::string(host).c_str(), AF_UNSPEC, + // Note that using AF_UNSPEC for both IPv6 and IPv4 queries does not work in + // all cases, e.g. for localhost:<> it only gets back the IPv6 result (i.e. + // ::1). + resolver_arg->pending_requests = 2; + ares_gethostbyname(channel_, std::string(host).c_str(), AF_INET, + &AresResolver::OnHostbynameDoneLocked, resolver_arg); + ares_gethostbyname(channel_, std::string(host).c_str(), AF_INET6, &AresResolver::OnHostbynameDoneLocked, resolver_arg); } else { + resolver_arg->pending_requests = 1; ares_gethostbyname(channel_, std::string(host).c_str(), AF_INET, &AresResolver::OnHostbynameDoneLocked, resolver_arg); } @@ -285,8 +335,8 @@ void AresResolver::LookupHostname( } void AresResolver::LookupSRV( - absl::string_view name, - EventEngine::DNSResolver::LookupSRVCallback callback) { + EventEngine::DNSResolver::LookupSRVCallback callback, + absl::string_view name) { absl::string_view host; absl::string_view port; if (!grpc_core::SplitHostPort(name, &host, &port)) { @@ -296,7 +346,13 @@ void AresResolver::LookupSRV( "Unparseable name: ", name))]() mutable { callback(status); }); return; } - GPR_ASSERT(!host.empty()); + if (host.empty()) { + event_engine_->Run([callback = std::move(callback), + status = absl::InvalidArgumentError(absl::StrCat( + "host must not be empty in name: ", + name))]() mutable { callback(status); }); + return; + } // Don't query for SRV records if the target is "localhost" if (absl::EqualsIgnoreCase(host, "localhost")) { event_engine_->Run([callback = std::move(callback)]() mutable { @@ -314,8 +370,8 @@ void AresResolver::LookupSRV( } void AresResolver::LookupTXT( - absl::string_view name, - EventEngine::DNSResolver::LookupTXTCallback callback) { + EventEngine::DNSResolver::LookupTXTCallback callback, + absl::string_view name) { absl::string_view host; absl::string_view port; if (!grpc_core::SplitHostPort(name, &host, &port)) { @@ -325,7 +381,13 @@ void AresResolver::LookupTXT( "Unparseable name: ", name))]() mutable { callback(status); }); return; } - GPR_ASSERT(!host.empty()); + if (host.empty()) { + event_engine_->Run([callback = std::move(callback), + status = absl::InvalidArgumentError(absl::StrCat( + "host must not be empty in name: ", + name))]() mutable { callback(status); }); + return; + } // Don't query for TXT records if the target is "localhost" if (absl::EqualsIgnoreCase(host, "localhost")) { event_engine_->Run([callback = std::move(callback)]() mutable { @@ -342,20 +404,10 @@ void AresResolver::LookupTXT( MaybeStartTimerLocked(); } -AresResolver::AresResolver( - std::unique_ptr polled_fd_factory, - std::shared_ptr event_engine, ares_channel channel) - : grpc_core::InternallyRefCounted( - GRPC_TRACE_FLAG_ENABLED(grpc_trace_ares_resolver) ? "AresResolver" - : nullptr), - channel_(channel), - polled_fd_factory_(std::move(polled_fd_factory)), - event_engine_(std::move(event_engine)) {} - void AresResolver::CheckSocketsLocked() { FdNodeList new_list; if (!shutting_down_) { - ares_socket_t socks[ARES_GETSOCK_MAXNUM]; + ares_socket_t socks[ARES_GETSOCK_MAXNUM] = {}; int socks_bitmask = ares_getsock(channel_, socks, ARES_GETSOCK_MAXNUM); for (size_t i = 0; i < ARES_GETSOCK_MAXNUM; i++) { if (ARES_GETSOCK_READABLE(socks_bitmask, i) || @@ -386,7 +438,8 @@ void AresResolver::CheckSocketsLocked() { event_engine_->Run( [self = Ref(DEBUG_LOCATION, "CheckSocketsLocked"), fd_node]() mutable { - self->OnReadable(fd_node, absl::OkStatus()); + static_cast(self.get()) + ->OnReadable(fd_node, absl::OkStatus()); }); } else { // Otherwise register with the poller for readable event. @@ -395,7 +448,8 @@ void AresResolver::CheckSocketsLocked() { fd_node->polled_fd->RegisterForOnReadableLocked( [self = Ref(DEBUG_LOCATION, "CheckSocketsLocked"), fd_node](absl::Status status) mutable { - self->OnReadable(fd_node, status); + static_cast(self.get()) + ->OnReadable(fd_node, status); }); } } @@ -409,7 +463,8 @@ void AresResolver::CheckSocketsLocked() { fd_node->polled_fd->RegisterForOnWriteableLocked( [self = Ref(DEBUG_LOCATION, "CheckSocketsLocked"), fd_node](absl::Status status) mutable { - self->OnWritable(fd_node, status); + static_cast(self.get()) + ->OnWritable(fd_node, status); }); } } @@ -418,13 +473,17 @@ void AresResolver::CheckSocketsLocked() { // Any remaining fds in fd_node_list_ were not returned by ares_getsock() // and are therefore no longer in use, so they can be shut down and removed // from the list. + // TODO(yijiem): Since we are keeping the underlying socket opened for both + // Posix and Windows, it might be reasonable to also keep the FdNodes alive + // till the end. But we need to change the state management of FdNodes in this + // file. This may simplify the code a bit. while (!fd_node_list_.empty()) { FdNode* fd_node = fd_node_list_.front().get(); if (!fd_node->already_shutdown) { GRPC_ARES_RESOLVER_TRACE_LOG("resolver: %p shutdown fd: %s", this, fd_node->polled_fd->GetName()); - fd_node->polled_fd->ShutdownLocked(absl::OkStatus()); - fd_node->already_shutdown = true; + fd_node->already_shutdown = + fd_node->polled_fd->ShutdownLocked(absl::OkStatus()); } if (!fd_node->readable_registered && !fd_node->writable_registered) { GRPC_ARES_RESOLVER_TRACE_LOG("resolver: %p delete fd: %s", this, @@ -448,7 +507,7 @@ void AresResolver::MaybeStartTimerLocked() { ares_backup_poll_alarm_handle_ = event_engine_->RunAfter( kAresBackupPollAlarmDuration, [self = Ref(DEBUG_LOCATION, "MaybeStartTimerLocked")]() { - self->OnAresBackupPollAlarm(); + static_cast(self.get())->OnAresBackupPollAlarm(); }); } @@ -522,74 +581,88 @@ void AresResolver::OnAresBackupPollAlarm() { void AresResolver::OnHostbynameDoneLocked(void* arg, int status, int /*timeouts*/, struct hostent* hostent) { - std::unique_ptr hostname_qa( - static_cast(arg)); + auto* hostname_qa = static_cast(arg); + GPR_ASSERT(hostname_qa->pending_requests-- > 0); auto* ares_resolver = hostname_qa->ares_resolver; - auto nh = ares_resolver->callback_map_.extract(hostname_qa->callback_map_id); - GPR_ASSERT(!nh.empty()); - GPR_ASSERT( - absl::holds_alternative( - nh.mapped())); - auto callback = absl::get( - std::move(nh.mapped())); if (status != ARES_SUCCESS) { std::string error_msg = absl::StrFormat("address lookup failed for %s: %s", hostname_qa->query_name, ares_strerror(status)); GRPC_ARES_RESOLVER_TRACE_LOG("resolver:%p OnHostbynameDoneLocked: %s", ares_resolver, error_msg.c_str()); - ares_resolver->event_engine_->Run( - [callback = std::move(callback), - status = AresStatusToAbslStatus(status, error_msg)]() mutable { - callback(status); - }); - return; - } - GRPC_ARES_RESOLVER_TRACE_LOG( - "resolver:%p OnHostbynameDoneLocked name=%s ARES_SUCCESS", ares_resolver, - hostname_qa->query_name.c_str()); - std::vector result; - for (size_t i = 0; hostent->h_addr_list[i] != nullptr; i++) { - switch (hostent->h_addrtype) { - case AF_INET6: { - size_t addr_len = sizeof(struct sockaddr_in6); - struct sockaddr_in6 addr; - memset(&addr, 0, addr_len); - memcpy(&addr.sin6_addr, hostent->h_addr_list[i], - sizeof(struct in6_addr)); - addr.sin6_family = static_cast(hostent->h_addrtype); - addr.sin6_port = htons(hostname_qa->port); - result.emplace_back(reinterpret_cast(&addr), addr_len); - char output[INET6_ADDRSTRLEN]; - ares_inet_ntop(AF_INET6, &addr.sin6_addr, output, INET6_ADDRSTRLEN); - GRPC_ARES_RESOLVER_TRACE_LOG( - "resolver:%p c-ares resolver gets a AF_INET6 result: \n" - " addr: %s\n port: %d\n sin6_scope_id: %d\n", - ares_resolver, output, hostname_qa->port, addr.sin6_scope_id); - break; - } - case AF_INET: { - size_t addr_len = sizeof(struct sockaddr_in); - struct sockaddr_in addr; - memset(&addr, 0, addr_len); - memcpy(&addr.sin_addr, hostent->h_addr_list[i], sizeof(struct in_addr)); - addr.sin_family = static_cast(hostent->h_addrtype); - addr.sin_port = htons(hostname_qa->port); - result.emplace_back(reinterpret_cast(&addr), addr_len); - char output[INET_ADDRSTRLEN]; - ares_inet_ntop(AF_INET, &addr.sin_addr, output, INET_ADDRSTRLEN); - GRPC_ARES_RESOLVER_TRACE_LOG( - "resolver:%p c-ares resolver gets a AF_INET result: \n" - " addr: %s\n port: %d\n", - ares_resolver, output, hostname_qa->port); - break; + hostname_qa->error_status = AresStatusToAbslStatus(status, error_msg); + } else { + GRPC_ARES_RESOLVER_TRACE_LOG( + "resolver:%p OnHostbynameDoneLocked name=%s ARES_SUCCESS", + ares_resolver, hostname_qa->query_name.c_str()); + for (size_t i = 0; hostent->h_addr_list[i] != nullptr; i++) { + switch (hostent->h_addrtype) { + case AF_INET6: { + size_t addr_len = sizeof(struct sockaddr_in6); + struct sockaddr_in6 addr; + memset(&addr, 0, addr_len); + memcpy(&addr.sin6_addr, hostent->h_addr_list[i], + sizeof(struct in6_addr)); + addr.sin6_family = static_cast(hostent->h_addrtype); + addr.sin6_port = htons(hostname_qa->port); + hostname_qa->result.emplace_back( + reinterpret_cast(&addr), addr_len); + char output[INET6_ADDRSTRLEN]; + ares_inet_ntop(AF_INET6, &addr.sin6_addr, output, INET6_ADDRSTRLEN); + GRPC_ARES_RESOLVER_TRACE_LOG( + "resolver:%p c-ares resolver gets a AF_INET6 result: \n" + " addr: %s\n port: %d\n sin6_scope_id: %d\n", + ares_resolver, output, hostname_qa->port, addr.sin6_scope_id); + break; + } + case AF_INET: { + size_t addr_len = sizeof(struct sockaddr_in); + struct sockaddr_in addr; + memset(&addr, 0, addr_len); + memcpy(&addr.sin_addr, hostent->h_addr_list[i], + sizeof(struct in_addr)); + addr.sin_family = static_cast(hostent->h_addrtype); + addr.sin_port = htons(hostname_qa->port); + hostname_qa->result.emplace_back( + reinterpret_cast(&addr), addr_len); + char output[INET_ADDRSTRLEN]; + ares_inet_ntop(AF_INET, &addr.sin_addr, output, INET_ADDRSTRLEN); + GRPC_ARES_RESOLVER_TRACE_LOG( + "resolver:%p c-ares resolver gets a AF_INET result: \n" + " addr: %s\n port: %d\n", + ares_resolver, output, hostname_qa->port); + break; + } + default: + grpc_core::Crash( + absl::StrFormat("resolver:%p Received invalid type of address %d", + ares_resolver, hostent->h_addrtype)); } } } - ares_resolver->event_engine_->Run( - [callback = std::move(callback), result = std::move(result)]() mutable { - callback(std::move(result)); - }); + if (hostname_qa->pending_requests == 0) { + auto nh = + ares_resolver->callback_map_.extract(hostname_qa->callback_map_id); + GPR_ASSERT(!nh.empty()); + GPR_ASSERT(absl::holds_alternative< + EventEngine::DNSResolver::LookupHostnameCallback>(nh.mapped())); + auto callback = absl::get( + std::move(nh.mapped())); + if (!hostname_qa->result.empty() || hostname_qa->error_status.ok()) { + ares_resolver->event_engine_->Run( + [callback = std::move(callback), + result = SortAddresses(hostname_qa->result)]() mutable { + callback(std::move(result)); + }); + } else { + ares_resolver->event_engine_->Run( + [callback = std::move(callback), + result = std::move(hostname_qa->error_status)]() mutable { + callback(std::move(result)); + }); + } + delete hostname_qa; + } } void AresResolver::OnSRVQueryDoneLocked(void* arg, int status, int /*timeouts*/, diff --git a/src/core/lib/event_engine/ares_resolver.h b/src/core/lib/event_engine/ares_resolver.h index d90f13d8a8f..a1837f2ccf0 100644 --- a/src/core/lib/event_engine/ares_resolver.h +++ b/src/core/lib/event_engine/ares_resolver.h @@ -16,6 +16,8 @@ #include +#include + #include "src/core/lib/debug/trace.h" #if GRPC_ARES == 1 @@ -37,6 +39,7 @@ #include #include "src/core/lib/event_engine/grpc_polled_fd.h" +#include "src/core/lib/event_engine/ref_counted_dns_resolver_interface.h" #include "src/core/lib/gprpp/orphanable.h" #include "src/core/lib/gprpp/sync.h" @@ -52,7 +55,7 @@ extern grpc_core::TraceFlag grpc_trace_ares_resolver; } \ } while (0) -class AresResolver : public grpc_core::InternallyRefCounted { +class AresResolver : public RefCountedDNSResolverInterface { public: static absl::StatusOr> CreateAresResolver(absl::string_view dns_server, @@ -65,15 +68,13 @@ class AresResolver : public grpc_core::InternallyRefCounted { ~AresResolver() override; void Orphan() override ABSL_LOCKS_EXCLUDED(mutex_); - void LookupHostname(absl::string_view name, absl::string_view default_port, - EventEngine::DNSResolver::LookupHostnameCallback callback) - ABSL_LOCKS_EXCLUDED(mutex_); - void LookupSRV(absl::string_view name, - EventEngine::DNSResolver::LookupSRVCallback callback) - ABSL_LOCKS_EXCLUDED(mutex_); - void LookupTXT(absl::string_view name, - EventEngine::DNSResolver::LookupTXTCallback callback) - ABSL_LOCKS_EXCLUDED(mutex_); + void LookupHostname(EventEngine::DNSResolver::LookupHostnameCallback callback, + absl::string_view name, absl::string_view default_port) + ABSL_LOCKS_EXCLUDED(mutex_) override; + void LookupSRV(EventEngine::DNSResolver::LookupSRVCallback callback, + absl::string_view name) ABSL_LOCKS_EXCLUDED(mutex_) override; + void LookupTXT(EventEngine::DNSResolver::LookupTXTCallback callback, + absl::string_view name) ABSL_LOCKS_EXCLUDED(mutex_) override; private: // A FdNode saves (not owns) a live socket/fd which c-ares creates, and owns a @@ -87,8 +88,8 @@ class AresResolver : public grpc_core::InternallyRefCounted { // close the socket (possibly through ares_destroy). struct FdNode { FdNode() = default; - FdNode(ares_socket_t as, GrpcPolledFd* polled_fd) - : as(as), polled_fd(polled_fd) {} + FdNode(ares_socket_t as, std::unique_ptr pf) + : as(as), polled_fd(std::move(pf)) {} ares_socket_t as; std::unique_ptr polled_fd; // true if the readable closure has been registered diff --git a/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc b/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc index 74f7392af9d..0b14723e214 100644 --- a/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +++ b/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc @@ -18,6 +18,10 @@ #include #ifdef AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER +#include "absl/status/status.h" +#include "absl/strings/str_cat.h" +#include "absl/strings/str_format.h" + #include "src/core/lib/event_engine/cf_engine/cfstream_endpoint.h" #include "src/core/lib/event_engine/trace.h" #include "src/core/lib/gprpp/strerror.h" diff --git a/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc b/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc index 96de4bbf0ba..fc02cbd566a 100644 --- a/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +++ b/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc @@ -18,6 +18,7 @@ #include #ifdef AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER +#include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "src/core/lib/address_utils/parse_address.h" @@ -49,7 +50,14 @@ void DNSServiceResolverImpl::LookupHostname( }); return; } - GPR_ASSERT(!host.empty()); + if (host.empty()) { + engine_->Run([on_resolve = std::move(on_resolve), + status = absl::InvalidArgumentError(absl::StrCat( + "host must not be empty in name: ", name))]() mutable { + on_resolve(status); + }); + return; + } if (port_string.empty()) { if (default_port.empty()) { engine_->Run([on_resolve = std::move(on_resolve), diff --git a/src/core/lib/event_engine/channel_args_endpoint_config.cc b/src/core/lib/event_engine/channel_args_endpoint_config.cc index 7541d8327c9..df8e56e29dd 100644 --- a/src/core/lib/event_engine/channel_args_endpoint_config.cc +++ b/src/core/lib/event_engine/channel_args_endpoint_config.cc @@ -15,6 +15,8 @@ #include "src/core/lib/event_engine/channel_args_endpoint_config.h" +#include + #include "absl/types/optional.h" #include diff --git a/src/core/lib/event_engine/event_engine.cc b/src/core/lib/event_engine/event_engine.cc index 7ef2333f97f..af39b46cc31 100644 --- a/src/core/lib/event_engine/event_engine.cc +++ b/src/core/lib/event_engine/event_engine.cc @@ -13,8 +13,6 @@ // limitations under the License. #include -#include - #include namespace grpc_event_engine { diff --git a/src/core/lib/event_engine/extensions/can_track_errors.h b/src/core/lib/event_engine/extensions/can_track_errors.h new file mode 100644 index 00000000000..d3042acbb2a --- /dev/null +++ b/src/core/lib/event_engine/extensions/can_track_errors.h @@ -0,0 +1,40 @@ +// Copyright 2024 The gRPC Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_LIB_EVENT_ENGINE_EXTENSIONS_CAN_TRACK_ERRORS_H +#define GRPC_SRC_CORE_LIB_EVENT_ENGINE_EXTENSIONS_CAN_TRACK_ERRORS_H + +#include + +#include "absl/strings/string_view.h" + +namespace grpc_event_engine { +namespace experimental { + +class EndpointCanTrackErrorsExtension { + public: + virtual ~EndpointCanTrackErrorsExtension() = default; + static absl::string_view EndpointExtensionName() { + return "io.grpc.event_engine.extension.can_track_errors"; + } + + /// Returns if the Endpoint supports tracking events from errmsg queues on + /// posix systems. + virtual bool CanTrackErrors() = 0; +}; + +} // namespace experimental +} // namespace grpc_event_engine + +#endif // GRPC_SRC_CORE_LIB_EVENT_ENGINE_EXTENSIONS_CAN_TRACK_ERRORS_H diff --git a/src/core/lib/event_engine/extensions/supports_fd.h b/src/core/lib/event_engine/extensions/supports_fd.h new file mode 100644 index 00000000000..ae5fd6986c8 --- /dev/null +++ b/src/core/lib/event_engine/extensions/supports_fd.h @@ -0,0 +1,160 @@ +// Copyright 2024 The gRPC Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_LIB_EVENT_ENGINE_EXTENSIONS_SUPPORTS_FD_H +#define GRPC_SRC_CORE_LIB_EVENT_ENGINE_EXTENSIONS_SUPPORTS_FD_H + +#include + +#include "absl/functional/any_invocable.h" +#include "absl/status/statusor.h" +#include "absl/strings/string_view.h" + +#include + +namespace grpc_event_engine { +namespace experimental { + +class EndpointSupportsFdExtension { + public: + virtual ~EndpointSupportsFdExtension() = default; + static absl::string_view EndpointExtensionName() { + return "io.grpc.event_engine.extension.endpoint_supports_fd"; + } + /// Returns the file descriptor associated with the posix endpoint. + virtual int GetWrappedFd() = 0; + + /// Shutdown the endpoint. This function call should trigger execution of + /// any pending endpoint Read/Write callbacks with appropriate error + /// absl::Status. After this function call any subsequent endpoint + /// Read/Write operations until endpoint deletion should fail with an + /// appropriate absl::Status. + /// + /// \a on_release_fd - If specified, the callback is invoked when the + /// endpoint is destroyed/deleted. The underlying file descriptor is + /// released instead of being closed. The callback will get the released + /// file descriptor as its argument if the release operation is successful. + /// Otherwise it would get an appropriate error status as its argument. + virtual void Shutdown(absl::AnyInvocable release_fd)> + on_release_fd) = 0; +}; + +class ListenerSupportsFdExtension { + public: + virtual ~ListenerSupportsFdExtension() = default; + static absl::string_view EndpointExtensionName() { + return "io.grpc.event_engine.extension.listener_supports_fd"; + } + /// Called when a posix listener bind operation completes. A single bind + /// operation may trigger creation of multiple listener fds. This callback + /// should be invoked once on each newly created and bound fd. If the + /// corresponding bind operation fails for a particular fd, this callback + /// must be invoked with a absl::FailedPreConditionError status. + /// + /// \a listener_fd - The listening socket fd that was bound to the specified + /// address. + using OnPosixBindNewFdCallback = + absl::AnyInvocable listener_fd)>; + /// Bind an address/port to this Listener. + /// + /// It is expected that multiple addresses/ports can be bound to this + /// Listener before Listener::Start has been called. Returns either the + /// bound port or an appropriate error status. + /// \a addr - The address to listen for incoming connections. + /// \a on_bind_new_fd The callback is invoked once for each newly bound + /// listener fd that may be created by this Bind operation. + virtual absl::StatusOr BindWithFd( + const EventEngine::ResolvedAddress& addr, + OnPosixBindNewFdCallback on_bind_new_fd) = 0; + + /// Handle an externally accepted client connection. It must return an + /// appropriate error status in case of failure. + /// + /// This may be invoked to process a new client connection accepted by an + /// external listening fd. + /// \a listener_fd - The external listening socket fd that accepted the new + /// client connection. + /// \a fd - The socket file descriptor representing the new client + /// connection. + /// \a pending_data - If specified, it holds any pending data that may have + /// already been read over the externally accepted client connection. + /// Otherwise, it is assumed that no data has been read over the new client + /// connection. + virtual absl::Status HandleExternalConnection(int listener_fd, int fd, + SliceBuffer* pending_data) = 0; + + /// Shutdown/stop listening on all bind Fds. + virtual void ShutdownListeningFds() = 0; +}; + +class EventEngineSupportsFdExtension { + public: + virtual ~EventEngineSupportsFdExtension() = default; + static absl::string_view EndpointExtensionName() { + return "io.grpc.event_engine.extension.event_engine_supports_fd"; + } + /// Creates a posix specific EventEngine::Endpoint from an fd which is already + /// assumed to be connected to a remote peer. \a fd - The connected socket + /// file descriptor. \a config - Additional configuration to applied to the + /// endpoint. \a memory_allocator - The endpoint may use the provided memory + /// allocator to track memory allocations. + virtual std::unique_ptr CreatePosixEndpointFromFd( + int fd, const EndpointConfig& config, + MemoryAllocator memory_allocator) = 0; + + /// Called when the posix listener has accepted a new client connection. + /// \a listener_fd - The listening socket fd that accepted the new client + /// connection. + /// \a endpoint - The EventEngine endpoint to handle data exchange over the + /// new client connection. + /// \a is_external - A boolean indicating whether the new client connection + /// is accepted by an external listener_fd or by a listener_fd that is + /// managed by the EventEngine listener. + /// \a memory_allocator - The callback may use the provided memory + /// allocator to handle memory allocation operations. + /// \a pending_data - If specified, it holds any pending data that may have + /// already been read over the new client connection. Otherwise, it is + /// assumed that no data has been read over the new client connection. + using PosixAcceptCallback = absl::AnyInvocable endpoint, + bool is_external, MemoryAllocator memory_allocator, + SliceBuffer* pending_data)>; + + /// Factory method to create a posix specific network listener / server with + /// fd support. + /// + /// Once a \a Listener is created and started, the \a on_accept callback will + /// be called once asynchronously for each established connection. This method + /// may return a non-OK status immediately if an error was encountered in any + /// synchronous steps required to create the Listener. In this case, + /// \a on_shutdown will never be called. + /// + /// If this method returns a Listener, then \a on_shutdown will be invoked + /// exactly once, when the Listener is shut down. The status passed to it will + /// indicate if there was a problem during shutdown. + /// + /// The provided \a MemoryAllocatorFactory is used to create \a + /// MemoryAllocators for Endpoint construction. + virtual absl::StatusOr> + CreatePosixListener( + PosixAcceptCallback on_accept, + absl::AnyInvocable on_shutdown, + const EndpointConfig& config, + std::unique_ptr memory_allocator_factory) = 0; +}; + +} // namespace experimental +} // namespace grpc_event_engine + +#endif // GRPC_SRC_CORE_LIB_EVENT_ENGINE_EXTENSIONS_SUPPORTS_FD_H diff --git a/src/core/lib/event_engine/forkable.cc b/src/core/lib/event_engine/forkable.cc index 57f60577d10..a51f1176506 100644 --- a/src/core/lib/event_engine/forkable.cc +++ b/src/core/lib/event_engine/forkable.cc @@ -26,11 +26,7 @@ #include #include -#include "absl/base/thread_annotations.h" - #include "src/core/lib/config/config_vars.h" -#include "src/core/lib/gprpp/no_destruct.h" -#include "src/core/lib/gprpp/sync.h" namespace grpc_event_engine { namespace experimental { @@ -38,86 +34,73 @@ namespace experimental { grpc_core::TraceFlag grpc_trace_fork(false, "fork"); namespace { -grpc_core::NoDestruct g_mu; -bool g_registered ABSL_GUARDED_BY(g_mu){false}; - -// This must be ordered because there are ordering dependencies between -// certain fork handlers. -grpc_core::NoDestruct> g_forkables ABSL_GUARDED_BY(g_mu); - bool IsForkEnabled() { static bool enabled = grpc_core::ConfigVars::Get().EnableForkSupport(); return enabled; } } // namespace -Forkable::Forkable() { ManageForkable(this); } - -Forkable::~Forkable() { StopManagingForkable(this); } - -void RegisterForkHandlers() { +void ObjectGroupForkHandler::RegisterForkable( + std::shared_ptr forkable, GRPC_UNUSED void (*prepare)(void), + GRPC_UNUSED void (*parent)(void), GRPC_UNUSED void (*child)(void)) { if (IsForkEnabled()) { - grpc_core::MutexLock lock(g_mu.get()); - if (!std::exchange(g_registered, true)) { + GPR_ASSERT(!is_forking_); + forkables_.emplace_back(forkable); #ifdef GRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK - GRPC_FORK_TRACE_LOG_STRING("RegisterForkHandlers"); - pthread_atfork(PrepareFork, PostforkParent, PostforkChild); -#endif + if (!std::exchange(registered_, true)) { + pthread_atfork(prepare, parent, child); } +#endif // GRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK } } -void PrepareFork() { +void ObjectGroupForkHandler::Prefork() { if (IsForkEnabled()) { + GPR_ASSERT(!std::exchange(is_forking_, true)); GRPC_FORK_TRACE_LOG_STRING("PrepareFork"); - grpc_core::MutexLock lock(g_mu.get()); - for (auto forkable_iter = g_forkables->rbegin(); - forkable_iter != g_forkables->rend(); ++forkable_iter) { - (*forkable_iter)->PrepareFork(); + for (auto it = forkables_.begin(); it != forkables_.end();) { + auto shared = it->lock(); + if (shared) { + shared->PrepareFork(); + ++it; + } else { + it = forkables_.erase(it); + } } - GRPC_FORK_TRACE_LOG_STRING("PrepareFork finished"); } } -void PostforkParent() { +void ObjectGroupForkHandler::PostforkParent() { if (IsForkEnabled()) { + GPR_ASSERT(is_forking_); GRPC_FORK_TRACE_LOG_STRING("PostforkParent"); - grpc_core::MutexLock lock(g_mu.get()); - for (auto* forkable : *g_forkables) { - GRPC_FORK_TRACE_LOG("Calling PostforkParent for forkable::%p", forkable); - forkable->PostforkParent(); + for (auto it = forkables_.begin(); it != forkables_.end();) { + auto shared = it->lock(); + if (shared) { + shared->PostforkParent(); + ++it; + } else { + it = forkables_.erase(it); + } } - GRPC_FORK_TRACE_LOG_STRING("PostforkParent finished"); + is_forking_ = false; } } -void PostforkChild() { +void ObjectGroupForkHandler::PostforkChild() { if (IsForkEnabled()) { + GPR_ASSERT(is_forking_); GRPC_FORK_TRACE_LOG_STRING("PostforkChild"); - grpc_core::MutexLock lock(g_mu.get()); - for (auto* forkable : *g_forkables) { - GRPC_FORK_TRACE_LOG("Calling PostforkChild for forkable::%p", forkable); - forkable->PostforkChild(); + for (auto it = forkables_.begin(); it != forkables_.end();) { + auto shared = it->lock(); + if (shared) { + shared->PostforkChild(); + ++it; + } else { + it = forkables_.erase(it); + } } - GRPC_FORK_TRACE_LOG_STRING("PostforkChild finished"); - } -} - -void ManageForkable(Forkable* forkable) { - if (IsForkEnabled()) { - GRPC_FORK_TRACE_LOG("Manage forkable::%p", forkable); - grpc_core::MutexLock lock(g_mu.get()); - g_forkables->push_back(forkable); - } -} - -void StopManagingForkable(Forkable* forkable) { - if (IsForkEnabled()) { - GRPC_FORK_TRACE_LOG("Stop managing forkable::%p", forkable); - grpc_core::MutexLock lock(g_mu.get()); - auto iter = std::find(g_forkables->begin(), g_forkables->end(), forkable); - GPR_ASSERT(iter != g_forkables->end()); - g_forkables->erase(iter); + is_forking_ = false; } } diff --git a/src/core/lib/event_engine/forkable.h b/src/core/lib/event_engine/forkable.h index c585a830988..bcebc486232 100644 --- a/src/core/lib/event_engine/forkable.h +++ b/src/core/lib/event_engine/forkable.h @@ -16,6 +16,9 @@ #include +#include +#include + #include #include "src/core/lib/debug/trace.h" @@ -34,41 +37,44 @@ extern grpc_core::TraceFlag grpc_trace_fork; #define GRPC_FORK_TRACE_LOG_STRING(format) GRPC_FORK_TRACE_LOG("%s", format) -// Register fork handlers with the system, enabling fork support. -// -// This provides pthread-based support for fork events. Any objects that -// implement Forkable can register themselves with this system using -// ManageForkable, and their respective methods will be called upon fork. -// -// This should be called once upon grpc_initialization. -void RegisterForkHandlers(); - -// Global callback for pthread_atfork's *prepare argument -void PrepareFork(); -// Global callback for pthread_atfork's *parent argument -void PostforkParent(); -// Global callback for pthread_atfork's *child argument -void PostforkChild(); - // An interface to be implemented by EventEngines that wish to have managed fork -// support. +// support. The child class must guarantee that those methods are thread-safe. class Forkable { public: - Forkable(); - virtual ~Forkable(); + virtual ~Forkable() = default; virtual void PrepareFork() = 0; virtual void PostforkParent() = 0; virtual void PostforkChild() = 0; }; -// Add Forkables from the set of objects that are supported. -// Upon fork, each forkable will have its respective fork hooks called on -// the thread that invoked the fork. -// -// Relative ordering of fork callback operations is not guaranteed. -void ManageForkable(Forkable* forkable); -// Remove a forkable from the managed set. -void StopManagingForkable(Forkable* forkable); +// ObjectGroupForkHandler is meant to be used as a static object in each +// translation unit where Forkables are created and registered with the +// ObjectGroupForkHandler. It essentially provides storage for Forkables' +// instances (as a vector of weak pointers) and helper methods that are meant to +// be invoked inside the fork handlers (see pthread_atfork(3)). The idea is to +// have different Forkables (e.g. PosixEventPoller) to store their instances +// (e.g. a PosixEventPoller object) in a single place separated from other +// Forkables (a sharded approach). Forkables need to register their pthread fork +// handlers and manage the relative ordering themselves. This object is +// thread-unsafe. +class ObjectGroupForkHandler { + public: + // Registers a Forkable with this ObjectGroupForkHandler, the Forkable must be + // created as a shared pointer. + void RegisterForkable(std::shared_ptr forkable, + GRPC_UNUSED void (*prepare)(void), + GRPC_UNUSED void (*parent)(void), + GRPC_UNUSED void (*child)(void)); + + void Prefork(); + void PostforkParent(); + void PostforkChild(); + + private: + GRPC_UNUSED bool registered_ = false; + bool is_forking_ = false; + std::vector > forkables_; +}; } // namespace experimental } // namespace grpc_event_engine diff --git a/src/core/lib/event_engine/grpc_polled_fd.h b/src/core/lib/event_engine/grpc_polled_fd.h index bb66089d5ad..463a403dc81 100644 --- a/src/core/lib/event_engine/grpc_polled_fd.h +++ b/src/core/lib/event_engine/grpc_polled_fd.h @@ -17,6 +17,10 @@ #include +#include + +#include + #if GRPC_ARES == 1 #include @@ -24,7 +28,7 @@ #include "absl/functional/any_invocable.h" #include "absl/status/status.h" -#include "src/core/lib/iomgr/error.h" +#include "src/core/lib/gprpp/sync.h" namespace grpc_event_engine { namespace experimental { @@ -46,8 +50,17 @@ class GrpcPolledFd { // Indicates if there is data left even after just being read from virtual bool IsFdStillReadableLocked() = 0; // Called once and only once. Must cause cancellation of any pending - // read/write callbacks. - virtual void ShutdownLocked(grpc_error_handle error) = 0; + // read/write callbacks. Return true when the Shutdown is confirmed, false + // otherwise. + // + // TODO(yijiem): On Posix, ShutdownLocked will always succeed. On Windows, + // ShutdownLocked only succeeds when error is Cancelled. We could remove these + // requirements if we changed the FdNode lifetime model so that: + // 1. FdNodes and their underlying socket handles remain alive for + // the lifetime of the resolver. + // 2. Orphaning the resolver triggers shutdown and subsequent cleanup for + // all FdNodes and socket handles. + GRPC_MUST_USE_RESULT virtual bool ShutdownLocked(absl::Status error) = 0; // Get the underlying ares_socket_t that this was created from virtual ares_socket_t GetWrappedAresSocketLocked() = 0; // A unique name, for logging @@ -60,8 +73,14 @@ class GrpcPolledFd { class GrpcPolledFdFactory { public: virtual ~GrpcPolledFdFactory() {} + // Optionally initializes the GrpcPolledFdFactory with a grpc_core::Mutex* + // for synchronization between the AresResolver and the GrpcPolledFds. The + // Windows implementation overrides this. + virtual void Initialize(grpc_core::Mutex* mutex, + EventEngine* event_engine) = 0; // Creates a new wrapped fd for the current platform - virtual GrpcPolledFd* NewGrpcPolledFdLocked(ares_socket_t as) = 0; + virtual std::unique_ptr NewGrpcPolledFdLocked( + ares_socket_t as) = 0; // Optionally configures the ares channel after creation virtual void ConfigureAresChannelLocked(ares_channel channel) = 0; }; diff --git a/src/core/lib/event_engine/memory_allocator.cc b/src/core/lib/event_engine/memory_allocator.cc deleted file mode 100644 index 69ece21c294..00000000000 --- a/src/core/lib/event_engine/memory_allocator.cc +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2021 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include - -#include -#include - -#include -#include -#include - -#include -#include -#include - -#include "src/core/lib/slice/slice_refcount.h" - -namespace grpc_event_engine { -namespace experimental { - -namespace { - -// Reference count for a slice allocated by MemoryAllocator::MakeSlice. -// Takes care of releasing memory back when the slice is destroyed. -class SliceRefCount : public grpc_slice_refcount { - public: - SliceRefCount(std::shared_ptr allocator, - size_t size) - : grpc_slice_refcount(Destroy), - allocator_(std::move(allocator)), - size_(size) { - // Nothing to do here. - } - ~SliceRefCount() { allocator_->Release(size_); } - - private: - static void Destroy(grpc_slice_refcount* p) { - auto* rc = static_cast(p); - rc->~SliceRefCount(); - free(rc); - } - - std::shared_ptr allocator_; - size_t size_; -}; - -} // namespace - -grpc_slice MemoryAllocator::MakeSlice(MemoryRequest request) { - auto size = Reserve(request.Increase(sizeof(SliceRefCount))); - void* p = malloc(size); - new (p) SliceRefCount(allocator_, size); - grpc_slice slice; - slice.refcount = static_cast(p); - slice.data.refcounted.bytes = - static_cast(p) + sizeof(SliceRefCount); - slice.data.refcounted.length = size - sizeof(SliceRefCount); - return slice; -} - -} // namespace experimental -} // namespace grpc_event_engine diff --git a/src/core/lib/event_engine/posix.h b/src/core/lib/event_engine/posix.h index 7c46a8943b8..d09e4d5040a 100644 --- a/src/core/lib/event_engine/posix.h +++ b/src/core/lib/event_engine/posix.h @@ -16,145 +16,34 @@ #include -#include - -#include "absl/functional/any_invocable.h" -#include "absl/status/status.h" -#include "absl/status/statusor.h" - #include #include #include #include +#include "src/core/lib/event_engine/extensions/can_track_errors.h" +#include "src/core/lib/event_engine/extensions/supports_fd.h" +#include "src/core/lib/event_engine/query_extensions.h" + namespace grpc_event_engine { namespace experimental { /// This defines an interface that posix specific EventEngines endpoints /// may implement to support additional file descriptor related functionality. -class PosixEndpointWithFdSupport : public EventEngine::Endpoint { - public: - /// Returns the file descriptor associated with the posix endpoint. - virtual int GetWrappedFd() = 0; - - /// Returns if the Endpoint supports tracking events from errmsg queues on - /// posix systems. - virtual bool CanTrackErrors() = 0; - - /// Shutdown the endpoint. This function call should trigger execution of - /// any pending endpoint Read/Write callbacks with appropriate error - /// absl::Status. After this function call any subsequent endpoint - /// Read/Write operations until endpoint deletion should fail with an - /// appropriate absl::Status. - /// - /// \a on_release_fd - If specifed, the callback is invoked when the - /// endpoint is destroyed/deleted. The underlying file descriptor is - /// released instead of being closed. The callback will get the released - /// file descriptor as its argument if the release operation is successful. - /// Otherwise it would get an appropriate error status as its argument. - virtual void Shutdown(absl::AnyInvocable release_fd)> - on_release_fd) = 0; -}; +class PosixEndpointWithFdSupport + : public ExtendedType {}; /// Defines an interface that posix EventEngine listeners may implement to /// support additional file descriptor related functionality. -class PosixListenerWithFdSupport : public EventEngine::Listener { - public: - /// Called when a posix listener bind operation completes. A single bind - /// operation may trigger creation of multiple listener fds. This callback - /// should be invoked once on each newly created and bound fd. If the - /// corresponding bind operation fails for a particular fd, this callback - /// must be invoked with a absl::FailedPreConditionError status. - /// - /// \a listener_fd - The listening socket fd that was bound to the specified - /// address. - using OnPosixBindNewFdCallback = - absl::AnyInvocable listener_fd)>; - /// Bind an address/port to this Listener. - /// - /// It is expected that multiple addresses/ports can be bound to this - /// Listener before Listener::Start has been called. Returns either the - /// bound port or an appropriate error status. - /// \a addr - The address to listen for incoming connections. - /// \a on_bind_new_fd The callback is invoked once for each newly bound - /// listener fd that may be created by this Bind operation. - virtual absl::StatusOr BindWithFd( - const EventEngine::ResolvedAddress& addr, - OnPosixBindNewFdCallback on_bind_new_fd) = 0; - - /// Handle an externally accepted client connection. It must return an - /// appropriate error status in case of failure. - /// - /// This may be invoked to process a new client connection accepted by an - /// external listening fd. - /// \a listener_fd - The external listening socket fd that accepted the new - /// client connection. - /// \a fd - The socket file descriptor representing the new client - /// connection. - /// \a pending_data - If specified, it holds any pending data that may have - /// already been read over the externally accepted client connection. - /// Otherwise, it is assumed that no data has been read over the new client - /// connection. - virtual absl::Status HandleExternalConnection(int listener_fd, int fd, - SliceBuffer* pending_data) = 0; - - /// Shutdown/stop listening on all bind Fds. - virtual void ShutdownListeningFds() = 0; +class PosixListenerWithFdSupport + : public ExtendedType { }; /// Defines an interface that posix EventEngines may implement to /// support additional file descriptor related functionality. -class PosixEventEngineWithFdSupport : public EventEngine { - public: - /// Creates a posix specific EventEngine::Endpoint from an fd which is already - /// assumed to be connected to a remote peer. \a fd - The connected socket - /// file descriptor. \a config - Additional configuration to applied to the - /// endpoint. \a memory_allocator - The endpoint may use the provided memory - /// allocator to track memory allocations. - virtual std::unique_ptr CreatePosixEndpointFromFd( - int fd, const EndpointConfig& config, - MemoryAllocator memory_allocator) = 0; - - /// Called when the posix listener has accepted a new client connection. - /// \a listener_fd - The listening socket fd that accepted the new client - /// connection. - /// \a endpoint - The EventEngine endpoint to handle data exchange over the - /// new client connection. - /// \a is_external - A boolean indicating whether the new client connection - /// is accepted by an external listener_fd or by a listener_fd that is - /// managed by the EventEngine listener. - /// \a memory_allocator - The callback may use the provided memory - /// allocator to handle memory allocation operations. - /// \a pending_data - If specified, it holds any pending data that may have - /// already been read over the new client connection. Otherwise, it is - /// assumed that no data has been read over the new client connection. - using PosixAcceptCallback = absl::AnyInvocable endpoint, - bool is_external, MemoryAllocator memory_allocator, - SliceBuffer* pending_data)>; - - /// Factory method to create a posix specific network listener / server with - /// fd support. - /// - /// Once a \a Listener is created and started, the \a on_accept callback will - /// be called once asynchronously for each established connection. This method - /// may return a non-OK status immediately if an error was encountered in any - /// synchronous steps required to create the Listener. In this case, - /// \a on_shutdown will never be called. - /// - /// If this method returns a Listener, then \a on_shutdown will be invoked - /// exactly once, when the Listener is shut down. The status passed to it will - /// indicate if there was a problem during shutdown. - /// - /// The provided \a MemoryAllocatorFactory is used to create \a - /// MemoryAllocators for Endpoint construction. - virtual absl::StatusOr> - CreatePosixListener( - PosixAcceptCallback on_accept, - absl::AnyInvocable on_shutdown, - const EndpointConfig& config, - std::unique_ptr memory_allocator_factory) = 0; -}; +class PosixEventEngineWithFdSupport + : public ExtendedType {}; } // namespace experimental } // namespace grpc_event_engine diff --git a/src/core/lib/event_engine/posix_engine/.clang-format b/src/core/lib/event_engine/posix_engine/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/src/core/lib/event_engine/posix_engine/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc b/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc index 7155ee1609f..de420eb58f2 100644 --- a/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +++ b/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc @@ -18,7 +18,6 @@ #include #include -#include #include #include "absl/status/status.h" @@ -368,10 +367,7 @@ Epoll1Poller::Epoll1Poller(Scheduler* scheduler) ForkPollerListAddPoller(this); } -void Epoll1Poller::Shutdown() { - ForkPollerListRemovePoller(this); - delete this; -} +void Epoll1Poller::Shutdown() { ForkPollerListRemovePoller(this); } void Epoll1Poller::Close() { grpc_core::MutexLock lock(&mu_); @@ -565,10 +561,10 @@ void Epoll1Poller::Kick() { GPR_ASSERT(wakeup_fd_->Wakeup().ok()); } -Epoll1Poller* MakeEpoll1Poller(Scheduler* scheduler) { +std::shared_ptr MakeEpoll1Poller(Scheduler* scheduler) { static bool kEpoll1PollerSupported = InitEpoll1PollerLinux(); if (kEpoll1PollerSupported) { - return new Epoll1Poller(scheduler); + return std::make_shared(scheduler); } return nullptr; } @@ -625,7 +621,9 @@ void Epoll1Poller::Kick() { grpc_core::Crash("unimplemented"); } // If GRPC_LINUX_EPOLL is not defined, it means epoll is not available. Return // nullptr. -Epoll1Poller* MakeEpoll1Poller(Scheduler* /*scheduler*/) { return nullptr; } +std::shared_ptr MakeEpoll1Poller(Scheduler* /*scheduler*/) { + return nullptr; +} void Epoll1Poller::PrepareFork() {} diff --git a/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h b/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h index 207e13b7676..cd7fc887d63 100644 --- a/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +++ b/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h @@ -27,7 +27,6 @@ #include -#include "src/core/lib/event_engine/forkable.h" #include "src/core/lib/event_engine/poller.h" #include "src/core/lib/event_engine/posix_engine/event_poller.h" #include "src/core/lib/event_engine/posix_engine/internal_errqueue.h" @@ -47,7 +46,7 @@ namespace experimental { class Epoll1EventHandle; // Definition of epoll1 based poller. -class Epoll1Poller : public PosixEventPoller, public Forkable { +class Epoll1Poller : public PosixEventPoller { public: explicit Epoll1Poller(Scheduler* scheduler); EventHandle* CreateHandle(int fd, absl::string_view name, @@ -131,7 +130,7 @@ class Epoll1Poller : public PosixEventPoller, public Forkable { // Return an instance of a epoll1 based poller tied to the specified event // engine. -Epoll1Poller* MakeEpoll1Poller(Scheduler* scheduler); +std::shared_ptr MakeEpoll1Poller(Scheduler* scheduler); } // namespace experimental } // namespace grpc_event_engine diff --git a/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc b/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc index 56fd15c26f0..dc5503a1e74 100644 --- a/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +++ b/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc @@ -19,7 +19,6 @@ #include #include -#include #include #include #include @@ -74,13 +73,13 @@ using Events = absl::InlinedVector; class PollEventHandle : public EventHandle { public: - PollEventHandle(int fd, PollPoller* poller) + PollEventHandle(int fd, std::shared_ptr poller) : fd_(fd), pending_actions_(0), fork_fd_list_(this), poller_handles_list_(this), - poller_(poller), scheduler_(poller->GetScheduler()), + poller_(std::move(poller)), is_orphaned_(false), is_shutdown_(false), closed_(false), @@ -93,11 +92,10 @@ class PollEventHandle : public EventHandle { read_closure_(reinterpret_cast(kClosureNotReady)), write_closure_( reinterpret_cast(kClosureNotReady)) { - poller_->Ref(); grpc_core::MutexLock lock(&poller_->mu_); poller_->PollerHandlesListAddHandle(this); } - PollPoller* Poller() override { return poller_; } + PollPoller* Poller() override { return poller_.get(); } bool SetPendingActions(bool pending_read, bool pending_write) { pending_actions_ |= pending_read; if (pending_write) { @@ -185,7 +183,6 @@ class PollEventHandle : public EventHandle { if (on_done_ != nullptr) { scheduler_->Run(on_done_); } - poller_->Unref(); delete this; } } @@ -211,8 +208,8 @@ class PollEventHandle : public EventHandle { int pending_actions_; PollPoller::HandlesList fork_fd_list_; PollPoller::HandlesList poller_handles_list_; - PollPoller* poller_; Scheduler* scheduler_; + std::shared_ptr poller_; bool is_orphaned_; bool is_shutdown_; bool closed_; @@ -344,7 +341,7 @@ EventHandle* PollPoller::CreateHandle(int fd, absl::string_view /*name*/, // Avoid unused-parameter warning for debug-only parameter (void)track_err; GPR_DEBUG_ASSERT(track_err == false); - PollEventHandle* handle = new PollEventHandle(fd, this); + PollEventHandle* handle = new PollEventHandle(fd, shared_from_this()); ForkFdListAddHandle(handle); // We need to send a kick to the thread executing Work(..) so that it can // add this new Fd into the list of Fds to poll. @@ -829,10 +826,7 @@ Poller::WorkResult PollPoller::Work( return was_kicked_ext ? Poller::WorkResult::kKicked : Poller::WorkResult::kOk; } -void PollPoller::Shutdown() { - ForkPollerListRemovePoller(this); - Unref(); -} +void PollPoller::Shutdown() { ForkPollerListRemovePoller(this); } void PollPoller::PrepareFork() { Kick(); } // TODO(vigneshbabu): implement @@ -845,10 +839,11 @@ void PollPoller::Close() { closed_ = true; } -PollPoller* MakePollPoller(Scheduler* scheduler, bool use_phony_poll) { +std::shared_ptr MakePollPoller(Scheduler* scheduler, + bool use_phony_poll) { static bool kPollPollerSupported = InitPollPollerPosix(); if (kPollPollerSupported) { - return new PollPoller(scheduler, use_phony_poll); + return std::make_shared(scheduler, use_phony_poll); } return nullptr; } @@ -886,8 +881,8 @@ void PollPoller::Kick() { grpc_core::Crash("unimplemented"); } // If GRPC_LINUX_EPOLL is not defined, it means epoll is not available. Return // nullptr. -PollPoller* MakePollPoller(Scheduler* /*scheduler*/, - bool /* use_phony_poll */) { +std::shared_ptr MakePollPoller(Scheduler* /*scheduler*/, + bool /* use_phony_poll */) { return nullptr; } diff --git a/src/core/lib/event_engine/posix_engine/ev_poll_posix.h b/src/core/lib/event_engine/posix_engine/ev_poll_posix.h index 582991b7c7a..25e66a611ac 100644 --- a/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +++ b/src/core/lib/event_engine/posix_engine/ev_poll_posix.h @@ -17,7 +17,6 @@ #include -#include #include #include @@ -27,7 +26,6 @@ #include -#include "src/core/lib/event_engine/forkable.h" #include "src/core/lib/event_engine/poller.h" #include "src/core/lib/event_engine/posix_engine/event_poller.h" #include "src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h" @@ -39,7 +37,8 @@ namespace experimental { class PollEventHandle; // Definition of poll based poller. -class PollPoller : public PosixEventPoller, public Forkable { +class PollPoller : public PosixEventPoller, + public std::enable_shared_from_this { public: explicit PollPoller(Scheduler* scheduler); PollPoller(Scheduler* scheduler, bool use_phony_poll); @@ -63,12 +62,6 @@ class PollPoller : public PosixEventPoller, public Forkable { void Close(); private: - void Ref() { ref_count_.fetch_add(1, std::memory_order_relaxed); } - void Unref() { - if (ref_count_.fetch_sub(1, std::memory_order_acq_rel) == 1) { - delete this; - } - } void KickExternal(bool ext); void PollerHandlesListAddHandle(PollEventHandle* handle) ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_); @@ -84,7 +77,6 @@ class PollPoller : public PosixEventPoller, public Forkable { }; grpc_core::Mutex mu_; Scheduler* scheduler_; - std::atomic ref_count_{1}; bool use_phony_poll_; bool was_kicked_ ABSL_GUARDED_BY(mu_); bool was_kicked_ext_ ABSL_GUARDED_BY(mu_); @@ -98,7 +90,8 @@ class PollPoller : public PosixEventPoller, public Forkable { // It use_phony_poll is true, it implies that the poller is declared // non-polling and any attempt to schedule a blocking poll will result in a // crash failure. -PollPoller* MakePollPoller(Scheduler* scheduler, bool use_phony_poll); +std::shared_ptr MakePollPoller(Scheduler* scheduler, + bool use_phony_poll); } // namespace experimental } // namespace grpc_event_engine diff --git a/src/core/lib/event_engine/posix_engine/event_poller.h b/src/core/lib/event_engine/posix_engine/event_poller.h index c0985d5cfd8..bcdd866c909 100644 --- a/src/core/lib/event_engine/posix_engine/event_poller.h +++ b/src/core/lib/event_engine/posix_engine/event_poller.h @@ -24,6 +24,7 @@ #include +#include "src/core/lib/event_engine/forkable.h" #include "src/core/lib/event_engine/poller.h" #include "src/core/lib/event_engine/posix_engine/posix_engine_closure.h" @@ -86,7 +87,8 @@ class EventHandle { virtual ~EventHandle() = default; }; -class PosixEventPoller : public grpc_event_engine::experimental::Poller { +class PosixEventPoller : public grpc_event_engine::experimental::Poller, + public Forkable { public: // Return an opaque handle to perform actions on the provided file descriptor. virtual EventHandle* CreateHandle(int fd, absl::string_view name, diff --git a/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc b/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc index 89853899f91..eb567e81f5c 100644 --- a/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +++ b/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc @@ -14,13 +14,18 @@ #include +#include +#include + #include "absl/strings/str_split.h" #include "absl/strings/string_view.h" #include "src/core/lib/config/config_vars.h" +#include "src/core/lib/event_engine/forkable.h" #include "src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h" #include "src/core/lib/event_engine/posix_engine/ev_poll_posix.h" #include "src/core/lib/event_engine/posix_engine/event_poller.h" +#include "src/core/lib/gprpp/no_destruct.h" #include "src/core/lib/iomgr/port.h" namespace grpc_event_engine { @@ -28,15 +33,25 @@ namespace experimental { #ifdef GRPC_POSIX_SOCKET_TCP namespace { +// TODO(yijiem): this object is thread-unsafe, if we are creating pollers in +// multiple threads (e.g. multiple event engines) or if we are creating pollers +// while we are forking then we will run into issues. +grpc_core::NoDestruct g_poller_fork_manager; + +class PollerForkCallbackMethods { + public: + static void Prefork() { g_poller_fork_manager->Prefork(); } + static void PostforkParent() { g_poller_fork_manager->PostforkParent(); } + static void PostforkChild() { g_poller_fork_manager->PostforkChild(); } +}; bool PollStrategyMatches(absl::string_view strategy, absl::string_view want) { return strategy == "all" || strategy == want; } - } // namespace -PosixEventPoller* MakeDefaultPoller(Scheduler* scheduler) { - PosixEventPoller* poller = nullptr; +std::shared_ptr MakeDefaultPoller(Scheduler* scheduler) { + std::shared_ptr poller; auto strings = absl::StrSplit(grpc_core::ConfigVars::Get().PollStrategy(), ','); for (auto it = strings.begin(); it != strings.end() && poller == nullptr; @@ -53,12 +68,16 @@ PosixEventPoller* MakeDefaultPoller(Scheduler* scheduler) { poller = MakePollPoller(scheduler, /*use_phony_poll=*/true); } } + g_poller_fork_manager->RegisterForkable( + poller, PollerForkCallbackMethods::Prefork, + PollerForkCallbackMethods::PostforkParent, + PollerForkCallbackMethods::PostforkChild); return poller; } #else // GRPC_POSIX_SOCKET_TCP -PosixEventPoller* MakeDefaultPoller(Scheduler* /*scheduler*/) { +std::shared_ptr MakeDefaultPoller(Scheduler* /*scheduler*/) { return nullptr; } diff --git a/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h b/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h index c02dd17ab59..bfde1904d9c 100644 --- a/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +++ b/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h @@ -17,6 +17,8 @@ #include +#include + namespace grpc_event_engine { namespace experimental { @@ -25,7 +27,7 @@ class Scheduler; // Return an instance of an event poller which is tied to the specified // scheduler. -PosixEventPoller* MakeDefaultPoller(Scheduler* scheduler); +std::shared_ptr MakeDefaultPoller(Scheduler* scheduler); } // namespace experimental } // namespace grpc_event_engine diff --git a/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h b/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h index c6eed183233..3feea096e84 100644 --- a/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +++ b/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h @@ -17,6 +17,11 @@ #include +#include + +#include + +#include "src/core/lib/gprpp/sync.h" #include "src/core/lib/iomgr/port.h" #if GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_ARES_EV_DRIVER) @@ -42,7 +47,6 @@ #include "src/core/lib/event_engine/posix_engine/event_poller.h" #include "src/core/lib/event_engine/posix_engine/posix_engine_closure.h" #include "src/core/lib/event_engine/posix_engine/tcp_socket_utils.h" -#include "src/core/lib/iomgr/error.h" namespace grpc_event_engine { namespace experimental { @@ -80,8 +84,9 @@ class GrpcPolledFdPosix : public GrpcPolledFd { bytes_available > 0; } - void ShutdownLocked(grpc_error_handle error) override { + bool ShutdownLocked(absl::Status error) override { handle_->ShutdownHandle(error); + return true; } ares_socket_t GetWrappedAresSocketLocked() override { return as_; } @@ -105,9 +110,12 @@ class GrpcPolledFdFactoryPosix : public GrpcPolledFdFactory { } } - GrpcPolledFd* NewGrpcPolledFdLocked(ares_socket_t as) override { + void Initialize(grpc_core::Mutex*, EventEngine*) override {} + + std::unique_ptr NewGrpcPolledFdLocked( + ares_socket_t as) override { owned_fds_.insert(as); - return new GrpcPolledFdPosix( + return std::make_unique( as, poller_->CreateHandle(as, "c-ares socket", poller_->CanTrackErrors())); } diff --git a/src/core/lib/event_engine/posix_engine/internal_errqueue.cc b/src/core/lib/event_engine/posix_engine/internal_errqueue.cc index 81114f0852e..dfe22a73819 100644 --- a/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +++ b/src/core/lib/event_engine/posix_engine/internal_errqueue.cc @@ -16,8 +16,6 @@ #include "src/core/lib/event_engine/posix_engine/internal_errqueue.h" -#include - #include #include "src/core/lib/iomgr/port.h" diff --git a/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc b/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc new file mode 100644 index 00000000000..344471564e1 --- /dev/null +++ b/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc @@ -0,0 +1,132 @@ +// Copyright 2023 The gRPC Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include + +#include "src/core/lib/iomgr/port.h" + +#ifdef GRPC_POSIX_SOCKET_RESOLVE_ADDRESS + +#include +#include +#include + +#include +#include +#include +#include + +#include "absl/functional/any_invocable.h" +#include "absl/status/status.h" +#include "absl/status/statusor.h" +#include "absl/strings/str_cat.h" +#include "absl/strings/str_format.h" + +#include "src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h" +#include "src/core/lib/gpr/useful.h" +#include "src/core/lib/gprpp/host_port.h" + +namespace grpc_event_engine { +namespace experimental { +namespace { + +absl::StatusOr> +LookupHostnameBlocking(absl::string_view name, absl::string_view default_port) { + struct addrinfo hints; + struct addrinfo *result = nullptr, *resp; + std::string host; + std::string port; + // parse name, splitting it into host and port parts + grpc_core::SplitHostPort(name, &host, &port); + if (host.empty()) { + return absl::InvalidArgumentError(absl::StrCat("Unparseable name: ", name)); + } + if (port.empty()) { + if (default_port.empty()) { + return absl::InvalidArgumentError( + absl::StrFormat("No port in name %s or default_port argument", name)); + } + port = std::string(default_port); + } + // Call getaddrinfo + memset(&hints, 0, sizeof(hints)); + hints.ai_family = AF_UNSPEC; // ipv4 or ipv6 + hints.ai_socktype = SOCK_STREAM; // stream socket + hints.ai_flags = AI_PASSIVE; // for wildcard IP address + int s = getaddrinfo(host.c_str(), port.c_str(), &hints, &result); + if (s != 0) { + // Retry if well-known service name is recognized + const char* svc[][2] = {{"http", "80"}, {"https", "443"}}; + for (size_t i = 0; i < GPR_ARRAY_SIZE(svc); i++) { + if (port == svc[i][0]) { + s = getaddrinfo(host.c_str(), svc[i][1], &hints, &result); + break; + } + } + } + if (s != 0) { + return absl::UnknownError(absl::StrFormat( + "Address lookup failed for %s os_error: %s syscall: getaddrinfo", name, + gai_strerror(s))); + } + // Success path: fill in addrs + std::vector addresses; + for (resp = result; resp != nullptr; resp = resp->ai_next) { + addresses.emplace_back(resp->ai_addr, resp->ai_addrlen); + } + if (result) { + freeaddrinfo(result); + } + return addresses; +} + +} // namespace + +NativePosixDNSResolver::NativePosixDNSResolver( + std::shared_ptr event_engine) + : event_engine_(std::move(event_engine)) {} + +void NativePosixDNSResolver::LookupHostname( + EventEngine::DNSResolver::LookupHostnameCallback on_resolved, + absl::string_view name, absl::string_view default_port) { + event_engine_->Run( + [name, default_port, on_resolved = std::move(on_resolved)]() mutable { + on_resolved(LookupHostnameBlocking(name, default_port)); + }); +} + +void NativePosixDNSResolver::LookupSRV( + EventEngine::DNSResolver::LookupSRVCallback on_resolved, + absl::string_view /* name */) { + // Not supported + event_engine_->Run([on_resolved = std::move(on_resolved)]() mutable { + on_resolved(absl::UnimplementedError( + "The Native resolver does not support looking up SRV records")); + }); +} + +void NativePosixDNSResolver::LookupTXT( + EventEngine::DNSResolver::LookupTXTCallback on_resolved, + absl::string_view /* name */) { + // Not supported + event_engine_->Run([on_resolved = std::move(on_resolved)]() mutable { + on_resolved(absl::UnimplementedError( + "The Native resolver does not support looking up TXT records")); + }); +} + +} // namespace experimental +} // namespace grpc_event_engine + +#endif // GRPC_POSIX_SOCKET_RESOLVE_ADDRESS diff --git a/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h b/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h new file mode 100644 index 00000000000..1bb9266f789 --- /dev/null +++ b/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h @@ -0,0 +1,57 @@ +// Copyright 2023 The gRPC Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_LIB_EVENT_ENGINE_POSIX_ENGINE_NATIVE_POSIX_DNS_RESOLVER_H +#define GRPC_SRC_CORE_LIB_EVENT_ENGINE_POSIX_ENGINE_NATIVE_POSIX_DNS_RESOLVER_H + +#include + +#include + +#include "absl/strings/string_view.h" + +#include "src/core/lib/iomgr/port.h" + +#ifdef GRPC_POSIX_SOCKET_RESOLVE_ADDRESS + +#include + +namespace grpc_event_engine { +namespace experimental { + +// An asynchronous DNS resolver which uses the native platform's getaddrinfo +// API. Only supports A/AAAA records. +class NativePosixDNSResolver : public EventEngine::DNSResolver { + public: + explicit NativePosixDNSResolver(std::shared_ptr event_engine); + + void LookupHostname( + EventEngine::DNSResolver::LookupHostnameCallback on_resolved, + absl::string_view name, absl::string_view default_port) override; + + void LookupSRV(EventEngine::DNSResolver::LookupSRVCallback on_resolved, + absl::string_view name) override; + + void LookupTXT(EventEngine::DNSResolver::LookupTXTCallback on_resolved, + absl::string_view name) override; + + private: + std::shared_ptr event_engine_; +}; + +} // namespace experimental +} // namespace grpc_event_engine + +#endif // GRPC_POSIX_SOCKET_RESOLVE_ADDRESS +#endif // GRPC_SRC_CORE_LIB_EVENT_ENGINE_POSIX_ENGINE_NATIVE_POSIX_DNS_RESOLVER_H diff --git a/src/core/lib/event_engine/posix_engine/posix_endpoint.cc b/src/core/lib/event_engine/posix_engine/posix_endpoint.cc index 0fc192c3e5b..019c2a39b3e 100644 --- a/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +++ b/src/core/lib/event_engine/posix_engine/posix_endpoint.cc @@ -43,6 +43,7 @@ #include "src/core/lib/event_engine/posix_engine/internal_errqueue.h" #include "src/core/lib/event_engine/posix_engine/tcp_socket_utils.h" #include "src/core/lib/event_engine/tcp_socket_utils.h" +#include "src/core/lib/event_engine/trace.h" #include "src/core/lib/experiments/experiments.h" #include "src/core/lib/gprpp/debug_location.h" #include "src/core/lib/gprpp/load_file.h" @@ -576,6 +577,7 @@ void PosixEndpointImpl::HandleRead(absl::Status status) { grpc_core::MutexLock lock(&read_mu_); ret = HandleReadLocked(status); if (ret) { + GRPC_EVENT_ENGINE_ENDPOINT_TRACE("Endpoint[%p]: Read complete", this); cb = std::move(read_cb_); read_cb_ = nullptr; incoming_buffer_ = nullptr; @@ -593,6 +595,7 @@ bool PosixEndpointImpl::Read(absl::AnyInvocable on_read, SliceBuffer* buffer, const EventEngine::Endpoint::ReadArgs* args) { grpc_core::ReleasableMutexLock lock(&read_mu_); + GRPC_EVENT_ENGINE_ENDPOINT_TRACE("Endpoint[%p]: Read", this); GPR_ASSERT(read_cb_ == nullptr); incoming_buffer_ = buffer; incoming_buffer_->Clear(); @@ -633,7 +636,10 @@ bool PosixEndpointImpl::Read(absl::AnyInvocable on_read, // Read failed immediately. Schedule the on_read callback to run // asynchronously. lock.Release(); - engine_->Run([on_read = std::move(on_read), status]() mutable { + engine_->Run([on_read = std::move(on_read), status, this]() mutable { + GRPC_EVENT_ENGINE_ENDPOINT_TRACE( + "Endpoint[%p]: Read failed immediately: %s", this, + status.ToString().c_str()); on_read(status); }); Unref(); @@ -643,6 +649,8 @@ bool PosixEndpointImpl::Read(absl::AnyInvocable on_read, // callback. incoming_buffer_ = nullptr; Unref(); + GRPC_EVENT_ENGINE_ENDPOINT_TRACE("Endpoint[%p]: Read succeeded immediately", + this); return true; } return false; @@ -1116,6 +1124,8 @@ bool PosixEndpointImpl::TcpFlush(absl::Status& status) { void PosixEndpointImpl::HandleWrite(absl::Status status) { if (!status.ok()) { + GRPC_EVENT_ENGINE_ENDPOINT_TRACE("Endpoint[%p]: Write failed: %s", this, + status.ToString().c_str()); absl::AnyInvocable cb_ = std::move(write_cb_); write_cb_ = nullptr; if (current_zerocopy_send_ != nullptr) { @@ -1133,6 +1143,8 @@ void PosixEndpointImpl::HandleWrite(absl::Status status) { GPR_DEBUG_ASSERT(status.ok()); handle_->NotifyOnWrite(on_write_); } else { + GRPC_EVENT_ENGINE_ENDPOINT_TRACE("Endpoint[%p]: Write complete: %s", this, + status.ToString().c_str()); absl::AnyInvocable cb_ = std::move(write_cb_); write_cb_ = nullptr; current_zerocopy_send_ = nullptr; @@ -1151,15 +1163,22 @@ bool PosixEndpointImpl::Write( GPR_DEBUG_ASSERT(current_zerocopy_send_ == nullptr); GPR_DEBUG_ASSERT(data != nullptr); + GRPC_EVENT_ENGINE_ENDPOINT_TRACE("Endpoint[%p]: Write %" PRIdPTR " bytes", + this, data->Length()); + if (data->Length() == 0) { TcpShutdownTracedBufferList(); if (handle_->IsHandleShutdown()) { status = TcpAnnotateError(absl::InternalError("EOF")); - engine_->Run([on_writable = std::move(on_writable), status]() mutable { - on_writable(status); - }); + engine_->Run( + [on_writable = std::move(on_writable), status, this]() mutable { + GRPC_EVENT_ENGINE_ENDPOINT_TRACE("Endpoint[%p]: Write failed: %s", + this, status.ToString().c_str()); + on_writable(status); + }); return false; } + GRPC_EVENT_ENGINE_ENDPOINT_TRACE("Endpoint[%p]: Write skipped", this); return true; } @@ -1189,13 +1208,18 @@ bool PosixEndpointImpl::Write( if (!status.ok()) { // Write failed immediately. Schedule the on_writable callback to run // asynchronously. - engine_->Run([on_writable = std::move(on_writable), status]() mutable { - on_writable(status); - }); + engine_->Run( + [on_writable = std::move(on_writable), status, this]() mutable { + GRPC_EVENT_ENGINE_ENDPOINT_TRACE("Endpoint[%p]: Write failed: %s", + this, status.ToString().c_str()); + on_writable(status); + }); return false; } // Write succeeded immediately. Return true and don't run the on_writable // callback. + GRPC_EVENT_ENGINE_ENDPOINT_TRACE("Endpoint[%p]: Write succeded immediately", + this); return true; } @@ -1246,8 +1270,7 @@ PosixEndpointImpl::PosixEndpointImpl(EventHandle* handle, GPR_ASSERT(options.resource_quota != nullptr); auto peer_addr_string = sock.PeerAddressString(); mem_quota_ = options.resource_quota->memory_quota(); - memory_owner_ = mem_quota_->CreateMemoryOwner( - peer_addr_string.ok() ? *peer_addr_string : ""); + memory_owner_ = mem_quota_->CreateMemoryOwner(); self_reservation_ = memory_owner_.MakeReservation(sizeof(PosixEndpointImpl)); auto local_address = sock.LocalAddress(); if (local_address.ok()) { diff --git a/src/core/lib/event_engine/posix_engine/posix_endpoint.h b/src/core/lib/event_engine/posix_engine/posix_endpoint.h index 3e8f6162601..78f6d9bf061 100644 --- a/src/core/lib/event_engine/posix_engine/posix_endpoint.h +++ b/src/core/lib/event_engine/posix_engine/posix_endpoint.h @@ -29,7 +29,6 @@ #include "absl/container/flat_hash_map.h" #include "absl/functional/any_invocable.h" #include "absl/hash/hash.h" -#include "absl/meta/type_traits.h" #include "absl/status/status.h" #include "absl/status/statusor.h" @@ -39,6 +38,7 @@ #include #include +#include "src/core/lib/event_engine/extensions/supports_fd.h" #include "src/core/lib/event_engine/posix.h" #include "src/core/lib/event_engine/posix_engine/event_poller.h" #include "src/core/lib/event_engine/posix_engine/posix_engine_closure.h" diff --git a/src/core/lib/event_engine/posix_engine/posix_engine.cc b/src/core/lib/event_engine/posix_engine/posix_engine.cc index 013d5c24b4c..7c989337431 100644 --- a/src/core/lib/event_engine/posix_engine/posix_engine.cc +++ b/src/core/lib/event_engine/posix_engine/posix_engine.cc @@ -27,8 +27,8 @@ #include "absl/cleanup/cleanup.h" #include "absl/functional/any_invocable.h" -#include "absl/meta/type_traits.h" #include "absl/status/status.h" +#include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include @@ -37,11 +37,15 @@ #include #include +#include "src/core/lib/config/config_vars.h" #include "src/core/lib/debug/trace.h" +#include "src/core/lib/event_engine/ares_resolver.h" +#include "src/core/lib/event_engine/forkable.h" #include "src/core/lib/event_engine/grpc_polled_fd.h" #include "src/core/lib/event_engine/poller.h" #include "src/core/lib/event_engine/posix.h" #include "src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h" +#include "src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h" #include "src/core/lib/event_engine/posix_engine/tcp_socket_utils.h" #include "src/core/lib/event_engine/posix_engine/timer.h" #include "src/core/lib/event_engine/tcp_socket_utils.h" @@ -49,6 +53,7 @@ #include "src/core/lib/event_engine/utils.h" #include "src/core/lib/gpr/useful.h" #include "src/core/lib/gprpp/crash.h" +#include "src/core/lib/gprpp/no_destruct.h" #include "src/core/lib/gprpp/sync.h" #ifdef GRPC_POSIX_SOCKET_TCP @@ -78,6 +83,28 @@ using namespace std::chrono_literals; namespace grpc_event_engine { namespace experimental { +namespace { + +grpc_core::NoDestruct g_timer_fork_manager; + +class TimerForkCallbackMethods { + public: + static void Prefork() { g_timer_fork_manager->Prefork(); } + static void PostforkParent() { g_timer_fork_manager->PostforkParent(); } + static void PostforkChild() { g_timer_fork_manager->PostforkChild(); } +}; + +bool ShouldUseAresDnsResolver() { +#if GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_ARES_EV_DRIVER) + auto resolver_env = grpc_core::ConfigVars::Get().DnsResolver(); + return resolver_env.empty() || absl::EqualsIgnoreCase(resolver_env, "ares"); +#else // GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_ARES_EV_DRIVER) + return false; +#endif // GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_ARES_EV_DRIVER) +} + +} // namespace + #ifdef GRPC_POSIX_SOCKET_TCP void AsyncConnect::Start(EventEngine::Duration timeout) { @@ -228,11 +255,11 @@ EventEngine::ConnectionHandle PosixEventEngine::ConnectInternal( MemoryAllocator&& allocator, const PosixTcpOptions& options, Duration timeout) { int err; - int saved_errno; + int connect_errno; do { err = connect(sock.Fd(), addr.address(), addr.size()); } while (err < 0 && errno == EINTR); - saved_errno = errno; + connect_errno = (err < 0) ? errno : 0; auto addr_uri = ResolvedAddressToURI(addr); if (!addr_uri.ok()) { @@ -247,13 +274,8 @@ EventEngine::ConnectionHandle PosixEventEngine::ConnectInternal( PosixEventPoller* poller = poller_manager_->Poller(); EventHandle* handle = poller->CreateHandle(sock.Fd(), name, poller->CanTrackErrors()); - int64_t connection_id = 0; - if (saved_errno == EWOULDBLOCK || saved_errno == EINPROGRESS) { - // Connection is still in progress. - connection_id = last_connection_id_.fetch_add(1, std::memory_order_acq_rel); - } - if (err >= 0) { + if (connect_errno == 0) { // Connection already succeded. Return 0 to discourage any cancellation // attempts. Run([on_connect = std::move(on_connect), @@ -263,18 +285,21 @@ EventEngine::ConnectionHandle PosixEventEngine::ConnectInternal( }); return EventEngine::ConnectionHandle::kInvalid; } - if (saved_errno != EWOULDBLOCK && saved_errno != EINPROGRESS) { + if (connect_errno != EWOULDBLOCK && connect_errno != EINPROGRESS) { // Connection already failed. Return 0 to discourage any cancellation // attempts. handle->OrphanHandle(nullptr, nullptr, "tcp_client_connect_error"); Run([on_connect = std::move(on_connect), - ep = absl::FailedPreconditionError( - absl::StrCat("connect failed: ", "addr: ", addr_uri.value(), - " error: ", std::strerror(saved_errno)))]() mutable { + ep = absl::FailedPreconditionError(absl::StrCat( + "connect failed: ", "addr: ", addr_uri.value(), + " error: ", std::strerror(connect_errno)))]() mutable { on_connect(std::move(ep)); }); return EventEngine::ConnectionHandle::kInvalid; } + // Connection is still in progress. + int64_t connection_id = + last_connection_id_.fetch_add(1, std::memory_order_acq_rel); AsyncConnect* ac = new AsyncConnect( std::move(on_connect), shared_from_this(), executor_.get(), handle, std::move(allocator), options, addr_uri.value(), connection_id); @@ -304,8 +329,9 @@ PosixEnginePollerManager::PosixEnginePollerManager( executor_(std::move(executor)), trigger_shutdown_called_(false) {} -PosixEnginePollerManager::PosixEnginePollerManager(PosixEventPoller* poller) - : poller_(poller), +PosixEnginePollerManager::PosixEnginePollerManager( + std::shared_ptr poller) + : poller_(std::move(poller)), poller_state_(PollerState::kExternal), executor_(nullptr), trigger_shutdown_called_(false) { @@ -344,10 +370,14 @@ PosixEnginePollerManager::~PosixEnginePollerManager() { } } -PosixEventEngine::PosixEventEngine(PosixEventPoller* poller) +PosixEventEngine::PosixEventEngine(std::shared_ptr poller) : connection_shards_(std::max(2 * gpr_cpu_num_cores(), 1u)), - executor_(MakeThreadPool(grpc_core::Clamp(gpr_cpu_num_cores(), 2u, 16u))), - timer_manager_(executor_) { + executor_(MakeThreadPool(grpc_core::Clamp(gpr_cpu_num_cores(), 4u, 16u))), + timer_manager_(std::make_shared(executor_)) { + g_timer_fork_manager->RegisterForkable( + timer_manager_, TimerForkCallbackMethods::Prefork, + TimerForkCallbackMethods::PostforkParent, + TimerForkCallbackMethods::PostforkChild); #if GRPC_PLATFORM_SUPPORTS_POSIX_POLLING poller_manager_ = std::make_shared(poller); #endif @@ -355,8 +385,12 @@ PosixEventEngine::PosixEventEngine(PosixEventPoller* poller) PosixEventEngine::PosixEventEngine() : connection_shards_(std::max(2 * gpr_cpu_num_cores(), 1u)), - executor_(MakeThreadPool(grpc_core::Clamp(gpr_cpu_num_cores(), 2u, 16u))), - timer_manager_(executor_) { + executor_(MakeThreadPool(grpc_core::Clamp(gpr_cpu_num_cores(), 4u, 16u))), + timer_manager_(std::make_shared(executor_)) { + g_timer_fork_manager->RegisterForkable( + timer_manager_, TimerForkCallbackMethods::Prefork, + TimerForkCallbackMethods::PostforkParent, + TimerForkCallbackMethods::PostforkChild); #if GRPC_PLATFORM_SUPPORTS_POSIX_POLLING poller_manager_ = std::make_shared(executor_); // The threadpool must be instantiated after the poller otherwise, the @@ -436,7 +470,7 @@ PosixEventEngine::~PosixEventEngine() { } GPR_ASSERT(GPR_LIKELY(known_handles_.empty())); } - timer_manager_.Shutdown(); + timer_manager_->Shutdown(); #if GRPC_PLATFORM_SUPPORTS_POSIX_POLLING if (poller_manager_ != nullptr) { poller_manager_->TriggerShutdown(); @@ -449,7 +483,7 @@ bool PosixEventEngine::Cancel(EventEngine::TaskHandle handle) { grpc_core::MutexLock lock(&mu_); if (!known_handles_.contains(handle)) return false; auto* cd = reinterpret_cast(handle.keys[0]); - bool r = timer_manager_.TimerCancel(&cd->timer); + bool r = timer_manager_->TimerCancel(&cd->timer); known_handles_.erase(handle); if (r) delete cd; return r; @@ -479,7 +513,7 @@ EventEngine::TaskHandle PosixEventEngine::RunAfterInternal( Run(std::move(cb)); return TaskHandle::kInvalid; } - auto when_ts = ToTimestamp(timer_manager_.Now(), when); + auto when_ts = ToTimestamp(timer_manager_->Now(), when); auto* cd = new ClosureData; cd->cb = std::move(cb); cd->engine = this; @@ -490,53 +524,57 @@ EventEngine::TaskHandle PosixEventEngine::RunAfterInternal( cd->handle = handle; GRPC_EVENT_ENGINE_TRACE("PosixEventEngine:%p scheduling callback:%s", this, HandleToString(handle).c_str()); - timer_manager_.TimerInit(&cd->timer, when_ts, cd); + timer_manager_->TimerInit(&cd->timer, when_ts, cd); return handle; } -#if GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_TCP) - PosixEventEngine::PosixDNSResolver::PosixDNSResolver( - grpc_core::OrphanablePtr ares_resolver) - : ares_resolver_(std::move(ares_resolver)) {} + grpc_core::OrphanablePtr dns_resolver) + : dns_resolver_(std::move(dns_resolver)) {} void PosixEventEngine::PosixDNSResolver::LookupHostname( LookupHostnameCallback on_resolve, absl::string_view name, absl::string_view default_port) { - ares_resolver_->LookupHostname(name, default_port, std::move(on_resolve)); + dns_resolver_->LookupHostname(std::move(on_resolve), name, default_port); } void PosixEventEngine::PosixDNSResolver::LookupSRV(LookupSRVCallback on_resolve, absl::string_view name) { - ares_resolver_->LookupSRV(name, std::move(on_resolve)); + dns_resolver_->LookupSRV(std::move(on_resolve), name); } void PosixEventEngine::PosixDNSResolver::LookupTXT(LookupTXTCallback on_resolve, absl::string_view name) { - ares_resolver_->LookupTXT(name, std::move(on_resolve)); + dns_resolver_->LookupTXT(std::move(on_resolve), name); } -#endif // GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_TCP) - absl::StatusOr> PosixEventEngine::GetDNSResolver( - const EventEngine::DNSResolver::ResolverOptions& options) { -#if GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_TCP) - auto ares_resolver = AresResolver::CreateAresResolver( - options.dns_server, - std::make_unique(poller_manager_->Poller()), - shared_from_this()); - if (!ares_resolver.ok()) { - return ares_resolver.status(); + GRPC_UNUSED const EventEngine::DNSResolver::ResolverOptions& options) { +#ifndef GRPC_POSIX_SOCKET_RESOLVE_ADDRESS + grpc_core::Crash("Unable to get DNS resolver for this platform."); +#else // GRPC_POSIX_SOCKET_RESOLVE_ADDRESS + // If c-ares is supported on the platform, build according to user's + // configuration. + if (ShouldUseAresDnsResolver()) { +#if GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_ARES_EV_DRIVER) + GRPC_EVENT_ENGINE_DNS_TRACE("PosixEventEngine:%p creating AresResolver", + this); + auto ares_resolver = AresResolver::CreateAresResolver( + options.dns_server, + std::make_unique(poller_manager_->Poller()), + shared_from_this()); + if (!ares_resolver.ok()) { + return ares_resolver.status(); + } + return std::make_unique( + std::move(*ares_resolver)); +#endif // GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_ARES_EV_DRIVER) } - return std::make_unique( - std::move(*ares_resolver)); -#else // GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_TCP) - // TODO(yijiem): Implement a basic A/AAAA-only native resolver in - // PosixEventEngine. - (void)options; - grpc_core::Crash("unimplemented"); -#endif // GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_TCP) + GRPC_EVENT_ENGINE_DNS_TRACE( + "PosixEventEngine:%p creating NativePosixDNSResolver", this); + return std::make_unique(shared_from_this()); +#endif // GRPC_POSIX_SOCKET_RESOLVE_ADDRESS } bool PosixEventEngine::IsWorkerThread() { grpc_core::Crash("unimplemented"); } @@ -619,7 +657,7 @@ EventEngine::ConnectionHandle PosixEventEngine::Connect( #endif // GRPC_PLATFORM_SUPPORTS_POSIX_POLLING } -std::unique_ptr +std::unique_ptr PosixEventEngine::CreatePosixEndpointFromFd(int fd, const EndpointConfig& config, MemoryAllocator memory_allocator) { @@ -663,7 +701,7 @@ PosixEventEngine::CreateListener( #endif // GRPC_PLATFORM_SUPPORTS_POSIX_POLLING } -absl::StatusOr> +absl::StatusOr> PosixEventEngine::CreatePosixListener( PosixEventEngineWithFdSupport::PosixAcceptCallback on_accept, absl::AnyInvocable on_shutdown, diff --git a/src/core/lib/event_engine/posix_engine/posix_engine.h b/src/core/lib/event_engine/posix_engine/posix_engine.h index bd28bde9509..e47c619a508 100644 --- a/src/core/lib/event_engine/posix_engine/posix_engine.h +++ b/src/core/lib/event_engine/posix_engine/posix_engine.h @@ -34,11 +34,11 @@ #include #include -#include "src/core/lib/event_engine/ares_resolver.h" #include "src/core/lib/event_engine/handle_containers.h" #include "src/core/lib/event_engine/posix.h" #include "src/core/lib/event_engine/posix_engine/event_poller.h" #include "src/core/lib/event_engine/posix_engine/timer_manager.h" +#include "src/core/lib/event_engine/ref_counted_dns_resolver_interface.h" #include "src/core/lib/event_engine/thread_pool/thread_pool.h" #include "src/core/lib/gprpp/orphanable.h" #include "src/core/lib/gprpp/sync.h" @@ -104,9 +104,10 @@ class PosixEnginePollerManager public: explicit PosixEnginePollerManager(std::shared_ptr executor); explicit PosixEnginePollerManager( - grpc_event_engine::experimental::PosixEventPoller* poller); + std::shared_ptr + poller); grpc_event_engine::experimental::PosixEventPoller* Poller() { - return poller_; + return poller_.get(); } ThreadPool* Executor() { return executor_.get(); } @@ -124,7 +125,7 @@ class PosixEnginePollerManager private: enum class PollerState { kExternal, kOk, kShuttingDown }; - grpc_event_engine::experimental::PosixEventPoller* poller_ = nullptr; + std::shared_ptr poller_; std::atomic poller_state_{PollerState::kOk}; std::shared_ptr executor_; bool trigger_shutdown_called_; @@ -140,11 +141,8 @@ class PosixEventEngine final : public PosixEventEngineWithFdSupport, public: class PosixDNSResolver : public EventEngine::DNSResolver { public: - PosixDNSResolver() = delete; -#if GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_TCP) explicit PosixDNSResolver( - grpc_core::OrphanablePtr ares_resolver); -#endif // GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_TCP) + grpc_core::OrphanablePtr dns_resolver); void LookupHostname(LookupHostnameCallback on_resolve, absl::string_view name, absl::string_view default_port) override; @@ -153,18 +151,18 @@ class PosixEventEngine final : public PosixEventEngineWithFdSupport, void LookupTXT(LookupTXTCallback on_resolve, absl::string_view name) override; -#if GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_TCP) private: - grpc_core::OrphanablePtr ares_resolver_; -#endif // GRPC_ARES == 1 && defined(GRPC_POSIX_SOCKET_TCP) + grpc_core::OrphanablePtr dns_resolver_; }; #ifdef GRPC_POSIX_SOCKET_TCP - // Constructs an EventEngine which does not own the poller. Do not call this - // constructor directly. Instead use the MakeTestOnlyPosixEventEngine static - // method. Its expected to be used only in tests. + // Constructs an EventEngine which has a shared ownership of the poller. Do + // not call this constructor directly. Instead use the + // MakeTestOnlyPosixEventEngine static method. Its expected to be used only in + // tests. explicit PosixEventEngine( - grpc_event_engine::experimental::PosixEventPoller* poller); + std::shared_ptr + poller); PosixEventEngine(); #else // GRPC_POSIX_SOCKET_TCP PosixEventEngine(); @@ -172,7 +170,7 @@ class PosixEventEngine final : public PosixEventEngineWithFdSupport, ~PosixEventEngine() override; - std::unique_ptr CreatePosixEndpointFromFd( + std::unique_ptr CreatePosixEndpointFromFd( int fd, const EndpointConfig& config, MemoryAllocator memory_allocator) override; @@ -183,8 +181,7 @@ class PosixEventEngine final : public PosixEventEngineWithFdSupport, std::unique_ptr memory_allocator_factory) override; - absl::StatusOr> - CreatePosixListener( + absl::StatusOr> CreatePosixListener( PosixEventEngineWithFdSupport::PosixAcceptCallback on_accept, absl::AnyInvocable on_shutdown, const EndpointConfig& config, @@ -200,7 +197,7 @@ class PosixEventEngine final : public PosixEventEngineWithFdSupport, bool CancelConnect(ConnectionHandle handle) override; bool IsWorkerThread() override; absl::StatusOr> GetDNSResolver( - const DNSResolver::ResolverOptions& options) override; + GRPC_UNUSED const DNSResolver::ResolverOptions& options) override; void Run(Closure* closure) override; void Run(absl::AnyInvocable closure) override; // Caution!! The timer implementation cannot create any fds. See #20418. @@ -210,14 +207,15 @@ class PosixEventEngine final : public PosixEventEngineWithFdSupport, bool Cancel(TaskHandle handle) override; #ifdef GRPC_POSIX_SOCKET_TCP - // The posix EventEngine returned by this method would not own the poller - // and would not be in-charge of driving the poller by calling its Work(..) - // method. Instead its upto the test to drive the poller. The returned posix - // EventEngine will also not attempt to shutdown the poller since it does not - // own it. + // The posix EventEngine returned by this method would have a shared ownership + // of the poller and would not be in-charge of driving the poller by calling + // its Work(..) method. Instead its upto the test to drive the poller. The + // returned posix EventEngine will also not attempt to shutdown the poller + // since it does not own it. static std::shared_ptr MakeTestOnlyPosixEventEngine( - grpc_event_engine::experimental::PosixEventPoller* test_only_poller) { - return std::make_shared(test_only_poller); + std::shared_ptr + test_only_poller) { + return std::make_shared(std::move(test_only_poller)); } #endif // GRPC_POSIX_SOCKET_TCP @@ -255,7 +253,7 @@ class PosixEventEngine final : public PosixEventEngineWithFdSupport, TaskHandleSet known_handles_ ABSL_GUARDED_BY(mu_); std::atomic aba_token_{0}; std::shared_ptr executor_; - TimerManager timer_manager_; + std::shared_ptr timer_manager_; #ifdef GRPC_POSIX_SOCKET_TCP std::shared_ptr poller_manager_; #endif // GRPC_POSIX_SOCKET_TCP diff --git a/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc b/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc index 07a4c99f966..1bcc32e2fe4 100644 --- a/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +++ b/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc @@ -44,7 +44,9 @@ #include "src/core/lib/event_engine/posix_engine/posix_engine_listener.h" #include "src/core/lib/event_engine/posix_engine/tcp_socket_utils.h" #include "src/core/lib/event_engine/tcp_socket_utils.h" +#include "src/core/lib/event_engine/trace.h" #include "src/core/lib/gprpp/status_helper.h" +#include "src/core/lib/gprpp/strerror.h" #include "src/core/lib/gprpp/time.h" #include "src/core/lib/iomgr/socket_mutator.h" @@ -124,6 +126,8 @@ void PosixEngineListenerImpl::AsyncConnectionAcceptor::Start() { void PosixEngineListenerImpl::AsyncConnectionAcceptor::NotifyOnAccept( absl::Status status) { + GRPC_EVENT_ENGINE_ENDPOINT_TRACE("Acceptor[%p]: NotifyOnAccept: %s", this, + status.ToString().c_str()); if (!status.ok()) { // Shutting down the acceptor. Unref the ref grabbed in // AsyncConnectionAcceptor::Start(). @@ -173,7 +177,7 @@ void PosixEngineListenerImpl::AsyncConnectionAcceptor::NotifyOnAccept( return; default: gpr_log(GPR_ERROR, "Closing acceptor. Failed accept4: %s", - strerror(errno)); + grpc_core::StrError(errno).c_str()); // Shutting down the acceptor. Unref the ref grabbed in // AsyncConnectionAcceptor::Start(). Unref(); @@ -186,12 +190,16 @@ void PosixEngineListenerImpl::AsyncConnectionAcceptor::NotifyOnAccept( if (addr.address()->sa_family == AF_UNIX) { socklen_t len = EventEngine::ResolvedAddress::MAX_SIZE_BYTES; if (getpeername(fd, const_cast(addr.address()), &len) < 0) { - gpr_log(GPR_ERROR, "Closing acceptor. Failed getpeername: %s", - strerror(errno)); + auto listener_addr_uri = ResolvedAddressToURI(socket_.addr); + gpr_log( + GPR_ERROR, + "Failed getpeername: %s. Dropping the connection, and continuing " + "to listen on %s:%d.", + grpc_core::StrError(errno).c_str(), + listener_addr_uri.ok() ? listener_addr_uri->c_str() : "", + socket_.port); close(fd); - // Shutting down the acceptor. Unref the ref grabbed in - // AsyncConnectionAcceptor::Start(). - Unref(); + handle_->NotifyOnRead(notify_on_accept_); return; } addr = EventEngine::ResolvedAddress(addr.address(), len); diff --git a/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc b/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc index 8c2745c02b2..c5052d38180 100644 --- a/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +++ b/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc @@ -25,6 +25,8 @@ #include "absl/cleanup/cleanup.h" #include "absl/status/status.h" +#include "absl/strings/str_cat.h" +#include "absl/strings/str_replace.h" #include #include @@ -44,8 +46,6 @@ #include // IWYU pragma: keep #include // IWYU pragma: keep #include // IWYU pragma: keep - -#include "absl/strings/str_cat.h" #endif namespace grpc_event_engine { @@ -169,6 +169,7 @@ absl::Status PrepareSocket(const PosixTcpOptions& options, !ResolvedAddressIsVSock(socket.addr)) { GRPC_RETURN_IF_ERROR(socket.sock.SetSocketLowLatency(1)); GRPC_RETURN_IF_ERROR(socket.sock.SetSocketReuseAddr(1)); + GRPC_RETURN_IF_ERROR(socket.sock.SetSocketDscp(options.dscp)); socket.sock.TrySetSocketTcpUserTimeout(options, false); } GRPC_RETURN_IF_ERROR(socket.sock.SetSocketNoSigpipeIfPossible()); @@ -176,8 +177,16 @@ absl::Status PrepareSocket(const PosixTcpOptions& options, GRPC_FD_SERVER_LISTENER_USAGE, options)); if (bind(fd, socket.addr.address(), socket.addr.size()) < 0) { + auto sockaddr_str = ResolvedAddressToString(socket.addr); + if (!sockaddr_str.ok()) { + gpr_log(GPR_ERROR, "Could not convert sockaddr to string: %s", + sockaddr_str.status().ToString().c_str()); + sockaddr_str = ""; + } + sockaddr_str = absl::StrReplaceAll(*sockaddr_str, {{"\0", "@"}}); return absl::FailedPreconditionError( - absl::StrCat("Error in bind: ", std::strerror(errno))); + absl::StrCat("Error in bind for address '", *sockaddr_str, + "': ", std::strerror(errno))); } if (listen(fd, GetMaxAcceptQueueSize()) < 0) { @@ -241,6 +250,13 @@ absl::StatusOr ListenerContainerAddAllLocalAddresses( return absl::FailedPreconditionError( absl::StrCat("getifaddrs: ", std::strerror(errno))); } + + static const bool is_ipv4_available = [] { + const int fd = socket(AF_INET, SOCK_DGRAM, 0); + if (fd >= 0) close(fd); + return fd >= 0; + }(); + for (ifa_it = ifa; ifa_it != nullptr; ifa_it = ifa_it->ifa_next) { ResolvedAddress addr; socklen_t len; @@ -248,6 +264,9 @@ absl::StatusOr ListenerContainerAddAllLocalAddresses( if (ifa_it->ifa_addr == nullptr) { continue; } else if (ifa_it->ifa_addr->sa_family == AF_INET) { + if (!is_ipv4_available) { + continue; + } len = static_cast(sizeof(sockaddr_in)); } else if (ifa_it->ifa_addr->sa_family == AF_INET6) { len = static_cast(sizeof(sockaddr_in6)); diff --git a/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc b/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc index 326248cb846..ab98713b62a 100644 --- a/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +++ b/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc @@ -17,16 +17,15 @@ #include "src/core/lib/event_engine/posix_engine/tcp_socket_utils.h" #include -#include #include #include "absl/cleanup/cleanup.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" -#include "absl/strings/string_view.h" #include "absl/types/optional.h" #include +#include #include #include "src/core/lib/gpr/useful.h" @@ -59,8 +58,15 @@ #include "src/core/lib/gprpp/strerror.h" #ifdef GRPC_HAVE_UNIX_SOCKET +#ifdef GPR_WINDOWS +// clang-format off +#include +#include +// clang-format on +#else #include // IWYU pragma: keep #include +#endif // GPR_WINDOWS #endif namespace grpc_event_engine { @@ -77,6 +83,7 @@ int AdjustValue(int default_value, int min_value, int max_value, return *actual_value; } +#ifdef GRPC_POSIX_SOCKET_UTILS_COMMON // The default values for TCP_USER_TIMEOUT are currently configured to be in // line with the default values of KEEPALIVE_TIMEOUT as proposed in // https://github.com/grpc/proposal/blob/master/A18-tcp-user-timeout.md */ @@ -85,8 +92,6 @@ int kDefaultServerUserTimeoutMs = 20000; bool kDefaultClientUserTimeoutEnabled = false; bool kDefaultServerUserTimeoutEnabled = true; -#ifdef GRPC_POSIX_SOCKET_UTILS_COMMON - absl::Status ErrorForFd( int fd, const experimental::EventEngine::ResolvedAddress& addr) { if (fd >= 0) return absl::OkStatus(); @@ -212,6 +217,13 @@ PosixTcpOptions TcpOptionsFromEndpointConfig(const EndpointConfig& config) { options.socket_mutator = grpc_socket_mutator_ref(static_cast(value)); } + value = + config.GetVoidPointer(GRPC_ARG_EVENT_ENGINE_USE_MEMORY_ALLOCATOR_FACTORY); + if (value != nullptr) { + options.memory_allocator_factory = + static_cast( + value); + } return options; } @@ -749,7 +761,7 @@ absl::StatusOr PosixSocketWrapper::CreateDualStackSocket( } // If this isn't an IPv4 address, then return whatever we've got. if (!ResolvedAddressIsV4Mapped(addr, nullptr)) { - if (newfd <= 0) { + if (newfd < 0) { return ErrorForFd(newfd, addr); } dsmode = PosixSocketWrapper::DSMode::DSMODE_IPV6; diff --git a/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h b/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h index 278e70ddbdd..83b52be657c 100644 --- a/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +++ b/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h @@ -26,6 +26,7 @@ #include #include +#include #include #include @@ -75,6 +76,8 @@ struct PosixTcpOptions { int dscp = kDscpNotSet; grpc_core::RefCountedPtr resource_quota; struct grpc_socket_mutator* socket_mutator = nullptr; + grpc_event_engine::experimental::MemoryAllocatorFactory* + memory_allocator_factory = nullptr; PosixTcpOptions() = default; // Move ctor PosixTcpOptions(PosixTcpOptions&& other) noexcept { @@ -89,6 +92,8 @@ struct PosixTcpOptions { } socket_mutator = std::exchange(other.socket_mutator, nullptr); resource_quota = std::move(other.resource_quota); + memory_allocator_factory = + std::exchange(other.memory_allocator_factory, nullptr); CopyIntegerOptions(other); return *this; } @@ -98,6 +103,7 @@ struct PosixTcpOptions { socket_mutator = grpc_socket_mutator_ref(other.socket_mutator); } resource_quota = other.resource_quota; + memory_allocator_factory = other.memory_allocator_factory; CopyIntegerOptions(other); } // Copy assignment @@ -113,6 +119,7 @@ struct PosixTcpOptions { socket_mutator = grpc_socket_mutator_ref(other.socket_mutator); } resource_quota = other.resource_quota; + memory_allocator_factory = other.memory_allocator_factory; CopyIntegerOptions(other); return *this; } diff --git a/src/core/lib/event_engine/posix_engine/timer_manager.cc b/src/core/lib/event_engine/posix_engine/timer_manager.cc index 2962f7a2eb9..4df2dc7ba28 100644 --- a/src/core/lib/event_engine/posix_engine/timer_manager.cc +++ b/src/core/lib/event_engine/posix_engine/timer_manager.cc @@ -30,7 +30,6 @@ #include #include "src/core/lib/debug/trace.h" -#include "src/core/lib/gprpp/thd.h" static thread_local bool g_timer_thread; @@ -67,41 +66,32 @@ bool TimerManager::WaitUntil(grpc_core::Timestamp next) { } void TimerManager::MainLoop() { - for (;;) { - grpc_core::Timestamp next = grpc_core::Timestamp::InfFuture(); - absl::optional> - check_result = timer_list_->TimerCheck(&next); - GPR_ASSERT(check_result.has_value() && - "ERROR: More than one MainLoop is running."); - if (!check_result->empty()) { - RunSomeTimers(std::move(*check_result)); - continue; - } - if (!WaitUntil(next)) break; + grpc_core::Timestamp next = grpc_core::Timestamp::InfFuture(); + absl::optional> + check_result = timer_list_->TimerCheck(&next); + GPR_ASSERT(check_result.has_value() && + "ERROR: More than one MainLoop is running."); + bool timers_found = !check_result->empty(); + if (timers_found) { + RunSomeTimers(std::move(*check_result)); } - main_loop_exit_signal_->Notify(); + thread_pool_->Run([this, next, timers_found]() { + if (!timers_found && !WaitUntil(next)) { + main_loop_exit_signal_->Notify(); + return; + } + MainLoop(); + }); } bool TimerManager::IsTimerManagerThread() { return g_timer_thread; } -void TimerManager::StartMainLoopThread() { - main_thread_ = grpc_core::Thread( - "timer_manager", - [](void* arg) { - auto self = static_cast(arg); - self->MainLoop(); - }, - this, nullptr, - grpc_core::Thread::Options().set_tracked(false).set_joinable(false)); - main_thread_.Start(); -} - TimerManager::TimerManager( std::shared_ptr thread_pool) : host_(this), thread_pool_(std::move(thread_pool)) { timer_list_ = std::make_unique(&host_); main_loop_exit_signal_.emplace(); - StartMainLoopThread(); + thread_pool_->Run([this]() { MainLoop(); }); } grpc_core::Timestamp TimerManager::Host::Now() { @@ -162,7 +152,7 @@ void TimerManager::RestartPostFork() { } shutdown_ = false; main_loop_exit_signal_.emplace(); - StartMainLoopThread(); + thread_pool_->Run([this]() { MainLoop(); }); } void TimerManager::PrepareFork() { Shutdown(); } diff --git a/src/core/lib/event_engine/posix_engine/timer_manager.h b/src/core/lib/event_engine/posix_engine/timer_manager.h index 89d547a5ce7..5cd634c51b0 100644 --- a/src/core/lib/event_engine/posix_engine/timer_manager.h +++ b/src/core/lib/event_engine/posix_engine/timer_manager.h @@ -36,7 +36,6 @@ #include "src/core/lib/event_engine/thread_pool/thread_pool.h" #include "src/core/lib/gprpp/notification.h" #include "src/core/lib/gprpp/sync.h" -#include "src/core/lib/gprpp/thd.h" #include "src/core/lib/gprpp/time.h" namespace grpc_event_engine { @@ -80,7 +79,6 @@ class TimerManager final : public grpc_event_engine::experimental::Forkable { TimerManager* const timer_manager_; }; - void StartMainLoopThread(); void RestartPostFork(); void MainLoop(); void RunSomeTimers(std::vector timers); @@ -103,7 +101,6 @@ class TimerManager final : public grpc_event_engine::experimental::Forkable { uint64_t wakeups_ ABSL_GUARDED_BY(mu_) = false; // actual timer implementation std::unique_ptr timer_list_; - grpc_core::Thread main_thread_; std::shared_ptr thread_pool_; absl::optional main_loop_exit_signal_; }; diff --git a/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc b/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc index 2a24d6a5d50..e7b2016ee25 100644 --- a/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +++ b/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc @@ -17,7 +17,6 @@ #include #include "absl/strings/str_cat.h" -#include "absl/strings/string_view.h" #include "src/core/lib/gprpp/crash.h" // IWYU pragma: keep #include "src/core/lib/iomgr/port.h" diff --git a/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc b/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc index 8901bf570a0..81ad04876c8 100644 --- a/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +++ b/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc @@ -18,7 +18,6 @@ #include #include "absl/strings/str_cat.h" -#include "absl/strings/string_view.h" #include "src/core/lib/gprpp/crash.h" // IWYU pragma: keep #include "src/core/lib/iomgr/port.h" diff --git a/src/core/lib/event_engine/query_extensions.h b/src/core/lib/event_engine/query_extensions.h new file mode 100644 index 00000000000..49ec6e39eeb --- /dev/null +++ b/src/core/lib/event_engine/query_extensions.h @@ -0,0 +1,85 @@ +// Copyright 2023 gRPC Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +#ifndef GRPC_SRC_CORE_LIB_EVENT_ENGINE_QUERY_EXTENSIONS_H +#define GRPC_SRC_CORE_LIB_EVENT_ENGINE_QUERY_EXTENSIONS_H + +#include + +#include "absl/strings/string_view.h" + +#include + +namespace grpc_event_engine { +namespace experimental { + +namespace endpoint_detail { + +template +struct QueryExtensionRecursion; + +template +struct QueryExtensionRecursion { + static void* Query(absl::string_view id, Querying* p) { + if (id == E::EndpointExtensionName()) return static_cast(p); + return QueryExtensionRecursion::Query(id, p); + } +}; + +template +struct QueryExtensionRecursion { + static void* Query(absl::string_view, Querying*) { return nullptr; } +}; + +} // namespace endpoint_detail + +// A helper class to derive from some set of base classes and export +// QueryExtension for them all. +// EventEngine Extensible object implementations which need to support different +// extensions just need to derive from this class. +template +class ExtendedType : public EEClass, public Exports... { + public: + void* QueryExtension(absl::string_view id) override { + return endpoint_detail::QueryExtensionRecursion::Query(id, + this); + } +}; + +/// A helper method which returns a valid pointer if the extension is +/// supported by the endpoint. +template +T* QueryExtension(EventEngine::Endpoint* endpoint) { + if (endpoint == nullptr) return nullptr; + return static_cast(endpoint->QueryExtension(T::EndpointExtensionName())); +} + +/// A helper method which returns a valid pointer if the extension is +/// supported by the listener. +template +T* QueryExtension(EventEngine::Listener* listener) { + return static_cast(listener->QueryExtension(T::EndpointExtensionName())); +} + +/// A helper method which returns a valid pointer if the extension is +/// supported by the EventEngine. +template +T* QueryExtension(EventEngine* engine) { + return static_cast(engine->QueryExtension(T::EndpointExtensionName())); +} + +} // namespace experimental +} // namespace grpc_event_engine + +#endif // GRPC_SRC_CORE_LIB_EVENT_ENGINE_QUERY_EXTENSIONS_H diff --git a/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h b/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h new file mode 100644 index 00000000000..645788e9a83 --- /dev/null +++ b/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h @@ -0,0 +1,55 @@ +// Copyright 2023 The gRPC Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_LIB_EVENT_ENGINE_REF_COUNTED_DNS_RESOLVER_INTERFACE_H +#define GRPC_SRC_CORE_LIB_EVENT_ENGINE_REF_COUNTED_DNS_RESOLVER_INTERFACE_H + +#include + +#include + +#include "absl/strings/string_view.h" + +#include + +#include "src/core/lib/gprpp/orphanable.h" + +namespace grpc_event_engine { +namespace experimental { + +class RefCountedDNSResolverInterface + : public grpc_core::InternallyRefCounted { + public: + explicit RefCountedDNSResolverInterface(const char* trace = nullptr, + intptr_t initial_refcount = 1) + : grpc_core::InternallyRefCounted( + trace, initial_refcount) {} + + virtual void LookupHostname( + EventEngine::DNSResolver::LookupHostnameCallback on_resolved, + absl::string_view name, absl::string_view default_port) = 0; + + virtual void LookupSRV( + EventEngine::DNSResolver::LookupSRVCallback on_resolved, + absl::string_view name) = 0; + + virtual void LookupTXT( + EventEngine::DNSResolver::LookupTXTCallback on_resolved, + absl::string_view name) = 0; +}; + +} // namespace experimental +} // namespace grpc_event_engine + +#endif // GRPC_SRC_CORE_LIB_EVENT_ENGINE_REF_COUNTED_DNS_RESOLVER_INTERFACE_H diff --git a/src/core/lib/event_engine/shim.cc b/src/core/lib/event_engine/shim.cc index 8a91ab5935a..5ac74519bb0 100644 --- a/src/core/lib/event_engine/shim.cc +++ b/src/core/lib/event_engine/shim.cc @@ -22,18 +22,13 @@ namespace grpc_event_engine { namespace experimental { -#if defined(GRPC_POSIX_SOCKET_TCP) && !defined(GRPC_CFSTREAM) -bool g_event_engine_supports_fd = true; -#else -bool g_event_engine_supports_fd = false; -#endif - bool UseEventEngineClient() { // TODO(hork, eryu): Adjust the ifdefs accordingly when event engines become // available for other platforms. -#if defined(GRPC_POSIX_SOCKET_TCP) && !defined(GRPC_CFSTREAM) +#if defined(GRPC_POSIX_SOCKET_TCP) && !defined(GRPC_CFSTREAM) && \ + !defined(GRPC_DO_NOT_INSTANTIATE_POSIX_POLLER) return grpc_core::IsEventEngineClientEnabled(); -#elif defined(GPR_WINDOWS) +#elif defined(GPR_WINDOWS) && !defined(GRPC_DO_NOT_INSTANTIATE_POSIX_POLLER) return grpc_core::IsEventEngineClientEnabled(); #elif defined(GRPC_IOS_EVENT_ENGINE_CLIENT) return true; @@ -45,20 +40,13 @@ bool UseEventEngineClient() { bool UseEventEngineListener() { // TODO(hork, eryu): Adjust the ifdefs accordingly when event engines become // available for other platforms. -#if defined(GRPC_POSIX_SOCKET_TCP) && !defined(GRPC_CFSTREAM) +#if defined(GRPC_POSIX_SOCKET_TCP) && !defined(GRPC_CFSTREAM) && \ + !defined(GRPC_DO_NOT_INSTANTIATE_POSIX_POLLER) return grpc_core::IsEventEngineListenerEnabled(); #else return false; #endif } -bool EventEngineSupportsFd() { -#if defined(GRPC_POSIX_SOCKET_TCP) && !defined(GRPC_CFSTREAM) - return g_event_engine_supports_fd; -#else - return false; -#endif -} - } // namespace experimental } // namespace grpc_event_engine diff --git a/src/core/lib/event_engine/shim.h b/src/core/lib/event_engine/shim.h index 025167a1ced..c832d117b41 100644 --- a/src/core/lib/event_engine/shim.h +++ b/src/core/lib/event_engine/shim.h @@ -25,8 +25,6 @@ bool UseEventEngineClient(); bool UseEventEngineListener(); -bool EventEngineSupportsFd(); - } // namespace experimental } // namespace grpc_event_engine diff --git a/src/core/lib/event_engine/slice_buffer.cc b/src/core/lib/event_engine/slice_buffer.cc index f739f7e95b9..04d711904fe 100644 --- a/src/core/lib/event_engine/slice_buffer.cc +++ b/src/core/lib/event_engine/slice_buffer.cc @@ -18,7 +18,6 @@ #include #include -#include #include #include "src/core/lib/slice/slice.h" diff --git a/src/core/lib/event_engine/tcp_socket_utils.cc b/src/core/lib/event_engine/tcp_socket_utils.cc index bc6f939556f..c3bd35fc905 100644 --- a/src/core/lib/event_engine/tcp_socket_utils.cc +++ b/src/core/lib/event_engine/tcp_socket_utils.cc @@ -32,8 +32,15 @@ #endif // GRPC_POSIX_SOCKET_UTILS_COMMON #ifdef GRPC_HAVE_UNIX_SOCKET +#ifdef GPR_WINDOWS +// clang-format off +#include +#include +// clang-format on +#else #include // IWYU pragma: keep #include +#endif // GPR_WINDOWS #endif #ifdef GRPC_HAVE_VSOCK @@ -45,7 +52,6 @@ #include #include -#include #include #include "absl/status/status.h" diff --git a/src/core/lib/event_engine/thread_pool/thread_count.cc b/src/core/lib/event_engine/thread_pool/thread_count.cc index 875e8c68cd8..5f8d2255aa4 100644 --- a/src/core/lib/event_engine/thread_pool/thread_count.cc +++ b/src/core/lib/event_engine/thread_pool/thread_count.cc @@ -17,27 +17,48 @@ #include +#include + +#include "absl/status/status.h" +#include "absl/strings/str_format.h" #include "absl/time/clock.h" #include "absl/time/time.h" #include +#include "src/core/lib/gprpp/time.h" + namespace grpc_event_engine { namespace experimental { // -------- LivingThreadCount -------- -void LivingThreadCount::BlockUntilThreadCount(size_t desired_threads, - const char* why) { - constexpr grpc_core::Duration log_rate = grpc_core::Duration::Seconds(3); +absl::Status LivingThreadCount::BlockUntilThreadCount( + size_t desired_threads, const char* why, + grpc_core::Duration stuck_timeout) { + grpc_core::Timestamp timeout_baseline = grpc_core::Timestamp::Now(); + constexpr grpc_core::Duration log_rate = grpc_core::Duration::Seconds(5); + size_t prev_thread_count = 0; while (true) { - auto curr_threads = WaitForCountChange(desired_threads, log_rate); - if (curr_threads == desired_threads) break; + auto curr_threads = WaitForCountChange(desired_threads, log_rate / 2); + if (curr_threads == desired_threads) return absl::OkStatus(); + auto elapsed = grpc_core::Timestamp::Now() - timeout_baseline; + if (curr_threads == prev_thread_count) { + if (elapsed > stuck_timeout) { + return absl::DeadlineExceededError(absl::StrFormat( + "Timed out after %f seconds", stuck_timeout.seconds())); + } + } else { + // the thread count has changed. Reset the timeout clock + prev_thread_count = curr_threads; + timeout_baseline = grpc_core::Timestamp::Now(); + } GRPC_LOG_EVERY_N_SEC_DELAYED( log_rate.seconds(), GPR_DEBUG, "Waiting for thread pool to idle before %s. (%" PRIdPTR " to %" PRIdPTR - ")", - why, curr_threads, desired_threads); + "). Timing out in %0.f seconds.", + why, curr_threads, desired_threads, + (stuck_timeout - elapsed).seconds()); } } diff --git a/src/core/lib/event_engine/thread_pool/thread_count.h b/src/core/lib/event_engine/thread_pool/thread_count.h index b61f23b5a17..8be6f79e944 100644 --- a/src/core/lib/event_engine/thread_pool/thread_count.h +++ b/src/core/lib/event_engine/thread_pool/thread_count.h @@ -18,6 +18,7 @@ #include #include +#include #include #include #include @@ -88,9 +89,23 @@ class BusyThreadCount { size_t NextIndex() { return next_idx_.fetch_add(1) % shards_.size(); } private: +// We want to ensure that this data structure lands on different cachelines per +// cpu. With C++17 we can do so explicitly with an `alignas` specifier. Prior +// versions we can at best approximate it by padding the structure. It'll +// probably work out ok, but it's not guaranteed across allocators. +// TODO(ctiller): When we move to C++17 delete the duplicate definition. +#if __cplusplus >= 201703L struct ShardedData { std::atomic busy_count{0}; } GPR_ALIGN_STRUCT(GPR_CACHELINE_SIZE); +#else + struct ShardedDataHeader { + std::atomic busy_count{0}; + }; + struct ShardedData : public ShardedDataHeader { + uint8_t padding[GPR_CACHELINE_SIZE - sizeof(ShardedDataHeader)]; + }; +#endif std::vector shards_; std::atomic next_idx_{0}; @@ -136,7 +151,12 @@ class LivingThreadCount { --living_count_; cv_.SignalAll(); } - void BlockUntilThreadCount(size_t desired_threads, const char* why) + // Blocks the calling thread until the desired number of threads is reached. + // If the thread count does not change for some given `stuck_timeout` + // duration, this method returns error. If the thread count does change, the + // timeout clock is reset. + absl::Status BlockUntilThreadCount(size_t desired_threads, const char* why, + grpc_core::Duration stuck_timeout) ABSL_LOCKS_EXCLUDED(mu_); size_t count() ABSL_LOCKS_EXCLUDED(mu_) { grpc_core::MutexLock lock(&mu_); diff --git a/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc b/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc index 228271517c8..f25a74a05f8 100644 --- a/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +++ b/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc @@ -17,18 +17,32 @@ #include -#include - +#include "src/core/lib/event_engine/forkable.h" #include "src/core/lib/event_engine/thread_pool/thread_pool.h" #include "src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h" -#include "src/core/lib/gpr/useful.h" +#include "src/core/lib/gprpp/no_destruct.h" namespace grpc_event_engine { namespace experimental { -std::shared_ptr MakeThreadPool(size_t /* reserve_threads */) { - return std::make_shared( - grpc_core::Clamp(gpr_cpu_num_cores(), 2u, 16u)); +namespace { +grpc_core::NoDestruct g_thread_pool_fork_manager; + +class ThreadPoolForkCallbackMethods { + public: + static void Prefork() { g_thread_pool_fork_manager->Prefork(); } + static void PostforkParent() { g_thread_pool_fork_manager->PostforkParent(); } + static void PostforkChild() { g_thread_pool_fork_manager->PostforkChild(); } +}; +} // namespace + +std::shared_ptr MakeThreadPool(size_t reserve_threads) { + auto thread_pool = std::make_shared(reserve_threads); + g_thread_pool_fork_manager->RegisterForkable( + thread_pool, ThreadPoolForkCallbackMethods::Prefork, + ThreadPoolForkCallbackMethods::PostforkParent, + ThreadPoolForkCallbackMethods::PostforkChild); + return thread_pool; } } // namespace experimental diff --git a/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc b/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc index 1943c8e841a..deb1e1c8165 100644 --- a/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +++ b/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc @@ -15,7 +15,6 @@ // limitations under the License. // // - #include #include "src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h" @@ -24,24 +23,38 @@ #include #include +#include #include #include +#include "absl/functional/any_invocable.h" #include "absl/time/clock.h" #include "absl/time/time.h" +#include "absl/types/optional.h" #include +#include #include "src/core/lib/backoff/backoff.h" -#include "src/core/lib/debug/trace.h" #include "src/core/lib/event_engine/common_closures.h" #include "src/core/lib/event_engine/thread_local.h" #include "src/core/lib/event_engine/trace.h" #include "src/core/lib/event_engine/work_queue/basic_work_queue.h" #include "src/core/lib/event_engine/work_queue/work_queue.h" +#include "src/core/lib/gprpp/crash.h" +#include "src/core/lib/gprpp/env.h" +#include "src/core/lib/gprpp/examine_stack.h" #include "src/core/lib/gprpp/thd.h" #include "src/core/lib/gprpp/time.h" +#ifdef GPR_POSIX_SYNC +#include +#elif defined(GPR_WINDOWS) +#include +#endif + +// IWYU pragma: no_include + // ## Thread Pool Fork-handling // // Thread-safety needs special attention with regard to fork() calls. The @@ -82,6 +95,13 @@ // non-existent Lifeguard thread to finish. Trying a simple // `lifeguard_thread_.Join()` leads to memory access errors. This implementation // uses Notifications to coordinate startup and shutdown states. +// +// ## Debugging +// +// Set the environment variable GRPC_THREAD_POOL_VERBOSE_FAILURES=anything to +// enable advanced debugging. When the pool takes too long to quiesce, a +// backtrace will be printed for every running thread, and the process will +// abort. namespace grpc_event_engine { namespace experimental { @@ -115,6 +135,37 @@ constexpr grpc_core::Duration kLifeguardMinSleepBetweenChecks{ // Maximum time the lifeguard thread should sleep between checking for new work. constexpr grpc_core::Duration kLifeguardMaxSleepBetweenChecks{ grpc_core::Duration::Seconds(1)}; +constexpr grpc_core::Duration kBlockUntilThreadCountTimeout{ + grpc_core::Duration::Seconds(60)}; + +#ifdef GPR_POSIX_SYNC +const bool g_log_verbose_failures = + grpc_core::GetEnv("GRPC_THREAD_POOL_VERBOSE_FAILURES").has_value(); +constexpr int kDumpStackSignal = SIGUSR1; +#elif defined(GPR_WINDOWS) +const bool g_log_verbose_failures = + grpc_core::GetEnv("GRPC_THREAD_POOL_VERBOSE_FAILURES").has_value(); +constexpr int kDumpStackSignal = SIGTERM; +#else +constexpr bool g_log_verbose_failures = false; +constexpr int kDumpStackSignal = -1; +#endif + +std::atomic g_reported_dump_count{0}; + +void DumpSignalHandler(int /* sig */) { + const auto trace = grpc_core::GetCurrentStackTrace(); + if (!trace.has_value()) { + gpr_log(GPR_ERROR, "DumpStack::%" PRIdPTR ": Stack trace not available", + gpr_thd_currentid()); + } else { + gpr_log(GPR_ERROR, "DumpStack::%" PRIdPTR ": %s", gpr_thd_currentid(), + trace->c_str()); + } + g_reported_dump_count.fetch_add(1); + grpc_core::Thread::Kill(gpr_thd_currentid()); +} + } // namespace thread_local WorkQueue* g_local_queue = nullptr; @@ -123,6 +174,10 @@ thread_local WorkQueue* g_local_queue = nullptr; WorkStealingThreadPool::WorkStealingThreadPool(size_t reserve_threads) : pool_{std::make_shared(reserve_threads)} { + if (g_log_verbose_failures) { + GRPC_EVENT_ENGINE_TRACE( + "%s", "WorkStealingThreadPool verbose failures are enabled"); + } pool_->Start(); } @@ -172,7 +227,7 @@ void WorkStealingThreadPool::PostforkChild() { pool_->Postfork(); } WorkStealingThreadPool::WorkStealingThreadPoolImpl::WorkStealingThreadPoolImpl( size_t reserve_threads) - : reserve_threads_(reserve_threads), lifeguard_(this) {} + : reserve_threads_(reserve_threads), queue_(this), lifeguard_(this) {} void WorkStealingThreadPool::WorkStealingThreadPoolImpl::Start() { for (size_t i = 0; i < reserve_threads_; i++) { @@ -184,7 +239,7 @@ void WorkStealingThreadPool::WorkStealingThreadPoolImpl::Start() { void WorkStealingThreadPool::WorkStealingThreadPoolImpl::Run( EventEngine::Closure* closure) { GPR_DEBUG_ASSERT(quiesced_.load(std::memory_order_relaxed) == false); - if (g_local_queue != nullptr) { + if (g_local_queue != nullptr && g_local_queue->owner() == this) { g_local_queue->Add(closure); } else { queue_.Add(closure); @@ -211,6 +266,7 @@ void WorkStealingThreadPool::WorkStealingThreadPoolImpl::StartThread() { } void WorkStealingThreadPool::WorkStealingThreadPoolImpl::Quiesce() { + gpr_log(GPR_INFO, "WorkStealingThreadPoolImpl::Quiesce"); SetShutdown(true); // Wait until all threads have exited. // Note that if this is a threadpool thread then we won't exit this thread @@ -218,8 +274,13 @@ void WorkStealingThreadPool::WorkStealingThreadPoolImpl::Quiesce() { // running instead of zero. bool is_threadpool_thread = g_local_queue != nullptr; work_signal()->SignalAll(); - living_thread_count_.BlockUntilThreadCount(is_threadpool_thread ? 1 : 0, - "shutting down"); + auto threads_were_shut_down = living_thread_count_.BlockUntilThreadCount( + is_threadpool_thread ? 1 : 0, "shutting down", + g_log_verbose_failures ? kBlockUntilThreadCountTimeout + : grpc_core::Duration::Infinity()); + if (!threads_were_shut_down.ok() && g_log_verbose_failures) { + DumpStacksAndCrash(); + } GPR_ASSERT(queue_.Empty()); quiesced_.store(true, std::memory_order_relaxed); lifeguard_.BlockUntilShutdownAndReset(); @@ -256,9 +317,14 @@ bool WorkStealingThreadPool::WorkStealingThreadPoolImpl::IsQuiesced() { } void WorkStealingThreadPool::WorkStealingThreadPoolImpl::PrepareFork() { + gpr_log(GPR_INFO, "WorkStealingThreadPoolImpl::PrepareFork"); SetForking(true); work_signal_.SignalAll(); - living_thread_count_.BlockUntilThreadCount(0, "forking"); + auto threads_were_shut_down = living_thread_count_.BlockUntilThreadCount( + 0, "forking", kBlockUntilThreadCountTimeout); + if (!threads_were_shut_down.ok() && g_log_verbose_failures) { + DumpStacksAndCrash(); + } lifeguard_.BlockUntilShutdownAndReset(); } @@ -267,6 +333,37 @@ void WorkStealingThreadPool::WorkStealingThreadPoolImpl::Postfork() { Start(); } +void WorkStealingThreadPool::WorkStealingThreadPoolImpl::TrackThread( + gpr_thd_id tid) { + grpc_core::MutexLock lock(&thd_set_mu_); + thds_.insert(tid); +} + +void WorkStealingThreadPool::WorkStealingThreadPoolImpl::UntrackThread( + gpr_thd_id tid) { + grpc_core::MutexLock lock(&thd_set_mu_); + thds_.erase(tid); +} + +void WorkStealingThreadPool::WorkStealingThreadPoolImpl::DumpStacksAndCrash() { + grpc_core::MutexLock lock(&thd_set_mu_); + gpr_log(GPR_ERROR, + "Pool did not quiesce in time, gRPC will not shut down cleanly. " + "Dumping all %zu thread stacks.", + thds_.size()); + for (const auto tid : thds_) { + grpc_core::Thread::Signal(tid, kDumpStackSignal); + } + // If this is a thread pool thread, wait for one fewer thread. + auto ignore_thread_count = g_local_queue != nullptr ? 1 : 0; + while (living_thread_count_.count() - ignore_thread_count > + g_reported_dump_count.load()) { + absl::SleepFor(absl::Milliseconds(200)); + } + grpc_core::Crash( + "Pool did not quiesce in time, gRPC will not shut down cleanly."); +} + // -------- WorkStealingThreadPool::WorkStealingThreadPoolImpl::Lifeguard ----- WorkStealingThreadPool::WorkStealingThreadPoolImpl::Lifeguard::Lifeguard( @@ -384,7 +481,15 @@ WorkStealingThreadPool::ThreadState::ThreadState( busy_count_idx_(pool_->busy_thread_count()->NextIndex()) {} void WorkStealingThreadPool::ThreadState::ThreadBody() { - g_local_queue = new BasicWorkQueue(); + if (g_log_verbose_failures) { +#ifdef GPR_POSIX_SYNC + std::signal(kDumpStackSignal, DumpSignalHandler); +#elif defined(GPR_WINDOWS) + signal(kDumpStackSignal, DumpSignalHandler); +#endif + pool_->TrackThread(gpr_thd_currentid()); + } + g_local_queue = new BasicWorkQueue(pool_.get()); pool_->theft_registry()->Enroll(g_local_queue); ThreadLocal::SetIsEventEngineThread(true); while (Step()) { @@ -406,6 +511,9 @@ void WorkStealingThreadPool::ThreadState::ThreadBody() { GPR_ASSERT(g_local_queue->Empty()); pool_->theft_registry()->Unenroll(g_local_queue); delete g_local_queue; + if (g_log_verbose_failures) { + pool_->UntrackThread(gpr_thd_currentid()); + } } void WorkStealingThreadPool::ThreadState::SleepIfRunning() { diff --git a/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h b/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h index 2fc646b84eb..dfb3b578d82 100644 --- a/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +++ b/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h @@ -31,6 +31,7 @@ #include "absl/functional/any_invocable.h" #include +#include #include "src/core/lib/backoff/backoff.h" #include "src/core/lib/event_engine/thread_pool/thread_count.h" @@ -132,6 +133,9 @@ class WorkStealingThreadPool final : public ThreadPool { // Postfork parent and child have the same behavior. void PrepareFork(); void Postfork(); + // Thread ID tracking + void TrackThread(gpr_thd_id tid); + void UntrackThread(gpr_thd_id tid); // Accessor methods bool IsShutdown(); bool IsForking(); @@ -172,6 +176,8 @@ class WorkStealingThreadPool final : public ThreadPool { std::atomic lifeguard_running_{false}; }; + void DumpStacksAndCrash(); + const size_t reserve_threads_; BusyThreadCount busy_thread_count_; LivingThreadCount living_thread_count_; @@ -190,6 +196,9 @@ class WorkStealingThreadPool final : public ThreadPool { std::atomic throttled_{false}; WorkSignal work_signal_; Lifeguard lifeguard_; + // Set of threads for verbose failure debugging + grpc_core::Mutex thd_set_mu_; + absl::flat_hash_set thds_ ABSL_GUARDED_BY(thd_set_mu_); }; class ThreadState { diff --git a/src/core/lib/event_engine/utils.cc b/src/core/lib/event_engine/utils.cc index 0c9dddf97df..c33eec1d5cf 100644 --- a/src/core/lib/event_engine/utils.cc +++ b/src/core/lib/event_engine/utils.cc @@ -29,7 +29,8 @@ namespace grpc_event_engine { namespace experimental { std::string HandleToStringInternal(uintptr_t a, uintptr_t b) { - return absl::StrCat("{", a, ",", b, "}"); + return absl::StrCat("{", absl::Hex(a, absl::kZeroPad16), ",", + absl::Hex(b, absl::kZeroPad16), "}"); } grpc_core::Timestamp ToTimestamp(grpc_core::Timestamp now, diff --git a/src/core/lib/event_engine/windows/.clang-format b/src/core/lib/event_engine/windows/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/src/core/lib/event_engine/windows/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc b/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc new file mode 100644 index 00000000000..673e3e29d25 --- /dev/null +++ b/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc @@ -0,0 +1,824 @@ +// Copyright 2023 The gRPC Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include + +#include "src/core/lib/iomgr/port.h" // IWYU pragma: keep + +#if GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER) + +#include + +#include + +#include "absl/functional/any_invocable.h" +#include "absl/status/status.h" +#include "absl/strings/str_format.h" + +#include + +#include "src/core/lib/address_utils/sockaddr_utils.h" +#include "src/core/lib/event_engine/ares_resolver.h" +#include "src/core/lib/event_engine/grpc_polled_fd.h" +#include "src/core/lib/event_engine/windows/grpc_polled_fd_windows.h" +#include "src/core/lib/event_engine/windows/win_socket.h" +#include "src/core/lib/gprpp/debug_location.h" +#include "src/core/lib/gprpp/sync.h" +#include "src/core/lib/iomgr/error.h" +#include "src/core/lib/slice/slice.h" + +// TODO(apolcyn): remove this hack after fixing upstream. +// Our grpc/c-ares code on Windows uses the ares_set_socket_functions API, +// which uses "struct iovec" type, which on Windows is defined inside of +// a c-ares header that is not public. +// See https://github.com/c-ares/c-ares/issues/206. +struct iovec { + void* iov_base; + size_t iov_len; +}; + +namespace grpc_event_engine { +namespace experimental { +namespace { + +constexpr int kRecvFromSourceAddrSize = 200; +constexpr int kReadBufferSize = 4192; + +grpc_slice FlattenIovec(const struct iovec* iov, int iov_count) { + int total = 0; + for (int i = 0; i < iov_count; i++) { + total += iov[i].iov_len; + } + grpc_slice out = GRPC_SLICE_MALLOC(total); + size_t cur = 0; + for (int i = 0; i < iov_count; i++) { + for (size_t k = 0; k < iov[i].iov_len; k++) { + GRPC_SLICE_START_PTR(out) + [cur++] = (static_cast(iov[i].iov_base))[k]; + } + } + return out; +} + +} // namespace + +// c-ares reads and takes action on the error codes of the +// "virtual socket operations" in this file, via the WSAGetLastError +// APIs. If code in this file wants to set a specific WSA error that +// c-ares should read, it must do so by calling SetWSAError() on the +// WSAErrorContext instance passed to it. A WSAErrorContext must only be +// instantiated at the top of the virtual socket function callstack. +class WSAErrorContext { + public: + explicit WSAErrorContext(){}; + + ~WSAErrorContext() { + if (error_ != 0) { + WSASetLastError(error_); + } + } + + // Disallow copy and assignment operators + WSAErrorContext(const WSAErrorContext&) = delete; + WSAErrorContext& operator=(const WSAErrorContext&) = delete; + + void SetWSAError(int error) { error_ = error; } + + private: + int error_ = 0; +}; + +// c-ares creates its own sockets and is meant to read them when readable and +// write them when writeable. To fit this socket usage model into the grpc +// windows poller (which gives notifications when attempted reads and writes +// are actually fulfilled rather than possible), this GrpcPolledFdWindows +// class takes advantage of the ares_set_socket_functions API and acts as a +// virtual socket. It holds its own read and write buffers which are written +// to and read from c-ares and are used with the grpc windows poller, and it, +// e.g., manufactures virtual socket error codes when it e.g. needs to tell +// the c-ares library to wait for an async read. +class GrpcPolledFdWindows : public GrpcPolledFd { + public: + GrpcPolledFdWindows(std::unique_ptr winsocket, + grpc_core::Mutex* mu, int address_family, int socket_type, + EventEngine* event_engine) + : name_(absl::StrFormat("c-ares socket: %" PRIdPTR, + winsocket->raw_socket())), + address_family_(address_family), + socket_type_(socket_type), + mu_(mu), + winsocket_(std::move(winsocket)), + read_buf_(grpc_empty_slice()), + write_buf_(grpc_empty_slice()), + outer_read_closure_([this]() { OnIocpReadable(); }), + outer_write_closure_([this]() { OnIocpWriteable(); }), + on_tcp_connect_locked_([this]() { OnTcpConnect(); }), + event_engine_(event_engine) {} + + ~GrpcPolledFdWindows() override { + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| ~GrpcPolledFdWindows shutdown_called_: %d ", GetName(), + shutdown_called_); + grpc_core::CSliceUnref(read_buf_); + grpc_core::CSliceUnref(write_buf_); + GPR_ASSERT(read_closure_ == nullptr); + GPR_ASSERT(write_closure_ == nullptr); + if (!shutdown_called_) { + winsocket_->Shutdown(DEBUG_LOCATION, "~GrpcPolledFdWindows"); + } + } + + void RegisterForOnReadableLocked( + absl::AnyInvocable read_closure) override { + GPR_ASSERT(read_closure_ == nullptr); + read_closure_ = std::move(read_closure); + grpc_core::CSliceUnref(read_buf_); + GPR_ASSERT(!read_buf_has_data_); + read_buf_ = GRPC_SLICE_MALLOC(kReadBufferSize); + if (connect_done_) { + ContinueRegisterForOnReadableLocked(); + } else { + GPR_ASSERT(pending_continue_register_for_on_readable_locked_ == false); + pending_continue_register_for_on_readable_locked_ = true; + } + } + + void RegisterForOnWriteableLocked( + absl::AnyInvocable write_closure) override { + if (socket_type_ == SOCK_DGRAM) { + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| RegisterForOnWriteableLocked called", GetName()); + } else { + GPR_ASSERT(socket_type_ == SOCK_STREAM); + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| RegisterForOnWriteableLocked called tcp_write_state_: %d " + "connect_done_: %d", + GetName(), tcp_write_state_, connect_done_); + } + GPR_ASSERT(write_closure_ == nullptr); + write_closure_ = std::move(write_closure); + if (!connect_done_) { + GPR_ASSERT(!pending_continue_register_for_on_writeable_locked_); + pending_continue_register_for_on_writeable_locked_ = true; + } else { + ContinueRegisterForOnWriteableLocked(); + } + } + + bool IsFdStillReadableLocked() override { return read_buf_has_data_; } + + bool ShutdownLocked(absl::Status error) override { + GPR_ASSERT(!shutdown_called_); + if (!absl::IsCancelled(error)) { + return false; + } + GRPC_ARES_RESOLVER_TRACE_LOG("fd:|%s| ShutdownLocked", GetName()); + shutdown_called_ = true; + // The socket is disconnected and closed here since this is an external + // cancel request, e.g. a timeout. c-ares shouldn't do anything on the + // socket after this point except calling close which should then destroy + // the GrpcPolledFdWindows object. + winsocket_->Shutdown(DEBUG_LOCATION, "GrpcPolledFdWindows::ShutdownLocked"); + return true; + } + + ares_socket_t GetWrappedAresSocketLocked() override { + return winsocket_->raw_socket(); + } + + const char* GetName() const override { return name_.c_str(); } + + ares_ssize_t RecvFrom(WSAErrorContext* wsa_error_ctx, void* data, + ares_socket_t data_len, int /* flags */, + struct sockaddr* from, ares_socklen_t* from_len) { + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| RecvFrom called read_buf_has_data:%d Current read buf " + "length:|%d|", + GetName(), read_buf_has_data_, GRPC_SLICE_LENGTH(read_buf_)); + if (!read_buf_has_data_) { + wsa_error_ctx->SetWSAError(WSAEWOULDBLOCK); + return -1; + } + ares_ssize_t bytes_read = 0; + for (size_t i = 0; i < GRPC_SLICE_LENGTH(read_buf_) && i < data_len; i++) { + (static_cast(data))[i] = GRPC_SLICE_START_PTR(read_buf_)[i]; + bytes_read++; + } + read_buf_ = grpc_slice_sub_no_ref(read_buf_, bytes_read, + GRPC_SLICE_LENGTH(read_buf_)); + if (GRPC_SLICE_LENGTH(read_buf_) == 0) { + read_buf_has_data_ = false; + } + // c-ares overloads this recv_from virtual socket function to receive + // data on both UDP and TCP sockets, and from is nullptr for TCP. + if (from != nullptr) { + GPR_ASSERT(*from_len <= recv_from_source_addr_len_); + memcpy(from, &recv_from_source_addr_, recv_from_source_addr_len_); + *from_len = recv_from_source_addr_len_; + } + return bytes_read; + } + + ares_ssize_t SendV(WSAErrorContext* wsa_error_ctx, const struct iovec* iov, + int iov_count) { + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| SendV called connect_done_:%d wsa_connect_error_:%d", + GetName(), connect_done_, wsa_connect_error_); + if (!connect_done_) { + wsa_error_ctx->SetWSAError(WSAEWOULDBLOCK); + return -1; + } + if (wsa_connect_error_ != 0) { + wsa_error_ctx->SetWSAError(wsa_connect_error_); + return -1; + } + switch (socket_type_) { + case SOCK_DGRAM: + return SendVUDP(wsa_error_ctx, iov, iov_count); + case SOCK_STREAM: + return SendVTCP(wsa_error_ctx, iov, iov_count); + default: + abort(); + } + } + + int Connect(WSAErrorContext* wsa_error_ctx, const struct sockaddr* target, + ares_socklen_t target_len) { + switch (socket_type_) { + case SOCK_DGRAM: + return ConnectUDP(wsa_error_ctx, target, target_len); + case SOCK_STREAM: + return ConnectTCP(wsa_error_ctx, target, target_len); + default: + grpc_core::Crash( + absl::StrFormat("Unknown socket_type_: %d", socket_type_)); + } + } + + private: + enum WriteState { + WRITE_IDLE, + WRITE_REQUESTED, + WRITE_PENDING, + WRITE_WAITING_FOR_VERIFICATION_UPON_RETRY, + }; + + void ScheduleAndNullReadClosure(absl::Status error) { + event_engine_->Run([read_closure = std::move(read_closure_), + error]() mutable { read_closure(error); }); + read_closure_ = nullptr; + } + + void ScheduleAndNullWriteClosure(absl::Status error) { + event_engine_->Run([write_closure = std::move(write_closure_), + error]() mutable { write_closure(error); }); + write_closure_ = nullptr; + } + + void ContinueRegisterForOnReadableLocked() { + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| ContinueRegisterForOnReadableLocked " + "wsa_connect_error_:%d", + GetName(), wsa_connect_error_); + GPR_ASSERT(connect_done_); + if (wsa_connect_error_ != 0) { + ScheduleAndNullReadClosure(GRPC_WSA_ERROR(wsa_connect_error_, "connect")); + return; + } + WSABUF buffer; + buffer.buf = reinterpret_cast(GRPC_SLICE_START_PTR(read_buf_)); + buffer.len = GRPC_SLICE_LENGTH(read_buf_); + recv_from_source_addr_len_ = sizeof(recv_from_source_addr_); + DWORD flags = 0; + winsocket_->NotifyOnRead(&outer_read_closure_); + if (WSARecvFrom(winsocket_->raw_socket(), &buffer, 1, nullptr, &flags, + reinterpret_cast(recv_from_source_addr_), + &recv_from_source_addr_len_, + winsocket_->read_info()->overlapped(), nullptr) != 0) { + int wsa_last_error = WSAGetLastError(); + char* msg = gpr_format_message(wsa_last_error); + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| ContinueRegisterForOnReadableLocked WSARecvFrom error " + "code:|%d| " + "msg:|%s|", + GetName(), wsa_last_error, msg); + gpr_free(msg); + if (wsa_last_error != WSA_IO_PENDING) { + winsocket_->UnregisterReadCallback(); + ScheduleAndNullReadClosure( + GRPC_WSA_ERROR(wsa_last_error, "WSARecvFrom")); + return; + } + } + } + + void ContinueRegisterForOnWriteableLocked() { + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| ContinueRegisterForOnWriteableLocked " + "wsa_connect_error_:%d", + GetName(), wsa_connect_error_); + GPR_ASSERT(connect_done_); + if (wsa_connect_error_ != 0) { + ScheduleAndNullWriteClosure( + GRPC_WSA_ERROR(wsa_connect_error_, "connect")); + return; + } + if (socket_type_ == SOCK_DGRAM) { + ScheduleAndNullWriteClosure(absl::OkStatus()); + return; + } + GPR_ASSERT(socket_type_ == SOCK_STREAM); + int wsa_error_code = 0; + switch (tcp_write_state_) { + case WRITE_IDLE: + ScheduleAndNullWriteClosure(absl::OkStatus()); + break; + case WRITE_REQUESTED: + tcp_write_state_ = WRITE_PENDING; + winsocket_->NotifyOnWrite(&outer_write_closure_); + if (SendWriteBuf(nullptr, winsocket_->write_info()->overlapped(), + &wsa_error_code) != 0) { + winsocket_->UnregisterWriteCallback(); + ScheduleAndNullWriteClosure( + GRPC_WSA_ERROR(wsa_error_code, "WSASend (overlapped)")); + return; + } + break; + case WRITE_PENDING: + case WRITE_WAITING_FOR_VERIFICATION_UPON_RETRY: + grpc_core::Crash( + absl::StrFormat("Invalid tcp_write_state_: %d", tcp_write_state_)); + } + } + + int SendWriteBuf(LPDWORD bytes_sent_ptr, LPWSAOVERLAPPED overlapped, + int* wsa_error_code) { + WSABUF buf; + buf.len = GRPC_SLICE_LENGTH(write_buf_); + buf.buf = reinterpret_cast(GRPC_SLICE_START_PTR(write_buf_)); + DWORD flags = 0; + int out = WSASend(winsocket_->raw_socket(), &buf, 1, bytes_sent_ptr, flags, + overlapped, nullptr); + *wsa_error_code = WSAGetLastError(); + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| SendWriteBuf WSASend buf.len:%d *bytes_sent_ptr:%d " + "overlapped:%p " + "return:%d *wsa_error_code:%d", + GetName(), buf.len, bytes_sent_ptr != nullptr ? *bytes_sent_ptr : 0, + overlapped, out, *wsa_error_code); + return out; + } + + ares_ssize_t SendVUDP(WSAErrorContext* wsa_error_ctx, const struct iovec* iov, + int iov_count) { + // c-ares doesn't handle retryable errors on writes of UDP sockets. + // Therefore, the sendv handler for UDP sockets must only attempt + // to write everything inline. + GRPC_ARES_RESOLVER_TRACE_LOG("fd:|%s| SendVUDP called", GetName()); + GPR_ASSERT(GRPC_SLICE_LENGTH(write_buf_) == 0); + grpc_core::CSliceUnref(write_buf_); + write_buf_ = FlattenIovec(iov, iov_count); + DWORD bytes_sent = 0; + int wsa_error_code = 0; + if (SendWriteBuf(&bytes_sent, nullptr, &wsa_error_code) != 0) { + grpc_core::CSliceUnref(write_buf_); + write_buf_ = grpc_empty_slice(); + wsa_error_ctx->SetWSAError(wsa_error_code); + char* msg = gpr_format_message(wsa_error_code); + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| SendVUDP SendWriteBuf error code:%d msg:|%s|", GetName(), + wsa_error_code, msg); + gpr_free(msg); + return -1; + } + write_buf_ = grpc_slice_sub_no_ref(write_buf_, bytes_sent, + GRPC_SLICE_LENGTH(write_buf_)); + return bytes_sent; + } + + ares_ssize_t SendVTCP(WSAErrorContext* wsa_error_ctx, const struct iovec* iov, + int iov_count) { + // The "sendv" handler on TCP sockets buffers up write + // requests and returns an artificial WSAEWOULDBLOCK. Writing that buffer + // out in the background, and making further send progress in general, will + // happen as long as c-ares continues to show interest in writeability on + // this fd. + GRPC_ARES_RESOLVER_TRACE_LOG("fd:|%s| SendVTCP called tcp_write_state_:%d", + GetName(), tcp_write_state_); + switch (tcp_write_state_) { + case WRITE_IDLE: + tcp_write_state_ = WRITE_REQUESTED; + grpc_core::CSliceUnref(write_buf_); + write_buf_ = FlattenIovec(iov, iov_count); + wsa_error_ctx->SetWSAError(WSAEWOULDBLOCK); + return -1; + case WRITE_REQUESTED: + case WRITE_PENDING: + wsa_error_ctx->SetWSAError(WSAEWOULDBLOCK); + return -1; + case WRITE_WAITING_FOR_VERIFICATION_UPON_RETRY: + // c-ares is retrying a send on data that we previously returned + // WSAEWOULDBLOCK for, but then subsequently wrote out in the + // background. Right now, we assume that c-ares is retrying the same + // send again. If c-ares still needs to send even more data, we'll get + // to it eventually. + grpc_slice currently_attempted = FlattenIovec(iov, iov_count); + GPR_ASSERT(GRPC_SLICE_LENGTH(currently_attempted) >= + GRPC_SLICE_LENGTH(write_buf_)); + ares_ssize_t total_sent = 0; + for (size_t i = 0; i < GRPC_SLICE_LENGTH(write_buf_); i++) { + GPR_ASSERT(GRPC_SLICE_START_PTR(currently_attempted)[i] == + GRPC_SLICE_START_PTR(write_buf_)[i]); + total_sent++; + } + grpc_core::CSliceUnref(currently_attempted); + tcp_write_state_ = WRITE_IDLE; + return total_sent; + } + grpc_core::Crash( + absl::StrFormat("Unknown tcp_write_state_: %d", tcp_write_state_)); + } + + void OnTcpConnect() { + grpc_core::MutexLock lock(mu_); + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:%s InnerOnTcpConnectLocked " + "pending_register_for_readable:%d" + " pending_register_for_writeable:%d", + GetName(), pending_continue_register_for_on_readable_locked_, + pending_continue_register_for_on_writeable_locked_); + GPR_ASSERT(!connect_done_); + connect_done_ = true; + GPR_ASSERT(wsa_connect_error_ == 0); + if (shutdown_called_) { + wsa_connect_error_ = WSA_OPERATION_ABORTED; + } else { + DWORD transferred_bytes = 0; + DWORD flags; + BOOL wsa_success = WSAGetOverlappedResult( + winsocket_->raw_socket(), winsocket_->write_info()->overlapped(), + &transferred_bytes, FALSE, &flags); + GPR_ASSERT(transferred_bytes == 0); + if (!wsa_success) { + wsa_connect_error_ = WSAGetLastError(); + char* msg = gpr_format_message(wsa_connect_error_); + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:%s InnerOnTcpConnectLocked WSA overlapped result code:%d " + "msg:|%s|", + GetName(), wsa_connect_error_, msg); + gpr_free(msg); + } + } + if (pending_continue_register_for_on_readable_locked_) { + ContinueRegisterForOnReadableLocked(); + } + if (pending_continue_register_for_on_writeable_locked_) { + ContinueRegisterForOnWriteableLocked(); + } + } + + int ConnectUDP(WSAErrorContext* wsa_error_ctx, const struct sockaddr* target, + ares_socklen_t target_len) { + GRPC_ARES_RESOLVER_TRACE_LOG("fd:%s ConnectUDP", GetName()); + GPR_ASSERT(!connect_done_); + GPR_ASSERT(wsa_connect_error_ == 0); + SOCKET s = winsocket_->raw_socket(); + int out = + WSAConnect(s, target, target_len, nullptr, nullptr, nullptr, nullptr); + wsa_connect_error_ = WSAGetLastError(); + wsa_error_ctx->SetWSAError(wsa_connect_error_); + connect_done_ = true; + char* msg = gpr_format_message(wsa_connect_error_); + GRPC_ARES_RESOLVER_TRACE_LOG("fd:%s WSAConnect error code:|%d| msg:|%s|", + GetName(), wsa_connect_error_, msg); + gpr_free(msg); + // c-ares expects a posix-style connect API + return out == 0 ? 0 : -1; + } + + int ConnectTCP(WSAErrorContext* wsa_error_ctx, const struct sockaddr* target, + ares_socklen_t target_len) { + GRPC_ARES_RESOLVER_TRACE_LOG("fd:%s ConnectTCP", GetName()); + LPFN_CONNECTEX ConnectEx; + GUID guid = WSAID_CONNECTEX; + DWORD ioctl_num_bytes; + SOCKET s = winsocket_->raw_socket(); + if (WSAIoctl(s, SIO_GET_EXTENSION_FUNCTION_POINTER, &guid, sizeof(guid), + &ConnectEx, sizeof(ConnectEx), &ioctl_num_bytes, nullptr, + nullptr) != 0) { + int wsa_last_error = WSAGetLastError(); + wsa_error_ctx->SetWSAError(wsa_last_error); + char* msg = gpr_format_message(wsa_last_error); + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:%s WSAIoctl(SIO_GET_EXTENSION_FUNCTION_POINTER) error code:%d " + "msg:|%s|", + GetName(), wsa_last_error, msg); + gpr_free(msg); + connect_done_ = true; + wsa_connect_error_ = wsa_last_error; + return -1; + } + grpc_resolved_address wildcard4_addr; + grpc_resolved_address wildcard6_addr; + grpc_sockaddr_make_wildcards(0, &wildcard4_addr, &wildcard6_addr); + grpc_resolved_address* local_address = nullptr; + if (address_family_ == AF_INET) { + local_address = &wildcard4_addr; + } else { + local_address = &wildcard6_addr; + } + if (bind(s, reinterpret_cast(local_address->addr), + static_cast(local_address->len)) != 0) { + int wsa_last_error = WSAGetLastError(); + wsa_error_ctx->SetWSAError(wsa_last_error); + char* msg = gpr_format_message(wsa_last_error); + GRPC_ARES_RESOLVER_TRACE_LOG("fd:%s bind error code:%d msg:|%s|", + GetName(), wsa_last_error, msg); + gpr_free(msg); + connect_done_ = true; + wsa_connect_error_ = wsa_last_error; + return -1; + } + int out = 0; + // Register an async OnTcpConnect callback here since it is required by the + // WinSocket API. + winsocket_->NotifyOnWrite(&on_tcp_connect_locked_); + if (ConnectEx(s, target, target_len, nullptr, 0, nullptr, + winsocket_->write_info()->overlapped()) == 0) { + out = -1; + int wsa_last_error = WSAGetLastError(); + wsa_error_ctx->SetWSAError(wsa_last_error); + char* msg = gpr_format_message(wsa_last_error); + GRPC_ARES_RESOLVER_TRACE_LOG("fd:%s ConnectEx error code:%d msg:|%s|", + GetName(), wsa_last_error, msg); + gpr_free(msg); + if (wsa_last_error == WSA_IO_PENDING) { + // c-ares only understands WSAEINPROGRESS and EWOULDBLOCK error codes on + // connect, but an async connect on IOCP socket will give + // WSA_IO_PENDING, so we need to convert. + wsa_error_ctx->SetWSAError(WSAEWOULDBLOCK); + } else { + winsocket_->UnregisterWriteCallback(); + // By returning a non-retryable error to c-ares at this point, + // we're aborting the possibility of any future operations on this fd. + connect_done_ = true; + wsa_connect_error_ = wsa_last_error; + return -1; + } + } + return out; + } + + // TODO(apolcyn): improve this error handling to be less conversative. + // An e.g. ECONNRESET error here should result in errors when + // c-ares reads from this socket later, but it shouldn't necessarily cancel + // the entire resolution attempt. Doing so will allow the "inject broken + // nameserver list" test to pass on Windows. + void OnIocpReadable() { + grpc_core::MutexLock lock(mu_); + absl::Status error; + if (winsocket_->read_info()->result().wsa_error != 0) { + // WSAEMSGSIZE would be due to receiving more data + // than our read buffer's fixed capacity. Assume that + // the connection is TCP and read the leftovers + // in subsequent c-ares reads. + if (winsocket_->read_info()->result().wsa_error != WSAEMSGSIZE) { + error = GRPC_WSA_ERROR(winsocket_->read_info()->result().wsa_error, + "OnIocpReadableInner"); + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| OnIocpReadableInner winsocket_->read_info.wsa_error " + "code:|%d| msg:|%s|", + GetName(), winsocket_->read_info()->result().wsa_error, + grpc_core::StatusToString(error).c_str()); + } + } + if (error.ok()) { + read_buf_ = grpc_slice_sub_no_ref( + read_buf_, 0, winsocket_->read_info()->result().bytes_transferred); + read_buf_has_data_ = true; + } else { + grpc_core::CSliceUnref(read_buf_); + read_buf_ = grpc_empty_slice(); + } + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| OnIocpReadable finishing. read buf length now:|%d|", GetName(), + GRPC_SLICE_LENGTH(read_buf_)); + ScheduleAndNullReadClosure(error); + } + + void OnIocpWriteable() { + grpc_core::MutexLock lock(mu_); + GRPC_ARES_RESOLVER_TRACE_LOG("OnIocpWriteableInner. fd:|%s|", GetName()); + GPR_ASSERT(socket_type_ == SOCK_STREAM); + absl::Status error; + if (winsocket_->write_info()->result().wsa_error != 0) { + error = GRPC_WSA_ERROR(winsocket_->write_info()->result().wsa_error, + "OnIocpWriteableInner"); + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| OnIocpWriteableInner. winsocket_->write_info.wsa_error " + "code:|%d| msg:|%s|", + GetName(), winsocket_->write_info()->result().wsa_error, + grpc_core::StatusToString(error).c_str()); + } + GPR_ASSERT(tcp_write_state_ == WRITE_PENDING); + if (error.ok()) { + tcp_write_state_ = WRITE_WAITING_FOR_VERIFICATION_UPON_RETRY; + write_buf_ = grpc_slice_sub_no_ref( + write_buf_, 0, winsocket_->write_info()->result().bytes_transferred); + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| OnIocpWriteableInner. bytes transferred:%d", GetName(), + winsocket_->write_info()->result().bytes_transferred); + } else { + grpc_core::CSliceUnref(write_buf_); + write_buf_ = grpc_empty_slice(); + } + ScheduleAndNullWriteClosure(error); + } + + const std::string name_; + const int address_family_; + const int socket_type_; + grpc_core::Mutex* mu_; + std::unique_ptr winsocket_; + char recv_from_source_addr_[kRecvFromSourceAddrSize]; + ares_socklen_t recv_from_source_addr_len_; + grpc_slice read_buf_; + bool read_buf_has_data_ = false; + grpc_slice write_buf_; + absl::AnyInvocable read_closure_; + absl::AnyInvocable write_closure_; + AnyInvocableClosure outer_read_closure_; + AnyInvocableClosure outer_write_closure_; + bool shutdown_called_ = false; + // State related to TCP sockets + AnyInvocableClosure on_tcp_connect_locked_; + bool connect_done_ = false; + int wsa_connect_error_ = 0; + WriteState tcp_write_state_ = WRITE_IDLE; + // We don't run register_for_{readable,writeable} logic until + // a socket is connected. In the interim, we queue readable/writeable + // registrations with the following state. + bool pending_continue_register_for_on_readable_locked_ = false; + bool pending_continue_register_for_on_writeable_locked_ = false; + // This pointer is initialized from the stored pointer inside the shared + // pointer owned by the AresResolver and should be valid at the time of use. + EventEngine* event_engine_; +}; + +// These virtual socket functions are called from within the c-ares +// library. These methods generally dispatch those socket calls to the +// appropriate methods. The virtual "socket" and "close" methods are +// special and instead create/add and remove/destroy GrpcPolledFdWindows +// objects. +class CustomSockFuncs { + public: + static ares_socket_t Socket(int af, int type, int protocol, void* user_data) { + if (type != SOCK_DGRAM && type != SOCK_STREAM) { + GRPC_ARES_RESOLVER_TRACE_LOG("Socket called with invalid socket type:%d", + type); + return INVALID_SOCKET; + } + GrpcPolledFdFactoryWindows* self = + static_cast(user_data); + SOCKET s = WSASocket(af, type, protocol, nullptr, 0, + IOCP::GetDefaultSocketFlags()); + if (s == INVALID_SOCKET) { + GRPC_ARES_RESOLVER_TRACE_LOG( + "WSASocket failed with params af:%d type:%d protocol:%d", af, type, + protocol); + return INVALID_SOCKET; + } + if (type == SOCK_STREAM) { + absl::Status error = PrepareSocket(s); + if (!error.ok()) { + GRPC_ARES_RESOLVER_TRACE_LOG("WSAIoctl failed with error: %s", + grpc_core::StatusToString(error).c_str()); + return INVALID_SOCKET; + } + } + auto polled_fd = std::make_unique( + self->iocp_->Watch(s), self->mu_, af, type, self->event_engine_); + GRPC_ARES_RESOLVER_TRACE_LOG( + "fd:|%s| created with params af:%d type:%d protocol:%d", + polled_fd->GetName(), af, type, protocol); + GPR_ASSERT(self->sockets_.insert({s, std::move(polled_fd)}).second); + return s; + } + + static int Connect(ares_socket_t as, const struct sockaddr* target, + ares_socklen_t target_len, void* user_data) { + WSAErrorContext wsa_error_ctx; + GrpcPolledFdFactoryWindows* self = + static_cast(user_data); + auto it = self->sockets_.find(as); + GPR_ASSERT(it != self->sockets_.end()); + return it->second->Connect(&wsa_error_ctx, target, target_len); + } + + static ares_ssize_t SendV(ares_socket_t as, const struct iovec* iov, + int iovec_count, void* user_data) { + WSAErrorContext wsa_error_ctx; + GrpcPolledFdFactoryWindows* self = + static_cast(user_data); + auto it = self->sockets_.find(as); + GPR_ASSERT(it != self->sockets_.end()); + return it->second->SendV(&wsa_error_ctx, iov, iovec_count); + } + + static ares_ssize_t RecvFrom(ares_socket_t as, void* data, size_t data_len, + int flags, struct sockaddr* from, + ares_socklen_t* from_len, void* user_data) { + WSAErrorContext wsa_error_ctx; + GrpcPolledFdFactoryWindows* self = + static_cast(user_data); + auto it = self->sockets_.find(as); + GPR_ASSERT(it != self->sockets_.end()); + return it->second->RecvFrom(&wsa_error_ctx, data, data_len, flags, from, + from_len); + } + + static int CloseSocket(SOCKET s, void*) { + GRPC_ARES_RESOLVER_TRACE_LOG("c-ares socket: %d CloseSocket", s); + return 0; + } +}; + +// Adapter to hold the ownership of GrpcPolledFdWindows internally. +class GrpcPolledFdWrapper : public GrpcPolledFd { + public: + explicit GrpcPolledFdWrapper(GrpcPolledFdWindows* polled_fd) + : polled_fd_(polled_fd) {} + + void RegisterForOnReadableLocked( + absl::AnyInvocable read_closure) override { + polled_fd_->RegisterForOnReadableLocked(std::move(read_closure)); + } + + void RegisterForOnWriteableLocked( + absl::AnyInvocable write_closure) override { + polled_fd_->RegisterForOnWriteableLocked(std::move(write_closure)); + } + + bool IsFdStillReadableLocked() override { + return polled_fd_->IsFdStillReadableLocked(); + } + + bool ShutdownLocked(absl::Status error) override { + return polled_fd_->ShutdownLocked(error); + } + + ares_socket_t GetWrappedAresSocketLocked() override { + return polled_fd_->GetWrappedAresSocketLocked(); + } + + const char* GetName() const override { return polled_fd_->GetName(); } + + private: + GrpcPolledFdWindows* polled_fd_; +}; + +GrpcPolledFdFactoryWindows::GrpcPolledFdFactoryWindows(IOCP* iocp) + : iocp_(iocp) {} + +GrpcPolledFdFactoryWindows::~GrpcPolledFdFactoryWindows() {} + +void GrpcPolledFdFactoryWindows::Initialize(grpc_core::Mutex* mutex, + EventEngine* event_engine) { + mu_ = mutex; + event_engine_ = event_engine; +} + +std::unique_ptr GrpcPolledFdFactoryWindows::NewGrpcPolledFdLocked( + ares_socket_t as) { + auto it = sockets_.find(as); + GPR_ASSERT(it != sockets_.end()); + return std::make_unique(it->second.get()); +} + +void GrpcPolledFdFactoryWindows::ConfigureAresChannelLocked( + ares_channel channel) { + static const struct ares_socket_functions kCustomSockFuncs = { + /*asocket=*/&CustomSockFuncs::Socket, + /*aclose=*/&CustomSockFuncs::CloseSocket, + /*aconnect=*/&CustomSockFuncs::Connect, + /*arecvfrom=*/&CustomSockFuncs::RecvFrom, + /*asendv=*/&CustomSockFuncs::SendV, + }; + ares_set_socket_functions(channel, &kCustomSockFuncs, this); +} + +} // namespace experimental +} // namespace grpc_event_engine + +#endif // GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER) diff --git a/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h b/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h new file mode 100644 index 00000000000..eda3330cb91 --- /dev/null +++ b/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h @@ -0,0 +1,75 @@ +// Copyright 2023 The gRPC Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_LIB_EVENT_ENGINE_WINDOWS_GRPC_POLLED_FD_WINDOWS_H +#define GRPC_SRC_CORE_LIB_EVENT_ENGINE_WINDOWS_GRPC_POLLED_FD_WINDOWS_H + +#include + +#include "src/core/lib/iomgr/port.h" // IWYU pragma: keep + +#if GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER) + +#include + +#include + +#include "absl/functional/any_invocable.h" +#include "absl/status/status.h" + +#include + +#include "src/core/lib/event_engine/common_closures.h" +#include "src/core/lib/event_engine/grpc_polled_fd.h" +#include "src/core/lib/event_engine/windows/iocp.h" +#include "src/core/lib/event_engine/windows/win_socket.h" +#include "src/core/lib/gprpp/sync.h" + +struct iovec; + +namespace grpc_event_engine { +namespace experimental { + +class GrpcPolledFdWindows; + +class GrpcPolledFdFactoryWindows : public GrpcPolledFdFactory { + public: + explicit GrpcPolledFdFactoryWindows(IOCP* iocp); + ~GrpcPolledFdFactoryWindows() override; + + void Initialize(grpc_core::Mutex* mutex, EventEngine* event_engine) override; + std::unique_ptr NewGrpcPolledFdLocked( + ares_socket_t as) override; + void ConfigureAresChannelLocked(ares_channel channel) override; + + private: + friend class CustomSockFuncs; + + // The mutex is owned by the AresResolver which owns this object. + grpc_core::Mutex* mu_; + // The IOCP object is owned by the WindowsEngine whose ownership is shared by + // the AresResolver. + IOCP* iocp_; + // This pointer is initialized from the stored pointer inside the shared + // pointer owned by the AresResolver which owns this object. + EventEngine* event_engine_; + std::map> sockets_; +}; + +} // namespace experimental +} // namespace grpc_event_engine + +#endif // GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER) + +#endif // GRPC_SRC_CORE_LIB_EVENT_ENGINE_WINDOWS_GRPC_POLLED_FD_WINDOWS_H diff --git a/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc b/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc new file mode 100644 index 00000000000..ab318238c02 --- /dev/null +++ b/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc @@ -0,0 +1,115 @@ +// Copyright 2024 The gRPC Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +#include + +#ifdef GPR_WINDOWS +#include +#include +#include + +#include + +#include "absl/strings/str_cat.h" +#include "absl/strings/str_format.h" + +#include + +#include "src/core/lib/event_engine/windows/native_windows_dns_resolver.h" +#include "src/core/lib/gprpp/host_port.h" +#include "src/core/lib/gprpp/status_helper.h" +#include "src/core/lib/iomgr/error.h" + +namespace grpc_event_engine { +namespace experimental { + +namespace { +absl::StatusOr> +LookupHostnameBlocking(absl::string_view name, absl::string_view default_port) { + std::vector addresses; + // parse name, splitting it into host and port parts + std::string host; + std::string port; + grpc_core::SplitHostPort(name, &host, &port); + if (host.empty()) { + return absl::InvalidArgumentError(absl::StrCat("Unparseable name: ", name)); + } + if (port.empty()) { + if (default_port.empty()) { + return absl::InvalidArgumentError( + absl::StrFormat("No port in name %s or default_port argument", name)); + } + port = std::string(default_port); + } + // Call getaddrinfo + struct addrinfo hints; + memset(&hints, 0, sizeof(hints)); + hints.ai_family = AF_UNSPEC; // ipv4 or ipv6 + hints.ai_socktype = SOCK_STREAM; // stream socket + hints.ai_flags = AI_PASSIVE; // for wildcard IP address + struct addrinfo* result = nullptr; + int getaddrinfo_error = + getaddrinfo(host.c_str(), port.c_str(), &hints, &result); + if (getaddrinfo_error != 0) { + return absl::UnknownError( + absl::StrFormat("Address lookup failed for %s os_error: %s", name, + grpc_core::StatusToString( + GRPC_WSA_ERROR(WSAGetLastError(), "getaddrinfo")) + .c_str())); + } + // Success path: collect and return all addresses + for (auto* resp = result; resp != nullptr; resp = resp->ai_next) { + addresses.emplace_back(resp->ai_addr, resp->ai_addrlen); + } + if (result) freeaddrinfo(result); + return addresses; +} + +} // namespace +NativeWindowsDNSResolver::NativeWindowsDNSResolver( + std::shared_ptr event_engine) + : event_engine_(std::move(event_engine)) {} + +void NativeWindowsDNSResolver::LookupHostname( + EventEngine::DNSResolver::LookupHostnameCallback on_resolved, + absl::string_view name, absl::string_view default_port) { + event_engine_->Run( + [name, default_port, on_resolved = std::move(on_resolved)]() mutable { + on_resolved(LookupHostnameBlocking(name, default_port)); + }); +} + +void NativeWindowsDNSResolver::LookupSRV( + EventEngine::DNSResolver::LookupSRVCallback on_resolved, + absl::string_view /* name */) { + // Not supported + event_engine_->Run([on_resolved = std::move(on_resolved)]() mutable { + on_resolved(absl::UnimplementedError( + "The Native resolver does not support looking up SRV records")); + }); +} + +void NativeWindowsDNSResolver::LookupTXT( + EventEngine::DNSResolver::LookupTXTCallback on_resolved, + absl::string_view /* name */) { + // Not supported + event_engine_->Run([on_resolved = std::move(on_resolved)]() mutable { + on_resolved(absl::UnimplementedError( + "The Native resolver does not support looking up TXT records")); + }); +} + +} // namespace experimental +} // namespace grpc_event_engine + +#endif // GPR_WINDOWS diff --git a/src/core/lib/event_engine/windows/native_windows_dns_resolver.h b/src/core/lib/event_engine/windows/native_windows_dns_resolver.h new file mode 100644 index 00000000000..43d1fe27fcc --- /dev/null +++ b/src/core/lib/event_engine/windows/native_windows_dns_resolver.h @@ -0,0 +1,51 @@ +// Copyright 2024 The gRPC Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +#ifndef GRPC_SRC_CORE_LIB_EVENT_ENGINE_WINDOWS_NATIVE_WINDOWS_DNS_RESOLVER_H +#define GRPC_SRC_CORE_LIB_EVENT_ENGINE_WINDOWS_NATIVE_WINDOWS_DNS_RESOLVER_H + +#include + +#ifdef GPR_WINDOWS + +#include + +namespace grpc_event_engine { +namespace experimental { + +// An asynchronous DNS resolver which uses the native platform's getaddrinfo +// API. Only supports A/AAAA records. +class NativeWindowsDNSResolver : public EventEngine::DNSResolver { + public: + explicit NativeWindowsDNSResolver(std::shared_ptr event_engine); + + void LookupHostname( + EventEngine::DNSResolver::LookupHostnameCallback on_resolved, + absl::string_view name, absl::string_view default_port) override; + + void LookupSRV(EventEngine::DNSResolver::LookupSRVCallback on_resolved, + absl::string_view name) override; + + void LookupTXT(EventEngine::DNSResolver::LookupTXTCallback on_resolved, + absl::string_view name) override; + + private: + std::shared_ptr event_engine_; +}; + +} // namespace experimental +} // namespace grpc_event_engine + +#endif + +#endif // GRPC_SRC_CORE_LIB_EVENT_ENGINE_WINDOWS_NATIVE_WINDOWS_DNS_RESOLVER_H diff --git a/src/core/lib/event_engine/windows/win_socket.cc b/src/core/lib/event_engine/windows/win_socket.cc index 61917e7ac33..da919e2ba7c 100644 --- a/src/core/lib/event_engine/windows/win_socket.cc +++ b/src/core/lib/event_engine/windows/win_socket.cc @@ -93,12 +93,8 @@ void WinSocket::NotifyOnReady(OpState& info, EventEngine::Closure* closure) { thread_pool_->Run(closure); return; }; - if (std::exchange(info.has_pending_iocp_, false)) { - thread_pool_->Run(closure); - } else { - EventEngine::Closure* prev = nullptr; - GPR_ASSERT(info.closure_.compare_exchange_strong(prev, closure)); - } + // It is an error if any notification is already registered for this socket. + GPR_ASSERT(std::exchange(info.closure_, closure) == nullptr); } void WinSocket::NotifyOnRead(EventEngine::Closure* on_read) { @@ -109,6 +105,14 @@ void WinSocket::NotifyOnWrite(EventEngine::Closure* on_write) { NotifyOnReady(write_info_, on_write); } +void WinSocket::UnregisterReadCallback() { + GPR_ASSERT(std::exchange(read_info_.closure_, nullptr) != nullptr); +} + +void WinSocket::UnregisterWriteCallback() { + GPR_ASSERT(std::exchange(write_info_.closure_, nullptr) != nullptr); +} + // ---- WinSocket::OpState ---- WinSocket::OpState::OpState(WinSocket* win_socket) noexcept @@ -117,13 +121,11 @@ WinSocket::OpState::OpState(WinSocket* win_socket) noexcept } void WinSocket::OpState::SetReady() { - GPR_ASSERT(!has_pending_iocp_); - auto* closure = closure_.exchange(nullptr); - if (closure) { - win_socket_->thread_pool_->Run(closure); - } else { - has_pending_iocp_ = true; - } + auto* closure = std::exchange(closure_, nullptr); + // If an IOCP event is returned for a socket, and no callback has been + // registered for notification, this is invalid usage. + GPR_ASSERT(closure != nullptr); + win_socket_->thread_pool_->Run(closure); } void WinSocket::OpState::SetError(int wsa_error) { @@ -134,6 +136,11 @@ void WinSocket::OpState::SetResult(OverlappedResult result) { result_ = result; } +void WinSocket::OpState::SetErrorStatus(absl::Status error_status) { + result_ = OverlappedResult{/*wsa_error=*/0, /*bytes_transferred=*/0, + /*error_status=*/error_status}; +} + void WinSocket::OpState::GetOverlappedResult() { GetOverlappedResult(win_socket_->raw_socket()); } @@ -201,6 +208,10 @@ static grpc_error_handle enable_socket_low_latency(SOCKET sock) { } // namespace +absl::Status SetSocketNonBlock(SOCKET sock) { + return grpc_tcp_set_non_block(sock); +} + absl::Status PrepareSocket(SOCKET sock) { absl::Status err; err = grpc_tcp_set_non_block(sock); diff --git a/src/core/lib/event_engine/windows/win_socket.h b/src/core/lib/event_engine/windows/win_socket.h index 9bb1b8d0116..c6d52f41def 100644 --- a/src/core/lib/event_engine/windows/win_socket.h +++ b/src/core/lib/event_engine/windows/win_socket.h @@ -35,6 +35,7 @@ class WinSocket { struct OverlappedResult { int wsa_error; DWORD bytes_transferred; + absl::Status error_status; }; // State related to a Read or Write socket operation @@ -46,10 +47,13 @@ class WinSocket { // the WinSocket's ThreadPool. Otherwise, a "pending iocp" flag will // be set. void SetReady(); - // Set error results for a completed op + // Set WSA error results for a completed op. void SetError(int wsa_error); // Set an OverlappedResult. Useful when WSARecv returns immediately. void SetResult(OverlappedResult result); + // Set error results for a completed op. + // This is a manual override, meant to override any WSA status code. + void SetErrorStatus(absl::Status error_status); // Retrieve the results of an overlapped operation (via Winsock API) and // store them locally. void GetOverlappedResult(); @@ -67,19 +71,27 @@ class WinSocket { OVERLAPPED overlapped_; WinSocket* win_socket_ = nullptr; - std::atomic closure_{nullptr}; - bool has_pending_iocp_ = false; + EventEngine::Closure* closure_ = nullptr; OverlappedResult result_; }; WinSocket(SOCKET socket, ThreadPool* thread_pool) noexcept; ~WinSocket(); - // Calling NotifyOnRead means either of two things: - // - The IOCP already completed in the background, and we need to call - // the callback now. - // - The IOCP hasn't completed yet, and we're queuing it for later. + // Provide a closure that will be called when an IOCP completion has occurred. + // + // Notification callbacks *must be registered* before any WSASend or WSARecv + // operations are started. Only one closure can be registered at a time for + // each read or send operation. void NotifyOnRead(EventEngine::Closure* on_read); void NotifyOnWrite(EventEngine::Closure* on_write); + // Remove the notification callback for read/write events. + // + // This method should only be called if no IOCP event is pending for the + // socket. It is UB if an IOCP event comes through and a notification is not + // registered. + void UnregisterReadCallback(); + void UnregisterWriteCallback(); + bool IsShutdown(); // Shutdown socket operations, but do not delete the WinSocket. // Connections will be disconnected, and the socket will be closed. @@ -121,6 +133,9 @@ class WinSocket { // Attempt to configure default socket settings absl::Status PrepareSocket(SOCKET sock); +// Set non block option for socket. +absl::Status SetSocketNonBlock(SOCKET sock); + } // namespace experimental } // namespace grpc_event_engine diff --git a/src/core/lib/event_engine/windows/windows_endpoint.cc b/src/core/lib/event_engine/windows/windows_endpoint.cc index 85cd968e8bc..840973be74d 100644 --- a/src/core/lib/event_engine/windows/windows_endpoint.cc +++ b/src/core/lib/event_engine/windows/windows_endpoint.cc @@ -76,10 +76,13 @@ WindowsEndpoint::~WindowsEndpoint() { GRPC_EVENT_ENGINE_ENDPOINT_TRACE("~WindowsEndpoint::%p", this); } -absl::Status WindowsEndpoint::AsyncIOState::DoTcpRead(SliceBuffer* buffer) { +void WindowsEndpoint::AsyncIOState::DoTcpRead(SliceBuffer* buffer) { GRPC_EVENT_ENGINE_ENDPOINT_TRACE("WindowsEndpoint::%p reading", endpoint); if (socket->IsShutdown()) { - return absl::UnavailableError("Socket is shutting down."); + socket->read_info()->SetErrorStatus( + absl::UnavailableError("Socket is shutting down.")); + thread_pool->Run(&handle_read_event); + return; } // Prepare the WSABUF struct GPR_ASSERT(buffer->Count() <= kMaxWSABUFCount); @@ -101,26 +104,26 @@ absl::Status WindowsEndpoint::AsyncIOState::DoTcpRead(SliceBuffer* buffer) { socket->read_info()->SetResult( {/*wsa_error=*/wsa_error, /*bytes_read=*/bytes_read}); thread_pool->Run(&handle_read_event); - return absl::OkStatus(); + return; } // If the endpoint has already received some data, and the next call would // block, return the data in case that is all the data the reader expects. if (handle_read_event.MaybeFinishIfDataHasAlreadyBeenRead()) { - return absl::OkStatus(); + return; } // Otherwise, let's retry, by queuing a read. - status = - WSARecv(socket->raw_socket(), wsa_buffers, (DWORD)buffer->Count(), - &bytes_read, &flags, socket->read_info()->overlapped(), nullptr); + socket->NotifyOnRead(&handle_read_event); + status = WSARecv(socket->raw_socket(), wsa_buffers, (DWORD)buffer->Count(), + nullptr, &flags, socket->read_info()->overlapped(), nullptr); wsa_error = status == 0 ? 0 : WSAGetLastError(); if (wsa_error != 0 && wsa_error != WSA_IO_PENDING) { - // Async read returned immediately with an error - return GRPC_WSA_ERROR( + // The async read attempt returned an error immediately. + socket->UnregisterReadCallback(); + socket->read_info()->SetErrorStatus(GRPC_WSA_ERROR( wsa_error, - absl::StrFormat("WindowsEndpont::%p Read failed", this).c_str()); + absl::StrFormat("WindowsEndpont::%p Read failed", this).c_str())); + thread_pool->Run(&handle_read_event); } - socket->NotifyOnRead(&handle_read_event); - return absl::OkStatus(); } bool WindowsEndpoint::Read(absl::AnyInvocable on_read, @@ -140,13 +143,7 @@ bool WindowsEndpoint::Read(absl::AnyInvocable on_read, buffer->AppendIndexed(Slice(allocator_.MakeSlice(min_read_size))); } io_state_->handle_read_event.Prime(io_state_, buffer, std::move(on_read)); - auto status = io_state_->DoTcpRead(buffer); - if (!status.ok()) { - // The read could not be completed. - io_state_->thread_pool->Run( - [cb = io_state_->handle_read_event.ResetAndReturnCallback(), - status]() mutable { cb(status); }); - } + io_state_->DoTcpRead(buffer); return false; } @@ -212,6 +209,8 @@ bool WindowsEndpoint::Write(absl::AnyInvocable on_writable, } } auto write_info = io_state_->socket->write_info(); + io_state_->handle_write_event.Prime(io_state_, data, std::move(on_writable)); + io_state_->socket->NotifyOnWrite(&io_state_->handle_write_event); status = WSASend(io_state_->socket->raw_socket(), &buffers[async_buffers_offset], (DWORD)(data->Count() - async_buffers_offset), nullptr, 0, @@ -219,17 +218,12 @@ bool WindowsEndpoint::Write(absl::AnyInvocable on_writable, if (status != 0) { int wsa_error = WSAGetLastError(); if (wsa_error != WSA_IO_PENDING) { - io_state_->thread_pool->Run( - [cb = std::move(on_writable), wsa_error]() mutable { - cb(GRPC_WSA_ERROR(wsa_error, "WSASend")); - }); - return false; + io_state_->socket->UnregisterWriteCallback(); + io_state_->socket->write_info()->SetErrorStatus( + GRPC_WSA_ERROR(wsa_error, "WSASend")); + io_state_->thread_pool->Run(&io_state_->handle_write_event); } } - // As all is now setup, we can now ask for the IOCP notification. It may - // trigger the callback immediately however, but no matter. - io_state_->handle_write_event.Prime(io_state_, data, std::move(on_writable)); - io_state_->socket->NotifyOnWrite(&io_state_->handle_write_event); return false; } const EventEngine::ResolvedAddress& WindowsEndpoint::GetPeerAddress() const { @@ -288,8 +282,12 @@ void WindowsEndpoint::HandleReadClosure::Run() { auto io_state = std::move(io_state_); GRPC_EVENT_ENGINE_ENDPOINT_TRACE("WindowsEndpoint::%p Handling Read Event", io_state->endpoint); - absl::Status status; const auto result = io_state->socket->read_info()->result(); + if (!result.error_status.ok()) { + buffer_->Clear(); + return ResetAndReturnCallback()(result.error_status); + } + absl::Status status; if (result.wsa_error != 0) { status = GRPC_WSA_ERROR(result.wsa_error, "Async Read Error"); buffer_->Clear(); @@ -317,10 +315,7 @@ void WindowsEndpoint::HandleReadClosure::Run() { } // Doing another read. Let's keep the AsyncIOState alive a bit longer. io_state_ = std::move(io_state); - status = io_state_->DoTcpRead(buffer_); - if (!status.ok()) { - return ResetAndReturnCallback()(status); - } + io_state_->DoTcpRead(buffer_); } bool WindowsEndpoint::HandleReadClosure::MaybeFinishIfDataHasAlreadyBeenRead() { @@ -349,6 +344,10 @@ void WindowsEndpoint::HandleWriteClosure::Run() { GRPC_EVENT_ENGINE_ENDPOINT_TRACE("WindowsEndpoint::%p Handling Write Event", io_state->endpoint); const auto result = io_state->socket->write_info()->result(); + if (!result.error_status.ok()) { + buffer_->Clear(); + return ResetAndReturnCallback()(result.error_status); + } absl::Status status; if (result.wsa_error != 0) { status = GRPC_WSA_ERROR(result.wsa_error, "WSASend"); diff --git a/src/core/lib/event_engine/windows/windows_endpoint.h b/src/core/lib/event_engine/windows/windows_endpoint.h index e3af6ff493d..f6e991f5574 100644 --- a/src/core/lib/event_engine/windows/windows_endpoint.h +++ b/src/core/lib/event_engine/windows/windows_endpoint.h @@ -97,7 +97,7 @@ class WindowsEndpoint : public EventEngine::Endpoint { // Perform the low-level calls and execute the HandleReadClosure // asynchronously. - absl::Status DoTcpRead(SliceBuffer* buffer); + void DoTcpRead(SliceBuffer* buffer); WindowsEndpoint* const endpoint; std::unique_ptr socket; diff --git a/src/core/lib/event_engine/windows/windows_engine.cc b/src/core/lib/event_engine/windows/windows_engine.cc index 552488639f1..f4431ae4ef4 100644 --- a/src/core/lib/event_engine/windows/windows_engine.cc +++ b/src/core/lib/event_engine/windows/windows_engine.cc @@ -35,7 +35,9 @@ #include "src/core/lib/event_engine/thread_pool/thread_pool.h" #include "src/core/lib/event_engine/trace.h" #include "src/core/lib/event_engine/utils.h" +#include "src/core/lib/event_engine/windows/grpc_polled_fd_windows.h" #include "src/core/lib/event_engine/windows/iocp.h" +#include "src/core/lib/event_engine/windows/native_windows_dns_resolver.h" #include "src/core/lib/event_engine/windows/windows_endpoint.h" #include "src/core/lib/event_engine/windows/windows_engine.h" #include "src/core/lib/event_engine/windows/windows_listener.h" @@ -47,6 +49,13 @@ namespace grpc_event_engine { namespace experimental { +namespace { +EventEngine::OnConnectCallback CreateCrashingOnConnectCallback() { + return [](absl::StatusOr>) { + grpc_core::Crash("Internal Error: OnConnect callback called when unset"); + }; +} +} // namespace // ---- IOCPWorkClosure ---- WindowsEventEngine::IOCPWorkClosure::IOCPWorkClosure(ThreadPool* thread_pool, @@ -99,7 +108,7 @@ struct WindowsEventEngine::TimerClosure final : public EventEngine::Closure { WindowsEventEngine::WindowsEventEngine() : thread_pool_( - MakeThreadPool(grpc_core::Clamp(gpr_cpu_num_cores(), 2u, 16u))), + MakeThreadPool(grpc_core::Clamp(gpr_cpu_num_cores(), 4u, 16u))), iocp_(thread_pool_.get()), timer_manager_(thread_pool_), iocp_worker_(thread_pool_.get(), &iocp_) { @@ -194,10 +203,48 @@ EventEngine::TaskHandle WindowsEventEngine::RunAfterInternal( return handle; } +#if GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER) + +WindowsEventEngine::WindowsDNSResolver::WindowsDNSResolver( + grpc_core::OrphanablePtr ares_resolver) + : ares_resolver_(std::move(ares_resolver)) {} + +void WindowsEventEngine::WindowsDNSResolver::LookupHostname( + LookupHostnameCallback on_resolve, absl::string_view name, + absl::string_view default_port) { + ares_resolver_->LookupHostname(std::move(on_resolve), name, default_port); +} + +void WindowsEventEngine::WindowsDNSResolver::LookupSRV( + LookupSRVCallback on_resolve, absl::string_view name) { + ares_resolver_->LookupSRV(std::move(on_resolve), name); +} + +void WindowsEventEngine::WindowsDNSResolver::LookupTXT( + LookupTXTCallback on_resolve, absl::string_view name) { + ares_resolver_->LookupTXT(std::move(on_resolve), name); +} + +#endif // GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER) + absl::StatusOr> WindowsEventEngine::GetDNSResolver( - EventEngine::DNSResolver::ResolverOptions const& /*options*/) { - grpc_core::Crash("unimplemented"); + EventEngine::DNSResolver::ResolverOptions const& options) { +#if GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER) + auto ares_resolver = AresResolver::CreateAresResolver( + options.dns_server, + std::make_unique(poller()), + shared_from_this()); + if (!ares_resolver.ok()) { + return ares_resolver.status(); + } + return std::make_unique( + std::move(*ares_resolver)); +#else // GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER) + GRPC_EVENT_ENGINE_DNS_TRACE( + "WindowsEventEngine:%p creating NativeWindowsDNSResolver", this); + return std::make_unique(shared_from_this()); +#endif // GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER) } bool WindowsEventEngine::IsWorkerThread() { grpc_core::Crash("unimplemented"); } @@ -210,6 +257,7 @@ void WindowsEventEngine::OnConnectCompleted( // Connection attempt complete! grpc_core::MutexLock lock(&state->mu); cb = std::move(state->on_connected_user_callback); + state->on_connected_user_callback = CreateCrashingOnConnectCallback(); state->on_connected = nullptr; { grpc_core::MutexLock handle_lock(&connection_mu_); @@ -218,18 +266,21 @@ void WindowsEventEngine::OnConnectCompleted( const auto& overlapped_result = state->socket->write_info()->result(); // return early if we cannot cancel the connection timeout timer. if (!Cancel(state->timer_handle)) return; - if (overlapped_result.wsa_error != 0) { + if (!overlapped_result.error_status.ok()) { + state->socket->Shutdown(DEBUG_LOCATION, "ConnectEx failure"); + endpoint = overlapped_result.error_status; + } else if (overlapped_result.wsa_error != 0) { state->socket->Shutdown(DEBUG_LOCATION, "ConnectEx failure"); endpoint = GRPC_WSA_ERROR(overlapped_result.wsa_error, "ConnectEx"); } else { - // This code should be running in a thread pool thread already, so the - // callback can be run directly. ChannelArgsEndpointConfig cfg; endpoint = std::make_unique( state->address, std::move(state->socket), std::move(state->allocator), cfg, thread_pool_.get(), shared_from_this()); } } + // This code should be running in a thread pool thread already, so the + // callback can be run directly. cb(std::move(endpoint)); } @@ -255,7 +306,10 @@ EventEngine::ConnectionHandle WindowsEventEngine::Connect( if (ResolvedAddressToV4Mapped(addr, &addr6_v4mapped)) { address = addr6_v4mapped; } - SOCKET sock = WSASocket(AF_INET6, SOCK_STREAM, IPPROTO_TCP, nullptr, 0, + const int addr_family = + (address.address()->sa_family == AF_UNIX) ? AF_UNIX : AF_INET6; + const int protocol = addr_family == AF_UNIX ? 0 : IPPROTO_TCP; + SOCKET sock = WSASocket(addr_family, SOCK_STREAM, protocol, nullptr, 0, IOCP::GetDefaultSocketFlags()); if (sock == INVALID_SOCKET) { Run([on_connect = std::move(on_connect), @@ -264,7 +318,11 @@ EventEngine::ConnectionHandle WindowsEventEngine::Connect( }); return EventEngine::ConnectionHandle::kInvalid; } - status = PrepareSocket(sock); + if (addr_family == AF_UNIX) { + status = SetSocketNonBlock(sock); + } else { + status = PrepareSocket(sock); + } if (!status.ok()) { Run([on_connect = std::move(on_connect), status]() mutable { on_connect(status); @@ -289,7 +347,16 @@ EventEngine::ConnectionHandle WindowsEventEngine::Connect( return EventEngine::ConnectionHandle::kInvalid; } // bind the local address - auto local_address = ResolvedAddressMakeWild6(0); + ResolvedAddress local_address; + if (addr_family == AF_UNIX) { + // For ConnectEx() to work for AF_UNIX, the sock needs to be bound to + // the local address of an unnamed socket. + sockaddr addr = {}; + addr.sa_family = AF_UNIX; + local_address = ResolvedAddress(&addr, sizeof(addr)); + } else { + local_address = ResolvedAddressMakeWild6(0); + } istatus = bind(sock, local_address.address(), local_address.size()); if (istatus != 0) { Run([on_connect = std::move(on_connect), @@ -298,54 +365,65 @@ EventEngine::ConnectionHandle WindowsEventEngine::Connect( }); return EventEngine::ConnectionHandle::kInvalid; } - // Connect - auto watched_socket = iocp_.Watch(sock); - auto* info = watched_socket->write_info(); - bool success = - ConnectEx(watched_socket->raw_socket(), address.address(), address.size(), - nullptr, 0, nullptr, info->overlapped()); - // It wouldn't be unusual to get a success immediately. But we'll still get an - // IOCP notification, so let's ignore it. - if (!success) { - int last_error = WSAGetLastError(); - if (last_error != ERROR_IO_PENDING) { - Run([on_connect = std::move(on_connect), - status = GRPC_WSA_ERROR(WSAGetLastError(), "ConnectEx")]() mutable { - on_connect(status); - }); - watched_socket->Shutdown(DEBUG_LOCATION, "ConnectEx"); - return EventEngine::ConnectionHandle::kInvalid; - } - } - GPR_ASSERT(watched_socket != nullptr); + // Prepare the socket to receive a connection auto connection_state = std::make_shared(); grpc_core::MutexLock lock(&connection_state->mu); + connection_state->socket = iocp_.Watch(sock); + GPR_ASSERT(connection_state->socket != nullptr); + auto* info = connection_state->socket->write_info(); connection_state->address = address; - connection_state->socket = std::move(watched_socket); - connection_state->on_connected_user_callback = std::move(on_connect); connection_state->allocator = std::move(memory_allocator); + connection_state->on_connected_user_callback = std::move(on_connect); connection_state->on_connected = SelfDeletingClosure::Create([this, connection_state]() mutable { OnConnectCompleted(std::move(connection_state)); }); - { - grpc_core::MutexLock conn_lock(&connection_mu_); - connection_state->connection_handle = - ConnectionHandle{reinterpret_cast(connection_state.get()), - aba_token_.fetch_add(1)}; - known_connection_handles_.insert(connection_state->connection_handle); - } connection_state->timer_handle = RunAfter(timeout, [this, connection_state]() { - grpc_core::MutexLock lock(&connection_state->mu); + grpc_core::ReleasableMutexLock lock(&connection_state->mu); if (CancelConnectFromDeadlineTimer(connection_state.get())) { - connection_state->on_connected_user_callback( - absl::DeadlineExceededError("Connection timed out")); + auto cb = std::move(connection_state->on_connected_user_callback); + connection_state->on_connected_user_callback = + CreateCrashingOnConnectCallback(); + lock.Release(); + cb(absl::DeadlineExceededError("Connection timed out")); } - // else: The connection attempt could not be canceled. We can assume the - // connection callback will be called. + // else: The connection attempt could not be canceled. We can assume + // the connection callback will be called. }); + // Connect connection_state->socket->NotifyOnWrite(connection_state->on_connected); + bool success = + ConnectEx(connection_state->socket->raw_socket(), address.address(), + address.size(), nullptr, 0, nullptr, info->overlapped()); + // It wouldn't be unusual to get a success immediately. But we'll still get an + // IOCP notification, so let's ignore it. + if (!success) { + int last_error = WSAGetLastError(); + if (last_error != ERROR_IO_PENDING) { + if (!Cancel(connection_state->timer_handle)) { + return EventEngine::ConnectionHandle::kInvalid; + } + connection_state->socket->Shutdown(DEBUG_LOCATION, "ConnectEx"); + Run([connection_state = std::move(connection_state), + status = GRPC_WSA_ERROR(WSAGetLastError(), "ConnectEx")]() mutable { + EventEngine::OnConnectCallback cb; + { + grpc_core::MutexLock lock(&connection_state->mu); + cb = std::move(connection_state->on_connected_user_callback); + connection_state->on_connected_user_callback = + CreateCrashingOnConnectCallback(); + } + cb(status); + }); + return EventEngine::ConnectionHandle::kInvalid; + } + } + connection_state->connection_handle = + ConnectionHandle{reinterpret_cast(connection_state.get()), + aba_token_.fetch_add(1)}; + grpc_core::MutexLock connection_handle_lock(&connection_mu_); + known_connection_handles_.insert(connection_state->connection_handle); return connection_state->connection_handle; } @@ -386,7 +464,7 @@ bool WindowsEventEngine::CancelConnectFromDeadlineTimer( bool WindowsEventEngine::CancelConnectInternalStateLocked( ConnectionState* connection_state) { connection_state->socket->Shutdown(DEBUG_LOCATION, "CancelConnect"); - // Release the connection_state shared_ptr. connection_state is now invalid. + // Release the connection_state shared_ptr owned by the connected callback. delete connection_state->on_connected; GRPC_EVENT_ENGINE_TRACE("Successfully cancelled connection %s", HandleToString( diff --git a/src/core/lib/event_engine/windows/windows_engine.h b/src/core/lib/event_engine/windows/windows_engine.h index 5fed3ae95f0..150e7facf3f 100644 --- a/src/core/lib/event_engine/windows/windows_engine.h +++ b/src/core/lib/event_engine/windows/windows_engine.h @@ -13,8 +13,11 @@ // limitations under the License. #ifndef GRPC_SRC_CORE_LIB_EVENT_ENGINE_WINDOWS_WINDOWS_ENGINE_H #define GRPC_SRC_CORE_LIB_EVENT_ENGINE_WINDOWS_WINDOWS_ENGINE_H + #include +#include "src/core/lib/iomgr/port.h" // IWYU pragma: keep + #ifdef GPR_WINDOWS #include @@ -28,6 +31,7 @@ #include #include +#include "src/core/lib/event_engine/ares_resolver.h" #include "src/core/lib/event_engine/handle_containers.h" #include "src/core/lib/event_engine/posix_engine/timer_manager.h" #include "src/core/lib/event_engine/thread_pool/thread_pool.h" @@ -47,7 +51,11 @@ class WindowsEventEngine : public EventEngine, public: class WindowsDNSResolver : public EventEngine::DNSResolver { public: - ~WindowsDNSResolver() override; + WindowsDNSResolver() = delete; +#if GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER) + explicit WindowsDNSResolver( + grpc_core::OrphanablePtr ares_resolver); +#endif // GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER) void LookupHostname(LookupHostnameCallback on_resolve, absl::string_view name, absl::string_view default_port) override; @@ -55,6 +63,11 @@ class WindowsEventEngine : public EventEngine, absl::string_view name) override; void LookupTXT(LookupTXTCallback on_resolve, absl::string_view name) override; + +#if GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER) + private: + grpc_core::OrphanablePtr ares_resolver_; +#endif // GRPC_ARES == 1 && defined(GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER) }; WindowsEventEngine(); @@ -100,7 +113,8 @@ class WindowsEventEngine : public EventEngine, grpc_core::Mutex mu ABSL_ACQUIRED_BEFORE(WindowsEventEngine::connection_mu_); EventEngine::ConnectionHandle connection_handle ABSL_GUARDED_BY(mu); - EventEngine::TaskHandle timer_handle ABSL_GUARDED_BY(mu); + EventEngine::TaskHandle timer_handle ABSL_GUARDED_BY(mu) = + EventEngine::TaskHandle::kInvalid; EventEngine::OnConnectCallback on_connected_user_callback ABSL_GUARDED_BY(mu); EventEngine::Closure* on_connected ABSL_GUARDED_BY(mu); diff --git a/src/core/lib/event_engine/windows/windows_listener.cc b/src/core/lib/event_engine/windows/windows_listener.cc index 3e903118a86..d74cfc0e8bc 100644 --- a/src/core/lib/event_engine/windows/windows_listener.cc +++ b/src/core/lib/event_engine/windows/windows_listener.cc @@ -27,6 +27,7 @@ #include "src/core/lib/gprpp/crash.h" #include "src/core/lib/gprpp/sync.h" #include "src/core/lib/iomgr/error.h" +#include "src/core/lib/iomgr/port.h" namespace grpc_event_engine { namespace experimental { @@ -67,11 +68,39 @@ void WindowsEventEngineListener::SinglePortSocketListener:: // ---- SinglePortSocketListener ---- +// TODO(hork): This may be refactored to share with posix engine. +void UnlinkIfUnixDomainSocket( + const EventEngine::ResolvedAddress& resolved_addr) { +#ifdef GRPC_HAVE_UNIX_SOCKET + if (resolved_addr.address()->sa_family != AF_UNIX) { + return; + } + struct sockaddr_un* un = reinterpret_cast( + const_cast(resolved_addr.address())); + // There is nothing to unlink for an abstract unix socket. + if (un->sun_path[0] == '\0' && un->sun_path[1] != '\0') { + return; + } + // For windows we need to remove the file instead of unlink. + DWORD attr = ::GetFileAttributesA(un->sun_path); + if (attr == INVALID_FILE_ATTRIBUTES) { + return; + } + if (attr & FILE_ATTRIBUTE_DIRECTORY || attr & FILE_ATTRIBUTE_READONLY) { + return; + } + ::DeleteFileA(un->sun_path); +#else + (void)resolved_addr; +#endif +} + WindowsEventEngineListener::SinglePortSocketListener:: ~SinglePortSocketListener() { grpc_core::MutexLock lock(&io_state_->mu); io_state_->listener_socket->Shutdown(DEBUG_LOCATION, "~SinglePortSocketListener"); + UnlinkIfUnixDomainSocket(listener_sockname()); GRPC_EVENT_ENGINE_TRACE("~SinglePortSocketListener::%p", this); } @@ -109,7 +138,11 @@ absl::Status WindowsEventEngineListener::SinglePortSocketListener::Start() { absl::Status WindowsEventEngineListener::SinglePortSocketListener::StartLocked() { - SOCKET accept_socket = WSASocket(AF_INET6, SOCK_STREAM, IPPROTO_TCP, NULL, 0, + const EventEngine::ResolvedAddress addr = listener_sockname(); + const int addr_family = + (addr.address()->sa_family == AF_UNIX) ? AF_UNIX : AF_INET6; + const int protocol = addr_family == AF_UNIX ? 0 : IPPROTO_TCP; + SOCKET accept_socket = WSASocket(addr_family, SOCK_STREAM, protocol, NULL, 0, IOCP::GetDefaultSocketFlags()); if (accept_socket == INVALID_SOCKET) { return GRPC_WSA_ERROR(WSAGetLastError(), "WSASocket"); @@ -118,10 +151,17 @@ WindowsEventEngineListener::SinglePortSocketListener::StartLocked() { if (accept_socket != INVALID_SOCKET) closesocket(accept_socket); return error; }; - auto error = PrepareSocket(accept_socket); + absl::Status error; + if (addr_family == AF_UNIX) { + error = SetSocketNonBlock(accept_socket); + } else { + error = PrepareSocket(accept_socket); + } if (!error.ok()) return fail(error); // Start the "accept" asynchronously. - DWORD addrlen = sizeof(sockaddr_in6) + 16; + io_state_->listener_socket->NotifyOnRead(&io_state_->on_accept_cb); + DWORD addrlen = + sizeof(addresses_) / 2; // half of the buffer is for remote addr. DWORD bytes_received = 0; int success = AcceptEx(io_state_->listener_socket->raw_socket(), accept_socket, @@ -132,13 +172,11 @@ WindowsEventEngineListener::SinglePortSocketListener::StartLocked() { if (success != 0) { int last_error = WSAGetLastError(); if (last_error != ERROR_IO_PENDING) { + io_state_->listener_socket->UnregisterReadCallback(); return fail(GRPC_WSA_ERROR(last_error, "AcceptEx")); } } - // We're ready to do the accept. Calling NotifyOnRead may immediately process - // an accept that happened in the meantime. io_state_->accept_socket = accept_socket; - io_state_->listener_socket->NotifyOnRead(&io_state_->on_accept_cb); GRPC_EVENT_ENGINE_TRACE( "SinglePortSocketListener::%p listening. listener_socket::%p", this, io_state_->listener_socket.get()); @@ -239,8 +277,14 @@ WindowsEventEngineListener::SinglePortSocketListener::PrepareListenerSocket( if (sock != INVALID_SOCKET) closesocket(sock); return error; }; - auto error = PrepareSocket(sock); + absl::Status error; + if (addr.address()->sa_family == AF_UNIX) { + error = SetSocketNonBlock(sock); + } else { + error = PrepareSocket(sock); + } if (!error.ok()) return fail(error); + UnlinkIfUnixDomainSocket(addr); if (bind(sock, addr.address(), addr.size()) == SOCKET_ERROR) { return fail(GRPC_WSA_ERROR(WSAGetLastError(), "bind")); } @@ -314,7 +358,10 @@ absl::StatusOr WindowsEventEngineListener::Bind( out_addr = ResolvedAddressMakeWild6(out_port); } // open the socket - SOCKET sock = WSASocket(AF_INET6, SOCK_STREAM, IPPROTO_TCP, nullptr, 0, + const int addr_family = + (out_addr.address()->sa_family == AF_UNIX) ? AF_UNIX : AF_INET6; + const int protocol = addr_family == AF_UNIX ? 0 : IPPROTO_TCP; + SOCKET sock = WSASocket(addr_family, SOCK_STREAM, protocol, nullptr, 0, IOCP::GetDefaultSocketFlags()); if (sock == INVALID_SOCKET) { auto error = GRPC_WSA_ERROR(WSAGetLastError(), "WSASocket"); diff --git a/src/core/lib/event_engine/windows/windows_listener.h b/src/core/lib/event_engine/windows/windows_listener.h index a84238c3b7c..2773f3afbf3 100644 --- a/src/core/lib/event_engine/windows/windows_listener.h +++ b/src/core/lib/event_engine/windows/windows_listener.h @@ -30,6 +30,14 @@ #include "src/core/lib/event_engine/thread_pool/thread_pool.h" #include "src/core/lib/event_engine/windows/iocp.h" #include "src/core/lib/gprpp/sync.h" +#include "src/core/lib/iomgr/port.h" + +#ifdef GRPC_HAVE_UNIX_SOCKET +// clang-format off +#include +#include +// clang-format on +#endif namespace grpc_event_engine { namespace experimental { @@ -120,9 +128,15 @@ class WindowsEventEngineListener : public EventEngine::Listener { // The cached AcceptEx for that port. LPFN_ACCEPTEX AcceptEx; + // Buffer to hold the local and remote address. // This seemingly magic number comes from AcceptEx's documentation. each // address buffer needs to have at least 16 more bytes at their end. +#ifdef GRPC_HAVE_UNIX_SOCKET + // unix addr is larger than ip addr. + uint8_t addresses_[(sizeof(sockaddr_un) + 16) * 2] = {}; +#else uint8_t addresses_[(sizeof(sockaddr_in6) + 16) * 2] = {}; +#endif // The parent listener WindowsEventEngineListener* listener_; // shared state for asynchronous cleanup of overlapped operations diff --git a/src/core/lib/event_engine/work_queue/basic_work_queue.cc b/src/core/lib/event_engine/work_queue/basic_work_queue.cc index 5843de6dee4..fd41b93fb24 100644 --- a/src/core/lib/event_engine/work_queue/basic_work_queue.cc +++ b/src/core/lib/event_engine/work_queue/basic_work_queue.cc @@ -23,6 +23,8 @@ namespace grpc_event_engine { namespace experimental { +BasicWorkQueue::BasicWorkQueue(void* owner) : owner_(owner) {} + bool BasicWorkQueue::Empty() const { grpc_core::MutexLock lock(&mu_); return q_.empty(); diff --git a/src/core/lib/event_engine/work_queue/basic_work_queue.h b/src/core/lib/event_engine/work_queue/basic_work_queue.h index 78ea0f27ade..f04d185333b 100644 --- a/src/core/lib/event_engine/work_queue/basic_work_queue.h +++ b/src/core/lib/event_engine/work_queue/basic_work_queue.h @@ -36,7 +36,8 @@ namespace experimental { // closures are added to the back. class BasicWorkQueue : public WorkQueue { public: - BasicWorkQueue() = default; + BasicWorkQueue() : owner_(nullptr) {} + explicit BasicWorkQueue(void* owner); // Returns whether the queue is empty bool Empty() const override ABSL_LOCKS_EXCLUDED(mu_); // Returns the size of the queue. @@ -59,10 +60,12 @@ class BasicWorkQueue : public WorkQueue { // Wraps an AnyInvocable and adds it to the the queue. void Add(absl::AnyInvocable invocable) override ABSL_LOCKS_EXCLUDED(mu_); + const void* owner() override { return owner_; } private: mutable grpc_core::Mutex mu_; std::deque q_ ABSL_GUARDED_BY(mu_); + const void* const owner_ = nullptr; }; } // namespace experimental diff --git a/src/core/lib/event_engine/work_queue/work_queue.h b/src/core/lib/event_engine/work_queue/work_queue.h index 262aff29162..270a88e3a09 100644 --- a/src/core/lib/event_engine/work_queue/work_queue.h +++ b/src/core/lib/event_engine/work_queue/work_queue.h @@ -54,6 +54,10 @@ class WorkQueue { virtual void Add(EventEngine::Closure* closure) = 0; // Wraps an AnyInvocable and adds it to the the queue. virtual void Add(absl::AnyInvocable invocable) = 0; + // Returns an optional owner id for queue identification. + // TODO(hork): revisit if this can be moved to the thread pool implementation + // if dynamic queue type experiments are warranted. + virtual const void* owner() = 0; }; } // namespace experimental diff --git a/src/core/lib/experiments/config.cc b/src/core/lib/experiments/config.cc index 28cec78598e..6a480c22db1 100644 --- a/src/core/lib/experiments/config.cc +++ b/src/core/lib/experiments/config.cc @@ -94,8 +94,7 @@ class TestExperiments { TestExperiments* g_test_experiments = nullptr; -GPR_ATTRIBUTE_NOINLINE Experiments LoadExperimentsFromConfigVariable() { - g_loaded.store(true, std::memory_order_relaxed); +GPR_ATTRIBUTE_NOINLINE Experiments LoadExperimentsFromConfigVariableInner() { // Set defaults from metadata. Experiments experiments; for (size_t i = 0; i < kNumExperiments; i++) { @@ -135,9 +134,27 @@ GPR_ATTRIBUTE_NOINLINE Experiments LoadExperimentsFromConfigVariable() { std::string(experiment).c_str()); } } + for (size_t i = 0; i < kNumExperiments; i++) { + // If required experiments are not enabled, disable this one too. + for (size_t j = 0; j < g_experiment_metadata[i].num_required_experiments; + j++) { + // Require that we can check dependent requirements with a linear sweep + // (implies the experiments generator must DAG sort the experiments) + GPR_ASSERT(g_experiment_metadata[i].required_experiments[j] < i); + if (!experiments + .enabled[g_experiment_metadata[i].required_experiments[j]]) { + experiments.enabled[i] = false; + } + } + } return experiments; } +Experiments LoadExperimentsFromConfigVariable() { + g_loaded.store(true, std::memory_order_relaxed); + return LoadExperimentsFromConfigVariableInner(); +} + Experiments& ExperimentsSingleton() { // One time initialization: static NoDestruct experiments{ @@ -161,6 +178,10 @@ bool IsExperimentEnabled(size_t experiment_id) { return ExperimentsSingleton().enabled[experiment_id]; } +bool IsExperimentEnabledInConfiguration(size_t experiment_id) { + return LoadExperimentsFromConfigVariableInner().enabled[experiment_id]; +} + bool IsTestExperimentEnabled(size_t experiment_id) { return (*g_test_experiments)[experiment_id]; } @@ -180,7 +201,7 @@ void PrintExperimentsList() { for (auto name_index : visitation_order) { const size_t i = name_index.second; gpr_log( - GPR_DEBUG, "%s", + GPR_INFO, "%s", absl::StrCat( "gRPC EXPERIMENT ", g_experiment_metadata[i].name, std::string(max_experiment_length - diff --git a/src/core/lib/experiments/config.h b/src/core/lib/experiments/config.h index e93382634b7..b760e684cd9 100644 --- a/src/core/lib/experiments/config.h +++ b/src/core/lib/experiments/config.h @@ -18,6 +18,7 @@ #include #include +#include #include "absl/functional/any_invocable.h" #include "absl/strings/string_view.h" @@ -30,6 +31,8 @@ struct ExperimentMetadata { const char* name; const char* description; const char* additional_constaints; + const uint8_t* required_experiments; + uint8_t num_required_experiments; bool default_value; bool allow_in_fuzzing_config; }; @@ -45,6 +48,12 @@ bool IsExperimentEnabled(size_t experiment_id); // method. bool IsTestExperimentEnabled(size_t experiment_id); +// Slow check for if a named experiment is enabled. +// Parses the configuration and looks up the experiment in that, so it does not +// affect any global state, but it does require parsing the configuration every +// call! +bool IsExperimentEnabledInConfiguration(size_t experiment_id); + // Reload experiment state from config variables. // Does not change ForceEnableExperiment state. // Expects the caller to handle global thread safety - so really only diff --git a/src/core/lib/experiments/experiments.cc b/src/core/lib/experiments/experiments.cc index a182b187604..4ed2c0a792d 100644 --- a/src/core/lib/experiments/experiments.cc +++ b/src/core/lib/experiments/experiments.cc @@ -18,514 +18,783 @@ #include "src/core/lib/experiments/experiments.h" +#include + #ifndef GRPC_EXPERIMENTS_ARE_FINAL #if defined(GRPC_CFSTREAM) namespace { -const char* const description_tcp_frame_size_tuning = - "If set, enables TCP to use RPC size estimation made by higher layers. TCP " - "would not indicate completion of a read operation until a specified " - "number of bytes have been read over the socket. Buffers are also " - "allocated according to estimated RPC sizes."; -const char* const additional_constraints_tcp_frame_size_tuning = "{}"; -const char* const description_tcp_rcv_lowat = - "Use SO_RCVLOWAT to avoid wakeups on the read path."; -const char* const additional_constraints_tcp_rcv_lowat = "{}"; -const char* const description_peer_state_based_framing = - "If set, the max sizes of frames sent to lower layers is controlled based " - "on the peer's memory pressure which is reflected in its max http2 frame " - "size."; -const char* const additional_constraints_peer_state_based_framing = "{}"; -const char* const description_memory_pressure_controller = - "New memory pressure controller"; -const char* const additional_constraints_memory_pressure_controller = "{}"; -const char* const description_unconstrained_max_quota_buffer_size = - "Discard the cap on the max free pool size for one memory allocator"; -const char* const additional_constraints_unconstrained_max_quota_buffer_size = +const char* const description_absl_base64 = "Use abseil base64 functions."; +const char* const additional_constraints_absl_base64 = "{}"; +const char* const description_call_status_override_on_cancellation = + "Avoid overriding call status of successfully finished calls if it races " + "with cancellation."; +const char* const additional_constraints_call_status_override_on_cancellation = "{}"; +const char* const description_call_v3 = "Promise-based call version 3."; +const char* const additional_constraints_call_v3 = "{}"; +const char* const description_canary_client_privacy = + "If set, canary client privacy"; +const char* const additional_constraints_canary_client_privacy = "{}"; +const char* const description_client_idleness = + "If enabled, client channel idleness is enabled by default."; +const char* const additional_constraints_client_idleness = "{}"; +const char* const description_client_privacy = "If set, client privacy"; +const char* const additional_constraints_client_privacy = "{}"; const char* const description_event_engine_client = "Use EventEngine clients instead of iomgr's grpc_tcp_client"; const char* const additional_constraints_event_engine_client = "{}"; +const char* const description_event_engine_dns = + "If set, use EventEngine DNSResolver for client channel resolution"; +const char* const additional_constraints_event_engine_dns = "{}"; +const char* const description_event_engine_listener = + "Use EventEngine listeners instead of iomgr's grpc_tcp_server"; +const char* const additional_constraints_event_engine_listener = "{}"; +const char* const description_free_large_allocator = + "If set, return all free bytes from a \042big\042 allocator"; +const char* const additional_constraints_free_large_allocator = "{}"; +const char* const description_http2_stats_fix = + "Fix on HTTP2 outgoing data stats reporting"; +const char* const additional_constraints_http2_stats_fix = "{}"; +const char* const description_keepalive_fix = + "Allows overriding keepalive_permit_without_calls. Refer " + "https://github.com/grpc/grpc/pull/33428 for more information."; +const char* const additional_constraints_keepalive_fix = "{}"; +const char* const description_keepalive_server_fix = + "Allows overriding keepalive_permit_without_calls for servers. Refer " + "https://github.com/grpc/grpc/pull/33917 for more information."; +const char* const additional_constraints_keepalive_server_fix = "{}"; const char* const description_monitoring_experiment = "Placeholder experiment to prove/disprove our monitoring is working"; const char* const additional_constraints_monitoring_experiment = "{}"; +const char* const description_multiping = + "Allow more than one ping to be in flight at a time by default."; +const char* const additional_constraints_multiping = "{}"; +const char* const description_peer_state_based_framing = + "If set, the max sizes of frames sent to lower layers is controlled based " + "on the peer's memory pressure which is reflected in its max http2 frame " + "size."; +const char* const additional_constraints_peer_state_based_framing = "{}"; +const char* const description_pending_queue_cap = + "In the sync & async apis (but not the callback api), cap the number of " + "received but unrequested requests in the server for each call type. A " + "received message is one that was read from the wire on the server. A " + "requested message is one explicitly requested by the application using " + "grpc_server_request_call or grpc_server_request_registered_call (or their " + "wrappers in the C++ API)."; +const char* const additional_constraints_pending_queue_cap = "{}"; +const char* const description_pick_first_happy_eyeballs = + "Use Happy Eyeballs in pick_first."; +const char* const additional_constraints_pick_first_happy_eyeballs = "{}"; const char* const description_promise_based_client_call = "If set, use the new gRPC promise based call code when it's appropriate " "(ie when all filters in a stack are promise based)"; const char* const additional_constraints_promise_based_client_call = "{}"; -const char* const description_free_large_allocator = - "If set, return all free bytes from a \042big\042 allocator"; -const char* const additional_constraints_free_large_allocator = "{}"; +const uint8_t required_experiments_promise_based_client_call[] = { + static_cast(grpc_core::kExperimentIdEventEngineClient), + static_cast(grpc_core::kExperimentIdEventEngineListener)}; const char* const description_promise_based_server_call = "If set, use the new gRPC promise based call code when it's appropriate " "(ie when all filters in a stack are promise based)"; const char* const additional_constraints_promise_based_server_call = "{}"; -const char* const description_event_engine_listener = - "Use EventEngine listeners instead of iomgr's grpc_tcp_server"; -const char* const additional_constraints_event_engine_listener = "{}"; +const char* const description_chaotic_good = + "If set, enable the chaotic good load transport (this is mostly here for " + "testing)"; +const char* const additional_constraints_chaotic_good = "{}"; +const uint8_t required_experiments_chaotic_good[] = { + static_cast(grpc_core::kExperimentIdPromiseBasedClientCall), + static_cast(grpc_core::kExperimentIdPromiseBasedServerCall)}; +const char* const description_registered_method_lookup_in_transport = + "Change registered method's lookup point to transport"; +const char* const additional_constraints_registered_method_lookup_in_transport = + "{}"; +const char* const description_promise_based_inproc_transport = + "Use promises for the in-process transport."; +const char* const additional_constraints_promise_based_inproc_transport = "{}"; +const uint8_t required_experiments_promise_based_inproc_transport[] = { + static_cast(grpc_core::kExperimentIdPromiseBasedClientCall), + static_cast(grpc_core::kExperimentIdPromiseBasedServerCall), + static_cast( + grpc_core::kExperimentIdRegisteredMethodLookupInTransport)}; +const char* const description_round_robin_delegate_to_pick_first = + "Change round_robin code to delegate to pick_first as per dualstack " + "backend design."; +const char* const additional_constraints_round_robin_delegate_to_pick_first = + "{}"; +const char* const description_rstpit = + "On RST_STREAM on a server, reduce MAX_CONCURRENT_STREAMS for a short " + "duration"; +const char* const additional_constraints_rstpit = "{}"; const char* const description_schedule_cancellation_over_write = "Allow cancellation op to be scheduled over a write"; const char* const additional_constraints_schedule_cancellation_over_write = "{}"; +const char* const description_server_privacy = "If set, server privacy"; +const char* const additional_constraints_server_privacy = "{}"; +const char* const description_tcp_frame_size_tuning = + "If set, enables TCP to use RPC size estimation made by higher layers. TCP " + "would not indicate completion of a read operation until a specified " + "number of bytes have been read over the socket. Buffers are also " + "allocated according to estimated RPC sizes."; +const char* const additional_constraints_tcp_frame_size_tuning = "{}"; +const char* const description_tcp_rcv_lowat = + "Use SO_RCVLOWAT to avoid wakeups on the read path."; +const char* const additional_constraints_tcp_rcv_lowat = "{}"; const char* const description_trace_record_callops = "Enables tracing of call batch initiation and completion."; const char* const additional_constraints_trace_record_callops = "{}"; -const char* const description_event_engine_dns = - "If set, use EventEngine DNSResolver for client channel resolution"; -const char* const additional_constraints_event_engine_dns = "{}"; -const char* const description_work_stealing = - "If set, use a work stealing thread pool implementation in EventEngine"; -const char* const additional_constraints_work_stealing = "{}"; -const char* const description_client_privacy = "If set, client privacy"; -const char* const additional_constraints_client_privacy = "{}"; -const char* const description_canary_client_privacy = - "If set, canary client privacy"; -const char* const additional_constraints_canary_client_privacy = "{}"; -const char* const description_server_privacy = "If set, server privacy"; -const char* const additional_constraints_server_privacy = "{}"; -const char* const description_keepalive_fix = - "Allows overriding keepalive_permit_without_calls. Refer " - "https://github.com/grpc/grpc/pull/33428 for more information."; -const char* const additional_constraints_keepalive_fix = "{}"; -const char* const description_keepalive_server_fix = - "Allows overriding keepalive_permit_without_calls for servers. Refer " - "https://github.com/grpc/grpc/pull/33917 for more information."; -const char* const additional_constraints_keepalive_server_fix = "{}"; +const char* const description_unconstrained_max_quota_buffer_size = + "Discard the cap on the max free pool size for one memory allocator"; +const char* const additional_constraints_unconstrained_max_quota_buffer_size = + "{}"; +const char* const description_v3_backend_metric_filter = + "Use the backend metric filter utilizing the v3 filter api"; +const char* const additional_constraints_v3_backend_metric_filter = "{}"; +const char* const description_v3_channel_idle_filters = + "Use the v3 filter API version of the idle filters."; +const char* const additional_constraints_v3_channel_idle_filters = "{}"; +const char* const description_v3_compression_filter = + "Use the compression filter utilizing the v3 filter api"; +const char* const additional_constraints_v3_compression_filter = "{}"; +const char* const description_v3_server_auth_filter = + "Use the server auth filter utilizing the v3 filter api"; +const char* const additional_constraints_v3_server_auth_filter = "{}"; +const char* const description_work_serializer_clears_time_cache = + "Have the work serializer clear the time cache when it dispatches work."; +const char* const additional_constraints_work_serializer_clears_time_cache = + "{}"; const char* const description_work_serializer_dispatch = "Have the work serializer dispatch work to event engine for every " "callback, instead of running things inline in the first thread that " "successfully enqueues work."; const char* const additional_constraints_work_serializer_dispatch = "{}"; -const char* const description_lazier_stream_updates = - "Allow streams to consume up to 50% of the incoming window before we force " - "send a flow control update."; -const char* const additional_constraints_lazier_stream_updates = "{}"; -const char* const description_jitter_max_idle = - "Enable jitter on connection max idle times. Historically this jitter was " - "only on max connection age, but it seems like this could smooth out some " - "herding problems."; -const char* const additional_constraints_jitter_max_idle = "{}"; -const char* const description_round_robin_delegate_to_pick_first = - "Change round_robin code to delegate to pick_first as per dualstack " - "backend design."; -const char* const additional_constraints_round_robin_delegate_to_pick_first = - "{}"; +const uint8_t required_experiments_work_serializer_dispatch[] = { + static_cast(grpc_core::kExperimentIdEventEngineClient)}; const char* const description_wrr_delegate_to_pick_first = "Change WRR code to delegate to pick_first as per dualstack backend " "design."; const char* const additional_constraints_wrr_delegate_to_pick_first = "{}"; -const char* const description_combiner_offload_to_event_engine = - "Offload Combiner work onto the EventEngine instead of the Executor."; -const char* const additional_constraints_combiner_offload_to_event_engine = - "{}"; -const char* const description_registered_method_lookup_in_transport = - "Change registered method's lookup point to transport"; -const char* const additional_constraints_registered_method_lookup_in_transport = - "{}"; +#ifdef NDEBUG +const bool kDefaultForDebugOnly = false; +#else +const bool kDefaultForDebugOnly = true; +#endif } // namespace namespace grpc_core { const ExperimentMetadata g_experiment_metadata[] = { - {"tcp_frame_size_tuning", description_tcp_frame_size_tuning, - additional_constraints_tcp_frame_size_tuning, false, true}, - {"tcp_rcv_lowat", description_tcp_rcv_lowat, - additional_constraints_tcp_rcv_lowat, false, true}, - {"peer_state_based_framing", description_peer_state_based_framing, - additional_constraints_peer_state_based_framing, false, true}, - {"memory_pressure_controller", description_memory_pressure_controller, - additional_constraints_memory_pressure_controller, false, true}, - {"unconstrained_max_quota_buffer_size", - description_unconstrained_max_quota_buffer_size, - additional_constraints_unconstrained_max_quota_buffer_size, false, true}, + {"absl_base64", description_absl_base64, additional_constraints_absl_base64, + nullptr, 0, true, true}, + {"call_status_override_on_cancellation", + description_call_status_override_on_cancellation, + additional_constraints_call_status_override_on_cancellation, nullptr, 0, + kDefaultForDebugOnly, true}, + {"call_v3", description_call_v3, additional_constraints_call_v3, nullptr, 0, + false, true}, + {"canary_client_privacy", description_canary_client_privacy, + additional_constraints_canary_client_privacy, nullptr, 0, false, false}, + {"client_idleness", description_client_idleness, + additional_constraints_client_idleness, nullptr, 0, true, true}, + {"client_privacy", description_client_privacy, + additional_constraints_client_privacy, nullptr, 0, false, false}, {"event_engine_client", description_event_engine_client, - additional_constraints_event_engine_client, false, true}, + additional_constraints_event_engine_client, nullptr, 0, false, true}, + {"event_engine_dns", description_event_engine_dns, + additional_constraints_event_engine_dns, nullptr, 0, false, false}, + {"event_engine_listener", description_event_engine_listener, + additional_constraints_event_engine_listener, nullptr, 0, false, true}, + {"free_large_allocator", description_free_large_allocator, + additional_constraints_free_large_allocator, nullptr, 0, false, true}, + {"http2_stats_fix", description_http2_stats_fix, + additional_constraints_http2_stats_fix, nullptr, 0, true, true}, + {"keepalive_fix", description_keepalive_fix, + additional_constraints_keepalive_fix, nullptr, 0, false, false}, + {"keepalive_server_fix", description_keepalive_server_fix, + additional_constraints_keepalive_server_fix, nullptr, 0, false, false}, {"monitoring_experiment", description_monitoring_experiment, - additional_constraints_monitoring_experiment, true, true}, + additional_constraints_monitoring_experiment, nullptr, 0, true, true}, + {"multiping", description_multiping, additional_constraints_multiping, + nullptr, 0, false, true}, + {"peer_state_based_framing", description_peer_state_based_framing, + additional_constraints_peer_state_based_framing, nullptr, 0, false, true}, + {"pending_queue_cap", description_pending_queue_cap, + additional_constraints_pending_queue_cap, nullptr, 0, true, true}, + {"pick_first_happy_eyeballs", description_pick_first_happy_eyeballs, + additional_constraints_pick_first_happy_eyeballs, nullptr, 0, true, true}, {"promise_based_client_call", description_promise_based_client_call, - additional_constraints_promise_based_client_call, false, true}, - {"free_large_allocator", description_free_large_allocator, - additional_constraints_free_large_allocator, false, true}, + additional_constraints_promise_based_client_call, + required_experiments_promise_based_client_call, 2, false, true}, {"promise_based_server_call", description_promise_based_server_call, - additional_constraints_promise_based_server_call, false, true}, - {"event_engine_listener", description_event_engine_listener, - additional_constraints_event_engine_listener, false, true}, + additional_constraints_promise_based_server_call, nullptr, 0, false, true}, + {"chaotic_good", description_chaotic_good, + additional_constraints_chaotic_good, required_experiments_chaotic_good, 2, + false, true}, + {"registered_method_lookup_in_transport", + description_registered_method_lookup_in_transport, + additional_constraints_registered_method_lookup_in_transport, nullptr, 0, + true, true}, + {"promise_based_inproc_transport", + description_promise_based_inproc_transport, + additional_constraints_promise_based_inproc_transport, + required_experiments_promise_based_inproc_transport, 3, false, false}, + {"round_robin_delegate_to_pick_first", + description_round_robin_delegate_to_pick_first, + additional_constraints_round_robin_delegate_to_pick_first, nullptr, 0, + true, true}, + {"rstpit", description_rstpit, additional_constraints_rstpit, nullptr, 0, + false, true}, {"schedule_cancellation_over_write", description_schedule_cancellation_over_write, - additional_constraints_schedule_cancellation_over_write, false, true}, - {"trace_record_callops", description_trace_record_callops, - additional_constraints_trace_record_callops, false, true}, - {"event_engine_dns", description_event_engine_dns, - additional_constraints_event_engine_dns, false, false}, - {"work_stealing", description_work_stealing, - additional_constraints_work_stealing, true, false}, - {"client_privacy", description_client_privacy, - additional_constraints_client_privacy, false, false}, - {"canary_client_privacy", description_canary_client_privacy, - additional_constraints_canary_client_privacy, false, false}, + additional_constraints_schedule_cancellation_over_write, nullptr, 0, false, + true}, {"server_privacy", description_server_privacy, - additional_constraints_server_privacy, false, false}, - {"keepalive_fix", description_keepalive_fix, - additional_constraints_keepalive_fix, false, false}, - {"keepalive_server_fix", description_keepalive_server_fix, - additional_constraints_keepalive_server_fix, false, false}, + additional_constraints_server_privacy, nullptr, 0, false, false}, + {"tcp_frame_size_tuning", description_tcp_frame_size_tuning, + additional_constraints_tcp_frame_size_tuning, nullptr, 0, false, true}, + {"tcp_rcv_lowat", description_tcp_rcv_lowat, + additional_constraints_tcp_rcv_lowat, nullptr, 0, false, true}, + {"trace_record_callops", description_trace_record_callops, + additional_constraints_trace_record_callops, nullptr, 0, false, true}, + {"unconstrained_max_quota_buffer_size", + description_unconstrained_max_quota_buffer_size, + additional_constraints_unconstrained_max_quota_buffer_size, nullptr, 0, + false, true}, + {"v3_backend_metric_filter", description_v3_backend_metric_filter, + additional_constraints_v3_backend_metric_filter, nullptr, 0, false, true}, + {"v3_channel_idle_filters", description_v3_channel_idle_filters, + additional_constraints_v3_channel_idle_filters, nullptr, 0, false, true}, + {"v3_compression_filter", description_v3_compression_filter, + additional_constraints_v3_compression_filter, nullptr, 0, false, true}, + {"v3_server_auth_filter", description_v3_server_auth_filter, + additional_constraints_v3_server_auth_filter, nullptr, 0, false, true}, + {"work_serializer_clears_time_cache", + description_work_serializer_clears_time_cache, + additional_constraints_work_serializer_clears_time_cache, nullptr, 0, true, + true}, {"work_serializer_dispatch", description_work_serializer_dispatch, - additional_constraints_work_serializer_dispatch, false, true}, - {"lazier_stream_updates", description_lazier_stream_updates, - additional_constraints_lazier_stream_updates, true, true}, - {"jitter_max_idle", description_jitter_max_idle, - additional_constraints_jitter_max_idle, true, true}, - {"round_robin_delegate_to_pick_first", - description_round_robin_delegate_to_pick_first, - additional_constraints_round_robin_delegate_to_pick_first, true, true}, + additional_constraints_work_serializer_dispatch, + required_experiments_work_serializer_dispatch, 1, false, true}, {"wrr_delegate_to_pick_first", description_wrr_delegate_to_pick_first, - additional_constraints_wrr_delegate_to_pick_first, true, true}, - {"combiner_offload_to_event_engine", - description_combiner_offload_to_event_engine, - additional_constraints_combiner_offload_to_event_engine, true, true}, - {"registered_method_lookup_in_transport", - description_registered_method_lookup_in_transport, - additional_constraints_registered_method_lookup_in_transport, true, true}, + additional_constraints_wrr_delegate_to_pick_first, nullptr, 0, true, true}, }; } // namespace grpc_core #elif defined(GPR_WINDOWS) namespace { -const char* const description_tcp_frame_size_tuning = - "If set, enables TCP to use RPC size estimation made by higher layers. TCP " - "would not indicate completion of a read operation until a specified " - "number of bytes have been read over the socket. Buffers are also " - "allocated according to estimated RPC sizes."; -const char* const additional_constraints_tcp_frame_size_tuning = "{}"; -const char* const description_tcp_rcv_lowat = - "Use SO_RCVLOWAT to avoid wakeups on the read path."; -const char* const additional_constraints_tcp_rcv_lowat = "{}"; -const char* const description_peer_state_based_framing = - "If set, the max sizes of frames sent to lower layers is controlled based " - "on the peer's memory pressure which is reflected in its max http2 frame " - "size."; -const char* const additional_constraints_peer_state_based_framing = "{}"; -const char* const description_memory_pressure_controller = - "New memory pressure controller"; -const char* const additional_constraints_memory_pressure_controller = "{}"; -const char* const description_unconstrained_max_quota_buffer_size = - "Discard the cap on the max free pool size for one memory allocator"; -const char* const additional_constraints_unconstrained_max_quota_buffer_size = +const char* const description_absl_base64 = "Use abseil base64 functions."; +const char* const additional_constraints_absl_base64 = "{}"; +const char* const description_call_status_override_on_cancellation = + "Avoid overriding call status of successfully finished calls if it races " + "with cancellation."; +const char* const additional_constraints_call_status_override_on_cancellation = "{}"; +const char* const description_call_v3 = "Promise-based call version 3."; +const char* const additional_constraints_call_v3 = "{}"; +const char* const description_canary_client_privacy = + "If set, canary client privacy"; +const char* const additional_constraints_canary_client_privacy = "{}"; +const char* const description_client_idleness = + "If enabled, client channel idleness is enabled by default."; +const char* const additional_constraints_client_idleness = "{}"; +const char* const description_client_privacy = "If set, client privacy"; +const char* const additional_constraints_client_privacy = "{}"; const char* const description_event_engine_client = "Use EventEngine clients instead of iomgr's grpc_tcp_client"; const char* const additional_constraints_event_engine_client = "{}"; +const char* const description_event_engine_dns = + "If set, use EventEngine DNSResolver for client channel resolution"; +const char* const additional_constraints_event_engine_dns = "{}"; +const char* const description_event_engine_listener = + "Use EventEngine listeners instead of iomgr's grpc_tcp_server"; +const char* const additional_constraints_event_engine_listener = "{}"; +const char* const description_free_large_allocator = + "If set, return all free bytes from a \042big\042 allocator"; +const char* const additional_constraints_free_large_allocator = "{}"; +const char* const description_http2_stats_fix = + "Fix on HTTP2 outgoing data stats reporting"; +const char* const additional_constraints_http2_stats_fix = "{}"; +const char* const description_keepalive_fix = + "Allows overriding keepalive_permit_without_calls. Refer " + "https://github.com/grpc/grpc/pull/33428 for more information."; +const char* const additional_constraints_keepalive_fix = "{}"; +const char* const description_keepalive_server_fix = + "Allows overriding keepalive_permit_without_calls for servers. Refer " + "https://github.com/grpc/grpc/pull/33917 for more information."; +const char* const additional_constraints_keepalive_server_fix = "{}"; const char* const description_monitoring_experiment = "Placeholder experiment to prove/disprove our monitoring is working"; const char* const additional_constraints_monitoring_experiment = "{}"; +const char* const description_multiping = + "Allow more than one ping to be in flight at a time by default."; +const char* const additional_constraints_multiping = "{}"; +const char* const description_peer_state_based_framing = + "If set, the max sizes of frames sent to lower layers is controlled based " + "on the peer's memory pressure which is reflected in its max http2 frame " + "size."; +const char* const additional_constraints_peer_state_based_framing = "{}"; +const char* const description_pending_queue_cap = + "In the sync & async apis (but not the callback api), cap the number of " + "received but unrequested requests in the server for each call type. A " + "received message is one that was read from the wire on the server. A " + "requested message is one explicitly requested by the application using " + "grpc_server_request_call or grpc_server_request_registered_call (or their " + "wrappers in the C++ API)."; +const char* const additional_constraints_pending_queue_cap = "{}"; +const char* const description_pick_first_happy_eyeballs = + "Use Happy Eyeballs in pick_first."; +const char* const additional_constraints_pick_first_happy_eyeballs = "{}"; const char* const description_promise_based_client_call = "If set, use the new gRPC promise based call code when it's appropriate " "(ie when all filters in a stack are promise based)"; const char* const additional_constraints_promise_based_client_call = "{}"; -const char* const description_free_large_allocator = - "If set, return all free bytes from a \042big\042 allocator"; -const char* const additional_constraints_free_large_allocator = "{}"; +const uint8_t required_experiments_promise_based_client_call[] = { + static_cast(grpc_core::kExperimentIdEventEngineClient), + static_cast(grpc_core::kExperimentIdEventEngineListener)}; const char* const description_promise_based_server_call = "If set, use the new gRPC promise based call code when it's appropriate " "(ie when all filters in a stack are promise based)"; const char* const additional_constraints_promise_based_server_call = "{}"; -const char* const description_event_engine_listener = - "Use EventEngine listeners instead of iomgr's grpc_tcp_server"; -const char* const additional_constraints_event_engine_listener = "{}"; +const char* const description_chaotic_good = + "If set, enable the chaotic good load transport (this is mostly here for " + "testing)"; +const char* const additional_constraints_chaotic_good = "{}"; +const uint8_t required_experiments_chaotic_good[] = { + static_cast(grpc_core::kExperimentIdPromiseBasedClientCall), + static_cast(grpc_core::kExperimentIdPromiseBasedServerCall)}; +const char* const description_registered_method_lookup_in_transport = + "Change registered method's lookup point to transport"; +const char* const additional_constraints_registered_method_lookup_in_transport = + "{}"; +const char* const description_promise_based_inproc_transport = + "Use promises for the in-process transport."; +const char* const additional_constraints_promise_based_inproc_transport = "{}"; +const uint8_t required_experiments_promise_based_inproc_transport[] = { + static_cast(grpc_core::kExperimentIdPromiseBasedClientCall), + static_cast(grpc_core::kExperimentIdPromiseBasedServerCall), + static_cast( + grpc_core::kExperimentIdRegisteredMethodLookupInTransport)}; +const char* const description_round_robin_delegate_to_pick_first = + "Change round_robin code to delegate to pick_first as per dualstack " + "backend design."; +const char* const additional_constraints_round_robin_delegate_to_pick_first = + "{}"; +const char* const description_rstpit = + "On RST_STREAM on a server, reduce MAX_CONCURRENT_STREAMS for a short " + "duration"; +const char* const additional_constraints_rstpit = "{}"; const char* const description_schedule_cancellation_over_write = "Allow cancellation op to be scheduled over a write"; const char* const additional_constraints_schedule_cancellation_over_write = "{}"; +const char* const description_server_privacy = "If set, server privacy"; +const char* const additional_constraints_server_privacy = "{}"; +const char* const description_tcp_frame_size_tuning = + "If set, enables TCP to use RPC size estimation made by higher layers. TCP " + "would not indicate completion of a read operation until a specified " + "number of bytes have been read over the socket. Buffers are also " + "allocated according to estimated RPC sizes."; +const char* const additional_constraints_tcp_frame_size_tuning = "{}"; +const char* const description_tcp_rcv_lowat = + "Use SO_RCVLOWAT to avoid wakeups on the read path."; +const char* const additional_constraints_tcp_rcv_lowat = "{}"; const char* const description_trace_record_callops = "Enables tracing of call batch initiation and completion."; const char* const additional_constraints_trace_record_callops = "{}"; -const char* const description_event_engine_dns = - "If set, use EventEngine DNSResolver for client channel resolution"; -const char* const additional_constraints_event_engine_dns = "{}"; -const char* const description_work_stealing = - "If set, use a work stealing thread pool implementation in EventEngine"; -const char* const additional_constraints_work_stealing = "{}"; -const char* const description_client_privacy = "If set, client privacy"; -const char* const additional_constraints_client_privacy = "{}"; -const char* const description_canary_client_privacy = - "If set, canary client privacy"; -const char* const additional_constraints_canary_client_privacy = "{}"; -const char* const description_server_privacy = "If set, server privacy"; -const char* const additional_constraints_server_privacy = "{}"; -const char* const description_keepalive_fix = - "Allows overriding keepalive_permit_without_calls. Refer " - "https://github.com/grpc/grpc/pull/33428 for more information."; -const char* const additional_constraints_keepalive_fix = "{}"; -const char* const description_keepalive_server_fix = - "Allows overriding keepalive_permit_without_calls for servers. Refer " - "https://github.com/grpc/grpc/pull/33917 for more information."; -const char* const additional_constraints_keepalive_server_fix = "{}"; +const char* const description_unconstrained_max_quota_buffer_size = + "Discard the cap on the max free pool size for one memory allocator"; +const char* const additional_constraints_unconstrained_max_quota_buffer_size = + "{}"; +const char* const description_v3_backend_metric_filter = + "Use the backend metric filter utilizing the v3 filter api"; +const char* const additional_constraints_v3_backend_metric_filter = "{}"; +const char* const description_v3_channel_idle_filters = + "Use the v3 filter API version of the idle filters."; +const char* const additional_constraints_v3_channel_idle_filters = "{}"; +const char* const description_v3_compression_filter = + "Use the compression filter utilizing the v3 filter api"; +const char* const additional_constraints_v3_compression_filter = "{}"; +const char* const description_v3_server_auth_filter = + "Use the server auth filter utilizing the v3 filter api"; +const char* const additional_constraints_v3_server_auth_filter = "{}"; +const char* const description_work_serializer_clears_time_cache = + "Have the work serializer clear the time cache when it dispatches work."; +const char* const additional_constraints_work_serializer_clears_time_cache = + "{}"; const char* const description_work_serializer_dispatch = "Have the work serializer dispatch work to event engine for every " "callback, instead of running things inline in the first thread that " "successfully enqueues work."; const char* const additional_constraints_work_serializer_dispatch = "{}"; -const char* const description_lazier_stream_updates = - "Allow streams to consume up to 50% of the incoming window before we force " - "send a flow control update."; -const char* const additional_constraints_lazier_stream_updates = "{}"; -const char* const description_jitter_max_idle = - "Enable jitter on connection max idle times. Historically this jitter was " - "only on max connection age, but it seems like this could smooth out some " - "herding problems."; -const char* const additional_constraints_jitter_max_idle = "{}"; -const char* const description_round_robin_delegate_to_pick_first = - "Change round_robin code to delegate to pick_first as per dualstack " - "backend design."; -const char* const additional_constraints_round_robin_delegate_to_pick_first = - "{}"; +const uint8_t required_experiments_work_serializer_dispatch[] = { + static_cast(grpc_core::kExperimentIdEventEngineClient)}; const char* const description_wrr_delegate_to_pick_first = "Change WRR code to delegate to pick_first as per dualstack backend " "design."; const char* const additional_constraints_wrr_delegate_to_pick_first = "{}"; -const char* const description_combiner_offload_to_event_engine = - "Offload Combiner work onto the EventEngine instead of the Executor."; -const char* const additional_constraints_combiner_offload_to_event_engine = - "{}"; -const char* const description_registered_method_lookup_in_transport = - "Change registered method's lookup point to transport"; -const char* const additional_constraints_registered_method_lookup_in_transport = - "{}"; +#ifdef NDEBUG +const bool kDefaultForDebugOnly = false; +#else +const bool kDefaultForDebugOnly = true; +#endif } // namespace namespace grpc_core { const ExperimentMetadata g_experiment_metadata[] = { - {"tcp_frame_size_tuning", description_tcp_frame_size_tuning, - additional_constraints_tcp_frame_size_tuning, false, true}, - {"tcp_rcv_lowat", description_tcp_rcv_lowat, - additional_constraints_tcp_rcv_lowat, false, true}, - {"peer_state_based_framing", description_peer_state_based_framing, - additional_constraints_peer_state_based_framing, false, true}, - {"memory_pressure_controller", description_memory_pressure_controller, - additional_constraints_memory_pressure_controller, false, true}, - {"unconstrained_max_quota_buffer_size", - description_unconstrained_max_quota_buffer_size, - additional_constraints_unconstrained_max_quota_buffer_size, false, true}, + {"absl_base64", description_absl_base64, additional_constraints_absl_base64, + nullptr, 0, true, true}, + {"call_status_override_on_cancellation", + description_call_status_override_on_cancellation, + additional_constraints_call_status_override_on_cancellation, nullptr, 0, + kDefaultForDebugOnly, true}, + {"call_v3", description_call_v3, additional_constraints_call_v3, nullptr, 0, + false, true}, + {"canary_client_privacy", description_canary_client_privacy, + additional_constraints_canary_client_privacy, nullptr, 0, false, false}, + {"client_idleness", description_client_idleness, + additional_constraints_client_idleness, nullptr, 0, true, true}, + {"client_privacy", description_client_privacy, + additional_constraints_client_privacy, nullptr, 0, false, false}, {"event_engine_client", description_event_engine_client, - additional_constraints_event_engine_client, false, true}, + additional_constraints_event_engine_client, nullptr, 0, false, true}, + {"event_engine_dns", description_event_engine_dns, + additional_constraints_event_engine_dns, nullptr, 0, false, false}, + {"event_engine_listener", description_event_engine_listener, + additional_constraints_event_engine_listener, nullptr, 0, true, true}, + {"free_large_allocator", description_free_large_allocator, + additional_constraints_free_large_allocator, nullptr, 0, false, true}, + {"http2_stats_fix", description_http2_stats_fix, + additional_constraints_http2_stats_fix, nullptr, 0, true, true}, + {"keepalive_fix", description_keepalive_fix, + additional_constraints_keepalive_fix, nullptr, 0, false, false}, + {"keepalive_server_fix", description_keepalive_server_fix, + additional_constraints_keepalive_server_fix, nullptr, 0, false, false}, {"monitoring_experiment", description_monitoring_experiment, - additional_constraints_monitoring_experiment, true, true}, + additional_constraints_monitoring_experiment, nullptr, 0, true, true}, + {"multiping", description_multiping, additional_constraints_multiping, + nullptr, 0, false, true}, + {"peer_state_based_framing", description_peer_state_based_framing, + additional_constraints_peer_state_based_framing, nullptr, 0, false, true}, + {"pending_queue_cap", description_pending_queue_cap, + additional_constraints_pending_queue_cap, nullptr, 0, true, true}, + {"pick_first_happy_eyeballs", description_pick_first_happy_eyeballs, + additional_constraints_pick_first_happy_eyeballs, nullptr, 0, true, true}, {"promise_based_client_call", description_promise_based_client_call, - additional_constraints_promise_based_client_call, false, true}, - {"free_large_allocator", description_free_large_allocator, - additional_constraints_free_large_allocator, false, true}, + additional_constraints_promise_based_client_call, + required_experiments_promise_based_client_call, 2, false, true}, {"promise_based_server_call", description_promise_based_server_call, - additional_constraints_promise_based_server_call, false, true}, - {"event_engine_listener", description_event_engine_listener, - additional_constraints_event_engine_listener, false, true}, + additional_constraints_promise_based_server_call, nullptr, 0, false, true}, + {"chaotic_good", description_chaotic_good, + additional_constraints_chaotic_good, required_experiments_chaotic_good, 2, + false, true}, + {"registered_method_lookup_in_transport", + description_registered_method_lookup_in_transport, + additional_constraints_registered_method_lookup_in_transport, nullptr, 0, + true, true}, + {"promise_based_inproc_transport", + description_promise_based_inproc_transport, + additional_constraints_promise_based_inproc_transport, + required_experiments_promise_based_inproc_transport, 3, false, false}, + {"round_robin_delegate_to_pick_first", + description_round_robin_delegate_to_pick_first, + additional_constraints_round_robin_delegate_to_pick_first, nullptr, 0, + true, true}, + {"rstpit", description_rstpit, additional_constraints_rstpit, nullptr, 0, + false, true}, {"schedule_cancellation_over_write", description_schedule_cancellation_over_write, - additional_constraints_schedule_cancellation_over_write, false, true}, - {"trace_record_callops", description_trace_record_callops, - additional_constraints_trace_record_callops, false, true}, - {"event_engine_dns", description_event_engine_dns, - additional_constraints_event_engine_dns, false, false}, - {"work_stealing", description_work_stealing, - additional_constraints_work_stealing, true, false}, - {"client_privacy", description_client_privacy, - additional_constraints_client_privacy, false, false}, - {"canary_client_privacy", description_canary_client_privacy, - additional_constraints_canary_client_privacy, false, false}, + additional_constraints_schedule_cancellation_over_write, nullptr, 0, false, + true}, {"server_privacy", description_server_privacy, - additional_constraints_server_privacy, false, false}, - {"keepalive_fix", description_keepalive_fix, - additional_constraints_keepalive_fix, false, false}, - {"keepalive_server_fix", description_keepalive_server_fix, - additional_constraints_keepalive_server_fix, false, false}, + additional_constraints_server_privacy, nullptr, 0, false, false}, + {"tcp_frame_size_tuning", description_tcp_frame_size_tuning, + additional_constraints_tcp_frame_size_tuning, nullptr, 0, false, true}, + {"tcp_rcv_lowat", description_tcp_rcv_lowat, + additional_constraints_tcp_rcv_lowat, nullptr, 0, false, true}, + {"trace_record_callops", description_trace_record_callops, + additional_constraints_trace_record_callops, nullptr, 0, false, true}, + {"unconstrained_max_quota_buffer_size", + description_unconstrained_max_quota_buffer_size, + additional_constraints_unconstrained_max_quota_buffer_size, nullptr, 0, + false, true}, + {"v3_backend_metric_filter", description_v3_backend_metric_filter, + additional_constraints_v3_backend_metric_filter, nullptr, 0, false, true}, + {"v3_channel_idle_filters", description_v3_channel_idle_filters, + additional_constraints_v3_channel_idle_filters, nullptr, 0, false, true}, + {"v3_compression_filter", description_v3_compression_filter, + additional_constraints_v3_compression_filter, nullptr, 0, false, true}, + {"v3_server_auth_filter", description_v3_server_auth_filter, + additional_constraints_v3_server_auth_filter, nullptr, 0, false, true}, + {"work_serializer_clears_time_cache", + description_work_serializer_clears_time_cache, + additional_constraints_work_serializer_clears_time_cache, nullptr, 0, true, + true}, {"work_serializer_dispatch", description_work_serializer_dispatch, - additional_constraints_work_serializer_dispatch, false, true}, - {"lazier_stream_updates", description_lazier_stream_updates, - additional_constraints_lazier_stream_updates, true, true}, - {"jitter_max_idle", description_jitter_max_idle, - additional_constraints_jitter_max_idle, true, true}, - {"round_robin_delegate_to_pick_first", - description_round_robin_delegate_to_pick_first, - additional_constraints_round_robin_delegate_to_pick_first, true, true}, + additional_constraints_work_serializer_dispatch, + required_experiments_work_serializer_dispatch, 1, false, true}, {"wrr_delegate_to_pick_first", description_wrr_delegate_to_pick_first, - additional_constraints_wrr_delegate_to_pick_first, true, true}, - {"combiner_offload_to_event_engine", - description_combiner_offload_to_event_engine, - additional_constraints_combiner_offload_to_event_engine, true, true}, - {"registered_method_lookup_in_transport", - description_registered_method_lookup_in_transport, - additional_constraints_registered_method_lookup_in_transport, true, true}, + additional_constraints_wrr_delegate_to_pick_first, nullptr, 0, true, true}, }; } // namespace grpc_core #else namespace { -const char* const description_tcp_frame_size_tuning = - "If set, enables TCP to use RPC size estimation made by higher layers. TCP " - "would not indicate completion of a read operation until a specified " - "number of bytes have been read over the socket. Buffers are also " - "allocated according to estimated RPC sizes."; -const char* const additional_constraints_tcp_frame_size_tuning = "{}"; -const char* const description_tcp_rcv_lowat = - "Use SO_RCVLOWAT to avoid wakeups on the read path."; -const char* const additional_constraints_tcp_rcv_lowat = "{}"; -const char* const description_peer_state_based_framing = - "If set, the max sizes of frames sent to lower layers is controlled based " - "on the peer's memory pressure which is reflected in its max http2 frame " - "size."; -const char* const additional_constraints_peer_state_based_framing = "{}"; -const char* const description_memory_pressure_controller = - "New memory pressure controller"; -const char* const additional_constraints_memory_pressure_controller = "{}"; -const char* const description_unconstrained_max_quota_buffer_size = - "Discard the cap on the max free pool size for one memory allocator"; -const char* const additional_constraints_unconstrained_max_quota_buffer_size = +const char* const description_absl_base64 = "Use abseil base64 functions."; +const char* const additional_constraints_absl_base64 = "{}"; +const char* const description_call_status_override_on_cancellation = + "Avoid overriding call status of successfully finished calls if it races " + "with cancellation."; +const char* const additional_constraints_call_status_override_on_cancellation = "{}"; +const char* const description_call_v3 = "Promise-based call version 3."; +const char* const additional_constraints_call_v3 = "{}"; +const char* const description_canary_client_privacy = + "If set, canary client privacy"; +const char* const additional_constraints_canary_client_privacy = "{}"; +const char* const description_client_idleness = + "If enabled, client channel idleness is enabled by default."; +const char* const additional_constraints_client_idleness = "{}"; +const char* const description_client_privacy = "If set, client privacy"; +const char* const additional_constraints_client_privacy = "{}"; const char* const description_event_engine_client = "Use EventEngine clients instead of iomgr's grpc_tcp_client"; const char* const additional_constraints_event_engine_client = "{}"; +const char* const description_event_engine_dns = + "If set, use EventEngine DNSResolver for client channel resolution"; +const char* const additional_constraints_event_engine_dns = "{}"; +const char* const description_event_engine_listener = + "Use EventEngine listeners instead of iomgr's grpc_tcp_server"; +const char* const additional_constraints_event_engine_listener = "{}"; +const char* const description_free_large_allocator = + "If set, return all free bytes from a \042big\042 allocator"; +const char* const additional_constraints_free_large_allocator = "{}"; +const char* const description_http2_stats_fix = + "Fix on HTTP2 outgoing data stats reporting"; +const char* const additional_constraints_http2_stats_fix = "{}"; +const char* const description_keepalive_fix = + "Allows overriding keepalive_permit_without_calls. Refer " + "https://github.com/grpc/grpc/pull/33428 for more information."; +const char* const additional_constraints_keepalive_fix = "{}"; +const char* const description_keepalive_server_fix = + "Allows overriding keepalive_permit_without_calls for servers. Refer " + "https://github.com/grpc/grpc/pull/33917 for more information."; +const char* const additional_constraints_keepalive_server_fix = "{}"; const char* const description_monitoring_experiment = "Placeholder experiment to prove/disprove our monitoring is working"; const char* const additional_constraints_monitoring_experiment = "{}"; +const char* const description_multiping = + "Allow more than one ping to be in flight at a time by default."; +const char* const additional_constraints_multiping = "{}"; +const char* const description_peer_state_based_framing = + "If set, the max sizes of frames sent to lower layers is controlled based " + "on the peer's memory pressure which is reflected in its max http2 frame " + "size."; +const char* const additional_constraints_peer_state_based_framing = "{}"; +const char* const description_pending_queue_cap = + "In the sync & async apis (but not the callback api), cap the number of " + "received but unrequested requests in the server for each call type. A " + "received message is one that was read from the wire on the server. A " + "requested message is one explicitly requested by the application using " + "grpc_server_request_call or grpc_server_request_registered_call (or their " + "wrappers in the C++ API)."; +const char* const additional_constraints_pending_queue_cap = "{}"; +const char* const description_pick_first_happy_eyeballs = + "Use Happy Eyeballs in pick_first."; +const char* const additional_constraints_pick_first_happy_eyeballs = "{}"; const char* const description_promise_based_client_call = "If set, use the new gRPC promise based call code when it's appropriate " "(ie when all filters in a stack are promise based)"; const char* const additional_constraints_promise_based_client_call = "{}"; -const char* const description_free_large_allocator = - "If set, return all free bytes from a \042big\042 allocator"; -const char* const additional_constraints_free_large_allocator = "{}"; +const uint8_t required_experiments_promise_based_client_call[] = { + static_cast(grpc_core::kExperimentIdEventEngineClient), + static_cast(grpc_core::kExperimentIdEventEngineListener)}; const char* const description_promise_based_server_call = "If set, use the new gRPC promise based call code when it's appropriate " "(ie when all filters in a stack are promise based)"; const char* const additional_constraints_promise_based_server_call = "{}"; -const char* const description_event_engine_listener = - "Use EventEngine listeners instead of iomgr's grpc_tcp_server"; -const char* const additional_constraints_event_engine_listener = "{}"; +const char* const description_chaotic_good = + "If set, enable the chaotic good load transport (this is mostly here for " + "testing)"; +const char* const additional_constraints_chaotic_good = "{}"; +const uint8_t required_experiments_chaotic_good[] = { + static_cast(grpc_core::kExperimentIdPromiseBasedClientCall), + static_cast(grpc_core::kExperimentIdPromiseBasedServerCall)}; +const char* const description_registered_method_lookup_in_transport = + "Change registered method's lookup point to transport"; +const char* const additional_constraints_registered_method_lookup_in_transport = + "{}"; +const char* const description_promise_based_inproc_transport = + "Use promises for the in-process transport."; +const char* const additional_constraints_promise_based_inproc_transport = "{}"; +const uint8_t required_experiments_promise_based_inproc_transport[] = { + static_cast(grpc_core::kExperimentIdPromiseBasedClientCall), + static_cast(grpc_core::kExperimentIdPromiseBasedServerCall), + static_cast( + grpc_core::kExperimentIdRegisteredMethodLookupInTransport)}; +const char* const description_round_robin_delegate_to_pick_first = + "Change round_robin code to delegate to pick_first as per dualstack " + "backend design."; +const char* const additional_constraints_round_robin_delegate_to_pick_first = + "{}"; +const char* const description_rstpit = + "On RST_STREAM on a server, reduce MAX_CONCURRENT_STREAMS for a short " + "duration"; +const char* const additional_constraints_rstpit = "{}"; const char* const description_schedule_cancellation_over_write = "Allow cancellation op to be scheduled over a write"; const char* const additional_constraints_schedule_cancellation_over_write = "{}"; +const char* const description_server_privacy = "If set, server privacy"; +const char* const additional_constraints_server_privacy = "{}"; +const char* const description_tcp_frame_size_tuning = + "If set, enables TCP to use RPC size estimation made by higher layers. TCP " + "would not indicate completion of a read operation until a specified " + "number of bytes have been read over the socket. Buffers are also " + "allocated according to estimated RPC sizes."; +const char* const additional_constraints_tcp_frame_size_tuning = "{}"; +const char* const description_tcp_rcv_lowat = + "Use SO_RCVLOWAT to avoid wakeups on the read path."; +const char* const additional_constraints_tcp_rcv_lowat = "{}"; const char* const description_trace_record_callops = "Enables tracing of call batch initiation and completion."; const char* const additional_constraints_trace_record_callops = "{}"; -const char* const description_event_engine_dns = - "If set, use EventEngine DNSResolver for client channel resolution"; -const char* const additional_constraints_event_engine_dns = "{}"; -const char* const description_work_stealing = - "If set, use a work stealing thread pool implementation in EventEngine"; -const char* const additional_constraints_work_stealing = "{}"; -const char* const description_client_privacy = "If set, client privacy"; -const char* const additional_constraints_client_privacy = "{}"; -const char* const description_canary_client_privacy = - "If set, canary client privacy"; -const char* const additional_constraints_canary_client_privacy = "{}"; -const char* const description_server_privacy = "If set, server privacy"; -const char* const additional_constraints_server_privacy = "{}"; -const char* const description_keepalive_fix = - "Allows overriding keepalive_permit_without_calls. Refer " - "https://github.com/grpc/grpc/pull/33428 for more information."; -const char* const additional_constraints_keepalive_fix = "{}"; -const char* const description_keepalive_server_fix = - "Allows overriding keepalive_permit_without_calls for servers. Refer " - "https://github.com/grpc/grpc/pull/33917 for more information."; -const char* const additional_constraints_keepalive_server_fix = "{}"; +const char* const description_unconstrained_max_quota_buffer_size = + "Discard the cap on the max free pool size for one memory allocator"; +const char* const additional_constraints_unconstrained_max_quota_buffer_size = + "{}"; +const char* const description_v3_backend_metric_filter = + "Use the backend metric filter utilizing the v3 filter api"; +const char* const additional_constraints_v3_backend_metric_filter = "{}"; +const char* const description_v3_channel_idle_filters = + "Use the v3 filter API version of the idle filters."; +const char* const additional_constraints_v3_channel_idle_filters = "{}"; +const char* const description_v3_compression_filter = + "Use the compression filter utilizing the v3 filter api"; +const char* const additional_constraints_v3_compression_filter = "{}"; +const char* const description_v3_server_auth_filter = + "Use the server auth filter utilizing the v3 filter api"; +const char* const additional_constraints_v3_server_auth_filter = "{}"; +const char* const description_work_serializer_clears_time_cache = + "Have the work serializer clear the time cache when it dispatches work."; +const char* const additional_constraints_work_serializer_clears_time_cache = + "{}"; const char* const description_work_serializer_dispatch = "Have the work serializer dispatch work to event engine for every " "callback, instead of running things inline in the first thread that " "successfully enqueues work."; const char* const additional_constraints_work_serializer_dispatch = "{}"; -const char* const description_lazier_stream_updates = - "Allow streams to consume up to 50% of the incoming window before we force " - "send a flow control update."; -const char* const additional_constraints_lazier_stream_updates = "{}"; -const char* const description_jitter_max_idle = - "Enable jitter on connection max idle times. Historically this jitter was " - "only on max connection age, but it seems like this could smooth out some " - "herding problems."; -const char* const additional_constraints_jitter_max_idle = "{}"; -const char* const description_round_robin_delegate_to_pick_first = - "Change round_robin code to delegate to pick_first as per dualstack " - "backend design."; -const char* const additional_constraints_round_robin_delegate_to_pick_first = - "{}"; +const uint8_t required_experiments_work_serializer_dispatch[] = { + static_cast(grpc_core::kExperimentIdEventEngineClient)}; const char* const description_wrr_delegate_to_pick_first = "Change WRR code to delegate to pick_first as per dualstack backend " "design."; const char* const additional_constraints_wrr_delegate_to_pick_first = "{}"; -const char* const description_combiner_offload_to_event_engine = - "Offload Combiner work onto the EventEngine instead of the Executor."; -const char* const additional_constraints_combiner_offload_to_event_engine = - "{}"; -const char* const description_registered_method_lookup_in_transport = - "Change registered method's lookup point to transport"; -const char* const additional_constraints_registered_method_lookup_in_transport = - "{}"; +#ifdef NDEBUG +const bool kDefaultForDebugOnly = false; +#else +const bool kDefaultForDebugOnly = true; +#endif } // namespace namespace grpc_core { const ExperimentMetadata g_experiment_metadata[] = { - {"tcp_frame_size_tuning", description_tcp_frame_size_tuning, - additional_constraints_tcp_frame_size_tuning, false, true}, - {"tcp_rcv_lowat", description_tcp_rcv_lowat, - additional_constraints_tcp_rcv_lowat, false, true}, - {"peer_state_based_framing", description_peer_state_based_framing, - additional_constraints_peer_state_based_framing, false, true}, - {"memory_pressure_controller", description_memory_pressure_controller, - additional_constraints_memory_pressure_controller, false, true}, - {"unconstrained_max_quota_buffer_size", - description_unconstrained_max_quota_buffer_size, - additional_constraints_unconstrained_max_quota_buffer_size, false, true}, + {"absl_base64", description_absl_base64, additional_constraints_absl_base64, + nullptr, 0, true, true}, + {"call_status_override_on_cancellation", + description_call_status_override_on_cancellation, + additional_constraints_call_status_override_on_cancellation, nullptr, 0, + kDefaultForDebugOnly, true}, + {"call_v3", description_call_v3, additional_constraints_call_v3, nullptr, 0, + false, true}, + {"canary_client_privacy", description_canary_client_privacy, + additional_constraints_canary_client_privacy, nullptr, 0, false, false}, + {"client_idleness", description_client_idleness, + additional_constraints_client_idleness, nullptr, 0, true, true}, + {"client_privacy", description_client_privacy, + additional_constraints_client_privacy, nullptr, 0, false, false}, {"event_engine_client", description_event_engine_client, - additional_constraints_event_engine_client, false, true}, + additional_constraints_event_engine_client, nullptr, 0, false, true}, + {"event_engine_dns", description_event_engine_dns, + additional_constraints_event_engine_dns, nullptr, 0, true, false}, + {"event_engine_listener", description_event_engine_listener, + additional_constraints_event_engine_listener, nullptr, 0, true, true}, + {"free_large_allocator", description_free_large_allocator, + additional_constraints_free_large_allocator, nullptr, 0, false, true}, + {"http2_stats_fix", description_http2_stats_fix, + additional_constraints_http2_stats_fix, nullptr, 0, true, true}, + {"keepalive_fix", description_keepalive_fix, + additional_constraints_keepalive_fix, nullptr, 0, false, false}, + {"keepalive_server_fix", description_keepalive_server_fix, + additional_constraints_keepalive_server_fix, nullptr, 0, false, false}, {"monitoring_experiment", description_monitoring_experiment, - additional_constraints_monitoring_experiment, true, true}, + additional_constraints_monitoring_experiment, nullptr, 0, true, true}, + {"multiping", description_multiping, additional_constraints_multiping, + nullptr, 0, false, true}, + {"peer_state_based_framing", description_peer_state_based_framing, + additional_constraints_peer_state_based_framing, nullptr, 0, false, true}, + {"pending_queue_cap", description_pending_queue_cap, + additional_constraints_pending_queue_cap, nullptr, 0, true, true}, + {"pick_first_happy_eyeballs", description_pick_first_happy_eyeballs, + additional_constraints_pick_first_happy_eyeballs, nullptr, 0, true, true}, {"promise_based_client_call", description_promise_based_client_call, - additional_constraints_promise_based_client_call, false, true}, - {"free_large_allocator", description_free_large_allocator, - additional_constraints_free_large_allocator, false, true}, + additional_constraints_promise_based_client_call, + required_experiments_promise_based_client_call, 2, false, true}, {"promise_based_server_call", description_promise_based_server_call, - additional_constraints_promise_based_server_call, false, true}, - {"event_engine_listener", description_event_engine_listener, - additional_constraints_event_engine_listener, false, true}, + additional_constraints_promise_based_server_call, nullptr, 0, false, true}, + {"chaotic_good", description_chaotic_good, + additional_constraints_chaotic_good, required_experiments_chaotic_good, 2, + false, true}, + {"registered_method_lookup_in_transport", + description_registered_method_lookup_in_transport, + additional_constraints_registered_method_lookup_in_transport, nullptr, 0, + true, true}, + {"promise_based_inproc_transport", + description_promise_based_inproc_transport, + additional_constraints_promise_based_inproc_transport, + required_experiments_promise_based_inproc_transport, 3, false, false}, + {"round_robin_delegate_to_pick_first", + description_round_robin_delegate_to_pick_first, + additional_constraints_round_robin_delegate_to_pick_first, nullptr, 0, + true, true}, + {"rstpit", description_rstpit, additional_constraints_rstpit, nullptr, 0, + false, true}, {"schedule_cancellation_over_write", description_schedule_cancellation_over_write, - additional_constraints_schedule_cancellation_over_write, false, true}, - {"trace_record_callops", description_trace_record_callops, - additional_constraints_trace_record_callops, false, true}, - {"event_engine_dns", description_event_engine_dns, - additional_constraints_event_engine_dns, false, false}, - {"work_stealing", description_work_stealing, - additional_constraints_work_stealing, true, false}, - {"client_privacy", description_client_privacy, - additional_constraints_client_privacy, false, false}, - {"canary_client_privacy", description_canary_client_privacy, - additional_constraints_canary_client_privacy, false, false}, + additional_constraints_schedule_cancellation_over_write, nullptr, 0, false, + true}, {"server_privacy", description_server_privacy, - additional_constraints_server_privacy, false, false}, - {"keepalive_fix", description_keepalive_fix, - additional_constraints_keepalive_fix, false, false}, - {"keepalive_server_fix", description_keepalive_server_fix, - additional_constraints_keepalive_server_fix, false, false}, + additional_constraints_server_privacy, nullptr, 0, false, false}, + {"tcp_frame_size_tuning", description_tcp_frame_size_tuning, + additional_constraints_tcp_frame_size_tuning, nullptr, 0, false, true}, + {"tcp_rcv_lowat", description_tcp_rcv_lowat, + additional_constraints_tcp_rcv_lowat, nullptr, 0, false, true}, + {"trace_record_callops", description_trace_record_callops, + additional_constraints_trace_record_callops, nullptr, 0, false, true}, + {"unconstrained_max_quota_buffer_size", + description_unconstrained_max_quota_buffer_size, + additional_constraints_unconstrained_max_quota_buffer_size, nullptr, 0, + false, true}, + {"v3_backend_metric_filter", description_v3_backend_metric_filter, + additional_constraints_v3_backend_metric_filter, nullptr, 0, false, true}, + {"v3_channel_idle_filters", description_v3_channel_idle_filters, + additional_constraints_v3_channel_idle_filters, nullptr, 0, false, true}, + {"v3_compression_filter", description_v3_compression_filter, + additional_constraints_v3_compression_filter, nullptr, 0, false, true}, + {"v3_server_auth_filter", description_v3_server_auth_filter, + additional_constraints_v3_server_auth_filter, nullptr, 0, false, true}, + {"work_serializer_clears_time_cache", + description_work_serializer_clears_time_cache, + additional_constraints_work_serializer_clears_time_cache, nullptr, 0, true, + true}, {"work_serializer_dispatch", description_work_serializer_dispatch, - additional_constraints_work_serializer_dispatch, false, true}, - {"lazier_stream_updates", description_lazier_stream_updates, - additional_constraints_lazier_stream_updates, true, true}, - {"jitter_max_idle", description_jitter_max_idle, - additional_constraints_jitter_max_idle, true, true}, - {"round_robin_delegate_to_pick_first", - description_round_robin_delegate_to_pick_first, - additional_constraints_round_robin_delegate_to_pick_first, true, true}, + additional_constraints_work_serializer_dispatch, + required_experiments_work_serializer_dispatch, 1, true, true}, {"wrr_delegate_to_pick_first", description_wrr_delegate_to_pick_first, - additional_constraints_wrr_delegate_to_pick_first, true, true}, - {"combiner_offload_to_event_engine", - description_combiner_offload_to_event_engine, - additional_constraints_combiner_offload_to_event_engine, true, true}, - {"registered_method_lookup_in_transport", - description_registered_method_lookup_in_transport, - additional_constraints_registered_method_lookup_in_transport, true, true}, + additional_constraints_wrr_delegate_to_pick_first, nullptr, 0, true, true}, }; } // namespace grpc_core diff --git a/src/core/lib/experiments/experiments.h b/src/core/lib/experiments/experiments.h index 308614b6aab..a02aaab2157 100644 --- a/src/core/lib/experiments/experiments.h +++ b/src/core/lib/experiments/experiments.h @@ -57,256 +57,381 @@ namespace grpc_core { #ifdef GRPC_EXPERIMENTS_ARE_FINAL #if defined(GRPC_CFSTREAM) -inline bool IsTcpFrameSizeTuningEnabled() { return false; } -inline bool IsTcpRcvLowatEnabled() { return false; } -inline bool IsPeerStateBasedFramingEnabled() { return false; } -inline bool IsMemoryPressureControllerEnabled() { return false; } -inline bool IsUnconstrainedMaxQuotaBufferSizeEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_ABSL_BASE64 +inline bool IsAbslBase64Enabled() { return true; } +#ifndef NDEBUG +#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_STATUS_OVERRIDE_ON_CANCELLATION +#endif +inline bool IsCallStatusOverrideOnCancellationEnabled() { +#ifdef NDEBUG + return false; +#else + return true; +#endif +} +inline bool IsCallV3Enabled() { return false; } +inline bool IsCanaryClientPrivacyEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_CLIENT_IDLENESS +inline bool IsClientIdlenessEnabled() { return true; } +inline bool IsClientPrivacyEnabled() { return false; } inline bool IsEventEngineClientEnabled() { return false; } +inline bool IsEventEngineDnsEnabled() { return false; } +inline bool IsEventEngineListenerEnabled() { return false; } +inline bool IsFreeLargeAllocatorEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_HTTP2_STATS_FIX +inline bool IsHttp2StatsFixEnabled() { return true; } +inline bool IsKeepaliveFixEnabled() { return false; } +inline bool IsKeepaliveServerFixEnabled() { return false; } #define GRPC_EXPERIMENT_IS_INCLUDED_MONITORING_EXPERIMENT inline bool IsMonitoringExperimentEnabled() { return true; } +inline bool IsMultipingEnabled() { return false; } +inline bool IsPeerStateBasedFramingEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_PENDING_QUEUE_CAP +inline bool IsPendingQueueCapEnabled() { return true; } +#define GRPC_EXPERIMENT_IS_INCLUDED_PICK_FIRST_HAPPY_EYEBALLS +inline bool IsPickFirstHappyEyeballsEnabled() { return true; } inline bool IsPromiseBasedClientCallEnabled() { return false; } -inline bool IsFreeLargeAllocatorEnabled() { return false; } inline bool IsPromiseBasedServerCallEnabled() { return false; } -inline bool IsEventEngineListenerEnabled() { return false; } +inline bool IsChaoticGoodEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_REGISTERED_METHOD_LOOKUP_IN_TRANSPORT +inline bool IsRegisteredMethodLookupInTransportEnabled() { return true; } +inline bool IsPromiseBasedInprocTransportEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_ROUND_ROBIN_DELEGATE_TO_PICK_FIRST +inline bool IsRoundRobinDelegateToPickFirstEnabled() { return true; } +inline bool IsRstpitEnabled() { return false; } inline bool IsScheduleCancellationOverWriteEnabled() { return false; } -inline bool IsTraceRecordCallopsEnabled() { return false; } -inline bool IsEventEngineDnsEnabled() { return false; } -#define GRPC_EXPERIMENT_IS_INCLUDED_WORK_STEALING -inline bool IsWorkStealingEnabled() { return true; } -inline bool IsClientPrivacyEnabled() { return false; } -inline bool IsCanaryClientPrivacyEnabled() { return false; } inline bool IsServerPrivacyEnabled() { return false; } -inline bool IsKeepaliveFixEnabled() { return false; } -inline bool IsKeepaliveServerFixEnabled() { return false; } +inline bool IsTcpFrameSizeTuningEnabled() { return false; } +inline bool IsTcpRcvLowatEnabled() { return false; } +inline bool IsTraceRecordCallopsEnabled() { return false; } +inline bool IsUnconstrainedMaxQuotaBufferSizeEnabled() { return false; } +inline bool IsV3BackendMetricFilterEnabled() { return false; } +inline bool IsV3ChannelIdleFiltersEnabled() { return false; } +inline bool IsV3CompressionFilterEnabled() { return false; } +inline bool IsV3ServerAuthFilterEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_WORK_SERIALIZER_CLEARS_TIME_CACHE +inline bool IsWorkSerializerClearsTimeCacheEnabled() { return true; } inline bool IsWorkSerializerDispatchEnabled() { return false; } -#define GRPC_EXPERIMENT_IS_INCLUDED_LAZIER_STREAM_UPDATES -inline bool IsLazierStreamUpdatesEnabled() { return true; } -#define GRPC_EXPERIMENT_IS_INCLUDED_JITTER_MAX_IDLE -inline bool IsJitterMaxIdleEnabled() { return true; } -#define GRPC_EXPERIMENT_IS_INCLUDED_ROUND_ROBIN_DELEGATE_TO_PICK_FIRST -inline bool IsRoundRobinDelegateToPickFirstEnabled() { return true; } #define GRPC_EXPERIMENT_IS_INCLUDED_WRR_DELEGATE_TO_PICK_FIRST inline bool IsWrrDelegateToPickFirstEnabled() { return true; } -#define GRPC_EXPERIMENT_IS_INCLUDED_COMBINER_OFFLOAD_TO_EVENT_ENGINE -inline bool IsCombinerOffloadToEventEngineEnabled() { return true; } -#define GRPC_EXPERIMENT_IS_INCLUDED_REGISTERED_METHOD_LOOKUP_IN_TRANSPORT -inline bool IsRegisteredMethodLookupInTransportEnabled() { return true; } #elif defined(GPR_WINDOWS) -inline bool IsTcpFrameSizeTuningEnabled() { return false; } -inline bool IsTcpRcvLowatEnabled() { return false; } -inline bool IsPeerStateBasedFramingEnabled() { return false; } -inline bool IsMemoryPressureControllerEnabled() { return false; } -inline bool IsUnconstrainedMaxQuotaBufferSizeEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_ABSL_BASE64 +inline bool IsAbslBase64Enabled() { return true; } +#ifndef NDEBUG +#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_STATUS_OVERRIDE_ON_CANCELLATION +#endif +inline bool IsCallStatusOverrideOnCancellationEnabled() { +#ifdef NDEBUG + return false; +#else + return true; +#endif +} +inline bool IsCallV3Enabled() { return false; } +inline bool IsCanaryClientPrivacyEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_CLIENT_IDLENESS +inline bool IsClientIdlenessEnabled() { return true; } +inline bool IsClientPrivacyEnabled() { return false; } inline bool IsEventEngineClientEnabled() { return false; } +inline bool IsEventEngineDnsEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_LISTENER +inline bool IsEventEngineListenerEnabled() { return true; } +inline bool IsFreeLargeAllocatorEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_HTTP2_STATS_FIX +inline bool IsHttp2StatsFixEnabled() { return true; } +inline bool IsKeepaliveFixEnabled() { return false; } +inline bool IsKeepaliveServerFixEnabled() { return false; } #define GRPC_EXPERIMENT_IS_INCLUDED_MONITORING_EXPERIMENT inline bool IsMonitoringExperimentEnabled() { return true; } +inline bool IsMultipingEnabled() { return false; } +inline bool IsPeerStateBasedFramingEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_PENDING_QUEUE_CAP +inline bool IsPendingQueueCapEnabled() { return true; } +#define GRPC_EXPERIMENT_IS_INCLUDED_PICK_FIRST_HAPPY_EYEBALLS +inline bool IsPickFirstHappyEyeballsEnabled() { return true; } inline bool IsPromiseBasedClientCallEnabled() { return false; } -inline bool IsFreeLargeAllocatorEnabled() { return false; } inline bool IsPromiseBasedServerCallEnabled() { return false; } -inline bool IsEventEngineListenerEnabled() { return false; } +inline bool IsChaoticGoodEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_REGISTERED_METHOD_LOOKUP_IN_TRANSPORT +inline bool IsRegisteredMethodLookupInTransportEnabled() { return true; } +inline bool IsPromiseBasedInprocTransportEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_ROUND_ROBIN_DELEGATE_TO_PICK_FIRST +inline bool IsRoundRobinDelegateToPickFirstEnabled() { return true; } +inline bool IsRstpitEnabled() { return false; } inline bool IsScheduleCancellationOverWriteEnabled() { return false; } -inline bool IsTraceRecordCallopsEnabled() { return false; } -inline bool IsEventEngineDnsEnabled() { return false; } -#define GRPC_EXPERIMENT_IS_INCLUDED_WORK_STEALING -inline bool IsWorkStealingEnabled() { return true; } -inline bool IsClientPrivacyEnabled() { return false; } -inline bool IsCanaryClientPrivacyEnabled() { return false; } inline bool IsServerPrivacyEnabled() { return false; } -inline bool IsKeepaliveFixEnabled() { return false; } -inline bool IsKeepaliveServerFixEnabled() { return false; } +inline bool IsTcpFrameSizeTuningEnabled() { return false; } +inline bool IsTcpRcvLowatEnabled() { return false; } +inline bool IsTraceRecordCallopsEnabled() { return false; } +inline bool IsUnconstrainedMaxQuotaBufferSizeEnabled() { return false; } +inline bool IsV3BackendMetricFilterEnabled() { return false; } +inline bool IsV3ChannelIdleFiltersEnabled() { return false; } +inline bool IsV3CompressionFilterEnabled() { return false; } +inline bool IsV3ServerAuthFilterEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_WORK_SERIALIZER_CLEARS_TIME_CACHE +inline bool IsWorkSerializerClearsTimeCacheEnabled() { return true; } inline bool IsWorkSerializerDispatchEnabled() { return false; } -#define GRPC_EXPERIMENT_IS_INCLUDED_LAZIER_STREAM_UPDATES -inline bool IsLazierStreamUpdatesEnabled() { return true; } -#define GRPC_EXPERIMENT_IS_INCLUDED_JITTER_MAX_IDLE -inline bool IsJitterMaxIdleEnabled() { return true; } -#define GRPC_EXPERIMENT_IS_INCLUDED_ROUND_ROBIN_DELEGATE_TO_PICK_FIRST -inline bool IsRoundRobinDelegateToPickFirstEnabled() { return true; } #define GRPC_EXPERIMENT_IS_INCLUDED_WRR_DELEGATE_TO_PICK_FIRST inline bool IsWrrDelegateToPickFirstEnabled() { return true; } -#define GRPC_EXPERIMENT_IS_INCLUDED_COMBINER_OFFLOAD_TO_EVENT_ENGINE -inline bool IsCombinerOffloadToEventEngineEnabled() { return true; } -#define GRPC_EXPERIMENT_IS_INCLUDED_REGISTERED_METHOD_LOOKUP_IN_TRANSPORT -inline bool IsRegisteredMethodLookupInTransportEnabled() { return true; } #else -inline bool IsTcpFrameSizeTuningEnabled() { return false; } -inline bool IsTcpRcvLowatEnabled() { return false; } -inline bool IsPeerStateBasedFramingEnabled() { return false; } -inline bool IsMemoryPressureControllerEnabled() { return false; } -inline bool IsUnconstrainedMaxQuotaBufferSizeEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_ABSL_BASE64 +inline bool IsAbslBase64Enabled() { return true; } +#ifndef NDEBUG +#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_STATUS_OVERRIDE_ON_CANCELLATION +#endif +inline bool IsCallStatusOverrideOnCancellationEnabled() { +#ifdef NDEBUG + return false; +#else + return true; +#endif +} +inline bool IsCallV3Enabled() { return false; } +inline bool IsCanaryClientPrivacyEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_CLIENT_IDLENESS +inline bool IsClientIdlenessEnabled() { return true; } +inline bool IsClientPrivacyEnabled() { return false; } inline bool IsEventEngineClientEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_DNS +inline bool IsEventEngineDnsEnabled() { return true; } +#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_LISTENER +inline bool IsEventEngineListenerEnabled() { return true; } +inline bool IsFreeLargeAllocatorEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_HTTP2_STATS_FIX +inline bool IsHttp2StatsFixEnabled() { return true; } +inline bool IsKeepaliveFixEnabled() { return false; } +inline bool IsKeepaliveServerFixEnabled() { return false; } #define GRPC_EXPERIMENT_IS_INCLUDED_MONITORING_EXPERIMENT inline bool IsMonitoringExperimentEnabled() { return true; } +inline bool IsMultipingEnabled() { return false; } +inline bool IsPeerStateBasedFramingEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_PENDING_QUEUE_CAP +inline bool IsPendingQueueCapEnabled() { return true; } +#define GRPC_EXPERIMENT_IS_INCLUDED_PICK_FIRST_HAPPY_EYEBALLS +inline bool IsPickFirstHappyEyeballsEnabled() { return true; } inline bool IsPromiseBasedClientCallEnabled() { return false; } -inline bool IsFreeLargeAllocatorEnabled() { return false; } inline bool IsPromiseBasedServerCallEnabled() { return false; } -inline bool IsEventEngineListenerEnabled() { return false; } -inline bool IsScheduleCancellationOverWriteEnabled() { return false; } -inline bool IsTraceRecordCallopsEnabled() { return false; } -inline bool IsEventEngineDnsEnabled() { return false; } -#define GRPC_EXPERIMENT_IS_INCLUDED_WORK_STEALING -inline bool IsWorkStealingEnabled() { return true; } -inline bool IsClientPrivacyEnabled() { return false; } -inline bool IsCanaryClientPrivacyEnabled() { return false; } -inline bool IsServerPrivacyEnabled() { return false; } -inline bool IsKeepaliveFixEnabled() { return false; } -inline bool IsKeepaliveServerFixEnabled() { return false; } -inline bool IsWorkSerializerDispatchEnabled() { return false; } -#define GRPC_EXPERIMENT_IS_INCLUDED_LAZIER_STREAM_UPDATES -inline bool IsLazierStreamUpdatesEnabled() { return true; } -#define GRPC_EXPERIMENT_IS_INCLUDED_JITTER_MAX_IDLE -inline bool IsJitterMaxIdleEnabled() { return true; } +inline bool IsChaoticGoodEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_REGISTERED_METHOD_LOOKUP_IN_TRANSPORT +inline bool IsRegisteredMethodLookupInTransportEnabled() { return true; } +inline bool IsPromiseBasedInprocTransportEnabled() { return false; } #define GRPC_EXPERIMENT_IS_INCLUDED_ROUND_ROBIN_DELEGATE_TO_PICK_FIRST inline bool IsRoundRobinDelegateToPickFirstEnabled() { return true; } +inline bool IsRstpitEnabled() { return false; } +inline bool IsScheduleCancellationOverWriteEnabled() { return false; } +inline bool IsServerPrivacyEnabled() { return false; } +inline bool IsTcpFrameSizeTuningEnabled() { return false; } +inline bool IsTcpRcvLowatEnabled() { return false; } +inline bool IsTraceRecordCallopsEnabled() { return false; } +inline bool IsUnconstrainedMaxQuotaBufferSizeEnabled() { return false; } +inline bool IsV3BackendMetricFilterEnabled() { return false; } +inline bool IsV3ChannelIdleFiltersEnabled() { return false; } +inline bool IsV3CompressionFilterEnabled() { return false; } +inline bool IsV3ServerAuthFilterEnabled() { return false; } +#define GRPC_EXPERIMENT_IS_INCLUDED_WORK_SERIALIZER_CLEARS_TIME_CACHE +inline bool IsWorkSerializerClearsTimeCacheEnabled() { return true; } +#define GRPC_EXPERIMENT_IS_INCLUDED_WORK_SERIALIZER_DISPATCH +inline bool IsWorkSerializerDispatchEnabled() { return true; } #define GRPC_EXPERIMENT_IS_INCLUDED_WRR_DELEGATE_TO_PICK_FIRST inline bool IsWrrDelegateToPickFirstEnabled() { return true; } -#define GRPC_EXPERIMENT_IS_INCLUDED_COMBINER_OFFLOAD_TO_EVENT_ENGINE -inline bool IsCombinerOffloadToEventEngineEnabled() { return true; } -#define GRPC_EXPERIMENT_IS_INCLUDED_REGISTERED_METHOD_LOOKUP_IN_TRANSPORT -inline bool IsRegisteredMethodLookupInTransportEnabled() { return true; } #endif #else enum ExperimentIds { - kExperimentIdTcpFrameSizeTuning, - kExperimentIdTcpRcvLowat, - kExperimentIdPeerStateBasedFraming, - kExperimentIdMemoryPressureController, - kExperimentIdUnconstrainedMaxQuotaBufferSize, + kExperimentIdAbslBase64, + kExperimentIdCallStatusOverrideOnCancellation, + kExperimentIdCallV3, + kExperimentIdCanaryClientPrivacy, + kExperimentIdClientIdleness, + kExperimentIdClientPrivacy, kExperimentIdEventEngineClient, + kExperimentIdEventEngineDns, + kExperimentIdEventEngineListener, + kExperimentIdFreeLargeAllocator, + kExperimentIdHttp2StatsFix, + kExperimentIdKeepaliveFix, + kExperimentIdKeepaliveServerFix, kExperimentIdMonitoringExperiment, + kExperimentIdMultiping, + kExperimentIdPeerStateBasedFraming, + kExperimentIdPendingQueueCap, + kExperimentIdPickFirstHappyEyeballs, kExperimentIdPromiseBasedClientCall, - kExperimentIdFreeLargeAllocator, kExperimentIdPromiseBasedServerCall, - kExperimentIdEventEngineListener, + kExperimentIdChaoticGood, + kExperimentIdRegisteredMethodLookupInTransport, + kExperimentIdPromiseBasedInprocTransport, + kExperimentIdRoundRobinDelegateToPickFirst, + kExperimentIdRstpit, kExperimentIdScheduleCancellationOverWrite, - kExperimentIdTraceRecordCallops, - kExperimentIdEventEngineDns, - kExperimentIdWorkStealing, - kExperimentIdClientPrivacy, - kExperimentIdCanaryClientPrivacy, kExperimentIdServerPrivacy, - kExperimentIdKeepaliveFix, - kExperimentIdKeepaliveServerFix, + kExperimentIdTcpFrameSizeTuning, + kExperimentIdTcpRcvLowat, + kExperimentIdTraceRecordCallops, + kExperimentIdUnconstrainedMaxQuotaBufferSize, + kExperimentIdV3BackendMetricFilter, + kExperimentIdV3ChannelIdleFilters, + kExperimentIdV3CompressionFilter, + kExperimentIdV3ServerAuthFilter, + kExperimentIdWorkSerializerClearsTimeCache, kExperimentIdWorkSerializerDispatch, - kExperimentIdLazierStreamUpdates, - kExperimentIdJitterMaxIdle, - kExperimentIdRoundRobinDelegateToPickFirst, kExperimentIdWrrDelegateToPickFirst, - kExperimentIdCombinerOffloadToEventEngine, - kExperimentIdRegisteredMethodLookupInTransport, kNumExperiments }; -#define GRPC_EXPERIMENT_IS_INCLUDED_TCP_FRAME_SIZE_TUNING -inline bool IsTcpFrameSizeTuningEnabled() { - return IsExperimentEnabled(kExperimentIdTcpFrameSizeTuning); +#define GRPC_EXPERIMENT_IS_INCLUDED_ABSL_BASE64 +inline bool IsAbslBase64Enabled() { + return IsExperimentEnabled(kExperimentIdAbslBase64); } -#define GRPC_EXPERIMENT_IS_INCLUDED_TCP_RCV_LOWAT -inline bool IsTcpRcvLowatEnabled() { - return IsExperimentEnabled(kExperimentIdTcpRcvLowat); +#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_STATUS_OVERRIDE_ON_CANCELLATION +inline bool IsCallStatusOverrideOnCancellationEnabled() { + return IsExperimentEnabled(kExperimentIdCallStatusOverrideOnCancellation); } -#define GRPC_EXPERIMENT_IS_INCLUDED_PEER_STATE_BASED_FRAMING -inline bool IsPeerStateBasedFramingEnabled() { - return IsExperimentEnabled(kExperimentIdPeerStateBasedFraming); +#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_V3 +inline bool IsCallV3Enabled() { + return IsExperimentEnabled(kExperimentIdCallV3); } -#define GRPC_EXPERIMENT_IS_INCLUDED_MEMORY_PRESSURE_CONTROLLER -inline bool IsMemoryPressureControllerEnabled() { - return IsExperimentEnabled(kExperimentIdMemoryPressureController); +#define GRPC_EXPERIMENT_IS_INCLUDED_CANARY_CLIENT_PRIVACY +inline bool IsCanaryClientPrivacyEnabled() { + return IsExperimentEnabled(kExperimentIdCanaryClientPrivacy); } -#define GRPC_EXPERIMENT_IS_INCLUDED_UNCONSTRAINED_MAX_QUOTA_BUFFER_SIZE -inline bool IsUnconstrainedMaxQuotaBufferSizeEnabled() { - return IsExperimentEnabled(kExperimentIdUnconstrainedMaxQuotaBufferSize); +#define GRPC_EXPERIMENT_IS_INCLUDED_CLIENT_IDLENESS +inline bool IsClientIdlenessEnabled() { + return IsExperimentEnabled(kExperimentIdClientIdleness); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_CLIENT_PRIVACY +inline bool IsClientPrivacyEnabled() { + return IsExperimentEnabled(kExperimentIdClientPrivacy); } #define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_CLIENT inline bool IsEventEngineClientEnabled() { return IsExperimentEnabled(kExperimentIdEventEngineClient); } +#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_DNS +inline bool IsEventEngineDnsEnabled() { + return IsExperimentEnabled(kExperimentIdEventEngineDns); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_LISTENER +inline bool IsEventEngineListenerEnabled() { + return IsExperimentEnabled(kExperimentIdEventEngineListener); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_FREE_LARGE_ALLOCATOR +inline bool IsFreeLargeAllocatorEnabled() { + return IsExperimentEnabled(kExperimentIdFreeLargeAllocator); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_HTTP2_STATS_FIX +inline bool IsHttp2StatsFixEnabled() { + return IsExperimentEnabled(kExperimentIdHttp2StatsFix); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_KEEPALIVE_FIX +inline bool IsKeepaliveFixEnabled() { + return IsExperimentEnabled(kExperimentIdKeepaliveFix); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_KEEPALIVE_SERVER_FIX +inline bool IsKeepaliveServerFixEnabled() { + return IsExperimentEnabled(kExperimentIdKeepaliveServerFix); +} #define GRPC_EXPERIMENT_IS_INCLUDED_MONITORING_EXPERIMENT inline bool IsMonitoringExperimentEnabled() { return IsExperimentEnabled(kExperimentIdMonitoringExperiment); } +#define GRPC_EXPERIMENT_IS_INCLUDED_MULTIPING +inline bool IsMultipingEnabled() { + return IsExperimentEnabled(kExperimentIdMultiping); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_PEER_STATE_BASED_FRAMING +inline bool IsPeerStateBasedFramingEnabled() { + return IsExperimentEnabled(kExperimentIdPeerStateBasedFraming); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_PENDING_QUEUE_CAP +inline bool IsPendingQueueCapEnabled() { + return IsExperimentEnabled(kExperimentIdPendingQueueCap); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_PICK_FIRST_HAPPY_EYEBALLS +inline bool IsPickFirstHappyEyeballsEnabled() { + return IsExperimentEnabled(kExperimentIdPickFirstHappyEyeballs); +} #define GRPC_EXPERIMENT_IS_INCLUDED_PROMISE_BASED_CLIENT_CALL inline bool IsPromiseBasedClientCallEnabled() { return IsExperimentEnabled(kExperimentIdPromiseBasedClientCall); } -#define GRPC_EXPERIMENT_IS_INCLUDED_FREE_LARGE_ALLOCATOR -inline bool IsFreeLargeAllocatorEnabled() { - return IsExperimentEnabled(kExperimentIdFreeLargeAllocator); -} #define GRPC_EXPERIMENT_IS_INCLUDED_PROMISE_BASED_SERVER_CALL inline bool IsPromiseBasedServerCallEnabled() { return IsExperimentEnabled(kExperimentIdPromiseBasedServerCall); } -#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_LISTENER -inline bool IsEventEngineListenerEnabled() { - return IsExperimentEnabled(kExperimentIdEventEngineListener); +#define GRPC_EXPERIMENT_IS_INCLUDED_CHAOTIC_GOOD +inline bool IsChaoticGoodEnabled() { + return IsExperimentEnabled(kExperimentIdChaoticGood); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_REGISTERED_METHOD_LOOKUP_IN_TRANSPORT +inline bool IsRegisteredMethodLookupInTransportEnabled() { + return IsExperimentEnabled(kExperimentIdRegisteredMethodLookupInTransport); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_PROMISE_BASED_INPROC_TRANSPORT +inline bool IsPromiseBasedInprocTransportEnabled() { + return IsExperimentEnabled(kExperimentIdPromiseBasedInprocTransport); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_ROUND_ROBIN_DELEGATE_TO_PICK_FIRST +inline bool IsRoundRobinDelegateToPickFirstEnabled() { + return IsExperimentEnabled(kExperimentIdRoundRobinDelegateToPickFirst); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_RSTPIT +inline bool IsRstpitEnabled() { + return IsExperimentEnabled(kExperimentIdRstpit); } #define GRPC_EXPERIMENT_IS_INCLUDED_SCHEDULE_CANCELLATION_OVER_WRITE inline bool IsScheduleCancellationOverWriteEnabled() { return IsExperimentEnabled(kExperimentIdScheduleCancellationOverWrite); } +#define GRPC_EXPERIMENT_IS_INCLUDED_SERVER_PRIVACY +inline bool IsServerPrivacyEnabled() { + return IsExperimentEnabled(kExperimentIdServerPrivacy); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_TCP_FRAME_SIZE_TUNING +inline bool IsTcpFrameSizeTuningEnabled() { + return IsExperimentEnabled(kExperimentIdTcpFrameSizeTuning); +} +#define GRPC_EXPERIMENT_IS_INCLUDED_TCP_RCV_LOWAT +inline bool IsTcpRcvLowatEnabled() { + return IsExperimentEnabled(kExperimentIdTcpRcvLowat); +} #define GRPC_EXPERIMENT_IS_INCLUDED_TRACE_RECORD_CALLOPS inline bool IsTraceRecordCallopsEnabled() { return IsExperimentEnabled(kExperimentIdTraceRecordCallops); } -#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_DNS -inline bool IsEventEngineDnsEnabled() { - return IsExperimentEnabled(kExperimentIdEventEngineDns); +#define GRPC_EXPERIMENT_IS_INCLUDED_UNCONSTRAINED_MAX_QUOTA_BUFFER_SIZE +inline bool IsUnconstrainedMaxQuotaBufferSizeEnabled() { + return IsExperimentEnabled(kExperimentIdUnconstrainedMaxQuotaBufferSize); } -#define GRPC_EXPERIMENT_IS_INCLUDED_WORK_STEALING -inline bool IsWorkStealingEnabled() { - return IsExperimentEnabled(kExperimentIdWorkStealing); +#define GRPC_EXPERIMENT_IS_INCLUDED_V3_BACKEND_METRIC_FILTER +inline bool IsV3BackendMetricFilterEnabled() { + return IsExperimentEnabled(kExperimentIdV3BackendMetricFilter); } -#define GRPC_EXPERIMENT_IS_INCLUDED_CLIENT_PRIVACY -inline bool IsClientPrivacyEnabled() { - return IsExperimentEnabled(kExperimentIdClientPrivacy); +#define GRPC_EXPERIMENT_IS_INCLUDED_V3_CHANNEL_IDLE_FILTERS +inline bool IsV3ChannelIdleFiltersEnabled() { + return IsExperimentEnabled(kExperimentIdV3ChannelIdleFilters); } -#define GRPC_EXPERIMENT_IS_INCLUDED_CANARY_CLIENT_PRIVACY -inline bool IsCanaryClientPrivacyEnabled() { - return IsExperimentEnabled(kExperimentIdCanaryClientPrivacy); +#define GRPC_EXPERIMENT_IS_INCLUDED_V3_COMPRESSION_FILTER +inline bool IsV3CompressionFilterEnabled() { + return IsExperimentEnabled(kExperimentIdV3CompressionFilter); } -#define GRPC_EXPERIMENT_IS_INCLUDED_SERVER_PRIVACY -inline bool IsServerPrivacyEnabled() { - return IsExperimentEnabled(kExperimentIdServerPrivacy); -} -#define GRPC_EXPERIMENT_IS_INCLUDED_KEEPALIVE_FIX -inline bool IsKeepaliveFixEnabled() { - return IsExperimentEnabled(kExperimentIdKeepaliveFix); +#define GRPC_EXPERIMENT_IS_INCLUDED_V3_SERVER_AUTH_FILTER +inline bool IsV3ServerAuthFilterEnabled() { + return IsExperimentEnabled(kExperimentIdV3ServerAuthFilter); } -#define GRPC_EXPERIMENT_IS_INCLUDED_KEEPALIVE_SERVER_FIX -inline bool IsKeepaliveServerFixEnabled() { - return IsExperimentEnabled(kExperimentIdKeepaliveServerFix); +#define GRPC_EXPERIMENT_IS_INCLUDED_WORK_SERIALIZER_CLEARS_TIME_CACHE +inline bool IsWorkSerializerClearsTimeCacheEnabled() { + return IsExperimentEnabled(kExperimentIdWorkSerializerClearsTimeCache); } #define GRPC_EXPERIMENT_IS_INCLUDED_WORK_SERIALIZER_DISPATCH inline bool IsWorkSerializerDispatchEnabled() { return IsExperimentEnabled(kExperimentIdWorkSerializerDispatch); } -#define GRPC_EXPERIMENT_IS_INCLUDED_LAZIER_STREAM_UPDATES -inline bool IsLazierStreamUpdatesEnabled() { - return IsExperimentEnabled(kExperimentIdLazierStreamUpdates); -} -#define GRPC_EXPERIMENT_IS_INCLUDED_JITTER_MAX_IDLE -inline bool IsJitterMaxIdleEnabled() { - return IsExperimentEnabled(kExperimentIdJitterMaxIdle); -} -#define GRPC_EXPERIMENT_IS_INCLUDED_ROUND_ROBIN_DELEGATE_TO_PICK_FIRST -inline bool IsRoundRobinDelegateToPickFirstEnabled() { - return IsExperimentEnabled(kExperimentIdRoundRobinDelegateToPickFirst); -} #define GRPC_EXPERIMENT_IS_INCLUDED_WRR_DELEGATE_TO_PICK_FIRST inline bool IsWrrDelegateToPickFirstEnabled() { return IsExperimentEnabled(kExperimentIdWrrDelegateToPickFirst); } -#define GRPC_EXPERIMENT_IS_INCLUDED_COMBINER_OFFLOAD_TO_EVENT_ENGINE -inline bool IsCombinerOffloadToEventEngineEnabled() { - return IsExperimentEnabled(kExperimentIdCombinerOffloadToEventEngine); -} -#define GRPC_EXPERIMENT_IS_INCLUDED_REGISTERED_METHOD_LOOKUP_IN_TRANSPORT -inline bool IsRegisteredMethodLookupInTransportEnabled() { - return IsExperimentEnabled(kExperimentIdRegisteredMethodLookupInTransport); -} extern const ExperimentMetadata g_experiment_metadata[kNumExperiments]; diff --git a/src/core/lib/experiments/experiments.yaml b/src/core/lib/experiments/experiments.yaml index 274ea2a211b..590f7f21eb4 100644 --- a/src/core/lib/experiments/experiments.yaml +++ b/src/core/lib/experiments/experiments.yaml @@ -22,6 +22,13 @@ # allow_in_fuzzing_config: optional boolean (true if not specified) # if false, this experiment will not be included in fuzzers that # explore the config space +# requires: A list of names of experiments that this experiment depends on. +# Defaults to the empty list. +# If any of the experiments in the required list is determined to +# be disabled at runtime, this experiment is disabled at runtime. +# uses_polling: optional boolean (false if not specified) that indicates that +# this experiment should be tested with all different polling +# engines. # # Well known test tags: # core_end2end_test: all tests, fixtures in the core end2end suite @@ -33,182 +40,253 @@ # This file only defines the experiments. Refer to rollouts.yaml for the rollout # state of each experiment. -- name: tcp_frame_size_tuning - description: - If set, enables TCP to use RPC size estimation made by higher layers. - TCP would not indicate completion of a read operation until a specified - number of bytes have been read over the socket. - Buffers are also allocated according to estimated RPC sizes. - expiry: 2024/01/01 - owner: vigneshbabu@google.com - test_tags: ["endpoint_test", "flow_control_test"] -- name: tcp_rcv_lowat - description: Use SO_RCVLOWAT to avoid wakeups on the read path. - expiry: 2024/01/01 - owner: vigneshbabu@google.com - test_tags: ["endpoint_test", "flow_control_test"] -- name: peer_state_based_framing +- name: absl_base64 + description: Use abseil base64 functions. + expiry: 2024/06/01 + owner: roth@google.com + test_tags: ["credential_token_tests"] +- name: call_status_override_on_cancellation description: - If set, the max sizes of frames sent to lower layers is controlled based - on the peer's memory pressure which is reflected in its max http2 frame - size. - expiry: 2024/01/01 + Avoid overriding call status of successfully finished calls if it races with + cancellation. + expiry: 2024/04/01 owner: vigneshbabu@google.com - test_tags: ["flow_control_test"] -- name: memory_pressure_controller - description: New memory pressure controller - expiry: 2024/05/05 + test_tags: [] +- name: call_v3 + description: Promise-based call version 3. + expiry: 2024/06/01 owner: ctiller@google.com - test_tags: [resource_quota_test] -- name: unconstrained_max_quota_buffer_size - description: Discard the cap on the max free pool size for one memory allocator - expiry: 2024/02/01 + test_tags: [] +- name: canary_client_privacy + description: + If set, canary client privacy + expiry: 2024/04/01 + owner: alishananda@google.com + test_tags: [] + allow_in_fuzzing_config: false +- name: chaotic_good + description: + If set, enable the chaotic good load transport (this is mostly here for testing) + expiry: 2024/09/09 owner: ctiller@google.com - test_tags: [resource_quota_test] + requires: [promise_based_client_call, promise_based_server_call] + test_tags: [core_end2end_test] +- name: client_idleness + description: If enabled, client channel idleness is enabled by default. + expiry: 2024/03/15 + owner: roth@google.com + test_tags: [] +- name: client_privacy + description: + If set, client privacy + expiry: 2024/04/01 + owner: alishananda@google.com + test_tags: [] + allow_in_fuzzing_config: false - name: event_engine_client description: Use EventEngine clients instead of iomgr's grpc_tcp_client - expiry: 2024/01/21 + expiry: 2024/04/01 owner: hork@google.com test_tags: ["core_end2end_test", "event_engine_client_test"] + uses_polling: true +- name: event_engine_dns + description: + If set, use EventEngine DNSResolver for client channel resolution + expiry: 2024/04/01 + owner: yijiem@google.com + test_tags: ["cancel_ares_query_test", "resolver_component_tests_runner_invoker"] + allow_in_fuzzing_config: false + uses_polling: true +- name: event_engine_listener + description: Use EventEngine listeners instead of iomgr's grpc_tcp_server + expiry: 2024/04/01 + owner: vigneshbabu@google.com + test_tags: ["core_end2end_test", "event_engine_listener_test"] + uses_polling: true +- name: free_large_allocator + description: If set, return all free bytes from a "big" allocator + expiry: 2024/04/01 + owner: alishananda@google.com + test_tags: [resource_quota_test] +- name: http2_stats_fix + description: + Fix on HTTP2 outgoing data stats reporting + expiry: 2024/03/31 + owner: yashkt@google.com + test_tags: [] +- name: keepalive_fix + description: + Allows overriding keepalive_permit_without_calls. + Refer https://github.com/grpc/grpc/pull/33428 for more information. + expiry: 2024/06/30 + owner: yashkt@google.com + test_tags: [] + allow_in_fuzzing_config: false +- name: keepalive_server_fix + description: + Allows overriding keepalive_permit_without_calls for servers. + Refer https://github.com/grpc/grpc/pull/33917 for more information. + expiry: 2024/12/31 + owner: yashkt@google.com + test_tags: [] + allow_in_fuzzing_config: false - name: monitoring_experiment description: Placeholder experiment to prove/disprove our monitoring is working expiry: never-ever owner: ctiller@google.com test_tags: [] +- name: multiping + description: + Allow more than one ping to be in flight at a time by default. + expiry: 2024/06/15 + owner: ctiller@google.com + test_tags: [flow_control_test] +- name: peer_state_based_framing + description: + If set, the max sizes of frames sent to lower layers is controlled based + on the peer's memory pressure which is reflected in its max http2 frame + size. + expiry: 2024/08/01 + owner: vigneshbabu@google.com + test_tags: ["flow_control_test"] +- name: pending_queue_cap + description: + In the sync & async apis (but not the callback api), cap the number of + received but unrequested requests in the server for each call type. + A received message is one that was read from the wire on the server. + A requested message is one explicitly requested by the application using + grpc_server_request_call or grpc_server_request_registered_call (or their + wrappers in the C++ API). + expiry: 2024/05/05 + owner: ctiller@google.com + test_tags: [] +- name: pick_first_happy_eyeballs + description: + Use Happy Eyeballs in pick_first. + expiry: 2024/03/15 + owner: roth@google.com + test_tags: ["lb_unit_test", "cpp_lb_end2end_test", "xds_end2end_test"] - name: promise_based_client_call description: If set, use the new gRPC promise based call code when it's appropriate (ie when all filters in a stack are promise based) - expiry: 2023/11/01 + expiry: 2024/06/14 + owner: ctiller@google.com + test_tags: ["core_end2end_test", "lame_client_test"] + requires: ["event_engine_listener", "event_engine_client"] +- name: promise_based_inproc_transport + description: + Use promises for the in-process transport. + expiry: 2024/06/06 owner: ctiller@google.com - # TODO(ctiller): re-enable once we've got some more CI bandwidth - # test_tags: ["core_end2end_test", "lame_client_test"] test_tags: [] -- name: free_large_allocator - description: If set, return all free bytes from a "big" allocator - expiry: 2023/11/01 - owner: alishananda@google.com - test_tags: [resource_quota_test] + allow_in_fuzzing_config: false # experiment currently crashes if enabled + requires: [promise_based_client_call, promise_based_server_call, registered_method_lookup_in_transport] - name: promise_based_server_call description: If set, use the new gRPC promise based call code when it's appropriate (ie when all filters in a stack are promise based) - expiry: 2023/11/01 + expiry: 2024/06/14 owner: ctiller@google.com test_tags: ["core_end2end_test", "cpp_end2end_test", "xds_end2end_test", "logging_test"] -- name: event_engine_listener - description: Use EventEngine listeners instead of iomgr's grpc_tcp_server - expiry: 2024/01/01 - owner: vigneshbabu@google.com - test_tags: ["core_end2end_test", "event_engine_listener_test"] +- name: registered_method_lookup_in_transport + description: + Change registered method's lookup point to transport + expiry: 2024/03/31 + owner: yashkt@google.com + test_tags: ["surface_registered_method_lookup"] +- name: round_robin_delegate_to_pick_first + description: + Change round_robin code to delegate to pick_first as per dualstack + backend design. + expiry: 2024/03/15 + owner: roth@google.com + test_tags: ["lb_unit_test", "cpp_lb_end2end_test", "xds_end2end_test"] +- name: rstpit + description: + On RST_STREAM on a server, reduce MAX_CONCURRENT_STREAMS for a short duration + expiry: 2024/08/03 + owner: ctiller@google.com + test_tags: [flow_control_test] - name: schedule_cancellation_over_write description: Allow cancellation op to be scheduled over a write - expiry: 2024/01/01 + expiry: 2024/04/01 owner: vigneshbabu@google.com test_tags: [] +- name: server_privacy + description: + If set, server privacy + expiry: 2024/04/01 + owner: alishananda@google.com + test_tags: [] + allow_in_fuzzing_config: false +- name: tcp_frame_size_tuning + description: + If set, enables TCP to use RPC size estimation made by higher layers. + TCP would not indicate completion of a read operation until a specified + number of bytes have been read over the socket. + Buffers are also allocated according to estimated RPC sizes. + expiry: 2024/08/01 + owner: vigneshbabu@google.com + test_tags: ["endpoint_test", "flow_control_test"] +- name: tcp_rcv_lowat + description: Use SO_RCVLOWAT to avoid wakeups on the read path. + expiry: 2024/08/01 + owner: vigneshbabu@google.com + test_tags: ["endpoint_test", "flow_control_test"] - name: trace_record_callops description: Enables tracing of call batch initiation and completion. - expiry: 2024/01/01 + expiry: 2024/04/01 owner: vigneshbabu@google.com test_tags: [] -- name: event_engine_dns - description: - If set, use EventEngine DNSResolver for client channel resolution - expiry: 2023/10/01 - owner: yijiem@google.com - test_tags: ["cancel_ares_query_test", "resolver_component_tests_runner_invoker"] - allow_in_fuzzing_config: false -- name: work_stealing - description: - If set, use a work stealing thread pool implementation in EventEngine - expiry: 2023/11/01 - owner: hork@google.com - test_tags: ["core_end2end_test"] - allow_in_fuzzing_config: false -- name: client_privacy +- name: unconstrained_max_quota_buffer_size + description: Discard the cap on the max free pool size for one memory allocator + expiry: 2024/09/01 + owner: ctiller@google.com + test_tags: [resource_quota_test] +- name: v3_backend_metric_filter description: - If set, client privacy - expiry: 2023/11/01 - owner: alishananda@google.com + Use the backend metric filter utilizing the v3 filter api + expiry: 2024/05/05 + owner: ctiller@google.com test_tags: [] - allow_in_fuzzing_config: false -- name: canary_client_privacy +- name: v3_channel_idle_filters description: - If set, canary client privacy - expiry: 2023/11/01 - owner: alishananda@google.com + Use the v3 filter API version of the idle filters. + expiry: 2024/04/04 + owner: ctiller@google.com test_tags: [] - allow_in_fuzzing_config: false -- name: server_privacy +- name: v3_compression_filter description: - If set, server privacy - expiry: 2023/11/01 - owner: alishananda@google.com - test_tags: [] - allow_in_fuzzing_config: false -- name: keepalive_fix + Use the compression filter utilizing the v3 filter api + expiry: 2024/04/04 + owner: ctiller@google.com + test_tags: ["compression_test"] +- name: v3_server_auth_filter description: - Allows overriding keepalive_permit_without_calls. - Refer https://github.com/grpc/grpc/pull/33428 for more information. - expiry: 2024/06/30 - owner: yashkt@google.com + Use the server auth filter utilizing the v3 filter api + expiry: 2024/04/04 + owner: ctiller@google.com test_tags: [] - allow_in_fuzzing_config: false -- name: keepalive_server_fix +- name: work_serializer_clears_time_cache description: - Allows overriding keepalive_permit_without_calls for servers. - Refer https://github.com/grpc/grpc/pull/33917 for more information. - expiry: 2023/12/31 - owner: yashkt@google.com + Have the work serializer clear the time cache when it dispatches work. + expiry: 2024/04/01 + owner: ctiller@google.com test_tags: [] - allow_in_fuzzing_config: false - name: work_serializer_dispatch description: Have the work serializer dispatch work to event engine for every callback, instead of running things inline in the first thread that successfully enqueues work. - expiry: 2024/02/10 - owner: ctiller@google.com + expiry: 2024/03/31 + owner: ysseung@google.com test_tags: ["core_end2end_test", "cpp_end2end_test", "xds_end2end_test", "lb_unit_test"] -- name: lazier_stream_updates - description: - Allow streams to consume up to 50% of the incoming window before we - force send a flow control update. - expiry: 2024/01/23 - owner: ctiller@google.com - test_tags: [flow_control_test] -- name: jitter_max_idle - description: - Enable jitter on connection max idle times. - Historically this jitter was only on max connection age, but it seems like - this could smooth out some herding problems. - expiry: 2023/11/21 - owner: ctiller@google.com - test_tags: [] - allow_in_fuzzing_config: true -- name: round_robin_delegate_to_pick_first - description: - Change round_robin code to delegate to pick_first as per dualstack - backend design. - expiry: 2023/11/15 - owner: roth@google.com - test_tags: ["lb_unit_test", "cpp_lb_end2end_test", "xds_end2end_test"] + requires: ["event_engine_client"] - name: wrr_delegate_to_pick_first description: Change WRR code to delegate to pick_first as per dualstack backend design. - expiry: 2023/11/15 + expiry: 2024/03/15 owner: roth@google.com test_tags: ["lb_unit_test", "cpp_lb_end2end_test", "xds_end2end_test"] -- name: combiner_offload_to_event_engine - description: - Offload Combiner work onto the EventEngine instead of the Executor. - expiry: 2024/01/15 - owner: hork@google.com - test_tags: [] -- name: registered_method_lookup_in_transport - description: - Change registered method's lookup point to transport - expiry: 2024/03/31 - owner: yashkt@google.com - test_tags: ["surface_registered_method_lookup"] diff --git a/src/core/lib/experiments/rollouts.yaml b/src/core/lib/experiments/rollouts.yaml index a458c71b459..88d076e2af4 100644 --- a/src/core/lib/experiments/rollouts.yaml +++ b/src/core/lib/experiments/rollouts.yaml @@ -22,6 +22,10 @@ # - debug - the experiment defaults to on in debug builds, # off in release builds in all platforms. # - true - the experiment defaults to on in all platforms. +# requires: A list of names of experiments that this experiment depends on. +# Defaults to the empty list. +# If any of the experiments in the required list is determined to +# be disabled at runtime, this experiment is disabled at runtime. # # [OR] the default can be platform specific: # ----------------------------------------- @@ -36,15 +40,22 @@ # # Supported platforms: ios, windows, posix -- name: tcp_frame_size_tuning - default: false -- name: tcp_rcv_lowat - default: false -- name: peer_state_based_framing +- name: absl_base64 + default: true +- name: call_status_override_on_cancellation + default: debug +- name: call_v3 default: false -- name: memory_pressure_controller +- name: canary_client_privacy default: false -- name: unconstrained_max_quota_buffer_size +- name: chaotic_good + default: + ios: broken + posix: false + windows: broken +- name: client_idleness + default: true +- name: client_privacy default: false - name: event_engine_client default: @@ -54,51 +65,69 @@ # TODO(hork): resolve when the client end2end test flake rate reduces to # a tolerable amount. windows: broken -- name: monitoring_experiment - default: true -- name: promise_based_client_call - default: false -- name: free_large_allocator - default: false -- name: promise_based_server_call - default: false -- name: event_engine_listener - default: false -- name: schedule_cancellation_over_write - default: false -- name: trace_record_callops - default: false - name: event_engine_dns default: # not tested on iOS at all ios: broken - posix: false + posix: true # TODO(yijiem): resolve when the WindowsEventEngine DNS Resolver is # implemented windows: broken -- name: work_stealing - default: true -- name: work_serializer_dispatch - default: false -- name: client_privacy - default: false -- name: canary_client_privacy - default: false -- name: server_privacy +- name: event_engine_listener + default: + # not tested on iOS at all + ios: broken + posix: true + windows: true +- name: free_large_allocator default: false +- name: http2_stats_fix + default: true - name: keepalive_fix default: false - name: keepalive_server_fix default: false -- name: lazier_stream_updates +- name: monitoring_experiment default: true -- name: jitter_max_idle +- name: peer_state_based_framing + default: false +- name: pending_queue_cap default: true -- name: round_robin_delegate_to_pick_first +- name: pick_first_happy_eyeballs default: true -- name: wrr_delegate_to_pick_first +- name: promise_based_client_call + default: + ios: broken + windows: broken + posix: false +- name: promise_based_server_call + default: false +- name: registered_method_lookup_in_transport default: true -- name: combiner_offload_to_event_engine +- name: round_robin_delegate_to_pick_first default: true -- name: registered_method_lookup_in_transport +- name: rstpit + default: false +- name: schedule_cancellation_over_write + default: false +- name: server_privacy + default: false +- name: tcp_frame_size_tuning + default: false +- name: tcp_rcv_lowat + default: false +- name: trace_record_callops + default: false +- name: unconstrained_max_quota_buffer_size + default: false +- name: work_serializer_clears_time_cache + default: true +- name: work_serializer_dispatch + default: + # TODO(ysseung): Not fully tested. + ios: broken + posix: true + # TODO(ysseung): Test flakes not fully resolved. + windows: broken +- name: wrr_delegate_to_pick_first default: true diff --git a/src/core/lib/gpr/.clang-format b/src/core/lib/gpr/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/src/core/lib/gpr/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/src/core/lib/gpr/alloc.cc b/src/core/lib/gpr/alloc.cc index 7d0f7eb36d5..67e07f81f09 100644 --- a/src/core/lib/gpr/alloc.cc +++ b/src/core/lib/gpr/alloc.cc @@ -50,6 +50,7 @@ void gpr_free(void* p) { free(p); } void* gpr_realloc(void* p, size_t size) { if ((size == 0) && (p == nullptr)) return nullptr; + // NOLINTNEXTLINE(bugprone-suspicious-realloc-usage) p = realloc(p, size); if (!p) { abort(); diff --git a/src/core/lib/gpr/posix/sync.cc b/src/core/lib/gpr/posix/sync.cc index c3cf035ba4d..4e57b2c6181 100644 --- a/src/core/lib/gpr/posix/sync.cc +++ b/src/core/lib/gpr/posix/sync.cc @@ -155,5 +155,5 @@ void gpr_once_init(gpr_once* once, void (*init_function)(void)) { GPR_ASSERT(pthread_once(once, init_function) == 0); } -#endif // defined(GPR_POSIX_SYNC) && !defined(GPR_ABSEIL_SYNC) && \ - // !defined(GPR_CUSTOM_SYNC) +#endif // defined(GPR_POSIX_SYNC) && !defined(GPR_ABSEIL_SYNC) && + // !defined(GPR_CUSTOM_SYNC) diff --git a/src/core/lib/gpr/posix/time.cc b/src/core/lib/gpr/posix/time.cc index 27f385e6462..843d2a727d8 100644 --- a/src/core/lib/gpr/posix/time.cc +++ b/src/core/lib/gpr/posix/time.cc @@ -74,12 +74,7 @@ static gpr_timespec now_impl(gpr_clock_type clock_type) { gpr_precise_clock_now(&ret); return ret; } else { -#if defined(GPR_BACKWARDS_COMPATIBILITY_MODE) && defined(__linux__) - // avoid ABI problems by invoking syscalls directly - syscall(SYS_clock_gettime, clockid_for_gpr_clock[clock_type], &now); -#else clock_gettime(clockid_for_gpr_clock[clock_type], &now); -#endif if (clock_type == GPR_CLOCK_MONOTONIC) { // Add 5 seconds arbitrarily: avoids weird conditions in gprpp/time.cc // when there's a small number of seconds returned. diff --git a/src/core/lib/gpr/windows/sync.cc b/src/core/lib/gpr/windows/sync.cc index f06c73efb04..2fb6748f89b 100644 --- a/src/core/lib/gpr/windows/sync.cc +++ b/src/core/lib/gpr/windows/sync.cc @@ -118,5 +118,5 @@ void gpr_once_init(gpr_once* once, void (*init_function)(void)) { InitOnceExecuteOnce(once, run_once_func, &arg, &phony); } -#endif // defined(GPR_WINDOWS) && !defined(GPR_ABSEIL_SYNC) && \ - // !defined(GPR_CUSTOM_SYNC) +#endif // defined(GPR_WINDOWS) && !defined(GPR_ABSEIL_SYNC) && + // !defined(GPR_CUSTOM_SYNC) diff --git a/src/core/lib/gpr/wrap_memcpy.cc b/src/core/lib/gpr/wrap_memcpy.cc deleted file mode 100644 index 0bbf703e613..00000000000 --- a/src/core/lib/gpr/wrap_memcpy.cc +++ /dev/null @@ -1,43 +0,0 @@ -// -// -// Copyright 2016 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// - -#include - -#include - -// Provide a wrapped memcpy for targets that need to be backwards -// compatible with older libc's. -// -// Enable by setting LDFLAGS=-Wl,-wrap,memcpy when linking. -// - -extern "C" { -#ifdef __linux__ -#if defined(__x86_64__) && !defined(GPR_MUSL_LIBC_COMPAT) && \ - !defined(__ANDROID__) -__asm__(".symver memcpy,memcpy@GLIBC_2.2.5"); -void* __wrap_memcpy(void* destination, const void* source, size_t num) { - return memcpy(destination, source, num); -} -#else // !__x86_64__ -void* __wrap_memcpy(void* destination, const void* source, size_t num) { - return memmove(destination, source, num); -} -#endif -#endif -} diff --git a/src/core/lib/gprpp/.clang-format b/src/core/lib/gprpp/.clang-format new file mode 100644 index 00000000000..64387e9e515 --- /dev/null +++ b/src/core/lib/gprpp/.clang-format @@ -0,0 +1,53 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Left +IncludeBlocks: Regroup +IncludeCategories: + # port_platform.h is before almost everything + - Regex: '^' + Priority: -100 + # ruby.h is even more first if it's included + - Regex: '^' + Priority: -200 + # Some platforms (namely msys) need wchar to be included BEFORE + # anything else, especially strsafe.h. + - Regex: '^' + Priority: 5 + # use priority 100+ for grpc headers so they sort last + # 'system' headers - include things that have " in the names to make them + # stand out and get fixed + - Regex: '^(<|")grpc' + Priority: 100 + # similary using include/ to get system headers should stand out and get + # fixed + - Regex: '^"include/' + Priority: 100 + # source headers go last + - Regex: '^"(src|test)/' + Priority: 101 + # not-grpc headers follow + # first, non system headers that are included like <> - these are all + # local carveouts, and get sorted below c++ but before non grpc "" files + - Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)' + Priority: 30 + # first C system headers - they have a . in the filename + - Regex: '^<.*\.' + Priority: 10 + # then C++ system headers - no ., the only thing that will match now + - Regex: '^<' + Priority: 20 + # finally other "" includes go between system headers and our headers + - Regex: '^"' + Priority: 40 +--- +Language: ObjC +BasedOnStyle: Google +ColumnLimit: 100 +ObjCBlockIndentWidth: 2 +--- +Language: Proto +BasedOnStyle: Google +ColumnLimit: 100 +... diff --git a/src/core/lib/gprpp/debug_location.h b/src/core/lib/gprpp/debug_location.h index 1a29f495383..73b9c04a5d6 100644 --- a/src/core/lib/gprpp/debug_location.h +++ b/src/core/lib/gprpp/debug_location.h @@ -19,6 +19,10 @@ #ifndef GRPC_SRC_CORE_LIB_GPRPP_DEBUG_LOCATION_H #define GRPC_SRC_CORE_LIB_GPRPP_DEBUG_LOCATION_H +#include + +#include + #if defined(__has_builtin) #if __has_builtin(__builtin_FILE) #define GRPC_DEFAULT_FILE __builtin_FILE() @@ -61,6 +65,7 @@ class DebugLocation { DebugLocation(const char* file = GRPC_DEFAULT_FILE, int line = GRPC_DEFAULT_LINE) : location_(file, line) {} + explicit DebugLocation(SourceLocation location) : location_(location) {} const char* file() const { return location_.file(); } int line() const { return location_.line(); } @@ -71,12 +76,22 @@ class DebugLocation { class DebugLocation { public: DebugLocation() {} + explicit DebugLocation(SourceLocation) {} DebugLocation(const char* /* file */, int /* line */) {} const char* file() const { return nullptr; } int line() const { return -1; } }; #endif +template +struct ValueWithDebugLocation { + // NOLINTNEXTLINE + ValueWithDebugLocation(T&& value, DebugLocation debug_location = {}) + : value(std::forward(value)), debug_location(debug_location) {} + T value; + GPR_NO_UNIQUE_ADDRESS DebugLocation debug_location; +}; + #define DEBUG_LOCATION ::grpc_core::DebugLocation(__FILE__, __LINE__) } // namespace grpc_core diff --git a/src/core/lib/gprpp/directory_reader.h b/src/core/lib/gprpp/directory_reader.h new file mode 100644 index 00000000000..0f0bbcf0b0c --- /dev/null +++ b/src/core/lib/gprpp/directory_reader.h @@ -0,0 +1,48 @@ +// +// +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// + +#ifndef GRPC_SRC_CORE_LIB_GPRPP_DIRECTORY_READER_H +#define GRPC_SRC_CORE_LIB_GPRPP_DIRECTORY_READER_H + +#include + +#include + +#include "absl/functional/function_ref.h" +#include "absl/status/status.h" +#include "absl/strings/string_view.h" + +namespace grpc_core { + +class DirectoryReader { + public: + virtual ~DirectoryReader() = default; + // Returns the name of the directory being read. + virtual absl::string_view Name() const = 0; + // Calls callback for each name in the directory except for "." and "..". + // Returns non-OK if there was an error reading the directory. + virtual absl::Status ForEach( + absl::FunctionRef callback) = 0; +}; + +std::unique_ptr MakeDirectoryReader( + absl::string_view filename); + +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_LIB_GPRPP_DIRECTORY_READER_H \ No newline at end of file diff --git a/src/core/lib/gprpp/down_cast.h b/src/core/lib/gprpp/down_cast.h new file mode 100644 index 00000000000..cb71a1f7f6c --- /dev/null +++ b/src/core/lib/gprpp/down_cast.h @@ -0,0 +1,49 @@ +// Copyright 2024 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_LIB_GPRPP_DOWN_CAST_H +#define GRPC_SRC_CORE_LIB_GPRPP_DOWN_CAST_H + +#include + +#include + +#include "absl/base/config.h" + +#include + +namespace grpc_core { + +template +inline To down_cast(From* f) { + static_assert( + std::is_base_of::type>::value, + "down_cast requires a base-to-derived relationship"); +// If we have RTTI & we're in debug, assert that the cast is legal. +#if ABSL_INTERNAL_HAS_RTTI +#ifndef NDEBUG + if (f != nullptr) GPR_ASSERT(dynamic_cast(f) != nullptr); +#endif +#endif + return static_cast(f); +} + +template +inline To down_cast(From& f) { + return *down_cast::type*>(&f); +} + +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_LIB_GPRPP_DOWN_CAST_H diff --git a/src/core/lib/gprpp/dual_ref_counted.h b/src/core/lib/gprpp/dual_ref_counted.h index 4fc6ea760da..547d1312e15 100644 --- a/src/core/lib/gprpp/dual_ref_counted.h +++ b/src/core/lib/gprpp/dual_ref_counted.h @@ -47,19 +47,38 @@ namespace grpc_core { template class DualRefCounted : public Orphanable { public: + // Not copyable nor movable. + DualRefCounted(const DualRefCounted&) = delete; + DualRefCounted& operator=(const DualRefCounted&) = delete; + ~DualRefCounted() override = default; GRPC_MUST_USE_RESULT RefCountedPtr Ref() { IncrementRefCount(); return RefCountedPtr(static_cast(this)); } - GRPC_MUST_USE_RESULT RefCountedPtr Ref(const DebugLocation& location, const char* reason) { IncrementRefCount(location, reason); return RefCountedPtr(static_cast(this)); } + template < + typename Subclass, + std::enable_if_t::value, bool> = true> + RefCountedPtr RefAsSubclass() { + IncrementRefCount(); + return RefCountedPtr(static_cast(this)); + } + template < + typename Subclass, + std::enable_if_t::value, bool> = true> + RefCountedPtr RefAsSubclass(const DebugLocation& location, + const char* reason) { + IncrementRefCount(location, reason); + return RefCountedPtr(static_cast(this)); + } + void Unref() { // Convert strong ref to weak ref. const uint64_t prev_ref_pair = @@ -120,7 +139,6 @@ class DualRefCounted : public Orphanable { std::memory_order_acq_rel, std::memory_order_acquire)); return RefCountedPtr(static_cast(this)); } - GRPC_MUST_USE_RESULT RefCountedPtr RefIfNonZero( const DebugLocation& location, const char* reason) { uint64_t prev_ref_pair = refs_.load(std::memory_order_acquire); @@ -150,13 +168,28 @@ class DualRefCounted : public Orphanable { IncrementWeakRefCount(); return WeakRefCountedPtr(static_cast(this)); } - GRPC_MUST_USE_RESULT WeakRefCountedPtr WeakRef( const DebugLocation& location, const char* reason) { IncrementWeakRefCount(location, reason); return WeakRefCountedPtr(static_cast(this)); } + template < + typename Subclass, + std::enable_if_t::value, bool> = true> + WeakRefCountedPtr WeakRefAsSubclass() { + IncrementWeakRefCount(); + return WeakRefCountedPtr(static_cast(this)); + } + template < + typename Subclass, + std::enable_if_t::value, bool> = true> + WeakRefCountedPtr WeakRefAsSubclass(const DebugLocation& location, + const char* reason) { + IncrementWeakRefCount(location, reason); + return WeakRefCountedPtr(static_cast(this)); + } + void WeakUnref() { #ifndef NDEBUG // Grab a copy of the trace flag before the atomic change, since we @@ -207,10 +240,6 @@ class DualRefCounted : public Orphanable { } } - // Not copyable nor movable. - DualRefCounted(const DualRefCounted&) = delete; - DualRefCounted& operator=(const DualRefCounted&) = delete; - protected: // Note: Tracing is a no-op in non-debug builds. explicit DualRefCounted( diff --git a/src/core/lib/gprpp/host_port.cc b/src/core/lib/gprpp/host_port.cc index 4e19c39a8d2..47404626f97 100644 --- a/src/core/lib/gprpp/host_port.cc +++ b/src/core/lib/gprpp/host_port.cc @@ -22,8 +22,6 @@ #include -#include - #include "absl/strings/str_format.h" #include "absl/strings/string_view.h" diff --git a/src/core/lib/gprpp/linux/env.cc b/src/core/lib/gprpp/linux/env.cc index feca6a71e4c..3c6626166e9 100644 --- a/src/core/lib/gprpp/linux/env.cc +++ b/src/core/lib/gprpp/linux/env.cc @@ -29,10 +29,6 @@ #ifdef GPR_LINUX_ENV -#if defined(GPR_BACKWARDS_COMPATIBILITY_MODE) -#include -#endif - #include #include @@ -42,21 +38,7 @@ namespace grpc_core { absl::optional GetEnv(const char* name) { char* result = nullptr; -#if defined(GPR_BACKWARDS_COMPATIBILITY_MODE) - typedef char* (*getenv_type)(const char*); - static getenv_type getenv_func = nullptr; - // Check to see which getenv variant is supported (go from most - // to least secure) - if (getenv_func == nullptr) { - for (auto name : {"secure_getenv", "__secure_getenv", "getenv"}) { - getenv_func = reinterpret_cast(dlsym(RTLD_DEFAULT, name)); - if (getenv_func != nullptr) { - break; - } - } - } - result = getenv_func(name); -#elif __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 17) +#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 17) result = secure_getenv(name); #else result = getenv(name); diff --git a/src/core/lib/gprpp/load_file.cc b/src/core/lib/gprpp/load_file.cc index 79ca2374066..e03ee728c06 100644 --- a/src/core/lib/gprpp/load_file.cc +++ b/src/core/lib/gprpp/load_file.cc @@ -32,7 +32,8 @@ namespace grpc_core { // Loads the content of a file into a slice. add_null_terminator will add a NULL // terminator if true. -absl::StatusOr LoadFile(std::string filename, bool add_null_terminator) { +absl::StatusOr LoadFile(const std::string& filename, + bool add_null_terminator) { unsigned char* contents = nullptr; size_t contents_size = 0; FILE* file; diff --git a/src/core/lib/gprpp/load_file.h b/src/core/lib/gprpp/load_file.h index 2b7259decf8..242ba0463d4 100644 --- a/src/core/lib/gprpp/load_file.h +++ b/src/core/lib/gprpp/load_file.h @@ -27,7 +27,8 @@ namespace grpc_core { // Loads the content of a file into a slice. add_null_terminator will add a NULL // terminator if true. -absl::StatusOr LoadFile(std::string filename, bool add_null_terminator); +absl::StatusOr LoadFile(const std::string& filename, + bool add_null_terminator); } // namespace grpc_core #endif // GRPC_SRC_CORE_LIB_GPRPP_LOAD_FILE_H diff --git a/src/core/lib/gprpp/match.h b/src/core/lib/gprpp/match.h index 5b210207f33..510e653f490 100644 --- a/src/core/lib/gprpp/match.h +++ b/src/core/lib/gprpp/match.h @@ -17,7 +17,7 @@ #include -#include +#include #include "absl/types/variant.h" diff --git a/src/core/lib/gprpp/orphanable.h b/src/core/lib/gprpp/orphanable.h index 86319429e5c..f74cadfaf0c 100644 --- a/src/core/lib/gprpp/orphanable.h +++ b/src/core/lib/gprpp/orphanable.h @@ -97,6 +97,33 @@ class InternallyRefCounted : public Orphanable { return RefCountedPtr(static_cast(this)); } + template < + typename Subclass, + std::enable_if_t::value, bool> = true> + RefCountedPtr RefAsSubclass() { + IncrementRefCount(); + return RefCountedPtr(static_cast(this)); + } + template < + typename Subclass, + std::enable_if_t::value, bool> = true> + RefCountedPtr RefAsSubclass(const DebugLocation& location, + const char* reason) { + IncrementRefCount(location, reason); + return RefCountedPtr(static_cast(this)); + } + + GRPC_MUST_USE_RESULT RefCountedPtr RefIfNonZero() { + return RefCountedPtr(refs_.RefIfNonZero() ? static_cast(this) + : nullptr); + } + GRPC_MUST_USE_RESULT RefCountedPtr RefIfNonZero( + const DebugLocation& location, const char* reason) { + return RefCountedPtr(refs_.RefIfNonZero(location, reason) + ? static_cast(this) + : nullptr); + } + void Unref() { if (GPR_UNLIKELY(refs_.Unref())) { unref_behavior_(static_cast(this)); diff --git a/src/core/lib/gprpp/posix/directory_reader.cc b/src/core/lib/gprpp/posix/directory_reader.cc new file mode 100644 index 00000000000..ecdf3c68c66 --- /dev/null +++ b/src/core/lib/gprpp/posix/directory_reader.cc @@ -0,0 +1,82 @@ +// +// +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// + +#include + +#include + +#include "absl/functional/function_ref.h" +#include "absl/status/status.h" +#include "absl/strings/string_view.h" + +#if defined(GPR_LINUX) || defined(GPR_ANDROID) || defined(GPR_FREEBSD) || \ + defined(GPR_APPLE) + +#include + +#include + +#include "src/core/lib/gprpp/directory_reader.h" + +namespace grpc_core { + +namespace { +const char kSkipEntriesSelf[] = "."; +const char kSkipEntriesParent[] = ".."; +} // namespace + +class DirectoryReaderImpl : public DirectoryReader { + public: + explicit DirectoryReaderImpl(absl::string_view directory_path) + : directory_path_(directory_path) {} + absl::string_view Name() const override { return directory_path_; } + absl::Status ForEach(absl::FunctionRef) override; + + private: + const std::string directory_path_; +}; + +std::unique_ptr MakeDirectoryReader( + absl::string_view filename) { + return std::make_unique(filename); +} + +absl::Status DirectoryReaderImpl::ForEach( + absl::FunctionRef callback) { + // Open the dir for reading + DIR* directory = opendir(directory_path_.c_str()); + if (directory == nullptr) { + return absl::InternalError("Could not read crl directory."); + } + struct dirent* directory_entry; + // Iterate over everything in the directory + while ((directory_entry = readdir(directory)) != nullptr) { + const absl::string_view file_name = directory_entry->d_name; + // Skip "." and ".." + if (file_name == kSkipEntriesParent || file_name == kSkipEntriesSelf) { + continue; + } + // Call the callback with this filename + callback(file_name); + } + closedir(directory); + return absl::OkStatus(); +} +} // namespace grpc_core + +#endif // GPR_LINUX || GPR_ANDROID || GPR_FREEBSD || GPR_APPLE diff --git a/src/core/lib/gprpp/posix/stat.cc b/src/core/lib/gprpp/posix/stat.cc index 4212ea991d4..d0a8ada998e 100644 --- a/src/core/lib/gprpp/posix/stat.cc +++ b/src/core/lib/gprpp/posix/stat.cc @@ -21,7 +21,6 @@ // IWYU pragma: no_include #include "absl/status/status.h" -#include "absl/strings/string_view.h" #ifdef GPR_POSIX_STAT diff --git a/src/core/lib/gprpp/posix/thd.cc b/src/core/lib/gprpp/posix/thd.cc index e33198a9ad3..4df83de4050 100644 --- a/src/core/lib/gprpp/posix/thd.cc +++ b/src/core/lib/gprpp/posix/thd.cc @@ -20,9 +20,10 @@ #include -#include +#include -#include +#include +#include #ifdef GPR_POSIX_SYNC @@ -34,6 +35,7 @@ #include #include #include +#include #include "src/core/lib/gpr/useful.h" #include "src/core/lib/gprpp/crash.h" @@ -43,6 +45,7 @@ namespace grpc_core { namespace { + class ThreadInternalsPosix; struct thd_arg { @@ -192,6 +195,28 @@ class ThreadInternalsPosix : public internal::ThreadInternalsInterface { } // namespace +void Thread::Signal(gpr_thd_id tid, int sig) { + auto kill_err = pthread_kill((pthread_t)tid, sig); + if (kill_err != 0) { + gpr_log(GPR_ERROR, "pthread_kill for tid %" PRIdPTR " failed: %s", tid, + StrError(kill_err).c_str()); + } +} + +#ifndef GPR_ANDROID +void Thread::Kill(gpr_thd_id tid) { + auto cancel_err = pthread_cancel((pthread_t)tid); + if (cancel_err != 0) { + gpr_log(GPR_ERROR, "pthread_cancel for tid %" PRIdPTR " failed: %s", tid, + StrError(cancel_err).c_str()); + } +} +#else // GPR_ANDROID +void Thread::Kill(gpr_thd_id /* tid */) { + gpr_log(GPR_DEBUG, "Thread::Kill is not supported on Android."); +} +#endif + Thread::Thread(const char* thd_name, void (*thd_body)(void* arg), void* arg, bool* success, const Options& options) : options_(options) { diff --git a/src/core/lib/gprpp/ref_counted.h b/src/core/lib/gprpp/ref_counted.h index cdf692c5ce7..9d56397fdb7 100644 --- a/src/core/lib/gprpp/ref_counted.h +++ b/src/core/lib/gprpp/ref_counted.h @@ -219,7 +219,7 @@ class NonPolymorphicRefCount { // Default behavior: Delete the object. struct UnrefDelete { template - void operator()(T* p) { + void operator()(T* p) const { delete p; } }; @@ -231,7 +231,7 @@ struct UnrefDelete { // later by identifying entries for which RefIfNonZero() returns null. struct UnrefNoDelete { template - void operator()(T* /*p*/) {} + void operator()(T* /*p*/) const {} }; // Call the object's dtor but do not delete it. This is useful for cases @@ -239,7 +239,7 @@ struct UnrefNoDelete { // arena). struct UnrefCallDtor { template - void operator()(T* p) { + void operator()(T* p) const { p->~T(); } }; @@ -276,35 +276,52 @@ class RefCounted : public Impl { public: using RefCountedChildType = Child; + // Not copyable nor movable. + RefCounted(const RefCounted&) = delete; + RefCounted& operator=(const RefCounted&) = delete; + // Note: Depending on the Impl used, this dtor can be implicitly virtual. ~RefCounted() = default; + // Ref() for mutable types. GRPC_MUST_USE_RESULT RefCountedPtr Ref() { IncrementRefCount(); return RefCountedPtr(static_cast(this)); } - GRPC_MUST_USE_RESULT RefCountedPtr Ref(const DebugLocation& location, const char* reason) { IncrementRefCount(location, reason); return RefCountedPtr(static_cast(this)); } - // TODO(roth): Once all of our code is converted to C++ and can use - // RefCountedPtr<> instead of manual ref-counting, make this method - // private, since it will only be used by RefCountedPtr<>, which is a - // friend of this class. - void Unref() { - if (GPR_UNLIKELY(refs_.Unref())) { - unref_behavior_(static_cast(this)); - } + // Ref() for const types. + GRPC_MUST_USE_RESULT RefCountedPtr Ref() const { + IncrementRefCount(); + return RefCountedPtr(static_cast(this)); } - void Unref(const DebugLocation& location, const char* reason) { - if (GPR_UNLIKELY(refs_.Unref(location, reason))) { - unref_behavior_(static_cast(this)); - } + GRPC_MUST_USE_RESULT RefCountedPtr Ref( + const DebugLocation& location, const char* reason) const { + IncrementRefCount(location, reason); + return RefCountedPtr(static_cast(this)); + } + + template < + typename Subclass, + std::enable_if_t::value, bool> = true> + RefCountedPtr RefAsSubclass() { + IncrementRefCount(); + return RefCountedPtr(static_cast(this)); + } + template < + typename Subclass, + std::enable_if_t::value, bool> = true> + RefCountedPtr RefAsSubclass(const DebugLocation& location, + const char* reason) { + IncrementRefCount(location, reason); + return RefCountedPtr(static_cast(this)); } + // RefIfNonZero() for mutable types. GRPC_MUST_USE_RESULT RefCountedPtr RefIfNonZero() { return RefCountedPtr(refs_.RefIfNonZero() ? static_cast(this) : nullptr); @@ -316,9 +333,32 @@ class RefCounted : public Impl { : nullptr); } - // Not copyable nor movable. - RefCounted(const RefCounted&) = delete; - RefCounted& operator=(const RefCounted&) = delete; + // RefIfNonZero() for const types. + GRPC_MUST_USE_RESULT RefCountedPtr RefIfNonZero() const { + return RefCountedPtr( + refs_.RefIfNonZero() ? static_cast(this) : nullptr); + } + GRPC_MUST_USE_RESULT RefCountedPtr RefIfNonZero( + const DebugLocation& location, const char* reason) const { + return RefCountedPtr(refs_.RefIfNonZero(location, reason) + ? static_cast(this) + : nullptr); + } + + // TODO(roth): Once all of our code is converted to C++ and can use + // RefCountedPtr<> instead of manual ref-counting, make this method + // private, since it will only be used by RefCountedPtr<>, which is a + // friend of this class. + void Unref() const { + if (GPR_UNLIKELY(refs_.Unref())) { + unref_behavior_(static_cast(this)); + } + } + void Unref(const DebugLocation& location, const char* reason) const { + if (GPR_UNLIKELY(refs_.Unref(location, reason))) { + unref_behavior_(static_cast(this)); + } + } protected: // Note: Tracing is a no-op on non-debug builds. @@ -336,12 +376,13 @@ class RefCounted : public Impl { template friend class RefCountedPtr; - void IncrementRefCount() { refs_.Ref(); } - void IncrementRefCount(const DebugLocation& location, const char* reason) { + void IncrementRefCount() const { refs_.Ref(); } + void IncrementRefCount(const DebugLocation& location, + const char* reason) const { refs_.Ref(location, reason); } - RefCount refs_; + mutable RefCount refs_; GPR_NO_UNIQUE_ADDRESS UnrefBehavior unref_behavior_; }; diff --git a/src/core/lib/gprpp/ref_counted_ptr.h b/src/core/lib/gprpp/ref_counted_ptr.h index adcffe40f1d..3da9b7de0f4 100644 --- a/src/core/lib/gprpp/ref_counted_ptr.h +++ b/src/core/lib/gprpp/ref_counted_ptr.h @@ -43,7 +43,8 @@ class RefCountedPtr { RefCountedPtr(std::nullptr_t) {} // If value is non-null, we take ownership of a ref to it. - template + template ::value, bool> = true> explicit RefCountedPtr(Y* value) : value_(value) {} // Move ctors. @@ -51,7 +52,8 @@ class RefCountedPtr { value_ = other.value_; other.value_ = nullptr; } - template + template ::value, bool> = true> // NOLINTNEXTLINE(google-explicit-constructor) RefCountedPtr(RefCountedPtr&& other) noexcept { value_ = static_cast(other.value_); @@ -63,7 +65,8 @@ class RefCountedPtr { reset(std::exchange(other.value_, nullptr)); return *this; } - template + template ::value, bool> = true> RefCountedPtr& operator=(RefCountedPtr&& other) noexcept { reset(std::exchange(other.value_, nullptr)); return *this; @@ -74,7 +77,8 @@ class RefCountedPtr { if (other.value_ != nullptr) other.value_->IncrementRefCount(); value_ = other.value_; } - template + template ::value, bool> = true> // NOLINTNEXTLINE(google-explicit-constructor) RefCountedPtr(const RefCountedPtr& other) { static_assert(std::has_virtual_destructor::value, @@ -92,7 +96,8 @@ class RefCountedPtr { reset(other.value_); return *this; } - template + template ::value, bool> = true> RefCountedPtr& operator=(const RefCountedPtr& other) { static_assert(std::has_virtual_destructor::value, "T does not have a virtual dtor"); @@ -107,6 +112,12 @@ class RefCountedPtr { if (value_ != nullptr) value_->Unref(); } + // An explicit copy method that supports ref-count tracing. + RefCountedPtr Ref(const DebugLocation& location, const char* reason) { + if (value_ != nullptr) value_->IncrementRefCount(location, reason); + return RefCountedPtr(value_); + } + void swap(RefCountedPtr& other) { std::swap(value_, other.value_); } // If value is non-null, we take ownership of a ref to it. @@ -119,13 +130,15 @@ class RefCountedPtr { T* old_value = std::exchange(value_, value); if (old_value != nullptr) old_value->Unref(location, reason); } - template + template ::value, bool> = true> void reset(Y* value = nullptr) { static_assert(std::has_virtual_destructor::value, "T does not have a virtual dtor"); reset(static_cast(value)); } - template + template ::value, bool> = true> void reset(const DebugLocation& location, const char* reason, Y* value = nullptr) { static_assert(std::has_virtual_destructor::value, @@ -143,24 +156,34 @@ class RefCountedPtr { T& operator*() const { return *value_; } T* operator->() const { return value_; } - template + template ::value, bool> = true> + RefCountedPtr TakeAsSubclass() { + return RefCountedPtr(static_cast(release())); + } + + template ::value, bool> = true> bool operator==(const RefCountedPtr& other) const { return value_ == other.value_; } - template + template ::value, bool> = true> bool operator==(const Y* other) const { return value_ == other; } bool operator==(std::nullptr_t) const { return value_ == nullptr; } - template + template ::value, bool> = true> bool operator!=(const RefCountedPtr& other) const { return value_ != other.value_; } - template + template ::value, bool> = true> bool operator!=(const Y* other) const { return value_ != other; } @@ -184,7 +207,8 @@ class WeakRefCountedPtr { WeakRefCountedPtr(std::nullptr_t) {} // If value is non-null, we take ownership of a ref to it. - template + template ::value, bool> = true> explicit WeakRefCountedPtr(Y* value) { value_ = value; } @@ -194,7 +218,8 @@ class WeakRefCountedPtr { value_ = other.value_; other.value_ = nullptr; } - template + template ::value, bool> = true> // NOLINTNEXTLINE(google-explicit-constructor) WeakRefCountedPtr(WeakRefCountedPtr&& other) noexcept { value_ = static_cast(other.value_); @@ -206,7 +231,8 @@ class WeakRefCountedPtr { reset(std::exchange(other.value_, nullptr)); return *this; } - template + template ::value, bool> = true> WeakRefCountedPtr& operator=(WeakRefCountedPtr&& other) noexcept { reset(std::exchange(other.value_, nullptr)); return *this; @@ -217,7 +243,8 @@ class WeakRefCountedPtr { if (other.value_ != nullptr) other.value_->IncrementWeakRefCount(); value_ = other.value_; } - template + template ::value, bool> = true> // NOLINTNEXTLINE(google-explicit-constructor) WeakRefCountedPtr(const WeakRefCountedPtr& other) { static_assert(std::has_virtual_destructor::value, @@ -235,7 +262,8 @@ class WeakRefCountedPtr { reset(other.value_); return *this; } - template + template ::value, bool> = true> WeakRefCountedPtr& operator=(const WeakRefCountedPtr& other) { static_assert(std::has_virtual_destructor::value, "T does not have a virtual dtor"); @@ -250,6 +278,13 @@ class WeakRefCountedPtr { if (value_ != nullptr) value_->WeakUnref(); } + // An explicit copy method that supports ref-count tracing. + WeakRefCountedPtr WeakRef(const DebugLocation& location, + const char* reason) { + if (value_ != nullptr) value_->IncrementWeakRefCount(location, reason); + return WeakRefCountedPtr(value_); + } + void swap(WeakRefCountedPtr& other) { std::swap(value_, other.value_); } // If value is non-null, we take ownership of a ref to it. @@ -262,13 +297,15 @@ class WeakRefCountedPtr { T* old_value = std::exchange(value_, value); if (old_value != nullptr) old_value->WeakUnref(location, reason); } - template + template ::value, bool> = true> void reset(Y* value = nullptr) { static_assert(std::has_virtual_destructor::value, "T does not have a virtual dtor"); reset(static_cast(value)); } - template + template ::value, bool> = true> void reset(const DebugLocation& location, const char* reason, Y* value = nullptr) { static_assert(std::has_virtual_destructor::value, @@ -280,35 +317,41 @@ class WeakRefCountedPtr { // us to pass a ref to idiomatic C code that does not use WeakRefCountedPtr<>. // Once all of our code has been converted to idiomatic C++, this // method should go away. - T* release() { - T* value = value_; - value_ = nullptr; - return value; - } + T* release() { return std::exchange(value_, nullptr); } T* get() const { return value_; } T& operator*() const { return *value_; } T* operator->() const { return value_; } - template + template ::value, bool> = true> + WeakRefCountedPtr TakeAsSubclass() { + return WeakRefCountedPtr(static_cast(release())); + } + + template ::value, bool> = true> bool operator==(const WeakRefCountedPtr& other) const { return value_ == other.value_; } - template + template ::value, bool> = true> bool operator==(const Y* other) const { return value_ == other; } bool operator==(std::nullptr_t) const { return value_ == nullptr; } - template + template ::value, bool> = true> bool operator!=(const WeakRefCountedPtr& other) const { return value_ != other.value_; } - template + template ::value, bool> = true> bool operator!=(const Y* other) const { return value_ != other; } diff --git a/src/core/lib/gprpp/ref_counted_string.h b/src/core/lib/gprpp/ref_counted_string.h index 8bcdb87eea9..dbe32b113da 100644 --- a/src/core/lib/gprpp/ref_counted_string.h +++ b/src/core/lib/gprpp/ref_counted_string.h @@ -21,6 +21,8 @@ #include +#include + #include "absl/strings/string_view.h" #include "src/core/lib/gprpp/ref_counted.h" @@ -102,6 +104,19 @@ inline bool operator==(const RefCountedStringValue& lhs, return lhs.as_string_view() == rhs.as_string_view(); } +inline bool operator!=(const RefCountedStringValue& lhs, + absl::string_view rhs) { + return lhs.as_string_view() != rhs; +} +inline bool operator!=(absl::string_view lhs, + const RefCountedStringValue& rhs) { + return lhs != rhs.as_string_view(); +} +inline bool operator!=(const RefCountedStringValue& lhs, + const RefCountedStringValue& rhs) { + return lhs.as_string_view() != rhs.as_string_view(); +} + inline bool operator<(const RefCountedStringValue& lhs, absl::string_view rhs) { return lhs.as_string_view() < rhs; } diff --git a/src/core/lib/gprpp/status_helper.cc b/src/core/lib/gprpp/status_helper.cc index bb6c84e81b9..85302a985b9 100644 --- a/src/core/lib/gprpp/status_helper.cc +++ b/src/core/lib/gprpp/status_helper.cc @@ -22,7 +22,6 @@ #include -#include #include #include "absl/strings/cord.h" @@ -35,8 +34,7 @@ #include "google/protobuf/any.upb.h" #include "google/rpc/status.upb.h" #include "upb/base/string_view.h" -#include "upb/mem/arena.h" -#include "upb/upb.hpp" +#include "upb/mem/arena.hpp" #include diff --git a/src/core/lib/gprpp/strerror.cc b/src/core/lib/gprpp/strerror.cc index d2d3e9f9269..021e61ba48f 100644 --- a/src/core/lib/gprpp/strerror.cc +++ b/src/core/lib/gprpp/strerror.cc @@ -18,8 +18,6 @@ #include -#include - #include "absl/strings/str_format.h" namespace grpc_core { diff --git a/src/core/lib/gprpp/thd.h b/src/core/lib/gprpp/thd.h index a2d9101bce3..c0f218d75aa 100644 --- a/src/core/lib/gprpp/thd.h +++ b/src/core/lib/gprpp/thd.h @@ -31,6 +31,7 @@ #include "absl/functional/any_invocable.h" #include +#include namespace grpc_core { namespace internal { @@ -47,6 +48,13 @@ class ThreadInternalsInterface { class Thread { public: + // Send a signal to the thread. + // This is not supported on all platforms + static void Signal(gpr_thd_id tid, int sig); + // Kill the running thread. Likely not a clean operation. + // This is not supported on all platforms. + static void Kill(gpr_thd_id tid); + class Options { public: Options() : joinable_(true), tracked_(true), stack_size_(0) {} diff --git a/src/core/lib/gprpp/time.cc b/src/core/lib/gprpp/time.cc index 40ba366c574..ba04e3347fd 100644 --- a/src/core/lib/gprpp/time.cc +++ b/src/core/lib/gprpp/time.cc @@ -18,7 +18,6 @@ #include #include -#include #include #include #include diff --git a/src/core/lib/gprpp/time.h b/src/core/lib/gprpp/time.h index 32b1065e380..65aa968bc8e 100644 --- a/src/core/lib/gprpp/time.h +++ b/src/core/lib/gprpp/time.h @@ -37,7 +37,7 @@ uint64_t now = grpc_core::Timestamp::FromTimespecRoundDown( \ gpr_now(GPR_CLOCK_MONOTONIC)) \ .milliseconds_after_process_epoch(); \ - if (prev == 0 || now - prev > (n)*1000) { \ + if (prev == 0 || now - prev > (n) * 1000) { \ prev = now; \ gpr_log(severity, format, __VA_ARGS__); \ } \ @@ -49,8 +49,9 @@ uint64_t now = grpc_core::Timestamp::FromTimespecRoundDown( \ gpr_now(GPR_CLOCK_MONOTONIC)) \ .milliseconds_after_process_epoch(); \ - uint64_t prev_tsamp = prev.exchange(now); \ - if (now - prev_tsamp > (n)*1000) { \ + if (prev == 0) prev = now; \ + if (now - prev > (n) * 1000) { \ + prev = now; \ gpr_log(severity, format, __VA_ARGS__); \ } \ } while (0) diff --git a/src/core/lib/gprpp/uuid_v4.cc b/src/core/lib/gprpp/uuid_v4.cc index ee98556f94e..5c3f3cd8e36 100644 --- a/src/core/lib/gprpp/uuid_v4.cc +++ b/src/core/lib/gprpp/uuid_v4.cc @@ -20,8 +20,6 @@ #include "src/core/lib/gprpp/uuid_v4.h" -#include - #include "absl/strings/str_format.h" namespace grpc_core { diff --git a/src/core/lib/gprpp/validation_errors.cc b/src/core/lib/gprpp/validation_errors.cc index d6fecce934b..fd6402e0f35 100644 --- a/src/core/lib/gprpp/validation_errors.cc +++ b/src/core/lib/gprpp/validation_errors.cc @@ -16,7 +16,6 @@ #include "src/core/lib/gprpp/validation_errors.h" -#include #include #include "absl/status/status.h" diff --git a/src/core/lib/gprpp/windows/directory_reader.cc b/src/core/lib/gprpp/windows/directory_reader.cc new file mode 100644 index 00000000000..3d45ee6532d --- /dev/null +++ b/src/core/lib/gprpp/windows/directory_reader.cc @@ -0,0 +1,81 @@ +// +// +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// + +#include + +#if defined(GPR_WINDOWS) + +#include +#include + +#include +#include + +#include "absl/status/statusor.h" +#include "absl/strings/str_cat.h" +#include "absl/strings/string_view.h" + +#include + +#include "src/core/lib/gprpp/directory_reader.h" +namespace grpc_core { + +namespace { +const char kSkipEntriesSelf[] = "."; +const char kSkipEntriesParent[] = ".."; +} // namespace + +class DirectoryReaderImpl : public DirectoryReader { + public: + explicit DirectoryReaderImpl(absl::string_view directory_path) + : directory_path_(directory_path) {} + absl::string_view Name() const override { return directory_path_; } + absl::Status ForEach(absl::FunctionRef) override; + + private: + const std::string directory_path_; +}; + +std::unique_ptr MakeDirectoryReader( + absl::string_view filename) { + return std::make_unique(filename); +} + +// Reference for reading directory in Windows: +// https://stackoverflow.com/questions/612097/how-can-i-get-the-list-of-files-in-a-directory-using-c-or-c +// https://learn.microsoft.com/en-us/windows/win32/fileio/listing-the-files-in-a-directory +absl::Status DirectoryReaderImpl::ForEach( + absl::FunctionRef callback) { + std::string search_path = absl::StrCat(directory_path_, "/*"); + WIN32_FIND_DATAA find_data; + HANDLE hFind = ::FindFirstFileA(search_path.c_str(), &find_data); + if (hFind == INVALID_HANDLE_VALUE) { + return absl::InternalError("Could not read crl directory."); + } + do { + if (!(find_data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { + callback(find_data.cFileName); + } + } while (::FindNextFileA(hFind, &find_data)); + ::FindClose(hFind); + return absl::OkStatus(); +} + +} // namespace grpc_core + +#endif // GPR_WINDOWS diff --git a/src/core/lib/gprpp/windows/thd.cc b/src/core/lib/gprpp/windows/thd.cc index 58efa7e1832..ffabe3545fe 100644 --- a/src/core/lib/gprpp/windows/thd.cc +++ b/src/core/lib/gprpp/windows/thd.cc @@ -17,7 +17,6 @@ // // Windows implementation for gpr threads. - #include #ifdef GPR_WINDOWS @@ -146,6 +145,16 @@ class ThreadInternalsWindows namespace grpc_core { +void Thread::Signal(gpr_thd_id /* tid */, int /* sig */) { + // TODO(hork): Implement + gpr_log(GPR_DEBUG, "Thread signals are not supported on Windows."); +} + +void Thread::Kill(gpr_thd_id /* tid */) { + // TODO(hork): Implement + gpr_log(GPR_DEBUG, "Thread::Kill is not supported on Windows."); +} + Thread::Thread(const char* /* thd_name */, void (*thd_body)(void* arg), void* arg, bool* success, const Options& options) : options_(options) { diff --git a/src/core/lib/gprpp/work_serializer.cc b/src/core/lib/gprpp/work_serializer.cc index 530238d5497..1959deed98d 100644 --- a/src/core/lib/gprpp/work_serializer.cc +++ b/src/core/lib/gprpp/work_serializer.cc @@ -262,6 +262,9 @@ void WorkSerializer::LegacyWorkSerializer::DrainQueueOwned() { } // There is at least one callback on the queue. Pop the callback from the // queue and execute it. + if (IsWorkSerializerClearsTimeCacheEnabled() && ExecCtx::Get() != nullptr) { + ExecCtx::Get()->InvalidateNow(); + } CallbackWrapper* cb_wrapper = nullptr; bool empty_unused; while ((cb_wrapper = reinterpret_cast( diff --git a/src/core/lib/gprpp/xxhash_inline.h b/src/core/lib/gprpp/xxhash_inline.h new file mode 100644 index 00000000000..6b12c711216 --- /dev/null +++ b/src/core/lib/gprpp/xxhash_inline.h @@ -0,0 +1,29 @@ +// +// Copyright 2023 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + +#ifndef GRPC_SRC_CORE_LIB_GPRPP_XXHASH_INLINE_H +#define GRPC_SRC_CORE_LIB_GPRPP_XXHASH_INLINE_H + +#include + +// This header is a simple wrapper around the third-party xxhash +// library, so that we don't need to define XXH_INLINE_ALL in every file +// that includes xxhash.h. That definition confuses clang-format's +// ordering of includes. +#define XXH_INLINE_ALL +#include "xxhash.h" + +#endif // GRPC_SRC_CORE_LIB_GPRPP_XXHASH_INLINE_H diff --git a/src/core/lib/http/format_request.cc b/src/core/lib/http/format_request.cc index 053bc1c4dcd..ec0862cb48f 100644 --- a/src/core/lib/http/format_request.cc +++ b/src/core/lib/http/format_request.cc @@ -24,7 +24,6 @@ #include #include -#include #include #include diff --git a/src/core/lib/http/httpcli.cc b/src/core/lib/http/httpcli.cc index 9691889cf98..153a2776896 100644 --- a/src/core/lib/http/httpcli.cc +++ b/src/core/lib/http/httpcli.cc @@ -22,7 +22,6 @@ #include -#include #include #include @@ -31,7 +30,6 @@ #include "absl/strings/str_format.h" #include -#include #include #include #include diff --git a/src/core/lib/iomgr/combiner.cc b/src/core/lib/iomgr/combiner.cc index cb4242ffe13..d0e635ffd22 100644 --- a/src/core/lib/iomgr/combiner.cc +++ b/src/core/lib/iomgr/combiner.cc @@ -51,19 +51,11 @@ static void combiner_finally_exec(grpc_core::Combiner* lock, grpc_closure* closure, grpc_error_handle error); -// TODO(ctiller): delete this when the combiner_offload_to_event_engine -// experiment is removed. -static void offload(void* arg, grpc_error_handle error); - grpc_core::Combiner* grpc_combiner_create( std::shared_ptr event_engine) { grpc_core::Combiner* lock = new grpc_core::Combiner(); - if (grpc_core::IsCombinerOffloadToEventEngineEnabled()) { - lock->event_engine = event_engine; - } else { - GRPC_CLOSURE_INIT(&lock->offload, offload, lock, nullptr); - } + lock->event_engine = event_engine; gpr_ref_init(&lock->refs, 1); gpr_atm_no_barrier_store(&lock->state, STATE_UNORPHANED); grpc_closure_list_init(&lock->final_list); @@ -173,24 +165,18 @@ static void move_next() { } } -static void offload(void* arg, grpc_error_handle /*error*/) { - grpc_core::Combiner* lock = static_cast(arg); - push_last_on_exec_ctx(lock); -} - static void queue_offload(grpc_core::Combiner* lock) { move_next(); + // Make the combiner look uncontended by storing a non-null value here, so + // that we don't immediately offload again. + gpr_atm_no_barrier_store(&lock->initiating_exec_ctx_or_null, 1); GRPC_COMBINER_TRACE(gpr_log(GPR_INFO, "C:%p queue_offload", lock)); - if (grpc_core::IsCombinerOffloadToEventEngineEnabled()) { - lock->event_engine->Run([lock] { - grpc_core::ApplicationCallbackExecCtx callback_exec_ctx; - grpc_core::ExecCtx exec_ctx(0); - push_last_on_exec_ctx(lock); - exec_ctx.Flush(); - }); - } else { - grpc_core::Executor::Run(&lock->offload, absl::OkStatus()); - } + lock->event_engine->Run([lock] { + grpc_core::ApplicationCallbackExecCtx callback_exec_ctx; + grpc_core::ExecCtx exec_ctx(0); + push_last_on_exec_ctx(lock); + exec_ctx.Flush(); + }); } bool grpc_combiner_continue_exec_ctx() { @@ -212,33 +198,14 @@ bool grpc_combiner_continue_exec_ctx() { grpc_core::ExecCtx::Get()->IsReadyToFinish(), lock->time_to_execute_final_list)); - if (grpc_core::IsCombinerOffloadToEventEngineEnabled()) { - // offload only if both (1) the combiner is contended and has more than one - // closure to execute, and (2) the current execution context needs to finish - // as soon as possible - if (contended && grpc_core::ExecCtx::Get()->IsReadyToFinish()) { - // this execution context wants to move on: schedule remaining work to be - // picked up on the executor - queue_offload(lock); - return true; - } - } else { - // TODO(ctiller): delete this when the combiner_offload_to_event_engine - // experiment is removed. - - // offload only if all the following conditions are true: - // 1. the combiner is contended and has more than one closure to execute - // 2. the current execution context needs to finish as soon as possible - // 3. the current thread is not a worker for any background poller - // 4. the DEFAULT executor is threaded - if (contended && grpc_core::ExecCtx::Get()->IsReadyToFinish() && - !grpc_iomgr_platform_is_any_background_poller_thread() && - grpc_core::Executor::IsThreadedDefault()) { - // this execution context wants to move on: schedule remaining work to be - // picked up on the executor - queue_offload(lock); - return true; - } + // offload only if both (1) the combiner is contended and has more than one + // closure to execute, and (2) the current execution context needs to finish + // as soon as possible + if (contended && grpc_core::ExecCtx::Get()->IsReadyToFinish()) { + // this execution context wants to move on: schedule remaining work to be + // picked up on the executor + queue_offload(lock); + return true; } if (!lock->time_to_execute_final_list || @@ -291,7 +258,7 @@ bool grpc_combiner_continue_exec_ctx() { // Define a macro to ease readability of the following switch statement. #define OLD_STATE_WAS(orphaned, elem_count) \ (((orphaned) ? 0 : STATE_UNORPHANED) | \ - ((elem_count)*STATE_ELEM_COUNT_LOW_BIT)) + ((elem_count) * STATE_ELEM_COUNT_LOW_BIT)) // Depending on what the previous state was, we need to perform different // actions. switch (old_state) { diff --git a/src/core/lib/iomgr/event_engine_shims/endpoint.cc b/src/core/lib/iomgr/event_engine_shims/endpoint.cc index 864a48b0e71..81ff5cf17f6 100644 --- a/src/core/lib/iomgr/event_engine_shims/endpoint.cc +++ b/src/core/lib/iomgr/event_engine_shims/endpoint.cc @@ -17,8 +17,11 @@ #include #include +#include +#include "absl/functional/any_invocable.h" #include "absl/status/status.h" +#include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include @@ -28,7 +31,9 @@ #include #include -#include "src/core/lib/event_engine/posix.h" +#include "src/core/lib/event_engine/extensions/can_track_errors.h" +#include "src/core/lib/event_engine/extensions/supports_fd.h" +#include "src/core/lib/event_engine/query_extensions.h" #include "src/core/lib/event_engine/shim.h" #include "src/core/lib/event_engine/tcp_socket_utils.h" #include "src/core/lib/event_engine/trace.h" @@ -67,6 +72,12 @@ class EventEngineEndpointWrapper { explicit EventEngineEndpointWrapper( std::unique_ptr endpoint); + EventEngine::Endpoint* endpoint() { return endpoint_.get(); } + + std::unique_ptr ReleaseEndpoint() { + return std::move(endpoint_); + } + int Fd() { grpc_core::MutexLock lock(&mu_); return fd_; @@ -208,9 +219,10 @@ class EventEngineEndpointWrapper { void ShutdownUnref() { if (shutdown_ref_.fetch_sub(1, std::memory_order_acq_rel) == kShutdownBit + 1) { - if (EventEngineSupportsFd() && fd_ > 0 && on_release_fd_) { - reinterpret_cast(endpoint_.get()) - ->Shutdown(std::move(on_release_fd_)); + auto* supports_fd = + QueryExtension(endpoint_.get()); + if (supports_fd != nullptr && fd_ > 0 && on_release_fd_) { + supports_fd->Shutdown(std::move(on_release_fd_)); } OnShutdownInternal(); } @@ -222,7 +234,9 @@ class EventEngineEndpointWrapper { // invocation would simply return. void TriggerShutdown( absl::AnyInvocable)> on_release_fd) { - if (EventEngineSupportsFd()) { + auto* supports_fd = + QueryExtension(endpoint_.get()); + if (supports_fd != nullptr) { on_release_fd_ = std::move(on_release_fd); } int64_t curr = shutdown_ref_.load(std::memory_order_acquire); @@ -236,9 +250,8 @@ class EventEngineEndpointWrapper { Ref(); if (shutdown_ref_.fetch_sub(1, std::memory_order_acq_rel) == kShutdownBit + 1) { - if (EventEngineSupportsFd() && fd_ > 0 && on_release_fd_) { - reinterpret_cast(endpoint_.get()) - ->Shutdown(std::move(on_release_fd_)); + if (supports_fd != nullptr && fd_ > 0 && on_release_fd_) { + supports_fd->Shutdown(std::move(on_release_fd_)); } OnShutdownInternal(); } @@ -248,9 +261,10 @@ class EventEngineEndpointWrapper { } bool CanTrackErrors() { - if (EventEngineSupportsFd()) { - return reinterpret_cast(endpoint_.get()) - ->CanTrackErrors(); + auto* can_track_errors = + QueryExtension(endpoint_.get()); + if (can_track_errors != nullptr) { + return can_track_errors->CanTrackErrors(); } else { return false; } @@ -404,9 +418,10 @@ EventEngineEndpointWrapper::EventEngineEndpointWrapper( eeep_(std::make_unique()) { eeep_->base.vtable = &grpc_event_engine_endpoint_vtable; eeep_->wrapper = this; - if (EventEngineSupportsFd()) { - fd_ = reinterpret_cast(endpoint_.get()) - ->GetWrappedFd(); + auto* supports_fd = + QueryExtension(endpoint_.get()); + if (supports_fd != nullptr) { + fd_ = supports_fd->GetWrappedFd(); } else { fd_ = -1; } @@ -426,6 +441,30 @@ bool grpc_is_event_engine_endpoint(grpc_endpoint* ep) { return ep->vtable == &grpc_event_engine_endpoint_vtable; } +EventEngine::Endpoint* grpc_get_wrapped_event_engine_endpoint( + grpc_endpoint* ep) { + if (!grpc_is_event_engine_endpoint(ep)) { + return nullptr; + } + auto* eeep = + reinterpret_cast( + ep); + return eeep->wrapper->endpoint(); +} + +std::unique_ptr grpc_take_wrapped_event_engine_endpoint( + grpc_endpoint* ep) { + if (!grpc_is_event_engine_endpoint(ep)) { + return nullptr; + } + auto* eeep = + reinterpret_cast( + ep); + auto endpoint = eeep->wrapper->ReleaseEndpoint(); + delete eeep->wrapper; + return endpoint; +} + void grpc_event_engine_endpoint_destroy_and_release_fd( grpc_endpoint* ep, int* fd, grpc_closure* on_release_fd) { auto* eeep = diff --git a/src/core/lib/iomgr/event_engine_shims/endpoint.h b/src/core/lib/iomgr/event_engine_shims/endpoint.h index bc018f1e4d7..0b5bc84a660 100644 --- a/src/core/lib/iomgr/event_engine_shims/endpoint.h +++ b/src/core/lib/iomgr/event_engine_shims/endpoint.h @@ -15,6 +15,8 @@ #define GRPC_SRC_CORE_LIB_IOMGR_EVENT_ENGINE_SHIMS_ENDPOINT_H #include +#include + #include #include "src/core/lib/iomgr/endpoint.h" @@ -31,6 +33,20 @@ grpc_endpoint* grpc_event_engine_endpoint_create( /// Returns true if the passed endpoint is an event engine shim endpoint. bool grpc_is_event_engine_endpoint(grpc_endpoint* ep); +/// Returns the wrapped event engine endpoint if the given grpc_endpoint is an +/// event engine shim endpoint. Otherwise it returns nullptr. +EventEngine::Endpoint* grpc_get_wrapped_event_engine_endpoint( + grpc_endpoint* ep); + +/// Transfers ownership of the wrapped event engine endpoint if the given +/// grpc_endpoint is an event engine shim endpoint. Otherwise it returns +/// nullptr. If the passed ep wraps an event_engine endpoint, then after this +/// call, the memory location holding by the passed ep is free'ed. +/// Its safe to call this function only when there are no pending reads/writes +/// on the endpoint. +std::unique_ptr grpc_take_wrapped_event_engine_endpoint( + grpc_endpoint* ep); + /// Destroys the passed in event engine shim endpoint and schedules the /// asynchronous execution of the on_release_fd callback. The int pointer fd is /// set to the underlying endpoint's file descriptor. diff --git a/src/core/lib/iomgr/event_engine_shims/tcp_client.cc b/src/core/lib/iomgr/event_engine_shims/tcp_client.cc index 5f9fe7bb27f..f1a219b7320 100644 --- a/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +++ b/src/core/lib/iomgr/event_engine_shims/tcp_client.cc @@ -16,6 +16,8 @@ #include "src/core/lib/iomgr/event_engine_shims/tcp_client.h" #include "absl/status/status.h" +#include "absl/status/statusor.h" +#include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include @@ -70,8 +72,7 @@ int64_t event_engine_tcp_client_connect( }, CreateResolvedAddress(*addr), config, resource_quota != nullptr - ? resource_quota->memory_quota()->CreateMemoryOwner( - absl::StrCat("tcp-client:", addr_uri.value())) + ? resource_quota->memory_quota()->CreateMemoryOwner() : grpc_event_engine::experimental::MemoryAllocator(), std::max(grpc_core::Duration::Milliseconds(1), deadline - grpc_core::Timestamp::Now())); diff --git a/src/core/lib/iomgr/exec_ctx.h b/src/core/lib/iomgr/exec_ctx.h index 09d80ce6985..f1c0acb222f 100644 --- a/src/core/lib/iomgr/exec_ctx.h +++ b/src/core/lib/iomgr/exec_ctx.h @@ -23,6 +23,11 @@ #include +#if __APPLE__ +// Provides TARGET_OS_IPHONE +#include +#endif + #include #include #include @@ -180,13 +185,26 @@ class GRPC_DLL ExecCtx { void SetReadyToFinishFlag() { flags_ |= GRPC_EXEC_CTX_FLAG_IS_FINISHED; } Timestamp Now() { return Timestamp::Now(); } - void InvalidateNow() { time_cache_.InvalidateCache(); } + + void InvalidateNow() { +#if !TARGET_OS_IPHONE + time_cache_.InvalidateCache(); +#endif + } + void SetNowIomgrShutdown() { +#if !TARGET_OS_IPHONE // We get to do a test only set now on this path just because iomgr // is getting removed and no point adding more interfaces for it. time_cache_.TestOnlySetNow(Timestamp::InfFuture()); +#endif + } + + void TestOnlySetNow(Timestamp now) { +#if !TARGET_OS_IPHONE + time_cache_.TestOnlySetNow(now); +#endif } - void TestOnlySetNow(Timestamp now) { time_cache_.TestOnlySetNow(now); } /// Gets pointer to current exec_ctx. static ExecCtx* Get() { return EXEC_CTX; } @@ -211,7 +229,9 @@ class GRPC_DLL ExecCtx { CombinerData combiner_data_ = {nullptr, nullptr}; uintptr_t flags_; +#if !TARGET_OS_IPHONE ScopedTimeCache time_cache_; +#endif #if !defined(_WIN32) || !defined(_DLL) static thread_local ExecCtx* exec_ctx_; diff --git a/src/core/lib/iomgr/grpc_if_nametoindex_posix.cc b/src/core/lib/iomgr/grpc_if_nametoindex_posix.cc index fe1ada03592..2b3bc5177d1 100644 --- a/src/core/lib/iomgr/grpc_if_nametoindex_posix.cc +++ b/src/core/lib/iomgr/grpc_if_nametoindex_posix.cc @@ -39,5 +39,5 @@ uint32_t grpc_if_nametoindex(char* name) { return out; } -#endif // GRPC_IF_NAMETOINDEX == 1 && \ - // defined(GRPC_POSIX_SOCKET_IF_NAMETOINDEX) +#endif // GRPC_IF_NAMETOINDEX == 1 && + // defined(GRPC_POSIX_SOCKET_IF_NAMETOINDEX) diff --git a/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc b/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc index 5555cad6d1b..317fb56d058 100644 --- a/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc +++ b/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc @@ -35,5 +35,5 @@ uint32_t grpc_if_nametoindex(char* name) { return 0; } -#endif // GRPC_IF_NAMETOINDEX == 0 || \ - // !defined(GRPC_POSIX_SOCKET_IF_NAMETOINDEX) +#endif // GRPC_IF_NAMETOINDEX == 0 || + // !defined(GRPC_POSIX_SOCKET_IF_NAMETOINDEX) diff --git a/src/core/lib/iomgr/load_file.cc b/src/core/lib/iomgr/load_file.cc deleted file mode 100644 index 8a6ac72a818..00000000000 --- a/src/core/lib/iomgr/load_file.cc +++ /dev/null @@ -1,78 +0,0 @@ -// -// -// Copyright 2015 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// - -#include - -#include "src/core/lib/iomgr/load_file.h" - -#include -#include - -#include -#include -#include - -#include "src/core/lib/gpr/string.h" -#include "src/core/lib/gprpp/crash.h" -#include "src/core/lib/iomgr/block_annotate.h" - -grpc_error_handle grpc_load_file(const char* filename, int add_null_terminator, - grpc_slice* output) { - unsigned char* contents = nullptr; - size_t contents_size = 0; - grpc_slice result = grpc_empty_slice(); - FILE* file; - size_t bytes_read = 0; - grpc_error_handle error; - - GRPC_SCHEDULING_START_BLOCKING_REGION; - file = fopen(filename, "rb"); - if (file == nullptr) { - error = GRPC_OS_ERROR(errno, "fopen"); - goto end; - } - fseek(file, 0, SEEK_END); - // Converting to size_t on the assumption that it will not fail - contents_size = static_cast(ftell(file)); - fseek(file, 0, SEEK_SET); - contents = static_cast( - gpr_malloc(contents_size + (add_null_terminator ? 1 : 0))); - bytes_read = fread(contents, 1, contents_size, file); - if (bytes_read < contents_size) { - gpr_free(contents); - error = GRPC_OS_ERROR(errno, "fread"); - GPR_ASSERT(ferror(file)); - goto end; - } - if (add_null_terminator) { - contents[contents_size++] = 0; - } - result = grpc_slice_new(contents, contents_size, gpr_free); - -end: - *output = result; - if (file != nullptr) fclose(file); - if (!error.ok()) { - grpc_error_handle error_out = grpc_error_set_str( - GRPC_ERROR_CREATE_REFERENCING("Failed to load file", &error, 1), - grpc_core::StatusStrProperty::kFilename, filename); - error = error_out; - } - GRPC_SCHEDULING_END_BLOCKING_REGION_NO_EXEC_CTX; - return error; -} diff --git a/src/core/lib/iomgr/load_file.h b/src/core/lib/iomgr/load_file.h deleted file mode 100644 index b50724751f6..00000000000 --- a/src/core/lib/iomgr/load_file.h +++ /dev/null @@ -1,35 +0,0 @@ -// -// -// Copyright 2015 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// - -#ifndef GRPC_SRC_CORE_LIB_IOMGR_LOAD_FILE_H -#define GRPC_SRC_CORE_LIB_IOMGR_LOAD_FILE_H - -#include - -#include - -#include - -#include "src/core/lib/iomgr/error.h" - -// Loads the content of a file into a slice. add_null_terminator will add -// a NULL terminator if non-zero. -grpc_error_handle grpc_load_file(const char* filename, int add_null_terminator, - grpc_slice* output); - -#endif // GRPC_SRC_CORE_LIB_IOMGR_LOAD_FILE_H diff --git a/src/core/lib/iomgr/port.h b/src/core/lib/iomgr/port.h index 3385408309b..f4102a524a2 100644 --- a/src/core/lib/iomgr/port.h +++ b/src/core/lib/iomgr/port.h @@ -30,6 +30,9 @@ #endif #if defined(GPR_WINDOWS) #define GRPC_WINSOCK_SOCKET 1 +#ifndef __MINGW32__ +#define GRPC_HAVE_UNIX_SOCKET 1 +#endif // __MINGW32__ #define GRPC_WINDOWS_SOCKETUTILS 1 #define GRPC_WINDOWS_SOCKET_ARES_EV_DRIVER 1 #elif defined(GPR_ANDROID) diff --git a/src/core/lib/iomgr/socket_utils_common_posix.cc b/src/core/lib/iomgr/socket_utils_common_posix.cc index e702ae1ee1e..199eb75f812 100644 --- a/src/core/lib/iomgr/socket_utils_common_posix.cc +++ b/src/core/lib/iomgr/socket_utils_common_posix.cc @@ -327,6 +327,19 @@ void config_default_tcp_user_timeout(bool enable, int timeout, bool is_client) { } // Set TCP_USER_TIMEOUT +// As documented in +// https://github.com/grpc/proposal/blob/master/A18-tcp-user-timeout.md, the +// default values for TCP_USER_TIMEOUT are currently configured to be in line +// with the default values of KEEPALIVE_TIMEOUT as proposed in +// https://github.com/grpc/proposal/blob/master/A18-tcp-user-timeout.md. In +// other words, by default, TCP_USER_TIMEOUT is disabled on clients (since +// keepalive is disabled on clients by default), and enabled on servers. To +// override the default settings of enabling/disabling TCP_USER_TIMEOUT, the +// value of KEEPALIVE_TIME on channel args is used. If present, a value of +// INT_MAX means that TCP_USER_TIMEOUT would be disabled, while any other value +// would enable TCP_USER_TIMEOUT. If TCP_USER_TIMEOUT is enabled, the default +// setting is 20 seconds (aligning with the default of KEEPALIVE_TIMEOUT). The +// KEEPALIVE_TIMEOUT channel arg overrides the value used for TCP_USER_TIMEOUT. grpc_error_handle grpc_set_socket_tcp_user_timeout( int fd, const grpc_core::PosixTcpOptions& options, bool is_client) { // Use conditionally-important parameter to avoid warning diff --git a/src/core/lib/iomgr/tcp_client_posix.cc b/src/core/lib/iomgr/tcp_client_posix.cc index 23452e2a49e..60a2cd58144 100644 --- a/src/core/lib/iomgr/tcp_client_posix.cc +++ b/src/core/lib/iomgr/tcp_client_posix.cc @@ -336,6 +336,7 @@ int64_t grpc_tcp_client_create_from_prepared_fd( err = connect(fd, reinterpret_cast(addr->addr), addr->len); } while (err < 0 && errno == EINTR); + int connect_errno = (err < 0) ? errno : 0; auto addr_uri = grpc_sockaddr_to_uri(addr); if (!addr_uri.ok()) { @@ -347,7 +348,7 @@ int64_t grpc_tcp_client_create_from_prepared_fd( std::string name = absl::StrCat("tcp-client:", addr_uri.value()); grpc_fd* fdobj = grpc_fd_create(fd, name.c_str(), true); int64_t connection_id = 0; - if (errno == EWOULDBLOCK || errno == EINPROGRESS) { + if (connect_errno == EWOULDBLOCK || connect_errno == EINPROGRESS) { // Connection is still in progress. connection_id = g_connection_id.fetch_add(1, std::memory_order_acq_rel); } @@ -359,10 +360,10 @@ int64_t grpc_tcp_client_create_from_prepared_fd( grpc_core::ExecCtx::Run(DEBUG_LOCATION, closure, absl::OkStatus()); return 0; } - if (errno != EWOULDBLOCK && errno != EINPROGRESS) { + if (connect_errno != EWOULDBLOCK && connect_errno != EINPROGRESS) { // Connection already failed. Return 0 to discourage any cancellation // attempts. - grpc_error_handle error = GRPC_OS_ERROR(errno, "connect"); + grpc_error_handle error = GRPC_OS_ERROR(connect_errno, "connect"); error = grpc_error_set_str( error, grpc_core::StatusStrProperty::kTargetAddress, addr_uri.value()); grpc_fd_orphan(fdobj, nullptr, nullptr, "tcp_client_connect_error"); diff --git a/src/core/lib/iomgr/tcp_client_windows.cc b/src/core/lib/iomgr/tcp_client_windows.cc index 7a4d7ca3103..637c6e3cb55 100644 --- a/src/core/lib/iomgr/tcp_client_windows.cc +++ b/src/core/lib/iomgr/tcp_client_windows.cc @@ -145,6 +145,8 @@ static int64_t tcp_connect(grpc_closure* on_done, grpc_endpoint** endpoint, grpc_error_handle error; async_connect* ac = NULL; absl::StatusOr addr_uri; + int addr_family; + int protocol; addr_uri = grpc_sockaddr_to_uri(addr); if (!addr_uri.ok()) { @@ -159,14 +161,25 @@ static int64_t tcp_connect(grpc_closure* on_done, grpc_endpoint** endpoint, addr = &addr6_v4mapped; } - sock = WSASocket(AF_INET6, SOCK_STREAM, IPPROTO_TCP, NULL, 0, + // extract family + addr_family = + (grpc_sockaddr_get_family(addr) == AF_UNIX) ? AF_UNIX : AF_INET6; + protocol = addr_family == AF_UNIX ? 0 : IPPROTO_TCP; + + sock = WSASocket(addr_family, SOCK_STREAM, protocol, NULL, 0, grpc_get_default_wsa_socket_flags()); if (sock == INVALID_SOCKET) { error = GRPC_WSA_ERROR(WSAGetLastError(), "WSASocket"); goto failure; } - error = grpc_tcp_prepare_socket(sock); + if (addr_family == AF_UNIX) { + // tcp settings for af_unix are skipped. + error = grpc_tcp_set_non_block(sock); + } else { + error = grpc_tcp_prepare_socket(sock); + } + if (!error.ok()) { goto failure; } @@ -183,7 +196,15 @@ static int64_t tcp_connect(grpc_closure* on_done, grpc_endpoint** endpoint, goto failure; } - grpc_sockaddr_make_wildcard6(0, &local_address); + if (addr_family == AF_UNIX) { + // For ConnectEx() to work for AF_UNIX, the sock needs to be bound to + // the local address of an unnamed socket. + local_address = {}; + ((grpc_sockaddr*)local_address.addr)->sa_family = AF_UNIX; + local_address.len = sizeof(grpc_sockaddr); + } else { + grpc_sockaddr_make_wildcard6(0, &local_address); + } status = bind(sock, (grpc_sockaddr*)&local_address.addr, (int)local_address.len); @@ -196,7 +217,6 @@ static int64_t tcp_connect(grpc_closure* on_done, grpc_endpoint** endpoint, info = &socket->write_info; success = ConnectEx(sock, (grpc_sockaddr*)&addr->addr, (int)addr->len, NULL, 0, NULL, &info->overlapped); - // It wouldn't be unusual to get a success immediately. But we'll still get // an IOCP notification, so let's ignore it. if (!success) { @@ -206,7 +226,6 @@ static int64_t tcp_connect(grpc_closure* on_done, grpc_endpoint** endpoint, goto failure; } } - ac = new async_connect(); ac->on_done = on_done; ac->socket = socket; diff --git a/src/core/lib/iomgr/tcp_posix.cc b/src/core/lib/iomgr/tcp_posix.cc index c19cc8fd06f..d270c3c9fd2 100644 --- a/src/core/lib/iomgr/tcp_posix.cc +++ b/src/core/lib/iomgr/tcp_posix.cc @@ -18,6 +18,12 @@ #include +#include "absl/base/thread_annotations.h" +#include "absl/status/status.h" +#include "absl/strings/str_cat.h" +#include "absl/strings/string_view.h" +#include "absl/types/optional.h" + #include #include "src/core/lib/iomgr/exec_ctx.h" @@ -479,10 +485,7 @@ struct grpc_tcp { grpc_endpoint base; grpc_fd* em_fd; int fd; - // Used by the endpoint read function to distinguish the very first read call - // from the rest - bool is_first_read; - bool has_posted_reclaimer ABSL_GUARDED_BY(read_mu) = false; + int inq; // bytes pending on the socket from the last read. double target_length; double bytes_read_this_round; grpc_core::RefCount refcount; @@ -490,15 +493,12 @@ struct grpc_tcp { int min_read_chunk_size; int max_read_chunk_size; - int set_rcvlowat = 0; // garbage after the last read grpc_slice_buffer last_read_buffer; grpc_core::Mutex read_mu; grpc_slice_buffer* incoming_buffer ABSL_GUARDED_BY(read_mu) = nullptr; - int inq; // bytes pending on the socket from the last read. - bool inq_capable; // cache whether kernel supports inq grpc_slice_buffer* outgoing_buffer; // byte within outgoing_buffer->slices[0] to write next @@ -535,17 +535,26 @@ struct grpc_tcp { // options for collecting timestamps are set, and is incremented with each // byte sent. int bytes_counter; - bool socket_ts_enabled; // True if timestamping options are set on the socket - // - bool ts_capable; // Cache whether we can set timestamping options + + int min_progress_size; // A hint from upper layers specifying the minimum + // number of bytes that need to be read to make + // meaningful progress + gpr_atm stop_error_notification; // Set to 1 if we do not want to be notified // on errors anymore TcpZerocopySendCtx tcp_zerocopy_send_ctx; TcpZerocopySendRecord* current_zerocopy_send = nullptr; - int min_progress_size; // A hint from upper layers specifying the minimum - // number of bytes that need to be read to make - // meaningful progress + int set_rcvlowat = 0; + + // Used by the endpoint read function to distinguish the very first read call + // from the rest + bool is_first_read; + bool has_posted_reclaimer ABSL_GUARDED_BY(read_mu) = false; + bool inq_capable; // cache whether kernel supports inq + bool socket_ts_enabled; // True if timestamping options are set on the socket + // + bool ts_capable; // Cache whether we can set timestamping options }; struct backup_poller { @@ -1935,7 +1944,7 @@ grpc_endpoint* grpc_tcp_create(grpc_fd* em_fd, tcp->fd = grpc_fd_wrapped_fd(em_fd); GPR_ASSERT(options.resource_quota != nullptr); tcp->memory_owner = - options.resource_quota->memory_quota()->CreateMemoryOwner(peer_string); + options.resource_quota->memory_quota()->CreateMemoryOwner(); tcp->self_reservation = tcp->memory_owner.MakeReservation(sizeof(grpc_tcp)); grpc_resolved_address resolved_local_addr; memset(&resolved_local_addr, 0, sizeof(resolved_local_addr)); diff --git a/src/core/lib/iomgr/tcp_server_posix.cc b/src/core/lib/iomgr/tcp_server_posix.cc index c4d371a3d1c..85404201425 100644 --- a/src/core/lib/iomgr/tcp_server_posix.cc +++ b/src/core/lib/iomgr/tcp_server_posix.cc @@ -58,6 +58,8 @@ #include "src/core/lib/address_utils/sockaddr_utils.h" #include "src/core/lib/event_engine/default_event_engine.h" #include "src/core/lib/event_engine/memory_allocator_factory.h" +#include "src/core/lib/event_engine/posix_engine/posix_endpoint.h" +#include "src/core/lib/event_engine/query_extensions.h" #include "src/core/lib/event_engine/resolved_address_internal.h" #include "src/core/lib/event_engine/shim.h" #include "src/core/lib/event_engine/tcp_socket_utils.h" @@ -95,7 +97,20 @@ static grpc_error_handle CreateEventEngineListener( grpc_tcp_server* s, grpc_closure* shutdown_complete, const EndpointConfig& config, grpc_tcp_server** server) { absl::StatusOr> listener; - if (grpc_event_engine::experimental::EventEngineSupportsFd()) { + auto* engine = reinterpret_cast( + config.GetVoidPointer(GRPC_INTERNAL_ARG_EVENT_ENGINE)); + // Keeps the engine alive for some tests that have not otherwise + // instantiated an EventEngine + std::shared_ptr keeper; + if (engine == nullptr) { + keeper = grpc_event_engine::experimental::GetDefaultEventEngine(); + engine = keeper.get(); + } + auto* event_engine_supports_fd = + grpc_event_engine::experimental::QueryExtension< + grpc_event_engine::experimental::EventEngineSupportsFdExtension>( + engine); + if (event_engine_supports_fd != nullptr) { PosixEventEngineWithFdSupport::PosixAcceptCallback accept_cb = [s](int listener_fd, std::unique_ptr ep, bool is_external, MemoryAllocator /*allocator*/, @@ -120,9 +135,10 @@ static grpc_error_handle CreateEventEngineListener( memset(&addr, 0, sizeof(addr)); addr.len = static_cast(sizeof(struct sockaddr_storage)); // Get the fd of the socket connected to peer. - int fd = reinterpret_cast(ep.get()) - ->GetWrappedFd(); + int fd = + reinterpret_cast< + grpc_event_engine::experimental::PosixEndpoint*>(ep.get()) + ->GetWrappedFd(); if (getpeername(fd, reinterpret_cast(addr.addr), &(addr.len)) < 0) { gpr_log(GPR_ERROR, "Failed getpeername: %s", @@ -162,18 +178,7 @@ static grpc_error_handle CreateEventEngineListener( grpc_event_engine_endpoint_create(std::move(ep)), read_notifier_pollset, acceptor); }; - PosixEventEngineWithFdSupport* engine_ptr = - reinterpret_cast( - config.GetVoidPointer(GRPC_INTERNAL_ARG_EVENT_ENGINE)); - // Keeps the engine alive for some tests that have not otherwise - // instantiated an EventEngine - std::shared_ptr keeper; - if (engine_ptr == nullptr) { - keeper = grpc_event_engine::experimental::GetDefaultEventEngine(); - engine_ptr = - reinterpret_cast(keeper.get()); - } - listener = engine_ptr->CreatePosixListener( + listener = event_engine_supports_fd->CreatePosixListener( std::move(accept_cb), [s, shutdown_complete](absl::Status status) { grpc_event_engine::experimental::RunEventEngineClosure( @@ -187,15 +192,16 @@ static grpc_error_handle CreateEventEngineListener( } else { EventEngine::Listener::AcceptCallback accept_cb = [s](std::unique_ptr ep, MemoryAllocator) { + grpc_core::ApplicationCallbackExecCtx app_ctx; + grpc_core::ExecCtx exec_ctx; s->on_accept_cb(s->on_accept_cb_arg, grpc_event_engine::experimental:: grpc_event_engine_endpoint_create(std::move(ep)), nullptr, nullptr); }; - auto ee = grpc_event_engine::experimental::GetDefaultEventEngine(); - listener = ee->CreateListener( + listener = engine->CreateListener( std::move(accept_cb), - [s, ee, shutdown_complete](absl::Status status) { + [s, ee = keeper, shutdown_complete](absl::Status status) { GPR_ASSERT(gpr_atm_no_barrier_load(&s->refs.count) == 0); grpc_event_engine::experimental::RunEventEngineClosure( shutdown_complete, absl_status_to_grpc_error(status)); @@ -248,7 +254,7 @@ static grpc_error_handle tcp_server_create(grpc_closure* shutdown_complete, s->head = nullptr; s->tail = nullptr; s->nports = 0; - s->options = TcpOptionsFromEndpointConfig(config); + s->options = ::TcpOptionsFromEndpointConfig(config); s->fd_handler = nullptr; GPR_ASSERT(s->options.resource_quota != nullptr); GPR_ASSERT(s->on_accept_cb); @@ -420,10 +426,16 @@ static void on_read(void* arg, grpc_error_handle err) { addr.len = static_cast(sizeof(struct sockaddr_storage)); if (getpeername(fd, reinterpret_cast(addr.addr), &(addr.len)) < 0) { - gpr_log(GPR_ERROR, "Failed getpeername: %s", - grpc_core::StrError(errno).c_str()); + auto listener_addr_uri = grpc_sockaddr_to_uri(&sp->addr); + gpr_log( + GPR_ERROR, + "Failed getpeername: %s. Dropping the connection, and continuing " + "to listen on %s:%d.", + grpc_core::StrError(errno).c_str(), + listener_addr_uri.ok() ? listener_addr_uri->c_str() : "", + sp->port); close(fd); - goto error; + continue; } } @@ -610,22 +622,21 @@ static grpc_error_handle tcp_server_add_port(grpc_tcp_server* s, } int fd_index = 0; absl::StatusOr port; - if (grpc_event_engine::experimental::EventEngineSupportsFd()) { - port = - static_cast< - grpc_event_engine::experimental::PosixListenerWithFdSupport*>( - s->ee_listener.get()) - ->BindWithFd( - grpc_event_engine::experimental::CreateResolvedAddress(*addr), - [s, &fd_index](absl::StatusOr listen_fd) { - if (!listen_fd.ok()) { - return; - } - GPR_DEBUG_ASSERT(*listen_fd > 0); - s->listen_fd_to_index_map.insert_or_assign( - *listen_fd, - std::make_tuple(s->n_bind_ports, fd_index++)); - }); + auto* listener_supports_fd = + grpc_event_engine::experimental::QueryExtension< + grpc_event_engine::experimental::ListenerSupportsFdExtension>( + s->ee_listener.get()); + if (listener_supports_fd != nullptr) { + port = listener_supports_fd->BindWithFd( + grpc_event_engine::experimental::CreateResolvedAddress(*addr), + [s, &fd_index](absl::StatusOr listen_fd) { + if (!listen_fd.ok()) { + return; + } + GPR_DEBUG_ASSERT(*listen_fd > 0); + s->listen_fd_to_index_map.insert_or_assign( + *listen_fd, std::make_tuple(s->n_bind_ports, fd_index++)); + }); } else { port = s->ee_listener->Bind( grpc_event_engine::experimental::CreateResolvedAddress(*addr)); @@ -829,10 +840,12 @@ static void tcp_server_shutdown_listeners(grpc_tcp_server* s) { gpr_mu_lock(&s->mu); s->shutdown_listeners = true; if (grpc_event_engine::experimental::UseEventEngineListener()) { - if (grpc_event_engine::experimental::EventEngineSupportsFd()) { - static_cast( - s->ee_listener.get()) - ->ShutdownListeningFds(); + auto* listener_supports_fd = + grpc_event_engine::experimental::QueryExtension< + grpc_event_engine::experimental::ListenerSupportsFdExtension>( + s->ee_listener.get()); + if (listener_supports_fd != nullptr) { + listener_supports_fd->ShutdownListeningFds(); } } /* shutdown all fd's */ @@ -864,19 +877,21 @@ class ExternalConnectionHandler : public grpc_core::TcpServerFdHandler { // TODO(yangg) resolve duplicate code with on_read void Handle(int listener_fd, int fd, grpc_byte_buffer* buf) override { if (grpc_event_engine::experimental::UseEventEngineListener()) { - GPR_ASSERT(grpc_event_engine::experimental::EventEngineSupportsFd()); + auto* listener_supports_fd = + grpc_event_engine::experimental::QueryExtension< + grpc_event_engine::experimental::ListenerSupportsFdExtension>( + s_->ee_listener.get()); + GPR_ASSERT(listener_supports_fd != nullptr); grpc_event_engine::experimental::SliceBuffer pending_data; if (buf != nullptr) { pending_data = grpc_event_engine::experimental::SliceBuffer::TakeCSliceBuffer( buf->data.raw.slice_buffer); } - GPR_ASSERT(GRPC_LOG_IF_ERROR( - "listener_handle_external_connection", - static_cast< - grpc_event_engine::experimental::PosixListenerWithFdSupport*>( - s_->ee_listener.get()) - ->HandleExternalConnection(listener_fd, fd, &pending_data))); + GPR_ASSERT( + GRPC_LOG_IF_ERROR("listener_handle_external_connection", + listener_supports_fd->HandleExternalConnection( + listener_fd, fd, &pending_data))); return; } grpc_pollset* read_notifier_pollset; diff --git a/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc b/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc index a04f0a36a08..39f233a1079 100644 --- a/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +++ b/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc @@ -89,6 +89,12 @@ static grpc_error_handle get_unused_port(int* port) { return *port <= 0 ? GRPC_ERROR_CREATE("Bad port") : absl::OkStatus(); } +static bool grpc_is_ipv4_availabile() { + const int fd = socket(AF_INET, SOCK_DGRAM, 0); + if (fd >= 0) close(fd); + return fd >= 0; +} + grpc_error_handle grpc_tcp_server_add_all_local_addrs(grpc_tcp_server* s, unsigned port_index, int requested_port, @@ -110,6 +116,9 @@ grpc_error_handle grpc_tcp_server_add_all_local_addrs(grpc_tcp_server* s, } gpr_log(GPR_DEBUG, "Picked unused port %d", requested_port); } + + static bool v4_available = grpc_is_ipv4_availabile(); + if (getifaddrs(&ifa) != 0 || ifa == nullptr) { return GRPC_OS_ERROR(errno, "getifaddrs"); } @@ -121,6 +130,9 @@ grpc_error_handle grpc_tcp_server_add_all_local_addrs(grpc_tcp_server* s, if (ifa_it->ifa_addr == nullptr) { continue; } else if (ifa_it->ifa_addr->sa_family == AF_INET) { + if (!v4_available) { + continue; + } addr.len = static_cast(sizeof(grpc_sockaddr_in)); } else if (ifa_it->ifa_addr->sa_family == AF_INET6) { addr.len = static_cast(sizeof(grpc_sockaddr_in6)); diff --git a/src/core/lib/iomgr/tcp_server_windows.cc b/src/core/lib/iomgr/tcp_server_windows.cc index d7775a1e267..9de6cb0f268 100644 --- a/src/core/lib/iomgr/tcp_server_windows.cc +++ b/src/core/lib/iomgr/tcp_server_windows.cc @@ -78,13 +78,21 @@ using ::grpc_event_engine::experimental::WindowsEventEngineListener; // one listening port typedef struct grpc_tcp_listener grpc_tcp_listener; struct grpc_tcp_listener { + // Buffer to hold the local and remote address. // This seemingly magic number comes from AcceptEx's documentation. each // address buffer needs to have at least 16 more bytes at their end. +#ifdef GRPC_HAVE_UNIX_SOCKET + // unix addr is larger than ip addr. + uint8_t addresses[(sizeof(sockaddr_un) + 16) * 2] = {}; +#else uint8_t addresses[(sizeof(grpc_sockaddr_in6) + 16) * 2]; +#endif // GRPC_HAVE_UNIX_SOCKET // This will hold the socket for the next accept. SOCKET new_socket; // The listener winsocket. grpc_winsocket* socket; + // address of listener + grpc_resolved_address resolved_addr; // The actual TCP port number. int port; unsigned port_index; @@ -125,6 +133,35 @@ struct grpc_tcp_server { WindowsEventEngineListener* ee_listener; }; +// TODO(hork): This may be refactored to share with posix engine and event +// engine. +void unlink_if_unix_domain_socket(const grpc_resolved_address* resolved_addr) { +#ifdef GRPC_HAVE_UNIX_SOCKET + const grpc_sockaddr* addr = + reinterpret_cast(resolved_addr->addr); + if (addr->sa_family != AF_UNIX) { + return; + } + struct sockaddr_un* un = + reinterpret_cast(const_cast(addr)); + // There is nothing to unlink for an abstract unix socket. + if (un->sun_path[0] == '\0' && un->sun_path[1] != '\0') { + return; + } + // For windows we need to remove the file instead of unlink. + DWORD attr = ::GetFileAttributesA(un->sun_path); + if (attr == INVALID_FILE_ATTRIBUTES) { + return; + } + if (attr & FILE_ATTRIBUTE_DIRECTORY || attr & FILE_ATTRIBUTE_READONLY) { + return; + } + ::DeleteFileA(un->sun_path); +#else + (void)resolved_addr; +#endif +} + // Public function. Allocates the proper data structures to hold a // grpc_tcp_server. static grpc_error_handle tcp_server_create(grpc_closure* shutdown_complete, @@ -158,6 +195,7 @@ static void destroy_server(void* arg, grpc_error_handle /* error */) { s->head = sp->next; sp->next = NULL; grpc_winsocket_destroy(sp->socket); + unlink_if_unix_domain_socket(&sp->resolved_addr); gpr_free(sp); } gpr_mu_destroy(&s->mu); @@ -222,12 +260,15 @@ static grpc_error_handle prepare_socket(SOCKET sock, grpc_resolved_address sockname_temp; grpc_error_handle error; int sockname_temp_len; - - error = grpc_tcp_prepare_socket(sock); + if (grpc_sockaddr_get_family(addr) == AF_UNIX) { + error = grpc_tcp_set_non_block(sock); + } else { + error = grpc_tcp_prepare_socket(sock); + } if (!error.ok()) { goto failure; } - + unlink_if_unix_domain_socket(addr); if (bind(sock, (const grpc_sockaddr*)addr->addr, (int)addr->len) == SOCKET_ERROR) { error = GRPC_WSA_ERROR(WSAGetLastError(), "bind"); @@ -277,22 +318,28 @@ static void decrement_active_ports_and_notify_locked(grpc_tcp_listener* sp) { static grpc_error_handle start_accept_locked(grpc_tcp_listener* port) { SOCKET sock = INVALID_SOCKET; BOOL success; - DWORD addrlen = sizeof(grpc_sockaddr_in6) + 16; + const DWORD addrlen = sizeof(port->addresses) / 2; DWORD bytes_received = 0; grpc_error_handle error; if (port->shutting_down) { return absl::OkStatus(); } - - sock = WSASocket(AF_INET6, SOCK_STREAM, IPPROTO_TCP, NULL, 0, + const int addr_family = + grpc_sockaddr_get_family(&port->resolved_addr) == AF_UNIX ? AF_UNIX + : AF_INET6; + const int protocol = addr_family == AF_UNIX ? 0 : IPPROTO_TCP; + sock = WSASocket(addr_family, SOCK_STREAM, protocol, NULL, 0, grpc_get_default_wsa_socket_flags()); if (sock == INVALID_SOCKET) { error = GRPC_WSA_ERROR(WSAGetLastError(), "WSASocket"); goto failure; } - - error = grpc_tcp_prepare_socket(sock); + if (addr_family == AF_UNIX) { + error = grpc_tcp_set_non_block(sock); + } else { + error = grpc_tcp_prepare_socket(sock); + } if (!error.ok()) goto failure; // Start the "accept" asynchronously. @@ -463,6 +510,7 @@ static grpc_error_handle add_socket_to_server(grpc_tcp_server* s, SOCKET sock, sp->outstanding_calls = 0; sp->AcceptEx = AcceptEx; sp->new_socket = INVALID_SOCKET; + sp->resolved_addr = *addr; sp->port = port; sp->port_index = port_index; GRPC_CLOSURE_INIT(&sp->on_accept, on_accept, sp, grpc_schedule_on_exec_ctx); @@ -522,7 +570,10 @@ static grpc_error_handle tcp_server_add_port(grpc_tcp_server* s, addr = &wildcard; } - sock = WSASocket(AF_INET6, SOCK_STREAM, IPPROTO_TCP, NULL, 0, + const int addr_family = + grpc_sockaddr_get_family(addr) == AF_UNIX ? AF_UNIX : AF_INET6; + const int protocol = addr_family == AF_UNIX ? 0 : IPPROTO_TCP; + sock = WSASocket(addr_family, SOCK_STREAM, protocol, NULL, 0, grpc_get_default_wsa_socket_flags()); if (sock == INVALID_SOCKET) { error = GRPC_WSA_ERROR(WSAGetLastError(), "WSASocket"); diff --git a/src/core/lib/iomgr/timer_manager.cc b/src/core/lib/iomgr/timer_manager.cc index d7d8dfb53dd..408e6452bd5 100644 --- a/src/core/lib/iomgr/timer_manager.cc +++ b/src/core/lib/iomgr/timer_manager.cc @@ -41,6 +41,8 @@ extern grpc_core::TraceFlag grpc_timer_check_trace; static gpr_mu g_mu; // are we multi-threaded static bool g_threaded; +// should we start multi-threaded +static bool g_start_threaded = true; // cv to wait until a thread is needed static gpr_cv g_cv_wait; // cv for notification when threading ends @@ -309,7 +311,7 @@ void grpc_timer_manager_init(void) { g_has_timed_waiter = false; g_timed_waiter_deadline = grpc_core::Timestamp::InfFuture(); - start_threads(); + if (g_start_threaded) start_threads(); } static void stop_threads(void) { @@ -351,6 +353,10 @@ void grpc_timer_manager_set_threading(bool enabled) { } } +void grpc_timer_manager_set_start_threaded(bool enabled) { + g_start_threaded = enabled; +} + void grpc_kick_poller(void) { gpr_mu_lock(&g_mu); g_kicked = true; diff --git a/src/core/lib/iomgr/timer_manager.h b/src/core/lib/iomgr/timer_manager.h index 6dd4fd31b04..e5f0b120adb 100644 --- a/src/core/lib/iomgr/timer_manager.h +++ b/src/core/lib/iomgr/timer_manager.h @@ -32,6 +32,8 @@ void grpc_timer_manager_shutdown(void); // enable/disable threading - must be called after grpc_timer_manager_init and // before grpc_timer_manager_shutdown void grpc_timer_manager_set_threading(bool enabled); +// enable/disable threading - must be called before first grpc init +void grpc_timer_manager_set_start_threaded(bool enabled); // explicitly perform one tick of the timer system - for when threading is // disabled void grpc_timer_manager_tick(void); diff --git a/src/core/lib/iomgr/unix_sockets_posix.cc b/src/core/lib/iomgr/unix_sockets_posix.cc index e182e6adf13..01daa2c90cf 100644 --- a/src/core/lib/iomgr/unix_sockets_posix.cc +++ b/src/core/lib/iomgr/unix_sockets_posix.cc @@ -24,7 +24,14 @@ #include #include #include +#ifdef GPR_WINDOWS +// clang-format off +#include +#include +// clang-format on +#else #include +#endif // GPR_WINDOWS #include "absl/strings/str_cat.h" @@ -39,7 +46,11 @@ #include "src/core/lib/transport/error_utils.h" void grpc_create_socketpair_if_unix(int sv[2]) { +#ifdef GPR_WINDOWS + grpc_core::Crash("AF_UNIX socket pairs are not supported on Windows"); +#else GPR_ASSERT(socketpair(AF_UNIX, SOCK_STREAM, 0, sv) == 0); +#endif } absl::StatusOr> @@ -86,10 +97,12 @@ void grpc_unlink_if_unix_domain_socket( return; } +#ifndef GPR_WINDOWS struct stat st; if (stat(un->sun_path, &st) == 0 && (st.st_mode & S_IFMT) == S_IFSOCK) { unlink(un->sun_path); } +#endif } #endif diff --git a/src/core/lib/json/json_object_loader.h b/src/core/lib/json/json_object_loader.h index 45bbc087f97..ba5f3c68fe5 100644 --- a/src/core/lib/json/json_object_loader.h +++ b/src/core/lib/json/json_object_loader.h @@ -22,7 +22,6 @@ #include #include #include -#include #include #include "absl/meta/type_traits.h" diff --git a/src/core/lib/json/json_reader.cc b/src/core/lib/json/json_reader.cc index a7fda444c63..9152c25ef7c 100644 --- a/src/core/lib/json/json_reader.cc +++ b/src/core/lib/json/json_reader.cc @@ -20,7 +20,6 @@ #include #include -#include #include #include #include diff --git a/src/core/lib/json/json_writer.cc b/src/core/lib/json/json_writer.cc index ef07c5e3925..a69884ce0d9 100644 --- a/src/core/lib/json/json_writer.cc +++ b/src/core/lib/json/json_writer.cc @@ -138,7 +138,7 @@ void JsonWriter::EscapeUtf16(uint16_t utf16) { OutputChar(hex[(utf16 >> 12) & 0x0f]); OutputChar(hex[(utf16 >> 8) & 0x0f]); OutputChar(hex[(utf16 >> 4) & 0x0f]); - OutputChar(hex[(utf16)&0x0f]); + OutputChar(hex[(utf16) & 0x0f]); } void JsonWriter::EscapeString(const std::string& string) { diff --git a/src/core/lib/matchers/matchers.cc b/src/core/lib/matchers/matchers.cc index 0b165fa82f2..406b9c00f35 100644 --- a/src/core/lib/matchers/matchers.cc +++ b/src/core/lib/matchers/matchers.cc @@ -16,7 +16,6 @@ #include "src/core/lib/matchers/matchers.h" -#include #include #include "absl/status/status.h" diff --git a/src/core/lib/promise/activity.cc b/src/core/lib/promise/activity.cc index 9bdf87733ac..60024b536cb 100644 --- a/src/core/lib/promise/activity.cc +++ b/src/core/lib/promise/activity.cc @@ -18,7 +18,6 @@ #include -#include #include #include "absl/strings/str_cat.h" @@ -26,7 +25,6 @@ #include "absl/strings/str_join.h" #include "src/core/lib/gprpp/atomic_utils.h" -#include "src/core/lib/gprpp/crash.h" namespace grpc_core { @@ -85,7 +83,23 @@ class FreestandingActivity::Handle final : public Wakeable { } void WakeupAsync(WakeupMask) override ABSL_LOCKS_EXCLUDED(mu_) { - Crash("not implemented"); + mu_.Lock(); + // Note that activity refcount can drop to zero, but we could win the lock + // against DropActivity, so we need to only increase activities refcount if + // it is non-zero. + if (activity_ && activity_->RefIfNonzero()) { + FreestandingActivity* activity = activity_; + mu_.Unlock(); + // Activity still exists and we have a reference: wake it up, which will + // drop the ref. + activity->WakeupAsync(0); + } else { + // Could not get the activity - it's either gone or going. No need to wake + // it up! + mu_.Unlock(); + } + // Drop the ref to the handle (we have one ref = one wakeup semantics). + Unref(); } void Drop(WakeupMask) override { Unref(); } diff --git a/src/core/lib/promise/activity.h b/src/core/lib/promise/activity.h index 4325207d93d..65b644902c7 100644 --- a/src/core/lib/promise/activity.h +++ b/src/core/lib/promise/activity.h @@ -32,7 +32,6 @@ #include #include "src/core/lib/gprpp/construct_destruct.h" -#include "src/core/lib/gprpp/crash.h" #include "src/core/lib/gprpp/no_destruct.h" #include "src/core/lib/gprpp/orphanable.h" #include "src/core/lib/gprpp/sync.h" @@ -283,6 +282,12 @@ class ContextHolder> { std::unique_ptr value_; }; +template <> +class Context { + public: + static Activity* get() { return Activity::current(); } +}; + template using ContextTypeFromHeld = typename ContextHolder::ContextType; @@ -502,7 +507,7 @@ class PromiseActivity final // the activity to an external threadpool to run. If the activity is already // running on this thread, a note is taken of such and the activity is // repolled if it doesn't complete. - void Wakeup(WakeupMask) final { + void Wakeup(WakeupMask m) final { // If there is an active activity, but hey it's us, flag that and we'll loop // in RunLoop (that's calling from above here!). if (Activity::is_current()) { @@ -511,6 +516,10 @@ class PromiseActivity final WakeupComplete(); return; } + WakeupAsync(m); + } + + void WakeupAsync(WakeupMask) final { if (!wakeup_scheduled_.exchange(true, std::memory_order_acq_rel)) { // Can't safely run, so ask to run later. this->ScheduleWakeup(); @@ -520,8 +529,6 @@ class PromiseActivity final } } - void WakeupAsync(WakeupMask) final { Crash("not implemented"); } - // Drop a wakeup void Drop(WakeupMask) final { this->WakeupComplete(); } @@ -631,13 +638,13 @@ ActivityPtr MakeActivity(Factory promise_factory, } inline Pending IntraActivityWaiter::pending() { - wakeups_ |= Activity::current()->CurrentParticipant(); + wakeups_ |= GetContext()->CurrentParticipant(); return Pending(); } inline void IntraActivityWaiter::Wake() { if (wakeups_ == 0) return; - Activity::current()->ForceImmediateRepoll(std::exchange(wakeups_, 0)); + GetContext()->ForceImmediateRepoll(std::exchange(wakeups_, 0)); } } // namespace grpc_core diff --git a/src/core/lib/promise/all_ok.h b/src/core/lib/promise/all_ok.h new file mode 100644 index 00000000000..33941a709f2 --- /dev/null +++ b/src/core/lib/promise/all_ok.h @@ -0,0 +1,80 @@ +// Copyright 2021 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef GRPC_SRC_CORE_LIB_PROMISE_ALL_OK_H +#define GRPC_SRC_CORE_LIB_PROMISE_ALL_OK_H + +#include + +#include +#include + +#include "absl/meta/type_traits.h" +#include "absl/status/status.h" +#include "absl/status/statusor.h" + +#include "src/core/lib/promise/detail/join_state.h" +#include "src/core/lib/promise/map.h" +#include "src/core/lib/promise/poll.h" +#include "src/core/lib/promise/status_flag.h" + +namespace grpc_core { + +namespace promise_detail { + +// Traits object to pass to JoinState +template +struct AllOkTraits { + template + using ResultType = Result; + template + static bool IsOk(const T& x) { + return IsStatusOk(x); + } + static Empty Unwrapped(StatusFlag) { return Empty{}; } + static Empty Unwrapped(absl::Status) { return Empty{}; } + template + static R EarlyReturn(T&& x) { + return StatusCast(std::forward(x)); + } + template + static Result FinalReturn(A&&...) { + return Result{}; + } +}; + +// Implementation of AllOk combinator. +template +class AllOk { + public: + explicit AllOk(Promises... promises) : state_(std::move(promises)...) {} + auto operator()() { return state_.PollOnce(); } + + private: + JoinState, Promises...> state_; +}; + +} // namespace promise_detail + +// Run all promises. +// If any fail, cancel the rest and return the failure. +// If all succeed, return Ok. +template +auto AllOk(Promises... promises) { + return promise_detail::AllOk(std::move(promises)...); +} + +} // namespace grpc_core + +#endif // GRPC_SRC_CORE_LIB_PROMISE_ALL_OK_H diff --git a/src/core/lib/promise/cancel_callback.h b/src/core/lib/promise/cancel_callback.h index 9e2e5bed672..f4f002b8f37 100644 --- a/src/core/lib/promise/cancel_callback.h +++ b/src/core/lib/promise/cancel_callback.h @@ -17,8 +17,6 @@ #include -#include - #include "src/core/lib/promise/detail/promise_like.h" namespace grpc_core { diff --git a/src/core/lib/promise/context.h b/src/core/lib/promise/context.h index d730407e9ba..ef0d59c9884 100644 --- a/src/core/lib/promise/context.h +++ b/src/core/lib/promise/context.h @@ -17,11 +17,14 @@ #include -#include #include +#include "absl/meta/type_traits.h" + #include +#include "src/core/lib/gprpp/down_cast.h" + namespace grpc_core { // To avoid accidentally creating context types, we require an explicit @@ -29,17 +32,35 @@ namespace grpc_core { // not contain any members, only exist. // The reason for avoiding this is that context types each use a thread local. template -struct ContextType; // IWYU pragma: keep +struct ContextType; + +// Some contexts can be subclassed. If the subclass is set as that context +// then GetContext() will return the base, and GetContext() will +// down_cast to the derived type. +// Specializations of this type should be created for each derived type, and +// should have a single using statement Base pointing to the derived base class. +// Example: +// class SomeContext {}; +// class SomeDerivedContext : public SomeContext {}; +// template <> struct ContextType {}; +// template <> struct ContextSubclass { +// using Base = SomeContext; +// }; +template +struct ContextSubclass; namespace promise_detail { +template +class Context; + template -class Context : public ContextType { +class ThreadLocalContext : public ContextType { public: - explicit Context(T* p) : old_(current_) { current_ = p; } - ~Context() { current_ = old_; } - Context(const Context&) = delete; - Context& operator=(const Context&) = delete; + explicit ThreadLocalContext(T* p) : old_(current_) { current_ = p; } + ~ThreadLocalContext() { current_ = old_; } + ThreadLocalContext(const ThreadLocalContext&) = delete; + ThreadLocalContext& operator=(const ThreadLocalContext&) = delete; static T* get() { return current_; } @@ -49,7 +70,23 @@ class Context : public ContextType { }; template -thread_local T* Context::current_; +thread_local T* ThreadLocalContext::current_; + +template +class Context())>> + : public ThreadLocalContext { + using ThreadLocalContext::ThreadLocalContext; +}; + +template +class Context::Base>> + : public Context::Base> { + public: + using Context::Base>::Context; + static T* get() { + return down_cast(Context::Base>::get()); + } +}; template class WithContext { diff --git a/src/core/lib/promise/detail/join_state.h b/src/core/lib/promise/detail/join_state.h index 84a3f37188b..4c36208e026 100644 --- a/src/core/lib/promise/detail/join_state.h +++ b/src/core/lib/promise/detail/join_state.h @@ -25,7 +25,6 @@ #include -#include "src/core/lib/debug/trace.h" #include "src/core/lib/gprpp/bitset.h" #include "src/core/lib/gprpp/construct_destruct.h" #include "src/core/lib/promise/detail/promise_like.h" @@ -139,7 +138,7 @@ struct JoinState { gpr_log(GPR_DEBUG, "join[%p]: joint 2/2 already ready", this); } if (ready.all()) { - return Result{std::make_tuple(std::move(result0), std::move(result1))}; + return Traits::FinalReturn(std::move(result0), std::move(result1)); } return Pending{}; } @@ -288,8 +287,8 @@ struct JoinState { gpr_log(GPR_DEBUG, "join[%p]: joint 3/3 already ready", this); } if (ready.all()) { - return Result{std::make_tuple(std::move(result0), std::move(result1), - std::move(result2))}; + return Traits::FinalReturn(std::move(result0), std::move(result1), + std::move(result2)); } return Pending{}; } @@ -479,8 +478,8 @@ struct JoinState { gpr_log(GPR_DEBUG, "join[%p]: joint 4/4 already ready", this); } if (ready.all()) { - return Result{std::make_tuple(std::move(result0), std::move(result1), - std::move(result2), std::move(result3))}; + return Traits::FinalReturn(std::move(result0), std::move(result1), + std::move(result2), std::move(result3)); } return Pending{}; } @@ -712,9 +711,9 @@ struct JoinState { gpr_log(GPR_DEBUG, "join[%p]: joint 5/5 already ready", this); } if (ready.all()) { - return Result{std::make_tuple(std::move(result0), std::move(result1), - std::move(result2), std::move(result3), - std::move(result4))}; + return Traits::FinalReturn(std::move(result0), std::move(result1), + std::move(result2), std::move(result3), + std::move(result4)); } return Pending{}; } @@ -987,9 +986,9 @@ struct JoinState { gpr_log(GPR_DEBUG, "join[%p]: joint 6/6 already ready", this); } if (ready.all()) { - return Result{std::make_tuple(std::move(result0), std::move(result1), - std::move(result2), std::move(result3), - std::move(result4), std::move(result5))}; + return Traits::FinalReturn(std::move(result0), std::move(result1), + std::move(result2), std::move(result3), + std::move(result4), std::move(result5)); } return Pending{}; } @@ -1303,10 +1302,10 @@ struct JoinState { gpr_log(GPR_DEBUG, "join[%p]: joint 7/7 already ready", this); } if (ready.all()) { - return Result{std::make_tuple(std::move(result0), std::move(result1), - std::move(result2), std::move(result3), - std::move(result4), std::move(result5), - std::move(result6))}; + return Traits::FinalReturn(std::move(result0), std::move(result1), + std::move(result2), std::move(result3), + std::move(result4), std::move(result5), + std::move(result6)); } return Pending{}; } @@ -1662,10 +1661,10 @@ struct JoinState { gpr_log(GPR_DEBUG, "join[%p]: joint 8/8 already ready", this); } if (ready.all()) { - return Result{std::make_tuple(std::move(result0), std::move(result1), - std::move(result2), std::move(result3), - std::move(result4), std::move(result5), - std::move(result6), std::move(result7))}; + return Traits::FinalReturn(std::move(result0), std::move(result1), + std::move(result2), std::move(result3), + std::move(result4), std::move(result5), + std::move(result6), std::move(result7)); } return Pending{}; } @@ -2063,10 +2062,10 @@ struct JoinState { gpr_log(GPR_DEBUG, "join[%p]: joint 9/9 already ready", this); } if (ready.all()) { - return Result{std::make_tuple( + return Traits::FinalReturn( std::move(result0), std::move(result1), std::move(result2), std::move(result3), std::move(result4), std::move(result5), - std::move(result6), std::move(result7), std::move(result8))}; + std::move(result6), std::move(result7), std::move(result8)); } return Pending{}; } diff --git a/src/core/lib/promise/detail/promise_like.h b/src/core/lib/promise/detail/promise_like.h index 486653856e3..395c325873a 100644 --- a/src/core/lib/promise/detail/promise_like.h +++ b/src/core/lib/promise/detail/promise_like.h @@ -63,8 +63,15 @@ auto WrapInPoll(T&& x) -> decltype(PollWrapper::Wrap(std::forward(x))) { return PollWrapper::Wrap(std::forward(x)); } +template +class PromiseLike; + +template <> +class PromiseLike; + template -class PromiseLike { +class PromiseLike::type>::value>> { private: GPR_NO_UNIQUE_ADDRESS F f_; diff --git a/src/core/lib/promise/detail/seq_state.h b/src/core/lib/promise/detail/seq_state.h index 5ee32418a53..147ff10e6f1 100644 --- a/src/core/lib/promise/detail/seq_state.h +++ b/src/core/lib/promise/detail/seq_state.h @@ -24,11 +24,12 @@ #include #include "absl/base/attributes.h" +#include "absl/strings/str_cat.h" #include -#include "src/core/lib/debug/trace.h" #include "src/core/lib/gprpp/construct_destruct.h" +#include "src/core/lib/gprpp/debug_location.h" #include "src/core/lib/promise/detail/promise_factory.h" #include "src/core/lib/promise/detail/promise_like.h" #include "src/core/lib/promise/poll.h" @@ -99,8 +100,9 @@ struct SeqState { }; enum class State : uint8_t { kState0, kState1 }; GPR_NO_UNIQUE_ADDRESS State state = State::kState0; + GPR_NO_UNIQUE_ADDRESS DebugLocation whence; - SeqState(P&& p, F0&& f0) noexcept { + SeqState(P&& p, F0&& f0, DebugLocation whence) noexcept : whence(whence) { Construct(&prior.current_promise, std::forward

(p)); Construct(&prior.next_factory, std::forward(f0)); } @@ -116,13 +118,15 @@ struct SeqState { tail0: Destruct(&prior.next_factory); } - SeqState(const SeqState& other) noexcept : state(other.state) { + SeqState(const SeqState& other) noexcept + : state(other.state), whence(other.whence) { GPR_ASSERT(state == State::kState0); Construct(&prior.current_promise, other.prior.current_promise); Construct(&prior.next_factory, other.prior.next_factory); } SeqState& operator=(const SeqState& other) = delete; - SeqState(SeqState&& other) noexcept : state(other.state) { + SeqState(SeqState&& other) noexcept + : state(other.state), whence(other.whence) { switch (state) { case State::kState0: Construct(&prior.current_promise, @@ -140,15 +144,21 @@ struct SeqState { switch (state) { case State::kState0: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 1/2", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 1/2", this); } auto result = prior.current_promise(); PromiseResult0* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 1/2 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 1/2 gets %s", this, p != nullptr - ? (PromiseResultTraits0::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits0::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits0::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -167,11 +177,13 @@ struct SeqState { default: case State::kState1: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 2/2", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 2/2", this); } auto result = current_promise(); if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: poll step 2/2 gets %s", this, + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 2/2 gets %s", this, result.ready() ? "ready" : "pending"); } auto* p = result.value_if_ready(); @@ -216,8 +228,10 @@ struct SeqState { }; enum class State : uint8_t { kState0, kState1, kState2 }; GPR_NO_UNIQUE_ADDRESS State state = State::kState0; + GPR_NO_UNIQUE_ADDRESS DebugLocation whence; - SeqState(P&& p, F0&& f0, F1&& f1) noexcept { + SeqState(P&& p, F0&& f0, F1&& f1, DebugLocation whence) noexcept + : whence(whence) { Construct(&prior.prior.current_promise, std::forward

(p)); Construct(&prior.prior.next_factory, std::forward(f0)); Construct(&prior.next_factory, std::forward(f1)); @@ -239,14 +253,16 @@ struct SeqState { tail1: Destruct(&prior.next_factory); } - SeqState(const SeqState& other) noexcept : state(other.state) { + SeqState(const SeqState& other) noexcept + : state(other.state), whence(other.whence) { GPR_ASSERT(state == State::kState0); Construct(&prior.current_promise, other.prior.current_promise); Construct(&prior.prior.next_factory, other.prior.prior.next_factory); Construct(&prior.next_factory, other.prior.next_factory); } SeqState& operator=(const SeqState& other) = delete; - SeqState(SeqState&& other) noexcept : state(other.state) { + SeqState(SeqState&& other) noexcept + : state(other.state), whence(other.whence) { switch (state) { case State::kState0: Construct(&prior.prior.current_promise, @@ -271,15 +287,21 @@ struct SeqState { switch (state) { case State::kState0: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 1/3", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 1/3", this); } auto result = prior.prior.current_promise(); PromiseResult0* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 1/3 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 1/3 gets %s", this, p != nullptr - ? (PromiseResultTraits0::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits0::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits0::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -297,15 +319,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState1: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 2/3", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 2/3", this); } auto result = prior.current_promise(); PromiseResult1* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 2/3 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 2/3 gets %s", this, p != nullptr - ? (PromiseResultTraits1::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits1::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits1::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -324,11 +352,13 @@ struct SeqState { default: case State::kState2: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 3/3", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 3/3", this); } auto result = current_promise(); if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: poll step 3/3 gets %s", this, + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 3/3 gets %s", this, result.ready() ? "ready" : "pending"); } auto* p = result.value_if_ready(); @@ -385,8 +415,10 @@ struct SeqState { }; enum class State : uint8_t { kState0, kState1, kState2, kState3 }; GPR_NO_UNIQUE_ADDRESS State state = State::kState0; + GPR_NO_UNIQUE_ADDRESS DebugLocation whence; - SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2) noexcept { + SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, DebugLocation whence) noexcept + : whence(whence) { Construct(&prior.prior.prior.current_promise, std::forward

(p)); Construct(&prior.prior.prior.next_factory, std::forward(f0)); Construct(&prior.prior.next_factory, std::forward(f1)); @@ -414,7 +446,8 @@ struct SeqState { tail2: Destruct(&prior.next_factory); } - SeqState(const SeqState& other) noexcept : state(other.state) { + SeqState(const SeqState& other) noexcept + : state(other.state), whence(other.whence) { GPR_ASSERT(state == State::kState0); Construct(&prior.current_promise, other.prior.current_promise); Construct(&prior.prior.prior.next_factory, @@ -423,7 +456,8 @@ struct SeqState { Construct(&prior.next_factory, other.prior.next_factory); } SeqState& operator=(const SeqState& other) = delete; - SeqState(SeqState&& other) noexcept : state(other.state) { + SeqState(SeqState&& other) noexcept + : state(other.state), whence(other.whence) { switch (state) { case State::kState0: Construct(&prior.prior.prior.current_promise, @@ -455,15 +489,21 @@ struct SeqState { switch (state) { case State::kState0: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 1/4", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 1/4", this); } auto result = prior.prior.prior.current_promise(); PromiseResult0* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 1/4 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 1/4 gets %s", this, p != nullptr - ? (PromiseResultTraits0::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits0::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits0::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -481,15 +521,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState1: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 2/4", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 2/4", this); } auto result = prior.prior.current_promise(); PromiseResult1* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 2/4 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 2/4 gets %s", this, p != nullptr - ? (PromiseResultTraits1::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits1::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits1::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -507,15 +553,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState2: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 3/4", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 3/4", this); } auto result = prior.current_promise(); PromiseResult2* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 3/4 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 3/4 gets %s", this, p != nullptr - ? (PromiseResultTraits2::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits2::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits2::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -534,11 +586,13 @@ struct SeqState { default: case State::kState3: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 4/4", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 4/4", this); } auto result = current_promise(); if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: poll step 4/4 gets %s", this, + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 4/4 gets %s", this, result.ready() ? "ready" : "pending"); } auto* p = result.value_if_ready(); @@ -607,8 +661,11 @@ struct SeqState { }; enum class State : uint8_t { kState0, kState1, kState2, kState3, kState4 }; GPR_NO_UNIQUE_ADDRESS State state = State::kState0; + GPR_NO_UNIQUE_ADDRESS DebugLocation whence; - SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3) noexcept { + SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, + DebugLocation whence) noexcept + : whence(whence) { Construct(&prior.prior.prior.prior.current_promise, std::forward

(p)); Construct(&prior.prior.prior.prior.next_factory, std::forward(f0)); Construct(&prior.prior.prior.next_factory, std::forward(f1)); @@ -642,7 +699,8 @@ struct SeqState { tail3: Destruct(&prior.next_factory); } - SeqState(const SeqState& other) noexcept : state(other.state) { + SeqState(const SeqState& other) noexcept + : state(other.state), whence(other.whence) { GPR_ASSERT(state == State::kState0); Construct(&prior.current_promise, other.prior.current_promise); Construct(&prior.prior.prior.prior.next_factory, @@ -653,7 +711,8 @@ struct SeqState { Construct(&prior.next_factory, other.prior.next_factory); } SeqState& operator=(const SeqState& other) = delete; - SeqState(SeqState&& other) noexcept : state(other.state) { + SeqState(SeqState&& other) noexcept + : state(other.state), whence(other.whence) { switch (state) { case State::kState0: Construct(&prior.prior.prior.prior.current_promise, @@ -692,15 +751,21 @@ struct SeqState { switch (state) { case State::kState0: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 1/5", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 1/5", this); } auto result = prior.prior.prior.prior.current_promise(); PromiseResult0* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 1/5 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 1/5 gets %s", this, p != nullptr - ? (PromiseResultTraits0::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits0::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits0::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -718,15 +783,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState1: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 2/5", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 2/5", this); } auto result = prior.prior.prior.current_promise(); PromiseResult1* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 2/5 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 2/5 gets %s", this, p != nullptr - ? (PromiseResultTraits1::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits1::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits1::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -744,15 +815,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState2: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 3/5", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 3/5", this); } auto result = prior.prior.current_promise(); PromiseResult2* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 3/5 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 3/5 gets %s", this, p != nullptr - ? (PromiseResultTraits2::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits2::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits2::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -770,15 +847,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState3: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 4/5", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 4/5", this); } auto result = prior.current_promise(); PromiseResult3* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 4/5 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 4/5 gets %s", this, p != nullptr - ? (PromiseResultTraits3::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits3::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits3::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -797,11 +880,13 @@ struct SeqState { default: case State::kState4: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 5/5", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 5/5", this); } auto result = current_promise(); if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: poll step 5/5 gets %s", this, + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 5/5 gets %s", this, result.ready() ? "ready" : "pending"); } auto* p = result.value_if_ready(); @@ -889,8 +974,11 @@ struct SeqState { kState5 }; GPR_NO_UNIQUE_ADDRESS State state = State::kState0; + GPR_NO_UNIQUE_ADDRESS DebugLocation whence; - SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4) noexcept { + SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, + DebugLocation whence) noexcept + : whence(whence) { Construct(&prior.prior.prior.prior.prior.current_promise, std::forward

(p)); Construct(&prior.prior.prior.prior.prior.next_factory, @@ -932,7 +1020,8 @@ struct SeqState { tail4: Destruct(&prior.next_factory); } - SeqState(const SeqState& other) noexcept : state(other.state) { + SeqState(const SeqState& other) noexcept + : state(other.state), whence(other.whence) { GPR_ASSERT(state == State::kState0); Construct(&prior.current_promise, other.prior.current_promise); Construct(&prior.prior.prior.prior.prior.next_factory, @@ -945,7 +1034,8 @@ struct SeqState { Construct(&prior.next_factory, other.prior.next_factory); } SeqState& operator=(const SeqState& other) = delete; - SeqState(SeqState&& other) noexcept : state(other.state) { + SeqState(SeqState&& other) noexcept + : state(other.state), whence(other.whence) { switch (state) { case State::kState0: Construct( @@ -992,15 +1082,21 @@ struct SeqState { switch (state) { case State::kState0: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 1/6", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 1/6", this); } auto result = prior.prior.prior.prior.prior.current_promise(); PromiseResult0* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 1/6 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 1/6 gets %s", this, p != nullptr - ? (PromiseResultTraits0::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits0::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits0::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1019,15 +1115,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState1: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 2/6", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 2/6", this); } auto result = prior.prior.prior.prior.current_promise(); PromiseResult1* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 2/6 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 2/6 gets %s", this, p != nullptr - ? (PromiseResultTraits1::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits1::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits1::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1045,15 +1147,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState2: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 3/6", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 3/6", this); } auto result = prior.prior.prior.current_promise(); PromiseResult2* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 3/6 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 3/6 gets %s", this, p != nullptr - ? (PromiseResultTraits2::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits2::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits2::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1071,15 +1179,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState3: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 4/6", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 4/6", this); } auto result = prior.prior.current_promise(); PromiseResult3* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 4/6 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 4/6 gets %s", this, p != nullptr - ? (PromiseResultTraits3::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits3::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits3::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1097,15 +1211,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState4: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 5/6", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 5/6", this); } auto result = prior.current_promise(); PromiseResult4* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 5/6 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 5/6 gets %s", this, p != nullptr - ? (PromiseResultTraits4::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits4::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits4::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1124,11 +1244,13 @@ struct SeqState { default: case State::kState5: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 6/6", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 6/6", this); } auto result = current_promise(); if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: poll step 6/6 gets %s", this, + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 6/6 gets %s", this, result.ready() ? "ready" : "pending"); } auto* p = result.value_if_ready(); @@ -1229,9 +1351,11 @@ struct SeqState { kState6 }; GPR_NO_UNIQUE_ADDRESS State state = State::kState0; + GPR_NO_UNIQUE_ADDRESS DebugLocation whence; - SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, - F5&& f5) noexcept { + SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, F5&& f5, + DebugLocation whence) noexcept + : whence(whence) { Construct(&prior.prior.prior.prior.prior.prior.current_promise, std::forward

(p)); Construct(&prior.prior.prior.prior.prior.prior.next_factory, @@ -1280,7 +1404,8 @@ struct SeqState { tail5: Destruct(&prior.next_factory); } - SeqState(const SeqState& other) noexcept : state(other.state) { + SeqState(const SeqState& other) noexcept + : state(other.state), whence(other.whence) { GPR_ASSERT(state == State::kState0); Construct(&prior.current_promise, other.prior.current_promise); Construct(&prior.prior.prior.prior.prior.prior.next_factory, @@ -1295,7 +1420,8 @@ struct SeqState { Construct(&prior.next_factory, other.prior.next_factory); } SeqState& operator=(const SeqState& other) = delete; - SeqState(SeqState&& other) noexcept : state(other.state) { + SeqState(SeqState&& other) noexcept + : state(other.state), whence(other.whence) { switch (state) { case State::kState0: Construct( @@ -1352,15 +1478,21 @@ struct SeqState { switch (state) { case State::kState0: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 1/7", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 1/7", this); } auto result = prior.prior.prior.prior.prior.prior.current_promise(); PromiseResult0* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 1/7 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 1/7 gets %s", this, p != nullptr - ? (PromiseResultTraits0::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits0::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits0::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1379,15 +1511,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState1: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 2/7", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 2/7", this); } auto result = prior.prior.prior.prior.prior.current_promise(); PromiseResult1* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 2/7 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 2/7 gets %s", this, p != nullptr - ? (PromiseResultTraits1::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits1::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits1::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1406,15 +1544,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState2: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 3/7", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 3/7", this); } auto result = prior.prior.prior.prior.current_promise(); PromiseResult2* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 3/7 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 3/7 gets %s", this, p != nullptr - ? (PromiseResultTraits2::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits2::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits2::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1432,15 +1576,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState3: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 4/7", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 4/7", this); } auto result = prior.prior.prior.current_promise(); PromiseResult3* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 4/7 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 4/7 gets %s", this, p != nullptr - ? (PromiseResultTraits3::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits3::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits3::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1458,15 +1608,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState4: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 5/7", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 5/7", this); } auto result = prior.prior.current_promise(); PromiseResult4* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 5/7 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 5/7 gets %s", this, p != nullptr - ? (PromiseResultTraits4::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits4::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits4::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1484,15 +1640,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState5: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 6/7", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 6/7", this); } auto result = prior.current_promise(); PromiseResult5* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 6/7 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 6/7 gets %s", this, p != nullptr - ? (PromiseResultTraits5::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits5::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits5::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1511,11 +1673,13 @@ struct SeqState { default: case State::kState6: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 7/7", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 7/7", this); } auto result = current_promise(); if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: poll step 7/7 gets %s", this, + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 7/7 gets %s", this, result.ready() ? "ready" : "pending"); } auto* p = result.value_if_ready(); @@ -1630,9 +1794,11 @@ struct SeqState { kState7 }; GPR_NO_UNIQUE_ADDRESS State state = State::kState0; + GPR_NO_UNIQUE_ADDRESS DebugLocation whence; - SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, F5&& f5, - F6&& f6) noexcept { + SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, F5&& f5, F6&& f6, + DebugLocation whence) noexcept + : whence(whence) { Construct(&prior.prior.prior.prior.prior.prior.prior.current_promise, std::forward

(p)); Construct(&prior.prior.prior.prior.prior.prior.prior.next_factory, @@ -1688,7 +1854,8 @@ struct SeqState { tail6: Destruct(&prior.next_factory); } - SeqState(const SeqState& other) noexcept : state(other.state) { + SeqState(const SeqState& other) noexcept + : state(other.state), whence(other.whence) { GPR_ASSERT(state == State::kState0); Construct(&prior.current_promise, other.prior.current_promise); Construct(&prior.prior.prior.prior.prior.prior.prior.next_factory, @@ -1705,7 +1872,8 @@ struct SeqState { Construct(&prior.next_factory, other.prior.next_factory); } SeqState& operator=(const SeqState& other) = delete; - SeqState(SeqState&& other) noexcept : state(other.state) { + SeqState(SeqState&& other) noexcept + : state(other.state), whence(other.whence) { switch (state) { case State::kState0: Construct(&prior.prior.prior.prior.prior.prior.prior.current_promise, @@ -1772,16 +1940,22 @@ struct SeqState { switch (state) { case State::kState0: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 1/8", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 1/8", this); } auto result = prior.prior.prior.prior.prior.prior.prior.current_promise(); PromiseResult0* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 1/8 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 1/8 gets %s", this, p != nullptr - ? (PromiseResultTraits0::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits0::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits0::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1801,15 +1975,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState1: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 2/8", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 2/8", this); } auto result = prior.prior.prior.prior.prior.prior.current_promise(); PromiseResult1* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 2/8 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 2/8 gets %s", this, p != nullptr - ? (PromiseResultTraits1::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits1::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits1::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1828,15 +2008,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState2: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 3/8", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 3/8", this); } auto result = prior.prior.prior.prior.prior.current_promise(); PromiseResult2* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 3/8 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 3/8 gets %s", this, p != nullptr - ? (PromiseResultTraits2::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits2::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits2::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1855,15 +2041,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState3: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 4/8", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 4/8", this); } auto result = prior.prior.prior.prior.current_promise(); PromiseResult3* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 4/8 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 4/8 gets %s", this, p != nullptr - ? (PromiseResultTraits3::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits3::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits3::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1881,15 +2073,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState4: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 5/8", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 5/8", this); } auto result = prior.prior.prior.current_promise(); PromiseResult4* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 5/8 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 5/8 gets %s", this, p != nullptr - ? (PromiseResultTraits4::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits4::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits4::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1907,15 +2105,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState5: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 6/8", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 6/8", this); } auto result = prior.prior.current_promise(); PromiseResult5* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 6/8 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 6/8 gets %s", this, p != nullptr - ? (PromiseResultTraits5::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits5::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits5::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1933,15 +2137,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState6: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 7/8", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 7/8", this); } auto result = prior.current_promise(); PromiseResult6* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 7/8 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 7/8 gets %s", this, p != nullptr - ? (PromiseResultTraits6::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits6::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits6::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -1960,11 +2170,13 @@ struct SeqState { default: case State::kState7: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 8/8", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 8/8", this); } auto result = current_promise(); if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: poll step 8/8 gets %s", this, + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 8/8 gets %s", this, result.ready() ? "ready" : "pending"); } auto* p = result.value_if_ready(); @@ -2092,9 +2304,11 @@ struct SeqState { kState8 }; GPR_NO_UNIQUE_ADDRESS State state = State::kState0; + GPR_NO_UNIQUE_ADDRESS DebugLocation whence; SeqState(P&& p, F0&& f0, F1&& f1, F2&& f2, F3&& f3, F4&& f4, F5&& f5, F6&& f6, - F7&& f7) noexcept { + F7&& f7, DebugLocation whence) noexcept + : whence(whence) { Construct(&prior.prior.prior.prior.prior.prior.prior.prior.current_promise, std::forward

(p)); Construct(&prior.prior.prior.prior.prior.prior.prior.prior.next_factory, @@ -2158,7 +2372,8 @@ struct SeqState { tail7: Destruct(&prior.next_factory); } - SeqState(const SeqState& other) noexcept : state(other.state) { + SeqState(const SeqState& other) noexcept + : state(other.state), whence(other.whence) { GPR_ASSERT(state == State::kState0); Construct(&prior.current_promise, other.prior.current_promise); Construct( @@ -2178,7 +2393,8 @@ struct SeqState { Construct(&prior.next_factory, other.prior.next_factory); } SeqState& operator=(const SeqState& other) = delete; - SeqState(SeqState&& other) noexcept : state(other.state) { + SeqState(SeqState&& other) noexcept + : state(other.state), whence(other.whence) { switch (state) { case State::kState0: Construct( @@ -2255,16 +2471,22 @@ struct SeqState { switch (state) { case State::kState0: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 1/9", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 1/9", this); } auto result = prior.prior.prior.prior.prior.prior.prior.prior.current_promise(); PromiseResult0* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 1/9 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 1/9 gets %s", this, p != nullptr - ? (PromiseResultTraits0::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits0::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits0::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -2285,16 +2507,22 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState1: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 2/9", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 2/9", this); } auto result = prior.prior.prior.prior.prior.prior.prior.current_promise(); PromiseResult1* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 2/9 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 2/9 gets %s", this, p != nullptr - ? (PromiseResultTraits1::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits1::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits1::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -2314,15 +2542,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState2: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 3/9", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 3/9", this); } auto result = prior.prior.prior.prior.prior.prior.current_promise(); PromiseResult2* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 3/9 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 3/9 gets %s", this, p != nullptr - ? (PromiseResultTraits2::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits2::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits2::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -2341,15 +2575,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState3: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 4/9", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 4/9", this); } auto result = prior.prior.prior.prior.prior.current_promise(); PromiseResult3* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 4/9 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 4/9 gets %s", this, p != nullptr - ? (PromiseResultTraits3::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits3::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits3::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -2368,15 +2608,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState4: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 5/9", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 5/9", this); } auto result = prior.prior.prior.prior.current_promise(); PromiseResult4* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 5/9 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 5/9 gets %s", this, p != nullptr - ? (PromiseResultTraits4::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits4::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits4::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -2394,15 +2640,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState5: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 6/9", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 6/9", this); } auto result = prior.prior.prior.current_promise(); PromiseResult5* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 6/9 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 6/9 gets %s", this, p != nullptr - ? (PromiseResultTraits5::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits5::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits5::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -2420,15 +2672,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState6: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 7/9", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 7/9", this); } auto result = prior.prior.current_promise(); PromiseResult6* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 7/9 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 7/9 gets %s", this, p != nullptr - ? (PromiseResultTraits6::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits6::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits6::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -2446,15 +2704,21 @@ struct SeqState { ABSL_FALLTHROUGH_INTENDED; case State::kState7: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 8/9", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 8/9", this); } auto result = prior.current_promise(); PromiseResult7* p = result.value_if_ready(); if (grpc_trace_promise_primitives.enabled()) { gpr_log( - GPR_DEBUG, "seq[%p]: poll step 8/9 gets %s", this, + whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 8/9 gets %s", this, p != nullptr - ? (PromiseResultTraits7::IsOk(*p) ? "ready" : "early-error") + ? (PromiseResultTraits7::IsOk(*p) + ? "ready" + : absl::StrCat("early-error:", + PromiseResultTraits7::ErrorString(*p)) + .c_str()) : "pending"); } if (p == nullptr) return Pending{}; @@ -2473,11 +2737,3054 @@ struct SeqState { default: case State::kState8: { if (grpc_trace_promise_primitives.enabled()) { - gpr_log(GPR_DEBUG, "seq[%p]: begin poll step 9/9", this); + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: begin poll step 9/9", this); + } + auto result = current_promise(); + if (grpc_trace_promise_primitives.enabled()) { + gpr_log(whence.file(), whence.line(), GPR_LOG_SEVERITY_DEBUG, + "seq[%p]: poll step 9/9 gets %s", this, + result.ready() ? "ready" : "pending"); + } + auto* p = result.value_if_ready(); + if (p == nullptr) return Pending{}; + return Result(std::move(*p)); + } + } + } +}; + +template